@avento-space/ts-ui 1.2.4 → 1.2.6

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.
@@ -173,6 +173,27 @@ sheet.replaceSync(`
173
173
  }
174
174
  `);
175
175
  var globalStyles = sheet;
176
+ var extraSheets = [];
177
+ function adoptStyleSheet(sheet2) {
178
+ if (extraSheets.includes(sheet2)) return;
179
+ extraSheets.push(sheet2);
180
+ if (typeof document === "undefined") return;
181
+ document.querySelectorAll("[data-u-id]").forEach((el) => {
182
+ const root = el.shadowRoot;
183
+ if (root) {
184
+ try {
185
+ root.adoptedStyleSheets = [
186
+ globalStyles,
187
+ ...extraSheets,
188
+ ...root.adoptedStyleSheets.filter(
189
+ (s) => s !== globalStyles && !extraSheets.includes(s)
190
+ )
191
+ ];
192
+ } catch {
193
+ }
194
+ }
195
+ });
196
+ }
176
197
  function setTheme(theme) {
177
198
  const root = document.documentElement;
178
199
  if (theme === "system") {
@@ -219,8 +240,9 @@ var UElement = class extends HTMLElement {
219
240
  this._cleanups = [];
220
241
  this._id = ++nextId;
221
242
  this._root = this.attachShadow({ mode: "open" });
243
+ this.dataset.uId = String(this._id);
222
244
  try {
223
- this._root.adoptedStyleSheets = [globalStyles];
245
+ this._root.adoptedStyleSheets = [globalStyles, ...extraSheets];
224
246
  } catch {
225
247
  const style = document.createElement("style");
226
248
  style.textContent = ":host {}";
@@ -2249,6 +2271,6 @@ var cardStyles = `
2249
2271
  .card-padding-lg [part="footer"] { padding: 0 var(--u-spacing-6) var(--u-spacing-5); }
2250
2272
  `;
2251
2273
 
2252
- export { UElement, accordionStyles, animateKeyframes, badgeStyles, boxStyles, breadcrumbStyles, buttonStyles, calendarStyles, cardStyles, checkboxStyles, comboboxStyles, commandPaletteStyles, containerStyles, contextMenuStyles, dataTableStyles, dialogStyles, drawerStyles, dropdownStyles, fieldStyles, formStyles, getTheme, gridStyles, iconStyles, inputStyles, labelStyles, linkStyles, listStyles, modalStyles, overlayStyles, popoverStyles, presenceStyles, radioStyles, restoreTheme, selectStyles, setTheme, sortableStyles, stackStyles, switchStyles, tableStyles, tabsStyles, textStyles, textareaStyles, toastStyles, tooltipStyles, treeStyles, visuallyHiddenStyles };
2253
- //# sourceMappingURL=chunk-AOFVLHAJ.js.map
2254
- //# sourceMappingURL=chunk-AOFVLHAJ.js.map
2274
+ export { UElement, accordionStyles, adoptStyleSheet, animateKeyframes, badgeStyles, boxStyles, breadcrumbStyles, buttonStyles, calendarStyles, cardStyles, checkboxStyles, comboboxStyles, commandPaletteStyles, containerStyles, contextMenuStyles, dataTableStyles, dialogStyles, drawerStyles, dropdownStyles, fieldStyles, formStyles, getTheme, gridStyles, iconStyles, inputStyles, labelStyles, linkStyles, listStyles, modalStyles, overlayStyles, popoverStyles, presenceStyles, radioStyles, restoreTheme, selectStyles, setTheme, sortableStyles, stackStyles, switchStyles, tableStyles, tabsStyles, textStyles, textareaStyles, toastStyles, tooltipStyles, treeStyles, visuallyHiddenStyles };
2275
+ //# sourceMappingURL=chunk-XN2J666Y.js.map
2276
+ //# sourceMappingURL=chunk-XN2J666Y.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/core/tokens.ts","../src/core/element.ts","../src/components/styles/button.ts","../src/components/styles/input.ts","../src/components/styles/box.ts","../src/components/styles/list.ts","../src/components/styles/icon.ts","../src/components/styles/text.ts","../src/components/styles/stack.ts","../src/components/styles/grid.ts","../src/components/styles/overlay.ts","../src/components/styles/field.ts","../src/components/styles/checkbox.ts","../src/components/styles/select.ts","../src/components/styles/link.ts","../src/components/styles/container.ts","../src/components/styles/dialog.ts","../src/components/styles/tooltip.ts","../src/components/styles/textarea.ts","../src/components/styles/radio.ts","../src/components/styles/switch.ts","../src/components/styles/label.ts","../src/components/styles/tree.ts","../src/components/styles/table.ts","../src/components/styles/breadcrumb.ts","../src/components/styles/tabs.ts","../src/components/styles/visually-hidden.ts","../src/components/styles/presence.ts","../src/components/styles/animate.ts","../src/components/styles/modal.ts","../src/components/styles/drawer.ts","../src/components/styles/popover.ts","../src/components/styles/dropdown.ts","../src/components/styles/accordion.ts","../src/components/styles/calendar.ts","../src/components/styles/data-table.ts","../src/components/styles/command-palette.ts","../src/components/styles/combobox.ts","../src/components/styles/toast.ts","../src/components/styles/context-menu.ts","../src/components/styles/sortable.ts","../src/components/styles/form.ts","../src/components/styles/badge.ts","../src/components/styles/card.ts"],"names":["sheet"],"mappings":";;;AAAA,IAAM,KAAA,GAAQ,IAAI,aAAA,EAAc;AAIhC,IAAM,KAAA,GAAgC;AAAA,EACpC,iBAAA,EAAmB,SAAA;AAAA,EACnB,uBAAA,EAAyB,SAAA;AAAA,EACzB,sBAAA,EAAwB,SAAA;AAAA,EACxB,gBAAA,EAAkB,SAAA;AAAA,EAClB,sBAAA,EAAwB,SAAA;AAAA,EACxB,iBAAA,EAAmB,SAAA;AAAA,EACnB,iBAAA,EAAmB,SAAA;AAAA,EACnB,cAAA,EAAgB,SAAA;AAAA,EAChB,cAAA,EAAgB,SAAA;AAAA,EAChB,wBAAA,EAA0B,SAAA;AAAA,EAC1B,oBAAA,EAAsB,SAAA;AAAA,EACtB,uBAAA,EAAyB,SAAA;AAAA,EACzB,gBAAA,EAAkB,SAAA;AAAA,EAClB,sBAAA,EAAwB,SAAA;AAAA,EACxB,wBAAA,EAA0B,SAAA;AAAA,EAC1B,YAAA,EAAc,MAAA;AAAA,EACd,kBAAA,EAAoB,SAAA;AAAA,EACpB,kBAAA,EAAoB,SAAA;AAAA,EACpB,yBAAA,EAA2B,SAAA;AAAA,EAC3B,qBAAA,EAAuB,SAAA;AAAA,EACvB,eAAA,EAAiB,SAAA;AAAA,EACjB,iBAAA,EAAmB,iBAAA;AAAA,EACnB,eAAA,EAAiB,MAAA;AAAA,EACjB,oBAAA,EAAsB,SAAA;AAAA,EACtB,oBAAA,EAAsB,SAAA;AAAA,EACtB,sBAAA,EAAwB,SAAA;AAAA,EACxB,oBAAA,EAAsB,SAAA;AAAA,EACtB,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tokens ────────\r\n\r\nconst LIGHT: Record<string, string> = {\r\n 'u-color-primary': '#3b82f6',\r\n 'u-color-primary-hover': '#2563eb',\r\n 'u-color-primary-text': '#2563eb',\r\n 'u-color-danger': '#ef4444',\r\n 'u-color-danger-hover': '#dc2626',\r\n 'u-color-success': '#16a34a',\r\n 'u-color-warning': '#d97706',\r\n 'u-color-info': '#0284c7',\r\n 'u-color-text': '#111827',\r\n 'u-color-text-secondary': '#374151',\r\n 'u-color-text-muted': '#4b5563',\r\n 'u-color-text-disabled': '#6b7280',\r\n 'u-color-border': '#9ca3af',\r\n 'u-color-border-light': '#d1d5db',\r\n 'u-color-border-lighter': '#e5e7eb',\r\n 'u-color-bg': '#fff',\r\n 'u-color-bg-muted': '#f9fafb',\r\n 'u-color-bg-hover': '#f3f4f6',\r\n 'u-color-bg-hover-strong': '#e5e7eb',\r\n 'u-color-bg-selected': '#eff6ff',\r\n 'u-color-focus': '#3b82f6',\r\n 'u-color-overlay': 'rgba(0,0,0,0.5)',\r\n 'u-color-white': '#fff',\r\n 'u-color-tooltip-bg': '#1f2937',\r\n 'u-color-success-bg': '#dcfce7',\r\n 'u-color-success-text': '#15803d',\r\n 'u-color-warning-bg': '#fef3c7',\r\n 'u-color-warning-text': '#b45309',\r\n 'u-color-danger-bg': '#fef2f2',\r\n 'u-color-danger-text': '#dc2626',\r\n 'u-color-info-bg': '#e0f2fe',\r\n 'u-color-info-text': '#0369a1',\r\n // Shadows\r\n 'u-shadow-sm': '0 1px 3px rgba(0,0,0,.05)',\r\n 'u-shadow-md': '0 4px 16px rgba(0,0,0,.08)',\r\n 'u-shadow-lg': '0 8px 24px rgba(0,0,0,.12)',\r\n 'u-shadow-xl': '0 20px 60px rgba(0,0,0,.15)',\r\n 'u-shadow-focus': '0 0 0 2px rgba(59,130,246,.25)',\r\n 'u-shadow-tooltip': '0 4px 12px rgba(0,0,0,.25)',\r\n 'u-shadow-drawer': '0 0 40px rgba(0,0,0,.1)',\r\n 'u-shadow-thumb': '0 1px 2px rgba(0,0,0,.15)',\r\n 'u-shadow-combobox': '0 4px 20px rgba(0,0,0,.1)',\r\n 'u-shadow-calendar': '0 4px 20px rgba(0,0,0,.08)',\r\n 'u-shadow-command-palette': '0 20px 60px rgba(0,0,0,.2)',\r\n};\r\n\r\nconst DARK: Record<string, string> = {\r\n 'u-color-primary': '#60a5fa',\r\n 'u-color-primary-hover': '#93c5fd',\r\n 'u-color-primary-text': '#93c5fd',\r\n 'u-color-danger': '#f87171',\r\n 'u-color-danger-hover': '#fca5a5',\r\n 'u-color-success': '#22c55e',\r\n 'u-color-warning': '#eab308',\r\n 'u-color-info': '#0ea5e9',\r\n 'u-color-text': '#f1f5f9',\r\n 'u-color-text-secondary': '#cbd5e1',\r\n 'u-color-text-muted': '#94a3b8',\r\n 'u-color-text-disabled': '#64748b',\r\n 'u-color-border': '#475569',\r\n 'u-color-border-light': '#334155',\r\n 'u-color-border-lighter': '#1e293b',\r\n 'u-color-bg': '#0f172a',\r\n 'u-color-bg-muted': '#1e293b',\r\n 'u-color-bg-hover': '#334155',\r\n 'u-color-bg-hover-strong': '#475569',\r\n 'u-color-bg-selected': '#1e3a5f',\r\n 'u-color-focus': '#60a5fa',\r\n 'u-color-overlay': 'rgba(0,0,0,0.7)',\r\n 'u-color-white': '#fff',\r\n 'u-color-tooltip-bg': '#334155',\r\n 'u-color-success-bg': '#052e16',\r\n 'u-color-success-text': '#4ade80',\r\n 'u-color-warning-bg': '#422006',\r\n 'u-color-warning-text': '#fbbf24',\r\n 'u-color-danger-bg': '#450a0a',\r\n 'u-color-danger-text': '#f87171',\r\n 'u-color-info-bg': '#0c4a6e',\r\n 'u-color-info-text': '#38bdf8',\r\n // Shadows (more visible on dark backgrounds)\r\n 'u-shadow-sm': '0 1px 3px rgba(0,0,0,.25)',\r\n 'u-shadow-md': '0 4px 16px rgba(0,0,0,.35)',\r\n 'u-shadow-lg': '0 8px 24px rgba(0,0,0,.45)',\r\n 'u-shadow-xl': '0 20px 60px rgba(0,0,0,.5)',\r\n 'u-shadow-focus': '0 0 0 2px rgba(96,165,250,.4)',\r\n 'u-shadow-tooltip': '0 4px 12px rgba(0,0,0,.5)',\r\n 'u-shadow-drawer': '0 0 40px rgba(0,0,0,.4)',\r\n 'u-shadow-thumb': '0 1px 2px rgba(0,0,0,.3)',\r\n 'u-shadow-combobox': '0 4px 20px rgba(0,0,0,.4)',\r\n 'u-shadow-calendar': '0 4px 20px rgba(0,0,0,.35)',\r\n 'u-shadow-command-palette': '0 20px 60px rgba(0,0,0,.55)',\r\n};\r\n\r\nfunction tokensToCSS(vals: Record<string, string>): string {\r\n return Object.entries(vals).map(([k, v]) => ` --${k}: ${v};`).join('\\n');\r\n}\r\n\r\nfunction generateColorTokenCSS(): string {\r\n return `:root {\\n${tokensToCSS(LIGHT)}\\n}\\n` +\r\n `@media (prefers-color-scheme: dark) {\\n` +\r\n ` :root:not([data-theme=\"light\"]) {\\n${tokensToCSS(DARK)}\\n }\\n}\\n` +\r\n `:root[data-theme=\"dark\"] {\\n${tokensToCSS(DARK)}\\n}\\n`;\r\n}\r\n\r\n// ── Adopted stylesheet (non-color tokens injected into every shadow root) ──\r\n\r\nsheet.replaceSync(`\r\n:host {\r\n --u-radius-xs: 2px;\r\n --u-radius-sm: 4px;\r\n --u-radius-md: 6px;\r\n --u-radius-lg: 8px;\r\n --u-radius-xl: 10px;\r\n --u-radius-2xl: 12px;\r\n --u-radius-full: 999px;\r\n --u-radius-round: 50%;\r\n --u-font-tiny: 0.8rem;\r\n --u-font-2xs: 0.6875rem;\r\n --u-font-xs: 0.75rem;\r\n --u-font-sm: 0.875rem;\r\n --u-font-md: 1rem;\r\n --u-font-lg: 1.125rem;\r\n --u-font-xl: 1.25rem;\r\n --u-font-2xl: 1.5rem;\r\n --u-font-3xl: 1.875rem;\r\n --u-font-weight-normal: 400;\r\n --u-font-weight-medium: 500;\r\n --u-font-weight-semibold: 600;\r\n --u-font-weight-bold: 700;\r\n --u-line-height-none: 1;\r\n --u-line-height-tight: 1.3;\r\n --u-line-height-sm: 1.4;\r\n --u-line-height-md: 1.5;\r\n --u-line-height-lg: 1.6;\r\n --u-letter-spacing-wide: 0.05em;\r\n --u-spacing-05: 2px;\r\n --u-spacing-1: 4px;\r\n --u-spacing-2: 8px;\r\n --u-spacing-3: 12px;\r\n --u-spacing-4: 16px;\r\n --u-spacing-5: 20px;\r\n --u-spacing-6: 24px;\r\n --u-spacing-8: 32px;\r\n --u-opacity-disabled: 0.5;\r\n --u-opacity-muted: 0.4;\r\n --u-opacity-fade: 0.3;\r\n --u-z-backdrop: 100;\r\n --u-z-modal: 200;\r\n --u-z-command-palette: 300;\r\n --u-z-dropdown: 400;\r\n --u-z-drag: 500;\r\n --u-z-toast: 600;\r\n --u-blur: 4px;\r\n --u-transition-fast: 100ms;\r\n --u-transition-base: 150ms;\r\n --u-transition-slow: 200ms;\r\n --u-transition-slower: 250ms;\r\n}\r\n\r\n@media (prefers-reduced-motion: reduce) {\r\n *, *::before, *::after {\r\n animation-duration: 0.01ms !important;\r\n animation-iteration-count: 1 !important;\r\n transition-duration: 0.01ms !important;\r\n }\r\n}\r\n`);\r\n\r\nexport const globalStyles = sheet;\r\n\r\nexport const extraSheets: CSSStyleSheet[] = [];\r\n\r\nexport function adoptStyleSheet(sheet: CSSStyleSheet): void {\r\n if (extraSheets.includes(sheet)) return;\r\n extraSheets.push(sheet);\r\n if (typeof document === 'undefined') return;\r\n document.querySelectorAll('[data-u-id]').forEach(el => {\r\n const root = (el as HTMLElement).shadowRoot;\r\n if (root) {\r\n try {\r\n root.adoptedStyleSheets = [\r\n globalStyles,\r\n ...extraSheets,\r\n ...root.adoptedStyleSheets.filter(\r\n s => s !== globalStyles && !extraSheets.includes(s),\r\n ),\r\n ];\r\n } catch {\r\n /* noop */\r\n }\r\n }\r\n });\r\n}\r\n\r\n// ── Theme JS API ───────────────────────────────────────────────────\r\n\r\nexport type Theme = 'light' | 'dark' | 'system';\r\n\r\nexport function setTheme(theme: Theme): void {\r\n const root = document.documentElement;\r\n if (theme === 'system') {\r\n root.removeAttribute('data-theme');\r\n } else {\r\n root.setAttribute('data-theme', theme);\r\n }\r\n try {\r\n localStorage.setItem('u-theme', theme);\r\n } catch { /* noop */ }\r\n}\r\n\r\nexport function getTheme(): Theme {\r\n const root = document.documentElement;\r\n if (root.hasAttribute('data-theme')) {\r\n return root.getAttribute('data-theme') as Theme;\r\n }\r\n return 'system';\r\n}\r\n\r\n/** Restore a persisted theme preference (call once on app boot). */\r\nexport function restoreTheme(): void {\r\n let theme: Theme | null = null;\r\n try {\r\n theme = localStorage.getItem('u-theme') as Theme | null;\r\n } catch { /* noop */ }\r\n if (theme) setTheme(theme);\r\n}\r\n\r\n// ── Inject color tokens into the document head ────────────────────\r\n// Called automatically on module load. The <style> defines all\r\n// --u-color-* and --u-shadow-* tokens on :root with light/dark/OS\r\n// variants so they cascade through Shadow DOM boundaries.\r\n\r\nconst STYLE_ID = 'u-color-tokens';\r\n\r\nfunction injectColorTokens(): void {\r\n if (typeof document === 'undefined') return;\r\n if (document.getElementById(STYLE_ID)) return;\r\n const style = document.createElement('style');\r\n style.id = STYLE_ID;\r\n style.textContent = generateColorTokenCSS();\r\n document.head.appendChild(style);\r\n}\r\n\r\ninjectColorTokens();\r\n","import { effect } from './signal.js';\r\nimport { globalStyles, extraSheets } from './tokens.js';\r\n\r\nlet nextId = 0;\r\n\r\nexport abstract class UElement extends HTMLElement {\r\n private _cleanups: (() => void)[] = [];\r\n protected _root: ShadowRoot;\r\n protected _id = ++nextId;\r\n\r\n constructor() {\r\n super();\r\n this._root = this.attachShadow({ mode: 'open' });\r\n this.dataset.uId = String(this._id);\r\n try {\r\n this._root.adoptedStyleSheets = [globalStyles, ...extraSheets];\r\n } catch {\r\n const style = document.createElement('style');\r\n style.textContent = ':host {}';\r\n this._root.appendChild(style);\r\n }\r\n }\r\n\r\n connectedCallback(): void {\r\n this._mount();\r\n }\r\n\r\n disconnectedCallback(): void {\r\n for (const fn of this._cleanups) {\r\n try {\r\n fn();\r\n } catch (e) {\r\n console.error(e);\r\n }\r\n }\r\n this._cleanups = [];\r\n }\r\n\r\n protected adoptEffect(fn: () => (() => void) | void): () => void {\r\n const dispose = effect(fn);\r\n this._cleanups.push(dispose);\r\n return dispose;\r\n }\r\n\r\n protected abstract _mount(): void;\r\n}\r\n","export const buttonStyles = `\r\n:host {\r\n display: inline-block;\r\n}\r\nbutton {\r\n font-family: inherit;\r\n font-size: var(--u-font-sm);\r\n line-height: var(--u-line-height-none);\r\n border: 1px solid transparent;\r\n border-radius: var(--u-radius-md);\r\n cursor: pointer;\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n gap: 6px;\r\n transition: background-color var(--u-transition-base), opacity var(--u-transition-base), box-shadow var(--u-transition-base);\r\n outline: none;\r\n}\r\nbutton:focus-visible {\r\n box-shadow: 0 0 0 2px var(--u-color-focus);\r\n}\r\nbutton:disabled {\r\n opacity: var(--u-opacity-disabled);\r\n cursor: not-allowed;\r\n}\r\n.btn-primary {\r\n background: var(--u-color-primary);\r\n color: var(--u-color-white);\r\n border-color: var(--u-color-primary-hover);\r\n}\r\n.btn-primary:hover:not(:disabled) {\r\n background: var(--u-color-primary-hover);\r\n}\r\n.btn-secondary {\r\n background: var(--u-color-bg-hover);\r\n color: var(--u-color-text-secondary);\r\n border-color: var(--u-color-border);\r\n}\r\n.btn-secondary:hover:not(:disabled) {\r\n background: var(--u-color-bg-hover-strong);\r\n}\r\n.btn-ghost {\r\n background: transparent;\r\n color: var(--u-color-text-secondary);\r\n border-color: transparent;\r\n}\r\n.btn-ghost:hover:not(:disabled) {\r\n background: var(--u-color-bg-hover);\r\n}\r\n.btn-danger {\r\n background: var(--u-color-danger);\r\n color: var(--u-color-white);\r\n border-color: var(--u-color-danger);\r\n}\r\n.btn-danger:hover:not(:disabled) {\r\n background: var(--u-color-danger-hover);\r\n}\r\n.btn-sm { height: var(--u-spacing-8); padding: 0 var(--u-spacing-3); font-size: 13px; }\r\n.btn-md { height: 40px; padding: 0 var(--u-spacing-4); font-size: var(--u-font-sm); }\r\n.btn-lg { height: 48px; padding: 0 var(--u-spacing-6); font-size: var(--u-font-md); }\r\n.btn-link {\r\n background: transparent;\r\n color: var(--u-color-primary-hover);\r\n border-color: transparent;\r\n padding: 0;\r\n height: auto;\r\n font-size: inherit;\r\n font-weight: inherit;\r\n text-decoration: none;\r\n border-radius: var(--u-radius-xs);\r\n}\r\n.btn-link:hover:not(:disabled) {\r\n background: transparent;\r\n text-decoration: underline;\r\n color: var(--u-color-primary-hover);\r\n}\r\n.btn-link:disabled {\r\n opacity: var(--u-opacity-disabled);\r\n cursor: not-allowed;\r\n}\r\n`;\r\n","export const inputStyles = `\r\n:host {\r\n display: inline-block;\r\n}\r\n.input-wrapper {\r\n position: relative;\r\n display: flex;\r\n align-items: center;\r\n}\r\ninput {\r\n font-family: inherit;\r\n font-size: var(--u-font-sm);\r\n line-height: var(--u-line-height-md);\r\n padding: var(--u-spacing-2) var(--u-spacing-3);\r\n border: 1px solid var(--u-color-border-light);\r\n border-radius: var(--u-radius-md);\r\n outline: none;\r\n width: 100%;\r\n box-sizing: border-box;\r\n background: var(--u-color-bg);\r\n color: var(--u-color-text);\r\n transition: border-color var(--u-transition-base);\r\n}\r\ninput::placeholder { color: var(--u-color-text-muted); }\r\ninput:focus {\r\n border-color: var(--u-color-primary-hover);\r\n box-shadow: var(--u-shadow-focus);\r\n}\r\ninput:disabled {\r\n background: var(--u-color-bg-muted);\r\n color: var(--u-color-text-muted);\r\n cursor: not-allowed;\r\n}\r\n`;\r\n","export const boxStyles = `\r\n:host {\r\n display: block;\r\n}\r\n`;\r\n","export const listStyles = `\r\n:host {\r\n display: block;\r\n}\r\nul, ol {\r\n margin: 0;\r\n padding: 0;\r\n list-style: none;\r\n}\r\n.list-empty {\r\n padding: var(--u-spacing-6);\r\n text-align: center;\r\n color: var(--u-color-text-muted);\r\n}\r\n`;\r\n","export const iconStyles = `\r\n:host {\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\nsvg {\r\n fill: none;\r\n stroke: currentColor;\r\n stroke-linecap: round;\r\n stroke-linejoin: round;\r\n}\r\n`;\r\n","export const textStyles = `\r\n:host {\r\n display: inline;\r\n}\r\n[part=\"text\"] {\r\n margin: 0;\r\n font-family: inherit;\r\n line-height: var(--u-line-height-md);\r\n}\r\n.text-xs { font-size: var(--u-font-xs); }\r\n.text-sm { font-size: var(--u-font-sm); }\r\n.text-md { font-size: var(--u-font-md); }\r\n.text-lg { font-size: var(--u-font-lg); }\r\n.text-xl { font-size: var(--u-font-xl); }\r\n.text-2xl { font-size: var(--u-font-2xl); }\r\n.text-3xl { font-size: var(--u-font-3xl); }\r\n.text-normal { font-weight: var(--u-font-weight-normal); }\r\n.text-medium { font-weight: var(--u-font-weight-medium); }\r\n.text-semibold { font-weight: var(--u-font-weight-semibold); }\r\n.text-bold { font-weight: var(--u-font-weight-bold); }\r\n.text-default { color: inherit; }\r\n.text-muted { color: var(--u-color-text-muted); }\r\n.text-accent { color: var(--u-color-primary-hover); }\r\n.text-danger { color: var(--u-color-danger); }\r\n.text-success { color: var(--u-color-success); }\r\n.text-left { text-align: left; }\r\n.text-center { text-align: center; }\r\n.text-right { text-align: right; }\r\n.text-truncate {\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n}\r\n`;\r\n","export const stackStyles = `\r\n:host {\r\n display: flex;\r\n}\r\n[part=\"stack\"] {\r\n display: flex;\r\n width: 100%;\r\n}\r\n.stack-v {\r\n flex-direction: column;\r\n}\r\n.stack-h {\r\n flex-direction: row;\r\n}\r\n`;\r\n","export const gridStyles = `\r\n:host {\r\n display: block;\r\n}\r\n[part=\"grid\"] {\r\n display: grid;\r\n}\r\n`;\r\n","export const overlayStyles = `\r\n:host {\r\n position: fixed;\r\n inset: 0;\r\n z-index: var(--u-z-backdrop);\r\n}\r\n[part=\"overlay\"] {\r\n position: fixed;\r\n inset: 0;\r\n background: var(--u-color-overlay);\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n.overlay-blur {\r\n backdrop-filter: blur(var(--u-blur));\r\n}\r\n[hidden] {\r\n display: none !important;\r\n}\r\n`;\r\n","export const fieldStyles = `\r\n:host {\r\n display: block;\r\n}\r\n[part=\"field\"] {\r\n display: flex;\r\n flex-direction: column;\r\n gap: var(--u-spacing-1);\r\n}\r\n.field-label {\r\n font-size: var(--u-font-sm);\r\n font-weight: var(--u-font-weight-medium);\r\n color: var(--u-color-text-secondary);\r\n}\r\n.field-label-required::after {\r\n content: ' *';\r\n color: var(--u-color-danger);\r\n}\r\n.field-content {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n.field-hint {\r\n font-size: var(--u-font-xs);\r\n color: var(--u-color-text-muted);\r\n}\r\n.field-error {\r\n font-size: var(--u-font-xs);\r\n color: var(--u-color-danger);\r\n}\r\n.hidden {\r\n display: none;\r\n}\r\n`;\r\n","export const checkboxStyles = `\r\n:host {\r\n display: inline-flex;\r\n align-items: center;\r\n}\r\n[part=\"checkbox\"] {\r\n display: inline-flex;\r\n align-items: center;\r\n gap: var(--u-spacing-2);\r\n cursor: pointer;\r\n}\r\n:host(:focus-visible) .checkbox-indicator { outline: 2px solid var(--u-color-focus); outline-offset: 2px; }\r\ninput {\r\n position: absolute;\r\n opacity: 0;\r\n width: 0;\r\n height: 0;\r\n pointer-events: none;\r\n}\r\n.checkbox-indicator {\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n width: 18px;\r\n height: 18px;\r\n border: 2px solid var(--u-color-border);\r\n border-radius: var(--u-radius-sm);\r\n transition: all var(--u-transition-base);\r\n flex-shrink: 0;\r\n box-sizing: border-box;\r\n}\r\n.checkbox-indicator.checked {\r\n background: var(--u-color-primary);\r\n border-color: var(--u-color-primary-hover);\r\n color: var(--u-color-white);\r\n}\r\n.checkbox-indicator svg {\r\n opacity: 0;\r\n transition: opacity var(--u-transition-base);\r\n}\r\n.checkbox-indicator.checked svg {\r\n opacity: 1;\r\n}\r\n.checkbox-label {\r\n font-size: var(--u-font-sm);\r\n color: var(--u-color-text-secondary);\r\n}\r\n:host([disabled]) [part=\"checkbox\"] {\r\n opacity: var(--u-opacity-disabled);\r\n cursor: not-allowed;\r\n}\r\n`;\r\n","export const selectStyles = `\r\n:host {\r\n display: inline-block;\r\n position: relative;\r\n}\r\n.select-wrapper {\r\n position: relative;\r\n display: flex;\r\n align-items: center;\r\n}\r\n.select {\r\n font-family: inherit;\r\n font-size: var(--u-font-sm);\r\n line-height: var(--u-line-height-md);\r\n padding: var(--u-spacing-2) var(--u-spacing-8) var(--u-spacing-2) var(--u-spacing-3);\r\n border: 1px solid var(--u-color-border-light);\r\n border-radius: var(--u-radius-md);\r\n outline: none;\r\n width: 100%;\r\n box-sizing: border-box;\r\n background: var(--u-color-bg);\r\n color: var(--u-color-text);\r\n transition: border-color var(--u-transition-base);\r\n appearance: none;\r\n -webkit-appearance: none;\r\n cursor: pointer;\r\n}\r\n.select:focus {\r\n border-color: var(--u-color-primary-hover);\r\n box-shadow: var(--u-shadow-focus);\r\n}\r\n.select:disabled {\r\n background: var(--u-color-bg-muted);\r\n color: var(--u-color-text-muted);\r\n cursor: not-allowed;\r\n}\r\n.select-arrow {\r\n position: absolute;\r\n right: var(--u-spacing-2);\r\n pointer-events: none;\r\n color: var(--u-color-text-muted);\r\n display: flex;\r\n align-items: center;\r\n}\r\n`;\r\n","export const linkStyles = `\r\n:host {\r\n display: inline;\r\n}\r\n[part=\"link\"] {\r\n font-family: inherit;\r\n font-size: inherit;\r\n line-height: inherit;\r\n cursor: pointer;\r\n transition: color var(--u-transition-base);\r\n text-decoration: none;\r\n border-radius: var(--u-radius-xs);\r\n}\r\n[part=\"link\"]:focus-visible {\r\n outline: 2px solid var(--u-color-focus);\r\n outline-offset: 2px;\r\n}\r\n.link-default { color: var(--u-color-primary-hover); }\r\n.link-default:hover { color: var(--u-color-primary-hover); text-decoration: underline; }\r\n.link-accent { color: var(--u-color-text-secondary); font-weight: var(--u-font-weight-medium); }\r\n.link-accent:hover { color: var(--u-color-text); text-decoration: underline; }\r\n.link-muted { color: var(--u-color-text-muted); }\r\n.link-muted:hover { color: var(--u-color-text-secondary); text-decoration: underline; }\r\n.link-danger { color: var(--u-color-danger); }\r\n.link-danger:hover { color: var(--u-color-danger-hover); text-decoration: underline; }\r\n.link-underline-always { text-decoration: underline; }\r\n.link-underline-none:hover { text-decoration: none; }\r\n.link-disabled {\r\n color: var(--u-color-text-muted) !important;\r\n cursor: not-allowed;\r\n pointer-events: none;\r\n text-decoration: none !important;\r\n}\r\n`;\r\n","export const containerStyles = `\r\n:host {\r\n display: block;\r\n width: 100%;\r\n}\r\n[part=\"container\"] {\r\n margin: 0 auto;\r\n width: 100%;\r\n box-sizing: border-box;\r\n}\r\n`;\r\n","export const dialogStyles = `\r\n:host {\r\n display: contents;\r\n}\r\n[part=\"dialog-root\"] {\r\n display: contents;\r\n}\r\n`;\r\n","export const tooltipStyles = `\r\n:host {\r\n position: relative;\r\n display: inline-flex;\r\n}\r\n[part=\"tooltip\"] {\r\n position: fixed;\r\n z-index: var(--u-z-dropdown);\r\n background: var(--u-color-tooltip-bg);\r\n color: var(--u-color-white);\r\n font-size: var(--u-font-xs);\r\n padding: 6px 10px;\r\n border-radius: var(--u-radius-md);\r\n pointer-events: none;\r\n line-height: var(--u-line-height-sm);\r\n max-width: 200px;\r\n box-shadow: var(--u-shadow-tooltip);\r\n animation: u-tooltip-in 120ms ease;\r\n}\r\n@keyframes u-tooltip-in {\r\n from { opacity: 0; transform: translateY(3px); }\r\n to { opacity: 1; transform: translateY(0); }\r\n}\r\n.tooltip-arrow {\r\n position: absolute;\r\n width: 6px;\r\n height: 6px;\r\n background: var(--u-color-tooltip-bg);\r\n transform: rotate(45deg);\r\n}\r\n.arrow-top { bottom: -3px; left: calc(50% - 3px); }\r\n.arrow-bottom { top: -3px; left: calc(50% - 3px); }\r\n.arrow-left { right: -3px; top: calc(50% - 3px); }\r\n.arrow-right { left: -3px; top: calc(50% - 3px); }\r\n`;\r\n","export const textareaStyles = `\r\n:host {\r\n display: inline-block;\r\n}\r\n.textarea-wrapper {\r\n position: relative;\r\n display: flex;\r\n}\r\ntextarea {\r\n font-family: inherit;\r\n font-size: var(--u-font-sm);\r\n line-height: var(--u-line-height-md);\r\n padding: var(--u-spacing-2) var(--u-spacing-3);\r\n border: 1px solid var(--u-color-border-light);\r\n border-radius: var(--u-radius-md);\r\n outline: none;\r\n width: 100%;\r\n box-sizing: border-box;\r\n background: var(--u-color-bg);\r\n color: var(--u-color-text);\r\n transition: border-color var(--u-transition-base);\r\n resize: vertical;\r\n min-height: 60px;\r\n}\r\ntextarea::placeholder { color: var(--u-color-text-muted); }\r\ntextarea:focus {\r\n border-color: var(--u-color-primary-hover);\r\n box-shadow: var(--u-shadow-focus);\r\n}\r\ntextarea:disabled {\r\n background: var(--u-color-bg-muted);\r\n color: var(--u-color-text-muted);\r\n cursor: not-allowed;\r\n}\r\n`;\r\n","export const radioStyles = `\r\n:host {\r\n display: block;\r\n}\r\n[part=\"group\"] {\r\n display: flex;\r\n}\r\n[part=\"radio\"] {\r\n display: inline-flex;\r\n align-items: center;\r\n gap: var(--u-spacing-2);\r\n cursor: pointer;\r\n font-size: var(--u-font-sm);\r\n color: var(--u-color-text-secondary);\r\n}\r\n:host(:focus-visible) .radio-circle { outline: 2px solid var(--u-color-focus); outline-offset: 2px; }\r\ninput[type=\"radio\"] {\r\n position: absolute;\r\n opacity: 0;\r\n width: 0;\r\n height: 0;\r\n pointer-events: none;\r\n}\r\n.radio-circle {\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n width: 18px;\r\n height: 18px;\r\n border: 2px solid var(--u-color-border);\r\n border-radius: var(--u-radius-round);\r\n transition: all var(--u-transition-base);\r\n flex-shrink: 0;\r\n box-sizing: border-box;\r\n}\r\n.radio-circle.checked {\r\n border-color: var(--u-color-primary-hover);\r\n background: var(--u-color-primary);\r\n box-shadow: inset 0 0 0 3px var(--u-color-white);\r\n}\r\n:host([disabled]) [part=\"radio\"] {\r\n opacity: var(--u-opacity-disabled);\r\n cursor: not-allowed;\r\n}\r\n`;\r\n","export const switchStyles = `\r\n:host {\r\n display: inline-flex;\r\n}\r\n[part=\"switch\"] {\r\n display: inline-flex;\r\n cursor: pointer;\r\n}\r\n:host(:focus-visible) .switch-track { outline: 2px solid var(--u-color-focus); outline-offset: 3px; }\r\ninput {\r\n position: absolute;\r\n opacity: 0;\r\n width: 0;\r\n height: 0;\r\n pointer-events: none;\r\n}\r\n.switch-track {\r\n width: 40px;\r\n height: 22px;\r\n background: var(--u-color-border);\r\n border-radius: 11px;\r\n position: relative;\r\n transition: background var(--u-transition-slow);\r\n}\r\n.switch-track.checked {\r\n background: var(--u-color-primary);\r\n}\r\n.switch-thumb {\r\n position: absolute;\r\n top: 2px;\r\n left: 2px;\r\n width: 18px;\r\n height: 18px;\r\n background: var(--u-color-bg);\r\n border-radius: var(--u-radius-round);\r\n transition: transform var(--u-transition-slow);\r\n box-shadow: var(--u-shadow-thumb);\r\n}\r\n.switch-track.checked .switch-thumb {\r\n transform: translateX(18px);\r\n}\r\n:host([disabled]) [part=\"switch\"] {\r\n opacity: var(--u-opacity-disabled);\r\n cursor: not-allowed;\r\n}\r\n`;\r\n","export const labelStyles = `\r\n:host {\r\n display: inline;\r\n}\r\n[part=\"label\"] {\r\n font-size: var(--u-font-sm);\r\n font-weight: var(--u-font-weight-medium);\r\n color: var(--u-color-text-secondary);\r\n cursor: default;\r\n}\r\n.label-required::after {\r\n content: ' *';\r\n color: var(--u-color-danger);\r\n}\r\n`;\r\n","export const treeStyles = `\r\n:host {\r\n display: block;\r\n}\r\n[part=\"tree\"] {\r\n list-style: none;\r\n margin: 0;\r\n padding: 0;\r\n font-size: var(--u-font-sm);\r\n}\r\n.tree-node {\r\n list-style: none;\r\n}\r\n.tree-row {\r\n display: flex;\r\n align-items: center;\r\n gap: var(--u-spacing-1);\r\n padding: var(--u-spacing-1) var(--u-spacing-2);\r\n cursor: pointer;\r\n border-radius: var(--u-radius-sm);\r\n}\r\n.tree-row:focus-visible { outline: 2px solid var(--u-color-focus); outline-offset: -2px; }\r\n.tree-row:hover {\r\n background: var(--u-color-bg-hover);\r\n}\r\n.tree-toggle {\r\n width: var(--u-spacing-4);\r\n flex-shrink: 0;\r\n text-align: center;\r\n font-size: var(--u-font-xs);\r\n color: var(--u-color-text-muted);\r\n}\r\n.tree-toggle-spacer {\r\n width: var(--u-spacing-4);\r\n flex-shrink: 0;\r\n}\r\n.tree-label {\r\n color: var(--u-color-text-secondary);\r\n}\r\n.tree-children {\r\n list-style: none;\r\n margin: 0;\r\n padding: 0;\r\n}\r\n`;\r\n","export const tableStyles = `\r\n:host {\r\n display: block;\r\n overflow-x: auto;\r\n}\r\n.table-wrapper {\r\n width: 100%;\r\n}\r\n.table {\r\n width: 100%;\r\n border-collapse: collapse;\r\n font-size: var(--u-font-sm);\r\n}\r\n.table th {\r\n text-align: left;\r\n padding: 10px var(--u-spacing-3);\r\n border-bottom: 2px solid var(--u-color-border-lighter);\r\n font-weight: var(--u-font-weight-semibold);\r\n color: var(--u-color-text-secondary);\r\n white-space: nowrap;\r\n background: var(--u-color-bg-muted);\r\n}\r\n.table th.sortable {\r\n cursor: pointer;\r\n user-select: none;\r\n}\r\n.table th.sortable:focus-visible { outline: 2px solid var(--u-color-focus); outline-offset: -2px; }\r\n.table th.sortable:hover {\r\n background: var(--u-color-bg-hover);\r\n}\r\n.table td {\r\n padding: 10px var(--u-spacing-3);\r\n border-bottom: 1px solid var(--u-color-border-lighter);\r\n color: var(--u-color-text-muted);\r\n}\r\n.table tr:hover td {\r\n background: var(--u-color-bg-muted);\r\n}\r\n`;\r\n","export const breadcrumbStyles = `\r\n:host {\r\n display: block;\r\n}\r\n[part=\"breadcrumb\"] {\r\n font-size: var(--u-font-sm);\r\n}\r\n[part=\"list\"] {\r\n display: flex;\r\n align-items: center;\r\n gap: var(--u-spacing-1);\r\n list-style: none;\r\n margin: 0;\r\n padding: 0;\r\n}\r\n.breadcrumb-item {\r\n display: flex;\r\n align-items: center;\r\n gap: var(--u-spacing-1);\r\n color: var(--u-color-text-muted);\r\n}\r\n.breadcrumb-item a {\r\n color: var(--u-color-primary-text);\r\n text-decoration: none;\r\n}\r\n.breadcrumb-item a:focus-visible { outline: 2px solid var(--u-color-focus); outline-offset: 2px; border-radius: var(--u-radius-xs); }\r\n.breadcrumb-item a:hover {\r\n text-decoration: underline;\r\n}\r\n.breadcrumb-item[aria-current=\"page\"] {\r\n color: var(--u-color-text);\r\n font-weight: var(--u-font-weight-medium);\r\n}\r\n.breadcrumb-separator {\r\n color: var(--u-color-border-light);\r\n margin: 0 var(--u-spacing-05);\r\n}\r\n`;\r\n","export const tabsStyles = `\r\n:host {\r\n display: block;\r\n}\r\n[part=\"tabs\"] {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n[part=\"tablist\"] {\r\n display: flex;\r\n gap: 0;\r\n position: relative;\r\n outline: none;\r\n}\r\n.tablist-underline {\r\n border-bottom: 1px solid var(--u-color-border-light);\r\n}\r\n.tablist-underline .tab-indicator {\r\n position: absolute;\r\n bottom: 0;\r\n height: 2px;\r\n background: var(--u-color-primary);\r\n transition: left var(--u-transition-slow) ease, width var(--u-transition-slow) ease;\r\n border-radius: 1px;\r\n}\r\n.tablist-pills {\r\n gap: var(--u-spacing-1);\r\n flex-wrap: wrap;\r\n}\r\n.tablist-buttons {\r\n gap: var(--u-spacing-1);\r\n flex-wrap: wrap;\r\n}\r\n.tablist-full {\r\n width: 100%;\r\n}\r\n.tablist-full .tab-trigger {\r\n flex: 1;\r\n text-align: center;\r\n}\r\n.tab-trigger {\r\n font-family: inherit;\r\n font-size: var(--u-font-sm);\r\n padding: 10px var(--u-spacing-4);\r\n border: none;\r\n background: none;\r\n cursor: pointer;\r\n color: var(--u-color-text-muted);\r\n transition: all var(--u-transition-base);\r\n outline: none;\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n gap: var(--u-spacing-2);\r\n white-space: nowrap;\r\n user-select: none;\r\n position: relative;\r\n border-radius: 0;\r\n}\r\n.tab-trigger:hover:not(:disabled):not(.active) {\r\n color: var(--u-color-text-secondary);\r\n}\r\n.tab-trigger.active {\r\n color: var(--u-color-primary-text);\r\n font-weight: var(--u-font-weight-medium);\r\n}\r\n.tab-trigger:focus-visible {\r\n box-shadow: inset 0 0 0 2px var(--u-color-focus);\r\n}\r\n.tab-trigger:disabled {\r\n opacity: var(--u-opacity-muted);\r\n cursor: not-allowed;\r\n}\r\n.tab-trigger-icon {\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n width: var(--u-spacing-4);\r\n height: var(--u-spacing-4);\r\n flex-shrink: 0;\r\n}\r\n.tab-trigger-icon svg {\r\n width: var(--u-spacing-4);\r\n height: var(--u-spacing-4);\r\n}\r\n.tablist-pills .tab-trigger {\r\n border-radius: var(--u-radius-full);\r\n padding: 6px 14px;\r\n}\r\n.tablist-pills .tab-trigger:hover:not(:disabled) {\r\n background: var(--u-color-bg-hover);\r\n}\r\n.tablist-pills .tab-trigger.active {\r\n background: var(--u-color-bg-selected);\r\n color: var(--u-color-primary-text);\r\n}\r\n.tablist-buttons .tab-trigger {\r\n border-radius: var(--u-radius-md);\r\n padding: 6px 14px;\r\n}\r\n.tablist-buttons .tab-trigger:hover:not(:disabled) {\r\n background: var(--u-color-bg-hover);\r\n}\r\n.tablist-buttons .tab-trigger.active {\r\n background: var(--u-color-primary);\r\n color: var(--u-color-white);\r\n}\r\n[part=\"tabpanels\"] {\r\n padding: var(--u-spacing-4) 0;\r\n outline: none;\r\n}\r\n.tab-panel {\r\n outline: none;\r\n animation: u-tab-panel-in var(--u-transition-base) ease;\r\n}\r\n@keyframes u-tab-panel-in {\r\n from { opacity: 0; }\r\n to { opacity: 1; }\r\n}\r\n`;\r\n","export const visuallyHiddenStyles = `\r\n:host {\r\n display: inline;\r\n}\r\n[part=\"hidden\"] {\r\n position: absolute;\r\n width: 1px;\r\n height: 1px;\r\n padding: 0;\r\n margin: -1px;\r\n overflow: hidden;\r\n clip: rect(0,0,0,0);\r\n white-space: nowrap;\r\n border: 0;\r\n}\r\n`;\r\n","export const presenceStyles = `\r\n[part=\"presence\"] {\r\n animation-fill-mode: both;\r\n}\r\n.presence-enter {\r\n opacity: 0;\r\n}\r\n.presence-enter-active {\r\n opacity: 1;\r\n transition: opacity var(--duration, 200ms) ease;\r\n}\r\n.presence-leave {\r\n opacity: 1;\r\n}\r\n.presence-leave-active {\r\n opacity: 0;\r\n transition: opacity var(--duration, 200ms) ease;\r\n}\r\n`;\r\n","export const animateKeyframes = `\r\n@keyframes u-fade-in {\r\n from { opacity: 0; }\r\n to { opacity: 1; }\r\n}\r\n@keyframes u-fade-out {\r\n from { opacity: 1; }\r\n to { opacity: 0; }\r\n}\r\n@keyframes u-slide-in-up {\r\n from { opacity: 0; transform: translateY(20px); }\r\n to { opacity: 1; transform: translateY(0); }\r\n}\r\n@keyframes u-slide-in-down {\r\n from { opacity: 0; transform: translateY(-20px); }\r\n to { opacity: 1; transform: translateY(0); }\r\n}\r\n@keyframes u-slide-in-left {\r\n from { opacity: 0; transform: translateX(20px); }\r\n to { opacity: 1; transform: translateX(0); }\r\n}\r\n@keyframes u-slide-in-right {\r\n from { opacity: 0; transform: translateX(-20px); }\r\n to { opacity: 1; transform: translateX(0); }\r\n}\r\n@keyframes u-slide-out-up {\r\n from { opacity: 1; transform: translateY(0); }\r\n to { opacity: 0; transform: translateY(-20px); }\r\n}\r\n@keyframes u-slide-out-down {\r\n from { opacity: 1; transform: translateY(0); }\r\n to { opacity: 0; transform: translateY(20px); }\r\n}\r\n@keyframes u-scale-in {\r\n from { opacity: 0; transform: scale(0.95); }\r\n to { opacity: 1; transform: scale(1); }\r\n}\r\n@keyframes u-scale-out {\r\n from { opacity: 1; transform: scale(1); }\r\n to { opacity: 0; transform: scale(0.95); }\r\n}\r\n@keyframes u-bounce-in {\r\n 0% { opacity: 0; transform: scale(0.3); }\r\n 50% { transform: scale(1.05); }\r\n 70% { transform: scale(0.9); }\r\n 100% { opacity: 1; transform: scale(1); }\r\n}\r\n`;\r\n","export const modalStyles = `\r\n:host {\r\n display: contents;\r\n}\r\n@keyframes u-modal-fade-in {\r\n from { opacity: 0; }\r\n to { opacity: 1; }\r\n}\r\n@keyframes u-modal-scale-in {\r\n from { opacity: 0; transform: scale(0.95) translateY(8px); }\r\n to { opacity: 1; transform: scale(1) translateY(0); }\r\n}\r\n.modal-backdrop {\r\n position: fixed;\r\n inset: 0;\r\n background: var(--u-color-overlay);\r\n z-index: var(--u-z-backdrop);\r\n animation: u-modal-fade-in var(--u-transition-base) ease;\r\n}\r\n.modal-backdrop[hidden] {\r\n display: none !important;\r\n}\r\n.modal {\r\n position: fixed;\r\n inset: 0;\r\n z-index: var(--u-z-modal);\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n padding: var(--u-spacing-4);\r\n}\r\n.modal[hidden] {\r\n display: none !important;\r\n}\r\n.modal-wrapper {\r\n background: var(--u-color-bg);\r\n border-radius: var(--u-radius-2xl);\r\n box-shadow: var(--u-shadow-xl);\r\n display: flex;\r\n flex-direction: column;\r\n max-height: 85vh;\r\n width: 100%;\r\n animation: u-modal-scale-in var(--u-transition-slow) ease;\r\n}\r\n.modal-sm { max-width: 400px; }\r\n.modal-md { max-width: 500px; }\r\n.modal-lg { max-width: 640px; }\r\n.modal-xl { max-width: 800px; }\r\n.modal-full { max-width: calc(100vw - 32px); }\r\n.modal-header {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n padding: var(--u-spacing-4) var(--u-spacing-5);\r\n border-bottom: 1px solid var(--u-color-border-lighter);\r\n gap: var(--u-spacing-3);\r\n}\r\n.modal-title {\r\n font-weight: var(--u-font-weight-semibold);\r\n font-size: var(--u-font-lg);\r\n color: var(--u-color-text);\r\n flex: 1;\r\n min-width: 0;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n}\r\n.modal-close {\r\n background: none;\r\n border: none;\r\n cursor: pointer;\r\n color: var(--u-color-text-muted);\r\n padding: var(--u-spacing-1);\r\n line-height: var(--u-line-height-none);\r\n border-radius: var(--u-radius-md);\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n flex-shrink: 0;\r\n transition: color var(--u-transition-base), background var(--u-transition-base);\r\n}\r\n.modal-close:hover { color: var(--u-color-text-secondary); background: var(--u-color-bg-hover); }\r\n.modal-close:focus-visible { outline: 2px solid var(--u-color-focus); outline-offset: 2px; }\r\n.modal-close svg {\r\n width: 18px;\r\n height: 18px;\r\n}\r\n.modal-content {\r\n padding: var(--u-spacing-5);\r\n overflow-y: auto;\r\n flex: 1;\r\n color: var(--u-color-text-secondary);\r\n font-size: var(--u-font-sm);\r\n line-height: var(--u-line-height-lg);\r\n}\r\n.modal-footer {\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-end;\r\n gap: var(--u-spacing-2);\r\n padding: var(--u-spacing-3) var(--u-spacing-5);\r\n border-top: 1px solid var(--u-color-border-lighter);\r\n}\r\n.modal-mobile.modal-wrapper {\r\n max-height: calc(100vh - 32px) !important;\r\n border-radius: var(--u-radius-xl);\r\n}\r\n`;\r\n","export const drawerStyles = `\r\n:host {\r\n display: contents;\r\n}\r\n.drawer-backdrop {\r\n position: fixed;\r\n inset: 0;\r\n background: var(--u-color-overlay);\r\n z-index: var(--u-z-backdrop);\r\n}\r\n.drawer {\r\n position: fixed;\r\n z-index: var(--u-z-modal);\r\n}\r\n.drawer-right { top: 0; right: 0; height: 100%; }\r\n.drawer-left { top: 0; left: 0; height: 100%; }\r\n.drawer-top { top: 0; left: 0; width: 100%; }\r\n.drawer-bottom { bottom: 0; left: 0; width: 100%; }\r\n.drawer-content {\r\n background: var(--u-color-bg);\r\n display: flex;\r\n flex-direction: column;\r\n box-shadow: var(--u-shadow-drawer);\r\n}\r\n.drawer-right .drawer-content { height: 100%; transform: translateX(100%); transition: transform var(--u-transition-slower) ease; border-radius: var(--u-radius-2xl) 0 0 var(--u-radius-2xl); }\r\n.drawer-left .drawer-content { height: 100%; transform: translateX(-100%); transition: transform var(--u-transition-slower) ease; border-radius: 0 var(--u-radius-2xl) var(--u-radius-2xl) 0; }\r\n.drawer-top .drawer-content { width: 100%; transform: translateY(-100%); transition: transform var(--u-transition-slower) ease; border-radius: 0 0 var(--u-radius-2xl) var(--u-radius-2xl); }\r\n.drawer-bottom .drawer-content { width: 100%; transform: translateY(100%); transition: transform var(--u-transition-slower) ease; border-radius: var(--u-radius-2xl) var(--u-radius-2xl) 0 0; }\r\n.drawer-open .drawer-content { transform: translate(0,0); }\r\n.drawer-header {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n padding: var(--u-spacing-4) var(--u-spacing-5);\r\n border-bottom: 1px solid var(--u-color-border-lighter);\r\n font-weight: var(--u-font-weight-semibold);\r\n font-size: var(--u-font-lg);\r\n}\r\n.drawer-close {\r\n background: none;\r\n border: none;\r\n font-size: var(--u-font-2xl);\r\n cursor: pointer;\r\n color: var(--u-color-text-muted);\r\n padding: 0;\r\n line-height: var(--u-line-height-none);\r\n}\r\n.drawer-close:focus-visible { outline: 2px solid var(--u-color-focus); outline-offset: 2px; }\r\n.drawer-close:hover { color: var(--u-color-text-secondary); }\r\n.drawer-body { padding: var(--u-spacing-5); overflow-y: auto; flex: 1; color: var(--u-color-text-muted); font-size: var(--u-font-sm); }\r\n.drawer-footer { padding: var(--u-spacing-3) var(--u-spacing-5); border-top: 1px solid var(--u-color-border-lighter); display: flex; gap: var(--u-spacing-2); justify-content: flex-end; }\r\n`;\r\n","export const popoverStyles = `\r\n:host {\r\n position: relative;\r\n display: inline-flex;\r\n}\r\n.popover-trigger {\r\n display: inline-flex;\r\n}\r\n.popover {\r\n position: fixed;\r\n z-index: var(--u-z-dropdown);\r\n filter: drop-shadow(0 8px 24px rgba(0,0,0,.14));\r\n}\r\n.popover-content {\r\n background: var(--u-color-bg);\r\n border: 1px solid var(--u-color-border-light);\r\n border-radius: var(--u-radius-xl);\r\n padding: var(--u-spacing-2);\r\n font-size: var(--u-font-sm);\r\n color: var(--u-color-text-secondary);\r\n min-width: 160px;\r\n animation: u-popover-in var(--u-transition-base) ease;\r\n}\r\n@keyframes u-popover-in {\r\n from { opacity: 0; transform: scale(.95); }\r\n to { opacity: 1; transform: scale(1); }\r\n}\r\n.popover-arrow {\r\n position: absolute;\r\n width: 10px;\r\n height: 10px;\r\n background: var(--u-color-bg);\r\n border: 1px solid var(--u-color-border-light);\r\n transform: rotate(45deg);\r\n z-index: -1;\r\n}\r\n.arrow-top { bottom: -5px; left: calc(50% - 5px); border-top: none; border-left: none; }\r\n.arrow-bottom { top: -5px; left: calc(50% - 5px); border-bottom: none; border-right: none; }\r\n.arrow-left { right: -5px; top: calc(50% - 5px); border-bottom: none; border-left: none; }\r\n.arrow-right { left: -5px; top: calc(50% - 5px); border-top: none; border-right: none; }\r\n`;\r\n","export const dropdownStyles = `\r\n:host {\r\n position: relative;\r\n display: inline-flex;\r\n}\r\n.dropdown-trigger {\r\n display: inline-flex;\r\n}\r\n.dropdown-menu {\r\n position: fixed;\r\n z-index: var(--u-z-dropdown);\r\n background: var(--u-color-bg);\r\n border: 1px solid var(--u-color-border-light);\r\n border-radius: var(--u-radius-xl);\r\n box-shadow: var(--u-shadow-lg);\r\n padding: var(--u-spacing-1);\r\n min-width: 180px;\r\n outline: none;\r\n animation: u-dropdown-in 120ms ease;\r\n}\r\n@keyframes u-dropdown-in {\r\n from { opacity: 0; transform: scale(.95); }\r\n to { opacity: 1; transform: scale(1); }\r\n}\r\n.dropdown-items {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n.dropdown-item {\r\n font-family: inherit;\r\n font-size: var(--u-font-sm);\r\n padding: var(--u-spacing-2) var(--u-spacing-3);\r\n border: none;\r\n background: none;\r\n cursor: pointer;\r\n color: var(--u-color-text-secondary);\r\n text-align: left;\r\n border-radius: var(--u-radius-md);\r\n transition: background var(--u-transition-fast);\r\n display: flex;\r\n align-items: center;\r\n gap: var(--u-spacing-2);\r\n width: 100%;\r\n box-sizing: border-box;\r\n}\r\n.dropdown-item:hover { background: var(--u-color-bg-hover); }\r\n.dropdown-item:focus-visible { box-shadow: 0 0 0 2px var(--u-color-focus); }\r\n.dropdown-item.selected { color: var(--u-color-primary-hover); font-weight: var(--u-font-weight-medium); background: var(--u-color-bg-selected); }\r\n.dropdown-item:disabled { opacity: var(--u-opacity-muted); cursor: not-allowed; }\r\n.dropdown-item-active { background: var(--u-color-bg-selected); color: var(--u-color-primary-hover); }\r\n.dropdown-item-icon {\r\n width: var(--u-spacing-4);\r\n height: var(--u-spacing-4);\r\n flex-shrink: 0;\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n color: var(--u-color-text-muted);\r\n}\r\n.dropdown-item-icon svg {\r\n width: var(--u-spacing-4);\r\n height: var(--u-spacing-4);\r\n}\r\n.dropdown-item-text {\r\n flex: 1;\r\n min-width: 0;\r\n}\r\n.dropdown-item-label {\r\n display: block;\r\n line-height: var(--u-line-height-sm);\r\n}\r\n.dropdown-item-desc {\r\n display: block;\r\n font-size: var(--u-font-xs);\r\n color: var(--u-color-text-muted);\r\n line-height: var(--u-line-height-tight);\r\n margin-top: 1px;\r\n}\r\n.dropdown-item-shortcut {\r\n font-size: var(--u-font-xs);\r\n color: var(--u-color-text-muted);\r\n padding: 2px 6px;\r\n background: var(--u-color-bg-hover);\r\n border-radius: var(--u-radius-sm);\r\n font-family: inherit;\r\n flex-shrink: 0;\r\n}\r\n.dropdown-group-label {\r\n font-size: var(--u-font-xs);\r\n font-weight: var(--u-font-weight-semibold);\r\n color: var(--u-color-text-muted);\r\n text-transform: uppercase;\r\n letter-spacing: var(--u-letter-spacing-wide);\r\n padding: var(--u-spacing-2) var(--u-spacing-3) var(--u-spacing-1);\r\n}\r\n.dropdown-divider { height: 1px; background: var(--u-color-bg-hover); margin: var(--u-spacing-1) 0; }\r\n`;\r\n","export const accordionStyles = `\r\n:host {\r\n display: block;\r\n}\r\n[part=\"accordion\"] {\r\n border: 1px solid var(--u-color-border);\r\n border-radius: var(--u-radius-lg);\r\n overflow: hidden;\r\n}\r\n.accordion-item {\r\n border-bottom: 1px solid var(--u-color-border-lighter);\r\n}\r\n.accordion-item:last-child { border-bottom: none; }\r\n.accordion-header {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n padding: var(--u-spacing-3) var(--u-spacing-4);\r\n cursor: pointer;\r\n font-weight: var(--u-font-weight-medium);\r\n font-size: var(--u-font-sm);\r\n color: var(--u-color-text-secondary);\r\n transition: background var(--u-transition-base);\r\n user-select: none;\r\n}\r\n.accordion-header:focus-visible { box-shadow: 0 0 0 2px var(--u-color-focus); }\r\n.accordion-header:hover { background: var(--u-color-bg-muted); }\r\n.accordion-icon {\r\n transition: transform var(--u-transition-slow);\r\n font-size: var(--u-font-xs);\r\n color: var(--u-color-text-muted);\r\n}\r\n.accordion-item[open] .accordion-icon { transform: rotate(180deg); }\r\n.accordion-content {\r\n overflow: hidden;\r\n transition: height var(--u-transition-slower) ease;\r\n}\r\n.accordion-body {\r\n padding: 0 var(--u-spacing-4) var(--u-spacing-3);\r\n font-size: var(--u-font-sm);\r\n color: var(--u-color-text-muted);\r\n}\r\n`;\r\n","export const calendarStyles = `\r\n:host {\r\n display: inline-block;\r\n}\r\n.calendar {\r\n font-size: var(--u-font-sm);\r\n width: 280px;\r\n background: var(--u-color-bg);\r\n border-radius: var(--u-radius-lg);\r\n box-shadow: var(--u-shadow-calendar);\r\n padding: var(--u-spacing-4);\r\n}\r\n.cal-header {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n margin-bottom: var(--u-spacing-3);\r\n}\r\n.cal-title {\r\n font-weight: var(--u-font-weight-semibold);\r\n color: var(--u-color-text);\r\n}\r\n.cal-nav-btn {\r\n background: none;\r\n border: 1px solid var(--u-color-border);\r\n border-radius: var(--u-radius-md);\r\n width: var(--u-spacing-8);\r\n height: var(--u-spacing-8);\r\n cursor: pointer;\r\n font-size: 1.2rem;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n color: var(--u-color-text-muted);\r\n transition: all var(--u-transition-base);\r\n}\r\n.cal-nav-btn:focus-visible { box-shadow: 0 0 0 2px var(--u-color-focus); }\r\n.cal-nav-btn:hover {\r\n background: var(--u-color-bg-hover);\r\n color: var(--u-color-text-secondary);\r\n}\r\n.cal-day-names {\r\n display: grid;\r\n grid-template-columns: repeat(7, 1fr);\r\n text-align: center;\r\n font-size: var(--u-font-xs);\r\n color: var(--u-color-text-muted);\r\n font-weight: var(--u-font-weight-medium);\r\n margin-bottom: var(--u-spacing-2);\r\n}\r\n.cal-day-name {\r\n padding: var(--u-spacing-1) 0;\r\n}\r\n.cal-days-grid {\r\n display: grid;\r\n grid-template-columns: repeat(7, 1fr);\r\n gap: 2px;\r\n}\r\n.cal-day {\r\n background: none;\r\n border: none;\r\n border-radius: var(--u-radius-md);\r\n width: 100%;\r\n aspect-ratio: 1;\r\n cursor: pointer;\r\n font-size: var(--u-font-sm);\r\n color: var(--u-color-text-secondary);\r\n transition: all var(--u-transition-fast);\r\n font-family: inherit;\r\n}\r\n.cal-day:focus-visible { outline: 2px solid var(--u-color-focus); outline-offset: -2px; }\r\n.cal-day:hover { background: var(--u-color-bg-hover); }\r\n.cal-day-empty { pointer-events: none; }\r\n.cal-today { font-weight: var(--u-font-weight-semibold); color: var(--u-color-primary-text); }\r\n.cal-selected { background: var(--u-color-primary); color: var(--u-color-white); font-weight: var(--u-font-weight-semibold); }\r\n.cal-selected:hover { background: var(--u-color-primary-hover); }\r\n.cal-disabled { opacity: var(--u-opacity-fade); pointer-events: none; }\r\n`;\r\n","export const dataTableStyles = `\r\n:host {\r\n display: block;\r\n}\r\n.data-table {\r\n font-size: var(--u-font-sm);\r\n border: 1px solid var(--u-color-border);\r\n border-radius: var(--u-radius-lg);\r\n overflow: hidden;\r\n}\r\n.dt-toolbar {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n padding: var(--u-spacing-3) var(--u-spacing-4);\r\n border-bottom: 1px solid var(--u-color-border);\r\n background: var(--u-color-bg-muted);\r\n}\r\n.dt-search-input {\r\n font-family: inherit;\r\n font-size: var(--u-font-sm);\r\n padding: 6px var(--u-spacing-3);\r\n border: 1px solid var(--u-color-border);\r\n border-radius: var(--u-radius-md);\r\n outline: none;\r\n width: 200px;\r\n}\r\n.dt-search-input:focus {\r\n border-color: var(--u-color-primary-text);\r\n box-shadow: var(--u-shadow-focus);\r\n}\r\n.dt-page-info { color: var(--u-color-text-muted); font-size: var(--u-font-xs); }\r\n.dt-table-wrapper { overflow-x: auto; }\r\n.dt-table { width: 100%; border-collapse: collapse; }\r\n.dt-table th {\r\n text-align: left;\r\n padding: 10px var(--u-spacing-3);\r\n border-bottom: 2px solid var(--u-color-border-lighter);\r\n font-weight: var(--u-font-weight-semibold);\r\n color: var(--u-color-text-secondary);\r\n white-space: nowrap;\r\n background: var(--u-color-bg-muted);\r\n}\r\n.dt-table th.dt-sortable { cursor: pointer; user-select: none; }\r\n.dt-table th.dt-sortable:focus-visible { outline: 2px solid var(--u-color-focus); outline-offset: -2px; }\r\n.dt-table th.dt-sortable:hover { background: var(--u-color-bg-hover); }\r\n.dt-table td { padding: 10px var(--u-spacing-3); border-bottom: 1px solid var(--u-color-border-lighter); color: var(--u-color-text-muted); }\r\n.dt-table tr:hover td { background: var(--u-color-bg-muted); }\r\n.dt-row-selected td { background: var(--u-color-bg-selected); }\r\n.dt-col-check { width: 40px; }\r\n.dt-empty { text-align: center; color: var(--u-color-text-muted); padding: var(--u-spacing-8); }\r\n.dt-pagination {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n padding: var(--u-spacing-2) var(--u-spacing-4);\r\n border-top: 1px solid var(--u-color-border);\r\n background: var(--u-color-bg-muted);\r\n}\r\n.dt-page-btn {\r\n font-family: inherit;\r\n font-size: var(--u-font-xs);\r\n padding: 6px var(--u-spacing-3);\r\n border: 1px solid var(--u-color-border);\r\n border-radius: var(--u-radius-md);\r\n background: var(--u-color-bg);\r\n cursor: pointer;\r\n color: var(--u-color-text-secondary);\r\n}\r\n.dt-page-btn:focus-visible { outline: 2px solid var(--u-color-focus); outline-offset: 2px; }\r\n.dt-page-btn:hover { background: var(--u-color-bg-hover); }\r\n.dt-page-numbers { display: flex; gap: var(--u-spacing-1); }\r\n.dt-page-num {\r\n font-family: inherit;\r\n font-size: var(--u-font-xs);\r\n width: var(--u-spacing-8);\r\n height: var(--u-spacing-8);\r\n border: 1px solid transparent;\r\n border-radius: var(--u-radius-md);\r\n background: none;\r\n cursor: pointer;\r\n color: var(--u-color-text-muted);\r\n}\r\n.dt-page-num:focus-visible { outline: 2px solid var(--u-color-focus); outline-offset: 2px; }\r\n.dt-page-num:hover { background: var(--u-color-bg-hover); }\r\n.dt-page-num.active { background: var(--u-color-primary); color: var(--u-color-white); font-weight: var(--u-font-weight-semibold); }\r\n`;\r\n","export const commandPaletteStyles = `\r\n:host {\r\n display: contents;\r\n}\r\n.cp-backdrop {\r\n position: fixed;\r\n inset: 0;\r\n background: var(--u-color-overlay);\r\n z-index: var(--u-z-backdrop);\r\n}\r\n.cp-dialog {\r\n position: fixed;\r\n top: 20%;\r\n left: 50%;\r\n transform: translateX(-50%);\r\n z-index: var(--u-z-command-palette);\r\n width: 540px;\r\n max-width: calc(100vw - 32px);\r\n}\r\n.cp-dialog-inner {\r\n background: var(--u-color-bg);\r\n border-radius: var(--u-radius-2xl);\r\n box-shadow: var(--u-shadow-command-palette);\r\n overflow: hidden;\r\n}\r\n.cp-search-wrapper {\r\n display: flex;\r\n align-items: center;\r\n padding: var(--u-spacing-3) var(--u-spacing-4);\r\n border-bottom: 1px solid var(--u-color-border-lighter);\r\n gap: var(--u-spacing-2);\r\n}\r\n.cp-search-icon { font-size: var(--u-font-md); color: var(--u-color-text-muted); }\r\n.cp-search-input {\r\n flex: 1;\r\n border: none;\r\n outline: none;\r\n font-family: inherit;\r\n font-size: var(--u-font-md);\r\n color: var(--u-color-text);\r\n background: none;\r\n}\r\n.cp-shortcut-hint {\r\n font-size: var(--u-font-xs);\r\n padding: 2px 6px;\r\n background: var(--u-color-bg-hover);\r\n border-radius: var(--u-radius-sm);\r\n color: var(--u-color-text-muted);\r\n font-family: inherit;\r\n}\r\n.cp-results {\r\n max-height: 320px;\r\n overflow-y: auto;\r\n padding: var(--u-spacing-1);\r\n}\r\n.cp-group-label {\r\n padding: var(--u-spacing-2) var(--u-spacing-3) var(--u-spacing-1);\r\n font-size: var(--u-font-xs);\r\n font-weight: var(--u-font-weight-semibold);\r\n color: var(--u-color-text-muted);\r\n text-transform: uppercase;\r\n letter-spacing: var(--u-letter-spacing-wide);\r\n}\r\n.cp-item {\r\n display: flex;\r\n align-items: center;\r\n gap: var(--u-spacing-2);\r\n width: 100%;\r\n padding: 10px var(--u-spacing-3);\r\n border: none;\r\n background: none;\r\n cursor: pointer;\r\n text-align: left;\r\n border-radius: var(--u-radius-md);\r\n font-family: inherit;\r\n box-sizing: border-box;\r\n}\r\n.cp-item:hover { background: var(--u-color-bg-hover); }\r\n.cp-item:focus-visible { box-shadow: 0 0 0 2px var(--u-color-focus); }\r\n.cp-item-active { background: var(--u-color-bg-selected); }\r\n.cp-item-label { font-size: var(--u-font-sm); color: var(--u-color-text); flex: 1; }\r\n.cp-item-desc { font-size: var(--u-font-xs); color: var(--u-color-text-muted); flex: 1; }\r\n.cp-item-shortcut {\r\n font-size: var(--u-font-xs);\r\n padding: 2px 6px;\r\n background: var(--u-color-bg-hover);\r\n border-radius: var(--u-radius-sm);\r\n color: var(--u-color-text-muted);\r\n font-family: inherit;\r\n}\r\n.cp-empty { padding: var(--u-spacing-6); text-align: center; color: var(--u-color-text-muted); font-size: var(--u-font-sm); }\r\n.cp-footer {\r\n display: flex;\r\n gap: var(--u-spacing-4);\r\n padding: var(--u-spacing-2) var(--u-spacing-4);\r\n border-top: 1px solid var(--u-color-border-lighter);\r\n font-size: var(--u-font-xs);\r\n color: var(--u-color-text-muted);\r\n}\r\n`;\r\n","export const comboboxStyles = `\r\n:host {\r\n display: inline-block;\r\n position: relative;\r\n}\r\n.combobox {\r\n position: relative;\r\n}\r\n.combobox-input-wrapper {\r\n display: flex;\r\n align-items: center;\r\n border: 1px solid var(--u-color-border-light);\r\n border-radius: var(--u-radius-md);\r\n transition: border-color var(--u-transition-base);\r\n background: var(--u-color-bg);\r\n}\r\n.combobox-input-wrapper:focus-within {\r\n border-color: var(--u-color-primary-hover);\r\n box-shadow: var(--u-shadow-focus);\r\n}\r\n.combobox-input {\r\n font-family: inherit;\r\n font-size: var(--u-font-sm);\r\n padding: var(--u-spacing-2) var(--u-spacing-3);\r\n border: none;\r\n outline: none;\r\n background: none;\r\n width: 100%;\r\n box-sizing: border-box;\r\n color: var(--u-color-text);\r\n}\r\n.combobox-toggle {\r\n background: none;\r\n border: none;\r\n padding: 0 var(--u-spacing-2);\r\n cursor: pointer;\r\n color: var(--u-color-text-muted);\r\n font-size: var(--u-font-xs);\r\n display: flex;\r\n align-items: center;\r\n}\r\n.combobox-listbox {\r\n position: fixed;\r\n z-index: var(--u-z-dropdown);\r\n background: var(--u-color-bg);\r\n border-radius: var(--u-radius-md);\r\n box-shadow: var(--u-shadow-combobox);\r\n max-height: 240px;\r\n overflow-y: auto;\r\n padding: var(--u-spacing-1);\r\n}\r\n.combobox-option {\r\n display: block;\r\n width: 100%;\r\n font-family: inherit;\r\n font-size: var(--u-font-sm);\r\n padding: var(--u-spacing-2) var(--u-spacing-3);\r\n border: none;\r\n background: none;\r\n cursor: pointer;\r\n color: var(--u-color-text-secondary);\r\n text-align: left;\r\n border-radius: var(--u-radius-sm);\r\n box-sizing: border-box;\r\n}\r\n.combobox-option:hover { background: var(--u-color-bg-hover); }\r\n.combobox-option.active { color: var(--u-color-primary-hover); font-weight: var(--u-font-weight-medium); }\r\n.combobox-option:focus-visible { box-shadow: 0 0 0 2px var(--u-color-focus); }\r\n.combobox-empty { padding: var(--u-spacing-3); text-align: center; color: var(--u-color-text-muted); font-size: var(--u-font-sm); }\r\n`;\r\n","export const toastStyles = `\r\n:host {\r\n display: block;\r\n position: fixed;\r\n z-index: var(--u-z-toast);\r\n pointer-events: none;\r\n}\r\n.toast-container {\r\n position: fixed;\r\n display: flex;\r\n flex-direction: column;\r\n gap: var(--u-spacing-2);\r\n padding: var(--u-spacing-4);\r\n pointer-events: none;\r\n z-index: var(--u-z-toast);\r\n}\r\n.toast-top-right { top: 0; right: 0; }\r\n.toast-top-left { top: 0; left: 0; }\r\n.toast-top-center { top: 0; left: 50%; transform: translateX(-50%); }\r\n.toast-bottom-right { bottom: 0; right: 0; flex-direction: column-reverse; }\r\n.toast-bottom-left { bottom: 0; left: 0; flex-direction: column-reverse; }\r\n.toast-bottom-center { bottom: 0; left: 50%; transform: translateX(-50%); flex-direction: column-reverse; }\r\n.toast {\r\n pointer-events: auto;\r\n display: flex;\r\n align-items: flex-start;\r\n gap: var(--u-spacing-3);\r\n padding: 14px var(--u-spacing-4);\r\n border-radius: var(--u-radius-lg);\r\n box-shadow: var(--u-shadow-lg);\r\n font-size: var(--u-font-sm);\r\n min-width: 280px;\r\n max-width: 400px;\r\n animation: u-slide-in-right var(--u-transition-slow) ease;\r\n background: var(--u-color-bg);\r\n border: 1px solid var(--u-color-border);\r\n}\r\n.toast-exit {\r\n animation: u-slide-out-right var(--u-transition-slow) ease forwards;\r\n}\r\n.toast-info { border-left: 4px solid var(--u-color-primary); }\r\n.toast-success { border-left: 4px solid var(--u-color-success); }\r\n.toast-warning { border-left: 4px solid var(--u-color-warning); }\r\n.toast-error { border-left: 4px solid var(--u-color-danger); }\r\n.toast-body { flex: 1; }\r\n.toast-title { font-weight: var(--u-font-weight-semibold); color: var(--u-color-text); }\r\n.toast-desc { color: var(--u-color-text-muted); margin-top: var(--u-spacing-1); font-size: var(--u-font-tiny); }\r\n.toast-action {\r\n background: none;\r\n border: none;\r\n color: var(--u-color-primary-hover);\r\n cursor: pointer;\r\n font-weight: var(--u-font-weight-medium);\r\n font-family: inherit;\r\n font-size: var(--u-font-tiny);\r\n white-space: nowrap;\r\n padding: 0;\r\n margin-top: var(--u-spacing-1);\r\n}\r\n.toast-action:focus-visible { outline: 2px solid var(--u-color-focus); outline-offset: 2px; border-radius: var(--u-radius-xs); }\r\n.toast-action:hover { color: var(--u-color-primary-hover); }\r\n.toast-close {\r\n background: none;\r\n border: none;\r\n cursor: pointer;\r\n color: var(--u-color-text-muted);\r\n font-size: 1.2rem;\r\n padding: 0;\r\n line-height: var(--u-line-height-none);\r\n flex-shrink: 0;\r\n}\r\n.toast-close:focus-visible { outline: 2px solid var(--u-color-focus); outline-offset: 2px; border-radius: var(--u-radius-xs); }\r\n.toast-close:hover { color: var(--u-color-text-secondary); }\r\n`;\r\n","export const contextMenuStyles = `\r\n:host {\r\n position: relative;\r\n display: inline-flex;\r\n}\r\n.cm-trigger {\r\n display: inline;\r\n}\r\n.cm-menu {\r\n position: fixed;\r\n z-index: var(--u-z-dropdown);\r\n background: var(--u-color-bg);\r\n border: 1px solid var(--u-color-border-light);\r\n border-radius: var(--u-radius-xl);\r\n box-shadow: var(--u-shadow-lg);\r\n padding: var(--u-spacing-1);\r\n min-width: 180px;\r\n max-height: 320px;\r\n overflow-y: auto;\r\n animation: u-cm-in 120ms ease;\r\n}\r\n@keyframes u-cm-in {\r\n from { opacity: 0; transform: scale(.95); }\r\n to { opacity: 1; transform: scale(1); }\r\n}\r\n.cm-items {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n.cm-item {\r\n font-family: inherit;\r\n font-size: var(--u-font-sm);\r\n padding: var(--u-spacing-2) var(--u-spacing-3);\r\n border: none;\r\n background: none;\r\n cursor: pointer;\r\n color: var(--u-color-text-secondary);\r\n text-align: left;\r\n border-radius: var(--u-radius-md);\r\n transition: background var(--u-transition-fast);\r\n display: flex;\r\n align-items: center;\r\n gap: var(--u-spacing-2);\r\n width: 100%;\r\n box-sizing: border-box;\r\n}\r\n.cm-item:hover { background: var(--u-color-bg-hover); }\r\n.cm-item:focus-visible { box-shadow: 0 0 0 2px var(--u-color-focus); }\r\n.cm-item:disabled { opacity: var(--u-opacity-muted); cursor: not-allowed; }\r\n.cm-item-icon { width: var(--u-spacing-4); text-align: center; font-size: var(--u-font-md); flex-shrink: 0; }\r\n.cm-item-label { flex: 1; }\r\n.cm-divider { height: 1px; background: var(--u-color-bg-hover); margin: var(--u-spacing-1) 0; }\r\n`;\r\n","export const sortableStyles = `\r\n:host {\r\n display: block;\r\n}\r\n.sortable {\r\n display: flex;\r\n flex-direction: column;\r\n gap: var(--u-spacing-1);\r\n}\r\n.sortable-dragging {\r\n opacity: 0.9;\r\n box-shadow: var(--u-shadow-lg);\r\n border-radius: var(--u-radius-md);\r\n cursor: grabbing;\r\n}\r\n.sortable-item:focus-visible { outline: 2px solid var(--u-color-focus); outline-offset: 2px; }\r\n.sortable-placeholder {\r\n border: 2px dashed var(--u-color-border-light);\r\n border-radius: var(--u-radius-md);\r\n opacity: var(--u-opacity-disabled);\r\n box-sizing: border-box;\r\n transition: height var(--u-transition-base) ease, margin var(--u-transition-base) ease;\r\n}\r\n`;\r\n","export const formStyles = `\r\n:host {\r\n display: block;\r\n}\r\n.form {\r\n display: flex;\r\n flex-direction: column;\r\n gap: var(--u-spacing-4);\r\n}\r\n`;\r\n","export const badgeStyles = `\r\n:host {\r\n display: inline-flex;\r\n vertical-align: middle;\r\n}\r\n[part=\"badge\"] {\r\n font-family: inherit;\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n font-weight: var(--u-font-weight-medium);\r\n line-height: var(--u-line-height-none);\r\n white-space: nowrap;\r\n user-select: none;\r\n transition: background var(--u-transition-base), color var(--u-transition-base);\r\n}\r\n.badge-pill {\r\n border-radius: var(--u-radius-full);\r\n}\r\n.badge-square {\r\n border-radius: var(--u-radius-sm);\r\n}\r\n.badge-sm {\r\n font-size: var(--u-font-2xs);\r\n padding: 2px 6px;\r\n min-height: var(--u-spacing-4);\r\n min-width: var(--u-spacing-4);\r\n}\r\n.badge-md {\r\n font-size: var(--u-font-xs);\r\n padding: 3px var(--u-spacing-2);\r\n min-height: var(--u-spacing-5);\r\n min-width: var(--u-spacing-5);\r\n}\r\n.badge-lg {\r\n font-size: var(--u-font-xs);\r\n padding: var(--u-spacing-1) 10px;\r\n min-height: var(--u-spacing-6);\r\n min-width: var(--u-spacing-6);\r\n}\r\n.badge-default {\r\n background: var(--u-color-bg-hover);\r\n color: var(--u-color-text-secondary);\r\n}\r\n.badge-primary {\r\n background: var(--u-color-bg-selected);\r\n color: var(--u-color-primary-hover);\r\n}\r\n.badge-success {\r\n background: var(--u-color-success-bg);\r\n color: var(--u-color-success-text);\r\n}\r\n.badge-warning {\r\n background: var(--u-color-warning-bg);\r\n color: var(--u-color-warning-text);\r\n}\r\n.badge-danger {\r\n background: var(--u-color-danger-bg);\r\n color: var(--u-color-danger-text);\r\n}\r\n.badge-info {\r\n background: var(--u-color-info-bg);\r\n color: var(--u-color-info-text);\r\n}\r\n.badge-dot {\r\n width: var(--u-spacing-2);\r\n height: var(--u-spacing-2);\r\n padding: 0;\r\n border-radius: var(--u-radius-round);\r\n min-width: var(--u-spacing-2);\r\n min-height: var(--u-spacing-2);\r\n}\r\n.badge-dot.badge-sm {\r\n width: 6px;\r\n height: 6px;\r\n min-width: 6px;\r\n min-height: 6px;\r\n}\r\n.badge-dot.badge-lg {\r\n width: 10px;\r\n height: 10px;\r\n min-width: 10px;\r\n min-height: 10px;\r\n}\r\n`;\r\n","export const cardStyles = `\r\n:host {\r\n display: block;\r\n}\r\n[part=\"card\"] {\r\n display: flex;\r\n flex-direction: column;\r\n font-family: inherit;\r\n transition: box-shadow var(--u-transition-slow), border-color var(--u-transition-slow), transform var(--u-transition-slow);\r\n position: relative;\r\n overflow: hidden;\r\n}\r\n.card-default {\r\n background: var(--u-color-bg);\r\n border: 1px solid var(--u-color-border-light);\r\n border-radius: var(--u-radius-2xl);\r\n box-shadow: var(--u-shadow-sm);\r\n}\r\n.card-outlined {\r\n background: transparent;\r\n border: 1px solid var(--u-color-border-light);\r\n border-radius: var(--u-radius-2xl);\r\n}\r\n.card-elevated {\r\n background: var(--u-color-bg);\r\n border: 1px solid transparent;\r\n border-radius: var(--u-radius-2xl);\r\n box-shadow: var(--u-shadow-md);\r\n}\r\n.card-hoverable:hover {\r\n box-shadow: var(--u-shadow-lg);\r\n border-color: var(--u-color-border);\r\n transform: translateY(-2px);\r\n}\r\n.card-image {\r\n width: 100%;\r\n overflow: hidden;\r\n line-height: 0;\r\n}\r\n.card-image img,\r\n.card-image ::slotted(img) {\r\n width: 100%;\r\n height: auto;\r\n display: block;\r\n object-fit: cover;\r\n}\r\n.card-image-full {\r\n border-radius: 0;\r\n}\r\n.card-image-top {\r\n border-radius: var(--u-radius-2xl) var(--u-radius-2xl) 0 0;\r\n}\r\n.card-image-bottom {\r\n border-radius: 0 0 var(--u-radius-2xl) var(--u-radius-2xl);\r\n}\r\n[part=\"header\"] {\r\n padding: var(--u-spacing-4) var(--u-spacing-5) 0;\r\n font-weight: var(--u-font-weight-semibold);\r\n font-size: var(--u-font-md);\r\n color: var(--u-color-text);\r\n}\r\n[part=\"content\"] {\r\n padding: var(--u-spacing-4) var(--u-spacing-5);\r\n flex: 1;\r\n min-width: 0;\r\n color: var(--u-color-text-secondary);\r\n font-size: var(--u-font-sm);\r\n line-height: var(--u-line-height-lg);\r\n}\r\n[part=\"footer\"] {\r\n padding: 0 var(--u-spacing-5) var(--u-spacing-4);\r\n display: flex;\r\n align-items: center;\r\n gap: var(--u-spacing-2);\r\n}\r\n.card-padding-none [part=\"header\"] { padding: 0; }\r\n.card-padding-none [part=\"content\"] { padding: 0; }\r\n.card-padding-none [part=\"footer\"] { padding: 0; }\r\n.card-padding-sm [part=\"header\"] { padding: var(--u-spacing-3) 14px 0; }\r\n.card-padding-sm [part=\"content\"] { padding: var(--u-spacing-3) 14px; }\r\n.card-padding-sm [part=\"footer\"] { padding: 0 14px var(--u-spacing-3); }\r\n.card-padding-lg [part=\"header\"] { padding: var(--u-spacing-5) var(--u-spacing-6) 0; }\r\n.card-padding-lg [part=\"content\"] { padding: var(--u-spacing-5) var(--u-spacing-6); }\r\n.card-padding-lg [part=\"footer\"] { padding: 0 var(--u-spacing-6) var(--u-spacing-5); }\r\n`;\r\n"]}
@@ -1,12 +1,4 @@
1
- export { A as AccordionItemProps, a as AccordionProps, b as AnimatePreset, c as AnimateProps, B as BadgeProps, d as BadgeSize, e as BadgeVariant, f as BoxAs, g as BoxProps, h as BreadcrumbItem, i as BreadcrumbProps, j as ButtonProps, C as CalendarProps, k as CardPadding, l as CardProps, m as CardVariant, n as CheckboxProps, o as CollectionProps, p as CollectionSelection, q as ComboboxOption, r as ComboboxProps, s as CommandItem, t as CommandPaletteProps, u as ContainerProps, v as ContextMenuItem, w as ContextMenuProps, D as DataTableColumn, x as DataTableProps, y as DialogRootProps, z as DismissableLayerProps, E as DrawerProps, F as DrawerSide, G as DropdownItem, H as DropdownProps, I as FieldProps, J as FocusManagerProps, K as FocusScopeProps, L as FocusTrapProps, M as FormProps, N as GridProps, O as HoverableProps, P as InputProps, Q as KeyboardNavigationProps, R as LabelProps, S as LinkProps, T as ListProps, U as LiveRegionPoliteness, V as LiveRegionProps, W as ModalProps, X as OverlayProps, Y as PopoverProps, Z as PopperPlacement, _ as PopperProps, $ as PortalProps, a0 as PresenceAnimation, a1 as PresenceProps, a2 as PressableProps, a3 as RadioGroupProps, a4 as RadioProps, a5 as RouterViewProps, a6 as SelectOption, a7 as SelectProps, a8 as SortableProps, a9 as SpacerProps, aa as StackProps, ab as SwitchProps, ac as TableColumn, ad as TableProps, ae as TabsProps, af as TextColor, ag as TextProps, ah as TextSize, ai as TextWeight, aj as TextareaProps, ak as ToastOptions, al as ToastProps, am as TooltipRootProps, an as TransitionProps, ao as TransitionType, ap as TreeNodeData, aq as TreeProps, ar as UAccordion, as as UAccordionItem, at as UAnimate, au as UBadge, av as UBox, aw as UBreadcrumb, ax as UButton, ay as UCalendar, az as UCard, aA as UCheckbox, aB as UCollection, aC as UCombobox, aD as UCommandPalette, aE as UContainer, aF as UContextMenu, aG as UDataTable, aH as UDialogRoot, aI as UDismissableLayer, aJ as UDrawer, aK as UDropdown, aL as UField, aM as UFocusManager, aN as UFocusScope, aO as UFocusTrap, aP as UForm, aQ as UGrid, aR as UHStack, aS as UHoverable, aT as UInput, aU as UKeyboardNavigation, aV as ULabel, aW as ULink, aX as UList, aY as ULiveRegion, aZ as UModal, a_ as UOverlay, a$ as UPopover, b0 as UPopper, b1 as UPortal, b2 as UPresence, b3 as UPressable, b4 as URadio, b5 as URadioGroup, b6 as URouterView, b7 as USelect, b8 as USortable, b9 as USpacer, ba as UStack, bb as USwitch, bc as UTable, bd as UTabs, be as UText, bf as UTextarea, bg as UToast, bh as UTooltipRoot, bi as UTransition, bj as UTree, bk as UVirtualList, bl as UVisuallyHidden, bm as VirtualListProps, bn as VisuallyHiddenProps, bo as createControlledInput, bp as setPortalRoot } from '../card.wc-83Ws3o27.js';
2
- export { S as SlotProps, U as USlot } from '../slot.wc-BvIJg5UJ.js';
1
+ export { a2 as AccordionItemProps, A as AccordionProps, a3 as AnimatePreset, a as AnimateProps, B as BadgeProps, a4 as BadgeSize, a5 as BadgeVariant, a6 as BoxAs, b as BoxProps, a7 as BreadcrumbItem, c as BreadcrumbProps, d as ButtonProps, C as CalendarProps, a8 as CardPadding, e as CardProps, a9 as CardVariant, f as CheckboxProps, g as CollectionProps, aa as CollectionSelection, ab as ComboboxOption, h as ComboboxProps, ac as CommandItem, i as CommandPaletteProps, j as ContainerProps, ad as ContextMenuItem, k as ContextMenuProps, ae as DataTableColumn, D as DataTableProps, l as DialogRootProps, m as DismissableLayerProps, n as DrawerProps, af as DrawerSide, ag as DropdownItem, o as DropdownProps, F as FieldProps, p as FocusManagerProps, q as FocusScopeProps, r as FocusTrapProps, s as FormProps, G as GridProps, H as HoverableProps, I as InputProps, K as KeyboardNavigationProps, L as LabelProps, t as LinkProps, u as ListProps, ah as LiveRegionPoliteness, v as LiveRegionProps, M as ModalProps, O as OverlayProps, P as PopoverProps, ai as PopperPlacement, w as PopperProps, x as PortalProps, aj as PresenceAnimation, y as PresenceProps, z as PressableProps, R as RadioGroupProps, ak as RadioProps, E as RouterViewProps, al as SelectOption, J as SelectProps, N as SortableProps, Q as SpacerProps, S as StackProps, T as SwitchProps, am as TableColumn, U as TableProps, V as TabsProps, an as TextColor, W as TextProps, ao as TextSize, ap as TextWeight, X as TextareaProps, aq as ToastOptions, Y as ToastProps, Z as TooltipRootProps, _ as TransitionProps, ar as TransitionType, as as TreeNodeData, $ as TreeProps, at as UAccordion, au as UAccordionItem, av as UAnimate, aw as UBadge, ax as UBox, ay as UBreadcrumb, az as UButton, aA as UCalendar, aB as UCard, aC as UCheckbox, aD as UCollection, aE as UCombobox, aF as UCommandPalette, aG as UContainer, aH as UContextMenu, aI as UDataTable, aJ as UDialogRoot, aK as UDismissableLayer, aL as UDrawer, aM as UDropdown, aN as UField, aO as UFocusManager, aP as UFocusScope, aQ as UFocusTrap, aR as UForm, aS as UGrid, aT as UHStack, aU as UHoverable, aV as UInput, aW as UKeyboardNavigation, aX as ULabel, aY as ULink, aZ as UList, a_ as ULiveRegion, a$ as UModal, b0 as UOverlay, b1 as UPopover, b2 as UPopper, b3 as UPortal, b4 as UPresence, b5 as UPressable, b6 as URadio, b7 as URadioGroup, b8 as URouterView, b9 as USelect, ba as USortable, bb as USpacer, bc as UStack, bd as USwitch, be as UTable, bf as UTabs, bg as UText, bh as UTextarea, bi as UToast, bj as UTooltipRoot, bk as UTransition, bl as UTree, bm as UVirtualList, bn as UVisuallyHidden, a0 as VirtualListProps, a1 as VisuallyHiddenProps, bo as createControlledInput, bp as setPortalRoot } from '../card.wc-CLzyZAbJ.js';
2
+ export { S as SlotProps, T as Theme, U as USlot, g as getTheme, r as restoreTheme, s as setTheme } from '../index-DaqSE01_.js';
3
3
  import '../element-DHtonJNX.js';
4
4
  import '../types-DWglFa91.js';
5
-
6
- type Theme = 'light' | 'dark' | 'system';
7
- declare function setTheme(theme: Theme): void;
8
- declare function getTheme(): Theme;
9
- /** Restore a persisted theme preference (call once on app boot). */
10
- declare function restoreTheme(): void;
11
-
12
- export { type Theme, getTheme, restoreTheme, setTheme };
@@ -1,6 +1,6 @@
1
1
  import '../chunk-YRHQNIPK.js';
2
- export { UAccordion, UAccordionItem, UAnimate, UBadge, UBox, UBreadcrumb, UButton, UCalendar, UCard, UCheckbox, UCollection, UCombobox, UCommandPalette, UContainer, UContextMenu, UDataTable, UDialogRoot, UDismissableLayer, UDrawer, UDropdown, UField, UFocusManager, UFocusScope, UFocusTrap, UForm, UGrid, UHStack, UHoverable, UInput, UKeyboardNavigation, ULabel, ULink, UList, ULiveRegion, UModal, UOverlay, UPopover, UPopper, UPortal, UPresence, UPressable, URadio, URadioGroup, URouterView, USelect, USlot, USortable, USpacer, UStack, USwitch, UTable, UTabs, UText, UTextarea, UToast, UTooltipRoot, UTransition, UTree, UVirtualList, UVisuallyHidden, createControlledInput, setPortalRoot } from '../chunk-2JEFDU25.js';
3
- export { getTheme, restoreTheme, setTheme } from '../chunk-AOFVLHAJ.js';
2
+ export { UAccordion, UAccordionItem, UAnimate, UBadge, UBox, UBreadcrumb, UButton, UCalendar, UCard, UCheckbox, UCollection, UCombobox, UCommandPalette, UContainer, UContextMenu, UDataTable, UDialogRoot, UDismissableLayer, UDrawer, UDropdown, UField, UFocusManager, UFocusScope, UFocusTrap, UForm, UGrid, UHStack, UHoverable, UInput, UKeyboardNavigation, ULabel, ULink, UList, ULiveRegion, UModal, UOverlay, UPopover, UPopper, UPortal, UPresence, UPressable, URadio, URadioGroup, URouterView, USelect, USlot, USortable, USpacer, UStack, USwitch, UTable, UTabs, UText, UTextarea, UToast, UTooltipRoot, UTransition, UTree, UVirtualList, UVisuallyHidden, createControlledInput, setPortalRoot } from '../chunk-EDV6KYRZ.js';
3
+ export { getTheme, restoreTheme, setTheme } from '../chunk-XN2J666Y.js';
4
4
  import '../chunk-Q5RCPPCF.js';
5
5
  //# sourceMappingURL=index.js.map
6
6
  //# sourceMappingURL=index.js.map
package/dist/define.js CHANGED
@@ -1,7 +1,7 @@
1
- import { defineComponents } from './chunk-GJ6NMUKU.js';
2
- import './chunk-2JEFDU25.js';
3
- import './chunk-6SD5UBY6.js';
4
- import './chunk-AOFVLHAJ.js';
1
+ import { defineComponents } from './chunk-2FE7DEDS.js';
2
+ import './chunk-EDV6KYRZ.js';
3
+ import './chunk-C4GTD5ZH.js';
4
+ import './chunk-XN2J666Y.js';
5
5
  import './chunk-Q5RCPPCF.js';
6
6
 
7
7
  // src/define.ts
@@ -1,6 +1,6 @@
1
1
  import '../chunk-RAWESWNC.js';
2
- export { UIcon, iconRegistry } from '../chunk-6SD5UBY6.js';
3
- import '../chunk-AOFVLHAJ.js';
2
+ export { UIcon, iconRegistry } from '../chunk-C4GTD5ZH.js';
3
+ import '../chunk-XN2J666Y.js';
4
4
  import '../chunk-Q5RCPPCF.js';
5
5
  //# sourceMappingURL=index.js.map
6
6
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,19 @@
1
+ import './card.wc-CLzyZAbJ.js';
2
+ import { U as UElement } from './element-DHtonJNX.js';
3
+
4
+ interface SlotProps {
5
+ class?: string;
6
+ }
7
+ declare class USlot extends UElement {
8
+ constructor();
9
+ _mount(): void;
10
+ }
11
+
12
+ declare function adoptStyleSheet(sheet: CSSStyleSheet): void;
13
+ type Theme = 'light' | 'dark' | 'system';
14
+ declare function setTheme(theme: Theme): void;
15
+ declare function getTheme(): Theme;
16
+ /** Restore a persisted theme preference (call once on app boot). */
17
+ declare function restoreTheme(): void;
18
+
19
+ export { type SlotProps as S, type Theme as T, USlot as U, adoptStyleSheet as a, getTheme as g, restoreTheme as r, setTheme as s };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { R as ReadonlySignal, S as Signal, W as WritableSignal, a as Store, P as Plugin } from './types-DWglFa91.js';
2
2
  export { b as PluginAPI } from './types-DWglFa91.js';
3
- export { A as AccordionItemProps, a as AccordionProps, b as AnimatePreset, c as AnimateProps, B as BadgeProps, d as BadgeSize, e as BadgeVariant, f as BoxAs, g as BoxProps, h as BreadcrumbItem, i as BreadcrumbProps, j as ButtonProps, C as CalendarProps, k as CardPadding, l as CardProps, m as CardVariant, n as CheckboxProps, o as CollectionProps, p as CollectionSelection, q as ComboboxOption, r as ComboboxProps, s as CommandItem, t as CommandPaletteProps, u as ContainerProps, v as ContextMenuItem, w as ContextMenuProps, D as DataTableColumn, x as DataTableProps, y as DialogRootProps, z as DismissableLayerProps, E as DrawerProps, F as DrawerSide, G as DropdownItem, H as DropdownProps, I as FieldProps, J as FocusManagerProps, K as FocusScopeProps, L as FocusTrapProps, M as FormProps, N as GridProps, O as HoverableProps, P as InputProps, Q as KeyboardNavigationProps, R as LabelProps, S as LinkProps, T as ListProps, U as LiveRegionPoliteness, V as LiveRegionProps, W as ModalProps, X as OverlayProps, Y as PopoverProps, Z as PopperPlacement, _ as PopperProps, $ as PortalProps, a0 as PresenceAnimation, a1 as PresenceProps, a2 as PressableProps, a3 as RadioGroupProps, a4 as RadioProps, a5 as RouterViewProps, a6 as SelectOption, a7 as SelectProps, a8 as SortableProps, a9 as SpacerProps, aa as StackProps, ab as SwitchProps, ac as TableColumn, ad as TableProps, ae as TabsProps, af as TextColor, ag as TextProps, ah as TextSize, ai as TextWeight, aj as TextareaProps, ak as ToastOptions, al as ToastProps, am as TooltipRootProps, an as TransitionProps, ao as TransitionType, ap as TreeNodeData, aq as TreeProps, ar as UAccordion, as as UAccordionItem, at as UAnimate, au as UBadge, av as UBox, aw as UBreadcrumb, ax as UButton, ay as UCalendar, az as UCard, aA as UCheckbox, aB as UCollection, aC as UCombobox, aD as UCommandPalette, aE as UContainer, aF as UContextMenu, aG as UDataTable, aH as UDialogRoot, aI as UDismissableLayer, aJ as UDrawer, aK as UDropdown, aL as UField, aM as UFocusManager, aN as UFocusScope, aO as UFocusTrap, aP as UForm, aQ as UGrid, aR as UHStack, aS as UHoverable, aT as UInput, aU as UKeyboardNavigation, aV as ULabel, aW as ULink, aX as UList, aY as ULiveRegion, aZ as UModal, a_ as UOverlay, a$ as UPopover, b0 as UPopper, b1 as UPortal, b2 as UPresence, b3 as UPressable, b4 as URadio, b5 as URadioGroup, b6 as URouterView, b7 as USelect, b8 as USortable, b9 as USpacer, ba as UStack, bb as USwitch, bc as UTable, bd as UTabs, be as UText, bf as UTextarea, bg as UToast, bh as UTooltipRoot, bi as UTransition, bj as UTree, bk as UVirtualList, bl as UVisuallyHidden, bm as VirtualListProps, bn as VisuallyHiddenProps, bo as createControlledInput, bp as setPortalRoot } from './card.wc-83Ws3o27.js';
4
- export { S as SlotProps, U as USlot } from './slot.wc-BvIJg5UJ.js';
3
+ export { S as SlotProps, U as USlot, a as adoptStyleSheet } from './index-DaqSE01_.js';
4
+ export { a2 as AccordionItemProps, A as AccordionProps, a3 as AnimatePreset, a as AnimateProps, B as BadgeProps, a4 as BadgeSize, a5 as BadgeVariant, a6 as BoxAs, b as BoxProps, a7 as BreadcrumbItem, c as BreadcrumbProps, d as ButtonProps, C as CalendarProps, a8 as CardPadding, e as CardProps, a9 as CardVariant, f as CheckboxProps, g as CollectionProps, aa as CollectionSelection, ab as ComboboxOption, h as ComboboxProps, ac as CommandItem, i as CommandPaletteProps, j as ContainerProps, ad as ContextMenuItem, k as ContextMenuProps, ae as DataTableColumn, D as DataTableProps, l as DialogRootProps, m as DismissableLayerProps, n as DrawerProps, af as DrawerSide, ag as DropdownItem, o as DropdownProps, F as FieldProps, p as FocusManagerProps, q as FocusScopeProps, r as FocusTrapProps, s as FormProps, G as GridProps, H as HoverableProps, I as InputProps, K as KeyboardNavigationProps, L as LabelProps, t as LinkProps, u as ListProps, ah as LiveRegionPoliteness, v as LiveRegionProps, M as ModalProps, O as OverlayProps, P as PopoverProps, ai as PopperPlacement, w as PopperProps, x as PortalProps, aj as PresenceAnimation, y as PresenceProps, z as PressableProps, R as RadioGroupProps, ak as RadioProps, E as RouterViewProps, al as SelectOption, J as SelectProps, N as SortableProps, Q as SpacerProps, S as StackProps, T as SwitchProps, am as TableColumn, U as TableProps, V as TabsProps, an as TextColor, W as TextProps, ao as TextSize, ap as TextWeight, X as TextareaProps, aq as ToastOptions, Y as ToastProps, Z as TooltipRootProps, _ as TransitionProps, ar as TransitionType, as as TreeNodeData, $ as TreeProps, at as UAccordion, au as UAccordionItem, av as UAnimate, aw as UBadge, ax as UBox, ay as UBreadcrumb, az as UButton, aA as UCalendar, aB as UCard, aC as UCheckbox, aD as UCollection, aE as UCombobox, aF as UCommandPalette, aG as UContainer, aH as UContextMenu, aI as UDataTable, aJ as UDialogRoot, aK as UDismissableLayer, aL as UDrawer, aM as UDropdown, aN as UField, aO as UFocusManager, aP as UFocusScope, aQ as UFocusTrap, aR as UForm, aS as UGrid, aT as UHStack, aU as UHoverable, aV as UInput, aW as UKeyboardNavigation, aX as ULabel, aY as ULink, aZ as UList, a_ as ULiveRegion, a$ as UModal, b0 as UOverlay, b1 as UPopover, b2 as UPopper, b3 as UPortal, b4 as UPresence, b5 as UPressable, b6 as URadio, b7 as URadioGroup, b8 as URouterView, b9 as USelect, ba as USortable, bb as USpacer, bc as UStack, bd as USwitch, be as UTable, bf as UTabs, bg as UText, bh as UTextarea, bi as UToast, bj as UTooltipRoot, bk as UTransition, bl as UTree, bm as UVirtualList, bn as UVisuallyHidden, a0 as VirtualListProps, a1 as VisuallyHiddenProps, bo as createControlledInput, bp as setPortalRoot } from './card.wc-CLzyZAbJ.js';
5
5
  export { IconData, UIcon, UIconProps, iconRegistry } from './icons/index.js';
6
6
  import './element-DHtonJNX.js';
7
7
 
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
- export { defineComponents } from './chunk-GJ6NMUKU.js';
1
+ export { defineComponents } from './chunk-2FE7DEDS.js';
2
2
  import './chunk-YRHQNIPK.js';
3
- export { UAccordion, UAccordionItem, UAnimate, UBadge, UBox, UBreadcrumb, UButton, UCalendar, UCard, UCheckbox, UCollection, UCombobox, UCommandPalette, UContainer, UContextMenu, UDataTable, UDialogRoot, UDismissableLayer, UDrawer, UDropdown, UField, UFocusManager, UFocusScope, UFocusTrap, UForm, UGrid, UHStack, UHoverable, UInput, UKeyboardNavigation, ULabel, ULink, UList, ULiveRegion, UModal, UOverlay, UPopover, UPopper, UPortal, UPresence, UPressable, URadio, URadioGroup, URouterView, USelect, USlot, USortable, USpacer, UStack, USwitch, UTable, UTabs, UText, UTextarea, UToast, UTooltipRoot, UTransition, UTree, UVirtualList, UVisuallyHidden, createControlledInput, setPortalRoot } from './chunk-2JEFDU25.js';
3
+ export { UAccordion, UAccordionItem, UAnimate, UBadge, UBox, UBreadcrumb, UButton, UCalendar, UCard, UCheckbox, UCollection, UCombobox, UCommandPalette, UContainer, UContextMenu, UDataTable, UDialogRoot, UDismissableLayer, UDrawer, UDropdown, UField, UFocusManager, UFocusScope, UFocusTrap, UForm, UGrid, UHStack, UHoverable, UInput, UKeyboardNavigation, ULabel, ULink, UList, ULiveRegion, UModal, UOverlay, UPopover, UPopper, UPortal, UPresence, UPressable, URadio, URadioGroup, URouterView, USelect, USlot, USortable, USpacer, UStack, USwitch, UTable, UTabs, UText, UTextarea, UToast, UTooltipRoot, UTransition, UTree, UVirtualList, UVisuallyHidden, createControlledInput, setPortalRoot } from './chunk-EDV6KYRZ.js';
4
4
  import './chunk-RAWESWNC.js';
5
- export { UIcon, iconRegistry } from './chunk-6SD5UBY6.js';
6
- import './chunk-AOFVLHAJ.js';
5
+ export { UIcon, iconRegistry } from './chunk-C4GTD5ZH.js';
6
+ export { adoptStyleSheet } from './chunk-XN2J666Y.js';
7
7
  export { getPlugin, hasPlugin, registerPlugin, runPluginHook, unregisterPlugin } from './chunk-U4WYCYL6.js';
8
8
  import { signal, batch, destroySignal } from './chunk-Q5RCPPCF.js';
9
9
  export { batch, computed, effect, hydrateSignals, isBatching, isSignal, scheduleMicrotask, signal, untrack } from './chunk-Q5RCPPCF.js';
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { a as AccordionProps, c as AnimateProps, B as BadgeProps, g as BoxProps, i as BreadcrumbProps, j as ButtonProps, C as CalendarProps, l as CardProps, n as CheckboxProps, o as CollectionProps, r as ComboboxProps, t as CommandPaletteProps, u as ContainerProps, w as ContextMenuProps, x as DataTableProps, y as DialogRootProps, z as DismissableLayerProps, E as DrawerProps, H as DropdownProps, I as FieldProps, J as FocusManagerProps, K as FocusScopeProps, L as FocusTrapProps, M as FormProps, N as GridProps, aa as StackProps, O as HoverableProps, P as InputProps, Q as KeyboardNavigationProps, R as LabelProps, S as LinkProps, T as ListProps, V as LiveRegionProps, W as ModalProps, X as OverlayProps, Y as PopoverProps, _ as PopperProps, $ as PortalProps, a1 as PresenceProps, a2 as PressableProps, a3 as RadioGroupProps, a5 as RouterViewProps, a7 as SelectProps, a8 as SortableProps, a9 as SpacerProps, ab as SwitchProps, ad as TableProps, ae as TabsProps, ag as TextProps, aj as TextareaProps, al as ToastProps, am as TooltipRootProps, an as TransitionProps, aq as TreeProps, bm as VirtualListProps, bn as VisuallyHiddenProps } from '../card.wc-83Ws3o27.js';
2
+ import { A as AccordionProps, a as AnimateProps, B as BadgeProps, b as BoxProps, c as BreadcrumbProps, d as ButtonProps, C as CalendarProps, e as CardProps, f as CheckboxProps, g as CollectionProps, h as ComboboxProps, i as CommandPaletteProps, j as ContainerProps, k as ContextMenuProps, D as DataTableProps, l as DialogRootProps, m as DismissableLayerProps, n as DrawerProps, o as DropdownProps, F as FieldProps, p as FocusManagerProps, q as FocusScopeProps, r as FocusTrapProps, s as FormProps, G as GridProps, S as StackProps, H as HoverableProps, I as InputProps, K as KeyboardNavigationProps, L as LabelProps, t as LinkProps, u as ListProps, v as LiveRegionProps, M as ModalProps, O as OverlayProps, P as PopoverProps, w as PopperProps, x as PortalProps, y as PresenceProps, z as PressableProps, R as RadioGroupProps, E as RouterViewProps, J as SelectProps, N as SortableProps, Q as SpacerProps, T as SwitchProps, U as TableProps, V as TabsProps, W as TextProps, X as TextareaProps, Y as ToastProps, Z as TooltipRootProps, _ as TransitionProps, $ as TreeProps, a0 as VirtualListProps, a1 as VisuallyHiddenProps } from '../card.wc-CLzyZAbJ.js';
3
3
  import '../element-DHtonJNX.js';
4
4
  import '../types-DWglFa91.js';
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avento-space/ts-ui",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "Framework-agnostic Web Components UI library with signals. Drop-in UI for React, Vue, Angular — zero adapters needed.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -27,6 +27,10 @@
27
27
  "import": "./dist/plugins/index.js",
28
28
  "types": "./dist/plugins/index.d.ts"
29
29
  },
30
+ "./tailwind-theme.css": {
31
+ "import": "./tailwind-theme.css",
32
+ "default": "./tailwind-theme.css"
33
+ },
30
34
  "./jsx-runtime": {
31
35
  "import": "./dist/jsx-runtime.js",
32
36
  "types": "./dist/jsx-runtime.d.ts"
@@ -42,6 +46,7 @@
42
46
  },
43
47
  "files": [
44
48
  "dist",
49
+ "tailwind-theme.css",
45
50
  "README.md",
46
51
  "LICENSE"
47
52
  ],