@vonage/vivid 3.0.0-next.81 → 3.0.0-next.83

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.
Files changed (50) hide show
  1. package/accordion/index.js +1 -1
  2. package/accordion-item/index.js +1 -1
  3. package/action-group/index.js +1 -1
  4. package/avatar/index.js +1 -1
  5. package/badge/index.js +1 -1
  6. package/banner/index.js +1 -1
  7. package/breadcrumb-item/index.js +1 -1
  8. package/calendar/index.js +1 -1
  9. package/calendar-event/index.js +1 -1
  10. package/card/index.js +1 -1
  11. package/checkbox/index.js +1 -1
  12. package/dialog/index.js +1 -1
  13. package/divider/index.js +1 -0
  14. package/fab/index.js +1 -1
  15. package/focus/index.js +1 -1
  16. package/header/index.js +1 -1
  17. package/index.js +4 -0
  18. package/lib/components.d.ts +1 -0
  19. package/lib/radio-group/index.d.ts +10 -0
  20. package/lib/radio-group/radio-group.d.ts +4 -0
  21. package/lib/radio-group/radio-group.template.d.ts +4 -0
  22. package/menu/index.js +1 -0
  23. package/menu-item/index.js +1 -0
  24. package/nav-disclosure/index.js +1 -1
  25. package/nav-item/index.js +1 -1
  26. package/note/index.js +1 -1
  27. package/number-field/index.js +2 -1
  28. package/package.json +2 -1
  29. package/progress/index.js +1 -1
  30. package/progress-ring/index.js +1 -1
  31. package/radio/index.js +5 -127
  32. package/radio-group/index.js +436 -0
  33. package/shared/aria.js +9 -0
  34. package/shared/direction.js +20 -0
  35. package/shared/form-elements.js +1 -1
  36. package/shared/index2.js +1 -1
  37. package/shared/index4.js +2 -9
  38. package/shared/index6.js +2 -20
  39. package/shared/key-codes.js +7 -1
  40. package/shared/patterns/form-elements/form-elements.d.ts +1 -1
  41. package/shared/radio.js +128 -0
  42. package/side-drawer/index.js +1 -1
  43. package/styles/core/all.css +14 -14
  44. package/styles/core/theme.css +1 -1
  45. package/styles/core/typography.css +14 -14
  46. package/styles/tokens/theme-dark.css +41 -28
  47. package/styles/tokens/theme-light.css +41 -28
  48. package/text-area/index.js +1 -1
  49. package/text-field/index.js +1 -1
  50. package/tooltip/index.js +1 -1
package/shared/index4.js CHANGED
@@ -1,14 +1,7 @@
1
1
  import { F as FoundationElement, _ as __decorate, a as attr, h as html, d as designSystem } from './index.js';
2
+ import { O as Orientation } from './aria.js';
2
3
  import { c as classNames } from './class-names.js';
3
4
 
4
- /**
5
- * Standard orientation values
6
- */
7
- const Orientation = {
8
- horizontal: "horizontal",
9
- vertical: "vertical",
10
- };
11
-
12
5
  /**
13
6
  * Divider roles
14
7
  * @public
@@ -58,7 +51,7 @@ __decorate([
58
51
  attr
59
52
  ], Divider$1.prototype, "orientation", void 0);
60
53
 
61
- var css_248z = "/**\n * Do not edit directly\n * Generated on Mon, 24 Oct 2022 13:21:54 GMT\n */\n:host {\n display: block;\n}\n\n.base {\n display: block;\n background-color: var(--vvd-color-neutral-200);\n}\n.base:not(.vertical) {\n block-size: 1px;\n inline-size: 100%;\n}\n.base.vertical {\n block-size: 100%;\n inline-size: 1px;\n}";
54
+ var css_248z = "/**\n * Do not edit directly\n * Generated on Sat, 29 Oct 2022 09:46:17 GMT\n */\n:host {\n display: block;\n}\n\n.base {\n display: block;\n background-color: var(--vvd-color-neutral-200);\n}\n.base:not(.vertical) {\n block-size: 1px;\n inline-size: 100%;\n}\n.base.vertical {\n block-size: 100%;\n inline-size: 1px;\n}";
62
55
 
63
56
  class Divider extends Divider$1 {}
64
57
 
package/shared/index6.js CHANGED
@@ -2,31 +2,13 @@ import '../icon/index.js';
2
2
  import { F as FoundationElement, D as DOM, _ as __decorate, a as attr, o as observable, b as __metadata, h as html, d as designSystem } from './index.js';
3
3
  import { b as AffixIcon, a as affixIconTemplateFactory } from './affix.js';
4
4
  import { S as StartEnd } from './start-end.js';
5
+ import { D as Direction, g as getDirection } from './direction.js';
5
6
  import { a as applyMixins } from './apply-mixins.js';
6
7
  import { g as keyArrowLeft, h as keyArrowRight, a as keySpace, k as keyEnter } from './key-codes.js';
7
8
  import { f as focusTemplateFactory } from './focus2.js';
8
9
  import { w as when } from './when.js';
9
10
  import { c as classNames } from './class-names.js';
10
11
 
