@synergy-design-system/components 1.3.0 → 1.4.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.H2CKSKRW.js → chunk.5VSN3F2E.js} +2 -2
- package/dist/chunks/{chunk.KZ3AQUHU.js → chunk.5Y446GHK.js} +2 -2
- package/dist/chunks/{chunk.ZPSFUUNK.js → chunk.6LIMUIEF.js} +2 -2
- package/dist/chunks/{chunk.Z65EDGTR.js → chunk.6TJHEFXA.js} +2 -2
- package/dist/chunks/{chunk.RLLBOQ6V.js → chunk.76T4PEW3.js} +3 -3
- package/dist/chunks/{chunk.RHBEOZWF.js → chunk.A77SRYT2.js} +2 -2
- package/dist/chunks/{chunk.S74LATRZ.js → chunk.AR7MHBEC.js} +3 -3
- package/dist/chunks/{chunk.W46CFM2R.js → chunk.B2EJGIGY.js} +7 -13
- package/dist/chunks/chunk.B2EJGIGY.js.map +7 -0
- package/dist/chunks/{chunk.VG7NKBOV.js → chunk.CQ2JMH2J.js} +4 -4
- package/dist/chunks/chunk.FA6V2WD6.js +13 -0
- package/dist/chunks/chunk.FA6V2WD6.js.map +7 -0
- package/dist/chunks/{chunk.BLHHZJQD.js → chunk.FTXTH5TS.js} +3 -3
- package/dist/chunks/chunk.GEV4IJII.js +12 -0
- package/dist/chunks/chunk.GEV4IJII.js.map +7 -0
- package/dist/chunks/{chunk.B2WRX32I.js → chunk.GM3M672E.js} +2 -2
- package/dist/chunks/chunk.H3LRV4ST.js +40 -0
- package/dist/chunks/chunk.H3LRV4ST.js.map +7 -0
- package/dist/chunks/{chunk.YKNLO6A2.js → chunk.H4N7OLXW.js} +2 -2
- package/dist/chunks/{chunk.UO5HH5VY.js → chunk.JMETBEU6.js} +5 -5
- package/dist/chunks/{chunk.G6VDIPNQ.js → chunk.JYBYORNL.js} +7 -7
- package/dist/chunks/{chunk.O7JATGQ6.js → chunk.KQCYBRJJ.js} +2 -2
- package/dist/chunks/{chunk.OXUFFH57.js → chunk.KUZJTGHQ.js} +2 -2
- package/dist/chunks/{chunk.XOYAL6A7.js → chunk.KWUT7GQA.js} +3 -3
- package/dist/chunks/{chunk.6PUYPXNC.js → chunk.LL3W2QAU.js} +3 -3
- package/dist/chunks/{chunk.VD6GL6QA.js → chunk.MTDXRKO3.js} +4 -4
- package/dist/chunks/{chunk.2V5UNOVJ.js → chunk.MWDOOCSU.js} +2 -2
- package/dist/chunks/{chunk.CZXYQ2WN.js → chunk.ND73VYBT.js} +2 -2
- package/dist/chunks/{chunk.QAWYSA72.js → chunk.OSOFK3JT.js} +2 -2
- package/dist/chunks/chunk.PGCXJ2PT.js +39 -0
- package/dist/chunks/chunk.PGCXJ2PT.js.map +7 -0
- package/dist/chunks/{chunk.TGO3Z3HP.js → chunk.Q5UI2GVL.js} +2 -2
- package/dist/chunks/{chunk.QFYXBNOQ.js → chunk.QTQBU2M5.js} +6 -6
- package/dist/chunks/{chunk.GHDB3G7H.js → chunk.SPBKTD7Y.js} +2 -2
- package/dist/chunks/{chunk.D63ANHR2.js → chunk.T5GFDZAG.js} +2 -2
- package/dist/chunks/{chunk.R6E3TWR3.js → chunk.WNPKDJ4G.js} +10 -10
- package/dist/chunks/{chunk.RBNQTDFJ.js → chunk.XBVEUULD.js} +2 -2
- package/dist/chunks/{chunk.VP6WQHSI.js → chunk.XRZUXWQE.js} +2 -2
- package/dist/chunks/{chunk.RWQLSIO7.js → chunk.Z2DLW3SL.js} +8 -8
- package/dist/chunks/{chunk.RWQLSIO7.js.map → chunk.Z2DLW3SL.js.map} +2 -2
- package/dist/components/button/button.component.js +10 -10
- package/dist/components/button/button.js +11 -11
- package/dist/components/button/button.styles.js +2 -2
- 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 +6 -6
- package/dist/components/checkbox/checkbox.js +7 -7
- package/dist/components/divider/divider.component.d.ts +19 -0
- package/dist/components/divider/divider.component.js +13 -0
- package/dist/components/divider/divider.component.js.map +7 -0
- package/dist/components/divider/divider.custom.styles.d.ts +2 -0
- package/dist/components/divider/divider.custom.styles.js +8 -0
- package/dist/components/divider/divider.custom.styles.js.map +7 -0
- package/dist/components/divider/divider.d.ts +8 -0
- package/dist/components/divider/divider.js +14 -0
- package/dist/components/divider/divider.js.map +7 -0
- package/dist/components/divider/divider.styles.d.ts +2 -0
- package/dist/components/divider/divider.styles.js +10 -0
- package/dist/components/divider/divider.styles.js.map +7 -0
- package/dist/components/icon/icon.component.js +5 -5
- package/dist/components/icon/icon.js +6 -6
- package/dist/components/icon-button/icon-button.component.js +6 -6
- package/dist/components/icon-button/icon-button.js +7 -7
- package/dist/components/input/input.component.js +9 -9
- package/dist/components/input/input.custom.styles.js +1 -1
- package/dist/components/input/input.js +10 -10
- package/dist/components/input/input.styles.js +2 -2
- package/dist/components/radio/radio.component.js +6 -6
- package/dist/components/radio/radio.js +7 -7
- package/dist/components/radio-button/radio-button.component.js +5 -5
- package/dist/components/radio-button/radio-button.js +6 -6
- package/dist/components/radio-button/radio-button.styles.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/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 +7 -7
- package/dist/components/tag/tag.js +8 -8
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/custom-elements.json +216 -141
- package/dist/synergy.d.ts +1 -0
- package/dist/synergy.js +59 -52
- package/dist/vscode.html-custom-data.json +34 -17
- package/dist/web-types.json +53 -30
- package/package.json +29 -31
- package/dist/chunks/chunk.W46CFM2R.js.map +0 -7
- /package/dist/chunks/{chunk.H2CKSKRW.js.map → chunk.5VSN3F2E.js.map} +0 -0
- /package/dist/chunks/{chunk.KZ3AQUHU.js.map → chunk.5Y446GHK.js.map} +0 -0
- /package/dist/chunks/{chunk.ZPSFUUNK.js.map → chunk.6LIMUIEF.js.map} +0 -0
- /package/dist/chunks/{chunk.Z65EDGTR.js.map → chunk.6TJHEFXA.js.map} +0 -0
- /package/dist/chunks/{chunk.RLLBOQ6V.js.map → chunk.76T4PEW3.js.map} +0 -0
- /package/dist/chunks/{chunk.RHBEOZWF.js.map → chunk.A77SRYT2.js.map} +0 -0
- /package/dist/chunks/{chunk.S74LATRZ.js.map → chunk.AR7MHBEC.js.map} +0 -0
- /package/dist/chunks/{chunk.VG7NKBOV.js.map → chunk.CQ2JMH2J.js.map} +0 -0
- /package/dist/chunks/{chunk.BLHHZJQD.js.map → chunk.FTXTH5TS.js.map} +0 -0
- /package/dist/chunks/{chunk.B2WRX32I.js.map → chunk.GM3M672E.js.map} +0 -0
- /package/dist/chunks/{chunk.YKNLO6A2.js.map → chunk.H4N7OLXW.js.map} +0 -0
- /package/dist/chunks/{chunk.UO5HH5VY.js.map → chunk.JMETBEU6.js.map} +0 -0
- /package/dist/chunks/{chunk.G6VDIPNQ.js.map → chunk.JYBYORNL.js.map} +0 -0
- /package/dist/chunks/{chunk.O7JATGQ6.js.map → chunk.KQCYBRJJ.js.map} +0 -0
- /package/dist/chunks/{chunk.OXUFFH57.js.map → chunk.KUZJTGHQ.js.map} +0 -0
- /package/dist/chunks/{chunk.XOYAL6A7.js.map → chunk.KWUT7GQA.js.map} +0 -0
- /package/dist/chunks/{chunk.6PUYPXNC.js.map → chunk.LL3W2QAU.js.map} +0 -0
- /package/dist/chunks/{chunk.VD6GL6QA.js.map → chunk.MTDXRKO3.js.map} +0 -0
- /package/dist/chunks/{chunk.2V5UNOVJ.js.map → chunk.MWDOOCSU.js.map} +0 -0
- /package/dist/chunks/{chunk.CZXYQ2WN.js.map → chunk.ND73VYBT.js.map} +0 -0
- /package/dist/chunks/{chunk.QAWYSA72.js.map → chunk.OSOFK3JT.js.map} +0 -0
- /package/dist/chunks/{chunk.TGO3Z3HP.js.map → chunk.Q5UI2GVL.js.map} +0 -0
- /package/dist/chunks/{chunk.QFYXBNOQ.js.map → chunk.QTQBU2M5.js.map} +0 -0
- /package/dist/chunks/{chunk.GHDB3G7H.js.map → chunk.SPBKTD7Y.js.map} +0 -0
- /package/dist/chunks/{chunk.D63ANHR2.js.map → chunk.T5GFDZAG.js.map} +0 -0
- /package/dist/chunks/{chunk.R6E3TWR3.js.map → chunk.WNPKDJ4G.js.map} +0 -0
- /package/dist/chunks/{chunk.RBNQTDFJ.js.map → chunk.XBVEUULD.js.map} +0 -0
- /package/dist/chunks/{chunk.VP6WQHSI.js.map → chunk.XRZUXWQE.js.map} +0 -0
|
@@ -616,146 +616,6 @@
|
|
|
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
|
-
},
|
|
759
619
|
{
|
|
760
620
|
"kind": "javascript-module",
|
|
761
621
|
"path": "components/checkbox/checkbox.js",
|
|
@@ -1188,6 +1048,221 @@
|
|
|
1188
1048
|
}
|
|
1189
1049
|
]
|
|
1190
1050
|
},
|
|
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
|
+
{
|
|
1192
|
+
"kind": "javascript-module",
|
|
1193
|
+
"path": "components/divider/divider.js",
|
|
1194
|
+
"declarations": [
|
|
1195
|
+
{
|
|
1196
|
+
"kind": "class",
|
|
1197
|
+
"description": "",
|
|
1198
|
+
"name": "SynDivider",
|
|
1199
|
+
"cssProperties": [
|
|
1200
|
+
{
|
|
1201
|
+
"description": "The color of the divider.",
|
|
1202
|
+
"name": "--color"
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
"description": "The width of the divider.",
|
|
1206
|
+
"name": "--width"
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"description": "The spacing of the divider.",
|
|
1210
|
+
"name": "--spacing"
|
|
1211
|
+
}
|
|
1212
|
+
],
|
|
1213
|
+
"members": [
|
|
1214
|
+
{
|
|
1215
|
+
"kind": "field",
|
|
1216
|
+
"name": "vertical",
|
|
1217
|
+
"type": {
|
|
1218
|
+
"text": "boolean"
|
|
1219
|
+
},
|
|
1220
|
+
"default": "false",
|
|
1221
|
+
"description": "Draws the divider in a vertical orientation.",
|
|
1222
|
+
"attribute": "vertical",
|
|
1223
|
+
"reflects": true
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
"kind": "method",
|
|
1227
|
+
"name": "handleVerticalChange"
|
|
1228
|
+
}
|
|
1229
|
+
],
|
|
1230
|
+
"attributes": [
|
|
1231
|
+
{
|
|
1232
|
+
"name": "vertical",
|
|
1233
|
+
"type": {
|
|
1234
|
+
"text": "boolean"
|
|
1235
|
+
},
|
|
1236
|
+
"default": "false",
|
|
1237
|
+
"description": "Draws the divider in a vertical orientation.",
|
|
1238
|
+
"fieldName": "vertical"
|
|
1239
|
+
}
|
|
1240
|
+
],
|
|
1241
|
+
"superclass": {
|
|
1242
|
+
"name": "SynergyElement",
|
|
1243
|
+
"module": "/src/internal/synergy-element.js"
|
|
1244
|
+
},
|
|
1245
|
+
"summary": "Dividers are used to visually separate or group elements.",
|
|
1246
|
+
"tagNameWithoutPrefix": "divider",
|
|
1247
|
+
"tagName": "syn-divider",
|
|
1248
|
+
"customElement": true,
|
|
1249
|
+
"jsDoc": "/**\n * @summary Dividers are used to visually separate or group elements.\n * @documentation https://synergy.style/components/divider\n * @status stable\n * @since 2.0\n *\n * @cssproperty --color - The color of the divider.\n * @cssproperty --width - The width of the divider.\n * @cssproperty --spacing - The spacing of the divider.\n */",
|
|
1250
|
+
"documentation": "https://synergy.style/components/divider",
|
|
1251
|
+
"status": "stable",
|
|
1252
|
+
"since": "2.0"
|
|
1253
|
+
}
|
|
1254
|
+
],
|
|
1255
|
+
"exports": [
|
|
1256
|
+
{
|
|
1257
|
+
"kind": "js",
|
|
1258
|
+
"name": "default",
|
|
1259
|
+
"declaration": {
|
|
1260
|
+
"name": "SynDivider",
|
|
1261
|
+
"module": "components/divider/divider.js"
|
|
1262
|
+
}
|
|
1263
|
+
}
|
|
1264
|
+
]
|
|
1265
|
+
},
|
|
1191
1266
|
{
|
|
1192
1267
|
"kind": "javascript-module",
|
|
1193
1268
|
"path": "components/icon/icon.js",
|
|
@@ -4896,7 +4971,7 @@
|
|
|
4896
4971
|
"package": {
|
|
4897
4972
|
"name": "@synergy-design-system/components",
|
|
4898
4973
|
"description": "",
|
|
4899
|
-
"version": "1.
|
|
4974
|
+
"version": "1.4.1",
|
|
4900
4975
|
"author": {
|
|
4901
4976
|
"name": "SICK Global UX Foundation",
|
|
4902
4977
|
"url": "https://www.sick.com"
|
package/dist/synergy.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { default as SynButtonGroup } from './components/button-group/button-group.js';
|
|
2
2
|
export { default as SynButton } from './components/button/button.js';
|
|
3
3
|
export { default as SynCheckbox } from './components/checkbox/checkbox.js';
|
|
4
|
+
export { default as SynDivider } from './components/divider/divider.js';
|
|
4
5
|
export { default as SynIconButton } from './components/icon-button/icon-button.js';
|
|
5
6
|
export { default as SynIcon } from './components/icon/icon.js';
|
|
6
7
|
export { default as SynInput } from './components/input/input.js';
|
package/dist/synergy.js
CHANGED
|
@@ -1,104 +1,111 @@
|
|
|
1
|
+
import {
|
|
2
|
+
textarea_default
|
|
3
|
+
} from "./chunks/chunk.GM3M672E.js";
|
|
1
4
|
import {
|
|
2
5
|
getFormControls,
|
|
3
6
|
serialize
|
|
4
7
|
} from "./chunks/chunk.HG5QC5EW.js";
|
|
5
8
|
import "./chunks/chunk.NKIYFJN2.js";
|
|
6
9
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./chunks/chunk.
|
|
10
|
+
switch_default
|
|
11
|
+
} from "./chunks/chunk.OSOFK3JT.js";
|
|
9
12
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./chunks/chunk.
|
|
12
|
-
import "./chunks/chunk.
|
|
13
|
+
tag_default
|
|
14
|
+
} from "./chunks/chunk.T5GFDZAG.js";
|
|
15
|
+
import "./chunks/chunk.FTXTH5TS.js";
|
|
16
|
+
import "./chunks/chunk.QHFGD6WW.js";
|
|
17
|
+
import "./chunks/chunk.7W73A57K.js";
|
|
18
|
+
import "./chunks/chunk.Q5UI2GVL.js";
|
|
13
19
|
import "./chunks/chunk.23HTU3YE.js";
|
|
14
20
|
import "./chunks/chunk.YBIBWRKC.js";
|
|
15
21
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./chunks/chunk.
|
|
18
|
-
import "./chunks/chunk.
|
|
22
|
+
radio_group_default
|
|
23
|
+
} from "./chunks/chunk.6TJHEFXA.js";
|
|
24
|
+
import "./chunks/chunk.H4N7OLXW.js";
|
|
19
25
|
import "./chunks/chunk.MNMITYTH.js";
|
|
20
26
|
import "./chunks/chunk.AFEABUNX.js";
|
|
21
|
-
import "./chunks/chunk.BLHHZJQD.js";
|
|
22
|
-
import "./chunks/chunk.QHFGD6WW.js";
|
|
23
|
-
import "./chunks/chunk.7W73A57K.js";
|
|
24
27
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./chunks/chunk.
|
|
27
|
-
import "./chunks/chunk.
|
|
28
|
-
import "./chunks/chunk.
|
|
28
|
+
radio_default
|
|
29
|
+
} from "./chunks/chunk.5VSN3F2E.js";
|
|
30
|
+
import "./chunks/chunk.LL3W2QAU.js";
|
|
31
|
+
import "./chunks/chunk.JBYBQ5TQ.js";
|
|
32
|
+
import "./chunks/chunk.V6VND4OF.js";
|
|
29
33
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunks/chunk.
|
|
32
|
-
import "./chunks/chunk.
|
|
34
|
+
radio_button_default
|
|
35
|
+
} from "./chunks/chunk.ND73VYBT.js";
|
|
36
|
+
import "./chunks/chunk.AR7MHBEC.js";
|
|
37
|
+
import "./chunks/chunk.MWDOOCSU.js";
|
|
38
|
+
import "./chunks/chunk.JMETBEU6.js";
|
|
33
39
|
import "./chunks/chunk.4I6M5V6O.js";
|
|
34
40
|
import "./chunks/chunk.F4MRQLNL.js";
|
|
41
|
+
import {
|
|
42
|
+
icon_button_default
|
|
43
|
+
} from "./chunks/chunk.6LIMUIEF.js";
|
|
44
|
+
import "./chunks/chunk.76T4PEW3.js";
|
|
45
|
+
import "./chunks/chunk.2FN5DTS6.js";
|
|
46
|
+
import "./chunks/chunk.OJF7KL44.js";
|
|
35
47
|
import {
|
|
36
48
|
input_default
|
|
37
|
-
} from "./chunks/chunk.
|
|
38
|
-
import "./chunks/chunk.
|
|
39
|
-
import "./chunks/chunk.
|
|
49
|
+
} from "./chunks/chunk.XRZUXWQE.js";
|
|
50
|
+
import "./chunks/chunk.JYBYORNL.js";
|
|
51
|
+
import "./chunks/chunk.KUZJTGHQ.js";
|
|
40
52
|
import "./chunks/chunk.JHXCBOUD.js";
|
|
41
|
-
import "./chunks/chunk.
|
|
53
|
+
import "./chunks/chunk.B2EJGIGY.js";
|
|
42
54
|
import {
|
|
43
|
-
|
|
44
|
-
} from "./chunks/chunk.
|
|
45
|
-
import "./chunks/chunk.6PUYPXNC.js";
|
|
46
|
-
import "./chunks/chunk.JBYBQ5TQ.js";
|
|
47
|
-
import "./chunks/chunk.V6VND4OF.js";
|
|
55
|
+
divider_default
|
|
56
|
+
} from "./chunks/chunk.GEV4IJII.js";
|
|
48
57
|
import {
|
|
49
58
|
icon_default
|
|
50
|
-
} from "./chunks/chunk.
|
|
51
|
-
import {
|
|
52
|
-
icon_button_default
|
|
53
|
-
} from "./chunks/chunk.ZPSFUUNK.js";
|
|
54
|
-
import "./chunks/chunk.RLLBOQ6V.js";
|
|
55
|
-
import "./chunks/chunk.2FN5DTS6.js";
|
|
56
|
-
import "./chunks/chunk.OJF7KL44.js";
|
|
59
|
+
} from "./chunks/chunk.SPBKTD7Y.js";
|
|
57
60
|
import {
|
|
58
|
-
|
|
59
|
-
} from "./chunks/chunk.
|
|
61
|
+
button_group_default
|
|
62
|
+
} from "./chunks/chunk.A77SRYT2.js";
|
|
60
63
|
import {
|
|
61
64
|
checkbox_default
|
|
62
|
-
} from "./chunks/chunk.
|
|
63
|
-
import "./chunks/chunk.
|
|
65
|
+
} from "./chunks/chunk.KQCYBRJJ.js";
|
|
66
|
+
import "./chunks/chunk.KWUT7GQA.js";
|
|
64
67
|
import "./chunks/chunk.WFAJR3FN.js";
|
|
65
68
|
import "./chunks/chunk.4CBN5LPQ.js";
|
|
66
69
|
import "./chunks/chunk.2XZKXVMR.js";
|
|
70
|
+
import "./chunks/chunk.H3LRV4ST.js";
|
|
71
|
+
import "./chunks/chunk.PGCXJ2PT.js";
|
|
72
|
+
import "./chunks/chunk.FA6V2WD6.js";
|
|
67
73
|
import {
|
|
68
|
-
|
|
69
|
-
} from "./chunks/chunk.
|
|
70
|
-
import "./chunks/chunk.
|
|
71
|
-
import "./chunks/chunk.
|
|
72
|
-
import "./chunks/chunk.R6E3TWR3.js";
|
|
73
|
-
import "./chunks/chunk.KZ3AQUHU.js";
|
|
74
|
+
button_default
|
|
75
|
+
} from "./chunks/chunk.XBVEUULD.js";
|
|
76
|
+
import "./chunks/chunk.WNPKDJ4G.js";
|
|
77
|
+
import "./chunks/chunk.5Y446GHK.js";
|
|
74
78
|
import "./chunks/chunk.N2I6HVX3.js";
|
|
75
|
-
import "./chunks/chunk.XGXFE6IF.js";
|
|
76
79
|
import "./chunks/chunk.LAB4YJYE.js";
|
|
77
80
|
import "./chunks/chunk.A3SKDWCT.js";
|
|
81
|
+
import "./chunks/chunk.XGXFE6IF.js";
|
|
78
82
|
import "./chunks/chunk.AMTCNRDE.js";
|
|
79
|
-
import "./chunks/chunk.
|
|
80
|
-
import "./chunks/chunk.
|
|
83
|
+
import "./chunks/chunk.QTQBU2M5.js";
|
|
84
|
+
import "./chunks/chunk.RSONAU45.js";
|
|
85
|
+
import "./chunks/chunk.PJO6TM3T.js";
|
|
81
86
|
import {
|
|
82
87
|
registerIconLibrary,
|
|
83
88
|
unregisterIconLibrary
|
|
84
89
|
} from "./chunks/chunk.JRXQK6LG.js";
|
|
85
90
|
import "./chunks/chunk.6C4JXZZN.js";
|
|
86
91
|
import "./chunks/chunk.5AAIHRMI.js";
|
|
87
|
-
import "./chunks/chunk.
|
|
88
|
-
import "./chunks/chunk.PJO6TM3T.js";
|
|
92
|
+
import "./chunks/chunk.VZ7S7YYN.js";
|
|
89
93
|
import {
|
|
90
94
|
getBasePath,
|
|
91
95
|
setBasePath
|
|
92
96
|
} from "./chunks/chunk.C7624ITA.js";
|
|
93
|
-
import "./chunks/chunk.
|
|
94
|
-
import "./chunks/chunk.VG7NKBOV.js";
|
|
95
|
-
import "./chunks/chunk.O7USYXBT.js";
|
|
97
|
+
import "./chunks/chunk.CQ2JMH2J.js";
|
|
96
98
|
import "./chunks/chunk.IUC3AWAU.js";
|
|
99
|
+
import "./chunks/chunk.MTDXRKO3.js";
|
|
100
|
+
import "./chunks/chunk.Z2DLW3SL.js";
|
|
101
|
+
import "./chunks/chunk.4ZURABYO.js";
|
|
102
|
+
import "./chunks/chunk.O7USYXBT.js";
|
|
97
103
|
import "./chunks/chunk.DJOAQ4JU.js";
|
|
98
104
|
export {
|
|
99
105
|
button_default as SynButton,
|
|
100
106
|
button_group_default as SynButtonGroup,
|
|
101
107
|
checkbox_default as SynCheckbox,
|
|
108
|
+
divider_default as SynDivider,
|
|
102
109
|
icon_default as SynIcon,
|
|
103
110
|
icon_button_default as SynIconButton,
|
|
104
111
|
input_default as SynInput,
|
|
@@ -131,23 +131,6 @@
|
|
|
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
|
-
},
|
|
151
134
|
{
|
|
152
135
|
"name": "syn-checkbox",
|
|
153
136
|
"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.",
|
|
@@ -205,6 +188,40 @@
|
|
|
205
188
|
}
|
|
206
189
|
]
|
|
207
190
|
},
|
|
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
|
+
{
|
|
209
|
+
"name": "syn-divider",
|
|
210
|
+
"description": "Dividers are used to visually separate or group elements.\n---\n\n\n### **CSS Properties:**\n - **--color** - The color of the divider. _(default: undefined)_\n- **--width** - The width of the divider. _(default: undefined)_\n- **--spacing** - The spacing of the divider. _(default: undefined)_",
|
|
211
|
+
"attributes": [
|
|
212
|
+
{
|
|
213
|
+
"name": "vertical",
|
|
214
|
+
"description": "Draws the divider in a vertical orientation.",
|
|
215
|
+
"values": []
|
|
216
|
+
}
|
|
217
|
+
],
|
|
218
|
+
"references": [
|
|
219
|
+
{
|
|
220
|
+
"name": "Documentation",
|
|
221
|
+
"url": "https://synergy.style/components/divider"
|
|
222
|
+
}
|
|
223
|
+
]
|
|
224
|
+
},
|
|
208
225
|
{
|
|
209
226
|
"name": "syn-icon",
|
|
210
227
|
"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`",
|