Commit Graph

411 Commits

Author SHA1 Message Date
Jasper Woudenberg
0562a92458
Merge pull request #78 from NoRedInk/css-reset
Css reset
2018-06-22 16:30:16 +01:00
Jasper Woudenberg
e3fd227b0f
Merge branch 'master' into css-reset 2018-06-22 15:20:31 +01:00
Jasper Woudenberg
800f5ce054 Add pull request template
People don't seem to know about the reviewers list. Spamming people
about it in every new pull request that gets created might spread the
word.
2018-06-22 11:03:57 +01:00
Jasper Woudenberg
56685a3019 Use new heading modules over standard h\d elements
The inclusion of reset.css file nuked the default browser styles for
headers. This change sees us using custom styled headers instead to
bring structure back to the styleguide pages.
2018-06-22 10:41:38 +01:00
Jasper Woudenberg
51e79158a8 Add modules for headings in the styleguide
The CSS reset removed default browser styles for h1, h2, h3, etc elements,
resulting in a pretty weird looking styleguide. This adds modules for headings,
one version for use with plain Html, the other for use with Html.Styled.
2018-06-22 10:37:43 +01:00
Jasper Woudenberg
21c59355d8 Include css-reset in the styleguide app
A CSS reset is used to ensure designs look the same regardless of the
browser they are displayed in. Including one for the styleguide app will
ensure that we do not rely on any browser base styles for our designs.
2018-06-22 10:30:26 +01:00
Luke Westby
fe22523e61 bump 2018-06-18 16:45:35 -07:00
Luke Westby
ff71cdf158
add aria-invalid attr to inputs (#75) 2018-06-18 16:44:25 -07:00
Stoeffel
f18d4ac6d6 5.5.2 2018-06-14 09:42:45 +02:00
Christoph Hermann
3cd35b8dfe
Merge pull request #72 from NoRedInk/button-label-renders-markdown
Render markdown in button labels
2018-06-14 09:40:03 +02:00
Christoph Hermann
801923be1f
Merge branch 'master' into button-label-renders-markdown 2018-06-14 09:20:16 +02:00
Luke Westby
d43bc18ddf bump npm version 2018-06-13 16:50:45 -07:00
Luke Westby
2342836ac1
make sure it exists (#73) 2018-06-13 16:49:45 -07:00
Stoeffel
88821f4230 render markdown in button labels 2018-06-12 11:24:05 -07:00
Brooke
24c1b7fa06 5.5.1 - textarea and textinput styles override selectors on monolith 2018-06-11 16:56:05 -07:00
Brooke
eb1ff39e52
Merge pull request #71 from NoRedInk/override-sass-styles
Override sass styles for TextInput and TextArea
2018-06-11 16:50:46 -07:00
Brooke
f84569ad7d fix height regression on input 2018-06-11 15:42:25 -07:00
Brooke
f621daa73f fix height regression 2018-06-11 15:35:45 -07:00
Brooke
5b0fd8290e fix textarea height 2018-06-11 15:23:25 -07:00
Brooke
9404102758 use override-sass-styles on textarea v3 2018-06-11 15:23:25 -07:00
Brooke
d3c754be16 override sass styles from monolith 2018-06-11 15:23:24 -07:00
Brooke
731e6540b3 add V3 textarea to styleguide and observe weirdness 2018-06-11 15:22:38 -07:00
Luke Westby
38ca396ac8
Updates to TextArea (#70)
* update textarea js code and make it npm-ready

* use an attribute instead so dom debugging is easier

* use data- attribute to be I D I O M A T I C

* version the custom element

* include marica's resize logic improvements

* changes to elm module

* clean up styleguide build and use v3 in styleguide
2018-06-11 11:08:49 -07:00
Jasper Woudenberg
15adb4bd2a 5.5.0 2018-05-31 15:13:05 -07:00
Jasper Woudenberg
67c7bc42df
Merge pull request #67 from NoRedInk/add-textarea-v3-and-textinput-v3
Add textarea v3 and textinput v3
2018-05-31 15:12:25 -07:00
Brooke
107b369a66
Merge branch 'master' into add-textarea-v3-and-textinput-v3 2018-05-31 15:10:19 -07:00
Brooke
b341193678 expose TextArea.V3 and TextInput.V3 2018-05-31 15:07:15 -07:00
Marica Odagaki
2a2f5e75f3
Merge pull request #64 from NoRedInk/fix-autoresize-textarea-in-styleguide
Styleguide app: load custom-elements's native-shim for TextArea.js
2018-05-31 15:02:46 -07:00
Brooke
179f9d3054 use new elm-css in (NEW) TextArea.V3 2018-05-31 15:02:38 -07:00
Marica Odagaki
fdaf3fe55a Add custom-elements native-shim for TextArea.js
see: https://github.com/webcomponents/custom-elements#es5-vs-es2015
source: https://www.jsdelivr.com/package/npm/@webcomponents/custom-elements?version=1.1.1
2018-05-31 13:56:15 -08:00
Brooke
fe0466d3f4 use new elm-css for TextInput V3 2018-05-31 14:43:24 -07:00
Jasper Woudenberg
20c89df778 5.4.0 2018-05-30 17:38:51 -07:00
Jasper Woudenberg
bbd42a44d4 5.3.0 2018-05-30 17:35:41 -07:00
Jasper Woudenberg
3293c24532
Merge pull request #66 from NoRedInk/expose-inputstyles
Expose InputStyles
2018-05-30 17:34:55 -07:00
Jasper Woudenberg
af5cdad561 Expose InputStyles module
We have some custom input widgets in other code bases that make use of
these styles, hence the need to expose them.
2018-05-30 17:30:58 -07:00
Jasper Woudenberg
6e85f8fc0f Expose Nri.Ui.InputStyles 2018-05-30 17:22:17 -07:00
Marica Odagaki
1acc5996e8
Merge pull request #63 from NoRedInk/textarea-v2-minimum-height
Textarea v2 adding a minimum height
2018-05-30 17:14:47 -07:00
Jasper Woudenberg
b170638ec6 Add back min height for writing text areas 2018-05-30 10:56:03 -07:00
Jasper Woudenberg
a56dc32d10 Merge branch 'master' into textarea-v2-minimum-height 2018-05-29 14:52:01 -07:00
Brooke
347b85577b Bump to 5.2.0 - add writing style textinput 2018-05-29 11:07:18 -07:00
Brooke
8234b144fd
Merge pull request #65 from NoRedInk/add-writing-style-textinput
Add writing style textinput
2018-05-29 11:03:34 -07:00
Jasper Woudenberg
b7a6d9bf5a Refer to right widget version in documentation 2018-05-29 10:52:39 -07:00
Jasper Woudenberg
aac8229c0a 💀 Remove unused import 2018-05-29 10:52:39 -07:00
Brooke
66ba9c1973 expose Nri.ui.TextInput.V2 to the wild 2018-05-29 10:52:39 -07:00
Brooke
1cf95c84d9 always center writing input 2018-05-29 10:52:39 -07:00
Brooke
745eda419e styleguide shows writing textinput without label and in error 2018-05-29 10:52:39 -07:00
Brooke
3c4a0fd201 tweak writing styles to work with textarea and textinput 2018-05-29 10:52:39 -07:00
Brooke
22d856ceca add Nri.Ui.TextInput.V2 with writing style (styling not perfect yet) 2018-05-29 10:52:39 -07:00
Brooke
82b75836d1 fix box-sizing css attribute 2018-05-29 10:52:39 -07:00
Brooke
35e1473ad4 add text input to styleguide app 2018-05-29 10:52:39 -07:00