@synergy-design-system/components 1.2.2 → 1.3.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.
Files changed (96) hide show
  1. package/dist/chunks/{chunk.MWDOOCSU.js → chunk.2V5UNOVJ.js} +2 -2
  2. package/dist/chunks/{chunk.EJXWL3JM.js → chunk.5AAIHRMI.js} +7 -3
  3. package/dist/chunks/chunk.5AAIHRMI.js.map +7 -0
  4. package/dist/chunks/{chunk.H6VNYYUH.js → chunk.6PUYPXNC.js} +3 -3
  5. package/dist/chunks/{chunk.47O65PF5.js → chunk.B2WRX32I.js} +2 -2
  6. package/dist/chunks/{chunk.KZMLTHDT.js → chunk.BLHHZJQD.js} +3 -3
  7. package/dist/chunks/{chunk.JW6NUJMF.js → chunk.CZXYQ2WN.js} +2 -2
  8. package/dist/chunks/{chunk.N6E3X3S5.js → chunk.D63ANHR2.js} +2 -2
  9. package/dist/chunks/{chunk.ZLE6SGK3.js → chunk.G6VDIPNQ.js} +3 -3
  10. package/dist/chunks/{chunk.PTZNO34T.js → chunk.GHDB3G7H.js} +2 -2
  11. package/dist/chunks/{chunk.VSUPUWP6.js → chunk.H2CKSKRW.js} +2 -2
  12. package/dist/chunks/{chunk.6PFQSQLU.js → chunk.JRXQK6LG.js} +2 -2
  13. package/dist/chunks/{chunk.JAKBHRC4.js → chunk.KZ3AQUHU.js} +2 -2
  14. package/dist/chunks/{chunk.GMXJDCBI.js → chunk.O7JATGQ6.js} +2 -2
  15. package/dist/chunks/{chunk.4S27S3RY.js → chunk.QAWYSA72.js} +2 -2
  16. package/dist/chunks/{chunk.NROSOMZ6.js → chunk.QFYXBNOQ.js} +3 -3
  17. package/dist/chunks/{chunk.RGXSZCKM.js → chunk.R6E3TWR3.js} +7 -7
  18. package/dist/chunks/{chunk.EEBBPMDI.js → chunk.RBNQTDFJ.js} +2 -2
  19. package/dist/chunks/{chunk.6UMINMJ4.js → chunk.RHBEOZWF.js} +2 -2
  20. package/dist/chunks/{chunk.5T6QTZ6K.js → chunk.RLLBOQ6V.js} +3 -3
  21. package/dist/chunks/{chunk.XMUT2KKD.js → chunk.RWQLSIO7.js} +2 -2
  22. package/dist/chunks/{chunk.XMUT2KKD.js.map → chunk.RWQLSIO7.js.map} +1 -1
  23. package/dist/chunks/{chunk.OINL3N23.js → chunk.S74LATRZ.js} +3 -3
  24. package/dist/chunks/{chunk.F75WKKCW.js → chunk.TGO3Z3HP.js} +2 -2
  25. package/dist/chunks/{chunk.VIGOUABZ.js → chunk.UO5HH5VY.js} +5 -5
  26. package/dist/chunks/{chunk.WZ7YZYWN.js → chunk.VD6GL6QA.js} +4 -4
  27. package/dist/chunks/{chunk.CQ2JMH2J.js → chunk.VG7NKBOV.js} +4 -4
  28. package/dist/chunks/{chunk.EJKKSDGO.js → chunk.VP6WQHSI.js} +2 -2
  29. package/dist/chunks/{chunk.W2K4VNZU.js → chunk.XOYAL6A7.js} +3 -3
  30. package/dist/chunks/{chunk.YK3MDRNQ.js → chunk.YKNLO6A2.js} +2 -2
  31. package/dist/chunks/{chunk.L47LNUE3.js → chunk.Z65EDGTR.js} +2 -2
  32. package/dist/chunks/{chunk.5EXH7VQY.js → chunk.ZPSFUUNK.js} +2 -2
  33. package/dist/components/button/button.component.js +8 -8
  34. package/dist/components/button/button.js +9 -9
  35. package/dist/components/button/button.styles.js +2 -2
  36. package/dist/components/button-group/button-group.component.js +2 -2
  37. package/dist/components/button-group/button-group.js +3 -3
  38. package/dist/components/checkbox/checkbox.component.js +5 -5
  39. package/dist/components/checkbox/checkbox.js +6 -6
  40. package/dist/components/icon/icon.component.js +4 -4
  41. package/dist/components/icon/icon.js +5 -5
  42. package/dist/components/icon/library.js +2 -2
  43. package/dist/components/icon/library.system.js +1 -1
  44. package/dist/components/icon-button/icon-button.component.js +5 -5
  45. package/dist/components/icon-button/icon-button.js +6 -6
  46. package/dist/components/input/input.component.js +5 -5
  47. package/dist/components/input/input.js +6 -6
  48. package/dist/components/radio/radio.component.js +5 -5
  49. package/dist/components/radio/radio.js +6 -6
  50. package/dist/components/radio-button/radio-button.component.js +5 -5
  51. package/dist/components/radio-button/radio-button.js +6 -6
  52. package/dist/components/radio-button/radio-button.styles.js +3 -3
  53. package/dist/components/radio-group/radio-group.component.js +4 -4
  54. package/dist/components/radio-group/radio-group.js +5 -5
  55. package/dist/components/spinner/spinner.component.js +2 -2
  56. package/dist/components/switch/switch.component.js +2 -2
  57. package/dist/components/switch/switch.js +3 -3
  58. package/dist/components/tag/tag.component.js +6 -6
  59. package/dist/components/tag/tag.js +7 -7
  60. package/dist/components/textarea/textarea.component.js +2 -2
  61. package/dist/components/textarea/textarea.js +3 -3
  62. package/dist/custom-elements.json +141 -141
  63. package/dist/synergy.js +34 -34
  64. package/dist/utilities/icon-library.js +2 -2
  65. package/dist/vscode.html-custom-data.json +17 -17
  66. package/dist/web-types.json +30 -30
  67. package/package.json +3 -3
  68. package/dist/chunks/chunk.EJXWL3JM.js.map +0 -7
  69. /package/dist/chunks/{chunk.MWDOOCSU.js.map → chunk.2V5UNOVJ.js.map} +0 -0
  70. /package/dist/chunks/{chunk.H6VNYYUH.js.map → chunk.6PUYPXNC.js.map} +0 -0
  71. /package/dist/chunks/{chunk.47O65PF5.js.map → chunk.B2WRX32I.js.map} +0 -0
  72. /package/dist/chunks/{chunk.KZMLTHDT.js.map → chunk.BLHHZJQD.js.map} +0 -0
  73. /package/dist/chunks/{chunk.JW6NUJMF.js.map → chunk.CZXYQ2WN.js.map} +0 -0
  74. /package/dist/chunks/{chunk.N6E3X3S5.js.map → chunk.D63ANHR2.js.map} +0 -0
  75. /package/dist/chunks/{chunk.ZLE6SGK3.js.map → chunk.G6VDIPNQ.js.map} +0 -0
  76. /package/dist/chunks/{chunk.PTZNO34T.js.map → chunk.GHDB3G7H.js.map} +0 -0
  77. /package/dist/chunks/{chunk.VSUPUWP6.js.map → chunk.H2CKSKRW.js.map} +0 -0
  78. /package/dist/chunks/{chunk.6PFQSQLU.js.map → chunk.JRXQK6LG.js.map} +0 -0
  79. /package/dist/chunks/{chunk.JAKBHRC4.js.map → chunk.KZ3AQUHU.js.map} +0 -0
  80. /package/dist/chunks/{chunk.GMXJDCBI.js.map → chunk.O7JATGQ6.js.map} +0 -0
  81. /package/dist/chunks/{chunk.4S27S3RY.js.map → chunk.QAWYSA72.js.map} +0 -0
  82. /package/dist/chunks/{chunk.NROSOMZ6.js.map → chunk.QFYXBNOQ.js.map} +0 -0
  83. /package/dist/chunks/{chunk.RGXSZCKM.js.map → chunk.R6E3TWR3.js.map} +0 -0
  84. /package/dist/chunks/{chunk.EEBBPMDI.js.map → chunk.RBNQTDFJ.js.map} +0 -0
  85. /package/dist/chunks/{chunk.6UMINMJ4.js.map → chunk.RHBEOZWF.js.map} +0 -0
  86. /package/dist/chunks/{chunk.5T6QTZ6K.js.map → chunk.RLLBOQ6V.js.map} +0 -0
  87. /package/dist/chunks/{chunk.OINL3N23.js.map → chunk.S74LATRZ.js.map} +0 -0
  88. /package/dist/chunks/{chunk.F75WKKCW.js.map → chunk.TGO3Z3HP.js.map} +0 -0
  89. /package/dist/chunks/{chunk.VIGOUABZ.js.map → chunk.UO5HH5VY.js.map} +0 -0
  90. /package/dist/chunks/{chunk.WZ7YZYWN.js.map → chunk.VD6GL6QA.js.map} +0 -0
  91. /package/dist/chunks/{chunk.CQ2JMH2J.js.map → chunk.VG7NKBOV.js.map} +0 -0
  92. /package/dist/chunks/{chunk.EJKKSDGO.js.map → chunk.VP6WQHSI.js.map} +0 -0
  93. /package/dist/chunks/{chunk.W2K4VNZU.js.map → chunk.XOYAL6A7.js.map} +0 -0
  94. /package/dist/chunks/{chunk.YK3MDRNQ.js.map → chunk.YKNLO6A2.js.map} +0 -0
  95. /package/dist/chunks/{chunk.L47LNUE3.js.map → chunk.Z65EDGTR.js.map} +0 -0
  96. /package/dist/chunks/{chunk.5EXH7VQY.js.map → chunk.ZPSFUUNK.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  textarea_default
3
- } from "../../chunks/chunk.47O65PF5.js";
4
- import "../../chunks/chunk.F75WKKCW.js";
3
+ } from "../../chunks/chunk.B2WRX32I.js";
4
+ import "../../chunks/chunk.TGO3Z3HP.js";
5
5
  import "../../chunks/chunk.23HTU3YE.js";
