@cupra/ui-kit 1.0.0-canary.9 → 1.0.0
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/README.md +5 -3
- package/dist/components/base/DsUiElement.js +47 -0
- package/dist/components/base/UiKitElement.js +82 -0
- package/dist/components/base/ds-base-input/ds-base-input.js +112 -0
- package/dist/components/base/ds-base-input/styles/common.styles.js +63 -0
- package/dist/components/base/ds-base-input/styles/cupra.styles.js +124 -0
- package/dist/components/base/ds-base-progress-bar/ds-base-progress-bar.js +64 -0
- package/dist/components/base/ds-base-progress-bar/styles/common.styles.js +22 -0
- package/dist/components/base/ds-base-progress-bar/styles/cupra-diagonal.styles.js +27 -0
- package/dist/components/base/ds-base-progress-bar/styles/cupra.styles.js +27 -0
- package/dist/components/base/ds-base-progress-bar/styles/seat.styles.js +8 -0
- package/dist/components/ds-accordion/ds-accordion.js +124 -0
- package/dist/components/ds-accordion/styles/common.styles.js +64 -0
- package/dist/components/ds-accordion/theme-config.js +26 -0
- package/dist/components/ds-avatar/ds-avatar.js +102 -0
- package/dist/components/ds-avatar/styles/common.styles.js +12 -0
- package/dist/components/ds-badge/ds-badge.d.ts +18 -0
- package/dist/components/ds-badge/ds-badge.js +53 -0
- package/dist/components/ds-badge/ds-badge.test.d.ts +8 -0
- package/dist/components/ds-badge/ds-badge.types.d.ts +6 -0
- package/dist/components/ds-badge/styles/common.styles.d.ts +1 -0
- package/dist/components/ds-badge/styles/common.styles.js +9 -0
- package/dist/components/ds-badge/styles/cupra-diagonal.styles.d.ts +1 -0
- package/dist/components/ds-badge/styles/cupra-diagonal.styles.js +47 -0
- package/dist/components/ds-bullets/ds-bullets.js +79 -0
- package/dist/components/ds-bullets/styles/common.styles.js +26 -0
- package/dist/components/ds-button/ds-button.js +196 -0
- package/dist/components/ds-button/styles/common.styles.js +116 -0
- package/dist/components/ds-carousel-indicator/ds-carousel-indicator.js +63 -0
- package/dist/components/ds-carousel-indicator/styles/common.styles.js +19 -0
- package/dist/components/ds-checkbox/ds-checkbox.js +142 -0
- package/dist/components/ds-checkbox/styles/common.styles.js +60 -0
- package/dist/components/ds-chip/ds-chip.js +131 -0
- package/dist/components/ds-chip/styles/common.styles.js +25 -0
- package/dist/components/ds-chips/ds-chips.js +143 -0
- package/dist/components/ds-chips/styles/common.styles.js +94 -0
- package/dist/components/ds-currency/ds-currency.js +139 -0
- package/dist/components/ds-currency/styles/common.styles.js +17 -0
- package/dist/components/ds-dialog/ds-dialog.js +107 -0
- package/dist/components/ds-dialog/styles/common.styles.js +82 -0
- package/dist/components/ds-dialog-body/ds-dialog-body.js +46 -0
- package/dist/components/ds-dialog-body/styles/common.styles.js +12 -0
- package/dist/components/ds-dialog-footer/ds-dialog-footer.js +47 -0
- package/dist/components/ds-dialog-footer/styles/common.styles.js +16 -0
- package/dist/components/ds-dialog-header/ds-dialog-header.js +68 -0
- package/dist/components/ds-dialog-header/styles/common.styles.js +12 -0
- package/dist/components/ds-divider/ds-divider.js +58 -0
- package/dist/components/ds-divider/styles/common.styles.js +13 -0
- package/dist/components/ds-hyperlink/ds-hyperlink.js +93 -0
- package/dist/components/ds-hyperlink/styles/common.styles.js +22 -0
- package/dist/components/ds-icon/Icons.type.d.ts +1 -1
- package/dist/components/ds-icon/ds-icon.js +105 -0
- package/dist/components/ds-icon/iconNames.d.ts +1 -1
- package/dist/components/ds-icon/iconNames.js +394 -0
- package/dist/components/ds-icon-button/ds-icon-button.js +138 -0
- package/dist/components/ds-icon-button/styles/common.styles.js +24 -0
- package/dist/components/ds-input/ds-input.js +138 -0
- package/dist/components/ds-interactive-card/ds-interactive-card.js +90 -0
- package/dist/components/ds-interactive-card/styles/common.styles.js +12 -0
- package/dist/components/ds-link-button/ds-link-button.js +120 -0
- package/dist/components/ds-link-button/styles/common.styles.js +24 -0
- package/dist/components/ds-loader-bar/ds-loader-bar.js +23 -0
- package/dist/components/ds-loader-bar/styles/common.styles.js +23 -0
- package/dist/components/ds-loader-dots/ds-loader-dots.js +62 -0
- package/dist/components/ds-loader-dots/styles/common.styles.js +35 -0
- package/dist/components/ds-loader-logo/ds-loader-logo.js +65 -0
- package/dist/components/ds-loader-logo/ds-loader-logo.styles.js +67 -0
- package/dist/components/ds-loader-spinner/ds-loader-spinner.js +53 -0
- package/dist/components/ds-loader-spinner/styles/common.styles.js +56 -0
- package/dist/components/ds-logo/ds-logo.js +69 -0
- package/dist/components/ds-logo/styles/common.styles.js +18 -0
- package/dist/components/ds-main-title/ds-main-title.d.ts +10 -0
- package/dist/components/ds-main-title/ds-main-title.js +35 -0
- package/dist/components/ds-main-title/ds-main-title.test.d.ts +7 -0
- package/dist/components/ds-main-title/ds-main-title.types.d.ts +2 -0
- package/dist/components/ds-main-title/styles/common.styles.d.ts +1 -0
- package/dist/components/ds-main-title/styles/common.styles.js +19 -0
- package/dist/components/ds-map-pin/ds-map-pin.js +116 -0
- package/dist/components/ds-map-pin/styles/common.styles.js +43 -0
- package/dist/components/ds-modal/ds-modal.js +215 -0
- package/dist/components/ds-modal/styles/common.styles.js +289 -0
- package/dist/components/ds-password-input/ds-password-input.js +43 -0
- package/dist/components/ds-picker-item/ds-picker-item.js +89 -0
- package/dist/components/ds-picker-item/styles/common.styles.js +12 -0
- package/dist/components/ds-portal/ds-portal.js +41 -0
- package/dist/components/ds-progress-bar/ds-progress-bar.js +34 -0
- package/dist/components/ds-progress-bar/styles/common.styles.js +12 -0
- package/dist/components/ds-radio/ds-radio.js +111 -0
- package/dist/components/ds-radio/styles/common.styles.js +44 -0
- package/dist/components/ds-radio-button/ds-radio-button.js +185 -0
- package/dist/components/ds-radio-button/styles/common.styles.js +52 -0
- package/dist/components/ds-radio-button-group/ds-radio-button-group.js +83 -0
- package/dist/components/ds-radio-button-group/styles/common.styles.js +25 -0
- package/dist/components/ds-radio-group/ds-radio-group.js +79 -0
- package/dist/components/ds-radio-group/ds-radio-group.styles.js +21 -0
- package/dist/components/ds-rating/ds-rating.d.ts +14 -0
- package/dist/components/ds-rating/ds-rating.js +73 -0
- package/dist/components/ds-rating/ds-rating.test.d.ts +8 -0
- package/dist/components/ds-rating/ds-rating.types.d.ts +6 -0
- package/dist/components/ds-rating/styles/common.styles.d.ts +1 -0
- package/dist/components/ds-rating/styles/common.styles.js +14 -0
- package/dist/components/ds-search/ds-search.js +210 -0
- package/dist/components/ds-search/styles/common.styles.js +61 -0
- package/dist/components/ds-search-input/ds-search-input.js +158 -0
- package/dist/components/ds-search-input/styles/common.styles.js +12 -0
- package/dist/components/ds-secondary-navigation/ds-secondary-navigation.js +233 -0
- package/dist/components/ds-secondary-navigation/styles/common.styles.js +12 -0
- package/dist/components/ds-segmented-control/ds-segmented-control.js +71 -0
- package/dist/components/ds-segmented-control/styles/common.styles.js +56 -0
- package/dist/components/ds-select/controllers/SelectKeyboardController.js +33 -0
- package/dist/components/ds-select/ds-select.js +274 -0
- package/dist/components/ds-select/styles/common.styles.js +29 -0
- package/dist/components/ds-selection/ds-selection.js +57 -0
- package/dist/components/ds-selection/styles/common.styles.js +17 -0
- package/dist/components/ds-sidebar-navigation/ds-sidebar-navigation.js +102 -0
- package/dist/components/ds-sidebar-navigation/styles/common.styles.js +25 -0
- package/dist/components/ds-slider/ds-slider.js +409 -0
- package/dist/components/ds-slider/styles/common.styles.js +61 -0
- package/dist/components/ds-slider/utils/getStepValue/getStepValue.js +28 -0
- package/dist/components/ds-slider/utils/roundToDecimals/roundToDecimals.js +7 -0
- package/dist/components/ds-static-box/ds-static-box.js +77 -0
- package/dist/components/ds-static-box/styles/common.styles.js +12 -0
- package/dist/components/ds-stepper/ds-stepper.js +57 -0
- package/dist/components/ds-stepper/styles/common.styles.js +12 -0
- package/dist/components/ds-tabs/ds-tabs.js +203 -0
- package/dist/components/ds-tabs/styles/common.styles.js +97 -0
- package/dist/components/ds-tabs/theme-config.js +14 -0
- package/dist/components/ds-tag/ds-tag.js +87 -0
- package/dist/components/ds-tag/styles/common.styles.js +20 -0
- package/dist/components/ds-text/ds-text.js +83 -0
- package/dist/components/ds-text/styles/common.styles.js +29 -0
- package/dist/components/ds-text-input/ds-text-input.js +100 -0
- package/dist/components/ds-text-input/styles/common.styles.js +12 -0
- package/dist/components/ds-textarea/ds-textarea.js +87 -0
- package/dist/components/ds-textarea/styles/common.styles.js +12 -0
- package/dist/components/ds-theme-provider/ds-theme-provider.js +90 -0
- package/dist/components/ds-theme-provider/themeContext.js +5 -0
- package/dist/components/ds-toast/ds-toast.js +95 -0
- package/dist/components/ds-toast/styles/common.styles.js +112 -0
- package/dist/components/ds-toast/utils/ToastManager.js +48 -0
- package/dist/components/ds-toast-message/ds-toast-message.js +103 -0
- package/dist/components/ds-toast-message/styles/common.styles.js +12 -0
- package/dist/components/ds-toggle-button/ds-toggle-button.js +73 -0
- package/dist/components/ds-toggle-switch/ds-toggle-switch.js +100 -0
- package/dist/components/ds-toggle-switch/styles/common.styles.js +47 -0
- package/dist/components/ds-tooltip/ds-tooltip.d.ts +38 -23
- package/dist/components/ds-tooltip/ds-tooltip.js +234 -0
- package/dist/components/ds-tooltip/ds-tooltip.test.d.ts +8 -0
- package/dist/components/ds-tooltip/ds-tooltip.types.d.ts +5 -10
- package/dist/components/ds-tooltip/styles/common.styles.d.ts +0 -2
- package/dist/components/ds-tooltip/styles/common.styles.js +130 -0
- package/dist/components/index.d.ts +4 -1
- package/dist/core/theme.constants.d.ts +1 -0
- package/dist/core/theme.constants.js +4 -0
- package/dist/decorators/customUiKitElement.js +23 -0
- package/dist/index.js +61 -9699
- package/dist/mixins/FormAssociatedMixin.js +14 -0
- package/dist/mixins/ViewportMixin.js +32 -0
- package/dist/mixins/inputStatesMixin.js +46 -0
- package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js +430 -0
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +313 -0
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +132 -0
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +128 -0
- package/dist/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/context-request-event.js +13 -0
- package/dist/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/controllers/context-consumer.js +29 -0
- package/dist/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/controllers/context-provider.js +37 -0
- package/dist/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/create-context.js +11 -0
- package/dist/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/decorators/consume.js +22 -0
- package/dist/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/decorators/provide.js +42 -0
- package/dist/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/value-notifier.js +36 -0
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js +50 -0
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/base.js +9 -0
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js +37 -0
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query-assigned-elements.js +19 -0
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query-assigned-nodes.js +19 -0
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query.js +20 -0
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js +12 -0
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js +252 -0
- package/dist/node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js +51 -0
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directive-helpers.js +37 -0
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directive.js +27 -0
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/choose.js +12 -0
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js +34 -0
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/if-defined.js +10 -0
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/repeat.js +61 -0
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/unsafe-html.js +27 -0
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/when.js +11 -0
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js +243 -0
- package/dist/styles/fonts-config.js +28 -0
- package/dist/utils/IconsManager.d.ts +1 -4
- package/dist/utils/IconsManager.js +39 -0
- package/dist/utils/PubSub.d.ts +0 -2
- package/dist/utils/PubSub.js +33 -0
- package/dist/utils/StylesRegistry/StylesRegistry.js +32 -0
- package/dist/utils/arrayConverter.js +19 -0
- package/dist/utils/booleanConverter.js +4 -0
- package/dist/utils/componentFactory.js +167 -0
- package/dist/utils/cssQueries.js +16 -0
- package/dist/utils/cssWithTokens.js +11 -0
- package/dist/utils/formatNumber/formatNumber.js +54 -0
- package/dist/utils/htmlWithTokens.js +11 -0
- package/dist/utils/objectConverter.js +11 -0
- package/dist/utils/validateMaxLength.js +6 -0
- package/dist-react/components/base/DsUiElement.js +47 -0
- package/dist-react/components/base/UiKitElement.js +82 -0
- package/dist-react/components/base/ds-base-input/ds-base-input.js +112 -0
- package/dist-react/components/base/ds-base-input/styles/common.styles.js +63 -0
- package/dist-react/components/base/ds-base-input/styles/cupra.styles.js +124 -0
- package/dist-react/components/base/ds-base-progress-bar/ds-base-progress-bar.js +64 -0
- package/dist-react/components/base/ds-base-progress-bar/styles/common.styles.js +22 -0
- package/dist-react/components/base/ds-base-progress-bar/styles/cupra-diagonal.styles.js +27 -0
- package/dist-react/components/base/ds-base-progress-bar/styles/cupra.styles.js +27 -0
- package/dist-react/components/base/ds-base-progress-bar/styles/seat.styles.js +8 -0
- package/dist-react/components/ds-accordion/ds-accordion.js +124 -0
- package/dist-react/components/ds-accordion/styles/common.styles.js +64 -0
- package/dist-react/components/ds-accordion/theme-config.js +26 -0
- package/dist-react/components/ds-avatar/ds-avatar.js +102 -0
- package/dist-react/components/ds-avatar/styles/common.styles.js +12 -0
- package/dist-react/components/ds-badge/ds-badge.d.ts +18 -0
- package/dist-react/components/ds-badge/ds-badge.js +53 -0
- package/dist-react/components/ds-badge/ds-badge.test.d.ts +8 -0
- package/dist-react/components/ds-badge/ds-badge.types.d.ts +6 -0
- package/dist-react/components/ds-badge/styles/common.styles.d.ts +1 -0
- package/dist-react/components/ds-badge/styles/common.styles.js +9 -0
- package/dist-react/components/ds-badge/styles/cupra-diagonal.styles.d.ts +1 -0
- package/dist-react/components/ds-badge/styles/cupra-diagonal.styles.js +47 -0
- package/dist-react/components/ds-bullets/ds-bullets.js +79 -0
- package/dist-react/components/ds-bullets/styles/common.styles.js +26 -0
- package/dist-react/components/ds-button/ds-button.js +196 -0
- package/dist-react/components/ds-button/styles/common.styles.js +116 -0
- package/dist-react/components/ds-carousel-indicator/ds-carousel-indicator.js +63 -0
- package/dist-react/components/ds-carousel-indicator/styles/common.styles.js +19 -0
- package/dist-react/components/ds-checkbox/ds-checkbox.js +142 -0
- package/dist-react/components/ds-checkbox/styles/common.styles.js +60 -0
- package/dist-react/components/ds-chip/ds-chip.js +131 -0
- package/dist-react/components/ds-chip/styles/common.styles.js +25 -0
- package/dist-react/components/ds-chips/ds-chips.js +143 -0
- package/dist-react/components/ds-chips/styles/common.styles.js +94 -0
- package/dist-react/components/ds-currency/ds-currency.js +139 -0
- package/dist-react/components/ds-currency/styles/common.styles.js +17 -0
- package/dist-react/components/ds-dialog/ds-dialog.js +107 -0
- package/dist-react/components/ds-dialog/styles/common.styles.js +82 -0
- package/dist-react/components/ds-dialog-body/ds-dialog-body.js +46 -0
- package/dist-react/components/ds-dialog-body/styles/common.styles.js +12 -0
- package/dist-react/components/ds-dialog-footer/ds-dialog-footer.js +47 -0
- package/dist-react/components/ds-dialog-footer/styles/common.styles.js +16 -0
- package/dist-react/components/ds-dialog-header/ds-dialog-header.js +68 -0
- package/dist-react/components/ds-dialog-header/styles/common.styles.js +12 -0
- package/dist-react/components/ds-divider/ds-divider.js +58 -0
- package/dist-react/components/ds-divider/styles/common.styles.js +13 -0
- package/dist-react/components/ds-hyperlink/ds-hyperlink.js +93 -0
- package/dist-react/components/ds-hyperlink/styles/common.styles.js +22 -0
- package/dist-react/components/ds-icon/Icons.type.d.ts +1 -1
- package/dist-react/components/ds-icon/ds-icon.js +105 -0
- package/dist-react/components/ds-icon/iconNames.d.ts +1 -1
- package/dist-react/components/ds-icon/iconNames.js +394 -0
- package/dist-react/components/ds-icon-button/ds-icon-button.js +138 -0
- package/dist-react/components/ds-icon-button/styles/common.styles.js +24 -0
- package/dist-react/components/ds-input/ds-input.js +138 -0
- package/dist-react/components/ds-interactive-card/ds-interactive-card.js +90 -0
- package/dist-react/components/ds-interactive-card/styles/common.styles.js +12 -0
- package/dist-react/components/ds-link-button/ds-link-button.js +120 -0
- package/dist-react/components/ds-link-button/styles/common.styles.js +24 -0
- package/dist-react/components/ds-loader-bar/ds-loader-bar.js +23 -0
- package/dist-react/components/ds-loader-bar/styles/common.styles.js +23 -0
- package/dist-react/components/ds-loader-dots/ds-loader-dots.js +62 -0
- package/dist-react/components/ds-loader-dots/styles/common.styles.js +35 -0
- package/dist-react/components/ds-loader-logo/ds-loader-logo.js +65 -0
- package/dist-react/components/ds-loader-logo/ds-loader-logo.styles.js +67 -0
- package/dist-react/components/ds-loader-spinner/ds-loader-spinner.js +53 -0
- package/dist-react/components/ds-loader-spinner/styles/common.styles.js +56 -0
- package/dist-react/components/ds-logo/ds-logo.js +69 -0
- package/dist-react/components/ds-logo/styles/common.styles.js +18 -0
- package/dist-react/components/ds-main-title/ds-main-title.d.ts +10 -0
- package/dist-react/components/ds-main-title/ds-main-title.js +35 -0
- package/dist-react/components/ds-main-title/ds-main-title.test.d.ts +7 -0
- package/dist-react/components/ds-main-title/ds-main-title.types.d.ts +2 -0
- package/dist-react/components/ds-main-title/styles/common.styles.d.ts +1 -0
- package/dist-react/components/ds-main-title/styles/common.styles.js +19 -0
- package/dist-react/components/ds-map-pin/ds-map-pin.js +116 -0
- package/dist-react/components/ds-map-pin/styles/common.styles.js +43 -0
- package/dist-react/components/ds-modal/ds-modal.js +215 -0
- package/dist-react/components/ds-modal/styles/common.styles.js +289 -0
- package/dist-react/components/ds-password-input/ds-password-input.js +43 -0
- package/dist-react/components/ds-picker-item/ds-picker-item.js +89 -0
- package/dist-react/components/ds-picker-item/styles/common.styles.js +12 -0
- package/dist-react/components/ds-portal/ds-portal.js +41 -0
- package/dist-react/components/ds-progress-bar/ds-progress-bar.js +34 -0
- package/dist-react/components/ds-progress-bar/styles/common.styles.js +12 -0
- package/dist-react/components/ds-radio/ds-radio.js +111 -0
- package/dist-react/components/ds-radio/styles/common.styles.js +44 -0
- package/dist-react/components/ds-radio-button/ds-radio-button.js +185 -0
- package/dist-react/components/ds-radio-button/styles/common.styles.js +52 -0
- package/dist-react/components/ds-radio-button-group/ds-radio-button-group.js +83 -0
- package/dist-react/components/ds-radio-button-group/styles/common.styles.js +25 -0
- package/dist-react/components/ds-radio-group/ds-radio-group.js +79 -0
- package/dist-react/components/ds-radio-group/ds-radio-group.styles.js +21 -0
- package/dist-react/components/ds-rating/ds-rating.d.ts +14 -0
- package/dist-react/components/ds-rating/ds-rating.js +73 -0
- package/dist-react/components/ds-rating/ds-rating.test.d.ts +8 -0
- package/dist-react/components/ds-rating/ds-rating.types.d.ts +6 -0
- package/dist-react/components/ds-rating/styles/common.styles.d.ts +1 -0
- package/dist-react/components/ds-rating/styles/common.styles.js +14 -0
- package/dist-react/components/ds-search/ds-search.js +210 -0
- package/dist-react/components/ds-search/styles/common.styles.js +61 -0
- package/dist-react/components/ds-search-input/ds-search-input.js +158 -0
- package/dist-react/components/ds-search-input/styles/common.styles.js +12 -0
- package/dist-react/components/ds-secondary-navigation/ds-secondary-navigation.js +233 -0
- package/dist-react/components/ds-secondary-navigation/styles/common.styles.js +12 -0
- package/dist-react/components/ds-segmented-control/ds-segmented-control.js +71 -0
- package/dist-react/components/ds-segmented-control/styles/common.styles.js +56 -0
- package/dist-react/components/ds-select/controllers/SelectKeyboardController.js +33 -0
- package/dist-react/components/ds-select/ds-select.js +274 -0
- package/dist-react/components/ds-select/styles/common.styles.js +29 -0
- package/dist-react/components/ds-selection/ds-selection.js +57 -0
- package/dist-react/components/ds-selection/styles/common.styles.js +17 -0
- package/dist-react/components/ds-sidebar-navigation/ds-sidebar-navigation.js +102 -0
- package/dist-react/components/ds-sidebar-navigation/styles/common.styles.js +25 -0
- package/dist-react/components/ds-slider/ds-slider.js +409 -0
- package/dist-react/components/ds-slider/styles/common.styles.js +61 -0
- package/dist-react/components/ds-slider/utils/getStepValue/getStepValue.js +28 -0
- package/dist-react/components/ds-slider/utils/roundToDecimals/roundToDecimals.js +7 -0
- package/dist-react/components/ds-static-box/ds-static-box.js +77 -0
- package/dist-react/components/ds-static-box/styles/common.styles.js +12 -0
- package/dist-react/components/ds-stepper/ds-stepper.js +57 -0
- package/dist-react/components/ds-stepper/styles/common.styles.js +12 -0
- package/dist-react/components/ds-tabs/ds-tabs.js +203 -0
- package/dist-react/components/ds-tabs/styles/common.styles.js +97 -0
- package/dist-react/components/ds-tabs/theme-config.js +14 -0
- package/dist-react/components/ds-tag/ds-tag.js +87 -0
- package/dist-react/components/ds-tag/styles/common.styles.js +20 -0
- package/dist-react/components/ds-text/ds-text.js +83 -0
- package/dist-react/components/ds-text/styles/common.styles.js +29 -0
- package/dist-react/components/ds-text-input/ds-text-input.js +100 -0
- package/dist-react/components/ds-text-input/styles/common.styles.js +12 -0
- package/dist-react/components/ds-textarea/ds-textarea.js +87 -0
- package/dist-react/components/ds-textarea/styles/common.styles.js +12 -0
- package/dist-react/components/ds-theme-provider/ds-theme-provider.js +90 -0
- package/dist-react/components/ds-theme-provider/themeContext.js +5 -0
- package/dist-react/components/ds-toast/ds-toast.js +95 -0
- package/dist-react/components/ds-toast/styles/common.styles.js +112 -0
- package/dist-react/components/ds-toast/utils/ToastManager.js +48 -0
- package/dist-react/components/ds-toast-message/ds-toast-message.js +103 -0
- package/dist-react/components/ds-toast-message/styles/common.styles.js +12 -0
- package/dist-react/components/ds-toggle-button/ds-toggle-button.js +73 -0
- package/dist-react/components/ds-toggle-switch/ds-toggle-switch.js +100 -0
- package/dist-react/components/ds-toggle-switch/styles/common.styles.js +47 -0
- package/dist-react/components/ds-tooltip/ds-tooltip.d.ts +38 -23
- package/dist-react/components/ds-tooltip/ds-tooltip.js +234 -0
- package/dist-react/components/ds-tooltip/ds-tooltip.test.d.ts +8 -0
- package/dist-react/components/ds-tooltip/ds-tooltip.types.d.ts +5 -10
- package/dist-react/components/ds-tooltip/styles/common.styles.d.ts +0 -2
- package/dist-react/components/ds-tooltip/styles/common.styles.js +130 -0
- package/dist-react/components/index.d.ts +4 -1
- package/dist-react/core/theme.constants.d.ts +1 -0
- package/dist-react/core/theme.constants.js +4 -0
- package/dist-react/decorators/customUiKitElement.js +23 -0
- package/dist-react/index.js +61 -9623
- package/dist-react/mixins/FormAssociatedMixin.js +14 -0
- package/dist-react/mixins/ViewportMixin.js +32 -0
- package/dist-react/mixins/inputStatesMixin.js +46 -0
- package/dist-react/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js +430 -0
- package/dist-react/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +313 -0
- package/dist-react/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +132 -0
- package/dist-react/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +128 -0
- package/dist-react/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/context-request-event.js +13 -0
- package/dist-react/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/controllers/context-consumer.js +29 -0
- package/dist-react/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/controllers/context-provider.js +37 -0
- package/dist-react/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/create-context.js +11 -0
- package/dist-react/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/decorators/consume.js +22 -0
- package/dist-react/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/decorators/provide.js +42 -0
- package/dist-react/node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/value-notifier.js +36 -0
- package/dist-react/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js +50 -0
- package/dist-react/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/base.js +9 -0
- package/dist-react/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js +37 -0
- package/dist-react/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query-assigned-elements.js +19 -0
- package/dist-react/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query-assigned-nodes.js +19 -0
- package/dist-react/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query.js +20 -0
- package/dist-react/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js +12 -0
- package/dist-react/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js +252 -0
- package/dist-react/node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js +51 -0
- package/dist-react/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directive-helpers.js +37 -0
- package/dist-react/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directive.js +27 -0
- package/dist-react/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/choose.js +12 -0
- package/dist-react/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js +34 -0
- package/dist-react/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/if-defined.js +10 -0
- package/dist-react/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/repeat.js +61 -0
- package/dist-react/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/unsafe-html.js +27 -0
- package/dist-react/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/when.js +11 -0
- package/dist-react/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js +243 -0
- package/dist-react/styles/fonts-config.js +28 -0
- package/dist-react/utils/IconsManager.d.ts +1 -4
- package/dist-react/utils/IconsManager.js +39 -0
- package/dist-react/utils/PubSub.d.ts +0 -2
- package/dist-react/utils/PubSub.js +33 -0
- package/dist-react/utils/StylesRegistry/StylesRegistry.js +32 -0
- package/dist-react/utils/arrayConverter.js +19 -0
- package/dist-react/utils/booleanConverter.js +4 -0
- package/dist-react/utils/componentFactory.js +90 -0
- package/dist-react/utils/cssQueries.js +16 -0
- package/dist-react/utils/cssWithTokens.js +11 -0
- package/dist-react/utils/formatNumber/formatNumber.js +54 -0
- package/dist-react/utils/htmlWithTokens.js +11 -0
- package/dist-react/utils/objectConverter.js +11 -0
- package/dist-react/utils/validateMaxLength.js +6 -0
- package/package.json +12 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const iconNames: readonly ["9-circles", "ad-color", "ae-color", "af-color", "ag-color", "ai-color", "al-color", "am-color", "an-color", "ao-color", "ar-color", "arrow-down", "arrow-down-line", "arrow-download", "arrow-exit", "arrow-expand", "arrow-external-link", "arrow-left", "arrow-left-line", "arrow-reload", "arrow-right", "arrow-right-line", "arrow-rotate-360", "arrow-rotate-360-horizontal", "arrow-switch", "arrow-up", "arrow-up-line", "arrow-upload", "at-color", "au-color", "aw-color", "ax-color", "az-color", "b-color", "ba-color", "battery-g-4-01", "battery-inclined-fill", "battery-vertical-100", "battery-2-sub-arrows-up", "battery-3-sub-arrows-up", "bb-color", "bd-color", "be-color", "bell", "bf-color", "bg-color", "bh-color", "bi-color", "bill", "bin", "bj-color", "bm-color", "bn-color", "bo-color", "book-mark", "box", "br-color", "bs-color", "bt-color", "bw-color", "by-color", "bz-color", "c-color", "ca-color", "cable", "caf-color", "calendar", "camera", "car-arrow-down", "car-compare", "car-door", "car-frontal", "car-imodel", "car-in-window", "car-lateral", "car-model", "car-seat", "cart", "cart-down", "cas-color", "cd-color", "cercle-ribbon-check", "ceu-color", "cf-color", "cg-color", "ch-color", "charger-acc", "charger-type-2", "chat-bubble", "check", "check-mark-circle", "ci-color", "city", "cl-color", "clock", "cloud-co-2", "cm-color", "cn-color", "cna-color", "co-color", "coc-color", "computer-display", "cr-color", "credit-card", "cross", "cross-circle", "csa-color", "cu-color", "cv-color", "cy-color", "cz-color", "de-color", "dj-color", "dk-color", "dm-color", "do-color", "document", "document-check", "document-copy", "document-download", "document-time", "dot", "dz-color", "ec-color", "eco-color", "ee-color", "eg-color", "electric-station", "engine", "envelope", "equals-sign", "er-color", "es-color", "et-color", "eu-color", "euro", "exclamation-mark-circle", "exclamation-mark-triangle", "eye", "eye-crossed-out", "facebook", "fi-color", "filter", "fj-color", "fk-color", "fm-color", "fr-color", "fuel-station", "ga-color", "garage", "gb-color", "gd-color", "ge-color", "gear", "gg-color", "gh-color", "gi-color", "globe", "gm-color", "gn-color", "gq-color", "gr-color", "gt-color", "gw-color", "gy-color", "half-star-filled", "headlight", "heart", "heart-filled", "highway", "hk-color", "hn-color", "hr-color", "ht-color", "hu-color", "id-color", "ie-color", "il-color", "im-color", "in-color", "info-circle", "info-triangle", "instagram", "iq-color", "ir-color", "is-color", "it-color", "je-color", "jm-color", "jo-color", "jp-color", "ke-color", "key", "kg-color", "kh-color", "km-color", "kn-color", "kp-color", "kr-color", "kw-color", "ky-color", "kz-color", "la-color", "label-a-color", "label-b-color", "label-c-color", "label-d-color", "label-e-color", "label-f-color", "label-g-color", "label-h-color", "label-i-color", "label-j-color", "label-k-color", "label-l-color", "label-m-color", "lb-color", "lc-color", "li-color", "light", "lightning", "link", "linkedin", "list", "lk-color", "loader", "location-poi", "lock-locked", "lock-unlocked", "logo", "logo-light", "logo-lockup", "logo-wordmark", "lr-color", "ls-color", "lt-color", "lu-color", "lv-color", "ly-color", "ma-color", "magnifying-glass", "magnifying-glass-minus", "magnifying-glass-plus", "math-symbols-square", "mc-color", "md-color", "me-color", "menu", "mg-color", "micro", "micro-crossed-out", "minus", "mk-color", "ml-color", "mm-color", "mn-color", "mo-color", "mobile", "moon", "mountains", "mr-color", "ms-color", "mt-color", "mu-color", "mv-color", "mw-color", "mx-color", "my-color", "mz-color", "na-color", "ne-color", "ng-color", "ni-color", "nl-color", "no-color", "np-color", "nz-color", "om-color", "pa-color", "parking", "pause", "pause-loading", "pcircle", "pe-color", "pen", "pen-paper", "person-open-arms", "pf-color", "pg-color", "ph-color", "phone-contact", "pig-coin", "pk-color", "pl-color", "play", "play-circle", "plug-regular", "plus", "position", "pr-color", "pt-color", "pw-color", "py-color", "qa-color", "question-mark", "ro-color", "road", "road-mountain", "rs-color", "ru-color", "rw-color", "sa-color", "sb-color", "sc-color", "sd-color", "se-color", "seat-front", "sg-color", "sh-color", "share", "shopping-bag", "si-color", "sk-color", "sl-color", "sm-color", "sn-color", "so-color", "speaker", "speaker-crossed-out", "spray", "sr-color", "st-color", "star", "star-filled", "store", "suitcase", "sun", "sv-color", "sy-color", "sz-color", "tag", "tc-color", "td-color", "telegram", "tg-color", "th-color", "ticket", "tj-color", "tl-color", "tm-color", "tn-color", "to-color", "tr-color", "transmission-automatic", "transmission-manual", "triple-dot-h", "triple-dot-v", "tt-color", "tw-color", "twitter", "tz-color", "ua-color", "ug-color", "us-color", "user", "uy-color", "uz-color", "vc-color", "ve-color", "vg-color", "video-camera", "video-camera-crossed-out", "vimeo", "vn-color", "vu-color", "wall-charger", "whatsapp", "wheel", "wifi", "wrench-hammer", "ws-color", "ww-color", "ye-color", "youtube", "za-color", "zero-color", "zm-color", "zw-color"];
|
|
1
|
+
export declare const iconNames: readonly ["9-circles", "ad-color", "ae-color", "af-color", "ag-color", "ai-color", "al-color", "am-color", "an-color", "ao-color", "ar-color", "arrow-down", "arrow-down-line", "arrow-download", "arrow-exit", "arrow-expand", "arrow-external-link", "arrow-left", "arrow-left-line", "arrow-reload", "arrow-right", "arrow-right-line", "arrow-rotate-360", "arrow-rotate-360-horizontal", "arrow-switch", "arrow-up", "arrow-up-line", "arrow-upload", "at-color", "au-color", "aw-color", "ax-color", "az-color", "b-color", "ba-color", "battery-g-4-01", "battery-inclined-fill", "battery-vertical-100", "battery-2-sub-arrows-up", "battery-3-sub-arrows-up", "bb-color", "bd-color", "be-color", "bell", "bf-color", "bg-color", "bh-color", "bi-color", "bill", "bin", "bj-color", "bm-color", "bn-color", "bo-color", "book-mark", "box", "br-color", "bs-color", "bt-color", "bw-color", "by-color", "bz-color", "c-color", "ca-color", "cable", "caf-color", "calendar", "camera", "car-arrow-down", "car-compare", "car-door", "car-frontal", "car-imodel", "car-in-window", "car-lateral", "car-model", "car-seat", "cart", "cart-down", "cas-color", "cd-color", "cercle-ribbon-check", "ceu-color", "cf-color", "cg-color", "ch-color", "charger-acc", "charger-type-2", "chat-bubble", "check", "check-mark-circle", "ci-color", "city", "cl-color", "clock", "cloud-co-2", "cm-color", "cn-color", "cna-color", "co-color", "coc-color", "computer-display", "cr-color", "credit-card", "cross", "cross-circle", "csa-color", "cu-color", "cv-color", "cy-color", "cz-color", "de-color", "dj-color", "dk-color", "dm-color", "do-color", "document", "document-check", "document-copy", "document-download", "document-time", "dot", "dz-color", "ec-color", "eco-color", "ee-color", "eg-color", "electric-station", "engine", "envelope", "equals-sign", "er-color", "es-color", "et-color", "eu-color", "euro", "exclamation-mark-circle", "exclamation-mark-triangle", "eye", "eye-crossed-out", "facebook", "fi-color", "filter", "fj-color", "fk-color", "fm-color", "fr-color", "fuel-station", "ga-color", "garage", "gb-color", "gd-color", "ge-color", "gear", "gg-color", "gh-color", "gi-color", "globe", "gm-color", "gn-color", "gq-color", "gr-color", "gt-color", "gw-color", "gy-color", "half-star-filled", "headlight", "heart", "heart-filled", "highway", "hk-color", "hn-color", "hr-color", "ht-color", "hu-color", "id-color", "ie-color", "il-color", "im-color", "in-color", "info-circle", "info-triangle", "instagram", "iq-color", "ir-color", "is-color", "it-color", "je-color", "jm-color", "jo-color", "jp-color", "ke-color", "key", "kg-color", "kh-color", "km-color", "kn-color", "kp-color", "kr-color", "kw-color", "ky-color", "kz-color", "la-color", "label-a-color", "label-b-color", "label-c-color", "label-d-color", "label-e-color", "label-f-color", "label-g-color", "label-h-color", "label-i-color", "label-j-color", "label-k-color", "label-l-color", "label-m-color", "lb-color", "lc-color", "li-color", "light", "lightning", "link", "linkedin", "list", "lk-color", "loader", "location-poi", "lock-locked", "lock-unlocked", "logo", "logo-light", "logo-lockup", "logo-wordmark", "lr-color", "ls-color", "lt-color", "lu-color", "lv-color", "ly-color", "ma-color", "magnifying-glass", "magnifying-glass-minus", "magnifying-glass-plus", "math-symbols-square", "mc-color", "md-color", "me-color", "menu", "mg-color", "micro", "micro-crossed-out", "minus", "mk-color", "ml-color", "mm-color", "mn-color", "mo-color", "mobile", "moon", "mountains", "mr-color", "ms-color", "mt-color", "mu-color", "mv-color", "mw-color", "mx-color", "my-color", "mz-color", "na-color", "ne-color", "ng-color", "ni-color", "nl-color", "no-color", "np-color", "nz-color", "om-color", "pa-color", "parking", "pause", "pause-loading", "pcircle", "pe-color", "pen", "pen-paper", "person-open-arms", "pf-color", "pg-color", "ph-color", "phone-contact", "pig-coin", "pk-color", "pl-color", "play", "play-circle", "plug-regular", "plus", "position", "pr-color", "pt-color", "pw-color", "py-color", "qa-color", "question-mark", "ro-color", "road", "road-mountain", "rs-color", "ru-color", "rw-color", "sa-color", "sb-color", "scan-qr", "sc-color", "sd-color", "se-color", "seat-front", "sg-color", "sh-color", "share", "shopping-bag", "si-color", "sk-color", "sl-color", "sm-color", "sn-color", "so-color", "speaker", "speaker-crossed-out", "spray", "sr-color", "st-color", "star", "star-filled", "store", "suitcase", "sun", "sv-color", "sy-color", "sz-color", "tag", "tc-color", "td-color", "telegram", "tg-color", "th-color", "ticket", "tj-color", "tl-color", "tm-color", "tn-color", "to-color", "tr-color", "transmission-automatic", "transmission-manual", "triple-dot-h", "triple-dot-v", "tt-color", "tw-color", "twitter", "tz-color", "ua-color", "ug-color", "us-color", "user", "uy-color", "uz-color", "vc-color", "ve-color", "vg-color", "video-camera", "video-camera-crossed-out", "vimeo", "vn-color", "vu-color", "wall-charger", "whatsapp", "wheel", "wifi", "wrench-hammer", "ws-color", "ww-color", "ye-color", "youtube", "za-color", "zero-color", "zm-color", "zw-color"];
|
|
@@ -0,0 +1,394 @@
|
|
|
1
|
+
const o = [
|
|
2
|
+
"9-circles",
|
|
3
|
+
"ad-color",
|
|
4
|
+
"ae-color",
|
|
5
|
+
"af-color",
|
|
6
|
+
"ag-color",
|
|
7
|
+
"ai-color",
|
|
8
|
+
"al-color",
|
|
9
|
+
"am-color",
|
|
10
|
+
"an-color",
|
|
11
|
+
"ao-color",
|
|
12
|
+
"ar-color",
|
|
13
|
+
"arrow-down",
|
|
14
|
+
"arrow-down-line",
|
|
15
|
+
"arrow-download",
|
|
16
|
+
"arrow-exit",
|
|
17
|
+
"arrow-expand",
|
|
18
|
+
"arrow-external-link",
|
|
19
|
+
"arrow-left",
|
|
20
|
+
"arrow-left-line",
|
|
21
|
+
"arrow-reload",
|
|
22
|
+
"arrow-right",
|
|
23
|
+
"arrow-right-line",
|
|
24
|
+
"arrow-rotate-360",
|
|
25
|
+
"arrow-rotate-360-horizontal",
|
|
26
|
+
"arrow-switch",
|
|
27
|
+
"arrow-up",
|
|
28
|
+
"arrow-up-line",
|
|
29
|
+
"arrow-upload",
|
|
30
|
+
"at-color",
|
|
31
|
+
"au-color",
|
|
32
|
+
"aw-color",
|
|
33
|
+
"ax-color",
|
|
34
|
+
"az-color",
|
|
35
|
+
"b-color",
|
|
36
|
+
"ba-color",
|
|
37
|
+
"battery-g-4-01",
|
|
38
|
+
"battery-inclined-fill",
|
|
39
|
+
"battery-vertical-100",
|
|
40
|
+
"battery-2-sub-arrows-up",
|
|
41
|
+
"battery-3-sub-arrows-up",
|
|
42
|
+
"bb-color",
|
|
43
|
+
"bd-color",
|
|
44
|
+
"be-color",
|
|
45
|
+
"bell",
|
|
46
|
+
"bf-color",
|
|
47
|
+
"bg-color",
|
|
48
|
+
"bh-color",
|
|
49
|
+
"bi-color",
|
|
50
|
+
"bill",
|
|
51
|
+
"bin",
|
|
52
|
+
"bj-color",
|
|
53
|
+
"bm-color",
|
|
54
|
+
"bn-color",
|
|
55
|
+
"bo-color",
|
|
56
|
+
"book-mark",
|
|
57
|
+
"box",
|
|
58
|
+
"br-color",
|
|
59
|
+
"bs-color",
|
|
60
|
+
"bt-color",
|
|
61
|
+
"bw-color",
|
|
62
|
+
"by-color",
|
|
63
|
+
"bz-color",
|
|
64
|
+
"c-color",
|
|
65
|
+
"ca-color",
|
|
66
|
+
"cable",
|
|
67
|
+
"caf-color",
|
|
68
|
+
"calendar",
|
|
69
|
+
"camera",
|
|
70
|
+
"car-arrow-down",
|
|
71
|
+
"car-compare",
|
|
72
|
+
"car-door",
|
|
73
|
+
"car-frontal",
|
|
74
|
+
"car-imodel",
|
|
75
|
+
"car-in-window",
|
|
76
|
+
"car-lateral",
|
|
77
|
+
"car-model",
|
|
78
|
+
"car-seat",
|
|
79
|
+
"cart",
|
|
80
|
+
"cart-down",
|
|
81
|
+
"cas-color",
|
|
82
|
+
"cd-color",
|
|
83
|
+
"cercle-ribbon-check",
|
|
84
|
+
"ceu-color",
|
|
85
|
+
"cf-color",
|
|
86
|
+
"cg-color",
|
|
87
|
+
"ch-color",
|
|
88
|
+
"charger-acc",
|
|
89
|
+
"charger-type-2",
|
|
90
|
+
"chat-bubble",
|
|
91
|
+
"check",
|
|
92
|
+
"check-mark-circle",
|
|
93
|
+
"ci-color",
|
|
94
|
+
"city",
|
|
95
|
+
"cl-color",
|
|
96
|
+
"clock",
|
|
97
|
+
"cloud-co-2",
|
|
98
|
+
"cm-color",
|
|
99
|
+
"cn-color",
|
|
100
|
+
"cna-color",
|
|
101
|
+
"co-color",
|
|
102
|
+
"coc-color",
|
|
103
|
+
"computer-display",
|
|
104
|
+
"cr-color",
|
|
105
|
+
"credit-card",
|
|
106
|
+
"cross",
|
|
107
|
+
"cross-circle",
|
|
108
|
+
"csa-color",
|
|
109
|
+
"cu-color",
|
|
110
|
+
"cv-color",
|
|
111
|
+
"cy-color",
|
|
112
|
+
"cz-color",
|
|
113
|
+
"de-color",
|
|
114
|
+
"dj-color",
|
|
115
|
+
"dk-color",
|
|
116
|
+
"dm-color",
|
|
117
|
+
"do-color",
|
|
118
|
+
"document",
|
|
119
|
+
"document-check",
|
|
120
|
+
"document-copy",
|
|
121
|
+
"document-download",
|
|
122
|
+
"document-time",
|
|
123
|
+
"dot",
|
|
124
|
+
"dz-color",
|
|
125
|
+
"ec-color",
|
|
126
|
+
"eco-color",
|
|
127
|
+
"ee-color",
|
|
128
|
+
"eg-color",
|
|
129
|
+
"electric-station",
|
|
130
|
+
"engine",
|
|
131
|
+
"envelope",
|
|
132
|
+
"equals-sign",
|
|
133
|
+
"er-color",
|
|
134
|
+
"es-color",
|
|
135
|
+
"et-color",
|
|
136
|
+
"eu-color",
|
|
137
|
+
"euro",
|
|
138
|
+
"exclamation-mark-circle",
|
|
139
|
+
"exclamation-mark-triangle",
|
|
140
|
+
"eye",
|
|
141
|
+
"eye-crossed-out",
|
|
142
|
+
"facebook",
|
|
143
|
+
"fi-color",
|
|
144
|
+
"filter",
|
|
145
|
+
"fj-color",
|
|
146
|
+
"fk-color",
|
|
147
|
+
"fm-color",
|
|
148
|
+
"fr-color",
|
|
149
|
+
"fuel-station",
|
|
150
|
+
"ga-color",
|
|
151
|
+
"garage",
|
|
152
|
+
"gb-color",
|
|
153
|
+
"gd-color",
|
|
154
|
+
"ge-color",
|
|
155
|
+
"gear",
|
|
156
|
+
"gg-color",
|
|
157
|
+
"gh-color",
|
|
158
|
+
"gi-color",
|
|
159
|
+
"globe",
|
|
160
|
+
"gm-color",
|
|
161
|
+
"gn-color",
|
|
162
|
+
"gq-color",
|
|
163
|
+
"gr-color",
|
|
164
|
+
"gt-color",
|
|
165
|
+
"gw-color",
|
|
166
|
+
"gy-color",
|
|
167
|
+
"half-star-filled",
|
|
168
|
+
"headlight",
|
|
169
|
+
"heart",
|
|
170
|
+
"heart-filled",
|
|
171
|
+
"highway",
|
|
172
|
+
"hk-color",
|
|
173
|
+
"hn-color",
|
|
174
|
+
"hr-color",
|
|
175
|
+
"ht-color",
|
|
176
|
+
"hu-color",
|
|
177
|
+
"id-color",
|
|
178
|
+
"ie-color",
|
|
179
|
+
"il-color",
|
|
180
|
+
"im-color",
|
|
181
|
+
"in-color",
|
|
182
|
+
"info-circle",
|
|
183
|
+
"info-triangle",
|
|
184
|
+
"instagram",
|
|
185
|
+
"iq-color",
|
|
186
|
+
"ir-color",
|
|
187
|
+
"is-color",
|
|
188
|
+
"it-color",
|
|
189
|
+
"je-color",
|
|
190
|
+
"jm-color",
|
|
191
|
+
"jo-color",
|
|
192
|
+
"jp-color",
|
|
193
|
+
"ke-color",
|
|
194
|
+
"key",
|
|
195
|
+
"kg-color",
|
|
196
|
+
"kh-color",
|
|
197
|
+
"km-color",
|
|
198
|
+
"kn-color",
|
|
199
|
+
"kp-color",
|
|
200
|
+
"kr-color",
|
|
201
|
+
"kw-color",
|
|
202
|
+
"ky-color",
|
|
203
|
+
"kz-color",
|
|
204
|
+
"la-color",
|
|
205
|
+
"label-a-color",
|
|
206
|
+
"label-b-color",
|
|
207
|
+
"label-c-color",
|
|
208
|
+
"label-d-color",
|
|
209
|
+
"label-e-color",
|
|
210
|
+
"label-f-color",
|
|
211
|
+
"label-g-color",
|
|
212
|
+
"label-h-color",
|
|
213
|
+
"label-i-color",
|
|
214
|
+
"label-j-color",
|
|
215
|
+
"label-k-color",
|
|
216
|
+
"label-l-color",
|
|
217
|
+
"label-m-color",
|
|
218
|
+
"lb-color",
|
|
219
|
+
"lc-color",
|
|
220
|
+
"li-color",
|
|
221
|
+
"light",
|
|
222
|
+
"lightning",
|
|
223
|
+
"link",
|
|
224
|
+
"linkedin",
|
|
225
|
+
"list",
|
|
226
|
+
"lk-color",
|
|
227
|
+
"loader",
|
|
228
|
+
"location-poi",
|
|
229
|
+
"lock-locked",
|
|
230
|
+
"lock-unlocked",
|
|
231
|
+
"logo",
|
|
232
|
+
"logo-light",
|
|
233
|
+
"logo-lockup",
|
|
234
|
+
"logo-wordmark",
|
|
235
|
+
"lr-color",
|
|
236
|
+
"ls-color",
|
|
237
|
+
"lt-color",
|
|
238
|
+
"lu-color",
|
|
239
|
+
"lv-color",
|
|
240
|
+
"ly-color",
|
|
241
|
+
"ma-color",
|
|
242
|
+
"magnifying-glass",
|
|
243
|
+
"magnifying-glass-minus",
|
|
244
|
+
"magnifying-glass-plus",
|
|
245
|
+
"math-symbols-square",
|
|
246
|
+
"mc-color",
|
|
247
|
+
"md-color",
|
|
248
|
+
"me-color",
|
|
249
|
+
"menu",
|
|
250
|
+
"mg-color",
|
|
251
|
+
"micro",
|
|
252
|
+
"micro-crossed-out",
|
|
253
|
+
"minus",
|
|
254
|
+
"mk-color",
|
|
255
|
+
"ml-color",
|
|
256
|
+
"mm-color",
|
|
257
|
+
"mn-color",
|
|
258
|
+
"mo-color",
|
|
259
|
+
"mobile",
|
|
260
|
+
"moon",
|
|
261
|
+
"mountains",
|
|
262
|
+
"mr-color",
|
|
263
|
+
"ms-color",
|
|
264
|
+
"mt-color",
|
|
265
|
+
"mu-color",
|
|
266
|
+
"mv-color",
|
|
267
|
+
"mw-color",
|
|
268
|
+
"mx-color",
|
|
269
|
+
"my-color",
|
|
270
|
+
"mz-color",
|
|
271
|
+
"na-color",
|
|
272
|
+
"ne-color",
|
|
273
|
+
"ng-color",
|
|
274
|
+
"ni-color",
|
|
275
|
+
"nl-color",
|
|
276
|
+
"no-color",
|
|
277
|
+
"np-color",
|
|
278
|
+
"nz-color",
|
|
279
|
+
"om-color",
|
|
280
|
+
"pa-color",
|
|
281
|
+
"parking",
|
|
282
|
+
"pause",
|
|
283
|
+
"pause-loading",
|
|
284
|
+
"pcircle",
|
|
285
|
+
"pe-color",
|
|
286
|
+
"pen",
|
|
287
|
+
"pen-paper",
|
|
288
|
+
"person-open-arms",
|
|
289
|
+
"pf-color",
|
|
290
|
+
"pg-color",
|
|
291
|
+
"ph-color",
|
|
292
|
+
"phone-contact",
|
|
293
|
+
"pig-coin",
|
|
294
|
+
"pk-color",
|
|
295
|
+
"pl-color",
|
|
296
|
+
"play",
|
|
297
|
+
"play-circle",
|
|
298
|
+
"plug-regular",
|
|
299
|
+
"plus",
|
|
300
|
+
"position",
|
|
301
|
+
"pr-color",
|
|
302
|
+
"pt-color",
|
|
303
|
+
"pw-color",
|
|
304
|
+
"py-color",
|
|
305
|
+
"qa-color",
|
|
306
|
+
"question-mark",
|
|
307
|
+
"ro-color",
|
|
308
|
+
"road",
|
|
309
|
+
"road-mountain",
|
|
310
|
+
"rs-color",
|
|
311
|
+
"ru-color",
|
|
312
|
+
"rw-color",
|
|
313
|
+
"sa-color",
|
|
314
|
+
"sb-color",
|
|
315
|
+
"scan-qr",
|
|
316
|
+
"sc-color",
|
|
317
|
+
"sd-color",
|
|
318
|
+
"se-color",
|
|
319
|
+
"seat-front",
|
|
320
|
+
"sg-color",
|
|
321
|
+
"sh-color",
|
|
322
|
+
"share",
|
|
323
|
+
"shopping-bag",
|
|
324
|
+
"si-color",
|
|
325
|
+
"sk-color",
|
|
326
|
+
"sl-color",
|
|
327
|
+
"sm-color",
|
|
328
|
+
"sn-color",
|
|
329
|
+
"so-color",
|
|
330
|
+
"speaker",
|
|
331
|
+
"speaker-crossed-out",
|
|
332
|
+
"spray",
|
|
333
|
+
"sr-color",
|
|
334
|
+
"st-color",
|
|
335
|
+
"star",
|
|
336
|
+
"star-filled",
|
|
337
|
+
"store",
|
|
338
|
+
"suitcase",
|
|
339
|
+
"sun",
|
|
340
|
+
"sv-color",
|
|
341
|
+
"sy-color",
|
|
342
|
+
"sz-color",
|
|
343
|
+
"tag",
|
|
344
|
+
"tc-color",
|
|
345
|
+
"td-color",
|
|
346
|
+
"telegram",
|
|
347
|
+
"tg-color",
|
|
348
|
+
"th-color",
|
|
349
|
+
"ticket",
|
|
350
|
+
"tj-color",
|
|
351
|
+
"tl-color",
|
|
352
|
+
"tm-color",
|
|
353
|
+
"tn-color",
|
|
354
|
+
"to-color",
|
|
355
|
+
"tr-color",
|
|
356
|
+
"transmission-automatic",
|
|
357
|
+
"transmission-manual",
|
|
358
|
+
"triple-dot-h",
|
|
359
|
+
"triple-dot-v",
|
|
360
|
+
"tt-color",
|
|
361
|
+
"tw-color",
|
|
362
|
+
"twitter",
|
|
363
|
+
"tz-color",
|
|
364
|
+
"ua-color",
|
|
365
|
+
"ug-color",
|
|
366
|
+
"us-color",
|
|
367
|
+
"user",
|
|
368
|
+
"uy-color",
|
|
369
|
+
"uz-color",
|
|
370
|
+
"vc-color",
|
|
371
|
+
"ve-color",
|
|
372
|
+
"vg-color",
|
|
373
|
+
"video-camera",
|
|
374
|
+
"video-camera-crossed-out",
|
|
375
|
+
"vimeo",
|
|
376
|
+
"vn-color",
|
|
377
|
+
"vu-color",
|
|
378
|
+
"wall-charger",
|
|
379
|
+
"whatsapp",
|
|
380
|
+
"wheel",
|
|
381
|
+
"wifi",
|
|
382
|
+
"wrench-hammer",
|
|
383
|
+
"ws-color",
|
|
384
|
+
"ww-color",
|
|
385
|
+
"ye-color",
|
|
386
|
+
"youtube",
|
|
387
|
+
"za-color",
|
|
388
|
+
"zero-color",
|
|
389
|
+
"zm-color",
|
|
390
|
+
"zw-color"
|
|
391
|
+
];
|
|
392
|
+
export {
|
|
393
|
+
o as iconNames
|
|
394
|
+
};
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { UiKitElement as c } from "../base/UiKitElement.js";
|
|
2
|
+
import { customUiKitElement as d } from "../../decorators/customUiKitElement.js";
|
|
3
|
+
import { ViewportMixin as b } from "../../mixins/ViewportMixin.js";
|
|
4
|
+
import { booleanConverter as u } from "../../utils/booleanConverter.js";
|
|
5
|
+
import { htmlWithTokens as y } from "../../utils/htmlWithTokens.js";
|
|
6
|
+
import { objectConverter as f } from "../../utils/objectConverter.js";
|
|
7
|
+
import "../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";
|
|
8
|
+
import { nothing as g, html as n } from "../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";
|
|
9
|
+
import "../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";
|
|
10
|
+
import { property as r } from "../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";
|
|
11
|
+
import { choose as v } from "../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/choose.js";
|
|
12
|
+
import { classMap as h } from "../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js";
|
|
13
|
+
import { buttonStyles as $ } from "./styles/common.styles.js";
|
|
14
|
+
var S = Object.defineProperty, T = Object.getOwnPropertyDescriptor, e = (i, o, l, a) => {
|
|
15
|
+
for (var s = a > 1 ? void 0 : a ? T(o, l) : o, p = i.length - 1, m; p >= 0; p--)
|
|
16
|
+
(m = i[p]) && (s = (a ? m(o, l, s) : m(s)) || s);
|
|
17
|
+
return a && s && S(o, l, s), s;
|
|
18
|
+
};
|
|
19
|
+
let t = class extends b(c) {
|
|
20
|
+
constructor() {
|
|
21
|
+
super(...arguments), this.variant = "primary", this.mode = "light", this.size = "large", this.disabled = !1, this.htmlTagName = "button";
|
|
22
|
+
}
|
|
23
|
+
get iconTemplate() {
|
|
24
|
+
return this.iconName ? this.componentFactory.createIcon({
|
|
25
|
+
class: "icon",
|
|
26
|
+
"icon-name": this.iconName
|
|
27
|
+
}) : g;
|
|
28
|
+
}
|
|
29
|
+
handleClick(i) {
|
|
30
|
+
this.href || i.preventDefault();
|
|
31
|
+
}
|
|
32
|
+
get classes() {
|
|
33
|
+
const i = typeof this.size == "string" ? this.size : this.size[this.viewport];
|
|
34
|
+
return {
|
|
35
|
+
button: !0,
|
|
36
|
+
custom: this.htmlTagName === "custom",
|
|
37
|
+
disabled: this.disabled,
|
|
38
|
+
[i]: !!i,
|
|
39
|
+
[this.mode]: !!this.mode,
|
|
40
|
+
[this.variant]: !!this.variant
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
get variantColorTokens() {
|
|
44
|
+
return y`
|
|
45
|
+
<style>
|
|
46
|
+
:host{
|
|
47
|
+
color-scheme: ${this.mode};
|
|
48
|
+
pointer-events: ${this.disabled ? "none" : "visible"};
|
|
49
|
+
}
|
|
50
|
+
</style>
|
|
51
|
+
`;
|
|
52
|
+
}
|
|
53
|
+
render() {
|
|
54
|
+
return n`
|
|
55
|
+
<style>
|
|
56
|
+
:host {
|
|
57
|
+
pointer-events: ${this.disabled ? "none" : "visible"};
|
|
58
|
+
}
|
|
59
|
+
</style>
|
|
60
|
+
${this.variantColorTokens}
|
|
61
|
+
${v(this.htmlTagName || "button", [
|
|
62
|
+
[
|
|
63
|
+
"button",
|
|
64
|
+
() => n`
|
|
65
|
+
<button
|
|
66
|
+
?disabled=${this.disabled}
|
|
67
|
+
class=${h(this.classes)}
|
|
68
|
+
aria-label=${this.dataAriaLabel}
|
|
69
|
+
>
|
|
70
|
+
${this.iconTemplate}
|
|
71
|
+
</button>
|
|
72
|
+
`
|
|
73
|
+
],
|
|
74
|
+
[
|
|
75
|
+
"a",
|
|
76
|
+
() => n`
|
|
77
|
+
<a
|
|
78
|
+
?disabled=${this.disabled}
|
|
79
|
+
class=${h(this.classes)}
|
|
80
|
+
href=${this.href}
|
|
81
|
+
rel=${this.rel}
|
|
82
|
+
target=${this.target}
|
|
83
|
+
@click=${this.handleClick}
|
|
84
|
+
aria-label=${this.dataAriaLabel}
|
|
85
|
+
>
|
|
86
|
+
${this.iconTemplate}
|
|
87
|
+
</a>
|
|
88
|
+
`
|
|
89
|
+
],
|
|
90
|
+
[
|
|
91
|
+
"custom",
|
|
92
|
+
() => n`
|
|
93
|
+
<div class=${h(this.classes)}>
|
|
94
|
+
<slot></slot>
|
|
95
|
+
</div>
|
|
96
|
+
`
|
|
97
|
+
]
|
|
98
|
+
])}
|
|
99
|
+
`;
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
t.styles = [$];
|
|
103
|
+
e([
|
|
104
|
+
r({ type: String })
|
|
105
|
+
], t.prototype, "variant", 2);
|
|
106
|
+
e([
|
|
107
|
+
r({ type: String, reflect: !0 })
|
|
108
|
+
], t.prototype, "mode", 2);
|
|
109
|
+
e([
|
|
110
|
+
r({ type: String, converter: f })
|
|
111
|
+
], t.prototype, "size", 2);
|
|
112
|
+
e([
|
|
113
|
+
r({ type: Boolean, converter: u })
|
|
114
|
+
], t.prototype, "disabled", 2);
|
|
115
|
+
e([
|
|
116
|
+
r({ type: String, attribute: "icon-name" })
|
|
117
|
+
], t.prototype, "iconName", 2);
|
|
118
|
+
e([
|
|
119
|
+
r({ type: String, attribute: "html-tag-name" })
|
|
120
|
+
], t.prototype, "htmlTagName", 2);
|
|
121
|
+
e([
|
|
122
|
+
r({ type: String, attribute: "data-aria-label" })
|
|
123
|
+
], t.prototype, "dataAriaLabel", 2);
|
|
124
|
+
e([
|
|
125
|
+
r({ type: String, reflect: !0 })
|
|
126
|
+
], t.prototype, "href", 2);
|
|
127
|
+
e([
|
|
128
|
+
r({ type: String, reflect: !0 })
|
|
129
|
+
], t.prototype, "rel", 2);
|
|
130
|
+
e([
|
|
131
|
+
r({ type: String, reflect: !0 })
|
|
132
|
+
], t.prototype, "target", 2);
|
|
133
|
+
t = e([
|
|
134
|
+
d("ds-icon-button")
|
|
135
|
+
], t);
|
|
136
|
+
export {
|
|
137
|
+
t as DsIconButton
|
|
138
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import "../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";
|
|
2
|
+
import "../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";
|
|
3
|
+
import "../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";
|
|
4
|
+
import { css as t } from "../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";
|
|
5
|
+
const s = t`
|
|
6
|
+
:host {
|
|
7
|
+
display: inline-flex;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.button {
|
|
11
|
+
text-decoration: none;
|
|
12
|
+
user-select: none;
|
|
13
|
+
display: inline-flex;
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
align-items: center;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
outline-style: solid;
|
|
19
|
+
padding: 0;
|
|
20
|
+
}
|
|
21
|
+
`;
|
|
22
|
+
export {
|
|
23
|
+
s as buttonStyles
|
|
24
|
+
};
|