11
- /**
12
- * Expose ltr and rtl strings
13
- */
14
- var Direction;
15
- (function (Direction) {
16
- Direction["ltr"] = "ltr";
17
- Direction["rtl"] = "rtl";
18
- })(Direction || (Direction = {}));
19
-
20
- /**
21
- * a method to determine the current localization direction of the view
22
- * @param rootNode - the HTMLElement to begin the query from, usually "this" when used in a component controller
23
- * @public
24
- */
25
- const getDirection = (rootNode) => {
26
- const dirNode = rootNode.closest("[dir]");
27
- return dirNode !== null && dirNode.dir === "rtl" ? Direction.rtl : Direction.ltr;
28
- };
29
-
30
12
  /**
31
13
  * Menu items roles.
32
14
  * @public
@@ -297,7 +279,7 @@ __decorate([
297
279
  ], MenuItem$1.prototype, "submenu", void 0);
298
280
  applyMixins(MenuItem$1, StartEnd);
299
281
 
300
- var css_248z = "/**\n * Do not edit directly\n * Generated on Mon, 24 Oct 2022 13:21:54 GMT\n */\n@supports selector(:focus-visible) {\n :host(:focus) {\n outline: none;\n }\n}\n.base {\n position: relative;\n display: flex;\n box-sizing: border-box;\n align-items: center;\n background-color: var(--_appearance-color-fill);\n block-size: 40px;\n box-shadow: inset 0 0 0 1px var(--_appearance-color-outline);\n color: var(--_appearance-color-text);\n font: var(--vvd-font-base);\n gap: 8px;\n inline-size: 100%;\n padding-inline: 8px;\n}\n.base {\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)) {\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(.selected, [aria-current]):where(:not(:disabled, .disabled, :hover, .hover, :active, .active)) {\n --_appearance-color-text: var(--_connotation-color-primary-text);\n --_appearance-color-fill: var(--_connotation-color-primary);\n --_appearance-color-outline: transparent;\n}\n.base:where(:active, .active):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: var(--_connotation-color-soft);\n --_appearance-color-outline: transparent;\n}\n.base:where(:disabled, .disabled) {\n --_appearance-color-text: var(--vvd-color-neutral-400);\n --_appearance-color-fill: transparent;\n --_appearance-color-outline: transparent;\n}\n.base {\n --_connotation-color-primary: var(--vvd-color-canvas-text);\n --_connotation-color-primary-text: var(--vvd-color-canvas);\n --_connotation-color-faint: var(--vvd-color-neutral-50);\n --_connotation-color-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 cursor: pointer;\n}\n.base.disabled {\n cursor: not-allowed;\n}\n\n.focus-indicator {\n border-radius: 6px;\n}\n:host(:not(:focus-visible)) .focus-indicator {\n display: none;\n}\n\n.icon {\n font-size: 20px;\n}\n.base:not(.item-checkbox, .item-radio) .icon {\n color: var(--vvd-color-neutral-600);\n}\n\n.text {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}";
282
+ var css_248z = "/**\n * Do not edit directly\n * Generated on Sat, 29 Oct 2022 09:46:17 GMT\n */\n@supports selector(:focus-visible) {\n :host(:focus) {\n outline: none;\n }\n}\n.base {\n position: relative;\n display: flex;\n box-sizing: border-box;\n align-items: center;\n background-color: var(--_appearance-color-fill);\n block-size: 40px;\n box-shadow: inset 0 0 0 1px var(--_appearance-color-outline);\n color: var(--_appearance-color-text);\n font: var(--vvd-typography-base);\n gap: 8px;\n inline-size: 100%;\n padding-inline: 8px;\n}\n.base {\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)) {\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(.selected, [aria-current]):where(:not(:disabled, .disabled, :hover, .hover)) {\n --_appearance-color-text: var(--_connotation-color-primary-text);\n --_appearance-color-fill: var(--_connotation-color-primary);\n --_appearance-color-outline: transparent;\n}\n.base:where(:active, .active):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: var(--_connotation-color-soft);\n --_appearance-color-outline: transparent;\n}\n.base:where(:disabled, .disabled) {\n --_appearance-color-text: var(--vvd-color-neutral-400);\n --_appearance-color-fill: transparent;\n --_appearance-color-outline: transparent;\n}\n.base {\n --_connotation-color-primary: var(--vvd-color-canvas-text);\n --_connotation-color-primary-text: var(--vvd-color-canvas);\n --_connotation-color-faint: var(--vvd-color-neutral-50);\n --_connotation-color-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 cursor: pointer;\n}\n.base.disabled {\n cursor: not-allowed;\n}\n\n.focus-indicator {\n border-radius: 6px;\n}\n:host(:not(:focus-visible)) .focus-indicator {\n display: none;\n}\n\n.icon {\n font-size: 20px;\n}\n.base:not(.item-checkbox, .item-radio) .icon {\n color: var(--vvd-color-neutral-600);\n}\n\n.text {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}";
301
283
 
302
284
  class MenuItem extends MenuItem$1 {}
303
285
 
@@ -86,5 +86,11 @@ const keyEscape = "Escape";
86
86
  const keyHome = "Home";
87
87
  const keyEnd = "End";
88
88
  const keySpace = " ";
89
+ const ArrowKeys = {
90
+ ArrowDown: keyArrowDown,
91
+ ArrowLeft: keyArrowLeft,
92
+ ArrowRight: keyArrowRight,
93
+ ArrowUp: keyArrowUp,
94
+ };
89
95
 
90
- export { keySpace as a, keyHome as b, keyEnd as c, keyArrowUp as d, keyArrowDown as e, keyEscape as f, keyArrowLeft as g, keyArrowRight as h, keyEnter as k };
96
+ export { ArrowKeys as A, keySpace as a, keyHome as b, keyEnd as c, keyArrowUp as d, keyArrowDown as e, keyEscape as f, keyArrowLeft as g, keyArrowRight as h, keyEnter as k };
@@ -18,7 +18,7 @@ export declare function formElements<T extends {
18
18
  successText?: string | undefined;
19
19
  charCount: boolean;
20
20
  userValid: boolean;
21
- "__#6456@#blurred": boolean;
21
+ "__#6542@#blurred": boolean;
22
22
  readonly errorValidationMessage: any;
23
23
  validate: () => void;
24
24
  };
