@govtechsg/sgds-web-component 3.24.1-rc.0 → 3.24.1-rc.1
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/components/ComboBox/index.umd.min.js +1 -1
- package/components/Datepicker/index.umd.min.js +1 -1
- package/components/Datepicker/index.umd.min.js.map +1 -1
- package/components/Input/index.umd.min.js +2 -2
- package/components/Input/index.umd.min.js.map +1 -1
- package/components/Input/input.js +1 -1
- package/components/QuantityToggle/index.umd.min.js +1 -1
- package/components/QuantityToggle/index.umd.min.js.map +1 -1
- package/components/Select/index.umd.min.js +1 -1
- package/components/Textarea/index.umd.min.js +1 -1
- package/components/index.umd.min.js +2 -2
- package/components/index.umd.min.js.map +1 -1
- package/css/fouc.css +1 -1
- package/custom-elements.json +893 -893
- package/index.umd.min.js +2 -2
- package/index.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/react/components/Input/input.cjs.js +1 -1
- package/react/components/Input/input.js +1 -1
- package/react/index.cjs.js +4 -4
- package/react/index.d.ts +1 -1
- package/react/index.js +1 -1
- package/react/styles/form-text-control.cjs.js +1 -1
- package/react/styles/form-text-control.js +1 -1
- package/styles/form-text-control.js +1 -1
- package/types/react.d.ts +23 -23
package/custom-elements.json
CHANGED
|
@@ -11398,1353 +11398,1353 @@
|
|
|
11398
11398
|
},
|
|
11399
11399
|
{
|
|
11400
11400
|
"kind": "javascript-module",
|
|
11401
|
-
"path": "src/components/
|
|
11401
|
+
"path": "src/components/Input/sgds-input.ts",
|
|
11402
11402
|
"declarations": [
|
|
11403
11403
|
{
|
|
11404
11404
|
"kind": "class",
|
|
11405
11405
|
"description": "",
|
|
11406
|
-
"name": "
|
|
11406
|
+
"name": "SgdsInput",
|
|
11407
11407
|
"slots": [
|
|
11408
11408
|
{
|
|
11409
|
-
"description": "The
|
|
11410
|
-
"name": "
|
|
11409
|
+
"description": "The slot for leading icon of text input",
|
|
11410
|
+
"name": "icon"
|
|
11411
11411
|
},
|
|
11412
11412
|
{
|
|
11413
|
-
"description": "
|
|
11414
|
-
"name": "
|
|
11413
|
+
"description": "The slot for trailing icon of text input. When present, it overrides valid icon and loading spinner rendered when valid prop or loading prop are true",
|
|
11414
|
+
"name": "trailing-icon"
|
|
11415
11415
|
},
|
|
11416
11416
|
{
|
|
11417
|
-
"description": "
|
|
11418
|
-
"name": "
|
|
11419
|
-
}
|
|
11417
|
+
"description": "The slot for call to action of the text input. It is recommended to use sgds-icon-button within this slot",
|
|
11418
|
+
"name": "action"
|
|
11419
|
+
}
|
|
11420
|
+
],
|
|
11421
|
+
"members": [
|
|
11420
11422
|
{
|
|
11421
|
-
"
|
|
11422
|
-
"name": "
|
|
11423
|
+
"kind": "field",
|
|
11424
|
+
"name": "type",
|
|
11425
|
+
"type": {
|
|
11426
|
+
"text": "| \"email\"\n | \"number\"\n | \"password\"\n | \"search\"\n | \"tel\"\n | \"text\"\n | \"time\"\n | \"url\"\n | \"datetime-local\""
|
|
11427
|
+
},
|
|
11428
|
+
"default": "\"text\"",
|
|
11429
|
+
"attribute": "type",
|
|
11430
|
+
"reflects": true
|
|
11423
11431
|
},
|
|
11424
11432
|
{
|
|
11425
|
-
"
|
|
11426
|
-
"name": "
|
|
11433
|
+
"kind": "field",
|
|
11434
|
+
"name": "prefix",
|
|
11435
|
+
"type": {
|
|
11436
|
+
"text": "string"
|
|
11437
|
+
},
|
|
11438
|
+
"description": "The prefix of the input",
|
|
11439
|
+
"attribute": "prefix"
|
|
11427
11440
|
},
|
|
11428
11441
|
{
|
|
11429
|
-
"
|
|
11430
|
-
"name": "
|
|
11442
|
+
"kind": "field",
|
|
11443
|
+
"name": "suffix",
|
|
11444
|
+
"type": {
|
|
11445
|
+
"text": "string"
|
|
11446
|
+
},
|
|
11447
|
+
"description": "The suffix of the input",
|
|
11448
|
+
"attribute": "suffix"
|
|
11431
11449
|
},
|
|
11432
11450
|
{
|
|
11433
|
-
"
|
|
11434
|
-
"name": "
|
|
11451
|
+
"kind": "field",
|
|
11452
|
+
"name": "minlength",
|
|
11453
|
+
"type": {
|
|
11454
|
+
"text": "number"
|
|
11455
|
+
},
|
|
11456
|
+
"description": "Sets the minimum length of the input",
|
|
11457
|
+
"attribute": "minlength",
|
|
11458
|
+
"reflects": true
|
|
11435
11459
|
},
|
|
11436
11460
|
{
|
|
11437
|
-
"
|
|
11438
|
-
"name": "
|
|
11461
|
+
"kind": "field",
|
|
11462
|
+
"name": "maxlength",
|
|
11463
|
+
"type": {
|
|
11464
|
+
"text": "number"
|
|
11465
|
+
},
|
|
11466
|
+
"description": "Sets the maximum length of the input",
|
|
11467
|
+
"attribute": "maxlength",
|
|
11468
|
+
"reflects": true
|
|
11439
11469
|
},
|
|
11440
11470
|
{
|
|
11441
|
-
"
|
|
11442
|
-
"name": "
|
|
11471
|
+
"kind": "field",
|
|
11472
|
+
"name": "min",
|
|
11473
|
+
"type": {
|
|
11474
|
+
"text": "number"
|
|
11475
|
+
},
|
|
11476
|
+
"description": "The input's minimum value. Only applies number input types.",
|
|
11477
|
+
"attribute": "min"
|
|
11443
11478
|
},
|
|
11444
11479
|
{
|
|
11445
|
-
"
|
|
11446
|
-
"name": "
|
|
11480
|
+
"kind": "field",
|
|
11481
|
+
"name": "max",
|
|
11482
|
+
"type": {
|
|
11483
|
+
"text": "number"
|
|
11484
|
+
},
|
|
11485
|
+
"description": "The input's maximum value. Only applies number input types.",
|
|
11486
|
+
"attribute": "max"
|
|
11447
11487
|
},
|
|
11448
|
-
{
|
|
11449
|
-
"description": "(@deprecated) Deprecated since 3.3.2 in favour of `footer` slot. Legacy slot for anchor elements. Use `footer` instead.",
|
|
11450
|
-
"name": "link"
|
|
11451
|
-
}
|
|
11452
|
-
],
|
|
11453
|
-
"members": [
|
|
11454
11488
|
{
|
|
11455
11489
|
"kind": "field",
|
|
11456
|
-
"name": "
|
|
11490
|
+
"name": "placeholder",
|
|
11457
11491
|
"type": {
|
|
11458
|
-
"text": "
|
|
11492
|
+
"text": "string"
|
|
11459
11493
|
},
|
|
11460
|
-
"
|
|
11494
|
+
"default": "\"placeholder\"",
|
|
11495
|
+
"description": "The input's placeholder text.",
|
|
11496
|
+
"attribute": "placeholder",
|
|
11497
|
+
"reflects": true
|
|
11461
11498
|
},
|
|
11462
11499
|
{
|
|
11463
11500
|
"kind": "field",
|
|
11464
|
-
"name": "
|
|
11501
|
+
"name": "pattern",
|
|
11465
11502
|
"type": {
|
|
11466
|
-
"text": "
|
|
11503
|
+
"text": "string"
|
|
11467
11504
|
},
|
|
11468
|
-
"
|
|
11505
|
+
"description": "A pattern to validate input against.",
|
|
11506
|
+
"attribute": "pattern"
|
|
11469
11507
|
},
|
|
11470
11508
|
{
|
|
11471
11509
|
"kind": "field",
|
|
11472
|
-
"name": "
|
|
11510
|
+
"name": "autofocus",
|
|
11473
11511
|
"type": {
|
|
11474
11512
|
"text": "boolean"
|
|
11475
11513
|
},
|
|
11476
11514
|
"default": "false",
|
|
11477
|
-
"description": "
|
|
11478
|
-
"attribute": "
|
|
11515
|
+
"description": "Autofocus the input",
|
|
11516
|
+
"attribute": "autofocus",
|
|
11479
11517
|
"reflects": true
|
|
11480
11518
|
},
|
|
11481
11519
|
{
|
|
11482
11520
|
"kind": "field",
|
|
11483
|
-
"name": "
|
|
11521
|
+
"name": "readonly",
|
|
11484
11522
|
"type": {
|
|
11485
|
-
"text": "
|
|
11523
|
+
"text": "boolean"
|
|
11486
11524
|
},
|
|
11487
|
-
"default": "
|
|
11488
|
-
"description": "
|
|
11489
|
-
"attribute": "
|
|
11525
|
+
"default": "false",
|
|
11526
|
+
"description": "Makes the input readonly.",
|
|
11527
|
+
"attribute": "readonly",
|
|
11490
11528
|
"reflects": true
|
|
11491
11529
|
},
|
|
11492
11530
|
{
|
|
11493
11531
|
"kind": "field",
|
|
11494
|
-
"name": "
|
|
11532
|
+
"name": "autocomplete",
|
|
11495
11533
|
"type": {
|
|
11496
|
-
"text": "
|
|
11534
|
+
"text": "string"
|
|
11497
11535
|
},
|
|
11498
|
-
"default": "\"
|
|
11499
|
-
"description": "
|
|
11500
|
-
"attribute": "
|
|
11536
|
+
"default": "\"on\"",
|
|
11537
|
+
"description": "Controlling of autocomplete behaviour",
|
|
11538
|
+
"attribute": "autocomplete",
|
|
11501
11539
|
"reflects": true
|
|
11502
11540
|
},
|
|
11503
11541
|
{
|
|
11504
11542
|
"kind": "field",
|
|
11505
|
-
"name": "
|
|
11543
|
+
"name": "step",
|
|
11506
11544
|
"type": {
|
|
11507
|
-
"text": "
|
|
11545
|
+
"text": "number | \"any\""
|
|
11508
11546
|
},
|
|
11509
|
-
"
|
|
11547
|
+
"description": "Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is\nimplied, allowing any numeric value. Only applies to number input types.",
|
|
11548
|
+
"attribute": "step"
|
|
11510
11549
|
},
|
|
11511
11550
|
{
|
|
11512
11551
|
"kind": "field",
|
|
11513
|
-
"name": "
|
|
11552
|
+
"name": "hasFeedback",
|
|
11514
11553
|
"type": {
|
|
11515
|
-
"text": "
|
|
11554
|
+
"text": "\"style\" | \"text\" | \"both\""
|
|
11516
11555
|
},
|
|
11517
|
-
"
|
|
11556
|
+
"description": "Allows invalidFeedback, invalid and valid styles to be visible with the input",
|
|
11557
|
+
"attribute": "hasFeedback",
|
|
11558
|
+
"reflects": true
|
|
11518
11559
|
},
|
|
11519
11560
|
{
|
|
11520
|
-
"kind": "
|
|
11521
|
-
"name": "
|
|
11522
|
-
"
|
|
11523
|
-
|
|
11524
|
-
|
|
11525
|
-
|
|
11526
|
-
|
|
11527
|
-
|
|
11528
|
-
}
|
|
11529
|
-
],
|
|
11530
|
-
"type": {}
|
|
11561
|
+
"kind": "field",
|
|
11562
|
+
"name": "invalidFeedback",
|
|
11563
|
+
"type": {
|
|
11564
|
+
"text": "string"
|
|
11565
|
+
},
|
|
11566
|
+
"description": "Feedback text for error state when validated",
|
|
11567
|
+
"attribute": "invalidFeedback",
|
|
11568
|
+
"reflects": true
|
|
11531
11569
|
},
|
|
11532
11570
|
{
|
|
11533
11571
|
"kind": "field",
|
|
11534
|
-
"name": "
|
|
11572
|
+
"name": "defaultValue",
|
|
11573
|
+
"type": {
|
|
11574
|
+
"text": "string"
|
|
11575
|
+
},
|
|
11576
|
+
"default": "\"\"",
|
|
11577
|
+
"description": "Gets or sets the default value used to reset this element. The initial value corresponds to the one originally specified in the HTML that created this element."
|
|
11578
|
+
},
|
|
11579
|
+
{
|
|
11580
|
+
"kind": "field",
|
|
11581
|
+
"name": "valid",
|
|
11535
11582
|
"type": {
|
|
11536
11583
|
"text": "boolean"
|
|
11537
11584
|
},
|
|
11538
11585
|
"default": "false",
|
|
11539
|
-
"description": "
|
|
11540
|
-
"attribute": "
|
|
11541
|
-
"reflects": true
|
|
11542
|
-
"inheritedFrom": {
|
|
11543
|
-
"name": "CardElement",
|
|
11544
|
-
"module": "src/base/card-element.ts"
|
|
11545
|
-
}
|
|
11586
|
+
"description": "Marks the component as valid.",
|
|
11587
|
+
"attribute": "valid",
|
|
11588
|
+
"reflects": true
|
|
11546
11589
|
},
|
|
11547
11590
|
{
|
|
11548
11591
|
"kind": "field",
|
|
11549
|
-
"name": "
|
|
11592
|
+
"name": "loading",
|
|
11550
11593
|
"type": {
|
|
11551
11594
|
"text": "boolean"
|
|
11552
11595
|
},
|
|
11553
11596
|
"default": "false",
|
|
11554
|
-
"description": "
|
|
11555
|
-
"attribute": "
|
|
11556
|
-
"reflects": true
|
|
11557
|
-
"inheritedFrom": {
|
|
11558
|
-
"name": "CardElement",
|
|
11559
|
-
"module": "src/base/card-element.ts"
|
|
11560
|
-
}
|
|
11597
|
+
"description": "Marks the component as loading.",
|
|
11598
|
+
"attribute": "loading",
|
|
11599
|
+
"reflects": true
|
|
11561
11600
|
},
|
|
11562
11601
|
{
|
|
11563
11602
|
"kind": "field",
|
|
11564
|
-
"name": "
|
|
11603
|
+
"name": "required",
|
|
11565
11604
|
"type": {
|
|
11566
11605
|
"text": "boolean"
|
|
11567
11606
|
},
|
|
11568
11607
|
"default": "false",
|
|
11569
|
-
"description": "
|
|
11570
|
-
"attribute": "
|
|
11571
|
-
"reflects": true
|
|
11572
|
-
"inheritedFrom": {
|
|
11573
|
-
"name": "CardElement",
|
|
11574
|
-
"module": "src/base/card-element.ts"
|
|
11575
|
-
}
|
|
11608
|
+
"description": "Makes the input a required field.",
|
|
11609
|
+
"attribute": "required",
|
|
11610
|
+
"reflects": true
|
|
11576
11611
|
},
|
|
11577
11612
|
{
|
|
11578
11613
|
"kind": "field",
|
|
11579
|
-
"name": "
|
|
11614
|
+
"name": "noValidate",
|
|
11580
11615
|
"type": {
|
|
11581
11616
|
"text": "boolean"
|
|
11582
11617
|
},
|
|
11583
11618
|
"default": "false",
|
|
11584
|
-
"description": "
|
|
11585
|
-
"attribute": "
|
|
11586
|
-
"reflects": true
|
|
11587
|
-
"inheritedFrom": {
|
|
11588
|
-
"name": "CardElement",
|
|
11589
|
-
"module": "src/base/card-element.ts"
|
|
11590
|
-
}
|
|
11619
|
+
"description": "Disables native and sgds validation for the input.",
|
|
11620
|
+
"attribute": "noValidate",
|
|
11621
|
+
"reflects": true
|
|
11591
11622
|
},
|
|
11592
11623
|
{
|
|
11593
11624
|
"kind": "field",
|
|
11594
|
-
"name": "
|
|
11625
|
+
"name": "value",
|
|
11595
11626
|
"type": {
|
|
11596
|
-
"text": "
|
|
11627
|
+
"text": "string"
|
|
11597
11628
|
},
|
|
11598
|
-
"default": "\"
|
|
11599
|
-
"description": "
|
|
11600
|
-
"attribute": "
|
|
11601
|
-
"reflects": true
|
|
11602
|
-
"inheritedFrom": {
|
|
11603
|
-
"name": "CardElement",
|
|
11604
|
-
"module": "src/base/card-element.ts"
|
|
11605
|
-
}
|
|
11629
|
+
"default": "\"\"",
|
|
11630
|
+
"description": "The input's value attribute.",
|
|
11631
|
+
"attribute": "value",
|
|
11632
|
+
"reflects": true
|
|
11606
11633
|
},
|
|
11607
11634
|
{
|
|
11608
|
-
"kind": "
|
|
11609
|
-
"name": "
|
|
11610
|
-
"
|
|
11611
|
-
|
|
11612
|
-
|
|
11613
|
-
|
|
11614
|
-
|
|
11615
|
-
|
|
11616
|
-
|
|
11617
|
-
|
|
11618
|
-
"
|
|
11619
|
-
"
|
|
11620
|
-
"
|
|
11621
|
-
|
|
11622
|
-
|
|
11635
|
+
"kind": "field",
|
|
11636
|
+
"name": "_isTouched",
|
|
11637
|
+
"type": {
|
|
11638
|
+
"text": "boolean"
|
|
11639
|
+
},
|
|
11640
|
+
"privacy": "protected",
|
|
11641
|
+
"default": "false"
|
|
11642
|
+
},
|
|
11643
|
+
{
|
|
11644
|
+
"kind": "field",
|
|
11645
|
+
"name": "_showPassword",
|
|
11646
|
+
"type": {
|
|
11647
|
+
"text": "boolean"
|
|
11648
|
+
},
|
|
11649
|
+
"privacy": "private",
|
|
11650
|
+
"default": "false"
|
|
11623
11651
|
},
|
|
11624
11652
|
{
|
|
11625
11653
|
"kind": "method",
|
|
11626
|
-
"name": "
|
|
11627
|
-
"privacy": "
|
|
11654
|
+
"name": "focus",
|
|
11655
|
+
"privacy": "public",
|
|
11628
11656
|
"parameters": [
|
|
11629
11657
|
{
|
|
11630
|
-
"name": "
|
|
11658
|
+
"name": "options",
|
|
11659
|
+
"optional": true,
|
|
11631
11660
|
"type": {
|
|
11632
|
-
"text": "
|
|
11661
|
+
"text": "FocusOptions"
|
|
11633
11662
|
}
|
|
11634
11663
|
}
|
|
11635
11664
|
],
|
|
11636
|
-
"
|
|
11637
|
-
"
|
|
11638
|
-
"name": "CardElement",
|
|
11639
|
-
"module": "src/base/card-element.ts"
|
|
11640
|
-
}
|
|
11665
|
+
"description": "Sets focus on the input.",
|
|
11666
|
+
"type": {}
|
|
11641
11667
|
},
|
|
11642
11668
|
{
|
|
11643
11669
|
"kind": "method",
|
|
11644
|
-
"name": "
|
|
11645
|
-
"
|
|
11646
|
-
|
|
11647
|
-
|
|
11648
|
-
|
|
11649
|
-
|
|
11650
|
-
|
|
11670
|
+
"name": "blur",
|
|
11671
|
+
"privacy": "public",
|
|
11672
|
+
"description": "Sets blur on the input.",
|
|
11673
|
+
"type": {}
|
|
11674
|
+
},
|
|
11675
|
+
{
|
|
11676
|
+
"kind": "method",
|
|
11677
|
+
"name": "reportValidity",
|
|
11678
|
+
"privacy": "public",
|
|
11679
|
+
"return": {
|
|
11680
|
+
"type": {
|
|
11681
|
+
"text": "boolean"
|
|
11651
11682
|
}
|
|
11652
|
-
|
|
11653
|
-
"
|
|
11654
|
-
"
|
|
11655
|
-
"name": "CardElement",
|
|
11656
|
-
"module": "src/base/card-element.ts"
|
|
11657
|
-
}
|
|
11683
|
+
},
|
|
11684
|
+
"description": "Checks for validity. Under the hood, HTMLFormElement's reportValidity method calls this method to check for component's validity state\nNote that the native error popup is prevented for SGDS form components by default. Instead the validation message shows up in the feedback container of SgdsInput",
|
|
11685
|
+
"type": {}
|
|
11658
11686
|
},
|
|
11659
11687
|
{
|
|
11660
11688
|
"kind": "method",
|
|
11661
|
-
"name": "
|
|
11689
|
+
"name": "checkValidity",
|
|
11690
|
+
"privacy": "public",
|
|
11691
|
+
"return": {
|
|
11692
|
+
"type": {
|
|
11693
|
+
"text": "boolean"
|
|
11694
|
+
}
|
|
11695
|
+
},
|
|
11696
|
+
"description": "Checks for validity without any native error popup message",
|
|
11697
|
+
"type": {}
|
|
11698
|
+
},
|
|
11699
|
+
{
|
|
11700
|
+
"kind": "method",
|
|
11701
|
+
"name": "setValidity",
|
|
11702
|
+
"privacy": "public",
|
|
11703
|
+
"return": {
|
|
11704
|
+
"type": {
|
|
11705
|
+
"text": "void"
|
|
11706
|
+
}
|
|
11707
|
+
},
|
|
11662
11708
|
"parameters": [
|
|
11663
11709
|
{
|
|
11664
|
-
"name": "
|
|
11710
|
+
"name": "flags",
|
|
11711
|
+
"optional": true,
|
|
11712
|
+
"type": {
|
|
11713
|
+
"text": "ValidityStateFlags"
|
|
11714
|
+
}
|
|
11715
|
+
},
|
|
11716
|
+
{
|
|
11717
|
+
"name": "message",
|
|
11718
|
+
"optional": true,
|
|
11665
11719
|
"type": {
|
|
11666
11720
|
"text": "string"
|
|
11667
11721
|
}
|
|
11668
11722
|
},
|
|
11669
11723
|
{
|
|
11670
|
-
"name": "
|
|
11724
|
+
"name": "anchor",
|
|
11671
11725
|
"optional": true,
|
|
11672
11726
|
"type": {
|
|
11673
|
-
"text": "
|
|
11727
|
+
"text": "HTMLElement"
|
|
11674
11728
|
}
|
|
11675
11729
|
}
|
|
11676
11730
|
],
|
|
11677
|
-
"description": "
|
|
11678
|
-
"type": {}
|
|
11679
|
-
|
|
11680
|
-
|
|
11681
|
-
|
|
11682
|
-
|
|
11731
|
+
"description": "Checks for validity without any native error popup message",
|
|
11732
|
+
"type": {}
|
|
11733
|
+
},
|
|
11734
|
+
{
|
|
11735
|
+
"kind": "field",
|
|
11736
|
+
"name": "validity",
|
|
11737
|
+
"type": {
|
|
11738
|
+
"text": "ValidityState"
|
|
11739
|
+
},
|
|
11740
|
+
"privacy": "public",
|
|
11741
|
+
"description": "Returns the ValidityState object"
|
|
11742
|
+
},
|
|
11743
|
+
{
|
|
11744
|
+
"kind": "field",
|
|
11745
|
+
"name": "validationMessage",
|
|
11746
|
+
"privacy": "public",
|
|
11747
|
+
"description": "Returns the validation message based on the ValidityState",
|
|
11748
|
+
"type": {}
|
|
11683
11749
|
},
|
|
11684
11750
|
{
|
|
11685
11751
|
"kind": "method",
|
|
11686
|
-
"name": "
|
|
11687
|
-
"
|
|
11752
|
+
"name": "_handleFocus",
|
|
11753
|
+
"privacy": "protected",
|
|
11754
|
+
"type": {}
|
|
11755
|
+
},
|
|
11756
|
+
{
|
|
11757
|
+
"kind": "method",
|
|
11758
|
+
"name": "_handleBlur",
|
|
11759
|
+
"privacy": "protected",
|
|
11760
|
+
"type": {}
|
|
11761
|
+
},
|
|
11762
|
+
{
|
|
11763
|
+
"kind": "method",
|
|
11764
|
+
"name": "_handleClick",
|
|
11765
|
+
"privacy": "private",
|
|
11766
|
+
"type": {}
|
|
11767
|
+
},
|
|
11768
|
+
{
|
|
11769
|
+
"kind": "method",
|
|
11770
|
+
"name": "_handleChange",
|
|
11771
|
+
"privacy": "protected",
|
|
11688
11772
|
"parameters": [
|
|
11689
11773
|
{
|
|
11690
|
-
"name": "
|
|
11774
|
+
"name": "e",
|
|
11691
11775
|
"type": {
|
|
11692
|
-
"text": "
|
|
11776
|
+
"text": "Event"
|
|
11693
11777
|
}
|
|
11694
|
-
}
|
|
11695
|
-
|
|
11696
|
-
|
|
11697
|
-
|
|
11698
|
-
|
|
11778
|
+
}
|
|
11779
|
+
],
|
|
11780
|
+
"type": {}
|
|
11781
|
+
},
|
|
11782
|
+
{
|
|
11783
|
+
"kind": "method",
|
|
11784
|
+
"name": "_handleInputChange",
|
|
11785
|
+
"privacy": "protected",
|
|
11786
|
+
"parameters": [
|
|
11699
11787
|
{
|
|
11700
|
-
"name": "
|
|
11701
|
-
"default": "{}",
|
|
11788
|
+
"name": "e",
|
|
11702
11789
|
"type": {
|
|
11703
|
-
"text": "
|
|
11790
|
+
"text": "Event"
|
|
11704
11791
|
}
|
|
11705
11792
|
}
|
|
11706
11793
|
],
|
|
11707
|
-
"type": {}
|
|
11708
|
-
|
|
11709
|
-
"name": "SgdsElement",
|
|
11710
|
-
"module": "src/base/sgds-element.ts"
|
|
11711
|
-
}
|
|
11712
|
-
}
|
|
11713
|
-
],
|
|
11714
|
-
"attributes": [
|
|
11794
|
+
"type": {}
|
|
11795
|
+
},
|
|
11715
11796
|
{
|
|
11716
|
-
"
|
|
11717
|
-
"
|
|
11718
|
-
|
|
11719
|
-
},
|
|
11720
|
-
"default": "false",
|
|
11721
|
-
"description": "Removes the card's internal padding when set to true.",
|
|
11722
|
-
"fieldName": "noPadding"
|
|
11797
|
+
"kind": "method",
|
|
11798
|
+
"name": "_handleDisabledChange",
|
|
11799
|
+
"type": {}
|
|
11723
11800
|
},
|
|
11724
11801
|
{
|
|
11725
|
-
"
|
|
11726
|
-
"
|
|
11727
|
-
|
|
11728
|
-
}
|
|
11729
|
-
"default": "\"before\"",
|
|
11730
|
-
"description": "Sets the image position of the card. Available options: `before`, `after`",
|
|
11731
|
-
"fieldName": "imagePosition"
|
|
11802
|
+
"kind": "method",
|
|
11803
|
+
"name": "_renderInput",
|
|
11804
|
+
"privacy": "protected",
|
|
11805
|
+
"type": {}
|
|
11732
11806
|
},
|
|
11733
11807
|
{
|
|
11734
|
-
"
|
|
11735
|
-
"
|
|
11736
|
-
|
|
11737
|
-
}
|
|
11738
|
-
"default": "\"default\"",
|
|
11739
|
-
"description": "Controls how the image is sized and aligned within the card. Available options: `default`, `padding around`, `aspect ratio`",
|
|
11740
|
-
"fieldName": "imageAdjustment"
|
|
11808
|
+
"kind": "method",
|
|
11809
|
+
"name": "_renderPasswordToggle",
|
|
11810
|
+
"privacy": "protected",
|
|
11811
|
+
"type": {}
|
|
11741
11812
|
},
|
|
11742
11813
|
{
|
|
11743
|
-
"
|
|
11744
|
-
"
|
|
11745
|
-
|
|
11746
|
-
}
|
|
11747
|
-
"default": "false",
|
|
11748
|
-
"description": "Extends the link passed in either `footer` or `link`(deprecated) slot.",
|
|
11749
|
-
"fieldName": "stretchedLink",
|
|
11750
|
-
"inheritedFrom": {
|
|
11751
|
-
"name": "CardElement",
|
|
11752
|
-
"module": "src/base/card-element.ts"
|
|
11753
|
-
}
|
|
11814
|
+
"kind": "method",
|
|
11815
|
+
"name": "_inputType",
|
|
11816
|
+
"privacy": "protected",
|
|
11817
|
+
"type": {}
|
|
11754
11818
|
},
|
|
11755
11819
|
{
|
|
11756
|
-
"
|
|
11820
|
+
"kind": "method",
|
|
11821
|
+
"name": "_renderFeedback",
|
|
11822
|
+
"privacy": "protected",
|
|
11823
|
+
"type": {}
|
|
11824
|
+
},
|
|
11825
|
+
{
|
|
11826
|
+
"kind": "method",
|
|
11827
|
+
"name": "_renderLabel",
|
|
11828
|
+
"privacy": "protected",
|
|
11829
|
+
"type": {}
|
|
11830
|
+
},
|
|
11831
|
+
{
|
|
11832
|
+
"kind": "method",
|
|
11833
|
+
"name": "_renderHintText",
|
|
11834
|
+
"privacy": "protected",
|
|
11835
|
+
"type": {}
|
|
11836
|
+
},
|
|
11837
|
+
{
|
|
11838
|
+
"kind": "field",
|
|
11839
|
+
"name": "label",
|
|
11757
11840
|
"type": {
|
|
11758
|
-
"text": "
|
|
11841
|
+
"text": "string"
|
|
11759
11842
|
},
|
|
11760
|
-
"default": "
|
|
11761
|
-
"description": "
|
|
11762
|
-
"
|
|
11843
|
+
"default": "\"\"",
|
|
11844
|
+
"description": "The input's label",
|
|
11845
|
+
"attribute": "label",
|
|
11846
|
+
"reflects": true,
|
|
11763
11847
|
"inheritedFrom": {
|
|
11764
|
-
"name": "
|
|
11765
|
-
"module": "src/base/
|
|
11848
|
+
"name": "FormControlElement",
|
|
11849
|
+
"module": "src/base/form-control-element.ts"
|
|
11766
11850
|
}
|
|
11767
11851
|
},
|
|
11768
11852
|
{
|
|
11769
|
-
"
|
|
11770
|
-
"
|
|
11771
|
-
|
|
11853
|
+
"kind": "field",
|
|
11854
|
+
"name": "hintText",
|
|
11855
|
+
"type": {
|
|
11856
|
+
"text": "string"
|
|
11772
11857
|
},
|
|
11773
|
-
"default": "
|
|
11774
|
-
"description": "
|
|
11775
|
-
"
|
|
11858
|
+
"default": "\"\"",
|
|
11859
|
+
"description": "The input's hint text",
|
|
11860
|
+
"attribute": "hintText",
|
|
11861
|
+
"reflects": true,
|
|
11776
11862
|
"inheritedFrom": {
|
|
11777
|
-
"name": "
|
|
11778
|
-
"module": "src/base/
|
|
11863
|
+
"name": "FormControlElement",
|
|
11864
|
+
"module": "src/base/form-control-element.ts"
|
|
11779
11865
|
}
|
|
11780
11866
|
},
|
|
11781
11867
|
{
|
|
11782
|
-
"
|
|
11868
|
+
"kind": "field",
|
|
11869
|
+
"name": "name",
|
|
11870
|
+
"type": {
|
|
11871
|
+
"text": "string"
|
|
11872
|
+
},
|
|
11873
|
+
"description": "The input's name attribute",
|
|
11874
|
+
"attribute": "name",
|
|
11875
|
+
"reflects": true,
|
|
11876
|
+
"inheritedFrom": {
|
|
11877
|
+
"name": "FormControlElement",
|
|
11878
|
+
"module": "src/base/form-control-element.ts"
|
|
11879
|
+
}
|
|
11880
|
+
},
|
|
11881
|
+
{
|
|
11882
|
+
"kind": "field",
|
|
11883
|
+
"name": "disabled",
|
|
11783
11884
|
"type": {
|
|
11784
11885
|
"text": "boolean"
|
|
11785
11886
|
},
|
|
11786
11887
|
"default": "false",
|
|
11787
|
-
"description": "
|
|
11788
|
-
"
|
|
11888
|
+
"description": "Disables the input.",
|
|
11889
|
+
"attribute": "disabled",
|
|
11890
|
+
"reflects": true,
|
|
11789
11891
|
"inheritedFrom": {
|
|
11790
|
-
"name": "
|
|
11791
|
-
"module": "src/base/
|
|
11892
|
+
"name": "FormControlElement",
|
|
11893
|
+
"module": "src/base/form-control-element.ts"
|
|
11792
11894
|
}
|
|
11793
11895
|
},
|
|
11794
11896
|
{
|
|
11795
|
-
"
|
|
11897
|
+
"kind": "field",
|
|
11898
|
+
"name": "invalid",
|
|
11796
11899
|
"type": {
|
|
11797
|
-
"text": "
|
|
11900
|
+
"text": "boolean"
|
|
11798
11901
|
},
|
|
11799
|
-
"default": "
|
|
11800
|
-
"description": "
|
|
11801
|
-
"
|
|
11902
|
+
"default": "false",
|
|
11903
|
+
"description": "Marks the component as invalid. Replace the pseudo :invalid selector for absent in custom elements",
|
|
11904
|
+
"attribute": "invalid",
|
|
11905
|
+
"reflects": true,
|
|
11802
11906
|
"inheritedFrom": {
|
|
11803
|
-
"name": "
|
|
11804
|
-
"module": "src/base/
|
|
11907
|
+
"name": "FormControlElement",
|
|
11908
|
+
"module": "src/base/form-control-element.ts"
|
|
11909
|
+
}
|
|
11910
|
+
},
|
|
11911
|
+
{
|
|
11912
|
+
"kind": "field",
|
|
11913
|
+
"name": "_controlId",
|
|
11914
|
+
"privacy": "protected",
|
|
11915
|
+
"type": {},
|
|
11916
|
+
"inheritedFrom": {
|
|
11917
|
+
"name": "FormControlElement",
|
|
11918
|
+
"module": "src/base/form-control-element.ts"
|
|
11919
|
+
}
|
|
11920
|
+
},
|
|
11921
|
+
{
|
|
11922
|
+
"kind": "field",
|
|
11923
|
+
"name": "_labelId",
|
|
11924
|
+
"privacy": "protected",
|
|
11925
|
+
"type": {},
|
|
11926
|
+
"inheritedFrom": {
|
|
11927
|
+
"name": "FormControlElement",
|
|
11928
|
+
"module": "src/base/form-control-element.ts"
|
|
11929
|
+
}
|
|
11930
|
+
},
|
|
11931
|
+
{
|
|
11932
|
+
"kind": "method",
|
|
11933
|
+
"name": "setInvalid",
|
|
11934
|
+
"privacy": "public",
|
|
11935
|
+
"parameters": [
|
|
11936
|
+
{
|
|
11937
|
+
"name": "bool",
|
|
11938
|
+
"type": {
|
|
11939
|
+
"text": "boolean"
|
|
11940
|
+
}
|
|
11941
|
+
}
|
|
11942
|
+
],
|
|
11943
|
+
"description": "Programatically sets the invalid state of the input. Pass in boolean value in the argument",
|
|
11944
|
+
"type": {},
|
|
11945
|
+
"inheritedFrom": {
|
|
11946
|
+
"name": "FormControlElement",
|
|
11947
|
+
"module": "src/base/form-control-element.ts"
|
|
11948
|
+
}
|
|
11949
|
+
},
|
|
11950
|
+
{
|
|
11951
|
+
"kind": "method",
|
|
11952
|
+
"name": "emit",
|
|
11953
|
+
"parameters": [
|
|
11954
|
+
{
|
|
11955
|
+
"name": "name",
|
|
11956
|
+
"type": {
|
|
11957
|
+
"text": "string"
|
|
11958
|
+
}
|
|
11959
|
+
},
|
|
11960
|
+
{
|
|
11961
|
+
"name": "options",
|
|
11962
|
+
"optional": true,
|
|
11963
|
+
"type": {
|
|
11964
|
+
"text": "CustomEventInit<T>"
|
|
11965
|
+
}
|
|
11966
|
+
}
|
|
11967
|
+
],
|
|
11968
|
+
"description": "Emits a custom event with more convenient defaults.",
|
|
11969
|
+
"type": {},
|
|
11970
|
+
"inheritedFrom": {
|
|
11971
|
+
"name": "SgdsElement",
|
|
11972
|
+
"module": "src/base/sgds-element.ts"
|
|
11973
|
+
}
|
|
11974
|
+
},
|
|
11975
|
+
{
|
|
11976
|
+
"kind": "method",
|
|
11977
|
+
"name": "define",
|
|
11978
|
+
"static": true,
|
|
11979
|
+
"parameters": [
|
|
11980
|
+
{
|
|
11981
|
+
"name": "name",
|
|
11982
|
+
"type": {
|
|
11983
|
+
"text": "string"
|
|
11984
|
+
}
|
|
11985
|
+
},
|
|
11986
|
+
{
|
|
11987
|
+
"name": "elementConstructor",
|
|
11988
|
+
"default": "this"
|
|
11989
|
+
},
|
|
11990
|
+
{
|
|
11991
|
+
"name": "options",
|
|
11992
|
+
"default": "{}",
|
|
11993
|
+
"type": {
|
|
11994
|
+
"text": "ElementDefinitionOptions"
|
|
11995
|
+
}
|
|
11996
|
+
}
|
|
11997
|
+
],
|
|
11998
|
+
"type": {},
|
|
11999
|
+
"inheritedFrom": {
|
|
12000
|
+
"name": "SgdsElement",
|
|
12001
|
+
"module": "src/base/sgds-element.ts"
|
|
11805
12002
|
}
|
|
11806
12003
|
}
|
|
11807
12004
|
],
|
|
11808
|
-
"
|
|
11809
|
-
"name": "CardElement",
|
|
11810
|
-
"module": "/src/base/card-element"
|
|
11811
|
-
},
|
|
11812
|
-
"summary": "Image cards can be used for headers and footers, a wide variety of content, contain contextual background colors and images.",
|
|
11813
|
-
"tagName": "sgds-image-card",
|
|
11814
|
-
"customElement": true,
|
|
11815
|
-
"modulePath": "src/components/ImageCard/sgds-image-card.ts",
|
|
11816
|
-
"cssProperties": [],
|
|
11817
|
-
"cssParts": [],
|
|
11818
|
-
"cssStates": [],
|
|
11819
|
-
"events": []
|
|
11820
|
-
}
|
|
11821
|
-
],
|
|
11822
|
-
"exports": [
|
|
11823
|
-
{
|
|
11824
|
-
"kind": "js",
|
|
11825
|
-
"name": "SgdsImageCard",
|
|
11826
|
-
"declaration": {
|
|
11827
|
-
"name": "SgdsImageCard",
|
|
11828
|
-
"module": "src/components/ImageCard/sgds-image-card.ts"
|
|
11829
|
-
}
|
|
11830
|
-
},
|
|
11831
|
-
{
|
|
11832
|
-
"kind": "js",
|
|
11833
|
-
"name": "default",
|
|
11834
|
-
"declaration": {
|
|
11835
|
-
"name": "SgdsImageCard",
|
|
11836
|
-
"module": "src/components/ImageCard/sgds-image-card.ts"
|
|
11837
|
-
}
|
|
11838
|
-
}
|
|
11839
|
-
]
|
|
11840
|
-
},
|
|
11841
|
-
{
|
|
11842
|
-
"kind": "javascript-module",
|
|
11843
|
-
"path": "src/components/Input/sgds-input.ts",
|
|
11844
|
-
"declarations": [
|
|
11845
|
-
{
|
|
11846
|
-
"kind": "class",
|
|
11847
|
-
"description": "",
|
|
11848
|
-
"name": "SgdsInput",
|
|
11849
|
-
"slots": [
|
|
12005
|
+
"events": [
|
|
11850
12006
|
{
|
|
11851
|
-
"description": "
|
|
11852
|
-
"name": "
|
|
12007
|
+
"description": "Emitted when an alteration to the control's value is committed by the user.",
|
|
12008
|
+
"name": "sgds-change",
|
|
12009
|
+
"reactName": "onSgdsChange"
|
|
11853
12010
|
},
|
|
11854
12011
|
{
|
|
11855
|
-
"description": "
|
|
11856
|
-
"name": "
|
|
12012
|
+
"description": "Emitted when the control receives input and its value changes.",
|
|
12013
|
+
"name": "sgds-input",
|
|
12014
|
+
"reactName": "onSgdsInput"
|
|
11857
12015
|
},
|
|
11858
12016
|
{
|
|
11859
|
-
"description": "
|
|
11860
|
-
"name": "
|
|
12017
|
+
"description": "Emitted when input is in focus.",
|
|
12018
|
+
"name": "sgds-focus",
|
|
12019
|
+
"reactName": "onSgdsFocus"
|
|
12020
|
+
},
|
|
12021
|
+
{
|
|
12022
|
+
"description": "Emitted when input is not in focus.",
|
|
12023
|
+
"name": "sgds-blur",
|
|
12024
|
+
"reactName": "onSgdsBlur"
|
|
12025
|
+
},
|
|
12026
|
+
{
|
|
12027
|
+
"description": "Emitted when input is invalid",
|
|
12028
|
+
"name": "sgds-invalid",
|
|
12029
|
+
"reactName": "onSgdsInvalid"
|
|
12030
|
+
},
|
|
12031
|
+
{
|
|
12032
|
+
"description": "Emitted when input is valid",
|
|
12033
|
+
"name": "sgds-valid",
|
|
12034
|
+
"reactName": "onSgdsValid"
|
|
11861
12035
|
}
|
|
11862
12036
|
],
|
|
11863
|
-
"
|
|
12037
|
+
"attributes": [
|
|
11864
12038
|
{
|
|
11865
|
-
"kind": "field",
|
|
11866
12039
|
"name": "type",
|
|
11867
12040
|
"type": {
|
|
11868
12041
|
"text": "| \"email\"\n | \"number\"\n | \"password\"\n | \"search\"\n | \"tel\"\n | \"text\"\n | \"time\"\n | \"url\"\n | \"datetime-local\""
|
|
11869
12042
|
},
|
|
11870
12043
|
"default": "\"text\"",
|
|
11871
|
-
"
|
|
11872
|
-
"reflects": true
|
|
12044
|
+
"fieldName": "type"
|
|
11873
12045
|
},
|
|
11874
12046
|
{
|
|
11875
|
-
"kind": "field",
|
|
11876
12047
|
"name": "prefix",
|
|
11877
12048
|
"type": {
|
|
11878
12049
|
"text": "string"
|
|
11879
12050
|
},
|
|
11880
12051
|
"description": "The prefix of the input",
|
|
11881
|
-
"
|
|
12052
|
+
"fieldName": "prefix"
|
|
11882
12053
|
},
|
|
11883
12054
|
{
|
|
11884
|
-
"kind": "field",
|
|
11885
12055
|
"name": "suffix",
|
|
11886
12056
|
"type": {
|
|
11887
12057
|
"text": "string"
|
|
11888
12058
|
},
|
|
11889
12059
|
"description": "The suffix of the input",
|
|
11890
|
-
"
|
|
12060
|
+
"fieldName": "suffix"
|
|
11891
12061
|
},
|
|
11892
12062
|
{
|
|
11893
|
-
"kind": "field",
|
|
11894
12063
|
"name": "minlength",
|
|
11895
12064
|
"type": {
|
|
11896
12065
|
"text": "number"
|
|
11897
12066
|
},
|
|
11898
12067
|
"description": "Sets the minimum length of the input",
|
|
11899
|
-
"
|
|
11900
|
-
"reflects": true
|
|
12068
|
+
"fieldName": "minlength"
|
|
11901
12069
|
},
|
|
11902
12070
|
{
|
|
11903
|
-
"kind": "field",
|
|
11904
12071
|
"name": "maxlength",
|
|
11905
12072
|
"type": {
|
|
11906
12073
|
"text": "number"
|
|
11907
12074
|
},
|
|
11908
12075
|
"description": "Sets the maximum length of the input",
|
|
11909
|
-
"
|
|
11910
|
-
"reflects": true
|
|
12076
|
+
"fieldName": "maxlength"
|
|
11911
12077
|
},
|
|
11912
12078
|
{
|
|
11913
|
-
"kind": "field",
|
|
11914
12079
|
"name": "min",
|
|
11915
12080
|
"type": {
|
|
11916
12081
|
"text": "number"
|
|
11917
12082
|
},
|
|
11918
12083
|
"description": "The input's minimum value. Only applies number input types.",
|
|
11919
|
-
"
|
|
12084
|
+
"fieldName": "min"
|
|
11920
12085
|
},
|
|
11921
12086
|
{
|
|
11922
|
-
"kind": "field",
|
|
11923
12087
|
"name": "max",
|
|
11924
12088
|
"type": {
|
|
11925
12089
|
"text": "number"
|
|
11926
12090
|
},
|
|
11927
12091
|
"description": "The input's maximum value. Only applies number input types.",
|
|
11928
|
-
"
|
|
12092
|
+
"fieldName": "max"
|
|
11929
12093
|
},
|
|
11930
12094
|
{
|
|
11931
|
-
"kind": "field",
|
|
11932
12095
|
"name": "placeholder",
|
|
11933
12096
|
"type": {
|
|
11934
12097
|
"text": "string"
|
|
11935
12098
|
},
|
|
11936
12099
|
"default": "\"placeholder\"",
|
|
11937
12100
|
"description": "The input's placeholder text.",
|
|
11938
|
-
"
|
|
11939
|
-
"reflects": true
|
|
11940
|
-
},
|
|
11941
|
-
{
|
|
11942
|
-
"kind": "field",
|
|
11943
|
-
"name": "pattern",
|
|
11944
|
-
"type": {
|
|
11945
|
-
"text": "string"
|
|
11946
|
-
},
|
|
11947
|
-
"description": "A pattern to validate input against.",
|
|
11948
|
-
"attribute": "pattern"
|
|
11949
|
-
},
|
|
11950
|
-
{
|
|
11951
|
-
"kind": "field",
|
|
11952
|
-
"name": "autofocus",
|
|
11953
|
-
"type": {
|
|
11954
|
-
"text": "boolean"
|
|
11955
|
-
},
|
|
11956
|
-
"default": "false",
|
|
11957
|
-
"description": "Autofocus the input",
|
|
11958
|
-
"attribute": "autofocus",
|
|
11959
|
-
"reflects": true
|
|
11960
|
-
},
|
|
11961
|
-
{
|
|
11962
|
-
"kind": "field",
|
|
11963
|
-
"name": "readonly",
|
|
11964
|
-
"type": {
|
|
11965
|
-
"text": "boolean"
|
|
11966
|
-
},
|
|
11967
|
-
"default": "false",
|
|
11968
|
-
"description": "Makes the input readonly.",
|
|
11969
|
-
"attribute": "readonly",
|
|
11970
|
-
"reflects": true
|
|
11971
|
-
},
|
|
11972
|
-
{
|
|
11973
|
-
"kind": "field",
|
|
11974
|
-
"name": "autocomplete",
|
|
11975
|
-
"type": {
|
|
11976
|
-
"text": "string"
|
|
11977
|
-
},
|
|
11978
|
-
"default": "\"on\"",
|
|
11979
|
-
"description": "Controlling of autocomplete behaviour",
|
|
11980
|
-
"attribute": "autocomplete",
|
|
11981
|
-
"reflects": true
|
|
11982
|
-
},
|
|
11983
|
-
{
|
|
11984
|
-
"kind": "field",
|
|
11985
|
-
"name": "step",
|
|
11986
|
-
"type": {
|
|
11987
|
-
"text": "number | \"any\""
|
|
11988
|
-
},
|
|
11989
|
-
"description": "Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is\nimplied, allowing any numeric value. Only applies to number input types.",
|
|
11990
|
-
"attribute": "step"
|
|
11991
|
-
},
|
|
11992
|
-
{
|
|
11993
|
-
"kind": "field",
|
|
11994
|
-
"name": "hasFeedback",
|
|
11995
|
-
"type": {
|
|
11996
|
-
"text": "\"style\" | \"text\" | \"both\""
|
|
11997
|
-
},
|
|
11998
|
-
"description": "Allows invalidFeedback, invalid and valid styles to be visible with the input",
|
|
11999
|
-
"attribute": "hasFeedback",
|
|
12000
|
-
"reflects": true
|
|
12001
|
-
},
|
|
12002
|
-
{
|
|
12003
|
-
"kind": "field",
|
|
12004
|
-
"name": "invalidFeedback",
|
|
12005
|
-
"type": {
|
|
12006
|
-
"text": "string"
|
|
12007
|
-
},
|
|
12008
|
-
"description": "Feedback text for error state when validated",
|
|
12009
|
-
"attribute": "invalidFeedback",
|
|
12010
|
-
"reflects": true
|
|
12011
|
-
},
|
|
12012
|
-
{
|
|
12013
|
-
"kind": "field",
|
|
12014
|
-
"name": "defaultValue",
|
|
12015
|
-
"type": {
|
|
12016
|
-
"text": "string"
|
|
12017
|
-
},
|
|
12018
|
-
"default": "\"\"",
|
|
12019
|
-
"description": "Gets or sets the default value used to reset this element. The initial value corresponds to the one originally specified in the HTML that created this element."
|
|
12020
|
-
},
|
|
12021
|
-
{
|
|
12022
|
-
"kind": "field",
|
|
12023
|
-
"name": "valid",
|
|
12024
|
-
"type": {
|
|
12025
|
-
"text": "boolean"
|
|
12026
|
-
},
|
|
12027
|
-
"default": "false",
|
|
12028
|
-
"description": "Marks the component as valid.",
|
|
12029
|
-
"attribute": "valid",
|
|
12030
|
-
"reflects": true
|
|
12031
|
-
},
|
|
12032
|
-
{
|
|
12033
|
-
"kind": "field",
|
|
12034
|
-
"name": "loading",
|
|
12035
|
-
"type": {
|
|
12036
|
-
"text": "boolean"
|
|
12037
|
-
},
|
|
12038
|
-
"default": "false",
|
|
12039
|
-
"description": "Marks the component as loading.",
|
|
12040
|
-
"attribute": "loading",
|
|
12041
|
-
"reflects": true
|
|
12042
|
-
},
|
|
12043
|
-
{
|
|
12044
|
-
"kind": "field",
|
|
12045
|
-
"name": "required",
|
|
12046
|
-
"type": {
|
|
12047
|
-
"text": "boolean"
|
|
12048
|
-
},
|
|
12049
|
-
"default": "false",
|
|
12050
|
-
"description": "Makes the input a required field.",
|
|
12051
|
-
"attribute": "required",
|
|
12052
|
-
"reflects": true
|
|
12053
|
-
},
|
|
12054
|
-
{
|
|
12055
|
-
"kind": "field",
|
|
12056
|
-
"name": "noValidate",
|
|
12057
|
-
"type": {
|
|
12058
|
-
"text": "boolean"
|
|
12059
|
-
},
|
|
12060
|
-
"default": "false",
|
|
12061
|
-
"description": "Disables native and sgds validation for the input.",
|
|
12062
|
-
"attribute": "noValidate",
|
|
12063
|
-
"reflects": true
|
|
12064
|
-
},
|
|
12065
|
-
{
|
|
12066
|
-
"kind": "field",
|
|
12067
|
-
"name": "value",
|
|
12068
|
-
"type": {
|
|
12069
|
-
"text": "string"
|
|
12070
|
-
},
|
|
12071
|
-
"default": "\"\"",
|
|
12072
|
-
"description": "The input's value attribute.",
|
|
12073
|
-
"attribute": "value",
|
|
12074
|
-
"reflects": true
|
|
12075
|
-
},
|
|
12076
|
-
{
|
|
12077
|
-
"kind": "field",
|
|
12078
|
-
"name": "_isTouched",
|
|
12079
|
-
"type": {
|
|
12080
|
-
"text": "boolean"
|
|
12081
|
-
},
|
|
12082
|
-
"privacy": "protected",
|
|
12083
|
-
"default": "false"
|
|
12084
|
-
},
|
|
12085
|
-
{
|
|
12086
|
-
"kind": "field",
|
|
12087
|
-
"name": "_showPassword",
|
|
12088
|
-
"type": {
|
|
12089
|
-
"text": "boolean"
|
|
12090
|
-
},
|
|
12091
|
-
"privacy": "private",
|
|
12092
|
-
"default": "false"
|
|
12093
|
-
},
|
|
12094
|
-
{
|
|
12095
|
-
"kind": "method",
|
|
12096
|
-
"name": "focus",
|
|
12097
|
-
"privacy": "public",
|
|
12098
|
-
"parameters": [
|
|
12099
|
-
{
|
|
12100
|
-
"name": "options",
|
|
12101
|
-
"optional": true,
|
|
12102
|
-
"type": {
|
|
12103
|
-
"text": "FocusOptions"
|
|
12104
|
-
}
|
|
12105
|
-
}
|
|
12106
|
-
],
|
|
12107
|
-
"description": "Sets focus on the input.",
|
|
12108
|
-
"type": {}
|
|
12109
|
-
},
|
|
12110
|
-
{
|
|
12111
|
-
"kind": "method",
|
|
12112
|
-
"name": "blur",
|
|
12113
|
-
"privacy": "public",
|
|
12114
|
-
"description": "Sets blur on the input.",
|
|
12115
|
-
"type": {}
|
|
12116
|
-
},
|
|
12117
|
-
{
|
|
12118
|
-
"kind": "method",
|
|
12119
|
-
"name": "reportValidity",
|
|
12120
|
-
"privacy": "public",
|
|
12121
|
-
"return": {
|
|
12122
|
-
"type": {
|
|
12123
|
-
"text": "boolean"
|
|
12124
|
-
}
|
|
12125
|
-
},
|
|
12126
|
-
"description": "Checks for validity. Under the hood, HTMLFormElement's reportValidity method calls this method to check for component's validity state\nNote that the native error popup is prevented for SGDS form components by default. Instead the validation message shows up in the feedback container of SgdsInput",
|
|
12127
|
-
"type": {}
|
|
12128
|
-
},
|
|
12129
|
-
{
|
|
12130
|
-
"kind": "method",
|
|
12131
|
-
"name": "checkValidity",
|
|
12132
|
-
"privacy": "public",
|
|
12133
|
-
"return": {
|
|
12134
|
-
"type": {
|
|
12135
|
-
"text": "boolean"
|
|
12136
|
-
}
|
|
12137
|
-
},
|
|
12138
|
-
"description": "Checks for validity without any native error popup message",
|
|
12139
|
-
"type": {}
|
|
12140
|
-
},
|
|
12141
|
-
{
|
|
12142
|
-
"kind": "method",
|
|
12143
|
-
"name": "setValidity",
|
|
12144
|
-
"privacy": "public",
|
|
12145
|
-
"return": {
|
|
12146
|
-
"type": {
|
|
12147
|
-
"text": "void"
|
|
12148
|
-
}
|
|
12149
|
-
},
|
|
12150
|
-
"parameters": [
|
|
12151
|
-
{
|
|
12152
|
-
"name": "flags",
|
|
12153
|
-
"optional": true,
|
|
12154
|
-
"type": {
|
|
12155
|
-
"text": "ValidityStateFlags"
|
|
12156
|
-
}
|
|
12157
|
-
},
|
|
12158
|
-
{
|
|
12159
|
-
"name": "message",
|
|
12160
|
-
"optional": true,
|
|
12161
|
-
"type": {
|
|
12162
|
-
"text": "string"
|
|
12163
|
-
}
|
|
12164
|
-
},
|
|
12165
|
-
{
|
|
12166
|
-
"name": "anchor",
|
|
12167
|
-
"optional": true,
|
|
12168
|
-
"type": {
|
|
12169
|
-
"text": "HTMLElement"
|
|
12170
|
-
}
|
|
12171
|
-
}
|
|
12172
|
-
],
|
|
12173
|
-
"description": "Checks for validity without any native error popup message",
|
|
12174
|
-
"type": {}
|
|
12175
|
-
},
|
|
12176
|
-
{
|
|
12177
|
-
"kind": "field",
|
|
12178
|
-
"name": "validity",
|
|
12179
|
-
"type": {
|
|
12180
|
-
"text": "ValidityState"
|
|
12181
|
-
},
|
|
12182
|
-
"privacy": "public",
|
|
12183
|
-
"description": "Returns the ValidityState object"
|
|
12184
|
-
},
|
|
12185
|
-
{
|
|
12186
|
-
"kind": "field",
|
|
12187
|
-
"name": "validationMessage",
|
|
12188
|
-
"privacy": "public",
|
|
12189
|
-
"description": "Returns the validation message based on the ValidityState",
|
|
12190
|
-
"type": {}
|
|
12101
|
+
"fieldName": "placeholder"
|
|
12191
12102
|
},
|
|
12192
12103
|
{
|
|
12193
|
-
"
|
|
12194
|
-
"
|
|
12195
|
-
|
|
12196
|
-
|
|
12104
|
+
"name": "pattern",
|
|
12105
|
+
"type": {
|
|
12106
|
+
"text": "string"
|
|
12107
|
+
},
|
|
12108
|
+
"description": "A pattern to validate input against.",
|
|
12109
|
+
"fieldName": "pattern"
|
|
12197
12110
|
},
|
|
12198
12111
|
{
|
|
12199
|
-
"
|
|
12200
|
-
"
|
|
12201
|
-
|
|
12202
|
-
|
|
12112
|
+
"name": "autofocus",
|
|
12113
|
+
"type": {
|
|
12114
|
+
"text": "boolean"
|
|
12115
|
+
},
|
|
12116
|
+
"default": "false",
|
|
12117
|
+
"description": "Autofocus the input",
|
|
12118
|
+
"fieldName": "autofocus"
|
|
12203
12119
|
},
|
|
12204
12120
|
{
|
|
12205
|
-
"
|
|
12206
|
-
"
|
|
12207
|
-
|
|
12208
|
-
|
|
12121
|
+
"name": "readonly",
|
|
12122
|
+
"type": {
|
|
12123
|
+
"text": "boolean"
|
|
12124
|
+
},
|
|
12125
|
+
"default": "false",
|
|
12126
|
+
"description": "Makes the input readonly.",
|
|
12127
|
+
"fieldName": "readonly"
|
|
12209
12128
|
},
|
|
12210
12129
|
{
|
|
12211
|
-
"
|
|
12212
|
-
"
|
|
12213
|
-
|
|
12214
|
-
|
|
12215
|
-
|
|
12216
|
-
|
|
12217
|
-
|
|
12218
|
-
"text": "Event"
|
|
12219
|
-
}
|
|
12220
|
-
}
|
|
12221
|
-
],
|
|
12222
|
-
"type": {}
|
|
12130
|
+
"name": "autocomplete",
|
|
12131
|
+
"type": {
|
|
12132
|
+
"text": "string"
|
|
12133
|
+
},
|
|
12134
|
+
"default": "\"on\"",
|
|
12135
|
+
"description": "Controlling of autocomplete behaviour",
|
|
12136
|
+
"fieldName": "autocomplete"
|
|
12223
12137
|
},
|
|
12224
12138
|
{
|
|
12225
|
-
"
|
|
12226
|
-
"
|
|
12227
|
-
|
|
12228
|
-
|
|
12229
|
-
|
|
12230
|
-
|
|
12231
|
-
"type": {
|
|
12232
|
-
"text": "Event"
|
|
12233
|
-
}
|
|
12234
|
-
}
|
|
12235
|
-
],
|
|
12236
|
-
"type": {}
|
|
12139
|
+
"name": "step",
|
|
12140
|
+
"type": {
|
|
12141
|
+
"text": "number | \"any\""
|
|
12142
|
+
},
|
|
12143
|
+
"description": "Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is\nimplied, allowing any numeric value. Only applies to number input types.",
|
|
12144
|
+
"fieldName": "step"
|
|
12237
12145
|
},
|
|
12238
12146
|
{
|
|
12239
|
-
"
|
|
12240
|
-
"
|
|
12241
|
-
|
|
12147
|
+
"name": "hasFeedback",
|
|
12148
|
+
"type": {
|
|
12149
|
+
"text": "\"style\" | \"text\" | \"both\""
|
|
12150
|
+
},
|
|
12151
|
+
"description": "Allows invalidFeedback, invalid and valid styles to be visible with the input",
|
|
12152
|
+
"fieldName": "hasFeedback"
|
|
12242
12153
|
},
|
|
12243
12154
|
{
|
|
12244
|
-
"
|
|
12245
|
-
"
|
|
12246
|
-
|
|
12247
|
-
|
|
12155
|
+
"name": "invalidFeedback",
|
|
12156
|
+
"type": {
|
|
12157
|
+
"text": "string"
|
|
12158
|
+
},
|
|
12159
|
+
"description": "Feedback text for error state when validated",
|
|
12160
|
+
"fieldName": "invalidFeedback"
|
|
12248
12161
|
},
|
|
12249
12162
|
{
|
|
12250
|
-
"
|
|
12251
|
-
"
|
|
12252
|
-
|
|
12253
|
-
|
|
12163
|
+
"name": "valid",
|
|
12164
|
+
"type": {
|
|
12165
|
+
"text": "boolean"
|
|
12166
|
+
},
|
|
12167
|
+
"default": "false",
|
|
12168
|
+
"description": "Marks the component as valid.",
|
|
12169
|
+
"fieldName": "valid"
|
|
12254
12170
|
},
|
|
12255
12171
|
{
|
|
12256
|
-
"
|
|
12257
|
-
"
|
|
12258
|
-
|
|
12259
|
-
|
|
12172
|
+
"name": "loading",
|
|
12173
|
+
"type": {
|
|
12174
|
+
"text": "boolean"
|
|
12175
|
+
},
|
|
12176
|
+
"default": "false",
|
|
12177
|
+
"description": "Marks the component as loading.",
|
|
12178
|
+
"fieldName": "loading"
|
|
12260
12179
|
},
|
|
12261
12180
|
{
|
|
12262
|
-
"
|
|
12263
|
-
"
|
|
12264
|
-
|
|
12265
|
-
|
|
12181
|
+
"name": "required",
|
|
12182
|
+
"type": {
|
|
12183
|
+
"text": "boolean"
|
|
12184
|
+
},
|
|
12185
|
+
"default": "false",
|
|
12186
|
+
"description": "Makes the input a required field.",
|
|
12187
|
+
"fieldName": "required"
|
|
12266
12188
|
},
|
|
12267
12189
|
{
|
|
12268
|
-
"
|
|
12269
|
-
"
|
|
12270
|
-
|
|
12271
|
-
|
|
12190
|
+
"name": "noValidate",
|
|
12191
|
+
"type": {
|
|
12192
|
+
"text": "boolean"
|
|
12193
|
+
},
|
|
12194
|
+
"default": "false",
|
|
12195
|
+
"description": "Disables native and sgds validation for the input.",
|
|
12196
|
+
"fieldName": "noValidate"
|
|
12272
12197
|
},
|
|
12273
12198
|
{
|
|
12274
|
-
"
|
|
12275
|
-
"
|
|
12276
|
-
|
|
12277
|
-
|
|
12199
|
+
"name": "value",
|
|
12200
|
+
"type": {
|
|
12201
|
+
"text": "string"
|
|
12202
|
+
},
|
|
12203
|
+
"default": "\"\"",
|
|
12204
|
+
"description": "The input's value attribute.",
|
|
12205
|
+
"fieldName": "value"
|
|
12278
12206
|
},
|
|
12279
12207
|
{
|
|
12280
|
-
"kind": "field",
|
|
12281
12208
|
"name": "label",
|
|
12282
12209
|
"type": {
|
|
12283
12210
|
"text": "string"
|
|
12284
12211
|
},
|
|
12285
12212
|
"default": "\"\"",
|
|
12286
12213
|
"description": "The input's label",
|
|
12287
|
-
"
|
|
12288
|
-
"reflects": true,
|
|
12214
|
+
"fieldName": "label",
|
|
12289
12215
|
"inheritedFrom": {
|
|
12290
12216
|
"name": "FormControlElement",
|
|
12291
12217
|
"module": "src/base/form-control-element.ts"
|
|
12292
12218
|
}
|
|
12293
12219
|
},
|
|
12294
12220
|
{
|
|
12295
|
-
"kind": "field",
|
|
12296
12221
|
"name": "hintText",
|
|
12297
12222
|
"type": {
|
|
12298
12223
|
"text": "string"
|
|
12299
12224
|
},
|
|
12300
12225
|
"default": "\"\"",
|
|
12301
12226
|
"description": "The input's hint text",
|
|
12302
|
-
"
|
|
12303
|
-
"reflects": true,
|
|
12227
|
+
"fieldName": "hintText",
|
|
12304
12228
|
"inheritedFrom": {
|
|
12305
12229
|
"name": "FormControlElement",
|
|
12306
12230
|
"module": "src/base/form-control-element.ts"
|
|
12307
12231
|
}
|
|
12308
12232
|
},
|
|
12309
12233
|
{
|
|
12310
|
-
"kind": "field",
|
|
12311
12234
|
"name": "name",
|
|
12312
12235
|
"type": {
|
|
12313
12236
|
"text": "string"
|
|
12314
12237
|
},
|
|
12315
12238
|
"description": "The input's name attribute",
|
|
12316
|
-
"
|
|
12317
|
-
"reflects": true,
|
|
12239
|
+
"fieldName": "name",
|
|
12318
12240
|
"inheritedFrom": {
|
|
12319
12241
|
"name": "FormControlElement",
|
|
12320
12242
|
"module": "src/base/form-control-element.ts"
|
|
12321
12243
|
}
|
|
12322
12244
|
},
|
|
12323
12245
|
{
|
|
12324
|
-
"kind": "field",
|
|
12325
12246
|
"name": "disabled",
|
|
12326
12247
|
"type": {
|
|
12327
12248
|
"text": "boolean"
|
|
12328
12249
|
},
|
|
12329
12250
|
"default": "false",
|
|
12330
12251
|
"description": "Disables the input.",
|
|
12331
|
-
"
|
|
12332
|
-
"reflects": true,
|
|
12252
|
+
"fieldName": "disabled",
|
|
12333
12253
|
"inheritedFrom": {
|
|
12334
12254
|
"name": "FormControlElement",
|
|
12335
12255
|
"module": "src/base/form-control-element.ts"
|
|
12336
12256
|
}
|
|
12337
12257
|
},
|
|
12338
12258
|
{
|
|
12339
|
-
"kind": "field",
|
|
12340
12259
|
"name": "invalid",
|
|
12341
12260
|
"type": {
|
|
12342
12261
|
"text": "boolean"
|
|
12343
12262
|
},
|
|
12344
12263
|
"default": "false",
|
|
12345
12264
|
"description": "Marks the component as invalid. Replace the pseudo :invalid selector for absent in custom elements",
|
|
12346
|
-
"
|
|
12347
|
-
"reflects": true,
|
|
12348
|
-
"inheritedFrom": {
|
|
12349
|
-
"name": "FormControlElement",
|
|
12350
|
-
"module": "src/base/form-control-element.ts"
|
|
12351
|
-
}
|
|
12352
|
-
},
|
|
12353
|
-
{
|
|
12354
|
-
"kind": "field",
|
|
12355
|
-
"name": "_controlId",
|
|
12356
|
-
"privacy": "protected",
|
|
12357
|
-
"type": {},
|
|
12358
|
-
"inheritedFrom": {
|
|
12359
|
-
"name": "FormControlElement",
|
|
12360
|
-
"module": "src/base/form-control-element.ts"
|
|
12361
|
-
}
|
|
12362
|
-
},
|
|
12363
|
-
{
|
|
12364
|
-
"kind": "field",
|
|
12365
|
-
"name": "_labelId",
|
|
12366
|
-
"privacy": "protected",
|
|
12367
|
-
"type": {},
|
|
12368
|
-
"inheritedFrom": {
|
|
12369
|
-
"name": "FormControlElement",
|
|
12370
|
-
"module": "src/base/form-control-element.ts"
|
|
12371
|
-
}
|
|
12372
|
-
},
|
|
12373
|
-
{
|
|
12374
|
-
"kind": "method",
|
|
12375
|
-
"name": "setInvalid",
|
|
12376
|
-
"privacy": "public",
|
|
12377
|
-
"parameters": [
|
|
12378
|
-
{
|
|
12379
|
-
"name": "bool",
|
|
12380
|
-
"type": {
|
|
12381
|
-
"text": "boolean"
|
|
12382
|
-
}
|
|
12383
|
-
}
|
|
12384
|
-
],
|
|
12385
|
-
"description": "Programatically sets the invalid state of the input. Pass in boolean value in the argument",
|
|
12386
|
-
"type": {},
|
|
12387
|
-
"inheritedFrom": {
|
|
12388
|
-
"name": "FormControlElement",
|
|
12389
|
-
"module": "src/base/form-control-element.ts"
|
|
12390
|
-
}
|
|
12391
|
-
},
|
|
12392
|
-
{
|
|
12393
|
-
"kind": "method",
|
|
12394
|
-
"name": "emit",
|
|
12395
|
-
"parameters": [
|
|
12396
|
-
{
|
|
12397
|
-
"name": "name",
|
|
12398
|
-
"type": {
|
|
12399
|
-
"text": "string"
|
|
12400
|
-
}
|
|
12401
|
-
},
|
|
12402
|
-
{
|
|
12403
|
-
"name": "options",
|
|
12404
|
-
"optional": true,
|
|
12405
|
-
"type": {
|
|
12406
|
-
"text": "CustomEventInit<T>"
|
|
12407
|
-
}
|
|
12408
|
-
}
|
|
12409
|
-
],
|
|
12410
|
-
"description": "Emits a custom event with more convenient defaults.",
|
|
12411
|
-
"type": {},
|
|
12412
|
-
"inheritedFrom": {
|
|
12413
|
-
"name": "SgdsElement",
|
|
12414
|
-
"module": "src/base/sgds-element.ts"
|
|
12415
|
-
}
|
|
12416
|
-
},
|
|
12417
|
-
{
|
|
12418
|
-
"kind": "method",
|
|
12419
|
-
"name": "define",
|
|
12420
|
-
"static": true,
|
|
12421
|
-
"parameters": [
|
|
12422
|
-
{
|
|
12423
|
-
"name": "name",
|
|
12424
|
-
"type": {
|
|
12425
|
-
"text": "string"
|
|
12426
|
-
}
|
|
12427
|
-
},
|
|
12428
|
-
{
|
|
12429
|
-
"name": "elementConstructor",
|
|
12430
|
-
"default": "this"
|
|
12431
|
-
},
|
|
12432
|
-
{
|
|
12433
|
-
"name": "options",
|
|
12434
|
-
"default": "{}",
|
|
12435
|
-
"type": {
|
|
12436
|
-
"text": "ElementDefinitionOptions"
|
|
12437
|
-
}
|
|
12438
|
-
}
|
|
12439
|
-
],
|
|
12440
|
-
"type": {},
|
|
12265
|
+
"fieldName": "invalid",
|
|
12441
12266
|
"inheritedFrom": {
|
|
12442
|
-
"name": "
|
|
12443
|
-
"module": "src/base/
|
|
12267
|
+
"name": "FormControlElement",
|
|
12268
|
+
"module": "src/base/form-control-element.ts"
|
|
12444
12269
|
}
|
|
12445
12270
|
}
|
|
12446
12271
|
],
|
|
12447
|
-
"
|
|
12272
|
+
"mixins": [
|
|
12448
12273
|
{
|
|
12449
|
-
"
|
|
12450
|
-
"
|
|
12451
|
-
|
|
12274
|
+
"name": "SgdsFormValidatorMixin",
|
|
12275
|
+
"module": "/src/utils/validatorMixin"
|
|
12276
|
+
}
|
|
12277
|
+
],
|
|
12278
|
+
"superclass": {
|
|
12279
|
+
"name": "FormControlElement",
|
|
12280
|
+
"module": "/src/base/form-control-element"
|
|
12281
|
+
},
|
|
12282
|
+
"summary": "Text inputs allow your users to enter letters, numbers and symbols on a single line.",
|
|
12283
|
+
"tagName": "sgds-input",
|
|
12284
|
+
"customElement": true,
|
|
12285
|
+
"modulePath": "src/components/Input/sgds-input.ts",
|
|
12286
|
+
"cssProperties": [],
|
|
12287
|
+
"cssParts": [],
|
|
12288
|
+
"cssStates": []
|
|
12289
|
+
}
|
|
12290
|
+
],
|
|
12291
|
+
"exports": [
|
|
12292
|
+
{
|
|
12293
|
+
"kind": "js",
|
|
12294
|
+
"name": "SgdsInput",
|
|
12295
|
+
"declaration": {
|
|
12296
|
+
"name": "SgdsInput",
|
|
12297
|
+
"module": "src/components/Input/sgds-input.ts"
|
|
12298
|
+
}
|
|
12299
|
+
},
|
|
12300
|
+
{
|
|
12301
|
+
"kind": "js",
|
|
12302
|
+
"name": "default",
|
|
12303
|
+
"declaration": {
|
|
12304
|
+
"name": "SgdsInput",
|
|
12305
|
+
"module": "src/components/Input/sgds-input.ts"
|
|
12306
|
+
}
|
|
12307
|
+
}
|
|
12308
|
+
]
|
|
12309
|
+
},
|
|
12310
|
+
{
|
|
12311
|
+
"kind": "javascript-module",
|
|
12312
|
+
"path": "src/components/ImageCard/sgds-image-card.ts",
|
|
12313
|
+
"declarations": [
|
|
12314
|
+
{
|
|
12315
|
+
"kind": "class",
|
|
12316
|
+
"description": "",
|
|
12317
|
+
"name": "SgdsImageCard",
|
|
12318
|
+
"slots": [
|
|
12319
|
+
{
|
|
12320
|
+
"description": "The content area of the card, placed directly under the title. Accepts any HTML or custom elements.",
|
|
12321
|
+
"name": "default"
|
|
12452
12322
|
},
|
|
12453
12323
|
{
|
|
12454
|
-
"description": "
|
|
12455
|
-
"name": "
|
|
12456
|
-
"reactName": "onSgdsInput"
|
|
12324
|
+
"description": "Accepts an image or svg element of the card. Only a single element is allowed to be passed in.",
|
|
12325
|
+
"name": "image"
|
|
12457
12326
|
},
|
|
12458
12327
|
{
|
|
12459
|
-
"description": "
|
|
12460
|
-
"name": "
|
|
12461
|
-
"reactName": "onSgdsFocus"
|
|
12328
|
+
"description": "Accepts an element for a badge, positioned at the top-left corner of the image.",
|
|
12329
|
+
"name": "image-badge"
|
|
12462
12330
|
},
|
|
12463
12331
|
{
|
|
12464
|
-
"description": "
|
|
12465
|
-
"name": "
|
|
12466
|
-
"reactName": "onSgdsBlur"
|
|
12332
|
+
"description": "Accepts an element for an overflow or contextual menu, positioned at the top-right corner of the image. Typically used for action menu.",
|
|
12333
|
+
"name": "image-action"
|
|
12467
12334
|
},
|
|
12468
12335
|
{
|
|
12469
|
-
"description": "
|
|
12470
|
-
"name": "
|
|
12471
|
-
"reactName": "onSgdsInvalid"
|
|
12336
|
+
"description": "Accepts any content to be displayed at the top of the subtitle. Commonly used for badges, status indicators, or decorative elements.",
|
|
12337
|
+
"name": "upper"
|
|
12472
12338
|
},
|
|
12473
12339
|
{
|
|
12474
|
-
"description": "
|
|
12475
|
-
"name": "
|
|
12476
|
-
|
|
12477
|
-
}
|
|
12478
|
-
],
|
|
12479
|
-
"attributes": [
|
|
12340
|
+
"description": "The subtitle of the card",
|
|
12341
|
+
"name": "subtitle"
|
|
12342
|
+
},
|
|
12480
12343
|
{
|
|
12481
|
-
"
|
|
12482
|
-
"
|
|
12483
|
-
"text": "| \"email\"\n | \"number\"\n | \"password\"\n | \"search\"\n | \"tel\"\n | \"text\"\n | \"time\"\n | \"url\"\n | \"datetime-local\""
|
|
12484
|
-
},
|
|
12485
|
-
"default": "\"text\"",
|
|
12486
|
-
"fieldName": "type"
|
|
12344
|
+
"description": "The title of the card",
|
|
12345
|
+
"name": "title"
|
|
12487
12346
|
},
|
|
12488
12347
|
{
|
|
12489
|
-
"
|
|
12490
|
-
"
|
|
12491
|
-
"text": "string"
|
|
12492
|
-
},
|
|
12493
|
-
"description": "The prefix of the input",
|
|
12494
|
-
"fieldName": "prefix"
|
|
12348
|
+
"description": "The paragrapher text of the card",
|
|
12349
|
+
"name": "description"
|
|
12495
12350
|
},
|
|
12496
12351
|
{
|
|
12497
|
-
"
|
|
12498
|
-
"
|
|
12499
|
-
"text": "string"
|
|
12500
|
-
},
|
|
12501
|
-
"description": "The suffix of the input",
|
|
12502
|
-
"fieldName": "suffix"
|
|
12352
|
+
"description": "Accepts any additional content to be displayed below the card description, such as badges, metadata, or supplementary information.",
|
|
12353
|
+
"name": "lower"
|
|
12503
12354
|
},
|
|
12504
12355
|
{
|
|
12505
|
-
"
|
|
12506
|
-
"
|
|
12507
|
-
"text": "number"
|
|
12508
|
-
},
|
|
12509
|
-
"description": "Sets the minimum length of the input",
|
|
12510
|
-
"fieldName": "minlength"
|
|
12356
|
+
"description": "Footer area of the card. Accepts links, actions, or any custom content.",
|
|
12357
|
+
"name": "footer"
|
|
12511
12358
|
},
|
|
12512
12359
|
{
|
|
12513
|
-
"
|
|
12360
|
+
"description": "(@deprecated) Deprecated since 3.3.2 in favour of `footer` slot. Legacy slot for anchor elements. Use `footer` instead.",
|
|
12361
|
+
"name": "link"
|
|
12362
|
+
}
|
|
12363
|
+
],
|
|
12364
|
+
"members": [
|
|
12365
|
+
{
|
|
12366
|
+
"kind": "field",
|
|
12367
|
+
"name": "footerNode",
|
|
12514
12368
|
"type": {
|
|
12515
|
-
"text": "
|
|
12369
|
+
"text": "HTMLElement[]"
|
|
12516
12370
|
},
|
|
12517
|
-
"
|
|
12518
|
-
"fieldName": "maxlength"
|
|
12371
|
+
"privacy": "private"
|
|
12519
12372
|
},
|
|
12520
12373
|
{
|
|
12521
|
-
"
|
|
12374
|
+
"kind": "field",
|
|
12375
|
+
"name": "linkNode",
|
|
12522
12376
|
"type": {
|
|
12523
|
-
"text": "
|
|
12377
|
+
"text": "HTMLAnchorElement[] | SgdsLink[]"
|
|
12524
12378
|
},
|
|
12525
|
-
"
|
|
12526
|
-
"fieldName": "min"
|
|
12379
|
+
"privacy": "private"
|
|
12527
12380
|
},
|
|
12528
12381
|
{
|
|
12529
|
-
"
|
|
12382
|
+
"kind": "field",
|
|
12383
|
+
"name": "noPadding",
|
|
12530
12384
|
"type": {
|
|
12531
|
-
"text": "
|
|
12385
|
+
"text": "boolean"
|
|
12532
12386
|
},
|
|
12533
|
-
"
|
|
12534
|
-
"
|
|
12387
|
+
"default": "false",
|
|
12388
|
+
"description": "Removes the card's internal padding when set to true.",
|
|
12389
|
+
"attribute": "noPadding",
|
|
12390
|
+
"reflects": true
|
|
12535
12391
|
},
|
|
12536
12392
|
{
|
|
12537
|
-
"
|
|
12393
|
+
"kind": "field",
|
|
12394
|
+
"name": "imagePosition",
|
|
12538
12395
|
"type": {
|
|
12539
|
-
"text": "
|
|
12396
|
+
"text": "CardImagePosition"
|
|
12540
12397
|
},
|
|
12541
|
-
"default": "\"
|
|
12542
|
-
"description": "
|
|
12543
|
-
"
|
|
12398
|
+
"default": "\"before\"",
|
|
12399
|
+
"description": "Sets the image position of the card. Available options: `before`, `after`",
|
|
12400
|
+
"attribute": "imagePosition",
|
|
12401
|
+
"reflects": true
|
|
12544
12402
|
},
|
|
12545
12403
|
{
|
|
12546
|
-
"
|
|
12404
|
+
"kind": "field",
|
|
12405
|
+
"name": "imageAdjustment",
|
|
12547
12406
|
"type": {
|
|
12548
|
-
"text": "
|
|
12407
|
+
"text": "CardImageAdjustment"
|
|
12549
12408
|
},
|
|
12550
|
-
"
|
|
12551
|
-
"
|
|
12409
|
+
"default": "\"default\"",
|
|
12410
|
+
"description": "Controls how the image is sized and aligned within the card. Available options: `default`, `padding around`, `aspect ratio`",
|
|
12411
|
+
"attribute": "imageAdjustment",
|
|
12412
|
+
"reflects": true
|
|
12552
12413
|
},
|
|
12553
12414
|
{
|
|
12554
|
-
"
|
|
12415
|
+
"kind": "field",
|
|
12416
|
+
"name": "linkSlotItems",
|
|
12555
12417
|
"type": {
|
|
12556
|
-
"text": "
|
|
12418
|
+
"text": "HTMLAnchorElement | null"
|
|
12557
12419
|
},
|
|
12558
|
-
"
|
|
12559
|
-
"description": "Autofocus the input",
|
|
12560
|
-
"fieldName": "autofocus"
|
|
12420
|
+
"privacy": "private"
|
|
12561
12421
|
},
|
|
12562
12422
|
{
|
|
12563
|
-
"
|
|
12423
|
+
"kind": "field",
|
|
12424
|
+
"name": "footerSlotItems",
|
|
12564
12425
|
"type": {
|
|
12565
|
-
"text": "
|
|
12426
|
+
"text": "HTMLAnchorElement | null"
|
|
12566
12427
|
},
|
|
12567
|
-
"
|
|
12568
|
-
"description": "Makes the input readonly.",
|
|
12569
|
-
"fieldName": "readonly"
|
|
12428
|
+
"privacy": "private"
|
|
12570
12429
|
},
|
|
12571
12430
|
{
|
|
12572
|
-
"
|
|
12573
|
-
"
|
|
12574
|
-
|
|
12575
|
-
|
|
12576
|
-
|
|
12577
|
-
|
|
12578
|
-
|
|
12431
|
+
"kind": "method",
|
|
12432
|
+
"name": "handleImgSlotChange",
|
|
12433
|
+
"parameters": [
|
|
12434
|
+
{
|
|
12435
|
+
"name": "e",
|
|
12436
|
+
"type": {
|
|
12437
|
+
"text": "Event"
|
|
12438
|
+
}
|
|
12439
|
+
}
|
|
12440
|
+
],
|
|
12441
|
+
"type": {}
|
|
12579
12442
|
},
|
|
12580
12443
|
{
|
|
12581
|
-
"
|
|
12444
|
+
"kind": "field",
|
|
12445
|
+
"name": "stretchedLink",
|
|
12582
12446
|
"type": {
|
|
12583
|
-
"text": "
|
|
12447
|
+
"text": "boolean"
|
|
12584
12448
|
},
|
|
12585
|
-
"
|
|
12586
|
-
"
|
|
12449
|
+
"default": "false",
|
|
12450
|
+
"description": "Extends the link passed in either `footer` or `link`(deprecated) slot.",
|
|
12451
|
+
"attribute": "stretchedLink",
|
|
12452
|
+
"reflects": true,
|
|
12453
|
+
"inheritedFrom": {
|
|
12454
|
+
"name": "CardElement",
|
|
12455
|
+
"module": "src/base/card-element.ts"
|
|
12456
|
+
}
|
|
12587
12457
|
},
|
|
12588
12458
|
{
|
|
12589
|
-
"
|
|
12459
|
+
"kind": "field",
|
|
12460
|
+
"name": "disabled",
|
|
12590
12461
|
"type": {
|
|
12591
|
-
"text": "
|
|
12462
|
+
"text": "boolean"
|
|
12592
12463
|
},
|
|
12593
|
-
"
|
|
12594
|
-
"
|
|
12464
|
+
"default": "false",
|
|
12465
|
+
"description": "Disables the card",
|
|
12466
|
+
"attribute": "disabled",
|
|
12467
|
+
"reflects": true,
|
|
12468
|
+
"inheritedFrom": {
|
|
12469
|
+
"name": "CardElement",
|
|
12470
|
+
"module": "src/base/card-element.ts"
|
|
12471
|
+
}
|
|
12595
12472
|
},
|
|
12596
12473
|
{
|
|
12597
|
-
"
|
|
12474
|
+
"kind": "field",
|
|
12475
|
+
"name": "hideBorder",
|
|
12598
12476
|
"type": {
|
|
12599
|
-
"text": "
|
|
12477
|
+
"text": "boolean"
|
|
12600
12478
|
},
|
|
12601
|
-
"
|
|
12602
|
-
"
|
|
12479
|
+
"default": "false",
|
|
12480
|
+
"description": "When true, hides the default border of the card.",
|
|
12481
|
+
"attribute": "hideBorder",
|
|
12482
|
+
"reflects": true,
|
|
12483
|
+
"inheritedFrom": {
|
|
12484
|
+
"name": "CardElement",
|
|
12485
|
+
"module": "src/base/card-element.ts"
|
|
12486
|
+
}
|
|
12603
12487
|
},
|
|
12604
12488
|
{
|
|
12605
|
-
"
|
|
12489
|
+
"kind": "field",
|
|
12490
|
+
"name": "tinted",
|
|
12606
12491
|
"type": {
|
|
12607
12492
|
"text": "boolean"
|
|
12608
12493
|
},
|
|
12609
12494
|
"default": "false",
|
|
12610
|
-
"description": "
|
|
12611
|
-
"
|
|
12495
|
+
"description": "When true, applies a tinted background color to the card.",
|
|
12496
|
+
"attribute": "tinted",
|
|
12497
|
+
"reflects": true,
|
|
12498
|
+
"inheritedFrom": {
|
|
12499
|
+
"name": "CardElement",
|
|
12500
|
+
"module": "src/base/card-element.ts"
|
|
12501
|
+
}
|
|
12612
12502
|
},
|
|
12613
12503
|
{
|
|
12614
|
-
"
|
|
12504
|
+
"kind": "field",
|
|
12505
|
+
"name": "orientation",
|
|
12615
12506
|
"type": {
|
|
12616
|
-
"text": "
|
|
12507
|
+
"text": "CardOrientation"
|
|
12617
12508
|
},
|
|
12618
|
-
"default": "
|
|
12619
|
-
"description": "
|
|
12620
|
-
"
|
|
12509
|
+
"default": "\"vertical\"",
|
|
12510
|
+
"description": "Sets the orientation of the card. Available options: `vertical`, `horizontal`",
|
|
12511
|
+
"attribute": "orientation",
|
|
12512
|
+
"reflects": true,
|
|
12513
|
+
"inheritedFrom": {
|
|
12514
|
+
"name": "CardElement",
|
|
12515
|
+
"module": "src/base/card-element.ts"
|
|
12516
|
+
}
|
|
12621
12517
|
},
|
|
12622
12518
|
{
|
|
12623
|
-
"
|
|
12519
|
+
"kind": "method",
|
|
12520
|
+
"name": "handleTitleSlotChange",
|
|
12521
|
+
"parameters": [
|
|
12522
|
+
{
|
|
12523
|
+
"name": "e",
|
|
12524
|
+
"type": {
|
|
12525
|
+
"text": "Event"
|
|
12526
|
+
}
|
|
12527
|
+
}
|
|
12528
|
+
],
|
|
12529
|
+
"type": {},
|
|
12530
|
+
"inheritedFrom": {
|
|
12531
|
+
"name": "CardElement",
|
|
12532
|
+
"module": "src/base/card-element.ts"
|
|
12533
|
+
}
|
|
12534
|
+
},
|
|
12535
|
+
{
|
|
12536
|
+
"kind": "method",
|
|
12537
|
+
"name": "_forwardAnchorAttributes",
|
|
12538
|
+
"privacy": "protected",
|
|
12539
|
+
"parameters": [
|
|
12540
|
+
{
|
|
12541
|
+
"name": "anchor",
|
|
12542
|
+
"type": {
|
|
12543
|
+
"text": "HTMLAnchorElement | null"
|
|
12544
|
+
}
|
|
12545
|
+
}
|
|
12546
|
+
],
|
|
12547
|
+
"type": {},
|
|
12548
|
+
"inheritedFrom": {
|
|
12549
|
+
"name": "CardElement",
|
|
12550
|
+
"module": "src/base/card-element.ts"
|
|
12551
|
+
}
|
|
12552
|
+
},
|
|
12553
|
+
{
|
|
12554
|
+
"kind": "method",
|
|
12555
|
+
"name": "warnLinkSlotMisused",
|
|
12556
|
+
"parameters": [
|
|
12557
|
+
{
|
|
12558
|
+
"name": "e",
|
|
12559
|
+
"type": {
|
|
12560
|
+
"text": "Event"
|
|
12561
|
+
}
|
|
12562
|
+
}
|
|
12563
|
+
],
|
|
12564
|
+
"type": {},
|
|
12565
|
+
"inheritedFrom": {
|
|
12566
|
+
"name": "CardElement",
|
|
12567
|
+
"module": "src/base/card-element.ts"
|
|
12568
|
+
}
|
|
12569
|
+
},
|
|
12570
|
+
{
|
|
12571
|
+
"kind": "method",
|
|
12572
|
+
"name": "emit",
|
|
12573
|
+
"parameters": [
|
|
12574
|
+
{
|
|
12575
|
+
"name": "name",
|
|
12576
|
+
"type": {
|
|
12577
|
+
"text": "string"
|
|
12578
|
+
}
|
|
12579
|
+
},
|
|
12580
|
+
{
|
|
12581
|
+
"name": "options",
|
|
12582
|
+
"optional": true,
|
|
12583
|
+
"type": {
|
|
12584
|
+
"text": "CustomEventInit<T>"
|
|
12585
|
+
}
|
|
12586
|
+
}
|
|
12587
|
+
],
|
|
12588
|
+
"description": "Emits a custom event with more convenient defaults.",
|
|
12589
|
+
"type": {},
|
|
12590
|
+
"inheritedFrom": {
|
|
12591
|
+
"name": "SgdsElement",
|
|
12592
|
+
"module": "src/base/sgds-element.ts"
|
|
12593
|
+
}
|
|
12594
|
+
},
|
|
12595
|
+
{
|
|
12596
|
+
"kind": "method",
|
|
12597
|
+
"name": "define",
|
|
12598
|
+
"static": true,
|
|
12599
|
+
"parameters": [
|
|
12600
|
+
{
|
|
12601
|
+
"name": "name",
|
|
12602
|
+
"type": {
|
|
12603
|
+
"text": "string"
|
|
12604
|
+
}
|
|
12605
|
+
},
|
|
12606
|
+
{
|
|
12607
|
+
"name": "elementConstructor",
|
|
12608
|
+
"default": "this"
|
|
12609
|
+
},
|
|
12610
|
+
{
|
|
12611
|
+
"name": "options",
|
|
12612
|
+
"default": "{}",
|
|
12613
|
+
"type": {
|
|
12614
|
+
"text": "ElementDefinitionOptions"
|
|
12615
|
+
}
|
|
12616
|
+
}
|
|
12617
|
+
],
|
|
12618
|
+
"type": {},
|
|
12619
|
+
"inheritedFrom": {
|
|
12620
|
+
"name": "SgdsElement",
|
|
12621
|
+
"module": "src/base/sgds-element.ts"
|
|
12622
|
+
}
|
|
12623
|
+
}
|
|
12624
|
+
],
|
|
12625
|
+
"attributes": [
|
|
12626
|
+
{
|
|
12627
|
+
"name": "noPadding",
|
|
12624
12628
|
"type": {
|
|
12625
12629
|
"text": "boolean"
|
|
12626
12630
|
},
|
|
12627
12631
|
"default": "false",
|
|
12628
|
-
"description": "
|
|
12629
|
-
"fieldName": "
|
|
12632
|
+
"description": "Removes the card's internal padding when set to true.",
|
|
12633
|
+
"fieldName": "noPadding"
|
|
12630
12634
|
},
|
|
12631
12635
|
{
|
|
12632
|
-
"name": "
|
|
12636
|
+
"name": "imagePosition",
|
|
12633
12637
|
"type": {
|
|
12634
|
-
"text": "
|
|
12638
|
+
"text": "CardImagePosition"
|
|
12635
12639
|
},
|
|
12636
|
-
"default": "
|
|
12637
|
-
"description": "
|
|
12638
|
-
"fieldName": "
|
|
12640
|
+
"default": "\"before\"",
|
|
12641
|
+
"description": "Sets the image position of the card. Available options: `before`, `after`",
|
|
12642
|
+
"fieldName": "imagePosition"
|
|
12639
12643
|
},
|
|
12640
12644
|
{
|
|
12641
|
-
"name": "
|
|
12645
|
+
"name": "imageAdjustment",
|
|
12642
12646
|
"type": {
|
|
12643
|
-
"text": "
|
|
12647
|
+
"text": "CardImageAdjustment"
|
|
12644
12648
|
},
|
|
12645
|
-
"default": "\"\"",
|
|
12646
|
-
"description": "
|
|
12647
|
-
"fieldName": "
|
|
12649
|
+
"default": "\"default\"",
|
|
12650
|
+
"description": "Controls how the image is sized and aligned within the card. Available options: `default`, `padding around`, `aspect ratio`",
|
|
12651
|
+
"fieldName": "imageAdjustment"
|
|
12648
12652
|
},
|
|
12649
12653
|
{
|
|
12650
|
-
"name": "
|
|
12654
|
+
"name": "stretchedLink",
|
|
12651
12655
|
"type": {
|
|
12652
|
-
"text": "
|
|
12656
|
+
"text": "boolean"
|
|
12653
12657
|
},
|
|
12654
|
-
"default": "
|
|
12655
|
-
"description": "
|
|
12656
|
-
"fieldName": "
|
|
12658
|
+
"default": "false",
|
|
12659
|
+
"description": "Extends the link passed in either `footer` or `link`(deprecated) slot.",
|
|
12660
|
+
"fieldName": "stretchedLink",
|
|
12657
12661
|
"inheritedFrom": {
|
|
12658
|
-
"name": "
|
|
12659
|
-
"module": "src/base/
|
|
12662
|
+
"name": "CardElement",
|
|
12663
|
+
"module": "src/base/card-element.ts"
|
|
12660
12664
|
}
|
|
12661
12665
|
},
|
|
12662
12666
|
{
|
|
12663
|
-
"name": "
|
|
12667
|
+
"name": "disabled",
|
|
12664
12668
|
"type": {
|
|
12665
|
-
"text": "
|
|
12669
|
+
"text": "boolean"
|
|
12666
12670
|
},
|
|
12667
|
-
"default": "
|
|
12668
|
-
"description": "
|
|
12669
|
-
"fieldName": "
|
|
12671
|
+
"default": "false",
|
|
12672
|
+
"description": "Disables the card",
|
|
12673
|
+
"fieldName": "disabled",
|
|
12670
12674
|
"inheritedFrom": {
|
|
12671
|
-
"name": "
|
|
12672
|
-
"module": "src/base/
|
|
12675
|
+
"name": "CardElement",
|
|
12676
|
+
"module": "src/base/card-element.ts"
|
|
12673
12677
|
}
|
|
12674
12678
|
},
|
|
12675
12679
|
{
|
|
12676
|
-
"name": "
|
|
12680
|
+
"name": "hideBorder",
|
|
12677
12681
|
"type": {
|
|
12678
|
-
"text": "
|
|
12682
|
+
"text": "boolean"
|
|
12679
12683
|
},
|
|
12680
|
-
"
|
|
12681
|
-
"
|
|
12684
|
+
"default": "false",
|
|
12685
|
+
"description": "When true, hides the default border of the card.",
|
|
12686
|
+
"fieldName": "hideBorder",
|
|
12682
12687
|
"inheritedFrom": {
|
|
12683
|
-
"name": "
|
|
12684
|
-
"module": "src/base/
|
|
12688
|
+
"name": "CardElement",
|
|
12689
|
+
"module": "src/base/card-element.ts"
|
|
12685
12690
|
}
|
|
12686
12691
|
},
|
|
12687
12692
|
{
|
|
12688
|
-
"name": "
|
|
12693
|
+
"name": "tinted",
|
|
12689
12694
|
"type": {
|
|
12690
12695
|
"text": "boolean"
|
|
12691
12696
|
},
|
|
12692
12697
|
"default": "false",
|
|
12693
|
-
"description": "
|
|
12694
|
-
"fieldName": "
|
|
12698
|
+
"description": "When true, applies a tinted background color to the card.",
|
|
12699
|
+
"fieldName": "tinted",
|
|
12695
12700
|
"inheritedFrom": {
|
|
12696
|
-
"name": "
|
|
12697
|
-
"module": "src/base/
|
|
12701
|
+
"name": "CardElement",
|
|
12702
|
+
"module": "src/base/card-element.ts"
|
|
12698
12703
|
}
|
|
12699
12704
|
},
|
|
12700
12705
|
{
|
|
12701
|
-
"name": "
|
|
12706
|
+
"name": "orientation",
|
|
12702
12707
|
"type": {
|
|
12703
|
-
"text": "
|
|
12708
|
+
"text": "CardOrientation"
|
|
12704
12709
|
},
|
|
12705
|
-
"default": "
|
|
12706
|
-
"description": "
|
|
12707
|
-
"fieldName": "
|
|
12710
|
+
"default": "\"vertical\"",
|
|
12711
|
+
"description": "Sets the orientation of the card. Available options: `vertical`, `horizontal`",
|
|
12712
|
+
"fieldName": "orientation",
|
|
12708
12713
|
"inheritedFrom": {
|
|
12709
|
-
"name": "
|
|
12710
|
-
"module": "src/base/
|
|
12714
|
+
"name": "CardElement",
|
|
12715
|
+
"module": "src/base/card-element.ts"
|
|
12711
12716
|
}
|
|
12712
12717
|
}
|
|
12713
12718
|
],
|
|
12714
|
-
"mixins": [
|
|
12715
|
-
{
|
|
12716
|
-
"name": "SgdsFormValidatorMixin",
|
|
12717
|
-
"module": "/src/utils/validatorMixin"
|
|
12718
|
-
}
|
|
12719
|
-
],
|
|
12720
12719
|
"superclass": {
|
|
12721
|
-
"name": "
|
|
12722
|
-
"module": "/src/base/
|
|
12720
|
+
"name": "CardElement",
|
|
12721
|
+
"module": "/src/base/card-element"
|
|
12723
12722
|
},
|
|
12724
|
-
"summary": "
|
|
12725
|
-
"tagName": "sgds-
|
|
12723
|
+
"summary": "Image cards can be used for headers and footers, a wide variety of content, contain contextual background colors and images.",
|
|
12724
|
+
"tagName": "sgds-image-card",
|
|
12726
12725
|
"customElement": true,
|
|
12727
|
-
"modulePath": "src/components/
|
|
12726
|
+
"modulePath": "src/components/ImageCard/sgds-image-card.ts",
|
|
12728
12727
|
"cssProperties": [],
|
|
12729
12728
|
"cssParts": [],
|
|
12730
|
-
"cssStates": []
|
|
12729
|
+
"cssStates": [],
|
|
12730
|
+
"events": []
|
|
12731
12731
|
}
|
|
12732
12732
|
],
|
|
12733
12733
|
"exports": [
|
|
12734
12734
|
{
|
|
12735
12735
|
"kind": "js",
|
|
12736
|
-
"name": "
|
|
12736
|
+
"name": "SgdsImageCard",
|
|
12737
12737
|
"declaration": {
|
|
12738
|
-
"name": "
|
|
12739
|
-
"module": "src/components/
|
|
12738
|
+
"name": "SgdsImageCard",
|
|
12739
|
+
"module": "src/components/ImageCard/sgds-image-card.ts"
|
|
12740
12740
|
}
|
|
12741
12741
|
},
|
|
12742
12742
|
{
|
|
12743
12743
|
"kind": "js",
|
|
12744
12744
|
"name": "default",
|
|
12745
12745
|
"declaration": {
|
|
12746
|
-
"name": "
|
|
12747
|
-
"module": "src/components/
|
|
12746
|
+
"name": "SgdsImageCard",
|
|
12747
|
+
"module": "src/components/ImageCard/sgds-image-card.ts"
|
|
12748
12748
|
}
|
|
12749
12749
|
}
|
|
12750
12750
|
]
|
|
@@ -27963,7 +27963,7 @@
|
|
|
27963
27963
|
"package": {
|
|
27964
27964
|
"name": "@govtechsg/sgds-web-component",
|
|
27965
27965
|
"description": "",
|
|
27966
|
-
"version": "3.24.1-rc.
|
|
27966
|
+
"version": "3.24.1-rc.1",
|
|
27967
27967
|
"author": "GovTechSG",
|
|
27968
27968
|
"license": "MIT"
|
|
27969
27969
|
}
|