@wavemaker/foundation-css 11.14.3-rc.6401 → 11.14.4-rc.647538

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 (388) hide show
  1. package/cjs/foundation-css.cjs +33 -128
  2. package/cjs/src_tokens_mobile_components_accordion_accordion_json.foundation-css.cjs +1 -1
  3. package/cjs/src_tokens_mobile_components_anchor_anchor_json.foundation-css.cjs +1 -1
  4. package/cjs/src_tokens_mobile_components_audio_audio_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-group_button-group_json.foundation-css.cjs +1 -1
  8. package/cjs/src_tokens_mobile_components_button_button_json.foundation-css.cjs +1 -1
  9. package/cjs/src_tokens_mobile_components_calendar_calendar_json.foundation-css.cjs +1 -1
  10. package/cjs/src_tokens_mobile_components_camera_camera_json.foundation-css.cjs +1 -1
  11. package/cjs/src_tokens_mobile_components_cards_cards_json.foundation-css.cjs +1 -1
  12. package/cjs/src_tokens_mobile_components_carousel_carousel_json.foundation-css.cjs +1 -1
  13. package/cjs/src_tokens_mobile_components_checkbox_checkbox_json.foundation-css.cjs +1 -1
  14. package/cjs/src_tokens_mobile_components_checkboxset_checkboxset_json.foundation-css.cjs +1 -1
  15. package/cjs/src_tokens_mobile_components_chips_chips_json.foundation-css.cjs +1 -1
  16. package/cjs/src_tokens_mobile_components_container_container_json.foundation-css.cjs +1 -1
  17. package/cjs/src_tokens_mobile_components_datetime_datetime_json.foundation-css.cjs +1 -1
  18. package/cjs/src_tokens_mobile_components_dropdown-menu_dropdown-menu_json.foundation-css.cjs +1 -1
  19. package/cjs/src_tokens_mobile_components_fileupload_fileupload_json.foundation-css.cjs +1 -1
  20. package/cjs/src_tokens_mobile_components_form-control_form-control_json.foundation-css.cjs +14 -0
  21. package/cjs/src_tokens_mobile_components_form-input_form-input_json.foundation-css.cjs +14 -0
  22. package/cjs/src_tokens_mobile_components_icon_icon_json.foundation-css.cjs +1 -1
  23. package/cjs/src_tokens_mobile_components_label_label_json.foundation-css.cjs +1 -1
  24. package/cjs/src_tokens_mobile_components_left-nav_left-nav_json.foundation-css.cjs +1 -1
  25. package/cjs/src_tokens_mobile_components_list_list_json.foundation-css.cjs +1 -1
  26. package/cjs/src_tokens_mobile_components_login_login_json.foundation-css.cjs +1 -1
  27. package/cjs/src_tokens_mobile_components_lottie_lottie_json.foundation-css.cjs +1 -1
  28. package/cjs/src_tokens_mobile_components_message_message_json.foundation-css.cjs +1 -1
  29. package/cjs/src_tokens_mobile_components_modal-dialog_modal-dialog_json.foundation-css.cjs +1 -1
  30. package/cjs/src_tokens_mobile_components_nav_nav_json.foundation-css.cjs +1 -1
  31. package/cjs/src_tokens_mobile_components_page-content_page-content_json.foundation-css.cjs +1 -1
  32. package/cjs/src_tokens_mobile_components_panel_panel_json.foundation-css.cjs +1 -1
  33. package/cjs/src_tokens_mobile_components_picture_picture_json.foundation-css.cjs +1 -1
  34. package/cjs/src_tokens_mobile_components_popover_popover_json.foundation-css.cjs +1 -1
  35. package/cjs/src_tokens_mobile_components_progress-bar_progress-bar_json.foundation-css.cjs +1 -1
  36. package/cjs/src_tokens_mobile_components_progress-circle_progress-circle_json.foundation-css.cjs +1 -1
  37. package/cjs/src_tokens_mobile_components_radioset_radioset_json.foundation-css.cjs +1 -1
  38. package/cjs/src_tokens_mobile_components_rating_rating_json.foundation-css.cjs +1 -1
  39. package/cjs/src_tokens_mobile_components_search_search_json.foundation-css.cjs +1 -1
  40. package/cjs/src_tokens_mobile_components_select_select_json.foundation-css.cjs +1 -1
  41. package/cjs/src_tokens_mobile_components_slider_slider_json.foundation-css.cjs +1 -1
  42. package/cjs/src_tokens_mobile_components_spinner_spinner_json.foundation-css.cjs +1 -1
  43. package/cjs/src_tokens_mobile_components_switch_switch_json.foundation-css.cjs +1 -1
  44. package/cjs/src_tokens_mobile_components_tabbar_tabbar_json.foundation-css.cjs +1 -1
  45. package/cjs/src_tokens_mobile_components_tabs_tabs_json.foundation-css.cjs +1 -1
  46. package/cjs/src_tokens_mobile_components_textarea_textarea_json.foundation-css.cjs +1 -1
  47. package/cjs/src_tokens_mobile_components_tile_tile_json.foundation-css.cjs +1 -1
  48. package/cjs/src_tokens_mobile_components_toggle_toggle_json.foundation-css.cjs +1 -1
  49. package/cjs/src_tokens_mobile_components_video_video_json.foundation-css.cjs +1 -1
  50. package/cjs/src_tokens_mobile_components_webview_webview_json.foundation-css.cjs +1 -1
  51. package/cjs/src_tokens_mobile_components_wizard_wizard_json.foundation-css.cjs +1 -1
  52. package/cjs/src_tokens_web_components_accordion_accordion_json.foundation-css.cjs +1 -1
  53. package/cjs/src_tokens_web_components_anchor_anchor_json.foundation-css.cjs +1 -1
  54. package/cjs/src_tokens_web_components_audio_audio_json.foundation-css.cjs +1 -1
  55. package/cjs/src_tokens_web_components_badge_badge_json.foundation-css.cjs +1 -1
  56. package/cjs/src_tokens_web_components_breadcrumb_breadcrumb_json.foundation-css.cjs +1 -1
  57. package/cjs/src_tokens_web_components_button-group_button-group_json.foundation-css.cjs +1 -1
  58. package/cjs/src_tokens_web_components_button_button_json.foundation-css.cjs +1 -1
  59. package/cjs/src_tokens_web_components_calendar_calendar_json.foundation-css.cjs +1 -1
  60. package/cjs/src_tokens_web_components_cards_cards_json.foundation-css.cjs +1 -1
  61. package/cjs/src_tokens_web_components_carousel_carousel_json.foundation-css.cjs +1 -1
  62. package/cjs/src_tokens_web_components_checkbox_checkbox_json.foundation-css.cjs +1 -1
  63. package/cjs/src_tokens_web_components_checkboxset_checkboxset_json.foundation-css.cjs +1 -1
  64. package/cjs/src_tokens_web_components_chips_chips_json.foundation-css.cjs +1 -1
  65. package/cjs/src_tokens_web_components_color-picker_color-picker_json.foundation-css.cjs +1 -1
  66. package/cjs/src_tokens_web_components_container_container_json.foundation-css.cjs +1 -1
  67. package/cjs/src_tokens_web_components_currency_currency_json.foundation-css.cjs +1 -1
  68. package/cjs/src_tokens_web_components_data-table_data-table_json.foundation-css.cjs +1 -1
  69. package/cjs/src_tokens_web_components_date_date_json.foundation-css.cjs +1 -1
  70. package/cjs/src_tokens_web_components_dropdown-menu_dropdown-menu_json.foundation-css.cjs +1 -1
  71. package/cjs/src_tokens_web_components_fileupload_fileupload_json.foundation-css.cjs +1 -1
  72. package/cjs/src_tokens_web_components_form-controls_form-controls_json.foundation-css.cjs +1 -1
  73. package/cjs/src_tokens_web_components_grid-layout_grid-layout_json.foundation-css.cjs +1 -1
  74. package/cjs/src_tokens_web_components_icon_icon_json.foundation-css.cjs +1 -1
  75. package/cjs/src_tokens_web_components_iframe_iframe_json.foundation-css.cjs +1 -1
  76. package/cjs/src_tokens_web_components_label_label_json.foundation-css.cjs +1 -1
  77. package/cjs/src_tokens_web_components_list_list_json.foundation-css.cjs +1 -1
  78. package/cjs/src_tokens_web_components_message_message_json.foundation-css.cjs +1 -1
  79. package/cjs/src_tokens_web_components_modal-dialog_modal-dialog_json.foundation-css.cjs +1 -1
  80. package/cjs/src_tokens_web_components_nav_nav_json.foundation-css.cjs +1 -1
  81. package/cjs/src_tokens_web_components_page-content_page-content_json.foundation-css.cjs +1 -1
  82. package/cjs/src_tokens_web_components_page-footer_page-footer_json.foundation-css.cjs +1 -1
  83. package/cjs/src_tokens_web_components_page-header_page-header_json.foundation-css.cjs +1 -1
  84. package/cjs/src_tokens_web_components_page-left-nav_page-left-nav_json.foundation-css.cjs +1 -1
  85. package/cjs/src_tokens_web_components_page-right-nav_page-right-nav_json.foundation-css.cjs +1 -1
  86. package/cjs/src_tokens_web_components_page-top-nav_page-top-nav_json.foundation-css.cjs +1 -1
  87. package/cjs/src_tokens_web_components_pagination_pagination_json.foundation-css.cjs +1 -1
  88. package/cjs/src_tokens_web_components_panel_panel_json.foundation-css.cjs +1 -1
  89. package/cjs/src_tokens_web_components_picture_picture_json.foundation-css.cjs +1 -1
  90. package/cjs/src_tokens_web_components_popover_popover_json.foundation-css.cjs +1 -1
  91. package/cjs/src_tokens_web_components_progress-bar_progress-bar_json.foundation-css.cjs +1 -1
  92. package/cjs/src_tokens_web_components_progress-circle_progress-circle_json.foundation-css.cjs +1 -1
  93. package/cjs/src_tokens_web_components_radioset_radioset_json.foundation-css.cjs +1 -1
  94. package/cjs/src_tokens_web_components_rating_rating_json.foundation-css.cjs +1 -1
  95. package/cjs/src_tokens_web_components_richtext-editor_richtext-editor_json.foundation-css.cjs +1 -1
  96. package/cjs/src_tokens_web_components_scrollbar_scrollbar_json.foundation-css.cjs +1 -1
  97. package/cjs/src_tokens_web_components_search_search_json.foundation-css.cjs +1 -1
  98. package/cjs/src_tokens_web_components_spinner_spinner_json.foundation-css.cjs +1 -1
  99. package/cjs/src_tokens_web_components_switch_switch_json.foundation-css.cjs +1 -1
  100. package/cjs/src_tokens_web_components_tabs_tabs_json.foundation-css.cjs +1 -1
  101. package/cjs/src_tokens_web_components_tile_tile_json.foundation-css.cjs +1 -1
  102. package/cjs/src_tokens_web_components_time_time_json.foundation-css.cjs +1 -1
  103. package/cjs/src_tokens_web_components_toast_toast_json.foundation-css.cjs +1 -1
  104. package/cjs/src_tokens_web_components_toggle_toggle_json.foundation-css.cjs +1 -1
  105. package/cjs/src_tokens_web_components_video_video_json.foundation-css.cjs +1 -1
  106. package/cjs/src_tokens_web_components_wizard_wizard_json.foundation-css.cjs +1 -1
  107. package/foundation/foundation.css +2 -2
  108. package/foundation/foundation.min.css +1 -1
  109. package/native_mobile.index.d.ts +2 -27
  110. package/native_mobile.index.js +5 -39
  111. package/native_mobile.index.js.map +1 -1
  112. package/npm-shrinkwrap.json +210 -237
  113. package/package-lock.json +210 -237
  114. package/package.json +1 -1
  115. package/src/styles/mobile/components/basic/icon.less +4 -4
  116. package/src/styles/mobile/components/basic/progress-bar.less +2 -2
  117. package/src/styles/mobile/components/basic/progress-circle.less +0 -3
  118. package/src/styles/mobile/components/basic/search.less +3 -3
  119. package/src/styles/mobile/components/container/accordion.less +17 -41
  120. package/src/styles/mobile/components/container/panel.less +1 -4
  121. package/src/styles/mobile/components/container/tabs/tab-header.less +6 -3
  122. package/src/styles/mobile/components/container/tile.less +1 -1
  123. package/src/styles/mobile/components/container/wizard.less +2 -2
  124. package/src/styles/mobile/components/container.less +6 -45
  125. package/src/styles/mobile/components/data/card.less +6 -1
  126. package/src/styles/mobile/components/data/form.less +104 -160
  127. package/src/styles/mobile/components/data/list.less +44 -10
  128. package/src/styles/mobile/components/input/checkbox.less +10 -3
  129. package/src/styles/mobile/components/input/checkboxset.less +9 -1
  130. package/src/styles/mobile/components/input/chips.less +4 -4
  131. package/src/styles/mobile/components/input/radioset.less +6 -2
  132. package/src/styles/mobile/components/input/toggle.less +5 -5
  133. package/src/styles/mobile/components/navigation/appnavbar.less +17 -53
  134. package/src/styles/mobile/components/navigation/menu.less +1 -5
  135. package/src/styles/mobile/components/navigation/popover.less +0 -26
  136. package/src/styles/mobile/components/page/page-content.less +1 -1
  137. package/src/styles/mobile/components/tokens.light.css +102 -135
  138. package/src/styles/mobile/components/variables/accordion.variant.less +1 -7
  139. package/src/styles/mobile/components/variables/button.variant.less +1 -1
  140. package/src/styles/mobile/components/variables/checkbox.variant.less +2 -3
  141. package/src/styles/mobile/components/variables/checkboxset.variant.less +1 -4
  142. package/src/styles/mobile/components/variables/chips.variant.less +1 -2
  143. package/src/styles/mobile/components/variables/container.variant.less +6 -6
  144. package/src/styles/mobile/components/variables/form-input.variant.less +14 -0
  145. package/src/styles/mobile/components/variables/radioset.variant.less +1 -2
  146. package/src/styles/mobile/components/variables/tabbar.variant.less +1 -3
  147. package/src/styles/mobile/components/variables/tabs.variant.less +2 -7
  148. package/src/styles/mobile/components/variables/toggle.variant.less +1 -2
  149. package/src/styles/mobile/components/variables/wizard.variant.less +1 -4
  150. package/src/styles/mobile/studio/advanced/login.less +5 -8
  151. package/src/styles/mobile/studio/basic/anchor.less +4 -15
  152. package/src/styles/mobile/studio/basic/button.less +2 -20
  153. package/src/styles/mobile/studio/basic/{button-group.less → buttongroup.less} +19 -18
  154. package/src/styles/mobile/studio/basic/message.less +5 -34
  155. package/src/styles/mobile/studio/basic/search.less +6 -30
  156. package/src/styles/mobile/studio/container/tabs/tab-header.less +34 -0
  157. package/src/styles/mobile/studio/container/wizard.less +1 -3
  158. package/src/styles/mobile/studio/data/cards.less +36 -0
  159. package/src/styles/mobile/studio/device/barcodescanner.less +3 -0
  160. package/src/styles/mobile/studio/input/checkbox.less +89 -64
  161. package/src/styles/mobile/studio/input/checkboxset.less +98 -61
  162. package/src/styles/mobile/studio/input/epoch/datetime-picker-modal.less +7 -7
  163. package/src/styles/mobile/studio/input/form.less +74 -143
  164. package/src/styles/mobile/studio/input/radioset.less +6 -1
  165. package/src/styles/mobile/studio/input/rating.less +12 -19
  166. package/src/styles/mobile/studio/input/switch.less +3 -12
  167. package/src/styles/mobile/studio/input/toggle.less +7 -10
  168. package/src/styles/mobile/studio/navigation/menu.less +17 -19
  169. package/src/styles/mobile/studio/page/page-content.less +4 -0
  170. package/src/styles/mobile/studio/page/tabbar.less +19 -0
  171. package/src/styles/mobile/studio/slider.less +27 -0
  172. package/src/styles/mobile/studio/styles.less +24 -17
  173. package/src/tokens/mobile/components/accordion/accordion.json +36 -216
  174. package/src/tokens/mobile/components/anchor/anchor.json +12 -60
  175. package/src/tokens/mobile/components/audio/audio.json +1 -5
  176. package/src/tokens/mobile/components/barcodescanner/barcodescanner.json +17 -85
  177. package/src/tokens/mobile/components/bottomsheet/bottomsheet.json +19 -95
  178. package/src/tokens/mobile/components/button/button.json +36 -175
  179. package/src/tokens/mobile/components/button-group/button-group.json +3 -15
  180. package/src/tokens/mobile/components/calendar/calendar.json +37 -185
  181. package/src/tokens/mobile/components/camera/camera.json +8 -40
  182. package/src/tokens/mobile/components/cards/cards.json +10 -50
  183. package/src/tokens/mobile/components/carousel/carousel.json +29 -145
  184. package/src/tokens/mobile/components/checkbox/checkbox.json +24 -112
  185. package/src/tokens/mobile/components/checkboxset/checkboxset.json +33 -177
  186. package/src/tokens/mobile/components/chips/chips.json +47 -231
  187. package/src/tokens/mobile/components/container/container.json +29 -105
  188. package/src/tokens/mobile/components/datetime/datetime.json +23 -115
  189. package/src/tokens/mobile/components/dropdown-menu/dropdown-menu.json +25 -160
  190. package/src/tokens/mobile/components/fileupload/fileupload.json +12 -60
  191. package/src/tokens/mobile/components/form-control/form-control.json +217 -0
  192. package/src/tokens/mobile/components/form-input/form-input.json +153 -0
  193. package/src/tokens/mobile/components/icon/icon.json +6 -30
  194. package/src/tokens/mobile/components/label/label.json +13 -65
  195. package/src/tokens/mobile/components/left-nav/left-nav.json +6 -30
  196. package/src/tokens/mobile/components/list/list.json +145 -107
  197. package/src/tokens/mobile/components/login/login.json +8 -40
  198. package/src/tokens/mobile/components/lottie/lottie.json +2 -10
  199. package/src/tokens/mobile/components/message/message.json +23 -115
  200. package/src/tokens/mobile/components/modal-dialog/modal-dialog.json +27 -135
  201. package/src/tokens/mobile/components/nav/nav.json +12 -60
  202. package/src/tokens/mobile/components/page-content/page-content.json +2 -14
  203. package/src/tokens/mobile/components/panel/panel.json +54 -150
  204. package/src/tokens/mobile/components/picture/picture.json +9 -45
  205. package/src/tokens/mobile/components/popover/popover.json +25 -212
  206. package/src/tokens/mobile/components/progress-bar/progress-bar.json +12 -60
  207. package/src/tokens/mobile/components/progress-circle/progress-circle.json +4 -50
  208. package/src/tokens/mobile/components/radioset/radioset.json +28 -136
  209. package/src/tokens/mobile/components/rating/rating.json +10 -50
  210. package/src/tokens/mobile/components/search/search.json +45 -221
  211. package/src/tokens/mobile/components/select/select.json +16 -80
  212. package/src/tokens/mobile/components/slider/slider.json +11 -55
  213. package/src/tokens/mobile/components/spinner/spinner.json +9 -45
  214. package/src/tokens/mobile/components/switch/switch.json +16 -80
  215. package/src/tokens/mobile/components/tabbar/tabbar.json +33 -161
  216. package/src/tokens/mobile/components/tabs/tabs.json +36 -158
  217. package/src/tokens/mobile/components/textarea/textarea.json +1 -5
  218. package/src/tokens/mobile/components/tile/tile.json +8 -36
  219. package/src/tokens/mobile/components/toggle/toggle.json +17 -81
  220. package/src/tokens/mobile/components/video/video.json +2 -10
  221. package/src/tokens/mobile/components/webview/webview.json +1 -5
  222. package/src/tokens/mobile/components/wizard/wizard.json +64 -332
  223. package/src/tokens/mobile/global/border-style/border-style.json +42 -0
  224. package/src/tokens/web/components/accordion/accordion.json +31 -113
  225. package/src/tokens/web/components/anchor/anchor.json +13 -25
  226. package/src/tokens/web/components/audio/audio.json +2 -3
  227. package/src/tokens/web/components/badge/badge.json +11 -22
  228. package/src/tokens/web/components/breadcrumb/breadcrumb.json +22 -35
  229. package/src/tokens/web/components/button/button.json +27 -53
  230. package/src/tokens/web/components/button-group/button-group.json +2 -3
  231. package/src/tokens/web/components/calendar/calendar.json +23 -45
  232. package/src/tokens/web/components/cards/cards.json +15 -29
  233. package/src/tokens/web/components/carousel/carousel.json +15 -30
  234. package/src/tokens/web/components/checkbox/checkbox.json +24 -47
  235. package/src/tokens/web/components/checkboxset/checkboxset.json +1 -2
  236. package/src/tokens/web/components/chips/chips.json +36 -71
  237. package/src/tokens/web/components/color-picker/color-picker.json +3 -5
  238. package/src/tokens/web/components/container/container.json +5 -10
  239. package/src/tokens/web/components/currency/currency.json +7 -13
  240. package/src/tokens/web/components/data-table/data-table.json +47 -95
  241. package/src/tokens/web/components/date/date.json +26 -51
  242. package/src/tokens/web/components/dropdown-menu/dropdown-menu.json +17 -34
  243. package/src/tokens/web/components/fileupload/fileupload.json +37 -73
  244. package/src/tokens/web/components/form-controls/form-controls.json +42 -81
  245. package/src/tokens/web/components/grid-layout/grid-layout.json +4 -7
  246. package/src/tokens/web/components/icon/icon.json +7 -13
  247. package/src/tokens/web/components/iframe/iframe.json +3 -5
  248. package/src/tokens/web/components/label/label.json +10 -19
  249. package/src/tokens/web/components/list/list.json +13 -25
  250. package/src/tokens/web/components/message/message.json +15 -29
  251. package/src/tokens/web/components/modal-dialog/modal-dialog.json +24 -47
  252. package/src/tokens/web/components/nav/nav.json +17 -34
  253. package/src/tokens/web/components/page-content/page-content.json +2 -3
  254. package/src/tokens/web/components/page-footer/page-footer.json +11 -21
  255. package/src/tokens/web/components/page-header/page-header.json +11 -21
  256. package/src/tokens/web/components/page-left-nav/page-left-nav.json +47 -93
  257. package/src/tokens/web/components/page-right-nav/page-right-nav.json +47 -93
  258. package/src/tokens/web/components/page-top-nav/page-top-nav.json +9 -17
  259. package/src/tokens/web/components/pagination/pagination.json +30 -61
  260. package/src/tokens/web/components/panel/panel.json +32 -75
  261. package/src/tokens/web/components/picture/picture.json +9 -17
  262. package/src/tokens/web/components/popover/popover.json +26 -51
  263. package/src/tokens/web/components/progress-bar/progress-bar.json +8 -15
  264. package/src/tokens/web/components/progress-circle/progress-circle.json +4 -7
  265. package/src/tokens/web/components/radioset/radioset.json +17 -33
  266. package/src/tokens/web/components/rating/rating.json +11 -21
  267. package/src/tokens/web/components/richtext-editor/richtext-editor.json +99 -199
  268. package/src/tokens/web/components/scrollbar/scrollbar.json +8 -15
  269. package/src/tokens/web/components/search/search.json +32 -63
  270. package/src/tokens/web/components/spinner/spinner.json +8 -15
  271. package/src/tokens/web/components/switch/switch.json +13 -25
  272. package/src/tokens/web/components/tabs/tabs.json +25 -49
  273. package/src/tokens/web/components/tile/tile.json +5 -10
  274. package/src/tokens/web/components/time/time.json +34 -63
  275. package/src/tokens/web/components/toast/toast.json +28 -55
  276. package/src/tokens/web/components/toggle/toggle.json +13 -25
  277. package/src/tokens/web/components/video/video.json +3 -5
  278. package/src/tokens/web/components/wizard/wizard.json +51 -101
  279. package/src/utils/style-dictionary-utils.d.ts +1 -1
  280. package/src/utils/style-dictionary-utils.js +3 -44
  281. package/src/utils/style-dictionary-utils.js.map +1 -1
  282. package/cjs/src_tokens_mobile_components_form-controls_form-controls_json.foundation-css.cjs +0 -14
  283. package/cjs/src_tokens_mobile_components_form-wrapper_form-wrapper_json.foundation-css.cjs +0 -14
  284. package/cjs/src_tokens_mobile_components_navbar_navbar_json.foundation-css.cjs +0 -14
  285. package/src/styles/mobile/components/variables/form-controls.variant.less +0 -14
  286. package/src/styles/mobile/studio/advanced/styles.less +0 -2
  287. package/src/styles/mobile/studio/basic/icon.less +0 -21
  288. package/src/styles/mobile/studio/basic/label.less +0 -28
  289. package/src/styles/mobile/studio/basic/progress-bar.less +0 -6
  290. package/src/styles/mobile/studio/basic/progress-circle.less +0 -9
  291. package/src/styles/mobile/studio/basic/spinner.less +0 -6
  292. package/src/styles/mobile/studio/basic/styles.less +0 -11
  293. package/src/styles/mobile/studio/container/accordion.less +0 -26
  294. package/src/styles/mobile/studio/container/container.less +0 -18
  295. package/src/styles/mobile/studio/container/grid.less +0 -8
  296. package/src/styles/mobile/studio/container/panel.less +0 -46
  297. package/src/styles/mobile/studio/container/styles.less +0 -6
  298. package/src/styles/mobile/studio/container/tabs.less +0 -113
  299. package/src/styles/mobile/studio/container/tile.less +0 -7
  300. package/src/styles/mobile/studio/data/card.less +0 -25
  301. package/src/styles/mobile/studio/data/form.less +0 -22
  302. package/src/styles/mobile/studio/data/list.less +0 -3
  303. package/src/styles/mobile/studio/data/styles.less +0 -3
  304. package/src/styles/mobile/studio/device/barcode.less +0 -23
  305. package/src/styles/mobile/studio/device/camera.less +0 -4
  306. package/src/styles/mobile/studio/device/styles.less +0 -2
  307. package/src/styles/mobile/studio/dialogs/alert-dialog.less +0 -10
  308. package/src/styles/mobile/studio/dialogs/base-dialog.less +0 -31
  309. package/src/styles/mobile/studio/dialogs/confirm-dialog.less +0 -26
  310. package/src/styles/mobile/studio/dialogs/styles.less +0 -3
  311. package/src/styles/mobile/studio/input/calendar.less +0 -8
  312. package/src/styles/mobile/studio/input/chips.less +0 -11
  313. package/src/styles/mobile/studio/input/currency.less +0 -16
  314. package/src/styles/mobile/studio/input/date.less +0 -7
  315. package/src/styles/mobile/studio/input/number.less +0 -6
  316. package/src/styles/mobile/studio/input/select.less +0 -6
  317. package/src/styles/mobile/studio/input/slider.less +0 -49
  318. package/src/styles/mobile/studio/input/styles.less +0 -17
  319. package/src/styles/mobile/studio/input/text.less +0 -6
  320. package/src/styles/mobile/studio/input/textarea.less +0 -5
  321. package/src/styles/mobile/studio/layouts/appnavbar.less +0 -71
  322. package/src/styles/mobile/studio/layouts/content.less +0 -5
  323. package/src/styles/mobile/studio/layouts/page-content.less +0 -11
  324. package/src/styles/mobile/studio/layouts/page.less +0 -5
  325. package/src/styles/mobile/studio/layouts/styles.less +0 -5
  326. package/src/styles/mobile/studio/layouts/tabbar.less +0 -36
  327. package/src/styles/mobile/studio/navigation/nav.less +0 -3
  328. package/src/styles/mobile/studio/navigation/popover.less +0 -3
  329. package/src/styles/mobile/studio/navigation/styles.less +0 -3
  330. package/src/tokens/mobile/components/form-controls/form-controls.json +0 -263
  331. package/src/tokens/mobile/components/form-wrapper/form-wrapper.json +0 -369
  332. package/src/tokens/mobile/components/navbar/navbar.json +0 -341
  333. package/src/tokens/web/components/accordion/Token.Readme.md +0 -30
  334. package/src/tokens/web/components/anchor/Token.Readme.md +0 -20
  335. package/src/tokens/web/components/audio/Token.Readme.md +0 -9
  336. package/src/tokens/web/components/badge/Token.Readme.md +0 -19
  337. package/src/tokens/web/components/breadcrumb/Token.Readme.md +0 -21
  338. package/src/tokens/web/components/button/Token.Readme.md +0 -29
  339. package/src/tokens/web/components/button-group/Token.Readme.md +0 -9
  340. package/src/tokens/web/components/calendar/Token.Readme.md +0 -30
  341. package/src/tokens/web/components/cards/Token.Readme.md +0 -22
  342. package/src/tokens/web/components/carousel/Token.Readme.md +0 -20
  343. package/src/tokens/web/components/checkbox/Token.Readme.md +0 -24
  344. package/src/tokens/web/components/checkboxset/Token.Readme.md +0 -9
  345. package/src/tokens/web/components/chips/Token.Readme.md +0 -43
  346. package/src/tokens/web/components/color-picker/Token.Readme.md +0 -10
  347. package/src/tokens/web/components/container/Token.Readme.md +0 -13
  348. package/src/tokens/web/components/currency/Token.Readme.md +0 -14
  349. package/src/tokens/web/components/data-table/Token.Readme.md +0 -54
  350. package/src/tokens/web/components/date/Token.Readme.md +0 -33
  351. package/src/tokens/web/components/dropdown-menu/Token.Readme.md +0 -25
  352. package/src/tokens/web/components/fileupload/Token.Readme.md +0 -44
  353. package/src/tokens/web/components/form-controls/Token.Readme.md +0 -47
  354. package/src/tokens/web/components/grid-layout/Token.Readme.md +0 -11
  355. package/src/tokens/web/components/icon/Token.Readme.md +0 -14
  356. package/src/tokens/web/components/iframe/Token.Readme.md +0 -10
  357. package/src/tokens/web/components/label/Token.Readme.md +0 -17
  358. package/src/tokens/web/components/list/Token.Readme.md +0 -19
  359. package/src/tokens/web/components/message/Token.Readme.md +0 -22
  360. package/src/tokens/web/components/modal-dialog/Token.Readme.md +0 -31
  361. package/src/tokens/web/components/nav/Token.Readme.md +0 -25
  362. package/src/tokens/web/components/page-content/Token.Readme.md +0 -9
  363. package/src/tokens/web/components/page-footer/Token.Readme.md +0 -18
  364. package/src/tokens/web/components/page-header/Token.Readme.md +0 -18
  365. package/src/tokens/web/components/page-left-nav/Token.Readme.md +0 -54
  366. package/src/tokens/web/components/page-right-nav/Token.Readme.md +0 -53
  367. package/src/tokens/web/components/page-top-nav/Token.Readme.md +0 -16
  368. package/src/tokens/web/components/pagination/Token.Readme.md +0 -35
  369. package/src/tokens/web/components/panel/Token.Readme.md +0 -39
  370. package/src/tokens/web/components/picture/Token.Readme.md +0 -16
  371. package/src/tokens/web/components/popover/Token.Readme.md +0 -33
  372. package/src/tokens/web/components/progress-bar/Token.Readme.md +0 -15
  373. package/src/tokens/web/components/progress-circle/Token.Readme.md +0 -11
  374. package/src/tokens/web/components/radioset/Token.Readme.md +0 -24
  375. package/src/tokens/web/components/rating/Token.Readme.md +0 -14
  376. package/src/tokens/web/components/richtext-editor/Token.Readme.md +0 -106
  377. package/src/tokens/web/components/scrollbar/Token.Readme.md +0 -15
  378. package/src/tokens/web/components/search/Token.Readme.md +0 -39
  379. package/src/tokens/web/components/spinner/Token.Readme.md +0 -15
  380. package/src/tokens/web/components/switch/Token.Readme.md +0 -20
  381. package/src/tokens/web/components/tabs/Token.Readme.md +0 -32
  382. package/src/tokens/web/components/tile/Token.Readme.md +0 -13
  383. package/src/tokens/web/components/time/Token.Readme.md +0 -37
  384. package/src/tokens/web/components/toast/Token.Readme.md +0 -35
  385. package/src/tokens/web/components/toggle/Token.Readme.md +0 -20
  386. package/src/tokens/web/components/video/Token.Readme.md +0 -10
  387. package/src/tokens/web/components/wizard/Token.Readme.md +0 -58
  388. /package/src/styles/mobile/studio/advanced/{carousel.less → carousel/carousel.less} +0 -0
