@synergy-design-system/components 1.9.0 → 1.10.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.
Files changed (141) hide show
  1. package/dist/chunks/{chunk.PRZRH7SN.js → chunk.4FD6EN6V.js} +2 -2
  2. package/dist/chunks/{chunk.5R3OVMH2.js → chunk.5S4NBTAE.js} +3 -3
  3. package/dist/chunks/{chunk.BJYVLDYR.js → chunk.73CGLYDS.js} +2 -2
  4. package/dist/chunks/{chunk.JRXQK6LG.js → chunk.7UVCYUNR.js} +2 -2
  5. package/dist/chunks/{chunk.K3O2PP7X.js → chunk.AFOOC2IJ.js} +2 -2
  6. package/dist/chunks/{chunk.MDZ22YWD.js → chunk.BI3SSGDL.js} +3 -3
  7. package/dist/chunks/{chunk.FSONLJTT.js → chunk.CIENFFDB.js} +4 -4
  8. package/dist/chunks/{chunk.3O5WTWSN.js → chunk.DG6V34TC.js} +2 -2
  9. package/dist/chunks/{chunk.Y72MIUNI.js → chunk.EVPQK6A6.js} +2 -2
  10. package/dist/chunks/{chunk.KDDTDU4B.js → chunk.FUUO3LIN.js} +5 -5
  11. package/dist/chunks/chunk.G7SPBDNX.js +12 -0
  12. package/dist/chunks/chunk.G7SPBDNX.js.map +7 -0
  13. package/dist/chunks/{chunk.UZFPGR6M.js → chunk.GQCIN3QI.js} +2 -2
  14. package/dist/chunks/{chunk.AJU6C4KC.js → chunk.GQFFWTB6.js} +2 -2
  15. package/dist/chunks/{chunk.5CB3CVZ7.js → chunk.GXPIMLW3.js} +2 -2
  16. package/dist/chunks/{chunk.BTZX6ZFZ.js → chunk.HXLFB7ZH.js} +2 -2
  17. package/dist/chunks/{chunk.IOPUYG6Q.js → chunk.IZUTSNSL.js} +2 -2
  18. package/dist/chunks/chunk.JDXKGJ63.js +99 -0
  19. package/dist/chunks/chunk.JDXKGJ63.js.map +7 -0
  20. package/dist/chunks/{chunk.BLOH2ZNU.js → chunk.JLNH2W3S.js} +3 -3
  21. package/dist/chunks/{chunk.RMZBSKRR.js → chunk.L5APUSPB.js} +5 -5
  22. package/dist/chunks/{chunk.F4THECWA.js → chunk.LGADMVOP.js} +2 -2
  23. package/dist/chunks/{chunk.GBOII6N4.js → chunk.LH3GMK7S.js} +3 -3
  24. package/dist/chunks/{chunk.PWMSNMDF.js → chunk.LVDTUHAK.js} +7 -7
  25. package/dist/chunks/{chunk.FUNZW7ES.js → chunk.MOE5YJDU.js} +2 -2
  26. package/dist/chunks/{chunk.5AAIHRMI.js → chunk.N4VSEIRQ.js} +3 -1
  27. package/dist/chunks/{chunk.5AAIHRMI.js.map → chunk.N4VSEIRQ.js.map} +2 -2
  28. package/dist/chunks/{chunk.LZE7OXKV.js → chunk.NKGRF5PE.js} +2 -2
  29. package/dist/chunks/{chunk.QY6MKIMK.js → chunk.NSYEQECK.js} +2 -2
  30. package/dist/chunks/{chunk.O6AXKVFJ.js → chunk.NUWM3YC3.js} +4 -4
  31. package/dist/chunks/{chunk.IR2PZHC7.js → chunk.P2KXCLJX.js} +2 -2
  32. package/dist/chunks/{chunk.VATYXV2O.js → chunk.PKNEJYPC.js} +2 -2
  33. package/dist/chunks/{chunk.GAPQVJGQ.js → chunk.RITXJLM2.js} +3 -3
  34. package/dist/chunks/{chunk.XEI5ZP7Y.js → chunk.SNE4YYHY.js} +2 -2
  35. package/dist/chunks/{chunk.LF2XSSHD.js → chunk.SOGEZO2M.js} +2 -2
  36. package/dist/chunks/{chunk.3DE5ARIC.js → chunk.U24UDJCX.js} +2 -2
  37. package/dist/chunks/{chunk.3DE5ARIC.js.map → chunk.U24UDJCX.js.map} +1 -1
  38. package/dist/chunks/{chunk.RMQZMRVP.js → chunk.UAHEM2KD.js} +2 -2
  39. package/dist/chunks/{chunk.6MS3WNDW.js → chunk.VJ5NFXWS.js} +2 -2
  40. package/dist/chunks/{chunk.WC5SV4TV.js → chunk.W2U4WOJV.js} +4 -4
  41. package/dist/chunks/{chunk.BGKFRWWO.js → chunk.WHZYEHUG.js} +3 -3
  42. package/dist/chunks/{chunk.HF75YRVS.js → chunk.XQCYTG77.js} +5 -5
  43. package/dist/chunks/{chunk.KNXO2FGQ.js → chunk.ZFFM3DYG.js} +3 -3
  44. package/dist/chunks/{chunk.ZT5DUKVA.js → chunk.ZGNSJN4N.js} +2 -2
  45. package/dist/chunks/{chunk.OJF7KL44.js → chunk.ZHH2AHOZ.js} +2 -1
  46. package/dist/chunks/chunk.ZHH2AHOZ.js.map +7 -0
  47. package/dist/chunks/{chunk.5BMNRZ7L.js → chunk.ZQKBDPXT.js} +2 -2
  48. package/dist/chunks/chunk.ZYXL5PMB.js +80 -0
  49. package/dist/chunks/chunk.ZYXL5PMB.js.map +7 -0
  50. package/dist/components/button/button.component.js +7 -7
  51. package/dist/components/button/button.js +8 -8
  52. package/dist/components/button-group/button-group.component.js +2 -2
  53. package/dist/components/button-group/button-group.js +3 -3
  54. package/dist/components/checkbox/checkbox.component.js +6 -6
  55. package/dist/components/checkbox/checkbox.js +7 -7
  56. package/dist/components/divider/divider.component.js +2 -2
  57. package/dist/components/divider/divider.js +3 -3
  58. package/dist/components/drawer/drawer.component.js +8 -8
  59. package/dist/components/drawer/drawer.js +9 -9
  60. package/dist/components/header/header.component.d.ts +36 -0
  61. package/dist/components/header/header.component.js +20 -0
  62. package/dist/components/header/header.component.js.map +7 -0
  63. package/dist/components/header/header.d.ts +8 -0
  64. package/dist/components/header/header.js +21 -0
  65. package/dist/components/header/header.js.map +7 -0
  66. package/dist/components/header/header.styles.d.ts +2 -0
  67. package/dist/components/header/header.styles.js +8 -0
  68. package/dist/components/header/header.styles.js.map +7 -0
  69. package/dist/components/icon/icon.component.js +5 -5
  70. package/dist/components/icon/icon.js +6 -6
  71. package/dist/components/icon/library.js +2 -2
  72. package/dist/components/icon/library.system.js +1 -1
  73. package/dist/components/icon-button/icon-button.component.js +7 -7
  74. package/dist/components/icon-button/icon-button.custom.styles.js +1 -1
  75. package/dist/components/icon-button/icon-button.js +8 -8
  76. package/dist/components/input/input.component.js +7 -7
  77. package/dist/components/input/input.js +8 -8
  78. package/dist/components/optgroup/optgroup.component.js +3 -3
  79. package/dist/components/optgroup/optgroup.js +4 -4
  80. package/dist/components/option/option.component.js +6 -6
  81. package/dist/components/option/option.js +7 -7
  82. package/dist/components/popup/popup.component.js +2 -2
  83. package/dist/components/radio/radio.component.js +6 -6
  84. package/dist/components/radio/radio.js +7 -7
  85. package/dist/components/radio-button/radio-button.component.js +2 -2
  86. package/dist/components/radio-button/radio-button.js +3 -3
  87. package/dist/components/radio-group/radio-group.component.js +3 -3
  88. package/dist/components/radio-group/radio-group.js +4 -4
  89. package/dist/components/select/select.component.js +10 -10
  90. package/dist/components/select/select.js +11 -11
  91. package/dist/components/spinner/spinner.component.js +2 -2
  92. package/dist/components/switch/switch.component.js +3 -3
  93. package/dist/components/switch/switch.js +4 -4
  94. package/dist/components/tag/tag.component.js +8 -8
  95. package/dist/components/tag/tag.js +9 -9
  96. package/dist/components/textarea/textarea.component.js +3 -3
  97. package/dist/components/textarea/textarea.js +4 -4
  98. package/dist/custom-elements.json +257 -141
  99. package/dist/synergy.d.ts +1 -0
  100. package/dist/synergy.js +67 -61
  101. package/dist/utilities/icon-library.js +2 -2
  102. package/dist/vscode.html-custom-data.json +34 -17
  103. package/package.json +3 -3
  104. package/dist/chunks/chunk.OJF7KL44.js.map +0 -7
  105. /package/dist/chunks/{chunk.PRZRH7SN.js.map → chunk.4FD6EN6V.js.map} +0 -0
  106. /package/dist/chunks/{chunk.5R3OVMH2.js.map → chunk.5S4NBTAE.js.map} +0 -0
  107. /package/dist/chunks/{chunk.BJYVLDYR.js.map → chunk.73CGLYDS.js.map} +0 -0
  108. /package/dist/chunks/{chunk.JRXQK6LG.js.map → chunk.7UVCYUNR.js.map} +0 -0
  109. /package/dist/chunks/{chunk.K3O2PP7X.js.map → chunk.AFOOC2IJ.js.map} +0 -0
  110. /package/dist/chunks/{chunk.MDZ22YWD.js.map → chunk.BI3SSGDL.js.map} +0 -0
  111. /package/dist/chunks/{chunk.FSONLJTT.js.map → chunk.CIENFFDB.js.map} +0 -0
  112. /package/dist/chunks/{chunk.3O5WTWSN.js.map → chunk.DG6V34TC.js.map} +0 -0
  113. /package/dist/chunks/{chunk.Y72MIUNI.js.map → chunk.EVPQK6A6.js.map} +0 -0
  114. /package/dist/chunks/{chunk.KDDTDU4B.js.map → chunk.FUUO3LIN.js.map} +0 -0
  115. /package/dist/chunks/{chunk.UZFPGR6M.js.map → chunk.GQCIN3QI.js.map} +0 -0
  116. /package/dist/chunks/{chunk.AJU6C4KC.js.map → chunk.GQFFWTB6.js.map} +0 -0
  117. /package/dist/chunks/{chunk.5CB3CVZ7.js.map → chunk.GXPIMLW3.js.map} +0 -0
  118. /package/dist/chunks/{chunk.BTZX6ZFZ.js.map → chunk.HXLFB7ZH.js.map} +0 -0
  119. /package/dist/chunks/{chunk.IOPUYG6Q.js.map → chunk.IZUTSNSL.js.map} +0 -0
  120. /package/dist/chunks/{chunk.BLOH2ZNU.js.map → chunk.JLNH2W3S.js.map} +0 -0
  121. /package/dist/chunks/{chunk.RMZBSKRR.js.map → chunk.L5APUSPB.js.map} +0 -0
  122. /package/dist/chunks/{chunk.F4THECWA.js.map → chunk.LGADMVOP.js.map} +0 -0
  123. /package/dist/chunks/{chunk.GBOII6N4.js.map → chunk.LH3GMK7S.js.map} +0 -0
  124. /package/dist/chunks/{chunk.PWMSNMDF.js.map → chunk.LVDTUHAK.js.map} +0 -0
  125. /package/dist/chunks/{chunk.FUNZW7ES.js.map → chunk.MOE5YJDU.js.map} +0 -0
  126. /package/dist/chunks/{chunk.LZE7OXKV.js.map → chunk.NKGRF5PE.js.map} +0 -0
  127. /package/dist/chunks/{chunk.QY6MKIMK.js.map → chunk.NSYEQECK.js.map} +0 -0
  128. /package/dist/chunks/{chunk.O6AXKVFJ.js.map → chunk.NUWM3YC3.js.map} +0 -0
  129. /package/dist/chunks/{chunk.IR2PZHC7.js.map → chunk.P2KXCLJX.js.map} +0 -0
  130. /package/dist/chunks/{chunk.VATYXV2O.js.map → chunk.PKNEJYPC.js.map} +0 -0
  131. /package/dist/chunks/{chunk.GAPQVJGQ.js.map → chunk.RITXJLM2.js.map} +0 -0
  132. /package/dist/chunks/{chunk.XEI5ZP7Y.js.map → chunk.SNE4YYHY.js.map} +0 -0
  133. /package/dist/chunks/{chunk.LF2XSSHD.js.map → chunk.SOGEZO2M.js.map} +0 -0
  134. /package/dist/chunks/{chunk.RMQZMRVP.js.map → chunk.UAHEM2KD.js.map} +0 -0
  135. /package/dist/chunks/{chunk.6MS3WNDW.js.map → chunk.VJ5NFXWS.js.map} +0 -0
  136. /package/dist/chunks/{chunk.WC5SV4TV.js.map → chunk.W2U4WOJV.js.map} +0 -0
  137. /package/dist/chunks/{chunk.BGKFRWWO.js.map → chunk.WHZYEHUG.js.map} +0 -0
  138. /package/dist/chunks/{chunk.HF75YRVS.js.map → chunk.XQCYTG77.js.map} +0 -0
  139. /package/dist/chunks/{chunk.KNXO2FGQ.js.map → chunk.ZFFM3DYG.js.map} +0 -0
  140. /package/dist/chunks/{chunk.ZT5DUKVA.js.map → chunk.ZGNSJN4N.js.map} +0 -0
  141. /package/dist/chunks/{chunk.5BMNRZ7L.js.map → chunk.ZQKBDPXT.js.map} +0 -0
