@qpmtx/tokens 0.3.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/README.md +124 -0
- package/dist/css-var.d.ts +28 -0
- package/dist/css-var.d.ts.map +1 -0
- package/dist/css-var.js +17 -0
- package/dist/groups/colors-and-gradients.d.ts +646 -0
- package/dist/groups/colors-and-gradients.d.ts.map +1 -0
- package/dist/groups/colors-and-gradients.js +644 -0
- package/dist/groups/elevation-and-glow-shadows.d.ts +107 -0
- package/dist/groups/elevation-and-glow-shadows.d.ts.map +1 -0
- package/dist/groups/elevation-and-glow-shadows.js +105 -0
- package/dist/groups/motion-and-zindex.d.ts +137 -0
- package/dist/groups/motion-and-zindex.d.ts.map +1 -0
- package/dist/groups/motion-and-zindex.js +135 -0
- package/dist/groups/radius.d.ts +47 -0
- package/dist/groups/radius.d.ts.map +1 -0
- package/dist/groups/radius.js +45 -0
- package/dist/groups/spacing-and-layout.d.ts +157 -0
- package/dist/groups/spacing-and-layout.d.ts.map +1 -0
- package/dist/groups/spacing-and-layout.js +155 -0
- package/dist/groups/typography.d.ts +402 -0
- package/dist/groups/typography.d.ts.map +1 -0
- package/dist/groups/typography.js +400 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +17 -0
- package/package.json +34 -0
- package/tokens.css +248 -0
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* QPMatrix design tokens - group: spacing-and-layout
|
|
3
|
+
*
|
|
4
|
+
* AUTO-TRANSCRIBED from the owner's design source (tokens.json / tokens.css extracted
|
|
5
|
+
* from the QPMatrix Design System export). Do not hand-edit values here - regenerate
|
|
6
|
+
* from the live source per packages/.agents/skills/tokens/SKILL.md instead.
|
|
7
|
+
*
|
|
8
|
+
* Each entry mirrors the source JSON 1:1:
|
|
9
|
+
* raw - the literal CSS declaration value (may reference other vars)
|
|
10
|
+
* resolved - raw fully dereferenced down to a literal (hex/rgba/px/...)
|
|
11
|
+
* light - present only for tokens overridden by [data-theme="light"]
|
|
12
|
+
* usedByComponentBundle - whether the owner's component bundle references this token
|
|
13
|
+
*/
|
|
14
|
+
export declare const spacingAndLayout: {
|
|
15
|
+
readonly "card-padding-comfortable": {
|
|
16
|
+
readonly raw: "var(--space-6)";
|
|
17
|
+
readonly resolved: "24px";
|
|
18
|
+
readonly usedByComponentBundle: true;
|
|
19
|
+
};
|
|
20
|
+
readonly "card-padding-compact": {
|
|
21
|
+
readonly raw: "var(--space-4)";
|
|
22
|
+
readonly resolved: "16px";
|
|
23
|
+
readonly usedByComponentBundle: true;
|
|
24
|
+
};
|
|
25
|
+
readonly "content-width-dashboard": {
|
|
26
|
+
readonly raw: "1440px";
|
|
27
|
+
readonly resolved: "1440px";
|
|
28
|
+
readonly usedByComponentBundle: false;
|
|
29
|
+
};
|
|
30
|
+
readonly "content-width-docs": {
|
|
31
|
+
readonly raw: "840px";
|
|
32
|
+
readonly resolved: "840px";
|
|
33
|
+
readonly usedByComponentBundle: false;
|
|
34
|
+
};
|
|
35
|
+
readonly "content-width-marketing": {
|
|
36
|
+
readonly raw: "1200px";
|
|
37
|
+
readonly resolved: "1200px";
|
|
38
|
+
readonly usedByComponentBundle: false;
|
|
39
|
+
};
|
|
40
|
+
readonly "form-field-spacing": {
|
|
41
|
+
readonly raw: "var(--space-4)";
|
|
42
|
+
readonly resolved: "16px";
|
|
43
|
+
readonly usedByComponentBundle: false;
|
|
44
|
+
};
|
|
45
|
+
readonly "nav-height": {
|
|
46
|
+
readonly raw: "60px";
|
|
47
|
+
readonly resolved: "60px";
|
|
48
|
+
readonly usedByComponentBundle: false;
|
|
49
|
+
};
|
|
50
|
+
readonly "nav-rail-width": {
|
|
51
|
+
readonly raw: "240px";
|
|
52
|
+
readonly resolved: "240px";
|
|
53
|
+
readonly usedByComponentBundle: false;
|
|
54
|
+
};
|
|
55
|
+
readonly "nav-rail-width-collapsed": {
|
|
56
|
+
readonly raw: "64px";
|
|
57
|
+
readonly resolved: "64px";
|
|
58
|
+
readonly usedByComponentBundle: false;
|
|
59
|
+
};
|
|
60
|
+
readonly "page-gutter-comfortable": {
|
|
61
|
+
readonly raw: "var(--space-8)";
|
|
62
|
+
readonly resolved: "32px";
|
|
63
|
+
readonly usedByComponentBundle: false;
|
|
64
|
+
};
|
|
65
|
+
readonly "page-gutter-compact": {
|
|
66
|
+
readonly raw: "var(--space-5)";
|
|
67
|
+
readonly resolved: "20px";
|
|
68
|
+
readonly usedByComponentBundle: false;
|
|
69
|
+
};
|
|
70
|
+
readonly "section-spacing-comfortable": {
|
|
71
|
+
readonly raw: "var(--space-24)";
|
|
72
|
+
readonly resolved: "96px";
|
|
73
|
+
readonly usedByComponentBundle: false;
|
|
74
|
+
};
|
|
75
|
+
readonly "section-spacing-compact": {
|
|
76
|
+
readonly raw: "var(--space-10)";
|
|
77
|
+
readonly resolved: "40px";
|
|
78
|
+
readonly usedByComponentBundle: false;
|
|
79
|
+
};
|
|
80
|
+
readonly "space-0": {
|
|
81
|
+
readonly raw: "0px";
|
|
82
|
+
readonly resolved: "0px";
|
|
83
|
+
readonly usedByComponentBundle: false;
|
|
84
|
+
};
|
|
85
|
+
readonly "space-1": {
|
|
86
|
+
readonly raw: "4px";
|
|
87
|
+
readonly resolved: "4px";
|
|
88
|
+
readonly usedByComponentBundle: false;
|
|
89
|
+
};
|
|
90
|
+
readonly "space-10": {
|
|
91
|
+
readonly raw: "40px";
|
|
92
|
+
readonly resolved: "40px";
|
|
93
|
+
readonly usedByComponentBundle: false;
|
|
94
|
+
};
|
|
95
|
+
readonly "space-12": {
|
|
96
|
+
readonly raw: "48px";
|
|
97
|
+
readonly resolved: "48px";
|
|
98
|
+
readonly usedByComponentBundle: false;
|
|
99
|
+
};
|
|
100
|
+
readonly "space-16": {
|
|
101
|
+
readonly raw: "64px";
|
|
102
|
+
readonly resolved: "64px";
|
|
103
|
+
readonly usedByComponentBundle: false;
|
|
104
|
+
};
|
|
105
|
+
readonly "space-2": {
|
|
106
|
+
readonly raw: "8px";
|
|
107
|
+
readonly resolved: "8px";
|
|
108
|
+
readonly usedByComponentBundle: false;
|
|
109
|
+
};
|
|
110
|
+
readonly "space-20": {
|
|
111
|
+
readonly raw: "80px";
|
|
112
|
+
readonly resolved: "80px";
|
|
113
|
+
readonly usedByComponentBundle: false;
|
|
114
|
+
};
|
|
115
|
+
readonly "space-24": {
|
|
116
|
+
readonly raw: "96px";
|
|
117
|
+
readonly resolved: "96px";
|
|
118
|
+
readonly usedByComponentBundle: false;
|
|
119
|
+
};
|
|
120
|
+
readonly "space-3": {
|
|
121
|
+
readonly raw: "12px";
|
|
122
|
+
readonly resolved: "12px";
|
|
123
|
+
readonly usedByComponentBundle: false;
|
|
124
|
+
};
|
|
125
|
+
readonly "space-4": {
|
|
126
|
+
readonly raw: "16px";
|
|
127
|
+
readonly resolved: "16px";
|
|
128
|
+
readonly usedByComponentBundle: false;
|
|
129
|
+
};
|
|
130
|
+
readonly "space-5": {
|
|
131
|
+
readonly raw: "20px";
|
|
132
|
+
readonly resolved: "20px";
|
|
133
|
+
readonly usedByComponentBundle: false;
|
|
134
|
+
};
|
|
135
|
+
readonly "space-6": {
|
|
136
|
+
readonly raw: "24px";
|
|
137
|
+
readonly resolved: "24px";
|
|
138
|
+
readonly usedByComponentBundle: true;
|
|
139
|
+
};
|
|
140
|
+
readonly "space-8": {
|
|
141
|
+
readonly raw: "32px";
|
|
142
|
+
readonly resolved: "32px";
|
|
143
|
+
readonly usedByComponentBundle: false;
|
|
144
|
+
};
|
|
145
|
+
readonly "table-row-height-comfortable": {
|
|
146
|
+
readonly raw: "52px";
|
|
147
|
+
readonly resolved: "52px";
|
|
148
|
+
readonly usedByComponentBundle: false;
|
|
149
|
+
};
|
|
150
|
+
readonly "table-row-height-compact": {
|
|
151
|
+
readonly raw: "36px";
|
|
152
|
+
readonly resolved: "36px";
|
|
153
|
+
readonly usedByComponentBundle: false;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
export type SpacingAndLayoutVarName = keyof typeof spacingAndLayout;
|
|
157
|
+
//# sourceMappingURL=spacing-and-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spacing-and-layout.d.ts","sourceRoot":"","sources":["../../src/groups/spacing-and-layout.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6InB,CAAC;AAEX,MAAM,MAAM,uBAAuB,GAAG,MAAM,OAAO,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* QPMatrix design tokens - group: spacing-and-layout
|
|
3
|
+
*
|
|
4
|
+
* AUTO-TRANSCRIBED from the owner's design source (tokens.json / tokens.css extracted
|
|
5
|
+
* from the QPMatrix Design System export). Do not hand-edit values here - regenerate
|
|
6
|
+
* from the live source per packages/.agents/skills/tokens/SKILL.md instead.
|
|
7
|
+
*
|
|
8
|
+
* Each entry mirrors the source JSON 1:1:
|
|
9
|
+
* raw - the literal CSS declaration value (may reference other vars)
|
|
10
|
+
* resolved - raw fully dereferenced down to a literal (hex/rgba/px/...)
|
|
11
|
+
* light - present only for tokens overridden by [data-theme="light"]
|
|
12
|
+
* usedByComponentBundle - whether the owner's component bundle references this token
|
|
13
|
+
*/
|
|
14
|
+
export const spacingAndLayout = {
|
|
15
|
+
"card-padding-comfortable": {
|
|
16
|
+
raw: "var(--space-6)",
|
|
17
|
+
resolved: "24px",
|
|
18
|
+
usedByComponentBundle: true,
|
|
19
|
+
},
|
|
20
|
+
"card-padding-compact": {
|
|
21
|
+
raw: "var(--space-4)",
|
|
22
|
+
resolved: "16px",
|
|
23
|
+
usedByComponentBundle: true,
|
|
24
|
+
},
|
|
25
|
+
"content-width-dashboard": {
|
|
26
|
+
raw: "1440px",
|
|
27
|
+
resolved: "1440px",
|
|
28
|
+
usedByComponentBundle: false,
|
|
29
|
+
},
|
|
30
|
+
"content-width-docs": {
|
|
31
|
+
raw: "840px",
|
|
32
|
+
resolved: "840px",
|
|
33
|
+
usedByComponentBundle: false,
|
|
34
|
+
},
|
|
35
|
+
"content-width-marketing": {
|
|
36
|
+
raw: "1200px",
|
|
37
|
+
resolved: "1200px",
|
|
38
|
+
usedByComponentBundle: false,
|
|
39
|
+
},
|
|
40
|
+
"form-field-spacing": {
|
|
41
|
+
raw: "var(--space-4)",
|
|
42
|
+
resolved: "16px",
|
|
43
|
+
usedByComponentBundle: false,
|
|
44
|
+
},
|
|
45
|
+
"nav-height": {
|
|
46
|
+
raw: "60px",
|
|
47
|
+
resolved: "60px",
|
|
48
|
+
usedByComponentBundle: false,
|
|
49
|
+
},
|
|
50
|
+
"nav-rail-width": {
|
|
51
|
+
raw: "240px",
|
|
52
|
+
resolved: "240px",
|
|
53
|
+
usedByComponentBundle: false,
|
|
54
|
+
},
|
|
55
|
+
"nav-rail-width-collapsed": {
|
|
56
|
+
raw: "64px",
|
|
57
|
+
resolved: "64px",
|
|
58
|
+
usedByComponentBundle: false,
|
|
59
|
+
},
|
|
60
|
+
"page-gutter-comfortable": {
|
|
61
|
+
raw: "var(--space-8)",
|
|
62
|
+
resolved: "32px",
|
|
63
|
+
usedByComponentBundle: false,
|
|
64
|
+
},
|
|
65
|
+
"page-gutter-compact": {
|
|
66
|
+
raw: "var(--space-5)",
|
|
67
|
+
resolved: "20px",
|
|
68
|
+
usedByComponentBundle: false,
|
|
69
|
+
},
|
|
70
|
+
"section-spacing-comfortable": {
|
|
71
|
+
raw: "var(--space-24)",
|
|
72
|
+
resolved: "96px",
|
|
73
|
+
usedByComponentBundle: false,
|
|
74
|
+
},
|
|
75
|
+
"section-spacing-compact": {
|
|
76
|
+
raw: "var(--space-10)",
|
|
77
|
+
resolved: "40px",
|
|
78
|
+
usedByComponentBundle: false,
|
|
79
|
+
},
|
|
80
|
+
"space-0": {
|
|
81
|
+
raw: "0px",
|
|
82
|
+
resolved: "0px",
|
|
83
|
+
usedByComponentBundle: false,
|
|
84
|
+
},
|
|
85
|
+
"space-1": {
|
|
86
|
+
raw: "4px",
|
|
87
|
+
resolved: "4px",
|
|
88
|
+
usedByComponentBundle: false,
|
|
89
|
+
},
|
|
90
|
+
"space-10": {
|
|
91
|
+
raw: "40px",
|
|
92
|
+
resolved: "40px",
|
|
93
|
+
usedByComponentBundle: false,
|
|
94
|
+
},
|
|
95
|
+
"space-12": {
|
|
96
|
+
raw: "48px",
|
|
97
|
+
resolved: "48px",
|
|
98
|
+
usedByComponentBundle: false,
|
|
99
|
+
},
|
|
100
|
+
"space-16": {
|
|
101
|
+
raw: "64px",
|
|
102
|
+
resolved: "64px",
|
|
103
|
+
usedByComponentBundle: false,
|
|
104
|
+
},
|
|
105
|
+
"space-2": {
|
|
106
|
+
raw: "8px",
|
|
107
|
+
resolved: "8px",
|
|
108
|
+
usedByComponentBundle: false,
|
|
109
|
+
},
|
|
110
|
+
"space-20": {
|
|
111
|
+
raw: "80px",
|
|
112
|
+
resolved: "80px",
|
|
113
|
+
usedByComponentBundle: false,
|
|
114
|
+
},
|
|
115
|
+
"space-24": {
|
|
116
|
+
raw: "96px",
|
|
117
|
+
resolved: "96px",
|
|
118
|
+
usedByComponentBundle: false,
|
|
119
|
+
},
|
|
120
|
+
"space-3": {
|
|
121
|
+
raw: "12px",
|
|
122
|
+
resolved: "12px",
|
|
123
|
+
usedByComponentBundle: false,
|
|
124
|
+
},
|
|
125
|
+
"space-4": {
|
|
126
|
+
raw: "16px",
|
|
127
|
+
resolved: "16px",
|
|
128
|
+
usedByComponentBundle: false,
|
|
129
|
+
},
|
|
130
|
+
"space-5": {
|
|
131
|
+
raw: "20px",
|
|
132
|
+
resolved: "20px",
|
|
133
|
+
usedByComponentBundle: false,
|
|
134
|
+
},
|
|
135
|
+
"space-6": {
|
|
136
|
+
raw: "24px",
|
|
137
|
+
resolved: "24px",
|
|
138
|
+
usedByComponentBundle: true,
|
|
139
|
+
},
|
|
140
|
+
"space-8": {
|
|
141
|
+
raw: "32px",
|
|
142
|
+
resolved: "32px",
|
|
143
|
+
usedByComponentBundle: false,
|
|
144
|
+
},
|
|
145
|
+
"table-row-height-comfortable": {
|
|
146
|
+
raw: "52px",
|
|
147
|
+
resolved: "52px",
|
|
148
|
+
usedByComponentBundle: false,
|
|
149
|
+
},
|
|
150
|
+
"table-row-height-compact": {
|
|
151
|
+
raw: "36px",
|
|
152
|
+
resolved: "36px",
|
|
153
|
+
usedByComponentBundle: false,
|
|
154
|
+
},
|
|
155
|
+
};
|