@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
@@ -10,7 +10,7 @@
10
10
  "mapping": {
11
11
  "background": {
12
12
  "color": {
13
- "value": "{color.white.@.value}",
13
+ "value": "{color.transparent.@.value}",
14
14
  "type": "color",
15
15
  "attributes": {
16
16
  "subtype": "color",
@@ -19,36 +19,30 @@
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 lottie. This creates breathing room above the lottie. Acceptable units: px.<br>CSS variable: --wm-lottie-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 lottie. This creates breathing room below the lottie. Acceptable units: px.<br>CSS variable: --wm-lottie-padding-bottom"
36
- }
22
+ "value": "{space.0.value} {space.2.value}",
23
+ "type": "space",
24
+ "attributes": {
25
+ "subtype": "space",
26
+ "description": "Controls the padding around the lottie. First value is for top/bottom, second value is for left/right.<br>CSS variables: --wm-lottie-padding-top, --wm-lottie-padding-right, --wm-lottie-padding-bottom, --wm-lottie-padding-left"
27
+ }
28
+ },
29
+ "content": {
30
+ "height": {
31
+ "value": "{spacer.7.value}",
32
+ "type": "space"
37
33
  },
38
- "left": {
39
- "value": "{space.2.value}",
40
- "type": "space",
41
- "attributes": {
42
- "subtype": "space",
43
- "description": "Controls the left padding (horizontal spacing) inside lottie. This creates breathing room on the left side of the lottie. Acceptable units: px.<br>CSS variable: --wm-lottie-padding-left"
44
- }
34
+ "width": {
35
+ "value": "100%",
36
+ "type": "space"
45
37
  },
46
- "right": {
47
- "value": "{space.2.value}",
48
- "type": "space",
49
- "attributes": {
50
- "subtype": "space",
51
- "description": "Controls the right padding (horizontal spacing) inside lottie. This creates breathing room on the right side of the lottie. Acceptable units: px.<br>CSS variable: --wm-lottie-padding-right"
38
+ "background": {
39
+ "color": {
40
+ "value": "{color.transparent.@.value}",
41
+ "type": "color",
42
+ "attributes": {
43
+ "subtype": "color",
44
+ "description": "Sets the background color for the content of lottie. When transparent, only the lottie is visible. When filled with a color, the lottie appears with a colored background.<br>CSS variable: --wm-lottie-content-background-color"
45
+ }
52
46
  }
53
47
  }
54
48
  }
@@ -85,53 +85,25 @@
85
85
  }
86
86
  },
87
87
  "padding": {
88
- "top": {
89
- "value": "{space.2.value}",
90
- "type": "space",
91
- "attributes": {
92
- "subtype": "space",
93
- "description": "Controls the top padding (vertical spacing) inside message containers. This creates breathing room above the message content. Acceptable units: px.<br>CSS variable: --wm-message-container-padding-top"
94
- }
95
- },
96
- "bottom": {
97
- "value": "{space.2.value}",
98
- "type": "space",
99
- "attributes": {
100
- "subtype": "space",
101
- "description": "Controls the bottom padding (vertical spacing) inside message containers. This creates breathing room below the message content. Acceptable units: px.<br>CSS variable: --wm-message-container-padding-bottom"
102
- }
103
- },
104
- "left": {
105
- "value": "{space.2.value}",
106
- "type": "space",
107
- "attributes": {
108
- "subtype": "space",
109
- "description": "Controls the left padding (horizontal spacing) inside message containers. This creates breathing room on the left side of the message content. Acceptable units: px.<br>CSS variable: --wm-message-container-padding-left"
110
- }
111
- },
112
- "right": {
113
- "value": "{space.2.value}",
114
- "type": "space",
115
- "attributes": {
116
- "subtype": "space",
117
- "description": "Controls the right padding (horizontal spacing) inside message containers. This creates breathing room on the right side of the message content. Acceptable units: px.<br>CSS variable: --wm-message-container-padding-right"
118
- }
88
+ "value": "{space.2.value}",
89
+ "type": "space",
90
+ "attributes": {
91
+ "subtype": "space",
92
+ "description": "Controls the top padding (vertical spacing) inside message containers. This creates breathing room above the message content. Acceptable units: px.<br>CSS variable: --wm-message-container-padding-top"
119
93
  }
120
94
  }
121
95
  },
122
96
  "text-wrapper": {
123
97
  "padding": {
124
- "left": {
125
- "value": "{space.4.value}",
126
- "type": "space",
127
- "attributes": {
128
- "subtype": "space",
129
- "description": "Controls the left padding (horizontal spacing) inside the message text wrapper (the container that holds the message text). This creates breathing room on the left side of the text content. Acceptable units: px.<br>CSS variable: --wm-message-text-wrapper-padding-left"
130
- }
98
+ "value": "{space.0.value} {space.0.value} {space.0.value} {space.4.value}",
99
+ "type": "space",
100
+ "attributes": {
101
+ "subtype": "space",
102
+ "description": "Controls the padding (top, right, bottom, left) inside the message text wrapper (the container that holds the message text). This creates breathing room around the text content. Acceptable units: px.<br>CSS variable: --wm-message-text-wrapper-padding"
131
103
  }
132
104
  }
133
105
  },
134
- "color": {
106
+ "color": {
135
107
  "value": "{color.on-primary.@.value}",
136
108
  "type": "color",
137
109
  "attributes": {
@@ -159,13 +131,19 @@
159
131
  }
160
132
  },
161
133
  "padding": {
162
- "bottom": {
163
- "value": "{space.1.value}",
164
- "type": "space",
165
- "attributes": {
166
- "subtype": "space",
167
- "description": "Controls the bottom padding (vertical spacing) below message titles. This creates spacing between the title and the message text content. Acceptable units: px.<br>CSS variable: --wm-message-title-padding-bottom"
168
- }
134
+ "value": "{space.0.value} {space.0.value} {space.1.value} {space.0.value}",
135
+ "type": "space",
136
+ "attributes": {
137
+ "subtype": "space",
138
+ "description": "Controls the padding (top, right, bottom, left) below message titles. This creates spacing between the title and the message text content. Acceptable units: px.<br>CSS variable: --wm-message-title-padding"
139
+ }
140
+ },
141
+ "color": {
142
+ "value": "{color.on-primary.@.value}",
143
+ "type": "color",
144
+ "attributes": {
145
+ "subtype": "color",
146
+ "description": "Sets the text color of message content (the main text that appears in message containers). This determines what color the message text appears in, which should contrast well with the background for readability.<br>CSS variable: --wm-message-color"
169
147
  }
170
148
  }
171
149
  },
@@ -177,6 +155,14 @@
177
155
  "subtype": "font-size",
178
156
  "description": "Controls the size of message text (the main content text that appears in message containers). This affects how large the message text appears.<br>CSS variable: --wm-message-text-size"
179
157
  }
158
+ },
159
+ "color": {
160
+ "value": "{color.on-primary.@.value}",
161
+ "type": "color",
162
+ "attributes": {
163
+ "subtype": "color",
164
+ "description": "Sets the text color of message content (the main text that appears in message containers). This determines what color the message text appears in, which should contrast well with the background for readability.<br>CSS variable: --wm-message-color"
165
+ }
180
166
  }
181
167
  },
182
168
  "icon": {
@@ -191,21 +177,11 @@
191
177
  },
192
178
  "close-btn": {
193
179
  "padding": {
194
- "left": {
195
- "value": "{space.2.value}",
196
- "type": "space",
197
- "attributes": {
198
- "subtype": "space",
199
- "description": "Controls the left padding (horizontal spacing) inside the message close button. This creates breathing room on the left side of the close button. Acceptable units: px.<br>CSS variable: --wm-message-close-btn-padding-left"
200
- }
201
- },
202
- "right": {
203
- "value": "{space.2.value}",
204
- "type": "space",
205
- "attributes": {
206
- "subtype": "space",
207
- "description": "Controls the right padding (horizontal spacing) inside the message close button. This creates breathing room on the right side of the close button. Acceptable units: px.<br>CSS variable: --wm-message-close-btn-padding-right"
208
- }
180
+ "value": "{space.0.value} {space.2.value}",
181
+ "type": "space",
182
+ "attributes": {
183
+ "subtype": "space",
184
+ "description": "Controls the padding (top/bottom, left/right) inside the message close button. This creates breathing room around the close button. Acceptable units: px.<br>CSS variable: --wm-message-close-btn-padding"
209
185
  }
210
186
  },
211
187
  "border": {
@@ -8,14 +8,6 @@
8
8
  }
9
9
  },
10
10
  "mapping": {
11
- "margin": {
12
- "value": "{space.6.value}",
13
- "type": "space",
14
- "attributes": {
15
- "subtype": "space",
16
- "description": "Controls the outer margin (spacing) around modal dialogs (overlay windows that appear on top of the main content). This creates breathing room around the dialog container. Acceptable units: px.<br>CSS variable: --wm-modal-margin"
17
- }
18
- },
19
11
  "z-index": {
20
12
  "value": "1000",
21
13
  "type": "radius",
@@ -24,6 +16,18 @@
24
16
  "description": "Controls the stacking order of modal dialogs (determines which elements appear on top when multiple elements overlap). Higher values make the dialog appear above other elements. This ensures modals are always visible above page content.<br>CSS variable: --wm-modal-z-index"
25
17
  }
26
18
  },
19
+ "dialog": {
20
+ "overlay": {
21
+ "background": {
22
+ "value": "{color.surface.container.high.@.value}",
23
+ "type": "color",
24
+ "attributes": {
25
+ "subtype": "color",
26
+ "description": "Sets the background color of modal overlay dialog (overlay windows that appear behind of the main content). This is the main background color that appears behind the dialog .<br>CSS variable: --wm-modal-dialog-overlay-background"
27
+ }
28
+ }
29
+ }
30
+ },
27
31
  "min-width": {
28
32
  "value": "320px",
29
33
  "type": "space",
@@ -231,6 +235,48 @@
231
235
  }
232
236
  },
233
237
  "description": {
238
+ "background": {
239
+ "value": "{color.transparent.@.value}",
240
+ "type": "color",
241
+ "attributes": {
242
+ "subtype": "color",
243
+ "description": "Sets the background color of modal description. This is the main background color that appears behind the description.<br>CSS variable: --wm-modal-description-background-color"
244
+ }
245
+ },
246
+ "padding": {
247
+ "value": "{space.0.value}",
248
+ "type": "space",
249
+ "attributes": {
250
+ "subtype": "space",
251
+ "description": "Controls the internal spacing inside modal dialog description (the top section that contains the title and close button). This creates breathing room around the description content. Acceptable units: px.<br>CSS variable: --wm-modal-description-padding"
252
+ }
253
+ },
254
+ "border": {
255
+ "width": {
256
+ "value": "{border.width.0.value}",
257
+ "type": "space",
258
+ "attributes": {
259
+ "subtype": "border-width",
260
+ "description": "Controls the thickness of the border at the bottom of modal dialog description. This determines how thick the separator line appears between the header and body. Acceptable units: px.<br>CSS variable: --wm-modal-description-border-width"
261
+ }
262
+ },
263
+ "style": {
264
+ "value": "{border.style.base.value}",
265
+ "type": "radius",
266
+ "attributes": {
267
+ "subtype": "border-style",
268
+ "description": "Controls the style of the border at the bottom of modal dialog description. 'solid' creates a continuous line, 'dashed' creates a dotted line, 'dotted' creates small dots.<br>CSS variable: --wm-modal-description-border-style"
269
+ }
270
+ },
271
+ "color": {
272
+ "value": "{color.transparent.@.value}",
273
+ "type": "color",
274
+ "attributes": {
275
+ "subtype": "color",
276
+ "description": "Sets the color of the border at the bottom of modal dialog description. This determines the color of the separator line between the header and body.<br>CSS variable: --wm-modal-description-border-color"
277
+ }
278
+ }
279
+ },
234
280
  "font-size": {
235
281
  "value": "{body.medium.font-size.value}",
236
282
  "type": "font",
@@ -8,54 +8,7 @@
8
8
  }
9
9
  },
10
10
  "mapping": {
11
- "background": {
12
- "value": "{color.surface.container.lowest.@.value}",
13
- "type": "color",
14
- "attributes": {
15
- "subtype": "color",
16
- "description": "Sets the background color of navigation (the main panel that contains navigation items). This is the main background color that appears behind the navigation items.<br>CSS variable: --wm-nav-background"
17
- }
18
- },
19
- "left-panel": {
20
- "background": {
21
- "value": "{color.surface.container.lowest.@.value}",
22
- "type": "color",
23
- "attributes": {
24
- "subtype": "color",
25
- "description": "Sets the background color of the left panel in navigation. This is the background color for the navigation panel area.<br>CSS variable: --wm-nav-left-panel-background"
26
- }
27
- }
28
- },
29
- "partial": {
30
- "background": {
31
- "value": "{color.transparent.@.value}",
32
- "type": "color",
33
- "attributes": {
34
- "subtype": "color",
35
- "description": "Sets the background color of the partial area in navigation. This is the background color for the partial area.<br>CSS variable: --wm-nav-partial-background"
36
- }
37
- }
38
- },
39
- "partial-container": {
40
- "background": {
41
- "value": "transparent",
42
- "type": "color",
43
- "attributes": {
44
- "subtype": "color",
45
- "description": "Sets the background color of the partial container in navigation. This is the background color for the partial container.<br>CSS variable: --wm-nav-partial-container-background"
46
- }
47
- }
48
- },
49
- "navbar": {
50
- "background": {
51
- "value": "{color.surface.container.lowest.@.value}",
52
- "type": "color",
53
- "attributes": {
54
- "subtype": "color",
55
- "description": "Sets the background color of the navbar in navigation. This is the background color for the navbar.<br>CSS variable: --wm-nav-navbar-background"
56
- }
57
- }
58
- }
11
+
59
12
  }
60
13
  }
61
14
  }