@@ -2,23 +2,6 @@
2
2
  "$schema": "https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/main/docs/customData.schema.json",
3
3
  "version": 1.1,
4
4
  "tags": [
5
- {
6
- "name": "syn-button-group",
7
- "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.",
8
- "attributes": [
9
- {
10
- "name": "label",
11
- "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.",
12
- "values": []
13
- }
14
- ],
15
- "references": [
16
- {
17
- "name": "Documentation",
18
- "url": "https://synergy.style/components/button-group"
19
- }
20
- ]
21
- },
22
5
  {
23
6
  "name": "syn-button",
24
7
  "description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **syn-blur** - Emitted when the button loses focus.\n- **syn-focus** - Emitted when the button gains focus.\n- **syn-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The button's label.\n- **prefix** - A presentational prefix icon or similar element.\n- **suffix** - A presentational suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **prefix** - The container that wraps the prefix.\n- **label** - The button's label.\n- **suffix** - The container that wraps the suffix.\n- **caret** - The button's caret icon, an `<syn-icon>` element.\n- **spinner** - The spinner that shows when the button is in the loading state.",
@@ -148,6 +131,23 @@
148
131
  }
149
132
  ]
150
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
151
  {
152
152
  "name": "syn-checkbox",
153
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- **help-text** - Text that describes how to use the checkbox. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<syn-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<syn-icon>` element.\n- **label** - The container that wraps the checkbox's label.\n- **form-control-help-text** - The help text's wrapper.",
@@ -269,6 +269,23 @@
269
269
  }
270
270
  ]
271
271
  },
272
+ {
273
+ "name": "syn-header",
274
+ "description": "The <syn-header /> element provides a generic application header\nthat can be used to add applications name, toolbar and primary navigation.\n---\n\n\n### **Slots:**\n - _default_ - The label for the header.\n- **logo** - The logo that should be displayed. Will fall back to the SICK logo if not provided.\n- **meta-navigation** - The meta-navigation is used to add various application toolbar icons. Best used with `<syn-icon-button />` and `<syn-drop-down />`\n- **navigation** - This slot can be used to add an optional horizontal navigation\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - The wrapper most content items reside\n- **logo** - The wrapper the application logo resides in\n- **label** - The element wrapping the application name\n- **meta-navigation** - The Item wrapping the optional application menu\n- **navigation** - The wrapper that is holding the optional top navigation section",
275
+ "attributes": [
276
+ {
277
+ "name": "label",
278
+ "description": "The headers label. If you need to display HTML, use the `label` slot instead.",
279
+ "values": []
280
+ }
281
+ ],
282
+ "references": [
283
+ {
284
+ "name": "Documentation",
285
+ "url": "https://synergy.style/components/header"
286
+ }
287
+ ]
288
+ },
272
289
  {
273
290
  "name": "syn-icon",
274
291
  "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.9.0",
7
+ "version": "1.10.1",
8
8
  "description": "",
9
9
  "repository": {
10
10
  "type": "git",
@@ -89,8 +89,8 @@
89
89
  "vendorism": "^3.0.0",
90
90
  "vue-tsc": "^1.8.27",
91
91
  "@synergy-design-system/eslint-config-syn": "0.1.0",
92
- "@synergy-design-system/stylelint-config-syn": "0.1.0",
93
- "@synergy-design-system/tokens": "1.7.1"
92
+ "@synergy-design-system/tokens": "1.8.0",
93
+ "@synergy-design-system/stylelint-config-syn": "0.1.0"
94
94
  },
95
95
  "release": {
96
96
  "branches": [
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/components/icon-button/icon-button.custom.styles.ts"],
4
- "sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n .icon-button {\n color: currentColor;\n font-size: inherit;\n }\n\n /* Color variants */\n .icon-button--neutral,\n .icon-button--neutral:focus-visible:not(.icon-button--disabled):not(:hover) {\n color: var(--syn-color-neutral-950);\n }\n\n .icon-button--primary,\n .icon-button--primary:focus-visible:not(.icon-button--disabled) {\n color: var(--syn-color-primary-600);\n }\n\n .icon-button--primary:hover:not(.icon-button--disabled) {\n color: var(--syn-color-primary-900);\n }\n\n .icon-button--primary:active:not(.icon-button--disabled) {\n color: var(--syn-color-primary-950);\n }\n\n .icon-button--disabled {\n color: var(--syn-color-neutral-400);\n }\n\n /* Remove round borders */\n .icon-button:focus-visible {\n border-radius: var(--syn-border-radius-none);\n }\n\n\n /* Sizes */\n .icon-button--small {\n font-size: var(--syn-font-size-medium);\n }\n\n .icon-button--medium {\n font-size: var(--syn-font-size-x-large);\n\n }\n\n .icon-button--large {\n font-size: var(--syn-font-size-2x-large);\n }\n\n /* Force user to set \"label\" prop */\n .icon-button[aria-label=\"\"] {\n border: var(--syn-border-width-large) var(--syn-color-error-600) solid;\n }\n\n .icon-button[aria-label=\"\"]::after {\n content: \"Set label prop for a11y to get rid of this text and border!\";\n font-size: var(--syn-font-size-2x-small);\n margin-left: var(--syn-spacing-2x-small);\n }\n`;\n"],
5
- "mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,oCAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
- "names": []
7
- }