pendentive 0.1.1

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 (113) hide show
  1. package/LICENSE +13 -0
  2. package/README.md +88 -0
  3. package/dist/components/avatar/Avatar.d.ts +26 -0
  4. package/dist/components/badge/Badge.d.ts +25 -0
  5. package/dist/components/button/Button.d.ts +51 -0
  6. package/dist/components/button/ButtonGroup.d.ts +36 -0
  7. package/dist/components/checkbox/Checkbox.d.ts +34 -0
  8. package/dist/components/command/Command.d.ts +59 -0
  9. package/dist/components/data/List.d.ts +40 -0
  10. package/dist/components/data/Table.d.ts +37 -0
  11. package/dist/components/data/Tree.d.ts +36 -0
  12. package/dist/components/feedback/Alert.d.ts +29 -0
  13. package/dist/components/feedback/ProgressBar.d.ts +32 -0
  14. package/dist/components/feedback/Skeleton.d.ts +20 -0
  15. package/dist/components/feedback/Spinner.d.ts +20 -0
  16. package/dist/components/feedback/Toast.d.ts +30 -0
  17. package/dist/components/field/ColorField.d.ts +33 -0
  18. package/dist/components/field/NumberField.d.ts +42 -0
  19. package/dist/components/field/TextArea.d.ts +35 -0
  20. package/dist/components/field/TextField.d.ts +39 -0
  21. package/dist/components/field/shared.d.ts +9 -0
  22. package/dist/components/field/textInput.css.d.ts +5 -0
  23. package/dist/components/hovercard/HoverCard.d.ts +35 -0
  24. package/dist/components/input/ChipInput.d.ts +31 -0
  25. package/dist/components/input/DatePicker.d.ts +66 -0
  26. package/dist/components/input/FileDropzone.d.ts +26 -0
  27. package/dist/components/layout/Card.d.ts +24 -0
  28. package/dist/components/layout/Section.d.ts +33 -0
  29. package/dist/components/layout/Separator.d.ts +18 -0
  30. package/dist/components/misc/ModeCard.d.ts +35 -0
  31. package/dist/components/navigation/Accordion.d.ts +42 -0
  32. package/dist/components/navigation/Breadcrumb.d.ts +25 -0
  33. package/dist/components/navigation/Pagination.d.ts +30 -0
  34. package/dist/components/navigation/Tabs.d.ts +38 -0
  35. package/dist/components/overlay/AlertDialog.d.ts +37 -0
  36. package/dist/components/overlay/ContextMenu.d.ts +19 -0
  37. package/dist/components/overlay/Dialog.d.ts +38 -0
  38. package/dist/components/overlay/Drawer.d.ts +40 -0
  39. package/dist/components/overlay/DropdownMenu.d.ts +55 -0
  40. package/dist/components/overlay/Popover.d.ts +33 -0
  41. package/dist/components/radio/RadioGroup.d.ts +37 -0
  42. package/dist/components/select/Combobox.d.ts +42 -0
  43. package/dist/components/select/Select.d.ts +48 -0
  44. package/dist/components/slider/RangeSlider.d.ts +43 -0
  45. package/dist/components/slider/Slider.d.ts +41 -0
  46. package/dist/components/switch/Switch.d.ts +35 -0
  47. package/dist/components/toggle/Toggle.d.ts +39 -0
  48. package/dist/components/toggle/ToggleGroup.d.ts +47 -0
  49. package/dist/components/tooltip/Tooltip.d.ts +22 -0
  50. package/dist/core/classNames.d.ts +6 -0
  51. package/dist/core/content.d.ts +2 -0
  52. package/dist/core/controller.d.ts +34 -0
  53. package/dist/core/dom.d.ts +14 -0
  54. package/dist/core/overlay.d.ts +14 -0
  55. package/dist/core/styleInjector.d.ts +12 -0
  56. package/dist/core/theme.d.ts +18 -0
  57. package/dist/core/types.d.ts +10 -0
  58. package/dist/index.cjs +4054 -0
  59. package/dist/index.cjs.map +1 -0
  60. package/dist/index.d.ts +62 -0
  61. package/dist/index.js +3934 -0
  62. package/dist/index.js.map +1 -0
  63. package/dist/linteau.global.js +397 -0
  64. package/dist/linteau.global.js.map +7 -0
  65. package/dist/styles/tokens.d.ts +33 -0
  66. package/dist/svg/Icon.d.ts +19 -0
  67. package/dist/svg/create-icon.d.ts +13 -0
  68. package/dist/svg/icons/alertTriangle.d.ts +1 -0
  69. package/dist/svg/icons/bell.d.ts +1 -0
  70. package/dist/svg/icons/calendar.d.ts +1 -0
  71. package/dist/svg/icons/check.d.ts +1 -0
  72. package/dist/svg/icons/chevronDown.d.ts +1 -0
  73. package/dist/svg/icons/chevronLeft.d.ts +1 -0
  74. package/dist/svg/icons/chevronRight.d.ts +1 -0
  75. package/dist/svg/icons/chevronUp.d.ts +1 -0
  76. package/dist/svg/icons/circle.d.ts +1 -0
  77. package/dist/svg/icons/copy.d.ts +1 -0
  78. package/dist/svg/icons/download.d.ts +1 -0
  79. package/dist/svg/icons/edit.d.ts +1 -0
  80. package/dist/svg/icons/externalLink.d.ts +1 -0
  81. package/dist/svg/icons/eye.d.ts +1 -0
  82. package/dist/svg/icons/eyeOff.d.ts +1 -0
  83. package/dist/svg/icons/filter.d.ts +1 -0
  84. package/dist/svg/icons/heart.d.ts +1 -0
  85. package/dist/svg/icons/home.d.ts +1 -0
  86. package/dist/svg/icons/index.d.ts +54 -0
  87. package/dist/svg/icons/info.d.ts +1 -0
  88. package/dist/svg/icons/link.d.ts +1 -0
  89. package/dist/svg/icons/loader.d.ts +1 -0
  90. package/dist/svg/icons/lock.d.ts +1 -0
  91. package/dist/svg/icons/mail.d.ts +1 -0
  92. package/dist/svg/icons/menu.d.ts +1 -0
  93. package/dist/svg/icons/minus.d.ts +1 -0
  94. package/dist/svg/icons/moon.d.ts +1 -0
  95. package/dist/svg/icons/moreHorizontal.d.ts +1 -0
  96. package/dist/svg/icons/phone.d.ts +1 -0
  97. package/dist/svg/icons/plus.d.ts +1 -0
  98. package/dist/svg/icons/refreshCw.d.ts +1 -0
  99. package/dist/svg/icons/search.d.ts +1 -0
  100. package/dist/svg/icons/settings.d.ts +1 -0
  101. package/dist/svg/icons/star.d.ts +1 -0
  102. package/dist/svg/icons/sun.d.ts +1 -0
  103. package/dist/svg/icons/trash.d.ts +1 -0
  104. package/dist/svg/icons/upload.d.ts +1 -0
  105. package/dist/svg/icons/user.d.ts +1 -0
  106. package/dist/svg/icons/x.d.ts +1 -0
  107. package/dist/svg/index.cjs +380 -0
  108. package/dist/svg/index.cjs.map +1 -0
  109. package/dist/svg/index.d.ts +4 -0
  110. package/dist/svg/index.js +352 -0
  111. package/dist/svg/index.js.map +1 -0
  112. package/dist/svg/types.d.ts +26 -0
  113. package/package.json +81 -0
