@orcestr/ui 0.1.0 → 0.1.1
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/components/AppShell/AppShell.d.ts +11 -0
- package/dist/components/AppShell/AppShell.d.ts.map +1 -1
- package/dist/components/AppShell/AppShell.js +8 -6
- package/dist/components/AppSidebar/AppSidebar.d.ts.map +1 -1
- package/dist/components/AppSidebar/AppSidebar.js +71 -7
- package/dist/components/Collapse/Collapse.d.ts.map +1 -1
- package/dist/components/Collapse/Collapse.js +5 -25
- package/dist/components/CopyButton/CopyButton.d.ts +24 -0
- package/dist/components/CopyButton/CopyButton.d.ts.map +1 -0
- package/dist/components/CopyButton/CopyButton.js +81 -0
- package/dist/components/Drawer/Drawer.d.ts +2 -1
- package/dist/components/Drawer/Drawer.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.js +2 -2
- package/dist/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.js +15 -4
- package/dist/components/Toast/Toast.d.ts +0 -4
- package/dist/components/Toast/Toast.d.ts.map +1 -1
- package/dist/components/Toast/Toast.js +60 -36
- package/dist/example/CodePreview.d.ts +2 -1
- package/dist/example/CodePreview.d.ts.map +1 -1
- package/dist/example/CodePreview.js +13 -48
- package/dist/example/ExampleActionsSection.d.ts.map +1 -1
- package/dist/example/ExampleActionsSection.js +2 -2
- package/dist/example/ExampleApplicationSection.d.ts.map +1 -1
- package/dist/example/ExampleApplicationSection.js +27 -7
- package/dist/example/ExampleBasicsSections.d.ts +1 -1
- package/dist/example/ExampleBasicsSections.d.ts.map +1 -1
- package/dist/example/ExampleBasicsSections.js +12 -6
- package/dist/example/ExampleOverlaysSection.d.ts.map +1 -1
- package/dist/example/ExampleOverlaysSection.js +15 -28
- package/dist/example/ExampleStateSection.d.ts.map +1 -1
- package/dist/example/ExampleStateSection.js +12 -11
- package/dist/example/ExampleThemePlayground.d.ts +1 -1
- package/dist/example/ExampleThemePlayground.d.ts.map +1 -1
- package/dist/example/ExampleThemePlayground.js +10 -7
- package/dist/example/UiExamplePage.d.ts.map +1 -1
- package/dist/example/UiExamplePage.js +34 -43
- package/dist/example/codeSamples.d.ts +1 -1
- package/dist/example/codeSamples.d.ts.map +1 -1
- package/dist/example/codeSamples.js +171 -69
- package/dist/example/exampleData.d.ts.map +1 -1
- package/dist/example/exampleData.js +3 -9
- package/dist/example/styles.css +79 -119
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/styles/orcestr-ui.css +395 -138
- package/dist/theme/ThemeProvider.d.ts.map +1 -1
- package/dist/theme/ThemeProvider.js +19 -17
- package/dist/theme/defaultTheme.d.ts.map +1 -1
- package/dist/theme/defaultTheme.js +42 -37
- package/dist/theme/themeTypes.d.ts +23 -18
- package/dist/theme/themeTypes.d.ts.map +1 -1
- package/package.json +4 -1
|
@@ -60,8 +60,9 @@
|
|
|
60
60
|
--oui-pad-hover-bg: #0000000f;
|
|
61
61
|
--oui-pad-opacity: 100%;
|
|
62
62
|
--oui-pad-hover-opacity: 100%;
|
|
63
|
-
--oui-scrollbar-thumb: color-mix(in srgb, var(--oui-bg)
|
|
64
|
-
--oui-scrollbar-thumb-hover: color-mix(in srgb, var(--oui-bg)
|
|
63
|
+
--oui-scrollbar-thumb: color-mix(in srgb, var(--oui-bg) 95%, var(--oui-text) 5%);
|
|
64
|
+
--oui-scrollbar-thumb-hover: color-mix(in srgb, var(--oui-bg) 92%, var(--oui-text) 8%);
|
|
65
|
+
--oui-scrollbar-track: transparent;
|
|
65
66
|
--oui-skeleton-shimmer: rgb(255 255 255 / 18%);
|
|
66
67
|
--oui-shadow-sm: inset 0 0 0 1px #0000001f, inset 0 1.5px 2px 0 #00000006, inset 0 1.5px 2px 0 rgb(0 0 0 / 10%);
|
|
67
68
|
--oui-shadow-md: 0 0 0 1px #0000000f, 0 2px 3px -2px #0000000f, 0 3px 12px -4px rgb(0 0 0 / 10%), 0 4px 16px -8px rgb(0 0 0 / 10%);
|
|
@@ -164,8 +165,9 @@
|
|
|
164
165
|
--oui-pad-hover-bg: #ffffff12;
|
|
165
166
|
--oui-pad-opacity: 100%;
|
|
166
167
|
--oui-pad-hover-opacity: 100%;
|
|
167
|
-
--oui-scrollbar-thumb: color-mix(in srgb, var(--oui-bg)
|
|
168
|
-
--oui-scrollbar-thumb-hover: color-mix(in srgb, var(--oui-bg)
|
|
168
|
+
--oui-scrollbar-thumb: color-mix(in srgb, var(--oui-bg) 96%, var(--oui-text) 4%);
|
|
169
|
+
--oui-scrollbar-thumb-hover: color-mix(in srgb, var(--oui-bg) 93%, var(--oui-text) 7%);
|
|
170
|
+
--oui-scrollbar-track: transparent;
|
|
169
171
|
--oui-skeleton-shimmer: #ffffff12;
|
|
170
172
|
--oui-shadow-sm: inset 0 -1px 1px 0 #ffffff12, inset 0 0 0 1px #ffffff12, inset 0 3px 4px 0 rgb(0 0 0 / 30%), inset 0 0 0 1px #ffffff1b;
|
|
171
173
|
--oui-shadow-md: 0 0 0 1px #ffffff2c, 0 2px 3px -2px rgb(0 0 0 / 15%), 0 3px 8px -2px rgb(0 0 0 / 40%), 0 4px 12px -4px rgb(0 0 0 / 50%);
|
|
@@ -344,6 +346,8 @@
|
|
|
344
346
|
}
|
|
345
347
|
|
|
346
348
|
.oui-app-shell {
|
|
349
|
+
position: relative;
|
|
350
|
+
isolation: isolate;
|
|
347
351
|
height: 100vh;
|
|
348
352
|
min-height: 100vh;
|
|
349
353
|
overflow: hidden;
|
|
@@ -354,16 +358,20 @@
|
|
|
354
358
|
|
|
355
359
|
.oui-app-shell-frame {
|
|
356
360
|
display: grid;
|
|
361
|
+
width: 100%;
|
|
357
362
|
grid-template-columns: minmax(220px, var(--oui-app-shell-sidebar-width, 260px)) minmax(0, 1fr);
|
|
358
363
|
gap: 0;
|
|
359
364
|
height: calc(100vh - var(--oui-app-shell-inset, 28px) * 2);
|
|
360
365
|
min-height: 0;
|
|
361
366
|
max-width: var(--oui-app-shell-max-width, 1440px);
|
|
362
367
|
margin: 0 auto;
|
|
368
|
+
transition: grid-template-columns 340ms ease;
|
|
363
369
|
}
|
|
364
370
|
|
|
365
371
|
.oui-app-shell-main {
|
|
366
372
|
display: flex;
|
|
373
|
+
grid-column: 2;
|
|
374
|
+
grid-row: 1;
|
|
367
375
|
min-width: 0;
|
|
368
376
|
height: 100%;
|
|
369
377
|
min-height: 0;
|
|
@@ -372,15 +380,64 @@
|
|
|
372
380
|
}
|
|
373
381
|
|
|
374
382
|
.oui-app-shell-sidebar-desktop {
|
|
383
|
+
grid-column: 1;
|
|
384
|
+
grid-row: 1;
|
|
385
|
+
width: 100%;
|
|
375
386
|
min-width: 0;
|
|
376
387
|
min-height: 0;
|
|
388
|
+
overflow: hidden;
|
|
389
|
+
transform: translateX(0);
|
|
390
|
+
transition: transform 340ms ease, opacity 220ms ease;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.oui-app-shell-drawer-root {
|
|
394
|
+
position: absolute;
|
|
395
|
+
inset: 0;
|
|
396
|
+
z-index: 80;
|
|
397
|
+
overflow: hidden;
|
|
398
|
+
pointer-events: none;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.oui-app-shell-drawer-root .oui-drawer-layer {
|
|
402
|
+
position: absolute;
|
|
403
|
+
inset: 0;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.oui-app-shell[data-desktop-sidebar-open=false] .oui-app-shell-frame {
|
|
407
|
+
grid-template-columns: 0 minmax(0, 1fr);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.oui-app-shell[data-desktop-sidebar-open=false] .oui-app-shell-sidebar-desktop {
|
|
411
|
+
opacity: 0;
|
|
412
|
+
pointer-events: none;
|
|
413
|
+
transform: translateX(calc(var(--oui-app-shell-sidebar-width, 260px) * -1));
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.oui-app-shell[data-sidebar-side=right] .oui-app-shell-frame {
|
|
417
|
+
grid-template-columns: minmax(0, 1fr) minmax(220px, var(--oui-app-shell-sidebar-width, 260px));
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.oui-app-shell[data-sidebar-side=right][data-desktop-sidebar-open=false] .oui-app-shell-frame {
|
|
421
|
+
grid-template-columns: minmax(0, 1fr) 0;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.oui-app-shell[data-sidebar-side=right] .oui-app-shell-sidebar-desktop {
|
|
425
|
+
grid-column: 2;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.oui-app-shell[data-sidebar-side=right][data-desktop-sidebar-open=false] .oui-app-shell-sidebar-desktop {
|
|
429
|
+
transform: translateX(var(--oui-app-shell-sidebar-width, 260px));
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.oui-app-shell[data-sidebar-side=right] .oui-app-shell-main {
|
|
433
|
+
grid-column: 1;
|
|
377
434
|
}
|
|
378
435
|
|
|
379
436
|
.oui-app-shell-header {
|
|
380
437
|
position: relative;
|
|
381
438
|
z-index: 65;
|
|
382
439
|
display: flex;
|
|
383
|
-
min-height: 56px;
|
|
440
|
+
min-height: var(--oui-app-shell-header-h, 56px);
|
|
384
441
|
align-items: center;
|
|
385
442
|
justify-content: space-between;
|
|
386
443
|
gap: 10px;
|
|
@@ -393,6 +450,10 @@
|
|
|
393
450
|
display: none;
|
|
394
451
|
}
|
|
395
452
|
|
|
453
|
+
.oui-app-shell-header-nav-button[data-navigation-visibility=mobile] {
|
|
454
|
+
display: none;
|
|
455
|
+
}
|
|
456
|
+
|
|
396
457
|
.oui-app-shell-header-title {
|
|
397
458
|
min-width: 0;
|
|
398
459
|
flex: 1 1 auto;
|
|
@@ -409,6 +470,7 @@
|
|
|
409
470
|
flex: 0 0 auto;
|
|
410
471
|
align-items: center;
|
|
411
472
|
gap: 8px;
|
|
473
|
+
margin-left: auto;
|
|
412
474
|
}
|
|
413
475
|
|
|
414
476
|
.oui-app-shell-sidebar {
|
|
@@ -666,6 +728,179 @@
|
|
|
666
728
|
gap: 8px;
|
|
667
729
|
}
|
|
668
730
|
|
|
731
|
+
.oui-app-shell[data-sidebar-mode=mobile] {
|
|
732
|
+
padding: 0;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-header {
|
|
736
|
+
min-height: var(--oui-app-shell-header-h, 48px);
|
|
737
|
+
gap: 8px;
|
|
738
|
+
padding: 6px 8px;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-header > .oui-icon-button {
|
|
742
|
+
width: 32px;
|
|
743
|
+
height: 32px;
|
|
744
|
+
min-height: 32px;
|
|
745
|
+
flex: 0 0 32px;
|
|
746
|
+
align-self: center;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-frame {
|
|
750
|
+
width: 100%;
|
|
751
|
+
height: 100vh;
|
|
752
|
+
grid-template-columns: 1fr;
|
|
753
|
+
grid-template-rows: minmax(0, 1fr);
|
|
754
|
+
max-width: none;
|
|
755
|
+
margin: 0;
|
|
756
|
+
transition: none;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
.oui-app-shell[data-sidebar-mode=mobile][data-sidebar-side=right] .oui-app-shell-frame,
|
|
760
|
+
.oui-app-shell[data-sidebar-mode=mobile][data-desktop-sidebar-open=false] .oui-app-shell-frame,
|
|
761
|
+
.oui-app-shell[data-sidebar-mode=mobile][data-sidebar-side=right][data-desktop-sidebar-open=false] .oui-app-shell-frame {
|
|
762
|
+
grid-template-columns: 1fr;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-header[data-visibility=mobile] {
|
|
766
|
+
display: flex;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-header-nav-button[data-navigation-visibility=mobile] {
|
|
770
|
+
display: inline-flex;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-sidebar-desktop {
|
|
774
|
+
display: none;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-main {
|
|
778
|
+
grid-column: 1;
|
|
779
|
+
grid-row: 1;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-drawer-backdrop.oui-app-shell-sidebar-drawer-overlay {
|
|
783
|
+
background: transparent;
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-drawer-panel.oui-app-shell-sidebar-drawer-panel[data-side=left],
|
|
787
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-drawer-panel.oui-app-shell-sidebar-drawer-panel[data-side=right] {
|
|
788
|
+
width: min(88vw, max(var(--oui-drawer-size, 300px), 300px));
|
|
789
|
+
background: transparent;
|
|
790
|
+
border: 0;
|
|
791
|
+
box-shadow: none;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-drawer-panel.oui-app-shell-sidebar-drawer-panel[data-side=left] {
|
|
795
|
+
border-radius: 0 14px 14px 0;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-drawer-panel.oui-app-shell-sidebar-drawer-panel[data-side=right] {
|
|
799
|
+
border-radius: 14px 0 0 14px;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-sidebar-drawer-body {
|
|
803
|
+
display: flex;
|
|
804
|
+
min-height: 0;
|
|
805
|
+
overflow: hidden;
|
|
806
|
+
background: transparent;
|
|
807
|
+
padding: 0;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-sidebar-drawer-body > .oui-app-sidebar {
|
|
811
|
+
width: 100%;
|
|
812
|
+
height: 100%;
|
|
813
|
+
border-radius: 0 14px 14px 0;
|
|
814
|
+
box-shadow: 8px 0 24px rgba(0, 0, 0, 0.08);
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-drawer-panel[data-side=right] .oui-app-shell-sidebar-drawer-body > .oui-app-sidebar {
|
|
818
|
+
border-radius: 14px 0 0 14px;
|
|
819
|
+
box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-sidebar-drawer-body .oui-app-sidebar-head {
|
|
823
|
+
flex: 0 0 48px;
|
|
824
|
+
min-height: 48px;
|
|
825
|
+
border-bottom: 0;
|
|
826
|
+
padding: 0 8px;
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-sidebar-drawer-body .oui-app-sidebar-content {
|
|
830
|
+
padding: 6px 8px 12px;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-sidebar-drawer-body .oui-app-sidebar-indicator {
|
|
834
|
+
right: 8px;
|
|
835
|
+
left: 8px;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-sidebar-drawer-body .oui-app-sidebar-groups,
|
|
839
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-sidebar-drawer-body .oui-app-sidebar-group {
|
|
840
|
+
gap: 8px;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-sidebar-drawer-body .oui-app-sidebar-item {
|
|
844
|
+
padding: 0 8px;
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-sidebar-drawer-body .oui-app-sidebar-footer {
|
|
848
|
+
padding: 8px;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-sidebar-drawer-body > .oui-app-shell-sidebar {
|
|
852
|
+
width: 100%;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-drawer-panel[data-side=right] .oui-app-shell-sidebar-drawer-body > .oui-app-shell-sidebar {
|
|
856
|
+
border-radius: 14px 0 0 14px;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-sidebar {
|
|
860
|
+
width: 100%;
|
|
861
|
+
height: 100%;
|
|
862
|
+
max-height: none;
|
|
863
|
+
--oui-app-shell-sidebar-head-pad: 8px;
|
|
864
|
+
--oui-app-shell-sidebar-body-pad: 6px 8px 12px;
|
|
865
|
+
--oui-app-shell-sidebar-footer-pad: 8px;
|
|
866
|
+
border-radius: 0 14px 14px 0;
|
|
867
|
+
background: var(--oui-bg);
|
|
868
|
+
box-shadow: none;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-drawer-panel[data-side=right] .oui-app-shell-sidebar {
|
|
872
|
+
border-radius: 14px 0 0 14px;
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-sidebar-separator {
|
|
876
|
+
margin: 0 8px;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-sidebar::before {
|
|
880
|
+
display: none;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-sidebar .oui-app-shell-sidebar-close {
|
|
884
|
+
display: inline-flex;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-content-scroll > .oui-scroll-area-viewport {
|
|
888
|
+
scroll-padding: 12px 10px 18px;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-app-shell-content {
|
|
892
|
+
padding: 12px 10px 18px;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-page-title-block {
|
|
896
|
+
flex-direction: column;
|
|
897
|
+
gap: 10px;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
.oui-app-shell[data-sidebar-mode=mobile] .oui-page-title-actions {
|
|
901
|
+
justify-content: flex-start;
|
|
902
|
+
}
|
|
903
|
+
|
|
669
904
|
@media (max-width: 860px) {
|
|
670
905
|
.oui-app-shell {
|
|
671
906
|
padding: 0;
|
|
@@ -689,10 +924,19 @@
|
|
|
689
924
|
grid-template-rows: minmax(0, 1fr);
|
|
690
925
|
max-width: none;
|
|
691
926
|
margin: 0;
|
|
927
|
+
transition: none;
|
|
928
|
+
}
|
|
929
|
+
.oui-app-shell[data-sidebar-side=right] .oui-app-shell-frame,
|
|
930
|
+
.oui-app-shell[data-desktop-sidebar-open=false] .oui-app-shell-frame,
|
|
931
|
+
.oui-app-shell[data-sidebar-side=right][data-desktop-sidebar-open=false] .oui-app-shell-frame {
|
|
932
|
+
grid-template-columns: 1fr;
|
|
692
933
|
}
|
|
693
934
|
.oui-app-shell-header[data-visibility=mobile] {
|
|
694
935
|
display: flex;
|
|
695
936
|
}
|
|
937
|
+
.oui-app-shell-header-nav-button[data-navigation-visibility=mobile] {
|
|
938
|
+
display: inline-flex;
|
|
939
|
+
}
|
|
696
940
|
.oui-app-shell-sidebar-desktop {
|
|
697
941
|
display: none;
|
|
698
942
|
}
|
|
@@ -703,22 +947,35 @@
|
|
|
703
947
|
.oui-drawer-backdrop.oui-app-shell-sidebar-drawer-overlay {
|
|
704
948
|
background: transparent;
|
|
705
949
|
}
|
|
706
|
-
.oui-drawer-panel.oui-app-shell-sidebar-drawer-panel[data-side=left]
|
|
950
|
+
.oui-drawer-panel.oui-app-shell-sidebar-drawer-panel[data-side=left],
|
|
951
|
+
.oui-drawer-panel.oui-app-shell-sidebar-drawer-panel[data-side=right] {
|
|
707
952
|
width: min(88vw, max(var(--oui-drawer-size, 300px), 300px));
|
|
708
|
-
background:
|
|
953
|
+
background: transparent;
|
|
709
954
|
border: 0;
|
|
955
|
+
box-shadow: none;
|
|
956
|
+
}
|
|
957
|
+
.oui-drawer-panel.oui-app-shell-sidebar-drawer-panel[data-side=left] {
|
|
710
958
|
border-radius: 0 14px 14px 0;
|
|
711
|
-
|
|
959
|
+
}
|
|
960
|
+
.oui-drawer-panel.oui-app-shell-sidebar-drawer-panel[data-side=right] {
|
|
961
|
+
border-radius: 14px 0 0 14px;
|
|
712
962
|
}
|
|
713
963
|
.oui-app-shell-sidebar-drawer-body {
|
|
714
964
|
display: flex;
|
|
715
965
|
min-height: 0;
|
|
966
|
+
overflow: hidden;
|
|
967
|
+
background: transparent;
|
|
716
968
|
padding: 0;
|
|
717
969
|
}
|
|
718
970
|
.oui-app-shell-sidebar-drawer-body > .oui-app-sidebar {
|
|
719
971
|
width: 100%;
|
|
720
972
|
height: 100%;
|
|
721
973
|
border-radius: 0 14px 14px 0;
|
|
974
|
+
box-shadow: 8px 0 24px rgba(0, 0, 0, 0.08);
|
|
975
|
+
}
|
|
976
|
+
.oui-drawer-panel[data-side=right] .oui-app-shell-sidebar-drawer-body > .oui-app-sidebar {
|
|
977
|
+
border-radius: 14px 0 0 14px;
|
|
978
|
+
box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
|
|
722
979
|
}
|
|
723
980
|
.oui-app-shell-sidebar-drawer-body .oui-app-sidebar-head {
|
|
724
981
|
flex: 0 0 48px;
|
|
@@ -746,17 +1003,23 @@
|
|
|
746
1003
|
.oui-app-shell-sidebar-drawer-body > .oui-app-shell-sidebar {
|
|
747
1004
|
width: 100%;
|
|
748
1005
|
}
|
|
1006
|
+
.oui-drawer-panel[data-side=right] .oui-app-shell-sidebar-drawer-body > .oui-app-shell-sidebar {
|
|
1007
|
+
border-radius: 14px 0 0 14px;
|
|
1008
|
+
}
|
|
749
1009
|
.oui-app-shell-sidebar {
|
|
750
1010
|
width: 100%;
|
|
751
|
-
height:
|
|
1011
|
+
height: 100%;
|
|
752
1012
|
max-height: none;
|
|
753
1013
|
--oui-app-shell-sidebar-head-pad: 8px;
|
|
754
1014
|
--oui-app-shell-sidebar-body-pad: 6px 8px 12px;
|
|
755
1015
|
--oui-app-shell-sidebar-footer-pad: 8px;
|
|
756
1016
|
border-radius: 0 14px 14px 0;
|
|
757
|
-
background: var(--
|
|
1017
|
+
background: var(--oui-bg);
|
|
758
1018
|
box-shadow: none;
|
|
759
1019
|
}
|
|
1020
|
+
.oui-drawer-panel[data-side=right] .oui-app-shell-sidebar {
|
|
1021
|
+
border-radius: 14px 0 0 14px;
|
|
1022
|
+
}
|
|
760
1023
|
.oui-app-shell-sidebar-separator {
|
|
761
1024
|
margin: 0 8px;
|
|
762
1025
|
}
|
|
@@ -787,19 +1050,19 @@
|
|
|
787
1050
|
flex-direction: column;
|
|
788
1051
|
overflow: hidden;
|
|
789
1052
|
color: var(--oui-text);
|
|
790
|
-
background: var(--
|
|
1053
|
+
background: var(--oui-bg);
|
|
791
1054
|
}
|
|
792
1055
|
|
|
793
1056
|
.oui-app-sidebar-head {
|
|
794
1057
|
display: flex;
|
|
795
|
-
flex: 0 0 61px;
|
|
796
|
-
min-height: 61px;
|
|
1058
|
+
flex: 0 0 var(--oui-app-shell-header-h, 61px);
|
|
1059
|
+
min-height: var(--oui-app-shell-header-h, 61px);
|
|
797
1060
|
align-items: center;
|
|
798
1061
|
justify-content: space-between;
|
|
799
1062
|
gap: 8px;
|
|
800
|
-
border-bottom: 1px solid var(--
|
|
1063
|
+
border-bottom: 1px solid var(--oui-border);
|
|
801
1064
|
padding: 0 16px;
|
|
802
|
-
background: var(--
|
|
1065
|
+
background: var(--oui-bg);
|
|
803
1066
|
}
|
|
804
1067
|
|
|
805
1068
|
.oui-app-sidebar[data-side=right] .oui-app-sidebar-head {
|
|
@@ -874,7 +1137,7 @@
|
|
|
874
1137
|
z-index: 0;
|
|
875
1138
|
height: var(--oui-app-sidebar-item-h, 40px);
|
|
876
1139
|
border-radius: var(--radius-3, var(--oui-radius-sm));
|
|
877
|
-
background: var(--
|
|
1140
|
+
background: var(--oui-soft);
|
|
878
1141
|
opacity: 0;
|
|
879
1142
|
pointer-events: none;
|
|
880
1143
|
transform: translateY(0);
|
|
@@ -919,7 +1182,7 @@
|
|
|
919
1182
|
border: 0;
|
|
920
1183
|
border-radius: var(--radius-3, var(--oui-radius-sm));
|
|
921
1184
|
padding: 0 12px;
|
|
922
|
-
color: var(--
|
|
1185
|
+
color: var(--oui-muted);
|
|
923
1186
|
background: transparent;
|
|
924
1187
|
font: inherit;
|
|
925
1188
|
text-align: left;
|
|
@@ -935,7 +1198,7 @@
|
|
|
935
1198
|
|
|
936
1199
|
.oui-app-sidebar-item:hover,
|
|
937
1200
|
.oui-app-sidebar-item:focus-visible {
|
|
938
|
-
color: var(--
|
|
1201
|
+
color: var(--oui-text);
|
|
939
1202
|
outline: none;
|
|
940
1203
|
}
|
|
941
1204
|
|
|
@@ -944,7 +1207,7 @@
|
|
|
944
1207
|
}
|
|
945
1208
|
|
|
946
1209
|
.oui-app-sidebar-item[data-sidebar-active=true] {
|
|
947
|
-
color: var(--
|
|
1210
|
+
color: var(--oui-text);
|
|
948
1211
|
}
|
|
949
1212
|
|
|
950
1213
|
.oui-app-sidebar-item:disabled {
|
|
@@ -3522,8 +3785,7 @@ a.oui-card {
|
|
|
3522
3785
|
transform: translateX(18px);
|
|
3523
3786
|
}
|
|
3524
3787
|
|
|
3525
|
-
.oui-segmented
|
|
3526
|
-
.oui-tabs-list {
|
|
3788
|
+
.oui-segmented {
|
|
3527
3789
|
display: inline-flex;
|
|
3528
3790
|
align-items: center;
|
|
3529
3791
|
gap: 3px;
|
|
@@ -3534,8 +3796,7 @@ a.oui-card {
|
|
|
3534
3796
|
padding: 3px;
|
|
3535
3797
|
}
|
|
3536
3798
|
|
|
3537
|
-
.oui-segmented-item
|
|
3538
|
-
.oui-tabs-trigger {
|
|
3799
|
+
.oui-segmented-item {
|
|
3539
3800
|
border: 0;
|
|
3540
3801
|
border-radius: var(--oui-radius-sm);
|
|
3541
3802
|
padding: 7px 11px;
|
|
@@ -3548,8 +3809,7 @@ a.oui-card {
|
|
|
3548
3809
|
transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
|
|
3549
3810
|
}
|
|
3550
3811
|
|
|
3551
|
-
.oui-segmented-item[data-active=true]
|
|
3552
|
-
.oui-tabs-trigger[data-active=true] {
|
|
3812
|
+
.oui-segmented-item[data-active=true] {
|
|
3553
3813
|
color: var(--oui-text);
|
|
3554
3814
|
background: var(--oui-control-hover-bg, var(--oui-gray-a4, var(--oui-soft)));
|
|
3555
3815
|
box-shadow: var(--oui-shadow-sm);
|
|
@@ -3566,8 +3826,7 @@ a.oui-card {
|
|
|
3566
3826
|
}
|
|
3567
3827
|
|
|
3568
3828
|
.oui-button[data-variant=surface],
|
|
3569
|
-
.oui-icon-button[data-variant=surface]
|
|
3570
|
-
.oui-combobox-trigger {
|
|
3829
|
+
.oui-icon-button[data-variant=surface] {
|
|
3571
3830
|
background-color: var(--oui-control-bg, transparent);
|
|
3572
3831
|
border-color: color-mix(in srgb, var(--oui-gray-a8) 48%, transparent);
|
|
3573
3832
|
box-shadow: none;
|
|
@@ -3575,18 +3834,11 @@ a.oui-card {
|
|
|
3575
3834
|
}
|
|
3576
3835
|
|
|
3577
3836
|
.oui-button[data-variant=surface]:not(:disabled):hover,
|
|
3578
|
-
.oui-icon-button[data-variant=surface]:not(:disabled):hover
|
|
3579
|
-
.oui-combobox-trigger:not(:disabled):hover {
|
|
3837
|
+
.oui-icon-button[data-variant=surface]:not(:disabled):hover {
|
|
3580
3838
|
border-color: var(--oui-gray-a8);
|
|
3581
3839
|
background-color: var(--oui-control-hover-bg, var(--oui-gray-a4));
|
|
3582
3840
|
}
|
|
3583
3841
|
|
|
3584
|
-
.oui-combobox-trigger[data-state=open],
|
|
3585
|
-
.oui-combobox-trigger[data-state=open]:hover {
|
|
3586
|
-
border-color: var(--oui-primary-base);
|
|
3587
|
-
box-shadow: none;
|
|
3588
|
-
}
|
|
3589
|
-
|
|
3590
3842
|
.oui-combobox-trigger .oui-button-label {
|
|
3591
3843
|
flex: 1 1 auto;
|
|
3592
3844
|
min-width: 0;
|
|
@@ -3631,12 +3883,38 @@ a.oui-card {
|
|
|
3631
3883
|
|
|
3632
3884
|
.oui-combobox-content,
|
|
3633
3885
|
.oui-select-content {
|
|
3886
|
+
--oui-selection-content-text: var(--oui-text, #202020);
|
|
3887
|
+
--oui-selection-content-bg: var(--oui-floating-bg, var(--oui-bg, #ffffff));
|
|
3888
|
+
--oui-selection-option-hover-bg: var(--oui-control-hover-bg, color-mix(in srgb, var(--oui-selection-content-text) 8%, transparent));
|
|
3889
|
+
--oui-selection-option-selected-bg: var(--oui-selected-bg, color-mix(in srgb, var(--oui-selection-content-text) 10%, transparent));
|
|
3890
|
+
--oui-selection-option-selected-hover-bg: var(--oui-control-hover-bg, color-mix(in srgb, var(--oui-selection-content-text) 13%, transparent));
|
|
3891
|
+
--oui-selection-check-color: var(--oui-primary-text, #0d74ce);
|
|
3634
3892
|
min-width: 280px;
|
|
3635
3893
|
max-width: min(420px, 100vw - 24px);
|
|
3636
3894
|
padding: 0;
|
|
3637
3895
|
overflow: hidden;
|
|
3638
|
-
color: var(--oui-text);
|
|
3639
|
-
background: var(--oui-
|
|
3896
|
+
color: var(--oui-selection-content-text);
|
|
3897
|
+
background: var(--oui-selection-content-bg);
|
|
3898
|
+
}
|
|
3899
|
+
|
|
3900
|
+
.oui-combobox-content[data-oui-theme=light],
|
|
3901
|
+
.oui-select-content[data-oui-theme=light] {
|
|
3902
|
+
--oui-selection-content-text: #202020;
|
|
3903
|
+
--oui-selection-content-bg: #ffffff;
|
|
3904
|
+
--oui-selection-option-hover-bg: #0000000f;
|
|
3905
|
+
--oui-selection-option-selected-bg: #008ff519;
|
|
3906
|
+
--oui-selection-option-selected-hover-bg: #008ff526;
|
|
3907
|
+
--oui-selection-check-color: #0d74ce;
|
|
3908
|
+
}
|
|
3909
|
+
|
|
3910
|
+
.oui-combobox-content[data-oui-theme=dark],
|
|
3911
|
+
.oui-select-content[data-oui-theme=dark] {
|
|
3912
|
+
--oui-selection-content-text: #eeeeee;
|
|
3913
|
+
--oui-selection-content-bg: #0c0c0f;
|
|
3914
|
+
--oui-selection-option-hover-bg: #ffffff12;
|
|
3915
|
+
--oui-selection-option-selected-bg: #0077ff3a;
|
|
3916
|
+
--oui-selection-option-selected-hover-bg: #0077ff52;
|
|
3917
|
+
--oui-selection-check-color: #70b8ff;
|
|
3640
3918
|
}
|
|
3641
3919
|
|
|
3642
3920
|
.oui-combobox-search-wrap {
|
|
@@ -3653,7 +3931,7 @@ a.oui-card {
|
|
|
3653
3931
|
overflow-y: auto;
|
|
3654
3932
|
overscroll-behavior: contain;
|
|
3655
3933
|
scrollbar-width: thin;
|
|
3656
|
-
scrollbar-color: var(--oui-scrollbar-thumb, var(--oui-gray-a8)) transparent;
|
|
3934
|
+
scrollbar-color: var(--oui-scrollbar-thumb, var(--oui-gray-a8)) var(--oui-scrollbar-track, transparent);
|
|
3657
3935
|
}
|
|
3658
3936
|
|
|
3659
3937
|
.oui-combobox-options,
|
|
@@ -3674,7 +3952,7 @@ a.oui-card {
|
|
|
3674
3952
|
border: 0;
|
|
3675
3953
|
border-radius: 6px;
|
|
3676
3954
|
padding: 0;
|
|
3677
|
-
color: var(--oui-text);
|
|
3955
|
+
color: var(--oui-selection-content-text, var(--oui-text, #202020));
|
|
3678
3956
|
background: transparent;
|
|
3679
3957
|
font: inherit;
|
|
3680
3958
|
font-size: 14px;
|
|
@@ -3713,33 +3991,33 @@ a.oui-card {
|
|
|
3713
3991
|
.oui-combobox-option[data-highlighted=true],
|
|
3714
3992
|
.oui-listbox.oui-combobox-options .oui-listbox-item:hover,
|
|
3715
3993
|
.oui-listbox.oui-combobox-options .oui-listbox-item[data-highlighted=true] {
|
|
3716
|
-
background: var(--oui-
|
|
3994
|
+
background: var(--oui-selection-option-hover-bg);
|
|
3717
3995
|
}
|
|
3718
3996
|
|
|
3719
3997
|
.oui-combobox-option[data-selected=true]:hover,
|
|
3720
3998
|
.oui-combobox-option[data-selected=true][data-highlighted=true],
|
|
3721
3999
|
.oui-listbox.oui-combobox-options .oui-listbox-item[data-selected=true]:hover,
|
|
3722
4000
|
.oui-listbox.oui-combobox-options .oui-listbox-item[data-selected=true][data-highlighted=true] {
|
|
3723
|
-
background: var(--oui-
|
|
4001
|
+
background: var(--oui-selection-option-selected-hover-bg);
|
|
3724
4002
|
}
|
|
3725
4003
|
|
|
3726
4004
|
.oui-combobox-option[data-selected=true],
|
|
3727
4005
|
.oui-listbox.oui-combobox-options .oui-listbox-item[data-selected=true] {
|
|
3728
|
-
color: var(--oui-text);
|
|
3729
|
-
background:
|
|
4006
|
+
color: var(--oui-selection-content-text, var(--oui-text, #202020));
|
|
4007
|
+
background: var(--oui-selection-option-selected-bg);
|
|
3730
4008
|
}
|
|
3731
4009
|
|
|
3732
4010
|
.oui-combobox-option[data-selected=true]:hover,
|
|
3733
4011
|
.oui-combobox-option[data-selected=true][data-highlighted=true],
|
|
3734
4012
|
.oui-listbox.oui-combobox-options .oui-listbox-item[data-selected=true]:hover,
|
|
3735
4013
|
.oui-listbox.oui-combobox-options .oui-listbox-item[data-selected=true][data-highlighted=true] {
|
|
3736
|
-
background: var(--oui-
|
|
4014
|
+
background: var(--oui-selection-option-selected-hover-bg);
|
|
3737
4015
|
}
|
|
3738
4016
|
|
|
3739
4017
|
.oui-combobox-check {
|
|
3740
4018
|
flex: 0 0 auto;
|
|
3741
4019
|
margin-right: 10px;
|
|
3742
|
-
color: var(--oui-
|
|
4020
|
+
color: var(--oui-selection-check-color);
|
|
3743
4021
|
}
|
|
3744
4022
|
|
|
3745
4023
|
.oui-combobox-option-action {
|
|
@@ -3902,17 +4180,18 @@ a.oui-card {
|
|
|
3902
4180
|
.oui-button.oui-combobox-trigger[data-variant=surface],
|
|
3903
4181
|
.oui-button.oui-combobox-trigger {
|
|
3904
4182
|
background-color: var(--oui-control-bg, transparent);
|
|
3905
|
-
border-color: color
|
|
4183
|
+
border-color: var(--oui-field-border-color, var(--oui-border));
|
|
3906
4184
|
border-radius: 6px;
|
|
3907
4185
|
box-shadow: none;
|
|
4186
|
+
font-weight: 400;
|
|
3908
4187
|
outline: none;
|
|
3909
4188
|
transition: border-color 280ms ease, background-color 180ms ease;
|
|
3910
4189
|
}
|
|
3911
4190
|
|
|
3912
4191
|
.oui-button.oui-combobox-trigger[data-variant=surface]:not(:disabled):hover,
|
|
3913
4192
|
.oui-button.oui-combobox-trigger:not(:disabled):hover {
|
|
3914
|
-
background-color: var(--oui-control-
|
|
3915
|
-
border-color: var(--oui-
|
|
4193
|
+
background-color: var(--oui-control-bg, transparent);
|
|
4194
|
+
border-color: var(--oui-field-border-hover-color, var(--oui-border-strong));
|
|
3916
4195
|
box-shadow: none;
|
|
3917
4196
|
}
|
|
3918
4197
|
|
|
@@ -4062,6 +4341,7 @@ a.oui-card {
|
|
|
4062
4341
|
}
|
|
4063
4342
|
|
|
4064
4343
|
.oui-collapse {
|
|
4344
|
+
display: grid;
|
|
4065
4345
|
overflow: hidden;
|
|
4066
4346
|
min-width: 0;
|
|
4067
4347
|
min-height: 0;
|
|
@@ -4076,6 +4356,10 @@ a.oui-card {
|
|
|
4076
4356
|
transition: opacity 160ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
|
|
4077
4357
|
}
|
|
4078
4358
|
|
|
4359
|
+
.oui-collapse[data-animate=false] .oui-collapse-content {
|
|
4360
|
+
transition: none;
|
|
4361
|
+
}
|
|
4362
|
+
|
|
4079
4363
|
.oui-collapse[data-state=open] .oui-collapse-content {
|
|
4080
4364
|
opacity: 1;
|
|
4081
4365
|
transform: translateY(0);
|
|
@@ -4117,17 +4401,17 @@ a.oui-card {
|
|
|
4117
4401
|
position: absolute;
|
|
4118
4402
|
border-radius: 6px;
|
|
4119
4403
|
pointer-events: none;
|
|
4120
|
-
transition: left
|
|
4404
|
+
transition: left 460ms cubic-bezier(0.22, 1, 0.36, 1), top 460ms cubic-bezier(0.22, 1, 0.36, 1), width 460ms cubic-bezier(0.22, 1, 0.36, 1), height 460ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
|
|
4121
4405
|
}
|
|
4122
4406
|
|
|
4123
4407
|
.oui-tabs-active-indicator {
|
|
4124
4408
|
z-index: 0;
|
|
4125
|
-
background: var(--oui-gray-
|
|
4409
|
+
background: var(--oui-border, var(--oui-pad-hover-bg, var(--oui-control-hover-bg, var(--oui-gray-a3))));
|
|
4126
4410
|
}
|
|
4127
4411
|
|
|
4128
4412
|
.oui-tabs-hover-indicator {
|
|
4129
4413
|
z-index: 0;
|
|
4130
|
-
background: var(--oui-gray-a3);
|
|
4414
|
+
background: var(--oui-border, var(--oui-pad-hover-bg, var(--oui-control-hover-bg, var(--oui-gray-a3))));
|
|
4131
4415
|
opacity: 0;
|
|
4132
4416
|
}
|
|
4133
4417
|
|
|
@@ -4168,10 +4452,6 @@ a.oui-card {
|
|
|
4168
4452
|
outline: none;
|
|
4169
4453
|
}
|
|
4170
4454
|
|
|
4171
|
-
.oui-tabs-trigger[data-active=true] {
|
|
4172
|
-
font-weight: 500;
|
|
4173
|
-
}
|
|
4174
|
-
|
|
4175
4455
|
.oui-tabs-trigger-icon {
|
|
4176
4456
|
display: inline-flex;
|
|
4177
4457
|
align-items: center;
|
|
@@ -4286,17 +4566,17 @@ a.oui-card {
|
|
|
4286
4566
|
position: absolute;
|
|
4287
4567
|
border-radius: 6px;
|
|
4288
4568
|
pointer-events: none;
|
|
4289
|
-
transition: left
|
|
4569
|
+
transition: left 460ms cubic-bezier(0.22, 1, 0.36, 1), top 460ms cubic-bezier(0.22, 1, 0.36, 1), width 460ms cubic-bezier(0.22, 1, 0.36, 1), height 460ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
|
|
4290
4570
|
}
|
|
4291
4571
|
|
|
4292
4572
|
.oui-tabs-compound-active-indicator {
|
|
4293
4573
|
z-index: 0;
|
|
4294
|
-
background: var(--oui-gray-
|
|
4574
|
+
background: var(--oui-border, var(--oui-pad-hover-bg, var(--oui-control-hover-bg, var(--oui-gray-a3))));
|
|
4295
4575
|
}
|
|
4296
4576
|
|
|
4297
4577
|
.oui-tabs-compound-hover-indicator {
|
|
4298
4578
|
z-index: 0;
|
|
4299
|
-
background: var(--oui-gray-a3);
|
|
4579
|
+
background: var(--oui-border, var(--oui-pad-hover-bg, var(--oui-control-hover-bg, var(--oui-gray-a3))));
|
|
4300
4580
|
opacity: 0;
|
|
4301
4581
|
}
|
|
4302
4582
|
|
|
@@ -4396,9 +4676,9 @@ a.oui-card {
|
|
|
4396
4676
|
|
|
4397
4677
|
.oui-popover-content,
|
|
4398
4678
|
.oui-tooltip-content {
|
|
4399
|
-
color: var(--oui-text);
|
|
4400
|
-
background: var(--oui-floating-bg, var(--oui-bg));
|
|
4401
|
-
border: 1px solid var(--oui-border);
|
|
4679
|
+
color: var(--oui-text, #202020);
|
|
4680
|
+
background: var(--oui-floating-bg, var(--oui-bg, #ffffff));
|
|
4681
|
+
border: 1px solid var(--oui-border, rgba(0, 0, 0, 0.0901960784));
|
|
4402
4682
|
border-radius: var(--oui-radius);
|
|
4403
4683
|
box-shadow: var(--oui-shadow-md);
|
|
4404
4684
|
transform-origin: top center;
|
|
@@ -4446,7 +4726,7 @@ a.oui-card {
|
|
|
4446
4726
|
border: 0;
|
|
4447
4727
|
border-radius: var(--oui-radius-sm);
|
|
4448
4728
|
padding: 7px 9px;
|
|
4449
|
-
color: var(--oui-text);
|
|
4729
|
+
color: var(--oui-text, #202020);
|
|
4450
4730
|
background: transparent;
|
|
4451
4731
|
font: inherit;
|
|
4452
4732
|
font-size: 13px;
|
|
@@ -4463,8 +4743,8 @@ a.oui-card {
|
|
|
4463
4743
|
}
|
|
4464
4744
|
|
|
4465
4745
|
.oui-listbox-item[data-selected=true] {
|
|
4466
|
-
color: var(--oui-text);
|
|
4467
|
-
background: color-mix(in srgb, var(--oui-text) 7%, transparent);
|
|
4746
|
+
color: var(--oui-text, #202020);
|
|
4747
|
+
background: color-mix(in srgb, var(--oui-text, #202020) 7%, transparent);
|
|
4468
4748
|
}
|
|
4469
4749
|
|
|
4470
4750
|
.oui-listbox-item[data-selected=true]:hover,
|
|
@@ -4502,7 +4782,7 @@ a.oui-card {
|
|
|
4502
4782
|
overflow: auto;
|
|
4503
4783
|
padding-right: 2px;
|
|
4504
4784
|
scrollbar-width: thin;
|
|
4505
|
-
scrollbar-color: var(--oui-scrollbar-thumb, var(--oui-gray-a8, var(--oui-border-strong))) transparent;
|
|
4785
|
+
scrollbar-color: var(--oui-scrollbar-thumb, var(--oui-gray-a8, var(--oui-border-strong))) var(--oui-scrollbar-track, transparent);
|
|
4506
4786
|
}
|
|
4507
4787
|
|
|
4508
4788
|
.oui-command-palette-results::-webkit-scrollbar {
|
|
@@ -4510,7 +4790,7 @@ a.oui-card {
|
|
|
4510
4790
|
}
|
|
4511
4791
|
|
|
4512
4792
|
.oui-command-palette-results::-webkit-scrollbar-track {
|
|
4513
|
-
background: transparent;
|
|
4793
|
+
background: var(--oui-scrollbar-track, transparent);
|
|
4514
4794
|
}
|
|
4515
4795
|
|
|
4516
4796
|
.oui-command-palette-results::-webkit-scrollbar-thumb {
|
|
@@ -4835,107 +5115,83 @@ a.oui-card {
|
|
|
4835
5115
|
padding: 18px;
|
|
4836
5116
|
}
|
|
4837
5117
|
|
|
4838
|
-
.oui-toast-
|
|
5118
|
+
.oui-toast-stack {
|
|
4839
5119
|
position: fixed;
|
|
4840
5120
|
z-index: var(--oui-z-toast, 2147483000);
|
|
4841
5121
|
display: flex;
|
|
4842
|
-
width: min(380px, 100vw - 32px);
|
|
5122
|
+
width: min(380px, calc(100vw - 32px));
|
|
4843
5123
|
flex-direction: column;
|
|
4844
5124
|
gap: 8px;
|
|
4845
5125
|
pointer-events: none;
|
|
4846
5126
|
}
|
|
4847
5127
|
|
|
4848
|
-
.oui-toast-
|
|
5128
|
+
.oui-toast-stack[data-position^=top] {
|
|
4849
5129
|
top: 16px;
|
|
4850
5130
|
}
|
|
4851
5131
|
|
|
4852
|
-
.oui-toast-
|
|
5132
|
+
.oui-toast-stack[data-position^=bottom] {
|
|
4853
5133
|
bottom: 16px;
|
|
4854
5134
|
}
|
|
4855
5135
|
|
|
4856
|
-
.oui-toast-
|
|
5136
|
+
.oui-toast-stack[data-position$=left] {
|
|
4857
5137
|
left: 16px;
|
|
4858
5138
|
align-items: flex-start;
|
|
4859
5139
|
}
|
|
4860
5140
|
|
|
4861
|
-
.oui-toast-
|
|
5141
|
+
.oui-toast-stack[data-position$=right] {
|
|
4862
5142
|
right: 16px;
|
|
4863
5143
|
align-items: flex-end;
|
|
4864
5144
|
}
|
|
4865
5145
|
|
|
4866
|
-
.oui-toast-
|
|
5146
|
+
.oui-toast-stack[data-position$=center] {
|
|
4867
5147
|
left: 50%;
|
|
4868
5148
|
align-items: center;
|
|
4869
5149
|
transform: translateX(-50%);
|
|
4870
5150
|
}
|
|
4871
5151
|
|
|
4872
|
-
.oui-toast-
|
|
5152
|
+
.oui-toast-viewport {
|
|
4873
5153
|
position: relative;
|
|
4874
|
-
isolation: isolate;
|
|
4875
5154
|
width: 100%;
|
|
5155
|
+
overflow: hidden;
|
|
5156
|
+
border-radius: var(--oui-radius-xl, 12px);
|
|
5157
|
+
background: var(--oui-toast-bg, var(--oui-floating-bg, var(--oui-bg)));
|
|
5158
|
+
box-shadow: var(--oui-toast-shadow, 0 10px 26px rgba(0, 0, 0, 0.18));
|
|
5159
|
+
-webkit-backdrop-filter: blur(6px);
|
|
5160
|
+
backdrop-filter: blur(6px);
|
|
4876
5161
|
animation: ouiToastIn var(--oui-toast-animation-duration, 420ms) cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
4877
5162
|
pointer-events: none;
|
|
4878
5163
|
will-change: opacity, transform;
|
|
4879
5164
|
}
|
|
4880
5165
|
|
|
4881
|
-
.oui-toast-backdrop {
|
|
4882
|
-
position: absolute;
|
|
4883
|
-
inset: -10px;
|
|
4884
|
-
z-index: 0;
|
|
4885
|
-
border-radius: 14px;
|
|
4886
|
-
background: transparent;
|
|
4887
|
-
backdrop-filter: blur(var(--oui-toast-effective-blur, 0px)) saturate(180%);
|
|
4888
|
-
-webkit-backdrop-filter: blur(var(--oui-toast-effective-blur, 0px)) saturate(180%);
|
|
4889
|
-
pointer-events: none;
|
|
4890
|
-
}
|
|
4891
|
-
|
|
4892
5166
|
.oui-toast {
|
|
4893
5167
|
position: relative;
|
|
4894
|
-
z-index: 1;
|
|
4895
5168
|
display: flex;
|
|
4896
5169
|
align-items: flex-start;
|
|
4897
5170
|
justify-content: space-between;
|
|
4898
5171
|
gap: 12px;
|
|
4899
|
-
border:
|
|
5172
|
+
border: 0;
|
|
4900
5173
|
border-radius: var(--oui-radius-xl, 12px);
|
|
4901
5174
|
width: 100%;
|
|
4902
5175
|
isolation: isolate;
|
|
4903
5176
|
overflow: hidden;
|
|
4904
5177
|
padding: 16px;
|
|
4905
5178
|
color: var(--oui-text);
|
|
4906
|
-
background:
|
|
4907
|
-
box-shadow:
|
|
4908
|
-
backdrop-filter: blur(var(--oui-toast-effective-blur, 0px)) saturate(180%);
|
|
4909
|
-
-webkit-backdrop-filter: blur(var(--oui-toast-effective-blur, 0px)) saturate(180%);
|
|
5179
|
+
background: color-mix(in srgb, var(--oui-toast-tone-color, var(--oui-info-base)) 5%, transparent);
|
|
5180
|
+
box-shadow: none;
|
|
4910
5181
|
transform-origin: var(--oui-toast-origin, center);
|
|
4911
5182
|
pointer-events: auto;
|
|
4912
5183
|
}
|
|
4913
5184
|
|
|
4914
|
-
.oui-toast::after {
|
|
4915
|
-
position: absolute;
|
|
4916
|
-
inset: 0;
|
|
4917
|
-
z-index: -1;
|
|
4918
|
-
border-radius: inherit;
|
|
4919
|
-
background: var(--oui-toast-tone-bg, transparent);
|
|
4920
|
-
content: "";
|
|
4921
|
-
pointer-events: none;
|
|
4922
|
-
}
|
|
4923
|
-
|
|
4924
5185
|
.oui-toast[data-clickable=true] {
|
|
4925
5186
|
cursor: pointer;
|
|
4926
5187
|
}
|
|
4927
5188
|
|
|
4928
|
-
.oui-
|
|
4929
|
-
|
|
4930
|
-
background: color-mix(in srgb, var(--oui-toast-bg, var(--oui-floating-bg, var(--oui-bg))) 92%, var(--oui-text) 8%);
|
|
4931
|
-
}
|
|
4932
|
-
|
|
4933
|
-
.oui-root[data-oui-theme=light] .oui-toast,
|
|
4934
|
-
:root[data-oui-theme=light] .oui-toast {
|
|
5189
|
+
.oui-root[data-oui-theme=light] .oui-toast-viewport,
|
|
5190
|
+
:root[data-oui-theme=light] .oui-toast-viewport {
|
|
4935
5191
|
box-shadow: var(--oui-toast-shadow, 0 10px 24px rgba(15, 23, 42, 0.12));
|
|
4936
5192
|
}
|
|
4937
5193
|
|
|
4938
|
-
.oui-toast-
|
|
5194
|
+
.oui-toast-viewport[data-position$=right] {
|
|
4939
5195
|
--oui-toast-enter-x: calc(100% + 32px);
|
|
4940
5196
|
--oui-toast-enter-y: 0;
|
|
4941
5197
|
--oui-toast-exit-x: calc(100% + 32px);
|
|
@@ -4943,7 +5199,7 @@ a.oui-card {
|
|
|
4943
5199
|
--oui-toast-origin: right center;
|
|
4944
5200
|
}
|
|
4945
5201
|
|
|
4946
|
-
.oui-toast-
|
|
5202
|
+
.oui-toast-viewport[data-position$=left] {
|
|
4947
5203
|
--oui-toast-enter-x: calc(-100% - 32px);
|
|
4948
5204
|
--oui-toast-enter-y: 0;
|
|
4949
5205
|
--oui-toast-exit-x: calc(-100% - 32px);
|
|
@@ -4951,7 +5207,7 @@ a.oui-card {
|
|
|
4951
5207
|
--oui-toast-origin: left center;
|
|
4952
5208
|
}
|
|
4953
5209
|
|
|
4954
|
-
.oui-toast-
|
|
5210
|
+
.oui-toast-viewport[data-position=top-center] {
|
|
4955
5211
|
--oui-toast-enter-x: 0;
|
|
4956
5212
|
--oui-toast-enter-y: calc(-100% - 32px);
|
|
4957
5213
|
--oui-toast-exit-x: 0;
|
|
@@ -4959,7 +5215,7 @@ a.oui-card {
|
|
|
4959
5215
|
--oui-toast-origin: top center;
|
|
4960
5216
|
}
|
|
4961
5217
|
|
|
4962
|
-
.oui-toast-
|
|
5218
|
+
.oui-toast-viewport[data-position=bottom-center] {
|
|
4963
5219
|
--oui-toast-enter-x: 0;
|
|
4964
5220
|
--oui-toast-enter-y: calc(100% + 32px);
|
|
4965
5221
|
--oui-toast-exit-x: 0;
|
|
@@ -4967,7 +5223,7 @@ a.oui-card {
|
|
|
4967
5223
|
--oui-toast-origin: bottom center;
|
|
4968
5224
|
}
|
|
4969
5225
|
|
|
4970
|
-
.oui-toast-
|
|
5226
|
+
.oui-toast-viewport[data-state=closing] {
|
|
4971
5227
|
animation: ouiToastOut var(--oui-toast-exit-duration, 320ms) cubic-bezier(0.4, 0, 0.2, 1) forwards;
|
|
4972
5228
|
}
|
|
4973
5229
|
|
|
@@ -4990,18 +5246,34 @@ a.oui-card {
|
|
|
4990
5246
|
line-height: 1;
|
|
4991
5247
|
}
|
|
4992
5248
|
|
|
5249
|
+
.oui-toast[data-tone=success] {
|
|
5250
|
+
--oui-toast-tone-color: var(--oui-success-base);
|
|
5251
|
+
}
|
|
5252
|
+
|
|
4993
5253
|
.oui-toast-icon[data-tone=success] {
|
|
4994
5254
|
color: var(--oui-success-base);
|
|
4995
5255
|
}
|
|
4996
5256
|
|
|
5257
|
+
.oui-toast[data-tone=warning] {
|
|
5258
|
+
--oui-toast-tone-color: var(--oui-warning-base);
|
|
5259
|
+
}
|
|
5260
|
+
|
|
4997
5261
|
.oui-toast-icon[data-tone=warning] {
|
|
4998
5262
|
color: var(--oui-warning-base);
|
|
4999
5263
|
}
|
|
5000
5264
|
|
|
5265
|
+
.oui-toast[data-tone=danger] {
|
|
5266
|
+
--oui-toast-tone-color: var(--oui-danger-base);
|
|
5267
|
+
}
|
|
5268
|
+
|
|
5001
5269
|
.oui-toast-icon[data-tone=danger] {
|
|
5002
5270
|
color: var(--oui-danger-base);
|
|
5003
5271
|
}
|
|
5004
5272
|
|
|
5273
|
+
.oui-toast[data-tone=info] {
|
|
5274
|
+
--oui-toast-tone-color: var(--oui-info-base);
|
|
5275
|
+
}
|
|
5276
|
+
|
|
5005
5277
|
.oui-toast-main {
|
|
5006
5278
|
display: flex;
|
|
5007
5279
|
min-width: 0;
|
|
@@ -5043,38 +5315,22 @@ a.oui-card {
|
|
|
5043
5315
|
pointer-events: none;
|
|
5044
5316
|
}
|
|
5045
5317
|
|
|
5046
|
-
.oui-toast
|
|
5047
|
-
|
|
5048
|
-
border-color: var(--oui-toast-custom-border-color, color-mix(in srgb, var(--oui-success-base) 16%, var(--oui-border)));
|
|
5318
|
+
.oui-toast:hover .oui-toast-progress {
|
|
5319
|
+
animation-play-state: paused;
|
|
5049
5320
|
}
|
|
5050
5321
|
|
|
5051
5322
|
.oui-toast[data-tone=success] .oui-toast-progress {
|
|
5052
5323
|
background: var(--oui-toast-progress-color, var(--oui-success-base));
|
|
5053
5324
|
}
|
|
5054
5325
|
|
|
5055
|
-
.oui-toast[data-tone=warning] {
|
|
5056
|
-
--oui-toast-tone-bg: color-mix(in srgb, var(--oui-warning-surface) 32%, transparent);
|
|
5057
|
-
border-color: var(--oui-toast-custom-border-color, color-mix(in srgb, var(--oui-warning-base) 18%, var(--oui-border)));
|
|
5058
|
-
}
|
|
5059
|
-
|
|
5060
5326
|
.oui-toast[data-tone=warning] .oui-toast-progress {
|
|
5061
5327
|
background: var(--oui-toast-progress-color, var(--oui-warning-base));
|
|
5062
5328
|
}
|
|
5063
5329
|
|
|
5064
|
-
.oui-toast[data-tone=danger] {
|
|
5065
|
-
--oui-toast-tone-bg: color-mix(in srgb, var(--oui-danger-surface) 32%, transparent);
|
|
5066
|
-
border-color: var(--oui-toast-custom-border-color, color-mix(in srgb, var(--oui-danger-base) 18%, var(--oui-border)));
|
|
5067
|
-
}
|
|
5068
|
-
|
|
5069
5330
|
.oui-toast[data-tone=danger] .oui-toast-progress {
|
|
5070
5331
|
background: var(--oui-toast-progress-color, var(--oui-danger-base));
|
|
5071
5332
|
}
|
|
5072
5333
|
|
|
5073
|
-
.oui-toast[data-tone=info] {
|
|
5074
|
-
--oui-toast-tone-bg: color-mix(in srgb, var(--oui-info-surface) 30%, transparent);
|
|
5075
|
-
border-color: var(--oui-toast-custom-border-color, color-mix(in srgb, var(--oui-info-base) 16%, var(--oui-border)));
|
|
5076
|
-
}
|
|
5077
|
-
|
|
5078
5334
|
.oui-toast[data-tone=info] .oui-toast-progress {
|
|
5079
5335
|
background: var(--oui-toast-progress-color, var(--oui-info-base));
|
|
5080
5336
|
}
|
|
@@ -5281,8 +5537,8 @@ a.oui-card {
|
|
|
5281
5537
|
.oui-select-content,
|
|
5282
5538
|
.oui-popover-content.oui-combobox-content,
|
|
5283
5539
|
.oui-popover-content.oui-select-content {
|
|
5284
|
-
color: var(--oui-text);
|
|
5285
|
-
background: var(--oui-floating-bg, var(--oui-bg));
|
|
5540
|
+
color: var(--oui-selection-content-text, var(--oui-text, #202020));
|
|
5541
|
+
background: var(--oui-selection-content-bg, var(--oui-floating-bg, var(--oui-bg, #ffffff)));
|
|
5286
5542
|
}
|
|
5287
5543
|
|
|
5288
5544
|
.oui-menu.oui-action-menu-content,
|
|
@@ -5718,7 +5974,7 @@ a.oui-card {
|
|
|
5718
5974
|
background: var(--oui-data-table-row-base-bg);
|
|
5719
5975
|
min-height: 0;
|
|
5720
5976
|
scrollbar-width: thin;
|
|
5721
|
-
scrollbar-color: var(--oui-scrollbar-thumb, var(--oui-gray-a8, var(--oui-border-strong))) transparent;
|
|
5977
|
+
scrollbar-color: var(--oui-scrollbar-thumb, var(--oui-gray-a8, var(--oui-border-strong))) var(--oui-scrollbar-track, transparent);
|
|
5722
5978
|
}
|
|
5723
5979
|
|
|
5724
5980
|
.oui-data-table-wrap:focus,
|
|
@@ -5989,7 +6245,7 @@ a.oui-card {
|
|
|
5989
6245
|
}
|
|
5990
6246
|
|
|
5991
6247
|
.oui-data-table-wrap::-webkit-scrollbar-track {
|
|
5992
|
-
background: transparent;
|
|
6248
|
+
background: var(--oui-scrollbar-track, transparent);
|
|
5993
6249
|
}
|
|
5994
6250
|
|
|
5995
6251
|
.oui-data-table-wrap::-webkit-scrollbar-thumb {
|
|
@@ -6220,7 +6476,7 @@ a.oui-card {
|
|
|
6220
6476
|
overflow: auto;
|
|
6221
6477
|
overscroll-behavior: contain;
|
|
6222
6478
|
scrollbar-width: thin;
|
|
6223
|
-
scrollbar-color: var(--oui-scrollbar-thumb, var(--oui-gray-a8, var(--oui-border-strong))) transparent;
|
|
6479
|
+
scrollbar-color: var(--oui-scrollbar-thumb, var(--oui-gray-a8, var(--oui-border-strong))) var(--oui-scrollbar-track, transparent);
|
|
6224
6480
|
}
|
|
6225
6481
|
|
|
6226
6482
|
.oui-scroll-area[data-scrollbars=vertical] > .oui-scroll-area-viewport {
|
|
@@ -6271,7 +6527,7 @@ a.oui-card {
|
|
|
6271
6527
|
.oui-scroll-area-viewport::-webkit-scrollbar-track,
|
|
6272
6528
|
.oui-combobox-scroll::-webkit-scrollbar-track,
|
|
6273
6529
|
.oui-modal-body::-webkit-scrollbar-track {
|
|
6274
|
-
background: transparent;
|
|
6530
|
+
background: var(--oui-scrollbar-track, transparent);
|
|
6275
6531
|
}
|
|
6276
6532
|
|
|
6277
6533
|
.oui-scroll-area-viewport::-webkit-scrollbar-thumb,
|
|
@@ -6282,6 +6538,7 @@ a.oui-card {
|
|
|
6282
6538
|
border-radius: 999px;
|
|
6283
6539
|
background-color: var(--oui-scrollbar-thumb, var(--oui-gray-a8, var(--oui-border-strong)));
|
|
6284
6540
|
background-clip: content-box;
|
|
6541
|
+
transition: background-color 180ms ease;
|
|
6285
6542
|
}
|
|
6286
6543
|
|
|
6287
6544
|
.oui-scroll-area-viewport::-webkit-scrollbar-thumb:hover,
|