@drivenets/design-system 0.0.2 → 0.0.4
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 +13 -0
- package/dist/_virtual/rolldown_runtime.cjs +29 -0
- package/dist/components/ds-alert-banner/ds-alert-banner.cjs +182 -0
- package/dist/components/ds-alert-banner/ds-alert-banner.d.cts +53 -0
- package/dist/components/ds-alert-banner/ds-alert-banner.d.cts.map +1 -0
- package/dist/components/ds-alert-banner/ds-alert-banner.d.ts +53 -0
- package/dist/components/ds-alert-banner/ds-alert-banner.d.ts.map +1 -0
- package/dist/components/ds-alert-banner/ds-alert-banner.js +181 -0
- package/dist/components/ds-alert-banner/ds-alert-banner.js.map +1 -0
- package/dist/components/ds-alert-banner/ds-alert-banner.module.cjs +21 -0
- package/dist/components/ds-alert-banner/ds-alert-banner.module.js +21 -0
- package/dist/components/ds-alert-banner/ds-alert-banner.module.js.map +1 -0
- package/dist/components/ds-alert-banner/ds-alert-banner.types.cjs +12 -0
- package/dist/components/ds-alert-banner/ds-alert-banner.types.d.cts +49 -0
- package/dist/components/ds-alert-banner/ds-alert-banner.types.d.cts.map +1 -0
- package/dist/components/ds-alert-banner/ds-alert-banner.types.d.ts +50 -0
- package/dist/components/ds-alert-banner/ds-alert-banner.types.d.ts.map +1 -0
- package/dist/components/ds-alert-banner/ds-alert-banner.types.js +12 -0
- package/dist/components/ds-alert-banner/ds-alert-banner.types.js.map +1 -0
- package/dist/components/ds-alert-banner/index.cjs +2 -0
- package/dist/components/ds-alert-banner/index.d.ts +2 -0
- package/dist/components/ds-alert-banner/index.js +2 -0
- package/dist/components/ds-breadcrumb/ds-breadcrumb.cjs +135 -0
- package/dist/components/ds-breadcrumb/ds-breadcrumb.d.cts +12 -0
- package/dist/components/ds-breadcrumb/ds-breadcrumb.d.cts.map +1 -0
- package/dist/components/ds-breadcrumb/ds-breadcrumb.d.ts +12 -0
- package/dist/components/ds-breadcrumb/ds-breadcrumb.d.ts.map +1 -0
- package/dist/components/ds-breadcrumb/ds-breadcrumb.js +134 -0
- package/dist/components/ds-breadcrumb/ds-breadcrumb.js.map +1 -0
- package/dist/components/ds-breadcrumb/ds-breadcrumb.module.cjs +16 -0
- package/dist/components/ds-breadcrumb/ds-breadcrumb.module.js +16 -0
- package/dist/components/ds-breadcrumb/ds-breadcrumb.module.js.map +1 -0
- package/dist/components/ds-breadcrumb/ds-breadcrumb.types.d.cts +36 -0
- package/dist/components/ds-breadcrumb/ds-breadcrumb.types.d.cts.map +1 -0
- package/dist/components/ds-breadcrumb/ds-breadcrumb.types.d.ts +37 -0
- package/dist/components/ds-breadcrumb/ds-breadcrumb.types.d.ts.map +1 -0
- package/dist/components/ds-breadcrumb/index.cjs +1 -0
- package/dist/components/ds-breadcrumb/index.d.ts +2 -0
- package/dist/components/ds-breadcrumb/index.js +1 -0
- package/dist/components/ds-button/ds-button.cjs +32 -0
- package/dist/components/ds-button/ds-button.d.cts +8 -0
- package/dist/components/ds-button/ds-button.d.cts.map +1 -0
- package/dist/components/ds-button/ds-button.d.ts +8 -0
- package/dist/components/ds-button/ds-button.d.ts.map +1 -0
- package/dist/components/ds-button/ds-button.js +32 -0
- package/dist/components/ds-button/ds-button.js.map +1 -0
- package/dist/components/ds-button/ds-button.types.d.cts +12 -0
- package/dist/components/ds-button/ds-button.types.d.cts.map +1 -0
- package/dist/components/ds-button/ds-button.types.d.ts +12 -0
- package/dist/components/ds-button/ds-button.types.d.ts.map +1 -0
- package/dist/components/ds-button/index.cjs +1 -0
- package/dist/components/ds-button/index.d.ts +2 -0
- package/dist/components/ds-button/index.js +1 -0
- package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.cjs +95 -0
- package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.js +94 -0
- package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.js.map +1 -0
- package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.module.cjs +27 -0
- package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.module.js +27 -0
- package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.module.js.map +1 -0
- package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.types.d.cts +38 -0
- package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.types.d.cts.map +1 -0
- package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.types.d.ts +38 -0
- package/dist/components/ds-button/versions/ds-button-legacy/ds-button-legacy.types.d.ts.map +1 -0
- package/dist/components/ds-button/versions/ds-button-legacy/index.cjs +1 -0
- package/dist/components/ds-button/versions/ds-button-legacy/index.js +1 -0
- package/dist/components/ds-button/versions/ds-button-new/ds-button-new.cjs +102 -0
- package/dist/components/ds-button/versions/ds-button-new/ds-button-new.js +101 -0
- package/dist/components/ds-button/versions/ds-button-new/ds-button-new.js.map +1 -0
- package/dist/components/ds-button/versions/ds-button-new/ds-button-new.module.cjs +25 -0
- package/dist/components/ds-button/versions/ds-button-new/ds-button-new.module.js +25 -0
- package/dist/components/ds-button/versions/ds-button-new/ds-button-new.module.js.map +1 -0
- package/dist/components/ds-button/versions/ds-button-new/ds-button-new.types.d.cts +38 -0
- package/dist/components/ds-button/versions/ds-button-new/ds-button-new.types.d.cts.map +1 -0
- package/dist/components/ds-button/versions/ds-button-new/ds-button-new.types.d.ts +38 -0
- package/dist/components/ds-button/versions/ds-button-new/ds-button-new.types.d.ts.map +1 -0
- package/dist/components/ds-button/versions/ds-button-new/index.cjs +1 -0
- package/dist/components/ds-button/versions/ds-button-new/index.js +1 -0
- package/dist/components/ds-checkbox/ds-checkbox.cjs +123 -0
- package/dist/components/ds-checkbox/ds-checkbox.d.cts +12 -0
- package/dist/components/ds-checkbox/ds-checkbox.d.cts.map +1 -0
- package/dist/components/ds-checkbox/ds-checkbox.d.ts +12 -0
- package/dist/components/ds-checkbox/ds-checkbox.d.ts.map +1 -0
- package/dist/components/ds-checkbox/ds-checkbox.js +121 -0
- package/dist/components/ds-checkbox/ds-checkbox.js.map +1 -0
- package/dist/components/ds-checkbox/ds-checkbox.module.cjs +13 -0
- package/dist/components/ds-checkbox/ds-checkbox.module.js +13 -0
- package/dist/components/ds-checkbox/ds-checkbox.module.js.map +1 -0
- package/dist/components/ds-checkbox/ds-checkbox.types.d.cts +31 -0
- package/dist/components/ds-checkbox/ds-checkbox.types.d.cts.map +1 -0
- package/dist/components/ds-checkbox/ds-checkbox.types.d.ts +31 -0
- package/dist/components/ds-checkbox/ds-checkbox.types.d.ts.map +1 -0
- package/dist/components/ds-checkbox/index.cjs +1 -0
- package/dist/components/ds-checkbox/index.d.ts +2 -0
- package/dist/components/ds-checkbox/index.js +1 -0
- package/dist/components/ds-chip/ds-chip.cjs +130 -0
- package/dist/components/ds-chip/ds-chip.d.cts +12 -0
- package/dist/components/ds-chip/ds-chip.d.cts.map +1 -0
- package/dist/components/ds-chip/ds-chip.d.ts +12 -0
- package/dist/components/ds-chip/ds-chip.d.ts.map +1 -0
- package/dist/components/ds-chip/ds-chip.js +129 -0
- package/dist/components/ds-chip/ds-chip.js.map +1 -0
- package/dist/components/ds-chip/ds-chip.module.cjs +12 -0
- package/dist/components/ds-chip/ds-chip.module.js +12 -0
- package/dist/components/ds-chip/ds-chip.module.js.map +1 -0
- package/dist/components/ds-chip/ds-chip.types.d.cts +49 -0
- package/dist/components/ds-chip/ds-chip.types.d.cts.map +1 -0
- package/dist/components/ds-chip/ds-chip.types.d.ts +50 -0
- package/dist/components/ds-chip/ds-chip.types.d.ts.map +1 -0
- package/dist/components/ds-chip/index.cjs +1 -0
- package/dist/components/ds-chip/index.d.ts +2 -0
- package/dist/components/ds-chip/index.js +1 -0
- package/dist/components/ds-chip-group/ds-chip-group.cjs +108 -0
- package/dist/components/ds-chip-group/ds-chip-group.d.cts +13 -0
- package/dist/components/ds-chip-group/ds-chip-group.d.cts.map +1 -0
- package/dist/components/ds-chip-group/ds-chip-group.d.ts +13 -0
- package/dist/components/ds-chip-group/ds-chip-group.d.ts.map +1 -0
- package/dist/components/ds-chip-group/ds-chip-group.js +106 -0
- package/dist/components/ds-chip-group/ds-chip-group.js.map +1 -0
- package/dist/components/ds-chip-group/ds-chip-group.module.cjs +15 -0
- package/dist/components/ds-chip-group/ds-chip-group.module.js +15 -0
- package/dist/components/ds-chip-group/ds-chip-group.module.js.map +1 -0
- package/dist/components/ds-chip-group/ds-chip-group.types.d.cts +55 -0
- package/dist/components/ds-chip-group/ds-chip-group.types.d.cts.map +1 -0
- package/dist/components/ds-chip-group/ds-chip-group.types.d.ts +55 -0
- package/dist/components/ds-chip-group/ds-chip-group.types.d.ts.map +1 -0
- package/dist/components/ds-chip-group/hooks/use-chip-row-calculation.cjs +51 -0
- package/dist/components/ds-chip-group/hooks/use-chip-row-calculation.js +51 -0
- package/dist/components/ds-chip-group/hooks/use-chip-row-calculation.js.map +1 -0
- package/dist/components/ds-chip-group/index.cjs +1 -0
- package/dist/components/ds-chip-group/index.d.ts +2 -0
- package/dist/components/ds-chip-group/index.js +1 -0
- package/dist/components/ds-confirmation/ds-confirmation.cjs +235 -0
- package/dist/components/ds-confirmation/ds-confirmation.d.cts +72 -0
- package/dist/components/ds-confirmation/ds-confirmation.d.cts.map +1 -0
- package/dist/components/ds-confirmation/ds-confirmation.d.ts +72 -0
- package/dist/components/ds-confirmation/ds-confirmation.d.ts.map +1 -0
- package/dist/components/ds-confirmation/ds-confirmation.js +234 -0
- package/dist/components/ds-confirmation/ds-confirmation.js.map +1 -0
- package/dist/components/ds-confirmation/ds-confirmation.module.cjs +21 -0
- package/dist/components/ds-confirmation/ds-confirmation.module.js +21 -0
- package/dist/components/ds-confirmation/ds-confirmation.module.js.map +1 -0
- package/dist/components/ds-confirmation/ds-confirmation.types.d.cts +33 -0
- package/dist/components/ds-confirmation/ds-confirmation.types.d.cts.map +1 -0
- package/dist/components/ds-confirmation/ds-confirmation.types.d.ts +33 -0
- package/dist/components/ds-confirmation/ds-confirmation.types.d.ts.map +1 -0
- package/dist/components/ds-confirmation/index.cjs +1 -0
- package/dist/components/ds-confirmation/index.d.ts +2 -0
- package/dist/components/ds-confirmation/index.js +1 -0
- package/dist/components/ds-dialog/ds-dialog.cjs +60 -0
- package/dist/components/ds-dialog/ds-dialog.d.cts +8 -0
- package/dist/components/ds-dialog/ds-dialog.d.cts.map +1 -0
- package/dist/components/ds-dialog/ds-dialog.d.ts +8 -0
- package/dist/components/ds-dialog/ds-dialog.d.ts.map +1 -0
- package/dist/components/ds-dialog/ds-dialog.js +58 -0
- package/dist/components/ds-dialog/ds-dialog.js.map +1 -0
- package/dist/components/ds-dialog/ds-dialog.module.cjs +12 -0
- package/dist/components/ds-dialog/ds-dialog.module.js +12 -0
- package/dist/components/ds-dialog/ds-dialog.module.js.map +1 -0
- package/dist/components/ds-dialog/ds-dialog.types.d.cts +55 -0
- package/dist/components/ds-dialog/ds-dialog.types.d.cts.map +1 -0
- package/dist/components/ds-dialog/ds-dialog.types.d.ts +55 -0
- package/dist/components/ds-dialog/ds-dialog.types.d.ts.map +1 -0
- package/dist/components/ds-dialog/index.cjs +1 -0
- package/dist/components/ds-dialog/index.d.ts +2 -0
- package/dist/components/ds-dialog/index.js +1 -0
- package/dist/components/ds-drawer/ds-drawer.cjs +297 -0
- package/dist/components/ds-drawer/ds-drawer.d.cts +90 -0
- package/dist/components/ds-drawer/ds-drawer.d.cts.map +1 -0
- package/dist/components/ds-drawer/ds-drawer.d.ts +90 -0
- package/dist/components/ds-drawer/ds-drawer.d.ts.map +1 -0
- package/dist/components/ds-drawer/ds-drawer.js +296 -0
- package/dist/components/ds-drawer/ds-drawer.js.map +1 -0
- package/dist/components/ds-drawer/ds-drawer.module.cjs +38 -0
- package/dist/components/ds-drawer/ds-drawer.module.js +38 -0
- package/dist/components/ds-drawer/ds-drawer.module.js.map +1 -0
- package/dist/components/ds-drawer/ds-drawer.types.d.cts +58 -0
- package/dist/components/ds-drawer/ds-drawer.types.d.cts.map +1 -0
- package/dist/components/ds-drawer/ds-drawer.types.d.ts +58 -0
- package/dist/components/ds-drawer/ds-drawer.types.d.ts.map +1 -0
- package/dist/components/ds-drawer/index.cjs +1 -0
- package/dist/components/ds-drawer/index.d.ts +2 -0
- package/dist/components/ds-drawer/index.js +1 -0
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.cjs +629 -0
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.d.cts +58 -0
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.d.cts.map +1 -0
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.d.ts +58 -0
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.d.ts.map +1 -0
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.js +626 -0
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.js.map +1 -0
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.module.cjs +25 -0
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.module.js +25 -0
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.module.js.map +1 -0
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.types.d.cts +247 -0
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.types.d.cts.map +1 -0
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.types.d.ts +247 -0
- package/dist/components/ds-dropdown-menu/ds-dropdown-menu.types.d.ts.map +1 -0
- package/dist/components/ds-dropdown-menu/index.cjs +1 -0
- package/dist/components/ds-dropdown-menu/index.d.ts +2 -0
- package/dist/components/ds-dropdown-menu/index.js +1 -0
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.cjs +173 -0
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.cts +13 -0
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.cts.map +1 -0
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.ts +13 -0
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.d.ts.map +1 -0
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.js +172 -0
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.js.map +1 -0
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.module.cjs +13 -0
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.module.js +13 -0
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.module.js.map +1 -0
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.types.d.cts +21 -0
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.types.d.cts.map +1 -0
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.types.d.ts +23 -0
- package/dist/components/ds-expandable-text-input/ds-expandable-text-input.types.d.ts.map +1 -0
- package/dist/components/ds-expandable-text-input/index.cjs +1 -0
- package/dist/components/ds-expandable-text-input/index.d.ts +2 -0
- package/dist/components/ds-expandable-text-input/index.js +1 -0
- package/dist/components/ds-file-upload/components/file-upload/file-upload.cjs +217 -0
- package/dist/components/ds-file-upload/components/file-upload/file-upload.d.cts +13 -0
- package/dist/components/ds-file-upload/components/file-upload/file-upload.d.cts.map +1 -0
- package/dist/components/ds-file-upload/components/file-upload/file-upload.d.ts +13 -0
- package/dist/components/ds-file-upload/components/file-upload/file-upload.d.ts.map +1 -0
- package/dist/components/ds-file-upload/components/file-upload/file-upload.js +216 -0
- package/dist/components/ds-file-upload/components/file-upload/file-upload.js.map +1 -0
- package/dist/components/ds-file-upload/components/file-upload/file-upload.module.cjs +15 -0
- package/dist/components/ds-file-upload/components/file-upload/file-upload.module.js +15 -0
- package/dist/components/ds-file-upload/components/file-upload/file-upload.module.js.map +1 -0
- package/dist/components/ds-file-upload/components/file-upload/file-upload.types.d.cts +98 -0
- package/dist/components/ds-file-upload/components/file-upload/file-upload.types.d.cts.map +1 -0
- package/dist/components/ds-file-upload/components/file-upload/file-upload.types.d.ts +98 -0
- package/dist/components/ds-file-upload/components/file-upload/file-upload.types.d.ts.map +1 -0
- package/dist/components/ds-file-upload/components/file-upload/index.cjs +1 -0
- package/dist/components/ds-file-upload/components/file-upload/index.d.ts +2 -0
- package/dist/components/ds-file-upload/components/file-upload/index.js +1 -0
- package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.cjs +297 -0
- package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.js +296 -0
- package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.js.map +1 -0
- package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.module.cjs +24 -0
- package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.module.js +24 -0
- package/dist/components/ds-file-upload/components/file-upload-item/file-upload-item.module.js.map +1 -0
- package/dist/components/ds-file-upload/components/file-upload-item/index.cjs +1 -0
- package/dist/components/ds-file-upload/components/file-upload-item/index.js +1 -0
- package/dist/components/ds-file-upload/ds-file-upload-api.types.d.cts +38 -0
- package/dist/components/ds-file-upload/ds-file-upload-api.types.d.cts.map +1 -0
- package/dist/components/ds-file-upload/ds-file-upload-api.types.d.ts +38 -0
- package/dist/components/ds-file-upload/ds-file-upload-api.types.d.ts.map +1 -0
- package/dist/components/ds-file-upload/ds-file-upload.cjs +117 -0
- package/dist/components/ds-file-upload/ds-file-upload.d.cts +12 -0
- package/dist/components/ds-file-upload/ds-file-upload.d.cts.map +1 -0
- package/dist/components/ds-file-upload/ds-file-upload.d.ts +12 -0
- package/dist/components/ds-file-upload/ds-file-upload.d.ts.map +1 -0
- package/dist/components/ds-file-upload/ds-file-upload.js +117 -0
- package/dist/components/ds-file-upload/ds-file-upload.js.map +1 -0
- package/dist/components/ds-file-upload/ds-file-upload.types.d.cts +36 -0
- package/dist/components/ds-file-upload/ds-file-upload.types.d.cts.map +1 -0
- package/dist/components/ds-file-upload/ds-file-upload.types.d.ts +37 -0
- package/dist/components/ds-file-upload/ds-file-upload.types.d.ts.map +1 -0
- package/dist/components/ds-file-upload/errors/file-upload-errors.cjs +30 -0
- package/dist/components/ds-file-upload/errors/file-upload-errors.d.cts +25 -0
- package/dist/components/ds-file-upload/errors/file-upload-errors.d.cts.map +1 -0
- package/dist/components/ds-file-upload/errors/file-upload-errors.d.ts +25 -0
- package/dist/components/ds-file-upload/errors/file-upload-errors.d.ts.map +1 -0
- package/dist/components/ds-file-upload/errors/file-upload-errors.js +28 -0
- package/dist/components/ds-file-upload/errors/file-upload-errors.js.map +1 -0
- package/dist/components/ds-file-upload/hooks/index.cjs +1 -0
- package/dist/components/ds-file-upload/hooks/index.d.ts +1 -0
- package/dist/components/ds-file-upload/hooks/index.js +1 -0
- package/dist/components/ds-file-upload/hooks/use-file-upload.cjs +201 -0
- package/dist/components/ds-file-upload/hooks/use-file-upload.d.cts +59 -0
- package/dist/components/ds-file-upload/hooks/use-file-upload.d.cts.map +1 -0
- package/dist/components/ds-file-upload/hooks/use-file-upload.d.ts +60 -0
- package/dist/components/ds-file-upload/hooks/use-file-upload.d.ts.map +1 -0
- package/dist/components/ds-file-upload/hooks/use-file-upload.js +201 -0
- package/dist/components/ds-file-upload/hooks/use-file-upload.js.map +1 -0
- package/dist/components/ds-file-upload/index.cjs +6 -0
- package/dist/components/ds-file-upload/index.d.ts +9 -0
- package/dist/components/ds-file-upload/index.js +6 -0
- package/dist/components/ds-file-upload/types/accept-types.cjs +117 -0
- package/dist/components/ds-file-upload/types/accept-types.d.cts +21 -0
- package/dist/components/ds-file-upload/types/accept-types.d.cts.map +1 -0
- package/dist/components/ds-file-upload/types/accept-types.d.ts +21 -0
- package/dist/components/ds-file-upload/types/accept-types.d.ts.map +1 -0
- package/dist/components/ds-file-upload/types/accept-types.js +117 -0
- package/dist/components/ds-file-upload/types/accept-types.js.map +1 -0
- package/dist/components/ds-file-upload/utils/accept-utils.cjs +26 -0
- package/dist/components/ds-file-upload/utils/accept-utils.js +26 -0
- package/dist/components/ds-file-upload/utils/accept-utils.js.map +1 -0
- package/dist/components/ds-file-upload/utils/constants.cjs +24 -0
- package/dist/components/ds-file-upload/utils/constants.js +22 -0
- package/dist/components/ds-file-upload/utils/constants.js.map +1 -0
- package/dist/components/ds-file-upload/utils/file-factory.cjs +20 -0
- package/dist/components/ds-file-upload/utils/file-factory.js +20 -0
- package/dist/components/ds-file-upload/utils/file-factory.js.map +1 -0
- package/dist/components/ds-file-upload/utils/format-file-size.cjs +22 -0
- package/dist/components/ds-file-upload/utils/format-file-size.js +22 -0
- package/dist/components/ds-file-upload/utils/format-file-size.js.map +1 -0
- package/dist/components/ds-file-upload/utils/generate-helper-text.cjs +21 -0
- package/dist/components/ds-file-upload/utils/generate-helper-text.js +22 -0
- package/dist/components/ds-file-upload/utils/generate-helper-text.js.map +1 -0
- package/dist/components/ds-file-upload/utils/get-error-message.cjs +19 -0
- package/dist/components/ds-file-upload/utils/get-error-message.js +19 -0
- package/dist/components/ds-file-upload/utils/get-error-message.js.map +1 -0
- package/dist/components/ds-file-upload/utils/is-file-equal.cjs +13 -0
- package/dist/components/ds-file-upload/utils/is-file-equal.js +13 -0
- package/dist/components/ds-file-upload/utils/is-file-equal.js.map +1 -0
- package/dist/components/ds-form-control/ds-form-control.cjs +179 -0
- package/dist/components/ds-form-control/ds-form-control.d.cts +33 -0
- package/dist/components/ds-form-control/ds-form-control.d.cts.map +1 -0
- package/dist/components/ds-form-control/ds-form-control.d.ts +38 -0
- package/dist/components/ds-form-control/ds-form-control.d.ts.map +1 -0
- package/dist/components/ds-form-control/ds-form-control.js +178 -0
- package/dist/components/ds-form-control/ds-form-control.js.map +1 -0
- package/dist/components/ds-form-control/ds-form-control.module.cjs +24 -0
- package/dist/components/ds-form-control/ds-form-control.module.js +24 -0
- package/dist/components/ds-form-control/ds-form-control.module.js.map +1 -0
- package/dist/components/ds-form-control/ds-form-control.types.cjs +11 -0
- package/dist/components/ds-form-control/ds-form-control.types.d.cts +59 -0
- package/dist/components/ds-form-control/ds-form-control.types.d.cts.map +1 -0
- package/dist/components/ds-form-control/ds-form-control.types.d.ts +60 -0
- package/dist/components/ds-form-control/ds-form-control.types.d.ts.map +1 -0
- package/dist/components/ds-form-control/ds-form-control.types.js +11 -0
- package/dist/components/ds-form-control/ds-form-control.types.js.map +1 -0
- package/dist/components/ds-form-control/index.cjs +2 -0
- package/dist/components/ds-form-control/index.d.ts +2 -0
- package/dist/components/ds-form-control/index.js +2 -0
- package/dist/components/ds-grid/ds-grid.cjs +36 -0
- package/dist/components/ds-grid/ds-grid.d.cts +16 -0
- package/dist/components/ds-grid/ds-grid.d.cts.map +1 -0
- package/dist/components/ds-grid/ds-grid.d.ts +16 -0
- package/dist/components/ds-grid/ds-grid.d.ts.map +1 -0
- package/dist/components/ds-grid/ds-grid.js +34 -0
- package/dist/components/ds-grid/ds-grid.js.map +1 -0
- package/dist/components/ds-grid/ds-grid.types.d.cts +50 -0
- package/dist/components/ds-grid/ds-grid.types.d.cts.map +1 -0
- package/dist/components/ds-grid/ds-grid.types.d.ts +50 -0
- package/dist/components/ds-grid/ds-grid.types.d.ts.map +1 -0
- package/dist/components/ds-grid/index.cjs +1 -0
- package/dist/components/ds-grid/index.d.ts +2 -0
- package/dist/components/ds-grid/index.js +1 -0
- package/dist/components/ds-icon/ds-icon.cjs +100 -0
- package/dist/components/ds-icon/ds-icon.d.cts +12 -0
- package/dist/components/ds-icon/ds-icon.d.cts.map +1 -0
- package/dist/components/ds-icon/ds-icon.d.ts +12 -0
- package/dist/components/ds-icon/ds-icon.d.ts.map +1 -0
- package/dist/components/ds-icon/ds-icon.js +99 -0
- package/dist/components/ds-icon/ds-icon.js.map +1 -0
- package/dist/components/ds-icon/ds-icon.module.cjs +14 -0
- package/dist/components/ds-icon/ds-icon.module.js +14 -0
- package/dist/components/ds-icon/ds-icon.module.js.map +1 -0
- package/dist/components/ds-icon/ds-icon.types.cjs +14 -0
- package/dist/components/ds-icon/ds-icon.types.d.cts +46 -0
- package/dist/components/ds-icon/ds-icon.types.d.cts.map +1 -0
- package/dist/components/ds-icon/ds-icon.types.d.ts +46 -0
- package/dist/components/ds-icon/ds-icon.types.d.ts.map +1 -0
- package/dist/components/ds-icon/ds-icon.types.js +13 -0
- package/dist/components/ds-icon/ds-icon.types.js.map +1 -0
- package/dist/components/ds-icon/index.cjs +2 -0
- package/dist/components/ds-icon/index.d.ts +2 -0
- package/dist/components/ds-icon/index.js +2 -0
- package/dist/components/ds-icon/material-icons.d.cts +6186 -0
- package/dist/components/ds-icon/material-icons.d.cts.map +1 -0
- package/dist/components/ds-icon/material-icons.d.ts +6186 -0
- package/dist/components/ds-icon/material-icons.d.ts.map +1 -0
- package/dist/components/ds-modal/ds-modal.cjs +252 -0
- package/dist/components/ds-modal/ds-modal.d.cts +79 -0
- package/dist/components/ds-modal/ds-modal.d.cts.map +1 -0
- package/dist/components/ds-modal/ds-modal.d.ts +79 -0
- package/dist/components/ds-modal/ds-modal.d.ts.map +1 -0
- package/dist/components/ds-modal/ds-modal.js +251 -0
- package/dist/components/ds-modal/ds-modal.js.map +1 -0
- package/dist/components/ds-modal/ds-modal.module.cjs +31 -0
- package/dist/components/ds-modal/ds-modal.module.js +31 -0
- package/dist/components/ds-modal/ds-modal.module.js.map +1 -0
- package/dist/components/ds-modal/ds-modal.types.d.cts +43 -0
- package/dist/components/ds-modal/ds-modal.types.d.cts.map +1 -0
- package/dist/components/ds-modal/ds-modal.types.d.ts +43 -0
- package/dist/components/ds-modal/ds-modal.types.d.ts.map +1 -0
- package/dist/components/ds-modal/index.cjs +1 -0
- package/dist/components/ds-modal/index.d.ts +2 -0
- package/dist/components/ds-modal/index.js +1 -0
- package/dist/components/ds-number-input/ds-number-input.cjs +158 -0
- package/dist/components/ds-number-input/ds-number-input.d.cts +8 -0
- package/dist/components/ds-number-input/ds-number-input.d.cts.map +1 -0
- package/dist/components/ds-number-input/ds-number-input.d.ts +8 -0
- package/dist/components/ds-number-input/ds-number-input.d.ts.map +1 -0
- package/dist/components/ds-number-input/ds-number-input.js +157 -0
- package/dist/components/ds-number-input/ds-number-input.js.map +1 -0
- package/dist/components/ds-number-input/ds-number-input.module.cjs +14 -0
- package/dist/components/ds-number-input/ds-number-input.module.js +14 -0
- package/dist/components/ds-number-input/ds-number-input.module.js.map +1 -0
- package/dist/components/ds-number-input/ds-number-input.types.d.cts +80 -0
- package/dist/components/ds-number-input/ds-number-input.types.d.cts.map +1 -0
- package/dist/components/ds-number-input/ds-number-input.types.d.ts +80 -0
- package/dist/components/ds-number-input/ds-number-input.types.d.ts.map +1 -0
- package/dist/components/ds-number-input/index.cjs +1 -0
- package/dist/components/ds-number-input/index.d.ts +2 -0
- package/dist/components/ds-number-input/index.js +1 -0
- package/dist/components/ds-panel/ds-panel.cjs +130 -0
- package/dist/components/ds-panel/ds-panel.d.cts +17 -0
- package/dist/components/ds-panel/ds-panel.d.cts.map +1 -0
- package/dist/components/ds-panel/ds-panel.d.ts +17 -0
- package/dist/components/ds-panel/ds-panel.d.ts.map +1 -0
- package/dist/components/ds-panel/ds-panel.js +128 -0
- package/dist/components/ds-panel/ds-panel.js.map +1 -0
- package/dist/components/ds-panel/ds-panel.module.cjs +13 -0
- package/dist/components/ds-panel/ds-panel.module.js +13 -0
- package/dist/components/ds-panel/ds-panel.module.js.map +1 -0
- package/dist/components/ds-panel/ds-panel.types.d.cts +19 -0
- package/dist/components/ds-panel/ds-panel.types.d.cts.map +1 -0
- package/dist/components/ds-panel/ds-panel.types.d.ts +19 -0
- package/dist/components/ds-panel/ds-panel.types.d.ts.map +1 -0
- package/dist/components/ds-panel/index.cjs +1 -0
- package/dist/components/ds-panel/index.d.ts +2 -0
- package/dist/components/ds-panel/index.js +1 -0
- package/dist/components/ds-password-input/ds-password-input.cjs +125 -0
- package/dist/components/ds-password-input/ds-password-input.d.cts +8 -0
- package/dist/components/ds-password-input/ds-password-input.d.cts.map +1 -0
- package/dist/components/ds-password-input/ds-password-input.d.ts +8 -0
- package/dist/components/ds-password-input/ds-password-input.d.ts.map +1 -0
- package/dist/components/ds-password-input/ds-password-input.js +124 -0
- package/dist/components/ds-password-input/ds-password-input.js.map +1 -0
- package/dist/components/ds-password-input/ds-password-input.module.cjs +14 -0
- package/dist/components/ds-password-input/ds-password-input.module.js +14 -0
- package/dist/components/ds-password-input/ds-password-input.module.js.map +1 -0
- package/dist/components/ds-password-input/ds-password-input.types.d.cts +66 -0
- package/dist/components/ds-password-input/ds-password-input.types.d.cts.map +1 -0
- package/dist/components/ds-password-input/ds-password-input.types.d.ts +66 -0
- package/dist/components/ds-password-input/ds-password-input.types.d.ts.map +1 -0
- package/dist/components/ds-password-input/index.cjs +1 -0
- package/dist/components/ds-password-input/index.d.ts +2 -0
- package/dist/components/ds-password-input/index.js +1 -0
- package/dist/components/ds-popover/ds-popover.cjs +64 -0
- package/dist/components/ds-popover/ds-popover.d.cts +8 -0
- package/dist/components/ds-popover/ds-popover.d.cts.map +1 -0
- package/dist/components/ds-popover/ds-popover.d.ts +8 -0
- package/dist/components/ds-popover/ds-popover.d.ts.map +1 -0
- package/dist/components/ds-popover/ds-popover.js +62 -0
- package/dist/components/ds-popover/ds-popover.js.map +1 -0
- package/dist/components/ds-popover/ds-popover.module.cjs +9 -0
- package/dist/components/ds-popover/ds-popover.module.js +9 -0
- package/dist/components/ds-popover/ds-popover.module.js.map +1 -0
- package/dist/components/ds-popover/ds-popover.types.d.cts +28 -0
- package/dist/components/ds-popover/ds-popover.types.d.cts.map +1 -0
- package/dist/components/ds-popover/ds-popover.types.d.ts +28 -0
- package/dist/components/ds-popover/ds-popover.types.d.ts.map +1 -0
- package/dist/components/ds-popover/index.cjs +1 -0
- package/dist/components/ds-popover/index.d.ts +2 -0
- package/dist/components/ds-popover/index.js +1 -0
- package/dist/components/ds-radio-group/ds-radio-group.cjs +255 -0
- package/dist/components/ds-radio-group/ds-radio-group.d.cts +27 -0
- package/dist/components/ds-radio-group/ds-radio-group.d.cts.map +1 -0
- package/dist/components/ds-radio-group/ds-radio-group.d.ts +27 -0
- package/dist/components/ds-radio-group/ds-radio-group.d.ts.map +1 -0
- package/dist/components/ds-radio-group/ds-radio-group.js +252 -0
- package/dist/components/ds-radio-group/ds-radio-group.js.map +1 -0
- package/dist/components/ds-radio-group/ds-radio-group.module.cjs +14 -0
- package/dist/components/ds-radio-group/ds-radio-group.module.js +14 -0
- package/dist/components/ds-radio-group/ds-radio-group.module.js.map +1 -0
- package/dist/components/ds-radio-group/ds-radio-group.types.cjs +1 -0
- package/dist/components/ds-radio-group/ds-radio-group.types.d.cts +87 -0
- package/dist/components/ds-radio-group/ds-radio-group.types.d.cts.map +1 -0
- package/dist/components/ds-radio-group/ds-radio-group.types.d.ts +87 -0
- package/dist/components/ds-radio-group/ds-radio-group.types.d.ts.map +1 -0
- package/dist/components/ds-radio-group/ds-radio-group.types.js +1 -0
- package/dist/components/ds-radio-group/index.cjs +2 -0
- package/dist/components/ds-radio-group/index.d.ts +2 -0
- package/dist/components/ds-radio-group/index.js +2 -0
- package/dist/components/ds-select/ds-select.cjs +276 -0
- package/dist/components/ds-select/ds-select.d.cts +21 -0
- package/dist/components/ds-select/ds-select.d.cts.map +1 -0
- package/dist/components/ds-select/ds-select.d.ts +21 -0
- package/dist/components/ds-select/ds-select.d.ts.map +1 -0
- package/dist/components/ds-select/ds-select.js +275 -0
- package/dist/components/ds-select/ds-select.js.map +1 -0
- package/dist/components/ds-select/ds-select.module.cjs +24 -0
- package/dist/components/ds-select/ds-select.module.js +24 -0
- package/dist/components/ds-select/ds-select.module.js.map +1 -0
- package/dist/components/ds-select/ds-select.types.d.cts +74 -0
- package/dist/components/ds-select/ds-select.types.d.cts.map +1 -0
- package/dist/components/ds-select/ds-select.types.d.ts +75 -0
- package/dist/components/ds-select/ds-select.types.d.ts.map +1 -0
- package/dist/components/ds-select/index.cjs +1 -0
- package/dist/components/ds-select/index.d.ts +2 -0
- package/dist/components/ds-select/index.js +1 -0
- package/dist/components/ds-select/select-items-chips.cjs +97 -0
- package/dist/components/ds-select/select-items-chips.js +97 -0
- package/dist/components/ds-select/select-items-chips.js.map +1 -0
- package/dist/components/ds-smart-tabs/ds-smart-tabs.cjs +252 -0
- package/dist/components/ds-smart-tabs/ds-smart-tabs.d.cts +22 -0
- package/dist/components/ds-smart-tabs/ds-smart-tabs.d.cts.map +1 -0
- package/dist/components/ds-smart-tabs/ds-smart-tabs.d.ts +22 -0
- package/dist/components/ds-smart-tabs/ds-smart-tabs.d.ts.map +1 -0
- package/dist/components/ds-smart-tabs/ds-smart-tabs.js +251 -0
- package/dist/components/ds-smart-tabs/ds-smart-tabs.js.map +1 -0
- package/dist/components/ds-smart-tabs/ds-smart-tabs.module.cjs +15 -0
- package/dist/components/ds-smart-tabs/ds-smart-tabs.module.js +15 -0
- package/dist/components/ds-smart-tabs/ds-smart-tabs.module.js.map +1 -0
- package/dist/components/ds-smart-tabs/ds-smart-tabs.types.cjs +16 -0
- package/dist/components/ds-smart-tabs/ds-smart-tabs.types.d.cts +65 -0
- package/dist/components/ds-smart-tabs/ds-smart-tabs.types.d.cts.map +1 -0
- package/dist/components/ds-smart-tabs/ds-smart-tabs.types.d.ts +65 -0
- package/dist/components/ds-smart-tabs/ds-smart-tabs.types.d.ts.map +1 -0
- package/dist/components/ds-smart-tabs/ds-smart-tabs.types.js +16 -0
- package/dist/components/ds-smart-tabs/ds-smart-tabs.types.js.map +1 -0
- package/dist/components/ds-smart-tabs/index.cjs +2 -0
- package/dist/components/ds-smart-tabs/index.d.ts +2 -0
- package/dist/components/ds-smart-tabs/index.js +2 -0
- package/dist/components/ds-spinner/ds-spinner.cjs +122 -0
- package/dist/components/ds-spinner/ds-spinner.d.cts +12 -0
- package/dist/components/ds-spinner/ds-spinner.d.cts.map +1 -0
- package/dist/components/ds-spinner/ds-spinner.d.ts +12 -0
- package/dist/components/ds-spinner/ds-spinner.d.ts.map +1 -0
- package/dist/components/ds-spinner/ds-spinner.js +121 -0
- package/dist/components/ds-spinner/ds-spinner.js.map +1 -0
- package/dist/components/ds-spinner/ds-spinner.module.cjs +11 -0
- package/dist/components/ds-spinner/ds-spinner.module.js +11 -0
- package/dist/components/ds-spinner/ds-spinner.module.js.map +1 -0
- package/dist/components/ds-spinner/ds-spinner.types.cjs +10 -0
- package/dist/components/ds-spinner/ds-spinner.types.d.cts +23 -0
- package/dist/components/ds-spinner/ds-spinner.types.d.cts.map +1 -0
- package/dist/components/ds-spinner/ds-spinner.types.d.ts +23 -0
- package/dist/components/ds-spinner/ds-spinner.types.d.ts.map +1 -0
- package/dist/components/ds-spinner/ds-spinner.types.js +10 -0
- package/dist/components/ds-spinner/ds-spinner.types.js.map +1 -0
- package/dist/components/ds-spinner/index.cjs +2 -0
- package/dist/components/ds-spinner/index.d.ts +2 -0
- package/dist/components/ds-spinner/index.js +2 -0
- package/dist/components/ds-status-badge/ds-status-badge.cjs +79 -0
- package/dist/components/ds-status-badge/ds-status-badge.d.cts +12 -0
- package/dist/components/ds-status-badge/ds-status-badge.d.cts.map +1 -0
- package/dist/components/ds-status-badge/ds-status-badge.d.ts +12 -0
- package/dist/components/ds-status-badge/ds-status-badge.d.ts.map +1 -0
- package/dist/components/ds-status-badge/ds-status-badge.js +78 -0
- package/dist/components/ds-status-badge/ds-status-badge.js.map +1 -0
- package/dist/components/ds-status-badge/ds-status-badge.module.cjs +18 -0
- package/dist/components/ds-status-badge/ds-status-badge.module.js +18 -0
- package/dist/components/ds-status-badge/ds-status-badge.module.js.map +1 -0
- package/dist/components/ds-status-badge/ds-status-badge.types.d.cts +47 -0
- package/dist/components/ds-status-badge/ds-status-badge.types.d.cts.map +1 -0
- package/dist/components/ds-status-badge/ds-status-badge.types.d.ts +48 -0
- package/dist/components/ds-status-badge/ds-status-badge.types.d.ts.map +1 -0
- package/dist/components/ds-status-badge/index.cjs +1 -0
- package/dist/components/ds-status-badge/index.d.ts +2 -0
- package/dist/components/ds-status-badge/index.js +1 -0
- package/dist/components/ds-stepper/components/ds-step-content.cjs +74 -0
- package/dist/components/ds-stepper/components/ds-step-content.d.cts +19 -0
- package/dist/components/ds-stepper/components/ds-step-content.d.cts.map +1 -0
- package/dist/components/ds-stepper/components/ds-step-content.d.ts +19 -0
- package/dist/components/ds-stepper/components/ds-step-content.d.ts.map +1 -0
- package/dist/components/ds-stepper/components/ds-step-content.js +73 -0
- package/dist/components/ds-stepper/components/ds-step-content.js.map +1 -0
- package/dist/components/ds-stepper/components/ds-step-description.cjs +23 -0
- package/dist/components/ds-stepper/components/ds-step-description.js +23 -0
- package/dist/components/ds-stepper/components/ds-step-description.js.map +1 -0
- package/dist/components/ds-stepper/components/ds-step-label.cjs +23 -0
- package/dist/components/ds-stepper/components/ds-step-label.js +23 -0
- package/dist/components/ds-stepper/components/ds-step-label.js.map +1 -0
- package/dist/components/ds-stepper/components/ds-step-next-button.cjs +33 -0
- package/dist/components/ds-stepper/components/ds-step-next-button.d.cts +10 -0
- package/dist/components/ds-stepper/components/ds-step-next-button.d.cts.map +1 -0
- package/dist/components/ds-stepper/components/ds-step-next-button.d.ts +10 -0
- package/dist/components/ds-stepper/components/ds-step-next-button.d.ts.map +1 -0
- package/dist/components/ds-stepper/components/ds-step-next-button.js +33 -0
- package/dist/components/ds-stepper/components/ds-step-next-button.js.map +1 -0
- package/dist/components/ds-stepper/components/ds-step.cjs +126 -0
- package/dist/components/ds-stepper/components/ds-step.d.cts +16 -0
- package/dist/components/ds-stepper/components/ds-step.d.cts.map +1 -0
- package/dist/components/ds-stepper/components/ds-step.d.ts +16 -0
- package/dist/components/ds-stepper/components/ds-step.d.ts.map +1 -0
- package/dist/components/ds-stepper/components/ds-step.js +125 -0
- package/dist/components/ds-stepper/components/ds-step.js.map +1 -0
- package/dist/components/ds-stepper/ds-stepper.cjs +78 -0
- package/dist/components/ds-stepper/ds-stepper.d.cts +15 -0
- package/dist/components/ds-stepper/ds-stepper.d.cts.map +1 -0
- package/dist/components/ds-stepper/ds-stepper.d.ts +15 -0
- package/dist/components/ds-stepper/ds-stepper.d.ts.map +1 -0
- package/dist/components/ds-stepper/ds-stepper.js +77 -0
- package/dist/components/ds-stepper/ds-stepper.js.map +1 -0
- package/dist/components/ds-stepper/ds-stepper.module.cjs +18 -0
- package/dist/components/ds-stepper/ds-stepper.module.js +18 -0
- package/dist/components/ds-stepper/ds-stepper.module.js.map +1 -0
- package/dist/components/ds-stepper/ds-stepper.types.d.cts +13 -0
- package/dist/components/ds-stepper/ds-stepper.types.d.cts.map +1 -0
- package/dist/components/ds-stepper/ds-stepper.types.d.ts +13 -0
- package/dist/components/ds-stepper/ds-stepper.types.d.ts.map +1 -0
- package/dist/components/ds-stepper/hooks/use-stepper.cjs +14 -0
- package/dist/components/ds-stepper/hooks/use-stepper.js +13 -0
- package/dist/components/ds-stepper/hooks/use-stepper.js.map +1 -0
- package/dist/components/ds-stepper/hooks/use-steps.cjs +40 -0
- package/dist/components/ds-stepper/hooks/use-steps.js +39 -0
- package/dist/components/ds-stepper/hooks/use-steps.js.map +1 -0
- package/dist/components/ds-stepper/index.cjs +4 -0
- package/dist/components/ds-stepper/index.d.ts +5 -0
- package/dist/components/ds-stepper/index.js +4 -0
- package/dist/components/ds-system-status/ds-system-status.cjs +67 -0
- package/dist/components/ds-system-status/ds-system-status.d.cts +13 -0
- package/dist/components/ds-system-status/ds-system-status.d.cts.map +1 -0
- package/dist/components/ds-system-status/ds-system-status.d.ts +13 -0
- package/dist/components/ds-system-status/ds-system-status.d.ts.map +1 -0
- package/dist/components/ds-system-status/ds-system-status.js +66 -0
- package/dist/components/ds-system-status/ds-system-status.js.map +1 -0
- package/dist/components/ds-system-status/ds-system-status.module.cjs +17 -0
- package/dist/components/ds-system-status/ds-system-status.module.js +17 -0
- package/dist/components/ds-system-status/ds-system-status.module.js.map +1 -0
- package/dist/components/ds-system-status/ds-system-status.types.cjs +18 -0
- package/dist/components/ds-system-status/ds-system-status.types.d.cts +31 -0
- package/dist/components/ds-system-status/ds-system-status.types.d.cts.map +1 -0
- package/dist/components/ds-system-status/ds-system-status.types.d.ts +31 -0
- package/dist/components/ds-system-status/ds-system-status.types.d.ts.map +1 -0
- package/dist/components/ds-system-status/ds-system-status.types.js +18 -0
- package/dist/components/ds-system-status/ds-system-status.types.js.map +1 -0
- package/dist/components/ds-system-status/index.cjs +2 -0
- package/dist/components/ds-system-status/index.d.ts +2 -0
- package/dist/components/ds-system-status/index.js +2 -0
- package/dist/components/ds-table/components/core-table/core-table.cjs +312 -0
- package/dist/components/ds-table/components/core-table/core-table.js +306 -0
- package/dist/components/ds-table/components/core-table/core-table.js.map +1 -0
- package/dist/components/ds-table/components/core-table/core-table.module.cjs +12 -0
- package/dist/components/ds-table/components/core-table/core-table.module.js +12 -0
- package/dist/components/ds-table/components/core-table/core-table.module.js.map +1 -0
- package/dist/components/ds-table/components/core-table/index.cjs +1 -0
- package/dist/components/ds-table/components/core-table/index.js +1 -0
- package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.cjs +161 -0
- package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.js +160 -0
- package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.js.map +1 -0
- package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.module.cjs +20 -0
- package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.module.js +20 -0
- package/dist/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.module.js.map +1 -0
- package/dist/components/ds-table/components/ds-table-bulk-actions/index.cjs +1 -0
- package/dist/components/ds-table/components/ds-table-bulk-actions/index.js +1 -0
- package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.cjs +175 -0
- package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.d.ts +2 -0
- package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.js +174 -0
- package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.js.map +1 -0
- package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.module.cjs +13 -0
- package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.module.js +13 -0
- package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.module.js.map +1 -0
- package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.types.d.cts +41 -0
- package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.types.d.cts.map +1 -0
- package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.types.d.ts +42 -0
- package/dist/components/ds-table/components/ds-table-cell/ds-table-cell.types.d.ts.map +1 -0
- package/dist/components/ds-table/components/ds-table-cell/index.cjs +1 -0
- package/dist/components/ds-table/components/ds-table-cell/index.d.ts +2 -0
- package/dist/components/ds-table/components/ds-table-cell/index.js +1 -0
- package/dist/components/ds-table/components/ds-table-header/ds-table-header.cjs +104 -0
- package/dist/components/ds-table/components/ds-table-header/ds-table-header.js +103 -0
- package/dist/components/ds-table/components/ds-table-header/ds-table-header.js.map +1 -0
- package/dist/components/ds-table/components/ds-table-header/ds-table-header.module.cjs +20 -0
- package/dist/components/ds-table/components/ds-table-header/ds-table-header.module.js +20 -0
- package/dist/components/ds-table/components/ds-table-header/ds-table-header.module.js.map +1 -0
- package/dist/components/ds-table/components/ds-table-header/index.cjs +1 -0
- package/dist/components/ds-table/components/ds-table-header/index.js +1 -0
- package/dist/components/ds-table/components/ds-table-row/ds-table-row.cjs +312 -0
- package/dist/components/ds-table/components/ds-table-row/ds-table-row.js +310 -0
- package/dist/components/ds-table/components/ds-table-row/ds-table-row.js.map +1 -0
- package/dist/components/ds-table/components/ds-table-row/ds-table-row.module.cjs +23 -0
- package/dist/components/ds-table/components/ds-table-row/ds-table-row.module.js +23 -0
- package/dist/components/ds-table/components/ds-table-row/ds-table-row.module.js.map +1 -0
- package/dist/components/ds-table/components/ds-table-row/index.cjs +1 -0
- package/dist/components/ds-table/components/ds-table-row/index.js +1 -0
- package/dist/components/ds-table/context/ds-table-context.cjs +14 -0
- package/dist/components/ds-table/context/ds-table-context.js +13 -0
- package/dist/components/ds-table/context/ds-table-context.js.map +1 -0
- package/dist/components/ds-table/ds-table.cjs +200 -0
- package/dist/components/ds-table/ds-table.d.cts +45 -0
- package/dist/components/ds-table/ds-table.d.cts.map +1 -0
- package/dist/components/ds-table/ds-table.d.ts +45 -0
- package/dist/components/ds-table/ds-table.d.ts.map +1 -0
- package/dist/components/ds-table/ds-table.js +199 -0
- package/dist/components/ds-table/ds-table.js.map +1 -0
- package/dist/components/ds-table/ds-table.module.cjs +25 -0
- package/dist/components/ds-table/ds-table.module.js +25 -0
- package/dist/components/ds-table/ds-table.module.js.map +1 -0
- package/dist/components/ds-table/ds-table.types.d.cts +332 -0
- package/dist/components/ds-table/ds-table.types.d.cts.map +1 -0
- package/dist/components/ds-table/ds-table.types.d.ts +333 -0
- package/dist/components/ds-table/ds-table.types.d.ts.map +1 -0
- package/dist/components/ds-table/hooks/use-drag-and-drop.cjs +142 -0
- package/dist/components/ds-table/hooks/use-drag-and-drop.js +141 -0
- package/dist/components/ds-table/hooks/use-drag-and-drop.js.map +1 -0
- package/dist/components/ds-table/index.cjs +1 -0
- package/dist/components/ds-table/index.d.ts +4 -0
- package/dist/components/ds-table/index.js +1 -0
- package/dist/components/ds-table/styles/shared/ds-table-shared.module.cjs +17 -0
- package/dist/components/ds-table/styles/shared/ds-table-shared.module.js +17 -0
- package/dist/components/ds-table/styles/shared/ds-table-shared.module.js.map +1 -0
- package/dist/components/ds-table/utils/column-styling.cjs +23 -0
- package/dist/components/ds-table/utils/column-styling.js +23 -0
- package/dist/components/ds-table/utils/column-styling.js.map +1 -0
- package/dist/components/ds-table/utils/create-columns-grid-template.cjs +11 -0
- package/dist/components/ds-table/utils/create-columns-grid-template.js +11 -0
- package/dist/components/ds-table/utils/create-columns-grid-template.js.map +1 -0
- package/dist/components/ds-table/utils/merge-refs.cjs +13 -0
- package/dist/components/ds-table/utils/merge-refs.js +13 -0
- package/dist/components/ds-table/utils/merge-refs.js.map +1 -0
- package/dist/components/ds-text-input/ds-text-input.cjs +142 -0
- package/dist/components/ds-text-input/ds-text-input.d.cts +8 -0
- package/dist/components/ds-text-input/ds-text-input.d.cts.map +1 -0
- package/dist/components/ds-text-input/ds-text-input.d.ts +8 -0
- package/dist/components/ds-text-input/ds-text-input.d.ts.map +1 -0
- package/dist/components/ds-text-input/ds-text-input.js +141 -0
- package/dist/components/ds-text-input/ds-text-input.js.map +1 -0
- package/dist/components/ds-text-input/ds-text-input.module.cjs +15 -0
- package/dist/components/ds-text-input/ds-text-input.module.js +15 -0
- package/dist/components/ds-text-input/ds-text-input.module.js.map +1 -0
- package/dist/components/ds-text-input/ds-text-input.types.cjs +6 -0
- package/dist/components/ds-text-input/ds-text-input.types.d.cts +111 -0
- package/dist/components/ds-text-input/ds-text-input.types.d.cts.map +1 -0
- package/dist/components/ds-text-input/ds-text-input.types.d.ts +111 -0
- package/dist/components/ds-text-input/ds-text-input.types.d.ts.map +1 -0
- package/dist/components/ds-text-input/ds-text-input.types.js +6 -0
- package/dist/components/ds-text-input/ds-text-input.types.js.map +1 -0
- package/dist/components/ds-text-input/index.cjs +2 -0
- package/dist/components/ds-text-input/index.d.ts +2 -0
- package/dist/components/ds-text-input/index.js +2 -0
- package/dist/components/ds-textarea/ds-textarea.cjs +78 -0
- package/dist/components/ds-textarea/ds-textarea.d.cts +8 -0
- package/dist/components/ds-textarea/ds-textarea.d.cts.map +1 -0
- package/dist/components/ds-textarea/ds-textarea.d.ts +8 -0
- package/dist/components/ds-textarea/ds-textarea.d.ts.map +1 -0
- package/dist/components/ds-textarea/ds-textarea.js +77 -0
- package/dist/components/ds-textarea/ds-textarea.js.map +1 -0
- package/dist/components/ds-textarea/ds-textarea.module.cjs +6 -0
- package/dist/components/ds-textarea/ds-textarea.module.js +6 -0
- package/dist/components/ds-textarea/ds-textarea.module.js.map +1 -0
- package/dist/components/ds-textarea/ds-textarea.types.d.cts +71 -0
- package/dist/components/ds-textarea/ds-textarea.types.d.cts.map +1 -0
- package/dist/components/ds-textarea/ds-textarea.types.d.ts +71 -0
- package/dist/components/ds-textarea/ds-textarea.types.d.ts.map +1 -0
- package/dist/components/ds-textarea/index.cjs +1 -0
- package/dist/components/ds-textarea/index.d.ts +2 -0
- package/dist/components/ds-textarea/index.js +1 -0
- package/dist/components/ds-toast/ds-toast-context.cjs +85 -0
- package/dist/components/ds-toast/ds-toast-context.d.cts +42 -0
- package/dist/components/ds-toast/ds-toast-context.d.cts.map +1 -0
- package/dist/components/ds-toast/ds-toast-context.d.ts +42 -0
- package/dist/components/ds-toast/ds-toast-context.d.ts.map +1 -0
- package/dist/components/ds-toast/ds-toast-context.js +84 -0
- package/dist/components/ds-toast/ds-toast-context.js.map +1 -0
- package/dist/components/ds-toast/ds-toast.cjs +129 -0
- package/dist/components/ds-toast/ds-toast.js +129 -0
- package/dist/components/ds-toast/ds-toast.js.map +1 -0
- package/dist/components/ds-toast/ds-toast.module.cjs +11 -0
- package/dist/components/ds-toast/ds-toast.module.js +11 -0
- package/dist/components/ds-toast/ds-toast.module.js.map +1 -0
- package/dist/components/ds-toast/ds-toast.types.d.cts +53 -0
- package/dist/components/ds-toast/ds-toast.types.d.cts.map +1 -0
- package/dist/components/ds-toast/ds-toast.types.d.ts +53 -0
- package/dist/components/ds-toast/ds-toast.types.d.ts.map +1 -0
- package/dist/components/ds-toast/index.cjs +1 -0
- package/dist/components/ds-toast/index.d.ts +2 -0
- package/dist/components/ds-toast/index.js +1 -0
- package/dist/components/ds-tooltip/ds-tooltip.cjs +74 -0
- package/dist/components/ds-tooltip/ds-tooltip.d.cts +8 -0
- package/dist/components/ds-tooltip/ds-tooltip.d.cts.map +1 -0
- package/dist/components/ds-tooltip/ds-tooltip.d.ts +8 -0
- package/dist/components/ds-tooltip/ds-tooltip.d.ts.map +1 -0
- package/dist/components/ds-tooltip/ds-tooltip.js +72 -0
- package/dist/components/ds-tooltip/ds-tooltip.js.map +1 -0
- package/dist/components/ds-tooltip/ds-tooltip.module.cjs +10 -0
- package/dist/components/ds-tooltip/ds-tooltip.module.js +10 -0
- package/dist/components/ds-tooltip/ds-tooltip.module.js.map +1 -0
- package/dist/components/ds-tooltip/ds-tooltip.types.d.cts +16 -0
- package/dist/components/ds-tooltip/ds-tooltip.types.d.cts.map +1 -0
- package/dist/components/ds-tooltip/ds-tooltip.types.d.ts +16 -0
- package/dist/components/ds-tooltip/ds-tooltip.types.d.ts.map +1 -0
- package/dist/components/ds-tooltip/index.cjs +1 -0
- package/dist/components/ds-tooltip/index.d.ts +2 -0
- package/dist/components/ds-tooltip/index.js +1 -0
- package/dist/components/ds-typography/ds-typography.cjs +65 -0
- package/dist/components/ds-typography/ds-typography.config.cjs +30 -0
- package/dist/components/ds-typography/ds-typography.config.d.cts +29 -0
- package/dist/components/ds-typography/ds-typography.config.d.cts.map +1 -0
- package/dist/components/ds-typography/ds-typography.config.d.ts +29 -0
- package/dist/components/ds-typography/ds-typography.config.d.ts.map +1 -0
- package/dist/components/ds-typography/ds-typography.config.js +30 -0
- package/dist/components/ds-typography/ds-typography.config.js.map +1 -0
- package/dist/components/ds-typography/ds-typography.d.cts +10 -0
- package/dist/components/ds-typography/ds-typography.d.cts.map +1 -0
- package/dist/components/ds-typography/ds-typography.d.ts +10 -0
- package/dist/components/ds-typography/ds-typography.d.ts.map +1 -0
- package/dist/components/ds-typography/ds-typography.js +64 -0
- package/dist/components/ds-typography/ds-typography.js.map +1 -0
- package/dist/components/ds-typography/ds-typography.module.cjs +30 -0
- package/dist/components/ds-typography/ds-typography.module.js +30 -0
- package/dist/components/ds-typography/ds-typography.module.js.map +1 -0
- package/dist/components/ds-typography/ds-typography.types.d.cts +30 -0
- package/dist/components/ds-typography/ds-typography.types.d.cts.map +1 -0
- package/dist/components/ds-typography/ds-typography.types.d.ts +30 -0
- package/dist/components/ds-typography/ds-typography.types.d.ts.map +1 -0
- package/dist/components/ds-typography/index.cjs +1 -0
- package/dist/components/ds-typography/index.d.ts +2 -0
- package/dist/components/ds-typography/index.js +1 -0
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.cjs +137 -0
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.cts +50 -0
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.cts.map +1 -0
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.ts +50 -0
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.d.ts.map +1 -0
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.js +136 -0
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.js.map +1 -0
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.module.cjs +10 -0
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.module.js +10 -0
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.module.js.map +1 -0
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.types.d.cts +70 -0
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.types.d.cts.map +1 -0
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.types.d.ts +70 -0
- package/dist/components/ds-vertical-tabs/ds-vertical-tabs.types.d.ts.map +1 -0
- package/dist/components/ds-vertical-tabs/index.cjs +1 -0
- package/dist/components/ds-vertical-tabs/index.d.ts +2 -0
- package/dist/components/ds-vertical-tabs/index.js +1 -0
- package/dist/index.cjs +136 -5394
- package/dist/index.d.cts +78 -9157
- package/dist/index.d.ts +112 -9157
- package/dist/index.js +83 -5335
- package/dist/index.min.css +1 -0
- package/package.json +10 -3
- package/src/components/ds-drawer/ds-drawer.module.scss +2 -2
- package/src/styles/_grid-variables.scss +13 -0
- package/src/styles/_grid.scss +17 -29
- package/dist/index.css +0 -1
- package/dist/index.d.cts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1,79 @@
|
|
|
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_typography = require('../ds-typography/ds-typography.cjs');
|
|
5
|
+
require('../ds-typography/index.cjs');
|
|
6
|
+
const require_ds_status_badge_module = require('./ds-status-badge.module.cjs');
|
|
7
|
+
let react_compiler_runtime = require("react/compiler-runtime");
|
|
8
|
+
let classnames = require("classnames");
|
|
9
|
+
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
10
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
11
|
+
|
|
12
|
+
//#region src/components/ds-status-badge/ds-status-badge.tsx
|
|
13
|
+
/**
|
|
14
|
+
* Design system StatusBadge component
|
|
15
|
+
*/
|
|
16
|
+
const DsStatusBadge = (t0) => {
|
|
17
|
+
const $ = (0, react_compiler_runtime.c)(16);
|
|
18
|
+
const { icon, status, label: t1, className, style, ghost: t2, size: t3, "aria-label": t4 } = t0;
|
|
19
|
+
const label = t1 === void 0 ? status : t1;
|
|
20
|
+
const ghost = t2 === void 0 ? false : t2;
|
|
21
|
+
const size = t3 === void 0 ? "medium" : t3;
|
|
22
|
+
const ariaLabel = t4 === void 0 ? label : t4;
|
|
23
|
+
const t5 = require_ds_status_badge_module.default[status];
|
|
24
|
+
const t6 = ghost && require_ds_status_badge_module.default.ghost;
|
|
25
|
+
const t7 = size === "small" && require_ds_status_badge_module.default.small;
|
|
26
|
+
let t8;
|
|
27
|
+
if ($[0] !== className || $[1] !== t5 || $[2] !== t6 || $[3] !== t7) {
|
|
28
|
+
t8 = (0, classnames.default)(require_ds_status_badge_module.default.container, t5, t6, t7, className);
|
|
29
|
+
$[0] = className;
|
|
30
|
+
$[1] = t5;
|
|
31
|
+
$[2] = t6;
|
|
32
|
+
$[3] = t7;
|
|
33
|
+
$[4] = t8;
|
|
34
|
+
} else t8 = $[4];
|
|
35
|
+
let t9;
|
|
36
|
+
if ($[5] !== icon) {
|
|
37
|
+
t9 = icon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_icon.default, {
|
|
38
|
+
icon,
|
|
39
|
+
size: "tiny",
|
|
40
|
+
filled: true,
|
|
41
|
+
"aria-hidden": "true"
|
|
42
|
+
});
|
|
43
|
+
$[5] = icon;
|
|
44
|
+
$[6] = t9;
|
|
45
|
+
} else t9 = $[6];
|
|
46
|
+
const t10 = ghost ? "body-xs-md" : "body-xs-reg";
|
|
47
|
+
let t11;
|
|
48
|
+
if ($[7] !== label || $[8] !== t10) {
|
|
49
|
+
t11 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_typography.default, {
|
|
50
|
+
className: require_ds_status_badge_module.default.label,
|
|
51
|
+
variant: t10,
|
|
52
|
+
children: label
|
|
53
|
+
});
|
|
54
|
+
$[7] = label;
|
|
55
|
+
$[8] = t10;
|
|
56
|
+
$[9] = t11;
|
|
57
|
+
} else t11 = $[9];
|
|
58
|
+
let t12;
|
|
59
|
+
if ($[10] !== ariaLabel || $[11] !== style || $[12] !== t11 || $[13] !== t8 || $[14] !== t9) {
|
|
60
|
+
t12 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
61
|
+
style,
|
|
62
|
+
className: t8,
|
|
63
|
+
role: "status",
|
|
64
|
+
"aria-label": ariaLabel,
|
|
65
|
+
children: [t9, t11]
|
|
66
|
+
});
|
|
67
|
+
$[10] = ariaLabel;
|
|
68
|
+
$[11] = style;
|
|
69
|
+
$[12] = t11;
|
|
70
|
+
$[13] = t8;
|
|
71
|
+
$[14] = t9;
|
|
72
|
+
$[15] = t12;
|
|
73
|
+
} else t12 = $[15];
|
|
74
|
+
return t12;
|
|
75
|
+
};
|
|
76
|
+
var ds_status_badge_default = DsStatusBadge;
|
|
77
|
+
|
|
78
|
+
//#endregion
|
|
79
|
+
exports.default = ds_status_badge_default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DsStatusBadgeProps } from "./ds-status-badge.types.cjs";
|
|
2
|
+
import React from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ds-status-badge/ds-status-badge.d.ts
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Design system StatusBadge component
|
|
8
|
+
*/
|
|
9
|
+
declare const DsStatusBadge: React.FC<DsStatusBadgeProps>;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { DsStatusBadge };
|
|
12
|
+
//# sourceMappingURL=ds-status-badge.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-status-badge.d.cts","names":[],"sources":["../../../src/components/ds-status-badge/ds-status-badge.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAGkE;cAO5D,eAAe,KAAA,CAAM,GAAG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DsStatusBadgeProps } from "./ds-status-badge.types.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ds-status-badge/ds-status-badge.d.ts
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Design system StatusBadge component
|
|
8
|
+
*/
|
|
9
|
+
declare const DsStatusBadge: React.FC<DsStatusBadgeProps>;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { DsStatusBadge };
|
|
12
|
+
//# sourceMappingURL=ds-status-badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-status-badge.d.ts","names":[],"sources":["../../../src/components/ds-status-badge/ds-status-badge.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAGkE;cAO5D,eAAe,KAAA,CAAM,GAAG"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import ds_icon_default from "../ds-icon/ds-icon.js";
|
|
2
|
+
import "../ds-icon/index.js";
|
|
3
|
+
import ds_typography_default from "../ds-typography/ds-typography.js";
|
|
4
|
+
import "../ds-typography/index.js";
|
|
5
|
+
import ds_status_badge_module_default from "./ds-status-badge.module.js";
|
|
6
|
+
import { c } from "react/compiler-runtime";
|
|
7
|
+
import classNames from "classnames";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
|
|
10
|
+
//#region src/components/ds-status-badge/ds-status-badge.tsx
|
|
11
|
+
/**
|
|
12
|
+
* Design system StatusBadge component
|
|
13
|
+
*/
|
|
14
|
+
const DsStatusBadge = (t0) => {
|
|
15
|
+
const $ = c(16);
|
|
16
|
+
const { icon, status, label: t1, className, style, ghost: t2, size: t3, "aria-label": t4 } = t0;
|
|
17
|
+
const label = t1 === void 0 ? status : t1;
|
|
18
|
+
const ghost = t2 === void 0 ? false : t2;
|
|
19
|
+
const size = t3 === void 0 ? "medium" : t3;
|
|
20
|
+
const ariaLabel = t4 === void 0 ? label : t4;
|
|
21
|
+
const t5 = ds_status_badge_module_default[status];
|
|
22
|
+
const t6 = ghost && ds_status_badge_module_default.ghost;
|
|
23
|
+
const t7 = size === "small" && ds_status_badge_module_default.small;
|
|
24
|
+
let t8;
|
|
25
|
+
if ($[0] !== className || $[1] !== t5 || $[2] !== t6 || $[3] !== t7) {
|
|
26
|
+
t8 = classNames(ds_status_badge_module_default.container, t5, t6, t7, className);
|
|
27
|
+
$[0] = className;
|
|
28
|
+
$[1] = t5;
|
|
29
|
+
$[2] = t6;
|
|
30
|
+
$[3] = t7;
|
|
31
|
+
$[4] = t8;
|
|
32
|
+
} else t8 = $[4];
|
|
33
|
+
let t9;
|
|
34
|
+
if ($[5] !== icon) {
|
|
35
|
+
t9 = icon && /* @__PURE__ */ jsx(ds_icon_default, {
|
|
36
|
+
icon,
|
|
37
|
+
size: "tiny",
|
|
38
|
+
filled: true,
|
|
39
|
+
"aria-hidden": "true"
|
|
40
|
+
});
|
|
41
|
+
$[5] = icon;
|
|
42
|
+
$[6] = t9;
|
|
43
|
+
} else t9 = $[6];
|
|
44
|
+
const t10 = ghost ? "body-xs-md" : "body-xs-reg";
|
|
45
|
+
let t11;
|
|
46
|
+
if ($[7] !== label || $[8] !== t10) {
|
|
47
|
+
t11 = /* @__PURE__ */ jsx(ds_typography_default, {
|
|
48
|
+
className: ds_status_badge_module_default.label,
|
|
49
|
+
variant: t10,
|
|
50
|
+
children: label
|
|
51
|
+
});
|
|
52
|
+
$[7] = label;
|
|
53
|
+
$[8] = t10;
|
|
54
|
+
$[9] = t11;
|
|
55
|
+
} else t11 = $[9];
|
|
56
|
+
let t12;
|
|
57
|
+
if ($[10] !== ariaLabel || $[11] !== style || $[12] !== t11 || $[13] !== t8 || $[14] !== t9) {
|
|
58
|
+
t12 = /* @__PURE__ */ jsxs("div", {
|
|
59
|
+
style,
|
|
60
|
+
className: t8,
|
|
61
|
+
role: "status",
|
|
62
|
+
"aria-label": ariaLabel,
|
|
63
|
+
children: [t9, t11]
|
|
64
|
+
});
|
|
65
|
+
$[10] = ariaLabel;
|
|
66
|
+
$[11] = style;
|
|
67
|
+
$[12] = t11;
|
|
68
|
+
$[13] = t8;
|
|
69
|
+
$[14] = t9;
|
|
70
|
+
$[15] = t12;
|
|
71
|
+
} else t12 = $[15];
|
|
72
|
+
return t12;
|
|
73
|
+
};
|
|
74
|
+
var ds_status_badge_default = DsStatusBadge;
|
|
75
|
+
|
|
76
|
+
//#endregion
|
|
77
|
+
export { ds_status_badge_default as default };
|
|
78
|
+
//# sourceMappingURL=ds-status-badge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-status-badge.js","names":["React","classNames","styles","DsStatusBadgeProps","DsIcon","DsTypography","DsStatusBadge","FC","t0","$","_c","icon","status","label","t1","className","style","ghost","t2","size","t3","t4","undefined","ariaLabel","t5","t6","t7","small","t8","container","t9","t10","t11","t12"],"sources":["../../../src/components/ds-status-badge/ds-status-badge.tsx"],"sourcesContent":["import type React from 'react';\nimport classNames from 'classnames';\nimport styles from './ds-status-badge.module.scss';\nimport type { DsStatusBadgeProps } from './ds-status-badge.types';\nimport { DsIcon } from '../ds-icon';\nimport { DsTypography } from '../ds-typography';\n\n/**\n * Design system StatusBadge component\n */\nconst DsStatusBadge: React.FC<DsStatusBadgeProps> = ({\n\ticon,\n\tstatus,\n\tlabel = status,\n\tclassName,\n\tstyle,\n\tghost = false,\n\tsize = 'medium',\n\t'aria-label': ariaLabel = label,\n}) => {\n\treturn (\n\t\t<div\n\t\t\tstyle={style}\n\t\t\tclassName={classNames(\n\t\t\t\tstyles.container,\n\t\t\t\tstyles[status],\n\t\t\t\tghost && styles.ghost,\n\t\t\t\tsize === 'small' && styles.small,\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t\trole=\"status\"\n\t\t\taria-label={ariaLabel}\n\t\t>\n\t\t\t{icon && <DsIcon icon={icon} size=\"tiny\" filled aria-hidden=\"true\" />}\n\t\t\t<DsTypography className={styles.label} variant={ghost ? 'body-xs-md' : 'body-xs-reg'}>\n\t\t\t\t{label}\n\t\t\t</DsTypography>\n\t\t</div>\n\t);\n};\n\nexport default DsStatusBadge;\n"],"mappings":";;;;;;;;;;;;;AAUA,MAAMM,iBAA8CE,OAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAC,MAAA,EAAAC,MAAAC,QAAAC,OAAAC,IAAAC,WAAAC,OAAAC,OAAAC,IAAAC,MAAAC,IAAA,cAAAC,OAAAb;CAGpD,MAAAK,QAAAC,OAAAQ,SAAAV,SAAAE;CAGA,MAAAG,QAAAC,OAAAI,SAAA,QAAAJ;CACA,MAAAC,OAAAC,OAAAE,SAAA,WAAAF;CACc,MAAAG,YAAAF,OAAAC,SAAAT,QAAAQ;CAOX,MAAAG,KAAAtB,+BAAOU;CACP,MAAAa,KAAAR,SAASf,+BAAMe;CACf,MAAAS,KAAAP,SAAS,WAAWjB,+BAAMyB;CAAM,IAAAC;AAAA,KAAAnB,EAAA,OAAAM,aAAAN,EAAA,OAAAe,MAAAf,EAAA,OAAAgB,MAAAhB,EAAA,OAAAiB,IAAA;AAJtBE,OAAA3B,WACVC,+BAAM2B,WACNL,IACAC,IACAC,IACAX,UACA;AAAAN,IAAA,KAAAM;AAAAN,IAAA,KAAAe;AAAAf,IAAA,KAAAgB;AAAAhB,IAAA,KAAAiB;AAAAjB,IAAA,KAAAmB;OAAAA,MAAAnB,EAAA;CAAA,IAAAqB;AAAA,KAAArB,EAAA,OAAAE,MAAA;AAIAmB,OAAAnB,QAAQ,oBAAC;GAAaA;GAAW,MAAA;GAAO,QAAA;GAAmB,eAAA;IAAS;AAAAF,IAAA,KAAAE;AAAAF,IAAA,KAAAqB;OAAAA,MAAArB,EAAA;CACrB,MAAAsB,MAAAd,QAAA,eAAA;CAAoC,IAAAe;AAAA,KAAAvB,EAAA,OAAAI,SAAAJ,EAAA,OAAAsB,KAAA;AAApFC,QAAA,oBAAC;GAAwB,WAAA9B,+BAAMW;GAAiB,SAAAkB;aAC9ClB;IACa;AAAAJ,IAAA,KAAAI;AAAAJ,IAAA,KAAAsB;AAAAtB,IAAA,KAAAuB;OAAAA,OAAAvB,EAAA;CAAA,IAAAwB;AAAA,KAAAxB,EAAA,QAAAc,aAAAd,EAAA,QAAAO,SAAAP,EAAA,QAAAuB,OAAAvB,EAAA,QAAAmB,MAAAnB,EAAA,QAAAqB,IAAA;AAfhBG,QAAA,qBAAA;GACQjB;GACI,WAAAY;GAON,MAAA;GACOL,cAAAA;cAEXO,IACDE;IAGK;AAAAvB,IAAA,MAAAc;AAAAd,IAAA,MAAAO;AAAAP,IAAA,MAAAuB;AAAAvB,IAAA,MAAAmB;AAAAnB,IAAA,MAAAqB;AAAArB,IAAA,MAAAwB;OAAAA,OAAAxB,EAAA;AAAA,QAhBNwB;;AAoBF,8BAAe3B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/components/ds-status-badge/ds-status-badge.module.scss
|
|
3
|
+
var ds_status_badge_module_default = {
|
|
4
|
+
"container": "_container_1djyv_1",
|
|
5
|
+
"small": "_small_1djyv_1",
|
|
6
|
+
"active": "_active_1djyv_1",
|
|
7
|
+
"label": "_label_1djyv_1",
|
|
8
|
+
"ghost": "_ghost_1djyv_1",
|
|
9
|
+
"running": "_running_1djyv_1",
|
|
10
|
+
"pending": "_pending_1djyv_1",
|
|
11
|
+
"draft": "_draft_1djyv_1",
|
|
12
|
+
"inactive": "_inactive_1djyv_1",
|
|
13
|
+
"warning": "_warning_1djyv_1",
|
|
14
|
+
"failed": "_failed_1djyv_1"
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.default = ds_status_badge_module_default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region src/components/ds-status-badge/ds-status-badge.module.scss
|
|
2
|
+
var ds_status_badge_module_default = {
|
|
3
|
+
"container": "_container_1djyv_1",
|
|
4
|
+
"small": "_small_1djyv_1",
|
|
5
|
+
"active": "_active_1djyv_1",
|
|
6
|
+
"label": "_label_1djyv_1",
|
|
7
|
+
"ghost": "_ghost_1djyv_1",
|
|
8
|
+
"running": "_running_1djyv_1",
|
|
9
|
+
"pending": "_pending_1djyv_1",
|
|
10
|
+
"draft": "_draft_1djyv_1",
|
|
11
|
+
"inactive": "_inactive_1djyv_1",
|
|
12
|
+
"warning": "_warning_1djyv_1",
|
|
13
|
+
"failed": "_failed_1djyv_1"
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { ds_status_badge_module_default as default };
|
|
18
|
+
//# sourceMappingURL=ds-status-badge.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-status-badge.module.js","names":[],"sources":["../../../src/components/ds-status-badge/ds-status-badge.module.scss"],"sourcesContent":["@use '../../styles/typography';\n\n@mixin status-filled($color, $background, $label-color: var(--color-font-on-action)) {\n\tcolor: $color;\n\tbackground: $background;\n\n\t.label {\n\t\tcolor: $label-color;\n\t}\n}\n\n@mixin status-ghost($color, $background) {\n\t&.ghost {\n\t\tcolor: $color;\n\t\tbackground: $background;\n\n\t\t.label {\n\t\t\tcolor: var(--color-font-main);\n\t\t}\n\t}\n}\n\n.container {\n\tdisplay: flex;\n\talign-items: center;\n\tpadding: var(--spacing-3xs) var(--spacing-standard) var(--spacing-3xs) var(--spacing-xs);\n\twidth: max-content;\n\tcolor: var(--color-icon-inverse);\n\tgap: var(--spacing-3xs);\n\tborder-radius: 100vmax;\n\n\t&.small {\n\t\tpadding: var(--spacing-4xs) var(--spacing-xs) var(--spacing-4xs) var(--spacing-3xs);\n\t\tgap: var(--spacing-4xs);\n\t}\n}\n\n.active {\n\t@include status-filled(var(--color-font-on-action), var(--color-background-success-strong));\n\t@include status-ghost(var(--color-background-success-strong), var(--color-status-bg-success));\n}\n\n.running {\n\t@include status-filled(var(--color-font-on-action), var(--color-background-active-moderate));\n\t@include status-ghost(var(--color-icon-information-secondary), var(--color-status-bg-progress));\n}\n\n.pending {\n\t@include status-filled(var(--color-font-on-action), var(--color-data-fuchsia));\n\t@include status-ghost(var(--color-data-purple), var(--color-data-light-purple));\n}\n\n.draft {\n\t@include status-filled(var(--color-font-on-action), var(--color-icon-information-main));\n\t@include status-ghost(var(--color-icon-secondary), var(--color-status-bg-neutral));\n}\n\n.inactive {\n\t@include status-filled(\n\t\tvar(--color-icon-secondary),\n\t\tvar(--color-background-disable),\n\t\tvar(--color-font-on-disabled)\n\t);\n\t@include status-ghost(var(--color-icon-secondary), var(--color-status-bg-inactive));\n}\n\n.warning {\n\t@include status-filled(var(--color-font-on-action), var(--color-background-warning-strong));\n\t@include status-ghost(var(--color-background-warning-strong), var(--color-status-bg-warning));\n}\n\n.failed {\n\t@include status-filled(var(--color-font-on-action), var(--color-background-danger-strong));\n\t@include status-ghost(var(--color-background-danger-strong-hover), var(--color-status-bg-failed));\n}\n\n.label {\n\ttext-transform: capitalize;\n}\n"],"mappings":""}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { IconType } from "../ds-icon/ds-icon.types.cjs";
|
|
2
|
+
import { CSSProperties } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ds-status-badge/ds-status-badge.types.d.ts
|
|
5
|
+
declare const dsStatuses: readonly ["active", "running", "pending", "draft", "inactive", "warning", "failed"];
|
|
6
|
+
type DsStatus = (typeof dsStatuses)[number];
|
|
7
|
+
declare const statusBadgeSizes: readonly ["medium", "small"];
|
|
8
|
+
type StatusBadgeSize = (typeof statusBadgeSizes)[number];
|
|
9
|
+
interface DsStatusBadgeProps {
|
|
10
|
+
/**
|
|
11
|
+
* The icon of the status badge
|
|
12
|
+
*/
|
|
13
|
+
icon?: IconType;
|
|
14
|
+
/**
|
|
15
|
+
* The value of the status badge
|
|
16
|
+
*/
|
|
17
|
+
status: DsStatus;
|
|
18
|
+
/**
|
|
19
|
+
* Additional CSS class names
|
|
20
|
+
*/
|
|
21
|
+
className?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Additional styles to apply to the component
|
|
24
|
+
*/
|
|
25
|
+
style?: CSSProperties;
|
|
26
|
+
/**
|
|
27
|
+
* Optional label to display instead of the default status text
|
|
28
|
+
*/
|
|
29
|
+
label?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the status badge should use ghost style (light background)
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
ghost?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Size of the status badge
|
|
37
|
+
* @default 'medium'
|
|
38
|
+
*/
|
|
39
|
+
size?: StatusBadgeSize;
|
|
40
|
+
/**
|
|
41
|
+
* Accessible label for screen readers, if provided, will override default label/status text.
|
|
42
|
+
*/
|
|
43
|
+
'aria-label'?: string;
|
|
44
|
+
}
|
|
45
|
+
//#endregion
|
|
46
|
+
export { DsStatus, DsStatusBadgeProps, StatusBadgeSize };
|
|
47
|
+
//# sourceMappingURL=ds-status-badge.types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-status-badge.types.d.cts","names":[],"sources":["../../../src/components/ds-status-badge/ds-status-badge.types.tsx"],"sourcesContent":[],"mappings":";;;;cAGa;KAED,QAAA,WAAmB;AAFlB,cAIA,gBAJgG,EAAA,SAAA,CAAA,QAAA,EAAA,OAAA,CAAA;AAEjG,KAGA,eAAA,GAHmB,CAAA,OAGO,gBAHG,CAAA,CAAA,MAAA,CAAA;AAE5B,UAGI,kBAAA,CAH2C;EAChD;AAEZ;;EAQS,IAAA,CAAA,EAJD,QAIC;EAQA;;;UARA;;;;;;;;UAQA;;;;;;;;;;;;;;SAcD"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { IconType } from "../ds-icon/ds-icon.types.js";
|
|
2
|
+
import "../ds-icon/index.js";
|
|
3
|
+
import { CSSProperties } from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ds-status-badge/ds-status-badge.types.d.ts
|
|
6
|
+
declare const dsStatuses: readonly ["active", "running", "pending", "draft", "inactive", "warning", "failed"];
|
|
7
|
+
type DsStatus = (typeof dsStatuses)[number];
|
|
8
|
+
declare const statusBadgeSizes: readonly ["medium", "small"];
|
|
9
|
+
type StatusBadgeSize = (typeof statusBadgeSizes)[number];
|
|
10
|
+
interface DsStatusBadgeProps {
|
|
11
|
+
/**
|
|
12
|
+
* The icon of the status badge
|
|
13
|
+
*/
|
|
14
|
+
icon?: IconType;
|
|
15
|
+
/**
|
|
16
|
+
* The value of the status badge
|
|
17
|
+
*/
|
|
18
|
+
status: DsStatus;
|
|
19
|
+
/**
|
|
20
|
+
* Additional CSS class names
|
|
21
|
+
*/
|
|
22
|
+
className?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Additional styles to apply to the component
|
|
25
|
+
*/
|
|
26
|
+
style?: CSSProperties;
|
|
27
|
+
/**
|
|
28
|
+
* Optional label to display instead of the default status text
|
|
29
|
+
*/
|
|
30
|
+
label?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Whether the status badge should use ghost style (light background)
|
|
33
|
+
* @default false
|
|
34
|
+
*/
|
|
35
|
+
ghost?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Size of the status badge
|
|
38
|
+
* @default 'medium'
|
|
39
|
+
*/
|
|
40
|
+
size?: StatusBadgeSize;
|
|
41
|
+
/**
|
|
42
|
+
* Accessible label for screen readers, if provided, will override default label/status text.
|
|
43
|
+
*/
|
|
44
|
+
'aria-label'?: string;
|
|
45
|
+
}
|
|
46
|
+
//#endregion
|
|
47
|
+
export { DsStatus, DsStatusBadgeProps, StatusBadgeSize };
|
|
48
|
+
//# sourceMappingURL=ds-status-badge.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-status-badge.types.d.ts","names":[],"sources":["../../../src/components/ds-status-badge/ds-status-badge.types.tsx"],"sourcesContent":[],"mappings":";;;;;cAGa;KAED,QAAA,WAAmB;cAElB;AAJA,KAKD,eAAA,GALiG,CAAA,OAKvE,gBALuE,CAAA,CAAA,MAAA,CAAA;AAEjG,UAKK,kBAAA,CALc;EAElB;AACb;AAEA;EAIQ,IAAA,CAAA,EAAA,QAAA;EAIC;;;EAsBc,MAAA,EAtBd,QAsBc;;;;;;;;UAdd;;;;;;;;;;;;;;SAcD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const require_ds_status_badge = require('./ds-status-badge.cjs');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import ds_status_badge_default from "./ds-status-badge.js";
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_ds_stepper_module = require('../ds-stepper.module.cjs');
|
|
3
|
+
const require_use_stepper = require('../hooks/use-stepper.cjs');
|
|
4
|
+
const require_ds_step_label = require('./ds-step-label.cjs');
|
|
5
|
+
const require_ds_step_description = require('./ds-step-description.cjs');
|
|
6
|
+
let react_compiler_runtime = require("react/compiler-runtime");
|
|
7
|
+
let classnames = require("classnames");
|
|
8
|
+
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
9
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
|
+
|
|
11
|
+
//#region src/components/ds-stepper/components/ds-step-content.tsx
|
|
12
|
+
function DsStepContent(t0) {
|
|
13
|
+
const $ = (0, react_compiler_runtime.c)(18);
|
|
14
|
+
const { index, label, description, actions } = t0;
|
|
15
|
+
const { variant, stepsApi } = require_use_stepper.useStepper();
|
|
16
|
+
let t1;
|
|
17
|
+
if ($[0] !== index || $[1] !== stepsApi) {
|
|
18
|
+
t1 = stepsApi.getItemState({ index });
|
|
19
|
+
$[0] = index;
|
|
20
|
+
$[1] = stepsApi;
|
|
21
|
+
$[2] = t1;
|
|
22
|
+
} else t1 = $[2];
|
|
23
|
+
const { current } = t1;
|
|
24
|
+
const t2 = variant === "single";
|
|
25
|
+
let t3;
|
|
26
|
+
if ($[3] !== t2) {
|
|
27
|
+
t3 = (0, classnames.default)(require_ds_stepper_module.default.stepContent, { [require_ds_stepper_module.default.stepContentSingle]: t2 });
|
|
28
|
+
$[3] = t2;
|
|
29
|
+
$[4] = t3;
|
|
30
|
+
} else t3 = $[4];
|
|
31
|
+
let t4;
|
|
32
|
+
if ($[5] !== label) {
|
|
33
|
+
t4 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_step_label.DsStepLabel, { children: label });
|
|
34
|
+
$[5] = label;
|
|
35
|
+
$[6] = t4;
|
|
36
|
+
} else t4 = $[6];
|
|
37
|
+
let t5;
|
|
38
|
+
if ($[7] !== description || $[8] !== variant) {
|
|
39
|
+
t5 = variant !== "single" && description && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_step_description.DsStepDescription, { children: description });
|
|
40
|
+
$[7] = description;
|
|
41
|
+
$[8] = variant;
|
|
42
|
+
$[9] = t5;
|
|
43
|
+
} else t5 = $[9];
|
|
44
|
+
let t6;
|
|
45
|
+
if ($[10] !== actions || $[11] !== current) {
|
|
46
|
+
t6 = actions && current && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
47
|
+
className: require_ds_stepper_module.default.stepActions,
|
|
48
|
+
children: actions
|
|
49
|
+
});
|
|
50
|
+
$[10] = actions;
|
|
51
|
+
$[11] = current;
|
|
52
|
+
$[12] = t6;
|
|
53
|
+
} else t6 = $[12];
|
|
54
|
+
let t7;
|
|
55
|
+
if ($[13] !== t3 || $[14] !== t4 || $[15] !== t5 || $[16] !== t6) {
|
|
56
|
+
t7 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
57
|
+
className: t3,
|
|
58
|
+
children: [
|
|
59
|
+
t4,
|
|
60
|
+
t5,
|
|
61
|
+
t6
|
|
62
|
+
]
|
|
63
|
+
});
|
|
64
|
+
$[13] = t3;
|
|
65
|
+
$[14] = t4;
|
|
66
|
+
$[15] = t5;
|
|
67
|
+
$[16] = t6;
|
|
68
|
+
$[17] = t7;
|
|
69
|
+
} else t7 = $[17];
|
|
70
|
+
return t7;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
//#endregion
|
|
74
|
+
exports.DsStepContent = DsStepContent;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as react_jsx_runtime37 from "react/jsx-runtime";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ds-stepper/components/ds-step-content.d.ts
|
|
5
|
+
type DsStepContentProps = {
|
|
6
|
+
index: number;
|
|
7
|
+
label: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
actions?: ReactNode;
|
|
10
|
+
};
|
|
11
|
+
declare function DsStepContent({
|
|
12
|
+
index,
|
|
13
|
+
label,
|
|
14
|
+
description,
|
|
15
|
+
actions
|
|
16
|
+
}: DsStepContentProps): react_jsx_runtime37.JSX.Element;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { DsStepContent };
|
|
19
|
+
//# sourceMappingURL=ds-step-content.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-step-content.d.cts","names":[],"sources":["../../../../src/components/ds-stepper/components/ds-step-content.tsx"],"sourcesContent":[],"mappings":";;;;KAOK,kBAAA;;;EAAA,WAAA,CAAA,EAAA,MAAA;EAOW,OAAA,CAAA,EAHL,SAGkB;CAAG;AAAO,iBAAvB,aAAA,CAAuB;EAAA,KAAA;EAAA,KAAA;EAAA,WAAA;EAAA;AAAA,CAAA,EAA+B,kBAA/B,CAAA,EAAiD,mBAAA,CAAA,GAAA,CAAA,OAAjD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ds-stepper/components/ds-step-content.d.ts
|
|
5
|
+
type DsStepContentProps = {
|
|
6
|
+
index: number;
|
|
7
|
+
label: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
actions?: ReactNode;
|
|
10
|
+
};
|
|
11
|
+
declare function DsStepContent({
|
|
12
|
+
index,
|
|
13
|
+
label,
|
|
14
|
+
description,
|
|
15
|
+
actions
|
|
16
|
+
}: DsStepContentProps): react_jsx_runtime36.JSX.Element;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { DsStepContent };
|
|
19
|
+
//# sourceMappingURL=ds-step-content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-step-content.d.ts","names":[],"sources":["../../../../src/components/ds-stepper/components/ds-step-content.tsx"],"sourcesContent":[],"mappings":";;;;KAOK,kBAAA;;;EAAA,WAAA,CAAA,EAAA,MAAA;EAOW,OAAA,CAAA,EAHL,SAGkB;CAAG;AAAO,iBAAvB,aAAA,CAAuB;EAAA,KAAA;EAAA,KAAA;EAAA,WAAA;EAAA;AAAA,CAAA,EAA+B,kBAA/B,CAAA,EAAiD,mBAAA,CAAA,GAAA,CAAA,OAAjD"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import ds_stepper_module_default from "../ds-stepper.module.js";
|
|
2
|
+
import { useStepper } from "../hooks/use-stepper.js";
|
|
3
|
+
import { DsStepLabel } from "./ds-step-label.js";
|
|
4
|
+
import { DsStepDescription } from "./ds-step-description.js";
|
|
5
|
+
import { c } from "react/compiler-runtime";
|
|
6
|
+
import classNames from "classnames";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
|
|
9
|
+
//#region src/components/ds-stepper/components/ds-step-content.tsx
|
|
10
|
+
function DsStepContent(t0) {
|
|
11
|
+
const $ = c(18);
|
|
12
|
+
const { index, label, description, actions } = t0;
|
|
13
|
+
const { variant, stepsApi } = useStepper();
|
|
14
|
+
let t1;
|
|
15
|
+
if ($[0] !== index || $[1] !== stepsApi) {
|
|
16
|
+
t1 = stepsApi.getItemState({ index });
|
|
17
|
+
$[0] = index;
|
|
18
|
+
$[1] = stepsApi;
|
|
19
|
+
$[2] = t1;
|
|
20
|
+
} else t1 = $[2];
|
|
21
|
+
const { current } = t1;
|
|
22
|
+
const t2 = variant === "single";
|
|
23
|
+
let t3;
|
|
24
|
+
if ($[3] !== t2) {
|
|
25
|
+
t3 = classNames(ds_stepper_module_default.stepContent, { [ds_stepper_module_default.stepContentSingle]: t2 });
|
|
26
|
+
$[3] = t2;
|
|
27
|
+
$[4] = t3;
|
|
28
|
+
} else t3 = $[4];
|
|
29
|
+
let t4;
|
|
30
|
+
if ($[5] !== label) {
|
|
31
|
+
t4 = /* @__PURE__ */ jsx(DsStepLabel, { children: label });
|
|
32
|
+
$[5] = label;
|
|
33
|
+
$[6] = t4;
|
|
34
|
+
} else t4 = $[6];
|
|
35
|
+
let t5;
|
|
36
|
+
if ($[7] !== description || $[8] !== variant) {
|
|
37
|
+
t5 = variant !== "single" && description && /* @__PURE__ */ jsx(DsStepDescription, { children: description });
|
|
38
|
+
$[7] = description;
|
|
39
|
+
$[8] = variant;
|
|
40
|
+
$[9] = t5;
|
|
41
|
+
} else t5 = $[9];
|
|
42
|
+
let t6;
|
|
43
|
+
if ($[10] !== actions || $[11] !== current) {
|
|
44
|
+
t6 = actions && current && /* @__PURE__ */ jsx("div", {
|
|
45
|
+
className: ds_stepper_module_default.stepActions,
|
|
46
|
+
children: actions
|
|
47
|
+
});
|
|
48
|
+
$[10] = actions;
|
|
49
|
+
$[11] = current;
|
|
50
|
+
$[12] = t6;
|
|
51
|
+
} else t6 = $[12];
|
|
52
|
+
let t7;
|
|
53
|
+
if ($[13] !== t3 || $[14] !== t4 || $[15] !== t5 || $[16] !== t6) {
|
|
54
|
+
t7 = /* @__PURE__ */ jsxs("div", {
|
|
55
|
+
className: t3,
|
|
56
|
+
children: [
|
|
57
|
+
t4,
|
|
58
|
+
t5,
|
|
59
|
+
t6
|
|
60
|
+
]
|
|
61
|
+
});
|
|
62
|
+
$[13] = t3;
|
|
63
|
+
$[14] = t4;
|
|
64
|
+
$[15] = t5;
|
|
65
|
+
$[16] = t6;
|
|
66
|
+
$[17] = t7;
|
|
67
|
+
} else t7 = $[17];
|
|
68
|
+
return t7;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
//#endregion
|
|
72
|
+
export { DsStepContent };
|
|
73
|
+
//# sourceMappingURL=ds-step-content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-step-content.js","names":["ReactNode","useStepper","DsStepLabel","DsStepDescription","classnames","styles","DsStepContentProps","index","label","description","actions","DsStepContent","t0","$","_c","variant","stepsApi","t1","getItemState","current","t2","t3","stepContent","stepContentSingle","t4","t5","t6","stepActions","t7"],"sources":["../../../../src/components/ds-stepper/components/ds-step-content.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport { useStepper } from '../hooks/use-stepper';\nimport { DsStepLabel } from './ds-step-label';\nimport { DsStepDescription } from './ds-step-description';\nimport classnames from 'classnames';\nimport styles from '../ds-stepper.module.scss';\n\ntype DsStepContentProps = {\n\tindex: number;\n\tlabel: string;\n\tdescription?: string;\n\tactions?: ReactNode;\n};\n\nexport function DsStepContent({ index, label, description, actions }: DsStepContentProps) {\n\tconst { variant, stepsApi } = useStepper();\n\tconst { current } = stepsApi.getItemState({ index });\n\n\treturn (\n\t\t<div\n\t\t\tclassName={classnames(styles.stepContent, {\n\t\t\t\t[styles.stepContentSingle]: variant === 'single',\n\t\t\t})}\n\t\t>\n\t\t\t<DsStepLabel>{label}</DsStepLabel>\n\n\t\t\t{variant !== 'single' && description && <DsStepDescription>{description}</DsStepDescription>}\n\n\t\t\t{actions && current && <div className={styles.stepActions}>{actions}</div>}\n\t\t</div>\n\t);\n}\n"],"mappings":";;;;;;;;;AAcA,SAAOW,cAAAC,IAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAuB,MAAA,EAAAP,OAAAC,OAAAC,aAAAC,YAAAE;CAC7B,MAAA,EAAAG,SAAAC,aAA8Bf,YAAY;CAAC,IAAAgB;AAAA,KAAAJ,EAAA,OAAAN,SAAAM,EAAA,OAAAG,UAAA;AACvBC,OAAAD,SAAQE,aAAc,EAAAX,OAAS,CAAC;AAAAM,IAAA,KAAAN;AAAAM,IAAA,KAAAG;AAAAH,IAAA,KAAAI;OAAAA,MAAAJ,EAAA;CAApD,MAAA,EAAAM,YAAoBF;CAKW,MAAAG,KAAAL,YAAY;CAAQ,IAAAM;AAAA,KAAAR,EAAA,OAAAO,IAAA;AADtCC,OAAAjB,WAAWC,0BAAMiB,aAAc,GACxCjB,0BAAMkB,oBAAqBH,IAC5B,CAAC;AAAAP,IAAA,KAAAO;AAAAP,IAAA,KAAAQ;OAAAA,MAAAR,EAAA;CAAA,IAAAW;AAAA,KAAAX,EAAA,OAAAL,OAAA;AAEFgB,OAAA,oBAAC,yBAAahB,QAAoB;AAAAK,IAAA,KAAAL;AAAAK,IAAA,KAAAW;OAAAA,MAAAX,EAAA;CAAA,IAAAY;AAAA,KAAAZ,EAAA,OAAAJ,eAAAI,EAAA,OAAAE,SAAA;AAEjCU,OAAAV,YAAY,YAAZN,eAAuC,oBAAC,+BAAmBA,cAAgC;AAAAI,IAAA,KAAAJ;AAAAI,IAAA,KAAAE;AAAAF,IAAA,KAAAY;OAAAA,MAAAZ,EAAA;CAAA,IAAAa;AAAA,KAAAb,EAAA,QAAAH,WAAAG,EAAA,QAAAM,SAAA;AAE3FO,OAAAhB,WAAAS,WAAsB,oBAAA;GAAgB,WAAAd,0BAAMsB;aAAejB;IAAc;AAAAG,IAAA,MAAAH;AAAAG,IAAA,MAAAM;AAAAN,IAAA,MAAAa;OAAAA,MAAAb,EAAA;CAAA,IAAAe;AAAA,KAAAf,EAAA,QAAAQ,MAAAR,EAAA,QAAAW,MAAAX,EAAA,QAAAY,MAAAZ,EAAA,QAAAa,IAAA;AAT3EE,OAAA,qBAAA;GACY,WAAAP;;IAIXG;IAECC;IAEAC;;IACI;AAAAb,IAAA,MAAAQ;AAAAR,IAAA,MAAAW;AAAAX,IAAA,MAAAY;AAAAZ,IAAA,MAAAa;AAAAb,IAAA,MAAAe;OAAAA,MAAAf,EAAA;AAAA,QAVNe"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_ds_stepper_module = require('../ds-stepper.module.cjs');
|
|
3
|
+
let react_compiler_runtime = require("react/compiler-runtime");
|
|
4
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
+
|
|
6
|
+
//#region src/components/ds-stepper/components/ds-step-description.tsx
|
|
7
|
+
function DsStepDescription(t0) {
|
|
8
|
+
const $ = (0, react_compiler_runtime.c)(2);
|
|
9
|
+
const { children } = t0;
|
|
10
|
+
let t1;
|
|
11
|
+
if ($[0] !== children) {
|
|
12
|
+
t1 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
13
|
+
className: require_ds_stepper_module.default.stepDescription,
|
|
14
|
+
children
|
|
15
|
+
});
|
|
16
|
+
$[0] = children;
|
|
17
|
+
$[1] = t1;
|
|
18
|
+
} else t1 = $[1];
|
|
19
|
+
return t1;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.DsStepDescription = DsStepDescription;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import ds_stepper_module_default from "../ds-stepper.module.js";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ds-stepper/components/ds-step-description.tsx
|
|
6
|
+
function DsStepDescription(t0) {
|
|
7
|
+
const $ = c(2);
|
|
8
|
+
const { children } = t0;
|
|
9
|
+
let t1;
|
|
10
|
+
if ($[0] !== children) {
|
|
11
|
+
t1 = /* @__PURE__ */ jsx("p", {
|
|
12
|
+
className: ds_stepper_module_default.stepDescription,
|
|
13
|
+
children
|
|
14
|
+
});
|
|
15
|
+
$[0] = children;
|
|
16
|
+
$[1] = t1;
|
|
17
|
+
} else t1 = $[1];
|
|
18
|
+
return t1;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { DsStepDescription };
|
|
23
|
+
//# sourceMappingURL=ds-step-description.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-step-description.js","names":["PropsWithChildren","styles","DsStepDescription","t0","$","_c","children","t1","stepDescription"],"sources":["../../../../src/components/ds-stepper/components/ds-step-description.tsx"],"sourcesContent":["import type { PropsWithChildren } from 'react';\nimport styles from '../ds-stepper.module.scss';\n\nexport function DsStepDescription({ children }: PropsWithChildren) {\n\treturn <p className={styles.stepDescription}>{children}</p>;\n}\n"],"mappings":";;;;;AAGA,SAAOE,kBAAAC,IAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAA2B,MAAA,EAAAC,aAAAH;CAA+B,IAAAI;AAAA,KAAAH,EAAA,OAAAE,UAAA;AACzDC,OAAA,oBAAA;GAAc,WAAAN,0BAAMO;GAAmBF;IAAa;AAAAF,IAAA,KAAAE;AAAAF,IAAA,KAAAG;OAAAA,MAAAH,EAAA;AAAA,QAApDG"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_ds_stepper_module = require('../ds-stepper.module.cjs');
|
|
3
|
+
let react_compiler_runtime = require("react/compiler-runtime");
|
|
4
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
+
|
|
6
|
+
//#region src/components/ds-stepper/components/ds-step-label.tsx
|
|
7
|
+
function DsStepLabel(t0) {
|
|
8
|
+
const $ = (0, react_compiler_runtime.c)(2);
|
|
9
|
+
const { children } = t0;
|
|
10
|
+
let t1;
|
|
11
|
+
if ($[0] !== children) {
|
|
12
|
+
t1 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
13
|
+
className: require_ds_stepper_module.default.stepLabel,
|
|
14
|
+
children
|
|
15
|
+
});
|
|
16
|
+
$[0] = children;
|
|
17
|
+
$[1] = t1;
|
|
18
|
+
} else t1 = $[1];
|
|
19
|
+
return t1;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.DsStepLabel = DsStepLabel;
|