@itcase/types 1.0.32 → 1.0.34

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 CHANGED
@@ -1,3 +1,7 @@
1
+ ## [1.0.34](https://github.com/ITCase/itcase-types/compare/v1.0.33...v1.0.34) (2025-08-22)
2
+
3
+ ## [1.0.33](https://github.com/ITCase/itcase-types/compare/v1.0.32...v1.0.33) (2025-08-21)
4
+
1
5
  ## [1.0.32](https://github.com/ITCase/itcase-types/compare/v1.0.31...v1.0.32) (2025-08-21)
2
6
 
3
7
  ## [1.0.31](https://github.com/ITCase/itcase-types/compare/v1.0.30...v1.0.31) (2025-08-21)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/types",
3
- "version": "1.0.32",
3
+ "version": "1.0.34",
4
4
  "description": "unified type storage",
5
5
  "keywords": [
6
6
  "types"
@@ -32,7 +32,7 @@
32
32
  "devDependencies": {
33
33
  "@commitlint/cli": "^19.8.1",
34
34
  "@commitlint/config-conventional": "^19.8.1",
35
- "@itcase/config": "^1.0.55",
35
+ "@itcase/config": "^1.0.56",
36
36
  "@itcase/lint": "^1.1.37",
37
37
  "@semantic-release/changelog": "^6.0.3",
38
38
  "@semantic-release/git": "^10.0.1",
@@ -1,4 +1,4 @@
1
- import type { SizeProps } from '../size'
1
+ import type { SizeProps, SizePXProps } from '../size'
2
2
  import type { StyleProps } from '../style'
3
3
  import type { AppearanceIconSizeKey } from './AppearanceIconSizeKey'
4
4
  import type { AppearanceKeysDefault } from './AppearanceKeysDefault'
@@ -8,6 +8,7 @@ import type { AppearanceShapeKey } from './AppearanceShapeKey'
8
8
  import type { AppearanceStateKeysDefault } from './AppearanceStateKeysDefault'
9
9
 
10
10
  type AppearanceSizeKey = `size${Uppercase<SizeProps>}`
11
+ type AppearanceSizePxKey = `size${Uppercase<SizePXProps>}`
11
12
  type AppearanceStyleKey = StyleProps
12
13
 
13
14
  type CompositeAppearanceKey =
@@ -16,6 +17,12 @@ type CompositeAppearanceKey =
16
17
  | `${AppearanceKeysDefault} ${AppearanceSizeKey}`
17
18
  | AppearanceKeysDefault
18
19
 
20
+ type CompositeAppearanceSizePxKey =
21
+ | `${AppearanceKeysDefault} ${AppearanceSizePxKey} ${AppearanceStyleKey} ${AppearanceShapeKey}`
22
+ | `${AppearanceKeysDefault} ${AppearanceSizePxKey} ${AppearanceStyleKey}`
23
+ | `${AppearanceKeysDefault} ${AppearanceSizePxKey}`
24
+ | AppearanceKeysDefault
25
+
19
26
  type CompositeAppearanceStateKeys =
20
27
  | `${AppearanceStateKeysDefault} ${AppearanceSizeKey} ${AppearanceStyleKey} ${AppearanceShapeKey}`
21
28
  | `${AppearanceStateKeysDefault} ${AppearanceSizeKey} ${AppearanceStyleKey}`
@@ -36,13 +43,14 @@ type CompositeAppearanceIconKeys =
36
43
 
37
44
  export type {
38
45
  AppearanceKeysDefault,
39
- AppearanceStateKeysDefault,
40
46
  AppearanceOverlayKey,
41
- AppearanceSizeKey,
42
47
  AppearanceShapeKey,
48
+ AppearanceSizeKey,
49
+ AppearanceStateKeysDefault,
43
50
  AppearanceStyleKey,
51
+ CompositeAppearanceIconKeys,
44
52
  CompositeAppearanceKey,
45
- CompositeAppearanceStateKeys,
46
53
  CompositeAppearanceResponseKeys,
47
- CompositeAppearanceIconKeys,
54
+ CompositeAppearanceSizePxKey,
55
+ CompositeAppearanceStateKeys,
48
56
  }
@@ -1 +1 @@
1
- export * from './opacity'
1
+ export * from './blur'
@@ -1,3 +1,5 @@
1
+ import { fillPaletteProps } from './fillPalette'
2
+
1
3
  const fillProps = [
2
4
  'accentPrimary',
3
5
  'accentSecondary',
@@ -50,6 +52,8 @@ const fillProps = [
50
52
  'disabledQuaternary',
51
53
 
52
54
  'none',
55
+
56
+ ...fillPaletteProps,
53
57
  ] as const
54
58
 
55
59
  export type FillProps = (typeof fillProps)[number]
@@ -1,3 +1,5 @@
1
+ import { fillPaletteProps } from './fillPalette'
2
+
1
3
  const fillActiveProps = [
2
4
  'accentActivePrimary',
3
5
  'accentActiveSecondary',
@@ -50,6 +52,8 @@ const fillActiveProps = [
50
52
  'disabledActiveQuaternary',
51
53
 
52
54
  'none',
55
+
56
+ ...fillPaletteProps,
53
57
  ] as const
54
58
 
55
59
  export type FillActiveProps = (typeof fillActiveProps)[number]
@@ -1,3 +1,5 @@
1
+ import { fillPaletteProps } from './fillPalette'
2
+
1
3
  const fillActiveHoverProps = [
2
4
  'accentActiveHoverPrimary',
3
5
  'accentActiveHoverSecondary',
@@ -50,6 +52,8 @@ const fillActiveHoverProps = [
50
52
  'disabledActiveHoverQuaternary',
51
53
 
52
54
  'none',
55
+
56
+ ...fillPaletteProps,
53
57
  ] as const
54
58
 
55
59
  export type FillActiveHoverProps = (typeof fillActiveHoverProps)[number]
@@ -1,3 +1,5 @@
1
+ import { fillPaletteProps } from './fillPalette'
2
+
1
3
  const fillHoverProps = [
2
4
  'accentHoverPrimary',
3
5
  'accentHoverSecondary',
@@ -50,6 +52,7 @@ const fillHoverProps = [
50
52
  'disabledHoverQuaternary',
51
53
 
52
54
  'none',
55
+ ...fillPaletteProps,
53
56
  ] as const
54
57
 
55
58
  export type FillHoverProps = (typeof fillHoverProps)[number]
@@ -0,0 +1,88 @@
1
+ const fillPaletteProps = [
2
+ 'alaskan-blue',
3
+ 'alto',
4
+ 'antique-white',
5
+ 'apricot',
6
+ 'athens-gray',
7
+ 'azure',
8
+ 'beryl',
9
+ 'black',
10
+ 'blue',
11
+ 'blue-cobalt',
12
+ 'blue-horizon',
13
+ 'cactus',
14
+ 'camel',
15
+ 'camellia',
16
+ 'canary-yellow',
17
+ 'cerulean',
18
+ 'clementine',
19
+ 'coastal-gray',
20
+ 'cocoa',
21
+ 'cream',
22
+ 'cyprus-green',
23
+ 'dark-green',
24
+ 'dark-olive',
25
+ 'dark-teal',
26
+ 'deep-navy',
27
+ 'delft-blue',
28
+ 'denim-blue',
29
+ 'dragon-fruit',
30
+ 'flamingo',
31
+ 'flash',
32
+ 'flash-light',
33
+ 'gold',
34
+ 'grapefruit',
35
+ 'green',
36
+ 'indigo',
37
+ 'khaki',
38
+ 'kumquat',
39
+ 'lavender',
40
+ 'lavender-gray',
41
+ 'lemon-cream',
42
+ 'light-blue',
43
+ 'light-orange',
44
+ 'lilac',
45
+ 'linen-blue',
46
+ 'mellow-yellow',
47
+ 'midnight-blue',
48
+ 'mint',
49
+ 'mist-blue',
50
+ 'northern-blue',
51
+ 'ocean-blue',
52
+ 'orange',
53
+ 'pacific-green',
54
+ 'papaya',
55
+ 'peach',
56
+ 'pebble',
57
+ 'pine-green',
58
+ 'pink-sand',
59
+ 'plum',
60
+ 'pollen',
61
+ 'pomegranate',
62
+ 'purple',
63
+ 'red-rose',
64
+ 'rose-gold',
65
+ 'sea-foam',
66
+ 'soft-white',
67
+ 'sonic-silver',
68
+ 'spearmint',
69
+ 'stone',
70
+ 'storm-gray',
71
+ 'surf-blue',
72
+ 'turquoise',
73
+ 'ultra-violet',
74
+ 'vintage-rose',
75
+ 'walnut',
76
+ 'white',
77
+ 'yellow-gold',
78
+ 'electric-pink',
79
+ 'hibiscus',
80
+ 'neon-pink',
81
+ 'pink',
82
+ 'pink-citrus',
83
+ 'red',
84
+ ] as const
85
+
86
+ export type FillPaletteProps = (typeof fillPaletteProps)[number]
87
+
88
+ export { fillPaletteProps }