@vielzeug/refine 26.10.10 → 26.10.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/README.md +2 -0
  2. package/THIRD_PARTY_NOTICES +116 -0
  3. package/dist/carousel.cjs +1 -1
  4. package/dist/carousel.cjs.map +1 -1
  5. package/dist/carousel.js +1 -1
  6. package/dist/carousel.js.map +1 -1
  7. package/dist/content/carousel/carousel.css.cjs +1 -1
  8. package/dist/content/carousel/carousel.css.cjs.map +1 -1
  9. package/dist/content/carousel/carousel.css.js +1 -1
  10. package/dist/content/carousel/carousel.css.js.map +1 -1
  11. package/dist/content/icon/icon.d.ts +8 -9
  12. package/dist/content/icon/icon.d.ts.map +1 -1
  13. package/dist/content/index.d.ts +6 -1
  14. package/dist/content/index.d.ts.map +1 -1
  15. package/dist/custom-elements.json +896 -450
  16. package/dist/icon.cjs +4 -4
  17. package/dist/icon.cjs.map +1 -1
  18. package/dist/icon.js +4 -4
  19. package/dist/icon.js.map +1 -1
  20. package/dist/icons/_iconify-map.cjs +2 -0
  21. package/dist/icons/_iconify-map.cjs.map +1 -0
  22. package/dist/icons/_iconify-map.d.ts +5 -0
  23. package/dist/icons/_iconify-map.d.ts.map +1 -0
  24. package/dist/icons/_iconify-map.js +2 -0
  25. package/dist/icons/_iconify-map.js.map +1 -0
  26. package/dist/icons/defaults.cjs +2 -0
  27. package/dist/icons/defaults.cjs.map +1 -0
  28. package/dist/icons/defaults.d.ts +2 -0
  29. package/dist/icons/defaults.d.ts.map +1 -0
  30. package/dist/icons/defaults.js +2 -0
  31. package/dist/icons/defaults.js.map +1 -0
  32. package/dist/icons/definition.d.ts +13 -0
  33. package/dist/icons/definition.d.ts.map +1 -0
  34. package/dist/icons/heroicons.cjs +2 -0
  35. package/dist/icons/heroicons.cjs.map +1 -0
  36. package/dist/icons/heroicons.d.ts +9 -0
  37. package/dist/icons/heroicons.d.ts.map +1 -0
  38. package/dist/icons/heroicons.js +2 -0
  39. package/dist/icons/heroicons.js.map +1 -0
  40. package/dist/icons/iconify.cjs +2 -0
  41. package/dist/icons/iconify.cjs.map +1 -0
  42. package/dist/icons/iconify.d.ts +34 -0
  43. package/dist/icons/iconify.d.ts.map +1 -0
  44. package/dist/icons/iconify.js +2 -0
  45. package/dist/icons/iconify.js.map +1 -0
  46. package/dist/icons/index.cjs +1 -0
  47. package/dist/icons/index.d.ts +3 -0
  48. package/dist/icons/index.d.ts.map +1 -0
  49. package/dist/icons/index.js +1 -0
  50. package/dist/icons/lucide/all.cjs +2 -0
  51. package/dist/icons/lucide/all.cjs.map +1 -0
  52. package/dist/icons/lucide/all.d.ts +2 -0
  53. package/dist/icons/lucide/all.d.ts.map +1 -0
  54. package/dist/icons/lucide/all.js +2 -0
  55. package/dist/icons/lucide/all.js.map +1 -0
  56. package/dist/icons/lucide.cjs +2 -0
  57. package/dist/icons/lucide.cjs.map +1 -0
  58. package/dist/icons/lucide.d.ts +5 -0
  59. package/dist/icons/lucide.d.ts.map +1 -0
  60. package/dist/icons/lucide.js +2 -0
  61. package/dist/icons/lucide.js.map +1 -0
  62. package/dist/icons/mdi.cjs +2 -0
  63. package/dist/icons/mdi.cjs.map +1 -0
  64. package/dist/icons/mdi.d.ts +9 -0
  65. package/dist/icons/mdi.d.ts.map +1 -0
  66. package/dist/icons/mdi.js +2 -0
  67. package/dist/icons/mdi.js.map +1 -0
  68. package/dist/icons/registry.cjs +2 -0
  69. package/dist/icons/registry.cjs.map +1 -0
  70. package/dist/icons/registry.d.ts +7 -0
  71. package/dist/icons/registry.d.ts.map +1 -0
  72. package/dist/icons/registry.js +2 -0
  73. package/dist/icons/registry.js.map +1 -0
  74. package/dist/icons/svg.cjs +2 -0
  75. package/dist/icons/svg.cjs.map +1 -0
  76. package/dist/icons/svg.d.ts +8 -0
  77. package/dist/icons/svg.d.ts.map +1 -0
  78. package/dist/icons/svg.js +2 -0
  79. package/dist/icons/svg.js.map +1 -0
  80. package/dist/icons/tabler.cjs +2 -0
  81. package/dist/icons/tabler.cjs.map +1 -0
  82. package/dist/icons/tabler.d.ts +9 -0
  83. package/dist/icons/tabler.d.ts.map +1 -0
  84. package/dist/icons/tabler.js +2 -0
  85. package/dist/icons/tabler.js.map +1 -0
  86. package/dist/index.cjs +1 -1
  87. package/dist/index.d.ts +2 -0
  88. package/dist/index.d.ts.map +1 -1
  89. package/dist/index.js +1 -1
  90. package/dist/inputs/message-composer/message-composer.d.ts +2 -2
  91. package/dist/inputs/message-composer/message-composer.d.ts.map +1 -1
  92. package/dist/inputs/select/select.d.ts +1 -1
  93. package/dist/inputs/select/select.d.ts.map +1 -1
  94. package/dist/layout/navbar/navbar.d.ts.map +1 -1
  95. package/dist/message-composer.cjs.map +1 -1
  96. package/dist/message-composer.js.map +1 -1
  97. package/dist/navbar.cjs +1 -1
  98. package/dist/navbar.cjs.map +1 -1
  99. package/dist/navbar.js +1 -1
  100. package/dist/navbar.js.map +1 -1
  101. package/dist/overlay/command-palette/command-palette.types.d.ts +1 -1
  102. package/dist/overlay/command-palette/command-palette.types.d.ts.map +1 -1
  103. package/dist/refine.cjs +153 -153
  104. package/dist/refine.cjs.map +1 -1
  105. package/dist/refine.iife.js +153 -153
  106. package/dist/refine.iife.js.map +1 -1
  107. package/dist/refine.js +129 -129
  108. package/dist/refine.js.map +1 -1
  109. package/dist/select.cjs.map +1 -1
  110. package/dist/select.js.map +1 -1
  111. package/dist/shared/prop-bundles.d.ts +3 -3
  112. package/package.json +81 -22
  113. package/dist/_virtual/_rolldown/runtime.cjs +0 -1
  114. package/dist/core/icon-registry.cjs +0 -2
  115. package/dist/core/icon-registry.cjs.map +0 -1
  116. package/dist/core/icon-registry.d.ts +0 -15
  117. package/dist/core/icon-registry.d.ts.map +0 -1
  118. package/dist/core/icon-registry.js +0 -2
  119. package/dist/core/icon-registry.js.map +0 -1
  120. package/dist/core/icons.cjs +0 -2
  121. package/dist/core/icons.cjs.map +0 -1
  122. package/dist/core/icons.d.ts +0 -2
  123. package/dist/core/icons.d.ts.map +0 -1
  124. package/dist/core/icons.js +0 -2
  125. package/dist/core/icons.js.map +0 -1
  126. package/dist/icon-lucide.cjs +0 -2
  127. package/dist/icon-lucide.cjs.map +0 -1
  128. package/dist/icon-lucide.d.ts +0 -2
  129. package/dist/icon-lucide.d.ts.map +0 -1
  130. package/dist/icon-lucide.js +0 -2
  131. package/dist/icon-lucide.js.map +0 -1
package/dist/icon.cjs CHANGED
@@ -1,6 +1,6 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./core/icon-registry.cjs");require("./_dev.cjs"),require("./core/icons.cjs");const t=require("./content/icon/icon.css.cjs");let n=require("@vielzeug/ripple"),r=require("@vielzeug/ore");var i=16,a=2,o=24,s=`http://www.w3.org/2000/svg`,c=new Set([`circle`,`clipPath`,`defs`,`ellipse`,`g`,`line`,`linearGradient`,`mask`,`path`,`polygon`,`polyline`,`radialGradient`,`rect`,`stop`,`symbol`,`use`]),l=/^[a-zA-Z][a-zA-Z0-9:_-]*$/,u=/^(on|xlink:|xml:|href$)/i,parseSize=e=>{if(e==null||e===``)return i;let t=Number(e);return Number.isFinite(t)&&t>0&&/^\d+(\.\d+)?$/.test(e.trim())?t:e},createSvgChild=(e,t)=>{if(!c.has(e))return null;let n=document.createElementNS(s,e);for(let[e,r]of Object.entries(t))r!==void 0&&l.test(e)&&!u.test(e)&&n.setAttribute(e,String(r));return n},d=`ore-icon`;(0,r.define)(d,{props:{absoluteStrokeWidth:r.prop.bool(),label:r.prop.string(),name:r.prop.string(),size:{default:i,parse:parseSize,reflect:!1},solid:r.prop.bool(),strokeWidth:r.prop.number(a)},setup(t){(0,r.bind)({attr:{"aria-hidden":()=>(t.label.value??``).trim()?null:`true`,"aria-label":()=>(t.label.value??``).trim()||null,role:()=>(t.label.value??``).trim()?`img`:null},style:{"--_size-px":()=>{let e=t.size.value;return typeof e==`number`?`${e}px`:String(e)}}});let i=(0,r.ref)(),a=(0,n.computed)(()=>{let n=(t.name.value??``).trim();if(!n)return;let r=e.resolveIcon(n);return r||`${n.slice(0,64)}`,r});return(0,r.watchEffect)(()=>{let e=i.value,n=a.value;if(!e||!n)return;let r=t.size.value,s=typeof r==`number`?r:o,c=t.absoluteStrokeWidth.value&&!t.solid.value?t.strokeWidth.value*(o/s):t.strokeWidth.value;e.setAttribute(`fill`,t.solid.value?`currentColor`:`none`),e.setAttribute(`stroke`,t.solid.value?`none`:`currentColor`),e.setAttribute(`stroke-linecap`,`round`),e.setAttribute(`stroke-linejoin`,`round`),e.setAttribute(`stroke-width`,String(t.solid.value?0:c)),e.setAttribute(`viewBox`,`0 0 24 24`);let l=n.map(([e,t])=>createSvgChild(e,t)).filter(e=>!!e);e.replaceChildren(...l)}),r.html`
2
- ${(0,r.when)(()=>!!a.value,()=>r.html`
3
- <svg ref="${i}" part="svg" style="width:100%;height:100%"></svg>
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./icons/svg.cjs"),t=require("./icons/registry.cjs");require("./_dev.cjs"),require("./icons/defaults.cjs");const n=require("./content/icon/icon.css.cjs");let r=require("@vielzeug/ripple"),i=require("@vielzeug/ore");var a=16,o=0,parseSize=e=>{if(e==null||e===``)return a;let t=Number(e);return Number.isFinite(t)&&t>0&&/^\d+(\.\d+)?$/.test(e.trim())?t:e},s=`ore-icon`;(0,i.define)(s,{props:{absoluteStrokeWidth:i.prop.bool(),label:i.prop.string(),name:i.prop.string(),size:{default:a,parse:parseSize,reflect:!1},solid:i.prop.bool(),strokeWidth:i.prop.number()},setup(n){let a=`ore-icon-${++o}-`;(0,i.bind)({attr:{"aria-hidden":()=>(n.label.value??``).trim()?null:`true`,"aria-label":()=>(n.label.value??``).trim()||null,role:()=>(n.label.value??``).trim()?`img`:null},style:{"--_size-px":()=>{let e=n.size.value;return typeof e==`number`?`${e}px`:String(e)}}});let s=(0,i.ref)(),c=(0,r.computed)(()=>{let e=(n.name.value??``).trim();if(!e)return;let r=t.resolveIcon(e);return r||`${e.slice(0,64)}`,r});return(0,i.watchEffect)(()=>{let t=s.value,r=c.value;if(!t||!r)return;for(let e of[...t.attributes])e.name!==`part`&&e.name!==`style`&&t.removeAttribute(e.name);for(let[e,n]of Object.entries(r.presentation??{}))n!==void 0&&t.setAttribute(e,String(n).replace(/url\(#([\w:.-]+)\)/g,`url(#${a}$1)`));t.setAttribute(`viewBox`,r.viewBox.join(` `));let i=e.createIconChildren(r,a);if(n.strokeWidth.value!==void 0){t.setAttribute(`stroke-width`,String(n.strokeWidth.value));for(let e of i){e.removeAttribute(`stroke-width`);for(let t of e.querySelectorAll(`[stroke-width]`))t.removeAttribute(`stroke-width`)}}if(n.absoluteStrokeWidth.value)for(let e of i){e.setAttribute(`vector-effect`,`non-scaling-stroke`);for(let t of e.querySelectorAll(`*`))t.setAttribute(`vector-effect`,`non-scaling-stroke`)}if(n.solid.value)for(let e of[t,...i.flatMap(e=>[e,...e.querySelectorAll(`*`)])])e.setAttribute(`fill`,`currentColor`),e.setAttribute(`stroke`,`none`);t.replaceChildren(...i)}),i.html`
2
+ ${(0,i.when)(()=>!!c.value,()=>i.html`
3
+ <svg ref="${s}" part="svg" style="width:100%;height:100%"></svg>
4
4
  `)}
5
- `},styles:[t.default]}),exports.ICON_TAG=d,exports.registerIcons=e.registerIcons;
5
+ `},styles:[n.default]}),exports.ICON_TAG=s,exports.registerIcons=t.registerIcons;
6
6
  //# sourceMappingURL=icon.cjs.map
