@wavemaker/foundation-css 11.15.1-rc.6451 → 11.15.2-rc.64737

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 (209) hide show
  1. package/cjs/foundation-css.cjs +1260 -12
  2. package/cjs/src_tokens_mobile_components_accordion-pane_accordion-pane_json.foundation-css.cjs +14 -0
  3. package/cjs/src_tokens_mobile_components_accordion_accordion_json.foundation-css.cjs +1 -1
  4. package/cjs/src_tokens_mobile_components_anchor_anchor_json.foundation-css.cjs +1 -1
  5. package/cjs/src_tokens_mobile_components_barcodescanner_barcodescanner_json.foundation-css.cjs +1 -1
  6. package/cjs/src_tokens_mobile_components_bottomsheet_bottomsheet_json.foundation-css.cjs +1 -1
  7. package/cjs/src_tokens_mobile_components_button_button_json.foundation-css.cjs +1 -1
  8. package/cjs/src_tokens_mobile_components_calendar_calendar_json.foundation-css.cjs +1 -1
  9. package/cjs/src_tokens_mobile_components_camera_camera_json.foundation-css.cjs +1 -1
  10. package/cjs/src_tokens_mobile_components_cards_cards_json.foundation-css.cjs +1 -1
  11. package/cjs/src_tokens_mobile_components_carousel_carousel_json.foundation-css.cjs +1 -1
  12. package/cjs/src_tokens_mobile_components_checkboxset_checkboxset_json.foundation-css.cjs +1 -1
  13. package/cjs/src_tokens_mobile_components_chips_chips_json.foundation-css.cjs +1 -1
  14. package/cjs/src_tokens_mobile_components_container_container_json.foundation-css.cjs +1 -1
  15. package/cjs/src_tokens_mobile_components_currency_currency_json.foundation-css.cjs +1 -1
  16. package/cjs/src_tokens_mobile_components_dropdown-menu_dropdown-menu_json.foundation-css.cjs +1 -1
  17. package/cjs/src_tokens_mobile_components_form-controls_form-controls_json.foundation-css.cjs +1 -1
  18. package/cjs/src_tokens_mobile_components_form-wrapper_form-wrapper_json.foundation-css.cjs +1 -1
  19. package/cjs/src_tokens_mobile_components_label_label_json.foundation-css.cjs +1 -1
  20. package/cjs/src_tokens_mobile_components_list_list_json.foundation-css.cjs +1 -1
  21. package/cjs/src_tokens_mobile_components_login_login_json.foundation-css.cjs +1 -1
  22. package/cjs/src_tokens_mobile_components_lottie_lottie_json.foundation-css.cjs +1 -1
  23. package/cjs/src_tokens_mobile_components_message_message_json.foundation-css.cjs +1 -1
  24. package/cjs/src_tokens_mobile_components_modal-dialog_modal-dialog_json.foundation-css.cjs +1 -1
  25. package/cjs/src_tokens_mobile_components_nav_nav_json.foundation-css.cjs +1 -1
  26. package/cjs/src_tokens_mobile_components_navbar_navbar_json.foundation-css.cjs +1 -1
  27. package/cjs/src_tokens_mobile_components_navitem_navitem_json.foundation-css.cjs +1 -1
  28. package/cjs/src_tokens_mobile_components_page-left-nav_page-left-nav_json.foundation-css.cjs +14 -0
  29. package/cjs/src_tokens_mobile_components_panel_panel_json.foundation-css.cjs +1 -1
  30. package/cjs/src_tokens_mobile_components_partial-container_partial-container_json.foundation-css.cjs +14 -0
  31. package/cjs/src_tokens_mobile_components_picture_picture_json.foundation-css.cjs +1 -1
  32. package/cjs/src_tokens_mobile_components_popover_popover_json.foundation-css.cjs +1 -1
  33. package/cjs/src_tokens_mobile_components_progress-bar_progress-bar_json.foundation-css.cjs +1 -1
  34. package/cjs/src_tokens_mobile_components_radioset_radioset_json.foundation-css.cjs +1 -1
  35. package/cjs/src_tokens_mobile_components_rating_rating_json.foundation-css.cjs +1 -1
  36. package/cjs/src_tokens_mobile_components_search_search_json.foundation-css.cjs +1 -1
  37. package/cjs/src_tokens_mobile_components_select_select_json.foundation-css.cjs +1 -1
  38. package/cjs/src_tokens_mobile_components_spinner_spinner_json.foundation-css.cjs +1 -1
  39. package/cjs/src_tokens_mobile_components_switch_switch_json.foundation-css.cjs +1 -1
  40. package/cjs/src_tokens_mobile_components_tabbar_tabbar_json.foundation-css.cjs +1 -1
  41. package/cjs/src_tokens_mobile_components_tabs_tabs_json.foundation-css.cjs +1 -1
  42. package/cjs/src_tokens_mobile_components_tile_tile_json.foundation-css.cjs +1 -1
  43. package/cjs/src_tokens_mobile_components_webview_webview_json.foundation-css.cjs +1 -1
  44. package/cjs/src_tokens_mobile_components_wizard_wizard_json.foundation-css.cjs +1 -1
  45. package/index.d.ts +1 -0
  46. package/index.js +1 -0
  47. package/index.js.map +1 -1
  48. package/native_mobile.index.d.ts +17 -0
  49. package/native_mobile.index.js +17 -5
  50. package/native_mobile.index.js.map +1 -1
  51. package/npm-shrinkwrap.json +95 -117
  52. package/package-lock.json +95 -117
  53. package/package.json +13 -4
  54. package/src/node/index.d.ts +1 -0
  55. package/src/node/index.js +2 -0
  56. package/src/node/index.js.map +1 -0
  57. package/src/styles/mobile/components/advanced/carousel.less +6 -12
  58. package/src/styles/mobile/components/advanced/login.less +1 -4
  59. package/src/styles/mobile/components/advanced/webview.less +1 -4
  60. package/src/styles/mobile/components/basic/anchor.less +2 -2
  61. package/src/styles/mobile/components/basic/bottomsheet.less +5 -12
  62. package/src/styles/mobile/components/basic/button.less +3 -12
  63. package/src/styles/mobile/components/basic/buttongroup.less +3 -12
  64. package/src/styles/mobile/components/basic/label.less +7 -4
  65. package/src/styles/mobile/components/basic/lottie.less +7 -4
  66. package/src/styles/mobile/components/basic/message.less +6 -10
  67. package/src/styles/mobile/components/basic/picture.less +4 -16
  68. package/src/styles/mobile/components/basic/progress-bar.less +0 -1
  69. package/src/styles/mobile/components/basic/search.less +5 -20
  70. package/src/styles/mobile/components/basic/spinner.less +1 -1
  71. package/src/styles/mobile/components/container/accordion/accordionpane.less +6 -0
  72. package/src/styles/mobile/components/container/accordion.less +35 -3
  73. package/src/styles/mobile/components/container/panel.less +0 -5
  74. package/src/styles/mobile/components/container/tabs/tab-header.less +14 -3
  75. package/src/styles/mobile/components/container/tile.less +1 -4
  76. package/src/styles/mobile/components/container/wizard.less +3 -9
  77. package/src/styles/mobile/components/container.less +8 -32
  78. package/src/styles/mobile/components/data/card.less +1 -4
  79. package/src/styles/mobile/components/data/form.less +143 -37
  80. package/src/styles/mobile/components/data/list.less +1 -4
  81. package/src/styles/mobile/components/device/barcodescanner.less +2 -5
  82. package/src/styles/mobile/components/device/camera.less +1 -4
  83. package/src/styles/mobile/components/dialogs/dialog.less +17 -4
  84. package/src/styles/mobile/components/input/calendar.less +46 -38
  85. package/src/styles/mobile/components/input/checkboxset.less +1 -2
  86. package/src/styles/mobile/components/input/chips.less +8 -19
  87. package/src/styles/mobile/components/input/currency.less +14 -17
  88. package/src/styles/mobile/components/input/radioset.less +1 -2
  89. package/src/styles/mobile/components/input/rating.less +1 -1
  90. package/src/styles/mobile/components/input/select.less +26 -64
  91. package/src/styles/mobile/components/input/switch.less +1 -2
  92. package/src/styles/mobile/components/input/toggle.less +1 -1
  93. package/src/styles/mobile/components/navigation/appnavbar.less +11 -15
  94. package/src/styles/mobile/components/navigation/menu.less +3 -11
  95. package/src/styles/mobile/components/navigation/popover.less +22 -15
  96. package/src/styles/mobile/components/page/left-panel.less +0 -1
  97. package/src/styles/mobile/components/page/partial-container.less +1 -0
  98. package/src/styles/mobile/components/page/tabbar.less +9 -8
  99. package/src/styles/mobile/components/tokens.dark.css +25 -9
  100. package/src/styles/mobile/components/tokens.light.css +198 -241
  101. package/src/styles/mobile/components/variables/accordion.variant.less +4 -0
  102. package/src/styles/mobile/components/variables/button.variant.less +19 -79
  103. package/src/styles/mobile/components/variables/carousel.variant.less +2 -3
  104. package/src/styles/mobile/components/variables/container.variant.less +6 -24
  105. package/src/styles/mobile/components/variables/form-controls.variant.less +9 -8
  106. package/src/styles/mobile/components/variables/picture.variant.less +3 -12
  107. package/src/styles/mobile/components/variables/tabbar.variant.less +1 -0
  108. package/src/styles/mobile/components/variables/tabs.variant.less +7 -0
  109. package/src/styles/mobile/studio/advanced/carousel.less +4 -2
  110. package/src/styles/mobile/studio/advanced/login.less +1 -4
  111. package/src/styles/mobile/studio/advanced/webview.less +1 -4
  112. package/src/styles/mobile/studio/basic/label.less +0 -8
  113. package/src/styles/mobile/studio/basic/message.less +1 -2
  114. package/src/styles/mobile/studio/container/accordion.less +1 -4
  115. package/src/styles/mobile/studio/container/container.less +2 -8
  116. package/src/styles/mobile/studio/container/tabs.less +10 -2
  117. package/src/styles/mobile/studio/data/card.less +1 -1
  118. package/src/styles/mobile/studio/device/barcode.less +2 -8
  119. package/src/styles/mobile/studio/input/calendar.less +66 -6
  120. package/src/styles/mobile/studio/input/checkboxset.less +21 -6
  121. package/src/styles/mobile/studio/input/currency.less +9 -1
  122. package/src/styles/mobile/studio/input/form.less +10 -40
  123. package/src/styles/mobile/studio/input/rating.less +1 -1
  124. package/src/styles/mobile/studio/input/select.less +33 -0
  125. package/src/styles/mobile/studio/input/toggle.less +3 -2
  126. package/src/styles/mobile/studio/layouts/tabbar.less +4 -5
  127. package/src/styles/mobile/studio/navigation/nav.less +0 -17
  128. package/src/styles/mobile/studio/navigation/popover.less +2 -5
  129. package/src/token-validation/component-token-schema.d.ts +169 -0
  130. package/src/token-validation/component-token-schema.js +146 -0
  131. package/src/token-validation/component-token-schema.js.map +1 -0
  132. package/src/token-validation/constants.d.ts +41 -0
  133. package/src/token-validation/constants.js +54 -0
  134. package/src/token-validation/constants.js.map +1 -0
  135. package/src/token-validation/global-token-schema.d.ts +37 -0
  136. package/src/token-validation/global-token-schema.js +41 -0
  137. package/src/token-validation/global-token-schema.js.map +1 -0
  138. package/src/token-validation/validate-token.d.ts +72 -0
  139. package/src/token-validation/validate-token.js +939 -0
  140. package/src/token-validation/validate-token.js.map +1 -0
  141. package/src/token-validation/validate-value.d.ts +13 -0
  142. package/src/token-validation/validate-value.js +57 -0
  143. package/src/token-validation/validate-value.js.map +1 -0
  144. package/src/token-validation/validator-utils/common/constants.d.ts +172 -0
  145. package/src/token-validation/validator-utils/common/constants.js +258 -0
  146. package/src/token-validation/validator-utils/common/constants.js.map +1 -0
  147. package/src/token-validation/validator-utils/common/primitives.d.ts +14 -0
  148. package/src/token-validation/validator-utils/common/primitives.js +35 -0
  149. package/src/token-validation/validator-utils/common/primitives.js.map +1 -0
  150. package/src/token-validation/validator-utils/common/utils.d.ts +152 -0
  151. package/src/token-validation/validator-utils/common/utils.js +316 -0
  152. package/src/token-validation/validator-utils/common/utils.js.map +1 -0
  153. package/src/token-validation/validator-utils/native_mobile.d.ts +1 -0
  154. package/src/token-validation/validator-utils/native_mobile.js +120 -0
  155. package/src/token-validation/validator-utils/native_mobile.js.map +1 -0
  156. package/src/token-validation/validator-utils/web.d.ts +1 -0
  157. package/src/token-validation/validator-utils/web.js +72 -0
  158. package/src/token-validation/validator-utils/web.js.map +1 -0
  159. package/src/tokens/mobile/components/accordion/accordion.json +172 -4
  160. package/src/tokens/mobile/components/accordion-pane/accordion-pane.json +65 -0
  161. package/src/tokens/mobile/components/anchor/anchor.json +5 -15
  162. package/src/tokens/mobile/components/barcodescanner/barcodescanner.json +10 -38
  163. package/src/tokens/mobile/components/bottomsheet/bottomsheet.json +28 -92
  164. package/src/tokens/mobile/components/button/button.json +24 -121
  165. package/src/tokens/mobile/components/calendar/calendar.json +262 -158
  166. package/src/tokens/mobile/components/camera/camera.json +5 -31
  167. package/src/tokens/mobile/components/cards/cards.json +1 -27
  168. package/src/tokens/mobile/components/carousel/carousel.json +25 -69
  169. package/src/tokens/mobile/components/checkboxset/checkboxset.json +6 -16
  170. package/src/tokens/mobile/components/chips/chips.json +8 -80
  171. package/src/tokens/mobile/components/container/container.json +22 -158
  172. package/src/tokens/mobile/components/currency/currency.json +89 -5
  173. package/src/tokens/mobile/components/dropdown-menu/dropdown-menu.json +15 -87
  174. package/src/tokens/mobile/components/form-controls/form-controls.json +140 -142
  175. package/src/tokens/mobile/components/form-wrapper/form-wrapper.json +0 -8
  176. package/src/tokens/mobile/components/label/label.json +0 -34
  177. package/src/tokens/mobile/components/list/list.json +5 -31
  178. package/src/tokens/mobile/components/login/login.json +5 -31
  179. package/src/tokens/mobile/components/lottie/lottie.json +23 -29
  180. package/src/tokens/mobile/components/message/message.json +37 -61
  181. package/src/tokens/mobile/components/modal-dialog/modal-dialog.json +54 -8
  182. package/src/tokens/mobile/components/nav/nav.json +1 -48
  183. package/src/tokens/mobile/components/navbar/navbar.json +61 -95
  184. package/src/tokens/mobile/components/navitem/navitem.json +4 -4
  185. package/src/tokens/mobile/components/{left-nav/left-nav.json → page-left-nav/page-left-nav.json} +1 -9
  186. package/src/tokens/mobile/components/panel/panel.json +0 -10
  187. package/src/tokens/mobile/components/partial-container/partial-container.json +23 -0
  188. package/src/tokens/mobile/components/picture/picture.json +9 -63
  189. package/src/tokens/mobile/components/popover/popover.json +105 -97
  190. package/src/tokens/mobile/components/progress-bar/progress-bar.json +0 -8
  191. package/src/tokens/mobile/components/radioset/radioset.json +5 -15
  192. package/src/tokens/mobile/components/rating/rating.json +5 -7
  193. package/src/tokens/mobile/components/search/search.json +25 -155
  194. package/src/tokens/mobile/components/select/select.json +223 -165
  195. package/src/tokens/mobile/components/spinner/spinner.json +5 -7
  196. package/src/tokens/mobile/components/switch/switch.json +5 -15
  197. package/src/tokens/mobile/components/tabbar/tabbar.json +48 -54
  198. package/src/tokens/mobile/components/tabs/tabs.json +113 -5
  199. package/src/tokens/mobile/components/tile/tile.json +5 -31
  200. package/src/tokens/mobile/components/webview/webview.json +5 -31
  201. package/src/tokens/mobile/components/wizard/wizard.json +8 -56
  202. package/cjs/src_tokens_mobile_components_left-nav_left-nav_json.foundation-css.cjs +0 -14
  203. package/src/styles/mobile/components/input/epoch/date.less +0 -44
  204. package/src/styles/mobile/components/input/epoch/datetime.less +0 -38
  205. package/src/styles/mobile/components/input/epoch/time.less +0 -38
  206. package/src/styles/mobile/components/input/number.less +0 -40
  207. package/src/styles/mobile/components/input/text.less +0 -69
  208. package/src/styles/mobile/components/input/textarea.less +0 -63
  209. package/src/styles/mobile/components/variables/select.variant.less +0 -3
