@servicetitan/anvil2 1.49.3 → 1.49.4
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/CHANGELOG.md +12 -0
- package/dist/{Combobox-RjBDpgFV.js → Combobox-BO-k4QZE.js} +2 -2
- package/dist/{Combobox-RjBDpgFV.js.map → Combobox-BO-k4QZE.js.map} +1 -1
- package/dist/Combobox.js +1 -1
- package/dist/{DataTable-BkNCMaVu.js → DataTable--vA-HttA.js} +2 -2
- package/dist/{DataTable-BkNCMaVu.js.map → DataTable--vA-HttA.js.map} +1 -1
- package/dist/{Dialog-CxH4Vnbb.js → Dialog-3ptbLquZ.js} +39 -19
- package/dist/Dialog-3ptbLquZ.js.map +1 -0
- package/dist/Dialog.css +33 -27
- package/dist/Dialog.js +1 -1
- package/dist/{Drawer-BLfDJU-e.js → Drawer-plkbENfI.js} +38 -19
- package/dist/Drawer-plkbENfI.js.map +1 -0
- package/dist/Drawer.css +35 -25
- package/dist/Drawer.js +1 -1
- package/dist/DrawerContext-D4tWTLVf.js.map +1 -1
- package/dist/{Page-CGZQ-nsg.js → Page-Bc8ko-eM.js} +2 -2
- package/dist/{Page-CGZQ-nsg.js.map → Page-Bc8ko-eM.js.map} +1 -1
- package/dist/Page.js +1 -1
- package/dist/{SelectTrigger-qvoGCkb1.js → SelectTrigger-DdsBqEtU.js} +2 -2
- package/dist/{SelectTrigger-qvoGCkb1.js.map → SelectTrigger-DdsBqEtU.js.map} +1 -1
- package/dist/SelectTrigger.js +1 -1
- package/dist/{SelectTriggerBase-C4gebtca.js → SelectTriggerBase-BkVt3IP4.js} +14 -6
- package/dist/SelectTriggerBase-BkVt3IP4.js.map +1 -0
- package/dist/Table.js +1 -1
- package/dist/Toast.js +2 -2
- package/dist/{Toaster-Dg7M4W4U.js → Toaster-Dx0cFQwb.js} +21 -21
- package/dist/{Toaster-Dg7M4W4U.js.map → Toaster-Dx0cFQwb.js.map} +1 -1
- package/dist/{Toaster-BxbR-XcR.js → Toaster-nFhRAJc8.js} +2 -2
- package/dist/{Toaster-BxbR-XcR.js.map → Toaster-nFhRAJc8.js.map} +1 -1
- package/dist/Toaster.css +56 -53
- package/dist/{Toolbar-is5509wJ.js → Toolbar-DuuaM0Cz.js} +3 -3
- package/dist/{Toolbar-is5509wJ.js.map → Toolbar-DuuaM0Cz.js.map} +1 -1
- package/dist/Toolbar.js +1 -1
- package/dist/beta.js +2 -2
- package/dist/components/Dialog/Dialog.d.ts +3 -1
- package/dist/components/Dialog/DialogContent.d.ts +22 -2
- package/dist/components/Dialog/internal/DialogContext.d.ts +1 -0
- package/dist/components/Drawer/Drawer.d.ts +3 -1
- package/dist/components/Drawer/DrawerContent.d.ts +22 -3
- package/dist/components/Drawer/internal/DrawerContext.d.ts +4 -0
- package/dist/index.js +7 -7
- package/package.json +2 -2
- package/dist/Dialog-CxH4Vnbb.js.map +0 -1
- package/dist/Drawer-BLfDJU-e.js.map +0 -1
- package/dist/SelectTriggerBase-C4gebtca.js.map +0 -1
package/dist/Toaster.css
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
@layer starter, reset, base, state, application;
|
|
2
2
|
@layer base {
|
|
3
|
-
.
|
|
3
|
+
._popover_f5cyx_2 {
|
|
4
4
|
inset: auto;
|
|
5
5
|
border: none;
|
|
6
6
|
background: none;
|
|
7
7
|
top: 0;
|
|
8
8
|
right: 0;
|
|
9
9
|
}
|
|
10
|
-
.
|
|
10
|
+
._toaster_f5cyx_9 {
|
|
11
11
|
--toast-width: calc(375 * 1rem / 16);
|
|
12
12
|
--toast-show-more-button-display: none;
|
|
13
13
|
--toast-animation-duration: 300ms;
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
pointer-events: none;
|
|
23
23
|
z-index: 99999;
|
|
24
24
|
}
|
|
25
|
-
.
|
|
25
|
+
._toaster_f5cyx_9._hidden_f5cyx_24 {
|
|
26
26
|
visibility: hidden;
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
._toaster_f5cyx_9 ._toast-stack_f5cyx_27 {
|
|
29
29
|
position: absolute;
|
|
30
30
|
inset-block-start: var(--toast-stack-padding);
|
|
31
31
|
inset-inline-end: var(--toast-stack-padding);
|
|
@@ -34,104 +34,107 @@
|
|
|
34
34
|
box-sizing: content-box !important;
|
|
35
35
|
flex-direction: column;
|
|
36
36
|
align-items: center;
|
|
37
|
-
scrollbar-gutter: stable;
|
|
38
37
|
pointer-events: auto;
|
|
39
38
|
}
|
|
40
|
-
.
|
|
39
|
+
._toaster_f5cyx_9 ._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38 {
|
|
41
40
|
position: absolute;
|
|
42
41
|
width: var(--toast-width);
|
|
43
|
-
max-width: var(--toast-max-width);
|
|
42
|
+
max-width: min(var(--toast-max-width), 100%);
|
|
44
43
|
padding-block-end: var(--toast-stack-padding);
|
|
45
44
|
pointer-events: auto;
|
|
46
45
|
transition: var(--toast-animation-duration) ease-in;
|
|
47
46
|
transition-property: top, padding-block-end;
|
|
48
47
|
z-index: 2;
|
|
49
48
|
}
|
|
50
|
-
.
|
|
49
|
+
._toaster_f5cyx_9 ._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38:first-of-type {
|
|
51
50
|
padding-block-end: 0;
|
|
52
51
|
}
|
|
53
|
-
.
|
|
52
|
+
._toaster_f5cyx_9 ._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38 ._toast-alert_f5cyx_51 {
|
|
54
53
|
background-color: var(--background-color, #ffffff);
|
|
55
54
|
position: relative;
|
|
56
55
|
box-shadow: 0rem 0.5rem 1.5rem var(--shadow-color, rgba(20, 20, 20, 0.0784313725));
|
|
57
56
|
}
|
|
58
|
-
.
|
|
57
|
+
._toaster_f5cyx_9 ._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38 ._toast-alert_f5cyx_51 ._alert-action_f5cyx_56 {
|
|
59
58
|
margin-block-start: 0.75rem;
|
|
60
59
|
display: flex;
|
|
61
60
|
gap: 0.75rem;
|
|
62
61
|
max-width: 100%;
|
|
63
62
|
}
|
|
64
|
-
.
|
|
63
|
+
._toaster_f5cyx_9 ._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38 ._toast-alert_f5cyx_51 ._message-container_f5cyx_62 {
|
|
65
64
|
white-space: pre-line;
|
|
66
65
|
overflow-wrap: break-word;
|
|
67
66
|
}
|
|
68
67
|
}
|
|
69
68
|
@layer state {
|
|
70
|
-
._toast-
|
|
69
|
+
._toast-stack_f5cyx_27:hover, ._toast-stack_f5cyx_27:focus-within {
|
|
71
70
|
--toast-show-more-button-display: normal;
|
|
72
71
|
}
|
|
73
|
-
._toast-
|
|
72
|
+
._toast-stack_f5cyx_27._show-extra-toast_f5cyx_71 {
|
|
74
73
|
scrollbar-width: thin;
|
|
74
|
+
scrollbar-gutter: stable;
|
|
75
|
+
--anv-estimated-scrollbar-width: 11px;
|
|
76
|
+
width: calc(100% + var(--anv-estimated-scrollbar-width));
|
|
77
|
+
inset-inline-end: calc(var(--toast-stack-padding) - var(--anv-estimated-scrollbar-width));
|
|
75
78
|
overflow-y: auto;
|
|
76
79
|
}
|
|
77
|
-
._toast-
|
|
80
|
+
._toast-stack_f5cyx_27._show-extra-toast_f5cyx_71::-webkit-scrollbar {
|
|
78
81
|
width: 8px;
|
|
79
82
|
}
|
|
80
|
-
._toast-
|
|
83
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38 ._toast-alert_f5cyx_51._hidden_f5cyx_24 {
|
|
81
84
|
display: none;
|
|
82
85
|
}
|
|
83
|
-
._toast-
|
|
86
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38 ._toast-alert_f5cyx_51:focus-visible {
|
|
84
87
|
outline: 0.125rem solid var(--focus-ring-color, #0265DC);
|
|
85
88
|
outline-offset: 0.125rem;
|
|
86
89
|
}
|
|
87
|
-
._toast-
|
|
90
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38._stacked_f5cyx_89 {
|
|
88
91
|
transition-property: top, padding-bottom, width;
|
|
89
92
|
}
|
|
90
|
-
._toast-
|
|
93
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38._stacked_f5cyx_89._stack-one_f5cyx_92, ._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38._stacked_f5cyx_89._stack-two_f5cyx_92 {
|
|
91
94
|
z-index: 1;
|
|
92
95
|
}
|
|
93
|
-
._toast-
|
|
96
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38._stacked_f5cyx_89._stack-one_f5cyx_92 ._alert-action_f5cyx_56, ._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38._stacked_f5cyx_89._stack-two_f5cyx_92 ._alert-action_f5cyx_56 {
|
|
94
97
|
display: none;
|
|
95
98
|
}
|
|
96
|
-
._toast-
|
|
99
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38._stacked_f5cyx_89._stack-one_f5cyx_92 ._message-container_f5cyx_62, ._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38._stacked_f5cyx_89._stack-two_f5cyx_92 ._message-container_f5cyx_62 {
|
|
97
100
|
max-height: 1rem;
|
|
98
101
|
overflow: hidden;
|
|
99
102
|
}
|
|
100
|
-
._toast-
|
|
103
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38._stacked_f5cyx_89._stack-one_f5cyx_92 {
|
|
101
104
|
width: calc(var(--toast-width) - 2rem);
|
|
102
105
|
}
|
|
103
|
-
._toast-
|
|
106
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38._stacked_f5cyx_89._stack-two_f5cyx_92 {
|
|
104
107
|
width: calc(var(--toast-width) - 4rem);
|
|
105
108
|
}
|
|
106
|
-
._toast-
|
|
109
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38._stacked_f5cyx_89, ._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38._stacked-show-extra_f5cyx_108 {
|
|
107
110
|
transition-property: top, padding-bottom, width;
|
|
108
111
|
}
|
|
109
|
-
._toast-
|
|
112
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38._stacked-show-extra_f5cyx_108 {
|
|
110
113
|
width: var(--toast-width);
|
|
111
114
|
height: auto;
|
|
112
115
|
}
|
|
113
|
-
._toast-
|
|
116
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38._stacked-show-extra_f5cyx_108._stack-one_f5cyx_92 ._alert-action_f5cyx_56, ._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38._stacked-show-extra_f5cyx_108._stack-two_f5cyx_92 ._alert-action_f5cyx_56 {
|
|
114
117
|
display: flex;
|
|
115
118
|
}
|
|
116
|
-
._toast-
|
|
119
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38._stacked-show-extra_f5cyx_108._stack-one_f5cyx_92 ._message-container_f5cyx_62, ._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38._stacked-show-extra_f5cyx_108._stack-two_f5cyx_92 ._message-container_f5cyx_62 {
|
|
117
120
|
max-height: none;
|
|
118
121
|
overflow: unset;
|
|
119
122
|
}
|
|
120
|
-
._toast-
|
|
123
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38._stacked-extra_f5cyx_122 {
|
|
121
124
|
width: calc(var(--toast-width) - 6rem);
|
|
122
125
|
visibility: hidden;
|
|
123
126
|
pointer-events: none;
|
|
124
127
|
}
|
|
125
|
-
._toast-
|
|
128
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38._stacked-extra_f5cyx_122._stacked-show-extra_f5cyx_108 {
|
|
126
129
|
width: var(--toast-width);
|
|
127
130
|
visibility: visible;
|
|
128
131
|
pointer-events: auto;
|
|
129
132
|
}
|
|
130
|
-
._toast-
|
|
133
|
+
._toast-stack_f5cyx_27._show-extra-toast_f5cyx_71 ._toast-wrapper_f5cyx_38:first-of-type {
|
|
131
134
|
padding-block-end: var(--toast-stack-padding);
|
|
132
135
|
}
|
|
133
|
-
._show-more-button-
|
|
134
|
-
._show-collapse-button-
|
|
136
|
+
._show-more-button-container_f5cyx_135,
|
|
137
|
+
._show-collapse-button-container_f5cyx_136 {
|
|
135
138
|
pointer-events: all;
|
|
136
139
|
padding-block: 1rem;
|
|
137
140
|
padding-inline: 0;
|
|
@@ -140,31 +143,31 @@
|
|
|
140
143
|
width: 100%;
|
|
141
144
|
text-align: center;
|
|
142
145
|
}
|
|
143
|
-
._show-more-button-
|
|
144
|
-
._show-collapse-button-
|
|
146
|
+
._show-more-button-container_f5cyx_135 ._show-collapse-button_f5cyx_136,
|
|
147
|
+
._show-collapse-button-container_f5cyx_136 ._show-collapse-button_f5cyx_136 {
|
|
145
148
|
box-shadow: 0rem 0.5rem 1.5rem var(--shadow-color, rgba(20, 20, 20, 0.0784313725));
|
|
146
149
|
background-color: var(--background-color-inverted, #2d2e31);
|
|
147
150
|
color: var(--foreground-color-inverted, #ffffff);
|
|
148
151
|
}
|
|
149
|
-
._show-more-button-
|
|
150
|
-
._show-collapse-button-
|
|
152
|
+
._show-more-button-container_f5cyx_135 ._show-collapse-button_f5cyx_136:hover,
|
|
153
|
+
._show-collapse-button-container_f5cyx_136 ._show-collapse-button_f5cyx_136:hover {
|
|
151
154
|
background-color: var(--background-color-inverted-strong, #141414);
|
|
152
155
|
}
|
|
153
|
-
._show-collapse-button-
|
|
156
|
+
._show-collapse-button-container_f5cyx_136 {
|
|
154
157
|
display: none;
|
|
155
158
|
}
|
|
156
159
|
}
|
|
157
160
|
@layer application {
|
|
158
|
-
._toast-
|
|
161
|
+
._toast-stack_f5cyx_27._disable-animations_f5cyx_160 {
|
|
159
162
|
--toast-animation-duration: 0ms;
|
|
160
163
|
}
|
|
161
164
|
@media only screen and (hover: none) {
|
|
162
|
-
._toast-
|
|
165
|
+
._toast-stack_f5cyx_27 {
|
|
163
166
|
pointer-events: all;
|
|
164
167
|
}
|
|
165
168
|
}
|
|
166
169
|
@media only screen and (max-width: 640px) {
|
|
167
|
-
._toast-
|
|
170
|
+
._toast-stack_f5cyx_27 {
|
|
168
171
|
padding-inline-start: 0.75rem;
|
|
169
172
|
padding-inline-end: 0.75rem;
|
|
170
173
|
max-width: -webkit-fill-available;
|
|
@@ -172,41 +175,41 @@
|
|
|
172
175
|
max-width: stretch;
|
|
173
176
|
scrollbar-gutter: unset;
|
|
174
177
|
}
|
|
175
|
-
._toast-
|
|
178
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38 {
|
|
176
179
|
max-width: calc(100% - 0.75rem - 0.75rem);
|
|
177
180
|
padding-inline: 0;
|
|
178
181
|
}
|
|
179
182
|
}
|
|
180
183
|
@media (prefers-reduced-motion: reduce) {
|
|
181
|
-
._toast-
|
|
184
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38 {
|
|
182
185
|
transition-duration: 0ms;
|
|
183
186
|
}
|
|
184
|
-
._toast-
|
|
185
|
-
._toast-
|
|
187
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38 ._toast-alert_f5cyx_51._open_f5cyx_184,
|
|
188
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38 ._toast-alert_f5cyx_51._close_f5cyx_185 {
|
|
186
189
|
animation-duration: 0ms;
|
|
187
190
|
}
|
|
188
191
|
}
|
|
189
192
|
@media (prefers-reduced-motion: no-preference) {
|
|
190
|
-
._toast-
|
|
191
|
-
animation:
|
|
193
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38 ._toast-alert_f5cyx_51._open_f5cyx_184 {
|
|
194
|
+
animation: _slideIn_f5cyx_1 var(--toast-animation-duration);
|
|
192
195
|
}
|
|
193
|
-
._toast-
|
|
194
|
-
animation:
|
|
196
|
+
._toast-stack_f5cyx_27 ._toast-wrapper_f5cyx_38 ._toast-alert_f5cyx_51._close_f5cyx_185 {
|
|
197
|
+
animation: _slideOut_f5cyx_1 var(--toast-animation-duration);
|
|
195
198
|
}
|
|
196
199
|
}
|
|
197
200
|
@media only screen and (hover: none) {
|
|
198
|
-
._toast-
|
|
201
|
+
._toast-stack_f5cyx_27._show-extra-toast_f5cyx_71 ._toast-wrapper_f5cyx_38:first-of-type {
|
|
199
202
|
padding-block-end: calc(var(--toast-stack-padding) * 2 + 2rem);
|
|
200
203
|
}
|
|
201
204
|
}
|
|
202
205
|
@media only screen and (hover: none) {
|
|
203
|
-
._show-more-button-
|
|
204
|
-
._show-collapse-button-
|
|
206
|
+
._show-more-button-container_f5cyx_135,
|
|
207
|
+
._show-collapse-button-container_f5cyx_136 {
|
|
205
208
|
display: block;
|
|
206
209
|
}
|
|
207
210
|
}
|
|
208
211
|
@media only screen and (hover: none) {
|
|
209
|
-
._show-collapse-button-
|
|
212
|
+
._show-collapse-button-container_f5cyx_136 {
|
|
210
213
|
display: block;
|
|
211
214
|
position: fixed;
|
|
212
215
|
inset-block-end: 0;
|
|
@@ -214,7 +217,7 @@
|
|
|
214
217
|
}
|
|
215
218
|
}
|
|
216
219
|
}
|
|
217
|
-
@keyframes
|
|
220
|
+
@keyframes _slideIn_f5cyx_1 {
|
|
218
221
|
from {
|
|
219
222
|
inset-inline-end: -27rem;
|
|
220
223
|
}
|
|
@@ -222,7 +225,7 @@
|
|
|
222
225
|
inset-inline-end: 0px;
|
|
223
226
|
}
|
|
224
227
|
}
|
|
225
|
-
@keyframes
|
|
228
|
+
@keyframes _slideOut_f5cyx_1 {
|
|
226
229
|
from {
|
|
227
230
|
inset-inline-end: 0px;
|
|
228
231
|
}
|
|
@@ -27,8 +27,8 @@ import { u as useDateFieldSingleConversion, a as useDateFieldSingleState, M as M
|
|
|
27
27
|
import { u as useDateFieldRangeConversion, a as useDateFieldRangeState, M as MaskedDateRangeInput, b as DateFieldRangeCalendar, D as DateFieldRange } from './DateFieldRange-BBgvno-_.js';
|
|
28
28
|
import { C as Checkbox } from './Checkbox-C5Qjq_tU.js';
|
|
29
29
|
import { R as Radio } from './Radio-CyCFna1X.js';
|
|
30
|
-
import { C as Combobox } from './Combobox-
|
|
31
|
-
import { D as Drawer } from './Drawer-
|
|
30
|
+
import { C as Combobox } from './Combobox-BO-k4QZE.js';
|
|
31
|
+
import { D as Drawer } from './Drawer-plkbENfI.js';
|
|
32
32
|
import { d as BreakpointSm, c as BreakpointMd, b as BreakpointLg, a as BreakpointXl, B as BreakpointXxl } from './primitive-BByug0kD.js';
|
|
33
33
|
import { u as useMergeRefs } from './useMergeRefs-Dfmtq9cI.js';
|
|
34
34
|
import { u as useLayoutPropsUtil } from './useLayoutPropsUtil-BlIWftBb.js';
|
|
@@ -2121,4 +2121,4 @@ const Toolbar = Object.assign(ToolbarElement, {
|
|
|
2121
2121
|
});
|
|
2122
2122
|
|
|
2123
2123
|
export { Toolbar as T, ToolbarButton as a, ToolbarButtonToggle as b, ToolbarButtonLink as c, ToolbarSelect as d, ToolbarControlGroup as e, ToolbarSearchField as f, ToolbarElement as g };
|
|
2124
|
-
//# sourceMappingURL=Toolbar-
|
|
2124
|
+
//# sourceMappingURL=Toolbar-DuuaM0Cz.js.map
|