@synergy-design-system/components 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/dist/chunks/chunk.3B24TYVN.js +51 -0
  2. package/dist/chunks/chunk.3B24TYVN.js.map +7 -0
  3. package/dist/chunks/chunk.3HPG73GG.js +132 -0
  4. package/dist/chunks/chunk.3HPG73GG.js.map +7 -0
  5. package/dist/chunks/chunk.4KLCSMRA.js +96 -0
  6. package/dist/chunks/chunk.4KLCSMRA.js.map +7 -0
  7. package/dist/chunks/{chunk.BOURWTS5.js → chunk.4ZO3EKCL.js} +2 -2
  8. package/dist/chunks/{chunk.JFCQYLZB.js → chunk.5NJ7WWJW.js} +2 -2
  9. package/dist/chunks/{chunk.C2S53NYE.js → chunk.63IJYG6Q.js} +2 -2
  10. package/dist/chunks/chunk.6XU6OLZ3.js +310 -0
  11. package/dist/chunks/chunk.6XU6OLZ3.js.map +7 -0
  12. package/dist/chunks/{chunk.MMNPLBTH.js → chunk.7BHGTNHS.js} +2 -2
  13. package/dist/chunks/chunk.7HS3TULI.js +12 -0
  14. package/dist/chunks/chunk.7HS3TULI.js.map +7 -0
  15. package/dist/chunks/{chunk.VYKSU5VJ.js → chunk.A4YWJJLD.js} +2 -2
  16. package/dist/chunks/{chunk.43NPPDUU.js → chunk.AVJQ2BSM.js} +2 -2
  17. package/dist/chunks/{chunk.W46CFM2R.js → chunk.B2EJGIGY.js} +7 -13
  18. package/dist/chunks/chunk.B2EJGIGY.js.map +7 -0
  19. package/dist/chunks/chunk.BQG5LF7J.js +47 -0
  20. package/dist/chunks/chunk.BQG5LF7J.js.map +7 -0
  21. package/dist/chunks/{chunk.SNP6OECI.js → chunk.C5W2Y6KW.js} +8 -8
  22. package/dist/chunks/{chunk.SNP6OECI.js.map → chunk.C5W2Y6KW.js.map} +2 -2
  23. package/dist/chunks/{chunk.NZAZG5AN.js → chunk.CUHMPG7E.js} +3 -3
  24. package/dist/chunks/{chunk.7CKINLE4.js → chunk.DLDE3BC5.js} +2 -2
  25. package/dist/chunks/{chunk.RSGJ7C32.js → chunk.DPTZN6HY.js} +2 -2
  26. package/dist/chunks/{chunk.GKFUZ44I.js → chunk.ELPJP6AL.js} +2 -2
  27. package/dist/chunks/{chunk.4NG4BW3G.js → chunk.FLCUFEHS.js} +2 -2
  28. package/dist/chunks/chunk.FOTO5B4G.js +12 -0
  29. package/dist/chunks/chunk.FOTO5B4G.js.map +7 -0
  30. package/dist/chunks/{chunk.3CAAVHZZ.js → chunk.GAMJZXEL.js} +2 -2
  31. package/dist/chunks/{chunk.QT64OSWO.js → chunk.GGNKDYC2.js} +7 -7
  32. package/dist/chunks/{chunk.POZGJMTS.js → chunk.GYDJFPHM.js} +2 -2
  33. package/dist/chunks/{chunk.YL6PYHOS.js → chunk.IESSP23D.js} +7 -7
  34. package/dist/chunks/{chunk.62GAQV3Z.js → chunk.IYKQTZIY.js} +3 -3
  35. package/dist/chunks/{chunk.I2JLECCQ.js → chunk.JEOPTEUQ.js} +3 -3
  36. package/dist/chunks/{chunk.QBM7YT5M.js → chunk.JLTYAQFG.js} +2 -2
  37. package/dist/chunks/chunk.JN7CLMQZ.js +53 -0
  38. package/dist/chunks/chunk.JN7CLMQZ.js.map +7 -0
  39. package/dist/chunks/{chunk.7DUTGUSD.js → chunk.JQWJ7PHD.js} +2 -2
  40. package/dist/chunks/chunk.JXOHBU6V.js +334 -0
  41. package/dist/chunks/chunk.JXOHBU6V.js.map +7 -0
  42. package/dist/chunks/chunk.KG52EHDB.js +60 -0
  43. package/dist/chunks/chunk.KG52EHDB.js.map +7 -0
  44. package/dist/chunks/{chunk.OXUFFH57.js → chunk.KUZJTGHQ.js} +2 -2
  45. package/dist/chunks/{chunk.T27ALSOE.js → chunk.LL3V6HVM.js} +2 -2
  46. package/dist/chunks/{chunk.A4KYHNIH.js → chunk.LTCRPIZ5.js} +2 -2
  47. package/dist/chunks/{chunk.2Z2FGA3I.js → chunk.OPVDSHPD.js} +2 -2
  48. package/dist/chunks/chunk.OWMT6OL2.js +82 -0
  49. package/dist/chunks/chunk.OWMT6OL2.js.map +7 -0
  50. package/dist/chunks/{chunk.FSHPI6B5.js → chunk.PQLAXTRQ.js} +3 -3
  51. package/dist/chunks/{chunk.SHF6MEDK.js → chunk.RU7P5HHF.js} +2 -2
  52. package/dist/chunks/chunk.SS46QCYH.js +811 -0
  53. package/dist/chunks/chunk.SS46QCYH.js.map +7 -0
  54. package/dist/chunks/{chunk.ZKVZHEJM.js → chunk.TY5F2VTK.js} +2 -2
  55. package/dist/chunks/{chunk.533DZ5GZ.js → chunk.UGYBBM5O.js} +3 -3
  56. package/dist/chunks/chunk.UXUMV3TL.js +12 -0
  57. package/dist/chunks/chunk.UXUMV3TL.js.map +7 -0
  58. package/dist/chunks/chunk.W6V7TPGK.js +104 -0
  59. package/dist/chunks/chunk.W6V7TPGK.js.map +7 -0
  60. package/dist/chunks/{chunk.NQZRYJEZ.js → chunk.Y6HNLEFW.js} +2 -2
  61. package/dist/components/button/button.component.js +5 -5
  62. package/dist/components/button/button.js +6 -6
  63. package/dist/components/button-group/button-group.component.js +2 -2
  64. package/dist/components/button-group/button-group.js +3 -3
  65. package/dist/components/checkbox/checkbox.component.js +3 -3
  66. package/dist/components/checkbox/checkbox.js +4 -4
  67. package/dist/components/divider/divider.component.js +2 -2
  68. package/dist/components/divider/divider.js +3 -3
  69. package/dist/components/icon/icon.component.js +2 -2
  70. package/dist/components/icon/icon.js +3 -3
  71. package/dist/components/icon-button/icon-button.component.js +3 -3
  72. package/dist/components/icon-button/icon-button.js +4 -4
  73. package/dist/components/input/input.component.js +6 -6
  74. package/dist/components/input/input.custom.styles.js +1 -1
  75. package/dist/components/input/input.js +7 -7
  76. package/dist/components/input/input.styles.js +2 -2
  77. package/dist/components/optgroup/optgroup.component.d.ts +47 -0
  78. package/dist/components/optgroup/optgroup.component.js +16 -0
  79. package/dist/components/optgroup/optgroup.component.js.map +7 -0
  80. package/dist/components/optgroup/optgroup.d.ts +8 -0
  81. package/dist/components/optgroup/optgroup.js +17 -0
  82. package/dist/components/optgroup/optgroup.js.map +7 -0
  83. package/dist/components/optgroup/optgroup.styles.d.ts +2 -0
  84. package/dist/components/optgroup/optgroup.styles.js +8 -0
  85. package/dist/components/optgroup/optgroup.styles.js.map +7 -0
  86. package/dist/components/option/option.component.d.ts +51 -0
  87. package/dist/components/option/option.component.js +22 -0
  88. package/dist/components/option/option.component.js.map +7 -0
  89. package/dist/components/option/option.custom.styles.d.ts +2 -0
  90. package/dist/components/option/option.custom.styles.js +8 -0
  91. package/dist/components/option/option.custom.styles.js.map +7 -0
  92. package/dist/components/option/option.d.ts +8 -0
  93. package/dist/components/option/option.js +23 -0
  94. package/dist/components/option/option.js.map +7 -0
  95. package/dist/components/option/option.styles.d.ts +2 -0
  96. package/dist/components/option/option.styles.js +10 -0
  97. package/dist/components/option/option.styles.js.map +7 -0
  98. package/dist/components/popup/popup.component.d.ts +139 -0
  99. package/dist/components/popup/popup.component.js +11 -0
  100. package/dist/components/popup/popup.component.js.map +7 -0
  101. package/dist/components/popup/popup.styles.d.ts +2 -0
  102. package/dist/components/popup/popup.styles.js +9 -0
  103. package/dist/components/popup/popup.styles.js.map +7 -0
  104. package/dist/components/radio/radio.component.js +3 -3
  105. package/dist/components/radio/radio.js +4 -4
  106. package/dist/components/radio-button/radio-button.component.js +2 -2
  107. package/dist/components/radio-button/radio-button.js +3 -3
  108. package/dist/components/radio-group/radio-group.component.js +3 -3
  109. package/dist/components/radio-group/radio-group.js +4 -4
  110. package/dist/components/select/select.component.d.ts +180 -0
  111. package/dist/components/select/select.component.js +35 -0
  112. package/dist/components/select/select.component.js.map +7 -0
  113. package/dist/components/select/select.custom.styles.d.ts +2 -0
  114. package/dist/components/select/select.custom.styles.js +8 -0
  115. package/dist/components/select/select.custom.styles.js.map +7 -0
  116. package/dist/components/select/select.d.ts +8 -0
  117. package/dist/components/select/select.js +36 -0
  118. package/dist/components/select/select.js.map +7 -0
  119. package/dist/components/select/select.styles.d.ts +2 -0
  120. package/dist/components/select/select.styles.js +11 -0
  121. package/dist/components/select/select.styles.js.map +7 -0
  122. package/dist/components/spinner/spinner.component.js +2 -2
  123. package/dist/components/switch/switch.component.js +2 -2
  124. package/dist/components/switch/switch.js +3 -3
  125. package/dist/components/tag/tag.component.js +4 -4
  126. package/dist/components/tag/tag.js +5 -5
  127. package/dist/components/textarea/textarea.component.js +2 -2
  128. package/dist/components/textarea/textarea.js +3 -3
  129. package/dist/custom-elements.json +2376 -556
  130. package/dist/events/events.d.ts +5 -0
  131. package/dist/events/syn-after-hide.d.ts +6 -0
  132. package/dist/events/syn-after-show.d.ts +6 -0
  133. package/dist/events/syn-hide.d.ts +6 -0
  134. package/dist/events/syn-reposition.d.ts +6 -0
  135. package/dist/events/syn-show.d.ts +6 -0
  136. package/dist/internal/animate.d.ts +22 -0
  137. package/dist/internal/event.d.ts +2 -0
  138. package/dist/internal/offset.d.ts +11 -0
  139. package/dist/internal/scroll.d.ts +11 -0
  140. package/dist/synergy.d.ts +3 -0
  141. package/dist/synergy.js +63 -40
  142. package/dist/utilities/animation-registry.d.ts +24 -0
  143. package/dist/utilities/animation-registry.js +12 -0
  144. package/dist/utilities/animation-registry.js.map +7 -0
  145. package/dist/vscode.html-custom-data.json +304 -17
  146. package/dist/web-types.json +664 -30
  147. package/package.json +32 -31
  148. package/dist/chunks/chunk.W46CFM2R.js.map +0 -7
  149. /package/dist/chunks/{chunk.BOURWTS5.js.map → chunk.4ZO3EKCL.js.map} +0 -0
  150. /package/dist/chunks/{chunk.JFCQYLZB.js.map → chunk.5NJ7WWJW.js.map} +0 -0
  151. /package/dist/chunks/{chunk.C2S53NYE.js.map → chunk.63IJYG6Q.js.map} +0 -0
  152. /package/dist/chunks/{chunk.MMNPLBTH.js.map → chunk.7BHGTNHS.js.map} +0 -0
  153. /package/dist/chunks/{chunk.VYKSU5VJ.js.map → chunk.A4YWJJLD.js.map} +0 -0
  154. /package/dist/chunks/{chunk.43NPPDUU.js.map → chunk.AVJQ2BSM.js.map} +0 -0
  155. /package/dist/chunks/{chunk.NZAZG5AN.js.map → chunk.CUHMPG7E.js.map} +0 -0
  156. /package/dist/chunks/{chunk.7CKINLE4.js.map → chunk.DLDE3BC5.js.map} +0 -0
  157. /package/dist/chunks/{chunk.RSGJ7C32.js.map → chunk.DPTZN6HY.js.map} +0 -0
  158. /package/dist/chunks/{chunk.GKFUZ44I.js.map → chunk.ELPJP6AL.js.map} +0 -0
  159. /package/dist/chunks/{chunk.4NG4BW3G.js.map → chunk.FLCUFEHS.js.map} +0 -0
  160. /package/dist/chunks/{chunk.3CAAVHZZ.js.map → chunk.GAMJZXEL.js.map} +0 -0
  161. /package/dist/chunks/{chunk.QT64OSWO.js.map → chunk.GGNKDYC2.js.map} +0 -0
  162. /package/dist/chunks/{chunk.POZGJMTS.js.map → chunk.GYDJFPHM.js.map} +0 -0
  163. /package/dist/chunks/{chunk.YL6PYHOS.js.map → chunk.IESSP23D.js.map} +0 -0
  164. /package/dist/chunks/{chunk.62GAQV3Z.js.map → chunk.IYKQTZIY.js.map} +0 -0
  165. /package/dist/chunks/{chunk.I2JLECCQ.js.map → chunk.JEOPTEUQ.js.map} +0 -0
  166. /package/dist/chunks/{chunk.QBM7YT5M.js.map → chunk.JLTYAQFG.js.map} +0 -0
  167. /package/dist/chunks/{chunk.7DUTGUSD.js.map → chunk.JQWJ7PHD.js.map} +0 -0
  168. /package/dist/chunks/{chunk.OXUFFH57.js.map → chunk.KUZJTGHQ.js.map} +0 -0
  169. /package/dist/chunks/{chunk.T27ALSOE.js.map → chunk.LL3V6HVM.js.map} +0 -0
  170. /package/dist/chunks/{chunk.A4KYHNIH.js.map → chunk.LTCRPIZ5.js.map} +0 -0
  171. /package/dist/chunks/{chunk.2Z2FGA3I.js.map → chunk.OPVDSHPD.js.map} +0 -0
  172. /package/dist/chunks/{chunk.FSHPI6B5.js.map → chunk.PQLAXTRQ.js.map} +0 -0
  173. /package/dist/chunks/{chunk.SHF6MEDK.js.map → chunk.RU7P5HHF.js.map} +0 -0
  174. /package/dist/chunks/{chunk.ZKVZHEJM.js.map → chunk.TY5F2VTK.js.map} +0 -0
  175. /package/dist/chunks/{chunk.533DZ5GZ.js.map → chunk.UGYBBM5O.js.map} +0 -0
  176. /package/dist/chunks/{chunk.NQZRYJEZ.js.map → chunk.Y6HNLEFW.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynRadioGroup
3
- } from "./chunk.62GAQV3Z.js";
3
+ } from "./chunk.IYKQTZIY.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.7DUTGUSD.js.map
12
+ //# sourceMappingURL=chunk.JQWJ7PHD.js.map
@@ -0,0 +1,334 @@
1
+ import {
2
+ popup_styles_default
3
+ } from "./chunk.JN7CLMQZ.js";
4
+ import {
5
+ SynergyElement
6
+ } from "./chunk.C5W2Y6KW.js";
7
+ import {
8
+ __decorateClass,
9
+ __spreadProps,
10
+ __spreadValues
11
+ } from "./chunk.DJOAQ4JU.js";
12
+
13
+ // src/components/popup/popup.component.ts
14
+ import { arrow, autoUpdate, computePosition, flip, offset, platform, shift, size } from "@floating-ui/dom";
15
+ import { classMap } from "lit/directives/class-map.js";
16
+ import { html } from "lit";
17
+ import { offsetParent } from "composed-offset-position";
18
+ import { property, query } from "lit/decorators.js";
19
+ function isVirtualElement(e) {
20
+ return e !== null && typeof e === "object" && "getBoundingClientRect" in e;
21
+ }
22
+ var SynPopup = class extends SynergyElement {
23
+ constructor() {
24
+ super(...arguments);
25
+ this.active = false;
26
+ this.placement = "top";
27
+ this.strategy = "absolute";
28
+ this.distance = 0;
29
+ this.skidding = 0;
30
+ this.arrow = false;
31
+ this.arrowPlacement = "anchor";
32
+ this.arrowPadding = 10;
33
+ this.flip = false;
34
+ this.flipFallbackPlacements = "";
35
+ this.flipFallbackStrategy = "best-fit";
36
+ this.flipPadding = 0;
37
+ this.shift = false;
38
+ this.shiftPadding = 0;
39
+ this.autoSizePadding = 0;
40
+ }
41
+ async connectedCallback() {
42
+ super.connectedCallback();
43
+ await this.updateComplete;
44
+ this.start();
45
+ }
46
+ disconnectedCallback() {
47
+ super.disconnectedCallback();
48
+ this.stop();
49
+ }
50
+ async updated(changedProps) {
51
+ super.updated(changedProps);
52
+ if (changedProps.has("active")) {
53
+ if (this.active) {
54
+ this.start();
55
+ } else {
56
+ this.stop();
57
+ }
58
+ }
59
+ if (changedProps.has("anchor")) {
60
+ this.handleAnchorChange();
61
+ }
62
+ if (this.active) {
63
+ await this.updateComplete;
64
+ this.reposition();
65
+ }
66
+ }
67
+ async handleAnchorChange() {
68
+ await this.stop();
69
+ if (this.anchor && typeof this.anchor === "string") {
70
+ const root = this.getRootNode();
71
+ this.anchorEl = root.getElementById(this.anchor);
72
+ } else if (this.anchor instanceof Element || isVirtualElement(this.anchor)) {
73
+ this.anchorEl = this.anchor;
74
+ } else {
75
+ this.anchorEl = this.querySelector('[slot="anchor"]');
76
+ }
77
+ if (this.anchorEl instanceof HTMLSlotElement) {
78
+ this.anchorEl = this.anchorEl.assignedElements({ flatten: true })[0];
79
+ }
80
+ if (this.anchorEl) {
81
+ this.start();
82
+ }
83
+ }
84
+ start() {
85
+ if (!this.anchorEl) {
86
+ return;
87
+ }
88
+ this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {
89
+ this.reposition();
90
+ });
91
+ }
92
+ async stop() {
93
+ return new Promise((resolve) => {
94
+ if (this.cleanup) {
95
+ this.cleanup();
96
+ this.cleanup = void 0;
97
+ this.removeAttribute("data-current-placement");
98
+ this.style.removeProperty("--auto-size-available-width");
99
+ this.style.removeProperty("--auto-size-available-height");
100
+ requestAnimationFrame(() => resolve());
101
+ } else {
102
+ resolve();
103
+ }
104
+ });
105
+ }
106
+ /** Forces the popup to recalculate and reposition itself. */
107
+ reposition() {
108
+ if (!this.active || !this.anchorEl) {
109
+ return;
110
+ }
111
+ const middleware = [
112
+ // The offset middleware goes first
113
+ offset({ mainAxis: this.distance, crossAxis: this.skidding })
114
+ ];
115
+ if (this.sync) {
116
+ middleware.push(
117
+ size({
118
+ apply: ({ rects }) => {
119
+ const syncWidth = this.sync === "width" || this.sync === "both";
120
+ const syncHeight = this.sync === "height" || this.sync === "both";
121
+ this.popup.style.width = syncWidth ? `${rects.reference.width}px` : "";
122
+ this.popup.style.height = syncHeight ? `${rects.reference.height}px` : "";
123
+ }
124
+ })
125
+ );
126
+ } else {
127
+ this.popup.style.width = "";
128
+ this.popup.style.height = "";
129
+ }
130
+ if (this.flip) {
131
+ middleware.push(
132
+ flip({
133
+ boundary: this.flipBoundary,
134
+ // @ts-expect-error - We're converting a string attribute to an array here
135
+ fallbackPlacements: this.flipFallbackPlacements,
136
+ fallbackStrategy: this.flipFallbackStrategy === "best-fit" ? "bestFit" : "initialPlacement",
137
+ padding: this.flipPadding
138
+ })
139
+ );
140
+ }
141
+ if (this.shift) {
142
+ middleware.push(
143
+ shift({
144
+ boundary: this.shiftBoundary,
145
+ padding: this.shiftPadding
146
+ })
147
+ );
148
+ }
149
+ if (this.autoSize) {
150
+ middleware.push(
151
+ size({
152
+ boundary: this.autoSizeBoundary,
153
+ padding: this.autoSizePadding,
154
+ apply: ({ availableWidth, availableHeight }) => {
155
+ if (this.autoSize === "vertical" || this.autoSize === "both") {
156
+ this.style.setProperty("--auto-size-available-height", `${availableHeight}px`);
157
+ } else {
158
+ this.style.removeProperty("--auto-size-available-height");
159
+ }
160
+ if (this.autoSize === "horizontal" || this.autoSize === "both") {
161
+ this.style.setProperty("--auto-size-available-width", `${availableWidth}px`);
162
+ } else {
163
+ this.style.removeProperty("--auto-size-available-width");
164
+ }
165
+ }
166
+ })
167
+ );
168
+ } else {
169
+ this.style.removeProperty("--auto-size-available-width");
170
+ this.style.removeProperty("--auto-size-available-height");
171
+ }
172
+ if (this.arrow) {
173
+ middleware.push(
174
+ arrow({
175
+ element: this.arrowEl,
176
+ padding: this.arrowPadding
177
+ })
178
+ );
179
+ }
180
+ const getOffsetParent = this.strategy === "absolute" ? (element) => platform.getOffsetParent(element, offsetParent) : platform.getOffsetParent;
181
+ computePosition(this.anchorEl, this.popup, {
182
+ placement: this.placement,
183
+ middleware,
184
+ strategy: this.strategy,
185
+ platform: __spreadProps(__spreadValues({}, platform), {
186
+ getOffsetParent
187
+ })
188
+ }).then(({ x, y, middlewareData, placement }) => {
189
+ const isRtl = getComputedStyle(this).direction === "rtl";
190
+ const staticSide = { top: "bottom", right: "left", bottom: "top", left: "right" }[placement.split("-")[0]];
191
+ this.setAttribute("data-current-placement", placement);
192
+ Object.assign(this.popup.style, {
193
+ left: `${x}px`,
194
+ top: `${y}px`
195
+ });
196
+ if (this.arrow) {
197
+ const arrowX = middlewareData.arrow.x;
198
+ const arrowY = middlewareData.arrow.y;
199
+ let top = "";
200
+ let right = "";
201
+ let bottom = "";
202
+ let left = "";
203
+ if (this.arrowPlacement === "start") {
204
+ const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
205
+ top = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
206
+ right = isRtl ? value : "";
207
+ left = isRtl ? "" : value;
208
+ } else if (this.arrowPlacement === "end") {
209
+ const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
210
+ right = isRtl ? "" : value;
211
+ left = isRtl ? value : "";
212
+ bottom = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
213
+ } else if (this.arrowPlacement === "center") {
214
+ left = typeof arrowX === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
215
+ top = typeof arrowY === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
216
+ } else {
217
+ left = typeof arrowX === "number" ? `${arrowX}px` : "";
218
+ top = typeof arrowY === "number" ? `${arrowY}px` : "";
219
+ }
220
+ Object.assign(this.arrowEl.style, {
221
+ top,
222
+ right,
223
+ bottom,
224
+ left,
225
+ [staticSide]: "calc(var(--arrow-size-diagonal) * -1)"
226
+ });
227
+ }
228
+ });
229
+ this.emit("syn-reposition");
230
+ }
231
+ render() {
232
+ return html`
233
+ <slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
234
+
235
+ <div
236
+ part="popup"
237
+ class=${classMap({
238
+ popup: true,
239
+ "popup--active": this.active,
240
+ "popup--fixed": this.strategy === "fixed",
241
+ "popup--has-arrow": this.arrow
242
+ })}
243
+ >
244
+ <slot></slot>
245
+ ${this.arrow ? html`<div part="arrow" class="popup__arrow" role="presentation"></div>` : ""}
246
+ </div>
247
+ `;
248
+ }
249
+ };
250
+ SynPopup.styles = popup_styles_default;
251
+ __decorateClass([
252
+ query(".popup")
253
+ ], SynPopup.prototype, "popup", 2);
254
+ __decorateClass([
255
+ query(".popup__arrow")
256
+ ], SynPopup.prototype, "arrowEl", 2);
257
+ __decorateClass([
258
+ property()
259
+ ], SynPopup.prototype, "anchor", 2);
260
+ __decorateClass([
261
+ property({ type: Boolean, reflect: true })
262
+ ], SynPopup.prototype, "active", 2);
263
+ __decorateClass([
264
+ property({ reflect: true })
265
+ ], SynPopup.prototype, "placement", 2);
266
+ __decorateClass([
267
+ property({ reflect: true })
268
+ ], SynPopup.prototype, "strategy", 2);
269
+ __decorateClass([
270
+ property({ type: Number })
271
+ ], SynPopup.prototype, "distance", 2);
272
+ __decorateClass([
273
+ property({ type: Number })
274
+ ], SynPopup.prototype, "skidding", 2);
275
+ __decorateClass([
276
+ property({ type: Boolean })
277
+ ], SynPopup.prototype, "arrow", 2);
278
+ __decorateClass([
279
+ property({ attribute: "arrow-placement" })
280
+ ], SynPopup.prototype, "arrowPlacement", 2);
281
+ __decorateClass([
282
+ property({ attribute: "arrow-padding", type: Number })
283
+ ], SynPopup.prototype, "arrowPadding", 2);
284
+ __decorateClass([
285
+ property({ type: Boolean })
286
+ ], SynPopup.prototype, "flip", 2);
287
+ __decorateClass([
288
+ property({
289
+ attribute: "flip-fallback-placements",
290
+ converter: {
291
+ fromAttribute: (value) => {
292
+ return value.split(" ").map((p) => p.trim()).filter((p) => p !== "");
293
+ },
294
+ toAttribute: (value) => {
295
+ return value.join(" ");
296
+ }
297
+ }
298
+ })
299
+ ], SynPopup.prototype, "flipFallbackPlacements", 2);
300
+ __decorateClass([
301
+ property({ attribute: "flip-fallback-strategy" })
302
+ ], SynPopup.prototype, "flipFallbackStrategy", 2);
303
+ __decorateClass([
304
+ property({ type: Object })
305
+ ], SynPopup.prototype, "flipBoundary", 2);
306
+ __decorateClass([
307
+ property({ attribute: "flip-padding", type: Number })
308
+ ], SynPopup.prototype, "flipPadding", 2);
309
+ __decorateClass([
310
+ property({ type: Boolean })
311
+ ], SynPopup.prototype, "shift", 2);
312
+ __decorateClass([
313
+ property({ type: Object })
314
+ ], SynPopup.prototype, "shiftBoundary", 2);
315
+ __decorateClass([
316
+ property({ attribute: "shift-padding", type: Number })
317
+ ], SynPopup.prototype, "shiftPadding", 2);
318
+ __decorateClass([
319
+ property({ attribute: "auto-size" })
320
+ ], SynPopup.prototype, "autoSize", 2);
321
+ __decorateClass([
322
+ property()
323
+ ], SynPopup.prototype, "sync", 2);
324
+ __decorateClass([
325
+ property({ type: Object })
326
+ ], SynPopup.prototype, "autoSizeBoundary", 2);
327
+ __decorateClass([
328
+ property({ attribute: "auto-size-padding", type: Number })
329
+ ], SynPopup.prototype, "autoSizePadding", 2);
330
+
331
+ export {
332
+ SynPopup
333
+ };
334
+ //# sourceMappingURL=chunk.JXOHBU6V.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/popup/popup.component.ts"],
4
+ "sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\nimport { arrow, autoUpdate, computePosition, flip, offset, platform, shift, size } from '@floating-ui/dom';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { html } from 'lit';\nimport { offsetParent } from 'composed-offset-position';\nimport { property, query } from 'lit/decorators.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './popup.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\nexport interface VirtualElement {\n getBoundingClientRect: () => DOMRect;\n}\n\nfunction isVirtualElement(e: unknown): e is VirtualElement {\n return e !== null && typeof e === 'object' && 'getBoundingClientRect' in e;\n}\n\n/**\n * @summary Popup is a utility that lets you declaratively anchor \"popup\" containers to another element.\n * @documentation https://synergy.style/components/popup\n * @status stable\n * @since 2.0\n *\n * @event syn-reposition - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive\n * operations in your listener or consider debouncing it.\n *\n * @slot - The popup's content.\n * @slot anchor - The element the popup will be anchored to. If the anchor lives outside of the popup, you can use the\n * `anchor` attribute or property instead.\n *\n * @csspart arrow - The arrow's container. Avoid setting `top|bottom|left|right` properties, as these values are\n * assigned dynamically as the popup moves. This is most useful for applying a background color to match the popup, and\n * maybe a border or box shadow.\n * @csspart popup - The popup's container. Useful for setting a background color, box shadow, etc.\n *\n * @cssproperty [--arrow-size=6px] - The size of the arrow. Note that an arrow won't be shown unless the `arrow`\n * attribute is used.\n * @cssproperty [--arrow-color=var(--syn-color-neutral-0)] - The color of the arrow.\n * @cssproperty [--auto-size-available-width] - A read-only custom property that determines the amount of width the\n * popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only\n * available when using `auto-size`.\n * @cssproperty [--auto-size-available-height] - A read-only custom property that determines the amount of height the\n * popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only\n * available when using `auto-size`.\n */\nexport default class SynPopup extends SynergyElement {\n static styles: CSSResultGroup = styles;\n\n private anchorEl: Element | VirtualElement | null;\n private cleanup: ReturnType<typeof autoUpdate> | undefined;\n\n /** A reference to the internal popup container. Useful for animating and styling the popup with JavaScript. */\n @query('.popup') popup: HTMLElement;\n @query('.popup__arrow') private arrowEl: HTMLElement;\n\n /**\n * The element the popup will be anchored to. If the anchor lives outside of the popup, you can provide the anchor\n * element `id`, a DOM element reference, or a `VirtualElement`. If the anchor lives inside the popup, use the\n * `anchor` slot instead.\n */\n @property() anchor: Element | string | VirtualElement;\n\n /**\n * Activates the positioning logic and shows the popup. When this attribute is removed, the positioning logic is torn\n * down and the popup will be hidden.\n */\n @property({ type: Boolean, reflect: true }) active = false;\n\n /**\n * The preferred placement of the popup. Note that the actual placement will vary as configured to keep the\n * panel inside of the viewport.\n */\n @property({ reflect: true }) placement:\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end' = 'top';\n\n /**\n * Determines how the popup is positioned. The `absolute` strategy works well in most cases, but if overflow is\n * clipped, using a `fixed` position strategy can often workaround it.\n */\n @property({ reflect: true }) strategy: 'absolute' | 'fixed' = 'absolute';\n\n /** The distance in pixels from which to offset the panel away from its anchor. */\n @property({ type: Number }) distance = 0;\n\n /** The distance in pixels from which to offset the panel along its anchor. */\n @property({ type: Number }) skidding = 0;\n\n /**\n * Attaches an arrow to the popup. The arrow's size and color can be customized using the `--arrow-size` and\n * `--arrow-color` custom properties. For additional customizations, you can also target the arrow using\n * `::part(arrow)` in your stylesheet.\n */\n @property({ type: Boolean }) arrow = false;\n\n /**\n * The placement of the arrow. The default is `anchor`, which will align the arrow as close to the center of the\n * anchor as possible, considering available space and `arrow-padding`. A value of `start`, `end`, or `center` will\n * align the arrow to the start, end, or center of the popover instead.\n */\n @property({ attribute: 'arrow-placement' }) arrowPlacement: 'start' | 'end' | 'center' | 'anchor' = 'anchor';\n\n /**\n * The amount of padding between the arrow and the edges of the popup. If the popup has a border-radius, for example,\n * this will prevent it from overflowing the corners.\n */\n @property({ attribute: 'arrow-padding', type: Number }) arrowPadding = 10;\n\n /**\n * When set, placement of the popup will flip to the opposite site to keep it in view. You can use\n * `flipFallbackPlacements` to further configure how the fallback placement is determined.\n */\n @property({ type: Boolean }) flip = false;\n\n /**\n * If the preferred placement doesn't fit, popup will be tested in these fallback placements until one fits. Must be a\n * string of any number of placements separated by a space, e.g. \"top bottom left\". If no placement fits, the flip\n * fallback strategy will be used instead.\n * */\n @property({\n attribute: 'flip-fallback-placements',\n converter: {\n fromAttribute: (value: string) => {\n return value\n .split(' ')\n .map(p => p.trim())\n .filter(p => p !== '');\n },\n toAttribute: (value: []) => {\n return value.join(' ');\n }\n }\n })\n flipFallbackPlacements = '';\n\n /**\n * When neither the preferred placement nor the fallback placements fit, this value will be used to determine whether\n * the popup should be positioned using the best available fit based on available space or as it was initially\n * preferred.\n */\n @property({ attribute: 'flip-fallback-strategy' }) flipFallbackStrategy: 'best-fit' | 'initial' = 'best-fit';\n\n /**\n * The flip boundary describes clipping element(s) that overflow will be checked relative to when flipping. By\n * default, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\n * change the boundary by passing a reference to one or more elements to this property.\n */\n @property({ type: Object }) flipBoundary: Element | Element[];\n\n /** The amount of padding, in pixels, to exceed before the flip behavior will occur. */\n @property({ attribute: 'flip-padding', type: Number }) flipPadding = 0;\n\n /** Moves the popup along the axis to keep it in view when clipped. */\n @property({ type: Boolean }) shift = false;\n\n /**\n * The shift boundary describes clipping element(s) that overflow will be checked relative to when shifting. By\n * default, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\n * change the boundary by passing a reference to one or more elements to this property.\n */\n @property({ type: Object }) shiftBoundary: Element | Element[];\n\n /** The amount of padding, in pixels, to exceed before the shift behavior will occur. */\n @property({ attribute: 'shift-padding', type: Number }) shiftPadding = 0;\n\n /** When set, this will cause the popup to automatically resize itself to prevent it from overflowing. */\n @property({ attribute: 'auto-size' }) autoSize: 'horizontal' | 'vertical' | 'both';\n\n /** Syncs the popup's width or height to that of the anchor element. */\n @property() sync: 'width' | 'height' | 'both';\n\n /**\n * The auto-size boundary describes clipping element(s) that overflow will be checked relative to when resizing. By\n * default, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\n * change the boundary by passing a reference to one or more elements to this property.\n */\n @property({ type: Object }) autoSizeBoundary: Element | Element[];\n\n /** The amount of padding, in pixels, to exceed before the auto-size behavior will occur. */\n @property({ attribute: 'auto-size-padding', type: Number }) autoSizePadding = 0;\n\n async connectedCallback() {\n super.connectedCallback();\n\n // Start the positioner after the first update\n await this.updateComplete;\n this.start();\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.stop();\n }\n\n async updated(changedProps: Map<string, unknown>) {\n super.updated(changedProps);\n\n // Start or stop the positioner when active changes\n if (changedProps.has('active')) {\n if (this.active) {\n this.start();\n } else {\n this.stop();\n }\n }\n\n // Update the anchor when anchor changes\n if (changedProps.has('anchor')) {\n this.handleAnchorChange();\n }\n\n // All other properties will trigger a reposition when active\n if (this.active) {\n await this.updateComplete;\n this.reposition();\n }\n }\n\n private async handleAnchorChange() {\n await this.stop();\n\n if (this.anchor && typeof this.anchor === 'string') {\n // Locate the anchor by id\n const root = this.getRootNode() as Document | ShadowRoot;\n this.anchorEl = root.getElementById(this.anchor);\n } else if (this.anchor instanceof Element || isVirtualElement(this.anchor)) {\n // Use the anchor's reference\n this.anchorEl = this.anchor;\n } else {\n // Look for a slotted anchor\n this.anchorEl = this.querySelector<HTMLElement>('[slot=\"anchor\"]');\n }\n\n // If the anchor is a <slot>, we'll use the first assigned element as the target since slots use `display: contents`\n // and positioning can't be calculated on them\n if (this.anchorEl instanceof HTMLSlotElement) {\n this.anchorEl = this.anchorEl.assignedElements({ flatten: true })[0] as HTMLElement;\n }\n\n // If the anchor is valid, start it up\n if (this.anchorEl) {\n this.start();\n }\n }\n\n private start() {\n // We can't start the positioner without an anchor\n if (!this.anchorEl) {\n return;\n }\n\n this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {\n this.reposition();\n });\n }\n\n private async stop(): Promise<void> {\n return new Promise(resolve => {\n if (this.cleanup) {\n this.cleanup();\n this.cleanup = undefined;\n this.removeAttribute('data-current-placement');\n this.style.removeProperty('--auto-size-available-width');\n this.style.removeProperty('--auto-size-available-height');\n requestAnimationFrame(() => resolve());\n } else {\n resolve();\n }\n });\n }\n\n /** Forces the popup to recalculate and reposition itself. */\n reposition() {\n // Nothing to do if the popup is inactive or the anchor doesn't exist\n if (!this.active || !this.anchorEl) {\n return;\n }\n\n //\n // NOTE: Floating UI middlewares are order dependent: https://floating-ui.com/docs/middleware\n //\n const middleware = [\n // The offset middleware goes first\n offset({ mainAxis: this.distance, crossAxis: this.skidding })\n ];\n\n // First we sync width/height\n if (this.sync) {\n middleware.push(\n size({\n apply: ({ rects }) => {\n const syncWidth = this.sync === 'width' || this.sync === 'both';\n const syncHeight = this.sync === 'height' || this.sync === 'both';\n this.popup.style.width = syncWidth ? `${rects.reference.width}px` : '';\n this.popup.style.height = syncHeight ? `${rects.reference.height}px` : '';\n }\n })\n );\n } else {\n // Cleanup styles if we're not matching width/height\n this.popup.style.width = '';\n this.popup.style.height = '';\n }\n\n // Then we flip\n if (this.flip) {\n middleware.push(\n flip({\n boundary: this.flipBoundary,\n // @ts-expect-error - We're converting a string attribute to an array here\n fallbackPlacements: this.flipFallbackPlacements,\n fallbackStrategy: this.flipFallbackStrategy === 'best-fit' ? 'bestFit' : 'initialPlacement',\n padding: this.flipPadding\n })\n );\n }\n\n // Then we shift\n if (this.shift) {\n middleware.push(\n shift({\n boundary: this.shiftBoundary,\n padding: this.shiftPadding\n })\n );\n }\n\n // Now we adjust the size as needed\n if (this.autoSize) {\n middleware.push(\n size({\n boundary: this.autoSizeBoundary,\n padding: this.autoSizePadding,\n apply: ({ availableWidth, availableHeight }) => {\n if (this.autoSize === 'vertical' || this.autoSize === 'both') {\n this.style.setProperty('--auto-size-available-height', `${availableHeight}px`);\n } else {\n this.style.removeProperty('--auto-size-available-height');\n }\n\n if (this.autoSize === 'horizontal' || this.autoSize === 'both') {\n this.style.setProperty('--auto-size-available-width', `${availableWidth}px`);\n } else {\n this.style.removeProperty('--auto-size-available-width');\n }\n }\n })\n );\n } else {\n // Cleanup styles if we're no longer using auto-size\n this.style.removeProperty('--auto-size-available-width');\n this.style.removeProperty('--auto-size-available-height');\n }\n\n // Finally, we add an arrow\n if (this.arrow) {\n middleware.push(\n arrow({\n element: this.arrowEl,\n padding: this.arrowPadding\n })\n );\n }\n\n //\n // Use custom positioning logic if the strategy is absolute. Otherwise, fall back to the default logic.\n //\n // More info: https://github.com/synergy-design-system/synergy/issues/1135\n //\n const getOffsetParent =\n this.strategy === 'absolute'\n ? (element: Element) => platform.getOffsetParent(element, offsetParent)\n : platform.getOffsetParent;\n\n computePosition(this.anchorEl, this.popup, {\n placement: this.placement,\n middleware,\n strategy: this.strategy,\n platform: {\n ...platform,\n getOffsetParent\n }\n }).then(({ x, y, middlewareData, placement }) => {\n //\n // Even though we have our own localization utility, it uses different heuristics to determine RTL. Because of\n // that, we'll use the same approach that Floating UI uses.\n //\n // Source: https://github.com/floating-ui/floating-ui/blob/cb3b6ab07f95275730d3e6e46c702f8d4908b55c/packages/dom/src/utils/getDocumentRect.ts#L31\n //\n const isRtl = getComputedStyle(this).direction === 'rtl';\n const staticSide = { top: 'bottom', right: 'left', bottom: 'top', left: 'right' }[placement.split('-')[0]]!;\n\n this.setAttribute('data-current-placement', placement);\n\n Object.assign(this.popup.style, {\n left: `${x}px`,\n top: `${y}px`\n });\n\n if (this.arrow) {\n const arrowX = middlewareData.arrow!.x;\n const arrowY = middlewareData.arrow!.y;\n let top = '';\n let right = '';\n let bottom = '';\n let left = '';\n\n if (this.arrowPlacement === 'start') {\n // Start\n const value = typeof arrowX === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n top = typeof arrowY === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n right = isRtl ? value : '';\n left = isRtl ? '' : value;\n } else if (this.arrowPlacement === 'end') {\n // End\n const value = typeof arrowX === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n right = isRtl ? '' : value;\n left = isRtl ? value : '';\n bottom = typeof arrowY === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n } else if (this.arrowPlacement === 'center') {\n // Center\n left = typeof arrowX === 'number' ? `calc(50% - var(--arrow-size-diagonal))` : '';\n top = typeof arrowY === 'number' ? `calc(50% - var(--arrow-size-diagonal))` : '';\n } else {\n // Anchor (default)\n left = typeof arrowX === 'number' ? `${arrowX}px` : '';\n top = typeof arrowY === 'number' ? `${arrowY}px` : '';\n }\n\n Object.assign(this.arrowEl.style, {\n top,\n right,\n bottom,\n left,\n [staticSide]: 'calc(var(--arrow-size-diagonal) * -1)'\n });\n }\n });\n\n this.emit('syn-reposition');\n }\n\n render() {\n return html`\n <slot name=\"anchor\" @slotchange=${this.handleAnchorChange}></slot>\n\n <div\n part=\"popup\"\n class=${classMap({\n popup: true,\n 'popup--active': this.active,\n 'popup--fixed': this.strategy === 'fixed',\n 'popup--has-arrow': this.arrow\n })}\n >\n <slot></slot>\n ${this.arrow ? html`<div part=\"arrow\" class=\"popup__arrow\" role=\"presentation\"></div>` : ''}\n </div>\n `;\n }\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;AAMA,SAAS,OAAO,YAAY,iBAAiB,MAAM,QAAQ,UAAU,OAAO,YAAY;AACxF,SAAS,gBAAgB;AACzB,SAAS,YAAY;AACrB,SAAS,oBAAoB;AAC7B,SAAS,UAAU,aAAa;AAShC,SAAS,iBAAiB,GAAiC;AACzD,SAAO,MAAM,QAAQ,OAAO,MAAM,YAAY,2BAA2B;AAC3E;AA8BA,IAAqB,WAArB,cAAsC,eAAe;AAAA,EAArD;AAAA;AAqB8C,kBAAS;AAMxB,qBAYZ;AAMY,oBAAiC;AAGlC,oBAAW;AAGX,oBAAW;AAOV,iBAAQ;AAOO,0BAAwD;AAM5C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ider: block;
6
+ }
7
+
8
+ .optgroup__divider {
9
+ --spacing: var(--syn-spacing-x-small);
10
+
11
+ display: var(--display-divider);
12
+ }
13
+
14
+ .optgroup__label-container {
15
+ align-items: center;
16
+ box-sizing: border-box;
17
+ color: var(--syn-color-neutral-950);
18
+ display: flex;
19
+ gap: var(--syn-spacing-small);
20
+ }
21
+
22
+ /**
23
+ * Only show the label container when there is a label at all
24
+ */
25
+ .optgroup--has-prefix .optgroup__label-container,
26
+ .optgroup--has-label .optgroup__label-container,
27
+ .optgroup--has-suffix .optgroup__label-container {
28
+ padding-block: var(--syn-spacing-small);
29
+ padding-inline: var(--syn-spacing-medium);
30
+ }
31
+
32
+ /**
33
+ * Format main label.
34
+ * Make sure this works for props and slotted content
35
+ */
36
+ .optgroup__label-content,
37
+ .optgroup__label::slotted(*) {
38
+ flex: 1;
39
+ font-family: var(--syn-font-sans);
40
+ font-size: var(--syn-font-size-medium);
41
+ font-weight: var(--syn-font-weight-semibold);
42
+ line-height: var(--syn-line-height-normal);
43
+ }
44
+
45
+ /* Disabled Label */
46
+ .optgroup--is-disabled .optgroup__label-container {
47
+ opacity: var(--syn-input-disabled-opacity);
48
+ }
49
+
50
+ .optgroup__prefix,
51
+ .optgroup__suffix {
52
+ color: var(--syn-color-neutral-950);
53
+ font-size: var(--syn-spacing-large);
54
+ }
55
+ `;
56
+
57
+ export {
58
+ optgroup_styles_default
59
+ };
60
+ //# sourceMappingURL=chunk.KG52EHDB.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/optgroup/optgroup.styles.ts"],
4
+ "sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n :host {\n --display-divider: block;\n }\n\n .optgroup__divider {\n --spacing: var(--syn-spacing-x-small);\n\n display: var(--display-divider);\n }\n\n .optgroup__label-container {\n align-items: center;\n box-sizing: border-box;\n color: var(--syn-color-neutral-950);\n display: flex;\n gap: var(--syn-spacing-small);\n }\n\n /**\n * Only show the label container when there is a label at all\n */\n .optgroup--has-prefix .optgroup__label-container,\n .optgroup--has-label .optgroup__label-container,\n .optgroup--has-suffix .optgroup__label-container {\n padding-block: var(--syn-spacing-small);\n padding-inline: var(--syn-spacing-medium);\n }\n\n /**\n * Format main label.\n * Make sure this works for props and slotted content\n */\n .optgroup__label-content,\n .optgroup__label::slotted(*) {\n flex: 1;\n font-family: var(--syn-font-sans);\n font-size: var(--syn-font-size-medium);\n font-weight: var(--syn-font-weight-semibold);\n line-height: var(--syn-line-height-normal);\n }\n\n /* Disabled Label */\n .optgroup--is-disabled .optgroup__label-container {\n opacity: var(--syn-input-disabled-opacity);\n }\n\n .optgroup__prefix,\n .optgroup__suffix {\n color: var(--syn-color-neutral-950);\n font-size: var(--syn-spacing-large);\n }\n`;\n"],
5
+ "mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,0BAAQ;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
+ }
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.JHXCBOUD.js";
4
4
  import {
5
5
  input_custom_styles_default
6
- } from "./chunk.W46CFM2R.js";
6
+ } from "./chunk.B2EJGIGY.js";
7
7
  import {
8
8
  component_styles_default
9
9
  } from "./chunk.O7USYXBT.js";
