@synergy-design-system/components 1.0.0-main.18 → 1.0.0-main.19

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 (78) hide show
  1. package/LICENSE +5 -24
  2. package/dist/chunks/{chunk.PNV7T55D.js → chunk.36WJCPWJ.js} +4 -4
  3. package/dist/chunks/{chunk.4JOMEFHA.js → chunk.4XAK6MOQ.js} +2 -2
  4. package/dist/chunks/{chunk.62X7ZGQY.js → chunk.6HOJNR5P.js} +2 -2
  5. package/dist/chunks/{chunk.T6GAYTFL.js → chunk.ACJLZOKO.js} +2 -2
  6. package/dist/chunks/{chunk.APLCM4BH.js → chunk.AN3MCZ5L.js} +2 -2
  7. package/dist/chunks/{chunk.56MNILGQ.js → chunk.B2VXDAMH.js} +2 -2
  8. package/dist/chunks/{chunk.7S62S2TT.js → chunk.CGHM66CT.js} +2 -2
  9. package/dist/chunks/{chunk.TJX5N2II.js → chunk.D2Z6ZJXY.js} +3 -3
  10. package/dist/chunks/{chunk.I73ADQGY.js → chunk.DO6FDFLR.js} +3 -3
  11. package/dist/chunks/{chunk.MX3M2JLJ.js → chunk.ELVQAMXS.js} +2 -2
  12. package/dist/chunks/{chunk.4ILZNGUL.js → chunk.F4TIM42X.js} +2 -2
  13. package/dist/chunks/{chunk.PJQO5573.js → chunk.FT2URWZV.js} +2 -2
  14. package/dist/chunks/{chunk.5QRUWFI5.js → chunk.GK6FOY6O.js} +2 -2
  15. package/dist/chunks/{chunk.O764J4CP.js → chunk.GNAJOKCJ.js} +3 -1
  16. package/dist/chunks/{chunk.O764J4CP.js.map → chunk.GNAJOKCJ.js.map} +2 -2
  17. package/dist/chunks/{chunk.V3A65IMI.js → chunk.L6IGKNDY.js} +3 -3
  18. package/dist/chunks/{chunk.X4XOYOXV.js → chunk.MXJIZZJQ.js} +2 -2
  19. package/dist/chunks/{chunk.YMJBCHGO.js → chunk.QAB6MVFI.js} +3 -3
  20. package/dist/chunks/{chunk.SKVC23DX.js → chunk.T7HUHZ5Q.js} +2 -2
  21. package/dist/chunks/{chunk.JU2SCUTB.js → chunk.TTYVMQM7.js} +3 -3
  22. package/dist/chunks/{chunk.AHR2SOZU.js → chunk.U3DCFCX3.js} +2 -2
  23. package/dist/chunks/{chunk.AHR2SOZU.js.map → chunk.U3DCFCX3.js.map} +1 -1
  24. package/dist/chunks/{chunk.ICBK5NRT.js → chunk.UIG4NCKL.js} +2 -2
  25. package/dist/chunks/{chunk.TGOEMTRU.js → chunk.UWJKSEFE.js} +2 -2
  26. package/dist/chunks/{chunk.GIJUJLZE.js → chunk.WY3ORLFU.js} +2 -2
  27. package/dist/chunks/{chunk.L3KHEGJG.js → chunk.ZQ2MDF3U.js} +2 -2
  28. package/dist/components/button/button.component.js +6 -6
  29. package/dist/components/button/button.js +7 -7
  30. package/dist/components/button-group/button-group.component.js +2 -2
  31. package/dist/components/button-group/button-group.js +3 -3
  32. package/dist/components/checkbox/checkbox.component.js +5 -5
  33. package/dist/components/checkbox/checkbox.js +6 -6
  34. package/dist/components/icon/icon.component.js +4 -4
  35. package/dist/components/icon/icon.js +5 -5
  36. package/dist/components/icon/library.js +2 -2
  37. package/dist/components/icon/library.system.js +1 -1
  38. package/dist/components/input/input.component.js +5 -5
  39. package/dist/components/input/input.js +6 -6
  40. package/dist/components/radio/radio.component.js +5 -5
  41. package/dist/components/radio/radio.js +6 -6
  42. package/dist/components/radio-button/radio-button.component.js +2 -2
  43. package/dist/components/radio-button/radio-button.js +3 -3
  44. package/dist/components/radio-group/radio-group.component.js +3 -3
  45. package/dist/components/radio-group/radio-group.js +4 -4
  46. package/dist/components/spinner/spinner.component.js +2 -2
  47. package/dist/components/switch/switch.component.js +2 -2
  48. package/dist/components/switch/switch.js +3 -3
  49. package/dist/components/textarea/textarea.component.js +2 -2
  50. package/dist/components/textarea/textarea.js +3 -3
  51. package/dist/custom-elements.json +141 -141
  52. package/dist/synergy.js +24 -24
  53. package/dist/utilities/icon-library.js +2 -2
  54. package/dist/vscode.html-custom-data.json +17 -17
  55. package/dist/web-types.json +30 -30
  56. package/package.json +6 -6
  57. /package/dist/chunks/{chunk.PNV7T55D.js.map → chunk.36WJCPWJ.js.map} +0 -0
  58. /package/dist/chunks/{chunk.4JOMEFHA.js.map → chunk.4XAK6MOQ.js.map} +0 -0
  59. /package/dist/chunks/{chunk.62X7ZGQY.js.map → chunk.6HOJNR5P.js.map} +0 -0
  60. /package/dist/chunks/{chunk.T6GAYTFL.js.map → chunk.ACJLZOKO.js.map} +0 -0
  61. /package/dist/chunks/{chunk.APLCM4BH.js.map → chunk.AN3MCZ5L.js.map} +0 -0
  62. /package/dist/chunks/{chunk.56MNILGQ.js.map → chunk.B2VXDAMH.js.map} +0 -0
  63. /package/dist/chunks/{chunk.7S62S2TT.js.map → chunk.CGHM66CT.js.map} +0 -0
  64. /package/dist/chunks/{chunk.TJX5N2II.js.map → chunk.D2Z6ZJXY.js.map} +0 -0
  65. /package/dist/chunks/{chunk.I73ADQGY.js.map → chunk.DO6FDFLR.js.map} +0 -0
  66. /package/dist/chunks/{chunk.MX3M2JLJ.js.map → chunk.ELVQAMXS.js.map} +0 -0
  67. /package/dist/chunks/{chunk.4ILZNGUL.js.map → chunk.F4TIM42X.js.map} +0 -0
  68. /package/dist/chunks/{chunk.PJQO5573.js.map → chunk.FT2URWZV.js.map} +0 -0
  69. /package/dist/chunks/{chunk.5QRUWFI5.js.map → chunk.GK6FOY6O.js.map} +0 -0
  70. /package/dist/chunks/{chunk.V3A65IMI.js.map → chunk.L6IGKNDY.js.map} +0 -0
  71. /package/dist/chunks/{chunk.X4XOYOXV.js.map → chunk.MXJIZZJQ.js.map} +0 -0
  72. /package/dist/chunks/{chunk.YMJBCHGO.js.map → chunk.QAB6MVFI.js.map} +0 -0
  73. /package/dist/chunks/{chunk.SKVC23DX.js.map → chunk.T7HUHZ5Q.js.map} +0 -0
  74. /package/dist/chunks/{chunk.JU2SCUTB.js.map → chunk.TTYVMQM7.js.map} +0 -0
  75. /package/dist/chunks/{chunk.ICBK5NRT.js.map → chunk.UIG4NCKL.js.map} +0 -0
  76. /package/dist/chunks/{chunk.TGOEMTRU.js.map → chunk.UWJKSEFE.js.map} +0 -0
  77. /package/dist/chunks/{chunk.GIJUJLZE.js.map → chunk.WY3ORLFU.js.map} +0 -0
  78. /package/dist/chunks/{chunk.L3KHEGJG.js.map → chunk.ZQ2MDF3U.js.map} +0 -0
