@sebgroup/green-core 2.19.0-rc.20251217092059691 → 2.19.0-rc.20251217101215078
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 +1259 -1259
- package/gds-element.js +1 -1
- package/generated/react/index.d.ts +2 -2
- package/generated/react/index.js +2 -2
- package/package.json +1 -1
- package/utils/helpers/custom-element-scoping.js +1 -1
- package/utils/react.js +0 -1
package/custom-elements.json
CHANGED
|
@@ -24146,7 +24146,7 @@
|
|
|
24146
24146
|
},
|
|
24147
24147
|
{
|
|
24148
24148
|
"kind": "javascript-module",
|
|
24149
|
-
"path": "src/components/
|
|
24149
|
+
"path": "src/components/mask/index.ts",
|
|
24150
24150
|
"declarations": [],
|
|
24151
24151
|
"exports": [
|
|
24152
24152
|
{
|
|
@@ -24154,99 +24154,113 @@
|
|
|
24154
24154
|
"name": "*",
|
|
24155
24155
|
"declaration": {
|
|
24156
24156
|
"name": "*",
|
|
24157
|
-
"module": "src/components/
|
|
24157
|
+
"module": "src/components/mask/mask"
|
|
24158
24158
|
}
|
|
24159
24159
|
}
|
|
24160
24160
|
]
|
|
24161
24161
|
},
|
|
24162
24162
|
{
|
|
24163
24163
|
"kind": "javascript-module",
|
|
24164
|
-
"path": "src/components/
|
|
24164
|
+
"path": "src/components/mask/mask.component.ts",
|
|
24165
24165
|
"declarations": [
|
|
24166
24166
|
{
|
|
24167
24167
|
"kind": "class",
|
|
24168
24168
|
"description": "",
|
|
24169
|
-
"name": "
|
|
24170
|
-
"
|
|
24169
|
+
"name": "GdsMask",
|
|
24170
|
+
"members": [
|
|
24171
24171
|
{
|
|
24172
|
-
"
|
|
24173
|
-
"name": "
|
|
24172
|
+
"kind": "field",
|
|
24173
|
+
"name": "background",
|
|
24174
|
+
"type": {
|
|
24175
|
+
"text": "string | undefined"
|
|
24176
|
+
},
|
|
24177
|
+
"description": "Style Expression Property that controls the `background` property.\nOnly accepts color tokens and an optional transparency value, in the format tokenName/transparency.\n\n```html\n<gds-div background=\"neutral-01/0.2\"></gds-div>\n```",
|
|
24178
|
+
"category": "Declarative layout / Style expression properties",
|
|
24179
|
+
"inheritedFrom": {
|
|
24180
|
+
"name": "GdsDiv",
|
|
24181
|
+
"module": "src/components/div/div.component.ts"
|
|
24182
|
+
}
|
|
24174
24183
|
},
|
|
24175
24184
|
{
|
|
24176
|
-
"
|
|
24177
|
-
"name": "
|
|
24185
|
+
"kind": "field",
|
|
24186
|
+
"name": "'mask-image'",
|
|
24187
|
+
"type": {
|
|
24188
|
+
"text": "string | undefined"
|
|
24189
|
+
}
|
|
24178
24190
|
},
|
|
24179
24191
|
{
|
|
24180
|
-
"
|
|
24181
|
-
"name": "
|
|
24182
|
-
|
|
24183
|
-
|
|
24184
|
-
|
|
24192
|
+
"kind": "field",
|
|
24193
|
+
"name": "'mask-size'",
|
|
24194
|
+
"type": {
|
|
24195
|
+
"text": "string"
|
|
24196
|
+
},
|
|
24197
|
+
"default": "'cover'"
|
|
24198
|
+
},
|
|
24185
24199
|
{
|
|
24186
24200
|
"kind": "field",
|
|
24187
|
-
"name": "
|
|
24201
|
+
"name": "'mask-repeat'",
|
|
24188
24202
|
"type": {
|
|
24189
|
-
"text": "
|
|
24203
|
+
"text": "string"
|
|
24190
24204
|
},
|
|
24191
|
-
"
|
|
24192
|
-
"default": "{ mode: 'open', delegatesFocus: true, }"
|
|
24205
|
+
"default": "'no-repeat'"
|
|
24193
24206
|
},
|
|
24194
24207
|
{
|
|
24195
24208
|
"kind": "field",
|
|
24196
|
-
"name": "
|
|
24209
|
+
"name": "'mask-position'",
|
|
24197
24210
|
"type": {
|
|
24198
24211
|
"text": "string"
|
|
24199
24212
|
},
|
|
24200
|
-
"default": "''"
|
|
24201
|
-
"description": "Provides an accessible name for the link that will be read by screen readers.\nUse this when:\n- The link contains only an icon\n- The visual text needs a different description for screen readers\n- Additional context is needed for accessibility",
|
|
24202
|
-
"attribute": "label"
|
|
24213
|
+
"default": "'center'"
|
|
24203
24214
|
},
|
|
24204
24215
|
{
|
|
24205
24216
|
"kind": "field",
|
|
24206
|
-
"name": "'
|
|
24217
|
+
"name": "'backdrop-filter'",
|
|
24207
24218
|
"type": {
|
|
24208
24219
|
"text": "string | undefined"
|
|
24209
24220
|
},
|
|
24210
|
-
"description": "Controls the
|
|
24221
|
+
"description": "Controls the backdrop-filter property of the container.\nWhen you want to apply a backdrop blur filter to the container you can use this property.\n\n```html\n<gds-mask backdrop-filter=\"20px\"></gds-mask>\n```\n\nThe above example will apply a backdrop blur filter of `20px`.\n\n The filter also support breakpoint syntax like this:\n\n```html\n<gds-mask backdrop-filter=\"s{20px} m{40px} l{60px}\"></gds-mask>\n```\n\nThe above example will apply the filter style of `20px` for `small` devices, `40px` for `medium` devices, and `60px` for large devices."
|
|
24211
24222
|
},
|
|
24212
24223
|
{
|
|
24213
24224
|
"kind": "field",
|
|
24214
|
-
"name": "
|
|
24225
|
+
"name": "position",
|
|
24215
24226
|
"type": {
|
|
24216
24227
|
"text": "string | undefined"
|
|
24217
24228
|
},
|
|
24218
|
-
"description": "Style Expression Property that controls the `
|
|
24229
|
+
"description": "Style Expression Property that controls the `position` property.\nSupports all valid CSS `position` values.",
|
|
24219
24230
|
"category": "Declarative layout / Style expression properties",
|
|
24220
24231
|
"inheritedFrom": {
|
|
24221
|
-
"name": "
|
|
24232
|
+
"name": "withPositioningProps",
|
|
24222
24233
|
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24223
|
-
}
|
|
24234
|
+
},
|
|
24235
|
+
"default": "'relative'"
|
|
24224
24236
|
},
|
|
24225
24237
|
{
|
|
24226
24238
|
"kind": "field",
|
|
24227
|
-
"name": "
|
|
24239
|
+
"name": "display",
|
|
24228
24240
|
"type": {
|
|
24229
24241
|
"text": "string | undefined"
|
|
24230
24242
|
},
|
|
24231
|
-
"description": "
|
|
24243
|
+
"description": "Controls the display property.\nSupports all valid CSS display values.",
|
|
24232
24244
|
"category": "Declarative layout / Style expression properties",
|
|
24233
24245
|
"inheritedFrom": {
|
|
24234
|
-
"name": "
|
|
24235
|
-
"module": "src/
|
|
24236
|
-
}
|
|
24246
|
+
"name": "GdsDiv",
|
|
24247
|
+
"module": "src/components/div/div.component.ts"
|
|
24248
|
+
},
|
|
24249
|
+
"default": "'flex'"
|
|
24237
24250
|
},
|
|
24238
24251
|
{
|
|
24239
24252
|
"kind": "field",
|
|
24240
|
-
"name": "
|
|
24253
|
+
"name": "inset",
|
|
24241
24254
|
"type": {
|
|
24242
24255
|
"text": "string | undefined"
|
|
24243
24256
|
},
|
|
24244
|
-
"description": "Style Expression Property that controls the `
|
|
24257
|
+
"description": "Style Expression Property that controls the `inset` property.\nSupports all valid CSS `inset` values.",
|
|
24245
24258
|
"category": "Declarative layout / Style expression properties",
|
|
24246
24259
|
"inheritedFrom": {
|
|
24247
|
-
"name": "
|
|
24260
|
+
"name": "withPositioningProps",
|
|
24248
24261
|
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24249
|
-
}
|
|
24262
|
+
},
|
|
24263
|
+
"default": "'0'"
|
|
24250
24264
|
},
|
|
24251
24265
|
{
|
|
24252
24266
|
"kind": "field",
|
|
@@ -24328,648 +24342,453 @@
|
|
|
24328
24342
|
},
|
|
24329
24343
|
{
|
|
24330
24344
|
"kind": "field",
|
|
24331
|
-
"name": "
|
|
24345
|
+
"name": "height",
|
|
24332
24346
|
"type": {
|
|
24333
24347
|
"text": "string | undefined"
|
|
24334
24348
|
},
|
|
24335
|
-
"description": "Style Expression Property that controls the `
|
|
24349
|
+
"description": "Style Expression Property that controls the `height` property.\nSupports space tokens and all valid CSS `height` values.",
|
|
24336
24350
|
"category": "Declarative layout / Style expression properties",
|
|
24337
24351
|
"inheritedFrom": {
|
|
24338
|
-
"name": "
|
|
24352
|
+
"name": "withSizeYProps",
|
|
24339
24353
|
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24340
24354
|
}
|
|
24341
24355
|
},
|
|
24342
24356
|
{
|
|
24343
24357
|
"kind": "field",
|
|
24344
|
-
"name": "'
|
|
24358
|
+
"name": "'min-height'",
|
|
24345
24359
|
"type": {
|
|
24346
24360
|
"text": "string | undefined"
|
|
24347
24361
|
},
|
|
24348
|
-
"description": "Style Expression Property that controls the `
|
|
24362
|
+
"description": "Style Expression Property that controls the `min-height` property.\nSupports space tokens and all valid CSS `min-height` values.",
|
|
24349
24363
|
"category": "Declarative layout / Style expression properties",
|
|
24350
24364
|
"inheritedFrom": {
|
|
24351
|
-
"name": "
|
|
24365
|
+
"name": "withSizeYProps",
|
|
24352
24366
|
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24353
24367
|
}
|
|
24354
24368
|
},
|
|
24355
24369
|
{
|
|
24356
24370
|
"kind": "field",
|
|
24357
|
-
"name": "'
|
|
24371
|
+
"name": "'max-height'",
|
|
24358
24372
|
"type": {
|
|
24359
24373
|
"text": "string | undefined"
|
|
24360
24374
|
},
|
|
24361
|
-
"description": "Style Expression Property that controls the `
|
|
24375
|
+
"description": "Style Expression Property that controls the `max-height` property.\nSupports space tokens and all valid CSS `max-height` values.",
|
|
24362
24376
|
"category": "Declarative layout / Style expression properties",
|
|
24363
24377
|
"inheritedFrom": {
|
|
24364
|
-
"name": "
|
|
24378
|
+
"name": "withSizeYProps",
|
|
24365
24379
|
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24366
24380
|
}
|
|
24367
24381
|
},
|
|
24368
24382
|
{
|
|
24369
24383
|
"kind": "field",
|
|
24370
|
-
"name": "'
|
|
24384
|
+
"name": "'block-size'",
|
|
24371
24385
|
"type": {
|
|
24372
24386
|
"text": "string | undefined"
|
|
24373
24387
|
},
|
|
24374
|
-
"description": "Style Expression Property that controls the `
|
|
24388
|
+
"description": "Style Expression Property that controls the `block-size` property.\nSupports space tokens and all valid CSS `block-size` values.",
|
|
24375
24389
|
"category": "Declarative layout / Style expression properties",
|
|
24376
24390
|
"inheritedFrom": {
|
|
24377
|
-
"name": "
|
|
24391
|
+
"name": "withSizeYProps",
|
|
24378
24392
|
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24379
24393
|
}
|
|
24380
24394
|
},
|
|
24381
24395
|
{
|
|
24382
24396
|
"kind": "field",
|
|
24383
|
-
"name": "'
|
|
24397
|
+
"name": "'min-block-size'",
|
|
24384
24398
|
"type": {
|
|
24385
24399
|
"text": "string | undefined"
|
|
24386
24400
|
},
|
|
24387
|
-
"description": "Style Expression Property that controls the `
|
|
24401
|
+
"description": "Style Expression Property that controls the `min-block-size` property.\nSupports space tokens and all valid CSS `min-block-size` values.",
|
|
24388
24402
|
"category": "Declarative layout / Style expression properties",
|
|
24389
24403
|
"inheritedFrom": {
|
|
24390
|
-
"name": "
|
|
24404
|
+
"name": "withSizeYProps",
|
|
24391
24405
|
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24392
24406
|
}
|
|
24393
24407
|
},
|
|
24394
24408
|
{
|
|
24395
24409
|
"kind": "field",
|
|
24396
|
-
"name": "'
|
|
24410
|
+
"name": "'max-block-size'",
|
|
24397
24411
|
"type": {
|
|
24398
24412
|
"text": "string | undefined"
|
|
24399
24413
|
},
|
|
24400
|
-
"description": "Style Expression Property that controls the `
|
|
24414
|
+
"description": "Style Expression Property that controls the `max-block-size` property.\nSupports space tokens and all valid CSS `max-block-size` values.",
|
|
24401
24415
|
"category": "Declarative layout / Style expression properties",
|
|
24402
24416
|
"inheritedFrom": {
|
|
24403
|
-
"name": "
|
|
24417
|
+
"name": "withSizeYProps",
|
|
24404
24418
|
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24405
24419
|
}
|
|
24406
24420
|
},
|
|
24407
24421
|
{
|
|
24408
24422
|
"kind": "field",
|
|
24409
|
-
"name": "
|
|
24423
|
+
"name": "margin",
|
|
24410
24424
|
"type": {
|
|
24411
24425
|
"text": "string | undefined"
|
|
24412
24426
|
},
|
|
24413
|
-
"description": "Style Expression Property that controls the `
|
|
24427
|
+
"description": "Style Expression Property that controls the `margin` property.\nOnly accepts space tokens.",
|
|
24414
24428
|
"category": "Declarative layout / Style expression properties",
|
|
24415
24429
|
"inheritedFrom": {
|
|
24416
|
-
"name": "
|
|
24430
|
+
"name": "withMarginProps",
|
|
24417
24431
|
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24418
24432
|
}
|
|
24419
24433
|
},
|
|
24420
24434
|
{
|
|
24421
24435
|
"kind": "field",
|
|
24422
|
-
"name": "
|
|
24436
|
+
"name": "'margin-inline'",
|
|
24423
24437
|
"type": {
|
|
24424
24438
|
"text": "string | undefined"
|
|
24425
24439
|
},
|
|
24426
|
-
"description": "Style Expression Property that controls the `
|
|
24440
|
+
"description": "Style Expression Property that controls the `margin-inline` property.\nOnly accepts space tokens.",
|
|
24427
24441
|
"category": "Declarative layout / Style expression properties",
|
|
24428
24442
|
"inheritedFrom": {
|
|
24429
|
-
"name": "
|
|
24443
|
+
"name": "withMarginProps",
|
|
24430
24444
|
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24431
24445
|
}
|
|
24432
24446
|
},
|
|
24433
24447
|
{
|
|
24434
24448
|
"kind": "field",
|
|
24435
|
-
"name": "
|
|
24449
|
+
"name": "'margin-block'",
|
|
24436
24450
|
"type": {
|
|
24437
24451
|
"text": "string | undefined"
|
|
24438
24452
|
},
|
|
24439
|
-
"description": "
|
|
24440
|
-
"
|
|
24453
|
+
"description": "Style Expression Property that controls the `margin-block` property.\nOnly accepts space tokens.",
|
|
24454
|
+
"category": "Declarative layout / Style expression properties",
|
|
24441
24455
|
"inheritedFrom": {
|
|
24442
|
-
"name": "
|
|
24443
|
-
"module": "src/utils/mixins/
|
|
24456
|
+
"name": "withMarginProps",
|
|
24457
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24444
24458
|
}
|
|
24445
24459
|
},
|
|
24446
24460
|
{
|
|
24447
24461
|
"kind": "field",
|
|
24448
|
-
"name": "
|
|
24462
|
+
"name": "padding",
|
|
24449
24463
|
"type": {
|
|
24450
|
-
"text": "
|
|
24464
|
+
"text": "string | undefined"
|
|
24451
24465
|
},
|
|
24452
|
-
"description": "
|
|
24453
|
-
"
|
|
24466
|
+
"description": "Style Expression Property that controls the `padding` property.\nOnly accepts space tokens.",
|
|
24467
|
+
"category": "Declarative layout / Style expression properties",
|
|
24454
24468
|
"inheritedFrom": {
|
|
24455
|
-
"name": "
|
|
24456
|
-
"module": "src/utils/mixins/
|
|
24469
|
+
"name": "withPaddingProps",
|
|
24470
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24457
24471
|
}
|
|
24458
24472
|
},
|
|
24459
24473
|
{
|
|
24460
24474
|
"kind": "field",
|
|
24461
|
-
"name": "
|
|
24475
|
+
"name": "'padding-inline'",
|
|
24462
24476
|
"type": {
|
|
24463
24477
|
"text": "string | undefined"
|
|
24464
24478
|
},
|
|
24465
|
-
"description": "
|
|
24466
|
-
"
|
|
24479
|
+
"description": "Style Expression Property that controls the `padding-inline` property.\nOnly accepts space tokens.",
|
|
24480
|
+
"category": "Declarative layout / Style expression properties",
|
|
24467
24481
|
"inheritedFrom": {
|
|
24468
|
-
"name": "
|
|
24469
|
-
"module": "src/utils/mixins/
|
|
24482
|
+
"name": "withPaddingProps",
|
|
24483
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24470
24484
|
}
|
|
24471
24485
|
},
|
|
24472
24486
|
{
|
|
24473
24487
|
"kind": "field",
|
|
24474
|
-
"name": "
|
|
24475
|
-
"privacy": "private",
|
|
24488
|
+
"name": "'padding-block'",
|
|
24476
24489
|
"type": {
|
|
24477
24490
|
"text": "string | undefined"
|
|
24478
24491
|
},
|
|
24492
|
+
"description": "Style Expression Property that controls the `padding-block` property.\nOnly accepts space tokens.",
|
|
24493
|
+
"category": "Declarative layout / Style expression properties",
|
|
24479
24494
|
"inheritedFrom": {
|
|
24480
|
-
"name": "
|
|
24481
|
-
"module": "src/utils/mixins/
|
|
24495
|
+
"name": "withPaddingProps",
|
|
24496
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24482
24497
|
}
|
|
24483
24498
|
},
|
|
24484
24499
|
{
|
|
24485
24500
|
"kind": "field",
|
|
24486
|
-
"name": "
|
|
24501
|
+
"name": "'align-self'",
|
|
24487
24502
|
"type": {
|
|
24488
|
-
"text": "string |
|
|
24503
|
+
"text": "string | undefined"
|
|
24489
24504
|
},
|
|
24490
|
-
"description": "
|
|
24491
|
-
"
|
|
24505
|
+
"description": "Style Expression Property that controls the `align-self` property.\nSupports all valid CSS `align-self` values.",
|
|
24506
|
+
"category": "Declarative layout / Style expression properties",
|
|
24492
24507
|
"inheritedFrom": {
|
|
24493
|
-
"name": "
|
|
24494
|
-
"module": "src/utils/mixins/
|
|
24508
|
+
"name": "withLayoutChildProps",
|
|
24509
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24495
24510
|
}
|
|
24496
24511
|
},
|
|
24497
24512
|
{
|
|
24498
24513
|
"kind": "field",
|
|
24499
|
-
"name": "
|
|
24514
|
+
"name": "'justify-self'",
|
|
24500
24515
|
"type": {
|
|
24501
24516
|
"text": "string | undefined"
|
|
24502
24517
|
},
|
|
24503
|
-
"description": "
|
|
24504
|
-
"
|
|
24518
|
+
"description": "Style Expression Property that controls the `justify-self` property.\nSupports all valid CSS `justify-self` values.",
|
|
24519
|
+
"category": "Declarative layout / Style expression properties",
|
|
24505
24520
|
"inheritedFrom": {
|
|
24506
|
-
"name": "
|
|
24507
|
-
"module": "src/utils/mixins/
|
|
24521
|
+
"name": "withLayoutChildProps",
|
|
24522
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24508
24523
|
}
|
|
24509
24524
|
},
|
|
24510
24525
|
{
|
|
24511
|
-
"kind": "
|
|
24512
|
-
"name": "
|
|
24513
|
-
"
|
|
24514
|
-
|
|
24515
|
-
"type": {
|
|
24516
|
-
"text": "void"
|
|
24517
|
-
}
|
|
24526
|
+
"kind": "field",
|
|
24527
|
+
"name": "'place-self'",
|
|
24528
|
+
"type": {
|
|
24529
|
+
"text": "string | undefined"
|
|
24518
24530
|
},
|
|
24519
|
-
"description": "
|
|
24531
|
+
"description": "Style Expression Property that controls the `place-self` property.\nSupports all valid CSS `place-self` values.",
|
|
24532
|
+
"category": "Declarative layout / Style expression properties",
|
|
24520
24533
|
"inheritedFrom": {
|
|
24521
|
-
"name": "
|
|
24522
|
-
"module": "src/
|
|
24534
|
+
"name": "withLayoutChildProps",
|
|
24535
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24523
24536
|
}
|
|
24524
24537
|
},
|
|
24525
24538
|
{
|
|
24526
24539
|
"kind": "field",
|
|
24527
|
-
"name": "
|
|
24540
|
+
"name": "'grid-column'",
|
|
24528
24541
|
"type": {
|
|
24529
|
-
"text": "
|
|
24542
|
+
"text": "string | undefined"
|
|
24530
24543
|
},
|
|
24531
|
-
"
|
|
24532
|
-
"
|
|
24533
|
-
"description": "Whether the element is defined in the custom element registry.",
|
|
24544
|
+
"description": "Style Expression Property that controls the `grid-column` property.\nSupports all valid CSS grid-column values.\nDocumentation: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column",
|
|
24545
|
+
"category": "Declarative layout / Style expression properties",
|
|
24534
24546
|
"inheritedFrom": {
|
|
24535
|
-
"name": "
|
|
24536
|
-
"module": "src/
|
|
24547
|
+
"name": "withLayoutChildProps",
|
|
24548
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24537
24549
|
}
|
|
24538
24550
|
},
|
|
24539
24551
|
{
|
|
24540
24552
|
"kind": "field",
|
|
24541
|
-
"name": "
|
|
24553
|
+
"name": "'grid-row'",
|
|
24542
24554
|
"type": {
|
|
24543
|
-
"text": "string"
|
|
24555
|
+
"text": "string | undefined"
|
|
24544
24556
|
},
|
|
24545
|
-
"
|
|
24546
|
-
"
|
|
24547
|
-
"description": "Style expression properties for this element will use this selector by default.",
|
|
24557
|
+
"description": "Style Expression Property that controls the `grid-row` property.\nSupports all valid CSS `grid-row` values.",
|
|
24558
|
+
"category": "Declarative layout / Style expression properties",
|
|
24548
24559
|
"inheritedFrom": {
|
|
24549
|
-
"name": "
|
|
24550
|
-
"module": "src/
|
|
24560
|
+
"name": "withLayoutChildProps",
|
|
24561
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24551
24562
|
}
|
|
24552
24563
|
},
|
|
24553
24564
|
{
|
|
24554
24565
|
"kind": "field",
|
|
24555
|
-
"name": "
|
|
24566
|
+
"name": "'grid-area'",
|
|
24556
24567
|
"type": {
|
|
24557
|
-
"text": "string"
|
|
24568
|
+
"text": "string | undefined"
|
|
24558
24569
|
},
|
|
24559
|
-
"
|
|
24560
|
-
"
|
|
24561
|
-
"description": "The semantic version of this element. Can be used for troubleshooting to verify the version being used.",
|
|
24570
|
+
"description": "Style Expression Property that controls the `grid-area` property.\nSupports all valid CSS `grid-area` values.",
|
|
24571
|
+
"category": "Declarative layout / Style expression properties",
|
|
24562
24572
|
"inheritedFrom": {
|
|
24563
|
-
"name": "
|
|
24564
|
-
"module": "src/
|
|
24573
|
+
"name": "withLayoutChildProps",
|
|
24574
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24565
24575
|
}
|
|
24566
24576
|
},
|
|
24567
24577
|
{
|
|
24568
24578
|
"kind": "field",
|
|
24569
|
-
"name": "
|
|
24579
|
+
"name": "flex",
|
|
24570
24580
|
"type": {
|
|
24571
24581
|
"text": "string | undefined"
|
|
24572
24582
|
},
|
|
24573
|
-
"description": "
|
|
24574
|
-
"
|
|
24575
|
-
"attribute": "gds-element",
|
|
24583
|
+
"description": "Style Expression Property that controls the `flex` property.\nSupports all valid CSS `flex` values.",
|
|
24584
|
+
"category": "Declarative layout / Style expression properties",
|
|
24576
24585
|
"inheritedFrom": {
|
|
24577
|
-
"name": "
|
|
24578
|
-
"module": "src/
|
|
24586
|
+
"name": "withLayoutChildProps",
|
|
24587
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24579
24588
|
}
|
|
24580
24589
|
},
|
|
24581
24590
|
{
|
|
24582
|
-
"kind": "
|
|
24583
|
-
"name": "
|
|
24584
|
-
"
|
|
24585
|
-
"
|
|
24586
|
-
"text": "boolean"
|
|
24587
|
-
}
|
|
24591
|
+
"kind": "field",
|
|
24592
|
+
"name": "order",
|
|
24593
|
+
"type": {
|
|
24594
|
+
"text": "string | undefined"
|
|
24588
24595
|
},
|
|
24589
|
-
"
|
|
24590
|
-
|
|
24591
|
-
"name": "name",
|
|
24592
|
-
"type": {
|
|
24593
|
-
"text": "string"
|
|
24594
|
-
}
|
|
24595
|
-
},
|
|
24596
|
-
{
|
|
24597
|
-
"name": "options",
|
|
24598
|
-
"optional": true,
|
|
24599
|
-
"type": {
|
|
24600
|
-
"text": "EventInit"
|
|
24601
|
-
}
|
|
24602
|
-
}
|
|
24603
|
-
],
|
|
24604
|
-
"description": "Dispatches a standard event with the given name and options.\nA pascal cased version of the event name is also dispatched for compatibility.",
|
|
24596
|
+
"description": "Style Expression Property that controls the `order` property.\nSupports all valid CSS `order` values.",
|
|
24597
|
+
"category": "Declarative layout / Style expression properties",
|
|
24605
24598
|
"inheritedFrom": {
|
|
24606
|
-
"name": "
|
|
24607
|
-
"module": "src/
|
|
24599
|
+
"name": "withLayoutChildProps",
|
|
24600
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24608
24601
|
}
|
|
24609
24602
|
},
|
|
24610
24603
|
{
|
|
24611
|
-
"kind": "
|
|
24612
|
-
"name": "
|
|
24613
|
-
"
|
|
24614
|
-
"
|
|
24615
|
-
"text": "boolean"
|
|
24616
|
-
}
|
|
24604
|
+
"kind": "field",
|
|
24605
|
+
"name": "transform",
|
|
24606
|
+
"type": {
|
|
24607
|
+
"text": "string | undefined"
|
|
24617
24608
|
},
|
|
24618
|
-
"
|
|
24619
|
-
|
|
24620
|
-
"name": "name",
|
|
24621
|
-
"type": {
|
|
24622
|
-
"text": "string"
|
|
24623
|
-
}
|
|
24624
|
-
},
|
|
24625
|
-
{
|
|
24626
|
-
"name": "options",
|
|
24627
|
-
"default": "{}",
|
|
24628
|
-
"type": {
|
|
24629
|
-
"text": "CustomEventInit<T>"
|
|
24630
|
-
}
|
|
24631
|
-
}
|
|
24632
|
-
],
|
|
24633
|
-
"description": "Dispatches a custom event with the given name and options.\nA pascal cased version of the event name is also dispatched for compatibility.",
|
|
24609
|
+
"description": "Style Expression Property that controls the `transform` property.\nSupports all valid CSS `transform` values.",
|
|
24610
|
+
"category": "Declarative layout / Style expression properties",
|
|
24634
24611
|
"inheritedFrom": {
|
|
24635
|
-
"name": "
|
|
24636
|
-
"module": "src/
|
|
24612
|
+
"name": "withPositioningProps",
|
|
24613
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
24637
24614
|
}
|
|
24638
|
-
}
|
|
24639
|
-
],
|
|
24640
|
-
"events": [
|
|
24641
|
-
{
|
|
24642
|
-
"description": "Fired when the link is clicked.",
|
|
24643
|
-
"name": "click"
|
|
24644
24615
|
},
|
|
24645
24616
|
{
|
|
24646
|
-
"
|
|
24617
|
+
"kind": "field",
|
|
24618
|
+
"name": "level",
|
|
24647
24619
|
"type": {
|
|
24648
|
-
"text": "
|
|
24620
|
+
"text": "GdsColorLevel"
|
|
24649
24621
|
},
|
|
24650
|
-
"
|
|
24622
|
+
"default": "'2'",
|
|
24623
|
+
"description": "The level of the container is used to resolve the color tokens from the corresponding level.\nCheck the [Color System documentation page](./?path=/docs/style-colors--docs) for more information.\n\nDefault for `gds-div` is level 2.",
|
|
24624
|
+
"attribute": "level",
|
|
24651
24625
|
"inheritedFrom": {
|
|
24652
|
-
"name": "
|
|
24653
|
-
"module": "src/
|
|
24626
|
+
"name": "GdsDiv",
|
|
24627
|
+
"module": "src/components/div/div.component.ts"
|
|
24654
24628
|
}
|
|
24655
24629
|
},
|
|
24656
24630
|
{
|
|
24657
|
-
"
|
|
24631
|
+
"kind": "field",
|
|
24632
|
+
"name": "color",
|
|
24658
24633
|
"type": {
|
|
24659
|
-
"text": "
|
|
24634
|
+
"text": "string | undefined"
|
|
24660
24635
|
},
|
|
24636
|
+
"description": "Style Expression Property that controls the `color` property.\nOnly accepts color tokens and an optional transparency value, in the format tokenName/transparency.\n\n```html\n<gds-div color=\"neutral-01/0.2\"></gds-div>\n```",
|
|
24637
|
+
"category": "Declarative layout / Style expression properties",
|
|
24661
24638
|
"inheritedFrom": {
|
|
24662
|
-
"name": "
|
|
24663
|
-
"module": "src/
|
|
24639
|
+
"name": "GdsDiv",
|
|
24640
|
+
"module": "src/components/div/div.component.ts"
|
|
24664
24641
|
}
|
|
24665
24642
|
},
|
|
24666
24643
|
{
|
|
24644
|
+
"kind": "field",
|
|
24645
|
+
"name": "border",
|
|
24667
24646
|
"type": {
|
|
24668
|
-
"text": "
|
|
24647
|
+
"text": "string | undefined"
|
|
24669
24648
|
},
|
|
24649
|
+
"description": "Style Expression Property that controls the `border` property.\nAccepts a string of the same format as the CSS border property.\n\n```html\n<gds-div border=\"4xs solid subtle-01/0.2\"></gds-div>\n```\n\nWhere the size value accepts space tokens and the color value accepts color tokens and an optional transparency value.",
|
|
24650
|
+
"category": "Declarative layout / Style expression properties",
|
|
24670
24651
|
"inheritedFrom": {
|
|
24671
|
-
"name": "
|
|
24672
|
-
"module": "src/
|
|
24652
|
+
"name": "GdsDiv",
|
|
24653
|
+
"module": "src/components/div/div.component.ts"
|
|
24673
24654
|
}
|
|
24674
|
-
}
|
|
24675
|
-
],
|
|
24676
|
-
"attributes": [
|
|
24655
|
+
},
|
|
24677
24656
|
{
|
|
24678
|
-
"
|
|
24657
|
+
"kind": "field",
|
|
24658
|
+
"name": "'border-color'",
|
|
24679
24659
|
"type": {
|
|
24680
|
-
"text": "string"
|
|
24660
|
+
"text": "string | undefined"
|
|
24681
24661
|
},
|
|
24682
|
-
"
|
|
24683
|
-
"
|
|
24684
|
-
"
|
|
24662
|
+
"description": "Style Expression Property that controls the `border-color` property.\nOnly accepts color tokens and an optional transparency value, in the format tokenName/transparency.\n\n```html\n<gds-div border-color=\"subtle-01/0.2\"></gds-div>\n```",
|
|
24663
|
+
"category": "Declarative layout / Style expression properties",
|
|
24664
|
+
"inheritedFrom": {
|
|
24665
|
+
"name": "GdsDiv",
|
|
24666
|
+
"module": "src/components/div/div.component.ts"
|
|
24667
|
+
}
|
|
24685
24668
|
},
|
|
24686
24669
|
{
|
|
24687
|
-
"
|
|
24670
|
+
"kind": "field",
|
|
24671
|
+
"name": "'border-width'",
|
|
24688
24672
|
"type": {
|
|
24689
24673
|
"text": "string | undefined"
|
|
24690
24674
|
},
|
|
24691
|
-
"description": "
|
|
24692
|
-
"
|
|
24675
|
+
"description": "Style Expression Property that controls the `border-width` property.\nOnly accepts space tokens.",
|
|
24676
|
+
"category": "Declarative layout / Style expression properties",
|
|
24693
24677
|
"inheritedFrom": {
|
|
24694
|
-
"name": "
|
|
24695
|
-
"module": "src/
|
|
24678
|
+
"name": "GdsDiv",
|
|
24679
|
+
"module": "src/components/div/div.component.ts"
|
|
24696
24680
|
}
|
|
24697
24681
|
},
|
|
24698
24682
|
{
|
|
24699
|
-
"
|
|
24683
|
+
"kind": "field",
|
|
24684
|
+
"name": "'border-style'",
|
|
24700
24685
|
"type": {
|
|
24701
|
-
"text": "
|
|
24686
|
+
"text": "string | undefined"
|
|
24702
24687
|
},
|
|
24703
|
-
"description": "
|
|
24704
|
-
"
|
|
24688
|
+
"description": "Style Expression Property that controls the `border-style` property.\nSupports all valid CSS `border-style` values.",
|
|
24689
|
+
"category": "Declarative layout / Style expression properties",
|
|
24705
24690
|
"inheritedFrom": {
|
|
24706
|
-
"name": "
|
|
24707
|
-
"module": "src/
|
|
24691
|
+
"name": "GdsDiv",
|
|
24692
|
+
"module": "src/components/div/div.component.ts"
|
|
24708
24693
|
}
|
|
24709
24694
|
},
|
|
24710
24695
|
{
|
|
24711
|
-
"
|
|
24696
|
+
"kind": "field",
|
|
24697
|
+
"name": "'border-radius'",
|
|
24712
24698
|
"type": {
|
|
24713
24699
|
"text": "string | undefined"
|
|
24714
24700
|
},
|
|
24715
|
-
"description": "
|
|
24716
|
-
"
|
|
24701
|
+
"description": "Style Expression Property that controls the `border-radius` property.\nOnly accepts space tokens.",
|
|
24702
|
+
"category": "Declarative layout / Style expression properties",
|
|
24717
24703
|
"inheritedFrom": {
|
|
24718
|
-
"name": "
|
|
24719
|
-
"module": "src/
|
|
24704
|
+
"name": "GdsDiv",
|
|
24705
|
+
"module": "src/components/div/div.component.ts"
|
|
24720
24706
|
}
|
|
24721
24707
|
},
|
|
24722
24708
|
{
|
|
24723
|
-
"
|
|
24709
|
+
"kind": "field",
|
|
24710
|
+
"name": "'box-shadow'",
|
|
24724
24711
|
"type": {
|
|
24725
|
-
"text": "string |
|
|
24712
|
+
"text": "string | undefined"
|
|
24726
24713
|
},
|
|
24727
|
-
"description": "
|
|
24728
|
-
"
|
|
24714
|
+
"description": "Style Expression Property for the `box-shadow` property.\n\nAccepts shadow tokens from the design system.\n\n`xs`, `s`, `m`, `l`, `xl`",
|
|
24715
|
+
"category": "Declarative layout / Style expression properties",
|
|
24729
24716
|
"inheritedFrom": {
|
|
24730
|
-
"name": "
|
|
24731
|
-
"module": "src/
|
|
24717
|
+
"name": "GdsDiv",
|
|
24718
|
+
"module": "src/components/div/div.component.ts"
|
|
24732
24719
|
}
|
|
24733
24720
|
},
|
|
24734
24721
|
{
|
|
24735
|
-
"
|
|
24722
|
+
"kind": "field",
|
|
24723
|
+
"name": "opacity",
|
|
24736
24724
|
"type": {
|
|
24737
24725
|
"text": "string | undefined"
|
|
24738
24726
|
},
|
|
24739
|
-
"description": "
|
|
24740
|
-
"
|
|
24727
|
+
"description": "Style Expression Property that controls the `opacity` property.\nSupports all valid CSS `opacity` values.",
|
|
24728
|
+
"category": "Declarative layout / Style expression properties",
|
|
24741
24729
|
"inheritedFrom": {
|
|
24742
|
-
"name": "
|
|
24743
|
-
"module": "src/
|
|
24730
|
+
"name": "GdsDiv",
|
|
24731
|
+
"module": "src/components/div/div.component.ts"
|
|
24744
24732
|
}
|
|
24745
24733
|
},
|
|
24746
24734
|
{
|
|
24747
|
-
"
|
|
24735
|
+
"kind": "field",
|
|
24736
|
+
"name": "overflow",
|
|
24748
24737
|
"type": {
|
|
24749
24738
|
"text": "string | undefined"
|
|
24750
24739
|
},
|
|
24751
|
-
"description": "
|
|
24752
|
-
"
|
|
24753
|
-
"fieldName": "gdsElementName",
|
|
24740
|
+
"description": "Style Expression Property that controls the `overflow` property.\nSupports all valid CSS `overflow` values.",
|
|
24741
|
+
"category": "Declarative layout / Style expression properties",
|
|
24754
24742
|
"inheritedFrom": {
|
|
24755
|
-
"name": "
|
|
24756
|
-
"module": "src/
|
|
24743
|
+
"name": "GdsDiv",
|
|
24744
|
+
"module": "src/components/div/div.component.ts"
|
|
24757
24745
|
}
|
|
24758
|
-
}
|
|
24759
|
-
],
|
|
24760
|
-
"mixins": [
|
|
24746
|
+
},
|
|
24761
24747
|
{
|
|
24762
|
-
"
|
|
24763
|
-
"
|
|
24748
|
+
"kind": "field",
|
|
24749
|
+
"name": "'box-sizing'",
|
|
24750
|
+
"type": {
|
|
24751
|
+
"text": "string | undefined"
|
|
24752
|
+
},
|
|
24753
|
+
"description": "Style Expression Property that controls the `box-sizing` property.\nSupports all valid CSS `box-sizing` values.",
|
|
24754
|
+
"category": "Declarative layout / Style expression properties",
|
|
24755
|
+
"inheritedFrom": {
|
|
24756
|
+
"name": "GdsDiv",
|
|
24757
|
+
"module": "src/components/div/div.component.ts"
|
|
24758
|
+
}
|
|
24764
24759
|
},
|
|
24765
24760
|
{
|
|
24766
|
-
"
|
|
24767
|
-
"
|
|
24761
|
+
"kind": "field",
|
|
24762
|
+
"name": "'z-index'",
|
|
24763
|
+
"type": {
|
|
24764
|
+
"text": "string | undefined"
|
|
24765
|
+
},
|
|
24766
|
+
"description": "Style Expression Property that controls the `z-index` property.\nSupports all valid CSS `z-index` values.",
|
|
24767
|
+
"category": "Declarative layout / Style expression properties",
|
|
24768
|
+
"inheritedFrom": {
|
|
24769
|
+
"name": "GdsDiv",
|
|
24770
|
+
"module": "src/components/div/div.component.ts"
|
|
24771
|
+
}
|
|
24768
24772
|
},
|
|
24769
24773
|
{
|
|
24770
|
-
"
|
|
24771
|
-
"
|
|
24774
|
+
"kind": "field",
|
|
24775
|
+
"name": "'font'",
|
|
24776
|
+
"type": {
|
|
24777
|
+
"text": "string | undefined"
|
|
24778
|
+
},
|
|
24779
|
+
"description": "Style Expression Property that controls the `font` property.\nSupports all font tokens from the design system.",
|
|
24780
|
+
"inheritedFrom": {
|
|
24781
|
+
"name": "GdsDiv",
|
|
24782
|
+
"module": "src/components/div/div.component.ts"
|
|
24783
|
+
}
|
|
24772
24784
|
},
|
|
24773
|
-
{
|
|
24774
|
-
"name": "withLinkProps",
|
|
24775
|
-
"module": "/src/utils/mixins/props-link"
|
|
24776
|
-
}
|
|
24777
|
-
],
|
|
24778
|
-
"superclass": {
|
|
24779
|
-
"name": "GdsElement",
|
|
24780
|
-
"module": "/src/gds-element"
|
|
24781
|
-
},
|
|
24782
|
-
"tagName": "gds-link",
|
|
24783
|
-
"customElement": true
|
|
24784
|
-
}
|
|
24785
|
-
],
|
|
24786
|
-
"exports": [
|
|
24787
|
-
{
|
|
24788
|
-
"kind": "js",
|
|
24789
|
-
"name": "GdsLink",
|
|
24790
|
-
"declaration": {
|
|
24791
|
-
"name": "GdsLink",
|
|
24792
|
-
"module": "src/components/link/link.component.ts"
|
|
24793
|
-
}
|
|
24794
|
-
}
|
|
24795
|
-
]
|
|
24796
|
-
},
|
|
24797
|
-
{
|
|
24798
|
-
"kind": "javascript-module",
|
|
24799
|
-
"path": "src/components/link/link.stories.ts",
|
|
24800
|
-
"declarations": [
|
|
24801
|
-
{
|
|
24802
|
-
"kind": "variable",
|
|
24803
|
-
"name": "meta",
|
|
24804
|
-
"type": {
|
|
24805
|
-
"text": "Meta"
|
|
24806
|
-
},
|
|
24807
|
-
"default": "{ title: 'Components/Link', component: 'gds-link', parameters: { layout: 'centered', }, tags: ['autodocs'], argTypes: { ...argTablePropsFor('gds-link'), }, }",
|
|
24808
|
-
"description": "A link navigates users to other pages or sections of content."
|
|
24809
|
-
},
|
|
24810
|
-
{
|
|
24811
|
-
"kind": "variable",
|
|
24812
|
-
"name": "Basic",
|
|
24813
|
-
"type": {
|
|
24814
|
-
"text": "Story"
|
|
24815
|
-
},
|
|
24816
|
-
"default": "{ ...DefaultParams, }"
|
|
24817
|
-
},
|
|
24818
|
-
{
|
|
24819
|
-
"kind": "variable",
|
|
24820
|
-
"name": "Lead",
|
|
24821
|
-
"type": {
|
|
24822
|
-
"text": "Story"
|
|
24823
|
-
},
|
|
24824
|
-
"default": "{ ...DefaultParams, name: 'Icon: Lead', render: () => html` <gds-link href=\"#\"> <gds-icon-chain-link slot=\"lead\"></gds-icon-chain-link> Link text </gds-link>`, }",
|
|
24825
|
-
"description": "A link component with a leading icon."
|
|
24826
|
-
},
|
|
24827
|
-
{
|
|
24828
|
-
"kind": "variable",
|
|
24829
|
-
"name": "Trail",
|
|
24830
|
-
"type": {
|
|
24831
|
-
"text": "Story"
|
|
24832
|
-
},
|
|
24833
|
-
"default": "{ ...DefaultParams, name: 'Icon: Trail', render: () => html` <gds-link href=\"#\"> Link text <gds-icon-arrow-right slot=\"trail\"></gds-icon-arrow-right> </gds-link>`, }",
|
|
24834
|
-
"description": "A link component with a trailing icon."
|
|
24835
|
-
},
|
|
24836
|
-
{
|
|
24837
|
-
"kind": "variable",
|
|
24838
|
-
"name": "TextDecoration",
|
|
24839
|
-
"type": {
|
|
24840
|
-
"text": "Story"
|
|
24841
|
-
},
|
|
24842
|
-
"default": "{ ...DefaultParams, name: 'Text Decoration', render: () => html` <gds-flex gap=\"4xl\" width=\"600px\" flex-direction=\"column\"> <gds-flex gap=\"xl\"> <gds-flex flex-direction=\"column\" gap=\"m\" flex=\"1\"> <gds-text tag=\"small\">Link with Underline</gds-text> <gds-divider opacity=\"0.2\"></gds-divider> <gds-link href=\"#\" text-decoration=\"underline\"> Link text </gds-link> </gds-flex> <gds-flex flex-direction=\"column\" gap=\"m\" flex=\"1\"> <gds-text tag=\"small\">Link without Underline</gds-text> <gds-divider opacity=\"0.2\"></gds-divider> <gds-link href=\"#\" text-decoration=\"none\"> Link text </gds-link> </gds-flex> </gds-flex> <gds-flex gap=\"xl\"> <gds-flex flex-direction=\"column\" gap=\"m\" flex=\"1\"> <gds-text tag=\"small\">Link with Underline on Hover and Icon</gds-text> <gds-divider opacity=\"0.2\"></gds-divider> <gds-link href=\"#\"> Link text <gds-icon-arrow-right slot=\"trail\"></gds-icon-arrow-right> </gds-link> </gds-flex> <gds-flex flex-direction=\"column\" gap=\"m\" flex=\"1\"> <gds-text tag=\"small\">Link with No Underline on Hover</gds-text> <gds-divider opacity=\"0.2\"></gds-divider> <gds-link href=\"#\" text-decoration=\"underline; hover:none\"> Link text </gds-link> </gds-flex> </gds-flex> </gds-flex> `, }",
|
|
24843
|
-
"description": "A link component has a `text-decoration` property that accepts all valid CSS `text-decoration` values.\n\nIt also supports setting `text-decoration` or disable on hover by using the `hover:` prefix.\n\n```html\n<gds-link text-decoration=\"hover:none\">\n Underline on Hover\n</gds-link>\n```"
|
|
24844
|
-
},
|
|
24845
|
-
{
|
|
24846
|
-
"kind": "variable",
|
|
24847
|
-
"name": "Label",
|
|
24848
|
-
"type": {
|
|
24849
|
-
"text": "Story"
|
|
24850
|
-
},
|
|
24851
|
-
"default": "{ ...DefaultParams, name: 'Label', render: () => html` <gds-link href=\"#\" label=\"Aria label is used\"> Link with aria-label </gds-link> `, }",
|
|
24852
|
-
"description": "On the `gds-link` component, the `label` attribute is used to provide an accessible name for the link.\n\nIt will be forwarded to the `aria-label` attribute of the underlying anchor element.\n\n\nUse this when:\n- The link contains only an icon\n- The visual text needs a different description for screen readers\n- Additional context is needed for accessibility\n\n```html\n<!-- Icon-only link -->\n<gds-link href=\"/settings\" label=\"Open settings\">\n <gds-icon-settings></gds-icon-settings>\n</gds-link>\n\n<!-- Different screen reader text -->\n<gds-link href=\"/article\" label=\"Read full article about climate change\">\n Read more\n</gds-link>\n```"
|
|
24853
|
-
}
|
|
24854
|
-
],
|
|
24855
|
-
"exports": [
|
|
24856
|
-
{
|
|
24857
|
-
"kind": "js",
|
|
24858
|
-
"name": "default",
|
|
24859
|
-
"declaration": {
|
|
24860
|
-
"name": "meta",
|
|
24861
|
-
"module": "src/components/link/link.stories.ts"
|
|
24862
|
-
}
|
|
24863
|
-
},
|
|
24864
|
-
{
|
|
24865
|
-
"kind": "js",
|
|
24866
|
-
"name": "Basic",
|
|
24867
|
-
"declaration": {
|
|
24868
|
-
"name": "Basic",
|
|
24869
|
-
"module": "src/components/link/link.stories.ts"
|
|
24870
|
-
}
|
|
24871
|
-
},
|
|
24872
|
-
{
|
|
24873
|
-
"kind": "js",
|
|
24874
|
-
"name": "Lead",
|
|
24875
|
-
"declaration": {
|
|
24876
|
-
"name": "Lead",
|
|
24877
|
-
"module": "src/components/link/link.stories.ts"
|
|
24878
|
-
}
|
|
24879
|
-
},
|
|
24880
|
-
{
|
|
24881
|
-
"kind": "js",
|
|
24882
|
-
"name": "Trail",
|
|
24883
|
-
"declaration": {
|
|
24884
|
-
"name": "Trail",
|
|
24885
|
-
"module": "src/components/link/link.stories.ts"
|
|
24886
|
-
}
|
|
24887
|
-
},
|
|
24888
|
-
{
|
|
24889
|
-
"kind": "js",
|
|
24890
|
-
"name": "TextDecoration",
|
|
24891
|
-
"declaration": {
|
|
24892
|
-
"name": "TextDecoration",
|
|
24893
|
-
"module": "src/components/link/link.stories.ts"
|
|
24894
|
-
}
|
|
24895
|
-
},
|
|
24896
|
-
{
|
|
24897
|
-
"kind": "js",
|
|
24898
|
-
"name": "Label",
|
|
24899
|
-
"declaration": {
|
|
24900
|
-
"name": "Label",
|
|
24901
|
-
"module": "src/components/link/link.stories.ts"
|
|
24902
|
-
}
|
|
24903
|
-
}
|
|
24904
|
-
]
|
|
24905
|
-
},
|
|
24906
|
-
{
|
|
24907
|
-
"kind": "javascript-module",
|
|
24908
|
-
"path": "src/components/link/link.styles.ts",
|
|
24909
|
-
"declarations": [
|
|
24910
|
-
{
|
|
24911
|
-
"kind": "variable",
|
|
24912
|
-
"name": "style",
|
|
24913
|
-
"default": "css` @layer core, link; @layer core { :host { display: inline-block; white-space: normal; } } @layer link { a { display: flex; align-items: center; gap: 1ch; text-decoration: none; text-underline-offset: 0.2lh; color: currentColor; cursor: pointer; border-radius: var(--gds-sys-radius-3xs); outline-offset: var(--gds-sys-space-3xs); outline-color: currentColor; font-weight: var(--gds-sys-text-weight-book); will-change: text-underline-offset; transition-property: text-underline-offset; transition-duration: var(--gds-sys-motion-duration-fastest); transition-timing-function: var(--gds-sys-motion-easing-ease-in-out); @media (pointer: fine) { &:hover { text-decoration: underline; text-underline-offset: 0.16lh; &:active { text-underline-offset: 0.08lh; } } } } } `"
|
|
24914
|
-
}
|
|
24915
|
-
],
|
|
24916
|
-
"exports": [
|
|
24917
|
-
{
|
|
24918
|
-
"kind": "js",
|
|
24919
|
-
"name": "default",
|
|
24920
|
-
"declaration": {
|
|
24921
|
-
"name": "style",
|
|
24922
|
-
"module": "src/components/link/link.styles.ts"
|
|
24923
|
-
}
|
|
24924
|
-
}
|
|
24925
|
-
]
|
|
24926
|
-
},
|
|
24927
|
-
{
|
|
24928
|
-
"kind": "javascript-module",
|
|
24929
|
-
"path": "src/components/link/link.ts",
|
|
24930
|
-
"declarations": [],
|
|
24931
|
-
"exports": [
|
|
24932
|
-
{
|
|
24933
|
-
"kind": "js",
|
|
24934
|
-
"name": "GdsLink",
|
|
24935
|
-
"declaration": {
|
|
24936
|
-
"name": "GdsLink",
|
|
24937
|
-
"module": "src/components/link/link.ts"
|
|
24938
|
-
}
|
|
24939
|
-
}
|
|
24940
|
-
]
|
|
24941
|
-
},
|
|
24942
|
-
{
|
|
24943
|
-
"kind": "javascript-module",
|
|
24944
|
-
"path": "src/components/mask/index.ts",
|
|
24945
|
-
"declarations": [],
|
|
24946
|
-
"exports": [
|
|
24947
|
-
{
|
|
24948
|
-
"kind": "js",
|
|
24949
|
-
"name": "*",
|
|
24950
|
-
"declaration": {
|
|
24951
|
-
"name": "*",
|
|
24952
|
-
"module": "src/components/mask/mask"
|
|
24953
|
-
}
|
|
24954
|
-
}
|
|
24955
|
-
]
|
|
24956
|
-
},
|
|
24957
|
-
{
|
|
24958
|
-
"kind": "javascript-module",
|
|
24959
|
-
"path": "src/components/mask/mask.component.ts",
|
|
24960
|
-
"declarations": [
|
|
24961
|
-
{
|
|
24962
|
-
"kind": "class",
|
|
24963
|
-
"description": "",
|
|
24964
|
-
"name": "GdsMask",
|
|
24965
|
-
"members": [
|
|
24966
24785
|
{
|
|
24967
24786
|
"kind": "field",
|
|
24968
|
-
"name": "
|
|
24787
|
+
"name": "'font-weight'",
|
|
24969
24788
|
"type": {
|
|
24970
24789
|
"text": "string | undefined"
|
|
24971
24790
|
},
|
|
24972
|
-
"description": "Style Expression Property that controls the `
|
|
24791
|
+
"description": "Style Expression Property that controls the `font-weight` property.\nSupports all typography weight tokens from the design system.",
|
|
24973
24792
|
"category": "Declarative layout / Style expression properties",
|
|
24974
24793
|
"inheritedFrom": {
|
|
24975
24794
|
"name": "GdsDiv",
|
|
@@ -24978,819 +24797,806 @@
|
|
|
24978
24797
|
},
|
|
24979
24798
|
{
|
|
24980
24799
|
"kind": "field",
|
|
24981
|
-
"name": "'
|
|
24800
|
+
"name": "'text-align'",
|
|
24982
24801
|
"type": {
|
|
24983
24802
|
"text": "string | undefined"
|
|
24803
|
+
},
|
|
24804
|
+
"description": "Style Expression Property that controls the `text-align` property.\nSupports all valid CSS `text-align` values.",
|
|
24805
|
+
"category": "Declarative layout / Style expression properties",
|
|
24806
|
+
"inheritedFrom": {
|
|
24807
|
+
"name": "GdsDiv",
|
|
24808
|
+
"module": "src/components/div/div.component.ts"
|
|
24984
24809
|
}
|
|
24985
24810
|
},
|
|
24986
24811
|
{
|
|
24987
24812
|
"kind": "field",
|
|
24988
|
-
"name": "'
|
|
24813
|
+
"name": "'text-wrap'",
|
|
24989
24814
|
"type": {
|
|
24990
|
-
"text": "string"
|
|
24815
|
+
"text": "string | undefined"
|
|
24991
24816
|
},
|
|
24992
|
-
"
|
|
24817
|
+
"description": "Style Expression Property that controls the `text-wrap` property.\nSupports all valid CSS `text-wrap` values.",
|
|
24818
|
+
"category": "Declarative layout / Style expression properties",
|
|
24819
|
+
"inheritedFrom": {
|
|
24820
|
+
"name": "GdsDiv",
|
|
24821
|
+
"module": "src/components/div/div.component.ts"
|
|
24822
|
+
}
|
|
24993
24823
|
},
|
|
24994
24824
|
{
|
|
24995
24825
|
"kind": "field",
|
|
24996
|
-
"name": "'
|
|
24826
|
+
"name": "'overflow-wrap'",
|
|
24997
24827
|
"type": {
|
|
24998
|
-
"text": "string"
|
|
24828
|
+
"text": "string | undefined"
|
|
24999
24829
|
},
|
|
25000
|
-
"
|
|
24830
|
+
"description": "Style Expression Property that controls the `overflow-wrap` property.\nSupports all valid CSS `overflow-wrap` values.",
|
|
24831
|
+
"inheritedFrom": {
|
|
24832
|
+
"name": "GdsDiv",
|
|
24833
|
+
"module": "src/components/div/div.component.ts"
|
|
24834
|
+
}
|
|
25001
24835
|
},
|
|
25002
24836
|
{
|
|
25003
24837
|
"kind": "field",
|
|
25004
|
-
"name": "'
|
|
24838
|
+
"name": "'white-space'",
|
|
25005
24839
|
"type": {
|
|
25006
|
-
"text": "string"
|
|
24840
|
+
"text": "string | undefined"
|
|
25007
24841
|
},
|
|
25008
|
-
"
|
|
24842
|
+
"description": "Style Expression Property that controls the `white-space` property.\nSupports all valid CSS `white-space` values.",
|
|
24843
|
+
"inheritedFrom": {
|
|
24844
|
+
"name": "GdsDiv",
|
|
24845
|
+
"module": "src/components/div/div.component.ts"
|
|
24846
|
+
}
|
|
25009
24847
|
},
|
|
25010
24848
|
{
|
|
25011
24849
|
"kind": "field",
|
|
25012
|
-
"name": "
|
|
24850
|
+
"name": "gap",
|
|
25013
24851
|
"type": {
|
|
25014
24852
|
"text": "string | undefined"
|
|
25015
24853
|
},
|
|
25016
|
-
"description": "
|
|
24854
|
+
"description": "Style Expression Property that controls the `gap` property.\nOnly accepts space tokens.",
|
|
24855
|
+
"category": "Declarative layout / Style expression properties",
|
|
24856
|
+
"inheritedFrom": {
|
|
24857
|
+
"name": "GdsDiv",
|
|
24858
|
+
"module": "src/components/div/div.component.ts"
|
|
24859
|
+
}
|
|
25017
24860
|
},
|
|
25018
24861
|
{
|
|
25019
24862
|
"kind": "field",
|
|
25020
|
-
"name": "
|
|
24863
|
+
"name": "'align-items'",
|
|
25021
24864
|
"type": {
|
|
25022
24865
|
"text": "string | undefined"
|
|
25023
24866
|
},
|
|
25024
|
-
"description": "Style Expression Property that controls the `
|
|
24867
|
+
"description": "Style Expression Property that controls the `align-items` property.\nSupports all valid CSS `align-items` values.",
|
|
25025
24868
|
"category": "Declarative layout / Style expression properties",
|
|
25026
24869
|
"inheritedFrom": {
|
|
25027
|
-
"name": "
|
|
25028
|
-
"module": "src/
|
|
25029
|
-
}
|
|
25030
|
-
"default": "'relative'"
|
|
24870
|
+
"name": "GdsDiv",
|
|
24871
|
+
"module": "src/components/div/div.component.ts"
|
|
24872
|
+
}
|
|
25031
24873
|
},
|
|
25032
24874
|
{
|
|
25033
24875
|
"kind": "field",
|
|
25034
|
-
"name": "
|
|
24876
|
+
"name": "'align-content'",
|
|
25035
24877
|
"type": {
|
|
25036
24878
|
"text": "string | undefined"
|
|
25037
24879
|
},
|
|
25038
|
-
"description": "
|
|
24880
|
+
"description": "Style Expression Property that controls the `align-content` property.\nSupports all valid CSS `align-content` values.",
|
|
25039
24881
|
"category": "Declarative layout / Style expression properties",
|
|
25040
24882
|
"inheritedFrom": {
|
|
25041
24883
|
"name": "GdsDiv",
|
|
25042
24884
|
"module": "src/components/div/div.component.ts"
|
|
25043
|
-
}
|
|
25044
|
-
"default": "'flex'"
|
|
24885
|
+
}
|
|
25045
24886
|
},
|
|
25046
24887
|
{
|
|
25047
24888
|
"kind": "field",
|
|
25048
|
-
"name": "
|
|
24889
|
+
"name": "'justify-content'",
|
|
25049
24890
|
"type": {
|
|
25050
24891
|
"text": "string | undefined"
|
|
25051
24892
|
},
|
|
25052
|
-
"description": "Style Expression Property that controls the `
|
|
25053
|
-
"category": "Declarative layout / Style expression properties",
|
|
25054
|
-
"inheritedFrom": {
|
|
25055
|
-
"name": "withPositioningProps",
|
|
25056
|
-
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25057
|
-
},
|
|
25058
|
-
"default": "'0'"
|
|
25059
|
-
},
|
|
25060
|
-
{
|
|
25061
|
-
"kind": "field",
|
|
25062
|
-
"name": "width",
|
|
25063
|
-
"type": {
|
|
25064
|
-
"text": "string | undefined"
|
|
25065
|
-
},
|
|
25066
|
-
"description": "Style Expression Property that controls the `width` property.\nSupports space tokens and all valid CSS `width` values.",
|
|
25067
|
-
"category": "Declarative layout / Style expression properties",
|
|
25068
|
-
"inheritedFrom": {
|
|
25069
|
-
"name": "withSizeXProps",
|
|
25070
|
-
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25071
|
-
}
|
|
25072
|
-
},
|
|
25073
|
-
{
|
|
25074
|
-
"kind": "field",
|
|
25075
|
-
"name": "'min-width'",
|
|
25076
|
-
"type": {
|
|
25077
|
-
"text": "string | undefined"
|
|
25078
|
-
},
|
|
25079
|
-
"description": "Style Expression Property that controls the `min-width` property.\nSupports space tokens and all valid CSS `min-width` values.",
|
|
25080
|
-
"category": "Declarative layout / Style expression properties",
|
|
25081
|
-
"inheritedFrom": {
|
|
25082
|
-
"name": "withSizeXProps",
|
|
25083
|
-
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25084
|
-
}
|
|
25085
|
-
},
|
|
25086
|
-
{
|
|
25087
|
-
"kind": "field",
|
|
25088
|
-
"name": "'max-width'",
|
|
25089
|
-
"type": {
|
|
25090
|
-
"text": "string | undefined"
|
|
25091
|
-
},
|
|
25092
|
-
"description": "Style Expression Property that controls the `max-width` property.\nSupports space tokens and all valid CSS `max-width` values.",
|
|
25093
|
-
"category": "Declarative layout / Style expression properties",
|
|
25094
|
-
"inheritedFrom": {
|
|
25095
|
-
"name": "withSizeXProps",
|
|
25096
|
-
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25097
|
-
}
|
|
25098
|
-
},
|
|
25099
|
-
{
|
|
25100
|
-
"kind": "field",
|
|
25101
|
-
"name": "'inline-size'",
|
|
25102
|
-
"type": {
|
|
25103
|
-
"text": "string | undefined"
|
|
25104
|
-
},
|
|
25105
|
-
"description": "Style Expression Property that controls the `inline-size` property.\nSupports space tokens and all valid CSS `inline-size` values",
|
|
25106
|
-
"category": "Declarative layout / Style expression properties",
|
|
25107
|
-
"inheritedFrom": {
|
|
25108
|
-
"name": "withSizeXProps",
|
|
25109
|
-
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25110
|
-
}
|
|
25111
|
-
},
|
|
25112
|
-
{
|
|
25113
|
-
"kind": "field",
|
|
25114
|
-
"name": "'min-inline-size'",
|
|
25115
|
-
"type": {
|
|
25116
|
-
"text": "string | undefined"
|
|
25117
|
-
},
|
|
25118
|
-
"description": "Style Expression Property that controls the `min-inline-size` property.\nSupports space tokens and all valid CSS `min-inline-size` values.",
|
|
25119
|
-
"category": "Declarative layout / Style expression properties",
|
|
25120
|
-
"inheritedFrom": {
|
|
25121
|
-
"name": "withSizeXProps",
|
|
25122
|
-
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25123
|
-
}
|
|
25124
|
-
},
|
|
25125
|
-
{
|
|
25126
|
-
"kind": "field",
|
|
25127
|
-
"name": "'max-inline-size'",
|
|
25128
|
-
"type": {
|
|
25129
|
-
"text": "string | undefined"
|
|
25130
|
-
},
|
|
25131
|
-
"description": "Style Expression Property that controls the `max-inline-size` property.\nSupports space tokens and all valid CSS `max-inline-size` values.",
|
|
25132
|
-
"category": "Declarative layout / Style expression properties",
|
|
25133
|
-
"inheritedFrom": {
|
|
25134
|
-
"name": "withSizeXProps",
|
|
25135
|
-
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25136
|
-
}
|
|
25137
|
-
},
|
|
25138
|
-
{
|
|
25139
|
-
"kind": "field",
|
|
25140
|
-
"name": "height",
|
|
25141
|
-
"type": {
|
|
25142
|
-
"text": "string | undefined"
|
|
25143
|
-
},
|
|
25144
|
-
"description": "Style Expression Property that controls the `height` property.\nSupports space tokens and all valid CSS `height` values.",
|
|
25145
|
-
"category": "Declarative layout / Style expression properties",
|
|
25146
|
-
"inheritedFrom": {
|
|
25147
|
-
"name": "withSizeYProps",
|
|
25148
|
-
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25149
|
-
}
|
|
25150
|
-
},
|
|
25151
|
-
{
|
|
25152
|
-
"kind": "field",
|
|
25153
|
-
"name": "'min-height'",
|
|
25154
|
-
"type": {
|
|
25155
|
-
"text": "string | undefined"
|
|
25156
|
-
},
|
|
25157
|
-
"description": "Style Expression Property that controls the `min-height` property.\nSupports space tokens and all valid CSS `min-height` values.",
|
|
24893
|
+
"description": "Style Expression Property that controls the `justify-content` property.\nSupports all valid CSS `justify-content` values.",
|
|
25158
24894
|
"category": "Declarative layout / Style expression properties",
|
|
25159
24895
|
"inheritedFrom": {
|
|
25160
|
-
"name": "
|
|
25161
|
-
"module": "src/
|
|
24896
|
+
"name": "GdsDiv",
|
|
24897
|
+
"module": "src/components/div/div.component.ts"
|
|
25162
24898
|
}
|
|
25163
24899
|
},
|
|
25164
24900
|
{
|
|
25165
24901
|
"kind": "field",
|
|
25166
|
-
"name": "'
|
|
24902
|
+
"name": "'justify-items'",
|
|
25167
24903
|
"type": {
|
|
25168
24904
|
"text": "string | undefined"
|
|
25169
24905
|
},
|
|
25170
|
-
"description": "Style Expression Property that controls the `
|
|
24906
|
+
"description": "Style Expression Property that controls the `justify-items` property.\nSupports all valid CSS `justify-items` values.",
|
|
25171
24907
|
"category": "Declarative layout / Style expression properties",
|
|
25172
24908
|
"inheritedFrom": {
|
|
25173
|
-
"name": "
|
|
25174
|
-
"module": "src/
|
|
24909
|
+
"name": "GdsDiv",
|
|
24910
|
+
"module": "src/components/div/div.component.ts"
|
|
25175
24911
|
}
|
|
25176
24912
|
},
|
|
25177
24913
|
{
|
|
25178
24914
|
"kind": "field",
|
|
25179
|
-
"name": "'
|
|
24915
|
+
"name": "'flex-direction'",
|
|
25180
24916
|
"type": {
|
|
25181
24917
|
"text": "string | undefined"
|
|
25182
24918
|
},
|
|
25183
|
-
"description": "Style Expression Property that controls the `
|
|
24919
|
+
"description": "Style Expression Property that controls the `flex-direction` property.\nSupports all valid CSS `flex-direction` values.",
|
|
25184
24920
|
"category": "Declarative layout / Style expression properties",
|
|
25185
24921
|
"inheritedFrom": {
|
|
25186
|
-
"name": "
|
|
25187
|
-
"module": "src/
|
|
24922
|
+
"name": "GdsDiv",
|
|
24923
|
+
"module": "src/components/div/div.component.ts"
|
|
25188
24924
|
}
|
|
25189
24925
|
},
|
|
25190
24926
|
{
|
|
25191
24927
|
"kind": "field",
|
|
25192
|
-
"name": "'
|
|
24928
|
+
"name": "'flex-wrap'",
|
|
25193
24929
|
"type": {
|
|
25194
24930
|
"text": "string | undefined"
|
|
25195
24931
|
},
|
|
25196
|
-
"description": "Style Expression Property that controls the `
|
|
24932
|
+
"description": "Style Expression Property that controls the `flex-wrap` property.\nSupports all valid CSS `flex-wrap` values.",
|
|
25197
24933
|
"category": "Declarative layout / Style expression properties",
|
|
25198
24934
|
"inheritedFrom": {
|
|
25199
|
-
"name": "
|
|
25200
|
-
"module": "src/
|
|
24935
|
+
"name": "GdsDiv",
|
|
24936
|
+
"module": "src/components/div/div.component.ts"
|
|
25201
24937
|
}
|
|
25202
24938
|
},
|
|
25203
24939
|
{
|
|
25204
24940
|
"kind": "field",
|
|
25205
|
-
"name": "'
|
|
24941
|
+
"name": "'place-items'",
|
|
25206
24942
|
"type": {
|
|
25207
24943
|
"text": "string | undefined"
|
|
25208
24944
|
},
|
|
25209
|
-
"description": "Style Expression Property that controls the `
|
|
24945
|
+
"description": "Style Expression Property that controls the `place-items` property.\nSupports all valid CSS `place-items` values.",
|
|
25210
24946
|
"category": "Declarative layout / Style expression properties",
|
|
25211
24947
|
"inheritedFrom": {
|
|
25212
|
-
"name": "
|
|
25213
|
-
"module": "src/
|
|
24948
|
+
"name": "GdsDiv",
|
|
24949
|
+
"module": "src/components/div/div.component.ts"
|
|
25214
24950
|
}
|
|
25215
24951
|
},
|
|
25216
24952
|
{
|
|
25217
24953
|
"kind": "field",
|
|
25218
|
-
"name": "
|
|
24954
|
+
"name": "'place-content'",
|
|
25219
24955
|
"type": {
|
|
25220
24956
|
"text": "string | undefined"
|
|
25221
24957
|
},
|
|
25222
|
-
"description": "Style Expression Property that controls the `
|
|
24958
|
+
"description": "Style Expression Property that controls the `place-content` property.\nSupports all valid CSS `place-content` values.",
|
|
25223
24959
|
"category": "Declarative layout / Style expression properties",
|
|
25224
24960
|
"inheritedFrom": {
|
|
25225
|
-
"name": "
|
|
25226
|
-
"module": "src/
|
|
24961
|
+
"name": "GdsDiv",
|
|
24962
|
+
"module": "src/components/div/div.component.ts"
|
|
25227
24963
|
}
|
|
25228
24964
|
},
|
|
25229
24965
|
{
|
|
25230
24966
|
"kind": "field",
|
|
25231
|
-
"name": "'
|
|
24967
|
+
"name": "'aspect-ratio'",
|
|
25232
24968
|
"type": {
|
|
25233
24969
|
"text": "string | undefined"
|
|
25234
24970
|
},
|
|
25235
|
-
"description": "Style Expression Property that controls the `
|
|
25236
|
-
"category": "Declarative layout / Style expression properties",
|
|
24971
|
+
"description": "Style Expression Property that controls the `aspect-ratio` property.\nSupports all valid CSS `aspect-ratio` values.",
|
|
25237
24972
|
"inheritedFrom": {
|
|
25238
|
-
"name": "
|
|
25239
|
-
"module": "src/
|
|
24973
|
+
"name": "GdsDiv",
|
|
24974
|
+
"module": "src/components/div/div.component.ts"
|
|
25240
24975
|
}
|
|
25241
24976
|
},
|
|
25242
24977
|
{
|
|
25243
24978
|
"kind": "field",
|
|
25244
|
-
"name": "
|
|
24979
|
+
"name": "cursor",
|
|
25245
24980
|
"type": {
|
|
25246
24981
|
"text": "string | undefined"
|
|
25247
24982
|
},
|
|
25248
|
-
"description": "Style Expression Property that controls the `
|
|
25249
|
-
"category": "Declarative layout / Style expression properties",
|
|
24983
|
+
"description": "Style Expression Property that controls the `cursor` property.\nSupports all valid CSS `cursor` values.",
|
|
25250
24984
|
"inheritedFrom": {
|
|
25251
|
-
"name": "
|
|
25252
|
-
"module": "src/
|
|
24985
|
+
"name": "GdsDiv",
|
|
24986
|
+
"module": "src/components/div/div.component.ts"
|
|
25253
24987
|
}
|
|
25254
24988
|
},
|
|
25255
24989
|
{
|
|
25256
24990
|
"kind": "field",
|
|
25257
|
-
"name": "
|
|
24991
|
+
"name": "'pointer-events'",
|
|
25258
24992
|
"type": {
|
|
25259
24993
|
"text": "string | undefined"
|
|
25260
24994
|
},
|
|
25261
|
-
"description": "Style Expression Property that controls the `
|
|
25262
|
-
"category": "Declarative layout / Style expression properties",
|
|
24995
|
+
"description": "Style Expression Property that controls the `pointer-events` property.\nSupports all valid CSS `pointer-events` values.",
|
|
25263
24996
|
"inheritedFrom": {
|
|
25264
|
-
"name": "
|
|
25265
|
-
"module": "src/
|
|
24997
|
+
"name": "GdsDiv",
|
|
24998
|
+
"module": "src/components/div/div.component.ts"
|
|
25266
24999
|
}
|
|
25267
25000
|
},
|
|
25268
25001
|
{
|
|
25269
|
-
"kind": "
|
|
25270
|
-
"name": "
|
|
25271
|
-
"
|
|
25272
|
-
|
|
25002
|
+
"kind": "method",
|
|
25003
|
+
"name": "define",
|
|
25004
|
+
"static": true,
|
|
25005
|
+
"return": {
|
|
25006
|
+
"type": {
|
|
25007
|
+
"text": "void"
|
|
25008
|
+
}
|
|
25273
25009
|
},
|
|
25274
|
-
"description": "
|
|
25275
|
-
"category": "Declarative layout / Style expression properties",
|
|
25010
|
+
"description": "Defines the custom element in the custom element registry.\nThis method needs to be called once before the element can be used.",
|
|
25276
25011
|
"inheritedFrom": {
|
|
25277
|
-
"name": "
|
|
25278
|
-
"module": "src/
|
|
25012
|
+
"name": "GdsElement",
|
|
25013
|
+
"module": "src/gds-element.ts"
|
|
25279
25014
|
}
|
|
25280
25015
|
},
|
|
25281
25016
|
{
|
|
25282
25017
|
"kind": "field",
|
|
25283
|
-
"name": "
|
|
25018
|
+
"name": "isDefined",
|
|
25284
25019
|
"type": {
|
|
25285
|
-
"text": "
|
|
25020
|
+
"text": "boolean"
|
|
25286
25021
|
},
|
|
25287
|
-
"
|
|
25288
|
-
"
|
|
25022
|
+
"static": true,
|
|
25023
|
+
"default": "false",
|
|
25024
|
+
"description": "Whether the element is defined in the custom element registry.",
|
|
25289
25025
|
"inheritedFrom": {
|
|
25290
|
-
"name": "
|
|
25291
|
-
"module": "src/
|
|
25026
|
+
"name": "GdsElement",
|
|
25027
|
+
"module": "src/gds-element.ts"
|
|
25292
25028
|
}
|
|
25293
25029
|
},
|
|
25294
25030
|
{
|
|
25295
25031
|
"kind": "field",
|
|
25296
|
-
"name": "
|
|
25032
|
+
"name": "styleExpressionBaseSelector",
|
|
25297
25033
|
"type": {
|
|
25298
|
-
"text": "string
|
|
25034
|
+
"text": "string"
|
|
25299
25035
|
},
|
|
25300
|
-
"
|
|
25301
|
-
"
|
|
25036
|
+
"static": true,
|
|
25037
|
+
"default": "':host'",
|
|
25038
|
+
"description": "Style expression properties for this element will use this selector by default.",
|
|
25302
25039
|
"inheritedFrom": {
|
|
25303
|
-
"name": "
|
|
25304
|
-
"module": "src/
|
|
25040
|
+
"name": "GdsElement",
|
|
25041
|
+
"module": "src/gds-element.ts"
|
|
25305
25042
|
}
|
|
25306
25043
|
},
|
|
25307
25044
|
{
|
|
25308
25045
|
"kind": "field",
|
|
25309
|
-
"name": "
|
|
25046
|
+
"name": "semanticVersion",
|
|
25310
25047
|
"type": {
|
|
25311
|
-
"text": "string
|
|
25048
|
+
"text": "string"
|
|
25312
25049
|
},
|
|
25313
|
-
"
|
|
25314
|
-
"
|
|
25050
|
+
"readonly": true,
|
|
25051
|
+
"default": "'__GDS_SEM_VER__'",
|
|
25052
|
+
"description": "The semantic version of this element. Can be used for troubleshooting to verify the version being used.",
|
|
25315
25053
|
"inheritedFrom": {
|
|
25316
|
-
"name": "
|
|
25317
|
-
"module": "src/
|
|
25054
|
+
"name": "GdsElement",
|
|
25055
|
+
"module": "src/gds-element.ts"
|
|
25318
25056
|
}
|
|
25319
25057
|
},
|
|
25320
25058
|
{
|
|
25321
25059
|
"kind": "field",
|
|
25322
|
-
"name": "
|
|
25060
|
+
"name": "gdsElementName",
|
|
25323
25061
|
"type": {
|
|
25324
25062
|
"text": "string | undefined"
|
|
25325
25063
|
},
|
|
25326
|
-
"description": "
|
|
25327
|
-
"
|
|
25064
|
+
"description": "The unscoped name of this element. This attribute is set automatically by the element and is inteded to be read-only.",
|
|
25065
|
+
"readonly": true,
|
|
25066
|
+
"attribute": "gds-element",
|
|
25328
25067
|
"inheritedFrom": {
|
|
25329
|
-
"name": "
|
|
25330
|
-
"module": "src/
|
|
25068
|
+
"name": "GdsElement",
|
|
25069
|
+
"module": "src/gds-element.ts"
|
|
25331
25070
|
}
|
|
25332
25071
|
},
|
|
25333
25072
|
{
|
|
25334
|
-
"kind": "
|
|
25335
|
-
"name": "
|
|
25336
|
-
"
|
|
25337
|
-
"
|
|
25073
|
+
"kind": "method",
|
|
25074
|
+
"name": "dispatchStandardEvent",
|
|
25075
|
+
"return": {
|
|
25076
|
+
"type": {
|
|
25077
|
+
"text": "boolean"
|
|
25078
|
+
}
|
|
25338
25079
|
},
|
|
25339
|
-
"
|
|
25340
|
-
|
|
25080
|
+
"parameters": [
|
|
25081
|
+
{
|
|
25082
|
+
"name": "name",
|
|
25083
|
+
"type": {
|
|
25084
|
+
"text": "string"
|
|
25085
|
+
}
|
|
25086
|
+
},
|
|
25087
|
+
{
|
|
25088
|
+
"name": "options",
|
|
25089
|
+
"optional": true,
|
|
25090
|
+
"type": {
|
|
25091
|
+
"text": "EventInit"
|
|
25092
|
+
}
|
|
25093
|
+
}
|
|
25094
|
+
],
|
|
25095
|
+
"description": "Dispatches a standard event with the given name and options.\nA pascal cased version of the event name is also dispatched for compatibility.",
|
|
25341
25096
|
"inheritedFrom": {
|
|
25342
|
-
"name": "
|
|
25343
|
-
"module": "src/
|
|
25097
|
+
"name": "GdsElement",
|
|
25098
|
+
"module": "src/gds-element.ts"
|
|
25344
25099
|
}
|
|
25345
25100
|
},
|
|
25346
25101
|
{
|
|
25347
|
-
"kind": "
|
|
25348
|
-
"name": "
|
|
25349
|
-
"
|
|
25350
|
-
"
|
|
25102
|
+
"kind": "method",
|
|
25103
|
+
"name": "dispatchCustomEvent",
|
|
25104
|
+
"return": {
|
|
25105
|
+
"type": {
|
|
25106
|
+
"text": "boolean"
|
|
25107
|
+
}
|
|
25351
25108
|
},
|
|
25352
|
-
"
|
|
25353
|
-
|
|
25109
|
+
"parameters": [
|
|
25110
|
+
{
|
|
25111
|
+
"name": "name",
|
|
25112
|
+
"type": {
|
|
25113
|
+
"text": "string"
|
|
25114
|
+
}
|
|
25115
|
+
},
|
|
25116
|
+
{
|
|
25117
|
+
"name": "options",
|
|
25118
|
+
"default": "{}",
|
|
25119
|
+
"type": {
|
|
25120
|
+
"text": "CustomEventInit<T>"
|
|
25121
|
+
}
|
|
25122
|
+
}
|
|
25123
|
+
],
|
|
25124
|
+
"description": "Dispatches a custom event with the given name and options.\nA pascal cased version of the event name is also dispatched for compatibility.",
|
|
25354
25125
|
"inheritedFrom": {
|
|
25355
|
-
"name": "
|
|
25356
|
-
"module": "src/
|
|
25126
|
+
"name": "GdsElement",
|
|
25127
|
+
"module": "src/gds-element.ts"
|
|
25357
25128
|
}
|
|
25358
|
-
}
|
|
25129
|
+
}
|
|
25130
|
+
],
|
|
25131
|
+
"superclass": {
|
|
25132
|
+
"name": "GdsFlex",
|
|
25133
|
+
"module": "/src/components/flex/flex.component"
|
|
25134
|
+
},
|
|
25135
|
+
"tagName": "gds-mask",
|
|
25136
|
+
"customElement": true,
|
|
25137
|
+
"attributes": [
|
|
25359
25138
|
{
|
|
25360
|
-
"
|
|
25361
|
-
"name": "'grid-area'",
|
|
25139
|
+
"name": "level",
|
|
25362
25140
|
"type": {
|
|
25363
|
-
"text": "
|
|
25141
|
+
"text": "GdsColorLevel"
|
|
25364
25142
|
},
|
|
25365
|
-
"
|
|
25366
|
-
"
|
|
25143
|
+
"default": "'2'",
|
|
25144
|
+
"description": "The level of the container is used to resolve the color tokens from the corresponding level.\nCheck the [Color System documentation page](./?path=/docs/style-colors--docs) for more information.\n\nDefault for `gds-div` is level 2.",
|
|
25145
|
+
"fieldName": "level",
|
|
25367
25146
|
"inheritedFrom": {
|
|
25368
|
-
"name": "
|
|
25369
|
-
"module": "src/
|
|
25147
|
+
"name": "GdsDiv",
|
|
25148
|
+
"module": "src/components/div/div.component.ts"
|
|
25370
25149
|
}
|
|
25371
25150
|
},
|
|
25372
25151
|
{
|
|
25373
|
-
"
|
|
25374
|
-
"name": "flex",
|
|
25152
|
+
"name": "gds-element",
|
|
25375
25153
|
"type": {
|
|
25376
25154
|
"text": "string | undefined"
|
|
25377
25155
|
},
|
|
25378
|
-
"description": "
|
|
25379
|
-
"
|
|
25156
|
+
"description": "The unscoped name of this element. This attribute is set automatically by the element and is inteded to be read-only.",
|
|
25157
|
+
"readonly": true,
|
|
25158
|
+
"fieldName": "gdsElementName",
|
|
25380
25159
|
"inheritedFrom": {
|
|
25381
|
-
"name": "
|
|
25382
|
-
"module": "src/
|
|
25160
|
+
"name": "GdsElement",
|
|
25161
|
+
"module": "src/gds-element.ts"
|
|
25383
25162
|
}
|
|
25384
|
-
}
|
|
25163
|
+
}
|
|
25164
|
+
],
|
|
25165
|
+
"events": [
|
|
25385
25166
|
{
|
|
25386
|
-
"
|
|
25387
|
-
"name": "order",
|
|
25167
|
+
"name": "gds-element-disconnected",
|
|
25388
25168
|
"type": {
|
|
25389
|
-
"text": "
|
|
25169
|
+
"text": "CustomEvent"
|
|
25390
25170
|
},
|
|
25391
|
-
"description": "
|
|
25392
|
-
"category": "Declarative layout / Style expression properties",
|
|
25171
|
+
"description": "When the element is disconnected from the DOM",
|
|
25393
25172
|
"inheritedFrom": {
|
|
25394
|
-
"name": "
|
|
25395
|
-
"module": "src/
|
|
25173
|
+
"name": "GdsElement",
|
|
25174
|
+
"module": "src/gds-element.ts"
|
|
25396
25175
|
}
|
|
25397
25176
|
},
|
|
25398
25177
|
{
|
|
25399
|
-
"
|
|
25400
|
-
"name": "transform",
|
|
25178
|
+
"name": "name",
|
|
25401
25179
|
"type": {
|
|
25402
|
-
"text": "
|
|
25180
|
+
"text": "Event"
|
|
25403
25181
|
},
|
|
25404
|
-
"description": "Style Expression Property that controls the `transform` property.\nSupports all valid CSS `transform` values.",
|
|
25405
|
-
"category": "Declarative layout / Style expression properties",
|
|
25406
25182
|
"inheritedFrom": {
|
|
25407
|
-
"name": "
|
|
25408
|
-
"module": "src/
|
|
25183
|
+
"name": "GdsElement",
|
|
25184
|
+
"module": "src/gds-element.ts"
|
|
25409
25185
|
}
|
|
25410
25186
|
},
|
|
25411
25187
|
{
|
|
25412
|
-
"kind": "field",
|
|
25413
|
-
"name": "level",
|
|
25414
25188
|
"type": {
|
|
25415
|
-
"text": "
|
|
25189
|
+
"text": "Event"
|
|
25416
25190
|
},
|
|
25417
|
-
"default": "'2'",
|
|
25418
|
-
"description": "The level of the container is used to resolve the color tokens from the corresponding level.\nCheck the [Color System documentation page](./?path=/docs/style-colors--docs) for more information.\n\nDefault for `gds-div` is level 2.",
|
|
25419
|
-
"attribute": "level",
|
|
25420
25191
|
"inheritedFrom": {
|
|
25421
|
-
"name": "
|
|
25422
|
-
"module": "src/
|
|
25192
|
+
"name": "GdsElement",
|
|
25193
|
+
"module": "src/gds-element.ts"
|
|
25423
25194
|
}
|
|
25424
|
-
}
|
|
25195
|
+
}
|
|
25196
|
+
]
|
|
25197
|
+
}
|
|
25198
|
+
],
|
|
25199
|
+
"exports": [
|
|
25200
|
+
{
|
|
25201
|
+
"kind": "js",
|
|
25202
|
+
"name": "GdsMask",
|
|
25203
|
+
"declaration": {
|
|
25204
|
+
"name": "GdsMask",
|
|
25205
|
+
"module": "src/components/mask/mask.component.ts"
|
|
25206
|
+
}
|
|
25207
|
+
}
|
|
25208
|
+
]
|
|
25209
|
+
},
|
|
25210
|
+
{
|
|
25211
|
+
"kind": "javascript-module",
|
|
25212
|
+
"path": "src/components/mask/mask.stories.ts",
|
|
25213
|
+
"declarations": [
|
|
25214
|
+
{
|
|
25215
|
+
"kind": "variable",
|
|
25216
|
+
"name": "meta",
|
|
25217
|
+
"type": {
|
|
25218
|
+
"text": "Meta"
|
|
25219
|
+
},
|
|
25220
|
+
"default": "{ title: 'Components/Mask', component: 'gds-mask', tags: ['autodocs'], argTypes: { ...argTablePropsFor('gds-mask'), }, }",
|
|
25221
|
+
"description": "The Mask component creates a gradient overlay effect that can be used to improve content visibility\nor create visual hierarchy. It's particularly useful when placing text over images or creating\nfade effects.\n\n\n### Basic Usage\n\nThe mask component is typically used in combination with images or videos to create gradient overlays:\n\n```html\n<gds-card position=\"relative\" padding=\"0\" overflow=\"hidden\">\n <gds-img src=\"path/to/image.jpg\"></gds-img>\n <gds-mask\n background=\"neutral-01/0.9\"\n mask-image=\"top\"\n position=\"absolute\"\n inset=\"50% 0 0 0\"\n level=\"3\"\n >\n <!-- Content within the mask -->\n </gds-mask>\n</gds-card>\n```\n\n### Common Use Cases\n\n1. Image Overlays: <br>\n Create readable text over images by adding a gradient mask\n\n2. Content Fading: <br>\n Add fade effects to content edges\n\n3. Visual Hierarchy: <br>\n Draw attention to specific areas using gradient masks\n\n### Accessibility\n\nWhen using masks over content, ensure sufficient contrast for text readability.\nConsider using the dark theme for content within masks over light images.\n\n```html\n<gds-mask>\n <gds-theme color-scheme=\"dark\">\n <!-- Content -->\n </gds-theme>\n</gds-mask>\n```"
|
|
25222
|
+
},
|
|
25223
|
+
{
|
|
25224
|
+
"kind": "variable",
|
|
25225
|
+
"name": "Mask",
|
|
25226
|
+
"type": {
|
|
25227
|
+
"text": "Story"
|
|
25228
|
+
},
|
|
25229
|
+
"default": "{ ...DefaultParams, render: (args) => html` <gds-card position=\"relative\" padding=\"0\" overflow=\"hidden\"> <gds-img src=\"https://api.seb.io/assets/woods-cabin.jpeg\"></gds-img> <gds-mask background=\"neutral-01/0.9\" mask-image=\"top\" position=\"absolute\" inset=\"0; m{50% 0 0 0}\" level=\"3\" color=\"03\" flex-direction=\"column\" justify-content=\"flex-end\" align-items=\"flex-start\" gap=\"xl\" padding=\"xl; s{2xl} m{6xl}\" > <gds-theme color-scheme=\"dark\" design-version=\"2023\"> <gds-flex flex-direction=\"column\" gap=\"s\" width=\"100%\"> <gds-text font=\"display-s; m{display-xl}\" font-weight=\"light\"> Sustainability </gds-text> <gds-text font=\"body-xs; body-s\"> Actively supporting the net zero transition. </gds-text> </gds-flex> <gds-button>Our impact</gds-button> </gds-theme> </gds-mask> </gds-card> `, }"
|
|
25230
|
+
}
|
|
25231
|
+
],
|
|
25232
|
+
"exports": [
|
|
25233
|
+
{
|
|
25234
|
+
"kind": "js",
|
|
25235
|
+
"name": "default",
|
|
25236
|
+
"declaration": {
|
|
25237
|
+
"name": "meta",
|
|
25238
|
+
"module": "src/components/mask/mask.stories.ts"
|
|
25239
|
+
}
|
|
25240
|
+
},
|
|
25241
|
+
{
|
|
25242
|
+
"kind": "js",
|
|
25243
|
+
"name": "Mask",
|
|
25244
|
+
"declaration": {
|
|
25245
|
+
"name": "Mask",
|
|
25246
|
+
"module": "src/components/mask/mask.stories.ts"
|
|
25247
|
+
}
|
|
25248
|
+
}
|
|
25249
|
+
]
|
|
25250
|
+
},
|
|
25251
|
+
{
|
|
25252
|
+
"kind": "javascript-module",
|
|
25253
|
+
"path": "src/components/mask/mask.styles.ts",
|
|
25254
|
+
"declarations": [
|
|
25255
|
+
{
|
|
25256
|
+
"kind": "variable",
|
|
25257
|
+
"name": "style",
|
|
25258
|
+
"default": "css` :host { contain: strict; } [part='mask'] { position: absolute; inset: 0; z-index: -1; pointer-events: none; mask-composite: intersect; } `"
|
|
25259
|
+
}
|
|
25260
|
+
],
|
|
25261
|
+
"exports": [
|
|
25262
|
+
{
|
|
25263
|
+
"kind": "js",
|
|
25264
|
+
"name": "default",
|
|
25265
|
+
"declaration": {
|
|
25266
|
+
"name": "style",
|
|
25267
|
+
"module": "src/components/mask/mask.styles.ts"
|
|
25268
|
+
}
|
|
25269
|
+
}
|
|
25270
|
+
]
|
|
25271
|
+
},
|
|
25272
|
+
{
|
|
25273
|
+
"kind": "javascript-module",
|
|
25274
|
+
"path": "src/components/mask/mask.ts",
|
|
25275
|
+
"declarations": [],
|
|
25276
|
+
"exports": [
|
|
25277
|
+
{
|
|
25278
|
+
"kind": "js",
|
|
25279
|
+
"name": "GdsMask",
|
|
25280
|
+
"declaration": {
|
|
25281
|
+
"name": "GdsMask",
|
|
25282
|
+
"module": "src/components/mask/mask.ts"
|
|
25283
|
+
}
|
|
25284
|
+
}
|
|
25285
|
+
]
|
|
25286
|
+
},
|
|
25287
|
+
{
|
|
25288
|
+
"kind": "javascript-module",
|
|
25289
|
+
"path": "src/components/menu-button/index.ts",
|
|
25290
|
+
"declarations": [],
|
|
25291
|
+
"exports": [
|
|
25292
|
+
{
|
|
25293
|
+
"kind": "js",
|
|
25294
|
+
"name": "*",
|
|
25295
|
+
"declaration": {
|
|
25296
|
+
"name": "*",
|
|
25297
|
+
"module": "src/components/menu-button/menu-button"
|
|
25298
|
+
}
|
|
25299
|
+
}
|
|
25300
|
+
]
|
|
25301
|
+
},
|
|
25302
|
+
{
|
|
25303
|
+
"kind": "javascript-module",
|
|
25304
|
+
"path": "src/components/menu-button/menu-button.component.ts",
|
|
25305
|
+
"declarations": [
|
|
25306
|
+
{
|
|
25307
|
+
"kind": "class",
|
|
25308
|
+
"description": "",
|
|
25309
|
+
"name": "GdsMenuButton",
|
|
25310
|
+
"cssParts": [
|
|
25425
25311
|
{
|
|
25426
|
-
"
|
|
25427
|
-
"name": "
|
|
25428
|
-
|
|
25429
|
-
|
|
25430
|
-
|
|
25431
|
-
"description": "Style Expression Property that controls the `color` property.\nOnly accepts color tokens and an optional transparency value, in the format tokenName/transparency.\n\n```html\n<gds-div color=\"neutral-01/0.2\"></gds-div>\n```",
|
|
25432
|
-
"category": "Declarative layout / Style expression properties",
|
|
25433
|
-
"inheritedFrom": {
|
|
25434
|
-
"name": "GdsDiv",
|
|
25435
|
-
"module": "src/components/div/div.component.ts"
|
|
25436
|
-
}
|
|
25437
|
-
},
|
|
25312
|
+
"description": "The main slot of the button, between the lead and trail slots.",
|
|
25313
|
+
"name": "main-slot"
|
|
25314
|
+
}
|
|
25315
|
+
],
|
|
25316
|
+
"slots": [
|
|
25438
25317
|
{
|
|
25439
|
-
"
|
|
25440
|
-
"name": "
|
|
25441
|
-
"type": {
|
|
25442
|
-
"text": "string | undefined"
|
|
25443
|
-
},
|
|
25444
|
-
"description": "Style Expression Property that controls the `border` property.\nAccepts a string of the same format as the CSS border property.\n\n```html\n<gds-div border=\"4xs solid subtle-01/0.2\"></gds-div>\n```\n\nWhere the size value accepts space tokens and the color value accepts color tokens and an optional transparency value.",
|
|
25445
|
-
"category": "Declarative layout / Style expression properties",
|
|
25446
|
-
"inheritedFrom": {
|
|
25447
|
-
"name": "GdsDiv",
|
|
25448
|
-
"module": "src/components/div/div.component.ts"
|
|
25449
|
-
}
|
|
25318
|
+
"description": "Content to be displayed as the button label.",
|
|
25319
|
+
"name": ""
|
|
25450
25320
|
},
|
|
25451
25321
|
{
|
|
25452
|
-
"
|
|
25453
|
-
"name": "
|
|
25454
|
-
"type": {
|
|
25455
|
-
"text": "string | undefined"
|
|
25456
|
-
},
|
|
25457
|
-
"description": "Style Expression Property that controls the `border-color` property.\nOnly accepts color tokens and an optional transparency value, in the format tokenName/transparency.\n\n```html\n<gds-div border-color=\"subtle-01/0.2\"></gds-div>\n```",
|
|
25458
|
-
"category": "Declarative layout / Style expression properties",
|
|
25459
|
-
"inheritedFrom": {
|
|
25460
|
-
"name": "GdsDiv",
|
|
25461
|
-
"module": "src/components/div/div.component.ts"
|
|
25462
|
-
}
|
|
25322
|
+
"description": "An optional slot that allows a `gds-icon` element to be placed before the label.",
|
|
25323
|
+
"name": "lead"
|
|
25463
25324
|
},
|
|
25464
25325
|
{
|
|
25465
|
-
"
|
|
25466
|
-
"name": "
|
|
25467
|
-
|
|
25468
|
-
|
|
25469
|
-
|
|
25470
|
-
"description": "Style Expression Property that controls the `border-width` property.\nOnly accepts space tokens.",
|
|
25471
|
-
"category": "Declarative layout / Style expression properties",
|
|
25472
|
-
"inheritedFrom": {
|
|
25473
|
-
"name": "GdsDiv",
|
|
25474
|
-
"module": "src/components/div/div.component.ts"
|
|
25475
|
-
}
|
|
25476
|
-
},
|
|
25326
|
+
"description": "An optional slot that allows a `gds-icon` element to be placed after the label.",
|
|
25327
|
+
"name": "trail"
|
|
25328
|
+
}
|
|
25329
|
+
],
|
|
25330
|
+
"members": [
|
|
25477
25331
|
{
|
|
25478
25332
|
"kind": "field",
|
|
25479
|
-
"name": "
|
|
25333
|
+
"name": "shadowRootOptions",
|
|
25480
25334
|
"type": {
|
|
25481
|
-
"text": "
|
|
25335
|
+
"text": "ShadowRootInit"
|
|
25482
25336
|
},
|
|
25483
|
-
"
|
|
25484
|
-
"
|
|
25485
|
-
"inheritedFrom": {
|
|
25486
|
-
"name": "GdsDiv",
|
|
25487
|
-
"module": "src/components/div/div.component.ts"
|
|
25488
|
-
}
|
|
25337
|
+
"static": true,
|
|
25338
|
+
"default": "{ mode: 'open', delegatesFocus: true, }"
|
|
25489
25339
|
},
|
|
25490
25340
|
{
|
|
25491
25341
|
"kind": "field",
|
|
25492
|
-
"name": "
|
|
25342
|
+
"name": "disabled",
|
|
25493
25343
|
"type": {
|
|
25494
|
-
"text": "
|
|
25344
|
+
"text": "boolean"
|
|
25495
25345
|
},
|
|
25496
|
-
"
|
|
25497
|
-
"
|
|
25498
|
-
"
|
|
25499
|
-
|
|
25500
|
-
"module": "src/components/div/div.component.ts"
|
|
25501
|
-
}
|
|
25346
|
+
"default": "false",
|
|
25347
|
+
"description": "Whether the menu-button is disabled.",
|
|
25348
|
+
"attribute": "disabled",
|
|
25349
|
+
"reflects": true
|
|
25502
25350
|
},
|
|
25503
25351
|
{
|
|
25504
25352
|
"kind": "field",
|
|
25505
|
-
"name": "
|
|
25353
|
+
"name": "label",
|
|
25506
25354
|
"type": {
|
|
25507
|
-
"text": "string
|
|
25355
|
+
"text": "string"
|
|
25508
25356
|
},
|
|
25509
|
-
"
|
|
25510
|
-
"
|
|
25511
|
-
"
|
|
25512
|
-
"name": "GdsDiv",
|
|
25513
|
-
"module": "src/components/div/div.component.ts"
|
|
25514
|
-
}
|
|
25357
|
+
"default": "''",
|
|
25358
|
+
"description": "The label of the menu-button. Use this to add an accessible label to the button when no text is provided in the default slot.",
|
|
25359
|
+
"attribute": "label"
|
|
25515
25360
|
},
|
|
25516
25361
|
{
|
|
25517
25362
|
"kind": "field",
|
|
25518
|
-
"name": "
|
|
25363
|
+
"name": "href",
|
|
25519
25364
|
"type": {
|
|
25520
|
-
"text": "string
|
|
25365
|
+
"text": "string"
|
|
25521
25366
|
},
|
|
25522
|
-
"
|
|
25523
|
-
"
|
|
25524
|
-
"
|
|
25525
|
-
"name": "GdsDiv",
|
|
25526
|
-
"module": "src/components/div/div.component.ts"
|
|
25527
|
-
}
|
|
25367
|
+
"default": "''",
|
|
25368
|
+
"description": "When set, the underlying button will be rendered as an anchor element.",
|
|
25369
|
+
"attribute": "href"
|
|
25528
25370
|
},
|
|
25529
25371
|
{
|
|
25530
25372
|
"kind": "field",
|
|
25531
|
-
"name": "
|
|
25373
|
+
"name": "target",
|
|
25532
25374
|
"type": {
|
|
25533
|
-
"text": "
|
|
25375
|
+
"text": "'_self' | '_blank' | '_parent' | '_top' | undefined"
|
|
25534
25376
|
},
|
|
25535
|
-
"description": "
|
|
25536
|
-
"
|
|
25537
|
-
"inheritedFrom": {
|
|
25538
|
-
"name": "GdsDiv",
|
|
25539
|
-
"module": "src/components/div/div.component.ts"
|
|
25540
|
-
}
|
|
25377
|
+
"description": "Where to display the linked URL. Only used when href is present.",
|
|
25378
|
+
"attribute": "target"
|
|
25541
25379
|
},
|
|
25542
25380
|
{
|
|
25543
25381
|
"kind": "field",
|
|
25544
|
-
"name": "
|
|
25382
|
+
"name": "rel",
|
|
25545
25383
|
"type": {
|
|
25546
25384
|
"text": "string | undefined"
|
|
25547
25385
|
},
|
|
25548
|
-
"description": "
|
|
25549
|
-
"
|
|
25550
|
-
"inheritedFrom": {
|
|
25551
|
-
"name": "GdsDiv",
|
|
25552
|
-
"module": "src/components/div/div.component.ts"
|
|
25553
|
-
}
|
|
25386
|
+
"description": "The relationship of the linked URL as space-separated link types. Only used when href is present. Defaults to \"noreferrer noopener\" for security reasons when target is set.",
|
|
25387
|
+
"attribute": "rel"
|
|
25554
25388
|
},
|
|
25555
25389
|
{
|
|
25556
25390
|
"kind": "field",
|
|
25557
|
-
"name": "
|
|
25391
|
+
"name": "download",
|
|
25558
25392
|
"type": {
|
|
25559
25393
|
"text": "string | undefined"
|
|
25560
25394
|
},
|
|
25561
|
-
"description": "
|
|
25562
|
-
"
|
|
25563
|
-
"inheritedFrom": {
|
|
25564
|
-
"name": "GdsDiv",
|
|
25565
|
-
"module": "src/components/div/div.component.ts"
|
|
25566
|
-
}
|
|
25395
|
+
"description": "Causes the browser to treat the linked URL as a download. Can be used with or without a filename value. Only used when href is present.",
|
|
25396
|
+
"attribute": "download"
|
|
25567
25397
|
},
|
|
25568
25398
|
{
|
|
25569
25399
|
"kind": "field",
|
|
25570
|
-
"name": "
|
|
25400
|
+
"name": "compact",
|
|
25571
25401
|
"type": {
|
|
25572
|
-
"text": "
|
|
25402
|
+
"text": "boolean"
|
|
25573
25403
|
},
|
|
25574
|
-
"
|
|
25575
|
-
"
|
|
25576
|
-
|
|
25577
|
-
|
|
25578
|
-
}
|
|
25404
|
+
"default": "false",
|
|
25405
|
+
"description": "The label of the menu-button. Use this to add an accessible label to the button when no text is provided in the default slot.",
|
|
25406
|
+
"attribute": "compact",
|
|
25407
|
+
"reflects": true
|
|
25579
25408
|
},
|
|
25580
25409
|
{
|
|
25581
25410
|
"kind": "field",
|
|
25582
|
-
"name": "
|
|
25411
|
+
"name": "selected",
|
|
25583
25412
|
"type": {
|
|
25584
|
-
"text": "
|
|
25413
|
+
"text": "boolean"
|
|
25585
25414
|
},
|
|
25586
|
-
"
|
|
25587
|
-
"
|
|
25588
|
-
"
|
|
25589
|
-
|
|
25590
|
-
"module": "src/components/div/div.component.ts"
|
|
25591
|
-
}
|
|
25415
|
+
"default": "false",
|
|
25416
|
+
"description": "Whether the menu button is selected",
|
|
25417
|
+
"attribute": "selected",
|
|
25418
|
+
"reflects": true
|
|
25592
25419
|
},
|
|
25593
25420
|
{
|
|
25594
25421
|
"kind": "field",
|
|
25595
|
-
"name": "
|
|
25422
|
+
"name": "width",
|
|
25596
25423
|
"type": {
|
|
25597
25424
|
"text": "string | undefined"
|
|
25598
25425
|
},
|
|
25599
|
-
"description": "Style Expression Property that controls the `
|
|
25426
|
+
"description": "Style Expression Property that controls the `width` property.\nSupports space tokens and all valid CSS `width` values.",
|
|
25600
25427
|
"category": "Declarative layout / Style expression properties",
|
|
25601
25428
|
"inheritedFrom": {
|
|
25602
|
-
"name": "
|
|
25603
|
-
"module": "src/
|
|
25429
|
+
"name": "withSizeXProps",
|
|
25430
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25604
25431
|
}
|
|
25605
25432
|
},
|
|
25606
25433
|
{
|
|
25607
25434
|
"kind": "field",
|
|
25608
|
-
"name": "'
|
|
25435
|
+
"name": "'min-width'",
|
|
25609
25436
|
"type": {
|
|
25610
25437
|
"text": "string | undefined"
|
|
25611
25438
|
},
|
|
25612
|
-
"description": "Style Expression Property that controls the `
|
|
25439
|
+
"description": "Style Expression Property that controls the `min-width` property.\nSupports space tokens and all valid CSS `min-width` values.",
|
|
25613
25440
|
"category": "Declarative layout / Style expression properties",
|
|
25614
25441
|
"inheritedFrom": {
|
|
25615
|
-
"name": "
|
|
25616
|
-
"module": "src/
|
|
25617
|
-
}
|
|
25618
|
-
},
|
|
25619
|
-
{
|
|
25620
|
-
"kind": "field",
|
|
25621
|
-
"name": "'overflow-wrap'",
|
|
25622
|
-
"type": {
|
|
25623
|
-
"text": "string | undefined"
|
|
25624
|
-
},
|
|
25625
|
-
"description": "Style Expression Property that controls the `overflow-wrap` property.\nSupports all valid CSS `overflow-wrap` values.",
|
|
25626
|
-
"inheritedFrom": {
|
|
25627
|
-
"name": "GdsDiv",
|
|
25628
|
-
"module": "src/components/div/div.component.ts"
|
|
25629
|
-
}
|
|
25630
|
-
},
|
|
25631
|
-
{
|
|
25632
|
-
"kind": "field",
|
|
25633
|
-
"name": "'white-space'",
|
|
25634
|
-
"type": {
|
|
25635
|
-
"text": "string | undefined"
|
|
25636
|
-
},
|
|
25637
|
-
"description": "Style Expression Property that controls the `white-space` property.\nSupports all valid CSS `white-space` values.",
|
|
25638
|
-
"inheritedFrom": {
|
|
25639
|
-
"name": "GdsDiv",
|
|
25640
|
-
"module": "src/components/div/div.component.ts"
|
|
25442
|
+
"name": "withSizeXProps",
|
|
25443
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25641
25444
|
}
|
|
25642
25445
|
},
|
|
25643
25446
|
{
|
|
25644
25447
|
"kind": "field",
|
|
25645
|
-
"name": "
|
|
25448
|
+
"name": "'max-width'",
|
|
25646
25449
|
"type": {
|
|
25647
25450
|
"text": "string | undefined"
|
|
25648
25451
|
},
|
|
25649
|
-
"description": "Style Expression Property that controls the `
|
|
25452
|
+
"description": "Style Expression Property that controls the `max-width` property.\nSupports space tokens and all valid CSS `max-width` values.",
|
|
25650
25453
|
"category": "Declarative layout / Style expression properties",
|
|
25651
25454
|
"inheritedFrom": {
|
|
25652
|
-
"name": "
|
|
25653
|
-
"module": "src/
|
|
25455
|
+
"name": "withSizeXProps",
|
|
25456
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25654
25457
|
}
|
|
25655
25458
|
},
|
|
25656
25459
|
{
|
|
25657
25460
|
"kind": "field",
|
|
25658
|
-
"name": "'
|
|
25461
|
+
"name": "'inline-size'",
|
|
25659
25462
|
"type": {
|
|
25660
25463
|
"text": "string | undefined"
|
|
25661
25464
|
},
|
|
25662
|
-
"description": "Style Expression Property that controls the `
|
|
25465
|
+
"description": "Style Expression Property that controls the `inline-size` property.\nSupports space tokens and all valid CSS `inline-size` values",
|
|
25663
25466
|
"category": "Declarative layout / Style expression properties",
|
|
25664
25467
|
"inheritedFrom": {
|
|
25665
|
-
"name": "
|
|
25666
|
-
"module": "src/
|
|
25468
|
+
"name": "withSizeXProps",
|
|
25469
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25667
25470
|
}
|
|
25668
25471
|
},
|
|
25669
25472
|
{
|
|
25670
25473
|
"kind": "field",
|
|
25671
|
-
"name": "'
|
|
25474
|
+
"name": "'min-inline-size'",
|
|
25672
25475
|
"type": {
|
|
25673
25476
|
"text": "string | undefined"
|
|
25674
25477
|
},
|
|
25675
|
-
"description": "Style Expression Property that controls the `
|
|
25478
|
+
"description": "Style Expression Property that controls the `min-inline-size` property.\nSupports space tokens and all valid CSS `min-inline-size` values.",
|
|
25676
25479
|
"category": "Declarative layout / Style expression properties",
|
|
25677
25480
|
"inheritedFrom": {
|
|
25678
|
-
"name": "
|
|
25679
|
-
"module": "src/
|
|
25481
|
+
"name": "withSizeXProps",
|
|
25482
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25680
25483
|
}
|
|
25681
25484
|
},
|
|
25682
25485
|
{
|
|
25683
25486
|
"kind": "field",
|
|
25684
|
-
"name": "'
|
|
25487
|
+
"name": "'max-inline-size'",
|
|
25685
25488
|
"type": {
|
|
25686
25489
|
"text": "string | undefined"
|
|
25687
25490
|
},
|
|
25688
|
-
"description": "Style Expression Property that controls the `
|
|
25491
|
+
"description": "Style Expression Property that controls the `max-inline-size` property.\nSupports space tokens and all valid CSS `max-inline-size` values.",
|
|
25689
25492
|
"category": "Declarative layout / Style expression properties",
|
|
25690
25493
|
"inheritedFrom": {
|
|
25691
|
-
"name": "
|
|
25692
|
-
"module": "src/
|
|
25494
|
+
"name": "withSizeXProps",
|
|
25495
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25693
25496
|
}
|
|
25694
25497
|
},
|
|
25695
25498
|
{
|
|
25696
25499
|
"kind": "field",
|
|
25697
|
-
"name": "'
|
|
25500
|
+
"name": "'align-self'",
|
|
25698
25501
|
"type": {
|
|
25699
25502
|
"text": "string | undefined"
|
|
25700
25503
|
},
|
|
25701
|
-
"description": "Style Expression Property that controls the `
|
|
25504
|
+
"description": "Style Expression Property that controls the `align-self` property.\nSupports all valid CSS `align-self` values.",
|
|
25702
25505
|
"category": "Declarative layout / Style expression properties",
|
|
25703
25506
|
"inheritedFrom": {
|
|
25704
|
-
"name": "
|
|
25705
|
-
"module": "src/
|
|
25507
|
+
"name": "withLayoutChildProps",
|
|
25508
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25706
25509
|
}
|
|
25707
25510
|
},
|
|
25708
25511
|
{
|
|
25709
25512
|
"kind": "field",
|
|
25710
|
-
"name": "'
|
|
25513
|
+
"name": "'justify-self'",
|
|
25711
25514
|
"type": {
|
|
25712
25515
|
"text": "string | undefined"
|
|
25713
25516
|
},
|
|
25714
|
-
"description": "Style Expression Property that controls the `
|
|
25517
|
+
"description": "Style Expression Property that controls the `justify-self` property.\nSupports all valid CSS `justify-self` values.",
|
|
25715
25518
|
"category": "Declarative layout / Style expression properties",
|
|
25716
25519
|
"inheritedFrom": {
|
|
25717
|
-
"name": "
|
|
25718
|
-
"module": "src/
|
|
25520
|
+
"name": "withLayoutChildProps",
|
|
25521
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25719
25522
|
}
|
|
25720
25523
|
},
|
|
25721
25524
|
{
|
|
25722
25525
|
"kind": "field",
|
|
25723
|
-
"name": "'
|
|
25526
|
+
"name": "'place-self'",
|
|
25724
25527
|
"type": {
|
|
25725
25528
|
"text": "string | undefined"
|
|
25726
25529
|
},
|
|
25727
|
-
"description": "Style Expression Property that controls the `
|
|
25530
|
+
"description": "Style Expression Property that controls the `place-self` property.\nSupports all valid CSS `place-self` values.",
|
|
25728
25531
|
"category": "Declarative layout / Style expression properties",
|
|
25729
25532
|
"inheritedFrom": {
|
|
25730
|
-
"name": "
|
|
25731
|
-
"module": "src/
|
|
25533
|
+
"name": "withLayoutChildProps",
|
|
25534
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25732
25535
|
}
|
|
25733
25536
|
},
|
|
25734
25537
|
{
|
|
25735
25538
|
"kind": "field",
|
|
25736
|
-
"name": "'
|
|
25539
|
+
"name": "'grid-column'",
|
|
25737
25540
|
"type": {
|
|
25738
25541
|
"text": "string | undefined"
|
|
25739
25542
|
},
|
|
25740
|
-
"description": "Style Expression Property that controls the `
|
|
25543
|
+
"description": "Style Expression Property that controls the `grid-column` property.\nSupports all valid CSS grid-column values.\nDocumentation: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column",
|
|
25741
25544
|
"category": "Declarative layout / Style expression properties",
|
|
25742
25545
|
"inheritedFrom": {
|
|
25743
|
-
"name": "
|
|
25744
|
-
"module": "src/
|
|
25546
|
+
"name": "withLayoutChildProps",
|
|
25547
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25745
25548
|
}
|
|
25746
25549
|
},
|
|
25747
25550
|
{
|
|
25748
25551
|
"kind": "field",
|
|
25749
|
-
"name": "'
|
|
25552
|
+
"name": "'grid-row'",
|
|
25750
25553
|
"type": {
|
|
25751
25554
|
"text": "string | undefined"
|
|
25752
25555
|
},
|
|
25753
|
-
"description": "Style Expression Property that controls the `
|
|
25556
|
+
"description": "Style Expression Property that controls the `grid-row` property.\nSupports all valid CSS `grid-row` values.",
|
|
25754
25557
|
"category": "Declarative layout / Style expression properties",
|
|
25755
25558
|
"inheritedFrom": {
|
|
25756
|
-
"name": "
|
|
25757
|
-
"module": "src/
|
|
25559
|
+
"name": "withLayoutChildProps",
|
|
25560
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25758
25561
|
}
|
|
25759
25562
|
},
|
|
25760
25563
|
{
|
|
25761
25564
|
"kind": "field",
|
|
25762
|
-
"name": "'
|
|
25565
|
+
"name": "'grid-area'",
|
|
25763
25566
|
"type": {
|
|
25764
25567
|
"text": "string | undefined"
|
|
25765
25568
|
},
|
|
25766
|
-
"description": "Style Expression Property that controls the `
|
|
25569
|
+
"description": "Style Expression Property that controls the `grid-area` property.\nSupports all valid CSS `grid-area` values.",
|
|
25570
|
+
"category": "Declarative layout / Style expression properties",
|
|
25767
25571
|
"inheritedFrom": {
|
|
25768
|
-
"name": "
|
|
25769
|
-
"module": "src/
|
|
25572
|
+
"name": "withLayoutChildProps",
|
|
25573
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25770
25574
|
}
|
|
25771
25575
|
},
|
|
25772
25576
|
{
|
|
25773
25577
|
"kind": "field",
|
|
25774
|
-
"name": "
|
|
25578
|
+
"name": "flex",
|
|
25775
25579
|
"type": {
|
|
25776
25580
|
"text": "string | undefined"
|
|
25777
25581
|
},
|
|
25778
|
-
"description": "Style Expression Property that controls the `
|
|
25582
|
+
"description": "Style Expression Property that controls the `flex` property.\nSupports all valid CSS `flex` values.",
|
|
25583
|
+
"category": "Declarative layout / Style expression properties",
|
|
25779
25584
|
"inheritedFrom": {
|
|
25780
|
-
"name": "
|
|
25781
|
-
"module": "src/
|
|
25585
|
+
"name": "withLayoutChildProps",
|
|
25586
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25782
25587
|
}
|
|
25783
25588
|
},
|
|
25784
25589
|
{
|
|
25785
25590
|
"kind": "field",
|
|
25786
|
-
"name": "
|
|
25591
|
+
"name": "order",
|
|
25787
25592
|
"type": {
|
|
25788
25593
|
"text": "string | undefined"
|
|
25789
25594
|
},
|
|
25790
|
-
"description": "Style Expression Property that controls the `
|
|
25595
|
+
"description": "Style Expression Property that controls the `order` property.\nSupports all valid CSS `order` values.",
|
|
25596
|
+
"category": "Declarative layout / Style expression properties",
|
|
25791
25597
|
"inheritedFrom": {
|
|
25792
|
-
"name": "
|
|
25793
|
-
"module": "src/
|
|
25598
|
+
"name": "withLayoutChildProps",
|
|
25599
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
25794
25600
|
}
|
|
25795
25601
|
},
|
|
25796
25602
|
{
|
|
@@ -25923,54 +25729,33 @@
|
|
|
25923
25729
|
}
|
|
25924
25730
|
}
|
|
25925
25731
|
],
|
|
25926
|
-
"
|
|
25927
|
-
"name": "GdsFlex",
|
|
25928
|
-
"module": "/src/components/flex/flex.component"
|
|
25929
|
-
},
|
|
25930
|
-
"tagName": "gds-mask",
|
|
25931
|
-
"customElement": true,
|
|
25932
|
-
"attributes": [
|
|
25732
|
+
"events": [
|
|
25933
25733
|
{
|
|
25934
|
-
"
|
|
25935
|
-
"
|
|
25936
|
-
"text": "GdsColorLevel"
|
|
25937
|
-
},
|
|
25938
|
-
"default": "'2'",
|
|
25939
|
-
"description": "The level of the container is used to resolve the color tokens from the corresponding level.\nCheck the [Color System documentation page](./?path=/docs/style-colors--docs) for more information.\n\nDefault for `gds-div` is level 2.",
|
|
25940
|
-
"fieldName": "level",
|
|
25941
|
-
"inheritedFrom": {
|
|
25942
|
-
"name": "GdsDiv",
|
|
25943
|
-
"module": "src/components/div/div.component.ts"
|
|
25944
|
-
}
|
|
25734
|
+
"description": "Fired when the button is clicked.",
|
|
25735
|
+
"name": "click"
|
|
25945
25736
|
},
|
|
25946
25737
|
{
|
|
25947
|
-
"name": "gds-element",
|
|
25738
|
+
"name": "gds-element-disconnected",
|
|
25948
25739
|
"type": {
|
|
25949
|
-
"text": "
|
|
25740
|
+
"text": "CustomEvent"
|
|
25950
25741
|
},
|
|
25951
|
-
"description": "
|
|
25952
|
-
"readonly": true,
|
|
25953
|
-
"fieldName": "gdsElementName",
|
|
25742
|
+
"description": "When the element is disconnected from the DOM",
|
|
25954
25743
|
"inheritedFrom": {
|
|
25955
25744
|
"name": "GdsElement",
|
|
25956
25745
|
"module": "src/gds-element.ts"
|
|
25957
25746
|
}
|
|
25958
|
-
}
|
|
25959
|
-
],
|
|
25960
|
-
"events": [
|
|
25747
|
+
},
|
|
25961
25748
|
{
|
|
25962
|
-
"name": "
|
|
25749
|
+
"name": "name",
|
|
25963
25750
|
"type": {
|
|
25964
|
-
"text": "
|
|
25751
|
+
"text": "Event"
|
|
25965
25752
|
},
|
|
25966
|
-
"description": "When the element is disconnected from the DOM",
|
|
25967
25753
|
"inheritedFrom": {
|
|
25968
25754
|
"name": "GdsElement",
|
|
25969
25755
|
"module": "src/gds-element.ts"
|
|
25970
25756
|
}
|
|
25971
25757
|
},
|
|
25972
25758
|
{
|
|
25973
|
-
"name": "name",
|
|
25974
25759
|
"type": {
|
|
25975
25760
|
"text": "Event"
|
|
25976
25761
|
},
|
|
@@ -25978,50 +25763,186 @@
|
|
|
25978
25763
|
"name": "GdsElement",
|
|
25979
25764
|
"module": "src/gds-element.ts"
|
|
25980
25765
|
}
|
|
25766
|
+
}
|
|
25767
|
+
],
|
|
25768
|
+
"attributes": [
|
|
25769
|
+
{
|
|
25770
|
+
"name": "disabled",
|
|
25771
|
+
"type": {
|
|
25772
|
+
"text": "boolean"
|
|
25773
|
+
},
|
|
25774
|
+
"default": "false",
|
|
25775
|
+
"description": "Whether the menu-button is disabled.",
|
|
25776
|
+
"fieldName": "disabled"
|
|
25981
25777
|
},
|
|
25982
25778
|
{
|
|
25779
|
+
"name": "label",
|
|
25983
25780
|
"type": {
|
|
25984
|
-
"text": "
|
|
25781
|
+
"text": "string"
|
|
25782
|
+
},
|
|
25783
|
+
"default": "''",
|
|
25784
|
+
"description": "The label of the menu-button. Use this to add an accessible label to the button when no text is provided in the default slot.",
|
|
25785
|
+
"fieldName": "label"
|
|
25786
|
+
},
|
|
25787
|
+
{
|
|
25788
|
+
"name": "href",
|
|
25789
|
+
"type": {
|
|
25790
|
+
"text": "string"
|
|
25791
|
+
},
|
|
25792
|
+
"default": "''",
|
|
25793
|
+
"description": "When set, the underlying button will be rendered as an anchor element.",
|
|
25794
|
+
"fieldName": "href"
|
|
25795
|
+
},
|
|
25796
|
+
{
|
|
25797
|
+
"name": "target",
|
|
25798
|
+
"type": {
|
|
25799
|
+
"text": "'_self' | '_blank' | '_parent' | '_top' | undefined"
|
|
25800
|
+
},
|
|
25801
|
+
"description": "Where to display the linked URL. Only used when href is present.",
|
|
25802
|
+
"fieldName": "target"
|
|
25803
|
+
},
|
|
25804
|
+
{
|
|
25805
|
+
"name": "rel",
|
|
25806
|
+
"type": {
|
|
25807
|
+
"text": "string | undefined"
|
|
25808
|
+
},
|
|
25809
|
+
"description": "The relationship of the linked URL as space-separated link types. Only used when href is present. Defaults to \"noreferrer noopener\" for security reasons when target is set.",
|
|
25810
|
+
"fieldName": "rel"
|
|
25811
|
+
},
|
|
25812
|
+
{
|
|
25813
|
+
"name": "download",
|
|
25814
|
+
"type": {
|
|
25815
|
+
"text": "string | undefined"
|
|
25816
|
+
},
|
|
25817
|
+
"description": "Causes the browser to treat the linked URL as a download. Can be used with or without a filename value. Only used when href is present.",
|
|
25818
|
+
"fieldName": "download"
|
|
25819
|
+
},
|
|
25820
|
+
{
|
|
25821
|
+
"name": "compact",
|
|
25822
|
+
"type": {
|
|
25823
|
+
"text": "boolean"
|
|
25824
|
+
},
|
|
25825
|
+
"default": "false",
|
|
25826
|
+
"description": "The label of the menu-button. Use this to add an accessible label to the button when no text is provided in the default slot.",
|
|
25827
|
+
"fieldName": "compact"
|
|
25828
|
+
},
|
|
25829
|
+
{
|
|
25830
|
+
"name": "selected",
|
|
25831
|
+
"type": {
|
|
25832
|
+
"text": "boolean"
|
|
25833
|
+
},
|
|
25834
|
+
"default": "false",
|
|
25835
|
+
"description": "Whether the menu button is selected",
|
|
25836
|
+
"fieldName": "selected"
|
|
25837
|
+
},
|
|
25838
|
+
{
|
|
25839
|
+
"name": "gds-element",
|
|
25840
|
+
"type": {
|
|
25841
|
+
"text": "string | undefined"
|
|
25985
25842
|
},
|
|
25843
|
+
"description": "The unscoped name of this element. This attribute is set automatically by the element and is inteded to be read-only.",
|
|
25844
|
+
"readonly": true,
|
|
25845
|
+
"fieldName": "gdsElementName",
|
|
25986
25846
|
"inheritedFrom": {
|
|
25987
25847
|
"name": "GdsElement",
|
|
25988
25848
|
"module": "src/gds-element.ts"
|
|
25989
25849
|
}
|
|
25990
25850
|
}
|
|
25991
|
-
]
|
|
25851
|
+
],
|
|
25852
|
+
"mixins": [
|
|
25853
|
+
{
|
|
25854
|
+
"name": "withSizeXProps",
|
|
25855
|
+
"module": "/src/utils/mixins/declarative-layout-mixins"
|
|
25856
|
+
},
|
|
25857
|
+
{
|
|
25858
|
+
"name": "withLayoutChildProps",
|
|
25859
|
+
"module": "/src/utils/mixins/declarative-layout-mixins"
|
|
25860
|
+
}
|
|
25861
|
+
],
|
|
25862
|
+
"superclass": {
|
|
25863
|
+
"name": "GdsElement",
|
|
25864
|
+
"module": "/src/gds-element"
|
|
25865
|
+
},
|
|
25866
|
+
"tagName": "gds-menu-button",
|
|
25867
|
+
"customElement": true
|
|
25992
25868
|
}
|
|
25993
25869
|
],
|
|
25994
25870
|
"exports": [
|
|
25995
25871
|
{
|
|
25996
25872
|
"kind": "js",
|
|
25997
|
-
"name": "
|
|
25873
|
+
"name": "GdsMenuButton",
|
|
25998
25874
|
"declaration": {
|
|
25999
|
-
"name": "
|
|
26000
|
-
"module": "src/components/
|
|
25875
|
+
"name": "GdsMenuButton",
|
|
25876
|
+
"module": "src/components/menu-button/menu-button.component.ts"
|
|
26001
25877
|
}
|
|
26002
25878
|
}
|
|
26003
25879
|
]
|
|
26004
25880
|
},
|
|
26005
25881
|
{
|
|
26006
25882
|
"kind": "javascript-module",
|
|
26007
|
-
"path": "src/components/
|
|
25883
|
+
"path": "src/components/menu-button/menu-button.stories.ts",
|
|
26008
25884
|
"declarations": [
|
|
26009
25885
|
{
|
|
26010
25886
|
"kind": "variable",
|
|
26011
|
-
"name": "meta",
|
|
25887
|
+
"name": "meta",
|
|
25888
|
+
"type": {
|
|
25889
|
+
"text": "Meta"
|
|
25890
|
+
},
|
|
25891
|
+
"default": "{ title: 'Components/Menu button', component: 'gds-menu-button', parameters: { layout: 'centered', }, tags: ['autodocs'], argTypes: { ...argTablePropsFor('gds-datepicker'), }, }",
|
|
25892
|
+
"description": "A menu button combines button and link behaviors for navigation menus."
|
|
25893
|
+
},
|
|
25894
|
+
{
|
|
25895
|
+
"kind": "variable",
|
|
25896
|
+
"name": "Basic",
|
|
25897
|
+
"type": {
|
|
25898
|
+
"text": "Story"
|
|
25899
|
+
},
|
|
25900
|
+
"default": "{ ...DefaultParams, }"
|
|
25901
|
+
},
|
|
25902
|
+
{
|
|
25903
|
+
"kind": "variable",
|
|
25904
|
+
"name": "Selected_state",
|
|
25905
|
+
"type": {
|
|
25906
|
+
"text": "Story"
|
|
25907
|
+
},
|
|
25908
|
+
"default": "{ ...DefaultParams, render: () => html`<gds-menu-button selected> <gds-icon-people solid slot=\"trail\"></gds-icon-people> Profile </gds-menu-button>`, }",
|
|
25909
|
+
"description": "Selected state is used to indicate that the button is currently selected, for example to indicate the current page."
|
|
25910
|
+
},
|
|
25911
|
+
{
|
|
25912
|
+
"kind": "variable",
|
|
25913
|
+
"name": "Only_text",
|
|
25914
|
+
"type": {
|
|
25915
|
+
"text": "Story"
|
|
25916
|
+
},
|
|
25917
|
+
"default": "{ ...DefaultParams, render: () => html`<gds-menu-button>Search</gds-menu-button>`, }",
|
|
25918
|
+
"description": "The menu button can be used without an icon as well."
|
|
25919
|
+
},
|
|
25920
|
+
{
|
|
25921
|
+
"kind": "variable",
|
|
25922
|
+
"name": "Example_menu_bar",
|
|
26012
25923
|
"type": {
|
|
26013
|
-
"text": "
|
|
25924
|
+
"text": "Story"
|
|
26014
25925
|
},
|
|
26015
|
-
"default": "{
|
|
26016
|
-
"description": "
|
|
25926
|
+
"default": "{ ...DefaultParams, render: () => html`<gds-div display=\"flex\" height=\"70px\" width=\"700px\" border-color=\"strong\" border-width=\"0 0 4xs 0\" > <div style=\"flex-basis:50%;\"> <gds-menu-button> <gds-icon-magnifying-glass slot=\"lead\"></gds-icon-magnifying-glass> Search </gds-menu-button> </div> <gds-flex style=\"flex-basis:50%;\" justify-content=\"flex-end\"> <gds-menu-button> <gds-icon-bell slot=\"trail\"></gds-icon-bell> Notification </gds-menu-button> <gds-popover> <gds-menu-button slot=\"trigger\"> <gds-icon-people slot=\"trail\"></gds-icon-people> Profile </gds-menu-button> <div style=\"padding: 1rem;\">Profile stuff</div> </gds-popover> <gds-menu-button href=\"https://github.com/seb-oss/green\" target=\"_blank\" > <gds-icon-square-arrow-top-right slot=\"trail\" ></gds-icon-square-arrow-top-right> External link </gds-menu-button> </gds-flex> </gds-card>`, }",
|
|
25927
|
+
"description": "An example of a menu bar with a search button, a notification button, a profile button, and an external link button.\n\nThe profile buitton shows an example of using a popover together with a menu button.\n\nExternal link is an example of using a menu button as a link to a URL."
|
|
26017
25928
|
},
|
|
26018
25929
|
{
|
|
26019
25930
|
"kind": "variable",
|
|
26020
|
-
"name": "
|
|
25931
|
+
"name": "Compact_menu_bar",
|
|
26021
25932
|
"type": {
|
|
26022
25933
|
"text": "Story"
|
|
26023
25934
|
},
|
|
26024
|
-
"default": "{ ...DefaultParams, render: (
|
|
25935
|
+
"default": "{ ...DefaultParams, render: () => html`<gds-flex width=\"700px\" background=\"neutral-01\" border=\"0 0 3xs/subtle-01 0\" align-items=\"center\" > <gds-flex flex=\"1\"> <gds-menu-button compact> <gds-icon-magnifying-glass slot=\"lead\"></gds-icon-magnifying-glass> Search </gds-menu-button> </gds-flex> <gds-flex justify-content=\"flex-end\"> <gds-menu-button compact> <gds-icon-bell slot=\"trail\"></gds-icon-bell> Notification </gds-menu-button> <gds-popover> <gds-menu-button slot=\"trigger\" compact> <gds-icon-people slot=\"trail\"></gds-icon-people> Profile </gds-menu-button> <div style=\"padding: 1rem;\">Profile stuff</div> </gds-popover> <gds-menu-button compact selected href=\"https://github.com/seb-oss/green\" target=\"_blank\" > <gds-icon-square-arrow-top-right slot=\"trail\" ></gds-icon-square-arrow-top-right> External link </gds-menu-button> </gds-flex> </gds-flex>`, }",
|
|
25936
|
+
"description": "Same as above, but using the compact style. This is mainly intended for use in a mobile viewport."
|
|
25937
|
+
},
|
|
25938
|
+
{
|
|
25939
|
+
"kind": "variable",
|
|
25940
|
+
"name": "Dark",
|
|
25941
|
+
"type": {
|
|
25942
|
+
"text": "Story"
|
|
25943
|
+
},
|
|
25944
|
+
"default": "{ ...DefaultParams, name: 'Dark Mode', render: () => html` <gds-flex flex-direction=\"column\" gap=\"l\"> <gds-theme color-scheme=\"dark\"> <gds-flex width=\"700px\" background=\"neutral-01\" height=\"80px\" border=\"0 0 3xs/secondary 0\" > <gds-flex flex=\"1\"> <gds-menu-button> <gds-icon-magnifying-glass slot=\"lead\" ></gds-icon-magnifying-glass> Search </gds-menu-button> </gds-flex> <gds-flex> <gds-menu-button> <gds-icon-bell slot=\"trail\"></gds-icon-bell> Notification </gds-menu-button> <gds-popover> <gds-menu-button slot=\"trigger\"> <gds-icon-people slot=\"trail\"></gds-icon-people> Profile </gds-menu-button> <div style=\"padding: 1rem;\">Profile stuff</div> </gds-popover> <gds-menu-button selected href=\"https://github.com/seb-oss/green\" target=\"_blank\" > <gds-icon-square-arrow-top-right slot=\"trail\" ></gds-icon-square-arrow-top-right> External link </gds-menu-button> </gds-flex> </gds-flex> </gds-theme> <gds-theme color-scheme=\"light\"> <gds-flex width=\"700px\" background=\"neutral-01\" height=\"80px\" border=\"0 0 3xs/secondary 0\" > <gds-flex flex=\"1\"> <gds-menu-button> <gds-icon-magnifying-glass slot=\"lead\" ></gds-icon-magnifying-glass> Search </gds-menu-button> </gds-flex> <gds-flex style=\"flex-basis:50%;\" justify-content=\"flex-end\"> <gds-menu-button> <gds-icon-bell slot=\"trail\"></gds-icon-bell> Notification </gds-menu-button> <gds-popover> <gds-menu-button slot=\"trigger\"> <gds-icon-people slot=\"trail\"></gds-icon-people> Profile </gds-menu-button> <div style=\"padding: 1rem;\">Profile stuff</div> </gds-popover> <gds-menu-button selected href=\"https://github.com/seb-oss/green\" target=\"_blank\" > <gds-icon-square-arrow-top-right slot=\"trail\" ></gds-icon-square-arrow-top-right> External link </gds-menu-button> </gds-flex> </gds-flex> </gds-theme> </gds-flex> `, }",
|
|
25945
|
+
"description": "Same as above, but using the compact style. This is mainly intended for use in a mobile viewport."
|
|
26025
25946
|
}
|
|
26026
25947
|
],
|
|
26027
25948
|
"exports": [
|
|
@@ -26030,27 +25951,67 @@
|
|
|
26030
25951
|
"name": "default",
|
|
26031
25952
|
"declaration": {
|
|
26032
25953
|
"name": "meta",
|
|
26033
|
-
"module": "src/components/
|
|
25954
|
+
"module": "src/components/menu-button/menu-button.stories.ts"
|
|
26034
25955
|
}
|
|
26035
25956
|
},
|
|
26036
25957
|
{
|
|
26037
25958
|
"kind": "js",
|
|
26038
|
-
"name": "
|
|
25959
|
+
"name": "Basic",
|
|
26039
25960
|
"declaration": {
|
|
26040
|
-
"name": "
|
|
26041
|
-
"module": "src/components/
|
|
25961
|
+
"name": "Basic",
|
|
25962
|
+
"module": "src/components/menu-button/menu-button.stories.ts"
|
|
25963
|
+
}
|
|
25964
|
+
},
|
|
25965
|
+
{
|
|
25966
|
+
"kind": "js",
|
|
25967
|
+
"name": "Selected_state",
|
|
25968
|
+
"declaration": {
|
|
25969
|
+
"name": "Selected_state",
|
|
25970
|
+
"module": "src/components/menu-button/menu-button.stories.ts"
|
|
25971
|
+
}
|
|
25972
|
+
},
|
|
25973
|
+
{
|
|
25974
|
+
"kind": "js",
|
|
25975
|
+
"name": "Only_text",
|
|
25976
|
+
"declaration": {
|
|
25977
|
+
"name": "Only_text",
|
|
25978
|
+
"module": "src/components/menu-button/menu-button.stories.ts"
|
|
25979
|
+
}
|
|
25980
|
+
},
|
|
25981
|
+
{
|
|
25982
|
+
"kind": "js",
|
|
25983
|
+
"name": "Example_menu_bar",
|
|
25984
|
+
"declaration": {
|
|
25985
|
+
"name": "Example_menu_bar",
|
|
25986
|
+
"module": "src/components/menu-button/menu-button.stories.ts"
|
|
25987
|
+
}
|
|
25988
|
+
},
|
|
25989
|
+
{
|
|
25990
|
+
"kind": "js",
|
|
25991
|
+
"name": "Compact_menu_bar",
|
|
25992
|
+
"declaration": {
|
|
25993
|
+
"name": "Compact_menu_bar",
|
|
25994
|
+
"module": "src/components/menu-button/menu-button.stories.ts"
|
|
25995
|
+
}
|
|
25996
|
+
},
|
|
25997
|
+
{
|
|
25998
|
+
"kind": "js",
|
|
25999
|
+
"name": "Dark",
|
|
26000
|
+
"declaration": {
|
|
26001
|
+
"name": "Dark",
|
|
26002
|
+
"module": "src/components/menu-button/menu-button.stories.ts"
|
|
26042
26003
|
}
|
|
26043
26004
|
}
|
|
26044
26005
|
]
|
|
26045
26006
|
},
|
|
26046
26007
|
{
|
|
26047
26008
|
"kind": "javascript-module",
|
|
26048
|
-
"path": "src/components/
|
|
26009
|
+
"path": "src/components/menu-button/menu-button.styles.ts",
|
|
26049
26010
|
"declarations": [
|
|
26050
26011
|
{
|
|
26051
26012
|
"kind": "variable",
|
|
26052
26013
|
"name": "style",
|
|
26053
|
-
"default": "css` :host {
|
|
26014
|
+
"default": "css` @layer tokens, core, a11y, disabled, variants, sizes, sets; @layer tokens { :host { --_gap: var(--gds-sys-space-xs); --_padding-inline: var(--gds-sys-space-m); --_padding-block: var(--gds-sys-space-xs); --_color-bg: transparent; --_color-text: var(--gds-sys-color-content-neutral-01); --_color-border: transparent; --_font-size: 1rem; --_font-weight: 400; --_line-height: 1.25; display: inline-block; isolation: isolate; max-width: 100%; height: 100%; } } @layer core { .button { align-items: center; background-color: var(--_color-bg); border-bottom-width: 2px; border-style: none; border-color: var(--_color-border); border-bottom-style: solid; box-sizing: border-box; color-scheme: dark light; color: var(--_color-text); cursor: pointer; display: inline-flex; font-family: inherit; font-size: var(--_font-size); font-weight: var(--_font-weight); gap: var(--_gap); height: 100%; inline-size: 100%; justify-content: space-between; justify-items: center; line-height: var(--_line-height); outline-color: transparent; outline-offset: -2px; outline-style: solid; outline-width: 2px; padding-block: var(--_padding-block); padding-inline: var(--_padding-inline); position: relative; transition-property: color, border-color; transition: all var(--gds-sys-motion-duration-fastest); &:focus-visible { border-color: transparent; border-radius: 6px; outline-color: currentColor; overflow: visible; } &:hover, &.selected:hover, &:active { background-color: color-mix( in srgb, transparent, var(--gds-sys-color-state-neutral-05) ); --_color-border: var(--gds-sys-color-border-interactive); } &.selected { background-color: color-mix( in srgb, transparent, var(--gds-sys-color-state-neutral-06) ); --_color-border: var(--gds-sys-color-border-strong); } slot:not([name]) { display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } .compact { display: flex; flex-direction: column; --_padding-inline: var(--gds-sys-space-s); --_gap: 1px; font-size: 0.875rem; height: 56px; justify-content: center; & > slot[name] { order: 0; } & > slot:not([name]) { order: 1; } } a { text-decoration: none; } } :disabled { border-color: var(--_color-bg); color: var(--gds-sys-color-content-disabled-01); pointer-events: none; } @layer a11y { @media (prefers-reduced-motion: reduce) { .button { transition: none; } } } `"
|
|
26054
26015
|
}
|
|
26055
26016
|
],
|
|
26056
26017
|
"exports": [
|
|
@@ -26059,29 +26020,29 @@
|
|
|
26059
26020
|
"name": "default",
|
|
26060
26021
|
"declaration": {
|
|
26061
26022
|
"name": "style",
|
|
26062
|
-
"module": "src/components/
|
|
26023
|
+
"module": "src/components/menu-button/menu-button.styles.ts"
|
|
26063
26024
|
}
|
|
26064
26025
|
}
|
|
26065
26026
|
]
|
|
26066
26027
|
},
|
|
26067
26028
|
{
|
|
26068
26029
|
"kind": "javascript-module",
|
|
26069
|
-
"path": "src/components/
|
|
26030
|
+
"path": "src/components/menu-button/menu-button.ts",
|
|
26070
26031
|
"declarations": [],
|
|
26071
26032
|
"exports": [
|
|
26072
26033
|
{
|
|
26073
26034
|
"kind": "js",
|
|
26074
|
-
"name": "
|
|
26035
|
+
"name": "GdsMenuButton",
|
|
26075
26036
|
"declaration": {
|
|
26076
|
-
"name": "
|
|
26077
|
-
"module": "src/components/
|
|
26037
|
+
"name": "GdsMenuButton",
|
|
26038
|
+
"module": "src/components/menu-button/menu-button.ts"
|
|
26078
26039
|
}
|
|
26079
26040
|
}
|
|
26080
26041
|
]
|
|
26081
26042
|
},
|
|
26082
26043
|
{
|
|
26083
26044
|
"kind": "javascript-module",
|
|
26084
|
-
"path": "src/components/
|
|
26045
|
+
"path": "src/components/link/index.ts",
|
|
26085
26046
|
"declarations": [],
|
|
26086
26047
|
"exports": [
|
|
26087
26048
|
{
|
|
@@ -26089,29 +26050,23 @@
|
|
|
26089
26050
|
"name": "*",
|
|
26090
26051
|
"declaration": {
|
|
26091
26052
|
"name": "*",
|
|
26092
|
-
"module": "src/components/
|
|
26053
|
+
"module": "src/components/link/link"
|
|
26093
26054
|
}
|
|
26094
26055
|
}
|
|
26095
26056
|
]
|
|
26096
26057
|
},
|
|
26097
26058
|
{
|
|
26098
26059
|
"kind": "javascript-module",
|
|
26099
|
-
"path": "src/components/
|
|
26060
|
+
"path": "src/components/link/link.component.ts",
|
|
26100
26061
|
"declarations": [
|
|
26101
26062
|
{
|
|
26102
26063
|
"kind": "class",
|
|
26103
26064
|
"description": "",
|
|
26104
|
-
"name": "
|
|
26105
|
-
"cssParts": [
|
|
26106
|
-
{
|
|
26107
|
-
"description": "The main slot of the button, between the lead and trail slots.",
|
|
26108
|
-
"name": "main-slot"
|
|
26109
|
-
}
|
|
26110
|
-
],
|
|
26065
|
+
"name": "GdsLink",
|
|
26111
26066
|
"slots": [
|
|
26112
26067
|
{
|
|
26113
|
-
"description": "Content to be displayed as the
|
|
26114
|
-
"name": ""
|
|
26068
|
+
"description": "Content to be displayed as the link string.",
|
|
26069
|
+
"name": "main"
|
|
26115
26070
|
},
|
|
26116
26071
|
{
|
|
26117
26072
|
"description": "An optional slot that allows a `gds-icon` element to be placed before the label.",
|
|
@@ -26132,17 +26087,6 @@
|
|
|
26132
26087
|
"static": true,
|
|
26133
26088
|
"default": "{ mode: 'open', delegatesFocus: true, }"
|
|
26134
26089
|
},
|
|
26135
|
-
{
|
|
26136
|
-
"kind": "field",
|
|
26137
|
-
"name": "disabled",
|
|
26138
|
-
"type": {
|
|
26139
|
-
"text": "boolean"
|
|
26140
|
-
},
|
|
26141
|
-
"default": "false",
|
|
26142
|
-
"description": "Whether the menu-button is disabled.",
|
|
26143
|
-
"attribute": "disabled",
|
|
26144
|
-
"reflects": true
|
|
26145
|
-
},
|
|
26146
26090
|
{
|
|
26147
26091
|
"kind": "field",
|
|
26148
26092
|
"name": "label",
|
|
@@ -26150,67 +26094,55 @@
|
|
|
26150
26094
|
"text": "string"
|
|
26151
26095
|
},
|
|
26152
26096
|
"default": "''",
|
|
26153
|
-
"description": "
|
|
26097
|
+
"description": "Provides an accessible name for the link that will be read by screen readers.\nUse this when:\n- The link contains only an icon\n- The visual text needs a different description for screen readers\n- Additional context is needed for accessibility",
|
|
26154
26098
|
"attribute": "label"
|
|
26155
26099
|
},
|
|
26156
26100
|
{
|
|
26157
26101
|
"kind": "field",
|
|
26158
|
-
"name": "
|
|
26159
|
-
"type": {
|
|
26160
|
-
"text": "string"
|
|
26161
|
-
},
|
|
26162
|
-
"default": "''",
|
|
26163
|
-
"description": "When set, the underlying button will be rendered as an anchor element.",
|
|
26164
|
-
"attribute": "href"
|
|
26165
|
-
},
|
|
26166
|
-
{
|
|
26167
|
-
"kind": "field",
|
|
26168
|
-
"name": "target",
|
|
26169
|
-
"type": {
|
|
26170
|
-
"text": "'_self' | '_blank' | '_parent' | '_top' | undefined"
|
|
26171
|
-
},
|
|
26172
|
-
"description": "Where to display the linked URL. Only used when href is present.",
|
|
26173
|
-
"attribute": "target"
|
|
26174
|
-
},
|
|
26175
|
-
{
|
|
26176
|
-
"kind": "field",
|
|
26177
|
-
"name": "rel",
|
|
26102
|
+
"name": "'text-decoration'",
|
|
26178
26103
|
"type": {
|
|
26179
26104
|
"text": "string | undefined"
|
|
26180
26105
|
},
|
|
26181
|
-
"description": "
|
|
26182
|
-
"attribute": "rel"
|
|
26106
|
+
"description": "Controls the text-decoration property of the link.\nSupports all valid CSS text-decoration values.\n\nSetting `text-decoration` on hover you can do it like this:\n```html\n<gds-link text-decoration=\"hover:underline\">Underline on Hover</gds-link>\n```"
|
|
26183
26107
|
},
|
|
26184
26108
|
{
|
|
26185
26109
|
"kind": "field",
|
|
26186
|
-
"name": "
|
|
26110
|
+
"name": "margin",
|
|
26187
26111
|
"type": {
|
|
26188
26112
|
"text": "string | undefined"
|
|
26189
26113
|
},
|
|
26190
|
-
"description": "
|
|
26191
|
-
"
|
|
26114
|
+
"description": "Style Expression Property that controls the `margin` property.\nOnly accepts space tokens.",
|
|
26115
|
+
"category": "Declarative layout / Style expression properties",
|
|
26116
|
+
"inheritedFrom": {
|
|
26117
|
+
"name": "withMarginProps",
|
|
26118
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
26119
|
+
}
|
|
26192
26120
|
},
|
|
26193
26121
|
{
|
|
26194
26122
|
"kind": "field",
|
|
26195
|
-
"name": "
|
|
26123
|
+
"name": "'margin-inline'",
|
|
26196
26124
|
"type": {
|
|
26197
|
-
"text": "
|
|
26125
|
+
"text": "string | undefined"
|
|
26198
26126
|
},
|
|
26199
|
-
"
|
|
26200
|
-
"
|
|
26201
|
-
"
|
|
26202
|
-
|
|
26127
|
+
"description": "Style Expression Property that controls the `margin-inline` property.\nOnly accepts space tokens.",
|
|
26128
|
+
"category": "Declarative layout / Style expression properties",
|
|
26129
|
+
"inheritedFrom": {
|
|
26130
|
+
"name": "withMarginProps",
|
|
26131
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
26132
|
+
}
|
|
26203
26133
|
},
|
|
26204
26134
|
{
|
|
26205
26135
|
"kind": "field",
|
|
26206
|
-
"name": "
|
|
26136
|
+
"name": "'margin-block'",
|
|
26207
26137
|
"type": {
|
|
26208
|
-
"text": "
|
|
26138
|
+
"text": "string | undefined"
|
|
26209
26139
|
},
|
|
26210
|
-
"
|
|
26211
|
-
"
|
|
26212
|
-
"
|
|
26213
|
-
|
|
26140
|
+
"description": "Style Expression Property that controls the `margin-block` property.\nOnly accepts space tokens.",
|
|
26141
|
+
"category": "Declarative layout / Style expression properties",
|
|
26142
|
+
"inheritedFrom": {
|
|
26143
|
+
"name": "withMarginProps",
|
|
26144
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
26145
|
+
}
|
|
26214
26146
|
},
|
|
26215
26147
|
{
|
|
26216
26148
|
"kind": "field",
|
|
@@ -26377,21 +26309,98 @@
|
|
|
26377
26309
|
"description": "Style Expression Property that controls the `flex` property.\nSupports all valid CSS `flex` values.",
|
|
26378
26310
|
"category": "Declarative layout / Style expression properties",
|
|
26379
26311
|
"inheritedFrom": {
|
|
26380
|
-
"name": "withLayoutChildProps",
|
|
26381
|
-
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
26312
|
+
"name": "withLayoutChildProps",
|
|
26313
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
26314
|
+
}
|
|
26315
|
+
},
|
|
26316
|
+
{
|
|
26317
|
+
"kind": "field",
|
|
26318
|
+
"name": "order",
|
|
26319
|
+
"type": {
|
|
26320
|
+
"text": "string | undefined"
|
|
26321
|
+
},
|
|
26322
|
+
"description": "Style Expression Property that controls the `order` property.\nSupports all valid CSS `order` values.",
|
|
26323
|
+
"category": "Declarative layout / Style expression properties",
|
|
26324
|
+
"inheritedFrom": {
|
|
26325
|
+
"name": "withLayoutChildProps",
|
|
26326
|
+
"module": "src/utils/mixins/declarative-layout-mixins.ts"
|
|
26327
|
+
}
|
|
26328
|
+
},
|
|
26329
|
+
{
|
|
26330
|
+
"kind": "field",
|
|
26331
|
+
"name": "href",
|
|
26332
|
+
"type": {
|
|
26333
|
+
"text": "string | undefined"
|
|
26334
|
+
},
|
|
26335
|
+
"description": "URL that the link points to\nCan be absolute, relative, or fragment identifier",
|
|
26336
|
+
"attribute": "href",
|
|
26337
|
+
"inheritedFrom": {
|
|
26338
|
+
"name": "withLinkProps",
|
|
26339
|
+
"module": "src/utils/mixins/props-link.ts"
|
|
26340
|
+
}
|
|
26341
|
+
},
|
|
26342
|
+
{
|
|
26343
|
+
"kind": "field",
|
|
26344
|
+
"name": "target",
|
|
26345
|
+
"type": {
|
|
26346
|
+
"text": "'_self' | '_blank' | '_parent' | '_top' | undefined"
|
|
26347
|
+
},
|
|
26348
|
+
"description": "Specifies where to open the linked document",
|
|
26349
|
+
"attribute": "target",
|
|
26350
|
+
"inheritedFrom": {
|
|
26351
|
+
"name": "withLinkProps",
|
|
26352
|
+
"module": "src/utils/mixins/props-link.ts"
|
|
26353
|
+
}
|
|
26354
|
+
},
|
|
26355
|
+
{
|
|
26356
|
+
"kind": "field",
|
|
26357
|
+
"name": "rel",
|
|
26358
|
+
"type": {
|
|
26359
|
+
"text": "string | undefined"
|
|
26360
|
+
},
|
|
26361
|
+
"description": "Specifies the relationship between the current document and the linked document\nAutomatically adds security-related values when target=\"_blank\"",
|
|
26362
|
+
"attribute": "rel",
|
|
26363
|
+
"inheritedFrom": {
|
|
26364
|
+
"name": "withLinkProps",
|
|
26365
|
+
"module": "src/utils/mixins/props-link.ts"
|
|
26366
|
+
}
|
|
26367
|
+
},
|
|
26368
|
+
{
|
|
26369
|
+
"kind": "field",
|
|
26370
|
+
"name": "#rel",
|
|
26371
|
+
"privacy": "private",
|
|
26372
|
+
"type": {
|
|
26373
|
+
"text": "string | undefined"
|
|
26374
|
+
},
|
|
26375
|
+
"inheritedFrom": {
|
|
26376
|
+
"name": "withLinkProps",
|
|
26377
|
+
"module": "src/utils/mixins/props-link.ts"
|
|
26378
|
+
}
|
|
26379
|
+
},
|
|
26380
|
+
{
|
|
26381
|
+
"kind": "field",
|
|
26382
|
+
"name": "download",
|
|
26383
|
+
"type": {
|
|
26384
|
+
"text": "string | boolean | undefined"
|
|
26385
|
+
},
|
|
26386
|
+
"description": "When present, indicates that the linked resource should be downloaded",
|
|
26387
|
+
"attribute": "download",
|
|
26388
|
+
"inheritedFrom": {
|
|
26389
|
+
"name": "withLinkProps",
|
|
26390
|
+
"module": "src/utils/mixins/props-link.ts"
|
|
26382
26391
|
}
|
|
26383
26392
|
},
|
|
26384
26393
|
{
|
|
26385
26394
|
"kind": "field",
|
|
26386
|
-
"name": "
|
|
26395
|
+
"name": "ping",
|
|
26387
26396
|
"type": {
|
|
26388
26397
|
"text": "string | undefined"
|
|
26389
26398
|
},
|
|
26390
|
-
"description": "
|
|
26391
|
-
"
|
|
26399
|
+
"description": "Specifies a space-separated list of URLs to which, when the link is followed,\nPOST requests with the body ping will be sent by the browser.",
|
|
26400
|
+
"attribute": "ping",
|
|
26392
26401
|
"inheritedFrom": {
|
|
26393
|
-
"name": "
|
|
26394
|
-
"module": "src/utils/mixins/
|
|
26402
|
+
"name": "withLinkProps",
|
|
26403
|
+
"module": "src/utils/mixins/props-link.ts"
|
|
26395
26404
|
}
|
|
26396
26405
|
},
|
|
26397
26406
|
{
|
|
@@ -26526,7 +26535,7 @@
|
|
|
26526
26535
|
],
|
|
26527
26536
|
"events": [
|
|
26528
26537
|
{
|
|
26529
|
-
"description": "Fired when the
|
|
26538
|
+
"description": "Fired when the link is clicked.",
|
|
26530
26539
|
"name": "click"
|
|
26531
26540
|
},
|
|
26532
26541
|
{
|
|
@@ -26561,74 +26570,74 @@
|
|
|
26561
26570
|
}
|
|
26562
26571
|
],
|
|
26563
26572
|
"attributes": [
|
|
26564
|
-
{
|
|
26565
|
-
"name": "disabled",
|
|
26566
|
-
"type": {
|
|
26567
|
-
"text": "boolean"
|
|
26568
|
-
},
|
|
26569
|
-
"default": "false",
|
|
26570
|
-
"description": "Whether the menu-button is disabled.",
|
|
26571
|
-
"fieldName": "disabled"
|
|
26572
|
-
},
|
|
26573
26573
|
{
|
|
26574
26574
|
"name": "label",
|
|
26575
26575
|
"type": {
|
|
26576
26576
|
"text": "string"
|
|
26577
26577
|
},
|
|
26578
26578
|
"default": "''",
|
|
26579
|
-
"description": "
|
|
26579
|
+
"description": "Provides an accessible name for the link that will be read by screen readers.\nUse this when:\n- The link contains only an icon\n- The visual text needs a different description for screen readers\n- Additional context is needed for accessibility",
|
|
26580
26580
|
"fieldName": "label"
|
|
26581
26581
|
},
|
|
26582
26582
|
{
|
|
26583
26583
|
"name": "href",
|
|
26584
26584
|
"type": {
|
|
26585
|
-
"text": "string"
|
|
26585
|
+
"text": "string | undefined"
|
|
26586
26586
|
},
|
|
26587
|
-
"
|
|
26588
|
-
"
|
|
26589
|
-
"
|
|
26587
|
+
"description": "URL that the link points to\nCan be absolute, relative, or fragment identifier",
|
|
26588
|
+
"fieldName": "href",
|
|
26589
|
+
"inheritedFrom": {
|
|
26590
|
+
"name": "withLinkProps",
|
|
26591
|
+
"module": "src/utils/mixins/props-link.ts"
|
|
26592
|
+
}
|
|
26590
26593
|
},
|
|
26591
26594
|
{
|
|
26592
26595
|
"name": "target",
|
|
26593
26596
|
"type": {
|
|
26594
26597
|
"text": "'_self' | '_blank' | '_parent' | '_top' | undefined"
|
|
26595
26598
|
},
|
|
26596
|
-
"description": "
|
|
26597
|
-
"fieldName": "target"
|
|
26599
|
+
"description": "Specifies where to open the linked document",
|
|
26600
|
+
"fieldName": "target",
|
|
26601
|
+
"inheritedFrom": {
|
|
26602
|
+
"name": "withLinkProps",
|
|
26603
|
+
"module": "src/utils/mixins/props-link.ts"
|
|
26604
|
+
}
|
|
26598
26605
|
},
|
|
26599
26606
|
{
|
|
26600
26607
|
"name": "rel",
|
|
26601
26608
|
"type": {
|
|
26602
26609
|
"text": "string | undefined"
|
|
26603
26610
|
},
|
|
26604
|
-
"description": "
|
|
26605
|
-
"fieldName": "rel"
|
|
26611
|
+
"description": "Specifies the relationship between the current document and the linked document\nAutomatically adds security-related values when target=\"_blank\"",
|
|
26612
|
+
"fieldName": "rel",
|
|
26613
|
+
"inheritedFrom": {
|
|
26614
|
+
"name": "withLinkProps",
|
|
26615
|
+
"module": "src/utils/mixins/props-link.ts"
|
|
26616
|
+
}
|
|
26606
26617
|
},
|
|
26607
26618
|
{
|
|
26608
26619
|
"name": "download",
|
|
26609
26620
|
"type": {
|
|
26610
|
-
"text": "string | undefined"
|
|
26611
|
-
},
|
|
26612
|
-
"description": "Causes the browser to treat the linked URL as a download. Can be used with or without a filename value. Only used when href is present.",
|
|
26613
|
-
"fieldName": "download"
|
|
26614
|
-
},
|
|
26615
|
-
{
|
|
26616
|
-
"name": "compact",
|
|
26617
|
-
"type": {
|
|
26618
|
-
"text": "boolean"
|
|
26621
|
+
"text": "string | boolean | undefined"
|
|
26619
26622
|
},
|
|
26620
|
-
"
|
|
26621
|
-
"
|
|
26622
|
-
"
|
|
26623
|
+
"description": "When present, indicates that the linked resource should be downloaded",
|
|
26624
|
+
"fieldName": "download",
|
|
26625
|
+
"inheritedFrom": {
|
|
26626
|
+
"name": "withLinkProps",
|
|
26627
|
+
"module": "src/utils/mixins/props-link.ts"
|
|
26628
|
+
}
|
|
26623
26629
|
},
|
|
26624
26630
|
{
|
|
26625
|
-
"name": "
|
|
26631
|
+
"name": "ping",
|
|
26626
26632
|
"type": {
|
|
26627
|
-
"text": "
|
|
26633
|
+
"text": "string | undefined"
|
|
26628
26634
|
},
|
|
26629
|
-
"
|
|
26630
|
-
"
|
|
26631
|
-
"
|
|
26635
|
+
"description": "Specifies a space-separated list of URLs to which, when the link is followed,\nPOST requests with the body ping will be sent by the browser.",
|
|
26636
|
+
"fieldName": "ping",
|
|
26637
|
+
"inheritedFrom": {
|
|
26638
|
+
"name": "withLinkProps",
|
|
26639
|
+
"module": "src/utils/mixins/props-link.ts"
|
|
26640
|
+
}
|
|
26632
26641
|
},
|
|
26633
26642
|
{
|
|
26634
26643
|
"name": "gds-element",
|
|
@@ -26645,6 +26654,10 @@
|
|
|
26645
26654
|
}
|
|
26646
26655
|
],
|
|
26647
26656
|
"mixins": [
|
|
26657
|
+
{
|
|
26658
|
+
"name": "withMarginProps",
|
|
26659
|
+
"module": "/src/utils/mixins/declarative-layout-mixins"
|
|
26660
|
+
},
|
|
26648
26661
|
{
|
|
26649
26662
|
"name": "withSizeXProps",
|
|
26650
26663
|
"module": "/src/utils/mixins/declarative-layout-mixins"
|
|
@@ -26652,30 +26665,34 @@
|
|
|
26652
26665
|
{
|
|
26653
26666
|
"name": "withLayoutChildProps",
|
|
26654
26667
|
"module": "/src/utils/mixins/declarative-layout-mixins"
|
|
26668
|
+
},
|
|
26669
|
+
{
|
|
26670
|
+
"name": "withLinkProps",
|
|
26671
|
+
"module": "/src/utils/mixins/props-link"
|
|
26655
26672
|
}
|
|
26656
26673
|
],
|
|
26657
26674
|
"superclass": {
|
|
26658
26675
|
"name": "GdsElement",
|
|
26659
26676
|
"module": "/src/gds-element"
|
|
26660
26677
|
},
|
|
26661
|
-
"tagName": "gds-
|
|
26678
|
+
"tagName": "gds-link",
|
|
26662
26679
|
"customElement": true
|
|
26663
26680
|
}
|
|
26664
26681
|
],
|
|
26665
26682
|
"exports": [
|
|
26666
26683
|
{
|
|
26667
26684
|
"kind": "js",
|
|
26668
|
-
"name": "
|
|
26685
|
+
"name": "GdsLink",
|
|
26669
26686
|
"declaration": {
|
|
26670
|
-
"name": "
|
|
26671
|
-
"module": "src/components/
|
|
26687
|
+
"name": "GdsLink",
|
|
26688
|
+
"module": "src/components/link/link.component.ts"
|
|
26672
26689
|
}
|
|
26673
26690
|
}
|
|
26674
26691
|
]
|
|
26675
26692
|
},
|
|
26676
26693
|
{
|
|
26677
26694
|
"kind": "javascript-module",
|
|
26678
|
-
"path": "src/components/
|
|
26695
|
+
"path": "src/components/link/link.stories.ts",
|
|
26679
26696
|
"declarations": [
|
|
26680
26697
|
{
|
|
26681
26698
|
"kind": "variable",
|
|
@@ -26683,8 +26700,8 @@
|
|
|
26683
26700
|
"type": {
|
|
26684
26701
|
"text": "Meta"
|
|
26685
26702
|
},
|
|
26686
|
-
"default": "{ title: 'Components/
|
|
26687
|
-
"description": "A
|
|
26703
|
+
"default": "{ title: 'Components/Link', component: 'gds-link', parameters: { layout: 'centered', }, tags: ['autodocs'], argTypes: { ...argTablePropsFor('gds-link'), }, }",
|
|
26704
|
+
"description": "A link navigates users to other pages or sections of content."
|
|
26688
26705
|
},
|
|
26689
26706
|
{
|
|
26690
26707
|
"kind": "variable",
|
|
@@ -26696,48 +26713,39 @@
|
|
|
26696
26713
|
},
|
|
26697
26714
|
{
|
|
26698
26715
|
"kind": "variable",
|
|
26699
|
-
"name": "
|
|
26700
|
-
"type": {
|
|
26701
|
-
"text": "Story"
|
|
26702
|
-
},
|
|
26703
|
-
"default": "{ ...DefaultParams, render: () => html`<gds-menu-button selected> <gds-icon-people solid slot=\"trail\"></gds-icon-people> Profile </gds-menu-button>`, }",
|
|
26704
|
-
"description": "Selected state is used to indicate that the button is currently selected, for example to indicate the current page."
|
|
26705
|
-
},
|
|
26706
|
-
{
|
|
26707
|
-
"kind": "variable",
|
|
26708
|
-
"name": "Only_text",
|
|
26716
|
+
"name": "Lead",
|
|
26709
26717
|
"type": {
|
|
26710
26718
|
"text": "Story"
|
|
26711
26719
|
},
|
|
26712
|
-
"default": "{ ...DefaultParams, render: () => html
|
|
26713
|
-
"description": "
|
|
26720
|
+
"default": "{ ...DefaultParams, name: 'Icon: Lead', render: () => html` <gds-link href=\"#\"> <gds-icon-chain-link slot=\"lead\"></gds-icon-chain-link> Link text </gds-link>`, }",
|
|
26721
|
+
"description": "A link component with a leading icon."
|
|
26714
26722
|
},
|
|
26715
26723
|
{
|
|
26716
26724
|
"kind": "variable",
|
|
26717
|
-
"name": "
|
|
26725
|
+
"name": "Trail",
|
|
26718
26726
|
"type": {
|
|
26719
26727
|
"text": "Story"
|
|
26720
26728
|
},
|
|
26721
|
-
"default": "{ ...DefaultParams, render: () => html
|
|
26722
|
-
"description": "
|
|
26729
|
+
"default": "{ ...DefaultParams, name: 'Icon: Trail', render: () => html` <gds-link href=\"#\"> Link text <gds-icon-arrow-right slot=\"trail\"></gds-icon-arrow-right> </gds-link>`, }",
|
|
26730
|
+
"description": "A link component with a trailing icon."
|
|
26723
26731
|
},
|
|
26724
26732
|
{
|
|
26725
26733
|
"kind": "variable",
|
|
26726
|
-
"name": "
|
|
26734
|
+
"name": "TextDecoration",
|
|
26727
26735
|
"type": {
|
|
26728
26736
|
"text": "Story"
|
|
26729
26737
|
},
|
|
26730
|
-
"default": "{ ...DefaultParams, render: () => html
|
|
26731
|
-
"description": "
|
|
26738
|
+
"default": "{ ...DefaultParams, name: 'Text Decoration', render: () => html` <gds-flex gap=\"4xl\" width=\"600px\" flex-direction=\"column\"> <gds-flex gap=\"xl\"> <gds-flex flex-direction=\"column\" gap=\"m\" flex=\"1\"> <gds-text tag=\"small\">Link with Underline</gds-text> <gds-divider opacity=\"0.2\"></gds-divider> <gds-link href=\"#\" text-decoration=\"underline\"> Link text </gds-link> </gds-flex> <gds-flex flex-direction=\"column\" gap=\"m\" flex=\"1\"> <gds-text tag=\"small\">Link without Underline</gds-text> <gds-divider opacity=\"0.2\"></gds-divider> <gds-link href=\"#\" text-decoration=\"none\"> Link text </gds-link> </gds-flex> </gds-flex> <gds-flex gap=\"xl\"> <gds-flex flex-direction=\"column\" gap=\"m\" flex=\"1\"> <gds-text tag=\"small\">Link with Underline on Hover and Icon</gds-text> <gds-divider opacity=\"0.2\"></gds-divider> <gds-link href=\"#\"> Link text <gds-icon-arrow-right slot=\"trail\"></gds-icon-arrow-right> </gds-link> </gds-flex> <gds-flex flex-direction=\"column\" gap=\"m\" flex=\"1\"> <gds-text tag=\"small\">Link with No Underline on Hover</gds-text> <gds-divider opacity=\"0.2\"></gds-divider> <gds-link href=\"#\" text-decoration=\"underline; hover:none\"> Link text </gds-link> </gds-flex> </gds-flex> </gds-flex> `, }",
|
|
26739
|
+
"description": "A link component has a `text-decoration` property that accepts all valid CSS `text-decoration` values.\n\nIt also supports setting `text-decoration` or disable on hover by using the `hover:` prefix.\n\n```html\n<gds-link text-decoration=\"hover:none\">\n Underline on Hover\n</gds-link>\n```"
|
|
26732
26740
|
},
|
|
26733
26741
|
{
|
|
26734
26742
|
"kind": "variable",
|
|
26735
|
-
"name": "
|
|
26743
|
+
"name": "Label",
|
|
26736
26744
|
"type": {
|
|
26737
26745
|
"text": "Story"
|
|
26738
26746
|
},
|
|
26739
|
-
"default": "{ ...DefaultParams, name: '
|
|
26740
|
-
"description": "
|
|
26747
|
+
"default": "{ ...DefaultParams, name: 'Label', render: () => html` <gds-link href=\"#\" label=\"Aria label is used\"> Link with aria-label </gds-link> `, }",
|
|
26748
|
+
"description": "On the `gds-link` component, the `label` attribute is used to provide an accessible name for the link.\n\nIt will be forwarded to the `aria-label` attribute of the underlying anchor element.\n\n\nUse this when:\n- The link contains only an icon\n- The visual text needs a different description for screen readers\n- Additional context is needed for accessibility\n\n```html\n<!-- Icon-only link -->\n<gds-link href=\"/settings\" label=\"Open settings\">\n <gds-icon-settings></gds-icon-settings>\n</gds-link>\n\n<!-- Different screen reader text -->\n<gds-link href=\"/article\" label=\"Read full article about climate change\">\n Read more\n</gds-link>\n```"
|
|
26741
26749
|
}
|
|
26742
26750
|
],
|
|
26743
26751
|
"exports": [
|
|
@@ -26746,7 +26754,7 @@
|
|
|
26746
26754
|
"name": "default",
|
|
26747
26755
|
"declaration": {
|
|
26748
26756
|
"name": "meta",
|
|
26749
|
-
"module": "src/components/
|
|
26757
|
+
"module": "src/components/link/link.stories.ts"
|
|
26750
26758
|
}
|
|
26751
26759
|
},
|
|
26752
26760
|
{
|
|
@@ -26754,59 +26762,51 @@
|
|
|
26754
26762
|
"name": "Basic",
|
|
26755
26763
|
"declaration": {
|
|
26756
26764
|
"name": "Basic",
|
|
26757
|
-
"module": "src/components/
|
|
26758
|
-
}
|
|
26759
|
-
},
|
|
26760
|
-
{
|
|
26761
|
-
"kind": "js",
|
|
26762
|
-
"name": "Selected_state",
|
|
26763
|
-
"declaration": {
|
|
26764
|
-
"name": "Selected_state",
|
|
26765
|
-
"module": "src/components/menu-button/menu-button.stories.ts"
|
|
26765
|
+
"module": "src/components/link/link.stories.ts"
|
|
26766
26766
|
}
|
|
26767
26767
|
},
|
|
26768
26768
|
{
|
|
26769
26769
|
"kind": "js",
|
|
26770
|
-
"name": "
|
|
26770
|
+
"name": "Lead",
|
|
26771
26771
|
"declaration": {
|
|
26772
|
-
"name": "
|
|
26773
|
-
"module": "src/components/
|
|
26772
|
+
"name": "Lead",
|
|
26773
|
+
"module": "src/components/link/link.stories.ts"
|
|
26774
26774
|
}
|
|
26775
26775
|
},
|
|
26776
26776
|
{
|
|
26777
26777
|
"kind": "js",
|
|
26778
|
-
"name": "
|
|
26778
|
+
"name": "Trail",
|
|
26779
26779
|
"declaration": {
|
|
26780
|
-
"name": "
|
|
26781
|
-
"module": "src/components/
|
|
26780
|
+
"name": "Trail",
|
|
26781
|
+
"module": "src/components/link/link.stories.ts"
|
|
26782
26782
|
}
|
|
26783
26783
|
},
|
|
26784
26784
|
{
|
|
26785
26785
|
"kind": "js",
|
|
26786
|
-
"name": "
|
|
26786
|
+
"name": "TextDecoration",
|
|
26787
26787
|
"declaration": {
|
|
26788
|
-
"name": "
|
|
26789
|
-
"module": "src/components/
|
|
26788
|
+
"name": "TextDecoration",
|
|
26789
|
+
"module": "src/components/link/link.stories.ts"
|
|
26790
26790
|
}
|
|
26791
26791
|
},
|
|
26792
26792
|
{
|
|
26793
26793
|
"kind": "js",
|
|
26794
|
-
"name": "
|
|
26794
|
+
"name": "Label",
|
|
26795
26795
|
"declaration": {
|
|
26796
|
-
"name": "
|
|
26797
|
-
"module": "src/components/
|
|
26796
|
+
"name": "Label",
|
|
26797
|
+
"module": "src/components/link/link.stories.ts"
|
|
26798
26798
|
}
|
|
26799
26799
|
}
|
|
26800
26800
|
]
|
|
26801
26801
|
},
|
|
26802
26802
|
{
|
|
26803
26803
|
"kind": "javascript-module",
|
|
26804
|
-
"path": "src/components/
|
|
26804
|
+
"path": "src/components/link/link.styles.ts",
|
|
26805
26805
|
"declarations": [
|
|
26806
26806
|
{
|
|
26807
26807
|
"kind": "variable",
|
|
26808
26808
|
"name": "style",
|
|
26809
|
-
"default": "css` @layer
|
|
26809
|
+
"default": "css` @layer core, link; @layer core { :host { display: inline-block; white-space: normal; } } @layer link { a { display: flex; align-items: center; gap: 1ch; text-decoration: none; text-underline-offset: 0.2lh; color: currentColor; cursor: pointer; border-radius: var(--gds-sys-radius-3xs); outline-offset: var(--gds-sys-space-3xs); outline-color: currentColor; font-weight: var(--gds-sys-text-weight-book); will-change: text-underline-offset; transition-property: text-underline-offset; transition-duration: var(--gds-sys-motion-duration-fastest); transition-timing-function: var(--gds-sys-motion-easing-ease-in-out); @media (pointer: fine) { &:hover { text-decoration: underline; text-underline-offset: 0.16lh; &:active { text-underline-offset: 0.08lh; } } } } } `"
|
|
26810
26810
|
}
|
|
26811
26811
|
],
|
|
26812
26812
|
"exports": [
|
|
@@ -26815,22 +26815,22 @@
|
|
|
26815
26815
|
"name": "default",
|
|
26816
26816
|
"declaration": {
|
|
26817
26817
|
"name": "style",
|
|
26818
|
-
"module": "src/components/
|
|
26818
|
+
"module": "src/components/link/link.styles.ts"
|
|
26819
26819
|
}
|
|
26820
26820
|
}
|
|
26821
26821
|
]
|
|
26822
26822
|
},
|
|
26823
26823
|
{
|
|
26824
26824
|
"kind": "javascript-module",
|
|
26825
|
-
"path": "src/components/
|
|
26825
|
+
"path": "src/components/link/link.ts",
|
|
26826
26826
|
"declarations": [],
|
|
26827
26827
|
"exports": [
|
|
26828
26828
|
{
|
|
26829
26829
|
"kind": "js",
|
|
26830
|
-
"name": "
|
|
26830
|
+
"name": "GdsLink",
|
|
26831
26831
|
"declaration": {
|
|
26832
|
-
"name": "
|
|
26833
|
-
"module": "src/components/
|
|
26832
|
+
"name": "GdsLink",
|
|
26833
|
+
"module": "src/components/link/link.ts"
|
|
26834
26834
|
}
|
|
26835
26835
|
}
|
|
26836
26836
|
]
|
|
@@ -44344,22 +44344,42 @@
|
|
|
44344
44344
|
},
|
|
44345
44345
|
{
|
|
44346
44346
|
"kind": "javascript-module",
|
|
44347
|
-
"path": "src/components/
|
|
44347
|
+
"path": "src/components/filter-chips/filter-chip/filter-chip.component.ts",
|
|
44348
44348
|
"declarations": [
|
|
44349
44349
|
{
|
|
44350
44350
|
"kind": "class",
|
|
44351
44351
|
"description": "",
|
|
44352
|
-
"name": "
|
|
44352
|
+
"name": "GdsFilterChip",
|
|
44353
44353
|
"members": [
|
|
44354
44354
|
{
|
|
44355
44355
|
"kind": "field",
|
|
44356
|
-
"name": "
|
|
44356
|
+
"name": "selected",
|
|
44357
44357
|
"type": {
|
|
44358
44358
|
"text": "boolean"
|
|
44359
44359
|
},
|
|
44360
44360
|
"default": "false",
|
|
44361
|
-
"description": "
|
|
44362
|
-
"attribute": "
|
|
44361
|
+
"description": "Whether the chip is selected",
|
|
44362
|
+
"attribute": "selected",
|
|
44363
|
+
"reflects": true
|
|
44364
|
+
},
|
|
44365
|
+
{
|
|
44366
|
+
"kind": "field",
|
|
44367
|
+
"name": "value",
|
|
44368
|
+
"type": {
|
|
44369
|
+
"text": "ValueT | undefined"
|
|
44370
|
+
},
|
|
44371
|
+
"description": "The value of the chip",
|
|
44372
|
+
"attribute": "value"
|
|
44373
|
+
},
|
|
44374
|
+
{
|
|
44375
|
+
"kind": "field",
|
|
44376
|
+
"name": "size",
|
|
44377
|
+
"type": {
|
|
44378
|
+
"text": "'small' | 'large'"
|
|
44379
|
+
},
|
|
44380
|
+
"default": "'large'",
|
|
44381
|
+
"description": "The size of the chip",
|
|
44382
|
+
"attribute": "size",
|
|
44363
44383
|
"reflects": true
|
|
44364
44384
|
},
|
|
44365
44385
|
{
|
|
@@ -44494,13 +44514,30 @@
|
|
|
44494
44514
|
],
|
|
44495
44515
|
"attributes": [
|
|
44496
44516
|
{
|
|
44497
|
-
"name": "
|
|
44517
|
+
"name": "selected",
|
|
44498
44518
|
"type": {
|
|
44499
44519
|
"text": "boolean"
|
|
44500
44520
|
},
|
|
44501
44521
|
"default": "false",
|
|
44502
|
-
"description": "
|
|
44503
|
-
"fieldName": "
|
|
44522
|
+
"description": "Whether the chip is selected",
|
|
44523
|
+
"fieldName": "selected"
|
|
44524
|
+
},
|
|
44525
|
+
{
|
|
44526
|
+
"name": "value",
|
|
44527
|
+
"type": {
|
|
44528
|
+
"text": "ValueT | undefined"
|
|
44529
|
+
},
|
|
44530
|
+
"description": "The value of the chip",
|
|
44531
|
+
"fieldName": "value"
|
|
44532
|
+
},
|
|
44533
|
+
{
|
|
44534
|
+
"name": "size",
|
|
44535
|
+
"type": {
|
|
44536
|
+
"text": "'small' | 'large'"
|
|
44537
|
+
},
|
|
44538
|
+
"default": "'large'",
|
|
44539
|
+
"description": "The size of the chip",
|
|
44540
|
+
"fieldName": "size"
|
|
44504
44541
|
},
|
|
44505
44542
|
{
|
|
44506
44543
|
"name": "gds-element",
|
|
@@ -44520,7 +44557,7 @@
|
|
|
44520
44557
|
"name": "GdsElement",
|
|
44521
44558
|
"module": "/src/gds-element"
|
|
44522
44559
|
},
|
|
44523
|
-
"tagName": "gds-
|
|
44560
|
+
"tagName": "gds-filter-chip",
|
|
44524
44561
|
"customElement": true,
|
|
44525
44562
|
"events": [
|
|
44526
44563
|
{
|
|
@@ -44559,22 +44596,63 @@
|
|
|
44559
44596
|
"exports": [
|
|
44560
44597
|
{
|
|
44561
44598
|
"kind": "js",
|
|
44562
|
-
"name": "
|
|
44599
|
+
"name": "GdsFilterChip",
|
|
44600
|
+
"declaration": {
|
|
44601
|
+
"name": "GdsFilterChip",
|
|
44602
|
+
"module": "src/components/filter-chips/filter-chip/filter-chip.component.ts"
|
|
44603
|
+
}
|
|
44604
|
+
}
|
|
44605
|
+
]
|
|
44606
|
+
},
|
|
44607
|
+
{
|
|
44608
|
+
"kind": "javascript-module",
|
|
44609
|
+
"path": "src/components/filter-chips/filter-chip/filter-chip.stories.ts",
|
|
44610
|
+
"declarations": [
|
|
44611
|
+
{
|
|
44612
|
+
"kind": "variable",
|
|
44613
|
+
"name": "meta",
|
|
44614
|
+
"type": {
|
|
44615
|
+
"text": "Meta"
|
|
44616
|
+
},
|
|
44617
|
+
"default": "{ title: 'Components/Filter Chips/Filter Chip', component: 'gds-filter-chip', parameters: { layout: 'centered', }, tags: ['autodocs'], argTypes: { ...argTablePropsFor('gds-filter-chip'), size: { options: ['small', 'large'], control: { type: 'select' }, }, }, }",
|
|
44618
|
+
"description": "[Source code](https://github.com/seb-oss/green/tree/main/libs/core/src/components/filter-chips)\n | \n[Usage guidelines](https://designlibrary.sebgroup.com/components/component-filter-chip)\n\nThe filter chip is a sub-component of the filter chips component, and should generally not be used on its own."
|
|
44619
|
+
},
|
|
44620
|
+
{
|
|
44621
|
+
"kind": "variable",
|
|
44622
|
+
"name": "Basic",
|
|
44623
|
+
"type": {
|
|
44624
|
+
"text": "Story"
|
|
44625
|
+
},
|
|
44626
|
+
"default": "{ ...DefaultParams, }"
|
|
44627
|
+
}
|
|
44628
|
+
],
|
|
44629
|
+
"exports": [
|
|
44630
|
+
{
|
|
44631
|
+
"kind": "js",
|
|
44632
|
+
"name": "default",
|
|
44563
44633
|
"declaration": {
|
|
44564
|
-
"name": "
|
|
44565
|
-
"module": "src/components/
|
|
44634
|
+
"name": "meta",
|
|
44635
|
+
"module": "src/components/filter-chips/filter-chip/filter-chip.stories.ts"
|
|
44636
|
+
}
|
|
44637
|
+
},
|
|
44638
|
+
{
|
|
44639
|
+
"kind": "js",
|
|
44640
|
+
"name": "Basic",
|
|
44641
|
+
"declaration": {
|
|
44642
|
+
"name": "Basic",
|
|
44643
|
+
"module": "src/components/filter-chips/filter-chip/filter-chip.stories.ts"
|
|
44566
44644
|
}
|
|
44567
44645
|
}
|
|
44568
44646
|
]
|
|
44569
44647
|
},
|
|
44570
44648
|
{
|
|
44571
44649
|
"kind": "javascript-module",
|
|
44572
|
-
"path": "src/components/
|
|
44650
|
+
"path": "src/components/filter-chips/filter-chip/filter-chip.styles.ts",
|
|
44573
44651
|
"declarations": [
|
|
44574
44652
|
{
|
|
44575
44653
|
"kind": "variable",
|
|
44576
44654
|
"name": "styles",
|
|
44577
|
-
"default": "css`
|
|
44655
|
+
"default": "css` @layer base, reset, transitional-styles; @layer base { .icon { width: 1rem; } } `"
|
|
44578
44656
|
}
|
|
44579
44657
|
],
|
|
44580
44658
|
"exports": [
|
|
@@ -44583,64 +44661,87 @@
|
|
|
44583
44661
|
"name": "styles",
|
|
44584
44662
|
"declaration": {
|
|
44585
44663
|
"name": "styles",
|
|
44586
|
-
"module": "src/components/
|
|
44664
|
+
"module": "src/components/filter-chips/filter-chip/filter-chip.styles.ts"
|
|
44587
44665
|
}
|
|
44588
44666
|
}
|
|
44589
44667
|
]
|
|
44590
44668
|
},
|
|
44591
44669
|
{
|
|
44592
44670
|
"kind": "javascript-module",
|
|
44593
|
-
"path": "src/components/
|
|
44671
|
+
"path": "src/components/filter-chips/filter-chip/filter-chip.trans.styles.ts",
|
|
44672
|
+
"declarations": [
|
|
44673
|
+
{
|
|
44674
|
+
"kind": "function",
|
|
44675
|
+
"name": "register"
|
|
44676
|
+
}
|
|
44677
|
+
],
|
|
44678
|
+
"exports": [
|
|
44679
|
+
{
|
|
44680
|
+
"kind": "js",
|
|
44681
|
+
"name": "register",
|
|
44682
|
+
"declaration": {
|
|
44683
|
+
"name": "register",
|
|
44684
|
+
"module": "src/components/filter-chips/filter-chip/filter-chip.trans.styles.ts"
|
|
44685
|
+
}
|
|
44686
|
+
},
|
|
44687
|
+
{
|
|
44688
|
+
"kind": "js",
|
|
44689
|
+
"name": "default",
|
|
44690
|
+
"declaration": {
|
|
44691
|
+
"name": "register",
|
|
44692
|
+
"module": "src/components/filter-chips/filter-chip/filter-chip.trans.styles.ts"
|
|
44693
|
+
}
|
|
44694
|
+
}
|
|
44695
|
+
]
|
|
44696
|
+
},
|
|
44697
|
+
{
|
|
44698
|
+
"kind": "javascript-module",
|
|
44699
|
+
"path": "src/components/filter-chips/filter-chip/filter-chip.ts",
|
|
44594
44700
|
"declarations": [],
|
|
44595
44701
|
"exports": [
|
|
44596
44702
|
{
|
|
44597
44703
|
"kind": "js",
|
|
44598
|
-
"name": "
|
|
44704
|
+
"name": "GdsFilterChip",
|
|
44599
44705
|
"declaration": {
|
|
44600
|
-
"name": "
|
|
44601
|
-
"module": "src/components/
|
|
44706
|
+
"name": "GdsFilterChip",
|
|
44707
|
+
"module": "src/components/filter-chips/filter-chip/filter-chip.ts"
|
|
44602
44708
|
}
|
|
44603
44709
|
}
|
|
44604
44710
|
]
|
|
44605
44711
|
},
|
|
44606
44712
|
{
|
|
44607
44713
|
"kind": "javascript-module",
|
|
44608
|
-
"path": "src/components/filter-chips/filter-chip/
|
|
44714
|
+
"path": "src/components/filter-chips/filter-chip/index.ts",
|
|
44715
|
+
"declarations": [],
|
|
44716
|
+
"exports": [
|
|
44717
|
+
{
|
|
44718
|
+
"kind": "js",
|
|
44719
|
+
"name": "*",
|
|
44720
|
+
"declaration": {
|
|
44721
|
+
"name": "*",
|
|
44722
|
+
"module": "src/components/filter-chips/filter-chip/filter-chip"
|
|
44723
|
+
}
|
|
44724
|
+
}
|
|
44725
|
+
]
|
|
44726
|
+
},
|
|
44727
|
+
{
|
|
44728
|
+
"kind": "javascript-module",
|
|
44729
|
+
"path": "src/components/details/details-icon/details-icon.component.ts",
|
|
44609
44730
|
"declarations": [
|
|
44610
44731
|
{
|
|
44611
44732
|
"kind": "class",
|
|
44612
44733
|
"description": "",
|
|
44613
|
-
"name": "
|
|
44734
|
+
"name": "GdsIconDetails",
|
|
44614
44735
|
"members": [
|
|
44615
44736
|
{
|
|
44616
44737
|
"kind": "field",
|
|
44617
|
-
"name": "
|
|
44738
|
+
"name": "open",
|
|
44618
44739
|
"type": {
|
|
44619
44740
|
"text": "boolean"
|
|
44620
44741
|
},
|
|
44621
44742
|
"default": "false",
|
|
44622
|
-
"description": "
|
|
44623
|
-
"attribute": "
|
|
44624
|
-
"reflects": true
|
|
44625
|
-
},
|
|
44626
|
-
{
|
|
44627
|
-
"kind": "field",
|
|
44628
|
-
"name": "value",
|
|
44629
|
-
"type": {
|
|
44630
|
-
"text": "ValueT | undefined"
|
|
44631
|
-
},
|
|
44632
|
-
"description": "The value of the chip",
|
|
44633
|
-
"attribute": "value"
|
|
44634
|
-
},
|
|
44635
|
-
{
|
|
44636
|
-
"kind": "field",
|
|
44637
|
-
"name": "size",
|
|
44638
|
-
"type": {
|
|
44639
|
-
"text": "'small' | 'large'"
|
|
44640
|
-
},
|
|
44641
|
-
"default": "'large'",
|
|
44642
|
-
"description": "The size of the chip",
|
|
44643
|
-
"attribute": "size",
|
|
44743
|
+
"description": "Controls if the details is open",
|
|
44744
|
+
"attribute": "open",
|
|
44644
44745
|
"reflects": true
|
|
44645
44746
|
},
|
|
44646
44747
|
{
|
|
@@ -44775,30 +44876,13 @@
|
|
|
44775
44876
|
],
|
|
44776
44877
|
"attributes": [
|
|
44777
44878
|
{
|
|
44778
|
-
"name": "
|
|
44879
|
+
"name": "open",
|
|
44779
44880
|
"type": {
|
|
44780
44881
|
"text": "boolean"
|
|
44781
44882
|
},
|
|
44782
44883
|
"default": "false",
|
|
44783
|
-
"description": "
|
|
44784
|
-
"fieldName": "
|
|
44785
|
-
},
|
|
44786
|
-
{
|
|
44787
|
-
"name": "value",
|
|
44788
|
-
"type": {
|
|
44789
|
-
"text": "ValueT | undefined"
|
|
44790
|
-
},
|
|
44791
|
-
"description": "The value of the chip",
|
|
44792
|
-
"fieldName": "value"
|
|
44793
|
-
},
|
|
44794
|
-
{
|
|
44795
|
-
"name": "size",
|
|
44796
|
-
"type": {
|
|
44797
|
-
"text": "'small' | 'large'"
|
|
44798
|
-
},
|
|
44799
|
-
"default": "'large'",
|
|
44800
|
-
"description": "The size of the chip",
|
|
44801
|
-
"fieldName": "size"
|
|
44884
|
+
"description": "Controls if the details is open",
|
|
44885
|
+
"fieldName": "open"
|
|
44802
44886
|
},
|
|
44803
44887
|
{
|
|
44804
44888
|
"name": "gds-element",
|
|
@@ -44818,7 +44902,7 @@
|
|
|
44818
44902
|
"name": "GdsElement",
|
|
44819
44903
|
"module": "/src/gds-element"
|
|
44820
44904
|
},
|
|
44821
|
-
"tagName": "gds-
|
|
44905
|
+
"tagName": "gds-icon-details",
|
|
44822
44906
|
"customElement": true,
|
|
44823
44907
|
"events": [
|
|
44824
44908
|
{
|
|
@@ -44857,63 +44941,22 @@
|
|
|
44857
44941
|
"exports": [
|
|
44858
44942
|
{
|
|
44859
44943
|
"kind": "js",
|
|
44860
|
-
"name": "
|
|
44861
|
-
"declaration": {
|
|
44862
|
-
"name": "GdsFilterChip",
|
|
44863
|
-
"module": "src/components/filter-chips/filter-chip/filter-chip.component.ts"
|
|
44864
|
-
}
|
|
44865
|
-
}
|
|
44866
|
-
]
|
|
44867
|
-
},
|
|
44868
|
-
{
|
|
44869
|
-
"kind": "javascript-module",
|
|
44870
|
-
"path": "src/components/filter-chips/filter-chip/filter-chip.stories.ts",
|
|
44871
|
-
"declarations": [
|
|
44872
|
-
{
|
|
44873
|
-
"kind": "variable",
|
|
44874
|
-
"name": "meta",
|
|
44875
|
-
"type": {
|
|
44876
|
-
"text": "Meta"
|
|
44877
|
-
},
|
|
44878
|
-
"default": "{ title: 'Components/Filter Chips/Filter Chip', component: 'gds-filter-chip', parameters: { layout: 'centered', }, tags: ['autodocs'], argTypes: { ...argTablePropsFor('gds-filter-chip'), size: { options: ['small', 'large'], control: { type: 'select' }, }, }, }",
|
|
44879
|
-
"description": "[Source code](https://github.com/seb-oss/green/tree/main/libs/core/src/components/filter-chips)\n | \n[Usage guidelines](https://designlibrary.sebgroup.com/components/component-filter-chip)\n\nThe filter chip is a sub-component of the filter chips component, and should generally not be used on its own."
|
|
44880
|
-
},
|
|
44881
|
-
{
|
|
44882
|
-
"kind": "variable",
|
|
44883
|
-
"name": "Basic",
|
|
44884
|
-
"type": {
|
|
44885
|
-
"text": "Story"
|
|
44886
|
-
},
|
|
44887
|
-
"default": "{ ...DefaultParams, }"
|
|
44888
|
-
}
|
|
44889
|
-
],
|
|
44890
|
-
"exports": [
|
|
44891
|
-
{
|
|
44892
|
-
"kind": "js",
|
|
44893
|
-
"name": "default",
|
|
44894
|
-
"declaration": {
|
|
44895
|
-
"name": "meta",
|
|
44896
|
-
"module": "src/components/filter-chips/filter-chip/filter-chip.stories.ts"
|
|
44897
|
-
}
|
|
44898
|
-
},
|
|
44899
|
-
{
|
|
44900
|
-
"kind": "js",
|
|
44901
|
-
"name": "Basic",
|
|
44944
|
+
"name": "GdsIconDetails",
|
|
44902
44945
|
"declaration": {
|
|
44903
|
-
"name": "
|
|
44904
|
-
"module": "src/components/
|
|
44946
|
+
"name": "GdsIconDetails",
|
|
44947
|
+
"module": "src/components/details/details-icon/details-icon.component.ts"
|
|
44905
44948
|
}
|
|
44906
44949
|
}
|
|
44907
44950
|
]
|
|
44908
44951
|
},
|
|
44909
44952
|
{
|
|
44910
44953
|
"kind": "javascript-module",
|
|
44911
|
-
"path": "src/components/
|
|
44954
|
+
"path": "src/components/details/details-icon/details-icon.style.ts",
|
|
44912
44955
|
"declarations": [
|
|
44913
44956
|
{
|
|
44914
44957
|
"kind": "variable",
|
|
44915
44958
|
"name": "styles",
|
|
44916
|
-
"default": "css`
|
|
44959
|
+
"default": "css` :host { display: contents; } `"
|
|
44917
44960
|
}
|
|
44918
44961
|
],
|
|
44919
44962
|
"exports": [
|
|
@@ -44922,65 +44965,22 @@
|
|
|
44922
44965
|
"name": "styles",
|
|
44923
44966
|
"declaration": {
|
|
44924
44967
|
"name": "styles",
|
|
44925
|
-
"module": "src/components/
|
|
44926
|
-
}
|
|
44927
|
-
}
|
|
44928
|
-
]
|
|
44929
|
-
},
|
|
44930
|
-
{
|
|
44931
|
-
"kind": "javascript-module",
|
|
44932
|
-
"path": "src/components/filter-chips/filter-chip/filter-chip.trans.styles.ts",
|
|
44933
|
-
"declarations": [
|
|
44934
|
-
{
|
|
44935
|
-
"kind": "function",
|
|
44936
|
-
"name": "register"
|
|
44937
|
-
}
|
|
44938
|
-
],
|
|
44939
|
-
"exports": [
|
|
44940
|
-
{
|
|
44941
|
-
"kind": "js",
|
|
44942
|
-
"name": "register",
|
|
44943
|
-
"declaration": {
|
|
44944
|
-
"name": "register",
|
|
44945
|
-
"module": "src/components/filter-chips/filter-chip/filter-chip.trans.styles.ts"
|
|
44946
|
-
}
|
|
44947
|
-
},
|
|
44948
|
-
{
|
|
44949
|
-
"kind": "js",
|
|
44950
|
-
"name": "default",
|
|
44951
|
-
"declaration": {
|
|
44952
|
-
"name": "register",
|
|
44953
|
-
"module": "src/components/filter-chips/filter-chip/filter-chip.trans.styles.ts"
|
|
44954
|
-
}
|
|
44955
|
-
}
|
|
44956
|
-
]
|
|
44957
|
-
},
|
|
44958
|
-
{
|
|
44959
|
-
"kind": "javascript-module",
|
|
44960
|
-
"path": "src/components/filter-chips/filter-chip/filter-chip.ts",
|
|
44961
|
-
"declarations": [],
|
|
44962
|
-
"exports": [
|
|
44963
|
-
{
|
|
44964
|
-
"kind": "js",
|
|
44965
|
-
"name": "GdsFilterChip",
|
|
44966
|
-
"declaration": {
|
|
44967
|
-
"name": "GdsFilterChip",
|
|
44968
|
-
"module": "src/components/filter-chips/filter-chip/filter-chip.ts"
|
|
44968
|
+
"module": "src/components/details/details-icon/details-icon.style.ts"
|
|
44969
44969
|
}
|
|
44970
44970
|
}
|
|
44971
44971
|
]
|
|
44972
44972
|
},
|
|
44973
44973
|
{
|
|
44974
44974
|
"kind": "javascript-module",
|
|
44975
|
-
"path": "src/components/
|
|
44975
|
+
"path": "src/components/details/details-icon/details-icon.ts",
|
|
44976
44976
|
"declarations": [],
|
|
44977
44977
|
"exports": [
|
|
44978
44978
|
{
|
|
44979
44979
|
"kind": "js",
|
|
44980
|
-
"name": "
|
|
44980
|
+
"name": "GdsIconDetails",
|
|
44981
44981
|
"declaration": {
|
|
44982
|
-
"name": "
|
|
44983
|
-
"module": "src/components/
|
|
44982
|
+
"name": "GdsIconDetails",
|
|
44983
|
+
"module": "src/components/details/details-icon/details-icon.ts"
|
|
44984
44984
|
}
|
|
44985
44985
|
}
|
|
44986
44986
|
]
|