@zazz-ui/core 0.5.3 → 0.6.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/AUTHORING.md +17 -14
- package/CHANGELOG.md +51 -0
- package/README.md +3 -3
- package/dist/sri.json +74 -74
- package/dist/zazz.css +1 -1
- package/dist/zazz.js +1 -1
- package/editor/zazz.css-data.json +3604 -116
- package/editor/zazz.html-data.json +18 -12
- package/editor/zazz.language-data.json +103 -54
- package/editor/zazz.lint-data.json +2 -0
- package/package.json +1 -1
- package/src/base/_properties-2xl.css +16 -0
- package/src/base/_properties-active.css +12 -0
- package/src/base/_properties-checked.css +12 -0
- package/src/base/_properties-current.css +12 -0
- package/src/base/_properties-disabled.css +12 -0
- package/src/base/_properties-focus-visible.css +12 -0
- package/src/base/_properties-focus-within.css +12 -0
- package/src/base/_properties-hover.css +12 -0
- package/src/base/_properties-lg.css +16 -0
- package/src/base/_properties-md.css +16 -0
- package/src/base/_properties-open.css +12 -0
- package/src/base/_properties-sm.css +16 -0
- package/src/base/_properties-starting.css +6 -0
- package/src/base/_properties-stuck.css +6 -0
- package/src/base/_properties-xl.css +16 -0
- package/src/base/_properties.css +22 -1
- package/src/base/_reset.css +8 -2
- package/src/base/_switches.css +3 -0
- package/src/base/_typography.css +3 -4
- package/src/base/_utilities-color.css +5 -5
- package/src/base/_utilities-effects.css +45 -6
- package/src/base/_utilities-flow.css +5 -5
- package/src/base/_utilities-grid.css +10 -10
- package/src/base/_utilities-margin.css +35 -35
- package/src/base/_utilities-pseudo.css +16 -0
- package/src/base/_utilities-sizing.css +20 -20
- package/src/base/_utilities-tier-2xl.css +9 -1
- package/src/base/_utilities-tier-active.css +6 -0
- package/src/base/_utilities-tier-checked.css +6 -0
- package/src/base/_utilities-tier-current.css +6 -0
- package/src/base/_utilities-tier-disabled.css +6 -0
- package/src/base/_utilities-tier-focus-visible.css +6 -0
- package/src/base/_utilities-tier-focus-within.css +6 -0
- package/src/base/_utilities-tier-hover.css +6 -0
- package/src/base/_utilities-tier-lg.css +9 -1
- package/src/base/_utilities-tier-md.css +9 -1
- package/src/base/_utilities-tier-open.css +6 -0
- package/src/base/_utilities-tier-sm.css +9 -1
- package/src/base/_utilities-tier-starting.css +3 -0
- package/src/base/_utilities-tier-stuck.css +3 -0
- package/src/base/_utilities-tier-xl.css +9 -1
- package/src/base/_utilities-typography.css +5 -5
- package/src/base/_variables.css +116 -55
- package/src/base/_view-transitions.css +7 -9
- package/src/base/dialog-lifecycle.d.ts +18 -1
- package/src/base/dialog-lifecycle.d.ts.map +1 -1
- package/src/base/dialog-lifecycle.js +72 -1
- package/src/base/dialog-lifecycle.ts +79 -1
- package/src/base/navigation.d.ts.map +1 -1
- package/src/base/navigation.js +19 -8
- package/src/base/navigation.ts +19 -8
- package/src/base/utilities.d.ts +19 -13
- package/src/base/utilities.d.ts.map +1 -1
- package/src/base/utilities.js +72 -21
- package/src/base/utilities.ts +84 -24
- package/src/head.d.ts +4 -1
- package/src/head.d.ts.map +1 -1
- package/src/head.js +9 -5
- package/src/head.ts +9 -5
- package/src/primitives/accordion/accordion.css +23 -12
- package/src/primitives/accordion/accordion.html +3 -3
- package/src/primitives/badge/badge.css +16 -9
- package/src/primitives/button/button.css +18 -11
- package/src/primitives/checkbox/checkbox-tasklist.html +6 -1
- package/src/primitives/checkbox/checkbox.css +16 -9
- package/src/primitives/checkbox/checkbox.html +1 -1
- package/src/primitives/checkbox/checkbox.js +1 -1
- package/src/primitives/checkbox/checkbox.ts +1 -1
- package/src/primitives/combobox/combobox.css +15 -8
- package/src/primitives/command/command-actions.d.ts.map +1 -1
- package/src/primitives/command/command-actions.html +1 -0
- package/src/primitives/command/command-actions.js +9 -4
- package/src/primitives/command/command-actions.ts +9 -4
- package/src/primitives/command/command-dialog.html +36 -0
- package/src/primitives/command/command.css +12 -1
- package/src/primitives/command/command.html +1 -0
- package/src/primitives/debug/audit-core.d.ts +3 -1
- package/src/primitives/debug/audit-core.d.ts.map +1 -1
- package/src/primitives/debug/audit-core.js +19 -1
- package/src/primitives/debug/audit-core.ts +25 -1
- package/src/primitives/debug/debug.d.ts.map +1 -1
- package/src/primitives/debug/debug.js +1 -0
- package/src/primitives/debug/debug.ts +1 -0
- package/src/primitives/dialog/dialog.css +2 -2
- package/src/primitives/fields/fields.css +15 -2
- package/src/primitives/input/input-icon-leading.html +1 -1
- package/src/primitives/input/input-icon-trailing.html +1 -1
- package/src/primitives/input/input.css +16 -9
- package/src/primitives/input-group/input-group.css +15 -8
- package/src/primitives/lightbox/lightbox.html +1 -2
- package/src/primitives/mobile-menu/mobile-menu.html +50 -10
- package/src/primitives/navigation-menu/navigation-menu-featured.html +5 -1
- package/src/primitives/navigation-menu/navigation-menu-icon-grid.html +5 -1
- package/src/primitives/navigation-menu/navigation-menu-interest.html +10 -2
- package/src/primitives/navigation-menu/navigation-menu-megamenu.html +5 -1
- package/src/primitives/navigation-menu/navigation-menu-simple.html +6 -1
- package/src/primitives/navigation-menu/navigation-menu.css +6 -3
- package/src/primitives/navigation-menu/navigation-menu.html +15 -3
- package/src/primitives/password-group/password-group.css +14 -7
- package/src/primitives/password-group/password-group.js +1 -1
- package/src/primitives/password-group/password-group.ts +1 -1
- package/src/primitives/radio/radio.css +15 -8
- package/src/primitives/select/multiselect.d.ts.map +1 -1
- package/src/primitives/select/multiselect.js +3 -1
- package/src/primitives/select/multiselect.ts +3 -1
- package/src/primitives/select/select.css +14 -7
- package/src/primitives/slider/slider.html +1 -0
- package/src/primitives/switch/switch.css +15 -8
- package/src/primitives/tabs/tabs.css +21 -9
- package/src/primitives/textarea/textarea.css +16 -9
- package/src/primitives/toggle/toggle.css +16 -9
- package/src/primitives/toggle/toggle.html +6 -6
- package/src/primitives/toolbar/toolbar.html +2 -1
|
@@ -35,12 +35,17 @@ function initCommandActions() {
|
|
|
35
35
|
const command = event.command;
|
|
36
36
|
switch (command) {
|
|
37
37
|
case "--theme-toggle": {
|
|
38
|
-
//
|
|
38
|
+
// A theme-dark / theme-light switch pins the scheme; neither follows the system
|
|
39
39
|
const root = document.documentElement;
|
|
40
|
-
const
|
|
41
|
-
|
|
40
|
+
const tokens = (root.dataset.ui ?? "").split(/\s+/).filter(Boolean);
|
|
41
|
+
const pinned = tokens.find((t) => t === "theme-dark" || t === "theme-light");
|
|
42
|
+
const dark = pinned
|
|
43
|
+
? pinned === "theme-dark"
|
|
42
44
|
: matchMedia("(prefers-color-scheme: dark)").matches;
|
|
43
|
-
root.dataset.
|
|
45
|
+
root.dataset.ui = [
|
|
46
|
+
...tokens.filter((t) => !t.startsWith("theme-")),
|
|
47
|
+
dark ? "theme-light" : "theme-dark",
|
|
48
|
+
].join(" ");
|
|
44
49
|
break;
|
|
45
50
|
}
|
|
46
51
|
case "--copy-link":
|
|
@@ -38,12 +38,17 @@ function initCommandActions(): void {
|
|
|
38
38
|
const command = (event as CommandEvent).command;
|
|
39
39
|
switch (command) {
|
|
40
40
|
case "--theme-toggle": {
|
|
41
|
-
//
|
|
41
|
+
// A theme-dark / theme-light switch pins the scheme; neither follows the system
|
|
42
42
|
const root = document.documentElement;
|
|
43
|
-
const
|
|
44
|
-
|
|
43
|
+
const tokens = (root.dataset.ui ?? "").split(/\s+/).filter(Boolean);
|
|
44
|
+
const pinned = tokens.find((t) => t === "theme-dark" || t === "theme-light");
|
|
45
|
+
const dark = pinned
|
|
46
|
+
? pinned === "theme-dark"
|
|
45
47
|
: matchMedia("(prefers-color-scheme: dark)").matches;
|
|
46
|
-
root.dataset.
|
|
48
|
+
root.dataset.ui = [
|
|
49
|
+
...tokens.filter((t) => !t.startsWith("theme-")),
|
|
50
|
+
dark ? "theme-light" : "theme-dark",
|
|
51
|
+
].join(" ");
|
|
47
52
|
break;
|
|
48
53
|
}
|
|
49
54
|
case "--copy-link":
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
<header data-command-slot="header">
|
|
25
25
|
<input
|
|
26
26
|
data-command-slot="input"
|
|
27
|
+
name="search"
|
|
27
28
|
type="text"
|
|
28
29
|
placeholder="Type a command or search..."
|
|
29
30
|
role="combobox"
|
|
@@ -32,6 +33,41 @@
|
|
|
32
33
|
autocomplete="off"
|
|
33
34
|
aria-label="Search commands"
|
|
34
35
|
/>
|
|
36
|
+
<button
|
|
37
|
+
data-ui="button"
|
|
38
|
+
data-button-variant="ghost"
|
|
39
|
+
data-button-size="icon"
|
|
40
|
+
type="button"
|
|
41
|
+
command="close"
|
|
42
|
+
commandfor="command-example-dialog-1"
|
|
43
|
+
aria-label="Close"
|
|
44
|
+
>
|
|
45
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256">
|
|
46
|
+
<rect width="256" height="256" fill="none" />
|
|
47
|
+
<line
|
|
48
|
+
x1="200"
|
|
49
|
+
y1="56"
|
|
50
|
+
x2="56"
|
|
51
|
+
y2="200"
|
|
52
|
+
fill="none"
|
|
53
|
+
stroke="currentColor"
|
|
54
|
+
stroke-linecap="round"
|
|
55
|
+
stroke-linejoin="round"
|
|
56
|
+
stroke-width="16"
|
|
57
|
+
/>
|
|
58
|
+
<line
|
|
59
|
+
x1="200"
|
|
60
|
+
y1="200"
|
|
61
|
+
x2="56"
|
|
62
|
+
y2="56"
|
|
63
|
+
fill="none"
|
|
64
|
+
stroke="currentColor"
|
|
65
|
+
stroke-linecap="round"
|
|
66
|
+
stroke-linejoin="round"
|
|
67
|
+
stroke-width="16"
|
|
68
|
+
/>
|
|
69
|
+
</svg>
|
|
70
|
+
</button>
|
|
35
71
|
</header>
|
|
36
72
|
<div role="listbox" data-command-slot="list" aria-label="Commands">
|
|
37
73
|
<div role="group" data-command-slot="group" aria-labelledby="command-example-dialog-1-nav">
|
|
@@ -66,9 +66,11 @@
|
|
|
66
66
|
padding: 0;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
/* Dialog form: the palette owns its interior, edge to edge
|
|
69
|
+
/* Dialog form: the palette owns its interior, edge to edge. A palette is
|
|
70
|
+
asked for, so it skips the dialog's backdrop-first delay and opens at once. */
|
|
70
71
|
:where(ui-command, [data-ui~="command"]) [data-command-slot~="panel"]:where(dialog) {
|
|
71
72
|
--ui-dialog-w: min(var(--layout-sm), 100% - var(--gutters) * 2);
|
|
73
|
+
--ui-dialog-transition-delay--end: 0ms;
|
|
72
74
|
padding: 0;
|
|
73
75
|
}
|
|
74
76
|
|
|
@@ -79,6 +81,15 @@
|
|
|
79
81
|
border-block-end: var(--ui-command-input-border);
|
|
80
82
|
}
|
|
81
83
|
|
|
84
|
+
/* A close button beside the input: the dialog form's way out on touch, where
|
|
85
|
+
there is no Esc and the backdrop may be a sliver */
|
|
86
|
+
:where(ui-command, [data-ui~="command"])
|
|
87
|
+
[data-command-slot~="header"]
|
|
88
|
+
> :where([data-ui~="button"]) {
|
|
89
|
+
flex: none;
|
|
90
|
+
margin-inline-end: var(--spacing);
|
|
91
|
+
}
|
|
92
|
+
|
|
82
93
|
:where(ui-command, [data-ui~="command"]) [data-command-slot~="input"] {
|
|
83
94
|
flex: 1;
|
|
84
95
|
min-inline-size: 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** A stable name per finding, so a linter can switch each one off. */
|
|
2
|
-
export type RuleId = "unknown-utility" | "pseudo-form" | "group-needs-state" | "border-value" | "not-integer" | "tier-unsupported" | "tier-without-base" | "dual-value" | "keyword-number" | "raw-shadows-utility" | "flattens-state" | "gradient-incomplete" | "font-weight-name" | "scroll-state" | "whitespace-before-colon" | "attribute-outside-identity" | "persist";
|
|
2
|
+
export type RuleId = "unknown-utility" | "pseudo-form" | "group-needs-state" | "border-value" | "not-integer" | "tier-unsupported" | "tier-without-base" | "dual-value" | "keyword-number" | "raw-shadows-utility" | "flattens-state" | "gradient-incomplete" | "font-weight-name" | "scroll-state" | "whitespace-before-colon" | "attribute-outside-identity" | "field-id-or-name" | "persist";
|
|
3
3
|
export declare const RULE_IDS: readonly RuleId[];
|
|
4
4
|
/** `[start, end)` offsets into the `style` attribute's value. */
|
|
5
5
|
export type Span = [number, number];
|
|
@@ -19,6 +19,8 @@ export interface Finding {
|
|
|
19
19
|
}
|
|
20
20
|
/** The parts of an element the audit reads. */
|
|
21
21
|
export interface AuditNode {
|
|
22
|
+
/** The tag name, any case. */
|
|
23
|
+
tagName: string;
|
|
22
24
|
getAttribute(name: string): string | null;
|
|
23
25
|
getAttributeNames(): string[];
|
|
24
26
|
/** True when this node or an ancestor carries the identity `name` (see {@link carriesIdentity}). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit-core.d.ts","sourceRoot":"","sources":["audit-core.ts"],"names":[],"mappings":"AAyBA,sEAAsE;AACtE,MAAM,MAAM,MAAM,GACd,iBAAiB,GACjB,aAAa,GACb,mBAAmB,GACnB,cAAc,GACd,aAAa,GACb,kBAAkB,GAClB,mBAAmB,GACnB,YAAY,GACZ,gBAAgB,GAChB,qBAAqB,GACrB,gBAAgB,GAChB,qBAAqB,GACrB,kBAAkB,GAClB,cAAc,GACd,yBAAyB,GACzB,4BAA4B,GAC5B,SAAS,CAAC;AAEd,eAAO,MAAM,QAAQ,EAAE,SAAS,MAAM,
|
|
1
|
+
{"version":3,"file":"audit-core.d.ts","sourceRoot":"","sources":["audit-core.ts"],"names":[],"mappings":"AAyBA,sEAAsE;AACtE,MAAM,MAAM,MAAM,GACd,iBAAiB,GACjB,aAAa,GACb,mBAAmB,GACnB,cAAc,GACd,aAAa,GACb,kBAAkB,GAClB,mBAAmB,GACnB,YAAY,GACZ,gBAAgB,GAChB,qBAAqB,GACrB,gBAAgB,GAChB,qBAAqB,GACrB,kBAAkB,GAClB,cAAc,GACd,yBAAyB,GACzB,4BAA4B,GAC5B,kBAAkB,GAClB,SAAS,CAAC;AAEd,eAAO,MAAM,QAAQ,EAAE,SAAS,MAAM,EAmBrC,CAAC;AAEF,iEAAiE;AACjE,MAAM,MAAM,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEpC,MAAM,WAAW,UAAU;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,4DAA4D;IAC5D,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,kEAAkE;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAED,+CAA+C;AAC/C,MAAM,WAAW,SAAS;IACxB,8BAA8B;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAC1C,iBAAiB,IAAI,MAAM,EAAE,CAAC;IAC9B,oGAAoG;IACpG,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,CAAC;CACtE;AAED,MAAM,WAAW,YAAY;IAC3B,8EAA8E;IAC9E,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAChC,kEAAkE;IAClE,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;IAC9B,wGAAwG;IACxG,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;CACrC;AAwED;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,GAAG,IAAI,EACrB,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,SAAS,MAAM,EAAE,GAC5B,OAAO,CAOT;AAED,4DAA4D;AAC5D,wBAAgB,SAAS,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,GAAG,OAAO,EAAE,CAgS3E;AAED,MAAM,WAAW,cAAc,CAAC,CAAC;IAC/B,EAAE,EAAE,CAAC,CAAC;IACN,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,2FAA2F;AAC3F,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,OAAO,CAAC;CACf;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,EAChC,IAAI,EAAE,OAAO,EACb,SAAS,EAAE,CAAC,EAAE,EACd,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,MAAM,EACvB,OAAO,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,YAAY,GAAG,IAAI,EACvC,SAAS,GAAE,iBAAiB,GAAG,wBAA4C,GAC1E;IAAE,IAAI,EAAE,CAAC,EAAE,CAAC;IAAC,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC,EAAE,CAAA;CAAE,CAgD9C"}
|
|
@@ -25,10 +25,15 @@ export const RULE_IDS = [
|
|
|
25
25
|
"scroll-state",
|
|
26
26
|
"whitespace-before-colon",
|
|
27
27
|
"attribute-outside-identity",
|
|
28
|
+
"field-id-or-name",
|
|
28
29
|
"persist",
|
|
29
30
|
];
|
|
30
31
|
const UTILITY_BY_NAME = new Map([...UTILITIES, ...PSEUDO_ONLY].map((utility) => [utility.name, utility]));
|
|
31
32
|
const PSEUDO_ONLY_NAMES = new Set(PSEUDO_ONLY.map((utility) => utility.name));
|
|
33
|
+
/** Form fields Chrome's autofill identifies by `id` or `name`. */
|
|
34
|
+
const FIELD_TAGS = new Set(["input", "select", "textarea"]);
|
|
35
|
+
/** `<input>` types that are buttons, not fields. */
|
|
36
|
+
const BUTTON_TYPES = new Set(["button", "submit", "reset", "image"]);
|
|
32
37
|
const NUMBER = /^-?(\d+\.?\d*|\.\d+)$/;
|
|
33
38
|
const DIMENSION = /^-?(\d+\.?\d*|\.\d+)(px|r?em|%|v[wh]|v[ib]|[sld]v[wh]|ch|ex|cap|ic|lh|rlh|cq[iwhb]|cqmin|cqmax|pt|cm|mm|in)$/;
|
|
34
39
|
const FUNCTION = /^(calc|clamp|min|max|var|env|round|mod|rem|abs|sign)\(/;
|
|
@@ -205,7 +210,9 @@ export function auditNode(node, context) {
|
|
|
205
210
|
// a border shorthand is the base a border longhand's tier overrides
|
|
206
211
|
const borderBase = /^border-(?:width|color|style)$/.test(baseName) &&
|
|
207
212
|
BORDER_SHORTHANDS.some((name) => bases.has(name));
|
|
208
|
-
|
|
213
|
+
// a utility that only feeds a composite (ring, shadow) has a literal at its chain's end
|
|
214
|
+
const feedsComposite = utility.emit === "none" || utility.emit === "px";
|
|
215
|
+
if (utility.noBase === undefined && !bases.has(baseName) && !borderBase && !feedsComposite) {
|
|
209
216
|
warn("tier-without-base", `\`${name}\` has no base \`--${baseName}\`; the tier only overrides a base.`);
|
|
210
217
|
}
|
|
211
218
|
continue;
|
|
@@ -308,6 +315,17 @@ export function auditNode(node, context) {
|
|
|
308
315
|
});
|
|
309
316
|
}
|
|
310
317
|
}
|
|
318
|
+
// Chrome's Issues panel flags a form field with neither id nor name
|
|
319
|
+
const tag = node.tagName.toLowerCase();
|
|
320
|
+
if (FIELD_TAGS.has(tag) &&
|
|
321
|
+
!(tag === "input" && BUTTON_TYPES.has((node.getAttribute("type") ?? "").toLowerCase())) &&
|
|
322
|
+
!node.getAttribute("id")?.trim() &&
|
|
323
|
+
!node.getAttribute("name")?.trim()) {
|
|
324
|
+
found.push({
|
|
325
|
+
rule: "field-id-or-name",
|
|
326
|
+
message: `\`<${tag}>\` has neither \`id\` nor \`name\`: give it a \`name\` (the key it submits under, and what autofill reads).`,
|
|
327
|
+
});
|
|
328
|
+
}
|
|
311
329
|
return found;
|
|
312
330
|
}
|
|
313
331
|
/**
|
|
@@ -41,6 +41,7 @@ export type RuleId =
|
|
|
41
41
|
| "scroll-state"
|
|
42
42
|
| "whitespace-before-colon"
|
|
43
43
|
| "attribute-outside-identity"
|
|
44
|
+
| "field-id-or-name"
|
|
44
45
|
| "persist";
|
|
45
46
|
|
|
46
47
|
export const RULE_IDS: readonly RuleId[] = [
|
|
@@ -60,6 +61,7 @@ export const RULE_IDS: readonly RuleId[] = [
|
|
|
60
61
|
"scroll-state",
|
|
61
62
|
"whitespace-before-colon",
|
|
62
63
|
"attribute-outside-identity",
|
|
64
|
+
"field-id-or-name",
|
|
63
65
|
"persist",
|
|
64
66
|
];
|
|
65
67
|
|
|
@@ -84,6 +86,8 @@ export interface Finding {
|
|
|
84
86
|
|
|
85
87
|
/** The parts of an element the audit reads. */
|
|
86
88
|
export interface AuditNode {
|
|
89
|
+
/** The tag name, any case. */
|
|
90
|
+
tagName: string;
|
|
87
91
|
getAttribute(name: string): string | null;
|
|
88
92
|
getAttributeNames(): string[];
|
|
89
93
|
/** True when this node or an ancestor carries the identity `name` (see {@link carriesIdentity}). */
|
|
@@ -104,6 +108,11 @@ const UTILITY_BY_NAME = new Map<string, Utility>(
|
|
|
104
108
|
);
|
|
105
109
|
const PSEUDO_ONLY_NAMES = new Set(PSEUDO_ONLY.map((utility) => utility.name));
|
|
106
110
|
|
|
111
|
+
/** Form fields Chrome's autofill identifies by `id` or `name`. */
|
|
112
|
+
const FIELD_TAGS = new Set(["input", "select", "textarea"]);
|
|
113
|
+
/** `<input>` types that are buttons, not fields. */
|
|
114
|
+
const BUTTON_TYPES = new Set(["button", "submit", "reset", "image"]);
|
|
115
|
+
|
|
107
116
|
const NUMBER = /^-?(\d+\.?\d*|\.\d+)$/;
|
|
108
117
|
const DIMENSION =
|
|
109
118
|
/^-?(\d+\.?\d*|\.\d+)(px|r?em|%|v[wh]|v[ib]|[sld]v[wh]|ch|ex|cap|ic|lh|rlh|cq[iwhb]|cqmin|cqmax|pt|cm|mm|in)$/;
|
|
@@ -333,7 +342,9 @@ export function auditNode(node: AuditNode, context: AuditContext): Finding[] {
|
|
|
333
342
|
const borderBase =
|
|
334
343
|
/^border-(?:width|color|style)$/.test(baseName) &&
|
|
335
344
|
BORDER_SHORTHANDS.some((name) => bases.has(name));
|
|
336
|
-
|
|
345
|
+
// a utility that only feeds a composite (ring, shadow) has a literal at its chain's end
|
|
346
|
+
const feedsComposite = utility.emit === "none" || utility.emit === "px";
|
|
347
|
+
if (utility.noBase === undefined && !bases.has(baseName) && !borderBase && !feedsComposite) {
|
|
337
348
|
warn(
|
|
338
349
|
"tier-without-base",
|
|
339
350
|
`\`${name}\` has no base \`--${baseName}\`; the tier only overrides a base.`,
|
|
@@ -456,6 +467,19 @@ export function auditNode(node: AuditNode, context: AuditContext): Finding[] {
|
|
|
456
467
|
});
|
|
457
468
|
}
|
|
458
469
|
}
|
|
470
|
+
// Chrome's Issues panel flags a form field with neither id nor name
|
|
471
|
+
const tag = node.tagName.toLowerCase();
|
|
472
|
+
if (
|
|
473
|
+
FIELD_TAGS.has(tag) &&
|
|
474
|
+
!(tag === "input" && BUTTON_TYPES.has((node.getAttribute("type") ?? "").toLowerCase())) &&
|
|
475
|
+
!node.getAttribute("id")?.trim() &&
|
|
476
|
+
!node.getAttribute("name")?.trim()
|
|
477
|
+
) {
|
|
478
|
+
found.push({
|
|
479
|
+
rule: "field-id-or-name",
|
|
480
|
+
message: `\`<${tag}>\` has neither \`id\` nor \`name\`: give it a \`name\` (the key it submits under, and what autofill reads).`,
|
|
481
|
+
});
|
|
482
|
+
}
|
|
459
483
|
return found;
|
|
460
484
|
}
|
|
461
485
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["debug.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAqB,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAKL,KAAK,MAAM,EACZ,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,OAAO,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,YAAY;IAC3B,+GAA+G;IAC/G,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACjC,mGAAmG;IACnG,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB;
|
|
1
|
+
{"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["debug.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAqB,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAKL,KAAK,MAAM,EACZ,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,OAAO,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,YAAY;IAC3B,+GAA+G;IAC/G,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACjC,mGAAmG;IACnG,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB;AA2CD,8EAA8E;AAC9E,wBAAgB,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,GAAE,YAAiB,GAAG,OAAO,EAAE,CAc1E;AAED,MAAM,WAAW,IAAI;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,EAAE,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,QAAQ,GAAG;IAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IAAC,QAAQ,EAAE,OAAO,EAAE,CAAA;CAAE,CAyCtF;AAED,eAAO,MAAM,aAAa,8KACiJ,CAAC;AAI5K,cAAM,OAAQ,SAAQ,WAAW;IAC/B,SAAS,CAAC,KAAK,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,CAgDzC;CACF;AAID,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -19,6 +19,7 @@ import { auditNode, auditPersistence, carriesIdentity, } from "./audit-core.js";
|
|
|
19
19
|
/** A live element as the audit core reads it. */
|
|
20
20
|
function auditNodeOf(el) {
|
|
21
21
|
return {
|
|
22
|
+
tagName: el.tagName,
|
|
22
23
|
getAttribute: (name) => el.getAttribute(name),
|
|
23
24
|
getAttributeNames: () => el.getAttributeNames(),
|
|
24
25
|
withinIdentity: (name, identities) => {
|
|
@@ -41,6 +41,7 @@ export interface AuditOptions {
|
|
|
41
41
|
/** A live element as the audit core reads it. */
|
|
42
42
|
function auditNodeOf(el: Element): AuditNode {
|
|
43
43
|
return {
|
|
44
|
+
tagName: el.tagName,
|
|
44
45
|
getAttribute: (name) => el.getAttribute(name),
|
|
45
46
|
getAttributeNames: () => el.getAttributeNames(),
|
|
46
47
|
withinIdentity: (name, identities) => {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
--ui-dialog-transition-timing-function: var(--default-transition-timing-function);
|
|
22
22
|
--ui-dialog-backdrop-transition-duration: calc(var(--ui-dialog-transition-duration) - 100ms);
|
|
23
23
|
--ui-dialog-backdrop-transition-timing-function: ease;
|
|
24
|
-
--ui-dialog-backdrop-
|
|
24
|
+
--ui-dialog-backdrop-filter: none;
|
|
25
25
|
--ui-dialog-shadow: var(--shadow-lg);
|
|
26
26
|
--ui-dialog-border: 1px solid var(--color-border);
|
|
27
27
|
--ui-dialog-w: min(var(--layout-md), 100% - var(--gutters) * 2);
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
overscroll-behavior: contain;
|
|
104
104
|
overflow: auto;
|
|
105
105
|
background-color: var(--ui-dialog-backdrop-color);
|
|
106
|
-
backdrop-filter: var(--ui-dialog-backdrop-
|
|
106
|
+
backdrop-filter: var(--ui-dialog-backdrop-filter);
|
|
107
107
|
transition: opacity var(--ui-dialog-backdrop-transition-duration)
|
|
108
108
|
var(--ui-dialog-backdrop-transition-timing-function);
|
|
109
109
|
}
|
|
@@ -6,12 +6,15 @@
|
|
|
6
6
|
* @uses :user-invalid: validation after commit (not while typing)
|
|
7
7
|
* @uses :has(:user-invalid): label/hint/error crossfade
|
|
8
8
|
* @uses @starting-style + visibility allow-discrete: hint <-> error swap
|
|
9
|
+
* @uses @supports (-webkit-touch-callout: none): iOS-only 16px field text,
|
|
10
|
+
* so a focused control does not zoom the page
|
|
9
11
|
* @tokens --ui-field-*, --ui-field-group-* (Tier 3 owner; @layer variables)
|
|
10
12
|
* @consumedby input.css, textarea.css, select.css, input-group.css,
|
|
11
13
|
* password-group.css, otp.css, radio.css, checkbox.css,
|
|
12
14
|
* autocomplete.css, combobox.css, command.css,
|
|
13
|
-
* button.css (metrics: h/rounded/px/
|
|
14
|
-
*
|
|
15
|
+
* button.css (metrics: h/rounded/px/icon/ring/border width+style; not font-size
|
|
16
|
+
* or leading, so the iOS 16px rule below reaches text controls only),
|
|
17
|
+
* toggle.css (via button.css), tabs.css (same metrics), badge.css (border/ring)
|
|
15
18
|
*
|
|
16
19
|
* Identities: data-ui="field" (label + control + description wrapper),
|
|
17
20
|
* data-ui="field-group" (fieldset; data-ui="radio-group" shares its rules).
|
|
@@ -69,6 +72,16 @@
|
|
|
69
72
|
--ui-field-group-gap: var(--space-xs);
|
|
70
73
|
--ui-field-group-rounded: var(--radius-lg);
|
|
71
74
|
}
|
|
75
|
+
|
|
76
|
+
/* iOS zooms the page to any focused control that renders under 16px, so a
|
|
77
|
+
--font-size-sm field opens the keyboard with a lurch. Every iOS browser is
|
|
78
|
+
WebKit, and -webkit-touch-callout exists only there, so this raises the
|
|
79
|
+
field size on iOS alone; desktop and Android keep the smaller type. */
|
|
80
|
+
@supports (-webkit-touch-callout: none) {
|
|
81
|
+
:root {
|
|
82
|
+
--ui-field-font-size: max(16px, var(--font-size-sm));
|
|
83
|
+
}
|
|
84
|
+
}
|
|
72
85
|
}
|
|
73
86
|
|
|
74
87
|
@layer ui.components {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<label data-ui="input-group">
|
|
2
|
-
<input data-ui="input" type="search" placeholder="Search…" aria-label="Search" />
|
|
2
|
+
<input data-ui="input" type="search" name="q" placeholder="Search…" aria-label="Search" />
|
|
3
3
|
<span data-input-group-slot="addon" data-input-group-align="inline-end">
|
|
4
4
|
<svg
|
|
5
5
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* input.css — Text input ([data-ui~="input"])
|
|
3
3
|
*
|
|
4
4
|
* @layer variables, components
|
|
5
|
-
* @requires _layers.css, _variables.css, _properties.css (--_*-resolved, --_focus-
|
|
5
|
+
* @requires _layers.css, _variables.css, _properties.css (--_*-resolved, --_focus-shadow), fields.css, _reset.css
|
|
6
6
|
* @uses ::-webkit-calendar-picker-indicator — date/time picker chrome (WebKit)
|
|
7
7
|
* @uses mask — calendar icon (not background-image, for color: currentColor)
|
|
8
8
|
* @tokens --ui-input-* (@layer variables; surface colors and height read the
|
|
@@ -67,18 +67,25 @@
|
|
|
67
67
|
border-color: var(--_border-color-resolved, var(--ui-input-border-color));
|
|
68
68
|
border-radius: var(--_rounded-resolved, var(--ui-input-rounded));
|
|
69
69
|
|
|
70
|
-
/* The ring is published to --_focus-
|
|
70
|
+
/* The ring is published to --_focus-shadow so a --shadow utility keeps
|
|
71
71
|
it; the transparent outline twin keeps focus visible in forced-colors */
|
|
72
72
|
--_ring-offset-width: 0px;
|
|
73
73
|
--_ring-width: 0px;
|
|
74
|
+
--_focus-in: max(0, -1 * sign(var(--_focus-ring-w, 1px)));
|
|
74
75
|
--_ring-fill: color-mix(in oklch, var(--ui-field-ring-color) var(--ring-opacity), transparent);
|
|
75
|
-
--_focus-
|
|
76
|
-
0 0 0 var(--_ring-offset-width) var(--ring-offset-shadow-color),
|
|
77
|
-
0 0 0 calc(var(--_ring-offset-width) + var(--_ring-width))
|
|
76
|
+
--_focus-shadow:
|
|
77
|
+
0 0 0 calc(var(--_ring-offset-width) * (1 - var(--_focus-in))) var(--ring-offset-shadow-color),
|
|
78
|
+
0 0 0 calc((var(--_ring-offset-width) + var(--_ring-width)) * (1 - var(--_focus-in)))
|
|
79
|
+
var(--_ring-fill, var(--ring-shadow-color)),
|
|
80
|
+
inset 0 0 0 calc(var(--_ring-offset-width) * var(--_focus-in)) var(--ring-offset-shadow-color),
|
|
81
|
+
inset 0 0 0 calc((var(--_ring-offset-width) + var(--_ring-width)) * var(--_focus-in))
|
|
78
82
|
var(--_ring-fill, var(--ring-shadow-color));
|
|
79
|
-
box-shadow: var(--_focus-
|
|
80
|
-
outline: var(--outline-width) var(--outline-style) transparent;
|
|
81
|
-
outline-offset:
|
|
83
|
+
box-shadow: var(--_focus-shadow, 0 0 #0000), var(--_shadow-resolved, 0 0 #0000);
|
|
84
|
+
outline: abs(var(--_focus-ring-w, var(--outline-width))) var(--outline-style) transparent;
|
|
85
|
+
outline-offset: calc(
|
|
86
|
+
var(--outline-offset) - var(--_focus-in) *
|
|
87
|
+
(2 * var(--outline-offset) + abs(var(--_focus-ring-w, var(--outline-width))))
|
|
88
|
+
);
|
|
82
89
|
|
|
83
90
|
transition: var(--default-transition);
|
|
84
91
|
}
|
|
@@ -94,7 +101,7 @@
|
|
|
94
101
|
background-color: var(--_bg-resolved, var(--ui-field-bg--focus-within));
|
|
95
102
|
border-color: var(--_border-color-resolved, var(--ui-field-border-color--focus-within));
|
|
96
103
|
--_ring-offset-width: var(--ring-offset-width);
|
|
97
|
-
--_ring-width: var(--ring-width);
|
|
104
|
+
--_ring-width: abs(var(--_focus-ring-w, var(--ring-width)));
|
|
98
105
|
outline-color: transparent;
|
|
99
106
|
}
|
|
100
107
|
|
|
@@ -79,17 +79,24 @@
|
|
|
79
79
|
|
|
80
80
|
--_ring-offset-width: 0px;
|
|
81
81
|
--_ring-width: 0px;
|
|
82
|
+
--_focus-in: max(0, -1 * sign(var(--_focus-ring-w, 1px)));
|
|
82
83
|
--_ring-fill: color-mix(in oklch, var(--ui-field-ring-color) var(--ring-opacity), transparent);
|
|
83
|
-
/* The ring is published to --_focus-
|
|
84
|
-
--_focus-
|
|
85
|
-
0 0 0 var(--_ring-offset-width) var(--ring-offset-shadow-color),
|
|
86
|
-
0 0 0 calc(var(--_ring-offset-width) + var(--_ring-width))
|
|
84
|
+
/* The ring is published to --_focus-shadow so a --shadow utility keeps it */
|
|
85
|
+
--_focus-shadow:
|
|
86
|
+
0 0 0 calc(var(--_ring-offset-width) * (1 - var(--_focus-in))) var(--ring-offset-shadow-color),
|
|
87
|
+
0 0 0 calc((var(--_ring-offset-width) + var(--_ring-width)) * (1 - var(--_focus-in)))
|
|
88
|
+
var(--_ring-fill, var(--ring-shadow-color)),
|
|
89
|
+
inset 0 0 0 calc(var(--_ring-offset-width) * var(--_focus-in)) var(--ring-offset-shadow-color),
|
|
90
|
+
inset 0 0 0 calc((var(--_ring-offset-width) + var(--_ring-width)) * var(--_focus-in))
|
|
87
91
|
var(--_ring-fill, var(--ring-shadow-color));
|
|
88
92
|
box-shadow:
|
|
89
|
-
var(--_focus-
|
|
93
|
+
var(--_focus-shadow, 0 0 #0000), var(--_shadow-resolved, var(--ui-input-group-shadow));
|
|
90
94
|
|
|
91
|
-
outline: var(--outline-width) var(--outline-style) transparent;
|
|
92
|
-
outline-offset:
|
|
95
|
+
outline: abs(var(--_focus-ring-w, var(--outline-width))) var(--outline-style) transparent;
|
|
96
|
+
outline-offset: calc(
|
|
97
|
+
var(--outline-offset) - var(--_focus-in) *
|
|
98
|
+
(2 * var(--outline-offset) + abs(var(--_focus-ring-w, var(--outline-width))))
|
|
99
|
+
);
|
|
93
100
|
|
|
94
101
|
transition: var(--default-transition);
|
|
95
102
|
}
|
|
@@ -105,7 +112,7 @@
|
|
|
105
112
|
background-color: var(--_bg-resolved, var(--ui-field-bg--focus-within));
|
|
106
113
|
border-color: var(--_border-color-resolved, var(--ui-field-border-color--focus-within));
|
|
107
114
|
--_ring-offset-width: var(--ring-offset-width);
|
|
108
|
-
--_ring-width: var(--ring-width);
|
|
115
|
+
--_ring-width: abs(var(--_focus-ring-w, var(--ring-width)));
|
|
109
116
|
outline-color: transparent;
|
|
110
117
|
}
|
|
111
118
|
|
|
@@ -111,7 +111,11 @@
|
|
|
111
111
|
"
|
|
112
112
|
>
|
|
113
113
|
Platform
|
|
114
|
-
<svg
|
|
114
|
+
<svg
|
|
115
|
+
data-accordion-slot="marker"
|
|
116
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
117
|
+
viewBox="0 0 256 256"
|
|
118
|
+
>
|
|
115
119
|
<rect width="256" height="256" fill="none" />
|
|
116
120
|
<polyline
|
|
117
121
|
points="208 96 128 176 48 96"
|
|
@@ -259,7 +263,11 @@
|
|
|
259
263
|
"
|
|
260
264
|
>
|
|
261
265
|
Resources
|
|
262
|
-
<svg
|
|
266
|
+
<svg
|
|
267
|
+
data-accordion-slot="marker"
|
|
268
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
269
|
+
viewBox="0 0 256 256"
|
|
270
|
+
>
|
|
263
271
|
<rect width="256" height="256" fill="none" />
|
|
264
272
|
<polyline
|
|
265
273
|
points="208 96 128 176 48 96"
|
|
@@ -378,7 +386,11 @@
|
|
|
378
386
|
"
|
|
379
387
|
>
|
|
380
388
|
Products
|
|
381
|
-
<svg
|
|
389
|
+
<svg
|
|
390
|
+
data-accordion-slot="marker"
|
|
391
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
392
|
+
viewBox="0 0 256 256"
|
|
393
|
+
>
|
|
382
394
|
<rect width="256" height="256" fill="none" />
|
|
383
395
|
<polyline
|
|
384
396
|
points="208 96 128 176 48 96"
|
|
@@ -408,7 +420,11 @@
|
|
|
408
420
|
"
|
|
409
421
|
>
|
|
410
422
|
Design
|
|
411
|
-
<svg
|
|
423
|
+
<svg
|
|
424
|
+
data-accordion-slot="marker"
|
|
425
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
426
|
+
viewBox="0 0 256 256"
|
|
427
|
+
>
|
|
412
428
|
<rect width="256" height="256" fill="none" />
|
|
413
429
|
<polyline
|
|
414
430
|
points="208 96 128 176 48 96"
|
|
@@ -556,7 +572,11 @@
|
|
|
556
572
|
"
|
|
557
573
|
>
|
|
558
574
|
Development
|
|
559
|
-
<svg
|
|
575
|
+
<svg
|
|
576
|
+
data-accordion-slot="marker"
|
|
577
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
578
|
+
viewBox="0 0 256 256"
|
|
579
|
+
>
|
|
560
580
|
<rect width="256" height="256" fill="none" />
|
|
561
581
|
<polyline
|
|
562
582
|
points="208 96 128 176 48 96"
|
|
@@ -704,7 +724,11 @@
|
|
|
704
724
|
"
|
|
705
725
|
>
|
|
706
726
|
Content
|
|
707
|
-
<svg
|
|
727
|
+
<svg
|
|
728
|
+
data-accordion-slot="marker"
|
|
729
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
730
|
+
viewBox="0 0 256 256"
|
|
731
|
+
>
|
|
708
732
|
<rect width="256" height="256" fill="none" />
|
|
709
733
|
<polyline
|
|
710
734
|
points="208 96 128 176 48 96"
|
|
@@ -826,7 +850,11 @@
|
|
|
826
850
|
"
|
|
827
851
|
>
|
|
828
852
|
Shop
|
|
829
|
-
<svg
|
|
853
|
+
<svg
|
|
854
|
+
data-accordion-slot="marker"
|
|
855
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
856
|
+
viewBox="0 0 256 256"
|
|
857
|
+
>
|
|
830
858
|
<rect width="256" height="256" fill="none" />
|
|
831
859
|
<polyline
|
|
832
860
|
points="208 96 128 176 48 96"
|
|
@@ -856,7 +884,11 @@
|
|
|
856
884
|
"
|
|
857
885
|
>
|
|
858
886
|
Women
|
|
859
|
-
<svg
|
|
887
|
+
<svg
|
|
888
|
+
data-accordion-slot="marker"
|
|
889
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
890
|
+
viewBox="0 0 256 256"
|
|
891
|
+
>
|
|
860
892
|
<rect width="256" height="256" fill="none" />
|
|
861
893
|
<polyline
|
|
862
894
|
points="208 96 128 176 48 96"
|
|
@@ -1191,7 +1223,11 @@
|
|
|
1191
1223
|
"
|
|
1192
1224
|
>
|
|
1193
1225
|
Men
|
|
1194
|
-
<svg
|
|
1226
|
+
<svg
|
|
1227
|
+
data-accordion-slot="marker"
|
|
1228
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1229
|
+
viewBox="0 0 256 256"
|
|
1230
|
+
>
|
|
1195
1231
|
<rect width="256" height="256" fill="none" />
|
|
1196
1232
|
<polyline
|
|
1197
1233
|
points="208 96 128 176 48 96"
|
|
@@ -1526,7 +1562,11 @@
|
|
|
1526
1562
|
"
|
|
1527
1563
|
>
|
|
1528
1564
|
Home
|
|
1529
|
-
<svg
|
|
1565
|
+
<svg
|
|
1566
|
+
data-accordion-slot="marker"
|
|
1567
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1568
|
+
viewBox="0 0 256 256"
|
|
1569
|
+
>
|
|
1530
1570
|
<rect width="256" height="256" fill="none" />
|
|
1531
1571
|
<polyline
|
|
1532
1572
|
points="208 96 128 176 48 96"
|
|
@@ -11,7 +11,11 @@
|
|
|
11
11
|
popovertarget="nav-featured-1"
|
|
12
12
|
>
|
|
13
13
|
Magazine
|
|
14
|
-
<svg
|
|
14
|
+
<svg
|
|
15
|
+
data-navigation-menu-slot="marker"
|
|
16
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
17
|
+
viewBox="0 0 256 256"
|
|
18
|
+
>
|
|
15
19
|
<rect width="256" height="256" fill="none" />
|
|
16
20
|
<polyline
|
|
17
21
|
points="208 96 128 176 48 96"
|
|
@@ -11,7 +11,11 @@
|
|
|
11
11
|
popovertarget="nav-icon-grid-1"
|
|
12
12
|
>
|
|
13
13
|
Solutions
|
|
14
|
-
<svg
|
|
14
|
+
<svg
|
|
15
|
+
data-navigation-menu-slot="marker"
|
|
16
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
17
|
+
viewBox="0 0 256 256"
|
|
18
|
+
>
|
|
15
19
|
<rect width="256" height="256" fill="none" />
|
|
16
20
|
<polyline
|
|
17
21
|
points="208 96 128 176 48 96"
|