@@ -25,37 +25,11 @@
25
25
  }
26
26
  },
27
27
  "padding": {
28
- "left": {
29
- "value": "{space.3.value}",
30
- "type": "space",
31
- "attributes": {
32
- "subtype": "space",
33
- "description": "Controls the left padding (horizontal spacing) inside navigation bars. This creates breathing room on the left side of the navbar content. Acceptable units: px.<br>CSS variable: --wm-navbar-padding-left"
34
- }
35
- },
36
- "right": {
37
- "value": "{space.3.value}",
38
- "type": "space",
39
- "attributes": {
40
- "subtype": "space",
41
- "description": "Controls the right padding (horizontal spacing) inside navigation bars. This creates breathing room on the right side of the navbar content. Acceptable units: px.<br>CSS variable: --wm-navbar-padding-right"
42
- }
43
- },
44
- "top": {
45
- "value": "{space.3.value}",
46
- "type": "space",
47
- "attributes": {
48
- "subtype": "space",
49
- "description": "Controls the top padding (vertical spacing) inside navigation bars. This creates breathing room above the navbar content. Acceptable units: px.<br>CSS variable: --wm-navbar-padding-top"
50
- }
51
- },
52
- "bottom": {
53
- "value": "{space.3.value}",
54
- "type": "space",
55
- "attributes": {
56
- "subtype": "space",
57
- "description": "Controls the bottom padding (vertical spacing) inside navigation bars. This creates breathing room below the navbar content. Acceptable units: px.<br>CSS variable: --wm-navbar-padding-bottom"
58
- }
28
+ "value": "{space.3.value}",
29
+ "type": "space",
30
+ "attributes": {
31
+ "subtype": "space",
32
+ "description": "Controls the padding inside navigation bars (top, right, bottom, left). Acceptable units: px.<br>CSS variable: --wm-navbar-padding"
59
33
  }
60
34
  },
61
35
  "left-icon": {
@@ -186,7 +160,7 @@
186
160
  },
187
161
  "badge": {
188
162
  "background-color": {
189
- "value": "transparent",
163
+ "value": "{color.inverse.on-surface.@.value}",
190
164
  "type": "color",
191
165
  "attributes": {
192
166
  "subtype": "color",
@@ -194,13 +168,57 @@
194
168
  }
195
169
  },
196
170
  "color": {
197
- "value": "{color.primary.@.value}",
171
+ "value": "{color.on-surface.@.value}",
198
172
  "type": "color",
199
173
  "attributes": {
200
174
  "subtype": "color",
201
175
  "description": "Sets the text color of badges in navigation bars. This determines what color the badge text appears in, typically matching the primary theme color.<br>CSS variable: --wm-navbar-badge-color"
202
176
  }
203
177
  },
178
+ "height": {
179
+ "value": "{space.6.value}",
180
+ "type": "space",
181
+ "attributes": {
182
+ "subtype": "space",
183
+ "description": "Controls the height of badges in navigation bars. This determines how tall the badge appears. Acceptable units: px.<br>CSS variable: --wm-navbar-badge-height"
184
+ }
185
+ },
186
+ "width": {
187
+ "value": "{space.6.value}",
188
+ "type": "space",
189
+ "attributes": {
190
+ "subtype": "space",
191
+ "description": "Controls the width of badges in navigation bars. This determines how wide the badge appears. Acceptable units: px.<br>CSS variable: --wm-navbar-badge-width"
192
+ }
193
+ },
194
+ "font": {
195
+ "size": {
196
+ "value": "{p.font-size.value}",
197
+ "type": "font",
198
+ "attributes": {
199
+ "subtype": "font-size",
200
+ "description": "Controls the font size of badge text in navigation bars. This affects how large the badge text appears.<br>CSS variable: --wm-navbar-badge-font-size"
201
+ }
202
+ }
203
+ },
204
+ "line-height": {
205
+ "value": "{body.large.line-height}",
206
+ "type": "font",
207
+ "attributes": {
208
+ "subtype": "line-height",
209
+ "description": "Controls the line height of badge text in navigation bars. This affects the vertical spacing of badge text.<br>CSS variable: --wm-navbar-badge-line-height"
210
+ }
211
+ },
212
+ "border": {
213
+ "radius": {
214
+ "value": "{radius.md.value}",
215
+ "type": "radius",
216
+ "attributes": {
217
+ "subtype": "radius",
218
+ "description": "Controls the border radius. IMPORTANT: border.radius value should always be half of the height & width. This determines how rounded the badge corners appear. Acceptable units: px.<br>CSS variable: --wm-navbar-badge-border-radius"
219
+ }
220
+ }
221
+ },
204
222
  "margin-left": {
205
223
  "value": "4px",
206
224
  "type": "space",
@@ -212,37 +230,11 @@
212
230
  },
213
231
  "anchor": {
214
232
  "padding": {
215
- "right": {
216
- "value": "0px",
217
- "type": "space",
218
- "attributes": {
219
- "subtype": "space",
220
- "description": "Controls the right padding (horizontal spacing) inside navigation bar anchor elements (clickable links in the navbar). This creates breathing room on the right side of the anchor content. Acceptable units: px.<br>CSS variable: --wm-navbar-anchor-padding-right"
221
- }
222
- },
223
- "left": {
224
- "value": "0px",
225
- "type": "space",
226
- "attributes": {
227
- "subtype": "space",
228
- "description": "Controls the left padding (horizontal spacing) inside navigation bar anchor elements. This creates breathing room on the left side of the anchor content. Acceptable units: px.<br>CSS variable: --wm-navbar-anchor-padding-left"
229
- }
230
- },
231
- "top": {
232
- "value": "0px",
233
- "type": "space",
234
- "attributes": {
235
- "subtype": "space",
236
- "description": "Controls the top padding (vertical spacing) inside navigation bar anchor elements. This creates breathing room above the anchor content. Acceptable units: px.<br>CSS variable: --wm-navbar-anchor-padding-top"
237
- }
238
- },
239
- "bottom": {
240
- "value": "0px",
241
- "type": "space",
242
- "attributes": {
243
- "subtype": "space",
244
- "description": "Controls the bottom padding (vertical spacing) inside navigation bar anchor elements. This creates breathing room below the anchor content. Acceptable units: px.<br>CSS variable: --wm-navbar-anchor-padding-bottom"
245
- }
233
+ "value": "0px",
234
+ "type": "space",
235
+ "attributes": {
236
+ "subtype": "space",
237
+ "description": "Controls the padding inside navigation bar anchor elements (top, right, bottom, left). Acceptable units: px.<br>CSS variable: --wm-navbar-anchor-padding"
246
238
  }
247
239
  },
248
240
  "text": {
@@ -362,37 +354,11 @@
362
354
  }
363
355
  },
364
356
  "width": {
365
- "top": {
366
- "value": "{border.width.0.value}",
367
- "type": "border",
368
- "attributes": {
369
- "subtype": "border-width",
370
- "description": "Controls the top border width of navigation bars. This determines how thick the top border appears. Acceptable units: px.<br>CSS variable: --wm-navbar-border-width-top"
371
- }
372
- },
373
- "bottom": {
374
- "value": "{border.width.0.value}",
375
- "type": "border",
376
- "attributes": {
377
- "subtype": "border-width",
378
- "description": "Controls the bottom border width of navigation bars. This determines how thick the bottom border appears. Acceptable units: px.<br>CSS variable: --wm-navbar-border-width-bottom"
379
- }
380
- },
381
- "left": {
382
- "value": "{border.width.0.value}",
383
- "type": "border",
384
- "attributes": {
385
- "subtype": "border-width",
386
- "description": "Controls the left border width of navigation bars. This determines how thick the left border appears. Acceptable units: px.<br>CSS variable: --wm-navbar-border-width-left"
387
- }
388
- },
389
- "right": {
390
- "value": "{border.width.0.value}",
391
- "type": "border",
392
- "attributes": {
393
- "subtype": "border-width",
394
- "description": "Controls the right border width of navigation bars. This determines how thick the right border appears. Acceptable units: px.<br>CSS variable: --wm-navbar-border-width-right"
395
- }
357
+ "value": "{border.width.0.value}",
358
+ "type": "border",
359
+ "attributes": {
360
+ "subtype": "border-width",
361
+ "description": "Controls the border width of navigation bars (top, right, bottom, left). Acceptable units: px.<br>CSS variable: --wm-navbar-border-width"
396
362
  }
397
363
  }
398
364
  }
@@ -196,7 +196,7 @@
196
196
  "value": "{radius.pill.value}",
197
197
  "type": "radius",
198
198
  "attributes": {
199
- "subtype": "border",
199
+ "subtype": "radius",
200
200
  "description": "Controls the border radius of navigation items. This creates rounded corners for the navigation item container. Acceptable units: px.<br>CSS variable: --wm-nav-item-border-radius"
201
201
  }
202
202
  }
@@ -290,7 +290,7 @@
290
290
  "value": "{radius.circle.value}",
291
291
  "type": "radius",
292
292
  "attributes": {
293
- "subtype": "border",
293
+ "subtype": "radius",
294
294
  "description": "Controls the border radius of navigation items. This creates rounded corners for the navigation item container. Acceptable units: px.<br>CSS variable: --wm-nav-item-badge-border-radius"
295
295
  }
296
296
  }
@@ -445,7 +445,7 @@
445
445
  "value": "{radius.pill.value}",
446
446
  "type": "radius",
447
447
  "attributes": {
448
- "subtype": "border",
448
+ "subtype": "radius",
449
449
  "description": "Controls the border radius of navigation items. This creates rounded corners for the navigation item container. Acceptable units: px.<br>CSS variable: --wm-nav-item-border-radius"
450
450
  }
451
451
  }
