@helixui/library 2.1.1 → 2.1.2-next.45
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/custom-elements.json +224 -224
- package/dist/components/hx-action-bar/hx-action-bar.d.ts +24 -3
- package/dist/components/hx-action-bar/hx-action-bar.d.ts.map +1 -1
- package/dist/components/hx-action-bar/index.js +1 -1
- package/dist/components/hx-badge/hx-badge.styles.d.ts.map +1 -1
- package/dist/components/hx-badge/index.js +1 -1
- package/dist/components/hx-link/hx-link.d.ts.map +1 -1
- package/dist/components/hx-link/index.js +1 -1
- package/dist/css/helix-all.css +33 -14
- package/dist/css/helix-core.css +33 -14
- package/dist/css/hx-badge.css +33 -14
- package/dist/css/index.css +1 -1
- package/dist/css/manifest.json +2 -2
- package/dist/index.js +3 -3
- package/dist/shared/{hx-action-bar-BpY1Z1UV.js → hx-action-bar-CNLYufVd.js} +39 -28
- package/dist/shared/hx-action-bar-CNLYufVd.js.map +1 -0
- package/dist/shared/{hx-badge-DDXTLoWi.js → hx-badge-RPzd-t5l.js} +44 -25
- package/dist/shared/hx-badge-RPzd-t5l.js.map +1 -0
- package/dist/shared/{hx-link-IVsXmsKx.js → hx-link-B8IwUMSc.js} +5 -4
- package/dist/shared/{hx-link-IVsXmsKx.js.map → hx-link-B8IwUMSc.js.map} +1 -1
- package/package.json +2 -2
- package/dist/shared/hx-action-bar-BpY1Z1UV.js.map +0 -1
- package/dist/shared/hx-badge-DDXTLoWi.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -2,230 +2,6 @@
|
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"readme": "",
|
|
4
4
|
"modules": [
|
|
5
|
-
{
|
|
6
|
-
"kind": "javascript-module",
|
|
7
|
-
"path": "src/components/hx-action-bar/hx-action-bar.ts",
|
|
8
|
-
"declarations": [
|
|
9
|
-
{
|
|
10
|
-
"kind": "class",
|
|
11
|
-
"description": "A horizontal toolbar container for grouping related action buttons and controls.\nImplements the ARIA toolbar pattern with roving tabindex keyboard navigation.",
|
|
12
|
-
"name": "HelixActionBar",
|
|
13
|
-
"cssProperties": [
|
|
14
|
-
{
|
|
15
|
-
"description": "Bar background color (default variant).",
|
|
16
|
-
"name": "--hx-action-bar-bg",
|
|
17
|
-
"default": "transparent"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"description": "Bar border (default variant).",
|
|
21
|
-
"name": "--hx-action-bar-border",
|
|
22
|
-
"default": "none"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"description": "Inner padding.",
|
|
26
|
-
"name": "--hx-action-bar-padding",
|
|
27
|
-
"default": "var(--hx-space-2,0.5rem) var(--hx-space-3,0.75rem)"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"description": "Gap between slotted items.",
|
|
31
|
-
"name": "--hx-action-bar-gap",
|
|
32
|
-
"default": "var(--hx-space-2,0.5rem)"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"description": "Z-index when sticky or bottom position.",
|
|
36
|
-
"name": "--hx-action-bar-z-index",
|
|
37
|
-
"default": "10"
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
"cssParts": [
|
|
41
|
-
{
|
|
42
|
-
"description": "The root toolbar container element.",
|
|
43
|
-
"name": "base"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"description": "The start (left) slot wrapper.",
|
|
47
|
-
"name": "start"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"description": "The center (default) slot wrapper.",
|
|
51
|
-
"name": "center"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"description": "The end (right) slot wrapper.",
|
|
55
|
-
"name": "end"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"description": "The overflow slot wrapper (hidden when no overflow content).",
|
|
59
|
-
"name": "overflow"
|
|
60
|
-
}
|
|
61
|
-
],
|
|
62
|
-
"slots": [
|
|
63
|
-
{
|
|
64
|
-
"description": "Left-aligned actions.",
|
|
65
|
-
"name": "start"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"description": "Center content (default slot).",
|
|
69
|
-
"name": ""
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"description": "Right-aligned actions.",
|
|
73
|
-
"name": "end"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"description": "Actions revealed when the bar is constrained for space.",
|
|
77
|
-
"name": "overflow"
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
"members": [
|
|
81
|
-
{
|
|
82
|
-
"kind": "field",
|
|
83
|
-
"name": "size",
|
|
84
|
-
"type": {
|
|
85
|
-
"text": "'sm' | 'md' | 'lg'"
|
|
86
|
-
},
|
|
87
|
-
"default": "'md'",
|
|
88
|
-
"description": "Size of the action bar — propagated as a data attribute to slotted children.",
|
|
89
|
-
"attribute": "hx-size",
|
|
90
|
-
"reflects": true
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"kind": "field",
|
|
94
|
-
"name": "variant",
|
|
95
|
-
"type": {
|
|
96
|
-
"text": "'default' | 'outlined' | 'filled'"
|
|
97
|
-
},
|
|
98
|
-
"default": "'default'",
|
|
99
|
-
"description": "Visual variant controlling the bar background.",
|
|
100
|
-
"attribute": "variant",
|
|
101
|
-
"reflects": true
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"kind": "field",
|
|
105
|
-
"name": "position",
|
|
106
|
-
"type": {
|
|
107
|
-
"text": "'top' | 'bottom' | 'sticky'"
|
|
108
|
-
},
|
|
109
|
-
"default": "'top'",
|
|
110
|
-
"description": "Position and sticky behavior of the action bar.\n- `top` — normal flow (default)\n- `sticky` — sticks to the top of the scroll container; add `scroll-padding-top` to the\n scroll container equal to the bar height to prevent anchor targets from scrolling behind it\n- `bottom` — sticks to the bottom of the scroll container with iOS safe-area-inset support",
|
|
111
|
-
"attribute": "position",
|
|
112
|
-
"reflects": true
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"kind": "field",
|
|
116
|
-
"name": "sticky",
|
|
117
|
-
"type": {
|
|
118
|
-
"text": "boolean"
|
|
119
|
-
},
|
|
120
|
-
"deprecated": "Use `position=\"sticky\"` instead.\nWhen true, the bar sticks to the top of its scroll container.",
|
|
121
|
-
"attribute": "sticky",
|
|
122
|
-
"reflects": true
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"kind": "field",
|
|
126
|
-
"name": "ariaLabel",
|
|
127
|
-
"type": {
|
|
128
|
-
"text": "string"
|
|
129
|
-
},
|
|
130
|
-
"default": "'Actions'",
|
|
131
|
-
"description": "Accessible label for the toolbar.\nRequired when multiple toolbars appear on the same page.",
|
|
132
|
-
"attribute": "aria-label"
|
|
133
|
-
}
|
|
134
|
-
],
|
|
135
|
-
"attributes": [
|
|
136
|
-
{
|
|
137
|
-
"name": "hx-size",
|
|
138
|
-
"type": {
|
|
139
|
-
"text": "'sm' | 'md' | 'lg'"
|
|
140
|
-
},
|
|
141
|
-
"default": "'md'",
|
|
142
|
-
"description": "Size of the action bar — propagated as a data attribute to slotted children.",
|
|
143
|
-
"fieldName": "size",
|
|
144
|
-
"attribute": "hx-size"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"name": "variant",
|
|
148
|
-
"type": {
|
|
149
|
-
"text": "'default' | 'outlined' | 'filled'"
|
|
150
|
-
},
|
|
151
|
-
"default": "'default'",
|
|
152
|
-
"description": "Visual variant controlling the bar background.",
|
|
153
|
-
"fieldName": "variant",
|
|
154
|
-
"attribute": "variant"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"name": "position",
|
|
158
|
-
"type": {
|
|
159
|
-
"text": "'top' | 'bottom' | 'sticky'"
|
|
160
|
-
},
|
|
161
|
-
"default": "'top'",
|
|
162
|
-
"description": "Position and sticky behavior of the action bar.\n- `top` — normal flow (default)\n- `sticky` — sticks to the top of the scroll container; add `scroll-padding-top` to the\n scroll container equal to the bar height to prevent anchor targets from scrolling behind it\n- `bottom` — sticks to the bottom of the scroll container with iOS safe-area-inset support",
|
|
163
|
-
"fieldName": "position",
|
|
164
|
-
"attribute": "position"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"name": "sticky",
|
|
168
|
-
"type": {
|
|
169
|
-
"text": "boolean"
|
|
170
|
-
},
|
|
171
|
-
"deprecated": "Use `position=\"sticky\"` instead.\nWhen true, the bar sticks to the top of its scroll container.",
|
|
172
|
-
"fieldName": "sticky",
|
|
173
|
-
"attribute": "sticky"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"name": "aria-label",
|
|
177
|
-
"type": {
|
|
178
|
-
"text": "string"
|
|
179
|
-
},
|
|
180
|
-
"default": "'Actions'",
|
|
181
|
-
"description": "Accessible label for the toolbar.\nRequired when multiple toolbars appear on the same page.",
|
|
182
|
-
"fieldName": "ariaLabel",
|
|
183
|
-
"attribute": "aria-label"
|
|
184
|
-
}
|
|
185
|
-
],
|
|
186
|
-
"superclass": {
|
|
187
|
-
"name": "LitElement",
|
|
188
|
-
"package": "lit"
|
|
189
|
-
},
|
|
190
|
-
"tagName": "hx-action-bar",
|
|
191
|
-
"customElement": true,
|
|
192
|
-
"summary": "Horizontal action bar for grouping related controls."
|
|
193
|
-
}
|
|
194
|
-
],
|
|
195
|
-
"exports": [
|
|
196
|
-
{
|
|
197
|
-
"kind": "js",
|
|
198
|
-
"name": "HelixActionBar",
|
|
199
|
-
"declaration": {
|
|
200
|
-
"name": "HelixActionBar",
|
|
201
|
-
"module": "src/components/hx-action-bar/hx-action-bar.ts"
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"kind": "custom-element-definition",
|
|
206
|
-
"name": "hx-action-bar",
|
|
207
|
-
"declaration": {
|
|
208
|
-
"name": "HelixActionBar",
|
|
209
|
-
"module": "src/components/hx-action-bar/hx-action-bar.ts"
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
]
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"kind": "javascript-module",
|
|
216
|
-
"path": "src/components/hx-action-bar/index.ts",
|
|
217
|
-
"declarations": [],
|
|
218
|
-
"exports": [
|
|
219
|
-
{
|
|
220
|
-
"kind": "js",
|
|
221
|
-
"name": "HelixActionBar",
|
|
222
|
-
"declaration": {
|
|
223
|
-
"name": "HelixActionBar",
|
|
224
|
-
"module": "./hx-action-bar.js"
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
]
|
|
228
|
-
},
|
|
229
5
|
{
|
|
230
6
|
"kind": "javascript-module",
|
|
231
7
|
"path": "src/components/hx-accordion/hx-accordion-item.ts",
|
|
@@ -525,6 +301,230 @@
|
|
|
525
301
|
}
|
|
526
302
|
]
|
|
527
303
|
},
|
|
304
|
+
{
|
|
305
|
+
"kind": "javascript-module",
|
|
306
|
+
"path": "src/components/hx-action-bar/hx-action-bar.ts",
|
|
307
|
+
"declarations": [
|
|
308
|
+
{
|
|
309
|
+
"kind": "class",
|
|
310
|
+
"description": "A horizontal toolbar container for grouping related action buttons and controls.\nImplements the ARIA toolbar pattern with roving tabindex keyboard navigation.",
|
|
311
|
+
"name": "HelixActionBar",
|
|
312
|
+
"cssProperties": [
|
|
313
|
+
{
|
|
314
|
+
"description": "Bar background color (default variant).",
|
|
315
|
+
"name": "--hx-action-bar-bg",
|
|
316
|
+
"default": "transparent"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"description": "Bar border (default variant).",
|
|
320
|
+
"name": "--hx-action-bar-border",
|
|
321
|
+
"default": "none"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"description": "Inner padding.",
|
|
325
|
+
"name": "--hx-action-bar-padding",
|
|
326
|
+
"default": "var(--hx-space-2,0.5rem) var(--hx-space-3,0.75rem)"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"description": "Gap between slotted items.",
|
|
330
|
+
"name": "--hx-action-bar-gap",
|
|
331
|
+
"default": "var(--hx-space-2,0.5rem)"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"description": "Z-index when sticky or bottom position.",
|
|
335
|
+
"name": "--hx-action-bar-z-index",
|
|
336
|
+
"default": "10"
|
|
337
|
+
}
|
|
338
|
+
],
|
|
339
|
+
"cssParts": [
|
|
340
|
+
{
|
|
341
|
+
"description": "The root toolbar container element.",
|
|
342
|
+
"name": "base"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"description": "The start (left) slot wrapper.",
|
|
346
|
+
"name": "start"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"description": "The center (default) slot wrapper.",
|
|
350
|
+
"name": "center"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"description": "The end (right) slot wrapper.",
|
|
354
|
+
"name": "end"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"description": "The overflow slot wrapper (hidden when no overflow content).",
|
|
358
|
+
"name": "overflow"
|
|
359
|
+
}
|
|
360
|
+
],
|
|
361
|
+
"slots": [
|
|
362
|
+
{
|
|
363
|
+
"description": "Left-aligned actions.",
|
|
364
|
+
"name": "start"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"description": "Center content (default slot).",
|
|
368
|
+
"name": ""
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"description": "Right-aligned actions.",
|
|
372
|
+
"name": "end"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"description": "Actions revealed when the bar is constrained for space.",
|
|
376
|
+
"name": "overflow"
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
"members": [
|
|
380
|
+
{
|
|
381
|
+
"kind": "field",
|
|
382
|
+
"name": "size",
|
|
383
|
+
"type": {
|
|
384
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
385
|
+
},
|
|
386
|
+
"default": "'md'",
|
|
387
|
+
"description": "Size of the action bar — propagated as a data attribute to slotted children.",
|
|
388
|
+
"attribute": "hx-size",
|
|
389
|
+
"reflects": true
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"kind": "field",
|
|
393
|
+
"name": "variant",
|
|
394
|
+
"type": {
|
|
395
|
+
"text": "'default' | 'outlined' | 'filled'"
|
|
396
|
+
},
|
|
397
|
+
"default": "'default'",
|
|
398
|
+
"description": "Visual variant controlling the bar background.",
|
|
399
|
+
"attribute": "variant",
|
|
400
|
+
"reflects": true
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"kind": "field",
|
|
404
|
+
"name": "position",
|
|
405
|
+
"type": {
|
|
406
|
+
"text": "'top' | 'bottom' | 'sticky'"
|
|
407
|
+
},
|
|
408
|
+
"default": "'top'",
|
|
409
|
+
"description": "Position and sticky behavior of the action bar.\n- `top` — normal flow (default)\n- `sticky` — sticks to the top of the scroll container; add `scroll-padding-top` to the\n scroll container equal to the bar height to prevent anchor targets from scrolling behind it\n- `bottom` — sticks to the bottom of the scroll container with iOS safe-area-inset support",
|
|
410
|
+
"attribute": "position",
|
|
411
|
+
"reflects": true
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"kind": "field",
|
|
415
|
+
"name": "sticky",
|
|
416
|
+
"type": {
|
|
417
|
+
"text": "boolean"
|
|
418
|
+
},
|
|
419
|
+
"deprecated": "Use `position=\"sticky\"` instead.\nWhen true, the bar sticks to the top of its scroll container.",
|
|
420
|
+
"attribute": "sticky",
|
|
421
|
+
"reflects": true
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"kind": "field",
|
|
425
|
+
"name": "accessibleLabel",
|
|
426
|
+
"type": {
|
|
427
|
+
"text": "string"
|
|
428
|
+
},
|
|
429
|
+
"default": "''",
|
|
430
|
+
"description": "Accessible label for the toolbar.\nRequired when multiple toolbars appear on the same page.\n\nAccepts both `accessible-label` and the standard `aria-label` HTML attribute.\nThe `accessible-label` attribute takes precedence when both are set.\n\nPreviously this was exposed as the `ariaLabel` JS property, which shadowed\nthe native `HTMLElement.ariaLabel`. That shadowing is removed; use\n`accessibleLabel` or the HTML attributes instead.",
|
|
431
|
+
"attribute": "accessible-label"
|
|
432
|
+
}
|
|
433
|
+
],
|
|
434
|
+
"attributes": [
|
|
435
|
+
{
|
|
436
|
+
"name": "hx-size",
|
|
437
|
+
"type": {
|
|
438
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
439
|
+
},
|
|
440
|
+
"default": "'md'",
|
|
441
|
+
"description": "Size of the action bar — propagated as a data attribute to slotted children.",
|
|
442
|
+
"fieldName": "size",
|
|
443
|
+
"attribute": "hx-size"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"name": "variant",
|
|
447
|
+
"type": {
|
|
448
|
+
"text": "'default' | 'outlined' | 'filled'"
|
|
449
|
+
},
|
|
450
|
+
"default": "'default'",
|
|
451
|
+
"description": "Visual variant controlling the bar background.",
|
|
452
|
+
"fieldName": "variant",
|
|
453
|
+
"attribute": "variant"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"name": "position",
|
|
457
|
+
"type": {
|
|
458
|
+
"text": "'top' | 'bottom' | 'sticky'"
|
|
459
|
+
},
|
|
460
|
+
"default": "'top'",
|
|
461
|
+
"description": "Position and sticky behavior of the action bar.\n- `top` — normal flow (default)\n- `sticky` — sticks to the top of the scroll container; add `scroll-padding-top` to the\n scroll container equal to the bar height to prevent anchor targets from scrolling behind it\n- `bottom` — sticks to the bottom of the scroll container with iOS safe-area-inset support",
|
|
462
|
+
"fieldName": "position",
|
|
463
|
+
"attribute": "position"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"name": "sticky",
|
|
467
|
+
"type": {
|
|
468
|
+
"text": "boolean"
|
|
469
|
+
},
|
|
470
|
+
"deprecated": "Use `position=\"sticky\"` instead.\nWhen true, the bar sticks to the top of its scroll container.",
|
|
471
|
+
"fieldName": "sticky",
|
|
472
|
+
"attribute": "sticky"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"name": "accessible-label",
|
|
476
|
+
"type": {
|
|
477
|
+
"text": "string"
|
|
478
|
+
},
|
|
479
|
+
"default": "''",
|
|
480
|
+
"description": "Accessible label for the toolbar.\nRequired when multiple toolbars appear on the same page.\n\nAccepts both `accessible-label` and the standard `aria-label` HTML attribute.\nThe `accessible-label` attribute takes precedence when both are set.\n\nPreviously this was exposed as the `ariaLabel` JS property, which shadowed\nthe native `HTMLElement.ariaLabel`. That shadowing is removed; use\n`accessibleLabel` or the HTML attributes instead.",
|
|
481
|
+
"fieldName": "accessibleLabel",
|
|
482
|
+
"attribute": "accessible-label"
|
|
483
|
+
}
|
|
484
|
+
],
|
|
485
|
+
"superclass": {
|
|
486
|
+
"name": "LitElement",
|
|
487
|
+
"package": "lit"
|
|
488
|
+
},
|
|
489
|
+
"tagName": "hx-action-bar",
|
|
490
|
+
"customElement": true,
|
|
491
|
+
"summary": "Horizontal action bar for grouping related controls."
|
|
492
|
+
}
|
|
493
|
+
],
|
|
494
|
+
"exports": [
|
|
495
|
+
{
|
|
496
|
+
"kind": "js",
|
|
497
|
+
"name": "HelixActionBar",
|
|
498
|
+
"declaration": {
|
|
499
|
+
"name": "HelixActionBar",
|
|
500
|
+
"module": "src/components/hx-action-bar/hx-action-bar.ts"
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"kind": "custom-element-definition",
|
|
505
|
+
"name": "hx-action-bar",
|
|
506
|
+
"declaration": {
|
|
507
|
+
"name": "HelixActionBar",
|
|
508
|
+
"module": "src/components/hx-action-bar/hx-action-bar.ts"
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
]
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"kind": "javascript-module",
|
|
515
|
+
"path": "src/components/hx-action-bar/index.ts",
|
|
516
|
+
"declarations": [],
|
|
517
|
+
"exports": [
|
|
518
|
+
{
|
|
519
|
+
"kind": "js",
|
|
520
|
+
"name": "HelixActionBar",
|
|
521
|
+
"declaration": {
|
|
522
|
+
"name": "HelixActionBar",
|
|
523
|
+
"module": "./hx-action-bar.js"
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
]
|
|
527
|
+
},
|
|
528
528
|
{
|
|
529
529
|
"kind": "javascript-module",
|
|
530
530
|
"path": "src/components/hx-alert/hx-alert.ts",
|
|
@@ -25,8 +25,9 @@ export type ActionBarSize = 'sm' | 'md' | 'lg';
|
|
|
25
25
|
* @cssprop [--hx-action-bar-gap=var(--hx-space-2,0.5rem)] - Gap between slotted items.
|
|
26
26
|
* @cssprop [--hx-action-bar-z-index=10] - Z-index when sticky or bottom position.
|
|
27
27
|
*
|
|
28
|
-
* @attr {string}
|
|
28
|
+
* @attr {string} accessible-label - Identifies the toolbar to assistive technology.
|
|
29
29
|
* When multiple toolbars appear on the same page, each must have a unique, descriptive label.
|
|
30
|
+
* Falls back to the native `aria-label` attribute if not set.
|
|
30
31
|
*
|
|
31
32
|
* @example
|
|
32
33
|
* ```html
|
|
@@ -69,9 +70,29 @@ export declare class HelixActionBar extends LitElement {
|
|
|
69
70
|
/**
|
|
70
71
|
* Accessible label for the toolbar.
|
|
71
72
|
* Required when multiple toolbars appear on the same page.
|
|
72
|
-
*
|
|
73
|
+
*
|
|
74
|
+
* Accepts both `accessible-label` and the standard `aria-label` HTML attribute.
|
|
75
|
+
* The `accessible-label` attribute takes precedence when both are set.
|
|
76
|
+
*
|
|
77
|
+
* Previously this was exposed as the `ariaLabel` JS property, which shadowed
|
|
78
|
+
* the native `HTMLElement.ariaLabel`. That shadowing is removed; use
|
|
79
|
+
* `accessibleLabel` or the HTML attributes instead.
|
|
80
|
+
*
|
|
81
|
+
* @attr accessible-label
|
|
73
82
|
*/
|
|
74
|
-
|
|
83
|
+
accessibleLabel: string;
|
|
84
|
+
/**
|
|
85
|
+
* Observed mirror of the host's `aria-label` attribute so Lit re-renders
|
|
86
|
+
* when consumers set `aria-label` (the standard HTML pattern).
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
private _ariaLabelAttr;
|
|
90
|
+
/**
|
|
91
|
+
* Returns the effective label for the toolbar, checking accessible-label first,
|
|
92
|
+
* then the aria-label attribute, falling back to 'Actions'.
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
private get _effectiveLabel();
|
|
75
96
|
/** Cached list of focusable items — invalidated on slot change. */
|
|
76
97
|
/** @internal */
|
|
77
98
|
private _focusableCache;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-action-bar.d.ts","sourceRoot":"","sources":["../../../src/components/hx-action-bar/hx-action-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AACvC,OAAO,4CAA4C,CAAC;AAMpD,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE/C
|
|
1
|
+
{"version":3,"file":"hx-action-bar.d.ts","sourceRoot":"","sources":["../../../src/components/hx-action-bar/hx-action-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AACvC,OAAO,4CAA4C,CAAC;AAMpD,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,qBACa,cAAe,SAAQ,UAAU;IAC5C,OAAgB,MAAM,4BAA0B;IAEhD;;;OAGG;IAEH,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAQ;IAEhC;;;OAGG;IAEH,OAAO,EAAE,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAa;IAEvD;;;;;;;OAOG;IAEH,QAAQ,EAAE,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAS;IAE9C;;;;OAIG;IACH,IACI,MAAM,IAAI,OAAO,CAEpB;IACD,IAAI,MAAM,CAAC,KAAK,EAAE,OAAO,EAUxB;IACD,gBAAgB;IAChB,OAAO,CAAC,OAAO,CAAS;IAExB;;;;;;;;;;;;OAYG;IAEH,eAAe,EAAE,MAAM,CAAM;IAE7B;;;;OAIG;IAEH,OAAO,CAAC,cAAc,CAAc;IAEpC;;;;OAIG;IACH,OAAO,KAAK,eAAe,GAE1B;IAED,mEAAmE;IACnE,gBAAgB;IAChB,OAAO,CAAC,eAAe,CAA8B;IAErD;OACG;IAEH,OAAO,CAAC,YAAY,CAAS;IAI7B,2EAA2E;IAC3E,gBAAgB;IAChB,OAAO,CAAC,cAAc,CAwBpB;IAEO,iBAAiB,IAAI,IAAI;IAyBzB,YAAY,IAAI,IAAI;IAMpB,oBAAoB,IAAI,IAAI;IAOrC,gBAAgB;IAChB,OAAO,CAAC,YAAY;IAcpB,gBAAgB;IAChB,OAAO,CAAC,kBAAkB;IAgC1B,gBAAgB;IAChB,OAAO,CAAC,mBAAmB;IAY3B,gBAAgB;IAChB,OAAO,CAAC,UAAU;IAuBlB,gBAAgB;IAChB,OAAO,CAAC,iBAAiB;IAUhB,MAAM;CA4BhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,eAAe,EAAE,cAAc,CAAC;KACjC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-badge.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-badge/hx-badge.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"hx-badge.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-badge/hx-badge.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,yBAqM5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-link.d.ts","sourceRoot":"","sources":["../../../src/components/hx-link/hx-link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AACrD,OAAO,4CAA4C,CAAC;AAMpD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,qBACa,SAAU,SAAQ,UAAU;IACvC,OAAgB,MAAM,4BAAqB;IAE3C;;;OAGG;IAEH,IAAI,EAAE,MAAM,GAAG,SAAS,CAAa;IAErC;;;;;OAKG;IAEH,MAAM,EAAE,MAAM,GAAG,SAAS,CAAa;IAEvC;;;OAGG;IAEH,OAAO,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAa;IAErD;;;;;OAKG;IAEH,QAAQ,UAAS;IAEjB;;;;OAIG;IAEH,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAa;IAEzC;;;;OAIG;IAEH,GAAG,EAAE,MAAM,GAAG,SAAS,CAAa;IAIpC,gBAAgB;IAChB,OAAO,CAAC,YAAY;IAkBpB,gBAAgB;IAChB,OAAO,CAAC,WAAW;IAMnB,gBAAgB;IAChB,OAAO,CAAC,mBAAmB;IAuBlB,MAAM;
|
|
1
|
+
{"version":3,"file":"hx-link.d.ts","sourceRoot":"","sources":["../../../src/components/hx-link/hx-link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AACrD,OAAO,4CAA4C,CAAC;AAMpD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,qBACa,SAAU,SAAQ,UAAU;IACvC,OAAgB,MAAM,4BAAqB;IAE3C;;;OAGG;IAEH,IAAI,EAAE,MAAM,GAAG,SAAS,CAAa;IAErC;;;;;OAKG;IAEH,MAAM,EAAE,MAAM,GAAG,SAAS,CAAa;IAEvC;;;OAGG;IAEH,OAAO,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAa;IAErD;;;;;OAKG;IAEH,QAAQ,UAAS;IAEjB;;;;OAIG;IAEH,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAa;IAEzC;;;;OAIG;IAEH,GAAG,EAAE,MAAM,GAAG,SAAS,CAAa;IAIpC,gBAAgB;IAChB,OAAO,CAAC,YAAY;IAkBpB,gBAAgB;IAChB,OAAO,CAAC,WAAW;IAMnB,gBAAgB;IAChB,OAAO,CAAC,mBAAmB;IAuBlB,MAAM;CAqChB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,SAAS,CAAC;KACtB;CACF"}
|
package/dist/css/helix-all.css
CHANGED
|
@@ -520,43 +520,64 @@
|
|
|
520
520
|
.badge--primary {
|
|
521
521
|
--hx-badge-bg: var(--hx-color-primary-500, #2563eb);
|
|
522
522
|
--hx-badge-color: var(--hx-color-neutral-0, #ffffff);
|
|
523
|
-
--hx-badge-pulse-color: var(
|
|
523
|
+
--hx-badge-pulse-color-internal: var(
|
|
524
|
+
--hx-badge-pulse-color,
|
|
525
|
+
var(--hx-color-primary-500, #2563eb)
|
|
526
|
+
);
|
|
524
527
|
}
|
|
525
528
|
|
|
526
529
|
.badge--secondary {
|
|
527
530
|
--hx-badge-bg: var(--hx-badge-secondary-bg, var(--hx-color-neutral-100, #f3f4f6));
|
|
528
531
|
--hx-badge-color: var(--hx-badge-secondary-color, var(--hx-color-neutral-700, #374151));
|
|
529
|
-
--hx-badge-pulse-color: var(
|
|
532
|
+
--hx-badge-pulse-color-internal: var(
|
|
533
|
+
--hx-badge-pulse-color,
|
|
534
|
+
var(--hx-badge-secondary-bg, var(--hx-color-neutral-100, #f3f4f6))
|
|
535
|
+
);
|
|
530
536
|
}
|
|
531
537
|
|
|
532
538
|
.badge--success {
|
|
533
539
|
--hx-badge-bg: var(--hx-color-success-700, #15803d);
|
|
534
540
|
--hx-badge-color: var(--hx-color-neutral-0, #ffffff);
|
|
535
|
-
--hx-badge-pulse-color: var(
|
|
541
|
+
--hx-badge-pulse-color-internal: var(
|
|
542
|
+
--hx-badge-pulse-color,
|
|
543
|
+
var(--hx-color-success-700, #15803d)
|
|
544
|
+
);
|
|
536
545
|
}
|
|
537
546
|
|
|
538
547
|
.badge--warning {
|
|
539
548
|
--hx-badge-bg: var(--hx-color-warning-500, #eab308);
|
|
540
549
|
--hx-badge-color: var(--hx-color-neutral-900, #1a1a1a);
|
|
541
|
-
--hx-badge-pulse-color: var(
|
|
550
|
+
--hx-badge-pulse-color-internal: var(
|
|
551
|
+
--hx-badge-pulse-color,
|
|
552
|
+
var(--hx-color-warning-500, #eab308)
|
|
553
|
+
);
|
|
542
554
|
}
|
|
543
555
|
|
|
544
556
|
.badge--error {
|
|
545
557
|
--hx-badge-bg: var(--hx-color-error-500, #dc2626);
|
|
546
558
|
--hx-badge-color: var(--hx-color-neutral-0, #ffffff);
|
|
547
|
-
--hx-badge-pulse-color: var(
|
|
559
|
+
--hx-badge-pulse-color-internal: var(
|
|
560
|
+
--hx-badge-pulse-color,
|
|
561
|
+
var(--hx-color-error-500, #dc2626)
|
|
562
|
+
);
|
|
548
563
|
}
|
|
549
564
|
|
|
550
565
|
.badge--neutral {
|
|
551
566
|
--hx-badge-bg: var(--hx-color-neutral-200, #e5e7eb);
|
|
552
567
|
--hx-badge-color: var(--hx-color-neutral-700, #374151);
|
|
553
|
-
--hx-badge-pulse-color: var(
|
|
568
|
+
--hx-badge-pulse-color-internal: var(
|
|
569
|
+
--hx-badge-pulse-color,
|
|
570
|
+
var(--hx-color-neutral-200, #e5e7eb)
|
|
571
|
+
);
|
|
554
572
|
}
|
|
555
573
|
|
|
556
574
|
.badge--info {
|
|
557
575
|
--hx-badge-bg: var(--hx-badge-info-bg, var(--hx-color-info-700, #0369a1));
|
|
558
576
|
--hx-badge-color: var(--hx-badge-info-color, var(--hx-color-neutral-0, #ffffff));
|
|
559
|
-
--hx-badge-pulse-color: var(
|
|
577
|
+
--hx-badge-pulse-color-internal: var(
|
|
578
|
+
--hx-badge-pulse-color,
|
|
579
|
+
var(--hx-badge-info-bg, var(--hx-color-info-700, #0369a1))
|
|
580
|
+
);
|
|
560
581
|
}
|
|
561
582
|
|
|
562
583
|
/* ─── Semantic Variant Label (WCAG 1.4.1) ─── */
|
|
@@ -590,13 +611,11 @@
|
|
|
590
611
|
border-radius: var(--hx-border-radius-full, 9999px);
|
|
591
612
|
}
|
|
592
613
|
|
|
593
|
-
/* Guard: hide
|
|
594
|
-
.badge--dot ::slotted(*)
|
|
595
|
-
|
|
596
|
-
}
|
|
597
|
-
|
|
614
|
+
/* Guard: hide all inner content in dot mode — the dot is purely visual */
|
|
615
|
+
.badge--dot ::slotted(*),
|
|
616
|
+
.badge--dot slot,
|
|
598
617
|
.badge--dot slot[name='prefix'] {
|
|
599
|
-
display: none;
|
|
618
|
+
display: none !important;
|
|
600
619
|
}
|
|
601
620
|
|
|
602
621
|
/* ─── Pulse Animation ─── */
|
|
@@ -605,7 +624,7 @@
|
|
|
605
624
|
0%,
|
|
606
625
|
100% {
|
|
607
626
|
opacity: 1;
|
|
608
|
-
box-shadow: 0 0 0 2px var(--hx-badge-pulse-color, currentColor);
|
|
627
|
+
box-shadow: 0 0 0 2px var(--hx-badge-pulse-color-internal, currentColor);
|
|
609
628
|
}
|
|
610
629
|
50% {
|
|
611
630
|
opacity: var(--hx-opacity-75, 0.75);
|