@frame-ui-ng/components 0.1.0-beta.0 → 0.3.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 +66 -9
- 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/dropdown-menu/src/styles/dropdown-menu-item.css +87 -87
- 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-calendar.mjs +369 -263
- package/fesm2022/frame-ui-ng-components-calendar.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-command.mjs +20 -2
- package/fesm2022/frame-ui-ng-components-command.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-date-picker.mjs +232 -226
- package/fesm2022/frame-ui-ng-components-date-picker.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-dropdown-menu.mjs +45 -22
- package/fesm2022/frame-ui-ng-components-dropdown-menu.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-input.mjs +6 -3
- package/fesm2022/frame-ui-ng-components-input.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-select.mjs +6 -3
- package/fesm2022/frame-ui-ng-components-select.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components-sidebar.mjs +47 -4
- package/fesm2022/frame-ui-ng-components-sidebar.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-tooltip.mjs +263 -254
- package/fesm2022/frame-ui-ng-components-tooltip.mjs.map +1 -1
- package/fesm2022/frame-ui-ng-components.mjs +745 -531
- 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 +164 -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 +109 -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 +659 -0
- package/src/styles/components.css +47 -47
- package/styles/blueprint.css +659 -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 +99 -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-calendar.d.ts +14 -0
- package/types/frame-ui-ng-components-command.d.ts +7 -2
- package/types/frame-ui-ng-components-context-menu.d.ts +2 -2
- package/types/frame-ui-ng-components-date-picker.d.ts +3 -1
- package/types/frame-ui-ng-components-dropdown-menu.d.ts +3 -3
- package/types/frame-ui-ng-components-input.d.ts +6 -3
- package/types/frame-ui-ng-components-select.d.ts +6 -3
- package/types/frame-ui-ng-components-sidebar.d.ts +8 -1
- package/types/frame-ui-ng-components-tooltip.d.ts +43 -73
- package/types/frame-ui-ng-components.d.ts +91 -55
- package/virtual-scroll/src/styles/virtual-scroll.css +54 -54
|
@@ -1,215 +1,220 @@
|
|
|
1
|
-
@import "./_vars.css";
|
|
2
|
-
|
|
3
|
-
.cdk-overlay-backdrop.frame-sheet__backdrop {
|
|
4
|
-
backdrop-filter: blur(var(--frame-sheet-backdrop-blur));
|
|
5
|
-
background: var(--frame-sheet-backdrop-bg);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.cdk-global-overlay-wrapper:has(.frame-sheet__overlay-pane) {
|
|
9
|
-
z-index: var(--frame-sheet-z-index);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.frame-sheet__overlay-pane {
|
|
13
|
-
pointer-events: auto;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.frame-sheet__overlay-pane .cdk-dialog-container {
|
|
17
|
-
display: contents;
|
|
18
|
-
outline: none;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.frame-sheet__panel {
|
|
22
|
-
position: fixed;
|
|
23
|
-
z-index: var(--frame-sheet-z-index);
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-direction: column;
|
|
26
|
-
gap: var(--frame-sheet-gap);
|
|
27
|
-
overflow: hidden;
|
|
28
|
-
border: 1px solid var(--frame-sheet-border);
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
.frame-sheet__panel[data-side="
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
.frame-sheet__panel[data-side="
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
.frame-
|
|
74
|
-
.frame-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.frame-sheet__close:
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
.frame-sheet__close
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
.frame-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
}
|
|
1
|
+
@import "./_vars.css";
|
|
2
|
+
|
|
3
|
+
.cdk-overlay-backdrop.frame-sheet__backdrop {
|
|
4
|
+
backdrop-filter: blur(var(--frame-sheet-backdrop-blur));
|
|
5
|
+
background: var(--frame-sheet-backdrop-bg);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.cdk-global-overlay-wrapper:has(.frame-sheet__overlay-pane) {
|
|
9
|
+
z-index: var(--frame-sheet-z-index);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.frame-sheet__overlay-pane {
|
|
13
|
+
pointer-events: auto;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.frame-sheet__overlay-pane .cdk-dialog-container {
|
|
17
|
+
display: contents;
|
|
18
|
+
outline: none;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.frame-sheet__panel {
|
|
22
|
+
position: fixed;
|
|
23
|
+
z-index: var(--frame-sheet-z-index);
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
gap: var(--frame-sheet-gap);
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
border: 1px solid var(--frame-sheet-border);
|
|
29
|
+
border-radius: var(--frame-sheet-radius);
|
|
30
|
+
background: var(--frame-sheet-bg);
|
|
31
|
+
box-shadow: var(--frame-sheet-shadow), var(--frame-shadow-frame);
|
|
32
|
+
color: var(--frame-sheet-color);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.frame-sheet__panel[data-side="right"],
|
|
36
|
+
.frame-sheet__panel[data-side="left"] {
|
|
37
|
+
inset-block: 0;
|
|
38
|
+
inline-size: var(--frame-sheet-inline-size);
|
|
39
|
+
max-inline-size: 100vw;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.frame-sheet__panel[data-side="right"] {
|
|
43
|
+
inset-inline-end: 0;
|
|
44
|
+
border-inline-end: 0;
|
|
45
|
+
animation: frame-sheet-enter-right 180ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.frame-sheet__panel[data-side="left"] {
|
|
49
|
+
inset-inline-start: 0;
|
|
50
|
+
border-inline-start: 0;
|
|
51
|
+
animation: frame-sheet-enter-left 180ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.frame-sheet__panel[data-side="top"],
|
|
55
|
+
.frame-sheet__panel[data-side="bottom"] {
|
|
56
|
+
inset-inline: 0;
|
|
57
|
+
block-size: var(--frame-sheet-block-size);
|
|
58
|
+
max-block-size: 100dvh;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.frame-sheet__panel[data-side="top"] {
|
|
62
|
+
inset-block-start: 0;
|
|
63
|
+
border-block-start: 0;
|
|
64
|
+
animation: frame-sheet-enter-top 180ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.frame-sheet__panel[data-side="bottom"] {
|
|
68
|
+
inset-block-end: 0;
|
|
69
|
+
border-block-end: 0;
|
|
70
|
+
animation: frame-sheet-enter-bottom 180ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.frame-sheet__header,
|
|
74
|
+
.frame-sheet__body,
|
|
75
|
+
.frame-sheet__footer {
|
|
76
|
+
padding-inline: var(--frame-sheet-padding);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.frame-sheet__header {
|
|
80
|
+
display: grid;
|
|
81
|
+
flex: 0 0 auto;
|
|
82
|
+
gap: 0.375rem;
|
|
83
|
+
border-block-end: 1px solid var(--frame-frame-line-muted);
|
|
84
|
+
padding-block-start: var(--frame-sheet-padding);
|
|
85
|
+
padding-block-end: 1rem;
|
|
86
|
+
padding-inline-end: calc(var(--frame-sheet-padding) + 2rem);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.frame-sheet__body {
|
|
90
|
+
display: grid;
|
|
91
|
+
min-height: 0;
|
|
92
|
+
flex: 1 1 auto;
|
|
93
|
+
gap: 1rem;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.frame-sheet__panel[data-scrollable] .frame-sheet__body {
|
|
97
|
+
overflow: auto;
|
|
98
|
+
overscroll-behavior: contain;
|
|
99
|
+
padding-block-end: var(--frame-sheet-padding);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.frame-sheet__footer {
|
|
103
|
+
display: flex;
|
|
104
|
+
flex: 0 0 auto;
|
|
105
|
+
flex-wrap: wrap;
|
|
106
|
+
justify-content: flex-end;
|
|
107
|
+
gap: 0.625rem;
|
|
108
|
+
border-block-start: 1px solid var(--frame-frame-line-muted);
|
|
109
|
+
padding-block-start: 1rem;
|
|
110
|
+
padding-block-end: var(--frame-sheet-padding);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.frame-sheet__title {
|
|
114
|
+
margin: 0;
|
|
115
|
+
color: var(--frame-sheet-color);
|
|
116
|
+
font-size: 1.125rem;
|
|
117
|
+
font-weight: 650;
|
|
118
|
+
line-height: 1.2;
|
|
119
|
+
letter-spacing: 0;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.frame-sheet__description {
|
|
123
|
+
margin: 0;
|
|
124
|
+
color: var(--frame-sheet-muted-color);
|
|
125
|
+
font-size: 0.875rem;
|
|
126
|
+
line-height: 1.5;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.frame-sheet__close {
|
|
130
|
+
position: absolute;
|
|
131
|
+
inset-block-start: 0.75rem;
|
|
132
|
+
inset-inline-end: 0.75rem;
|
|
133
|
+
display: inline-grid;
|
|
134
|
+
width: 2rem;
|
|
135
|
+
height: 2rem;
|
|
136
|
+
place-items: center;
|
|
137
|
+
border: 1px solid var(--frame-frame-line-muted);
|
|
138
|
+
border-radius: var(--frame-sheet-close-radius);
|
|
139
|
+
background: var(--frame-sheet-close-bg);
|
|
140
|
+
color: var(--frame-sheet-close-color);
|
|
141
|
+
cursor: pointer;
|
|
142
|
+
font: inherit;
|
|
143
|
+
line-height: 1;
|
|
144
|
+
transition:
|
|
145
|
+
background-color 120ms ease,
|
|
146
|
+
color 120ms ease,
|
|
147
|
+
transform 120ms ease;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.frame-sheet__close:hover {
|
|
151
|
+
background: var(--frame-sheet-close-hover-bg);
|
|
152
|
+
color: var(--frame-sheet-close-hover-color);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.frame-sheet__close:active {
|
|
156
|
+
transform: scale(0.96);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.frame-sheet__close:focus-visible,
|
|
160
|
+
.frame-sheet__close-control:focus-visible {
|
|
161
|
+
outline: 2px solid var(--frame-ring, currentColor);
|
|
162
|
+
outline-offset: 2px;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
@media (max-width: 640px) {
|
|
166
|
+
.frame-sheet__panel[data-side="right"],
|
|
167
|
+
.frame-sheet__panel[data-side="left"] {
|
|
168
|
+
inline-size: min(100vw, var(--frame-sheet-inline-size));
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.frame-sheet__footer {
|
|
172
|
+
flex-direction: column-reverse;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
@media (prefers-reduced-motion: reduce) {
|
|
177
|
+
.frame-sheet__panel {
|
|
178
|
+
animation: none;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
@keyframes frame-sheet-enter-right {
|
|
183
|
+
from {
|
|
184
|
+
transform: translateX(100%);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
to {
|
|
188
|
+
transform: translateX(0);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
@keyframes frame-sheet-enter-left {
|
|
193
|
+
from {
|
|
194
|
+
transform: translateX(-100%);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
to {
|
|
198
|
+
transform: translateX(0);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
@keyframes frame-sheet-enter-top {
|
|
203
|
+
from {
|
|
204
|
+
transform: translateY(-100%);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
to {
|
|
208
|
+
transform: translateY(0);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
@keyframes frame-sheet-enter-bottom {
|
|
213
|
+
from {
|
|
214
|
+
transform: translateY(100%);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
to {
|
|
218
|
+
transform: translateY(0);
|
|
219
|
+
}
|
|
220
|
+
}
|