@loadsmart/loadsmart-ui 7.3.2 → 7.3.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/dist/common/BackButton/BackButton.d.ts +1 -0
- package/dist/common/CloseButton/CloseButton.d.ts +1 -0
- package/dist/components/Accordion/Accordion.stories.d.ts +1 -0
- package/dist/components/Banner/Banner.d.ts +1 -1
- package/dist/components/Calendar/Calendar.d.ts +1 -0
- package/dist/components/Calendar/Calendar.stories.d.ts +1 -0
- package/dist/components/Calendar/PickerModeToggle.d.ts +1 -0
- package/dist/components/Calendar/Pickers/DayPicker.d.ts +1 -0
- package/dist/components/Calendar/Pickers/MonthPicker.d.ts +1 -0
- package/dist/components/Calendar/Pickers/YearPicker.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts +1 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts +1 -0
- package/dist/components/DatePicker/DateRangePicker.d.ts +1 -0
- package/dist/components/DatePicker/DateRangePicker.stories.d.ts +1 -0
- package/dist/components/DatePicker/useDatePicker.d.ts +102 -102
- package/dist/components/DatePicker/useDateRangePicker.d.ts +153 -154
- package/dist/components/Dialog/Dialog.stories.d.ts +1 -0
- package/dist/components/DragDropFile/DragDropFile.stories.d.ts +1 -0
- package/dist/components/DragDropFile/components/DropZone.d.ts +1 -0
- package/dist/components/DragDropFile/components/FileItem.d.ts +1 -0
- package/dist/components/DragDropFile/components/FileList.d.ts +1 -0
- package/dist/components/DragDropFile/styles.d.ts +1 -1
- package/dist/components/EmptyState/EmptyState.stories.d.ts +1 -0
- package/dist/components/ErrorMessage/ErrorMessage.stories.d.ts +1 -0
- package/dist/components/Icon/Icon.d.ts +2 -1
- package/dist/components/IconFactory/IconFactory.d.ts +2 -1
- package/dist/components/Label/Label.stories.d.ts +1 -0
- package/dist/components/Layout/Layout.stories.d.ts +1 -0
- package/dist/components/Link/Link.stories.d.ts +1 -0
- package/dist/components/Loaders/LoadingDots.d.ts +1 -0
- package/dist/components/Loaders/Spinner.d.ts +1 -0
- package/dist/components/Modal/Modal.stories.d.ts +1 -0
- package/dist/components/Pagination/Pagination.d.ts +1 -0
- package/dist/components/Pagination/PaginationItem.d.ts +1 -0
- package/dist/components/Popover/Popover.d.ts +1 -0
- package/dist/components/ProgressBar/ProgressBar.stories.d.ts +1 -0
- package/dist/components/Radio/Radio.stories.d.ts +1 -0
- package/dist/components/Section/Sections.stories.d.ts +1 -0
- package/dist/components/Select/SelectCreatableOption.d.ts +1 -0
- package/dist/components/Select/SelectEmpty.d.ts +1 -0
- package/dist/components/Select/SelectOption.d.ts +1 -0
- package/dist/components/SideNavigation/Separator/Separator.d.ts +1 -0
- package/dist/components/SideNavigation/SideNavigation.stories.d.ts +1 -0
- package/dist/components/Steps/ProgressSteps/ProgressSteps.d.ts +1 -0
- package/dist/components/Table/Table.d.ts +1 -0
- package/dist/components/Table/Table.stories.d.ts +1 -0
- package/dist/components/Table/TableSortHandle.d.ts +1 -0
- package/dist/components/TablePagination/RowsPerPage.d.ts +1 -0
- package/dist/components/TablePagination/TablePagination.d.ts +1 -0
- package/dist/components/TablePagination/TablePaginationActions.d.ts +2 -1
- package/dist/components/Tabs/Tabs.stories.d.ts +1 -0
- package/dist/components/TextField/TextField.stories.d.ts +1 -0
- package/dist/components/Textarea/Textarea.stories.d.ts +1 -0
- package/dist/components/Toast/Toast.stories.d.ts +1 -0
- package/dist/components/ToggleGroup/Toggle.d.ts +1 -0
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -0
- package/dist/components/TopNavigation/OpenSideNavButton/OpenSideNavButton.d.ts +1 -0
- package/dist/components/TopNavigation/TopNavigation.stories.d.ts +1 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/utils/toolset/highlightMatch.d.ts +1 -0
- package/package.json +11 -6
- package/src/components/Dropdown/Dropdown.stories.tsx +1 -2
- package/src/components/IconFactory/IconFactory.tsx +2 -2
- package/src/components/Select/Select.constants.ts +2 -2
- package/src/components/Steps/useSteps.ts +1 -1
- package/src/components/Tag/Tag.tsx +1 -1
- package/src/hooks/useSelectable/SelectableStrategy.ts +1 -1
|
@@ -17,7 +17,7 @@ export interface BannerActionProps extends BannerProps {
|
|
|
17
17
|
onSecondaryActionButtonClick?: () => void;
|
|
18
18
|
}
|
|
19
19
|
export declare const CloseButton: import("styled-components").StyledComponent<typeof DefaultCloseButton, any, {}, never>;
|
|
20
|
-
export declare const Icon: import("styled-components").StyledComponent<
|
|
20
|
+
export declare const Icon: import("styled-components").StyledComponent<React.ComponentType<import("../IconFactory").IconProps<import("../IconFactory").IconMapping>>, any, {}, never>;
|
|
21
21
|
declare function Banner({ scale, variant, icon, title, description, onClose, dismissible, ...others }: BannerProps): React.JSX.Element | null;
|
|
22
22
|
export declare function BannerLarge({ scale, variant, icon, title, description, onClose, dismissible, ...others }: BannerProps): React.JSX.Element | null;
|
|
23
23
|
export declare function BannerAction({ scale, variant, icon, title, action, secondaryAction, onActionButtonClick, onSecondaryActionButtonClick, ...others }: BannerActionProps): JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import type { CalendarDate } from './Date.helper';
|
|
2
3
|
import type { CalendarProps } from './Calendar.types';
|
|
3
4
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import type { Story } from '@storybook/react';
|
|
2
3
|
import type { DatePickerProps } from './DatePicker.types';
|
|
3
4
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import type { Story } from '@storybook/react';
|
|
2
3
|
import type { DateRangePickerProps } from './DatePicker.types';
|
|
3
4
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
|
@@ -31,8 +31,6 @@ declare function useDatePicker(props: DatePickerProps): {
|
|
|
31
31
|
autoComplete?: string | undefined;
|
|
32
32
|
capture?: boolean | "user" | "environment" | undefined;
|
|
33
33
|
checked?: boolean | undefined;
|
|
34
|
-
crossOrigin?: "" | "anonymous" | "use-credentials" | undefined;
|
|
35
|
-
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
36
34
|
form?: string | undefined;
|
|
37
35
|
formAction?: string | undefined;
|
|
38
36
|
formEncType?: string | undefined;
|
|
@@ -61,11 +59,13 @@ declare function useDatePicker(props: DatePickerProps): {
|
|
|
61
59
|
suppressContentEditableWarning?: boolean | undefined;
|
|
62
60
|
suppressHydrationWarning?: boolean | undefined;
|
|
63
61
|
accessKey?: string | undefined;
|
|
62
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {}) | undefined;
|
|
64
63
|
autoFocus?: boolean | undefined;
|
|
65
64
|
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
66
65
|
contextMenu?: string | undefined;
|
|
67
66
|
dir?: string | undefined;
|
|
68
67
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
68
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
69
69
|
hidden?: boolean | undefined;
|
|
70
70
|
lang?: string | undefined;
|
|
71
71
|
nonce?: string | undefined;
|
|
@@ -88,7 +88,6 @@ declare function useDatePicker(props: DatePickerProps): {
|
|
|
88
88
|
rev?: string | undefined;
|
|
89
89
|
typeof?: string | undefined;
|
|
90
90
|
vocab?: string | undefined;
|
|
91
|
-
autoCapitalize?: string | undefined;
|
|
92
91
|
autoCorrect?: string | undefined;
|
|
93
92
|
autoSave?: string | undefined;
|
|
94
93
|
color?: string | undefined;
|
|
@@ -99,57 +98,57 @@ declare function useDatePicker(props: DatePickerProps): {
|
|
|
99
98
|
itemRef?: string | undefined;
|
|
100
99
|
results?: number | undefined;
|
|
101
100
|
security?: string | undefined;
|
|
102
|
-
unselectable?: "
|
|
101
|
+
unselectable?: "off" | "on" | undefined;
|
|
103
102
|
inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
104
103
|
is?: string | undefined;
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
104
|
+
"aria-activedescendant"?: string | undefined;
|
|
105
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
106
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
107
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
108
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
109
|
+
"aria-colcount"?: number | undefined;
|
|
110
|
+
"aria-colindex"?: number | undefined;
|
|
111
|
+
"aria-colspan"?: number | undefined;
|
|
112
|
+
"aria-controls"?: string | undefined;
|
|
113
|
+
"aria-current"?: boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
114
|
+
"aria-describedby"?: string | undefined;
|
|
115
|
+
"aria-details"?: string | undefined;
|
|
116
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
117
|
+
"aria-dropeffect"?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
118
|
+
"aria-errormessage"?: string | undefined;
|
|
119
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
120
|
+
"aria-flowto"?: string | undefined;
|
|
121
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
122
|
+
"aria-haspopup"?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
|
|
123
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
124
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
125
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
126
|
+
"aria-label"?: string | undefined;
|
|
127
|
+
"aria-labelledby"?: string | undefined;
|
|
128
|
+
"aria-level"?: number | undefined;
|
|
129
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
130
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
131
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
132
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
133
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
134
|
+
"aria-owns"?: string | undefined;
|
|
135
|
+
"aria-placeholder"?: string | undefined;
|
|
136
|
+
"aria-posinset"?: number | undefined;
|
|
137
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
138
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
139
|
+
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
140
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
141
|
+
"aria-roledescription"?: string | undefined;
|
|
142
|
+
"aria-rowcount"?: number | undefined;
|
|
143
|
+
"aria-rowindex"?: number | undefined;
|
|
144
|
+
"aria-rowspan"?: number | undefined;
|
|
145
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
146
|
+
"aria-setsize"?: number | undefined;
|
|
147
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
148
|
+
"aria-valuemax"?: number | undefined;
|
|
149
|
+
"aria-valuemin"?: number | undefined;
|
|
150
|
+
"aria-valuenow"?: number | undefined;
|
|
151
|
+
"aria-valuetext"?: string | undefined;
|
|
153
152
|
dangerouslySetInnerHTML?: {
|
|
154
153
|
__html: string | TrustedHTML;
|
|
155
154
|
} | undefined;
|
|
@@ -330,12 +329,14 @@ declare function useDatePicker(props: DatePickerProps): {
|
|
|
330
329
|
suppressContentEditableWarning?: boolean | undefined;
|
|
331
330
|
suppressHydrationWarning?: boolean | undefined;
|
|
332
331
|
accessKey?: string | undefined;
|
|
332
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {}) | undefined;
|
|
333
333
|
autoFocus?: boolean | undefined;
|
|
334
334
|
className?: string | undefined;
|
|
335
335
|
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
336
336
|
contextMenu?: string | undefined;
|
|
337
337
|
dir?: string | undefined;
|
|
338
338
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
339
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
339
340
|
hidden?: boolean | undefined;
|
|
340
341
|
id?: string | undefined;
|
|
341
342
|
lang?: string | undefined;
|
|
@@ -360,7 +361,6 @@ declare function useDatePicker(props: DatePickerProps): {
|
|
|
360
361
|
rev?: string | undefined;
|
|
361
362
|
typeof?: string | undefined;
|
|
362
363
|
vocab?: string | undefined;
|
|
363
|
-
autoCapitalize?: string | undefined;
|
|
364
364
|
autoCorrect?: string | undefined;
|
|
365
365
|
autoSave?: string | undefined;
|
|
366
366
|
color?: string | undefined;
|
|
@@ -371,57 +371,57 @@ declare function useDatePicker(props: DatePickerProps): {
|
|
|
371
371
|
itemRef?: string | undefined;
|
|
372
372
|
results?: number | undefined;
|
|
373
373
|
security?: string | undefined;
|
|
374
|
-
unselectable?: "
|
|
374
|
+
unselectable?: "off" | "on" | undefined;
|
|
375
375
|
inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
376
376
|
is?: string | undefined;
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
377
|
+
"aria-activedescendant"?: string | undefined;
|
|
378
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
379
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
380
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
381
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
382
|
+
"aria-colcount"?: number | undefined;
|
|
383
|
+
"aria-colindex"?: number | undefined;
|
|
384
|
+
"aria-colspan"?: number | undefined;
|
|
385
|
+
"aria-controls"?: string | undefined;
|
|
386
|
+
"aria-current"?: boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
387
|
+
"aria-describedby"?: string | undefined;
|
|
388
|
+
"aria-details"?: string | undefined;
|
|
389
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
390
|
+
"aria-dropeffect"?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
391
|
+
"aria-errormessage"?: string | undefined;
|
|
392
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
393
|
+
"aria-flowto"?: string | undefined;
|
|
394
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
395
|
+
"aria-haspopup"?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
|
|
396
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
397
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
398
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
399
|
+
"aria-label"?: string | undefined;
|
|
400
|
+
"aria-labelledby"?: string | undefined;
|
|
401
|
+
"aria-level"?: number | undefined;
|
|
402
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
403
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
404
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
405
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
406
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
407
|
+
"aria-owns"?: string | undefined;
|
|
408
|
+
"aria-placeholder"?: string | undefined;
|
|
409
|
+
"aria-posinset"?: number | undefined;
|
|
410
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
411
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
412
|
+
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
413
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
414
|
+
"aria-roledescription"?: string | undefined;
|
|
415
|
+
"aria-rowcount"?: number | undefined;
|
|
416
|
+
"aria-rowindex"?: number | undefined;
|
|
417
|
+
"aria-rowspan"?: number | undefined;
|
|
418
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
419
|
+
"aria-setsize"?: number | undefined;
|
|
420
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
421
|
+
"aria-valuemax"?: number | undefined;
|
|
422
|
+
"aria-valuemin"?: number | undefined;
|
|
423
|
+
"aria-valuenow"?: number | undefined;
|
|
424
|
+
"aria-valuetext"?: string | undefined;
|
|
425
425
|
children?: import("react").ReactNode;
|
|
426
426
|
dangerouslySetInnerHTML?: {
|
|
427
427
|
__html: string | TrustedHTML;
|