@luzmo/lucero 1.0.1-alpha.21 → 1.0.1-alpha.22

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 (203) hide show
  1. package/components/accordion/index.cjs +6 -6
  2. package/components/accordion/index.js +8 -7
  3. package/components/action-bar/index.cjs +4 -4
  4. package/components/action-bar/index.js +10 -8
  5. package/components/action-button/index.cjs +3 -3
  6. package/components/action-button/index.js +5 -4
  7. package/components/action-group/index.cjs +1 -1
  8. package/components/action-group/index.js +1 -1
  9. package/components/action-group-D6rV7sfq.cjs +20 -0
  10. package/components/{action-group-C9dsPJg-.js → action-group-DS7x8jfJ.js} +10 -9
  11. package/components/action-menu/index.cjs +9 -9
  12. package/components/action-menu/index.js +9 -9
  13. package/components/{async-directive-BwIAw5tB.js → async-directive-CDQoI4mS.js} +18 -19
  14. package/components/async-directive-CddlkYlZ.cjs +22 -0
  15. package/components/avatar/index.cjs +3 -3
  16. package/components/avatar/index.js +6 -6
  17. package/components/base-5nDSSNeT.cjs +18 -0
  18. package/components/base-CdYjmV_8.js +96 -0
  19. package/components/button/index.cjs +2 -2
  20. package/components/button/index.js +7 -6
  21. package/components/{button-base-BwbaTInD.js → button-base-BGAqeDTT.js} +5 -5
  22. package/components/button-base-CShsEDFM.cjs +25 -0
  23. package/components/button-group/index.cjs +1 -1
  24. package/components/button-group/index.js +10 -8
  25. package/components/calendar/index.cjs +96 -1
  26. package/components/calendar/index.js +538 -6
  27. package/components/checkbox/index.cjs +4 -4
  28. package/components/checkbox/index.js +6 -4
  29. package/components/{checkbox-mixin-BOTvuPEu.js → checkbox-mixin-DUbGDm7f.js} +9 -9
  30. package/components/{checkbox-mixin-BVPpXtsq.cjs → checkbox-mixin-DhN8CIXY.cjs} +3 -3
  31. package/components/clear-button-BWJrTbkk.cjs +18 -0
  32. package/components/{clear-button-ahIIuwV-.js → clear-button-CMhq1QsA.js} +14 -13
  33. package/components/{close-button-DFh14y6u.js → close-button-BiJwFZyW.js} +13 -12
  34. package/components/close-button-DrMdfzPW.cjs +18 -0
  35. package/components/color-area/index.cjs +5 -5
  36. package/components/color-area/index.js +10 -9
  37. package/components/color-controller-7sNUf7SP.js +386 -0
  38. package/components/color-controller-ChN-A9Ft.cjs +18 -0
  39. package/components/color-field/index.cjs +2 -2
  40. package/components/color-field/index.js +4 -3
  41. package/components/color-handle/index.cjs +2 -2
  42. package/components/color-handle/index.js +7 -5
  43. package/components/color-loupe/index.cjs +1 -1
  44. package/components/color-loupe/index.js +1 -1
  45. package/components/color-loupe-CIEFp7ln.cjs +56 -0
  46. package/components/{color-loupe-DmQe3SpP.js → color-loupe-CLPX6xVb.js} +6 -4
  47. package/components/color-menu/index.cjs +7 -7
  48. package/components/color-menu/index.js +7 -7
  49. package/components/color-palette/index.cjs +1 -1
  50. package/components/color-palette/index.js +4 -3
  51. package/components/color-palette-group/index.cjs +3 -3
  52. package/components/color-palette-group/index.js +33 -32
  53. package/components/color-picker/index.cjs +4 -4
  54. package/components/color-picker/index.js +11 -11
  55. package/components/color-slider/index.cjs +40 -1
  56. package/components/color-slider/index.js +452 -6
  57. package/components/date-time-picker/index.cjs +16 -16
  58. package/components/date-time-picker/index.js +103 -104
  59. package/components/directive-DrvvqO47.cjs +32 -0
  60. package/components/directive-OK_Jd_xx.js +314 -0
  61. package/components/divider/index.cjs +1 -1
  62. package/components/divider/index.js +10 -8
  63. package/components/field-group/index.cjs +1 -1
  64. package/components/field-group/index.js +1 -1
  65. package/components/field-group-BYHNJmv0.cjs +23 -0
  66. package/components/{field-group-D4B0IOdA.js → field-group-CHmw159R.js} +7 -5
  67. package/components/field-label/index.cjs +1 -1
  68. package/components/field-label/index.js +1 -1
  69. package/components/{field-label-DxmPiC5p.js → field-label-Cy3xMWZ-.js} +9 -8
  70. package/components/field-label-DZoeqJJX.cjs +25 -0
  71. package/components/{focusable-C5JjRZmT.js → focusable-BjvsvVam.js} +2 -1
  72. package/components/focusable-CbVKgGfS.cjs +18 -0
  73. package/components/icon/index.cjs +1 -1
  74. package/components/icon/index.js +20 -18
  75. package/components/index.cjs +1 -1
  76. package/components/index.js +18 -18
  77. package/components/infield-button/index.cjs +2 -2
  78. package/components/infield-button/index.js +4 -3
  79. package/components/label/index.cjs +1 -1
  80. package/components/label/index.js +6 -4
  81. package/components/like-anchor-B2EqJPdw.cjs +32 -0
  82. package/components/{like-anchor-DCFJN0LV.js → like-anchor-CgqCU210.js} +23 -22
  83. package/components/{manage-help-text-DNqdEkTA.cjs → manage-help-text-Bat9yGvF.cjs} +3 -3
  84. package/components/{manage-help-text-CHfMLzSa.js → manage-help-text-C9sCHK3R.js} +8 -8
  85. package/components/menu/index.cjs +16 -16
  86. package/components/menu/index.js +15 -16
  87. package/components/multi-language-field/index.cjs +2 -2
  88. package/components/multi-language-field/index.js +8 -6
  89. package/components/number-field/index.cjs +6 -6
  90. package/components/number-field/index.js +34 -35
  91. package/components/observe-slot-text-ByPG1Lqw.cjs +18 -0
  92. package/components/{observe-slot-text-C3moTjwy.js → observe-slot-text-CugmOzNZ.js} +20 -21
  93. package/components/options/index.cjs +27 -55
  94. package/components/options/index.js +210 -800
  95. package/components/overlay/index.cjs +6 -6
  96. package/components/overlay/index.js +9 -9
  97. package/components/overlay-DpWon1Rp.js +1736 -0
  98. package/components/overlay-nUwFClQq.cjs +47 -0
  99. package/components/{pending-state-bJr-nEJl.cjs → pending-state-DQctFHI8.cjs} +2 -2
  100. package/components/{pending-state-B2wWssTo.js → pending-state-Dx1u3EXA.js} +2 -2
  101. package/components/picker/index.cjs +1 -1
  102. package/components/picker/index.js +2 -2
  103. package/components/{picker-BsQJBF9j.js → picker-Cm6_didQ.js} +19 -20
  104. package/components/picker-DxYgh4LR.cjs +123 -0
  105. package/components/picker-button/index.cjs +4 -4
  106. package/components/picker-button/index.js +6 -5
  107. package/components/{platform-BiXhwqk3.cjs → platform-BJnOJJag.cjs} +1 -1
  108. package/components/{platform-BM-uMWpX.js → platform-CqwNrovd.js} +12 -12
  109. package/components/popover/index.cjs +1 -1
  110. package/components/popover/index.js +1 -1
  111. package/components/popover-lcZnODPK.cjs +30 -0
  112. package/components/{popover-iD8f5Jkp.js → popover-ucIgjbQs.js} +8 -7
  113. package/components/progress-circle/index.cjs +1 -1
  114. package/components/progress-circle/index.js +1 -1
  115. package/components/{progress-circle-USIIU1up.js → progress-circle-D5J0ZwY0.js} +8 -7
  116. package/components/progress-circle-DgMbqrzG.cjs +33 -0
  117. package/components/radio/index.cjs +2 -2
  118. package/components/radio/index.js +10 -9
  119. package/components/search/index.cjs +6 -6
  120. package/components/search/index.js +5 -5
  121. package/components/select/index.cjs +43 -43
  122. package/components/select/index.js +33 -33
  123. package/components/{directive-C7oCP5Bh.cjs → sized-mixin-DcvJLFeo.cjs} +1 -5
  124. package/components/{sized-mixin-CJbBHWRQ.js → sized-mixin-cJbo3PKR.js} +5 -5
  125. package/components/slider/index.cjs +1 -1
  126. package/components/slider/index.js +48 -1101
  127. package/components/{streaming-listener-BQ68fKMa.js → streaming-listener-BgU36S1Z.js} +3 -3
  128. package/components/streaming-listener-CfUtuELp.cjs +18 -0
  129. package/components/swatch/index.cjs +5 -5
  130. package/components/swatch/index.js +11 -10
  131. package/components/switch/index.cjs +2 -2
  132. package/components/switch/index.js +5 -4
  133. package/components/tabs/index.cjs +31 -23
  134. package/components/tabs/index.js +497 -230
  135. package/components/tags/index.cjs +4 -4
  136. package/components/tags/index.js +13 -12
  137. package/components/text-field/index.cjs +3 -3
  138. package/components/text-field/index.js +12 -10
  139. package/components/{text-field-C2n3rzCK.js → text-field-BTEpwGFu.js} +73 -99
  140. package/components/text-field-JMrsh-zo.cjs +81 -0
  141. package/components/toast/index.cjs +11 -11
  142. package/components/toast/index.js +9 -7
  143. package/components/tooltip/index.cjs +4 -4
  144. package/components/tooltip/index.js +8 -7
  145. package/components/unit-input/index.cjs +6 -6
  146. package/components/unit-input/index.js +27 -26
  147. package/components/utils.cjs +1 -1
  148. package/components/utils.js +5 -5
  149. package/package.json +62 -1
  150. package/components/NumberFormatter-DewVDY5w.cjs +0 -18
  151. package/components/NumberFormatter-DgOUVrge.js +0 -136
  152. package/components/NumberParser-Dik4a0h-.cjs +0 -18
  153. package/components/NumberParser-ci9J5EKv.js +0 -173
  154. package/components/action-group-C54IxNZk.cjs +0 -20
  155. package/components/async-directive-DLz6JB0v.cjs +0 -22
  156. package/components/base-BjTwmyRF.cjs +0 -22
  157. package/components/base-CFWO09N1.js +0 -684
  158. package/components/base-Cy0MQrPT.cjs +0 -40
  159. package/components/base-D76d76ww.js +0 -26
  160. package/components/button-base-CC9ZL53k.cjs +0 -25
  161. package/components/class-map-CGfNk3Ee.js +0 -51
  162. package/components/class-map-D-Y-hsN5.cjs +0 -22
  163. package/components/clear-button-CHcbu9Bz.cjs +0 -18
  164. package/components/close-button-DMd52_KV.cjs +0 -18
  165. package/components/color-controller-B0uX6Zso.js +0 -3230
  166. package/components/color-controller-CoUL5f9K.cjs +0 -18
  167. package/components/color-loupe-CrM2DVY3.cjs +0 -56
  168. package/components/directive-helpers-D4KMv2dC.js +0 -62
  169. package/components/directive-helpers-t-TVum7J.cjs +0 -22
  170. package/components/directive-oAbCiebi.js +0 -44
  171. package/components/field-group-5WQMBOk4.cjs +0 -23
  172. package/components/field-label-Dz9kisdW.cjs +0 -25
  173. package/components/flow-D-0MTYCm.js +0 -527
  174. package/components/flow-DM3dNAKs.cjs +0 -30
  175. package/components/focusable-B_KwfEec.cjs +0 -18
  176. package/components/if-defined-DULpqYwi.js +0 -27
  177. package/components/if-defined-DaXWqfzc.cjs +0 -22
  178. package/components/index-CNK8wHXu.cjs +0 -57
  179. package/components/index-Cf6G4q52.js +0 -1490
  180. package/components/index-D3ICqC7S.js +0 -1174
  181. package/components/index-hqVbNKYy.cjs +0 -113
  182. package/components/like-anchor-Bu3pXbjT.cjs +0 -32
  183. package/components/luzmo-icons-CiSek5iM.js +0 -229
  184. package/components/luzmo-icons-CtA-TJPd.cjs +0 -29
  185. package/components/observe-slot-text-D2VAEFSd.cjs +0 -18
  186. package/components/overlay-B3ajDLLq.cjs +0 -47
  187. package/components/overlay-CUKs69yr.js +0 -2745
  188. package/components/picker-X96xmLAw.cjs +0 -123
  189. package/components/popover-fwJeZHMQ.cjs +0 -30
  190. package/components/progress-circle-DZxaMe8L.cjs +0 -33
  191. package/components/query-BL-TJj7K.cjs +0 -22
  192. package/components/query-D_KR_GUc.js +0 -51
  193. package/components/query-assigned-elements-DjfhL1cl.js +0 -36
  194. package/components/query-assigned-elements-DsKsfk7G.cjs +0 -22
  195. package/components/query-assigned-nodes-BcKWmGzy.cjs +0 -22
  196. package/components/query-assigned-nodes-C76XVPWY.js +0 -36
  197. package/components/sized-mixin-WPHH0a_D.cjs +0 -18
  198. package/components/state-DwIwYPvt.js +0 -29
  199. package/components/state-vf0PJN3_.cjs +0 -22
  200. package/components/streaming-listener-DeGQYM-9.cjs +0 -18
  201. package/components/style-map-Bnhf_mVZ.js +0 -53
  202. package/components/style-map-DuMd5xlY.cjs +0 -22
  203. package/components/text-field-BkFPYo7S.cjs +0 -85
