@frame-ui-ng/components 0.4.2-beta.0 → 0.5.1-beta.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/accordion/src/styles/_vars.css +9 -8
- package/accordion/src/styles/accordion.css +3 -2
- package/alert/src/styles/_vars.css +10 -10
- package/alert/src/styles/alert.css +77 -77
- package/avatar/src/styles/_vars.css +34 -34
- package/avatar/src/styles/avatar.css +209 -209
- package/badge/src/styles/_vars.css +9 -9
- package/breadcrumb/src/styles/_vars.css +2 -2
- package/button/src/styles/_vars.css +5 -5
- package/button/src/styles/button.css +10 -35
- package/button-group/src/styles/button-group.css +11 -4
- package/calendar/src/styles/_vars.css +6 -6
- package/card/src/styles/_vars.css +10 -2
- package/card/src/styles/card.css +132 -142
- package/carousel/src/styles/_vars.css +7 -7
- package/checkbox/src/styles/_vars.css +3 -3
- package/checkbox/src/styles/checkbox.css +95 -95
- package/collapsible/src/styles/_vars.css +13 -13
- package/combobox/src/styles/_vars.css +20 -20
- package/command/src/styles/_vars.css +18 -17
- package/command/src/styles/command.css +1 -0
- package/date-picker/src/styles/_vars.css +6 -6
- package/drag-drop/src/styles/_vars.css +8 -8
- package/dropdown-menu/src/styles/_vars.css +8 -8
- package/empty/src/styles/_vars.css +23 -23
- package/fesm2022/frame-ui-ng-components-button.mjs +5 -8
- package/fesm2022/frame-ui-ng-components-button.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-carousel.mjs +4 -4
- package/fesm2022/frame-ui-ng-components-carousel.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-confirm-modal.mjs +1 -1
- package/fesm2022/frame-ui-ng-components-confirm-modal.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-confirm-popover.mjs +1 -1
- package/fesm2022/frame-ui-ng-components-confirm-popover.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-modal.mjs +1 -1
- package/fesm2022/frame-ui-ng-components-modal.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-sheet.mjs +1 -1
- package/fesm2022/frame-ui-ng-components-sheet.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components.mjs +12 -15
- package/fesm2022/frame-ui-ng-components.mjs.map +1 -1
- package/field/src/styles/_vars.css +20 -20
- package/hover-card/src/styles/_vars.css +21 -21
- package/input/src/styles/_vars.css +15 -15
- package/input/src/styles/input.css +0 -5
- package/input-otp/src/styles/_vars.css +3 -3
- package/input-otp/src/styles/input-otp.css +116 -116
- package/item/src/styles/_vars.css +9 -9
- package/menubar/src/styles/_vars.css +7 -7
- package/modal/src/styles/_vars.css +12 -12
- package/modal/src/styles/modal.css +1 -1
- package/navigation-menu/src/styles/_vars.css +9 -9
- package/package.json +2 -2
- package/pagination/src/styles/_vars.css +6 -6
- package/pagination/src/styles/pagination.css +14 -4
- package/popover/src/styles/_vars.css +24 -24
- package/progress/src/styles/_vars.css +2 -2
- package/progress/src/styles/progress.css +64 -64
- package/radio-group/src/styles/_vars.css +5 -5
- package/radio-group/src/styles/radio-group.css +2 -2
- package/resizable/src/styles/_vars.css +2 -2
- package/resizable/src/styles/resizable.css +130 -130
- package/select/src/styles/_vars.css +8 -8
- package/separator/src/styles/_vars.css +2 -2
- package/separator/src/styles/separator.css +25 -25
- package/sheet/src/styles/_vars.css +12 -12
- package/sheet/src/styles/sheet.css +1 -1
- package/sidebar/src/styles/_vars.css +24 -24
- package/sidebar/src/styles/sidebar.css +5 -5
- package/skeleton/src/styles/_vars.css +8 -8
- package/slider/src/styles/_vars.css +6 -6
- package/slider/src/styles/slider.css +147 -147
- package/spinner/src/styles/_vars.css +8 -9
- package/src/styles/blueprint.css +15 -65
- package/styles/blueprint.css +15 -65
- package/switch/src/styles/_vars.css +4 -4
- package/table/src/styles/_vars.css +26 -25
- package/table/src/styles/table.css +245 -245
- package/tabs/src/styles/_vars.css +19 -17
- package/tabs/src/styles/tabs.css +166 -164
- package/textarea/src/styles/_vars.css +4 -4
- package/toast/src/styles/_vars.css +20 -20
- package/toast/src/styles/toast.css +2 -2
- package/toggle/src/styles/_vars.css +14 -14
- package/toggle/src/styles/toggle.css +110 -110
- package/tooltip/src/styles/_vars.css +9 -9
- package/tooltip/src/styles/tooltip.css +9 -0
- package/types/frame-ui-ng-components-button.d.ts +5 -8
- package/types/frame-ui-ng-components-carousel.d.ts +2 -2
- package/types/frame-ui-ng-components.d.ts +15 -18
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--frame-popover-content-width: 20rem;
|
|
3
|
-
--frame-popover-content-padding:
|
|
4
|
-
--frame-popover-content-radius: var(--frame-radius-md);
|
|
5
|
-
--frame-popover-content-bg: var(--frame-surface);
|
|
6
|
-
--frame-popover-content-color: var(--frame-surface-foreground);
|
|
7
|
-
--frame-popover-content-border: var(--frame-border);
|
|
8
|
-
--frame-popover-content-shadow: var(--frame-shadow-md);
|
|
9
|
-
--frame-popover-content-gap:
|
|
10
|
-
--frame-popover-header-gap:
|
|
11
|
-
--frame-popover-title-color: var(--frame-foreground);
|
|
12
|
-
--frame-popover-title-font-size: 0.875rem;
|
|
13
|
-
--frame-popover-title-font-weight: 600;
|
|
14
|
-
--frame-popover-description-color: var(--frame-muted-foreground);
|
|
15
|
-
--frame-popover-description-font-size: 0.875rem;
|
|
16
|
-
--frame-popover-body-gap:
|
|
17
|
-
--frame-popover-footer-gap:
|
|
18
|
-
--frame-popover-close-radius: var(--frame-radius-sm);
|
|
19
|
-
--frame-popover-close-hover-bg: var(--frame-accent);
|
|
20
|
-
--frame-popover-motion-duration: 140ms;
|
|
21
|
-
--frame-popover-motion-easing: cubic-bezier(0.16, 1, 0.3, 1);
|
|
22
|
-
--frame-popover-motion-distance: 0.25rem;
|
|
23
|
-
--frame-popover-motion-scale: 0.96;
|
|
24
|
-
}
|
|
1
|
+
:where(:root) {
|
|
2
|
+
--frame-popover-content-width: 20rem;
|
|
3
|
+
--frame-popover-content-padding: var(--frame-density-panel-padding-md);
|
|
4
|
+
--frame-popover-content-radius: var(--frame-radius-md);
|
|
5
|
+
--frame-popover-content-bg: var(--frame-surface);
|
|
6
|
+
--frame-popover-content-color: var(--frame-surface-foreground);
|
|
7
|
+
--frame-popover-content-border: var(--frame-border);
|
|
8
|
+
--frame-popover-content-shadow: var(--frame-shadow-md);
|
|
9
|
+
--frame-popover-content-gap: var(--frame-density-gap-lg);
|
|
10
|
+
--frame-popover-header-gap: var(--frame-density-gap-sm);
|
|
11
|
+
--frame-popover-title-color: var(--frame-foreground);
|
|
12
|
+
--frame-popover-title-font-size: 0.875rem;
|
|
13
|
+
--frame-popover-title-font-weight: 600;
|
|
14
|
+
--frame-popover-description-color: var(--frame-muted-foreground);
|
|
15
|
+
--frame-popover-description-font-size: 0.875rem;
|
|
16
|
+
--frame-popover-body-gap: var(--frame-density-gap-lg);
|
|
17
|
+
--frame-popover-footer-gap: var(--frame-density-gap-md);
|
|
18
|
+
--frame-popover-close-radius: var(--frame-radius-sm);
|
|
19
|
+
--frame-popover-close-hover-bg: var(--frame-accent);
|
|
20
|
+
--frame-popover-motion-duration: 140ms;
|
|
21
|
+
--frame-popover-motion-easing: cubic-bezier(0.16, 1, 0.3, 1);
|
|
22
|
+
--frame-popover-motion-distance: 0.25rem;
|
|
23
|
+
--frame-popover-motion-scale: 0.96;
|
|
24
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
:root {
|
|
1
|
+
:where(:root) {
|
|
2
2
|
--frame-progress-height: 0.5rem;
|
|
3
3
|
--frame-progress-width: 100%;
|
|
4
|
-
--frame-progress-radius:
|
|
4
|
+
--frame-progress-radius: var(--frame-radius-sm);
|
|
5
5
|
--frame-progress-bg: var(--frame-accent);
|
|
6
6
|
--frame-progress-border: transparent;
|
|
7
7
|
--frame-progress-shadow: none;
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
@import './_vars.css';
|
|
2
|
-
|
|
3
|
-
[frProgress],
|
|
4
|
-
frame-progress {
|
|
5
|
-
position: relative;
|
|
6
|
-
display: block;
|
|
7
|
-
overflow: hidden;
|
|
8
|
-
inline-size: var(--frame-progress-width);
|
|
9
|
-
block-size: var(--frame-progress-height);
|
|
10
|
-
border: 1px solid var(--frame-progress-border);
|
|
11
|
-
border-radius: var(--frame-progress-radius);
|
|
12
|
-
background: var(--frame-progress-bg);
|
|
13
|
-
box-shadow: var(--frame-progress-shadow);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
[frProgressIndicator],
|
|
17
|
-
frame-progress-indicator {
|
|
18
|
-
display: block;
|
|
19
|
-
inline-size: var(--frame-progress-percent, 0%);
|
|
20
|
-
block-size: 100%;
|
|
21
|
-
margin-inline-start: 0;
|
|
22
|
-
margin-inline-end: auto;
|
|
23
|
-
border-radius: var(--frame-progress-indicator-radius);
|
|
24
|
-
background: var(--frame-progress-indicator-bg);
|
|
25
|
-
box-shadow: var(--frame-progress-indicator-shadow);
|
|
26
|
-
transition:
|
|
27
|
-
inline-size var(--frame-progress-transition-duration) var(--frame-progress-transition-easing),
|
|
28
|
-
background-color var(--frame-progress-transition-duration) ease;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
[frProgress][data-state='complete'] [frProgressIndicator],
|
|
32
|
-
frame-progress[data-state='complete'] frame-progress-indicator {
|
|
33
|
-
inline-size: 100%;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
[frProgress][data-state='indeterminate'] [frProgressIndicator],
|
|
37
|
-
frame-progress[data-state='indeterminate'] frame-progress-indicator {
|
|
38
|
-
position: absolute;
|
|
39
|
-
inset-block: 0;
|
|
40
|
-
inline-size: var(--frame-progress-indeterminate-size);
|
|
41
|
-
animation: frame-progress-indeterminate var(--frame-progress-indeterminate-duration) infinite linear;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@keyframes frame-progress-indeterminate {
|
|
45
|
-
from {
|
|
46
|
-
inset-inline-start: calc(-1 * var(--frame-progress-indeterminate-size));
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
to {
|
|
50
|
-
inset-inline-start: 100%;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@media (prefers-reduced-motion: reduce) {
|
|
55
|
-
[frProgressIndicator],
|
|
56
|
-
frame-progress-indicator {
|
|
57
|
-
transition-duration: 1ms;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
[frProgress][data-state='indeterminate'] [frProgressIndicator],
|
|
61
|
-
frame-progress[data-state='indeterminate'] frame-progress-indicator {
|
|
62
|
-
animation-duration: 3s;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
1
|
+
@import './_vars.css';
|
|
2
|
+
|
|
3
|
+
[frProgress],
|
|
4
|
+
frame-progress {
|
|
5
|
+
position: relative;
|
|
6
|
+
display: block;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
inline-size: var(--frame-progress-width);
|
|
9
|
+
block-size: var(--frame-progress-height);
|
|
10
|
+
border: 1px solid var(--frame-progress-border);
|
|
11
|
+
border-radius: var(--frame-progress-radius);
|
|
12
|
+
background: var(--frame-progress-bg);
|
|
13
|
+
box-shadow: var(--frame-progress-shadow);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
[frProgressIndicator],
|
|
17
|
+
frame-progress-indicator {
|
|
18
|
+
display: block;
|
|
19
|
+
inline-size: var(--frame-progress-percent, 0%);
|
|
20
|
+
block-size: 100%;
|
|
21
|
+
margin-inline-start: 0;
|
|
22
|
+
margin-inline-end: auto;
|
|
23
|
+
border-radius: var(--frame-progress-indicator-radius);
|
|
24
|
+
background: var(--frame-progress-indicator-bg);
|
|
25
|
+
box-shadow: var(--frame-progress-indicator-shadow);
|
|
26
|
+
transition:
|
|
27
|
+
inline-size var(--frame-progress-transition-duration) var(--frame-progress-transition-easing),
|
|
28
|
+
background-color var(--frame-progress-transition-duration) ease;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
[frProgress][data-state='complete'] [frProgressIndicator],
|
|
32
|
+
frame-progress[data-state='complete'] frame-progress-indicator {
|
|
33
|
+
inline-size: 100%;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[frProgress][data-state='indeterminate'] [frProgressIndicator],
|
|
37
|
+
frame-progress[data-state='indeterminate'] frame-progress-indicator {
|
|
38
|
+
position: absolute;
|
|
39
|
+
inset-block: 0;
|
|
40
|
+
inline-size: var(--frame-progress-indeterminate-size);
|
|
41
|
+
animation: frame-progress-indeterminate var(--frame-progress-indeterminate-duration) infinite linear;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@keyframes frame-progress-indeterminate {
|
|
45
|
+
from {
|
|
46
|
+
inset-inline-start: calc(-1 * var(--frame-progress-indeterminate-size));
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
to {
|
|
50
|
+
inset-inline-start: 100%;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@media (prefers-reduced-motion: reduce) {
|
|
55
|
+
[frProgressIndicator],
|
|
56
|
+
frame-progress-indicator {
|
|
57
|
+
transition-duration: 1ms;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
[frProgress][data-state='indeterminate'] [frProgressIndicator],
|
|
61
|
+
frame-progress[data-state='indeterminate'] frame-progress-indicator {
|
|
62
|
+
animation-duration: 3s;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--frame-radio-group-gap:
|
|
3
|
-
--frame-radio-group-horizontal-gap:
|
|
4
|
-
--frame-radio-group-card-gap:
|
|
5
|
-
--frame-radio-group-card-padding:
|
|
1
|
+
:where(:root) {
|
|
2
|
+
--frame-radio-group-gap: var(--frame-density-gap-lg);
|
|
3
|
+
--frame-radio-group-horizontal-gap: var(--frame-density-gap-xl);
|
|
4
|
+
--frame-radio-group-card-gap: var(--frame-density-gap-lg);
|
|
5
|
+
--frame-radio-group-card-padding: var(--frame-density-panel-padding-md);
|
|
6
6
|
--frame-radio-group-card-radius: var(--frame-radius-lg);
|
|
7
7
|
--frame-radio-group-card-bg: var(--frame-surface);
|
|
8
8
|
--frame-radio-group-card-border: var(--frame-border);
|
|
@@ -35,7 +35,7 @@ frame-radio-group[data-variant='cards'] {
|
|
|
35
35
|
block-size: var(--frame-radio-group-item-size);
|
|
36
36
|
margin: 0;
|
|
37
37
|
border: 1px solid var(--frame-radio-group-item-border);
|
|
38
|
-
border-radius:
|
|
38
|
+
border-radius: var(--frame-radius-full);
|
|
39
39
|
background: var(--frame-radio-group-item-bg);
|
|
40
40
|
color: var(--frame-radio-group-item-color);
|
|
41
41
|
cursor: pointer;
|
|
@@ -54,7 +54,7 @@ frame-radio-group[data-variant='cards'] {
|
|
|
54
54
|
inline-size: var(--frame-radio-group-item-dot-size);
|
|
55
55
|
block-size: var(--frame-radio-group-item-dot-size);
|
|
56
56
|
aspect-ratio: 1;
|
|
57
|
-
border-radius:
|
|
57
|
+
border-radius: var(--frame-radius-full);
|
|
58
58
|
background: currentColor;
|
|
59
59
|
clip-path: circle(50%);
|
|
60
60
|
transform: scale(0);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
:root {
|
|
1
|
+
:where(:root) {
|
|
2
2
|
--frame-resizable-border: var(--frame-border);
|
|
3
3
|
--frame-resizable-radius: var(--frame-radius-lg);
|
|
4
4
|
--frame-resizable-bg: var(--frame-surface);
|
|
5
5
|
--frame-resizable-color: var(--frame-foreground);
|
|
6
|
-
--frame-resizable-panel-padding:
|
|
6
|
+
--frame-resizable-panel-padding: var(--frame-density-panel-padding-md);
|
|
7
7
|
--frame-resizable-panel-min-size: 0;
|
|
8
8
|
--frame-resizable-handle-size: 0.625rem;
|
|
9
9
|
--frame-resizable-handle-hit-size: 1rem;
|
|
@@ -1,130 +1,130 @@
|
|
|
1
|
-
@import './_vars.css';
|
|
2
|
-
|
|
3
|
-
[frResizablePanelGroup],
|
|
4
|
-
frame-resizable-panel-group {
|
|
5
|
-
box-sizing: border-box;
|
|
6
|
-
display: flex;
|
|
7
|
-
overflow: hidden;
|
|
8
|
-
min-inline-size: var(--frame-resizable-panel-min-size);
|
|
9
|
-
min-block-size: var(--frame-resizable-panel-min-size);
|
|
10
|
-
border: 1px solid var(--frame-resizable-border);
|
|
11
|
-
border-radius: var(--frame-resizable-radius);
|
|
12
|
-
background: var(--frame-resizable-bg);
|
|
13
|
-
color: var(--frame-resizable-color);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
[frResizablePanelGroup][data-orientation='vertical'],
|
|
17
|
-
frame-resizable-panel-group[data-orientation='vertical'] {
|
|
18
|
-
flex-direction: column;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
[frResizablePanel],
|
|
22
|
-
frame-resizable-panel {
|
|
23
|
-
box-sizing: border-box;
|
|
24
|
-
position: relative;
|
|
25
|
-
overflow: auto;
|
|
26
|
-
min-inline-size: var(--frame-resizable-panel-min-size);
|
|
27
|
-
min-block-size: var(--frame-resizable-panel-min-size);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
[frResizablePanel]:not([data-no-padding]),
|
|
31
|
-
frame-resizable-panel:not([data-no-padding]) {
|
|
32
|
-
padding: var(--frame-resizable-panel-padding);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
[frResizablePanel][data-collapsed],
|
|
36
|
-
frame-resizable-panel[data-collapsed] {
|
|
37
|
-
overflow: hidden;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
[frResizablePanel][data-collapsed]:not([data-no-padding]),
|
|
41
|
-
frame-resizable-panel[data-collapsed]:not([data-no-padding]) {
|
|
42
|
-
padding: 0;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
[frResizableHandle],
|
|
46
|
-
frame-resizable-handle {
|
|
47
|
-
position: relative;
|
|
48
|
-
display: grid;
|
|
49
|
-
place-items: center;
|
|
50
|
-
flex: 0 0 var(--frame-resizable-handle-size);
|
|
51
|
-
align-self: stretch;
|
|
52
|
-
border: 0;
|
|
53
|
-
background: var(--frame-resizable-handle-bg);
|
|
54
|
-
cursor: col-resize;
|
|
55
|
-
outline: none;
|
|
56
|
-
touch-action: none;
|
|
57
|
-
transition:
|
|
58
|
-
background-color var(--frame-resizable-transition-duration) var(--frame-resizable-transition-easing),
|
|
59
|
-
box-shadow var(--frame-resizable-transition-duration) var(--frame-resizable-transition-easing);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
[frResizableHandle]::before,
|
|
63
|
-
frame-resizable-handle::before {
|
|
64
|
-
content: '';
|
|
65
|
-
position: absolute;
|
|
66
|
-
inset-block: 0;
|
|
67
|
-
inline-size: var(--frame-resizable-handle-hit-size);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
[frResizableHandle][data-orientation='vertical'],
|
|
71
|
-
frame-resizable-handle[data-orientation='vertical'] {
|
|
72
|
-
flex-basis: var(--frame-resizable-handle-size);
|
|
73
|
-
inline-size: auto;
|
|
74
|
-
block-size: var(--frame-resizable-handle-size);
|
|
75
|
-
cursor: row-resize;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
[frResizableHandle][data-orientation='vertical']::before,
|
|
79
|
-
frame-resizable-handle[data-orientation='vertical']::before {
|
|
80
|
-
inset-inline: 0;
|
|
81
|
-
inset-block: auto;
|
|
82
|
-
block-size: var(--frame-resizable-handle-hit-size);
|
|
83
|
-
inline-size: auto;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
[frResizableHandle]::after,
|
|
87
|
-
frame-resizable-handle::after {
|
|
88
|
-
content: '';
|
|
89
|
-
display: block;
|
|
90
|
-
inline-size: var(--frame-resizable-handle-indicator-thickness);
|
|
91
|
-
block-size: var(--frame-resizable-handle-indicator-size);
|
|
92
|
-
border-radius:
|
|
93
|
-
background: var(--frame-resizable-handle-indicator-bg);
|
|
94
|
-
opacity: 0;
|
|
95
|
-
transition:
|
|
96
|
-
opacity var(--frame-resizable-transition-duration) var(--frame-resizable-transition-easing),
|
|
97
|
-
background-color var(--frame-resizable-transition-duration) var(--frame-resizable-transition-easing);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
[frResizableHandle][data-orientation='vertical']::after,
|
|
101
|
-
frame-resizable-handle[data-orientation='vertical']::after {
|
|
102
|
-
inline-size: var(--frame-resizable-handle-indicator-size);
|
|
103
|
-
block-size: var(--frame-resizable-handle-indicator-thickness);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
[frResizableHandle][data-handle]::after,
|
|
107
|
-
frame-resizable-handle[data-handle]::after {
|
|
108
|
-
opacity: 1;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
[frResizableHandle]:where(:hover, [data-dragging]),
|
|
112
|
-
frame-resizable-handle:where(:hover, [data-dragging]) {
|
|
113
|
-
background: var(--frame-resizable-handle-hover-bg);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
[frResizableHandle][data-dragging],
|
|
117
|
-
frame-resizable-handle[data-dragging] {
|
|
118
|
-
background: var(--frame-resizable-handle-active-bg);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
[frResizableHandle]:focus-visible,
|
|
122
|
-
frame-resizable-handle:focus-visible {
|
|
123
|
-
box-shadow: var(--frame-resizable-handle-focus-shadow);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
[frResizableHandle][data-disabled],
|
|
127
|
-
frame-resizable-handle[data-disabled] {
|
|
128
|
-
cursor: not-allowed;
|
|
129
|
-
opacity: 0.6;
|
|
130
|
-
}
|
|
1
|
+
@import './_vars.css';
|
|
2
|
+
|
|
3
|
+
[frResizablePanelGroup],
|
|
4
|
+
frame-resizable-panel-group {
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
display: flex;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
min-inline-size: var(--frame-resizable-panel-min-size);
|
|
9
|
+
min-block-size: var(--frame-resizable-panel-min-size);
|
|
10
|
+
border: 1px solid var(--frame-resizable-border);
|
|
11
|
+
border-radius: var(--frame-resizable-radius);
|
|
12
|
+
background: var(--frame-resizable-bg);
|
|
13
|
+
color: var(--frame-resizable-color);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
[frResizablePanelGroup][data-orientation='vertical'],
|
|
17
|
+
frame-resizable-panel-group[data-orientation='vertical'] {
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
[frResizablePanel],
|
|
22
|
+
frame-resizable-panel {
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
position: relative;
|
|
25
|
+
overflow: auto;
|
|
26
|
+
min-inline-size: var(--frame-resizable-panel-min-size);
|
|
27
|
+
min-block-size: var(--frame-resizable-panel-min-size);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[frResizablePanel]:not([data-no-padding]),
|
|
31
|
+
frame-resizable-panel:not([data-no-padding]) {
|
|
32
|
+
padding: var(--frame-resizable-panel-padding);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
[frResizablePanel][data-collapsed],
|
|
36
|
+
frame-resizable-panel[data-collapsed] {
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
[frResizablePanel][data-collapsed]:not([data-no-padding]),
|
|
41
|
+
frame-resizable-panel[data-collapsed]:not([data-no-padding]) {
|
|
42
|
+
padding: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
[frResizableHandle],
|
|
46
|
+
frame-resizable-handle {
|
|
47
|
+
position: relative;
|
|
48
|
+
display: grid;
|
|
49
|
+
place-items: center;
|
|
50
|
+
flex: 0 0 var(--frame-resizable-handle-size);
|
|
51
|
+
align-self: stretch;
|
|
52
|
+
border: 0;
|
|
53
|
+
background: var(--frame-resizable-handle-bg);
|
|
54
|
+
cursor: col-resize;
|
|
55
|
+
outline: none;
|
|
56
|
+
touch-action: none;
|
|
57
|
+
transition:
|
|
58
|
+
background-color var(--frame-resizable-transition-duration) var(--frame-resizable-transition-easing),
|
|
59
|
+
box-shadow var(--frame-resizable-transition-duration) var(--frame-resizable-transition-easing);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
[frResizableHandle]::before,
|
|
63
|
+
frame-resizable-handle::before {
|
|
64
|
+
content: '';
|
|
65
|
+
position: absolute;
|
|
66
|
+
inset-block: 0;
|
|
67
|
+
inline-size: var(--frame-resizable-handle-hit-size);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
[frResizableHandle][data-orientation='vertical'],
|
|
71
|
+
frame-resizable-handle[data-orientation='vertical'] {
|
|
72
|
+
flex-basis: var(--frame-resizable-handle-size);
|
|
73
|
+
inline-size: auto;
|
|
74
|
+
block-size: var(--frame-resizable-handle-size);
|
|
75
|
+
cursor: row-resize;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
[frResizableHandle][data-orientation='vertical']::before,
|
|
79
|
+
frame-resizable-handle[data-orientation='vertical']::before {
|
|
80
|
+
inset-inline: 0;
|
|
81
|
+
inset-block: auto;
|
|
82
|
+
block-size: var(--frame-resizable-handle-hit-size);
|
|
83
|
+
inline-size: auto;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
[frResizableHandle]::after,
|
|
87
|
+
frame-resizable-handle::after {
|
|
88
|
+
content: '';
|
|
89
|
+
display: block;
|
|
90
|
+
inline-size: var(--frame-resizable-handle-indicator-thickness);
|
|
91
|
+
block-size: var(--frame-resizable-handle-indicator-size);
|
|
92
|
+
border-radius: var(--frame-radius-full);
|
|
93
|
+
background: var(--frame-resizable-handle-indicator-bg);
|
|
94
|
+
opacity: 0;
|
|
95
|
+
transition:
|
|
96
|
+
opacity var(--frame-resizable-transition-duration) var(--frame-resizable-transition-easing),
|
|
97
|
+
background-color var(--frame-resizable-transition-duration) var(--frame-resizable-transition-easing);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
[frResizableHandle][data-orientation='vertical']::after,
|
|
101
|
+
frame-resizable-handle[data-orientation='vertical']::after {
|
|
102
|
+
inline-size: var(--frame-resizable-handle-indicator-size);
|
|
103
|
+
block-size: var(--frame-resizable-handle-indicator-thickness);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
[frResizableHandle][data-handle]::after,
|
|
107
|
+
frame-resizable-handle[data-handle]::after {
|
|
108
|
+
opacity: 1;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
[frResizableHandle]:where(:hover, [data-dragging]),
|
|
112
|
+
frame-resizable-handle:where(:hover, [data-dragging]) {
|
|
113
|
+
background: var(--frame-resizable-handle-hover-bg);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
[frResizableHandle][data-dragging],
|
|
117
|
+
frame-resizable-handle[data-dragging] {
|
|
118
|
+
background: var(--frame-resizable-handle-active-bg);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
[frResizableHandle]:focus-visible,
|
|
122
|
+
frame-resizable-handle:focus-visible {
|
|
123
|
+
box-shadow: var(--frame-resizable-handle-focus-shadow);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
[frResizableHandle][data-disabled],
|
|
127
|
+
frame-resizable-handle[data-disabled] {
|
|
128
|
+
cursor: not-allowed;
|
|
129
|
+
opacity: 0.6;
|
|
130
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--frame-select-trigger-height:
|
|
1
|
+
:where(:root) {
|
|
2
|
+
--frame-select-trigger-height: var(--frame-density-control-height-lg);
|
|
3
3
|
--frame-select-trigger-min-width: 12rem;
|
|
4
|
-
--frame-select-trigger-gap:
|
|
5
|
-
--frame-select-trigger-radius:
|
|
6
|
-
--frame-select-trigger-padding-inline:
|
|
4
|
+
--frame-select-trigger-gap: var(--frame-density-gap-md);
|
|
5
|
+
--frame-select-trigger-radius: var(--frame-radius-md);
|
|
6
|
+
--frame-select-trigger-padding-inline: var(--frame-density-control-padding-x-lg);
|
|
7
7
|
--frame-select-trigger-font-size: 0.875rem;
|
|
8
8
|
--frame-select-trigger-font-weight: 600;
|
|
9
9
|
--frame-select-trigger-focus-shadow: none;
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
--frame-select-trigger-transition-duration: 150ms;
|
|
16
16
|
--frame-select-content-min-width: 12rem;
|
|
17
17
|
--frame-select-content-max-height: min(18rem, 50vh);
|
|
18
|
-
--frame-select-content-popper-shadow:
|
|
19
|
-
--frame-select-group-gap:
|
|
18
|
+
--frame-select-content-popper-shadow: var(--frame-shadow-md);
|
|
19
|
+
--frame-select-group-gap: var(--frame-density-gap-xs);
|
|
20
20
|
--frame-select-item-indicator-size: 1rem;
|
|
21
21
|
--frame-select-item-indicator-offset: 0.625rem;
|
|
22
22
|
--frame-select-item-padding-start: 2rem;
|
|
23
23
|
--frame-select-item-padding-end: 2rem;
|
|
24
|
-
--frame-select-item-padding-inline:
|
|
24
|
+
--frame-select-item-padding-inline: var(--frame-density-control-padding-x-sm);
|
|
25
25
|
--frame-select-item-indicator-font-size: 0.875rem;
|
|
26
26
|
--frame-select-error-color: var(--frame-destructive);
|
|
27
27
|
--frame-select-error-font-size: 0.8125rem;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
:root {
|
|
1
|
+
:where(:root) {
|
|
2
2
|
--frame-separator-color: var(--frame-border);
|
|
3
3
|
--frame-separator-thickness: 1px;
|
|
4
|
-
--frame-separator-radius:
|
|
4
|
+
--frame-separator-radius: var(--frame-radius-sm);
|
|
5
5
|
--frame-separator-horizontal-width: 100%;
|
|
6
6
|
--frame-separator-horizontal-margin-block: 0;
|
|
7
7
|
--frame-separator-vertical-height: 100%;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
@import './_vars.css';
|
|
2
|
-
|
|
3
|
-
[frSeparator],
|
|
4
|
-
frame-separator {
|
|
5
|
-
display: block;
|
|
6
|
-
flex-shrink: 0;
|
|
7
|
-
border: 0;
|
|
8
|
-
border-radius: var(--frame-separator-radius);
|
|
9
|
-
background: var(--frame-separator-color);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
[frSeparator][data-orientation='horizontal'],
|
|
13
|
-
frame-separator[data-orientation='horizontal'] {
|
|
14
|
-
inline-size: var(--frame-separator-horizontal-width);
|
|
15
|
-
block-size: var(--frame-separator-thickness);
|
|
16
|
-
margin-block: var(--frame-separator-horizontal-margin-block);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
[frSeparator][data-orientation='vertical'],
|
|
20
|
-
frame-separator[data-orientation='vertical'] {
|
|
21
|
-
inline-size: var(--frame-separator-thickness);
|
|
22
|
-
block-size: var(--frame-separator-vertical-height);
|
|
23
|
-
min-block-size: 1em;
|
|
24
|
-
margin-inline: var(--frame-separator-vertical-margin-inline);
|
|
25
|
-
}
|
|
1
|
+
@import './_vars.css';
|
|
2
|
+
|
|
3
|
+
[frSeparator],
|
|
4
|
+
frame-separator {
|
|
5
|
+
display: block;
|
|
6
|
+
flex-shrink: 0;
|
|
7
|
+
border: 0;
|
|
8
|
+
border-radius: var(--frame-separator-radius);
|
|
9
|
+
background: var(--frame-separator-color);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
[frSeparator][data-orientation='horizontal'],
|
|
13
|
+
frame-separator[data-orientation='horizontal'] {
|
|
14
|
+
inline-size: var(--frame-separator-horizontal-width);
|
|
15
|
+
block-size: var(--frame-separator-thickness);
|
|
16
|
+
margin-block: var(--frame-separator-horizontal-margin-block);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[frSeparator][data-orientation='vertical'],
|
|
20
|
+
frame-separator[data-orientation='vertical'] {
|
|
21
|
+
inline-size: var(--frame-separator-thickness);
|
|
22
|
+
block-size: var(--frame-separator-vertical-height);
|
|
23
|
+
min-block-size: 1em;
|
|
24
|
+
margin-inline: var(--frame-separator-vertical-margin-inline);
|
|
25
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
:root {
|
|
1
|
+
:where(:root) {
|
|
2
2
|
--frame-sheet-backdrop-blur: 2px;
|
|
3
3
|
--frame-sheet-backdrop-bg: rgb(0 0 0 / 0.5);
|
|
4
|
-
--frame-sheet-bg: var(--frame-background
|
|
5
|
-
--frame-sheet-border: var(--frame-border
|
|
6
|
-
--frame-sheet-color: var(--frame-foreground
|
|
7
|
-
--frame-sheet-muted-color: var(--frame-muted-foreground
|
|
8
|
-
--frame-sheet-shadow:
|
|
9
|
-
--frame-sheet-radius:
|
|
10
|
-
--frame-sheet-padding:
|
|
11
|
-
--frame-sheet-gap:
|
|
4
|
+
--frame-sheet-bg: var(--frame-background);
|
|
5
|
+
--frame-sheet-border: var(--frame-border);
|
|
6
|
+
--frame-sheet-color: var(--frame-foreground);
|
|
7
|
+
--frame-sheet-muted-color: var(--frame-muted-foreground);
|
|
8
|
+
--frame-sheet-shadow: var(--frame-shadow-lg);
|
|
9
|
+
--frame-sheet-radius: 0px;
|
|
10
|
+
--frame-sheet-padding: var(--frame-density-panel-padding-lg);
|
|
11
|
+
--frame-sheet-gap: var(--frame-density-gap-xl);
|
|
12
12
|
--frame-sheet-inline-size: min(100vw, 28rem);
|
|
13
13
|
--frame-sheet-block-size: min(100dvh, 28rem);
|
|
14
14
|
--frame-sheet-close-bg: transparent;
|
|
15
|
-
--frame-sheet-close-color: var(--frame-muted-foreground
|
|
15
|
+
--frame-sheet-close-color: var(--frame-muted-foreground);
|
|
16
16
|
--frame-sheet-close-radius: var(--frame-radius-sm);
|
|
17
|
-
--frame-sheet-close-hover-bg: var(--frame-muted
|
|
18
|
-
--frame-sheet-close-hover-color: var(--frame-foreground
|
|
17
|
+
--frame-sheet-close-hover-bg: var(--frame-muted);
|
|
18
|
+
--frame-sheet-close-hover-color: var(--frame-foreground);
|
|
19
19
|
--frame-sheet-z-index: 1000;
|
|
20
20
|
}
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
border: 1px solid var(--frame-sheet-border);
|
|
29
29
|
border-radius: var(--frame-sheet-radius);
|
|
30
30
|
background: var(--frame-sheet-bg);
|
|
31
|
-
box-shadow: var(--frame-sheet-shadow)
|
|
31
|
+
box-shadow: var(--frame-sheet-shadow);
|
|
32
32
|
color: var(--frame-sheet-color);
|
|
33
33
|
}
|
|
34
34
|
|