6
6
  import "../../chunks/chunk.YBIBWRKC.js";
7
7
  import "../../chunks/chunk.JHXCBOUD.js";
@@ -9,7 +9,7 @@ import "../../chunks/chunk.WFAJR3FN.js";
9
9
  import "../../chunks/chunk.XGXFE6IF.js";
10
10
  import "../../chunks/chunk.AMTCNRDE.js";
11
11
  import "../../chunks/chunk.VZ7S7YYN.js";
12
- import "../../chunks/chunk.XMUT2KKD.js";
12
+ import "../../chunks/chunk.RWQLSIO7.js";
13
13
  import "../../chunks/chunk.O7USYXBT.js";
14
14
  import "../../chunks/chunk.DJOAQ4JU.js";
15
15
  export {
@@ -616,6 +616,146 @@
616
616
  }
617
617
  ]
618
618
  },
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
+ },
619
759
  {
620
760
  "kind": "javascript-module",
621
761
  "path": "components/checkbox/checkbox.js",
@@ -1048,146 +1188,6 @@
1048
1188
  }
1049
1189
  ]
1050
1190
  },
1051
- {
1052
- "kind": "javascript-module",
1053
- "path": "components/button-group/button-group.js",
1054
- "declarations": [
1055
- {
1056
- "kind": "class",
1057
- "description": "",
1058
- "name": "SynButtonGroup",
1059
- "cssParts": [
1060
- {
1061
- "description": "The component's base wrapper.",
1062
- "name": "base"
1063
- }
1064
- ],
1065
- "slots": [
1066
- {
1067
- "description": "One or more `<syn-button>` elements to display in the button group.",
1068
- "name": ""
1069
- }
1070
- ],
1071
- "members": [
1072
- {
1073
- "kind": "field",
1074
- "name": "defaultSlot",
1075
- "type": {
1076
- "text": "HTMLSlotElement"
1077
- }
1078
- },
1079
- {
1080
- "kind": "field",
1081
- "name": "disableRole",
1082
- "type": {
1083
- "text": "boolean"
1084
- },
1085
- "default": "false"
1086
- },
1087
- {
1088
- "kind": "field",
1089
- "name": "label",
1090
- "type": {
1091
- "text": "string"
1092
- },
1093
- "default": "''",
1094
- "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.",
1095
- "attribute": "label"
1096
- },
1097
- {
1098
- "kind": "method",
1099
- "name": "handleFocus",
1100
- "privacy": "private",
1101
- "parameters": [
1102
- {
1103
- "name": "event",
1104
- "type": {
1105
- "text": "Event"
1106
- }
1107
- }
1108
- ]
1109
- },
1110
- {
1111
- "kind": "method",
1112
- "name": "handleBlur",
1113
- "privacy": "private",
1114
- "parameters": [
1115
- {
1116
- "name": "event",
1117
- "type": {
1118
- "text": "Event"
1119
- }
1120
- }
1121
- ]
1122
- },
1123
- {
1124
- "kind": "method",
1125
- "name": "handleMouseOver",
1126
- "privacy": "private",
1127
- "parameters": [
1128
- {
1129
- "name": "event",
1130
- "type": {
1131
- "text": "Event"
1132
- }
1133
- }
1134
- ]
1135
- },
1136
- {
1137
- "kind": "method",
1138
- "name": "handleMouseOut",
1139
- "privacy": "private",
1140
- "parameters": [
1141
- {
1142
- "name": "event",
1143
- "type": {
1144
- "text": "Event"
1145
- }
1146
- }
1147
- ]
1148
- },
1149
- {
1150
- "kind": "method",
1151
- "name": "handleSlotChange",
1152
- "privacy": "private"
1153
- }
1154
- ],
1155
- "attributes": [
1156
- {
1157
- "name": "label",
1158
- "type": {
1159
- "text": "string"
1160
- },
1161
- "default": "''",
1162
- "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.",
1163
- "fieldName": "label"
1164
- }
1165
- ],
1166
- "superclass": {
1167
- "name": "SynergyElement",
1168
- "module": "/src/internal/synergy-element.js"
1169
- },
1170
- "summary": "Button groups can be used to group related buttons into sections.",
1171
- "tagNameWithoutPrefix": "button-group",
1172
- "tagName": "syn-button-group",
1173
- "customElement": true,
1174
- "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 */",
1175
- "documentation": "https://synergy.style/components/button-group",
1176
- "status": "stable",
1177
- "since": "2.0"
1178
- }
1179
- ],
1180
- "exports": [
1181
- {
1182
- "kind": "js",
1183
- "name": "default",
1184
- "declaration": {
1185
- "name": "SynButtonGroup",
1186
- "module": "components/button-group/button-group.js"
1187
- }
1188
- }
1189
- ]
1190
- },
1191
1191
  {
1192
1192
  "kind": "javascript-module",
1193
1193
  "path": "components/icon/icon.js",
@@ -4896,7 +4896,7 @@
4896
4896
  "package": {
4897
4897
  "name": "@synergy-design-system/components",
4898
4898
  "description": "",
4899
- "version": "1.2.2",
4899
+ "version": "1.3.0",
4900
4900
  "author": {
4901
4901
  "name": "SICK Global UX Foundation",
4902
4902
  "url": "https://www.sick.com"
package/dist/synergy.js CHANGED
@@ -5,95 +5,95 @@ import {
5
5
  import "./chunks/chunk.NKIYFJN2.js";
6
6
  import {
7
7
  tag_default
8
- } from "./chunks/chunk.N6E3X3S5.js";
8
+ } from "./chunks/chunk.D63ANHR2.js";
9
9
  import {
10
10
  textarea_default
11
- } from "./chunks/chunk.47O65PF5.js";
12
- import "./chunks/chunk.F75WKKCW.js";
11
+ } from "./chunks/chunk.B2WRX32I.js";
12
+ import "./chunks/chunk.TGO3Z3HP.js";
13
13
  import "./chunks/chunk.23HTU3YE.js";
14
14
  import "./chunks/chunk.YBIBWRKC.js";
15
15
  import {
16
16
  switch_default
17
- } from "./chunks/chunk.4S27S3RY.js";
18
- import "./chunks/chunk.YK3MDRNQ.js";
17
+ } from "./chunks/chunk.QAWYSA72.js";
18
+ import "./chunks/chunk.YKNLO6A2.js";
19
19
  import "./chunks/chunk.MNMITYTH.js";
20
20
  import "./chunks/chunk.AFEABUNX.js";
21
- import "./chunks/chunk.KZMLTHDT.js";
21
+ import "./chunks/chunk.BLHHZJQD.js";
22
22
  import "./chunks/chunk.QHFGD6WW.js";
23
23
  import "./chunks/chunk.7W73A57K.js";
24
24
  import {
25
25
  radio_button_default
26
- } from "./chunks/chunk.JW6NUJMF.js";
27
- import "./chunks/chunk.OINL3N23.js";
28
- import "./chunks/chunk.MWDOOCSU.js";
26
+ } from "./chunks/chunk.CZXYQ2WN.js";
27
+ import "./chunks/chunk.S74LATRZ.js";
28
+ import "./chunks/chunk.2V5UNOVJ.js";
29
29
  import {
30
30
  radio_group_default
31
- } from "./chunks/chunk.L47LNUE3.js";
32
- import "./chunks/chunk.VIGOUABZ.js";
31
+ } from "./chunks/chunk.Z65EDGTR.js";
32
+ import "./chunks/chunk.UO5HH5VY.js";
33
33
  import "./chunks/chunk.4I6M5V6O.js";