package/LICENSE CHANGED
@@ -1,28 +1,9 @@
1
- BSD 3-Clause License
1
+ The MIT License
2
2
 
3
- Copyright (c) 2023, SickDesignSystem
3
+ Copyright 2023 SICK AG
4
4
 
5
- Redistribution and use in source and binary forms, with or without
6
- modification, are permitted provided that the following conditions are met:
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7
6
 
8
- 1. Redistributions of source code must retain the above copyright notice, this
9
- list of conditions and the following disclaimer.
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
10
8
 
11
- 2. Redistributions in binary form must reproduce the above copyright notice,
12
- this list of conditions and the following disclaimer in the documentation
13
- and/or other materials provided with the distribution.
14
-
15
- 3. Neither the name of the copyright holder nor the names of its
16
- contributors may be used to endorse or promote products derived from
17
- this software without specific prior written permission.
18
-
19
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynSpinner
3
- } from "./chunk.ICBK5NRT.js";
3
+ } from "./chunk.UIG4NCKL.js";
4
4
  import {
5
5
  LocalizeController
6
6
  } from "./chunk.R6VNLE6N.js";
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk.P2LNG2PZ.js";
14
14
  import {
15
15
  SynIcon
16
- } from "./chunk.YMJBCHGO.js";
16
+ } from "./chunk.QAB6MVFI.js";
17
17
  import {
18
18
  watch
19
19
  } from "./chunk.VZ7S7YYN.js";
@@ -22,7 +22,7 @@ import {
22
22
  } from "./chunk.YTS5TRJZ.js";
23
23
  import {
24
24
  SynergyElement
25
- } from "./chunk.AHR2SOZU.js";
25
+ } from "./chunk.U3DCFCX3.js";
26
26
  import {
27
27
  __decorateClass
28
28
  } from "./chunk.DJOAQ4JU.js";
@@ -277,4 +277,4 @@ __decorateClass([
277
277
  export {
278
278
  SynButton
279
279
  };
280
- //# sourceMappingURL=chunk.PNV7T55D.js.map
280
+ //# sourceMappingURL=chunk.36WJCPWJ.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.6C4JXZZN.js";
4
4
  import {
5
5
  library_system_default
6
- } from "./chunk.O764J4CP.js";
6
+ } from "./chunk.GNAJOKCJ.js";
7
7
 
8
8
  // src/components/icon/library.ts
9
9
  var registry = [library_default_default, library_system_default];
@@ -42,4 +42,4 @@ export {
42
42
  registerIconLibrary,
43
43
  unregisterIconLibrary
44
44
  };
45
- //# sourceMappingURL=chunk.4JOMEFHA.js.map
45
+ //# sourceMappingURL=chunk.4XAK6MOQ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynButtonGroup
3
- } from "./chunk.5QRUWFI5.js";
3
+ } from "./chunk.GK6FOY6O.js";
4
4
 
5
5
  // src/components/button-group/button-group.ts
6
6
  var button_group_default = SynButtonGroup;
@@ -9,4 +9,4 @@ SynButtonGroup.define("syn-button-group");
9
9
  export {
10
10
  button_group_default
11
11
  };
