@voidable/ui 0.5.1 → 0.5.3

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 (195) hide show
  1. package/dist/base.d.ts +5 -0
  2. package/dist/base.d.ts.map +1 -0
  3. package/dist/base.js +9 -0
  4. package/dist/chunks/decorate-DKuCkHK4.js +9 -0
  5. package/dist/components/accordion.d.ts +25 -0
  6. package/dist/components/accordion.d.ts.map +1 -0
  7. package/dist/components/accordion.js +72 -0
  8. package/dist/components/action-input.d.ts +28 -0
  9. package/dist/components/action-input.d.ts.map +1 -0
  10. package/dist/components/action-input.js +117 -0
  11. package/dist/components/alert.d.ts +20 -0
  12. package/dist/components/alert.d.ts.map +1 -0
  13. package/dist/components/alert.js +40 -0
  14. package/dist/components/avatar.d.ts +18 -0
  15. package/dist/components/avatar.d.ts.map +1 -0
  16. package/dist/components/avatar.js +36 -0
  17. package/dist/components/badge.d.ts +14 -0
  18. package/dist/components/badge.d.ts.map +1 -0
  19. package/dist/components/badge.js +24 -0
  20. package/dist/components/banner.d.ts +20 -0
  21. package/dist/components/banner.d.ts.map +1 -0
  22. package/dist/components/banner.js +40 -0
  23. package/dist/components/breadcrumbs.d.ts +16 -0
  24. package/dist/components/breadcrumbs.d.ts.map +1 -0
  25. package/dist/components/breadcrumbs.js +33 -0
  26. package/dist/components/button.d.ts +25 -0
  27. package/dist/components/button.d.ts.map +1 -0
  28. package/dist/components/button.js +56 -0
  29. package/dist/components/calendar.d.ts +75 -0
  30. package/dist/components/calendar.d.ts.map +1 -0
  31. package/dist/components/calendar.js +405 -0
  32. package/dist/components/card.d.ts +18 -0
  33. package/dist/components/card.d.ts.map +1 -0
  34. package/dist/components/card.js +32 -0
  35. package/dist/components/carousel.d.ts +41 -0
  36. package/dist/components/carousel.d.ts.map +1 -0
  37. package/dist/components/carousel.js +142 -0
  38. package/dist/components/checkbox-group.d.ts +20 -0
  39. package/dist/components/checkbox-group.d.ts.map +1 -0
  40. package/dist/components/checkbox-group.js +48 -0
  41. package/dist/components/checkbox.d.ts +25 -0
  42. package/dist/components/checkbox.d.ts.map +1 -0
  43. package/dist/components/checkbox.js +69 -0
  44. package/dist/components/collapsible.d.ts +21 -0
  45. package/dist/components/collapsible.d.ts.map +1 -0
  46. package/dist/components/collapsible.js +60 -0
  47. package/dist/components/color-picker.d.ts +47 -0
  48. package/dist/components/color-picker.d.ts.map +1 -0
  49. package/dist/components/color-picker.js +215 -0
  50. package/dist/components/combobox.d.ts +30 -0
  51. package/dist/components/combobox.d.ts.map +1 -0
  52. package/dist/components/combobox.js +89 -0
  53. package/dist/components/compose-input.d.ts +19 -0
  54. package/dist/components/compose-input.d.ts.map +1 -0
  55. package/dist/components/compose-input.js +71 -0
  56. package/dist/components/dialog.d.ts +26 -0
  57. package/dist/components/dialog.d.ts.map +1 -0
  58. package/dist/components/dialog.js +64 -0
  59. package/dist/components/divider.d.ts +16 -0
  60. package/dist/components/divider.d.ts.map +1 -0
  61. package/dist/components/divider.js +28 -0
  62. package/dist/components/drawer.d.ts +26 -0
  63. package/dist/components/drawer.d.ts.map +1 -0
  64. package/dist/components/drawer.js +62 -0
  65. package/dist/components/dropdown-menu.d.ts +29 -0
  66. package/dist/components/dropdown-menu.d.ts.map +1 -0
  67. package/dist/components/dropdown-menu.js +72 -0
  68. package/dist/components/editable.d.ts +27 -0
  69. package/dist/components/editable.d.ts.map +1 -0
  70. package/dist/components/editable.js +82 -0
  71. package/dist/components/error-fallback.d.ts +18 -0
  72. package/dist/components/error-fallback.d.ts.map +1 -0
  73. package/dist/components/error-fallback.js +35 -0
  74. package/dist/components/field.d.ts +19 -0
  75. package/dist/components/field.d.ts.map +1 -0
  76. package/dist/components/field.js +42 -0
  77. package/dist/components/file-upload.d.ts +26 -0
  78. package/dist/components/file-upload.d.ts.map +1 -0
  79. package/dist/components/file-upload.js +98 -0
  80. package/dist/components/hamburger.d.ts +18 -0
  81. package/dist/components/hamburger.d.ts.map +1 -0
  82. package/dist/components/hamburger.js +45 -0
  83. package/dist/components/hover-card.d.ts +31 -0
  84. package/dist/components/hover-card.d.ts.map +1 -0
  85. package/dist/components/hover-card.js +80 -0
  86. package/dist/components/indicator.d.ts +20 -0
  87. package/dist/components/indicator.d.ts.map +1 -0
  88. package/dist/components/indicator.js +39 -0
  89. package/dist/components/input.d.ts +23 -0
  90. package/dist/components/input.d.ts.map +1 -0
  91. package/dist/components/input.js +73 -0
  92. package/dist/components/list.d.ts +22 -0
  93. package/dist/components/list.d.ts.map +1 -0
  94. package/dist/components/list.js +45 -0
  95. package/dist/components/menu.d.ts +50 -0
  96. package/dist/components/menu.d.ts.map +1 -0
  97. package/dist/components/menu.js +162 -0
  98. package/dist/components/multiselect.d.ts +35 -0
  99. package/dist/components/multiselect.d.ts.map +1 -0
  100. package/dist/components/multiselect.js +117 -0
  101. package/dist/components/nav-bar.d.ts +18 -0
  102. package/dist/components/nav-bar.d.ts.map +1 -0
  103. package/dist/components/nav-bar.js +35 -0
  104. package/dist/components/nav-menu.d.ts +42 -0
  105. package/dist/components/nav-menu.d.ts.map +1 -0
  106. package/dist/components/nav-menu.js +122 -0
  107. package/dist/components/number-input.d.ts +41 -0
  108. package/dist/components/number-input.d.ts.map +1 -0
  109. package/dist/components/number-input.js +143 -0
  110. package/dist/components/pagination.d.ts +17 -0
  111. package/dist/components/pagination.d.ts.map +1 -0
  112. package/dist/components/pagination.js +59 -0
  113. package/dist/components/panel.d.ts +18 -0
  114. package/dist/components/panel.d.ts.map +1 -0
  115. package/dist/components/panel.js +31 -0
  116. package/dist/components/pin-input.d.ts +33 -0
  117. package/dist/components/pin-input.d.ts.map +1 -0
  118. package/dist/components/pin-input.js +132 -0
  119. package/dist/components/popover.d.ts +24 -0
  120. package/dist/components/popover.d.ts.map +1 -0
  121. package/dist/components/popover.js +52 -0
  122. package/dist/components/progress.d.ts +18 -0
  123. package/dist/components/progress.d.ts.map +1 -0
  124. package/dist/components/progress.js +38 -0
  125. package/dist/components/radio-group.d.ts +24 -0
  126. package/dist/components/radio-group.d.ts.map +1 -0
  127. package/dist/components/radio-group.js +56 -0
  128. package/dist/components/radio.d.ts +24 -0
  129. package/dist/components/radio.d.ts.map +1 -0
  130. package/dist/components/radio.js +68 -0
  131. package/dist/components/scroll-area.d.ts +17 -0
  132. package/dist/components/scroll-area.d.ts.map +1 -0
  133. package/dist/components/scroll-area.js +30 -0
  134. package/dist/components/segmented-control.d.ts +27 -0
  135. package/dist/components/segmented-control.d.ts.map +1 -0
  136. package/dist/components/segmented-control.js +70 -0
  137. package/dist/components/select.d.ts +23 -0
  138. package/dist/components/select.d.ts.map +1 -0
  139. package/dist/components/select.js +64 -0
  140. package/dist/components/sidebar.d.ts +18 -0
  141. package/dist/components/sidebar.d.ts.map +1 -0
  142. package/dist/components/sidebar.js +40 -0
  143. package/dist/components/skeleton.d.ts +12 -0
  144. package/dist/components/skeleton.d.ts.map +1 -0
  145. package/dist/components/skeleton.js +18 -0
  146. package/dist/components/slider.d.ts +24 -0
  147. package/dist/components/slider.d.ts.map +1 -0
  148. package/dist/components/slider.js +68 -0
  149. package/dist/components/spinner.d.ts +15 -0
  150. package/dist/components/spinner.d.ts.map +1 -0
  151. package/dist/components/spinner.js +28 -0
  152. package/dist/components/stat.d.ts +18 -0
  153. package/dist/components/stat.d.ts.map +1 -0
  154. package/dist/components/stat.js +41 -0
  155. package/dist/components/status-dot.d.ts +14 -0
  156. package/dist/components/status-dot.d.ts.map +1 -0
  157. package/dist/components/status-dot.js +28 -0
  158. package/dist/components/stepper.d.ts +14 -0
  159. package/dist/components/stepper.d.ts.map +1 -0
  160. package/dist/components/stepper.js +45 -0
  161. package/dist/components/switch.d.ts +20 -0
  162. package/dist/components/switch.d.ts.map +1 -0
  163. package/dist/components/switch.js +45 -0
  164. package/dist/components/table.d.ts +14 -0
  165. package/dist/components/table.d.ts.map +1 -0
  166. package/dist/components/table.js +24 -0
  167. package/dist/components/tabs.d.ts +28 -0
  168. package/dist/components/tabs.d.ts.map +1 -0
  169. package/dist/components/tabs.js +75 -0
  170. package/dist/components/tag.d.ts +20 -0
  171. package/dist/components/tag.d.ts.map +1 -0
  172. package/dist/components/tag.js +41 -0
  173. package/dist/components/tags-input.d.ts +34 -0
  174. package/dist/components/tags-input.d.ts.map +1 -0
  175. package/dist/components/tags-input.js +108 -0
  176. package/dist/components/textarea.d.ts +24 -0
  177. package/dist/components/textarea.d.ts.map +1 -0
  178. package/dist/components/textarea.js +77 -0
  179. package/dist/components/toast.d.ts +36 -0
  180. package/dist/components/toast.d.ts.map +1 -0
  181. package/dist/components/toast.js +55 -0
  182. package/dist/components/toggle-group.d.ts +24 -0
  183. package/dist/components/toggle-group.d.ts.map +1 -0
  184. package/dist/components/toggle-group.js +80 -0
  185. package/dist/components/toggle.d.ts +15 -0
  186. package/dist/components/toggle.d.ts.map +1 -0
  187. package/dist/components/toggle.js +44 -0
  188. package/dist/components/tooltip.d.ts +26 -0
  189. package/dist/components/tooltip.d.ts.map +1 -0
  190. package/dist/components/tooltip.js +45 -0
  191. package/dist/index.d.ts +64 -1157
  192. package/dist/index.d.ts.map +1 -0
  193. package/dist/index.js +64 -0
  194. package/package.json +20 -1
  195. package/dist/ui.js +0 -4078
