@itcase/ui 1.4.2 → 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/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/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/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/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
|
@@ -11,6 +11,11 @@
|
|
|
11
11
|
&__text {
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
+
.loader {
|
|
15
|
+
&_skeleton {
|
|
16
|
+
position: relative;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
14
19
|
.loader {
|
|
15
20
|
&_type {
|
|
16
21
|
&_simple {
|
|
@@ -20,12 +25,12 @@
|
|
|
20
25
|
position: absolute;
|
|
21
26
|
left: 50%;
|
|
22
27
|
top: 50%;
|
|
28
|
+
display: flex;
|
|
29
|
+
|
|
23
30
|
transform: translate(-50%, -50%);
|
|
24
31
|
}
|
|
25
32
|
^^&__item {
|
|
26
|
-
|
|
27
|
-
height: 12px;
|
|
28
|
-
margin: 4px;
|
|
33
|
+
|
|
29
34
|
border-radius: 100%;
|
|
30
35
|
display: inline-block;
|
|
31
36
|
animation: loaderSimple 1.4s infinite ease-in-out both;
|
|
@@ -49,3 +54,35 @@
|
|
|
49
54
|
transform: scale(1);
|
|
50
55
|
}
|
|
51
56
|
}
|
|
57
|
+
.loader {
|
|
58
|
+
@each $size in xxl, xl, l, m, s, xs, xxs {
|
|
59
|
+
&_size_$(size) {
|
|
60
|
+
min-width: var(--loader-$(size)-min-width);
|
|
61
|
+
min-height: var(--loader-$(size)-min-height);
|
|
62
|
+
padding: var(--loader-$(size)-padding);
|
|
63
|
+
^&__inner {
|
|
64
|
+
gap: var(--loader-$(size)-gap);
|
|
65
|
+
^^&__item {
|
|
66
|
+
width: var(--loader-$(size)-item);
|
|
67
|
+
height: var(--loader-$(size)-item);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
:root {
|
|
74
|
+
--loader-l-min-width: 112px;
|
|
75
|
+
--loader-l-min-height: 56px;
|
|
76
|
+
--loader-l-item: 16px;
|
|
77
|
+
--loader-l-gap: 16px;
|
|
78
|
+
|
|
79
|
+
--loader-m-min-width: 88px;
|
|
80
|
+
--loader-m-min-height: 40px;
|
|
81
|
+
--loader-m-item: 12px;
|
|
82
|
+
--loader-m-gap: 12px;
|
|
83
|
+
|
|
84
|
+
--loader-s-min-width: 60px;
|
|
85
|
+
--loader-s-min-height: 24px;
|
|
86
|
+
--loader-s-item: 6px;
|
|
87
|
+
--loader-s-gap: 8px;
|
|
88
|
+
}
|
|
@@ -5,33 +5,26 @@
|
|
|
5
5
|
align-items: center;
|
|
6
6
|
&__wrapper {
|
|
7
7
|
width: 100%;
|
|
8
|
-
padding:
|
|
8
|
+
padding: 3m;
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
justify-content: center;
|
|
12
12
|
align-items: center;
|
|
13
|
-
gap:
|
|
13
|
+
gap: 3m;
|
|
14
14
|
}
|
|
15
15
|
&__desc {
|
|
16
16
|
display: flex;
|
|
17
17
|
flex-direction: column;
|
|
18
18
|
justify-content: center;
|
|
19
19
|
align-items: center;
|
|
20
|
-
gap:
|
|
20
|
+
gap: 1m;
|
|
21
21
|
}
|
|
22
22
|
&__button {
|
|
23
|
+
padding: 0 3m;
|
|
23
24
|
display: flex;
|
|
24
25
|
flex-direction: column;
|
|
25
26
|
justify-content: center;
|
|
26
27
|
align-items: center;
|
|
27
|
-
gap:
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
.response {
|
|
31
|
-
&_set {
|
|
32
|
-
&_message {
|
|
33
|
-
margin: 200px 0 0 0;
|
|
34
|
-
align-self: center;
|
|
35
|
-
}
|
|
28
|
+
gap: 3m;
|
|
36
29
|
}
|
|
37
30
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
.svg {
|
|
2
2
|
&_path_fill {
|
|
3
|
-
@each $type in accent, primary, secondary, tertiary, surface, success,
|
|
4
|
-
error {
|
|
3
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error {
|
|
5
4
|
&_$(type) {
|
|
6
5
|
&-item {
|
|
7
6
|
@each $color in primary, secondary, tertiary, quaternary, quinary,
|
package/dist/stories/Cell.mdx
CHANGED
|
@@ -1,23 +1,7 @@
|
|
|
1
1
|
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
2
|
|
|
3
|
-
import * as CellStories from '
|
|
3
|
+
import * as CellStories from '../stories/Cell.stories.tsx'
|
|
4
4
|
|
|
5
5
|
<Meta of={CellStories} />
|
|
6
6
|
|
|
7
7
|
# Cell
|
|
8
|
-
|
|
9
|
-
## Horizontal
|
|
10
|
-
|
|
11
|
-
<Canvas sourceState="shown" of={CellStories.Horizontal} />
|
|
12
|
-
|
|
13
|
-
## Vertical
|
|
14
|
-
|
|
15
|
-
<Canvas sourceState="shown" of={CellStories.Vertical} />
|
|
16
|
-
|
|
17
|
-
## WithLabels
|
|
18
|
-
|
|
19
|
-
<Canvas sourceState="shown" of={CellStories.WithLabels} />
|
|
20
|
-
|
|
21
|
-
## WithIcons
|
|
22
|
-
|
|
23
|
-
<Canvas sourceState="shown" of={CellStories.WithIcons} />
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const checkmarkAppearanceStyle: {
|
|
2
|
+
full: {
|
|
3
|
+
borderColor: null;
|
|
4
|
+
};
|
|
5
|
+
ghost: {
|
|
6
|
+
fill: null;
|
|
7
|
+
borderColor: null;
|
|
8
|
+
};
|
|
9
|
+
outlined: {
|
|
10
|
+
fill: null;
|
|
11
|
+
};
|
|
12
|
+
solid: {
|
|
13
|
+
borderColor: null;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export { checkmarkAppearanceStyle };
|
|
@@ -12,19 +12,19 @@ export declare const argTypes: {
|
|
|
12
12
|
};
|
|
13
13
|
justifyContent: {
|
|
14
14
|
control: string;
|
|
15
|
-
options: readonly ["flex-start", "flex-end", "center", "space-between", "space-around", "space-evenly"];
|
|
15
|
+
options: readonly [undefined, false, "flex-start", "flex-end", "center", "space-between", "space-around", "space-evenly"];
|
|
16
16
|
};
|
|
17
17
|
alignItems: {
|
|
18
18
|
control: string;
|
|
19
|
-
options: readonly [undefined, "stretch", "flex-start", "flex-end", "center", "baseline", "auto"];
|
|
19
|
+
options: readonly [undefined, false, "stretch", "flex-start", "flex-end", "center", "baseline", "auto"];
|
|
20
20
|
};
|
|
21
21
|
position: {
|
|
22
22
|
control: string;
|
|
23
|
-
options: readonly ["static", "absolute", "relative", "fixed", "inherit"];
|
|
23
|
+
options: readonly [undefined, false, "static", "absolute", "relative", "fixed", "inherit"];
|
|
24
24
|
};
|
|
25
25
|
direction: {
|
|
26
26
|
control: string;
|
|
27
|
-
options: readonly [undefined, "column", "column-reverse", "horizontal", "horizontal-reverse", "row", "row-reverse", "vertical", "vertical-reverse"];
|
|
27
|
+
options: readonly [undefined, false, "column", "column-reverse", "horizontal", "horizontal-reverse", "row", "row-reverse", "vertical", "vertical-reverse"];
|
|
28
28
|
};
|
|
29
29
|
advancedProps: {
|
|
30
30
|
control: string;
|
|
@@ -32,7 +32,7 @@ export declare const argTypes: {
|
|
|
32
32
|
};
|
|
33
33
|
alignContent: {
|
|
34
34
|
control: string;
|
|
35
|
-
options: readonly ["flex-start", "flex-end", "center", "space-between", "space-around", "space-evenly"];
|
|
35
|
+
options: readonly [undefined, false, "flex-start", "flex-end", "center", "space-between", "space-around", "space-evenly"];
|
|
36
36
|
};
|
|
37
37
|
className: {
|
|
38
38
|
control: string;
|
|
@@ -42,7 +42,7 @@ export declare const argTypes: {
|
|
|
42
42
|
};
|
|
43
43
|
fill: {
|
|
44
44
|
control: string;
|
|
45
|
-
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"];
|
|
45
|
+
options: readonly [undefined, false, "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"];
|
|
46
46
|
};
|
|
47
47
|
flow: {
|
|
48
48
|
control: string;
|
|
@@ -52,7 +52,7 @@ export declare const argTypes: {
|
|
|
52
52
|
};
|
|
53
53
|
shape: {
|
|
54
54
|
control: string;
|
|
55
|
-
options: readonly [undefined, "geometric", "rounded", "circular"];
|
|
55
|
+
options: readonly [undefined, false, "rectangle", "geometric", "rounded", "circular"];
|
|
56
56
|
};
|
|
57
57
|
tag: {
|
|
58
58
|
control: string;
|
|
@@ -69,7 +69,7 @@ export declare const argTypes: {
|
|
|
69
69
|
wrap: {
|
|
70
70
|
control: string;
|
|
71
71
|
description: string;
|
|
72
|
-
options: readonly [undefined, "wrap", "nowrap", "wrap-reverse"];
|
|
72
|
+
options: readonly [undefined, false, "wrap", "nowrap", "wrap-reverse"];
|
|
73
73
|
};
|
|
74
74
|
onClick: {
|
|
75
75
|
control: string;
|
|
@@ -15,11 +15,11 @@ export declare const argTypes: {
|
|
|
15
15
|
};
|
|
16
16
|
alignItems: {
|
|
17
17
|
control: string;
|
|
18
|
-
options: readonly [undefined, "auto", "normal", "stretch", "center", "start", "end", "space-around", "space-between", "space-evenly", "safe center", "unsafe center", "self-start", "self-end", "first", "baseline", "first baseline", "last baseline"];
|
|
18
|
+
options: readonly [undefined, false, "auto", "normal", "stretch", "center", "start", "end", "space-around", "space-between", "space-evenly", "safe center", "unsafe center", "self-start", "self-end", "first", "baseline", "first baseline", "last baseline"];
|
|
19
19
|
};
|
|
20
20
|
borderColor: {
|
|
21
21
|
control: string;
|
|
22
|
-
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"];
|
|
22
|
+
options: readonly [undefined, false, "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"];
|
|
23
23
|
};
|
|
24
24
|
advancedProps: {
|
|
25
25
|
control: string;
|
|
@@ -31,7 +31,7 @@ export declare const argTypes: {
|
|
|
31
31
|
};
|
|
32
32
|
alignContent: {
|
|
33
33
|
control: string;
|
|
34
|
-
options: readonly [undefined, "auto", "normal", "stretch", "center", "start", "end", "space-around", "space-between", "space-evenly", "safe center", "unsafe center", "self-start", "self-end", "first", "baseline", "first baseline", "last baseline"];
|
|
34
|
+
options: readonly [undefined, false, "auto", "normal", "stretch", "center", "start", "end", "space-around", "space-between", "space-evenly", "safe center", "unsafe center", "self-start", "self-end", "first", "baseline", "first baseline", "last baseline"];
|
|
35
35
|
};
|
|
36
36
|
before: {
|
|
37
37
|
if: {
|
|
@@ -53,11 +53,11 @@ export declare const argTypes: {
|
|
|
53
53
|
};
|
|
54
54
|
fill: {
|
|
55
55
|
control: string;
|
|
56
|
-
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"];
|
|
56
|
+
options: readonly [undefined, false, "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"];
|
|
57
57
|
};
|
|
58
58
|
justifyItems: {
|
|
59
59
|
control: string;
|
|
60
|
-
options: readonly [undefined, "legacy", "normal", "stretch", "center", "safe", "center", "unsafe", "center", "start", "end", "self-start", "self-end", "left", "right", "first", "baseline", "first baseline", "last baseline"];
|
|
60
|
+
options: readonly [undefined, false, "legacy", "normal", "stretch", "center", "safe", "center", "unsafe", "center", "start", "end", "self-start", "self-end", "left", "right", "first", "baseline", "first baseline", "last baseline"];
|
|
61
61
|
};
|
|
62
62
|
rows: {
|
|
63
63
|
control: {
|
|
@@ -6,11 +6,11 @@ export declare const argTypes: {
|
|
|
6
6
|
};
|
|
7
7
|
borderColor: {
|
|
8
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"];
|
|
9
|
+
options: readonly [undefined, false, "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
10
|
};
|
|
11
11
|
direction: {
|
|
12
12
|
control: string;
|
|
13
|
-
options: readonly [undefined, "column", "column-reverse", "horizontal", "horizontal-reverse", "row", "row-reverse", "vertical", "vertical-reverse"];
|
|
13
|
+
options: readonly [undefined, false, "column", "column-reverse", "horizontal", "horizontal-reverse", "row", "row-reverse", "vertical", "vertical-reverse"];
|
|
14
14
|
};
|
|
15
15
|
advancedProps: {
|
|
16
16
|
control: string;
|
|
@@ -35,7 +35,7 @@ export declare const argTypes: {
|
|
|
35
35
|
};
|
|
36
36
|
fill: {
|
|
37
37
|
control: string;
|
|
38
|
-
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"];
|
|
38
|
+
options: readonly [undefined, false, "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"];
|
|
39
39
|
};
|
|
40
40
|
htmlFor: {
|
|
41
41
|
if: {
|
|
@@ -49,7 +49,7 @@ export declare const argTypes: {
|
|
|
49
49
|
};
|
|
50
50
|
shape: {
|
|
51
51
|
control: string;
|
|
52
|
-
options: readonly [undefined, "geometric", "rounded", "circular"];
|
|
52
|
+
options: readonly [undefined, false, "rectangle", "geometric", "rounded", "circular"];
|
|
53
53
|
};
|
|
54
54
|
spaceBetweenItems: {
|
|
55
55
|
if: {
|
|
@@ -68,7 +68,7 @@ export declare const argTypes: {
|
|
|
68
68
|
};
|
|
69
69
|
wrap: {
|
|
70
70
|
control: string;
|
|
71
|
-
options: readonly [undefined, "wrap", "no-wrap", "nowrap", "wrap-reverse"];
|
|
71
|
+
options: readonly [undefined, false, "wrap", "no-wrap", "nowrap", "wrap-reverse"];
|
|
72
72
|
};
|
|
73
73
|
onClick: {
|
|
74
74
|
if: {
|
|
@@ -2,18 +2,18 @@ import { CSSProperties, ReactNode } from 'react';
|
|
|
2
2
|
import { tBorderColorHoverProps, tBorderColorProps, tBorderTypeProps, tBorderWidthProps, tFillHoverProps, tFillProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tTitleSizeProps, tWidthProps } from 'types';
|
|
3
3
|
import { tAppearanceKeysDefault } from 'types/componentProps/appearanceKeys';
|
|
4
4
|
import { iStyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
5
|
-
export interface
|
|
5
|
+
export interface iResponseAppearance {
|
|
6
6
|
[key: number | string | symbol]: any;
|
|
7
7
|
borderColor?: tBorderColorProps;
|
|
8
8
|
borderColorHover?: tBorderColorHoverProps;
|
|
9
9
|
borderType?: tBorderTypeProps;
|
|
10
10
|
borderWidth?: tBorderWidthProps;
|
|
11
|
+
descTextColor?: tTextColorProps;
|
|
12
|
+
descTextSize?: tTextSizeProps;
|
|
13
|
+
descTextWeight?: tTextWeightProps;
|
|
11
14
|
fill?: tFillProps;
|
|
12
15
|
fillHover?: tFillHoverProps;
|
|
13
16
|
imageSrc?: string;
|
|
14
|
-
messageTextColor?: tTextColorProps;
|
|
15
|
-
messageTextSize?: tTextSizeProps;
|
|
16
|
-
messageTextWeight?: tTextWeightProps;
|
|
17
17
|
primaryButtonAppearance?: tAppearanceKeys;
|
|
18
18
|
primaryButtonFill?: tFillProps;
|
|
19
19
|
primaryButtonFillHover?: tFillHoverProps;
|
|
@@ -39,21 +39,23 @@ export interface iResponseThemeColor {
|
|
|
39
39
|
}
|
|
40
40
|
type tAppearanceKeys = tAppearanceKeysDefault & {};
|
|
41
41
|
export type responseAppearanceType = {
|
|
42
|
-
[key in tAppearanceKeys]?:
|
|
42
|
+
[key in tAppearanceKeys]?: iResponseAppearance;
|
|
43
43
|
};
|
|
44
44
|
export interface iResponseConfig {
|
|
45
45
|
[key: number | string | symbol]: any;
|
|
46
46
|
appearance: responseAppearanceType | undefined;
|
|
47
|
-
setAppearance: (
|
|
47
|
+
setAppearance: (appearanceConfig: responseAppearanceType) => void;
|
|
48
48
|
}
|
|
49
|
-
export interface iResponseProps extends
|
|
49
|
+
export interface iResponseProps extends iResponseAppearance, iStyleAttributes {
|
|
50
50
|
[key: number | string | symbol]: any;
|
|
51
51
|
after?: ReactNode;
|
|
52
|
+
/** appearance description */
|
|
52
53
|
appearance?: tAppearanceKeys;
|
|
53
54
|
before?: ReactNode;
|
|
54
55
|
className?: string;
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
/** desc description */
|
|
57
|
+
desc?: string;
|
|
58
|
+
descTextWeight?: tTextWeightProps;
|
|
57
59
|
primaryButton?: boolean;
|
|
58
60
|
primaryButtonAfter?: ReactNode;
|
|
59
61
|
primaryButtonBefore?: ReactNode;
|
|
@@ -61,9 +63,9 @@ export interface iResponseProps extends iResponseThemeColor, iStyleAttributes {
|
|
|
61
63
|
secondaryButtonAfter?: ReactNode;
|
|
62
64
|
secondaryButtonBefore?: ReactNode;
|
|
63
65
|
style?: CSSProperties;
|
|
66
|
+
/** title description */
|
|
64
67
|
title?: string;
|
|
65
68
|
onClickPrimaryButton?: () => void;
|
|
66
69
|
onClickSecondaryButton?: () => void;
|
|
67
|
-
set?: string;
|
|
68
70
|
}
|
|
69
71
|
export {};
|
|
@@ -29,11 +29,11 @@ export declare const argTypes: {
|
|
|
29
29
|
};
|
|
30
30
|
badgeFill: {
|
|
31
31
|
control: string;
|
|
32
|
-
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"];
|
|
32
|
+
options: readonly [undefined, false, "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"];
|
|
33
33
|
};
|
|
34
34
|
badgeSize: {
|
|
35
35
|
control: string;
|
|
36
|
-
options: readonly [undefined, "xxs", "xs", "s", "m", "l", "xl", "xxl"];
|
|
36
|
+
options: readonly [undefined, false, "xxs", "xs", "s", "m", "l", "xl", "xxl"];
|
|
37
37
|
};
|
|
38
38
|
badgeTextColor: {
|
|
39
39
|
control: string;
|
|
@@ -41,7 +41,7 @@ export declare const argTypes: {
|
|
|
41
41
|
};
|
|
42
42
|
badgeTextSize: {
|
|
43
43
|
control: string;
|
|
44
|
-
options: readonly [undefined, "xxs", "xs", "s", "m", "l", "xl", "xxl"];
|
|
44
|
+
options: readonly [undefined, false, "xxs", "xs", "s", "m", "l", "xl", "xxl"];
|
|
45
45
|
};
|
|
46
46
|
before: {
|
|
47
47
|
if: {
|
|
@@ -55,11 +55,11 @@ export declare const argTypes: {
|
|
|
55
55
|
};
|
|
56
56
|
fill: {
|
|
57
57
|
control: string;
|
|
58
|
-
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"];
|
|
58
|
+
options: readonly [undefined, false, "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"];
|
|
59
59
|
};
|
|
60
60
|
fillHover: {
|
|
61
61
|
control: string;
|
|
62
|
-
options: readonly [undefined, "accentPrimaryHover", "accentSecondary", "accentSecondaryHover", "accentTertiary", "primaryPrimaryHover", "secondaryPrimaryHover", "surfaceItemTertiary", "surfacePrimaryHover", "surfaceSecondaryHover", "surfaceTertiary", "surfaceTertiaryHover"];
|
|
62
|
+
options: readonly [undefined, false, "accentPrimaryHover", "accentSecondary", "accentSecondaryHover", "accentTertiary", "primaryPrimaryHover", "secondaryPrimaryHover", "surfaceItemTertiary", "surfacePrimaryHover", "surfaceSecondaryHover", "surfaceTertiary", "surfaceTertiaryHover"];
|
|
63
63
|
};
|
|
64
64
|
href: {
|
|
65
65
|
if: {
|
|
@@ -89,26 +89,26 @@ export declare const argTypes: {
|
|
|
89
89
|
if: {
|
|
90
90
|
arg: string;
|
|
91
91
|
};
|
|
92
|
-
options: readonly [undefined, "accent", "primary", "secondary", "tertiary", "surface", "error", "success"];
|
|
92
|
+
options: readonly [undefined, false, "accent", "primary", "secondary", "tertiary", "surface", "error", "success"];
|
|
93
93
|
};
|
|
94
94
|
labelTextSize: {
|
|
95
95
|
control: string;
|
|
96
|
-
options: readonly [undefined, "xxs", "xs", "s", "m", "l", "xl", "xxl"];
|
|
96
|
+
options: readonly [undefined, false, "xxs", "xs", "s", "m", "l", "xl", "xxl"];
|
|
97
97
|
};
|
|
98
98
|
labelTextStyle: {
|
|
99
99
|
control: string;
|
|
100
100
|
if: {
|
|
101
101
|
arg: string;
|
|
102
102
|
};
|
|
103
|
-
options: readonly [undefined, "normal", "italic"];
|
|
103
|
+
options: readonly [undefined, false, "normal", "italic"];
|
|
104
104
|
};
|
|
105
105
|
labelTextWeight: {
|
|
106
106
|
control: string;
|
|
107
|
-
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"];
|
|
107
|
+
options: readonly [undefined, false, "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"];
|
|
108
108
|
};
|
|
109
109
|
labelTextWrap: {
|
|
110
110
|
control: string;
|
|
111
|
-
options: readonly [undefined, "wrap", "nowrap"];
|
|
111
|
+
options: readonly [undefined, false, "wrap", "nowrap"];
|
|
112
112
|
};
|
|
113
113
|
link: {
|
|
114
114
|
if: {
|
|
@@ -125,7 +125,7 @@ export declare const argTypes: {
|
|
|
125
125
|
if: {
|
|
126
126
|
arg: string;
|
|
127
127
|
};
|
|
128
|
-
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"];
|
|
128
|
+
options: readonly [undefined, false, "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"];
|
|
129
129
|
};
|
|
130
130
|
rel: {
|
|
131
131
|
if: {
|
|
@@ -134,7 +134,7 @@ export declare const argTypes: {
|
|
|
134
134
|
};
|
|
135
135
|
shape: {
|
|
136
136
|
control: string;
|
|
137
|
-
options: readonly [undefined, "geometric", "rounded", "circular"];
|
|
137
|
+
options: readonly [undefined, false, "rectangle", "geometric", "rounded", "circular"];
|
|
138
138
|
};
|
|
139
139
|
size: {
|
|
140
140
|
control: string;
|
|
@@ -155,7 +155,7 @@ export declare const argTypes: {
|
|
|
155
155
|
if: {
|
|
156
156
|
arg: string;
|
|
157
157
|
};
|
|
158
|
-
options: readonly [undefined, "none", "underline"];
|
|
158
|
+
options: readonly [undefined, false, "none", "underline"];
|
|
159
159
|
};
|
|
160
160
|
onClick: {
|
|
161
161
|
if: {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const alignProps: readonly [undefined, "topLeft", "topCenter", "topRight", "left", "center", "right", "bottomLeft", "bottomCenter", "bottomRight"];
|
|
1
|
+
declare const alignProps: readonly [undefined, false, "topLeft", "topCenter", "topRight", "left", "center", "right", "bottomLeft", "bottomCenter", "bottomRight"];
|
|
2
2
|
export type tAlignProps = (typeof alignProps)[number];
|
|
3
3
|
export { alignProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const alignDirectionProps: readonly [undefined, "column", "column-reverse", "horizontal", "horizontal-reverse", "row", "row-reverse", "vertical", "vertical-reverse"];
|
|
1
|
+
declare const alignDirectionProps: readonly [undefined, false, "column", "column-reverse", "horizontal", "horizontal-reverse", "row", "row-reverse", "vertical", "vertical-reverse"];
|
|
2
2
|
export type tAlignDirectionProps = (typeof alignDirectionProps)[number];
|
|
3
3
|
export { alignDirectionProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const alignmentProps: readonly [undefined, "topLeft", "topCenter", "topRight", "leftCenter", "rightCenter", "bottomRight", "bottomCenter", "bottomLeft"];
|
|
1
|
+
declare const alignmentProps: readonly [undefined, false, "topLeft", "topCenter", "topRight", "leftCenter", "rightCenter", "bottomRight", "bottomCenter", "bottomLeft"];
|
|
2
2
|
export type tAlignmentProps = (typeof alignmentProps)[number];
|
|
3
3
|
export { alignmentProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type tAppearanceKeysDefault = 'accent' | 'accentPrimary' | 'accentQuaternary' | 'accentSecondary' | 'accentTertiary' | 'any' | 'cantLoadData' | '
|
|
1
|
+
export type tAppearanceKeysDefault = 'accent' | 'accentPrimary' | 'accentQuaternary' | 'accentSecondary' | 'accentTertiary' | 'any' | 'cantLoadData' | 'confirm' | 'custom' | 'default' | 'disabled' | 'error' | 'fail' | 'full' | 'ghost' | 'gradientPrimary' | 'nothingFound' | 'outlined' | 'primary' | 'refresh' | 'search' | 'secondary' | 'solid' | 'success' | 'surface' | 'surfaceDisabled' | 'surfacePrimary' | 'surfaceQuaternary' | 'surfaceSecondary' | 'surfaceTertiary' | 'unableLoadData' | 'warning';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const borderColorProps: 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"];
|
|
1
|
+
declare const borderColorProps: readonly [undefined, false, "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"];
|
|
2
2
|
export type tBorderColorProps = (typeof borderColorProps)[number];
|
|
3
3
|
export { borderColorProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const borderColorHoverProps: readonly [undefined, "accentBorderPrimary", "accentBorderPrimaryHover", "primaryBorderPrimary", "secondaryBorderPrimary", "tertiaryBorderPrimary", "surfaceBorderPrimary", "surfaceBorderSecondary", "surfaceBorderTertiary", "errorBorderPrimary", "errorBorderPrimaryHover", "successBorderPrimary", "surfaceBorderQuaternary"];
|
|
1
|
+
declare const borderColorHoverProps: readonly [undefined, false, "accentBorderPrimary", "accentBorderPrimaryHover", "primaryBorderPrimary", "secondaryBorderPrimary", "tertiaryBorderPrimary", "surfaceBorderPrimary", "surfaceBorderSecondary", "surfaceBorderTertiary", "errorBorderPrimary", "errorBorderPrimaryHover", "successBorderPrimary", "surfaceBorderQuaternary"];
|
|
2
2
|
export type tBorderColorHoverProps = (typeof borderColorHoverProps)[number];
|
|
3
3
|
export { borderColorHoverProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const borderWidthProps: readonly [undefined, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"];
|
|
1
|
+
declare const borderWidthProps: readonly [undefined, false, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"];
|
|
2
2
|
export type tBorderWidthProps = (typeof borderWidthProps)[number];
|
|
3
3
|
export { borderWidthProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const fillProps: 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"];
|
|
1
|
+
declare const fillProps: readonly [undefined, false, "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"];
|
|
2
2
|
export type tFillProps = (typeof fillProps)[number];
|
|
3
3
|
export { fillProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const fillGradientProps: readonly [undefined, "accent", "primary", "secondary", "tertiary", "surface", "error", "success"];
|
|
1
|
+
declare const fillGradientProps: readonly [undefined, false, "accent", "primary", "secondary", "tertiary", "surface", "error", "success"];
|
|
2
2
|
export type tFillGradientProps = (typeof fillGradientProps)[number];
|
|
3
3
|
export { fillGradientProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const fillHoverProps: readonly [undefined, "accentPrimaryHover", "accentSecondary", "accentSecondaryHover", "accentTertiary", "primaryPrimaryHover", "secondaryPrimaryHover", "surfaceItemTertiary", "surfacePrimaryHover", "surfaceSecondaryHover", "surfaceTertiary", "surfaceTertiaryHover"];
|
|
1
|
+
declare const fillHoverProps: readonly [undefined, false, "accentPrimaryHover", "accentSecondary", "accentSecondaryHover", "accentTertiary", "primaryPrimaryHover", "secondaryPrimaryHover", "surfaceItemTertiary", "surfacePrimaryHover", "surfaceSecondaryHover", "surfaceTertiary", "surfaceTertiaryHover"];
|
|
2
2
|
export type tFillHoverProps = (typeof fillHoverProps)[number];
|
|
3
3
|
export { fillHoverProps };
|