@genesislcap/foundation-zero 14.149.0 → 14.150.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +873 -873
- package/package.json +12 -12
|
@@ -30529,7 +30529,7 @@
|
|
|
30529
30529
|
},
|
|
30530
30530
|
{
|
|
30531
30531
|
"kind": "javascript-module",
|
|
30532
|
-
"path": "src/
|
|
30532
|
+
"path": "src/switch/index.ts",
|
|
30533
30533
|
"declarations": [],
|
|
30534
30534
|
"exports": [
|
|
30535
30535
|
{
|
|
@@ -30537,7 +30537,7 @@
|
|
|
30537
30537
|
"name": "*",
|
|
30538
30538
|
"declaration": {
|
|
30539
30539
|
"name": "*",
|
|
30540
|
-
"package": "./
|
|
30540
|
+
"package": "./switch"
|
|
30541
30541
|
}
|
|
30542
30542
|
},
|
|
30543
30543
|
{
|
|
@@ -30545,7 +30545,7 @@
|
|
|
30545
30545
|
"name": "*",
|
|
30546
30546
|
"declaration": {
|
|
30547
30547
|
"name": "*",
|
|
30548
|
-
"package": "./
|
|
30548
|
+
"package": "./switch.styles"
|
|
30549
30549
|
}
|
|
30550
30550
|
},
|
|
30551
30551
|
{
|
|
@@ -30553,18 +30553,58 @@
|
|
|
30553
30553
|
"name": "*",
|
|
30554
30554
|
"declaration": {
|
|
30555
30555
|
"name": "*",
|
|
30556
|
-
"package": "./
|
|
30556
|
+
"package": "./switch.template"
|
|
30557
30557
|
}
|
|
30558
30558
|
}
|
|
30559
30559
|
]
|
|
30560
30560
|
},
|
|
30561
30561
|
{
|
|
30562
30562
|
"kind": "javascript-module",
|
|
30563
|
-
"path": "src/
|
|
30563
|
+
"path": "src/switch/switch.stories.ts",
|
|
30564
|
+
"declarations": [
|
|
30565
|
+
{
|
|
30566
|
+
"kind": "variable",
|
|
30567
|
+
"name": "meta",
|
|
30568
|
+
"type": {
|
|
30569
|
+
"text": "Meta"
|
|
30570
|
+
},
|
|
30571
|
+
"default": "{\n title: 'Switch',\n component: 'zero-switch',\n}"
|
|
30572
|
+
},
|
|
30573
|
+
{
|
|
30574
|
+
"kind": "variable",
|
|
30575
|
+
"name": "Primary",
|
|
30576
|
+
"type": {
|
|
30577
|
+
"text": "StoryObj"
|
|
30578
|
+
},
|
|
30579
|
+
"default": "{\n render: () => html`\n <zero-switch checked></zero-switch>\n `,\n}"
|
|
30580
|
+
}
|
|
30581
|
+
],
|
|
30582
|
+
"exports": [
|
|
30583
|
+
{
|
|
30584
|
+
"kind": "js",
|
|
30585
|
+
"name": "default",
|
|
30586
|
+
"declaration": {
|
|
30587
|
+
"name": "meta",
|
|
30588
|
+
"module": "src/switch/switch.stories.ts"
|
|
30589
|
+
}
|
|
30590
|
+
},
|
|
30591
|
+
{
|
|
30592
|
+
"kind": "js",
|
|
30593
|
+
"name": "Primary",
|
|
30594
|
+
"declaration": {
|
|
30595
|
+
"name": "Primary",
|
|
30596
|
+
"module": "src/switch/switch.stories.ts"
|
|
30597
|
+
}
|
|
30598
|
+
}
|
|
30599
|
+
]
|
|
30600
|
+
},
|
|
30601
|
+
{
|
|
30602
|
+
"kind": "javascript-module",
|
|
30603
|
+
"path": "src/switch/switch.styles.ts",
|
|
30564
30604
|
"declarations": [
|
|
30565
30605
|
{
|
|
30566
30606
|
"kind": "function",
|
|
30567
|
-
"name": "
|
|
30607
|
+
"name": "zeroSwitchStyles",
|
|
30568
30608
|
"return": {
|
|
30569
30609
|
"type": {
|
|
30570
30610
|
"text": "ElementStyles"
|
|
@@ -30580,7 +30620,7 @@
|
|
|
30580
30620
|
{
|
|
30581
30621
|
"name": "definition",
|
|
30582
30622
|
"type": {
|
|
30583
|
-
"text": "
|
|
30623
|
+
"text": "SwitchOptions"
|
|
30584
30624
|
}
|
|
30585
30625
|
}
|
|
30586
30626
|
]
|
|
@@ -30589,24 +30629,24 @@
|
|
|
30589
30629
|
"exports": [
|
|
30590
30630
|
{
|
|
30591
30631
|
"kind": "js",
|
|
30592
|
-
"name": "
|
|
30632
|
+
"name": "zeroSwitchStyles",
|
|
30593
30633
|
"declaration": {
|
|
30594
|
-
"name": "
|
|
30595
|
-
"module": "src/
|
|
30634
|
+
"name": "zeroSwitchStyles",
|
|
30635
|
+
"module": "src/switch/switch.styles.ts"
|
|
30596
30636
|
}
|
|
30597
30637
|
}
|
|
30598
30638
|
]
|
|
30599
30639
|
},
|
|
30600
30640
|
{
|
|
30601
30641
|
"kind": "javascript-module",
|
|
30602
|
-
"path": "src/
|
|
30642
|
+
"path": "src/switch/switch.template.ts",
|
|
30603
30643
|
"declarations": [
|
|
30604
30644
|
{
|
|
30605
30645
|
"kind": "function",
|
|
30606
|
-
"name": "
|
|
30646
|
+
"name": "zeroSwitchTemplate",
|
|
30607
30647
|
"return": {
|
|
30608
30648
|
"type": {
|
|
30609
|
-
"text": "ViewTemplate<
|
|
30649
|
+
"text": "ViewTemplate<Switch>"
|
|
30610
30650
|
}
|
|
30611
30651
|
},
|
|
30612
30652
|
"parameters": [
|
|
@@ -30619,7 +30659,7 @@
|
|
|
30619
30659
|
{
|
|
30620
30660
|
"name": "definition",
|
|
30621
30661
|
"type": {
|
|
30622
|
-
"text": "
|
|
30662
|
+
"text": "SwitchOptions"
|
|
30623
30663
|
}
|
|
30624
30664
|
}
|
|
30625
30665
|
]
|
|
@@ -30628,53 +30668,76 @@
|
|
|
30628
30668
|
"exports": [
|
|
30629
30669
|
{
|
|
30630
30670
|
"kind": "js",
|
|
30631
|
-
"name": "
|
|
30671
|
+
"name": "zeroSwitchTemplate",
|
|
30632
30672
|
"declaration": {
|
|
30633
|
-
"name": "
|
|
30634
|
-
"module": "src/
|
|
30673
|
+
"name": "zeroSwitchTemplate",
|
|
30674
|
+
"module": "src/switch/switch.template.ts"
|
|
30635
30675
|
}
|
|
30636
30676
|
}
|
|
30637
30677
|
]
|
|
30638
30678
|
},
|
|
30639
30679
|
{
|
|
30640
30680
|
"kind": "javascript-module",
|
|
30641
|
-
"path": "src/
|
|
30681
|
+
"path": "src/switch/switch.ts",
|
|
30642
30682
|
"declarations": [
|
|
30643
30683
|
{
|
|
30644
30684
|
"kind": "class",
|
|
30645
30685
|
"description": "",
|
|
30646
|
-
"name": "
|
|
30686
|
+
"name": "Switch",
|
|
30647
30687
|
"superclass": {
|
|
30648
|
-
"name": "
|
|
30688
|
+
"name": "FoundationSwitch",
|
|
30649
30689
|
"package": "@genesislcap/foundation-ui"
|
|
30650
30690
|
},
|
|
30651
|
-
"tagName": "%%prefix%%-
|
|
30691
|
+
"tagName": "%%prefix%%-switch",
|
|
30652
30692
|
"customElement": true,
|
|
30653
30693
|
"attributes": [
|
|
30654
30694
|
{
|
|
30695
|
+
"name": "readonly",
|
|
30655
30696
|
"type": {
|
|
30656
30697
|
"text": "boolean"
|
|
30657
30698
|
},
|
|
30658
|
-
"description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/
|
|
30659
|
-
"fieldName": "
|
|
30699
|
+
"description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
|
|
30700
|
+
"fieldName": "readOnly",
|
|
30660
30701
|
"inheritedFrom": {
|
|
30661
|
-
"name": "
|
|
30662
|
-
"module": "src/
|
|
30702
|
+
"name": "Switch",
|
|
30703
|
+
"module": "src/switch/switch.ts"
|
|
30663
30704
|
}
|
|
30664
30705
|
}
|
|
30665
30706
|
],
|
|
30666
30707
|
"members": [
|
|
30667
30708
|
{
|
|
30668
30709
|
"kind": "field",
|
|
30669
|
-
"name": "
|
|
30710
|
+
"name": "readOnly",
|
|
30670
30711
|
"type": {
|
|
30671
30712
|
"text": "boolean"
|
|
30672
30713
|
},
|
|
30673
30714
|
"privacy": "public",
|
|
30674
|
-
"description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/
|
|
30715
|
+
"description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.",
|
|
30675
30716
|
"inheritedFrom": {
|
|
30676
|
-
"name": "
|
|
30677
|
-
"module": "src/
|
|
30717
|
+
"name": "Switch",
|
|
30718
|
+
"module": "src/switch/switch.ts"
|
|
30719
|
+
}
|
|
30720
|
+
},
|
|
30721
|
+
{
|
|
30722
|
+
"kind": "method",
|
|
30723
|
+
"name": "readOnlyChanged",
|
|
30724
|
+
"privacy": "private",
|
|
30725
|
+
"return": {
|
|
30726
|
+
"type": {
|
|
30727
|
+
"text": "void"
|
|
30728
|
+
}
|
|
30729
|
+
},
|
|
30730
|
+
"inheritedFrom": {
|
|
30731
|
+
"name": "Switch",
|
|
30732
|
+
"module": "src/switch/switch.ts"
|
|
30733
|
+
}
|
|
30734
|
+
},
|
|
30735
|
+
{
|
|
30736
|
+
"kind": "field",
|
|
30737
|
+
"name": "proxy",
|
|
30738
|
+
"inheritedFrom": {
|
|
30739
|
+
"name": "Switch",
|
|
30740
|
+
"module": "src/switch/switch.ts"
|
|
30678
30741
|
}
|
|
30679
30742
|
},
|
|
30680
30743
|
{
|
|
@@ -30686,8 +30749,8 @@
|
|
|
30686
30749
|
"privacy": "private",
|
|
30687
30750
|
"default": "void 0",
|
|
30688
30751
|
"inheritedFrom": {
|
|
30689
|
-
"name": "
|
|
30690
|
-
"module": "src/
|
|
30752
|
+
"name": "Switch",
|
|
30753
|
+
"module": "src/switch/switch.ts"
|
|
30691
30754
|
}
|
|
30692
30755
|
},
|
|
30693
30756
|
{
|
|
@@ -30699,8 +30762,8 @@
|
|
|
30699
30762
|
"privacy": "public",
|
|
30700
30763
|
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
30701
30764
|
"inheritedFrom": {
|
|
30702
|
-
"name": "
|
|
30703
|
-
"module": "src/
|
|
30765
|
+
"name": "Switch",
|
|
30766
|
+
"module": "src/switch/switch.ts"
|
|
30704
30767
|
}
|
|
30705
30768
|
},
|
|
30706
30769
|
{
|
|
@@ -30712,8 +30775,8 @@
|
|
|
30712
30775
|
"privacy": "public",
|
|
30713
30776
|
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
30714
30777
|
"inheritedFrom": {
|
|
30715
|
-
"name": "
|
|
30716
|
-
"module": "src/
|
|
30778
|
+
"name": "Switch",
|
|
30779
|
+
"module": "src/switch/switch.ts"
|
|
30717
30780
|
}
|
|
30718
30781
|
},
|
|
30719
30782
|
{
|
|
@@ -30726,8 +30789,8 @@
|
|
|
30726
30789
|
}
|
|
30727
30790
|
},
|
|
30728
30791
|
"inheritedFrom": {
|
|
30729
|
-
"name": "
|
|
30730
|
-
"module": "src/
|
|
30792
|
+
"name": "Switch",
|
|
30793
|
+
"module": "src/switch/switch.ts"
|
|
30731
30794
|
}
|
|
30732
30795
|
},
|
|
30733
30796
|
{
|
|
@@ -30739,8 +30802,8 @@
|
|
|
30739
30802
|
"privacy": "public",
|
|
30740
30803
|
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
30741
30804
|
"inheritedFrom": {
|
|
30742
|
-
"name": "
|
|
30743
|
-
"module": "src/
|
|
30805
|
+
"name": "Switch",
|
|
30806
|
+
"module": "src/switch/switch.ts"
|
|
30744
30807
|
}
|
|
30745
30808
|
},
|
|
30746
30809
|
{
|
|
@@ -30753,8 +30816,8 @@
|
|
|
30753
30816
|
}
|
|
30754
30817
|
},
|
|
30755
30818
|
"inheritedFrom": {
|
|
30756
|
-
"name": "
|
|
30757
|
-
"module": "src/
|
|
30819
|
+
"name": "Switch",
|
|
30820
|
+
"module": "src/switch/switch.ts"
|
|
30758
30821
|
}
|
|
30759
30822
|
},
|
|
30760
30823
|
{
|
|
@@ -30784,39 +30847,49 @@
|
|
|
30784
30847
|
],
|
|
30785
30848
|
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
30786
30849
|
"inheritedFrom": {
|
|
30787
|
-
"name": "
|
|
30788
|
-
"module": "src/
|
|
30850
|
+
"name": "Switch",
|
|
30851
|
+
"module": "src/switch/switch.ts"
|
|
30852
|
+
}
|
|
30853
|
+
}
|
|
30854
|
+
],
|
|
30855
|
+
"events": [
|
|
30856
|
+
{
|
|
30857
|
+
"description": "Emits a custom change event when the checked state changes",
|
|
30858
|
+
"name": "change",
|
|
30859
|
+
"inheritedFrom": {
|
|
30860
|
+
"name": "Switch",
|
|
30861
|
+
"module": "src/switch/switch.ts"
|
|
30789
30862
|
}
|
|
30790
30863
|
}
|
|
30791
30864
|
]
|
|
30792
30865
|
},
|
|
30793
30866
|
{
|
|
30794
30867
|
"kind": "variable",
|
|
30795
|
-
"name": "
|
|
30868
|
+
"name": "zeroSwitch"
|
|
30796
30869
|
}
|
|
30797
30870
|
],
|
|
30798
30871
|
"exports": [
|
|
30799
30872
|
{
|
|
30800
30873
|
"kind": "js",
|
|
30801
|
-
"name": "
|
|
30874
|
+
"name": "Switch",
|
|
30802
30875
|
"declaration": {
|
|
30803
|
-
"name": "
|
|
30804
|
-
"module": "src/
|
|
30876
|
+
"name": "Switch",
|
|
30877
|
+
"module": "src/switch/switch.ts"
|
|
30805
30878
|
}
|
|
30806
30879
|
},
|
|
30807
30880
|
{
|
|
30808
30881
|
"kind": "js",
|
|
30809
|
-
"name": "
|
|
30882
|
+
"name": "zeroSwitch",
|
|
30810
30883
|
"declaration": {
|
|
30811
|
-
"name": "
|
|
30812
|
-
"module": "src/
|
|
30884
|
+
"name": "zeroSwitch",
|
|
30885
|
+
"module": "src/switch/switch.ts"
|
|
30813
30886
|
}
|
|
30814
30887
|
}
|
|
30815
30888
|
]
|
|
30816
30889
|
},
|
|
30817
30890
|
{
|
|
30818
30891
|
"kind": "javascript-module",
|
|
30819
|
-
"path": "src/
|
|
30892
|
+
"path": "src/tab/index.ts",
|
|
30820
30893
|
"declarations": [],
|
|
30821
30894
|
"exports": [
|
|
30822
30895
|
{
|
|
@@ -30824,7 +30897,7 @@
|
|
|
30824
30897
|
"name": "*",
|
|
30825
30898
|
"declaration": {
|
|
30826
30899
|
"name": "*",
|
|
30827
|
-
"package": "./
|
|
30900
|
+
"package": "./tab"
|
|
30828
30901
|
}
|
|
30829
30902
|
},
|
|
30830
30903
|
{
|
|
@@ -30832,7 +30905,7 @@
|
|
|
30832
30905
|
"name": "*",
|
|
30833
30906
|
"declaration": {
|
|
30834
30907
|
"name": "*",
|
|
30835
|
-
"package": "./
|
|
30908
|
+
"package": "./tab.styles"
|
|
30836
30909
|
}
|
|
30837
30910
|
},
|
|
30838
30911
|
{
|
|
@@ -30840,58 +30913,18 @@
|
|
|
30840
30913
|
"name": "*",
|
|
30841
30914
|
"declaration": {
|
|
30842
30915
|
"name": "*",
|
|
30843
|
-
"package": "./
|
|
30844
|
-
}
|
|
30845
|
-
}
|
|
30846
|
-
]
|
|
30847
|
-
},
|
|
30848
|
-
{
|
|
30849
|
-
"kind": "javascript-module",
|
|
30850
|
-
"path": "src/switch/switch.stories.ts",
|
|
30851
|
-
"declarations": [
|
|
30852
|
-
{
|
|
30853
|
-
"kind": "variable",
|
|
30854
|
-
"name": "meta",
|
|
30855
|
-
"type": {
|
|
30856
|
-
"text": "Meta"
|
|
30857
|
-
},
|
|
30858
|
-
"default": "{\n title: 'Switch',\n component: 'zero-switch',\n}"
|
|
30859
|
-
},
|
|
30860
|
-
{
|
|
30861
|
-
"kind": "variable",
|
|
30862
|
-
"name": "Primary",
|
|
30863
|
-
"type": {
|
|
30864
|
-
"text": "StoryObj"
|
|
30865
|
-
},
|
|
30866
|
-
"default": "{\n render: () => html`\n <zero-switch checked></zero-switch>\n `,\n}"
|
|
30867
|
-
}
|
|
30868
|
-
],
|
|
30869
|
-
"exports": [
|
|
30870
|
-
{
|
|
30871
|
-
"kind": "js",
|
|
30872
|
-
"name": "default",
|
|
30873
|
-
"declaration": {
|
|
30874
|
-
"name": "meta",
|
|
30875
|
-
"module": "src/switch/switch.stories.ts"
|
|
30876
|
-
}
|
|
30877
|
-
},
|
|
30878
|
-
{
|
|
30879
|
-
"kind": "js",
|
|
30880
|
-
"name": "Primary",
|
|
30881
|
-
"declaration": {
|
|
30882
|
-
"name": "Primary",
|
|
30883
|
-
"module": "src/switch/switch.stories.ts"
|
|
30916
|
+
"package": "./tab.template"
|
|
30884
30917
|
}
|
|
30885
30918
|
}
|
|
30886
30919
|
]
|
|
30887
30920
|
},
|
|
30888
30921
|
{
|
|
30889
30922
|
"kind": "javascript-module",
|
|
30890
|
-
"path": "src/
|
|
30923
|
+
"path": "src/tab/tab.styles.ts",
|
|
30891
30924
|
"declarations": [
|
|
30892
30925
|
{
|
|
30893
30926
|
"kind": "function",
|
|
30894
|
-
"name": "
|
|
30927
|
+
"name": "zeroTabStyles",
|
|
30895
30928
|
"return": {
|
|
30896
30929
|
"type": {
|
|
30897
30930
|
"text": "ElementStyles"
|
|
@@ -30907,7 +30940,7 @@
|
|
|
30907
30940
|
{
|
|
30908
30941
|
"name": "definition",
|
|
30909
30942
|
"type": {
|
|
30910
|
-
"text": "
|
|
30943
|
+
"text": "FoundationElementDefinition"
|
|
30911
30944
|
}
|
|
30912
30945
|
}
|
|
30913
30946
|
]
|
|
@@ -30916,24 +30949,24 @@
|
|
|
30916
30949
|
"exports": [
|
|
30917
30950
|
{
|
|
30918
30951
|
"kind": "js",
|
|
30919
|
-
"name": "
|
|
30952
|
+
"name": "zeroTabStyles",
|
|
30920
30953
|
"declaration": {
|
|
30921
|
-
"name": "
|
|
30922
|
-
"module": "src/
|
|
30954
|
+
"name": "zeroTabStyles",
|
|
30955
|
+
"module": "src/tab/tab.styles.ts"
|
|
30923
30956
|
}
|
|
30924
30957
|
}
|
|
30925
30958
|
]
|
|
30926
30959
|
},
|
|
30927
30960
|
{
|
|
30928
30961
|
"kind": "javascript-module",
|
|
30929
|
-
"path": "src/
|
|
30962
|
+
"path": "src/tab/tab.template.ts",
|
|
30930
30963
|
"declarations": [
|
|
30931
30964
|
{
|
|
30932
30965
|
"kind": "function",
|
|
30933
|
-
"name": "
|
|
30966
|
+
"name": "zeroTabTemplate",
|
|
30934
30967
|
"return": {
|
|
30935
30968
|
"type": {
|
|
30936
|
-
"text": "ViewTemplate<
|
|
30969
|
+
"text": "ViewTemplate<Tab>"
|
|
30937
30970
|
}
|
|
30938
30971
|
},
|
|
30939
30972
|
"parameters": [
|
|
@@ -30946,7 +30979,7 @@
|
|
|
30946
30979
|
{
|
|
30947
30980
|
"name": "definition",
|
|
30948
30981
|
"type": {
|
|
30949
|
-
"text": "
|
|
30982
|
+
"text": "FoundationElementDefinition"
|
|
30950
30983
|
}
|
|
30951
30984
|
}
|
|
30952
30985
|
]
|
|
@@ -30955,76 +30988,53 @@
|
|
|
30955
30988
|
"exports": [
|
|
30956
30989
|
{
|
|
30957
30990
|
"kind": "js",
|
|
30958
|
-
"name": "
|
|
30991
|
+
"name": "zeroTabTemplate",
|
|
30959
30992
|
"declaration": {
|
|
30960
|
-
"name": "
|
|
30961
|
-
"module": "src/
|
|
30993
|
+
"name": "zeroTabTemplate",
|
|
30994
|
+
"module": "src/tab/tab.template.ts"
|
|
30962
30995
|
}
|
|
30963
30996
|
}
|
|
30964
30997
|
]
|
|
30965
30998
|
},
|
|
30966
30999
|
{
|
|
30967
31000
|
"kind": "javascript-module",
|
|
30968
|
-
"path": "src/
|
|
31001
|
+
"path": "src/tab/tab.ts",
|
|
30969
31002
|
"declarations": [
|
|
30970
31003
|
{
|
|
30971
31004
|
"kind": "class",
|
|
30972
31005
|
"description": "",
|
|
30973
|
-
"name": "
|
|
31006
|
+
"name": "Tab",
|
|
30974
31007
|
"superclass": {
|
|
30975
|
-
"name": "
|
|
31008
|
+
"name": "FoundationTab",
|
|
30976
31009
|
"package": "@genesislcap/foundation-ui"
|
|
30977
31010
|
},
|
|
30978
|
-
"tagName": "%%prefix%%-
|
|
31011
|
+
"tagName": "%%prefix%%-tab",
|
|
30979
31012
|
"customElement": true,
|
|
30980
31013
|
"attributes": [
|
|
30981
31014
|
{
|
|
30982
|
-
"name": "readonly",
|
|
30983
31015
|
"type": {
|
|
30984
31016
|
"text": "boolean"
|
|
30985
31017
|
},
|
|
30986
|
-
"description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/
|
|
30987
|
-
"fieldName": "
|
|
31018
|
+
"description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute for more information.",
|
|
31019
|
+
"fieldName": "disabled",
|
|
30988
31020
|
"inheritedFrom": {
|
|
30989
|
-
"name": "
|
|
30990
|
-
"module": "src/
|
|
31021
|
+
"name": "Tab",
|
|
31022
|
+
"module": "src/tab/tab.ts"
|
|
30991
31023
|
}
|
|
30992
31024
|
}
|
|
30993
31025
|
],
|
|
30994
31026
|
"members": [
|
|
30995
31027
|
{
|
|
30996
31028
|
"kind": "field",
|
|
30997
|
-
"name": "
|
|
31029
|
+
"name": "disabled",
|
|
30998
31030
|
"type": {
|
|
30999
31031
|
"text": "boolean"
|
|
31000
31032
|
},
|
|
31001
31033
|
"privacy": "public",
|
|
31002
|
-
"description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/
|
|
31003
|
-
"inheritedFrom": {
|
|
31004
|
-
"name": "Switch",
|
|
31005
|
-
"module": "src/switch/switch.ts"
|
|
31006
|
-
}
|
|
31007
|
-
},
|
|
31008
|
-
{
|
|
31009
|
-
"kind": "method",
|
|
31010
|
-
"name": "readOnlyChanged",
|
|
31011
|
-
"privacy": "private",
|
|
31012
|
-
"return": {
|
|
31013
|
-
"type": {
|
|
31014
|
-
"text": "void"
|
|
31015
|
-
}
|
|
31016
|
-
},
|
|
31017
|
-
"inheritedFrom": {
|
|
31018
|
-
"name": "Switch",
|
|
31019
|
-
"module": "src/switch/switch.ts"
|
|
31020
|
-
}
|
|
31021
|
-
},
|
|
31022
|
-
{
|
|
31023
|
-
"kind": "field",
|
|
31024
|
-
"name": "proxy",
|
|
31034
|
+
"description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute} for more information.",
|
|
31025
31035
|
"inheritedFrom": {
|
|
31026
|
-
"name": "
|
|
31027
|
-
"module": "src/
|
|
31036
|
+
"name": "Tab",
|
|
31037
|
+
"module": "src/tab/tab.ts"
|
|
31028
31038
|
}
|
|
31029
31039
|
},
|
|
31030
31040
|
{
|
|
@@ -31036,8 +31046,8 @@
|
|
|
31036
31046
|
"privacy": "private",
|
|
31037
31047
|
"default": "void 0",
|
|
31038
31048
|
"inheritedFrom": {
|
|
31039
|
-
"name": "
|
|
31040
|
-
"module": "src/
|
|
31049
|
+
"name": "Tab",
|
|
31050
|
+
"module": "src/tab/tab.ts"
|
|
31041
31051
|
}
|
|
31042
31052
|
},
|
|
31043
31053
|
{
|
|
@@ -31049,8 +31059,8 @@
|
|
|
31049
31059
|
"privacy": "public",
|
|
31050
31060
|
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
31051
31061
|
"inheritedFrom": {
|
|
31052
|
-
"name": "
|
|
31053
|
-
"module": "src/
|
|
31062
|
+
"name": "Tab",
|
|
31063
|
+
"module": "src/tab/tab.ts"
|
|
31054
31064
|
}
|
|
31055
31065
|
},
|
|
31056
31066
|
{
|
|
@@ -31062,8 +31072,8 @@
|
|
|
31062
31072
|
"privacy": "public",
|
|
31063
31073
|
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
31064
31074
|
"inheritedFrom": {
|
|
31065
|
-
"name": "
|
|
31066
|
-
"module": "src/
|
|
31075
|
+
"name": "Tab",
|
|
31076
|
+
"module": "src/tab/tab.ts"
|
|
31067
31077
|
}
|
|
31068
31078
|
},
|
|
31069
31079
|
{
|
|
@@ -31076,8 +31086,8 @@
|
|
|
31076
31086
|
}
|
|
31077
31087
|
},
|
|
31078
31088
|
"inheritedFrom": {
|
|
31079
|
-
"name": "
|
|
31080
|
-
"module": "src/
|
|
31089
|
+
"name": "Tab",
|
|
31090
|
+
"module": "src/tab/tab.ts"
|
|
31081
31091
|
}
|
|
31082
31092
|
},
|
|
31083
31093
|
{
|
|
@@ -31089,8 +31099,8 @@
|
|
|
31089
31099
|
"privacy": "public",
|
|
31090
31100
|
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
31091
31101
|
"inheritedFrom": {
|
|
31092
|
-
"name": "
|
|
31093
|
-
"module": "src/
|
|
31102
|
+
"name": "Tab",
|
|
31103
|
+
"module": "src/tab/tab.ts"
|
|
31094
31104
|
}
|
|
31095
31105
|
},
|
|
31096
31106
|
{
|
|
@@ -31103,8 +31113,8 @@
|
|
|
31103
31113
|
}
|
|
31104
31114
|
},
|
|
31105
31115
|
"inheritedFrom": {
|
|
31106
|
-
"name": "
|
|
31107
|
-
"module": "src/
|
|
31116
|
+
"name": "Tab",
|
|
31117
|
+
"module": "src/tab/tab.ts"
|
|
31108
31118
|
}
|
|
31109
31119
|
},
|
|
31110
31120
|
{
|
|
@@ -31134,42 +31144,32 @@
|
|
|
31134
31144
|
],
|
|
31135
31145
|
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
31136
31146
|
"inheritedFrom": {
|
|
31137
|
-
"name": "
|
|
31138
|
-
"module": "src/
|
|
31139
|
-
}
|
|
31140
|
-
}
|
|
31141
|
-
],
|
|
31142
|
-
"events": [
|
|
31143
|
-
{
|
|
31144
|
-
"description": "Emits a custom change event when the checked state changes",
|
|
31145
|
-
"name": "change",
|
|
31146
|
-
"inheritedFrom": {
|
|
31147
|
-
"name": "Switch",
|
|
31148
|
-
"module": "src/switch/switch.ts"
|
|
31147
|
+
"name": "Tab",
|
|
31148
|
+
"module": "src/tab/tab.ts"
|
|
31149
31149
|
}
|
|
31150
31150
|
}
|
|
31151
31151
|
]
|
|
31152
31152
|
},
|
|
31153
31153
|
{
|
|
31154
31154
|
"kind": "variable",
|
|
31155
|
-
"name": "
|
|
31155
|
+
"name": "zeroTab"
|
|
31156
31156
|
}
|
|
31157
31157
|
],
|
|
31158
31158
|
"exports": [
|
|
31159
31159
|
{
|
|
31160
31160
|
"kind": "js",
|
|
31161
|
-
"name": "
|
|
31161
|
+
"name": "Tab",
|
|
31162
31162
|
"declaration": {
|
|
31163
|
-
"name": "
|
|
31164
|
-
"module": "src/
|
|
31163
|
+
"name": "Tab",
|
|
31164
|
+
"module": "src/tab/tab.ts"
|
|
31165
31165
|
}
|
|
31166
31166
|
},
|
|
31167
31167
|
{
|
|
31168
31168
|
"kind": "js",
|
|
31169
|
-
"name": "
|
|
31169
|
+
"name": "zeroTab",
|
|
31170
31170
|
"declaration": {
|
|
31171
|
-
"name": "
|
|
31172
|
-
"module": "src/
|
|
31171
|
+
"name": "zeroTab",
|
|
31172
|
+
"module": "src/tab/tab.ts"
|
|
31173
31173
|
}
|
|
31174
31174
|
}
|
|
31175
31175
|
]
|
|
@@ -32795,7 +32795,7 @@
|
|
|
32795
32795
|
},
|
|
32796
32796
|
{
|
|
32797
32797
|
"kind": "javascript-module",
|
|
32798
|
-
"path": "src/
|
|
32798
|
+
"path": "src/text-field/index.ts",
|
|
32799
32799
|
"declarations": [],
|
|
32800
32800
|
"exports": [
|
|
32801
32801
|
{
|
|
@@ -32803,7 +32803,7 @@
|
|
|
32803
32803
|
"name": "*",
|
|
32804
32804
|
"declaration": {
|
|
32805
32805
|
"name": "*",
|
|
32806
|
-
"package": "./
|
|
32806
|
+
"package": "./text-field"
|
|
32807
32807
|
}
|
|
32808
32808
|
},
|
|
32809
32809
|
{
|
|
@@ -32811,22 +32811,22 @@
|
|
|
32811
32811
|
"name": "*",
|
|
32812
32812
|
"declaration": {
|
|
32813
32813
|
"name": "*",
|
|
32814
|
-
"package": "./
|
|
32814
|
+
"package": "./text-field.styles"
|
|
32815
32815
|
}
|
|
32816
32816
|
},
|
|
32817
32817
|
{
|
|
32818
32818
|
"kind": "js",
|
|
32819
|
-
"name": "
|
|
32819
|
+
"name": "*",
|
|
32820
32820
|
"declaration": {
|
|
32821
|
-
"name": "
|
|
32822
|
-
"package": "
|
|
32821
|
+
"name": "*",
|
|
32822
|
+
"package": "./text-field.template"
|
|
32823
32823
|
}
|
|
32824
32824
|
}
|
|
32825
32825
|
]
|
|
32826
32826
|
},
|
|
32827
32827
|
{
|
|
32828
32828
|
"kind": "javascript-module",
|
|
32829
|
-
"path": "src/
|
|
32829
|
+
"path": "src/text-field/text-field.stories.ts",
|
|
32830
32830
|
"declarations": [
|
|
32831
32831
|
{
|
|
32832
32832
|
"kind": "variable",
|
|
@@ -32834,7 +32834,7 @@
|
|
|
32834
32834
|
"type": {
|
|
32835
32835
|
"text": "Meta"
|
|
32836
32836
|
},
|
|
32837
|
-
"default": "{\n title: '
|
|
32837
|
+
"default": "{\n title: 'Text Field',\n component: 'zero-text-field',\n}"
|
|
32838
32838
|
},
|
|
32839
32839
|
{
|
|
32840
32840
|
"kind": "variable",
|
|
@@ -32842,7 +32842,7 @@
|
|
|
32842
32842
|
"type": {
|
|
32843
32843
|
"text": "StoryObj"
|
|
32844
32844
|
},
|
|
32845
|
-
"default": "{\n render: () => html`\n <div style=\"
|
|
32845
|
+
"default": "{\n render: () => html`\n <div style=\"${wrapperStyle}\">\n <zero-text-field placeholder=\"Enter text...\">Text Field</zero-text-field>\n <zero-text-field value=\"some value\">Test label</zero-text-field>\n <zero-text-field value=\"disabled\" disabled>Test label 2</zero-text-field>\n <zero-text-field type=\"datetime-local\">Datetime local type</zero-text-field>\n <zero-text-field type=\"datetime-local\" step=\".001\">\n Datetime local with step attr\n </zero-text-field>\n </div>\n `,\n}"
|
|
32846
32846
|
}
|
|
32847
32847
|
],
|
|
32848
32848
|
"exports": [
|
|
@@ -32851,7 +32851,7 @@
|
|
|
32851
32851
|
"name": "default",
|
|
32852
32852
|
"declaration": {
|
|
32853
32853
|
"name": "meta",
|
|
32854
|
-
"module": "src/
|
|
32854
|
+
"module": "src/text-field/text-field.stories.ts"
|
|
32855
32855
|
}
|
|
32856
32856
|
},
|
|
32857
32857
|
{
|
|
@@ -32859,627 +32859,433 @@
|
|
|
32859
32859
|
"name": "Primary",
|
|
32860
32860
|
"declaration": {
|
|
32861
32861
|
"name": "Primary",
|
|
32862
|
-
"module": "src/
|
|
32862
|
+
"module": "src/text-field/text-field.stories.ts"
|
|
32863
32863
|
}
|
|
32864
32864
|
}
|
|
32865
32865
|
]
|
|
32866
32866
|
},
|
|
32867
32867
|
{
|
|
32868
32868
|
"kind": "javascript-module",
|
|
32869
|
-
"path": "src/
|
|
32869
|
+
"path": "src/text-field/text-field.styles.ts",
|
|
32870
32870
|
"declarations": [
|
|
32871
32871
|
{
|
|
32872
|
-
"kind": "
|
|
32873
|
-
"name": "
|
|
32874
|
-
"
|
|
32872
|
+
"kind": "function",
|
|
32873
|
+
"name": "zeroTextFieldStyles",
|
|
32874
|
+
"return": {
|
|
32875
|
+
"type": {
|
|
32876
|
+
"text": "ElementStyles"
|
|
32877
|
+
}
|
|
32878
|
+
},
|
|
32879
|
+
"parameters": [
|
|
32880
|
+
{
|
|
32881
|
+
"name": "context",
|
|
32882
|
+
"type": {
|
|
32883
|
+
"text": "ElementDefinitionContext"
|
|
32884
|
+
}
|
|
32885
|
+
},
|
|
32886
|
+
{
|
|
32887
|
+
"name": "definition",
|
|
32888
|
+
"type": {
|
|
32889
|
+
"text": "FoundationElementDefinition"
|
|
32890
|
+
}
|
|
32891
|
+
}
|
|
32892
|
+
]
|
|
32875
32893
|
}
|
|
32876
32894
|
],
|
|
32877
32895
|
"exports": [
|
|
32878
32896
|
{
|
|
32879
32897
|
"kind": "js",
|
|
32880
|
-
"name": "
|
|
32898
|
+
"name": "zeroTextFieldStyles",
|
|
32881
32899
|
"declaration": {
|
|
32882
|
-
"name": "
|
|
32883
|
-
"module": "src/
|
|
32900
|
+
"name": "zeroTextFieldStyles",
|
|
32901
|
+
"module": "src/text-field/text-field.styles.ts"
|
|
32884
32902
|
}
|
|
32885
32903
|
}
|
|
32886
32904
|
]
|
|
32887
32905
|
},
|
|
32888
32906
|
{
|
|
32889
32907
|
"kind": "javascript-module",
|
|
32890
|
-
"path": "src/
|
|
32908
|
+
"path": "src/text-field/text-field.template.ts",
|
|
32891
32909
|
"declarations": [
|
|
32892
32910
|
{
|
|
32893
|
-
"kind": "
|
|
32894
|
-
"name": "
|
|
32895
|
-
"
|
|
32896
|
-
|
|
32911
|
+
"kind": "function",
|
|
32912
|
+
"name": "zeroTextFieldTemplate",
|
|
32913
|
+
"return": {
|
|
32914
|
+
"type": {
|
|
32915
|
+
"text": "ViewTemplate<TextField>"
|
|
32916
|
+
}
|
|
32917
|
+
},
|
|
32918
|
+
"parameters": [
|
|
32919
|
+
{
|
|
32920
|
+
"name": "context",
|
|
32921
|
+
"type": {
|
|
32922
|
+
"text": "ElementDefinitionContext"
|
|
32923
|
+
}
|
|
32924
|
+
},
|
|
32925
|
+
{
|
|
32926
|
+
"name": "definition",
|
|
32927
|
+
"type": {
|
|
32928
|
+
"text": "FoundationElementDefinition"
|
|
32929
|
+
}
|
|
32930
|
+
}
|
|
32931
|
+
]
|
|
32932
|
+
}
|
|
32933
|
+
],
|
|
32934
|
+
"exports": [
|
|
32897
32935
|
{
|
|
32898
|
-
"kind": "
|
|
32899
|
-
"name": "
|
|
32900
|
-
"
|
|
32901
|
-
|
|
32936
|
+
"kind": "js",
|
|
32937
|
+
"name": "zeroTextFieldTemplate",
|
|
32938
|
+
"declaration": {
|
|
32939
|
+
"name": "zeroTextFieldTemplate",
|
|
32940
|
+
"module": "src/text-field/text-field.template.ts"
|
|
32941
|
+
}
|
|
32942
|
+
}
|
|
32943
|
+
]
|
|
32944
|
+
},
|
|
32945
|
+
{
|
|
32946
|
+
"kind": "javascript-module",
|
|
32947
|
+
"path": "src/text-field/text-field.ts",
|
|
32948
|
+
"declarations": [
|
|
32902
32949
|
{
|
|
32903
32950
|
"kind": "class",
|
|
32904
32951
|
"description": "",
|
|
32905
|
-
"name": "
|
|
32952
|
+
"name": "TextField",
|
|
32906
32953
|
"superclass": {
|
|
32907
|
-
"name": "
|
|
32954
|
+
"name": "FoundationTextField",
|
|
32908
32955
|
"package": "@genesislcap/foundation-ui"
|
|
32909
32956
|
},
|
|
32910
|
-
"tagName": "%%prefix%%-
|
|
32957
|
+
"tagName": "%%prefix%%-text-field",
|
|
32911
32958
|
"customElement": true,
|
|
32912
32959
|
"attributes": [
|
|
32913
32960
|
{
|
|
32914
|
-
"name": "
|
|
32961
|
+
"name": "autocomplete",
|
|
32915
32962
|
"type": {
|
|
32916
|
-
"text": "
|
|
32963
|
+
"text": "string"
|
|
32917
32964
|
},
|
|
32918
|
-
"
|
|
32919
|
-
"fieldName": "closeTimeout",
|
|
32965
|
+
"fieldName": "autocomplete",
|
|
32920
32966
|
"inheritedFrom": {
|
|
32921
|
-
"name": "
|
|
32922
|
-
"module": "src/
|
|
32967
|
+
"name": "TextField",
|
|
32968
|
+
"module": "src/text-field/text-field.ts"
|
|
32923
32969
|
}
|
|
32924
32970
|
},
|
|
32925
32971
|
{
|
|
32926
|
-
"name": "
|
|
32972
|
+
"name": "autocapitalize",
|
|
32927
32973
|
"type": {
|
|
32928
|
-
"text": "
|
|
32974
|
+
"text": "string"
|
|
32929
32975
|
},
|
|
32930
|
-
"default": "
|
|
32931
|
-
"fieldName": "
|
|
32976
|
+
"default": "'off'",
|
|
32977
|
+
"fieldName": "autocapitalize",
|
|
32932
32978
|
"inheritedFrom": {
|
|
32933
|
-
"name": "
|
|
32934
|
-
"module": "src/
|
|
32979
|
+
"name": "TextField",
|
|
32980
|
+
"module": "src/text-field/text-field.ts"
|
|
32935
32981
|
}
|
|
32936
|
-
}
|
|
32937
|
-
],
|
|
32938
|
-
"members": [
|
|
32982
|
+
},
|
|
32939
32983
|
{
|
|
32940
|
-
"
|
|
32941
|
-
"name": "toast",
|
|
32984
|
+
"name": "step",
|
|
32942
32985
|
"type": {
|
|
32943
|
-
"text": "
|
|
32986
|
+
"text": "number"
|
|
32944
32987
|
},
|
|
32945
|
-
"
|
|
32988
|
+
"fieldName": "step",
|
|
32946
32989
|
"inheritedFrom": {
|
|
32947
|
-
"name": "
|
|
32948
|
-
"module": "src/
|
|
32990
|
+
"name": "TextField",
|
|
32991
|
+
"module": "src/text-field/text-field.ts"
|
|
32949
32992
|
}
|
|
32950
32993
|
},
|
|
32951
32994
|
{
|
|
32952
|
-
"
|
|
32953
|
-
"name": "deleteAnimation",
|
|
32995
|
+
"name": "readonly",
|
|
32954
32996
|
"type": {
|
|
32955
|
-
"text": "
|
|
32997
|
+
"text": "boolean"
|
|
32956
32998
|
},
|
|
32957
|
-
"
|
|
32999
|
+
"description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
|
|
33000
|
+
"fieldName": "readOnly",
|
|
32958
33001
|
"inheritedFrom": {
|
|
32959
|
-
"name": "
|
|
32960
|
-
"module": "src/
|
|
33002
|
+
"name": "TextField",
|
|
33003
|
+
"module": "src/text-field/text-field.ts"
|
|
32961
33004
|
}
|
|
32962
33005
|
},
|
|
32963
33006
|
{
|
|
32964
|
-
"kind": "field",
|
|
32965
|
-
"name": "closeTimeout",
|
|
32966
33007
|
"type": {
|
|
32967
|
-
"text": "
|
|
33008
|
+
"text": "boolean"
|
|
32968
33009
|
},
|
|
32969
|
-
"
|
|
33010
|
+
"description": "Indicates that this element should get focus after the page finishes loading. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute for more information.",
|
|
33011
|
+
"fieldName": "autofocus",
|
|
32970
33012
|
"inheritedFrom": {
|
|
32971
|
-
"name": "
|
|
32972
|
-
"module": "src/
|
|
33013
|
+
"name": "TextField",
|
|
33014
|
+
"module": "src/text-field/text-field.ts"
|
|
33015
|
+
}
|
|
33016
|
+
},
|
|
33017
|
+
{
|
|
33018
|
+
"name": "placeholder",
|
|
33019
|
+
"type": {
|
|
33020
|
+
"text": "string"
|
|
33021
|
+
},
|
|
33022
|
+
"description": "Sets the placeholder value of the element, generally used to provide a hint to the user.",
|
|
33023
|
+
"fieldName": "placeholder",
|
|
33024
|
+
"inheritedFrom": {
|
|
33025
|
+
"name": "TextField",
|
|
33026
|
+
"module": "src/text-field/text-field.ts"
|
|
33027
|
+
}
|
|
33028
|
+
},
|
|
33029
|
+
{
|
|
33030
|
+
"name": "type",
|
|
33031
|
+
"type": {
|
|
33032
|
+
"text": "TextFieldType"
|
|
33033
|
+
},
|
|
33034
|
+
"description": "Allows setting a type or mode of text.",
|
|
33035
|
+
"fieldName": "type",
|
|
33036
|
+
"inheritedFrom": {
|
|
33037
|
+
"name": "TextField",
|
|
33038
|
+
"module": "src/text-field/text-field.ts"
|
|
33039
|
+
}
|
|
33040
|
+
},
|
|
33041
|
+
{
|
|
33042
|
+
"name": "list",
|
|
33043
|
+
"type": {
|
|
33044
|
+
"text": "string"
|
|
33045
|
+
},
|
|
33046
|
+
"description": "Allows associating a https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist to the element by https://developer.mozilla.org/en-US/docs/Web/API/Element/id.",
|
|
33047
|
+
"fieldName": "list",
|
|
33048
|
+
"inheritedFrom": {
|
|
33049
|
+
"name": "TextField",
|
|
33050
|
+
"module": "src/text-field/text-field.ts"
|
|
32973
33051
|
}
|
|
32974
33052
|
},
|
|
33053
|
+
{
|
|
33054
|
+
"name": "pattern",
|
|
33055
|
+
"type": {
|
|
33056
|
+
"text": "string"
|
|
33057
|
+
},
|
|
33058
|
+
"description": "A regular expression that the value must match to pass validation.",
|
|
33059
|
+
"fieldName": "pattern",
|
|
33060
|
+
"inheritedFrom": {
|
|
33061
|
+
"name": "TextField",
|
|
33062
|
+
"module": "src/text-field/text-field.ts"
|
|
33063
|
+
}
|
|
33064
|
+
}
|
|
33065
|
+
],
|
|
33066
|
+
"members": [
|
|
32975
33067
|
{
|
|
32976
33068
|
"kind": "field",
|
|
32977
|
-
"name": "
|
|
33069
|
+
"name": "autocomplete",
|
|
32978
33070
|
"type": {
|
|
32979
|
-
"text": "
|
|
33071
|
+
"text": "string"
|
|
32980
33072
|
},
|
|
32981
|
-
"default": "false",
|
|
32982
33073
|
"inheritedFrom": {
|
|
32983
|
-
"name": "
|
|
32984
|
-
"module": "src/
|
|
33074
|
+
"name": "TextField",
|
|
33075
|
+
"module": "src/text-field/text-field.ts"
|
|
32985
33076
|
}
|
|
32986
33077
|
},
|
|
32987
33078
|
{
|
|
32988
33079
|
"kind": "method",
|
|
32989
|
-
"name": "
|
|
32990
|
-
"privacy": "
|
|
32991
|
-
"description": "Remove the toast from display.",
|
|
33080
|
+
"name": "autocompleteChanged",
|
|
33081
|
+
"privacy": "private",
|
|
32992
33082
|
"inheritedFrom": {
|
|
32993
|
-
"name": "
|
|
32994
|
-
"module": "src/
|
|
33083
|
+
"name": "TextField",
|
|
33084
|
+
"module": "src/text-field/text-field.ts"
|
|
32995
33085
|
}
|
|
32996
33086
|
},
|
|
32997
33087
|
{
|
|
32998
33088
|
"kind": "field",
|
|
32999
|
-
"name": "
|
|
33089
|
+
"name": "autocapitalize",
|
|
33000
33090
|
"type": {
|
|
33001
|
-
"text": "
|
|
33091
|
+
"text": "string"
|
|
33002
33092
|
},
|
|
33093
|
+
"default": "'off'",
|
|
33094
|
+
"inheritedFrom": {
|
|
33095
|
+
"name": "TextField",
|
|
33096
|
+
"module": "src/text-field/text-field.ts"
|
|
33097
|
+
}
|
|
33098
|
+
},
|
|
33099
|
+
{
|
|
33100
|
+
"kind": "method",
|
|
33101
|
+
"name": "autocapitalizeChanged",
|
|
33003
33102
|
"privacy": "private",
|
|
33004
|
-
"default": "void 0",
|
|
33005
33103
|
"inheritedFrom": {
|
|
33006
|
-
"name": "
|
|
33007
|
-
"module": "src/
|
|
33104
|
+
"name": "TextField",
|
|
33105
|
+
"module": "src/text-field/text-field.ts"
|
|
33008
33106
|
}
|
|
33009
33107
|
},
|
|
33010
33108
|
{
|
|
33011
33109
|
"kind": "field",
|
|
33012
|
-
"name": "
|
|
33110
|
+
"name": "step",
|
|
33013
33111
|
"type": {
|
|
33014
|
-
"text": "
|
|
33112
|
+
"text": "number"
|
|
33113
|
+
},
|
|
33114
|
+
"inheritedFrom": {
|
|
33115
|
+
"name": "TextField",
|
|
33116
|
+
"module": "src/text-field/text-field.ts"
|
|
33117
|
+
}
|
|
33118
|
+
},
|
|
33119
|
+
{
|
|
33120
|
+
"kind": "field",
|
|
33121
|
+
"name": "readOnly",
|
|
33122
|
+
"type": {
|
|
33123
|
+
"text": "boolean"
|
|
33015
33124
|
},
|
|
33016
33125
|
"privacy": "public",
|
|
33017
|
-
"description": "
|
|
33126
|
+
"description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.",
|
|
33018
33127
|
"inheritedFrom": {
|
|
33019
|
-
"name": "
|
|
33020
|
-
"module": "src/
|
|
33128
|
+
"name": "TextField",
|
|
33129
|
+
"module": "src/text-field/text-field.ts"
|
|
33130
|
+
}
|
|
33131
|
+
},
|
|
33132
|
+
{
|
|
33133
|
+
"kind": "method",
|
|
33134
|
+
"name": "readOnlyChanged",
|
|
33135
|
+
"privacy": "private",
|
|
33136
|
+
"return": {
|
|
33137
|
+
"type": {
|
|
33138
|
+
"text": "void"
|
|
33139
|
+
}
|
|
33140
|
+
},
|
|
33141
|
+
"inheritedFrom": {
|
|
33142
|
+
"name": "TextField",
|
|
33143
|
+
"module": "src/text-field/text-field.ts"
|
|
33021
33144
|
}
|
|
33022
33145
|
},
|
|
33023
33146
|
{
|
|
33024
33147
|
"kind": "field",
|
|
33025
|
-
"name": "
|
|
33148
|
+
"name": "autofocus",
|
|
33026
33149
|
"type": {
|
|
33027
|
-
"text": "
|
|
33150
|
+
"text": "boolean"
|
|
33028
33151
|
},
|
|
33029
33152
|
"privacy": "public",
|
|
33030
|
-
"description": "
|
|
33153
|
+
"description": "Indicates that this element should get focus after the page finishes loading. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute} for more information.",
|
|
33031
33154
|
"inheritedFrom": {
|
|
33032
|
-
"name": "
|
|
33033
|
-
"module": "src/
|
|
33155
|
+
"name": "TextField",
|
|
33156
|
+
"module": "src/text-field/text-field.ts"
|
|
33034
33157
|
}
|
|
33035
33158
|
},
|
|
33036
33159
|
{
|
|
33037
33160
|
"kind": "method",
|
|
33038
|
-
"name": "
|
|
33039
|
-
"privacy": "
|
|
33161
|
+
"name": "autofocusChanged",
|
|
33162
|
+
"privacy": "private",
|
|
33040
33163
|
"return": {
|
|
33041
33164
|
"type": {
|
|
33042
33165
|
"text": "void"
|
|
33043
33166
|
}
|
|
33044
33167
|
},
|
|
33045
33168
|
"inheritedFrom": {
|
|
33046
|
-
"name": "
|
|
33047
|
-
"module": "src/
|
|
33169
|
+
"name": "TextField",
|
|
33170
|
+
"module": "src/text-field/text-field.ts"
|
|
33048
33171
|
}
|
|
33049
33172
|
},
|
|
33050
33173
|
{
|
|
33051
33174
|
"kind": "field",
|
|
33052
|
-
"name": "
|
|
33175
|
+
"name": "placeholder",
|
|
33053
33176
|
"type": {
|
|
33054
|
-
"text": "
|
|
33177
|
+
"text": "string"
|
|
33055
33178
|
},
|
|
33056
33179
|
"privacy": "public",
|
|
33057
|
-
"description": "Sets the
|
|
33180
|
+
"description": "Sets the placeholder value of the element, generally used to provide a hint to the user.",
|
|
33058
33181
|
"inheritedFrom": {
|
|
33059
|
-
"name": "
|
|
33060
|
-
"module": "src/
|
|
33182
|
+
"name": "TextField",
|
|
33183
|
+
"module": "src/text-field/text-field.ts"
|
|
33061
33184
|
}
|
|
33062
33185
|
},
|
|
33063
33186
|
{
|
|
33064
33187
|
"kind": "method",
|
|
33065
|
-
"name": "
|
|
33066
|
-
"privacy": "
|
|
33188
|
+
"name": "placeholderChanged",
|
|
33189
|
+
"privacy": "private",
|
|
33067
33190
|
"return": {
|
|
33068
33191
|
"type": {
|
|
33069
33192
|
"text": "void"
|
|
33070
33193
|
}
|
|
33071
33194
|
},
|
|
33072
33195
|
"inheritedFrom": {
|
|
33073
|
-
"name": "
|
|
33074
|
-
"module": "src/
|
|
33196
|
+
"name": "TextField",
|
|
33197
|
+
"module": "src/text-field/text-field.ts"
|
|
33198
|
+
}
|
|
33199
|
+
},
|
|
33200
|
+
{
|
|
33201
|
+
"kind": "field",
|
|
33202
|
+
"name": "type",
|
|
33203
|
+
"type": {
|
|
33204
|
+
"text": "TextFieldType"
|
|
33205
|
+
},
|
|
33206
|
+
"privacy": "public",
|
|
33207
|
+
"description": "Allows setting a type or mode of text.",
|
|
33208
|
+
"inheritedFrom": {
|
|
33209
|
+
"name": "TextField",
|
|
33210
|
+
"module": "src/text-field/text-field.ts"
|
|
33075
33211
|
}
|
|
33076
33212
|
},
|
|
33077
33213
|
{
|
|
33078
33214
|
"kind": "method",
|
|
33079
|
-
"name": "
|
|
33215
|
+
"name": "typeChanged",
|
|
33216
|
+
"privacy": "private",
|
|
33217
|
+
"return": {
|
|
33218
|
+
"type": {
|
|
33219
|
+
"text": "void"
|
|
33220
|
+
}
|
|
33221
|
+
},
|
|
33222
|
+
"inheritedFrom": {
|
|
33223
|
+
"name": "TextField",
|
|
33224
|
+
"module": "src/text-field/text-field.ts"
|
|
33225
|
+
}
|
|
33226
|
+
},
|
|
33227
|
+
{
|
|
33228
|
+
"kind": "field",
|
|
33229
|
+
"name": "list",
|
|
33230
|
+
"type": {
|
|
33231
|
+
"text": "string"
|
|
33232
|
+
},
|
|
33080
33233
|
"privacy": "public",
|
|
33081
|
-
"
|
|
33234
|
+
"description": "Allows associating a {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist} to the element by {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/id}.",
|
|
33235
|
+
"inheritedFrom": {
|
|
33236
|
+
"name": "TextField",
|
|
33237
|
+
"module": "src/text-field/text-field.ts"
|
|
33238
|
+
}
|
|
33239
|
+
},
|
|
33240
|
+
{
|
|
33241
|
+
"kind": "method",
|
|
33242
|
+
"name": "listChanged",
|
|
33243
|
+
"privacy": "private",
|
|
33082
33244
|
"return": {
|
|
33083
33245
|
"type": {
|
|
33084
|
-
"text": "
|
|
33246
|
+
"text": "void"
|
|
33085
33247
|
}
|
|
33086
33248
|
},
|
|
33087
|
-
"
|
|
33088
|
-
|
|
33089
|
-
|
|
33090
|
-
|
|
33091
|
-
|
|
33092
|
-
|
|
33093
|
-
|
|
33094
|
-
|
|
33095
|
-
|
|
33096
|
-
|
|
33097
|
-
|
|
33098
|
-
|
|
33099
|
-
|
|
33249
|
+
"inheritedFrom": {
|
|
33250
|
+
"name": "TextField",
|
|
33251
|
+
"module": "src/text-field/text-field.ts"
|
|
33252
|
+
}
|
|
33253
|
+
},
|
|
33254
|
+
{
|
|
33255
|
+
"kind": "field",
|
|
33256
|
+
"name": "maxlength",
|
|
33257
|
+
"type": {
|
|
33258
|
+
"text": "number"
|
|
33259
|
+
},
|
|
33260
|
+
"privacy": "public",
|
|
33261
|
+
"description": "The maximum number of characters a user can enter.",
|
|
33262
|
+
"inheritedFrom": {
|
|
33263
|
+
"name": "TextField",
|
|
33264
|
+
"module": "src/text-field/text-field.ts"
|
|
33265
|
+
}
|
|
33266
|
+
},
|
|
33267
|
+
{
|
|
33268
|
+
"kind": "method",
|
|
33269
|
+
"name": "maxlengthChanged",
|
|
33270
|
+
"privacy": "private",
|
|
33271
|
+
"return": {
|
|
33272
|
+
"type": {
|
|
33273
|
+
"text": "void"
|
|
33100
33274
|
}
|
|
33101
|
-
|
|
33102
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
33275
|
+
},
|
|
33103
33276
|
"inheritedFrom": {
|
|
33104
|
-
"name": "
|
|
33105
|
-
"module": "src/
|
|
33106
|
-
}
|
|
33107
|
-
}
|
|
33108
|
-
]
|
|
33109
|
-
},
|
|
33110
|
-
{
|
|
33111
|
-
"kind": "variable",
|
|
33112
|
-
"name": "zeroToast",
|
|
33113
|
-
"description": "The Zero Toast",
|
|
33114
|
-
"privacy": "public"
|
|
33115
|
-
}
|
|
33116
|
-
],
|
|
33117
|
-
"exports": [
|
|
33118
|
-
{
|
|
33119
|
-
"kind": "js",
|
|
33120
|
-
"name": "defaultToastConfig",
|
|
33121
|
-
"declaration": {
|
|
33122
|
-
"name": "defaultToastConfig",
|
|
33123
|
-
"module": "src/toast/toast.ts"
|
|
33124
|
-
}
|
|
33125
|
-
},
|
|
33126
|
-
{
|
|
33127
|
-
"kind": "js",
|
|
33128
|
-
"name": "zeroToastShadowOptions",
|
|
33129
|
-
"declaration": {
|
|
33130
|
-
"name": "zeroToastShadowOptions",
|
|
33131
|
-
"module": "src/toast/toast.ts"
|
|
33132
|
-
}
|
|
33133
|
-
},
|
|
33134
|
-
{
|
|
33135
|
-
"kind": "js",
|
|
33136
|
-
"name": "Toast",
|
|
33137
|
-
"declaration": {
|
|
33138
|
-
"name": "Toast",
|
|
33139
|
-
"module": "src/toast/toast.ts"
|
|
33140
|
-
}
|
|
33141
|
-
},
|
|
33142
|
-
{
|
|
33143
|
-
"kind": "js",
|
|
33144
|
-
"name": "zeroToast",
|
|
33145
|
-
"declaration": {
|
|
33146
|
-
"name": "zeroToast",
|
|
33147
|
-
"module": "src/toast/toast.ts"
|
|
33148
|
-
}
|
|
33149
|
-
}
|
|
33150
|
-
]
|
|
33151
|
-
},
|
|
33152
|
-
{
|
|
33153
|
-
"kind": "javascript-module",
|
|
33154
|
-
"path": "src/text-field/index.ts",
|
|
33155
|
-
"declarations": [],
|
|
33156
|
-
"exports": [
|
|
33157
|
-
{
|
|
33158
|
-
"kind": "js",
|
|
33159
|
-
"name": "*",
|
|
33160
|
-
"declaration": {
|
|
33161
|
-
"name": "*",
|
|
33162
|
-
"package": "./text-field"
|
|
33163
|
-
}
|
|
33164
|
-
},
|
|
33165
|
-
{
|
|
33166
|
-
"kind": "js",
|
|
33167
|
-
"name": "*",
|
|
33168
|
-
"declaration": {
|
|
33169
|
-
"name": "*",
|
|
33170
|
-
"package": "./text-field.styles"
|
|
33171
|
-
}
|
|
33172
|
-
},
|
|
33173
|
-
{
|
|
33174
|
-
"kind": "js",
|
|
33175
|
-
"name": "*",
|
|
33176
|
-
"declaration": {
|
|
33177
|
-
"name": "*",
|
|
33178
|
-
"package": "./text-field.template"
|
|
33179
|
-
}
|
|
33180
|
-
}
|
|
33181
|
-
]
|
|
33182
|
-
},
|
|
33183
|
-
{
|
|
33184
|
-
"kind": "javascript-module",
|
|
33185
|
-
"path": "src/text-field/text-field.stories.ts",
|
|
33186
|
-
"declarations": [
|
|
33187
|
-
{
|
|
33188
|
-
"kind": "variable",
|
|
33189
|
-
"name": "meta",
|
|
33190
|
-
"type": {
|
|
33191
|
-
"text": "Meta"
|
|
33192
|
-
},
|
|
33193
|
-
"default": "{\n title: 'Text Field',\n component: 'zero-text-field',\n}"
|
|
33194
|
-
},
|
|
33195
|
-
{
|
|
33196
|
-
"kind": "variable",
|
|
33197
|
-
"name": "Primary",
|
|
33198
|
-
"type": {
|
|
33199
|
-
"text": "StoryObj"
|
|
33200
|
-
},
|
|
33201
|
-
"default": "{\n render: () => html`\n <div style=\"${wrapperStyle}\">\n <zero-text-field placeholder=\"Enter text...\">Text Field</zero-text-field>\n <zero-text-field value=\"some value\">Test label</zero-text-field>\n <zero-text-field value=\"disabled\" disabled>Test label 2</zero-text-field>\n <zero-text-field type=\"datetime-local\">Datetime local type</zero-text-field>\n <zero-text-field type=\"datetime-local\" step=\".001\">\n Datetime local with step attr\n </zero-text-field>\n </div>\n `,\n}"
|
|
33202
|
-
}
|
|
33203
|
-
],
|
|
33204
|
-
"exports": [
|
|
33205
|
-
{
|
|
33206
|
-
"kind": "js",
|
|
33207
|
-
"name": "default",
|
|
33208
|
-
"declaration": {
|
|
33209
|
-
"name": "meta",
|
|
33210
|
-
"module": "src/text-field/text-field.stories.ts"
|
|
33211
|
-
}
|
|
33212
|
-
},
|
|
33213
|
-
{
|
|
33214
|
-
"kind": "js",
|
|
33215
|
-
"name": "Primary",
|
|
33216
|
-
"declaration": {
|
|
33217
|
-
"name": "Primary",
|
|
33218
|
-
"module": "src/text-field/text-field.stories.ts"
|
|
33219
|
-
}
|
|
33220
|
-
}
|
|
33221
|
-
]
|
|
33222
|
-
},
|
|
33223
|
-
{
|
|
33224
|
-
"kind": "javascript-module",
|
|
33225
|
-
"path": "src/text-field/text-field.styles.ts",
|
|
33226
|
-
"declarations": [
|
|
33227
|
-
{
|
|
33228
|
-
"kind": "function",
|
|
33229
|
-
"name": "zeroTextFieldStyles",
|
|
33230
|
-
"return": {
|
|
33231
|
-
"type": {
|
|
33232
|
-
"text": "ElementStyles"
|
|
33233
|
-
}
|
|
33234
|
-
},
|
|
33235
|
-
"parameters": [
|
|
33236
|
-
{
|
|
33237
|
-
"name": "context",
|
|
33238
|
-
"type": {
|
|
33239
|
-
"text": "ElementDefinitionContext"
|
|
33240
|
-
}
|
|
33241
|
-
},
|
|
33242
|
-
{
|
|
33243
|
-
"name": "definition",
|
|
33244
|
-
"type": {
|
|
33245
|
-
"text": "FoundationElementDefinition"
|
|
33246
|
-
}
|
|
33247
|
-
}
|
|
33248
|
-
]
|
|
33249
|
-
}
|
|
33250
|
-
],
|
|
33251
|
-
"exports": [
|
|
33252
|
-
{
|
|
33253
|
-
"kind": "js",
|
|
33254
|
-
"name": "zeroTextFieldStyles",
|
|
33255
|
-
"declaration": {
|
|
33256
|
-
"name": "zeroTextFieldStyles",
|
|
33257
|
-
"module": "src/text-field/text-field.styles.ts"
|
|
33258
|
-
}
|
|
33259
|
-
}
|
|
33260
|
-
]
|
|
33261
|
-
},
|
|
33262
|
-
{
|
|
33263
|
-
"kind": "javascript-module",
|
|
33264
|
-
"path": "src/text-field/text-field.template.ts",
|
|
33265
|
-
"declarations": [
|
|
33266
|
-
{
|
|
33267
|
-
"kind": "function",
|
|
33268
|
-
"name": "zeroTextFieldTemplate",
|
|
33269
|
-
"return": {
|
|
33270
|
-
"type": {
|
|
33271
|
-
"text": "ViewTemplate<TextField>"
|
|
33272
|
-
}
|
|
33273
|
-
},
|
|
33274
|
-
"parameters": [
|
|
33275
|
-
{
|
|
33276
|
-
"name": "context",
|
|
33277
|
-
"type": {
|
|
33278
|
-
"text": "ElementDefinitionContext"
|
|
33279
|
-
}
|
|
33280
|
-
},
|
|
33281
|
-
{
|
|
33282
|
-
"name": "definition",
|
|
33283
|
-
"type": {
|
|
33284
|
-
"text": "FoundationElementDefinition"
|
|
33285
|
-
}
|
|
33286
|
-
}
|
|
33287
|
-
]
|
|
33288
|
-
}
|
|
33289
|
-
],
|
|
33290
|
-
"exports": [
|
|
33291
|
-
{
|
|
33292
|
-
"kind": "js",
|
|
33293
|
-
"name": "zeroTextFieldTemplate",
|
|
33294
|
-
"declaration": {
|
|
33295
|
-
"name": "zeroTextFieldTemplate",
|
|
33296
|
-
"module": "src/text-field/text-field.template.ts"
|
|
33297
|
-
}
|
|
33298
|
-
}
|
|
33299
|
-
]
|
|
33300
|
-
},
|
|
33301
|
-
{
|
|
33302
|
-
"kind": "javascript-module",
|
|
33303
|
-
"path": "src/text-field/text-field.ts",
|
|
33304
|
-
"declarations": [
|
|
33305
|
-
{
|
|
33306
|
-
"kind": "class",
|
|
33307
|
-
"description": "",
|
|
33308
|
-
"name": "TextField",
|
|
33309
|
-
"superclass": {
|
|
33310
|
-
"name": "FoundationTextField",
|
|
33311
|
-
"package": "@genesislcap/foundation-ui"
|
|
33312
|
-
},
|
|
33313
|
-
"tagName": "%%prefix%%-text-field",
|
|
33314
|
-
"customElement": true,
|
|
33315
|
-
"attributes": [
|
|
33316
|
-
{
|
|
33317
|
-
"name": "autocomplete",
|
|
33318
|
-
"type": {
|
|
33319
|
-
"text": "string"
|
|
33320
|
-
},
|
|
33321
|
-
"fieldName": "autocomplete",
|
|
33322
|
-
"inheritedFrom": {
|
|
33323
|
-
"name": "TextField",
|
|
33324
|
-
"module": "src/text-field/text-field.ts"
|
|
33325
|
-
}
|
|
33326
|
-
},
|
|
33327
|
-
{
|
|
33328
|
-
"name": "autocapitalize",
|
|
33329
|
-
"type": {
|
|
33330
|
-
"text": "string"
|
|
33331
|
-
},
|
|
33332
|
-
"default": "'off'",
|
|
33333
|
-
"fieldName": "autocapitalize",
|
|
33334
|
-
"inheritedFrom": {
|
|
33335
|
-
"name": "TextField",
|
|
33336
|
-
"module": "src/text-field/text-field.ts"
|
|
33337
|
-
}
|
|
33338
|
-
},
|
|
33339
|
-
{
|
|
33340
|
-
"name": "step",
|
|
33341
|
-
"type": {
|
|
33342
|
-
"text": "number"
|
|
33343
|
-
},
|
|
33344
|
-
"fieldName": "step",
|
|
33345
|
-
"inheritedFrom": {
|
|
33346
|
-
"name": "TextField",
|
|
33347
|
-
"module": "src/text-field/text-field.ts"
|
|
33348
|
-
}
|
|
33349
|
-
},
|
|
33350
|
-
{
|
|
33351
|
-
"name": "readonly",
|
|
33352
|
-
"type": {
|
|
33353
|
-
"text": "boolean"
|
|
33354
|
-
},
|
|
33355
|
-
"description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
|
|
33356
|
-
"fieldName": "readOnly",
|
|
33357
|
-
"inheritedFrom": {
|
|
33358
|
-
"name": "TextField",
|
|
33359
|
-
"module": "src/text-field/text-field.ts"
|
|
33360
|
-
}
|
|
33361
|
-
},
|
|
33362
|
-
{
|
|
33363
|
-
"type": {
|
|
33364
|
-
"text": "boolean"
|
|
33365
|
-
},
|
|
33366
|
-
"description": "Indicates that this element should get focus after the page finishes loading. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute for more information.",
|
|
33367
|
-
"fieldName": "autofocus",
|
|
33368
|
-
"inheritedFrom": {
|
|
33369
|
-
"name": "TextField",
|
|
33370
|
-
"module": "src/text-field/text-field.ts"
|
|
33371
|
-
}
|
|
33372
|
-
},
|
|
33373
|
-
{
|
|
33374
|
-
"name": "placeholder",
|
|
33375
|
-
"type": {
|
|
33376
|
-
"text": "string"
|
|
33377
|
-
},
|
|
33378
|
-
"description": "Sets the placeholder value of the element, generally used to provide a hint to the user.",
|
|
33379
|
-
"fieldName": "placeholder",
|
|
33380
|
-
"inheritedFrom": {
|
|
33381
|
-
"name": "TextField",
|
|
33382
|
-
"module": "src/text-field/text-field.ts"
|
|
33383
|
-
}
|
|
33384
|
-
},
|
|
33385
|
-
{
|
|
33386
|
-
"name": "type",
|
|
33387
|
-
"type": {
|
|
33388
|
-
"text": "TextFieldType"
|
|
33389
|
-
},
|
|
33390
|
-
"description": "Allows setting a type or mode of text.",
|
|
33391
|
-
"fieldName": "type",
|
|
33392
|
-
"inheritedFrom": {
|
|
33393
|
-
"name": "TextField",
|
|
33394
|
-
"module": "src/text-field/text-field.ts"
|
|
33395
|
-
}
|
|
33396
|
-
},
|
|
33397
|
-
{
|
|
33398
|
-
"name": "list",
|
|
33399
|
-
"type": {
|
|
33400
|
-
"text": "string"
|
|
33401
|
-
},
|
|
33402
|
-
"description": "Allows associating a https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist to the element by https://developer.mozilla.org/en-US/docs/Web/API/Element/id.",
|
|
33403
|
-
"fieldName": "list",
|
|
33404
|
-
"inheritedFrom": {
|
|
33405
|
-
"name": "TextField",
|
|
33406
|
-
"module": "src/text-field/text-field.ts"
|
|
33407
|
-
}
|
|
33408
|
-
},
|
|
33409
|
-
{
|
|
33410
|
-
"name": "pattern",
|
|
33411
|
-
"type": {
|
|
33412
|
-
"text": "string"
|
|
33413
|
-
},
|
|
33414
|
-
"description": "A regular expression that the value must match to pass validation.",
|
|
33415
|
-
"fieldName": "pattern",
|
|
33416
|
-
"inheritedFrom": {
|
|
33417
|
-
"name": "TextField",
|
|
33418
|
-
"module": "src/text-field/text-field.ts"
|
|
33419
|
-
}
|
|
33420
|
-
}
|
|
33421
|
-
],
|
|
33422
|
-
"members": [
|
|
33423
|
-
{
|
|
33424
|
-
"kind": "field",
|
|
33425
|
-
"name": "autocomplete",
|
|
33426
|
-
"type": {
|
|
33427
|
-
"text": "string"
|
|
33428
|
-
},
|
|
33429
|
-
"inheritedFrom": {
|
|
33430
|
-
"name": "TextField",
|
|
33431
|
-
"module": "src/text-field/text-field.ts"
|
|
33432
|
-
}
|
|
33433
|
-
},
|
|
33434
|
-
{
|
|
33435
|
-
"kind": "method",
|
|
33436
|
-
"name": "autocompleteChanged",
|
|
33437
|
-
"privacy": "private",
|
|
33438
|
-
"inheritedFrom": {
|
|
33439
|
-
"name": "TextField",
|
|
33440
|
-
"module": "src/text-field/text-field.ts"
|
|
33277
|
+
"name": "TextField",
|
|
33278
|
+
"module": "src/text-field/text-field.ts"
|
|
33441
33279
|
}
|
|
33442
33280
|
},
|
|
33443
33281
|
{
|
|
33444
33282
|
"kind": "field",
|
|
33445
|
-
"name": "
|
|
33446
|
-
"type": {
|
|
33447
|
-
"text": "string"
|
|
33448
|
-
},
|
|
33449
|
-
"default": "'off'",
|
|
33450
|
-
"inheritedFrom": {
|
|
33451
|
-
"name": "TextField",
|
|
33452
|
-
"module": "src/text-field/text-field.ts"
|
|
33453
|
-
}
|
|
33454
|
-
},
|
|
33455
|
-
{
|
|
33456
|
-
"kind": "method",
|
|
33457
|
-
"name": "autocapitalizeChanged",
|
|
33458
|
-
"privacy": "private",
|
|
33459
|
-
"inheritedFrom": {
|
|
33460
|
-
"name": "TextField",
|
|
33461
|
-
"module": "src/text-field/text-field.ts"
|
|
33462
|
-
}
|
|
33463
|
-
},
|
|
33464
|
-
{
|
|
33465
|
-
"kind": "field",
|
|
33466
|
-
"name": "step",
|
|
33283
|
+
"name": "minlength",
|
|
33467
33284
|
"type": {
|
|
33468
33285
|
"text": "number"
|
|
33469
33286
|
},
|
|
33470
|
-
"inheritedFrom": {
|
|
33471
|
-
"name": "TextField",
|
|
33472
|
-
"module": "src/text-field/text-field.ts"
|
|
33473
|
-
}
|
|
33474
|
-
},
|
|
33475
|
-
{
|
|
33476
|
-
"kind": "field",
|
|
33477
|
-
"name": "readOnly",
|
|
33478
|
-
"type": {
|
|
33479
|
-
"text": "boolean"
|
|
33480
|
-
},
|
|
33481
33287
|
"privacy": "public",
|
|
33482
|
-
"description": "
|
|
33288
|
+
"description": "The minimum number of characters a user can enter.",
|
|
33483
33289
|
"inheritedFrom": {
|
|
33484
33290
|
"name": "TextField",
|
|
33485
33291
|
"module": "src/text-field/text-field.ts"
|
|
@@ -33487,7 +33293,7 @@
|
|
|
33487
33293
|
},
|
|
33488
33294
|
{
|
|
33489
33295
|
"kind": "method",
|
|
33490
|
-
"name": "
|
|
33296
|
+
"name": "minlengthChanged",
|
|
33491
33297
|
"privacy": "private",
|
|
33492
33298
|
"return": {
|
|
33493
33299
|
"type": {
|
|
@@ -33501,12 +33307,12 @@
|
|
|
33501
33307
|
},
|
|
33502
33308
|
{
|
|
33503
33309
|
"kind": "field",
|
|
33504
|
-
"name": "
|
|
33310
|
+
"name": "pattern",
|
|
33505
33311
|
"type": {
|
|
33506
|
-
"text": "
|
|
33312
|
+
"text": "string"
|
|
33507
33313
|
},
|
|
33508
33314
|
"privacy": "public",
|
|
33509
|
-
"description": "
|
|
33315
|
+
"description": "A regular expression that the value must match to pass validation.",
|
|
33510
33316
|
"inheritedFrom": {
|
|
33511
33317
|
"name": "TextField",
|
|
33512
33318
|
"module": "src/text-field/text-field.ts"
|
|
@@ -33514,7 +33320,7 @@
|
|
|
33514
33320
|
},
|
|
33515
33321
|
{
|
|
33516
33322
|
"kind": "method",
|
|
33517
|
-
"name": "
|
|
33323
|
+
"name": "patternChanged",
|
|
33518
33324
|
"privacy": "private",
|
|
33519
33325
|
"return": {
|
|
33520
33326
|
"type": {
|
|
@@ -33528,12 +33334,12 @@
|
|
|
33528
33334
|
},
|
|
33529
33335
|
{
|
|
33530
33336
|
"kind": "field",
|
|
33531
|
-
"name": "
|
|
33337
|
+
"name": "size",
|
|
33532
33338
|
"type": {
|
|
33533
|
-
"text": "
|
|
33339
|
+
"text": "number"
|
|
33534
33340
|
},
|
|
33535
33341
|
"privacy": "public",
|
|
33536
|
-
"description": "Sets the
|
|
33342
|
+
"description": "Sets the width of the element to a specified number of characters.",
|
|
33537
33343
|
"inheritedFrom": {
|
|
33538
33344
|
"name": "TextField",
|
|
33539
33345
|
"module": "src/text-field/text-field.ts"
|
|
@@ -33541,7 +33347,7 @@
|
|
|
33541
33347
|
},
|
|
33542
33348
|
{
|
|
33543
33349
|
"kind": "method",
|
|
33544
|
-
"name": "
|
|
33350
|
+
"name": "sizeChanged",
|
|
33545
33351
|
"privacy": "private",
|
|
33546
33352
|
"return": {
|
|
33547
33353
|
"type": {
|
|
@@ -33555,12 +33361,12 @@
|
|
|
33555
33361
|
},
|
|
33556
33362
|
{
|
|
33557
33363
|
"kind": "field",
|
|
33558
|
-
"name": "
|
|
33364
|
+
"name": "spellcheck",
|
|
33559
33365
|
"type": {
|
|
33560
|
-
"text": "
|
|
33366
|
+
"text": "boolean"
|
|
33561
33367
|
},
|
|
33562
33368
|
"privacy": "public",
|
|
33563
|
-
"description": "
|
|
33369
|
+
"description": "Controls whether or not to enable spell checking for the input field, or if the default spell checking configuration should be used.",
|
|
33564
33370
|
"inheritedFrom": {
|
|
33565
33371
|
"name": "TextField",
|
|
33566
33372
|
"module": "src/text-field/text-field.ts"
|
|
@@ -33568,7 +33374,7 @@
|
|
|
33568
33374
|
},
|
|
33569
33375
|
{
|
|
33570
33376
|
"kind": "method",
|
|
33571
|
-
"name": "
|
|
33377
|
+
"name": "spellcheckChanged",
|
|
33572
33378
|
"privacy": "private",
|
|
33573
33379
|
"return": {
|
|
33574
33380
|
"type": {
|
|
@@ -33580,41 +33386,16 @@
|
|
|
33580
33386
|
"module": "src/text-field/text-field.ts"
|
|
33581
33387
|
}
|
|
33582
33388
|
},
|
|
33583
|
-
{
|
|
33584
|
-
"kind": "field",
|
|
33585
|
-
"name": "list",
|
|
33586
|
-
"type": {
|
|
33587
|
-
"text": "string"
|
|
33588
|
-
},
|
|
33589
|
-
"privacy": "public",
|
|
33590
|
-
"description": "Allows associating a {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist} to the element by {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/id}.",
|
|
33591
|
-
"inheritedFrom": {
|
|
33592
|
-
"name": "TextField",
|
|
33593
|
-
"module": "src/text-field/text-field.ts"
|
|
33594
|
-
}
|
|
33595
|
-
},
|
|
33596
33389
|
{
|
|
33597
33390
|
"kind": "method",
|
|
33598
|
-
"name": "
|
|
33599
|
-
"privacy": "
|
|
33391
|
+
"name": "select",
|
|
33392
|
+
"privacy": "public",
|
|
33600
33393
|
"return": {
|
|
33601
33394
|
"type": {
|
|
33602
33395
|
"text": "void"
|
|
33603
33396
|
}
|
|
33604
33397
|
},
|
|
33605
|
-
"
|
|
33606
|
-
"name": "TextField",
|
|
33607
|
-
"module": "src/text-field/text-field.ts"
|
|
33608
|
-
}
|
|
33609
|
-
},
|
|
33610
|
-
{
|
|
33611
|
-
"kind": "field",
|
|
33612
|
-
"name": "maxlength",
|
|
33613
|
-
"type": {
|
|
33614
|
-
"text": "number"
|
|
33615
|
-
},
|
|
33616
|
-
"privacy": "public",
|
|
33617
|
-
"description": "The maximum number of characters a user can enter.",
|
|
33398
|
+
"description": "Selects all the text in the text field",
|
|
33618
33399
|
"inheritedFrom": {
|
|
33619
33400
|
"name": "TextField",
|
|
33620
33401
|
"module": "src/text-field/text-field.ts"
|
|
@@ -33622,13 +33403,14 @@
|
|
|
33622
33403
|
},
|
|
33623
33404
|
{
|
|
33624
33405
|
"kind": "method",
|
|
33625
|
-
"name": "
|
|
33626
|
-
"privacy": "
|
|
33406
|
+
"name": "validate",
|
|
33407
|
+
"privacy": "public",
|
|
33627
33408
|
"return": {
|
|
33628
33409
|
"type": {
|
|
33629
33410
|
"text": "void"
|
|
33630
33411
|
}
|
|
33631
33412
|
},
|
|
33413
|
+
"description": "{@inheritDoc (FormAssociated:interface).validate}",
|
|
33632
33414
|
"inheritedFrom": {
|
|
33633
33415
|
"name": "TextField",
|
|
33634
33416
|
"module": "src/text-field/text-field.ts"
|
|
@@ -33636,26 +33418,20 @@
|
|
|
33636
33418
|
},
|
|
33637
33419
|
{
|
|
33638
33420
|
"kind": "field",
|
|
33639
|
-
"name": "
|
|
33640
|
-
"type": {
|
|
33641
|
-
"text": "number"
|
|
33642
|
-
},
|
|
33643
|
-
"privacy": "public",
|
|
33644
|
-
"description": "The minimum number of characters a user can enter.",
|
|
33421
|
+
"name": "proxy",
|
|
33645
33422
|
"inheritedFrom": {
|
|
33646
33423
|
"name": "TextField",
|
|
33647
33424
|
"module": "src/text-field/text-field.ts"
|
|
33648
33425
|
}
|
|
33649
33426
|
},
|
|
33650
33427
|
{
|
|
33651
|
-
"kind": "
|
|
33652
|
-
"name": "
|
|
33653
|
-
"
|
|
33654
|
-
|
|
33655
|
-
"type": {
|
|
33656
|
-
"text": "void"
|
|
33657
|
-
}
|
|
33428
|
+
"kind": "field",
|
|
33429
|
+
"name": "_presentation",
|
|
33430
|
+
"type": {
|
|
33431
|
+
"text": "ComponentPresentation | null | undefined"
|
|
33658
33432
|
},
|
|
33433
|
+
"privacy": "private",
|
|
33434
|
+
"default": "void 0",
|
|
33659
33435
|
"inheritedFrom": {
|
|
33660
33436
|
"name": "TextField",
|
|
33661
33437
|
"module": "src/text-field/text-field.ts"
|
|
@@ -33663,26 +33439,12 @@
|
|
|
33663
33439
|
},
|
|
33664
33440
|
{
|
|
33665
33441
|
"kind": "field",
|
|
33666
|
-
"name": "
|
|
33442
|
+
"name": "$presentation",
|
|
33667
33443
|
"type": {
|
|
33668
|
-
"text": "
|
|
33444
|
+
"text": "ComponentPresentation | null"
|
|
33669
33445
|
},
|
|
33670
33446
|
"privacy": "public",
|
|
33671
|
-
"description": "A
|
|
33672
|
-
"inheritedFrom": {
|
|
33673
|
-
"name": "TextField",
|
|
33674
|
-
"module": "src/text-field/text-field.ts"
|
|
33675
|
-
}
|
|
33676
|
-
},
|
|
33677
|
-
{
|
|
33678
|
-
"kind": "method",
|
|
33679
|
-
"name": "patternChanged",
|
|
33680
|
-
"privacy": "private",
|
|
33681
|
-
"return": {
|
|
33682
|
-
"type": {
|
|
33683
|
-
"text": "void"
|
|
33684
|
-
}
|
|
33685
|
-
},
|
|
33447
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
33686
33448
|
"inheritedFrom": {
|
|
33687
33449
|
"name": "TextField",
|
|
33688
33450
|
"module": "src/text-field/text-field.ts"
|
|
@@ -33690,12 +33452,12 @@
|
|
|
33690
33452
|
},
|
|
33691
33453
|
{
|
|
33692
33454
|
"kind": "field",
|
|
33693
|
-
"name": "
|
|
33455
|
+
"name": "template",
|
|
33694
33456
|
"type": {
|
|
33695
|
-
"text": "
|
|
33457
|
+
"text": "ElementViewTemplate | void | null"
|
|
33696
33458
|
},
|
|
33697
33459
|
"privacy": "public",
|
|
33698
|
-
"description": "Sets the
|
|
33460
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
33699
33461
|
"inheritedFrom": {
|
|
33700
33462
|
"name": "TextField",
|
|
33701
33463
|
"module": "src/text-field/text-field.ts"
|
|
@@ -33703,8 +33465,8 @@
|
|
|
33703
33465
|
},
|
|
33704
33466
|
{
|
|
33705
33467
|
"kind": "method",
|
|
33706
|
-
"name": "
|
|
33707
|
-
"privacy": "
|
|
33468
|
+
"name": "templateChanged",
|
|
33469
|
+
"privacy": "protected",
|
|
33708
33470
|
"return": {
|
|
33709
33471
|
"type": {
|
|
33710
33472
|
"text": "void"
|
|
@@ -33717,12 +33479,12 @@
|
|
|
33717
33479
|
},
|
|
33718
33480
|
{
|
|
33719
33481
|
"kind": "field",
|
|
33720
|
-
"name": "
|
|
33482
|
+
"name": "styles",
|
|
33721
33483
|
"type": {
|
|
33722
|
-
"text": "
|
|
33484
|
+
"text": "ElementStyles | void | null"
|
|
33723
33485
|
},
|
|
33724
33486
|
"privacy": "public",
|
|
33725
|
-
"description": "
|
|
33487
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
33726
33488
|
"inheritedFrom": {
|
|
33727
33489
|
"name": "TextField",
|
|
33728
33490
|
"module": "src/text-field/text-field.ts"
|
|
@@ -33730,8 +33492,8 @@
|
|
|
33730
33492
|
},
|
|
33731
33493
|
{
|
|
33732
33494
|
"kind": "method",
|
|
33733
|
-
"name": "
|
|
33734
|
-
"privacy": "
|
|
33495
|
+
"name": "stylesChanged",
|
|
33496
|
+
"privacy": "protected",
|
|
33735
33497
|
"return": {
|
|
33736
33498
|
"type": {
|
|
33737
33499
|
"text": "void"
|
|
@@ -33744,40 +33506,270 @@
|
|
|
33744
33506
|
},
|
|
33745
33507
|
{
|
|
33746
33508
|
"kind": "method",
|
|
33747
|
-
"name": "
|
|
33509
|
+
"name": "compose",
|
|
33748
33510
|
"privacy": "public",
|
|
33511
|
+
"static": true,
|
|
33749
33512
|
"return": {
|
|
33750
33513
|
"type": {
|
|
33751
|
-
"text": "
|
|
33514
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
33752
33515
|
}
|
|
33753
33516
|
},
|
|
33754
|
-
"
|
|
33517
|
+
"parameters": [
|
|
33518
|
+
{
|
|
33519
|
+
"name": "this",
|
|
33520
|
+
"type": {
|
|
33521
|
+
"text": "K"
|
|
33522
|
+
}
|
|
33523
|
+
},
|
|
33524
|
+
{
|
|
33525
|
+
"name": "elementDefinition",
|
|
33526
|
+
"type": {
|
|
33527
|
+
"text": "T"
|
|
33528
|
+
},
|
|
33529
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
33530
|
+
}
|
|
33531
|
+
],
|
|
33532
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
33533
|
+
"inheritedFrom": {
|
|
33534
|
+
"name": "TextField",
|
|
33535
|
+
"module": "src/text-field/text-field.ts"
|
|
33536
|
+
}
|
|
33537
|
+
}
|
|
33538
|
+
],
|
|
33539
|
+
"events": [
|
|
33540
|
+
{
|
|
33541
|
+
"description": "Fires a custom 'change' event when the value has changed",
|
|
33542
|
+
"name": "change",
|
|
33755
33543
|
"inheritedFrom": {
|
|
33756
33544
|
"name": "TextField",
|
|
33757
33545
|
"module": "src/text-field/text-field.ts"
|
|
33758
33546
|
}
|
|
33547
|
+
}
|
|
33548
|
+
]
|
|
33549
|
+
},
|
|
33550
|
+
{
|
|
33551
|
+
"kind": "variable",
|
|
33552
|
+
"name": "zeroTextField"
|
|
33553
|
+
}
|
|
33554
|
+
],
|
|
33555
|
+
"exports": [
|
|
33556
|
+
{
|
|
33557
|
+
"kind": "js",
|
|
33558
|
+
"name": "TextField",
|
|
33559
|
+
"declaration": {
|
|
33560
|
+
"name": "TextField",
|
|
33561
|
+
"module": "src/text-field/text-field.ts"
|
|
33562
|
+
}
|
|
33563
|
+
},
|
|
33564
|
+
{
|
|
33565
|
+
"kind": "js",
|
|
33566
|
+
"name": "zeroTextField",
|
|
33567
|
+
"declaration": {
|
|
33568
|
+
"name": "zeroTextField",
|
|
33569
|
+
"module": "src/text-field/text-field.ts"
|
|
33570
|
+
}
|
|
33571
|
+
}
|
|
33572
|
+
]
|
|
33573
|
+
},
|
|
33574
|
+
{
|
|
33575
|
+
"kind": "javascript-module",
|
|
33576
|
+
"path": "src/toast/index.ts",
|
|
33577
|
+
"declarations": [],
|
|
33578
|
+
"exports": [
|
|
33579
|
+
{
|
|
33580
|
+
"kind": "js",
|
|
33581
|
+
"name": "*",
|
|
33582
|
+
"declaration": {
|
|
33583
|
+
"name": "*",
|
|
33584
|
+
"package": "./toast.styles"
|
|
33585
|
+
}
|
|
33586
|
+
},
|
|
33587
|
+
{
|
|
33588
|
+
"kind": "js",
|
|
33589
|
+
"name": "*",
|
|
33590
|
+
"declaration": {
|
|
33591
|
+
"name": "*",
|
|
33592
|
+
"package": "./toast"
|
|
33593
|
+
}
|
|
33594
|
+
},
|
|
33595
|
+
{
|
|
33596
|
+
"kind": "js",
|
|
33597
|
+
"name": "zeroToastTemplate",
|
|
33598
|
+
"declaration": {
|
|
33599
|
+
"name": "foundationToastTemplate",
|
|
33600
|
+
"package": "@genesislcap/foundation-ui"
|
|
33601
|
+
}
|
|
33602
|
+
}
|
|
33603
|
+
]
|
|
33604
|
+
},
|
|
33605
|
+
{
|
|
33606
|
+
"kind": "javascript-module",
|
|
33607
|
+
"path": "src/toast/toast.stories.ts",
|
|
33608
|
+
"declarations": [
|
|
33609
|
+
{
|
|
33610
|
+
"kind": "variable",
|
|
33611
|
+
"name": "meta",
|
|
33612
|
+
"type": {
|
|
33613
|
+
"text": "Meta"
|
|
33614
|
+
},
|
|
33615
|
+
"default": "{\n title: 'Toast',\n component: 'zero-toast',\n}"
|
|
33616
|
+
},
|
|
33617
|
+
{
|
|
33618
|
+
"kind": "variable",
|
|
33619
|
+
"name": "Primary",
|
|
33620
|
+
"type": {
|
|
33621
|
+
"text": "StoryObj"
|
|
33622
|
+
},
|
|
33623
|
+
"default": "{\n render: () => html`\n <div style=\"position: absolute; right: 0; top: 0; display: flex; flex-direction: column\">\n <zero-toast notify=\"warning\" auto-close=\"true\" close-timeout=\"5000\">\n <h6 slot=\"top\">Toast title</h6>\n <span slot=\"content\">Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet. Lorem, ipsum dolor.</span>\n <span slot=\"date\">Today 14:28</span>\n </zero-toast>\n <zero-toast notify=\"success\">\n <h6 slot=\"top\">Toast title</h6>\n <span slot=\"date\">Today 14:28</span>\n </zero-toast>\n <zero-toast>\n <h6 slot=\"top\">Toast title</h6>\n </zero-toast>\n <zero-toast>\n <h6 slot=\"top\">Toast title</h6>\n <span slot=\"content\">Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet. Lorem, ipsum dolor.</span>\n <span slot=\"date\">Today 14:28</span>\n <zero-button appearance=\"primary-gradient\" slot=\"bottom\">Close notification</zero-button>\n </foundation-toast>\n </div>\n `,\n}"
|
|
33624
|
+
}
|
|
33625
|
+
],
|
|
33626
|
+
"exports": [
|
|
33627
|
+
{
|
|
33628
|
+
"kind": "js",
|
|
33629
|
+
"name": "default",
|
|
33630
|
+
"declaration": {
|
|
33631
|
+
"name": "meta",
|
|
33632
|
+
"module": "src/toast/toast.stories.ts"
|
|
33633
|
+
}
|
|
33634
|
+
},
|
|
33635
|
+
{
|
|
33636
|
+
"kind": "js",
|
|
33637
|
+
"name": "Primary",
|
|
33638
|
+
"declaration": {
|
|
33639
|
+
"name": "Primary",
|
|
33640
|
+
"module": "src/toast/toast.stories.ts"
|
|
33641
|
+
}
|
|
33642
|
+
}
|
|
33643
|
+
]
|
|
33644
|
+
},
|
|
33645
|
+
{
|
|
33646
|
+
"kind": "javascript-module",
|
|
33647
|
+
"path": "src/toast/toast.styles.ts",
|
|
33648
|
+
"declarations": [
|
|
33649
|
+
{
|
|
33650
|
+
"kind": "variable",
|
|
33651
|
+
"name": "zeroToastStyles",
|
|
33652
|
+
"default": "css`\n ${foundationToastStyles}\n .toast {\n border: calc(var(--stroke-width) * 1px) solid ${neutralLayer3};\n background-color: ${neutralLayer1};\n }\n\n .toast::after {\n background-color: ${primaryBlueWebRGBA(1)};\n }\n\n :host([notify='warning']) .toast::after {\n background-color: ${chartPinkWebRGBA(1)};\n }\n\n :host([notify='success']) .toast::after {\n background-color: ${secondaryTealWebRGBA(1)};\n }\n\n :host([notify='critical']) .toast::after {\n background-color: ${warningYellowWebRGBA(1)};\n }\n\n :host([notify='serious']) .toast::after {\n background-color: ${secondaryOrangeWebRGBA(1)};\n }\n`"
|
|
33653
|
+
}
|
|
33654
|
+
],
|
|
33655
|
+
"exports": [
|
|
33656
|
+
{
|
|
33657
|
+
"kind": "js",
|
|
33658
|
+
"name": "zeroToastStyles",
|
|
33659
|
+
"declaration": {
|
|
33660
|
+
"name": "zeroToastStyles",
|
|
33661
|
+
"module": "src/toast/toast.styles.ts"
|
|
33662
|
+
}
|
|
33663
|
+
}
|
|
33664
|
+
]
|
|
33665
|
+
},
|
|
33666
|
+
{
|
|
33667
|
+
"kind": "javascript-module",
|
|
33668
|
+
"path": "src/toast/toast.ts",
|
|
33669
|
+
"declarations": [
|
|
33670
|
+
{
|
|
33671
|
+
"kind": "variable",
|
|
33672
|
+
"name": "defaultToastConfig",
|
|
33673
|
+
"default": "foundationConfig"
|
|
33674
|
+
},
|
|
33675
|
+
{
|
|
33676
|
+
"kind": "variable",
|
|
33677
|
+
"name": "zeroToastShadowOptions",
|
|
33678
|
+
"default": "foundationToastShadowOptions"
|
|
33679
|
+
},
|
|
33680
|
+
{
|
|
33681
|
+
"kind": "class",
|
|
33682
|
+
"description": "",
|
|
33683
|
+
"name": "Toast",
|
|
33684
|
+
"superclass": {
|
|
33685
|
+
"name": "FoundationToast",
|
|
33686
|
+
"package": "@genesislcap/foundation-ui"
|
|
33687
|
+
},
|
|
33688
|
+
"tagName": "%%prefix%%-toast",
|
|
33689
|
+
"customElement": true,
|
|
33690
|
+
"attributes": [
|
|
33691
|
+
{
|
|
33692
|
+
"name": "close-timeout",
|
|
33693
|
+
"type": {
|
|
33694
|
+
"text": "number"
|
|
33695
|
+
},
|
|
33696
|
+
"default": "10000",
|
|
33697
|
+
"fieldName": "closeTimeout",
|
|
33698
|
+
"inheritedFrom": {
|
|
33699
|
+
"name": "Toast",
|
|
33700
|
+
"module": "src/toast/toast.ts"
|
|
33701
|
+
}
|
|
33759
33702
|
},
|
|
33760
33703
|
{
|
|
33761
|
-
"
|
|
33762
|
-
"
|
|
33704
|
+
"name": "auto-close",
|
|
33705
|
+
"type": {
|
|
33706
|
+
"text": "boolean"
|
|
33707
|
+
},
|
|
33708
|
+
"default": "false",
|
|
33709
|
+
"fieldName": "autoClose",
|
|
33710
|
+
"inheritedFrom": {
|
|
33711
|
+
"name": "Toast",
|
|
33712
|
+
"module": "src/toast/toast.ts"
|
|
33713
|
+
}
|
|
33714
|
+
}
|
|
33715
|
+
],
|
|
33716
|
+
"members": [
|
|
33717
|
+
{
|
|
33718
|
+
"kind": "field",
|
|
33719
|
+
"name": "toast",
|
|
33720
|
+
"type": {
|
|
33721
|
+
"text": "HTMLElement"
|
|
33722
|
+
},
|
|
33763
33723
|
"privacy": "public",
|
|
33764
|
-
"
|
|
33765
|
-
"
|
|
33766
|
-
|
|
33767
|
-
|
|
33724
|
+
"inheritedFrom": {
|
|
33725
|
+
"name": "Toast",
|
|
33726
|
+
"module": "src/toast/toast.ts"
|
|
33727
|
+
}
|
|
33728
|
+
},
|
|
33729
|
+
{
|
|
33730
|
+
"kind": "field",
|
|
33731
|
+
"name": "deleteAnimation",
|
|
33732
|
+
"type": {
|
|
33733
|
+
"text": "string"
|
|
33768
33734
|
},
|
|
33769
|
-
"
|
|
33735
|
+
"default": "''",
|
|
33736
|
+
"inheritedFrom": {
|
|
33737
|
+
"name": "Toast",
|
|
33738
|
+
"module": "src/toast/toast.ts"
|
|
33739
|
+
}
|
|
33740
|
+
},
|
|
33741
|
+
{
|
|
33742
|
+
"kind": "field",
|
|
33743
|
+
"name": "closeTimeout",
|
|
33744
|
+
"type": {
|
|
33745
|
+
"text": "number"
|
|
33746
|
+
},
|
|
33747
|
+
"default": "10000",
|
|
33770
33748
|
"inheritedFrom": {
|
|
33771
|
-
"name": "
|
|
33772
|
-
"module": "src/
|
|
33749
|
+
"name": "Toast",
|
|
33750
|
+
"module": "src/toast/toast.ts"
|
|
33773
33751
|
}
|
|
33774
33752
|
},
|
|
33775
33753
|
{
|
|
33776
33754
|
"kind": "field",
|
|
33777
|
-
"name": "
|
|
33755
|
+
"name": "autoClose",
|
|
33756
|
+
"type": {
|
|
33757
|
+
"text": "boolean"
|
|
33758
|
+
},
|
|
33759
|
+
"default": "false",
|
|
33778
33760
|
"inheritedFrom": {
|
|
33779
|
-
"name": "
|
|
33780
|
-
"module": "src/
|
|
33761
|
+
"name": "Toast",
|
|
33762
|
+
"module": "src/toast/toast.ts"
|
|
33763
|
+
}
|
|
33764
|
+
},
|
|
33765
|
+
{
|
|
33766
|
+
"kind": "method",
|
|
33767
|
+
"name": "close",
|
|
33768
|
+
"privacy": "public",
|
|
33769
|
+
"description": "Remove the toast from display.",
|
|
33770
|
+
"inheritedFrom": {
|
|
33771
|
+
"name": "Toast",
|
|
33772
|
+
"module": "src/toast/toast.ts"
|
|
33781
33773
|
}
|
|
33782
33774
|
},
|
|
33783
33775
|
{
|
|
@@ -33789,8 +33781,8 @@
|
|
|
33789
33781
|
"privacy": "private",
|
|
33790
33782
|
"default": "void 0",
|
|
33791
33783
|
"inheritedFrom": {
|
|
33792
|
-
"name": "
|
|
33793
|
-
"module": "src/
|
|
33784
|
+
"name": "FoundationElement",
|
|
33785
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
33794
33786
|
}
|
|
33795
33787
|
},
|
|
33796
33788
|
{
|
|
@@ -33802,8 +33794,8 @@
|
|
|
33802
33794
|
"privacy": "public",
|
|
33803
33795
|
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
33804
33796
|
"inheritedFrom": {
|
|
33805
|
-
"name": "
|
|
33806
|
-
"module": "src/
|
|
33797
|
+
"name": "FoundationElement",
|
|
33798
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
33807
33799
|
}
|
|
33808
33800
|
},
|
|
33809
33801
|
{
|
|
@@ -33815,8 +33807,8 @@
|
|
|
33815
33807
|
"privacy": "public",
|
|
33816
33808
|
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
33817
33809
|
"inheritedFrom": {
|
|
33818
|
-
"name": "
|
|
33819
|
-
"module": "src/
|
|
33810
|
+
"name": "FoundationElement",
|
|
33811
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
33820
33812
|
}
|
|
33821
33813
|
},
|
|
33822
33814
|
{
|
|
@@ -33829,8 +33821,8 @@
|
|
|
33829
33821
|
}
|
|
33830
33822
|
},
|
|
33831
33823
|
"inheritedFrom": {
|
|
33832
|
-
"name": "
|
|
33833
|
-
"module": "src/
|
|
33824
|
+
"name": "FoundationElement",
|
|
33825
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
33834
33826
|
}
|
|
33835
33827
|
},
|
|
33836
33828
|
{
|
|
@@ -33842,8 +33834,8 @@
|
|
|
33842
33834
|
"privacy": "public",
|
|
33843
33835
|
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
33844
33836
|
"inheritedFrom": {
|
|
33845
|
-
"name": "
|
|
33846
|
-
"module": "src/
|
|
33837
|
+
"name": "FoundationElement",
|
|
33838
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
33847
33839
|
}
|
|
33848
33840
|
},
|
|
33849
33841
|
{
|
|
@@ -33856,8 +33848,8 @@
|
|
|
33856
33848
|
}
|
|
33857
33849
|
},
|
|
33858
33850
|
"inheritedFrom": {
|
|
33859
|
-
"name": "
|
|
33860
|
-
"module": "src/
|
|
33851
|
+
"name": "FoundationElement",
|
|
33852
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
33861
33853
|
}
|
|
33862
33854
|
},
|
|
33863
33855
|
{
|
|
@@ -33887,42 +33879,50 @@
|
|
|
33887
33879
|
],
|
|
33888
33880
|
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
33889
33881
|
"inheritedFrom": {
|
|
33890
|
-
"name": "
|
|
33891
|
-
"module": "src/
|
|
33892
|
-
}
|
|
33893
|
-
}
|
|
33894
|
-
],
|
|
33895
|
-
"events": [
|
|
33896
|
-
{
|
|
33897
|
-
"description": "Fires a custom 'change' event when the value has changed",
|
|
33898
|
-
"name": "change",
|
|
33899
|
-
"inheritedFrom": {
|
|
33900
|
-
"name": "TextField",
|
|
33901
|
-
"module": "src/text-field/text-field.ts"
|
|
33882
|
+
"name": "FoundationElement",
|
|
33883
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
33902
33884
|
}
|
|
33903
33885
|
}
|
|
33904
33886
|
]
|
|
33905
33887
|
},
|
|
33906
33888
|
{
|
|
33907
33889
|
"kind": "variable",
|
|
33908
|
-
"name": "
|
|
33890
|
+
"name": "zeroToast",
|
|
33891
|
+
"description": "The Zero Toast",
|
|
33892
|
+
"privacy": "public"
|
|
33909
33893
|
}
|
|
33910
33894
|
],
|
|
33911
33895
|
"exports": [
|
|
33912
33896
|
{
|
|
33913
33897
|
"kind": "js",
|
|
33914
|
-
"name": "
|
|
33898
|
+
"name": "defaultToastConfig",
|
|
33915
33899
|
"declaration": {
|
|
33916
|
-
"name": "
|
|
33917
|
-
"module": "src/
|
|
33900
|
+
"name": "defaultToastConfig",
|
|
33901
|
+
"module": "src/toast/toast.ts"
|
|
33918
33902
|
}
|
|
33919
33903
|
},
|
|
33920
33904
|
{
|
|
33921
33905
|
"kind": "js",
|
|
33922
|
-
"name": "
|
|
33906
|
+
"name": "zeroToastShadowOptions",
|
|
33923
33907
|
"declaration": {
|
|
33924
|
-
"name": "
|
|
33925
|
-
"module": "src/
|
|
33908
|
+
"name": "zeroToastShadowOptions",
|
|
33909
|
+
"module": "src/toast/toast.ts"
|
|
33910
|
+
}
|
|
33911
|
+
},
|
|
33912
|
+
{
|
|
33913
|
+
"kind": "js",
|
|
33914
|
+
"name": "Toast",
|
|
33915
|
+
"declaration": {
|
|
33916
|
+
"name": "Toast",
|
|
33917
|
+
"module": "src/toast/toast.ts"
|
|
33918
|
+
}
|
|
33919
|
+
},
|
|
33920
|
+
{
|
|
33921
|
+
"kind": "js",
|
|
33922
|
+
"name": "zeroToast",
|
|
33923
|
+
"declaration": {
|
|
33924
|
+
"name": "zeroToast",
|
|
33925
|
+
"module": "src/toast/toast.ts"
|
|
33926
33926
|
}
|
|
33927
33927
|
}
|
|
33928
33928
|
]
|
|
@@ -35750,87 +35750,6 @@
|
|
|
35750
35750
|
}
|
|
35751
35751
|
]
|
|
35752
35752
|
},
|
|
35753
|
-
{
|
|
35754
|
-
"kind": "javascript-module",
|
|
35755
|
-
"path": "src/utils/behaviors.ts",
|
|
35756
|
-
"declarations": [
|
|
35757
|
-
{
|
|
35758
|
-
"kind": "function",
|
|
35759
|
-
"name": "appearanceBehavior",
|
|
35760
|
-
"parameters": [
|
|
35761
|
-
{
|
|
35762
|
-
"name": "value",
|
|
35763
|
-
"type": {
|
|
35764
|
-
"text": "string"
|
|
35765
|
-
},
|
|
35766
|
-
"description": "The value of the appearance property"
|
|
35767
|
-
},
|
|
35768
|
-
{
|
|
35769
|
-
"name": "styles",
|
|
35770
|
-
"type": {
|
|
35771
|
-
"text": "ElementStyles"
|
|
35772
|
-
},
|
|
35773
|
-
"description": "The styles to be applied when condition matches"
|
|
35774
|
-
}
|
|
35775
|
-
],
|
|
35776
|
-
"description": "Behavior that will conditionally apply a stylesheet based on the elements\nappearance property",
|
|
35777
|
-
"privacy": "public"
|
|
35778
|
-
}
|
|
35779
|
-
],
|
|
35780
|
-
"exports": [
|
|
35781
|
-
{
|
|
35782
|
-
"kind": "js",
|
|
35783
|
-
"name": "appearanceBehavior",
|
|
35784
|
-
"declaration": {
|
|
35785
|
-
"name": "appearanceBehavior",
|
|
35786
|
-
"module": "src/utils/behaviors.ts"
|
|
35787
|
-
}
|
|
35788
|
-
}
|
|
35789
|
-
]
|
|
35790
|
-
},
|
|
35791
|
-
{
|
|
35792
|
-
"kind": "javascript-module",
|
|
35793
|
-
"path": "src/utils/index.ts",
|
|
35794
|
-
"declarations": [],
|
|
35795
|
-
"exports": [
|
|
35796
|
-
{
|
|
35797
|
-
"kind": "js",
|
|
35798
|
-
"name": "*",
|
|
35799
|
-
"declaration": {
|
|
35800
|
-
"name": "*",
|
|
35801
|
-
"package": "./behaviors"
|
|
35802
|
-
}
|
|
35803
|
-
},
|
|
35804
|
-
{
|
|
35805
|
-
"kind": "js",
|
|
35806
|
-
"name": "*",
|
|
35807
|
-
"declaration": {
|
|
35808
|
-
"name": "*",
|
|
35809
|
-
"package": "./logger"
|
|
35810
|
-
}
|
|
35811
|
-
}
|
|
35812
|
-
]
|
|
35813
|
-
},
|
|
35814
|
-
{
|
|
35815
|
-
"kind": "javascript-module",
|
|
35816
|
-
"path": "src/utils/logger.ts",
|
|
35817
|
-
"declarations": [
|
|
35818
|
-
{
|
|
35819
|
-
"kind": "variable",
|
|
35820
|
-
"name": "logger"
|
|
35821
|
-
}
|
|
35822
|
-
],
|
|
35823
|
-
"exports": [
|
|
35824
|
-
{
|
|
35825
|
-
"kind": "js",
|
|
35826
|
-
"name": "logger",
|
|
35827
|
-
"declaration": {
|
|
35828
|
-
"name": "logger",
|
|
35829
|
-
"module": "src/utils/logger.ts"
|
|
35830
|
-
}
|
|
35831
|
-
}
|
|
35832
|
-
]
|
|
35833
|
-
},
|
|
35834
35753
|
{
|
|
35835
35754
|
"kind": "javascript-module",
|
|
35836
35755
|
"path": "src/url-input/index.ts",
|
|
@@ -36554,6 +36473,87 @@
|
|
|
36554
36473
|
}
|
|
36555
36474
|
]
|
|
36556
36475
|
},
|
|
36476
|
+
{
|
|
36477
|
+
"kind": "javascript-module",
|
|
36478
|
+
"path": "src/utils/behaviors.ts",
|
|
36479
|
+
"declarations": [
|
|
36480
|
+
{
|
|
36481
|
+
"kind": "function",
|
|
36482
|
+
"name": "appearanceBehavior",
|
|
36483
|
+
"parameters": [
|
|
36484
|
+
{
|
|
36485
|
+
"name": "value",
|
|
36486
|
+
"type": {
|
|
36487
|
+
"text": "string"
|
|
36488
|
+
},
|
|
36489
|
+
"description": "The value of the appearance property"
|
|
36490
|
+
},
|
|
36491
|
+
{
|
|
36492
|
+
"name": "styles",
|
|
36493
|
+
"type": {
|
|
36494
|
+
"text": "ElementStyles"
|
|
36495
|
+
},
|
|
36496
|
+
"description": "The styles to be applied when condition matches"
|
|
36497
|
+
}
|
|
36498
|
+
],
|
|
36499
|
+
"description": "Behavior that will conditionally apply a stylesheet based on the elements\nappearance property",
|
|
36500
|
+
"privacy": "public"
|
|
36501
|
+
}
|
|
36502
|
+
],
|
|
36503
|
+
"exports": [
|
|
36504
|
+
{
|
|
36505
|
+
"kind": "js",
|
|
36506
|
+
"name": "appearanceBehavior",
|
|
36507
|
+
"declaration": {
|
|
36508
|
+
"name": "appearanceBehavior",
|
|
36509
|
+
"module": "src/utils/behaviors.ts"
|
|
36510
|
+
}
|
|
36511
|
+
}
|
|
36512
|
+
]
|
|
36513
|
+
},
|
|
36514
|
+
{
|
|
36515
|
+
"kind": "javascript-module",
|
|
36516
|
+
"path": "src/utils/index.ts",
|
|
36517
|
+
"declarations": [],
|
|
36518
|
+
"exports": [
|
|
36519
|
+
{
|
|
36520
|
+
"kind": "js",
|
|
36521
|
+
"name": "*",
|
|
36522
|
+
"declaration": {
|
|
36523
|
+
"name": "*",
|
|
36524
|
+
"package": "./behaviors"
|
|
36525
|
+
}
|
|
36526
|
+
},
|
|
36527
|
+
{
|
|
36528
|
+
"kind": "js",
|
|
36529
|
+
"name": "*",
|
|
36530
|
+
"declaration": {
|
|
36531
|
+
"name": "*",
|
|
36532
|
+
"package": "./logger"
|
|
36533
|
+
}
|
|
36534
|
+
}
|
|
36535
|
+
]
|
|
36536
|
+
},
|
|
36537
|
+
{
|
|
36538
|
+
"kind": "javascript-module",
|
|
36539
|
+
"path": "src/utils/logger.ts",
|
|
36540
|
+
"declarations": [
|
|
36541
|
+
{
|
|
36542
|
+
"kind": "variable",
|
|
36543
|
+
"name": "logger"
|
|
36544
|
+
}
|
|
36545
|
+
],
|
|
36546
|
+
"exports": [
|
|
36547
|
+
{
|
|
36548
|
+
"kind": "js",
|
|
36549
|
+
"name": "logger",
|
|
36550
|
+
"declaration": {
|
|
36551
|
+
"name": "logger",
|
|
36552
|
+
"module": "src/utils/logger.ts"
|
|
36553
|
+
}
|
|
36554
|
+
}
|
|
36555
|
+
]
|
|
36556
|
+
},
|
|
36557
36557
|
{
|
|
36558
36558
|
"kind": "javascript-module",
|
|
36559
36559
|
"path": "src/_config/styles/colors.ts",
|