Commit Graph

174 Commits

Author SHA1 Message Date
Aaron VonderHaar
8b56dc9849 Merge remote-tracking branch 'origin/master' into ink/message 2020-04-28 16:43:23 -07:00
Aaron VonderHaar
098bdcce0c Make Nri.Ui.Tabs.V4 work with ProgramTest.clickButton
And also applies the guidelines from https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Tab_Role#Best_practices
2020-04-28 16:29:00 -07:00
Aaron VonderHaar
3efc6fcf8f Message.V1 replaces BannerAlert.V6.alert 2020-04-27 16:30:09 -07:00
Tessa Kelly
d56f45248d 💀 remove select v6 2020-04-24 16:55:12 -07:00
Tessa Kelly
7068f4463c 💀 old segmented control 2020-04-24 16:55:11 -07:00
Tessa Kelly
017cc10300 💀 old slidemodal 2020-04-24 16:55:11 -07:00
Tessa Kelly
f656b6677e 💀 remove old tests 2020-04-24 16:54:52 -07:00
Aaron VonderHaar
af94ad7d0c Remove unnecessary setup from Spec.Nri.Ui.TextInput.V6 2020-04-13 17:01:33 -07:00
Aaron VonderHaar
a2d305b6e4 New attributes-style API for TextInput.V6 2020-04-13 17:01:33 -07:00
Aaron VonderHaar
36ce3cb9b2 Inline Spec.Nri.Ui.TextInput.V6.basic 2020-04-13 16:08:54 -07:00
Aaron VonderHaar
fab0271d03 Create Nri.Ui.TextInput.V6 from V5 2020-04-13 14:36:39 -07:00
Tessa Kelly
16366e4719 💀 remove Page.V2 2020-04-13 11:26:13 -07:00
Brian Hicks
7a0821ceac update elm-verify-examples config 2020-04-10 15:28:12 -05:00
Tessa Kelly
9a2d89bf9b Re-remove some of the modules 2020-04-06 15:46:31 -07:00
Tessa Kelly
c45f90221f Merge remote-tracking branch 'origin/master' into restore-used-modules 2020-04-06 15:44:35 -07:00
Tessa Kelly
196c229cf0 Fix make 2020-04-03 09:45:55 -07:00
Brian Hicks
18af70fe96 restore modules that were actually used 2020-04-01 06:30:50 -05:00
Brian Hicks
4094b97830 automatically look for verifiable examples in all exposed modules 2020-03-31 14:58:20 -05:00
Tessa Kelly
7bff7cf3d9 Use pennant v2 in checkbox module 2020-03-31 10:54:40 -07:00
Gavin Panella
28d36c6f64 Revert "Merge pull request #461 from NoRedInk/puffins/prepare-for-merge"
This reverts commit 4373c78d82, reversing
changes made to 6b78075f02.
2020-03-06 20:00:34 +01:00
Stoeffel
873f0ef521 move files into subdirectory 2020-03-02 10:45:03 +01:00
Tessa Kelly
3ce36fe1d5 Fix test compilation 2020-01-16 13:20:14 -08:00
Tessa Kelly
c8c2d9d875 Adds Select V7 (direct copy of V6) 2020-01-16 11:41:51 -08:00
brookeangel
4ae52055e3 fix test for toggletip 2019-12-02 16:13:26 -08:00
brookeangel
7e55bfbd2a also test toggletip and add some accessibility goodies 2019-09-30 15:29:43 -07:00
brookeangel
77b485a485 both types of tooltips can trigger on focus / blur - test it 2019-09-30 14:30:21 -07:00
Katie Hughes
ffafed6ddd add test confirming click clicks 2019-09-17 15:20:47 -07:00
Katie Hughes
daa6d2046d fix test 2019-09-16 16:26:30 -07:00
Katie Hughes
0737af2649 try another attribute so aria isn't mad 2019-09-16 14:51:24 -07:00
Katie Hughes
aecac29240 Create a toggle only view for SegmentedControl so you don't need to use it for page navigation 2019-09-11 10:34:03 -07:00
Michael Glass
1fae6a445b upgrade list zipper dependency 2019-09-04 11:03:03 +02:00
Gavin Panella
4b3e2b62da Verify Modal.V6 example code. 2019-07-30 23:03:59 +02:00
brookeangel
49b7a799a1 add tests for checkbox v6 2019-07-24 10:18:15 -07:00
Tessa Kelly
cee2ad4ea6 Adds test module from the monolith 2019-07-11 13:53:40 -07:00
Katie Hughes
0575f48c74 add select v6 tests 2019-05-17 15:38:47 -07:00
Katie Hughes
594f6355e2 remove type variable, change reload text 2019-05-14 16:04:51 -07:00
Katie Hughes
f0f2dd97e3 add tests for error page recovery text 2019-05-13 16:58:34 -07:00
Juan Edi
2a6db60f08 Fix spec 2019-04-12 17:08:43 -03:00
Tessa Kelly
d191da43ed Reset V1 to the old API
Make a V2 with the new content
test against V2
use V2 in the styleguide
2019-04-08 18:08:23 -07:00
Tessa Kelly
de598edb97 Adds test against forward button navigability 2019-04-05 13:58:16 -07:00
Tessa Kelly
3c491a77ea Adds failing test against navigation behavior 2019-04-05 12:45:58 -07:00
Tessa Kelly
71a8772f67 Adds test against clicking straight through the modals 2019-04-05 12:36:48 -07:00
Tessa Kelly
3d988ba028 Set up test context 2019-04-05 12:35:40 -07:00
Tessa Kelly
7b8ee07c7b adds basic test against open and closed states 2019-04-05 12:09:09 -07:00
Aaron VonderHaar
8a8626d240 Add Nri.Ui.TextInput.V4.generateId 2019-01-21 16:32:42 -08:00
mavnn
ae7aa6047c
Add Checkbox.V4/PremiumCheckbox.V3 with correct text styling
Previous versions relied on the nri2015 sass stylesheet for label style.
2018-12-14 12:18:49 +00:00
Brooke Angel
171702ea6c fix test ci script 2018-12-11 21:57:06 +01:00
Richard Feldman
e2907d9ba2 Prep for 0.19 dual-publish (#163)
* Use elm-css 16.0.0

* 💀 Ui.Checkbox V1 and V2

* s/Css.Foreign/Css.Global/g

* 💀 Nri.Ui.Styles.V1

* 💀 BannerAlert.V1

* 💀 Modal.V1

* 💀 Dropdown.V1

* 💀 Select.V1 and V2

* 💀 Alert.V1

* 💀 Button.V1 and V2

* 💀 Divider.V1

* 💀 Icon.V1 and V2

* 💀 Outline.V1

* 💀 SegmentedControl.V1-V5

* 💀 TextArea.V1 and V2

* 💀 TextInput.V1

* delete the rest of the modules

* actually more deletions

* InputStyles v1 is unused

* move to src-0.18

* do the 0.19 upgrade

* select options are addressable by index

* elm-css 16

* update scripts

* elm-format

* Update V2.elm

* put the nbsp back

* elm-format validation for both versions
2018-11-12 15:38:19 -08:00
Luke Westby
10e29b412b
Puffins final upgrades (#166)
* add toString to select config

* let table use v2 keyframes

* add to elm-package

* use button for tabs

* delete noop hrefs

* add to select tests

* use html v3
2018-11-12 12:25:37 -08:00
Richard Feldman
94d5096763 💀 elm-css-util 2018-10-31 17:54:15 -04:00
dependabot[bot]
d85e1afb35
Update rtfeldman/elm-css requirement from 13.1.1 <= v < 14.0.0 to 13.1.1 <= v < 15.0.0 in /tests
Updates the requirements on [rtfeldman/elm-css](https://github.com/rtfeldman/elm-css) to permit the latest version.
- [Release notes](https://github.com/rtfeldman/elm-css/releases)
- [Changelog](https://github.com/rtfeldman/elm-css/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rtfeldman/elm-css/commits/alpha-14.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-09 12:15:07 +00:00
James Gary
6897215469 🤦 Remove stuff from debugging 2018-09-07 15:22:35 -07:00
James Gary
c00828a3c1 Revert changes made to checkbox V1 2018-09-07 15:21:56 -07:00
James Gary
bae4268dcc Copy PremiumWithWriting v1 to v2, expose in elm-package.json 2018-09-07 15:20:25 -07:00
James Gary
509141f3cb Match the asset name that's already in the monolith 2018-09-05 15:38:44 -07:00
James Gary
833556e688 Add premium writing flag asset, make test more specific 2018-09-05 14:34:55 -07:00
James Gary
ee9271bdff Update PremiumCheckbox to explicitly manage pennant
- Simplify example
2018-09-05 13:40:18 -07:00
James Gary
b5393a25e8 Simplify PremiumConfig 2018-08-31 13:11:32 -07:00
James Gary
b2a2532ff0 Don't require PremiumLevel; allow general premium levels 2018-08-30 12:47:48 -07:00
Aaron VonderHaar
6fe447decf Add Nri.Ui.Checkbox.V3.selectedFromBool convenience function 2018-08-21 11:38:31 -07:00
Stoeffel
649746369b convert DisclosureIndicator to Html.Styled 2018-07-27 08:26:48 +02:00
Stoeffel
a2094f3f6e adds disclosure indicator 2018-07-27 08:26:48 +02:00
Brooke
d464bb7480 add tests for V3 2018-07-10 17:55:18 -07:00
Tessa Kelly
abde09a461 Update class names 2018-06-27 12:14:29 -07:00
Tessa Kelly
f918183bc6 💀 kill empty tests 2018-06-19 18:06:07 -07:00
Tessa Kelly
2c4169a334 Extract the premium chekcbox functionality 2018-06-19 17:58:10 -07:00
Tessa Kelly
f2531b0a2f Pull the assets up out of the sytesl 2018-06-15 10:54:38 -07:00
Tessa Kelly
785bc0e932 Fix mismatch in elm package dependencies 2018-06-15 10:47:18 -07:00
Tessa Kelly
0755e5cbb4 Return Html>styled from the helpers that use buildCheckbox 2018-06-15 09:51:24 -07:00
Tessa Kelly
994b058bb6 Add new version of the checkbox 2018-06-14 18:15:04 -07:00
Jasper Woudenberg
2a77a03efc Migrate TextArea.V2 to Html.Styled
This does not actually migrate the styles themselves yet, it just
changes the Html type of the `TextArea` exposed from the module.
2018-05-18 10:35:31 +02:00
Hardy Jones
cbb7c34225
Test the new select version
We make a suite that checks the behavior of both versions.
Assuming they have the same API, this should work.

If we add another version and it changes the API,
we might want to rethink this approach.
2018-04-18 07:59:26 -07:00
Hardy Jones
276d20c3ef
Extract tests for select from the monolith
This was forgotten in the extraction PR.
Just moves the tests over verbatim.
2018-04-17 11:25:29 -07:00
Jasper Woudenberg
fd88711766 Add tests for checkbox
These tests are fresh from the monolith.
2018-03-27 15:59:09 +02:00