34
34
  import "./chunks/chunk.F4MRQLNL.js";
35
35
  import {
36
36
  input_default
37
- } from "./chunks/chunk.EJKKSDGO.js";
38
- import "./chunks/chunk.ZLE6SGK3.js";
37
+ } from "./chunks/chunk.VP6WQHSI.js";
38
+ import "./chunks/chunk.G6VDIPNQ.js";
39
39
  import "./chunks/chunk.OXUFFH57.js";
40
40
  import "./chunks/chunk.JHXCBOUD.js";
41
41
  import "./chunks/chunk.W46CFM2R.js";
42
42
  import {
43
43
  radio_default
44
- } from "./chunks/chunk.VSUPUWP6.js";
45
- import "./chunks/chunk.H6VNYYUH.js";
44
+ } from "./chunks/chunk.H2CKSKRW.js";
45
+ import "./chunks/chunk.6PUYPXNC.js";
46
46
  import "./chunks/chunk.JBYBQ5TQ.js";
47
47
  import "./chunks/chunk.V6VND4OF.js";
48
48
  import {
49
49
  icon_default
50
- } from "./chunks/chunk.PTZNO34T.js";
50
+ } from "./chunks/chunk.GHDB3G7H.js";
51
51
  import {
52
52
  icon_button_default
53
- } from "./chunks/chunk.5EXH7VQY.js";
54
- import "./chunks/chunk.5T6QTZ6K.js";
53
+ } from "./chunks/chunk.ZPSFUUNK.js";
54
+ import "./chunks/chunk.RLLBOQ6V.js";
55
55
  import "./chunks/chunk.2FN5DTS6.js";
