@snhaman/pollymorph 1.5.0 → 1.6.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/dist/index.d.mts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +603 -23
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +588 -19
- package/dist/index.mjs.map +1 -1
- package/dist/rules.d.mts +19 -9
- package/dist/rules.d.ts +19 -9
- package/dist/rules.js +603 -23
- package/dist/rules.js.map +1 -1
- package/dist/rules.mjs +588 -19
- package/dist/rules.mjs.map +1 -1
- package/dist/tokens-B3FQ_Pbh.d.mts +221 -0
- package/dist/tokens-B3FQ_Pbh.d.ts +221 -0
- package/dist/tokens.d.mts +1 -62
- package/dist/tokens.d.ts +1 -62
- package/dist/tokens.js +558 -11
- package/dist/tokens.js.map +1 -1
- package/dist/tokens.mjs +558 -11
- package/dist/tokens.mjs.map +1 -1
- package/package.json +3 -3
- package/dist/types-C6UlcDOW.d.mts +0 -162
- package/dist/types-C6UlcDOW.d.ts +0 -162
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
interface ColorStep {
|
|
2
|
-
base: string;
|
|
3
|
-
"98": string;
|
|
4
|
-
"95": string;
|
|
5
|
-
"92": string;
|
|
6
|
-
"90": string;
|
|
7
|
-
"85": string;
|
|
8
|
-
"80": string;
|
|
9
|
-
"75": string;
|
|
10
|
-
"70": string;
|
|
11
|
-
"60": string;
|
|
12
|
-
"50": string;
|
|
13
|
-
"40": string;
|
|
14
|
-
"30": string;
|
|
15
|
-
"20": string;
|
|
16
|
-
"10": string;
|
|
17
|
-
"0": string;
|
|
18
|
-
"-10": string;
|
|
19
|
-
"-20": string;
|
|
20
|
-
"-30": string;
|
|
21
|
-
"-40": string;
|
|
22
|
-
"-50": string;
|
|
23
|
-
"-60": string;
|
|
24
|
-
"-80": string;
|
|
25
|
-
}
|
|
26
|
-
interface PlatformSurface {
|
|
27
|
-
type: "gradient";
|
|
28
|
-
stops: Array<{
|
|
29
|
-
color: string;
|
|
30
|
-
stop: string;
|
|
31
|
-
}>;
|
|
32
|
-
css: string;
|
|
33
|
-
}
|
|
34
|
-
interface ColorTokens {
|
|
35
|
-
primary: {
|
|
36
|
-
purple: ColorStep;
|
|
37
|
-
orange: ColorStep;
|
|
38
|
-
};
|
|
39
|
-
secondary: {
|
|
40
|
-
cyan: ColorStep;
|
|
41
|
-
pink: ColorStep;
|
|
42
|
-
blue: ColorStep;
|
|
43
|
-
yellow: ColorStep;
|
|
44
|
-
red: ColorStep;
|
|
45
|
-
green: ColorStep;
|
|
46
|
-
purple: ColorStep;
|
|
47
|
-
};
|
|
48
|
-
neutral: {
|
|
49
|
-
warm: ColorStep;
|
|
50
|
-
cool: ColorStep;
|
|
51
|
-
pure: ColorStep;
|
|
52
|
-
};
|
|
53
|
-
brand: {
|
|
54
|
-
altPurple: ColorStep;
|
|
55
|
-
};
|
|
56
|
-
platform: {
|
|
57
|
-
surface: PlatformSurface;
|
|
58
|
-
sidebar: {
|
|
59
|
-
background: string;
|
|
60
|
-
nestedPanel: string;
|
|
61
|
-
stroke: string;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
standard: {
|
|
65
|
-
white: string;
|
|
66
|
-
black: string;
|
|
67
|
-
transparent: string;
|
|
68
|
-
};
|
|
69
|
-
surface: {
|
|
70
|
-
primary: string;
|
|
71
|
-
secondary: string;
|
|
72
|
-
tertiary: string;
|
|
73
|
-
overlay: string;
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
interface ElevationLevel {
|
|
77
|
-
shadow: string;
|
|
78
|
-
}
|
|
79
|
-
interface ElevationTokens {
|
|
80
|
-
none: {
|
|
81
|
-
shadow: string;
|
|
82
|
-
};
|
|
83
|
-
sm: ElevationLevel;
|
|
84
|
-
md: ElevationLevel;
|
|
85
|
-
lg: ElevationLevel;
|
|
86
|
-
xl: ElevationLevel;
|
|
87
|
-
}
|
|
88
|
-
interface FontTokens {
|
|
89
|
-
family: {
|
|
90
|
-
sans: string;
|
|
91
|
-
display: string;
|
|
92
|
-
mono: string;
|
|
93
|
-
icon: string;
|
|
94
|
-
};
|
|
95
|
-
size: Record<string, string>;
|
|
96
|
-
weight: {
|
|
97
|
-
regular: number;
|
|
98
|
-
book: number;
|
|
99
|
-
medium: number;
|
|
100
|
-
thick: number;
|
|
101
|
-
semibold: number;
|
|
102
|
-
bold: number;
|
|
103
|
-
};
|
|
104
|
-
height: Record<string, string>;
|
|
105
|
-
letter: {
|
|
106
|
-
spacing: Record<string, string>;
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
interface PollyMorphTokens {
|
|
110
|
-
color: ColorTokens;
|
|
111
|
-
elevation: ElevationTokens;
|
|
112
|
-
font: FontTokens;
|
|
113
|
-
radius: Record<string, string>;
|
|
114
|
-
spacing: Record<string, string>;
|
|
115
|
-
state: Record<string, unknown>;
|
|
116
|
-
}
|
|
117
|
-
interface StatusColorRules {
|
|
118
|
-
yellow: string;
|
|
119
|
-
red: string;
|
|
120
|
-
green: string;
|
|
121
|
-
blue: string;
|
|
122
|
-
}
|
|
123
|
-
interface PollyMorphRules {
|
|
124
|
-
color: {
|
|
125
|
-
brand: {
|
|
126
|
-
primary_purple: string;
|
|
127
|
-
primary_orange: string;
|
|
128
|
-
non_brand_accents: string;
|
|
129
|
-
status_colors: StatusColorRules;
|
|
130
|
-
};
|
|
131
|
-
surface: Record<string, string>;
|
|
132
|
-
text: Record<string, string>;
|
|
133
|
-
badges: Record<string, string>;
|
|
134
|
-
};
|
|
135
|
-
typography: {
|
|
136
|
-
font_families: Record<string, string>;
|
|
137
|
-
scale_rules: Record<string, string>;
|
|
138
|
-
};
|
|
139
|
-
layout: Record<string, string>;
|
|
140
|
-
components: {
|
|
141
|
-
buttons: Record<string, string>;
|
|
142
|
-
tabs: string;
|
|
143
|
-
table_sort: string;
|
|
144
|
-
pagination: string;
|
|
145
|
-
sidebar_active_state: string;
|
|
146
|
-
notification_badges: string;
|
|
147
|
-
};
|
|
148
|
-
spacing: Record<string, string>;
|
|
149
|
-
}
|
|
150
|
-
interface PollyMorph {
|
|
151
|
-
meta: {
|
|
152
|
-
name: string;
|
|
153
|
-
version: string;
|
|
154
|
-
description: string;
|
|
155
|
-
generatedAt: string;
|
|
156
|
-
};
|
|
157
|
-
core: PollyMorphTokens;
|
|
158
|
-
semantic: Record<string, unknown>;
|
|
159
|
-
rules: PollyMorphRules;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export type { ColorStep as C, ElevationLevel as E, FontTokens as F, PollyMorph as P, StatusColorRules as S, ColorTokens as a, ElevationTokens as b, PlatformSurface as c, PollyMorphRules as d, PollyMorphTokens as e };
|
package/dist/types-C6UlcDOW.d.ts
DELETED
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
interface ColorStep {
|
|
2
|
-
base: string;
|
|
3
|
-
"98": string;
|
|
4
|
-
"95": string;
|
|
5
|
-
"92": string;
|
|
6
|
-
"90": string;
|
|
7
|
-
"85": string;
|
|
8
|
-
"80": string;
|
|
9
|
-
"75": string;
|
|
10
|
-
"70": string;
|
|
11
|
-
"60": string;
|
|
12
|
-
"50": string;
|
|
13
|
-
"40": string;
|
|
14
|
-
"30": string;
|
|
15
|
-
"20": string;
|
|
16
|
-
"10": string;
|
|
17
|
-
"0": string;
|
|
18
|
-
"-10": string;
|
|
19
|
-
"-20": string;
|
|
20
|
-
"-30": string;
|
|
21
|
-
"-40": string;
|
|
22
|
-
"-50": string;
|
|
23
|
-
"-60": string;
|
|
24
|
-
"-80": string;
|
|
25
|
-
}
|
|
26
|
-
interface PlatformSurface {
|
|
27
|
-
type: "gradient";
|
|
28
|
-
stops: Array<{
|
|
29
|
-
color: string;
|
|
30
|
-
stop: string;
|
|
31
|
-
}>;
|
|
32
|
-
css: string;
|
|
33
|
-
}
|
|
34
|
-
interface ColorTokens {
|
|
35
|
-
primary: {
|
|
36
|
-
purple: ColorStep;
|
|
37
|
-
orange: ColorStep;
|
|
38
|
-
};
|
|
39
|
-
secondary: {
|
|
40
|
-
cyan: ColorStep;
|
|
41
|
-
pink: ColorStep;
|
|
42
|
-
blue: ColorStep;
|
|
43
|
-
yellow: ColorStep;
|
|
44
|
-
red: ColorStep;
|
|
45
|
-
green: ColorStep;
|
|
46
|
-
purple: ColorStep;
|
|
47
|
-
};
|
|
48
|
-
neutral: {
|
|
49
|
-
warm: ColorStep;
|
|
50
|
-
cool: ColorStep;
|
|
51
|
-
pure: ColorStep;
|
|
52
|
-
};
|
|
53
|
-
brand: {
|
|
54
|
-
altPurple: ColorStep;
|
|
55
|
-
};
|
|
56
|
-
platform: {
|
|
57
|
-
surface: PlatformSurface;
|
|
58
|
-
sidebar: {
|
|
59
|
-
background: string;
|
|
60
|
-
nestedPanel: string;
|
|
61
|
-
stroke: string;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
standard: {
|
|
65
|
-
white: string;
|
|
66
|
-
black: string;
|
|
67
|
-
transparent: string;
|
|
68
|
-
};
|
|
69
|
-
surface: {
|
|
70
|
-
primary: string;
|
|
71
|
-
secondary: string;
|
|
72
|
-
tertiary: string;
|
|
73
|
-
overlay: string;
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
interface ElevationLevel {
|
|
77
|
-
shadow: string;
|
|
78
|
-
}
|
|
79
|
-
interface ElevationTokens {
|
|
80
|
-
none: {
|
|
81
|
-
shadow: string;
|
|
82
|
-
};
|
|
83
|
-
sm: ElevationLevel;
|
|
84
|
-
md: ElevationLevel;
|
|
85
|
-
lg: ElevationLevel;
|
|
86
|
-
xl: ElevationLevel;
|
|
87
|
-
}
|
|
88
|
-
interface FontTokens {
|
|
89
|
-
family: {
|
|
90
|
-
sans: string;
|
|
91
|
-
display: string;
|
|
92
|
-
mono: string;
|
|
93
|
-
icon: string;
|
|
94
|
-
};
|
|
95
|
-
size: Record<string, string>;
|
|
96
|
-
weight: {
|
|
97
|
-
regular: number;
|
|
98
|
-
book: number;
|
|
99
|
-
medium: number;
|
|
100
|
-
thick: number;
|
|
101
|
-
semibold: number;
|
|
102
|
-
bold: number;
|
|
103
|
-
};
|
|
104
|
-
height: Record<string, string>;
|
|
105
|
-
letter: {
|
|
106
|
-
spacing: Record<string, string>;
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
interface PollyMorphTokens {
|
|
110
|
-
color: ColorTokens;
|
|
111
|
-
elevation: ElevationTokens;
|
|
112
|
-
font: FontTokens;
|
|
113
|
-
radius: Record<string, string>;
|
|
114
|
-
spacing: Record<string, string>;
|
|
115
|
-
state: Record<string, unknown>;
|
|
116
|
-
}
|
|
117
|
-
interface StatusColorRules {
|
|
118
|
-
yellow: string;
|
|
119
|
-
red: string;
|
|
120
|
-
green: string;
|
|
121
|
-
blue: string;
|
|
122
|
-
}
|
|
123
|
-
interface PollyMorphRules {
|
|
124
|
-
color: {
|
|
125
|
-
brand: {
|
|
126
|
-
primary_purple: string;
|
|
127
|
-
primary_orange: string;
|
|
128
|
-
non_brand_accents: string;
|
|
129
|
-
status_colors: StatusColorRules;
|
|
130
|
-
};
|
|
131
|
-
surface: Record<string, string>;
|
|
132
|
-
text: Record<string, string>;
|
|
133
|
-
badges: Record<string, string>;
|
|
134
|
-
};
|
|
135
|
-
typography: {
|
|
136
|
-
font_families: Record<string, string>;
|
|
137
|
-
scale_rules: Record<string, string>;
|
|
138
|
-
};
|
|
139
|
-
layout: Record<string, string>;
|
|
140
|
-
components: {
|
|
141
|
-
buttons: Record<string, string>;
|
|
142
|
-
tabs: string;
|
|
143
|
-
table_sort: string;
|
|
144
|
-
pagination: string;
|
|
145
|
-
sidebar_active_state: string;
|
|
146
|
-
notification_badges: string;
|
|
147
|
-
};
|
|
148
|
-
spacing: Record<string, string>;
|
|
149
|
-
}
|
|
150
|
-
interface PollyMorph {
|
|
151
|
-
meta: {
|
|
152
|
-
name: string;
|
|
153
|
-
version: string;
|
|
154
|
-
description: string;
|
|
155
|
-
generatedAt: string;
|
|
156
|
-
};
|
|
157
|
-
core: PollyMorphTokens;
|
|
158
|
-
semantic: Record<string, unknown>;
|
|
159
|
-
rules: PollyMorphRules;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export type { ColorStep as C, ElevationLevel as E, FontTokens as F, PollyMorph as P, StatusColorRules as S, ColorTokens as a, ElevationTokens as b, PlatformSurface as c, PollyMorphRules as d, PollyMorphTokens as e };
|