@@ -0,0 +1,33 @@
1
+ /** Every design token Linteau exposes as a `--linteau-*` CSS custom property. */
2
+ export interface LinteauThemeTokens {
3
+ background: string;
4
+ foreground: string;
5
+ card: string;
6
+ cardForeground: string;
7
+ primary: string;
8
+ primaryForeground: string;
9
+ secondary: string;
10
+ secondaryForeground: string;
11
+ muted: string;
12
+ mutedForeground: string;
13
+ accent: string;
14
+ accentForeground: string;
15
+ destructive: string;
16
+ destructiveForeground: string;
17
+ success: string;
18
+ successForeground: string;
19
+ warning: string;
20
+ warningForeground: string;
21
+ border: string;
22
+ input: string;
23
+ ring: string;
24
+ radius: string;
25
+ radiusSm: string;
26
+ radiusMd: string;
27
+ radiusLg: string;
28
+ radiusXl: string;
29
+ }
30
+ /** Linteau's built-in dark theme -- the same OKLCH palette used across every component. */
31
+ export declare const defaultTheme: LinteauThemeTokens;
32
+ /** Builds the `:root { --linteau-*: ...; }` stylesheet text for a given set of theme tokens. */
33
+ export declare function buildTokensCss(tokens: LinteauThemeTokens): string;
@@ -0,0 +1,19 @@
1
+ import type { IconInput, IconRenderProps, IconShape } from './types';
2
+ /**
3
+ * Renders a static `IconShape` into a real `SVGSVGElement`.
4
+ *
5
+ * Exported so per-icon components (`svg/icons/*`) can reuse the exact same rendering
6
+ * path as the generic `Icon()` dispatcher below -- one source of truth, no duplication.
7
+ */
8
+ export declare function renderIconShape(shape: IconShape, props: IconRenderProps): SVGSVGElement;
9
+ /**
10
+ * Renders any supported `IconInput` shape into a real `SVGSVGElement`.
11
+ * Returns `null` when input is `null`/`undefined`, so callers never need to branch
12
+ * before rendering an optional icon.
13
+ *
14
+ * @param input - The icon source: shape array, raw markup, an existing element, a component/render function, or nothing.
15
+ * @param size - Shorthand for `props.size` (overridden if `props.size` is also set).
16
+ * @param props - Additional render props: color, strokeWidth, className.
17
+ * @requires A DOM environment (browser, or Node/Bun with a DOM shim).
18
+ */
19
+ export declare function Icon(input: IconInput, size?: number | string, props?: IconRenderProps): SVGSVGElement | null;
@@ -0,0 +1,13 @@
1
+ import type { IconComponent, IconShape } from './types';
2
+ /**
3
+ * Builds a ready-to-use icon component from a static shape -- mirroring how lucide
4
+ * generates one component per icon via `createLucideIcon`.
5
+ *
6
+ * Every file in `svg/icons/*` calls this once and exports the result, so each icon
7
+ * is a real, standalone, tree-shakeable SVG component instead of a shared data blob.
8
+ *
9
+ * @param name - Icon name, stamped onto the rendered element as `data-icon` (debugging/theming hook).
10
+ * @param shape - The ordered list of child nodes that make up the icon.
11
+ * @returns A component: call it with optional render props to get a fresh `SVGSVGElement`.
12
+ */
13
+ export declare function createIcon(name: string, shape: IconShape): IconComponent;
@@ -0,0 +1 @@
1
+ export declare const alertTriangle: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const bell: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const calendar: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const check: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const chevronDown: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const chevronLeft: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const chevronRight: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const chevronUp: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const circle: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const copy: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const download: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const edit: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const externalLink: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const eye: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const eyeOff: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const filter: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const heart: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const home: import("..").IconComponent;
@@ -0,0 +1,54 @@
1
+ import type { IconComponent } from '../types';
2
+ export { alertTriangle } from './alertTriangle';
3
+ export { bell } from './bell';
4
+ export { calendar } from './calendar';
5
+ export { check } from './check';
6
+ export { chevronDown } from './chevronDown';
7
+ export { chevronLeft } from './chevronLeft';
8
+ export { chevronRight } from './chevronRight';
9
+ export { chevronUp } from './chevronUp';
10
+ export { circle } from './circle';
11
+ export { copy } from './copy';
12
+ export { download } from './download';
13
+ export { edit } from './edit';
14
+ export { externalLink } from './externalLink';
15
+ export { eye } from './eye';
16
+ export { eyeOff } from './eyeOff';
17
+ export { filter } from './filter';
18
+ export { heart } from './heart';
19
+ export { home } from './home';
20
+ export { info } from './info';
21
+ export { link } from './link';
22
+ export { loader } from './loader';
23
+ export { lock } from './lock';
24
+ export { mail } from './mail';
25
+ export { menu } from './menu';
26
+ export { minus } from './minus';
27
+ export { moon } from './moon';
28
+ export { moreHorizontal } from './moreHorizontal';
29
+ export { phone } from './phone';
30
+ export { plus } from './plus';
31
+ export { refreshCw } from './refreshCw';
32
+ export { search } from './search';
33
+ export { settings } from './settings';
34
+ export { star } from './star';
35
+ export { sun } from './sun';
36
+ export { trash } from './trash';
37
+ export { upload } from './upload';
38
+ export { user } from './user';
39
+ export { x } from './x';
40
+ /**
41
+ * Linteau's built-in icon set, keyed by name -- auto-generated by `scripts/generate-icons.ts`
42
+ * from every file in `svg/icons/*`. Do not edit this file by hand: add or remove an icon
43
+ * file instead and re-run `bun run generate:icons` (any `build`/`typecheck`/`serve` run
44
+ * does this automatically for you).
45
+ *
46
+ * Every entry is a real, standalone `IconComponent`, so this object is fully interchangeable
47
+ * with, and spreadable alongside, your own lucide clone:
48
+ *
49
+ * ```ts
50
+ * import { icons } from 'linteau/svg'
51
+ * const allIcons: Record<string, IconComponent> = { ...icons, ...myLucideCloneIcons }
52
+ * ```
53
+ */
54
+ export declare const icons: Record<string, IconComponent>;
@@ -0,0 +1 @@
1
+ export declare const info: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const link: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const loader: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const lock: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const mail: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const menu: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const minus: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const moon: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const moreHorizontal: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const phone: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const plus: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const refreshCw: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const search: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const settings: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const star: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const sun: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const trash: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const upload: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const user: import("..").IconComponent;
@@ -0,0 +1 @@
1
+ export declare const x: import("..").IconComponent;
@@ -0,0 +1,380 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/svg/index.ts
21
+ var svg_exports = {};
22
+ __export(svg_exports, {
23
+ Icon: () => Icon,
24
+ icons: () => icons
25
+ });
26
+ module.exports = __toCommonJS(svg_exports);
27
+
28
+ // src/svg/Icon.ts
29
+ var SVGNS = "http://www.w3.org/2000/svg";
30
+ function baseAttrs(props) {
31
+ const size = String(props.size ?? 16);
32
+ return {
33
+ xmlns: SVGNS,
34
+ width: size,
35
+ height: size,
36
+ viewBox: "0 0 24 24",
37
+ fill: "none",
38
+ stroke: props.color ?? "currentColor",
39
+ "stroke-width": String(props.strokeWidth ?? 2),
40
+ "stroke-linecap": "round",
41
+ "stroke-linejoin": "round"
42
+ };
43
+ }
44
+ function renderIconShape(shape, props) {
45
+ const svg = document.createElementNS(SVGNS, "svg");
46
+ const attrs = baseAttrs(props);
47
+ for (const key in attrs) svg.setAttribute(key, attrs[key]);
48
+ if (props.className) svg.setAttribute("class", props.className);
49
+ for (const [tag, childAttrs] of shape) {
50
+ const node = document.createElementNS(SVGNS, tag);
51
+ for (const key in childAttrs) node.setAttribute(key, childAttrs[key]);
52
+ svg.appendChild(node);
53
+ }
54
+ return svg;
55
+ }
56
+ function fromElement(source, props) {
57
+ const svg = source.cloneNode(true);
58
+ const size = String(props.size ?? 16);
59
+ svg.setAttribute("width", size);
60
+ svg.setAttribute("height", size);
61
+ if (props.color) svg.setAttribute("stroke", props.color);
62
+ if (props.strokeWidth != null) svg.setAttribute("stroke-width", String(props.strokeWidth));
63
+ if (props.className) svg.classList.add(...props.className.split(" ").filter(Boolean));
64
+ return svg;
65
+ }
66
+ function fromMarkup(markup, props) {
67
+ const doc = new DOMParser().parseFromString(markup, "image/svg+xml");
68
+ return fromElement(doc.documentElement, props);
69
+ }
70
+ function Icon(input, size, props = {}) {
71
+ if (input === null || input === void 0) return null;
72
+ const resolved = { ...size !== void 0 ? { size } : {}, ...props };
73
+ if (typeof input === "function") return input(resolved);
74
+ if (typeof input === "string") return fromMarkup(input, resolved);
75
+ if (input instanceof SVGElement) return fromElement(input, resolved);
76
+ if (Array.isArray(input)) return renderIconShape(input, resolved);
77
+ return null;
78
+ }
79
+
80
+ // src/svg/create-icon.ts
81
+ function createIcon(name, shape) {
82
+ return function renderIcon(props = {}) {
83
+ const svg = renderIconShape(shape, props);
84
+ svg.setAttribute("data-icon", name);
85
+ return svg;
86
+ };
87
+ }
88
+
89
+ // src/svg/icons/alertTriangle.ts
90
+ var alertTriangle = createIcon("alert-triangle", [
91
+ ["path", { d: "M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0Z" }],
92
+ ["line", { x1: "12", y1: "9", x2: "12", y2: "13" }],
93
+ ["line", { x1: "12", y1: "17", x2: "12.01", y2: "17" }]
94
+ ]);
95
+
96
+ // src/svg/icons/bell.ts
97
+ var bell = createIcon("bell", [
98
+ ["path", { d: "M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9" }],
99
+ ["path", { d: "M10.3 21a1.94 1.94 0 0 0 3.4 0" }]
100
+ ]);
101
+
102
+ // src/svg/icons/calendar.ts
103
+ var calendar = createIcon("calendar", [
104
+ ["rect", { x: "3", y: "4", width: "18", height: "18", rx: "2" }],
105
+ ["line", { x1: "16", y1: "2", x2: "16", y2: "6" }],
106
+ ["line", { x1: "8", y1: "2", x2: "8", y2: "6" }],
107
+ ["line", { x1: "3", y1: "10", x2: "21", y2: "10" }]
108
+ ]);
109
+
110
+ // src/svg/icons/check.ts
111
+ var check = createIcon("check", [
112
+ ["polyline", { points: "20 6 9 17 4 12" }]
113
+ ]);
114
+
115
+ // src/svg/icons/chevronDown.ts
116
+ var chevronDown = createIcon("chevron-down", [
117
+ ["polyline", { points: "6 9 12 15 18 9" }]
118
+ ]);
119
+
120
+ // src/svg/icons/chevronLeft.ts
121
+ var chevronLeft = createIcon("chevron-left", [
122
+ ["polyline", { points: "15 18 9 12 15 6" }]
123
+ ]);
124
+
125
+ // src/svg/icons/chevronRight.ts
126
+ var chevronRight = createIcon("chevron-right", [
127
+ ["polyline", { points: "9 18 15 12 9 6" }]
128
+ ]);
129
+
130
+ // src/svg/icons/chevronUp.ts
131
+ var chevronUp = createIcon("chevron-up", [
132
+ ["polyline", { points: "18 15 12 9 6 15" }]
133
+ ]);
134
+
135
+ // src/svg/icons/circle.ts
136
+ var circle = createIcon("circle", [
137
+ ["circle", { cx: "12", cy: "12", r: "10" }]
138
+ ]);
139
+
140
+ // src/svg/icons/copy.ts
141
+ var copy = createIcon("copy", [
142
+ ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }],
143
+ ["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" }]
144
+ ]);
145
+
146
+ // src/svg/icons/download.ts
147
+ var download = createIcon("download", [
148
+ ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }],
149
+ ["polyline", { points: "7 10 12 15 17 10" }],
150
+ ["line", { x1: "12", y1: "15", x2: "12", y2: "3" }]
151
+ ]);
152
+
153
+ // src/svg/icons/edit.ts
154
+ var edit = createIcon("edit", [
155
+ ["path", { d: "M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z" }]
156
+ ]);
157
+
158
+ // src/svg/icons/externalLink.ts
159
+ var externalLink = createIcon("external-link", [
160
+ ["path", { d: "M15 3h6v6" }],
161
+ ["path", { d: "M10 14 21 3" }],
162
+ ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }]
163
+ ]);
164
+
165
+ // src/svg/icons/eye.ts
166
+ var eye = createIcon("eye", [
167
+ ["path", { d: "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }],
168
+ ["circle", { cx: "12", cy: "12", r: "3" }]
169
+ ]);
170
+
171
+ // src/svg/icons/eyeOff.ts
172
+ var eyeOff = createIcon("eye-off", [
173
+ ["path", { d: "M9.88 9.88a3 3 0 1 0 4.24 4.24" }],
174
+ ["path", { d: "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }],
175
+ ["path", { d: "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }],
176
+ ["line", { x1: "2", y1: "2", x2: "22", y2: "22" }]
177
+ ]);
178
+
179
+ // src/svg/icons/filter.ts
180
+ var filter = createIcon("filter", [
181
+ ["polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3" }]
182
+ ]);
183
+
184
+ // src/svg/icons/heart.ts
185
+ var heart = createIcon("heart", [
186
+ ["path", { d: "M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" }]
187
+ ]);
188
+
189
+ // src/svg/icons/home.ts
190
+ var home = createIcon("home", [
191
+ ["path", { d: "M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }],
192
+ ["polyline", { points: "9 22 9 12 15 12 15 22" }]
193
+ ]);
194
+
195
+ // src/svg/icons/info.ts
196
+ var info = createIcon("info", [
197
+ ["circle", { cx: "12", cy: "12", r: "10" }],
198
+ ["line", { x1: "12", y1: "16", x2: "12", y2: "12" }],
199
+ ["line", { x1: "12", y1: "8", x2: "12.01", y2: "8" }]
200
+ ]);
201
+
202
+ // src/svg/icons/link.ts
203
+ var link = createIcon("link", [
204
+ ["path", { d: "M9 17H7A5 5 0 0 1 7 7h2" }],
205
+ ["path", { d: "M15 7h2a5 5 0 1 1 0 10h-2" }],
206
+ ["line", { x1: "8", y1: "12", x2: "16", y2: "12" }]
207
+ ]);
208
+
209
+ // src/svg/icons/loader.ts
210
+ var loader = createIcon("loader", [
211
+ ["line", { x1: "12", y1: "2", x2: "12", y2: "6" }],
212
+ ["line", { x1: "12", y1: "18", x2: "12", y2: "22" }],
213
+ ["line", { x1: "4.9", y1: "4.9", x2: "7.8", y2: "7.8" }],
214
+ ["line", { x1: "16.2", y1: "16.2", x2: "19.1", y2: "19.1" }],
215
+ ["line", { x1: "2", y1: "12", x2: "6", y2: "12" }],
216
+ ["line", { x1: "18", y1: "12", x2: "22", y2: "12" }],
217
+ ["line", { x1: "4.9", y1: "19.1", x2: "7.8", y2: "16.2" }],
218
+ ["line", { x1: "16.2", y1: "7.8", x2: "19.1", y2: "4.9" }]
219
+ ]);
220
+
221
+ // src/svg/icons/lock.ts
222
+ var lock = createIcon("lock", [
223
+ ["rect", { x: "3", y: "11", width: "18", height: "11", rx: "2", ry: "2" }],
224
+ ["path", { d: "M7 11V7a5 5 0 0 1 10 0v4" }]
225
+ ]);
226
+
227
+ // src/svg/icons/mail.ts
228
+ var mail = createIcon("mail", [
229
+ ["rect", { width: "20", height: "16", x: "2", y: "4", rx: "2" }],
230
+ ["path", { d: "m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7" }]
231
+ ]);
232
+
233
+ // src/svg/icons/menu.ts
234
+ var menu = createIcon("menu", [
235
+ ["line", { x1: "4", y1: "12", x2: "20", y2: "12" }],
236
+ ["line", { x1: "4", y1: "6", x2: "20", y2: "6" }],
237
+ ["line", { x1: "4", y1: "18", x2: "20", y2: "18" }]
238
+ ]);
239
+
240
+ // src/svg/icons/minus.ts
241
+ var minus = createIcon("minus", [
242
+ ["line", { x1: "5", y1: "12", x2: "19", y2: "12" }]
243
+ ]);
244
+
245
+ // src/svg/icons/moon.ts
246
+ var moon = createIcon("moon", [
247
+ ["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" }]
248
+ ]);
249
+
250
+ // src/svg/icons/moreHorizontal.ts
251
+ var moreHorizontal = createIcon("more-horizontal", [
252
+ ["circle", { cx: "5", cy: "12", r: "1" }],
253
+ ["circle", { cx: "12", cy: "12", r: "1" }],
254
+ ["circle", { cx: "19", cy: "12", r: "1" }]
255
+ ]);
256
+
257
+ // src/svg/icons/phone.ts
258
+ var phone = createIcon("phone", [
259
+ ["path", { d: "M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z" }]
260
+ ]);
261
+
262
+ // src/svg/icons/plus.ts
263
+ var plus = createIcon("plus", [
264
+ ["line", { x1: "12", y1: "5", x2: "12", y2: "19" }],
265
+ ["line", { x1: "5", y1: "12", x2: "19", y2: "12" }]
266
+ ]);
267
+
268
+ // src/svg/icons/refreshCw.ts
269
+ var refreshCw = createIcon("refresh-cw", [
270
+ ["path", { d: "M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }],
271
+ ["path", { d: "M3 3v5h5" }],
272
+ ["path", { d: "M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16" }],
273
+ ["path", { d: "M16 16h5v5" }]
274
+ ]);
275
+
276
+ // src/svg/icons/search.ts
277
+ var search = createIcon("search", [
278
+ ["circle", { cx: "11", cy: "11", r: "8" }],
279
+ ["line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" }]
280
+ ]);
281
+
282
+ // src/svg/icons/settings.ts
283
+ var settings = createIcon("settings", [
284
+ ["path", { d: "M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z" }],
285
+ ["circle", { cx: "12", cy: "12", r: "3" }]
286
+ ]);
287
+
288
+ // src/svg/icons/star.ts
289
+ var star = createIcon("star", [
290
+ ["polygon", { points: "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" }]
291
+ ]);
292
+
293
+ // src/svg/icons/sun.ts
294
+ var sun = createIcon("sun", [
295
+ ["circle", { cx: "12", cy: "12", r: "4" }],
296
+ ["line", { x1: "12", y1: "2", x2: "12", y2: "4" }],
297
+ ["line", { x1: "12", y1: "20", x2: "12", y2: "22" }],
298
+ ["line", { x1: "4.93", y1: "4.93", x2: "6.34", y2: "6.34" }],
299
+ ["line", { x1: "17.66", y1: "17.66", x2: "19.07", y2: "19.07" }],
300
+ ["line", { x1: "2", y1: "12", x2: "4", y2: "12" }],
301
+ ["line", { x1: "20", y1: "12", x2: "22", y2: "12" }],
302
+ ["line", { x1: "6.34", y1: "17.66", x2: "4.93", y2: "19.07" }],
303
+ ["line", { x1: "19.07", y1: "4.93", x2: "17.66", y2: "6.34" }]
304
+ ]);
305
+
306
+ // src/svg/icons/trash.ts
307
+ var trash = createIcon("trash", [
308
+ ["path", { d: "M3 6h18" }],
309
+ ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" }],
310
+ ["path", { d: "M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6" }],
311
+ ["line", { x1: "10", y1: "11", x2: "10", y2: "17" }],
312
+ ["line", { x1: "14", y1: "11", x2: "14", y2: "17" }]
313
+ ]);
314
+
315
+ // src/svg/icons/upload.ts
316
+ var upload = createIcon("upload", [
317
+ ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }],
318
+ ["polyline", { points: "17 8 12 3 7 8" }],
319
+ ["line", { x1: "12", y1: "3", x2: "12", y2: "15" }]
320
+ ]);
321
+
322
+ // src/svg/icons/user.ts
323
+ var user = createIcon("user", [
324
+ ["path", { d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2" }],
325
+ ["circle", { cx: "12", cy: "7", r: "4" }]
326
+ ]);
327
+
328
+ // src/svg/icons/x.ts
329
+ var x = createIcon("x", [
330
+ ["line", { x1: "18", y1: "6", x2: "6", y2: "18" }],
331
+ ["line", { x1: "6", y1: "6", x2: "18", y2: "18" }]
332
+ ]);
333
+
334
+ // src/svg/icons/index.ts
335
+ var icons = {
336
+ alertTriangle,
337
+ bell,
338
+ calendar,
339
+ check,
340
+ chevronDown,
341
+ chevronLeft,
342
+ chevronRight,
343
+ chevronUp,
344
+ circle,
345
+ copy,
346
+ download,
347
+ edit,
348
+ externalLink,
349
+ eye,
350
+ eyeOff,
351
+ filter,
352
+ heart,
353
+ home,
354
+ info,
355
+ link,
356
+ loader,
357
+ lock,
358
+ mail,
359
+ menu,
360
+ minus,
361
+ moon,
362
+ moreHorizontal,
363
+ phone,
364
+ plus,
365
+ refreshCw,
366
+ search,
367
+ settings,
368
+ star,
369
+ sun,
370
+ trash,
371
+ upload,
372
+ user,
373
+ x
374
+ };
375
+ // Annotate the CommonJS export names for ESM import in node:
376
+ 0 && (module.exports = {
377
+ Icon,
378
+ icons
379
+ });
380
+ //# sourceMappingURL=index.cjs.map