@@ -315,4 +315,4 @@ var input_styles_default = css`
315
315
  export {
316
316
  input_styles_default
317
317
  };
318
- //# sourceMappingURL=chunk.OXUFFH57.js.map
318
+ //# sourceMappingURL=chunk.KUZJTGHQ.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk.VZ7S7YYN.js";
10
10
  import {
11
11
  SynergyElement
12
- } from "./chunk.SNP6OECI.js";
12
+ } from "./chunk.C5W2Y6KW.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.T27ALSOE.js.map
127
+ //# sourceMappingURL=chunk.LL3V6HVM.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.VZ7S7YYN.js";
7
7
  import {
8
8
  SynergyElement
9
- } from "./chunk.SNP6OECI.js";
9
+ } from "./chunk.C5W2Y6KW.js";
10
10
  import {
11
11
  __decorateClass
12
12
  } from "./chunk.DJOAQ4JU.js";
@@ -37,4 +37,4 @@ __decorateClass([
37
37
  export {
38
38
  SynDivider
39
39
  };
40
- //# sourceMappingURL=chunk.A4KYHNIH.js.map
40
+ //# sourceMappingURL=chunk.LTCRPIZ5.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynergyElement
3
- } from "./chunk.SNP6OECI.js";
3
+ } from "./chunk.C5W2Y6KW.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.2Z2FGA3I.js.map
86
+ //# sourceMappingURL=chunk.OPVDSHPD.js.map
@@ -0,0 +1,82 @@
1
+ // src/components/select/select.custom.styles.ts
2
+ import { css } from "lit";
3
+ var select_custom_styles_default = css`
4
+ /* Clear button */
5
+ .select__clear {
6
+ color: var(--syn-input-icon-icon-clearable-color);
7
+ font-size: var(--syn-spacing-large);
8
+ }
9
+
10
+ .select--medium .select__clear {
11
+ margin-inline-start: var(--syn-spacing-small);
12
+ }
13
+
14
+ /* Expand icon */
15
+ .select__expand-icon {
16
+ color: var(--syn-color-neutral-950);
17
+ font-size: var(--syn-spacing-large);
18
+ margin-inline-start: var(--syn-spacing-small);
19
+ }
20
+
21
+ /* Change select border on hover */
22
+ .select:not(.select--disabled):hover .select__combobox {
23
+ border-color: var(--syn-input-color-hover);
24
+ }
25
+
26
+ /* Prefix */
27
+
28
+ /* Small */
29
+ .select--small .select__prefix::slotted(*) {
30
+ margin-inline-end: var(--syn-spacing-x-small);
31
+ }
32
+
33
+ .select--medium .select__prefix::slotted(*) {
34
+ margin-inline-end: var(--syn-input-spacing-small);
35
+ }
36
+
37
+ .select--large .select__prefix::slotted(*) {
38
+ margin-inline-end: var(--syn-input-spacing-medium);
39
+ }
40
+
41
+ .select__prefix {
42
+ color: var(--syn-input-help-text-color);
43
+ }
44
+
45
+ /* Multi Select */
46
+ .select__tags {
47
+ margin-inline-start: var(--syn-spacing-medium);
48
+ }
49
+
50
+ .select--small .select__tags {
51
+ gap: var(--syn-spacing-2x-small);
52
+ }
53
+
54
+ .select--medium .select__tags {
55
+ gap: var(--syn-spacing-x-small);
56
+ }
57
+
58
+ .select--large .select__tags {
59
+ gap: var(--syn-spacing-small);
60
+ }
61
+
62
+ /* Listbox */
63
+ .select__listbox {
64
+ /* @todo: Should be --syn-border-radius-medium, which should be set to 0 */
65
+ border-radius: 0;
66
+ box-shadow: var(--syn-shadow-medium);
67
+ }
68
+
69
+ /**
70
+ * Make sure to hide the syn-divider for the first syn-optgroup
71
+ * Note! ::slotted does currently not work with ::part, so we
72
+ * opted for using a css variable here.
73
+ */
74
+ .select__listbox ::slotted(syn-optgroup:first-of-type) {
75
+ --display-divider: none;
76
+ }
77
+ `;
78
+
79
+ export {
80
+ select_custom_styles_default
81
+ };
82
+ //# sourceMappingURL=chunk.OWMT6OL2.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/select/select.custom.styles.ts"],
4
+ "sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n /* Clear button */\n .select__clear {\n color: var(--syn-input-icon-icon-clearable-color);\n font-size: var(--syn-spacing-large);\n }\n\n .select--medium .select__clear {\n margin-inline-start: var(--syn-spacing-small);\n }\n\n /* Expand icon */\n .select__expand-icon {\n color: var(--syn-color-neutral-950);\n font-size: var(--syn-spacing-large);\n margin-inline-start: var(--syn-spacing-small);\n }\n\n /* Change select border on hover */\n .select:not(.select--disabled):hover .select__combobox {\n border-color: var(--syn-input-color-hover);\n }\n\n /* Prefix */\n\n /* Small */\n .select--small .select__prefix::slotted(*) {\n margin-inline-end: var(--syn-spacing-x-small);\n }\n\n .select--medium .select__prefix::slotted(*) {\n margin-inline-end: var(--syn-input-spacing-small);\n }\n\n .select--large .select__prefix::slotted(*) {\n margin-inline-end: var(--syn-input-spacing-medium);\n }\n\n .select__prefix {\n color: var(--syn-input-help-text-color);\n }\n\n /* Multi Select */\n .select__tags {\n margin-inline-start: var(--syn-spacing-medium);\n }\n\n .select--small .select__tags {\n gap: var(--syn-spacing-2x-small);\n }\n\n .select--medium .select__tags {\n gap: var(--syn-spacing-x-small);\n }\n\n .select--large .select__tags {\n gap: var(--syn-spacing-small);\n }\n\n /* Listbox */\n .select__listbox {\n /* @todo: Should be --syn-border-radius-medium, which should be set to 0 */\n border-radius: 0;\n box-shadow: var(--syn-shadow-medium);\n }\n\n /**\n * Make sure to hide the syn-divider for the first syn-optgroup\n * Note! ::slotted does currently not work with ::part, so we\n * opted for using a css variable here.\n */\n .select__listbox ::slotted(syn-optgroup:first-of-type) {\n --display-divider: none;\n }\n`;\n"],
5
+ "mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,+BAAQ;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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk.2FN5DTS6.js";
4
4
  import {
5
5
  SynIcon
6
- } from "./chunk.C2S53NYE.js";
6
+ } from "./chunk.63IJYG6Q.js";
7
7
  import {
8
8
  SynergyElement
9
- } from "./chunk.SNP6OECI.js";
9
+ } from "./chunk.C5W2Y6KW.js";
10
10
  import {
11
11
  __decorateClass
12
12
  } from "./chunk.DJOAQ4JU.js";
@@ -134,4 +134,4 @@ __decorateClass([
134
134
  export {
135
135
  SynIconButton
136
136
  };
137
- //# sourceMappingURL=chunk.FSHPI6B5.js.map
137
+ //# sourceMappingURL=chunk.PQLAXTRQ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynCheckbox
3
- } from "./chunk.I2JLECCQ.js";
3
+ } from "./chunk.JEOPTEUQ.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.SHF6MEDK.js.map
12
+ //# sourceMappingURL=chunk.RU7P5HHF.js.map