@warp-ds/elements 2.10.0-next.1 → 2.10.0-next.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/README.md +4 -0
  2. package/dist/api.js +1 -1
  3. package/dist/api.js.map +1 -1
  4. package/dist/custom-elements.json +233 -87
  5. package/dist/docs/affix/affix.md +2 -2
  6. package/dist/docs/affix/styling.md +1 -0
  7. package/dist/docs/alert/alert.md +2 -2
  8. package/dist/docs/alert/styling.md +1 -0
  9. package/dist/docs/attention/attention.md +2 -0
  10. package/dist/docs/attention/styling.md +1 -0
  11. package/dist/docs/badge/badge.md +2 -0
  12. package/dist/docs/badge/styling.md +1 -0
  13. package/dist/docs/box/box.md +22 -40
  14. package/dist/docs/box/examples.md +20 -38
  15. package/dist/docs/box/styling.md +1 -0
  16. package/dist/docs/breadcrumbs/breadcrumbs.md +8 -2
  17. package/dist/docs/breadcrumbs/examples.md +7 -1
  18. package/dist/docs/breadcrumbs/styling.md +1 -0
  19. package/dist/docs/button/button.md +73 -2
  20. package/dist/docs/button/styling.md +72 -0
  21. package/dist/docs/card/accessibility.md +74 -0
  22. package/dist/docs/card/api.md +9 -3
  23. package/dist/docs/card/card.md +236 -5
  24. package/dist/docs/card/examples.md +75 -0
  25. package/dist/docs/card/styling.md +1 -0
  26. package/dist/docs/card/usage.md +76 -0
  27. package/dist/docs/checkbox/api.md +128 -0
  28. package/dist/docs/checkbox/checkbox.md +134 -0
  29. package/dist/docs/checkbox-group/accessibility.md +71 -0
  30. package/dist/docs/checkbox-group/api.md +79 -0
  31. package/dist/docs/checkbox-group/checkbox-group.md +492 -0
  32. package/dist/docs/checkbox-group/examples.md +105 -0
  33. package/dist/docs/checkbox-group/styling.md +132 -0
  34. package/dist/docs/checkbox-group/usage.md +95 -0
  35. package/dist/docs/combobox/accessibility.md +71 -0
  36. package/dist/docs/combobox/api.md +60 -30
  37. package/dist/docs/combobox/combobox.md +205 -32
  38. package/dist/docs/combobox/examples.md +44 -0
  39. package/dist/docs/combobox/styling.md +1 -0
  40. package/dist/docs/combobox/usage.md +28 -0
  41. package/dist/docs/datepicker/accessibility.md +25 -0
  42. package/dist/docs/datepicker/api.md +22 -14
  43. package/dist/docs/datepicker/datepicker.md +208 -16
  44. package/dist/docs/datepicker/examples.md +75 -0
  45. package/dist/docs/datepicker/styling.md +1 -0
  46. package/dist/docs/datepicker/usage.md +84 -0
  47. package/dist/docs/expandable/api.md +20 -32
  48. package/dist/docs/expandable/examples.md +54 -0
  49. package/dist/docs/expandable/expandable.md +74 -32
  50. package/dist/docs/expandable/styling.md +1 -0
  51. package/dist/docs/icon/accessibility.md +5 -0
  52. package/dist/docs/icon/api.md +43 -0
  53. package/dist/docs/icon/examples.md +45 -0
  54. package/dist/docs/icon/icon.md +115 -0
  55. package/dist/docs/icon/styling.md +1 -0
  56. package/dist/docs/icon/usage.md +11 -0
  57. package/dist/docs/index.md +46 -0
  58. package/dist/docs/link/api.md +18 -22
  59. package/dist/docs/link/examples.md +75 -0
  60. package/dist/docs/link/link.md +113 -24
  61. package/dist/docs/link/styling.md +1 -0
  62. package/dist/docs/link/usage.md +18 -0
  63. package/dist/docs/modal/modal.md +2 -0
  64. package/dist/docs/modal/styling.md +1 -0
  65. package/dist/docs/modal-footer/modal-footer.md +0 -6
  66. package/dist/docs/modal-header/modal-header.md +0 -6
  67. package/dist/docs/page-indicator/page-indicator.md +2 -0
  68. package/dist/docs/page-indicator/styling.md +1 -0
  69. package/dist/docs/pagination/pagination.md +2 -0
  70. package/dist/docs/pagination/styling.md +1 -0
  71. package/dist/docs/pill/pill.md +2 -0
  72. package/dist/docs/pill/styling.md +1 -0
  73. package/dist/docs/radio/radio.md +1 -7
  74. package/dist/docs/select/select.md +2 -0
  75. package/dist/docs/select/styling.md +1 -0
  76. package/dist/docs/slider/slider.md +2 -0
  77. package/dist/docs/slider/styling.md +1 -0
  78. package/dist/docs/slider-thumb/slider-thumb.md +2 -0
  79. package/dist/docs/slider-thumb/styling.md +1 -0
  80. package/dist/docs/step-indicator/step-indicator.md +2 -0
  81. package/dist/docs/step-indicator/styling.md +1 -0
  82. package/dist/docs/switch/styling.md +1 -0
  83. package/dist/docs/switch/switch.md +2 -0
  84. package/dist/docs/tabs/styling.md +1 -0
  85. package/dist/docs/tabs/tabs.md +2 -0
  86. package/dist/docs/textarea/styling.md +1 -0
  87. package/dist/docs/textarea/textarea.md +2 -0
  88. package/dist/docs/textfield/styling.md +1 -0
  89. package/dist/docs/textfield/textfield.md +2 -0
  90. package/dist/index.d.ts +645 -313
  91. package/dist/packages/affix/affix.hydration.test.js +1 -1
  92. package/dist/packages/affix/affix.js +4 -4
  93. package/dist/packages/affix/affix.js.map +4 -4
  94. package/dist/packages/alert/alert.hydration.test.js +1 -1
  95. package/dist/packages/alert/alert.js +3 -3
  96. package/dist/packages/alert/alert.js.map +3 -3
  97. package/dist/packages/attention/attention.hydration.test.js +1 -1
  98. package/dist/packages/attention/attention.js +397 -446
  99. package/dist/packages/attention/attention.js.map +4 -4
  100. package/dist/packages/attention/attention.test.js +1 -1
  101. package/dist/packages/badge/badge.hydration.test.js +1 -1
  102. package/dist/packages/box/box.hydration.test.js +1 -1
  103. package/dist/packages/box/box.js +1 -1
  104. package/dist/packages/box/box.js.map +1 -1
  105. package/dist/packages/breadcrumbs/breadcrumbs.hydration.test.js +3 -2
  106. package/dist/packages/breadcrumbs/breadcrumbs.js +4 -4
  107. package/dist/packages/breadcrumbs/breadcrumbs.js.map +3 -3
  108. package/dist/packages/button/button.hydration.test.js +1 -1
  109. package/dist/packages/button/button.js +387 -436
  110. package/dist/packages/button/button.js.map +4 -4
  111. package/dist/packages/button/button.stories.d.ts +29 -0
  112. package/dist/packages/button/button.stories.js +176 -2
  113. package/dist/packages/button/styles.d.ts +22 -1
  114. package/dist/packages/button/styles.js +390 -1
  115. package/dist/packages/card/card.d.ts +9 -6
  116. package/dist/packages/card/card.hydration.test.js +1 -1
  117. package/dist/packages/card/card.js +3 -3
  118. package/dist/packages/card/card.js.map +4 -4
  119. package/dist/packages/checkbox/checkbox.d.ts +45 -14
  120. package/dist/packages/checkbox/checkbox.hydration.test.js +1 -1
  121. package/dist/packages/checkbox/checkbox.js +3 -3
  122. package/dist/packages/checkbox/checkbox.js.map +3 -3
  123. package/dist/packages/checkbox/checkbox.react.stories.d.ts +1 -1
  124. package/dist/packages/checkbox/checkbox.stories.d.ts +2 -2
  125. package/dist/packages/checkbox/checkbox.test.js +1 -1
  126. package/dist/packages/checkbox/react.d.ts +2 -2
  127. package/dist/packages/checkbox-group/checkbox-group.a11y.test.js +1 -1
  128. package/dist/packages/checkbox-group/checkbox-group.d.ts +35 -8
  129. package/dist/packages/checkbox-group/checkbox-group.hydration.test.js +1 -1
  130. package/dist/packages/checkbox-group/checkbox-group.js +6 -6
  131. package/dist/packages/checkbox-group/checkbox-group.js.map +4 -4
  132. package/dist/packages/checkbox-group/react.d.ts +3 -3
  133. package/dist/packages/combobox/combobox.a11y.test.js +24 -0
  134. package/dist/packages/combobox/combobox.d.ts +65 -45
  135. package/dist/packages/combobox/combobox.hydration.test.js +39 -1
  136. package/dist/packages/combobox/combobox.js +21 -21
  137. package/dist/packages/combobox/combobox.js.map +4 -4
  138. package/dist/packages/combobox/combobox.stories.js +28 -15
  139. package/dist/packages/combobox/combobox.test.js +110 -0
  140. package/dist/packages/datepicker/DatePicker.test.js +1 -1
  141. package/dist/packages/datepicker/datepicker.d.ts +22 -30
  142. package/dist/packages/datepicker/datepicker.hydration.test.js +1 -1
  143. package/dist/packages/datepicker/datepicker.js +49 -49
  144. package/dist/packages/datepicker/datepicker.js.map +4 -4
  145. package/dist/packages/datepicker/datepicker.test.js +1 -1
  146. package/dist/packages/expandable/expandable.d.ts +11 -32
  147. package/dist/packages/expandable/expandable.hydration.test.js +1 -1
  148. package/dist/packages/expandable/expandable.js +11 -11
  149. package/dist/packages/expandable/expandable.js.map +3 -3
  150. package/dist/packages/expandable/expandable.react.stories.d.ts +2 -2
  151. package/dist/packages/expandable/react.d.ts +1 -1
  152. package/dist/packages/icon/icon.d.ts +16 -4
  153. package/dist/packages/icon/icon.hydration.test.js +1 -1
  154. package/dist/packages/icon/icon.js +2 -2
  155. package/dist/packages/icon/icon.js.map +3 -3
  156. package/dist/packages/icon/icon.react.stories.d.ts +1 -1
  157. package/dist/packages/icon/react.d.ts +2 -2
  158. package/dist/packages/link/link.d.ts +15 -16
  159. package/dist/packages/link/link.hydration.test.js +1 -1
  160. package/dist/packages/link/link.js +420 -190
  161. package/dist/packages/link/link.js.map +4 -4
  162. package/dist/packages/link/link.test.js +1 -1
  163. package/dist/packages/link/styles.d.ts +5 -0
  164. package/dist/packages/link/styles.js +80 -0
  165. package/dist/packages/modal/modal.d.ts +1 -0
  166. package/dist/packages/modal/modal.hydration.test.js +1 -1
  167. package/dist/packages/modal/modal.js +4 -4
  168. package/dist/packages/modal/modal.js.map +3 -3
  169. package/dist/packages/modal-header/modal-header.js +11 -9
  170. package/dist/packages/modal-header/modal-header.js.map +4 -4
  171. package/dist/packages/page-indicator/page-indicator.hydration.test.js +1 -1
  172. package/dist/packages/page-indicator/page-indicator.js +5 -5
  173. package/dist/packages/page-indicator/page-indicator.js.map +3 -3
  174. package/dist/packages/pagination/pagination.hydration.test.js +1 -1
  175. package/dist/packages/pagination/pagination.js +4 -4
  176. package/dist/packages/pagination/pagination.js.map +4 -4
  177. package/dist/packages/pagination/pagination.test.js +1 -1
  178. package/dist/packages/pill/pill.hydration.test.js +1 -1
  179. package/dist/packages/pill/pill.js +3 -3
  180. package/dist/packages/pill/pill.js.map +4 -4
  181. package/dist/packages/radio/radio.hydration.test.js +1 -1
  182. package/dist/packages/radio/radio.js +3 -3
  183. package/dist/packages/radio/radio.js.map +3 -3
  184. package/dist/packages/radio/radio.test.js +1 -1
  185. package/dist/packages/radio-group/radio-group.a11y.test.js +7 -3
  186. package/dist/packages/radio-group/radio-group.hydration.test.js +6 -2
  187. package/dist/packages/radio-group/radio-group.js +11 -11
  188. package/dist/packages/radio-group/radio-group.js.map +4 -4
  189. package/dist/packages/select/select.a11y.test.js +6 -2
  190. package/dist/packages/select/select.hydration.test.js +1 -1
  191. package/dist/packages/select/select.js +7 -7
  192. package/dist/packages/select/select.js.map +4 -4
  193. package/dist/packages/select/select.test.js +4 -2
  194. package/dist/packages/slider/slider.hydration.test.js +7 -2
  195. package/dist/packages/slider/slider.js +5 -5
  196. package/dist/packages/slider/slider.js.map +4 -4
  197. package/dist/packages/slider/slider.react.stories.js +2 -2
  198. package/dist/packages/slider/slider.test.js +1 -1
  199. package/dist/packages/slider-thumb/slider-thumb.hydration.test.js +1 -1
  200. package/dist/packages/slider-thumb/slider-thumb.js +20 -20
  201. package/dist/packages/slider-thumb/slider-thumb.js.map +4 -4
  202. package/dist/packages/step/step.hydration.test.js +1 -1
  203. package/dist/packages/step/step.js +8 -8
  204. package/dist/packages/step/step.js.map +4 -4
  205. package/dist/packages/step-indicator/step-indicator.hydration.test.js +1 -1
  206. package/dist/packages/switch/switch.a11y.test.js +1 -1
  207. package/dist/packages/switch/switch.hydration.test.js +1 -1
  208. package/dist/packages/switch/switch.js +1 -1
  209. package/dist/packages/switch/switch.js.map +1 -1
  210. package/dist/packages/tab/tab.hydration.test.js +1 -1
  211. package/dist/packages/tab/tab.js +10 -10
  212. package/dist/packages/tab/tab.js.map +2 -2
  213. package/dist/packages/tab-panel/tab-panel.hydration.test.js +1 -1
  214. package/dist/packages/tab-panel/tab-panel.js +3 -3
  215. package/dist/packages/tab-panel/tab-panel.js.map +2 -2
  216. package/dist/packages/tabs/tabs.a11y.test.js +2 -2
  217. package/dist/packages/tabs/tabs.hydration.test.js +1 -1
  218. package/dist/packages/tabs/tabs.js +1 -1
  219. package/dist/packages/tabs/tabs.js.map +2 -2
  220. package/dist/packages/tabs/tabs.test.js +4 -4
  221. package/dist/packages/textarea/textarea.hydration.test.js +1 -1
  222. package/dist/packages/textarea/textarea.js +4 -4
  223. package/dist/packages/textarea/textarea.js.map +3 -3
  224. package/dist/packages/textarea/textarea.test.js +1 -1
  225. package/dist/packages/textfield/textfield.hydration.test.js +1 -1
  226. package/dist/packages/textfield/textfield.js +1 -1
  227. package/dist/packages/textfield/textfield.js.map +1 -1
  228. package/dist/packages/textfield/textfield.test.js +1 -1
  229. package/dist/packages/toast/toast.js +6 -6
  230. package/dist/packages/toast/toast.js.map +4 -4
  231. package/dist/packages/toast/toast.stories.d.ts +1 -5
  232. package/dist/packages/toast/toast.stories.js +0 -17
  233. package/dist/packages/toast-container/toast-container.js +2 -2
  234. package/dist/packages/toast-container/toast-container.js.map +2 -2
  235. package/dist/web-types.json +238 -103
  236. package/eik/index.js +2536 -0
  237. package/package.json +15 -9
  238. package/dist/docs/modal-footer/accessibility.md +0 -1
  239. package/dist/docs/modal-footer/examples.md +0 -1
  240. package/dist/docs/modal-footer/usage.md +0 -1
  241. package/dist/docs/modal-header/accessibility.md +0 -1
  242. package/dist/docs/modal-header/examples.md +0 -1
  243. package/dist/docs/modal-header/usage.md +0 -1
  244. package/dist/docs/radio/accessibility.md +0 -1
  245. package/dist/docs/radio/examples.md +0 -1
  246. package/dist/docs/radio/usage.md +0 -1
  247. package/dist/packages/button/styles/w-button.styles.d.ts +0 -1
  248. package/dist/packages/button/styles/w-button.styles.js +0 -282
  249. package/dist/packages/link/styles/w-link.styles.d.ts +0 -1
  250. package/dist/packages/link/styles/w-link.styles.js +0 -213
