@prozorro/prozorro-ui 0.0.5 → 0.0.6-beta
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/app/assets/{Color-FRDS63T2-Bo-vvTV8.js → Color-FRDS63T2-Bw_aC6xw.js} +1 -1
- package/dist/app/assets/Colors-fhEnNkJK.css +1 -0
- package/dist/app/assets/Colors.stories-B0HD3yzi.js +106 -0
- package/dist/app/assets/{DocsRenderer-LL677BLK-DxB60yOs.js → DocsRenderer-LL677BLK-HfkRY1rq.js} +5 -5
- package/dist/app/assets/Grid-B7NVrFKF.css +1 -0
- package/dist/app/assets/Grid.stories-BxFJTZq8.js +150 -0
- package/dist/app/assets/PzGrid-DES6s5R0.css +1 -0
- package/dist/app/assets/PzGrid.stories-BDlU9tgI.js +174 -0
- package/dist/app/assets/PzText-DlvXMwwn.js +1 -0
- package/dist/app/assets/PzText-DsC8c6AJ.css +1 -0
- package/dist/app/assets/PzText.stories-ZTf0LcVq.js +133 -0
- package/dist/app/assets/Spacing-B5TnfKCB.css +1 -0
- package/dist/app/assets/Spacing.stories-DgW1yBGY.js +127 -0
- package/dist/app/assets/Typography-Bgal0fkk.css +1 -0
- package/dist/app/assets/Typography.stories-sQsBS8qV.js +47 -0
- package/dist/app/assets/{WithTooltip-65CFNBJE-Ty2foy7t.js → WithTooltip-65CFNBJE-D9-o59O_.js} +1 -1
- package/dist/app/assets/formatter-EIJCOSYU-Yh903Rmh.js +1 -0
- package/dist/app/assets/{iframe-B_iz38fI.js → iframe-DDO2S8nh.js} +129 -129
- package/dist/app/assets/iframe-DIUjqeYQ.css +1 -0
- package/dist/app/assets/{syntaxhighlighter-OH4MV7E3-Can2sBRZ.js → syntaxhighlighter-OH4MV7E3-seAhcrC2.js} +1 -1
- package/dist/app/favicon.ico +0 -0
- package/dist/app/iframe.html +2 -2
- package/dist/app/index.html +5 -1
- package/dist/app/index.json +1 -1
- package/dist/app/project.json +1 -1
- package/dist/app/sb-addons/storybook-2/manager-bundle.js +3 -0
- package/dist/components/PzGrid/PzGrid.vue.d.ts +25 -0
- package/dist/components/PzGrid/PzGridItem.vue.d.ts +32 -0
- package/dist/components/PzGrid/configs.d.ts +2 -0
- package/dist/components/PzGrid/index.d.ts +3 -0
- package/dist/components/PzGrid/types.d.ts +26 -0
- package/dist/components/PzText/configs.d.ts +2 -0
- package/dist/components/PzText/types.d.ts +1 -1
- package/dist/favicon.ico +0 -0
- package/dist/index.d.ts +1 -0
- package/dist/package.json +3 -2
- package/dist/prozorro-ui.cjs +1 -1
- package/dist/prozorro-ui.js +90 -15
- package/dist/style.css +1 -1
- package/package.json +3 -2
- package/src/styles/_colors.scss +90 -0
- package/src/styles/_grid.scss +69 -0
- package/src/styles/_reset.scss +2 -2
- package/src/styles/_spacing.scss +56 -0
- package/src/styles/abstract/_mixins.scss +17 -1
- package/src/styles/abstract/_typography.scss +33 -33
- package/src/styles/abstract/_variables.scss +145 -54
- package/src/styles/main.scss +3 -0
- package/src/styles/vendors/_google-material-icons.scss +1 -1
- package/dist/app/assets/PzText-H75Z6Lud.css +0 -1
- package/dist/app/assets/PzText.stories-pNLs8FlM.js +0 -239
- package/dist/app/assets/formatter-EIJCOSYU-oeR5mOii.js +0 -1
- package/dist/app/assets/iframe-CNIwQJJc.css +0 -1
package/src/styles/_reset.scss
CHANGED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
$spacing-properties: (
|
|
2
|
+
"m": margin,
|
|
3
|
+
"mt": margin-top,
|
|
4
|
+
"mr": margin-right,
|
|
5
|
+
"mb": margin-bottom,
|
|
6
|
+
"ml": margin-left,
|
|
7
|
+
"mx": margin-inline,
|
|
8
|
+
"my": margin-block,
|
|
9
|
+
"p": padding,
|
|
10
|
+
"pt": padding-top,
|
|
11
|
+
"pr": padding-right,
|
|
12
|
+
"pb": padding-bottom,
|
|
13
|
+
"pl": padding-left,
|
|
14
|
+
"px": padding-inline,
|
|
15
|
+
"py": padding-block,
|
|
16
|
+
);
|
|
17
|
+
$spacing-scale: (
|
|
18
|
+
"0": var(--pz-space-0),
|
|
19
|
+
"4": var(--pz-space-4),
|
|
20
|
+
"8": var(--pz-space-8),
|
|
21
|
+
"16": var(--pz-space-16),
|
|
22
|
+
"20": var(--pz-space-20),
|
|
23
|
+
"24": var(--pz-space-24),
|
|
24
|
+
"32": var(--pz-space-32),
|
|
25
|
+
"40": var(--pz-space-40),
|
|
26
|
+
"44": var(--pz-space-44),
|
|
27
|
+
"60": var(--pz-space-60),
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
@each $utility, $property in $spacing-properties {
|
|
31
|
+
@each $token, $value in $spacing-scale {
|
|
32
|
+
.pz-#{$utility}-#{$token} {
|
|
33
|
+
#{$property}: $value;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.pz-m-auto {
|
|
39
|
+
margin: auto;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.pz-mx-auto {
|
|
43
|
+
margin-inline: auto;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.pz-my-auto {
|
|
47
|
+
margin-block: auto;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.pz-ml-auto {
|
|
51
|
+
margin-left: auto;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.pz-mr-auto {
|
|
55
|
+
margin-right: auto;
|
|
56
|
+
}
|
|
@@ -38,7 +38,7 @@ $breakpoints: (
|
|
|
38
38
|
@mixin range-slider-thumb {
|
|
39
39
|
width: 10%;
|
|
40
40
|
height: 10px;
|
|
41
|
-
background: var(--
|
|
41
|
+
background: var(--pz-color-button-primary);
|
|
42
42
|
cursor: pointer;
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -48,3 +48,19 @@ $breakpoints: (
|
|
|
48
48
|
outline-offset: 2px;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
+
|
|
52
|
+
@mixin pz-container($max-width: var(--pz-grid-frame-max-width), $padding-inline: var(--pz-grid-margin)) {
|
|
53
|
+
width: min(100%, #{$max-width});
|
|
54
|
+
padding-inline: $padding-inline;
|
|
55
|
+
margin-inline: auto;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@mixin pz-grid($columns: var(--pz-grid-columns), $gap: var(--pz-grid-gutter)) {
|
|
59
|
+
display: grid;
|
|
60
|
+
grid-template-columns: repeat($columns, minmax(0, 1fr));
|
|
61
|
+
gap: $gap;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@mixin pz-grid-span($span) {
|
|
65
|
+
grid-column: span $span;
|
|
66
|
+
}
|
|
@@ -7,79 +7,79 @@
|
|
|
7
7
|
// ─── Desktop ──────────────────────────────────────────────────────────────────
|
|
8
8
|
|
|
9
9
|
@mixin typography-h1-bold {
|
|
10
|
-
font-size: var(--size-
|
|
10
|
+
font-size: var(--pz-font-size-44); // 44px
|
|
11
11
|
font-weight: 700;
|
|
12
12
|
line-height: 1.5;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
@mixin typography-h1-regular {
|
|
16
|
-
font-size: var(--size-
|
|
16
|
+
font-size: var(--pz-font-size-44); // 44px
|
|
17
17
|
font-weight: 400;
|
|
18
18
|
line-height: 1.5;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
@mixin typography-h2-bold {
|
|
22
|
-
font-size: var(--size-
|
|
22
|
+
font-size: var(--pz-font-size-32); // 32px
|
|
23
23
|
font-weight: 700;
|
|
24
24
|
line-height: 1.5;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
@mixin typography-h3-bold {
|
|
28
|
-
font-size: var(--size-
|
|
28
|
+
font-size: var(--pz-font-size-24); // 24px
|
|
29
29
|
font-weight: 700;
|
|
30
30
|
line-height: 1.5;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
@mixin typography-h3-regular {
|
|
34
|
-
font-size: var(--size-
|
|
34
|
+
font-size: var(--pz-font-size-24); // 24px
|
|
35
35
|
font-weight: 400;
|
|
36
36
|
line-height: 1.5;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
@mixin typography-h4-regular {
|
|
40
|
-
font-size: var(--size-
|
|
40
|
+
font-size: var(--pz-font-size-18); // 18px
|
|
41
41
|
font-weight: 400;
|
|
42
42
|
line-height: 1.5;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
@mixin typography-h4-semibold {
|
|
46
|
-
font-size: var(--size-
|
|
46
|
+
font-size: var(--pz-font-size-18); // 18px
|
|
47
47
|
font-weight: 600;
|
|
48
48
|
line-height: 1.5;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
@mixin typography-h4-bold {
|
|
52
|
-
font-size: var(--size-
|
|
52
|
+
font-size: var(--pz-font-size-18); // 18px
|
|
53
53
|
font-weight: 700;
|
|
54
54
|
line-height: 1.5;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
@mixin typography-subtitle {
|
|
58
|
-
font-size: var(--size-
|
|
58
|
+
font-size: var(--pz-font-size-16); // 16px
|
|
59
59
|
font-weight: 600;
|
|
60
60
|
line-height: 1.5;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
@mixin typography-body-regular {
|
|
64
|
-
font-size: var(--size-
|
|
64
|
+
font-size: var(--pz-font-size-14); // 14px
|
|
65
65
|
font-weight: 400;
|
|
66
66
|
line-height: 1.5;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
@mixin typography-body-semibold {
|
|
70
|
-
font-size: var(--size-
|
|
70
|
+
font-size: var(--pz-font-size-14); // 14px
|
|
71
71
|
font-weight: 600;
|
|
72
72
|
line-height: 1.5;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
@mixin typography-body-bold {
|
|
76
|
-
font-size: var(--size-
|
|
76
|
+
font-size: var(--pz-font-size-14); // 14px
|
|
77
77
|
font-weight: 700;
|
|
78
78
|
line-height: 1.5;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
@mixin typography-capitalized {
|
|
82
|
-
font-size: var(--size-
|
|
82
|
+
font-size: var(--pz-font-size-14); // 14px
|
|
83
83
|
font-weight: 400;
|
|
84
84
|
line-height: 1.5;
|
|
85
85
|
text-transform: uppercase;
|
|
@@ -87,52 +87,52 @@
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
@mixin typography-hint {
|
|
90
|
-
font-size: var(--size-
|
|
90
|
+
font-size: var(--pz-font-size-14); // 14px
|
|
91
91
|
font-weight: 400;
|
|
92
92
|
line-height: 1.5;
|
|
93
|
-
color: var(--
|
|
93
|
+
color: var(--pz-color-text-secondary);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
@mixin typography-line-through {
|
|
97
|
-
font-size: var(--size-
|
|
97
|
+
font-size: var(--pz-font-size-14); // 14px
|
|
98
98
|
font-weight: 400;
|
|
99
99
|
line-height: 1.5;
|
|
100
100
|
text-decoration: line-through;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
@mixin typography-small-regular {
|
|
104
|
-
font-size: var(--size-
|
|
104
|
+
font-size: var(--pz-font-size-12); // 12px
|
|
105
105
|
font-weight: 400;
|
|
106
106
|
line-height: 1.5;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
@mixin typography-small-semibold {
|
|
110
|
-
font-size: var(--size-
|
|
110
|
+
font-size: var(--pz-font-size-12); // 12px
|
|
111
111
|
font-weight: 600;
|
|
112
112
|
line-height: 1.5;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
@mixin typography-small-bold {
|
|
116
|
-
font-size: var(--size-
|
|
116
|
+
font-size: var(--pz-font-size-12); // 12px
|
|
117
117
|
font-weight: 700;
|
|
118
118
|
line-height: 1.5;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
@mixin typography-link {
|
|
122
|
-
font-size: var(--size-
|
|
122
|
+
font-size: var(--pz-font-size-14); // 14px
|
|
123
123
|
font-weight: 400;
|
|
124
124
|
line-height: 1.5;
|
|
125
|
-
color: var(--
|
|
125
|
+
color: var(--pz-color-text-link);
|
|
126
126
|
text-decoration: underline;
|
|
127
127
|
cursor: pointer;
|
|
128
128
|
|
|
129
129
|
&:hover {
|
|
130
|
-
color: var(--
|
|
130
|
+
color: var(--pz-color-text-link-hover);
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
@mixin typography-document {
|
|
135
|
-
font-size: var(--size-
|
|
135
|
+
font-size: var(--pz-font-size-14); // 14px
|
|
136
136
|
font-weight: 400;
|
|
137
137
|
line-height: 1.5;
|
|
138
138
|
}
|
|
@@ -142,61 +142,61 @@
|
|
|
142
142
|
// @include max-media-devices("sm") { @include typography-h1-bold-mobile; }
|
|
143
143
|
|
|
144
144
|
@mixin typography-h1-bold-mobile {
|
|
145
|
-
font-size: var(--size-
|
|
145
|
+
font-size: var(--pz-font-size-24); // 24px
|
|
146
146
|
font-weight: 700;
|
|
147
147
|
line-height: 1.5;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
@mixin typography-h1-regular-mobile {
|
|
151
|
-
font-size: var(--size-
|
|
151
|
+
font-size: var(--pz-font-size-24); // 24px
|
|
152
152
|
font-weight: 400;
|
|
153
153
|
line-height: 1.5;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
@mixin typography-h2-bold-mobile {
|
|
157
|
-
font-size: var(--size-
|
|
157
|
+
font-size: var(--pz-font-size-20); // 20px
|
|
158
158
|
font-weight: 700;
|
|
159
159
|
line-height: 1.5;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
@mixin typography-h2-regular-mobile {
|
|
163
|
-
font-size: var(--size-
|
|
163
|
+
font-size: var(--pz-font-size-20); // 20px
|
|
164
164
|
font-weight: 400;
|
|
165
165
|
line-height: 1.5;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
@mixin typography-h3-bold-mobile {
|
|
169
|
-
font-size: var(--size-
|
|
169
|
+
font-size: var(--pz-font-size-18); // 18px
|
|
170
170
|
font-weight: 700;
|
|
171
171
|
line-height: 1.5;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
@mixin typography-h3-semibold-mobile {
|
|
175
|
-
font-size: var(--size-
|
|
175
|
+
font-size: var(--pz-font-size-18); // 18px
|
|
176
176
|
font-weight: 600;
|
|
177
177
|
line-height: 1.5;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
@mixin typography-h3-regular-mobile {
|
|
181
|
-
font-size: var(--size-
|
|
181
|
+
font-size: var(--pz-font-size-18); // 18px
|
|
182
182
|
font-weight: 400;
|
|
183
183
|
line-height: 1.5;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
@mixin typography-h4-bold-mobile {
|
|
187
|
-
font-size: var(--size-
|
|
187
|
+
font-size: var(--pz-font-size-16); // 16px
|
|
188
188
|
font-weight: 700;
|
|
189
189
|
line-height: 1.5;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
@mixin typography-h4-semibold-mobile {
|
|
193
|
-
font-size: var(--size-
|
|
193
|
+
font-size: var(--pz-font-size-16); // 16px
|
|
194
194
|
font-weight: 600;
|
|
195
195
|
line-height: 1.5;
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
@mixin typography-h4-regular-mobile {
|
|
199
|
-
font-size: var(--size-
|
|
199
|
+
font-size: var(--pz-font-size-16); // 16px
|
|
200
200
|
font-weight: 400;
|
|
201
201
|
line-height: 1.5;
|
|
202
202
|
}
|
|
@@ -1,59 +1,150 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
// Colors
|
|
3
|
-
|
|
4
|
-
--
|
|
5
|
-
--black-
|
|
6
|
-
--
|
|
7
|
-
--
|
|
8
|
-
--
|
|
9
|
-
--
|
|
10
|
-
--
|
|
11
|
-
--
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--
|
|
21
|
-
--
|
|
22
|
-
--green: #599a4f;
|
|
23
|
-
--green-
|
|
24
|
-
--
|
|
25
|
-
--green
|
|
26
|
-
--
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
--
|
|
3
|
+
// Raw colors
|
|
4
|
+
--pz-color-white: #fff;
|
|
5
|
+
--pz-color-black-90: #242638;
|
|
6
|
+
--pz-color-grey-20: #f5f5f5;
|
|
7
|
+
--pz-color-grey-30: #d6dade;
|
|
8
|
+
--pz-color-grey-40: #c0c0c0;
|
|
9
|
+
--pz-color-grey-60: #6d6d6d;
|
|
10
|
+
--pz-color-blue-10: #f0f4f5;
|
|
11
|
+
--pz-color-blue-30: #c2d8de;
|
|
12
|
+
--pz-color-blue-50: #2070d1;
|
|
13
|
+
--pz-color-blue-60: #014da8;
|
|
14
|
+
--pz-color-red-30: #f7dcdc;
|
|
15
|
+
--pz-color-red-40: #e85d57;
|
|
16
|
+
--pz-color-red-50: #ff3800;
|
|
17
|
+
--pz-color-red-60: #d70c17;
|
|
18
|
+
--pz-color-orange-50: #ff831a;
|
|
19
|
+
--pz-color-orange-60: #e86a00;
|
|
20
|
+
--pz-color-green-20: #e2f7dc;
|
|
21
|
+
--pz-color-green-30: #89db33;
|
|
22
|
+
--pz-color-green-50: #599a4f;
|
|
23
|
+
--pz-color-green-60: #4c8344;
|
|
24
|
+
--pz-color-gradient-blue: #0082fc;
|
|
25
|
+
--pz-color-gradient-green: #599a4f;
|
|
26
|
+
--pz-color-gradient-orange: #ff831a;
|
|
27
|
+
|
|
28
|
+
// Gradients
|
|
29
|
+
--pz-gradient-blue: linear-gradient(90deg, var(--pz-color-gradient-blue) 0%, var(--pz-color-white) 100%);
|
|
30
|
+
--pz-gradient-green: linear-gradient(90deg, var(--pz-color-gradient-green) 0%, var(--pz-color-white) 100%);
|
|
31
|
+
--pz-gradient-orange: linear-gradient(90deg, var(--pz-color-gradient-orange) 0%, var(--pz-color-white) 100%);
|
|
32
|
+
|
|
33
|
+
// Usage tokens: text
|
|
34
|
+
--pz-color-text-primary: var(--pz-color-black-90);
|
|
35
|
+
--pz-color-text-secondary: var(--pz-color-grey-60);
|
|
36
|
+
--pz-color-text-link: var(--pz-color-blue-50);
|
|
37
|
+
--pz-color-text-link-hover: var(--pz-color-blue-60);
|
|
38
|
+
--pz-color-text-link-disabled: var(--pz-color-grey-40);
|
|
39
|
+
|
|
40
|
+
// Usage tokens: buttons
|
|
41
|
+
--pz-color-button-danger: var(--pz-color-red-50);
|
|
42
|
+
--pz-color-button-danger-hover: var(--pz-color-red-60);
|
|
43
|
+
--pz-color-button-primary: var(--pz-color-blue-50);
|
|
44
|
+
--pz-color-button-primary-hover: var(--pz-color-blue-60);
|
|
45
|
+
--pz-color-button-success-light: var(--pz-color-green-30);
|
|
46
|
+
--pz-color-button-success: var(--pz-color-green-50);
|
|
47
|
+
--pz-color-button-success-hover: var(--pz-color-green-60);
|
|
48
|
+
--pz-color-button-alert: var(--pz-color-orange-50);
|
|
49
|
+
--pz-color-button-alert-hover: var(--pz-color-orange-60);
|
|
50
|
+
--pz-color-button-disabled: var(--pz-color-grey-40);
|
|
51
|
+
|
|
52
|
+
// Usage tokens: status
|
|
53
|
+
--pz-color-status-inactive: var(--pz-color-red-50);
|
|
54
|
+
--pz-color-status-hidden: var(--pz-color-orange-50);
|
|
55
|
+
--pz-color-status-active: var(--pz-color-green-50);
|
|
56
|
+
--pz-color-status-monitoring: var(--pz-color-green-30);
|
|
57
|
+
--pz-color-status-disabled: var(--pz-color-grey-40);
|
|
58
|
+
--pz-color-status-progress: var(--pz-color-blue-50);
|
|
59
|
+
--pz-gradient-status-auction-progress: var(--pz-gradient-blue);
|
|
60
|
+
--pz-gradient-status-auction-waiting: var(--pz-gradient-orange);
|
|
61
|
+
--pz-gradient-status-auction-success: var(--pz-gradient-green);
|
|
62
|
+
|
|
63
|
+
// Usage tokens: background
|
|
64
|
+
--pz-color-background-primary: var(--pz-color-white);
|
|
65
|
+
--pz-color-background-frame: var(--pz-color-grey-20);
|
|
66
|
+
--pz-color-background-hover: var(--pz-color-blue-10);
|
|
67
|
+
|
|
68
|
+
// Usage tokens: tags
|
|
69
|
+
--pz-color-tag-green: var(--pz-color-green-20);
|
|
70
|
+
--pz-color-tag-grey: var(--pz-color-grey-30);
|
|
71
|
+
--pz-color-tag-blue: var(--pz-color-blue-30);
|
|
72
|
+
--pz-color-tag-red: var(--pz-color-red-30);
|
|
73
|
+
|
|
74
|
+
// Usage tokens: stroke
|
|
75
|
+
--pz-color-stroke-red: var(--pz-color-red-60);
|
|
76
|
+
--pz-color-stroke-grey: var(--pz-color-grey-30);
|
|
77
|
+
|
|
78
|
+
// Usage tokens: icons
|
|
79
|
+
--pz-color-icon-primary: var(--pz-color-blue-50);
|
|
80
|
+
--pz-color-icon-hover: var(--pz-color-blue-60);
|
|
81
|
+
--pz-color-icon-danger: var(--pz-color-red-50);
|
|
82
|
+
--pz-color-icon-danger-hover: var(--pz-color-red-60);
|
|
83
|
+
--pz-color-icon-success-light: var(--pz-color-green-30);
|
|
84
|
+
--pz-color-icon-success: var(--pz-color-green-50);
|
|
85
|
+
--pz-color-icon-success-hover: var(--pz-color-green-60);
|
|
86
|
+
--pz-color-icon-alert: var(--pz-color-orange-50);
|
|
87
|
+
--pz-color-icon-alert-hover: var(--pz-color-orange-60);
|
|
88
|
+
--pz-color-icon-disabled: var(--pz-color-grey-40);
|
|
89
|
+
|
|
90
|
+
// Usage tokens: misc
|
|
91
|
+
--pz-color-auction-red-text: var(--pz-color-red-40);
|
|
35
92
|
|
|
36
93
|
// Font sizes
|
|
37
|
-
--size-
|
|
38
|
-
--size-
|
|
39
|
-
--size-
|
|
40
|
-
--size-
|
|
41
|
-
--size-
|
|
42
|
-
--size-
|
|
43
|
-
--size-
|
|
44
|
-
--size-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
--
|
|
49
|
-
--
|
|
50
|
-
--
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
--
|
|
54
|
-
--
|
|
55
|
-
--
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
94
|
+
--pz-font-size-44: 44px;
|
|
95
|
+
--pz-font-size-32: 32px;
|
|
96
|
+
--pz-font-size-24: 24px;
|
|
97
|
+
--pz-font-size-20: 20px;
|
|
98
|
+
--pz-font-size-18: 18px;
|
|
99
|
+
--pz-font-size-16: 16px;
|
|
100
|
+
--pz-font-size-14: 14px;
|
|
101
|
+
--pz-font-size-12: 12px;
|
|
102
|
+
|
|
103
|
+
// Spacing scale
|
|
104
|
+
--pz-space-0: 0;
|
|
105
|
+
--pz-space-4: 4px;
|
|
106
|
+
--pz-space-8: 8px;
|
|
107
|
+
--pz-space-16: 16px;
|
|
108
|
+
--pz-space-20: 20px;
|
|
109
|
+
--pz-space-24: 24px;
|
|
110
|
+
--pz-space-32: 32px;
|
|
111
|
+
--pz-space-40: 40px;
|
|
112
|
+
--pz-space-44: 44px;
|
|
113
|
+
--pz-space-60: 60px;
|
|
114
|
+
|
|
115
|
+
// Grid system
|
|
116
|
+
--pz-grid-columns-mobile: 4;
|
|
117
|
+
--pz-grid-columns-tablet: 8;
|
|
118
|
+
--pz-grid-columns-desktop: 12;
|
|
119
|
+
--pz-grid-gutter-mobile: 16px;
|
|
120
|
+
--pz-grid-gutter-tablet: 24px;
|
|
121
|
+
--pz-grid-gutter-desktop: 24px;
|
|
122
|
+
--pz-grid-margin-mobile: 16px;
|
|
123
|
+
--pz-grid-margin-tablet: 32px;
|
|
124
|
+
--pz-grid-margin-desktop: 80px;
|
|
125
|
+
--pz-grid-frame-max-width-mobile: 100%;
|
|
126
|
+
--pz-grid-frame-max-width-tablet: 768px;
|
|
127
|
+
--pz-grid-frame-max-width-desktop: 1440px;
|
|
128
|
+
--pz-grid-columns: var(--pz-grid-columns-mobile);
|
|
129
|
+
--pz-grid-gutter: var(--pz-grid-gutter-mobile);
|
|
130
|
+
--pz-grid-margin: var(--pz-grid-margin-mobile);
|
|
131
|
+
--pz-grid-frame-max-width: var(--pz-grid-frame-max-width-mobile);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@media (width >= 768px) {
|
|
135
|
+
:root {
|
|
136
|
+
--pz-grid-columns: var(--pz-grid-columns-tablet);
|
|
137
|
+
--pz-grid-gutter: var(--pz-grid-gutter-tablet);
|
|
138
|
+
--pz-grid-margin: var(--pz-grid-margin-tablet);
|
|
139
|
+
--pz-grid-frame-max-width: var(--pz-grid-frame-max-width-tablet);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
@media (width >= 1200px) {
|
|
144
|
+
:root {
|
|
145
|
+
--pz-grid-columns: var(--pz-grid-columns-desktop);
|
|
146
|
+
--pz-grid-gutter: var(--pz-grid-gutter-desktop);
|
|
147
|
+
--pz-grid-margin: var(--pz-grid-margin-desktop);
|
|
148
|
+
--pz-grid-frame-max-width: var(--pz-grid-frame-max-width-desktop);
|
|
149
|
+
}
|
|
59
150
|
}
|
package/src/styles/main.scss
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pz-text-demo{display:grid;gap:20px;padding:clamp(20px,2vw,28px);border:1px solid rgba(194,216,222,.95);border-radius:28px;background:linear-gradient(180deg,#fffffffa,#f4f8f9f5),linear-gradient(135deg,rgba(1,77,168,.04),transparent 40%);box-shadow:0 20px 70px #2426381a,inset 0 1px #fffffffa}.pz-text-demo-header{display:flex;align-items:end;justify-content:space-between;gap:16px}.pz-text-demo-eyebrow,.pz-text-board-eyebrow,.pz-text-board-group-kicker,.pz-text-board-variant,.pz-text-board-chip{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.pz-text-demo-eyebrow,.pz-text-board-eyebrow,.pz-text-board-group-kicker{color:var(--blue)}.pz-text-demo-title,.pz-text-board-title,.pz-text-board-group-title{margin:0;color:var(--black)}.pz-text-demo-title{font-size:clamp(22px,2vw,28px);line-height:1.2}.pz-text-demo-spec,.pz-text-board-spec{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--gray-900)}.pz-text-demo-surface{position:relative;padding:clamp(24px,3vw,44px);border-radius:22px;background:var(--white);box-shadow:inset 0 0 0 1px #d6dadebf,0 18px 40px #24263814}.pz-text-demo-surface:before{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(rgba(1,77,168,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(1,77,168,.04) 1px,transparent 1px);background-size:28px 28px;border-radius:inherit;content:"";-webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.22),transparent 64%);mask-image:linear-gradient(180deg,rgba(0,0,0,.22),transparent 64%);pointer-events:none}.pz-text-board{display:grid;gap:22px}.pz-text-board-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:20px;align-items:stretch}.pz-text-board-hero-copy,.pz-text-board-hero-preview,.pz-text-board-group{padding:clamp(22px,2vw,30px);border:1px solid rgba(194,216,222,.92);border-radius:28px;background:linear-gradient(180deg,#fffffffa,#f4f8f9f5),linear-gradient(135deg,rgba(1,77,168,.04),transparent 38%);box-shadow:0 18px 60px #24263814,inset 0 1px #fffffff5}.pz-text-board-hero-copy{display:grid;align-content:center;gap:16px}.pz-text-board-title{font-size:clamp(32px,4vw,48px);line-height:1.05;max-width:12ch}.pz-text-board-description{margin:0;max-width:60ch;font-size:15px;line-height:1.7;color:var(--gray-500)}.pz-text-board-hero-preview{display:grid;align-content:start;gap:20px;background:radial-gradient(circle at top right,rgba(1,77,168,.08),transparent 28%),linear-gradient(180deg,#fffffffa,#f4f8f9f5)}.pz-text-board-chip{justify-self:start;padding:9px 12px;border-radius:999px;background:#014da814;color:var(--blue)}.pz-text-board-group{display:grid;gap:18px}.pz-text-board-group-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.pz-text-board-group-title{font-size:20px;line-height:1.35}.pz-text-board-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pz-text-board-card{display:grid;gap:16px;padding:18px;min-height:122px;border:1px solid rgba(214,218,222,.88);border-radius:22px;background:#fffffff0;box-shadow:0 12px 34px #2426380f}.pz-text-board-meta{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.pz-text-board-variant{color:var(--blue)}@media (width <= 1024px){.pz-text-board-hero,.pz-text-board-grid{grid-template-columns:1fr}}@media (width <= 640px){.pz-text-demo-header,.pz-text-board-meta{flex-direction:column;align-items:start}.pz-text-board-hero-copy,.pz-text-board-hero-preview,.pz-text-board-group,.pz-text-demo{padding:20px;border-radius:22px}}.pz-text[data-v-bd3b2150]{margin:0;padding:0}.pz-text--h1-bold[data-v-bd3b2150]{font-size:var(--size-xxl);font-weight:700;line-height:1.5}@media (max-width: 575.98px){.pz-text--h1-bold[data-v-bd3b2150]{font-size:var(--size-xl);font-weight:700;line-height:1.5}}.pz-text--h1-regular[data-v-bd3b2150]{font-size:var(--size-xxl);font-weight:400;line-height:1.5}@media (max-width: 575.98px){.pz-text--h1-regular[data-v-bd3b2150]{font-size:var(--size-xl);font-weight:400;line-height:1.5}}.pz-text--h2-bold[data-v-bd3b2150]{font-size:var(--size-xxlss);font-weight:700;line-height:1.5}@media (max-width: 575.98px){.pz-text--h2-bold[data-v-bd3b2150]{font-size:var(--size-xls);font-weight:700;line-height:1.5}}.pz-text--h3-bold[data-v-bd3b2150]{font-size:var(--size-xl);font-weight:700;line-height:1.5}@media (max-width: 575.98px){.pz-text--h3-bold[data-v-bd3b2150]{font-size:var(--size-l);font-weight:700;line-height:1.5}}.pz-text--h3-regular[data-v-bd3b2150]{font-size:var(--size-xl);font-weight:400;line-height:1.5}@media (max-width: 575.98px){.pz-text--h3-regular[data-v-bd3b2150]{font-size:var(--size-l);font-weight:400;line-height:1.5}}.pz-text--h4-regular[data-v-bd3b2150]{font-size:var(--size-l);font-weight:400;line-height:1.5}@media (max-width: 575.98px){.pz-text--h4-regular[data-v-bd3b2150]{font-size:var(--size-m);font-weight:400;line-height:1.5}}.pz-text--h4-semibold[data-v-bd3b2150]{font-size:var(--size-l);font-weight:600;line-height:1.5}@media (max-width: 575.98px){.pz-text--h4-semibold[data-v-bd3b2150]{font-size:var(--size-m);font-weight:600;line-height:1.5}}.pz-text--h4-bold[data-v-bd3b2150]{font-size:var(--size-l);font-weight:700;line-height:1.5}@media (max-width: 575.98px){.pz-text--h4-bold[data-v-bd3b2150]{font-size:var(--size-m);font-weight:700;line-height:1.5}}.pz-text--subtitle[data-v-bd3b2150]{font-size:var(--size-m);font-weight:600;line-height:1.5}.pz-text--body-regular[data-v-bd3b2150]{font-size:var(--size-s);font-weight:400;line-height:1.5}.pz-text--body-semibold[data-v-bd3b2150]{font-size:var(--size-s);font-weight:600;line-height:1.5}.pz-text--body-bold[data-v-bd3b2150]{font-size:var(--size-s);font-weight:700;line-height:1.5}.pz-text--capitalized[data-v-bd3b2150]{font-size:var(--size-s);font-weight:400;line-height:1.5;text-transform:uppercase;letter-spacing:.05em}.pz-text--hint[data-v-bd3b2150]{font-size:var(--size-s);font-weight:400;line-height:1.5;color:var(--gray-900)}.pz-text--line-through[data-v-bd3b2150]{font-size:var(--size-s);font-weight:400;line-height:1.5;text-decoration:line-through}.pz-text--small-regular[data-v-bd3b2150]{font-size:var(--size-xs);font-weight:400;line-height:1.5}.pz-text--small-semibold[data-v-bd3b2150]{font-size:var(--size-xs);font-weight:600;line-height:1.5}.pz-text--small-bold[data-v-bd3b2150]{font-size:var(--size-xs);font-weight:700;line-height:1.5}.pz-text--link[data-v-bd3b2150]{font-size:var(--size-s);font-weight:400;line-height:1.5;color:var(--blue-100);text-decoration:underline;cursor:pointer}.pz-text--link[data-v-bd3b2150]:hover{color:var(--blue)}.pz-text--document[data-v-bd3b2150]{font-size:var(--size-s);font-weight:400;line-height:1.5}
|