@wavemaker/foundation-css 11.15.1-rc.248 → 11.15.2-rc.249

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
@@ -35,13 +35,11 @@
35
35
  }
36
36
  },
37
37
  "padding": {
38
- "horizontal": {
39
- "value": "{space.4.value}",
40
- "type": "space",
41
- "attributes": {
42
- "subtype": "space",
43
- "description": "Controls the horizontal padding (left and right spacing) inside carousel slides. This creates breathing room on the sides of the slide content, preventing content from touching the edges. Acceptable units: px.<br>CSS variable: --wm-carousel-slide-padding-horizontal"
44
- }
38
+ "value": "{space.0.value} {space.4.value}",
39
+ "type": "space",
40
+ "attributes": {
41
+ "subtype": "space",
42
+ "description": "Controls the padding (top/bottom, left/right) inside carousel slides. This creates breathing room on the sides of the slide content, preventing content from touching the edges. Acceptable units: px.<br>CSS variable: --wm-carousel-slide-padding"
45
43
  }
46
44
  }
47
45
  },
@@ -134,21 +132,11 @@
134
132
  "dots": {
135
133
  "wrapper": {
136
134
  "padding": {
137
- "top": {
138
- "value": "{space.1.value}",
139
- "type": "space",
140
- "attributes": {
141
- "subtype": "space",
142
- "description": "Controls the top padding (vertical spacing) inside the carousel dots container (the wrapper that holds all the navigation dots). This creates breathing room above the dots. Acceptable units: px, em, rem.<br>CSS variable: --wm-carousel-dots-wrapper-padding-top"
143
- }
144
- },
145
- "bottom": {
146
- "value": "{space.1.value}",
147
- "type": "space",
148
- "attributes": {
149
- "subtype": "space",
150
- "description": "Controls the bottom padding (vertical spacing) inside the carousel dots container (the wrapper that holds all the navigation dots). This creates breathing room below the dots. Acceptable units: px, em, rem.<br>CSS variable: --wm-carousel-dots-wrapper-padding-bottom"
151
- }
135
+ "value": "{space.1.value} {space.0.value}",
136
+ "type": "space",
137
+ "attributes": {
138
+ "subtype": "space",
139
+ "description": "Controls the padding (top/bottom, left/right) inside the carousel dots container (the wrapper that holds all the navigation dots). This creates breathing room around the dots. Acceptable units: px.<br>CSS variable: --wm-carousel-dots-wrapper-padding"
152
140
  }
153
141
  },
154
142
  "background": {
@@ -221,21 +209,11 @@
221
209
  }
222
210
  },
223
211
  "margin": {
224
- "left": {
225
- "value": "{radius.xxs.value}",
226
- "type": "radius",
227
- "attributes": {
228
- "subtype": "space",
229
- "description": "Controls the horizontal spacing between individual carousel indicators (navigation dots). This creates visual separation between each dot so users can easily distinguish between them.<br>CSS variable: --wm-carousel-dots-margin-left"
230
- }
231
- },
232
- "right": {
233
- "value": "{radius.xxs.value}",
234
- "type": "radius",
235
- "attributes": {
236
- "subtype": "space",
237
- "description": "Controls the horizontal spacing between individual carousel indicators (navigation dots). This creates visual separation between each dot so users can easily distinguish between them.<br>CSS variable: --wm-carousel-dots-margin-right"
238
- }
212
+ "value": "{space.0.value} {radius.xxs.value}",
213
+ "type": "space",
214
+ "attributes": {
215
+ "subtype": "space",
216
+ "description": "Controls the margin (top/bottom, left/right) of carousel indicators (navigation dots). This creates visual separation between each dot. Acceptable units: px.<br>CSS variable: --wm-carousel-dots-margin"
239
217
  }
240
218
  },
241
219
  "opacity": {
@@ -247,16 +225,6 @@
247
225
  }
248
226
  }
249
227
  },
250
- "skeleton": {
251
- "width": {
252
- "value": "100%",
253
- "type": "space",
254
- "attributes": {
255
- "subtype": "space",
256
- "description": "Controls the width of the carousel skeleton loader (the placeholder animation that appears while carousel content is loading). When set to 100%, the skeleton takes up the full width of the carousel container. Acceptable units: %, px.<br>CSS variable: --wm-carousel-skeleton-width"
257
- }
258
- }
259
- },
260
228
  "states": {
261
229
  "active": {
262
230
  "dots": {
@@ -319,33 +287,21 @@
319
287
  }
320
288
  },
321
289
  "margin": {
322
- "left": {
323
- "value": "{radius.xxs.value}",
324
- "type": "radius",
325
- "attributes": {
326
- "subtype": "space",
327
- "description": "Controls the horizontal spacing between individual active carousel indicators (navigation dots). This creates visual separation between each dot so users can easily distinguish between them.<br>CSS variable: --wm-carousel-dots-margin-left"
328
- }
329
- },
330
- "right": {
331
- "value": "{radius.xxs.value}",
332
- "type": "radius",
333
- "attributes": {
334
- "subtype": "space",
335
- "description": "Controls the horizontal spacing between individual active carousel indicators (navigation dots). This creates visual separation between each dot so users can easily distinguish between them.<br>CSS variable: --wm-carousel-dots-margin-right"
336
- }
290
+ "value": "{space.0.value} {radius.xxs.value}",
291
+ "type": "space",
292
+ "attributes": {
293
+ "subtype": "space",
294
+ "description": "Controls the margin (top/bottom, left/right) of active carousel indicators (navigation dots). This creates visual separation between each dot. Acceptable units: px.<br>CSS variable: --wm-carousel-dots-margin"
337
295
  }
338
296
  }
339
297
  },
340
298
  "slide": {
341
299
  "padding": {
342
- "horizontal": {
343
- "value": "{space.4.value}",
344
- "type": "space",
345
- "attributes": {
346
- "subtype": "space",
347
- "description": "Controls the horizontal padding (left and right spacing) inside active carousel slides. This creates breathing room on the sides of the slide content, preventing content from touching the edges. Acceptable units: px.<br>CSS variable: --wm-carousel-slide-padding-horizontal"
348
- }
300
+ "value": "{space.0.value} {space.4.value}",
301
+ "type": "space",
302
+ "attributes": {
303
+ "subtype": "space",
304
+ "description": "Controls the padding (top/bottom, left/right) inside active carousel slides. This creates breathing room on the sides of the slide content. Acceptable units: px.<br>CSS variable: --wm-carousel-slide-padding"
349
305
  }
350
306
  }
351
307
  }
@@ -104,7 +104,7 @@
104
104
  },
105
105
  "border": {
106
106
  "width": {
107
- "value": "2",
107
+ "value": "2px",
108
108
  "type": "space",
109
109
  "attributes": {
110
110
  "subtype": "border-width",
@@ -166,21 +166,11 @@
166
166
  }
167
167
  },
168
168
  "padding": {
169
- "left": {
170
- "value": "{space.2.value}",
171
- "type": "space",
172
- "attributes": {
173
- "subtype": "space",
174
- "description": "Controls the left padding of the checkbox set title area (the header section that appears above the checkbox options). This creates spacing on the left side of the title text.<br>CSS variable: --wm-checkboxset-title-padding-left"
175
- }
176
- },
177
- "right": {
178
- "value": "{space.2.value}",
179
- "type": "space",
180
- "attributes": {
181
- "subtype": "space",
182
- "description": "Controls the right padding of the checkbox set title area (the header section that appears above the checkbox options). This creates spacing on the right side of the title text.<br>CSS variable: --wm-checkboxset-title-padding-right"
183
- }
169
+ "value": "{space.0.value} {space.2.value}",
170
+ "type": "space",
171
+ "attributes": {
172
+ "subtype": "space",
173
+ "description": "Controls the padding (top/bottom, left/right) of the checkbox set title area (the header section that appears above the checkbox options). Acceptable units: px.<br>CSS variable: --wm-checkboxset-title-padding"
184
174
  }
185
175
  }
186
176
  },
@@ -79,36 +79,12 @@
79
79
  "description": "Controls the horizontal spacing between individual chip items (the small pill-shaped elements) within the chips container. This creates visual separation between each chip so users can easily distinguish between them.<br>CSS variable: --wm-chips-list-gap"
80
80
  }
81
81
  },
82
- "padding-top": {
82
+ "padding": {
83
83
  "value": "{space.2.value}",
84
84
  "type": "space",
85
85
  "attributes": {
86
86
  "subtype": "space",
87
- "description": "Controls the internal spacing (padding) at the top of the chips container (the wrapper that holds all chips and the input field). This creates breathing room between the container border and the chips/input inside.<br>CSS variable: --wm-chips-list-padding-top"
88
- }
89
- },
90
- "padding-bottom": {
91
- "value": "{space.2.value}",
92
- "type": "space",
93
- "attributes": {
94
- "subtype": "space",
95
- "description": "Controls the internal spacing (padding) at the bottom of the chips container (the wrapper that holds all chips and the input field). This creates breathing room between the container border and the chips/input inside.<br>CSS variable: --wm-chips-list-padding-bottom"
96
- }
97
- },
98
- "padding-left": {
99
- "value": "{space.2.value}",
100
- "type": "space",
101
- "attributes": {
102
- "subtype": "space",
103
- "description": "Controls the internal spacing (padding) on the left side of the chips container (the wrapper that holds all chips and the input field). This creates breathing room between the container border and the chips/input inside.<br>CSS variable: --wm-chips-list-padding-left"
104
- }
105
- },
106
- "padding-right": {
107
- "value": "{space.2.value}",
108
- "type": "space",
109
- "attributes": {
110
- "subtype": "space",
111
- "description": "Controls the internal spacing (padding) on the right side of the chips container (the wrapper that holds all chips and the input field). This creates breathing room between the container border and the chips/input inside.<br>CSS variable: --wm-chips-list-padding-right"
87
+ "description": "Controls the padding (all sides) inside the chips container (the wrapper that holds all chips and the input field). This creates breathing room between the container border and the chips/input inside. Acceptable units: px.<br>CSS variable: --wm-chips-list-padding"
112
88
  }
113
89
  },
114
90
  "background-color": {
@@ -175,36 +151,12 @@
175
151
  }
176
152
  },
177
153
  "input": {
178
- "padding-top": {
179
- "value": "{space.2.value}",
180
- "type": "space",
181
- "attributes": {
182
- "subtype": "space",
183
- "description": "Controls the internal spacing (padding) at the top of the input field where users type to add new chips. This creates breathing room between the input text and the input field border.<br>CSS variable: --wm-chips-input-padding-top"
184
- }
185
- },
186
- "padding-bottom": {
187
- "value": "{space.2.value}",
188
- "type": "space",
189
- "attributes": {
190
- "subtype": "space",
191
- "description": "Controls the internal spacing (padding) at the bottom of the input field where users type to add new chips. This creates breathing room between the input text and the input field border.<br>CSS variable: --wm-chips-input-padding-bottom"
192
- }
193
- },
194
- "padding-left": {
195
- "value": "{space.3.value}",
196
- "type": "space",
197
- "attributes": {
198
- "subtype": "space",
199
- "description": "Controls the internal spacing (padding) on the left side of the input field where users type to add new chips. This creates breathing room between the input text and the input field border.<br>CSS variable: --wm-chips-input-padding-left"
200
- }
201
- },
202
- "padding-right": {
203
- "value": "{space.3.value}",
154
+ "padding": {
155
+ "value": "{space.2.value} {space.3.value}",
204
156
  "type": "space",
205
157
  "attributes": {
206
158
  "subtype": "space",
207
- "description": "Controls the internal spacing (padding) on the right side of the input field where users type to add new chips. This creates breathing room between the input text and the input field border.<br>CSS variable: --wm-chips-input-padding-right"
159
+ "description": "Controls the padding (top/bottom, left/right) inside the input field where users type to add new chips. This creates breathing room around the input text. Acceptable units: px.<br>CSS variable: --wm-chips-input-padding"
208
160
  }
209
161
  }
210
162
  },
@@ -217,36 +169,12 @@
217
169
  "description": "Controls the height of individual chip items (the small pill-shaped elements). This determines how tall each chip appears visually. Acceptable units: px.<br>CSS variable: --wm-chips-item-height"
218
170
  }
219
171
  },