@@ -4,14 +4,107 @@
4
4
 
5
5
  Buttons are used to perform actions, with different visuals for different needs.
6
6
 
7
- [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-link--docs)
8
-
9
7
  ## Usage
10
8
 
9
+ **Do:**
10
+
11
+ - Use the `<w-link>` component when you need a link that looks like a button.
12
+
13
+ **Do Not:**
14
+
15
+ - Use the `<w-link>` component when you need a link that looks like a link. In that case, use the native `<a>` tag.
16
+ - Use the `<w-link>` component when you need a button that looks like a button. In that case, use the native `<w-button>` tag.
17
+
18
+ The following table illustrates use cases and which element to use for the purpose.
19
+
20
+ | If desired behaviour is | and desired styling is | then use |
21
+ | ----------------------- | ---------------------- | ------------ |
22
+ | link | button | `<w-link>` |
23
+ | button | button | `<w-button>` |
24
+ | link | link | `<a>` |
25
+ | button | link | `<w-button>` |
26
+
11
27
  ## Accessibility
12
28
 
13
29
  ## Examples
14
30
 
31
+ ### Primary
32
+
33
+ <elements-example>
34
+
35
+ ```html
36
+ <w-link variant="primary" href="#">Go to the top of this page</w-link>
37
+ ```
38
+
39
+ </elements-example>
40
+
41
+ ### Secondary
42
+
43
+ This is the default appearance.
44
+
45
+ <elements-example>
46
+
47
+ ```html
48
+ <w-link href="#">Go to the top of this page</w-link>
49
+ ```
50
+
51
+ </elements-example>
52
+
53
+ ### Negative
54
+
55
+ <elements-example>
56
+
57
+ ```html
58
+ <w-link variant="negative" href="#">Go to the top of this page</w-link>
59
+ ```
60
+
61
+ </elements-example>
62
+
63
+ ### Utility
64
+
65
+ <elements-example>
66
+
67
+ ```html
68
+ <w-link variant="utility" href="#">Go to the top of this page</w-link>
69
+ ```
70
+
71
+ </elements-example>
72
+
73
+ ### Quiet
74
+
75
+ <elements-example>
76
+
77
+ ```html
78
+ <w-link variant="quiet" href="#">Go to the top of this page</w-link>
79
+ ```
80
+
81
+ </elements-example>
82
+
83
+ ### Small
84
+
85
+ All variants can be small.
86
+
87
+ <elements-example>
88
+
89
+ ```html
90
+ <w-link href="#" small>Go to the top of this page</w-link>
91
+ ```
92
+
93
+ </elements-example>
94
+
95
+ ### Full width
96
+
97
+
98
+ <elements-example>
99
+
100
+ ```html
101
+ <w-link href="#" full-width>Go to the top of this page</w-link>
102
+ ```
103
+
104
+ </elements-example>
105
+
106
+ ## Styling API
107
+
15
108
  ## `<w-link>` API
