@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,29 @@
|
|
|
1
|
+
//#region src/components/ds-typography/ds-typography.config.d.ts
|
|
2
|
+
declare const semanticElementMap: {
|
|
3
|
+
readonly 'body-md-reg': "p";
|
|
4
|
+
readonly 'body-md-md': "p";
|
|
5
|
+
readonly 'body-md-semi-bold': "p";
|
|
6
|
+
readonly 'body-md-bold': "p";
|
|
7
|
+
readonly 'body-md-link': "a";
|
|
8
|
+
readonly 'body-sm-reg': "span";
|
|
9
|
+
readonly 'body-sm-md': "span";
|
|
10
|
+
readonly 'body-sm-semi-bold': "span";
|
|
11
|
+
readonly 'body-sm-bold': "span";
|
|
12
|
+
readonly 'body-sm-link': "a";
|
|
13
|
+
readonly 'body-xs-reg': "span";
|
|
14
|
+
readonly 'body-xs-md': "span";
|
|
15
|
+
readonly 'body-xs-semi-bold': "span";
|
|
16
|
+
readonly 'body-xs-bold': "span";
|
|
17
|
+
readonly 'body-xs-link': "a";
|
|
18
|
+
readonly 'code-sm-reg': "code";
|
|
19
|
+
readonly 'code-sm-semi-bold': "code";
|
|
20
|
+
readonly 'code-xs-reg': "code";
|
|
21
|
+
readonly 'code-xs-semi-bold': "code";
|
|
22
|
+
readonly heading1: "h1";
|
|
23
|
+
readonly heading2: "h2";
|
|
24
|
+
readonly heading3: "h3";
|
|
25
|
+
readonly heading4: "h4";
|
|
26
|
+
};
|
|
27
|
+
//#endregion
|
|
28
|
+
export { semanticElementMap };
|
|
29
|
+
//# sourceMappingURL=ds-typography.config.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-typography.config.d.cts","names":[],"sources":["../../../src/components/ds-typography/ds-typography.config.ts"],"sourcesContent":[],"mappings":";cAAa;EAAA,SAAA,aA+BH,EAAA,GAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
//#region src/components/ds-typography/ds-typography.config.d.ts
|
|
2
|
+
declare const semanticElementMap: {
|
|
3
|
+
readonly 'body-md-reg': "p";
|
|
4
|
+
readonly 'body-md-md': "p";
|
|
5
|
+
readonly 'body-md-semi-bold': "p";
|
|
6
|
+
readonly 'body-md-bold': "p";
|
|
7
|
+
readonly 'body-md-link': "a";
|
|
8
|
+
readonly 'body-sm-reg': "span";
|
|
9
|
+
readonly 'body-sm-md': "span";
|
|
10
|
+
readonly 'body-sm-semi-bold': "span";
|
|
11
|
+
readonly 'body-sm-bold': "span";
|
|
12
|
+
readonly 'body-sm-link': "a";
|
|
13
|
+
readonly 'body-xs-reg': "span";
|
|
14
|
+
readonly 'body-xs-md': "span";
|
|
15
|
+
readonly 'body-xs-semi-bold': "span";
|
|
16
|
+
readonly 'body-xs-bold': "span";
|
|
17
|
+
readonly 'body-xs-link': "a";
|
|
18
|
+
readonly 'code-sm-reg': "code";
|
|
19
|
+
readonly 'code-sm-semi-bold': "code";
|
|
20
|
+
readonly 'code-xs-reg': "code";
|
|
21
|
+
readonly 'code-xs-semi-bold': "code";
|
|
22
|
+
readonly heading1: "h1";
|
|
23
|
+
readonly heading2: "h2";
|
|
24
|
+
readonly heading3: "h3";
|
|
25
|
+
readonly heading4: "h4";
|
|
26
|
+
};
|
|
27
|
+
//#endregion
|
|
28
|
+
export { semanticElementMap };
|
|
29
|
+
//# sourceMappingURL=ds-typography.config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-typography.config.d.ts","names":[],"sources":["../../../src/components/ds-typography/ds-typography.config.ts"],"sourcesContent":[],"mappings":";cAAa;EAAA,SAAA,aA+BH,EAAA,GAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
//#region src/components/ds-typography/ds-typography.config.ts
|
|
2
|
+
const semanticElementMap = {
|
|
3
|
+
"body-md-reg": "p",
|
|
4
|
+
"body-md-md": "p",
|
|
5
|
+
"body-md-semi-bold": "p",
|
|
6
|
+
"body-md-bold": "p",
|
|
7
|
+
"body-md-link": "a",
|
|
8
|
+
"body-sm-reg": "span",
|
|
9
|
+
"body-sm-md": "span",
|
|
10
|
+
"body-sm-semi-bold": "span",
|
|
11
|
+
"body-sm-bold": "span",
|
|
12
|
+
"body-sm-link": "a",
|
|
13
|
+
"body-xs-reg": "span",
|
|
14
|
+
"body-xs-md": "span",
|
|
15
|
+
"body-xs-semi-bold": "span",
|
|
16
|
+
"body-xs-bold": "span",
|
|
17
|
+
"body-xs-link": "a",
|
|
18
|
+
"code-sm-reg": "code",
|
|
19
|
+
"code-sm-semi-bold": "code",
|
|
20
|
+
"code-xs-reg": "code",
|
|
21
|
+
"code-xs-semi-bold": "code",
|
|
22
|
+
heading1: "h1",
|
|
23
|
+
heading2: "h2",
|
|
24
|
+
heading3: "h3",
|
|
25
|
+
heading4: "h4"
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
export { semanticElementMap };
|
|
30
|
+
//# sourceMappingURL=ds-typography.config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-typography.config.js","names":["semanticElementMap","heading1","heading2","heading3","heading4","const"],"sources":["../../../src/components/ds-typography/ds-typography.config.ts"],"sourcesContent":["export const semanticElementMap = {\n\t// Body variants\n\t'body-md-reg': 'p',\n\t'body-md-md': 'p',\n\t'body-md-semi-bold': 'p',\n\t'body-md-bold': 'p',\n\t'body-md-link': 'a',\n\n\t'body-sm-reg': 'span',\n\t'body-sm-md': 'span',\n\t'body-sm-semi-bold': 'span',\n\t'body-sm-bold': 'span',\n\t'body-sm-link': 'a',\n\n\t'body-xs-reg': 'span',\n\t'body-xs-md': 'span',\n\t'body-xs-semi-bold': 'span',\n\t'body-xs-bold': 'span',\n\t'body-xs-link': 'a',\n\n\t// Code variants\n\t'code-sm-reg': 'code',\n\t'code-sm-semi-bold': 'code',\n\t'code-xs-reg': 'code',\n\t'code-xs-semi-bold': 'code',\n\n\t// Heading variants\n\theading1: 'h1',\n\theading2: 'h2',\n\theading3: 'h3',\n\theading4: 'h4',\n} as const;\n"],"mappings":";AAAA,MAAaA,qBAAqB;CAEjC,eAAe;CACf,cAAc;CACd,qBAAqB;CACrB,gBAAgB;CAChB,gBAAgB;CAEhB,eAAe;CACf,cAAc;CACd,qBAAqB;CACrB,gBAAgB;CAChB,gBAAgB;CAEhB,eAAe;CACf,cAAc;CACd,qBAAqB;CACrB,gBAAgB;CAChB,gBAAgB;CAGhB,eAAe;CACf,qBAAqB;CACrB,eAAe;CACf,qBAAqB;CAGrBC,UAAU;CACVC,UAAU;CACVC,UAAU;CACVC,UAAU;CACV"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DsTypographyProps } from "./ds-typography.types.cjs";
|
|
2
|
+
import React from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ds-typography/ds-typography.d.ts
|
|
5
|
+
declare const DsTypography: React.FC<DsTypographyProps & {
|
|
6
|
+
ref?: React.Ref<HTMLElement>;
|
|
7
|
+
}>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { DsTypography };
|
|
10
|
+
//# sourceMappingURL=ds-typography.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-typography.d.cts","names":[],"sources":["../../../src/components/ds-typography/ds-typography.tsx"],"sourcesContent":[],"mappings":";;;;cAUM,cAAc,KAAA,CAAM,GAAG;QAA4B,KAAA,CAAM,IAAI;AAPJ,CAAA,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DsTypographyProps } from "./ds-typography.types.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ds-typography/ds-typography.d.ts
|
|
5
|
+
declare const DsTypography: React.FC<DsTypographyProps & {
|
|
6
|
+
ref?: React.Ref<HTMLElement>;
|
|
7
|
+
}>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { DsTypography };
|
|
10
|
+
//# sourceMappingURL=ds-typography.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-typography.d.ts","names":[],"sources":["../../../src/components/ds-typography/ds-typography.tsx"],"sourcesContent":[],"mappings":";;;;cAUM,cAAc,KAAA,CAAM,GAAG;QAA4B,KAAA,CAAM,IAAI;AAPJ,CAAA,CAAA"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { semanticElementMap } from "./ds-typography.config.js";
|
|
2
|
+
import ds_typography_module_default from "./ds-typography.module.js";
|
|
3
|
+
import { c } from "react/compiler-runtime";
|
|
4
|
+
import classNames from "classnames";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
7
|
+
|
|
8
|
+
//#region src/components/ds-typography/ds-typography.tsx
|
|
9
|
+
const DsTypography = (t0) => {
|
|
10
|
+
const $ = c(16);
|
|
11
|
+
let children;
|
|
12
|
+
let className;
|
|
13
|
+
let props;
|
|
14
|
+
let ref;
|
|
15
|
+
let t1;
|
|
16
|
+
let variant;
|
|
17
|
+
if ($[0] !== t0) {
|
|
18
|
+
({ref, variant, asChild: t1, className, children, ...props} = t0);
|
|
19
|
+
$[0] = t0;
|
|
20
|
+
$[1] = children;
|
|
21
|
+
$[2] = className;
|
|
22
|
+
$[3] = props;
|
|
23
|
+
$[4] = ref;
|
|
24
|
+
$[5] = t1;
|
|
25
|
+
$[6] = variant;
|
|
26
|
+
} else {
|
|
27
|
+
children = $[1];
|
|
28
|
+
className = $[2];
|
|
29
|
+
props = $[3];
|
|
30
|
+
ref = $[4];
|
|
31
|
+
t1 = $[5];
|
|
32
|
+
variant = $[6];
|
|
33
|
+
}
|
|
34
|
+
const Component = (t1 === void 0 ? false : t1) ? Slot : semanticElementMap[variant];
|
|
35
|
+
const t2 = ds_typography_module_default[variant];
|
|
36
|
+
let t3;
|
|
37
|
+
if ($[7] !== className || $[8] !== t2) {
|
|
38
|
+
t3 = classNames(t2, className);
|
|
39
|
+
$[7] = className;
|
|
40
|
+
$[8] = t2;
|
|
41
|
+
$[9] = t3;
|
|
42
|
+
} else t3 = $[9];
|
|
43
|
+
let t4;
|
|
44
|
+
if ($[10] !== Component || $[11] !== children || $[12] !== props || $[13] !== ref || $[14] !== t3) {
|
|
45
|
+
t4 = /* @__PURE__ */ jsx(Component, {
|
|
46
|
+
ref,
|
|
47
|
+
className: t3,
|
|
48
|
+
...props,
|
|
49
|
+
children
|
|
50
|
+
});
|
|
51
|
+
$[10] = Component;
|
|
52
|
+
$[11] = children;
|
|
53
|
+
$[12] = props;
|
|
54
|
+
$[13] = ref;
|
|
55
|
+
$[14] = t3;
|
|
56
|
+
$[15] = t4;
|
|
57
|
+
} else t4 = $[15];
|
|
58
|
+
return t4;
|
|
59
|
+
};
|
|
60
|
+
var ds_typography_default = DsTypography;
|
|
61
|
+
|
|
62
|
+
//#endregion
|
|
63
|
+
export { ds_typography_default as default };
|
|
64
|
+
//# sourceMappingURL=ds-typography.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-typography.js","names":["React","Slot","classNames","DsTypographyProps","semanticElementMap","styles","DsTypography","FC","ref","Ref","HTMLElement","t0","$","_c","children","className","props","t1","variant","asChild","undefined","Component","t2","t3","t4"],"sources":["../../../src/components/ds-typography/ds-typography.tsx"],"sourcesContent":["import type React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\nimport classNames from 'classnames';\nimport type { DsTypographyProps } from './ds-typography.types';\nimport { semanticElementMap } from './ds-typography.config';\nimport styles from './ds-typography.module.scss';\n\n/*\n * Design system Typography component that provides consistent text styling\n */\nconst DsTypography: React.FC<DsTypographyProps & { ref?: React.Ref<HTMLElement> }> = ({\n\tref,\n\tvariant,\n\tasChild = false,\n\tclassName,\n\tchildren,\n\t...props\n}) => {\n\tconst Component: React.ElementType = asChild ? Slot : semanticElementMap[variant];\n\treturn (\n\t\t<Component ref={ref} className={classNames(styles[variant], className)} {...props}>\n\t\t\t{children}\n\t\t</Component>\n\t);\n};\n\nexport default DsTypography;\n"],"mappings":";;;;;;;;AAUA,MAAMM,gBAA+EK,OAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CAAA,IAAAC;CAAA,IAAAC;CAAA,IAAAC;CAAA,IAAAR;CAAA,IAAAS;CAAA,IAAAC;AAAA,KAAAN,EAAA,OAAAD,IAAA;AAAC,GAAA,CAAAH,KAAAU,SAAAC,SAAAF,IAAAF,WAAAD,aAAAE,SAAAL;AAOrFC,IAAA,KAAAD;AAAAC,IAAA,KAAAE;AAAAF,IAAA,KAAAG;AAAAH,IAAA,KAAAI;AAAAJ,IAAA,KAAAJ;AAAAI,IAAA,KAAAK;AAAAL,IAAA,KAAAM;QAAA;AAAAJ,aAAAF,EAAA;AAAAG,cAAAH,EAAA;AAAAI,UAAAJ,EAAA;AAAAJ,QAAAI,EAAA;AAAAK,OAAAL,EAAA;AAAAM,YAAAN,EAAA;;CACA,MAAAS,aALAJ,OAAAG,SAAA,QAAAH,MAKqChB,OAAiBG,mBAAmBc;CAE7B,MAAAI,KAAAjB,6BAAOa;CAAQ,IAAAK;AAAA,KAAAX,EAAA,OAAAG,aAAAH,EAAA,OAAAU,IAAA;AAA1BC,OAAArB,WAAWoB,IAAiBP,UAAU;AAAAH,IAAA,KAAAG;AAAAH,IAAA,KAAAU;AAAAV,IAAA,KAAAW;OAAAA,MAAAX,EAAA;CAAA,IAAAY;AAAA,KAAAZ,EAAA,QAAAS,aAAAT,EAAA,QAAAE,YAAAF,EAAA,QAAAI,SAAAJ,EAAA,QAAAJ,OAAAI,EAAA,QAAAW,IAAA;AAAtEC,OAAA,oBAAC;GAAehB;GAAgB,WAAAe;GAAsC,GAAMP;GAC1EF;IACU;AAAAF,IAAA,MAAAS;AAAAT,IAAA,MAAAE;AAAAF,IAAA,MAAAI;AAAAJ,IAAA,MAAAJ;AAAAI,IAAA,MAAAW;AAAAX,IAAA,MAAAY;OAAAA,MAAAZ,EAAA;AAAA,QAFZY;;AAMF,4BAAelB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/components/ds-typography/ds-typography.module.scss
|
|
3
|
+
var ds_typography_module_default = {
|
|
4
|
+
"heading1": "_heading1_h774x_1",
|
|
5
|
+
"heading2": "_heading2_h774x_1",
|
|
6
|
+
"heading3": "_heading3_h774x_1",
|
|
7
|
+
"heading4": "_heading4_h774x_1",
|
|
8
|
+
"body-md-reg": "_body-md-reg_h774x_1",
|
|
9
|
+
"body-md-md": "_body-md-md_h774x_1",
|
|
10
|
+
"body-md-semi-bold": "_body-md-semi-bold_h774x_1",
|
|
11
|
+
"body-md-bold": "_body-md-bold_h774x_1",
|
|
12
|
+
"body-md-link": "_body-md-link_h774x_1",
|
|
13
|
+
"body-sm-reg": "_body-sm-reg_h774x_1",
|
|
14
|
+
"body-sm-md": "_body-sm-md_h774x_1",
|
|
15
|
+
"body-sm-semi-bold": "_body-sm-semi-bold_h774x_1",
|
|
16
|
+
"body-sm-bold": "_body-sm-bold_h774x_1",
|
|
17
|
+
"body-sm-link": "_body-sm-link_h774x_1",
|
|
18
|
+
"body-xs-reg": "_body-xs-reg_h774x_1",
|
|
19
|
+
"body-xs-md": "_body-xs-md_h774x_1",
|
|
20
|
+
"body-xs-semi-bold": "_body-xs-semi-bold_h774x_1",
|
|
21
|
+
"body-xs-bold": "_body-xs-bold_h774x_1",
|
|
22
|
+
"body-xs-link": "_body-xs-link_h774x_1",
|
|
23
|
+
"code-sm-reg": "_code-sm-reg_h774x_1",
|
|
24
|
+
"code-sm-semi-bold": "_code-sm-semi-bold_h774x_1",
|
|
25
|
+
"code-xs-reg": "_code-xs-reg_h774x_1",
|
|
26
|
+
"code-xs-semi-bold": "_code-xs-semi-bold_h774x_1"
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
exports.default = ds_typography_module_default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
//#region src/components/ds-typography/ds-typography.module.scss
|
|
2
|
+
var ds_typography_module_default = {
|
|
3
|
+
"heading1": "_heading1_h774x_1",
|
|
4
|
+
"heading2": "_heading2_h774x_1",
|
|
5
|
+
"heading3": "_heading3_h774x_1",
|
|
6
|
+
"heading4": "_heading4_h774x_1",
|
|
7
|
+
"body-md-reg": "_body-md-reg_h774x_1",
|
|
8
|
+
"body-md-md": "_body-md-md_h774x_1",
|
|
9
|
+
"body-md-semi-bold": "_body-md-semi-bold_h774x_1",
|
|
10
|
+
"body-md-bold": "_body-md-bold_h774x_1",
|
|
11
|
+
"body-md-link": "_body-md-link_h774x_1",
|
|
12
|
+
"body-sm-reg": "_body-sm-reg_h774x_1",
|
|
13
|
+
"body-sm-md": "_body-sm-md_h774x_1",
|
|
14
|
+
"body-sm-semi-bold": "_body-sm-semi-bold_h774x_1",
|
|
15
|
+
"body-sm-bold": "_body-sm-bold_h774x_1",
|
|
16
|
+
"body-sm-link": "_body-sm-link_h774x_1",
|
|
17
|
+
"body-xs-reg": "_body-xs-reg_h774x_1",
|
|
18
|
+
"body-xs-md": "_body-xs-md_h774x_1",
|
|
19
|
+
"body-xs-semi-bold": "_body-xs-semi-bold_h774x_1",
|
|
20
|
+
"body-xs-bold": "_body-xs-bold_h774x_1",
|
|
21
|
+
"body-xs-link": "_body-xs-link_h774x_1",
|
|
22
|
+
"code-sm-reg": "_code-sm-reg_h774x_1",
|
|
23
|
+
"code-sm-semi-bold": "_code-sm-semi-bold_h774x_1",
|
|
24
|
+
"code-xs-reg": "_code-xs-reg_h774x_1",
|
|
25
|
+
"code-xs-semi-bold": "_code-xs-semi-bold_h774x_1"
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
export { ds_typography_module_default as default };
|
|
30
|
+
//# sourceMappingURL=ds-typography.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-typography.module.js","names":[],"sources":["../../../file:/home/runner/work/design-system/design-system/packages/design-system/src/components/ds-typography/ds-typography.module.scss","../../../file:/home/runner/work/design-system/design-system/packages/design-system/src/styles/_typography.scss"],"sourcesContent":["@use '../../styles/typography';\n\n.heading1 {\n\t@include typography.heading1;\n}\n\n.heading2 {\n\t@include typography.heading2;\n}\n\n.heading3 {\n\t@include typography.heading3;\n}\n\n.heading4 {\n\t@include typography.heading4;\n}\n\n.body-md-reg {\n\t@include typography.body-md-reg;\n}\n\n.body-md-md {\n\t@include typography.body-md-md;\n}\n\n.body-md-semi-bold {\n\t@include typography.body-md-semi-bold;\n}\n\n.body-md-bold {\n\t@include typography.body-md-bold;\n}\n\n.body-md-link {\n\t@include typography.body-md-link;\n}\n\n.body-sm-reg {\n\t@include typography.body-sm-reg;\n}\n\n.body-sm-md {\n\t@include typography.body-sm-md;\n}\n\n.body-sm-semi-bold {\n\t@include typography.body-sm-semi-bold;\n}\n\n.body-sm-bold {\n\t@include typography.body-sm-bold;\n}\n\n.body-sm-link {\n\t@include typography.body-sm-link;\n}\n\n.body-xs-reg {\n\t@include typography.body-xs-reg;\n}\n\n.body-xs-md {\n\t@include typography.body-xs-md;\n}\n\n.body-xs-semi-bold {\n\t@include typography.body-xs-semi-bold;\n}\n\n.body-xs-bold {\n\t@include typography.body-xs-bold;\n}\n\n.body-xs-link {\n\t@include typography.body-xs-link;\n}\n\n.code-sm-reg {\n\t@include typography.code-sm-reg;\n}\n\n.code-sm-semi-bold {\n\t@include typography.code-sm-semi-bold;\n}\n\n.code-xs-reg {\n\t@include typography.code-xs-reg;\n}\n\n.code-xs-semi-bold {\n\t@include typography.code-xs-semi-bold;\n}\n"],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { semanticElementMap } from "./ds-typography.config.cjs";
|
|
2
|
+
import React from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ds-typography/ds-typography.types.d.ts
|
|
5
|
+
type SemanticVariant = keyof typeof semanticElementMap;
|
|
6
|
+
interface DsTypographyProps {
|
|
7
|
+
/**
|
|
8
|
+
* The semantic variant of the component
|
|
9
|
+
*/
|
|
10
|
+
variant: SemanticVariant;
|
|
11
|
+
/**
|
|
12
|
+
* Additional CSS class names
|
|
13
|
+
*/
|
|
14
|
+
className?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Additional styles to apply to the typography component
|
|
17
|
+
*/
|
|
18
|
+
style?: React.CSSProperties;
|
|
19
|
+
/**
|
|
20
|
+
* When true, renders as Slot component for composition without extra DOM nodes
|
|
21
|
+
*/
|
|
22
|
+
asChild?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The content of the component
|
|
25
|
+
*/
|
|
26
|
+
children: React.ReactNode;
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
export { DsTypographyProps, SemanticVariant };
|
|
30
|
+
//# sourceMappingURL=ds-typography.types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-typography.types.d.cts","names":[],"sources":["../../../src/components/ds-typography/ds-typography.types.tsx"],"sourcesContent":[],"mappings":";;;;KAGY,eAAA,gBAA+B;UAE1B,iBAAA;EAFL;AAEZ;;EAYS,OAAM,EARL,eAQK;EAQJ;;;;;;;UARF,KAAA,CAAM;;;;;;;;YAQJ,KAAA,CAAM"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { semanticElementMap } from "./ds-typography.config.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ds-typography/ds-typography.types.d.ts
|
|
5
|
+
type SemanticVariant = keyof typeof semanticElementMap;
|
|
6
|
+
interface DsTypographyProps {
|
|
7
|
+
/**
|
|
8
|
+
* The semantic variant of the component
|
|
9
|
+
*/
|
|
10
|
+
variant: SemanticVariant;
|
|
11
|
+
/**
|
|
12
|
+
* Additional CSS class names
|
|
13
|
+
*/
|
|
14
|
+
className?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Additional styles to apply to the typography component
|
|
17
|
+
*/
|
|
18
|
+
style?: React.CSSProperties;
|
|
19
|
+
/**
|
|
20
|
+
* When true, renders as Slot component for composition without extra DOM nodes
|
|
21
|
+
*/
|
|
22
|
+
asChild?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The content of the component
|
|
25
|
+
*/
|
|
26
|
+
children: React.ReactNode;
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
export { DsTypographyProps, SemanticVariant };
|
|
30
|
+
//# sourceMappingURL=ds-typography.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-typography.types.d.ts","names":[],"sources":["../../../src/components/ds-typography/ds-typography.types.tsx"],"sourcesContent":[],"mappings":";;;;KAGY,eAAA,gBAA+B;UAE1B,iBAAA;EAFL;AAEZ;;EAYS,OAAM,EARL,eAQK;EAQJ;;;;;;;UARF,KAAA,CAAM;;;;;;;;YAQJ,KAAA,CAAM"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const require_ds_typography = require('./ds-typography.cjs');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import ds_typography_default from "./ds-typography.js";
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_ds_vertical_tabs_module = require('./ds-vertical-tabs.module.cjs');
|
|
3
|
+
let react_compiler_runtime = require("react/compiler-runtime");
|
|
4
|
+
let classnames = require("classnames");
|
|
5
|
+
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
+
let __ark_ui_react_tabs = require("@ark-ui/react/tabs");
|
|
8
|
+
|
|
9
|
+
//#region src/components/ds-vertical-tabs/ds-vertical-tabs.tsx
|
|
10
|
+
/**
|
|
11
|
+
* Design system vertical tabs component - compound component for flexible vertical navigation
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* <DsVerticalTabs value={selected} onValueChange={handleChange}>
|
|
16
|
+
* <DsVerticalTabs.List>
|
|
17
|
+
* <DsVerticalTabs.Tab value="status">
|
|
18
|
+
* <span>Status</span>
|
|
19
|
+
* <span className={styles.badge}>5</span>
|
|
20
|
+
* </DsVerticalTabs.Tab>
|
|
21
|
+
* <DsVerticalTabs.Tab value="date">Date</DsVerticalTabs.Tab>
|
|
22
|
+
* </DsVerticalTabs.List>
|
|
23
|
+
* <DsVerticalTabs.Content value="status">Status filters...</DsVerticalTabs.Content>
|
|
24
|
+
* <DsVerticalTabs.Content value="date">Date filters...</DsVerticalTabs.Content>
|
|
25
|
+
* </DsVerticalTabs>
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
const DsVerticalTabs = (t0) => {
|
|
29
|
+
const $ = (0, react_compiler_runtime.c)(8);
|
|
30
|
+
const { value, onValueChange, className, style, children } = t0;
|
|
31
|
+
let t1;
|
|
32
|
+
if ($[0] !== onValueChange) {
|
|
33
|
+
t1 = (details) => {
|
|
34
|
+
onValueChange?.(details.value);
|
|
35
|
+
};
|
|
36
|
+
$[0] = onValueChange;
|
|
37
|
+
$[1] = t1;
|
|
38
|
+
} else t1 = $[1];
|
|
39
|
+
const handleValueChange = t1;
|
|
40
|
+
let t2;
|
|
41
|
+
if ($[2] !== children || $[3] !== className || $[4] !== handleValueChange || $[5] !== style || $[6] !== value) {
|
|
42
|
+
t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__ark_ui_react_tabs.Tabs.Root, {
|
|
43
|
+
orientation: "vertical",
|
|
44
|
+
value,
|
|
45
|
+
onValueChange: handleValueChange,
|
|
46
|
+
className,
|
|
47
|
+
style,
|
|
48
|
+
children
|
|
49
|
+
});
|
|
50
|
+
$[2] = children;
|
|
51
|
+
$[3] = className;
|
|
52
|
+
$[4] = handleValueChange;
|
|
53
|
+
$[5] = style;
|
|
54
|
+
$[6] = value;
|
|
55
|
+
$[7] = t2;
|
|
56
|
+
} else t2 = $[7];
|
|
57
|
+
return t2;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Container for tab triggers
|
|
61
|
+
*/
|
|
62
|
+
const DsVerticalTabsList = (t0) => {
|
|
63
|
+
const $ = (0, react_compiler_runtime.c)(5);
|
|
64
|
+
const { className, children } = t0;
|
|
65
|
+
let t1;
|
|
66
|
+
if ($[0] !== className) {
|
|
67
|
+
t1 = (0, classnames.default)(require_ds_vertical_tabs_module.default.tabList, className);
|
|
68
|
+
$[0] = className;
|
|
69
|
+
$[1] = t1;
|
|
70
|
+
} else t1 = $[1];
|
|
71
|
+
let t2;
|
|
72
|
+
if ($[2] !== children || $[3] !== t1) {
|
|
73
|
+
t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__ark_ui_react_tabs.Tabs.List, {
|
|
74
|
+
className: t1,
|
|
75
|
+
children
|
|
76
|
+
});
|
|
77
|
+
$[2] = children;
|
|
78
|
+
$[3] = t1;
|
|
79
|
+
$[4] = t2;
|
|
80
|
+
} else t2 = $[4];
|
|
81
|
+
return t2;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Individual tab trigger - fully customizable content
|
|
85
|
+
*/
|
|
86
|
+
const DsVerticalTabsTab = (t0) => {
|
|
87
|
+
const $ = (0, react_compiler_runtime.c)(7);
|
|
88
|
+
const { value, disabled, className, children } = t0;
|
|
89
|
+
let t1;
|
|
90
|
+
if ($[0] !== className) {
|
|
91
|
+
t1 = (0, classnames.default)(require_ds_vertical_tabs_module.default.tabItem, className);
|
|
92
|
+
$[0] = className;
|
|
93
|
+
$[1] = t1;
|
|
94
|
+
} else t1 = $[1];
|
|
95
|
+
let t2;
|
|
96
|
+
if ($[2] !== children || $[3] !== disabled || $[4] !== t1 || $[5] !== value) {
|
|
97
|
+
t2 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__ark_ui_react_tabs.Tabs.Trigger, {
|
|
98
|
+
value,
|
|
99
|
+
disabled,
|
|
100
|
+
className: t1,
|
|
101
|
+
children
|
|
102
|
+
});
|
|
103
|
+
$[2] = children;
|
|
104
|
+
$[3] = disabled;
|
|
105
|
+
$[4] = t1;
|
|
106
|
+
$[5] = value;
|
|
107
|
+
$[6] = t2;
|
|
108
|
+
} else t2 = $[6];
|
|
109
|
+
return t2;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Tab content panel - displays when corresponding tab is active
|
|
113
|
+
*/
|
|
114
|
+
const DsVerticalTabsContent = (t0) => {
|
|
115
|
+
const $ = (0, react_compiler_runtime.c)(4);
|
|
116
|
+
const { value, className, children } = t0;
|
|
117
|
+
let t1;
|
|
118
|
+
if ($[0] !== children || $[1] !== className || $[2] !== value) {
|
|
119
|
+
t1 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__ark_ui_react_tabs.Tabs.Content, {
|
|
120
|
+
value,
|
|
121
|
+
className,
|
|
122
|
+
children
|
|
123
|
+
});
|
|
124
|
+
$[0] = children;
|
|
125
|
+
$[1] = className;
|
|
126
|
+
$[2] = value;
|
|
127
|
+
$[3] = t1;
|
|
128
|
+
} else t1 = $[3];
|
|
129
|
+
return t1;
|
|
130
|
+
};
|
|
131
|
+
DsVerticalTabs.List = DsVerticalTabsList;
|
|
132
|
+
DsVerticalTabs.Tab = DsVerticalTabsTab;
|
|
133
|
+
DsVerticalTabs.Content = DsVerticalTabsContent;
|
|
134
|
+
var ds_vertical_tabs_default = DsVerticalTabs;
|
|
135
|
+
|
|
136
|
+
//#endregion
|
|
137
|
+
exports.default = ds_vertical_tabs_default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { DsVerticalTabsContentProps, DsVerticalTabsListProps, DsVerticalTabsRootProps, DsVerticalTabsTabProps } from "./ds-vertical-tabs.types.cjs";
|
|
2
|
+
import * as react_jsx_runtime41 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ds-vertical-tabs/ds-vertical-tabs.d.ts
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Design system vertical tabs component - compound component for flexible vertical navigation
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <DsVerticalTabs value={selected} onValueChange={handleChange}>
|
|
12
|
+
* <DsVerticalTabs.List>
|
|
13
|
+
* <DsVerticalTabs.Tab value="status">
|
|
14
|
+
* <span>Status</span>
|
|
15
|
+
* <span className={styles.badge}>5</span>
|
|
16
|
+
* </DsVerticalTabs.Tab>
|
|
17
|
+
* <DsVerticalTabs.Tab value="date">Date</DsVerticalTabs.Tab>
|
|
18
|
+
* </DsVerticalTabs.List>
|
|
19
|
+
* <DsVerticalTabs.Content value="status">Status filters...</DsVerticalTabs.Content>
|
|
20
|
+
* <DsVerticalTabs.Content value="date">Date filters...</DsVerticalTabs.Content>
|
|
21
|
+
* </DsVerticalTabs>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
declare const DsVerticalTabs: {
|
|
25
|
+
({
|
|
26
|
+
value,
|
|
27
|
+
onValueChange,
|
|
28
|
+
className,
|
|
29
|
+
style,
|
|
30
|
+
children
|
|
31
|
+
}: DsVerticalTabsRootProps): react_jsx_runtime41.JSX.Element;
|
|
32
|
+
List: ({
|
|
33
|
+
className,
|
|
34
|
+
children
|
|
35
|
+
}: DsVerticalTabsListProps) => react_jsx_runtime41.JSX.Element;
|
|
36
|
+
Tab: ({
|
|
37
|
+
value,
|
|
38
|
+
disabled,
|
|
39
|
+
className,
|
|
40
|
+
children
|
|
41
|
+
}: DsVerticalTabsTabProps) => react_jsx_runtime41.JSX.Element;
|
|
42
|
+
Content: ({
|
|
43
|
+
value,
|
|
44
|
+
className,
|
|
45
|
+
children
|
|
46
|
+
}: DsVerticalTabsContentProps) => react_jsx_runtime41.JSX.Element;
|
|
47
|
+
};
|
|
48
|
+
//#endregion
|
|
49
|
+
export { DsVerticalTabs };
|
|
50
|
+
//# sourceMappingURL=ds-vertical-tabs.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-vertical-tabs.d.cts","names":[],"sources":["../../../src/components/ds-vertical-tabs/ds-vertical-tabs.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAOkC;;;;;;;;;;;;;;;cAqB5B;EA4B+D,CAAA;IAAA,KAAA;IAAA,aAAA;IAAA,SAAA;IAAA,KAAA;IAAA;EAAA,CAAA,EA5BS,uBA4BT,CAAA,EA5BgC,mBAAA,CAAA,GAAA,CAAA,OA4BhC;EAAsB,IAAA,EAAA,CAAA;IAAA,SAAA;IAAA;EAAA,CAAA,EAPtC,uBAOsC,EAAA,GAPf,mBAAA,CAAA,GAAA,CAAA,OAOe;;;;;;KAAtB,2BAAsB,mBAAA,CAAA,GAAA,CAAA;;;;;KAW5B,+BAA0B,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { DsVerticalTabsContentProps, DsVerticalTabsListProps, DsVerticalTabsRootProps, DsVerticalTabsTabProps } from "./ds-vertical-tabs.types.js";
|
|
2
|
+
import * as react_jsx_runtime40 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ds-vertical-tabs/ds-vertical-tabs.d.ts
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Design system vertical tabs component - compound component for flexible vertical navigation
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <DsVerticalTabs value={selected} onValueChange={handleChange}>
|
|
12
|
+
* <DsVerticalTabs.List>
|
|
13
|
+
* <DsVerticalTabs.Tab value="status">
|
|
14
|
+
* <span>Status</span>
|
|
15
|
+
* <span className={styles.badge}>5</span>
|
|
16
|
+
* </DsVerticalTabs.Tab>
|
|
17
|
+
* <DsVerticalTabs.Tab value="date">Date</DsVerticalTabs.Tab>
|
|
18
|
+
* </DsVerticalTabs.List>
|
|
19
|
+
* <DsVerticalTabs.Content value="status">Status filters...</DsVerticalTabs.Content>
|
|
20
|
+
* <DsVerticalTabs.Content value="date">Date filters...</DsVerticalTabs.Content>
|
|
21
|
+
* </DsVerticalTabs>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
declare const DsVerticalTabs: {
|
|
25
|
+
({
|
|
26
|
+
value,
|
|
27
|
+
onValueChange,
|
|
28
|
+
className,
|
|
29
|
+
style,
|
|
30
|
+
children
|
|
31
|
+
}: DsVerticalTabsRootProps): react_jsx_runtime40.JSX.Element;
|
|
32
|
+
List: ({
|
|
33
|
+
className,
|
|
34
|
+
children
|
|
35
|
+
}: DsVerticalTabsListProps) => react_jsx_runtime40.JSX.Element;
|
|
36
|
+
Tab: ({
|
|
37
|
+
value,
|
|
38
|
+
disabled,
|
|
39
|
+
className,
|
|
40
|
+
children
|
|
41
|
+
}: DsVerticalTabsTabProps) => react_jsx_runtime40.JSX.Element;
|
|
42
|
+
Content: ({
|
|
43
|
+
value,
|
|
44
|
+
className,
|
|
45
|
+
children
|
|
46
|
+
}: DsVerticalTabsContentProps) => react_jsx_runtime40.JSX.Element;
|
|
47
|
+
};
|
|
48
|
+
//#endregion
|
|
49
|
+
export { DsVerticalTabs };
|
|
50
|
+
//# sourceMappingURL=ds-vertical-tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ds-vertical-tabs.d.ts","names":[],"sources":["../../../src/components/ds-vertical-tabs/ds-vertical-tabs.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAOkC;;;;;;;;;;;;;;;cAqB5B;EA4B+D,CAAA;IAAA,KAAA;IAAA,aAAA;IAAA,SAAA;IAAA,KAAA;IAAA;EAAA,CAAA,EA5BS,uBA4BT,CAAA,EA5BgC,mBAAA,CAAA,GAAA,CAAA,OA4BhC;EAAsB,IAAA,EAAA,CAAA;IAAA,SAAA;IAAA;EAAA,CAAA,EAPtC,uBAOsC,EAAA,GAPf,mBAAA,CAAA,GAAA,CAAA,OAOe;;;;;;KAAtB,2BAAsB,mBAAA,CAAA,GAAA,CAAA;;;;;KAW5B,+BAA0B,mBAAA,CAAA,GAAA,CAAA"}
|