@conscia-labs/design-system 0.3.5 → 0.4.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 +97 -1
- package/dist/{chunk-CTRJ24EO.js → chunk-C44RGLGF.js} +10 -10
- package/dist/chunk-C44RGLGF.js.map +1 -0
- package/dist/{chunk-VIVMQAJM.js → chunk-KYH7IZ3Z.js} +146 -31
- package/dist/chunk-KYH7IZ3Z.js.map +1 -0
- package/dist/{chunk-ZCBZHRTV.js → chunk-RAGHGWLB.js} +14 -14
- package/dist/chunk-RAGHGWLB.js.map +1 -0
- package/dist/{chunk-D5LYROOM.js → chunk-YNQWIH6V.js} +2 -2
- package/dist/chunk-YNQWIH6V.js.map +1 -0
- package/dist/foundation/index.d.ts +1 -1
- package/dist/foundation/index.js +1 -1
- package/dist/foundation.css +550 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +36 -4
- package/dist/patterns/index.d.ts +330 -1
- package/dist/patterns/index.js +35 -3
- package/dist/primitives/index.js +2 -2
- package/dist/standalone.css +1 -1
- package/dist/styles.css +550 -4
- package/package.json +1 -1
- package/dist/chunk-CTRJ24EO.js.map +0 -1
- package/dist/chunk-D5LYROOM.js.map +0 -1
- package/dist/chunk-VIVMQAJM.js.map +0 -1
- package/dist/chunk-ZCBZHRTV.js.map +0 -1
package/dist/styles.css
CHANGED
|
@@ -185,16 +185,51 @@
|
|
|
185
185
|
--ds-section-title: 1.0625rem;
|
|
186
186
|
--ds-body: 0.9375rem;
|
|
187
187
|
--ds-metadata: 0.8125rem;
|
|
188
|
+
--ds-body-line-height: 1.5;
|
|
189
|
+
--ds-title-weight: 600;
|
|
190
|
+
--ds-title-tracking: 0;
|
|
191
|
+
--ds-title-line-height: 1.25;
|
|
192
|
+
--ds-section-title-weight: 600;
|
|
193
|
+
--ds-section-title-line-height: 1.25;
|
|
194
|
+
--ds-ui-text-size: 0.875rem;
|
|
195
|
+
--ds-ui-line-height: 1.25rem;
|
|
196
|
+
--ds-navigation-label-size: 0.875rem;
|
|
197
|
+
--ds-navigation-label-line-height: 1.25rem;
|
|
198
|
+
--ds-control-text-size: 0.875rem;
|
|
199
|
+
--ds-control-text-line-height: 1.25rem;
|
|
200
|
+
--ds-button-text-size: 0.875rem;
|
|
201
|
+
--ds-button-text-line-height: 1.25rem;
|
|
202
|
+
--ds-button-text-weight: 500;
|
|
188
203
|
--ds-menu-item-size: 0.75rem;
|
|
189
204
|
--ds-menu-label-size: 0.6875rem;
|
|
205
|
+
--ds-menu-item-line-height: 1.25rem;
|
|
206
|
+
--ds-menu-label-line-height: 1rem;
|
|
207
|
+
--ds-eyebrow-size: 0.6875rem;
|
|
208
|
+
--ds-eyebrow-line-height: 1rem;
|
|
209
|
+
--ds-eyebrow-weight: 600;
|
|
210
|
+
--ds-eyebrow-tracking: 0.04em;
|
|
211
|
+
--ds-card-title-size: 0.875rem;
|
|
212
|
+
--ds-card-title-line-height: 1.25rem;
|
|
213
|
+
--ds-card-title-weight: 600;
|
|
214
|
+
--ds-table-head-size: 0.8125rem;
|
|
215
|
+
--ds-table-head-line-height: 1rem;
|
|
216
|
+
--ds-table-head-weight: 600;
|
|
217
|
+
--ds-table-head-tracking: 0;
|
|
190
218
|
--ds-radius-control: 0.375rem;
|
|
191
219
|
--ds-radius-surface: 0.5rem;
|
|
192
220
|
--ds-shadow-raised: 0 1px 2px rgb(20 12 21 / 6%);
|
|
193
221
|
--ds-shadow-floating: 0 12px 28px rgb(20 12 21 / 10%);
|
|
194
222
|
--ds-focus-ring: 0 0 0 3px color-mix(in oklab, var(--ring) 26%, transparent);
|
|
223
|
+
--ds-workbench-global-rail-width: 4.5rem;
|
|
224
|
+
--ds-workbench-secondary-rail-width: 18.375rem;
|
|
225
|
+
--ds-workbench-inspector-width: 19rem;
|
|
226
|
+
--ds-workbench-inspector-padding-x: 1.625rem;
|
|
227
|
+
--ds-workbench-inspector-padding-top: 2.1875rem;
|
|
228
|
+
--ds-workbench-inspector-padding-bottom: 1.875rem;
|
|
229
|
+
--ds-workbench-min-height: 38.75rem;
|
|
195
230
|
}
|
|
196
231
|
|
|
197
|
-
|
|
232
|
+
[data-density="compact"] {
|
|
198
233
|
--ds-space-inline: 0.375rem;
|
|
199
234
|
--ds-space-control: 0.5rem;
|
|
200
235
|
--ds-space-field: 1rem;
|
|
@@ -228,6 +263,65 @@
|
|
|
228
263
|
--ds-metadata: 0.75rem;
|
|
229
264
|
}
|
|
230
265
|
|
|
266
|
+
/*
|
|
267
|
+
* Operational density is an explicit opt-in preset for information-dense
|
|
268
|
+
* admin, catalog, connector, chat, and workspace-like interfaces. It keeps
|
|
269
|
+
* comfortable density as the default and leaves the existing compact preset
|
|
270
|
+
* available for consumers that already depend on it.
|
|
271
|
+
*/
|
|
272
|
+
[data-density="operational"] {
|
|
273
|
+
--ds-space-control: 0.5rem;
|
|
274
|
+
--ds-space-group: 1rem;
|
|
275
|
+
--ds-space-section: 1.5rem;
|
|
276
|
+
--ds-space-page: 2rem;
|
|
277
|
+
--ds-control-height: 2.25rem;
|
|
278
|
+
--ds-control-height-sm: 1.875rem;
|
|
279
|
+
--ds-control-height-lg: 2.5rem;
|
|
280
|
+
--ds-control-padding-x: 0.875rem;
|
|
281
|
+
--ds-sidebar-item-height: 2rem;
|
|
282
|
+
--ds-sidebar-group-gap: 0.375rem;
|
|
283
|
+
--ds-sidebar-label-gap: 0.25rem;
|
|
284
|
+
--ds-sidebar-group-label-size: 0.6875rem;
|
|
285
|
+
--ds-sidebar-group-label-line-height: 0.9375rem;
|
|
286
|
+
--ds-surface-padding: 1rem;
|
|
287
|
+
--ds-table-header-height: 2rem;
|
|
288
|
+
--ds-row-height: 2.5rem;
|
|
289
|
+
--ds-field-gap: 1rem;
|
|
290
|
+
--ds-field-label-gap: 0.375rem;
|
|
291
|
+
--ds-page-title: clamp(1.5625rem, 3vw, 2.125rem);
|
|
292
|
+
--ds-display-title: clamp(1.875rem, 3.5vw, 2.75rem);
|
|
293
|
+
--ds-section-title: 1rem;
|
|
294
|
+
--ds-body: 0.8125rem;
|
|
295
|
+
--ds-metadata: 0.75rem;
|
|
296
|
+
--ds-body-line-height: 1.45;
|
|
297
|
+
--ds-title-weight: 650;
|
|
298
|
+
--ds-title-tracking: -0.04em;
|
|
299
|
+
--ds-title-line-height: 1.08;
|
|
300
|
+
--ds-section-title-weight: 650;
|
|
301
|
+
--ds-section-title-line-height: 1.12;
|
|
302
|
+
--ds-ui-text-size: 0.8125rem;
|
|
303
|
+
--ds-ui-line-height: 1.125rem;
|
|
304
|
+
--ds-navigation-label-size: 0.8125rem;
|
|
305
|
+
--ds-navigation-label-line-height: 1.125rem;
|
|
306
|
+
--ds-control-text-size: 0.8125rem;
|
|
307
|
+
--ds-control-text-line-height: 1.125rem;
|
|
308
|
+
--ds-button-text-size: 0.8125rem;
|
|
309
|
+
--ds-button-text-line-height: 1.125rem;
|
|
310
|
+
--ds-button-text-weight: 600;
|
|
311
|
+
--ds-menu-item-line-height: 1.0625rem;
|
|
312
|
+
--ds-menu-label-line-height: 0.9375rem;
|
|
313
|
+
--ds-eyebrow-line-height: 0.9375rem;
|
|
314
|
+
--ds-eyebrow-weight: 650;
|
|
315
|
+
--ds-eyebrow-tracking: 0.06em;
|
|
316
|
+
--ds-card-title-size: 0.8125rem;
|
|
317
|
+
--ds-card-title-line-height: 1.125rem;
|
|
318
|
+
--ds-card-title-weight: 650;
|
|
319
|
+
--ds-table-head-size: 0.6875rem;
|
|
320
|
+
--ds-table-head-line-height: 0.9375rem;
|
|
321
|
+
--ds-table-head-weight: 650;
|
|
322
|
+
--ds-table-head-tracking: 0.06em;
|
|
323
|
+
}
|
|
324
|
+
|
|
231
325
|
:root.dark,
|
|
232
326
|
:root[data-appearance="dark"] {
|
|
233
327
|
color-scheme: dark;
|
|
@@ -452,6 +546,94 @@
|
|
|
452
546
|
--font-sans: var(--font-sans);
|
|
453
547
|
}
|
|
454
548
|
|
|
549
|
+
@utility ds-type-body {
|
|
550
|
+
font-size: var(--ds-body);
|
|
551
|
+
line-height: var(--ds-body-line-height);
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
@utility ds-type-ui {
|
|
555
|
+
font-size: var(--ds-ui-text-size);
|
|
556
|
+
line-height: var(--ds-ui-line-height);
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
@utility ds-type-control {
|
|
560
|
+
font-size: var(--ds-control-text-size);
|
|
561
|
+
line-height: var(--ds-control-text-line-height);
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
@utility ds-type-button {
|
|
565
|
+
font-size: var(--ds-button-text-size);
|
|
566
|
+
font-weight: var(--ds-button-text-weight);
|
|
567
|
+
line-height: var(--ds-button-text-line-height);
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
@utility ds-type-navigation {
|
|
571
|
+
font-size: var(--ds-navigation-label-size);
|
|
572
|
+
line-height: var(--ds-navigation-label-line-height);
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
@utility ds-type-display-title {
|
|
576
|
+
font-size: var(--ds-display-title);
|
|
577
|
+
font-weight: var(--ds-title-weight);
|
|
578
|
+
letter-spacing: var(--ds-title-tracking);
|
|
579
|
+
line-height: var(--ds-title-line-height);
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
@utility ds-type-page-title {
|
|
583
|
+
font-size: var(--ds-page-title);
|
|
584
|
+
font-weight: var(--ds-title-weight);
|
|
585
|
+
letter-spacing: var(--ds-title-tracking);
|
|
586
|
+
line-height: var(--ds-title-line-height);
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
@utility ds-type-section-title {
|
|
590
|
+
font-size: var(--ds-section-title);
|
|
591
|
+
font-weight: var(--ds-section-title-weight);
|
|
592
|
+
letter-spacing: var(--ds-title-tracking);
|
|
593
|
+
line-height: var(--ds-section-title-line-height);
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
@utility ds-type-metadata {
|
|
597
|
+
font-size: var(--ds-metadata);
|
|
598
|
+
line-height: var(--ds-menu-label-line-height);
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
@utility ds-type-menu-item {
|
|
602
|
+
font-size: var(--ds-menu-item-size);
|
|
603
|
+
line-height: var(--ds-menu-item-line-height);
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
@utility ds-type-menu-label {
|
|
607
|
+
font-size: var(--ds-menu-label-size);
|
|
608
|
+
line-height: var(--ds-menu-label-line-height);
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
@utility ds-type-eyebrow {
|
|
612
|
+
font-size: var(--ds-eyebrow-size);
|
|
613
|
+
font-weight: var(--ds-eyebrow-weight);
|
|
614
|
+
letter-spacing: var(--ds-eyebrow-tracking);
|
|
615
|
+
line-height: var(--ds-eyebrow-line-height);
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
@utility ds-type-label {
|
|
619
|
+
font-size: var(--ds-field-label-size);
|
|
620
|
+
font-weight: 500;
|
|
621
|
+
line-height: var(--ds-field-label-line-height);
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
@utility ds-type-card-title {
|
|
625
|
+
font-size: var(--ds-card-title-size);
|
|
626
|
+
font-weight: var(--ds-card-title-weight);
|
|
627
|
+
line-height: var(--ds-card-title-line-height);
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
@utility ds-type-table-head {
|
|
631
|
+
font-size: var(--ds-table-head-size);
|
|
632
|
+
font-weight: var(--ds-table-head-weight);
|
|
633
|
+
letter-spacing: var(--ds-table-head-tracking);
|
|
634
|
+
line-height: var(--ds-table-head-line-height);
|
|
635
|
+
}
|
|
636
|
+
|
|
455
637
|
@layer base {
|
|
456
638
|
* {
|
|
457
639
|
border-color: var(--border);
|
|
@@ -469,7 +651,7 @@
|
|
|
469
651
|
font-family: var(--font-sans);
|
|
470
652
|
font-size: var(--ds-body);
|
|
471
653
|
font-weight: 400;
|
|
472
|
-
line-height:
|
|
654
|
+
line-height: var(--ds-body-line-height);
|
|
473
655
|
text-rendering: optimizeLegibility;
|
|
474
656
|
}
|
|
475
657
|
|
|
@@ -478,8 +660,8 @@
|
|
|
478
660
|
h3,
|
|
479
661
|
h4 {
|
|
480
662
|
color: var(--foreground);
|
|
481
|
-
font-weight:
|
|
482
|
-
letter-spacing:
|
|
663
|
+
font-weight: var(--ds-title-weight);
|
|
664
|
+
letter-spacing: var(--ds-title-tracking);
|
|
483
665
|
}
|
|
484
666
|
|
|
485
667
|
button,
|
|
@@ -506,6 +688,370 @@
|
|
|
506
688
|
}
|
|
507
689
|
|
|
508
690
|
@layer components {
|
|
691
|
+
[data-slot="workbench-shell"] {
|
|
692
|
+
display: grid;
|
|
693
|
+
grid-template-columns: var(--ds-workbench-global-rail-width) var(--ds-workbench-secondary-rail-width) minmax(0, 1fr) var(--ds-workbench-inspector-width);
|
|
694
|
+
height: 100svh;
|
|
695
|
+
min-height: var(--ds-workbench-min-height);
|
|
696
|
+
overflow: hidden;
|
|
697
|
+
background: var(--canvas);
|
|
698
|
+
color: var(--text-primary);
|
|
699
|
+
font-family: var(--font-sans);
|
|
700
|
+
font-size: var(--ds-body);
|
|
701
|
+
line-height: var(--ds-body-line-height);
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
[data-slot="workbench-rail"] {
|
|
705
|
+
min-height: 0;
|
|
706
|
+
background: var(--surface);
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
[data-slot="workbench-rail"][data-variant="global"] {
|
|
710
|
+
display: flex;
|
|
711
|
+
flex-direction: column;
|
|
712
|
+
align-items: center;
|
|
713
|
+
border-right: 1px solid var(--border-subtle);
|
|
714
|
+
padding: 1.0625rem 0.5rem 0.875rem;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
[data-slot="workbench-rail"][data-variant="secondary"] {
|
|
718
|
+
display: flex;
|
|
719
|
+
min-width: 0;
|
|
720
|
+
flex-direction: column;
|
|
721
|
+
overflow: hidden;
|
|
722
|
+
border-right: 1px solid var(--border-subtle);
|
|
723
|
+
padding: 1.0625rem 0.9375rem 0.875rem;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
[data-slot="workbench-main"] {
|
|
727
|
+
display: flex;
|
|
728
|
+
min-width: 0;
|
|
729
|
+
min-height: 0;
|
|
730
|
+
flex-direction: column;
|
|
731
|
+
background: var(--canvas);
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
[data-slot="workbench-inspector"] {
|
|
735
|
+
min-height: 0;
|
|
736
|
+
overflow-y: auto;
|
|
737
|
+
border-left: 1px solid var(--border-subtle);
|
|
738
|
+
background: var(--surface-muted);
|
|
739
|
+
padding: var(--ds-workbench-inspector-padding-top) var(--ds-workbench-inspector-padding-x) var(--ds-workbench-inspector-padding-bottom);
|
|
740
|
+
scrollbar-width: thin;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
[data-slot="workbench-mobile-toolbar"],
|
|
744
|
+
[data-slot="workbench-backdrop"] {
|
|
745
|
+
display: none;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
[data-slot="workbench-section"] {
|
|
749
|
+
padding: 1.5rem 0;
|
|
750
|
+
border-bottom: 1px solid var(--border-subtle);
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
[data-slot="workbench-section"]:first-child {
|
|
754
|
+
padding-top: 1.375rem;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
[data-slot="workbench-section"]:last-child {
|
|
758
|
+
border-bottom: 0;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
[data-slot="workbench-section-header"] {
|
|
762
|
+
display: flex;
|
|
763
|
+
align-items: baseline;
|
|
764
|
+
justify-content: space-between;
|
|
765
|
+
gap: 0.9375rem;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
[data-slot="workbench-section-heading"] {
|
|
769
|
+
display: flex;
|
|
770
|
+
align-items: baseline;
|
|
771
|
+
gap: 0.5625rem;
|
|
772
|
+
min-width: 0;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
[data-slot="workbench-section-heading"] h2 {
|
|
776
|
+
margin: 0;
|
|
777
|
+
font-size: var(--ds-section-title);
|
|
778
|
+
font-weight: var(--ds-section-title-weight);
|
|
779
|
+
letter-spacing: -0.025em;
|
|
780
|
+
line-height: var(--ds-section-title-line-height);
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
[data-slot="workbench-section-heading"] span {
|
|
784
|
+
color: var(--text-muted);
|
|
785
|
+
font-size: var(--ds-menu-label-size);
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
[data-slot="workbench-section-action"] {
|
|
789
|
+
color: var(--brand);
|
|
790
|
+
font-size: var(--ds-menu-item-size);
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
[data-slot="resource-row"] {
|
|
794
|
+
display: flex;
|
|
795
|
+
min-width: 0;
|
|
796
|
+
min-height: 3.625rem;
|
|
797
|
+
align-items: center;
|
|
798
|
+
gap: 0.75rem;
|
|
799
|
+
padding: 0.5rem 0;
|
|
800
|
+
border-bottom: 1px solid var(--border-subtle);
|
|
801
|
+
color: var(--text-primary);
|
|
802
|
+
text-decoration: none;
|
|
803
|
+
transition: color 160ms ease, background-color 160ms ease;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
[data-slot="resource-row"]:last-child {
|
|
807
|
+
border-bottom: 0;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
[data-slot="resource-row"]:hover,
|
|
811
|
+
[data-slot="resource-row"]:focus-visible {
|
|
812
|
+
color: var(--brand);
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
[data-slot="resource-row"]:focus-visible {
|
|
816
|
+
outline: none;
|
|
817
|
+
box-shadow: var(--ds-focus-ring);
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
[data-slot="resource-row"] > svg:last-child {
|
|
821
|
+
width: 0.9375rem;
|
|
822
|
+
height: 0.9375rem;
|
|
823
|
+
flex: 0 0 auto;
|
|
824
|
+
color: var(--text-muted);
|
|
825
|
+
stroke-width: 1.6;
|
|
826
|
+
transition: color 160ms ease, transform 160ms ease;
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
[data-slot="resource-row"]:hover > svg:last-child,
|
|
830
|
+
[data-slot="resource-row"]:focus-visible > svg:last-child {
|
|
831
|
+
color: var(--brand);
|
|
832
|
+
transform: translateX(2px);
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
[data-slot="resource-row"][data-selected="true"] {
|
|
836
|
+
color: var(--selection-foreground);
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
[data-slot="resource-row-icon"] {
|
|
840
|
+
display: grid;
|
|
841
|
+
width: 1.875rem;
|
|
842
|
+
height: 1.875rem;
|
|
843
|
+
flex: 0 0 auto;
|
|
844
|
+
place-items: center;
|
|
845
|
+
border: 1px solid var(--border-subtle);
|
|
846
|
+
border-radius: var(--ds-radius-control);
|
|
847
|
+
background: var(--surface-muted);
|
|
848
|
+
color: var(--text-supporting);
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
[data-slot="resource-row-icon"] svg {
|
|
852
|
+
width: 0.9375rem;
|
|
853
|
+
height: 0.9375rem;
|
|
854
|
+
stroke-width: 1.5;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
[data-slot="resource-row-content"] {
|
|
858
|
+
display: flex;
|
|
859
|
+
min-width: 0;
|
|
860
|
+
flex: 1;
|
|
861
|
+
flex-direction: column;
|
|
862
|
+
gap: 0.125rem;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
[data-slot="resource-row-title"],
|
|
866
|
+
[data-slot="resource-row-description"] {
|
|
867
|
+
overflow: hidden;
|
|
868
|
+
text-overflow: ellipsis;
|
|
869
|
+
white-space: nowrap;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
[data-slot="resource-row-title"] {
|
|
873
|
+
color: currentColor;
|
|
874
|
+
font-size: var(--ds-ui-text-size);
|
|
875
|
+
font-weight: 600;
|
|
876
|
+
line-height: 1.25;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
[data-slot="resource-row-description"],
|
|
880
|
+
[data-slot="resource-row-meta"] {
|
|
881
|
+
color: var(--text-supporting);
|
|
882
|
+
font-size: var(--ds-metadata);
|
|
883
|
+
line-height: 1.3;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
[data-slot="resource-row-meta"] {
|
|
887
|
+
flex: 0 0 auto;
|
|
888
|
+
white-space: nowrap;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
[data-slot="workbench-inspector-section"] {
|
|
892
|
+
padding: 1.5625rem 0;
|
|
893
|
+
border-bottom: 1px solid var(--border-subtle);
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
[data-slot="workbench-inspector-section"]:first-of-type {
|
|
897
|
+
padding-top: 2.25rem;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
[data-slot="workbench-inspector-section"]:last-child {
|
|
901
|
+
border-bottom: 0;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
[data-slot="workbench-inspector-label"] {
|
|
905
|
+
display: flex;
|
|
906
|
+
align-items: center;
|
|
907
|
+
justify-content: space-between;
|
|
908
|
+
gap: 0.625rem;
|
|
909
|
+
margin-bottom: 0.9375rem;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
[data-slot="workbench-inspector-label"] h3 {
|
|
913
|
+
margin: 0;
|
|
914
|
+
color: var(--text-supporting);
|
|
915
|
+
font-size: var(--ds-menu-label-size);
|
|
916
|
+
font-weight: 700;
|
|
917
|
+
letter-spacing: 0.14em;
|
|
918
|
+
line-height: 1.2;
|
|
919
|
+
text-transform: uppercase;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
[data-slot="identity-row"] {
|
|
923
|
+
display: flex;
|
|
924
|
+
min-width: 0;
|
|
925
|
+
align-items: center;
|
|
926
|
+
gap: 0.625rem;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
[data-slot="identity-row"] + [data-slot="identity-row"] {
|
|
930
|
+
margin-top: 0.875rem;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
[data-slot="identity-avatar"] {
|
|
934
|
+
display: grid;
|
|
935
|
+
width: 1.875rem;
|
|
936
|
+
height: 1.875rem;
|
|
937
|
+
flex: 0 0 auto;
|
|
938
|
+
place-items: center;
|
|
939
|
+
border-radius: 999px;
|
|
940
|
+
background: var(--brand-secondary-background);
|
|
941
|
+
color: var(--brand-secondary);
|
|
942
|
+
font-size: var(--ds-menu-label-size);
|
|
943
|
+
font-weight: 700;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
[data-slot="identity-copy"] {
|
|
947
|
+
display: flex;
|
|
948
|
+
min-width: 0;
|
|
949
|
+
flex-direction: column;
|
|
950
|
+
gap: 0.125rem;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
[data-slot="identity-copy"] strong,
|
|
954
|
+
[data-slot="identity-copy"] small {
|
|
955
|
+
overflow: hidden;
|
|
956
|
+
text-overflow: ellipsis;
|
|
957
|
+
white-space: nowrap;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
[data-slot="identity-copy"] strong {
|
|
961
|
+
font-size: var(--ds-ui-text-size);
|
|
962
|
+
font-weight: 600;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
[data-slot="identity-copy"] small {
|
|
966
|
+
color: var(--text-supporting);
|
|
967
|
+
font-size: var(--ds-metadata);
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
[data-slot="identity-row"][data-compact="true"] [data-slot="identity-avatar"] {
|
|
971
|
+
width: 1.75rem;
|
|
972
|
+
height: 1.75rem;
|
|
973
|
+
background: var(--surface-muted);
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
@media (max-width: 75rem) {
|
|
977
|
+
[data-slot="workbench-shell"] {
|
|
978
|
+
grid-template-columns: 4rem 16.25rem minmax(0, 1fr) 17.5rem;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
[data-slot="workbench-inspector"] {
|
|
982
|
+
padding-inline: 1.3125rem;
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
@media (max-width: 63.75rem) {
|
|
987
|
+
[data-slot="workbench-shell"] {
|
|
988
|
+
grid-template-columns: 4rem 16.25rem minmax(0, 1fr);
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
[data-slot="workbench-inspector"] {
|
|
992
|
+
display: none;
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
@media (max-width: 47.5rem) {
|
|
997
|
+
[data-slot="workbench-shell"] {
|
|
998
|
+
display: block;
|
|
999
|
+
min-height: 100svh;
|
|
1000
|
+
height: 100svh;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
[data-slot="workbench-rail"][data-variant="global"] {
|
|
1004
|
+
display: none;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
[data-slot="workbench-rail"][data-variant="secondary"] {
|
|
1008
|
+
position: fixed;
|
|
1009
|
+
z-index: 30;
|
|
1010
|
+
inset-block: 0;
|
|
1011
|
+
left: 0;
|
|
1012
|
+
display: flex;
|
|
1013
|
+
width: min(19.625rem, calc(100vw - 2.8125rem));
|
|
1014
|
+
transform: translateX(-105%);
|
|
1015
|
+
box-shadow: 0.875rem 0 2.1875rem rgb(20 12 21 / 16%);
|
|
1016
|
+
transition: transform 190ms ease;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
[data-slot="workbench-rail"][data-variant="secondary"][data-open="true"] {
|
|
1020
|
+
transform: translateX(0);
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
[data-slot="workbench-main"] {
|
|
1024
|
+
height: 100svh;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
[data-slot="workbench-mobile-toolbar"] {
|
|
1028
|
+
display: flex;
|
|
1029
|
+
min-height: 3.25rem;
|
|
1030
|
+
align-items: center;
|
|
1031
|
+
gap: 0.5rem;
|
|
1032
|
+
border-bottom: 1px solid var(--border-subtle);
|
|
1033
|
+
background: var(--surface);
|
|
1034
|
+
padding-inline: 0.9375rem;
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
[data-slot="workbench-backdrop"][data-open="true"] {
|
|
1038
|
+
position: fixed;
|
|
1039
|
+
z-index: 20;
|
|
1040
|
+
inset: 0;
|
|
1041
|
+
display: block;
|
|
1042
|
+
width: 100%;
|
|
1043
|
+
height: 100%;
|
|
1044
|
+
border: 0;
|
|
1045
|
+
background: rgb(20 12 21 / 20%);
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1050
|
+
[data-slot="workbench-rail"][data-variant="secondary"] {
|
|
1051
|
+
transition: none;
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
|
|
509
1055
|
[data-slot="tabs-list"][data-scroll-position="start"],
|
|
510
1056
|
[data-slot="navigation-tabs-list"][data-scroll-position="start"] {
|
|
511
1057
|
mask-image: linear-gradient(
|
package/package.json
CHANGED