@@ -11,37 +11,11 @@
11
11
  }
12
12
  },
13
13
  "padding": {
14
- "left": {
15
- "type": "space",
16
- "value": "{space.0.value}",
17
- "attributes": {
18
- "subtype": "space",
19
- "description": "Controls the left padding (horizontal spacing) inside dropdown menu containers. This creates breathing room on the left side of the dropdown menu content. Acceptable units: px.<br>CSS variable: --wm-dropdown-menu-padding-left"
20
- }
21
- },
22
- "right": {
23
- "type": "space",
24
- "value": "{space.0.value}",
25
- "attributes": {
26
- "subtype": "space",
27
- "description": "Controls the right padding (horizontal spacing) inside dropdown menu containers. This creates breathing room on the right side of the dropdown menu content. Acceptable units: px.<br>CSS variable: --wm-dropdown-menu-padding-right"
28
- }
29
- },
30
- "top": {
31
- "type": "space",
32
- "value": "{space.2.value}",
33
- "attributes": {
34
- "subtype": "space",
35
- "description": "Controls the top padding (vertical spacing) inside dropdown menu containers. This creates breathing room above the dropdown menu content. Acceptable units: px.<br>CSS variable: --wm-dropdown-menu-padding-top"
36
- }
37
- },
38
- "bottom": {
39
- "type": "space",
40
- "value": "{space.2.value}",
41
- "attributes": {
42
- "subtype": "space",
43
- "description": "Controls the bottom padding (vertical spacing) inside dropdown menu containers. This creates breathing room below the dropdown menu content. Acceptable units: px.<br>CSS variable: --wm-dropdown-menu-padding-bottom"
44
- }
14
+ "type": "space",
15
+ "value": "{space.2.value} {space.0.value}",
16
+ "attributes": {
17
+ "subtype": "space",
18
+ "description": "Controls the padding inside dropdown menu containers (top/bottom, left/right). Acceptable units: px.<br>CSS variable: --wm-dropdown-menu-padding"
45
19
  }
46
20
  },
47
21
  "color": {
@@ -70,21 +44,11 @@
70
44
  }
71
45
  },
