@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,312 @@
|
|
|
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_button = require('../../../ds-button/ds-button.cjs');
|
|
5
|
+
require('../../../ds-button/index.cjs');
|
|
6
|
+
const require_ds_checkbox = require('../../../ds-checkbox/ds-checkbox.cjs');
|
|
7
|
+
require('../../../ds-checkbox/index.cjs');
|
|
8
|
+
const require_merge_refs = require('../../utils/merge-refs.cjs');
|
|
9
|
+
const require_core_table = require('../core-table/core-table.cjs');
|
|
10
|
+
require('../core-table/index.cjs');
|
|
11
|
+
const require_ds_table_shared_module = require('../../styles/shared/ds-table-shared.module.cjs');
|
|
12
|
+
const require_ds_table_context = require('../../context/ds-table-context.cjs');
|
|
13
|
+
const require_column_styling = require('../../utils/column-styling.cjs');
|
|
14
|
+
const require_ds_table_cell = require('../ds-table-cell/ds-table-cell.cjs');
|
|
15
|
+
require('../ds-table-cell/index.cjs');
|
|
16
|
+
const require_ds_table_row_module = require('./ds-table-row.module.cjs');
|
|
17
|
+
let react_compiler_runtime = require("react/compiler-runtime");
|
|
18
|
+
let classnames = require("classnames");
|
|
19
|
+
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
20
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
21
|
+
let react = require("react");
|
|
22
|
+
react = require_rolldown_runtime.__toESM(react);
|
|
23
|
+
let __dnd_kit_sortable = require("@dnd-kit/sortable");
|
|
24
|
+
let __dnd_kit_utilities = require("@dnd-kit/utilities");
|
|
25
|
+
|
|
26
|
+
//#region src/components/ds-table/components/ds-table-row/ds-table-row.tsx
|
|
27
|
+
const DsRowDragHandle = (t0) => {
|
|
28
|
+
const $ = (0, react_compiler_runtime.c)(10);
|
|
29
|
+
const { isDragging, attributes, listeners } = t0;
|
|
30
|
+
let t1;
|
|
31
|
+
if ($[0] !== isDragging) {
|
|
32
|
+
t1 = (0, classnames.default)(require_ds_table_row_module.default.tableCell, require_ds_table_row_module.default.cellReorder, { [require_ds_table_row_module.default.isDragging]: isDragging });
|
|
33
|
+
$[0] = isDragging;
|
|
34
|
+
$[1] = t1;
|
|
35
|
+
} else t1 = $[1];
|
|
36
|
+
const t2 = isDragging ? "drag_indicator" : "arrow_downward";
|
|
37
|
+
const t3 = isDragging ? "medium" : "small";
|
|
38
|
+
let t4;
|
|
39
|
+
if ($[2] !== attributes || $[3] !== listeners || $[4] !== t2 || $[5] !== t3) {
|
|
40
|
+
t4 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_icon.default, {
|
|
41
|
+
className: require_ds_table_row_module.default.rowDragHandle,
|
|
42
|
+
icon: t2,
|
|
43
|
+
size: t3,
|
|
44
|
+
onClick: _temp,
|
|
45
|
+
...attributes,
|
|
46
|
+
...listeners
|
|
47
|
+
});
|
|
48
|
+
$[2] = attributes;
|
|
49
|
+
$[3] = listeners;
|
|
50
|
+
$[4] = t2;
|
|
51
|
+
$[5] = t3;
|
|
52
|
+
$[6] = t4;
|
|
53
|
+
} else t4 = $[6];
|
|
54
|
+
let t5;
|
|
55
|
+
if ($[7] !== t1 || $[8] !== t4) {
|
|
56
|
+
t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_core_table.TableCell, {
|
|
57
|
+
className: t1,
|
|
58
|
+
children: t4
|
|
59
|
+
});
|
|
60
|
+
$[7] = t1;
|
|
61
|
+
$[8] = t4;
|
|
62
|
+
$[9] = t5;
|
|
63
|
+
} else t5 = $[9];
|
|
64
|
+
return t5;
|
|
65
|
+
};
|
|
66
|
+
const DsTableRow = (t0) => {
|
|
67
|
+
const $ = (0, react_compiler_runtime.c)(75);
|
|
68
|
+
const { ref, row, virtualRow } = t0;
|
|
69
|
+
const { expandable, expandedRows, selectable, reorderable, onRowClick, onRowDoubleClick, renderExpandedRow, virtualized, bordered, highlightOnHover, rowSize, toggleRowExpanded, primaryRowActions, secondaryRowActions, activeRowId } = require_ds_table_context.useDsTableContext();
|
|
70
|
+
const isExpanded = expandedRows[row.id];
|
|
71
|
+
let t1;
|
|
72
|
+
if ($[0] !== expandable || $[1] !== row.original) {
|
|
73
|
+
t1 = typeof expandable === "function" ? expandable(row.original) : expandable;
|
|
74
|
+
$[0] = expandable;
|
|
75
|
+
$[1] = row.original;
|
|
76
|
+
$[2] = t1;
|
|
77
|
+
} else t1 = $[2];
|
|
78
|
+
const isExpandable = t1;
|
|
79
|
+
const isActive = activeRowId === row.id;
|
|
80
|
+
const t2 = !reorderable;
|
|
81
|
+
let t3;
|
|
82
|
+
if ($[3] !== row.id || $[4] !== t2) {
|
|
83
|
+
t3 = {
|
|
84
|
+
id: row.id,
|
|
85
|
+
disabled: t2
|
|
86
|
+
};
|
|
87
|
+
$[3] = row.id;
|
|
88
|
+
$[4] = t2;
|
|
89
|
+
$[5] = t3;
|
|
90
|
+
} else t3 = $[5];
|
|
91
|
+
const { attributes, listeners, setNodeRef, transform, transition, isDragging } = (0, __dnd_kit_sortable.useSortable)(t3);
|
|
92
|
+
let t4;
|
|
93
|
+
if ($[6] !== isDragging || $[7] !== reorderable || $[8] !== transform || $[9] !== transition || $[10] !== virtualRow || $[11] !== virtualized) {
|
|
94
|
+
t4 = virtualRow && virtualized ? { transform: `translateY(${String(virtualRow.start)}px)` } : reorderable ? {
|
|
95
|
+
transform: __dnd_kit_utilities.CSS.Transform.toString(transform),
|
|
96
|
+
transition,
|
|
97
|
+
...isDragging ? {
|
|
98
|
+
background: "var(--action-active-light)",
|
|
99
|
+
boxShadow: "0 0 12px 0 rgba(0, 102, 250, 0.60)",
|
|
100
|
+
zIndex: 1
|
|
101
|
+
} : {},
|
|
102
|
+
position: "relative"
|
|
103
|
+
} : {};
|
|
104
|
+
$[6] = isDragging;
|
|
105
|
+
$[7] = reorderable;
|
|
106
|
+
$[8] = transform;
|
|
107
|
+
$[9] = transition;
|
|
108
|
+
$[10] = virtualRow;
|
|
109
|
+
$[11] = virtualized;
|
|
110
|
+
$[12] = t4;
|
|
111
|
+
} else t4 = $[12];
|
|
112
|
+
const rowStyle = t4;
|
|
113
|
+
const t5 = row.id;
|
|
114
|
+
const t6 = reorderable ? setNodeRef : null;
|
|
115
|
+
let t7;
|
|
116
|
+
if ($[13] !== ref || $[14] !== t6) {
|
|
117
|
+
t7 = require_merge_refs.mergeRefs(t6, ref);
|
|
118
|
+
$[13] = ref;
|
|
119
|
+
$[14] = t6;
|
|
120
|
+
$[15] = t7;
|
|
121
|
+
} else t7 = $[15];
|
|
122
|
+
const t8 = isActive ? "active" : row.getIsSelected() ? "selected" : void 0;
|
|
123
|
+
const t9 = rowSize === "small";
|
|
124
|
+
const t10 = rowSize === "medium";
|
|
125
|
+
const t11 = rowSize === "large";
|
|
126
|
+
let t12;
|
|
127
|
+
if ($[16] !== bordered || $[17] !== highlightOnHover || $[18] !== isExpanded || $[19] !== onRowClick || $[20] !== t10 || $[21] !== t11 || $[22] !== t9 || $[23] !== virtualized) {
|
|
128
|
+
t12 = (0, classnames.default)(require_ds_table_row_module.default.tableRow, {
|
|
129
|
+
[require_ds_table_row_module.default.sizeSmall]: t9,
|
|
130
|
+
[require_ds_table_row_module.default.sizeMedium]: t10,
|
|
131
|
+
[require_ds_table_row_module.default.sizeLarge]: t11
|
|
132
|
+
}, virtualized && require_ds_table_row_module.default.virtualizedRow, onRowClick && require_ds_table_row_module.default.clickableRow, highlightOnHover && require_ds_table_row_module.default.highlightHoverRow, !bordered && require_ds_table_row_module.default.rowNoBorder, isExpanded && require_ds_table_row_module.default.expanded);
|
|
133
|
+
$[16] = bordered;
|
|
134
|
+
$[17] = highlightOnHover;
|
|
135
|
+
$[18] = isExpanded;
|
|
136
|
+
$[19] = onRowClick;
|
|
137
|
+
$[20] = t10;
|
|
138
|
+
$[21] = t11;
|
|
139
|
+
$[22] = t9;
|
|
140
|
+
$[23] = virtualized;
|
|
141
|
+
$[24] = t12;
|
|
142
|
+
} else t12 = $[24];
|
|
143
|
+
let t13;
|
|
144
|
+
if ($[25] !== onRowClick || $[26] !== row.original) {
|
|
145
|
+
t13 = () => onRowClick?.(row.original);
|
|
146
|
+
$[25] = onRowClick;
|
|
147
|
+
$[26] = row.original;
|
|
148
|
+
$[27] = t13;
|
|
149
|
+
} else t13 = $[27];
|
|
150
|
+
let t14;
|
|
151
|
+
if ($[28] !== onRowDoubleClick || $[29] !== row.original) {
|
|
152
|
+
t14 = () => onRowDoubleClick?.(row.original);
|
|
153
|
+
$[28] = onRowDoubleClick;
|
|
154
|
+
$[29] = row.original;
|
|
155
|
+
$[30] = t14;
|
|
156
|
+
} else t14 = $[30];
|
|
157
|
+
let t15;
|
|
158
|
+
if ($[31] !== row || $[32] !== selectable) {
|
|
159
|
+
t15 = selectable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_core_table.TableCell, {
|
|
160
|
+
className: (0, classnames.default)(require_ds_table_row_module.default.tableCell, require_ds_table_row_module.default.cellCheckbox),
|
|
161
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_checkbox.default, {
|
|
162
|
+
className: require_ds_table_shared_module.default.checkboxContainer,
|
|
163
|
+
checked: row.getIsSelected(),
|
|
164
|
+
disabled: !row.getCanSelect(),
|
|
165
|
+
onClick: (e) => {
|
|
166
|
+
e.stopPropagation();
|
|
167
|
+
row.getToggleSelectedHandler()(e);
|
|
168
|
+
},
|
|
169
|
+
onDoubleClick: _temp2
|
|
170
|
+
})
|
|
171
|
+
});
|
|
172
|
+
$[31] = row;
|
|
173
|
+
$[32] = selectable;
|
|
174
|
+
$[33] = t15;
|
|
175
|
+
} else t15 = $[33];
|
|
176
|
+
let t16;
|
|
177
|
+
if ($[34] !== expandable || $[35] !== isExpandable || $[36] !== isExpanded || $[37] !== row.id || $[38] !== toggleRowExpanded || $[39] !== virtualized) {
|
|
178
|
+
t16 = expandable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_core_table.TableCell, {
|
|
179
|
+
className: (0, classnames.default)(require_ds_table_row_module.default.tableCell, require_ds_table_row_module.default.cellButton),
|
|
180
|
+
children: isExpandable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_button.default, {
|
|
181
|
+
variant: virtualized ? "ghost" : "borderless",
|
|
182
|
+
size: "small",
|
|
183
|
+
onClick: (e_1) => {
|
|
184
|
+
e_1.stopPropagation();
|
|
185
|
+
toggleRowExpanded(row.id);
|
|
186
|
+
},
|
|
187
|
+
onDoubleClick: _temp3,
|
|
188
|
+
className: require_ds_table_row_module.default.expandToggleButton,
|
|
189
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_icon.default, {
|
|
190
|
+
icon: virtualized ? isExpanded ? "arrow_drop_down" : "arrow_right" : "chevron_right",
|
|
191
|
+
className: (0, classnames.default)(require_ds_table_shared_module.default.pageButtonIcon, !virtualized && isExpanded && "rotate-90")
|
|
192
|
+
})
|
|
193
|
+
})
|
|
194
|
+
});
|
|
195
|
+
$[34] = expandable;
|
|
196
|
+
$[35] = isExpandable;
|
|
197
|
+
$[36] = isExpanded;
|
|
198
|
+
$[37] = row.id;
|
|
199
|
+
$[38] = toggleRowExpanded;
|
|
200
|
+
$[39] = virtualized;
|
|
201
|
+
$[40] = t16;
|
|
202
|
+
} else t16 = $[40];
|
|
203
|
+
let t17;
|
|
204
|
+
if ($[41] !== attributes || $[42] !== isDragging || $[43] !== listeners || $[44] !== reorderable) {
|
|
205
|
+
t17 = reorderable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DsRowDragHandle, {
|
|
206
|
+
isDragging,
|
|
207
|
+
attributes,
|
|
208
|
+
listeners
|
|
209
|
+
});
|
|
210
|
+
$[41] = attributes;
|
|
211
|
+
$[42] = isDragging;
|
|
212
|
+
$[43] = listeners;
|
|
213
|
+
$[44] = reorderable;
|
|
214
|
+
$[45] = t17;
|
|
215
|
+
} else t17 = $[45];
|
|
216
|
+
let t18;
|
|
217
|
+
if ($[46] !== primaryRowActions || $[47] !== row || $[48] !== secondaryRowActions || $[49] !== virtualized) {
|
|
218
|
+
t18 = row.getVisibleCells().map((cell, idx) => {
|
|
219
|
+
const isLastColumn = idx === row.getVisibleCells().length - 1;
|
|
220
|
+
const cellStyle = require_column_styling.getColumnStyle(cell.column.getSize(), virtualized, isLastColumn);
|
|
221
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_core_table.TableCell, {
|
|
222
|
+
className: require_ds_table_row_module.default.tableCell,
|
|
223
|
+
style: cellStyle,
|
|
224
|
+
children: isLastColumn ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_table_cell.DsTableCell, {
|
|
225
|
+
row,
|
|
226
|
+
cell,
|
|
227
|
+
primaryRowActions,
|
|
228
|
+
secondaryRowActions
|
|
229
|
+
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ds_table_cell.DsTableCell, {
|
|
230
|
+
row,
|
|
231
|
+
cell
|
|
232
|
+
})
|
|
233
|
+
}, cell.id);
|
|
234
|
+
});
|
|
235
|
+
$[46] = primaryRowActions;
|
|
236
|
+
$[47] = row;
|
|
237
|
+
$[48] = secondaryRowActions;
|
|
238
|
+
$[49] = virtualized;
|
|
239
|
+
$[50] = t18;
|
|
240
|
+
} else t18 = $[50];
|
|
241
|
+
let t19;
|
|
242
|
+
if ($[51] !== rowStyle || $[52] !== t12 || $[53] !== t13 || $[54] !== t14 || $[55] !== t15 || $[56] !== t16 || $[57] !== t17 || $[58] !== t18 || $[59] !== t7 || $[60] !== t8) {
|
|
243
|
+
t19 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_core_table.TableRow, {
|
|
244
|
+
ref: t7,
|
|
245
|
+
"data-state": t8,
|
|
246
|
+
className: t12,
|
|
247
|
+
style: rowStyle,
|
|
248
|
+
onClick: t13,
|
|
249
|
+
onDoubleClick: t14,
|
|
250
|
+
children: [
|
|
251
|
+
t15,
|
|
252
|
+
t16,
|
|
253
|
+
t17,
|
|
254
|
+
t18
|
|
255
|
+
]
|
|
256
|
+
});
|
|
257
|
+
$[51] = rowStyle;
|
|
258
|
+
$[52] = t12;
|
|
259
|
+
$[53] = t13;
|
|
260
|
+
$[54] = t14;
|
|
261
|
+
$[55] = t15;
|
|
262
|
+
$[56] = t16;
|
|
263
|
+
$[57] = t17;
|
|
264
|
+
$[58] = t18;
|
|
265
|
+
$[59] = t7;
|
|
266
|
+
$[60] = t8;
|
|
267
|
+
$[61] = t19;
|
|
268
|
+
} else t19 = $[61];
|
|
269
|
+
let t20;
|
|
270
|
+
if ($[62] !== isExpandable || $[63] !== isExpanded || $[64] !== renderExpandedRow || $[65] !== reorderable || $[66] !== row || $[67] !== selectable || $[68] !== virtualRow || $[69] !== virtualized) {
|
|
271
|
+
t20 = isExpanded && renderExpandedRow && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_core_table.TableRow, {
|
|
272
|
+
style: virtualRow && virtualized ? { transform: `translateY(${String(virtualRow.start + virtualRow.size)}px)` } : void 0,
|
|
273
|
+
className: require_ds_table_row_module.default.expandedRow,
|
|
274
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_core_table.TableCell, {
|
|
275
|
+
colSpan: row.getVisibleCells().length + (selectable ? 1 : 0) + (isExpandable ? 1 : 0) + (reorderable ? 1 : 0),
|
|
276
|
+
className: require_ds_table_row_module.default.tableCell,
|
|
277
|
+
children: renderExpandedRow(row.original)
|
|
278
|
+
})
|
|
279
|
+
});
|
|
280
|
+
$[62] = isExpandable;
|
|
281
|
+
$[63] = isExpanded;
|
|
282
|
+
$[64] = renderExpandedRow;
|
|
283
|
+
$[65] = reorderable;
|
|
284
|
+
$[66] = row;
|
|
285
|
+
$[67] = selectable;
|
|
286
|
+
$[68] = virtualRow;
|
|
287
|
+
$[69] = virtualized;
|
|
288
|
+
$[70] = t20;
|
|
289
|
+
} else t20 = $[70];
|
|
290
|
+
let t21;
|
|
291
|
+
if ($[71] !== row.id || $[72] !== t19 || $[73] !== t20) {
|
|
292
|
+
t21 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react.default.Fragment, { children: [t19, t20] }, t5);
|
|
293
|
+
$[71] = row.id;
|
|
294
|
+
$[72] = t19;
|
|
295
|
+
$[73] = t20;
|
|
296
|
+
$[74] = t21;
|
|
297
|
+
} else t21 = $[74];
|
|
298
|
+
return t21;
|
|
299
|
+
};
|
|
300
|
+
var ds_table_row_default = DsTableRow;
|
|
301
|
+
function _temp(e) {
|
|
302
|
+
return e.stopPropagation();
|
|
303
|
+
}
|
|
304
|
+
function _temp2(e_0) {
|
|
305
|
+
e_0.stopPropagation();
|
|
306
|
+
}
|
|
307
|
+
function _temp3(e_2) {
|
|
308
|
+
e_2.stopPropagation();
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
//#endregion
|
|
312
|
+
exports.default = ds_table_row_default;
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
import ds_icon_default from "../../../ds-icon/ds-icon.js";
|
|
2
|
+
import "../../../ds-icon/index.js";
|
|
3
|
+
import ds_button_default from "../../../ds-button/ds-button.js";
|
|
4
|
+
import "../../../ds-button/index.js";
|
|
5
|
+
import ds_checkbox_default from "../../../ds-checkbox/ds-checkbox.js";
|
|
6
|
+
import "../../../ds-checkbox/index.js";
|
|
7
|
+
import { mergeRefs } from "../../utils/merge-refs.js";
|
|
8
|
+
import { TableCell, TableRow } from "../core-table/core-table.js";
|
|
9
|
+
import "../core-table/index.js";
|
|
10
|
+
import ds_table_shared_module_default from "../../styles/shared/ds-table-shared.module.js";
|
|
11
|
+
import { useDsTableContext } from "../../context/ds-table-context.js";
|
|
12
|
+
import { getColumnStyle } from "../../utils/column-styling.js";
|
|
13
|
+
import { DsTableCell } from "../ds-table-cell/ds-table-cell.js";
|
|
14
|
+
import "../ds-table-cell/index.js";
|
|
15
|
+
import ds_table_row_module_default from "./ds-table-row.module.js";
|
|
16
|
+
import { c } from "react/compiler-runtime";
|
|
17
|
+
import classNames from "classnames";
|
|
18
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
19
|
+
import React from "react";
|
|
20
|
+
import { useSortable } from "@dnd-kit/sortable";
|
|
21
|
+
import { CSS } from "@dnd-kit/utilities";
|
|
22
|
+
|
|
23
|
+
//#region src/components/ds-table/components/ds-table-row/ds-table-row.tsx
|
|
24
|
+
const DsRowDragHandle = (t0) => {
|
|
25
|
+
const $ = c(10);
|
|
26
|
+
const { isDragging, attributes, listeners } = t0;
|
|
27
|
+
let t1;
|
|
28
|
+
if ($[0] !== isDragging) {
|
|
29
|
+
t1 = classNames(ds_table_row_module_default.tableCell, ds_table_row_module_default.cellReorder, { [ds_table_row_module_default.isDragging]: isDragging });
|
|
30
|
+
$[0] = isDragging;
|
|
31
|
+
$[1] = t1;
|
|
32
|
+
} else t1 = $[1];
|
|
33
|
+
const t2 = isDragging ? "drag_indicator" : "arrow_downward";
|
|
34
|
+
const t3 = isDragging ? "medium" : "small";
|
|
35
|
+
let t4;
|
|
36
|
+
if ($[2] !== attributes || $[3] !== listeners || $[4] !== t2 || $[5] !== t3) {
|
|
37
|
+
t4 = /* @__PURE__ */ jsx(ds_icon_default, {
|
|
38
|
+
className: ds_table_row_module_default.rowDragHandle,
|
|
39
|
+
icon: t2,
|
|
40
|
+
size: t3,
|
|
41
|
+
onClick: _temp,
|
|
42
|
+
...attributes,
|
|
43
|
+
...listeners
|
|
44
|
+
});
|
|
45
|
+
$[2] = attributes;
|
|
46
|
+
$[3] = listeners;
|
|
47
|
+
$[4] = t2;
|
|
48
|
+
$[5] = t3;
|
|
49
|
+
$[6] = t4;
|
|
50
|
+
} else t4 = $[6];
|
|
51
|
+
let t5;
|
|
52
|
+
if ($[7] !== t1 || $[8] !== t4) {
|
|
53
|
+
t5 = /* @__PURE__ */ jsx(TableCell, {
|
|
54
|
+
className: t1,
|
|
55
|
+
children: t4
|
|
56
|
+
});
|
|
57
|
+
$[7] = t1;
|
|
58
|
+
$[8] = t4;
|
|
59
|
+
$[9] = t5;
|
|
60
|
+
} else t5 = $[9];
|
|
61
|
+
return t5;
|
|
62
|
+
};
|
|
63
|
+
const DsTableRow = (t0) => {
|
|
64
|
+
const $ = c(75);
|
|
65
|
+
const { ref, row, virtualRow } = t0;
|
|
66
|
+
const { expandable, expandedRows, selectable, reorderable, onRowClick, onRowDoubleClick, renderExpandedRow, virtualized, bordered, highlightOnHover, rowSize, toggleRowExpanded, primaryRowActions, secondaryRowActions, activeRowId } = useDsTableContext();
|
|
67
|
+
const isExpanded = expandedRows[row.id];
|
|
68
|
+
let t1;
|
|
69
|
+
if ($[0] !== expandable || $[1] !== row.original) {
|
|
70
|
+
t1 = typeof expandable === "function" ? expandable(row.original) : expandable;
|
|
71
|
+
$[0] = expandable;
|
|
72
|
+
$[1] = row.original;
|
|
73
|
+
$[2] = t1;
|
|
74
|
+
} else t1 = $[2];
|
|
75
|
+
const isExpandable = t1;
|
|
76
|
+
const isActive = activeRowId === row.id;
|
|
77
|
+
const t2 = !reorderable;
|
|
78
|
+
let t3;
|
|
79
|
+
if ($[3] !== row.id || $[4] !== t2) {
|
|
80
|
+
t3 = {
|
|
81
|
+
id: row.id,
|
|
82
|
+
disabled: t2
|
|
83
|
+
};
|
|
84
|
+
$[3] = row.id;
|
|
85
|
+
$[4] = t2;
|
|
86
|
+
$[5] = t3;
|
|
87
|
+
} else t3 = $[5];
|
|
88
|
+
const { attributes, listeners, setNodeRef, transform, transition, isDragging } = useSortable(t3);
|
|
89
|
+
let t4;
|
|
90
|
+
if ($[6] !== isDragging || $[7] !== reorderable || $[8] !== transform || $[9] !== transition || $[10] !== virtualRow || $[11] !== virtualized) {
|
|
91
|
+
t4 = virtualRow && virtualized ? { transform: `translateY(${String(virtualRow.start)}px)` } : reorderable ? {
|
|
92
|
+
transform: CSS.Transform.toString(transform),
|
|
93
|
+
transition,
|
|
94
|
+
...isDragging ? {
|
|
95
|
+
background: "var(--action-active-light)",
|
|
96
|
+
boxShadow: "0 0 12px 0 rgba(0, 102, 250, 0.60)",
|
|
97
|
+
zIndex: 1
|
|
98
|
+
} : {},
|
|
99
|
+
position: "relative"
|
|
100
|
+
} : {};
|
|
101
|
+
$[6] = isDragging;
|
|
102
|
+
$[7] = reorderable;
|
|
103
|
+
$[8] = transform;
|
|
104
|
+
$[9] = transition;
|
|
105
|
+
$[10] = virtualRow;
|
|
106
|
+
$[11] = virtualized;
|
|
107
|
+
$[12] = t4;
|
|
108
|
+
} else t4 = $[12];
|
|
109
|
+
const rowStyle = t4;
|
|
110
|
+
const t5 = row.id;
|
|
111
|
+
const t6 = reorderable ? setNodeRef : null;
|
|
112
|
+
let t7;
|
|
113
|
+
if ($[13] !== ref || $[14] !== t6) {
|
|
114
|
+
t7 = mergeRefs(t6, ref);
|
|
115
|
+
$[13] = ref;
|
|
116
|
+
$[14] = t6;
|
|
117
|
+
$[15] = t7;
|
|
118
|
+
} else t7 = $[15];
|
|
119
|
+
const t8 = isActive ? "active" : row.getIsSelected() ? "selected" : void 0;
|
|
120
|
+
const t9 = rowSize === "small";
|
|
121
|
+
const t10 = rowSize === "medium";
|
|
122
|
+
const t11 = rowSize === "large";
|
|
123
|
+
let t12;
|
|
124
|
+
if ($[16] !== bordered || $[17] !== highlightOnHover || $[18] !== isExpanded || $[19] !== onRowClick || $[20] !== t10 || $[21] !== t11 || $[22] !== t9 || $[23] !== virtualized) {
|
|
125
|
+
t12 = classNames(ds_table_row_module_default.tableRow, {
|
|
126
|
+
[ds_table_row_module_default.sizeSmall]: t9,
|
|
127
|
+
[ds_table_row_module_default.sizeMedium]: t10,
|
|
128
|
+
[ds_table_row_module_default.sizeLarge]: t11
|
|
129
|
+
}, virtualized && ds_table_row_module_default.virtualizedRow, onRowClick && ds_table_row_module_default.clickableRow, highlightOnHover && ds_table_row_module_default.highlightHoverRow, !bordered && ds_table_row_module_default.rowNoBorder, isExpanded && ds_table_row_module_default.expanded);
|
|
130
|
+
$[16] = bordered;
|
|
131
|
+
$[17] = highlightOnHover;
|
|
132
|
+
$[18] = isExpanded;
|
|
133
|
+
$[19] = onRowClick;
|
|
134
|
+
$[20] = t10;
|
|
135
|
+
$[21] = t11;
|
|
136
|
+
$[22] = t9;
|
|
137
|
+
$[23] = virtualized;
|
|
138
|
+
$[24] = t12;
|
|
139
|
+
} else t12 = $[24];
|
|
140
|
+
let t13;
|
|
141
|
+
if ($[25] !== onRowClick || $[26] !== row.original) {
|
|
142
|
+
t13 = () => onRowClick?.(row.original);
|
|
143
|
+
$[25] = onRowClick;
|
|
144
|
+
$[26] = row.original;
|
|
145
|
+
$[27] = t13;
|
|
146
|
+
} else t13 = $[27];
|
|
147
|
+
let t14;
|
|
148
|
+
if ($[28] !== onRowDoubleClick || $[29] !== row.original) {
|
|
149
|
+
t14 = () => onRowDoubleClick?.(row.original);
|
|
150
|
+
$[28] = onRowDoubleClick;
|
|
151
|
+
$[29] = row.original;
|
|
152
|
+
$[30] = t14;
|
|
153
|
+
} else t14 = $[30];
|
|
154
|
+
let t15;
|
|
155
|
+
if ($[31] !== row || $[32] !== selectable) {
|
|
156
|
+
t15 = selectable && /* @__PURE__ */ jsx(TableCell, {
|
|
157
|
+
className: classNames(ds_table_row_module_default.tableCell, ds_table_row_module_default.cellCheckbox),
|
|
158
|
+
children: /* @__PURE__ */ jsx(ds_checkbox_default, {
|
|
159
|
+
className: ds_table_shared_module_default.checkboxContainer,
|
|
160
|
+
checked: row.getIsSelected(),
|
|
161
|
+
disabled: !row.getCanSelect(),
|
|
162
|
+
onClick: (e) => {
|
|
163
|
+
e.stopPropagation();
|
|
164
|
+
row.getToggleSelectedHandler()(e);
|
|
165
|
+
},
|
|
166
|
+
onDoubleClick: _temp2
|
|
167
|
+
})
|
|
168
|
+
});
|
|
169
|
+
$[31] = row;
|
|
170
|
+
$[32] = selectable;
|
|
171
|
+
$[33] = t15;
|
|
172
|
+
} else t15 = $[33];
|
|
173
|
+
let t16;
|
|
174
|
+
if ($[34] !== expandable || $[35] !== isExpandable || $[36] !== isExpanded || $[37] !== row.id || $[38] !== toggleRowExpanded || $[39] !== virtualized) {
|
|
175
|
+
t16 = expandable && /* @__PURE__ */ jsx(TableCell, {
|
|
176
|
+
className: classNames(ds_table_row_module_default.tableCell, ds_table_row_module_default.cellButton),
|
|
177
|
+
children: isExpandable && /* @__PURE__ */ jsx(ds_button_default, {
|
|
178
|
+
variant: virtualized ? "ghost" : "borderless",
|
|
179
|
+
size: "small",
|
|
180
|
+
onClick: (e_1) => {
|
|
181
|
+
e_1.stopPropagation();
|
|
182
|
+
toggleRowExpanded(row.id);
|
|
183
|
+
},
|
|
184
|
+
onDoubleClick: _temp3,
|
|
185
|
+
className: ds_table_row_module_default.expandToggleButton,
|
|
186
|
+
children: /* @__PURE__ */ jsx(ds_icon_default, {
|
|
187
|
+
icon: virtualized ? isExpanded ? "arrow_drop_down" : "arrow_right" : "chevron_right",
|
|
188
|
+
className: classNames(ds_table_shared_module_default.pageButtonIcon, !virtualized && isExpanded && "rotate-90")
|
|
189
|
+
})
|
|
190
|
+
})
|
|
191
|
+
});
|
|
192
|
+
$[34] = expandable;
|
|
193
|
+
$[35] = isExpandable;
|
|
194
|
+
$[36] = isExpanded;
|
|
195
|
+
$[37] = row.id;
|
|
196
|
+
$[38] = toggleRowExpanded;
|
|
197
|
+
$[39] = virtualized;
|
|
198
|
+
$[40] = t16;
|
|
199
|
+
} else t16 = $[40];
|
|
200
|
+
let t17;
|
|
201
|
+
if ($[41] !== attributes || $[42] !== isDragging || $[43] !== listeners || $[44] !== reorderable) {
|
|
202
|
+
t17 = reorderable && /* @__PURE__ */ jsx(DsRowDragHandle, {
|
|
203
|
+
isDragging,
|
|
204
|
+
attributes,
|
|
205
|
+
listeners
|
|
206
|
+
});
|
|
207
|
+
$[41] = attributes;
|
|
208
|
+
$[42] = isDragging;
|
|
209
|
+
$[43] = listeners;
|
|
210
|
+
$[44] = reorderable;
|
|
211
|
+
$[45] = t17;
|
|
212
|
+
} else t17 = $[45];
|
|
213
|
+
let t18;
|
|
214
|
+
if ($[46] !== primaryRowActions || $[47] !== row || $[48] !== secondaryRowActions || $[49] !== virtualized) {
|
|
215
|
+
t18 = row.getVisibleCells().map((cell, idx) => {
|
|
216
|
+
const isLastColumn = idx === row.getVisibleCells().length - 1;
|
|
217
|
+
const cellStyle = getColumnStyle(cell.column.getSize(), virtualized, isLastColumn);
|
|
218
|
+
return /* @__PURE__ */ jsx(TableCell, {
|
|
219
|
+
className: ds_table_row_module_default.tableCell,
|
|
220
|
+
style: cellStyle,
|
|
221
|
+
children: isLastColumn ? /* @__PURE__ */ jsx(DsTableCell, {
|
|
222
|
+
row,
|
|
223
|
+
cell,
|
|
224
|
+
primaryRowActions,
|
|
225
|
+
secondaryRowActions
|
|
226
|
+
}) : /* @__PURE__ */ jsx(DsTableCell, {
|
|
227
|
+
row,
|
|
228
|
+
cell
|
|
229
|
+
})
|
|
230
|
+
}, cell.id);
|
|
231
|
+
});
|
|
232
|
+
$[46] = primaryRowActions;
|
|
233
|
+
$[47] = row;
|
|
234
|
+
$[48] = secondaryRowActions;
|
|
235
|
+
$[49] = virtualized;
|
|
236
|
+
$[50] = t18;
|
|
237
|
+
} else t18 = $[50];
|
|
238
|
+
let t19;
|
|
239
|
+
if ($[51] !== rowStyle || $[52] !== t12 || $[53] !== t13 || $[54] !== t14 || $[55] !== t15 || $[56] !== t16 || $[57] !== t17 || $[58] !== t18 || $[59] !== t7 || $[60] !== t8) {
|
|
240
|
+
t19 = /* @__PURE__ */ jsxs(TableRow, {
|
|
241
|
+
ref: t7,
|
|
242
|
+
"data-state": t8,
|
|
243
|
+
className: t12,
|
|
244
|
+
style: rowStyle,
|
|
245
|
+
onClick: t13,
|
|
246
|
+
onDoubleClick: t14,
|
|
247
|
+
children: [
|
|
248
|
+
t15,
|
|
249
|
+
t16,
|
|
250
|
+
t17,
|
|
251
|
+
t18
|
|
252
|
+
]
|
|
253
|
+
});
|
|
254
|
+
$[51] = rowStyle;
|
|
255
|
+
$[52] = t12;
|
|
256
|
+
$[53] = t13;
|
|
257
|
+
$[54] = t14;
|
|
258
|
+
$[55] = t15;
|
|
259
|
+
$[56] = t16;
|
|
260
|
+
$[57] = t17;
|
|
261
|
+
$[58] = t18;
|
|
262
|
+
$[59] = t7;
|
|
263
|
+
$[60] = t8;
|
|
264
|
+
$[61] = t19;
|
|
265
|
+
} else t19 = $[61];
|
|
266
|
+
let t20;
|
|
267
|
+
if ($[62] !== isExpandable || $[63] !== isExpanded || $[64] !== renderExpandedRow || $[65] !== reorderable || $[66] !== row || $[67] !== selectable || $[68] !== virtualRow || $[69] !== virtualized) {
|
|
268
|
+
t20 = isExpanded && renderExpandedRow && /* @__PURE__ */ jsx(TableRow, {
|
|
269
|
+
style: virtualRow && virtualized ? { transform: `translateY(${String(virtualRow.start + virtualRow.size)}px)` } : void 0,
|
|
270
|
+
className: ds_table_row_module_default.expandedRow,
|
|
271
|
+
children: /* @__PURE__ */ jsx(TableCell, {
|
|
272
|
+
colSpan: row.getVisibleCells().length + (selectable ? 1 : 0) + (isExpandable ? 1 : 0) + (reorderable ? 1 : 0),
|
|
273
|
+
className: ds_table_row_module_default.tableCell,
|
|
274
|
+
children: renderExpandedRow(row.original)
|
|
275
|
+
})
|
|
276
|
+
});
|
|
277
|
+
$[62] = isExpandable;
|
|
278
|
+
$[63] = isExpanded;
|
|
279
|
+
$[64] = renderExpandedRow;
|
|
280
|
+
$[65] = reorderable;
|
|
281
|
+
$[66] = row;
|
|
282
|
+
$[67] = selectable;
|
|
283
|
+
$[68] = virtualRow;
|
|
284
|
+
$[69] = virtualized;
|
|
285
|
+
$[70] = t20;
|
|
286
|
+
} else t20 = $[70];
|
|
287
|
+
let t21;
|
|
288
|
+
if ($[71] !== row.id || $[72] !== t19 || $[73] !== t20) {
|
|
289
|
+
t21 = /* @__PURE__ */ jsxs(React.Fragment, { children: [t19, t20] }, t5);
|
|
290
|
+
$[71] = row.id;
|
|
291
|
+
$[72] = t19;
|
|
292
|
+
$[73] = t20;
|
|
293
|
+
$[74] = t21;
|
|
294
|
+
} else t21 = $[74];
|
|
295
|
+
return t21;
|
|
296
|
+
};
|
|
297
|
+
var ds_table_row_default = DsTableRow;
|
|
298
|
+
function _temp(e) {
|
|
299
|
+
return e.stopPropagation();
|
|
300
|
+
}
|
|
301
|
+
function _temp2(e_0) {
|
|
302
|
+
e_0.stopPropagation();
|
|
303
|
+
}
|
|
304
|
+
function _temp3(e_2) {
|
|
305
|
+
e_2.stopPropagation();
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
//#endregion
|
|
309
|
+
export { ds_table_row_default as default };
|
|
310
|
+
//# sourceMappingURL=ds-table-row.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-table-row.js","names":["React","classnames","useSortable","CSS","DsIcon","DsCheckbox","DsButton","TableCell","TableRow","DsTableCell","DsTableRowProps","styles","stylesShared","useDsTableContext","mergeRefs","getColumnStyle","DsRowDragHandleProps","isDragging","attributes","ReturnType","listeners","DsRowDragHandle","t0","$","_c","t1","tableCell","cellReorder","t2","t3","t4","rowDragHandle","_temp","t5","DsTableRow","ref","row","virtualRow","expandable","expandedRows","selectable","reorderable","onRowClick","onRowDoubleClick","renderExpandedRow","virtualized","bordered","highlightOnHover","rowSize","toggleRowExpanded","primaryRowActions","secondaryRowActions","activeRowId","isExpanded","id","original","isExpandable","isActive","disabled","setNodeRef","transform","transition","String","start","Transform","toString","background","boxShadow","zIndex","position","rowStyle","t6","t7","t8","getIsSelected","undefined","t9","t10","t11","t12","tableRow","sizeSmall","sizeMedium","sizeLarge","virtualizedRow","clickableRow","highlightHoverRow","rowNoBorder","expanded","t13","t14","t15","cellCheckbox","checkboxContainer","getCanSelect","e","stopPropagation","toggleHandler","getToggleSelectedHandler","_temp2","t16","cellButton","e_1","_temp3","expandToggleButton","pageButtonIcon","t17","t18","getVisibleCells","map","cell","idx","isLastColumn","length","cellStyle","column","getSize","t19","t20","size","expandedRow","t21","e_0","e_2"],"sources":["../../../../../src/components/ds-table/components/ds-table-row/ds-table-row.tsx"],"sourcesContent":["import React from 'react';\nimport classnames from 'classnames';\nimport { useSortable } from '@dnd-kit/sortable';\nimport { CSS } from '@dnd-kit/utilities';\nimport { DsIcon } from '../../../ds-icon';\nimport { DsCheckbox } from '../../../ds-checkbox';\nimport { DsButton } from '../../../ds-button';\nimport { TableCell, TableRow } from '../core-table';\nimport { DsTableCell } from '../ds-table-cell';\nimport type { DsTableRowProps } from './ds-table-row.types';\nimport styles from './ds-table-row.module.scss';\nimport stylesShared from '../../styles/shared/ds-table-shared.module.scss';\nimport { useDsTableContext } from '../../context/ds-table-context';\nimport { mergeRefs } from '../../utils/merge-refs';\nimport { getColumnStyle } from '../../utils/column-styling';\n\ninterface DsRowDragHandleProps {\n\tisDragging: boolean;\n\tattributes: ReturnType<typeof useSortable>['attributes'];\n\tlisteners: ReturnType<typeof useSortable>['listeners'];\n}\n\nconst DsRowDragHandle = ({ isDragging, attributes, listeners }: DsRowDragHandleProps) => {\n\treturn (\n\t\t<TableCell\n\t\t\tclassName={classnames(styles.tableCell, styles.cellReorder, {\n\t\t\t\t[styles.isDragging]: isDragging,\n\t\t\t})}\n\t\t>\n\t\t\t<DsIcon\n\t\t\t\tclassName={styles.rowDragHandle}\n\t\t\t\ticon={isDragging ? 'drag_indicator' : 'arrow_downward'}\n\t\t\t\tsize={isDragging ? 'medium' : 'small'}\n\t\t\t\tonClick={(e: React.MouseEvent) => e.stopPropagation()}\n\t\t\t\t{...attributes}\n\t\t\t\t{...listeners}\n\t\t\t></DsIcon>\n\t\t</TableCell>\n\t);\n};\n\nconst DsTableRow = <TData,>({ ref, row, virtualRow }: DsTableRowProps<TData>) => {\n\tconst {\n\t\texpandable,\n\t\texpandedRows,\n\t\tselectable,\n\t\treorderable,\n\t\tonRowClick,\n\t\tonRowDoubleClick,\n\t\trenderExpandedRow,\n\t\tvirtualized,\n\t\tbordered,\n\t\thighlightOnHover,\n\t\trowSize,\n\t\ttoggleRowExpanded,\n\t\tprimaryRowActions,\n\t\tsecondaryRowActions,\n\t\tactiveRowId,\n\t} = useDsTableContext<TData, unknown>();\n\tconst isExpanded = expandedRows[row.id];\n\tconst isExpandable = typeof expandable === 'function' ? expandable(row.original) : expandable;\n\tconst isActive = activeRowId === row.id;\n\n\tconst { attributes, listeners, setNodeRef, transform, transition, isDragging } = useSortable({\n\t\tid: row.id,\n\t\tdisabled: !reorderable,\n\t});\n\tconst rowStyle: React.CSSProperties =\n\t\tvirtualRow && virtualized\n\t\t\t? {\n\t\t\t\t\ttransform: `translateY(${String(virtualRow.start)}px)`,\n\t\t\t\t}\n\t\t\t: reorderable\n\t\t\t\t? {\n\t\t\t\t\t\t// Convert DND-kit's transform coordinates to CSS transform string\n\t\t\t\t\t\ttransform: CSS.Transform.toString(transform),\n\t\t\t\t\t\ttransition,\n\t\t\t\t\t\t...(isDragging\n\t\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t\tbackground: 'var(--action-active-light)',\n\t\t\t\t\t\t\t\t\tboxShadow: '0 0 12px 0 rgba(0, 102, 250, 0.60)',\n\t\t\t\t\t\t\t\t\tzIndex: 1,\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t: {}),\n\t\t\t\t\t\tposition: 'relative',\n\t\t\t\t\t}\n\t\t\t\t: {};\n\n\treturn (\n\t\t<React.Fragment key={row.id}>\n\t\t\t<TableRow\n\t\t\t\tref={mergeRefs(reorderable ? setNodeRef : null, ref)}\n\t\t\t\tdata-state={isActive ? 'active' : row.getIsSelected() ? 'selected' : undefined}\n\t\t\t\tclassName={classnames(\n\t\t\t\t\tstyles.tableRow,\n\t\t\t\t\t{\n\t\t\t\t\t\t[styles.sizeSmall]: rowSize === 'small',\n\t\t\t\t\t\t[styles.sizeMedium]: rowSize === 'medium',\n\t\t\t\t\t\t[styles.sizeLarge]: rowSize === 'large',\n\t\t\t\t\t},\n\t\t\t\t\tvirtualized && styles.virtualizedRow,\n\t\t\t\t\tonRowClick && styles.clickableRow,\n\t\t\t\t\thighlightOnHover && styles.highlightHoverRow,\n\t\t\t\t\t!bordered && styles.rowNoBorder,\n\t\t\t\t\tisExpanded && styles.expanded,\n\t\t\t\t)}\n\t\t\t\tstyle={rowStyle}\n\t\t\t\tonClick={() => onRowClick?.(row.original)}\n\t\t\t\tonDoubleClick={() => onRowDoubleClick?.(row.original)}\n\t\t\t>\n\t\t\t\t{selectable && (\n\t\t\t\t\t<TableCell className={classnames(styles.tableCell, styles.cellCheckbox)}>\n\t\t\t\t\t\t<DsCheckbox\n\t\t\t\t\t\t\tclassName={stylesShared.checkboxContainer}\n\t\t\t\t\t\t\tchecked={row.getIsSelected()}\n\t\t\t\t\t\t\tdisabled={!row.getCanSelect()}\n\t\t\t\t\t\t\tonClick={(e) => {\n\t\t\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\t\t\tconst toggleHandler = row.getToggleSelectedHandler();\n\t\t\t\t\t\t\t\ttoggleHandler(e);\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tonDoubleClick={(e: React.MouseEvent) => {\n\t\t\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</TableCell>\n\t\t\t\t)}\n\t\t\t\t{expandable && (\n\t\t\t\t\t<TableCell className={classnames(styles.tableCell, styles.cellButton)}>\n\t\t\t\t\t\t{isExpandable && (\n\t\t\t\t\t\t\t<DsButton\n\t\t\t\t\t\t\t\tvariant={virtualized ? 'ghost' : 'borderless'}\n\t\t\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t\t\t\tonClick={(e: React.MouseEvent) => {\n\t\t\t\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\t\t\t\ttoggleRowExpanded(row.id);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\tonDoubleClick={(e: React.MouseEvent) => {\n\t\t\t\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\tclassName={styles.expandToggleButton}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<DsIcon\n\t\t\t\t\t\t\t\t\ticon={virtualized ? (isExpanded ? 'arrow_drop_down' : 'arrow_right') : 'chevron_right'}\n\t\t\t\t\t\t\t\t\tclassName={classnames(\n\t\t\t\t\t\t\t\t\t\tstylesShared.pageButtonIcon,\n\t\t\t\t\t\t\t\t\t\t!virtualized && isExpanded && 'rotate-90',\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</DsButton>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</TableCell>\n\t\t\t\t)}\n\t\t\t\t{reorderable && (\n\t\t\t\t\t<DsRowDragHandle isDragging={isDragging} attributes={attributes} listeners={listeners} />\n\t\t\t\t)}\n\t\t\t\t{row.getVisibleCells().map((cell, idx) => {\n\t\t\t\t\tconst isLastColumn = idx === row.getVisibleCells().length - 1;\n\t\t\t\t\tconst cellStyle = getColumnStyle(cell.column.getSize(), virtualized, isLastColumn);\n\n\t\t\t\t\treturn (\n\t\t\t\t\t\t<TableCell key={cell.id} className={styles.tableCell} style={cellStyle}>\n\t\t\t\t\t\t\t{isLastColumn ? (\n\t\t\t\t\t\t\t\t<DsTableCell\n\t\t\t\t\t\t\t\t\trow={row}\n\t\t\t\t\t\t\t\t\tcell={cell}\n\t\t\t\t\t\t\t\t\tprimaryRowActions={primaryRowActions}\n\t\t\t\t\t\t\t\t\tsecondaryRowActions={secondaryRowActions}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t<DsTableCell row={row} cell={cell} />\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</TableCell>\n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t</TableRow>\n\t\t\t{isExpanded && renderExpandedRow && (\n\t\t\t\t<TableRow\n\t\t\t\t\tstyle={\n\t\t\t\t\t\tvirtualRow && virtualized\n\t\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t\ttransform: `translateY(${String(virtualRow.start + virtualRow.size)}px)`,\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t}\n\t\t\t\t\tclassName={styles.expandedRow}\n\t\t\t\t>\n\t\t\t\t\t<TableCell\n\t\t\t\t\t\tcolSpan={\n\t\t\t\t\t\t\trow.getVisibleCells().length +\n\t\t\t\t\t\t\t(selectable ? 1 : 0) +\n\t\t\t\t\t\t\t(isExpandable ? 1 : 0) +\n\t\t\t\t\t\t\t(reorderable ? 1 : 0)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tclassName={styles.tableCell}\n\t\t\t\t\t>\n\t\t\t\t\t\t{renderExpandedRow(row.original)}\n\t\t\t\t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AA,MACAf,cAAA,IAAA;IAES,WAAA9B,4BAAMe;cAEhBkB,kBAAkBR,IAAGmB,SAAS;KAEjC;IACA;AAAAhC,IAAA,MAAAiC;AAAAjC,IAAA,MAAA8B;AAAA9B,IAAA,MAAAqB;AAAArB,IAAA,MAAAkB;AAAAlB,IAAA,MAAAa;AAAAb,IAAA,MAAAiB;AAAAjB,IAAA,MAAAc;AAAAd,IAAA,MAAAsB;AAAAtB,IAAA,MAAA+F;OAAAA,OAAA/F,EAAA;CAAA,IAAAkG;AAAA,KAAAlG,EAAA,QAAAa,IAAAkB,MAAA/B,EAAA,QAAA8F,OAAA9F,EAAA,QAAA+F,KAAA;AA9GFG,QAAA,qBAAA,MAAA,uBACCJ,KAsFCC,QAvFmBrF,GA+GJ;AAAAV,IAAA,MAAAa,IAAAkB;AAAA/B,IAAA,MAAA8F;AAAA9F,IAAA,MAAA+F;AAAA/F,IAAA,MAAAkG;OAAAA,OAAAlG,EAAA;AAAA,QA/GjBkG;;AAmHF,2BAAevF;AAtLS,SAAAF,MAAA+D,GAAA;AAAA,QAWcA,EAACC,iBAAkB;;AAQtC,SAAAG,OAAAuB,KAAA;AAiFX3B,KAACC,iBAAkB;;AAjFR,SAAAO,OAAAoB,KAAA;AAiGV5B,KAACC,iBAAkB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/components/ds-table/components/ds-table-row/ds-table-row.module.scss
|
|
3
|
+
var ds_table_row_module_default = {
|
|
4
|
+
"tableRow": "_tableRow_as8sd_1",
|
|
5
|
+
"virtualizedRow": "_virtualizedRow_as8sd_1",
|
|
6
|
+
"tableCell": "_tableCell_as8sd_1",
|
|
7
|
+
"cellCheckbox": "_cellCheckbox_as8sd_1",
|
|
8
|
+
"clickableRow": "_clickableRow_as8sd_1",
|
|
9
|
+
"rowNoBorder": "_rowNoBorder_as8sd_1",
|
|
10
|
+
"expanded": "_expanded_as8sd_1",
|
|
11
|
+
"expandedRow": "_expandedRow_as8sd_1",
|
|
12
|
+
"sizeSmall": "_sizeSmall_as8sd_1",
|
|
13
|
+
"sizeMedium": "_sizeMedium_as8sd_1",
|
|
14
|
+
"sizeLarge": "_sizeLarge_as8sd_1",
|
|
15
|
+
"cellButton": "_cellButton_as8sd_1",
|
|
16
|
+
"cellReorder": "_cellReorder_as8sd_1",
|
|
17
|
+
"isDragging": "_isDragging_as8sd_1",
|
|
18
|
+
"rowDragHandle": "_rowDragHandle_as8sd_1",
|
|
19
|
+
"expandToggleButton": "_expandToggleButton_as8sd_1"
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.default = ds_table_row_module_default;
|