@lifesg/react-design-system 4.0.0-alpha.2 → 4.0.0-alpha.3
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/_virtual/index.js +1 -1
- package/_virtual/index3.js +1 -1
- package/alert/alert.js +1 -1
- package/alert/alert.js.map +1 -1
- package/animations/loading-dots-spinner/loading-dots-spinner.js +1 -1
- package/animations/loading-dots-spinner/loading-dots-spinner.js.map +1 -1
- package/badge/badge.js +1 -1
- package/badge/badge.js.map +1 -1
- package/box-container/box-container.js +1 -1
- package/box-container/box-container.js.map +1 -1
- package/breadcrumb/breadcrumb.js +1 -1
- package/breadcrumb/breadcrumb.js.map +1 -1
- package/button/button.js +1 -1
- package/button/button.js.map +1 -1
- package/button/button.styles.d.ts +1 -0
- package/button/button.styles.js +1 -1
- package/button/button.styles.js.map +1 -1
- package/{cjs/button/button.styles_142m6cx.css → button/button.styles_bcpkzm.css} +2 -1
- package/cjs/_virtual/index.js +1 -1
- package/cjs/_virtual/index3.js +1 -1
- package/cjs/alert/alert.js +1 -1
- package/cjs/alert/alert.js.map +1 -1
- package/cjs/animations/loading-dots-spinner/loading-dots-spinner.js +1 -1
- package/cjs/animations/loading-dots-spinner/loading-dots-spinner.js.map +1 -1
- package/cjs/badge/badge.js +1 -1
- package/cjs/badge/badge.js.map +1 -1
- package/cjs/box-container/box-container.js +1 -1
- package/cjs/box-container/box-container.js.map +1 -1
- package/cjs/breadcrumb/breadcrumb.js +1 -1
- package/cjs/breadcrumb/breadcrumb.js.map +1 -1
- package/cjs/button/button.js +1 -1
- package/cjs/button/button.js.map +1 -1
- package/cjs/button/button.styles.js +1 -1
- package/cjs/button/button.styles.js.map +1 -1
- package/{button/button.styles_142m6cx.css → cjs/button/button.styles_bcpkzm.css} +2 -1
- package/cjs/countdown-timer/countdown-timer.js +1 -1
- package/cjs/countdown-timer/countdown-timer.js.map +1 -1
- package/cjs/countdown-timer/countdown-timer.styles.js +2 -0
- package/cjs/countdown-timer/countdown-timer.styles.js.map +1 -0
- package/cjs/countdown-timer/countdown-timer.styles_k50tkw.css +8 -0
- package/cjs/dashed-border/dashed-border.js +1 -1
- package/cjs/dashed-border/dashed-border.js.map +1 -1
- package/cjs/data-table/data-table.js +1 -1
- package/cjs/data-table/data-table.js.map +1 -1
- package/cjs/data-table/data-table.styles.js +1 -152
- package/cjs/data-table/data-table.styles.js.map +1 -1
- package/cjs/data-table/data-table.styles_1nj2uzq.css +26 -0
- package/cjs/date-input/date-input.js +1 -1
- package/cjs/date-input/date-input.js.map +1 -1
- package/cjs/date-input/date-input.styles.js +2 -0
- package/cjs/date-input/date-input.styles.js.map +1 -0
- package/cjs/date-input/date-input.styles_1r5kcc7.css +1 -0
- package/cjs/date-range-input/date-range-input.js +1 -1
- package/cjs/date-range-input/date-range-input.js.map +1 -1
- package/cjs/date-range-input/date-range-input.styles.js +2 -0
- package/cjs/date-range-input/date-range-input.styles.js.map +1 -0
- package/cjs/date-range-input/date-range-input.styles_1s7ojnj.css +4 -0
- package/cjs/divider/divider.js +1 -1
- package/cjs/divider/divider.js.map +1 -1
- package/cjs/e-signature/e-signature.js +1 -1
- package/cjs/e-signature/e-signature.js.map +1 -1
- package/cjs/e-signature/e-signature.styles.js +18 -18
- package/cjs/e-signature/e-signature.styles.js.map +1 -1
- package/cjs/error-display/error-display-data.js +1 -1
- package/cjs/error-display/error-display-data.js.map +1 -1
- package/cjs/error-display/error-display.js +1 -1
- package/cjs/error-display/error-display.js.map +1 -1
- package/cjs/error-display/helper.js +1 -1
- package/cjs/error-display/helper.js.map +1 -1
- package/cjs/external/lodash/isNumber.js +2 -0
- package/cjs/external/lodash/isNumber.js.map +1 -0
- package/cjs/external/lodash.clonedeep/index.js +1 -1
- package/cjs/external/lottie-colorify/lib/index.js +1 -1
- package/cjs/external/lottie-colorify/lib/index.js.map +1 -1
- package/cjs/external/prop-types/external/react-is/index.js +1 -1
- package/cjs/external/prop-types/index.js +1 -1
- package/cjs/external/prop-types/index.js.map +1 -1
- package/cjs/feedback-rating/feedback-rating-stars-container.js +1 -1
- package/cjs/feedback-rating/feedback-rating-stars-container.js.map +1 -1
- package/cjs/feedback-rating/feedback-rating-stars-container.styles.js +1 -36
- package/cjs/feedback-rating/feedback-rating-stars-container.styles.js.map +1 -1
- package/cjs/feedback-rating/feedback-rating-stars-container.styles_dmi8z9.css +4 -0
- package/cjs/feedback-rating/feedback-rating.js +1 -1
- package/cjs/feedback-rating/feedback-rating.js.map +1 -1
- package/cjs/feedback-rating/feedback-rating.styles.js +1 -37
- package/cjs/feedback-rating/feedback-rating.styles.js.map +1 -1
- package/cjs/feedback-rating/feedback-rating.styles_1kdklb6.css +4 -0
- package/cjs/file-download/file-list-card/file-list-card.js +1 -1
- package/cjs/file-download/file-list-card/file-list-card.js.map +1 -1
- package/cjs/file-upload/dropzone.js +1 -1
- package/cjs/file-upload/dropzone.js.map +1 -1
- package/cjs/file-upload/dropzone.styles.js +1 -34
- package/cjs/file-upload/dropzone.styles.js.map +1 -1
- package/cjs/file-upload/dropzone.styles_1pllsau.css +6 -0
- package/cjs/file-upload/file-item-edit.js +1 -1
- package/cjs/file-upload/file-item-edit.js.map +1 -1
- package/cjs/file-upload/file-item-edit.styles.js +1 -66
- package/cjs/file-upload/file-item-edit.styles.js.map +1 -1
- package/cjs/file-upload/file-item-edit.styles_1qbpbxj.css +10 -0
- package/cjs/file-upload/file-list-item/file-list-item-thumbnail.js +1 -34
- package/cjs/file-upload/file-list-item/file-list-item-thumbnail.js.map +1 -1
- package/cjs/file-upload/file-list-item/file-list-item-thumbnail.styles.js +2 -0
- package/cjs/file-upload/file-list-item/file-list-item-thumbnail.styles.js.map +1 -0
- package/cjs/file-upload/file-list-item/file-list-item-thumbnail.styles_1vrh1ve.css +4 -0
- package/cjs/file-upload/file-list-item/file-list-item.js +1 -1
- package/cjs/file-upload/file-list-item/file-list-item.js.map +1 -1
- package/cjs/file-upload/file-list-item/file-list-item.styles.js +1 -174
- package/cjs/file-upload/file-list-item/file-list-item.styles.js.map +1 -1
- package/cjs/file-upload/file-list-item/file-list-item.styles_y7my2m.css +14 -0
- package/cjs/file-upload/file-list.js +1 -1
- package/cjs/file-upload/file-list.js.map +1 -1
- package/cjs/file-upload/file-list.styles.js +1 -20
- package/cjs/file-upload/file-list.styles.js.map +1 -1
- package/cjs/file-upload/file-list.styles_16vplxk.css +3 -0
- package/cjs/file-upload/file-upload.js +1 -1
- package/cjs/file-upload/file-upload.js.map +1 -1
- package/cjs/file-upload/file-upload.styles.js +1 -40
- package/cjs/file-upload/file-upload.styles.js.map +1 -1
- package/cjs/file-upload/file-upload.styles_9ffwcd.css +8 -0
- package/cjs/filter/addons/filter-item-checkbox.js +1 -1
- package/cjs/filter/addons/filter-item-checkbox.js.map +1 -1
- package/cjs/filter/addons/filter-item-checkbox.styles.js +1 -72
- package/cjs/filter/addons/filter-item-checkbox.styles.js.map +1 -1
- package/cjs/filter/addons/filter-item-checkbox.styles_18l87i2.css +16 -0
- package/cjs/filter/filter-item-page.js +1 -1
- package/cjs/filter/filter-item-page.js.map +1 -1
- package/cjs/filter/filter-item-page.styles.js +1 -7
- package/cjs/filter/filter-item-page.styles.js.map +1 -1
- package/cjs/filter/filter-item-page.styles_17ewfrz.css +1 -0
- package/cjs/filter/filter-item.js +1 -1
- package/cjs/filter/filter-item.js.map +1 -1
- package/cjs/filter/filter-item.styles.js +1 -63
- package/cjs/filter/filter-item.styles.js.map +1 -1
- package/cjs/filter/filter-item.styles_1e3v6qq.css +17 -0
- package/cjs/filter/filter-modal.js +1 -1
- package/cjs/filter/filter-modal.js.map +1 -1
- package/cjs/filter/filter-modal.styles.js +1 -29
- package/cjs/filter/filter-modal.styles.js.map +1 -1
- package/cjs/filter/filter-modal.styles_e0ev97.css +8 -0
- package/cjs/filter/filter-sidebar.js +1 -1
- package/cjs/filter/filter-sidebar.js.map +1 -1
- package/cjs/filter/filter-sidebar.styles.js +1 -23
- package/cjs/filter/filter-sidebar.styles.js.map +1 -1
- package/cjs/filter/filter-sidebar.styles_cwvqql.css +4 -0
- package/cjs/filter/filter.js +1 -1
- package/cjs/filter/filter.js.map +1 -1
- package/cjs/filter/filter.styles.js +1 -26
- package/cjs/filter/filter.styles.js.map +1 -1
- package/cjs/filter/filter.styles_2fmaok.css +5 -0
- package/cjs/form/form-label-addon.js +1 -1
- package/cjs/form/form-label-addon.js.map +1 -1
- package/cjs/form/form-masked-input.js +1 -1
- package/cjs/form/form-masked-input.js.map +1 -1
- package/cjs/form/form-time-range-picker.js +1 -1
- package/cjs/form/form-time-range-picker.js.map +1 -1
- package/cjs/form/index.js.map +1 -1
- package/cjs/fullscreen-image-carousel/fullscreen-image-carousel.js +1 -1
- package/cjs/fullscreen-image-carousel/fullscreen-image-carousel.js.map +1 -1
- package/cjs/fullscreen-image-carousel/fullscreen-image-carousel.styles.js +2 -0
- package/cjs/fullscreen-image-carousel/fullscreen-image-carousel.styles.js.map +1 -0
- package/cjs/fullscreen-image-carousel/fullscreen-image-carousel.styles_vc6y5c.css +75 -0
- package/cjs/fullscreen-image-carousel/stateful-image.js +1 -1
- package/cjs/fullscreen-image-carousel/stateful-image.js.map +1 -1
- package/cjs/fullscreen-image-carousel/stateful-image.styles.js +2 -0
- package/cjs/fullscreen-image-carousel/stateful-image.styles.js.map +1 -0
- package/cjs/fullscreen-image-carousel/stateful-image.styles_1xe8ypm.css +3 -0
- package/cjs/histogram-slider/histogram-slider.js +1 -1
- package/cjs/histogram-slider/histogram-slider.js.map +1 -1
- package/cjs/index.js +1 -1
- package/cjs/input-group/input-group-list-addon.js +1 -1
- package/cjs/input-group/input-group-list-addon.js.map +1 -1
- package/cjs/input-group/input-group-list-addon.styles.js +1 -1
- package/cjs/input-group/input-group-list-addon.styles.js.map +1 -1
- package/{input-group/input-group-list-addon.styles_1my6j2v.css → cjs/input-group/input-group-list-addon.styles_17iuqtw.css} +2 -2
- package/cjs/input-group/input-group.js +1 -1
- package/cjs/input-group/input-group.js.map +1 -1
- package/cjs/input-multi-select/input-multi-select.js +1 -1
- package/cjs/input-multi-select/input-multi-select.js.map +1 -1
- package/cjs/input-nested-multi-select/input-nested-multi-select.js +1 -1
- package/cjs/input-nested-multi-select/input-nested-multi-select.js.map +1 -1
- package/cjs/input-nested-select/input-nested-select.js +1 -1
- package/cjs/input-nested-select/input-nested-select.js.map +1 -1
- package/cjs/input-range-select/input-range-select.js +1 -1
- package/cjs/input-range-select/input-range-select.js.map +1 -1
- package/cjs/input-range-select/input-range-select.styles.js +2 -0
- package/cjs/input-range-select/input-range-select.styles.js.map +1 -0
- package/cjs/input-range-select/input-range-select.styles_adbrbm.css +2 -0
- package/cjs/input-range-slider/input-range-slider.js +1 -1
- package/cjs/input-range-slider/input-range-slider.js.map +1 -1
- package/cjs/input-range-slider/slider-components.js +1 -1
- package/cjs/input-range-slider/slider-components.js.map +1 -1
- package/cjs/input-select/input-select.js +1 -1
- package/cjs/input-select/input-select.js.map +1 -1
- package/cjs/language-switcher/dropdown-panel.js +2 -0
- package/cjs/language-switcher/dropdown-panel.js.map +1 -0
- package/cjs/language-switcher/dropdown-panel.styles.js +2 -0
- package/cjs/language-switcher/dropdown-panel.styles.js.map +1 -0
- package/cjs/language-switcher/dropdown-panel.styles_1z0n7qq.css +4 -0
- package/cjs/language-switcher/dropdown-variant.js +1 -1
- package/cjs/language-switcher/dropdown-variant.js.map +1 -1
- package/cjs/language-switcher/dropdown-variant.styles.js +2 -0
- package/cjs/language-switcher/dropdown-variant.styles.js.map +1 -0
- package/cjs/language-switcher/dropdown-variant.styles_16c4wc1.css +2 -0
- package/cjs/language-switcher/link-container-variant.js +1 -1
- package/cjs/language-switcher/link-container-variant.js.map +1 -1
- package/cjs/language-switcher/link-container-variant.styles.js +2 -0
- package/cjs/language-switcher/link-container-variant.styles.js.map +1 -0
- package/cjs/language-switcher/link-container-variant.styles_1blx9qm.css +5 -0
- package/cjs/layout/col-div.js +1 -1
- package/cjs/layout/col-div.js.map +1 -1
- package/cjs/link-list/components/common.js +1 -1
- package/cjs/link-list/components/common.js.map +1 -1
- package/cjs/link-list/components/link-list-eager.js +1 -1
- package/cjs/link-list/components/link-list-eager.js.map +1 -1
- package/cjs/link-list/components/link-list-lazy.js +1 -1
- package/cjs/link-list/components/link-list-lazy.js.map +1 -1
- package/cjs/link-list/link-list.js +1 -1
- package/cjs/link-list/link-list.js.map +1 -1
- package/cjs/link-list/link-list.styles.js +1 -89
- package/cjs/link-list/link-list.styles.js.map +1 -1
- package/cjs/link-list/link-list.styles_1g33nb4.css +13 -0
- package/cjs/local-nav/local-nav-dropdown/local-nav-dropdown.js +1 -1
- package/cjs/local-nav/local-nav-dropdown/local-nav-dropdown.js.map +1 -1
- package/cjs/local-nav/local-nav-dropdown/local-nav-dropdown.styles.js +1 -100
- package/cjs/local-nav/local-nav-dropdown/local-nav-dropdown.styles.js.map +1 -1
- package/cjs/local-nav/local-nav-dropdown/local-nav-dropdown.styles_ftv36t.css +13 -0
- package/cjs/local-nav/local-nav-menu/local-nav-menu.js +1 -1
- package/cjs/local-nav/local-nav-menu/local-nav-menu.js.map +1 -1
- package/cjs/local-nav/local-nav-menu/local-nav-menu.styles.js +1 -39
- package/cjs/local-nav/local-nav-menu/local-nav-menu.styles.js.map +1 -1
- package/cjs/local-nav/local-nav-menu/local-nav-menu.styles_pq19dh.css +5 -0
- package/cjs/markup/markup.js +1 -1
- package/cjs/markup/markup.js.map +1 -1
- package/cjs/masked-input/masked-input.js +1 -1
- package/cjs/masked-input/masked-input.js.map +1 -1
- package/cjs/masked-input/masked-input.styles.js +2 -0
- package/cjs/masked-input/masked-input.styles.js.map +1 -0
- package/cjs/masked-input/masked-input.styles_4i1qsy.css +16 -0
- package/cjs/menu/menu-content.js +1 -1
- package/cjs/menu/menu-content.js.map +1 -1
- package/cjs/menu/menu-content.styles.js +1 -1
- package/cjs/menu/menu-content.styles.js.map +1 -1
- package/cjs/menu/{menu-content.styles_1b7d6qf.css → menu-content.styles_p7ijll.css} +1 -1
- package/cjs/menu/menu.js +1 -1
- package/cjs/menu/menu.js.map +1 -1
- package/cjs/modal/modal.js +1 -1
- package/cjs/modal/modal.js.map +1 -1
- package/cjs/modal-v2/modal-v2.js +1 -1
- package/cjs/modal-v2/modal-v2.js.map +1 -1
- package/cjs/navbar/brand.js +1 -1
- package/cjs/navbar/brand.js.map +1 -1
- package/cjs/navbar/brand.styles.js +1 -12
- package/cjs/navbar/brand.styles.js.map +1 -1
- package/cjs/navbar/brand.styles_zcgddp.css +1 -0
- package/cjs/navbar/drawer.js +1 -1
- package/cjs/navbar/drawer.js.map +1 -1
- package/cjs/navbar/drawer.styles.js +1 -65
- package/cjs/navbar/drawer.styles.js.map +1 -1
- package/cjs/navbar/drawer.styles_7hnxp5.css +8 -0
- package/cjs/navbar/menu.js +1 -1
- package/cjs/navbar/menu.js.map +1 -1
- package/cjs/navbar/menu.styles.js +1 -34
- package/cjs/navbar/menu.styles.js.map +1 -1
- package/cjs/navbar/menu.styles_gdpqc.css +3 -0
- package/cjs/navbar/navbar-action-buttons.js +1 -1
- package/cjs/navbar/navbar-action-buttons.js.map +1 -1
- package/cjs/navbar/navbar-action-buttons.styles.js +1 -100
- package/cjs/navbar/navbar-action-buttons.styles.js.map +1 -1
- package/cjs/navbar/navbar-action-buttons.styles_1vpm0nk.css +10 -0
- package/cjs/navbar/navbar-items.js +1 -1
- package/cjs/navbar/navbar-items.js.map +1 -1
- package/cjs/navbar/navbar-items.styles.js +1 -114
- package/cjs/navbar/navbar-items.styles.js.map +1 -1
- package/cjs/navbar/navbar-items.styles_i9cunu.css +19 -0
- package/cjs/navbar/navbar-logo-data.js +1 -1
- package/cjs/navbar/navbar-logo-data.js.map +1 -1
- package/cjs/navbar/navbar.js +1 -1
- package/cjs/navbar/navbar.js.map +1 -1
- package/cjs/navbar/navbar.styles.js +1 -79
- package/cjs/navbar/navbar.styles.js.map +1 -1
- package/cjs/navbar/navbar.styles_koy0c7.css +20 -0
- package/cjs/notification-banner/notification-banner.js +1 -1
- package/cjs/notification-banner/notification-banner.js.map +1 -1
- package/cjs/notification-banner/notification-banner.styles.js +1 -111
- package/cjs/notification-banner/notification-banner.styles.js.map +1 -1
- package/cjs/notification-banner/notification-banner.styles_130loac.css +12 -0
- package/cjs/otp-input/otp-input.js +1 -1
- package/cjs/otp-input/otp-input.js.map +1 -1
- package/cjs/otp-input/otp-input.styles.js +1 -22
- package/cjs/otp-input/otp-input.styles.js.map +1 -1
- package/cjs/otp-input/otp-input.styles_5sbutl.css +5 -0
- package/cjs/otp-verification/contact-input-section-styles.js +18 -16
- package/cjs/otp-verification/contact-input-section-styles.js.map +1 -1
- package/cjs/otp-verification/contact-input-section.js +1 -1
- package/cjs/otp-verification/contact-input-section.js.map +1 -1
- package/cjs/otp-verification/verification-section.js +1 -1
- package/cjs/otp-verification/verification-section.js.map +1 -1
- package/cjs/overlay/overlay.js +1 -1
- package/cjs/overlay/overlay.js.map +1 -1
- package/cjs/pagination/pagination.js +1 -1
- package/cjs/pagination/pagination.js.map +1 -1
- package/cjs/popover/index.js +1 -1
- package/{popover-v2 → cjs/popover}/popover-inline/popover-inline.js.map +1 -1
- package/cjs/popover/popover-inline/popover-inline.styles.js +2 -0
- package/{popover-v2 → cjs/popover}/popover-inline/popover-inline.styles.js.map +1 -1
- package/cjs/popover/popover-inline/popover-inline.styles_bkopnt.css +2 -0
- package/cjs/popover/popover-trigger.js +2 -0
- package/cjs/popover/popover-trigger.js.map +1 -0
- package/cjs/popover/popover-trigger.styles.js +2 -0
- package/{popover-v2 → cjs/popover}/popover-trigger.styles.js.map +1 -1
- package/cjs/popover/popover-trigger.styles_8zokig.css +1 -0
- package/cjs/popover/popover.js +1 -1
- package/cjs/popover/popover.js.map +1 -1
- package/cjs/popover/popover.styles.js +1 -74
- package/cjs/popover/popover.styles.js.map +1 -1
- package/cjs/popover/popover.styles_ujnf0h.css +4 -0
- package/cjs/predictive-text-input/predictive-text-input.js +1 -1
- package/cjs/predictive-text-input/predictive-text-input.js.map +1 -1
- package/cjs/progress-indicator/progress-indicator.js +1 -1
- package/cjs/progress-indicator/progress-indicator.js.map +1 -1
- package/cjs/progress-indicator/progress-indicator.styles.js +2 -0
- package/cjs/progress-indicator/progress-indicator.styles.js.map +1 -0
- package/cjs/progress-indicator/progress-indicator.styles_1c038s4.css +8 -0
- package/cjs/schedule/schedule.js +1 -1
- package/cjs/schedule/schedule.js.map +1 -1
- package/cjs/schedule/shared/with-optional-popover.js +1 -1
- package/cjs/schedule/shared/with-optional-popover.js.map +1 -1
- package/cjs/select-histogram/select-histogram.js +1 -1
- package/cjs/select-histogram/select-histogram.js.map +1 -1
- package/cjs/select-histogram/select-histogram.styles.js +1 -37
- package/cjs/select-histogram/select-histogram.styles.js.map +1 -1
- package/cjs/select-histogram/select-histogram.styles_11916eo.css +5 -0
- package/cjs/shared/component-loading-spinner/component-loading-spinner.js +1 -1
- package/cjs/shared/component-loading-spinner/component-loading-spinner.js.map +1 -1
- package/cjs/shared/dropdown-list/dropdown-label.js +1 -1
- package/cjs/shared/dropdown-list/dropdown-label.js.map +1 -1
- package/cjs/shared/dropdown-list/dropdown-list.js +1 -1
- package/cjs/shared/dropdown-list/dropdown-list.js.map +1 -1
- package/cjs/shared/dropdown-list/dropdown-list.styles.js +1 -1
- package/cjs/shared/dropdown-list/dropdown-list.styles.js.map +1 -1
- package/{shared/dropdown-list/dropdown-list.styles_1qveyb9.css → cjs/shared/dropdown-list/dropdown-list.styles_1kt4zhf.css} +3 -6
- package/cjs/shared/dropdown-list/nested-dropdown-list.js +1 -1
- package/cjs/shared/dropdown-list/nested-dropdown-list.js.map +1 -1
- package/cjs/shared/dropdown-wrapper/element-with-dropdown.js +1 -1
- package/cjs/shared/dropdown-wrapper/element-with-dropdown.js.map +1 -1
- package/cjs/shared/fade-wrapper/fade-wrapper.js +1 -1
- package/cjs/shared/fade-wrapper/fade-wrapper.js.map +1 -1
- package/cjs/shared/fade-wrapper/helpers.js +1 -1
- package/cjs/shared/fade-wrapper/helpers.js.map +1 -1
- package/cjs/shared/input-wrapper/input-wrapper.js +1 -1
- package/cjs/shared/input-wrapper/input-wrapper.js.map +1 -1
- package/cjs/shared/input-wrapper/input-wrapper.styles.js +1 -1
- package/cjs/shared/input-wrapper/input-wrapper.styles.js.map +1 -1
- package/cjs/shared/input-wrapper/{input-wrapper.styles_1kc4xhb.css → input-wrapper.styles_19fpzb.css} +3 -0
- package/cjs/shared/internal-calendar/calendar-dropdown.js +1 -1
- package/cjs/shared/internal-calendar/calendar-dropdown.js.map +1 -1
- package/cjs/shared/progress-bar/progress-bar.js +1 -1
- package/cjs/shared/progress-bar/progress-bar.js.map +1 -1
- package/cjs/shared/standalone-date-input/standalone-date-input.js +1 -1
- package/cjs/shared/standalone-date-input/standalone-date-input.js.map +1 -1
- package/cjs/shared/standalone-date-input/standalone-date-input.styles.js +1 -1
- package/cjs/shared/standalone-date-input/standalone-date-input.styles.js.map +1 -1
- package/{shared/standalone-date-input/standalone-date-input.styles_1mqophx.css → cjs/shared/standalone-date-input/standalone-date-input.styles_1m0da43.css} +10 -11
- package/cjs/shared/time-slot/time-slot.js +2 -0
- package/cjs/shared/time-slot/time-slot.js.map +1 -0
- package/cjs/shared/time-slot/time-slot.styles.js +2 -0
- package/cjs/shared/time-slot/time-slot.styles.js.map +1 -0
- package/cjs/shared/time-slot/time-slot.styles_1r9na3f.css +17 -0
- package/cjs/smart-app-banner/smart-app-banner.js +1 -1
- package/cjs/smart-app-banner/smart-app-banner.js.map +1 -1
- package/cjs/smart-app-banner/smart-app-banner.styles.js +1 -93
- package/cjs/smart-app-banner/smart-app-banner.styles.js.map +1 -1
- package/cjs/smart-app-banner/smart-app-banner.styles_m5dtgh.css +16 -0
- package/cjs/tab/tab-link-chain.js +1 -1
- package/cjs/tab/tab-link-chain.js.map +1 -1
- package/cjs/text-list/ordered-list.js +1 -1
- package/cjs/text-list/ordered-list.js.map +1 -1
- package/cjs/text-list/unordered-list.js +1 -1
- package/cjs/text-list/unordered-list.js.map +1 -1
- package/cjs/theme/index.js +1 -1
- package/cjs/theme/theme-provider/breakpoint.js +1 -1
- package/cjs/theme/theme-provider/breakpoint.js.map +1 -1
- package/cjs/theme/tokens/font.js +1 -1
- package/cjs/theme/tokens/font.js.map +1 -1
- package/cjs/theme/utils/css-variable.js +1 -1
- package/cjs/theme/utils/css-variable.js.map +1 -1
- package/cjs/theme/utils/use-media-query.js +2 -0
- package/cjs/theme/utils/use-media-query.js.map +1 -0
- package/cjs/time-range-picker/combobox-picker/combobox-picker.js +1 -1
- package/cjs/time-range-picker/combobox-picker/combobox-picker.js.map +1 -1
- package/cjs/time-range-picker/combobox-picker/combobox-picker.styles.js +1 -6
- package/cjs/time-range-picker/combobox-picker/combobox-picker.styles.js.map +1 -1
- package/cjs/time-range-picker/combobox-picker/combobox-picker.styles_7i9vso.css +1 -0
- package/cjs/time-range-picker/common.styles.js +1 -10
- package/cjs/time-range-picker/common.styles.js.map +1 -1
- package/cjs/time-range-picker/common.styles_1qwp4xa.css +3 -0
- package/cjs/time-range-picker/dial-picker/dial-picker.js +1 -1
- package/cjs/time-range-picker/dial-picker/dial-picker.js.map +1 -1
- package/cjs/time-slot-bar/helper.js +1 -1
- package/cjs/time-slot-bar/helper.js.map +1 -1
- package/cjs/time-slot-bar/time-slot-bar.js +1 -1
- package/cjs/time-slot-bar/time-slot-bar.js.map +1 -1
- package/cjs/time-slot-bar/time-slot-bar.styles.js +1 -127
- package/cjs/time-slot-bar/time-slot-bar.styles.js.map +1 -1
- package/cjs/time-slot-bar/time-slot-bar.styles_wigbyd.css +25 -0
- package/cjs/time-slot-bar/time-slot-divider.js +2 -0
- package/cjs/time-slot-bar/time-slot-divider.js.map +1 -0
- package/cjs/time-slot-bar/time-slot-item.js +2 -0
- package/cjs/time-slot-bar/time-slot-item.js.map +1 -0
- package/cjs/time-slot-bar-week/time-slot-bar-week-days.js +1 -1
- package/cjs/time-slot-bar-week/time-slot-bar-week-days.js.map +1 -1
- package/cjs/time-slot-bar-week/time-slot-bar-week-days.style.js +25 -22
- package/cjs/time-slot-bar-week/time-slot-bar-week-days.style.js.map +1 -1
- package/cjs/time-slot-week-view/time-slot-week-days.js +1 -1
- package/cjs/time-slot-week-view/time-slot-week-days.js.map +1 -1
- package/cjs/time-slot-week-view/time-slot-week-days.style.js +16 -10
- package/cjs/time-slot-week-view/time-slot-week-days.style.js.map +1 -1
- package/cjs/timeline/timeline.js +1 -1
- package/cjs/timeline/timeline.js.map +1 -1
- package/cjs/timeline/timeline.styles.js +2 -0
- package/cjs/timeline/timeline.styles.js.map +1 -0
- package/cjs/timeline/timeline.styles_1wcnzot.css +9 -0
- package/cjs/timetable/const.js +1 -1
- package/cjs/timetable/const.js.map +1 -1
- package/cjs/timetable/timetable-header/timetable-header.js +1 -1
- package/cjs/timetable/timetable-header/timetable-header.js.map +1 -1
- package/cjs/timetable/timetable-header/timetable-header.styles.js +2 -0
- package/cjs/timetable/timetable-header/timetable-header.styles.js.map +1 -0
- package/cjs/timetable/timetable-header/timetable-header.styles_11gl1h4.css +6 -0
- package/cjs/timetable/timetable-row/row-bar.js +1 -1
- package/cjs/timetable/timetable-row/row-bar.js.map +1 -1
- package/cjs/timetable/timetable-row/row-bar.styles.js +2 -0
- package/cjs/timetable/timetable-row/row-bar.styles.js.map +1 -0
- package/cjs/timetable/timetable-row/row-bar.styles_1x0vrsz.css +1 -0
- package/cjs/timetable/timetable-row/row-cell.js +1 -1
- package/cjs/timetable/timetable-row/row-cell.js.map +1 -1
- package/cjs/timetable/timetable-row/row-cell.styles.js +2 -0
- package/cjs/timetable/timetable-row/row-cell.styles.js.map +1 -0
- package/cjs/timetable/timetable-row/row-cell.styles_y1dl5j.css +7 -0
- package/cjs/timetable/timetable-row/with-optional-popover.js +1 -1
- package/cjs/timetable/timetable-row/with-optional-popover.js.map +1 -1
- package/cjs/timetable/timetable.js +1 -1
- package/cjs/timetable/timetable.js.map +1 -1
- package/cjs/timetable/timetable.styles.js +2 -0
- package/cjs/timetable/timetable.styles.js.map +1 -0
- package/cjs/timetable/timetable.styles_7rp8kz.css +46 -0
- package/cjs/toast/toast.js +1 -1
- package/cjs/toast/toast.js.map +1 -1
- package/cjs/toast/toast.styles.js +1 -98
- package/cjs/toast/toast.styles.js.map +1 -1
- package/cjs/toast/toast.styles_ngrlup.css +8 -0
- package/cjs/toggle/toggle.js +1 -1
- package/cjs/toggle/toggle.js.map +1 -1
- package/cjs/typography/typography.js +1 -1
- package/cjs/typography/typography.js.map +1 -1
- package/cjs/uneditable-section/item-section.js +1 -1
- package/cjs/uneditable-section/item-section.js.map +1 -1
- package/cjs/uneditable-section/section-item.js +1 -1
- package/cjs/uneditable-section/section-item.js.map +1 -1
- package/cjs/uneditable-section/section-item.styles.js +1 -63
- package/cjs/uneditable-section/section-item.styles.js.map +1 -1
- package/cjs/uneditable-section/section-item.styles_1dfjzc4.css +9 -0
- package/cjs/uneditable-section/uneditable-section.js +1 -1
- package/cjs/uneditable-section/uneditable-section.js.map +1 -1
- package/cjs/uneditable-section/uneditable-section.styles.js +1 -39
- package/cjs/uneditable-section/uneditable-section.styles.js.map +1 -1
- package/cjs/uneditable-section/uneditable-section.styles_aj9zun.css +8 -0
- package/cjs/unit-number/unit-number-input.js +1 -1
- package/cjs/unit-number/unit-number-input.js.map +1 -1
- package/cjs/unit-number/unit-number-input.styles.js +2 -0
- package/cjs/unit-number/unit-number-input.styles.js.map +1 -0
- package/cjs/unit-number/unit-number-input.styles_8yizj.css +7 -0
- package/cjs/util/styling-helper.js +1 -1
- package/cjs/util/styling-helper.js.map +1 -1
- package/countdown-timer/countdown-timer.js +1 -1
- package/countdown-timer/countdown-timer.js.map +1 -1
- package/countdown-timer/countdown-timer.styles.d.ts +15 -0
- package/countdown-timer/countdown-timer.styles.js +2 -0
- package/countdown-timer/countdown-timer.styles.js.map +1 -0
- package/countdown-timer/countdown-timer.styles_k50tkw.css +8 -0
- package/dashed-border/dashed-border.js +1 -1
- package/dashed-border/dashed-border.js.map +1 -1
- package/data-table/data-table.js +1 -1
- package/data-table/data-table.js.map +1 -1
- package/data-table/data-table.styles.d.ts +30 -83
- package/data-table/data-table.styles.js +1 -152
- package/data-table/data-table.styles.js.map +1 -1
- package/data-table/data-table.styles_1nj2uzq.css +26 -0
- package/date-input/date-input.d.ts +1 -1
- package/date-input/date-input.js +1 -1
- package/date-input/date-input.js.map +1 -1
- package/date-input/date-input.styles.d.ts +1 -0
- package/date-input/date-input.styles.js +2 -0
- package/date-input/date-input.styles.js.map +1 -0
- package/date-input/date-input.styles_1r5kcc7.css +1 -0
- package/date-range-input/date-range-input.js +1 -1
- package/date-range-input/date-range-input.js.map +1 -1
- package/date-range-input/date-range-input.styles.d.ts +5 -0
- package/date-range-input/date-range-input.styles.js +2 -0
- package/date-range-input/date-range-input.styles.js.map +1 -0
- package/date-range-input/date-range-input.styles_1s7ojnj.css +4 -0
- package/divider/divider.d.ts +1 -1
- package/divider/divider.js +1 -1
- package/divider/divider.js.map +1 -1
- package/divider/types.d.ts +1 -2
- package/e-signature/e-signature.js +1 -1
- package/e-signature/e-signature.js.map +1 -1
- package/e-signature/e-signature.styles.js +5 -5
- package/e-signature/e-signature.styles.js.map +1 -1
- package/error-display/error-display-data.d.ts +2 -2
- package/error-display/error-display-data.js +1 -1
- package/error-display/error-display-data.js.map +1 -1
- package/error-display/error-display.js +1 -1
- package/error-display/error-display.js.map +1 -1
- package/error-display/helper.d.ts +1 -1
- package/error-display/helper.js +1 -1
- package/error-display/helper.js.map +1 -1
- package/external/lodash/isNumber.js +2 -0
- package/external/lodash/isNumber.js.map +1 -0
- package/external/lodash.clonedeep/index.js +1 -1
- package/external/lottie-colorify/lib/index.js +1 -1
- package/external/lottie-colorify/lib/index.js.map +1 -1
- package/external/prop-types/external/react-is/index.js +1 -1
- package/external/prop-types/index.js +1 -1
- package/external/prop-types/index.js.map +1 -1
- package/feedback-rating/feedback-rating-stars-container.js +1 -1
- package/feedback-rating/feedback-rating-stars-container.js.map +1 -1
- package/feedback-rating/feedback-rating-stars-container.styles.d.ts +4 -23
- package/feedback-rating/feedback-rating-stars-container.styles.js +1 -36
- package/feedback-rating/feedback-rating-stars-container.styles.js.map +1 -1
- package/feedback-rating/feedback-rating-stars-container.styles_dmi8z9.css +4 -0
- package/feedback-rating/feedback-rating.js +1 -1
- package/feedback-rating/feedback-rating.js.map +1 -1
- package/feedback-rating/feedback-rating.styles.d.ts +4 -4
- package/feedback-rating/feedback-rating.styles.js +1 -37
- package/feedback-rating/feedback-rating.styles.js.map +1 -1
- package/feedback-rating/feedback-rating.styles_1kdklb6.css +4 -0
- package/file-download/file-list-card/file-list-card.js +1 -1
- package/file-download/file-list-card/file-list-card.js.map +1 -1
- package/file-upload/dropzone.js +1 -1
- package/file-upload/dropzone.js.map +1 -1
- package/file-upload/dropzone.styles.d.ts +6 -34
- package/file-upload/dropzone.styles.js +1 -34
- package/file-upload/dropzone.styles.js.map +1 -1
- package/file-upload/dropzone.styles_1pllsau.css +6 -0
- package/file-upload/file-item-edit.js +1 -1
- package/file-upload/file-item-edit.js.map +1 -1
- package/file-upload/file-item-edit.styles.d.ts +8 -48
- package/file-upload/file-item-edit.styles.js +1 -66
- package/file-upload/file-item-edit.styles.js.map +1 -1
- package/file-upload/file-item-edit.styles_1qbpbxj.css +10 -0
- package/file-upload/file-list-item/file-list-item-thumbnail.d.ts +0 -7
- package/file-upload/file-list-item/file-list-item-thumbnail.js +1 -34
- package/file-upload/file-list-item/file-list-item-thumbnail.js.map +1 -1
- package/file-upload/file-list-item/file-list-item-thumbnail.styles.d.ts +4 -0
- package/file-upload/file-list-item/file-list-item-thumbnail.styles.js +2 -0
- package/file-upload/file-list-item/file-list-item-thumbnail.styles.js.map +1 -0
- package/file-upload/file-list-item/file-list-item-thumbnail.styles_1vrh1ve.css +4 -0
- package/file-upload/file-list-item/file-list-item.js +1 -1
- package/file-upload/file-list-item/file-list-item.js.map +1 -1
- package/file-upload/file-list-item/file-list-item.styles.d.ts +14 -170
- package/file-upload/file-list-item/file-list-item.styles.js +1 -174
- package/file-upload/file-list-item/file-list-item.styles.js.map +1 -1
- package/file-upload/file-list-item/file-list-item.styles_y7my2m.css +14 -0
- package/file-upload/file-list.js +1 -1
- package/file-upload/file-list.js.map +1 -1
- package/file-upload/file-list.styles.d.ts +3 -6
- package/file-upload/file-list.styles.js +1 -20
- package/file-upload/file-list.styles.js.map +1 -1
- package/file-upload/file-list.styles_16vplxk.css +3 -0
- package/file-upload/file-upload.js +1 -1
- package/file-upload/file-upload.js.map +1 -1
- package/file-upload/file-upload.styles.d.ts +8 -64
- package/file-upload/file-upload.styles.js +1 -40
- package/file-upload/file-upload.styles.js.map +1 -1
- package/file-upload/file-upload.styles_9ffwcd.css +8 -0
- package/filter/addons/filter-item-checkbox.js +1 -1
- package/filter/addons/filter-item-checkbox.js.map +1 -1
- package/filter/addons/filter-item-checkbox.styles.d.ts +15 -25
- package/filter/addons/filter-item-checkbox.styles.js +1 -72
- package/filter/addons/filter-item-checkbox.styles.js.map +1 -1
- package/filter/addons/filter-item-checkbox.styles_18l87i2.css +16 -0
- package/filter/filter-item-page.js +1 -1
- package/filter/filter-item-page.js.map +1 -1
- package/filter/filter-item-page.styles.d.ts +1 -1
- package/filter/filter-item-page.styles.js +1 -7
- package/filter/filter-item-page.styles.js.map +1 -1
- package/filter/filter-item-page.styles_17ewfrz.css +1 -0
- package/filter/filter-item.d.ts +1 -1
- package/filter/filter-item.js +1 -1
- package/filter/filter-item.js.map +1 -1
- package/filter/filter-item.styles.d.ts +22 -38
- package/filter/filter-item.styles.js +1 -63
- package/filter/filter-item.styles.js.map +1 -1
- package/filter/filter-item.styles_1e3v6qq.css +17 -0
- package/filter/filter-modal.d.ts +1 -1
- package/filter/filter-modal.js +1 -1
- package/filter/filter-modal.js.map +1 -1
- package/filter/filter-modal.styles.d.ts +12 -14
- package/filter/filter-modal.styles.js +1 -29
- package/filter/filter-modal.styles.js.map +1 -1
- package/filter/filter-modal.styles_e0ev97.css +8 -0
- package/filter/filter-sidebar.d.ts +1 -1
- package/filter/filter-sidebar.js +1 -1
- package/filter/filter-sidebar.js.map +1 -1
- package/filter/filter-sidebar.styles.d.ts +4 -4
- package/filter/filter-sidebar.styles.js +1 -23
- package/filter/filter-sidebar.styles.js.map +1 -1
- package/filter/filter-sidebar.styles_cwvqql.css +4 -0
- package/filter/filter.d.ts +3 -3
- package/filter/filter.js +1 -1
- package/filter/filter.js.map +1 -1
- package/filter/filter.styles.d.ts +9 -7
- package/filter/filter.styles.js +1 -26
- package/filter/filter.styles.js.map +1 -1
- package/filter/filter.styles_2fmaok.css +5 -0
- package/form/form-label-addon.js +1 -1
- package/form/form-label-addon.js.map +1 -1
- package/form/form-masked-input.js +1 -1
- package/form/form-masked-input.js.map +1 -1
- package/form/form-time-range-picker.js +1 -1
- package/form/form-time-range-picker.js.map +1 -1
- package/form/index.d.ts +1 -0
- package/form/index.js.map +1 -1
- package/fullscreen-image-carousel/fullscreen-image-carousel.js +1 -1
- package/fullscreen-image-carousel/fullscreen-image-carousel.js.map +1 -1
- package/fullscreen-image-carousel/fullscreen-image-carousel.styles.d.ts +40 -0
- package/fullscreen-image-carousel/fullscreen-image-carousel.styles.js +2 -0
- package/fullscreen-image-carousel/fullscreen-image-carousel.styles.js.map +1 -0
- package/fullscreen-image-carousel/fullscreen-image-carousel.styles_vc6y5c.css +75 -0
- package/fullscreen-image-carousel/stateful-image.js +1 -1
- package/fullscreen-image-carousel/stateful-image.js.map +1 -1
- package/fullscreen-image-carousel/stateful-image.styles.d.ts +8 -0
- package/fullscreen-image-carousel/stateful-image.styles.js +2 -0
- package/fullscreen-image-carousel/stateful-image.styles.js.map +1 -0
- package/fullscreen-image-carousel/stateful-image.styles_1xe8ypm.css +3 -0
- package/histogram-slider/histogram-slider.js +1 -1
- package/histogram-slider/histogram-slider.js.map +1 -1
- package/index.d.ts +0 -11
- package/index.js +1 -1
- package/input-group/input-group-list-addon.js +1 -1
- package/input-group/input-group-list-addon.js.map +1 -1
- package/input-group/input-group-list-addon.styles.d.ts +2 -2
- package/input-group/input-group-list-addon.styles.js +1 -1
- package/input-group/input-group-list-addon.styles.js.map +1 -1
- package/{cjs/input-group/input-group-list-addon.styles_1my6j2v.css → input-group/input-group-list-addon.styles_17iuqtw.css} +2 -2
- package/input-group/input-group.js +1 -1
- package/input-group/input-group.js.map +1 -1
- package/input-multi-select/input-multi-select.js +1 -1
- package/input-multi-select/input-multi-select.js.map +1 -1
- package/input-nested-multi-select/input-nested-multi-select.js +1 -1
- package/input-nested-multi-select/input-nested-multi-select.js.map +1 -1
- package/input-nested-select/input-nested-select.js +1 -1
- package/input-nested-select/input-nested-select.js.map +1 -1
- package/input-range-select/input-range-select.js +1 -1
- package/input-range-select/input-range-select.js.map +1 -1
- package/input-range-select/input-range-select.styles.d.ts +2 -0
- package/input-range-select/input-range-select.styles.js +2 -0
- package/input-range-select/input-range-select.styles.js.map +1 -0
- package/input-range-select/input-range-select.styles_adbrbm.css +2 -0
- package/input-range-slider/input-range-slider.js +1 -1
- package/input-range-slider/input-range-slider.js.map +1 -1
- package/input-range-slider/slider-components.js +1 -1
- package/input-range-slider/slider-components.js.map +1 -1
- package/input-select/input-select.js +1 -1
- package/input-select/input-select.js.map +1 -1
- package/input-select/types.d.ts +1 -1
- package/language-switcher/dropdown-panel.d.ts +13 -0
- package/language-switcher/dropdown-panel.js +2 -0
- package/language-switcher/dropdown-panel.js.map +1 -0
- package/language-switcher/dropdown-panel.styles.d.ts +8 -0
- package/language-switcher/dropdown-panel.styles.js +2 -0
- package/language-switcher/dropdown-panel.styles.js.map +1 -0
- package/language-switcher/dropdown-panel.styles_1z0n7qq.css +4 -0
- package/language-switcher/dropdown-variant.js +1 -1
- package/language-switcher/dropdown-variant.js.map +1 -1
- package/language-switcher/dropdown-variant.styles.d.ts +2 -0
- package/language-switcher/dropdown-variant.styles.js +2 -0
- package/language-switcher/dropdown-variant.styles.js.map +1 -0
- package/language-switcher/dropdown-variant.styles_16c4wc1.css +2 -0
- package/language-switcher/link-container-variant.d.ts +1 -1
- package/language-switcher/link-container-variant.js +1 -1
- package/language-switcher/link-container-variant.js.map +1 -1
- package/language-switcher/link-container-variant.styles.d.ts +5 -0
- package/language-switcher/link-container-variant.styles.js +2 -0
- package/language-switcher/link-container-variant.styles.js.map +1 -0
- package/language-switcher/link-container-variant.styles_1blx9qm.css +5 -0
- package/layout/col-div.js +1 -1
- package/layout/col-div.js.map +1 -1
- package/link-list/components/common.js +1 -1
- package/link-list/components/common.js.map +1 -1
- package/link-list/components/link-list-eager.js +1 -1
- package/link-list/components/link-list-eager.js.map +1 -1
- package/link-list/components/link-list-lazy.js +1 -1
- package/link-list/components/link-list-lazy.js.map +1 -1
- package/link-list/link-list.js +1 -1
- package/link-list/link-list.js.map +1 -1
- package/link-list/link-list.styles.d.ts +13 -113
- package/link-list/link-list.styles.js +1 -89
- package/link-list/link-list.styles.js.map +1 -1
- package/link-list/link-list.styles_1g33nb4.css +13 -0
- package/local-nav/local-nav-dropdown/local-nav-dropdown.js +1 -1
- package/local-nav/local-nav-dropdown/local-nav-dropdown.js.map +1 -1
- package/local-nav/local-nav-dropdown/local-nav-dropdown.styles.d.ts +22 -41
- package/local-nav/local-nav-dropdown/local-nav-dropdown.styles.js +1 -100
- package/local-nav/local-nav-dropdown/local-nav-dropdown.styles.js.map +1 -1
- package/local-nav/local-nav-dropdown/local-nav-dropdown.styles_ftv36t.css +13 -0
- package/local-nav/local-nav-menu/local-nav-menu.js +1 -1
- package/local-nav/local-nav-menu/local-nav-menu.js.map +1 -1
- package/local-nav/local-nav-menu/local-nav-menu.styles.d.ts +5 -26
- package/local-nav/local-nav-menu/local-nav-menu.styles.js +1 -39
- package/local-nav/local-nav-menu/local-nav-menu.styles.js.map +1 -1
- package/local-nav/local-nav-menu/local-nav-menu.styles_pq19dh.css +5 -0
- package/markup/markup.js +1 -1
- package/markup/markup.js.map +1 -1
- package/masked-input/masked-input.js +1 -1
- package/masked-input/masked-input.js.map +1 -1
- package/masked-input/masked-input.styles.d.ts +22 -0
- package/masked-input/masked-input.styles.js +2 -0
- package/masked-input/masked-input.styles.js.map +1 -0
- package/masked-input/masked-input.styles_4i1qsy.css +16 -0
- package/menu/menu-content.js +1 -1
- package/menu/menu-content.js.map +1 -1
- package/menu/menu-content.styles.js +1 -1
- package/menu/menu-content.styles.js.map +1 -1
- package/menu/{menu-content.styles_1b7d6qf.css → menu-content.styles_p7ijll.css} +1 -1
- package/menu/menu.js +1 -1
- package/menu/menu.js.map +1 -1
- package/menu/types.d.ts +2 -2
- package/modal/modal.js +1 -1
- package/modal/modal.js.map +1 -1
- package/modal-v2/modal-v2.js +1 -1
- package/modal-v2/modal-v2.js.map +1 -1
- package/navbar/brand.js +1 -1
- package/navbar/brand.js.map +1 -1
- package/navbar/brand.styles.d.ts +1 -6
- package/navbar/brand.styles.js +1 -12
- package/navbar/brand.styles.js.map +1 -1
- package/navbar/brand.styles_zcgddp.css +1 -0
- package/navbar/drawer.js +1 -1
- package/navbar/drawer.js.map +1 -1
- package/navbar/drawer.styles.d.ts +13 -18
- package/navbar/drawer.styles.js +1 -65
- package/navbar/drawer.styles.js.map +1 -1
- package/navbar/drawer.styles_7hnxp5.css +8 -0
- package/navbar/menu.js +1 -1
- package/navbar/menu.js.map +1 -1
- package/navbar/menu.styles.d.ts +3 -3
- package/navbar/menu.styles.js +1 -34
- package/navbar/menu.styles.js.map +1 -1
- package/navbar/menu.styles_gdpqc.css +3 -0
- package/navbar/navbar-action-buttons.js +1 -1
- package/navbar/navbar-action-buttons.js.map +1 -1
- package/navbar/navbar-action-buttons.styles.d.ts +10 -31
- package/navbar/navbar-action-buttons.styles.js +1 -100
- package/navbar/navbar-action-buttons.styles.js.map +1 -1
- package/navbar/navbar-action-buttons.styles_1vpm0nk.css +10 -0
- package/navbar/navbar-items.js +1 -1
- package/navbar/navbar-items.js.map +1 -1
- package/navbar/navbar-items.styles.d.ts +19 -40
- package/navbar/navbar-items.styles.js +1 -114
- package/navbar/navbar-items.styles.js.map +1 -1
- package/navbar/navbar-items.styles_i9cunu.css +19 -0
- package/navbar/navbar-logo-data.d.ts +2 -2
- package/navbar/navbar-logo-data.js +1 -1
- package/navbar/navbar-logo-data.js.map +1 -1
- package/navbar/navbar.js +1 -1
- package/navbar/navbar.js.map +1 -1
- package/navbar/navbar.styles.d.ts +25 -20
- package/navbar/navbar.styles.js +1 -79
- package/navbar/navbar.styles.js.map +1 -1
- package/navbar/navbar.styles_koy0c7.css +20 -0
- package/notification-banner/notification-banner.d.ts +2 -2
- package/notification-banner/notification-banner.js +1 -1
- package/notification-banner/notification-banner.js.map +1 -1
- package/notification-banner/notification-banner.styles.d.ts +17 -23
- package/notification-banner/notification-banner.styles.js +1 -111
- package/notification-banner/notification-banner.styles.js.map +1 -1
- package/notification-banner/notification-banner.styles_130loac.css +12 -0
- package/otp-input/otp-input.js +1 -1
- package/otp-input/otp-input.js.map +1 -1
- package/otp-input/otp-input.styles.d.ts +5 -23
- package/otp-input/otp-input.styles.js +1 -22
- package/otp-input/otp-input.styles.js.map +1 -1
- package/otp-input/otp-input.styles_5sbutl.css +5 -0
- package/otp-verification/contact-input-section-styles.js +47 -45
- package/otp-verification/contact-input-section-styles.js.map +1 -1
- package/otp-verification/contact-input-section.d.ts +1 -1
- package/otp-verification/contact-input-section.js +1 -1
- package/otp-verification/contact-input-section.js.map +1 -1
- package/otp-verification/internal-types.d.ts +2 -0
- package/otp-verification/verification-section.js +1 -1
- package/otp-verification/verification-section.js.map +1 -1
- package/overlay/overlay.js +1 -1
- package/overlay/overlay.js.map +1 -1
- package/package.json +1 -67
- package/pagination/pagination.js +1 -1
- package/pagination/pagination.js.map +1 -1
- package/popover/index.d.ts +2 -1
- package/popover/index.js +1 -1
- package/popover/popover-inline/popover-inline.js.map +1 -0
- package/popover/popover-inline/popover-inline.styles.js +2 -0
- package/popover/popover-inline/popover-inline.styles.js.map +1 -0
- package/popover/popover-inline/popover-inline.styles_bkopnt.css +2 -0
- package/{popover-v2 → popover}/popover-trigger.d.ts +2 -2
- package/popover/popover-trigger.js +2 -0
- package/popover/popover-trigger.js.map +1 -0
- package/popover/popover-trigger.styles.js +2 -0
- package/popover/popover-trigger.styles.js.map +1 -0
- package/popover/popover-trigger.styles_8zokig.css +1 -0
- package/popover/popover.d.ts +1 -4
- package/popover/popover.js +1 -1
- package/popover/popover.js.map +1 -1
- package/popover/popover.styles.d.ts +10 -11
- package/popover/popover.styles.js +1 -74
- package/popover/popover.styles.js.map +1 -1
- package/popover/popover.styles_ujnf0h.css +4 -0
- package/popover/types.d.ts +48 -10
- package/predictive-text-input/predictive-text-input.js +1 -1
- package/predictive-text-input/predictive-text-input.js.map +1 -1
- package/predictive-text-input/types.d.ts +1 -1
- package/progress-indicator/progress-indicator.d.ts +1 -1
- package/progress-indicator/progress-indicator.js +1 -1
- package/progress-indicator/progress-indicator.js.map +1 -1
- package/progress-indicator/progress-indicator.styles.d.ts +9 -0
- package/progress-indicator/progress-indicator.styles.js +2 -0
- package/progress-indicator/progress-indicator.styles.js.map +1 -0
- package/progress-indicator/progress-indicator.styles_1c038s4.css +8 -0
- package/progress-indicator/types.d.ts +0 -6
- package/schedule/schedule.js +1 -1
- package/schedule/schedule.js.map +1 -1
- package/schedule/shared/with-optional-popover.js +2 -2
- package/schedule/shared/with-optional-popover.js.map +1 -1
- package/schedule/types.d.ts +2 -2
- package/select-histogram/select-histogram.js +1 -1
- package/select-histogram/select-histogram.js.map +1 -1
- package/select-histogram/select-histogram.styles.d.ts +5 -21
- package/select-histogram/select-histogram.styles.js +1 -37
- package/select-histogram/select-histogram.styles.js.map +1 -1
- package/select-histogram/select-histogram.styles_11916eo.css +5 -0
- package/shared/component-loading-spinner/component-loading-spinner.js +1 -1
- package/shared/component-loading-spinner/component-loading-spinner.js.map +1 -1
- package/shared/dropdown-list/dropdown-label.js +1 -1
- package/shared/dropdown-list/dropdown-label.js.map +1 -1
- package/shared/dropdown-list/dropdown-list.js +1 -1
- package/shared/dropdown-list/dropdown-list.js.map +1 -1
- package/shared/dropdown-list/dropdown-list.styles.d.ts +1 -1
- package/shared/dropdown-list/dropdown-list.styles.js +1 -1
- package/shared/dropdown-list/dropdown-list.styles.js.map +1 -1
- package/{cjs/shared/dropdown-list/dropdown-list.styles_1qveyb9.css → shared/dropdown-list/dropdown-list.styles_1kt4zhf.css} +3 -6
- package/shared/dropdown-list/nested-dropdown-list.js +1 -1
- package/shared/dropdown-list/nested-dropdown-list.js.map +1 -1
- package/shared/dropdown-wrapper/element-with-dropdown.js +1 -1
- package/shared/dropdown-wrapper/element-with-dropdown.js.map +1 -1
- package/shared/fade-wrapper/fade-wrapper.js +1 -1
- package/shared/fade-wrapper/fade-wrapper.js.map +1 -1
- package/shared/fade-wrapper/helpers.js +1 -1
- package/shared/fade-wrapper/helpers.js.map +1 -1
- package/shared/input-wrapper/input-wrapper.d.ts +5 -0
- package/shared/input-wrapper/input-wrapper.js +1 -1
- package/shared/input-wrapper/input-wrapper.js.map +1 -1
- package/shared/input-wrapper/input-wrapper.styles.d.ts +3 -0
- package/shared/input-wrapper/input-wrapper.styles.js +1 -1
- package/shared/input-wrapper/input-wrapper.styles.js.map +1 -1
- package/shared/input-wrapper/{input-wrapper.styles_1kc4xhb.css → input-wrapper.styles_19fpzb.css} +3 -0
- package/shared/internal-calendar/calendar-dropdown.js +1 -1
- package/shared/internal-calendar/calendar-dropdown.js.map +1 -1
- package/shared/progress-bar/progress-bar.js +1 -1
- package/shared/progress-bar/progress-bar.js.map +1 -1
- package/shared/standalone-date-input/standalone-date-input.js +1 -1
- package/shared/standalone-date-input/standalone-date-input.js.map +1 -1
- package/shared/standalone-date-input/standalone-date-input.styles.d.ts +0 -1
- package/shared/standalone-date-input/standalone-date-input.styles.js +1 -1
- package/shared/standalone-date-input/standalone-date-input.styles.js.map +1 -1
- package/{cjs/shared/standalone-date-input/standalone-date-input.styles_1mqophx.css → shared/standalone-date-input/standalone-date-input.styles_1m0da43.css} +10 -11
- package/shared/time-slot/index.d.ts +2 -0
- package/shared/time-slot/time-slot.d.ts +17 -0
- package/shared/time-slot/time-slot.js +2 -0
- package/shared/time-slot/time-slot.js.map +1 -0
- package/shared/time-slot/time-slot.styles.d.ts +10 -0
- package/shared/time-slot/time-slot.styles.js +2 -0
- package/shared/time-slot/time-slot.styles.js.map +1 -0
- package/shared/time-slot/time-slot.styles_1r9na3f.css +17 -0
- package/shared/time-slot/types.d.ts +1 -0
- package/smart-app-banner/smart-app-banner.js +1 -1
- package/smart-app-banner/smart-app-banner.js.map +1 -1
- package/smart-app-banner/smart-app-banner.styles.d.ts +21 -85
- package/smart-app-banner/smart-app-banner.styles.js +1 -93
- package/smart-app-banner/smart-app-banner.styles.js.map +1 -1
- package/smart-app-banner/smart-app-banner.styles_m5dtgh.css +16 -0
- package/tab/tab-link-chain.js +1 -1
- package/tab/tab-link-chain.js.map +1 -1
- package/text-list/ordered-list.js +1 -1
- package/text-list/ordered-list.js.map +1 -1
- package/text-list/unordered-list.js +1 -1
- package/text-list/unordered-list.js.map +1 -1
- package/theme/index.js +1 -1
- package/theme/styles/pa.css +176 -0
- package/theme/theme-provider/breakpoint.js +1 -1
- package/theme/theme-provider/breakpoint.js.map +1 -1
- package/theme/tokens/font.js +1 -1
- package/theme/tokens/font.js.map +1 -1
- package/theme/utils/css-variable.d.ts +14 -0
- package/theme/utils/css-variable.js +1 -1
- package/theme/utils/css-variable.js.map +1 -1
- package/theme/utils/index.d.ts +1 -1
- package/theme/utils/use-media-query.d.ts +24 -0
- package/theme/utils/use-media-query.js +2 -0
- package/theme/utils/use-media-query.js.map +1 -0
- package/time-range-picker/combobox-picker/combobox-picker.js +1 -1
- package/time-range-picker/combobox-picker/combobox-picker.js.map +1 -1
- package/time-range-picker/combobox-picker/combobox-picker.styles.d.ts +1 -1
- package/time-range-picker/combobox-picker/combobox-picker.styles.js +1 -6
- package/time-range-picker/combobox-picker/combobox-picker.styles.js.map +1 -1
- package/time-range-picker/combobox-picker/combobox-picker.styles_7i9vso.css +1 -0
- package/time-range-picker/common.styles.d.ts +3 -3
- package/time-range-picker/common.styles.js +1 -10
- package/time-range-picker/common.styles.js.map +1 -1
- package/time-range-picker/common.styles_1qwp4xa.css +3 -0
- package/time-range-picker/dial-picker/dial-picker.js +1 -1
- package/time-range-picker/dial-picker/dial-picker.js.map +1 -1
- package/time-slot-bar/helper.d.ts +1 -0
- package/time-slot-bar/helper.js +1 -1
- package/time-slot-bar/helper.js.map +1 -1
- package/time-slot-bar/time-slot-bar.js +1 -1
- package/time-slot-bar/time-slot-bar.js.map +1 -1
- package/time-slot-bar/time-slot-bar.styles.d.ts +37 -99
- package/time-slot-bar/time-slot-bar.styles.js +1 -127
- package/time-slot-bar/time-slot-bar.styles.js.map +1 -1
- package/time-slot-bar/time-slot-bar.styles_wigbyd.css +25 -0
- package/time-slot-bar/time-slot-divider.d.ts +8 -0
- package/time-slot-bar/time-slot-divider.js +2 -0
- package/time-slot-bar/time-slot-divider.js.map +1 -0
- package/time-slot-bar/time-slot-item.d.ts +13 -0
- package/time-slot-bar/time-slot-item.js +2 -0
- package/time-slot-bar/time-slot-item.js.map +1 -0
- package/time-slot-bar/types.d.ts +7 -8
- package/time-slot-bar-week/time-slot-bar-week-days.js +1 -1
- package/time-slot-bar-week/time-slot-bar-week-days.js.map +1 -1
- package/time-slot-bar-week/time-slot-bar-week-days.style.d.ts +2 -13
- package/time-slot-bar-week/time-slot-bar-week-days.style.js +20 -17
- package/time-slot-bar-week/time-slot-bar-week-days.style.js.map +1 -1
- package/time-slot-week-view/time-slot-week-days.js +1 -1
- package/time-slot-week-view/time-slot-week-days.js.map +1 -1
- package/time-slot-week-view/time-slot-week-days.style.d.ts +1 -11
- package/time-slot-week-view/time-slot-week-days.style.js +14 -8
- package/time-slot-week-view/time-slot-week-days.style.js.map +1 -1
- package/timeline/timeline.js +1 -1
- package/timeline/timeline.js.map +1 -1
- package/timeline/timeline.styles.d.ts +15 -0
- package/timeline/timeline.styles.js +2 -0
- package/timeline/timeline.styles.js.map +1 -0
- package/timeline/timeline.styles_1wcnzot.css +9 -0
- package/timetable/const.js +1 -1
- package/timetable/const.js.map +1 -1
- package/timetable/timetable-header/timetable-header.js +1 -1
- package/timetable/timetable-header/timetable-header.js.map +1 -1
- package/timetable/timetable-header/timetable-header.styles.d.ts +6 -0
- package/timetable/timetable-header/timetable-header.styles.js +2 -0
- package/timetable/timetable-header/timetable-header.styles.js.map +1 -0
- package/timetable/timetable-header/timetable-header.styles_11gl1h4.css +6 -0
- package/timetable/timetable-row/row-bar.js +1 -1
- package/timetable/timetable-row/row-bar.js.map +1 -1
- package/timetable/timetable-row/row-bar.styles.d.ts +1 -0
- package/timetable/timetable-row/row-bar.styles.js +2 -0
- package/timetable/timetable-row/row-bar.styles.js.map +1 -0
- package/timetable/timetable-row/row-bar.styles_1x0vrsz.css +1 -0
- package/timetable/timetable-row/row-cell.js +1 -1
- package/timetable/timetable-row/row-cell.js.map +1 -1
- package/timetable/timetable-row/row-cell.styles.d.ts +14 -0
- package/timetable/timetable-row/row-cell.styles.js +2 -0
- package/timetable/timetable-row/row-cell.styles.js.map +1 -0
- package/timetable/timetable-row/row-cell.styles_y1dl5j.css +7 -0
- package/timetable/timetable-row/with-optional-popover.js +1 -1
- package/timetable/timetable-row/with-optional-popover.js.map +1 -1
- package/timetable/timetable.js +1 -1
- package/timetable/timetable.js.map +1 -1
- package/timetable/timetable.styles.d.ts +41 -0
- package/timetable/timetable.styles.js +2 -0
- package/timetable/timetable.styles.js.map +1 -0
- package/timetable/timetable.styles_7rp8kz.css +46 -0
- package/timetable/types.d.ts +6 -7
- package/toast/toast.d.ts +1 -1
- package/toast/toast.js +1 -1
- package/toast/toast.js.map +1 -1
- package/toast/toast.styles.d.ts +8 -51
- package/toast/toast.styles.js +1 -98
- package/toast/toast.styles.js.map +1 -1
- package/toast/toast.styles_ngrlup.css +8 -0
- package/toggle/toggle.js +1 -1
- package/toggle/toggle.js.map +1 -1
- package/typography/index.js +1 -1
- package/typography/typography.js +1 -1
- package/typography/typography.js.map +1 -1
- package/uneditable-section/index.d.ts +1 -1
- package/uneditable-section/item-section.d.ts +1 -1
- package/uneditable-section/item-section.js +1 -1
- package/uneditable-section/item-section.js.map +1 -1
- package/uneditable-section/section-item.js +1 -1
- package/uneditable-section/section-item.js.map +1 -1
- package/uneditable-section/section-item.styles.d.ts +9 -22
- package/uneditable-section/section-item.styles.js +1 -63
- package/uneditable-section/section-item.styles.js.map +1 -1
- package/uneditable-section/section-item.styles_1dfjzc4.css +9 -0
- package/uneditable-section/uneditable-section.d.ts +1 -1
- package/uneditable-section/uneditable-section.js +1 -1
- package/uneditable-section/uneditable-section.js.map +1 -1
- package/uneditable-section/uneditable-section.styles.d.ts +8 -52
- package/uneditable-section/uneditable-section.styles.js +1 -39
- package/uneditable-section/uneditable-section.styles.js.map +1 -1
- package/uneditable-section/uneditable-section.styles_aj9zun.css +8 -0
- package/unit-number/unit-number-input.js +1 -1
- package/unit-number/unit-number-input.js.map +1 -1
- package/unit-number/unit-number-input.styles.d.ts +7 -0
- package/unit-number/unit-number-input.styles.js +2 -0
- package/unit-number/unit-number-input.styles.js.map +1 -0
- package/unit-number/unit-number-input.styles_8yizj.css +7 -0
- package/util/styling-helper.js +1 -1
- package/util/styling-helper.js.map +1 -1
- package/v3_theme/index.d.ts +39 -13
- package/v3_theme/types.d.ts +2 -2
- package/_virtual/react-responsive.js +0 -2
- package/_virtual/react-responsive.js.map +0 -1
- package/cjs/_virtual/react-responsive.js +0 -2
- package/cjs/_virtual/react-responsive.js.map +0 -1
- package/cjs/countdown-timer/countdown-timer.style.js +0 -58
- package/cjs/countdown-timer/countdown-timer.style.js.map +0 -1
- package/cjs/date-input/date-input.style.js +0 -4
- package/cjs/date-input/date-input.style.js.map +0 -1
- package/cjs/date-range-input/date-range-input.style.js +0 -17
- package/cjs/date-range-input/date-range-input.style.js.map +0 -1
- package/cjs/external/react-responsive/dist/react-responsive.js +0 -65
- package/cjs/external/react-responsive/dist/react-responsive.js.map +0 -1
- package/cjs/fullscreen-image-carousel/fullscreen-image-carousel.style.js +0 -298
- package/cjs/fullscreen-image-carousel/fullscreen-image-carousel.style.js.map +0 -1
- package/cjs/fullscreen-image-carousel/stateful-image.style.js +0 -13
- package/cjs/fullscreen-image-carousel/stateful-image.style.js.map +0 -1
- package/cjs/input-range-select/input-range-select.style.js +0 -36
- package/cjs/input-range-select/input-range-select.style.js.map +0 -1
- package/cjs/language-switcher/dropdown-variant.style.js +0 -62
- package/cjs/language-switcher/dropdown-variant.style.js.map +0 -1
- package/cjs/language-switcher/link-container-variant.style.js +0 -51
- package/cjs/language-switcher/link-container-variant.style.js.map +0 -1
- package/cjs/masked-input/masked-input.style.js +0 -87
- package/cjs/masked-input/masked-input.style.js.map +0 -1
- package/cjs/masonry/index.js +0 -2
- package/cjs/masonry/index.js.map +0 -1
- package/cjs/masonry/masonry.js +0 -2
- package/cjs/masonry/masonry.js.map +0 -1
- package/cjs/masonry/masonry.style.js +0 -42
- package/cjs/masonry/masonry.style.js.map +0 -1
- package/cjs/popover/popover-hoc.js +0 -2
- package/cjs/popover/popover-hoc.js.map +0 -1
- package/cjs/popover-v2/index.js +0 -2
- package/cjs/popover-v2/index.js.map +0 -1
- package/cjs/popover-v2/popover-inline/popover-inline.js.map +0 -1
- package/cjs/popover-v2/popover-inline/popover-inline.styles.js +0 -2
- package/cjs/popover-v2/popover-inline/popover-inline.styles.js.map +0 -1
- package/cjs/popover-v2/popover-inline/popover-inline.styles_ziag9c.css +0 -2
- package/cjs/popover-v2/popover-trigger.js +0 -2
- package/cjs/popover-v2/popover-trigger.js.map +0 -1
- package/cjs/popover-v2/popover-trigger.styles.js +0 -2
- package/cjs/popover-v2/popover-trigger.styles.js.map +0 -1
- package/cjs/popover-v2/popover-trigger.styles_1yq7ffk.css +0 -1
- package/cjs/popover-v2/popover.js +0 -2
- package/cjs/popover-v2/popover.js.map +0 -1
- package/cjs/popover-v2/popover.styles.js +0 -2
- package/cjs/popover-v2/popover.styles.js.map +0 -1
- package/cjs/popover-v2/popover.styles_lslc72.css +0 -4
- package/cjs/progress-indicator/progress-indicator.style.js +0 -39
- package/cjs/progress-indicator/progress-indicator.style.js.map +0 -1
- package/cjs/theme/utils/media-query.js +0 -2
- package/cjs/theme/utils/media-query.js.map +0 -1
- package/cjs/timeline/timeline.style.js +0 -100
- package/cjs/timeline/timeline.style.js.map +0 -1
- package/cjs/timetable/timetable-header/timetable-header.style.js +0 -28
- package/cjs/timetable/timetable-header/timetable-header.style.js.map +0 -1
- package/cjs/timetable/timetable-row/row-bar.style.js +0 -5
- package/cjs/timetable/timetable-row/row-bar.style.js.map +0 -1
- package/cjs/timetable/timetable-row/row-cell.style.js +0 -53
- package/cjs/timetable/timetable-row/row-cell.style.js.map +0 -1
- package/cjs/timetable/timetable.style.js +0 -172
- package/cjs/timetable/timetable.style.js.map +0 -1
- package/cjs/tooltip/index.js +0 -2
- package/cjs/tooltip/index.js.map +0 -1
- package/cjs/tooltip/tooltip-hoc.js +0 -2
- package/cjs/tooltip/tooltip-hoc.js.map +0 -1
- package/cjs/tooltip/tooltip.js +0 -2
- package/cjs/tooltip/tooltip.js.map +0 -1
- package/cjs/tooltip/tooltip.styles.js +0 -192
- package/cjs/tooltip/tooltip.styles.js.map +0 -1
- package/cjs/unit-number/unit-number-input.style.js +0 -27
- package/cjs/unit-number/unit-number-input.style.js.map +0 -1
- package/cjs/v2_color/color.js +0 -2
- package/cjs/v2_color/color.js.map +0 -1
- package/cjs/v2_color/index.js +0 -2
- package/cjs/v2_color/index.js.map +0 -1
- package/cjs/v2_design-token/design-token.js +0 -2
- package/cjs/v2_design-token/design-token.js.map +0 -1
- package/cjs/v2_design-token/index.js +0 -2
- package/cjs/v2_design-token/index.js.map +0 -1
- package/cjs/v2_layout/col-div.js +0 -2
- package/cjs/v2_layout/col-div.js.map +0 -1
- package/cjs/v2_layout/col-div.style.js +0 -17
- package/cjs/v2_layout/col-div.style.js.map +0 -1
- package/cjs/v2_layout/container.js +0 -49
- package/cjs/v2_layout/container.js.map +0 -1
- package/cjs/v2_layout/content.js +0 -2
- package/cjs/v2_layout/content.js.map +0 -1
- package/cjs/v2_layout/index.js +0 -2
- package/cjs/v2_layout/index.js.map +0 -1
- package/cjs/v2_layout/section.js +0 -20
- package/cjs/v2_layout/section.js.map +0 -1
- package/cjs/v2_media/index.js +0 -2
- package/cjs/v2_media/index.js.map +0 -1
- package/cjs/v2_media/media.js +0 -2
- package/cjs/v2_media/media.js.map +0 -1
- package/cjs/v2_spec/color-spec/base-color-set.js +0 -2
- package/cjs/v2_spec/color-spec/base-color-set.js.map +0 -1
- package/cjs/v2_spec/color-spec/bookingsg-color-set.js +0 -2
- package/cjs/v2_spec/color-spec/bookingsg-color-set.js.map +0 -1
- package/cjs/v2_spec/color-spec/ccube-color-set.js +0 -2
- package/cjs/v2_spec/color-spec/ccube-color-set.js.map +0 -1
- package/cjs/v2_spec/color-spec/mylegacy-color-set.js +0 -2
- package/cjs/v2_spec/color-spec/mylegacy-color-set.js.map +0 -1
- package/cjs/v2_spec/color-spec/oneservice-color-set.js +0 -2
- package/cjs/v2_spec/color-spec/oneservice-color-set.js.map +0 -1
- package/cjs/v2_spec/color-spec/rbs-color-set.js +0 -2
- package/cjs/v2_spec/color-spec/rbs-color-set.js.map +0 -1
- package/cjs/v2_spec/design-token-spec/base-design-token-set.js +0 -8
- package/cjs/v2_spec/design-token-spec/base-design-token-set.js.map +0 -1
- package/cjs/v2_spec/design-token-spec/rbs-design-token-set.js +0 -8
- package/cjs/v2_spec/design-token-spec/rbs-design-token-set.js.map +0 -1
- package/cjs/v2_spec/media-spec.js +0 -2
- package/cjs/v2_spec/media-spec.js.map +0 -1
- package/cjs/v2_spec/text-spec/base-plus-jakarta-sans-text-style-set.js +0 -2
- package/cjs/v2_spec/text-spec/base-plus-jakarta-sans-text-style-set.js.map +0 -1
- package/cjs/v2_spec/text-spec/base-text-style-set.js +0 -2
- package/cjs/v2_spec/text-spec/base-text-style-set.js.map +0 -1
- package/cjs/v2_spec/text-spec/font-spec.js +0 -2
- package/cjs/v2_spec/text-spec/font-spec.js.map +0 -1
- package/cjs/v2_spec/text-spec/oneservice-text-style-set.js +0 -2
- package/cjs/v2_spec/text-spec/oneservice-text-style-set.js.map +0 -1
- package/cjs/v2_text/helper.js +0 -31
- package/cjs/v2_text/helper.js.map +0 -1
- package/cjs/v2_text/index.js +0 -2
- package/cjs/v2_text/index.js.map +0 -1
- package/cjs/v2_text/text-style.js +0 -2
- package/cjs/v2_text/text-style.js.map +0 -1
- package/cjs/v2_text/text.js +0 -107
- package/cjs/v2_text/text.js.map +0 -1
- package/cjs/v2_text/types.js +0 -2
- package/cjs/v2_text/types.js.map +0 -1
- package/cjs/v2_text-list/index.js +0 -2
- package/cjs/v2_text-list/index.js.map +0 -1
- package/cjs/v2_text-list/ordered-list.js +0 -2
- package/cjs/v2_text-list/ordered-list.js.map +0 -1
- package/cjs/v2_text-list/text-list.styles.js +0 -62
- package/cjs/v2_text-list/text-list.styles.js.map +0 -1
- package/cjs/v2_text-list/unordered-list.js +0 -2
- package/cjs/v2_text-list/unordered-list.js.map +0 -1
- package/cjs/v2_theme/color-theme-helper.js +0 -2
- package/cjs/v2_theme/color-theme-helper.js.map +0 -1
- package/cjs/v2_theme/design-token-helper.js +0 -2
- package/cjs/v2_theme/design-token-helper.js.map +0 -1
- package/cjs/v2_theme/helper.js +0 -2
- package/cjs/v2_theme/helper.js.map +0 -1
- package/cjs/v2_theme/index.js +0 -2
- package/cjs/v2_theme/index.js.map +0 -1
- package/cjs/v2_theme/text-theme-helper.js +0 -2
- package/cjs/v2_theme/text-theme-helper.js.map +0 -1
- package/cjs/v2_theme/types.js +0 -2
- package/cjs/v2_theme/types.js.map +0 -1
- package/cjs/v2_transition/index.js +0 -2
- package/cjs/v2_transition/index.js.map +0 -1
- package/cjs/v3_theme/components/specs/a11yplayground-component-token-set.js +0 -2
- package/cjs/v3_theme/components/specs/a11yplayground-component-token-set.js.map +0 -1
- package/cjs/v3_theme/components/specs/default-component-token-set.js +0 -2
- package/cjs/v3_theme/components/specs/default-component-token-set.js.map +0 -1
- package/cjs/v3_theme/components/specs/lifesg-component-token-set.js +0 -2
- package/cjs/v3_theme/components/specs/lifesg-component-token-set.js.map +0 -1
- package/cjs/v3_theme/components/specs/pa-component-token-set.js +0 -2
- package/cjs/v3_theme/components/specs/pa-component-token-set.js.map +0 -1
- package/cjs/v3_theme/components/specs/smgs-component-token-set.js +0 -2
- package/cjs/v3_theme/components/specs/smgs-component-token-set.js.map +0 -1
- package/cjs/v3_theme/components/specs/spf-component-token-set.js +0 -2
- package/cjs/v3_theme/components/specs/spf-component-token-set.js.map +0 -1
- package/cjs/v3_theme/components/theme-helper.js +0 -2
- package/cjs/v3_theme/components/theme-helper.js.map +0 -1
- package/countdown-timer/countdown-timer.style.d.ts +0 -42
- package/countdown-timer/countdown-timer.style.js +0 -58
- package/countdown-timer/countdown-timer.style.js.map +0 -1
- package/date-input/date-input.style.d.ts +0 -1
- package/date-input/date-input.style.js +0 -4
- package/date-input/date-input.style.js.map +0 -1
- package/date-range-input/date-range-input.style.d.ts +0 -8
- package/date-range-input/date-range-input.style.js +0 -17
- package/date-range-input/date-range-input.style.js.map +0 -1
- package/external/react-responsive/dist/react-responsive.js +0 -65
- package/external/react-responsive/dist/react-responsive.js.map +0 -1
- package/fullscreen-image-carousel/fullscreen-image-carousel.style.d.ts +0 -116
- package/fullscreen-image-carousel/fullscreen-image-carousel.style.js +0 -298
- package/fullscreen-image-carousel/fullscreen-image-carousel.style.js.map +0 -1
- package/fullscreen-image-carousel/stateful-image.style.d.ts +0 -7
- package/fullscreen-image-carousel/stateful-image.style.js +0 -13
- package/fullscreen-image-carousel/stateful-image.style.js.map +0 -1
- package/input-range-select/input-range-select.style.d.ts +0 -3
- package/input-range-select/input-range-select.style.js +0 -36
- package/input-range-select/input-range-select.style.js.map +0 -1
- package/language-switcher/dropdown-variant.style.d.ts +0 -11
- package/language-switcher/dropdown-variant.style.js +0 -62
- package/language-switcher/dropdown-variant.style.js.map +0 -1
- package/language-switcher/link-container-variant.style.d.ts +0 -8
- package/language-switcher/link-container-variant.style.js +0 -51
- package/language-switcher/link-container-variant.style.js.map +0 -1
- package/masked-input/masked-input.style.d.ts +0 -48
- package/masked-input/masked-input.style.js +0 -87
- package/masked-input/masked-input.style.js.map +0 -1
- package/masonry/index.d.ts +0 -1
- package/masonry/index.js +0 -2
- package/masonry/index.js.map +0 -1
- package/masonry/masonry.d.ts +0 -7
- package/masonry/masonry.js +0 -2
- package/masonry/masonry.js.map +0 -1
- package/masonry/masonry.style.d.ts +0 -6
- package/masonry/masonry.style.js +0 -42
- package/masonry/masonry.style.js.map +0 -1
- package/masonry/types.d.ts +0 -32
- package/popover/popover-hoc.d.ts +0 -4
- package/popover/popover-hoc.js +0 -2
- package/popover/popover-hoc.js.map +0 -1
- package/popover-v2/index.d.ts +0 -4
- package/popover-v2/index.js +0 -2
- package/popover-v2/index.js.map +0 -1
- package/popover-v2/popover-inline/popover-inline.styles.js +0 -2
- package/popover-v2/popover-inline/popover-inline.styles_ziag9c.css +0 -2
- package/popover-v2/popover-trigger.js +0 -2
- package/popover-v2/popover-trigger.js.map +0 -1
- package/popover-v2/popover-trigger.styles.js +0 -2
- package/popover-v2/popover-trigger.styles_1yq7ffk.css +0 -1
- package/popover-v2/popover.d.ts +0 -2
- package/popover-v2/popover.js +0 -2
- package/popover-v2/popover.js.map +0 -1
- package/popover-v2/popover.styles.d.ts +0 -10
- package/popover-v2/popover.styles.js +0 -2
- package/popover-v2/popover.styles.js.map +0 -1
- package/popover-v2/popover.styles_lslc72.css +0 -4
- package/popover-v2/types.d.ts +0 -59
- package/progress-indicator/progress-indicator.style.d.ts +0 -47
- package/progress-indicator/progress-indicator.style.js +0 -39
- package/progress-indicator/progress-indicator.style.js.map +0 -1
- package/theme/utils/media-query.d.ts +0 -6
- package/theme/utils/media-query.js +0 -2
- package/theme/utils/media-query.js.map +0 -1
- package/timeline/timeline.style.d.ts +0 -55
- package/timeline/timeline.style.js +0 -100
- package/timeline/timeline.style.js.map +0 -1
- package/timetable/timetable-header/timetable-header.style.d.ts +0 -31
- package/timetable/timetable-header/timetable-header.style.js +0 -28
- package/timetable/timetable-header/timetable-header.style.js.map +0 -1
- package/timetable/timetable-row/row-bar.style.d.ts +0 -1
- package/timetable/timetable-row/row-bar.style.js +0 -5
- package/timetable/timetable-row/row-bar.style.js.map +0 -1
- package/timetable/timetable-row/row-cell.style.d.ts +0 -60
- package/timetable/timetable-row/row-cell.style.js +0 -53
- package/timetable/timetable-row/row-cell.style.js.map +0 -1
- package/timetable/timetable.style.d.ts +0 -102
- package/timetable/timetable.style.js +0 -172
- package/timetable/timetable.style.js.map +0 -1
- package/tooltip/index.d.ts +0 -3
- package/tooltip/index.js +0 -2
- package/tooltip/index.js.map +0 -1
- package/tooltip/tooltip-hoc.d.ts +0 -3
- package/tooltip/tooltip-hoc.js +0 -2
- package/tooltip/tooltip-hoc.js.map +0 -1
- package/tooltip/tooltip.d.ts +0 -3
- package/tooltip/tooltip.js +0 -2
- package/tooltip/tooltip.js.map +0 -1
- package/tooltip/tooltip.styles.d.ts +0 -10
- package/tooltip/tooltip.styles.js +0 -192
- package/tooltip/tooltip.styles.js.map +0 -1
- package/tooltip/types.d.ts +0 -22
- package/unit-number/unit-number-input.style.d.ts +0 -52
- package/unit-number/unit-number-input.style.js +0 -27
- package/unit-number/unit-number-input.style.js.map +0 -1
- package/v2_color/color.d.ts +0 -5
- package/v2_color/color.js +0 -2
- package/v2_color/color.js.map +0 -1
- package/v2_color/index.d.ts +0 -2
- package/v2_color/index.js +0 -2
- package/v2_color/index.js.map +0 -1
- package/v2_color/types.d.ts +0 -62
- package/v2_design-token/design-token.d.ts +0 -23
- package/v2_design-token/design-token.js +0 -2
- package/v2_design-token/design-token.js.map +0 -1
- package/v2_design-token/index.d.ts +0 -2
- package/v2_design-token/index.js +0 -2
- package/v2_design-token/index.js.map +0 -1
- package/v2_design-token/types.d.ts +0 -28
- package/v2_layout/col-div.d.ts +0 -4
- package/v2_layout/col-div.js +0 -2
- package/v2_layout/col-div.js.map +0 -1
- package/v2_layout/col-div.style.d.ts +0 -9
- package/v2_layout/col-div.style.js +0 -17
- package/v2_layout/col-div.style.js.map +0 -1
- package/v2_layout/container.d.ts +0 -4
- package/v2_layout/container.js +0 -49
- package/v2_layout/container.js.map +0 -1
- package/v2_layout/content.d.ts +0 -4
- package/v2_layout/content.js +0 -2
- package/v2_layout/content.js.map +0 -1
- package/v2_layout/index.d.ts +0 -8
- package/v2_layout/index.js +0 -2
- package/v2_layout/index.js.map +0 -1
- package/v2_layout/section.d.ts +0 -4
- package/v2_layout/section.js +0 -20
- package/v2_layout/section.js.map +0 -1
- package/v2_layout/types.d.ts +0 -66
- package/v2_media/index.d.ts +0 -2
- package/v2_media/index.js +0 -2
- package/v2_media/index.js.map +0 -1
- package/v2_media/media.d.ts +0 -8
- package/v2_media/media.js +0 -2
- package/v2_media/media.js.map +0 -1
- package/v2_media/types.d.ts +0 -20
- package/v2_spec/color-spec/base-color-set.d.ts +0 -2
- package/v2_spec/color-spec/base-color-set.js +0 -2
- package/v2_spec/color-spec/base-color-set.js.map +0 -1
- package/v2_spec/color-spec/bookingsg-color-set.d.ts +0 -2
- package/v2_spec/color-spec/bookingsg-color-set.js +0 -2
- package/v2_spec/color-spec/bookingsg-color-set.js.map +0 -1
- package/v2_spec/color-spec/ccube-color-set.d.ts +0 -2
- package/v2_spec/color-spec/ccube-color-set.js +0 -2
- package/v2_spec/color-spec/ccube-color-set.js.map +0 -1
- package/v2_spec/color-spec/mylegacy-color-set.d.ts +0 -2
- package/v2_spec/color-spec/mylegacy-color-set.js +0 -2
- package/v2_spec/color-spec/mylegacy-color-set.js.map +0 -1
- package/v2_spec/color-spec/oneservice-color-set.d.ts +0 -2
- package/v2_spec/color-spec/oneservice-color-set.js +0 -2
- package/v2_spec/color-spec/oneservice-color-set.js.map +0 -1
- package/v2_spec/color-spec/rbs-color-set.d.ts +0 -2
- package/v2_spec/color-spec/rbs-color-set.js +0 -2
- package/v2_spec/color-spec/rbs-color-set.js.map +0 -1
- package/v2_spec/design-token-spec/base-design-token-set.d.ts +0 -2
- package/v2_spec/design-token-spec/base-design-token-set.js +0 -8
- package/v2_spec/design-token-spec/base-design-token-set.js.map +0 -1
- package/v2_spec/design-token-spec/rbs-design-token-set.d.ts +0 -2
- package/v2_spec/design-token-spec/rbs-design-token-set.js +0 -8
- package/v2_spec/design-token-spec/rbs-design-token-set.js.map +0 -1
- package/v2_spec/media-spec.d.ts +0 -2
- package/v2_spec/media-spec.js +0 -2
- package/v2_spec/media-spec.js.map +0 -1
- package/v2_spec/text-spec/base-plus-jakarta-sans-text-style-set.d.ts +0 -2
- package/v2_spec/text-spec/base-plus-jakarta-sans-text-style-set.js +0 -2
- package/v2_spec/text-spec/base-plus-jakarta-sans-text-style-set.js.map +0 -1
- package/v2_spec/text-spec/base-text-style-set.d.ts +0 -2
- package/v2_spec/text-spec/base-text-style-set.js +0 -2
- package/v2_spec/text-spec/base-text-style-set.js.map +0 -1
- package/v2_spec/text-spec/font-spec.d.ts +0 -15
- package/v2_spec/text-spec/font-spec.js +0 -2
- package/v2_spec/text-spec/font-spec.js.map +0 -1
- package/v2_spec/text-spec/oneservice-text-style-set.d.ts +0 -2
- package/v2_spec/text-spec/oneservice-text-style-set.js +0 -2
- package/v2_spec/text-spec/oneservice-text-style-set.js.map +0 -1
- package/v2_spec/text-spec/types.d.ts +0 -4
- package/v2_text/helper.d.ts +0 -7
- package/v2_text/helper.js +0 -31
- package/v2_text/helper.js.map +0 -1
- package/v2_text/index.d.ts +0 -4
- package/v2_text/index.js +0 -2
- package/v2_text/index.js.map +0 -1
- package/v2_text/text-style.d.ts +0 -5
- package/v2_text/text-style.js +0 -2
- package/v2_text/text-style.js.map +0 -1
- package/v2_text/text.d.ts +0 -22
- package/v2_text/text.js +0 -107
- package/v2_text/text.js.map +0 -1
- package/v2_text/types.d.ts +0 -44
- package/v2_text/types.js +0 -2
- package/v2_text/types.js.map +0 -1
- package/v2_text-list/index.d.ts +0 -6
- package/v2_text-list/index.js +0 -2
- package/v2_text-list/index.js.map +0 -1
- package/v2_text-list/ordered-list.d.ts +0 -3
- package/v2_text-list/ordered-list.js +0 -2
- package/v2_text-list/ordered-list.js.map +0 -1
- package/v2_text-list/text-list.styles.d.ts +0 -13
- package/v2_text-list/text-list.styles.js +0 -62
- package/v2_text-list/text-list.styles.js.map +0 -1
- package/v2_text-list/types.d.ts +0 -26
- package/v2_text-list/unordered-list.d.ts +0 -3
- package/v2_text-list/unordered-list.js +0 -2
- package/v2_text-list/unordered-list.js.map +0 -1
- package/v2_theme/color-theme-helper.d.ts +0 -1
- package/v2_theme/color-theme-helper.js +0 -2
- package/v2_theme/color-theme-helper.js.map +0 -1
- package/v2_theme/design-token-helper.d.ts +0 -2
- package/v2_theme/design-token-helper.js +0 -2
- package/v2_theme/design-token-helper.js.map +0 -1
- package/v2_theme/helper.d.ts +0 -16
- package/v2_theme/helper.js +0 -2
- package/v2_theme/helper.js.map +0 -1
- package/v2_theme/index.d.ts +0 -8
- package/v2_theme/index.js +0 -2
- package/v2_theme/index.js.map +0 -1
- package/v2_theme/text-theme-helper.d.ts +0 -1
- package/v2_theme/text-theme-helper.js +0 -2
- package/v2_theme/text-theme-helper.js.map +0 -1
- package/v2_theme/types.d.ts +0 -48
- package/v2_theme/types.js +0 -2
- package/v2_theme/types.js.map +0 -1
- package/v2_transition/index.d.ts +0 -5
- package/v2_transition/index.js +0 -2
- package/v2_transition/index.js.map +0 -1
- package/v3_theme/components/specs/a11yplayground-component-token-set.js +0 -2
- package/v3_theme/components/specs/a11yplayground-component-token-set.js.map +0 -1
- package/v3_theme/components/specs/default-component-token-set.js +0 -2
- package/v3_theme/components/specs/default-component-token-set.js.map +0 -1
- package/v3_theme/components/specs/lifesg-component-token-set.js +0 -2
- package/v3_theme/components/specs/lifesg-component-token-set.js.map +0 -1
- package/v3_theme/components/specs/pa-component-token-set.js +0 -2
- package/v3_theme/components/specs/pa-component-token-set.js.map +0 -1
- package/v3_theme/components/specs/smgs-component-token-set.js +0 -2
- package/v3_theme/components/specs/smgs-component-token-set.js.map +0 -1
- package/v3_theme/components/specs/spf-component-token-set.js +0 -2
- package/v3_theme/components/specs/spf-component-token-set.js.map +0 -1
- package/v3_theme/components/theme-helper.js +0 -2
- package/v3_theme/components/theme-helper.js.map +0 -1
- /package/cjs/{popover-v2 → popover}/popover-inline/popover-inline.js +0 -0
- /package/{popover-v2 → popover}/popover-inline/index.d.ts +0 -0
- /package/{popover-v2 → popover}/popover-inline/popover-inline.d.ts +0 -0
- /package/{popover-v2 → popover}/popover-inline/popover-inline.js +0 -0
- /package/{popover-v2 → popover}/popover-inline/popover-inline.styles.d.ts +0 -0
- /package/{popover-v2 → popover}/popover-trigger.styles.d.ts +0 -0
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import t,{css as e}from"styled-components";import{V2_Color as r}from"../v2_color/color.js";import{V2_MediaQuery as o}from"../v2_media/media.js";import{V2_TextStyleHelper as l}from"../v2_text/helper.js";const i=t=>`\n\tmargin-bottom: ${t||0}rem;\n`,n=t.ol`
|
|
2
|
-
${t=>i(t.bottomMargin)}
|
|
3
|
-
margin-left: ${3}rem;
|
|
4
|
-
|
|
5
|
-
${o.MaxWidth.tablet} {
|
|
6
|
-
margin-left: 2.5rem;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
// Counter matters
|
|
10
|
-
counter-reset: list;
|
|
11
|
-
|
|
12
|
-
li {
|
|
13
|
-
${t=>l.getTextStyle(t.size,"regular")}
|
|
14
|
-
position: relative;
|
|
15
|
-
color: ${r.Neutral[1]};
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
${t=>{const{reversed:r}=t,o=t.counterType||"decimal",l=t.counterSeparator||")";return e`
|
|
19
|
-
li:before {
|
|
20
|
-
content: counter(list, ${o}) "${l}";
|
|
21
|
-
counter-increment: ${r?"list -1":"list"};
|
|
22
|
-
position: absolute;
|
|
23
|
-
left: -2rem;
|
|
24
|
-
}
|
|
25
|
-
`}}
|
|
26
|
-
|
|
27
|
-
${t=>{const{reversed:r,start:o}=t;if(o){return e`
|
|
28
|
-
counter-reset: list ${r?o+1:o-1};
|
|
29
|
-
`}}}
|
|
30
|
-
|
|
31
|
-
list-style-position: outside;
|
|
32
|
-
list-style-type: none;
|
|
33
|
-
|
|
34
|
-
// nested lists styling
|
|
35
|
-
ol,
|
|
36
|
-
ul {
|
|
37
|
-
margin-top: 0.5rem;
|
|
38
|
-
margin-bottom: 0.5rem;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
ul > li:before {
|
|
42
|
-
content: "";
|
|
43
|
-
}
|
|
44
|
-
`,s=t.ul`
|
|
45
|
-
${t=>i(t.bottomMargin)}
|
|
46
|
-
margin-left: 2.5rem;
|
|
47
|
-
list-style-type: ${t=>t.bulletType||"disc"};
|
|
48
|
-
|
|
49
|
-
li {
|
|
50
|
-
${t=>l.getTextStyle(t.size,"regular")}
|
|
51
|
-
color: ${r.Neutral[1]};
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
counter-reset: list;
|
|
55
|
-
|
|
56
|
-
ol,
|
|
57
|
-
ul {
|
|
58
|
-
margin-top: 0.5rem;
|
|
59
|
-
margin-bottom: 0.5rem;
|
|
60
|
-
}
|
|
61
|
-
`;export{n as V2_StyledOrderedList,s as V2_StyledUnorderedList};
|
|
62
|
-
//# sourceMappingURL=text-list.styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"text-list.styles.js","sources":["../../src/v2_text-list/text-list.styles.tsx"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { V2_Color } from \"../v2_color\";\nimport { V2_MediaQuery } from \"../v2_media\";\nimport { V2_TextStyleHelper } from \"../v2_text/helper\";\nimport type { V2_TextSizeType } from \"../v2_text/types\";\nimport type { V2_OrderedListProps, V2_UnorderedListProps } from \"./types\";\n\n// =============================================================================\n// STYLE INTERFACE\n// =============================================================================\ninterface OrderedListStyleProps extends V2_OrderedListProps {\n size: V2_TextSizeType;\n}\n\ninterface UnorderedListStyleProps extends V2_UnorderedListProps {\n size: V2_TextSizeType;\n}\n\n// =============================================================================\n// STYLING\n// =============================================================================\nconst baseListStyle = (bottomMargin: number | undefined) => `\n\tmargin-bottom: ${bottomMargin ? bottomMargin : 0}rem;\n`;\n\nconst BASE_MARGIN = 3;\n\n// =============================================================================\n// ORDERED LIST\n// ============================================================================\n\n/** @deprecated */\nexport const V2_StyledOrderedList = styled.ol<OrderedListStyleProps>`\n ${(props) => baseListStyle(props.bottomMargin)}\n margin-left: ${BASE_MARGIN}rem;\n\n ${V2_MediaQuery.MaxWidth.tablet} {\n margin-left: 2.5rem;\n }\n\n // Counter matters\n counter-reset: list;\n\n li {\n ${(props) => V2_TextStyleHelper.getTextStyle(props.size, \"regular\")}\n position: relative;\n color: ${V2_Color.Neutral[1]};\n }\n\n ${(props) => {\n const { reversed } = props;\n const counterType = props.counterType || \"decimal\";\n const counterSeparator = props.counterSeparator || \")\";\n\n return css`\n li:before {\n content: counter(list, ${counterType}) \"${counterSeparator}\";\n counter-increment: ${reversed ? \"list -1\" : \"list\"};\n position: absolute;\n left: -2rem;\n }\n `;\n }}\n\n ${(props) => {\n const { reversed, start } = props;\n\n if (start) {\n const resetValue = reversed ? start + 1 : start - 1;\n return css`\n counter-reset: list ${resetValue};\n `;\n }\n }}\n\n list-style-position: outside;\n list-style-type: none;\n\n // nested lists styling\n ol,\n ul {\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n }\n\n ul > li:before {\n content: \"\";\n }\n`;\n\n// =============================================================================\n// UNORDERED LIST\n// =============================================================================\n\n/** @deprecated */\nexport const V2_StyledUnorderedList = styled.ul<UnorderedListStyleProps>`\n ${(props) => baseListStyle(props.bottomMargin)}\n margin-left: 2.5rem;\n list-style-type: ${(props) => props.bulletType || \"disc\"};\n\n li {\n ${(props) => V2_TextStyleHelper.getTextStyle(props.size, \"regular\")}\n color: ${V2_Color.Neutral[1]};\n }\n\n counter-reset: list;\n\n ol,\n ul {\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n }\n`;\n"],"names":["baseListStyle","bottomMargin","V2_StyledOrderedList","styled","ol","props","V2_MediaQuery","MaxWidth","tablet","V2_TextStyleHelper","getTextStyle","size","V2_Color","Neutral","reversed","counterType","counterSeparator","css","start","V2_StyledUnorderedList","ul","bulletType"],"mappings":"0MAsBA,MAAMA,EAAiBC,GAAqC,sBAC1CA,GAA8B,UAUnCC,EAAuBC,EAAOC,EAAyB;MAC7DC,GAAUL,EAAcK,EAAMJ;mBARjB;;MAWdK,EAAcC,SAASC;;;;;;;;UAQlBH,GAAUI,EAAmBC,aAAaL,EAAMM,KAAM;;iBAEhDC,EAASC,QAAQ;;;MAG3BR,IACC,MAAMS,SAAEA,GAAaT,EACfU,EAAcV,EAAMU,aAAe,UACnCC,EAAmBX,EAAMW,kBAAoB,IAEnD,OAAOC,CAAG;;yCAEuBF,OAAiBC;qCACrBF,EAAW,UAAY;;;;SAInD;;MAGFT,IACC,MAAMS,SAAEA,EAAQI,MAAEA,GAAUb,EAE5B,GAAIa,EAAO,CAEP,OAAOD,CAAG;sCADSH,EAAWI,EAAQ,EAAIA,EAAQ;aAItD;;;;;;;;;;;;;;;EAuBKC,EAAyBhB,EAAOiB,EAA2B;MACjEf,GAAUL,EAAcK,EAAMJ;;uBAEbI,GAAUA,EAAMgB,YAAc;;;UAG3ChB,GAAUI,EAAmBC,aAAaL,EAAMM,KAAM;iBAChDC,EAASC,QAAQ;;;;;;;;;;"}
|
package/v2_text-list/types.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { V2_TextSizeType } from "../v2_text/types";
|
|
2
|
-
interface BaseListProps {
|
|
3
|
-
children: JSX.Element | JSX.Element[];
|
|
4
|
-
bottomMargin?: number | undefined;
|
|
5
|
-
size?: V2_TextSizeType | undefined;
|
|
6
|
-
}
|
|
7
|
-
/** @deprecated */
|
|
8
|
-
export type V2_CounterType = "lower-alpha" | "decimal" | "lower-roman";
|
|
9
|
-
/** @deprecated */
|
|
10
|
-
export interface V2_OrderedListProps extends BaseListProps {
|
|
11
|
-
/** Values: "lower-alpha" | "decimal" | "lower-roman" */
|
|
12
|
-
counterType?: V2_CounterType | undefined;
|
|
13
|
-
counterSeparator?: string | undefined;
|
|
14
|
-
/** Specifies if the list counter decrements */
|
|
15
|
-
reversed?: boolean | undefined;
|
|
16
|
-
/** The value to start the list count from */
|
|
17
|
-
start?: number | undefined;
|
|
18
|
-
}
|
|
19
|
-
/** @deprecated */
|
|
20
|
-
export type V2_BulletType = "disc" | "circle" | "square" | "none";
|
|
21
|
-
/** @deprecated */
|
|
22
|
-
export interface V2_UnorderedListProps extends BaseListProps {
|
|
23
|
-
/** Values: "disc" | "circle" | "square" | "none" */
|
|
24
|
-
bulletType?: V2_BulletType | undefined;
|
|
25
|
-
}
|
|
26
|
-
export {};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__rest as r}from"../_virtual/_tslib.js";import{jsx as t}from"react/jsx-runtime";import{V2_StyledUnorderedList as i}from"./text-list.styles.js";const e=e=>{var{size:s="Body",children:o}=e,l=r(e,["size","children"]);return t(i,Object.assign({size:s},l,{children:o}))};export{e as V2_UnorderedList};
|
|
2
|
-
//# sourceMappingURL=unordered-list.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unordered-list.js","sources":["../../src/v2_text-list/unordered-list.tsx"],"sourcesContent":["import { V2_StyledUnorderedList } from \"./text-list.styles\";\nimport type { V2_UnorderedListProps } from \"./types\";\n\n/** @deprecated */\nexport const V2_UnorderedList = ({\n size = \"Body\",\n children,\n ...otherProps\n}: V2_UnorderedListProps) => {\n return (\n <V2_StyledUnorderedList size={size} {...otherProps}>\n {children}\n </V2_StyledUnorderedList>\n );\n};\n"],"names":["V2_UnorderedList","_a","size","children","otherProps","__rest","_jsx","V2_StyledUnorderedList","Object","assign"],"mappings":"sJAIO,MAAMA,EAAoBC,QAAAC,KAC7BA,EAAO,OAAMC,SACbA,KACGC,EAAUC,EAAAJ,EAHgB,CAAA,OAAA,aAK7B,OACIK,EAACC,EAAsBC,OAAAC,OAAA,CAACP,KAAMA,GAAUE,EAAU,CAAAD,SAC7CA,IACoB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getThemeColors: (attributePath: string) => (props: any) => string;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{BaseColorSet as o}from"../v2_spec/color-spec/base-color-set.js";import{BookingSGColorSet as e}from"../v2_spec/color-spec/bookingsg-color-set.js";import{CCubeColorSet as s}from"../v2_spec/color-spec/ccube-color-set.js";import{MyLegacyColorSet as c}from"../v2_spec/color-spec/mylegacy-color-set.js";import{OneServiceColorSet as r}from"../v2_spec/color-spec/oneservice-color-set.js";import{RBSColorSet as l}from"../v2_spec/color-spec/rbs-color-set.js";import{getCollection as p,getValue as t}from"./helper.js";import{V2_ThemeContextKeys as m}from"./types.js";const i={collections:{base:o,bookingsg:e,rbs:l,mylegacy:c,ccube:s,oneservice:r},defaultValue:"base"},n=o=>e=>{var s;const c=(null===(s=e.theme)||void 0===s?void 0:s._v2)||e.theme,r=p(i,null==c?void 0:c[m.colorScheme]);return c.options&&c.options.color?t(r,o,c.options.color):t(r,o)};export{n as getThemeColors};
|
|
2
|
-
//# sourceMappingURL=color-theme-helper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"color-theme-helper.js","sources":["../../src/v2_theme/color-theme-helper.ts"],"sourcesContent":["import type { V2_ColorSet } from \"../v2_color/types\";\nimport { BaseColorSet } from \"../v2_spec/color-spec/base-color-set\";\nimport { BookingSGColorSet } from \"../v2_spec/color-spec/bookingsg-color-set\";\nimport { CCubeColorSet } from \"../v2_spec/color-spec/ccube-color-set\";\nimport { MyLegacyColorSet } from \"../v2_spec/color-spec/mylegacy-color-set\";\nimport { OneServiceColorSet } from \"../v2_spec/color-spec/oneservice-color-set\";\nimport { RBSColorSet } from \"../v2_spec/color-spec/rbs-color-set\";\nimport { getCollection, getValue } from \"./helper\";\nimport type {\n V2_ColorCollectionsMap,\n V2_ColorScheme,\n V2_ThemeCollectionSpec,\n V2_ThemeSpec,\n} from \"./types\";\nimport { V2_ThemeContextKeys } from \"./types\";\n\n// =============================================================================\n// THEME SPECIFICATION\n// =============================================================================\nconst ColorSpec: V2_ThemeCollectionSpec<\n V2_ColorCollectionsMap,\n V2_ColorScheme\n> = {\n collections: {\n base: BaseColorSet,\n bookingsg: BookingSGColorSet,\n rbs: RBSColorSet,\n mylegacy: MyLegacyColorSet,\n ccube: CCubeColorSet,\n oneservice: OneServiceColorSet,\n },\n defaultValue: \"base\",\n};\n\n// =============================================================================\n// HELPER FUNCTIONS\n// =============================================================================\nexport const getThemeColors = (attributePath: string) => {\n return (props: any): string => {\n const theme = (props.theme?._v2 || props.theme) as V2_ThemeSpec;\n const colorSet: V2_ColorSet = getCollection(\n ColorSpec,\n theme?.[V2_ThemeContextKeys.colorScheme]\n );\n\n return theme.options && theme.options.color\n ? (getValue(colorSet, attributePath, theme.options.color) as string)\n : (getValue(colorSet, attributePath) as string);\n };\n};\n"],"names":["ColorSpec","collections","base","BaseColorSet","bookingsg","BookingSGColorSet","rbs","RBSColorSet","mylegacy","MyLegacyColorSet","ccube","CCubeColorSet","oneservice","OneServiceColorSet","defaultValue","getThemeColors","attributePath","props","theme","_a","_v2","colorSet","getCollection","V2_ThemeContextKeys","colorScheme","options","color","getValue"],"mappings":"mjBAmBA,MAAMA,EAGF,CACAC,YAAa,CACTC,KAAMC,EACNC,UAAWC,EACXC,IAAKC,EACLC,SAAUC,EACVC,MAAOC,EACPC,WAAYC,GAEhBC,aAAc,QAMLC,EAAkBC,GACnBC,UACJ,MAAMC,GAAoB,UAAXD,EAAMC,aAAK,IAAAC,OAAA,EAAAA,EAAEC,MAAOH,EAAMC,MACnCG,EAAwBC,EAC1BtB,EACAkB,aAAK,EAALA,EAAQK,EAAoBC,cAGhC,OAAON,EAAMO,SAAWP,EAAMO,QAAQC,MAC/BC,EAASN,EAAUL,EAAeE,EAAMO,QAAQC,OAChDC,EAASN,EAAUL,EAAyB"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{BaseDesignTokenSet as e}from"../v2_spec/design-token-spec/base-design-token-set.js";import{RBSDesignTokenSet as o}from"../v2_spec/design-token-spec/rbs-design-token-set.js";import{getCollection as s,getValue as n}from"./helper.js";import{V2_ThemeContextKeys as t}from"./types.js";const i={collections:{base:e,rbs:o},defaultValue:"base"},r=e=>o=>{var r,d;const p=(null===(r=o.theme)||void 0===r?void 0:r._v2)||o.theme,l=s(i,null==p?void 0:p[t.designTokenScheme]);return(null===(d=p.options)||void 0===d?void 0:d.designToken)?n(l,e,p.options.designToken):n(l,e)};export{r as getThemeDesignToken};
|
|
2
|
-
//# sourceMappingURL=design-token-helper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"design-token-helper.js","sources":["../../src/v2_theme/design-token-helper.ts"],"sourcesContent":["import type { CssValue, V2_DesignTokenSet } from \"../v2_design-token/types\";\nimport { BaseDesignTokenSet } from \"../v2_spec/design-token-spec/base-design-token-set\";\nimport { RBSDesignTokenSet } from \"../v2_spec/design-token-spec/rbs-design-token-set\";\nimport { getCollection, getValue } from \"./helper\";\nimport type {\n V2_DesignTokenCollectionsMap,\n V2_DesignTokenScheme,\n V2_ThemeCollectionSpec,\n V2_ThemeSpec,\n} from \"./types\";\nimport { V2_ThemeContextKeys } from \"./types\";\n\n// =============================================================================\n// THEME SPECIFICATION\n// =============================================================================\nconst DesignTokenSpec: V2_ThemeCollectionSpec<\n V2_DesignTokenCollectionsMap,\n V2_DesignTokenScheme\n> = {\n collections: {\n base: BaseDesignTokenSet,\n rbs: RBSDesignTokenSet,\n },\n defaultValue: \"base\",\n};\n\n// =============================================================================\n// HELPER FUNCTIONS\n// =============================================================================\nexport const getThemeDesignToken = (attributePath: string) => {\n return (props: any): CssValue => {\n const theme = (props.theme?._v2 || props.theme) as V2_ThemeSpec;\n const DesignTokenSet: V2_DesignTokenSet = getCollection(\n DesignTokenSpec,\n theme?.[V2_ThemeContextKeys.designTokenScheme]\n );\n\n const value = theme.options?.designToken\n ? getValue(DesignTokenSet, attributePath, theme.options.designToken)\n : getValue(DesignTokenSet, attributePath);\n\n return value;\n };\n};\n"],"names":["DesignTokenSpec","collections","base","BaseDesignTokenSet","rbs","RBSDesignTokenSet","defaultValue","getThemeDesignToken","attributePath","props","theme","_a","_v2","DesignTokenSet","getCollection","V2_ThemeContextKeys","designTokenScheme","_b","options","designToken","getValue"],"mappings":"+RAeA,MAAMA,EAGF,CACAC,YAAa,CACTC,KAAMC,EACNC,IAAKC,GAETC,aAAc,QAMLC,EAAuBC,GACxBC,YACJ,MAAMC,GAAoB,UAAXD,EAAMC,aAAK,IAAAC,OAAA,EAAAA,EAAEC,MAAOH,EAAMC,MACnCG,EAAoCC,EACtCd,EACAU,aAAK,EAALA,EAAQK,EAAoBC,oBAOhC,eAJcC,EAAAP,EAAMQ,8BAASC,aACvBC,EAASP,EAAgBL,EAAeE,EAAMQ,QAAQC,aACtDC,EAASP,EAAgBL,EAEnB"}
|
package/v2_theme/helper.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { V2_ThemeCollectionSpec } from "./types";
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @param collection the collection of theme-specific style attributes
|
|
5
|
-
* @param attributePath (optional) the path to the value within the selected collection
|
|
6
|
-
* @param attributePath (optional) the path to the value within the selected collection
|
|
7
|
-
* @returns style value
|
|
8
|
-
*/
|
|
9
|
-
export declare const getValue: <C, T>(collection: C, attributePath?: string, customCollection?: T) => any;
|
|
10
|
-
/**
|
|
11
|
-
* Gets the theme set based on the theme context value
|
|
12
|
-
* @param collectionSpec the collections of theme-specific style attributes
|
|
13
|
-
* @param contextValue (optional) the theme context value
|
|
14
|
-
* @returns the selected collection
|
|
15
|
-
*/
|
|
16
|
-
export declare const getCollection: <T, V, C>(collectionSpec: V2_ThemeCollectionSpec<T, V>, contextValue?: string) => C;
|
package/v2_theme/helper.js
DELETED
package/v2_theme/helper.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helper.js","sources":["../../src/v2_theme/helper.ts"],"sourcesContent":["import get from \"lodash/get\";\n\nimport type { V2_ThemeCollectionSpec } from \"./types\";\n\n/**\n *\n * @param collection the collection of theme-specific style attributes\n * @param attributePath (optional) the path to the value within the selected collection\n * @param attributePath (optional) the path to the value within the selected collection\n * @returns style value\n */\nexport const getValue = <C, T>(\n collection: C,\n attributePath?: string,\n customCollection?: T\n): any => {\n return attributePath\n ? get(customCollection, attributePath) || get(collection, attributePath)\n : customCollection || collection;\n};\n\n/**\n * Gets the theme set based on the theme context value\n * @param collectionSpec the collections of theme-specific style attributes\n * @param contextValue (optional) the theme context value\n * @returns the selected collection\n */\nexport const getCollection = <T, V, C>(\n collectionSpec: V2_ThemeCollectionSpec<T, V>,\n contextValue?: string\n): C => {\n const themeContextValue = contextValue || collectionSpec.defaultValue;\n return get(collectionSpec.collections, themeContextValue as string);\n};\n"],"names":["getValue","collection","attributePath","customCollection","get","getCollection","collectionSpec","contextValue","themeContextValue","defaultValue","collections"],"mappings":"yCAWO,MAAMA,EAAW,CACpBC,EACAC,EACAC,IAEOD,EACDE,EAAID,EAAkBD,IAAkBE,EAAIH,EAAYC,GACxDC,GAAoBF,EASjBI,EAAgB,CACzBC,EACAC,KAEA,MAAMC,EAAoBD,GAAgBD,EAAeG,aACzD,OAAOL,EAAIE,EAAeI,YAAaF,EAA4B"}
|
package/v2_theme/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { V2_ThemeSpec } from "./types";
|
|
2
|
-
export declare const V2_BaseTheme: V2_ThemeSpec;
|
|
3
|
-
export declare const V2_BookingSGTheme: V2_ThemeSpec;
|
|
4
|
-
export declare const V2_RBSTheme: V2_ThemeSpec;
|
|
5
|
-
export declare const V2_MyLegacyTheme: V2_ThemeSpec;
|
|
6
|
-
export declare const V2_CCubeTheme: V2_ThemeSpec;
|
|
7
|
-
export declare const V2_OneServiceTheme: V2_ThemeSpec;
|
|
8
|
-
export * from "./types";
|
package/v2_theme/index.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{V2_ThemeContextKeys as e}from"./types.js";const c={[e.colorScheme]:"base",[e.textStyleScheme]:"base",[e.designTokenScheme]:"base",[e.resourceScheme]:"base"},s={[e.colorScheme]:"bookingsg",[e.textStyleScheme]:"base",[e.designTokenScheme]:"base",[e.resourceScheme]:"bookingsg"},o={[e.colorScheme]:"rbs",[e.textStyleScheme]:"base",[e.designTokenScheme]:"rbs",[e.resourceScheme]:"rbs"},S={[e.colorScheme]:"mylegacy",[e.textStyleScheme]:"base",[e.designTokenScheme]:"base",[e.resourceScheme]:"mylegacy"},m={[e.colorScheme]:"ccube",[e.textStyleScheme]:"base",[e.designTokenScheme]:"base",[e.resourceScheme]:"ccube"},r={[e.colorScheme]:"oneservice",[e.textStyleScheme]:"oneservice",[e.designTokenScheme]:"base",[e.resourceScheme]:"base"};export{c as V2_BaseTheme,s as V2_BookingSGTheme,m as V2_CCubeTheme,S as V2_MyLegacyTheme,r as V2_OneServiceTheme,o as V2_RBSTheme,e as V2_ThemeContextKeys};
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
package/v2_theme/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/v2_theme/index.ts"],"sourcesContent":["import type { V2_ThemeSpec } from \"./types\";\nimport { V2_ThemeContextKeys } from \"./types\";\n\nexport const V2_BaseTheme: V2_ThemeSpec = {\n [V2_ThemeContextKeys.colorScheme]: \"base\",\n [V2_ThemeContextKeys.textStyleScheme]: \"base\",\n [V2_ThemeContextKeys.designTokenScheme]: \"base\",\n [V2_ThemeContextKeys.resourceScheme]: \"base\",\n};\n\nexport const V2_BookingSGTheme: V2_ThemeSpec = {\n [V2_ThemeContextKeys.colorScheme]: \"bookingsg\",\n [V2_ThemeContextKeys.textStyleScheme]: \"base\",\n [V2_ThemeContextKeys.designTokenScheme]: \"base\",\n [V2_ThemeContextKeys.resourceScheme]: \"bookingsg\",\n};\n\nexport const V2_RBSTheme: V2_ThemeSpec = {\n [V2_ThemeContextKeys.colorScheme]: \"rbs\",\n [V2_ThemeContextKeys.textStyleScheme]: \"base\",\n [V2_ThemeContextKeys.designTokenScheme]: \"rbs\",\n [V2_ThemeContextKeys.resourceScheme]: \"rbs\",\n};\n\nexport const V2_MyLegacyTheme: V2_ThemeSpec = {\n [V2_ThemeContextKeys.colorScheme]: \"mylegacy\",\n [V2_ThemeContextKeys.textStyleScheme]: \"base\",\n [V2_ThemeContextKeys.designTokenScheme]: \"base\",\n [V2_ThemeContextKeys.resourceScheme]: \"mylegacy\",\n};\n\nexport const V2_CCubeTheme: V2_ThemeSpec = {\n [V2_ThemeContextKeys.colorScheme]: \"ccube\",\n [V2_ThemeContextKeys.textStyleScheme]: \"base\",\n [V2_ThemeContextKeys.designTokenScheme]: \"base\",\n [V2_ThemeContextKeys.resourceScheme]: \"ccube\",\n};\n\nexport const V2_OneServiceTheme: V2_ThemeSpec = {\n [V2_ThemeContextKeys.colorScheme]: \"oneservice\",\n [V2_ThemeContextKeys.textStyleScheme]: \"oneservice\",\n [V2_ThemeContextKeys.designTokenScheme]: \"base\",\n [V2_ThemeContextKeys.resourceScheme]: \"base\",\n};\n\nexport * from \"./types\";\n"],"names":["V2_BaseTheme","V2_ThemeContextKeys","colorScheme","textStyleScheme","designTokenScheme","resourceScheme","V2_BookingSGTheme","V2_RBSTheme","V2_MyLegacyTheme","V2_CCubeTheme","V2_OneServiceTheme"],"mappings":"iDAGO,MAAMA,EAA6B,CACtC,CAACC,EAAoBC,aAAc,OACnC,CAACD,EAAoBE,iBAAkB,OACvC,CAACF,EAAoBG,mBAAoB,OACzC,CAACH,EAAoBI,gBAAiB,QAG7BC,EAAkC,CAC3C,CAACL,EAAoBC,aAAc,YACnC,CAACD,EAAoBE,iBAAkB,OACvC,CAACF,EAAoBG,mBAAoB,OACzC,CAACH,EAAoBI,gBAAiB,aAG7BE,EAA4B,CACrC,CAACN,EAAoBC,aAAc,MACnC,CAACD,EAAoBE,iBAAkB,OACvC,CAACF,EAAoBG,mBAAoB,MACzC,CAACH,EAAoBI,gBAAiB,OAG7BG,EAAiC,CAC1C,CAACP,EAAoBC,aAAc,WACnC,CAACD,EAAoBE,iBAAkB,OACvC,CAACF,EAAoBG,mBAAoB,OACzC,CAACH,EAAoBI,gBAAiB,YAG7BI,EAA8B,CACvC,CAACR,EAAoBC,aAAc,QACnC,CAACD,EAAoBE,iBAAkB,OACvC,CAACF,EAAoBG,mBAAoB,OACzC,CAACH,EAAoBI,gBAAiB,SAG7BK,EAAmC,CAC5C,CAACT,EAAoBC,aAAc,aACnC,CAACD,EAAoBE,iBAAkB,aACvC,CAACF,EAAoBG,mBAAoB,OACzC,CAACH,EAAoBI,gBAAiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getThemeTextStyles: (attributePath: string) => (props: any) => string | number;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{BasePlusSansJakartaStyleSet as e}from"../v2_spec/text-spec/base-plus-jakarta-sans-text-style-set.js";import{BaseTextStyleSet as t}from"../v2_spec/text-spec/base-text-style-set.js";import{OneServiceTextStyleSet as s}from"../v2_spec/text-spec/oneservice-text-style-set.js";import{getCollection as o,getValue as p}from"./helper.js";import{V2_ThemeContextKeys as r}from"./types.js";const l={collections:{base:t,oneservice:s,plusJakartaSans:e},defaultValue:"base"},a=e=>t=>{var s;const a=(null===(s=t.theme)||void 0===s?void 0:s._v2)||t.theme,i=o(l,null==a?void 0:a[r.textStyleScheme]);return a.options&&a.options.textStyle?p(i,e,a.options.textStyle):p(i,e)};export{a as getThemeTextStyles};
|
|
2
|
-
//# sourceMappingURL=text-theme-helper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"text-theme-helper.js","sources":["../../src/v2_theme/text-theme-helper.ts"],"sourcesContent":["import { BasePlusSansJakartaStyleSet } from \"../v2_spec/text-spec/base-plus-jakarta-sans-text-style-set\";\nimport { BaseTextStyleSet } from \"../v2_spec/text-spec/base-text-style-set\";\nimport { OneServiceTextStyleSet } from \"../v2_spec/text-spec/oneservice-text-style-set\";\nimport type { V2_TextStyleSetType } from \"../v2_text/types\";\nimport { getCollection, getValue } from \"./helper\";\nimport type {\n V2_FontStyleCollectionsMap,\n V2_TextStyleScheme,\n V2_ThemeCollectionSpec,\n V2_ThemeSpec,\n} from \"./types\";\nimport { V2_ThemeContextKeys } from \"./types\";\n\n// =============================================================================\n// THEME SPECIFICATION\n// =============================================================================\nconst TextStyleSpec: V2_ThemeCollectionSpec<\n V2_FontStyleCollectionsMap,\n V2_TextStyleScheme\n> = {\n collections: {\n base: BaseTextStyleSet,\n oneservice: OneServiceTextStyleSet,\n plusJakartaSans: BasePlusSansJakartaStyleSet,\n },\n defaultValue: \"base\",\n};\n\n// =============================================================================\n// HELPER FUNCTIONS\n// =============================================================================\nexport const getThemeTextStyles = (attributePath: string) => {\n return (props: any): string | number => {\n const theme = (props.theme?._v2 || props.theme) as V2_ThemeSpec;\n const textStyleSet: V2_TextStyleSetType = getCollection(\n TextStyleSpec,\n theme?.[V2_ThemeContextKeys.textStyleScheme]\n );\n\n return theme.options && theme.options.textStyle\n ? getValue(textStyleSet, attributePath, theme.options.textStyle)\n : getValue(textStyleSet, attributePath);\n };\n};\n"],"names":["TextStyleSpec","collections","base","BaseTextStyleSet","oneservice","OneServiceTextStyleSet","plusJakartaSans","BasePlusSansJakartaStyleSet","defaultValue","getThemeTextStyles","attributePath","props","theme","_a","_v2","textStyleSet","getCollection","V2_ThemeContextKeys","textStyleScheme","options","textStyle","getValue"],"mappings":"iYAgBA,MAAMA,EAGF,CACAC,YAAa,CACTC,KAAMC,EACNC,WAAYC,EACZC,gBAAiBC,GAErBC,aAAc,QAMLC,EAAsBC,GACvBC,UACJ,MAAMC,GAAoB,UAAXD,EAAMC,aAAK,IAAAC,OAAA,EAAAA,EAAEC,MAAOH,EAAMC,MACnCG,EAAoCC,EACtChB,EACAY,aAAK,EAALA,EAAQK,EAAoBC,kBAGhC,OAAON,EAAMO,SAAWP,EAAMO,QAAQC,UAChCC,EAASN,EAAcL,EAAeE,EAAMO,QAAQC,WACpDC,EAASN,EAAcL,EAAc"}
|
package/v2_theme/types.d.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import type { V2_ColorSet, V2_ColorSetOptions } from "../v2_color/types";
|
|
2
|
-
import type { V2_DesignTokenSet, V2_DesignTokenSetOptions } from "../v2_design-token/types";
|
|
3
|
-
import type { V2_TextStyleSetOptionsType, V2_TextStyleSetType } from "../v2_text/types";
|
|
4
|
-
export type V2_ThemeLayout = "normal";
|
|
5
|
-
export type V2_ColorScheme = "base" | "bookingsg" | "rbs" | "mylegacy" | "ccube" | "oneservice";
|
|
6
|
-
export type V2_ColorCollectionsMap = {
|
|
7
|
-
[key in V2_ColorScheme]: V2_ColorSet;
|
|
8
|
-
};
|
|
9
|
-
export type V2_TextStyleScheme = "base" | "oneservice" | "plusJakartaSans";
|
|
10
|
-
export type V2_FontStyleCollectionsMap = {
|
|
11
|
-
[key in V2_TextStyleScheme]: V2_TextStyleSetType;
|
|
12
|
-
};
|
|
13
|
-
export type V2_DesignTokenScheme = "base" | "rbs";
|
|
14
|
-
export type V2_DesignTokenCollectionsMap = {
|
|
15
|
-
[key in V2_DesignTokenScheme]: V2_DesignTokenSet;
|
|
16
|
-
};
|
|
17
|
-
export type V2_ResourceScheme = "base" | "bookingsg" | "rbs" | "ccube" | "mylegacy";
|
|
18
|
-
export declare enum V2_ThemeContextKeys {
|
|
19
|
-
colorScheme = "colorScheme",
|
|
20
|
-
layout = "layout",
|
|
21
|
-
textStyleScheme = "textStyleScheme",
|
|
22
|
-
designTokenScheme = "designTokenScheme",
|
|
23
|
-
resourceScheme = "resourceScheme"
|
|
24
|
-
}
|
|
25
|
-
export interface V2_ThemeSpecOptions {
|
|
26
|
-
/** for color customisation, can specify subset of set */
|
|
27
|
-
color?: V2_ColorSetOptions | undefined;
|
|
28
|
-
textStyle?: V2_TextStyleSetOptionsType | undefined;
|
|
29
|
-
designToken?: V2_DesignTokenSetOptions | undefined;
|
|
30
|
-
}
|
|
31
|
-
export interface V2_ThemeSpec {
|
|
32
|
-
/** Sets the color scheme of the theme */
|
|
33
|
-
[V2_ThemeContextKeys.colorScheme]: V2_ColorScheme;
|
|
34
|
-
/** Sets the text style scheme of the theme */
|
|
35
|
-
[V2_ThemeContextKeys.textStyleScheme]: V2_TextStyleScheme;
|
|
36
|
-
/** Sets the design token scheme of the theme */
|
|
37
|
-
[V2_ThemeContextKeys.designTokenScheme]: V2_DesignTokenScheme;
|
|
38
|
-
/** Sets the layout scheme of the theme */
|
|
39
|
-
[V2_ThemeContextKeys.layout]?: V2_ThemeLayout | undefined;
|
|
40
|
-
/** Sets the resource scheme (e.g. images, text) of the theme */
|
|
41
|
-
[V2_ThemeContextKeys.resourceScheme]: V2_ResourceScheme;
|
|
42
|
-
/** For specific customisations to any schemes */
|
|
43
|
-
options?: V2_ThemeSpecOptions | undefined;
|
|
44
|
-
}
|
|
45
|
-
export interface V2_ThemeCollectionSpec<T, V> {
|
|
46
|
-
collections: T;
|
|
47
|
-
defaultValue: V;
|
|
48
|
-
}
|
package/v2_theme/types.js
DELETED
package/v2_theme/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sources":["../../src/v2_theme/types.ts"],"sourcesContent":["import type { V2_ColorSet, V2_ColorSetOptions } from \"../v2_color/types\";\nimport type {\n V2_DesignTokenSet,\n V2_DesignTokenSetOptions,\n} from \"../v2_design-token/types\";\nimport type {\n V2_TextStyleSetOptionsType,\n V2_TextStyleSetType,\n} from \"../v2_text/types\";\n\nexport type V2_ThemeLayout = \"normal\";\n\n// =============================================================================\n// COLOR THEMES\n// =============================================================================\nexport type V2_ColorScheme =\n | \"base\"\n | \"bookingsg\"\n | \"rbs\"\n | \"mylegacy\"\n | \"ccube\"\n | \"oneservice\";\nexport type V2_ColorCollectionsMap = {\n [key in V2_ColorScheme]: V2_ColorSet;\n};\n\n// =============================================================================\n// FONT STYLE THEMES\n// =============================================================================\nexport type V2_TextStyleScheme = \"base\" | \"oneservice\" | \"plusJakartaSans\";\nexport type V2_FontStyleCollectionsMap = {\n [key in V2_TextStyleScheme]: V2_TextStyleSetType;\n};\n\n// =============================================================================\n// DESIGN TOKEN THEMES\n// =============================================================================\nexport type V2_DesignTokenScheme = \"base\" | \"rbs\";\nexport type V2_DesignTokenCollectionsMap = {\n [key in V2_DesignTokenScheme]: V2_DesignTokenSet;\n};\n\n// =============================================================================\n// RESOURCE THEMES\n// =============================================================================\nexport type V2_ResourceScheme =\n | \"base\"\n | \"bookingsg\"\n | \"rbs\"\n | \"ccube\"\n | \"mylegacy\";\n\n// =============================================================================\n// GENERAL\n// =============================================================================\nexport enum V2_ThemeContextKeys {\n colorScheme = \"colorScheme\",\n layout = \"layout\",\n textStyleScheme = \"textStyleScheme\",\n designTokenScheme = \"designTokenScheme\",\n resourceScheme = \"resourceScheme\",\n}\n\nexport interface V2_ThemeSpecOptions {\n /** for color customisation, can specify subset of set */\n color?: V2_ColorSetOptions | undefined;\n textStyle?: V2_TextStyleSetOptionsType | undefined;\n designToken?: V2_DesignTokenSetOptions | undefined;\n}\n\nexport interface V2_ThemeSpec {\n /** Sets the color scheme of the theme */\n [V2_ThemeContextKeys.colorScheme]: V2_ColorScheme;\n /** Sets the text style scheme of the theme */\n [V2_ThemeContextKeys.textStyleScheme]: V2_TextStyleScheme;\n /** Sets the design token scheme of the theme */\n [V2_ThemeContextKeys.designTokenScheme]: V2_DesignTokenScheme;\n /** Sets the layout scheme of the theme */\n [V2_ThemeContextKeys.layout]?: V2_ThemeLayout | undefined;\n /** Sets the resource scheme (e.g. images, text) of the theme */\n [V2_ThemeContextKeys.resourceScheme]: V2_ResourceScheme;\n /** For specific customisations to any schemes */\n options?: V2_ThemeSpecOptions | undefined;\n}\n\nexport interface V2_ThemeCollectionSpec<T, V> {\n collections: T;\n defaultValue: V;\n}\n"],"names":["V2_ThemeContextKeys"],"mappings":"IAuDYA,GAAZ,SAAYA,GACRA,EAAA,YAAA,cACAA,EAAA,OAAA,SACAA,EAAA,gBAAA,kBACAA,EAAA,kBAAA,oBACAA,EAAA,eAAA,gBACH,CAND,CAAYA,IAAAA,EAAmB,CAAA"}
|
package/v2_transition/index.d.ts
DELETED
package/v2_transition/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/v2_transition/index.ts"],"sourcesContent":["const Base = \"all 300ms cubic-bezier(0.21, 0.79, 0.53, 1)\";\nconst Custom = (duration: number) =>\n `all ${duration}ms cubic-bezier(0.21, 0.79, 0.53, 1)`;\n\n/** @deprecated */\nexport const V2_Transition = {\n Base,\n Custom,\n};\n"],"names":["V2_Transition","Base","Custom","duration"],"mappings":"AAAA,MAKaA,EAAgB,CACzBC,KANS,8CAOTC,OANYC,GACZ,OAAOA"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{V3_ColourSemantic as o}from"../../colour-semantic/theme-helper.js";import{V3_RadiusValues as t}from"../../radius/theme-helper.js";const r={Button:{"button-radius":t.md,"button-default-colour-bg":o["bg-primary"],"button-default-colour-bg-hover":o["bg-primary-hover"],"button-default-colour-text":o["text-inverse"],"button-secondary-colour-border":o["border-primary"],"button-secondary-colour-text":o["text-primary"],"button-light-colour-text":o["text-primary"],"button-link-colour-text":o["text-primary"]},Animation:{"loading-dots-spinner-colour":o["icon-primary"]},Navbar:{"navbar-full-height":"6rem","navbar-full-logo-height":"2rem","navbar-compressed-height":"4rem","navbar-compressed-logo-height":"1.5rem","navbar-mobile-height":"3.5rem","navbar-mobile-logo-height":"1.5rem","navbar-colour-bg":o.bg,"navbar-colour-icon":o.icon,"navbar-link-colour-text":o.text,"navbar-link-colour-text-hover":o["text-hover"],"navbar-link-colour-text-selected-hover":o["text-selected-hover"]},Footer:{"footer-colour-bg":o["bg-strong"],"footer-colour-text":o.text,"footer-link-colour-text":o.text,"footer-link-colour-text-hover":o["text-hover"],"footer-disclaimer-link-colour-text":o.text,"footer-disclaimer-link-colour-text-hover":o["text-subtler"]}};export{r as V3_A11yPlaygroundComponentTokenSet};
|
|
2
|
-
//# sourceMappingURL=a11yplayground-component-token-set.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"a11yplayground-component-token-set.js","sources":["../../../../src/v3_theme/components/specs/a11yplayground-component-token-set.ts"],"sourcesContent":["import { V3_ColourSemantic } from \"../../colour-semantic/theme-helper\";\nimport { V3_RadiusValues } from \"../../radius/theme-helper\";\nimport type { V3_ComponentTokenSet } from \"../types\";\n\nexport const V3_A11yPlaygroundComponentTokenSet: V3_ComponentTokenSet = {\n Button: {\n \"button-radius\": V3_RadiusValues.md,\n \"button-default-colour-bg\": V3_ColourSemantic[\"bg-primary\"],\n \"button-default-colour-bg-hover\": V3_ColourSemantic[\"bg-primary-hover\"],\n \"button-default-colour-text\": V3_ColourSemantic[\"text-inverse\"],\n \"button-secondary-colour-border\": V3_ColourSemantic[\"border-primary\"],\n \"button-secondary-colour-text\": V3_ColourSemantic[\"text-primary\"],\n \"button-light-colour-text\": V3_ColourSemantic[\"text-primary\"],\n \"button-link-colour-text\": V3_ColourSemantic[\"text-primary\"],\n },\n Animation: {\n \"loading-dots-spinner-colour\": V3_ColourSemantic[\"icon-primary\"],\n },\n Navbar: {\n \"navbar-full-height\": \"6rem\",\n \"navbar-full-logo-height\": \"2rem\",\n \"navbar-compressed-height\": \"4rem\",\n \"navbar-compressed-logo-height\": \"1.5rem\",\n \"navbar-mobile-height\": \"3.5rem\",\n \"navbar-mobile-logo-height\": \"1.5rem\",\n \"navbar-colour-bg\": V3_ColourSemantic[\"bg\"],\n \"navbar-colour-icon\": V3_ColourSemantic[\"icon\"],\n \"navbar-link-colour-text\": V3_ColourSemantic[\"text\"],\n \"navbar-link-colour-text-hover\": V3_ColourSemantic[\"text-hover\"],\n \"navbar-link-colour-text-selected-hover\":\n V3_ColourSemantic[\"text-selected-hover\"],\n },\n Footer: {\n \"footer-colour-bg\": V3_ColourSemantic[\"bg-strong\"],\n \"footer-colour-text\": V3_ColourSemantic[\"text\"],\n \"footer-link-colour-text\": V3_ColourSemantic[\"text\"],\n \"footer-link-colour-text-hover\": V3_ColourSemantic[\"text-hover\"],\n \"footer-disclaimer-link-colour-text\": V3_ColourSemantic[\"text\"],\n \"footer-disclaimer-link-colour-text-hover\":\n V3_ColourSemantic[\"text-subtler\"],\n },\n};\n"],"names":["V3_A11yPlaygroundComponentTokenSet","Button","V3_RadiusValues","md","V3_ColourSemantic","Animation","Navbar","Footer"],"mappings":"yIAIO,MAAMA,EAA2D,CACpEC,OAAQ,CACJ,gBAAiBC,EAAgBC,GACjC,2BAA4BC,EAAkB,cAC9C,iCAAkCA,EAAkB,oBACpD,6BAA8BA,EAAkB,gBAChD,iCAAkCA,EAAkB,kBACpD,+BAAgCA,EAAkB,gBAClD,2BAA4BA,EAAkB,gBAC9C,0BAA2BA,EAAkB,iBAEjDC,UAAW,CACP,8BAA+BD,EAAkB,iBAErDE,OAAQ,CACJ,qBAAsB,OACtB,0BAA2B,OAC3B,2BAA4B,OAC5B,gCAAiC,SACjC,uBAAwB,SACxB,4BAA6B,SAC7B,mBAAoBF,EAAsB,GAC1C,qBAAsBA,EAAwB,KAC9C,0BAA2BA,EAAwB,KACnD,gCAAiCA,EAAkB,cACnD,yCACIA,EAAkB,wBAE1BG,OAAQ,CACJ,mBAAoBH,EAAkB,aACtC,qBAAsBA,EAAwB,KAC9C,0BAA2BA,EAAwB,KACnD,gCAAiCA,EAAkB,cACnD,qCAAsCA,EAAwB,KAC9D,2CACIA,EAAkB"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{V3_ColourSemantic as o}from"../../colour-semantic/theme-helper.js";import{V3_RadiusValues as t}from"../../radius/theme-helper.js";const r={Button:{"button-radius":t.sm,"button-default-colour-bg":o["bg-primary"],"button-default-colour-bg-hover":o["bg-primary-hover"],"button-default-colour-text":o["text-inverse"],"button-secondary-colour-border":o["border-primary"],"button-secondary-colour-text":o["text-primary"],"button-light-colour-text":o["text-primary"],"button-link-colour-text":o["text-primary"]},Animation:{"loading-dots-spinner-colour":o["icon-primary"]},Navbar:{"navbar-full-height":"6rem","navbar-full-logo-height":"2rem","navbar-compressed-height":"4rem","navbar-compressed-logo-height":"1.5rem","navbar-mobile-height":"3.5rem","navbar-mobile-logo-height":"1.5rem","navbar-colour-bg":o.bg,"navbar-colour-icon":o.icon,"navbar-link-colour-text":o.text,"navbar-link-colour-text-hover":o["text-hover"],"navbar-link-colour-text-selected-hover":o["text-selected-hover"]},Footer:{"footer-colour-bg":o["bg-strong"],"footer-colour-text":o.text,"footer-link-colour-text":o.text,"footer-link-colour-text-hover":o["text-hover"],"footer-disclaimer-link-colour-text":o.text,"footer-disclaimer-link-colour-text-hover":o["text-subtler"]}};export{r as V3_DefaultComponentTokenSet};
|
|
2
|
-
//# sourceMappingURL=default-component-token-set.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"default-component-token-set.js","sources":["../../../../src/v3_theme/components/specs/default-component-token-set.ts"],"sourcesContent":["import { V3_ColourSemantic } from \"../../colour-semantic/theme-helper\";\nimport { V3_RadiusValues } from \"../../radius/theme-helper\";\nimport type { V3_ComponentTokenSet } from \"../types\";\n\nexport const V3_DefaultComponentTokenSet: V3_ComponentTokenSet = {\n Button: {\n \"button-radius\": V3_RadiusValues.sm,\n \"button-default-colour-bg\": V3_ColourSemantic[\"bg-primary\"],\n \"button-default-colour-bg-hover\": V3_ColourSemantic[\"bg-primary-hover\"],\n \"button-default-colour-text\": V3_ColourSemantic[\"text-inverse\"],\n \"button-secondary-colour-border\": V3_ColourSemantic[\"border-primary\"],\n \"button-secondary-colour-text\": V3_ColourSemantic[\"text-primary\"],\n \"button-light-colour-text\": V3_ColourSemantic[\"text-primary\"],\n \"button-link-colour-text\": V3_ColourSemantic[\"text-primary\"],\n },\n Animation: {\n \"loading-dots-spinner-colour\": V3_ColourSemantic[\"icon-primary\"],\n },\n Navbar: {\n \"navbar-full-height\": \"6rem\",\n \"navbar-full-logo-height\": \"2rem\",\n \"navbar-compressed-height\": \"4rem\",\n \"navbar-compressed-logo-height\": \"1.5rem\",\n \"navbar-mobile-height\": \"3.5rem\",\n \"navbar-mobile-logo-height\": \"1.5rem\",\n \"navbar-colour-bg\": V3_ColourSemantic[\"bg\"],\n \"navbar-colour-icon\": V3_ColourSemantic[\"icon\"],\n \"navbar-link-colour-text\": V3_ColourSemantic[\"text\"],\n \"navbar-link-colour-text-hover\": V3_ColourSemantic[\"text-hover\"],\n \"navbar-link-colour-text-selected-hover\":\n V3_ColourSemantic[\"text-selected-hover\"],\n },\n Footer: {\n \"footer-colour-bg\": V3_ColourSemantic[\"bg-strong\"],\n \"footer-colour-text\": V3_ColourSemantic[\"text\"],\n \"footer-link-colour-text\": V3_ColourSemantic[\"text\"],\n \"footer-link-colour-text-hover\": V3_ColourSemantic[\"text-hover\"],\n \"footer-disclaimer-link-colour-text\": V3_ColourSemantic[\"text\"],\n \"footer-disclaimer-link-colour-text-hover\":\n V3_ColourSemantic[\"text-subtler\"],\n },\n};\n"],"names":["V3_DefaultComponentTokenSet","Button","V3_RadiusValues","sm","V3_ColourSemantic","Animation","Navbar","Footer"],"mappings":"yIAIO,MAAMA,EAAoD,CAC7DC,OAAQ,CACJ,gBAAiBC,EAAgBC,GACjC,2BAA4BC,EAAkB,cAC9C,iCAAkCA,EAAkB,oBACpD,6BAA8BA,EAAkB,gBAChD,iCAAkCA,EAAkB,kBACpD,+BAAgCA,EAAkB,gBAClD,2BAA4BA,EAAkB,gBAC9C,0BAA2BA,EAAkB,iBAEjDC,UAAW,CACP,8BAA+BD,EAAkB,iBAErDE,OAAQ,CACJ,qBAAsB,OACtB,0BAA2B,OAC3B,2BAA4B,OAC5B,gCAAiC,SACjC,uBAAwB,SACxB,4BAA6B,SAC7B,mBAAoBF,EAAsB,GAC1C,qBAAsBA,EAAwB,KAC9C,0BAA2BA,EAAwB,KACnD,gCAAiCA,EAAkB,cACnD,yCACIA,EAAkB,wBAE1BG,OAAQ,CACJ,mBAAoBH,EAAkB,aACtC,qBAAsBA,EAAwB,KAC9C,0BAA2BA,EAAwB,KACnD,gCAAiCA,EAAkB,cACnD,qCAAsCA,EAAwB,KAC9D,2CACIA,EAAkB"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{V3_PrimitiveColour as o}from"../../colour-primitive/theme-helper.js";import{V3_ColourSemantic as t}from"../../colour-semantic/theme-helper.js";import{V3_RadiusValues as r}from"../../radius/theme-helper.js";const e={Button:{"button-radius":r.sm,"button-default-colour-bg":t["bg-primary"],"button-default-colour-bg-hover":t["bg-primary-hover"],"button-default-colour-text":t["text-inverse"],"button-secondary-colour-border":t["border-primary"],"button-secondary-colour-text":t["text-primary"],"button-light-colour-text":t["text-primary"],"button-link-colour-text":t["text-primary"]},Animation:{"loading-dots-spinner-colour":o["brand-50"]},Navbar:{"navbar-full-height":"6rem","navbar-full-logo-height":"2rem","navbar-compressed-height":"4rem","navbar-compressed-logo-height":"1.5rem","navbar-mobile-height":"3.5rem","navbar-mobile-logo-height":"1.5rem","navbar-colour-bg":t.bg,"navbar-colour-icon":t.icon,"navbar-link-colour-text":t.text,"navbar-link-colour-text-hover":t["text-hover"],"navbar-link-colour-text-selected-hover":t["text-selected-hover"]},Footer:{"footer-colour-bg":t["bg-strong"],"footer-colour-text":t.text,"footer-link-colour-text":t.text,"footer-link-colour-text-hover":t["text-hover"],"footer-disclaimer-link-colour-text":t.text,"footer-disclaimer-link-colour-text-hover":t["text-subtler"]}};export{e as V3_LifeSGComponentTokenSet};
|
|
2
|
-
//# sourceMappingURL=lifesg-component-token-set.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lifesg-component-token-set.js","sources":["../../../../src/v3_theme/components/specs/lifesg-component-token-set.ts"],"sourcesContent":["import { V3_PrimitiveColour } from \"../../colour-primitive/theme-helper\";\nimport { V3_ColourSemantic } from \"../../colour-semantic/theme-helper\";\nimport { V3_RadiusValues } from \"../../radius/theme-helper\";\nimport type { V3_ComponentTokenSet } from \"../types\";\n\nexport const V3_LifeSGComponentTokenSet: V3_ComponentTokenSet = {\n Button: {\n \"button-radius\": V3_RadiusValues.sm,\n \"button-default-colour-bg\": V3_ColourSemantic[\"bg-primary\"],\n \"button-default-colour-bg-hover\": V3_ColourSemantic[\"bg-primary-hover\"],\n \"button-default-colour-text\": V3_ColourSemantic[\"text-inverse\"],\n \"button-secondary-colour-border\": V3_ColourSemantic[\"border-primary\"],\n \"button-secondary-colour-text\": V3_ColourSemantic[\"text-primary\"],\n \"button-light-colour-text\": V3_ColourSemantic[\"text-primary\"],\n \"button-link-colour-text\": V3_ColourSemantic[\"text-primary\"],\n },\n Animation: {\n \"loading-dots-spinner-colour\": V3_PrimitiveColour[\"brand-50\"],\n },\n Navbar: {\n \"navbar-full-height\": \"6rem\",\n \"navbar-full-logo-height\": \"2rem\",\n \"navbar-compressed-height\": \"4rem\",\n \"navbar-compressed-logo-height\": \"1.5rem\",\n \"navbar-mobile-height\": \"3.5rem\",\n \"navbar-mobile-logo-height\": \"1.5rem\",\n \"navbar-colour-bg\": V3_ColourSemantic[\"bg\"],\n \"navbar-colour-icon\": V3_ColourSemantic[\"icon\"],\n \"navbar-link-colour-text\": V3_ColourSemantic[\"text\"],\n \"navbar-link-colour-text-hover\": V3_ColourSemantic[\"text-hover\"],\n \"navbar-link-colour-text-selected-hover\":\n V3_ColourSemantic[\"text-selected-hover\"],\n },\n Footer: {\n \"footer-colour-bg\": V3_ColourSemantic[\"bg-strong\"],\n \"footer-colour-text\": V3_ColourSemantic[\"text\"],\n \"footer-link-colour-text\": V3_ColourSemantic[\"text\"],\n \"footer-link-colour-text-hover\": V3_ColourSemantic[\"text-hover\"],\n \"footer-disclaimer-link-colour-text\": V3_ColourSemantic[\"text\"],\n \"footer-disclaimer-link-colour-text-hover\":\n V3_ColourSemantic[\"text-subtler\"],\n },\n};\n"],"names":["V3_LifeSGComponentTokenSet","Button","V3_RadiusValues","sm","V3_ColourSemantic","Animation","V3_PrimitiveColour","Navbar","Footer"],"mappings":"qNAKO,MAAMA,EAAmD,CAC5DC,OAAQ,CACJ,gBAAiBC,EAAgBC,GACjC,2BAA4BC,EAAkB,cAC9C,iCAAkCA,EAAkB,oBACpD,6BAA8BA,EAAkB,gBAChD,iCAAkCA,EAAkB,kBACpD,+BAAgCA,EAAkB,gBAClD,2BAA4BA,EAAkB,gBAC9C,0BAA2BA,EAAkB,iBAEjDC,UAAW,CACP,8BAA+BC,EAAmB,aAEtDC,OAAQ,CACJ,qBAAsB,OACtB,0BAA2B,OAC3B,2BAA4B,OAC5B,gCAAiC,SACjC,uBAAwB,SACxB,4BAA6B,SAC7B,mBAAoBH,EAAsB,GAC1C,qBAAsBA,EAAwB,KAC9C,0BAA2BA,EAAwB,KACnD,gCAAiCA,EAAkB,cACnD,yCACIA,EAAkB,wBAE1BI,OAAQ,CACJ,mBAAoBJ,EAAkB,aACtC,qBAAsBA,EAAwB,KAC9C,0BAA2BA,EAAwB,KACnD,gCAAiCA,EAAkB,cACnD,qCAAsCA,EAAwB,KAC9D,2CACIA,EAAkB"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{V3_ColourSemantic as o}from"../../colour-semantic/theme-helper.js";import{V3_RadiusValues as t}from"../../radius/theme-helper.js";const r={Button:{"button-radius":t.full,"button-default-colour-bg":o["bg-primary"],"button-default-colour-bg-hover":o["bg-primary-hover"],"button-default-colour-text":o["text-inverse"],"button-secondary-colour-border":o["border-primary"],"button-secondary-colour-text":o["text-primary"],"button-light-colour-text":o["text-primary"],"button-link-colour-text":o["text-primary"]},Animation:{"loading-dots-spinner-colour":o["icon-primary"]},Navbar:{"navbar-full-height":"6rem","navbar-full-logo-height":"2rem","navbar-compressed-height":"4rem","navbar-compressed-logo-height":"1.5rem","navbar-mobile-height":"3.5rem","navbar-mobile-logo-height":"1.5rem","navbar-colour-bg":o.bg,"navbar-colour-icon":o.icon,"navbar-link-colour-text":o.text,"navbar-link-colour-text-hover":o["text-hover"],"navbar-link-colour-text-selected-hover":o["text-selected-hover"]},Footer:{"footer-colour-bg":o["bg-strong"],"footer-colour-text":o.text,"footer-link-colour-text":o.text,"footer-link-colour-text-hover":o["text-hover"],"footer-disclaimer-link-colour-text":o.text,"footer-disclaimer-link-colour-text-hover":o["text-subtler"]}};export{r as V3_PAComponentTokenSet};
|
|
2
|
-
//# sourceMappingURL=pa-component-token-set.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pa-component-token-set.js","sources":["../../../../src/v3_theme/components/specs/pa-component-token-set.ts"],"sourcesContent":["import { V3_ColourSemantic } from \"../../colour-semantic/theme-helper\";\nimport { V3_RadiusValues } from \"../../radius/theme-helper\";\nimport type { V3_ComponentTokenSet } from \"../types\";\n\nexport const V3_PAComponentTokenSet: V3_ComponentTokenSet = {\n Button: {\n \"button-radius\": V3_RadiusValues.full,\n \"button-default-colour-bg\": V3_ColourSemantic[\"bg-primary\"],\n \"button-default-colour-bg-hover\": V3_ColourSemantic[\"bg-primary-hover\"],\n \"button-default-colour-text\": V3_ColourSemantic[\"text-inverse\"],\n \"button-secondary-colour-border\": V3_ColourSemantic[\"border-primary\"],\n \"button-secondary-colour-text\": V3_ColourSemantic[\"text-primary\"],\n \"button-light-colour-text\": V3_ColourSemantic[\"text-primary\"],\n \"button-link-colour-text\": V3_ColourSemantic[\"text-primary\"],\n },\n Animation: {\n \"loading-dots-spinner-colour\": V3_ColourSemantic[\"icon-primary\"],\n },\n Navbar: {\n \"navbar-full-height\": \"6rem\",\n \"navbar-full-logo-height\": \"2rem\",\n \"navbar-compressed-height\": \"4rem\",\n \"navbar-compressed-logo-height\": \"1.5rem\",\n \"navbar-mobile-height\": \"3.5rem\",\n \"navbar-mobile-logo-height\": \"1.5rem\",\n \"navbar-colour-bg\": V3_ColourSemantic[\"bg\"],\n \"navbar-colour-icon\": V3_ColourSemantic[\"icon\"],\n \"navbar-link-colour-text\": V3_ColourSemantic[\"text\"],\n \"navbar-link-colour-text-hover\": V3_ColourSemantic[\"text-hover\"],\n \"navbar-link-colour-text-selected-hover\":\n V3_ColourSemantic[\"text-selected-hover\"],\n },\n Footer: {\n \"footer-colour-bg\": V3_ColourSemantic[\"bg-strong\"],\n \"footer-colour-text\": V3_ColourSemantic[\"text\"],\n \"footer-link-colour-text\": V3_ColourSemantic[\"text\"],\n \"footer-link-colour-text-hover\": V3_ColourSemantic[\"text-hover\"],\n \"footer-disclaimer-link-colour-text\": V3_ColourSemantic[\"text\"],\n \"footer-disclaimer-link-colour-text-hover\":\n V3_ColourSemantic[\"text-subtler\"],\n },\n};\n"],"names":["V3_PAComponentTokenSet","Button","V3_RadiusValues","full","V3_ColourSemantic","Animation","Navbar","Footer"],"mappings":"yIAIO,MAAMA,EAA+C,CACxDC,OAAQ,CACJ,gBAAiBC,EAAgBC,KACjC,2BAA4BC,EAAkB,cAC9C,iCAAkCA,EAAkB,oBACpD,6BAA8BA,EAAkB,gBAChD,iCAAkCA,EAAkB,kBACpD,+BAAgCA,EAAkB,gBAClD,2BAA4BA,EAAkB,gBAC9C,0BAA2BA,EAAkB,iBAEjDC,UAAW,CACP,8BAA+BD,EAAkB,iBAErDE,OAAQ,CACJ,qBAAsB,OACtB,0BAA2B,OAC3B,2BAA4B,OAC5B,gCAAiC,SACjC,uBAAwB,SACxB,4BAA6B,SAC7B,mBAAoBF,EAAsB,GAC1C,qBAAsBA,EAAwB,KAC9C,0BAA2BA,EAAwB,KACnD,gCAAiCA,EAAkB,cACnD,yCACIA,EAAkB,wBAE1BG,OAAQ,CACJ,mBAAoBH,EAAkB,aACtC,qBAAsBA,EAAwB,KAC9C,0BAA2BA,EAAwB,KACnD,gCAAiCA,EAAkB,cACnD,qCAAsCA,EAAwB,KAC9D,2CACIA,EAAkB"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{V3_ColourSemantic as o}from"../../colour-semantic/theme-helper.js";import{V3_RadiusValues as t}from"../../radius/theme-helper.js";const r={Button:{"button-radius":t.md,"button-default-colour-bg":o["bg-primary"],"button-default-colour-bg-hover":o["bg-primary-hover"],"button-default-colour-text":o["text-inverse"],"button-secondary-colour-border":o["border-primary"],"button-secondary-colour-text":o["text-primary"],"button-light-colour-text":o["text-primary"],"button-link-colour-text":o["text-primary"]},Animation:{"loading-dots-spinner-colour":o["icon-primary"]},Navbar:{"navbar-full-height":"6rem","navbar-full-logo-height":"2rem","navbar-compressed-height":"4rem","navbar-compressed-logo-height":"1.5rem","navbar-mobile-height":"3.5rem","navbar-mobile-logo-height":"1.5rem","navbar-colour-bg":o.bg,"navbar-colour-icon":o.icon,"navbar-link-colour-text":o.text,"navbar-link-colour-text-hover":o["text-hover"],"navbar-link-colour-text-selected-hover":o["text-selected-hover"]},Footer:{"footer-colour-bg":o["bg-strong"],"footer-colour-text":o.text,"footer-link-colour-text":o.text,"footer-link-colour-text-hover":o["text-hover"],"footer-disclaimer-link-colour-text":o.text,"footer-disclaimer-link-colour-text-hover":o["text-subtler"]}};export{r as V3_SMGSComponentTokenSet};
|
|
2
|
-
//# sourceMappingURL=smgs-component-token-set.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"smgs-component-token-set.js","sources":["../../../../src/v3_theme/components/specs/smgs-component-token-set.ts"],"sourcesContent":["import { V3_ColourSemantic } from \"../../colour-semantic/theme-helper\";\nimport { V3_RadiusValues } from \"../../radius/theme-helper\";\nimport type { V3_ComponentTokenSet } from \"../types\";\n\nexport const V3_SMGSComponentTokenSet: V3_ComponentTokenSet = {\n Button: {\n \"button-radius\": V3_RadiusValues.md,\n \"button-default-colour-bg\": V3_ColourSemantic[\"bg-primary\"],\n \"button-default-colour-bg-hover\": V3_ColourSemantic[\"bg-primary-hover\"],\n \"button-default-colour-text\": V3_ColourSemantic[\"text-inverse\"],\n \"button-secondary-colour-border\": V3_ColourSemantic[\"border-primary\"],\n \"button-secondary-colour-text\": V3_ColourSemantic[\"text-primary\"],\n \"button-light-colour-text\": V3_ColourSemantic[\"text-primary\"],\n \"button-link-colour-text\": V3_ColourSemantic[\"text-primary\"],\n },\n Animation: {\n \"loading-dots-spinner-colour\": V3_ColourSemantic[\"icon-primary\"],\n },\n Navbar: {\n \"navbar-full-height\": \"6rem\",\n \"navbar-full-logo-height\": \"2rem\",\n \"navbar-compressed-height\": \"4rem\",\n \"navbar-compressed-logo-height\": \"1.5rem\",\n \"navbar-mobile-height\": \"3.5rem\",\n \"navbar-mobile-logo-height\": \"1.5rem\",\n \"navbar-colour-bg\": V3_ColourSemantic[\"bg\"],\n \"navbar-colour-icon\": V3_ColourSemantic[\"icon\"],\n \"navbar-link-colour-text\": V3_ColourSemantic[\"text\"],\n \"navbar-link-colour-text-hover\": V3_ColourSemantic[\"text-hover\"],\n \"navbar-link-colour-text-selected-hover\":\n V3_ColourSemantic[\"text-selected-hover\"],\n },\n Footer: {\n \"footer-colour-bg\": V3_ColourSemantic[\"bg-strong\"],\n \"footer-colour-text\": V3_ColourSemantic[\"text\"],\n \"footer-link-colour-text\": V3_ColourSemantic[\"text\"],\n \"footer-link-colour-text-hover\": V3_ColourSemantic[\"text-hover\"],\n \"footer-disclaimer-link-colour-text\": V3_ColourSemantic[\"text\"],\n \"footer-disclaimer-link-colour-text-hover\":\n V3_ColourSemantic[\"text-subtler\"],\n },\n};\n"],"names":["V3_SMGSComponentTokenSet","Button","V3_RadiusValues","md","V3_ColourSemantic","Animation","Navbar","Footer"],"mappings":"yIAIO,MAAMA,EAAiD,CAC1DC,OAAQ,CACJ,gBAAiBC,EAAgBC,GACjC,2BAA4BC,EAAkB,cAC9C,iCAAkCA,EAAkB,oBACpD,6BAA8BA,EAAkB,gBAChD,iCAAkCA,EAAkB,kBACpD,+BAAgCA,EAAkB,gBAClD,2BAA4BA,EAAkB,gBAC9C,0BAA2BA,EAAkB,iBAEjDC,UAAW,CACP,8BAA+BD,EAAkB,iBAErDE,OAAQ,CACJ,qBAAsB,OACtB,0BAA2B,OAC3B,2BAA4B,OAC5B,gCAAiC,SACjC,uBAAwB,SACxB,4BAA6B,SAC7B,mBAAoBF,EAAsB,GAC1C,qBAAsBA,EAAwB,KAC9C,0BAA2BA,EAAwB,KACnD,gCAAiCA,EAAkB,cACnD,yCACIA,EAAkB,wBAE1BG,OAAQ,CACJ,mBAAoBH,EAAkB,aACtC,qBAAsBA,EAAwB,KAC9C,0BAA2BA,EAAwB,KACnD,gCAAiCA,EAAkB,cACnD,qCAAsCA,EAAwB,KAC9D,2CACIA,EAAkB"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{V3_ColourSemantic as r}from"../../colour-semantic/theme-helper.js";import{V3_RadiusValues as t}from"../../radius/theme-helper.js";const o={Button:{"button-radius":t.md,"button-default-colour-bg":r["bg-primary"],"button-default-colour-bg-hover":r["bg-primary-hover"],"button-default-colour-text":r["text-inverse"],"button-secondary-colour-border":r["border-primary"],"button-secondary-colour-text":r["text-primary"],"button-light-colour-text":r["text-primary"],"button-link-colour-text":r["text-primary"]},Animation:{"loading-dots-spinner-colour":r["icon-primary"]},Navbar:{"navbar-full-height":"6rem","navbar-full-logo-height":"3rem","navbar-compressed-height":"5rem","navbar-compressed-logo-height":"2rem","navbar-mobile-height":"4rem","navbar-mobile-logo-height":"2rem","navbar-colour-bg":r.bg,"navbar-colour-icon":r.icon,"navbar-link-colour-text":r["text-primary-strongest"],"navbar-link-colour-text-hover":r["text-subtler"],"navbar-link-colour-text-selected-hover":r["text-subtler"]},Footer:{"footer-colour-bg":r["bg-inverse"],"footer-colour-text":r["text-inverse"],"footer-link-colour-text":r["text-inverse"],"footer-link-colour-text-hover":r["text-inverse"],"footer-disclaimer-link-colour-text":r["text-inverse"],"footer-disclaimer-link-colour-text-hover":r["text-inverse"]}};export{o as V3_SPFComponentTokenSet};
|
|
2
|
-
//# sourceMappingURL=spf-component-token-set.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spf-component-token-set.js","sources":["../../../../src/v3_theme/components/specs/spf-component-token-set.ts"],"sourcesContent":["import { V3_ColourSemantic } from \"../../colour-semantic/theme-helper\";\nimport { V3_RadiusValues } from \"../../radius/theme-helper\";\nimport type { V3_ComponentTokenSet } from \"../types\";\n\nexport const V3_SPFComponentTokenSet: V3_ComponentTokenSet = {\n Button: {\n \"button-radius\": V3_RadiusValues.md,\n \"button-default-colour-bg\": V3_ColourSemantic[\"bg-primary\"],\n \"button-default-colour-bg-hover\": V3_ColourSemantic[\"bg-primary-hover\"],\n \"button-default-colour-text\": V3_ColourSemantic[\"text-inverse\"],\n \"button-secondary-colour-border\": V3_ColourSemantic[\"border-primary\"],\n \"button-secondary-colour-text\": V3_ColourSemantic[\"text-primary\"],\n \"button-light-colour-text\": V3_ColourSemantic[\"text-primary\"],\n \"button-link-colour-text\": V3_ColourSemantic[\"text-primary\"],\n },\n Animation: {\n \"loading-dots-spinner-colour\": V3_ColourSemantic[\"icon-primary\"],\n },\n Navbar: {\n \"navbar-full-height\": \"6rem\",\n \"navbar-full-logo-height\": \"3rem\",\n \"navbar-compressed-height\": \"5rem\",\n \"navbar-compressed-logo-height\": \"2rem\",\n \"navbar-mobile-height\": \"4rem\",\n \"navbar-mobile-logo-height\": \"2rem\",\n \"navbar-colour-bg\": V3_ColourSemantic[\"bg\"],\n \"navbar-colour-icon\": V3_ColourSemantic[\"icon\"],\n \"navbar-link-colour-text\": V3_ColourSemantic[\"text-primary-strongest\"],\n \"navbar-link-colour-text-hover\": V3_ColourSemantic[\"text-subtler\"],\n \"navbar-link-colour-text-selected-hover\":\n V3_ColourSemantic[\"text-subtler\"],\n },\n Footer: {\n \"footer-colour-bg\": V3_ColourSemantic[\"bg-inverse\"],\n \"footer-colour-text\": V3_ColourSemantic[\"text-inverse\"],\n \"footer-link-colour-text\": V3_ColourSemantic[\"text-inverse\"],\n \"footer-link-colour-text-hover\": V3_ColourSemantic[\"text-inverse\"],\n \"footer-disclaimer-link-colour-text\": V3_ColourSemantic[\"text-inverse\"],\n \"footer-disclaimer-link-colour-text-hover\":\n V3_ColourSemantic[\"text-inverse\"],\n },\n};\n"],"names":["V3_SPFComponentTokenSet","Button","V3_RadiusValues","md","V3_ColourSemantic","Animation","Navbar","Footer"],"mappings":"yIAIO,MAAMA,EAAgD,CACzDC,OAAQ,CACJ,gBAAiBC,EAAgBC,GACjC,2BAA4BC,EAAkB,cAC9C,iCAAkCA,EAAkB,oBACpD,6BAA8BA,EAAkB,gBAChD,iCAAkCA,EAAkB,kBACpD,+BAAgCA,EAAkB,gBAClD,2BAA4BA,EAAkB,gBAC9C,0BAA2BA,EAAkB,iBAEjDC,UAAW,CACP,8BAA+BD,EAAkB,iBAErDE,OAAQ,CACJ,qBAAsB,OACtB,0BAA2B,OAC3B,2BAA4B,OAC5B,gCAAiC,OACjC,uBAAwB,OACxB,4BAA6B,OAC7B,mBAAoBF,EAAsB,GAC1C,qBAAsBA,EAAwB,KAC9C,0BAA2BA,EAAkB,0BAC7C,gCAAiCA,EAAkB,gBACnD,yCACIA,EAAkB,iBAE1BG,OAAQ,CACJ,mBAAoBH,EAAkB,cACtC,qBAAsBA,EAAkB,gBACxC,0BAA2BA,EAAkB,gBAC7C,gCAAiCA,EAAkB,gBACnD,qCAAsCA,EAAkB,gBACxD,2CACIA,EAAkB"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{getCollection as o}from"../helpers.js";import{V3_A11yPlaygroundComponentTokenSet as e}from"./specs/a11yplayground-component-token-set.js";import{V3_DefaultComponentTokenSet as r}from"./specs/default-component-token-set.js";import{V3_LifeSGComponentTokenSet as a}from"./specs/lifesg-component-token-set.js";import{V3_PAComponentTokenSet as t}from"./specs/pa-component-token-set.js";import{V3_SMGSComponentTokenSet as n}from"./specs/smgs-component-token-set.js";import{V3_SPFComponentTokenSet as l}from"./specs/spf-component-token-set.js";const s={collections:{default:r,pa:t,a11yplayground:e,lifesg:a,spf:l,smgs:n},defaultValue:"default"},v=(e,r)=>a=>{var t,n;const l=a.theme,v=o(s,null==l?void 0:l.componentScheme),c=(null===(n=null===(t=null==l?void 0:l.componentOverrides)||void 0===t?void 0:t[e])||void 0===n?void 0:n[r])||v[e][r];return i(c,a)},i=(o,e)=>{switch(typeof o){case"function":return o(e);case"number":return o+"px";case"string":return o}},c={"navbar-full-height":v("Navbar","navbar-full-height"),"navbar-full-logo-height":v("Navbar","navbar-full-logo-height"),"navbar-compressed-height":v("Navbar","navbar-compressed-height"),"navbar-compressed-logo-height":v("Navbar","navbar-compressed-logo-height"),"navbar-mobile-height":v("Navbar","navbar-mobile-height"),"navbar-mobile-logo-height":v("Navbar","navbar-mobile-logo-height"),"navbar-colour-bg":v("Navbar","navbar-colour-bg"),"navbar-colour-icon":v("Navbar","navbar-colour-icon"),"navbar-link-colour-text":v("Navbar","navbar-link-colour-text"),"navbar-link-colour-text-hover":v("Navbar","navbar-link-colour-text-hover"),"navbar-link-colour-text-selected-hover":v("Navbar","navbar-link-colour-text-selected-hover")};export{c as V3_ThemeNavbar,v as getComponentTokenValue,i as getTokenValue};
|
|
2
|
-
//# sourceMappingURL=theme-helper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theme-helper.js","sources":["../../../src/v3_theme/components/theme-helper.ts"],"sourcesContent":["import type { V3_StyledComponentProps } from \"../helpers\";\nimport { getCollection } from \"../helpers\";\nimport type { V3_ThemeStyleProps } from \"../types\";\nimport { V3_A11yPlaygroundComponentTokenSet } from \"./specs/a11yplayground-component-token-set\";\nimport { V3_DefaultComponentTokenSet } from \"./specs/default-component-token-set\";\nimport { V3_LifeSGComponentTokenSet } from \"./specs/lifesg-component-token-set\";\nimport { V3_PAComponentTokenSet } from \"./specs/pa-component-token-set\";\nimport { V3_SMGSComponentTokenSet } from \"./specs/smgs-component-token-set\";\nimport { V3_SPFComponentTokenSet } from \"./specs/spf-component-token-set\";\nimport type {\n V3_AnimationTokens,\n V3_ButtonTokens,\n V3_ComponentTokenSet,\n V3_FooterTokens,\n V3_NavbarTokens,\n} from \"./types\";\n\nconst V3_ComponentTokenSpec = {\n collections: {\n default: V3_DefaultComponentTokenSet,\n pa: V3_PAComponentTokenSet,\n a11yplayground: V3_A11yPlaygroundComponentTokenSet,\n lifesg: V3_LifeSGComponentTokenSet,\n spf: V3_SPFComponentTokenSet,\n smgs: V3_SMGSComponentTokenSet,\n },\n defaultValue: \"default\",\n};\n\nexport const getComponentTokenValue = <\n Component extends keyof V3_ComponentTokenSet,\n Token extends keyof V3_ComponentTokenSet[Component]\n>(\n component: Component,\n token: Token\n) => {\n return (props: V3_StyledComponentProps): string => {\n const theme = props.theme;\n const components: V3_ComponentTokenSet = getCollection(\n V3_ComponentTokenSpec,\n theme?.componentScheme\n );\n\n const componentToken: V3_ComponentTokenSet[Component][Token] =\n theme?.componentOverrides?.[component]?.[token] ||\n components[component][token];\n return getTokenValue(componentToken, props);\n };\n};\n\nexport const getTokenValue = <\n Component extends keyof V3_ComponentTokenSet,\n Token extends keyof V3_ComponentTokenSet[Component]\n>(\n token: V3_ComponentTokenSet[Component][Token],\n props: V3_ThemeStyleProps\n) => {\n switch (typeof token) {\n case \"function\":\n return token(props);\n case \"number\":\n return token + \"px\";\n case \"string\":\n return token;\n }\n};\n\nexport const V3_ThemeButton: {\n [key in keyof V3_ButtonTokens]: (props: V3_StyledComponentProps) => string;\n} = {\n \"button-radius\": getComponentTokenValue(\"Button\", \"button-radius\"),\n \"button-default-colour-bg\": getComponentTokenValue(\n \"Button\",\n \"button-default-colour-bg\"\n ),\n \"button-default-colour-bg-hover\": getComponentTokenValue(\n \"Button\",\n \"button-default-colour-bg-hover\"\n ),\n \"button-default-colour-text\": getComponentTokenValue(\n \"Button\",\n \"button-default-colour-text\"\n ),\n \"button-secondary-colour-border\": getComponentTokenValue(\n \"Button\",\n \"button-secondary-colour-border\"\n ),\n \"button-secondary-colour-text\": getComponentTokenValue(\n \"Button\",\n \"button-secondary-colour-text\"\n ),\n \"button-light-colour-text\": getComponentTokenValue(\n \"Button\",\n \"button-light-colour-text\"\n ),\n \"button-link-colour-text\": getComponentTokenValue(\n \"Button\",\n \"button-link-colour-text\"\n ),\n};\n\nexport const V3_ThemeAnimation: {\n [key in keyof V3_AnimationTokens]: (\n props: V3_StyledComponentProps\n ) => string;\n} = {\n \"loading-dots-spinner-colour\": getComponentTokenValue(\n \"Animation\",\n \"loading-dots-spinner-colour\"\n ),\n};\n\nexport const V3_ThemeNavbar: {\n [key in keyof V3_NavbarTokens]: (props: V3_StyledComponentProps) => string;\n} = {\n \"navbar-full-height\": getComponentTokenValue(\n \"Navbar\",\n \"navbar-full-height\"\n ),\n \"navbar-full-logo-height\": getComponentTokenValue(\n \"Navbar\",\n \"navbar-full-logo-height\"\n ),\n \"navbar-compressed-height\": getComponentTokenValue(\n \"Navbar\",\n \"navbar-compressed-height\"\n ),\n \"navbar-compressed-logo-height\": getComponentTokenValue(\n \"Navbar\",\n \"navbar-compressed-logo-height\"\n ),\n \"navbar-mobile-height\": getComponentTokenValue(\n \"Navbar\",\n \"navbar-mobile-height\"\n ),\n \"navbar-mobile-logo-height\": getComponentTokenValue(\n \"Navbar\",\n \"navbar-mobile-logo-height\"\n ),\n \"navbar-colour-bg\": getComponentTokenValue(\"Navbar\", \"navbar-colour-bg\"),\n \"navbar-colour-icon\": getComponentTokenValue(\n \"Navbar\",\n \"navbar-colour-icon\"\n ),\n \"navbar-link-colour-text\": getComponentTokenValue(\n \"Navbar\",\n \"navbar-link-colour-text\"\n ),\n \"navbar-link-colour-text-hover\": getComponentTokenValue(\n \"Navbar\",\n \"navbar-link-colour-text-hover\"\n ),\n \"navbar-link-colour-text-selected-hover\": getComponentTokenValue(\n \"Navbar\",\n \"navbar-link-colour-text-selected-hover\"\n ),\n};\n\nexport const V3_ThemeFooter: {\n [key in keyof V3_FooterTokens]: (props: V3_StyledComponentProps) => string;\n} = {\n \"footer-colour-bg\": getComponentTokenValue(\"Footer\", \"footer-colour-bg\"),\n \"footer-colour-text\": getComponentTokenValue(\n \"Footer\",\n \"footer-colour-text\"\n ),\n \"footer-link-colour-text\": getComponentTokenValue(\n \"Footer\",\n \"footer-link-colour-text\"\n ),\n \"footer-link-colour-text-hover\": getComponentTokenValue(\n \"Footer\",\n \"footer-link-colour-text-hover\"\n ),\n \"footer-disclaimer-link-colour-text\": getComponentTokenValue(\n \"Footer\",\n \"footer-disclaimer-link-colour-text\"\n ),\n \"footer-disclaimer-link-colour-text-hover\": getComponentTokenValue(\n \"Footer\",\n \"footer-disclaimer-link-colour-text-hover\"\n ),\n};\n"],"names":["V3_ComponentTokenSpec","collections","default","V3_DefaultComponentTokenSet","pa","V3_PAComponentTokenSet","a11yplayground","V3_A11yPlaygroundComponentTokenSet","lifesg","V3_LifeSGComponentTokenSet","spf","V3_SPFComponentTokenSet","smgs","V3_SMGSComponentTokenSet","defaultValue","getComponentTokenValue","component","token","props","theme","components","getCollection","componentScheme","componentToken","_b","_a","componentOverrides","getTokenValue","V3_ThemeNavbar"],"mappings":"giBAiBA,MAAMA,EAAwB,CAC1BC,YAAa,CACTC,QAASC,EACTC,GAAIC,EACJC,eAAgBC,EAChBC,OAAQC,EACRC,IAAKC,EACLC,KAAMC,GAEVC,aAAc,WAGLC,EAAyB,CAIlCC,EACAC,IAEQC,YACJ,MAAMC,EAAQD,EAAMC,MACdC,EAAmCC,EACrCrB,EACAmB,aAAK,EAALA,EAAOG,iBAGLC,GACoC,QAAtCC,EAAyB,QAAzBC,EAAAN,aAAK,EAALA,EAAOO,0BAAkB,IAAAD,OAAA,EAAAA,EAAGT,UAAU,IAAAQ,OAAA,EAAAA,EAAGP,KACzCG,EAAWJ,GAAWC,GAC1B,OAAOU,EAAcJ,EAAgBL,EAAM,EAItCS,EAAgB,CAIzBV,EACAC,KAEA,cAAeD,GACX,IAAK,WACD,OAAOA,EAAMC,GACjB,IAAK,SACD,OAAOD,EAAQ,KACnB,IAAK,SACD,OAAOA,IAiDNW,EAET,CACA,qBAAsBb,EAClB,SACA,sBAEJ,0BAA2BA,EACvB,SACA,2BAEJ,2BAA4BA,EACxB,SACA,4BAEJ,gCAAiCA,EAC7B,SACA,iCAEJ,uBAAwBA,EACpB,SACA,wBAEJ,4BAA6BA,EACzB,SACA,6BAEJ,mBAAoBA,EAAuB,SAAU,oBACrD,qBAAsBA,EAClB,SACA,sBAEJ,0BAA2BA,EACvB,SACA,2BAEJ,gCAAiCA,EAC7B,SACA,iCAEJ,yCAA0CA,EACtC,SACA"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|