220
- "padding-top": {
221
- "value": "{space.1.value}",
222
- "type": "space",
223
- "attributes": {
224
- "subtype": "space",
225
- "description": "Controls the internal spacing (padding) at the top of each chip item. This creates breathing room between the chip text/icon and the chip border.<br>CSS variable: --wm-chips-item-padding-top"
226
- }
227
- },
228
- "padding-bottom": {
229
- "value": "{space.1.value}",
230
- "type": "space",
231
- "attributes": {
232
- "subtype": "space",
233
- "description": "Controls the internal spacing (padding) at the bottom of each chip item. This creates breathing room between the chip text/icon and the chip border.<br>CSS variable: --wm-chips-item-padding-bottom"
234
- }
235
- },
236
- "padding-left": {
237
- "value": "{space.3.value}",
238
- "type": "space",
239
- "attributes": {
240
- "subtype": "space",
241
- "description": "Controls the internal spacing (padding) on the left side of each chip item. This creates breathing room between the chip text/icon and the chip border.<br>CSS variable: --wm-chips-item-padding-left"
242
- }
243
- },
244
- "padding-right": {
245
- "value": "{space.3.value}",
172
+ "padding": {
173
+ "value": "{space.1.value} {space.3.value}",
246
174
  "type": "space",
247
175
  "attributes": {
248
176
  "subtype": "space",
249
- "description": "Controls the internal spacing (padding) on the right side of each chip item. This creates breathing room between the chip text/icon and the chip border.<br>CSS variable: --wm-chips-item-padding-right"
177
+ "description": "Controls the padding (top/bottom, left/right) of each chip item. This creates breathing room between the chip text/icon and the chip border. Acceptable units: px.<br>CSS variable: --wm-chips-item-padding"
250
178
  }
251
179
  },
252
180
  "gap": {
@@ -36,37 +36,11 @@
36
36
  }
37
37
  },
