@frame-ui-ng/components 0.1.0-beta.0 → 0.2.0-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 +25 -25
- package/accordion/src/styles/accordion.css +105 -87
- package/alert/src/styles/_vars.css +28 -28
- package/badge/src/styles/_vars.css +19 -16
- package/badge/src/styles/badge.css +132 -125
- package/breadcrumb/src/styles/_vars.css +17 -16
- package/breadcrumb/src/styles/breadcrumb.css +110 -98
- package/button/src/styles/_vars.css +20 -20
- package/button/src/styles/button.css +52 -7
- package/button-group/src/styles/button-group.css +100 -69
- package/calendar/src/styles/_vars.css +29 -29
- package/calendar/src/styles/calendar.css +247 -226
- package/card/src/styles/_vars.css +17 -17
- package/checkbox/src/styles/_vars.css +22 -22
- package/collapsible/src/styles/collapsible.css +55 -42
- package/combobox/src/styles/_vars.css +61 -60
- package/combobox/src/styles/combobox.css +295 -285
- package/command/src/styles/_vars.css +47 -37
- package/command/src/styles/command.css +236 -171
- package/date-picker/src/styles/_vars.css +30 -29
- package/date-picker/src/styles/date-picker.css +203 -177
- package/dropdown-menu/src/styles/_vars.css +34 -34
- package/fesm2022/frame-ui-ng-components-accordion.mjs +26 -11
- package/fesm2022/frame-ui-ng-components-accordion.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-badge.mjs +1 -0
- package/fesm2022/frame-ui-ng-components-badge.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-button.mjs +1 -1
- package/fesm2022/frame-ui-ng-components-button.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-command.mjs +19 -1
- package/fesm2022/frame-ui-ng-components-command.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-toast.mjs +152 -142
- package/fesm2022/frame-ui-ng-components-toast.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components.mjs +43 -13
- package/fesm2022/frame-ui-ng-components.mjs.map +1 -1
- package/input/src/styles/_vars.css +65 -65
- package/input/src/styles/input-group.css +114 -112
- package/input/src/styles/input.css +197 -163
- package/input-otp/src/styles/_vars.css +21 -21
- package/item/src/styles/_vars.css +34 -34
- package/menubar/src/styles/_vars.css +22 -22
- package/modal/src/styles/_vars.css +19 -18
- package/modal/src/styles/modal.css +202 -179
- package/navigation-menu/src/styles/_vars.css +45 -45
- package/package.json +12 -3
- package/pagination/src/styles/_vars.css +22 -22
- package/pagination/src/styles/pagination.css +158 -138
- package/progress/src/styles/_vars.css +15 -15
- package/radio-group/src/styles/_vars.css +29 -29
- package/radio-group/src/styles/radio-group.css +146 -137
- package/resizable/src/styles/_vars.css +20 -20
- package/select/src/styles/_vars.css +28 -28
- package/select/src/styles/select-trigger.css +138 -95
- package/separator/src/styles/_vars.css +9 -9
- package/sheet/src/styles/_vars.css +20 -18
- package/sheet/src/styles/sheet.css +220 -215
- package/sidebar/src/styles/sidebar.css +544 -531
- package/slider/src/styles/_vars.css +17 -17
- package/src/styles/blueprint.css +666 -0
- package/src/styles/components.css +47 -47
- package/styles/blueprint.css +666 -0
- package/styles/components.css +47 -47
- package/styles.css +49 -49
- package/switch/src/styles/_vars.css +34 -34
- package/switch/src/styles/switch.css +130 -131
- package/tabs/src/styles/_vars.css +23 -23
- package/textarea/src/styles/_vars.css +20 -20
- package/textarea/src/styles/textarea.css +62 -60
- package/toast/src/styles/_vars.css +48 -47
- package/toast/src/styles/toast.css +279 -314
- package/toggle/src/styles/_vars.css +24 -24
- package/tooltip/src/styles/_vars.css +21 -21
- package/tooltip/src/styles/tooltip.css +105 -103
- package/types/frame-ui-ng-components-accordion.d.ts +3 -1
- package/types/frame-ui-ng-components-badge.d.ts +2 -2
- package/types/frame-ui-ng-components-command.d.ts +7 -2
- package/types/frame-ui-ng-components.d.ts +21 -14
- package/virtual-scroll/src/styles/virtual-scroll.css +54 -54
|
@@ -1,98 +1,110 @@
|
|
|
1
|
-
@import './_vars.css';
|
|
2
|
-
|
|
3
|
-
[frBreadcrumb],
|
|
4
|
-
nav[frBreadcrumb] {
|
|
5
|
-
display: block;
|
|
6
|
-
color: var(--frame-breadcrumb-root-color);
|
|
7
|
-
font-size: var(--frame-breadcrumb-root-font-size);
|
|
8
|
-
line-height: var(--frame-breadcrumb-root-line-height);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
[frBreadcrumbList] {
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-wrap: wrap;
|
|
14
|
-
align-items: center;
|
|
15
|
-
gap: var(--frame-breadcrumb-list-gap);
|
|
16
|
-
margin: 0;
|
|
17
|
-
padding: 0;
|
|
18
|
-
list-style: none;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
[frBreadcrumbItem] {
|
|
22
|
-
display: inline-flex;
|
|
23
|
-
min-width: 0;
|
|
24
|
-
align-items: center;
|
|
25
|
-
gap: var(--frame-breadcrumb-list-gap);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
[frBreadcrumbLink] {
|
|
29
|
-
min-width: 0;
|
|
30
|
-
border
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
[frBreadcrumbSeparator]
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
frame-breadcrumb-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
color: var(--frame-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
1
|
+
@import './_vars.css';
|
|
2
|
+
|
|
3
|
+
[frBreadcrumb],
|
|
4
|
+
nav[frBreadcrumb] {
|
|
5
|
+
display: block;
|
|
6
|
+
color: var(--frame-breadcrumb-root-color);
|
|
7
|
+
font-size: var(--frame-breadcrumb-root-font-size);
|
|
8
|
+
line-height: var(--frame-breadcrumb-root-line-height);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
[frBreadcrumbList] {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-wrap: wrap;
|
|
14
|
+
align-items: center;
|
|
15
|
+
gap: var(--frame-breadcrumb-list-gap);
|
|
16
|
+
margin: 0;
|
|
17
|
+
padding: 0;
|
|
18
|
+
list-style: none;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
[frBreadcrumbItem] {
|
|
22
|
+
display: inline-flex;
|
|
23
|
+
min-width: 0;
|
|
24
|
+
align-items: center;
|
|
25
|
+
gap: var(--frame-breadcrumb-list-gap);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[frBreadcrumbLink] {
|
|
29
|
+
min-width: 0;
|
|
30
|
+
border: 1px solid transparent;
|
|
31
|
+
border-radius: var(--frame-breadcrumb-link-radius);
|
|
32
|
+
color: var(--frame-breadcrumb-link-color);
|
|
33
|
+
padding: 0.1875rem 0.375rem;
|
|
34
|
+
text-decoration: none;
|
|
35
|
+
text-underline-offset: 0.25rem;
|
|
36
|
+
transition:
|
|
37
|
+
border-color var(--frame-breadcrumb-transition-duration) ease,
|
|
38
|
+
color var(--frame-breadcrumb-transition-duration) ease,
|
|
39
|
+
box-shadow var(--frame-breadcrumb-transition-duration) ease,
|
|
40
|
+
transform var(--frame-breadcrumb-transition-duration) ease;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[frBreadcrumbLink]:hover {
|
|
44
|
+
border-color: var(--frame-frame-line-muted, var(--frame-border));
|
|
45
|
+
color: var(--frame-breadcrumb-link-hover-color);
|
|
46
|
+
text-decoration: none;
|
|
47
|
+
transform: translate(-1px, -1px);
|
|
48
|
+
box-shadow: 2px 2px 0 color-mix(in srgb, var(--frame-frame-line-muted, var(--frame-border)) 82%, transparent);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
[frBreadcrumbLink]:focus-visible {
|
|
52
|
+
outline: none;
|
|
53
|
+
border-color: var(--frame-frame-accent, var(--frame-ring));
|
|
54
|
+
box-shadow: var(--frame-breadcrumb-link-focus-shadow);
|
|
55
|
+
transform: translate(-1px, -1px);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
[frBreadcrumbPage] {
|
|
59
|
+
min-width: 0;
|
|
60
|
+
border-block-end: 1px solid var(--frame-frame-accent, var(--frame-primary));
|
|
61
|
+
color: var(--frame-breadcrumb-page-color);
|
|
62
|
+
font-weight: 500;
|
|
63
|
+
padding: 0.1875rem 0.375rem;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
[frBreadcrumbSeparator] {
|
|
67
|
+
display: inline-flex;
|
|
68
|
+
flex: 0 0 auto;
|
|
69
|
+
align-items: center;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
color: var(--frame-breadcrumb-separator-color);
|
|
72
|
+
font-size: var(--frame-breadcrumb-separator-size);
|
|
73
|
+
line-height: 1;
|
|
74
|
+
user-select: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
[frBreadcrumbSeparator]:empty::before {
|
|
78
|
+
color: var(--frame-frame-accent, var(--frame-primary));
|
|
79
|
+
content: "/";
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
[frBreadcrumbEllipsis],
|
|
83
|
+
frame-breadcrumb-ellipsis {
|
|
84
|
+
display: inline-flex;
|
|
85
|
+
inline-size: var(--frame-breadcrumb-ellipsis-size);
|
|
86
|
+
block-size: var(--frame-breadcrumb-ellipsis-size);
|
|
87
|
+
align-items: center;
|
|
88
|
+
justify-content: center;
|
|
89
|
+
border-radius: var(--frame-breadcrumb-ellipsis-radius);
|
|
90
|
+
color: var(--frame-breadcrumb-root-color);
|
|
91
|
+
letter-spacing: 0.08em;
|
|
92
|
+
transition: background-color var(--frame-breadcrumb-transition-duration) ease;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
[frBreadcrumbEllipsis]:hover,
|
|
96
|
+
frame-breadcrumb-ellipsis:hover {
|
|
97
|
+
background: var(--frame-breadcrumb-ellipsis-hover-bg);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.frame-breadcrumb__sr-only {
|
|
101
|
+
position: absolute;
|
|
102
|
+
width: 1px;
|
|
103
|
+
height: 1px;
|
|
104
|
+
padding: 0;
|
|
105
|
+
margin: -1px;
|
|
106
|
+
overflow: hidden;
|
|
107
|
+
clip: rect(0, 0, 0, 0);
|
|
108
|
+
white-space: nowrap;
|
|
109
|
+
border: 0;
|
|
110
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--frame-button-root-gap: 0.5rem;
|
|
3
|
-
--frame-button-root-height: 2.25rem;
|
|
4
|
-
--frame-button-root-padding-x: 1rem;
|
|
5
|
-
--frame-button-root-radius: var(--frame-radius-md);
|
|
6
|
-
--frame-button-root-shadow: var(--frame-shadow-sm);
|
|
7
|
-
--frame-button-root-font-size: 0.875rem;
|
|
8
|
-
--frame-button-root-font-weight: 600;
|
|
9
|
-
--frame-button-root-ring-color: var(--frame-ring);
|
|
10
|
-
--frame-button-root-focus-shadow:
|
|
11
|
-
--frame-button-root-hover-filter: brightness(0.98);
|
|
12
|
-
--frame-button-root-active-filter: brightness(0.96);
|
|
13
|
-
--frame-button-root-disabled-opacity: 0.55;
|
|
14
|
-
--frame-button-root-disabled-shadow: none;
|
|
15
|
-
--frame-button-loading-size: 1rem;
|
|
16
|
-
--frame-button-loading-stroke: 2px;
|
|
17
|
-
--frame-button-loading-track: color-mix(in srgb, white 24%, transparent);
|
|
18
|
-
--frame-button-icon-size: 1rem;
|
|
19
|
-
--frame-button-label-weight: inherit;
|
|
20
|
-
}
|
|
1
|
+
:root {
|
|
2
|
+
--frame-button-root-gap: 0.5rem;
|
|
3
|
+
--frame-button-root-height: 2.25rem;
|
|
4
|
+
--frame-button-root-padding-x: 1rem;
|
|
5
|
+
--frame-button-root-radius: var(--frame-radius-md);
|
|
6
|
+
--frame-button-root-shadow: var(--frame-shadow-sm);
|
|
7
|
+
--frame-button-root-font-size: 0.875rem;
|
|
8
|
+
--frame-button-root-font-weight: 600;
|
|
9
|
+
--frame-button-root-ring-color: var(--frame-ring);
|
|
10
|
+
--frame-button-root-focus-shadow: none;
|
|
11
|
+
--frame-button-root-hover-filter: brightness(0.98);
|
|
12
|
+
--frame-button-root-active-filter: brightness(0.96);
|
|
13
|
+
--frame-button-root-disabled-opacity: 0.55;
|
|
14
|
+
--frame-button-root-disabled-shadow: none;
|
|
15
|
+
--frame-button-loading-size: 1rem;
|
|
16
|
+
--frame-button-loading-stroke: 2px;
|
|
17
|
+
--frame-button-loading-track: color-mix(in srgb, white 24%, transparent);
|
|
18
|
+
--frame-button-icon-size: 1rem;
|
|
19
|
+
--frame-button-label-weight: inherit;
|
|
20
|
+
}
|
|
@@ -5,14 +5,21 @@
|
|
|
5
5
|
|
|
6
6
|
.frame-button {
|
|
7
7
|
--frame-button-root-bg: var(--frame-primary);
|
|
8
|
-
--frame-button-root-border:
|
|
8
|
+
--frame-button-root-border: color-mix(in srgb, var(--frame-primary) 84%, white);
|
|
9
9
|
--frame-button-root-color: var(--frame-primary-foreground);
|
|
10
|
-
--frame-button-root-hover-bg: color-mix(in srgb, var(--frame-primary)
|
|
10
|
+
--frame-button-root-hover-bg: color-mix(in srgb, var(--frame-primary) 88%, black);
|
|
11
11
|
--frame-button-root-hover-border: var(--frame-button-root-border);
|
|
12
12
|
--frame-button-root-hover-color: var(--frame-button-root-color);
|
|
13
13
|
--frame-button-root-active-bg: color-mix(in srgb, var(--frame-primary) 84%, black);
|
|
14
14
|
--frame-button-root-active-border: var(--frame-button-root-hover-border);
|
|
15
15
|
--frame-button-root-active-color: var(--frame-button-root-hover-color);
|
|
16
|
+
--frame-button-root-corner-color: color-mix(in srgb, var(--frame-primary-foreground) 88%, transparent);
|
|
17
|
+
--frame-button-root-corner-inset: var(--frame-frame-tick-inset, 0px);
|
|
18
|
+
--frame-button-root-corner-size: clamp(
|
|
19
|
+
0px,
|
|
20
|
+
calc((1px - var(--frame-button-root-radius, 0px)) * 9999),
|
|
21
|
+
var(--frame-frame-tick-size, 0.5rem)
|
|
22
|
+
);
|
|
16
23
|
--frame-spinner-size: var(--frame-button-loading-size, 1rem);
|
|
17
24
|
--frame-spinner-stroke: var(--frame-button-loading-stroke, 2px);
|
|
18
25
|
--frame-spinner-track-color: var(
|
|
@@ -52,6 +59,28 @@
|
|
|
52
59
|
white-space: nowrap;
|
|
53
60
|
}
|
|
54
61
|
|
|
62
|
+
.frame-button::before {
|
|
63
|
+
position: absolute;
|
|
64
|
+
inset: 1px;
|
|
65
|
+
border-radius: inherit;
|
|
66
|
+
background:
|
|
67
|
+
linear-gradient(var(--frame-button-root-corner-color), var(--frame-button-root-corner-color))
|
|
68
|
+
left var(--frame-button-root-corner-inset) top var(--frame-button-root-corner-inset) /
|
|
69
|
+
var(--frame-button-root-corner-size) 1px no-repeat,
|
|
70
|
+
linear-gradient(var(--frame-button-root-corner-color), var(--frame-button-root-corner-color))
|
|
71
|
+
left var(--frame-button-root-corner-inset) top var(--frame-button-root-corner-inset) / 1px
|
|
72
|
+
var(--frame-button-root-corner-size) no-repeat,
|
|
73
|
+
linear-gradient(var(--frame-button-root-corner-color), var(--frame-button-root-corner-color))
|
|
74
|
+
right var(--frame-button-root-corner-inset) bottom var(--frame-button-root-corner-inset) /
|
|
75
|
+
var(--frame-button-root-corner-size) 1px no-repeat,
|
|
76
|
+
linear-gradient(var(--frame-button-root-corner-color), var(--frame-button-root-corner-color))
|
|
77
|
+
right var(--frame-button-root-corner-inset) bottom var(--frame-button-root-corner-inset) / 1px
|
|
78
|
+
var(--frame-button-root-corner-size) no-repeat;
|
|
79
|
+
pointer-events: none;
|
|
80
|
+
content: '';
|
|
81
|
+
transition: opacity 150ms ease;
|
|
82
|
+
}
|
|
83
|
+
|
|
55
84
|
.frame-icon-button {
|
|
56
85
|
inline-size: var(--frame-button-root-height, 2.5rem);
|
|
57
86
|
padding-inline: 0;
|
|
@@ -94,9 +123,9 @@
|
|
|
94
123
|
}
|
|
95
124
|
|
|
96
125
|
.frame-button:focus-visible {
|
|
97
|
-
outline:
|
|
126
|
+
outline: 1px solid var(--frame-button-root-ring-color, var(--frame-ring));
|
|
98
127
|
outline-offset: 2px;
|
|
99
|
-
|
|
128
|
+
box-shadow: none;
|
|
100
129
|
}
|
|
101
130
|
|
|
102
131
|
.frame-button[data-loading]::after {
|
|
@@ -135,27 +164,38 @@
|
|
|
135
164
|
--frame-button-root-bg: var(--frame-surface);
|
|
136
165
|
--frame-button-root-border: var(--frame-border);
|
|
137
166
|
--frame-button-root-color: var(--frame-surface-foreground);
|
|
138
|
-
--frame-button-root-hover-bg: color-mix(in srgb, var(--frame-surface)
|
|
139
|
-
--frame-button-root-hover-border:
|
|
167
|
+
--frame-button-root-hover-bg: color-mix(in srgb, var(--frame-surface) 76%, var(--frame-muted));
|
|
168
|
+
--frame-button-root-hover-border: var(--frame-border-strong);
|
|
140
169
|
--frame-button-root-hover-color: var(--frame-button-root-color);
|
|
141
170
|
--frame-button-root-active-bg: color-mix(in srgb, var(--frame-surface) 65%, var(--frame-muted));
|
|
142
171
|
--frame-button-root-active-border: var(--frame-button-root-hover-border);
|
|
143
172
|
--frame-button-root-active-color: var(--frame-button-root-hover-color);
|
|
173
|
+
--frame-button-root-corner-color: var(--frame-frame-accent);
|
|
144
174
|
}
|
|
145
175
|
|
|
146
176
|
.frame-button[data-appearance='ghost'] {
|
|
147
177
|
--frame-button-root-bg: transparent;
|
|
148
178
|
--frame-button-root-border: transparent;
|
|
149
179
|
--frame-button-root-color: var(--frame-foreground);
|
|
150
|
-
--frame-button-root-hover-bg: color-mix(in srgb, var(--frame-muted)
|
|
180
|
+
--frame-button-root-hover-bg: color-mix(in srgb, var(--frame-muted) 78%, transparent);
|
|
151
181
|
--frame-button-root-hover-border: var(--frame-button-root-border);
|
|
152
182
|
--frame-button-root-hover-color: var(--frame-button-root-color);
|
|
153
183
|
--frame-button-root-active-bg: color-mix(in srgb, var(--frame-muted) 80%, transparent);
|
|
154
184
|
--frame-button-root-active-border: var(--frame-button-root-hover-border);
|
|
155
185
|
--frame-button-root-active-color: var(--frame-button-root-hover-color);
|
|
186
|
+
--frame-button-root-corner-color: var(--frame-frame-accent);
|
|
156
187
|
/* box-shadow: var(--frame-button-root-shadow, none); */
|
|
157
188
|
}
|
|
158
189
|
|
|
190
|
+
.frame-button[data-appearance='ghost']::before {
|
|
191
|
+
opacity: 0;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.frame-button[data-appearance='ghost']:hover::before,
|
|
195
|
+
.frame-button[data-appearance='ghost']:focus-visible::before {
|
|
196
|
+
opacity: 1;
|
|
197
|
+
}
|
|
198
|
+
|
|
159
199
|
.frame-button[data-size='sm'] {
|
|
160
200
|
min-height: 2rem;
|
|
161
201
|
padding-inline: 0.75rem;
|
|
@@ -169,22 +209,27 @@
|
|
|
169
209
|
}
|
|
170
210
|
|
|
171
211
|
.frame-button[data-radius='none'] {
|
|
212
|
+
--frame-button-root-radius: 0px;
|
|
172
213
|
border-radius: 0;
|
|
173
214
|
}
|
|
174
215
|
|
|
175
216
|
.frame-button[data-radius='sm'] {
|
|
217
|
+
--frame-button-root-radius: var(--frame-radius-sm);
|
|
176
218
|
border-radius: var(--frame-radius-sm);
|
|
177
219
|
}
|
|
178
220
|
|
|
179
221
|
.frame-button[data-radius='md'] {
|
|
222
|
+
--frame-button-root-radius: var(--frame-radius-md);
|
|
180
223
|
border-radius: var(--frame-radius-md);
|
|
181
224
|
}
|
|
182
225
|
|
|
183
226
|
.frame-button[data-radius='lg'] {
|
|
227
|
+
--frame-button-root-radius: var(--frame-radius-lg);
|
|
184
228
|
border-radius: var(--frame-radius-lg);
|
|
185
229
|
}
|
|
186
230
|
|
|
187
231
|
.frame-button[data-radius='full'] {
|
|
232
|
+
--frame-button-root-radius: var(--frame-radius-full);
|
|
188
233
|
border-radius: var(--frame-radius-full);
|
|
189
234
|
}
|
|
190
235
|
|
|
@@ -1,69 +1,100 @@
|
|
|
1
|
-
.frame-button-group,
|
|
2
|
-
[frButtonGroup],
|
|
3
|
-
frame-button-group {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
1
|
+
.frame-button-group,
|
|
2
|
+
[frButtonGroup],
|
|
3
|
+
frame-button-group {
|
|
4
|
+
position: relative;
|
|
5
|
+
display: inline-flex;
|
|
6
|
+
align-items: stretch;
|
|
7
|
+
width: 100%;
|
|
8
|
+
border: 1px solid var(--frame-frame-line-muted, var(--frame-border));
|
|
9
|
+
background: var(--frame-surface);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.frame-button-group[data-orientation='vertical'],
|
|
13
|
+
[frButtonGroup][data-orientation='vertical'],
|
|
14
|
+
frame-button-group[data-orientation='vertical'] {
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.frame-button-group[data-orientation='horizontal'] > * + *,
|
|
19
|
+
[frButtonGroup][data-orientation='horizontal'] > * + *,
|
|
20
|
+
frame-button-group[data-orientation='horizontal'] > * + * {
|
|
21
|
+
margin-inline-start: -1px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.frame-button-group[data-orientation='vertical'] > * + *,
|
|
25
|
+
[frButtonGroup][data-orientation='vertical'] > * + *,
|
|
26
|
+
frame-button-group[data-orientation='vertical'] > * + * {
|
|
27
|
+
margin-block-start: -1px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.frame-button-group[data-orientation='horizontal'] > :first-child,
|
|
31
|
+
[frButtonGroup][data-orientation='horizontal'] > :first-child,
|
|
32
|
+
frame-button-group[data-orientation='horizontal'] > :first-child {
|
|
33
|
+
border-start-end-radius: 0;
|
|
34
|
+
border-end-end-radius: 0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.frame-button-group[data-orientation='horizontal'] > :last-child,
|
|
38
|
+
[frButtonGroup][data-orientation='horizontal'] > :last-child,
|
|
39
|
+
frame-button-group[data-orientation='horizontal'] > :last-child {
|
|
40
|
+
border-start-start-radius: 0;
|
|
41
|
+
border-end-start-radius: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.frame-button-group[data-orientation='horizontal'] > :not(:first-child):not(:last-child),
|
|
45
|
+
[frButtonGroup][data-orientation='horizontal'] > :not(:first-child):not(:last-child),
|
|
46
|
+
frame-button-group[data-orientation='horizontal'] > :not(:first-child):not(:last-child) {
|
|
47
|
+
border-radius: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.frame-button-group[data-orientation='vertical'] > :first-child,
|
|
51
|
+
[frButtonGroup][data-orientation='vertical'] > :first-child,
|
|
52
|
+
frame-button-group[data-orientation='vertical'] > :first-child {
|
|
53
|
+
border-end-start-radius: 0;
|
|
54
|
+
border-end-end-radius: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.frame-button-group[data-orientation='vertical'] > :last-child,
|
|
58
|
+
[frButtonGroup][data-orientation='vertical'] > :last-child,
|
|
59
|
+
frame-button-group[data-orientation='vertical'] > :last-child {
|
|
60
|
+
border-start-start-radius: 0;
|
|
61
|
+
border-start-end-radius: 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.frame-button-group[data-orientation='vertical'] > :not(:first-child):not(:last-child),
|
|
65
|
+
[frButtonGroup][data-orientation='vertical'] > :not(:first-child):not(:last-child),
|
|
66
|
+
frame-button-group[data-orientation='vertical'] > :not(:first-child):not(:last-child) {
|
|
67
|
+
border-radius: 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.frame-button-group > * {
|
|
71
|
+
position: relative;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.frame-button-group::before,
|
|
75
|
+
[frButtonGroup]::before,
|
|
76
|
+
frame-button-group::before {
|
|
77
|
+
position: absolute;
|
|
78
|
+
inset: 0;
|
|
79
|
+
z-index: 2;
|
|
80
|
+
background:
|
|
81
|
+
linear-gradient(var(--frame-blueprint-corner-color, var(--frame-frame-accent)), var(--frame-blueprint-corner-color, var(--frame-frame-accent)))
|
|
82
|
+
left top / var(--frame-frame-tick-size, 0.375rem) 1px no-repeat,
|
|
83
|
+
linear-gradient(var(--frame-blueprint-corner-color, var(--frame-frame-accent)), var(--frame-blueprint-corner-color, var(--frame-frame-accent)))
|
|
84
|
+
left top / 1px var(--frame-frame-tick-size, 0.375rem) no-repeat,
|
|
85
|
+
linear-gradient(var(--frame-blueprint-corner-color, var(--frame-frame-accent)), var(--frame-blueprint-corner-color, var(--frame-frame-accent)))
|
|
86
|
+
right bottom / var(--frame-frame-tick-size, 0.375rem) 1px no-repeat,
|
|
87
|
+
linear-gradient(var(--frame-blueprint-corner-color, var(--frame-frame-accent)), var(--frame-blueprint-corner-color, var(--frame-frame-accent)))
|
|
88
|
+
right bottom / 1px var(--frame-frame-tick-size, 0.375rem) no-repeat;
|
|
89
|
+
content: "";
|
|
90
|
+
pointer-events: none;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.frame-button-group > .frame-button::before,
|
|
94
|
+
.frame-button-group > [frButton]::before,
|
|
95
|
+
[frButtonGroup] > .frame-button::before,
|
|
96
|
+
[frButtonGroup] > [frButton]::before,
|
|
97
|
+
frame-button-group > .frame-button::before,
|
|
98
|
+
frame-button-group > [frButton]::before {
|
|
99
|
+
content: none;
|
|
100
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--frame-calendar-bg: var(--frame-surface);
|
|
3
|
-
--frame-calendar-color: var(--frame-surface-foreground);
|
|
4
|
-
--frame-calendar-border: var(--frame-border);
|
|
5
|
-
--frame-calendar-radius: var(--frame-radius-lg);
|
|
6
|
-
--frame-calendar-padding: 0.875rem;
|
|
7
|
-
--frame-calendar-gap: 1rem;
|
|
8
|
-
--frame-calendar-cell-size: 2.25rem;
|
|
9
|
-
--frame-calendar-cell-radius: var(--frame-radius-md);
|
|
10
|
-
--frame-calendar-muted-color: var(--frame-muted-foreground);
|
|
11
|
-
--frame-calendar-day-hover-bg: var(--frame-muted);
|
|
12
|
-
--frame-calendar-day-hover-color: var(--frame-foreground);
|
|
13
|
-
--frame-calendar-day-selected-bg: var(--frame-primary);
|
|
14
|
-
--frame-calendar-day-selected-color: var(--frame-primary-foreground);
|
|
15
|
-
--frame-calendar-day-range-bg: color-mix(in srgb, var(--frame-primary) 14%, transparent);
|
|
16
|
-
--frame-calendar-day-range-outline: var(--frame-background);
|
|
17
|
-
--frame-calendar-day-today-border: color-mix(in srgb, var(--frame-primary) 55%, var(--frame-border));
|
|
18
|
-
--frame-calendar-day-disabled-date-decoration: var(--frame-destructive);
|
|
19
|
-
--frame-calendar-day-disabled-opacity: 0.38;
|
|
20
|
-
--frame-calendar-nav-size: 2rem;
|
|
21
|
-
--frame-calendar-nav-radius: var(--frame-radius-md);
|
|
22
|
-
--frame-calendar-nav-hover-bg: var(--frame-muted);
|
|
23
|
-
--frame-calendar-select-height: 2rem;
|
|
24
|
-
--frame-calendar-select-radius: var(--frame-radius-md);
|
|
25
|
-
--frame-calendar-select-border: var(--frame-border);
|
|
26
|
-
--frame-calendar-select-bg: var(--frame-background);
|
|
27
|
-
--frame-calendar-focus-shadow:
|
|
28
|
-
--frame-calendar-transition-duration: 150ms;
|
|
29
|
-
}
|
|
1
|
+
:root {
|
|
2
|
+
--frame-calendar-bg: var(--frame-surface);
|
|
3
|
+
--frame-calendar-color: var(--frame-surface-foreground);
|
|
4
|
+
--frame-calendar-border: var(--frame-border);
|
|
5
|
+
--frame-calendar-radius: var(--frame-radius-lg);
|
|
6
|
+
--frame-calendar-padding: 0.875rem;
|
|
7
|
+
--frame-calendar-gap: 1rem;
|
|
8
|
+
--frame-calendar-cell-size: 2.25rem;
|
|
9
|
+
--frame-calendar-cell-radius: var(--frame-radius-md);
|
|
10
|
+
--frame-calendar-muted-color: var(--frame-muted-foreground);
|
|
11
|
+
--frame-calendar-day-hover-bg: var(--frame-muted);
|
|
12
|
+
--frame-calendar-day-hover-color: var(--frame-foreground);
|
|
13
|
+
--frame-calendar-day-selected-bg: var(--frame-primary);
|
|
14
|
+
--frame-calendar-day-selected-color: var(--frame-primary-foreground);
|
|
15
|
+
--frame-calendar-day-range-bg: color-mix(in srgb, var(--frame-primary) 14%, transparent);
|
|
16
|
+
--frame-calendar-day-range-outline: var(--frame-background);
|
|
17
|
+
--frame-calendar-day-today-border: color-mix(in srgb, var(--frame-primary) 55%, var(--frame-border));
|
|
18
|
+
--frame-calendar-day-disabled-date-decoration: var(--frame-destructive);
|
|
19
|
+
--frame-calendar-day-disabled-opacity: 0.38;
|
|
20
|
+
--frame-calendar-nav-size: 2rem;
|
|
21
|
+
--frame-calendar-nav-radius: var(--frame-radius-md);
|
|
22
|
+
--frame-calendar-nav-hover-bg: var(--frame-muted);
|
|
23
|
+
--frame-calendar-select-height: 2rem;
|
|
24
|
+
--frame-calendar-select-radius: var(--frame-radius-md);
|
|
25
|
+
--frame-calendar-select-border: var(--frame-border);
|
|
26
|
+
--frame-calendar-select-bg: var(--frame-background);
|
|
27
|
+
--frame-calendar-focus-shadow: none;
|
|
28
|
+
--frame-calendar-transition-duration: 150ms;
|
|
29
|
+
}
|