56
56
  import "./chunks/chunk.OJF7KL44.js";
57
57
  import {
58
- button_group_default
59
- } from "./chunks/chunk.6UMINMJ4.js";
58
+ button_default
59
+ } from "./chunks/chunk.RBNQTDFJ.js";
60
60
  import {
61
61
  checkbox_default
62
- } from "./chunks/chunk.GMXJDCBI.js";
63
- import "./chunks/chunk.W2K4VNZU.js";
62
+ } from "./chunks/chunk.O7JATGQ6.js";
63
+ import "./chunks/chunk.XOYAL6A7.js";
64
64
  import "./chunks/chunk.WFAJR3FN.js";
65
65
  import "./chunks/chunk.4CBN5LPQ.js";
66
66
  import "./chunks/chunk.2XZKXVMR.js";
67
67
  import {
68
- button_default
69
- } from "./chunks/chunk.EEBBPMDI.js";
70
- import "./chunks/chunk.RGXSZCKM.js";
71
- import "./chunks/chunk.JAKBHRC4.js";
68
+ button_group_default
69
+ } from "./chunks/chunk.RHBEOZWF.js";
70
+ import "./chunks/chunk.VD6GL6QA.js";
71
+ import "./chunks/chunk.4ZURABYO.js";
72
+ import "./chunks/chunk.R6E3TWR3.js";
73
+ import "./chunks/chunk.KZ3AQUHU.js";
72
74
  import "./chunks/chunk.N2I6HVX3.js";
