@vonage/vivid 4.8.0 → 4.10.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/custom-elements.json +255 -3
- package/lib/breadcrumb/breadcrumb.d.ts +4 -1
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +5 -3
- package/lib/checkbox/checkbox.d.ts +4 -0
- package/lib/dialog/dialog.d.ts +4 -0
- package/lib/divider/divider.d.ts +11 -2
- package/lib/icon/icon.d.ts +2 -1
- package/lib/text-field/text-field.d.ts +1 -0
- package/package.json +1 -1
- package/shared/breadcrumb-item.cjs +162 -20
- package/shared/breadcrumb-item.js +163 -21
- package/shared/definition10.cjs +52 -68
- package/shared/definition10.js +54 -70
- package/shared/definition11.cjs +1 -1
- package/shared/definition11.js +1 -1
- package/shared/definition15.cjs +17 -1
- package/shared/definition15.js +17 -1
- package/shared/definition20.cjs +88 -64
- package/shared/definition20.js +88 -64
- package/shared/definition21.cjs +59 -14
- package/shared/definition21.js +59 -14
- package/shared/definition22.cjs +32 -51
- package/shared/definition22.js +33 -52
- package/shared/definition29.cjs +1 -1
- package/shared/definition29.js +1 -1
- package/shared/definition30.cjs +1 -1
- package/shared/definition30.js +1 -1
- package/shared/definition46.cjs +24 -9
- package/shared/definition46.js +24 -9
- package/shared/definition5.cjs +1 -1
- package/shared/definition5.js +1 -1
- package/shared/definition56.cjs +4 -0
- package/shared/definition56.js +4 -0
- package/shared/definition9.cjs +1 -19
- package/shared/definition9.js +2 -20
- package/shared/icon.cjs +11 -5
- package/shared/icon.js +11 -5
- package/shared/patterns/anchor.d.ts +18 -0
- package/shared/patterns/anchored.d.ts +4 -4
- package/shared/patterns/aria-global.d.ts +21 -0
- package/shared/patterns/form-elements/form-elements.d.ts +6 -6
- package/shared/text-anchor.cjs +84 -2
- package/shared/text-anchor.js +84 -2
- package/styles/core/all.css +1 -1
- package/styles/core/theme.css +1 -1
- package/styles/core/typography.css +1 -1
- package/styles/tokens/theme-dark.css +35 -14
- package/styles/tokens/theme-light.css +35 -14
- package/styles/tokens/vivid-2-compat.css +1 -1
- package/vivid.api.json +10 -1
- package/shared/anchor.cjs +0 -90
- package/shared/anchor.js +0 -87
package/custom-elements.json
CHANGED
|
@@ -2168,6 +2168,66 @@
|
|
|
2168
2168
|
"name": ""
|
|
2169
2169
|
}
|
|
2170
2170
|
],
|
|
2171
|
+
"members": [
|
|
2172
|
+
{
|
|
2173
|
+
"kind": "method",
|
|
2174
|
+
"name": "setItemSeparator",
|
|
2175
|
+
"privacy": "private",
|
|
2176
|
+
"parameters": [
|
|
2177
|
+
{
|
|
2178
|
+
"name": "item",
|
|
2179
|
+
"type": {
|
|
2180
|
+
"text": "HTMLElement"
|
|
2181
|
+
}
|
|
2182
|
+
},
|
|
2183
|
+
{
|
|
2184
|
+
"name": "isLastNode",
|
|
2185
|
+
"type": {
|
|
2186
|
+
"text": "boolean"
|
|
2187
|
+
}
|
|
2188
|
+
}
|
|
2189
|
+
]
|
|
2190
|
+
},
|
|
2191
|
+
{
|
|
2192
|
+
"kind": "method",
|
|
2193
|
+
"name": "findChildWithHref",
|
|
2194
|
+
"privacy": "private",
|
|
2195
|
+
"return": {
|
|
2196
|
+
"type": {
|
|
2197
|
+
"text": "HTMLElement | null"
|
|
2198
|
+
}
|
|
2199
|
+
},
|
|
2200
|
+
"parameters": [
|
|
2201
|
+
{
|
|
2202
|
+
"name": "node",
|
|
2203
|
+
"type": {
|
|
2204
|
+
"text": "HTMLElement"
|
|
2205
|
+
}
|
|
2206
|
+
}
|
|
2207
|
+
],
|
|
2208
|
+
"description": "Finds href on childnodes in the light DOM or shadow DOM.\nWe look in the shadow DOM because we insert an anchor when breadcrumb-item has an href."
|
|
2209
|
+
},
|
|
2210
|
+
{
|
|
2211
|
+
"kind": "method",
|
|
2212
|
+
"name": "setAriaCurrent",
|
|
2213
|
+
"privacy": "private",
|
|
2214
|
+
"parameters": [
|
|
2215
|
+
{
|
|
2216
|
+
"name": "item",
|
|
2217
|
+
"type": {
|
|
2218
|
+
"text": "HTMLElement"
|
|
2219
|
+
}
|
|
2220
|
+
},
|
|
2221
|
+
{
|
|
2222
|
+
"name": "isLastNode",
|
|
2223
|
+
"type": {
|
|
2224
|
+
"text": "boolean"
|
|
2225
|
+
}
|
|
2226
|
+
}
|
|
2227
|
+
],
|
|
2228
|
+
"description": "Sets ARIA Current for the current node\nIf child node with an anchor tag and with href is found then set aria-current to correct value for the child node,\notherwise apply aria-current to the host element, with an href"
|
|
2229
|
+
}
|
|
2230
|
+
],
|
|
2171
2231
|
"superclass": {
|
|
2172
2232
|
"name": "FoundationElement",
|
|
2173
2233
|
"package": "@microsoft/fast-foundation"
|
|
@@ -2243,7 +2303,7 @@
|
|
|
2243
2303
|
}
|
|
2244
2304
|
],
|
|
2245
2305
|
"superclass": {
|
|
2246
|
-
"name": "
|
|
2306
|
+
"name": "FoundationElement",
|
|
2247
2307
|
"package": "@microsoft/fast-foundation"
|
|
2248
2308
|
},
|
|
2249
2309
|
"vividComponent": {
|
|
@@ -3715,6 +3775,38 @@
|
|
|
3715
3775
|
},
|
|
3716
3776
|
"description": "The connotation the checklist should have.",
|
|
3717
3777
|
"privacy": "public"
|
|
3778
|
+
},
|
|
3779
|
+
{
|
|
3780
|
+
"kind": "field",
|
|
3781
|
+
"name": "ariaChecked",
|
|
3782
|
+
"type": {
|
|
3783
|
+
"text": "AriaCheckedStates | null"
|
|
3784
|
+
},
|
|
3785
|
+
"default": "null",
|
|
3786
|
+
"description": "The current checkbox state",
|
|
3787
|
+
"privacy": "public"
|
|
3788
|
+
},
|
|
3789
|
+
{
|
|
3790
|
+
"kind": "method",
|
|
3791
|
+
"name": "indeterminateChanged",
|
|
3792
|
+
"parameters": [
|
|
3793
|
+
{
|
|
3794
|
+
"name": "_",
|
|
3795
|
+
"type": {
|
|
3796
|
+
"text": "boolean"
|
|
3797
|
+
}
|
|
3798
|
+
},
|
|
3799
|
+
{
|
|
3800
|
+
"name": "next",
|
|
3801
|
+
"type": {
|
|
3802
|
+
"text": "boolean"
|
|
3803
|
+
}
|
|
3804
|
+
}
|
|
3805
|
+
]
|
|
3806
|
+
},
|
|
3807
|
+
{
|
|
3808
|
+
"kind": "method",
|
|
3809
|
+
"name": "ariaCheckedChanged"
|
|
3718
3810
|
}
|
|
3719
3811
|
],
|
|
3720
3812
|
"events": [
|
|
@@ -3757,6 +3849,15 @@
|
|
|
3757
3849
|
},
|
|
3758
3850
|
"description": "The connotation the checklist should have.",
|
|
3759
3851
|
"fieldName": "connotation"
|
|
3852
|
+
},
|
|
3853
|
+
{
|
|
3854
|
+
"name": "aria-checked",
|
|
3855
|
+
"type": {
|
|
3856
|
+
"text": "AriaCheckedStates | null"
|
|
3857
|
+
},
|
|
3858
|
+
"default": "null",
|
|
3859
|
+
"description": "The current checkbox state",
|
|
3860
|
+
"fieldName": "ariaChecked"
|
|
3760
3861
|
}
|
|
3761
3862
|
],
|
|
3762
3863
|
"superclass": {
|
|
@@ -6159,7 +6260,35 @@
|
|
|
6159
6260
|
"type": {
|
|
6160
6261
|
"text": "boolean"
|
|
6161
6262
|
},
|
|
6162
|
-
"default": "false"
|
|
6263
|
+
"default": "false",
|
|
6264
|
+
"description": "Prevents the dialog from being dismissed when clicking outside it."
|
|
6265
|
+
},
|
|
6266
|
+
{
|
|
6267
|
+
"kind": "field",
|
|
6268
|
+
"name": "noDismissOnEsc",
|
|
6269
|
+
"type": {
|
|
6270
|
+
"text": "boolean"
|
|
6271
|
+
},
|
|
6272
|
+
"default": "false",
|
|
6273
|
+
"description": "Prevents the dialog from being dismissed when the escape key is pressed."
|
|
6274
|
+
},
|
|
6275
|
+
{
|
|
6276
|
+
"kind": "field",
|
|
6277
|
+
"name": "noDismissButton",
|
|
6278
|
+
"type": {
|
|
6279
|
+
"text": "boolean"
|
|
6280
|
+
},
|
|
6281
|
+
"default": "false",
|
|
6282
|
+
"description": "Hides the dismiss button."
|
|
6283
|
+
},
|
|
6284
|
+
{
|
|
6285
|
+
"kind": "field",
|
|
6286
|
+
"name": "nonDismissible",
|
|
6287
|
+
"type": {
|
|
6288
|
+
"text": "boolean"
|
|
6289
|
+
},
|
|
6290
|
+
"default": "false",
|
|
6291
|
+
"description": "Disables all means of dismissal for the dialog."
|
|
6163
6292
|
},
|
|
6164
6293
|
{
|
|
6165
6294
|
"kind": "field",
|
|
@@ -6191,6 +6320,23 @@
|
|
|
6191
6320
|
"privacy": "private",
|
|
6192
6321
|
"readonly": true
|
|
6193
6322
|
},
|
|
6323
|
+
{
|
|
6324
|
+
"kind": "field",
|
|
6325
|
+
"name": "_showDismissButton",
|
|
6326
|
+
"readonly": true
|
|
6327
|
+
},
|
|
6328
|
+
{
|
|
6329
|
+
"kind": "method",
|
|
6330
|
+
"name": "#isDismissibleVia",
|
|
6331
|
+
"parameters": [
|
|
6332
|
+
{
|
|
6333
|
+
"name": "method",
|
|
6334
|
+
"type": {
|
|
6335
|
+
"text": "DismissMethod"
|
|
6336
|
+
}
|
|
6337
|
+
}
|
|
6338
|
+
]
|
|
6339
|
+
},
|
|
6194
6340
|
{
|
|
6195
6341
|
"kind": "field",
|
|
6196
6342
|
"name": "#handleScrimClick",
|
|
@@ -6236,6 +6382,13 @@
|
|
|
6236
6382
|
},
|
|
6237
6383
|
"description": "The `close` event fires when the dialog closes (either via user interaction or via the API). It returns the return value inside the event's details property.",
|
|
6238
6384
|
"name": "close"
|
|
6385
|
+
},
|
|
6386
|
+
{
|
|
6387
|
+
"type": {
|
|
6388
|
+
"text": "CustomEvent<undefined>"
|
|
6389
|
+
},
|
|
6390
|
+
"description": "The `cancel` event fires when the user requests to close the dialog. You can prevent the dialog from closing by calling `.preventDefault()` on the event.",
|
|
6391
|
+
"name": "cancel"
|
|
6239
6392
|
}
|
|
6240
6393
|
],
|
|
6241
6394
|
"attributes": [
|
|
@@ -6305,8 +6458,36 @@
|
|
|
6305
6458
|
"text": "boolean"
|
|
6306
6459
|
},
|
|
6307
6460
|
"default": "false",
|
|
6461
|
+
"description": "Prevents the dialog from being dismissed when clicking outside it.",
|
|
6308
6462
|
"fieldName": "noLightDismiss"
|
|
6309
6463
|
},
|
|
6464
|
+
{
|
|
6465
|
+
"name": "no-dismiss-on-esc",
|
|
6466
|
+
"type": {
|
|
6467
|
+
"text": "boolean"
|
|
6468
|
+
},
|
|
6469
|
+
"default": "false",
|
|
6470
|
+
"description": "Prevents the dialog from being dismissed when the escape key is pressed.",
|
|
6471
|
+
"fieldName": "noDismissOnEsc"
|
|
6472
|
+
},
|
|
6473
|
+
{
|
|
6474
|
+
"name": "no-dismiss-button",
|
|
6475
|
+
"type": {
|
|
6476
|
+
"text": "boolean"
|
|
6477
|
+
},
|
|
6478
|
+
"default": "false",
|
|
6479
|
+
"description": "Hides the dismiss button.",
|
|
6480
|
+
"fieldName": "noDismissButton"
|
|
6481
|
+
},
|
|
6482
|
+
{
|
|
6483
|
+
"name": "non-dismissible",
|
|
6484
|
+
"type": {
|
|
6485
|
+
"text": "boolean"
|
|
6486
|
+
},
|
|
6487
|
+
"default": "false",
|
|
6488
|
+
"description": "Disables all means of dismissal for the dialog.",
|
|
6489
|
+
"fieldName": "nonDismissible"
|
|
6490
|
+
},
|
|
6310
6491
|
{
|
|
6311
6492
|
"type": {
|
|
6312
6493
|
"text": "boolean"
|
|
@@ -6389,8 +6570,46 @@
|
|
|
6389
6570
|
"kind": "class",
|
|
6390
6571
|
"description": "",
|
|
6391
6572
|
"name": "Divider",
|
|
6573
|
+
"members": [
|
|
6574
|
+
{
|
|
6575
|
+
"kind": "field",
|
|
6576
|
+
"name": "role",
|
|
6577
|
+
"type": {
|
|
6578
|
+
"text": "DividerRole"
|
|
6579
|
+
},
|
|
6580
|
+
"description": "The role of the element.",
|
|
6581
|
+
"privacy": "public"
|
|
6582
|
+
},
|
|
6583
|
+
{
|
|
6584
|
+
"kind": "field",
|
|
6585
|
+
"name": "orientation",
|
|
6586
|
+
"type": {
|
|
6587
|
+
"text": "Orientation"
|
|
6588
|
+
},
|
|
6589
|
+
"description": "The orientation of the divider.",
|
|
6590
|
+
"privacy": "public"
|
|
6591
|
+
}
|
|
6592
|
+
],
|
|
6593
|
+
"attributes": [
|
|
6594
|
+
{
|
|
6595
|
+
"name": "role",
|
|
6596
|
+
"type": {
|
|
6597
|
+
"text": "DividerRole"
|
|
6598
|
+
},
|
|
6599
|
+
"description": "The role of the element.",
|
|
6600
|
+
"fieldName": "role"
|
|
6601
|
+
},
|
|
6602
|
+
{
|
|
6603
|
+
"name": "orientation",
|
|
6604
|
+
"type": {
|
|
6605
|
+
"text": "Orientation"
|
|
6606
|
+
},
|
|
6607
|
+
"description": "The orientation of the divider.",
|
|
6608
|
+
"fieldName": "orientation"
|
|
6609
|
+
}
|
|
6610
|
+
],
|
|
6392
6611
|
"superclass": {
|
|
6393
|
-
"name": "
|
|
6612
|
+
"name": "FoundationElement",
|
|
6394
6613
|
"package": "@microsoft/fast-foundation"
|
|
6395
6614
|
},
|
|
6396
6615
|
"vividComponent": {
|
|
@@ -7666,6 +7885,15 @@
|
|
|
7666
7885
|
"name": "iconUrl",
|
|
7667
7886
|
"readonly": true
|
|
7668
7887
|
},
|
|
7888
|
+
{
|
|
7889
|
+
"kind": "field",
|
|
7890
|
+
"name": "#abortController",
|
|
7891
|
+
"privacy": "private",
|
|
7892
|
+
"type": {
|
|
7893
|
+
"text": "AbortController | null"
|
|
7894
|
+
},
|
|
7895
|
+
"default": "null"
|
|
7896
|
+
},
|
|
7669
7897
|
{
|
|
7670
7898
|
"kind": "method",
|
|
7671
7899
|
"name": "nameChanged",
|
|
@@ -13338,6 +13566,13 @@
|
|
|
13338
13566
|
},
|
|
13339
13567
|
"description": "Fired when the side drawer is opened.",
|
|
13340
13568
|
"name": "open"
|
|
13569
|
+
},
|
|
13570
|
+
{
|
|
13571
|
+
"type": {
|
|
13572
|
+
"text": "CustomEvent<undefined>"
|
|
13573
|
+
},
|
|
13574
|
+
"description": "Fired when the user requests to close the side-drawer. You can prevent the side drawer from closing by calling `.preventDefault()` on the event.",
|
|
13575
|
+
"name": "cancel"
|
|
13341
13576
|
}
|
|
13342
13577
|
],
|
|
13343
13578
|
"attributes": [
|
|
@@ -16004,6 +16239,15 @@
|
|
|
16004
16239
|
"description": "The size the text-field should have.",
|
|
16005
16240
|
"privacy": "public"
|
|
16006
16241
|
},
|
|
16242
|
+
{
|
|
16243
|
+
"kind": "field",
|
|
16244
|
+
"name": "inputMode",
|
|
16245
|
+
"type": {
|
|
16246
|
+
"text": "string"
|
|
16247
|
+
},
|
|
16248
|
+
"description": "Hints at the type of data that might be entered by the user while editing the element or its contents.\nThis allows a browser to display an appropriate virtual keyboard.",
|
|
16249
|
+
"privacy": "public"
|
|
16250
|
+
},
|
|
16007
16251
|
{
|
|
16008
16252
|
"kind": "field",
|
|
16009
16253
|
"name": "leadingActionItemsSlottedContent",
|
|
@@ -16098,6 +16342,14 @@
|
|
|
16098
16342
|
},
|
|
16099
16343
|
"description": "The size the text-field should have.",
|
|
16100
16344
|
"fieldName": "scale"
|
|
16345
|
+
},
|
|
16346
|
+
{
|
|
16347
|
+
"name": "inputmode",
|
|
16348
|
+
"type": {
|
|
16349
|
+
"text": "string"
|
|
16350
|
+
},
|
|
16351
|
+
"description": "Hints at the type of data that might be entered by the user while editing the element or its contents.\nThis allows a browser to display an appropriate virtual keyboard.",
|
|
16352
|
+
"fieldName": "inputMode"
|
|
16101
16353
|
}
|
|
16102
16354
|
],
|
|
16103
16355
|
"superclass": {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
2
|
export declare class Breadcrumb extends FoundationElement {
|
|
3
|
+
private setItemSeparator;
|
|
4
|
+
private findChildWithHref;
|
|
5
|
+
private setAriaCurrent;
|
|
3
6
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import { Anchor } from '../../shared/patterns/anchor';
|
|
3
|
+
export declare class BreadcrumbItem extends FoundationElement {
|
|
3
4
|
text?: string;
|
|
4
|
-
|
|
5
|
+
}
|
|
6
|
+
export interface BreadcrumbItem extends Anchor {
|
|
5
7
|
}
|
|
@@ -3,10 +3,14 @@ import type { Connotation } from '../enums.js';
|
|
|
3
3
|
import { type ErrorText, type FormElement, FormElementHelperText, FormElementSuccessText } from '../../shared/patterns';
|
|
4
4
|
export declare const keySpace: ' ';
|
|
5
5
|
export type CheckboxConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA>;
|
|
6
|
+
export type AriaCheckedStates = 'false' | 'true' | 'mixed' | 'undefined';
|
|
6
7
|
export declare class Checkbox extends FoundationCheckbox {
|
|
7
8
|
ariaLabel: string | null;
|
|
8
9
|
tabindex: string | null;
|
|
9
10
|
connotation?: CheckboxConnotation;
|
|
11
|
+
ariaChecked: AriaCheckedStates | null;
|
|
12
|
+
indeterminateChanged(_: boolean, next: boolean): void;
|
|
13
|
+
ariaCheckedChanged(): void;
|
|
10
14
|
}
|
|
11
15
|
export interface Checkbox extends FormElement, FormElementHelperText, ErrorText, FormElementSuccessText {
|
|
12
16
|
}
|
package/lib/dialog/dialog.d.ts
CHANGED
|
@@ -12,9 +12,13 @@ export declare class Dialog extends FoundationElement {
|
|
|
12
12
|
ariaLabel: string | null;
|
|
13
13
|
dismissButtonAriaLabel: string | null;
|
|
14
14
|
noLightDismiss: boolean;
|
|
15
|
+
noDismissOnEsc: boolean;
|
|
16
|
+
noDismissButton: boolean;
|
|
17
|
+
nonDismissible: boolean;
|
|
15
18
|
modal: boolean;
|
|
16
19
|
set returnValue(value: string);
|
|
17
20
|
get returnValue(): string;
|
|
21
|
+
get _showDismissButton(): boolean;
|
|
18
22
|
close(): void;
|
|
19
23
|
show(): void;
|
|
20
24
|
showModal(): void;
|
package/lib/divider/divider.d.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import { Orientation } from '@microsoft/fast-web-utilities';
|
|
3
|
+
declare const DividerRole: {
|
|
4
|
+
readonly separator: "separator";
|
|
5
|
+
readonly presentation: "presentation";
|
|
6
|
+
};
|
|
7
|
+
type DividerRole = typeof DividerRole[keyof typeof DividerRole];
|
|
8
|
+
export declare class Divider extends FoundationElement {
|
|
9
|
+
role: DividerRole;
|
|
10
|
+
orientation: Orientation;
|
|
3
11
|
}
|
|
12
|
+
export {};
|
package/lib/icon/icon.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
2
|
import type { Connotation } from '../enums';
|
|
3
|
-
export type IconConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Success | Connotation.Alert | Connotation.Warning | Connotation.Information>;
|
|
3
|
+
export type IconConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Success | Connotation.Alert | Connotation.Warning | Connotation.Information | Connotation.Announcement>;
|
|
4
4
|
export declare class Icon extends FoundationElement {
|
|
5
|
+
#private;
|
|
5
6
|
connotation?: IconConnotation;
|
|
6
7
|
size?: -6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5;
|
|
7
8
|
iconLoaded: boolean;
|
|
@@ -10,6 +10,7 @@ export declare class TextField extends FoundationTextfield {
|
|
|
10
10
|
shape?: TextFieldShape;
|
|
11
11
|
autoComplete?: string;
|
|
12
12
|
scale?: TextFieldSize;
|
|
13
|
+
inputMode: string;
|
|
13
14
|
leadingActionItemsSlottedContent?: HTMLElement[];
|
|
14
15
|
connectedCallback(): void;
|
|
15
16
|
disconnectedCallback(): void;
|
package/package.json
CHANGED
|
@@ -1,27 +1,169 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index.cjs');
|
|
4
|
-
const anchor = require('./anchor.cjs');
|
|
5
4
|
const applyMixins = require('./apply-mixins.cjs');
|
|
6
|
-
const startEnd = require('./start-end.cjs');
|
|
7
5
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
|
-
this.separator = true;
|
|
20
|
-
}
|
|
6
|
+
var __defProp$2 = Object.defineProperty;
|
|
7
|
+
var __decorateClass$2 = (decorators, target, key, kind) => {
|
|
8
|
+
var result = void 0 ;
|
|
9
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
10
|
+
if (decorator = decorators[i])
|
|
11
|
+
result = (decorator(target, key, result) ) || result;
|
|
12
|
+
if (result) __defProp$2(target, key, result);
|
|
13
|
+
return result;
|
|
21
14
|
};
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
15
|
+
class ARIAGlobalStatesAndProperties {
|
|
16
|
+
}
|
|
17
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
18
|
+
__decorateClass$2([
|
|
19
|
+
index.attr({ attribute: "aria-atomic" })
|
|
20
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaAtomic");
|
|
21
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
22
|
+
__decorateClass$2([
|
|
23
|
+
index.attr({ attribute: "aria-busy" })
|
|
24
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaBusy");
|
|
25
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
26
|
+
__decorateClass$2([
|
|
27
|
+
index.attr({ attribute: "aria-controls" })
|
|
28
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaControls");
|
|
29
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
30
|
+
__decorateClass$2([
|
|
31
|
+
index.attr({ attribute: "aria-current" })
|
|
32
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaCurrent");
|
|
33
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
34
|
+
__decorateClass$2([
|
|
35
|
+
index.attr({ attribute: "aria-describedby" })
|
|
36
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaDescribedby");
|
|
37
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
38
|
+
__decorateClass$2([
|
|
39
|
+
index.attr({ attribute: "aria-details" })
|
|
40
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaDetails");
|
|
41
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
42
|
+
__decorateClass$2([
|
|
43
|
+
index.attr({ attribute: "aria-disabled" })
|
|
44
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaDisabled");
|
|
45
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
46
|
+
__decorateClass$2([
|
|
47
|
+
index.attr({ attribute: "aria-errormessage" })
|
|
48
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaErrormessage");
|
|
49
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
50
|
+
__decorateClass$2([
|
|
51
|
+
index.attr({ attribute: "aria-flowto" })
|
|
52
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaFlowto");
|
|
53
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
54
|
+
__decorateClass$2([
|
|
55
|
+
index.attr({ attribute: "aria-haspopup" })
|
|
56
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaHaspopup");
|
|
57
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
58
|
+
__decorateClass$2([
|
|
59
|
+
index.attr({ attribute: "aria-hidden" })
|
|
60
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaHidden");
|
|
61
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
62
|
+
__decorateClass$2([
|
|
63
|
+
index.attr({ attribute: "aria-invalid" })
|
|
64
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaInvalid");
|
|
65
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
66
|
+
__decorateClass$2([
|
|
67
|
+
index.attr({ attribute: "aria-keyshortcuts" })
|
|
68
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaKeyshortcuts");
|
|
69
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
70
|
+
__decorateClass$2([
|
|
71
|
+
index.attr({ attribute: "aria-label" })
|
|
72
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaLabel");
|
|
73
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
74
|
+
__decorateClass$2([
|
|
75
|
+
index.attr({ attribute: "aria-labelledby" })
|
|
76
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaLabelledby");
|
|
77
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
78
|
+
__decorateClass$2([
|
|
79
|
+
index.attr({ attribute: "aria-live" })
|
|
80
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaLive");
|
|
81
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
82
|
+
__decorateClass$2([
|
|
83
|
+
index.attr({ attribute: "aria-owns" })
|
|
84
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaOwns");
|
|
85
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
86
|
+
__decorateClass$2([
|
|
87
|
+
index.attr({ attribute: "aria-relevant" })
|
|
88
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaRelevant");
|
|
89
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
90
|
+
__decorateClass$2([
|
|
91
|
+
index.attr({ attribute: "aria-roledescription" })
|
|
92
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaRoledescription");
|
|
26
93
|
|
|
27
|
-
|
|
94
|
+
var __defProp$1 = Object.defineProperty;
|
|
95
|
+
var __decorateClass$1 = (decorators, target, key, kind) => {
|
|
96
|
+
var result = void 0 ;
|
|
97
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
98
|
+
if (decorator = decorators[i])
|
|
99
|
+
result = (decorator(target, key, result) ) || result;
|
|
100
|
+
if (result) __defProp$1(target, key, result);
|
|
101
|
+
return result;
|
|
102
|
+
};
|
|
103
|
+
class Anchor {
|
|
104
|
+
}
|
|
105
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
106
|
+
__decorateClass$1([
|
|
107
|
+
index.attr
|
|
108
|
+
], Anchor.prototype, "download");
|
|
109
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
110
|
+
__decorateClass$1([
|
|
111
|
+
index.attr
|
|
112
|
+
], Anchor.prototype, "href");
|
|
113
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
114
|
+
__decorateClass$1([
|
|
115
|
+
index.attr
|
|
116
|
+
], Anchor.prototype, "hreflang");
|
|
117
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
118
|
+
__decorateClass$1([
|
|
119
|
+
index.attr
|
|
120
|
+
], Anchor.prototype, "ping");
|
|
121
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
122
|
+
__decorateClass$1([
|
|
123
|
+
index.attr
|
|
124
|
+
], Anchor.prototype, "referrerpolicy");
|
|
125
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
126
|
+
__decorateClass$1([
|
|
127
|
+
index.attr
|
|
128
|
+
], Anchor.prototype, "rel");
|
|
129
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
130
|
+
__decorateClass$1([
|
|
131
|
+
index.attr
|
|
132
|
+
], Anchor.prototype, "target");
|
|
133
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
134
|
+
__decorateClass$1([
|
|
135
|
+
index.attr
|
|
136
|
+
], Anchor.prototype, "type");
|
|
137
|
+
class DelegatesARIALink {
|
|
138
|
+
}
|
|
139
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
140
|
+
__decorateClass$1([
|
|
141
|
+
index.attr({ attribute: "aria-expanded" })
|
|
142
|
+
], DelegatesARIALink.prototype, "ariaExpanded");
|
|
143
|
+
applyMixins.applyMixins(DelegatesARIALink, ARIAGlobalStatesAndProperties);
|
|
144
|
+
applyMixins.applyMixins(Anchor, DelegatesARIALink);
|
|
145
|
+
|
|
146
|
+
var __defProp = Object.defineProperty;
|
|
147
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
148
|
+
var result = void 0 ;
|
|
149
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
150
|
+
if (decorator = decorators[i])
|
|
151
|
+
result = (decorator(target, key, result) ) || result;
|
|
152
|
+
if (result) __defProp(target, key, result);
|
|
153
|
+
return result;
|
|
154
|
+
};
|
|
155
|
+
class BreadcrumbItem extends index.FoundationElement {
|
|
156
|
+
constructor() {
|
|
157
|
+
super(...arguments);
|
|
158
|
+
this.separator = true;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
__decorateClass([
|
|
162
|
+
index.attr
|
|
163
|
+
], BreadcrumbItem.prototype, "text");
|
|
164
|
+
__decorateClass([
|
|
165
|
+
index.observable
|
|
166
|
+
], BreadcrumbItem.prototype, "separator");
|
|
167
|
+
applyMixins.applyMixins(BreadcrumbItem, Anchor);
|
|
168
|
+
|
|
169
|
+
exports.BreadcrumbItem = BreadcrumbItem;
|