@@ -1,5 +1,4 @@
1
- .app-toggle-on,
2
- .app-toggle-handle-on {
1
+ .app-toggle-on {
3
2
  --wm-toggle-background-color: var(--wm-color-secondary);
4
3
  --wm-toggle-handle-color: var(--wm-color-on-secondary);
5
4
  }
@@ -1,7 +1,5 @@
1
- .app-wizard-active-step,
2
- .app-wizard-active-step-counter {
1
+ .app-wizard-active {
3
2
  --wm-wizard-step-indicator-background-color: var(--wm-color-secondary);
4
- --wm-wizard-step-indicator-border-color: var(--wm-color-secondary);
5
3
  --wm-wizard-step-count-color: var(--wm-color-on-secondary);
6
4
  --wm-wizard-step-icon-color: var(--wm-color-on-secondary);
7
5
  --wm-wizard-step-title-color: var(--wm-color-on-surface);
@@ -14,7 +12,6 @@
14
12
 
15
13
  .app-wizard-done-step {
16
14
  --wm-wizard-step-indicator-background-color: var(--wm-color-success);
17
- --wm-wizard-step-indicator-border-color: var(--wm-color-success);
18
15
  --wm-wizard-step-count-color: var(--wm-color-on-secondary);
19
16
  --wm-wizard-step-icon-color: var(--wm-color-on-secondary);
20
17
  --wm-wizard-step-title-color: var(--wm-color-on-surface);
@@ -1,9 +1,6 @@
1
- .app-form {
2
- &.app-login {
3
- background-color: transparent;
4
- padding-top: var(--wm-login-form-padding-top);
5
- padding-right: var(--wm-login-form-padding-right);
6
- padding-bottom: var(--wm-login-form-padding-bottom);
7
- padding-left: var(--wm-login-form-padding-left);
8
- }
1
+ .wm-studio .wm-right-panel-container .file-container-pane .wm-file-container .wm-workspace .workspace-content .canvas-panel .app-form.app-login{
2
+ padding-top: var(--wm-login-form-padding-top);
3
+ padding-right: var(--wm-login-form-padding-right);
4
+ padding-bottom: var(--wm-login-form-padding-bottom);
5
+ padding-left: var(--wm-login-form-padding-left);
9
6
  }
@@ -1,16 +1,5 @@
1
1
  .app-anchor {
2
- align-items: center;
3
- justify-content: center;
4
- .badge {
5
- float: none !important;
6
- right: 0;
7
- top: -12px;
8
- position: relative;
9
- }
10
- .app-icon {
11
- font-size: var(--wm-anchor-icon-size);
12
- }
13
- .anchor-caption {
14
- font-size: var(--wm-anchor-font-size);
15
- }
16
- }
2
+ display: inline-flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ }
@@ -1,21 +1,3 @@
1
- .app-button {
2
- width: auto;
3
- align-self: flex-start;
4
- .app-icon {
5
- font-size: var(--wm-btn-icon-size);
6
- }
7
- .btn-caption {
8
- font-weight: var(--wm-btn-font-weight);
9
- font-size: var(--wm-btn-font-size);
10
- text-transform: capitalize;
11
- &:empty {
12
- display: none;
13
- }
14
- }
15
- .badge {
16
- border: 1px solid #000;
17
- top: -8px;
18
- margin-left: -8px;
19
- right: initial;
20
- }
1
+ .wm-studio .wm-right-panel-container .file-container-pane .wm-file-container .wm-workspace .workspace-content .canvas-panel .app-button>.btn-caption:empty {
2
+ display: none;
21
3
  }
@@ -2,44 +2,45 @@
2
2
  @import (optional) url('../../../../components/basic/button-group.less');
3
3
  @import (optional) url('../../../../generated/variables/mobile/components/button-group.variant.less');
4
4
 
5
- .app-button-group {
6
- display: inline-flex;
7
- border-width: 0px;
8
- border-radius: var(--wm-button-group-radius);
5
+ .wm-app {
6
+ .app-button-group {
7
+ display: inline-flex !important;
8
+ border-radius: var(--wm-button-group-radius) !important;
9
9
 
10
10
  .btn {
11
11
  border-radius: 0;
12
- background-color: var(--wm-btn-background);
12
+ background-color: var(--wm-btn-background) !important;
13
13
 
14
14
  &:first-of-type {
15
- border-top-left-radius: var(--wm-button-group-radius);
16
- border-bottom-left-radius: var(--wm-button-group-radius);
15
+ border-top-left-radius: var(--wm-button-group-radius) !important;
16
+ border-bottom-left-radius: var(--wm-button-group-radius) !important;
17
17
  }
18
18
 
19
19
  &:last-of-type {
20
- border-top-right-radius: var(--wm-button-group-radius);
21
- border-bottom-right-radius: var(--wm-button-group-radius);
20
+ border-top-right-radius: var(--wm-button-group-radius) !important;
21
+ border-bottom-right-radius: var(--wm-button-group-radius) !important;
22
22
  }
23
23
  }
24
24
 
25
25
  &.btn-group-vertical {
26
- flex-direction: column;
26
+ flex-direction: column !important;
27
27
 
28
28
  .btn {
29
29
  border-radius: 0;
30
- width: 100%;
30
+ width: 100% !important;
31
31
 
32
32
  &:first-of-type {
33
- border-top-left-radius: var(--wm-button-group-radius);
34
- border-top-right-radius: var(--wm-button-group-radius);
35
- border-bottom-left-radius: 0;
33
+ border-top-left-radius: var(--wm-button-group-radius) !important;
34
+ border-top-right-radius: var(--wm-button-group-radius) !important;
35
+ border-bottom-left-radius: 0 !important;
36
36
  }
37
37
 
38
38
  &:last-of-type {
39
- border-top-right-radius: 0;
40
- border-bottom-left-radius: var(--wm-button-group-radius);
41
- border-bottom-right-radius: var(--wm-button-group-radius);
39
+ border-top-right-radius: 0 !important;
40
+ border-bottom-left-radius: var(--wm-button-group-radius) !important;
41
+ border-bottom-right-radius: var(--wm-button-group-radius) !important;
42
42
  }
43
43
  }
44
44
  }
45
- }
45
+ }
46
+ }
@@ -1,42 +1,13 @@
1
- .app-message {
2
- display: flex;
3
- flex-direction: row;
4
- align-content: center;
5
-
6
- .close {
7
- position: inherit;
8
- top: 3px;
9
- }
10
-
11
- span {
12
- flex: 1;
13
- }
14
-
15
- .icon {
16
- font-size: var(--wm-message-icon-size);
17
- }
18
-
19
- div:nth-child(2) {
20
- flex: 1;
21
- padding-left: 16px;
22
- }
23
-
24
- button.close {
25
- // color: var(--wm-message-color); //TODO Button color missing
26
- opacity: 1;
27
- text-shadow: none;
1
+ .wm-studio .wm-right-panel-container .file-container-pane .wm-file-container .wm-workspace .workspace-content .canvas-panel .app-message button.close {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: center;
28
5
  padding-left: var(--wm-message-close-btn-padding-left);
29
6
  padding-right: var(--wm-message-close-btn-padding-right);
30
- border-radius: var(--wm-message-close-btn-border-radius);
7
+ border-radius: var(--wm-message-close-btn-border-radius) !important;
31
8
  border-color: var(--wm-message-close-btn-border-color) !important;
32
9
  background-color: var(--wm-message-close-btn-background-color) !important;
33
10
  ripple-color:var(--wm-message-close-btn-ripple-color) !important;
34
- display: flex;
35
- flex-direction: row;
36
- justify-content: center;
37
- align-items: center;
38
- top: 0;
39
- }
40
11
  }
41
12
 
42
13
  .wm-app .app-message > span {
@@ -1,31 +1,7 @@
1
- .app-search {
2
- .app-textbox {
3
- border-top-left-radius: 0px;
4
- border-bottom-left-radius: 0px;
5
- font-size: 16px;
6
- border-width: var(--wm-search-border-width);
7
- border-right-width: 0;
8
- padding: 8px 12px;
9
- border-radius: 0px;
10
- }
11
- &[type="autocomplete"]>input.app-textbox {
12
- border-right-width: var(--wm-search-border-width);
13
- border-radius: var(--wm-search-border-radius);
14
- }
15
- .input-group-addon {
16
- height: var(--wm-search-height);
17
- ripple-color: var(--wm-search-btn-ripple-color);
18
- background-color: var(--wm-search-btn-background-color);
19
- border-top-right-radius: var(--wm-search-border-radius);
20
- border-bottom-right-radius: var(--wm-search-border-radius);
21
- border-color: var(--wm-search-border-color);
22
- border-width: var(--wm-search-border-width);
23
- border-style: solid;
24
- border-left-width: 0;
25
- }
26
-
27
- &-button>i.app-icon.app-icon {
28
- color: var(--wm-search-btn-icon-color);
29
- font-size: var(--wm-search-btn-icon-size);
30
- }
1
+ .wm-studio .wm-right-panel-container .file-container-pane .wm-file-container .wm-workspace .workspace-content .canvas-panel .app-search-button>i.app-icon.app-icon{
2
+ color:var(--wm-search-btn-icon-color);
3
+ }
4
+
5
+ .wm-studio .wm-right-panel-container .file-container-pane .wm-file-container .wm-workspace .workspace-content .canvas-panel .app-textbox{
6
+ border-radius: 0px;
31
7
  }
@@ -0,0 +1,34 @@
1
+ .wm-studio .wm-right-panel-container .file-container-pane .wm-file-container .wm-workspace .workspace-content .canvas-panel .app-tabs .nav-tabs .tab-header.active a{
2
+ color: var(--wm-tabs-item-heading-text);
3
+ background-color: var(--wm-tabs-item-heading-background);
4
+ }
5
+
6
+ .wm-studio .wm-right-panel-container .file-container-pane .wm-file-container .wm-workspace .workspace-content .canvas-panel .app-tabs {
7
+ background-color: var(--wm-tabs-background);
8
+ border-radius: var(--wm-tabs-border-radius);
9
+ border-style: var(--wm-tabs-border-style);
10
+ border-width: var(--wm-tabs-border-width);
11
+ border-bottom-width: var(--wm-tabs-border-width);
12
+ border-color: var(--wm-tabs-border-color);
13
+ }
14
+ .wm-studio .wm-right-panel-container .file-container-pane .wm-file-container .wm-workspace .workspace-content .canvas-panel .app-tabs .nav-tabs {
15
+ background-color: var(--wm-tabs-heading-background);
16
+ border-radius: var(--wm-tabs-heading-border-radius);
17
+ border-style: var(--wm-tabs-heading-border-style);
18
+ border-width: var(--wm-tabs-heading-border-width);
19
+ border-color: var(--wm-tabs-heading-border-color);
20
+ }
21
+ .wm-studio .wm-right-panel-container .file-container-pane .wm-file-container .wm-workspace .workspace-content .canvas-panel .app-tabs .nav-tabs .tab-header a {
22
+ background-color:var(--wm-tabs-item-heading-background);
23
+ padding-bottom:var(--wm-tabs-item-heading-padding);
24
+ padding-top: var(--wm-tabs-item-heading-padding);
25
+ padding-bottom: var(--wm-tabs-item-heading-padding);
26
+ background-color: var(--wm-tabs-item-heading-background);
27
+ padding-top:var(--wm-tabs-item-heading-padding);
28
+ }
29
+ .wm-studio .wm-right-panel-container .file-container-pane .wm-file-container .wm-workspace .workspace-content .canvas-panel .app-tabs .nav-tabs .tab-header a .tab-heading{
30
+ font-size: var(--wm-tabs-item-heading-font-size);
31
+ font-weight: var(--wm-tabs-item-heading-font-weight);
32
+ line-height: var(--wm-tabs-item-heading-line-height);
33
+ color: var(--wm-tabs-item-heading-color);
34
+ }
@@ -2,13 +2,11 @@
2
2
  @import (optional) url('../../../../components/container/wizard.less');
3
3
  @import (optional) url('../../../../generated/variables/mobile/components/wizard.variant.less');
4
4
  .app-wizard {
5
- display: flex;
6
- flex-direction: column;
7
5
  .app-wizard-actions {
8
6
  display: flex;
9
7
  flex-direction: row;
10
8
  align-items: center;
11
- background-color: transparent;
9
+
12
10
  .btn {
13
11
  --wm-btn-min-width: 112px;
14
12
  }
@@ -0,0 +1,36 @@
1
+ .wm-studio .wm-right-panel-container .file-container-pane .wm-file-container .wm-workspace .workspace-content .canvas-panel .app-card .app-card-header {
2
+ padding: var(--wm-card-header-padding) !important;
3
+ background-color: var(--wm-card-header-background-color) !important;
4
+ width: var(--wm-card-header-width);
5
+ }
6
+
7
+ .wm-studio .wm-right-panel-container .file-container-pane .wm-file-container .wm-workspace .workspace-content .canvas-panel .card-default {
8
+ border-width: var(--wm-card-border-width);
9
+ border-style: var(--wm-card-border-style);
10
+ border-color: var(--wm-card-border-color) !important;
11
+ border-radius: var(--wm-card-border-radius);
12
+ background-color: var(--wm-card-background);
13
+ padding: var(--wm-card-padding);
14
+ }
15
+
16
+ .wm-studio .wm-right-panel-container .file-container-pane .wm-file-container .wm-workspace .workspace-content .canvas-panel .card-elevated {
17
+ border-width: var(--wm-card-border-width);
18
+ border-style: var(--wm-card-border-style);
19
+ border-color: var(--wm-card-border-color) !important;
20
+ border-radius: var(--wm-card-border-radius);
21
+ background-color: var(--wm-card-background);
22
+ padding: var(--wm-card-padding);
23
+ }
24
+
25
+ .wm-studio .wm-right-panel-container .file-container-pane .wm-file-container .wm-workspace .workspace-content .canvas-panel .card-filled {
26
+ border-width: var(--wm-card-border-width);
27
+ border-style: var(--wm-card-border-style);
28
+ border-color: var(--wm-card-border-color) !important;
29
+ border-radius: var(--wm-card-border-radius);
30
+ background-color: var(--wm-card-background);
31
+ padding: var(--wm-card-padding);
32
+ }
33
+
34
+ .wm-studio .wm-right-panel-container .file-container-pane .wm-file-container .wm-workspace .workspace-content .canvas-panel .app-panel .panel-heading {
35
+ border-color: transparent !important;
36
+ }
@@ -0,0 +1,3 @@
1
+ .wm-studio .wm-right-panel-container .file-container-pane .wm-file-container .wm-workspace .workspace-content .canvas-panel .app-barcode{
2
+ padding-right: var(--wm-barcodescanner-padding-right) !important;
3
+ }
@@ -1,77 +1,102 @@
1
- .app-checkbox {
1
+ /* Checkbox component styles and tokens */
2
+ @import (optional) url('../../../../components/input/checkbox.less');
3
+ @import (optional) url('../../../../generated/variables/mobile/components/checkbox.variant.less');
2
4
 
3
- input[type="checkbox"] {
4
- appearance: none;
5
- margin: 0 8px 0 0;
6
- cursor: pointer;
7
- transition: all 0.2s ease;
5
+ .wm-app {
6
+ .app-checkbox {
7
+ position: relative;
8
8
 
9
- // root box
10
- & {
11
- width: var(--wm-checkbox-width);
12
- height: var(--wm-checkbox-height);
13
- background-color: var(--wm-checkbox-background-color);
14
- border: var(--wm-checkbox-border-width) solid var(--wm-checkbox-border-color);
15
- border-radius: var(--wm-checkbox-border-radius);
16
- display: flex;
17
- align-items: center;
18
- justify-content: center;
19
- }
20
-
21
- // checked state
22
- &:checked {
23
- background-color: var(--wm-checkbox-background-color);
24
- border-color: var(--wm-checkbox-border-color);
9
+ &.checkbox {
10
+ display: inline-block;
25
11
 
26
- &::after {
27
- content: "";
28
- display: block;
29
- width: calc(var(--wm-checkbox-icon-size)/3);
30
- height: calc(var(--wm-checkbox-icon-size)/1.5);
31
- border-right: 3px solid var(--wm-checkbox-icon-color);
32
- border-bottom: 3px solid var(--wm-checkbox-icon-color);
33
- transform: rotate(45deg);
34
- top: 3px;
35
- left: 6px;
36
- }
37
- }
12
+ >label {
13
+ padding: 0;
14
+ display: inline-flex;
15
+ width: auto;
16
+ min-height: var(--wm-checkbox-width);
17
+ margin-left: var(--wm-checkbox-label-margin-left);
18
+ font-size: var(--wm-checkbox-label-font-size);
19
+ font-family: var(--wm-checkbox-label-font-family);
20
+ font-weight: normal;
21
+ line-height: normal;
22
+ letter-spacing: normal;
23
+ cursor: pointer;
38
24
 
39
- // disabled state
40
- &:disabled {
41
- cursor: not-allowed;
42
- opacity: 0.6;
43
- }
44
- }
25
+ >input[type="checkbox"] {
26
+ width: var(--wm-checkbox-width);
27
+ height: var(--wm-checkbox-width);
28
+ //background-color: var(--wm-checkbox-background-color);
29
+ //border-color: var(--wm-checkbox-border-color);
30
+ border-width: var(--wm-checkbox-border-width);
31
+ appearance: none;
32
+ -moz-appearance: none;
33
+ -webkit-appearance: none;
34
+ margin: 0;
35
+ position: absolute;
36
+ left: 0px;
37
+ z-index: 1;
38
+ cursor: pointer;
39
+ opacity: 1;
40
+ // background: var(--wm-checkbox-state-layer-color); // not in mobile tokens
45
41
 
46
- &.checkbox {
42
+ &:checked {
43
+ +.caption {
44
+ &:after {
45
+ transform: translate(3px, 4px) rotate(-45deg) scale(1);
46
+ }
47
+ }
48
+ }
49
+
50
+ }
51
+ >input[type="checkbox"]:disabled {
52
+ // Use a token if available, or set a variable
53
+ // background-color: var(--wm-checkbox-disabled-background-color);
54
+ // border-color: var(--wm-checkbox-disabled-border-color);
55
+ cursor: not-allowed;
56
+ }
57
+
58
+ >input[type="checkbox"]:disabled + .caption:before,
59
+ >input[type="checkbox"]:disabled + .caption:after {
60
+ opacity: var(--wm-checkbox-disabled-opacity, 0.38);
61
+ cursor: not-allowed;
62
+ }
47
63
 
48
- >label {
49
- padding: 0;
50
- display: inline-flex;
51
- width: auto;
52
- min-height: var(--wm-checkbox-width);
53
- margin-left: var(--wm-checkbox-label-margin-left);
54
- font-size: var(--wm-checkbox-label-font-size);
55
- font-family: var(--wm-checkbox-label-font-family);
56
- font-weight: normal;
57
- line-height: normal;
58
- letter-spacing: normal;
59
- cursor: pointer;
64
+ .caption {
65
+ display: inline-block;
66
+ padding-left: 0;
67
+ padding-top: 0;
68
+ margin-left: var(--wm-checkbox-label-margin-left);
60
69
 
70
+ &:before,
71
+ &:after {
72
+ content: "";
73
+ display: inline-block;
74
+ position: absolute;
75
+ }
61
76
 
62
- .caption {
63
- display: inline-block;
64
- padding-left: 20px;
65
- padding-top: 0;
66
- margin-left: var(--wm-checkbox-label-margin-left);
77
+ &:before {
78
+ width: var(--wm-checkbox-width);
79
+ height: var(--wm-checkbox-width);
80
+ left: 0;
81
+ top: 0;
82
+ background: var(--wm-checkbox-background-color);
83
+ border: var(--wm-checkbox-border-width) solid var(--wm-checkbox-border-color);
84
+ border-radius: var(--wm-checkbox-border-radius);
85
+ box-sizing: border-box;
86
+ }
67
87
 
68
- &:before,
69
- &:after {
70
- content: "";
71
- display: inline-block;
72
- position: absolute;
88
+ &:after {
89
+ top: 0;
90
+ left: 0;
91
+ width: var(--wm-space-2);
92
+ height: var(--wm-space-2);
93
+ border: solid 2px var(--wm-checkbox-icon-color);
94
+ border-right: none;
95
+ border-top: none;
96
+ transform: translate(3px, 4px) rotate(-45deg) scale(0);
97
+ transition: all 0.2s ease-in-out;
98
+ }
73
99
  }
74
-
75
100
  }
76
101
  }
77
102
  }