@dss-kit/ui-kit 0.1.8 → 0.1.9
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/components/builders/Box/Box.d.ts +72 -74
- package/dist/components/builders/Box/index.d.ts +2 -2
- package/dist/components/builders/Box/type.d.ts +38 -53
- package/dist/components/builders/Loader/Loader.d.ts +3 -3
- package/dist/components/builders/Loader/index.d.ts +2 -2
- package/dist/components/builders/Modal/Modal.d.ts +30 -32
- package/dist/components/builders/Modal/Modal.stories.d.ts +3 -3
- package/dist/components/builders/Modal/ModalFooter/ModalFooter.d.ts +3 -5
- package/dist/components/builders/Modal/ModalFooter/index.d.ts +2 -2
- package/dist/components/builders/Modal/ModalHeader/ModalHeader.d.ts +12 -18
- package/dist/components/builders/Modal/ModalHeader/index.d.ts +2 -2
- package/dist/components/builders/Modal/ModalMain/ModalMain.d.ts +28 -30
- package/dist/components/builders/Modal/ModalMain/index.d.ts +3 -3
- package/dist/components/builders/Modal/index.d.ts +9 -12
- package/dist/components/builders/Ripple/Ripple.d.ts +16 -13
- package/dist/components/builders/Ripple/index.d.ts +2 -2
- package/dist/components/builders/Text/Text.d.ts +329 -476
- package/dist/components/builders/Text/Text.stories.d.ts +3 -3
- package/dist/components/builders/Text/index.d.ts +2 -2
- package/dist/components/builders/Text/utils/systemToClass.d.ts +23 -23
- package/dist/components/builders/index.d.ts +5 -5
- package/dist/components/controls/Button/Button.d.ts +76 -76
- package/dist/components/controls/Button/Button.stories.d.ts +3 -3
- package/dist/components/controls/Button/index.d.ts +3 -3
- package/dist/components/controls/Button/styles.d.ts +4 -9
- package/dist/components/controls/Button/types.d.ts +3 -14
- package/dist/components/controls/Checkbox/Checkbox.d.ts +28 -29
- package/dist/components/controls/Checkbox/Checkbox.stories.d.ts +3 -3
- package/dist/components/controls/Checkbox/index.d.ts +2 -2
- package/dist/components/controls/IconButton/IconButton.d.ts +3 -11
- package/dist/components/controls/IconButton/IconButton.stories.d.ts +3 -3
- package/dist/components/controls/IconButton/IconButton.types.d.ts +10 -33
- package/dist/components/controls/IconButton/index.d.ts +3 -3
- package/dist/components/controls/Input/Input.d.ts +38 -47
- package/dist/components/controls/Input/Input.stories.d.ts +3 -3
- package/dist/components/controls/Input/index.d.ts +2 -2
- package/dist/components/controls/Select/Select.d.ts +23 -44
- package/dist/components/controls/Select/Select.d.ts.map +1 -1
- package/dist/components/controls/Select/Select.stories.d.ts +5 -5
- package/dist/components/controls/Select/index.d.ts +2 -2
- package/dist/components/controls/Switch/Switch.d.ts +83 -89
- package/dist/components/controls/Switch/Switch.stories.d.ts +3 -3
- package/dist/components/controls/Switch/index.d.ts +3 -3
- package/dist/components/controls/index.d.ts +7 -7
- package/dist/components/index.d.ts +4 -4
- package/dist/components/shared/Avatar/Avatar.d.ts +3 -10
- package/dist/components/shared/Avatar/Avatar.stories.d.ts +6 -6
- package/dist/components/shared/Avatar/Avatar.types.d.ts +8 -21
- package/dist/components/shared/Avatar/index.d.ts +3 -3
- package/dist/components/shared/Hint/Hint.d.ts +23 -34
- package/dist/components/shared/Hint/Hint.stories.d.ts +3 -3
- package/dist/components/shared/Hint/index.d.ts +2 -2
- package/dist/components/shared/Portal/Portal.d.ts +2 -2
- package/dist/components/shared/Portal/index.d.ts +2 -2
- package/dist/components/shared/Tag/Tag.d.ts +13 -20
- package/dist/components/shared/Tag/Tag.stories.d.ts +3 -3
- package/dist/components/shared/Tag/index.d.ts +3 -3
- package/dist/components/shared/index.d.ts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/providers/ThemeProviderScoped/ThemeProviderScoped.d.ts +3 -7
- package/dist/providers/ThemeProviderScoped/ThemeProviderScoped.types.d.ts +4 -4
- package/dist/providers/ThemeProviderScoped/index.d.ts +3 -3
- package/dist/providers/index.d.ts +2 -2
- package/dist/root.css +1 -886
- package/dist/types/children.types.d.ts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/tokens.types.d.ts +9 -74
- package/dist/ui-kit.cjs.js +4 -9322
- package/dist/ui-kit.cjs.js.map +1 -1
- package/dist/ui-kit.es.js +3957 -6854
- package/dist/ui-kit.es.js.map +1 -1
- package/dist/utils/hooks/index.d.ts +3 -3
- package/dist/utils/hooks/useControlled.d.ts +2 -5
- package/dist/utils/hooks/useDropdownPosition.d.ts +5 -8
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/styles/getFontWeightClass/getFontWeightClass.d.ts +3 -7
- package/dist/utils/styles/getFontWeightClass/index.d.ts +2 -2
- package/dist/utils/styles/getSizeClass/getSizeClass.d.ts +3 -7
- package/dist/utils/styles/getSizeClass/index.d.ts +2 -2
- package/dist/utils/styles/getStyleClass/getStyleClass.d.ts +2 -11
- package/dist/utils/styles/getStyleClass/index.d.ts +2 -2
- package/dist/utils/styles/index.d.ts +3 -3
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type * from
|
|
2
|
-
//# sourceMappingURL=index.d.ts.map
|
|
1
|
+
export type * from './children.types.ts';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -10,81 +10,16 @@ export type InverseType = "inverse";
|
|
|
10
10
|
export type CustomType = "custom";
|
|
11
11
|
export type Size = "xs" | "sm" | "md" | "lg" | "xl";
|
|
12
12
|
export type FontWeight = "regular" | "medium" | "semibold" | "bold";
|
|
13
|
-
export type CornerRadius =
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
| "md"
|
|
18
|
-
| "lg"
|
|
19
|
-
| "xl"
|
|
20
|
-
| "2xl"
|
|
21
|
-
| "3xl"
|
|
22
|
-
| "4xl"
|
|
23
|
-
| "5xl"
|
|
24
|
-
| "6xl"
|
|
25
|
-
| "full-round";
|
|
26
|
-
export type IconColor =
|
|
27
|
-
| PrimaryType
|
|
28
|
-
| SecondaryType
|
|
29
|
-
| TertiaryType
|
|
30
|
-
| PositiveType
|
|
31
|
-
| NegativeType
|
|
32
|
-
| WarningType
|
|
33
|
-
| AccentType
|
|
34
|
-
| InverseType
|
|
35
|
-
| CustomType;
|
|
36
|
-
export type TextColor =
|
|
37
|
-
| PrimaryType
|
|
38
|
-
| SecondaryType
|
|
39
|
-
| TertiaryType
|
|
40
|
-
| PositiveType
|
|
41
|
-
| NegativeType
|
|
42
|
-
| WarningType
|
|
43
|
-
| AccentType
|
|
44
|
-
| InverseType
|
|
45
|
-
| CustomType;
|
|
46
|
-
export type BorderColor =
|
|
47
|
-
| AccentType
|
|
48
|
-
| NegativeType
|
|
49
|
-
| PositiveType
|
|
50
|
-
| WarningType
|
|
51
|
-
| NeutralType
|
|
52
|
-
| CustomType;
|
|
13
|
+
export type CornerRadius = "zero" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full-round";
|
|
14
|
+
export type IconColor = PrimaryType | SecondaryType | TertiaryType | PositiveType | NegativeType | WarningType | AccentType | InverseType | CustomType;
|
|
15
|
+
export type TextColor = PrimaryType | SecondaryType | TertiaryType | PositiveType | NegativeType | WarningType | AccentType | InverseType | CustomType;
|
|
16
|
+
export type BorderColor = AccentType | NegativeType | PositiveType | WarningType | NeutralType | CustomType;
|
|
53
17
|
export type BorderVariant = PrimaryType | SecondaryType;
|
|
54
|
-
export type FillColor =
|
|
55
|
-
| AccentType
|
|
56
|
-
| PositiveType
|
|
57
|
-
| NegativeType
|
|
58
|
-
| WarningType
|
|
59
|
-
| NeutralType
|
|
60
|
-
| CustomType;
|
|
18
|
+
export type FillColor = AccentType | PositiveType | NegativeType | WarningType | NeutralType | CustomType;
|
|
61
19
|
export type FillVariant = PrimaryType | SecondaryType | "tint" | "tint-low";
|
|
62
|
-
export type BackgroundColor =
|
|
63
|
-
|
|
64
|
-
| SecondaryType
|
|
65
|
-
| TertiaryType
|
|
66
|
-
| "elevation-primary"
|
|
67
|
-
| "elevation-secondary"
|
|
68
|
-
| "elevation-tertiary"
|
|
69
|
-
| CustomType;
|
|
70
|
-
export type StatusColor =
|
|
71
|
-
| AccentType
|
|
72
|
-
| NegativeType
|
|
73
|
-
| PositiveType
|
|
74
|
-
| WarningType
|
|
75
|
-
| NeutralType
|
|
76
|
-
| CustomType;
|
|
20
|
+
export type BackgroundColor = PrimaryType | SecondaryType | TertiaryType | "elevation-primary" | "elevation-secondary" | "elevation-tertiary" | CustomType;
|
|
21
|
+
export type StatusColor = AccentType | NegativeType | PositiveType | WarningType | NeutralType | CustomType;
|
|
77
22
|
export type StatusVariant = "default" | "tint" | "tint-low";
|
|
78
|
-
export type ColorType =
|
|
79
|
-
| PrimaryType
|
|
80
|
-
| SecondaryType
|
|
81
|
-
| TertiaryType
|
|
82
|
-
| PositiveType
|
|
83
|
-
| NegativeType
|
|
84
|
-
| WarningType
|
|
85
|
-
| NeutralType
|
|
86
|
-
| AccentType
|
|
87
|
-
| InverseType
|
|
88
|
-
| CustomType;
|
|
23
|
+
export type ColorType = PrimaryType | SecondaryType | TertiaryType | PositiveType | NegativeType | WarningType | NeutralType | AccentType | InverseType | CustomType;
|
|
89
24
|
export type HoverableColor<T extends string> = T | `${T}-hover`;
|
|
90
|
-
//# sourceMappingURL=tokens.types.d.ts.map
|
|
25
|
+
//# sourceMappingURL=tokens.types.d.ts.map
|