@@ -0,0 +1,128 @@
1
+ import { F as FoundationElement, _ as __decorate, a as attr, o as observable, b as __metadata } from './index.js';
2
+ import { C as CheckableFormAssociated } from './form-associated.js';
3
+ import { a as keySpace } from './key-codes.js';
4
+
5
+ class _Radio extends FoundationElement {
6
+ }
7
+ /**
8
+ * A form-associated base class for the {@link @microsoft/fast-foundation#(Radio:class)} component.
9
+ *
10
+ * @internal
11
+ */
12
+ class FormAssociatedRadio extends CheckableFormAssociated(_Radio) {
13
+ constructor() {
14
+ super(...arguments);
15
+ this.proxy = document.createElement("input");
16
+ }
17
+ }
18
+
19
+ /**
20
+ * A Radio Custom HTML Element.
21
+ * Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#radio | ARIA radio }.
22
+ *
23
+ * @slot checked-indicator - The checked indicator
24
+ * @slot - The default slot for the label
25
+ * @csspart control - The element representing the visual radio control
26
+ * @csspart label - The label
27
+ * @fires change - Emits a custom change event when the checked state changes
28
+ *
29
+ * @public
30
+ */
31
+ class Radio$1 extends FormAssociatedRadio {
32
+ constructor() {
33
+ super();
34
+ /**
35
+ * The element's value to be included in form submission when checked.
36
+ * Default to "on" to reach parity with input[type="radio"]
37
+ *
38
+ * @internal
39
+ */
40
+ this.initialValue = "on";
41
+ /**
42
+ * @internal
43
+ */
44
+ this.keypressHandler = (e) => {
45
+ switch (e.key) {
46
+ case keySpace:
47
+ if (!this.checked && !this.readOnly) {
48
+ this.checked = true;
49
+ }
50
+ return;
51
+ }
52
+ return true;
53
+ };
54
+ this.proxy.setAttribute("type", "radio");
55
+ }
56
+ readOnlyChanged() {
57
+ if (this.proxy instanceof HTMLInputElement) {
58
+ this.proxy.readOnly = this.readOnly;
59
+ }
60
+ }
61
+ /**
62
+ * @internal
63
+ */
64
+ defaultCheckedChanged() {
65
+ var _a;
66
+ if (this.$fastController.isConnected && !this.dirtyChecked) {
67
+ // Setting this.checked will cause us to enter a dirty state,
68
+ // but if we are clean when defaultChecked is changed, we want to stay
69
+ // in a clean state, so reset this.dirtyChecked
70
+ if (!this.isInsideRadioGroup()) {
71
+ this.checked = (_a = this.defaultChecked) !== null && _a !== void 0 ? _a : false;
72
+ this.dirtyChecked = false;
73
+ }
74
+ }
75
+ }
76
+ /**
77
+ * @internal
78
+ */
79
+ connectedCallback() {
80
+ var _a, _b;
81
+ super.connectedCallback();
82
+ this.validate();
83
+ if (((_a = this.parentElement) === null || _a === void 0 ? void 0 : _a.getAttribute("role")) !== "radiogroup" &&
84
+ this.getAttribute("tabindex") === null) {
85
+ if (!this.disabled) {
86
+ this.setAttribute("tabindex", "0");
87
+ }
88
+ }
89
+ if (this.checkedAttribute) {
90
+ if (!this.dirtyChecked) {
91
+ // Setting this.checked will cause us to enter a dirty state,
92
+ // but if we are clean when defaultChecked is changed, we want to stay
93
+ // in a clean state, so reset this.dirtyChecked
94
+ if (!this.isInsideRadioGroup()) {
95
+ this.checked = (_b = this.defaultChecked) !== null && _b !== void 0 ? _b : false;
96
+ this.dirtyChecked = false;
97
+ }
98
+ }
99
+ }
100
+ }
101
+ isInsideRadioGroup() {
102
+ const parent = this.closest("[role=radiogroup]");
103
+ return parent !== null;
104
+ }
105
+ /**
106
+ * @internal
107
+ */
108
+ clickHandler(e) {
109
+ if (!this.disabled && !this.readOnly && !this.checked) {
110
+ this.checked = true;
111
+ }
112
+ }
113
+ }
114
+ __decorate([
115
+ attr({ attribute: "readonly", mode: "boolean" })
116
+ ], Radio$1.prototype, "readOnly", void 0);
117
+ __decorate([
118
+ observable
119
+ ], Radio$1.prototype, "name", void 0);
120
+ __decorate([
121
+ observable
122
+ ], Radio$1.prototype, "defaultSlottedNodes", void 0);
123
+
124
+ class Radio extends Radio$1 {}
125
+
126
+ __decorate([attr, __metadata("design:type", String)], Radio.prototype, "label", void 0);
127
+
128
+ export { Radio as R };
@@ -53,7 +53,7 @@ __decorate([attr({
53
53
  mode: 'boolean'
54
54
  }), __metadata("design:type", Object)], SideDrawer.prototype, "trailing", void 0);
55
55
 
56
- var css_248z = "/**\n * Do not edit directly\n * Generated on Mon, 24 Oct 2022 13:21:54 GMT\n */\n.control {\n position: fixed;\n z-index: 1;\n background-color: var(--vvd-color-canvas);\n color: var(--vvd-color-canvas-text);\n inline-size: 280px;\n inset-block: 0;\n overflow-y: auto;\n}\n.control[part~=vvd-theme-alternate] {\n background-color: var(--vvd-color-canvas);\n color: var(--vvd-color-canvas-text);\n color-scheme: var(--vvd-color-scheme);\n}\n.control.trailing {\n inset-inline-end: 0;\n}\n.control:not(.open).trailing {\n transform: translateX(100%);\n}\n.control:not(.open):not(.trailing) {\n transform: translateX(-100%);\n}\n.control.open:not(.modal).trailing + .side-drawer-app-content {\n margin-inline-end: var(--side-drawer-app-content-offset, 280px);\n}\n.control.open:not(.modal):not(.trailing) + .side-drawer-app-content {\n margin-inline-start: var(--side-drawer-app-content-offset, 280px);\n}\n@media (prefers-reduced-motion: no-preference) {\n .control {\n transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n }\n}\n\n.scrim {\n background-color: var(--vvd-color-canvas-text);\n opacity: 0.5;\n position: fixed;\n inset: 0;\n}\n.scrim:not(.open) {\n display: none;\n}";
56
+ var css_248z = "/**\n * Do not edit directly\n * Generated on Sat, 29 Oct 2022 09:46:17 GMT\n */\n.control {\n position: fixed;\n z-index: 1;\n background-color: var(--vvd-color-canvas);\n color: var(--vvd-color-canvas-text);\n inline-size: 280px;\n inset-block: 0;\n overflow-y: auto;\n}\n.control[part~=vvd-theme-alternate] {\n background-color: var(--vvd-color-canvas);\n color: var(--vvd-color-canvas-text);\n color-scheme: var(--vvd-color-scheme);\n}\n.control.trailing {\n inset-inline-end: 0;\n}\n.control:not(.open).trailing {\n transform: translateX(100%);\n}\n.control:not(.open):not(.trailing) {\n transform: translateX(-100%);\n}\n.control.open:not(.modal).trailing + .side-drawer-app-content {\n margin-inline-end: var(--side-drawer-app-content-offset, 280px);\n}\n.control.open:not(.modal):not(.trailing) + .side-drawer-app-content {\n margin-inline-start: var(--side-drawer-app-content-offset, 280px);\n}\n@media (prefers-reduced-motion: no-preference) {\n .control {\n transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n }\n}\n\n.scrim {\n background-color: var(--vvd-color-canvas-text);\n opacity: 0.5;\n position: fixed;\n inset: 0;\n}\n.scrim:not(.open) {\n display: none;\n}";
57
57
 