72
46
  "padding": {
73
- "left": {
74
- "type": "space",
75
- "value": "{space.2.value}",
76
- "attributes": {
77
- "subtype": "space",
78
- "description": "Controls the left padding (horizontal spacing) of dropdown menu trigger text. This creates spacing on the left side of the trigger text. Acceptable units: px.<br>CSS variable: --wm-dropdown-menu-text-padding-left"
79
- }
80
- },
81
- "right": {
82
- "type": "space",
83
- "value": "{space.3.value}",
84
- "attributes": {
85
- "subtype": "space",
86
- "description": "Controls the right padding (horizontal spacing) of dropdown menu trigger text. This creates spacing on the right side of the trigger text. Acceptable units: px.<br>CSS variable: --wm-dropdown-menu-text-padding-right"
87
- }
47
+ "type": "space",
48
+ "value": "{space.0.value} {space.3.value} {space.0.value} {space.2.value}",
49
+ "attributes": {
50
+ "subtype": "space",
51
+ "description": "Controls the padding of dropdown menu trigger text (top, right, bottom, left). Acceptable units: px.<br>CSS variable: --wm-dropdown-menu-text-padding"
88
52
  }
89
53
  }
90
54
  },
@@ -134,16 +98,6 @@
134
98
  }
135
99
  }