16
109
 
17
110
  Unless otherwise noted all properties are HTML attributes (as opposed to JavaScript object properties).
@@ -20,77 +113,73 @@ Unless otherwise noted all properties are HTML attributes (as opposed to JavaScr
20
113
 
21
114
  | Name | Type | Default | Summary |
22
115
  |-|-|-|-|
23
- | autofocus | `boolean` | `false` | - |
24
- | disabled | `boolean` | `false` | - |
25
- | full-width | `boolean` | `false` | - |
26
- | href | `string` | `-` | - |
27
- | rel | `string` | `-` | - |
28
- | shadowRootOptions (JS only) | `object` | `{ ...LitElement.shadowRootOptions, delegatesFocus: true, }` | - |
29
- | small | `boolean` | `false` | - |
30
- | target | `string` | `-` | - |
31
- | variant | [`ButtonVariant`](#buttonvariant) | `-` | - |
116
+ | autofocus | `boolean` | `false` | Focus the link after it is rendered |
117
+ | disabled | `boolean` | `false` | Applies disabled styling, but you need to disable clicks on your own. |
118
+ | full-width | `boolean` | `false` | Makes the link take up the full width of its parent |
119
+ | href | `string` | `-` | The URL the link points to |
120
+ | rel | `string` | `-` | Relationship of the linked URL. |
121
+ | small | `boolean` | `false` | Render a smaller version |
122
+ | target | `string` | `-` | Where to display the linked URL (e.g. `_blank`) |
123
+ | variant | [`ButtonVariant`](#buttonvariant) | `-` | Visual style for the link/button. |
32
124
 
33
125
  ### Property Details
34
126
 
35
127
  #### autofocus
36
128
 
37
-
129
+ Focus the link after it is rendered
38
130
 
39
131
  - Type: `boolean`
40
132
  - Default: `false`
41
133
 
42
134
  #### disabled
43
135
 
136
+ Applies disabled styling, but you need to disable clicks on your own.
44
137
 
138
+ The component renders an `<a>` element; `disabled` affects styling, but does not inherently prevent navigation. If you need to fully disable interaction, omit `href` and/or prevent default click behavior.
45
139
 
46
140
  - Type: `boolean`
47
141
  - Default: `false`
48
142
 
49
143
  #### full-width
50
144
 
51
-
145
+ Makes the link take up the full width of its parent
52
146
 
53
147
  - Type: `boolean`
54
148
  - Default: `false`
55
149
 
56
150
  #### href
57
151
 
58
-
152
+ The URL the link points to
59
153
 
60
154
  - Type: `string`
61
155
  - Default: `-`
62
156
 
63
157
  #### rel
64
158
 
159
+ Relationship of the linked URL.
65
160
 
161
+ If `target="_blank"` and `rel` is not provided, the component uses `noopener`.
66
162
 
67
163
  - Type: `string`
68
164
  - Default: `-`
69
165
 
70
- #### shadowRootOptions (JS only)
71
-
72
-
73
-
74
- - Type: `object`
75
- - Default: `{ ...LitElement.shadowRootOptions, delegatesFocus: true, }`
76
-
77
166
  #### small
78
167
 
79
-
168
+ Render a smaller version
80
169
 
81
170
  - Type: `boolean`
82
171
  - Default: `false`
83
172
 
84
173
  #### target
85
174
 
86
-
175
+ Where to display the linked URL (e.g. `_blank`)
87
176
 
88
177
  - Type: `string`
89
178
  - Default: `-`
90
179
 
91
180
  #### variant
92
181
 
93
-
182
+ Visual style for the link/button.
94
183
 
95
184
  - Type: [`ButtonVariant`](#buttonvariant)
96
185
  - Default: `-`
@@ -0,0 +1 @@
1
+ ## Styling API
@@ -1 +1,19 @@
1
1
  ## Usage
2
+
3
+ **Do:**
4
+
5
+ - Use the `<w-link>` component when you need a link that looks like a button.
6
+
7
+ **Do Not:**
8
+
9
+ - Use the `<w-link>` component when you need a link that looks like a link. In that case, use the native `<a>` tag.
10
+ - Use the `<w-link>` component when you need a button that looks like a button. In that case, use the native `<w-button>` tag.
11
+
12
+ The following table illustrates use cases and which element to use for the purpose.
13
+
14
+ | If desired behaviour is | and desired styling is | then use |
15
+ | ----------------------- | ---------------------- | ------------ |
16
+ | link | button | `<w-link>` |
17
+ | button | button | `<w-button>` |
18
+ | link | link | `<a>` |
19
+ | button | link | `<w-button>` |
@@ -185,6 +185,8 @@ modal.addEventListener('command', function (event: CommandEvent) {
185
185
 
186
186
  </elements-example>
187
187
 
188
+ ## Styling API
189
+
188
190
  ## `<w-modal>` API
189
191
 
190
192
  Unless otherwise noted all properties are HTML attributes (as opposed to JavaScript object properties).
@@ -0,0 +1 @@
1
+ ## Styling API
@@ -4,12 +4,6 @@
4
4
 
5
5
  The footer section of a modal, typically where you place actions.
6
6
 
7
- ## Usage
8
-
9
- ## Accessibility
10
-
11
- ## Examples
12
-
13
7
  ### `<w-modal-footer>` API
14
8
 
15
9
  #### Properties
@@ -4,12 +4,6 @@
4
4
 
5
5
  The header section of a modal, typically where you place the title and a close button.
6
6
 
7
- ## Usage
8
-
9
- ## Accessibility
10
-
11
- ## Examples
12
-
13
7
  ### `<w-modal-header>` API
14
8
 
15
9
  #### Properties
@@ -28,6 +28,8 @@ One dot is highlighted to indicate the currently selected page.
28
28
 
29
29
  </elements-example>
30
30
 
31
+ ## Styling API
32
+
31
33
  ## `<w-page-indicator>` API
32
34
 
33
35
  Unless otherwise noted all properties are HTML attributes (as opposed to JavaScript object properties).
@@ -0,0 +1 @@
1
+ ## Styling API
@@ -48,6 +48,8 @@ If you want to override this in your app and handle things like scroll and focus
48
48
  </script>
49
49
  ```
50
50
 
51
+ ## Styling API
52
+
51
53
  ## `<w-pagination>` API
52
54
 
53
55
  Unless otherwise noted all properties are HTML attributes (as opposed to JavaScript object properties).
@@ -0,0 +1 @@
1
+ ## Styling API
@@ -43,6 +43,8 @@ For example to dismiss or turn off parts of a filter.
43
43
 
44
44
  </elements-example>
45
45
 
46
+ ## Styling API
47
+
46
48
  ## `<w-pill>` API
47
49
 
48
50
  Unless otherwise noted all properties are HTML attributes (as opposed to JavaScript object properties).
@@ -0,0 +1 @@
1
+ ## Styling API
@@ -2,13 +2,7 @@
2
2
 
3
3
  ## Description
4
4
 
5
-
6
-
7
- ## Usage
8
-
9
- ## Accessibility
10
-
11
- ## Examples
5
+ A radio input typically consists of two components:
12
6
 
13
7
  ### `<w-radio>` API
14
8
 
@@ -158,6 +158,8 @@ The `readonly` boolean attribute makes the selection immutable. Unlike disabled
158
158
 
159
159
  </elements-example>
160
160
 
161
+ ## Styling API
162
+
161
163
  ## `<w-select>` API
162
164
 
163
165
  Unless otherwise noted all properties are HTML attributes (as opposed to JavaScript object properties).
@@ -0,0 +1 @@
1
+ ## Styling API
@@ -306,6 +306,8 @@ The text field doubles as a visualization of the exact value, which is difficult
306
306
 
307
307
  </elements-example>
308
308
 
309
+ ## Styling API
310
+
309
311
  ## `<w-slider>` API
310
312
 
311
313
  Unless otherwise noted all properties are HTML attributes (as opposed to JavaScript object properties).
@@ -0,0 +1 @@
1
+ ## Styling API
@@ -10,6 +10,8 @@ Component to place inside a `<w-slider>`.
10
10
 
11
11
  ## Examples
12
12
 
13
+ ## Styling API
14
+
13
15
  ### `<w-slider-thumb>` API
14
16
 
15
17
  #### Properties
@@ -0,0 +1 @@
1
+ ## Styling API
@@ -103,6 +103,8 @@ Each `<w-step>` can be marked as `active` or `completed` to indicate progress. T
103
103
 
104
104
  </elements-example>
105
105
 
106
+ ## Styling API
107
+
106
108
  ## `<w-step-indicator>` API
107
109
 
108
110
  Unless otherwise noted all properties are HTML attributes (as opposed to JavaScript object properties).
@@ -0,0 +1 @@
1
+ ## Styling API
@@ -0,0 +1 @@
1
+ ## Styling API
@@ -34,6 +34,8 @@ The internal control is rendered as a native `button` with `role="switch"` and `
34
34
 
35
35
  </elements-example>
36
36
 
37
+ ## Styling API
38
+
37
39
  ## `<w-switch>` API
38
40
 
39
41
  Unless otherwise noted all properties are HTML attributes (as opposed to JavaScript object properties).
@@ -0,0 +1 @@
1
+ ## Styling API
@@ -97,6 +97,8 @@ Use the `over` attribute to position icons above the label:
97
97
 
98
98
  </elements-example>
99
99
 
100
+ ## Styling API
101
+
100
102
  ## `<w-tabs>` API
101
103
 
102
104
  Unless otherwise noted all properties are HTML attributes (as opposed to JavaScript object properties).
@@ -0,0 +1 @@
1
+ ## Styling API
@@ -111,6 +111,8 @@ Makes the textarea content immutable while remaining focusable. The contents can
111
111
 
112
112
  </elements-example>
113
113
 
114
+ ## Styling API
115
+
114
116
  ## `<w-textarea>` API
115
117
 
116
118
  Unless otherwise noted all properties are HTML attributes (as opposed to JavaScript object properties).
@@ -0,0 +1 @@
1
+ ## Styling API
@@ -181,6 +181,8 @@ The readonly boolean attribute makes the w-textfield's text content immutable. U
181
181
 
182
182
  </elements-example>
183
183
 
184
+ ## Styling API
185
+
184
186
  ## `<w-textfield>` API
185
187
 
186
188
  Unless otherwise noted all properties are HTML attributes (as opposed to JavaScript object properties).