58
58
  let _ = t => t,
59
59
  _t,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 24 Oct 2022 13:21:54 GMT
3
+ * Generated on Sat, 29 Oct 2022 09:46:17 GMT
4
4
  */
5
5
  .vvd-root {
6
6
  color-scheme: var(--vvd-color-scheme);
@@ -13,50 +13,50 @@
13
13
  text-rendering: optimizeLegibility; /* emphasise on legibility when rendering, turns on ligatures and kerning */
14
14
  -webkit-font-smoothing: antialiased; /* apply font anti-aliasing for Webkit on OSX */
15
15
  -moz-osx-font-smoothing: grayscale; /* apply font anti-aliasing for Firefox on OSX */
16
- font: var(--vvd-font-base);
16
+ font: var(--vvd-typography-base);
17
17
  }
18
18
  .vvd-root p {
19
- font: var(--vvd-font-base);
19
+ font: var(--vvd-typography-base);
20
20
  margin-block: 16px;
21
21
  }
22
22
  .vvd-root b, .vvd-root strong {
23
- font: var(--vvd-font-base-bold);
23
+ font: var(--vvd-typography-base-bold);
24
24
  }
25
25
  .vvd-root pre, .vvd-root var, .vvd-root code, .vvd-root kbd, .vvd-root samp {
26
- font: var(--vvd-font-base-code);
26
+ font: var(--vvd-typography-base-code);
27
27
  }
28
28
  .vvd-root .headline {
29
- font: var(--vvd-font-headline);
29
+ font: var(--vvd-typography-headline);
30
30
  margin-block: 40px;
31
31
  }
32
32
  .vvd-root .subtitle {
33
- font: var(--vvd-font-subtitle);
33
+ font: var(--vvd-typography-subtitle);
34
34
  margin-block: 40px;
35
35
  }
36
36
  .vvd-root h1, .vvd-root .heading1 {
37
- font: var(--vvd-font-heading1);
37
+ font: var(--vvd-typography-heading-1);
38
38
  margin-block: 32px;
39
39
  }
40
40
  .vvd-root h2, .vvd-root .heading2 {
41
- font: var(--vvd-font-heading2);
41
+ font: var(--vvd-typography-heading-2);
42
42
  margin-block: 32px;
43
43
  }
44
44
  .vvd-root h3, .vvd-root .heading3 {
45
- font: var(--vvd-font-heading3);
45
+ font: var(--vvd-typography-heading-3);
46
46
  margin-block: 24px;
47
47
  }
48
48
  .vvd-root h4, .vvd-root .heading4 {
49
- font: var(--vvd-font-heading4);
49
+ font: var(--vvd-typography-heading-4);
50
50
  margin-block: 24px;
51
51
  }
52
52
  .vvd-root small, .vvd-root figcaption {
53
- font: var(--vvd-font-base-condensed);
53
+ font: var(--vvd-typography-base-condensed);
54
54
  }
55
55
  .vvd-root small b, .vvd-root small strong, .vvd-root figcaption b, .vvd-root figcaption strong {
56
- font: var(--vvd-font-base-condensed-bold);
56
+ font: var(--vvd-typography-base-condensed-bold);
57
57
  }
58
58
  .vvd-root small pre, .vvd-root small var, .vvd-root small code, .vvd-root small kbd, .vvd-root small samp, .vvd-root figcaption pre, .vvd-root figcaption var, .vvd-root figcaption code, .vvd-root figcaption kbd, .vvd-root figcaption samp {
59
- font: var(--vvd-font-base-condensed-code);
59
+ font: var(--vvd-typography-base-condensed-code);
60
60
  }
61
61
  .vvd-root sub,
