@drivenets/design-system 0.2.0 → 0.4.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/CHANGELOG.md +26 -0
- package/README.md +1 -1
- package/dist/components/ds-alert-banner/ds-alert-banner.d.ts +5 -5
- package/dist/components/ds-alert-banner/ds-alert-banner.d.ts.map +1 -1
- package/dist/components/ds-autocomplete/ds-autocomplete.cjs +218 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.d.cts +22 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.d.cts.map +1 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.d.ts +22 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.d.ts.map +1 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.js +217 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.js.map +1 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.module.cjs +27 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.module.js +27 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.module.js.map +1 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.types.d.cts +79 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.types.d.cts.map +1 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.types.d.ts +80 -0
- package/dist/components/ds-autocomplete/ds-autocomplete.types.d.ts.map +1 -0
- package/dist/components/ds-autocomplete/index.cjs +1 -0
- package/dist/components/ds-autocomplete/index.d.ts +2 -0
- package/dist/components/ds-autocomplete/index.js +1 -0
- package/dist/components/ds-avatar/ds-avatar.module.js.map +1 -1
- package/dist/components/ds-avatar-group/ds-avatar-group.module.js.map +1 -1
- package/dist/components/ds-button/ds-button.d.cts +2 -2
- package/dist/components/ds-button/ds-button.d.cts.map +1 -1
- package/dist/components/ds-button/ds-button.d.ts +2 -2
- package/dist/components/ds-button/ds-button.d.ts.map +1 -1
- package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.cjs +23 -24
- package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.js +23 -24
- package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.js.map +1 -1
- package/dist/components/ds-button/versions/ds-button-new/ds-button-new.cjs +24 -25
- package/dist/components/ds-button/versions/ds-button-new/ds-button-new.js +24 -25
- package/dist/components/ds-button/versions/ds-button-new/ds-button-new.js.map +1 -1
- package/dist/components/ds-chip-group/hooks/use-chip-row-calculation.cjs +1 -0
- package/dist/components/ds-chip-group/hooks/use-chip-row-calculation.js +1 -0
- package/dist/components/ds-chip-group/hooks/use-chip-row-calculation.js.map +1 -1
- package/dist/components/ds-confirmation/ds-confirmation.cjs +20 -221
- package/dist/components/ds-confirmation/ds-confirmation.d.cts +22 -27
- package/dist/components/ds-confirmation/ds-confirmation.d.cts.map +1 -1
- package/dist/components/ds-confirmation/ds-confirmation.d.ts +22 -27
- package/dist/components/ds-confirmation/ds-confirmation.d.ts.map +1 -1
- package/dist/components/ds-confirmation/ds-confirmation.js +21 -221
- package/dist/components/ds-confirmation/ds-confirmation.js.map +1 -1
- package/dist/components/ds-confirmation/ds-confirmation.types.d.cts +2 -1
- package/dist/components/ds-confirmation/ds-confirmation.types.d.cts.map +1 -1
- package/dist/components/ds-confirmation/ds-confirmation.types.d.ts +2 -1
- package/dist/components/ds-confirmation/ds-confirmation.types.d.ts.map +1 -1
- package/dist/components/ds-date-input/ds-date-input.cjs +1 -1
- package/dist/components/ds-date-input/ds-date-input.d.cts +2 -2
- package/dist/components/ds-date-input/ds-date-input.d.cts.map +1 -1
- package/dist/components/ds-date-input/ds-date-input.d.ts +2 -2
- package/dist/components/ds-date-input/ds-date-input.js +1 -1
- package/dist/components/ds-date-input/ds-date-input.module.cjs +22 -22
- package/dist/components/ds-date-input/ds-date-input.module.js +22 -22
- package/dist/components/ds-date-input/ds-date-input.module.js.map +1 -1
- package/dist/components/ds-date-input/ds-date-input.utils.cjs +9 -2
- package/dist/components/ds-date-input/ds-date-input.utils.js +9 -2
- package/dist/components/ds-date-input/ds-date-input.utils.js.map +1 -1
- package/dist/components/ds-drawer/ds-drawer.cjs +4 -4
- package/dist/components/ds-drawer/ds-drawer.d.cts +9 -9
- package/dist/components/ds-drawer/ds-drawer.d.cts.map +1 -1
- package/dist/components/ds-drawer/ds-drawer.d.ts +9 -9
- package/dist/components/ds-drawer/ds-drawer.d.ts.map +1 -1
- package/dist/components/ds-drawer/ds-drawer.js +4 -4
- package/dist/components/ds-drawer/ds-drawer.js.map +1 -1
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.cjs +1 -1
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.js +1 -1
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.module.cjs +20 -20
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.module.js +20 -20
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.module.js.map +1 -1
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.types.d.cts +1 -1
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.types.d.cts.map +1 -1
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.types.d.ts +1 -1
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.types.d.ts.map +1 -1
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.cts +2 -2
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.ts +2 -2
- package/dist/components/ds-file-upload/utils/format-file-size.cjs +1 -1
- package/dist/components/ds-file-upload/utils/format-file-size.js +1 -1
- package/dist/components/ds-file-upload/utils/format-file-size.js.map +1 -1
- package/dist/components/ds-form-control/ds-form-control.cjs +2 -5
- package/dist/components/ds-form-control/ds-form-control.d.cts +8 -8
- package/dist/components/ds-form-control/ds-form-control.d.ts +8 -8
- package/dist/components/ds-form-control/ds-form-control.js +2 -5
- package/dist/components/ds-form-control/ds-form-control.js.map +1 -1
- package/dist/components/ds-loader/ds-loader.cjs +60 -0
- package/dist/components/ds-loader/ds-loader.d.cts +15 -0
- package/dist/components/ds-loader/ds-loader.d.cts.map +1 -0
- package/dist/components/ds-loader/ds-loader.d.ts +15 -0
- package/dist/components/ds-loader/ds-loader.d.ts.map +1 -0
- package/dist/components/ds-loader/ds-loader.js +59 -0
- package/dist/components/ds-loader/ds-loader.js.map +1 -0
- package/dist/components/ds-loader/ds-loader.module.cjs +15 -0
- package/dist/components/ds-loader/ds-loader.module.js +15 -0
- package/dist/components/ds-loader/ds-loader.module.js.map +1 -0
- package/dist/components/ds-loader/ds-loader.types.cjs +6 -0
- package/dist/components/ds-loader/ds-loader.types.d.cts +27 -0
- package/dist/components/ds-loader/ds-loader.types.d.cts.map +1 -0
- package/dist/components/ds-loader/ds-loader.types.d.ts +27 -0
- package/dist/components/ds-loader/ds-loader.types.d.ts.map +1 -0
- package/dist/components/ds-loader/ds-loader.types.js +6 -0
- package/dist/components/ds-loader/ds-loader.types.js.map +1 -0
- package/dist/components/ds-loader/index.cjs +2 -0
- package/dist/components/ds-loader/index.d.ts +2 -0
- package/dist/components/ds-loader/index.js +2 -0
- package/dist/components/ds-loader/pulsing-icon.cjs +37 -0
- package/dist/components/ds-loader/pulsing-icon.js +37 -0
- package/dist/components/ds-loader/pulsing-icon.js.map +1 -0
- package/dist/components/ds-loader/spinner-icon.cjs +74 -0
- package/dist/components/ds-loader/spinner-icon.js +74 -0
- package/dist/components/ds-loader/spinner-icon.js.map +1 -0
- package/dist/components/ds-modal/ds-modal.cjs +47 -48
- package/dist/components/ds-modal/ds-modal.d.cts +11 -10
- package/dist/components/ds-modal/ds-modal.d.cts.map +1 -1
- package/dist/components/ds-modal/ds-modal.d.ts +11 -10
- package/dist/components/ds-modal/ds-modal.d.ts.map +1 -1
- package/dist/components/ds-modal/ds-modal.js +47 -48
- package/dist/components/ds-modal/ds-modal.js.map +1 -1
- package/dist/components/ds-modal/ds-modal.module.cjs +24 -24
- package/dist/components/ds-modal/ds-modal.module.js +24 -24
- package/dist/components/ds-modal/ds-modal.module.js.map +1 -1
- package/dist/components/ds-modal/ds-modal.types.d.cts +10 -5
- package/dist/components/ds-modal/ds-modal.types.d.cts.map +1 -1
- package/dist/components/ds-modal/ds-modal.types.d.ts +10 -5
- package/dist/components/ds-modal/ds-modal.types.d.ts.map +1 -1
- package/dist/components/ds-panel/ds-panel.d.cts +2 -2
- package/dist/components/ds-panel/ds-panel.d.ts +2 -2
- package/dist/components/ds-select/ds-select.cjs +2 -2
- package/dist/components/ds-select/ds-select.d.cts +2 -2
- package/dist/components/ds-select/ds-select.d.ts +2 -2
- package/dist/components/ds-select/ds-select.js +2 -2
- package/dist/components/ds-select/ds-select.js.map +1 -1
- package/dist/components/ds-skeleton/ds-skeleton-circle.cjs +59 -0
- package/dist/components/ds-skeleton/ds-skeleton-circle.d.cts +18 -0
- package/dist/components/ds-skeleton/ds-skeleton-circle.d.cts.map +1 -0
- package/dist/components/ds-skeleton/ds-skeleton-circle.d.ts +18 -0
- package/dist/components/ds-skeleton/ds-skeleton-circle.d.ts.map +1 -0
- package/dist/components/ds-skeleton/ds-skeleton-circle.js +58 -0
- package/dist/components/ds-skeleton/ds-skeleton-circle.js.map +1 -0
- package/dist/components/ds-skeleton/ds-skeleton-rect.cjs +61 -0
- package/dist/components/ds-skeleton/ds-skeleton-rect.d.cts +18 -0
- package/dist/components/ds-skeleton/ds-skeleton-rect.d.cts.map +1 -0
- package/dist/components/ds-skeleton/ds-skeleton-rect.d.ts +18 -0
- package/dist/components/ds-skeleton/ds-skeleton-rect.d.ts.map +1 -0
- package/dist/components/ds-skeleton/ds-skeleton-rect.js +60 -0
- package/dist/components/ds-skeleton/ds-skeleton-rect.js.map +1 -0
- package/dist/components/ds-skeleton/ds-skeleton-text.cjs +91 -0
- package/dist/components/ds-skeleton/ds-skeleton-text.d.cts +21 -0
- package/dist/components/ds-skeleton/ds-skeleton-text.d.cts.map +1 -0
- package/dist/components/ds-skeleton/ds-skeleton-text.d.ts +21 -0
- package/dist/components/ds-skeleton/ds-skeleton-text.d.ts.map +1 -0
- package/dist/components/ds-skeleton/ds-skeleton-text.js +90 -0
- package/dist/components/ds-skeleton/ds-skeleton-text.js.map +1 -0
- package/dist/components/ds-skeleton/ds-skeleton.cjs +13 -0
- package/dist/components/ds-skeleton/ds-skeleton.config.cjs +62 -0
- package/dist/components/ds-skeleton/ds-skeleton.config.js +59 -0
- package/dist/components/ds-skeleton/ds-skeleton.config.js.map +1 -0
- package/dist/components/ds-skeleton/ds-skeleton.d.cts +32 -0
- package/dist/components/ds-skeleton/ds-skeleton.d.cts.map +1 -0
- package/dist/components/ds-skeleton/ds-skeleton.d.ts +32 -0
- package/dist/components/ds-skeleton/ds-skeleton.d.ts.map +1 -0
- package/dist/components/ds-skeleton/ds-skeleton.js +14 -0
- package/dist/components/ds-skeleton/ds-skeleton.js.map +1 -0
- package/dist/components/ds-skeleton/ds-skeleton.module.cjs +15 -0
- package/dist/components/ds-skeleton/ds-skeleton.module.js +15 -0
- package/dist/components/ds-skeleton/ds-skeleton.module.js.map +1 -0
- package/dist/components/ds-skeleton/ds-skeleton.types.cjs +8 -0
- package/dist/components/ds-skeleton/ds-skeleton.types.d.cts +91 -0
- package/dist/components/ds-skeleton/ds-skeleton.types.d.cts.map +1 -0
- package/dist/components/ds-skeleton/ds-skeleton.types.d.ts +93 -0
- package/dist/components/ds-skeleton/ds-skeleton.types.d.ts.map +1 -0
- package/dist/components/ds-skeleton/ds-skeleton.types.js +7 -0
- package/dist/components/ds-skeleton/ds-skeleton.types.js.map +1 -0
- package/dist/components/ds-skeleton/index.cjs +5 -0
- package/dist/components/ds-skeleton/index.d.ts +5 -0
- package/dist/components/ds-skeleton/index.js +5 -0
- package/dist/components/ds-smart-tabs/ds-smart-tabs.d.cts +2 -2
- package/dist/components/ds-smart-tabs/ds-smart-tabs.d.ts +2 -2
- package/dist/components/ds-smart-tabs/ds-smart-tabs.d.ts.map +1 -1
- package/dist/components/ds-spinner/ds-spinner.cjs +43 -45
- package/dist/components/ds-spinner/ds-spinner.js +43 -45
- package/dist/components/ds-spinner/ds-spinner.js.map +1 -1
- package/dist/components/ds-stepper/components/ds-step-content.d.cts +2 -2
- package/dist/components/ds-stepper/components/ds-step-content.d.ts +2 -2
- package/dist/components/ds-stepper/components/ds-step-next-button.d.cts +2 -2
- package/dist/components/ds-stepper/components/ds-step-next-button.d.ts +2 -2
- package/dist/components/ds-stepper/components/ds-step.d.cts +2 -2
- package/dist/components/ds-stepper/components/ds-step.d.ts +2 -2
- package/dist/components/ds-stepper/ds-stepper.d.cts +2 -2
- package/dist/components/ds-stepper/ds-stepper.d.ts +2 -2
- package/dist/components/ds-table/components/core-table/core-table.cjs +82 -185
- package/dist/components/ds-table/components/core-table/core-table.js +82 -185
- package/dist/components/ds-table/components/core-table/core-table.js.map +1 -1
- package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.cjs +61 -72
- package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.js +61 -72
- package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.js.map +1 -1
- package/dist/components/ds-table/components/ds-table-row/ds-table-row.cjs +80 -81
- package/dist/components/ds-table/components/ds-table-row/ds-table-row.js +80 -81
- package/dist/components/ds-table/components/ds-table-row/ds-table-row.js.map +1 -1
- package/dist/components/ds-table/ds-table.cjs +3 -3
- package/dist/components/ds-table/ds-table.d.cts +2 -3
- package/dist/components/ds-table/ds-table.d.cts.map +1 -1
- package/dist/components/ds-table/ds-table.d.ts +2 -3
- package/dist/components/ds-table/ds-table.d.ts.map +1 -1
- package/dist/components/ds-table/ds-table.js +3 -3
- package/dist/components/ds-table/ds-table.js.map +1 -1
- package/dist/components/ds-table/ds-table.types.d.cts +0 -4
- package/dist/components/ds-table/ds-table.types.d.cts.map +1 -1
- package/dist/components/ds-table/ds-table.types.d.ts +0 -4
- package/dist/components/ds-table/ds-table.types.d.ts.map +1 -1
- package/dist/components/ds-table/filters/adapters/create-dual-range-filter-adapter.cjs +7 -4
- package/dist/components/ds-table/filters/adapters/create-dual-range-filter-adapter.js +7 -4
- package/dist/components/ds-table/filters/adapters/create-dual-range-filter-adapter.js.map +1 -1
- package/dist/components/ds-table/filters/hooks/index.d.ts +1 -1
- package/dist/components/ds-table/filters/hooks/use-table-filters.cjs +180 -178
- package/dist/components/ds-table/filters/hooks/use-table-filters.d.cts +58 -25
- package/dist/components/ds-table/filters/hooks/use-table-filters.d.cts.map +1 -1
- package/dist/components/ds-table/filters/hooks/use-table-filters.d.ts +58 -25
- package/dist/components/ds-table/filters/hooks/use-table-filters.d.ts.map +1 -1
- package/dist/components/ds-table/filters/hooks/use-table-filters.js +180 -178
- package/dist/components/ds-table/filters/hooks/use-table-filters.js.map +1 -1
- package/dist/components/ds-table/filters/index.d.ts +1 -1
- package/dist/components/ds-table/index.d.ts +1 -1
- package/dist/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.cjs +37 -0
- package/dist/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.js +36 -0
- package/dist/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.js.map +1 -0
- package/dist/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.module.cjs +9 -0
- package/dist/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.module.js +9 -0
- package/dist/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.module.js.map +1 -0
- package/dist/components/ds-tabs/components/ds-tabs-content/index.cjs +1 -0
- package/dist/components/ds-tabs/components/ds-tabs-content/index.js +1 -0
- package/dist/components/ds-tabs/components/ds-tabs-list/ds-tabs-indicator.module.cjs +6 -0
- package/dist/components/ds-tabs/components/ds-tabs-list/ds-tabs-indicator.module.js +6 -0
- package/dist/components/ds-tabs/components/ds-tabs-list/ds-tabs-indicator.module.js.map +1 -0
- package/dist/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.cjs +41 -0
- package/dist/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.js +40 -0
- package/dist/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.js.map +1 -0
- package/dist/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.module.cjs +6 -0
- package/dist/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.module.js +6 -0
- package/dist/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.module.js.map +1 -0
- package/dist/components/ds-tabs/components/ds-tabs-list/index.cjs +1 -0
- package/dist/components/ds-tabs/components/ds-tabs-list/index.js +1 -0
- package/dist/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.cjs +178 -0
- package/dist/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.js +177 -0
- package/dist/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.js.map +1 -0
- package/dist/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.module.cjs +15 -0
- package/dist/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.module.js +15 -0
- package/dist/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.module.js.map +1 -0
- package/dist/components/ds-tabs/components/ds-tabs-tab/index.cjs +1 -0
- package/dist/components/ds-tabs/components/ds-tabs-tab/index.js +1 -0
- package/dist/components/ds-tabs/ds-tabs.cjs +71 -0
- package/dist/components/ds-tabs/ds-tabs.d.cts +43 -0
- package/dist/components/ds-tabs/ds-tabs.d.cts.map +1 -0
- package/dist/components/ds-tabs/ds-tabs.d.ts +43 -0
- package/dist/components/ds-tabs/ds-tabs.d.ts.map +1 -0
- package/dist/components/ds-tabs/ds-tabs.js +70 -0
- package/dist/components/ds-tabs/ds-tabs.js.map +1 -0
- package/dist/components/ds-tabs/ds-tabs.module.cjs +6 -0
- package/dist/components/ds-tabs/ds-tabs.module.js +6 -0
- package/dist/components/ds-tabs/ds-tabs.module.js.map +1 -0
- package/dist/components/ds-tabs/ds-tabs.types.d.cts +91 -0
- package/dist/components/ds-tabs/ds-tabs.types.d.cts.map +1 -0
- package/dist/components/ds-tabs/ds-tabs.types.d.ts +92 -0
- package/dist/components/ds-tabs/ds-tabs.types.d.ts.map +1 -0
- package/dist/components/ds-tabs/index.cjs +1 -0
- package/dist/components/ds-tabs/index.d.ts +2 -0
- package/dist/components/ds-tabs/index.js +1 -0
- package/dist/components/ds-tag/ds-tag.d.cts +2 -2
- package/dist/components/ds-tag/ds-tag.d.ts +2 -2
- package/dist/components/ds-tag-filter/ds-tag-filter.d.cts +2 -2
- package/dist/components/ds-tag-filter/ds-tag-filter.d.ts +2 -2
- package/dist/components/ds-toggle/ds-toggle.d.cts +2 -2
- package/dist/components/ds-toggle/ds-toggle.d.ts +2 -2
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.cts +5 -5
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.ts +5 -5
- package/dist/index.cjs +24 -1
- package/dist/index.d.cts +15 -4
- package/dist/index.d.ts +20 -5
- package/dist/index.js +15 -2
- package/dist/index.min.css +1 -1
- package/package.json +5 -3
- package/src/components/ds-autocomplete/ds-autocomplete.module.scss +257 -0
- package/src/components/ds-autocomplete/ds-autocomplete.tsx +130 -0
- package/src/components/ds-autocomplete/ds-autocomplete.types.tsx +76 -0
- package/src/components/ds-autocomplete/index.ts +2 -0
- package/src/components/ds-avatar/ds-avatar.module.scss +1 -1
- package/src/components/ds-avatar-group/ds-avatar-group.module.scss +1 -1
- package/src/components/ds-button/versions/ds-button-legacy/ds-button-legacy.tsx +1 -7
- package/src/components/ds-button/versions/ds-button-new/ds-button-new.tsx +4 -2
- package/src/components/ds-chip-group/hooks/use-chip-row-calculation.ts +5 -0
- package/src/components/ds-confirmation/ds-confirmation.tsx +11 -115
- package/src/components/ds-confirmation/ds-confirmation.types.tsx +2 -1
- package/src/components/ds-date-input/ds-date-input.module.scss +1 -0
- package/src/components/ds-date-input/ds-date-input.utils.ts +16 -2
- package/src/components/ds-drawer/ds-drawer.tsx +4 -1
- package/src/components/ds-dropdown-menu/ds-dropdown-menu.module.scss +0 -1
- package/src/components/ds-dropdown-menu/ds-dropdown-menu.types.tsx +4 -1
- package/src/components/ds-file-upload/utils/format-file-size.ts +1 -1
- package/src/components/ds-form-control/ds-form-control.tsx +9 -2
- package/src/components/ds-loader/ds-loader.module.scss +57 -0
- package/src/components/ds-loader/ds-loader.tsx +18 -0
- package/src/components/ds-loader/ds-loader.types.ts +24 -0
- package/src/components/ds-loader/index.ts +2 -0
- package/src/components/ds-loader/pulsing-icon.tsx +17 -0
- package/src/components/ds-loader/spinner-icon.tsx +37 -0
- package/src/components/ds-modal/ds-modal.module.scss +123 -60
- package/src/components/ds-modal/ds-modal.tsx +12 -3
- package/src/components/ds-modal/ds-modal.types.tsx +14 -5
- package/src/components/ds-select/ds-select.tsx +1 -1
- package/src/components/ds-skeleton/ds-skeleton-circle.tsx +29 -0
- package/src/components/ds-skeleton/ds-skeleton-rect.tsx +36 -0
- package/src/components/ds-skeleton/ds-skeleton-text.tsx +49 -0
- package/src/components/ds-skeleton/ds-skeleton.config.ts +68 -0
- package/src/components/ds-skeleton/ds-skeleton.module.scss +72 -0
- package/src/components/ds-skeleton/ds-skeleton.tsx +9 -0
- package/src/components/ds-skeleton/ds-skeleton.types.ts +92 -0
- package/src/components/ds-skeleton/index.ts +5 -0
- package/src/components/ds-spinner/ds-spinner.tsx +1 -1
- package/src/components/ds-table/components/core-table/core-table.tsx +16 -16
- package/src/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.tsx +10 -13
- package/src/components/ds-table/components/ds-table-row/ds-table-row.tsx +0 -2
- package/src/components/ds-table/ds-table.tsx +6 -5
- package/src/components/ds-table/ds-table.types.ts +0 -5
- package/src/components/ds-table/filters/adapters/create-dual-range-filter-adapter.tsx +2 -4
- package/src/components/ds-table/filters/hooks/index.ts +1 -1
- package/src/components/ds-table/filters/hooks/use-table-filters.ts +118 -112
- package/src/components/ds-table/utils/story-data-generator.ts +7 -7
- package/src/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.module.scss +22 -0
- package/src/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.tsx +12 -0
- package/src/components/ds-tabs/components/ds-tabs-content/index.ts +1 -0
- package/src/components/ds-tabs/components/ds-tabs-list/ds-tabs-indicator.module.scss +31 -0
- package/src/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.module.scss +27 -0
- package/src/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.tsx +14 -0
- package/src/components/ds-tabs/components/ds-tabs-list/index.ts +1 -0
- package/src/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.module.scss +242 -0
- package/src/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.tsx +130 -0
- package/src/components/ds-tabs/components/ds-tabs-tab/index.ts +1 -0
- package/src/components/ds-tabs/ds-tabs.module.scss +14 -0
- package/src/components/ds-tabs/ds-tabs.tsx +46 -0
- package/src/components/ds-tabs/ds-tabs.types.ts +97 -0
- package/src/components/ds-tabs/index.ts +2 -0
- package/src/index.ts +4 -0
- package/src/styles/shared/_modal.scss +0 -123
- package/dist/components/ds-confirmation/ds-confirmation.module.cjs +0 -21
- package/dist/components/ds-confirmation/ds-confirmation.module.js +0 -21
- package/dist/components/ds-confirmation/ds-confirmation.module.js.map +0 -1
- package/src/components/ds-confirmation/ds-confirmation.module.scss +0 -58
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @drivenets/design-system
|
|
2
2
|
|
|
3
|
+
## 0.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 888480d: Fix tab not closing
|
|
8
|
+
- f924d2f: - Add layout and variant (info) props to `DsModal`
|
|
9
|
+
- Deprecate `DsConfirmation`
|
|
10
|
+
- 8e01acd: Add `DSAutocomplete` component
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 87f96dd: Fix dropdown z-index issue
|
|
15
|
+
- 6d5f4f0: Add support for controlled table filters
|
|
16
|
+
|
|
17
|
+
## 0.3.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- 072854f: Add `DsTabs` component
|
|
22
|
+
- f36f9f4: - Add `DsSkeleton` component
|
|
23
|
+
- Add `DsLoader` component
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- 393cf6d: Fix the date input min-width
|
|
28
|
+
|
|
3
29
|
## 0.2.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DsAlertBannerProps } from "./ds-alert-banner.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import { CSSProperties, ReactNode } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ds-alert-banner/ds-alert-banner.d.ts
|
|
@@ -19,7 +19,7 @@ declare const DsAlertBanner: {
|
|
|
19
19
|
className,
|
|
20
20
|
style,
|
|
21
21
|
children
|
|
22
|
-
}: DsAlertBannerProps):
|
|
22
|
+
}: DsAlertBannerProps): react_jsx_runtime0.JSX.Element | null;
|
|
23
23
|
Title: ({
|
|
24
24
|
style,
|
|
25
25
|
className,
|
|
@@ -28,7 +28,7 @@ declare const DsAlertBanner: {
|
|
|
28
28
|
style?: CSSProperties;
|
|
29
29
|
className?: string;
|
|
30
30
|
children: ReactNode;
|
|
31
|
-
}) =>
|
|
31
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
32
32
|
Body: ({
|
|
33
33
|
style,
|
|
34
34
|
className,
|
|
@@ -37,7 +37,7 @@ declare const DsAlertBanner: {
|
|
|
37
37
|
style?: CSSProperties;
|
|
38
38
|
className?: string;
|
|
39
39
|
children: ReactNode;
|
|
40
|
-
}) =>
|
|
40
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
41
41
|
Actions: ({
|
|
42
42
|
style,
|
|
43
43
|
className,
|
|
@@ -46,7 +46,7 @@ declare const DsAlertBanner: {
|
|
|
46
46
|
style?: CSSProperties;
|
|
47
47
|
className?: string;
|
|
48
48
|
children: ReactNode;
|
|
49
|
-
}) =>
|
|
49
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
50
50
|
};
|
|
51
51
|
//#endregion
|
|
52
52
|
export { DsAlertBanner };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ds-alert-banner.d.ts","names":[],"sources":["../../../src/components/ds-alert-banner/ds-alert-banner.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAGkE;cAQ5D;;;;;;;;;;;KAUH,qBAAkB,
|
|
1
|
+
{"version":3,"file":"ds-alert-banner.d.ts","names":[],"sources":["../../../src/components/ds-alert-banner/ds-alert-banner.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAGkE;cAQ5D;;;;;;;;;;;KAUH,qBAAkB,kBAAA,CAAA,GAAA,CAAA,OAAA;;;;;;YAoDZ;;cAEE;QACV,kBAAA,CAAA,GAAA,CAAA;;;;;;YAWQ;IAlEN,SAAA,CAAA,EAAA,MAAA;IAAkB,QAAA,EAoEV,SApEU;QAqEpB,kBAAA,CAAA,GAAA,CAAA;;;;;EAdA;YAyBQ;IA5BA,SAAA,CAAA,EAAA,MAAA;IAEE,QAAA,EA4BA,SA5BA;EACV,CAAA,EAAA,GA4BA,kBAAA,CAAA,GAAA,CAAA,OA5BA"}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_ds_icon = require('../ds-icon/ds-icon.cjs');
|
|
3
|
+
require('../ds-icon/index.cjs');
|
|
4
|
+
const require_ds_autocomplete_module = require('./ds-autocomplete.module.cjs');
|
|
5
|
+
let react_compiler_runtime = require("react/compiler-runtime");
|
|
6
|
+
let classnames = require("classnames");
|
|
7
|
+
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
8
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
|
+
let __ark_ui_react_combobox = require("@ark-ui/react/combobox");
|
|
10
|
+
let __ark_ui_react_locale = require("@ark-ui/react/locale");
|
|
11
|
+
let __ark_ui_react_highlight = require("@ark-ui/react/highlight");
|
|
12
|
+
let __ark_ui_react_portal = require("@ark-ui/react/portal");
|
|
13
|
+
|
|
14
|
+
//#region src/components/ds-autocomplete/ds-autocomplete.tsx
|
|
15
|
+
const DsAutocomplete = (t0) => {
|
|
16
|
+
const $ = (0, react_compiler_runtime.c)(45);
|
|
17
|
+
const { id, options, style, className, placeholder: t1, disabled: t2, invalid: t3, onValueChange, onInputValueChange, noMatchesMessage: t4, highlightMatch: t5, showTrigger: t6, startAdornment } = t0;
|
|
18
|
+
const placeholder = t1 === void 0 ? "Start typing to search..." : t1;
|
|
19
|
+
const disabled = t2 === void 0 ? false : t2;
|
|
20
|
+
const invalid = t3 === void 0 ? false : t3;
|
|
21
|
+
const noMatchesMessage = t4 === void 0 ? "No matches found" : t4;
|
|
22
|
+
const highlightMatch = t5 === void 0 ? true : t5;
|
|
23
|
+
const showTrigger = t6 === void 0 ? true : t6;
|
|
24
|
+
let t7;
|
|
25
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
26
|
+
t7 = { sensitivity: "base" };
|
|
27
|
+
$[0] = t7;
|
|
28
|
+
} else t7 = $[0];
|
|
29
|
+
const filterUtils = (0, __ark_ui_react_locale.useFilter)(t7);
|
|
30
|
+
let t8;
|
|
31
|
+
if ($[1] !== options) {
|
|
32
|
+
t8 = options.map(_temp);
|
|
33
|
+
$[1] = options;
|
|
34
|
+
$[2] = t8;
|
|
35
|
+
} else t8 = $[2];
|
|
36
|
+
let t9;
|
|
37
|
+
if ($[3] !== filterUtils) {
|
|
38
|
+
t9 = (item, query) => filterUtils.contains(item, query);
|
|
39
|
+
$[3] = filterUtils;
|
|
40
|
+
$[4] = t9;
|
|
41
|
+
} else t9 = $[4];
|
|
42
|
+
let t10;
|
|
43
|
+
if ($[5] !== t8 || $[6] !== t9) {
|
|
44
|
+
t10 = {
|
|
45
|
+
initialItems: t8,
|
|
46
|
+
filter: t9
|
|
47
|
+
};
|
|
48
|
+
$[5] = t8;
|
|
49
|
+
$[6] = t9;
|
|
50
|
+
$[7] = t10;
|
|
51
|
+
} else t10 = $[7];
|
|
52
|
+
const { collection, filter } = (0, __ark_ui_react_combobox.useListCollection)(t10);
|
|
53
|
+
let t11;
|
|
54
|
+
if ($[8] !== filter || $[9] !== onInputValueChange) {
|
|
55
|
+
t11 = (details) => {
|
|
56
|
+
filter(details.inputValue);
|
|
57
|
+
onInputValueChange?.(details.inputValue);
|
|
58
|
+
};
|
|
59
|
+
$[8] = filter;
|
|
60
|
+
$[9] = onInputValueChange;
|
|
61
|
+
$[10] = t11;
|
|
62
|
+
} else t11 = $[10];
|
|
63
|
+
const handleInputValueChange = t11;
|
|
64
|
+
let t12;
|
|
65
|
+
if ($[11] !== onValueChange || $[12] !== options) {
|
|
66
|
+
t12 = (details_0) => {
|
|
67
|
+
const selectedLabel = details_0.value[0];
|
|
68
|
+
if (!selectedLabel) return;
|
|
69
|
+
const selectedOption = options.find((opt_0) => opt_0.label === selectedLabel);
|
|
70
|
+
if (selectedOption) onValueChange?.(selectedOption.value);
|
|
71
|
+
};
|
|
72
|
+
$[11] = onValueChange;
|
|
73
|
+
$[12] = options;
|
|
74
|
+
$[13] = t12;
|
|
75
|
+
} else t12 = $[13];
|
|
76
|
+
const handleValueChange = t12;
|
|
77
|
+
let t13;
|
|
78
|
+
if ($[14] !== className || $[15] !== disabled || $[16] !== invalid) {
|
|
79
|
+
t13 = (0, classnames.default)(require_ds_autocomplete_module.default.root, {
|
|
80
|
+
[require_ds_autocomplete_module.default.disabled]: disabled,
|
|
81
|
+
[require_ds_autocomplete_module.default.invalid]: invalid
|
|
82
|
+
}, className);
|
|
83
|
+
$[14] = className;
|
|
84
|
+
$[15] = disabled;
|
|
85
|
+
$[16] = invalid;
|
|
86
|
+
$[17] = t13;
|
|
87
|
+
} else t13 = $[17];
|
|
88
|
+
const rootClass = t13;
|
|
89
|
+
let t14;
|
|
90
|
+
if ($[18] !== startAdornment) {
|
|
91
|
+
t14 = startAdornment && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
92
|
+
className: require_ds_autocomplete_module.default.startAdornment,
|
|
93
|
+
children: startAdornment
|
|
94
|
+
});
|
|
95
|
+
$[18] = startAdornment;
|
|
96
|
+
$[19] = t14;
|
|
97
|
+
} else t14 = $[19];
|
|
98
|
+
let t15;
|
|
99
|
+
if ($[20] !== placeholder) {
|
|
100
|
+
t15 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__ark_ui_react_combobox.Combobox.Input, {
|
|
101
|
+
className: require_ds_autocomplete_module.default.input,
|
|
102
|
+
placeholder
|
|
103
|
+
});
|
|
104
|
+
$[20] = placeholder;
|
|
105
|
+
$[21] = t15;
|
|
106
|
+
} else t15 = $[21];
|
|
107
|
+
let t16;
|
|
108
|
+
if ($[22] !== disabled || $[23] !== showTrigger) {
|
|
109
|
+
t16 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__ark_ui_react_combobox.Combobox.Context, { children: (context) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
110
|
+
className: require_ds_autocomplete_module.default.iconContainer,
|
|
111
|
+
children: [context.inputValue && !disabled && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__ark_ui_react_combobox.Combobox.ClearTrigger, {
|
|
112
|
+
className: require_ds_autocomplete_module.default.clearButton,
|
|
113
|
+
"aria-label": "Clear",
|
|
114
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_icon.default, {
|
|
115
|
+
icon: "close",
|
|
116
|
+
size: "medium"
|
|
117
|
+
})
|
|
118
|
+
}), showTrigger && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__ark_ui_react_combobox.Combobox.Trigger, {
|
|
119
|
+
className: require_ds_autocomplete_module.default.trigger,
|
|
120
|
+
"aria-label": "Toggle dropdown",
|
|
121
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_icon.default, {
|
|
122
|
+
icon: "keyboard_arrow_down",
|
|
123
|
+
size: "medium"
|
|
124
|
+
})
|
|
125
|
+
})]
|
|
126
|
+
}) });
|
|
127
|
+
$[22] = disabled;
|
|
128
|
+
$[23] = showTrigger;
|
|
129
|
+
$[24] = t16;
|
|
130
|
+
} else t16 = $[24];
|
|
131
|
+
let t17;
|
|
132
|
+
if ($[25] !== t14 || $[26] !== t15 || $[27] !== t16) {
|
|
133
|
+
t17 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__ark_ui_react_combobox.Combobox.Control, {
|
|
134
|
+
className: require_ds_autocomplete_module.default.control,
|
|
135
|
+
children: [
|
|
136
|
+
t14,
|
|
137
|
+
t15,
|
|
138
|
+
t16
|
|
139
|
+
]
|
|
140
|
+
});
|
|
141
|
+
$[25] = t14;
|
|
142
|
+
$[26] = t15;
|
|
143
|
+
$[27] = t16;
|
|
144
|
+
$[28] = t17;
|
|
145
|
+
} else t17 = $[28];
|
|
146
|
+
let t18;
|
|
147
|
+
if ($[29] !== collection.items || $[30] !== highlightMatch || $[31] !== noMatchesMessage || $[32] !== options) {
|
|
148
|
+
t18 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__ark_ui_react_portal.Portal, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__ark_ui_react_combobox.Combobox.Positioner, {
|
|
149
|
+
className: require_ds_autocomplete_module.default.positioner,
|
|
150
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__ark_ui_react_combobox.Combobox.Content, {
|
|
151
|
+
className: require_ds_autocomplete_module.default.content,
|
|
152
|
+
children: collection.items.length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
153
|
+
className: require_ds_autocomplete_module.default.noMatches,
|
|
154
|
+
children: noMatchesMessage
|
|
155
|
+
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__ark_ui_react_combobox.Combobox.ItemGroup, {
|
|
156
|
+
className: require_ds_autocomplete_module.default.itemGroup,
|
|
157
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__ark_ui_react_combobox.Combobox.Context, { children: (context_0) => collection.items.map((item_0) => {
|
|
158
|
+
const option = options.find((opt_1) => opt_1.label === item_0);
|
|
159
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__ark_ui_react_combobox.Combobox.Item, {
|
|
160
|
+
item: item_0,
|
|
161
|
+
className: require_ds_autocomplete_module.default.item,
|
|
162
|
+
children: [option?.icon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_icon.default, {
|
|
163
|
+
className: require_ds_autocomplete_module.default.itemIcon,
|
|
164
|
+
icon: option.icon,
|
|
165
|
+
"aria-hidden": "true"
|
|
166
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__ark_ui_react_combobox.Combobox.ItemText, {
|
|
167
|
+
className: require_ds_autocomplete_module.default.itemText,
|
|
168
|
+
children: highlightMatch ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__ark_ui_react_highlight.Highlight, {
|
|
169
|
+
query: context_0.inputValue,
|
|
170
|
+
text: item_0,
|
|
171
|
+
ignoreCase: true
|
|
172
|
+
}) : item_0
|
|
173
|
+
})]
|
|
174
|
+
}, item_0);
|
|
175
|
+
}) })
|
|
176
|
+
})
|
|
177
|
+
})
|
|
178
|
+
}) });
|
|
179
|
+
$[29] = collection.items;
|
|
180
|
+
$[30] = highlightMatch;
|
|
181
|
+
$[31] = noMatchesMessage;
|
|
182
|
+
$[32] = options;
|
|
183
|
+
$[33] = t18;
|
|
184
|
+
} else t18 = $[33];
|
|
185
|
+
let t19;
|
|
186
|
+
if ($[34] !== collection || $[35] !== disabled || $[36] !== handleInputValueChange || $[37] !== handleValueChange || $[38] !== id || $[39] !== invalid || $[40] !== rootClass || $[41] !== style || $[42] !== t17 || $[43] !== t18) {
|
|
187
|
+
t19 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__ark_ui_react_combobox.Combobox.Root, {
|
|
188
|
+
id,
|
|
189
|
+
collection,
|
|
190
|
+
className: rootClass,
|
|
191
|
+
style,
|
|
192
|
+
disabled,
|
|
193
|
+
invalid,
|
|
194
|
+
onInputValueChange: handleInputValueChange,
|
|
195
|
+
onValueChange: handleValueChange,
|
|
196
|
+
closeOnSelect: true,
|
|
197
|
+
children: [t17, t18]
|
|
198
|
+
});
|
|
199
|
+
$[34] = collection;
|
|
200
|
+
$[35] = disabled;
|
|
201
|
+
$[36] = handleInputValueChange;
|
|
202
|
+
$[37] = handleValueChange;
|
|
203
|
+
$[38] = id;
|
|
204
|
+
$[39] = invalid;
|
|
205
|
+
$[40] = rootClass;
|
|
206
|
+
$[41] = style;
|
|
207
|
+
$[42] = t17;
|
|
208
|
+
$[43] = t18;
|
|
209
|
+
$[44] = t19;
|
|
210
|
+
} else t19 = $[44];
|
|
211
|
+
return t19;
|
|
212
|
+
};
|
|
213
|
+
function _temp(opt) {
|
|
214
|
+
return opt.label;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
//#endregion
|
|
218
|
+
exports.DsAutocomplete = DsAutocomplete;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DsAutocompleteProps } from "./ds-autocomplete.types.cjs";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ds-autocomplete/ds-autocomplete.d.ts
|
|
5
|
+
declare const DsAutocomplete: ({
|
|
6
|
+
id,
|
|
7
|
+
options,
|
|
8
|
+
style,
|
|
9
|
+
className,
|
|
10
|
+
placeholder,
|
|
11
|
+
disabled,
|
|
12
|
+
invalid,
|
|
13
|
+
onValueChange,
|
|
14
|
+
onInputValueChange,
|
|
15
|
+
noMatchesMessage,
|
|
16
|
+
highlightMatch,
|
|
17
|
+
showTrigger,
|
|
18
|
+
startAdornment
|
|
19
|
+
}: DsAutocompleteProps) => react_jsx_runtime0.JSX.Element;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { DsAutocomplete };
|
|
22
|
+
//# sourceMappingURL=ds-autocomplete.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-autocomplete.d.cts","names":[],"sources":["../../../src/components/ds-autocomplete/ds-autocomplete.tsx"],"sourcesContent":[],"mappings":";;;;cASa;;;;;;;;;;;;;;GAcV,wBAAmB,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DsAutocompleteProps } from "./ds-autocomplete.types.js";
|
|
2
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ds-autocomplete/ds-autocomplete.d.ts
|
|
5
|
+
declare const DsAutocomplete: ({
|
|
6
|
+
id,
|
|
7
|
+
options,
|
|
8
|
+
style,
|
|
9
|
+
className,
|
|
10
|
+
placeholder,
|
|
11
|
+
disabled,
|
|
12
|
+
invalid,
|
|
13
|
+
onValueChange,
|
|
14
|
+
onInputValueChange,
|
|
15
|
+
noMatchesMessage,
|
|
16
|
+
highlightMatch,
|
|
17
|
+
showTrigger,
|
|
18
|
+
startAdornment
|
|
19
|
+
}: DsAutocompleteProps) => react_jsx_runtime12.JSX.Element;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { DsAutocomplete };
|
|
22
|
+
//# sourceMappingURL=ds-autocomplete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-autocomplete.d.ts","names":[],"sources":["../../../src/components/ds-autocomplete/ds-autocomplete.tsx"],"sourcesContent":[],"mappings":";;;;cASa;;;;;;;;;;;;;;GAcV,wBAAmB,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import ds_icon_default from "../ds-icon/ds-icon.js";
|
|
2
|
+
import "../ds-icon/index.js";
|
|
3
|
+
import ds_autocomplete_module_default from "./ds-autocomplete.module.js";
|
|
4
|
+
import { c } from "react/compiler-runtime";
|
|
5
|
+
import classNames from "classnames";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
import { Combobox, useListCollection } from "@ark-ui/react/combobox";
|
|
8
|
+
import { useFilter } from "@ark-ui/react/locale";
|
|
9
|
+
import { Highlight } from "@ark-ui/react/highlight";
|
|
10
|
+
import { Portal } from "@ark-ui/react/portal";
|
|
11
|
+
|
|
12
|
+
//#region src/components/ds-autocomplete/ds-autocomplete.tsx
|
|
13
|
+
const DsAutocomplete = (t0) => {
|
|
14
|
+
const $ = c(45);
|
|
15
|
+
const { id, options, style, className, placeholder: t1, disabled: t2, invalid: t3, onValueChange, onInputValueChange, noMatchesMessage: t4, highlightMatch: t5, showTrigger: t6, startAdornment } = t0;
|
|
16
|
+
const placeholder = t1 === void 0 ? "Start typing to search..." : t1;
|
|
17
|
+
const disabled = t2 === void 0 ? false : t2;
|
|
18
|
+
const invalid = t3 === void 0 ? false : t3;
|
|
19
|
+
const noMatchesMessage = t4 === void 0 ? "No matches found" : t4;
|
|
20
|
+
const highlightMatch = t5 === void 0 ? true : t5;
|
|
21
|
+
const showTrigger = t6 === void 0 ? true : t6;
|
|
22
|
+
let t7;
|
|
23
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
24
|
+
t7 = { sensitivity: "base" };
|
|
25
|
+
$[0] = t7;
|
|
26
|
+
} else t7 = $[0];
|
|
27
|
+
const filterUtils = useFilter(t7);
|
|
28
|
+
let t8;
|
|
29
|
+
if ($[1] !== options) {
|
|
30
|
+
t8 = options.map(_temp);
|
|
31
|
+
$[1] = options;
|
|
32
|
+
$[2] = t8;
|
|
33
|
+
} else t8 = $[2];
|
|
34
|
+
let t9;
|
|
35
|
+
if ($[3] !== filterUtils) {
|
|
36
|
+
t9 = (item, query) => filterUtils.contains(item, query);
|
|
37
|
+
$[3] = filterUtils;
|
|
38
|
+
$[4] = t9;
|
|
39
|
+
} else t9 = $[4];
|
|
40
|
+
let t10;
|
|
41
|
+
if ($[5] !== t8 || $[6] !== t9) {
|
|
42
|
+
t10 = {
|
|
43
|
+
initialItems: t8,
|
|
44
|
+
filter: t9
|
|
45
|
+
};
|
|
46
|
+
$[5] = t8;
|
|
47
|
+
$[6] = t9;
|
|
48
|
+
$[7] = t10;
|
|
49
|
+
} else t10 = $[7];
|
|
50
|
+
const { collection, filter } = useListCollection(t10);
|
|
51
|
+
let t11;
|
|
52
|
+
if ($[8] !== filter || $[9] !== onInputValueChange) {
|
|
53
|
+
t11 = (details) => {
|
|
54
|
+
filter(details.inputValue);
|
|
55
|
+
onInputValueChange?.(details.inputValue);
|
|
56
|
+
};
|
|
57
|
+
$[8] = filter;
|
|
58
|
+
$[9] = onInputValueChange;
|
|
59
|
+
$[10] = t11;
|
|
60
|
+
} else t11 = $[10];
|
|
61
|
+
const handleInputValueChange = t11;
|
|
62
|
+
let t12;
|
|
63
|
+
if ($[11] !== onValueChange || $[12] !== options) {
|
|
64
|
+
t12 = (details_0) => {
|
|
65
|
+
const selectedLabel = details_0.value[0];
|
|
66
|
+
if (!selectedLabel) return;
|
|
67
|
+
const selectedOption = options.find((opt_0) => opt_0.label === selectedLabel);
|
|
68
|
+
if (selectedOption) onValueChange?.(selectedOption.value);
|
|
69
|
+
};
|
|
70
|
+
$[11] = onValueChange;
|
|
71
|
+
$[12] = options;
|
|
72
|
+
$[13] = t12;
|
|
73
|
+
} else t12 = $[13];
|
|
74
|
+
const handleValueChange = t12;
|
|
75
|
+
let t13;
|
|
76
|
+
if ($[14] !== className || $[15] !== disabled || $[16] !== invalid) {
|
|
77
|
+
t13 = classNames(ds_autocomplete_module_default.root, {
|
|
78
|
+
[ds_autocomplete_module_default.disabled]: disabled,
|
|
79
|
+
[ds_autocomplete_module_default.invalid]: invalid
|
|
80
|
+
}, className);
|
|
81
|
+
$[14] = className;
|
|
82
|
+
$[15] = disabled;
|
|
83
|
+
$[16] = invalid;
|
|
84
|
+
$[17] = t13;
|
|
85
|
+
} else t13 = $[17];
|
|
86
|
+
const rootClass = t13;
|
|
87
|
+
let t14;
|
|
88
|
+
if ($[18] !== startAdornment) {
|
|
89
|
+
t14 = startAdornment && /* @__PURE__ */ jsx("span", {
|
|
90
|
+
className: ds_autocomplete_module_default.startAdornment,
|
|
91
|
+
children: startAdornment
|
|
92
|
+
});
|
|
93
|
+
$[18] = startAdornment;
|
|
94
|
+
$[19] = t14;
|
|
95
|
+
} else t14 = $[19];
|
|
96
|
+
let t15;
|
|
97
|
+
if ($[20] !== placeholder) {
|
|
98
|
+
t15 = /* @__PURE__ */ jsx(Combobox.Input, {
|
|
99
|
+
className: ds_autocomplete_module_default.input,
|
|
100
|
+
placeholder
|
|
101
|
+
});
|
|
102
|
+
$[20] = placeholder;
|
|
103
|
+
$[21] = t15;
|
|
104
|
+
} else t15 = $[21];
|
|
105
|
+
let t16;
|
|
106
|
+
if ($[22] !== disabled || $[23] !== showTrigger) {
|
|
107
|
+
t16 = /* @__PURE__ */ jsx(Combobox.Context, { children: (context) => /* @__PURE__ */ jsxs("div", {
|
|
108
|
+
className: ds_autocomplete_module_default.iconContainer,
|
|
109
|
+
children: [context.inputValue && !disabled && /* @__PURE__ */ jsx(Combobox.ClearTrigger, {
|
|
110
|
+
className: ds_autocomplete_module_default.clearButton,
|
|
111
|
+
"aria-label": "Clear",
|
|
112
|
+
children: /* @__PURE__ */ jsx(ds_icon_default, {
|
|
113
|
+
icon: "close",
|
|
114
|
+
size: "medium"
|
|
115
|
+
})
|
|
116
|
+
}), showTrigger && /* @__PURE__ */ jsx(Combobox.Trigger, {
|
|
117
|
+
className: ds_autocomplete_module_default.trigger,
|
|
118
|
+
"aria-label": "Toggle dropdown",
|
|
119
|
+
children: /* @__PURE__ */ jsx(ds_icon_default, {
|
|
120
|
+
icon: "keyboard_arrow_down",
|
|
121
|
+
size: "medium"
|
|
122
|
+
})
|
|
123
|
+
})]
|
|
124
|
+
}) });
|
|
125
|
+
$[22] = disabled;
|
|
126
|
+
$[23] = showTrigger;
|
|
127
|
+
$[24] = t16;
|
|
128
|
+
} else t16 = $[24];
|
|
129
|
+
let t17;
|
|
130
|
+
if ($[25] !== t14 || $[26] !== t15 || $[27] !== t16) {
|
|
131
|
+
t17 = /* @__PURE__ */ jsxs(Combobox.Control, {
|
|
132
|
+
className: ds_autocomplete_module_default.control,
|
|
133
|
+
children: [
|
|
134
|
+
t14,
|
|
135
|
+
t15,
|
|
136
|
+
t16
|
|
137
|
+
]
|
|
138
|
+
});
|
|
139
|
+
$[25] = t14;
|
|
140
|
+
$[26] = t15;
|
|
141
|
+
$[27] = t16;
|
|
142
|
+
$[28] = t17;
|
|
143
|
+
} else t17 = $[28];
|
|
144
|
+
let t18;
|
|
145
|
+
if ($[29] !== collection.items || $[30] !== highlightMatch || $[31] !== noMatchesMessage || $[32] !== options) {
|
|
146
|
+
t18 = /* @__PURE__ */ jsx(Portal, { children: /* @__PURE__ */ jsx(Combobox.Positioner, {
|
|
147
|
+
className: ds_autocomplete_module_default.positioner,
|
|
148
|
+
children: /* @__PURE__ */ jsx(Combobox.Content, {
|
|
149
|
+
className: ds_autocomplete_module_default.content,
|
|
150
|
+
children: collection.items.length === 0 ? /* @__PURE__ */ jsx("div", {
|
|
151
|
+
className: ds_autocomplete_module_default.noMatches,
|
|
152
|
+
children: noMatchesMessage
|
|
153
|
+
}) : /* @__PURE__ */ jsx(Combobox.ItemGroup, {
|
|
154
|
+
className: ds_autocomplete_module_default.itemGroup,
|
|
155
|
+
children: /* @__PURE__ */ jsx(Combobox.Context, { children: (context_0) => collection.items.map((item_0) => {
|
|
156
|
+
const option = options.find((opt_1) => opt_1.label === item_0);
|
|
157
|
+
return /* @__PURE__ */ jsxs(Combobox.Item, {
|
|
158
|
+
item: item_0,
|
|
159
|
+
className: ds_autocomplete_module_default.item,
|
|
160
|
+
children: [option?.icon && /* @__PURE__ */ jsx(ds_icon_default, {
|
|
161
|
+
className: ds_autocomplete_module_default.itemIcon,
|
|
162
|
+
icon: option.icon,
|
|
163
|
+
"aria-hidden": "true"
|
|
164
|
+
}), /* @__PURE__ */ jsx(Combobox.ItemText, {
|
|
165
|
+
className: ds_autocomplete_module_default.itemText,
|
|
166
|
+
children: highlightMatch ? /* @__PURE__ */ jsx(Highlight, {
|
|
167
|
+
query: context_0.inputValue,
|
|
168
|
+
text: item_0,
|
|
169
|
+
ignoreCase: true
|
|
170
|
+
}) : item_0
|
|
171
|
+
})]
|
|
172
|
+
}, item_0);
|
|
173
|
+
}) })
|
|
174
|
+
})
|
|
175
|
+
})
|
|
176
|
+
}) });
|
|
177
|
+
$[29] = collection.items;
|
|
178
|
+
$[30] = highlightMatch;
|
|
179
|
+
$[31] = noMatchesMessage;
|
|
180
|
+
$[32] = options;
|
|
181
|
+
$[33] = t18;
|
|
182
|
+
} else t18 = $[33];
|
|
183
|
+
let t19;
|
|
184
|
+
if ($[34] !== collection || $[35] !== disabled || $[36] !== handleInputValueChange || $[37] !== handleValueChange || $[38] !== id || $[39] !== invalid || $[40] !== rootClass || $[41] !== style || $[42] !== t17 || $[43] !== t18) {
|
|
185
|
+
t19 = /* @__PURE__ */ jsxs(Combobox.Root, {
|
|
186
|
+
id,
|
|
187
|
+
collection,
|
|
188
|
+
className: rootClass,
|
|
189
|
+
style,
|
|
190
|
+
disabled,
|
|
191
|
+
invalid,
|
|
192
|
+
onInputValueChange: handleInputValueChange,
|
|
193
|
+
onValueChange: handleValueChange,
|
|
194
|
+
closeOnSelect: true,
|
|
195
|
+
children: [t17, t18]
|
|
196
|
+
});
|
|
197
|
+
$[34] = collection;
|
|
198
|
+
$[35] = disabled;
|
|
199
|
+
$[36] = handleInputValueChange;
|
|
200
|
+
$[37] = handleValueChange;
|
|
201
|
+
$[38] = id;
|
|
202
|
+
$[39] = invalid;
|
|
203
|
+
$[40] = rootClass;
|
|
204
|
+
$[41] = style;
|
|
205
|
+
$[42] = t17;
|
|
206
|
+
$[43] = t18;
|
|
207
|
+
$[44] = t19;
|
|
208
|
+
} else t19 = $[44];
|
|
209
|
+
return t19;
|
|
210
|
+
};
|
|
211
|
+
function _temp(opt) {
|
|
212
|
+
return opt.label;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
//#endregion
|
|
216
|
+
export { DsAutocomplete };
|
|
217
|
+
//# sourceMappingURL=ds-autocomplete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-autocomplete.js","names":["Combobox","useListCollection","useFilter","Highlight","Portal","classNames","styles","DsAutocompleteProps","DsIcon","DsAutocomplete","t0","$","_c","id","options","style","className","placeholder","t1","disabled","t2","invalid","t3","onValueChange","onInputValueChange","noMatchesMessage","t4","highlightMatch","t5","showTrigger","t6","startAdornment","undefined","t7","Symbol","for","sensitivity","filterUtils","t8","map","_temp","t9","item","query","contains","t10","initialItems","filter","collection","t11","details","inputValue","handleInputValueChange","t12","details_0","selectedLabel","value","selectedOption","find","opt_0","opt","label","handleValueChange","t13","root","rootClass","t14","t15","input","t16","context","iconContainer","clearButton","trigger","t17","control","t18","items","positioner","content","length","noMatches","itemGroup","context_0","item_0","option","opt_1","icon","itemIcon","itemText","t19"],"sources":["../../../src/components/ds-autocomplete/ds-autocomplete.tsx"],"sourcesContent":["import { Combobox, useListCollection } from '@ark-ui/react/combobox';\nimport { useFilter } from '@ark-ui/react/locale';\nimport { Highlight } from '@ark-ui/react/highlight';\nimport { Portal } from '@ark-ui/react/portal';\nimport classNames from 'classnames';\nimport styles from './ds-autocomplete.module.scss';\nimport type { DsAutocompleteProps } from './ds-autocomplete.types';\nimport { DsIcon } from '../ds-icon';\n\nexport const DsAutocomplete = ({\n\tid,\n\toptions,\n\tstyle,\n\tclassName,\n\tplaceholder = 'Start typing to search...',\n\tdisabled = false,\n\tinvalid = false,\n\tonValueChange,\n\tonInputValueChange,\n\tnoMatchesMessage = 'No matches found',\n\thighlightMatch = true,\n\tshowTrigger = true,\n\tstartAdornment,\n}: DsAutocompleteProps) => {\n\tconst filterUtils = useFilter({ sensitivity: 'base' });\n\n\tconst { collection, filter } = useListCollection({\n\t\tinitialItems: options.map((opt) => opt.label),\n\t\tfilter: (item, query) => filterUtils.contains(item, query),\n\t});\n\n\tconst handleInputValueChange = (details: Combobox.InputValueChangeDetails) => {\n\t\tfilter(details.inputValue);\n\t\tonInputValueChange?.(details.inputValue);\n\t};\n\n\tconst handleValueChange = (details: Combobox.ValueChangeDetails) => {\n\t\tconst selectedLabel = details.value[0];\n\t\tif (!selectedLabel) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst selectedOption = options.find((opt) => opt.label === selectedLabel);\n\n\t\tif (selectedOption) {\n\t\t\tonValueChange?.(selectedOption.value);\n\t\t}\n\t};\n\n\tconst rootClass = classNames(\n\t\tstyles.root,\n\t\t{\n\t\t\t[styles.disabled]: disabled,\n\t\t\t[styles.invalid]: invalid,\n\t\t},\n\t\tclassName,\n\t);\n\n\treturn (\n\t\t<Combobox.Root\n\t\t\tid={id}\n\t\t\tcollection={collection}\n\t\t\tclassName={rootClass}\n\t\t\tstyle={style}\n\t\t\tdisabled={disabled}\n\t\t\tinvalid={invalid}\n\t\t\tonInputValueChange={handleInputValueChange}\n\t\t\tonValueChange={handleValueChange}\n\t\t\tcloseOnSelect\n\t\t>\n\t\t\t<Combobox.Control className={styles.control}>\n\t\t\t\t{startAdornment && <span className={styles.startAdornment}>{startAdornment}</span>}\n\n\t\t\t\t<Combobox.Input className={styles.input} placeholder={placeholder} />\n\n\t\t\t\t<Combobox.Context>\n\t\t\t\t\t{(context) => (\n\t\t\t\t\t\t<div className={styles.iconContainer}>\n\t\t\t\t\t\t\t{context.inputValue && !disabled && (\n\t\t\t\t\t\t\t\t<Combobox.ClearTrigger className={styles.clearButton} aria-label=\"Clear\">\n\t\t\t\t\t\t\t\t\t<DsIcon icon=\"close\" size=\"medium\" />\n\t\t\t\t\t\t\t\t</Combobox.ClearTrigger>\n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t{showTrigger && (\n\t\t\t\t\t\t\t\t<Combobox.Trigger className={styles.trigger} aria-label=\"Toggle dropdown\">\n\t\t\t\t\t\t\t\t\t<DsIcon icon=\"keyboard_arrow_down\" size=\"medium\" />\n\t\t\t\t\t\t\t\t</Combobox.Trigger>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t</Combobox.Context>\n\t\t\t</Combobox.Control>\n\n\t\t\t<Portal>\n\t\t\t\t<Combobox.Positioner className={styles.positioner}>\n\t\t\t\t\t<Combobox.Content className={styles.content}>\n\t\t\t\t\t\t{collection.items.length === 0 ? (\n\t\t\t\t\t\t\t<div className={styles.noMatches}>{noMatchesMessage}</div>\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<Combobox.ItemGroup className={styles.itemGroup}>\n\t\t\t\t\t\t\t\t<Combobox.Context>\n\t\t\t\t\t\t\t\t\t{(context) =>\n\t\t\t\t\t\t\t\t\t\tcollection.items.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\tconst option = options.find((opt) => opt.label === item);\n\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t<Combobox.Item key={item} item={item} className={styles.item}>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{option?.icon && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<DsIcon className={styles.itemIcon} icon={option.icon} aria-hidden=\"true\" />\n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Combobox.ItemText className={styles.itemText}>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{highlightMatch ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<Highlight query={context.inputValue} text={item} ignoreCase />\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\titem\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t</Combobox.ItemText>\n\t\t\t\t\t\t\t\t\t\t\t\t</Combobox.Item>\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\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lD;GACGI;GACDE;GACW+B,oBAAAA;GACLU,eAAAA;GACf,eAAA;cAEAY,KAwBAE;IAiCe;AAAAjE,IAAA,MAAAqC;AAAArC,IAAA,MAAAQ;AAAAR,IAAA,MAAAyC;AAAAzC,IAAA,MAAAmD;AAAAnD,IAAA,MAAAE;AAAAF,IAAA,MAAAU;AAAAV,IAAA,MAAAsD;AAAAtD,IAAA,MAAAI;AAAAJ,IAAA,MAAA+D;AAAA/D,IAAA,MAAAiE;AAAAjE,IAAA,MAAA+E;OAAAA,OAAA/E,EAAA;AAAA,QApEhB+E;;AAlD4B,SAAAlD,MAAAoB,KAAA;AAAA,QAkBOA,IAAGC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/components/ds-autocomplete/ds-autocomplete.module.scss
|
|
3
|
+
var ds_autocomplete_module_default = {
|
|
4
|
+
"root": "_root_1ah6z_1",
|
|
5
|
+
"control": "_control_1ah6z_1",
|
|
6
|
+
"input": "_input_1ah6z_1",
|
|
7
|
+
"iconButton": "_iconButton_1ah6z_1",
|
|
8
|
+
"startAdornment": "_startAdornment_1ah6z_1",
|
|
9
|
+
"iconContainer": "_iconContainer_1ah6z_1",
|
|
10
|
+
"clearButton": "_clearButton_1ah6z_1",
|
|
11
|
+
"trigger": "_trigger_1ah6z_1",
|
|
12
|
+
"positioner": "_positioner_1ah6z_1",
|
|
13
|
+
"content": "_content_1ah6z_1",
|
|
14
|
+
"expand": "_expand_1ah6z_1",
|
|
15
|
+
"collapse": "_collapse_1ah6z_1",
|
|
16
|
+
"itemGroup": "_itemGroup_1ah6z_1",
|
|
17
|
+
"item": "_item_1ah6z_1",
|
|
18
|
+
"indicator": "_indicator_1ah6z_1",
|
|
19
|
+
"itemIcon": "_itemIcon_1ah6z_1",
|
|
20
|
+
"itemText": "_itemText_1ah6z_1",
|
|
21
|
+
"noMatches": "_noMatches_1ah6z_1",
|
|
22
|
+
"disabled": "_disabled_1ah6z_1",
|
|
23
|
+
"invalid": "_invalid_1ah6z_1"
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.default = ds_autocomplete_module_default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
//#region src/components/ds-autocomplete/ds-autocomplete.module.scss
|
|
2
|
+
var ds_autocomplete_module_default = {
|
|
3
|
+
"root": "_root_1ah6z_1",
|
|
4
|
+
"control": "_control_1ah6z_1",
|
|
5
|
+
"input": "_input_1ah6z_1",
|
|
6
|
+
"iconButton": "_iconButton_1ah6z_1",
|
|
7
|
+
"startAdornment": "_startAdornment_1ah6z_1",
|
|
8
|
+
"iconContainer": "_iconContainer_1ah6z_1",
|
|
9
|
+
"clearButton": "_clearButton_1ah6z_1",
|
|
10
|
+
"trigger": "_trigger_1ah6z_1",
|
|
11
|
+
"positioner": "_positioner_1ah6z_1",
|
|
12
|
+
"content": "_content_1ah6z_1",
|
|
13
|
+
"expand": "_expand_1ah6z_1",
|
|
14
|
+
"collapse": "_collapse_1ah6z_1",
|
|
15
|
+
"itemGroup": "_itemGroup_1ah6z_1",
|
|
16
|
+
"item": "_item_1ah6z_1",
|
|
17
|
+
"indicator": "_indicator_1ah6z_1",
|
|
18
|
+
"itemIcon": "_itemIcon_1ah6z_1",
|
|
19
|
+
"itemText": "_itemText_1ah6z_1",
|
|
20
|
+
"noMatches": "_noMatches_1ah6z_1",
|
|
21
|
+
"disabled": "_disabled_1ah6z_1",
|
|
22
|
+
"invalid": "_invalid_1ah6z_1"
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { ds_autocomplete_module_default as default };
|
|
27
|
+
//# sourceMappingURL=ds-autocomplete.module.js.map
|