73
75
  import "./chunks/chunk.XGXFE6IF.js";
74
76
  import "./chunks/chunk.LAB4YJYE.js";
75
77
  import "./chunks/chunk.A3SKDWCT.js";
76
78
  import "./chunks/chunk.AMTCNRDE.js";
77
- import "./chunks/chunk.NROSOMZ6.js";
79
+ import "./chunks/chunk.QFYXBNOQ.js";
78
80
  import "./chunks/chunk.VZ7S7YYN.js";
79
81
  import {
80
82
  registerIconLibrary,
81
83
  unregisterIconLibrary
82
- } from "./chunks/chunk.6PFQSQLU.js";
84
+ } from "./chunks/chunk.JRXQK6LG.js";
83
85
  import "./chunks/chunk.6C4JXZZN.js";
84
- import "./chunks/chunk.EJXWL3JM.js";
86
+ import "./chunks/chunk.5AAIHRMI.js";
85
87
  import "./chunks/chunk.RSONAU45.js";
86
88
  import "./chunks/chunk.PJO6TM3T.js";
87
89
  import {
88
90
  getBasePath,
89
91
  setBasePath
90
92
  } from "./chunks/chunk.C7624ITA.js";
91
- import "./chunks/chunk.CQ2JMH2J.js";
92
- import "./chunks/chunk.IUC3AWAU.js";
93
- import "./chunks/chunk.WZ7YZYWN.js";
94
- import "./chunks/chunk.XMUT2KKD.js";
95
- import "./chunks/chunk.4ZURABYO.js";
93
+ import "./chunks/chunk.RWQLSIO7.js";
94
+ import "./chunks/chunk.VG7NKBOV.js";
96
95
  import "./chunks/chunk.O7USYXBT.js";
