@andespindola/ui-core 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/dist/cjs/ui-accordion-item.cjs.entry.js +2 -2
  2. package/dist/cjs/ui-accordion.cjs.entry.js +1 -1
  3. package/dist/cjs/ui-avatar.cjs.entry.js +1 -1
  4. package/dist/cjs/ui-card.cjs.entry.js +2 -2
  5. package/dist/cjs/ui-checkbox.cjs.entry.js +1 -1
  6. package/dist/cjs/ui-dialog.cjs.entry.js +1 -1
  7. package/dist/cjs/ui-drawer.cjs.entry.js +1 -1
  8. package/dist/cjs/ui-dropdown-item.cjs.entry.js +1 -1
  9. package/dist/cjs/ui-dropdown-menu.cjs.entry.js +1 -1
  10. package/dist/cjs/ui-field.cjs.entry.js +1 -1
  11. package/dist/cjs/ui-input.cjs.entry.js +1 -1
  12. package/dist/cjs/ui-label.cjs.entry.js +1 -1
  13. package/dist/cjs/ui-popover.cjs.entry.js +1 -1
  14. package/dist/cjs/ui-progress.cjs.entry.js +2 -2
  15. package/dist/cjs/ui-reveal.cjs.entry.js +1 -1
  16. package/dist/cjs/ui-scroll-progress.cjs.entry.js +1 -1
  17. package/dist/cjs/ui-section.cjs.entry.js +2 -2
  18. package/dist/cjs/ui-select.cjs.entry.js +1 -1
  19. package/dist/cjs/ui-skeleton.cjs.entry.js +2 -2
  20. package/dist/cjs/ui-slider.cjs.entry.js +1 -1
  21. package/dist/cjs/ui-switch.cjs.entry.js +1 -1
  22. package/dist/cjs/ui-tabs.cjs.entry.js +2 -2
  23. package/dist/cjs/ui-textarea.cjs.entry.js +2 -2
  24. package/dist/cjs/ui-theme-toggle.cjs.entry.js +1 -1
  25. package/dist/cjs/ui-toast.cjs.entry.js +1 -1
  26. package/dist/cjs/ui-toaster.cjs.entry.js +1 -1
  27. package/dist/cjs/ui-tooltip.cjs.entry.js +2 -2
  28. package/dist/collection/components/ui-accordion/ui-accordion.js +1 -1
  29. package/dist/collection/components/ui-accordion-item/ui-accordion-item.css +8 -0
  30. package/dist/collection/components/ui-accordion-item/ui-accordion-item.js +1 -1
  31. package/dist/collection/components/ui-avatar/ui-avatar.js +1 -1
  32. package/dist/collection/components/ui-card/ui-card.css +17 -3
  33. package/dist/collection/components/ui-card/ui-card.js +1 -1
  34. package/dist/collection/components/ui-checkbox/ui-checkbox.js +1 -1
  35. package/dist/collection/components/ui-dialog/ui-dialog.js +1 -1
  36. package/dist/collection/components/ui-drawer/ui-drawer.js +1 -1
  37. package/dist/collection/components/ui-dropdown-item/ui-dropdown-item.js +1 -1
  38. package/dist/collection/components/ui-dropdown-menu/ui-dropdown-menu.js +1 -1
  39. package/dist/collection/components/ui-field/ui-field.js +1 -1
  40. package/dist/collection/components/ui-input/ui-input.js +1 -1
  41. package/dist/collection/components/ui-label/ui-label.js +1 -1
  42. package/dist/collection/components/ui-popover/ui-popover.js +1 -1
  43. package/dist/collection/components/ui-progress/ui-progress.css +9 -4
  44. package/dist/collection/components/ui-progress/ui-progress.js +1 -1
  45. package/dist/collection/components/ui-reveal/ui-reveal.js +1 -1
  46. package/dist/collection/components/ui-scroll-progress/ui-scroll-progress.js +1 -1
  47. package/dist/collection/components/ui-section/ui-section.css +12 -5
  48. package/dist/collection/components/ui-section/ui-section.js +1 -1
  49. package/dist/collection/components/ui-select/ui-select.css +4 -0
  50. package/dist/collection/components/ui-skeleton/ui-skeleton.css +9 -6
  51. package/dist/collection/components/ui-skeleton/ui-skeleton.js +1 -1
  52. package/dist/collection/components/ui-slider/ui-slider.js +1 -1
  53. package/dist/collection/components/ui-switch/ui-switch.js +1 -1
  54. package/dist/collection/components/ui-tabs/ui-tabs.css +12 -0
  55. package/dist/collection/components/ui-tabs/ui-tabs.js +1 -1
  56. package/dist/collection/components/ui-textarea/ui-textarea.css +4 -0
  57. package/dist/collection/components/ui-textarea/ui-textarea.js +1 -1
  58. package/dist/collection/components/ui-theme-toggle/ui-theme-toggle.js +1 -1
  59. package/dist/collection/components/ui-toast/ui-toast.js +1 -1
  60. package/dist/collection/components/ui-toaster/ui-toaster.js +1 -1
  61. package/dist/collection/components/ui-tooltip/ui-tooltip.css +5 -4
  62. package/dist/collection/components/ui-tooltip/ui-tooltip.js +1 -1
  63. package/dist/components/{p-C8ePpPG3.js → p-fApcMAzN.js} +1 -1
  64. package/dist/components/ui-accordion-item.js +1 -1
  65. package/dist/components/ui-accordion.js +1 -1
  66. package/dist/components/ui-avatar.js +1 -1
  67. package/dist/components/ui-card.js +1 -1
  68. package/dist/components/ui-checkbox.js +1 -1
  69. package/dist/components/ui-dialog.js +1 -1
  70. package/dist/components/ui-drawer.js +1 -1
  71. package/dist/components/ui-dropdown-item.js +1 -1
  72. package/dist/components/ui-dropdown-menu.js +1 -1
  73. package/dist/components/ui-field.js +1 -1
  74. package/dist/components/ui-input.js +1 -1
  75. package/dist/components/ui-label.js +1 -1
  76. package/dist/components/ui-popover.js +1 -1
  77. package/dist/components/ui-progress.js +1 -1
  78. package/dist/components/ui-reveal.js +1 -1
  79. package/dist/components/ui-scroll-progress.js +1 -1
  80. package/dist/components/ui-section.js +1 -1
  81. package/dist/components/ui-select.js +1 -1
  82. package/dist/components/ui-skeleton.js +1 -1
  83. package/dist/components/ui-slider.js +1 -1
  84. package/dist/components/ui-switch.js +1 -1
  85. package/dist/components/ui-tabs.js +1 -1
  86. package/dist/components/ui-textarea.js +1 -1
  87. package/dist/components/ui-theme-toggle.js +1 -1
  88. package/dist/components/ui-toast.js +1 -1
  89. package/dist/components/ui-toaster.js +1 -1
  90. package/dist/components/ui-tooltip.js +1 -1
  91. package/dist/esm/ui-accordion-item.entry.js +2 -2
  92. package/dist/esm/ui-accordion.entry.js +1 -1
  93. package/dist/esm/ui-avatar.entry.js +1 -1
  94. package/dist/esm/ui-card.entry.js +2 -2
  95. package/dist/esm/ui-checkbox.entry.js +1 -1
  96. package/dist/esm/ui-dialog.entry.js +1 -1
  97. package/dist/esm/ui-drawer.entry.js +1 -1
  98. package/dist/esm/ui-dropdown-item.entry.js +1 -1
  99. package/dist/esm/ui-dropdown-menu.entry.js +1 -1
  100. package/dist/esm/ui-field.entry.js +1 -1
  101. package/dist/esm/ui-input.entry.js +1 -1
  102. package/dist/esm/ui-label.entry.js +1 -1
  103. package/dist/esm/ui-popover.entry.js +1 -1
  104. package/dist/esm/ui-progress.entry.js +2 -2
  105. package/dist/esm/ui-reveal.entry.js +1 -1
  106. package/dist/esm/ui-scroll-progress.entry.js +1 -1
  107. package/dist/esm/ui-section.entry.js +2 -2
  108. package/dist/esm/ui-select.entry.js +1 -1
  109. package/dist/esm/ui-skeleton.entry.js +2 -2
  110. package/dist/esm/ui-slider.entry.js +1 -1
  111. package/dist/esm/ui-switch.entry.js +1 -1
  112. package/dist/esm/ui-tabs.entry.js +2 -2
  113. package/dist/esm/ui-textarea.entry.js +2 -2
  114. package/dist/esm/ui-theme-toggle.entry.js +1 -1
  115. package/dist/esm/ui-toast.entry.js +1 -1
  116. package/dist/esm/ui-toaster.entry.js +1 -1
  117. package/dist/esm/ui-tooltip.entry.js +2 -2
  118. package/dist/uikit/{p-8bcd423c.entry.js → p-0096eefe.entry.js} +1 -1
  119. package/dist/uikit/{p-0fb4949b.entry.js → p-11350db1.entry.js} +1 -1
  120. package/dist/uikit/p-128ae3e4.entry.js +1 -0
  121. package/dist/uikit/p-280337b0.entry.js +1 -0
  122. package/dist/uikit/{p-8cebbe65.entry.js → p-29fe5b7f.entry.js} +1 -1
  123. package/dist/uikit/p-32df7fd0.entry.js +1 -0
  124. package/dist/uikit/{p-f7402442.entry.js → p-38cbea54.entry.js} +1 -1
  125. package/dist/uikit/p-3c866608.entry.js +1 -0
  126. package/dist/uikit/{p-9d784b04.entry.js → p-5555523c.entry.js} +1 -1
  127. package/dist/uikit/{p-9e7b81ef.entry.js → p-58ed99a2.entry.js} +1 -1
  128. package/dist/uikit/p-6fa4be86.entry.js +1 -0
  129. package/dist/uikit/{p-c72ed105.entry.js → p-777c6902.entry.js} +1 -1
  130. package/dist/uikit/{p-4382718f.entry.js → p-777d8c7a.entry.js} +1 -1
  131. package/dist/uikit/p-7b2a9e68.entry.js +1 -0
  132. package/dist/uikit/{p-5df32809.entry.js → p-8a238373.entry.js} +1 -1
  133. package/dist/uikit/{p-b61e3df4.entry.js → p-97de6ea6.entry.js} +1 -1
  134. package/dist/uikit/p-9b43d670.entry.js +1 -0
  135. package/dist/uikit/{p-e410c789.entry.js → p-9f0d4ae1.entry.js} +1 -1
  136. package/dist/uikit/{p-629c1728.entry.js → p-a0ccdb22.entry.js} +1 -1
  137. package/dist/uikit/p-b0aba484.entry.js +1 -0
  138. package/dist/uikit/p-cf56c9ba.entry.js +1 -0
  139. package/dist/uikit/p-d13860dc.entry.js +1 -0
  140. package/dist/uikit/p-d6c9bfbc.entry.js +1 -0
  141. package/dist/uikit/p-d8e7ae10.entry.js +1 -0
  142. package/dist/uikit/{p-3d30bc7a.entry.js → p-e0652ddf.entry.js} +1 -1
  143. package/dist/uikit/{p-90d49509.entry.js → p-e54139a1.entry.js} +1 -1
  144. package/dist/uikit/p-ed1111eb.entry.js +1 -0
  145. package/dist/uikit/uikit.esm.js +1 -1
  146. package/package.json +1 -1
  147. package/dist/uikit/p-06d6d907.entry.js +0 -1
  148. package/dist/uikit/p-162302d1.entry.js +0 -1
  149. package/dist/uikit/p-19b81437.entry.js +0 -1
  150. package/dist/uikit/p-57058c30.entry.js +0 -1
  151. package/dist/uikit/p-5ea42ee5.entry.js +0 -1
  152. package/dist/uikit/p-76f0f79f.entry.js +0 -1
  153. package/dist/uikit/p-94fb298e.entry.js +0 -1
  154. package/dist/uikit/p-9f7c6ca8.entry.js +0 -1
  155. package/dist/uikit/p-a7be1c69.entry.js +0 -1
  156. package/dist/uikit/p-b30aa6a6.entry.js +0 -1
  157. package/dist/uikit/p-cb2adfb7.entry.js +0 -1
  158. package/dist/uikit/p-cf10ca3b.entry.js +0 -1
  159. package/dist/uikit/p-fd1648bf.entry.js +0 -1
