@avento-space/ts-ui 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{card.wc-pFLgjfwm.d.ts → card.wc-CLzyZAbJ.d.ts} +32 -0
- package/dist/{chunk-ICB6OBEZ.js → chunk-2UKGVIH2.js} +277 -277
- package/dist/chunk-2UKGVIH2.js.map +1 -0
- package/dist/chunk-NJHLJNRI.js +4983 -0
- package/dist/chunk-NJHLJNRI.js.map +1 -0
- package/dist/{chunk-QTANS5ZS.js → chunk-NUMML2ZR.js} +4 -4
- package/dist/{chunk-QTANS5ZS.js.map → chunk-NUMML2ZR.js.map} +1 -1
- package/dist/{chunk-RQZ7KDYP.js → chunk-PIXJHFME.js} +273 -67
- package/dist/chunk-PIXJHFME.js.map +1 -0
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +2 -2
- package/dist/define.js +4 -4
- package/dist/icons/index.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/react/index.d.ts +4 -2
- package/dist/react/index.js +66 -8
- package/dist/react/index.js.map +1 -1
- package/package.json +7 -3
- package/dist/chunk-ICB6OBEZ.js.map +0 -1
- package/dist/chunk-RATTHYIP.js +0 -4855
- package/dist/chunk-RATTHYIP.js.map +0 -1
- package/dist/chunk-RQZ7KDYP.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avento-space/ts-ui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
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",
|
|
@@ -77,15 +77,16 @@
|
|
|
77
77
|
"scripts": {
|
|
78
78
|
"build": "tsup",
|
|
79
79
|
"build:tsc": "rimraf dist && tsc",
|
|
80
|
-
"build:icons": "node scripts/build-icons.mjs && node scripts/generate-react-icons.mjs",
|
|
80
|
+
"build:icons": "node scripts/build-icons.mjs && node scripts/generate-react-icons.mjs && node scripts/validate-icons.mjs",
|
|
81
81
|
"build:react-icons": "node scripts/generate-react-icons.mjs",
|
|
82
82
|
"build:check": "npm run build:icons && npm run typecheck",
|
|
83
|
+
"validate:icons": "node scripts/validate-icons.mjs",
|
|
83
84
|
"prepare": "npm run build",
|
|
84
85
|
"prepublishOnly": "npm run build",
|
|
85
86
|
"test": "vitest run",
|
|
86
87
|
"test:watch": "vitest",
|
|
87
88
|
"test:coverage": "vitest run --coverage",
|
|
88
|
-
"lint": "eslint src/ --ext .ts,.tsx",
|
|
89
|
+
"lint": "eslint src/ --ext .ts,.tsx && node scripts/validate-icons.mjs",
|
|
89
90
|
"lint:fix": "eslint src/ --ext .ts,.tsx --fix",
|
|
90
91
|
"format": "prettier --check \"src/**/*.ts\"",
|
|
91
92
|
"format:fix": "prettier --write \"src/**/*.ts\"",
|
|
@@ -95,6 +96,7 @@
|
|
|
95
96
|
"demo:build": "pnpm --dir demo build"
|
|
96
97
|
},
|
|
97
98
|
"devDependencies": {
|
|
99
|
+
"@resvg/resvg-js": "^2.6.2",
|
|
98
100
|
"@types/react": "^19.2.17",
|
|
99
101
|
"@typescript-eslint/eslint-plugin": "^8.62.1",
|
|
100
102
|
"@typescript-eslint/parser": "^8.62.1",
|
|
@@ -102,9 +104,11 @@
|
|
|
102
104
|
"eslint-config-prettier": "^10.1.8",
|
|
103
105
|
"eslint-plugin-prettier": "^5.5.6",
|
|
104
106
|
"happy-dom": "^20.10.6",
|
|
107
|
+
"pixelmatch": "^7.2.0",
|
|
105
108
|
"prettier": "^3.9.4",
|
|
106
109
|
"react": "^19.2.7",
|
|
107
110
|
"rimraf": "^6.1.3",
|
|
111
|
+
"svgo": "^4.0.1",
|
|
108
112
|
"tsup": "^8.5.1",
|
|
109
113
|
"typescript": "^5.9.3",
|
|
110
114
|
"vitest": "^4.1.9"
|
|
@@ -1 +0,0 @@
|
|
|
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;AAEhC,KAAA,CAAM,WAAA,CAAY;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,CA6CjB,CAAA;AAEM,IAAM,YAAA,GAAe,KAAA;;;AC9C5B,IAAI,MAAA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heet = new CSSStyleSheet();\n\nsheet.replaceSync(`\n:host {\n --u-color-primary: #3b82f6;\n --u-color-primary-hover: #2563eb;\n --u-color-primary-text: #2563eb;\n --u-color-danger: #ef4444;\n --u-color-danger-hover: #dc2626;\n --u-color-success: #16a34a;\n --u-color-warning: #d97706;\n --u-color-info: #0284c7;\n --u-color-text: #111827;\n --u-color-text-secondary: #374151;\n --u-color-text-muted: #4b5563;\n --u-color-text-disabled: #6b7280;\n --u-color-border: #9ca3af;\n --u-color-border-light: #d1d5db;\n --u-color-border-lighter: #e5e7eb;\n --u-color-bg: #fff;\n --u-color-bg-muted: #f9fafb;\n --u-color-bg-hover: #f3f4f6;\n --u-color-bg-selected: #eff6ff;\n --u-color-focus: #3b82f6;\n --u-color-overlay: rgba(0,0,0,0.5);\n --u-radius-sm: 4px;\n --u-radius-md: 6px;\n --u-radius-lg: 8px;\n --u-radius-xl: 10px;\n --u-radius-2xl: 12px;\n --u-font-xs: 0.75rem;\n --u-font-sm: 0.875rem;\n --u-font-md: 1rem;\n --u-font-lg: 1.125rem;\n --u-shadow-sm: 0 1px 3px rgba(0,0,0,.05);\n --u-shadow-md: 0 4px 16px rgba(0,0,0,.08);\n --u-shadow-lg: 0 8px 24px rgba(0,0,0,.12);\n --u-shadow-xl: 0 20px 60px rgba(0,0,0,.15);\n}\n\n@media (prefers-reduced-motion: reduce) {\n *, *::before, *::after {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n }\n}\n`);\n\nexport const globalStyles = sheet;\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: 14px;\r\n line-height: 1;\r\n border: 1px solid transparent;\r\n border-radius: 6px;\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 .15s, opacity .15s, box-shadow .15s;\r\n outline: none;\r\n}\r\nbutton:focus-visible {\r\n box-shadow: 0 0 0 2px #3b82f6;\r\n}\r\nbutton:disabled {\r\n opacity: .5;\r\n cursor: not-allowed;\r\n}\r\n.btn-primary {\r\n background: #3b82f6;\r\n color: #fff;\r\n border-color: #2563eb;\r\n}\r\n.btn-primary:hover:not(:disabled) {\r\n background: #2563eb;\r\n}\r\n.btn-secondary {\r\n background: #f3f4f6;\r\n color: #374151;\r\n border-color: #9ca3af;\r\n}\r\n.btn-secondary:hover:not(:disabled) {\r\n background: #e5e7eb;\r\n}\r\n.btn-ghost {\r\n background: transparent;\r\n color: #374151;\r\n border-color: transparent;\r\n}\r\n.btn-ghost:hover:not(:disabled) {\r\n background: #f3f4f6;\r\n}\r\n.btn-danger {\r\n background: #ef4444;\r\n color: #fff;\r\n border-color: #ef4444;\r\n}\r\n.btn-danger:hover:not(:disabled) {\r\n background: #dc2626;\r\n}\r\n.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }\r\n.btn-md { height: 40px; padding: 0 16px; font-size: 14px; }\r\n.btn-lg { height: 48px; padding: 0 24px; font-size: 16px; }\r\n.btn-link {\r\n background: transparent;\r\n color: #2563eb;\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: 2px;\r\n}\r\n.btn-link:hover:not(:disabled) {\r\n background: transparent;\r\n text-decoration: underline;\r\n color: #2563eb;\r\n}\r\n.btn-link:disabled {\r\n opacity: .5;\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: 14px;\r\n line-height: 1.5;\r\n padding: 8px 12px;\r\n border: 1px solid #d1d5db;\r\n border-radius: 6px;\r\n outline: none;\r\n width: 100%;\r\n box-sizing: border-box;\r\n background: #fff;\r\n color: #111827;\r\n transition: border-color .15s;\r\n}\r\ninput::placeholder { color: #4b5563; }\r\ninput:focus {\r\n border-color: #2563eb;\r\n box-shadow: 0 0 0 2px rgba(59,130,246,.25);\r\n}\r\ninput:disabled {\r\n background: #f9fafb;\r\n color: #4b5563;\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: 24px;\r\n text-align: center;\r\n color: #4b5563;\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: 1.5;\r\n}\r\n.text-xs { font-size: 0.75rem; }\r\n.text-sm { font-size: 0.875rem; }\r\n.text-md { font-size: 1rem; }\r\n.text-lg { font-size: 1.125rem; }\r\n.text-xl { font-size: 1.25rem; }\r\n.text-2xl { font-size: 1.5rem; }\r\n.text-3xl { font-size: 1.875rem; }\r\n.text-normal { font-weight: 400; }\r\n.text-medium { font-weight: 500; }\r\n.text-semibold { font-weight: 600; }\r\n.text-bold { font-weight: 700; }\r\n.text-default { color: inherit; }\r\n.text-muted { color: #4b5563; }\r\n.text-accent { color: #2563eb; }\r\n.text-danger { color: #ef4444; }\r\n.text-success { color: #16a34a; }\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: 9999;\r\n}\r\n[part=\"overlay\"] {\r\n position: fixed;\r\n inset: 0;\r\n background: rgba(0,0,0,0.5);\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(4px);\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: 4px;\r\n}\r\n.field-label {\r\n font-size: 0.875rem;\r\n font-weight: 500;\r\n color: #374151;\r\n}\r\n.field-label-required::after {\r\n content: ' *';\r\n color: #ef4444;\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: 0.75rem;\r\n color: #4b5563;\r\n}\r\n.field-error {\r\n font-size: 0.75rem;\r\n color: #ef4444;\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: 8px;\r\n cursor: pointer;\r\n}\r\n:host(:focus-visible) .checkbox-indicator { outline: 2px solid #3b82f6; outline-offset: 2px; }\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 #9ca3af;\r\n border-radius: 4px;\r\n transition: all .15s;\r\n flex-shrink: 0;\r\n box-sizing: border-box;\r\n}\r\n.checkbox-indicator.checked {\r\n background: #3b82f6;\r\n border-color: #2563eb;\r\n color: #fff;\r\n}\r\n.checkbox-indicator svg {\r\n opacity: 0;\r\n transition: opacity .15s;\r\n}\r\n.checkbox-indicator.checked svg {\r\n opacity: 1;\r\n}\r\n.checkbox-label {\r\n font-size: 0.875rem;\r\n color: #374151;\r\n}\r\n:host([disabled]) [part=\"checkbox\"] {\r\n opacity: 0.5;\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: 14px;\r\n line-height: 1.5;\r\n padding: 8px 32px 8px 12px;\r\n border: 1px solid #d1d5db;\r\n border-radius: 6px;\r\n outline: none;\r\n width: 100%;\r\n box-sizing: border-box;\r\n background: #fff;\r\n color: #111827;\r\n transition: border-color .15s;\r\n appearance: none;\r\n -webkit-appearance: none;\r\n cursor: pointer;\r\n}\r\n.select:focus {\r\n border-color: #2563eb;\r\n box-shadow: 0 0 0 2px rgba(59,130,246,.25);\r\n}\r\n.select:disabled {\r\n background: #f9fafb;\r\n color: #4b5563;\r\n cursor: not-allowed;\r\n}\r\n.select-arrow {\r\n position: absolute;\r\n right: 8px;\r\n pointer-events: none;\r\n color: #4b5563;\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 .15s;\r\n text-decoration: none;\r\n border-radius: 2px;\r\n}\r\n[part=\"link\"]:focus-visible {\r\n outline: 2px solid #3b82f6;\r\n outline-offset: 2px;\r\n}\r\n.link-default { color: #2563eb; }\r\n.link-default:hover { color: #2563eb; text-decoration: underline; }\r\n.link-accent { color: #374151; font-weight: 500; }\r\n.link-accent:hover { color: #111827; text-decoration: underline; }\r\n.link-muted { color: #4b5563; }\r\n.link-muted:hover { color: #374151; text-decoration: underline; }\r\n.link-danger { color: #ef4444; }\r\n.link-danger:hover { color: #dc2626; 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: #4b5563 !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: 99999;\r\n background: #1f2937;\r\n color: #fff;\r\n font-size: 0.75rem;\r\n padding: 6px 10px;\r\n border-radius: 6px;\r\n pointer-events: none;\r\n line-height: 1.4;\r\n max-width: 200px;\r\n box-shadow: 0 4px 12px rgba(0,0,0,.25);\r\n animation: u-tooltip-in .12s 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: #1f2937;\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: 14px;\r\n line-height: 1.5;\r\n padding: 8px 12px;\r\n border: 1px solid #d1d5db;\r\n border-radius: 6px;\r\n outline: none;\r\n width: 100%;\r\n box-sizing: border-box;\r\n background: #fff;\r\n color: #111827;\r\n transition: border-color .15s;\r\n resize: vertical;\r\n min-height: 60px;\r\n}\r\ntextarea::placeholder { color: #4b5563; }\r\ntextarea:focus {\r\n border-color: #2563eb;\r\n box-shadow: 0 0 0 2px rgba(59,130,246,.25);\r\n}\r\ntextarea:disabled {\r\n background: #f9fafb;\r\n color: #4b5563;\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: 8px;\r\n cursor: pointer;\r\n font-size: 0.875rem;\r\n color: #374151;\r\n}\r\n:host(:focus-visible) .radio-circle { outline: 2px solid #3b82f6; outline-offset: 2px; }\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 #9ca3af;\r\n border-radius: 50%;\r\n transition: all .15s;\r\n flex-shrink: 0;\r\n box-sizing: border-box;\r\n}\r\n.radio-circle.checked {\r\n border-color: #2563eb;\r\n background: #3b82f6;\r\n box-shadow: inset 0 0 0 3px #fff;\r\n}\r\n:host([disabled]) [part=\"radio\"] {\r\n opacity: 0.5;\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 #3b82f6; outline-offset: 3px; }\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: #9ca3af;\r\n border-radius: 11px;\r\n position: relative;\r\n transition: background .2s;\r\n}\r\n.switch-track.checked {\r\n background: #3b82f6;\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: #fff;\r\n border-radius: 50%;\r\n transition: transform .2s;\r\n box-shadow: 0 1px 2px rgba(0,0,0,.15);\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: 0.5;\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: 0.875rem;\r\n font-weight: 500;\r\n color: #374151;\r\n cursor: default;\r\n}\r\n.label-required::after {\r\n content: ' *';\r\n color: #ef4444;\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: 0.875rem;\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: 4px;\r\n padding: 4px 8px;\r\n cursor: pointer;\r\n border-radius: 4px;\r\n}\r\n.tree-row:focus-visible { outline: 2px solid #3b82f6; outline-offset: -2px; }\n.tree-row:hover {\r\n background: #f3f4f6;\r\n}\r\n.tree-toggle {\r\n width: 16px;\r\n flex-shrink: 0;\r\n text-align: center;\r\n font-size: 12px;\r\n color: #4b5563;\r\n}\r\n.tree-toggle-spacer {\r\n width: 16px;\r\n flex-shrink: 0;\r\n}\r\n.tree-label {\r\n color: #374151;\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: 0.875rem;\r\n}\r\n.table th {\r\n text-align: left;\r\n padding: 10px 12px;\r\n border-bottom: 2px solid #e5e7eb;\r\n font-weight: 600;\r\n color: #374151;\r\n white-space: nowrap;\r\n background: #f9fafb;\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 #3b82f6; outline-offset: -2px; }\r\n.table th.sortable:hover {\r\n background: #f3f4f6;\r\n}\r\n.table td {\r\n padding: 10px 12px;\r\n border-bottom: 1px solid #e5e7eb;\r\n color: #4b5563;\r\n}\r\n.table tr:hover td {\r\n background: #f9fafb;\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: 0.875rem;\r\n}\r\n[part=\"list\"] {\r\n display: flex;\r\n align-items: center;\r\n gap: 4px;\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: 4px;\r\n color: #4b5563;\r\n}\r\n.breadcrumb-item a {\r\n color: #2563eb;\r\n text-decoration: none;\r\n}\r\n.breadcrumb-item a:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; border-radius: 2px; }\n.breadcrumb-item a:hover {\r\n text-decoration: underline;\r\n}\r\n.breadcrumb-item[aria-current=\"page\"] {\r\n color: #111827;\r\n font-weight: 500;\r\n}\r\n.breadcrumb-separator {\r\n color: #d1d5db;\r\n margin: 0 2px;\r\n}\r\n`;\r\n","export const tabsStyles = `\n:host {\n display: block;\n}\n[part=\"tabs\"] {\n display: flex;\n flex-direction: column;\n}\n[part=\"tablist\"] {\n display: flex;\n gap: 0;\n position: relative;\n outline: none;\n}\n.tablist-underline {\n border-bottom: 1px solid #d1d5db;\n}\n.tablist-underline .tab-indicator {\n position: absolute;\n bottom: 0;\n height: 2px;\n background: #3b82f6;\n transition: left .2s ease, width .2s ease;\n border-radius: 1px;\n}\n.tablist-pills {\n gap: 4px;\n flex-wrap: wrap;\n}\n.tablist-buttons {\n gap: 4px;\n flex-wrap: wrap;\n}\n.tablist-full {\n width: 100%;\n}\n.tablist-full .tab-trigger {\n flex: 1;\n text-align: center;\n}\n.tab-trigger {\n font-family: inherit;\n font-size: 0.875rem;\n padding: 10px 16px;\n border: none;\n background: none;\n cursor: pointer;\n color: #4b5563;\n transition: all .15s;\n outline: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n white-space: nowrap;\n user-select: none;\n position: relative;\n border-radius: 0;\n}\n.tab-trigger:hover:not(:disabled):not(.active) {\n color: #374151;\n}\n.tab-trigger.active {\n color: #2563eb;\n font-weight: 500;\n}\n.tab-trigger:focus-visible {\n box-shadow: inset 0 0 0 2px #3b82f6;\n}\n.tab-trigger:disabled {\n opacity: .4;\n cursor: not-allowed;\n}\n.tab-trigger-icon {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 16px;\n height: 16px;\n flex-shrink: 0;\n}\n.tab-trigger-icon svg {\n width: 16px;\n height: 16px;\n}\n.tablist-pills .tab-trigger {\n border-radius: 999px;\n padding: 6px 14px;\n}\n.tablist-pills .tab-trigger:hover:not(:disabled) {\n background: #f3f4f6;\n}\n.tablist-pills .tab-trigger.active {\n background: #eff6ff;\n color: #2563eb;\n}\n.tablist-buttons .tab-trigger {\n border-radius: 6px;\n padding: 6px 14px;\n}\n.tablist-buttons .tab-trigger:hover:not(:disabled) {\n background: #f3f4f6;\n}\n.tablist-buttons .tab-trigger.active {\n background: #3b82f6;\n color: #fff;\n}\n[part=\"tabpanels\"] {\n padding: 16px 0;\n outline: none;\n}\n.tab-panel {\n outline: none;\n animation: u-tab-panel-in .15s ease;\n}\n@keyframes u-tab-panel-in {\n from { opacity: 0; }\n to { opacity: 1; }\n}\n`;\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 = `\n:host {\n display: contents;\n}\n@keyframes u-modal-fade-in {\n from { opacity: 0; }\n to { opacity: 1; }\n}\n@keyframes u-modal-scale-in {\n from { opacity: 0; transform: scale(0.95) translateY(8px); }\n to { opacity: 1; transform: scale(1) translateY(0); }\n}\n.modal-backdrop {\n position: fixed;\n inset: 0;\n background: rgba(0,0,0,0.5);\n z-index: 9998;\n animation: u-modal-fade-in .15s ease;\n}\n.modal {\n position: fixed;\n inset: 0;\n z-index: 9999;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 16px;\n}\n.modal-wrapper {\n background: #fff;\n border-radius: 12px;\n box-shadow: 0 20px 60px rgba(0,0,0,.15);\n display: flex;\n flex-direction: column;\n max-height: 85vh;\n width: 100%;\n animation: u-modal-scale-in .2s ease;\n}\n.modal-sm { max-width: 400px; }\n.modal-md { max-width: 500px; }\n.modal-lg { max-width: 640px; }\n.modal-xl { max-width: 800px; }\n.modal-full { max-width: calc(100vw - 32px); }\n.modal-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n border-bottom: 1px solid #e5e7eb;\n gap: 12px;\n}\n.modal-title {\n font-weight: 600;\n font-size: 1.125rem;\n color: #111827;\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.modal-close {\n background: none;\n border: none;\n cursor: pointer;\n color: #4b5563;\n padding: 4px;\n line-height: 1;\n border-radius: 6px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n transition: color .15s, background .15s;\n}\n.modal-close:hover { color: #374151; background: #f3f4f6; }\n.modal-close:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; }\n.modal-close svg {\n width: 18px;\n height: 18px;\n}\n.modal-content {\n padding: 20px;\n overflow-y: auto;\n flex: 1;\n color: #374151;\n font-size: 0.875rem;\n line-height: 1.6;\n}\n.modal-footer {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: 8px;\n padding: 12px 20px;\n border-top: 1px solid #e5e7eb;\n}\n.modal-mobile.modal-wrapper {\n max-height: calc(100vh - 32px) !important;\n border-radius: 10px;\n}\n`;\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: rgba(0,0,0,0.5);\r\n z-index: 9998;\r\n}\r\n.drawer {\r\n position: fixed;\r\n z-index: 9999;\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: #fff;\r\n display: flex;\r\n flex-direction: column;\r\n box-shadow: 0 0 40px rgba(0,0,0,.1);\r\n}\r\n.drawer-right .drawer-content { height: 100%; transform: translateX(100%); transition: transform .25s ease; border-radius: 12px 0 0 12px; }\r\n.drawer-left .drawer-content { height: 100%; transform: translateX(-100%); transition: transform .25s ease; border-radius: 0 12px 12px 0; }\r\n.drawer-top .drawer-content { width: 100%; transform: translateY(-100%); transition: transform .25s ease; border-radius: 0 0 12px 12px; }\r\n.drawer-bottom .drawer-content { width: 100%; transform: translateY(100%); transition: transform .25s ease; border-radius: 12px 12px 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: 16px 20px;\r\n border-bottom: 1px solid #e5e7eb;\r\n font-weight: 600;\r\n font-size: 1.125rem;\r\n}\r\n.drawer-close {\r\n background: none;\r\n border: none;\r\n font-size: 1.5rem;\r\n cursor: pointer;\r\n color: #4b5563;\r\n padding: 0;\r\n line-height: 1;\r\n}\r\n.drawer-close:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; }\n.drawer-close:hover { color: #374151; }\r\n.drawer-body { padding: 20px; overflow-y: auto; flex: 1; color: #4b5563; font-size: 0.875rem; }\r\n.drawer-footer { padding: 12px 20px; border-top: 1px solid #e5e7eb; display: flex; gap: 8px; 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: 99999;\r\n filter: drop-shadow(0 8px 24px rgba(0,0,0,.14));\r\n}\r\n.popover-content {\r\n background: #fff;\r\n border: 1px solid #d1d5db;\r\n border-radius: 10px;\r\n padding: 8px;\r\n font-size: 0.875rem;\r\n color: #374151;\r\n min-width: 160px;\r\n animation: u-popover-in .15s 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: #fff;\r\n border: 1px solid #d1d5db;\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: 99999;\r\n background: #fff;\r\n border: 1px solid #d1d5db;\r\n border-radius: 10px;\r\n box-shadow: 0 8px 24px rgba(0,0,0,.14);\r\n padding: 4px;\r\n min-width: 180px;\r\n outline: none;\r\n animation: u-dropdown-in .12s 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: 0.875rem;\r\n padding: 8px 12px;\r\n border: none;\r\n background: none;\r\n cursor: pointer;\r\n color: #374151;\r\n text-align: left;\r\n border-radius: 6px;\r\n transition: background .1s;\r\n display: flex;\r\n align-items: center;\r\n gap: 8px;\r\n width: 100%;\r\n box-sizing: border-box;\r\n}\r\n.dropdown-item:hover { background: #f3f4f6; }\r\n.dropdown-item:focus-visible { box-shadow: 0 0 0 2px #3b82f6; }\r\n.dropdown-item.selected { color: #2563eb; font-weight: 500; background: #eff6ff; }\r\n.dropdown-item:disabled { opacity: 0.4; cursor: not-allowed; }\r\n.dropdown-item-active { background: #eff6ff; color: #2563eb; }\r\n.dropdown-item-icon {\r\n width: 16px;\r\n height: 16px;\r\n flex-shrink: 0;\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n color: #4b5563;\r\n}\r\n.dropdown-item-icon svg {\r\n width: 16px;\r\n height: 16px;\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: 1.4;\r\n}\r\n.dropdown-item-desc {\r\n display: block;\r\n font-size: 0.75rem;\r\n color: #4b5563;\r\n line-height: 1.3;\r\n margin-top: 1px;\r\n}\r\n.dropdown-item-shortcut {\r\n font-size: 0.75rem;\r\n color: #4b5563;\r\n padding: 2px 6px;\r\n background: #f3f4f6;\r\n border-radius: 4px;\r\n font-family: inherit;\r\n flex-shrink: 0;\r\n}\r\n.dropdown-group-label {\r\n font-size: 0.75rem;\r\n font-weight: 600;\r\n color: #4b5563;\r\n text-transform: uppercase;\r\n letter-spacing: 0.05em;\r\n padding: 8px 12px 4px;\r\n}\r\n.dropdown-divider { height: 1px; background: #f3f4f6; margin: 4px 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 #9ca3af;\r\n border-radius: 8px;\r\n overflow: hidden;\r\n}\r\n.accordion-item {\r\n border-bottom: 1px solid #e5e7eb;\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: 12px 16px;\r\n cursor: pointer;\r\n font-weight: 500;\r\n font-size: 0.875rem;\r\n color: #374151;\r\n transition: background .15s;\r\n user-select: none;\r\n}\r\n.accordion-header:focus-visible { box-shadow: 0 0 0 2px #3b82f6; }\r\n.accordion-header:hover { background: #f9fafb; }\r\n.accordion-icon {\r\n transition: transform .2s;\r\n font-size: 12px;\r\n color: #4b5563;\r\n}\r\n.accordion-item[open] .accordion-icon { transform: rotate(180deg); }\r\n.accordion-content {\r\n overflow: hidden;\r\n transition: height .25s ease;\r\n}\r\n.accordion-body {\r\n padding: 0 16px 12px;\r\n font-size: 0.875rem;\r\n color: #4b5563;\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: 0.875rem;\r\n width: 280px;\r\n background: #fff;\r\n border-radius: 8px;\r\n box-shadow: 0 4px 20px rgba(0,0,0,.08);\r\n padding: 16px;\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: 12px;\r\n}\r\n.cal-title {\r\n font-weight: 600;\r\n color: #111827;\r\n}\r\n.cal-nav-btn {\r\n background: none;\r\n border: 1px solid #9ca3af;\r\n border-radius: 6px;\r\n width: 32px;\r\n height: 32px;\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: #4b5563;\r\n transition: all .15s;\r\n}\r\n.cal-nav-btn:focus-visible { box-shadow: 0 0 0 2px #3b82f6; }\n.cal-nav-btn:hover {\r\n background: #f3f4f6;\r\n color: #374151;\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: 0.75rem;\r\n color: #4b5563;\r\n font-weight: 500;\r\n margin-bottom: 8px;\r\n}\r\n.cal-day-name {\r\n padding: 4px 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: 6px;\r\n width: 100%;\r\n aspect-ratio: 1;\r\n cursor: pointer;\r\n font-size: 0.875rem;\r\n color: #374151;\r\n transition: all .1s;\r\n font-family: inherit;\r\n}\r\n.cal-day:focus-visible { outline: 2px solid #3b82f6; outline-offset: -2px; }\n.cal-day:hover { background: #f3f4f6; }\r\n.cal-day-empty { pointer-events: none; }\r\n.cal-today { font-weight: 600; color: #2563eb; }\r\n.cal-selected { background: #3b82f6; color: #fff; font-weight: 600; }\r\n.cal-selected:hover { background: #2563eb; }\r\n.cal-disabled { opacity: 0.3; 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: 0.875rem;\r\n border: 1px solid #9ca3af;\r\n border-radius: 8px;\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: 12px 16px;\r\n border-bottom: 1px solid #9ca3af;\r\n background: #f9fafb;\r\n}\r\n.dt-search-input {\r\n font-family: inherit;\r\n font-size: 0.875rem;\r\n padding: 6px 12px;\r\n border: 1px solid #9ca3af;\r\n border-radius: 6px;\r\n outline: none;\r\n width: 200px;\r\n}\r\n.dt-search-input:focus {\r\n border-color: #2563eb;\r\n box-shadow: 0 0 0 2px rgba(59,130,246,.25);\r\n}\r\n.dt-page-info { color: #4b5563; font-size: 0.8rem; }\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 12px;\r\n border-bottom: 2px solid #e5e7eb;\r\n font-weight: 600;\r\n color: #374151;\r\n white-space: nowrap;\r\n background: #f9fafb;\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 #3b82f6; outline-offset: -2px; }\r\n.dt-table th.dt-sortable:hover { background: #f3f4f6; }\r\n.dt-table td { padding: 10px 12px; border-bottom: 1px solid #e5e7eb; color: #4b5563; }\r\n.dt-table tr:hover td { background: #f9fafb; }\r\n.dt-row-selected td { background: #eff6ff; }\r\n.dt-col-check { width: 40px; }\r\n.dt-empty { text-align: center; color: #4b5563; padding: 32px; }\r\n.dt-pagination {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n padding: 8px 16px;\r\n border-top: 1px solid #9ca3af;\r\n background: #f9fafb;\r\n}\r\n.dt-page-btn {\r\n font-family: inherit;\r\n font-size: 0.8rem;\r\n padding: 6px 12px;\r\n border: 1px solid #9ca3af;\r\n border-radius: 6px;\r\n background: #fff;\r\n cursor: pointer;\r\n color: #374151;\r\n}\r\n.dt-page-btn:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; }\r\n.dt-page-btn:hover { background: #f3f4f6; }\r\n.dt-page-numbers { display: flex; gap: 4px; }\r\n.dt-page-num {\r\n font-family: inherit;\r\n font-size: 0.8rem;\r\n width: 32px;\r\n height: 32px;\r\n border: 1px solid transparent;\r\n border-radius: 6px;\r\n background: none;\r\n cursor: pointer;\r\n color: #4b5563;\r\n}\r\n.dt-page-num:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; }\r\n.dt-page-num:hover { background: #f3f4f6; }\r\n.dt-page-num.active { background: #3b82f6; color: #fff; font-weight: 600; }\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: rgba(0,0,0,0.4);\r\n z-index: 99999;\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: 100000;\r\n width: 540px;\r\n max-width: calc(100vw - 32px);\r\n}\r\n.cp-dialog-inner {\r\n background: #fff;\r\n border-radius: 12px;\r\n box-shadow: 0 20px 60px rgba(0,0,0,.2);\r\n overflow: hidden;\r\n}\r\n.cp-search-wrapper {\r\n display: flex;\r\n align-items: center;\r\n padding: 12px 16px;\r\n border-bottom: 1px solid #e5e7eb;\r\n gap: 8px;\r\n}\r\n.cp-search-icon { font-size: 1rem; color: #4b5563; }\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: 1rem;\r\n color: #111827;\r\n background: none;\r\n}\r\n.cp-shortcut-hint {\r\n font-size: 0.75rem;\r\n padding: 2px 6px;\r\n background: #f3f4f6;\r\n border-radius: 4px;\r\n color: #4b5563;\r\n font-family: inherit;\r\n}\r\n.cp-results {\r\n max-height: 320px;\r\n overflow-y: auto;\r\n padding: 4px;\r\n}\r\n.cp-group-label {\r\n padding: 8px 12px 4px;\r\n font-size: 0.75rem;\r\n font-weight: 600;\r\n color: #4b5563;\r\n text-transform: uppercase;\r\n letter-spacing: 0.05em;\r\n}\r\n.cp-item {\r\n display: flex;\r\n align-items: center;\r\n gap: 8px;\r\n width: 100%;\r\n padding: 10px 12px;\r\n border: none;\r\n background: none;\r\n cursor: pointer;\r\n text-align: left;\r\n border-radius: 6px;\r\n font-family: inherit;\r\n box-sizing: border-box;\r\n}\r\n.cp-item:hover { background: #f3f4f6; }\r\n.cp-item:focus-visible { box-shadow: 0 0 0 2px #3b82f6; }\n.cp-item-active { background: #eff6ff; }\r\n.cp-item-label { font-size: 0.875rem; color: #111827; flex: 1; }\r\n.cp-item-desc { font-size: 0.75rem; color: #4b5563; flex: 1; }\r\n.cp-item-shortcut {\r\n font-size: 0.75rem;\r\n padding: 2px 6px;\r\n background: #f3f4f6;\r\n border-radius: 4px;\r\n color: #4b5563;\r\n font-family: inherit;\r\n}\r\n.cp-empty { padding: 24px; text-align: center; color: #4b5563; font-size: 0.875rem; }\r\n.cp-footer {\r\n display: flex;\r\n gap: 16px;\r\n padding: 8px 16px;\r\n border-top: 1px solid #e5e7eb;\r\n font-size: 0.75rem;\r\n color: #4b5563;\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 #d1d5db;\r\n border-radius: 6px;\r\n transition: border-color .15s;\r\n background: #fff;\r\n}\r\n.combobox-input-wrapper:focus-within {\r\n border-color: #2563eb;\r\n box-shadow: 0 0 0 2px rgba(59,130,246,.25);\r\n}\r\n.combobox-input {\r\n font-family: inherit;\r\n font-size: 14px;\r\n padding: 8px 12px;\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: #111827;\r\n}\r\n.combobox-toggle {\r\n background: none;\r\n border: none;\r\n padding: 0 8px;\r\n cursor: pointer;\r\n color: #4b5563;\r\n font-size: 12px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n.combobox-listbox {\r\n position: fixed;\r\n z-index: 99999;\r\n background: #fff;\r\n border-radius: 6px;\r\n box-shadow: 0 4px 20px rgba(0,0,0,.1);\r\n max-height: 240px;\r\n overflow-y: auto;\r\n padding: 4px;\r\n}\r\n.combobox-option {\r\n display: block;\r\n width: 100%;\r\n font-family: inherit;\r\n font-size: 0.875rem;\r\n padding: 8px 12px;\r\n border: none;\r\n background: none;\r\n cursor: pointer;\r\n color: #374151;\r\n text-align: left;\r\n border-radius: 4px;\r\n box-sizing: border-box;\r\n}\r\n.combobox-option:hover { background: #f3f4f6; }\r\n.combobox-option.active { color: #2563eb; font-weight: 500; }\r\n.combobox-option:focus-visible { box-shadow: 0 0 0 2px #3b82f6; }\r\n.combobox-empty { padding: 12px; text-align: center; color: #4b5563; font-size: 0.875rem; }\r\n`;\r\n","export const toastStyles = `\r\n:host {\r\n display: block;\r\n position: fixed;\r\n z-index: 100000;\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: 8px;\r\n padding: 16px;\r\n pointer-events: none;\r\n z-index: 100001;\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: 12px;\r\n padding: 14px 16px;\r\n border-radius: 8px;\r\n box-shadow: 0 8px 24px rgba(0,0,0,.12);\r\n font-size: 0.875rem;\r\n min-width: 280px;\r\n max-width: 400px;\r\n animation: u-slide-in-right .2s ease;\r\n background: #fff;\r\n border: 1px solid #9ca3af;\r\n}\r\n.toast-exit {\r\n animation: u-slide-out-right .2s ease forwards;\r\n}\r\n.toast-info { border-left: 4px solid #3b82f6; }\r\n.toast-success { border-left: 4px solid #16a34a; }\r\n.toast-warning { border-left: 4px solid #d97706; }\r\n.toast-error { border-left: 4px solid #ef4444; }\r\n.toast-body { flex: 1; }\r\n.toast-title { font-weight: 600; color: #111827; }\r\n.toast-desc { color: #4b5563; margin-top: 4px; font-size: 0.8rem; }\r\n.toast-action {\r\n background: none;\r\n border: none;\r\n color: #2563eb;\r\n cursor: pointer;\r\n font-weight: 500;\r\n font-family: inherit;\r\n font-size: 0.8rem;\r\n white-space: nowrap;\r\n padding: 0;\r\n margin-top: 4px;\r\n}\r\n.toast-action:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; border-radius: 2px; }\n.toast-action:hover { color: #2563eb; }\r\n.toast-close {\r\n background: none;\r\n border: none;\r\n cursor: pointer;\r\n color: #4b5563;\r\n font-size: 1.2rem;\r\n padding: 0;\r\n line-height: 1;\r\n flex-shrink: 0;\r\n}\r\n.toast-close:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; border-radius: 2px; }\n.toast-close:hover { color: #374151; }\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: 99999;\r\n background: #fff;\r\n border: 1px solid #d1d5db;\r\n border-radius: 10px;\r\n box-shadow: 0 8px 24px rgba(0,0,0,.14);\r\n padding: 4px;\r\n min-width: 180px;\r\n max-height: 320px;\r\n overflow-y: auto;\r\n animation: u-cm-in .12s 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: 0.875rem;\r\n padding: 8px 12px;\r\n border: none;\r\n background: none;\r\n cursor: pointer;\r\n color: #374151;\r\n text-align: left;\r\n border-radius: 6px;\r\n transition: background .1s;\r\n display: flex;\r\n align-items: center;\r\n gap: 8px;\r\n width: 100%;\r\n box-sizing: border-box;\r\n}\r\n.cm-item:hover { background: #f3f4f6; }\r\n.cm-item:focus-visible { box-shadow: 0 0 0 2px #3b82f6; }\r\n.cm-item:disabled { opacity: 0.4; cursor: not-allowed; }\r\n.cm-item-icon { width: 16px; text-align: center; font-size: 1rem; flex-shrink: 0; }\r\n.cm-item-label { flex: 1; }\r\n.cm-divider { height: 1px; background: #f3f4f6; margin: 4px 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: 4px;\r\n}\r\n.sortable-dragging {\r\n opacity: 0.9;\r\n box-shadow: 0 8px 24px rgba(0,0,0,.15);\r\n border-radius: 6px;\r\n cursor: grabbing;\r\n}\r\n.sortable-item:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; }\n.sortable-placeholder {\r\n border: 2px dashed #d1d5db;\r\n border-radius: 6px;\r\n opacity: 0.5;\r\n box-sizing: border-box;\r\n transition: height 0.15s ease, margin 0.15s 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: 16px;\r\n}\r\n`;\r\n","export const badgeStyles = `\n:host {\n display: inline-flex;\n vertical-align: middle;\n}\n[part=\"badge\"] {\n font-family: inherit;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-weight: 500;\n line-height: 1;\n white-space: nowrap;\n user-select: none;\n transition: background .15s, color .15s;\n}\n.badge-pill {\n border-radius: 999px;\n}\n.badge-square {\n border-radius: 4px;\n}\n.badge-sm {\n font-size: 0.6875rem;\n padding: 2px 6px;\n min-height: 16px;\n min-width: 16px;\n}\n.badge-md {\n font-size: 0.75rem;\n padding: 3px 8px;\n min-height: 20px;\n min-width: 20px;\n}\n.badge-lg {\n font-size: 0.8125rem;\n padding: 4px 10px;\n min-height: 24px;\n min-width: 24px;\n}\n.badge-default {\n background: #f3f4f6;\n color: #374151;\n}\n.badge-primary {\n background: #eff6ff;\n color: #2563eb;\n}\n.badge-success {\n background: #dcfce7;\n color: #15803d;\n}\n.badge-warning {\n background: #fef3c7;\n color: #b45309;\n}\n.badge-danger {\n background: #fef2f2;\n color: #dc2626;\n}\n.badge-info {\n background: #e0f2fe;\n color: #0369a1;\n}\n.badge-dot {\n width: 8px;\n height: 8px;\n padding: 0;\n border-radius: 50%;\n min-width: 8px;\n min-height: 8px;\n}\n.badge-dot.badge-sm {\n width: 6px;\n height: 6px;\n min-width: 6px;\n min-height: 6px;\n}\n.badge-dot.badge-lg {\n width: 10px;\n height: 10px;\n min-width: 10px;\n min-height: 10px;\n}\n`;\n","export const cardStyles = `\n:host {\n display: block;\n}\n[part=\"card\"] {\n display: flex;\n flex-direction: column;\n font-family: inherit;\n transition: box-shadow .2s, border-color .2s, transform .2s;\n position: relative;\n overflow: hidden;\n}\n.card-default {\n background: #fff;\n border: 1px solid #d1d5db;\n border-radius: 12px;\n box-shadow: 0 1px 3px rgba(0,0,0,.05);\n}\n.card-outlined {\n background: transparent;\n border: 1px solid #d1d5db;\n border-radius: 12px;\n}\n.card-elevated {\n background: #fff;\n border: 1px solid transparent;\n border-radius: 12px;\n box-shadow: 0 4px 16px rgba(0,0,0,.08);\n}\n.card-hoverable:hover {\n box-shadow: 0 8px 24px rgba(0,0,0,.12);\n border-color: #9ca3af;\n transform: translateY(-2px);\n}\n.card-image {\n width: 100%;\n overflow: hidden;\n line-height: 0;\n}\n.card-image img,\n.card-image ::slotted(img) {\n width: 100%;\n height: auto;\n display: block;\n object-fit: cover;\n}\n.card-image-full {\n border-radius: 0;\n}\n.card-image-top {\n border-radius: 12px 12px 0 0;\n}\n.card-image-bottom {\n border-radius: 0 0 12px 12px;\n}\n[part=\"header\"] {\n padding: 16px 20px 0;\n font-weight: 600;\n font-size: 1rem;\n color: #111827;\n}\n[part=\"content\"] {\n padding: 16px 20px;\n flex: 1;\n min-width: 0;\n color: #374151;\n font-size: 0.875rem;\n line-height: 1.6;\n}\n[part=\"footer\"] {\n padding: 0 20px 16px;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.card-padding-none [part=\"header\"] { padding: 0; }\n.card-padding-none [part=\"content\"] { padding: 0; }\n.card-padding-none [part=\"footer\"] { padding: 0; }\n.card-padding-sm [part=\"header\"] { padding: 12px 14px 0; }\n.card-padding-sm [part=\"content\"] { padding: 12px 14px; }\n.card-padding-sm [part=\"footer\"] { padding: 0 14px 12px; }\n.card-padding-lg [part=\"header\"] { padding: 20px 24px 0; }\n.card-padding-lg [part=\"content\"] { padding: 20px 24px; }\n.card-padding-lg [part=\"footer\"] { padding: 0 24px 20px; }\n`;\n"]}
|