@@ -15,43 +15,344 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- import { a as g, r as b, E as S, x as v, n as l, i as A } from "../base-CFWO09N1.js";
19
- import { F as _ } from "../focus-visible-BvScGDCE.js";
20
- import { O as P } from "../observe-slot-presence-CmVi0zTc.js";
21
- import { O as q } from "../observe-slot-text-C3moTjwy.js";
22
- import { r as C } from "../random-id-ByCz1xaq.js";
23
- import { e as x } from "../query-D_KR_GUc.js";
24
- import { e as p } from "../class-map-CGfNk3Ee.js";
25
- import { o as k } from "../if-defined-DULpqYwi.js";
26
- import { S as T } from "../sized-mixin-CJbBHWRQ.js";
27
- import { F as U } from "../focusable-C5JjRZmT.js";
28
- import { R as B } from "../roving-tabindex-DOg4z6ZU.js";
29
- import { k as F, S as O } from "../luzmo-icons-CiSek5iM.js";
30
- import { r as R } from "../state-DwIwYPvt.js";
31
- import { o as D } from "../query-assigned-elements-DjfhL1cl.js";
18
+ import { unsafeCSS as v, nothing as L, html as x, css as H } from "lit";
19
+ import { a as C } from "../base-CdYjmV_8.js";
20
+ import { F as X } from "../focus-visible-BvScGDCE.js";
21
+ import { O as Y } from "../observe-slot-presence-CmVi0zTc.js";
22
+ import { O as K } from "../observe-slot-text-CugmOzNZ.js";
23
+ import { r as q } from "../random-id-ByCz1xaq.js";
24
+ import { ResizeController as B } from "@lit-labs/observers/resize-controller.js";
25
+ import { property as l, query as _, state as V, queryAssignedElements as G } from "lit/decorators.js";
26
+ import { classMap as S } from "lit/directives/class-map.js";
27
+ import { ifDefined as U } from "lit/directives/if-defined.js";
28
+ import { S as D } from "../sized-mixin-cJbo3PKR.js";
29
+ import { F as J } from "../focusable-BjvsvVam.js";
30
+ import { R as Q } from "../roving-tabindex-DOg4z6ZU.js";
31
+ import { luzmoAngleLeft as Z, luzmoAngleRight as tt } from "@luzmo/icons";
32
32
  import "../action-button/index.js";
33
33
  import "../icon/index.js";
34
- const E = () => {
34
+ const W = () => {
35
35
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
36
- const r = document.createElement("style");
37
- r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-disabled-color);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
36
+ const s = document.createElement("style");
37
+ s.setAttribute("data-luzmo-vars", ""), s.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-disabled-color);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(s);
38
38
  }
39
39
  };
40
- E();
41
- const W = ':host{font-family:var(--luzmo-tab-font-family, var(--luzmo-font-family));box-sizing:border-box;block-size:calc(var(--luzmo-tabs-item-height, var(--tabs-item-height)) - var(--luzmo-tabs-divider-size, var(--tabs-divider-size)));z-index:1;white-space:nowrap;color:var(--highcontrast-tabs-color, var(--luzmo-tabs-color, var(--tabs-color)));transition:color var(--luzmo-tabs-animation-duration, var(--tabs-animation-duration)) ease-out;cursor:pointer;outline:none;-webkit-text-decoration:none;text-decoration:none;position:relative}::slotted([slot=icon]){block-size:var(--luzmo-tabs-icon-size, var(--tabs-icon-size));inline-size:var(--luzmo-tabs-icon-size, var(--tabs-icon-size));margin-block-start:var(--luzmo-tabs-top-to-icon, var(--tabs-top-to-icon))}[name=icon]+#item-label{margin-inline-start:var(--luzmo-tabs-icon-to-text, var(--tabs-icon-to-text))}:host:before{content:"";box-sizing:border-box;block-size:calc(100% - var(--luzmo-tabs-top-to-text, var(--tabs-top-to-text)));inline-size:calc(100% + var(--luzmo-tabs-focus-indicator-gap, var(--tabs-focus-indicator-gap)) * 2);border:var(--luzmo-tabs-focus-indicator-width, var(--tabs-focus-indicator-width)) solid transparent;border-radius:var(--luzmo-tabs-focus-indicator-border-radius, var(--tabs-focus-indicator-border-radius));pointer-events:none;position:absolute;inset-block-start:calc(var(--luzmo-tabs-top-to-text, var(--tabs-top-to-text)) / 2);inset-inline-start:calc(var(--luzmo-tabs-focus-indicator-gap, var(--tabs-focus-indicator-gap)) * -1);inset-inline-end:calc(var(--luzmo-tabs-focus-indicator-gap, var(--tabs-focus-indicator-gap)) * -1)}@media (hover: hover){:host(:hover){color:var(--highcontrast-tabs-color-hover, var(--luzmo-tabs-color-hover, var(--tabs-color-hover)))}}:host([selected]){color:var(--highcontrast-tabs-color-selected, var(--luzmo-tabs-color-selected, var(--tabs-color-selected)))}:host([disabled]){cursor:default;color:var(--highcontrast-tabs-color-disabled, var(--luzmo-tabs-color-disabled, var(--tabs-color-disabled)))}:host([disabled]) #item-label{cursor:default}:host(:focus-visible){color:var(--highcontrast-tabs-color-key-focus, var(--luzmo-tabs-color-key-focus, var(--tabs-color-key-focus)))}:host(:focus-visible):before{border-color:var(--highcontrast-tabs-focus-indicator-color, var(--luzmo-tabs-focus-indicator-color, var(--tabs-focus-indicator-color)))}#item-label{cursor:pointer;vertical-align:top;font-family:var(--luzmo-tabs-font-family, var(--tabs-font-family));font-style:var(--luzmo-tabs-font-style, var(--tabs-font-style));font-size:var(--luzmo-tabs-font-size, var(--tabs-font-size));font-weight:var(--luzmo-tabs-font-weight, var(--tabs-font-weight));line-height:var(--luzmo-tabs-line-height, var(--tabs-line-height));margin-block-start:var(--luzmo-tabs-top-to-text, var(--tabs-top-to-text));margin-block-end:var(--luzmo-tabs-bottom-to-text, var(--tabs-bottom-to-text));-webkit-text-decoration:none;text-decoration:none;display:inline-block}#item-label:empty{display:none}:host{scroll-margin-inline:var(--luzmo-tabs-item-horizontal-spacing, var(--tabs-item-horizontal-spacing))}:host([disabled]){pointer-events:none}#item-label[hidden]{display:none}@media (forced-colors: active){:host:before{background-color:ButtonFace}:host ::slotted([slot=icon]){z-index:1;position:relative;color:inherit}#item-label{position:relative;z-index:1}:host([selected]){color:HighlightText}:host([selected]) ::slotted([slot=icon]){color:HighlightText}:host([selected]) #item-label{color:HighlightText}}:host([vertical]){display:flex;flex-direction:column;justify-content:center;align-items:center;height:auto}:host([dir][vertical]) slot[name=icon]+#item-label{margin-inline-start:0;margin-block:calc(var(--luzmo-tabs-top-to-text, var(--tabs-top-to-text)) / 2) calc(var(--luzmo-tabs-bottom-to-text, var(--tabs-bottom-to-text)) / 2)}:host([vertical]) ::slotted([slot=icon]){margin-block-start:calc(var(--luzmo-tabs-top-to-icon, var(--tabs-top-to-icon)) / 2)}';
42
- var H = Object.defineProperty, z = (r, t, o, i) => {
43
- for (var e = void 0, a = r.length - 1, s; a >= 0; a--)
44
- (s = r[a]) && (e = s(t, o, e) || e);
45
- return e && H(t, o, e), e;
40
+ W();
41
+ /**
42
+ * @license
43
+ * Copyright 2019 Google LLC
44
+ * SPDX-License-Identifier: BSD-3-Clause
45
+ */
46
+ const k = globalThis, P = k.ShadowRoot && (k.ShadyCSS === void 0 || k.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, j = Symbol(), I = /* @__PURE__ */ new WeakMap();
47
+ let ot = class {
48
+ constructor(t, o, e) {
49
+ if (this._$cssResult$ = !0, e !== j) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
50
+ this.cssText = t, this.t = o;
51
+ }
52
+ get styleSheet() {
53
+ let t = this.o;
54
+ const o = this.t;
55
+ if (P && t === void 0) {
56
+ const e = o !== void 0 && o.length === 1;
57
+ e && (t = I.get(o)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && I.set(o, t));
58
+ }
59
+ return t;
60
+ }
61
+ toString() {
62
+ return this.cssText;
63
+ }
64
+ };
65
+ const et = (s) => new ot(typeof s == "string" ? s : s + "", void 0, j), it = (s, t) => {
66
+ if (P) s.adoptedStyleSheets = t.map((o) => o instanceof CSSStyleSheet ? o : o.styleSheet);
67
+ else for (const o of t) {
68
+ const e = document.createElement("style"), i = k.litNonce;
69
+ i !== void 0 && e.setAttribute("nonce", i), e.textContent = o.cssText, s.appendChild(e);
70
+ }
71
+ }, O = P ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
72
+ let o = "";
73
+ for (const e of t.cssRules) o += e.cssText;
74
+ return et(o);
75
+ })(s) : s;
76
+ /**
77
+ * @license
78
+ * Copyright 2017 Google LLC
79
+ * SPDX-License-Identifier: BSD-3-Clause
80
+ */
81
+ const { is: st, defineProperty: at, getOwnPropertyDescriptor: rt, getOwnPropertyNames: lt, getOwnPropertySymbols: nt, getPrototypeOf: ct } = Object, u = globalThis, R = u.trustedTypes, dt = R ? R.emptyScript : "", E = u.reactiveElementPolyfillSupport, y = (s, t) => s, $ = { toAttribute(s, t) {
82
+ switch (t) {
83
+ case Boolean:
84
+ s = s ? dt : null;
85
+ break;
86
+ case Object:
87
+ case Array:
88
+ s = s == null ? s : JSON.stringify(s);
89
+ }
90
+ return s;
91
+ }, fromAttribute(s, t) {
92
+ let o = s;
93
+ switch (t) {
94
+ case Boolean:
95
+ o = s !== null;
96
+ break;
97
+ case Number:
98
+ o = s === null ? null : Number(s);
99
+ break;
100
+ case Object:
101
+ case Array:
102
+ try {
103
+ o = JSON.parse(s);
104
+ } catch {
105
+ o = null;
106
+ }
107
+ }
108
+ return o;
109
+ } }, A = (s, t) => !st(s, t), M = { attribute: !0, type: String, converter: $, reflect: !1, hasChanged: A };
110
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), u.litPropertyMetadata ?? (u.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
111
+ class z extends HTMLElement {
112
+ static addInitializer(t) {
113
+ this._$Ei(), (this.l ?? (this.l = [])).push(t);
114
+ }
115
+ static get observedAttributes() {
116
+ return this.finalize(), this._$Eh && [...this._$Eh.keys()];
117
+ }
118
+ static createProperty(t, o = M) {
119
+ if (o.state && (o.attribute = !1), this._$Ei(), this.elementProperties.set(t, o), !o.noAccessor) {
120
+ const e = Symbol(), i = this.getPropertyDescriptor(t, e, o);
121
+ i !== void 0 && at(this.prototype, t, i);
122
+ }
123
+ }
124
+ static getPropertyDescriptor(t, o, e) {
125
+ const { get: i, set: a } = rt(this.prototype, t) ?? { get() {
126
+ return this[o];
127
+ }, set(r) {
128
+ this[o] = r;
129
+ } };
130
+ return { get() {
131
+ return i == null ? void 0 : i.call(this);
132
+ }, set(r) {
133
+ const n = i == null ? void 0 : i.call(this);
134
+ a.call(this, r), this.requestUpdate(t, n, e);
135
+ }, configurable: !0, enumerable: !0 };
136
+ }
137
+ static getPropertyOptions(t) {
138
+ return this.elementProperties.get(t) ?? M;
139
+ }
140
+ static _$Ei() {
141
+ if (this.hasOwnProperty(y("elementProperties"))) return;
142
+ const t = ct(this);
143
+ t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
144
+ }
145
+ static finalize() {
146
+ if (this.hasOwnProperty(y("finalized"))) return;
147
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(y("properties"))) {
148
+ const o = this.properties, e = [...lt(o), ...nt(o)];
149
+ for (const i of e) this.createProperty(i, o[i]);
150
+ }
151
+ const t = this[Symbol.metadata];
152
+ if (t !== null) {
153
+ const o = litPropertyMetadata.get(t);
154
+ if (o !== void 0) for (const [e, i] of o) this.elementProperties.set(e, i);
155
+ }
156
+ this._$Eh = /* @__PURE__ */ new Map();
157
+ for (const [o, e] of this.elementProperties) {
158
+ const i = this._$Eu(o, e);
159
+ i !== void 0 && this._$Eh.set(i, o);
160
+ }
161
+ this.elementStyles = this.finalizeStyles(this.styles);
162
+ }
163
+ static finalizeStyles(t) {
164
+ const o = [];
165
+ if (Array.isArray(t)) {
166
+ const e = new Set(t.flat(1 / 0).reverse());
167
+ for (const i of e) o.unshift(O(i));
168
+ } else t !== void 0 && o.push(O(t));
169
+ return o;
170
+ }
171
+ static _$Eu(t, o) {
172
+ const e = o.attribute;
173
+ return e === !1 ? void 0 : typeof e == "string" ? e : typeof t == "string" ? t.toLowerCase() : void 0;
174
+ }
175
+ constructor() {
176
+ super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
177
+ }
178
+ _$Ev() {
179
+ var t;
180
+ this._$ES = new Promise((o) => this.enableUpdating = o), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach((o) => o(this));
181
+ }
182
+ addController(t) {
183
+ var o;
184
+ (this._$EO ?? (this._$EO = /* @__PURE__ */ new Set())).add(t), this.renderRoot !== void 0 && this.isConnected && ((o = t.hostConnected) == null || o.call(t));
185
+ }
186
+ removeController(t) {
187
+ var o;
188
+ (o = this._$EO) == null || o.delete(t);
189
+ }
190
+ _$E_() {
191
+ const t = /* @__PURE__ */ new Map(), o = this.constructor.elementProperties;
192
+ for (const e of o.keys()) this.hasOwnProperty(e) && (t.set(e, this[e]), delete this[e]);
193
+ t.size > 0 && (this._$Ep = t);
194
+ }
195
+ createRenderRoot() {
196
+ const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
197
+ return it(t, this.constructor.elementStyles), t;
198
+ }
199
+ connectedCallback() {
200
+ var t;
201
+ this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((o) => {
202
+ var e;
203
+ return (e = o.hostConnected) == null ? void 0 : e.call(o);
204
+ });
205
+ }
206
+ enableUpdating(t) {
207
+ }
208
+ disconnectedCallback() {
209
+ var t;
210
+ (t = this._$EO) == null || t.forEach((o) => {
211
+ var e;
212
+ return (e = o.hostDisconnected) == null ? void 0 : e.call(o);
213
+ });
214
+ }
215
+ attributeChangedCallback(t, o, e) {
216
+ this._$AK(t, e);
217
+ }
218
+ _$EC(t, o) {
219
+ var a;
220
+ const e = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, e);
221
+ if (i !== void 0 && e.reflect === !0) {
222
+ const r = (((a = e.converter) == null ? void 0 : a.toAttribute) !== void 0 ? e.converter : $).toAttribute(o, e.type);
223
+ this._$Em = t, r == null ? this.removeAttribute(i) : this.setAttribute(i, r), this._$Em = null;
224
+ }
225
+ }
226
+ _$AK(t, o) {
227
+ var a;
228
+ const e = this.constructor, i = e._$Eh.get(t);
229
+ if (i !== void 0 && this._$Em !== i) {
230
+ const r = e.getPropertyOptions(i), n = typeof r.converter == "function" ? { fromAttribute: r.converter } : ((a = r.converter) == null ? void 0 : a.fromAttribute) !== void 0 ? r.converter : $;
231
+ this._$Em = i, this[i] = n.fromAttribute(o, r.type), this._$Em = null;
232
+ }
233
+ }
234
+ requestUpdate(t, o, e) {
235
+ if (t !== void 0) {
236
+ if (e ?? (e = this.constructor.getPropertyOptions(t)), !(e.hasChanged ?? A)(this[t], o)) return;
237
+ this.P(t, o, e);
238
+ }
239
+ this.isUpdatePending === !1 && (this._$ES = this._$ET());
240
+ }
241
+ P(t, o, e) {
242
+ this._$AL.has(t) || this._$AL.set(t, o), e.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
243
+ }
244
+ async _$ET() {
245
+ this.isUpdatePending = !0;
246
+ try {
247
+ await this._$ES;
248
+ } catch (o) {
249
+ Promise.reject(o);
250
+ }
251
+ const t = this.scheduleUpdate();
252
+ return t != null && await t, !this.isUpdatePending;
253
+ }
254
+ scheduleUpdate() {
255
+ return this.performUpdate();
256
+ }
257
+ performUpdate() {
258
+ var e;
259
+ if (!this.isUpdatePending) return;
260
+ if (!this.hasUpdated) {
261
+ if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
262
+ for (const [a, r] of this._$Ep) this[a] = r;
263
+ this._$Ep = void 0;
264
+ }
265
+ const i = this.constructor.elementProperties;
266
+ if (i.size > 0) for (const [a, r] of i) r.wrapped !== !0 || this._$AL.has(a) || this[a] === void 0 || this.P(a, this[a], r);
267
+ }
268
+ let t = !1;
269
+ const o = this._$AL;
270
+ try {
271
+ t = this.shouldUpdate(o), t ? (this.willUpdate(o), (e = this._$EO) == null || e.forEach((i) => {
272
+ var a;
273
+ return (a = i.hostUpdate) == null ? void 0 : a.call(i);
274
+ }), this.update(o)) : this._$EU();
275
+ } catch (i) {
276
+ throw t = !1, this._$EU(), i;
277
+ }
278
+ t && this._$AE(o);
279
+ }
280
+ willUpdate(t) {
281
+ }
282
+ _$AE(t) {
283
+ var o;
284
+ (o = this._$EO) == null || o.forEach((e) => {
285
+ var i;
286
+ return (i = e.hostUpdated) == null ? void 0 : i.call(e);
287
+ }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
288
+ }
289
+ _$EU() {
290
+ this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
291
+ }
292
+ get updateComplete() {
293
+ return this.getUpdateComplete();
294
+ }
295
+ getUpdateComplete() {
296
+ return this._$ES;
297
+ }
298
+ shouldUpdate(t) {
299
+ return !0;
300
+ }
301
+ update(t) {
302
+ this._$Ej && (this._$Ej = this._$Ej.forEach((o) => this._$EC(o, this[o]))), this._$EU();
303
+ }
304
+ updated(t) {
305
+ }
306
+ firstUpdated(t) {
307
+ }
308
+ }
309
+ z.elementStyles = [], z.shadowRootOptions = { mode: "open" }, z[y("elementProperties")] = /* @__PURE__ */ new Map(), z[y("finalized")] = /* @__PURE__ */ new Map(), E == null || E({ ReactiveElement: z }), (u.reactiveElementVersions ?? (u.reactiveElementVersions = [])).push("2.0.4");
310
+ /**
311
+ * @license
312
+ * Copyright 2017 Google LLC
313
+ * SPDX-License-Identifier: BSD-3-Clause
314
+ */
315
+ const ut = { attribute: !0, type: String, converter: $, reflect: !1, hasChanged: A }, ht = (s = ut, t, o) => {
316
+ const { kind: e, metadata: i } = o;
317
+ let a = globalThis.litPropertyMetadata.get(i);
318
+ if (a === void 0 && globalThis.litPropertyMetadata.set(i, a = /* @__PURE__ */ new Map()), a.set(o.name, s), e === "accessor") {
319
+ const { name: r } = o;
320
+ return { set(n) {
321
+ const p = t.get.call(this);
322
+ t.set.call(this, n), this.requestUpdate(r, p, s);
323
+ }, init(n) {
324
+ return n !== void 0 && this.P(r, void 0, s), n;
325
+ } };
326
+ }
327
+ if (e === "setter") {
328
+ const { name: r } = o;
329
+ return function(n) {
330
+ const p = this[r];
331
+ t.call(this, n), this.requestUpdate(r, p, s);
332
+ };
333
+ }
334
+ throw Error("Unsupported decorator location: " + e);
46
335
  };