@@ -1,7 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class UiLabel {
3
3
  render() {
4
- return (h(Host, { key: 'bb726d8b26a82776e688532b6fbe69c178308c75' }, h("label", { key: 'bfd33ad1561fcee62395be37e83894cdce0ec259', class: "label" }, h("slot", { key: 'c0ac5938df3aea7219a59caf46cb7cd152046770' }))));
4
+ return (h(Host, { key: '5ded9464de8fe01a6bb830f4de51975cfd720746' }, h("label", { key: '1a14229c5e511eac3cb4244f546aee71a4f5d399', class: "label" }, h("slot", { key: '7c5def32e92ffdc6dcb1b83c044f5199957f5951' }))));
5
5
  }
6
6
  static get is() { return "ui-label"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -73,7 +73,7 @@ export class UiPopover {
73
73
  this.cleanup = undefined;
74
74
  }
75
75
  render() {
76
- return (h(Host, { key: '193a3f6fb440dc2da1837c2387511d38f71e7da3' }, h("span", { key: '8732b0b40340e39ac26b80e38864438cf9bf01cc', class: "trigger", ref: (el) => (this.triggerEl = el), onClick: this.onTriggerClick }, h("slot", { key: 'd51743b5fa62e8fd5c5639ba2d9681caa8556fb0', name: "trigger" })), h("div", { key: 'a2ae9fd5bb67dc1ad4243ac478ecc11cb4c28665', class: { panel: true, "is-open": this.open }, ref: (el) => (this.floatingEl = el) }, h("slot", { key: '655d8b979962d25dabe8497516be51199ce16452' }))));
76
+ return (h(Host, { key: '583667abe2df75e7c9e058b7a668661527ec0b8a' }, h("span", { key: '46eaca2ca8c70acff629ccc5c3c201b42136c30d', class: "trigger", ref: (el) => (this.triggerEl = el), onClick: this.onTriggerClick }, h("slot", { key: 'd81cf859a9887d3b6964ac8e67829cf1a84c58b2', name: "trigger" })), h("div", { key: 'da09ed4fa3eee00ef72fb4c0eba6f0a1b827df15', class: { panel: true, "is-open": this.open }, ref: (el) => (this.floatingEl = el) }, h("slot", { key: 'f2483196e778a14fbe1d537dd7a3c8a6453c0daf' }))));
77
77
  }
78
78
  static get is() { return "ui-popover"; }
79
79
  static get encapsulation() { return "shadow"; }
@@ -7,26 +7,31 @@
7
7
  height: 0.5rem;
8
8
  border-radius: var(--ui-radius-full);
9
9
  background: var(--ui-chip);
10
+ border: 1px solid var(--ui-border);
10
11
  overflow: hidden;
12
+ box-sizing: border-box;
11
13
  }
12
14
 
13
15
  .indicator {
14
16
  height: 100%;
17
+ min-width: 0.5rem;
15
18
  border-radius: var(--ui-radius-full);
16
- background: var(--ui-accent);
19
+ background: linear-gradient(90deg, var(--ui-accent), var(--ui-accent-strong));
20
+ box-shadow: 0 0 12px color-mix(in srgb, var(--ui-accent) 55%, transparent);
17
21
  transition: width var(--ui-duration) var(--ui-ease);
18
22
  }
19
23
 
20
24
  .indicator.indeterminate {
21
25
  width: 40%;
22
- animation: ui-progress-slide 1.2s ease-in-out infinite;
26
+ min-width: 0;
27
+ animation: ui-progress-slide 1.3s var(--ui-ease) infinite;
23
28
  }
24
29
 
25
30
  @keyframes ui-progress-slide {
26
31
  0% {
27
- transform: translateX(-100%);
32
+ transform: translateX(-110%);
28
33
  }
29
34
  100% {
30
- transform: translateX(250%);
35
+ transform: translateX(360%);
31
36
  }
32
37
  }
@@ -19,7 +19,7 @@ export class UiProgress {
19
19
  }
20
20
  render() {
21
21
  const determinate = !this.isIndeterminate;
22
- return (h(Host, { key: '0be3e6f551bf5401e033a7faba2787eb4166eb0a', role: "progressbar", "aria-valuenow": determinate ? String(this.value) : undefined, "aria-valuemin": determinate ? "0" : undefined, "aria-valuemax": determinate ? String(this.max) : undefined }, h("div", { key: '89151bf96326053ce60b71a2f2f9b6c13d721e39', class: "track" }, h("div", { key: '2cdf8f8cbbe7729813e8e78b671fc43b7ebec153', class: { indicator: true, indeterminate: this.isIndeterminate }, style: determinate ? { width: `${this.percent}%` } : undefined }))));
22
+ return (h(Host, { key: '66c467df7d762604b0da866268ea75bce4499472', role: "progressbar", "aria-valuenow": determinate ? String(this.value) : undefined, "aria-valuemin": determinate ? "0" : undefined, "aria-valuemax": determinate ? String(this.max) : undefined }, h("div", { key: 'fab67d49344ddd90fbca231212a495c7d2d7a0b1', class: "track" }, h("div", { key: 'dfbd8b412ad24a297e3dacfabd646b812066421e', class: { indicator: true, indeterminate: this.isIndeterminate }, style: determinate ? { width: `${this.percent}%` } : undefined }))));
23
23
  }
24
24
  static get is() { return "ui-progress"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -26,7 +26,7 @@ export class UiReveal {
26
26
  this.observer?.disconnect();
27
27
  }
28
28
  render() {
29
- return (h(Host, { key: '926e1c25b8463f92dc35a010d58b9bd622932c21' }, h("div", { key: '0561142e1b0955e22d12056f316c98556cb5365d', class: { reveal: true, visible: this.visible }, style: { transitionDelay: `${this.delay}ms` } }, h("slot", { key: 'bd53a6ca33153d3f7768a7662e5e5b78ea221cc6' }))));
29
+ return (h(Host, { key: '0af93c131bf8564bf952ca61637041089b5c34b7' }, h("div", { key: '94a0fc0cf5445b9832994c19eb5600f6227ccc97', class: { reveal: true, visible: this.visible }, style: { transitionDelay: `${this.delay}ms` } }, h("slot", { key: '2a47e0af589790cbe5cfbc10ef49ffde1aced931' }))));
30
30
  }
31
31
  static get is() { return "ui-reveal"; }
32
32
  static get encapsulation() { return "shadow"; }
@@ -23,7 +23,7 @@ export class UiScrollProgress {
23
23
  window.removeEventListener("scroll", this.onScroll);
24
24
  }
25
25
  render() {
26
- return (h(Host, { key: '7eced0439a2d6ef04d085396a6fc0e69fbe798ed' }, h("div", { key: '30db3ea1a3fce2a26ebca96568e939c4a0183922', class: "bar", role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-valuenow": Math.round(this.progress * 100), style: { transform: `scaleX(${this.progress})` } })));
26
+ return (h(Host, { key: '36bb4460d8219c028ff63216ef562f0d157fd04d' }, h("div", { key: '345b9675be89ede7875c56ad3f86ae2eecdf4f16', class: "bar", role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-valuenow": Math.round(this.progress * 100), style: { transform: `scaleX(${this.progress})` } })));
27
27
  }
28
28
  static get is() { return "ui-scroll-progress"; }
29
29
  static get encapsulation() { return "shadow"; }
@@ -6,22 +6,29 @@
6
6
  section {
7
7
  max-width: 80rem;
8
8
  margin: 0 auto;
9
- padding: 5rem 1.25rem;
9
+ padding: 3.5rem 1.5rem;
10
10
  }
11
11
 
12
12
  .eyebrow {
13
+ display: inline-block;
13
14
  margin: 0 0 0.75rem;
15
+ padding: 0.25rem 0.625rem;
16
+ border: 1px solid var(--ui-border);
17
+ border-radius: var(--ui-radius-full);
18
+ background: var(--ui-chip);
14
19
  text-transform: uppercase;
15
- letter-spacing: 0.08em;
16
- font-size: 0.75rem;
20
+ letter-spacing: 0.12em;
21
+ font-size: 0.6875rem;
17
22
  font-weight: 600;
18
23
  color: var(--ui-accent);
19
24
  }
20
25
 
21
26
  .heading {
22
- margin: 0 0 1rem;
23
- font-size: 1.875rem;
27
+ margin: 0 0 0.75rem;
28
+ font-size: 2.25rem;
24
29
  font-weight: 600;
30
+ letter-spacing: -0.02em;
31
+ line-height: 1.1;
25
32
  color: var(--ui-foreground);
26
33
  }
27
34
 
@@ -9,7 +9,7 @@ export class UiSection {
9
9
  this.description = "";
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: '63ee126b1e457a4dcd01a66aa519e6fae8377db6' }, h("section", { key: '34f3c07dca2e9f6a3c288b7c41abaf2a3502129f' }, this.eyebrow && h("p", { key: '7c71e3e38e56872757d017ba4f59949f50518c6f', class: "eyebrow" }, this.eyebrow), this.heading && h("h2", { key: 'b8f42a4ae5d2e5d8fb80a4cb9de07ca10c2423fd', class: "heading" }, this.heading), this.description && h("p", { key: 'faeba9733afaa52e7a08629459dd708b4f647740', class: "description" }, this.description), h("slot", { key: '99e906d4ca93461c35125acb4eb3401ed76929fe' }))));
12
+ return (h(Host, { key: '17a6e52fb6d1822d7a8a08eef052d972cc322c0a' }, h("section", { key: '228e9c1e4ca2515f585cafa2684932bfac70a25b' }, this.eyebrow && h("p", { key: '93c307b49c39fe2c0b2363d75c9763b3c09446a5', class: "eyebrow" }, this.eyebrow), this.heading && h("h2", { key: '889c652e358f1788c5785f1154f5a45508fa2a61', class: "heading" }, this.heading), this.description && h("p", { key: '09cb09edfbc0dce2b7fd5e9938cafc63e2ddbd9a', class: "description" }, this.description), h("slot", { key: '4f480d0c56263f1e38909e8af8d7cd8d8c2375fe' }))));
13
13
  }
14
14
  static get is() { return "ui-section"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -27,6 +27,10 @@
27
27
  appearance: none;
28
28
  }
29
29
 
30
+ .select:hover:not(:disabled) {
31
+ border-color: var(--ui-border-strong);
32
+ }
33
+
30
34
  .select:focus-visible {
31
35
  border-color: var(--ui-accent);
32
36
  box-shadow: 0 0 0 2px var(--ui-ring);
@@ -6,22 +6,25 @@
6
6
  display: block;
7
7
  width: 100%;
8
8
  height: 100%;
9
+ min-height: 1rem;
9
10
  border-radius: var(--ui-radius-sm);
10
- background: linear-gradient(
11
+ background-color: var(--ui-chip);
12
+ background-image: linear-gradient(
11
13
  90deg,
12
- var(--ui-chip),
13
- var(--ui-panel),
14
- var(--ui-chip)
14
+ transparent,
15
+ color-mix(in srgb, var(--ui-foreground) 12%, transparent),
16
+ transparent
15
17
  );
16
18
  background-size: 200% 100%;
19
+ background-repeat: no-repeat;
17
20
  animation: ui-skeleton-shimmer 1.5s ease-in-out infinite;
18
21
  }
19
22
 
20
23
  @keyframes ui-skeleton-shimmer {
21
24
  0% {
22
- background-position: 200% 0;
25
+ background-position: -150% 0;
23
26
  }
24
27
  100% {
25
- background-position: -200% 0;
28
+ background-position: 150% 0;
26
29
  }
27
30
  }
@@ -1,7 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class UiSkeleton {
3
3
  render() {
4
- return (h(Host, { key: '19b59c75e9ff1607c731227bd344a0d082de5366' }, h("span", { key: '6eb968b5bd87768818381db897a090a2783ad938', class: "skeleton" })));
4
+ return (h(Host, { key: 'a7ce8aa1c475aaa92353b0eb6bad5ded231a5cd1' }, h("span", { key: '0611976380d3fb93d1ac64bfdc5d4686568c5129', class: "skeleton" })));
5
5
  }
6
6
  static get is() { return "ui-skeleton"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -21,7 +21,7 @@ export class UiSlider {
21
21
  };
22
22
  }
23
23
  render() {
24
- return (h(Host, { key: 'dc7f810ebfdde28731d2e1c491596caf03c2476e' }, h("input", { key: 'cac37f559b5587d18fee732e11d6515d57d23466', class: "slider", type: "range", min: this.min, max: this.max, step: this.step, value: this.value, disabled: this.disabled, onInput: this.onInput, onChange: this.onChange })));
24
+ return (h(Host, { key: '08226142947909bff3ccecd5fc780d75515c2ee2' }, h("input", { key: '192bd60cd8b0c1e8d6029272fd317c0d786b36ca', class: "slider", type: "range", min: this.min, max: this.max, step: this.step, value: this.value, disabled: this.disabled, onInput: this.onInput, onChange: this.onChange })));
25
25
  }
26
26
  static get is() { return "ui-slider"; }
27
27
  static get encapsulation() { return "shadow"; }
@@ -19,7 +19,7 @@ export class UiSwitch {
19
19
  };
20
20
  }
21
21
  render() {
22
- return (h(Host, { key: '495f30df67c0277471c4d01920f5608700943132' }, h("button", { key: '8327f2d141877994b6ddd3ba8b474e816cb2f949', class: "switch", type: "button", role: "switch", "aria-checked": this.checked ? "true" : "false", disabled: this.disabled, onClick: this.toggle, onKeyDown: this.onKeyDown }, h("span", { key: 'e91d3ffd7b8fdfb1a64f96746c5a396ecaecb882', class: "thumb" }))));
22
+ return (h(Host, { key: '0650dcb564622448421a576b17093cfeeb7a3a6d' }, h("button", { key: '09e705ce9642f4c11b84bc876577b9e55dab1e52', class: "switch", type: "button", role: "switch", "aria-checked": this.checked ? "true" : "false", disabled: this.disabled, onClick: this.toggle, onKeyDown: this.onKeyDown }, h("span", { key: 'd237bee4724d5f9a199f4794217d1528c074caac', class: "thumb" }))));
23
23
  }
24
24
  static get is() { return "ui-switch"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -32,7 +32,19 @@
32
32
  box-shadow: 0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring);
33
33
  }
34
34
 
35
+ .tab:hover:not(.active) {
36
+ color: var(--ui-foreground);
37
+ }
38
+
35
39
  .tab.active {
36
40
  background: var(--ui-panel-strong);
37
41
  color: var(--ui-foreground);
42
+ box-shadow: var(--ui-shadow-sm);
43
+ }
44
+
45
+ .panel {
46
+ margin-top: 1.25rem;
47
+ color: var(--ui-text-soft);
48
+ font-size: 0.9375rem;
49
+ line-height: 1.5;
38
50
  }
@@ -16,7 +16,7 @@ export class UiTabs {
16
16
  return (h(Host, { key: '8828dc9385a8c206a751e39fda9869116dda3001' }, h("div", { key: '8e13dc53f1c03da5a52adb8ec86da91c78c502b2', class: "tablist", role: "tablist" }, this.items.map((item) => {
17
17
  const active = item.value === this.value;
18
18
  return (h("button", { key: item.value, class: { tab: true, active }, type: "button", role: "tab", "aria-selected": active ? "true" : "false", onClick: () => this.select(item.value) }, item.label));
19
- })), h("slot", { key: '1cd08dfe5ae2e2b6bf55eb90cb55f2c757c5589f', name: this.value })));
19
+ })), h("div", { key: '1e46e18417426af6053490cde8e7637e4bae7855', class: "panel", role: "tabpanel" }, h("slot", { key: 'efb63794fca013a54a1b2f261c4a72cd18ce3ef0', name: this.value }))));
20
20
  }
21
21
  static get is() { return "ui-tabs"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -24,6 +24,10 @@
24
24
  color: var(--ui-text-faint);
25
25
  }
26
26
 
27
+ .textarea:hover:not(:disabled) {
28
+ border-color: var(--ui-border-strong);
29
+ }
30
+
27
31
  .textarea:focus-visible {
28
32
  border-color: var(--ui-accent);
29
33
  box-shadow: 0 0 0 2px var(--ui-ring);
@@ -19,7 +19,7 @@ export class UiTextarea {
19
19
  };
20
20
  }
21
21
  render() {
22
- return (h(Host, { key: '9dfb606e8b193b4ce3cc9f085454ff849892e838' }, h("textarea", { key: '0f4aa4078cae931c3e246613d51645162673b7d5', class: { textarea: true, invalid: this.invalid }, name: this.name, rows: this.rows, placeholder: this.placeholder, disabled: this.disabled, "aria-invalid": this.invalid ? "true" : null, onInput: this.onInput, onChange: this.onChange }, this.value)));
22
+ return (h(Host, { key: 'f0bafb6320cd48642dac3b5f1e07399f88a78b03' }, h("textarea", { key: 'fc99c0b899dd17477928b9f38273fd822d46935b', class: { textarea: true, invalid: this.invalid }, name: this.name, rows: this.rows, placeholder: this.placeholder, disabled: this.disabled, "aria-invalid": this.invalid ? "true" : null, onInput: this.onInput, onChange: this.onChange }, this.value)));
23
23
  }
24
24
  static get is() { return "ui-textarea"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -50,7 +50,7 @@ export class UiThemeToggle {
50
50
  return (h("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("circle", { cx: "12", cy: "12", r: "4" }), h("line", { x1: "12", y1: "2", x2: "12", y2: "4" }), h("line", { x1: "12", y1: "20", x2: "12", y2: "22" }), h("line", { x1: "2", y1: "12", x2: "4", y2: "12" }), h("line", { x1: "20", y1: "12", x2: "22", y2: "12" }), h("line", { x1: "4.93", y1: "4.93", x2: "6.34", y2: "6.34" }), h("line", { x1: "17.66", y1: "17.66", x2: "19.07", y2: "19.07" }), h("line", { x1: "4.93", y1: "19.07", x2: "6.34", y2: "17.66" }), h("line", { x1: "17.66", y1: "6.34", x2: "19.07", y2: "4.93" })));
51
51
  }
52
52
  render() {
53
- return (h(Host, { key: 'f4bbcb8298cf3dbc50c31a816e97b32b45a115a4' }, h("button", { key: 'f86adcf499252f07d2aaae4c6b07cf0d4bcb4c01', class: "toggle", type: "button", "aria-label": this.isDark ? "Ativar tema claro" : "Ativar tema escuro", "aria-pressed": this.isDark ? "true" : "false", onClick: this.toggle }, this.renderIcon())));
53
+ return (h(Host, { key: '6b55c31df3938ab37336e4e4c4ed90e9b149a440' }, h("button", { key: '7640122c47871bc67aad6f74b59229219fdb348b', class: "toggle", type: "button", "aria-label": this.isDark ? "Ativar tema claro" : "Ativar tema escuro", "aria-pressed": this.isDark ? "true" : "false", onClick: this.toggle }, this.renderIcon())));
54
54
  }
55
55
  static get is() { return "ui-theme-toggle"; }
56
56
  static get encapsulation() { return "shadow"; }
@@ -47,7 +47,7 @@ export class UiToast {
47
47
  this.dismiss();
48
48
  }
49
49
  render() {
50
- return (h(Host, { key: 'abe85b33019341e670263a3fabefe1c73c203a12' }, this.open && (h("div", { key: 'c205504fb55e2a6fa613b54faa7f7b532e7d2998', class: { toast: true, [`variant-${this.variant}`]: true }, role: "status" }, h("div", { key: '6e7c37d0946cefa13c4d0dc0e611263c27ddbd9c', class: "body" }, this.heading && h("p", { key: '2052d9b3a812be260a59e0162983643c9ca6ea58', class: "heading" }, this.heading), this.description && (h("p", { key: '968ed3b147a1cc5e30f8595b0206b4c1368c2598', class: "description" }, this.description))), h("button", { key: '9199db49bf8d563426eae6342dd99f062db43cb3', class: "close", type: "button", "aria-label": "Fechar", onClick: () => this.dismiss() }, h("svg", { key: 'e6f1abf5c953a819aadb205a879e46cf60e9417a', width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("line", { key: '390cb58060de58f0fcd75045597f4d835ce15cbc', x1: "18", y1: "6", x2: "6", y2: "18" }), h("line", { key: '2259ed783b26c3c0070ec365713ba61e3e9efbe1', x1: "6", y1: "6", x2: "18", y2: "18" })))))));
50
+ return (h(Host, { key: 'fe0318f91899e78faeb2ac07a7a06bfe42f9d3fd' }, this.open && (h("div", { key: '66dc197d7a493ad7a7cb9aa982fc92bc0541d21f', class: { toast: true, [`variant-${this.variant}`]: true }, role: "status" }, h("div", { key: 'df1fbb34582de4d10a84402653e7d7d528d8faa0', class: "body" }, this.heading && h("p", { key: '7c14d43a9397320bda3a79b60637da9d48c31945', class: "heading" }, this.heading), this.description && (h("p", { key: '6c83f1b075b3df34c1ce05e8c43627903ddbba4e', class: "description" }, this.description))), h("button", { key: '922acc1bc264b59ce708014decb078182d7909b4', class: "close", type: "button", "aria-label": "Fechar", onClick: () => this.dismiss() }, h("svg", { key: '10541297b8fc83a5da11b640933f6c3695602cb0', width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("line", { key: '964b3dc70120841eb01fffeef9e7ddcbd30880ec', x1: "18", y1: "6", x2: "6", y2: "18" }), h("line", { key: 'e45490846076269a527a0f722e32e61206cc2d9d', x1: "6", y1: "6", x2: "18", y2: "18" })))))));
51
51
  }
52
52
  static get is() { return "ui-toast"; }
53
53
  static get encapsulation() { return "shadow"; }
@@ -15,7 +15,7 @@ export class UiToaster {
15
15
  this.items = this.items.filter((item) => item.id !== id);
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: '51de8367f0037a6b7ea809bb643d0a20e41553bf' }, h("div", { key: '34a6d8310ce460ee5cec6e87ab20266a9a522177', class: "container" }, this.items.map((item) => (h("ui-toast", { key: item.id, open: true, heading: item.heading, description: item.description, variant: item.variant ?? "default", duration: item.duration ?? 4000, onUiClose: () => this.remove(item.id) }))))));
18
+ return (h(Host, { key: '18ad65a18488bd061c2fa8eb2ad33c41a472d850' }, h("div", { key: 'de7ae9b62cd155d13c5a8d018ea2970d509e74e6', class: "container" }, this.items.map((item) => (h("ui-toast", { key: item.id, open: true, heading: item.heading, description: item.description, variant: item.variant ?? "default", duration: item.duration ?? 4000, onUiClose: () => this.remove(item.id) }))))));
19
19
  }
20
20
  static get is() { return "ui-toaster"; }
21
21
  static get encapsulation() { return "shadow"; }
@@ -13,15 +13,16 @@
13
13
  z-index: 50;
14
14
  width: max-content;
15
15
  max-width: 18rem;
16
- padding: 0.375rem 0.75rem;
16
+ padding: 0.4rem 0.7rem;
17
17
  font-family: var(--ui-font-sans);
18
18
  font-size: 0.75rem;
19
+ font-weight: 500;
19
20
  line-height: 1.4;
20
21
  color: var(--ui-foreground);
21
- border: 1px solid var(--ui-border);
22
- background: var(--ui-panel-strong);
22
+ /* Fundo OPACO (sem backdrop-filter) para garantir contraste em qualquer tema. */
23
+ background: color-mix(in srgb, var(--ui-background) 90%, var(--ui-foreground) 8%);
24
+ border: 1px solid var(--ui-border-strong);
23
25
  box-shadow: var(--ui-shadow-lg);
24
- backdrop-filter: blur(22px);
25
26
  border-radius: var(--ui-radius-sm);
26
27
  pointer-events: none;
27
28
  opacity: 0;
@@ -49,7 +49,7 @@ export class UiTooltip {
49
49
  this.cleanup = undefined;
50
50
  }
51
51
  render() {
52
- return (h(Host, { key: '49f898bc54da31cf9f6b5189577bae89f6681bf8', onMouseEnter: this.onEnter, onMouseLeave: this.onLeave, onFocusin: this.onEnter, onFocusout: this.onLeave }, h("span", { key: '394744f0b34ec0c534b417ba520f2b805b582802', class: "trigger", ref: (el) => (this.triggerEl = el) }, h("slot", { key: '7afd6d807490d8af4fffeb38e69de825f7d3c138' })), h("div", { key: '3d12cffd7fd903ec6178961bf40476b063ee1563', class: { tooltip: true, "is-visible": this.visible }, role: "tooltip", ref: (el) => (this.floatingEl = el) }, this.content)));
52
+ return (h(Host, { key: '5a3f2a7cf235a6c31c8a4d3ebd4f0d517c7e7b5d', onMouseEnter: this.onEnter, onMouseLeave: this.onLeave, onFocusin: this.onEnter, onFocusout: this.onLeave }, h("span", { key: 'f626c5ec5686959449c5a2dd1c80551fd6b19087', class: "trigger", ref: (el) => (this.triggerEl = el) }, h("slot", { key: '08a19214efd0eba04d715b76a63a2cc53ed3a5c6' })), h("div", { key: 'b598af62ab976599a5274cc85f01b4ab7543dabf', class: { tooltip: true, "is-visible": this.visible }, role: "tooltip", ref: (el) => (this.floatingEl = el) }, this.content)));
53
53
  }
54
54
  static get is() { return "ui-tooltip"; }
55
55
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- import{t as e,p as t,H as a,c as i,h as r,a as s}from"./index.js";const o=t(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiClose=i(this,"uiClose"),this.open=!1,this.variant="default",this.duration=4e3}onOpenChange(e){e?this.startTimer():this.clearTimer()}componentDidLoad(){this.open&&this.startTimer()}disconnectedCallback(){this.clearTimer()}startTimer(){this.clearTimer(),this.duration>0&&(this.timer=setTimeout((()=>this.dismiss()),this.duration))}clearTimer(){this.timer&&(clearTimeout(this.timer),this.timer=void 0)}dismiss(){this.clearTimer(),this.open=!1,this.uiClose.emit()}async show(){this.open=!0}async close(){this.dismiss()}render(){return r(s,{key:"abe85b33019341e670263a3fabefe1c73c203a12"},this.open&&r("div",{key:"c205504fb55e2a6fa613b54faa7f7b532e7d2998",class:{toast:!0,[`variant-${this.variant}`]:!0},role:"status"},r("div",{key:"6e7c37d0946cefa13c4d0dc0e611263c27ddbd9c",class:"body"},this.heading&&r("p",{key:"2052d9b3a812be260a59e0162983643c9ca6ea58",class:"heading"},this.heading),this.description&&r("p",{key:"968ed3b147a1cc5e30f8595b0206b4c1368c2598",class:"description"},this.description)),r("button",{key:"9199db49bf8d563426eae6342dd99f062db43cb3",class:"close",type:"button","aria-label":"Fechar",onClick:()=>this.dismiss()},r("svg",{key:"e6f1abf5c953a819aadb205a879e46cf60e9417a",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},r("line",{key:"390cb58060de58f0fcd75045597f4d835ce15cbc",x1:"18",y1:"6",x2:"6",y2:"18"}),r("line",{key:"2259ed783b26c3c0070ec365713ba61e3e9efbe1",x1:"6",y1:"6",x2:"18",y2:"18"})))))}static get watchers(){return{open:[{onOpenChange:0}]}}static get style(){return":host{display:block}.toast{display:flex;align-items:flex-start;gap:0.75rem;padding:0.875rem 1rem;border:1px solid var(--ui-border);border-left:3px solid var(--ui-accent);border-radius:var(--ui-radius);background:var(--ui-panel-strong);backdrop-filter:blur(22px);box-shadow:var(--ui-shadow-lg);font-family:var(--ui-font-sans);animation:ui-toast-pop var(--ui-duration) var(--ui-ease)}.variant-default{border-left-color:var(--ui-accent)}.variant-success{border-left-color:var(--ui-success)}.variant-warning{border-left-color:var(--ui-warning)}.variant-danger{border-left-color:var(--ui-danger)}.body{flex:1;min-width:0;display:flex;flex-direction:column;gap:0.25rem}.heading{margin:0;font-size:0.875rem;font-weight:600;color:var(--ui-foreground)}.description{margin:0;font-size:0.8125rem;color:var(--ui-text-muted)}.close{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:0.125rem;border:none;background:transparent;color:var(--ui-text-muted);cursor:pointer;border-radius:var(--ui-radius-sm);transition:color var(--ui-duration) var(--ui-ease)}.close:hover{color:var(--ui-foreground)}@keyframes ui-toast-pop{from{opacity:0;transform:translateY(0.5rem) scale(0.98)}to{opacity:1;transform:translateY(0) scale(1)}}"}},[1,"ui-toast",{open:[1540],variant:[1],heading:[1],description:[1],duration:[2],show:[64],close:[64]},void 0,{open:[{onOpenChange:0}]}]);function n(){"undefined"!=typeof customElements&&["ui-toast"].forEach((t=>{"ui-toast"===t&&(customElements.get(e(t))||customElements.define(e(t),o))}))}n();export{o as U,n as d}
1
+ import{t as e,p as t,H as a,c as i,h as r,a as s}from"./index.js";const o=t(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiClose=i(this,"uiClose"),this.open=!1,this.variant="default",this.duration=4e3}onOpenChange(e){e?this.startTimer():this.clearTimer()}componentDidLoad(){this.open&&this.startTimer()}disconnectedCallback(){this.clearTimer()}startTimer(){this.clearTimer(),this.duration>0&&(this.timer=setTimeout((()=>this.dismiss()),this.duration))}clearTimer(){this.timer&&(clearTimeout(this.timer),this.timer=void 0)}dismiss(){this.clearTimer(),this.open=!1,this.uiClose.emit()}async show(){this.open=!0}async close(){this.dismiss()}render(){return r(s,{key:"fe0318f91899e78faeb2ac07a7a06bfe42f9d3fd"},this.open&&r("div",{key:"66dc197d7a493ad7a7cb9aa982fc92bc0541d21f",class:{toast:!0,[`variant-${this.variant}`]:!0},role:"status"},r("div",{key:"df1fbb34582de4d10a84402653e7d7d528d8faa0",class:"body"},this.heading&&r("p",{key:"7c14d43a9397320bda3a79b60637da9d48c31945",class:"heading"},this.heading),this.description&&r("p",{key:"6c83f1b075b3df34c1ce05e8c43627903ddbba4e",class:"description"},this.description)),r("button",{key:"922acc1bc264b59ce708014decb078182d7909b4",class:"close",type:"button","aria-label":"Fechar",onClick:()=>this.dismiss()},r("svg",{key:"10541297b8fc83a5da11b640933f6c3695602cb0",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},r("line",{key:"964b3dc70120841eb01fffeef9e7ddcbd30880ec",x1:"18",y1:"6",x2:"6",y2:"18"}),r("line",{key:"e45490846076269a527a0f722e32e61206cc2d9d",x1:"6",y1:"6",x2:"18",y2:"18"})))))}static get watchers(){return{open:[{onOpenChange:0}]}}static get style(){return":host{display:block}.toast{display:flex;align-items:flex-start;gap:0.75rem;padding:0.875rem 1rem;border:1px solid var(--ui-border);border-left:3px solid var(--ui-accent);border-radius:var(--ui-radius);background:var(--ui-panel-strong);backdrop-filter:blur(22px);box-shadow:var(--ui-shadow-lg);font-family:var(--ui-font-sans);animation:ui-toast-pop var(--ui-duration) var(--ui-ease)}.variant-default{border-left-color:var(--ui-accent)}.variant-success{border-left-color:var(--ui-success)}.variant-warning{border-left-color:var(--ui-warning)}.variant-danger{border-left-color:var(--ui-danger)}.body{flex:1;min-width:0;display:flex;flex-direction:column;gap:0.25rem}.heading{margin:0;font-size:0.875rem;font-weight:600;color:var(--ui-foreground)}.description{margin:0;font-size:0.8125rem;color:var(--ui-text-muted)}.close{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:0.125rem;border:none;background:transparent;color:var(--ui-text-muted);cursor:pointer;border-radius:var(--ui-radius-sm);transition:color var(--ui-duration) var(--ui-ease)}.close:hover{color:var(--ui-foreground)}@keyframes ui-toast-pop{from{opacity:0;transform:translateY(0.5rem) scale(0.98)}to{opacity:1;transform:translateY(0) scale(1)}}"}},[1,"ui-toast",{open:[1540],variant:[1],heading:[1],description:[1],duration:[2],show:[64],close:[64]},void 0,{open:[{onOpenChange:0}]}]);function n(){"undefined"!=typeof customElements&&["ui-toast"].forEach((t=>{"ui-toast"===t&&(customElements.get(e(t))||customElements.define(e(t),o))}))}n();export{o as U,n as d}
@@ -1 +1 @@
1
- import{t as e,p as t,H as o,c as i,h as a,a as s}from"./index.js";const r=t(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiToggle=i(this,"uiToggle"),this.heading="",this.open=!1,this.onToggle=e=>{this.open=e.currentTarget.open,this.uiToggle.emit(this.open)}}render(){return a(s,{key:"c1c8a792a0e8ab52c4750af995c98ffda3b47cf0"},a("details",{key:"3eaa096ad9a9b0f22fe0b2a34b254deb4e6b7df5",open:this.open,onToggle:this.onToggle},a("summary",{key:"eb86d25aa684879440b87ce1113d282fb07e81ce"},a("span",{key:"c70e1823bec0a32432cf74438c6d62a7b145e067",class:"heading"},this.heading),a("svg",{key:"65f9e9179ec29d10115a6938be5fb2481bdcbcfc",class:"chevron",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},a("polyline",{key:"def877261275e0eb0f830651fe35d524497686b9",points:"6 9 12 15 18 9"}))),a("div",{key:"91c0120a4a7c02cbdb97bded4c77e6eeea63ce83",class:"content"},a("slot",{key:"590ed083fb0a3969bdadb2376532b4ceb9bcc597"}))))}static get style(){return":host{display:block;font-family:var(--ui-font-sans);border-bottom:1px solid var(--ui-border)}summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;cursor:pointer;font-weight:500;color:var(--ui-foreground);list-style:none;outline:none}summary::-webkit-details-marker{display:none}summary:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring);border-radius:var(--ui-radius-sm)}.chevron{flex:none;color:var(--ui-text-muted);transition:transform var(--ui-duration) var(--ui-ease)}details[open] .chevron{transform:rotate(180deg)}.content{padding-bottom:1rem;color:var(--ui-text-muted)}"}},[257,"ui-accordion-item",{heading:[1],open:[1540]}]);function n(){"undefined"!=typeof customElements&&["ui-accordion-item"].forEach((t=>{"ui-accordion-item"===t&&(customElements.get(e(t))||customElements.define(e(t),r))}))}n();const c=r,d=n;export{c as UiAccordionItem,d as defineCustomElement}
1
+ import{t as e,p as t,H as o,c as r,h as a,a as i}from"./index.js";const s=t(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiToggle=r(this,"uiToggle"),this.heading="",this.open=!1,this.onToggle=e=>{this.open=e.currentTarget.open,this.uiToggle.emit(this.open)}}render(){return a(i,{key:"a6753eab6e0dc158aadd47469da57bf73274cb99"},a("details",{key:"c98130b641f5cca70f27867ecc23769de0871733",open:this.open,onToggle:this.onToggle},a("summary",{key:"ed84e054379bc2f3133c675b5ddd8b6b69bb205c"},a("span",{key:"49d66f1f5ade0c22d4b13f1ead38d712d8dc0310",class:"heading"},this.heading),a("svg",{key:"74261819a62cf9dc397d8ca50c654897e080801b",class:"chevron",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},a("polyline",{key:"d69ebaaa12602c3c2d4a44d1c5b5ca6ed523f254",points:"6 9 12 15 18 9"}))),a("div",{key:"98178b28965c4595c0330299a358cc821424985f",class:"content"},a("slot",{key:"d633bc20693f7ac970e6fa1cf55760841243a870"}))))}static get style(){return":host{display:block;font-family:var(--ui-font-sans);border-bottom:1px solid var(--ui-border)}summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;cursor:pointer;font-weight:500;color:var(--ui-foreground);list-style:none;outline:none}summary::-webkit-details-marker{display:none}summary:hover{color:var(--ui-accent)}summary:hover .chevron{color:var(--ui-accent)}summary:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring);border-radius:var(--ui-radius-sm)}.chevron{flex:none;color:var(--ui-text-muted);transition:transform var(--ui-duration) var(--ui-ease)}details[open] .chevron{transform:rotate(180deg)}.content{padding-bottom:1rem;color:var(--ui-text-muted)}"}},[257,"ui-accordion-item",{heading:[1],open:[1540]}]);function n(){"undefined"!=typeof customElements&&["ui-accordion-item"].forEach((t=>{"ui-accordion-item"===t&&(customElements.get(e(t))||customElements.define(e(t),s))}))}n();const c=s,d=n;export{c as UiAccordionItem,d as defineCustomElement}
@@ -1 +1 @@
1
- import{t,p as s,H as e,h as o,a as c}from"./index.js";const n=s(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return o(c,{key:"0d6a0faf16d8cacc925818349b38f8acaa186fdb"},o("slot",{key:"060f07d2ed0104666101f2984affc84eb33239d0"}))}static get style(){return":host{display:block;font-family:var(--ui-font-sans)}"}},[257,"ui-accordion"]);function a(){"undefined"!=typeof customElements&&["ui-accordion"].forEach((s=>{"ui-accordion"===s&&(customElements.get(t(s))||customElements.define(t(s),n))}))}a();const i=n,r=a;export{i as UiAccordion,r as defineCustomElement}
1
+ import{t,p as e,H as s,h as o,a as n}from"./index.js";const c=e(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return o(n,{key:"e6332a0fa193f07001cf71f61531729529607b2b"},o("slot",{key:"95ab7de2a8344e267fe97cae784b75635cafd289"}))}static get style(){return":host{display:block;font-family:var(--ui-font-sans)}"}},[257,"ui-accordion"]);function a(){"undefined"!=typeof customElements&&["ui-accordion"].forEach((e=>{"ui-accordion"===e&&(customElements.get(t(e))||customElements.define(t(e),c))}))}a();const i=c,r=a;export{i as UiAccordion,r as defineCustomElement}
@@ -1 +1 @@
1
- import{t as a,p as t,H as e,h as i,a as s}from"./index.js";const r=t(class extends e{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.alt=""}render(){return i(s,{key:"5c1258b170c4bb32cca3177574292a2b7661ebf2"},i("span",{key:"35991cb32d1958e8c5b11ccba182e9d43531aadb",class:"avatar"},this.src?i("img",{class:"image",src:this.src,alt:this.alt}):i("span",{class:"fallback"},this.fallback)))}static get style(){return":host{display:inline-block;}.avatar{display:inline-flex;align-items:center;justify-content:center;width:var(--ui-avatar-size, 2.5rem);height:var(--ui-avatar-size, 2.5rem);border-radius:var(--ui-radius-full);border:1px solid var(--ui-border);background:var(--ui-chip);overflow:hidden;font-family:var(--ui-font-sans)}.image{width:100%;height:100%;object-fit:cover}.fallback{font-size:0.875rem;font-weight:500;color:var(--ui-text-muted);line-height:1}"}},[1,"ui-avatar",{src:[1],alt:[1],fallback:[1]}]);function c(){"undefined"!=typeof customElements&&["ui-avatar"].forEach((t=>{"ui-avatar"===t&&(customElements.get(a(t))||customElements.define(a(t),r))}))}c();const n=r,l=c;export{n as UiAvatar,l as defineCustomElement}
1
+ import{t,p as a,H as e,h as i,a as s}from"./index.js";const r=a(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.alt=""}render(){return i(s,{key:"7a6bbef0807d0d3dc25692a6bf87171131579e46"},i("span",{key:"6b548ed4e5ec0dc7bb52dcb3660ffc188705439f",class:"avatar"},this.src?i("img",{class:"image",src:this.src,alt:this.alt}):i("span",{class:"fallback"},this.fallback)))}static get style(){return":host{display:inline-block;}.avatar{display:inline-flex;align-items:center;justify-content:center;width:var(--ui-avatar-size, 2.5rem);height:var(--ui-avatar-size, 2.5rem);border-radius:var(--ui-radius-full);border:1px solid var(--ui-border);background:var(--ui-chip);overflow:hidden;font-family:var(--ui-font-sans)}.image{width:100%;height:100%;object-fit:cover}.fallback{font-size:0.875rem;font-weight:500;color:var(--ui-text-muted);line-height:1}"}},[1,"ui-avatar",{src:[1],alt:[1],fallback:[1]}]);function n(){"undefined"!=typeof customElements&&["ui-avatar"].forEach((a=>{"ui-avatar"===a&&(customElements.get(t(a))||customElements.define(t(a),r))}))}n();const c=r,l=n;export{c as UiAvatar,l as defineCustomElement}
@@ -1 +1 @@
1
- import{t as e,p as t,H as r,h as s,a as o}from"./index.js";const d=t(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(o,{key:"7e2833cdc6f37c6b8577c17677840913fb7cd9e1"},s("div",{key:"223c291e98af73ee2c299b8649773cfcf54388d7",class:"card"},s("slot",{key:"e948386bcd492c31e264d50cf27d26e98dd771eb"})))}static get style(){return':host{display:block}.card{border:1px solid var(--ui-border);background:var(--ui-panel);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px) saturate(140%);border-radius:var(--ui-radius-xl);color:var(--ui-foreground);padding:1.5rem}::slotted([slot="title"]){font-size:1.125rem;font-weight:600;letter-spacing:-0.01em}::slotted([slot="description"]){color:var(--ui-text-muted);font-size:0.875rem}'}},[257,"ui-card"]);function c(){"undefined"!=typeof customElements&&["ui-card"].forEach((t=>{"ui-card"===t&&(customElements.get(e(t))||customElements.define(e(t),d))}))}c();const a=d,i=c;export{a as UiCard,i as defineCustomElement}
1
+ import{t as e,p as t,H as a,h as r,a as o}from"./index.js";const d=t(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return r(o,{key:"1608f7f7bd8addc04064a70965fdb28a67a1abef"},r("div",{key:"976e8fa507f78649789161f5eaaa2308547c7040",class:"card"},r("slot",{key:"803ef160438006449051c2068246fd6f20562cc5",name:"title"}),r("slot",{key:"84bfdd0d56b015d09598e53e0002b9ac5e69934d",name:"description"}),r("slot",{key:"97d8522f426b54ab6a8b51038bd8f2b8e2413d0e"}),r("slot",{key:"8b36ab658e61cdebb391d6bb8dc427d809a81b30",name:"footer"})))}static get style(){return':host{display:block}.card{display:flex;flex-direction:column;gap:0.5rem;padding:1.5rem;border:1px solid var(--ui-border);background:var(--ui-panel);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px) saturate(140%);border-radius:var(--ui-radius-xl);color:var(--ui-text-soft);font-family:var(--ui-font-sans)}::slotted([slot="title"]){margin:0;font-size:1.125rem;font-weight:600;letter-spacing:-0.01em;color:var(--ui-foreground)}::slotted([slot="description"]){margin:0;font-size:0.875rem;color:var(--ui-text-muted)}::slotted([slot="footer"]){display:flex;gap:0.75rem;margin-top:0.5rem}'}},[257,"ui-card"]);function s(){"undefined"!=typeof customElements&&["ui-card"].forEach((t=>{"ui-card"===t&&(customElements.get(e(t))||customElements.define(e(t),d))}))}s();const i=d,l=s;export{i as UiCard,l as defineCustomElement}
@@ -1 +1 @@
1
- import{t as e,p as t,H as i,c as a,h as c,a as r}from"./index.js";const s=t(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiChange=a(this,"uiChange"),this.checked=!1,this.disabled=!1,this.toggle=()=>{this.disabled||(this.checked=!this.checked,this.uiChange.emit(this.checked))},this.onKeyDown=e=>{" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),this.toggle())}}render(){return c(r,{key:"218342fd572fe2a937ef30501ceb1286ed9872ac"},c("button",{key:"c54f4b4d663c472e08aeff9016da9d3fe63072fd",class:"checkbox",type:"button",role:"checkbox","aria-checked":this.checked?"true":"false",disabled:this.disabled,onClick:this.toggle,onKeyDown:this.onKeyDown},c("svg",{key:"a4f460f90eeaa930b0d867ad1aadf99550ff3c9a",class:"check",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},c("polyline",{key:"e96040e1a3058b910203023d882aa8da62ec9fce",points:"20 6 9 17 4 12"}))))}static get style(){return':host{display:inline-flex}.checkbox{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;padding:0;border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-panel);cursor:pointer;outline:none;transition:all var(--ui-duration) var(--ui-ease)}.checkbox:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.checkbox[aria-checked="true"]{background:var(--ui-accent);border-color:var(--ui-accent)}.checkbox:disabled{opacity:0.5;pointer-events:none}.check{width:0.875rem;height:0.875rem;color:var(--ui-accent-contrast);opacity:0;transform:scale(0.6);transition:all var(--ui-duration) var(--ui-ease)}.checkbox[aria-checked="true"] .check{opacity:1;transform:scale(1)}'}},[1,"ui-checkbox",{checked:[1540],disabled:[4],name:[1],value:[1]}]);function o(){"undefined"!=typeof customElements&&["ui-checkbox"].forEach((t=>{"ui-checkbox"===t&&(customElements.get(e(t))||customElements.define(e(t),s))}))}o();const n=s,d=o;export{n as UiCheckbox,d as defineCustomElement}
1
+ import{t as e,p as t,H as i,c,h as r,a}from"./index.js";const s=t(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiChange=c(this,"uiChange"),this.checked=!1,this.disabled=!1,this.toggle=()=>{this.disabled||(this.checked=!this.checked,this.uiChange.emit(this.checked))},this.onKeyDown=e=>{" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),this.toggle())}}render(){return r(a,{key:"3702acd47b1980ddf23df427a68c69ee782756e4"},r("button",{key:"8cc709719dd004d01ca6ed82c0fab53ed38f8962",class:"checkbox",type:"button",role:"checkbox","aria-checked":this.checked?"true":"false",disabled:this.disabled,onClick:this.toggle,onKeyDown:this.onKeyDown},r("svg",{key:"fa4875d7a2809133496a543fa6efd0de8c8c4c06",class:"check",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},r("polyline",{key:"34a601d25b20fdf1ad697349531888648795f4bf",points:"20 6 9 17 4 12"}))))}static get style(){return':host{display:inline-flex}.checkbox{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;padding:0;border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-panel);cursor:pointer;outline:none;transition:all var(--ui-duration) var(--ui-ease)}.checkbox:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.checkbox[aria-checked="true"]{background:var(--ui-accent);border-color:var(--ui-accent)}.checkbox:disabled{opacity:0.5;pointer-events:none}.check{width:0.875rem;height:0.875rem;color:var(--ui-accent-contrast);opacity:0;transform:scale(0.6);transition:all var(--ui-duration) var(--ui-ease)}.checkbox[aria-checked="true"] .check{opacity:1;transform:scale(1)}'}},[1,"ui-checkbox",{checked:[1540],disabled:[4],name:[1],value:[1]}]);function o(){"undefined"!=typeof customElements&&["ui-checkbox"].forEach((t=>{"ui-checkbox"===t&&(customElements.get(e(t))||customElements.define(e(t),s))}))}o();const n=s,d=o;export{n as UiCheckbox,d as defineCustomElement}
@@ -1 +1 @@
1
- import{t,p as e,H as a,c as s,h as o,a as i}from"./index.js";const n=e(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.uiClose=s(this,"uiClose"),this.open=!1,this.onClose=()=>{this.open&&(this.open=!1,this.uiClose.emit())},this.onBackdropClick=t=>{t.target===this.dialogEl&&this.close()}}onOpenChange(t){this.sync(t)}componentDidLoad(){this.sync(this.open)}sync(t){this.dialogEl&&(t&&!this.dialogEl.open?this.dialogEl.showModal():!t&&this.dialogEl.open&&this.dialogEl.close())}async show(){this.open=!0}async close(){this.open=!1}render(){return o(i,{key:"c61dad5c30282e7a0ff063b713fff567be0b2183"},o("dialog",{key:"55e3de816fcdaafce020a8edb30e469f6d579df7",class:"dialog",ref:t=>this.dialogEl=t,onClose:this.onClose,onCancel:this.onClose,onClick:this.onBackdropClick},o("div",{key:"39b8436aca48ee79ff63a1cd81640697be8007cf",class:"content"},o("slot",{key:"e8d509cd882aa1e3a97f66486baf4afacdf36767"}))))}static get watchers(){return{open:[{onOpenChange:0}]}}static get style(){return'.dialog{padding:0;border:none;background:transparent;max-width:32rem;width:calc(100% - 2rem);color:var(--ui-foreground)}.dialog::backdrop{background:var(--ui-overlay);backdrop-filter:blur(4px)}.dialog[open]{animation:ui-dialog-in var(--ui-duration) var(--ui-ease)}.content{border:1px solid var(--ui-border);background:var(--ui-panel-strong);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px) saturate(140%);border-radius:var(--ui-radius-xl);padding:1.5rem;font-family:var(--ui-font-sans)}::slotted([slot="title"]){font-size:1.125rem;font-weight:600}::slotted([slot="description"]){color:var(--ui-text-muted);font-size:0.875rem}@keyframes ui-dialog-in{from{opacity:0;transform:scale(0.96) translateY(6px)}to{opacity:1;transform:scale(1) translateY(0)}}'}},[257,"ui-dialog",{open:[1540],show:[64],close:[64]},void 0,{open:[{onOpenChange:0}]}]);function r(){"undefined"!=typeof customElements&&["ui-dialog"].forEach((e=>{"ui-dialog"===e&&(customElements.get(t(e))||customElements.define(t(e),n))}))}r();const d=n,c=r;export{d as UiDialog,c as defineCustomElement}
1
+ import{t,p as e,H as s,c as o,h as a,a as i}from"./index.js";const n=e(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.uiClose=o(this,"uiClose"),this.open=!1,this.onClose=()=>{this.open&&(this.open=!1,this.uiClose.emit())},this.onBackdropClick=t=>{t.target===this.dialogEl&&this.close()}}onOpenChange(t){this.sync(t)}componentDidLoad(){this.sync(this.open)}sync(t){this.dialogEl&&(t&&!this.dialogEl.open?this.dialogEl.showModal():!t&&this.dialogEl.open&&this.dialogEl.close())}async show(){this.open=!0}async close(){this.open=!1}render(){return a(i,{key:"df811bec2a6a250e90cbb6d9c85202b2d3c2c964"},a("dialog",{key:"49572b35ec17863fb83e9973c548a8cafa0308b6",class:"dialog",ref:t=>this.dialogEl=t,onClose:this.onClose,onCancel:this.onClose,onClick:this.onBackdropClick},a("div",{key:"53c82b2c7a1b8831d64a060b4665a60bbdc7e39a",class:"content"},a("slot",{key:"b398a9692fdf2826b86125723bc232791e6b9e4b"}))))}static get watchers(){return{open:[{onOpenChange:0}]}}static get style(){return'.dialog{padding:0;border:none;background:transparent;max-width:32rem;width:calc(100% - 2rem);color:var(--ui-foreground)}.dialog::backdrop{background:var(--ui-overlay);backdrop-filter:blur(4px)}.dialog[open]{animation:ui-dialog-in var(--ui-duration) var(--ui-ease)}.content{border:1px solid var(--ui-border);background:var(--ui-panel-strong);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px) saturate(140%);border-radius:var(--ui-radius-xl);padding:1.5rem;font-family:var(--ui-font-sans)}::slotted([slot="title"]){font-size:1.125rem;font-weight:600}::slotted([slot="description"]){color:var(--ui-text-muted);font-size:0.875rem}@keyframes ui-dialog-in{from{opacity:0;transform:scale(0.96) translateY(6px)}to{opacity:1;transform:scale(1) translateY(0)}}'}},[257,"ui-dialog",{open:[1540],show:[64],close:[64]},void 0,{open:[{onOpenChange:0}]}]);function r(){"undefined"!=typeof customElements&&["ui-dialog"].forEach((e=>{"ui-dialog"===e&&(customElements.get(t(e))||customElements.define(t(e),n))}))}r();const c=n,d=r;export{c as UiDialog,d as defineCustomElement}
@@ -1 +1 @@
1
- import{t,p as r,H as i,c as e,h as o,a as s}from"./index.js";const a=r(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.uiClose=e(this,"uiClose"),this.open=!1,this.side="right",this.onClose=()=>{this.open&&(this.open=!1,this.uiClose.emit())},this.onBackdropClick=t=>{t.target===this.dialogEl&&this.close()}}onOpenChange(t){this.sync(t)}componentDidLoad(){this.sync(this.open)}sync(t){this.dialogEl&&(t&&!this.dialogEl.open?this.dialogEl.showModal():!t&&this.dialogEl.open&&this.dialogEl.close())}async show(){this.open=!0}async close(){this.open=!1}render(){return o(s,{key:"96c4f4cec0fdc9a8601448bfc9a16dda37b33507"},o("dialog",{key:"72ef71e674d116c9d2f47bf4d997fc9d5ca1472d",class:"drawer side-"+this.side,ref:t=>this.dialogEl=t,onClose:this.onClose,onCancel:this.onClose,onClick:this.onBackdropClick},o("div",{key:"25e537c059dcc33085bd0c0c47aa39448a16176b",class:"content"},o("slot",{key:"3c0b746055fb6f1ac6a8c0c4713aa9cd47fd1a00"}))))}static get watchers(){return{open:[{onOpenChange:0}]}}static get style(){return":host{display:contents}.drawer{position:fixed;margin:0;padding:0;border:none;max-width:none;max-height:none;background:transparent;overflow:visible}.drawer::backdrop{background:var(--ui-overlay);backdrop-filter:blur(2px)}.side-right{top:0;right:0;bottom:0;height:100%;width:min(24rem, 100%)}.side-bottom{left:0;right:0;bottom:0;width:100%;max-height:85vh}.content{box-sizing:border-box;width:100%;height:100%;padding:1.5rem;overflow:auto;font-family:var(--ui-font-sans);color:var(--ui-foreground);border:1px solid var(--ui-border);background:var(--ui-panel-strong);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px)}.side-right .content{border-top-left-radius:var(--ui-radius-xl);border-bottom-left-radius:var(--ui-radius-xl)}.side-bottom .content{border-top-left-radius:var(--ui-radius-xl);border-top-right-radius:var(--ui-radius-xl)}.side-right[open]{animation:ui-drawer-slide-right var(--ui-duration) var(--ui-ease)}.side-bottom[open]{animation:ui-drawer-slide-bottom var(--ui-duration) var(--ui-ease)}@keyframes ui-drawer-slide-right{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes ui-drawer-slide-bottom{from{transform:translateY(100%)}to{transform:translateY(0)}}"}},[257,"ui-drawer",{open:[1540],side:[513],show:[64],close:[64]},void 0,{open:[{onOpenChange:0}]}]);function n(){"undefined"!=typeof customElements&&["ui-drawer"].forEach((r=>{"ui-drawer"===r&&(customElements.get(t(r))||customElements.define(t(r),a))}))}n();const d=a,h=n;export{d as UiDrawer,h as defineCustomElement}
1
+ import{t,p as e,H as r,c as i,h as o,a as s}from"./index.js";const a=e(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.uiClose=i(this,"uiClose"),this.open=!1,this.side="right",this.onClose=()=>{this.open&&(this.open=!1,this.uiClose.emit())},this.onBackdropClick=t=>{t.target===this.dialogEl&&this.close()}}onOpenChange(t){this.sync(t)}componentDidLoad(){this.sync(this.open)}sync(t){this.dialogEl&&(t&&!this.dialogEl.open?this.dialogEl.showModal():!t&&this.dialogEl.open&&this.dialogEl.close())}async show(){this.open=!0}async close(){this.open=!1}render(){return o(s,{key:"9f2f27dcc087f608a3aeed4fe64a65eb8fe4011b"},o("dialog",{key:"92471e4a732f00e4187efb37cbba553651c2f9dd",class:"drawer side-"+this.side,ref:t=>this.dialogEl=t,onClose:this.onClose,onCancel:this.onClose,onClick:this.onBackdropClick},o("div",{key:"d6706d4943f8559aee320b6df509138c44857bf0",class:"content"},o("slot",{key:"5cb218bde44c73fd02c640c1d0da736427f2707c"}))))}static get watchers(){return{open:[{onOpenChange:0}]}}static get style(){return":host{display:contents}.drawer{position:fixed;margin:0;padding:0;border:none;max-width:none;max-height:none;background:transparent;overflow:visible}.drawer::backdrop{background:var(--ui-overlay);backdrop-filter:blur(2px)}.side-right{top:0;right:0;bottom:0;height:100%;width:min(24rem, 100%)}.side-bottom{left:0;right:0;bottom:0;width:100%;max-height:85vh}.content{box-sizing:border-box;width:100%;height:100%;padding:1.5rem;overflow:auto;font-family:var(--ui-font-sans);color:var(--ui-foreground);border:1px solid var(--ui-border);background:var(--ui-panel-strong);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px)}.side-right .content{border-top-left-radius:var(--ui-radius-xl);border-bottom-left-radius:var(--ui-radius-xl)}.side-bottom .content{border-top-left-radius:var(--ui-radius-xl);border-top-right-radius:var(--ui-radius-xl)}.side-right[open]{animation:ui-drawer-slide-right var(--ui-duration) var(--ui-ease)}.side-bottom[open]{animation:ui-drawer-slide-bottom var(--ui-duration) var(--ui-ease)}@keyframes ui-drawer-slide-right{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes ui-drawer-slide-bottom{from{transform:translateY(100%)}to{transform:translateY(0)}}"}},[257,"ui-drawer",{open:[1540],side:[513],show:[64],close:[64]},void 0,{open:[{onOpenChange:0}]}]);function n(){"undefined"!=typeof customElements&&["ui-drawer"].forEach((e=>{"ui-drawer"===e&&(customElements.get(t(e))||customElements.define(t(e),a))}))}n();const d=a,h=n;export{d as UiDrawer,h as defineCustomElement}
@@ -1 +1 @@
1
- import{t as e,p as t,H as i,c as s,h as o,a as r}from"./index.js";const n=t(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiSelect=s(this,"uiSelect"),this.disabled=!1,this.onClick=()=>{this.disabled||(this.uiSelect.emit(),this.host.dispatchEvent(new CustomEvent("uiDropdownClose",{bubbles:!0,composed:!0})))}}render(){return o(r,{key:"9e88bb2a1ccec0a6c5f088cdd40a7881cba6e3ac"},o("button",{key:"371c531f920cbd1a5374b8c6812d9b67c97e44f4",type:"button",class:"item",role:"menuitem",disabled:this.disabled,onClick:this.onClick},o("slot",{key:"fe16aad1402e098180719edd9110c83ee550224c"})))}get host(){return this}static get style(){return":host{display:block}.item{display:flex;align-items:center;gap:0.5rem;width:100%;padding:0.5rem 0.625rem;font-family:var(--ui-font-sans);font-size:0.875rem;text-align:left;color:var(--ui-foreground);background:transparent;border:none;border-radius:var(--ui-radius-sm);cursor:pointer;outline:none;transition:background var(--ui-duration) var(--ui-ease)}.item:hover,.item:focus-visible{background:var(--ui-chip)}.item:focus-visible{box-shadow:0 0 0 2px var(--ui-ring)}.item:disabled{pointer-events:none;opacity:0.5;cursor:default}"}},[257,"ui-dropdown-item",{disabled:[516]}]);function a(){"undefined"!=typeof customElements&&["ui-dropdown-item"].forEach((t=>{"ui-dropdown-item"===t&&(customElements.get(e(t))||customElements.define(e(t),n))}))}a();const d=n,c=a;export{d as UiDropdownItem,c as defineCustomElement}
1
+ import{t as e,p as t,H as i,c as s,h as o,a as r}from"./index.js";const n=t(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiSelect=s(this,"uiSelect"),this.disabled=!1,this.onClick=()=>{this.disabled||(this.uiSelect.emit(),this.host.dispatchEvent(new CustomEvent("uiDropdownClose",{bubbles:!0,composed:!0})))}}render(){return o(r,{key:"57af1c437b63fb19cfe297741b2b0f8d34564be9"},o("button",{key:"e3df81eb4c921d8b447c46da5140d21fb8126417",type:"button",class:"item",role:"menuitem",disabled:this.disabled,onClick:this.onClick},o("slot",{key:"162d876af4ed9913c79964afcdceda7539feb95b"})))}get host(){return this}static get style(){return":host{display:block}.item{display:flex;align-items:center;gap:0.5rem;width:100%;padding:0.5rem 0.625rem;font-family:var(--ui-font-sans);font-size:0.875rem;text-align:left;color:var(--ui-foreground);background:transparent;border:none;border-radius:var(--ui-radius-sm);cursor:pointer;outline:none;transition:background var(--ui-duration) var(--ui-ease)}.item:hover,.item:focus-visible{background:var(--ui-chip)}.item:focus-visible{box-shadow:0 0 0 2px var(--ui-ring)}.item:disabled{pointer-events:none;opacity:0.5;cursor:default}"}},[257,"ui-dropdown-item",{disabled:[516]}]);function a(){"undefined"!=typeof customElements&&["ui-dropdown-item"].forEach((t=>{"ui-dropdown-item"===t&&(customElements.get(e(t))||customElements.define(e(t),n))}))}a();const d=n,u=a;export{d as UiDropdownItem,u as defineCustomElement}
@@ -1 +1 @@
1
- import{t,p as s,H as e,c as i,h as n,a as o}from"./index.js";import{a,c as r,o as c,f as h,s as d}from"./p-CyBRmmbs.js";const l=s(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.uiOpenChange=i(this,"uiOpenChange"),this.open=!1,this.placement="bottom",this.onTriggerClick=t=>{t.stopPropagation(),this.setOpen(!this.open)},this.onDocumentClick=t=>{this.open&&(t.composedPath().includes(this.host)||this.setOpen(!1))},this.onKeydown=t=>{"Escape"===t.key&&this.open&&this.setOpen(!1)}}onOpenChange(t){t?(requestAnimationFrame((()=>this.start())),document.addEventListener("click",this.onDocumentClick),document.addEventListener("keydown",this.onKeydown)):(this.stop(),document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onKeydown))}disconnectedCallback(){this.stop(),document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onKeydown)}async show(){this.setOpen(!0)}async close(){this.setOpen(!1)}onItemClose(){this.setOpen(!1)}setOpen(t){this.open!==t&&(this.open=t,this.uiOpenChange.emit(t))}start(){this.triggerEl&&this.floatingEl&&(this.stop(),this.cleanup=a(this.triggerEl,this.floatingEl,(()=>{this.triggerEl&&this.floatingEl&&r(this.triggerEl,this.floatingEl,{placement:this.placement,middleware:[c(8),h(),d({padding:8})]}).then((({x:t,y:s})=>{Object.assign(this.floatingEl.style,{left:t+"px",top:s+"px"})}))})))}stop(){this.cleanup?.(),this.cleanup=void 0}render(){return n(o,{key:"83694eb278f8a9c711ae30677254a4168dbd825f"},n("span",{key:"dabab12417ed473e22097578c07842f36a05e397",class:"trigger",ref:t=>this.triggerEl=t,onClick:this.onTriggerClick},n("slot",{key:"6e3b0f1c2c83a48c0c70a2416c6e0ac34b05c68e",name:"trigger"})),n("div",{key:"2b6059c9bfa98c6f5bc9656d86ffeaf1009a887b",class:{menu:!0,"is-open":this.open},role:"menu",ref:t=>this.floatingEl=t},n("slot",{key:"af01e24903f705ef30174ba37735d774b8e5aa99"})))}get host(){return this}static get watchers(){return{open:[{onOpenChange:0}]}}static get style(){return":host{display:inline-block}.trigger{display:inline-flex}.menu{position:fixed;top:0;left:0;z-index:50;display:flex;flex-direction:column;gap:0.125rem;min-width:10rem;max-width:calc(100vw - 1rem);padding:0.375rem;font-family:var(--ui-font-sans);color:var(--ui-foreground);border:1px solid var(--ui-border);background:var(--ui-panel-strong);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px);border-radius:var(--ui-radius);visibility:hidden;opacity:0;transform:scale(0.96);transition:opacity var(--ui-duration) var(--ui-ease), transform var(--ui-duration) var(--ui-ease)}.menu.is-open{visibility:visible;opacity:1;transform:scale(1)}"}},[257,"ui-dropdown-menu",{open:[1540],placement:[1],show:[64],close:[64]},[[0,"uiDropdownClose","onItemClose"]],{open:[{onOpenChange:0}]}]);function u(){"undefined"!=typeof customElements&&["ui-dropdown-menu"].forEach((s=>{"ui-dropdown-menu"===s&&(customElements.get(t(s))||customElements.define(t(s),l))}))}u();const m=l,p=u;export{m as UiDropdownMenu,p as defineCustomElement}
1
+ import{t,p as s,H as i,c as e,h as n,a as o}from"./index.js";import{a,c as r,o as d,f as h,s as c}from"./p-CyBRmmbs.js";const l=s(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.uiOpenChange=e(this,"uiOpenChange"),this.open=!1,this.placement="bottom",this.onTriggerClick=t=>{t.stopPropagation(),this.setOpen(!this.open)},this.onDocumentClick=t=>{this.open&&(t.composedPath().includes(this.host)||this.setOpen(!1))},this.onKeydown=t=>{"Escape"===t.key&&this.open&&this.setOpen(!1)}}onOpenChange(t){t?(requestAnimationFrame((()=>this.start())),document.addEventListener("click",this.onDocumentClick),document.addEventListener("keydown",this.onKeydown)):(this.stop(),document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onKeydown))}disconnectedCallback(){this.stop(),document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onKeydown)}async show(){this.setOpen(!0)}async close(){this.setOpen(!1)}onItemClose(){this.setOpen(!1)}setOpen(t){this.open!==t&&(this.open=t,this.uiOpenChange.emit(t))}start(){this.triggerEl&&this.floatingEl&&(this.stop(),this.cleanup=a(this.triggerEl,this.floatingEl,(()=>{this.triggerEl&&this.floatingEl&&r(this.triggerEl,this.floatingEl,{placement:this.placement,middleware:[d(8),h(),c({padding:8})]}).then((({x:t,y:s})=>{Object.assign(this.floatingEl.style,{left:t+"px",top:s+"px"})}))})))}stop(){this.cleanup?.(),this.cleanup=void 0}render(){return n(o,{key:"65adc044508abd9ebf4b866fba02058bdcd22d5d"},n("span",{key:"e70a23e1b41c7936ab1dc3a87cd3593b3db43088",class:"trigger",ref:t=>this.triggerEl=t,onClick:this.onTriggerClick},n("slot",{key:"40f2226b6ba6f1d3032cd2b2f2477fbcdf9617b5",name:"trigger"})),n("div",{key:"6af4ab3c98a9334d805e75da724d5572e4c986aa",class:{menu:!0,"is-open":this.open},role:"menu",ref:t=>this.floatingEl=t},n("slot",{key:"7f99ba16ab9544d5cf63b28f77f18fd4d0fbbed2"})))}get host(){return this}static get watchers(){return{open:[{onOpenChange:0}]}}static get style(){return":host{display:inline-block}.trigger{display:inline-flex}.menu{position:fixed;top:0;left:0;z-index:50;display:flex;flex-direction:column;gap:0.125rem;min-width:10rem;max-width:calc(100vw - 1rem);padding:0.375rem;font-family:var(--ui-font-sans);color:var(--ui-foreground);border:1px solid var(--ui-border);background:var(--ui-panel-strong);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px);border-radius:var(--ui-radius);visibility:hidden;opacity:0;transform:scale(0.96);transition:opacity var(--ui-duration) var(--ui-ease), transform var(--ui-duration) var(--ui-ease)}.menu.is-open{visibility:visible;opacity:1;transform:scale(1)}"}},[257,"ui-dropdown-menu",{open:[1540],placement:[1],show:[64],close:[64]},[[0,"uiDropdownClose","onItemClose"]],{open:[{onOpenChange:0}]}]);function u(){"undefined"!=typeof customElements&&["ui-dropdown-menu"].forEach((s=>{"ui-dropdown-menu"===s&&(customElements.get(t(s))||customElements.define(t(s),l))}))}u();const m=l,p=u;export{m as UiDropdownMenu,p as defineCustomElement}
@@ -1 +1 @@
1
- import{t as e,p as i,H as r,h as s,a as t}from"./index.js";const a=i(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.required=!1}render(){return s(t,{key:"1f944085a10d6c795ce06a7a91021fee46780347"},s("div",{key:"a2f2fde238292d543c65bf6e1ed0dfd0dce424f9",class:"field"},this.label&&s("label",{key:"4f450b5e43f1ea8dda3b3134022a010391a2f404",class:"label",htmlFor:this.fieldId},this.label,this.required&&s("span",{key:"1853d16b19752584b646a294dcbe2b8359ec12b4",class:"required","aria-hidden":"true"}," *")),s("slot",{key:"75adc24c2264e3e954618737769232535caa13e4"}),this.error?s("p",{class:"error",role:"alert"},this.error):this.description&&s("p",{class:"description"},this.description)))}static get style(){return":host{display:block}.field{display:flex;flex-direction:column;gap:0.375rem}.label{font-family:var(--ui-font-sans);font-size:0.875rem;font-weight:500;color:var(--ui-foreground)}.required{color:var(--ui-danger)}.error{margin:0;font-family:var(--ui-font-sans);font-size:0.75rem;color:var(--ui-danger)}.description{margin:0;font-family:var(--ui-font-sans);font-size:0.75rem;color:var(--ui-text-muted)}"}},[257,"ui-field",{label:[1],description:[1],error:[1],required:[4],fieldId:[1,"field-id"]}]);function o(){"undefined"!=typeof customElements&&["ui-field"].forEach((i=>{"ui-field"===i&&(customElements.get(e(i))||customElements.define(e(i),a))}))}o();const d=a,l=o;export{d as UiField,l as defineCustomElement}
1
+ import{t as e,p as i,H as r,h as s,a as t}from"./index.js";const a=i(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.required=!1}render(){return s(t,{key:"5656c6d47f71364d26db0e4998e64b8780ee3840"},s("div",{key:"6adc292e3ae0829c7f5533b2be732644f7e95dab",class:"field"},this.label&&s("label",{key:"e7c2e2fa1c3b0bc6edadb1385062fe53e5b2f5f7",class:"label",htmlFor:this.fieldId},this.label,this.required&&s("span",{key:"06e56259184b4618eb9f2b3602ebb691e6b0ef1b",class:"required","aria-hidden":"true"}," *")),s("slot",{key:"bd44f4f425f257671eff1ed536051fb318671afc"}),this.error?s("p",{class:"error",role:"alert"},this.error):this.description&&s("p",{class:"description"},this.description)))}static get style(){return":host{display:block}.field{display:flex;flex-direction:column;gap:0.375rem}.label{font-family:var(--ui-font-sans);font-size:0.875rem;font-weight:500;color:var(--ui-foreground)}.required{color:var(--ui-danger)}.error{margin:0;font-family:var(--ui-font-sans);font-size:0.75rem;color:var(--ui-danger)}.description{margin:0;font-family:var(--ui-font-sans);font-size:0.75rem;color:var(--ui-text-muted)}"}},[257,"ui-field",{label:[1],description:[1],error:[1],required:[4],fieldId:[1,"field-id"]}]);function o(){"undefined"!=typeof customElements&&["ui-field"].forEach((i=>{"ui-field"===i&&(customElements.get(e(i))||customElements.define(e(i),a))}))}o();const f=a,l=o;export{f as UiField,l as defineCustomElement}
@@ -1 +1 @@
1
- import{t as i,p as t,H as e,c as s,h as n,a as r}from"./index.js";const a=t(class extends e{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow(),this.uiInput=s(this,"uiInput"),this.uiChange=s(this,"uiChange"),this.value="",this.type="text",this.disabled=!1,this.invalid=!1,this.onInput=i=>{const t=i.target;this.value=t.value,this.uiInput.emit(t.value)},this.onChange=i=>{this.uiChange.emit(i.target.value)}}render(){return n(r,{key:"e2ca2973fb898cde6988d2422f8b346662caf375"},n("input",{key:"6e2b0358dc583f448a71f95f319d0fd675536c60",class:{input:!0,invalid:this.invalid},type:this.type,value:this.value,name:this.name,placeholder:this.placeholder,disabled:this.disabled,"aria-invalid":this.invalid?"true":null,onInput:this.onInput,onChange:this.onChange}))}static get style(){return":host{display:block}.input{width:100%;height:2.75rem;padding:0 1rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-panel);color:var(--ui-foreground);font-family:var(--ui-font-sans);font-size:0.875rem;outline:none;backdrop-filter:blur(22px);transition:all var(--ui-duration) var(--ui-ease);box-sizing:border-box}.input::placeholder{color:var(--ui-text-faint)}.input:focus-visible{border-color:var(--ui-accent);box-shadow:0 0 0 2px var(--ui-ring)}.input:disabled{opacity:0.5;pointer-events:none}.input.invalid{border-color:var(--ui-danger)}.input.invalid:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb, var(--ui-danger) 40%, transparent)}"}},[1,"ui-input",{value:[1025],placeholder:[1],type:[1],disabled:[4],invalid:[4],name:[1]}]);function o(){"undefined"!=typeof customElements&&["ui-input"].forEach((t=>{"ui-input"===t&&(customElements.get(i(t))||customElements.define(i(t),a))}))}o();const u=a,d=o;export{u as UiInput,d as defineCustomElement}
1
+ import{t as i,p as t,H as e,c as s,h as n,a as r}from"./index.js";const a=t(class extends e{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow(),this.uiInput=s(this,"uiInput"),this.uiChange=s(this,"uiChange"),this.value="",this.type="text",this.disabled=!1,this.invalid=!1,this.onInput=i=>{const t=i.target;this.value=t.value,this.uiInput.emit(t.value)},this.onChange=i=>{this.uiChange.emit(i.target.value)}}render(){return n(r,{key:"b904b919904db1677ed9480e43bf939138f09dfc"},n("input",{key:"086b0bdd4a5f5c01af04be41cdee2e72af2376f1",class:{input:!0,invalid:this.invalid},type:this.type,value:this.value,name:this.name,placeholder:this.placeholder,disabled:this.disabled,"aria-invalid":this.invalid?"true":null,onInput:this.onInput,onChange:this.onChange}))}static get style(){return":host{display:block}.input{width:100%;height:2.75rem;padding:0 1rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-panel);color:var(--ui-foreground);font-family:var(--ui-font-sans);font-size:0.875rem;outline:none;backdrop-filter:blur(22px);transition:all var(--ui-duration) var(--ui-ease);box-sizing:border-box}.input::placeholder{color:var(--ui-text-faint)}.input:focus-visible{border-color:var(--ui-accent);box-shadow:0 0 0 2px var(--ui-ring)}.input:disabled{opacity:0.5;pointer-events:none}.input.invalid{border-color:var(--ui-danger)}.input.invalid:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb, var(--ui-danger) 40%, transparent)}"}},[1,"ui-input",{value:[1025],placeholder:[1],type:[1],disabled:[4],invalid:[4],name:[1]}]);function o(){"undefined"!=typeof customElements&&["ui-input"].forEach((t=>{"ui-input"===t&&(customElements.get(i(t))||customElements.define(i(t),a))}))}o();const u=a,d=o;export{u as UiInput,d as defineCustomElement}
@@ -1 +1 @@
1
- import{t as e,p as t,H as s,h as a,a as c}from"./index.js";const l=t(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return a(c,{key:"bb726d8b26a82776e688532b6fbe69c178308c75"},a("label",{key:"bfd33ad1561fcee62395be37e83894cdce0ec259",class:"label"},a("slot",{key:"c0ac5938df3aea7219a59caf46cb7cd152046770"})))}static get style(){return":host{display:inline-block}.label{font-family:var(--ui-font-sans);font-size:0.875rem;font-weight:500;color:var(--ui-foreground)}"}},[257,"ui-label"]);function n(){"undefined"!=typeof customElements&&["ui-label"].forEach((t=>{"ui-label"===t&&(customElements.get(e(t))||customElements.define(e(t),l))}))}n();const o=l,i=n;export{o as UiLabel,i as defineCustomElement}
1
+ import{t as e,p as t,H as s,h as l,a}from"./index.js";const n=t(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return l(a,{key:"5ded9464de8fe01a6bb830f4de51975cfd720746"},l("label",{key:"1a14229c5e511eac3cb4244f546aee71a4f5d399",class:"label"},l("slot",{key:"7c5def32e92ffdc6dcb1b83c044f5199957f5951"})))}static get style(){return":host{display:inline-block}.label{font-family:var(--ui-font-sans);font-size:0.875rem;font-weight:500;color:var(--ui-foreground)}"}},[257,"ui-label"]);function o(){"undefined"!=typeof customElements&&["ui-label"].forEach((t=>{"ui-label"===t&&(customElements.get(e(t))||customElements.define(e(t),n))}))}o();const c=n,f=o;export{c as UiLabel,f as defineCustomElement}
@@ -1 +1 @@
1
- import{t,p as s,H as i,c as e,h as a,a as o}from"./index.js";import{a as n,c as r,o as c,f as h,s as d}from"./p-CyBRmmbs.js";const p=s(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.uiOpenChange=e(this,"uiOpenChange"),this.open=!1,this.placement="bottom",this.onTriggerClick=t=>{t.stopPropagation(),this.setOpen(!this.open)},this.onDocumentClick=t=>{this.open&&(t.composedPath().includes(this.host)||this.setOpen(!1))},this.onKeydown=t=>{"Escape"===t.key&&this.open&&this.setOpen(!1)}}onOpenChange(t){t?(requestAnimationFrame((()=>this.start())),document.addEventListener("click",this.onDocumentClick),document.addEventListener("keydown",this.onKeydown)):(this.stop(),document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onKeydown))}disconnectedCallback(){this.stop(),document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onKeydown)}async show(){this.setOpen(!0)}async close(){this.setOpen(!1)}setOpen(t){this.open!==t&&(this.open=t,this.uiOpenChange.emit(t))}start(){this.triggerEl&&this.floatingEl&&(this.stop(),this.cleanup=n(this.triggerEl,this.floatingEl,(()=>{this.triggerEl&&this.floatingEl&&r(this.triggerEl,this.floatingEl,{placement:this.placement,middleware:[c(8),h(),d({padding:8})]}).then((({x:t,y:s})=>{Object.assign(this.floatingEl.style,{left:t+"px",top:s+"px"})}))})))}stop(){this.cleanup?.(),this.cleanup=void 0}render(){return a(o,{key:"193a3f6fb440dc2da1837c2387511d38f71e7da3"},a("span",{key:"8732b0b40340e39ac26b80e38864438cf9bf01cc",class:"trigger",ref:t=>this.triggerEl=t,onClick:this.onTriggerClick},a("slot",{key:"d51743b5fa62e8fd5c5639ba2d9681caa8556fb0",name:"trigger"})),a("div",{key:"a2ae9fd5bb67dc1ad4243ac478ecc11cb4c28665",class:{panel:!0,"is-open":this.open},ref:t=>this.floatingEl=t},a("slot",{key:"655d8b979962d25dabe8497516be51199ce16452"})))}get host(){return this}static get watchers(){return{open:[{onOpenChange:0}]}}static get style(){return":host{display:inline-block}.trigger{display:inline-flex}.panel{position:fixed;top:0;left:0;z-index:50;width:18rem;max-width:calc(100vw - 1rem);padding:1rem;font-family:var(--ui-font-sans);color:var(--ui-foreground);border:1px solid var(--ui-border);background:var(--ui-panel-strong);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px);border-radius:var(--ui-radius);visibility:hidden;opacity:0;transform:scale(0.96);transition:opacity var(--ui-duration) var(--ui-ease), transform var(--ui-duration) var(--ui-ease)}.panel.is-open{visibility:visible;opacity:1;transform:scale(1)}"}},[257,"ui-popover",{open:[1540],placement:[1],show:[64],close:[64]},void 0,{open:[{onOpenChange:0}]}]);function l(){"undefined"!=typeof customElements&&["ui-popover"].forEach((s=>{"ui-popover"===s&&(customElements.get(t(s))||customElements.define(t(s),p))}))}l();const u=p,m=l;export{u as UiPopover,m as defineCustomElement}
1
+ import{t,p as s,H as i,c as e,h as a,a as o}from"./index.js";import{a as n,c as r,o as c,f as h,s as d}from"./p-CyBRmmbs.js";const p=s(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.uiOpenChange=e(this,"uiOpenChange"),this.open=!1,this.placement="bottom",this.onTriggerClick=t=>{t.stopPropagation(),this.setOpen(!this.open)},this.onDocumentClick=t=>{this.open&&(t.composedPath().includes(this.host)||this.setOpen(!1))},this.onKeydown=t=>{"Escape"===t.key&&this.open&&this.setOpen(!1)}}onOpenChange(t){t?(requestAnimationFrame((()=>this.start())),document.addEventListener("click",this.onDocumentClick),document.addEventListener("keydown",this.onKeydown)):(this.stop(),document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onKeydown))}disconnectedCallback(){this.stop(),document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onKeydown)}async show(){this.setOpen(!0)}async close(){this.setOpen(!1)}setOpen(t){this.open!==t&&(this.open=t,this.uiOpenChange.emit(t))}start(){this.triggerEl&&this.floatingEl&&(this.stop(),this.cleanup=n(this.triggerEl,this.floatingEl,(()=>{this.triggerEl&&this.floatingEl&&r(this.triggerEl,this.floatingEl,{placement:this.placement,middleware:[c(8),h(),d({padding:8})]}).then((({x:t,y:s})=>{Object.assign(this.floatingEl.style,{left:t+"px",top:s+"px"})}))})))}stop(){this.cleanup?.(),this.cleanup=void 0}render(){return a(o,{key:"583667abe2df75e7c9e058b7a668661527ec0b8a"},a("span",{key:"46eaca2ca8c70acff629ccc5c3c201b42136c30d",class:"trigger",ref:t=>this.triggerEl=t,onClick:this.onTriggerClick},a("slot",{key:"d81cf859a9887d3b6964ac8e67829cf1a84c58b2",name:"trigger"})),a("div",{key:"da09ed4fa3eee00ef72fb4c0eba6f0a1b827df15",class:{panel:!0,"is-open":this.open},ref:t=>this.floatingEl=t},a("slot",{key:"f2483196e778a14fbe1d537dd7a3c8a6453c0daf"})))}get host(){return this}static get watchers(){return{open:[{onOpenChange:0}]}}static get style(){return":host{display:inline-block}.trigger{display:inline-flex}.panel{position:fixed;top:0;left:0;z-index:50;width:18rem;max-width:calc(100vw - 1rem);padding:1rem;font-family:var(--ui-font-sans);color:var(--ui-foreground);border:1px solid var(--ui-border);background:var(--ui-panel-strong);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px);border-radius:var(--ui-radius);visibility:hidden;opacity:0;transform:scale(0.96);transition:opacity var(--ui-duration) var(--ui-ease), transform var(--ui-duration) var(--ui-ease)}.panel.is-open{visibility:visible;opacity:1;transform:scale(1)}"}},[257,"ui-popover",{open:[1540],placement:[1],show:[64],close:[64]},void 0,{open:[{onOpenChange:0}]}]);function l(){"undefined"!=typeof customElements&&["ui-popover"].forEach((s=>{"ui-popover"===s&&(customElements.get(t(s))||customElements.define(t(s),p))}))}l();const u=p,f=l;export{u as UiPopover,f as defineCustomElement}
@@ -1 +1 @@
1
- import{t as e,p as i,H as t,h as s,a as r}from"./index.js";const a=i(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.value=null,this.max=100,this.indeterminate=!1}get isIndeterminate(){return this.indeterminate||null===this.value}get percent(){return null===this.value||this.max<=0?0:Math.min(Math.max(this.value,0),this.max)/this.max*100}render(){const e=!this.isIndeterminate;return s(r,{key:"0be3e6f551bf5401e033a7faba2787eb4166eb0a",role:"progressbar","aria-valuenow":e?this.value+"":void 0,"aria-valuemin":e?"0":void 0,"aria-valuemax":e?this.max+"":void 0},s("div",{key:"89151bf96326053ce60b71a2f2f9b6c13d721e39",class:"track"},s("div",{key:"2cdf8f8cbbe7729813e8e78b671fc43b7ebec153",class:{indicator:!0,indeterminate:this.isIndeterminate},style:e?{width:this.percent+"%"}:void 0})))}static get style(){return":host{display:block}.track{width:100%;height:0.5rem;border-radius:var(--ui-radius-full);background:var(--ui-chip);overflow:hidden}.indicator{height:100%;border-radius:var(--ui-radius-full);background:var(--ui-accent);transition:width var(--ui-duration) var(--ui-ease)}.indicator.indeterminate{width:40%;animation:ui-progress-slide 1.2s ease-in-out infinite}@keyframes ui-progress-slide{0%{transform:translateX(-100%)}100%{transform:translateX(250%)}}"}},[1,"ui-progress",{value:[2],max:[2],indeterminate:[4]}]);function n(){"undefined"!=typeof customElements&&["ui-progress"].forEach((i=>{"ui-progress"===i&&(customElements.get(e(i))||customElements.define(e(i),a))}))}n();const o=a,u=n;export{o as UiProgress,u as defineCustomElement}
1
+ import{t as i,p as r,H as t,h as e,a}from"./index.js";const s=r(class extends t{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow(),this.value=null,this.max=100,this.indeterminate=!1}get isIndeterminate(){return this.indeterminate||null===this.value}get percent(){return null===this.value||this.max<=0?0:Math.min(Math.max(this.value,0),this.max)/this.max*100}render(){const i=!this.isIndeterminate;return e(a,{key:"66c467df7d762604b0da866268ea75bce4499472",role:"progressbar","aria-valuenow":i?this.value+"":void 0,"aria-valuemin":i?"0":void 0,"aria-valuemax":i?this.max+"":void 0},e("div",{key:"fab67d49344ddd90fbca231212a495c7d2d7a0b1",class:"track"},e("div",{key:"dfbd8b412ad24a297e3dacfabd646b812066421e",class:{indicator:!0,indeterminate:this.isIndeterminate},style:i?{width:this.percent+"%"}:void 0})))}static get style(){return":host{display:block}.track{width:100%;height:0.5rem;border-radius:var(--ui-radius-full);background:var(--ui-chip);border:1px solid var(--ui-border);overflow:hidden;box-sizing:border-box}.indicator{height:100%;min-width:0.5rem;border-radius:var(--ui-radius-full);background:linear-gradient(90deg, var(--ui-accent), var(--ui-accent-strong));box-shadow:0 0 12px color-mix(in srgb, var(--ui-accent) 55%, transparent);transition:width var(--ui-duration) var(--ui-ease)}.indicator.indeterminate{width:40%;min-width:0;animation:ui-progress-slide 1.3s var(--ui-ease) infinite}@keyframes ui-progress-slide{0%{transform:translateX(-110%)}100%{transform:translateX(360%)}}"}},[1,"ui-progress",{value:[2],max:[2],indeterminate:[4]}]);function n(){"undefined"!=typeof customElements&&["ui-progress"].forEach((r=>{"ui-progress"===r&&(customElements.get(i(r))||customElements.define(i(r),s))}))}n();const d=s,o=n;export{d as UiProgress,o as defineCustomElement}
@@ -1 +1 @@
1
- import{t as e,p as t,H as s,h as i,a as r}from"./index.js";const a=t(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.delay=0,this.visible=!1}connectedCallback(){"undefined"!=typeof IntersectionObserver?(this.observer=new IntersectionObserver((e=>{for(const t of e)if(t.isIntersecting){this.visible=!0,this.observer?.disconnect();break}})),this.observer.observe(this.host)):this.visible=!0}disconnectedCallback(){this.observer?.disconnect()}render(){return i(r,{key:"926e1c25b8463f92dc35a010d58b9bd622932c21"},i("div",{key:"0561142e1b0955e22d12056f316c98556cb5365d",class:{reveal:!0,visible:this.visible},style:{transitionDelay:this.delay+"ms"}},i("slot",{key:"bd53a6ca33153d3f7768a7662e5e5b78ea221cc6"})))}get host(){return this}static get style(){return":host{display:block}.reveal{opacity:0;transform:translateY(16px);filter:blur(8px);transition:opacity 0.6s var(--ui-ease), transform 0.6s var(--ui-ease), filter 0.6s var(--ui-ease)}.reveal.visible{opacity:1;transform:none;filter:none}"}},[257,"ui-reveal",{delay:[2],visible:[32]}]);function n(){"undefined"!=typeof customElements&&["ui-reveal"].forEach((t=>{"ui-reveal"===t&&(customElements.get(e(t))||customElements.define(e(t),a))}))}n();const o=a,c=n;export{o as UiReveal,c as defineCustomElement}
1
+ import{t as e,p as t,H as s,h as i,a as r}from"./index.js";const a=t(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.delay=0,this.visible=!1}connectedCallback(){"undefined"!=typeof IntersectionObserver?(this.observer=new IntersectionObserver((e=>{for(const t of e)if(t.isIntersecting){this.visible=!0,this.observer?.disconnect();break}})),this.observer.observe(this.host)):this.visible=!0}disconnectedCallback(){this.observer?.disconnect()}render(){return i(r,{key:"0af93c131bf8564bf952ca61637041089b5c34b7"},i("div",{key:"94a0fc0cf5445b9832994c19eb5600f6227ccc97",class:{reveal:!0,visible:this.visible},style:{transitionDelay:this.delay+"ms"}},i("slot",{key:"2a47e0af589790cbe5cfbc10ef49ffde1aced931"})))}get host(){return this}static get style(){return":host{display:block}.reveal{opacity:0;transform:translateY(16px);filter:blur(8px);transition:opacity 0.6s var(--ui-ease), transform 0.6s var(--ui-ease), filter 0.6s var(--ui-ease)}.reveal.visible{opacity:1;transform:none;filter:none}"}},[257,"ui-reveal",{delay:[2],visible:[32]}]);function n(){"undefined"!=typeof customElements&&["ui-reveal"].forEach((t=>{"ui-reveal"===t&&(customElements.get(e(t))||customElements.define(e(t),a))}))}n();const c=a,o=n;export{c as UiReveal,o as defineCustomElement}
@@ -1 +1 @@
1
- import{t as e,p as s,H as t,h as r,a}from"./index.js";const i=s(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.progress=0,this.onScroll=()=>{if("undefined"==typeof document)return;const e=document.documentElement,s=e.scrollHeight-e.clientHeight;this.progress=s>0?e.scrollTop/s:0}}connectedCallback(){"undefined"!=typeof window&&(window.addEventListener("scroll",this.onScroll,{passive:!0}),this.onScroll())}disconnectedCallback(){"undefined"!=typeof window&&window.removeEventListener("scroll",this.onScroll)}render(){return r(a,{key:"7eced0439a2d6ef04d085396a6fc0e69fbe798ed"},r("div",{key:"30db3ea1a3fce2a26ebca96568e939c4a0183922",class:"bar",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(100*this.progress),style:{transform:`scaleX(${this.progress})`}}))}static get style(){return":host{display:block}.bar{position:fixed;top:0;left:0;width:100%;height:2px;transform-origin:left;transform:scaleX(0);background:linear-gradient( 90deg, var(--ui-accent), var(--ui-accent-strong) );z-index:100;transition:transform var(--ui-duration) var(--ui-ease)}"}},[1,"ui-scroll-progress",{progress:[32]}]);function n(){"undefined"!=typeof customElements&&["ui-scroll-progress"].forEach((s=>{"ui-scroll-progress"===s&&(customElements.get(e(s))||customElements.define(e(s),i))}))}n();const o=i,c=n;export{o as UiScrollProgress,c as defineCustomElement}
1
+ import{t as e,p as s,H as t,h as r,a as i}from"./index.js";const n=s(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.progress=0,this.onScroll=()=>{if("undefined"==typeof document)return;const e=document.documentElement,s=e.scrollHeight-e.clientHeight;this.progress=s>0?e.scrollTop/s:0}}connectedCallback(){"undefined"!=typeof window&&(window.addEventListener("scroll",this.onScroll,{passive:!0}),this.onScroll())}disconnectedCallback(){"undefined"!=typeof window&&window.removeEventListener("scroll",this.onScroll)}render(){return r(i,{key:"36bb4460d8219c028ff63216ef562f0d157fd04d"},r("div",{key:"345b9675be89ede7875c56ad3f86ae2eecdf4f16",class:"bar",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(100*this.progress),style:{transform:`scaleX(${this.progress})`}}))}static get style(){return":host{display:block}.bar{position:fixed;top:0;left:0;width:100%;height:2px;transform-origin:left;transform:scaleX(0);background:linear-gradient( 90deg, var(--ui-accent), var(--ui-accent-strong) );z-index:100;transition:transform var(--ui-duration) var(--ui-ease)}"}},[1,"ui-scroll-progress",{progress:[32]}]);function o(){"undefined"!=typeof customElements&&["ui-scroll-progress"].forEach((s=>{"ui-scroll-progress"===s&&(customElements.get(e(s))||customElements.define(e(s),n))}))}o();const a=n,c=o;export{a as UiScrollProgress,c as defineCustomElement}
@@ -1 +1 @@
1
- import{t as e,p as t,H as a,h as s,a as i}from"./index.js";const r=t(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.eyebrow="",this.heading="",this.description=""}render(){return s(i,{key:"63ee126b1e457a4dcd01a66aa519e6fae8377db6"},s("section",{key:"34f3c07dca2e9f6a3c288b7c41abaf2a3502129f"},this.eyebrow&&s("p",{key:"7c71e3e38e56872757d017ba4f59949f50518c6f",class:"eyebrow"},this.eyebrow),this.heading&&s("h2",{key:"b8f42a4ae5d2e5d8fb80a4cb9de07ca10c2423fd",class:"heading"},this.heading),this.description&&s("p",{key:"faeba9733afaa52e7a08629459dd708b4f647740",class:"description"},this.description),s("slot",{key:"99e906d4ca93461c35125acb4eb3401ed76929fe"})))}static get style(){return":host{display:block;font-family:var(--ui-font-sans)}section{max-width:80rem;margin:0 auto;padding:5rem 1.25rem}.eyebrow{margin:0 0 0.75rem;text-transform:uppercase;letter-spacing:0.08em;font-size:0.75rem;font-weight:600;color:var(--ui-accent)}.heading{margin:0 0 1rem;font-size:1.875rem;font-weight:600;color:var(--ui-foreground)}.description{margin:0 0 2rem;max-width:42rem;color:var(--ui-text-muted)}"}},[257,"ui-section",{eyebrow:[1],heading:[1],description:[1]}]);function c(){"undefined"!=typeof customElements&&["ui-section"].forEach((t=>{"ui-section"===t&&(customElements.get(e(t))||customElements.define(e(t),r))}))}c();const n=r,o=c;export{n as UiSection,o as defineCustomElement}
1
+ import{t as e,p as t,H as i,h as r,a as s}from"./index.js";const a=t(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.eyebrow="",this.heading="",this.description=""}render(){return r(s,{key:"17a6e52fb6d1822d7a8a08eef052d972cc322c0a"},r("section",{key:"228e9c1e4ca2515f585cafa2684932bfac70a25b"},this.eyebrow&&r("p",{key:"93c307b49c39fe2c0b2363d75c9763b3c09446a5",class:"eyebrow"},this.eyebrow),this.heading&&r("h2",{key:"889c652e358f1788c5785f1154f5a45508fa2a61",class:"heading"},this.heading),this.description&&r("p",{key:"09cb09edfbc0dce2b7fd5e9938cafc63e2ddbd9a",class:"description"},this.description),r("slot",{key:"4f480d0c56263f1e38909e8af8d7cd8d8c2375fe"})))}static get style(){return":host{display:block;font-family:var(--ui-font-sans)}section{max-width:80rem;margin:0 auto;padding:3.5rem 1.5rem}.eyebrow{display:inline-block;margin:0 0 0.75rem;padding:0.25rem 0.625rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius-full);background:var(--ui-chip);text-transform:uppercase;letter-spacing:0.12em;font-size:0.6875rem;font-weight:600;color:var(--ui-accent)}.heading{margin:0 0 0.75rem;font-size:2.25rem;font-weight:600;letter-spacing:-0.02em;line-height:1.1;color:var(--ui-foreground)}.description{margin:0 0 2rem;max-width:42rem;color:var(--ui-text-muted)}"}},[257,"ui-section",{eyebrow:[1],heading:[1],description:[1]}]);function c(){"undefined"!=typeof customElements&&["ui-section"].forEach((t=>{"ui-section"===t&&(customElements.get(e(t))||customElements.define(e(t),a))}))}c();const n=a,o=c;export{n as UiSection,o as defineCustomElement}