12
- //# sourceMappingURL=chunk.62X7ZGQY.js.map
12
+ //# sourceMappingURL=chunk.6HOJNR5P.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynInput
3
- } from "./chunk.V3A65IMI.js";
3
+ } from "./chunk.L6IGKNDY.js";
4
4
 
5
5
  // src/components/input/input.ts
6
6
  var input_default = SynInput;
@@ -9,4 +9,4 @@ SynInput.define("syn-input");
9
9
  export {
10
10
  input_default
11
11
  };
12
- //# sourceMappingURL=chunk.T6GAYTFL.js.map
12
+ //# sourceMappingURL=chunk.ACJLZOKO.js.map
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk.VZ7S7YYN.js";
16
16
  import {
17
17
  SynergyElement
18
- } from "./chunk.AHR2SOZU.js";
18
+ } from "./chunk.U3DCFCX3.js";
19
19
  import {
20
20
  __decorateClass
21
21
  } from "./chunk.DJOAQ4JU.js";
@@ -357,4 +357,4 @@ __decorateClass([
357
357
  export {
358
358
  SynTextarea
359
359
  };
360
- //# sourceMappingURL=chunk.APLCM4BH.js.map
360
+ //# sourceMappingURL=chunk.AN3MCZ5L.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynIcon
3
- } from "./chunk.YMJBCHGO.js";
3
+ } from "./chunk.QAB6MVFI.js";
4
4
 
5
5
  // src/components/icon/icon.ts
6
6
  var icon_default = SynIcon;
@@ -9,4 +9,4 @@ SynIcon.define("syn-icon");
9
9
  export {
10
10
  icon_default
11
11
  };
12
- //# sourceMappingURL=chunk.56MNILGQ.js.map
12
+ //# sourceMappingURL=chunk.B2VXDAMH.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynRadio
3
- } from "./chunk.TJX5N2II.js";
3
+ } from "./chunk.D2Z6ZJXY.js";
4
4
 
5
5
  // src/components/radio/radio.ts
6
6
  var radio_default = SynRadio;
@@ -9,4 +9,4 @@ SynRadio.define("syn-radio");
9
9
  export {
10
10
  radio_default
11
11
  };
12
- //# sourceMappingURL=chunk.7S62S2TT.js.map
12
+ //# sourceMappingURL=chunk.CGHM66CT.js.map
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk.JBYBQ5TQ.js";
4
4
  import {
5
5
  SynIcon
6
- } from "./chunk.YMJBCHGO.js";
6
+ } from "./chunk.QAB6MVFI.js";
7
7
  import {
8
8
  watch
9
9
  } from "./chunk.VZ7S7YYN.js";
10
10
  import {
11
11
  SynergyElement
12
- } from "./chunk.AHR2SOZU.js";
12
+ } from "./chunk.U3DCFCX3.js";
13
13
  import {
14
14
  __decorateClass
15
15
  } from "./chunk.DJOAQ4JU.js";
@@ -108,4 +108,4 @@ __decorateClass([
108
108
  export {
109
109
  SynRadio
110
110
  };
111
- //# sourceMappingURL=chunk.TJX5N2II.js.map
111
+ //# sourceMappingURL=chunk.D2Z6ZJXY.js.map
@@ -15,10 +15,10 @@ import {
15
15
  } from "./chunk.VZ7S7YYN.js";
16
16
  import {
17
17
  SynButtonGroup
18
- } from "./chunk.5QRUWFI5.js";
18
+ } from "./chunk.GK6FOY6O.js";
19
19
  import {
20
20
  SynergyElement
21
- } from "./chunk.AHR2SOZU.js";
21
+ } from "./chunk.U3DCFCX3.js";
22
22
  import {
23
23
  __decorateClass
24
24
  } from "./chunk.DJOAQ4JU.js";
@@ -348,4 +348,4 @@ __decorateClass([
348
348
  export {
349
349
  SynRadioGroup
350
350
  };
351
- //# sourceMappingURL=chunk.I73ADQGY.js.map
351
+ //# sourceMappingURL=chunk.DO6FDFLR.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynRadioGroup
3
- } from "./chunk.I73ADQGY.js";
3
+ } from "./chunk.DO6FDFLR.js";
4
4
 
5
5
  // src/components/radio-group/radio-group.ts
6
6
  var radio_group_default = SynRadioGroup;
@@ -9,4 +9,4 @@ SynRadioGroup.define("syn-radio-group");
9
9
  export {
10
10
  radio_group_default
11
11
  };
12
- //# sourceMappingURL=chunk.MX3M2JLJ.js.map
12
+ //# sourceMappingURL=chunk.ELVQAMXS.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTextarea
3
- } from "./chunk.APLCM4BH.js";
3
+ } from "./chunk.AN3MCZ5L.js";
4
4
 
5
5
  // src/components/textarea/textarea.ts
6
6
  var textarea_default = SynTextarea;
@@ -9,4 +9,4 @@ SynTextarea.define("syn-textarea");
9
9
  export {
10
10
  textarea_default
11
11
  };
12
- //# sourceMappingURL=chunk.4ILZNGUL.js.map
12
+ //# sourceMappingURL=chunk.F4TIM42X.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynRadioButton
3
- } from "./chunk.L3KHEGJG.js";
3
+ } from "./chunk.ZQ2MDF3U.js";
4
4
 
5
5
  // src/components/radio-button/radio-button.ts
6
6
  var radio_button_default = SynRadioButton;
@@ -9,4 +9,4 @@ SynRadioButton.define("syn-radio-button");
9
9
  export {
10
10
  radio_button_default
11
11
  };