96
+ import "./chunks/chunk.IUC3AWAU.js";
97
97
  import "./chunks/chunk.DJOAQ4JU.js";
98
98
  export {
99
99
  button_default as SynButton,
@@ -2,9 +2,9 @@ import "../chunks/chunk.NKIYFJN2.js";
2
2
  import {
3
3
  registerIconLibrary,
4
4
  unregisterIconLibrary
5
- } from "../chunks/chunk.6PFQSQLU.js";
5
+ } from "../chunks/chunk.JRXQK6LG.js";
6
6
  import "../chunks/chunk.6C4JXZZN.js";
7
- import "../chunks/chunk.EJXWL3JM.js";
7
+ import "../chunks/chunk.5AAIHRMI.js";
8
8
  import "../chunks/chunk.C7624ITA.js";
9
9
  import "../chunks/chunk.DJOAQ4JU.js";
10
10
  export {
@@ -131,6 +131,23 @@
131
131
  }
132
132
  ]
133
133
  },
134
+ {
135
+ "name": "syn-button-group",
136
+ "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.",
137
+ "attributes": [
138
+ {
139
+ "name": "label",
140
+ "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.",
141
+ "values": []
142
+ }
143
+ ],
144
+ "references": [
145
+ {
146
+ "name": "Documentation",
147
+ "url": "https://synergy.style/components/button-group"
148
+ }
149
+ ]
150
+ },
134
151
  {
135
152
  "name": "syn-checkbox",
136
153
  "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\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.",
@@ -188,23 +205,6 @@
188
205
  }
189
206
  ]
190
207
  },
