@itcase/types 1.0.46 → 1.1.0
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/CHANGELOG.md +2 -0
- package/dist/align/align.d.ts +3 -0
- package/dist/align/index.d.ts +1 -0
- package/dist/alignment/alignment.d.ts +3 -0
- package/dist/alignment/index.d.ts +1 -0
- package/dist/appearance/AppearanceIconSizeKey.d.ts +2 -0
- package/dist/appearance/AppearanceKeysDefault.d.ts +2 -0
- package/dist/appearance/AppearanceOverlayKey.d.ts +2 -0
- package/dist/appearance/AppearanceResponseKeysDefault.d.ts +2 -0
- package/dist/appearance/AppearanceShapeKey.d.ts +2 -0
- package/dist/appearance/AppearanceStateKeysDefault.d.ts +2 -0
- package/dist/appearance/index.d.ts +25 -0
- package/dist/blur/blur.d.ts +3 -0
- package/dist/blur/index.d.ts +1 -0
- package/dist/border/borderColor.d.ts +3 -0
- package/dist/border/borderColorActive.d.ts +3 -0
- package/dist/border/borderColorDisabled.d.ts +3 -0
- package/dist/border/borderColorFocus.d.ts +3 -0
- package/dist/border/borderColorHover.d.ts +3 -0
- package/dist/border/borderType.d.ts +3 -0
- package/dist/border/borderWidth.d.ts +3 -0
- package/dist/border/index.d.ts +7 -0
- package/dist/centering/centering.d.ts +3 -0
- package/dist/centering/index.d.ts +1 -0
- package/dist/colors/colorsActive.d.ts +3 -0
- package/dist/colors/colorsDisabled.d.ts +3 -0
- package/dist/colors/colorsFocus.d.ts +3 -0
- package/dist/colors/colorsHover.d.ts +3 -0
- package/dist/colors/index.d.ts +4 -0
- package/dist/common/common.d.ts +46 -0
- package/dist/common/index.d.ts +1 -0
- package/dist/direction/direction.d.ts +5 -0
- package/dist/direction/index.d.ts +1 -0
- package/dist/elevation/elevation.d.ts +3 -0
- package/dist/elevation/index.d.ts +1 -0
- package/dist/fill/fill.d.ts +3 -0
- package/dist/fill/fillActive.d.ts +3 -0
- package/dist/fill/fillActiveHover.d.ts +3 -0
- package/dist/fill/fillDisabled.d.ts +3 -0
- package/dist/fill/fillGradient.d.ts +3 -0
- package/dist/fill/fillHover.d.ts +3 -0
- package/dist/fill/fillPalette.d.ts +3 -0
- package/dist/fill/fillSize.d.ts +3 -0
- package/dist/fill/index.d.ts +6 -0
- package/dist/height/height.d.ts +3 -0
- package/dist/height/index.d.ts +1 -0
- package/dist/icon/iconFill.d.ts +3 -0
- package/dist/icon/iconFillActive.d.ts +3 -0
- package/dist/icon/iconFillActiveHover.d.ts +3 -0
- package/dist/icon/iconFillDisabled.d.ts +3 -0
- package/dist/icon/iconFillHover.d.ts +3 -0
- package/dist/icon/iconFillItem.d.ts +3 -0
- package/dist/icon/iconFillSize.d.ts +4 -0
- package/dist/icon/iconSize.d.ts +4 -0
- package/dist/icon/index.d.ts +8 -0
- package/dist/index.d.ts +31 -0
- package/dist/item/index.d.ts +1 -0
- package/dist/item/itemFill.d.ts +3 -0
- package/dist/justifyContent/index.d.ts +1 -0
- package/dist/justifyContent/justifyContent.d.ts +3 -0
- package/dist/opacity/index.d.ts +1 -0
- package/dist/opacity/opacity.d.ts +3 -0
- package/dist/option/index.d.ts +1 -0
- package/{types/option/option.ts → dist/option/option.d.ts} +5 -7
- package/dist/overlay/index.d.ts +1 -0
- package/dist/overlay/overlayFill.d.ts +3 -0
- package/dist/position/index.d.ts +1 -0
- package/dist/position/position.d.ts +3 -0
- package/dist/resizeMode/index.d.ts +1 -0
- package/dist/resizeMode/resizeMode.d.ts +3 -0
- package/dist/shape/index.d.ts +2 -0
- package/dist/shape/shape.d.ts +4 -0
- package/dist/shape/shapeStrength.d.ts +4 -0
- package/dist/size/index.d.ts +3 -0
- package/dist/size/size.d.ts +4 -0
- package/dist/size/sizeHeading.d.ts +4 -0
- package/dist/size/sizePX.d.ts +3 -0
- package/dist/stacking/index.d.ts +1 -0
- package/dist/stacking/stacking.d.ts +3 -0
- package/dist/state/index.d.ts +1 -0
- package/dist/state/state.d.ts +3 -0
- package/dist/style/index.d.ts +1 -0
- package/dist/style/style.d.ts +4 -0
- package/dist/svgFill/index.d.ts +3 -0
- package/dist/svgFill/svgFill.d.ts +3 -0
- package/dist/svgFill/svgFillHover.d.ts +3 -0
- package/dist/svgFill/svgFillItem.d.ts +3 -0
- package/dist/text/index.d.ts +11 -0
- package/dist/text/textAlign.d.ts +3 -0
- package/dist/text/textColor.d.ts +3 -0
- package/dist/text/textColorActive.d.ts +3 -0
- package/dist/text/textColorActiveHover.d.ts +3 -0
- package/dist/text/textColorDisabled.d.ts +3 -0
- package/dist/text/textColorFocus.d.ts +3 -0
- package/dist/text/textColorHover.d.ts +3 -0
- package/dist/text/textFont.d.ts +3 -0
- package/dist/text/textSize.d.ts +3 -0
- package/dist/text/textStyle.d.ts +3 -0
- package/dist/text/textTag.d.ts +3 -0
- package/dist/text/textWeight.d.ts +3 -0
- package/dist/text/textWrap.d.ts +3 -0
- package/dist/title/index.d.ts +1 -0
- package/dist/title/titleSize.d.ts +3 -0
- package/dist/underline/index.d.ts +1 -0
- package/dist/underline/underline.d.ts +3 -0
- package/dist/width/index.d.ts +1 -0
- package/dist/width/width.d.ts +3 -0
- package/dist/wrap/index.d.ts +1 -0
- package/dist/wrap/wrap.d.ts +3 -0
- package/package.json +14 -7
- package/types/align/align.ts +0 -47
- package/types/align/index.ts +0 -1
- package/types/alignment/alignment.ts +0 -14
- package/types/alignment/index.ts +0 -1
- package/types/appearance/AppearanceIconSizeKey.ts +0 -39
- package/types/appearance/AppearanceKeysDefault.ts +0 -43
- package/types/appearance/AppearanceOverlayKey.ts +0 -3
- package/types/appearance/AppearanceResponseKeysDefault.ts +0 -11
- package/types/appearance/AppearanceShapeKey.ts +0 -10
- package/types/appearance/AppearanceStateKeysDefault.ts +0 -23
- package/types/appearance/index.ts +0 -91
- package/types/blur/blur.ts +0 -26
- package/types/blur/index.ts +0 -1
- package/types/border/borderColor.ts +0 -57
- package/types/border/borderColorActive.ts +0 -57
- package/types/border/borderColorDisabled.ts +0 -57
- package/types/border/borderColorFocus.ts +0 -57
- package/types/border/borderColorHover.ts +0 -57
- package/types/border/borderType.ts +0 -5
- package/types/border/borderWidth.ts +0 -16
- package/types/border/index.ts +0 -7
- package/types/centering/centering.ts +0 -5
- package/types/centering/index.ts +0 -1
- package/types/colors/colorsActive.ts +0 -57
- package/types/colors/colorsDisabled.ts +0 -57
- package/types/colors/colorsFocus.ts +0 -57
- package/types/colors/colorsHover.ts +0 -57
- package/types/colors/index.ts +0 -4
- package/types/common/common.ts +0 -59
- package/types/common/index.ts +0 -1
- package/types/direction/direction.ts +0 -14
- package/types/direction/index.ts +0 -1
- package/types/elevation/elevation.ts +0 -5
- package/types/elevation/index.ts +0 -1
- package/types/fill/fill.ts +0 -61
- package/types/fill/fillActive.ts +0 -61
- package/types/fill/fillActiveHover.ts +0 -61
- package/types/fill/fillDisabled.ts +0 -12
- package/types/fill/fillGradient.ts +0 -10
- package/types/fill/fillHover.ts +0 -60
- package/types/fill/fillPalette.ts +0 -88
- package/types/fill/fillSize.ts +0 -17
- package/types/fill/index.ts +0 -6
- package/types/height/height.ts +0 -5
- package/types/height/index.ts +0 -1
- package/types/icon/iconFill.ts +0 -60
- package/types/icon/iconFillActive.ts +0 -61
- package/types/icon/iconFillActiveHover.ts +0 -61
- package/types/icon/iconFillDisabled.ts +0 -12
- package/types/icon/iconFillHover.ts +0 -60
- package/types/icon/iconFillItem.ts +0 -60
- package/types/icon/iconFillSize.ts +0 -15
- package/types/icon/iconSize.ts +0 -23
- package/types/icon/index.ts +0 -8
- package/types/index.ts +0 -31
- package/types/item/index.ts +0 -1
- package/types/item/itemFill.ts +0 -57
- package/types/justifyContent/index.ts +0 -1
- package/types/justifyContent/justifyContent.ts +0 -17
- package/types/opacity/index.ts +0 -1
- package/types/opacity/opacity.ts +0 -26
- package/types/option/index.ts +0 -1
- package/types/overlay/index.ts +0 -1
- package/types/overlay/overlayFill.ts +0 -5
- package/types/position/index.ts +0 -1
- package/types/position/position.ts +0 -11
- package/types/resizeMode/Title.interface.ts +0 -147
- package/types/resizeMode/index.ts +0 -1
- package/types/resizeMode/resizeMode.ts +0 -5
- package/types/shape/index.ts +0 -2
- package/types/shape/shape.ts +0 -6
- package/types/shape/shapeStrength.ts +0 -6
- package/types/size/index.ts +0 -3
- package/types/size/size.ts +0 -6
- package/types/size/sizeHeading.ts +0 -6
- package/types/size/sizePX.ts +0 -22
- package/types/stacking/index.ts +0 -1
- package/types/stacking/stacking.ts +0 -5
- package/types/state/index.ts +0 -1
- package/types/state/state.ts +0 -12
- package/types/style/index.ts +0 -1
- package/types/style/style.ts +0 -6
- package/types/svgFill/index.ts +0 -3
- package/types/svgFill/svgFill.ts +0 -7
- package/types/svgFill/svgFillHover.ts +0 -7
- package/types/svgFill/svgFillItem.ts +0 -7
- package/types/text/index.ts +0 -11
- package/types/text/textAlign.ts +0 -5
- package/types/text/textColor.ts +0 -55
- package/types/text/textColorActive.ts +0 -57
- package/types/text/textColorActiveHover.ts +0 -58
- package/types/text/textColorDisabled.ts +0 -57
- package/types/text/textColorFocus.ts +0 -57
- package/types/text/textColorHover.ts +0 -57
- package/types/text/textFont.ts +0 -5
- package/types/text/textSize.ts +0 -5
- package/types/text/textStyle.ts +0 -5
- package/types/text/textTag.ts +0 -5
- package/types/text/textWeight.ts +0 -34
- package/types/text/textWrap.ts +0 -5
- package/types/title/index.ts +0 -1
- package/types/title/titleSize.ts +0 -5
- package/types/underline/index.ts +0 -1
- package/types/underline/underline.ts +0 -5
- package/types/width/index.ts +0 -1
- package/types/width/width.ts +0 -5
- package/types/wrap/index.ts +0 -1
- package/types/wrap/wrap.ts +0 -5
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
const borderColorProps = [
|
|
2
|
-
'accentBorderPrimary',
|
|
3
|
-
'accentBorderSecondary',
|
|
4
|
-
'accentBorderTertiary',
|
|
5
|
-
'accentBorderQuaternary',
|
|
6
|
-
|
|
7
|
-
'specialBorderPrimary',
|
|
8
|
-
'specialBorderSecondary',
|
|
9
|
-
'specialBorderTertiary',
|
|
10
|
-
'specialBorderQuaternary',
|
|
11
|
-
|
|
12
|
-
'extraBorderPrimary',
|
|
13
|
-
'extraBorderSecondary',
|
|
14
|
-
'extraBorderTertiary',
|
|
15
|
-
'extraBorderQuaternary',
|
|
16
|
-
|
|
17
|
-
'surfaceBorderPrimary',
|
|
18
|
-
'surfaceBorderSecondary',
|
|
19
|
-
'surfaceBorderTertiary',
|
|
20
|
-
'surfaceBorderQuaternary',
|
|
21
|
-
|
|
22
|
-
'errorBorderPrimary',
|
|
23
|
-
'errorBorderSecondary',
|
|
24
|
-
'errorBorderTertiary',
|
|
25
|
-
'errorBorderQuaternary',
|
|
26
|
-
|
|
27
|
-
'warningBorderPrimary',
|
|
28
|
-
'warningBorderSecondary',
|
|
29
|
-
'warningBorderTertiary',
|
|
30
|
-
'warningBorderQuaternary',
|
|
31
|
-
|
|
32
|
-
'successBorderPrimary',
|
|
33
|
-
'successBorderSecondary',
|
|
34
|
-
'successBorderTertiary',
|
|
35
|
-
'successBorderQuaternary',
|
|
36
|
-
|
|
37
|
-
'infoBorderPrimary',
|
|
38
|
-
'infoBorderSecondary',
|
|
39
|
-
'infoBorderTertiary',
|
|
40
|
-
'infoBorderQuaternary',
|
|
41
|
-
|
|
42
|
-
'dangerBorderPrimary',
|
|
43
|
-
'dangerBorderSecondary',
|
|
44
|
-
'dangerBorderTertiary',
|
|
45
|
-
'dangerBorderQuaternary',
|
|
46
|
-
|
|
47
|
-
'disabledBorderPrimary',
|
|
48
|
-
'disabledBorderSecondary',
|
|
49
|
-
'disabledBorderTertiary',
|
|
50
|
-
'disabledBorderQuaternary',
|
|
51
|
-
|
|
52
|
-
'none',
|
|
53
|
-
] as const
|
|
54
|
-
|
|
55
|
-
export type BorderColorProps = (typeof borderColorProps)[number]
|
|
56
|
-
|
|
57
|
-
export { borderColorProps }
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
const borderColorActiveProps = [
|
|
2
|
-
'accentBorderActivePrimary',
|
|
3
|
-
'accentBorderActiveSecondary',
|
|
4
|
-
'accentBorderActiveTertiary',
|
|
5
|
-
'accentBorderActiveQuaternary',
|
|
6
|
-
|
|
7
|
-
'specialBorderActivePrimary',
|
|
8
|
-
'specialBorderActiveSecondary',
|
|
9
|
-
'specialBorderActiveTertiary',
|
|
10
|
-
'specialBorderActiveQuaternary',
|
|
11
|
-
|
|
12
|
-
'extraBorderActivePrimary',
|
|
13
|
-
'extraBorderActiveSecondary',
|
|
14
|
-
'extraBorderActiveTertiary',
|
|
15
|
-
'extraBorderActiveQuaternary',
|
|
16
|
-
|
|
17
|
-
'surfaceBorderActivePrimary',
|
|
18
|
-
'surfaceBorderActiveSecondary',
|
|
19
|
-
'surfaceBorderActiveTertiary',
|
|
20
|
-
'surfaceBorderActiveQuaternary',
|
|
21
|
-
|
|
22
|
-
'errorBorderActivePrimary',
|
|
23
|
-
'errorBorderActiveSecondary',
|
|
24
|
-
'errorBorderActiveTertiary',
|
|
25
|
-
'errorBorderActiveQuaternary',
|
|
26
|
-
|
|
27
|
-
'warningBorderActivePrimary',
|
|
28
|
-
'warningBorderActiveSecondary',
|
|
29
|
-
'warningBorderActiveTertiary',
|
|
30
|
-
'warningBorderActiveQuaternary',
|
|
31
|
-
|
|
32
|
-
'successBorderActivePrimary',
|
|
33
|
-
'successBorderActiveSecondary',
|
|
34
|
-
'successBorderActiveTertiary',
|
|
35
|
-
'successBorderActiveQuaternary',
|
|
36
|
-
|
|
37
|
-
'infoBorderActivePrimary',
|
|
38
|
-
'infoBorderActiveSecondary',
|
|
39
|
-
'infoBorderActiveTertiary',
|
|
40
|
-
'infoBorderActiveQuaternary',
|
|
41
|
-
|
|
42
|
-
'dangerBorderActivePrimary',
|
|
43
|
-
'dangerBorderActiveSecondary',
|
|
44
|
-
'dangerBorderActiveTertiary',
|
|
45
|
-
'dangerBorderActiveQuaternary',
|
|
46
|
-
|
|
47
|
-
'disabledBorderActivePrimary',
|
|
48
|
-
'disabledBorderActiveSecondary',
|
|
49
|
-
'disabledBorderActiveTertiary',
|
|
50
|
-
'disabledBorderActiveQuaternary',
|
|
51
|
-
|
|
52
|
-
'none',
|
|
53
|
-
] as const
|
|
54
|
-
|
|
55
|
-
export type BorderColorActiveProps = (typeof borderColorActiveProps)[number]
|
|
56
|
-
|
|
57
|
-
export { borderColorActiveProps }
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
const borderColorDisabledProps = [
|
|
2
|
-
'accentBorderDisabledPrimary',
|
|
3
|
-
'accentBorderDisabledSecondary',
|
|
4
|
-
'accentBorderDisabledTertiary',
|
|
5
|
-
'accentBorderDisabledQuaternary',
|
|
6
|
-
|
|
7
|
-
'specialBorderDisabledPrimary',
|
|
8
|
-
'specialBorderDisabledSecondary',
|
|
9
|
-
'specialBorderDisabledTertiary',
|
|
10
|
-
'specialBorderDisabledQuaternary',
|
|
11
|
-
|
|
12
|
-
'extraBorderDisabledPrimary',
|
|
13
|
-
'extraBorderDisabledSecondary',
|
|
14
|
-
'extraBorderDisabledTertiary',
|
|
15
|
-
'extraBorderDisabledQuaternary',
|
|
16
|
-
|
|
17
|
-
'surfaceBorderDisabledPrimary',
|
|
18
|
-
'surfaceBorderDisabledSecondary',
|
|
19
|
-
'surfaceBorderDisabledTertiary',
|
|
20
|
-
'surfaceBorderDisabledQuaternary',
|
|
21
|
-
|
|
22
|
-
'errorBorderDisabledPrimary',
|
|
23
|
-
'errorBorderDisabledSecondary',
|
|
24
|
-
'errorBorderDisabledTertiary',
|
|
25
|
-
'errorBorderDisabledQuaternary',
|
|
26
|
-
|
|
27
|
-
'warningBorderDisabledPrimary',
|
|
28
|
-
'warningBorderDisabledSecondary',
|
|
29
|
-
'warningBorderDisabledTertiary',
|
|
30
|
-
'warningBorderDisabledQuaternary',
|
|
31
|
-
|
|
32
|
-
'successBorderDisabledPrimary',
|
|
33
|
-
'successBorderDisabledSecondary',
|
|
34
|
-
'successBorderDisabledTertiary',
|
|
35
|
-
'successBorderDisabledQuaternary',
|
|
36
|
-
|
|
37
|
-
'infoBorderDisabledPrimary',
|
|
38
|
-
'infoBorderDisabledSecondary',
|
|
39
|
-
'infoBorderDisabledTertiary',
|
|
40
|
-
'infoBorderDisabledQuaternary',
|
|
41
|
-
|
|
42
|
-
'dangerBorderDisabledPrimary',
|
|
43
|
-
'dangerBorderDisabledSecondary',
|
|
44
|
-
'dangerBorderDisabledTertiary',
|
|
45
|
-
'dangerBorderDisabledQuaternary',
|
|
46
|
-
|
|
47
|
-
'disabledBorderDisabledPrimary',
|
|
48
|
-
'disabledBorderDisabledSecondary',
|
|
49
|
-
'disabledBorderDisabledTertiary',
|
|
50
|
-
'disabledBorderDisabledQuaternary',
|
|
51
|
-
|
|
52
|
-
'none',
|
|
53
|
-
] as const
|
|
54
|
-
|
|
55
|
-
export type BorderColorDisabledProps = (typeof borderColorDisabledProps)[number]
|
|
56
|
-
|
|
57
|
-
export { borderColorDisabledProps }
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
const borderColorFocusProps = [
|
|
2
|
-
'accentBorderFocusPrimary',
|
|
3
|
-
'accentBorderFocusSecondary',
|
|
4
|
-
'accentBorderFocusTertiary',
|
|
5
|
-
'accentBorderFocusQuaternary',
|
|
6
|
-
|
|
7
|
-
'specialBorderFocusPrimary',
|
|
8
|
-
'specialBorderFocusSecondary',
|
|
9
|
-
'specialBorderFocusTertiary',
|
|
10
|
-
'specialBorderFocusQuaternary',
|
|
11
|
-
|
|
12
|
-
'extraBorderFocusPrimary',
|
|
13
|
-
'extraBorderFocusSecondary',
|
|
14
|
-
'extraBorderFocusTertiary',
|
|
15
|
-
'extraBorderFocusQuaternary',
|
|
16
|
-
|
|
17
|
-
'surfaceBorderFocusPrimary',
|
|
18
|
-
'surfaceBorderFocusSecondary',
|
|
19
|
-
'surfaceBorderFocusTertiary',
|
|
20
|
-
'surfaceBorderFocusQuaternary',
|
|
21
|
-
|
|
22
|
-
'errorBorderFocusPrimary',
|
|
23
|
-
'errorBorderFocusSecondary',
|
|
24
|
-
'errorBorderFocusTertiary',
|
|
25
|
-
'errorBorderFocusQuaternary',
|
|
26
|
-
|
|
27
|
-
'warningBorderFocusPrimary',
|
|
28
|
-
'warningBorderFocusSecondary',
|
|
29
|
-
'warningBorderFocusTertiary',
|
|
30
|
-
'warningBorderFocusQuaternary',
|
|
31
|
-
|
|
32
|
-
'successBorderFocusPrimary',
|
|
33
|
-
'successBorderFocusSecondary',
|
|
34
|
-
'successBorderFocusTertiary',
|
|
35
|
-
'successBorderFocusQuaternary',
|
|
36
|
-
|
|
37
|
-
'infoBorderFocusPrimary',
|
|
38
|
-
'infoBorderFocusSecondary',
|
|
39
|
-
'infoBorderFocusTertiary',
|
|
40
|
-
'infoBorderFocusQuaternary',
|
|
41
|
-
|
|
42
|
-
'dangerBorderFocusPrimary',
|
|
43
|
-
'dangerBorderFocusSecondary',
|
|
44
|
-
'dangerBorderFocusTertiary',
|
|
45
|
-
'dangerBorderFocusQuaternary',
|
|
46
|
-
|
|
47
|
-
'disabledBorderFocusPrimary',
|
|
48
|
-
'disabledBorderFocusSecondary',
|
|
49
|
-
'disabledBorderFocusTertiary',
|
|
50
|
-
'disabledBorderFocusQuaternary',
|
|
51
|
-
|
|
52
|
-
'none',
|
|
53
|
-
] as const
|
|
54
|
-
|
|
55
|
-
export type BorderColorFocusProps = (typeof borderColorFocusProps)[number]
|
|
56
|
-
|
|
57
|
-
export { borderColorFocusProps }
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
const borderColorHoverProps = [
|
|
2
|
-
'accentBorderHoverPrimary',
|
|
3
|
-
'accentBorderHoverSecondary',
|
|
4
|
-
'accentBorderHoverTertiary',
|
|
5
|
-
'accentBorderHoverQuaternary',
|
|
6
|
-
|
|
7
|
-
'specialBorderHoverPrimary',
|
|
8
|
-
'specialBorderHoverSecondary',
|
|
9
|
-
'specialBorderHoverTertiary',
|
|
10
|
-
'specialBorderHoverQuaternary',
|
|
11
|
-
|
|
12
|
-
'extraBorderHoverPrimary',
|
|
13
|
-
'extraBorderHoverSecondary',
|
|
14
|
-
'extraBorderHoverTertiary',
|
|
15
|
-
'extraBorderHoverQuaternary',
|
|
16
|
-
|
|
17
|
-
'surfaceBorderHoverPrimary',
|
|
18
|
-
'surfaceBorderHoverSecondary',
|
|
19
|
-
'surfaceBorderHoverTertiary',
|
|
20
|
-
'surfaceBorderHoverQuaternary',
|
|
21
|
-
|
|
22
|
-
'errorBorderHoverPrimary',
|
|
23
|
-
'errorBorderHoverSecondary',
|
|
24
|
-
'errorBorderHoverTertiary',
|
|
25
|
-
'errorBorderHoverQuaternary',
|
|
26
|
-
|
|
27
|
-
'warningBorderHoverPrimary',
|
|
28
|
-
'warningBorderHoverSecondary',
|
|
29
|
-
'warningBorderHoverTertiary',
|
|
30
|
-
'warningBorderHoverQuaternary',
|
|
31
|
-
|
|
32
|
-
'successBorderHoverPrimary',
|
|
33
|
-
'successBorderHoverSecondary',
|
|
34
|
-
'successBorderHoverTertiary',
|
|
35
|
-
'successBorderHoverQuaternary',
|
|
36
|
-
|
|
37
|
-
'infoBorderHoverPrimary',
|
|
38
|
-
'infoBorderHoverSecondary',
|
|
39
|
-
'infoBorderHoverTertiary',
|
|
40
|
-
'infoBorderHoverQuaternary',
|
|
41
|
-
|
|
42
|
-
'dangerBorderHoverPrimary',
|
|
43
|
-
'dangerBorderHoverSecondary',
|
|
44
|
-
'dangerBorderHoverTertiary',
|
|
45
|
-
'dangerBorderHoverQuaternary',
|
|
46
|
-
|
|
47
|
-
'disabledBorderHoverPrimary',
|
|
48
|
-
'disabledBorderHoverSecondary',
|
|
49
|
-
'disabledBorderHoverTertiary',
|
|
50
|
-
'disabledBorderHoverQuaternary',
|
|
51
|
-
|
|
52
|
-
'none',
|
|
53
|
-
] as const
|
|
54
|
-
|
|
55
|
-
export type BorderColorHoverProps = (typeof borderColorHoverProps)[number]
|
|
56
|
-
|
|
57
|
-
export { borderColorHoverProps }
|
package/types/border/index.ts
DELETED
package/types/centering/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './centering'
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
const colorActiveProps = [
|
|
2
|
-
'accentActivePrimary',
|
|
3
|
-
'accentActiveSecondary',
|
|
4
|
-
'accentActiveTertiary',
|
|
5
|
-
'accentActiveQuaternary',
|
|
6
|
-
|
|
7
|
-
'specialActivePrimary',
|
|
8
|
-
'specialActiveSecondary',
|
|
9
|
-
'specialActiveTertiary',
|
|
10
|
-
'specialActiveQuaternary',
|
|
11
|
-
|
|
12
|
-
'extraActivePrimary',
|
|
13
|
-
'extraActiveSecondary',
|
|
14
|
-
'extraActiveTertiary',
|
|
15
|
-
'extraActiveQuaternary',
|
|
16
|
-
|
|
17
|
-
'surfaceActivePrimary',
|
|
18
|
-
'surfaceActiveSecondary',
|
|
19
|
-
'surfaceActiveTertiary',
|
|
20
|
-
'surfaceActiveQuaternary',
|
|
21
|
-
|
|
22
|
-
'errorActivePrimary',
|
|
23
|
-
'errorActiveSecondary',
|
|
24
|
-
'errorActiveTertiary',
|
|
25
|
-
'errorActiveQuaternary',
|
|
26
|
-
|
|
27
|
-
'warningActivePrimary',
|
|
28
|
-
'warningActiveSecondary',
|
|
29
|
-
'warningActiveTertiary',
|
|
30
|
-
'warningActiveQuaternary',
|
|
31
|
-
|
|
32
|
-
'successActivePrimary',
|
|
33
|
-
'successActiveSecondary',
|
|
34
|
-
'successActiveTertiary',
|
|
35
|
-
'successActiveQuaternary',
|
|
36
|
-
|
|
37
|
-
'infoActivePrimary',
|
|
38
|
-
'infoActiveSecondary',
|
|
39
|
-
'infoActiveTertiary',
|
|
40
|
-
'infoActiveQuaternary',
|
|
41
|
-
|
|
42
|
-
'dangerActivePrimary',
|
|
43
|
-
'dangerActiveSecondary',
|
|
44
|
-
'dangerActiveTertiary',
|
|
45
|
-
'dangerActiveQuaternary',
|
|
46
|
-
|
|
47
|
-
'disabledActivePrimary',
|
|
48
|
-
'disabledActiveSecondary',
|
|
49
|
-
'disabledActiveTertiary',
|
|
50
|
-
'disabledActiveQuaternary',
|
|
51
|
-
|
|
52
|
-
'none',
|
|
53
|
-
] as const
|
|
54
|
-
|
|
55
|
-
export type colorActiveProps = (typeof colorActiveProps)[number]
|
|
56
|
-
|
|
57
|
-
export { colorActiveProps }
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
const colorDisabledProps = [
|
|
2
|
-
'accentDisabledPrimary',
|
|
3
|
-
'accentDisabledSecondary',
|
|
4
|
-
'accentDisabledTertiary',
|
|
5
|
-
'accentDisabledQuaternary',
|
|
6
|
-
|
|
7
|
-
'specialDisabledPrimary',
|
|
8
|
-
'specialDisabledSecondary',
|
|
9
|
-
'specialDisabledTertiary',
|
|
10
|
-
'specialDisabledQuaternary',
|
|
11
|
-
|
|
12
|
-
'extraDisabledPrimary',
|
|
13
|
-
'extraDisabledSecondary',
|
|
14
|
-
'extraDisabledTertiary',
|
|
15
|
-
'extraDisabledQuaternary',
|
|
16
|
-
|
|
17
|
-
'surfaceDisabledPrimary',
|
|
18
|
-
'surfaceDisabledSecondary',
|
|
19
|
-
'surfaceDisabledTertiary',
|
|
20
|
-
'surfaceDisabledQuaternary',
|
|
21
|
-
|
|
22
|
-
'errorDisabledPrimary',
|
|
23
|
-
'errorDisabledSecondary',
|
|
24
|
-
'errorDisabledTertiary',
|
|
25
|
-
'errorDisabledQuaternary',
|
|
26
|
-
|
|
27
|
-
'warningDisabledPrimary',
|
|
28
|
-
'warningDisabledSecondary',
|
|
29
|
-
'warningDisabledTertiary',
|
|
30
|
-
'warningDisabledQuaternary',
|
|
31
|
-
|
|
32
|
-
'successDisabledPrimary',
|
|
33
|
-
'successDisabledSecondary',
|
|
34
|
-
'successDisabledTertiary',
|
|
35
|
-
'successDisabledQuaternary',
|
|
36
|
-
|
|
37
|
-
'infoDisabledPrimary',
|
|
38
|
-
'infoDisabledSecondary',
|
|
39
|
-
'infoDisabledTertiary',
|
|
40
|
-
'infoDisabledQuaternary',
|
|
41
|
-
|
|
42
|
-
'dangerDisabledPrimary',
|
|
43
|
-
'dangerDisabledSecondary',
|
|
44
|
-
'dangerDisabledTertiary',
|
|
45
|
-
'dangerDisabledQuaternary',
|
|
46
|
-
|
|
47
|
-
'disabledDisabledPrimary',
|
|
48
|
-
'disabledDisabledSecondary',
|
|
49
|
-
'disabledDisabledTertiary',
|
|
50
|
-
'disabledDisabledQuaternary',
|
|
51
|
-
|
|
52
|
-
'none',
|
|
53
|
-
] as const
|
|
54
|
-
|
|
55
|
-
export type colorDisabledProps = (typeof colorDisabledProps)[number]
|
|
56
|
-
|
|
57
|
-
export { colorDisabledProps }
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
const colorFocusProps = [
|
|
2
|
-
'accentFocusPrimary',
|
|
3
|
-
'accentFocusSecondary',
|
|
4
|
-
'accentFocusTertiary',
|
|
5
|
-
'accentFocusQuaternary',
|
|
6
|
-
|
|
7
|
-
'specialFocusPrimary',
|
|
8
|
-
'specialFocusSecondary',
|
|
9
|
-
'specialFocusTertiary',
|
|
10
|
-
'specialFocusQuaternary',
|
|
11
|
-
|
|
12
|
-
'extraFocusPrimary',
|
|
13
|
-
'extraFocusSecondary',
|
|
14
|
-
'extraFocusTertiary',
|
|
15
|
-
'extraFocusQuaternary',
|
|
16
|
-
|
|
17
|
-
'surfaceFocusPrimary',
|
|
18
|
-
'surfaceFocusSecondary',
|
|
19
|
-
'surfaceFocusTertiary',
|
|
20
|
-
'surfaceFocusQuaternary',
|
|
21
|
-
|
|
22
|
-
'errorFocusPrimary',
|
|
23
|
-
'errorFocusSecondary',
|
|
24
|
-
'errorFocusTertiary',
|
|
25
|
-
'errorFocusQuaternary',
|
|
26
|
-
|
|
27
|
-
'warningFocusPrimary',
|
|
28
|
-
'warningFocusSecondary',
|
|
29
|
-
'warningFocusTertiary',
|
|
30
|
-
'warningFocusQuaternary',
|
|
31
|
-
|
|
32
|
-
'successFocusPrimary',
|
|
33
|
-
'successFocusSecondary',
|
|
34
|
-
'successFocusTertiary',
|
|
35
|
-
'successFocusQuaternary',
|
|
36
|
-
|
|
37
|
-
'infoFocusPrimary',
|
|
38
|
-
'infoFocusSecondary',
|
|
39
|
-
'infoFocusTertiary',
|
|
40
|
-
'infoFocusQuaternary',
|
|
41
|
-
|
|
42
|
-
'dangerFocusPrimary',
|
|
43
|
-
'dangerFocusSecondary',
|
|
44
|
-
'dangerFocusTertiary',
|
|
45
|
-
'dangerFocusQuaternary',
|
|
46
|
-
|
|
47
|
-
'disabledFocusPrimary',
|
|
48
|
-
'disabledFocusSecondary',
|
|
49
|
-
'disabledFocusTertiary',
|
|
50
|
-
'disabledFocusQuaternary',
|
|
51
|
-
|
|
52
|
-
'none',
|
|
53
|
-
] as const
|
|
54
|
-
|
|
55
|
-
export type ColorFocusProps = (typeof colorFocusProps)[number]
|
|
56
|
-
|
|
57
|
-
export { colorFocusProps }
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
const colorHoverProps = [
|
|
2
|
-
'accentHoverPrimary',
|
|
3
|
-
'accentHoverSecondary',
|
|
4
|
-
'accentHoverTertiary',
|
|
5
|
-
'accentHoverQuaternary',
|
|
6
|
-
|
|
7
|
-
'specialHoverPrimary',
|
|
8
|
-
'specialHoverSecondary',
|
|
9
|
-
'specialHoverTertiary',
|
|
10
|
-
'specialHoverQuaternary',
|
|
11
|
-
|
|
12
|
-
'extraHoverPrimary',
|
|
13
|
-
'extraHoverSecondary',
|
|
14
|
-
'extraHoverTertiary',
|
|
15
|
-
'extraHoverQuaternary',
|
|
16
|
-
|
|
17
|
-
'surfaceHoverPrimary',
|
|
18
|
-
'surfaceHoverSecondary',
|
|
19
|
-
'surfaceHoverTertiary',
|
|
20
|
-
'surfaceHoverQuaternary',
|
|
21
|
-
|
|
22
|
-
'errorHoverPrimary',
|
|
23
|
-
'errorHoverSecondary',
|
|
24
|
-
'errorHoverTertiary',
|
|
25
|
-
'errorHoverQuaternary',
|
|
26
|
-
|
|
27
|
-
'warningHoverPrimary',
|
|
28
|
-
'warningHoverSecondary',
|
|
29
|
-
'warningHoverTertiary',
|
|
30
|
-
'warningHoverQuaternary',
|
|
31
|
-
|
|
32
|
-
'successHoverPrimary',
|
|
33
|
-
'successHoverSecondary',
|
|
34
|
-
'successHoverTertiary',
|
|
35
|
-
'successHoverQuaternary',
|
|
36
|
-
|
|
37
|
-
'infoHoverPrimary',
|
|
38
|
-
'infoHoverSecondary',
|
|
39
|
-
'infoHoverTertiary',
|
|
40
|
-
'infoHoverQuaternary',
|
|
41
|
-
|
|
42
|
-
'dangerHoverPrimary',
|
|
43
|
-
'dangerHoverSecondary',
|
|
44
|
-
'dangerHoverTertiary',
|
|
45
|
-
'dangerHoverQuaternary',
|
|
46
|
-
|
|
47
|
-
'disabledHoverPrimary',
|
|
48
|
-
'disabledHoverSecondary',
|
|
49
|
-
'disabledHoverTertiary',
|
|
50
|
-
'disabledHoverQuaternary',
|
|
51
|
-
|
|
52
|
-
'none',
|
|
53
|
-
] as const
|
|
54
|
-
|
|
55
|
-
export type colorHoverProps = (typeof colorHoverProps)[number]
|
|
56
|
-
|
|
57
|
-
export { colorHoverProps }
|
package/types/colors/index.ts
DELETED
package/types/common/common.ts
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Used for objects unique identifier as "id" property. Sometime id may be
|
|
3
|
-
* generated as random string(uuid) or number from the rest-api response.
|
|
4
|
-
* Or in some cases when JS convert number to string, e.g. cookies, search-params, etc.
|
|
5
|
-
*/
|
|
6
|
-
type Id = number | string
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Date
|
|
10
|
-
* @format ISO date: "2024-01-31"
|
|
11
|
-
*/
|
|
12
|
-
type DateIso = string
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Date and time
|
|
16
|
-
* @format ISO date and time: "2024-01-31T23:00:59.322230+03:00"
|
|
17
|
-
*/
|
|
18
|
-
type DateTimeIso = string
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* URL to some endpoint. E.g.: to django rest framework
|
|
22
|
-
* @format relative URL: "/rest/{...}/some/"
|
|
23
|
-
*/
|
|
24
|
-
type RelativeUrl = string
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* URL to some endpoint. E.g.: to django rest framework
|
|
28
|
-
* @format absolute URL: "https://itcase.pro/rest/{...}/some/"
|
|
29
|
-
*/
|
|
30
|
-
type AbsoluteUrl = string
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* URL to file. E.g.: in django media folder
|
|
34
|
-
* @format relative URL: "/media/uploads/{...}/file_name.png"
|
|
35
|
-
*/
|
|
36
|
-
type ImageRelativeUrl = string
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* URL to file. E.g.: in django media folder
|
|
40
|
-
* @format absolute URL: "https://itcase.pro/media/uploads/{...}/file_name.png"
|
|
41
|
-
*/
|
|
42
|
-
type ImageAbsoluteUrl = string
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Simple callback function that takes no arguments and returns nothing.
|
|
46
|
-
* This type is used for basic event handlers or asynchronous operations.
|
|
47
|
-
*/
|
|
48
|
-
type SimpleCallback = () => void
|
|
49
|
-
|
|
50
|
-
export type {
|
|
51
|
-
Id,
|
|
52
|
-
DateIso,
|
|
53
|
-
DateTimeIso,
|
|
54
|
-
RelativeUrl,
|
|
55
|
-
AbsoluteUrl,
|
|
56
|
-
ImageRelativeUrl,
|
|
57
|
-
ImageAbsoluteUrl,
|
|
58
|
-
SimpleCallback,
|
|
59
|
-
}
|
package/types/common/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './common'
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
const directionHVProps = ['vertical', 'horizontal'] as const
|
|
2
|
-
|
|
3
|
-
const directionProps = [
|
|
4
|
-
'row',
|
|
5
|
-
'row-reverse',
|
|
6
|
-
'column',
|
|
7
|
-
'column-reverse',
|
|
8
|
-
...directionHVProps,
|
|
9
|
-
] as const
|
|
10
|
-
|
|
11
|
-
export type DirectionProps = (typeof directionProps)[number]
|
|
12
|
-
export type DirectionHVProps = (typeof directionHVProps)[number]
|
|
13
|
-
|
|
14
|
-
export { directionProps, directionHVProps }
|
package/types/direction/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './direction'
|
package/types/elevation/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './elevation'
|