@bluepic/embed 0.4.0-next.96 → 0.4.0-next.97
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/bluepic-embed.iife.js +63 -63
- package/dist/bluepic-embed.umd.js +63 -63
- package/dist/{cpp-DaPzgJ_t.cjs → cpp-CEORmSCT.cjs} +1 -1
- package/dist/{cpp-Cx0NomaW.js → cpp-CH0U-pDu.js} +12 -16
- package/dist/{css-BCTOmdxR.js → css-DXX4BvrO.js} +9 -3
- package/dist/css-l--Pv1Vb.cjs +1 -0
- package/dist/embed/embed.d.ts +199 -145
- package/dist/{javascript-DII1YQGr.js → javascript-BAHKs5qZ.js} +3 -2
- package/dist/{javascript-C_6NC1K7.cjs → javascript-NPBda6fN.cjs} +1 -1
- package/dist/json-C4rahuoJ.cjs +1 -0
- package/dist/{json-C_6Prymp.js → json-DYK-YbD3.js} +15 -9
- package/dist/main.cjs +64 -64
- package/dist/main.mjs +10415 -10393
- package/dist/scss-C_iicH8I.cjs +1 -0
- package/dist/{scss-CknrYxoA.js → scss-DybQU0yX.js} +31 -25
- package/dist/{typescript-SNUkGeOU.js → typescript-BRD67TAB.js} +3 -2
- package/dist/{typescript-Cjpf3bLL.cjs → typescript-ro3bsRwC.cjs} +1 -1
- package/dist/util/cloudflareImages.d.ts +1 -8
- package/dist/util/gallery.d.ts +20 -20
- package/dist/util/useTheme.d.ts +1 -431
- package/package.json +4 -4
- package/dist/css-UgpohNaw.cjs +0 -1
- package/dist/json-DEcHyC5F.cjs +0 -1
- package/dist/scss-DpqvoUEp.cjs +0 -1
package/dist/util/useTheme.d.ts
CHANGED
|
@@ -1,435 +1,5 @@
|
|
|
1
1
|
import { z } from '@hono/zod-openapi';
|
|
2
2
|
import { EmbedV2 } from '@bluepic/types';
|
|
3
|
-
import { Ref } from 'vue';
|
|
4
3
|
export declare function getThemeStyle(rawCSS: string): Record<string, string>;
|
|
5
4
|
export declare function resolveThemeStyle(theme: 'light' | 'dark' | 'auto'): Record<string, string>;
|
|
6
|
-
export declare function useTheme(bluepicAppWrapperSelector?: string, theme?: 'light' | 'dark' | 'auto', customThemeVars?: Partial<z.infer<typeof EmbedV2.customStyleSchema>>, interFontUrl?: string):
|
|
7
|
-
"primary-color-base"?: string | undefined;
|
|
8
|
-
"primary-color-light"?: string | undefined;
|
|
9
|
-
"primary-color-dark"?: string | undefined;
|
|
10
|
-
"primary-color-bright"?: string | undefined;
|
|
11
|
-
"success-color-base"?: string | undefined;
|
|
12
|
-
"success-color-light"?: string | undefined;
|
|
13
|
-
"success-color-dark"?: string | undefined;
|
|
14
|
-
"success-color-darker"?: string | undefined;
|
|
15
|
-
"error-color-base"?: string | undefined;
|
|
16
|
-
"error-color-light"?: string | undefined;
|
|
17
|
-
"error-color-dark"?: string | undefined;
|
|
18
|
-
"error-color-darker"?: string | undefined;
|
|
19
|
-
"warning-color-base"?: string | undefined;
|
|
20
|
-
"warning-color-light"?: string | undefined;
|
|
21
|
-
"warning-color-dark"?: string | undefined;
|
|
22
|
-
"warning-color-darker"?: string | undefined;
|
|
23
|
-
"border-color-base"?: string | undefined;
|
|
24
|
-
"text-color-base"?: string | undefined;
|
|
25
|
-
"text-color-alt"?: string | undefined;
|
|
26
|
-
"card-border-color"?: string | undefined;
|
|
27
|
-
"card-background-color"?: string | undefined;
|
|
28
|
-
"card-background-color-hover"?: string | undefined;
|
|
29
|
-
"card-header-divider-color"?: string | undefined;
|
|
30
|
-
"card-footer-divider-color"?: string | undefined;
|
|
31
|
-
"card-footer-background-color"?: string | undefined;
|
|
32
|
-
"popover-without-darkened-bg-background-color"?: string | undefined;
|
|
33
|
-
"popover-without-darkened-bg-box-shadow"?: string | undefined;
|
|
34
|
-
"input-border-color"?: string | undefined;
|
|
35
|
-
"input-border-color-hover"?: string | undefined;
|
|
36
|
-
"input-border-color-focus"?: string | undefined;
|
|
37
|
-
"input-shadow-focus-color"?: string | undefined;
|
|
38
|
-
"input-background-color"?: string | undefined;
|
|
39
|
-
"input-outline-color-focus"?: string | undefined;
|
|
40
|
-
"input-border-color-disabled"?: string | undefined;
|
|
41
|
-
"input-opacity-disabled"?: string | undefined;
|
|
42
|
-
"checkbox-border-color"?: string | undefined;
|
|
43
|
-
"checkbox-outline-color-focus"?: string | undefined;
|
|
44
|
-
"checkbox-border-color-focus"?: string | undefined;
|
|
45
|
-
"checkbox-border-color-checked"?: string | undefined;
|
|
46
|
-
"checkbox-background-color-checked"?: string | undefined;
|
|
47
|
-
"labeled-text-color"?: string | undefined;
|
|
48
|
-
"label-background-color"?: string | undefined;
|
|
49
|
-
"select-background-color"?: string | undefined;
|
|
50
|
-
"select-background-color-hover"?: string | undefined;
|
|
51
|
-
"select-background-color-focus"?: string | undefined;
|
|
52
|
-
"select-border"?: string | undefined;
|
|
53
|
-
"select-border-hover"?: string | undefined;
|
|
54
|
-
"select-border-focus"?: string | undefined;
|
|
55
|
-
"select-color"?: string | undefined;
|
|
56
|
-
"select-color-hover"?: string | undefined;
|
|
57
|
-
"select-color-focus"?: string | undefined;
|
|
58
|
-
"popover-background-color"?: string | undefined;
|
|
59
|
-
"popover-border"?: string | undefined;
|
|
60
|
-
"popover-arrow-border-color"?: string | undefined;
|
|
61
|
-
"popup-background-color"?: string | undefined;
|
|
62
|
-
"menu-item-color"?: string | undefined;
|
|
63
|
-
"menu-item-color-active"?: string | undefined;
|
|
64
|
-
"menu-item-background-color"?: string | undefined;
|
|
65
|
-
"menu-item-background-color-active"?: string | undefined;
|
|
66
|
-
"menu-item-background-color-hover"?: string | undefined;
|
|
67
|
-
"list-divider"?: string | undefined;
|
|
68
|
-
"list-item-background-color-hover"?: string | undefined;
|
|
69
|
-
"empty-text-color"?: string | undefined;
|
|
70
|
-
"select-button-background-color"?: string | undefined;
|
|
71
|
-
"select-button-background-color-hover"?: string | undefined;
|
|
72
|
-
"tag-background-color"?: string | undefined;
|
|
73
|
-
"tag-color"?: string | undefined;
|
|
74
|
-
"tag-border-color"?: string | undefined;
|
|
75
|
-
"tag-error-background-color"?: string | undefined;
|
|
76
|
-
"tag-error-color"?: string | undefined;
|
|
77
|
-
"tag-error-border-color"?: string | undefined;
|
|
78
|
-
"slider-body-background-color"?: string | undefined;
|
|
79
|
-
"slider-body-background-color-hover"?: string | undefined;
|
|
80
|
-
"slider-body-background-color-focus"?: string | undefined;
|
|
81
|
-
"slider-thumb-background-color"?: string | undefined;
|
|
82
|
-
"slider-thumb-background-color-hover"?: string | undefined;
|
|
83
|
-
"slider-thumb-background-color-focus"?: string | undefined;
|
|
84
|
-
"slider-thumb-box-shadow"?: string | undefined;
|
|
85
|
-
"slider-value-background-color"?: string | undefined;
|
|
86
|
-
"slider-value-background-color-hover"?: string | undefined;
|
|
87
|
-
"slider-value-background-color-focus"?: string | undefined;
|
|
88
|
-
"progress-background-color"?: string | undefined;
|
|
89
|
-
"progress-value-color"?: string | undefined;
|
|
90
|
-
"radio-background-color"?: string | undefined;
|
|
91
|
-
"radio-background-color-active"?: string | undefined;
|
|
92
|
-
"radio-background-color-hover"?: string | undefined;
|
|
93
|
-
"radio-border"?: string | undefined;
|
|
94
|
-
"radio-border-active"?: string | undefined;
|
|
95
|
-
"radio-border-color-hover"?: string | undefined;
|
|
96
|
-
"radio-label-color"?: string | undefined;
|
|
97
|
-
"radio-label-color-active"?: string | undefined;
|
|
98
|
-
"radio-symbol-color"?: string | undefined;
|
|
99
|
-
"tab-color"?: string | undefined;
|
|
100
|
-
"tab-color-active"?: string | undefined;
|
|
101
|
-
"tab-segment-background-color"?: string | undefined;
|
|
102
|
-
"tab-segment-background-color-active"?: string | undefined;
|
|
103
|
-
"tab-segment-color"?: string | undefined;
|
|
104
|
-
"tab-segment-color-active"?: string | undefined;
|
|
105
|
-
"button-border"?: string | undefined;
|
|
106
|
-
"button-border-hover"?: string | undefined;
|
|
107
|
-
"button-border-focus"?: string | undefined;
|
|
108
|
-
"button-background-color"?: string | undefined;
|
|
109
|
-
"button-background-color-hover"?: string | undefined;
|
|
110
|
-
"button-background-color-focus"?: string | undefined;
|
|
111
|
-
"button-text-color"?: string | undefined;
|
|
112
|
-
"button-text-color-hover"?: string | undefined;
|
|
113
|
-
"button-text-color-focus"?: string | undefined;
|
|
114
|
-
"button-box-shadow"?: string | undefined;
|
|
115
|
-
"button-box-shadow-hover"?: string | undefined;
|
|
116
|
-
"button-secondary-border"?: string | undefined;
|
|
117
|
-
"button-secondary-border-hover"?: string | undefined;
|
|
118
|
-
"button-secondary-border-focus"?: string | undefined;
|
|
119
|
-
"button-secondary-background-color"?: string | undefined;
|
|
120
|
-
"button-secondary-background-color-hover"?: string | undefined;
|
|
121
|
-
"button-secondary-background-color-focus"?: string | undefined;
|
|
122
|
-
"button-secondary-text-color"?: string | undefined;
|
|
123
|
-
"button-secondary-text-color-hover"?: string | undefined;
|
|
124
|
-
"button-secondary-text-color-focus"?: string | undefined;
|
|
125
|
-
"button-secondary-box-shadow"?: string | undefined;
|
|
126
|
-
"button-secondary-box-shadow-hover"?: string | undefined;
|
|
127
|
-
"message-body-background-color"?: string | undefined;
|
|
128
|
-
"message-body-text-color"?: string | undefined;
|
|
129
|
-
"message-body-border"?: string | undefined;
|
|
130
|
-
"canvas-background-color"?: string | undefined;
|
|
131
|
-
"canvas-background-image"?: string | undefined;
|
|
132
|
-
"canvas-btn-background-color"?: string | undefined;
|
|
133
|
-
"canvas-btn-background-color-hover"?: string | undefined;
|
|
134
|
-
"canvas-btn-color"?: string | undefined;
|
|
135
|
-
"select-item-border"?: string | undefined;
|
|
136
|
-
"editor-view-background-color"?: string | undefined;
|
|
137
|
-
"fields-view-background-color"?: string | undefined;
|
|
138
|
-
"live-view-background-color"?: string | undefined;
|
|
139
|
-
"gallery-card-background-color"?: string | undefined;
|
|
140
|
-
"gallery-card-border"?: string | undefined;
|
|
141
|
-
"gallery-action-btn-background-color"?: string | undefined;
|
|
142
|
-
"gallery-action-btn-color"?: string | undefined;
|
|
143
|
-
"gallery-card-name-text-color"?: string | undefined;
|
|
144
|
-
"gallery-card-description-text-color"?: string | undefined;
|
|
145
|
-
"bluepic-embed-editor-border"?: string | undefined;
|
|
146
|
-
"bluepic-embed-editor-border-radius"?: string | undefined;
|
|
147
|
-
"tooltip-background-color"?: string | undefined;
|
|
148
|
-
"tooltip-text-color"?: string | undefined;
|
|
149
|
-
}, Partial<{
|
|
150
|
-
"primary-color-base": string;
|
|
151
|
-
"primary-color-light": string;
|
|
152
|
-
"primary-color-dark": string;
|
|
153
|
-
"primary-color-bright": string;
|
|
154
|
-
"success-color-base": string;
|
|
155
|
-
"success-color-light": string;
|
|
156
|
-
"success-color-dark": string;
|
|
157
|
-
"success-color-darker": string;
|
|
158
|
-
"error-color-base": string;
|
|
159
|
-
"error-color-light": string;
|
|
160
|
-
"error-color-dark": string;
|
|
161
|
-
"error-color-darker": string;
|
|
162
|
-
"warning-color-base": string;
|
|
163
|
-
"warning-color-light": string;
|
|
164
|
-
"warning-color-dark": string;
|
|
165
|
-
"warning-color-darker": string;
|
|
166
|
-
"border-color-base": string;
|
|
167
|
-
"text-color-base": string;
|
|
168
|
-
"text-color-alt": string;
|
|
169
|
-
"card-border-color": string;
|
|
170
|
-
"card-background-color": string;
|
|
171
|
-
"card-background-color-hover": string;
|
|
172
|
-
"card-header-divider-color": string;
|
|
173
|
-
"card-footer-divider-color": string;
|
|
174
|
-
"card-footer-background-color": string;
|
|
175
|
-
"popover-without-darkened-bg-background-color": string;
|
|
176
|
-
"popover-without-darkened-bg-box-shadow": string;
|
|
177
|
-
"input-border-color": string;
|
|
178
|
-
"input-border-color-hover": string;
|
|
179
|
-
"input-border-color-focus": string;
|
|
180
|
-
"input-shadow-focus-color": string;
|
|
181
|
-
"input-background-color": string;
|
|
182
|
-
"input-outline-color-focus": string;
|
|
183
|
-
"input-border-color-disabled": string;
|
|
184
|
-
"input-opacity-disabled": string;
|
|
185
|
-
"checkbox-border-color": string;
|
|
186
|
-
"checkbox-outline-color-focus": string;
|
|
187
|
-
"checkbox-border-color-focus": string;
|
|
188
|
-
"checkbox-border-color-checked": string;
|
|
189
|
-
"checkbox-background-color-checked": string;
|
|
190
|
-
"labeled-text-color": string;
|
|
191
|
-
"label-background-color": string;
|
|
192
|
-
"select-background-color": string;
|
|
193
|
-
"select-background-color-hover": string;
|
|
194
|
-
"select-background-color-focus": string;
|
|
195
|
-
"select-border": string;
|
|
196
|
-
"select-border-hover": string;
|
|
197
|
-
"select-border-focus": string;
|
|
198
|
-
"select-color": string;
|
|
199
|
-
"select-color-hover": string;
|
|
200
|
-
"select-color-focus": string;
|
|
201
|
-
"popover-background-color": string;
|
|
202
|
-
"popover-border": string;
|
|
203
|
-
"popover-arrow-border-color": string;
|
|
204
|
-
"popup-background-color": string;
|
|
205
|
-
"menu-item-color": string;
|
|
206
|
-
"menu-item-color-active": string;
|
|
207
|
-
"menu-item-background-color": string;
|
|
208
|
-
"menu-item-background-color-active": string;
|
|
209
|
-
"menu-item-background-color-hover": string;
|
|
210
|
-
"list-divider": string;
|
|
211
|
-
"list-item-background-color-hover": string;
|
|
212
|
-
"empty-text-color": string;
|
|
213
|
-
"select-button-background-color": string;
|
|
214
|
-
"select-button-background-color-hover": string;
|
|
215
|
-
"tag-background-color": string;
|
|
216
|
-
"tag-color": string;
|
|
217
|
-
"tag-border-color": string;
|
|
218
|
-
"tag-error-background-color": string;
|
|
219
|
-
"tag-error-color": string;
|
|
220
|
-
"tag-error-border-color": string;
|
|
221
|
-
"slider-body-background-color": string;
|
|
222
|
-
"slider-body-background-color-hover": string;
|
|
223
|
-
"slider-body-background-color-focus": string;
|
|
224
|
-
"slider-thumb-background-color": string;
|
|
225
|
-
"slider-thumb-background-color-hover": string;
|
|
226
|
-
"slider-thumb-background-color-focus": string;
|
|
227
|
-
"slider-thumb-box-shadow": string;
|
|
228
|
-
"slider-value-background-color": string;
|
|
229
|
-
"slider-value-background-color-hover": string;
|
|
230
|
-
"slider-value-background-color-focus": string;
|
|
231
|
-
"progress-background-color": string;
|
|
232
|
-
"progress-value-color": string;
|
|
233
|
-
"radio-background-color": string;
|
|
234
|
-
"radio-background-color-active": string;
|
|
235
|
-
"radio-background-color-hover": string;
|
|
236
|
-
"radio-border": string;
|
|
237
|
-
"radio-border-active": string;
|
|
238
|
-
"radio-border-color-hover": string;
|
|
239
|
-
"radio-label-color": string;
|
|
240
|
-
"radio-label-color-active": string;
|
|
241
|
-
"radio-symbol-color": string;
|
|
242
|
-
"tab-color": string;
|
|
243
|
-
"tab-color-active": string;
|
|
244
|
-
"tab-segment-background-color": string;
|
|
245
|
-
"tab-segment-background-color-active": string;
|
|
246
|
-
"tab-segment-color": string;
|
|
247
|
-
"tab-segment-color-active": string;
|
|
248
|
-
"button-border": string;
|
|
249
|
-
"button-border-hover": string;
|
|
250
|
-
"button-border-focus": string;
|
|
251
|
-
"button-background-color": string;
|
|
252
|
-
"button-background-color-hover": string;
|
|
253
|
-
"button-background-color-focus": string;
|
|
254
|
-
"button-text-color": string;
|
|
255
|
-
"button-text-color-hover": string;
|
|
256
|
-
"button-text-color-focus": string;
|
|
257
|
-
"button-box-shadow": string;
|
|
258
|
-
"button-box-shadow-hover": string;
|
|
259
|
-
"button-secondary-border": string;
|
|
260
|
-
"button-secondary-border-hover": string;
|
|
261
|
-
"button-secondary-border-focus": string;
|
|
262
|
-
"button-secondary-background-color": string;
|
|
263
|
-
"button-secondary-background-color-hover": string;
|
|
264
|
-
"button-secondary-background-color-focus": string;
|
|
265
|
-
"button-secondary-text-color": string;
|
|
266
|
-
"button-secondary-text-color-hover": string;
|
|
267
|
-
"button-secondary-text-color-focus": string;
|
|
268
|
-
"button-secondary-box-shadow": string;
|
|
269
|
-
"button-secondary-box-shadow-hover": string;
|
|
270
|
-
"message-body-background-color": string;
|
|
271
|
-
"message-body-text-color": string;
|
|
272
|
-
"message-body-border": string;
|
|
273
|
-
"canvas-background-color": string;
|
|
274
|
-
"canvas-background-image": string;
|
|
275
|
-
"canvas-btn-background-color": string;
|
|
276
|
-
"canvas-btn-background-color-hover": string;
|
|
277
|
-
"canvas-btn-color": string;
|
|
278
|
-
"select-item-border": string;
|
|
279
|
-
"editor-view-background-color": string;
|
|
280
|
-
"fields-view-background-color": string;
|
|
281
|
-
"live-view-background-color": string;
|
|
282
|
-
"gallery-card-background-color": string;
|
|
283
|
-
"gallery-card-border": string;
|
|
284
|
-
"gallery-action-btn-background-color": string;
|
|
285
|
-
"gallery-action-btn-color": string;
|
|
286
|
-
"gallery-card-name-text-color": string;
|
|
287
|
-
"gallery-card-description-text-color": string;
|
|
288
|
-
"bluepic-embed-editor-border": string;
|
|
289
|
-
"bluepic-embed-editor-border-radius": string;
|
|
290
|
-
"tooltip-background-color": string;
|
|
291
|
-
"tooltip-text-color": string;
|
|
292
|
-
}> | {
|
|
293
|
-
"primary-color-base"?: string | undefined;
|
|
294
|
-
"primary-color-light"?: string | undefined;
|
|
295
|
-
"primary-color-dark"?: string | undefined;
|
|
296
|
-
"primary-color-bright"?: string | undefined;
|
|
297
|
-
"success-color-base"?: string | undefined;
|
|
298
|
-
"success-color-light"?: string | undefined;
|
|
299
|
-
"success-color-dark"?: string | undefined;
|
|
300
|
-
"success-color-darker"?: string | undefined;
|
|
301
|
-
"error-color-base"?: string | undefined;
|
|
302
|
-
"error-color-light"?: string | undefined;
|
|
303
|
-
"error-color-dark"?: string | undefined;
|
|
304
|
-
"error-color-darker"?: string | undefined;
|
|
305
|
-
"warning-color-base"?: string | undefined;
|
|
306
|
-
"warning-color-light"?: string | undefined;
|
|
307
|
-
"warning-color-dark"?: string | undefined;
|
|
308
|
-
"warning-color-darker"?: string | undefined;
|
|
309
|
-
"border-color-base"?: string | undefined;
|
|
310
|
-
"text-color-base"?: string | undefined;
|
|
311
|
-
"text-color-alt"?: string | undefined;
|
|
312
|
-
"card-border-color"?: string | undefined;
|
|
313
|
-
"card-background-color"?: string | undefined;
|
|
314
|
-
"card-background-color-hover"?: string | undefined;
|
|
315
|
-
"card-header-divider-color"?: string | undefined;
|
|
316
|
-
"card-footer-divider-color"?: string | undefined;
|
|
317
|
-
"card-footer-background-color"?: string | undefined;
|
|
318
|
-
"popover-without-darkened-bg-background-color"?: string | undefined;
|
|
319
|
-
"popover-without-darkened-bg-box-shadow"?: string | undefined;
|
|
320
|
-
"input-border-color"?: string | undefined;
|
|
321
|
-
"input-border-color-hover"?: string | undefined;
|
|
322
|
-
"input-border-color-focus"?: string | undefined;
|
|
323
|
-
"input-shadow-focus-color"?: string | undefined;
|
|
324
|
-
"input-background-color"?: string | undefined;
|
|
325
|
-
"input-outline-color-focus"?: string | undefined;
|
|
326
|
-
"input-border-color-disabled"?: string | undefined;
|
|
327
|
-
"input-opacity-disabled"?: string | undefined;
|
|
328
|
-
"checkbox-border-color"?: string | undefined;
|
|
329
|
-
"checkbox-outline-color-focus"?: string | undefined;
|
|
330
|
-
"checkbox-border-color-focus"?: string | undefined;
|
|
331
|
-
"checkbox-border-color-checked"?: string | undefined;
|
|
332
|
-
"checkbox-background-color-checked"?: string | undefined;
|
|
333
|
-
"labeled-text-color"?: string | undefined;
|
|
334
|
-
"label-background-color"?: string | undefined;
|
|
335
|
-
"select-background-color"?: string | undefined;
|
|
336
|
-
"select-background-color-hover"?: string | undefined;
|
|
337
|
-
"select-background-color-focus"?: string | undefined;
|
|
338
|
-
"select-border"?: string | undefined;
|
|
339
|
-
"select-border-hover"?: string | undefined;
|
|
340
|
-
"select-border-focus"?: string | undefined;
|
|
341
|
-
"select-color"?: string | undefined;
|
|
342
|
-
"select-color-hover"?: string | undefined;
|
|
343
|
-
"select-color-focus"?: string | undefined;
|
|
344
|
-
"popover-background-color"?: string | undefined;
|
|
345
|
-
"popover-border"?: string | undefined;
|
|
346
|
-
"popover-arrow-border-color"?: string | undefined;
|
|
347
|
-
"popup-background-color"?: string | undefined;
|
|
348
|
-
"menu-item-color"?: string | undefined;
|
|
349
|
-
"menu-item-color-active"?: string | undefined;
|
|
350
|
-
"menu-item-background-color"?: string | undefined;
|
|
351
|
-
"menu-item-background-color-active"?: string | undefined;
|
|
352
|
-
"menu-item-background-color-hover"?: string | undefined;
|
|
353
|
-
"list-divider"?: string | undefined;
|
|
354
|
-
"list-item-background-color-hover"?: string | undefined;
|
|
355
|
-
"empty-text-color"?: string | undefined;
|
|
356
|
-
"select-button-background-color"?: string | undefined;
|
|
357
|
-
"select-button-background-color-hover"?: string | undefined;
|
|
358
|
-
"tag-background-color"?: string | undefined;
|
|
359
|
-
"tag-color"?: string | undefined;
|
|
360
|
-
"tag-border-color"?: string | undefined;
|
|
361
|
-
"tag-error-background-color"?: string | undefined;
|
|
362
|
-
"tag-error-color"?: string | undefined;
|
|
363
|
-
"tag-error-border-color"?: string | undefined;
|
|
364
|
-
"slider-body-background-color"?: string | undefined;
|
|
365
|
-
"slider-body-background-color-hover"?: string | undefined;
|
|
366
|
-
"slider-body-background-color-focus"?: string | undefined;
|
|
367
|
-
"slider-thumb-background-color"?: string | undefined;
|
|
368
|
-
"slider-thumb-background-color-hover"?: string | undefined;
|
|
369
|
-
"slider-thumb-background-color-focus"?: string | undefined;
|
|
370
|
-
"slider-thumb-box-shadow"?: string | undefined;
|
|
371
|
-
"slider-value-background-color"?: string | undefined;
|
|
372
|
-
"slider-value-background-color-hover"?: string | undefined;
|
|
373
|
-
"slider-value-background-color-focus"?: string | undefined;
|
|
374
|
-
"progress-background-color"?: string | undefined;
|
|
375
|
-
"progress-value-color"?: string | undefined;
|
|
376
|
-
"radio-background-color"?: string | undefined;
|
|
377
|
-
"radio-background-color-active"?: string | undefined;
|
|
378
|
-
"radio-background-color-hover"?: string | undefined;
|
|
379
|
-
"radio-border"?: string | undefined;
|
|
380
|
-
"radio-border-active"?: string | undefined;
|
|
381
|
-
"radio-border-color-hover"?: string | undefined;
|
|
382
|
-
"radio-label-color"?: string | undefined;
|
|
383
|
-
"radio-label-color-active"?: string | undefined;
|
|
384
|
-
"radio-symbol-color"?: string | undefined;
|
|
385
|
-
"tab-color"?: string | undefined;
|
|
386
|
-
"tab-color-active"?: string | undefined;
|
|
387
|
-
"tab-segment-background-color"?: string | undefined;
|
|
388
|
-
"tab-segment-background-color-active"?: string | undefined;
|
|
389
|
-
"tab-segment-color"?: string | undefined;
|
|
390
|
-
"tab-segment-color-active"?: string | undefined;
|
|
391
|
-
"button-border"?: string | undefined;
|
|
392
|
-
"button-border-hover"?: string | undefined;
|
|
393
|
-
"button-border-focus"?: string | undefined;
|
|
394
|
-
"button-background-color"?: string | undefined;
|
|
395
|
-
"button-background-color-hover"?: string | undefined;
|
|
396
|
-
"button-background-color-focus"?: string | undefined;
|
|
397
|
-
"button-text-color"?: string | undefined;
|
|
398
|
-
"button-text-color-hover"?: string | undefined;
|
|
399
|
-
"button-text-color-focus"?: string | undefined;
|
|
400
|
-
"button-box-shadow"?: string | undefined;
|
|
401
|
-
"button-box-shadow-hover"?: string | undefined;
|
|
402
|
-
"button-secondary-border"?: string | undefined;
|
|
403
|
-
"button-secondary-border-hover"?: string | undefined;
|
|
404
|
-
"button-secondary-border-focus"?: string | undefined;
|
|
405
|
-
"button-secondary-background-color"?: string | undefined;
|
|
406
|
-
"button-secondary-background-color-hover"?: string | undefined;
|
|
407
|
-
"button-secondary-background-color-focus"?: string | undefined;
|
|
408
|
-
"button-secondary-text-color"?: string | undefined;
|
|
409
|
-
"button-secondary-text-color-hover"?: string | undefined;
|
|
410
|
-
"button-secondary-text-color-focus"?: string | undefined;
|
|
411
|
-
"button-secondary-box-shadow"?: string | undefined;
|
|
412
|
-
"button-secondary-box-shadow-hover"?: string | undefined;
|
|
413
|
-
"message-body-background-color"?: string | undefined;
|
|
414
|
-
"message-body-text-color"?: string | undefined;
|
|
415
|
-
"message-body-border"?: string | undefined;
|
|
416
|
-
"canvas-background-color"?: string | undefined;
|
|
417
|
-
"canvas-background-image"?: string | undefined;
|
|
418
|
-
"canvas-btn-background-color"?: string | undefined;
|
|
419
|
-
"canvas-btn-background-color-hover"?: string | undefined;
|
|
420
|
-
"canvas-btn-color"?: string | undefined;
|
|
421
|
-
"select-item-border"?: string | undefined;
|
|
422
|
-
"editor-view-background-color"?: string | undefined;
|
|
423
|
-
"fields-view-background-color"?: string | undefined;
|
|
424
|
-
"live-view-background-color"?: string | undefined;
|
|
425
|
-
"gallery-card-background-color"?: string | undefined;
|
|
426
|
-
"gallery-card-border"?: string | undefined;
|
|
427
|
-
"gallery-action-btn-background-color"?: string | undefined;
|
|
428
|
-
"gallery-action-btn-color"?: string | undefined;
|
|
429
|
-
"gallery-card-name-text-color"?: string | undefined;
|
|
430
|
-
"gallery-card-description-text-color"?: string | undefined;
|
|
431
|
-
"bluepic-embed-editor-border"?: string | undefined;
|
|
432
|
-
"bluepic-embed-editor-border-radius"?: string | undefined;
|
|
433
|
-
"tooltip-background-color"?: string | undefined;
|
|
434
|
-
"tooltip-text-color"?: string | undefined;
|
|
435
|
-
}>;
|
|
5
|
+
export declare function useTheme(bluepicAppWrapperSelector?: string, theme?: 'light' | 'dark' | 'auto', customThemeVars?: Partial<z.infer<typeof EmbedV2.customStyleSchema>>, interFontUrl?: string): any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bluepic/embed",
|
|
3
|
-
"version": "0.4.0-next.
|
|
3
|
+
"version": "0.4.0-next.97",
|
|
4
4
|
"description": "Bluepic embed sdk",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -52,15 +52,15 @@
|
|
|
52
52
|
"rimraf": "^6.0.0",
|
|
53
53
|
"sass-embedded": "^1.93.3",
|
|
54
54
|
"stripe": "^19.3.0",
|
|
55
|
+
"tsx": "^4.20.0",
|
|
55
56
|
"typescript": "^5.5.0",
|
|
56
57
|
"vite": "^5.4.0",
|
|
57
58
|
"vue": "^3.5.27",
|
|
58
59
|
"vue-tsc": "^2.0.0",
|
|
59
|
-
"zod": "4.1.12"
|
|
60
|
-
"tsx": "^4.20.0"
|
|
60
|
+
"zod": "4.1.12"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@bluepic/raster": "^0.1.
|
|
63
|
+
"@bluepic/raster": "^0.1.9",
|
|
64
64
|
"@floating-ui/vue": "^1.1.9",
|
|
65
65
|
"@vicons/ionicons5": "^0.13.0",
|
|
66
66
|
"@vueuse/core": "^14.0.0",
|
package/dist/css-UgpohNaw.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),c=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],d=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],m=[...c,...d],b=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),g=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),p=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),f=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function u(t){const o=t.regex,e=s(t),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},n="and or not only",a=/@-?\w[\w]*(-\w+)*/,l="[a-zA-Z-][a-zA-Z0-9_-]*",i=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[e.BLOCK_COMMENT,r,e.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+l,relevance:0},e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+g.join("|")+")"},{begin:":(:)?("+p.join("|")+")"}]},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+f.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[e.BLOCK_COMMENT,e.HEXCOLOR,e.IMPORTANT,e.CSS_NUMBER_MODE,...i,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...i,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},e.FUNCTION_DISPATCH]},{begin:o.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:a},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:n,attribute:b.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...i,e.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+m.join("|")+")\\b"}]}}exports.default=u;
|
package/dist/json-DEcHyC5F.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function s(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},a={match:/[{}[\],:]/,className:"punctuation",relevance:0},n=["true","false","null"],o={scope:"literal",beginKeywords:n.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:n},contains:[t,a,e.QUOTE_STRING_MODE,o,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}exports.default=s;
|
package/dist/scss-DpqvoUEp.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),s=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],c=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],d=[...s,...c],p=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),b=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),m=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),g=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function f(e){const t=l(e),r=m,n=b,o="@[a-z-]+",a="and or not only",i={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+d.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+n.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+r.join("|")+")"},i,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+g.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,i,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:o,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:a,attribute:p.join(" ")},contains:[{begin:o,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},i,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}exports.default=f;
|