12
- //# sourceMappingURL=chunk.PJQO5573.js.map
12
+ //# sourceMappingURL=chunk.FT2URWZV.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynergyElement
3
- } from "./chunk.AHR2SOZU.js";
3
+ } from "./chunk.U3DCFCX3.js";
4
4
  import {
5
5
  button_group_styles_default
6
6
  } from "./chunk.4ZURABYO.js";
@@ -83,4 +83,4 @@ function findButton(el) {
83
83
  export {
84
84
  SynButtonGroup
85
85
  };
86
- //# sourceMappingURL=chunk.5QRUWFI5.js.map
86
+ //# sourceMappingURL=chunk.GK6FOY6O.js.map
@@ -10,6 +10,8 @@ var icons = {
10
10
  <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>`,
11
11
  "indeterminate": `
12
12
  <svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill='currentColor'><path d="M19 13H5V11H19V13Z"/></svg>`,
13
+ "radio": `
14
+ <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>`,
13
15
  "x-circle-fill": `
14
16
  <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>`
15
17
  };
@@ -27,4 +29,4 @@ var library_system_default = systemLibrary;
27
29
  export {
28
30
  library_system_default
29
31
  };
30
- //# sourceMappingURL=chunk.O764J4CP.js.map
32
+ //# sourceMappingURL=chunk.GNAJOKCJ.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
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'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};\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,iBAAiB;AAAA;AAElB;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;",
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};\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;AAElB;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
6
  "names": []
7
7
  }
@@ -15,13 +15,13 @@ import {
15
15
  } from "./chunk.P2LNG2PZ.js";
16
16
  import {
17
17
  SynIcon
18
- } from "./chunk.YMJBCHGO.js";
18
+ } from "./chunk.QAB6MVFI.js";
19
19
  import {
20
20
  watch
21
21
  } from "./chunk.VZ7S7YYN.js";
22
22
  import {
23
23
  SynergyElement
24
- } from "./chunk.AHR2SOZU.js";
24
+ } from "./chunk.U3DCFCX3.js";
25
25
  import {
26
26
  __decorateClass
27
27
  } from "./chunk.DJOAQ4JU.js";
@@ -477,4 +477,4 @@ __decorateClass([
477
477
  export {
478
478
  SynInput
479
479
  };
480
- //# sourceMappingURL=chunk.V3A65IMI.js.map
480
+ //# sourceMappingURL=chunk.L6IGKNDY.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynCheckbox
3
- } from "./chunk.JU2SCUTB.js";
3
+ } from "./chunk.TTYVMQM7.js";
4
4
 
5
5
  // src/components/checkbox/checkbox.ts
6
6
  var checkbox_default = SynCheckbox;
@@ -9,4 +9,4 @@ SynCheckbox.define("syn-checkbox");
9
9
  export {
10
10
  checkbox_default
11
11
  };
12
- //# sourceMappingURL=chunk.X4XOYOXV.js.map
12
+ //# sourceMappingURL=chunk.MXJIZZJQ.js.map
@@ -5,13 +5,13 @@ import {
5
5
  getIconLibrary,
6
6
  unwatchIcon,
7
7
  watchIcon
8
- } from "./chunk.4JOMEFHA.js";
8
+ } from "./chunk.4XAK6MOQ.js";
9
9
  import {
10
10
  icon_styles_default
11
11
  } from "./chunk.RSONAU45.js";
12
12
  import {
13
13
  SynergyElement
14
- } from "./chunk.AHR2SOZU.js";
14
+ } from "./chunk.U3DCFCX3.js";
15
15
  import {
16
16
  __decorateClass
17
17
  } from "./chunk.DJOAQ4JU.js";
@@ -172,4 +172,4 @@ __decorateClass([
172
172
  export {
173
173
  SynIcon
174
174
  };
175
- //# sourceMappingURL=chunk.YMJBCHGO.js.map
175
+ //# sourceMappingURL=chunk.QAB6MVFI.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynSwitch
3
- } from "./chunk.GIJUJLZE.js";
3
+ } from "./chunk.WY3ORLFU.js";
4
4
 
5
5
  // src/components/switch/switch.ts
6
6
  var switch_default = SynSwitch;
@@ -9,4 +9,4 @@ SynSwitch.define("syn-switch");
9
9
  export {
10
10
  switch_default
11
11
  };
12
- //# sourceMappingURL=chunk.SKVC23DX.js.map
12
+ //# sourceMappingURL=chunk.T7HUHZ5Q.js.map
@@ -9,13 +9,13 @@ import {
9
9
  } from "./chunk.P2LNG2PZ.js";
10
10
  import {
11
11
  SynIcon
12
- } from "./chunk.YMJBCHGO.js";
12
+ } from "./chunk.QAB6MVFI.js";
13
13
  import {
14
14
  watch
15
15
  } from "./chunk.VZ7S7YYN.js";
16
16
  import {
17
17
  SynergyElement
18
- } from "./chunk.AHR2SOZU.js";
18
+ } from "./chunk.U3DCFCX3.js";
19
19
  import {
20
20
  __decorateClass
21
21
  } from "./chunk.DJOAQ4JU.js";
@@ -221,4 +221,4 @@ __decorateClass([
221
221
  export {
222
222
  SynCheckbox
223
223
  };
224
- //# sourceMappingURL=chunk.JU2SCUTB.js.map
224
+ //# sourceMappingURL=chunk.TTYVMQM7.js.map
@@ -48,7 +48,7 @@ var SynergyElement = class extends LitElement {
48
48
  };
49
49
  /* eslint-disable */
50
50
  // @ts-expect-error This is auto-injected at build time.
51
- SynergyElement.version = "1.0.0-main.18";
51
+ SynergyElement.version = "1.0.0-main.19";
52
52
  SynergyElement.dependencies = {};
53
53
  __decorateClass([
54
54
  property()
@@ -60,4 +60,4 @@ __decorateClass([
60
60
  export {
61
61
  SynergyElement
62
62
  };
63
- //# sourceMappingURL=chunk.AHR2SOZU.js.map
63
+ //# sourceMappingURL=chunk.U3DCFCX3.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/internal/synergy-element.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 { LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\n\n// Match event type name strings that are registered on GlobalEventHandlersEventMap...\ntype EventTypeRequiresDetail<T> = T extends keyof GlobalEventHandlersEventMap\n ? // ...where the event detail is an object...\n GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? // ...that is non-empty...\n GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? never\n : // ...and has at least one non-optional property\n Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? never\n : T\n : never\n : never;\n\n// The inverse of the above (match any type that doesn't match EventTypeRequiresDetail)\ntype EventTypeDoesNotRequireDetail<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? T\n : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? T\n : never\n : T\n : T;\n\n// `keyof EventTypesWithRequiredDetail` lists all registered event types that require detail\ntype EventTypesWithRequiredDetail = {\n [EventType in keyof GlobalEventHandlersEventMap as EventTypeRequiresDetail<EventType>]: true;\n};\n\n// `keyof EventTypesWithoutRequiredDetail` lists all registered event types that do NOT require detail\ntype EventTypesWithoutRequiredDetail = {\n [EventType in keyof GlobalEventHandlersEventMap as EventTypeDoesNotRequireDetail<EventType>]: true;\n};\n\n// Helper to make a specific property of an object non-optional\ntype WithRequired<T, K extends keyof T> = T & { [P in K]-?: T[P] };\n\n// Given an event name string, get a valid type for the options to initialize the event that is more restrictive than\n// just CustomEventInit when appropriate (validate the type of the event detail, and require it to be provided if the\n// event requires it)\ntype SynEventInit<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>\n : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>\n : WithRequired<CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>, 'detail'>\n : CustomEventInit\n : CustomEventInit;\n\n// Given an event name string, get the type of the event\ntype GetCustomEventType<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<unknown>\n ? GlobalEventHandlersEventMap[T]\n : CustomEvent<unknown>\n : CustomEvent<unknown>;\n\n// `keyof ValidEventTypeMap` is equivalent to `keyof GlobalEventHandlersEventMap` but gives a nicer error message\ntype ValidEventTypeMap = EventTypesWithRequiredDetail | EventTypesWithoutRequiredDetail;\n\nexport default class SynergyElement extends LitElement {\n // Make localization attributes reactive\n @property() dir: string;\n @property() lang: string;\n\n /** Emits a custom event with more convenient defaults. */\n emit<T extends string & keyof EventTypesWithoutRequiredDetail>(\n name: EventTypeDoesNotRequireDetail<T>,\n options?: SynEventInit<T> | undefined\n ): GetCustomEventType<T>;\n emit<T extends string & keyof EventTypesWithRequiredDetail>(\n name: EventTypeRequiresDetail<T>,\n options: SynEventInit<T>\n ): GetCustomEventType<T>;\n emit<T extends string & keyof ValidEventTypeMap>(\n name: T,\n options?: SynEventInit<T> | undefined\n ): GetCustomEventType<T> {\n const event = new CustomEvent(name, {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: {},\n ...options\n });\n\n this.dispatchEvent(event);\n\n return event as GetCustomEventType<T>;\n }\n\n /* eslint-disable */\n // @ts-expect-error This is auto-injected at build time.\n static version = \"1.0.0-main.18\";\n \n\n static define(name: string, elementConstructor = this, options: ElementDefinitionOptions = {}) {\n const currentlyRegisteredConstructor = customElements.get(name) as\n | CustomElementConstructor\n | typeof SynergyElement;\n\n if (!currentlyRegisteredConstructor) {\n customElements.define(name, class extends elementConstructor {} as unknown as CustomElementConstructor, options);\n return;\n }\n\n let newVersion = ' (unknown version)';\n let existingVersion = newVersion;\n\n if ('version' in elementConstructor && elementConstructor.version) {\n newVersion = ' v' + elementConstructor.version;\n }\n\n if ('version' in currentlyRegisteredConstructor && currentlyRegisteredConstructor.version) {\n existingVersion = ' v' + currentlyRegisteredConstructor.version;\n }\n\n // Need to make sure we're not working with null or empty strings before doing version comparisons.\n if (newVersion && existingVersion && newVersion === existingVersion) {\n // If versions match, we don't need to warn anyone. Carry on.\n return;\n }\n\n console.warn(\n `Attempted to register <${name}>${newVersion}, but <${name}>${existingVersion} has already been registered.`\n );\n }\n\n static dependencies: Record<string, typeof SynergyElement> = {};\n\n constructor() {\n super();\n Object.entries((this.constructor as typeof SynergyElement).dependencies).forEach(([name, component]) => {\n (this.constructor as typeof SynergyElement).define(name, component);\n });\n }\n}\n\nexport interface SynergyFormControl extends SynergyElement {\n // Form attributes\n name: string;\n value: unknown;\n disabled?: boolean;\n defaultValue?: unknown;\n defaultChecked?: boolean;\n form?: string;\n\n // Constraint validation attributes\n pattern?: string;\n min?: number | string | Date;\n max?: number | string | Date;\n step?: number | 'any';\n required?: boolean;\n minlength?: number;\n maxlength?: number;\n\n // Form validation properties\n readonly validity: ValidityState;\n readonly validationMessage: string;\n\n // Form validation methods\n checkValidity: () => boolean;\n getForm: () => HTMLFormElement | null;\n reportValidity: () => boolean;\n setCustomValidity: (message: string) => void;\n}\n"],
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 { LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\n\n// Match event type name strings that are registered on GlobalEventHandlersEventMap...\ntype EventTypeRequiresDetail<T> = T extends keyof GlobalEventHandlersEventMap\n ? // ...where the event detail is an object...\n GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? // ...that is non-empty...\n GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? never\n : // ...and has at least one non-optional property\n Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? never\n : T\n : never\n : never;\n\n// The inverse of the above (match any type that doesn't match EventTypeRequiresDetail)\ntype EventTypeDoesNotRequireDetail<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? T\n : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? T\n : never\n : T\n : T;\n\n// `keyof EventTypesWithRequiredDetail` lists all registered event types that require detail\ntype EventTypesWithRequiredDetail = {\n [EventType in keyof GlobalEventHandlersEventMap as EventTypeRequiresDetail<EventType>]: true;\n};\n\n// `keyof EventTypesWithoutRequiredDetail` lists all registered event types that do NOT require detail\ntype EventTypesWithoutRequiredDetail = {\n [EventType in keyof GlobalEventHandlersEventMap as EventTypeDoesNotRequireDetail<EventType>]: true;\n};\n\n// Helper to make a specific property of an object non-optional\ntype WithRequired<T, K extends keyof T> = T & { [P in K]-?: T[P] };\n\n// Given an event name string, get a valid type for the options to initialize the event that is more restrictive than\n// just CustomEventInit when appropriate (validate the type of the event detail, and require it to be provided if the\n// event requires it)\ntype SynEventInit<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>\n : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>\n : WithRequired<CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>, 'detail'>\n : CustomEventInit\n : CustomEventInit;\n\n// Given an event name string, get the type of the event\ntype GetCustomEventType<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<unknown>\n ? GlobalEventHandlersEventMap[T]\n : CustomEvent<unknown>\n : CustomEvent<unknown>;\n\n// `keyof ValidEventTypeMap` is equivalent to `keyof GlobalEventHandlersEventMap` but gives a nicer error message\ntype ValidEventTypeMap = EventTypesWithRequiredDetail | EventTypesWithoutRequiredDetail;\n\nexport default class SynergyElement extends LitElement {\n // Make localization attributes reactive\n @property() dir: string;\n @property() lang: string;\n\n /** Emits a custom event with more convenient defaults. */\n emit<T extends string & keyof EventTypesWithoutRequiredDetail>(\n name: EventTypeDoesNotRequireDetail<T>,\n options?: SynEventInit<T> | undefined\n ): GetCustomEventType<T>;\n emit<T extends string & keyof EventTypesWithRequiredDetail>(\n name: EventTypeRequiresDetail<T>,\n options: SynEventInit<T>\n ): GetCustomEventType<T>;\n emit<T extends string & keyof ValidEventTypeMap>(\n name: T,\n options?: SynEventInit<T> | undefined\n ): GetCustomEventType<T> {\n const event = new CustomEvent(name, {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: {},\n ...options\n });\n\n this.dispatchEvent(event);\n\n return event as GetCustomEventType<T>;\n }\n\n /* eslint-disable */\n // @ts-expect-error This is auto-injected at build time.\n static version = \"1.0.0-main.19\";\n \n\n static define(name: string, elementConstructor = this, options: ElementDefinitionOptions = {}) {\n const currentlyRegisteredConstructor = customElements.get(name) as\n | CustomElementConstructor\n | typeof SynergyElement;\n\n if (!currentlyRegisteredConstructor) {\n customElements.define(name, class extends elementConstructor {} as unknown as CustomElementConstructor, options);\n return;\n }\n\n let newVersion = ' (unknown version)';\n let existingVersion = newVersion;\n\n if ('version' in elementConstructor && elementConstructor.version) {\n newVersion = ' v' + elementConstructor.version;\n }\n\n if ('version' in currentlyRegisteredConstructor && currentlyRegisteredConstructor.version) {\n existingVersion = ' v' + currentlyRegisteredConstructor.version;\n }\n\n // Need to make sure we're not working with null or empty strings before doing version comparisons.\n if (newVersion && existingVersion && newVersion === existingVersion) {\n // If versions match, we don't need to warn anyone. Carry on.\n return;\n }\n\n console.warn(\n `Attempted to register <${name}>${newVersion}, but <${name}>${existingVersion} has already been registered.`\n );\n }\n\n static dependencies: Record<string, typeof SynergyElement> = {};\n\n constructor() {\n super();\n Object.entries((this.constructor as typeof SynergyElement).dependencies).forEach(([name, component]) => {\n (this.constructor as typeof SynergyElement).define(name, component);\n });\n }\n}\n\nexport interface SynergyFormControl extends SynergyElement {\n // Form attributes\n name: string;\n value: unknown;\n disabled?: boolean;\n defaultValue?: unknown;\n defaultChecked?: boolean;\n form?: string;\n\n // Constraint validation attributes\n pattern?: string;\n min?: number | string | Date;\n max?: number | string | Date;\n step?: number | 'any';\n required?: boolean;\n minlength?: number;\n maxlength?: number;\n\n // Form validation properties\n readonly validity: ValidityState;\n readonly validationMessage: string;\n\n // Form validation methods\n checkValidity: () => boolean;\n getForm: () => HTMLFormElement | null;\n reportValidity: () => boolean;\n setCustomValidity: (message: string) => void;\n}\n"],
5
5
  "mappings": ";;;;;;AAMA,SAAS,kBAAkB;AAC3B,SAAS,gBAAgB;AA+DzB,IAAqB,iBAArB,cAA4C,WAAW;AAAA,EAsErD,cAAc;AACZ,UAAM;AACN,WAAO,QAAS,KAAK,YAAsC,YAAY,EAAE,QAAQ,CAAC,CAAC,MAAM,SAAS,MAAM;AACtG,MAAC,KAAK,YAAsC,OAAO,MAAM,SAAS;AAAA,IACpE,CAAC;AAAA,EACH;AAAA,EA7DA,KACE,MACA,SACuB;AACvB,UAAM,QAAQ,IAAI,YAAY,MAAM;AAAA,MAClC,SAAS;AAAA,MACT,YAAY;AAAA,MACZ,UAAU;AAAA,MACV,QAAQ,CAAC;AAAA,OACN,QACJ;AAED,SAAK,cAAc,KAAK;AAExB,WAAO;AAAA,EACT;AAAA,EAOA,OAAO,OAAO,MAAc,qBAAqB,MAAM,UAAoC,CAAC,GAAG;AAC7F,UAAM,iCAAiC,eAAe,IAAI,IAAI;AAI9D,QAAI,CAAC,gCAAgC;AACnC,qBAAe,OAAO,MAAM,cAAc,mBAAmB;AAAA,MAAC,GAA0C,OAAO;AAC/G;AAAA,IACF;AAEA,QAAI,aAAa;AACjB,QAAI,kBAAkB;AAEtB,QAAI,aAAa,sBAAsB,mBAAmB,SAAS;AACjE,mBAAa,OAAO,mBAAmB;AAAA,IACzC;AAEA,QAAI,aAAa,kCAAkC,+BAA+B,SAAS;AACzF,wBAAkB,OAAO,+BAA+B;AAAA,IAC1D;AAGA,QAAI,cAAc,mBAAmB,eAAe,iBAAiB;AAEnE;AAAA,IACF;AAEA,YAAQ;AAAA,MACN,0BAA0B,IAAI,IAAI,UAAU,UAAU,IAAI,IAAI,eAAe;AAAA,IAC/E;AAAA,EACF;AAUF;AAAA;AAAA;AA5EqB,eAiCZ,UAAU;AAjCE,eAoEZ,eAAsD,CAAC;AAlElD;AAAA,EAAX,SAAS;AAAA,GAFS,eAEP;AACA;AAAA,EAAX,SAAS;AAAA,GAHS,eAGP;",
6
6
  "names": []
7
7
  }
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.R6VNLE6N.js";
7
7
  import {
8
8
  SynergyElement
9
- } from "./chunk.AHR2SOZU.js";
9
+ } from "./chunk.U3DCFCX3.js";
10
10
 
11
11
  // src/components/spinner/spinner.component.ts
12
12
  import { html } from "lit";
@@ -29,4 +29,4 @@ SynSpinner.styles = spinner_styles_default;
29
29
  export {
30
30
  SynSpinner
31
31
  };
32
- //# sourceMappingURL=chunk.ICBK5NRT.js.map
32
+ //# sourceMappingURL=chunk.UIG4NCKL.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynButton
3
- } from "./chunk.PNV7T55D.js";
3
+ } from "./chunk.36WJCPWJ.js";
4
4
 
5
5
  // src/components/button/button.ts
6
6
  var button_default = SynButton;
@@ -9,4 +9,4 @@ SynButton.define("syn-button");
9
9
  export {
10
10
  button_default
11
11
  };
12
- //# sourceMappingURL=chunk.TGOEMTRU.js.map
12
+ //# sourceMappingURL=chunk.UWJKSEFE.js.map
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk.VZ7S7YYN.js";
13
13
  import {
14
14
  SynergyElement
15
- } from "./chunk.AHR2SOZU.js";
15
+ } from "./chunk.U3DCFCX3.js";
16
16
  import {
17
17
  __decorateClass
18
18
  } from "./chunk.DJOAQ4JU.js";
@@ -209,4 +209,4 @@ __decorateClass([
209
209
  export {
210
210
  SynSwitch
211
211
  };
212
- //# sourceMappingURL=chunk.GIJUJLZE.js.map
212
+ //# sourceMappingURL=chunk.WY3ORLFU.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk.VZ7S7YYN.js";
10
10
  import {
11
11
  SynergyElement
12
- } from "./chunk.AHR2SOZU.js";
12
+ } from "./chunk.U3DCFCX3.js";
13
13
  import {
14
14
  __decorateClass
15
15
  } from "./chunk.DJOAQ4JU.js";
@@ -124,4 +124,4 @@ __decorateClass([
124
124
  export {
125
125
  SynRadioButton
126
126
  };
127
- //# sourceMappingURL=chunk.L3KHEGJG.js.map
127
+ //# sourceMappingURL=chunk.ZQ2MDF3U.js.map
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  SynButton
3
- } from "../../chunks/chunk.PNV7T55D.js";
4
- import "../../chunks/chunk.ICBK5NRT.js";
3
+ } from "../../chunks/chunk.36WJCPWJ.js";
4
+ import "../../chunks/chunk.UIG4NCKL.js";
5
5
  import "../../chunks/chunk.N2I6HVX3.js";
6
6
  import "../../chunks/chunk.R6VNLE6N.js";
7
7
  import "../../chunks/chunk.A3SKDWCT.js";
8
8
  import "../../chunks/chunk.XGXFE6IF.js";
9
9
  import "../../chunks/chunk.P2LNG2PZ.js";
10
- import "../../chunks/chunk.YMJBCHGO.js";
10
+ import "../../chunks/chunk.QAB6MVFI.js";
11
11
  import "../../chunks/chunk.VZ7S7YYN.js";
12
- import "../../chunks/chunk.4JOMEFHA.js";
12
+ import "../../chunks/chunk.4XAK6MOQ.js";
13
13
  import "../../chunks/chunk.6C4JXZZN.js";
14
- import "../../chunks/chunk.O764J4CP.js";
14
+ import "../../chunks/chunk.GNAJOKCJ.js";
15
15
  import "../../chunks/chunk.RSONAU45.js";
16
16
  import "../../chunks/chunk.PJO6TM3T.js";
17
17
  import "../../chunks/chunk.C7624ITA.js";
18
18
  import "../../chunks/chunk.YTS5TRJZ.js";
19
19
  import "../../chunks/chunk.FVSP4LXX.js";
20
- import "../../chunks/chunk.AHR2SOZU.js";
20
+ import "../../chunks/chunk.U3DCFCX3.js";
21
21
  import "../../chunks/chunk.O7USYXBT.js";
22
22
  import "../../chunks/chunk.DJOAQ4JU.js";
23
23
  export {
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  button_default
3
- } from "../../chunks/chunk.TGOEMTRU.js";
4
- import "../../chunks/chunk.PNV7T55D.js";
5
- import "../../chunks/chunk.ICBK5NRT.js";
3
+ } from "../../chunks/chunk.UWJKSEFE.js";
4
+ import "../../chunks/chunk.36WJCPWJ.js";
5
+ import "../../chunks/chunk.UIG4NCKL.js";
6
6
  import "../../chunks/chunk.N2I6HVX3.js";
7
7
  import "../../chunks/chunk.R6VNLE6N.js";
8
8
  import "../../chunks/chunk.A3SKDWCT.js";
9
9
  import "../../chunks/chunk.XGXFE6IF.js";
10
10
  import "../../chunks/chunk.P2LNG2PZ.js";
11
- import "../../chunks/chunk.YMJBCHGO.js";
11
+ import "../../chunks/chunk.QAB6MVFI.js";
12
12
  import "../../chunks/chunk.VZ7S7YYN.js";
13
- import "../../chunks/chunk.4JOMEFHA.js";
13
+ import "../../chunks/chunk.4XAK6MOQ.js";
14
14
  import "../../chunks/chunk.6C4JXZZN.js";
15
- import "../../chunks/chunk.O764J4CP.js";
15
+ import "../../chunks/chunk.GNAJOKCJ.js";
16
16
  import "../../chunks/chunk.RSONAU45.js";
17
17
  import "../../chunks/chunk.PJO6TM3T.js";
18
18
  import "../../chunks/chunk.C7624ITA.js";
19
19
  import "../../chunks/chunk.YTS5TRJZ.js";
20
20
  import "../../chunks/chunk.FVSP4LXX.js";
21
- import "../../chunks/chunk.AHR2SOZU.js";
21
+ import "../../chunks/chunk.U3DCFCX3.js";
22
22
  import "../../chunks/chunk.O7USYXBT.js";
23
23
  import "../../chunks/chunk.DJOAQ4JU.js";
24
24
  export {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SynButtonGroup
3
- } from "../../chunks/chunk.5QRUWFI5.js";
4
- import "../../chunks/chunk.AHR2SOZU.js";
3
+ } from "../../chunks/chunk.GK6FOY6O.js";
4
+ import "../../chunks/chunk.U3DCFCX3.js";
5
5
  import "../../chunks/chunk.4ZURABYO.js";
6
6
  import "../../chunks/chunk.O7USYXBT.js";
7
7
  import "../../chunks/chunk.DJOAQ4JU.js";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  button_group_default
3
- } from "../../chunks/chunk.62X7ZGQY.js";
4
- import "../../chunks/chunk.5QRUWFI5.js";
5
- import "../../chunks/chunk.AHR2SOZU.js";
3
+ } from "../../chunks/chunk.6HOJNR5P.js";
4
+ import "../../chunks/chunk.GK6FOY6O.js";
5
+ import "../../chunks/chunk.U3DCFCX3.js";
6
6
  import "../../chunks/chunk.4ZURABYO.js";
7
7
  import "../../chunks/chunk.O7USYXBT.js";
8
8
  import "../../chunks/chunk.DJOAQ4JU.js";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  SynCheckbox
3
- } from "../../chunks/chunk.JU2SCUTB.js";
3
+ } from "../../chunks/chunk.TTYVMQM7.js";
4
4
  import "../../chunks/chunk.WFAJR3FN.js";
5
5
  import "../../chunks/chunk.4CBN5LPQ.js";
6
6
  import "../../chunks/chunk.2XZKXVMR.js";
7
7
  import "../../chunks/chunk.P2LNG2PZ.js";
8
- import "../../chunks/chunk.YMJBCHGO.js";
8
+ import "../../chunks/chunk.QAB6MVFI.js";
9
9
  import "../../chunks/chunk.VZ7S7YYN.js";
10
- import "../../chunks/chunk.4JOMEFHA.js";
10
+ import "../../chunks/chunk.4XAK6MOQ.js";
11
11
  import "../../chunks/chunk.6C4JXZZN.js";
12
- import "../../chunks/chunk.O764J4CP.js";
12
+ import "../../chunks/chunk.GNAJOKCJ.js";
13
13
  import "../../chunks/chunk.RSONAU45.js";
14
14
  import "../../chunks/chunk.PJO6TM3T.js";
15
15
  import "../../chunks/chunk.C7624ITA.js";
16
- import "../../chunks/chunk.AHR2SOZU.js";
16
+ import "../../chunks/chunk.U3DCFCX3.js";
17
17
  import "../../chunks/chunk.O7USYXBT.js";
18
18
  import "../../chunks/chunk.DJOAQ4JU.js";
19
19
  export {