136
100
  },
137
- "icon": {
138
- "size": {
139
- "value": "{icon.size.md.value}",
140
- "type": "space",
141
- "attributes": {
142
- "subtype": "icon-size",
143
- "description": "Controls how large dropdown menu icons appear (icons that appear alongside menu items). This affects the size of the icons that users see in the dropdown menu.<br>CSS variable: --wm-dropdown-menu-icon-size"
144
- }
145
- }
146
- },
147
101
  "item": {
148
102
  "font-family": {
149
103
  "value": "{body.large.font-family.value}",
@@ -196,37 +150,11 @@
196
150
  }
197
151
  },
198
152
  "padding": {
199
- "bottom": {
200
- "value": "{space.3.value}",
201
- "type": "space",
202
- "attributes": {
203
- "subtype": "space",
204
- "description": "Controls the bottom padding (vertical spacing) inside dropdown menu items. This creates breathing room below each menu option. Acceptable units: px.<br>CSS variable: --wm-dropdown-menu-item-padding-bottom"
205
- }
206
- },
207
- "left": {
208
- "value": "{space.4.value}",
209
- "type": "space",
210
- "attributes": {
211
- "subtype": "space",
212
- "description": "Controls the left padding (horizontal spacing) inside dropdown menu items. This creates breathing room on the left side of each menu option. Acceptable units: px.<br>CSS variable: --wm-dropdown-menu-item-padding-left"
213
- }
214
- },
215
- "right": {
216
- "value": "{space.4.value}",
217
- "type": "space",
218
- "attributes": {
219
- "subtype": "space",
220
- "description": "Controls the right padding (horizontal spacing) inside dropdown menu items. This creates breathing room on the right side of each menu option. Acceptable units: px.<br>CSS variable: --wm-dropdown-menu-item-padding-right"
221
- }
222
- },
223
- "top": {
224
- "value": "{space.3.value}",
225
- "type": "space",
226
- "attributes": {
227
- "subtype": "space",
228
- "description": "Controls the top padding (vertical spacing) inside dropdown menu items. This creates breathing room above each menu option. Acceptable units: px.<br>CSS variable: --wm-dropdown-menu-item-padding-top"
229
- }
153
+ "value": "{space.3.value} {space.4.value}",
154
+ "type": "space",
155
+ "attributes": {
156
+ "subtype": "space",
157
+ "description": "Controls the padding inside dropdown menu items (top/bottom, left/right). Acceptable units: px.<br>CSS variable: --wm-dropdown-menu-item-padding"
230
158
  }
231
159
  }
232
160
  },