@@ -490,7 +490,7 @@
490
490
  "value": "{radius.circle.value}",
491
491
  "type": "radius",
492
492
  "attributes": {
493
- "subtype": "border",
493
+ "subtype": "radius",
494
494
  "description": "Controls the border radius of navigation items. This creates rounded corners for the navigation item container. Acceptable units: px.<br>CSS variable: --wm-nav-item-badge-border-radius"
495
495
  }
496
496
  }
@@ -1,17 +1,9 @@
1
1
  {
2
2
  "left-panel": {
3
3
  "mapping": {
4
- "min-height": {
5
- "type": "space",
6
- "value": "100%",
7
- "attributes": {
8
- "subtype": "space",
9
- "description": "Controls the minimum height of the left navigation panel (the side panel that slides in from the left). When set to 100%, the panel takes up the full height of the viewport. Acceptable units: %, px.<br>CSS variable: --wm-left-panel-min-height"
10
- }
11
- },
12
4
  "background": {
13
5
  "type": "color",
14
- "value": "#ffffff",
6
+ "value": "{color.surface.container.lowest.@.value}",
15
7
  "attributes": {
16
8
  "subtype": "color",
17
9
  "description": "Sets the background color of the left navigation panel (the side panel that slides in from the left). This is the main background color that appears behind the navigation content.<br>CSS variable: --wm-left-panel-background"
@@ -256,16 +256,6 @@
256
256
  "description": "Sets the text color of panel descriptions (secondary text that appears below the heading). This determines what color the description text appears in, which should contrast well with the background for readability.<br>CSS variable: --wm-panel-description-color"
257
257
  }
258
258
  }
259
- },
260
- "content": {
261
- "padding": {
262
- "value": "{space.4.value}",
263
- "type": "space",
264
- "attributes": {
265
- "subtype": "space",
266
- "description": "Controls the internal spacing inside panel content sections (the main content area of the panel). This creates breathing room around the panel content. Acceptable units: px.<br>CSS variable: --wm-panel-content-padding"
267
- }
268
- }
269
259
  }
270
260
  },
271
261
  "appearances": {
@@ -0,0 +1,23 @@
1
+ {
2
+ "partial-container": {
3
+ "meta": {
4
+ "mapping": {
5
+ "selector": {
6
+ "mobile": ".app-partial-container"
7
+ }
8
+ }
9
+ },
10
+ "mapping": {
11
+ "background": {
12
+ "color": {
13
+ "value": "{color.transparent.@.value}",
14
+ "type": "color",
15
+ "attributes": {
16
+ "subtype": "color",
17
+ "description": "Sets the background color of the partial area in navigation. This is the background color for the partial area.<br>CSS variable: --wm-nav-partial-background"
18
+ }
19
+ }
20
+ }
21
+ }
22
+ }
23
+ }