47
- class h extends _(
48
- q(P(g, '[slot="icon"]'), "")
336
+ function b(s) {
337
+ return (t, o) => typeof o == "object" ? ht(s, t, o) : ((e, i, a) => {
338
+ const r = i.hasOwnProperty(a);
339
+ return i.constructor.createProperty(a, r ? { ...e, wrapped: !0 } : e), r ? Object.getOwnPropertyDescriptor(i, a) : void 0;
340
+ })(s, t, o);
341
+ }
342
+ const bt = ':host{font-family:var(--luzmo-tab-font-family, var(--luzmo-font-family));box-sizing:border-box;block-size:calc(var(--luzmo-tabs-item-height, var(--tabs-item-height)) - var(--luzmo-tabs-divider-size, var(--tabs-divider-size)));z-index:1;white-space:nowrap;color:var(--highcontrast-tabs-color, var(--luzmo-tabs-color, var(--tabs-color)));transition:color var(--luzmo-tabs-animation-duration, var(--tabs-animation-duration)) ease-out;cursor:pointer;outline:none;-webkit-text-decoration:none;text-decoration:none;position:relative}::slotted([slot=icon]){block-size:var(--luzmo-tabs-icon-size, var(--tabs-icon-size));inline-size:var(--luzmo-tabs-icon-size, var(--tabs-icon-size));margin-block-start:var(--luzmo-tabs-top-to-icon, var(--tabs-top-to-icon))}[name=icon]+#item-label{margin-inline-start:var(--luzmo-tabs-icon-to-text, var(--tabs-icon-to-text))}:host:before{content:"";box-sizing:border-box;block-size:calc(100% - var(--luzmo-tabs-top-to-text, var(--tabs-top-to-text)));inline-size:calc(100% + var(--luzmo-tabs-focus-indicator-gap, var(--tabs-focus-indicator-gap)) * 2);border:var(--luzmo-tabs-focus-indicator-width, var(--tabs-focus-indicator-width)) solid transparent;border-radius:var(--luzmo-tabs-focus-indicator-border-radius, var(--tabs-focus-indicator-border-radius));pointer-events:none;position:absolute;inset-block-start:calc(var(--luzmo-tabs-top-to-text, var(--tabs-top-to-text)) / 2);inset-inline-start:calc(var(--luzmo-tabs-focus-indicator-gap, var(--tabs-focus-indicator-gap)) * -1);inset-inline-end:calc(var(--luzmo-tabs-focus-indicator-gap, var(--tabs-focus-indicator-gap)) * -1)}@media (hover: hover){:host(:hover){color:var(--highcontrast-tabs-color-hover, var(--luzmo-tabs-color-hover, var(--tabs-color-hover)))}}:host([selected]){color:var(--highcontrast-tabs-color-selected, var(--luzmo-tabs-color-selected, var(--tabs-color-selected)))}:host([disabled]){cursor:default;color:var(--highcontrast-tabs-color-disabled, var(--luzmo-tabs-color-disabled, var(--tabs-color-disabled)))}:host([disabled]) #item-label{cursor:default}:host(:focus-visible){color:var(--highcontrast-tabs-color-key-focus, var(--luzmo-tabs-color-key-focus, var(--tabs-color-key-focus)))}:host(:focus-visible):before{border-color:var(--highcontrast-tabs-focus-indicator-color, var(--luzmo-tabs-focus-indicator-color, var(--tabs-focus-indicator-color)))}#item-label{cursor:pointer;vertical-align:top;font-family:var(--luzmo-tabs-font-family, var(--tabs-font-family));font-style:var(--luzmo-tabs-font-style, var(--tabs-font-style));font-size:var(--luzmo-tabs-font-size, var(--tabs-font-size));font-weight:var(--luzmo-tabs-font-weight, var(--tabs-font-weight));line-height:var(--luzmo-tabs-line-height, var(--tabs-line-height));margin-block-start:var(--luzmo-tabs-top-to-text, var(--tabs-top-to-text));margin-block-end:var(--luzmo-tabs-bottom-to-text, var(--tabs-bottom-to-text));-webkit-text-decoration:none;text-decoration:none;display:inline-block}#item-label:empty{display:none}:host{scroll-margin-inline:var(--luzmo-tabs-item-horizontal-spacing, var(--tabs-item-horizontal-spacing))}:host([disabled]){pointer-events:none}#item-label[hidden]{display:none}@media (forced-colors: active){:host:before{background-color:ButtonFace}:host ::slotted([slot=icon]){z-index:1;position:relative;color:inherit}#item-label{position:relative;z-index:1}:host([selected]){color:HighlightText}:host([selected]) ::slotted([slot=icon]){color:HighlightText}:host([selected]) #item-label{color:HighlightText}}:host([vertical]){display:flex;flex-direction:column;justify-content:center;align-items:center;height:auto}:host([dir][vertical]) slot[name=icon]+#item-label{margin-inline-start:0;margin-block:calc(var(--luzmo-tabs-top-to-text, var(--tabs-top-to-text)) / 2) calc(var(--luzmo-tabs-bottom-to-text, var(--tabs-bottom-to-text)) / 2)}:host([vertical]) ::slotted([slot=icon]){margin-block-start:calc(var(--luzmo-tabs-top-to-icon, var(--tabs-top-to-icon)) / 2)}';
343
+ var mt = Object.defineProperty, w = (s, t, o, e) => {
344
+ for (var i = void 0, a = s.length - 1, r; a >= 0; a--)
345
+ (r = s[a]) && (i = r(t, o, i) || i);
346
+ return i && mt(t, o, i), i;
347
+ };
348
+ class f extends X(
349
+ K(Y(C, '[slot="icon"]'), "")
49
350
  ) {
50
351
  constructor() {
51
352
  super(...arguments), this.disabled = !1, this.label = "", this.selected = !1, this.vertical = !1, this.value = "";
52
353
  }
53
354
  static get styles() {
54
- return [b(W)];
355
+ return [v(bt)];
55
356
  }
56
357
  get hasIcon() {
57
358
  return this.slotContentIsPresent;
@@ -60,48 +361,48 @@ class h extends _(
60
361
  return !!this.label || this.slotHasContent;
61
362
  }
62
363
  render() {
63
- return v`
64
- ${this.hasIcon ? v` <slot name="icon"></slot> ` : S}
364
+ return x`
365
+ ${this.hasIcon ? x` <slot name="icon"></slot> ` : L}
65
366
  <label id="item-label" ?hidden=${!this.hasLabel}>
66
- ${this.slotHasContent ? S : this.label}
367
+ ${this.slotHasContent ? L : this.label}
67
368
  <slot>${this.label}</slot>
68
369
  </label>
69
370
  `;
70
371
  }
71
372
  firstUpdated(t) {
72
- super.firstUpdated(t), this.setAttribute("role", "tab"), this.hasAttribute("id") || (this.id = `luzmo-tab-${C()}`);
373
+ super.firstUpdated(t), this.setAttribute("role", "tab"), this.hasAttribute("id") || (this.id = `luzmo-tab-${q()}`);
73
374
  }
74
375
  updated(t) {
75
376
  super.updated(t), t.has("selected") && (this.setAttribute("aria-selected", this.selected ? "true" : "false"), this.setAttribute("tabindex", this.selected ? "0" : "-1")), t.has("disabled") && (this.disabled ? this.setAttribute("aria-disabled", "true") : this.removeAttribute("aria-disabled"));
76
377
  }
77
378
  }
78
- z([
79
- l({ type: Boolean, reflect: !0 })
80
- ], h.prototype, "disabled");
81
- z([
82
- l({ reflect: !0 })
83
- ], h.prototype, "label");
84
- z([
85
- l({ type: Boolean, reflect: !0 })
86
- ], h.prototype, "selected");
87
- z([
88
- l({ type: Boolean, reflect: !0 })
89
- ], h.prototype, "vertical");
90
- z([
91
- l({ type: String, reflect: !0 })
92
- ], h.prototype, "value");
93
- const M = ":host{display:inline-flex;font-family:var(--luzmo-tab-panel-font-family, var(--luzmo-font-family))}:host(:not([selected])){display:none}:host(:focus-visible){outline:var(--luzmo-tab-panel-indicator-color, var(--luzmo-indicator-color)) solid var(--luzmo-tab-panel-indicator-width, var(--luzmo-indicator-width))}";
94
- var j = Object.defineProperty, L = (r, t, o, i) => {
95
- for (var e = void 0, a = r.length - 1, s; a >= 0; a--)
96
- (s = r[a]) && (e = s(t, o, e) || e);
97
- return e && j(t, o, e), e;
379
+ w([
380
+ b({ type: Boolean, reflect: !0 })
381
+ ], f.prototype, "disabled");
382
+ w([
383
+ b({ reflect: !0 })
384
+ ], f.prototype, "label");
385
+ w([
386
+ b({ type: Boolean, reflect: !0 })
387
+ ], f.prototype, "selected");
388
+ w([
389
+ b({ type: Boolean, reflect: !0 })
390
+ ], f.prototype, "vertical");
391
+ w([
392
+ b({ type: String, reflect: !0 })
393
+ ], f.prototype, "value");
394
+ const pt = ":host{display:inline-flex;font-family:var(--luzmo-tab-panel-font-family, var(--luzmo-font-family))}:host(:not([selected])){display:none}:host(:focus-visible){outline:var(--luzmo-tab-panel-indicator-color, var(--luzmo-indicator-color)) solid var(--luzmo-tab-panel-indicator-width, var(--luzmo-indicator-width))}";
395
+ var vt = Object.defineProperty, F = (s, t, o, e) => {
396
+ for (var i = void 0, a = s.length - 1, r; a >= 0; a--)
397
+ (r = s[a]) && (i = r(t, o, i) || i);
398
+ return i && vt(t, o, i), i;
98
399
  };
99
- class w extends g {
400
+ class T extends C {
100
401
  constructor() {
101
402
  super(...arguments), this.selected = !1, this.value = "";
102
403
  }
103
404
  static get styles() {
104
- return [b(M)];
405
+ return [v(pt)];
105
406
  }
106
407
  handleFocusin() {
107
408
  this.removeAttribute("tabindex");
@@ -110,7 +411,7 @@ class w extends g {
110
411
  this.tabIndex = this.selected ? 0 : -1;
111
412
  }
112
413
  render() {
113
- return v`
414
+ return x`
114
415
  <slot
115
416
  @focusin=${this.handleFocusin}
116
417
  @focusout=${this.handleFocusout}
@@ -118,29 +419,29 @@ class w extends g {
118
419
  `;
119
420
  }
120
421
  firstUpdated() {
121
- this.slot = "tab-panel", this.setAttribute("role", "tabpanel"), this.tabIndex = 0, this.hasAttribute("id") || (this.id = `luzmo-tab-panel-${C()}`);
422
+ this.slot = "tab-panel", this.setAttribute("role", "tabpanel"), this.tabIndex = 0, this.hasAttribute("id") || (this.id = `luzmo-tab-panel-${q()}`);
122
423
  }
123
424
  updated(t) {
124
425
  t.has("selected") && (this.selected ? (this.removeAttribute("aria-hidden"), this.tabIndex = 0) : (this.setAttribute("aria-hidden", "true"), this.tabIndex = -1));
125
426
  }
126
427
  }
127
- L([
128
- l({ type: Boolean, reflect: !0 })
129
- ], w.prototype, "selected");
130
- L([
131
- l({ type: String, reflect: !0 })
132
- ], w.prototype, "value");
428
+ F([
429
+ b({ type: Boolean, reflect: !0 })
430
+ ], T.prototype, "selected");
431
+ F([
432
+ b({ type: String, reflect: !0 })
433
+ ], T.prototype, "value");
133
434
  /**
134
435
  * @license
135
436
  * Copyright 2021 Google LLC
136
437
  * SPDX-License-Identifier: BSD-3-Clause
137
438
  */
138
- class N {
139
- constructor(t, { target: o, config: i, callback: e, skipInitial: a }) {
140
- this.t = /* @__PURE__ */ new Set(), this.o = !1, this.i = !1, this.h = t, o !== null && this.t.add(o ?? t), this.o = a ?? this.o, this.callback = e, window.IntersectionObserver ? (this.u = new IntersectionObserver((s) => {
141
- const f = this.i;
142
- this.i = !1, this.o && f || (this.handleChanges(s), this.h.requestUpdate());
143
- }, i), t.addController(this)) : console.warn("IntersectionController error: browser does not support IntersectionObserver.");
439
+ class ft {
440
+ constructor(t, { target: o, config: e, callback: i, skipInitial: a }) {
441
+ this.t = /* @__PURE__ */ new Set(), this.o = !1, this.i = !1, this.h = t, o !== null && this.t.add(o ?? t), this.o = a ?? this.o, this.callback = i, window.IntersectionObserver ? (this.u = new IntersectionObserver((r) => {
442
+ const n = this.i;
443
+ this.i = !1, this.o && n || (this.handleChanges(r), this.h.requestUpdate());
444
+ }, e), t.addController(this)) : console.warn("IntersectionController error: browser does not support IntersectionObserver.");
144
445
  }
145
446
  handleChanges(t) {
146
447
  var o;
@@ -166,59 +467,25 @@ class N {
166
467
  this.u.disconnect();
167
468
  }
168
469
  }
169
- /**
170
- * @license
171
- * Copyright 2021 Google LLC
172
- * SPDX-License-Identifier: BSD-3-Clause
173
- */
174
- class $ {
175
- constructor(t, { target: o, config: i, callback: e, skipInitial: a }) {
176
- this.t = /* @__PURE__ */ new Set(), this.o = !1, this.i = !1, this.h = t, o !== null && this.t.add(o ?? t), this.l = i, this.o = a ?? this.o, this.callback = e, window.ResizeObserver ? (this.u = new ResizeObserver((s) => {
177
- this.handleChanges(s), this.h.requestUpdate();
178
- }), t.addController(this)) : console.warn("ResizeController error: browser does not support ResizeObserver.");
179
- }
180
- handleChanges(t) {
181
- var o;
182
- this.value = (o = this.callback) == null ? void 0 : o.call(this, t, this.u);
183
- }
184
- hostConnected() {
185
- for (const t of this.t) this.observe(t);
186
- }
187
- hostDisconnected() {
188
- this.disconnect();
189
- }
190
- async hostUpdated() {
191
- !this.o && this.i && this.handleChanges([]), this.i = !1;
192
- }
193
- observe(t) {
194
- this.t.add(t), this.u.observe(t, this.l), this.i = !0, this.h.requestUpdate();
195
- }
196
- unobserve(t) {
197
- this.t.delete(t), this.u.unobserve(t);
198
- }
199
- disconnect() {
200
- this.u.disconnect();
201
- }
202
- }
203
- const I = "#list{--tabs-item-height: calc( var(--luzmo-component-height) + var(--luzmo-spacing-5) );--tabs-item-horizontal-spacing: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-3) );--tabs-item-vertical-spacing: var(--luzmo-spacing-2);--tabs-start-to-edge: var(--luzmo-spacing-4);--tabs-top-to-text: calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-bottom-to-text: calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-icon-size: var(--luzmo-icon-size-s);--tabs-icon-to-text: var(--luzmo-spacing-3);--tabs-top-to-icon: var(--luzmo-spacing-4);--tabs-focus-indicator-gap: var(--luzmo-spacing-3);--tabs-font-size: var(--luzmo-font-size)}:host([size=s]) #list{--tabs-item-height: calc( var(--luzmo-component-height-s) + var(--luzmo-spacing-4) );--tabs-item-horizontal-spacing: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-2) );--tabs-item-vertical-spacing: var(--luzmo-spacing-2);--tabs-start-to-edge: var(--luzmo-spacing-4);--tabs-top-to-text: calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-bottom-to-text: var(--luzmo-spacing-4);--tabs-icon-size: var(--luzmo-icon-size-xs);--tabs-icon-to-text: var(--luzmo-spacing-3);--tabs-top-to-icon: var(--luzmo-spacing-4);--tabs-focus-indicator-gap: var(--luzmo-spacing-3);--tabs-font-size: var(--luzmo-font-size-s)}:host([size=l]) #list{--tabs-item-height: calc( var(--luzmo-component-height-l) + var(--luzmo-spacing-5) );--tabs-item-horizontal-spacing: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-4) );--tabs-item-vertical-spacing: var(--luzmo-spacing-2);--tabs-start-to-edge: calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-top-to-text: calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--tabs-bottom-to-text: calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--tabs-icon-size: var(--luzmo-icon-size-m);--tabs-icon-to-text: calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--tabs-top-to-icon: var(--luzmo-spacing-5);--tabs-focus-indicator-gap: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--tabs-font-size: var(--luzmo-font-size-l)}:host([size=xl]) #list{--tabs-item-height: calc( var(--luzmo-component-height-xl) + var(--luzmo-spacing-5) );--tabs-item-horizontal-spacing: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-4) );--tabs-item-vertical-spacing: var(--luzmo-spacing-2);--tabs-start-to-edge: calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-top-to-text: calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--tabs-bottom-to-text: calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--tabs-icon-size: var(--luzmo-icon-size-l);--tabs-icon-to-text: calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--tabs-top-to-icon: var(--luzmo-spacing-5);--tabs-focus-indicator-gap: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--tabs-font-size: var(--luzmo-font-size-xl)}:host([compact]) #list{--luzmo-tabs-item-height: var( --luzmo-tabs-item-height-compact, var(--luzmo-component-height) );--luzmo-tabs-top-to-text: var( --luzmo-tabs-top-to-text-compact, calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1)) );--luzmo-tabs-bottom-to-text: var( --luzmo-tabs-bottom-to-text-compact, calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1)) );--luzmo-tabs-top-to-icon: var( --luzmo-tabs-top-to-icon-compact, var(--luzmo-spacing-2) )}:host([size=s][compact]) #list{--luzmo-tabs-item-height: var( --luzmo-tabs-item-height-compact, var(--luzmo-component-height-s) );--luzmo-tabs-top-to-text: var( --luzmo-tabs-top-to-text-compact, var(--luzmo-spacing-2) );--luzmo-tabs-bottom-to-text: var( --luzmo-tabs-bottom-to-text-compact, var(--luzmo-spacing-2) );--luzmo-tabs-top-to-icon: var( --luzmo-tabs-top-to-icon-compact, var(--luzmo-spacing-1) )}:host([size=l][compact]) #list{--luzmo-tabs-item-height: var( --luzmo-tabs-item-height-compact, var(--luzmo-component-height-l) );--luzmo-tabs-top-to-text: var( --luzmo-tabs-top-to-text-compact, calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1)) );--luzmo-tabs-bottom-to-text: var( --luzmo-tabs-bottom-to-text-compact, calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1)) );--luzmo-tabs-top-to-icon: var( --luzmo-tabs-top-to-icon-compact, calc(var(--luzmo-spacing-3)) )}:host([size=xl][compact]) #list{--luzmo-tabs-item-height: var( --luzmo-tabs-item-height-compact, var(--luzmo-component-height-xl) );--luzmo-tabs-top-to-text: var( --luzmo-tabs-top-to-text-compact, var(--luzmo-spacing-4) );--luzmo-tabs-bottom-to-text: var( --luzmo-tabs-bottom-to-text-compact, var(--luzmo-spacing-4) );--luzmo-tabs-top-to-icon: var( --luzmo-tabs-top-to-icon-compact, calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1)) )}", X = "#list{--tabs-color: var(--luzmo-font-color);--tabs-color-selected: var(--luzmo-font-color-down);--tabs-color-hover: var(--luzmo-font-color-hover);--tabs-color-key-focus: var(--luzmo-font-color-focus);--tabs-color-disabled: var(--luzmo-disabled-color);--tabs-font-family: var(--luzmo-font-family);--tabs-font-style: var(--luzmo-font-style);--tabs-font-size: var(--luzmo-font-size);--tabs-line-height: var(--luzmo-line-height);--tabs-focus-indicator-width: var(--luzmo-indicator-width);--tabs-focus-indicator-border-radius: var(--luzmo-border-radius);--tabs-focus-indicator-color: var(--luzmo-indicator-color);--tabs-selection-indicator-color: var(--luzmo-font-color-down);--tabs-list-background-direction: top;--tabs-divider-size: 2px;--tabs-divider-border-radius: 1px;--tabs-animation-duration: var(--luzmo-animation-duration);--tabs-animation-ease: ease-in-out}:host([emphasized]) #list{--luzmo-tabs-color-selected: var( --luzmo-tabs-color-selected-emphasized, var(--luzmo-primary) );--luzmo-tabs-color-hover: var( --luzmo-tabs-color-hover-emphasized, var(--luzmo-primary-hover) );--luzmo-tabs-color-key-focus: var( --luzmo-tabs-color-key-focus-emphasized, var(--luzmo-primary-focus) );--luzmo-tabs-selection-indicator-color: var( --luzmo-tabs-selection-indicator-color-emphasized, var(--luzmo-primary-down) )}:host([direction^=vertical]) #list{--luzmo-tabs-list-background-direction: var( --luzmo-tabs-list-background-direction-vertical, right )}:host([direction^=vertical-right]) #list{--luzmo-tabs-list-background-direction: var( --luzmo-tabs-list-background-direction-vertical-right, left )}:host([direction^=vertical]) #list:dir(rtl),:host([dir=rtl][direction^=vertical]) #list{--luzmo-tabs-list-background-direction: var( --luzmo-tabs-list-background-direction-vertical, left )}:host([direction^=vertical-right]) #list:dir(rtl),:host([dir=rtl][direction^=vertical-right]) #list{--luzmo-tabs-list-background-direction: var( --luzmo-tabs-list-background-direction-vertical, right )}#list{z-index:0;vertical-align:top;background:linear-gradient(to var(--luzmo-tabs-list-background-direction, var(--tabs-list-background-direction)),var(--highcontrast-tabs-divider-background-color, var(--luzmo-tabs-divider-background-color, var(--tabs-divider-background-color))) 0 var(--luzmo-tabs-divider-size, var(--tabs-divider-size)),transparent var(--luzmo-tabs-divider-size, var(--tabs-divider-size)));margin:0;padding-block:0;display:flex;position:relative}::slotted([selected]:not([slot])){color:var(--highcontrast-tabs-color-selected, var(--luzmo-tabs-color-selected, var(--tabs-color-selected)))}::slotted([disabled]:not([slot])){cursor:default;color:var(--highcontrast-tabs-color-disabled, var(--luzmo-tabs-color-disabled, var(--tabs-color-disabled)))}#selection-indicator{background-color:var(--highcontrast-tabs-selection-indicator-color, var(--luzmo-tabs-selection-indicator-color, var(--tabs-selection-indicator-color)));z-index:0;transition:transform var(--luzmo-tabs-animation-duration, var(--tabs-animation-duration)) var(--luzmo-tabs-animation-ease, var(--tabs-animation-ease));transform-origin:0 0;border-radius:var(--luzmo-tabs-divider-border-radius, var(--tabs-divider-border-radius));position:absolute;inset-inline-start:0}:host([direction^=horizontal]) #list{align-items:center}:host([direction^=horizontal]) #list ::slotted(:not([slot])){vertical-align:top}:host([direction^=horizontal]) ::slotted(:not(:first-child)){margin-inline-start:var(--luzmo-tabs-item-horizontal-spacing, var(--tabs-item-horizontal-spacing))}:host([direction^=horizontal]) #list #selection-indicator{block-size:var(--luzmo-tabs-divider-size, var(--tabs-divider-size));position:absolute;inset-block-end:0}:host([direction^=horizontal][compact]) #list{box-sizing:initial;align-items:end}:host([quiet]) #list{background:none;border-color:transparent;display:inline-flex}:host([quiet]) #selection-indicator{padding-inline-start:var(--luzmo-tabs-start-to-item-quiet)}:host([direction^=vertical]) #list,:host([direction^=vertical-right]) #list{flex-direction:column;padding:0;display:inline-flex}:host([direction^=vertical-right][quiet]) #list,:host([direction^=vertical][quiet]) #list{border-color:transparent}:host([direction^=vertical]) #list ::slotted(:not([slot])),:host([direction^=vertical-right]) #list ::slotted(:not([slot])){block-size:var(--luzmo-tabs-item-height, var(--tabs-item-height));line-height:var(--luzmo-tabs-item-height, var(--tabs-item-height));margin-block-end:var(--luzmo-tabs-item-vertical-spacing, var(--tabs-item-vertical-spacing));margin-inline-start:var(--luzmo-tabs-start-to-edge, var(--tabs-start-to-edge));margin-inline-end:var(--luzmo-tabs-start-to-edge, var(--tabs-start-to-edge));padding-block:0}:host([direction^=vertical]) #list ::slotted(:not([slot])):before,:host([direction^=vertical-right]) #list ::slotted(:not([slot])):before{inset-inline-start:calc(var(--luzmo-tabs-focus-indicator-gap, var(--tabs-focus-indicator-gap)) * -1)}:host([direction^=vertical]) #list #selection-indicator,:host([direction^=vertical-right]) #list #selection-indicator{inline-size:var(--luzmo-tabs-divider-size, var(--tabs-divider-size));position:absolute;inset-block-start:0;inset-inline-start:0}:host([direction^=vertical-right]) #list #selection-indicator{inset-inline:auto 0}@media (forced-colors: active){#list{--highcontrast-tabs-divider-background-color: var(--luzmo-border-color);--highcontrast-tabs-selection-indicator-color: Highlight;--highcontrast-tabs-focus-indicator-color: CanvasText;--highcontrast-tabs-focus-indicator-background-color: Highlight;--highcontrast-tabs-color: ButtonText;--highcontrast-tabs-color-hover: ButtonText;--highcontrast-tabs-color-selected: HighlightText;--highcontrast-tabs-color-key-focus: ButtonText;--highcontrast-tabs-color-disabled: GrayText;forced-color-adjust:none}#list ::slotted([selected]:not([slot])):before{background-color:var(--highcontrast-tabs-focus-indicator-background-color)}:host([direction^=vertical][compact]) #list #list ::slotted(:not([slot])):before{block-size:100%;inset-block-start:0}:host([quiet]) #list{background:linear-gradient(to var(--luzmo-tabs-list-background-direction, var(--tabs-list-background-direction)),var(--highcontrast-tabs-divider-background-color, var(--luzmo-tabs-divider-background-color, var(--tabs-divider-background-color))) 0 var(--luzmo-tabs-divider-size, var(--tabs-divider-size)),transparent var(--luzmo-tabs-divider-size, var(--tabs-divider-size)))}}#list{--tabs-font-weight: var(--luzmo-font-weight);--tabs-divider-background-color: var(--luzmo-border-color)}:host{display:grid;grid-template-columns:100%;position:relative}:host(:not([direction^=vertical])){grid-template-rows:auto 1fr}:host([direction^=vertical]){grid-template-columns:auto 1fr}:host([dir=rtl]) #selection-indicator{left:0;right:auto}:host([direction=vertical-right]) #list #selection-indicator{inset-inline:auto 0}#list{justify-content:var(--luzmo-tabs-list-justify-content)}:host([disabled]) #list{pointer-events:none}:host([disabled]) #list #selection-indicator{background-color:var(--luzmo-tabs-color-disabled, var(--tabs-color-disabled))}:host([disabled]) ::slotted(sp-tab){color:var(--luzmo-tabs-color-disabled, var(--tabs-color-disabled))}:host([direction=vertical-right]) #list #selection-indicator,:host([direction=vertical]) #list #selection-indicator{inset-block-start:0}#selection-indicator.first-position{transition:none}:host([dir][direction=horizontal]) #list.scroll{scrollbar-width:none;overflow:auto hidden}:host([dir][direction=horizontal]) #list.scroll::-webkit-scrollbar{display:none}";
204
- var Y = Object.defineProperty, c = (r, t, o, i) => {
205
- for (var e = void 0, a = r.length - 1, s; a >= 0; a--)
206
- (s = r[a]) && (e = s(t, o, e) || e);
207
- return e && Y(t, o, e), e;
470
+ const N = "#list{--tabs-item-height: calc( var(--luzmo-component-height) + var(--luzmo-spacing-5) );--tabs-item-horizontal-spacing: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-3) );--tabs-item-vertical-spacing: var(--luzmo-spacing-2);--tabs-start-to-edge: var(--luzmo-spacing-4);--tabs-top-to-text: calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-bottom-to-text: calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-icon-size: var(--luzmo-icon-size-s);--tabs-icon-to-text: var(--luzmo-spacing-3);--tabs-top-to-icon: var(--luzmo-spacing-4);--tabs-focus-indicator-gap: var(--luzmo-spacing-3);--tabs-font-size: var(--luzmo-font-size)}:host([size=s]) #list{--tabs-item-height: calc( var(--luzmo-component-height-s) + var(--luzmo-spacing-4) );--tabs-item-horizontal-spacing: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-2) );--tabs-item-vertical-spacing: var(--luzmo-spacing-2);--tabs-start-to-edge: var(--luzmo-spacing-4);--tabs-top-to-text: calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-bottom-to-text: var(--luzmo-spacing-4);--tabs-icon-size: var(--luzmo-icon-size-xs);--tabs-icon-to-text: var(--luzmo-spacing-3);--tabs-top-to-icon: var(--luzmo-spacing-4);--tabs-focus-indicator-gap: var(--luzmo-spacing-3);--tabs-font-size: var(--luzmo-font-size-s)}:host([size=l]) #list{--tabs-item-height: calc( var(--luzmo-component-height-l) + var(--luzmo-spacing-5) );--tabs-item-horizontal-spacing: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-4) );--tabs-item-vertical-spacing: var(--luzmo-spacing-2);--tabs-start-to-edge: calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-top-to-text: calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--tabs-bottom-to-text: calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--tabs-icon-size: var(--luzmo-icon-size-m);--tabs-icon-to-text: calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--tabs-top-to-icon: var(--luzmo-spacing-5);--tabs-focus-indicator-gap: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--tabs-font-size: var(--luzmo-font-size-l)}:host([size=xl]) #list{--tabs-item-height: calc( var(--luzmo-component-height-xl) + var(--luzmo-spacing-5) );--tabs-item-horizontal-spacing: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-4) );--tabs-item-vertical-spacing: var(--luzmo-spacing-2);--tabs-start-to-edge: calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--tabs-top-to-text: calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--tabs-bottom-to-text: calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-1));--tabs-icon-size: var(--luzmo-icon-size-l);--tabs-icon-to-text: calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--tabs-top-to-icon: var(--luzmo-spacing-5);--tabs-focus-indicator-gap: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--tabs-font-size: var(--luzmo-font-size-xl)}:host([compact]) #list{--luzmo-tabs-item-height: var( --luzmo-tabs-item-height-compact, var(--luzmo-component-height) );--luzmo-tabs-top-to-text: var( --luzmo-tabs-top-to-text-compact, calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1)) );--luzmo-tabs-bottom-to-text: var( --luzmo-tabs-bottom-to-text-compact, calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1)) );--luzmo-tabs-top-to-icon: var( --luzmo-tabs-top-to-icon-compact, var(--luzmo-spacing-2) )}:host([size=s][compact]) #list{--luzmo-tabs-item-height: var( --luzmo-tabs-item-height-compact, var(--luzmo-component-height-s) );--luzmo-tabs-top-to-text: var( --luzmo-tabs-top-to-text-compact, var(--luzmo-spacing-2) );--luzmo-tabs-bottom-to-text: var( --luzmo-tabs-bottom-to-text-compact, var(--luzmo-spacing-2) );--luzmo-tabs-top-to-icon: var( --luzmo-tabs-top-to-icon-compact, var(--luzmo-spacing-1) )}:host([size=l][compact]) #list{--luzmo-tabs-item-height: var( --luzmo-tabs-item-height-compact, var(--luzmo-component-height-l) );--luzmo-tabs-top-to-text: var( --luzmo-tabs-top-to-text-compact, calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1)) );--luzmo-tabs-bottom-to-text: var( --luzmo-tabs-bottom-to-text-compact, calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1)) );--luzmo-tabs-top-to-icon: var( --luzmo-tabs-top-to-icon-compact, calc(var(--luzmo-spacing-3)) )}:host([size=xl][compact]) #list{--luzmo-tabs-item-height: var( --luzmo-tabs-item-height-compact, var(--luzmo-component-height-xl) );--luzmo-tabs-top-to-text: var( --luzmo-tabs-top-to-text-compact, var(--luzmo-spacing-4) );--luzmo-tabs-bottom-to-text: var( --luzmo-tabs-bottom-to-text-compact, var(--luzmo-spacing-4) );--luzmo-tabs-top-to-icon: var( --luzmo-tabs-top-to-icon-compact, calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1)) )}", zt = "#list{--tabs-color: var(--luzmo-font-color);--tabs-color-selected: var(--luzmo-font-color-down);--tabs-color-hover: var(--luzmo-font-color-hover);--tabs-color-key-focus: var(--luzmo-font-color-focus);--tabs-color-disabled: var(--luzmo-disabled-color);--tabs-font-family: var(--luzmo-font-family);--tabs-font-style: var(--luzmo-font-style);--tabs-font-size: var(--luzmo-font-size);--tabs-line-height: var(--luzmo-line-height);--tabs-focus-indicator-width: var(--luzmo-indicator-width);--tabs-focus-indicator-border-radius: var(--luzmo-border-radius);--tabs-focus-indicator-color: var(--luzmo-indicator-color);--tabs-selection-indicator-color: var(--luzmo-font-color-down);--tabs-list-background-direction: top;--tabs-divider-size: 2px;--tabs-divider-border-radius: 1px;--tabs-animation-duration: var(--luzmo-animation-duration);--tabs-animation-ease: ease-in-out}:host([emphasized]) #list{--luzmo-tabs-color-selected: var( --luzmo-tabs-color-selected-emphasized, var(--luzmo-primary) );--luzmo-tabs-color-hover: var( --luzmo-tabs-color-hover-emphasized, var(--luzmo-primary-hover) );--luzmo-tabs-color-key-focus: var( --luzmo-tabs-color-key-focus-emphasized, var(--luzmo-primary-focus) );--luzmo-tabs-selection-indicator-color: var( --luzmo-tabs-selection-indicator-color-emphasized, var(--luzmo-primary-down) )}:host([direction^=vertical]) #list{--luzmo-tabs-list-background-direction: var( --luzmo-tabs-list-background-direction-vertical, right )}:host([direction^=vertical-right]) #list{--luzmo-tabs-list-background-direction: var( --luzmo-tabs-list-background-direction-vertical-right, left )}:host([direction^=vertical]) #list:dir(rtl),:host([dir=rtl][direction^=vertical]) #list{--luzmo-tabs-list-background-direction: var( --luzmo-tabs-list-background-direction-vertical, left )}:host([direction^=vertical-right]) #list:dir(rtl),:host([dir=rtl][direction^=vertical-right]) #list{--luzmo-tabs-list-background-direction: var( --luzmo-tabs-list-background-direction-vertical, right )}#list{z-index:0;vertical-align:top;background:linear-gradient(to var(--luzmo-tabs-list-background-direction, var(--tabs-list-background-direction)),var(--highcontrast-tabs-divider-background-color, var(--luzmo-tabs-divider-background-color, var(--tabs-divider-background-color))) 0 var(--luzmo-tabs-divider-size, var(--tabs-divider-size)),transparent var(--luzmo-tabs-divider-size, var(--tabs-divider-size)));margin:0;padding-block:0;display:flex;position:relative}::slotted([selected]:not([slot])){color:var(--highcontrast-tabs-color-selected, var(--luzmo-tabs-color-selected, var(--tabs-color-selected)))}::slotted([disabled]:not([slot])){cursor:default;color:var(--highcontrast-tabs-color-disabled, var(--luzmo-tabs-color-disabled, var(--tabs-color-disabled)))}#selection-indicator{background-color:var(--highcontrast-tabs-selection-indicator-color, var(--luzmo-tabs-selection-indicator-color, var(--tabs-selection-indicator-color)));z-index:0;transition:transform var(--luzmo-tabs-animation-duration, var(--tabs-animation-duration)) var(--luzmo-tabs-animation-ease, var(--tabs-animation-ease));transform-origin:0 0;border-radius:var(--luzmo-tabs-divider-border-radius, var(--tabs-divider-border-radius));position:absolute;inset-inline-start:0}:host([direction^=horizontal]) #list{align-items:center}:host([direction^=horizontal]) #list ::slotted(:not([slot])){vertical-align:top}:host([direction^=horizontal]) ::slotted(:not(:first-child)){margin-inline-start:var(--luzmo-tabs-item-horizontal-spacing, var(--tabs-item-horizontal-spacing))}:host([direction^=horizontal]) #list #selection-indicator{block-size:var(--luzmo-tabs-divider-size, var(--tabs-divider-size));position:absolute;inset-block-end:0}:host([direction^=horizontal][compact]) #list{box-sizing:initial;align-items:end}:host([quiet]) #list{background:none;border-color:transparent;display:inline-flex}:host([quiet]) #selection-indicator{padding-inline-start:var(--luzmo-tabs-start-to-item-quiet)}:host([direction^=vertical]) #list,:host([direction^=vertical-right]) #list{flex-direction:column;padding:0;display:inline-flex}:host([direction^=vertical-right][quiet]) #list,:host([direction^=vertical][quiet]) #list{border-color:transparent}:host([direction^=vertical]) #list ::slotted(:not([slot])),:host([direction^=vertical-right]) #list ::slotted(:not([slot])){block-size:var(--luzmo-tabs-item-height, var(--tabs-item-height));line-height:var(--luzmo-tabs-item-height, var(--tabs-item-height));margin-block-end:var(--luzmo-tabs-item-vertical-spacing, var(--tabs-item-vertical-spacing));margin-inline-start:var(--luzmo-tabs-start-to-edge, var(--tabs-start-to-edge));margin-inline-end:var(--luzmo-tabs-start-to-edge, var(--tabs-start-to-edge));padding-block:0}:host([direction^=vertical]) #list ::slotted(:not([slot])):before,:host([direction^=vertical-right]) #list ::slotted(:not([slot])):before{inset-inline-start:calc(var(--luzmo-tabs-focus-indicator-gap, var(--tabs-focus-indicator-gap)) * -1)}:host([direction^=vertical]) #list #selection-indicator,:host([direction^=vertical-right]) #list #selection-indicator{inline-size:var(--luzmo-tabs-divider-size, var(--tabs-divider-size));position:absolute;inset-block-start:0;inset-inline-start:0}:host([direction^=vertical-right]) #list #selection-indicator{inset-inline:auto 0}@media (forced-colors: active){#list{--highcontrast-tabs-divider-background-color: var(--luzmo-border-color);--highcontrast-tabs-selection-indicator-color: Highlight;--highcontrast-tabs-focus-indicator-color: CanvasText;--highcontrast-tabs-focus-indicator-background-color: Highlight;--highcontrast-tabs-color: ButtonText;--highcontrast-tabs-color-hover: ButtonText;--highcontrast-tabs-color-selected: HighlightText;--highcontrast-tabs-color-key-focus: ButtonText;--highcontrast-tabs-color-disabled: GrayText;forced-color-adjust:none}#list ::slotted([selected]:not([slot])):before{background-color:var(--highcontrast-tabs-focus-indicator-background-color)}:host([direction^=vertical][compact]) #list #list ::slotted(:not([slot])):before{block-size:100%;inset-block-start:0}:host([quiet]) #list{background:linear-gradient(to var(--luzmo-tabs-list-background-direction, var(--tabs-list-background-direction)),var(--highcontrast-tabs-divider-background-color, var(--luzmo-tabs-divider-background-color, var(--tabs-divider-background-color))) 0 var(--luzmo-tabs-divider-size, var(--tabs-divider-size)),transparent var(--luzmo-tabs-divider-size, var(--tabs-divider-size)))}}#list{--tabs-font-weight: var(--luzmo-font-weight);--tabs-divider-background-color: var(--luzmo-border-color)}:host{display:grid;grid-template-columns:100%;position:relative}:host(:not([direction^=vertical])){grid-template-rows:auto 1fr}:host([direction^=vertical]){grid-template-columns:auto 1fr}:host([dir=rtl]) #selection-indicator{left:0;right:auto}:host([direction=vertical-right]) #list #selection-indicator{inset-inline:auto 0}#list{justify-content:var(--luzmo-tabs-list-justify-content)}:host([disabled]) #list{pointer-events:none}:host([disabled]) #list #selection-indicator{background-color:var(--luzmo-tabs-color-disabled, var(--tabs-color-disabled))}:host([disabled]) ::slotted(sp-tab){color:var(--luzmo-tabs-color-disabled, var(--tabs-color-disabled))}:host([direction=vertical-right]) #list #selection-indicator,:host([direction=vertical]) #list #selection-indicator{inset-block-start:0}#selection-indicator.first-position{transition:none}:host([dir][direction=horizontal]) #list.scroll{scrollbar-width:none;overflow:auto hidden}:host([dir][direction=horizontal]) #list.scroll::-webkit-scrollbar{display:none}";
471
+ var gt = Object.defineProperty, d = (s, t, o, e) => {
472
+ for (var i = void 0, a = s.length - 1, r; a >= 0; a--)
473
+ (r = s[a]) && (i = r(t, o, i) || i);
474
+ return i && gt(t, o, i), i;
208
475
  };
209
- const m = {
476
+ const g = {
210
477
  baseSize: 100,
211
478
  noSelectionStyle: "transform: translateX(0px) scaleX(0) scaleY(0)",
212
- transformX(r, t) {
479
+ transformX(s, t) {
213
480
  const o = t / this.baseSize;
214
- return `transform: translateX(${r}px) scaleX(${o});`;
481
+ return `transform: translateX(${s}px) scaleX(${o});`;
215
482
  },
216
- transformY(r, t) {
483
+ transformY(s, t) {
217
484
  const o = t / this.baseSize;
218
- return `transform: translateY(${r}px) scaleY(${o});`;
485
+ return `transform: translateY(${s}px) scaleY(${o});`;
219
486
  },
220
487
  baseStyles() {
221
- return A`
488
+ return H`
222
489
  :host([direction='vertical-right']) #selection-indicator,
223
490
  :host([direction='vertical']) #selection-indicator {
224
491
  height: ${this.baseSize}px;
@@ -229,26 +496,26 @@ const m = {
229
496
  `;
230
497
  }
231
498
  };
232
- function G(r, t, o, i) {
233
- const e = r + (t === "rtl" ? -1 : 1), a = o[e], s = i.scrollLeft + i.offsetWidth;
234
- return a ? a.offsetLeft - i.offsetWidth : s;
499
+ function yt(s, t, o, e) {
500
+ const i = s + (t === "rtl" ? -1 : 1), a = o[i], r = e.scrollLeft + e.offsetWidth;
501
+ return a ? a.offsetLeft - e.offsetWidth : r;
235
502
  }
236
- function K(r, t, o, i) {
237
- const e = r + (t === "rtl" ? 1 : -1), a = o[e], s = t === "rtl" ? -i.offsetWidth : 0;
238
- return a ? a.offsetLeft + a.offsetWidth : s;
503
+ function xt(s, t, o, e) {
504
+ const i = s + (t === "rtl" ? 1 : -1), a = o[i], r = t === "rtl" ? -e.offsetWidth : 0;
505
+ return a ? a.offsetLeft + a.offsetWidth : r;
239
506
  }
240
- class n extends T(U, { noDefaultSize: !0 }) {
507
+ class c extends D(J, { noDefaultSize: !0 }) {
241
508
  constructor() {
242
- super(), this.auto = !1, this.compact = !1, this.direction = "horizontal", this.emphasized = !1, this.label = "", this.enableTabsScroll = !1, this.quiet = !1, this.selectionIndicatorStyle = m.noSelectionStyle, this.shouldAnimate = !1, this.selected = "", this._tabs = [], this.resizeController = new $(this, {
509
+ super(), this.auto = !1, this.compact = !1, this.direction = "horizontal", this.emphasized = !1, this.label = "", this.enableTabsScroll = !1, this.quiet = !1, this.selectionIndicatorStyle = g.noSelectionStyle, this.shouldAnimate = !1, this.selected = "", this._tabs = [], this.resizeController = new B(this, {
243
510
  callback: () => {
244
511
  this.updateSelectionIndicator();
245
512
  }
246
- }), this.rovingTabindexController = new B(this, {
513
+ }), this.rovingTabindexController = new Q(this, {
247
514
  focusInIndex: (t) => {
248
515
  let o = 0;
249
- return t.find((e, a) => {
250
- const s = this.selected ? e.value === this.selected : !e.disabled;
251
- return o = a, s;
516
+ return t.find((i, a) => {
517
+ const r = this.selected ? i.value === this.selected : !i.disabled;
518
+ return o = a, r;
252
519
  }) ? o : -1;
253
520
  },
254
521
  direction: () => "both",
@@ -268,7 +535,7 @@ class n extends T(U, { noDefaultSize: !0 }) {
268
535
  }, this.onClick = (t) => {
269
536
  if (this.disabled)
270
537
  return;
271
- const o = t.composedPath().find((i) => i.parentElement === this);
538
+ const o = t.composedPath().find((e) => e.parentElement === this);
272
539
  !o || o.disabled || (this.shouldAnimate = !0, this.selectTarget(o));
273
540
  }, this.onKeyDown = (t) => {
274
541
  if (t.code === "Enter" || t.code === "Space") {
@@ -288,18 +555,18 @@ class n extends T(U, { noDefaultSize: !0 }) {
288
555
  }
289
556
  this.updateSelectionIndicator();
290
557
  }, this.updateSelectionIndicator = async () => {
291
- const t = this.tabs.find((e) => e.selected);
558
+ const t = this.tabs.find((i) => i.selected);
292
559
  if (!t) {
293
- this.selectionIndicatorStyle = m.noSelectionStyle;
560
+ this.selectionIndicatorStyle = g.noSelectionStyle;
294
561
  return;
295
562
  }
296
563
  await Promise.all([
297
564
  t.updateComplete,
298
565
  document.fonts ? document.fonts.ready : Promise.resolve()
299
566
  ]);
300
- const { width: o, height: i } = t.getBoundingClientRect();
301
- this.selectionIndicatorStyle = this.direction === "horizontal" ? m.transformX(t.offsetLeft, o) : m.transformY(t.offsetTop, i);
302
- }, new N(this, {
567
+ const { width: o, height: e } = t.getBoundingClientRect();
568
+ this.selectionIndicatorStyle = this.direction === "horizontal" ? g.transformX(t.offsetLeft, o) : g.transformY(t.offsetTop, e);
569
+ }, new ft(this, {
303
570
  config: {
304
571
  root: null,
305
572
  rootMargin: "0px",
@@ -312,9 +579,9 @@ class n extends T(U, { noDefaultSize: !0 }) {
312
579
  }
313
580
  static get styles() {
314
581
  return [
315
- b(I),
316
- b(X),
317
- m.baseStyles()
582
+ v(N),
583
+ v(zt),
584
+ g.baseStyles()
318
585
  ];
319
586
  }
320
587
  set tabs(t) {
@@ -334,7 +601,7 @@ class n extends T(U, { noDefaultSize: !0 }) {
334
601
  return this.rovingTabindexController.focusInElement || this;
335
602
  }
336
603
  limitDeltaToInterval(t, o) {
337
- return (i) => i < t ? t : i > o ? o : i;
604
+ return (e) => e < t ? t : e > o ? o : e;
338
605
  }
339
606
  /**
340
607
  * Scrolls through the tabs component, on the X-axis, by a given ammount of pixels/ delta. The given delta is limited to the scrollable area of the tabs component.
@@ -342,37 +609,37 @@ class n extends T(U, { noDefaultSize: !0 }) {
342
609
  * @param behavior - The scroll behavior to use. Defaults to 'smooth'.
343
610
  */
344
611
  scrollTabs(t, o = "smooth") {
345
- var y;
612
+ var p;
346
613
  if (t === 0) return;
347
- const { scrollLeft: i, clientWidth: e, scrollWidth: a } = this.tabList, s = a - e - Math.abs(i), f = this.dir === "ltr" ? this.limitDeltaToInterval(-i, s) : this.limitDeltaToInterval(-s, Math.abs(i));
348
- (y = this.tabList) == null || y.scrollBy({
349
- left: f(t),
614
+ const { scrollLeft: e, clientWidth: i, scrollWidth: a } = this.tabList, r = a - i - Math.abs(e), n = this.dir === "ltr" ? this.limitDeltaToInterval(-e, r) : this.limitDeltaToInterval(-r, Math.abs(e));
615
+ (p = this.tabList) == null || p.scrollBy({
616
+ left: n(t),
350
617
  top: 0,
351
618
  behavior: o
352
619
  });
353
620
  }
354
621
  get scrollState() {
355
622
  if (this.tabList) {
356
- const { scrollLeft: t, clientWidth: o, scrollWidth: i } = this.tabList, e = Math.abs(t) > 0, a = Math.ceil(Math.abs(t)) < i - o;
623
+ const { scrollLeft: t, clientWidth: o, scrollWidth: e } = this.tabList, i = Math.abs(t) > 0, a = Math.ceil(Math.abs(t)) < e - o;
357
624
  return {
358
- canScrollLeft: this.dir === "ltr" ? e : a,
359
- canScrollRight: this.dir === "ltr" ? a : e
625
+ canScrollLeft: this.dir === "ltr" ? i : a,
626
+ canScrollRight: this.dir === "ltr" ? a : i
360
627
  };
361
628
  }
362
629
  return {};
363
630
  }
364
631
  async getUpdateComplete() {
365
- const t = await super.getUpdateComplete(), i = [...this.children].map((e) => e.updateComplete !== void 0 ? e.updateComplete : Promise.resolve(!0));
366
- return await Promise.all(i), t;
632
+ const t = await super.getUpdateComplete(), e = [...this.children].map((i) => i.updateComplete !== void 0 ? i.updateComplete : Promise.resolve(!0));
633
+ return await Promise.all(e), t;
367
634
  }
368
635
  getNecessaryAutoScroll(t) {
369
- const o = this.tabs[t], i = o.offsetLeft + o.offsetWidth, e = this.tabList.scrollLeft + this.tabList.offsetWidth, a = o.offsetLeft, s = this.tabList.scrollLeft;
370
- return i > e ? G(
636
+ const o = this.tabs[t], e = o.offsetLeft + o.offsetWidth, i = this.tabList.scrollLeft + this.tabList.offsetWidth, a = o.offsetLeft, r = this.tabList.scrollLeft;
637
+ return e > i ? yt(
371
638
  t,
372
639
  this.dir,
373
640
  this.tabs,
374
641
  this.tabList
375
- ) : a < s ? K(
642
+ ) : a < r ? xt(
376
643
  t,
377
644
  this.dir,
378
645
  this.tabs,
@@ -397,16 +664,16 @@ class n extends T(U, { noDefaultSize: !0 }) {
397
664
  managePanels({
398
665
  target: t
399
666
  }) {
400
- t.assignedElements().map((i) => {
401
- const { value: e, id: a } = i, s = this.querySelector(`[role="tab"][value="${e}"]`);
402
- s && (s.setAttribute("aria-controls", a), i.setAttribute("aria-labelledby", s.id)), i.selected = e === this.selected;
667
+ t.assignedElements().map((e) => {
668
+ const { value: i, id: a } = e, r = this.querySelector(`[role="tab"][value="${i}"]`);
669
+ r && (r.setAttribute("aria-controls", a), e.setAttribute("aria-labelledby", r.id)), e.selected = i === this.selected;
403
670
  });
404
671
  }
405
672
  render() {
406
- return v`
673
+ return x`
407
674
  <div
408
- class=${p({ scroll: this.enableTabsScroll })}
409
- aria-label=${k(this.label ?? void 0)}
675
+ class=${S({ scroll: this.enableTabsScroll })}
676
+ aria-label=${U(this.label ?? void 0)}
410
677
  @click=${this.onClick}
411
678
  @keydown=${this.onKeyDown}
412
679
  @scroll=${this.onTabsScroll}
@@ -417,7 +684,7 @@ class n extends T(U, { noDefaultSize: !0 }) {
417
684
  <slot @slotchange=${this.onSlotChange}></slot>
418
685
  <div
419
686
  id="selection-indicator"
420
- class=${k(this.shouldAnimate ? void 0 : "first-position")}
687
+ class=${U(this.shouldAnimate ? void 0 : "first-position")}
421
688
  style=${this.selectionIndicatorStyle}
422
689
  role="presentation"
423
690
  ></div>
@@ -434,10 +701,10 @@ class n extends T(U, { noDefaultSize: !0 }) {
434
701
  }
435
702
  if (super.willUpdate(t), t.has("selected")) {
436
703
  if (this.tabs.length > 0 && this.updateCheckedState(), t.get("selected")) {
437
- const i = this.querySelector(
704
+ const e = this.querySelector(
438
705
  `[role="tabpanel"][value="${t.get("selected")}"]`
439
706
  );
440
- i && (i.selected = !1);
707
+ e && (e.selected = !1);
441
708
  }
442
709
  const o = this.querySelector(
443
710
  `[role="tabpanel"][value="${this.selected}"]`
@@ -449,12 +716,12 @@ class n extends T(U, { noDefaultSize: !0 }) {
449
716
  selectTarget(t) {
450
717
  const o = t.getAttribute("value");
451
718
  if (o) {
452
- const i = this.selected;
719
+ const e = this.selected;
453
720
  this.selected = o, this.dispatchEvent(
454
721
  new Event("change", {
455
722
  cancelable: !0
456
723
  })
457
- ) || (this.selected = i);
724
+ ) || (this.selected = e);
458
725
  }
459
726
  }
460
727
  onSlotChange() {
@@ -467,57 +734,57 @@ class n extends T(U, { noDefaultSize: !0 }) {
467
734
  window.removeEventListener("resize", this.updateSelectionIndicator), "fonts" in document && document.fonts.removeEventListener("loadingdone", this.updateSelectionIndicator), super.disconnectedCallback();
468
735
  }
469
736
  }
470
- c([
737
+ d([
471
738
  l({ type: Boolean })
472
- ], n.prototype, "auto");
473
- c([
739
+ ], c.prototype, "auto");
740
+ d([
474
741
  l({ type: Boolean, reflect: !0 })
475
- ], n.prototype, "compact");
476
- c([
742
+ ], c.prototype, "compact");
743
+ d([
477
744
  l({ reflect: !0 })
478
- ], n.prototype, "dir");
479
- c([
745
+ ], c.prototype, "dir");
746
+ d([
480
747
  l({ reflect: !0 })
481
- ], n.prototype, "direction");
482
- c([
748
+ ], c.prototype, "direction");
749
+ d([
483
750
  l({ type: Boolean, reflect: !0 })
484
- ], n.prototype, "emphasized");
485
- c([
751
+ ], c.prototype, "emphasized");
752
+ d([
486
753
  l()
487
- ], n.prototype, "label");
488
- c([
754
+ ], c.prototype, "label");
755
+ d([
489
756
  l({ type: Boolean })
490
- ], n.prototype, "enableTabsScroll");
491
- c([
757
+ ], c.prototype, "enableTabsScroll");
758
+ d([
492
759
  l({ type: Boolean, reflect: !0 })
493
- ], n.prototype, "quiet");
494
- c([
760
+ ], c.prototype, "quiet");
761
+ d([
495
762
  l({ attribute: !1 })
496
- ], n.prototype, "selectionIndicatorStyle");
497
- c([
763
+ ], c.prototype, "selectionIndicatorStyle");
764
+ d([
498
765
  l({ attribute: !1 })
499
- ], n.prototype, "shouldAnimate");
500
- c([
501
- x("slot")
502
- ], n.prototype, "slotEl");
503
- c([
504
- x("#list")
505
- ], n.prototype, "tabList");
506
- c([
766
+ ], c.prototype, "shouldAnimate");
767
+ d([
768
+ _("slot")
769
+ ], c.prototype, "slotEl");
770
+ d([
771
+ _("#list")
772
+ ], c.prototype, "tabList");
773
+ d([
507
774
  l({ reflect: !0 })
508
- ], n.prototype, "selected");
509
- const V = ':host{top:0;right:0;bottom:0;left:0;width:100%;--tabs-divider-size: 2px;--tab-item-height-m: calc( var(--luzmo-component-height) + var(--luzmo-spacing-5) );--tabs-overflow-button-height: calc( var(--tab-item-height-m) - var( --luzmo-tabs-divider-size, var(--tabs-divider-size) ) );--tabs-overflow-button-size: var(--tab-item-height-m);--tabs-overflow-icon-color: var(--luzmo-font-color-focus);--tabs-overflow-shadow-color: var(--luzmo-background-color);--tabs-overflow-shadow-width: 50px;--luzmo-action-button-icon-size: var(--luzmo-font-size);--tabs-overflow-next-button-right: calc(-1 * var(--luzmo-spacing-4));--tabs-overflow-previous-button-left: calc(-1 * var(--luzmo-spacing-4))}:host([size=s]){--tab-item-height-s: calc( var(--luzmo-component-height-s) + var(--luzmo-spacing-4) );--tabs-overflow-button-height: calc( var(--tab-item-height-s) - var( --luzmo-tabs-divider-size, var(--tabs-divider-size) ) );--tabs-overflow-button-size: var(--tab-item-height-s);--luzmo-action-button-icon-size: var(--luzmo-font-size-s);--tabs-overflow-next-button-right: calc(-1 * var(--luzmo-spacing-3));--tabs-overflow-previous-button-left: calc(-1 * var(--luzmo-spacing-3))}:host([size=l]){--tab-item-height-l: calc( var(--luzmo-component-height-l) + var(--luzmo-spacing-5) );--tabs-overflow-button-height: calc( var(--tab-item-height-l) - var( --luzmo-tabs-divider-size, var(--tabs-divider-size) ) );--tabs-overflow-button-size: var(--tab-item-height-l);--luzmo-action-button-icon-size: var(--luzmo-font-size-l);--tabs-overflow-next-button-right: calc( -1 * calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1)) );--tabs-overflow-previous-button-left: calc( -1 * calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1)) )}:host([size=xl]){--tab-item-height-xl: calc( var(--luzmo-component-height-xl) + var(--luzmo-spacing-5) );--tabs-overflow-button-height: calc( var(--tab-item-height-xl) - var( --luzmo-tabs-divider-size, var(--tabs-divider-size) ) );--tabs-overflow-button-size: var(--tab-item-height-xl);--luzmo-action-button-icon-size: var(--luzmo-font-size-xl);--tabs-overflow-next-button-right: calc( -1 * calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-2)) );--tabs-overflow-previous-button-left: calc( -1 * calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-2)) )}:host([compact]){--tabs-overflow-button-height: calc( var(--tab-item-compact-height-m) - var( --luzmo-tabs-divider-size, var(--tabs-divider-size) ) );--luzmo-action-button-icon-size: var(--luzmo-font-size-s)}luzmo-action-button{width:var(--luzmo-tabs-overflow-button-size, var(--tabs-overflow-button-size));height:var(--luzmo-tabs-overflow-button-height, var(--tabs-overflow-button-height));position:absolute;z-index:2;border:none;text-align:center;box-shadow:none;background:transparent;color:var(--luzmo-tabs-overflow-icon-color, var(--tabs-overflow-icon-color))}luzmo-action-button.left-scroll{visibility:hidden;left:var(--luzmo-tabs-overflow-previous-button-left, var(--tabs-overflow-previous-button-left))}luzmo-action-button.right-scroll{visibility:hidden;right:var(--luzmo-tabs-overflow-next-button-right, var(--tabs-overflow-next-button-right))}luzmo-action-button.left-scroll.show,luzmo-action-button.right-scroll.show{visibility:visible}.tabs-overflow-container{position:relative}.tabs-overflow-container:before,.tabs-overflow-container:after{content:"";visibility:hidden;position:absolute;z-index:1;height:var(--luzmo-tabs-overflow-button-height, var(--tabs-overflow-button-height));width:var(--luzmo-tabs-overflow-shadow-width, var(--tabs-overflow-shadow-width));pointer-events:none;inset-block-start:0}.tabs-overflow-container:before{background:transparent linear-gradient(270deg,transparent,var(--luzmo-tabs-overflow-shadow-color, var(--tabs-overflow-shadow-color))) 0 0 no-repeat padding-box;left:0}.tabs-overflow-container:after{background:transparent linear-gradient(90deg,transparent,var(--luzmo-tabs-overflow-shadow-color, var(--tabs-overflow-shadow-color))) 0 0 no-repeat padding-box;right:0}.tabs-overflow-container.left-shadow:before,.tabs-overflow-container.right-shadow:after{visibility:visible}';
510
- var J = Object.defineProperty, d = (r, t, o, i) => {
511
- for (var e = void 0, a = r.length - 1, s; a >= 0; a--)
512
- (s = r[a]) && (e = s(t, o, e) || e);
513
- return e && J(t, o, e), e;
775
+ ], c.prototype, "selected");
776
+ const wt = ':host{top:0;right:0;bottom:0;left:0;width:100%;--tabs-divider-size: 2px;--tab-item-height-m: calc( var(--luzmo-component-height) + var(--luzmo-spacing-5) );--tabs-overflow-button-height: calc( var(--tab-item-height-m) - var( --luzmo-tabs-divider-size, var(--tabs-divider-size) ) );--tabs-overflow-button-size: var(--tab-item-height-m);--tabs-overflow-icon-color: var(--luzmo-font-color-focus);--tabs-overflow-shadow-color: var(--luzmo-background-color);--tabs-overflow-shadow-width: 50px;--luzmo-action-button-icon-size: var(--luzmo-font-size);--tabs-overflow-next-button-right: calc(-1 * var(--luzmo-spacing-4));--tabs-overflow-previous-button-left: calc(-1 * var(--luzmo-spacing-4))}:host([size=s]){--tab-item-height-s: calc( var(--luzmo-component-height-s) + var(--luzmo-spacing-4) );--tabs-overflow-button-height: calc( var(--tab-item-height-s) - var( --luzmo-tabs-divider-size, var(--tabs-divider-size) ) );--tabs-overflow-button-size: var(--tab-item-height-s);--luzmo-action-button-icon-size: var(--luzmo-font-size-s);--tabs-overflow-next-button-right: calc(-1 * var(--luzmo-spacing-3));--tabs-overflow-previous-button-left: calc(-1 * var(--luzmo-spacing-3))}:host([size=l]){--tab-item-height-l: calc( var(--luzmo-component-height-l) + var(--luzmo-spacing-5) );--tabs-overflow-button-height: calc( var(--tab-item-height-l) - var( --luzmo-tabs-divider-size, var(--tabs-divider-size) ) );--tabs-overflow-button-size: var(--tab-item-height-l);--luzmo-action-button-icon-size: var(--luzmo-font-size-l);--tabs-overflow-next-button-right: calc( -1 * calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1)) );--tabs-overflow-previous-button-left: calc( -1 * calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1)) )}:host([size=xl]){--tab-item-height-xl: calc( var(--luzmo-component-height-xl) + var(--luzmo-spacing-5) );--tabs-overflow-button-height: calc( var(--tab-item-height-xl) - var( --luzmo-tabs-divider-size, var(--tabs-divider-size) ) );--tabs-overflow-button-size: var(--tab-item-height-xl);--luzmo-action-button-icon-size: var(--luzmo-font-size-xl);--tabs-overflow-next-button-right: calc( -1 * calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-2)) );--tabs-overflow-previous-button-left: calc( -1 * calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-2)) )}:host([compact]){--tabs-overflow-button-height: calc( var(--tab-item-compact-height-m) - var( --luzmo-tabs-divider-size, var(--tabs-divider-size) ) );--luzmo-action-button-icon-size: var(--luzmo-font-size-s)}luzmo-action-button{width:var(--luzmo-tabs-overflow-button-size, var(--tabs-overflow-button-size));height:var(--luzmo-tabs-overflow-button-height, var(--tabs-overflow-button-height));position:absolute;z-index:2;border:none;text-align:center;box-shadow:none;background:transparent;color:var(--luzmo-tabs-overflow-icon-color, var(--tabs-overflow-icon-color))}luzmo-action-button.left-scroll{visibility:hidden;left:var(--luzmo-tabs-overflow-previous-button-left, var(--tabs-overflow-previous-button-left))}luzmo-action-button.right-scroll{visibility:hidden;right:var(--luzmo-tabs-overflow-next-button-right, var(--tabs-overflow-next-button-right))}luzmo-action-button.left-scroll.show,luzmo-action-button.right-scroll.show{visibility:visible}.tabs-overflow-container{position:relative}.tabs-overflow-container:before,.tabs-overflow-container:after{content:"";visibility:hidden;position:absolute;z-index:1;height:var(--luzmo-tabs-overflow-button-height, var(--tabs-overflow-button-height));width:var(--luzmo-tabs-overflow-shadow-width, var(--tabs-overflow-shadow-width));pointer-events:none;inset-block-start:0}.tabs-overflow-container:before{background:transparent linear-gradient(270deg,transparent,var(--luzmo-tabs-overflow-shadow-color, var(--tabs-overflow-shadow-color))) 0 0 no-repeat padding-box;left:0}.tabs-overflow-container:after{background:transparent linear-gradient(90deg,transparent,var(--luzmo-tabs-overflow-shadow-color, var(--tabs-overflow-shadow-color))) 0 0 no-repeat padding-box;right:0}.tabs-overflow-container.left-shadow:before,.tabs-overflow-container.right-shadow:after{visibility:visible}';
777
+ var St = Object.defineProperty, m = (s, t, o, e) => {
778
+ for (var i = void 0, a = s.length - 1, r; a >= 0; a--)
779
+ (r = s[a]) && (i = r(t, o, i) || i);
780
+ return i && St(t, o, i), i;
514
781
  };
515
- class u extends T(g) {
782
+ class h extends D(C) {
516
783
  constructor() {
517
784
  super(), this.compact = !1, this.labelPrevious = "Scroll to previous tabs", this.labelNext = "Scroll to next tabs", this.overflowState = {
518
785
  canScrollLeft: !1,
519
786
  canScrollRight: !1
520
- }, this.scrollFactor = 0.5, this.resizeController = new $(this, {
787
+ }, this.scrollFactor = 0.5, this.resizeController = new B(this, {
521
788
  target: this,
522
789
  callback: () => {
523
790
  this._updateScrollState();
@@ -525,7 +792,7 @@ class u extends T(g) {
525
792
  });
526
793
  }
527
794
  static get styles() {
528
- return [b(V), b(I)];
795
+ return [v(wt), v(N)];
529
796
  }
530
797
  get scrollContent() {
531
798
  return this.tabs;
@@ -542,58 +809,58 @@ class u extends T(g) {
542
809
  _updateScrollState() {
543
810
  const { scrollContent: t, overflowState: o } = this;
544
811
  if (t) {
545
- const [i] = this.scrollContent, { canScrollLeft: e, canScrollRight: a } = (i == null ? void 0 : i.scrollState) || {
812
+ const [e] = this.scrollContent, { canScrollLeft: i, canScrollRight: a } = (e == null ? void 0 : e.scrollState) || {
546
813
  canScrollLeft: !1,
547
814
  canScrollRight: !1
548
815
  };
549
816
  this.overflowState = {
550
817
  ...o,
551
- canScrollLeft: e,
818
+ canScrollLeft: i,
552
819
  canScrollRight: a
553
820
  };
554
821
  }
555
822
  }
556
823
  _handleScrollClick(t) {
557
- const o = t.currentTarget, [i] = this.scrollContent, e = i.clientWidth * this.scrollFactor, a = o.classList.contains("left-scroll") ? -e : e;
558
- i.scrollTabs(a, "smooth");
824
+ const o = t.currentTarget, [e] = this.scrollContent, i = e.clientWidth * this.scrollFactor, a = o.classList.contains("left-scroll") ? -i : i;
825
+ e.scrollTabs(a, "smooth");
559
826
  }
560
827
  updated(t) {
561
828
  super.updated(t), t.has("dir") && this._updateScrollState();
562
829
  }
563
830
  render() {
564
- const { canScrollRight: t, canScrollLeft: o } = this.overflowState, i = this.labelPrevious, e = this.labelNext;
565
- return v`
831
+ const { canScrollRight: t, canScrollLeft: o } = this.overflowState, e = this.labelPrevious, i = this.labelNext;
832
+ return x`
566
833
  <div
567
- class=${p({
834
+ class=${S({
568
835
  "tabs-overflow-container": !0,
569
836
  "left-shadow": o,
570
837
  "right-shadow": t
571
838
  })}
572
839
  >
573
840
  <luzmo-action-button
574
- class=${p({
841
+ class=${S({
575
842
  "left-scroll": !0,
576
843
  show: o
577
844
  })}
578
- aria-label=${i}
845
+ aria-label=${e}
579
846
  quiet
580
847
  dir="rtl"
581
848
  tabindex="-1"
582
849
  @click=${this._handleScrollClick}
583
850
  >
584
- <luzmo-icon slot="icon" .icon=${F}></luzmo-icon>
851
+ <luzmo-icon slot="icon" .icon=${Z}></luzmo-icon>
585
852
  </luzmo-action-button>
586
853
  <luzmo-action-button
587
- class=${p({
854
+ class=${S({
588
855
  "right-scroll": !0,
589
856
  show: t
590
857
  })}
591
- aria-label=${e}
858
+ aria-label=${i}
592
859
  quiet
593
860
  tabindex="-1"
594
861
  @click=${this._handleScrollClick}
595
862
  >
596
- <luzmo-icon slot="icon" .icon=${O}></luzmo-icon>
863
+ <luzmo-icon slot="icon" .icon=${tt}></luzmo-icon>
597
864
  </luzmo-action-button>
598
865
  <slot
599
866
  @slotchange=${this._handleSlotChange}
@@ -603,34 +870,34 @@ class u extends T(g) {
603
870
  `;
604
871
  }
605
872
  }
606
- d([
873
+ m([
607
874
  l({ type: Boolean, reflect: !0 })
608
- ], u.prototype, "compact");
609
- d([
875
+ ], h.prototype, "compact");
876
+ m([
610
877
  l({ type: String, attribute: "label-previous" })
611
- ], u.prototype, "labelPrevious");
612
- d([
878
+ ], h.prototype, "labelPrevious");
879
+ m([
613
880
  l({ type: String, attribute: "label-next" })
614
- ], u.prototype, "labelNext");
615
- d([
881
+ ], h.prototype, "labelNext");
882
+ m([
616
883
  l({ reflect: !0 })
617
- ], u.prototype, "dir");
618
- d([
619
- R()
620
- ], u.prototype, "overflowState");
621
- d([
622
- D({ selector: "luzmo-tabs", flatten: !0 })
623
- ], u.prototype, "tabs");
624
- d([
625
- x(".tabs-overflow-container")
626
- ], u.prototype, "overflowContainer");
627
- customElements.get("luzmo-tab") || customElements.define("luzmo-tab", h);
628
- customElements.get("luzmo-tabs") || customElements.define("luzmo-tabs", n);
629
- customElements.get("luzmo-tab-panel") || customElements.define("luzmo-tab-panel", w);
630
- customElements.get("luzmo-tabs-overflow") || customElements.define("luzmo-tabs-overflow", u);
884
+ ], h.prototype, "dir");
885
+ m([
886
+ V()
887
+ ], h.prototype, "overflowState");
888
+ m([
889
+ G({ selector: "luzmo-tabs", flatten: !0 })
890
+ ], h.prototype, "tabs");
891
+ m([
892
+ _(".tabs-overflow-container")
893
+ ], h.prototype, "overflowContainer");
894
+ customElements.get("luzmo-tab") || customElements.define("luzmo-tab", f);
895
+ customElements.get("luzmo-tabs") || customElements.define("luzmo-tabs", c);
896
+ customElements.get("luzmo-tab-panel") || customElements.define("luzmo-tab-panel", T);
897
+ customElements.get("luzmo-tabs-overflow") || customElements.define("luzmo-tabs-overflow", h);
631
898
  export {
632
- h as LuzmoTab,
633
- w as LuzmoTabPanel,
634
- n as LuzmoTabs,
635
- u as LuzmoTabsOverflow
899
+ f as LuzmoTab,
900
+ T as LuzmoTabPanel,
901
+ c as LuzmoTabs,
902
+ h as LuzmoTabsOverflow
636
903
  };