@@ -72,37 +72,11 @@
72
72
  }
73
73
  },
74
74
  "padding": {
75
- "top": {
76
- "value": "{space.2.value}",
77
- "type": "space",
78
- "attributes": {
79
- "subtype": "space",
80
- "description": "Controls the internal top spacing inside form controls (the space between the form field content and its top borders). This creates breathing room around the text that users type in the form fields.<br>CSS variable: --wm-form-controls-padding-top"
81
- }
82
- },
83
- "left": {
84
- "value": "{space.2.value}",
85
- "type": "space",
86
- "attributes": {
87
- "subtype": "space",
88
- "description": "Controls the internal left spacing inside form controls (the space between the form field content and its left borders). This creates breathing room around the text that users type in the form fields.<br>CSS variable: --wm-form-controls-padding-left"
89
- }
90
- },
91
- "right": {
92
- "value": "{space.2.value}",
93
- "type": "space",
94
- "attributes": {
95
- "subtype": "space",
96
- "description": "Controls the internal right spacing inside form controls (the space between the form field content and its right borders). This creates breathing room around the text that users type in the form fields.<br>CSS variable: --wm-form-controls-padding-right"
97
- }
98
- },
99
- "bottom": {
100
- "value": "{space.2.value}",
101
- "type": "space",
102
- "attributes": {
103
- "subtype": "space",
104
- "description": "Controls the internal bottom spacing inside form controls (the space between the form field content and its bottom borders). This creates breathing room around the text that users type in the form fields.<br>CSS variable: --wm-form-controls-padding-bottom"
105
- }
75
+ "value": "{space.2.value}",
76
+ "type": "space",
77
+ "attributes": {
78
+ "subtype": "space",
79
+ "description": "Controls the internal spacing inside form controls (the space between the form field content and its borders). This creates breathing room around the text that users type in the form fields.<br>CSS variable: --wm-form-controls-padding"
106
80
  }
107
81
  },
108
82
  "border": {
@@ -130,44 +104,12 @@
130
104
  "description": "Sets the visual style of borders around form controls (input fields, text areas, select boxes, and other form elements). 'solid' creates a continuous line, 'dashed' creates a broken line, 'dotted' creates a dotted line, 'none' removes borders completely.<br>CSS variable: --wm-form-controls-border-style"
131
105
  }
132
106
  },
133
- "top": {
134
- "width": {
135
- "value": "{border.width.1.value}",
136
- "type": "space",
137
- "attributes": {
138
- "subtype": "border-width",
139
- "description": "Controls the thickness of top border around form controls (input fields, text areas, select boxes, and other form elements). This determines how thick the top border lines appear around the form fields.<br>CSS variable: --wm-form-controls-border-top-width"
140
- }
141
- }
142
- },
143
- "left": {
144
- "width": {
145
- "value": "{border.width.1.value}",
146
- "type": "space",
147
- "attributes": {
148
- "subtype": "border-width",
149
- "description": "Controls the thickness of left border around form controls (input fields, text areas, select boxes, and other form elements). This determines how thick the left border lines appear around the form fields.<br>CSS variable: --wm-form-controls-border-left-width"
150
- }
151
- }
152
- },
153
- "right": {
154
- "width": {
155
- "value": "{border.width.1.value}",
156
- "type": "space",
157
- "attributes": {
158
- "subtype": "border-width",
159
- "description": "Controls the thickness of right border around form controls (input fields, text areas, select boxes, and other form elements). This determines how thick the right border lines appear around the form fields.<br>CSS variable: --wm-form-controls-border-right-width"
160
- }
161
- }
162
- },
163
- "bottom": {
164
- "width": {
165
- "value": "{border.width.1.value}",
166
- "type": "space",
167
- "attributes": {
168
- "subtype": "border-width",
169
- "description": "Controls the thickness of bottom border around form controls (input fields, text areas, select boxes, and other form elements). This determines how thick the bottom border lines appear around the form fields.<br>CSS variable: --wm-form-controls-border-bottom-width"
170
- }
107
+ "width": {
108
+ "value": "{border.width.1.value}",
109
+ "type": "space",
110
+ "attributes": {
111
+ "subtype": "border-width",
112
+ "description": "Controls the thickness of borders around form controls (input fields, text areas, select boxes, and other form elements). This determines how thick the border lines appear around the form fields.<br>CSS variable: --wm-form-controls-border-width"
171
113
  }
172
114
  }
173
115
  },
@@ -255,6 +197,66 @@
255
197
  }
256
198
  }
257
199
  },