38
38
  "width": {
39
- "top": {
40
- "value": "{border.width.0.value}",
41
- "type": "border",
42
- "attributes": {
43
- "subtype": "border-width",
44
- "description": "Controls the thickness of the top border around container elements. When set to 0, there's no visible border. Higher values create thicker borders around the container.<br>CSS variable: --wm-container-border-top-width"
45
- }
46
- },
47
- "bottom": {
48
- "value": "{border.width.0.value}",
49
- "type": "border",
50
- "attributes": {
51
- "subtype": "border-width",
52
- "description": "Controls the thickness of the bottom border around container elements. When set to 0, there's no visible border. Higher values create thicker borders around the container.<br>CSS variable: --wm-container-border-bottom-width"
53
- }
54
- },
55
- "left": {
56
- "value": "{border.width.0.value}",
57
- "type": "border",
58
- "attributes": {
59
- "subtype": "border-width",
60
- "description": "Controls the thickness of the left border around container elements. When set to 0, there's no visible border. Higher values create thicker borders around the container.<br>CSS variable: --wm-container-border-left-width"
61
- }
62
- },
63
- "right": {
64
- "value": "{border.width.0.value}",
65
- "type": "border",
66
- "attributes": {
67
- "subtype": "border-width",
68
- "description": "Controls the thickness of the right border around container elements. When set to 0, there's no visible border. Higher values create thicker borders around the container.<br>CSS variable: --wm-container-border-right-width"
69
- }
39
+ "value": "{border.width.0.value}",
40
+ "type": "border",
41
+ "attributes": {
42
+ "subtype": "border-width",
43
+ "description": "Controls the border width (all sides) around container elements. When set to 0, there's no visible border. Higher values create thicker borders around the container. Acceptable units: px.<br>CSS variable: --wm-container-border-width"
70
44
  }
71
45
  },
72
46
  "color": {
@@ -113,37 +87,11 @@
113
87
  }
114
88
  },