package/dist/base.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ import { LitElement } from 'lit';
2
+ export declare class VoidElement extends LitElement {
3
+ createRenderRoot(): this;
4
+ }
5
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAEjC,qBAAa,WAAY,SAAQ,UAAU;IACzC,gBAAgB,IAAI,IAAI;CAGzB"}
package/dist/base.js ADDED
@@ -0,0 +1,9 @@
1
+ import { LitElement as e } from "lit";
2
+ //#region src/base.ts
3
+ var t = class extends e {
4
+ createRenderRoot() {
5
+ return this;
6
+ }
7
+ };
8
+ //#endregion
9
+ export { t as VoidElement };
@@ -0,0 +1,9 @@
1
+ //#region \0@oxc-project+runtime@0.127.0/helpers/decorate.js
2
+ function e(e, t, n, r) {
3
+ var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
4
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
5
+ else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
6
+ return i > 3 && a && Object.defineProperty(t, n, a), a;
7
+ }
8
+ //#endregion
9
+ export { e as t };
@@ -0,0 +1,25 @@
1
+ import { VoidElement } from '../base.js';
2
+ /** Collapsible section container for FAQs, settings panels, and long-form content organized into expandable items. */
3
+ export declare class VoidAccordion extends VoidElement {
4
+ multiple: boolean;
5
+ }
6
+ /** Individual collapsible item within a VoidAccordion; renders a heading trigger and toggleable content body. */
7
+ export declare class VoidAccordionItem extends VoidElement {
8
+ heading: string;
9
+ open: boolean;
10
+ private _id;
11
+ private _userContent;
12
+ private _didSetup;
13
+ connectedCallback(): void;
14
+ protected updated(changed: Map<string, unknown>): void;
15
+ private _handleClick;
16
+ private _handleKeydown;
17
+ render(): import('lit').TemplateResult<1>;
18
+ }
19
+ declare global {
20
+ interface HTMLElementTagNameMap {
21
+ 'void-accordion': VoidAccordion;
22
+ 'void-accordion-item': VoidAccordionItem;
23
+ }
24
+ }
25
+ //# sourceMappingURL=accordion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../src/components/accordion.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,sHAAsH;AACtH,qBAAa,aAAc,SAAQ,WAAW;IACA,QAAQ,UAAS;CAC9D;AAMD,iHAAiH;AACjH,qBAAa,iBAAkB,SAAQ,WAAW;IACpB,OAAO,SAAM;IACG,IAAI,UAAS;IAEzD,OAAO,CAAC,GAAG,CAAuC;IAClD,OAAO,CAAC,YAAY,CAAc;IAClC,OAAO,CAAC,SAAS,CAAS;IAE1B,iBAAiB,IAAI,IAAI;cAON,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAa/D,OAAO,CAAC,YAAY,CAelB;IAEF,OAAO,CAAC,cAAc,CAKpB;IAEF,MAAM;CAuBP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,aAAa,CAAC;QAChC,qBAAqB,EAAE,iBAAiB,CAAC;KAC1C;CACF"}
@@ -0,0 +1,72 @@
1
+ import { VoidElement as e } from "../base.js";
2
+ import { t } from "../chunks/decorate-DKuCkHK4.js";
3
+ import { html as n } from "lit";
4
+ import { property as r } from "lit/decorators.js";
5
+ //#region src/components/accordion.ts
6
+ var i = class extends e {
7
+ constructor(...e) {
8
+ super(...e), this.multiple = !1;
9
+ }
10
+ };
11
+ t([r({
12
+ type: Boolean,
13
+ reflect: !0
14
+ })], i.prototype, "multiple", void 0), customElements.get("void-accordion") || customElements.define("void-accordion", i);
15
+ var a = class extends e {
16
+ constructor(...e) {
17
+ super(...e), this.heading = "", this.open = !1, this._id = Math.random().toString(36).slice(2), this._userContent = [], this._didSetup = !1, this._handleClick = (e) => {
18
+ e.preventDefault(), this.open = !this.open;
19
+ let t = this.parentElement;
20
+ if (t instanceof i && !t.multiple) {
21
+ let e = Array.from(t.querySelectorAll("void-accordion-item"));
22
+ for (let t of e) t !== this && (t.open = !1);
23
+ }
24
+ this.dispatchEvent(new CustomEvent("void-toggle", {
25
+ bubbles: !0,
26
+ composed: !0,
27
+ detail: { open: this.open }
28
+ }));
29
+ }, this._handleKeydown = (e) => {
30
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), this._handleClick(e));
31
+ };
32
+ }
33
+ connectedCallback() {
34
+ super.connectedCallback(), this._didSetup || (this._userContent = Array.from(this.childNodes));
35
+ }
36
+ updated(e) {
37
+ if (super.updated(e), !this._didSetup) {
38
+ this._didSetup = !0;
39
+ let e = this.querySelector(".void-accordion-content");
40
+ if (e) for (let t of this._userContent) e.appendChild(t);
41
+ }
42
+ }
43
+ render() {
44
+ return n`
45
+ <button
46
+ id="trigger-${this._id}"
47
+ class="void-accordion-trigger"
48
+ aria-expanded=${String(this.open)}
49
+ aria-controls="content-${this._id}"
50
+ @click=${this._handleClick}
51
+ @keydown=${this._handleKeydown}
52
+ >
53
+ ${this.heading}
54
+ <svg class="void-accordion-chevron" viewBox="0 0 16 16" fill="none" aria-hidden="true">
55
+ <path d="M6 4l4 4-4 4" stroke="currentColor" stroke-width="var(--void-icon-stroke-width)" stroke-linecap="round" stroke-linejoin="round"/>
56
+ </svg>
57
+ </button>
58
+ <div
59
+ id="content-${this._id}"
60
+ class="void-accordion-content"
61
+ role="region"
62
+ aria-labelledby="trigger-${this._id}"
63
+ ></div>
64
+ `;
65
+ }
66
+ };
67
+ t([r({ type: String })], a.prototype, "heading", void 0), t([r({
68
+ type: Boolean,
69
+ reflect: !0
70
+ })], a.prototype, "open", void 0), customElements.get("void-accordion-item") || customElements.define("void-accordion-item", a);
71
+ //#endregion
72
+ export { i as VoidAccordion, a as VoidAccordionItem };
@@ -0,0 +1,28 @@
1
+ import { VoidElement } from '../base.js';
2
+ /** Input field with an attached icon button — used for copy-to-clipboard inputs, search boxes, and similar patterns. */
3
+ export declare class VoidActionInput extends VoidElement {
4
+ value: string;
5
+ placeholder: string;
6
+ disabled: boolean;
7
+ readonly: boolean;
8
+ name: string;
9
+ autocomplete: string;
10
+ size: 'sm' | 'md' | 'lg';
11
+ color: 'default' | 'error' | 'warning' | 'success' | 'info' | 'notice';
12
+ type: 'text' | 'password';
13
+ icon: string;
14
+ actionLabel: string;
15
+ position: 'left' | 'right';
16
+ tooltipPosition: 'top' | 'bottom' | 'left' | 'right';
17
+ private _renderIcon;
18
+ private _onInput;
19
+ private _onChange;
20
+ private _onAction;
21
+ render(): import('lit').TemplateResult<1>;
22
+ }
23
+ declare global {
24
+ interface HTMLElementTagNameMap {
25
+ 'void-action-input': VoidActionInput;
26
+ }
27
+ }
28
+ //# sourceMappingURL=action-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-input.d.ts","sourceRoot":"","sources":["../../src/components/action-input.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,wHAAwH;AACxH,qBAAa,eAAgB,SAAQ,WAAW;IAClB,KAAK,SAAM;IACI,WAAW,SAAM;IAChB,QAAQ,UAAS;IACjB,QAAQ,UAAS;IAClB,IAAI,SAAM;IACV,YAAY,SAAM;IAClB,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAQ;IAChC,KAAK,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAa;IACnF,IAAI,EAAE,MAAM,GAAG,UAAU,CAAU;IACnC,IAAI,EAAE,MAAM,CAAY;IACZ,WAAW,SAAY;IACnC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAW;IACN,eAAe,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAS;IAEvI,OAAO,CAAC,WAAW;IAyBnB,OAAO,CAAC,QAAQ;IAMhB,OAAO,CAAC,SAAS;IAMjB,OAAO,CAAC,SAAS;IAKjB,MAAM;CA+BP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,mBAAmB,EAAE,eAAe,CAAC;KACtC;CACF"}
@@ -0,0 +1,117 @@
1
+ import { VoidElement as e } from "../base.js";
2
+ import { t } from "../chunks/decorate-DKuCkHK4.js";
3
+ import { html as n } from "lit";
4
+ import { property as r } from "lit/decorators.js";
5
+ //#region src/components/action-input.ts
6
+ var i = class extends e {
7
+ constructor(...e) {
8
+ super(...e), this.value = "", this.placeholder = "", this.disabled = !1, this.readonly = !1, this.name = "", this.autocomplete = "", this.size = "md", this.color = "default", this.type = "text", this.icon = "search", this.actionLabel = "Action", this.position = "right", this.tooltipPosition = "top";
9
+ }
10
+ _renderIcon() {
11
+ switch (this.icon) {
12
+ case "copy": return n`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="var(--void-icon-stroke-width)" stroke-linecap="round" stroke-linejoin="round" width="1em" height="1em"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M7 9.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667l0 -8.666"/><path d="M4.012 16.737a2.005 2.005 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1"/></svg>`;
13
+ case "search": return n`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="var(--void-icon-stroke-width)" stroke-linecap="round" stroke-linejoin="round" width="1em" height="1em"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M3 10a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"/><path d="M21 21l-6 -6"/></svg>`;
14
+ case "send": return n`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="var(--void-icon-stroke-width)" stroke-linecap="round" stroke-linejoin="round" width="1em" height="1em"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 14l11 -11"/><path d="M21 3l-6.5 18a.55 .55 0 0 1 -1 0l-3.5 -7l-7 -3.5a.55 .55 0 0 1 0 -1l18 -6.5"/></svg>`;
15
+ case "eye": return n`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="var(--void-icon-stroke-width)" stroke-linecap="round" stroke-linejoin="round" width="1em" height="1em"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"/><path d="M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6"/></svg>`;
16
+ case "eye-off": return n`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="var(--void-icon-stroke-width)" stroke-linecap="round" stroke-linejoin="round" width="1em" height="1em"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.585 10.587a2 2 0 0 0 2.829 2.828"/><path d="M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87"/><path d="M3 3l18 18"/></svg>`;
17
+ case "check": return n`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="var(--void-icon-stroke-width)" stroke-linecap="round" stroke-linejoin="round" width="1em" height="1em"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 12l5 5l10 -10"/></svg>`;
18
+ case "x": return n`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="var(--void-icon-stroke-width)" stroke-linecap="round" stroke-linejoin="round" width="1em" height="1em"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 6l-12 12"/><path d="M6 6l12 12"/></svg>`;
19
+ case "arrow-right": return n`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="var(--void-icon-stroke-width)" stroke-linecap="round" stroke-linejoin="round" width="1em" height="1em"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 12l14 0"/><path d="M13 18l6 -6"/><path d="M13 6l6 6"/></svg>`;
20
+ case "clipboard": return n`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="var(--void-icon-stroke-width)" stroke-linecap="round" stroke-linejoin="round" width="1em" height="1em"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2h-2"/><path d="M9 5a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2"/></svg>`;
21
+ default: return n`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="var(--void-icon-stroke-width)" stroke-linecap="round" stroke-linejoin="round" width="1em" height="1em"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M3 10a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"/><path d="M21 21l-6 -6"/></svg>`;
22
+ }
23
+ }
24
+ _onInput(e) {
25
+ let t = e.target;
26
+ this.value = t.value, this.dispatchEvent(new CustomEvent("void-input", {
27
+ bubbles: !0,
28
+ composed: !0,
29
+ detail: { value: this.value }
30
+ }));
31
+ }
32
+ _onChange(e) {
33
+ let t = e.target;
34
+ this.value = t.value, this.dispatchEvent(new CustomEvent("void-change", {
35
+ bubbles: !0,
36
+ composed: !0,
37
+ detail: { value: this.value }
38
+ }));
39
+ }
40
+ _onAction() {
41
+ this.disabled || this.dispatchEvent(new CustomEvent("void-action", {
42
+ bubbles: !0,
43
+ composed: !0,
44
+ detail: { value: this.value }
45
+ }));
46
+ }
47
+ render() {
48
+ let e = n`
49
+ <void-tooltip text=${this.actionLabel} position=${this.tooltipPosition}>
50
+ <button
51
+ class="void-action-input-btn"
52
+ type="button"
53
+ ?disabled=${this.disabled}
54
+ aria-label=${this.actionLabel}
55
+ @click=${this._onAction}
56
+ >${this._renderIcon()}</button>
57
+ </void-tooltip>
58
+ `;
59
+ return n`
60
+ ${this.position === "left" ? e : ""}
61
+ <input
62
+ class="void-action-input-field"
63
+ type=${this.type}
64
+ .value=${this.value}
65
+ placeholder=${this.placeholder}
66
+ ?disabled=${this.disabled}
67
+ ?readonly=${this.readonly}
68
+ name=${this.name}
69
+ autocomplete=${this.autocomplete}
70
+ aria-label=${this.actionLabel}
71
+ @input=${this._onInput}
72
+ @change=${this._onChange}
73
+ />
74
+ ${this.position === "right" ? e : ""}
75
+ `;
76
+ }
77
+ };
78
+ t([r({ type: String })], i.prototype, "value", void 0), t([r({
79
+ type: String,
80
+ reflect: !0
81
+ })], i.prototype, "placeholder", void 0), t([r({
82
+ type: Boolean,
83
+ reflect: !0
84
+ })], i.prototype, "disabled", void 0), t([r({
85
+ type: Boolean,
86
+ reflect: !0
87
+ })], i.prototype, "readonly", void 0), t([r({
88
+ type: String,
89
+ reflect: !0
90
+ })], i.prototype, "name", void 0), t([r({
91
+ type: String,
92
+ reflect: !0
93
+ })], i.prototype, "autocomplete", void 0), t([r({
94
+ type: String,
95
+ reflect: !0
96
+ })], i.prototype, "size", void 0), t([r({
97
+ type: String,
98
+ reflect: !0
99
+ })], i.prototype, "color", void 0), t([r({
100
+ type: String,
101
+ reflect: !0
102
+ })], i.prototype, "type", void 0), t([r({
103
+ type: String,
104
+ reflect: !0
105
+ })], i.prototype, "icon", void 0), t([r({
106
+ type: String,
107
+ attribute: "action-label"
108
+ })], i.prototype, "actionLabel", void 0), t([r({
109
+ type: String,
110
+ reflect: !0
111
+ })], i.prototype, "position", void 0), t([r({
112
+ type: String,
113
+ reflect: !0,
114
+ attribute: "tooltip-position"
115
+ })], i.prototype, "tooltipPosition", void 0), customElements.get("void-action-input") || customElements.define("void-action-input", i);
116
+ //#endregion
117
+ export { i as VoidActionInput };
@@ -0,0 +1,20 @@
1
+ import { nothing } from 'lit';
2
+ import { VoidElement } from '../base.js';
3
+ /** Inline contextual message for form validation feedback, permission warnings, and system status notices. */
4
+ export declare class VoidAlert extends VoidElement {
5
+ color: 'default' | 'error' | 'warning' | 'success' | 'info' | 'notice';
6
+ dismissible: boolean;
7
+ variant: 'subtle' | 'filled';
8
+ private _userContent;
9
+ private _didSetup;
10
+ connectedCallback(): void;
11
+ protected updated(_changed: Map<string, unknown>): void;
12
+ private _dismiss;
13
+ render(): typeof nothing | import('lit').TemplateResult<1>;
14
+ }
15
+ declare global {
16
+ interface HTMLElementTagNameMap {
17
+ 'void-alert': VoidAlert;
18
+ }
19
+ }
20
+ //# sourceMappingURL=alert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../src/components/alert.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAE,MAAM,KAAK,CAAC;AAEpC,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,8GAA8G;AAC9G,qBAAa,SAAU,SAAQ,WAAW;IACG,KAAK,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAa;IAClF,WAAW,UAAS;IACrB,OAAO,EAAE,QAAQ,GAAG,QAAQ,CAAY;IAEnF,OAAO,CAAC,YAAY,CAAc;IAClC,OAAO,CAAC,SAAS,CAAS;IAE1B,iBAAiB,IAAI,IAAI;cAQN,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAUhE,OAAO,CAAC,QAAQ;IAKhB,MAAM;CAIP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,SAAS,CAAC;KACzB;CACF"}
@@ -0,0 +1,40 @@
1
+ import { VoidElement as e } from "../base.js";
2
+ import { t } from "../chunks/decorate-DKuCkHK4.js";
3
+ import { html as n, nothing as r } from "lit";
4
+ import { property as i } from "lit/decorators.js";
5
+ //#region src/components/alert.ts
6
+ var a = class extends e {
7
+ constructor(...e) {
8
+ super(...e), this.color = "default", this.dismissible = !1, this.variant = "subtle", this._userContent = [], this._didSetup = !1;
9
+ }
10
+ connectedCallback() {
11
+ super.connectedCallback(), this.setAttribute("role", "alert"), this._didSetup || (this._userContent = Array.from(this.childNodes));
12
+ }
13
+ updated(e) {
14
+ if (super.updated(e), !this._didSetup) {
15
+ this._didSetup = !0;
16
+ for (let e of this._userContent) this.appendChild(e);
17
+ }
18
+ }
19
+ _dismiss() {
20
+ this.dispatchEvent(new CustomEvent("void-dismiss", {
21
+ bubbles: !0,
22
+ composed: !0
23
+ })), this.remove();
24
+ }
25
+ render() {
26
+ return this.dismissible ? n`<button class="void-alert-close" aria-label="Dismiss" @click="${this._dismiss}">&times;</button>` : r;
27
+ }
28
+ };
29
+ t([i({
30
+ type: String,
31
+ reflect: !0
32
+ })], a.prototype, "color", void 0), t([i({
33
+ type: Boolean,
34
+ reflect: !0
35
+ })], a.prototype, "dismissible", void 0), t([i({
36
+ type: String,
37
+ reflect: !0
38
+ })], a.prototype, "variant", void 0), customElements.get("void-alert") || customElements.define("void-alert", a);
39
+ //#endregion
40
+ export { a as VoidAlert };
@@ -0,0 +1,18 @@
1
+ import { VoidElement } from '../base.js';
2
+ /** User identity display for comment threads, user lists, and profile cards; falls back to initials when no image is provided. */
3
+ export declare class VoidAvatar extends VoidElement {
4
+ src: string;
5
+ alt: string;
6
+ initials: string;
7
+ size: 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
8
+ connectedCallback(): void;
9
+ updated(changed: Map<string, unknown>): void;
10
+ render(): import('lit').TemplateResult<1>;
11
+ private _onImgError;
12
+ }
13
+ declare global {
14
+ interface HTMLElementTagNameMap {
15
+ 'void-avatar': VoidAvatar;
16
+ }
17
+ }
18
+ //# sourceMappingURL=avatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../src/components/avatar.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,kIAAkI;AAClI,qBAAa,UAAW,SAAQ,WAAW;IACE,GAAG,EAAE,MAAM,CAAM;IACjB,GAAG,EAAE,MAAM,CAAM;IACjB,QAAQ,EAAE,MAAM,CAAM;IACtB,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAQ;IAE1F,iBAAiB,IAAI,IAAI;IAMzB,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAM5C,MAAM;IAUN,OAAO,CAAC,WAAW,CAEjB;CACH;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,UAAU,CAAC;KAC3B;CACF"}
@@ -0,0 +1,36 @@
1
+ import { VoidElement as e } from "../base.js";
2
+ import { t } from "../chunks/decorate-DKuCkHK4.js";
3
+ import { html as n } from "lit";
4
+ import { property as r } from "lit/decorators.js";
5
+ //#region src/components/avatar.ts
6
+ var i = class extends e {
7
+ constructor(...e) {
8
+ super(...e), this.src = "", this.alt = "", this.initials = "", this.size = "md", this._onImgError = () => {
9
+ this.src = "";
10
+ };
11
+ }
12
+ connectedCallback() {
13
+ super.connectedCallback(), this.setAttribute("role", "img"), this.setAttribute("aria-label", this.alt || this.initials);
14
+ }
15
+ updated(e) {
16
+ (e.has("alt") || e.has("initials")) && this.setAttribute("aria-label", this.alt || this.initials);
17
+ }
18
+ render() {
19
+ return this.src ? n`<img src="${this.src}" alt="${this.alt}" @error="${this._onImgError}" />` : this.initials ? n`<span class="void-avatar-initials">${this.initials}</span>` : n``;
20
+ }
21
+ };
22
+ t([r({
23
+ type: String,
24
+ reflect: !0
25
+ })], i.prototype, "src", void 0), t([r({
26
+ type: String,
27
+ reflect: !0
28
+ })], i.prototype, "alt", void 0), t([r({
29
+ type: String,
30
+ reflect: !0
31
+ })], i.prototype, "initials", void 0), t([r({
32
+ type: String,
33
+ reflect: !0
34
+ })], i.prototype, "size", void 0), customElements.get("void-avatar") || customElements.define("void-avatar", i);
35
+ //#endregion
36
+ export { i as VoidAvatar };
@@ -0,0 +1,14 @@
1
+ import { VoidElement } from '../base.js';
2
+ /** Small status chip for issue trackers, tag systems, and categorization UIs where color conveys state at a glance. */
3
+ export declare class VoidBadge extends VoidElement {
4
+ color: 'default' | 'error' | 'warning' | 'success' | 'info' | 'notice' | 'highlight';
5
+ variant: 'filled' | 'outline';
6
+ size: 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
7
+ connectedCallback(): void;
8
+ }
9
+ declare global {
10
+ interface HTMLElementTagNameMap {
11
+ 'void-badge': VoidBadge;
12
+ }
13
+ }
14
+ //# sourceMappingURL=badge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../src/components/badge.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,uHAAuH;AACvH,qBAAa,SAAU,SAAQ,WAAW;IACG,KAAK,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,CAAa;IACjG,OAAO,EAAE,QAAQ,GAAG,SAAS,CAAY;IACzC,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAQ;IAE1F,iBAAiB,IAAI,IAAI;CAI1B;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,SAAS,CAAC;KACzB;CACF"}
@@ -0,0 +1,24 @@
1
+ import { VoidElement as e } from "../base.js";
2
+ import { t } from "../chunks/decorate-DKuCkHK4.js";
3
+ import { property as n } from "lit/decorators.js";
4
+ //#region src/components/badge.ts
5
+ var r = class extends e {
6
+ constructor(...e) {
7
+ super(...e), this.color = "default", this.variant = "filled", this.size = "md";
8
+ }
9
+ connectedCallback() {
10
+ super.connectedCallback(), this.setAttribute("role", "status");
11
+ }
12
+ };
13
+ t([n({
14
+ type: String,
15
+ reflect: !0
16
+ })], r.prototype, "color", void 0), t([n({
17
+ type: String,
18
+ reflect: !0
19
+ })], r.prototype, "variant", void 0), t([n({
20
+ type: String,
21
+ reflect: !0
22
+ })], r.prototype, "size", void 0), customElements.get("void-badge") || customElements.define("void-badge", r);
23
+ //#endregion
24
+ export { r as VoidBadge };
@@ -0,0 +1,20 @@
1
+ import { nothing } from 'lit';
2
+ import { VoidElement } from '../base.js';
3
+ /** Full-width site-level announcement for maintenance windows, cookie consent, and promotional messaging. */
4
+ export declare class VoidBanner extends VoidElement {
5
+ color: 'default' | 'error' | 'warning' | 'success' | 'info' | 'notice';
6
+ dismissable: boolean;
7
+ variant: 'subtle' | 'filled';
8
+ private _userContent;
9
+ private _didSetup;
10
+ connectedCallback(): void;
11
+ protected updated(_changed: Map<string, unknown>): void;
12
+ private _close;
13
+ render(): typeof nothing | import('lit').TemplateResult<1>;
14
+ }
15
+ declare global {
16
+ interface HTMLElementTagNameMap {
17
+ 'void-banner': VoidBanner;
18
+ }
19
+ }
20
+ //# sourceMappingURL=banner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../src/components/banner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAE,MAAM,KAAK,CAAC;AAEpC,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,6GAA6G;AAC7G,qBAAa,UAAW,SAAQ,WAAW;IACE,KAAK,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAa;IAClF,WAAW,UAAS;IACrB,OAAO,EAAE,QAAQ,GAAG,QAAQ,CAAY;IAEnF,OAAO,CAAC,YAAY,CAAc;IAClC,OAAO,CAAC,SAAS,CAAS;IAE1B,iBAAiB,IAAI,IAAI;cAQN,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAUhE,OAAO,CAAC,MAAM;IAKd,MAAM;CAIP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,UAAU,CAAC;KAC3B;CACF"}
@@ -0,0 +1,40 @@
1
+ import { VoidElement as e } from "../base.js";
2
+ import { t } from "../chunks/decorate-DKuCkHK4.js";
3
+ import { html as n, nothing as r } from "lit";
4
+ import { property as i } from "lit/decorators.js";
5
+ //#region src/components/banner.ts
6
+ var a = class extends e {
7
+ constructor(...e) {
8
+ super(...e), this.color = "default", this.dismissable = !1, this.variant = "subtle", this._userContent = [], this._didSetup = !1;
9
+ }
10
+ connectedCallback() {
11
+ super.connectedCallback(), this.setAttribute("role", "banner"), this._didSetup || (this._userContent = Array.from(this.childNodes));
12
+ }
13
+ updated(e) {
14
+ if (super.updated(e), !this._didSetup) {
15
+ this._didSetup = !0;
16
+ for (let e of this._userContent) this.appendChild(e);
17
+ }
18
+ }
19
+ _close() {
20
+ this.dispatchEvent(new CustomEvent("void-close", {
21
+ bubbles: !0,
22
+ composed: !0
23
+ })), this.remove();
24
+ }
25
+ render() {
26
+ return this.dismissable ? n`<button class="void-banner-close" aria-label="Close" @click="${this._close}">&times;</button>` : r;
27
+ }
28
+ };
29
+ t([i({
30
+ type: String,
31
+ reflect: !0
32
+ })], a.prototype, "color", void 0), t([i({
33
+ type: Boolean,
34
+ reflect: !0
35
+ })], a.prototype, "dismissable", void 0), t([i({
36
+ type: String,
37
+ reflect: !0
38
+ })], a.prototype, "variant", void 0), customElements.get("void-banner") || customElements.define("void-banner", a);
39
+ //#endregion
40
+ export { a as VoidBanner };
@@ -0,0 +1,16 @@
1
+ import { VoidElement } from '../base.js';
2
+ /** Navigation trail for deep page hierarchies in dashboards, e-commerce category trees, and file browsers. */
3
+ export declare class VoidBreadcrumbs extends VoidElement {
4
+ separator: string;
5
+ private _items;
6
+ private _didSetup;
7
+ connectedCallback(): void;
8
+ protected updated(_changed: Map<string, unknown>): void;
9
+ render(): import('lit').TemplateResult<1>;
10
+ }
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ 'void-breadcrumbs': VoidBreadcrumbs;
14
+ }
15
+ }
16
+ //# sourceMappingURL=breadcrumbs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breadcrumbs.d.ts","sourceRoot":"","sources":["../../src/components/breadcrumbs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,8GAA8G;AAC9G,qBAAa,eAAgB,SAAQ,WAAW;IAClB,SAAS,SAAO;IAE5C,OAAO,CAAC,MAAM,CAAiB;IAC/B,OAAO,CAAC,SAAS,CAAS;IAE1B,iBAAiB,IAAI,IAAI;cASN,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAwBhE,MAAM;CAGP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,eAAe,CAAC;KACrC;CACF"}
@@ -0,0 +1,33 @@
1
+ import { VoidElement as e } from "../base.js";
2
+ import { t } from "../chunks/decorate-DKuCkHK4.js";
3
+ import { html as n } from "lit";
4
+ import { property as r } from "lit/decorators.js";
5
+ //#region src/components/breadcrumbs.ts
6
+ var i = class extends e {
7
+ constructor(...e) {
8
+ super(...e), this.separator = "/", this._items = [], this._didSetup = !1;
9
+ }
10
+ connectedCallback() {
11
+ super.connectedCallback(), this.setAttribute("role", "navigation"), this.setAttribute("aria-label", "Breadcrumb"), this._didSetup || (this._items = Array.from(this.children));
12
+ }
13
+ updated(e) {
14
+ if (super.updated(e), !this._didSetup) {
15
+ this._didSetup = !0;
16
+ let e = this.querySelector(".void-breadcrumbs-list");
17
+ if (!e) return;
18
+ this._items.forEach((t, n) => {
19
+ let r = document.createElement("li");
20
+ r.className = "void-breadcrumbs-item", r.setAttribute("data-separator", this.separator), n === this._items.length - 1 && r.setAttribute("aria-current", "page"), r.appendChild(t), e.appendChild(r);
21
+ });
22
+ } else if (e.has("separator")) {
23
+ let e = Array.from(this.querySelectorAll(".void-breadcrumbs-item"));
24
+ for (let t of e) t.setAttribute("data-separator", this.separator);
25
+ }
26
+ }
27
+ render() {
28
+ return n`<ol class="void-breadcrumbs-list"></ol>`;
29
+ }
30
+ };
31
+ t([r({ type: String })], i.prototype, "separator", void 0), customElements.get("void-breadcrumbs") || customElements.define("void-breadcrumbs", i);
32
+ //#endregion
33
+ export { i as VoidBreadcrumbs };
@@ -0,0 +1,25 @@
1
+ import { VoidElement } from '../base.js';
2
+ /** Action trigger for forms, dialogs, and toolbars; supports loading states and semantic color variants. */
3
+ export declare class VoidButton extends VoidElement {
4
+ static formAssociated: boolean;
5
+ variant: 'outline' | 'filled';
6
+ color: 'default' | 'error' | 'warning' | 'success' | 'info' | 'notice';
7
+ disabled: boolean;
8
+ type: 'button' | 'submit' | 'reset';
9
+ size: 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
10
+ private _internals;
11
+ constructor();
12
+ /** Return the associated form, via ElementInternals or DOM traversal. */
13
+ private get _form();
14
+ connectedCallback(): void;
15
+ disconnectedCallback(): void;
16
+ updated(changed: Map<string, unknown>): void;
17
+ private _handleClick;
18
+ private _handleKeydown;
19
+ }
20
+ declare global {
21
+ interface HTMLElementTagNameMap {
22
+ 'void-button': VoidButton;
23
+ }
24
+ }
25
+ //# sourceMappingURL=button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/components/button.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,4GAA4G;AAC5G,qBAAa,UAAW,SAAQ,WAAW;IACzC,MAAM,CAAC,cAAc,UAAQ;IAEc,OAAO,EAAE,SAAS,GAAG,QAAQ,CAAa;IAC1C,KAAK,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAa;IAClF,QAAQ,UAAS;IAClB,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAY;IAC/C,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAQ;IAE1F,OAAO,CAAC,UAAU,CAAiC;;IAWnD,yEAAyE;IACzE,OAAO,KAAK,KAAK,GAEhB;IAED,iBAAiB,IAAI,IAAI;IASzB,oBAAoB,IAAI,IAAI;IAM5B,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAO5C,OAAO,CAAC,YAAY,CAWlB;IAEF,OAAO,CAAC,cAAc,CAKpB;CACH;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,UAAU,CAAC;KAC3B;CACF"}