200
+ "floating": {
201
+ "color": {
202
+ "value": "{color.surface.dim.@.value}",
203
+ "type": "color",
204
+ "attributes": {
205
+ "subtype": "color",
206
+ "description": "Sets the text color of form control labels (the text labels that appear next to or above input fields to describe what information should be entered). This determines what color the label text appears in.<br>CSS variable: --wm-form-controls-label-color"
207
+ }
208
+ },
209
+ "font": {
210
+ "size": {
211
+ "value": "{body.medium.font-size.value}",
212
+ "type": "font",
213
+ "attributes": {
214
+ "subtype": "font-size",
215
+ "description": "Controls how large form control labels appear (the text labels that appear next to or above input fields). This affects the size of the label text that users see.<br>CSS variable: --wm-form-controls-label-font-size"
216
+ }
217
+ },
218
+ "weight": {
219
+ "value": "{body.medium.font-weight.value}",
220
+ "type": "font",
221
+ "attributes": {
222
+ "subtype": "font-weight",
223
+ "description": "Controls how thick or bold form control labels appear (the text labels that appear next to or above input fields). 'normal' makes it regular weight, 'bold' makes it thicker, and numbers (100-900) provide fine control over thickness.<br>CSS variable: --wm-form-controls-label-font-weight"
224
+ }
225
+ },
226
+ "family": {
227
+ "value": "{body.medium.font-family.value}",
228
+ "type": "font",
229
+ "attributes": {
230
+ "subtype": "font-family",
231
+ "description": "Sets the typeface (font style) for form control labels (the text labels that appear next to or above input fields). This determines whether the label text appears in Arial, Times New Roman, or other font styles.<br>CSS variable: --wm-form-controls-label-font-family"
232
+ }
233
+ }
234
+ },
235
+ "top": {
236
+ "value": "{space.3.value}",
237
+ "type": "space",
238
+ "attributes": {
239
+ "subtype": "space",
240
+ "description": "Controls the top padding (vertical spacing) inside label badges (colored label containers). This creates breathing room above the label content. Acceptable units: px.<br>CSS variable: --wm-label-padding-top"
241
+ }
242
+ },
243
+ "left": {
244
+ "value": "{space.4.value}",
245
+ "type": "space",
246
+ "attributes": {
247
+ "subtype": "space",
248
+ "description": "Controls the left padding (horizontal spacing) inside label badges (colored label containers). This creates breathing room on the left side of the label content. Acceptable units: px.<br>CSS variable: --wm-label-padding-left"
249
+ }
250
+ },
251
+ "padding": {
252
+ "value": "{space.0.value}",
253
+ "type": "space",
254
+ "attributes": {
255
+ "subtype": "space",
256
+ "description": "Controls the internal spacing inside form controls (the space between the form field content and its borders). This creates breathing room around the text that users type in the form fields.<br>CSS variable: --wm-form-controls-padding"
257
+ }
258
+ }
259
+ },
258
260
  "states": {
259
261
  "focused": {
260
262
  "border": {
@@ -266,44 +268,12 @@
266
268
  "description": "Sets the color of borders around form controls when they are in the focused state (when the user clicks or tabs into the form field). This determines what color the border appears in when the field is active and ready for input.<br>CSS variable: --wm-form-controls-border-color (focused state)"
267
269
  }
268
270
  },
269
- "top": {
270
- "width": {
271
- "value": "{border.width.1.value}",
272
- "type": "space",
273
- "attributes": {
274
- "subtype": "border-width",
275
- "description": "Controls the thickness of top border around form controls when they are in the focused state (input fields, text areas, select boxes, and other form elements). This determines how thick the top border lines appear around the form fields.<br>CSS variable: --wm-form-controls-border-top-width (focused state)"
276
- }
277
- }
278
- },
279
- "left": {
280
- "width": {
281
- "value": "{border.width.1.value}",
282
- "type": "space",
283
- "attributes": {
284
- "subtype": "border-width",
285
- "description": "Controls the thickness of left border around form controls when they are in the focused state (input fields, text areas, select boxes, and other form elements). This determines how thick the left border lines appear around the form fields.<br>CSS variable: --wm-form-controls-border-left-width (focused state)"
286
- }
287
- }
288
- },
289
- "right": {
290
- "width": {
291
- "value": "{border.width.1.value}",
292
- "type": "space",
293
- "attributes": {
294
- "subtype": "border-width",
295
- "description": "Controls the thickness of right border around form controls when they are in the focused state (input fields, text areas, select boxes, and other form elements). This determines how thick the right border lines appear around the form fields.<br>CSS variable: --wm-form-controls-border-right-width (focused state)"
296
- }
297
- }
298
- },
299
- "bottom": {
300
- "width": {
301
- "value": "{border.width.1.value}",
302
- "type": "space",
303
- "attributes": {
304
- "subtype": "border-width",
305
- "description": "Controls the thickness of bottom border around form controls when they are in the focused state (input fields, text areas, select boxes, and other form elements). This determines how thick the bottom border lines appear around the form fields.<br>CSS variable: --wm-form-controls-border-bottom-width (focused state)"
306
- }
271
+ "width": {
272
+ "value": "{border.width.1.value}",
273
+ "type": "space",
274
+ "attributes": {
275
+ "subtype": "border-width",
276
+ "description": "Controls the thickness of borders around form controls when they are in the focused state (input fields, text areas, select boxes, and other form elements). This determines how thick the border lines appear around the form fields.<br>CSS variable: --wm-form-controls-border-width (focused state)"
307
277
  }
308
278
  }
309
279
  },
@@ -322,56 +292,84 @@
322
292
  "subtype": "color",
323
293
  "description": "Sets the text color of form controls when they are in the focused state (when the user clicks or tabs into the form field). This determines what color the text that users type appears in when the field is active.<br>CSS variable: --wm-form-controls-color (focused state)"
324
294
  }
325
- }
326
- },
327
- "disabled": {
328
- "border": {
295
+ },
296
+ "floating": {
329
297
  "color": {
330
- "value": "{color.shadow.@.value}",
298
+ "value": "{color.surface.dim.@.value}",
331
299
  "type": "color",
332
300
  "attributes": {
333
301
  "subtype": "color",
334
- "description": "Sets the color of borders around form controls when they are in the disabled state (when the form field is not interactive and users cannot enter data). This determines what color the border appears in when the field is disabled.<br>CSS variable: --wm-form-controls-border-color (disabled state)"
302
+ "description": "Sets the text color of form control labels (the text labels that appear next to or above input fields to describe what information should be entered). This determines what color the label text appears in.<br>CSS variable: --wm-form-controls-label-color"
335
303
  }
336
304
  },
337
- "top": {
338
- "width": {
339
- "value": "{border.width.1.value}",
340
- "type": "space",
305
+ "font": {
306
+ "size": {
307
+ "value": "{body.medium.font-size.value}",
308
+ "type": "font",
309
+ "attributes": {
310
+ "subtype": "font-size",
311
+ "description": "Controls how large form control labels appear (the text labels that appear next to or above input fields). This affects the size of the label text that users see.<br>CSS variable: --wm-form-controls-label-font-size"
312
+ }
313
+ },
314
+ "weight": {
315
+ "value": "{body.medium.font-weight.value}",
316
+ "type": "font",
341
317
  "attributes": {
342
- "subtype": "border-width",
343
- "description": "Controls the thickness of top border around form controls when they are in the disabled state (input fields, text areas, select boxes, and other form elements). This determines how thick the top border lines appear around the form fields.<br>CSS variable: --wm-form-controls-border-top-width (disabled state)"
318
+ "subtype": "font-weight",
319
+ "description": "Controls how thick or bold form control labels appear (the text labels that appear next to or above input fields). 'normal' makes it regular weight, 'bold' makes it thicker, and numbers (100-900) provide fine control over thickness.<br>CSS variable: --wm-form-controls-label-font-weight"
320
+ }
321
+ },
322
+ "family": {
323
+ "value": "{body.medium.font-family.value}",
324
+ "type": "font",
325
+ "attributes": {
326
+ "subtype": "font-family",
327
+ "description": "Sets the typeface (font style) for form control labels (the text labels that appear next to or above input fields). This determines whether the label text appears in Arial, Times New Roman, or other font styles.<br>CSS variable: --wm-form-controls-label-font-family"
344
328
  }
345
329
  }
346
330
  },
331
+ "top": {
332
+ "value": "{space.3.value}",
333
+ "type": "space",
334
+ "attributes": {
335
+ "subtype": "space",
336
+ "description": "Controls the top padding (vertical spacing) inside label badges (colored label containers). This creates breathing room above the label content. Acceptable units: px.<br>CSS variable: --wm-label-padding-top"
337
+ }
338
+ },
347
339
  "left": {
348
- "width": {
349
- "value": "{border.width.1.value}",
350
- "type": "space",
351
- "attributes": {
352
- "subtype": "border-width",
353
- "description": "Controls the thickness of left border around form controls when they are in the disabled state (input fields, text areas, select boxes, and other form elements). This determines how thick the left border lines appear around the form fields.<br>CSS variable: --wm-form-controls-border-left-width (disabled state)"
354
- }
340
+ "value": "{space.4.value}",
341
+ "type": "space",
342
+ "attributes": {
343
+ "subtype": "space",
344
+ "description": "Controls the left padding (horizontal spacing) inside label badges (colored label containers). This creates breathing room on the left side of the label content. Acceptable units: px.<br>CSS variable: --wm-label-padding-left"
355
345
  }
356
346
  },
357
- "right": {
358
- "width": {
359
- "value": "{border.width.1.value}",
360
- "type": "space",
361
- "attributes": {
362
- "subtype": "border-width",
363
- "description": "Controls the thickness of right border around form controls when they are in the disabled state (input fields, text areas, select boxes, and other form elements). This determines how thick the right border lines appear around the form fields.<br>CSS variable: --wm-form-controls-border-right-width (disabled state)"
364
- }
347
+ "padding": {
348
+ "value": "{space.0.value}",
349
+ "type": "space",
350
+ "attributes": {
351
+ "subtype": "space",
352
+ "description": "Controls the internal spacing inside form controls (the space between the form field content and its borders). This creates breathing room around the text that users type in the form fields.<br>CSS variable: --wm-form-controls-padding"
353
+ }
354
+ }
355
+ }
356
+ },
357
+ "disabled": {
358
+ "border": {
359
+ "color": {
360
+ "value": "{color.shadow.@.value}",
361
+ "type": "color",
362
+ "attributes": {
363
+ "subtype": "color",
364
+ "description": "Sets the color of borders around form controls when they are in the disabled state (when the form field is not interactive and users cannot enter data). This determines what color the border appears in when the field is disabled.<br>CSS variable: --wm-form-controls-border-color (disabled state)"
365
365
  }
366
366
  },
367
- "bottom": {
368
- "width": {
369
- "value": "{border.width.1.value}",
370
- "type": "space",
371
- "attributes": {
372
- "subtype": "border-width",
373
- "description": "Controls the thickness of bottom border around form controls when they are in the disabled state (input fields, text areas, select boxes, and other form elements). This determines how thick the bottom border lines appear around the form fields.<br>CSS variable: --wm-form-controls-border-bottom-width (disabled state)"
374
- }
367
+ "width": {
368
+ "value": "{border.width.1.value}",
369
+ "type": "space",
370
+ "attributes": {
371
+ "subtype": "border-width",
372
+ "description": "Controls the thickness of borders around form controls when they are in the disabled state (input fields, text areas, select boxes, and other form elements). This determines how thick the border lines appear around the form fields.<br>CSS variable: --wm-form-controls-border-width (disabled state)"
375
373
  }
376
374
  }
377
375
  },
@@ -25,14 +25,6 @@
25
25
  "description": "Controls the internal spacing inside form wrapper components (the space between the form wrapper content and its borders). This creates breathing room around the entire form wrapper container.<br>CSS variable: --wm-form-padding"
26
26
  }
27
27
  },
28
- "margin": {
29
- "value": "{space.2.value}",
30
- "type": "space",
31
- "attributes": {
32
- "subtype": "space",
33
- "description": "Controls the external spacing around form wrapper components (the space outside the form wrapper borders). This creates visual separation between the form wrapper and other elements on the page.<br>CSS variable: --wm-form-margin"
34
- }
35
- },
36
28
  "border": {
37
29
  "radius": {
38
30
  "value": "{radius.sm.value}",
@@ -177,40 +177,6 @@
177
177
  "description": "Controls the horizontal spacing between individual letters in label text. Positive values spread letters apart, negative values bring them closer together.<br>CSS variable: --wm-label-letter-spacing"
178
178
  }
179
179
  },
180
- "margin": {
181
- "left": {
182
- "value": "{space.0.value}",
183
- "type": "space",
184
- "attributes": {
185
- "subtype": "space",
186
- "description": "Controls the left margin (horizontal spacing) inside label badges (colored label containers). This creates breathing room on the left side of the label content. Acceptable units: px.<br>CSS variable: --wm-label-margin-left"
187
- }
188
- },
189
- "right": {
190
- "value": "{space.0.value}",
191
- "type": "space",
192
- "attributes": {
193
- "subtype": "space",
194
- "description": "Controls the right margin (horizontal spacing) inside label badges (colored label containers). This creates breathing room on the right side of the label content. Acceptable units: px.<br>CSS variable: --wm-label-margin-right"
195
- }
196
- },
197
- "top": {
198
- "value": "{space.0.value}",
199
- "type": "space",
200
- "attributes": {
201
- "subtype": "space",
202
- "description": "Controls the top margin (vertical spacing) inside label badges (colored label containers). This creates breathing room above the label content. Acceptable units: px.<br>CSS variable: --wm-label-margin-top"
203
- }
204
- },
205
- "bottom": {
206
- "value": "{space.0.value}",
207
- "type": "space",
208
- "attributes": {
209
- "subtype": "space",
210
- "description": "Controls the bottom margin (vertical spacing) inside label badges (colored label containers). This creates breathing room below the label content. Acceptable units: px.<br>CSS variable: --wm-label-margin-bottom"
211
- }
212
- }
213
- },
214
180
  "asterisk": {
215
181
  "color": {
216
182
  "value": "{color.error.@.value}",
@@ -19,37 +19,11 @@
19
19
  }
20
20
  },
21
21
  "padding": {
22
- "top": {
23
- "value": "{space.0.value}",
24
- "type": "space",
25
- "attributes": {
26
- "subtype": "space",
27
- "description": "Controls the top padding (vertical spacing) inside list. This creates breathing room above the list container. Acceptable units: px.<br>CSS variable: --wm-list-padding-top"
28
- }
29
- },
30
- "bottom": {
31
- "value": "{space.0.value}",
32
- "type": "space",
33
- "attributes": {
34
- "subtype": "space",
35
- "description": "Controls the bottom padding (vertical spacing) inside list. This creates breathing room below the list container. Acceptable units: px.<br>CSS variable: --wm-list-padding-bottom"
36
- }
37
- },
38
- "left": {
39
- "value": "{space.0.value}",
40
- "type": "space",
41
- "attributes": {
42
- "subtype": "space",
43
- "description": "Controls the left padding (horizontal spacing) inside list. This creates breathing room on the left side of the list container. Acceptable units: px.<br>CSS variable: --wm-list-padding-left"
44
- }
45
- },
46
- "right": {
47
- "value": "{space.0.value}",
48
- "type": "space",
49
- "attributes": {
50
- "subtype": "space",
51
- "description": "Controls the right padding (horizontal spacing) inside list. This creates breathing room on the right side of the list container. Acceptable units: px.<br>CSS variable: --wm-list-padding-right"
52
- }
22
+ "value": "{space.0.value}",
23
+ "type": "space",
24
+ "attributes": {
25
+ "subtype": "space",
26
+ "description": "Controls the padding (all sides) inside the list container. This creates breathing room around the list content. Acceptable units: px.<br>CSS variable: --wm-list-padding"
53
27
  }
54
28
  },
55
29
  "border": {
@@ -50,37 +50,11 @@
50
50
  },
51
51
  "form": {
52
52
  "padding": {
53
- "top": {
54
- "value": "{space.9.value}",
55
- "type": "space",
56
- "attributes": {
57
- "subtype": "space",
58
- "description": "Controls the top padding (vertical spacing) inside the login form container. This creates breathing room above the form content. Acceptable units: px.<br>CSS variable: --wm-login-form-padding-top"
59
- }
60
- },
61
- "bottom": {
62
- "value": "{space.9.value}",
63
- "type": "space",
64
- "attributes": {
65
- "subtype": "space",
66
- "description": "Controls the bottom padding (vertical spacing) inside the login form container. This creates breathing room below the form content. Acceptable units: px.<br>CSS variable: --wm-login-form-padding-bottom"
67
- }
68
- },
69
- "left": {
70
- "value": "{space.9.value}",
71
- "type": "space",
72
- "attributes": {
73
- "subtype": "space",
74
- "description": "Controls the left padding (horizontal spacing) inside the login form container. This creates breathing room on the left side of the form content. Acceptable units: px.<br>CSS variable: --wm-login-form-padding-left"
75
- }
76
- },
77
- "right": {
78
- "value": "{space.9.value}",
79
- "type": "space",
80
- "attributes": {
81
- "subtype": "space",
82
- "description": "Controls the right padding (horizontal spacing) inside the login form container. This creates breathing room on the right side of the form content. Acceptable units: px.<br>CSS variable: --wm-login-form-padding-right"
83
- }
53
+ "value": "{space.9.value}",
54
+ "type": "space",
55
+ "attributes": {
56
+ "subtype": "space",
57
+ "description": "Controls the padding (all sides) inside the login form container. This creates breathing room around the form content. Acceptable units: px.<br>CSS variable: --wm-login-form-padding"
84
58
  }
85
59
  }
86
60
  }