191
- {
192
- "name": "syn-button-group",
193
- "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.",
194
- "attributes": [
195
- {
196
- "name": "label",
197
- "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.",
198
- "values": []
199
- }
200
- ],
201
- "references": [
202
- {
203
- "name": "Documentation",
204
- "url": "https://synergy.style/components/button-group"
205
- }
206
- ]
207
- },
208
208
  {
209
209
  "name": "syn-icon",
210
210
  "description": "Icons are symbols that can be used to represent various options within an application.\n---\n\n\n### **Events:**\n - **syn-load** - Emitted when the icon has loaded. When using `spriteSheet: true` this will not emit.\n- **syn-error** - Emitted when the icon fails to load due to an error. When using `spriteSheet: true` this will not emit.\n\n### **CSS Parts:**\n - **svg** - The internal SVG element.\n- **use** - The <use> element generated when using `spriteSheet: true`",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@synergy-design-system/components",
4
- "version": "1.2.2",
4
+ "version": "1.3.0",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -255,6 +255,35 @@
255
255
  ]
256
256
  }
257
257
  },
258
+ {
259
+ "name": "syn-button-group",
260
+ "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.",
261
+ "doc-url": "",
262
+ "attributes": [
263
+ {
264
+ "name": "label",
265
+ "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.",
266
+ "value": { "type": "string", "default": "''" }
267
+ }
268
+ ],
269
+ "slots": [
270
+ {
271
+ "name": "",
272
+ "description": "One or more `<syn-button>` elements to display in the button group."
273
+ }
274
+ ],
275
+ "events": [],
276
+ "js": {
277
+ "properties": [
278
+ {
279
+ "name": "label",
280
+ "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.",
281
+ "value": { "type": "string" }
282
+ }
283
+ ],
284
+ "events": []
285
+ }
286
+ },
258
287
  {
259
288
  "name": "syn-checkbox",
260
289
  "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\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.",
@@ -396,35 +425,6 @@
396
425
  ]
397
426
  }
398
427
  },