115
89
  "padding": {
116
- "top": {
117
- "value": "{space.0.value}",
118
- "type": "space",
119
- "attributes": {
120
- "subtype": "space",
121
- "description": "Controls the top padding (vertical spacing) inside container elements. This creates breathing room above the container content. Acceptable units: px.<br>CSS variable: --wm-container-padding-top"
122
- }
123
- },
124
- "bottom": {
125
- "value": "{space.0.value}",
126
- "type": "space",
127
- "attributes": {
128
- "subtype": "space",
129
- "description": "Controls the bottom padding (vertical spacing) inside container elements. This creates breathing room below the container content. Acceptable units: px.<br>CSS variable: --wm-container-padding-bottom"
130
- }
131
- },
132
- "left": {
133
- "value": "{space.0.value}",
134
- "type": "space",
135
- "attributes": {
136
- "subtype": "space",
137
- "description": "Controls the left padding (horizontal spacing) inside container elements. This creates breathing room on the left side of the container content. Acceptable units: px.<br>CSS variable: --wm-container-padding-left"
138
- }
139
- },
140
- "right": {
141
- "value": "{space.0.value}",
142
- "type": "space",
143
- "attributes": {
144
- "subtype": "space",
145
- "description": "Controls the right padding (horizontal spacing) inside container elements. This creates breathing room on the right side of the container content. Acceptable units: px.<br>CSS variable: --wm-container-padding-right"
146
- }
90
+ "value": "{space.0.value}",
91
+ "type": "space",
92
+ "attributes": {
93
+ "subtype": "space",
94
+ "description": "Controls the padding (all sides) inside container elements. This creates breathing room around the container content. Acceptable units: px.<br>CSS variable: --wm-container-padding"
147
95
  }
148
96
  }
149
97
  },
