@itcase/ui 1.4.1 → 1.4.5
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/{Badge-CGHosmYx.js → Badge-C68XnlcL.js} +3 -4
- package/dist/{Badge-BX4N91_C.js → Badge-C6SNRExV.js} +3 -4
- package/dist/{Button-BtAUGGPc.js → Button-Bsrw4D7p.js} +3 -3
- package/dist/{Button-HKkjJ38v.js → Button-WZZpsxTk.js} +3 -3
- package/dist/{Label-XTFwl1aq.js → Label-DF2a2Mlx.js} +2 -2
- package/dist/{Label-Dpeq55TV.js → Label-I9WNpCXa.js} +2 -2
- package/dist/{Loader-CsPvc-9g.js → Loader-D4_r7LML.js} +6 -6
- package/dist/{Loader-CBEbIRnd.js → Loader-DpYaDhe9.js} +6 -6
- package/dist/cjs/components/Avatar.js +2 -2
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Button.js +2 -2
- package/dist/cjs/components/Cell.js +1 -1
- package/dist/cjs/components/Checkbox.js +12 -10
- package/dist/cjs/components/Checkmark.js +36 -9
- package/dist/cjs/components/Chips.js +3 -3
- package/dist/cjs/components/Choice.js +19 -11
- package/dist/cjs/components/CookiesWarning.js +2 -2
- package/dist/cjs/components/DatePicker.js +3 -3
- package/dist/cjs/components/Label.js +1 -1
- package/dist/cjs/components/Loader.js +1 -1
- package/dist/cjs/components/MenuItem.js +39 -11
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/Response.js +89 -104
- package/dist/cjs/components/Select.js +1 -1
- package/dist/cjs/components/Tab.js +1 -1
- package/dist/cjs/components/Tile.js +1 -1
- package/dist/cjs/context/Notifications.js +2 -2
- package/dist/components/Avatar.js +2 -2
- package/dist/components/Badge.js +1 -1
- package/dist/components/Button.js +2 -2
- package/dist/components/Cell.js +1 -1
- package/dist/components/Checkbox.js +12 -10
- package/dist/components/Checkmark.js +36 -9
- package/dist/components/Chips.js +3 -3
- package/dist/components/Choice.js +19 -11
- package/dist/components/CookiesWarning.js +2 -2
- package/dist/components/DatePicker.js +3 -3
- package/dist/components/Label.js +1 -1
- package/dist/components/Loader.js +1 -1
- package/dist/components/MenuItem.js +40 -8
- package/dist/components/Modal.js +1 -1
- package/dist/components/Response.js +89 -104
- package/dist/components/Select.js +1 -1
- package/dist/components/Tab.js +1 -1
- package/dist/components/Tile.js +1 -1
- package/dist/context/Notifications.js +2 -2
- package/dist/css/components/Avatar/Avatar.css +2 -2
- package/dist/css/components/Badge/Badge.css +50 -0
- package/dist/css/components/Button/Button.css +24 -0
- package/dist/css/components/Checkbox/Checkbox.css +25 -2
- package/dist/css/components/Checkmark/Checkmark.css +6 -8
- package/dist/css/components/Label/Label.css +11 -13
- package/dist/css/components/Loader/Loader.css +40 -3
- package/dist/css/components/Response/Response.css +5 -12
- package/dist/css/components/Video/Video.css +0 -14
- package/dist/css/styles/svg-color/svg_path_fill.css +1 -2
- package/dist/stories/Cell.mdx +1 -17
- package/dist/types/components/Checkmark/appearance/checkmarkAccent.d.ts +9 -0
- package/dist/types/components/Checkmark/appearance/checkmarkDisabled.d.ts +9 -0
- package/dist/types/components/Checkmark/appearance/checkmarkStyle.d.ts +16 -0
- package/dist/types/components/Checkmark/appearance/checkmarkSurface.d.ts +11 -0
- package/dist/types/components/Flex/stories/args.d.ts +8 -8
- package/dist/types/components/Grid/stories/args.d.ts +5 -5
- package/dist/types/components/Group/stories/args.d.ts +5 -5
- package/dist/types/components/Loader/appearance/loaderAccent.d.ts +1 -1
- package/dist/types/components/Loader/appearance/loaderPrimary.d.ts +1 -1
- package/dist/types/components/Loader/appearance/loaderSecondary.d.ts +1 -1
- package/dist/types/components/Response/Response.interface.d.ts +12 -10
- package/dist/types/components/Tab/stories/args.d.ts +13 -13
- package/dist/types/context/Notifications.d.ts +4 -3
- package/dist/types/types/componentProps/align.d.ts +1 -1
- package/dist/types/types/componentProps/alignDirection.d.ts +1 -1
- package/dist/types/types/componentProps/alignment.d.ts +1 -1
- package/dist/types/types/componentProps/appearanceKeys.d.ts +1 -1
- package/dist/types/types/componentProps/borderColor.d.ts +1 -1
- package/dist/types/types/componentProps/borderColorHover.d.ts +1 -1
- package/dist/types/types/componentProps/borderType.d.ts +1 -1
- package/dist/types/types/componentProps/borderWidth.d.ts +1 -1
- package/dist/types/types/componentProps/elevation.d.ts +1 -1
- package/dist/types/types/componentProps/fill.d.ts +1 -1
- package/dist/types/types/componentProps/fillGradient.d.ts +1 -1
- package/dist/types/types/componentProps/fillHover.d.ts +1 -1
- package/dist/types/types/componentProps/fillType.d.ts +1 -1
- package/dist/types/types/componentProps/flexAlign.d.ts +1 -1
- package/dist/types/types/componentProps/flexGrow.d.ts +1 -1
- package/dist/types/types/componentProps/flexJustifyContent.d.ts +1 -1
- package/dist/types/types/componentProps/flexWrap.d.ts +1 -1
- package/dist/types/types/componentProps/gridAlign.d.ts +1 -1
- package/dist/types/types/componentProps/gridAlignSelf.d.ts +1 -1
- package/dist/types/types/componentProps/gridJustifyItems.d.ts +1 -1
- package/dist/types/types/componentProps/gridJustifySelf.d.ts +1 -1
- package/dist/types/types/componentProps/height.d.ts +1 -1
- package/dist/types/types/componentProps/horizontalContentAlign.d.ts +1 -1
- package/dist/types/types/componentProps/horizontalResizeMode.d.ts +1 -1
- package/dist/types/types/componentProps/iconFillSize.d.ts +1 -1
- package/dist/types/types/componentProps/iconSize.d.ts +1 -1
- package/dist/types/types/componentProps/itemColor.d.ts +1 -1
- package/dist/types/types/componentProps/justifyContent.d.ts +1 -1
- package/dist/types/types/componentProps/overflow.d.ts +1 -1
- package/dist/types/types/componentProps/position.d.ts +1 -1
- package/dist/types/types/componentProps/resizeMode.d.ts +1 -1
- package/dist/types/types/componentProps/shape.d.ts +1 -1
- package/dist/types/types/componentProps/size.d.ts +1 -1
- package/dist/types/types/componentProps/sizeOption.d.ts +1 -1
- package/dist/types/types/componentProps/sizePX.d.ts +1 -1
- package/dist/types/types/componentProps/stacking.d.ts +1 -1
- package/dist/types/types/componentProps/state.d.ts +1 -1
- package/dist/types/types/componentProps/svgFill.d.ts +1 -1
- package/dist/types/types/componentProps/textAlign.d.ts +1 -1
- package/dist/types/types/componentProps/textGradient.d.ts +1 -1
- package/dist/types/types/componentProps/textSize.d.ts +1 -1
- package/dist/types/types/componentProps/textStyle.d.ts +1 -1
- package/dist/types/types/componentProps/textTag.d.ts +1 -1
- package/dist/types/types/componentProps/textWeight.d.ts +1 -1
- package/dist/types/types/componentProps/textWrap.d.ts +1 -1
- package/dist/types/types/componentProps/titleSize.d.ts +4 -2
- package/dist/types/types/componentProps/type.d.ts +1 -1
- package/dist/types/types/componentProps/underline.d.ts +1 -1
- package/dist/types/types/componentProps/verticalContentAlign.d.ts +1 -1
- package/dist/types/types/componentProps/verticalResizeMode.d.ts +1 -1
- package/dist/types/types/componentProps/width.d.ts +1 -1
- package/dist/types/types/componentProps/wrap.d.ts +1 -1
- package/dist/types/types/index.d.ts +0 -2
- package/package.json +12 -12
- package/dist/MenuItem-Cjlnmfwh.js +0 -40
- package/dist/MenuItem-PJkuGghn.js +0 -44
- package/dist/cjs/components/Menu.js +0 -45
- package/dist/components/Menu.js +0 -41
- package/dist/css/components/Menu/Menu.css +0 -65
- package/dist/stories/Checkbox.mdx +0 -23
- package/dist/stories/Checkmark.mdx +0 -15
- package/dist/stories/Chips.mdx +0 -31
- package/dist/stories/DevMode.mdx +0 -9
- package/dist/stories/Label.mdx +0 -31
- package/dist/stories/Loader.mdx +0 -31
- package/dist/stories/Message.mdx +0 -15
- package/dist/stories/Response.mdx +0 -23
- package/dist/stories/WithTooltip.mdx +0 -9
- package/dist/types/components/Button/stories/args.d.ts +0 -200
- package/dist/types/components/Chips/stories/args.d.ts +0 -45
- package/dist/types/components/Menu/Menu.appearance.d.ts +0 -2
- package/dist/types/components/Menu/Menu.d.ts +0 -4
- package/dist/types/components/Menu/Menu.interface.d.ts +0 -35
- package/dist/types/components/Menu/index.d.ts +0 -2
- package/dist/types/components/Response/stories/args.d.ts +0 -174
- package/dist/types/types/componentProps/captionPosition.d.ts +0 -3
- package/dist/types/types/componentProps/emojiSize.d.ts +0 -3
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
export declare const argTypes: {
|
|
2
|
-
borderWidth: {
|
|
3
|
-
if: {
|
|
4
|
-
arg: string;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
7
|
-
borderColor: {
|
|
8
|
-
control: string;
|
|
9
|
-
options: readonly [undefined, "accentBorderPrimary", "accentBorderSecondary", "accentBorderTertiary", "accentBorderQuaternary", "accentBorderDisabled", "primaryBorderPrimary", "primaryBorderSecondary", "primaryBorderTertiary", "primaryBorderQuaternary", "primaryBorderDisabled", "secondaryBorderPrimary", "secondaryBorderSecondary", "secondaryBorderTertiary", "secondaryBorderQuaternary", "secondaryBorderDisabled", "tertiaryBorderPrimary", "tertiaryBorderSecondary", "tertiaryBorderTertiary", "tertiaryBorderQuaternary", "tertiaryBorderDisabled", "surfaceBorderPrimary", "surfaceBorderSecondary", "surfaceBorderTertiary", "surfaceBorderQuaternary", "surfaceBorderDisabled", "surfaceBorderInverse", "errorBorderPrimary", "errorBorderSecondary", "errorBorderDisabled", "successBorderPrimary", "successBorderSecondary", "successBorderDisabled", "none"];
|
|
10
|
-
};
|
|
11
|
-
advancedProps: {
|
|
12
|
-
control: string;
|
|
13
|
-
};
|
|
14
|
-
after: {
|
|
15
|
-
if: {
|
|
16
|
-
arg: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
appearance: {
|
|
20
|
-
control: string;
|
|
21
|
-
options: string[];
|
|
22
|
-
};
|
|
23
|
-
before: {
|
|
24
|
-
if: {
|
|
25
|
-
arg: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
borderType: {
|
|
29
|
-
if: {
|
|
30
|
-
arg: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
className: {
|
|
34
|
-
if: {
|
|
35
|
-
arg: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
fill: {
|
|
39
|
-
control: string;
|
|
40
|
-
options: readonly [undefined, "accentPrimary", "accentSecondary", "accentTertiary", "primaryPrimary", "primarySecondary", "primaryTertiary", "secondaryPrimary", "secondarySecondary", "secondaryTertiary", "tertiaryPrimary", "tertiarySecondary", "tertiaryTertiary", "surfaceAccent", "surfaceItemPrimary", "surfacePrimary", "surfaceQuaternary", "surfaceQuinary", "surfaceSecondary", "surfaceTertiary", "errorPrimary", "errorSecondary", "successPrimary", "successSecondary", "gradientPrimary", "none"];
|
|
41
|
-
};
|
|
42
|
-
fillHover: {
|
|
43
|
-
control: string;
|
|
44
|
-
options: readonly [undefined, "accentPrimaryHover", "accentSecondary", "accentSecondaryHover", "accentTertiary", "primaryPrimaryHover", "secondaryPrimaryHover", "surfaceItemTertiary", "surfacePrimaryHover", "surfaceSecondaryHover", "surfaceTertiary", "surfaceTertiaryHover"];
|
|
45
|
-
};
|
|
46
|
-
messageTextColor: {
|
|
47
|
-
control: string;
|
|
48
|
-
options: readonly [undefined, false, "accentTextPrimary", "accentTextSecondary", "accentTextTertiary", "primaryTextPrimary", "primaryTextSecondary", "primaryTextTertiary", "secondaryTextPrimary", "secondaryTextSecondary", "secondaryTextTertiary", "tertiaryTextPrimary", "tertiaryTextSecondary", "surfaceTextAccent", "surfaceTextActive", "surfaceTextDisabled", "surfaceTextFocus", "surfaceTextHover", "surfaceTextInverse", "surfaceTextPrimary", "surfaceTextQuaternary", "surfaceTextSecondary", "surfaceTextTertiary", "errorTextPrimary", "errorTextSecondary", "successTextPrimary", "successTextSecondary", "dangerTextPrimary", "dangerTextSecondary"];
|
|
49
|
-
};
|
|
50
|
-
messageTextSize: {
|
|
51
|
-
control: string;
|
|
52
|
-
options: readonly [undefined, "xxs", "xs", "s", "m", "l", "xl", "xxl"];
|
|
53
|
-
};
|
|
54
|
-
primaryButton: {
|
|
55
|
-
if: {
|
|
56
|
-
arg: string;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
primaryButtonAfter: {
|
|
60
|
-
if: {
|
|
61
|
-
arg: string;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
primaryButtonAppearance: {
|
|
65
|
-
control: string;
|
|
66
|
-
options: (string | null)[];
|
|
67
|
-
};
|
|
68
|
-
primaryButtonBefore: {
|
|
69
|
-
if: {
|
|
70
|
-
arg: string;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
primaryButtonFill: {
|
|
74
|
-
control: string;
|
|
75
|
-
options: readonly [undefined, "accentPrimary", "accentSecondary", "accentTertiary", "primaryPrimary", "primarySecondary", "primaryTertiary", "secondaryPrimary", "secondarySecondary", "secondaryTertiary", "tertiaryPrimary", "tertiarySecondary", "tertiaryTertiary", "surfaceAccent", "surfaceItemPrimary", "surfacePrimary", "surfaceQuaternary", "surfaceQuinary", "surfaceSecondary", "surfaceTertiary", "errorPrimary", "errorSecondary", "successPrimary", "successSecondary", "gradientPrimary", "none"];
|
|
76
|
-
};
|
|
77
|
-
primaryButtonFillHover: {
|
|
78
|
-
control: string;
|
|
79
|
-
options: readonly [undefined, "accentPrimaryHover", "accentSecondary", "accentSecondaryHover", "accentTertiary", "primaryPrimaryHover", "secondaryPrimaryHover", "surfaceItemTertiary", "surfacePrimaryHover", "surfaceSecondaryHover", "surfaceTertiary", "surfaceTertiaryHover"];
|
|
80
|
-
};
|
|
81
|
-
primaryButtonLabelTextColor: {
|
|
82
|
-
control: string;
|
|
83
|
-
options: readonly [undefined, false, "accentTextPrimary", "accentTextSecondary", "accentTextTertiary", "primaryTextPrimary", "primaryTextSecondary", "primaryTextTertiary", "secondaryTextPrimary", "secondaryTextSecondary", "secondaryTextTertiary", "tertiaryTextPrimary", "tertiaryTextSecondary", "surfaceTextAccent", "surfaceTextActive", "surfaceTextDisabled", "surfaceTextFocus", "surfaceTextHover", "surfaceTextInverse", "surfaceTextPrimary", "surfaceTextQuaternary", "surfaceTextSecondary", "surfaceTextTertiary", "errorTextPrimary", "errorTextSecondary", "successTextPrimary", "successTextSecondary", "dangerTextPrimary", "dangerTextSecondary"];
|
|
84
|
-
};
|
|
85
|
-
primaryButtonLabelTextSize: {
|
|
86
|
-
control: string;
|
|
87
|
-
options: readonly [undefined, "xxs", "xs", "s", "m", "l", "xl", "xxl"];
|
|
88
|
-
};
|
|
89
|
-
primaryButtonShape: {
|
|
90
|
-
control: string;
|
|
91
|
-
options: readonly [undefined, "geometric", "rounded", "circular"];
|
|
92
|
-
};
|
|
93
|
-
primaryButtonSize: {
|
|
94
|
-
control: string;
|
|
95
|
-
options: readonly [undefined, "xxs", "xs", "s", "m", "l", "xl", "xxl"];
|
|
96
|
-
};
|
|
97
|
-
primaryButtonWidth: {
|
|
98
|
-
control: string;
|
|
99
|
-
options: readonly ["auto", "fixed", "hug", "fill"];
|
|
100
|
-
};
|
|
101
|
-
secondaryButton: {
|
|
102
|
-
if: {
|
|
103
|
-
arg: string;
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
secondaryButtonAfter: {
|
|
107
|
-
if: {
|
|
108
|
-
arg: string;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
secondaryButtonAppearance: {
|
|
112
|
-
control: string;
|
|
113
|
-
options: (string | null)[];
|
|
114
|
-
};
|
|
115
|
-
secondaryButtonBefore: {
|
|
116
|
-
if: {
|
|
117
|
-
arg: string;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
secondaryButtonFill: {
|
|
121
|
-
control: string;
|
|
122
|
-
options: readonly [undefined, "accentPrimary", "accentSecondary", "accentTertiary", "primaryPrimary", "primarySecondary", "primaryTertiary", "secondaryPrimary", "secondarySecondary", "secondaryTertiary", "tertiaryPrimary", "tertiarySecondary", "tertiaryTertiary", "surfaceAccent", "surfaceItemPrimary", "surfacePrimary", "surfaceQuaternary", "surfaceQuinary", "surfaceSecondary", "surfaceTertiary", "errorPrimary", "errorSecondary", "successPrimary", "successSecondary", "gradientPrimary", "none"];
|
|
123
|
-
};
|
|
124
|
-
secondaryButtonFillHover: {
|
|
125
|
-
control: string;
|
|
126
|
-
options: readonly [undefined, "accentPrimaryHover", "accentSecondary", "accentSecondaryHover", "accentTertiary", "primaryPrimaryHover", "secondaryPrimaryHover", "surfaceItemTertiary", "surfacePrimaryHover", "surfaceSecondaryHover", "surfaceTertiary", "surfaceTertiaryHover"];
|
|
127
|
-
};
|
|
128
|
-
secondaryButtonLabelTextColor: {
|
|
129
|
-
control: string;
|
|
130
|
-
options: readonly [undefined, false, "accentTextPrimary", "accentTextSecondary", "accentTextTertiary", "primaryTextPrimary", "primaryTextSecondary", "primaryTextTertiary", "secondaryTextPrimary", "secondaryTextSecondary", "secondaryTextTertiary", "tertiaryTextPrimary", "tertiaryTextSecondary", "surfaceTextAccent", "surfaceTextActive", "surfaceTextDisabled", "surfaceTextFocus", "surfaceTextHover", "surfaceTextInverse", "surfaceTextPrimary", "surfaceTextQuaternary", "surfaceTextSecondary", "surfaceTextTertiary", "errorTextPrimary", "errorTextSecondary", "successTextPrimary", "successTextSecondary", "dangerTextPrimary", "dangerTextSecondary"];
|
|
131
|
-
};
|
|
132
|
-
secondaryButtonLabelTextSize: {
|
|
133
|
-
control: string;
|
|
134
|
-
options: readonly [undefined, "xxs", "xs", "s", "m", "l", "xl", "xxl"];
|
|
135
|
-
};
|
|
136
|
-
secondaryButtonShape: {
|
|
137
|
-
control: string;
|
|
138
|
-
options: readonly [undefined, "geometric", "rounded", "circular"];
|
|
139
|
-
};
|
|
140
|
-
secondaryButtonSize: {
|
|
141
|
-
control: string;
|
|
142
|
-
options: readonly [undefined, "xxs", "xs", "s", "m", "l", "xl", "xxl"];
|
|
143
|
-
};
|
|
144
|
-
secondaryButtonWidth: {
|
|
145
|
-
control: string;
|
|
146
|
-
options: readonly ["auto", "fixed", "hug", "fill"];
|
|
147
|
-
};
|
|
148
|
-
shape: {
|
|
149
|
-
control: string;
|
|
150
|
-
options: readonly [undefined, "geometric", "rounded", "circular"];
|
|
151
|
-
};
|
|
152
|
-
titleTextColor: {
|
|
153
|
-
control: string;
|
|
154
|
-
options: readonly [undefined, false, "accentTextPrimary", "accentTextSecondary", "accentTextTertiary", "primaryTextPrimary", "primaryTextSecondary", "primaryTextTertiary", "secondaryTextPrimary", "secondaryTextSecondary", "secondaryTextTertiary", "tertiaryTextPrimary", "tertiaryTextSecondary", "surfaceTextAccent", "surfaceTextActive", "surfaceTextDisabled", "surfaceTextFocus", "surfaceTextHover", "surfaceTextInverse", "surfaceTextPrimary", "surfaceTextQuaternary", "surfaceTextSecondary", "surfaceTextTertiary", "errorTextPrimary", "errorTextSecondary", "successTextPrimary", "successTextSecondary", "dangerTextPrimary", "dangerTextSecondary"];
|
|
155
|
-
};
|
|
156
|
-
titleTextSize: {
|
|
157
|
-
control: string;
|
|
158
|
-
options: readonly [undefined, "h1", "h2", "h3", "h4", "h5", "h6"];
|
|
159
|
-
};
|
|
160
|
-
titleTextWeight: {
|
|
161
|
-
control: string;
|
|
162
|
-
options: readonly [undefined, "normal", "bold", "light", "lighter", "bolder", 100, 200, 300, 400, 500, 600, 700, 800, 900, 950, "100", "200", "300", "400", "500", "600", "700", "800", "900", "950"];
|
|
163
|
-
};
|
|
164
|
-
onClickPrimaryButton: {
|
|
165
|
-
if: {
|
|
166
|
-
arg: string;
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
onClickSecondaryButton: {
|
|
170
|
-
if: {
|
|
171
|
-
arg: string;
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
};
|