@react-md/core 1.0.0-next.5 → 1.0.0-next.7
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/.turbo/turbo-build.log +5 -5
- package/.turbo/turbo-lint.log +12 -0
- package/CHANGELOG.md +12 -0
- package/dist/_core.scss +157 -240
- package/dist/_utils.scss +10 -0
- package/dist/app-bar/_app-bar.scss +95 -93
- package/dist/avatar/_avatar.scss +49 -47
- package/dist/badge/_badge.scss +19 -17
- package/dist/box/_box.scss +57 -55
- package/dist/button/_button.scss +122 -120
- package/dist/card/_card.scss +72 -70
- package/dist/chip/_chip.scss +105 -103
- package/dist/dialog/_dialog.scss +128 -126
- package/dist/divider/_divider.scss +24 -22
- package/dist/draggable/_draggable.scss +16 -12
- package/dist/expansion-panel/_expansion-panel.scss +69 -52
- package/dist/form/Form.d.ts +1 -1
- package/dist/form/Form.js +2 -1
- package/dist/form/Form.js.map +1 -1
- package/dist/form/_form.scss +1175 -1128
- package/dist/icon/_icon.scss +64 -62
- package/dist/interaction/_interaction.scss +39 -35
- package/dist/layout/_layout.scss +68 -67
- package/dist/link/_link.scss +52 -50
- package/dist/list/_list.scss +124 -122
- package/dist/menu/_menu.scss +9 -7
- package/dist/overlay/_overlay.scss +25 -23
- package/dist/progress/_progress.scss +11 -6
- package/dist/responsive-item/_responsive-item.scss +91 -89
- package/dist/segmented-button/_segmented-button.scss +54 -49
- package/dist/sheet/_sheet.scss +84 -82
- package/dist/snackbar/_snackbar.scss +128 -123
- package/dist/table/_table.scss +159 -157
- package/dist/tabs/_tabs.scss +10 -8
- package/dist/tooltip/_tooltip.scss +60 -58
- package/dist/transition/_transition.scss +44 -39
- package/dist/tree/_tree.scss +83 -81
- package/dist/typography/_typography.scss +58 -49
- package/dist/window-splitter/_window-splitter.scss +72 -70
- package/package.json +1 -1
- package/src/_core.scss +157 -240
- package/src/_utils.scss +10 -0
- package/src/app-bar/_app-bar.scss +95 -93
- package/src/avatar/_avatar.scss +49 -47
- package/src/badge/_badge.scss +19 -17
- package/src/box/_box.scss +57 -55
- package/src/button/_button.scss +122 -120
- package/src/card/_card.scss +72 -70
- package/src/chip/_chip.scss +105 -103
- package/src/dialog/_dialog.scss +128 -126
- package/src/divider/_divider.scss +24 -22
- package/src/draggable/_draggable.scss +16 -12
- package/src/expansion-panel/_expansion-panel.scss +69 -52
- package/src/form/Form.tsx +2 -1
- package/src/form/_form.scss +1175 -1128
- package/src/icon/_icon.scss +64 -62
- package/src/interaction/_interaction.scss +39 -35
- package/src/layout/_layout.scss +68 -67
- package/src/link/_link.scss +52 -50
- package/src/list/_list.scss +124 -122
- package/src/menu/_menu.scss +9 -7
- package/src/overlay/_overlay.scss +25 -23
- package/src/progress/_progress.scss +11 -6
- package/src/responsive-item/_responsive-item.scss +91 -89
- package/src/segmented-button/_segmented-button.scss +54 -49
- package/src/sheet/_sheet.scss +84 -82
- package/src/snackbar/_snackbar.scss +128 -123
- package/src/table/_table.scss +159 -157
- package/src/tabs/_tabs.scss +10 -8
- package/src/tooltip/_tooltip.scss +60 -58
- package/src/transition/_transition.scss +44 -39
- package/src/tree/_tree.scss +83 -81
- package/src/typography/_typography.scss +58 -49
- package/src/window-splitter/_window-splitter.scss +72 -70
- package/tsconfig.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
> @react-md/core@1.0.0-next.
|
|
2
|
+
> @react-md/core@1.0.0-next.6 build /home/mlaursen/code/react-md/packages/core
|
|
3
3
|
> npm-run-all build-esm build-scss build-types
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @react-md/core@1.0.0-next.
|
|
6
|
+
> @react-md/core@1.0.0-next.6 build-esm /home/mlaursen/code/react-md/packages/core
|
|
7
7
|
> swc src -d ./dist
|
|
8
8
|
|
|
9
|
-
Successfully compiled: 368 files with swc (
|
|
9
|
+
Successfully compiled: 368 files with swc (344.05ms)
|
|
10
10
|
|
|
11
|
-
> @react-md/core@1.0.0-next.
|
|
11
|
+
> @react-md/core@1.0.0-next.6 build-scss /home/mlaursen/code/react-md/packages/core
|
|
12
12
|
> node scripts/copySassFiles.js
|
|
13
13
|
|
|
14
14
|
Copied 38 scss files
|
|
15
15
|
|
|
16
|
-
> @react-md/core@1.0.0-next.
|
|
16
|
+
> @react-md/core@1.0.0-next.6 build-types /home/mlaursen/code/react-md/packages/core
|
|
17
17
|
> tsc -P tsconfig.types.json
|
|
18
18
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
> @react-md/core@1.0.0-next.6 lint /home/mlaursen/code/react-md/packages/core
|
|
3
|
+
> npm-run-all lint-scripts lint-styles
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
> @react-md/core@1.0.0-next.6 lint-scripts /home/mlaursen/code/react-md/packages/core
|
|
7
|
+
> eslint "src/**/*.{ts,tsx,js,jsx,cjs,mjs}"
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
> @react-md/core@1.0.0-next.6 lint-styles /home/mlaursen/code/react-md/packages/core
|
|
11
|
+
> stylelint "src/**/*.{css,scss}"
|
|
12
|
+
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @react-md/core
|
|
2
2
|
|
|
3
|
+
## 1.0.0-next.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fixed form layer application
|
|
8
|
+
|
|
9
|
+
## 1.0.0-next.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Fixed missing use client directives, styling issues in labels and expansion panels, and removing unused layers.
|
|
14
|
+
|
|
3
15
|
## 1.0.0-next.5
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/_core.scss
CHANGED
|
@@ -140,160 +140,162 @@ $_layer-order: (
|
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
@mixin css-utils {
|
|
144
|
-
.
|
|
145
|
-
display
|
|
146
|
-
|
|
143
|
+
@mixin css-utils($disable-layer: false) {
|
|
144
|
+
@include utils.optional-layer(utils, $disable-layer) {
|
|
145
|
+
.rmd-display-none {
|
|
146
|
+
display: none !important;
|
|
147
|
+
}
|
|
147
148
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
.rmd-sr-only {
|
|
150
|
+
@include utils.sr-only(true);
|
|
151
|
+
}
|
|
151
152
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
153
|
+
.rmd-phone-sr-only {
|
|
154
|
+
@include media-queries.phone-media {
|
|
155
|
+
@include utils.sr-only;
|
|
156
|
+
}
|
|
155
157
|
}
|
|
156
|
-
}
|
|
157
158
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
159
|
+
.rmd-outline {
|
|
160
|
+
// inset box-shadow is faded on the lower right half? use outline instead
|
|
161
|
+
outline: theme.theme-get-var(outline-width) solid
|
|
162
|
+
theme.theme-get-var(outline-color);
|
|
163
|
+
outline-offset: utils.negate-var(theme.theme-get-var(outline-width));
|
|
164
|
+
}
|
|
164
165
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
.rmd-greyscale-outline {
|
|
167
|
+
@include theme.theme-set-var(outline-color, outline-grey-color);
|
|
168
|
+
}
|
|
168
169
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
.rmd-background-container {
|
|
171
|
+
@include theme.theme-use-var(background-color);
|
|
172
|
+
@include theme.theme-use-var(color, on-background-color, currentcolor);
|
|
173
|
+
}
|
|
173
174
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
@each $color in (primary, secondary, warning, success, error) {
|
|
176
|
+
$theme-name: $color + "-color";
|
|
177
|
+
$on-theme-name: "on-" + $theme-name;
|
|
177
178
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
179
|
+
.rmd-#{$color}-container {
|
|
180
|
+
@include theme.theme-set-var(background-color, $theme-name);
|
|
181
|
+
@include theme.theme-set-var(on-background-color, $on-theme-name);
|
|
182
|
+
}
|
|
182
183
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
.rmd-#{$theme-name} {
|
|
185
|
+
@include theme.theme-use-var(color, $theme-name);
|
|
186
|
+
}
|
|
186
187
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
.rmd-#{$on-theme-name} {
|
|
189
|
+
@include theme.theme-use-var(color, $on-theme-name);
|
|
190
|
+
}
|
|
190
191
|
|
|
191
|
-
|
|
192
|
-
|
|
192
|
+
.rmd-#{$color}-outline {
|
|
193
|
+
@include theme.theme-set-var(outline-color, $theme-name);
|
|
194
|
+
}
|
|
193
195
|
}
|
|
194
|
-
}
|
|
195
196
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
197
|
+
@each $color in (primary, secondary, hint, disabled) {
|
|
198
|
+
.rmd-text-#{$color}-color {
|
|
199
|
+
@include theme.theme-use-var(color, text-#{$color}-color);
|
|
200
|
+
}
|
|
199
201
|
}
|
|
200
|
-
}
|
|
201
202
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
203
|
+
.rmd-light-surface {
|
|
204
|
+
@include interaction.use-light-surface;
|
|
205
|
+
@include theme.theme-set-var(
|
|
206
|
+
text-primary-color,
|
|
207
|
+
theme.$light-theme-text-primary-color
|
|
208
|
+
);
|
|
209
|
+
@include theme.theme-set-var(
|
|
210
|
+
text-secondary-color,
|
|
211
|
+
theme.$light-theme-text-secondary-color
|
|
212
|
+
);
|
|
213
|
+
@include theme.theme-set-var(
|
|
214
|
+
text-hint-color,
|
|
215
|
+
theme.$light-theme-text-hint-color
|
|
216
|
+
);
|
|
217
|
+
@include theme.theme-set-var(
|
|
218
|
+
text-disabled-color,
|
|
219
|
+
theme.$dark-theme-text-disabled-color
|
|
220
|
+
);
|
|
221
|
+
}
|
|
221
222
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
223
|
+
.rmd-dark-surface {
|
|
224
|
+
@include interaction.use-dark-surface;
|
|
225
|
+
@include theme.theme-set-var(
|
|
226
|
+
text-primary-color,
|
|
227
|
+
theme.$dark-theme-text-primary-color
|
|
228
|
+
);
|
|
229
|
+
@include theme.theme-set-var(
|
|
230
|
+
text-secondary-color,
|
|
231
|
+
theme.$dark-theme-text-secondary-color
|
|
232
|
+
);
|
|
233
|
+
@include theme.theme-set-var(
|
|
234
|
+
text-hint-color,
|
|
235
|
+
theme.$dark-theme-text-hint-color
|
|
236
|
+
);
|
|
237
|
+
@include theme.theme-set-var(
|
|
238
|
+
text-disabled-color,
|
|
239
|
+
theme.$dark-theme-text-disabled-color
|
|
240
|
+
);
|
|
241
|
+
}
|
|
241
242
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
243
|
+
.rmd-no-margin {
|
|
244
|
+
margin: 0;
|
|
245
|
+
}
|
|
245
246
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
247
|
+
.rmd-no-margin-top {
|
|
248
|
+
margin-top: 0;
|
|
249
|
+
}
|
|
249
250
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
251
|
+
.rmd-no-margin-bottom {
|
|
252
|
+
margin-bottom: 0;
|
|
253
|
+
}
|
|
253
254
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
255
|
+
.rmd-centered {
|
|
256
|
+
margin: 0 auto;
|
|
257
|
+
}
|
|
257
258
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
259
|
+
.rmd-nowrap {
|
|
260
|
+
white-space: nowrap;
|
|
261
|
+
}
|
|
261
262
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
263
|
+
.rmd-ellipsis {
|
|
264
|
+
@include typography.text-overflow(null);
|
|
265
|
+
}
|
|
265
266
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
267
|
+
@each $alignment in typography.$text-alignments {
|
|
268
|
+
.rmd-align-#{$alignment} {
|
|
269
|
+
@if $alignment != center {
|
|
270
|
+
@include utils.auto-rtl(text-align, $alignment);
|
|
271
|
+
} @else {
|
|
272
|
+
text-align: $alignment;
|
|
273
|
+
}
|
|
272
274
|
}
|
|
273
275
|
}
|
|
274
|
-
}
|
|
275
276
|
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
277
|
+
@each $decoration in typography.$text-decorations {
|
|
278
|
+
.rmd-#{$decoration} {
|
|
279
|
+
text-decoration: $decoration;
|
|
280
|
+
}
|
|
279
281
|
}
|
|
280
|
-
}
|
|
281
282
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
283
|
+
@each $transform in typography.$text-transforms {
|
|
284
|
+
.rmd-#{$transform} {
|
|
285
|
+
text-transform: $transform;
|
|
286
|
+
}
|
|
285
287
|
}
|
|
286
|
-
}
|
|
287
288
|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
289
|
+
@each $font-style in typography.$font-styles {
|
|
290
|
+
.rmd-#{$font-style} {
|
|
291
|
+
font-style: $font-style;
|
|
292
|
+
}
|
|
291
293
|
}
|
|
292
|
-
}
|
|
293
294
|
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
295
|
+
@each $name, $font-weight in typography.$font-weights {
|
|
296
|
+
.rmd-#{$name} {
|
|
297
|
+
font-weight: $font-weight;
|
|
298
|
+
}
|
|
297
299
|
}
|
|
298
300
|
}
|
|
299
301
|
}
|
|
@@ -363,124 +365,39 @@ $_layer-order: (
|
|
|
363
365
|
@include css-reset;
|
|
364
366
|
|
|
365
367
|
@layer #{$_layer-order};
|
|
366
|
-
@
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
@
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
@
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
@
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
@
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
@
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
@
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
@
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
@
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
@
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
@
|
|
399
|
-
@include draggable.styles;
|
|
400
|
-
}
|
|
401
|
-
@layer expansion-panel {
|
|
402
|
-
@include expansion-panel.styles;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
@layer form {
|
|
406
|
-
@include form.styles;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
@layer icon {
|
|
410
|
-
@include icon.styles;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
@layer interaction {
|
|
414
|
-
@include interaction.styles;
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
@layer layout {
|
|
418
|
-
@include layout.styles;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
@layer link {
|
|
422
|
-
@include link.styles;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
@layer list {
|
|
426
|
-
@include list.styles;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
@layer menu {
|
|
430
|
-
@include menu.styles;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
@layer overlay {
|
|
434
|
-
@include overlay.styles;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
@layer progress {
|
|
438
|
-
@include progress.styles;
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
@layer responsive-item {
|
|
442
|
-
@include responsive-item.styles;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
@layer segmented-button {
|
|
446
|
-
@include segmented-button.styles;
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
@layer sheet {
|
|
450
|
-
@include sheet.styles;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
@layer snackbar {
|
|
454
|
-
@include snackbar.styles;
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
@layer table {
|
|
458
|
-
@include table.styles;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
@layer tabs {
|
|
462
|
-
@include tabs.styles;
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
@layer tooltip {
|
|
466
|
-
@include tooltip.styles;
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
@layer transition {
|
|
470
|
-
@include transition.transition-styles;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
@layer tree {
|
|
474
|
-
@include tree.styles;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
@layer typography {
|
|
478
|
-
@include typography.typography-styles;
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
@layer window-splitter {
|
|
482
|
-
@include window-splitter.styles;
|
|
483
|
-
}
|
|
368
|
+
@include css-utils;
|
|
369
|
+
|
|
370
|
+
@include app-bar.styles;
|
|
371
|
+
@include avatar.styles;
|
|
372
|
+
@include badge.styles;
|
|
373
|
+
@include box.styles;
|
|
374
|
+
@include button.styles;
|
|
375
|
+
@include card.styles;
|
|
376
|
+
@include chip.styles;
|
|
377
|
+
@include dialog.styles;
|
|
378
|
+
@include divider.styles;
|
|
379
|
+
@include draggable.styles;
|
|
380
|
+
@include expansion-panel.styles;
|
|
381
|
+
@include form.styles;
|
|
382
|
+
@include icon.styles;
|
|
383
|
+
@include interaction.styles;
|
|
384
|
+
@include layout.styles;
|
|
385
|
+
@include link.styles;
|
|
386
|
+
@include list.styles;
|
|
387
|
+
@include menu.styles;
|
|
388
|
+
@include overlay.styles;
|
|
389
|
+
@include progress.styles;
|
|
390
|
+
@include responsive-item.styles;
|
|
391
|
+
@include segmented-button.styles;
|
|
392
|
+
@include sheet.styles;
|
|
393
|
+
@include snackbar.styles;
|
|
394
|
+
@include table.styles;
|
|
395
|
+
@include tabs.styles;
|
|
396
|
+
@include tooltip.styles;
|
|
397
|
+
@include transition.transition-styles;
|
|
398
|
+
@include tree.styles;
|
|
399
|
+
@include typography.typography-styles;
|
|
400
|
+
@include window-splitter.styles;
|
|
484
401
|
|
|
485
402
|
@if not theme.$disable-default-root-theme {
|
|
486
403
|
:root {
|