62
62
  .vvd-root sup {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 24 Oct 2022 13:21:54 GMT
3
+ * Generated on Sat, 29 Oct 2022 09:46:17 GMT
4
4
  */
5
5
  .vvd-root {
6
6
  color-scheme: var(--vvd-color-scheme);
@@ -1,56 +1,56 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 24 Oct 2022 13:21:54 GMT
3
+ * Generated on Sat, 29 Oct 2022 09:46:17 GMT
4
4
  */
5
5
  .vvd-root {
6
6
  font-feature-settings: "kern"; /* turns on kerning */
7
7
  text-rendering: optimizeLegibility; /* emphasise on legibility when rendering, turns on ligatures and kerning */
8
8
  -webkit-font-smoothing: antialiased; /* apply font anti-aliasing for Webkit on OSX */
9
9
  -moz-osx-font-smoothing: grayscale; /* apply font anti-aliasing for Firefox on OSX */
10
- font: var(--vvd-font-base);
10
+ font: var(--vvd-typography-base);
11
11
  }
12
12
  .vvd-root p {
13
- font: var(--vvd-font-base);
13
+ font: var(--vvd-typography-base);
14
14
  margin-block: 16px;
15
15
  }
16
16
  .vvd-root b, .vvd-root strong {
17
- font: var(--vvd-font-base-bold);
17
+ font: var(--vvd-typography-base-bold);
18
18
  }
19
19
  .vvd-root pre, .vvd-root var, .vvd-root code, .vvd-root kbd, .vvd-root samp {
20
- font: var(--vvd-font-base-code);
20
+ font: var(--vvd-typography-base-code);
21
21
  }
22
22
  .vvd-root .headline {
23
- font: var(--vvd-font-headline);
23
+ font: var(--vvd-typography-headline);
24
24
  margin-block: 40px;
25
25
  }
26
26
  .vvd-root .subtitle {
27
- font: var(--vvd-font-subtitle);
27
+ font: var(--vvd-typography-subtitle);
28
28
  margin-block: 40px;
29
29
  }
30
30
  .vvd-root h1, .vvd-root .heading1 {
31
- font: var(--vvd-font-heading1);
31
+ font: var(--vvd-typography-heading-1);
32
32
  margin-block: 32px;
33
33
  }
34
34
  .vvd-root h2, .vvd-root .heading2 {
35
- font: var(--vvd-font-heading2);
35
+ font: var(--vvd-typography-heading-2);
36
36
  margin-block: 32px;
37
37
  }
38
38
  .vvd-root h3, .vvd-root .heading3 {
39
- font: var(--vvd-font-heading3);
39
+ font: var(--vvd-typography-heading-3);
40
40
  margin-block: 24px;
41
41
  }
42
42
  .vvd-root h4, .vvd-root .heading4 {
43
- font: var(--vvd-font-heading4);
43
+ font: var(--vvd-typography-heading-4);
44
44
  margin-block: 24px;
45
45
  }
46
46
  .vvd-root small, .vvd-root figcaption {
47
- font: var(--vvd-font-base-condensed);
47
+ font: var(--vvd-typography-base-condensed);
48
48
  }
49
49
  .vvd-root small b, .vvd-root small strong, .vvd-root figcaption b, .vvd-root figcaption strong {
50
- font: var(--vvd-font-base-condensed-bold);
50
+ font: var(--vvd-typography-base-condensed-bold);
51
51
  }
52
52
  .vvd-root small pre, .vvd-root small var, .vvd-root small code, .vvd-root small kbd, .vvd-root small samp, .vvd-root figcaption pre, .vvd-root figcaption var, .vvd-root figcaption code, .vvd-root figcaption kbd, .vvd-root figcaption samp {
53
- font: var(--vvd-font-base-condensed-code);
53
+ font: var(--vvd-typography-base-condensed-code);
54
54
  }
55
55
  .vvd-root sub,
56
56
  .vvd-root sup {
@@ -1,14 +1,18 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 24 Oct 2022 13:21:54 GMT
3
+ * Generated on Sat, 29 Oct 2022 09:46:17 GMT
4
4
  */
5
5
  /**
6
6
  * Do not edit directly
7
- * Generated on Mon, 24 Oct 2022 13:21:54 GMT
7
+ * Generated on Sat, 29 Oct 2022 09:46:17 GMT
8
8
  */
9
9
  /**
10
10
  * Do not edit directly
11
- * Generated on Mon, 24 Oct 2022 13:21:54 GMT
11
+ * Generated on Sat, 29 Oct 2022 09:46:17 GMT
12
+ */
13
+ /**
14
+ * Do not edit directly
15
+ * Generated on Sat, 29 Oct 2022 09:46:17 GMT
12
16
  */
13
17
  .vvd-root, ::part(vvd-root) {
14
18
  --vvd-color-scheme: dark;
@@ -99,21 +103,24 @@
99
103
  --vvd-shadow-surface-12dp: drop-shadow(0px 4px 24px #00000040) drop-shadow(0px 12px 16px #00000040) drop-shadow(0px 6px 8px #00000040);
100
104
  --vvd-shadow-surface-16dp: drop-shadow(0px 6px 32px #00000040) drop-shadow(0px 16px 24px #00000040) drop-shadow(0px 8px 12px #00000040);
101
105
  --vvd-shadow-surface-24dp: drop-shadow(0px 12px 48px #00000040) drop-shadow(0px 24px 32px #00000040) drop-shadow(0px 12px 16px #00000040);
102
- --vvd-font-headline: 500 condensed calc(16px * 4.125)/calc(16px * 5.5) SpeziaCompleteVariableUpright;
103
- --vvd-font-subtitle: 500 condensed calc(16px * 3.25)/calc(16px * 4.25) SpeziaCompleteVariableUpright;
104
- --vvd-font-heading1: 500 condensed calc(16px * 2.5)/calc(16px * 3.25) SpeziaCompleteVariableUpright;
105
- --vvd-font-heading2: 500 condensed calc(16px * 2)/calc(16px * 2.75) SpeziaCompleteVariableUpright;
106
- --vvd-font-heading3: 500 condensed calc(16px * 1.625)/calc(16px * 2.25) SpeziaCompleteVariableUpright;
107
- --vvd-font-heading4: 500 condensed calc(16px * 1.25)/calc(16px * 1.75) SpeziaCompleteVariableUpright;
108
- --vvd-font-base: 400 ultra-condensed calc(16px * 0.875)/calc(16px * 1.25) SpeziaCompleteVariableUpright;
109
- --vvd-font-base-bold: 600 ultra-condensed calc(16px * 0.875)/calc(16px * 1.25) SpeziaCompleteVariableUpright;
110
- --vvd-font-base-code: 400 ultra-condensed calc(16px * 0.875)/calc(16px * 1.25) SpeziaMonoCompleteVariable;
111
- --vvd-font-base-extended: 400 ultra-condensed calc(16px * 1)/calc(16px * 1.5) SpeziaCompleteVariableUpright;
112
- --vvd-font-base-extended-bold: 600 ultra-condensed calc(16px * 1)/calc(16px * 1.5) SpeziaCompleteVariableUpright;
113
- --vvd-font-base-extended-code: 400 ultra-condensed calc(16px * 1)/calc(16px * 1.5) SpeziaMonoCompleteVariable;
114
- --vvd-font-base-condensed: 400 ultra-condensed calc(16px * 0.75)/calc(16px * 1) SpeziaCompleteVariableUpright;
115
- --vvd-font-base-condensed-bold: 600 ultra-condensed calc(16px * 0.75)/calc(16px * 1) SpeziaCompleteVariableUpright;
116
- --vvd-font-base-condensed-code: 400 ultra-condensed calc(16px * 0.75)/calc(16px * 1) SpeziaMonoCompleteVariable;
106
+ --vvd-font-family-upright: SpeziaCompleteVariableUpright;
107
+ --vvd-font-family-monospace: SpeziaMonoCompleteVariable;
108
+ --vvd-size-font-scale-base: 16px;
109
+ --vvd-typography-headline: 500 condensed calc(var(--vvd-size-font-scale-base) * 4.125)/1.3333333333333333 var(--vvd-font-family-upright);
110
+ --vvd-typography-subtitle: 500 condensed calc(var(--vvd-size-font-scale-base) * 3.25)/1.3076923076923077 var(--vvd-font-family-upright);
111
+ --vvd-typography-heading-1: 500 condensed calc(var(--vvd-size-font-scale-base) * 2.5)/1.3 var(--vvd-font-family-upright);
112
+ --vvd-typography-heading-2: 500 condensed calc(var(--vvd-size-font-scale-base) * 2)/1.375 var(--vvd-font-family-upright);
113
+ --vvd-typography-heading-3: 500 condensed calc(var(--vvd-size-font-scale-base) * 1.625)/1.3846153846153846 var(--vvd-font-family-upright);
114
+ --vvd-typography-heading-4: 500 condensed calc(var(--vvd-size-font-scale-base) * 1.25)/1.4 var(--vvd-font-family-upright);
115
+ --vvd-typography-base: 400 ultra-condensed calc(var(--vvd-size-font-scale-base) * 0.875)/1.4285714285714286 var(--vvd-font-family-upright);
116
+ --vvd-typography-base-bold: 600 ultra-condensed calc(var(--vvd-size-font-scale-base) * 0.875)/1.4285714285714286 var(--vvd-font-family-upright);
117
+ --vvd-typography-base-code: 400 ultra-condensed calc(var(--vvd-size-font-scale-base) * 0.875)/1.4285714285714286 var(--vvd-font-family-monospace);
118
+ --vvd-typography-base-condensed: 400 ultra-condensed calc(var(--vvd-size-font-scale-base) * 0.75)/1.3333333333333333 var(--vvd-font-family-upright);
119
+ --vvd-typography-base-condensed-bold: 600 ultra-condensed calc(var(--vvd-size-font-scale-base) * 0.75)/1.3333333333333333 var(--vvd-font-family-upright);
120
+ --vvd-typography-base-condensed-code: 400 ultra-condensed calc(var(--vvd-size-font-scale-base) * 0.75)/1.3333333333333333 var(--vvd-font-family-monospace);
121
+ --vvd-typography-base-extended: 400 ultra-condensed calc(var(--vvd-size-font-scale-base))/1.5 var(--vvd-font-family-upright);
122
+ --vvd-typography-base-extended-bold: 600 ultra-condensed calc(var(--vvd-size-font-scale-base))/1.5 var(--vvd-font-family-upright);
123
+ --vvd-typography-base-extended-code: 400 ultra-condensed calc(var(--vvd-size-font-scale-base))/1.5 var(--vvd-font-family-monospace);
117
124
  --vvd-size-base: 40px;
118
125
  }
119
126
 
@@ -142,6 +149,7 @@
142
149
  --vvd-color-cta-700: #6405d1;
143
150
  --vvd-color-cta-800: #440291;
144
151
  --vvd-color-cta-900: #26044d;
152
+ --vvd-color-cta-950: #140623;
145
153
  --vvd-color-warning-50: #FDF5D4;
146
154
  --vvd-color-warning-100: #FDEAA0;
147
155
  --vvd-color-warning-200: #FACC4B;
@@ -152,6 +160,7 @@
152
160
  --vvd-color-warning-700: #893000;
153
161
  --vvd-color-warning-800: #522801;
154
162
  --vvd-color-warning-900: #2A1502;
163
+ --vvd-color-warning-950: #150B01;
155
164
  --vvd-color-information-50: #e8f4fb;
156
165
  --vvd-color-information-100: #d3e9fc;
157
166
  --vvd-color-information-200: #9dd2fe;
@@ -162,6 +171,7 @@
162
171
  --vvd-color-information-700: #094a9e;
163
172
  --vvd-color-information-800: #0e306d;
164
173
  --vvd-color-information-900: #071939;
174
+ --vvd-color-information-950: #040d1d;
165
175
  --vvd-color-announcement-50: #ffedfb;
166
176
  --vvd-color-announcement-100: #ffdcf7;
167
177
  --vvd-color-announcement-200: #f8b9e7;
@@ -172,16 +182,7 @@
172
182
  --vvd-color-announcement-700: #8f1669;
173
183
  --vvd-color-announcement-800: #620256;
174
184
  --vvd-color-announcement-900: #32082c;
175
- --vvd-color-alert-50: #ffeef2;
176
- --vvd-color-alert-100: #fedfdf;
177
- --vvd-color-alert-200: #ffbbbb;
178
- --vvd-color-alert-300: #fe9696;
179
- --vvd-color-alert-400: #f75959;
180
- --vvd-color-alert-500: #e61d1d;
181
- --vvd-color-alert-600: #cd0d0d;
182
- --vvd-color-alert-700: #9f0202;
183
- --vvd-color-alert-800: #6e0000;
184
- --vvd-color-alert-900: #3e0004;
185
+ --vvd-color-announcement-950: #1d031a;
185
186
  --vvd-color-success-50: #e1f8e5;
186
187
  --vvd-color-success-100: #cfeed4;
187
188
  --vvd-color-success-200: #86e090;
@@ -192,6 +193,18 @@
192
193
  --vvd-color-success-700: #155923;
193
194
  --vvd-color-success-800: #183a1e;
194
195
  --vvd-color-success-900: #0a1e11;
196
+ --vvd-color-success-950: #060f09;
197
+ --vvd-color-alert-50: #ffeef2;
198
+ --vvd-color-alert-100: #fedfdf;
199
+ --vvd-color-alert-200: #ffbbbb;
200
+ --vvd-color-alert-300: #fe9696;
201
+ --vvd-color-alert-400: #f75959;
202
+ --vvd-color-alert-500: #e61d1d;
203
+ --vvd-color-alert-600: #cd0d0d;
204
+ --vvd-color-alert-700: #9f0202;
205
+ --vvd-color-alert-800: #6e0000;
206
+ --vvd-color-alert-900: #3e0004;
207
+ --vvd-color-alert-950: #250004;
195
208
  --vvd-color-surface-0dp: #ffffff;
196
209
  --vvd-color-surface-2dp: #ffffff;
197
210
  --vvd-color-surface-4dp: #ffffff;
@@ -1,14 +1,18 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 24 Oct 2022 13:21:54 GMT
3
+ * Generated on Sat, 29 Oct 2022 09:46:17 GMT
4
4
  */
5
5
  /**
6
6
  * Do not edit directly
7
- * Generated on Mon, 24 Oct 2022 13:21:54 GMT
7
+ * Generated on Sat, 29 Oct 2022 09:46:17 GMT
8
8
  */
9
9
  /**
10
10
  * Do not edit directly
11
- * Generated on Mon, 24 Oct 2022 13:21:54 GMT
11
+ * Generated on Sat, 29 Oct 2022 09:46:17 GMT
12
+ */
13
+ /**
14
+ * Do not edit directly
15
+ * Generated on Sat, 29 Oct 2022 09:46:17 GMT
12
16
  */
13
17
  .vvd-root, ::part(vvd-root) {
14
18
  --vvd-color-scheme: light;
@@ -35,6 +39,7 @@
35
39
  --vvd-color-cta-700: #6405d1;
36
40
  --vvd-color-cta-800: #440291;
37
41
  --vvd-color-cta-900: #26044d;
42
+ --vvd-color-cta-950: #140623;
38
43
  --vvd-color-warning-50: #FDF5D4;
39
44
  --vvd-color-warning-100: #FDEAA0;
40
45
  --vvd-color-warning-200: #FACC4B;
@@ -45,6 +50,7 @@
45
50
  --vvd-color-warning-700: #893000;
46
51
  --vvd-color-warning-800: #522801;
47
52
  --vvd-color-warning-900: #2A1502;
53
+ --vvd-color-warning-950: #150B01;
48
54
  --vvd-color-information-50: #e8f4fb;
49
55
  --vvd-color-information-100: #d3e9fc;
50
56
  --vvd-color-information-200: #9dd2fe;
@@ -55,6 +61,7 @@
55
61
  --vvd-color-information-700: #094a9e;
56
62
  --vvd-color-information-800: #0e306d;
57
63
  --vvd-color-information-900: #071939;
64
+ --vvd-color-information-950: #040d1d;
58
65
  --vvd-color-announcement-50: #ffedfb;
59
66
  --vvd-color-announcement-100: #ffdcf7;
60
67
  --vvd-color-announcement-200: #f8b9e7;
@@ -65,16 +72,7 @@
65
72
  --vvd-color-announcement-700: #8f1669;
66
73
  --vvd-color-announcement-800: #620256;
67
74
  --vvd-color-announcement-900: #32082c;
68
- --vvd-color-alert-50: #ffeef2;
69
- --vvd-color-alert-100: #fedfdf;
70
- --vvd-color-alert-200: #ffbbbb;
71
- --vvd-color-alert-300: #fe9696;
72
- --vvd-color-alert-400: #f75959;
73
- --vvd-color-alert-500: #e61d1d;
74
- --vvd-color-alert-600: #cd0d0d;
75
- --vvd-color-alert-700: #9f0202;
76
- --vvd-color-alert-800: #6e0000;
77
- --vvd-color-alert-900: #3e0004;
75
+ --vvd-color-announcement-950: #1d031a;
78
76
  --vvd-color-success-50: #e1f8e5;
79
77
  --vvd-color-success-100: #cfeed4;
80
78
  --vvd-color-success-200: #86e090;
@@ -85,6 +83,18 @@
85
83
  --vvd-color-success-700: #155923;
86
84
  --vvd-color-success-800: #183a1e;
87
85
  --vvd-color-success-900: #0a1e11;
86
+ --vvd-color-success-950: #060f09;
87
+ --vvd-color-alert-50: #ffeef2;
88
+ --vvd-color-alert-100: #fedfdf;
89
+ --vvd-color-alert-200: #ffbbbb;
90
+ --vvd-color-alert-300: #fe9696;
91
+ --vvd-color-alert-400: #f75959;
92
+ --vvd-color-alert-500: #e61d1d;
93
+ --vvd-color-alert-600: #cd0d0d;
94
+ --vvd-color-alert-700: #9f0202;
95
+ --vvd-color-alert-800: #6e0000;
96
+ --vvd-color-alert-900: #3e0004;
97
+ --vvd-color-alert-950: #250004;
88
98
  --vvd-color-surface-0dp: #ffffff;
89
99
  --vvd-color-surface-2dp: #ffffff;
90
100
  --vvd-color-surface-4dp: #ffffff;
@@ -99,21 +109,24 @@
99
109
  --vvd-shadow-surface-12dp: drop-shadow(0px 4px 24px #0000001a) drop-shadow(0px 12px 16px #0000000d) drop-shadow(0px 6px 8px #0000000d);
100
110
  --vvd-shadow-surface-16dp: drop-shadow(0px 6px 32px #0000001a) drop-shadow(0px 16px 24px #0000000d) drop-shadow(0px 8px 12px #0000000d);
101
111
  --vvd-shadow-surface-24dp: drop-shadow(0px 12px 48px #00000033) drop-shadow(0px 24px 32px #0000000d) drop-shadow(0px 12px 16px #0000000d);
102
- --vvd-font-headline: 500 condensed calc(16px * 4.125)/calc(16px * 5.5) SpeziaCompleteVariableUpright;
103
- --vvd-font-subtitle: 500 condensed calc(16px * 3.25)/calc(16px * 4.25) SpeziaCompleteVariableUpright;
104
- --vvd-font-heading1: 500 condensed calc(16px * 2.5)/calc(16px * 3.25) SpeziaCompleteVariableUpright;
105
- --vvd-font-heading2: 500 condensed calc(16px * 2)/calc(16px * 2.75) SpeziaCompleteVariableUpright;
106
- --vvd-font-heading3: 500 condensed calc(16px * 1.625)/calc(16px * 2.25) SpeziaCompleteVariableUpright;
107
- --vvd-font-heading4: 500 condensed calc(16px * 1.25)/calc(16px * 1.75) SpeziaCompleteVariableUpright;
108
- --vvd-font-base: 400 ultra-condensed calc(16px * 0.875)/calc(16px * 1.25) SpeziaCompleteVariableUpright;
109
- --vvd-font-base-bold: 600 ultra-condensed calc(16px * 0.875)/calc(16px * 1.25) SpeziaCompleteVariableUpright;
110
- --vvd-font-base-code: 400 ultra-condensed calc(16px * 0.875)/calc(16px * 1.25) SpeziaMonoCompleteVariable;
111
- --vvd-font-base-extended: 400 ultra-condensed calc(16px * 1)/calc(16px * 1.5) SpeziaCompleteVariableUpright;
112
- --vvd-font-base-extended-bold: 600 ultra-condensed calc(16px * 1)/calc(16px * 1.5) SpeziaCompleteVariableUpright;
113
- --vvd-font-base-extended-code: 400 ultra-condensed calc(16px * 1)/calc(16px * 1.5) SpeziaMonoCompleteVariable;
114
- --vvd-font-base-condensed: 400 ultra-condensed calc(16px * 0.75)/calc(16px * 1) SpeziaCompleteVariableUpright;
115
- --vvd-font-base-condensed-bold: 600 ultra-condensed calc(16px * 0.75)/calc(16px * 1) SpeziaCompleteVariableUpright;
116
- --vvd-font-base-condensed-code: 400 ultra-condensed calc(16px * 0.75)/calc(16px * 1) SpeziaMonoCompleteVariable;
112
+ --vvd-font-family-upright: SpeziaCompleteVariableUpright;
113
+ --vvd-font-family-monospace: SpeziaMonoCompleteVariable;
114
+ --vvd-size-font-scale-base: 16px;
115
+ --vvd-typography-headline: 500 condensed calc(var(--vvd-size-font-scale-base) * 4.125)/1.3333333333333333 var(--vvd-font-family-upright);
116
+ --vvd-typography-subtitle: 500 condensed calc(var(--vvd-size-font-scale-base) * 3.25)/1.3076923076923077 var(--vvd-font-family-upright);
117
+ --vvd-typography-heading-1: 500 condensed calc(var(--vvd-size-font-scale-base) * 2.5)/1.3 var(--vvd-font-family-upright);
118
+ --vvd-typography-heading-2: 500 condensed calc(var(--vvd-size-font-scale-base) * 2)/1.375 var(--vvd-font-family-upright);
119
+ --vvd-typography-heading-3: 500 condensed calc(var(--vvd-size-font-scale-base) * 1.625)/1.3846153846153846 var(--vvd-font-family-upright);
120
+ --vvd-typography-heading-4: 500 condensed calc(var(--vvd-size-font-scale-base) * 1.25)/1.4 var(--vvd-font-family-upright);
121
+ --vvd-typography-base: 400 ultra-condensed calc(var(--vvd-size-font-scale-base) * 0.875)/1.4285714285714286 var(--vvd-font-family-upright);
122
+ --vvd-typography-base-bold: 600 ultra-condensed calc(var(--vvd-size-font-scale-base) * 0.875)/1.4285714285714286 var(--vvd-font-family-upright);
123
+ --vvd-typography-base-code: 400 ultra-condensed calc(var(--vvd-size-font-scale-base) * 0.875)/1.4285714285714286 var(--vvd-font-family-monospace);
124
+ --vvd-typography-base-condensed: 400 ultra-condensed calc(var(--vvd-size-font-scale-base) * 0.75)/1.3333333333333333 var(--vvd-font-family-upright);
125
+ --vvd-typography-base-condensed-bold: 600 ultra-condensed calc(var(--vvd-size-font-scale-base) * 0.75)/1.3333333333333333 var(--vvd-font-family-upright);
126
+ --vvd-typography-base-condensed-code: 400 ultra-condensed calc(var(--vvd-size-font-scale-base) * 0.75)/1.3333333333333333 var(--vvd-font-family-monospace);
127
+ --vvd-typography-base-extended: 400 ultra-condensed calc(var(--vvd-size-font-scale-base))/1.5 var(--vvd-font-family-upright);
128
+ --vvd-typography-base-extended-bold: 600 ultra-condensed calc(var(--vvd-size-font-scale-base))/1.5 var(--vvd-font-family-upright);
129
+ --vvd-typography-base-extended-code: 400 ultra-condensed calc(var(--vvd-size-font-scale-base))/1.5 var(--vvd-font-family-monospace);
117
130
  --vvd-size-base: 40px;
118
131
  }
119
132