@synergy-design-system/components 1.16.0 → 1.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{chunk.VCFVQ6KS.js → chunk.2BEQWVZI.js} +2 -2
- package/dist/chunks/{chunk.VCFVQ6KS.js.map → chunk.2BEQWVZI.js.map} +1 -1
- package/dist/chunks/{chunk.CCITL3IY.js → chunk.2DOWCJLW.js} +5 -5
- package/dist/chunks/{chunk.4RMP4EST.js → chunk.3B43OFWN.js} +2 -2
- package/dist/chunks/{chunk.D63XRN3X.js → chunk.3MN7CL5O.js} +2 -2
- package/dist/chunks/{chunk.CNKXQN5I.js → chunk.3SWYKVFY.js} +2 -2
- package/dist/chunks/{chunk.4MBMY5UE.js → chunk.46OEO4FL.js} +2 -2
- package/dist/chunks/{chunk.3EONOQ2P.js → chunk.4J4COJQ5.js} +2 -2
- package/dist/chunks/{chunk.ENAW6YL5.js → chunk.6CKICZEF.js} +7 -7
- package/dist/chunks/{chunk.BKRTJVKH.js → chunk.7S6UOMFJ.js} +2 -2
- package/dist/chunks/{chunk.7NH6SYGG.js → chunk.7WONMCAA.js} +5 -5
- package/dist/chunks/{chunk.INLTRHSF.js → chunk.AYHN5IHC.js} +2 -2
- package/dist/chunks/{chunk.LFNAPJXT.js → chunk.BXP2ONKH.js} +3 -3
- package/dist/chunks/{chunk.EQ2W2Z5B.js → chunk.CA75CAFI.js} +2 -2
- package/dist/chunks/{chunk.KJ7V3TWI.js → chunk.CZJJW4XX.js} +2 -2
- package/dist/chunks/{chunk.PGM6WEYY.js → chunk.D2SZ3D2F.js} +2 -2
- package/dist/chunks/{chunk.K6AHAO25.js → chunk.EVXPBUU4.js} +3 -3
- package/dist/chunks/{chunk.WPAPTZLW.js → chunk.F2P6ULVR.js} +5 -5
- package/dist/chunks/{chunk.LOUVN7OA.js → chunk.FTRRW7BY.js} +7 -9
- package/dist/chunks/chunk.FTRRW7BY.js.map +7 -0
- package/dist/chunks/{chunk.SOAZXMVH.js → chunk.FZMSA37J.js} +2 -2
- package/dist/chunks/{chunk.BQ3U6CVQ.js → chunk.G2JHDTSW.js} +3 -3
- package/dist/chunks/{chunk.6V72DOSV.js → chunk.G5MCCYXW.js} +4 -4
- package/dist/chunks/{chunk.H3GKRGN6.js → chunk.GMHLIBZF.js} +5 -5
- package/dist/chunks/{chunk.TWZC4LT2.js → chunk.H6P6GQTH.js} +5 -5
- package/dist/chunks/{chunk.SAHA7Z3T.js → chunk.HUQCIRSQ.js} +2 -2
- package/dist/chunks/{chunk.WM7IMLTR.js → chunk.HURNZMFX.js} +2 -2
- package/dist/chunks/{chunk.E3MWAHV4.js → chunk.HYQJV2W6.js} +2 -2
- package/dist/chunks/{chunk.OCH36GVS.js → chunk.IFTZRRKK.js} +2 -2
- package/dist/chunks/{chunk.PCI22DJU.js → chunk.INBFTHEA.js} +2 -2
- package/dist/chunks/{chunk.HZTZOBNJ.js → chunk.K6IWMQLX.js} +2 -2
- package/dist/chunks/{chunk.2URWP5LD.js → chunk.KEWHWQ6V.js} +3 -3
- package/dist/chunks/{chunk.K2H37OYP.js → chunk.KT5KOCK5.js} +9 -9
- package/dist/chunks/{chunk.ABSGP4AA.js → chunk.LOQELUB7.js} +2 -2
- package/dist/chunks/{chunk.NLWT6VZN.js → chunk.M4OWT7VQ.js} +2 -2
- package/dist/chunks/{chunk.ZM72G6GO.js → chunk.MLOCMG7P.js} +3 -3
- package/dist/chunks/{chunk.TUFBQA52.js → chunk.NNZRZ4QS.js} +2 -2
- package/dist/chunks/{chunk.SHOXPF5L.js → chunk.NQZIVK2T.js} +2 -2
- package/dist/chunks/{chunk.WMYFFFHI.js → chunk.PMOBYFH4.js} +2 -2
- package/dist/chunks/{chunk.CXLJMDBV.js → chunk.QB7JXPOJ.js} +2 -2
- package/dist/chunks/{chunk.5I7DR4UT.js → chunk.QKWCOGVC.js} +2 -2
- package/dist/chunks/{chunk.J3HTR5NX.js → chunk.QUN5XCOI.js} +2 -2
- package/dist/chunks/{chunk.5OV7FNMN.js → chunk.QUSHMT6V.js} +3 -3
- package/dist/chunks/{chunk.OEMIM5RD.js → chunk.RPLFWYFN.js} +3 -3
- package/dist/chunks/{chunk.XADGSL34.js → chunk.RWCHFIED.js} +2 -2
- package/dist/chunks/{chunk.7PYQKCMR.js → chunk.SLEBWGLP.js} +2 -2
- package/dist/chunks/{chunk.3M6IVPMZ.js → chunk.SSFTA4MM.js} +3 -3
- package/dist/chunks/{chunk.UHVHULGW.js → chunk.T3QC4HBG.js} +4 -4
- package/dist/chunks/{chunk.IVHB4EQ6.js → chunk.TKVHMQRR.js} +2 -2
- package/dist/chunks/{chunk.I3SSNN7J.js → chunk.TOMH57Y4.js} +2 -2
- package/dist/chunks/{chunk.EHMIJIZ2.js → chunk.VGVPTXN4.js} +2 -2
- package/dist/chunks/{chunk.JJZKPNJZ.js → chunk.WOUGGNEO.js} +2 -2
- package/dist/chunks/{chunk.WZWI3VYU.js → chunk.XP6EXNZG.js} +2 -2
- package/dist/chunks/{chunk.U2H36O5J.js → chunk.XYYYZKI4.js} +6 -6
- package/dist/chunks/{chunk.Q7WVOJG4.js → chunk.ZBXAGDRO.js} +2 -2
- package/dist/chunks/{chunk.NOB4TQLJ.js → chunk.ZIHKZYPB.js} +2 -2
- package/dist/chunks/{chunk.O3AC2EVL.js → chunk.ZN3ASMNH.js} +3 -3
- package/dist/chunks/{chunk.ONVWJKVD.js → chunk.ZU5SISDS.js} +3 -3
- package/dist/components/badge/badge.component.js +4 -4
- package/dist/components/badge/badge.js +5 -5
- package/dist/components/button/button.component.js +5 -5
- package/dist/components/button/button.js +6 -6
- 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/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +4 -4
- package/dist/components/drawer/drawer.js +5 -5
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/header/header.component.js +4 -4
- package/dist/components/header/header.js +5 -5
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/input/input.component.js +4 -4
- package/dist/components/input/input.js +5 -5
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +5 -5
- package/dist/components/menu-item/menu-item.js +6 -6
- package/dist/components/menu-label/menu-label.component.js +3 -3
- package/dist/components/menu-label/menu-label.js +4 -4
- package/dist/components/nav-item/nav-item.component.js +3 -3
- package/dist/components/nav-item/nav-item.js +4 -4
- package/dist/components/optgroup/optgroup.component.js +3 -3
- package/dist/components/optgroup/optgroup.js +4 -4
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/prio-nav/prio-nav.component.js +8 -8
- package/dist/components/prio-nav/prio-nav.js +9 -9
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- 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 +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/select/select.component.js +6 -6
- package/dist/components/select/select.js +7 -7
- package/dist/components/side-nav/side-nav.component.js +6 -6
- package/dist/components/side-nav/side-nav.js +7 -7
- 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.js +4 -4
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/custom-elements.json +218 -218
- package/dist/synergy.js +67 -67
- package/dist/vscode.html-custom-data.json +40 -40
- package/package.json +4 -4
- package/dist/chunks/chunk.LOUVN7OA.js.map +0 -7
- /package/dist/chunks/{chunk.CCITL3IY.js.map → chunk.2DOWCJLW.js.map} +0 -0
- /package/dist/chunks/{chunk.4RMP4EST.js.map → chunk.3B43OFWN.js.map} +0 -0
- /package/dist/chunks/{chunk.D63XRN3X.js.map → chunk.3MN7CL5O.js.map} +0 -0
- /package/dist/chunks/{chunk.CNKXQN5I.js.map → chunk.3SWYKVFY.js.map} +0 -0
- /package/dist/chunks/{chunk.4MBMY5UE.js.map → chunk.46OEO4FL.js.map} +0 -0
- /package/dist/chunks/{chunk.3EONOQ2P.js.map → chunk.4J4COJQ5.js.map} +0 -0
- /package/dist/chunks/{chunk.ENAW6YL5.js.map → chunk.6CKICZEF.js.map} +0 -0
- /package/dist/chunks/{chunk.BKRTJVKH.js.map → chunk.7S6UOMFJ.js.map} +0 -0
- /package/dist/chunks/{chunk.7NH6SYGG.js.map → chunk.7WONMCAA.js.map} +0 -0
- /package/dist/chunks/{chunk.INLTRHSF.js.map → chunk.AYHN5IHC.js.map} +0 -0
- /package/dist/chunks/{chunk.LFNAPJXT.js.map → chunk.BXP2ONKH.js.map} +0 -0
- /package/dist/chunks/{chunk.EQ2W2Z5B.js.map → chunk.CA75CAFI.js.map} +0 -0
- /package/dist/chunks/{chunk.KJ7V3TWI.js.map → chunk.CZJJW4XX.js.map} +0 -0
- /package/dist/chunks/{chunk.PGM6WEYY.js.map → chunk.D2SZ3D2F.js.map} +0 -0
- /package/dist/chunks/{chunk.K6AHAO25.js.map → chunk.EVXPBUU4.js.map} +0 -0
- /package/dist/chunks/{chunk.WPAPTZLW.js.map → chunk.F2P6ULVR.js.map} +0 -0
- /package/dist/chunks/{chunk.SOAZXMVH.js.map → chunk.FZMSA37J.js.map} +0 -0
- /package/dist/chunks/{chunk.BQ3U6CVQ.js.map → chunk.G2JHDTSW.js.map} +0 -0
- /package/dist/chunks/{chunk.6V72DOSV.js.map → chunk.G5MCCYXW.js.map} +0 -0
- /package/dist/chunks/{chunk.H3GKRGN6.js.map → chunk.GMHLIBZF.js.map} +0 -0
- /package/dist/chunks/{chunk.TWZC4LT2.js.map → chunk.H6P6GQTH.js.map} +0 -0
- /package/dist/chunks/{chunk.SAHA7Z3T.js.map → chunk.HUQCIRSQ.js.map} +0 -0
- /package/dist/chunks/{chunk.WM7IMLTR.js.map → chunk.HURNZMFX.js.map} +0 -0
- /package/dist/chunks/{chunk.E3MWAHV4.js.map → chunk.HYQJV2W6.js.map} +0 -0
- /package/dist/chunks/{chunk.OCH36GVS.js.map → chunk.IFTZRRKK.js.map} +0 -0
- /package/dist/chunks/{chunk.PCI22DJU.js.map → chunk.INBFTHEA.js.map} +0 -0
- /package/dist/chunks/{chunk.HZTZOBNJ.js.map → chunk.K6IWMQLX.js.map} +0 -0
- /package/dist/chunks/{chunk.2URWP5LD.js.map → chunk.KEWHWQ6V.js.map} +0 -0
- /package/dist/chunks/{chunk.K2H37OYP.js.map → chunk.KT5KOCK5.js.map} +0 -0
- /package/dist/chunks/{chunk.ABSGP4AA.js.map → chunk.LOQELUB7.js.map} +0 -0
- /package/dist/chunks/{chunk.NLWT6VZN.js.map → chunk.M4OWT7VQ.js.map} +0 -0
- /package/dist/chunks/{chunk.ZM72G6GO.js.map → chunk.MLOCMG7P.js.map} +0 -0
- /package/dist/chunks/{chunk.TUFBQA52.js.map → chunk.NNZRZ4QS.js.map} +0 -0
- /package/dist/chunks/{chunk.SHOXPF5L.js.map → chunk.NQZIVK2T.js.map} +0 -0
- /package/dist/chunks/{chunk.WMYFFFHI.js.map → chunk.PMOBYFH4.js.map} +0 -0
- /package/dist/chunks/{chunk.CXLJMDBV.js.map → chunk.QB7JXPOJ.js.map} +0 -0
- /package/dist/chunks/{chunk.5I7DR4UT.js.map → chunk.QKWCOGVC.js.map} +0 -0
- /package/dist/chunks/{chunk.J3HTR5NX.js.map → chunk.QUN5XCOI.js.map} +0 -0
- /package/dist/chunks/{chunk.5OV7FNMN.js.map → chunk.QUSHMT6V.js.map} +0 -0
- /package/dist/chunks/{chunk.OEMIM5RD.js.map → chunk.RPLFWYFN.js.map} +0 -0
- /package/dist/chunks/{chunk.XADGSL34.js.map → chunk.RWCHFIED.js.map} +0 -0
- /package/dist/chunks/{chunk.7PYQKCMR.js.map → chunk.SLEBWGLP.js.map} +0 -0
- /package/dist/chunks/{chunk.3M6IVPMZ.js.map → chunk.SSFTA4MM.js.map} +0 -0
- /package/dist/chunks/{chunk.UHVHULGW.js.map → chunk.T3QC4HBG.js.map} +0 -0
- /package/dist/chunks/{chunk.IVHB4EQ6.js.map → chunk.TKVHMQRR.js.map} +0 -0
- /package/dist/chunks/{chunk.I3SSNN7J.js.map → chunk.TOMH57Y4.js.map} +0 -0
- /package/dist/chunks/{chunk.EHMIJIZ2.js.map → chunk.VGVPTXN4.js.map} +0 -0
- /package/dist/chunks/{chunk.JJZKPNJZ.js.map → chunk.WOUGGNEO.js.map} +0 -0
- /package/dist/chunks/{chunk.WZWI3VYU.js.map → chunk.XP6EXNZG.js.map} +0 -0
- /package/dist/chunks/{chunk.U2H36O5J.js.map → chunk.XYYYZKI4.js.map} +0 -0
- /package/dist/chunks/{chunk.Q7WVOJG4.js.map → chunk.ZBXAGDRO.js.map} +0 -0
- /package/dist/chunks/{chunk.NOB4TQLJ.js.map → chunk.ZIHKZYPB.js.map} +0 -0
- /package/dist/chunks/{chunk.O3AC2EVL.js.map → chunk.ZN3ASMNH.js.map} +0 -0
- /package/dist/chunks/{chunk.ONVWJKVD.js.map → chunk.ZU5SISDS.js.map} +0 -0
package/dist/synergy.js
CHANGED
|
@@ -5,134 +5,134 @@ import {
|
|
|
5
5
|
import "./chunks/chunk.NKIYFJN2.js";
|
|
6
6
|
import {
|
|
7
7
|
tag_default
|
|
8
|
-
} from "./chunks/chunk.
|
|
8
|
+
} from "./chunks/chunk.PMOBYFH4.js";
|
|
9
9
|
import {
|
|
10
10
|
textarea_default
|
|
11
|
-
} from "./chunks/chunk.
|
|
12
|
-
import "./chunks/chunk.
|
|
11
|
+
} from "./chunks/chunk.HUQCIRSQ.js";
|
|
12
|
+
import "./chunks/chunk.FTRRW7BY.js";
|
|
13
13
|
import "./chunks/chunk.YBIBWRKC.js";
|
|
14
14
|
import "./chunks/chunk.2EI3TNL7.js";
|
|
15
15
|
import {
|
|
16
16
|
switch_default
|
|
17
|
-
} from "./chunks/chunk.
|
|
18
|
-
import "./chunks/chunk.
|
|
17
|
+
} from "./chunks/chunk.K6IWMQLX.js";
|
|
18
|
+
import "./chunks/chunk.3SWYKVFY.js";
|
|
19
19
|
import "./chunks/chunk.W5JK7V7K.js";
|
|
20
20
|
import "./chunks/chunk.TAO5QIIQ.js";
|
|
21
21
|
import {
|
|
22
22
|
select_default
|
|
23
|
-
} from "./chunks/chunk.
|
|
24
|
-
import "./chunks/chunk.
|
|
25
|
-
import "./chunks/chunk.
|
|
23
|
+
} from "./chunks/chunk.3MN7CL5O.js";
|
|
24
|
+
import "./chunks/chunk.7WONMCAA.js";
|
|
25
|
+
import "./chunks/chunk.MLOCMG7P.js";
|
|
26
26
|
import "./chunks/chunk.B6R3IVGO.js";
|
|
27
27
|
import "./chunks/chunk.BGHK4NQA.js";
|
|
28
28
|
import "./chunks/chunk.OWMT6OL2.js";
|
|
29
29
|
import "./chunks/chunk.QNQNR3RY.js";
|
|
30
30
|
import {
|
|
31
31
|
side_nav_default
|
|
32
|
-
} from "./chunks/chunk.
|
|
33
|
-
import "./chunks/chunk.
|
|
32
|
+
} from "./chunks/chunk.IFTZRRKK.js";
|
|
33
|
+
import "./chunks/chunk.T3QC4HBG.js";
|
|
34
34
|
import "./chunks/chunk.GO3CCKC3.js";
|
|
35
35
|
import {
|
|
36
36
|
radio_default
|
|
37
|
-
} from "./chunks/chunk.
|
|
37
|
+
} from "./chunks/chunk.FZMSA37J.js";
|
|
38
38
|
import {
|
|
39
39
|
radio_button_default
|
|
40
|
-
} from "./chunks/chunk.
|
|
41
|
-
import "./chunks/chunk.
|
|
40
|
+
} from "./chunks/chunk.QB7JXPOJ.js";
|
|
41
|
+
import "./chunks/chunk.SLEBWGLP.js";
|
|
42
42
|
import "./chunks/chunk.QPK7SLOE.js";
|
|
43
43
|
import {
|
|
44
44
|
radio_group_default
|
|
45
|
-
} from "./chunks/chunk.
|
|
46
|
-
import "./chunks/chunk.
|
|
45
|
+
} from "./chunks/chunk.ZBXAGDRO.js";
|
|
46
|
+
import "./chunks/chunk.H6P6GQTH.js";
|
|
47
47
|
import "./chunks/chunk.F4MRQLNL.js";
|
|
48
48
|
import "./chunks/chunk.XIUSSERX.js";
|
|
49
49
|
import {
|
|
50
50
|
popup_default
|
|
51
|
-
} from "./chunks/chunk.
|
|
51
|
+
} from "./chunks/chunk.LOQELUB7.js";
|
|
52
52
|
import {
|
|
53
53
|
prio_nav_default
|
|
54
|
-
} from "./chunks/chunk.
|
|
55
|
-
import "./chunks/chunk.
|
|
54
|
+
} from "./chunks/chunk.NQZIVK2T.js";
|
|
55
|
+
import "./chunks/chunk.XYYYZKI4.js";
|
|
56
56
|
import "./chunks/chunk.74N5WLM5.js";
|
|
57
57
|
import "./chunks/chunk.XNP4OTUB.js";
|
|
58
|
-
import "./chunks/chunk.
|
|
58
|
+
import "./chunks/chunk.RPLFWYFN.js";
|
|
59
59
|
import "./chunks/chunk.V6VND4OF.js";
|
|
60
60
|
import "./chunks/chunk.PKO6FEOM.js";
|
|
61
61
|
import {
|
|
62
62
|
optgroup_default
|
|
63
|
-
} from "./chunks/chunk.
|
|
63
|
+
} from "./chunks/chunk.3B43OFWN.js";
|
|
64
64
|
import {
|
|
65
65
|
option_default
|
|
66
|
-
} from "./chunks/chunk.
|
|
67
|
-
import "./chunks/chunk.
|
|
66
|
+
} from "./chunks/chunk.VGVPTXN4.js";
|
|
67
|
+
import "./chunks/chunk.BXP2ONKH.js";
|
|
68
68
|
import "./chunks/chunk.3B24TYVN.js";
|
|
69
69
|
import "./chunks/chunk.CFIQXXMW.js";
|
|
70
70
|
import {
|
|
71
71
|
menu_label_default
|
|
72
|
-
} from "./chunks/chunk.
|
|
73
|
-
import "./chunks/chunk.
|
|
72
|
+
} from "./chunks/chunk.RWCHFIED.js";
|
|
73
|
+
import "./chunks/chunk.QUSHMT6V.js";
|
|
74
74
|
import "./chunks/chunk.X6GR6IA2.js";
|
|
75
75
|
import "./chunks/chunk.3FOVDOJX.js";
|
|
76
76
|
import {
|
|
77
77
|
nav_item_default
|
|
78
|
-
} from "./chunks/chunk.
|
|
79
|
-
import "./chunks/chunk.
|
|
78
|
+
} from "./chunks/chunk.CA75CAFI.js";
|
|
79
|
+
import "./chunks/chunk.ZU5SISDS.js";
|
|
80
80
|
import "./chunks/chunk.L4UUXVRZ.js";
|
|
81
|
-
import "./chunks/chunk.
|
|
81
|
+
import "./chunks/chunk.G2JHDTSW.js";
|
|
82
82
|
import "./chunks/chunk.KG52EHDB.js";
|
|
83
83
|
import {
|
|
84
84
|
menu_default
|
|
85
|
-
} from "./chunks/chunk.
|
|
85
|
+
} from "./chunks/chunk.46OEO4FL.js";
|
|
86
86
|
import {
|
|
87
87
|
menu_item_default
|
|
88
|
-
} from "./chunks/chunk.
|
|
89
|
-
import "./chunks/chunk.
|
|
88
|
+
} from "./chunks/chunk.QKWCOGVC.js";
|
|
89
|
+
import "./chunks/chunk.GMHLIBZF.js";
|
|
90
90
|
import "./chunks/chunk.OOABXWCW.js";
|
|
91
91
|
import "./chunks/chunk.PDHVYHXD.js";
|
|
92
92
|
import "./chunks/chunk.JDBDBGQP.js";
|
|
93
93
|
import {
|
|
94
94
|
icon_button_default
|
|
95
|
-
} from "./chunks/chunk.
|
|
95
|
+
} from "./chunks/chunk.HURNZMFX.js";
|
|
96
96
|
import {
|
|
97
97
|
input_default
|
|
98
|
-
} from "./chunks/chunk.
|
|
99
|
-
import "./chunks/chunk.
|
|
98
|
+
} from "./chunks/chunk.7S6UOMFJ.js";
|
|
99
|
+
import "./chunks/chunk.G5MCCYXW.js";
|
|
100
100
|
import "./chunks/chunk.3A65FBTX.js";
|
|
101
101
|
import "./chunks/chunk.AW2HNLNP.js";
|
|
102
|
-
import "./chunks/chunk.
|
|
102
|
+
import "./chunks/chunk.INBFTHEA.js";
|
|
103
103
|
import "./chunks/chunk.PILX7LVU.js";
|
|
104
104
|
import "./chunks/chunk.RSSY7KPD.js";
|
|
105
105
|
import {
|
|
106
106
|
drawer_default
|
|
107
|
-
} from "./chunks/chunk.
|
|
107
|
+
} from "./chunks/chunk.M4OWT7VQ.js";
|
|
108
108
|
import {
|
|
109
109
|
dropdown_default
|
|
110
|
-
} from "./chunks/chunk.
|
|
111
|
-
import "./chunks/chunk.
|
|
112
|
-
import "./chunks/chunk.
|
|
110
|
+
} from "./chunks/chunk.XP6EXNZG.js";
|
|
111
|
+
import "./chunks/chunk.KEWHWQ6V.js";
|
|
112
|
+
import "./chunks/chunk.TKVHMQRR.js";
|
|
113
113
|
import "./chunks/chunk.MIMALEWP.js";
|
|
114
114
|
import "./chunks/chunk.2KYFCKCK.js";
|
|
115
115
|
import "./chunks/chunk.SLCYXMHB.js";
|
|
116
116
|
import {
|
|
117
117
|
header_default
|
|
118
|
-
} from "./chunks/chunk.
|
|
119
|
-
import "./chunks/chunk.
|
|
118
|
+
} from "./chunks/chunk.ZIHKZYPB.js";
|
|
119
|
+
import "./chunks/chunk.EVXPBUU4.js";
|
|
120
120
|
import {
|
|
121
121
|
icon_default
|
|
122
|
-
} from "./chunks/chunk.
|
|
122
|
+
} from "./chunks/chunk.WOUGGNEO.js";
|
|
123
123
|
import "./chunks/chunk.AOKNP4QD.js";
|
|
124
124
|
import {
|
|
125
125
|
checkbox_default
|
|
126
|
-
} from "./chunks/chunk.
|
|
126
|
+
} from "./chunks/chunk.D2SZ3D2F.js";
|
|
127
127
|
import {
|
|
128
128
|
divider_default
|
|
129
|
-
} from "./chunks/chunk.
|
|
130
|
-
import "./chunks/chunk.
|
|
129
|
+
} from "./chunks/chunk.QUN5XCOI.js";
|
|
130
|
+
import "./chunks/chunk.NNZRZ4QS.js";
|
|
131
131
|
import "./chunks/chunk.FA6V2WD6.js";
|
|
132
132
|
import "./chunks/chunk.ACTJFDNK.js";
|
|
133
|
-
import "./chunks/chunk.
|
|
133
|
+
import "./chunks/chunk.SSFTA4MM.js";
|
|
134
134
|
import "./chunks/chunk.RIJKFEYZ.js";
|
|
135
|
-
import "./chunks/chunk.
|
|
135
|
+
import "./chunks/chunk.ZN3ASMNH.js";
|
|
136
136
|
import "./chunks/chunk.ZHH2AHOZ.js";
|
|
137
137
|
import "./chunks/chunk.LJQ7LEPV.js";
|
|
138
138
|
import "./chunks/chunk.2QOQY4ZG.js";
|
|
@@ -140,32 +140,23 @@ import "./chunks/chunk.7BEVGRQ2.js";
|
|
|
140
140
|
import "./chunks/chunk.QAUTITK3.js";
|
|
141
141
|
import "./chunks/chunk.KZMWNTUS.js";
|
|
142
142
|
import "./chunks/chunk.PHSJD47V.js";
|
|
143
|
-
import {
|
|
144
|
-
button_default
|
|
145
|
-
} from "./chunks/chunk.3EONOQ2P.js";
|
|
146
143
|
import {
|
|
147
144
|
button_group_default
|
|
148
|
-
} from "./chunks/chunk.
|
|
149
|
-
import "./chunks/chunk.CCITL3IY.js";
|
|
150
|
-
import "./chunks/chunk.A7IIJ2LL.js";
|
|
151
|
-
import "./chunks/chunk.K2H37OYP.js";
|
|
152
|
-
import "./chunks/chunk.WFAJR3FN.js";
|
|
153
|
-
import "./chunks/chunk.TTL762VF.js";
|
|
154
|
-
import "./chunks/chunk.2XZKXVMR.js";
|
|
155
|
-
import "./chunks/chunk.NIYKFSPR.js";
|
|
145
|
+
} from "./chunks/chunk.AYHN5IHC.js";
|
|
156
146
|
import {
|
|
157
|
-
|
|
158
|
-
} from "./chunks/chunk.
|
|
159
|
-
import "./chunks/chunk.
|
|
160
|
-
import "./chunks/chunk.
|
|
161
|
-
import "./chunks/chunk.II4PANKR.js";
|
|
162
|
-
import "./chunks/chunk.ENAW6YL5.js";
|
|
163
|
-
import "./chunks/chunk.KJ7V3TWI.js";
|
|
147
|
+
button_default
|
|
148
|
+
} from "./chunks/chunk.4J4COJQ5.js";
|
|
149
|
+
import "./chunks/chunk.6CKICZEF.js";
|
|
150
|
+
import "./chunks/chunk.CZJJW4XX.js";
|
|
164
151
|
import "./chunks/chunk.OSBC36KQ.js";
|
|
152
|
+
import "./chunks/chunk.K55MKNUR.js";
|
|
165
153
|
import "./chunks/chunk.Q4CRAGN3.js";
|
|
154
|
+
import "./chunks/chunk.KT5KOCK5.js";
|
|
155
|
+
import "./chunks/chunk.WFAJR3FN.js";
|
|
156
|
+
import "./chunks/chunk.TTL762VF.js";
|
|
166
157
|
import "./chunks/chunk.JUJZBRXD.js";
|
|
167
158
|
import "./chunks/chunk.66WXVGAW.js";
|
|
168
|
-
import "./chunks/chunk.
|
|
159
|
+
import "./chunks/chunk.TOMH57Y4.js";
|
|
169
160
|
import "./chunks/chunk.PJO6TM3T.js";
|
|
170
161
|
import "./chunks/chunk.2RF7KO5I.js";
|
|
171
162
|
import {
|
|
@@ -175,14 +166,23 @@ import {
|
|
|
175
166
|
import "./chunks/chunk.6C4JXZZN.js";
|
|
176
167
|
import "./chunks/chunk.VTKIDI7N.js";
|
|
177
168
|
import "./chunks/chunk.AVTU2BGE.js";
|
|
169
|
+
import "./chunks/chunk.2XZKXVMR.js";
|
|
170
|
+
import "./chunks/chunk.NIYKFSPR.js";
|
|
178
171
|
import {
|
|
179
172
|
getBasePath,
|
|
180
173
|
setBasePath
|
|
181
174
|
} from "./chunks/chunk.C7624ITA.js";
|
|
175
|
+
import {
|
|
176
|
+
badge_default
|
|
177
|
+
} from "./chunks/chunk.HYQJV2W6.js";
|
|
178
|
+
import "./chunks/chunk.F2P6ULVR.js";
|
|
182
179
|
import "./chunks/chunk.GEHO4WRP.js";
|
|
183
180
|
import "./chunks/chunk.QY3GFWGZ.js";
|
|
184
|
-
import "./chunks/chunk.
|
|
185
|
-
import "./chunks/chunk.
|
|
181
|
+
import "./chunks/chunk.WQJRBFZA.js";
|
|
182
|
+
import "./chunks/chunk.II4PANKR.js";
|
|
183
|
+
import "./chunks/chunk.2DOWCJLW.js";
|
|
184
|
+
import "./chunks/chunk.2BEQWVZI.js";
|
|
185
|
+
import "./chunks/chunk.A7IIJ2LL.js";
|
|
186
186
|
import "./chunks/chunk.QNDC5KWA.js";
|
|
187
187
|
export {
|
|
188
188
|
badge_default as SynBadge,
|
|
@@ -2,46 +2,6 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/main/docs/customData.schema.json",
|
|
3
3
|
"version": 1.1,
|
|
4
4
|
"tags": [
|
|
5
|
-
{
|
|
6
|
-
"name": "syn-badge",
|
|
7
|
-
"description": "Badges are used to draw attention and display statuses or counts.\n---\n\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
8
|
-
"attributes": [
|
|
9
|
-
{
|
|
10
|
-
"name": "variant",
|
|
11
|
-
"description": "The badge's theme variant.",
|
|
12
|
-
"values": [
|
|
13
|
-
{ "name": "primary" },
|
|
14
|
-
{ "name": "success" },
|
|
15
|
-
{ "name": "neutral" },
|
|
16
|
-
{ "name": "warning" },
|
|
17
|
-
{ "name": "danger" }
|
|
18
|
-
]
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"references": [
|
|
22
|
-
{
|
|
23
|
-
"name": "Documentation",
|
|
24
|
-
"url": "https://synergy.style/components/badge"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"name": "syn-button-group",
|
|
30
|
-
"description": "Button groups can be used to group related buttons into sections.\n---\n\n\n### **Slots:**\n - _default_ - One or more `<syn-button>` elements to display in the button group.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
31
|
-
"attributes": [
|
|
32
|
-
{
|
|
33
|
-
"name": "label",
|
|
34
|
-
"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.",
|
|
35
|
-
"values": []
|
|
36
|
-
}
|
|
37
|
-
],
|
|
38
|
-
"references": [
|
|
39
|
-
{
|
|
40
|
-
"name": "Documentation",
|
|
41
|
-
"url": "https://synergy.style/components/button-group"
|
|
42
|
-
}
|
|
43
|
-
]
|
|
44
|
-
},
|
|
45
5
|
{
|
|
46
6
|
"name": "syn-button",
|
|
47
7
|
"description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **syn-blur** - Emitted when the button loses focus.\n- **syn-focus** - Emitted when the button gains focus.\n- **syn-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The button's label.\n- **prefix** - A presentational prefix icon or similar element.\n- **suffix** - A presentational suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **prefix** - The container that wraps the prefix.\n- **label** - The button's label.\n- **suffix** - The container that wraps the suffix.\n- **caret** - The button's caret icon, an `<syn-icon>` element.\n- **spinner** - The spinner that shows when the button is in the loading state.",
|
|
@@ -171,6 +131,46 @@
|
|
|
171
131
|
}
|
|
172
132
|
]
|
|
173
133
|
},
|
|
134
|
+
{
|
|
135
|
+
"name": "syn-badge",
|
|
136
|
+
"description": "Badges are used to draw attention and display statuses or counts.\n---\n\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
137
|
+
"attributes": [
|
|
138
|
+
{
|
|
139
|
+
"name": "variant",
|
|
140
|
+
"description": "The badge's theme variant.",
|
|
141
|
+
"values": [
|
|
142
|
+
{ "name": "primary" },
|
|
143
|
+
{ "name": "success" },
|
|
144
|
+
{ "name": "neutral" },
|
|
145
|
+
{ "name": "warning" },
|
|
146
|
+
{ "name": "danger" }
|
|
147
|
+
]
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"references": [
|
|
151
|
+
{
|
|
152
|
+
"name": "Documentation",
|
|
153
|
+
"url": "https://synergy.style/components/badge"
|
|
154
|
+
}
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "syn-button-group",
|
|
159
|
+
"description": "Button groups can be used to group related buttons into sections.\n---\n\n\n### **Slots:**\n - _default_ - One or more `<syn-button>` elements to display in the button group.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
160
|
+
"attributes": [
|
|
161
|
+
{
|
|
162
|
+
"name": "label",
|
|
163
|
+
"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.",
|
|
164
|
+
"values": []
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"references": [
|
|
168
|
+
{
|
|
169
|
+
"name": "Documentation",
|
|
170
|
+
"url": "https://synergy.style/components/button-group"
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
},
|
|
174
174
|
{
|
|
175
175
|
"name": "syn-checkbox",
|
|
176
176
|
"description": "Checkboxes allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **syn-blur** - Emitted when the checkbox loses focus.\n- **syn-change** - Emitted when the checked state changes.\n- **syn-focus** - Emitted when the checkbox gains focus.\n- **syn-input** - Emitted when the checkbox receives input.\n- **syn-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n- **help-text** - Text that describes how to use the checkbox. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<syn-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<syn-icon>` element.\n- **label** - The container that wraps the checkbox's label.\n- **form-control-help-text** - The help text's wrapper.",
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"url": "https://www.sick.com"
|
|
5
5
|
},
|
|
6
6
|
"name": "@synergy-design-system/components",
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.17.1",
|
|
8
8
|
"description": "",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -89,9 +89,9 @@
|
|
|
89
89
|
"user-agent-data-types": "^0.4.2",
|
|
90
90
|
"vendorism": "^3.0.0",
|
|
91
91
|
"vue-tsc": "^1.8.27",
|
|
92
|
-
"@synergy-design-system/
|
|
93
|
-
"@synergy-design-system/tokens": "1.
|
|
94
|
-
"@synergy-design-system/
|
|
92
|
+
"@synergy-design-system/stylelint-config-syn": "0.1.0",
|
|
93
|
+
"@synergy-design-system/tokens": "1.12.0",
|
|
94
|
+
"@synergy-design-system/eslint-config-syn": "0.1.0"
|
|
95
95
|
},
|
|
96
96
|
"release": {
|
|
97
97
|
"branches": [
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/components/textarea/textarea.component.ts"],
|
|
4
|
-
"sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { defaultValue } from '../../internal/default-value.js';\nimport { FormControlController } from '../../internal/form.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { live } from 'lit/directives/live.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport formControlStyles from '../../styles/form-control.styles.js';\nimport formControlCustomStyles from '../../styles/form-control.custom.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './textarea.styles.js';\nimport customStyles from './textarea.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport type { SynergyFormControl } from '../../internal/synergy-element.js';\n\n/**\n * @summary Textareas collect data from the user and allow multiple lines of text.\n * @documentation https://synergy.style/components/textarea\n * @status stable\n * @since 2.0\n *\n * @slot label - The textarea's label. Alternatively, you can use the `label` attribute.\n * @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n *\n * @event syn-blur - Emitted when the control loses focus.\n * @event syn-change - Emitted when an alteration to the control's value is committed by the user.\n * @event syn-focus - Emitted when the control gains focus.\n * @event syn-input - Emitted when the control receives input.\n * @event syn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart form-control - The form control that wraps the label, input, and help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The input's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart base - The component's base wrapper.\n * @csspart textarea - The internal `<textarea>` control.\n */\nexport default class SynTextarea extends SynergyElement implements SynergyFormControl {\n static styles: CSSResultGroup = [componentStyles, formControlStyles, styles, formControlCustomStyles, customStyles];\n\n private readonly formControlController = new FormControlController(this, {\n assumeInteractionOn: ['syn-blur', 'syn-input']\n });\n private readonly hasSlotController = new HasSlotController(this, 'help-text', 'label', 'prefix', 'suffix');\n private resizeObserver: ResizeObserver;\n\n @query('.textarea__control') input: HTMLTextAreaElement;\n\n @state() private hasFocus = false;\n @property() title = ''; // make reactive to pass through\n\n /** The name of the textarea, submitted as a name/value pair with form data. */\n @property() name = '';\n\n /** The current value of the textarea, submitted as a name/value pair with form data. */\n @property() value = '';\n\n /** The textarea's size. */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** The textarea's label. If you need to display HTML, use the `label` slot instead. */\n @property() label = '';\n\n /** The textarea's help text. If you need to display HTML, use the `help-text` slot instead. */\n @property({ attribute: 'help-text' }) helpText = '';\n\n /** Placeholder text to show as a hint when the input is empty. */\n @property() placeholder = '';\n\n /** The number of rows to display by default. */\n @property({ type: Number }) rows = 4;\n\n /** Controls how the textarea can be resized. */\n @property() resize: 'none' | 'vertical' | 'auto' = 'vertical';\n\n /** Disables the textarea. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n /** Makes the textarea readonly. */\n @property({ type: Boolean, reflect: true }) readonly = false;\n\n /**\n * By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\n * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in\n * the same document or shadow root for this to work.\n */\n @property({ reflect: true }) form = '';\n\n /** Makes the textarea a required field. */\n @property({ type: Boolean, reflect: true }) required = false;\n\n /** The minimum length of input that will be considered valid. */\n @property({ type: Number }) minlength: number;\n\n /** The maximum length of input that will be considered valid. */\n @property({ type: Number }) maxlength: number;\n\n /** Controls whether and how text input is automatically capitalized as it is entered by the user. */\n @property() autocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';\n\n /** Indicates whether the browser's autocorrect feature is on or off. */\n @property() autocorrect: string;\n\n /**\n * Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n * [this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.\n */\n @property() autocomplete: string;\n\n /** Indicates that the input should receive focus on page load. */\n @property({ type: Boolean }) autofocus: boolean;\n\n /** Used to customize the label or icon of the Enter key on virtual keyboards. */\n @property() enterkeyhint: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';\n\n /** Enables spell checking on the textarea. */\n @property({\n type: Boolean,\n converter: {\n // Allow \"true|false\" attribute values but keep the property boolean\n fromAttribute: value => (!value || value === 'false' ? false : true),\n toAttribute: value => (value ? 'true' : 'false')\n }\n })\n spellcheck = true;\n\n /**\n * Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\n * keyboard on supportive devices.\n */\n @property() inputmode: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';\n\n /** The default value of the form control. Primarily used for resetting the form control. */\n @defaultValue() defaultValue = '';\n\n /** Gets the validity state object */\n get validity() {\n return this.input.validity;\n }\n\n /** Gets the validation message */\n get validationMessage() {\n return this.input.validationMessage;\n }\n\n connectedCallback() {\n super.connectedCallback();\n this.resizeObserver = new ResizeObserver(() => this.setTextareaHeight());\n\n this.updateComplete.then(() => {\n this.setTextareaHeight();\n this.resizeObserver.observe(this.input);\n });\n }\n\n firstUpdated() {\n this.formControlController.updateValidity();\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.resizeObserver.unobserve(this.input);\n }\n\n private handleBlur() {\n this.hasFocus = false;\n this.emit('syn-blur');\n }\n\n private handleChange() {\n this.value = this.input.value;\n this.setTextareaHeight();\n this.emit('syn-change');\n }\n\n private handleFocus() {\n this.hasFocus = true;\n this.emit('syn-focus');\n }\n\n private handleInput() {\n this.value = this.input.value;\n this.emit('syn-input');\n }\n\n private handleInvalid(event: Event) {\n this.formControlController.setValidity(false);\n this.formControlController.emitInvalidEvent(event);\n }\n\n private setTextareaHeight() {\n if (this.resize === 'auto') {\n this.input.style.height = 'auto';\n this.input.style.height = `${this.input.scrollHeight}px`;\n } else {\n (this.input.style.height as string | undefined) = undefined;\n }\n }\n\n @watch('disabled', { waitUntilFirstUpdate: true })\n handleDisabledChange() {\n // Disabled form controls are always valid\n this.formControlController.setValidity(this.disabled);\n }\n\n @watch('rows', { waitUntilFirstUpdate: true })\n handleRowsChange() {\n this.setTextareaHeight();\n }\n\n @watch('value', { waitUntilFirstUpdate: true })\n async handleValueChange() {\n await this.updateComplete;\n this.formControlController.updateValidity();\n this.setTextareaHeight();\n }\n\n /** Sets focus on the textarea. */\n focus(options?: FocusOptions) {\n this.input.focus(options);\n }\n\n /** Removes focus from the textarea. */\n blur() {\n this.input.blur();\n }\n\n /** Selects all the text in the textarea. */\n select() {\n this.input.select();\n }\n\n /** Gets or sets the textarea's scroll position. */\n scrollPosition(position?: { top?: number; left?: number }): { top: number; left: number } | undefined {\n if (position) {\n if (typeof position.top === 'number') this.input.scrollTop = position.top;\n if (typeof position.left === 'number') this.input.scrollLeft = position.left;\n return undefined;\n }\n\n return {\n top: this.input.scrollTop,\n left: this.input.scrollTop\n };\n }\n\n /** Sets the start and end positions of the text selection (0-based). */\n setSelectionRange(\n selectionStart: number,\n selectionEnd: number,\n selectionDirection: 'forward' | 'backward' | 'none' = 'none'\n ) {\n this.input.setSelectionRange(selectionStart, selectionEnd, selectionDirection);\n }\n\n /** Replaces a range of text with a new string. */\n setRangeText(\n replacement: string,\n start?: number,\n end?: number,\n selectMode: 'select' | 'start' | 'end' | 'preserve' = 'preserve'\n ) {\n const selectionStart = start ?? this.input.selectionStart;\n const selectionEnd = end ?? this.input.selectionEnd;\n\n this.input.setRangeText(replacement, selectionStart, selectionEnd, selectMode);\n\n if (this.value !== this.input.value) {\n this.value = this.input.value;\n this.setTextareaHeight();\n }\n }\n\n /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */\n checkValidity() {\n return this.input.checkValidity();\n }\n\n /** Gets the associated form, if one exists. */\n getForm(): HTMLFormElement | null {\n return this.formControlController.getForm();\n }\n\n /** Checks for validity and shows the browser's validation message if the control is invalid. */\n reportValidity() {\n return this.input.reportValidity();\n }\n\n /** Sets a custom validation message. Pass an empty string to restore validity. */\n setCustomValidity(message: string) {\n this.input.setCustomValidity(message);\n this.formControlController.updateValidity();\n }\n\n render() {\n const hasLabelSlot = this.hasSlotController.test('label');\n const hasHelpTextSlot = this.hasSlotController.test('help-text');\n const hasPrefixSlot = this.hasSlotController.test('prefix');\n const hasSuffixSlot = this.hasSlotController.test('suffix');\n const hasLabel = this.label ? true : !!hasLabelSlot;\n const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;\n\n return html`\n <div\n part=\"form-control\"\n class=${classMap({\n 'form-control': true,\n 'form-control--small': this.size === 'small',\n 'form-control--medium': this.size === 'medium',\n 'form-control--large': this.size === 'large',\n 'form-control--has-label': hasLabel,\n 'form-control--has-help-text': hasHelpText,\n 'form-control--has-prefix': hasPrefixSlot,\n 'form-control--has-suffix': hasSuffixSlot\n })}\n >\n <label\n part=\"form-control-label\"\n class=\"form-control__label\"\n for=\"input\"\n aria-hidden=${hasLabel ? 'false' : 'true'}\n >\n <slot name=\"label\">${this.label}</slot>\n </label>\n\n <div part=\"form-control-input\" class=\"form-control-input\">\n <div\n part=\"base\"\n class=${classMap({\n textarea: true,\n 'textarea--small': this.size === 'small',\n 'textarea--medium': this.size === 'medium',\n 'textarea--large': this.size === 'large',\n 'textarea--standard': !this.readonly,\n 'textarea--readonly': this.readonly,\n 'textarea--disabled': this.disabled,\n 'textarea--focused': this.hasFocus,\n 'textarea--empty': !this.value,\n 'textarea--resize-none': this.resize === 'none',\n 'textarea--resize-vertical': this.resize === 'vertical',\n 'textarea--resize-auto': this.resize === 'auto'\n })}\n >\n <textarea\n part=\"textarea\"\n id=\"input\"\n class=\"textarea__control\"\n title=${this.title /* An empty title prevents browser validation tooltips from appearing on hover */}\n name=${ifDefined(this.name)}\n .value=${live(this.value)}\n ?disabled=${this.disabled}\n ?readonly=${this.readonly}\n ?required=${this.required}\n placeholder=${ifDefined(this.placeholder)}\n rows=${ifDefined(this.rows)}\n minlength=${ifDefined(this.minlength)}\n maxlength=${ifDefined(this.maxlength)}\n autocapitalize=${ifDefined(this.autocapitalize)}\n autocorrect=${ifDefined(this.autocorrect)}\n ?autofocus=${this.autofocus}\n spellcheck=${ifDefined(this.spellcheck)}\n enterkeyhint=${ifDefined(this.enterkeyhint)}\n inputmode=${ifDefined(this.inputmode)}\n aria-describedby=\"help-text\"\n @change=${this.handleChange}\n @input=${this.handleInput}\n @invalid=${this.handleInvalid}\n @focus=${this.handleFocus}\n @blur=${this.handleBlur}\n ></textarea>\n </div>\n </div>\n\n <div\n part=\"form-control-help-text\"\n id=\"help-text\"\n class=\"form-control__help-text\"\n aria-hidden=${hasHelpText ? 'false' : 'true'}\n >\n <slot name=\"help-text\">${this.helpText}</slot>\n </div>\n </div>\n `;\n }\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,SAAS,gBAAgB;AAIzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAC1B,SAAS,YAAY;AACrB,SAAS,UAAU,OAAO,aAAa;AAiCvC,IAAqB,cAArB,cAAyC,eAA6C;AAAA,EAAtF;AAAA;AAGE,SAAiB,wBAAwB,IAAI,sBAAsB,MAAM;AAAA,MACvE,qBAAqB,CAAC,YAAY,WAAW;AAAA,IAC/C,CAAC;AACD,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,aAAa,SAAS,UAAU,QAAQ;AAKhG,SAAQ,WAAW;AAChB,iBAAQ;AAGR,gBAAO;AAGP,iBAAQ;AAGS,gBAAqC;AAGtD,iBAAQ;AAGkB,oBAAW;AAGrC,uBAAc;AAGE,gBAAO;AAGvB,kBAAuC;AAGP,oBAAW;AAGX,oBAAW;AAO1B,gBAAO;AAGQ,oBAAW;AAmCvD,sBAAa;AASG,wBAAe;AAAA;AAAA;AAA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A,EAAf,aAAa;AAAA,GAhGK,YAgGH;AAmEhB;AAAA,EADC,MAAM,YAAY,EAAE,sBAAsB,KAAK,CAAC;AAAA,GAlK9B,YAmKnB;AAMA;AAAA,EADC,MAAM,QAAQ,EAAE,sBAAsB,KAAK,CAAC;AAAA,GAxK1B,YAyKnB;AAKM;AAAA,EADL,MAAM,SAAS,EAAE,sBAAsB,KAAK,CAAC;AAAA,GA7K3B,YA8Kb;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|