@itcase/types 1.0.6 → 1.0.7
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/package.json +9 -9
- package/types/appearance/index.ts +110 -0
- package/types/border/borderColor.ts +34 -23
- package/types/border/index.ts +0 -1
- package/types/colors/active.ts +57 -0
- package/types/colors/colorsSvg.ts +7 -0
- package/types/colors/disabled.ts +57 -0
- package/types/colors/focus.ts +57 -0
- package/types/colors/hover.ts +57 -0
- package/types/colors/index.ts +4 -0
- package/types/fill/fill.ts +34 -16
- package/types/fill/fillGradient.ts +4 -7
- package/types/fill/fillSize.ts +17 -0
- package/types/fill/index.ts +1 -2
- package/types/index.ts +11 -20
- package/types/item/index.ts +1 -0
- package/types/item/item.ts +57 -0
- package/types/{resizeMode.ts → resizeMode/resizeMode.ts} +1 -7
- package/types/shape/index.ts +1 -0
- package/types/shape/shape.ts +13 -0
- package/types/size/index.ts +1 -1
- package/types/style/index.ts +1 -0
- package/types/style/style.ts +6 -0
- package/types/text/index.ts +0 -5
- package/types/text/textColor.ts +31 -16
- package/types/appearanceKeys.ts +0 -43
- package/types/border/borderColorHover.ts +0 -18
- package/types/fill/fillHover.ts +0 -20
- package/types/fill/fillType.ts +0 -5
- package/types/flex/flexAlign.ts +0 -12
- package/types/flex/flexGrow.ts +0 -5
- package/types/flex/flexJustifyContent.ts +0 -12
- package/types/flex/flexWrap.ts +0 -5
- package/types/flex/index.ts +0 -4
- package/types/grid/gridAlign.ts +0 -23
- package/types/grid/gridAlignSelf.ts +0 -23
- package/types/grid/gridJustifyItems.ts +0 -24
- package/types/grid/gridJustifySelf.ts +0 -28
- package/types/grid/index.ts +0 -4
- package/types/horizontal/horizontalContentAlign.ts +0 -6
- package/types/horizontal/horizontalResizeMode.ts +0 -6
- package/types/horizontal/index.ts +0 -2
- package/types/icon/iconFillSize.ts +0 -16
- package/types/icon/iconSize.ts +0 -17
- package/types/icon/index.ts +0 -2
- package/types/itemColor.ts +0 -39
- package/types/overflow.ts +0 -5
- package/types/shape.ts +0 -5
- package/types/size/sizeOption.ts +0 -18
- package/types/svgFill.ts +0 -33
- package/types/text/textAlign.ts +0 -5
- package/types/text/textGradient.ts +0 -13
- package/types/text/textStyle.ts +0 -5
- package/types/text/textWeight.ts +0 -21
- package/types/text/textWrap.ts +0 -5
- package/types/type.ts +0 -13
- package/types/vertical/index.ts +0 -2
- package/types/vertical/verticalContentAlign.ts +0 -6
- package/types/vertical/verticalResizeMode.ts +0 -5
- /package/types/{common.ts → common/common.ts} +0 -0
- /package/types/{direction.ts → direction/direction.ts} +0 -0
- /package/types/{elevation.ts → elevation/elevation.ts} +0 -0
- /package/types/{height.ts → height/index.ts} +0 -0
- /package/types/{justifyContent.ts → justifyContent/justifyContent.ts} +0 -0
- /package/types/{position.ts → position/position.ts} +0 -0
- /package/types/{titleSize.ts → size/titleSize.ts} +0 -0
- /package/types/{stacking.ts → stacking/stacking.ts} +0 -0
- /package/types/{underline.ts → underline/underline.ts} +0 -0
- /package/types/{width.ts → width/index.ts} +0 -0
- /package/types/{wrap.ts → wrap/wrap.ts} +0 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
const itemProps = [
|
|
2
|
+
'accentItemPrimary',
|
|
3
|
+
'accentItemSecondary',
|
|
4
|
+
'accentItemTertiary',
|
|
5
|
+
'accentItemQuaternary',
|
|
6
|
+
|
|
7
|
+
'specialItemPrimary',
|
|
8
|
+
'specialItemSecondary',
|
|
9
|
+
'specialItemTertiary',
|
|
10
|
+
'specialItemQuaternary',
|
|
11
|
+
|
|
12
|
+
'extraItemPrimary',
|
|
13
|
+
'extraItemSecondary',
|
|
14
|
+
'extraItemTertiary',
|
|
15
|
+
'extraItemQuaternary',
|
|
16
|
+
|
|
17
|
+
'surfaceItemPrimary',
|
|
18
|
+
'surfaceItemSecondary',
|
|
19
|
+
'surfaceItemTertiary',
|
|
20
|
+
'surfaceItemQuaternary',
|
|
21
|
+
|
|
22
|
+
'errorItemPrimary',
|
|
23
|
+
'errorItemSecondary',
|
|
24
|
+
'errorItemTertiary',
|
|
25
|
+
'errorItemQuaternary',
|
|
26
|
+
|
|
27
|
+
'warningItemPrimary',
|
|
28
|
+
'warningItemSecondary',
|
|
29
|
+
'warningItemTertiary',
|
|
30
|
+
'warningItemQuaternary',
|
|
31
|
+
|
|
32
|
+
'successItemPrimary',
|
|
33
|
+
'successItemSecondary',
|
|
34
|
+
'successItemTertiary',
|
|
35
|
+
'successItemQuaternary',
|
|
36
|
+
|
|
37
|
+
'infoItemPrimary',
|
|
38
|
+
'infoItemSecondary',
|
|
39
|
+
'infoItemTertiary',
|
|
40
|
+
'infoItemQuaternary',
|
|
41
|
+
|
|
42
|
+
'dangerItemPrimary',
|
|
43
|
+
'dangerItemSecondary',
|
|
44
|
+
'dangerItemTertiary',
|
|
45
|
+
'dangerItemQuaternary',
|
|
46
|
+
|
|
47
|
+
'disabledItemPrimary',
|
|
48
|
+
'disabledItemSecondary',
|
|
49
|
+
'disabledItemTertiary',
|
|
50
|
+
'disabledItemQuaternary',
|
|
51
|
+
|
|
52
|
+
'none',
|
|
53
|
+
] as const
|
|
54
|
+
|
|
55
|
+
export type ItemProps = (typeof itemProps)[number]
|
|
56
|
+
|
|
57
|
+
export { itemProps }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './shape'
|
package/types/size/index.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './style'
|
package/types/text/index.ts
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
export * from './textAlign'
|
|
2
1
|
export * from './textColor'
|
|
3
2
|
export * from './textColorActive'
|
|
4
3
|
export * from './textColorHover'
|
|
5
|
-
export * from './textGradient'
|
|
6
4
|
export * from './textSize'
|
|
7
|
-
export * from './textStyle'
|
|
8
5
|
export * from './textTag'
|
|
9
|
-
export * from './textWeight'
|
|
10
|
-
export * from './textWrap'
|
package/types/text/textColor.ts
CHANGED
|
@@ -2,37 +2,52 @@ const textColorProps = [
|
|
|
2
2
|
'accentTextPrimary',
|
|
3
3
|
'accentTextSecondary',
|
|
4
4
|
'accentTextTertiary',
|
|
5
|
+
'accentTextQuaternary',
|
|
5
6
|
|
|
6
|
-
'
|
|
7
|
-
'
|
|
8
|
-
'
|
|
7
|
+
'specialTextPrimary',
|
|
8
|
+
'specialTextSecondary',
|
|
9
|
+
'specialTextTertiary',
|
|
10
|
+
'specialTextQuaternary',
|
|
9
11
|
|
|
10
|
-
'
|
|
11
|
-
'
|
|
12
|
-
'
|
|
12
|
+
'extraTextPrimary',
|
|
13
|
+
'extraTextSecondary',
|
|
14
|
+
'extraTextTertiary',
|
|
15
|
+
'extraTextQuaternary',
|
|
13
16
|
|
|
14
|
-
'tertiaryTextPrimary',
|
|
15
|
-
'tertiaryTextSecondary',
|
|
16
|
-
|
|
17
|
-
'surfaceTextAccent',
|
|
18
|
-
'surfaceTextActive',
|
|
19
|
-
'surfaceTextDisabled',
|
|
20
|
-
'surfaceTextFocus',
|
|
21
|
-
'surfaceTextHover',
|
|
22
|
-
'surfaceTextInverse',
|
|
23
17
|
'surfaceTextPrimary',
|
|
24
|
-
'surfaceTextQuaternary',
|
|
25
18
|
'surfaceTextSecondary',
|
|
26
19
|
'surfaceTextTertiary',
|
|
20
|
+
'surfaceTextQuaternary',
|
|
27
21
|
|
|
28
22
|
'errorTextPrimary',
|
|
29
23
|
'errorTextSecondary',
|
|
24
|
+
'errorTextTertiary',
|
|
25
|
+
'errorTextQuaternary',
|
|
26
|
+
|
|
27
|
+
'warningTextPrimary',
|
|
28
|
+
'warningTextSecondary',
|
|
29
|
+
'warningTextTertiary',
|
|
30
|
+
'warningTextQuaternary',
|
|
30
31
|
|
|
31
32
|
'successTextPrimary',
|
|
32
33
|
'successTextSecondary',
|
|
34
|
+
'successTextTertiary',
|
|
35
|
+
'successTextQuaternary',
|
|
36
|
+
|
|
37
|
+
'infoTextPrimary',
|
|
38
|
+
'infoTextSecondary',
|
|
39
|
+
'infoTextTertiary',
|
|
40
|
+
'infoTextQuaternary',
|
|
33
41
|
|
|
34
42
|
'dangerTextPrimary',
|
|
35
43
|
'dangerTextSecondary',
|
|
44
|
+
'dangerTextTertiary',
|
|
45
|
+
'dangerTextQuaternary',
|
|
46
|
+
|
|
47
|
+
'disabledTextPrimary',
|
|
48
|
+
'disabledTextSecondary',
|
|
49
|
+
'disabledTextTertiary',
|
|
50
|
+
'disabledTextQuaternary',
|
|
36
51
|
] as const
|
|
37
52
|
|
|
38
53
|
export type TextColorProps = (typeof textColorProps)[number]
|
package/types/appearanceKeys.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type { SizeProps } from './size'
|
|
2
|
-
|
|
3
|
-
type AppearanceKeysDefault =
|
|
4
|
-
| 'accent'
|
|
5
|
-
| 'accentPrimary'
|
|
6
|
-
| 'accentQuaternary'
|
|
7
|
-
| 'accentSecondary'
|
|
8
|
-
| 'accentTertiary'
|
|
9
|
-
| 'any'
|
|
10
|
-
| 'cantLoadData'
|
|
11
|
-
| 'confirm'
|
|
12
|
-
| 'custom'
|
|
13
|
-
| 'default'
|
|
14
|
-
| 'disabled'
|
|
15
|
-
| 'error'
|
|
16
|
-
| 'fail'
|
|
17
|
-
| 'full'
|
|
18
|
-
| 'ghost'
|
|
19
|
-
| 'gradientPrimary'
|
|
20
|
-
| 'nothingFound'
|
|
21
|
-
| 'outlined'
|
|
22
|
-
| 'primary'
|
|
23
|
-
| 'refresh'
|
|
24
|
-
| 'search'
|
|
25
|
-
| 'secondary'
|
|
26
|
-
| 'solid'
|
|
27
|
-
| 'success'
|
|
28
|
-
| 'surface'
|
|
29
|
-
| 'surfaceDisabled'
|
|
30
|
-
| 'surfacePrimary'
|
|
31
|
-
| 'surfaceQuaternary'
|
|
32
|
-
| 'surfaceSecondary'
|
|
33
|
-
| 'surfaceTertiary'
|
|
34
|
-
| 'unableLoadData'
|
|
35
|
-
| 'warning'
|
|
36
|
-
|
|
37
|
-
type SizeAppearanceKey = `size${Uppercase<SizeProps>}`
|
|
38
|
-
|
|
39
|
-
type CompositeAppearanceKey =
|
|
40
|
-
| `${AppearanceKeysDefault} ${SizeAppearanceKey}`
|
|
41
|
-
| AppearanceKeysDefault
|
|
42
|
-
|
|
43
|
-
export type { AppearanceKeysDefault, CompositeAppearanceKey, SizeAppearanceKey }
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const borderColorHoverProps = [
|
|
2
|
-
'accentBorderPrimary',
|
|
3
|
-
'accentBorderPrimaryHover',
|
|
4
|
-
'primaryBorderPrimary',
|
|
5
|
-
'secondaryBorderPrimary',
|
|
6
|
-
'tertiaryBorderPrimary',
|
|
7
|
-
'surfaceBorderPrimary',
|
|
8
|
-
'surfaceBorderSecondary',
|
|
9
|
-
'surfaceBorderTertiary',
|
|
10
|
-
'errorBorderPrimary',
|
|
11
|
-
'errorBorderPrimaryHover',
|
|
12
|
-
'successBorderPrimary',
|
|
13
|
-
'surfaceBorderQuaternary',
|
|
14
|
-
] as const
|
|
15
|
-
|
|
16
|
-
export type BorderColorHoverProps = (typeof borderColorHoverProps)[number]
|
|
17
|
-
|
|
18
|
-
export { borderColorHoverProps }
|
package/types/fill/fillHover.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
const fillHoverProps = [
|
|
2
|
-
'accentPrimaryHover',
|
|
3
|
-
'accentSecondary',
|
|
4
|
-
'accentSecondaryHover',
|
|
5
|
-
'accentTertiary',
|
|
6
|
-
|
|
7
|
-
'primaryPrimaryHover',
|
|
8
|
-
|
|
9
|
-
'secondaryPrimaryHover',
|
|
10
|
-
|
|
11
|
-
'surfaceItemTertiary',
|
|
12
|
-
'surfacePrimaryHover',
|
|
13
|
-
'surfaceSecondaryHover',
|
|
14
|
-
'surfaceTertiary',
|
|
15
|
-
'surfaceTertiaryHover',
|
|
16
|
-
] as const
|
|
17
|
-
|
|
18
|
-
export type FillHoverProps = (typeof fillHoverProps)[number]
|
|
19
|
-
|
|
20
|
-
export { fillHoverProps }
|
package/types/fill/fillType.ts
DELETED
package/types/flex/flexAlign.ts
DELETED
package/types/flex/flexGrow.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
const flexJustifyContentProps = [
|
|
2
|
-
'flex-start',
|
|
3
|
-
'flex-end',
|
|
4
|
-
'center',
|
|
5
|
-
'space-between',
|
|
6
|
-
'space-around',
|
|
7
|
-
'space-evenly',
|
|
8
|
-
] as const
|
|
9
|
-
|
|
10
|
-
export type FlexJustifyContentProps = (typeof flexJustifyContentProps)[number]
|
|
11
|
-
|
|
12
|
-
export { flexJustifyContentProps }
|
package/types/flex/flexWrap.ts
DELETED
package/types/flex/index.ts
DELETED
package/types/grid/gridAlign.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const gridAlignProps = [
|
|
2
|
-
'auto',
|
|
3
|
-
'normal',
|
|
4
|
-
'stretch',
|
|
5
|
-
'center',
|
|
6
|
-
'start',
|
|
7
|
-
'end',
|
|
8
|
-
'space-around',
|
|
9
|
-
'space-between',
|
|
10
|
-
'space-evenly',
|
|
11
|
-
'safe center',
|
|
12
|
-
'unsafe center',
|
|
13
|
-
'self-start',
|
|
14
|
-
'self-end',
|
|
15
|
-
'first',
|
|
16
|
-
'baseline',
|
|
17
|
-
'first baseline',
|
|
18
|
-
'last baseline',
|
|
19
|
-
] as const
|
|
20
|
-
|
|
21
|
-
export type GridAlignProps = (typeof gridAlignProps)[number]
|
|
22
|
-
|
|
23
|
-
export { gridAlignProps }
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const gridAlignSelfProps = [
|
|
2
|
-
'auto',
|
|
3
|
-
'normal',
|
|
4
|
-
'stretch',
|
|
5
|
-
'center',
|
|
6
|
-
'start',
|
|
7
|
-
'end',
|
|
8
|
-
'space-around',
|
|
9
|
-
'space-between',
|
|
10
|
-
'space-evenly',
|
|
11
|
-
'safe center',
|
|
12
|
-
'unsafe center',
|
|
13
|
-
'self-start',
|
|
14
|
-
'self-end',
|
|
15
|
-
'first',
|
|
16
|
-
'baseline',
|
|
17
|
-
'first baseline',
|
|
18
|
-
'last baseline',
|
|
19
|
-
] as const
|
|
20
|
-
|
|
21
|
-
export type GridAlignSelfProps = (typeof gridAlignSelfProps)[number]
|
|
22
|
-
|
|
23
|
-
export { gridAlignSelfProps }
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
const gridJustifyItemsProps = [
|
|
2
|
-
'legacy',
|
|
3
|
-
'normal',
|
|
4
|
-
'stretch',
|
|
5
|
-
'center',
|
|
6
|
-
'safe',
|
|
7
|
-
'center',
|
|
8
|
-
'unsafe',
|
|
9
|
-
'center',
|
|
10
|
-
'start',
|
|
11
|
-
'end',
|
|
12
|
-
'self-start',
|
|
13
|
-
'self-end',
|
|
14
|
-
'left',
|
|
15
|
-
'right',
|
|
16
|
-
'first',
|
|
17
|
-
'baseline',
|
|
18
|
-
'first baseline',
|
|
19
|
-
'last baseline',
|
|
20
|
-
] as const
|
|
21
|
-
|
|
22
|
-
export type GridJustifyItemsProps = (typeof gridJustifyItemsProps)[number]
|
|
23
|
-
|
|
24
|
-
export { gridJustifyItemsProps }
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
const gridJustifySelfProps = [
|
|
2
|
-
'auto',
|
|
3
|
-
'legacy',
|
|
4
|
-
'normal',
|
|
5
|
-
'stretch',
|
|
6
|
-
'center',
|
|
7
|
-
'start',
|
|
8
|
-
'end',
|
|
9
|
-
'left',
|
|
10
|
-
'right',
|
|
11
|
-
'space-around',
|
|
12
|
-
'space-between',
|
|
13
|
-
'space-evenly',
|
|
14
|
-
'safe',
|
|
15
|
-
'center',
|
|
16
|
-
'unsafe center',
|
|
17
|
-
'self-start',
|
|
18
|
-
'self-end',
|
|
19
|
-
'left',
|
|
20
|
-
'right',
|
|
21
|
-
'baseline',
|
|
22
|
-
'first baseline',
|
|
23
|
-
'last baseline',
|
|
24
|
-
] as const
|
|
25
|
-
|
|
26
|
-
export type GridJustifySelfProps = (typeof gridJustifySelfProps)[number]
|
|
27
|
-
|
|
28
|
-
export { gridJustifySelfProps }
|
package/types/grid/index.ts
DELETED
package/types/icon/iconSize.ts
DELETED
package/types/icon/index.ts
DELETED
package/types/itemColor.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
const itemColorProps = [
|
|
2
|
-
'accentItemPrimary',
|
|
3
|
-
'accentItemSecondary',
|
|
4
|
-
'accentItemTertiary',
|
|
5
|
-
'accentItemDisabled',
|
|
6
|
-
|
|
7
|
-
'primaryItemPrimary',
|
|
8
|
-
'primaryItemSecondary',
|
|
9
|
-
'primaryItemTertiary',
|
|
10
|
-
'primaryItemDisabled',
|
|
11
|
-
|
|
12
|
-
'secondaryItemPrimary',
|
|
13
|
-
'secondaryItemSecondary',
|
|
14
|
-
'secondaryItemTertiary',
|
|
15
|
-
'secondaryItemDisabled',
|
|
16
|
-
|
|
17
|
-
'tertiaryItemPrimary',
|
|
18
|
-
'tertiaryItemSecondary',
|
|
19
|
-
'tertiaryItemTertiary',
|
|
20
|
-
|
|
21
|
-
'surfaceItemPrimary',
|
|
22
|
-
'surfaceItemSecondary',
|
|
23
|
-
'surfaceItemTertiary',
|
|
24
|
-
'surfaceItemQuaternary',
|
|
25
|
-
'surfaceItemQuinary',
|
|
26
|
-
'surfaceItemDisabled',
|
|
27
|
-
'surfaceItemInverse',
|
|
28
|
-
'surfaceItemAccent',
|
|
29
|
-
|
|
30
|
-
'errorItemPrimary',
|
|
31
|
-
'errorItemSecondary',
|
|
32
|
-
|
|
33
|
-
'successItemPrimary',
|
|
34
|
-
'successItemSecondary',
|
|
35
|
-
] as const
|
|
36
|
-
|
|
37
|
-
export type ItemColorProps = (typeof itemColorProps)[number]
|
|
38
|
-
|
|
39
|
-
export { itemColorProps }
|
package/types/overflow.ts
DELETED
package/types/shape.ts
DELETED
package/types/size/sizeOption.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const sizeOptionProps = [
|
|
2
|
-
'any',
|
|
3
|
-
'compact',
|
|
4
|
-
'l',
|
|
5
|
-
'large',
|
|
6
|
-
'm',
|
|
7
|
-
'normal',
|
|
8
|
-
'regular',
|
|
9
|
-
's',
|
|
10
|
-
'tiny',
|
|
11
|
-
'xl',
|
|
12
|
-
'xs',
|
|
13
|
-
'xxl',
|
|
14
|
-
] as const
|
|
15
|
-
|
|
16
|
-
export type SizeOptionProps = (typeof sizeOptionProps)[number]
|
|
17
|
-
|
|
18
|
-
export { sizeOptionProps }
|
package/types/svgFill.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
const svgFillProps = [
|
|
2
|
-
'accentItemPrimary',
|
|
3
|
-
'accentItemSecondary',
|
|
4
|
-
'accentItemTertiary',
|
|
5
|
-
'accentItemDisabled',
|
|
6
|
-
'primaryItemPrimary',
|
|
7
|
-
'primaryItemSecondary',
|
|
8
|
-
'primaryItemTertiary',
|
|
9
|
-
'primaryItemDisabled',
|
|
10
|
-
'secondaryItemPrimary',
|
|
11
|
-
'secondaryItemSecondary',
|
|
12
|
-
'secondaryItemTertiary',
|
|
13
|
-
'secondaryItemDisabled',
|
|
14
|
-
'tertiaryItemPrimary',
|
|
15
|
-
'tertiaryItemSecondary',
|
|
16
|
-
'tertiaryItemTertiary',
|
|
17
|
-
'surfaceItemAccent',
|
|
18
|
-
'surfaceItemDisabled',
|
|
19
|
-
'surfaceItemInverse',
|
|
20
|
-
'surfaceItemPrimary',
|
|
21
|
-
'surfaceItemQuaternary',
|
|
22
|
-
'surfaceItemQuinary',
|
|
23
|
-
'surfaceItemSecondary',
|
|
24
|
-
'surfaceItemTertiary',
|
|
25
|
-
'errorItemPrimary',
|
|
26
|
-
'errorItemSecondary',
|
|
27
|
-
'successItemPrimary',
|
|
28
|
-
'successItemSecondary',
|
|
29
|
-
] as const
|
|
30
|
-
|
|
31
|
-
export type SvgFillProps = (typeof svgFillProps)[number]
|
|
32
|
-
|
|
33
|
-
export { svgFillProps }
|
package/types/text/textAlign.ts
DELETED
package/types/text/textStyle.ts
DELETED
package/types/text/textWeight.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
const textWeightProps = [
|
|
2
|
-
'normal',
|
|
3
|
-
'bold',
|
|
4
|
-
'light',
|
|
5
|
-
'lighter',
|
|
6
|
-
'bolder',
|
|
7
|
-
'100',
|
|
8
|
-
'200',
|
|
9
|
-
'300',
|
|
10
|
-
'400',
|
|
11
|
-
'500',
|
|
12
|
-
'600',
|
|
13
|
-
'700',
|
|
14
|
-
'800',
|
|
15
|
-
'900',
|
|
16
|
-
'950',
|
|
17
|
-
] as const
|
|
18
|
-
|
|
19
|
-
export type TextWeightProps = (typeof textWeightProps)[number]
|
|
20
|
-
|
|
21
|
-
export { textWeightProps }
|
package/types/text/textWrap.ts
DELETED