@avento-space/ts-ui 1.2.3 → 1.2.5
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.
- package/README.md +180 -187
- package/dist/{card.wc-CLzyZAbJ.d.ts → card.wc-83Ws3o27.d.ts} +1 -1
- package/dist/{chunk-PIXJHFME.js → chunk-47AXL5HN.js} +79 -17
- package/dist/chunk-47AXL5HN.js.map +1 -0
- package/dist/{chunk-2UKGVIH2.js → chunk-6Y6GA2QS.js} +538 -371
- package/dist/chunk-6Y6GA2QS.js.map +1 -0
- package/dist/{chunk-NUMML2ZR.js → chunk-FPZL7HOP.js} +4 -4
- package/dist/{chunk-NUMML2ZR.js.map → chunk-FPZL7HOP.js.map} +1 -1
- package/dist/{chunk-NJHLJNRI.js → chunk-Q4KFLERV.js} +3 -3
- package/dist/chunk-Q4KFLERV.js.map +1 -0
- package/dist/chunk-YRHQNIPK.js +3 -0
- package/dist/{chunk-T7QLIHHU.js.map → chunk-YRHQNIPK.js.map} +1 -1
- package/dist/components/index.d.ts +9 -10
- package/dist/components/index.js +3 -3
- package/dist/define.js +4 -4
- package/dist/icons/index.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/react/index.d.ts +1 -1
- package/dist/slot.wc-BvIJg5UJ.d.ts +11 -0
- package/package.json +12 -1
- package/tailwind-plugin.cjs +236 -0
- package/dist/chunk-2UKGVIH2.js.map +0 -1
- package/dist/chunk-NJHLJNRI.js.map +0 -1
- package/dist/chunk-PIXJHFME.js.map +0 -1
- package/dist/chunk-T7QLIHHU.js +0 -3
|
@@ -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":[],"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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AA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACApB,IAAM,UAAA,GAAa;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","file":"chunk-6Y6GA2QS.js","sourcesContent":["const sheet = new CSSStyleSheet();\r\n\r\n// ── Shared light / dark values for all --u-color-* 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\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 } 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 try {\r\n this._root.adoptedStyleSheets = [globalStyles];\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,5 +1,5 @@
|
|
|
1
|
-
import { UButton, UInput, UBox, UList, UVirtualList, UPortal, UText, UStack, UHStack, UGrid, USlot, UPressable, UFocusScope, UDismissableLayer, UOverlay, UField, UCheckbox, USelect, ULink, USpacer, UContainer, UHoverable, UFocusTrap, UPopper, UDialogRoot, UTooltipRoot, UTextarea, URadioGroup, URadio, USwitch, ULabel, UCollection, UTree, UTable, URouterView, UBreadcrumb, UTabs, UVisuallyHidden, ULiveRegion, UFocusManager, UKeyboardNavigation, UPresence, UTransition, UAnimate, UModal, UDrawer, UPopover, UDropdown, UAccordion, UAccordionItem, UCombobox, UCalendar, UDataTable, UCommandPalette, UToast, UContextMenu, USortable, UForm, UBadge, UCard } from './chunk-
|
|
2
|
-
import { UIcon } from './chunk-
|
|
1
|
+
import { UButton, UInput, UBox, UList, UVirtualList, UPortal, UText, UStack, UHStack, UGrid, USlot, UPressable, UFocusScope, UDismissableLayer, UOverlay, UField, UCheckbox, USelect, ULink, USpacer, UContainer, UHoverable, UFocusTrap, UPopper, UDialogRoot, UTooltipRoot, UTextarea, URadioGroup, URadio, USwitch, ULabel, UCollection, UTree, UTable, URouterView, UBreadcrumb, UTabs, UVisuallyHidden, ULiveRegion, UFocusManager, UKeyboardNavigation, UPresence, UTransition, UAnimate, UModal, UDrawer, UPopover, UDropdown, UAccordion, UAccordionItem, UCombobox, UCalendar, UDataTable, UCommandPalette, UToast, UContextMenu, USortable, UForm, UBadge, UCard } from './chunk-47AXL5HN.js';
|
|
2
|
+
import { UIcon } from './chunk-Q4KFLERV.js';
|
|
3
3
|
|
|
4
4
|
// src/core/define.ts
|
|
5
5
|
var DEFINED = /* @__PURE__ */ new Set();
|
|
@@ -77,5 +77,5 @@ function defineComponents(options = {}) {
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
export { defineComponents };
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
81
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-FPZL7HOP.js.map
|
|
81
|
+
//# sourceMappingURL=chunk-FPZL7HOP.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/core/define.ts"],"names":[],"mappings":";;;;AA0DA,IAAM,OAAA,uBAAc,GAAA,EAAY;AAMzB,SAAS,gBAAA,CAAiB,OAAA,GAAyB,EAAC,EAAS;AAClE,EAAA,MAAM,MAAA,GAAS,QAAQ,MAAA,IAAU,GAAA;AAEjC,EAAA,MAAM,UAAA,GAAmD;AAAA,IACvD,CAAC,CAAA,EAAG,MAAM,CAAA,OAAA,CAAA,EAAW,OAAO,CAAA;AAAA,IAC5B,CAAC,CAAA,EAAG,MAAM,CAAA,MAAA,CAAA,EAAU,MAAM,CAAA;AAAA,IAC1B,CAAC,CAAA,EAAG,MAAM,CAAA,IAAA,CAAA,EAAQ,IAAI,CAAA;AAAA,IACtB,CAAC,CAAA,EAAG,MAAM,CAAA,KAAA,CAAA,EAAS,KAAK,CAAA;AAAA,IACxB,CAAC,CAAA,EAAG,MAAM,CAAA,aAAA,CAAA,EAAiB,YAAY,CAAA;AAAA,IACvC,CAAC,CAAA,EAAG,MAAM,CAAA,OAAA,C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,CAAC,CAAA,EAAG,MAAM,CAAA,SAAA,CAAA,EAAa,SAAS,CAAA;AAAA,IAChC,CAAC,CAAA,EAAG,MAAM,CAAA,KAAA,CAAA,EAAS,KAAK,CAAA;AAAA,IACxB,CAAC,CAAA,EAAG,MAAM,CAAA,MAAA,CAAA,EAAU,MAAM,CAAA;AAAA,IAC1B,CAAC,CAAA,EAAG,MAAM,CAAA,KAAA,CAAA,EAAS,KAAK,CAAA;AAAA,IACxB,CAAC,CAAA,EAAG,MAAM,CAAA,KAAA,CAAA,EAAS,KAAK;AAAA,GAC1B;AAEA,EAAA,KAAA,MAAW,CAAC,IAAA,EAAM,KAAK,CAAA,IAAK,UAAA,EAAY;AACtC,IAAA,IAAI,CAAC,eAAe,GAAA,CAAI,IAAI,KAAK,CAAC,OAAA,CAAQ,GAAA,CAAI,IAAI,CAAA,EAAG;AACnD,MAAA,cAAA,CAAe,MAAA,CAAO,MAAM,KAAK,CAAA;AACjC,MAAA,OAAA,CAAQ,IAAI,IAAI,CAAA;AAAA,IAClB;AAAA,EACF;AACF","file":"chunk-NUMML2ZR.js","sourcesContent":["import { UButton } from '../components/button.wc.js';\r\nimport { UInput } from '../components/input.wc.js';\r\nimport { UBox } from '../components/box.wc.js';\r\nimport { UList, UVirtualList } from '../components/list.wc.js';\r\nimport { UPortal } from '../components/portal.wc.js';\r\nimport { UText } from '../components/text.wc.js';\r\nimport { UStack, UHStack } from '../components/stack.wc.js';\r\nimport { UGrid } from '../components/grid.wc.js';\r\nimport { USlot } from '../components/slot.wc.js';\r\nimport { UPressable } from '../components/pressable.wc.js';\r\nimport { UFocusScope } from '../components/focus-scope.wc.js';\r\nimport { UDismissableLayer } from '../components/dismissable-layer.wc.js';\r\nimport { UOverlay } from '../components/overlay.wc.js';\r\nimport { UField } from '../components/field.wc.js';\r\nimport { UCheckbox } from '../components/checkbox.wc.js';\r\nimport { USelect } from '../components/select.wc.js';\r\nimport { ULink } from '../components/link.wc.js';\r\nimport { USpacer } from '../components/spacer.wc.js';\r\nimport { UContainer } from '../components/container.wc.js';\r\nimport { UHoverable } from '../components/hoverable.wc.js';\r\nimport { UFocusTrap } from '../components/focus-trap.wc.js';\r\nimport { UPopper } from '../components/popper.wc.js';\r\nimport { UDialogRoot } from '../components/dialog-root.wc.js';\r\nimport { UTooltipRoot } from '../components/tooltip-root.wc.js';\r\nimport { UTextarea } from '../components/textarea.wc.js';\r\nimport { URadioGroup, URadio } from '../components/radio-group.wc.js';\r\nimport { USwitch } from '../components/switch.wc.js';\r\nimport { ULabel } from '../components/label.wc.js';\r\nimport { UCollection } from '../components/collection.wc.js';\r\nimport { UTree } from '../components/tree.wc.js';\r\nimport { UTable } from '../components/table.wc.js';\r\nimport { URouterView } from '../components/router-view.wc.js';\r\nimport { UBreadcrumb } from '../components/breadcrumb.wc.js';\r\nimport { UTabs } from '../components/tabs.wc.js';\r\nimport { UVisuallyHidden } from '../components/visually-hidden.wc.js';\r\nimport { ULiveRegion } from '../components/live-region.wc.js';\r\nimport { UFocusManager } from '../components/focus-manager.wc.js';\r\nimport { UKeyboardNavigation } from '../components/keyboard-navigation.wc.js';\r\nimport { UPresence } from '../components/presence.wc.js';\r\nimport { UTransition } from '../components/transition.wc.js';\r\nimport { UAnimate } from '../components/animate.wc.js';\r\nimport { UModal } from '../components/modal.wc.js';\r\nimport { UDrawer } from '../components/drawer.wc.js';\r\nimport { UPopover } from '../components/popover.wc.js';\r\nimport { UDropdown } from '../components/dropdown.wc.js';\r\nimport { UAccordion, UAccordionItem } from '../components/accordion.wc.js';\r\nimport { UCombobox } from '../components/combobox.wc.js';\r\nimport { UCalendar } from '../components/calendar.wc.js';\r\nimport { UDataTable } from '../components/data-table.wc.js';\r\nimport { UCommandPalette } from '../components/command-palette.wc.js';\r\nimport { UToast } from '../components/toast.wc.js';\r\nimport { UContextMenu } from '../components/context-menu.wc.js';\r\nimport { USortable } from '../components/sortable.wc.js';\r\nimport { UForm } from '../components/form.wc.js';\r\nimport { UBadge } from '../components/badge.wc.js';\r\nimport { UCard } from '../components/card.wc.js';\r\nimport { UIcon } from '../icons/icon-element.js';\r\n\r\nconst DEFINED = new Set<string>();\r\n\r\nexport interface DefineOptions {\r\n prefix?: string;\r\n}\r\n\r\nexport function defineComponents(options: DefineOptions = {}): void {\r\n const prefix = options.prefix || 'u';\r\n\r\n const components: [string, CustomElementConstructor][] = [\r\n [`${prefix}-button`, UButton],\r\n [`${prefix}-input`, UInput],\r\n [`${prefix}-box`, UBox],\r\n [`${prefix}-list`, UList],\r\n [`${prefix}-virtual-list`, UVirtualList],\r\n [`${prefix}-portal`, UPortal],\r\n [`${prefix}-text`, UText],\r\n [`${prefix}-stack`, UStack],\r\n [`${prefix}-hstack`, UHStack],\r\n [`${prefix}-grid`, UGrid],\r\n [`${prefix}-slot`, USlot],\r\n [`${prefix}-pressable`, UPressable],\r\n [`${prefix}-focus-scope`, UFocusScope],\r\n [`${prefix}-dismissable-layer`, UDismissableLayer],\r\n [`${prefix}-overlay`, UOverlay],\r\n [`${prefix}-field`, UField],\r\n [`${prefix}-checkbox`, UCheckbox],\r\n [`${prefix}-select`, USelect],\r\n [`${prefix}-link`, ULink],\r\n [`${prefix}-spacer`, USpacer],\r\n [`${prefix}-container`, UContainer],\r\n [`${prefix}-hoverable`, UHoverable],\r\n [`${prefix}-focus-trap`, UFocusTrap],\r\n [`${prefix}-popper`, UPopper],\r\n [`${prefix}-dialog-root`, UDialogRoot],\r\n [`${prefix}-tooltip-root`, UTooltipRoot],\r\n [`${prefix}-textarea`, UTextarea],\r\n [`${prefix}-radio-group`, URadioGroup],\r\n [`${prefix}-radio`, URadio],\r\n [`${prefix}-switch`, USwitch],\r\n [`${prefix}-label`, ULabel],\r\n [`${prefix}-collection`, UCollection],\r\n [`${prefix}-tree`, UTree],\r\n [`${prefix}-table`, UTable],\r\n [`${prefix}-router-view`, URouterView],\r\n [`${prefix}-breadcrumb`, UBreadcrumb],\r\n [`${prefix}-tabs`, UTabs],\r\n [`${prefix}-visually-hidden`, UVisuallyHidden],\r\n [`${prefix}-live-region`, ULiveRegion],\r\n [`${prefix}-focus-manager`, UFocusManager],\r\n [`${prefix}-keyboard-navigation`, UKeyboardNavigation],\r\n [`${prefix}-presence`, UPresence],\r\n [`${prefix}-transition`, UTransition],\r\n [`${prefix}-animate`, UAnimate],\r\n [`${prefix}-modal`, UModal],\r\n [`${prefix}-drawer`, UDrawer],\r\n [`${prefix}-popover`, UPopover],\r\n [`${prefix}-dropdown`, UDropdown],\r\n [`${prefix}-accordion`, UAccordion],\r\n [`${prefix}-accordion-item`, UAccordionItem],\r\n [`${prefix}-combobox`, UCombobox],\r\n [`${prefix}-calendar`, UCalendar],\r\n [`${prefix}-data-table`, UDataTable],\r\n [`${prefix}-command-palette`, UCommandPalette],\r\n [`${prefix}-toast`, UToast],\r\n [`${prefix}-context-menu`, UContextMenu],\r\n [`${prefix}-sortable`, USortable],\r\n [`${prefix}-form`, UForm],\r\n [`${prefix}-badge`, UBadge],\r\n [`${prefix}-card`, UCard],\r\n [`${prefix}-icon`, UIcon],\r\n ];\r\n\r\n for (const [name, klass] of components) {\r\n if (!customElements.get(name) && !DEFINED.has(name)) {\r\n customElements.define(name, klass);\r\n DEFINED.add(name);\r\n }\r\n }\r\n}\r\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/core/define.ts"],"names":[],"mappings":";;;;AA0DA,IAAM,OAAA,uBAAc,GAAA,EAAY;AAMzB,SAAS,gBAAA,CAAiB,OAAA,GAAyB,EAAC,EAAS;AAClE,EAAA,MAAM,MAAA,GAAS,QAAQ,MAAA,IAAU,GAAA;AAEjC,EAAA,MAAM,UAAA,GAAmD;AAAA,IACvD,CAAC,CAAA,EAAG,MAAM,CAAA,OAAA,CAAA,EAAW,OAAO,CAAA;AAAA,IAC5B,CAAC,CAAA,EAAG,MAAM,CAAA,MAAA,CAAA,EAAU,MAAM,CAAA;AAAA,IAC1B,CAAC,CAAA,EAAG,MAAM,CAAA,IAAA,CAAA,EAAQ,IAAI,CAAA;A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A,gBAAA,CAAA,EAAoB,eAAe,CAAA;AAAA,IAC7C,CAAC,CAAA,EAAG,MAAM,CAAA,MAAA,CAAA,EAAU,MAAM,CAAA;AAAA,IAC1B,CAAC,CAAA,EAAG,MAAM,CAAA,aAAA,CAAA,EAAiB,YAAY,CAAA;AAAA,IACvC,CAAC,CAAA,EAAG,MAAM,CAAA,SAAA,CAAA,EAAa,SAAS,CAAA;AAAA,IAChC,CAAC,CAAA,EAAG,MAAM,CAAA,KAAA,CAAA,EAAS,KAAK,CAAA;AAAA,IACxB,CAAC,CAAA,EAAG,MAAM,CAAA,MAAA,CAAA,EAAU,MAAM,CAAA;AAAA,IAC1B,CAAC,CAAA,EAAG,MAAM,CAAA,KAAA,CAAA,EAAS,KAAK,CAAA;AAAA,IACxB,CAAC,CAAA,EAAG,MAAM,CAAA,KAAA,CAAA,EAAS,KAAK;AAAA,GAC1B;AAEA,EAAA,KAAA,MAAW,CAAC,IAAA,EAAM,KAAK,CAAA,IAAK,UAAA,EAAY;AACtC,IAAA,IAAI,CAAC,eAAe,GAAA,CAAI,IAAI,KAAK,CAAC,OAAA,CAAQ,GAAA,CAAI,IAAI,CAAA,EAAG;AACnD,MAAA,cAAA,CAAe,MAAA,CAAO,MAAM,KAAK,CAAA;AACjC,MAAA,OAAA,CAAQ,IAAI,IAAI,CAAA;AAAA,IAClB;AAAA,EACF;AACF","file":"chunk-FPZL7HOP.js","sourcesContent":["import { UButton } from '../components/button.wc.js';\r\nimport { UInput } from '../components/input.wc.js';\r\nimport { UBox } from '../components/box.wc.js';\r\nimport { UList, UVirtualList } from '../components/list.wc.js';\r\nimport { UPortal } from '../components/portal.wc.js';\r\nimport { UText } from '../components/text.wc.js';\r\nimport { UStack, UHStack } from '../components/stack.wc.js';\r\nimport { UGrid } from '../components/grid.wc.js';\r\nimport { USlot } from '../components/slot.wc.js';\r\nimport { UPressable } from '../components/pressable.wc.js';\r\nimport { UFocusScope } from '../components/focus-scope.wc.js';\r\nimport { UDismissableLayer } from '../components/dismissable-layer.wc.js';\r\nimport { UOverlay } from '../components/overlay.wc.js';\r\nimport { UField } from '../components/field.wc.js';\r\nimport { UCheckbox } from '../components/checkbox.wc.js';\r\nimport { USelect } from '../components/select.wc.js';\r\nimport { ULink } from '../components/link.wc.js';\r\nimport { USpacer } from '../components/spacer.wc.js';\r\nimport { UContainer } from '../components/container.wc.js';\r\nimport { UHoverable } from '../components/hoverable.wc.js';\r\nimport { UFocusTrap } from '../components/focus-trap.wc.js';\r\nimport { UPopper } from '../components/popper.wc.js';\r\nimport { UDialogRoot } from '../components/dialog-root.wc.js';\r\nimport { UTooltipRoot } from '../components/tooltip-root.wc.js';\r\nimport { UTextarea } from '../components/textarea.wc.js';\r\nimport { URadioGroup, URadio } from '../components/radio-group.wc.js';\r\nimport { USwitch } from '../components/switch.wc.js';\r\nimport { ULabel } from '../components/label.wc.js';\r\nimport { UCollection } from '../components/collection.wc.js';\r\nimport { UTree } from '../components/tree.wc.js';\r\nimport { UTable } from '../components/table.wc.js';\r\nimport { URouterView } from '../components/router-view.wc.js';\r\nimport { UBreadcrumb } from '../components/breadcrumb.wc.js';\r\nimport { UTabs } from '../components/tabs.wc.js';\r\nimport { UVisuallyHidden } from '../components/visually-hidden.wc.js';\r\nimport { ULiveRegion } from '../components/live-region.wc.js';\r\nimport { UFocusManager } from '../components/focus-manager.wc.js';\r\nimport { UKeyboardNavigation } from '../components/keyboard-navigation.wc.js';\r\nimport { UPresence } from '../components/presence.wc.js';\r\nimport { UTransition } from '../components/transition.wc.js';\r\nimport { UAnimate } from '../components/animate.wc.js';\r\nimport { UModal } from '../components/modal.wc.js';\r\nimport { UDrawer } from '../components/drawer.wc.js';\r\nimport { UPopover } from '../components/popover.wc.js';\r\nimport { UDropdown } from '../components/dropdown.wc.js';\r\nimport { UAccordion, UAccordionItem } from '../components/accordion.wc.js';\r\nimport { UCombobox } from '../components/combobox.wc.js';\r\nimport { UCalendar } from '../components/calendar.wc.js';\r\nimport { UDataTable } from '../components/data-table.wc.js';\r\nimport { UCommandPalette } from '../components/command-palette.wc.js';\r\nimport { UToast } from '../components/toast.wc.js';\r\nimport { UContextMenu } from '../components/context-menu.wc.js';\r\nimport { USortable } from '../components/sortable.wc.js';\r\nimport { UForm } from '../components/form.wc.js';\r\nimport { UBadge } from '../components/badge.wc.js';\r\nimport { UCard } from '../components/card.wc.js';\r\nimport { UIcon } from '../icons/icon-element.js';\r\n\r\nconst DEFINED = new Set<string>();\r\n\r\nexport interface DefineOptions {\r\n prefix?: string;\r\n}\r\n\r\nexport function defineComponents(options: DefineOptions = {}): void {\r\n const prefix = options.prefix || 'u';\r\n\r\n const components: [string, CustomElementConstructor][] = [\r\n [`${prefix}-button`, UButton],\r\n [`${prefix}-input`, UInput],\r\n [`${prefix}-box`, UBox],\r\n [`${prefix}-list`, UList],\r\n [`${prefix}-virtual-list`, UVirtualList],\r\n [`${prefix}-portal`, UPortal],\r\n [`${prefix}-text`, UText],\r\n [`${prefix}-stack`, UStack],\r\n [`${prefix}-hstack`, UHStack],\r\n [`${prefix}-grid`, UGrid],\r\n [`${prefix}-slot`, USlot],\r\n [`${prefix}-pressable`, UPressable],\r\n [`${prefix}-focus-scope`, UFocusScope],\r\n [`${prefix}-dismissable-layer`, UDismissableLayer],\r\n [`${prefix}-overlay`, UOverlay],\r\n [`${prefix}-field`, UField],\r\n [`${prefix}-checkbox`, UCheckbox],\r\n [`${prefix}-select`, USelect],\r\n [`${prefix}-link`, ULink],\r\n [`${prefix}-spacer`, USpacer],\r\n [`${prefix}-container`, UContainer],\r\n [`${prefix}-hoverable`, UHoverable],\r\n [`${prefix}-focus-trap`, UFocusTrap],\r\n [`${prefix}-popper`, UPopper],\r\n [`${prefix}-dialog-root`, UDialogRoot],\r\n [`${prefix}-tooltip-root`, UTooltipRoot],\r\n [`${prefix}-textarea`, UTextarea],\r\n [`${prefix}-radio-group`, URadioGroup],\r\n [`${prefix}-radio`, URadio],\r\n [`${prefix}-switch`, USwitch],\r\n [`${prefix}-label`, ULabel],\r\n [`${prefix}-collection`, UCollection],\r\n [`${prefix}-tree`, UTree],\r\n [`${prefix}-table`, UTable],\r\n [`${prefix}-router-view`, URouterView],\r\n [`${prefix}-breadcrumb`, UBreadcrumb],\r\n [`${prefix}-tabs`, UTabs],\r\n [`${prefix}-visually-hidden`, UVisuallyHidden],\r\n [`${prefix}-live-region`, ULiveRegion],\r\n [`${prefix}-focus-manager`, UFocusManager],\r\n [`${prefix}-keyboard-navigation`, UKeyboardNavigation],\r\n [`${prefix}-presence`, UPresence],\r\n [`${prefix}-transition`, UTransition],\r\n [`${prefix}-animate`, UAnimate],\r\n [`${prefix}-modal`, UModal],\r\n [`${prefix}-drawer`, UDrawer],\r\n [`${prefix}-popover`, UPopover],\r\n [`${prefix}-dropdown`, UDropdown],\r\n [`${prefix}-accordion`, UAccordion],\r\n [`${prefix}-accordion-item`, UAccordionItem],\r\n [`${prefix}-combobox`, UCombobox],\r\n [`${prefix}-calendar`, UCalendar],\r\n [`${prefix}-data-table`, UDataTable],\r\n [`${prefix}-command-palette`, UCommandPalette],\r\n [`${prefix}-toast`, UToast],\r\n [`${prefix}-context-menu`, UContextMenu],\r\n [`${prefix}-sortable`, USortable],\r\n [`${prefix}-form`, UForm],\r\n [`${prefix}-badge`, UBadge],\r\n [`${prefix}-card`, UCard],\r\n [`${prefix}-icon`, UIcon],\r\n ];\r\n\r\n for (const [name, klass] of components) {\r\n if (!customElements.get(name) && !DEFINED.has(name)) {\r\n customElements.define(name, klass);\r\n DEFINED.add(name);\r\n }\r\n }\r\n}\r\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UElement, iconStyles } from './chunk-
|
|
1
|
+
import { UElement, iconStyles } from './chunk-6Y6GA2QS.js';
|
|
2
2
|
|
|
3
3
|
// src/icons/registry.ts
|
|
4
4
|
var iconRegistry = {
|
|
@@ -4979,5 +4979,5 @@ var UIcon = class extends UElement {
|
|
|
4979
4979
|
};
|
|
4980
4980
|
|
|
4981
4981
|
export { UIcon, iconRegistry };
|
|
4982
|
-
//# sourceMappingURL=chunk-
|
|
4983
|
-
//# sourceMappingURL=chunk-
|
|
4982
|
+
//# sourceMappingURL=chunk-Q4KFLERV.js.map
|
|
4983
|
+
//# sourceMappingURL=chunk-Q4KFLERV.js.map
|