@drivenets/design-system 0.7.1 → 0.7.3
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 +20 -0
- package/dist/index.cjs +591 -850
- package/dist/index.d.cts +131 -95
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +131 -95
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +580 -834
- package/dist/index.js.map +1 -1
- package/dist/index.min.css +1 -1
- package/package.json +28 -24
- package/src/components/ds-breadcrumb/ds-breadcrumb.tsx +1 -1
- package/src/components/ds-button/versions/ds-button-legacy/ds-button-legacy.tsx +1 -0
- package/src/components/ds-button/versions/ds-button-new/ds-button-new.module.scss +13 -0
- package/src/components/ds-button/versions/ds-button-new/ds-button-new.tsx +1 -1
- package/src/components/ds-button/versions/ds-button-new/ds-button-new.types.ts +1 -1
- package/src/components/ds-checkbox/ds-checkbox.module.scss +36 -5
- package/src/components/ds-checkbox/ds-checkbox.tsx +2 -1
- package/src/components/ds-checkbox/{ds-checkbox.types.tsx → ds-checkbox.types.ts} +7 -0
- package/src/components/ds-chip-group/ds-chip-group.tsx +1 -1
- package/src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.module.scss +0 -23
- package/src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.tsx +2 -11
- package/src/components/ds-comment-bubble/ds-comment-bubble.module.scss +0 -39
- package/src/components/ds-comment-bubble/ds-comment-bubble.tsx +21 -20
- package/src/components/ds-comment-card/ds-comment-card.tsx +2 -2
- package/src/components/ds-confirmation/ds-confirmation.tsx +1 -1
- package/src/components/ds-dropdown-menu/ds-dropdown-menu.module.scss +1 -1
- package/src/components/ds-dropdown-menu/ds-dropdown-menu.tsx +2 -2
- package/src/components/ds-expandable-text-input/ds-expandable-text-input.tsx +6 -2
- package/src/components/ds-segment-group/ds-segment-group.tsx +1 -1
- package/src/components/ds-select/ds-select.tsx +41 -7
- package/src/components/ds-select/{ds-select.types.tsx → ds-select.types.ts} +12 -0
- package/src/components/ds-select/select-items-chips.tsx +3 -2
- package/src/components/ds-select/utils.test.ts +37 -0
- package/src/components/ds-select/utils.ts +7 -0
- package/src/components/ds-smart-tabs/{ds-smart-tabs.types.tsx → ds-smart-tabs.types.ts} +1 -1
- package/src/components/ds-stepper/components/ds-step-next-button.tsx +7 -3
- package/src/components/ds-stepper/components/ds-step.tsx +1 -1
- package/src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.tsx +14 -6
- package/src/components/ds-table/components/ds-table-body-virtualized/ds-table-body-virtualized.types.ts +9 -3
- package/src/components/ds-table/components/ds-table-row/ds-table-row.tsx +6 -4
- package/src/components/ds-table/components/ds-table-row/ds-table-row.types.ts +4 -0
- package/src/components/ds-table/components/ds-table-row-selectable-cell/ds-table-row-selectable-cell.tsx +2 -1
- package/src/components/ds-table/components/ds-table-row-selectable-cell/ds-table-row-selectable-cell.types.ts +1 -0
- package/src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.tsx +5 -2
- package/src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.types.ts +4 -2
- package/src/components/ds-table/ds-table.tsx +4 -1
- package/src/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.tsx +1 -2
- package/src/components/ds-tag-filter/{utils.test.ts → utils.browser.test.ts} +20 -113
- package/src/components/ds-text-input/ds-text-input.tsx +4 -0
- package/src/components/ds-text-input/{ds-text-input.types.tsx → ds-text-input.types.ts} +8 -1
- /package/src/components/ds-alert-banner/{ds-alert-banner.types.tsx → ds-alert-banner.types.ts} +0 -0
- /package/src/components/ds-alert-banner/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-autocomplete/{ds-autocomplete.types.tsx → ds-autocomplete.types.ts} +0 -0
- /package/src/components/ds-breadcrumb/{ds-breadcrumb.types.tsx → ds-breadcrumb.types.ts} +0 -0
- /package/src/components/ds-breadcrumb/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-checkbox/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-chip/{ds-chip.types.tsx → ds-chip.types.ts} +0 -0
- /package/src/components/ds-chip/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-comments-drawer/{comments-filters.test.ts → comments-filters.unit.test.ts} +0 -0
- /package/src/components/ds-confirmation/{ds-confirmation.types.tsx → ds-confirmation.types.ts} +0 -0
- /package/src/components/ds-date-input/{ds-date-input.types.tsx → ds-date-input.types.ts} +0 -0
- /package/src/components/ds-dialog/{ds-dialog.types.tsx → ds-dialog.types.ts} +0 -0
- /package/src/components/ds-dialog/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-drawer/{ds-drawer.types.tsx → ds-drawer.types.ts} +0 -0
- /package/src/components/ds-dropdown-menu/{ds-dropdown-menu.types.tsx → ds-dropdown-menu.types.ts} +0 -0
- /package/src/components/ds-dropdown-menu/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-expandable-text-input/{ds-expandable-text-input.types.tsx → ds-expandable-text-input.types.ts} +0 -0
- /package/src/components/ds-file-upload/components/file-upload/{file-upload.types.tsx → file-upload.types.ts} +0 -0
- /package/src/components/ds-file-upload/components/file-upload-item/{file-upload-item.types.tsx → file-upload-item.types.ts} +0 -0
- /package/src/components/ds-file-upload/{ds-file-upload.types.tsx → ds-file-upload.types.ts} +0 -0
- /package/src/components/ds-form-control/{ds-form-control.types.tsx → ds-form-control.types.ts} +0 -0
- /package/src/components/ds-form-control/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-modal/{ds-modal.types.tsx → ds-modal.types.ts} +0 -0
- /package/src/components/ds-modal/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-number-input/{ds-number-input.types.tsx → ds-number-input.types.ts} +0 -0
- /package/src/components/ds-number-input/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-panel/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-password-input/{ds-password-input.types.tsx → ds-password-input.types.ts} +0 -0
- /package/src/components/ds-password-input/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-popover/{ds-popover.types.tsx → ds-popover.types.ts} +0 -0
- /package/src/components/ds-popover/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-progress-arc/{utils.test.ts → utils.unit.test.ts} +0 -0
- /package/src/components/ds-progress-linear/{utils.test.ts → utils.unit.test.ts} +0 -0
- /package/src/components/ds-radio-group/{ds-radio-group.types.tsx → ds-radio-group.types.ts} +0 -0
- /package/src/components/ds-radio-group/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-segment-group/{ds-segment-group.types.tsx → ds-segment-group.types.ts} +0 -0
- /package/src/components/ds-segment-group/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-select/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-skeleton/{ds-skeleton.tsx → ds-skeleton.ts} +0 -0
- /package/src/components/ds-smart-tabs/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-spinner/{ds-spinner.types.tsx → ds-spinner.types.ts} +0 -0
- /package/src/components/ds-spinner/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-status-badge/{ds-status-badge.types.tsx → ds-status-badge.types.ts} +0 -0
- /package/src/components/ds-status-badge/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-stepper/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-system-status/{ds-system-status.types.tsx → ds-system-status.types.ts} +0 -0
- /package/src/components/ds-system-status/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-table/context/{ds-table-context.tsx → ds-table-context.ts} +0 -0
- /package/src/components/ds-tag/{ds-tag.types.tsx → ds-tag.types.ts} +0 -0
- /package/src/components/ds-tag/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-textarea/{ds-textarea.types.tsx → ds-textarea.types.ts} +0 -0
- /package/src/components/ds-textarea/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-toast/{ds-toast.types.tsx → ds-toast.types.ts} +0 -0
- /package/src/components/ds-toggle/{ds-toggle.types.tsx → ds-toggle.types.ts} +0 -0
- /package/src/components/ds-toggle/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-tooltip/{ds-tooltip.types.tsx → ds-tooltip.types.ts} +0 -0
- /package/src/components/ds-tooltip/{index.tsx → index.ts} +0 -0
- /package/src/components/ds-typography/{ds-typography.types.tsx → ds-typography.types.ts} +0 -0
- /package/src/components/ds-typography/{index.tsx → index.ts} +0 -0
- /package/src/utils/{format-relative-time.test.ts → format-relative-time.unit.test.ts} +0 -0
- /package/src/{components/ds-table/utils → utils}/merge-refs.ts +0 -0
- /package/src/utils/{numbers.test.ts → numbers.unit.test.ts} +0 -0
|
@@ -27,6 +27,10 @@ export interface DsTextInputProps {
|
|
|
27
27
|
* @default text
|
|
28
28
|
*/
|
|
29
29
|
type?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Event handler called when the input field receives focus
|
|
32
|
+
*/
|
|
33
|
+
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
30
34
|
/**
|
|
31
35
|
* Event handler called when the input field loses focus
|
|
32
36
|
*
|
|
@@ -86,7 +90,10 @@ export interface DsTextInputProps {
|
|
|
86
90
|
* Whether the input is disabled
|
|
87
91
|
*/
|
|
88
92
|
disabled?: boolean;
|
|
89
|
-
|
|
93
|
+
/**
|
|
94
|
+
* Whether the input is read only
|
|
95
|
+
*/
|
|
96
|
+
readOnly?: boolean;
|
|
90
97
|
/**
|
|
91
98
|
* The tabIndex of the input
|
|
92
99
|
*/
|
/package/src/components/ds-alert-banner/{ds-alert-banner.types.tsx → ds-alert-banner.types.ts}
RENAMED
|
File without changes
|
|
File without changes
|
/package/src/components/ds-autocomplete/{ds-autocomplete.types.tsx → ds-autocomplete.types.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/components/ds-confirmation/{ds-confirmation.types.tsx → ds-confirmation.types.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/components/ds-dropdown-menu/{ds-dropdown-menu.types.tsx → ds-dropdown-menu.types.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/components/ds-form-control/{ds-form-control.types.tsx → ds-form-control.types.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/components/ds-number-input/{ds-number-input.types.tsx → ds-number-input.types.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/components/ds-password-input/{ds-password-input.types.tsx → ds-password-input.types.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/components/ds-segment-group/{ds-segment-group.types.tsx → ds-segment-group.types.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/components/ds-status-badge/{ds-status-badge.types.tsx → ds-status-badge.types.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/components/ds-system-status/{ds-system-status.types.tsx → ds-system-status.types.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|