@matteusan/himig 1.7.3 → 1.8.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/.yarn/cache/{@matteusan-pintig-npm-1.8.0-fbcf4469f0-f83672ea90.zip → @matteusan-pintig-npm-1.9.0-c7e5b3fb64-9c9493bbb5.zip} +0 -0
- package/.yarn/install-state.gz +0 -0
- package/_index.scss +126 -106
- package/_init-font-pack.scss +1 -1
- package/ms-badge/_badge-styles.scss +12 -10
- package/ms-button/_button-base.scss +1 -1
- package/ms-button/_button-mixins.scss +16 -23
- package/ms-button/_button-styles.scss +121 -117
- package/ms-card/_card-base.scss +179 -143
- package/ms-card/_card-styles.scss +48 -29
- package/ms-card/_card-theme.scss +13 -8
- package/ms-form-field/_form-field-base.scss +4 -4
- package/ms-form-field/_form-field-styles.scss +75 -136
- package/ms-form-field/_form-field-theme.scss +7 -7
- package/ms-link/_link-styles.scss +29 -27
- package/ms-link/_link-theme.scss +3 -3
- package/ms-list/_list-base.scss +1 -1
- package/ms-list/_list-styles.scss +36 -34
- package/ms-select-field/_select-field-base.scss +5 -4
- package/ms-select-field/_select-field-styles.scss +85 -118
- package/ms-select-field/_select-field-theme.scss +7 -7
- package/ms-tick-field/_tick-field-base.scss +2 -2
- package/ms-tick-field/_tick-field-styles.scss +58 -56
- package/ms-tick-field/_tick-field-theme.scss +5 -5
- package/ms-utils/_color-utils.scss +37 -35
- package/ms-utils/_layout-utils.scss +164 -153
- package/ms-utils/_struct-utils.scss +150 -148
- package/ms-utils/_typography-utils.scss +100 -72
- package/package.json +29 -5
|
@@ -11,7 +11,16 @@
|
|
|
11
11
|
$_breakpoints: consts.$breakpoints;
|
|
12
12
|
$_displays: ('none', 'block', 'inline', 'inline-block', 'flex', 'inline-flex', 'grid', 'inline-grid');
|
|
13
13
|
$_positions: ('static', 'relative', 'absolute', 'fixed', 'sticky');
|
|
14
|
-
$_alignments: (
|
|
14
|
+
$_alignments: (
|
|
15
|
+
'start': 'flex-start',
|
|
16
|
+
'center': 'center',
|
|
17
|
+
'end': 'flex-end',
|
|
18
|
+
'stretch': 'stretch',
|
|
19
|
+
'baseline': 'baseline',
|
|
20
|
+
'space-between': 'space-between',
|
|
21
|
+
'space-around': 'space-around',
|
|
22
|
+
'space-evenly': 'space-evenly'
|
|
23
|
+
);
|
|
15
24
|
$_flows: ('row', 'column', 'row-reverse', 'column-reverse');
|
|
16
25
|
$_wraps: ('none': 'nowrap', 'default': 'wrap','reverse': 'wrap-reverse');
|
|
17
26
|
$_max-columns: 12;
|
|
@@ -49,238 +58,240 @@ $_gaps: (
|
|
|
49
58
|
'gap',
|
|
50
59
|
), $include, $exclude);
|
|
51
60
|
|
|
52
|
-
@
|
|
53
|
-
@
|
|
54
|
-
|
|
55
|
-
display
|
|
56
|
-
|
|
61
|
+
@layer utils {
|
|
62
|
+
@if list.index($utils-to-render, 'display') {
|
|
63
|
+
@each $display in $_displays {
|
|
64
|
+
.#{$display} {
|
|
65
|
+
display: string.unquote($display);
|
|
66
|
+
}
|
|
57
67
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
68
|
+
@each $breakpoint in $_breakpoints {
|
|
69
|
+
.\@#{$breakpoint}\:#{$display} {
|
|
70
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
71
|
+
display: string.unquote($display) !important;
|
|
72
|
+
}
|
|
62
73
|
}
|
|
63
74
|
}
|
|
64
75
|
}
|
|
65
76
|
}
|
|
66
|
-
}
|
|
67
77
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
78
|
+
@if list.index($utils-to-render, 'position') {
|
|
79
|
+
@each $position in $_positions {
|
|
80
|
+
.#{$position} {
|
|
81
|
+
position: string.unquote($position);
|
|
82
|
+
}
|
|
73
83
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
84
|
+
@each $breakpoint in $_breakpoints {
|
|
85
|
+
.\@#{$breakpoint}\:#{$position} {
|
|
86
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
87
|
+
position: string.unquote($position) !important;
|
|
88
|
+
}
|
|
78
89
|
}
|
|
79
90
|
}
|
|
80
91
|
}
|
|
81
92
|
}
|
|
82
|
-
}
|
|
83
93
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
94
|
+
@if list.index($utils-to-render, 'flow') {
|
|
95
|
+
@each $flow in $_flows {
|
|
96
|
+
.flow-#{$flow} {
|
|
97
|
+
flex-flow: string.unquote($flow);
|
|
98
|
+
}
|
|
89
99
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
100
|
+
@each $breakpoint in $_breakpoints {
|
|
101
|
+
.\@#{$breakpoint}\:flow-#{$flow} {
|
|
102
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
103
|
+
flex-flow: string.unquote($flow) !important;
|
|
104
|
+
}
|
|
94
105
|
}
|
|
95
106
|
}
|
|
96
107
|
}
|
|
97
108
|
}
|
|
98
|
-
}
|
|
99
109
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
@if $wrap == 'default' {
|
|
103
|
-
.wrap {
|
|
104
|
-
flex-wrap: string.unquote($value);
|
|
105
|
-
}
|
|
106
|
-
} @else {
|
|
107
|
-
.wrap-#{$wrap} {
|
|
108
|
-
flex-wrap: string.unquote($value);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
@each $breakpoint in $_breakpoints {
|
|
110
|
+
@if list.index($utils-to-render, 'wrap') {
|
|
111
|
+
@each $wrap, $value in $_wraps {
|
|
113
112
|
@if $wrap == 'default' {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
flex-wrap: string.unquote($value) !important;
|
|
117
|
-
}
|
|
113
|
+
.wrap {
|
|
114
|
+
flex-wrap: string.unquote($value);
|
|
118
115
|
}
|
|
119
116
|
} @else {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
117
|
+
.wrap-#{$wrap} {
|
|
118
|
+
flex-wrap: string.unquote($value);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@each $breakpoint in $_breakpoints {
|
|
123
|
+
@if $wrap == 'default' {
|
|
124
|
+
.\@#{$breakpoint}\:wrap {
|
|
125
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
126
|
+
flex-wrap: string.unquote($value) !important;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
} @else {
|
|
130
|
+
.\@#{$breakpoint}\:wrap-#{$wrap} {
|
|
131
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
132
|
+
flex-wrap: string.unquote($value) !important;
|
|
133
|
+
}
|
|
123
134
|
}
|
|
124
135
|
}
|
|
125
136
|
}
|
|
126
137
|
}
|
|
127
138
|
}
|
|
128
|
-
}
|
|
129
139
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
140
|
+
@each $alignment, $alignment-val in $_alignments {
|
|
141
|
+
@if list.index($utils-to-render, 'jc') {
|
|
142
|
+
.jc-#{$alignment} {
|
|
143
|
+
justify-content: string.unquote($alignment-val);
|
|
144
|
+
}
|
|
135
145
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
146
|
+
@each $breakpoint in $_breakpoints {
|
|
147
|
+
.\@#{$breakpoint}\:jc-#{$alignment} {
|
|
148
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
149
|
+
justify-content: string.unquote($alignment-val) !important;
|
|
150
|
+
}
|
|
140
151
|
}
|
|
141
152
|
}
|
|
142
153
|
}
|
|
143
|
-
}
|
|
144
154
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
155
|
+
@if list.index($utils-to-render, 'ji') {
|
|
156
|
+
.ji-#{$alignment} {
|
|
157
|
+
justify-items: string.unquote($alignment);
|
|
158
|
+
}
|
|
149
159
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
160
|
+
@each $breakpoint in $_breakpoints {
|
|
161
|
+
.\@#{$breakpoint}\:ji-#{$alignment} {
|
|
162
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
163
|
+
justify-items: string.unquote($alignment) !important;
|
|
164
|
+
}
|
|
154
165
|
}
|
|
155
166
|
}
|
|
156
167
|
}
|
|
157
|
-
}
|
|
158
168
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
169
|
+
@if list.index($utils-to-render, 'ac') {
|
|
170
|
+
.ac-#{$alignment} {
|
|
171
|
+
align-content: string.unquote($alignment);
|
|
172
|
+
}
|
|
163
173
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
174
|
+
@each $breakpoint in $_breakpoints {
|
|
175
|
+
.\@#{$breakpoint}\:ac-#{$alignment} {
|
|
176
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
177
|
+
align-content: string.unquote($alignment) !important;
|
|
178
|
+
}
|
|
168
179
|
}
|
|
169
180
|
}
|
|
170
181
|
}
|
|
171
|
-
}
|
|
172
182
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
183
|
+
@if list.index($utils-to-render, 'ai') {
|
|
184
|
+
.ai-#{$alignment} {
|
|
185
|
+
align-items: string.unquote($alignment);
|
|
186
|
+
}
|
|
177
187
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
188
|
+
@each $breakpoint in $_breakpoints {
|
|
189
|
+
.\@#{$breakpoint}\:ai-#{$alignment} {
|
|
190
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
191
|
+
align-items: string.unquote($alignment) !important;
|
|
192
|
+
}
|
|
182
193
|
}
|
|
183
194
|
}
|
|
184
195
|
}
|
|
185
|
-
}
|
|
186
196
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
197
|
+
@if list.index($utils-to-render, 'pc') {
|
|
198
|
+
.pc-#{$alignment} {
|
|
199
|
+
place-content: string.unquote($alignment);
|
|
200
|
+
}
|
|
191
201
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
202
|
+
@each $breakpoint in $_breakpoints {
|
|
203
|
+
.\@#{$breakpoint}\:pc-#{$alignment} {
|
|
204
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
205
|
+
place-content: string.unquote($alignment) !important;
|
|
206
|
+
}
|
|
196
207
|
}
|
|
197
208
|
}
|
|
198
209
|
}
|
|
199
|
-
}
|
|
200
210
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
211
|
+
@if list.index($utils-to-render, 'pi') {
|
|
212
|
+
.pi-#{$alignment} {
|
|
213
|
+
place-items: string.unquote($alignment);
|
|
214
|
+
}
|
|
205
215
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
216
|
+
@each $breakpoint in $_breakpoints {
|
|
217
|
+
.\@#{$breakpoint}\:pi-#{$alignment} {
|
|
218
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
219
|
+
place-items: string.unquote($alignment) !important;
|
|
220
|
+
}
|
|
210
221
|
}
|
|
211
222
|
}
|
|
212
223
|
}
|
|
213
224
|
}
|
|
214
|
-
}
|
|
215
225
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
226
|
+
@for $i from 1 through $_max-columns {
|
|
227
|
+
@if list.index($utils-to-render, 'cols') {
|
|
228
|
+
.cols-#{$i} {
|
|
229
|
+
grid-template-columns: repeat($i, 1fr);
|
|
230
|
+
}
|
|
221
231
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
232
|
+
@each $breakpoint in $_breakpoints {
|
|
233
|
+
.\@#{$breakpoint}\:cols-#{$i} {
|
|
234
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
235
|
+
grid-template-columns: repeat($i, 1fr) !important;
|
|
236
|
+
}
|
|
226
237
|
}
|
|
227
238
|
}
|
|
228
239
|
}
|
|
229
|
-
}
|
|
230
240
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
241
|
+
@if list.index($utils-to-render, 'rows') {
|
|
242
|
+
.rows-#{$i} {
|
|
243
|
+
grid-template-rows: repeat($i, 1fr);
|
|
244
|
+
}
|
|
235
245
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
246
|
+
@each $breakpoint in $_breakpoints {
|
|
247
|
+
.\@#{$breakpoint}\:rows-#{$i} {
|
|
248
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
249
|
+
grid-template-rows: repeat($i, 1fr) !important;
|
|
250
|
+
}
|
|
240
251
|
}
|
|
241
252
|
}
|
|
242
253
|
}
|
|
243
|
-
}
|
|
244
254
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
255
|
+
@if list.index($utils-to-render, 'start') {
|
|
256
|
+
.start-#{$i} {
|
|
257
|
+
grid-column-start: $i;
|
|
258
|
+
}
|
|
249
259
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
260
|
+
@each $breakpoint in $_breakpoints {
|
|
261
|
+
.\@#{$breakpoint}\:start-#{$i} {
|
|
262
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
263
|
+
grid-column-start: $i !important;
|
|
264
|
+
}
|
|
254
265
|
}
|
|
255
266
|
}
|
|
256
267
|
}
|
|
257
|
-
}
|
|
258
268
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
269
|
+
@if list.index($utils-to-render, 'end') {
|
|
270
|
+
.end-#{$i} {
|
|
271
|
+
grid-column-end: $i + 1;
|
|
272
|
+
}
|
|
263
273
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
274
|
+
@each $breakpoint in $_breakpoints {
|
|
275
|
+
.\@#{$breakpoint}\:end-#{$i} {
|
|
276
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
277
|
+
grid-column-end: $i + 1 !important;
|
|
278
|
+
}
|
|
268
279
|
}
|
|
269
280
|
}
|
|
270
281
|
}
|
|
271
282
|
}
|
|
272
|
-
}
|
|
273
283
|
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
284
|
+
@if list.index($utils-to-render, 'gap') {
|
|
285
|
+
@each $gap in $_gaps {
|
|
286
|
+
.gap-#{$gap} {
|
|
287
|
+
gap: pintig.primitive-token-get('gap.#{$gap}');
|
|
288
|
+
}
|
|
279
289
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
290
|
+
@each $breakpoint in $_breakpoints {
|
|
291
|
+
.\@#{$breakpoint}\:gap-#{$gap} {
|
|
292
|
+
@include pintig.breakpoint-create($breakpoint) {
|
|
293
|
+
gap: pintig.primitive-token-get('gap.#{$gap}') !important;
|
|
294
|
+
}
|
|
284
295
|
}
|
|
285
296
|
}
|
|
286
297
|
}
|