@synergy-design-system/components 1.1.0 → 1.2.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/README.md +24 -16
- package/dist/chunks/{chunk.RAJNSJOZ.js → chunk.2OYZUDFV.js} +2 -2
- package/dist/chunks/{chunk.OVS5OKTW.js → chunk.3CSVGX3J.js} +3 -3
- package/dist/chunks/{chunk.P3EPUBB3.js → chunk.44U5VKNJ.js} +3 -3
- package/dist/chunks/{chunk.V3UXMJRA.js → chunk.4EWYZIJS.js} +2 -2
- package/dist/chunks/{chunk.OEII5257.js → chunk.4EXY5F5M.js} +2 -2
- package/dist/chunks/{chunk.4XAK6MOQ.js → chunk.6PFQSQLU.js} +2 -2
- package/dist/chunks/chunk.7W73A57K.js +108 -0
- package/dist/chunks/chunk.7W73A57K.js.map +7 -0
- package/dist/chunks/{chunk.BBI3HWRM.js → chunk.ADE7GDYK.js} +3 -3
- package/dist/chunks/{chunk.5D2VBXTP.js → chunk.AFVZYX7H.js} +2 -2
- package/dist/chunks/chunk.CAIB544F.js +12 -0
- package/dist/chunks/chunk.CAIB544F.js.map +7 -0
- package/dist/chunks/{chunk.7ODKEYK3.js → chunk.CB2M3AVU.js} +2 -2
- package/dist/chunks/{chunk.43IE6Z7Q.js → chunk.D5YL3H6T.js} +2 -2
- package/dist/chunks/{chunk.ICDHGCRE.js → chunk.E2TU3YYJ.js} +2 -2
- package/dist/chunks/{chunk.GNAJOKCJ.js → chunk.EJXWL3JM.js} +4 -2
- package/dist/chunks/{chunk.GNAJOKCJ.js.map → chunk.EJXWL3JM.js.map} +2 -2
- package/dist/chunks/chunk.ESQOUQV3.js +75 -0
- package/dist/chunks/chunk.ESQOUQV3.js.map +7 -0
- package/dist/chunks/{chunk.EXMVZ32W.js → chunk.FHYBGERU.js} +2 -2
- package/dist/chunks/{chunk.7LGURT5X.js → chunk.JRAW7QJL.js} +2 -2
- package/dist/chunks/{chunk.A7ZVGGIT.js → chunk.L6I5ZLBO.js} +3 -3
- package/dist/chunks/{chunk.JSGAT7FF.js → chunk.MJC7VLA2.js} +2 -2
- package/dist/chunks/{chunk.L6QCO373.js → chunk.MUP4GIQL.js} +2 -2
- package/dist/chunks/{chunk.JEEPLCYY.js → chunk.NRA7I7QC.js} +4 -4
- package/dist/chunks/{chunk.EEG4VWBU.js → chunk.Q7NHWXSL.js} +2 -2
- package/dist/chunks/chunk.QHFGD6WW.js +73 -0
- package/dist/chunks/chunk.QHFGD6WW.js.map +7 -0
- package/dist/chunks/{chunk.5DHO22JT.js → chunk.RG4Z2I6D.js} +3 -3
- package/dist/chunks/{chunk.7NADL2IT.js → chunk.RKQHPBKM.js} +3 -3
- package/dist/chunks/{chunk.CIYOYCTY.js → chunk.SEHRSICV.js} +2 -2
- package/dist/chunks/{chunk.S424QLI7.js → chunk.SPPBO7QV.js} +2 -2
- package/dist/chunks/{chunk.S424QLI7.js.map → chunk.SPPBO7QV.js.map} +1 -1
- package/dist/chunks/{chunk.QP2S2MDN.js → chunk.TACOOH3N.js} +2 -2
- package/dist/chunks/{chunk.6WUVZQ3H.js → chunk.VTYPMAXM.js} +2 -2
- package/dist/chunks/{chunk.UU5CELZK.js → chunk.ZGZ7W6BC.js} +2 -2
- package/dist/components/button/button.component.js +6 -6
- package/dist/components/button/button.js +7 -7
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +5 -5
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/icon/icon.component.js +4 -4
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon/library.js +2 -2
- package/dist/components/icon/library.system.js +1 -1
- package/dist/components/icon-button/icon-button.component.js +5 -5
- package/dist/components/icon-button/icon-button.js +6 -6
- package/dist/components/input/input.component.js +5 -5
- package/dist/components/input/input.js +6 -6
- package/dist/components/radio/radio.component.js +5 -5
- package/dist/components/radio/radio.js +6 -6
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tag/tag.component.d.ts +33 -0
- package/dist/components/tag/tag.component.js +25 -0
- package/dist/components/tag/tag.component.js.map +7 -0
- package/dist/components/tag/tag.custom.styles.d.ts +2 -0
- package/dist/components/tag/tag.custom.styles.js +8 -0
- package/dist/components/tag/tag.custom.styles.js.map +7 -0
- package/dist/components/tag/tag.d.ts +8 -0
- package/dist/components/tag/tag.js +26 -0
- package/dist/components/tag/tag.js.map +7 -0
- package/dist/components/tag/tag.styles.d.ts +2 -0
- package/dist/components/tag/tag.styles.js +10 -0
- package/dist/components/tag/tag.styles.js.map +7 -0
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/custom-elements.json +273 -141
- package/dist/events/events.d.ts +1 -0
- package/dist/events/syn-remove.d.ts +6 -0
- package/dist/synergy.d.ts +1 -0
- package/dist/synergy.js +37 -30
- package/dist/utilities/icon-library.js +2 -2
- package/dist/vscode.html-custom-data.json +43 -17
- package/dist/web-types.json +77 -30
- package/package.json +2 -1
- /package/dist/chunks/{chunk.RAJNSJOZ.js.map → chunk.2OYZUDFV.js.map} +0 -0
- /package/dist/chunks/{chunk.OVS5OKTW.js.map → chunk.3CSVGX3J.js.map} +0 -0
- /package/dist/chunks/{chunk.P3EPUBB3.js.map → chunk.44U5VKNJ.js.map} +0 -0
- /package/dist/chunks/{chunk.V3UXMJRA.js.map → chunk.4EWYZIJS.js.map} +0 -0
- /package/dist/chunks/{chunk.OEII5257.js.map → chunk.4EXY5F5M.js.map} +0 -0
- /package/dist/chunks/{chunk.4XAK6MOQ.js.map → chunk.6PFQSQLU.js.map} +0 -0
- /package/dist/chunks/{chunk.BBI3HWRM.js.map → chunk.ADE7GDYK.js.map} +0 -0
- /package/dist/chunks/{chunk.5D2VBXTP.js.map → chunk.AFVZYX7H.js.map} +0 -0
- /package/dist/chunks/{chunk.7ODKEYK3.js.map → chunk.CB2M3AVU.js.map} +0 -0
- /package/dist/chunks/{chunk.43IE6Z7Q.js.map → chunk.D5YL3H6T.js.map} +0 -0
- /package/dist/chunks/{chunk.ICDHGCRE.js.map → chunk.E2TU3YYJ.js.map} +0 -0
- /package/dist/chunks/{chunk.EXMVZ32W.js.map → chunk.FHYBGERU.js.map} +0 -0
- /package/dist/chunks/{chunk.7LGURT5X.js.map → chunk.JRAW7QJL.js.map} +0 -0
- /package/dist/chunks/{chunk.A7ZVGGIT.js.map → chunk.L6I5ZLBO.js.map} +0 -0
- /package/dist/chunks/{chunk.JSGAT7FF.js.map → chunk.MJC7VLA2.js.map} +0 -0
- /package/dist/chunks/{chunk.L6QCO373.js.map → chunk.MUP4GIQL.js.map} +0 -0
- /package/dist/chunks/{chunk.JEEPLCYY.js.map → chunk.NRA7I7QC.js.map} +0 -0
- /package/dist/chunks/{chunk.EEG4VWBU.js.map → chunk.Q7NHWXSL.js.map} +0 -0
- /package/dist/chunks/{chunk.5DHO22JT.js.map → chunk.RG4Z2I6D.js.map} +0 -0
- /package/dist/chunks/{chunk.7NADL2IT.js.map → chunk.RKQHPBKM.js.map} +0 -0
- /package/dist/chunks/{chunk.CIYOYCTY.js.map → chunk.SEHRSICV.js.map} +0 -0
- /package/dist/chunks/{chunk.QP2S2MDN.js.map → chunk.TACOOH3N.js.map} +0 -0
- /package/dist/chunks/{chunk.6WUVZQ3H.js.map → chunk.VTYPMAXM.js.map} +0 -0
- /package/dist/chunks/{chunk.UU5CELZK.js.map → chunk.ZGZ7W6BC.js.map} +0 -0
|
@@ -2,6 +2,146 @@
|
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"readme": "",
|
|
4
4
|
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "components/button-group/button-group.js",
|
|
8
|
+
"declarations": [
|
|
9
|
+
{
|
|
10
|
+
"kind": "class",
|
|
11
|
+
"description": "",
|
|
12
|
+
"name": "SynButtonGroup",
|
|
13
|
+
"cssParts": [
|
|
14
|
+
{
|
|
15
|
+
"description": "The component's base wrapper.",
|
|
16
|
+
"name": "base"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"slots": [
|
|
20
|
+
{
|
|
21
|
+
"description": "One or more `<syn-button>` elements to display in the button group.",
|
|
22
|
+
"name": ""
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"members": [
|
|
26
|
+
{
|
|
27
|
+
"kind": "field",
|
|
28
|
+
"name": "defaultSlot",
|
|
29
|
+
"type": {
|
|
30
|
+
"text": "HTMLSlotElement"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"kind": "field",
|
|
35
|
+
"name": "disableRole",
|
|
36
|
+
"type": {
|
|
37
|
+
"text": "boolean"
|
|
38
|
+
},
|
|
39
|
+
"default": "false"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"kind": "field",
|
|
43
|
+
"name": "label",
|
|
44
|
+
"type": {
|
|
45
|
+
"text": "string"
|
|
46
|
+
},
|
|
47
|
+
"default": "''",
|
|
48
|
+
"description": "A label to use for the button group. This won't be displayed on the screen, but it will be announced by assistive\ndevices when interacting with the control and is strongly recommended.",
|
|
49
|
+
"attribute": "label"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"kind": "method",
|
|
53
|
+
"name": "handleFocus",
|
|
54
|
+
"privacy": "private",
|
|
55
|
+
"parameters": [
|
|
56
|
+
{
|
|
57
|
+
"name": "event",
|
|
58
|
+
"type": {
|
|
59
|
+
"text": "Event"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"kind": "method",
|
|
66
|
+
"name": "handleBlur",
|
|
67
|
+
"privacy": "private",
|
|
68
|
+
"parameters": [
|
|
69
|
+
{
|
|
70
|
+
"name": "event",
|
|
71
|
+
"type": {
|
|
72
|
+
"text": "Event"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"kind": "method",
|
|
79
|
+
"name": "handleMouseOver",
|
|
80
|
+
"privacy": "private",
|
|
81
|
+
"parameters": [
|
|
82
|
+
{
|
|
83
|
+
"name": "event",
|
|
84
|
+
"type": {
|
|
85
|
+
"text": "Event"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"kind": "method",
|
|
92
|
+
"name": "handleMouseOut",
|
|
93
|
+
"privacy": "private",
|
|
94
|
+
"parameters": [
|
|
95
|
+
{
|
|
96
|
+
"name": "event",
|
|
97
|
+
"type": {
|
|
98
|
+
"text": "Event"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"kind": "method",
|
|
105
|
+
"name": "handleSlotChange",
|
|
106
|
+
"privacy": "private"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"attributes": [
|
|
110
|
+
{
|
|
111
|
+
"name": "label",
|
|
112
|
+
"type": {
|
|
113
|
+
"text": "string"
|
|
114
|
+
},
|
|
115
|
+
"default": "''",
|
|
116
|
+
"description": "A label to use for the button group. This won't be displayed on the screen, but it will be announced by assistive\ndevices when interacting with the control and is strongly recommended.",
|
|
117
|
+
"fieldName": "label"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"superclass": {
|
|
121
|
+
"name": "SynergyElement",
|
|
122
|
+
"module": "/src/internal/synergy-element.js"
|
|
123
|
+
},
|
|
124
|
+
"summary": "Button groups can be used to group related buttons into sections.",
|
|
125
|
+
"tagNameWithoutPrefix": "button-group",
|
|
126
|
+
"tagName": "syn-button-group",
|
|
127
|
+
"customElement": true,
|
|
128
|
+
"jsDoc": "/**\n * @summary Button groups can be used to group related buttons into sections.\n * @documentation https://synergy.style/components/button-group\n * @status stable\n * @since 2.0\n *\n * @slot - One or more `<syn-button>` elements to display in the button group.\n *\n * @csspart base - The component's base wrapper.\n */",
|
|
129
|
+
"documentation": "https://synergy.style/components/button-group",
|
|
130
|
+
"status": "stable",
|
|
131
|
+
"since": "2.0"
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"exports": [
|
|
135
|
+
{
|
|
136
|
+
"kind": "js",
|
|
137
|
+
"name": "default",
|
|
138
|
+
"declaration": {
|
|
139
|
+
"name": "SynButtonGroup",
|
|
140
|
+
"module": "components/button-group/button-group.js"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
},
|
|
5
145
|
{
|
|
6
146
|
"kind": "javascript-module",
|
|
7
147
|
"path": "components/button/button.js",
|
|
@@ -616,146 +756,6 @@
|
|
|
616
756
|
}
|
|
617
757
|
]
|
|
618
758
|
},
|
|
619
|
-
{
|
|
620
|
-
"kind": "javascript-module",
|
|
621
|
-
"path": "components/button-group/button-group.js",
|
|
622
|
-
"declarations": [
|
|
623
|
-
{
|
|
624
|
-
"kind": "class",
|
|
625
|
-
"description": "",
|
|
626
|
-
"name": "SynButtonGroup",
|
|
627
|
-
"cssParts": [
|
|
628
|
-
{
|
|
629
|
-
"description": "The component's base wrapper.",
|
|
630
|
-
"name": "base"
|
|
631
|
-
}
|
|
632
|
-
],
|
|
633
|
-
"slots": [
|
|
634
|
-
{
|
|
635
|
-
"description": "One or more `<syn-button>` elements to display in the button group.",
|
|
636
|
-
"name": ""
|
|
637
|
-
}
|
|
638
|
-
],
|
|
639
|
-
"members": [
|
|
640
|
-
{
|
|
641
|
-
"kind": "field",
|
|
642
|
-
"name": "defaultSlot",
|
|
643
|
-
"type": {
|
|
644
|
-
"text": "HTMLSlotElement"
|
|
645
|
-
}
|
|
646
|
-
},
|
|
647
|
-
{
|
|
648
|
-
"kind": "field",
|
|
649
|
-
"name": "disableRole",
|
|
650
|
-
"type": {
|
|
651
|
-
"text": "boolean"
|
|
652
|
-
},
|
|
653
|
-
"default": "false"
|
|
654
|
-
},
|
|
655
|
-
{
|
|
656
|
-
"kind": "field",
|
|
657
|
-
"name": "label",
|
|
658
|
-
"type": {
|
|
659
|
-
"text": "string"
|
|
660
|
-
},
|
|
661
|
-
"default": "''",
|
|
662
|
-
"description": "A label to use for the button group. This won't be displayed on the screen, but it will be announced by assistive\ndevices when interacting with the control and is strongly recommended.",
|
|
663
|
-
"attribute": "label"
|
|
664
|
-
},
|
|
665
|
-
{
|
|
666
|
-
"kind": "method",
|
|
667
|
-
"name": "handleFocus",
|
|
668
|
-
"privacy": "private",
|
|
669
|
-
"parameters": [
|
|
670
|
-
{
|
|
671
|
-
"name": "event",
|
|
672
|
-
"type": {
|
|
673
|
-
"text": "Event"
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
|
-
]
|
|
677
|
-
},
|
|
678
|
-
{
|
|
679
|
-
"kind": "method",
|
|
680
|
-
"name": "handleBlur",
|
|
681
|
-
"privacy": "private",
|
|
682
|
-
"parameters": [
|
|
683
|
-
{
|
|
684
|
-
"name": "event",
|
|
685
|
-
"type": {
|
|
686
|
-
"text": "Event"
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
]
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
"kind": "method",
|
|
693
|
-
"name": "handleMouseOver",
|
|
694
|
-
"privacy": "private",
|
|
695
|
-
"parameters": [
|
|
696
|
-
{
|
|
697
|
-
"name": "event",
|
|
698
|
-
"type": {
|
|
699
|
-
"text": "Event"
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
]
|
|
703
|
-
},
|
|
704
|
-
{
|
|
705
|
-
"kind": "method",
|
|
706
|
-
"name": "handleMouseOut",
|
|
707
|
-
"privacy": "private",
|
|
708
|
-
"parameters": [
|
|
709
|
-
{
|
|
710
|
-
"name": "event",
|
|
711
|
-
"type": {
|
|
712
|
-
"text": "Event"
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
]
|
|
716
|
-
},
|
|
717
|
-
{
|
|
718
|
-
"kind": "method",
|
|
719
|
-
"name": "handleSlotChange",
|
|
720
|
-
"privacy": "private"
|
|
721
|
-
}
|
|
722
|
-
],
|
|
723
|
-
"attributes": [
|
|
724
|
-
{
|
|
725
|
-
"name": "label",
|
|
726
|
-
"type": {
|
|
727
|
-
"text": "string"
|
|
728
|
-
},
|
|
729
|
-
"default": "''",
|
|
730
|
-
"description": "A label to use for the button group. This won't be displayed on the screen, but it will be announced by assistive\ndevices when interacting with the control and is strongly recommended.",
|
|
731
|
-
"fieldName": "label"
|
|
732
|
-
}
|
|
733
|
-
],
|
|
734
|
-
"superclass": {
|
|
735
|
-
"name": "SynergyElement",
|
|
736
|
-
"module": "/src/internal/synergy-element.js"
|
|
737
|
-
},
|
|
738
|
-
"summary": "Button groups can be used to group related buttons into sections.",
|
|
739
|
-
"tagNameWithoutPrefix": "button-group",
|
|
740
|
-
"tagName": "syn-button-group",
|
|
741
|
-
"customElement": true,
|
|
742
|
-
"jsDoc": "/**\n * @summary Button groups can be used to group related buttons into sections.\n * @documentation https://synergy.style/components/button-group\n * @status stable\n * @since 2.0\n *\n * @slot - One or more `<syn-button>` elements to display in the button group.\n *\n * @csspart base - The component's base wrapper.\n */",
|
|
743
|
-
"documentation": "https://synergy.style/components/button-group",
|
|
744
|
-
"status": "stable",
|
|
745
|
-
"since": "2.0"
|
|
746
|
-
}
|
|
747
|
-
],
|
|
748
|
-
"exports": [
|
|
749
|
-
{
|
|
750
|
-
"kind": "js",
|
|
751
|
-
"name": "default",
|
|
752
|
-
"declaration": {
|
|
753
|
-
"name": "SynButtonGroup",
|
|
754
|
-
"module": "components/button-group/button-group.js"
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
]
|
|
758
|
-
},
|
|
759
759
|
{
|
|
760
760
|
"kind": "javascript-module",
|
|
761
761
|
"path": "components/checkbox/checkbox.js",
|
|
@@ -4005,6 +4005,138 @@
|
|
|
4005
4005
|
}
|
|
4006
4006
|
]
|
|
4007
4007
|
},
|
|
4008
|
+
{
|
|
4009
|
+
"kind": "javascript-module",
|
|
4010
|
+
"path": "components/tag/tag.js",
|
|
4011
|
+
"declarations": [
|
|
4012
|
+
{
|
|
4013
|
+
"kind": "class",
|
|
4014
|
+
"description": "",
|
|
4015
|
+
"name": "SynTag",
|
|
4016
|
+
"cssParts": [
|
|
4017
|
+
{
|
|
4018
|
+
"description": "The component's base wrapper.",
|
|
4019
|
+
"name": "base"
|
|
4020
|
+
},
|
|
4021
|
+
{
|
|
4022
|
+
"description": "The tag's content.",
|
|
4023
|
+
"name": "content"
|
|
4024
|
+
},
|
|
4025
|
+
{
|
|
4026
|
+
"description": "The tag's remove button, an `<syn-icon-button>`.",
|
|
4027
|
+
"name": "remove-button"
|
|
4028
|
+
},
|
|
4029
|
+
{
|
|
4030
|
+
"description": "The remove button's exported `base` part.",
|
|
4031
|
+
"name": "remove-button__base"
|
|
4032
|
+
}
|
|
4033
|
+
],
|
|
4034
|
+
"slots": [
|
|
4035
|
+
{
|
|
4036
|
+
"description": "The tag's content.",
|
|
4037
|
+
"name": ""
|
|
4038
|
+
}
|
|
4039
|
+
],
|
|
4040
|
+
"members": [
|
|
4041
|
+
{
|
|
4042
|
+
"kind": "field",
|
|
4043
|
+
"name": "dependencies",
|
|
4044
|
+
"type": {
|
|
4045
|
+
"text": "object"
|
|
4046
|
+
},
|
|
4047
|
+
"static": true,
|
|
4048
|
+
"default": "{ 'syn-icon-button': SynIconButton }"
|
|
4049
|
+
},
|
|
4050
|
+
{
|
|
4051
|
+
"kind": "field",
|
|
4052
|
+
"name": "localize",
|
|
4053
|
+
"privacy": "private",
|
|
4054
|
+
"readonly": true,
|
|
4055
|
+
"default": "new LocalizeController(this)"
|
|
4056
|
+
},
|
|
4057
|
+
{
|
|
4058
|
+
"kind": "field",
|
|
4059
|
+
"name": "size",
|
|
4060
|
+
"type": {
|
|
4061
|
+
"text": "'small' | 'medium' | 'large'"
|
|
4062
|
+
},
|
|
4063
|
+
"default": "'medium'",
|
|
4064
|
+
"description": "The tag's size.",
|
|
4065
|
+
"attribute": "size",
|
|
4066
|
+
"reflects": true
|
|
4067
|
+
},
|
|
4068
|
+
{
|
|
4069
|
+
"kind": "field",
|
|
4070
|
+
"name": "removable",
|
|
4071
|
+
"type": {
|
|
4072
|
+
"text": "boolean"
|
|
4073
|
+
},
|
|
4074
|
+
"default": "false",
|
|
4075
|
+
"description": "Makes the tag removable and shows a remove button.",
|
|
4076
|
+
"attribute": "removable"
|
|
4077
|
+
},
|
|
4078
|
+
{
|
|
4079
|
+
"kind": "method",
|
|
4080
|
+
"name": "handleRemoveClick",
|
|
4081
|
+
"privacy": "private"
|
|
4082
|
+
}
|
|
4083
|
+
],
|
|
4084
|
+
"events": [
|
|
4085
|
+
{
|
|
4086
|
+
"description": "Emitted when the remove button is activated.",
|
|
4087
|
+
"name": "syn-remove",
|
|
4088
|
+
"reactName": "onSynRemove",
|
|
4089
|
+
"eventName": "SynRemoveEvent"
|
|
4090
|
+
}
|
|
4091
|
+
],
|
|
4092
|
+
"attributes": [
|
|
4093
|
+
{
|
|
4094
|
+
"name": "size",
|
|
4095
|
+
"type": {
|
|
4096
|
+
"text": "'small' | 'medium' | 'large'"
|
|
4097
|
+
},
|
|
4098
|
+
"default": "'medium'",
|
|
4099
|
+
"description": "The tag's size.",
|
|
4100
|
+
"fieldName": "size"
|
|
4101
|
+
},
|
|
4102
|
+
{
|
|
4103
|
+
"name": "removable",
|
|
4104
|
+
"type": {
|
|
4105
|
+
"text": "boolean"
|
|
4106
|
+
},
|
|
4107
|
+
"default": "false",
|
|
4108
|
+
"description": "Makes the tag removable and shows a remove button.",
|
|
4109
|
+
"fieldName": "removable"
|
|
4110
|
+
}
|
|
4111
|
+
],
|
|
4112
|
+
"superclass": {
|
|
4113
|
+
"name": "SynergyElement",
|
|
4114
|
+
"module": "/src/internal/synergy-element.js"
|
|
4115
|
+
},
|
|
4116
|
+
"summary": "Tags are used as labels to organize things or to indicate a selection.",
|
|
4117
|
+
"tagNameWithoutPrefix": "tag",
|
|
4118
|
+
"tagName": "syn-tag",
|
|
4119
|
+
"customElement": true,
|
|
4120
|
+
"jsDoc": "/**\n * @summary Tags are used as labels to organize things or to indicate a selection.\n * @documentation https://synergy.style/components/tag\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon-button\n *\n * @slot - The tag's content.\n *\n * @event syn-remove - Emitted when the remove button is activated.\n *\n * @csspart base - The component's base wrapper.\n * @csspart content - The tag's content.\n * @csspart remove-button - The tag's remove button, an `<syn-icon-button>`.\n * @csspart remove-button__base - The remove button's exported `base` part.\n */",
|
|
4121
|
+
"documentation": "https://synergy.style/components/tag",
|
|
4122
|
+
"status": "stable",
|
|
4123
|
+
"since": "2.0",
|
|
4124
|
+
"dependencies": [
|
|
4125
|
+
"syn-icon-button"
|
|
4126
|
+
]
|
|
4127
|
+
}
|
|
4128
|
+
],
|
|
4129
|
+
"exports": [
|
|
4130
|
+
{
|
|
4131
|
+
"kind": "js",
|
|
4132
|
+
"name": "default",
|
|
4133
|
+
"declaration": {
|
|
4134
|
+
"name": "SynTag",
|
|
4135
|
+
"module": "components/tag/tag.js"
|
|
4136
|
+
}
|
|
4137
|
+
}
|
|
4138
|
+
]
|
|
4139
|
+
},
|
|
4008
4140
|
{
|
|
4009
4141
|
"kind": "javascript-module",
|
|
4010
4142
|
"path": "components/textarea/textarea.js",
|
|
@@ -4764,7 +4896,7 @@
|
|
|
4764
4896
|
"package": {
|
|
4765
4897
|
"name": "@synergy-design-system/components",
|
|
4766
4898
|
"description": "",
|
|
4767
|
-
"version": "1.
|
|
4899
|
+
"version": "1.2.0",
|
|
4768
4900
|
"author": {
|
|
4769
4901
|
"name": "SICK Global UX Foundation",
|
|
4770
4902
|
"url": "https://www.sick.com"
|
package/dist/events/events.d.ts
CHANGED
package/dist/synergy.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export { default as SynRadioButton } from './components/radio-button/radio-butto
|
|
|
8
8
|
export { default as SynRadioGroup } from './components/radio-group/radio-group.js';
|
|
9
9
|
export { default as SynRadio } from './components/radio/radio.js';
|
|
10
10
|
export { default as SynSwitch } from './components/switch/switch.js';
|
|
11
|
+
export { default as SynTag } from './components/tag/tag.js';
|
|
11
12
|
export { default as SynTextarea } from './components/textarea/textarea.js';
|
|
12
13
|
export * from './utilities/base-path.js';
|
|
13
14
|
export * from './utilities/icon-library.js';
|
package/dist/synergy.js
CHANGED
|
@@ -1,81 +1,87 @@
|
|
|
1
|
-
import {
|
|
2
|
-
textarea_default
|
|
3
|
-
} from "./chunks/chunk.OEII5257.js";
|
|
4
1
|
import {
|
|
5
2
|
getFormControls,
|
|
6
3
|
serialize
|
|
7
4
|
} from "./chunks/chunk.Z3RZUTQU.js";
|
|
8
5
|
import "./chunks/chunk.NKIYFJN2.js";
|
|
6
|
+
import {
|
|
7
|
+
tag_default
|
|
8
|
+
} from "./chunks/chunk.CAIB544F.js";
|
|
9
|
+
import {
|
|
10
|
+
textarea_default
|
|
11
|
+
} from "./chunks/chunk.4EXY5F5M.js";
|
|
12
|
+
import "./chunks/chunk.D5YL3H6T.js";
|
|
13
|
+
import "./chunks/chunk.23HTU3YE.js";
|
|
14
|
+
import "./chunks/chunk.YBIBWRKC.js";
|
|
9
15
|
import {
|
|
10
16
|
switch_default
|
|
11
|
-
} from "./chunks/chunk.
|
|
12
|
-
import "./chunks/chunk.
|
|
17
|
+
} from "./chunks/chunk.E2TU3YYJ.js";
|
|
18
|
+
import "./chunks/chunk.2OYZUDFV.js";
|
|
13
19
|
import "./chunks/chunk.MNMITYTH.js";
|
|
14
20
|
import "./chunks/chunk.AFEABUNX.js";
|
|
15
|
-
import "./chunks/chunk.
|
|
16
|
-
import "./chunks/chunk.
|
|
17
|
-
import "./chunks/chunk.
|
|
21
|
+
import "./chunks/chunk.ESQOUQV3.js";
|
|
22
|
+
import "./chunks/chunk.QHFGD6WW.js";
|
|
23
|
+
import "./chunks/chunk.7W73A57K.js";
|
|
18
24
|
import {
|
|
19
25
|
radio_button_default
|
|
20
|
-
} from "./chunks/chunk.
|
|
21
|
-
import "./chunks/chunk.
|
|
26
|
+
} from "./chunks/chunk.MJC7VLA2.js";
|
|
27
|
+
import "./chunks/chunk.CB2M3AVU.js";
|
|
22
28
|
import "./chunks/chunk.OVVMSN4D.js";
|
|
23
29
|
import {
|
|
24
30
|
radio_group_default
|
|
25
|
-
} from "./chunks/chunk.
|
|
26
|
-
import "./chunks/chunk.
|
|
31
|
+
} from "./chunks/chunk.AFVZYX7H.js";
|
|
32
|
+
import "./chunks/chunk.ADE7GDYK.js";
|
|
27
33
|
import "./chunks/chunk.4I6M5V6O.js";
|
|
28
34
|
import "./chunks/chunk.F4MRQLNL.js";
|
|
29
35
|
import {
|
|
30
36
|
input_default
|
|
31
|
-
} from "./chunks/chunk.
|
|
32
|
-
import "./chunks/chunk.
|
|
37
|
+
} from "./chunks/chunk.JRAW7QJL.js";
|
|
38
|
+
import "./chunks/chunk.RG4Z2I6D.js";
|
|
33
39
|
import "./chunks/chunk.OXUFFH57.js";
|
|
34
40
|
import "./chunks/chunk.JHXCBOUD.js";
|
|
35
41
|
import "./chunks/chunk.W46CFM2R.js";
|
|
36
42
|
import {
|
|
37
43
|
radio_default
|
|
38
|
-
} from "./chunks/chunk.
|
|
39
|
-
import "./chunks/chunk.
|
|
44
|
+
} from "./chunks/chunk.4EWYZIJS.js";
|
|
45
|
+
import "./chunks/chunk.44U5VKNJ.js";
|
|
40
46
|
import "./chunks/chunk.JBYBQ5TQ.js";
|
|
41
47
|
import "./chunks/chunk.V6VND4OF.js";
|
|
42
48
|
import {
|
|
43
49
|
icon_default
|
|
44
|
-
} from "./chunks/chunk.
|
|
50
|
+
} from "./chunks/chunk.ZGZ7W6BC.js";
|
|
45
51
|
import {
|
|
46
52
|
icon_button_default
|
|
47
|
-
} from "./chunks/chunk.
|
|
48
|
-
import "./chunks/chunk.
|
|
53
|
+
} from "./chunks/chunk.VTYPMAXM.js";
|
|
54
|
+
import "./chunks/chunk.L6I5ZLBO.js";
|
|
49
55
|
import "./chunks/chunk.2FN5DTS6.js";
|
|
50
56
|
import "./chunks/chunk.OJF7KL44.js";
|
|
51
57
|
import {
|
|
52
58
|
button_group_default
|
|
53
|
-
} from "./chunks/chunk.
|
|
59
|
+
} from "./chunks/chunk.SEHRSICV.js";
|
|
54
60
|
import {
|
|
55
61
|
checkbox_default
|
|
56
|
-
} from "./chunks/chunk.
|
|
57
|
-
import "./chunks/chunk.
|
|
62
|
+
} from "./chunks/chunk.TACOOH3N.js";
|
|
63
|
+
import "./chunks/chunk.3CSVGX3J.js";
|
|
58
64
|
import "./chunks/chunk.WFAJR3FN.js";
|
|
59
65
|
import "./chunks/chunk.4CBN5LPQ.js";
|
|
60
66
|
import "./chunks/chunk.2XZKXVMR.js";
|
|
61
67
|
import {
|
|
62
68
|
button_default
|
|
63
|
-
} from "./chunks/chunk.
|
|
64
|
-
import "./chunks/chunk.
|
|
65
|
-
import "./chunks/chunk.
|
|
69
|
+
} from "./chunks/chunk.MUP4GIQL.js";
|
|
70
|
+
import "./chunks/chunk.NRA7I7QC.js";
|
|
71
|
+
import "./chunks/chunk.FHYBGERU.js";
|
|
66
72
|
import "./chunks/chunk.N2I6HVX3.js";
|
|
67
73
|
import "./chunks/chunk.XGXFE6IF.js";
|
|
68
74
|
import "./chunks/chunk.R6VNLE6N.js";
|
|
69
75
|
import "./chunks/chunk.A3SKDWCT.js";
|
|
70
76
|
import "./chunks/chunk.P2LNG2PZ.js";
|
|
71
|
-
import "./chunks/chunk.
|
|
77
|
+
import "./chunks/chunk.RKQHPBKM.js";
|
|
72
78
|
import "./chunks/chunk.VZ7S7YYN.js";
|
|
73
79
|
import {
|
|
74
80
|
registerIconLibrary,
|
|
75
81
|
unregisterIconLibrary
|
|
76
|
-
} from "./chunks/chunk.
|
|
82
|
+
} from "./chunks/chunk.6PFQSQLU.js";
|
|
77
83
|
import "./chunks/chunk.6C4JXZZN.js";
|
|
78
|
-
import "./chunks/chunk.
|
|
84
|
+
import "./chunks/chunk.EJXWL3JM.js";
|
|
79
85
|
import "./chunks/chunk.RSONAU45.js";
|
|
80
86
|
import "./chunks/chunk.PJO6TM3T.js";
|
|
81
87
|
import {
|
|
@@ -84,8 +90,8 @@ import {
|
|
|
84
90
|
} from "./chunks/chunk.C7624ITA.js";
|
|
85
91
|
import "./chunks/chunk.YTS5TRJZ.js";
|
|
86
92
|
import "./chunks/chunk.FVSP4LXX.js";
|
|
87
|
-
import "./chunks/chunk.
|
|
88
|
-
import "./chunks/chunk.
|
|
93
|
+
import "./chunks/chunk.Q7NHWXSL.js";
|
|
94
|
+
import "./chunks/chunk.SPPBO7QV.js";
|
|
89
95
|
import "./chunks/chunk.4ZURABYO.js";
|
|
90
96
|
import "./chunks/chunk.O7USYXBT.js";
|
|
91
97
|
import "./chunks/chunk.DJOAQ4JU.js";
|
|
@@ -100,6 +106,7 @@ export {
|
|
|
100
106
|
radio_button_default as SynRadioButton,
|
|
101
107
|
radio_group_default as SynRadioGroup,
|
|
102
108
|
switch_default as SynSwitch,
|
|
109
|
+
tag_default as SynTag,
|
|
103
110
|
textarea_default as SynTextarea,
|
|
104
111
|
getBasePath,
|
|
105
112
|
getFormControls,
|
|
@@ -2,9 +2,9 @@ import "../chunks/chunk.NKIYFJN2.js";
|
|
|
2
2
|
import {
|
|
3
3
|
registerIconLibrary,
|
|
4
4
|
unregisterIconLibrary
|
|
5
|
-
} from "../chunks/chunk.
|
|
5
|
+
} from "../chunks/chunk.6PFQSQLU.js";
|
|
6
6
|
import "../chunks/chunk.6C4JXZZN.js";
|
|
7
|
-
import "../chunks/chunk.
|
|
7
|
+
import "../chunks/chunk.EJXWL3JM.js";
|
|
8
8
|
import "../chunks/chunk.C7624ITA.js";
|
|
9
9
|
import "../chunks/chunk.DJOAQ4JU.js";
|
|
10
10
|
export {
|