399
- {
400
- "name": "syn-button-group",
401
- "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.",
402
- "doc-url": "",
403
- "attributes": [
404
- {
405
- "name": "label",
406
- "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.",
407
- "value": { "type": "string", "default": "''" }
408
- }
409
- ],
410
- "slots": [
411
- {
412
- "name": "",
413
- "description": "One or more `<syn-button>` elements to display in the button group."
414
- }
415
- ],
416
- "events": [],
417
- "js": {
418
- "properties": [
419
- {
420
- "name": "label",
421
- "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.",
422
- "value": { "type": "string" }
423
- }
424
- ],
425
- "events": []
426
- }
427
- },
428
428
  {
429
429
  "name": "syn-icon",
430
430
  "description": "Icons are symbols that can be used to represent various options within an application.\n---\n\n\n### **Events:**\n - **syn-load** - Emitted when the icon has loaded. When using `spriteSheet: true` this will not emit.\n- **syn-error** - Emitted when the icon fails to load due to an error. When using `spriteSheet: true` this will not emit.\n\n### **CSS Parts:**\n - **svg** - The internal SVG element.\n- **use** - The <use> element generated when using `spriteSheet: true`",
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.2.2",
7
+ "version": "1.3.0",
8
8
  "description": "",
9
9
  "repository": {
10
10
  "type": "git",
@@ -88,9 +88,9 @@
88
88
  "user-agent-data-types": "^0.4.2",
89
89
  "vendorism": "github:mariohamann/vendorism",
90
90
  "vue-tsc": "^1.8.24",
91
+ "@synergy-design-system/eslint-config-syn": "0.1.0",
91
92
  "@synergy-design-system/stylelint-config-syn": "0.1.0",
92
- "@synergy-design-system/tokens": "1.1.0",
93
- "@synergy-design-system/eslint-config-syn": "0.1.0"
93
+ "@synergy-design-system/tokens": "1.2.1"
94
94
  },
95
95
  "release": {
96
96
  "branches": [
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/components/icon/library.system.ts"],
4
- "sourcesContent": ["/* eslint-disable */\nimport type { IconLibrary } from './library.js';\n\n//\n// System icons are a separate library to ensure they're always available, regardless of how the default icon library is\n// configured or if its icons resolve properly.\n//\n// All Synergy components must use the system library instead of the default library. For visual consistency, system\n// icons are a subset of Bootstrap Icons.\n//\n// **Start system icons**\nconst icons = {\n\t'caret': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M16.59 8.295L12 12.875L7.41 8.295L6 9.705L12 15.705L18 9.705L16.59 8.295Z\"/></svg>`,\n\t'check': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M8.79496 15.875L4.62496 11.705L3.20496 13.115L8.79496 18.705L20.795 6.705L19.385 5.295L8.79496 15.875Z\"/></svg>`,\n\t'eye-slash': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M12.005 6.5C14.765 6.5 17.005 8.74 17.005 11.5C17.005 12.15 16.875 12.76 16.645 13.33L19.565 16.25C21.075 14.99 22.265 13.36 22.995 11.5C21.265 7.11 16.995 4 11.995 4C10.595 4 9.255 4.25 8.01501 4.7L10.175 6.86C10.745 6.63 11.355 6.5 12.005 6.5ZM2.005 3.77L4.745 6.51C3.085 7.8 1.785 9.52 1.005 11.5C2.735 15.89 7.005 19 12.005 19C13.555 19 15.035 18.7 16.385 18.16L16.805 18.58L19.735 21.5L21.005 20.23L3.275 2.5L2.005 3.77ZM7.53501 9.3L9.085 10.85C9.035 11.06 9.005 11.28 9.005 11.5C9.005 13.16 10.345 14.5 12.005 14.5C12.225 14.5 12.445 14.47 12.655 14.42L14.205 15.97C13.535 16.3 12.795 16.5 12.005 16.5C9.245 16.5 7.005 14.26 7.005 11.5C7.005 10.71 7.20501 9.97 7.53501 9.3ZM11.845 8.52L14.995 11.67L15.015 11.51C15.015 9.85 13.675 8.51 12.015 8.51L11.845 8.52Z\"/></svg>`,\n\t'eye': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M12 4.5C7 4.5 2.73 7.61 1 12C2.73 16.39 7 19.5 12 19.5C17 19.5 21.27 16.39 23 12C21.27 7.61 17 4.5 12 4.5ZM12 17C9.24 17 7 14.76 7 12C7 9.24 9.24 7 12 7C14.76 7 17 9.24 17 12C17 14.76 14.76 17 12 17ZM12 9C10.34 9 9 10.34 9 12C9 13.66 10.34 15 12 15C13.66 15 15 13.66 15 12C15 10.34 13.66 9 12 9Z\"/></svg>`,\n\t'indeterminate': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M19 13H5V11H19V13Z\"/></svg>`,\n\t'radio': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7C14.7614 7 17 9.23858 17 12Z\"/></svg>`,\n\t'x-circle-fill': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M12 2C6.47 2 2 6.47 2 12C2 17.53 6.47 22 12 22C17.53 22 22 17.53 22 12C22 6.47 17.53 2 12 2ZM17 15.59L15.59 17L12 13.41L8.41 17L7 15.59L10.59 12L7 8.41L8.41 7L12 10.59L15.59 7L17 8.41L13.41 12L17 15.59Z\"/></svg>`,\n\t'x-lg': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z\"/></svg>`\n};\n// **End system icons**\n\nconst systemLibrary: IconLibrary = {\n name: 'system',\n resolver: (name: keyof typeof icons) => {\n if (name in icons) {\n return `data:image/svg+xml,${encodeURIComponent(icons[name])}`;\n }\n return '';\n }\n};\n\nexport default systemLibrary;\n"],
5
- "mappings": ";AAWA,IAAM,QAAQ;AAAA,EACb,SAAS;AAAA;AAAA,EAET,SAAS;AAAA;AAAA,EAET,aAAa;AAAA;AAAA,EAEb,OAAO;AAAA;AAAA,EAEP,iBAAiB;AAAA;AAAA,EAEjB,SAAS;AAAA;AAAA,EAET,iBAAiB;AAAA;AAAA,EAEjB,QAAQ;AAAA;AAET;AAGA,IAAM,gBAA6B;AAAA,EACjC,MAAM;AAAA,EACN,UAAU,CAAC,SAA6B;AACtC,QAAI,QAAQ,OAAO;AACjB,aAAO,sBAAsB,mBAAmB,MAAM,IAAI,CAAC,CAAC;AAAA,IAC9D;AACA,WAAO;AAAA,EACT;AACF;AAEA,IAAO,yBAAQ;",
6
- "names": []
7
- }