@wavemaker/foundation-css 11.14.1-rc.6310 → 11.14.2-rc.242
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.
- package/cjs/foundation-css.cjs +163 -29
- package/cjs/src_tokens_mobile_components_accordion_accordion_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_anchor_anchor_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_audio_audio_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_barcodescanner_barcodescanner_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_bottomsheet_bottomsheet_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_button-group_button-group_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_button_button_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_calendar_calendar_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_camera_camera_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_cards_cards_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_carousel_carousel_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_checkbox_checkbox_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_checkboxset_checkboxset_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_chips_chips_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_container_container_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_datetime_datetime_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_dropdown-menu_dropdown-menu_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_fileupload_fileupload_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_form-controls_form-controls_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_form-wrapper_form-wrapper_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_icon_icon_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_label_label_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_left-nav_left-nav_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_list_list_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_login_login_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_lottie_lottie_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_message_message_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_modal-dialog_modal-dialog_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_nav_nav_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_navbar_navbar_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_page-content_page-content_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_panel_panel_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_picture_picture_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_popover_popover_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_progress-bar_progress-bar_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_progress-circle_progress-circle_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_radioset_radioset_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_rating_rating_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_search_search_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_select_select_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_slider_slider_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_spinner_spinner_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_switch_switch_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_tabbar_tabbar_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_tabs_tabs_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_textarea_textarea_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_tile_tile_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_toggle_toggle_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_video_video_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_webview_webview_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_mobile_components_wizard_wizard_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_accordion_accordion_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_anchor_anchor_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_audio_audio_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_badge_badge_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_breadcrumb_breadcrumb_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_button-group_button-group_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_button_button_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_calendar_calendar_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_cards_cards_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_carousel_carousel_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_checkbox_checkbox_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_checkboxset_checkboxset_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_chips_chips_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_color-picker_color-picker_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_container_container_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_currency_currency_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_data-table_data-table_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_date_date_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_dropdown-menu_dropdown-menu_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_fileupload_fileupload_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_form-controls_form-controls_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_grid-layout_grid-layout_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_icon_icon_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_iframe_iframe_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_label_label_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_list_list_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_message_message_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_modal-dialog_modal-dialog_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_nav_nav_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_page-content_page-content_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_page-footer_page-footer_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_page-header_page-header_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_page-left-nav_page-left-nav_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_page-right-nav_page-right-nav_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_page-top-nav_page-top-nav_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_pagination_pagination_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_panel_panel_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_picture_picture_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_popover_popover_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_progress-bar_progress-bar_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_progress-circle_progress-circle_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_radioset_radioset_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_rating_rating_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_richtext-editor_richtext-editor_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_scrollbar_scrollbar_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_search_search_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_spinner_spinner_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_switch_switch_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_tabs_tabs_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_tile_tile_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_time_time_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_toast_toast_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_toggle_toggle_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_video_video_json.foundation-css.cjs +1 -1
- package/cjs/src_tokens_web_components_wizard_wizard_json.foundation-css.cjs +1 -1
- package/foundation/foundation.css +129 -269
- package/foundation/foundation.min.css +1 -1
- package/native_mobile.index.d.ts +27 -2
- package/native_mobile.index.js +39 -5
- package/native_mobile.index.js.map +1 -1
- package/npm-shrinkwrap.json +8 -8
- package/package-lock.json +8 -8
- package/package.json +1 -1
- package/src/styles/mobile/components/basic/icon.less +4 -4
- package/src/styles/mobile/components/basic/progress-bar.less +2 -2
- package/src/styles/mobile/components/basic/progress-circle.less +3 -0
- package/src/styles/mobile/components/basic/search.less +3 -3
- package/src/styles/mobile/components/container/accordion.less +41 -17
- package/src/styles/mobile/components/container/panel.less +4 -1
- package/src/styles/mobile/components/container/tabs/tab-header.less +3 -6
- package/src/styles/mobile/components/container/tile.less +1 -1
- package/src/styles/mobile/components/container/wizard.less +2 -2
- package/src/styles/mobile/components/container.less +45 -6
- package/src/styles/mobile/components/data/card.less +1 -6
- package/src/styles/mobile/components/data/form.less +160 -104
- package/src/styles/mobile/components/data/list.less +10 -44
- package/src/styles/mobile/components/input/checkbox.less +3 -10
- package/src/styles/mobile/components/input/checkboxset.less +1 -9
- package/src/styles/mobile/components/input/chips.less +4 -4
- package/src/styles/mobile/components/input/radioset.less +2 -6
- package/src/styles/mobile/components/input/toggle.less +5 -5
- package/src/styles/mobile/components/navigation/appnavbar.less +53 -17
- package/src/styles/mobile/components/navigation/menu.less +5 -1
- package/src/styles/mobile/components/navigation/popover.less +26 -0
- package/src/styles/mobile/components/page/page-content.less +1 -1
- package/src/styles/mobile/components/tokens.light.css +135 -102
- package/src/styles/mobile/components/variables/accordion.variant.less +7 -1
- package/src/styles/mobile/components/variables/button.variant.less +1 -1
- package/src/styles/mobile/components/variables/checkbox.variant.less +3 -2
- package/src/styles/mobile/components/variables/checkboxset.variant.less +4 -1
- package/src/styles/mobile/components/variables/chips.variant.less +2 -1
- package/src/styles/mobile/components/variables/container.variant.less +6 -6
- package/src/styles/mobile/components/variables/form-controls.variant.less +14 -0
- package/src/styles/mobile/components/variables/radioset.variant.less +2 -1
- package/src/styles/mobile/components/variables/tabbar.variant.less +3 -1
- package/src/styles/mobile/components/variables/tabs.variant.less +7 -2
- package/src/styles/mobile/components/variables/toggle.variant.less +2 -1
- package/src/styles/mobile/components/variables/wizard.variant.less +4 -1
- package/src/styles/mobile/studio/advanced/login.less +8 -5
- package/src/styles/mobile/studio/advanced/styles.less +2 -0
- package/src/styles/mobile/studio/basic/anchor.less +15 -4
- package/src/styles/mobile/studio/basic/{buttongroup.less → button-group.less} +18 -19
- package/src/styles/mobile/studio/basic/button.less +20 -2
- package/src/styles/mobile/studio/basic/icon.less +21 -0
- package/src/styles/mobile/studio/basic/label.less +28 -0
- package/src/styles/mobile/studio/basic/message.less +34 -5
- package/src/styles/mobile/studio/basic/progress-bar.less +6 -0
- package/src/styles/mobile/studio/basic/progress-circle.less +9 -0
- package/src/styles/mobile/studio/basic/search.less +30 -6
- package/src/styles/mobile/studio/basic/spinner.less +6 -0
- package/src/styles/mobile/studio/basic/styles.less +11 -0
- package/src/styles/mobile/studio/container/accordion.less +26 -0
- package/src/styles/mobile/studio/container/container.less +18 -0
- package/src/styles/mobile/studio/container/grid.less +8 -0
- package/src/styles/mobile/studio/container/panel.less +46 -0
- package/src/styles/mobile/studio/container/styles.less +6 -0
- package/src/styles/mobile/studio/container/tabs.less +113 -0
- package/src/styles/mobile/studio/container/tile.less +7 -0
- package/src/styles/mobile/studio/container/wizard.less +3 -1
- package/src/styles/mobile/studio/data/card.less +25 -0
- package/src/styles/mobile/studio/data/form.less +22 -0
- package/src/styles/mobile/studio/data/list.less +3 -0
- package/src/styles/mobile/studio/data/styles.less +3 -0
- package/src/styles/mobile/studio/device/barcode.less +23 -0
- package/src/styles/mobile/studio/device/camera.less +4 -0
- package/src/styles/mobile/studio/device/styles.less +2 -0
- package/src/styles/mobile/studio/dialogs/alert-dialog.less +10 -0
- package/src/styles/mobile/studio/dialogs/base-dialog.less +31 -0
- package/src/styles/mobile/studio/dialogs/confirm-dialog.less +26 -0
- package/src/styles/mobile/studio/dialogs/styles.less +3 -0
- package/src/styles/mobile/studio/input/calendar.less +8 -0
- package/src/styles/mobile/studio/input/checkbox.less +64 -89
- package/src/styles/mobile/studio/input/checkboxset.less +61 -98
- package/src/styles/mobile/studio/input/chips.less +11 -0
- package/src/styles/mobile/studio/input/currency.less +16 -0
- package/src/styles/mobile/studio/input/date.less +7 -0
- package/src/styles/mobile/studio/input/epoch/datetime-picker-modal.less +7 -7
- package/src/styles/mobile/studio/input/form.less +143 -74
- package/src/styles/mobile/studio/input/number.less +6 -0
- package/src/styles/mobile/studio/input/radioset.less +1 -6
- package/src/styles/mobile/studio/input/rating.less +19 -12
- package/src/styles/mobile/studio/input/select.less +6 -0
- package/src/styles/mobile/studio/input/slider.less +49 -0
- package/src/styles/mobile/studio/input/styles.less +17 -0
- package/src/styles/mobile/studio/input/switch.less +12 -3
- package/src/styles/mobile/studio/input/text.less +6 -0
- package/src/styles/mobile/studio/input/textarea.less +5 -0
- package/src/styles/mobile/studio/input/toggle.less +10 -7
- package/src/styles/mobile/studio/layouts/appnavbar.less +71 -0
- package/src/styles/mobile/studio/layouts/content.less +5 -0
- package/src/styles/mobile/studio/layouts/page-content.less +11 -0
- package/src/styles/mobile/studio/layouts/page.less +5 -0
- package/src/styles/mobile/studio/layouts/styles.less +5 -0
- package/src/styles/mobile/studio/layouts/tabbar.less +36 -0
- package/src/styles/mobile/studio/navigation/menu.less +19 -17
- package/src/styles/mobile/studio/navigation/nav.less +3 -0
- package/src/styles/mobile/studio/navigation/popover.less +3 -0
- package/src/styles/mobile/studio/navigation/styles.less +3 -0
- package/src/styles/mobile/studio/styles.less +17 -24
- package/src/tokens/mobile/components/accordion/accordion.json +216 -36
- package/src/tokens/mobile/components/anchor/anchor.json +60 -12
- package/src/tokens/mobile/components/audio/audio.json +5 -1
- package/src/tokens/mobile/components/barcodescanner/barcodescanner.json +85 -17
- package/src/tokens/mobile/components/bottomsheet/bottomsheet.json +95 -19
- package/src/tokens/mobile/components/button/button.json +175 -36
- package/src/tokens/mobile/components/button-group/button-group.json +15 -3
- package/src/tokens/mobile/components/calendar/calendar.json +185 -37
- package/src/tokens/mobile/components/camera/camera.json +40 -8
- package/src/tokens/mobile/components/cards/cards.json +50 -10
- package/src/tokens/mobile/components/carousel/carousel.json +145 -29
- package/src/tokens/mobile/components/checkbox/checkbox.json +112 -24
- package/src/tokens/mobile/components/checkboxset/checkboxset.json +177 -33
- package/src/tokens/mobile/components/chips/chips.json +231 -47
- package/src/tokens/mobile/components/container/container.json +105 -29
- package/src/tokens/mobile/components/datetime/datetime.json +115 -23
- package/src/tokens/mobile/components/dropdown-menu/dropdown-menu.json +160 -25
- package/src/tokens/mobile/components/fileupload/fileupload.json +60 -12
- package/src/tokens/mobile/components/form-controls/form-controls.json +263 -0
- package/src/tokens/mobile/components/form-wrapper/form-wrapper.json +369 -0
- package/src/tokens/mobile/components/icon/icon.json +30 -6
- package/src/tokens/mobile/components/label/label.json +65 -13
- package/src/tokens/mobile/components/left-nav/left-nav.json +30 -6
- package/src/tokens/mobile/components/list/list.json +107 -145
- package/src/tokens/mobile/components/login/login.json +40 -8
- package/src/tokens/mobile/components/lottie/lottie.json +10 -2
- package/src/tokens/mobile/components/message/message.json +115 -23
- package/src/tokens/mobile/components/modal-dialog/modal-dialog.json +135 -27
- package/src/tokens/mobile/components/nav/nav.json +60 -12
- package/src/tokens/mobile/components/navbar/navbar.json +341 -0
- package/src/tokens/mobile/components/page-content/page-content.json +14 -2
- package/src/tokens/mobile/components/panel/panel.json +150 -54
- package/src/tokens/mobile/components/picture/picture.json +45 -9
- package/src/tokens/mobile/components/popover/popover.json +212 -25
- package/src/tokens/mobile/components/progress-bar/progress-bar.json +60 -12
- package/src/tokens/mobile/components/progress-circle/progress-circle.json +50 -4
- package/src/tokens/mobile/components/radioset/radioset.json +136 -28
- package/src/tokens/mobile/components/rating/rating.json +50 -10
- package/src/tokens/mobile/components/search/search.json +221 -45
- package/src/tokens/mobile/components/select/select.json +80 -16
- package/src/tokens/mobile/components/slider/slider.json +55 -11
- package/src/tokens/mobile/components/spinner/spinner.json +45 -9
- package/src/tokens/mobile/components/switch/switch.json +80 -16
- package/src/tokens/mobile/components/tabbar/tabbar.json +161 -33
- package/src/tokens/mobile/components/tabs/tabs.json +158 -36
- package/src/tokens/mobile/components/textarea/textarea.json +5 -1
- package/src/tokens/mobile/components/tile/tile.json +36 -8
- package/src/tokens/mobile/components/toggle/toggle.json +81 -17
- package/src/tokens/mobile/components/video/video.json +10 -2
- package/src/tokens/mobile/components/webview/webview.json +5 -1
- package/src/tokens/mobile/components/wizard/wizard.json +332 -64
- package/src/tokens/mobile/global/border-style/border-style.json +0 -42
- package/src/tokens/web/components/accordion/Token.Readme.md +30 -0
- package/src/tokens/web/components/accordion/accordion.json +113 -31
- package/src/tokens/web/components/anchor/Token.Readme.md +20 -0
- package/src/tokens/web/components/anchor/anchor.json +25 -13
- package/src/tokens/web/components/audio/Token.Readme.md +9 -0
- package/src/tokens/web/components/audio/audio.json +3 -2
- package/src/tokens/web/components/badge/Token.Readme.md +19 -0
- package/src/tokens/web/components/badge/badge.json +22 -11
- package/src/tokens/web/components/breadcrumb/Token.Readme.md +21 -0
- package/src/tokens/web/components/breadcrumb/breadcrumb.json +115 -102
- package/src/tokens/web/components/button/Token.Readme.md +29 -0
- package/src/tokens/web/components/button/button.json +57 -31
- package/src/tokens/web/components/button-group/Token.Readme.md +9 -0
- package/src/tokens/web/components/button-group/button-group.json +3 -2
- package/src/tokens/web/components/calendar/Token.Readme.md +30 -0
- package/src/tokens/web/components/calendar/calendar.json +45 -23
- package/src/tokens/web/components/cards/Token.Readme.md +22 -0
- package/src/tokens/web/components/cards/cards.json +29 -15
- package/src/tokens/web/components/carousel/Token.Readme.md +20 -0
- package/src/tokens/web/components/carousel/carousel.json +30 -15
- package/src/tokens/web/components/checkbox/Token.Readme.md +24 -0
- package/src/tokens/web/components/checkbox/checkbox.json +47 -24
- package/src/tokens/web/components/checkboxset/Token.Readme.md +9 -0
- package/src/tokens/web/components/checkboxset/checkboxset.json +2 -1
- package/src/tokens/web/components/chips/Token.Readme.md +43 -0
- package/src/tokens/web/components/chips/chips.json +71 -36
- package/src/tokens/web/components/color-picker/Token.Readme.md +10 -0
- package/src/tokens/web/components/color-picker/color-picker.json +5 -3
- package/src/tokens/web/components/container/Token.Readme.md +13 -0
- package/src/tokens/web/components/container/container.json +18 -6
- package/src/tokens/web/components/currency/Token.Readme.md +14 -0
- package/src/tokens/web/components/currency/currency.json +13 -7
- package/src/tokens/web/components/data-table/Token.Readme.md +54 -0
- package/src/tokens/web/components/data-table/data-table.json +95 -47
- package/src/tokens/web/components/date/Token.Readme.md +33 -0
- package/src/tokens/web/components/date/date.json +51 -26
- package/src/tokens/web/components/dropdown-menu/Token.Readme.md +25 -0
- package/src/tokens/web/components/dropdown-menu/dropdown-menu.json +50 -27
- package/src/tokens/web/components/fileupload/Token.Readme.md +44 -0
- package/src/tokens/web/components/fileupload/fileupload.json +73 -37
- package/src/tokens/web/components/form-controls/Token.Readme.md +47 -0
- package/src/tokens/web/components/form-controls/form-controls.json +85 -46
- package/src/tokens/web/components/grid-layout/Token.Readme.md +11 -0
- package/src/tokens/web/components/grid-layout/grid-layout.json +7 -4
- package/src/tokens/web/components/icon/Token.Readme.md +14 -0
- package/src/tokens/web/components/icon/icon.json +13 -7
- package/src/tokens/web/components/iframe/Token.Readme.md +10 -0
- package/src/tokens/web/components/iframe/iframe.json +5 -3
- package/src/tokens/web/components/label/Token.Readme.md +17 -0
- package/src/tokens/web/components/label/label.json +19 -10
- package/src/tokens/web/components/list/Token.Readme.md +19 -0
- package/src/tokens/web/components/list/list.json +30 -18
- package/src/tokens/web/components/message/Token.Readme.md +22 -0
- package/src/tokens/web/components/message/message.json +29 -15
- package/src/tokens/web/components/modal-dialog/Token.Readme.md +31 -0
- package/src/tokens/web/components/modal-dialog/modal-dialog.json +47 -24
- package/src/tokens/web/components/nav/Token.Readme.md +25 -0
- package/src/tokens/web/components/nav/nav.json +35 -18
- package/src/tokens/web/components/page-content/Token.Readme.md +9 -0
- package/src/tokens/web/components/page-content/page-content.json +3 -2
- package/src/tokens/web/components/page-footer/Token.Readme.md +18 -0
- package/src/tokens/web/components/page-footer/page-footer.json +21 -11
- package/src/tokens/web/components/page-header/Token.Readme.md +18 -0
- package/src/tokens/web/components/page-header/page-header.json +21 -11
- package/src/tokens/web/components/page-left-nav/Readme.md +4 -4
- package/src/tokens/web/components/page-left-nav/Token.Readme.md +54 -0
- package/src/tokens/web/components/page-left-nav/page-left-nav.json +100 -54
- package/src/tokens/web/components/page-right-nav/Readme.md +4 -4
- package/src/tokens/web/components/page-right-nav/Token.Readme.md +53 -0
- package/src/tokens/web/components/page-right-nav/page-right-nav.json +101 -55
- package/src/tokens/web/components/page-top-nav/Token.Readme.md +16 -0
- package/src/tokens/web/components/page-top-nav/page-top-nav.json +17 -391
- package/src/tokens/web/components/pagination/Token.Readme.md +35 -0
- package/src/tokens/web/components/pagination/pagination.json +65 -34
- package/src/tokens/web/components/panel/Token.Readme.md +39 -0
- package/src/tokens/web/components/panel/panel.json +75 -32
- package/src/tokens/web/components/picture/Token.Readme.md +16 -0
- package/src/tokens/web/components/picture/picture.json +17 -9
- package/src/tokens/web/components/popover/Token.Readme.md +33 -0
- package/src/tokens/web/components/popover/popover.json +51 -26
- package/src/tokens/web/components/progress-bar/Token.Readme.md +15 -0
- package/src/tokens/web/components/progress-bar/progress-bar.json +15 -8
- package/src/tokens/web/components/progress-circle/Token.Readme.md +11 -0
- package/src/tokens/web/components/progress-circle/progress-circle.json +7 -4
- package/src/tokens/web/components/radioset/Token.Readme.md +24 -0
- package/src/tokens/web/components/radioset/radioset.json +33 -17
- package/src/tokens/web/components/rating/Token.Readme.md +14 -0
- package/src/tokens/web/components/rating/rating.json +22 -12
- package/src/tokens/web/components/richtext-editor/Token.Readme.md +106 -0
- package/src/tokens/web/components/richtext-editor/richtext-editor.json +199 -99
- package/src/tokens/web/components/scrollbar/Token.Readme.md +15 -0
- package/src/tokens/web/components/scrollbar/scrollbar.json +15 -8
- package/src/tokens/web/components/search/Token.Readme.md +39 -0
- package/src/tokens/web/components/search/search.json +63 -32
- package/src/tokens/web/components/spinner/Token.Readme.md +15 -0
- package/src/tokens/web/components/spinner/spinner.json +15 -8
- package/src/tokens/web/components/switch/Token.Readme.md +20 -0
- package/src/tokens/web/components/switch/switch.json +25 -13
- package/src/tokens/web/components/tabs/Token.Readme.md +32 -0
- package/src/tokens/web/components/tabs/tabs.json +50 -26
- package/src/tokens/web/components/tile/Token.Readme.md +13 -0
- package/src/tokens/web/components/tile/tile.json +10 -5
- package/src/tokens/web/components/time/Token.Readme.md +37 -0
- package/src/tokens/web/components/time/time.json +63 -34
- package/src/tokens/web/components/toast/Token.Readme.md +35 -0
- package/src/tokens/web/components/toast/toast.json +55 -28
- package/src/tokens/web/components/toggle/Token.Readme.md +20 -0
- package/src/tokens/web/components/toggle/toggle.json +25 -13
- package/src/tokens/web/components/video/Token.Readme.md +10 -0
- package/src/tokens/web/components/video/video.json +5 -3
- package/src/tokens/web/components/wizard/Token.Readme.md +58 -0
- package/src/tokens/web/components/wizard/wizard.json +101 -51
- package/src/utils/style-dictionary-utils.d.ts +1 -1
- package/src/utils/style-dictionary-utils.js +73 -8
- package/src/utils/style-dictionary-utils.js.map +1 -1
- package/cjs/src_tokens_mobile_components_form-control_form-control_json.foundation-css.cjs +0 -14
- package/cjs/src_tokens_mobile_components_form-input_form-input_json.foundation-css.cjs +0 -14
- package/src/styles/mobile/components/variables/form-input.variant.less +0 -14
- package/src/styles/mobile/studio/container/tabs/tab-header.less +0 -34
- package/src/styles/mobile/studio/data/cards.less +0 -36
- package/src/styles/mobile/studio/device/barcodescanner.less +0 -3
- package/src/styles/mobile/studio/page/page-content.less +0 -4
- package/src/styles/mobile/studio/page/tabbar.less +0 -19
- package/src/styles/mobile/studio/slider.less +0 -27
- package/src/tokens/mobile/components/form-control/form-control.json +0 -217
- package/src/tokens/mobile/components/form-input/form-input.json +0 -153
- /package/src/styles/mobile/studio/advanced/{carousel/carousel.less → carousel.less} +0 -0
package/cjs/foundation-css.cjs
CHANGED
|
@@ -158,8 +158,15 @@ const componentsList = {
|
|
|
158
158
|
widgetTag: "wm-fileupload",
|
|
159
159
|
columnWidth: 6,
|
|
160
160
|
},
|
|
161
|
-
"form-
|
|
162
|
-
|
|
161
|
+
"form-wrapper": {
|
|
162
|
+
key: "form-wrapper",
|
|
163
|
+
widgetTag: "wm-form",
|
|
164
|
+
columnWidth: 8,
|
|
165
|
+
},
|
|
166
|
+
"form-controls": { key: "form-controls",
|
|
167
|
+
widgetTag: "wm-form-field",
|
|
168
|
+
columnWidth: 16,
|
|
169
|
+
},
|
|
163
170
|
"grid-layout": { key: "grid-layout" },
|
|
164
171
|
icon: {
|
|
165
172
|
widgetTag: "wm-icon",
|
|
@@ -171,7 +178,11 @@ const componentsList = {
|
|
|
171
178
|
key: "label",
|
|
172
179
|
columnWidth: 2,
|
|
173
180
|
},
|
|
174
|
-
list: {
|
|
181
|
+
list: {
|
|
182
|
+
key: "list",
|
|
183
|
+
widgetTag: "wm-list",
|
|
184
|
+
columnWidth: 6,
|
|
185
|
+
},
|
|
175
186
|
login: {
|
|
176
187
|
key: "login",
|
|
177
188
|
widgetTag: "wm-login",
|
|
@@ -188,6 +199,16 @@ const componentsList = {
|
|
|
188
199
|
columnWidth: 4,
|
|
189
200
|
},
|
|
190
201
|
"modal-dialog": { key: "modal-dialog" },
|
|
202
|
+
navbar: {
|
|
203
|
+
widgetTag: "wm-mobile-navbar",
|
|
204
|
+
key: "navbar",
|
|
205
|
+
columnWidth: 6,
|
|
206
|
+
},
|
|
207
|
+
"page-content": {
|
|
208
|
+
widgetTag: "wm-page-content",
|
|
209
|
+
key: "page-content",
|
|
210
|
+
columnWidth: 4,
|
|
211
|
+
},
|
|
191
212
|
panel: {
|
|
192
213
|
widgetTag: "wm-panel",
|
|
193
214
|
key: "panel",
|
|
@@ -229,6 +250,11 @@ const componentsList = {
|
|
|
229
250
|
key: "search",
|
|
230
251
|
columnWidth: 4,
|
|
231
252
|
},
|
|
253
|
+
slider: {
|
|
254
|
+
widgetTag: "wm-slider",
|
|
255
|
+
key: "slider",
|
|
256
|
+
columnWidth: 4,
|
|
257
|
+
},
|
|
232
258
|
spinner: {
|
|
233
259
|
widgetTag: "wm-spinner",
|
|
234
260
|
key: "spinner",
|
|
@@ -239,7 +265,11 @@ const componentsList = {
|
|
|
239
265
|
key: "switch",
|
|
240
266
|
columnWidth: 3,
|
|
241
267
|
},
|
|
242
|
-
tabbar: {
|
|
268
|
+
tabbar: {
|
|
269
|
+
key: "tabbar",
|
|
270
|
+
widgetTag: "wm-mobile-tabbar",
|
|
271
|
+
columnWidth: 6,
|
|
272
|
+
},
|
|
243
273
|
tabs: {
|
|
244
274
|
widgetTag: "wm-tabs",
|
|
245
275
|
key: "tabs",
|
|
@@ -265,7 +295,11 @@ const componentsList = {
|
|
|
265
295
|
key: "webview",
|
|
266
296
|
columnWidth: 6,
|
|
267
297
|
},
|
|
268
|
-
wizard: {
|
|
298
|
+
wizard: {
|
|
299
|
+
widgetTag: "wm-wizard",
|
|
300
|
+
key: "wizard",
|
|
301
|
+
columnWidth: 8,
|
|
302
|
+
},
|
|
269
303
|
};
|
|
270
304
|
|
|
271
305
|
|
|
@@ -1291,10 +1325,14 @@ const digits = '0123456789abcdef';
|
|
|
1291
1325
|
|
|
1292
1326
|
const { floor, random } = Math;
|
|
1293
1327
|
|
|
1294
|
-
|
|
1328
|
+
/**
|
|
1329
|
+
* Generates a random color.
|
|
1330
|
+
* @param {() => number} rng - A random number generator function.
|
|
1331
|
+
*/
|
|
1332
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((rng = random) => {
|
|
1295
1333
|
let code = '#';
|
|
1296
1334
|
for (let i = 0; i < 6; i++) {
|
|
1297
|
-
code += digits.charAt(floor(
|
|
1335
|
+
code += digits.charAt(floor(rng() * 16));
|
|
1298
1336
|
}
|
|
1299
1337
|
return new _Color_js__WEBPACK_IMPORTED_MODULE_0__["default"](code, 'hex');
|
|
1300
1338
|
});
|
|
@@ -1329,6 +1367,7 @@ const { pow } = Math;
|
|
|
1329
1367
|
let _nacol = (0,_chroma_js__WEBPACK_IMPORTED_MODULE_0__["default"])('#ccc');
|
|
1330
1368
|
let _spread = 0;
|
|
1331
1369
|
// const _fixed = false;
|
|
1370
|
+
let _positions = [0, 1];
|
|
1332
1371
|
let _domain = [0, 1];
|
|
1333
1372
|
let _pos = [];
|
|
1334
1373
|
let _padding = [0, 0];
|
|
@@ -1497,9 +1536,9 @@ const { pow } = Math;
|
|
|
1497
1536
|
if (classes != null) {
|
|
1498
1537
|
if ((0,_utils_index_js__WEBPACK_IMPORTED_MODULE_1__.type)(classes) === 'array') {
|
|
1499
1538
|
_classes = classes;
|
|
1500
|
-
|
|
1539
|
+
_positions = [classes[0], classes[classes.length - 1]];
|
|
1501
1540
|
} else {
|
|
1502
|
-
const d = _chroma_js__WEBPACK_IMPORTED_MODULE_0__["default"].analyze(
|
|
1541
|
+
const d = _chroma_js__WEBPACK_IMPORTED_MODULE_0__["default"].analyze(_positions);
|
|
1503
1542
|
if (classes === 0) {
|
|
1504
1543
|
_classes = [d.min, d.max];
|
|
1505
1544
|
} else {
|
|
@@ -1513,8 +1552,11 @@ const { pow } = Math;
|
|
|
1513
1552
|
|
|
1514
1553
|
f.domain = function (domain) {
|
|
1515
1554
|
if (!arguments.length) {
|
|
1555
|
+
// return original domain
|
|
1516
1556
|
return _domain;
|
|
1517
1557
|
}
|
|
1558
|
+
// store original domain so we can return it later
|
|
1559
|
+
_domain = domain.slice(0);
|
|
1518
1560
|
_min = domain[0];
|
|
1519
1561
|
_max = domain[domain.length - 1];
|
|
1520
1562
|
_pos = [];
|
|
@@ -1545,7 +1587,7 @@ const { pow } = Math;
|
|
|
1545
1587
|
}
|
|
1546
1588
|
}
|
|
1547
1589
|
}
|
|
1548
|
-
|
|
1590
|
+
_positions = [_min, _max];
|
|
1549
1591
|
return f;
|
|
1550
1592
|
};
|
|
1551
1593
|
|
|
@@ -1641,8 +1683,8 @@ const { pow } = Math;
|
|
|
1641
1683
|
} else if (numColors === 1) {
|
|
1642
1684
|
result = [f(0.5)];
|
|
1643
1685
|
} else if (numColors > 1) {
|
|
1644
|
-
const dm =
|
|
1645
|
-
const dd =
|
|
1686
|
+
const dm = _positions[0];
|
|
1687
|
+
const dd = _positions[1] - dm;
|
|
1646
1688
|
result = __range__(0, numColors, false).map((i) =>
|
|
1647
1689
|
f(dm + (i / (numColors - 1)) * dd)
|
|
1648
1690
|
);
|
|
@@ -1659,7 +1701,7 @@ const { pow } = Math;
|
|
|
1659
1701
|
samples.push((_classes[i - 1] + _classes[i]) * 0.5);
|
|
1660
1702
|
}
|
|
1661
1703
|
} else {
|
|
1662
|
-
samples =
|
|
1704
|
+
samples = _positions;
|
|
1663
1705
|
}
|
|
1664
1706
|
result = samples.map((v) => f(v));
|
|
1665
1707
|
}
|
|
@@ -6035,7 +6077,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6035
6077
|
/* harmony export */ version: () => (/* binding */ version)
|
|
6036
6078
|
/* harmony export */ });
|
|
6037
6079
|
// this gets updated automatically
|
|
6038
|
-
const version = '3.
|
|
6080
|
+
const version = '3.2.0';
|
|
6039
6081
|
|
|
6040
6082
|
|
|
6041
6083
|
/***/ }),
|
|
@@ -6131,13 +6173,13 @@ var map = {
|
|
|
6131
6173
|
"./src/tokens/mobile/components/fileupload/fileupload.json",
|
|
6132
6174
|
"src_tokens_mobile_components_fileupload_fileupload_json"
|
|
6133
6175
|
],
|
|
6134
|
-
"./form-
|
|
6135
|
-
"./src/tokens/mobile/components/form-
|
|
6136
|
-
"src_tokens_mobile_components_form-
|
|
6176
|
+
"./form-controls/form-controls.json": [
|
|
6177
|
+
"./src/tokens/mobile/components/form-controls/form-controls.json",
|
|
6178
|
+
"src_tokens_mobile_components_form-controls_form-controls_json"
|
|
6137
6179
|
],
|
|
6138
|
-
"./form-
|
|
6139
|
-
"./src/tokens/mobile/components/form-
|
|
6140
|
-
"src_tokens_mobile_components_form-
|
|
6180
|
+
"./form-wrapper/form-wrapper.json": [
|
|
6181
|
+
"./src/tokens/mobile/components/form-wrapper/form-wrapper.json",
|
|
6182
|
+
"src_tokens_mobile_components_form-wrapper_form-wrapper_json"
|
|
6141
6183
|
],
|
|
6142
6184
|
"./grid-layout/grid-layout.json": [
|
|
6143
6185
|
"./src/tokens/mobile/components/grid-layout/grid-layout.json",
|
|
@@ -6179,6 +6221,10 @@ var map = {
|
|
|
6179
6221
|
"./src/tokens/mobile/components/nav/nav.json",
|
|
6180
6222
|
"src_tokens_mobile_components_nav_nav_json"
|
|
6181
6223
|
],
|
|
6224
|
+
"./navbar/navbar.json": [
|
|
6225
|
+
"./src/tokens/mobile/components/navbar/navbar.json",
|
|
6226
|
+
"src_tokens_mobile_components_navbar_navbar_json"
|
|
6227
|
+
],
|
|
6182
6228
|
"./page-content/page-content.json": [
|
|
6183
6229
|
"./src/tokens/mobile/components/page-content/page-content.json",
|
|
6184
6230
|
"src_tokens_mobile_components_page-content_page-content_json"
|
|
@@ -6311,7 +6357,7 @@ module.exports = webpackAsyncContext;
|
|
|
6311
6357
|
/***/ ((module) => {
|
|
6312
6358
|
|
|
6313
6359
|
"use strict";
|
|
6314
|
-
module.exports = /*#__PURE__*/JSON.parse('{"border":{"style":{"base":{"value":"{border.style.solid.value}","attributes":{"subtype":"border-style"}},"
|
|
6360
|
+
module.exports = /*#__PURE__*/JSON.parse('{"border":{"style":{"base":{"value":"{border.style.solid.value}","attributes":{"subtype":"border-style"}},"solid":{"value":"solid","attributes":{"subtype":"border-style"}},"dotted":{"value":"dotted","attributes":{"subtype":"border-style"}},"dashed":{"value":"dashed","attributes":{"subtype":"border-style"}}}}}');
|
|
6315
6361
|
|
|
6316
6362
|
/***/ }),
|
|
6317
6363
|
|
|
@@ -6848,20 +6894,54 @@ function resolveAndReplaceReferences(attribute, unfilteredTokens, usesReferences
|
|
|
6848
6894
|
}
|
|
6849
6895
|
|
|
6850
6896
|
|
|
6851
|
-
const cssVarCalcMixFormatter = (usesReferences, getReferences) => ({
|
|
6897
|
+
const cssVarCalcMixFormatter = (usesReferences, getReferences, fs) => ({
|
|
6852
6898
|
name: 'wm-calc-colormix-format',
|
|
6853
6899
|
format: function ({ dictionary, options }) {
|
|
6854
|
-
const { selector } = options;
|
|
6900
|
+
const { selector, tokenReadmePath } = options;
|
|
6901
|
+
// Prepare Markdown table only if enabled
|
|
6902
|
+
const tableRows = ['| Token | Description |', '|-------|------------|'];
|
|
6903
|
+
|
|
6855
6904
|
// Generate CSS variable definitions
|
|
6856
6905
|
const variables = dictionary.allTokens
|
|
6857
6906
|
.map((token) => {
|
|
6858
6907
|
// Remove `mapping` from token.name
|
|
6859
6908
|
const cleanName = token.name.replace(/mapping-?/g, '');
|
|
6860
6909
|
let value = getProcessedTokenValue(token, dictionary, usesReferences, getReferences);
|
|
6910
|
+
|
|
6911
|
+
// Add to table if token has a description and table generation is enabled
|
|
6912
|
+
if (tokenReadmePath && token?.attributes?.description) {
|
|
6913
|
+
const pathName = token.path
|
|
6914
|
+
.slice(1) // ignore first key (btn, data-table etc.,)
|
|
6915
|
+
.filter(key => key !== 'mapping') // remove 'mapping'
|
|
6916
|
+
.join('.');
|
|
6917
|
+
|
|
6918
|
+
// Keep full description but handle <br> tags properly for table
|
|
6919
|
+
let safeDescription = token?.attributes?.description
|
|
6920
|
+
.replace(/\|/g, '\\|') // escape pipe characters
|
|
6921
|
+
.replace(/<br\s*\/?>/gi, '<br>') // keep <br> tags as HTML for proper rendering
|
|
6922
|
+
.trim();
|
|
6923
|
+
|
|
6924
|
+
tableRows.push(`| ${pathName} | ${safeDescription} |`);
|
|
6925
|
+
}
|
|
6926
|
+
|
|
6861
6927
|
return `--${cleanName}: ${value};`;
|
|
6862
6928
|
})
|
|
6863
6929
|
.join(`\n`);
|
|
6864
6930
|
|
|
6931
|
+
// Write the table if tokens has description
|
|
6932
|
+
if (tokenReadmePath && tableRows.length > 2 && fs) {
|
|
6933
|
+
tableRows.unshift(
|
|
6934
|
+
`<!-- AUTO-GENERATED FILE. Do not edit manually. -->`,
|
|
6935
|
+
``,
|
|
6936
|
+
`# Token Reference Table`,
|
|
6937
|
+
``,
|
|
6938
|
+
`This table lists all tokens for this component:`,
|
|
6939
|
+
``
|
|
6940
|
+
);
|
|
6941
|
+
fs.writeFileSync(tokenReadmePath, tableRows.join('\n'), 'utf8');
|
|
6942
|
+
console.log(`Token description table generated: ${tokenReadmePath}`);
|
|
6943
|
+
}
|
|
6944
|
+
|
|
6865
6945
|
// Return correctly formatted output based on selector
|
|
6866
6946
|
return selector && selector.trim()
|
|
6867
6947
|
? `${selector} {\n${variables}\n}\n` // Wrap in selector
|
|
@@ -7050,7 +7130,9 @@ const getSelectorFromGroup = (group, dictionary, platform) => {
|
|
|
7050
7130
|
variant
|
|
7051
7131
|
].filter(Boolean).join('-')}`;
|
|
7052
7132
|
}
|
|
7053
|
-
return selector
|
|
7133
|
+
return selector
|
|
7134
|
+
? expandSelectors(platform, appearanceMappingSelector, selector)
|
|
7135
|
+
: expandSelectors(platform, appearanceMappingSelector, `.${component}-${variant}`);
|
|
7054
7136
|
};
|
|
7055
7137
|
|
|
7056
7138
|
const getStateSelectorWrapper = () =>
|
|
@@ -7065,17 +7147,34 @@ const getSelectorFromGroup = (group, dictionary, platform) => {
|
|
|
7065
7147
|
|
|
7066
7148
|
case 'state-mapping':
|
|
7067
7149
|
return isRootMapping
|
|
7068
|
-
?
|
|
7069
|
-
:
|
|
7150
|
+
? expandSelectors(platform, rootMappingSelector, getStateSelectorWrapper())
|
|
7151
|
+
: expandSelectors(platform, appearanceMappingSelector, getStateSelectorWrapper());
|
|
7070
7152
|
|
|
7071
7153
|
case 'state-variant':
|
|
7072
|
-
return
|
|
7154
|
+
return expandSelectors(platform, getCombinedVariantSelector(), getStateSelectorWrapper());
|
|
7073
7155
|
|
|
7074
7156
|
default:
|
|
7075
7157
|
return '';
|
|
7076
7158
|
}
|
|
7077
7159
|
};
|
|
7078
7160
|
|
|
7161
|
+
const expandSelectors = (platform, baseSelectors, stateSelectors = ['']) => {
|
|
7162
|
+
if (platform == "web") {
|
|
7163
|
+
const bases = baseSelectors.split(',').filter(Boolean);
|
|
7164
|
+
const states = stateSelectors.split(',').filter(Boolean);
|
|
7165
|
+
|
|
7166
|
+
const combos = [];
|
|
7167
|
+
for (const base of bases) {
|
|
7168
|
+
for (const state of states) {
|
|
7169
|
+
combos.push(`${base}${state}`);
|
|
7170
|
+
}
|
|
7171
|
+
}
|
|
7172
|
+
return combos.join(',');
|
|
7173
|
+
} else {
|
|
7174
|
+
return `${baseSelectors}${stateSelectors}`
|
|
7175
|
+
}
|
|
7176
|
+
};
|
|
7177
|
+
|
|
7079
7178
|
|
|
7080
7179
|
// takes a group object and a dictionary, and returns a CSS block
|
|
7081
7180
|
// Example output:
|
|
@@ -7085,7 +7184,13 @@ const getSelectorFromGroup = (group, dictionary, platform) => {
|
|
|
7085
7184
|
const generateCssBlockFromGroup = (group, dictionary, usesReferences, getReferences, platform) => {
|
|
7086
7185
|
const { tokens, component, appearance, groupType, variant } = group;
|
|
7087
7186
|
|
|
7088
|
-
|
|
7187
|
+
let selector = getSelectorFromGroup(group, dictionary, platform);
|
|
7188
|
+
if (platform === 'web' && selector) {
|
|
7189
|
+
selector = selector
|
|
7190
|
+
.split(',')
|
|
7191
|
+
.map(s => s.startsWith('.wm-app') ? s : `.wm-app ${s}`)
|
|
7192
|
+
.join(', ');
|
|
7193
|
+
}
|
|
7089
7194
|
if (!selector) return '';
|
|
7090
7195
|
|
|
7091
7196
|
const cssProps = tokens
|
|
@@ -7097,7 +7202,36 @@ const generateCssBlockFromGroup = (group, dictionary, usesReferences, getReferen
|
|
|
7097
7202
|
})
|
|
7098
7203
|
.join('\n');
|
|
7099
7204
|
|
|
7100
|
-
|
|
7205
|
+
|
|
7206
|
+
if (platform === 'web') {
|
|
7207
|
+
|
|
7208
|
+
return `${selector} {\n${cssProps}\n}`;
|
|
7209
|
+
|
|
7210
|
+
} else {
|
|
7211
|
+
const selectors = selector.split(',').map(s => s.trim()).filter(Boolean);
|
|
7212
|
+
|
|
7213
|
+
//if there are multiple selectors extract custom variant from the first selector and apply it to subsequent selectors
|
|
7214
|
+
if (selectors.length > 1) {
|
|
7215
|
+
const firstSelector = selectors[0];
|
|
7216
|
+
const hasCustomAppearance = /^\.[\w-]+\./.test(firstSelector);
|
|
7217
|
+
if (hasCustomAppearance) {
|
|
7218
|
+
// Extract base selector (e.g., ".btn-success" from ".btn-success.app-button-disabled")
|
|
7219
|
+
const baseMatch = firstSelector.match(/^(\.[\w-]+)\./);
|
|
7220
|
+
const baseSelector = baseMatch ? baseMatch[1] : '';
|
|
7221
|
+
|
|
7222
|
+
// Apply base selector to all subsequent selectors
|
|
7223
|
+
selectors.forEach((selector, i) => {
|
|
7224
|
+
if (baseSelector && !selector.startsWith(baseSelector)) {
|
|
7225
|
+
selectors[i] = `${baseSelector}${selector}`;
|
|
7226
|
+
}
|
|
7227
|
+
});
|
|
7228
|
+
|
|
7229
|
+
}
|
|
7230
|
+
|
|
7231
|
+
}
|
|
7232
|
+
|
|
7233
|
+
return `${selectors.join(',\n')} {\n${cssProps}\n}`;
|
|
7234
|
+
}
|
|
7101
7235
|
};
|
|
7102
7236
|
|
|
7103
7237
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
\***************************************************************/
|
|
8
8
|
/***/ ((module) => {
|
|
9
9
|
|
|
10
|
-
module.exports = /*#__PURE__*/JSON.parse('{"accordion":{"meta":{"mapping":{"selector":{"mobile":".app-accordion"},"states":{"active":{"selector":{"mobile":"-active"}}}}},"mapping":{"width":{"value":"100%","type":"space"},"border":{"width":{"value":"{space.0.value}","type":"space"},"style":{"value":"{border.style.solid}","type":"radius"},"color":{"value":"#eeeeee","type":"color"},"radius":{"value":"6px","type":"radius"}},"background-color":{"value":"transparent","type":"color"},"text":{"color":{"value":"#333333","type":"color"},"font-size":{"value":"18px","type":"font"}},"header":{"border":{"bottom-width":{"value":"{border.width.1.value}","type":"space"},"color":{"value":"#333333","type":"color"}},"background-color":{"value":"{color.white.@.value}","type":"color"},"padding":{"value":"{space.2.value}","type":"space"},"subtitle":{"font-size":{"value":"14px","type":"font"},"margin-top":{"value":"8px","type":"space"}}},"icon":{"root":{"width":{"value":"{space.6.value}","type":"space"},"height":{"value":"{space.6.value}","type":"space"},"border":{"radius":{"value":"{space.6.value}","type":"space"}}},"color":{"value":"{color.on-background.@.value}","type":"color"},"font":{"size":{"value":"{spacer.@.value}","type":"font"},"weight":{"value":"{font.weight.700.value}","type":"font"}}},"badge":{"font-size":{"value":"{body.small.font-size.value}","type":"font"},"margin-right":{"value":"{space.1.value}","type":"space"},"width":{"value":"{space.6.value}","type":"space"},"height":{"value":"{space.6.value}","type":"space"},"border":{"radius":{"value":"{space.3.value}","type":"space"},"width":{"value":"2px","type":"radius"},"color":{"value":"#cccccc","type":"color"}},"background-color":{"value":"transparent","type":"color"},"color":{"value":"{color.on-background.@.value}","type":"color"}},"states":{"active":{"header":{"border":{"color":{"value":"{color.primary.@.value}","type":"color"}},"background-color":{"value":"{color.primary.@.value}","type":"color"}},"text":{"color":{"value":"{color.white.@.value}","type":"color"}},"icon":{"color":{"value":"{color.white.@.value}","type":"color"}},"badge":{"border":{"color":{"value":"{color.white.@.value}","type":"color"}},"color":{"value":"{color.white.@.value}","type":"color"}}}}}}}');
|
|
10
|
+
module.exports = /*#__PURE__*/JSON.parse('{"accordion":{"meta":{"mapping":{"selector":{"mobile":".app-accordion"},"states":{"active":{"selector":{"mobile":"-active-header, .app-accordion-active-header-title, .app-accordion-header-collapse-icon, .app-accordion-active-header-badge, .app-accordion-active-title-icon"}}}}},"mapping":{"width":{"value":"100%","type":"space","attributes":{"subtype":"space","description":"Controls the width of the accordion component. This determines how wide the accordion panel appears on the screen.<br>CSS variable: --wm-accordion-width"}},"border":{"width":{"value":"{space.0.value}","type":"space","attributes":{"subtype":"border-width","description":"Controls the border thickness of the accordion component. This determines how thick the border around the accordion panel appears.<br>CSS variable: --wm-accordion-border-width"}},"style":{"value":"{border.style.solid}","type":"radius","attributes":{"subtype":"border-style","description":"Sets the border style of the accordion component. Acceptable values: solid, dashed, dotted.<br>CSS variable: --wm-accordion-border-style"}},"color":{"value":"#eeeeee","type":"color","attributes":{"subtype":"color","description":"Sets the border color of the accordion component. This determines what color the border around the accordion panel appears in.<br>CSS variable: --wm-accordion-border-color"}},"radius":{"value":"6px","type":"radius","attributes":{"subtype":"radius","description":"Controls the border radius for rounded corners of the accordion component. This makes the accordion appear with rounded corners instead of sharp edges.<br>CSS variable: --wm-accordion-border-radius"}}},"background-color":{"value":"transparent","type":"color","attributes":{"subtype":"color","description":"Sets the background color of the accordion component. This is the main background color that appears behind all accordion content.<br>CSS variable: --wm-accordion-background-color"}},"text":{"color":{"value":"#333333","type":"color","attributes":{"subtype":"color","description":"Sets the text color of the accordion content. This determines what color the text within the accordion appears in.<br>CSS variable: --wm-accordion-text-color"}},"font-size":{"value":"18px","type":"font","attributes":{"subtype":"font-size","description":"Controls the size of the text in the accordion. This affects how large the accordion text appears.<br>CSS variable: --wm-accordion-text-font-size"}}},"header":{"border":{"bottom-width":{"value":"{border.width.1.value}","type":"space","attributes":{"subtype":"border-width","description":"Controls the bottom border thickness of the accordion header. This determines how thick the border at the bottom of the header appears.<br>CSS variable: --wm-accordion-header-border-bottom-width"}},"color":{"value":"#333333","type":"color","attributes":{"subtype":"color","description":"Sets the border color of the accordion header. This determines what color the border around the header appears in.<br>CSS variable: --wm-accordion-header-border-color"}}},"background-color":{"value":"{color.white.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the background color of the accordion header. This is the background color that appears behind the header content.<br>CSS variable: --wm-accordion-header-background-color"}},"padding":{"value":"{space.2.value}","type":"space","attributes":{"subtype":"space","description":"Sets the internal spacing inside the accordion header. This creates breathing room around the header content.<br>CSS variable: --wm-accordion-header-padding"}},"subtitle":{"font-size":{"value":"14px","type":"font","attributes":{"subtype":"font-size","description":"Controls the size of the subtitle text in the accordion header. This text is typically smaller than the main heading to create a visual hierarchy.<br>CSS variable: --wm-accordion-header-subtitle-font-size"}},"margin-top":{"value":"8px","type":"space","attributes":{"subtype":"space","description":"Controls the top margin of the accordion header subtitle. This creates spacing above the subtitle text.<br>CSS variable: --wm-accordion-header-subtitle-margin-top"}}}},"icon":{"root":{"width":{"value":"{space.6.value}","type":"space","attributes":{"subtype":"space","description":"Controls the width of the accordion icon root container. This determines how wide the icon container appears.<br>CSS variable: --wm-accordion-icon-root-width"}},"height":{"value":"{space.6.value}","type":"space","attributes":{"subtype":"space","description":"Controls the height of the accordion icon root container. This determines how tall the icon container appears.<br>CSS variable: --wm-accordion-icon-root-height"}},"border":{"radius":{"value":"{space.6.value}","type":"space","attributes":{"subtype":"radius","description":"Controls the border radius of the accordion icon root container. This makes the icon container appear with rounded corners.<br>CSS variable: --wm-accordion-icon-root-border-radius"}}}},"color":{"value":"{color.on-background.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the color of the accordion icon. This determines what color the icon appears in.<br>CSS variable: --wm-accordion-icon-color"}},"font":{"size":{"value":"{spacer.@.value}","type":"font","attributes":{"subtype":"icon-size","description":"Controls the size of the accordion icon. This affects how large the icon appears.<br>CSS variable: --wm-accordion-icon-font-size"}},"weight":{"value":"{font.weight.700.value}","type":"font","attributes":{"subtype":"font-weight","description":"Controls the thickness/boldness of the accordion icon. Acceptable values: normal, bold, 100-900.<br>CSS variable: --wm-accordion-icon-font-weight"}}}},"badge":{"font-size":{"value":"{body.small.font-size.value}","type":"font","attributes":{"subtype":"font-size","description":"Controls the size of the text in the accordion badge. This affects how large the badge text appears.<br>CSS variable: --wm-accordion-badge-font-size"}},"margin-right":{"value":"{space.1.value}","type":"space","attributes":{"subtype":"space","description":"Controls the right margin of the accordion badge. This creates spacing to the right of the badge.<br>CSS variable: --wm-accordion-badge-margin-right"}},"width":{"value":"{space.6.value}","type":"space","attributes":{"subtype":"space","description":"Controls the width of the accordion badge. This determines how wide the badge appears.<br>CSS variable: --wm-accordion-badge-width"}},"height":{"value":"{space.6.value}","type":"space","attributes":{"subtype":"space","description":"Controls the height of the accordion badge. This determines how tall the badge appears.<br>CSS variable: --wm-accordion-badge-height"}},"border":{"radius":{"value":"{space.3.value}","type":"space","attributes":{"subtype":"radius","description":"Controls the border radius of the accordion badge. This makes the badge appear with rounded corners.<br>CSS variable: --wm-accordion-badge-border-radius"}},"width":{"value":"2px","type":"radius","attributes":{"subtype":"border-width","description":"Controls the border thickness of the accordion badge. This determines how thick the border around the badge appears.<br>CSS variable: --wm-accordion-badge-border-width"}},"color":{"value":"#cccccc","type":"color","attributes":{"subtype":"color","description":"Sets the border color of the accordion badge. This determines what color the border around the badge appears in.<br>CSS variable: --wm-accordion-badge-border-color"}}},"background-color":{"value":"transparent","type":"color","attributes":{"subtype":"color","description":"Sets the background color of the accordion badge of default type. This is the background color that appears behind the badge content.<br>CSS variable: --wm-accordion-badge-background-color"}},"color":{"value":"{color.on-background.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the text color of the accordion badge. This determines what color the badge text appears in.<br>CSS variable: --wm-accordion-badge-color"}}},"title":{"icon":{"color":{"value":"#333333","type":"color","attributes":{"subtype":"color","description":"Sets the icon color of the accordion title. This determines what color the icon within the accordion title appears in.<br>CSS variable: --wm-accordion-title-icon-color"}},"size":{"value":"18px","type":"font","attributes":{"subtype":"icon-size","description":"Controls the size of the icon in the accordion title. This affects how large the accordion title icon appears.<br>CSS variable: --wm-accordion-title-icon-size"}}}},"states":{"active":{"header":{"border":{"color":{"value":"{color.primary.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the border color of the active accordion header. This determines what color the border appears in when the accordion is expanded.<br>CSS variable: --wm-accordion-active-header-border-color"}}},"background-color":{"value":"{color.primary.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the background color of the active accordion header. This is the background color that appears when the accordion is expanded.<br>CSS variable: --wm-accordion-active-header-background-color"}}},"text":{"color":{"value":"{color.white.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the text color of the active accordion content. This determines what color the text appears in when the accordion is expanded.<br>CSS variable: --wm-accordion-active-text-color"}}},"title":{"icon":{"color":{"value":"{color.white.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the icon color of the active accordion title. This determines what color the icon appears in when the accordion is expanded.<br>CSS variable: --wm-accordion-active-title-icon-color"}}}},"icon":{"color":{"value":"{color.white.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the color of the active accordion icon. This determines what color the icon appears in when the accordion is expanded.<br>CSS variable: --wm-accordion-active-icon-color"}}},"badge":{"border":{"color":{"value":"{color.white.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the border color of the active accordion badge. This determines what color the border appears in when the accordion is expanded.<br>CSS variable: --wm-accordion-active-badge-border-color"}}},"background-color":{"value":"transparent","type":"color","attributes":{"subtype":"color","description":"Sets the background color of the active accordion badge of default type. This is the background color that appears behind the badge content.<br>CSS variable: --wm-accordion-badge-background-color"}},"color":{"value":"{color.white.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the text color of the active accordion badge. This determines what color the badge text appears in when the accordion is expanded.<br>CSS variable: --wm-accordion-active-badge-color"}}}}}}}}');
|
|
11
11
|
|
|
12
12
|
/***/ })
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
\*********************************************************/
|
|
8
8
|
/***/ ((module) => {
|
|
9
9
|
|
|
10
|
-
module.exports = /*#__PURE__*/JSON.parse('{"anchor":{"meta":{"mapping":{"selector":{"web":".app-anchor","mobile":".app-anchor"}}},"mapping":{"color":{"@":{"value":"{color.primary.@.value}","type":"color"}},"font-size":{"value":"{body.medium.font-size.value}","type":"font"},"font-family":{"value":"{body.medium.font-family.value}","type":"font"},"font-weight":{"value":"{body.medium.font-weight.value}","type":"font"},"line-height":{"value":"{body.medium.line-height.value}","type":"font"},"letter-spacing":{"value":"{body.medium.letter-spacing.value}","type":"font"},"text-transform":{"value":"none","type":"radius"},"text":{"decoration":{"@":{"value":"none","type":"radius"}}},"gap":{"value":"{space.1.value}","type":"space"},"icon":{"size":{"value":"{icon.size.@.value}","type":"space"}},"image":{"size":{"value":"{icon.size.@.value}","type":"space"},"radius":{"value":"{radius.circle.value}","type":"radius"}}},"appearances":{}}}');
|
|
10
|
+
module.exports = /*#__PURE__*/JSON.parse('{"anchor":{"meta":{"mapping":{"selector":{"web":".app-anchor","mobile":".app-anchor"}}},"mapping":{"color":{"@":{"value":"{color.primary.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the text color of anchor links (clickable text elements that navigate to other pages or sections). This determines what color the anchor text appears in.<br>CSS variable: --wm-anchor-color"}}},"font-size":{"value":"{body.medium.font-size.value}","type":"font","attributes":{"subtype":"font-size","description":"Controls the size of the text in anchor links. This affects how large the anchor text appears.<br>CSS variable: --wm-anchor-font-size"}},"font-family":{"value":"{body.medium.font-family.value}","type":"font","attributes":{"subtype":"font-family","description":"Sets the typeface (font style) for anchor link text. This determines whether the anchor text appears in Arial, Times New Roman, or other font styles.<br>CSS variable: --wm-anchor-font-family"}},"font-weight":{"value":"{body.medium.font-weight.value}","type":"font","attributes":{"subtype":"font-weight","description":"Controls how thick or bold the anchor link text appears. \'normal\' makes it regular weight, \'bold\' makes it thicker, and numbers (100-900) provide fine control over thickness.<br>CSS variable: --wm-anchor-font-weight"}},"line-height":{"value":"{body.medium.line-height.value}","type":"font","attributes":{"subtype":"line-height","description":"Controls the vertical spacing between lines when anchor link text wraps to multiple lines. This ensures proper spacing for the anchor text.<br>CSS variable: --wm-anchor-line-height"}},"letter-spacing":{"value":"{body.medium.letter-spacing.value}","type":"font","attributes":{"subtype":"letter-spacing","description":"Controls the horizontal spacing between individual characters in anchor link text. This can help make the anchor text more readable and properly spaced.<br>CSS variable: --wm-anchor-letter-spacing"}},"text-transform":{"value":"none","type":"radius","attributes":{"subtype":"text-transform","description":"Controls text transformation for anchor link text. \'none\' keeps the original case, \'uppercase\' makes all text uppercase, \'lowercase\' makes all text lowercase, and \'capitalize\' capitalizes the first letter of each word.<br>CSS variable: --wm-anchor-text-transform"}},"text":{"decoration":{"@":{"value":"none","type":"radius","attributes":{"subtype":"text-decoration","description":"Controls the text decoration (underline, overline, line-through) for anchor links. \'none\' removes all decorations, \'underline\' adds an underline, \'overline\' adds a line above, and \'line-through\' adds a line through the text.<br>CSS variable: --wm-anchor-text-decoration"}}}},"gap":{"value":"{space.1.value}","type":"space","attributes":{"subtype":"space","description":"Sets spacing between icon and text content in anchor links. This creates visual separation between the icon and the anchor text.<br>CSS variable: --wm-anchor-gap"}},"icon":{"size":{"value":"{icon.size.@.value}","type":"space","attributes":{"subtype":"icon-size","description":"Controls the size of icons in anchor links. This affects how large the icon appears next to the anchor text.<br>CSS variable: --wm-anchor-icon-size"}}},"image":{"size":{"value":"{icon.size.@.value}","type":"space","attributes":{"subtype":"icon-size","description":"Controls the size of images in anchor links. This affects how large the image appears next to the anchor text.<br>CSS variable: --wm-anchor-image-size"}},"radius":{"value":"{radius.circle.value}","type":"radius","attributes":{"subtype":"radius","description":"Controls the border radius of images in anchor links. This makes the image appear with rounded corners.<br>CSS variable: --wm-anchor-image-radius"}}}},"appearances":{}}}');
|
|
11
11
|
|
|
12
12
|
/***/ })
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
\*******************************************************/
|
|
8
8
|
/***/ ((module) => {
|
|
9
9
|
|
|
10
|
-
module.exports = /*#__PURE__*/JSON.parse('{"audio":{"mapping":{"width":{"value":"300px","type":"space"}},"appearances":{}}}');
|
|
10
|
+
module.exports = /*#__PURE__*/JSON.parse('{"audio":{"mapping":{"width":{"value":"300px","type":"space","attributes":{"subtype":"space","description":"Controls the width of the audio component. This determines how wide the audio player appears on the screen.<br>CSS variable: --wm-audio-width"}}},"appearances":{}}}');
|
|
11
11
|
|
|
12
12
|
/***/ })
|
|
13
13
|
|
package/cjs/src_tokens_mobile_components_barcodescanner_barcodescanner_json.foundation-css.cjs
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
\*************************************************************************/
|
|
8
8
|
/***/ ((module) => {
|
|
9
9
|
|
|
10
|
-
module.exports = /*#__PURE__*/JSON.parse('{"barcodescanner":{"meta":{"mapping":{"selector":{"mobile":".app-barcodescanner"}}},"mapping":{"min":{"height":{"value":"30px","type":"space"},"width":{"value":"{space.10.value}","type":"space"}},"text":{"color":{"value":"{color.scrim.@.value}","type":"color"},"font":{"size":{"value":"{body.medium.font-size.value}","type":"
|
|
10
|
+
module.exports = /*#__PURE__*/JSON.parse('{"barcodescanner":{"meta":{"mapping":{"selector":{"mobile":".app-barcodescanner"}}},"mapping":{"min":{"height":{"value":"30px","type":"space","attributes":{"subtype":"space","description":"Controls the minimum height of the barcode scanner component. This determines the minimum vertical space the component occupies.<br>CSS variable: --wm-barcodescanner-min-height"}},"width":{"value":"{space.10.value}","type":"space","attributes":{"subtype":"space","description":"Controls the minimum width of the barcode scanner component. This determines the minimum horizontal space the component occupies.<br>CSS variable: --wm-barcodescanner-min-width"}}},"text":{"color":{"value":"{color.scrim.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the text color of the barcode scanner component. This determines what color the text appears in.<br>CSS variable: --wm-barcodescanner-text-color"}},"font":{"size":{"value":"{body.medium.font-size.value}","type":"font","attributes":{"subtype":"font-size","description":"Controls the size of the text in the barcode scanner component. This affects how large the text appears.<br>CSS variable: --wm-barcodescanner-text-font-size"}}},"padding":{"left":{"value":"{space.0.value}","type":"font","attributes":{"subtype":"space","description":"Sets the left padding of the text in the barcode scanner component. This creates spacing to the left of the text.<br>CSS variable: --wm-barcodescanner-text-padding-left"}}}},"icon":{"color":{"value":"{color.scrim.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the color of the icon in the barcode scanner component. This determines what color the icon appears in.<br>CSS variable: --wm-barcodescanner-icon-color"}},"font":{"size":{"value":"{space.5.value}","type":"space","attributes":{"subtype":"icon-size","description":"Controls the size of the icon in the barcode scanner component. This affects how large the icon appears.<br>CSS variable: --wm-barcodescanner-icon-font-size"}}}},"background":{"value":"{color.primary.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the background color of the barcode scanner component. This is the main background color that appears behind all content.<br>CSS variable: --wm-barcodescanner-background"}},"padding":{"top":{"value":"10px","type":"space","attributes":{"subtype":"space","description":"Sets the top padding of the barcode scanner component. This creates spacing at the top of the component.<br>CSS variable: --wm-barcodescanner-padding-top"}},"left":{"value":"{space.2.value}","type":"space","attributes":{"subtype":"space","description":"Sets the left padding of the barcode scanner component. This creates spacing on the left side of the component.<br>CSS variable: --wm-barcodescanner-padding-left"}},"bottom":{"value":"{space.2.value}","type":"space","attributes":{"subtype":"space","description":"Sets the bottom padding of the barcode scanner component. This creates spacing at the bottom of the component.<br>CSS variable: --wm-barcodescanner-padding-bottom"}},"right":{"value":"{space.2.value}","type":"space","attributes":{"subtype":"space","description":"Sets the right padding of the barcode scanner component. This creates spacing on the right side of the component.<br>CSS variable: --wm-barcodescanner-padding-right"}}},"border":{"width":{"value":"{border.width.base.value}","type":"border","attributes":{"subtype":"border-width","description":"Controls the border thickness of the barcode scanner component. This determines how thick the border around the component appears.<br>CSS variable: --wm-barcodescanner-border-width"}},"style":{"value":"{border.style.solid.value}","type":"radius","attributes":{"subtype":"border-style","description":"Sets the border style of the barcode scanner component. Acceptable values: solid, dashed, dotted.<br>CSS variable: --wm-barcodescanner-border-style"}},"color":{"value":"{color.scrim.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the border color of the barcode scanner component. This determines what color the border around the component appears in.<br>CSS variable: --wm-barcodescanner-border-color"}},"radius":{"value":"{space.5.value}","type":"radius","attributes":{"subtype":"radius","description":"Controls the border radius for rounded corners of the barcode scanner component. This makes the component appear with rounded corners instead of sharp edges.<br>CSS variable: --wm-barcodescanner-border-radius"}}},"ripple":{"color":{"value":"transparent","type":"color","attributes":{"subtype":"color","description":"Sets the ripple effect color for the barcode scanner component. This determines what color appears when the component is interacted with.<br>CSS variable: --wm-barcodescanner-ripple-color"}}}},"appearances":{}}}');
|
|
11
11
|
|
|
12
12
|
/***/ })
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
\*******************************************************************/
|
|
8
8
|
/***/ ((module) => {
|
|
9
9
|
|
|
10
|
-
module.exports = /*#__PURE__*/JSON.parse('{"bottomsheet":{"meta":{"mapping":{"selector":{"mobile":".app-bottomsheet"}}},"mapping":{"backdrop":{"background":{"value":"rgba(0,0,0,0.1)","type":"color"}},"background":{"value":"{color.surface.bright.@.value}","type":"color"},"border":{"radius":{"value":"{radius.lg.value}","type":"radius"},"width":{"value":"1","type":"radius"},"color":{"value":"transparent","type":"color"}},"margin":{"left":{"value":"{space.0.value}","type":"space"},"right":{"value":"{space.0.value}","type":"space"}},"handle":{"background":{"value":"{color.surface.bright.@.value}","type":"color"},"icon":{"width":{"value":"{space.9.value}","type":"space"},"height":{"value":"{space.1.value}","type":"space"},"background":{"value":"{color.outline.@.value}","type":"color"}},"padding":{"top":{"value":"{space.4.value}","type":"space"},"bottom":{"value":"{space.4.value}","type":"space"}},"border":{"width":{"value":"1","type":"radius"},"color":{"value":"transparent","type":"color"}}},"content":{"padding":{"top":{"value":"{space.0.value}","type":"space"},"bottom":{"value":"{space.5.value}","type":"space"},"left":{"value":"{space.5.value}","type":"space"},"right":{"value":"{space.5.value}","type":"space"}}}}}}');
|
|
10
|
+
module.exports = /*#__PURE__*/JSON.parse('{"bottomsheet":{"meta":{"mapping":{"selector":{"mobile":".app-bottomsheet"}}},"mapping":{"backdrop":{"background":{"value":"rgba(0,0,0,0.1)","type":"color","attributes":{"subtype":"color","description":"Sets the background color of the bottom sheet backdrop. This is the semi-transparent overlay that appears behind the bottom sheet when it is open.<br>CSS variable: --wm-bottomsheet-backdrop-background"}}},"background":{"value":"{color.surface.bright.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the background color of the bottom sheet component. This is the main background color that appears behind all bottom sheet content.<br>CSS variable: --wm-bottomsheet-background"}},"border":{"radius":{"value":"{radius.lg.value}","type":"radius","attributes":{"subtype":"radius","description":"Controls the border radius for rounded corners of the bottom sheet component. This makes the bottom sheet appear with rounded corners at the top.<br>CSS variable: --wm-bottomsheet-border-radius"}},"width":{"value":"1","type":"radius","attributes":{"subtype":"border-width","description":"Controls the border thickness of the bottom sheet component. This determines how thick the border around the bottom sheet appears.<br>CSS variable: --wm-bottomsheet-border-width"}},"color":{"value":"transparent","type":"color","attributes":{"subtype":"color","description":"Sets the border color of the bottom sheet component. This determines what color the border around the bottom sheet appears in.<br>CSS variable: --wm-bottomsheet-border-color"}}},"margin":{"left":{"value":"{space.0.value}","type":"space","attributes":{"subtype":"space","description":"Controls the left margin of the bottom sheet component. This creates spacing on the left side of the bottom sheet.<br>CSS variable: --wm-bottomsheet-margin-left"}},"right":{"value":"{space.0.value}","type":"space","attributes":{"subtype":"space","description":"Controls the right margin of the bottom sheet component. This creates spacing on the right side of the bottom sheet.<br>CSS variable: --wm-bottomsheet-margin-right"}}},"handle":{"background":{"value":"{color.surface.bright.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the background color of the bottom sheet drag handle. This is the background color that appears behind the drag handle area.<br>CSS variable: --wm-bottomsheet-handle-background"}},"icon":{"width":{"value":"{space.9.value}","type":"space","attributes":{"subtype":"space","description":"Controls the width of the drag handle icon in the bottom sheet. This determines how wide the drag handle icon appears.<br>CSS variable: --wm-bottomsheet-handle-icon-width"}},"height":{"value":"{space.1.value}","type":"space","attributes":{"subtype":"space","description":"Controls the height of the drag handle icon in the bottom sheet. This determines how tall the drag handle icon appears.<br>CSS variable: --wm-bottomsheet-handle-icon-height"}},"background":{"value":"{color.outline.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the background color of the drag handle icon in the bottom sheet. This determines what color the drag handle icon appears in.<br>CSS variable: --wm-bottomsheet-handle-icon-background"}}},"padding":{"top":{"value":"{space.4.value}","type":"space","attributes":{"subtype":"space","description":"Sets the top padding of the bottom sheet drag handle. This creates spacing at the top of the drag handle area.<br>CSS variable: --wm-bottomsheet-handle-padding-top"}},"bottom":{"value":"{space.4.value}","type":"space","attributes":{"subtype":"space","description":"Sets the bottom padding of the bottom sheet drag handle. This creates spacing at the bottom of the drag handle area.<br>CSS variable: --wm-bottomsheet-handle-padding-bottom"}}},"border":{"width":{"value":"1","type":"radius","attributes":{"subtype":"border-width","description":"Controls the border thickness of the bottom sheet drag handle. This determines how thick the border around the drag handle appears.<br>CSS variable: --wm-bottomsheet-handle-border-width"}},"color":{"value":"transparent","type":"color","attributes":{"subtype":"color","description":"Sets the border color of the bottom sheet drag handle. This determines what color the border around the drag handle appears in.<br>CSS variable: --wm-bottomsheet-handle-border-color"}}}},"content":{"padding":{"top":{"value":"{space.0.value}","type":"space","attributes":{"subtype":"space","description":"Sets the top padding of the bottom sheet content area. This creates spacing at the top of the content.<br>CSS variable: --wm-bottomsheet-content-padding-top"}},"bottom":{"value":"{space.5.value}","type":"space","attributes":{"subtype":"space","description":"Sets the bottom padding of the bottom sheet content area. This creates spacing at the bottom of the content.<br>CSS variable: --wm-bottomsheet-content-padding-bottom"}},"left":{"value":"{space.5.value}","type":"space","attributes":{"subtype":"space","description":"Sets the left padding of the bottom sheet content area. This creates spacing on the left side of the content.<br>CSS variable: --wm-bottomsheet-content-padding-left"}},"right":{"value":"{space.5.value}","type":"space","attributes":{"subtype":"space","description":"Sets the right padding of the bottom sheet content area. This creates spacing on the right side of the content.<br>CSS variable: --wm-bottomsheet-content-padding-right"}}}}}}}');
|
|
11
11
|
|
|
12
12
|
/***/ })
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
\*********************************************************************/
|
|
8
8
|
/***/ ((module) => {
|
|
9
9
|
|
|
10
|
-
module.exports = /*#__PURE__*/JSON.parse('{"button-group":{"meta":{"appearances":{"outlined":{"mapping":{"selector":{"mobile":".app-buttongroup"}},"variantGroups":{"layout":{"horizontal":{"selector":{"mobile":".app-buttongroup"}},"vertical":{"selector":{"mobile":".btn-group-vertical"}}}}}}},"mapping":{"radius":{"value":"{radius.sm.value}","type":"radius"}},"appearances":{"outlined":{"variantGroups":{"layout":{"horizontal":{"radius":{"value":"{radius.sm.value}","type":"radius"}},"vertical":{"radius":{"value":"{radius.xs.value}","type":"radius"}}}}}}}}');
|
|
10
|
+
module.exports = /*#__PURE__*/JSON.parse('{"button-group":{"meta":{"appearances":{"outlined":{"mapping":{"selector":{"mobile":".app-buttongroup"}},"variantGroups":{"layout":{"horizontal":{"selector":{"mobile":".app-buttongroup"}},"vertical":{"selector":{"mobile":".btn-group-vertical"}}}}}}},"mapping":{"radius":{"value":"{radius.sm.value}","type":"radius","attributes":{"subtype":"radius","description":"Controls the border radius for rounded corners of the button group component. This makes the button group appear with rounded corners instead of sharp edges.<br>CSS variable: --wm-button-group-radius"}}},"appearances":{"outlined":{"variantGroups":{"layout":{"horizontal":{"radius":{"value":"{radius.sm.value}","type":"radius","attributes":{"subtype":"radius","description":"Controls the border radius for rounded corners of the horizontal button group layout. This makes the button group appear with rounded corners when arranged horizontally.<br>CSS variable: --wm-button-group-outlined-layout-horizontal-radius"}}},"vertical":{"radius":{"value":"{radius.xs.value}","type":"radius","attributes":{"subtype":"radius","description":"Controls the border radius for rounded corners of the vertical button group layout. This makes the button group appear with rounded corners when arranged vertically.<br>CSS variable: --wm-button-group-outlined-layout-vertical-radius"}}}}}}}}}');
|
|
11
11
|
|
|
12
12
|
/***/ })
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
\*********************************************************/
|
|
8
8
|
/***/ ((module) => {
|
|
9
9
|
|
|
10
|
-
module.exports = /*#__PURE__*/JSON.parse('{"btn":{"meta":{"mapping":{"selector":{"web":".app-button","mobile":".app-button"},"states":{"disabled":{"selector":{"mobile":"-disabled-root","web":"[disabled]"}}}},"appearances":{}},"mapping":{"background":{"value":"{color.surface.@.value}","type":"color"},"color":{"value":"{color.on-surface.@.value}","type":"color"},"cursor":{"value":"pointer","type":"radius"},"position":{"@":{"value":"relative","type":"space"},"bottom":{"value":"none","type":"space"},"right":{"value":"none","type":"space"}},"opacity":{"value":"1","type":"radius"},"font-size":{"value":"{label.large.font-size.value}","type":"font"},"font-family":{"value":"{label.large.font-family.value}","type":"font"},"font-weight":{"value":"{label.large.font-weight.value}","type":"font"},"line-height":{"value":"{label.large.line-height.value}","type":"font"},"letter-spacing":{"value":"{label.large.letter-spacing.value}","type":"font"},"text-transform":{"value":"none","type":"radius"},"border":{"width":{"value":"1px","type":"radius"},"style":{"value":"solid","type":"radius"},"color":{"value":"{color.surface.container.highest.@.value}","type":"color"}},"radius":{"value":"{radius.sm.value}","type":"radius"},"padding":{"top":{"value":"{space.0.value}","type":"space"},"bottom":{"value":"{space.0.value}","type":"space"},"left":{"value":"{space.6.value}","type":"space"},"right":{"value":"{space.6.value}","type":"space"}},"min-width":{"value":"auto","type":"space"},"height":{"value":"40px","type":"space"},"gap":{"value":"{space.2.value}","type":"space"},"shadow":{"value":"none","type":"radius"},"icon-size":{"value":"{icon.size.md.value}","type":"space"},"ripple":{"color":{"value":"rgba(255, 255, 255, 0.08)","type":"color"}},"skeleton":{"width":{"value":"96px","type":"radius"},"height":{"value":"{space.12.value}","type":"radius"}},"states":{"disabled":{"color":{"value":"{color.on-surface.@.value}","type":"color"},"background":{"value":"{color.surface.container.highest.@.value}","type":"color"},"border-color":{"value":"{color.surface.container.highest.@.value}","type":"color"},"opacity":{"value":"0.38","type":"radius"},"cursor":{"value":"not-allowed","type":"radius"},"shadow":{"value":"none","type":"radius"}}}},"appearances":{"filled":{"mapping":{},"variantGroups":{"status":{"default":{"background":{"value":"{color.surface.@.value}","type":"color"},"color":{"value":"{color.on-surface.@.value}","type":"color"},"border":{"color":{"value":"{color.surface.container.highest.@.value}","type":"color"}}},"primary":{"background":{"value":"{color.primary.@.value}","type":"color"},"color":{"value":"{color.on-primary.@.value}","type":"color"},"border":{"color":{"value":"{color.primary.@.value}","type":"color"}}},"secondary":{"background":{"value":"{color.secondary.@.value}","type":"color"},"color":{"value":"{color.on-secondary.@.value}","type":"color"},"border":{"color":{"value":"{color.secondary.@.value}","type":"color"}}},"tertiary":{"background":{"value":"{color.tertiary.@.value}","type":"color"},"color":{"value":"{color.on-tertiary.@.value}","type":"color"},"border":{"color":{"value":"{color.tertiary.@.value}","type":"color"}}},"success":{"background":{"value":"{color.success.@.value}","type":"color"},"color":{"value":"{color.on-success.@.value}","type":"color"},"border":{"color":{"value":"{color.success.@.value}","type":"color"}}},"info":{"background":{"value":"{color.info.@.value}","type":"color"},"color":{"value":"{color.on-info.@.value}","type":"color"},"border":{"color":{"value":"{color.info.@.value}","type":"color"}}},"warning":{"background":{"value":"{color.warning.@.value}","type":"color"},"color":{"value":"{color.on-warning.@.value}","type":"color"},"border":{"color":{"value":"{color.warning.@.value}","type":"color"}}},"danger":{"background":{"value":"{color.error.@.value}","type":"color"},"color":{"value":"{color.on-error.@.value}","type":"color"},"border":{"color":{"value":"{color.error.@.value}","type":"color"}}}}}},"outlined":{"mapping":{"background":{"value":"transparent","type":"color"}},"variantGroups":{"status":{"default":{"color":{"value":"{color.on-surface.@.value}","type":"color"},"border":{"color":{"value":"{color.surface.container.highest.@.value}","type":"color"}}},"primary":{"color":{"value":"{color.primary.@.value}","type":"color"},"border":{"color":{"value":"{color.primary.@.value}","type":"color"}}},"secondary":{"color":{"value":"{color.secondary.@.value}","type":"color"},"border":{"color":{"value":"{color.secondary.@.value}","type":"color"}}},"tertiary":{"color":{"value":"{color.tertiary.@.value}","type":"color"},"border":{"color":{"value":"{color.tertiary.@.value}","type":"color"}}},"success":{"color":{"value":"{color.success.@.value}","type":"color"},"border":{"color":{"value":"{color.success.@.value}","type":"color"}}},"info":{"color":{"value":"{color.info.@.value}","type":"color"},"border":{"color":{"value":"{color.info.@.value}","type":"color"}}},"warning":{"color":{"value":"{color.warning.@.value}","type":"color"},"border":{"color":{"value":"{color.warning.@.value}","type":"color"}}},"danger":{"color":{"value":"{color.error.@.value}","type":"color"},"border":{"color":{"value":"{color.error.@.value}","type":"color"}}},"error":{"color":{"value":"{color.error.@.value}","type":"color"},"border":{"color":{"value":"{color.error.@.value}","type":"color"}}}}}},"text":{"mapping":{"background":{"value":"none","type":"color"},"border":{"color":{"value":"transparent","type":"color"}},"padding":{"top":{"value":"{space.2.value}","type":"space"},"bottom":{"value":"{space.2.value}","type":"space"},"left":{"value":"{space.3.value}","type":"space"},"right":{"value":"{space.3.value}","type":"space"}}},"variantGroups":{"status":{"default":{"color":{"value":"{color.on-surface.@.value}","type":"color"}},"primary":{"color":{"value":"{color.primary.@.value}","type":"color"}},"secondary":{"color":{"value":"{color.secondary.@.value}","type":"color"}},"tertiary":{"color":{"value":"{color.tertiary.@.value}","type":"color"}},"success":{"color":{"value":"{color.success.@.value}","type":"color"}},"info":{"color":{"value":"{color.info.@.value}","type":"color"}},"warning":{"color":{"value":"{color.warning.@.value}","type":"color"}},"danger":{"color":{"value":"{color.error.@.value}","type":"color"}},"error":{"color":{"value":"{color.error.@.value}","type":"color"}}}}},"standard":{"mapping":{"background":{"value":"none","type":"color"},"border":{"color":{"value":"transparent","type":"color"}},"padding":{"top":{"value":"{space.2.value}","type":"space"},"bottom":{"value":"{space.2.value}","type":"space"},"left":{"value":"{space.3.value}","type":"space"},"right":{"value":"{space.3.value}","type":"space"}}},"variantGroups":{"status":{"default":{"color":{"value":"{color.on-surface.@.value}","type":"color"}},"primary":{"color":{"value":"{color.primary.@.value}","type":"color"}},"secondary":{"color":{"value":"{color.secondary.@.value}","type":"color"}},"tertiary":{"color":{"value":"{color.tertiary.@.value}","type":"color"}},"success":{"color":{"value":"{color.success.@.value}","type":"color"}},"info":{"color":{"value":"{color.info.@.value}","type":"color"}},"warning":{"color":{"value":"{color.warning.@.value}","type":"color"}},"danger":{"color":{"value":"{color.error.@.value}","type":"color"}},"error":{"color":{"value":"{color.error.@.value}","type":"color"}}}}},"icon":{"mapping":{"height":{"value":"40px","type":"space"},"min-width":{"value":"40px","type":"space"},"padding":{"top":{"value":"{space.0.value}","type":"space"},"bottom":{"value":"{space.0.value}","type":"space"},"left":{"value":"{space.0.value}","type":"space"},"right":{"value":"{space.0.value}","type":"space"}},"icon-size":{"value":"{icon.size.md.value}","type":"space"}}},"elevated":{"mapping":{"shadow":{"@":{"value":"{elevation.shadow.1.value}","type":"radius"}}}},"fab":{"mapping":{"position":{"@":{"value":"absolute","type":"space"},"bottom":{"value":"10px","type":"space"},"right":{"value":"10px","type":"space"}},"height":{"value":"56px","type":"space"},"min-width":{"value":"56px","type":"space"},"border":{"radius":{"value":"16px","type":"radius"}},"shadow":{"@":{"value":"{elevation.shadow.1.value}","type":"radius"}}}}}}}');
|
|
10
|
+
module.exports = /*#__PURE__*/JSON.parse('{"btn":{"meta":{"mapping":{"selector":{"web":".app-button","mobile":".app-button"},"states":{"disabled":{"selector":{"mobile":"-disabled","web":"[disabled]"}}}},"appearances":{}},"mapping":{"background":{"value":"{color.surface.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the background color of buttons (clickable elements that users interact with to perform actions). This is the main background color that appears behind the button text and icons.<br>CSS variable: --wm-btn-background"}},"color":{"value":"{color.on-surface.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the text color of buttons (clickable elements that users interact with to perform actions). This determines what color the button text appears in, which should contrast well with the background for readability.<br>CSS variable: --wm-btn-color"}},"cursor":{"value":"pointer","type":"radius","attributes":{"subtype":"cursor","description":"Controls the mouse cursor appearance when hovering over buttons. \'pointer\' shows a hand cursor indicating the button is clickable, \'default\' shows an arrow cursor, and \'not-allowed\' shows a blocked cursor for disabled buttons. This provides visual feedback to users about button interactivity.<br>CSS variable: --wm-btn-cursor"}},"position":{"@":{"value":"relative","type":"space","attributes":{"description":"Controls the positioning method for buttons. \'relative\' positions the button relative to its normal position, \'absolute\' positions it relative to its nearest positioned ancestor, \'fixed\' positions it relative to the viewport, and \'static\' uses the default flow.<br>CSS variable: --wm-btn-position"}},"bottom":{"value":"none","type":"space","attributes":{"subtype":"space","description":"Controls the distance from the bottom edge when buttons are positioned absolutely or fixed. This determines how far from the bottom the button appears. Acceptable values: px, %.<br>CSS variable: --wm-btn-position-bottom"}},"right":{"value":"none","type":"space","attributes":{"subtype":"space","description":"Controls the distance from the right edge when buttons are positioned absolutely or fixed. This determines how far from the right the button appears. Acceptable values: px, %.<br>CSS variable: --wm-btn-position-right"}}},"opacity":{"value":"1","type":"radius","attributes":{"subtype":"opacity","description":"Controls the transparency of the state layer (the invisible overlay that provides visual feedback during user interactions). When set to 0, the state layer is invisible. Higher values (0-1) make the interaction feedback more visible when users hover, focus, or click the button.<br>CSS variable: --wm-btn-state-layer-opacity"}},"font-size":{"value":"{label.large.font-size.value}","type":"font","attributes":{"subtype":"font-size","description":"Controls how large the button text appears (the text content within clickable buttons). This affects the size of the button text that users see and interact with.<br>CSS variable: --wm-btn-font-size"}},"font-family":{"value":"{label.large.font-family.value}","type":"font","attributes":{"subtype":"font-family","description":"Sets the typeface (font style) for button text (the text content within clickable buttons). This determines whether the button text appears in Arial, Times New Roman, or other font styles.<br>CSS variable: --wm-btn-font-family"}},"font-weight":{"value":"{label.large.font-weight.value}","type":"font","attributes":{"subtype":"font-weight","description":"Controls how thick or bold the button text appears (the text content within clickable buttons). \'normal\' makes it regular weight, \'bold\' makes it thicker, and numbers (100-900) provide fine control over thickness.<br>CSS variable: --wm-btn-font-weight"}},"line-height":{"value":"{label.large.line-height.value}","type":"font","attributes":{"subtype":"line-height","description":"Controls the vertical spacing between lines when button text wraps to multiple lines. This ensures proper spacing for the button text displayed in the button.<br>CSS variable: --wm-btn-line-height"}},"letter-spacing":{"value":"{label.large.letter-spacing.value}","type":"font","attributes":{"subtype":"letter-spacing","description":"Controls the horizontal spacing between individual characters in button text (the text content within clickable buttons). This can help make the button text more readable and properly spaced.<br>CSS variable: --wm-btn-letter-spacing"}},"text-transform":{"value":"none","type":"radius","attributes":{"subtype":"text-transform","description":"Controls text transformation for button text (the text content within clickable buttons). \'none\' keeps the original case, \'uppercase\' makes all text uppercase, \'lowercase\' makes all text lowercase, and \'capitalize\' capitalizes the first letter of each word.<br>CSS variable: --wm-btn-text-transform"}},"border":{"width":{"value":"1px","type":"radius","attributes":{"subtype":"border-width","description":"Controls the border thickness.<br>CSS variable: --wm-btn-border-width"}},"style":{"value":"solid","type":"radius","attributes":{"subtype":"border-style","description":"Sets the border style. Acceptable values: solid, dashed, dotted.<br>CSS variable: --wm-btn-border-style"}},"color":{"value":"{color.surface.container.highest.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the border color.<br>CSS variable: --wm-btn-border-color"}}},"radius":{"value":"{radius.sm.value}","type":"radius","attributes":{"subtype":"radius","description":"Controls the border radius for rounded corners.<br>CSS variable: --wm-btn-radius"}},"padding":{"top":{"value":"{space.0.value}","type":"space","attributes":{"subtype":"space","description":"Sets internal top spacing between content and border.<br>CSS variable: --wm-btn-padding-top"}},"bottom":{"value":"{space.0.value}","type":"space","attributes":{"subtype":"space","description":"Sets internal bottom spacing between content and border.<br>CSS variable: --wm-btn-padding-bottom"}},"left":{"value":"{space.6.value}","type":"space","attributes":{"subtype":"space","description":"Sets internal left spacing between content and border.<br>CSS variable: --wm-btn-padding-left"}},"right":{"value":"{space.6.value}","type":"space","attributes":{"subtype":"space","description":"Sets internal right spacing between content and border.<br>CSS variable: --wm-btn-padding-right"}}},"min-width":{"value":"auto","type":"space","attributes":{"subtype":"space","description":"Sets the minimum width.<br>CSS variable: --wm-btn-min-width"}},"height":{"value":"40px","type":"space","attributes":{"subtype":"space","description":"Controls the height.<br>CSS variable: --wm-btn-height"}},"gap":{"value":"{space.2.value}","type":"space","attributes":{"subtype":"space","description":"Sets spacing between icon and text content.<br>CSS variable: --wm-btn-gap"}},"shadow":{"value":"none","type":"radius","attributes":{"subtype":"elevation","description":"Controls the drop shadow effect.<br>CSS variable: --wm-btn-shadow"}},"icon-size":{"value":"{icon.size.md.value}","type":"space","attributes":{"subtype":"icon-size","description":"Controls the size of icons.<br>CSS variable: --wm-btn-icon-size"}},"ripple":{"color":{"value":"rgba(255, 255, 255, 0.08)","type":"color","attributes":{"subtype":"color","description":"Sets the color of the ripple effect that appears when users click or tap buttons (the visual feedback animation that spreads from the point of interaction). This determines what color the ripple animation appears in, typically a semi-transparent overlay.<br>CSS variable: --wm-btn-ripple-color"}}},"skeleton":{"width":{"value":"96px","type":"radius","attributes":{"subtype":"space","description":"Controls the width of button skeleton loaders (placeholder elements that appear while button content is loading). This determines how wide the loading placeholder appears. Acceptable units: px, em, rem, %.<br>CSS variable: --wm-btn-skeleton-width"}},"height":{"value":"{space.12.value}","type":"radius","attributes":{"subtype":"space","description":"Controls the height of button skeleton loaders (placeholder elements that appear while button content is loading). This determines how tall the loading placeholder appears. Acceptable units: px, em, rem.<br>CSS variable: --wm-btn-skeleton-height"}}},"states":{"disabled":{"color":{"value":"{color.on-surface.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the text color of buttons when they are in the disabled state (when buttons are not interactive and users cannot click them). This determines what color the button text appears in when the button is disabled.<br>CSS variable: --wm-btn-color (disabled state)"}},"background":{"value":"{color.surface.container.highest.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the background color of buttons when they are in the disabled state (when buttons are not interactive and users cannot click them). This is the background color that appears when the button is disabled.<br>CSS variable: --wm-btn-background (disabled state)"}},"border-color":{"value":"{color.surface.container.highest.@.value}","type":"color","attributes":{"subtype":"color","description":"Sets the color of borders around buttons when they are in the disabled state (when buttons are not interactive and users cannot click them). This determines what color the border appears in when the button is disabled.<br>CSS variable: --wm-btn-border-color (disabled state)"}},"opacity":{"value":"0.38","type":"radius","attributes":{"subtype":"opacity","description":"Controls the transparency of buttons when they are in the disabled state (when buttons are not interactive and users cannot click them). A value of 0.38 makes the buttons appear dimmed to indicate they are disabled. Lower values make them more transparent.<br>CSS variable: --wm-btn-opacity (disabled state)"}},"cursor":{"value":"not-allowed","type":"radius","attributes":{"subtype":"cursor","description":"Controls the mouse cursor appearance when hovering over disabled buttons (when buttons are not interactive and users cannot click them). \'not-allowed\' shows a blocked cursor indicating the button cannot be clicked, providing visual feedback to users about the button\'s disabled state.<br>CSS variable: --wm-btn-cursor (disabled state)"}},"shadow":{"value":"none","type":"radius","attributes":{"subtype":"elevation","description":"Controls the drop shadow effect around buttons when they are in the disabled state (when buttons are not interactive and users cannot click them). \'none\' removes shadows completely, making disabled buttons appear flat and less prominent.<br>CSS variable: --wm-btn-shadow (disabled state)"}}}}},"appearances":{"filled":{"mapping":{},"variantGroups":{"status":{"default":{"background":{"value":"{color.surface.@.value}","type":"color"},"color":{"value":"{color.on-surface.@.value}","type":"color"},"border":{"color":{"value":"{color.surface.container.highest.@.value}","type":"color"}}},"primary":{"background":{"value":"{color.primary.@.value}","type":"color"},"color":{"value":"{color.on-primary.@.value}","type":"color"},"border":{"color":{"value":"{color.primary.@.value}","type":"color"}}},"secondary":{"background":{"value":"{color.secondary.@.value}","type":"color"},"color":{"value":"{color.on-secondary.@.value}","type":"color"},"border":{"color":{"value":"{color.secondary.@.value}","type":"color"}}},"tertiary":{"background":{"value":"{color.tertiary.@.value}","type":"color"},"color":{"value":"{color.on-tertiary.@.value}","type":"color"},"border":{"color":{"value":"{color.tertiary.@.value}","type":"color"}}},"success":{"background":{"value":"{color.success.@.value}","type":"color"},"color":{"value":"{color.on-success.@.value}","type":"color"},"border":{"color":{"value":"{color.success.@.value}","type":"color"}}},"info":{"background":{"value":"{color.info.@.value}","type":"color"},"color":{"value":"{color.on-info.@.value}","type":"color"},"border":{"color":{"value":"{color.info.@.value}","type":"color"}}},"warning":{"background":{"value":"{color.warning.@.value}","type":"color"},"color":{"value":"{color.on-warning.@.value}","type":"color"},"border":{"color":{"value":"{color.warning.@.value}","type":"color"}}},"danger":{"background":{"value":"{color.error.@.value}","type":"color"},"color":{"value":"{color.on-error.@.value}","type":"color"},"border":{"color":{"value":"{color.error.@.value}","type":"color"}}}}}},"outlined":{"mapping":{"background":{"value":"transparent","type":"color"}},"variantGroups":{"status":{"default":{"color":{"value":"{color.on-surface.@.value}","type":"color"},"border":{"color":{"value":"{color.surface.container.highest.@.value}","type":"color"}}},"primary":{"color":{"value":"{color.primary.@.value}","type":"color"},"border":{"color":{"value":"{color.primary.@.value}","type":"color"}}},"secondary":{"color":{"value":"{color.secondary.@.value}","type":"color"},"border":{"color":{"value":"{color.secondary.@.value}","type":"color"}}},"tertiary":{"color":{"value":"{color.tertiary.@.value}","type":"color"},"border":{"color":{"value":"{color.tertiary.@.value}","type":"color"}}},"success":{"color":{"value":"{color.success.@.value}","type":"color"},"border":{"color":{"value":"{color.success.@.value}","type":"color"}}},"info":{"color":{"value":"{color.info.@.value}","type":"color"},"border":{"color":{"value":"{color.info.@.value}","type":"color"}}},"warning":{"color":{"value":"{color.warning.@.value}","type":"color"},"border":{"color":{"value":"{color.warning.@.value}","type":"color"}}},"danger":{"color":{"value":"{color.error.@.value}","type":"color"},"border":{"color":{"value":"{color.error.@.value}","type":"color"}}},"error":{"color":{"value":"{color.error.@.value}","type":"color"},"border":{"color":{"value":"{color.error.@.value}","type":"color"}}}}}},"text":{"mapping":{"background":{"value":"none","type":"color"},"border":{"color":{"value":"transparent","type":"color"}},"padding":{"top":{"value":"{space.2.value}","type":"space"},"bottom":{"value":"{space.2.value}","type":"space"},"left":{"value":"{space.3.value}","type":"space"},"right":{"value":"{space.3.value}","type":"space"}}},"variantGroups":{"status":{"default":{"color":{"value":"{color.on-surface.@.value}","type":"color"}},"primary":{"color":{"value":"{color.primary.@.value}","type":"color"}},"secondary":{"color":{"value":"{color.secondary.@.value}","type":"color"}},"tertiary":{"color":{"value":"{color.tertiary.@.value}","type":"color"}},"success":{"color":{"value":"{color.success.@.value}","type":"color"}},"info":{"color":{"value":"{color.info.@.value}","type":"color"}},"warning":{"color":{"value":"{color.warning.@.value}","type":"color"}},"danger":{"color":{"value":"{color.error.@.value}","type":"color"}},"error":{"color":{"value":"{color.error.@.value}","type":"color"}}}}},"standard":{"mapping":{"background":{"value":"none","type":"color"},"border":{"color":{"value":"transparent","type":"color"}},"padding":{"top":{"value":"{space.2.value}","type":"space"},"bottom":{"value":"{space.2.value}","type":"space"},"left":{"value":"{space.3.value}","type":"space"},"right":{"value":"{space.3.value}","type":"space"}}},"variantGroups":{"status":{"default":{"color":{"value":"{color.on-surface.@.value}","type":"color"}},"primary":{"color":{"value":"{color.primary.@.value}","type":"color"}},"secondary":{"color":{"value":"{color.secondary.@.value}","type":"color"}},"tertiary":{"color":{"value":"{color.tertiary.@.value}","type":"color"}},"success":{"color":{"value":"{color.success.@.value}","type":"color"}},"info":{"color":{"value":"{color.info.@.value}","type":"color"}},"warning":{"color":{"value":"{color.warning.@.value}","type":"color"}},"danger":{"color":{"value":"{color.error.@.value}","type":"color"}},"error":{"color":{"value":"{color.error.@.value}","type":"color"}}}}},"icon":{"mapping":{"height":{"value":"40px","type":"space"},"min-width":{"value":"40px","type":"space"},"padding":{"top":{"value":"{space.0.value}","type":"space"},"bottom":{"value":"{space.0.value}","type":"space"},"left":{"value":"{space.0.value}","type":"space"},"right":{"value":"{space.0.value}","type":"space"}},"icon-size":{"value":"{icon.size.md.value}","type":"space"}}},"elevated":{"mapping":{"shadow":{"@":{"value":"{elevation.shadow.1.value}","type":"radius"}}}},"fab":{"mapping":{"position":{"@":{"value":"absolute","type":"space"},"bottom":{"value":"10px","type":"space"},"right":{"value":"10px","type":"space"}},"height":{"value":"56px","type":"space"},"min-width":{"value":"56px","type":"space"},"border":{"radius":{"value":"16px","type":"radius"}},"shadow":{"@":{"value":"{elevation.shadow.1.value}","type":"radius"}}}}}}}');
|
|
11
11
|
|
|
12
12
|
/***/ })
|
|
13
13
|
|