@@ -156,22 +104,8 @@
156
104
  "type": "border"
157
105
  },
158
106
  "width": {
159
- "top": {
160
- "value": "{border.width.0.value}",
161
- "type": "border"
162
- },
163
- "bottom": {
164
- "value": "{border.width.0.value}",
165
- "type": "border"
166
- },
167
- "left": {
168
- "value": "{border.width.0.value}",
169
- "type": "border"
170
- },
171
- "right": {
172
- "value": "{border.width.0.value}",
173
- "type": "border"
174
- }
107
+ "value": "{border.width.0.value}",
108
+ "type": "border"
175
109
  },
176
110
  "color": {
177
111
  "value": "transparent",
@@ -187,22 +121,8 @@
187
121
  "type": "radius"
188
122
  },
189
123
  "padding": {
190
- "top": {
191
- "value": "{space.0.value}",
192
- "type": "space"
193
- },
194
- "bottom": {
195
- "value": "{space.0.value}",
196
- "type": "space"
197
- },
198
- "left": {
199
- "value": "{space.0.value}",
200
- "type": "space"
201
- },
202
- "right": {
203
- "value": "{space.0.value}",
204
- "type": "space"
205
- }
124
+ "value": "{space.0.value}",
125
+ "type": "space"
206
126
  }
207
127
  }
208
128
  },
@@ -214,22 +134,8 @@
214
134
  "type": "border"
215
135
  },
216
136
  "width": {
217
- "top": {
218
- "value": "{border.width.base.value}",
219
- "type": "border"
220
- },
221
- "bottom": {
222
- "value": "{border.width.base.value}",
223
- "type": "border"
224
- },
225
- "left": {
226
- "value": "{border.width.base.value}",
227
- "type": "border"
228
- },
229
- "right": {
230
- "value": "{border.width.base.value}",
231
- "type": "border"
232
- }
137
+ "value": "{border.width.base.value}",
138
+ "type": "border"
233
139
  },
234
140
  "color": {
235
141
  "value": "{color.outline.variant.value}",
@@ -245,22 +151,8 @@
245
151
  "type": "radius"
246
152
  },
247
153
  "padding": {
248
- "top": {
249
- "value": "{space.0.value}",
250
- "type": "space"
251
- },
252
- "bottom": {
253
- "value": "{space.0.value}",
254
- "type": "space"
255
- },
256
- "left": {
257
- "value": "{space.0.value}",
258
- "type": "space"
259
- },
260
- "right": {
261
- "value": "{space.0.value}",
262
- "type": "space"
263
- }
154
+ "value": "{space.0.value}",
155
+ "type": "space"
264
156
  }
265
157
  }
266
158
  },
@@ -280,22 +172,8 @@
280
172
  "type": "color"
281
173
  },
282
174
  "width": {
283
- "top": {
284
- "value": "{border.width.base.value}",
285
- "type": "border"
286
- },
287
- "bottom": {
288
- "value": "{border.width.base.value}",
289
- "type": "border"
290
- },
291
- "left": {
292
- "value": "{border.width.base.value}",
293
- "type": "border"
294
- },
295
- "right": {
296
- "value": "{border.width.base.value}",
297
- "type": "border"
298
- }
175
+ "value": "{border.width.base.value}",
176
+ "type": "border"
299
177
  },
300
178
  "radius": {
301
179
  "value": "{radius.sm.value}",
@@ -303,22 +181,8 @@
303
181
  }
304
182
  },
305
183
  "padding": {
306
- "top": {
307
- "value": "{space.0.value}",
308
- "type": "space"
309
- },
310
- "bottom": {
311
- "value": "{space.0.value}",
312
- "type": "space"
313
- },
314
- "left": {
315
- "value": "{space.0.value}",
316
- "type": "space"
317
- },
318
- "right": {
319
- "value": "{space.0.value}",
320
- "type": "space"
321
- }
184
+ "value": "{space.0.value}",
185
+ "type": "space"
322
186
  }
