@wavemaker-ai/foundation-css 1.0.0-rc.647469
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 +9454 -0
- package/cjs/src_tokens_mobile_components_accordion-pane_accordion-pane_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_accordion_accordion_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_anchor_anchor_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_audio_audio_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_badge_badge_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_barcodescanner_barcodescanner_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_bottomsheet_bottomsheet_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_breadcrumb_breadcrumb_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_button-group_button-group_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_button_button_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_calendar_calendar_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_camera_camera_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_cards_cards_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_carousel_carousel_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_checkbox_checkbox_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_checkboxset_checkboxset_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_chips_chips_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_container_container_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_currency_currency_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_datetime_datetime_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_dropdown-menu_dropdown-menu_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_fileupload_fileupload_json.foundation-css.cjs +14 -0
- 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_grid-layout_grid-layout_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_icon_icon_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_label_label_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_list_list_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_listtemplate_listtemplate_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_login_login_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_lottie_lottie_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_message_message_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_modal-dialog_modal-dialog_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_nav_nav_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_navbar_navbar_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_navitem_navitem_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_page-content_page-content_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_page-left-nav_page-left-nav_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_panel-footer_panel-footer_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_panel_panel_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_partial-container_partial-container_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_picture_picture_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_popover_popover_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_progress-bar_progress-bar_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_progress-circle_progress-circle_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_radioset_radioset_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_rating_rating_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_scrollbar_scrollbar_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_search_search_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_select_select_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_slider_slider_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_spinner_spinner_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_switch_switch_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_tabbar_tabbar_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_tabs_tabs_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_textarea_textarea_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_tile_tile_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_toast_toast_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_toggle_toggle_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_video_video_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_webview_webview_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_mobile_components_wizard_wizard_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_accordion_accordion_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_anchor_anchor_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_audio_audio_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_badge_badge_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_breadcrumb_breadcrumb_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_button-group_button-group_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_button_button_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_calendar_calendar_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_cards_cards_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_carousel_carousel_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_checkbox_checkbox_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_checkboxset_checkboxset_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_chips_chips_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_color-picker_color-picker_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_container_container_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_currency_currency_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_data-table_data-table_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_date_date_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_dropdown-menu_dropdown-menu_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_fileupload_fileupload_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_form-controls_form-controls_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_grid-layout_grid-layout_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_icon_icon_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_iconbutton-toggleable_iconbutton-toggleable_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_iframe_iframe_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_label_label_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_list_list_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_message_message_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_modal-dialog_modal-dialog_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_nav_nav_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_page-content_page-content_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_page-footer_page-footer_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_page-header_page-header_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_page-left-nav_page-left-nav_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_page-right-nav_page-right-nav_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_page-top-nav_page-top-nav_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_pagination_pagination_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_panel_panel_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_picture_picture_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_popover_popover_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_progress-bar_progress-bar_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_progress-circle_progress-circle_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_radioset_radioset_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_rating_rating_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_richtext-editor_richtext-editor_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_scrollbar_scrollbar_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_search_search_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_slider_slider_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_spinner_spinner_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_switch_switch_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_tabs_tabs_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_tile_tile_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_time_time_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_toast_toast_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_toggle_toggle_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_tree_tree_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_video_video_json.foundation-css.cjs +14 -0
- package/cjs/src_tokens_web_components_wizard_wizard_json.foundation-css.cjs +14 -0
- package/foundation/fonts/fonts/roboto.ttf +0 -0
- package/foundation/fonts/icons/fontawesome/fontawesome-webfont.eot +0 -0
- package/foundation/fonts/icons/fontawesome/fontawesome-webfont.svg +686 -0
- package/foundation/fonts/icons/fontawesome/fontawesome-webfont.ttf +0 -0
- package/foundation/fonts/icons/fontawesome/fontawesome-webfont.woff +0 -0
- package/foundation/fonts/icons/material/materialicon.eot +0 -0
- package/foundation/fonts/icons/material/materialicon.svg +97 -0
- package/foundation/fonts/icons/material/materialicon.ttf +0 -0
- package/foundation/fonts/icons/material/materialicon.woff +0 -0
- package/foundation/fonts/icons/summernote/summernote.eot +0 -0
- package/foundation/fonts/icons/summernote/summernote.svg +63 -0
- package/foundation/fonts/icons/summernote/summernote.ttf +0 -0
- package/foundation/fonts/icons/summernote/summernote.woff +0 -0
- package/foundation/fonts/icons/wavicon/wavicon.eot +0 -0
- package/foundation/fonts/icons/wavicon/wavicon.svg +1160 -0
- package/foundation/fonts/icons/wavicon/wavicon.ttf +0 -0
- package/foundation/fonts/icons/wavicon/wavicon.woff +0 -0
- package/foundation/fonts/icons/wm-streamline-light/wm-streamline-light-icon.eot +0 -0
- package/foundation/fonts/icons/wm-streamline-light/wm-streamline-light-icon.svg +244 -0
- package/foundation/fonts/icons/wm-streamline-light/wm-streamline-light-icon.ttf +0 -0
- package/foundation/fonts/icons/wm-streamline-light/wm-streamline-light-icon.woff +0 -0
- package/foundation/fonts/icons/wm-streamline-regular/wm-streamline-regular-icon.eot +0 -0
- package/foundation/fonts/icons/wm-streamline-regular/wm-streamline-regular-icon.svg +216 -0
- package/foundation/fonts/icons/wm-streamline-regular/wm-streamline-regular-icon.ttf +0 -0
- package/foundation/fonts/icons/wm-streamline-regular/wm-streamline-regular-icon.woff +0 -0
- package/foundation/foundation.css +26884 -0
- package/foundation/foundation.min.css +1 -0
- package/foundation/icon-fonts.min.css +1 -0
- package/index.d.ts +10 -0
- package/index.js +64 -0
- package/index.js.map +1 -0
- package/native_mobile.index.d.ts +280 -0
- package/native_mobile.index.js +321 -0
- package/native_mobile.index.js.map +1 -0
- package/npm-shrinkwrap.json +4373 -0
- package/package-lock.json +4373 -0
- package/package.json +57 -0
- package/src/node/index.d.ts +1 -0
- package/src/node/index.js +2 -0
- package/src/node/index.js.map +1 -0
- package/src/styles/mobile/components/advanced/carousel/carousel-content.less +3 -0
- package/src/styles/mobile/components/advanced/carousel/carousel-template.less +3 -0
- package/src/styles/mobile/components/advanced/carousel.less +141 -0
- package/src/styles/mobile/components/advanced/customwidgetcontainer.less +0 -0
- package/src/styles/mobile/components/advanced/login.less +11 -0
- package/src/styles/mobile/components/advanced/network-toast.less +15 -0
- package/src/styles/mobile/components/advanced/webview.less +4 -0
- package/src/styles/mobile/components/basic/anchor.less +38 -0
- package/src/styles/mobile/components/basic/audio.less +3 -0
- package/src/styles/mobile/components/basic/base.less +0 -0
- package/src/styles/mobile/components/basic/bottomsheet.less +32 -0
- package/src/styles/mobile/components/basic/button.less +76 -0
- package/src/styles/mobile/components/basic/buttongroup.less +43 -0
- package/src/styles/mobile/components/basic/custom.less +6 -0
- package/src/styles/mobile/components/basic/icon.less +22 -0
- package/src/styles/mobile/components/basic/label.less +314 -0
- package/src/styles/mobile/components/basic/lottie.less +10 -0
- package/src/styles/mobile/components/basic/message.less +77 -0
- package/src/styles/mobile/components/basic/modal.less +9 -0
- package/src/styles/mobile/components/basic/picture.less +48 -0
- package/src/styles/mobile/components/basic/progress-bar.less +75 -0
- package/src/styles/mobile/components/basic/progress-circle.less +28 -0
- package/src/styles/mobile/components/basic/search.less +110 -0
- package/src/styles/mobile/components/basic/skeleton.less +9 -0
- package/src/styles/mobile/components/basic/spinner.less +41 -0
- package/src/styles/mobile/components/basic/video.less +4 -0
- package/src/styles/mobile/components/chart/area-chart.less +81 -0
- package/src/styles/mobile/components/chart/bar-chart.less +39 -0
- package/src/styles/mobile/components/chart/bubble-chart.less +36 -0
- package/src/styles/mobile/components/chart/column-chart.less +36 -0
- package/src/styles/mobile/components/chart/donut-chart.less +33 -0
- package/src/styles/mobile/components/chart/line-chart.less +36 -0
- package/src/styles/mobile/components/chart/pie-chart.less +30 -0
- package/src/styles/mobile/components/container/accordion/accordionpane.less +9 -0
- package/src/styles/mobile/components/container/accordion.less +150 -0
- package/src/styles/mobile/components/container/layoutgrid/gridcolumn.less +8 -0
- package/src/styles/mobile/components/container/layoutgrid/gridrow.less +7 -0
- package/src/styles/mobile/components/container/layoutgrid.less +11 -0
- package/src/styles/mobile/components/container/linearlayout/linearlayoutitem.less +3 -0
- package/src/styles/mobile/components/container/linearlayout.less +3 -0
- package/src/styles/mobile/components/container/panel/panel-content.less +3 -0
- package/src/styles/mobile/components/container/panel/panel-footer.less +15 -0
- package/src/styles/mobile/components/container/panel.less +168 -0
- package/src/styles/mobile/components/container/tabs/tab-header.less +67 -0
- package/src/styles/mobile/components/container/tabs/tabpane.less +4 -0
- package/src/styles/mobile/components/container/tabs.less +12 -0
- package/src/styles/mobile/components/container/tile.less +47 -0
- package/src/styles/mobile/components/container/wizard/wizardstep.less +3 -0
- package/src/styles/mobile/components/container/wizard.less +89 -0
- package/src/styles/mobile/components/container.less +50 -0
- package/src/styles/mobile/components/data/card/card-content.less +6 -0
- package/src/styles/mobile/components/data/card/card-footer.less +5 -0
- package/src/styles/mobile/components/data/card.less +55 -0
- package/src/styles/mobile/components/data/form/form-body.less +3 -0
- package/src/styles/mobile/components/data/form/form-field.less +9 -0
- package/src/styles/mobile/components/data/form/form-footer.less +3 -0
- package/src/styles/mobile/components/data/form.less +394 -0
- package/src/styles/mobile/components/data/list/list-action-template.less +6 -0
- package/src/styles/mobile/components/data/list/list-template.less +6 -0
- package/src/styles/mobile/components/data/list.less +20 -0
- package/src/styles/mobile/components/device/barcodescanner.less +25 -0
- package/src/styles/mobile/components/device/camera.less +18 -0
- package/src/styles/mobile/components/dialogs/alertdialog.less +15 -0
- package/src/styles/mobile/components/dialogs/confirmdialog.less +30 -0
- package/src/styles/mobile/components/dialogs/dialog.less +132 -0
- package/src/styles/mobile/components/dialogs/dialogactions.less +3 -0
- package/src/styles/mobile/components/dialogs/dialogcontent.less +3 -0
- package/src/styles/mobile/components/input/basedataset.less +0 -0
- package/src/styles/mobile/components/input/baseinput.less +0 -0
- package/src/styles/mobile/components/input/basenumber.less +0 -0
- package/src/styles/mobile/components/input/calendar/views.less +3 -0
- package/src/styles/mobile/components/input/calendar.less +110 -0
- package/src/styles/mobile/components/input/checkbox.less +47 -0
- package/src/styles/mobile/components/input/checkboxset.less +62 -0
- package/src/styles/mobile/components/input/chips.less +98 -0
- package/src/styles/mobile/components/input/composite.less +4 -0
- package/src/styles/mobile/components/input/currency.less +71 -0
- package/src/styles/mobile/components/input/epoch/wheelpickermodal/datetime-picker-modal.less +62 -0
- package/src/styles/mobile/components/input/fileupload.less +26 -0
- package/src/styles/mobile/components/input/radioset.less +75 -0
- package/src/styles/mobile/components/input/rating.less +30 -0
- package/src/styles/mobile/components/input/select.less +41 -0
- package/src/styles/mobile/components/input/slider.less +39 -0
- package/src/styles/mobile/components/input/switch.less +44 -0
- package/src/styles/mobile/components/input/toggle.less +61 -0
- package/src/styles/mobile/components/navigation/appnavbar.less +106 -0
- package/src/styles/mobile/components/navigation/basenav.less +3 -0
- package/src/styles/mobile/components/navigation/menu.less +52 -0
- package/src/styles/mobile/components/navigation/navbar.less +9 -0
- package/src/styles/mobile/components/navigation/navitem.less +88 -0
- package/src/styles/mobile/components/navigation/popover.less +83 -0
- package/src/styles/mobile/components/page/content.less +3 -0
- package/src/styles/mobile/components/page/left-panel.less +7 -0
- package/src/styles/mobile/components/page/page-content.less +4 -0
- package/src/styles/mobile/components/page/partial-container.less +4 -0
- package/src/styles/mobile/components/page/partial.less +6 -0
- package/src/styles/mobile/components/page/tabbar.less +93 -0
- package/src/styles/mobile/components/page.less +3 -0
- package/src/styles/mobile/components/prefab.less +6 -0
- package/src/styles/mobile/components/tokens.dark.css +68 -0
- package/src/styles/mobile/components/tokens.light.css +1354 -0
- package/src/styles/mobile/components/variables/accordion.variant.less +18 -0
- package/src/styles/mobile/components/variables/button.variant.less +254 -0
- package/src/styles/mobile/components/variables/cards.variant.less +23 -0
- package/src/styles/mobile/components/variables/carousel.variant.less +18 -0
- package/src/styles/mobile/components/variables/checkbox.variant.less +16 -0
- package/src/styles/mobile/components/variables/checkboxset.variant.less +18 -0
- package/src/styles/mobile/components/variables/chips.variant.less +40 -0
- package/src/styles/mobile/components/variables/container.variant.less +26 -0
- package/src/styles/mobile/components/variables/form-controls.variant.less +105 -0
- package/src/styles/mobile/components/variables/icon.variant.less +48 -0
- package/src/styles/mobile/components/variables/label.variant.less +155 -0
- package/src/styles/mobile/components/variables/message.variant.less +29 -0
- package/src/styles/mobile/components/variables/navitem.variant.less +14 -0
- package/src/styles/mobile/components/variables/panel.variant.less +55 -0
- package/src/styles/mobile/components/variables/picture.variant.less +28 -0
- package/src/styles/mobile/components/variables/progress-bar.variant.less +24 -0
- package/src/styles/mobile/components/variables/progress-circle.variant.less +24 -0
- package/src/styles/mobile/components/variables/radioset.variant.less +12 -0
- package/src/styles/mobile/components/variables/rating.variant.less +8 -0
- package/src/styles/mobile/components/variables/switch.variant.less +14 -0
- package/src/styles/mobile/components/variables/tabbar.variant.less +16 -0
- package/src/styles/mobile/components/variables/tabs.variant.less +21 -0
- package/src/styles/mobile/components/variables/tile.variant.less +79 -0
- package/src/styles/mobile/components/variables/toggle.variant.less +17 -0
- package/src/styles/mobile/components/variables/wizard.variant.less +26 -0
- package/src/styles/mobile/studio/advanced/carousel.less +75 -0
- package/src/styles/mobile/studio/advanced/login.less +6 -0
- package/src/styles/mobile/studio/advanced/styles.less +3 -0
- package/src/styles/mobile/studio/advanced/webview.less +4 -0
- package/src/styles/mobile/studio/basic/anchor.less +16 -0
- package/src/styles/mobile/studio/basic/button-group.less +47 -0
- package/src/styles/mobile/studio/basic/button.less +22 -0
- package/src/styles/mobile/studio/basic/icon.less +21 -0
- package/src/styles/mobile/studio/basic/label.less +29 -0
- package/src/styles/mobile/studio/basic/message.less +75 -0
- package/src/styles/mobile/studio/basic/picture.less +10 -0
- 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 +39 -0
- 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 +23 -0
- package/src/styles/mobile/studio/container/container.less +19 -0
- package/src/styles/mobile/studio/container/grid.less +8 -0
- package/src/styles/mobile/studio/container/linearlayout.less +8 -0
- package/src/styles/mobile/studio/container/panel.less +42 -0
- package/src/styles/mobile/studio/container/styles.less +7 -0
- package/src/styles/mobile/studio/container/tabs.less +122 -0
- package/src/styles/mobile/studio/container/tile.less +7 -0
- package/src/styles/mobile/studio/container/wizard.less +48 -0
- 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 +25 -0
- package/src/styles/mobile/studio/data/listtemplate.less +11 -0
- package/src/styles/mobile/studio/data/styles.less +4 -0
- package/src/styles/mobile/studio/device/barcode.less +17 -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 +180 -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 +68 -0
- package/src/styles/mobile/studio/input/checkbox.less +78 -0
- package/src/styles/mobile/studio/input/checkboxset.less +82 -0
- package/src/styles/mobile/studio/input/chips.less +11 -0
- package/src/styles/mobile/studio/input/currency.less +24 -0
- package/src/styles/mobile/studio/input/date.less +7 -0
- package/src/styles/mobile/studio/input/epoch/datetime-picker-modal.less +49 -0
- package/src/styles/mobile/studio/input/form.less +204 -0
- package/src/styles/mobile/studio/input/number.less +6 -0
- package/src/styles/mobile/studio/input/radioset.less +110 -0
- package/src/styles/mobile/studio/input/rating.less +21 -0
- package/src/styles/mobile/studio/input/select.less +39 -0
- package/src/styles/mobile/studio/input/slider.less +132 -0
- package/src/styles/mobile/studio/input/styles.less +17 -0
- package/src/styles/mobile/studio/input/switch.less +13 -0
- 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 +99 -0
- package/src/styles/mobile/studio/layouts/appnavbar.less +78 -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 +50 -0
- package/src/styles/mobile/studio/navigation/menu.less +21 -0
- package/src/styles/mobile/studio/navigation/nav.less +4 -0
- package/src/styles/mobile/studio/navigation/popover.less +31 -0
- package/src/styles/mobile/studio/navigation/styles.less +3 -0
- package/src/styles/mobile/studio/styles.less +17 -0
- package/src/token-validation/component-token-schema.d.ts +171 -0
- package/src/token-validation/component-token-schema.js +148 -0
- package/src/token-validation/component-token-schema.js.map +1 -0
- package/src/token-validation/constants.d.ts +42 -0
- package/src/token-validation/constants.js +55 -0
- package/src/token-validation/constants.js.map +1 -0
- package/src/token-validation/global-token-schema.d.ts +38 -0
- package/src/token-validation/global-token-schema.js +42 -0
- package/src/token-validation/global-token-schema.js.map +1 -0
- package/src/token-validation/validate-token.d.ts +72 -0
- package/src/token-validation/validate-token.js +1070 -0
- package/src/token-validation/validate-token.js.map +1 -0
- package/src/token-validation/validate-value.d.ts +13 -0
- package/src/token-validation/validate-value.js +57 -0
- package/src/token-validation/validate-value.js.map +1 -0
- package/src/token-validation/validator-utils/common/constants.d.ts +185 -0
- package/src/token-validation/validator-utils/common/constants.js +281 -0
- package/src/token-validation/validator-utils/common/constants.js.map +1 -0
- package/src/token-validation/validator-utils/common/primitives.d.ts +14 -0
- package/src/token-validation/validator-utils/common/primitives.js +35 -0
- package/src/token-validation/validator-utils/common/primitives.js.map +1 -0
- package/src/token-validation/validator-utils/common/utils.d.ts +192 -0
- package/src/token-validation/validator-utils/common/utils.js +418 -0
- package/src/token-validation/validator-utils/common/utils.js.map +1 -0
- package/src/token-validation/validator-utils/native_mobile.d.ts +1 -0
- package/src/token-validation/validator-utils/native_mobile.js +11 -0
- package/src/token-validation/validator-utils/native_mobile.js.map +1 -0
- package/src/token-validation/validator-utils/web.d.ts +1 -0
- package/src/token-validation/validator-utils/web.js +12 -0
- package/src/token-validation/validator-utils/web.js.map +1 -0
- package/src/tokens/mobile/components/accordion/accordion.json +518 -0
- package/src/tokens/mobile/components/accordion-pane/accordion-pane.json +65 -0
- package/src/tokens/mobile/components/anchor/anchor.json +129 -0
- package/src/tokens/mobile/components/audio/audio.json +15 -0
- package/src/tokens/mobile/components/badge/badge.json +122 -0
- package/src/tokens/mobile/components/barcodescanner/barcodescanner.json +140 -0
- package/src/tokens/mobile/components/bottomsheet/bottomsheet.json +154 -0
- package/src/tokens/mobile/components/breadcrumb/breadcrumb.json +86 -0
- package/src/tokens/mobile/components/button/button.json +736 -0
- package/src/tokens/mobile/components/button-group/button-group.json +51 -0
- package/src/tokens/mobile/components/calendar/calendar.json +435 -0
- package/src/tokens/mobile/components/camera/camera.json +73 -0
- package/src/tokens/mobile/components/cards/cards.json +180 -0
- package/src/tokens/mobile/components/carousel/carousel.json +603 -0
- package/src/tokens/mobile/components/checkbox/checkbox.json +232 -0
- package/src/tokens/mobile/components/checkboxset/checkboxset.json +334 -0
- package/src/tokens/mobile/components/chips/chips.json +423 -0
- package/src/tokens/mobile/components/container/container.json +191 -0
- package/src/tokens/mobile/components/currency/currency.json +96 -0
- package/src/tokens/mobile/components/datetime/datetime.json +223 -0
- package/src/tokens/mobile/components/dropdown-menu/dropdown-menu.json +199 -0
- package/src/tokens/mobile/components/fileupload/fileupload.json +121 -0
- package/src/tokens/mobile/components/form-controls/form-controls.json +727 -0
- package/src/tokens/mobile/components/form-wrapper/form-wrapper.json +361 -0
- package/src/tokens/mobile/components/grid-layout/grid-layout.json +30 -0
- package/src/tokens/mobile/components/icon/icon.json +246 -0
- package/src/tokens/mobile/components/label/label.json +618 -0
- package/src/tokens/mobile/components/list/list.json +66 -0
- package/src/tokens/mobile/components/listtemplate/listtemplate.json +84 -0
- package/src/tokens/mobile/components/login/login.json +65 -0
- package/src/tokens/mobile/components/lottie/lottie.json +52 -0
- package/src/tokens/mobile/components/message/message.json +336 -0
- package/src/tokens/mobile/components/modal-dialog/modal-dialog.json +353 -0
- package/src/tokens/mobile/components/nav/nav.json +14 -0
- package/src/tokens/mobile/components/navbar/navbar.json +368 -0
- package/src/tokens/mobile/components/navitem/navitem.json +521 -0
- package/src/tokens/mobile/components/page-content/page-content.json +31 -0
- package/src/tokens/mobile/components/page-left-nav/page-left-nav.json +56 -0
- package/src/tokens/mobile/components/panel/panel.json +478 -0
- package/src/tokens/mobile/components/panel-footer/panel-footer.json +116 -0
- package/src/tokens/mobile/components/partial-container/partial-container.json +23 -0
- package/src/tokens/mobile/components/picture/picture.json +166 -0
- package/src/tokens/mobile/components/popover/popover.json +387 -0
- package/src/tokens/mobile/components/progress-bar/progress-bar.json +216 -0
- package/src/tokens/mobile/components/progress-circle/progress-circle.json +176 -0
- package/src/tokens/mobile/components/radioset/radioset.json +279 -0
- package/src/tokens/mobile/components/rating/rating.json +117 -0
- package/src/tokens/mobile/components/scrollbar/scrollbar.json +38 -0
- package/src/tokens/mobile/components/search/search.json +408 -0
- package/src/tokens/mobile/components/select/select.json +229 -0
- package/src/tokens/mobile/components/slider/slider.json +111 -0
- package/src/tokens/mobile/components/spinner/spinner.json +92 -0
- package/src/tokens/mobile/components/switch/switch.json +213 -0
- package/src/tokens/mobile/components/tabbar/tabbar.json +415 -0
- package/src/tokens/mobile/components/tabs/tabs.json +432 -0
- package/src/tokens/mobile/components/textarea/textarea.json +16 -0
- package/src/tokens/mobile/components/tile/tile.json +377 -0
- package/src/tokens/mobile/components/toast/toast.json +186 -0
- package/src/tokens/mobile/components/toggle/toggle.json +239 -0
- package/src/tokens/mobile/components/video/video.json +23 -0
- package/src/tokens/mobile/components/webview/webview.json +32 -0
- package/src/tokens/mobile/components/wizard/wizard.json +550 -0
- package/src/tokens/mobile/global/border/border.json +90 -0
- package/src/tokens/mobile/global/border-style/border-style.json +30 -0
- package/src/tokens/mobile/global/box-shadow/box-shadow.json +40 -0
- package/src/tokens/mobile/global/colors/color.dark.json +150 -0
- package/src/tokens/mobile/global/colors/color.json +338 -0
- package/src/tokens/mobile/global/colors/color.light.json +1 -0
- package/src/tokens/mobile/global/elevation/elevation.json +36 -0
- package/src/tokens/mobile/global/font/font.json +377 -0
- package/src/tokens/mobile/global/gap/gap.json +60 -0
- package/src/tokens/mobile/global/icon/icon.json +15 -0
- package/src/tokens/mobile/global/margin/margin.json +60 -0
- package/src/tokens/mobile/global/opacity/opacity.json +6 -0
- package/src/tokens/mobile/global/radius/radius.json +15 -0
- package/src/tokens/mobile/global/space/space.json +18 -0
- package/src/tokens/mobile/global/spacer/spacer.json +15 -0
- package/src/tokens/web/components/accordion/Readme.md +18 -0
- package/src/tokens/web/components/accordion/Token.Readme.md +30 -0
- package/src/tokens/web/components/accordion/accordion.json +321 -0
- package/src/tokens/web/components/anchor/Token.Readme.md +20 -0
- package/src/tokens/web/components/anchor/anchor.json +189 -0
- package/src/tokens/web/components/audio/Token.Readme.md +9 -0
- package/src/tokens/web/components/audio/audio.json +15 -0
- package/src/tokens/web/components/badge/Token.Readme.md +19 -0
- package/src/tokens/web/components/badge/badge.json +100 -0
- package/src/tokens/web/components/breadcrumb/Readme.md +23 -0
- package/src/tokens/web/components/breadcrumb/Token.Readme.md +21 -0
- package/src/tokens/web/components/breadcrumb/breadcrumb.json +392 -0
- package/src/tokens/web/components/button/Readme.md +54 -0
- package/src/tokens/web/components/button/Token.Readme.md +29 -0
- package/src/tokens/web/components/button/button.json +734 -0
- package/src/tokens/web/components/button-group/Token.Readme.md +9 -0
- package/src/tokens/web/components/button-group/button-group.json +22 -0
- package/src/tokens/web/components/calendar/Token.Readme.md +63 -0
- package/src/tokens/web/components/calendar/calendar.json +501 -0
- package/src/tokens/web/components/cards/Readme.md +23 -0
- package/src/tokens/web/components/cards/Token.Readme.md +22 -0
- package/src/tokens/web/components/cards/cards.json +371 -0
- package/src/tokens/web/components/carousel/Token.Readme.md +20 -0
- package/src/tokens/web/components/carousel/carousel.json +160 -0
- package/src/tokens/web/components/checkbox/Token.Readme.md +25 -0
- package/src/tokens/web/components/checkbox/checkbox.json +274 -0
- package/src/tokens/web/components/checkboxset/Token.Readme.md +9 -0
- package/src/tokens/web/components/checkboxset/checkboxset.json +18 -0
- package/src/tokens/web/components/chips/Readme.md +26 -0
- package/src/tokens/web/components/chips/Token.Readme.md +43 -0
- package/src/tokens/web/components/chips/chips.json +653 -0
- package/src/tokens/web/components/color-picker/Token.Readme.md +10 -0
- package/src/tokens/web/components/color-picker/color-picker.json +24 -0
- package/src/tokens/web/components/container/Readme.md +23 -0
- package/src/tokens/web/components/container/Token.Readme.md +13 -0
- package/src/tokens/web/components/container/container.json +207 -0
- package/src/tokens/web/components/currency/Token.Readme.md +14 -0
- package/src/tokens/web/components/currency/currency.json +59 -0
- package/src/tokens/web/components/data-table/Readme.md +29 -0
- package/src/tokens/web/components/data-table/Token.Readme.md +54 -0
- package/src/tokens/web/components/data-table/data-table.json +603 -0
- package/src/tokens/web/components/date/Token.Readme.md +33 -0
- package/src/tokens/web/components/date/date.json +328 -0
- package/src/tokens/web/components/dropdown-menu/Readme.md +16 -0
- package/src/tokens/web/components/dropdown-menu/Token.Readme.md +25 -0
- package/src/tokens/web/components/dropdown-menu/dropdown-menu.json +259 -0
- package/src/tokens/web/components/fileupload/Token.Readme.md +44 -0
- package/src/tokens/web/components/fileupload/fileupload.json +328 -0
- package/src/tokens/web/components/form-controls/Token.Readme.md +48 -0
- package/src/tokens/web/components/form-controls/form-controls.json +548 -0
- package/src/tokens/web/components/grid-layout/Token.Readme.md +11 -0
- package/src/tokens/web/components/grid-layout/grid-layout.json +34 -0
- package/src/tokens/web/components/icon/Readme.md +22 -0
- package/src/tokens/web/components/icon/Token.Readme.md +14 -0
- package/src/tokens/web/components/icon/icon.json +364 -0
- package/src/tokens/web/components/iconbutton-toggleable/Readme.md +17 -0
- package/src/tokens/web/components/iconbutton-toggleable/Token.Readme.md +19 -0
- package/src/tokens/web/components/iconbutton-toggleable/iconbutton-toggleable.json +557 -0
- package/src/tokens/web/components/iframe/Token.Readme.md +10 -0
- package/src/tokens/web/components/iframe/iframe.json +23 -0
- package/src/tokens/web/components/label/Readme.md +55 -0
- package/src/tokens/web/components/label/Token.Readme.md +17 -0
- package/src/tokens/web/components/label/label.json +723 -0
- package/src/tokens/web/components/list/Token.Readme.md +19 -0
- package/src/tokens/web/components/list/list.json +198 -0
- package/src/tokens/web/components/message/Readme.md +19 -0
- package/src/tokens/web/components/message/Token.Readme.md +22 -0
- package/src/tokens/web/components/message/message.json +312 -0
- package/src/tokens/web/components/modal-dialog/Readme.md +35 -0
- package/src/tokens/web/components/modal-dialog/Token.Readme.md +31 -0
- package/src/tokens/web/components/modal-dialog/modal-dialog.json +462 -0
- package/src/tokens/web/components/nav/Readme.md +41 -0
- package/src/tokens/web/components/nav/Token.Readme.md +25 -0
- package/src/tokens/web/components/nav/nav.json +236 -0
- package/src/tokens/web/components/page-content/Token.Readme.md +9 -0
- package/src/tokens/web/components/page-content/page-content.json +17 -0
- package/src/tokens/web/components/page-footer/Token.Readme.md +18 -0
- package/src/tokens/web/components/page-footer/page-footer.json +98 -0
- package/src/tokens/web/components/page-header/Token.Readme.md +18 -0
- package/src/tokens/web/components/page-header/page-header.json +90 -0
- package/src/tokens/web/components/page-left-nav/Readme.md +27 -0
- package/src/tokens/web/components/page-left-nav/Token.Readme.md +55 -0
- package/src/tokens/web/components/page-left-nav/page-left-nav.json +961 -0
- package/src/tokens/web/components/page-right-nav/Readme.md +27 -0
- 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 +950 -0
- 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 +83 -0
- package/src/tokens/web/components/pagination/Readme.md +23 -0
- package/src/tokens/web/components/pagination/Token.Readme.md +35 -0
- package/src/tokens/web/components/pagination/pagination.json +477 -0
- package/src/tokens/web/components/panel/Readme.md +18 -0
- package/src/tokens/web/components/panel/Token.Readme.md +39 -0
- package/src/tokens/web/components/panel/panel.json +397 -0
- package/src/tokens/web/components/picture/Readme.md +24 -0
- package/src/tokens/web/components/picture/Token.Readme.md +16 -0
- package/src/tokens/web/components/picture/picture.json +233 -0
- package/src/tokens/web/components/popover/Token.Readme.md +34 -0
- package/src/tokens/web/components/popover/popover.json +222 -0
- package/src/tokens/web/components/progress-bar/Readme.md +35 -0
- package/src/tokens/web/components/progress-bar/Token.Readme.md +15 -0
- package/src/tokens/web/components/progress-bar/progress-bar.json +439 -0
- package/src/tokens/web/components/progress-circle/Readme.md +19 -0
- package/src/tokens/web/components/progress-circle/Token.Readme.md +16 -0
- package/src/tokens/web/components/progress-circle/progress-circle.json +257 -0
- package/src/tokens/web/components/radioset/Token.Readme.md +24 -0
- package/src/tokens/web/components/radioset/radioset.json +259 -0
- package/src/tokens/web/components/rating/Token.Readme.md +14 -0
- package/src/tokens/web/components/rating/rating.json +116 -0
- package/src/tokens/web/components/richtext-editor/Token.Readme.md +106 -0
- package/src/tokens/web/components/richtext-editor/richtext-editor.json +1054 -0
- package/src/tokens/web/components/scrollbar/Token.Readme.md +15 -0
- package/src/tokens/web/components/scrollbar/scrollbar.json +66 -0
- package/src/tokens/web/components/search/Token.Readme.md +39 -0
- package/src/tokens/web/components/search/search.json +390 -0
- package/src/tokens/web/components/slider/Token.Readme.md +24 -0
- package/src/tokens/web/components/slider/slider.json +153 -0
- package/src/tokens/web/components/spinner/Token.Readme.md +15 -0
- package/src/tokens/web/components/spinner/spinner.json +77 -0
- package/src/tokens/web/components/switch/Token.Readme.md +20 -0
- package/src/tokens/web/components/switch/switch.json +241 -0
- package/src/tokens/web/components/tabs/Token.Readme.md +36 -0
- package/src/tokens/web/components/tabs/tabs.json +328 -0
- package/src/tokens/web/components/tile/Readme.md +39 -0
- package/src/tokens/web/components/tile/Token.Readme.md +13 -0
- package/src/tokens/web/components/tile/tile.json +442 -0
- package/src/tokens/web/components/time/Token.Readme.md +37 -0
- package/src/tokens/web/components/time/time.json +263 -0
- package/src/tokens/web/components/toast/Readme.md +19 -0
- package/src/tokens/web/components/toast/Token.Readme.md +35 -0
- package/src/tokens/web/components/toast/toast.json +464 -0
- package/src/tokens/web/components/toggle/Token.Readme.md +20 -0
- package/src/tokens/web/components/toggle/toggle.json +249 -0
- package/src/tokens/web/components/tree/Token.Readme.md +27 -0
- package/src/tokens/web/components/tree/tree.json +265 -0
- package/src/tokens/web/components/video/Token.Readme.md +10 -0
- package/src/tokens/web/components/video/video.json +23 -0
- package/src/tokens/web/components/wizard/Readme.md +41 -0
- package/src/tokens/web/components/wizard/Token.Readme.md +76 -0
- package/src/tokens/web/components/wizard/wizard.json +1449 -0
- package/src/tokens/web/global/border/border.json +116 -0
- package/src/tokens/web/global/border-style/border-style.json +72 -0
- package/src/tokens/web/global/box-shadow/box-shadow.json +24 -0
- package/src/tokens/web/global/colors/color.dark.json +398 -0
- package/src/tokens/web/global/colors/color.json +566 -0
- package/src/tokens/web/global/colors/color.light.json +1 -0
- package/src/tokens/web/global/elevation/elevation.json +48 -0
- package/src/tokens/web/global/font/font.json +599 -0
- package/src/tokens/web/global/gap/gap.json +57 -0
- package/src/tokens/web/global/icon/icon.json +84 -0
- package/src/tokens/web/global/margin/margin.json +57 -0
- package/src/tokens/web/global/opacity/opacity.json +7 -0
- package/src/tokens/web/global/radius/radius.json +77 -0
- package/src/tokens/web/global/space/space.json +125 -0
- package/src/tokens/web/global/spacer/spacer.json +45 -0
- package/src/utils/style-dictionary-utils.d.ts +25 -0
- package/src/utils/style-dictionary-utils.js +360 -0
- package/src/utils/style-dictionary-utils.js.map +1 -0
- package/src/utils/utils.d.ts +15 -0
- package/src/utils/utils.js +25 -0
- package/src/utils/utils.js.map +1 -0
- package/src/wm-namespace.d.ts +11 -0
- package/src/wm-namespace.js +12 -0
- package/src/wm-namespace.js.map +1 -0
- package/web.index.d.ts +20 -0
- package/web.index.js +300 -0
- package/web.index.js.map +1 -0
- package/webpack.config.cjs +43 -0
- package/webpack.config.cjs.map +1 -0
- package/webpack.config.d.cts +32 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
.app-mobile-navbar {
|
|
2
|
+
box-shadow: 0px 0px 1px #00000033;
|
|
3
|
+
width: 100%;
|
|
4
|
+
padding: 0;
|
|
5
|
+
height: auto;
|
|
6
|
+
.navbar {
|
|
7
|
+
display: flex;
|
|
8
|
+
height: var(--wm-navbar-height);
|
|
9
|
+
align-content: center;
|
|
10
|
+
flex-direction: row;
|
|
11
|
+
.mobile-navbar-left {
|
|
12
|
+
flex: 1;
|
|
13
|
+
.navbar-nav {
|
|
14
|
+
height: 100%;
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: row;
|
|
17
|
+
justify-content: flex-start;
|
|
18
|
+
align-items: center;
|
|
19
|
+
li i {
|
|
20
|
+
color: var(--wm-navbar-back-icon-color);
|
|
21
|
+
font-size: var(--wm-navbar-back-icon-size);;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.mobile-navbar-center {
|
|
26
|
+
max-width: none;
|
|
27
|
+
.navbar-header {
|
|
28
|
+
height: 100%;
|
|
29
|
+
}
|
|
30
|
+
.navbar-brand {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: row;
|
|
33
|
+
align-items: center;
|
|
34
|
+
text-align: initial;
|
|
35
|
+
padding-left: 12px;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
.mobile-navbar-right {
|
|
39
|
+
flex: 1;
|
|
40
|
+
.navbar-nav {
|
|
41
|
+
height: 100%;
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: row;
|
|
44
|
+
justify-content: flex-end;
|
|
45
|
+
align-items: center;
|
|
46
|
+
}
|
|
47
|
+
.navbar-nav.navbar-right {
|
|
48
|
+
li {
|
|
49
|
+
display: inline-flex;
|
|
50
|
+
align-items: flex-start;
|
|
51
|
+
flex-wrap: nowrap;
|
|
52
|
+
height: 36pt;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
}
|
|
56
|
+
.app-anchor,
|
|
57
|
+
.app-menu,
|
|
58
|
+
.app-button
|
|
59
|
+
.app-popover {
|
|
60
|
+
vertical-align: middle;
|
|
61
|
+
background-color: transparent;
|
|
62
|
+
.app-icon {
|
|
63
|
+
padding-right: 2px;
|
|
64
|
+
font-size: var(--wm-navbar-anchor-icon-size);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
.app-button {
|
|
68
|
+
display: inline-block;
|
|
69
|
+
margin: 0;
|
|
70
|
+
line-height: initial;
|
|
71
|
+
>.btn-caption {
|
|
72
|
+
color: var(--wm-navbar-button-color);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
.app-tabbar {
|
|
2
|
+
position: relative;
|
|
3
|
+
height: var(--wm-tabbar-height);
|
|
4
|
+
padding: 4px;
|
|
5
|
+
gap: var(--wm-tabbar-gap);
|
|
6
|
+
box-shadow: var(--wm-tabbar-box-shadow);
|
|
7
|
+
border-width: var(--wm-tabbar-border-width);
|
|
8
|
+
border-style: var(--wm-tabbar-border-style);
|
|
9
|
+
border-color: var(--wm-tabbar-border-color);
|
|
10
|
+
padding: var(--wm-space-1);
|
|
11
|
+
.navbar-default {
|
|
12
|
+
background-color: inherit;
|
|
13
|
+
.tab-items {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
align-content: center;
|
|
18
|
+
padding-top: 10px;
|
|
19
|
+
> li > a {
|
|
20
|
+
min-height: var(--wm-tabbar-item-min-height);
|
|
21
|
+
min-width: var(--wm-tabbar-item-min-width);
|
|
22
|
+
background-color: var(--wm-tabbar-item-background-color);
|
|
23
|
+
border-radius: var(--wm-tabbar-item-border-radius);
|
|
24
|
+
border-width: var(--wm-tabbar-item-border-width);
|
|
25
|
+
border-style: var(--wm-tabbar-item-border-style);
|
|
26
|
+
border-color: var(--wm-tabbar-item-border-color);
|
|
27
|
+
opacity: var(--wm-tabbar-item-opacity);
|
|
28
|
+
gap: var(--wm-tabbar-item-gap);
|
|
29
|
+
margin-bottom: var(--wm-space-0);
|
|
30
|
+
padding: var(--wm-tabbar-item-padding);
|
|
31
|
+
height: auto;
|
|
32
|
+
.app-icon {
|
|
33
|
+
color: var(--wm-tabbar-icon-color);
|
|
34
|
+
font-size: var(--wm-tabbar-icon-size);
|
|
35
|
+
padding: var(--wm-tabbar-icon-padding);
|
|
36
|
+
}
|
|
37
|
+
label {
|
|
38
|
+
color: var(--wm-tabbar-text-color);
|
|
39
|
+
font-size: var(--wm-tabbar-text-font-size);
|
|
40
|
+
font-family: var(--wm-tabbar-text-font-family);
|
|
41
|
+
font-weight: var(--wm-tabbar-text-font-weight);
|
|
42
|
+
margin-top: var(--wm-tabbar-text-margin-top);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
.dropdown-menu-right {
|
|
48
|
+
display: none;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.app-menu .app-button>.caret,
|
|
2
|
+
.app-menu .app-anchor>.caret {
|
|
3
|
+
color: var(--wm-dropdown-menu-caret-color);
|
|
4
|
+
margin: 0;
|
|
5
|
+
display: inline-flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: center;
|
|
8
|
+
position: absolute;
|
|
9
|
+
left: calc(var(--wm-dropdown-menu-caret-size) * 5.2);
|
|
10
|
+
width: var(--wm-dropdown-menu-caret-size);
|
|
11
|
+
height: var(--wm-dropdown-menu-caret-size);
|
|
12
|
+
font-size: var(--wm-dropdown-menu-caret-size);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.dropdown.app-menu .btn,
|
|
16
|
+
.dropdown.app-menu a {
|
|
17
|
+
padding-right: calc(var(--wm-dropdown-menu-caret-size) * 2);
|
|
18
|
+
border-width: 0;
|
|
19
|
+
background-color: transparent;
|
|
20
|
+
width: 100%;
|
|
21
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.app-popover-wrapper {
|
|
2
|
+
background-color: var(--wm-popover-link-background-color);
|
|
3
|
+
border-color: var(--wm-popover-link-border-color);
|
|
4
|
+
border-width: var(--wm-popover-link-border-width);
|
|
5
|
+
border-style: var(--wm-popover-link-border-style);
|
|
6
|
+
padding: var(--wm-popover-link-padding);
|
|
7
|
+
width: var(--wm-popover-link-width);
|
|
8
|
+
height: var(--wm-popover-link-height);
|
|
9
|
+
min-height: var(--wm-popover-link-min-height);
|
|
10
|
+
border-radius: var(--wm-popover-link-radius);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.app-popover-wrapper .anchor-caption{
|
|
14
|
+
color: var(--wm-popover-link-color) !important;
|
|
15
|
+
padding-left: var(--wm-space-2) !important;
|
|
16
|
+
padding-right: var(--wm-space-2) !important;
|
|
17
|
+
font-size: var(--wm-popover-link-font-size) !important;
|
|
18
|
+
font-family: var(--wm-popover-link-font-family) !important;
|
|
19
|
+
font-weight: var(--wm-popover-link-font-weight) !important;
|
|
20
|
+
line-height: var(--wm-popover-link-line-height) !important;
|
|
21
|
+
letter-spacing: var(--wm-popover-link-letter-spacing) !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.app-popover-wrapper .app-icon:before{
|
|
25
|
+
color: var(--wm-popover-link-icon-color) !important;
|
|
26
|
+
font-size: var(--wm-popover-link-icon-size) !important;
|
|
27
|
+
min-width: var(--wm-popover-link-icon-size) !important;
|
|
28
|
+
width: var(--wm-popover-link-icon-size) !important;
|
|
29
|
+
height: var(--wm-popover-link-icon-size) !important;
|
|
30
|
+
line-height: var(--wm-popover-link-icon-size) !important;
|
|
31
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.wm-studio .wm-right-panel-container .file-container-pane .wm-file-container .wm-workspace .workspace-content .canvas-panel {
|
|
2
|
+
@import url('./advanced/styles.less');
|
|
3
|
+
@import url('./basic/styles.less');
|
|
4
|
+
@import url('./container/styles.less');
|
|
5
|
+
@import url('./data/styles.less');
|
|
6
|
+
@import url('./device/styles.less');
|
|
7
|
+
@import url('./dialogs/styles.less');
|
|
8
|
+
@import url('./input/styles.less');
|
|
9
|
+
@import url('./layouts/styles.less');
|
|
10
|
+
@import url('./navigation/styles.less');
|
|
11
|
+
}
|
|
12
|
+
.wm-right-panel-container .style-workspace-container.widgets{
|
|
13
|
+
@import url('./input/epoch/datetime-picker-modal.less');
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
//TODO: Remove this after refactoring styles
|
|
17
|
+
@import url('./input/form.less');
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
export default function geComponentTokenSchema(enabledRules?: {}): {
|
|
2
|
+
$schema: string;
|
|
3
|
+
type: string;
|
|
4
|
+
minProperties: number;
|
|
5
|
+
maxProperties: number;
|
|
6
|
+
patternProperties: {
|
|
7
|
+
"^[a-zA-Z0-9_-]+$": {
|
|
8
|
+
additionalProperties: boolean;
|
|
9
|
+
properties: {
|
|
10
|
+
meta: {
|
|
11
|
+
type: string;
|
|
12
|
+
additionalProperties: boolean;
|
|
13
|
+
};
|
|
14
|
+
mapping: {
|
|
15
|
+
type: string;
|
|
16
|
+
properties: {
|
|
17
|
+
states: {
|
|
18
|
+
type: string;
|
|
19
|
+
patternProperties: {
|
|
20
|
+
"^[a-zA-Z0-9_-]+$": {
|
|
21
|
+
type: string;
|
|
22
|
+
additionalProperties: {
|
|
23
|
+
$ref: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
additionalProperties: boolean;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
additionalProperties: {
|
|
31
|
+
$ref: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
appearances: {
|
|
35
|
+
$ref: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
required?: string[] | undefined;
|
|
39
|
+
type: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
definitions: {
|
|
43
|
+
mappingToken: {
|
|
44
|
+
additionalProperties: {
|
|
45
|
+
$ref: string;
|
|
46
|
+
};
|
|
47
|
+
if?: {
|
|
48
|
+
required: string[];
|
|
49
|
+
} | undefined;
|
|
50
|
+
then?: {
|
|
51
|
+
required: string[];
|
|
52
|
+
} | undefined;
|
|
53
|
+
type: string;
|
|
54
|
+
leafMustHaveValue: boolean;
|
|
55
|
+
tokenValueContent: boolean;
|
|
56
|
+
properties: {
|
|
57
|
+
value: {
|
|
58
|
+
type: string;
|
|
59
|
+
minLength: number;
|
|
60
|
+
refExists: boolean;
|
|
61
|
+
};
|
|
62
|
+
type: {
|
|
63
|
+
type: string;
|
|
64
|
+
enum: string[];
|
|
65
|
+
};
|
|
66
|
+
attributes: {
|
|
67
|
+
additionalProperties: boolean;
|
|
68
|
+
required?: string[] | undefined;
|
|
69
|
+
type: string;
|
|
70
|
+
properties: {
|
|
71
|
+
subtype: {
|
|
72
|
+
type: string;
|
|
73
|
+
};
|
|
74
|
+
description: {
|
|
75
|
+
type: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
appearanceNode: {
|
|
82
|
+
type: string;
|
|
83
|
+
additionalProperties: {
|
|
84
|
+
type: string;
|
|
85
|
+
properties: {
|
|
86
|
+
mapping: {
|
|
87
|
+
type: string;
|
|
88
|
+
overrideContext: boolean;
|
|
89
|
+
additionalProperties: {
|
|
90
|
+
$ref: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
states: {
|
|
94
|
+
type: string;
|
|
95
|
+
patternProperties: {
|
|
96
|
+
"^[a-zA-Z0-9_-]+$": {
|
|
97
|
+
type: string;
|
|
98
|
+
overrideContext: boolean;
|
|
99
|
+
additionalProperties: {
|
|
100
|
+
$ref: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
additionalProperties: boolean;
|
|
105
|
+
};
|
|
106
|
+
variantGroups: {
|
|
107
|
+
type: string;
|
|
108
|
+
additionalProperties: {
|
|
109
|
+
type: string;
|
|
110
|
+
additionalProperties: {
|
|
111
|
+
type: string;
|
|
112
|
+
overrideContext: boolean;
|
|
113
|
+
properties: {
|
|
114
|
+
states: {
|
|
115
|
+
type: string;
|
|
116
|
+
patternProperties: {
|
|
117
|
+
"^[a-zA-Z0-9_-]+$": {
|
|
118
|
+
type: string;
|
|
119
|
+
overrideContext: boolean;
|
|
120
|
+
additionalProperties: {
|
|
121
|
+
$ref: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
additionalProperties: boolean;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
additionalProperties: {
|
|
129
|
+
$ref: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
additionalProperties: boolean;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
overrideToken: {
|
|
139
|
+
type: string;
|
|
140
|
+
leafMustHaveValue: boolean;
|
|
141
|
+
tokenValueContent: boolean;
|
|
142
|
+
properties: {
|
|
143
|
+
value: {
|
|
144
|
+
type: string;
|
|
145
|
+
minLength: number;
|
|
146
|
+
refExists: boolean;
|
|
147
|
+
};
|
|
148
|
+
type: {
|
|
149
|
+
type: string;
|
|
150
|
+
enum: string[];
|
|
151
|
+
};
|
|
152
|
+
attributes: {
|
|
153
|
+
type: string;
|
|
154
|
+
properties: {
|
|
155
|
+
subtype: {
|
|
156
|
+
type: string;
|
|
157
|
+
};
|
|
158
|
+
description: {
|
|
159
|
+
type: string;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
additionalProperties: boolean;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
additionalProperties: {
|
|
166
|
+
$ref: string;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
additionalProperties: boolean;
|
|
171
|
+
};
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { TOKEN_VALUE_TYPES } from "./constants.js";
|
|
2
|
+
export default function geComponentTokenSchema(enabledRules = {}) {
|
|
3
|
+
const hasStructure = enabledRules.structure == true;
|
|
4
|
+
const hasMetadata = enabledRules.metadata == true;
|
|
5
|
+
return {
|
|
6
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"minProperties": 1,
|
|
9
|
+
"maxProperties": 1,
|
|
10
|
+
"patternProperties": {
|
|
11
|
+
"^[a-zA-Z0-9_-]+$": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
...(hasStructure ? { required: ["mapping"] } : {}),
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"properties": {
|
|
16
|
+
"meta": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"additionalProperties": true
|
|
19
|
+
},
|
|
20
|
+
"mapping": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"states": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"patternProperties": {
|
|
26
|
+
"^[a-zA-Z0-9_-]+$": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"additionalProperties": { "$ref": "#/definitions/overrideToken" }
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"additionalProperties": false
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"additionalProperties": { "$ref": "#/definitions/mappingToken" }
|
|
35
|
+
},
|
|
36
|
+
"appearances": { "$ref": "#/definitions/appearanceNode" }
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"definitions": {
|
|
41
|
+
"mappingToken": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"leafMustHaveValue": true,
|
|
44
|
+
"tokenValueContent": true,
|
|
45
|
+
"properties": {
|
|
46
|
+
"value": { "type": "string", "minLength": 1, "refExists": true },
|
|
47
|
+
"type": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"enum": TOKEN_VALUE_TYPES
|
|
50
|
+
},
|
|
51
|
+
"attributes": {
|
|
52
|
+
"type": "object",
|
|
53
|
+
"properties": {
|
|
54
|
+
"subtype": { "type": "string" },
|
|
55
|
+
"description": { "type": "string" }
|
|
56
|
+
},
|
|
57
|
+
...(hasMetadata ? { required: ["subtype", "description"] } : {}),
|
|
58
|
+
"additionalProperties": false
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
...(hasMetadata
|
|
62
|
+
? {
|
|
63
|
+
if: { required: ["value"] },
|
|
64
|
+
then: { required: ["type", "attributes"] }
|
|
65
|
+
}
|
|
66
|
+
: {}),
|
|
67
|
+
"additionalProperties": { "$ref": "#/definitions/mappingToken" }
|
|
68
|
+
},
|
|
69
|
+
"appearanceNode": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"additionalProperties": {
|
|
72
|
+
"type": "object",
|
|
73
|
+
"properties": {
|
|
74
|
+
"mapping": {
|
|
75
|
+
"type": "object",
|
|
76
|
+
"overrideContext": true,
|
|
77
|
+
"additionalProperties": { "$ref": "#/definitions/overrideToken" }
|
|
78
|
+
},
|
|
79
|
+
"states": {
|
|
80
|
+
"type": "object",
|
|
81
|
+
"patternProperties": {
|
|
82
|
+
"^[a-zA-Z0-9_-]+$": {
|
|
83
|
+
"type": "object",
|
|
84
|
+
"overrideContext": true,
|
|
85
|
+
"additionalProperties": { "$ref": "#/definitions/overrideToken" }
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"additionalProperties": false
|
|
89
|
+
},
|
|
90
|
+
"variantGroups": {
|
|
91
|
+
"type": "object",
|
|
92
|
+
"additionalProperties": {
|
|
93
|
+
"type": "object",
|
|
94
|
+
"additionalProperties": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"overrideContext": true,
|
|
97
|
+
"properties": {
|
|
98
|
+
"states": {
|
|
99
|
+
"type": "object",
|
|
100
|
+
"patternProperties": {
|
|
101
|
+
"^[a-zA-Z0-9_-]+$": {
|
|
102
|
+
"type": "object",
|
|
103
|
+
"overrideContext": true,
|
|
104
|
+
"additionalProperties": {
|
|
105
|
+
"$ref": "#/definitions/overrideToken"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"additionalProperties": false
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"additionalProperties": {
|
|
113
|
+
"$ref": "#/definitions/overrideToken"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"additionalProperties": false
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"overrideToken": {
|
|
123
|
+
"type": "object",
|
|
124
|
+
"leafMustHaveValue": true,
|
|
125
|
+
"tokenValueContent": true,
|
|
126
|
+
"properties": {
|
|
127
|
+
"value": { "type": "string", "minLength": 1, "refExists": true },
|
|
128
|
+
"type": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"enum": TOKEN_VALUE_TYPES
|
|
131
|
+
},
|
|
132
|
+
"attributes": {
|
|
133
|
+
"type": "object",
|
|
134
|
+
"properties": {
|
|
135
|
+
"subtype": { "type": "string" },
|
|
136
|
+
"description": { "type": "string" }
|
|
137
|
+
},
|
|
138
|
+
"additionalProperties": true
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"additionalProperties": { "$ref": "#/definitions/overrideToken" }
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"additionalProperties": false
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
;
|
|
148
|
+
//# sourceMappingURL=component-token-schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-token-schema.js","sourceRoot":"./","sources":["src/token-validation/component-token-schema.js"],"names":[],"mappings":"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","sourcesContent":["import { TOKEN_VALUE_TYPES } from \"./constants.js\";\n\nexport default function geComponentTokenSchema(enabledRules = {}) {\n const hasStructure = enabledRules.structure == true;\n const hasMetadata = enabledRules.metadata == true;\n \n return {\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"type\": \"object\",\n \"minProperties\": 1,\n \"maxProperties\": 1,\n\n \"patternProperties\": {\n \"^[a-zA-Z0-9_-]+$\": {\n \"type\": \"object\",\n ...(hasStructure ? { required: [\"mapping\"] } : {}),\n \"additionalProperties\": false,\n\n \"properties\": {\n \"meta\": {\n \"type\": \"object\",\n \"additionalProperties\": true\n },\n\n \"mapping\": {\n \"type\": \"object\",\n \"properties\": {\n \"states\": {\n \"type\": \"object\",\n \"patternProperties\": {\n \"^[a-zA-Z0-9_-]+$\": {\n \"type\": \"object\",\n \"additionalProperties\": { \"$ref\": \"#/definitions/overrideToken\" }\n }\n },\n \"additionalProperties\": false\n }\n },\n \"additionalProperties\": { \"$ref\": \"#/definitions/mappingToken\" }\n },\n\n \"appearances\": { \"$ref\": \"#/definitions/appearanceNode\" }\n }\n }\n },\n\n \"definitions\": {\n \"mappingToken\": {\n \"type\": \"object\",\n \"leafMustHaveValue\": true,\n \"tokenValueContent\": true,\n \"properties\": {\n \"value\": { \"type\": \"string\", \"minLength\": 1, \"refExists\": true },\n \"type\": {\n \"type\": \"string\",\n \"enum\": TOKEN_VALUE_TYPES\n },\n \"attributes\": {\n \"type\": \"object\",\n \"properties\": {\n \"subtype\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" }\n },\n ...(hasMetadata ? { required: [\"subtype\", \"description\"] } : {}),\n \"additionalProperties\": false\n }\n },\n ...(hasMetadata\n ? {\n if: { required: [\"value\"] },\n then: { required: [\"type\", \"attributes\"] }\n }\n : {}),\n \"additionalProperties\": { \"$ref\": \"#/definitions/mappingToken\" }\n },\n\n \"appearanceNode\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\",\n \"properties\": {\n \"mapping\": {\n \"type\": \"object\",\n \"overrideContext\": true,\n \"additionalProperties\": { \"$ref\": \"#/definitions/overrideToken\" }\n },\n \"states\": {\n \"type\": \"object\",\n \"patternProperties\": {\n \"^[a-zA-Z0-9_-]+$\": {\n \"type\": \"object\",\n \"overrideContext\": true,\n \"additionalProperties\": { \"$ref\": \"#/definitions/overrideToken\" }\n }\n },\n \"additionalProperties\": false\n },\n \"variantGroups\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"object\", \n \"additionalProperties\": {\n \"type\": \"object\",\n \"overrideContext\": true,\n\n \"properties\": {\n \"states\": {\n \"type\": \"object\",\n \"patternProperties\": {\n \"^[a-zA-Z0-9_-]+$\": {\n \"type\": \"object\",\n \"overrideContext\": true,\n \"additionalProperties\": {\n \"$ref\": \"#/definitions/overrideToken\"\n }\n }\n },\n \"additionalProperties\": false\n }\n },\n\n \"additionalProperties\": {\n \"$ref\": \"#/definitions/overrideToken\"\n }\n }\n }\n }\n },\n\n \"additionalProperties\": false\n }\n },\n\n \"overrideToken\": {\n \"type\": \"object\",\n \"leafMustHaveValue\": true,\n \"tokenValueContent\": true,\n \"properties\": {\n \"value\": { \"type\": \"string\", \"minLength\": 1, \"refExists\": true },\n \"type\": {\n \"type\": \"string\",\n \"enum\": TOKEN_VALUE_TYPES\n },\n \"attributes\": {\n \"type\": \"object\",\n \"properties\": {\n \"subtype\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" }\n },\n \"additionalProperties\": true\n }\n },\n \"additionalProperties\": { \"$ref\": \"#/definitions/overrideToken\" }\n }\n },\n\n \"additionalProperties\": false\n}\n\n};\n"]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export namespace VALIDATION_RULES {
|
|
2
|
+
let STRUCTURE: string;
|
|
3
|
+
let METADATA: string;
|
|
4
|
+
let REFERENCES: string;
|
|
5
|
+
let OVERRIDES: string;
|
|
6
|
+
let VALUES: string;
|
|
7
|
+
}
|
|
8
|
+
export const ERROR_TYPES: Readonly<{
|
|
9
|
+
INVALID_REFERENCE: "reference error";
|
|
10
|
+
INVALID_FIELD: "invalid field";
|
|
11
|
+
MISSING_FIELD: "missing field";
|
|
12
|
+
INVALID_VALUE: "invalid value";
|
|
13
|
+
INVALID_STRUCTURE: "invalid structure";
|
|
14
|
+
INVALID_JSON: "invalid json";
|
|
15
|
+
BUILD_ERROR: "build error";
|
|
16
|
+
}>;
|
|
17
|
+
export const TOKEN_TYPES: Readonly<{
|
|
18
|
+
GLOBAL: "global";
|
|
19
|
+
COMPONENT: "component";
|
|
20
|
+
}>;
|
|
21
|
+
export const VALIDATION_SCOPE: Readonly<{
|
|
22
|
+
FOUNDATION: "foundation";
|
|
23
|
+
PROJECT: "project";
|
|
24
|
+
}>;
|
|
25
|
+
export const FOLDER_TYPE: Readonly<{
|
|
26
|
+
WEB: "web";
|
|
27
|
+
MOBILE: "mobile";
|
|
28
|
+
}>;
|
|
29
|
+
export const TOKEN_VALUE_TYPES: string[];
|
|
30
|
+
export const ALLOWED_PROPERTIES_BY_CONTEXT: ({
|
|
31
|
+
match: (path: any) => any;
|
|
32
|
+
allowed: string[];
|
|
33
|
+
} | {
|
|
34
|
+
match: (path: any) => any;
|
|
35
|
+
allowed: null;
|
|
36
|
+
})[];
|
|
37
|
+
export const VALUE_RELATED_KEYWORDS: Set<string>;
|
|
38
|
+
export namespace PLATFORM {
|
|
39
|
+
let WEB: string;
|
|
40
|
+
let MOBILE: string;
|
|
41
|
+
let BOTH: string;
|
|
42
|
+
}
|