package/dist/icon.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"icon.cjs","names":[],"sources":["../src/content/icon/icon.ts"],"sourcesContent":["import { bind, define, html, prop, ref, watchEffect, when } from '@vielzeug/ore';\nimport { computed } from '@vielzeug/ripple';\n\nimport { warn } from '../../_dev';\nimport { type IconNode, resolveIcon } from '../../core/icon-registry';\nimport '../../core/icons';\nimport styles from './icon.css?inline';\n\nexport { registerIcons } from '../../core/icon-registry';\nexport type { IconNode };\n\nconst DEFAULT_SIZE = 16;\nconst DEFAULT_STROKE_WIDTH = 2;\nconst LUCIDE_VIEWBOX_SIZE = 24;\nconst SVG_NS = 'http://www.w3.org/2000/svg';\n\n/**\n * Allowlisted SVG shape/structure element names. Only these tags are permitted\n * when building the SVG DOM from an IconNode, preventing arbitrary element\n * injection (e.g. <script>, event-handler-bearing elements).\n */\nconst ALLOWED_SVG_TAGS = new Set([\n 'circle',\n 'clipPath',\n 'defs',\n 'ellipse',\n 'g',\n 'line',\n 'linearGradient',\n 'mask',\n 'path',\n 'polygon',\n 'polyline',\n 'radialGradient',\n 'rect',\n 'stop',\n 'symbol',\n 'use',\n]);\n\n/**\n * Allowlisted SVG presentation / structural attribute names.\n * Event handler attributes (on*) and \"xlink:href\" are excluded.\n */\nconst ATTR_KEY_RE = /^[a-zA-Z][a-zA-Z0-9:_-]*$/;\nconst BLOCKED_ATTR_RE = /^(on|xlink:|xml:|href$)/i;\n\nconst parseSize = (value: string | null): number | string => {\n if (value == null || value === '') return DEFAULT_SIZE;\n\n const n = Number(value);\n\n return Number.isFinite(n) && n > 0 && /^\\d+(\\.\\d+)?$/.test(value.trim()) ? n : value;\n};\n\n/**\n * Builds an allowlisted SVG child element via `createElementNS`: real DOM construction, not\n * HTML-string parsing, so this never touches Ore's `unsafeHtml()` directive (and its \"unsanitized\n * HTML\" dev warning) at all. `iconNode` entries come from a registered icon set (refine's own,\n * `registerIcons()`, or `@vielzeug/refine/icon-lucide`): a developer/build-time API, never runtime\n * user input, but the tag/attr allowlist stays as defense in depth regardless of where the data\n * originated.\n */\nconst createSvgChild = (tag: string, attrs: Record<string, string | number | undefined>): SVGElement | null => {\n if (!ALLOWED_SVG_TAGS.has(tag)) return null;\n\n const el = document.createElementNS(SVG_NS, tag);\n\n for (const [key, value] of Object.entries(attrs)) {\n if (value === undefined) continue;\n\n if (!ATTR_KEY_RE.test(key) || BLOCKED_ATTR_RE.test(key)) continue;\n\n el.setAttribute(key, String(value));\n }\n\n return el;\n};\n\n/** Icon component properties */\nexport type OreIconProps = {\n /** Keep stroke width visually consistent when icon size changes */\n absoluteStrokeWidth?: boolean;\n /** Accessible text label. Decorative icons should omit this. */\n label?: string;\n /** Lucide icon name, e.g. `search` or `chevron-right`; resolves from the registered set */\n name?: string;\n /** Icon width/height in px by default. Accepts CSS lengths. */\n size?: number | string;\n /** Render as a filled/solid shape instead of a stroked outline */\n solid?: boolean;\n /** SVG stroke width */\n strokeWidth?: number;\n};\n\n/**\n * Icon wrapper for consistent Lucide rendering across Block.\n *\n * Names resolve from a synchronous registry: refine's own component icons are\n * always registered; apps register their set with `registerIcons()` or import\n * `@vielzeug/refine/icon-lucide` for the complete library.\n *\n * @element ore-icon\n *\n * @attr {string} name - Lucide icon name, e.g. `search` or `chevron-right`, resolved from the registered set\n * @attr {number|string} size - Width/height (default: 16)\n * @attr {number} stroke-width - SVG stroke width (default: 2)\n * @attr {boolean} absolute-stroke-width - Keep stroke width visually stable across icon sizes\n * @attr {boolean} solid - Render as filled shape instead of stroked outline\n * @attr {string} label - Accessible label; when omitted the icon is decorative\n *\n * @csspart svg - Internal SVG element\n *\n * @example\n * ```html\n * <ore-icon name=\"search\"></ore-icon>\n * <ore-icon name=\"chevron-right\" size=\"18\"></ore-icon>\n * <ore-icon name=\"trash-2\" label=\"Delete\"></ore-icon>\n * <ore-icon name=\"star\" solid></ore-icon>\n * ```\n */\nexport const ICON_TAG = 'ore-icon' as const;\ndefine<OreIconProps>(ICON_TAG, {\n props: {\n absoluteStrokeWidth: prop.bool(),\n label: prop.string(),\n name: prop.string(),\n size: { default: DEFAULT_SIZE as number | string, parse: parseSize, reflect: false },\n solid: prop.bool(),\n strokeWidth: prop.number(DEFAULT_STROKE_WIDTH),\n },\n setup(props) {\n bind({\n attr: {\n 'aria-hidden': () => ((props.label.value ?? '').trim() ? null : 'true'),\n 'aria-label': () => (props.label.value ?? '').trim() || null,\n role: () => ((props.label.value ?? '').trim() ? 'img' : null),\n },\n style: {\n '--_size-px': () => {\n const s = props.size.value;\n\n return typeof s === 'number' ? `${s}px` : String(s);\n },\n },\n });\n\n const svgRef = ref<SVGSVGElement>();\n\n // Memoized so an unknown icon name only warns once per change, not once per reactive read.\n const iconNode = computed(() => {\n const name = (props.name.value ?? '').trim();\n\n if (!name) return undefined;\n\n const node = resolveIcon(name);\n\n if (!node) warn(`ore-icon: icon not found: \"${name.slice(0, 64)}\"`);\n\n return node;\n });\n\n // Real DOM construction (createElementNS), not the unsafeHtml() directive: see createSvgChild's\n // doc comment. Rebuilds the <svg>'s attributes and children whenever the icon name, size,\n // or presentation props change, or when `svgRef` first attaches (a fresh element mounts\n // every time `when()`'s branch below flips truthy).\n watchEffect(() => {\n const svg = svgRef.value;\n const node = iconNode.value;\n\n if (!svg || !node) return;\n\n const size = props.size.value;\n const numericSize = typeof size === 'number' ? size : LUCIDE_VIEWBOX_SIZE;\n const strokeWidth =\n props.absoluteStrokeWidth.value && !props.solid.value\n ? props.strokeWidth.value! * (LUCIDE_VIEWBOX_SIZE / numericSize)\n : props.strokeWidth.value!;\n\n svg.setAttribute('fill', props.solid.value ? 'currentColor' : 'none');\n svg.setAttribute('stroke', props.solid.value ? 'none' : 'currentColor');\n svg.setAttribute('stroke-linecap', 'round');\n svg.setAttribute('stroke-linejoin', 'round');\n svg.setAttribute('stroke-width', String(props.solid.value ? 0 : strokeWidth));\n svg.setAttribute('viewBox', '0 0 24 24');\n\n const children = node.map(([tag, attrs]) => createSvgChild(tag, attrs)).filter((el): el is SVGElement => !!el);\n\n svg.replaceChildren(...children);\n });\n\n return html`\n ${when(\n () => !!iconNode.value,\n () => html`\n <svg ref=\"${svgRef}\" part=\"svg\" style=\"width:100%;height:100%\"></svg>\n `,\n )}\n `;\n },\n styles: [styles],\n});\n"],"mappings":"6QAWA,IAAM,EAAe,GACf,EAAuB,EACvB,EAAsB,GACtB,EAAS,6BAOT,EAAmB,IAAI,IAAI,CAC/B,SACA,WACA,OACA,UACA,IACA,OACA,iBACA,OACA,OACA,UACA,WACA,iBACA,OACA,OACA,SACA,KACF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A,IAAA,CAAmB,EAG5B,GAAA,EAAW,EAAA,SAAA,KAAe,CAC9B,IAAM,GAAQ,EAAM,KAAK,OAAS,GAAA,CAAI,KAAK,EAE3C,GAAI,CAAC,EAAM,OAEX,IAAM,EAAO,EAAA,YAAY,CAAI,EAI7B,OAFK,GAAW,GAA8B,EAAK,MAAM,EAAG,EAAE,EAA9C,EAET,CACT,CAAC,EA+BD,OAzBA,EAAA,EAAA,YAAA,KAAkB,CAChB,IAAM,EAAM,EAAO,MACb,EAAO,EAAS,MAEtB,GAAI,CAAC,GAAO,CAAC,EAAM,OAEnB,IAAM,EAAO,EAAM,KAAK,MAClB,EAAc,OAAO,GAAS,SAAW,EAAO,EAChD,EACJ,EAAM,oBAAoB,OAAS,CAAC,EAAM,MAAM,MAC5C,EAAM,YAAY,OAAU,EAAsB,GAClD,EAAM,YAAY,MAExB,EAAI,aAAa,OAAQ,EAAM,MAAM,MAAQ,eAAiB,MAAM,EACpE,EAAI,aAAa,SAAU,EAAM,MAAM,MAAQ,OAAS,cAAc,EACtE,EAAI,aAAa,iBAAkB,OAAO,EAC1C,EAAI,aAAa,kBAAmB,OAAO,EAC3C,EAAI,aAAa,eAAgB,OAAO,EAAM,MAAM,MAAQ,EAAI,CAAW,CAAC,EAC5E,EAAI,aAAa,UAAW,WAAW,EAEvC,IAAM,EAAW,EAAK,KAAK,CAAC,EAAK,KAAW,eAAe,EAAK,CAAK,CAAC,CAAC,CAAC,OAAQ,GAAyB,CAAC,CAAC,CAAE,EAE7G,EAAI,gBAAgB,GAAG,CAAQ,CACjC,CAAC,EAEM,EAAA,IAAI;SACP,EAAA,EAAA,KAAA,KACM,CAAC,CAAC,EAAS,UACX,EAAA,IAAI;sBACI,EAAO;SAEvB,EAAE;KAEN,EACA,OAAQ,CAAC,EAAA,OAAM,CACjB,CAAC"}
1
+ {"version":3,"file":"icon.cjs","names":[],"sources":["../src/content/icon/icon.ts"],"sourcesContent":["import { bind, define, html, prop, ref, watchEffect, when } from '@vielzeug/ore';\nimport { computed } from '@vielzeug/ripple';\n\nimport { warn } from '../../_dev';\nimport { resolveIcon } from '../../icons/registry';\nimport { createIconChildren } from '../../icons/svg';\nimport '../../icons/defaults';\nimport styles from './icon.css?inline';\n\nexport type { IconAttributes, IconDefinition, IconElement } from '../../icons';\nexport { registerIcons } from '../../icons';\n\nconst DEFAULT_SIZE = 16;\nlet instanceId = 0;\n\nconst parseSize = (value: string | null): number | string => {\n if (value == null || value === '') return DEFAULT_SIZE;\n\n const n = Number(value);\n\n return Number.isFinite(n) && n > 0 && /^\\d+(\\.\\d+)?$/.test(value.trim()) ? n : value;\n};\n\n/** Icon component properties */\nexport type OreIconProps = {\n /** Keep stroke width visually consistent when icon size changes */\n absoluteStrokeWidth?: boolean;\n /** Accessible text label. Decorative icons should omit this. */\n label?: string;\n /** Registered icon name, e.g. `search` or `heroicons:home` */\n name?: string;\n /** Icon width/height in px by default. Accepts CSS lengths. */\n size?: number | string;\n /** Render as a filled/solid shape instead of a stroked outline */\n solid?: boolean;\n /** SVG stroke width */\n strokeWidth?: number;\n};\n\n/**\n * Library-neutral SVG icon rendering with explicit local registration.\n *\n * Names resolve from a synchronous registry: refine's own component icons are\n * always registered; apps register their set with `registerIcons()` or import\n * `@vielzeug/refine/icons/lucide/all` for the complete Lucide library.\n *\n * @element ore-icon\n *\n * @attr {string} name - Registered icon name\n * @attr {number|string} size - Width/height (default: 16)\n * @attr {number} stroke-width - Override the icon's stroke width\n * @attr {boolean} absolute-stroke-width - Keep stroke width visually stable across icon sizes\n * @attr {boolean} solid - Render as filled shape instead of stroked outline\n * @attr {string} label - Accessible label; when omitted the icon is decorative\n *\n * @csspart svg - Internal SVG element\n *\n * @example\n * ```html\n * <ore-icon name=\"search\"></ore-icon>\n * <ore-icon name=\"chevron-right\" size=\"18\"></ore-icon>\n * <ore-icon name=\"trash-2\" label=\"Delete\"></ore-icon>\n * <ore-icon name=\"star\" solid></ore-icon>\n * ```\n */\nexport const ICON_TAG = 'ore-icon' as const;\ndefine<OreIconProps>(ICON_TAG, {\n props: {\n absoluteStrokeWidth: prop.bool(),\n label: prop.string(),\n name: prop.string(),\n size: { default: DEFAULT_SIZE as number | string, parse: parseSize, reflect: false },\n solid: prop.bool(),\n strokeWidth: prop.number(),\n },\n setup(props) {\n const prefix = `ore-icon-${++instanceId}-`;\n bind({\n attr: {\n 'aria-hidden': () => ((props.label.value ?? '').trim() ? null : 'true'),\n 'aria-label': () => (props.label.value ?? '').trim() || null,\n role: () => ((props.label.value ?? '').trim() ? 'img' : null),\n },\n style: {\n '--_size-px': () => {\n const s = props.size.value;\n\n return typeof s === 'number' ? `${s}px` : String(s);\n },\n },\n });\n\n const svgRef = ref<SVGSVGElement>();\n\n // Memoized so an unknown icon name only warns once per change, not once per reactive read.\n const iconNode = computed(() => {\n const name = (props.name.value ?? '').trim();\n\n if (!name) return undefined;\n\n const node = resolveIcon(name);\n\n if (!node) warn(`ore-icon: icon not found: \"${name.slice(0, 64)}\"`);\n\n return node;\n });\n\n // Rebuild from validated data so presentation overrides never leak between icons.\n watchEffect(() => {\n const svg = svgRef.value;\n const node = iconNode.value;\n\n if (!svg || !node) return;\n\n for (const attr of [...svg.attributes]) {\n if (attr.name !== 'part' && attr.name !== 'style') svg.removeAttribute(attr.name);\n }\n for (const [key, value] of Object.entries(node.presentation ?? {})) {\n if (value !== undefined)\n svg.setAttribute(key, String(value).replace(/url\\(#([\\w:.-]+)\\)/g, `url(#${prefix}$1)`));\n }\n svg.setAttribute('viewBox', node.viewBox.join(' '));\n const children = createIconChildren(node, prefix);\n if (props.strokeWidth.value !== undefined) {\n svg.setAttribute('stroke-width', String(props.strokeWidth.value));\n for (const child of children) {\n child.removeAttribute('stroke-width');\n for (const nested of child.querySelectorAll('[stroke-width]')) nested.removeAttribute('stroke-width');\n }\n }\n if (props.absoluteStrokeWidth.value) {\n // Non-scaling stroke also handles CSS sizes and non-square viewBoxes.\n for (const child of children) {\n child.setAttribute('vector-effect', 'non-scaling-stroke');\n for (const nested of child.querySelectorAll('*')) nested.setAttribute('vector-effect', 'non-scaling-stroke');\n }\n }\n if (props.solid.value) {\n for (const element of [svg, ...children.flatMap((child) => [child, ...child.querySelectorAll('*')])]) {\n element.setAttribute('fill', 'currentColor');\n element.setAttribute('stroke', 'none');\n }\n }\n svg.replaceChildren(...children);\n });\n\n return html`\n ${when(\n () => !!iconNode.value,\n () => html`\n <svg ref=\"${svgRef}\" part=\"svg\" style=\"width:100%;height:100%\"></svg>\n `,\n )}\n `;\n },\n styles: [styles],\n});\n"],"mappings":"0SAYA,IAAM,EAAe,GACjB,EAAa,EAEX,UAAa,GAA0C,CAC3D,GAAI,GAAS,MAAQ,IAAU,GAAI,OAAO,EAE1C,IAAM,EAAI,OAAO,CAAK,EAEtB,OAAO,OAAO,SAAS,CAAC,GAAK,EAAI,GAAK,gBAAgB,KAAK,EAAM,KAAK,CAAC,EAAI,EAAI,CACjF,EA4Ca,EAAW,YACxB,EAAA,EAAA,OAAA,CAAqB,EAAU,CAC7B,MAAO,CACL,oBAAqB,EAAA,KAAK,KAAK,EAC/B,MAAO,EAAA,KAAK,OAAO,EACnB,KAAM,EAAA,KAAK,OAAO,EAClB,KAAM,CAAE,QAAS,EAAiC,MAAO,UAAW,QAAS,EAAM,EACnF,MAAO,EAAA,KAAK,KAAK,EACjB,YAAa,EAAA,KAAK,OAAO,CAC3B,EACA,MAAM,EAAO,CACX,IAAM,EAAS,YAAY,EAAE,EAAW,IACxC,EAAA,EAAA,KAAA,CAAK,CACH,KAAM,CACJ,mBAAuB,EAAM,MAAM,OAAS,GAAA,CAAI,KAAK,EAAI,KAAO,OAChE,kBAAqB,EAAM,MAAM,OAAS,GAAA,CAAI,KAAK,GAAK,KACxD,UAAc,EAAM,MAAM,OAAS,GAAA,CAAI,KAAK,EAAI,MAAQ,IAC1D,EACA,MAAO,CACL,iBAAoB,CAClB,IAAM,EAAI,EAAM,KAAK,MAErB,OAAO,OAAO,GAAM,SAAW,GAAG,EAAE,IAAM,OAA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B,CAC7G,CAEF,GAAI,EAAM,MAAM,MACd,IAAK,IAAM,IAAW,CAAC,EAAK,GAAG,EAAS,QAAS,GAAU,CAAC,EAAO,GAAG,EAAM,iBAAiB,GAAG,CAAC,CAAC,CAAC,EACjG,EAAQ,aAAa,OAAQ,cAAc,EAC3C,EAAQ,aAAa,SAAU,MAAM,EAGzC,EAAI,gBAAgB,GAAG,CAAQ,CACjC,CAAC,EAEM,EAAA,IAAI;SACP,EAAA,EAAA,KAAA,KACM,CAAC,CAAC,EAAS,UACX,EAAA,IAAI;sBACI,EAAO;SAEvB,EAAE;KAEN,EACA,OAAQ,CAAC,EAAA,OAAM,CACjB,CAAC"}
package/dist/icon.js CHANGED
@@ -1,6 +1,6 @@
1
- import{registerIcons as e,resolveIcon as t}from"./core/icon-registry.js";import"./_dev.js";import"./core/icons.js";import n from"./content/icon/icon.css.js";import{computed as r}from"@vielzeug/ripple";import{bind as i,define as a,html as o,prop as s,ref as c,watchEffect as l,when as u}from"@vielzeug/ore";var d=16,f=2,p=24,m=`http://www.w3.org/2000/svg`,h=new Set([`circle`,`clipPath`,`defs`,`ellipse`,`g`,`line`,`linearGradient`,`mask`,`path`,`polygon`,`polyline`,`radialGradient`,`rect`,`stop`,`symbol`,`use`]),g=/^[a-zA-Z][a-zA-Z0-9:_-]*$/,_=/^(on|xlink:|xml:|href$)/i,parseSize=e=>{if(e==null||e===``)return d;let t=Number(e);return Number.isFinite(t)&&t>0&&/^\d+(\.\d+)?$/.test(e.trim())?t:e},createSvgChild=(e,t)=>{if(!h.has(e))return null;let n=document.createElementNS(m,e);for(let[e,r]of Object.entries(t))r!==void 0&&g.test(e)&&!_.test(e)&&n.setAttribute(e,String(r));return n},v=`ore-icon`;a(v,{props:{absoluteStrokeWidth:s.bool(),label:s.string(),name:s.string(),size:{default:d,parse:parseSize,reflect:!1},solid:s.bool(),strokeWidth:s.number(f)},setup(e){i({attr:{"aria-hidden":()=>(e.label.value??``).trim()?null:`true`,"aria-label":()=>(e.label.value??``).trim()||null,role:()=>(e.label.value??``).trim()?`img`:null},style:{"--_size-px":()=>{let t=e.size.value;return typeof t==`number`?`${t}px`:String(t)}}});let n=c(),a=r(()=>{let n=(e.name.value??``).trim();if(!n)return;let r=t(n);return r||`${n.slice(0,64)}`,r});return l(()=>{let t=n.value,r=a.value;if(!t||!r)return;let i=e.size.value,o=typeof i==`number`?i:p,s=e.absoluteStrokeWidth.value&&!e.solid.value?e.strokeWidth.value*(p/o):e.strokeWidth.value;t.setAttribute(`fill`,e.solid.value?`currentColor`:`none`),t.setAttribute(`stroke`,e.solid.value?`none`:`currentColor`),t.setAttribute(`stroke-linecap`,`round`),t.setAttribute(`stroke-linejoin`,`round`),t.setAttribute(`stroke-width`,String(e.solid.value?0:s)),t.setAttribute(`viewBox`,`0 0 24 24`);let c=r.map(([e,t])=>createSvgChild(e,t)).filter(e=>!!e);t.replaceChildren(...c)}),o`
2
- ${u(()=>!!a.value,()=>o`
3
- <svg ref="${n}" part="svg" style="width:100%;height:100%"></svg>
1
+ import{createIconChildren as e}from"./icons/svg.js";import{registerIcons as t,resolveIcon as n}from"./icons/registry.js";import"./_dev.js";import"./icons/defaults.js";import r from"./content/icon/icon.css.js";import{computed as i}from"@vielzeug/ripple";import{bind as a,define as o,html as s,prop as c,ref as l,watchEffect as u,when as d}from"@vielzeug/ore";var f=16,p=0,parseSize=e=>{if(e==null||e===``)return f;let t=Number(e);return Number.isFinite(t)&&t>0&&/^\d+(\.\d+)?$/.test(e.trim())?t:e},m=`ore-icon`;o(m,{props:{absoluteStrokeWidth:c.bool(),label:c.string(),name:c.string(),size:{default:f,parse:parseSize,reflect:!1},solid:c.bool(),strokeWidth:c.number()},setup(t){let r=`ore-icon-${++p}-`;a({attr:{"aria-hidden":()=>(t.label.value??``).trim()?null:`true`,"aria-label":()=>(t.label.value??``).trim()||null,role:()=>(t.label.value??``).trim()?`img`:null},style:{"--_size-px":()=>{let e=t.size.value;return typeof e==`number`?`${e}px`:String(e)}}});let o=l(),c=i(()=>{let e=(t.name.value??``).trim();if(!e)return;let r=n(e);return r||`${e.slice(0,64)}`,r});return u(()=>{let n=o.value,i=c.value;if(!n||!i)return;for(let e of[...n.attributes])e.name!==`part`&&e.name!==`style`&&n.removeAttribute(e.name);for(let[e,t]of Object.entries(i.presentation??{}))t!==void 0&&n.setAttribute(e,String(t).replace(/url\(#([\w:.-]+)\)/g,`url(#${r}$1)`));n.setAttribute(`viewBox`,i.viewBox.join(` `));let a=e(i,r);if(t.strokeWidth.value!==void 0){n.setAttribute(`stroke-width`,String(t.strokeWidth.value));for(let e of a){e.removeAttribute(`stroke-width`);for(let t of e.querySelectorAll(`[stroke-width]`))t.removeAttribute(`stroke-width`)}}if(t.absoluteStrokeWidth.value)for(let e of a){e.setAttribute(`vector-effect`,`non-scaling-stroke`);for(let t of e.querySelectorAll(`*`))t.setAttribute(`vector-effect`,`non-scaling-stroke`)}if(t.solid.value)for(let e of[n,...a.flatMap(e=>[e,...e.querySelectorAll(`*`)])])e.setAttribute(`fill`,`currentColor`),e.setAttribute(`stroke`,`none`);n.replaceChildren(...a)}),s`
2
+ ${d(()=>!!c.value,()=>s`
3
+ <svg ref="${o}" part="svg" style="width:100%;height:100%"></svg>
4
4
  `)}
5
- `},styles:[n]});export{v as ICON_TAG,e as registerIcons};
5
+ `},styles:[r]});export{m as ICON_TAG,t as registerIcons};
6
6
  //# sourceMappingURL=icon.js.map
package/dist/icon.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"icon.js","names":[],"sources":["../src/content/icon/icon.ts"],"sourcesContent":["import { bind, define, html, prop, ref, watchEffect, when } from '@vielzeug/ore';\nimport { computed } from '@vielzeug/ripple';\n\nimport { warn } from '../../_dev';\nimport { type IconNode, resolveIcon } from '../../core/icon-registry';\nimport '../../core/icons';\nimport styles from './icon.css?inline';\n\nexport { registerIcons } from '../../core/icon-registry';\nexport type { IconNode };\n\nconst DEFAULT_SIZE = 16;\nconst DEFAULT_STROKE_WIDTH = 2;\nconst LUCIDE_VIEWBOX_SIZE = 24;\nconst SVG_NS = 'http://www.w3.org/2000/svg';\n\n/**\n * Allowlisted SVG shape/structure element names. Only these tags are permitted\n * when building the SVG DOM from an IconNode, preventing arbitrary element\n * injection (e.g. <script>, event-handler-bearing elements).\n */\nconst ALLOWED_SVG_TAGS = new Set([\n 'circle',\n 'clipPath',\n 'defs',\n 'ellipse',\n 'g',\n 'line',\n 'linearGradient',\n 'mask',\n 'path',\n 'polygon',\n 'polyline',\n 'radialGradient',\n 'rect',\n 'stop',\n 'symbol',\n 'use',\n]);\n\n/**\n * Allowlisted SVG presentation / structural attribute names.\n * Event handler attributes (on*) and \"xlink:href\" are excluded.\n */\nconst ATTR_KEY_RE = /^[a-zA-Z][a-zA-Z0-9:_-]*$/;\nconst BLOCKED_ATTR_RE = /^(on|xlink:|xml:|href$)/i;\n\nconst parseSize = (value: string | null): number | string => {\n if (value == null || value === '') return DEFAULT_SIZE;\n\n const n = Number(value);\n\n return Number.isFinite(n) && n > 0 && /^\\d+(\\.\\d+)?$/.test(value.trim()) ? n : value;\n};\n\n/**\n * Builds an allowlisted SVG child element via `createElementNS`: real DOM construction, not\n * HTML-string parsing, so this never touches Ore's `unsafeHtml()` directive (and its \"unsanitized\n * HTML\" dev warning) at all. `iconNode` entries come from a registered icon set (refine's own,\n * `registerIcons()`, or `@vielzeug/refine/icon-lucide`): a developer/build-time API, never runtime\n * user input, but the tag/attr allowlist stays as defense in depth regardless of where the data\n * originated.\n */\nconst createSvgChild = (tag: string, attrs: Record<string, string | number | undefined>): SVGElement | null => {\n if (!ALLOWED_SVG_TAGS.has(tag)) return null;\n\n const el = document.createElementNS(SVG_NS, tag);\n\n for (const [key, value] of Object.entries(attrs)) {\n if (value === undefined) continue;\n\n if (!ATTR_KEY_RE.test(key) || BLOCKED_ATTR_RE.test(key)) continue;\n\n el.setAttribute(key, String(value));\n }\n\n return el;\n};\n\n/** Icon component properties */\nexport type OreIconProps = {\n /** Keep stroke width visually consistent when icon size changes */\n absoluteStrokeWidth?: boolean;\n /** Accessible text label. Decorative icons should omit this. */\n label?: string;\n /** Lucide icon name, e.g. `search` or `chevron-right`; resolves from the registered set */\n name?: string;\n /** Icon width/height in px by default. Accepts CSS lengths. */\n size?: number | string;\n /** Render as a filled/solid shape instead of a stroked outline */\n solid?: boolean;\n /** SVG stroke width */\n strokeWidth?: number;\n};\n\n/**\n * Icon wrapper for consistent Lucide rendering across Block.\n *\n * Names resolve from a synchronous registry: refine's own component icons are\n * always registered; apps register their set with `registerIcons()` or import\n * `@vielzeug/refine/icon-lucide` for the complete library.\n *\n * @element ore-icon\n *\n * @attr {string} name - Lucide icon name, e.g. `search` or `chevron-right`, resolved from the registered set\n * @attr {number|string} size - Width/height (default: 16)\n * @attr {number} stroke-width - SVG stroke width (default: 2)\n * @attr {boolean} absolute-stroke-width - Keep stroke width visually stable across icon sizes\n * @attr {boolean} solid - Render as filled shape instead of stroked outline\n * @attr {string} label - Accessible label; when omitted the icon is decorative\n *\n * @csspart svg - Internal SVG element\n *\n * @example\n * ```html\n * <ore-icon name=\"search\"></ore-icon>\n * <ore-icon name=\"chevron-right\" size=\"18\"></ore-icon>\n * <ore-icon name=\"trash-2\" label=\"Delete\"></ore-icon>\n * <ore-icon name=\"star\" solid></ore-icon>\n * ```\n */\nexport const ICON_TAG = 'ore-icon' as const;\ndefine<OreIconProps>(ICON_TAG, {\n props: {\n absoluteStrokeWidth: prop.bool(),\n label: prop.string(),\n name: prop.string(),\n size: { default: DEFAULT_SIZE as number | string, parse: parseSize, reflect: false },\n solid: prop.bool(),\n strokeWidth: prop.number(DEFAULT_STROKE_WIDTH),\n },\n setup(props) {\n bind({\n attr: {\n 'aria-hidden': () => ((props.label.value ?? '').trim() ? null : 'true'),\n 'aria-label': () => (props.label.value ?? '').trim() || null,\n role: () => ((props.label.value ?? '').trim() ? 'img' : null),\n },\n style: {\n '--_size-px': () => {\n const s = props.size.value;\n\n return typeof s === 'number' ? `${s}px` : String(s);\n },\n },\n });\n\n const svgRef = ref<SVGSVGElement>();\n\n // Memoized so an unknown icon name only warns once per change, not once per reactive read.\n const iconNode = computed(() => {\n const name = (props.name.value ?? '').trim();\n\n if (!name) return undefined;\n\n const node = resolveIcon(name);\n\n if (!node) warn(`ore-icon: icon not found: \"${name.slice(0, 64)}\"`);\n\n return node;\n });\n\n // Real DOM construction (createElementNS), not the unsafeHtml() directive: see createSvgChild's\n // doc comment. Rebuilds the <svg>'s attributes and children whenever the icon name, size,\n // or presentation props change, or when `svgRef` first attaches (a fresh element mounts\n // every time `when()`'s branch below flips truthy).\n watchEffect(() => {\n const svg = svgRef.value;\n const node = iconNode.value;\n\n if (!svg || !node) return;\n\n const size = props.size.value;\n const numericSize = typeof size === 'number' ? size : LUCIDE_VIEWBOX_SIZE;\n const strokeWidth =\n props.absoluteStrokeWidth.value && !props.solid.value\n ? props.strokeWidth.value! * (LUCIDE_VIEWBOX_SIZE / numericSize)\n : props.strokeWidth.value!;\n\n svg.setAttribute('fill', props.solid.value ? 'currentColor' : 'none');\n svg.setAttribute('stroke', props.solid.value ? 'none' : 'currentColor');\n svg.setAttribute('stroke-linecap', 'round');\n svg.setAttribute('stroke-linejoin', 'round');\n svg.setAttribute('stroke-width', String(props.solid.value ? 0 : strokeWidth));\n svg.setAttribute('viewBox', '0 0 24 24');\n\n const children = node.map(([tag, attrs]) => createSvgChild(tag, attrs)).filter((el): el is SVGElement => !!el);\n\n svg.replaceChildren(...children);\n });\n\n return html`\n ${when(\n () => !!iconNode.value,\n () => html`\n <svg ref=\"${svgRef}\" part=\"svg\" style=\"width:100%;height:100%\"></svg>\n `,\n )}\n `;\n },\n styles: [styles],\n});\n"],"mappings":"kTAWA,IAAM,EAAe,GACf,EAAuB,EACvB,EAAsB,GACtB,EAAS,6BAOT,EAAmB,IAAI,IAAI,CAC/B,SACA,WACA,OACA,UACA,IACA,OACA,iBACA,OACA,OACA,UACA,WACA,iBACA,OACA,OACA,SACA,KACF,CAAC,EAMK,EAAc,4BACd,E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EAAM,OAEX,IAAM,EAAO,EAAY,CAAI,EAI7B,OAFK,GAAW,GAA8B,EAAK,MAAM,EAAG,EAAE,EAA9C,EAET,CACT,CAAC,EA+BD,OAzBA,MAAkB,CAChB,IAAM,EAAM,EAAO,MACb,EAAO,EAAS,MAEtB,GAAI,CAAC,GAAO,CAAC,EAAM,OAEnB,IAAM,EAAO,EAAM,KAAK,MAClB,EAAc,OAAO,GAAS,SAAW,EAAO,EAChD,EACJ,EAAM,oBAAoB,OAAS,CAAC,EAAM,MAAM,MAC5C,EAAM,YAAY,OAAU,EAAsB,GAClD,EAAM,YAAY,MAExB,EAAI,aAAa,OAAQ,EAAM,MAAM,MAAQ,eAAiB,MAAM,EACpE,EAAI,aAAa,SAAU,EAAM,MAAM,MAAQ,OAAS,cAAc,EACtE,EAAI,aAAa,iBAAkB,OAAO,EAC1C,EAAI,aAAa,kBAAmB,OAAO,EAC3C,EAAI,aAAa,eAAgB,OAAO,EAAM,MAAM,MAAQ,EAAI,CAAW,CAAC,EAC5E,EAAI,aAAa,UAAW,WAAW,EAEvC,IAAM,EAAW,EAAK,KAAK,CAAC,EAAK,KAAW,eAAe,EAAK,CAAK,CAAC,CAAC,CAAC,OAAQ,GAAyB,CAAC,CAAC,CAAE,EAE7G,EAAI,gBAAgB,GAAG,CAAQ,CACjC,CAAC,EAEM,CAAI;QACP,MACM,CAAC,CAAC,EAAS,UACX,CAAI;sBACI,EAAO;SAEvB,EAAE;KAEN,EACA,OAAQ,CAAC,CAAM,CACjB,CAAC"}
1
+ {"version":3,"file":"icon.js","names":[],"sources":["../src/content/icon/icon.ts"],"sourcesContent":["import { bind, define, html, prop, ref, watchEffect, when } from '@vielzeug/ore';\nimport { computed } from '@vielzeug/ripple';\n\nimport { warn } from '../../_dev';\nimport { resolveIcon } from '../../icons/registry';\nimport { createIconChildren } from '../../icons/svg';\nimport '../../icons/defaults';\nimport styles from './icon.css?inline';\n\nexport type { IconAttributes, IconDefinition, IconElement } from '../../icons';\nexport { registerIcons } from '../../icons';\n\nconst DEFAULT_SIZE = 16;\nlet instanceId = 0;\n\nconst parseSize = (value: string | null): number | string => {\n if (value == null || value === '') return DEFAULT_SIZE;\n\n const n = Number(value);\n\n return Number.isFinite(n) && n > 0 && /^\\d+(\\.\\d+)?$/.test(value.trim()) ? n : value;\n};\n\n/** Icon component properties */\nexport type OreIconProps = {\n /** Keep stroke width visually consistent when icon size changes */\n absoluteStrokeWidth?: boolean;\n /** Accessible text label. Decorative icons should omit this. */\n label?: string;\n /** Registered icon name, e.g. `search` or `heroicons:home` */\n name?: string;\n /** Icon width/height in px by default. Accepts CSS lengths. */\n size?: number | string;\n /** Render as a filled/solid shape instead of a stroked outline */\n solid?: boolean;\n /** SVG stroke width */\n strokeWidth?: number;\n};\n\n/**\n * Library-neutral SVG icon rendering with explicit local registration.\n *\n * Names resolve from a synchronous registry: refine's own component icons are\n * always registered; apps register their set with `registerIcons()` or import\n * `@vielzeug/refine/icons/lucide/all` for the complete Lucide library.\n *\n * @element ore-icon\n *\n * @attr {string} name - Registered icon name\n * @attr {number|string} size - Width/height (default: 16)\n * @attr {number} stroke-width - Override the icon's stroke width\n * @attr {boolean} absolute-stroke-width - Keep stroke width visually stable across icon sizes\n * @attr {boolean} solid - Render as filled shape instead of stroked outline\n * @attr {string} label - Accessible label; when omitted the icon is decorative\n *\n * @csspart svg - Internal SVG element\n *\n * @example\n * ```html\n * <ore-icon name=\"search\"></ore-icon>\n * <ore-icon name=\"chevron-right\" size=\"18\"></ore-icon>\n * <ore-icon name=\"trash-2\" label=\"Delete\"></ore-icon>\n * <ore-icon name=\"star\" solid></ore-icon>\n * ```\n */\nexport const ICON_TAG = 'ore-icon' as const;\ndefine<OreIconProps>(ICON_TAG, {\n props: {\n absoluteStrokeWidth: prop.bool(),\n label: prop.string(),\n name: prop.string(),\n size: { default: DEFAULT_SIZE as number | string, parse: parseSize, reflect: false },\n solid: prop.bool(),\n strokeWidth: prop.number(),\n },\n setup(props) {\n const prefix = `ore-icon-${++instanceId}-`;\n bind({\n attr: {\n 'aria-hidden': () => ((props.label.value ?? '').trim() ? null : 'true'),\n 'aria-label': () => (props.label.value ?? '').trim() || null,\n role: () => ((props.label.value ?? '').trim() ? 'img' : null),\n },\n style: {\n '--_size-px': () => {\n const s = props.size.value;\n\n return typeof s === 'number' ? `${s}px` : String(s);\n },\n },\n });\n\n const svgRef = ref<SVGSVGElement>();\n\n // Memoized so an unknown icon name only warns once per change, not once per reactive read.\n const iconNode = computed(() => {\n const name = (props.name.value ?? '').trim();\n\n if (!name) return undefined;\n\n const node = resolveIcon(name);\n\n if (!node) warn(`ore-icon: icon not found: \"${name.slice(0, 64)}\"`);\n\n return node;\n });\n\n // Rebuild from validated data so presentation overrides never leak between icons.\n watchEffect(() => {\n const svg = svgRef.value;\n const node = iconNode.value;\n\n if (!svg || !node) return;\n\n for (const attr of [...svg.attributes]) {\n if (attr.name !== 'part' && attr.name !== 'style') svg.removeAttribute(attr.name);\n }\n for (const [key, value] of Object.entries(node.presentation ?? {})) {\n if (value !== undefined)\n svg.setAttribute(key, String(value).replace(/url\\(#([\\w:.-]+)\\)/g, `url(#${prefix}$1)`));\n }\n svg.setAttribute('viewBox', node.viewBox.join(' '));\n const children = createIconChildren(node, prefix);\n if (props.strokeWidth.value !== undefined) {\n svg.setAttribute('stroke-width', String(props.strokeWidth.value));\n for (const child of children) {\n child.removeAttribute('stroke-width');\n for (const nested of child.querySelectorAll('[stroke-width]')) nested.removeAttribute('stroke-width');\n }\n }\n if (props.absoluteStrokeWidth.value) {\n // Non-scaling stroke also handles CSS sizes and non-square viewBoxes.\n for (const child of children) {\n child.setAttribute('vector-effect', 'non-scaling-stroke');\n for (const nested of child.querySelectorAll('*')) nested.setAttribute('vector-effect', 'non-scaling-stroke');\n }\n }\n if (props.solid.value) {\n for (const element of [svg, ...children.flatMap((child) => [child, ...child.querySelectorAll('*')])]) {\n element.setAttribute('fill', 'currentColor');\n element.setAttribute('stroke', 'none');\n }\n }\n svg.replaceChildren(...children);\n });\n\n return html`\n ${when(\n () => !!iconNode.value,\n () => html`\n <svg ref=\"${svgRef}\" part=\"svg\" style=\"width:100%;height:100%\"></svg>\n `,\n )}\n `;\n },\n styles: [styles],\n});\n"],"mappings":"sWAYA,IAAM,EAAe,GACjB,EAAa,EAEX,UAAa,GAA0C,CAC3D,GAAI,GAAS,MAAQ,IAAU,GAAI,OAAO,EAE1C,IAAM,EAAI,OAAO,CAAK,EAEtB,OAAO,OAAO,SAAS,CAAC,GAAK,EAAI,GAAK,gBAAgB,KAAK,EAAM,KAAK,CAAC,EAAI,EAAI,CACjF,EA4Ca,EAAW,WACxB,EAAqB,EAAU,CAC7B,MAAO,CACL,oBAAqB,EAAK,KAAK,EAC/B,MAAO,EAAK,OAAO,EACnB,KAAM,EAAK,OAAO,EAClB,KAAM,CAAE,QAAS,EAAiC,MAAO,UAAW,QAAS,EAAM,EACnF,MAAO,EAAK,KAAK,EACjB,YAAa,EAAK,OAAO,CAC3B,EACA,MAAM,EAAO,CACX,IAAM,EAAS,YAAY,EAAE,EAAW,GACxC,EAAK,CACH,KAAM,CACJ,mBAAuB,EAAM,MAAM,OAAS,GAAA,CAAI,KAAK,EAAI,KAAO,OAChE,kBAAqB,EAAM,MAAM,OAAS,GAAA,CAAI,KAAK,GAAK,KACxD,UAAc,EAAM,MAAM,OAAS,GAAA,CAAI,KAAK,EAAI,MAAQ,IAC1D,EACA,MAAO,CACL,iBAAoB,CAClB,IAAM,EAAI,EAAM,KAAK,MAErB,OAAO,OAAO,GAAM,SAAW,GAAG,EAAE,IAAM,OAAO,CAAC,CACpD,CACF,CACF,CAAC,EAED,IAAM,EAAS,EAAmB,EAG5B,EAAW,MAAe,CAC9B,IAAM,GAAQ,EAAM,KAAK,OAAS,GAAA,CAAI,KAAK,EAE3C,GAAI,CAAC,EAAM,OAEX,IAAM,EAAO,EAAY,CAAI,EAI7B,OAFK,GAAW,GAA8B,EAAK,MAAM,EAAG,EAAE,EAA9C,EAET,CACT,CAAC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AEvB,EAAE;KAEN,EACA,OAAQ,CAAC,CAAM,CACjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ const e=require("./iconify.cjs");function mapIconifyIcons(t){return Object.fromEntries(Object.entries(t).map(([t,n])=>[t,e.iconifyIcon(n)]))}exports.mapIconifyIcons=mapIconifyIcons;
2
+ //# sourceMappingURL=_iconify-map.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_iconify-map.cjs","names":[],"sources":["../../src/icons/_iconify-map.ts"],"sourcesContent":["import type { IconDefinition } from './definition.js';\nimport { type IconifyIcon, iconifyIcon } from './iconify.js';\n\n/** Keep app keys and the shared Iconify geometry, presentation, and validation contract. */\nexport function mapIconifyIcons(icons: Readonly<Record<string, IconifyIcon>>): Record<string, IconDefinition> {\n return Object.fromEntries(Object.entries(icons).map(([name, data]) => [name, iconifyIcon(data)]));\n}\n"],"mappings":"iCAIA,SAAgB,gBAAgB,EAA8E,CAC5G,OAAO,OAAO,YAAY,OAAO,QAAQ,CAAK,CAAC,CAAC,KAAK,CAAC,EAAM,KAAU,CAAC,EAAM,EAAA,YAAY,CAAI,CAAC,CAAC,CAAC,CAClG"}
@@ -0,0 +1,5 @@
1
+ import type { IconDefinition } from './definition.js';
2
+ import { type IconifyIcon } from './iconify.js';
3
+ /** Keep app keys and the shared Iconify geometry, presentation, and validation contract. */
4
+ export declare function mapIconifyIcons(icons: Readonly<Record<string, IconifyIcon>>): Record<string, IconDefinition>;
5
+ //# sourceMappingURL=_iconify-map.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_iconify-map.d.ts","sourceRoot":"","sources":["../../src/icons/_iconify-map.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,KAAK,WAAW,EAAe,MAAM,cAAc,CAAC;AAE7D,4FAA4F;AAC5F,wBAAgB,eAAe,CAAC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAE5G"}
@@ -0,0 +1,2 @@
1
+ import{iconifyIcon as e}from"./iconify.js";function mapIconifyIcons(t){return Object.fromEntries(Object.entries(t).map(([t,n])=>[t,e(n)]))}export{mapIconifyIcons};
2
+ //# sourceMappingURL=_iconify-map.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_iconify-map.js","names":[],"sources":["../../src/icons/_iconify-map.ts"],"sourcesContent":["import type { IconDefinition } from './definition.js';\nimport { type IconifyIcon, iconifyIcon } from './iconify.js';\n\n/** Keep app keys and the shared Iconify geometry, presentation, and validation contract. */\nexport function mapIconifyIcons(icons: Readonly<Record<string, IconifyIcon>>): Record<string, IconDefinition> {\n return Object.fromEntries(Object.entries(icons).map(([name, data]) => [name, iconifyIcon(data)]));\n}\n"],"mappings":"2CAIA,SAAgB,gBAAgB,EAA8E,CAC5G,OAAO,OAAO,YAAY,OAAO,QAAQ,CAAK,CAAC,CAAC,KAAK,CAAC,EAAM,KAAU,CAAC,EAAM,EAAY,CAAI,CAAC,CAAC,CAAC,CAClG"}
@@ -0,0 +1,2 @@
1
+ require("./registry.cjs").registerDefaultIcons({AlertCircle:{children:[{attrs:{cx:`12`,cy:`12`,r:`10`},tag:`circle`},{attrs:{x1:`12`,x2:`12`,y1:`8`,y2:`12`},tag:`line`},{attrs:{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`},tag:`line`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},ArrowRight:{children:[{attrs:{d:`M5 12h14`},tag:`path`},{attrs:{d:`m12 5 7 7-7 7`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},ArrowUpDown:{children:[{attrs:{d:`m21 16-4 4-4-4`},tag:`path`},{attrs:{d:`M17 20V4`},tag:`path`},{attrs:{d:`m3 8 4-4 4 4`},tag:`path`},{attrs:{d:`M7 4v16`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Calendar:{children:[{attrs:{d:`M8 2v3`},tag:`path`},{attrs:{d:`M16 2v3`},tag:`path`},{attrs:{height:`18`,rx:`2`,width:`18`,x:`3`,y:`3`},tag:`rect`},{attrs:{d:`M3 9h18`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Camera:{children:[{attrs:{d:`M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z`},tag:`path`},{attrs:{cx:`12`,cy:`13`,r:`3`},tag:`circle`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},ChartLine:{children:[{attrs:{d:`M3 3v16a2 2 0 0 0 2 2h16`},tag:`path`},{attrs:{d:`m19 9-5 5-4-4-3 3`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Check:{children:[{attrs:{d:`M20 6 9 17l-5-5`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},ChevronDown:{children:[{attrs:{d:`m6 9 6 6 6-6`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},ChevronLeft:{children:[{attrs:{d:`m15 18-6-6 6-6`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},ChevronRight:{children:[{attrs:{d:`m9 18 6-6-6-6`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},ChevronsLeft:{children:[{attrs:{d:`m11 17-5-5 5-5`},tag:`path`},{attrs:{d:`m18 17-5-5 5-5`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},ChevronsRight:{children:[{attrs:{d:`m6 17 5-5-5-5`},tag:`path`},{attrs:{d:`m13 17 5-5-5-5`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},CircleAlert:{children:[{attrs:{cx:`12`,cy:`12`,r:`10`},tag:`circle`},{attrs:{x1:`12`,x2:`12`,y1:`8`,y2:`12`},tag:`line`},{attrs:{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`},tag:`line`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Clock:{children:[{attrs:{cx:`12`,cy:`12`,r:`10`},tag:`circle`},{attrs:{d:`M12 6v6l4 2`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Columns2:{children:[{attrs:{height:`18`,rx:`2`,width:`18`,x:`3`,y:`3`},tag:`rect`},{attrs:{d:`M12 3v18`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Copy:{children:[{attrs:{height:`14`,rx:`2`,ry:`2`,width:`14`,x:`8`,y:`8`},tag:`rect`},{attrs:{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Eye:{children:[{attrs:{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`},tag:`path`},{attrs:{cx:`12`,cy:`12`,r:`3`},tag:`circle`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},EyeOff:{children:[{attrs:{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`},tag:`path`},{attrs:{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`},tag:`path`},{attrs:{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`},tag:`path`},{attrs:{d:`m2 2 20 20`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},File:{children:[{attrs:{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`},tag:`path`},{attrs:{d:`M14 2v5a1 1 0 0 0 1 1h5`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Filter:{children:[{attrs:{d:`M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Gauge:{children:[{attrs:{d:`m12 14 4-4`},tag:`path`},{attrs:{d:`M3.34 19a10 10 0 1 1 17.32 0`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Loader2:{children:[{attrs:{d:`M21 12a9 9 0 1 1-6.219-8.56`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Mail:{children:[{attrs:{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`},tag:`path`},{attrs:{height:`16`,rx:`2`,width:`20`,x:`2`,y:`4`},tag:`rect`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Menu:{children:[{attrs:{d:`M4 5h16`},tag:`path`},{attrs:{d:`M4 12h16`},tag:`path`},{attrs:{d:`M4 19h16`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Minus:{children:[{attrs:{d:`M5 12h14`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Package:{children:[{attrs:{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`},tag:`path`},{attrs:{d:`M12 22V12`},tag:`path`},{attrs:{points:`3.29 7 12 12 20.71 7`},tag:`polyline`},{attrs:{d:`m7.5 4.27 9 5.15`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Pause:{children:[{attrs:{height:`18`,rx:`1`,width:`5`,x:`14`,y:`3`},tag:`rect`},{attrs:{height:`18`,rx:`1`,width:`5`,x:`5`,y:`3`},tag:`rect`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Play:{children:[{attrs:{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Plus:{children:[{attrs:{d:`M5 12h14`},tag:`path`},{attrs:{d:`M12 5v14`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},RefreshCw:{children:[{attrs:{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`},tag:`path`},{attrs:{d:`M21 3v5h-5`},tag:`path`},{attrs:{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`},tag:`path`},{attrs:{d:`M8 16H3v5`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Save:{children:[{attrs:{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`},tag:`path`},{attrs:{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`},tag:`path`},{attrs:{d:`M7 3v4a1 1 0 0 0 1 1h7`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Search:{children:[{attrs:{d:`m21 21-4.34-4.34`},tag:`path`},{attrs:{cx:`11`,cy:`11`,r:`8`},tag:`circle`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Square:{children:[{attrs:{height:`18`,rx:`2`,width:`18`,x:`3`,y:`3`},tag:`rect`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Star:{children:[{attrs:{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Trash2:{children:[{attrs:{d:`M10 11v6`},tag:`path`},{attrs:{d:`M14 11v6`},tag:`path`},{attrs:{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`},tag:`path`},{attrs:{d:`M3 6h18`},tag:`path`},{attrs:{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},TriangleAlert:{children:[{attrs:{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`},tag:`path`},{attrs:{d:`M12 9v4`},tag:`path`},{attrs:{d:`M12 17h.01`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Upload:{children:[{attrs:{d:`M12 3v12`},tag:`path`},{attrs:{d:`m17 8-5-5-5 5`},tag:`path`},{attrs:{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},User:{children:[{attrs:{d:`M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2`},tag:`path`},{attrs:{cx:`12`,cy:`7`,r:`4`},tag:`circle`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},X:{children:[{attrs:{d:`M18 6 6 18`},tag:`path`},{attrs:{d:`m6 6 12 12`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Zap:{children:[{attrs:{d:`M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]}});
2
+ //# sourceMappingURL=defaults.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaults.cjs","names":[],"sources":["../../src/icons/defaults.ts"],"sourcesContent":["// Curated Lucide/Feather SVG data. See ../../THIRD_PARTY_NOTICES for licenses.\n// No icon library is imported by the component runtime.\nimport { registerDefaultIcons } from './registry';\n\nregisterDefaultIcons({\n AlertCircle: {\n children: [\n {\n attrs: {\n cx: '12',\n cy: '12',\n r: '10',\n },\n tag: 'circle',\n },\n {\n attrs: {\n x1: '12',\n x2: '12',\n y1: '8',\n y2: '12',\n },\n tag: 'line',\n },\n {\n attrs: {\n x1: '12',\n x2: '12.01',\n y1: '16',\n y2: '16',\n },\n tag: 'line',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n ArrowRight: {\n children: [\n {\n attrs: {\n d: 'M5 12h14',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'm12 5 7 7-7 7',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n ArrowUpDown: {\n children: [\n {\n attrs: {\n d: 'm21 16-4 4-4-4',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M17 20V4',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'm3 8 4-4 4 4',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M7 4v16',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Calendar: {\n children: [\n {\n attrs: {\n d: 'M8 2v3',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M16 2v3',\n },\n tag: 'path',\n },\n {\n attrs: {\n height: '18',\n rx: '2',\n width: '18',\n x: '3',\n y: '3',\n },\n tag: 'rect',\n },\n {\n attrs: {\n d: 'M3 9h18',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Camera: {\n children: [\n {\n attrs: {\n d: 'M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z',\n },\n tag: 'path',\n },\n {\n attrs: {\n cx: '12',\n cy: '13',\n r: '3',\n },\n tag: 'circle',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n ChartLine: {\n children: [\n {\n attrs: {\n d: 'M3 3v16a2 2 0 0 0 2 2h16',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'm19 9-5 5-4-4-3 3',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Check: {\n children: [\n {\n attrs: {\n d: 'M20 6 9 17l-5-5',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n ChevronDown: {\n children: [\n {\n attrs: {\n d: 'm6 9 6 6 6-6',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n ChevronLeft: {\n children: [\n {\n attrs: {\n d: 'm15 18-6-6 6-6',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n ChevronRight: {\n children: [\n {\n attrs: {\n d: 'm9 18 6-6-6-6',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n ChevronsLeft: {\n children: [\n {\n attrs: {\n d: 'm11 17-5-5 5-5',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'm18 17-5-5 5-5',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n ChevronsRight: {\n children: [\n {\n attrs: {\n d: 'm6 17 5-5-5-5',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'm13 17 5-5-5-5',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n CircleAlert: {\n children: [\n {\n attrs: {\n cx: '12',\n cy: '12',\n r: '10',\n },\n tag: 'circle',\n },\n {\n attrs: {\n x1: '12',\n x2: '12',\n y1: '8',\n y2: '12',\n },\n tag: 'line',\n },\n {\n attrs: {\n x1: '12',\n x2: '12.01',\n y1: '16',\n y2: '16',\n },\n tag: 'line',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Clock: {\n children: [\n {\n attrs: {\n cx: '12',\n cy: '12',\n r: '10',\n },\n tag: 'circle',\n },\n {\n attrs: {\n d: 'M12 6v6l4 2',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Columns2: {\n children: [\n {\n attrs: {\n height: '18',\n rx: '2',\n width: '18',\n x: '3',\n y: '3',\n },\n tag: 'rect',\n },\n {\n attrs: {\n d: 'M12 3v18',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Copy: {\n children: [\n {\n attrs: {\n height: '14',\n rx: '2',\n ry: '2',\n width: '14',\n x: '8',\n y: '8',\n },\n tag: 'rect',\n },\n {\n attrs: {\n d: 'M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Eye: {\n children: [\n {\n attrs: {\n d: 'M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0',\n },\n tag: 'path',\n },\n {\n attrs: {\n cx: '12',\n cy: '12',\n r: '3',\n },\n tag: 'circle',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n EyeOff: {\n children: [\n {\n attrs: {\n d: 'M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M14.084 14.158a3 3 0 0 1-4.242-4.242',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'm2 2 20 20',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n File: {\n children: [\n {\n attrs: {\n d: 'M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M14 2v5a1 1 0 0 0 1 1h5',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Filter: {\n children: [\n {\n attrs: {\n d: 'M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Gauge: {\n children: [\n {\n attrs: {\n d: 'm12 14 4-4',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M3.34 19a10 10 0 1 1 17.32 0',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Loader2: {\n children: [\n {\n attrs: {\n d: 'M21 12a9 9 0 1 1-6.219-8.56',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Mail: {\n children: [\n {\n attrs: {\n d: 'm22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7',\n },\n tag: 'path',\n },\n {\n attrs: {\n height: '16',\n rx: '2',\n width: '20',\n x: '2',\n y: '4',\n },\n tag: 'rect',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Menu: {\n children: [\n {\n attrs: {\n d: 'M4 5h16',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M4 12h16',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M4 19h16',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Minus: {\n children: [\n {\n attrs: {\n d: 'M5 12h14',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Package: {\n children: [\n {\n attrs: {\n d: 'M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M12 22V12',\n },\n tag: 'path',\n },\n {\n attrs: {\n points: '3.29 7 12 12 20.71 7',\n },\n tag: 'polyline',\n },\n {\n attrs: {\n d: 'm7.5 4.27 9 5.15',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Pause: {\n children: [\n {\n attrs: {\n height: '18',\n rx: '1',\n width: '5',\n x: '14',\n y: '3',\n },\n tag: 'rect',\n },\n {\n attrs: {\n height: '18',\n rx: '1',\n width: '5',\n x: '5',\n y: '3',\n },\n tag: 'rect',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Play: {\n children: [\n {\n attrs: {\n d: 'M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Plus: {\n children: [\n {\n attrs: {\n d: 'M5 12h14',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M12 5v14',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n RefreshCw: {\n children: [\n {\n attrs: {\n d: 'M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M21 3v5h-5',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M8 16H3v5',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Save: {\n children: [\n {\n attrs: {\n d: 'M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M7 3v4a1 1 0 0 0 1 1h7',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Search: {\n children: [\n {\n attrs: {\n d: 'm21 21-4.34-4.34',\n },\n tag: 'path',\n },\n {\n attrs: {\n cx: '11',\n cy: '11',\n r: '8',\n },\n tag: 'circle',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Square: {\n children: [\n {\n attrs: {\n height: '18',\n rx: '2',\n width: '18',\n x: '3',\n y: '3',\n },\n tag: 'rect',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Star: {\n children: [\n {\n attrs: {\n d: 'M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Trash2: {\n children: [\n {\n attrs: {\n d: 'M10 11v6',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M14 11v6',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M3 6h18',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n TriangleAlert: {\n children: [\n {\n attrs: {\n d: 'm21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M12 9v4',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M12 17h.01',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Upload: {\n children: [\n {\n attrs: {\n d: 'M12 3v12',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'm17 8-5-5-5 5',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n User: {\n children: [\n {\n attrs: {\n d: 'M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2',\n },\n tag: 'path',\n },\n {\n attrs: {\n cx: '12',\n cy: '7',\n r: '4',\n },\n tag: 'circle',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n X: {\n children: [\n {\n attrs: {\n d: 'M18 6 6 18',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'm6 6 12 12',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Zap: {\n children: [\n {\n attrs: {\n d: 'M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n});\n"],"mappings":"wBAIA,CAAA,CAAA,qBAAqB,CACnB,YAAa,CACX,SAAU,CACR,CACE,MAAO,CACL,GAAI,KACJ,GAAI,KACJ,EAAG,IACL,EACA,IAAK,QACP,EACA,CACE,MAAO,CACL,GAAI,KACJ,GAAI,KACJ,GAAI,IACJ,GAAI,IACN,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,GAAI,KACJ,GAAI,QACJ,GAAI,KACJ,GAAI,IACN,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,WAAY,CACV,SAAU,CACR,CACE,MAAO,CACL,EAAG,UACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,eACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,YAAa,CACX,SAAU,CACR,CACE,MAAO,CACL,EAAG,gBACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,UACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,cACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,SACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,SAAU,CACR,SAAU,CACR,CACE,MAAO,CACL,EAAG,QACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,SACL,EACA,IAA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E,MAAO,CACL,EAAG,gGACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,sCACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,8FACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,YACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,KAAM,CACJ,SAAU,CACR,CACE,MAAO,CACL,EAAG,gHACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,yBACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,OAAQ,CACN,SAAU,CACR,CACE,MAAO,CACL,EAAG,oJACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,MAAO,CACL,SAAU,CACR,CACE,MAAO,CACL,EAAG,YACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,8BACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,QAAS,CACP,SAAU,CACR,CACE,MAAO,CACL,EAAG,6BACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,KAAM,CACJ,SAAU,CACR,CACE,MAAO,CACL,EAAG,yCACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,OAAQ,KACR,GAAI,IACJ,MAAO,KACP,EAAG,IACH,EAAG,GACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,KAAM,CACJ,SAAU,CACR,CACE,MAAO,CACL,EAAG,SACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,UACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,UACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,MAAO,CACL,SAAU,CACR,CACE,MAAO,CACL,EAAG,UACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,QAAS,CACP,SAAU,CACR,CACE,MAAO,CACL,EAAG,0HACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,WACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,OAAQ,sBACV,EACA,IAAK,UACP,EACA,CACE,MAAO,CACL,EAAG,kBACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,MAAO,CACL,SAAU,CACR,CACE,MAAO,CACL,OAAQ,KACR,GAAI,IACJ,MAAO,IACP,EAAG,KACH,EAAG,GACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,OAAQ,KACR,GAAI,IACJ,MAAO,IACP,EAAG,IACH,EAAG,GACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,KAAM,CACJ,SAAU,CACR,CACE,MAAO,CACL,EAAG,oFACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,KAAM,CACJ,SAAU,CACR,CACE,MAAO,CACL,EAAG,UACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,UACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,UAAW,CACT,SAAU,CACR,CACE,MAAO,CACL,EAAG,oDACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,YACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,qDACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,WACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,KAAM,CACJ,SAAU,CACR,CACE,MAAO,CACL,EAAG,oGACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,2CACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,wBACL,EACA,IAAK,MACP,CACF,EACA,aAAc,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E,CACxB,EACA,cAAe,CACb,SAAU,CACR,CACE,MAAO,CACL,EAAG,0EACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,SACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,YACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,OAAQ,CACN,SAAU,CACR,CACE,MAAO,CACL,EAAG,UACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,eACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,2CACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,KAAM,CACJ,SAAU,CACR,CACE,MAAO,CACL,EAAG,2CACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,GAAI,KACJ,GAAI,IACJ,EAAG,GACL,EACA,IAAK,QACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,EAAG,CACD,SAAU,CACR,CACE,MAAO,CACL,EAAG,YACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,YACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,IAAK,CACH,SAAU,CACR,CACE,MAAO,CACL,EAAG,wKACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=defaults.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/icons/defaults.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{registerDefaultIcons as e}from"./registry.js";e({AlertCircle:{children:[{attrs:{cx:`12`,cy:`12`,r:`10`},tag:`circle`},{attrs:{x1:`12`,x2:`12`,y1:`8`,y2:`12`},tag:`line`},{attrs:{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`},tag:`line`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},ArrowRight:{children:[{attrs:{d:`M5 12h14`},tag:`path`},{attrs:{d:`m12 5 7 7-7 7`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},ArrowUpDown:{children:[{attrs:{d:`m21 16-4 4-4-4`},tag:`path`},{attrs:{d:`M17 20V4`},tag:`path`},{attrs:{d:`m3 8 4-4 4 4`},tag:`path`},{attrs:{d:`M7 4v16`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Calendar:{children:[{attrs:{d:`M8 2v3`},tag:`path`},{attrs:{d:`M16 2v3`},tag:`path`},{attrs:{height:`18`,rx:`2`,width:`18`,x:`3`,y:`3`},tag:`rect`},{attrs:{d:`M3 9h18`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Camera:{children:[{attrs:{d:`M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z`},tag:`path`},{attrs:{cx:`12`,cy:`13`,r:`3`},tag:`circle`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},ChartLine:{children:[{attrs:{d:`M3 3v16a2 2 0 0 0 2 2h16`},tag:`path`},{attrs:{d:`m19 9-5 5-4-4-3 3`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Check:{children:[{attrs:{d:`M20 6 9 17l-5-5`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},ChevronDown:{children:[{attrs:{d:`m6 9 6 6 6-6`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},ChevronLeft:{children:[{attrs:{d:`m15 18-6-6 6-6`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},ChevronRight:{children:[{attrs:{d:`m9 18 6-6-6-6`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},ChevronsLeft:{children:[{attrs:{d:`m11 17-5-5 5-5`},tag:`path`},{attrs:{d:`m18 17-5-5 5-5`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},ChevronsRight:{children:[{attrs:{d:`m6 17 5-5-5-5`},tag:`path`},{attrs:{d:`m13 17 5-5-5-5`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},CircleAlert:{children:[{attrs:{cx:`12`,cy:`12`,r:`10`},tag:`circle`},{attrs:{x1:`12`,x2:`12`,y1:`8`,y2:`12`},tag:`line`},{attrs:{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`},tag:`line`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Clock:{children:[{attrs:{cx:`12`,cy:`12`,r:`10`},tag:`circle`},{attrs:{d:`M12 6v6l4 2`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Columns2:{children:[{attrs:{height:`18`,rx:`2`,width:`18`,x:`3`,y:`3`},tag:`rect`},{attrs:{d:`M12 3v18`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Copy:{children:[{attrs:{height:`14`,rx:`2`,ry:`2`,width:`14`,x:`8`,y:`8`},tag:`rect`},{attrs:{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Eye:{children:[{attrs:{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`},tag:`path`},{attrs:{cx:`12`,cy:`12`,r:`3`},tag:`circle`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},EyeOff:{children:[{attrs:{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`},tag:`path`},{attrs:{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`},tag:`path`},{attrs:{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`},tag:`path`},{attrs:{d:`m2 2 20 20`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},File:{children:[{attrs:{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`},tag:`path`},{attrs:{d:`M14 2v5a1 1 0 0 0 1 1h5`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Filter:{children:[{attrs:{d:`M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Gauge:{children:[{attrs:{d:`m12 14 4-4`},tag:`path`},{attrs:{d:`M3.34 19a10 10 0 1 1 17.32 0`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Loader2:{children:[{attrs:{d:`M21 12a9 9 0 1 1-6.219-8.56`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Mail:{children:[{attrs:{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`},tag:`path`},{attrs:{height:`16`,rx:`2`,width:`20`,x:`2`,y:`4`},tag:`rect`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Menu:{children:[{attrs:{d:`M4 5h16`},tag:`path`},{attrs:{d:`M4 12h16`},tag:`path`},{attrs:{d:`M4 19h16`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Minus:{children:[{attrs:{d:`M5 12h14`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Package:{children:[{attrs:{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`},tag:`path`},{attrs:{d:`M12 22V12`},tag:`path`},{attrs:{points:`3.29 7 12 12 20.71 7`},tag:`polyline`},{attrs:{d:`m7.5 4.27 9 5.15`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Pause:{children:[{attrs:{height:`18`,rx:`1`,width:`5`,x:`14`,y:`3`},tag:`rect`},{attrs:{height:`18`,rx:`1`,width:`5`,x:`5`,y:`3`},tag:`rect`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Play:{children:[{attrs:{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Plus:{children:[{attrs:{d:`M5 12h14`},tag:`path`},{attrs:{d:`M12 5v14`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},RefreshCw:{children:[{attrs:{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`},tag:`path`},{attrs:{d:`M21 3v5h-5`},tag:`path`},{attrs:{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`},tag:`path`},{attrs:{d:`M8 16H3v5`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Save:{children:[{attrs:{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`},tag:`path`},{attrs:{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`},tag:`path`},{attrs:{d:`M7 3v4a1 1 0 0 0 1 1h7`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Search:{children:[{attrs:{d:`m21 21-4.34-4.34`},tag:`path`},{attrs:{cx:`11`,cy:`11`,r:`8`},tag:`circle`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Square:{children:[{attrs:{height:`18`,rx:`2`,width:`18`,x:`3`,y:`3`},tag:`rect`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Star:{children:[{attrs:{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Trash2:{children:[{attrs:{d:`M10 11v6`},tag:`path`},{attrs:{d:`M14 11v6`},tag:`path`},{attrs:{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`},tag:`path`},{attrs:{d:`M3 6h18`},tag:`path`},{attrs:{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},TriangleAlert:{children:[{attrs:{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`},tag:`path`},{attrs:{d:`M12 9v4`},tag:`path`},{attrs:{d:`M12 17h.01`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Upload:{children:[{attrs:{d:`M12 3v12`},tag:`path`},{attrs:{d:`m17 8-5-5-5 5`},tag:`path`},{attrs:{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},User:{children:[{attrs:{d:`M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2`},tag:`path`},{attrs:{cx:`12`,cy:`7`,r:`4`},tag:`circle`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},X:{children:[{attrs:{d:`M18 6 6 18`},tag:`path`},{attrs:{d:`m6 6 12 12`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]},Zap:{children:[{attrs:{d:`M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z`},tag:`path`}],presentation:{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":2},viewBox:[0,0,24,24]}});
2
+ //# sourceMappingURL=defaults.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaults.js","names":[],"sources":["../../src/icons/defaults.ts"],"sourcesContent":["// Curated Lucide/Feather SVG data. See ../../THIRD_PARTY_NOTICES for licenses.\n// No icon library is imported by the component runtime.\nimport { registerDefaultIcons } from './registry';\n\nregisterDefaultIcons({\n AlertCircle: {\n children: [\n {\n attrs: {\n cx: '12',\n cy: '12',\n r: '10',\n },\n tag: 'circle',\n },\n {\n attrs: {\n x1: '12',\n x2: '12',\n y1: '8',\n y2: '12',\n },\n tag: 'line',\n },\n {\n attrs: {\n x1: '12',\n x2: '12.01',\n y1: '16',\n y2: '16',\n },\n tag: 'line',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n ArrowRight: {\n children: [\n {\n attrs: {\n d: 'M5 12h14',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'm12 5 7 7-7 7',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n ArrowUpDown: {\n children: [\n {\n attrs: {\n d: 'm21 16-4 4-4-4',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M17 20V4',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'm3 8 4-4 4 4',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M7 4v16',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Calendar: {\n children: [\n {\n attrs: {\n d: 'M8 2v3',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M16 2v3',\n },\n tag: 'path',\n },\n {\n attrs: {\n height: '18',\n rx: '2',\n width: '18',\n x: '3',\n y: '3',\n },\n tag: 'rect',\n },\n {\n attrs: {\n d: 'M3 9h18',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Camera: {\n children: [\n {\n attrs: {\n d: 'M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z',\n },\n tag: 'path',\n },\n {\n attrs: {\n cx: '12',\n cy: '13',\n r: '3',\n },\n tag: 'circle',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n ChartLine: {\n children: [\n {\n attrs: {\n d: 'M3 3v16a2 2 0 0 0 2 2h16',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'm19 9-5 5-4-4-3 3',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Check: {\n children: [\n {\n attrs: {\n d: 'M20 6 9 17l-5-5',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n ChevronDown: {\n children: [\n {\n attrs: {\n d: 'm6 9 6 6 6-6',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n ChevronLeft: {\n children: [\n {\n attrs: {\n d: 'm15 18-6-6 6-6',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n ChevronRight: {\n children: [\n {\n attrs: {\n d: 'm9 18 6-6-6-6',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n ChevronsLeft: {\n children: [\n {\n attrs: {\n d: 'm11 17-5-5 5-5',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'm18 17-5-5 5-5',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n ChevronsRight: {\n children: [\n {\n attrs: {\n d: 'm6 17 5-5-5-5',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'm13 17 5-5-5-5',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n CircleAlert: {\n children: [\n {\n attrs: {\n cx: '12',\n cy: '12',\n r: '10',\n },\n tag: 'circle',\n },\n {\n attrs: {\n x1: '12',\n x2: '12',\n y1: '8',\n y2: '12',\n },\n tag: 'line',\n },\n {\n attrs: {\n x1: '12',\n x2: '12.01',\n y1: '16',\n y2: '16',\n },\n tag: 'line',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Clock: {\n children: [\n {\n attrs: {\n cx: '12',\n cy: '12',\n r: '10',\n },\n tag: 'circle',\n },\n {\n attrs: {\n d: 'M12 6v6l4 2',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Columns2: {\n children: [\n {\n attrs: {\n height: '18',\n rx: '2',\n width: '18',\n x: '3',\n y: '3',\n },\n tag: 'rect',\n },\n {\n attrs: {\n d: 'M12 3v18',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Copy: {\n children: [\n {\n attrs: {\n height: '14',\n rx: '2',\n ry: '2',\n width: '14',\n x: '8',\n y: '8',\n },\n tag: 'rect',\n },\n {\n attrs: {\n d: 'M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Eye: {\n children: [\n {\n attrs: {\n d: 'M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0',\n },\n tag: 'path',\n },\n {\n attrs: {\n cx: '12',\n cy: '12',\n r: '3',\n },\n tag: 'circle',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n EyeOff: {\n children: [\n {\n attrs: {\n d: 'M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M14.084 14.158a3 3 0 0 1-4.242-4.242',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'm2 2 20 20',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n File: {\n children: [\n {\n attrs: {\n d: 'M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M14 2v5a1 1 0 0 0 1 1h5',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Filter: {\n children: [\n {\n attrs: {\n d: 'M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Gauge: {\n children: [\n {\n attrs: {\n d: 'm12 14 4-4',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M3.34 19a10 10 0 1 1 17.32 0',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Loader2: {\n children: [\n {\n attrs: {\n d: 'M21 12a9 9 0 1 1-6.219-8.56',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Mail: {\n children: [\n {\n attrs: {\n d: 'm22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7',\n },\n tag: 'path',\n },\n {\n attrs: {\n height: '16',\n rx: '2',\n width: '20',\n x: '2',\n y: '4',\n },\n tag: 'rect',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Menu: {\n children: [\n {\n attrs: {\n d: 'M4 5h16',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M4 12h16',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M4 19h16',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Minus: {\n children: [\n {\n attrs: {\n d: 'M5 12h14',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Package: {\n children: [\n {\n attrs: {\n d: 'M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M12 22V12',\n },\n tag: 'path',\n },\n {\n attrs: {\n points: '3.29 7 12 12 20.71 7',\n },\n tag: 'polyline',\n },\n {\n attrs: {\n d: 'm7.5 4.27 9 5.15',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Pause: {\n children: [\n {\n attrs: {\n height: '18',\n rx: '1',\n width: '5',\n x: '14',\n y: '3',\n },\n tag: 'rect',\n },\n {\n attrs: {\n height: '18',\n rx: '1',\n width: '5',\n x: '5',\n y: '3',\n },\n tag: 'rect',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Play: {\n children: [\n {\n attrs: {\n d: 'M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Plus: {\n children: [\n {\n attrs: {\n d: 'M5 12h14',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M12 5v14',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n RefreshCw: {\n children: [\n {\n attrs: {\n d: 'M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M21 3v5h-5',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M8 16H3v5',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Save: {\n children: [\n {\n attrs: {\n d: 'M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M7 3v4a1 1 0 0 0 1 1h7',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Search: {\n children: [\n {\n attrs: {\n d: 'm21 21-4.34-4.34',\n },\n tag: 'path',\n },\n {\n attrs: {\n cx: '11',\n cy: '11',\n r: '8',\n },\n tag: 'circle',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Square: {\n children: [\n {\n attrs: {\n height: '18',\n rx: '2',\n width: '18',\n x: '3',\n y: '3',\n },\n tag: 'rect',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Star: {\n children: [\n {\n attrs: {\n d: 'M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Trash2: {\n children: [\n {\n attrs: {\n d: 'M10 11v6',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M14 11v6',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M3 6h18',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n TriangleAlert: {\n children: [\n {\n attrs: {\n d: 'm21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M12 9v4',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M12 17h.01',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Upload: {\n children: [\n {\n attrs: {\n d: 'M12 3v12',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'm17 8-5-5-5 5',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n User: {\n children: [\n {\n attrs: {\n d: 'M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2',\n },\n tag: 'path',\n },\n {\n attrs: {\n cx: '12',\n cy: '7',\n r: '4',\n },\n tag: 'circle',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n X: {\n children: [\n {\n attrs: {\n d: 'M18 6 6 18',\n },\n tag: 'path',\n },\n {\n attrs: {\n d: 'm6 6 12 12',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n Zap: {\n children: [\n {\n attrs: {\n d: 'M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z',\n },\n tag: 'path',\n },\n ],\n presentation: {\n fill: 'none',\n stroke: 'currentColor',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n 'stroke-width': 2,\n },\n viewBox: [0, 0, 24, 24],\n },\n});\n"],"mappings":"qDAIA,EAAqB,CACnB,YAAa,CACX,SAAU,CACR,CACE,MAAO,CACL,GAAI,KACJ,GAAI,KACJ,EAAG,IACL,EACA,IAAK,QACP,EACA,CACE,MAAO,CACL,GAAI,KACJ,GAAI,KACJ,GAAI,IACJ,GAAI,IACN,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,GAAI,KACJ,GAAI,QACJ,GAAI,KACJ,GAAI,IACN,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,WAAY,CACV,SAAU,CACR,CACE,MAAO,CACL,EAAG,UACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,eACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,YAAa,CACX,SAAU,CACR,CACE,MAAO,CACL,EAAG,gBACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,UACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,cACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,SACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,SAAU,CACR,SAAU,CACR,CACE,MAAO,CACL,EAAG,QACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,SACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,OAAQ,KACR,GAAI,IACJ,MAAO,KACP,EAAG,IACH,EAAG,GACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,SACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,OAAQ,CACN,SAAU,CACR,CACE,MAAO,CACL,EAAG,oLACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,GAAI,KACJ,GAAI,KACJ,EAAG,GACL,EACA,IAAK,QACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OA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,EAAG,UACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,KAAM,CACJ,SAAU,CACR,CACE,MAAO,CACL,OAAQ,KACR,GAAI,IACJ,GAAI,IACJ,MAAO,KACP,EAAG,IACH,EAAG,GACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,yDACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,IAAK,CACH,SAAU,CACR,CACE,MAAO,CACL,EAAG,uGACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,GAAI,KACJ,GAAI,KACJ,EAAG,GACL,EACA,IAAK,QACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,OAAQ,CACN,SAAU,CACR,CACE,MAAO,CACL,EAAG,gGACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,sCACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,8FACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,YACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,KAAM,CACJ,SAAU,CACR,CACE,MAAO,CACL,EAAG,gHACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,yBACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ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,KAAM,CACJ,SAAU,CACR,CACE,MAAO,CACL,EAAG,UACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,UACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,UAAW,CACT,SAAU,CACR,CACE,MAAO,CACL,EAAG,oDACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,YACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,qDACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,WACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,KAAM,CACJ,SAAU,CACR,CACE,MAAO,CACL,EAAG,oGACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,2CACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,wBACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,OAAQ,CACN,SAAU,CACR,CACE,MAAO,CACL,EAAG,kBACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,GAAI,KACJ,GAAI,KACJ,EAAG,GACL,EACA,IAAK,QACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,OAAQ,CACN,SAAU,CACR,CACE,MAAO,CACL,OAAQ,KACR,GAAI,IACJ,MAAO,KACP,EAAG,IACH,EAAG,GACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,KAAM,CACJ,SAAU,CACR,CACE,MAAO,CACL,EAAG,8WACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,OAAQ,CACN,SAAU,CACR,CACE,MAAO,CACL,EAAG,UACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,UACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,0CACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,SACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,wCACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,cAAe,CACb,SAAU,CACR,CACE,MAAO,CACL,EAAG,0EACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,SACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,YACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,OAAQ,CACN,SAAU,CACR,CACE,MAAO,CACL,EAAG,UACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,eACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,2CACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,KAAM,CACJ,SAAU,CACR,CACE,MAAO,CACL,EAAG,2CACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,GAAI,KACJ,GAAI,IACJ,EAAG,GACL,EACA,IAAK,QACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,EAAG,CACD,SAAU,CACR,CACE,MAAO,CACL,EAAG,YACL,EACA,IAAK,MACP,EACA,CACE,MAAO,CACL,EAAG,YACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,EACA,IAAK,CACH,SAAU,CACR,CACE,MAAO,CACL,EAAG,wKACL,EACA,IAAK,MACP,CACF,EACA,aAAc,CACZ,KAAM,OACN,OAAQ,eACR,iBAAkB,QAClB,kBAAmB,QACnB,eAAgB,CAClB,EACA,QAAS,CAAC,EAAG,EAAG,GAAI,EAAE,CACxB,CACF,CAAC"}
@@ -0,0 +1,13 @@
1
+ /** Shared library-neutral SVG data, independent of any icon provider. */
2
+ export type IconAttributes = Readonly<Record<string, string | number | undefined>>;
3
+ export type IconElement = {
4
+ readonly tag: string;
5
+ readonly attrs?: IconAttributes;
6
+ readonly children?: readonly IconElement[];
7
+ };
8
+ export type IconDefinition = {
9
+ readonly viewBox: readonly [number, number, number, number];
10
+ readonly presentation?: IconAttributes;
11
+ readonly children: readonly IconElement[];
12
+ };
13
+ //# sourceMappingURL=definition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"definition.d.ts","sourceRoot":"","sources":["../../src/icons/definition.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC;AACnF,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC;IAChC,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,WAAW,EAAE,CAAC;CAC5C,CAAC;AACF,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5D,QAAQ,CAAC,YAAY,CAAC,EAAE,cAAc,CAAC;IACvC,QAAQ,CAAC,QAAQ,EAAE,SAAS,WAAW,EAAE,CAAC;CAC3C,CAAC"}
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./_iconify-map.cjs");function heroiconsIcons(t){return e.mapIconifyIcons(t)}exports.heroiconsIcons=heroiconsIcons;
2
+ //# sourceMappingURL=heroicons.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"heroicons.cjs","names":[],"sources":["../../src/icons/heroicons.ts"],"sourcesContent":["import { mapIconifyIcons } from './_iconify-map.js';\nimport type { IconDefinition } from './definition.js';\nimport type { IconifyIcon } from './iconify.js';\n\nexport type { IconifyIcon } from './iconify.js';\n\n/**\n * Convert caller-named individual `@iconify-icons/heroicons` data, not `@heroicons/react` components.\n * Preserves app keys and SVG presentation; requires DOMParser. No imports or registration of icon sets.\n */\nexport function heroiconsIcons(icons: Readonly<Record<string, IconifyIcon>>): Record<string, IconDefinition> {\n return mapIconifyIcons(icons);\n}\n"],"mappings":"yGAUA,SAAgB,eAAe,EAA8E,CAC3G,OAAO,EAAA,gBAAgB,CAAK,CAC9B"}
@@ -0,0 +1,9 @@
1
+ import type { IconDefinition } from './definition.js';
2
+ import type { IconifyIcon } from './iconify.js';
3
+ export type { IconifyIcon } from './iconify.js';
4
+ /**
5
+ * Convert caller-named individual `@iconify-icons/heroicons` data, not `@heroicons/react` components.
6
+ * Preserves app keys and SVG presentation; requires DOMParser. No imports or registration of icon sets.
7
+ */
8
+ export declare function heroiconsIcons(icons: Readonly<Record<string, IconifyIcon>>): Record<string, IconDefinition>;
9
+ //# sourceMappingURL=heroicons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"heroicons.d.ts","sourceRoot":"","sources":["../../src/icons/heroicons.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAE3G"}
@@ -0,0 +1,2 @@
1
+ import{mapIconifyIcons as e}from"./_iconify-map.js";function heroiconsIcons(t){return e(t)}export{heroiconsIcons};
2
+ //# sourceMappingURL=heroicons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"heroicons.js","names":[],"sources":["../../src/icons/heroicons.ts"],"sourcesContent":["import { mapIconifyIcons } from './_iconify-map.js';\nimport type { IconDefinition } from './definition.js';\nimport type { IconifyIcon } from './iconify.js';\n\nexport type { IconifyIcon } from './iconify.js';\n\n/**\n * Convert caller-named individual `@iconify-icons/heroicons` data, not `@heroicons/react` components.\n * Preserves app keys and SVG presentation; requires DOMParser. No imports or registration of icon sets.\n */\nexport function heroiconsIcons(icons: Readonly<Record<string, IconifyIcon>>): Record<string, IconDefinition> {\n return mapIconifyIcons(icons);\n}\n"],"mappings":"oDAUA,SAAgB,eAAe,EAA8E,CAC3G,OAAO,EAAgB,CAAK,CAC9B"}
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../errors.cjs"),t=require("./svg.cjs");function iconifyIcon(n){if(!n||typeof n!=`object`)throw new e.RefineError(`Invalid Iconify icon`);let{left:r=0,top:i=0,width:a=16,height:o=16}=n;if(![r,i,a,o].every(Number.isFinite)||a<=0||o<=0)throw new e.RefineError(`Invalid Iconify geometry`);if(typeof n.body!=`string`||/<!|<\?/.test(n.body))throw new e.RefineError(`Invalid Iconify SVG body`);let s=new DOMParser().parseFromString(`<svg xmlns="${t.SVG_NS}" xmlns:xlink="http://www.w3.org/1999/xlink">${n.body}</svg>`,`image/svg+xml`);if(s.querySelector(`parsererror`))throw new e.RefineError(`Malformed Iconify SVG body`);for(let t of s.documentElement.childNodes)if(t.nodeType!==1&&t.nodeType!==8&&t.textContent?.trim())throw new e.RefineError(`SVG text is not supported in icon data`);let parse=t=>{if(t.namespaceURI!==`http://www.w3.org/2000/svg`)throw new e.RefineError(`Unsupported SVG namespace`);for(let n of t.childNodes)if(n.nodeType!==1&&n.nodeType!==8&&n.textContent?.trim())throw new e.RefineError(`SVG text is not supported in icon data`);return{attrs:Object.fromEntries([...t.attributes].filter(e=>e.name!==`class`).map(e=>[e.name,e.value])),children:[...t.children].map(parse),tag:t.localName}},c=[...s.documentElement.children].map(parse),{rotate:l=0,hFlip:u=!1,vFlip:d=!1}=n;if(!Number.isInteger(l)||typeof u!=`boolean`||typeof d!=`boolean`)throw new e.RefineError(`Invalid Iconify transform`);let f=r,p=i,m=[],h=((l+(u&&d?2:0))%4+4)%4;u!==d&&(m.push(u?`translate(${a+f} ${-p}) scale(-1 1)`:`translate(${-f} ${o+p}) scale(1 -1)`),f=p=0),h===1&&m.unshift(`rotate(90 ${o/2+p} ${o/2+p})`),h===2&&m.unshift(`rotate(180 ${a/2+f} ${o/2+p})`),h===3&&m.unshift(`rotate(-90 ${a/2+f} ${a/2+f})`),m.length&&(c=[{attrs:{transform:m.join(` `)},children:c,tag:`g`}]);let g={children:c,presentation:{fill:`currentColor`},viewBox:h%2?[p,f,o,a]:[f,p,a,o]};return t.validateIcon(g),g}function iconifyIcons(t,n){if(!t||typeof t.icons!=`object`||!t.icons||Array.isArray(t.icons))throw new e.RefineError(`Invalid Iconify collection`);let resolve=(n,r=new Set)=>{if(r.has(n))throw new e.RefineError(`Cyclic Iconify alias: ${n}`);r.add(n);let i=Object.hasOwn(t.icons,n)?t.icons[n]:void 0;if(i)return{...t,...i};let a=t.aliases&&Object.hasOwn(t.aliases,n)?t.aliases[n]:void 0;if(!a)throw new e.RefineError(`Unknown Iconify icon: ${n}`);if(a.rotate!==void 0&&!Number.isInteger(a.rotate)||a.hFlip!==void 0&&typeof a.hFlip!=`boolean`||a.vFlip!==void 0&&typeof a.vFlip!=`boolean`)throw new e.RefineError(`Invalid Iconify alias transform: ${n}`);let o=resolve(a.parent,r);return{...o,...a,hFlip:!!o.hFlip!=!!a.hFlip,rotate:(o.rotate??0)+(a.rotate??0),vFlip:!!o.vFlip!=!!a.vFlip}};return Object.fromEntries((n??[...Object.keys(t.icons),...Object.keys(t.aliases??{})]).map(e=>[t.prefix?`${t.prefix}:${e}`:e,iconifyIcon(resolve(e))]))}exports.iconifyIcon=iconifyIcon,exports.iconifyIcons=iconifyIcons;
2
+ //# sourceMappingURL=iconify.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iconify.cjs","names":[],"sources":["../../src/icons/iconify.ts"],"sourcesContent":["import { RefineError } from '../errors';\nimport type { IconDefinition, IconElement } from './definition';\nimport { SVG_NS, validateIcon } from './svg';\n\nexport type IconifyTransform = {\n readonly rotate?: number;\n readonly hFlip?: boolean;\n readonly vFlip?: boolean;\n};\nexport type IconifyIcon = IconifyTransform & {\n readonly body: string;\n readonly left?: number;\n readonly top?: number;\n readonly width?: number;\n readonly height?: number;\n};\nexport type IconifyAlias = IconifyTransform & {\n readonly parent: string;\n readonly left?: number;\n readonly top?: number;\n readonly width?: number;\n readonly height?: number;\n};\nexport type IconifyCollection = {\n readonly prefix?: string;\n readonly width?: number;\n readonly height?: number;\n readonly left?: number;\n readonly top?: number;\n readonly icons: Readonly<Record<string, IconifyIcon>>;\n readonly aliases?: Readonly<Record<string, IconifyAlias>>;\n};\n\n/** Convert trusted local Iconify data using the browser DOMParser, never HTML injection. */\nexport function iconifyIcon(data: IconifyIcon): IconDefinition {\n if (!data || typeof data !== 'object') throw new RefineError('Invalid Iconify icon');\n const { left = 0, top = 0, width = 16, height = 16 } = data;\n if (![left, top, width, height].every(Number.isFinite) || width <= 0 || height <= 0) {\n throw new RefineError('Invalid Iconify geometry');\n }\n if (typeof data.body !== 'string' || /<!|<\\?/.test(data.body)) throw new RefineError('Invalid Iconify SVG body');\n const doc = new DOMParser().parseFromString(\n `<svg xmlns=\"${SVG_NS}\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">${data.body}</svg>`,\n 'image/svg+xml',\n );\n if (doc.querySelector('parsererror')) throw new RefineError('Malformed Iconify SVG body');\n for (const node of doc.documentElement.childNodes) {\n if (node.nodeType !== 1 && node.nodeType !== 8 && node.textContent?.trim()) {\n throw new RefineError('SVG text is not supported in icon data');\n }\n }\n const parse = (element: Element): IconElement => {\n if (element.namespaceURI !== SVG_NS) throw new RefineError('Unsupported SVG namespace');\n for (const node of element.childNodes) {\n if (node.nodeType !== 1 && node.nodeType !== 8 && node.textContent?.trim()) {\n throw new RefineError('SVG text is not supported in icon data');\n }\n }\n return {\n // Provider classes are metadata, not portable SVG presentation.\n attrs: Object.fromEntries(\n [...element.attributes].filter((attr) => attr.name !== 'class').map((attr) => [attr.name, attr.value]),\n ),\n children: [...element.children].map(parse),\n tag: element.localName,\n };\n };\n let children: readonly IconElement[] = [...doc.documentElement.children].map(parse);\n const { rotate = 0, hFlip = false, vFlip = false } = data;\n if (!Number.isInteger(rotate) || typeof hFlip !== 'boolean' || typeof vFlip !== 'boolean') {\n throw new RefineError('Invalid Iconify transform');\n }\n let x = left;\n let y = top;\n const transforms: string[] = [];\n const turn = (((rotate + (hFlip && vFlip ? 2 : 0)) % 4) + 4) % 4;\n // Iconify applies flips before rotation and normalizes the origin for a single flip.\n if (hFlip !== vFlip) {\n transforms.push(hFlip ? `translate(${width + x} ${-y}) scale(-1 1)` : `translate(${-x} ${height + y}) scale(1 -1)`);\n x = y = 0;\n }\n if (turn === 1) transforms.unshift(`rotate(90 ${height / 2 + y} ${height / 2 + y})`);\n if (turn === 2) transforms.unshift(`rotate(180 ${width / 2 + x} ${height / 2 + y})`);\n if (turn === 3) transforms.unshift(`rotate(-90 ${width / 2 + x} ${width / 2 + x})`);\n if (transforms.length) {\n children = [\n {\n attrs: { transform: transforms.join(' ') },\n children,\n tag: 'g',\n },\n ];\n }\n const icon: IconDefinition = {\n children,\n presentation: { fill: 'currentColor' },\n viewBox: turn % 2 ? [y, x, height, width] : [x, y, width, height],\n };\n validateIcon(icon);\n return icon;\n}\n\n/** Convert selected names (including aliases), or the entire explicitly imported collection. */\nexport function iconifyIcons(collection: IconifyCollection, names?: readonly string[]): Record<string, IconDefinition> {\n if (!collection || typeof collection.icons !== 'object' || !collection.icons || Array.isArray(collection.icons)) {\n throw new RefineError('Invalid Iconify collection');\n }\n const resolve = (name: string, seen = new Set<string>()): IconifyIcon => {\n if (seen.has(name)) throw new RefineError(`Cyclic Iconify alias: ${name}`);\n seen.add(name);\n const icon = Object.hasOwn(collection.icons, name) ? collection.icons[name] : undefined;\n if (icon) return { ...collection, ...icon };\n const alias = collection.aliases && Object.hasOwn(collection.aliases, name) ? collection.aliases[name] : undefined;\n if (!alias) throw new RefineError(`Unknown Iconify icon: ${name}`);\n if (\n (alias.rotate !== undefined && !Number.isInteger(alias.rotate)) ||\n (alias.hFlip !== undefined && typeof alias.hFlip !== 'boolean') ||\n (alias.vFlip !== undefined && typeof alias.vFlip !== 'boolean')\n )\n throw new RefineError(`Invalid Iconify alias transform: ${name}`);\n const parent = resolve(alias.parent, seen);\n return {\n ...parent,\n ...alias,\n hFlip: !!parent.hFlip !== !!alias.hFlip,\n rotate: (parent.rotate ?? 0) + (alias.rotate ?? 0),\n vFlip: !!parent.vFlip !== !!alias.vFlip,\n };\n };\n return Object.fromEntries(\n (names ?? [...Object.keys(collection.icons), ...Object.keys(collection.aliases ?? {})]).map((name) => [\n collection.prefix ? `${collection.prefix}:${name}` : name,\n iconifyIcon(resolve(name)),\n ]),\n );\n}\n"],"mappings":"2HAkCA,SAAgB,YAAY,EAAmC,CAC7D,GAAI,CAAC,GAAQ,OAAO,GAAS,SAAU,MAAM,IAAI,EAAA,YAAY,sBAAsB,EACnF,GAAM,CAAE,OAAO,EAAG,MAAM,EAAG,QAAQ,GAAI,SAAS,IAAO,EACvD,GAAI,CAAC,CAAC,EAAM,EAAK,EAAO,CAAM,CAAC,CAAC,MAAM,OAAO,QAAQ,GAAK,GAAS,GAAK,GAAU,EAChF,MAAM,IAAI,EAAA,YAAY,0BAA0B,EAElD,GAAI,OAAO,EAAK,MAAS,UAAY,SAAS,KAAK,EAAK,IAAI,EAAG,MAAM,IAAI,EAAA,YAAY,0BAA0B,EAC/G,IAAM,EAAM,IAAI,UAAU,CAAC,CAAC,gBAC1B,eAAe,EAAA,OAAO,+CAA+C,EAAK,KAAK,QAC/E,eACF,EACA,GAAI,EAAI,cAAc,aAAa,EAAG,MAAM,IAAI,EAAA,YAAY,4BAA4B,EACxF,IAAK,IAAM,KAAQ,EAAI,gBAAgB,WACrC,GAAI,EAAK,WAAa,GAAK,EAAK,WAAa,GAAK,EAAK,aAAa,KAAK,EACvE,MAAM,IAAI,EAAA,YAAY,wCAAwC,EAGlE,IAAM,MAAS,GAAkC,CAC/C,GAAI,EAAQ,eAAA,6BAAyB,MAAM,IAAI,EAAA,YAAY,2BAA2B,EACtF,IAAK,IAAM,KAAQ,EAAQ,WACzB,GAAI,E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AAC,GAAG,OAAO,KAAK,EAAW,KAAK,EAAG,GAAG,OAAO,KAAK,EAAW,SAAW,CAAC,CAAC,CAAC,EAAA,CAAG,IAAK,GAAS,CACpG,EAAW,OAAS,GAAG,EAAW,OAAO,GAAG,IAAS,EACrD,YAAY,QAAQ,CAAI,CAAC,CAC3B,CAAC,CACH,CACF"}
@@ -0,0 +1,34 @@
1
+ import type { IconDefinition } from './definition';
2
+ export type IconifyTransform = {
3
+ readonly rotate?: number;
4
+ readonly hFlip?: boolean;
5
+ readonly vFlip?: boolean;
6
+ };
7
+ export type IconifyIcon = IconifyTransform & {
8
+ readonly body: string;
9
+ readonly left?: number;
10
+ readonly top?: number;
11
+ readonly width?: number;
12
+ readonly height?: number;
13
+ };
14
+ export type IconifyAlias = IconifyTransform & {
15
+ readonly parent: string;
16
+ readonly left?: number;
17
+ readonly top?: number;
18
+ readonly width?: number;
19
+ readonly height?: number;
20
+ };
21
+ export type IconifyCollection = {
22
+ readonly prefix?: string;
23
+ readonly width?: number;
24
+ readonly height?: number;
25
+ readonly left?: number;
26
+ readonly top?: number;
27
+ readonly icons: Readonly<Record<string, IconifyIcon>>;
28
+ readonly aliases?: Readonly<Record<string, IconifyAlias>>;
29
+ };
30
+ /** Convert trusted local Iconify data using the browser DOMParser, never HTML injection. */
31
+ export declare function iconifyIcon(data: IconifyIcon): IconDefinition;
32
+ /** Convert selected names (including aliases), or the entire explicitly imported collection. */
33
+ export declare function iconifyIcons(collection: IconifyCollection, names?: readonly string[]): Record<string, IconDefinition>;
34
+ //# sourceMappingURL=iconify.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iconify.d.ts","sourceRoot":"","sources":["../../src/icons/iconify.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,cAAc,CAAC;AAGhE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,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