Commit 1f5ef95
authored
Web components: Refactor
* limit custom elements manifest to src/components directory with new config file
* remove chromatic plugin
* remove unused prop
* add storybook helpers to project
* hide argref
* refactor: move translations to constants and improve type safety
* render styles in storybook
* fix icon color
* use enum instead of type alias to get dropdown in storybook
* use template helper
* add await for async event
* use template helper for custom content. Add slotted selector to make the lock icon work like magic
* clean up import
* remove tld prop and add tld to slot
* remove comment
* provide guidance and info about component
* update copy
* formatting file
* add syntax highlighting
* add link
* update icon aria labelusa-banner and improve Storybook integration (#189)1 parent bd6ba19 commit 1f5ef95
File tree
10 files changed
+295
-7084
lines changed- .storybook
- src/components/usa-banner
10 files changed
+295
-7084
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments