@sprinklrjs/spaceweb 14.16.1 → 14.16.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/_hds_internal_deprecations.d.ts +863 -0
- package/_hds_internal_deprecations.js +345 -0
- package/asyncSelect/hooks/useAsyncSelect.d.ts +3 -3
- package/asyncSelect/hooks/useGroupedAsyncSelect.d.ts +3 -3
- package/avatar/avatar.js +3 -3
- package/avatar/types.d.ts +1 -1
- package/banner/types.d.ts +1 -1
- package/baseui/datepicker/day.js +21 -8
- package/baseui/select/dropdown.d.ts +1 -1
- package/baseui/select/select-component.d.ts +1 -1
- package/button-group/ButtonGroup.d.ts +2 -2
- package/button-group/StatefulButtonGroup.d.ts +2 -2
- package/button-group/styled-components.d.ts +2 -2
- package/button-group/types.d.ts +6 -4
- package/checkbox/types.d.ts +4 -4
- package/date-input/DateInput.js +3 -0
- package/date-picker/types.d.ts +2 -6
- package/esm/_hds_internal_deprecations.d.ts +863 -0
- package/esm/_hds_internal_deprecations.js +342 -0
- package/esm/asyncSelect/hooks/useAsyncSelect.d.ts +3 -3
- package/esm/asyncSelect/hooks/useGroupedAsyncSelect.d.ts +3 -3
- package/esm/avatar/avatar.js +3 -3
- package/esm/avatar/types.d.ts +1 -1
- package/esm/banner/types.d.ts +1 -1
- package/esm/baseui/datepicker/day.js +21 -8
- package/esm/baseui/select/dropdown.d.ts +1 -1
- package/esm/baseui/select/select-component.d.ts +1 -1
- package/esm/button-group/ButtonGroup.d.ts +2 -2
- package/esm/button-group/StatefulButtonGroup.d.ts +2 -2
- package/esm/button-group/styled-components.d.ts +2 -2
- package/esm/button-group/types.d.ts +6 -4
- package/esm/checkbox/types.d.ts +4 -4
- package/esm/date-input/DateInput.js +3 -0
- package/esm/date-picker/types.d.ts +2 -6
- package/esm/form-control/types.d.ts +1 -1
- package/esm/image/types.d.ts +1 -1
- package/esm/input/number/base-input.d.ts +1 -1
- package/esm/input/types.d.ts +6 -13
- package/esm/menu/StatefulSubMenu.d.ts +1 -1
- package/esm/menu/SubMenu.d.ts +1 -1
- package/esm/menu/menu-item.d.ts +1 -1
- package/esm/menu/types.d.ts +1 -3
- package/esm/modal/types.d.ts +1 -6
- package/esm/popover/popover.d.ts +1 -1
- package/esm/progressSteps/types.d.ts +2 -0
- package/esm/radio/types.d.ts +8 -8
- package/esm/search/types.d.ts +6 -6
- package/esm/select/base-select.d.ts +1 -1
- package/esm/select/default-props.d.ts +1 -1
- package/esm/select/nested-select.d.ts +2 -2
- package/esm/select/select.d.ts +1 -1
- package/esm/select/selectMenuAdapter/CollapsibleSelectMenu.d.ts +1 -1
- package/esm/select/selectMenuAdapter/SelectMenuItem.d.ts +1 -1
- package/esm/select/stateful-select.d.ts +1 -1
- package/esm/select/types.d.ts +1 -1
- package/esm/slider/types.d.ts +2 -2
- package/esm/stack/stack.d.ts +5 -5
- package/esm/tabs/hooks/useScrollableTabs.d.ts +1 -1
- package/esm/tabs/types.d.ts +8 -9
- package/esm/tag/types.d.ts +7 -10
- package/esm/test-utils/keyboard/focusLock.d.ts +19 -0
- package/esm/test-utils/keyboard/focusLock.js +31 -0
- package/esm/test-utils/keyboard/index.d.ts +15 -0
- package/esm/test-utils/keyboard/index.js +15 -0
- package/esm/test-utils/keyboard/patterns.d.ts +63 -0
- package/esm/test-utils/keyboard/patterns.js +178 -0
- package/esm/test-utils/keyboard/press.d.ts +12 -0
- package/esm/test-utils/keyboard/press.js +22 -0
- package/esm/textarea/types.d.ts +10 -5
- package/esm/tooltip/disabled-tooltip-container.d.ts +1 -1
- package/esm/tooltip/stateful-tooltip-container.d.ts +1 -1
- package/esm/tooltip/stateful-tooltip.d.ts +1 -1
- package/esm/tooltip/types.d.ts +9 -21
- package/esm/types.d.ts +4 -1
- package/esm/typography/types.d.ts +63 -4
- package/form-control/types.d.ts +1 -1
- package/image/types.d.ts +1 -1
- package/input/number/base-input.d.ts +1 -1
- package/input/types.d.ts +6 -13
- package/menu/StatefulSubMenu.d.ts +1 -1
- package/menu/SubMenu.d.ts +1 -1
- package/menu/menu-item.d.ts +1 -1
- package/menu/types.d.ts +1 -3
- package/modal/types.d.ts +1 -6
- package/package.json +12 -2
- package/popover/popover.d.ts +1 -1
- package/progressSteps/types.d.ts +2 -0
- package/radio/types.d.ts +8 -8
- package/search/types.d.ts +6 -6
- package/select/base-select.d.ts +1 -1
- package/select/default-props.d.ts +1 -1
- package/select/nested-select.d.ts +2 -2
- package/select/select.d.ts +1 -1
- package/select/selectMenuAdapter/CollapsibleSelectMenu.d.ts +1 -1
- package/select/selectMenuAdapter/SelectMenuItem.d.ts +1 -1
- package/select/stateful-select.d.ts +1 -1
- package/select/types.d.ts +1 -1
- package/slider/types.d.ts +2 -2
- package/stack/stack.d.ts +5 -5
- package/tabs/hooks/useScrollableTabs.d.ts +1 -1
- package/tabs/types.d.ts +8 -9
- package/tag/types.d.ts +7 -10
- package/test-utils/keyboard/focusLock.d.ts +19 -0
- package/test-utils/keyboard/focusLock.js +35 -0
- package/test-utils/keyboard/index.d.ts +15 -0
- package/test-utils/keyboard/index.js +27 -0
- package/test-utils/keyboard/patterns.d.ts +63 -0
- package/test-utils/keyboard/patterns.js +185 -0
- package/test-utils/keyboard/press.d.ts +12 -0
- package/test-utils/keyboard/press.js +30 -0
- package/textarea/types.d.ts +10 -5
- package/tooltip/disabled-tooltip-container.d.ts +1 -1
- package/tooltip/stateful-tooltip-container.d.ts +1 -1
- package/tooltip/stateful-tooltip.d.ts +1 -1
- package/tooltip/types.d.ts +9 -21
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types.d.ts +4 -1
- package/typography/types.d.ts +63 -4
package/types.d.ts
CHANGED
|
@@ -63,10 +63,12 @@ export type BrowserFeaturesContext = {
|
|
|
63
63
|
* Variant Options
|
|
64
64
|
*/
|
|
65
65
|
export type Variant = 'primary' | 'secondary' | 'tertiary' | 'minimal';
|
|
66
|
+
/** @deprecated Use 'small', 'medium' or 'large' instead. */
|
|
67
|
+
type DeprecatedSize = 'xxxxs' | 'xxxs' | 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
66
68
|
/**
|
|
67
69
|
* Size Options
|
|
68
70
|
*/
|
|
69
|
-
export type Size =
|
|
71
|
+
export type Size = DeprecatedSize | 'small' | 'medium' | 'large' | 'x-large';
|
|
70
72
|
/**
|
|
71
73
|
* Intent Options
|
|
72
74
|
*/
|
|
@@ -112,3 +114,4 @@ export type Action = {
|
|
|
112
114
|
onClick: () => void;
|
|
113
115
|
startEnhancer?: ReactNode;
|
|
114
116
|
};
|
|
117
|
+
export {};
|
package/typography/types.d.ts
CHANGED
|
@@ -5,13 +5,72 @@ import type { TruncateWithTooltipProps } from '../truncateWithTooltip';
|
|
|
5
5
|
type TypographyBodyHeaderVariants = 'display' | 'heading-1' | 'heading-2' | 'heading-3' | 'heading-4' | 'heading-5' | 'heading-6' | 'heading-7' | 'body-lg' | 'body-md' | 'body-sm' | 'body-xs';
|
|
6
6
|
/**
|
|
7
7
|
* @deprecated Prefer TypographyBodyHeaderVariants
|
|
8
|
+
* Deprecated variants are mapped to a variant of the same family. Line height and weight are ignored.
|
|
8
9
|
*/
|
|
9
|
-
type DeprecatedTypographyVariant =
|
|
10
|
+
type DeprecatedTypographyVariant =
|
|
11
|
+
/** @deprecated No matching variant exists. Use suitable heading variant. */
|
|
12
|
+
'h1'
|
|
13
|
+
/** @deprecated Use 'heading-4' instead. */
|
|
14
|
+
| 'h2'
|
|
15
|
+
/** @deprecated Use 'heading-5' instead. */
|
|
16
|
+
| 'h3'
|
|
17
|
+
/** @deprecated Use 'heading-7' instead. */
|
|
18
|
+
| 'h4'
|
|
19
|
+
/** @deprecated Use 'heading-7' instead. */
|
|
20
|
+
| 'h5'
|
|
21
|
+
/** @deprecated No matching variant exists. Use suitable heading variant. */
|
|
22
|
+
| 'h6'
|
|
23
|
+
/** @deprecated No matching variant exists. Use suitable heading variant. */
|
|
24
|
+
| 'h7'
|
|
25
|
+
/** @deprecated Use 'body-sm' instead. */
|
|
26
|
+
| 'bl1'
|
|
27
|
+
/** @deprecated No matching variant exists. Use suitable body variant. */
|
|
28
|
+
| 'bl2'
|
|
29
|
+
/** @deprecated Use 'body-xs' instead. */
|
|
30
|
+
| 'bl3'
|
|
31
|
+
/** @deprecated Use 'body-sm' instead. */
|
|
32
|
+
| 'bs1'
|
|
33
|
+
/** @deprecated No matching variant exists. Use suitable body variant. */
|
|
34
|
+
| 'bs2'
|
|
35
|
+
/** @deprecated Use 'body-xs' instead. */
|
|
36
|
+
| 'bs3'
|
|
37
|
+
/** @deprecated No matching variant exists. Use suitable body variant. */
|
|
38
|
+
| 'l1'
|
|
39
|
+
/** @deprecated Use 'body-xs' instead. */
|
|
40
|
+
| 'l2'
|
|
41
|
+
/** @deprecated No matching variant exists. Use suitable body variant. */
|
|
42
|
+
| 'l3'
|
|
43
|
+
/** @deprecated No matching variant exists. Use suitable body variant. */
|
|
44
|
+
| 'l4'
|
|
45
|
+
/** @deprecated No matching variant exists. Use suitable body variant. */
|
|
46
|
+
| 'body-8'
|
|
47
|
+
/** @deprecated No matching variant exists. Use suitable body variant. */
|
|
48
|
+
| 'body-10'
|
|
49
|
+
/** @deprecated Use 'body-xs' instead. */
|
|
50
|
+
| 'body-12'
|
|
51
|
+
/** @deprecated No matching variant exists. Use suitable body variant. */
|
|
52
|
+
| 'body-13'
|
|
53
|
+
/** @deprecated Use 'body-sm' instead. */
|
|
54
|
+
| 'body-14'
|
|
55
|
+
/** @deprecated Use 'body-md' instead. */
|
|
56
|
+
| 'body-16'
|
|
57
|
+
/** @deprecated Use 'heading-6' instead. */
|
|
58
|
+
| 'display-18'
|
|
59
|
+
/** @deprecated Use 'heading-5' instead. */
|
|
60
|
+
| 'display-20'
|
|
61
|
+
/** @deprecated Use 'heading-4' instead. */
|
|
62
|
+
| 'display-24'
|
|
63
|
+
/** @deprecated Use 'heading-3' instead. */
|
|
64
|
+
| 'display-28'
|
|
65
|
+
/** @deprecated Use 'heading-2' instead. */
|
|
66
|
+
| 'display-32'
|
|
67
|
+
/** @deprecated Use 'heading-1' instead. */
|
|
68
|
+
| 'display-40'
|
|
69
|
+
/** @deprecated No matching variant exists. Use suitable heading variant. */
|
|
70
|
+
| 'display-42';
|
|
10
71
|
export type TypographyVariant = TypographyBodyHeaderVariants | DeprecatedTypographyVariant;
|
|
11
72
|
export type FontWeight = 'regular' | 'semibold' | 'bold'
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated Prefer regular or semibold
|
|
14
|
-
*/
|
|
73
|
+
/** @deprecated Use 'regular' or 'semibold' instead. */
|
|
15
74
|
| 'medium';
|
|
16
75
|
export type Intent = 'default' | 'ai';
|
|
17
76
|
export type TypographyProps = PropsWithChildren<SpacewebComponentProps> & {
|