@vonage/vivid 3.25.0 → 3.27.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/README.md +2 -0
- package/accordion/index.js +0 -1
- package/accordion-item/index.js +0 -1
- package/alert/index.js +0 -1
- package/avatar/index.js +0 -1
- package/badge/index.js +0 -1
- package/banner/index.js +0 -1
- package/breadcrumb-item/index.js +0 -1
- package/button/index.js +0 -1
- package/card/index.js +0 -1
- package/checkbox/index.js +0 -1
- package/combobox/index.js +0 -1
- package/custom-elements.json +335 -1
- package/data-grid/index.js +7 -2
- package/dialog/index.js +0 -1
- package/empty-state/index.js +0 -1
- package/fab/index.js +0 -1
- package/file-picker/index.js +26 -0
- package/header/index.js +1 -1
- package/icon/index.js +0 -1
- package/index.js +5 -6
- package/layout/index.js +1 -1
- package/lib/components.d.ts +1 -3
- package/lib/data-grid/data-grid-cell.d.ts +14 -1
- package/lib/data-grid/data-grid.options.d.ts +7 -0
- package/lib/file-picker/definition.d.ts +3 -0
- package/lib/file-picker/file-picker.d.ts +22 -0
- package/lib/file-picker/file-picker.template.d.ts +4 -0
- package/lib/file-picker/index.d.ts +1 -0
- package/lib/menu/menu.d.ts +1 -0
- package/listbox/index.js +56 -11
- package/menu/index.js +0 -1
- package/menu-item/index.js +0 -1
- package/nav-disclosure/index.js +0 -1
- package/nav-item/index.js +0 -1
- package/note/index.js +0 -1
- package/number-field/index.js +0 -1
- package/option/index.js +0 -1
- package/package.json +2 -1
- package/pagination/index.js +0 -1
- package/popup/index.js +0 -1
- package/select/index.js +0 -1
- package/shared/definition.js +1 -1
- package/shared/definition10.js +1 -1
- package/shared/definition11.js +1 -1
- package/shared/definition12.js +1 -1
- package/shared/definition14.js +1 -1
- package/shared/definition15.js +1 -1
- package/shared/definition16.js +2 -2
- package/shared/definition17.js +1 -1
- package/shared/definition18.js +1 -1
- package/shared/definition19.js +1 -1
- package/shared/definition2.js +1 -1
- package/shared/definition20.js +1 -1
- package/shared/definition21.js +1 -1
- package/shared/definition22.js +68 -21
- package/shared/definition23.js +1 -1
- package/shared/definition24.js +1 -1
- package/shared/definition25.js +1 -1
- package/shared/definition26.js +1 -1
- package/shared/definition27.js +2285 -45
- package/shared/definition28.js +46 -36
- package/shared/definition29.js +39 -49
- package/shared/definition30.js +16 -3
- package/shared/definition31.js +5 -6
- package/shared/definition33.js +1 -1
- package/shared/definition34.js +1 -1
- package/shared/definition35.js +1 -1
- package/shared/definition36.js +1 -1
- package/shared/definition37.js +2 -2
- package/shared/definition38.js +2 -2
- package/shared/definition39.js +1 -1
- package/shared/definition4.js +1 -1
- package/shared/definition40.js +1 -1
- package/shared/definition41.js +1 -1
- package/shared/definition42.js +1 -1
- package/shared/definition43.js +1 -1
- package/shared/definition44.js +1 -1
- package/shared/definition45.js +1 -1
- package/shared/definition47.js +1 -1
- package/shared/definition48.js +1 -1
- package/shared/definition5.js +1 -1
- package/shared/definition50.js +1 -1
- package/shared/definition51.js +5 -7
- package/shared/definition52.js +2 -2
- package/shared/definition53.js +1 -1
- package/shared/definition54.js +1 -1
- package/shared/definition6.js +1 -1
- package/shared/definition7.js +4 -3
- package/shared/definition8.js +1 -1
- package/shared/definition9.js +1 -1
- package/shared/es.object.assign.js +1 -1
- package/shared/es.regexp.to-string.js +1 -1
- package/shared/es.string.includes.js +1 -1
- package/shared/form-elements.js +1 -1
- package/shared/icon.js +17 -13
- package/shared/index.js +1 -1
- package/shared/patterns/form-elements/form-elements.d.ts +4 -4
- package/shared/string-trim.js +1 -1
- package/shared/text-field.js +1 -1
- package/shared/to-string.js +1 -1
- package/styles/core/all.css +1 -1
- package/styles/core/theme.css +1 -1
- package/styles/core/typography.css +1 -1
- package/styles/tokens/theme-dark.css +4 -4
- package/styles/tokens/theme-light.css +4 -4
- package/switch/index.js +0 -1
- package/tab/index.js +0 -1
- package/tabs/index.js +0 -1
- package/tag/index.js +0 -1
- package/text-anchor/index.js +0 -1
- package/text-area/index.js +0 -1
- package/text-field/index.js +0 -1
- package/toggletip/index.js +0 -1
- package/tooltip/index.js +0 -1
- package/tree-item/index.js +0 -1
- package/vivid.api.json +135 -928
- package/shared/engine-is-node.js +0 -8
package/shared/icon.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import { w as wellKnownSymbol$6,
|
|
2
|
-
import {
|
|
3
|
-
import { c as classof$2 } from './to-string.js';
|
|
1
|
+
import { c as classofRaw$1, g as global$8, w as wellKnownSymbol$6, d as getBuiltIn$5, f as objectDefineProperty, i as descriptors, j as objectIsPrototypeOf, k as functionUncurryThis, l as fails$4, m as isCallable$6, p as inspectSource$2, t as tryToString$3, q as anObject$5, s as isNullOrUndefined$2, u as functionBindNative, v as aCallable$6, x as engineUserAgent, y as html$1, z as documentCreateElement, B as hasOwnProperty_1, C as objectGetOwnPropertyDescriptor, D as isForced_1, E as engineV8Version, G as _export, H as defineBuiltIn$3, I as objectSetPrototypeOf, J as setToStringTag$1, K as functionCall, L as internalState, M as isObject$2, N as iterators, P as getMethod$2, Q as lengthOfArrayLike$1, R as functionName, F as FoundationElement, _ as __decorate, a as attr, b as __metadata, o as observable, S as volatile } from './index.js';
|
|
2
|
+
import { c as classof$3 } from './to-string.js';
|
|
4
3
|
import { w as whitespaces$1, s as stringTrim } from './string-trim.js';
|
|
5
4
|
import { _ as _curry1, a as _curry2, b as _has } from './_has.js';
|
|
6
5
|
|
|
6
|
+
var classof$2 = classofRaw$1;
|
|
7
|
+
var global$7 = global$8;
|
|
8
|
+
|
|
9
|
+
var engineIsNode = classof$2(global$7.process) == 'process';
|
|
10
|
+
|
|
7
11
|
var getBuiltIn$4 = getBuiltIn$5;
|
|
8
12
|
var definePropertyModule = objectDefineProperty;
|
|
9
13
|
var wellKnownSymbol$5 = wellKnownSymbol$6;
|
|
@@ -35,7 +39,7 @@ var anInstance$1 = function (it, Prototype) {
|
|
|
35
39
|
var uncurryThis$3 = functionUncurryThis;
|
|
36
40
|
var fails$3 = fails$4;
|
|
37
41
|
var isCallable$5 = isCallable$6;
|
|
38
|
-
var classof$1 = classof$
|
|
42
|
+
var classof$1 = classof$3;
|
|
39
43
|
var getBuiltIn$3 = getBuiltIn$5;
|
|
40
44
|
var inspectSource$1 = inspectSource$2;
|
|
41
45
|
|
|
@@ -161,7 +165,7 @@ var userAgent$2 = engineUserAgent;
|
|
|
161
165
|
|
|
162
166
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
163
167
|
|
|
164
|
-
var global$6 = global$
|
|
168
|
+
var global$6 = global$8;
|
|
165
169
|
var apply = functionApply;
|
|
166
170
|
var bind$3 = functionBindContext;
|
|
167
171
|
var isCallable$4 = isCallable$6;
|
|
@@ -279,7 +283,7 @@ var task$1 = {
|
|
|
279
283
|
};
|
|
280
284
|
|
|
281
285
|
var userAgent$1 = engineUserAgent;
|
|
282
|
-
var global$5 = global$
|
|
286
|
+
var global$5 = global$8;
|
|
283
287
|
|
|
284
288
|
var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$5.Pebble !== undefined;
|
|
285
289
|
|
|
@@ -287,7 +291,7 @@ var userAgent = engineUserAgent;
|
|
|
287
291
|
|
|
288
292
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
289
293
|
|
|
290
|
-
var global$4 = global$
|
|
294
|
+
var global$4 = global$8;
|
|
291
295
|
var bind$2 = functionBindContext;
|
|
292
296
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
293
297
|
var macrotask = task$1.set;
|
|
@@ -373,7 +377,7 @@ var microtask$1 = queueMicrotask || function (fn) {
|
|
|
373
377
|
} last = task;
|
|
374
378
|
};
|
|
375
379
|
|
|
376
|
-
var global$3 = global$
|
|
380
|
+
var global$3 = global$8;
|
|
377
381
|
|
|
378
382
|
var hostReportErrors$1 = function (a, b) {
|
|
379
383
|
var console = global$3.console;
|
|
@@ -414,7 +418,7 @@ Queue$1.prototype = {
|
|
|
414
418
|
|
|
415
419
|
var queue = Queue$1;
|
|
416
420
|
|
|
417
|
-
var global$2 = global$
|
|
421
|
+
var global$2 = global$8;
|
|
418
422
|
|
|
419
423
|
var promiseNativeConstructor = global$2.Promise;
|
|
420
424
|
|
|
@@ -429,7 +433,7 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
|
|
|
429
433
|
&& typeof window == 'object'
|
|
430
434
|
&& typeof document == 'object';
|
|
431
435
|
|
|
432
|
-
var global$1 = global$
|
|
436
|
+
var global$1 = global$8;
|
|
433
437
|
var NativePromiseConstructor$4 = promiseNativeConstructor;
|
|
434
438
|
var isCallable$3 = isCallable$6;
|
|
435
439
|
var isForced = isForced_1;
|
|
@@ -499,7 +503,7 @@ newPromiseCapability$2.f = function (C) {
|
|
|
499
503
|
|
|
500
504
|
var $$7 = _export;
|
|
501
505
|
var IS_NODE = engineIsNode;
|
|
502
|
-
var global = global$
|
|
506
|
+
var global = global$8;
|
|
503
507
|
var call$6 = functionCall;
|
|
504
508
|
var defineBuiltIn$2 = defineBuiltIn$3;
|
|
505
509
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
@@ -795,7 +799,7 @@ var isArrayIteratorMethod$1 = function (it) {
|
|
|
795
799
|
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$2] === it);
|
|
796
800
|
};
|
|
797
801
|
|
|
798
|
-
var classof = classof$
|
|
802
|
+
var classof = classof$3;
|
|
799
803
|
var getMethod$1 = getMethod$2;
|
|
800
804
|
var isNullOrUndefined = isNullOrUndefined$2;
|
|
801
805
|
var Iterators = iterators;
|
|
@@ -1375,4 +1379,4 @@ __decorate([observable, __metadata("design:type", Object)], Icon.prototype, "ico
|
|
|
1375
1379
|
__decorate([attr, __metadata("design:type", String)], Icon.prototype, "name", void 0);
|
|
1376
1380
|
__decorate([volatile, __metadata("design:type", Object), __metadata("design:paramtypes", [])], Icon.prototype, "iconUrl", null);
|
|
1377
1381
|
|
|
1378
|
-
export { Icon as I, functionApply as a, functionUncurryThisClause as f };
|
|
1382
|
+
export { Icon as I, functionApply as a, engineIsNode as e, functionUncurryThisClause as f };
|
package/shared/index.js
CHANGED
|
@@ -6567,4 +6567,4 @@ const defaultPrefix = 'vwc';
|
|
|
6567
6567
|
const designSystem = DesignSystem.getOrCreate();
|
|
6568
6568
|
const registerFactory = registries => (prefix = defaultPrefix) => designSystem.withPrefix(prefix).register(...registries);
|
|
6569
6569
|
|
|
6570
|
-
export { HTMLDirective as $, AttachedBehaviorHTMLDirective as A, hasOwnProperty_1 as B, objectGetOwnPropertyDescriptor as C, isForced_1 as D, engineV8Version as E, FoundationElement as F, _export as G, defineBuiltIn$3 as H, objectSetPrototypeOf as I, setToStringTag$2 as J, functionCall as K, internalState as L, isObject$7 as M, iterators as N, Observable as O, getMethod$1 as P, lengthOfArrayLike$1 as Q, functionName as R, volatile as S, AttributeConfiguration as T, requireObjectCoercible$2 as U, __classPrivateFieldGet as V, __classPrivateFieldSet as W, booleanConverter as X, DOM as Y, SubscriberSet as Z, __decorate as _, attr as a, HTMLView as a0, objectKeys$1 as a1, toObject$2 as a2, indexedObject as a3, objectGetOwnPropertySymbols as a4, objectPropertyIsEnumerable as a5, copyConstructorProperties$1 as a6, addToUnscopables$1 as a7, arrayIncludes as a8, shared$3 as a9, objectCreate as aa, createNonEnumerableProperty$4 as ab, toIntegerOrInfinity$2 as ac, toLength$1 as ad, designSystem as ae, __metadata as b,
|
|
6570
|
+
export { HTMLDirective as $, AttachedBehaviorHTMLDirective as A, hasOwnProperty_1 as B, objectGetOwnPropertyDescriptor as C, isForced_1 as D, engineV8Version as E, FoundationElement as F, _export as G, defineBuiltIn$3 as H, objectSetPrototypeOf as I, setToStringTag$2 as J, functionCall as K, internalState as L, isObject$7 as M, iterators as N, Observable as O, getMethod$1 as P, lengthOfArrayLike$1 as Q, functionName as R, volatile as S, AttributeConfiguration as T, requireObjectCoercible$2 as U, __classPrivateFieldGet as V, __classPrivateFieldSet as W, booleanConverter as X, DOM as Y, SubscriberSet as Z, __decorate as _, attr as a, HTMLView as a0, objectKeys$1 as a1, toObject$2 as a2, indexedObject as a3, objectGetOwnPropertySymbols as a4, objectPropertyIsEnumerable as a5, copyConstructorProperties$1 as a6, addToUnscopables$1 as a7, arrayIncludes as a8, shared$3 as a9, objectCreate as aa, createNonEnumerableProperty$4 as ab, toIntegerOrInfinity$2 as ac, toLength$1 as ad, designSystem as ae, __metadata as b, classofRaw as c, getBuiltIn$4 as d, emptyArray as e, objectDefineProperty as f, global$b as g, html as h, descriptors as i, objectIsPrototypeOf as j, functionUncurryThis as k, fails$a as l, isCallable$e as m, nullableNumberConverter as n, observable as o, inspectSource$1 as p, anObject$5 as q, registerFactory as r, isNullOrUndefined$2 as s, tryToString$1 as t, functionBindNative as u, aCallable$1 as v, wellKnownSymbol$6 as w, engineUserAgent as x, html$2 as y, documentCreateElement$2 as z };
|
|
@@ -33,10 +33,10 @@ export declare function formElements<T extends {
|
|
|
33
33
|
[x: string]: any;
|
|
34
34
|
label?: string | undefined;
|
|
35
35
|
userValid: boolean;
|
|
36
|
-
"__#
|
|
36
|
+
"__#10354@#blurred": boolean;
|
|
37
37
|
readonly errorValidationMessage: any;
|
|
38
38
|
connectedCallback(): void;
|
|
39
|
-
"__#
|
|
39
|
+
"__#10354@#handleInvalidEvent": () => void;
|
|
40
40
|
disconnectedCallback(): void;
|
|
41
41
|
validate: () => void;
|
|
42
42
|
};
|
|
@@ -49,8 +49,8 @@ export declare function errorText<T extends {
|
|
|
49
49
|
new (...args: any[]): {
|
|
50
50
|
[x: string]: any;
|
|
51
51
|
errorText?: string | undefined;
|
|
52
|
-
"__#
|
|
53
|
-
"__#
|
|
52
|
+
"__#10355@#shouldValidate": boolean;
|
|
53
|
+
"__#10355@#prevSuccessText": string;
|
|
54
54
|
errorTextChanged(_: string, newmsg: string | undefined): void;
|
|
55
55
|
};
|
|
56
56
|
} & T;
|
package/shared/string-trim.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { k as functionUncurryThis, U as requireObjectCoercible$1 } from './index.js';
|
|
2
2
|
import { t as toString$1 } from './to-string.js';
|
|
3
3
|
|
|
4
4
|
// a string of all valid unicode whitespaces
|
package/shared/text-field.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var css_248z = "/**\n * Do not edit directly\n * Generated on Thu,
|
|
1
|
+
var css_248z = "/**\n * Do not edit directly\n * Generated on Thu, 03 Aug 2023 09:40:18 GMT\n */\n:host {\n display: inline-block;\n}\n\n.base {\n --_text-field-gutter: calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2))) / 2.5);\n --_text-field-icon-size: calc(calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2))) / 2);\n display: inline-grid;\n width: 100%;\n gap: 4px;\n grid-template-columns: min-content 1fr max-content;\n}\n.base {\n --_appearance-color-text: var(--vvd-color-canvas-text);\n --_appearance-color-fill: var(--_connotation-color-backdrop);\n --_appearance-color-outline: var(--_connotation-color-intermediate);\n}\n.base.appearance-ghost {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: transparent;\n --_appearance-color-outline: transparent;\n}\n.base:where(:hover, .hover):where(:not(:disabled, .disabled, .readonly)) {\n --_appearance-color-text: var(--vvd-color-canvas-text);\n --_appearance-color-fill: var(--_connotation-color-backdrop);\n --_appearance-color-outline: var(--_connotation-color-firm);\n}\n.base:where(:hover, .hover):where(:not(:disabled, .disabled, .readonly)).appearance-ghost {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: var(--_connotation-color-faint);\n --_appearance-color-outline: transparent;\n}\n.base:where(:disabled, .disabled) {\n --_appearance-color-text: var(--vvd-color-neutral-300);\n --_appearance-color-fill: var(--vvd-color-neutral-100);\n --_appearance-color-outline: var(--vvd-color-neutral-300);\n}\n.base:where(:disabled, .disabled).appearance-ghost {\n --_appearance-color-text: var(--vvd-color-neutral-300);\n --_appearance-color-fill: transparent;\n --_appearance-color-outline: transparent;\n}\n.base:where(.readonly):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--vvd-color-canvas-text);\n --_appearance-color-fill: var(--vvd-color-neutral-200);\n --_appearance-color-outline: var(--vvd-color-neutral-400);\n}\n.base:where(.readonly):where(:not(:disabled, .disabled)).appearance-ghost {\n --_appearance-color-text: var(--vvd-color-neutral-600);\n --_appearance-color-fill: transparent;\n --_appearance-color-outline: transparent;\n}\n.base.connotation-success {\n /* @cssprop [--vvd-text-field-success-primary=var(--vvd-color-success-500)] */\n --_connotation-color-primary: var(--vvd-text-field-success-primary, var(--vvd-color-success-500));\n /* @cssprop [--vvd-text-field-success-backdrop=var(--vvd-color-success-50)] */\n --_connotation-color-backdrop: var(--vvd-text-field-success-backdrop, var(--vvd-color-success-50));\n /* @cssprop [--vvd-text-field-success-intermediate=var(--vvd-color-success-500)] */\n --_connotation-color-intermediate: var(--vvd-text-field-success-intermediate, var(--vvd-color-success-500));\n /* @cssprop [--vvd-text-field-success-firm=var(--vvd-color-success-600)] */\n --_connotation-color-firm: var(--vvd-text-field-success-firm, var(--vvd-color-success-600));\n /* @cssprop [--vvd-text-field-success-faint=var(--vvd-color-success-50)] */\n --_connotation-color-faint: var(--vvd-text-field-success-faint, var(--vvd-color-success-50));\n /* @cssprop [--vvd-text-field-success-soft=var(--vvd-color-success-100)] */\n --_connotation-color-soft: var(--vvd-text-field-success-soft, var(--vvd-color-success-100));\n}\n.base.connotation-alert {\n /* @cssprop [--vvd-text-field-alert-primary=var(--vvd-color-alert-500)] */\n --_connotation-color-primary: var(--vvd-text-field-alert-primary, var(--vvd-color-alert-500));\n /* @cssprop [--vvd-text-field-alert-backdrop=var(--vvd-color-alert-50)] */\n --_connotation-color-backdrop: var(--vvd-text-field-alert-backdrop, var(--vvd-color-alert-50));\n /* @cssprop [--vvd-text-field-alert-intermediate=var(--vvd-color-alert-500)] */\n --_connotation-color-intermediate: var(--vvd-text-field-alert-intermediate, var(--vvd-color-alert-500));\n /* @cssprop [--vvd-text-field-alert-firm=var(--vvd-color-alert-600)] */\n --_connotation-color-firm: var(--vvd-text-field-alert-firm, var(--vvd-color-alert-600));\n /* @cssprop [--vvd-text-field-alert-faint=var(--vvd-color-alert-50)] */\n --_connotation-color-faint: var(--vvd-text-field-alert-faint, var(--vvd-color-alert-50));\n /* @cssprop [--vvd-text-field-alert-soft=var(--vvd-color-alert-100)] */\n --_connotation-color-soft: var(--vvd-text-field-alert-soft, var(--vvd-color-alert-100));\n}\n.base:not(.connotation-success, .connotation-alert) {\n /* @cssprop [--vvd-text-field-accent-primary=var(--vvd-color-canvas-text)] */\n --_connotation-color-primary: var(--vvd-text-field-accent-primary, var(--vvd-color-canvas-text));\n /* @cssprop [--vvd-text-field-accent-backdrop=var(--vvd-color-canvas)] */\n --_connotation-color-backdrop: var(--vvd-text-field-accent-backdrop, var(--vvd-color-canvas));\n /* @cssprop [--vvd-text-field-accent-intermediate=var(--vvd-color-neutral-500)] */\n --_connotation-color-intermediate: var(--vvd-text-field-accent-intermediate, var(--vvd-color-neutral-500));\n /* @cssprop [--vvd-text-field-accent-firm=var(--vvd-color-canvas-text)] */\n --_connotation-color-firm: var(--vvd-text-field-accent-firm, var(--vvd-color-canvas-text));\n /* @cssprop [--vvd-text-field-accent-faint=var(--vvd-color-neutral-50)] */\n --_connotation-color-faint: var(--vvd-text-field-accent-faint, var(--vvd-color-neutral-50));\n /* @cssprop [--vvd-text-field-accent-soft=var(--vvd-color-neutral-100)] */\n --_connotation-color-soft: var(--vvd-text-field-accent-soft, var(--vvd-color-neutral-100));\n}\n@supports (user-select: none) {\n .base {\n user-select: none;\n }\n}\n.base:not(.disabled) {\n --_low-ink-color: var(--vvd-color-neutral-600);\n}\n.base.disabled {\n --_low-ink-color: var(--_appearance-color-text);\n}\n\n.label {\n color: var(--vvd-color-canvas-text);\n contain: inline-size;\n font: var(--vvd-typography-base);\n grid-column: 1/4;\n grid-row: 1;\n}\n.char-count + .label {\n grid-column: 1/3;\n}\n\n.char-count {\n color: var(--_low-ink-color);\n font: var(--vvd-typography-base);\n grid-column: 3/4;\n}\n\n.fieldset {\n position: relative;\n display: flex;\n align-items: center;\n background-color: var(--_appearance-color-fill);\n box-shadow: inset 0 0 0 1px var(--_appearance-color-outline);\n font: var(--vvd-typography-base);\n grid-column: 1/4;\n padding-block: 0;\n transition: color 0.2s, box-shadow 0.2s, background-color 0.2s;\n /* Shape */\n}\n.base > .fieldset {\n block-size: calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2)));\n}\n.base:not(.shape-pill) .fieldset {\n border-radius: 6px;\n}\n.base.shape-pill .fieldset {\n border-radius: 24px;\n}\n\n.wrapper {\n position: relative;\n block-size: 100%;\n border-radius: inherit;\n inline-size: 100%;\n}\n\n.control {\n width: 100%;\n box-sizing: border-box;\n border: 0 none;\n appearance: none; /* for box-shadow visibility on IOS */\n background-color: transparent;\n block-size: 100%;\n border-radius: inherit;\n color: inherit;\n font: inherit;\n padding-block: 0;\n padding-inline-end: var(--_text-field-gutter);\n padding-inline-start: var(--_text-field-gutter);\n}\n.control:disabled {\n cursor: not-allowed;\n opacity: 1; /* 2. correct opacity on iOS */\n -webkit-text-fill-color: var(--_appearance-color-text); /* 1. sets text fill to current `color` for safari */\n}\n.control::placeholder, .control:disabled::placeholder {\n opacity: 1; /* 2. correct opacity on iOS */\n -webkit-text-fill-color: var(--_low-ink-color); /* 1. sets text fill to current `color` for safari */\n}\n.base.action-items .control {\n padding-inline-end: var(--text-field-inline-end-padding, calc(var(--_text-field-icon-size) + var(--_text-field-gutter)));\n}\n@supports selector(:focus-visible) {\n .control:focus {\n outline: none;\n }\n}\n\n.action-items-wrapper {\n position: absolute;\n inset-inline-end: calc(var(--_text-field-gutter) / 4);\n}\n.base:not(.action-items) .action-items-wrapper {\n display: none;\n}\n\n.icon {\n position: absolute;\n z-index: 1;\n color: var(--_low-ink-color);\n font-size: var(--_text-field-icon-size);\n inset-inline-start: var(--_text-field-gutter);\n line-height: 1;\n}\n.icon + .wrapper .control {\n padding-inline-start: calc(var(--_text-field-icon-size) + var(--_text-field-gutter) * 2);\n}\n\n.focus-indicator {\n --focus-stroke-gap-color: transparent;\n pointer-events: none;\n}\n.wrapper:not(:focus-visible, :focus-within) > .focus-indicator, .fieldset:not(:focus-visible, :focus-within) > .focus-indicator {\n display: none;\n}";
|
|
2
2
|
|
|
3
3
|
export { css_248z as c };
|
package/shared/to-string.js
CHANGED
package/styles/core/all.css
CHANGED
package/styles/core/theme.css
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Thu,
|
|
3
|
+
* Generated on Thu, 03 Aug 2023 09:40:18 GMT
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* Do not edit directly
|
|
7
|
-
* Generated on Thu,
|
|
7
|
+
* Generated on Thu, 03 Aug 2023 09:40:18 GMT
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
10
|
* Do not edit directly
|
|
11
|
-
* Generated on Thu,
|
|
11
|
+
* Generated on Thu, 03 Aug 2023 09:40:18 GMT
|
|
12
12
|
*/
|
|
13
13
|
/**
|
|
14
14
|
* Do not edit directly
|
|
15
|
-
* Generated on Thu,
|
|
15
|
+
* Generated on Thu, 03 Aug 2023 09:40:18 GMT
|
|
16
16
|
*/
|
|
17
17
|
@property --vvd-size-density {
|
|
18
18
|
syntax: "<integer>";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Thu,
|
|
3
|
+
* Generated on Thu, 03 Aug 2023 09:40:18 GMT
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* Do not edit directly
|
|
7
|
-
* Generated on Thu,
|
|
7
|
+
* Generated on Thu, 03 Aug 2023 09:40:18 GMT
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
10
|
* Do not edit directly
|
|
11
|
-
* Generated on Thu,
|
|
11
|
+
* Generated on Thu, 03 Aug 2023 09:40:18 GMT
|
|
12
12
|
*/
|
|
13
13
|
/**
|
|
14
14
|
* Do not edit directly
|
|
15
|
-
* Generated on Thu,
|
|
15
|
+
* Generated on Thu, 03 Aug 2023 09:40:18 GMT
|
|
16
16
|
*/
|
|
17
17
|
@property --vvd-size-density {
|
|
18
18
|
syntax: "<integer>";
|
package/switch/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { r as registerSwitch } from '../shared/definition44.js';
|
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/definition3.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
|
-
import '../shared/engine-is-node.js';
|
|
6
5
|
import '../shared/to-string.js';
|
|
7
6
|
import '../shared/string-trim.js';
|
|
8
7
|
import '../shared/_has.js';
|
package/tab/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { r as registerTab } from '../shared/definition45.js';
|
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/definition3.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
|
-
import '../shared/engine-is-node.js';
|
|
6
5
|
import '../shared/to-string.js';
|
|
7
6
|
import '../shared/string-trim.js';
|
|
8
7
|
import '../shared/_has.js';
|
package/tabs/index.js
CHANGED
|
@@ -3,7 +3,6 @@ import '../shared/index.js';
|
|
|
3
3
|
import '../shared/definition45.js';
|
|
4
4
|
import '../shared/definition3.js';
|
|
5
5
|
import '../shared/icon.js';
|
|
6
|
-
import '../shared/engine-is-node.js';
|
|
7
6
|
import '../shared/to-string.js';
|
|
8
7
|
import '../shared/string-trim.js';
|
|
9
8
|
import '../shared/_has.js';
|
package/tag/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { r as registerTag } from '../shared/definition48.js';
|
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/definition3.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
|
-
import '../shared/engine-is-node.js';
|
|
6
5
|
import '../shared/to-string.js';
|
|
7
6
|
import '../shared/string-trim.js';
|
|
8
7
|
import '../shared/_has.js';
|
package/text-anchor/index.js
CHANGED
|
@@ -3,7 +3,6 @@ import { T as TextAnchor } from '../shared/text-anchor.js';
|
|
|
3
3
|
import { t as textAnchorTemplate } from '../shared/text-anchor.template.js';
|
|
4
4
|
import '../shared/affix.js';
|
|
5
5
|
import '../shared/icon.js';
|
|
6
|
-
import '../shared/engine-is-node.js';
|
|
7
6
|
import '../shared/to-string.js';
|
|
8
7
|
import '../shared/string-trim.js';
|
|
9
8
|
import '../shared/_has.js';
|
package/text-area/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { r as registerTextArea } from '../shared/definition50.js';
|
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/definition3.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
|
-
import '../shared/engine-is-node.js';
|
|
6
5
|
import '../shared/to-string.js';
|
|
7
6
|
import '../shared/string-trim.js';
|
|
8
7
|
import '../shared/_has.js';
|
package/text-field/index.js
CHANGED
|
@@ -4,7 +4,6 @@ import '../shared/definition4.js';
|
|
|
4
4
|
import '../shared/focus.js';
|
|
5
5
|
import '../shared/definition3.js';
|
|
6
6
|
import '../shared/icon.js';
|
|
7
|
-
import '../shared/engine-is-node.js';
|
|
8
7
|
import '../shared/to-string.js';
|
|
9
8
|
import '../shared/string-trim.js';
|
|
10
9
|
import '../shared/_has.js';
|
package/toggletip/index.js
CHANGED
|
@@ -4,7 +4,6 @@ import '../shared/definition20.js';
|
|
|
4
4
|
import '../shared/definition7.js';
|
|
5
5
|
import '../shared/definition3.js';
|
|
6
6
|
import '../shared/icon.js';
|
|
7
|
-
import '../shared/engine-is-node.js';
|
|
8
7
|
import '../shared/to-string.js';
|
|
9
8
|
import '../shared/string-trim.js';
|
|
10
9
|
import '../shared/_has.js';
|
package/tooltip/index.js
CHANGED
|
@@ -4,7 +4,6 @@ import '../shared/definition20.js';
|
|
|
4
4
|
import '../shared/definition7.js';
|
|
5
5
|
import '../shared/definition3.js';
|
|
6
6
|
import '../shared/icon.js';
|
|
7
|
-
import '../shared/engine-is-node.js';
|
|
8
7
|
import '../shared/to-string.js';
|
|
9
8
|
import '../shared/string-trim.js';
|
|
10
9
|
import '../shared/_has.js';
|
package/tree-item/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { r as registerTreeItem } from '../shared/definition54.js';
|
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/definition3.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
|
-
import '../shared/engine-is-node.js';
|
|
6
5
|
import '../shared/to-string.js';
|
|
7
6
|
import '../shared/string-trim.js';
|
|
8
7
|
import '../shared/_has.js';
|