323
187
  }
324
188
  }
@@ -1,12 +1,96 @@
1
1
  {
2
2
  "currency": {
3
- "inputgroup": {
4
- "addon": {
3
+ "meta": {
4
+ "mapping": {
5
+ "selector": {
6
+ "mobile": ".app-currency"
7
+ }
8
+ }
9
+ },
10
+ "mapping": {
11
+ "labelwrapper": {
12
+ "min": {
13
+ "height": {
14
+ "value": "30px",
15
+ "type": "space",
16
+ "attributes": {
17
+ "subtype": "space",
18
+ "description": "Minimum height of the currency field label wrapper (the strip that holds the currency symbol or label next to the amount input). Keeps the prefix area aligned with the input row.<br>CSS variable: --wm-currency-labelwrapper-min-height"
19
+ }
20
+ }
21
+ },
22
+ "background": {
23
+ "value": "#4263eb",
24
+ "type": "color",
25
+ "attributes": {
26
+ "subtype": "color",
27
+ "description": "Background color of the currency label wrapper (prefix area behind the symbol or label).<br>CSS variable: --wm-currency-labelwrapper-background"
28
+ }
29
+ },
30
+ "border": {
31
+ "radius": {
32
+ "value": "6px {space.0.value} {space.0.value} 6px",
33
+ "type": "space",
34
+ "attributes": {
35
+ "subtype": "border-radius",
36
+ "description": "Corner radius of the currency label wrapper (typically the inner or leading edge that meets the amount field). Use px or theme space tokens.<br>CSS variable: --wm-currency-labelwrapper-border-radius"
37
+ }
38
+ }
39
+ },
40
+ "padding": {
41
+ "value": "{space.2.value} {space.4.value}",
42
+ "type": "space",
43
+ "attributes": {
44
+ "subtype": "space",
45
+ "description": "Padding inside the currency label wrapper around the symbol or label text. Shorthand: vertical and horizontal spacing may use separate theme values.<br>CSS variable: --wm-currency-labelwrapper-padding"
46
+ }
47
+ },
5
48
  "width": {
6
- "value": "40px",
7
- "type": "space"
49
+ "value": "{space.12.value}",
50
+ "type": "border",
51
+ "attributes": {
52
+ "subtype": "space",
53
+ "description": "Width reserved for the currency label wrapper (prefix column width for the symbol or label). Often matches or complements the amount input layout; use px or theme space tokens.<br>CSS variable: --wm-currency-labelwrapper-width"
54
+ }
55
+ }
56
+ },
57
+ "label": {
58
+ "color": {
59
+ "value": "{color.white.@.value}",
60
+ "type": "color",
61
+ "attributes": {
62
+ "subtype": "color",
63
+ "description": "Text color for the currency label or symbol shown in the label wrapper (e.g. $, €, or custom label).<br>CSS variable: --wm-currency-label-color"
64
+ }
65
+ },
66
+ "font": {
67
+ "weight": {
68
+ "value": "{body.medium.font-weight.value}",
69
+ "type": "font",
70
+ "attributes": {
71
+ "subtype": "font-weight",
72
+ "description": "Font weight for the currency label or symbol in the label wrapper. Use normal, bold, or numeric weights (100–900) for finer control.<br>CSS variable: --wm-currency-label-font-weight"
73
+ }
74
+ },
75
+ "size": {
76
+ "value": "{body.large.font-size.value}",
77
+ "type": "font",
78
+ "attributes": {
79
+ "subtype": "font-size",
80
+ "description": "Font size for the currency label or symbol in the label wrapper so it balances with the amount input text.<br>CSS variable: --wm-currency-label-font-size"
81
+ }
82
+ },
83
+ "family": {
84
+ "value": "{body.medium.font-family.value}",
85
+ "type": "font",
86
+ "attributes": {
87
+ "subtype": "font-family",
88
+ "description": "Font family for the currency label or symbol in the label wrapper.<br>CSS variable: --wm-currency-label-font-family"
89
+ }
90
+ }
8
91
  }
9
92
  }
10
- }
93
+ },
94
+ "appearances": {}
11
95
  }
12
96
  }