ui-lab-registry 0.1.0

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 (153) hide show
  1. package/README.md +145 -0
  2. package/dist/categories.d.ts +5 -0
  3. package/dist/categories.d.ts.map +1 -0
  4. package/dist/categories.js +81 -0
  5. package/dist/categories.js.map +1 -0
  6. package/dist/components/badge.d.ts +15 -0
  7. package/dist/components/badge.d.ts.map +1 -0
  8. package/dist/components/badge.js +31 -0
  9. package/dist/components/badge.js.map +1 -0
  10. package/dist/components/button-group.d.ts +27 -0
  11. package/dist/components/button-group.d.ts.map +1 -0
  12. package/dist/components/button-group.js +99 -0
  13. package/dist/components/button-group.js.map +1 -0
  14. package/dist/components/button.d.ts +13 -0
  15. package/dist/components/button.d.ts.map +1 -0
  16. package/dist/components/button.js +26 -0
  17. package/dist/components/button.js.map +1 -0
  18. package/dist/components/card.d.ts +19 -0
  19. package/dist/components/card.d.ts.map +1 -0
  20. package/dist/components/card.js +20 -0
  21. package/dist/components/card.js.map +1 -0
  22. package/dist/components/checkbox.d.ts +21 -0
  23. package/dist/components/checkbox.d.ts.map +1 -0
  24. package/dist/components/checkbox.js +69 -0
  25. package/dist/components/checkbox.js.map +1 -0
  26. package/dist/components/command-palette.d.ts +32 -0
  27. package/dist/components/command-palette.d.ts.map +1 -0
  28. package/dist/components/command-palette.js +256 -0
  29. package/dist/components/command-palette.js.map +1 -0
  30. package/dist/components/confirmation.d.ts +25 -0
  31. package/dist/components/confirmation.d.ts.map +1 -0
  32. package/dist/components/confirmation.js +120 -0
  33. package/dist/components/confirmation.js.map +1 -0
  34. package/dist/components/context-menu.d.ts +28 -0
  35. package/dist/components/context-menu.d.ts.map +1 -0
  36. package/dist/components/context-menu.js +36 -0
  37. package/dist/components/context-menu.js.map +1 -0
  38. package/dist/components/divider.d.ts +19 -0
  39. package/dist/components/divider.d.ts.map +1 -0
  40. package/dist/components/divider.js +240 -0
  41. package/dist/components/divider.js.map +1 -0
  42. package/dist/components/form-wrapper.d.ts +48 -0
  43. package/dist/components/form-wrapper.d.ts.map +1 -0
  44. package/dist/components/form-wrapper.js +122 -0
  45. package/dist/components/form-wrapper.js.map +1 -0
  46. package/dist/components/index.d.ts +24 -0
  47. package/dist/components/index.d.ts.map +1 -0
  48. package/dist/components/index.js +24 -0
  49. package/dist/components/index.js.map +1 -0
  50. package/dist/components/input.d.ts +17 -0
  51. package/dist/components/input.d.ts.map +1 -0
  52. package/dist/components/input.js +38 -0
  53. package/dist/components/input.js.map +1 -0
  54. package/dist/components/label.d.ts +17 -0
  55. package/dist/components/label.d.ts.map +1 -0
  56. package/dist/components/label.js +31 -0
  57. package/dist/components/label.js.map +1 -0
  58. package/dist/components/logo.d.ts +2 -0
  59. package/dist/components/logo.d.ts.map +1 -0
  60. package/dist/components/logo.js +6 -0
  61. package/dist/components/logo.js.map +1 -0
  62. package/dist/components/modal.d.ts +21 -0
  63. package/dist/components/modal.d.ts.map +1 -0
  64. package/dist/components/modal.js +67 -0
  65. package/dist/components/modal.js.map +1 -0
  66. package/dist/components/popover.d.ts +18 -0
  67. package/dist/components/popover.d.ts.map +1 -0
  68. package/dist/components/popover.js +243 -0
  69. package/dist/components/popover.js.map +1 -0
  70. package/dist/components/progress.d.ts +19 -0
  71. package/dist/components/progress.d.ts.map +1 -0
  72. package/dist/components/progress.js +38 -0
  73. package/dist/components/progress.js.map +1 -0
  74. package/dist/components/radio.d.ts +17 -0
  75. package/dist/components/radio.d.ts.map +1 -0
  76. package/dist/components/radio.js +62 -0
  77. package/dist/components/radio.js.map +1 -0
  78. package/dist/components/select.d.ts +13 -0
  79. package/dist/components/select.d.ts.map +1 -0
  80. package/dist/components/select.js +26 -0
  81. package/dist/components/select.js.map +1 -0
  82. package/dist/components/slider.d.ts +9 -0
  83. package/dist/components/slider.d.ts.map +1 -0
  84. package/dist/components/slider.js +32 -0
  85. package/dist/components/slider.js.map +1 -0
  86. package/dist/components/switch.d.ts +24 -0
  87. package/dist/components/switch.d.ts.map +1 -0
  88. package/dist/components/switch.js +92 -0
  89. package/dist/components/switch.js.map +1 -0
  90. package/dist/components/tabs.d.ts +20 -0
  91. package/dist/components/tabs.d.ts.map +1 -0
  92. package/dist/components/tabs.js +85 -0
  93. package/dist/components/tabs.js.map +1 -0
  94. package/dist/components/textarea.d.ts +17 -0
  95. package/dist/components/textarea.d.ts.map +1 -0
  96. package/dist/components/textarea.js +62 -0
  97. package/dist/components/textarea.js.map +1 -0
  98. package/dist/components/toast/index.d.ts +5 -0
  99. package/dist/components/toast/index.d.ts.map +1 -0
  100. package/dist/components/toast/index.js +4 -0
  101. package/dist/components/toast/index.js.map +1 -0
  102. package/dist/components/toast/store.d.ts +55 -0
  103. package/dist/components/toast/store.d.ts.map +1 -0
  104. package/dist/components/toast/store.js +76 -0
  105. package/dist/components/toast/store.js.map +1 -0
  106. package/dist/components/toast/toast.d.ts +10 -0
  107. package/dist/components/toast/toast.d.ts.map +1 -0
  108. package/dist/components/toast/toast.js +148 -0
  109. package/dist/components/toast/toast.js.map +1 -0
  110. package/dist/components/toast/toaster.d.ts +2 -0
  111. package/dist/components/toast/toaster.d.ts.map +1 -0
  112. package/dist/components/toast/toaster.js +391 -0
  113. package/dist/components/toast/toaster.js.map +1 -0
  114. package/dist/components/toast/use-toast.d.ts +9 -0
  115. package/dist/components/toast/use-toast.d.ts.map +1 -0
  116. package/dist/components/toast/use-toast.js +17 -0
  117. package/dist/components/toast/use-toast.js.map +1 -0
  118. package/dist/components/tooltip.d.ts +17 -0
  119. package/dist/components/tooltip.d.ts.map +1 -0
  120. package/dist/components/tooltip.js +227 -0
  121. package/dist/components/tooltip.js.map +1 -0
  122. package/dist/helpers.d.ts +9 -0
  123. package/dist/helpers.d.ts.map +1 -0
  124. package/dist/helpers.js +36 -0
  125. package/dist/helpers.js.map +1 -0
  126. package/dist/index.d.ts +6 -0
  127. package/dist/index.d.ts.map +1 -0
  128. package/dist/index.js +9 -0
  129. package/dist/index.js.map +1 -0
  130. package/dist/lib/utils.d.ts +3 -0
  131. package/dist/lib/utils.d.ts.map +1 -0
  132. package/dist/lib/utils.js +5 -0
  133. package/dist/lib/utils.js.map +1 -0
  134. package/dist/registry.d.ts +10 -0
  135. package/dist/registry.d.ts.map +1 -0
  136. package/dist/registry.js +418 -0
  137. package/dist/registry.js.map +1 -0
  138. package/dist/starters/presets.d.ts +4 -0
  139. package/dist/starters/presets.d.ts.map +1 -0
  140. package/dist/starters/presets.js +49 -0
  141. package/dist/starters/presets.js.map +1 -0
  142. package/dist/types.d.ts +35 -0
  143. package/dist/types.d.ts.map +1 -0
  144. package/dist/types.js +2 -0
  145. package/dist/types.js.map +1 -0
  146. package/package.json +66 -0
  147. package/src/categories.ts +84 -0
  148. package/src/helpers.ts +44 -0
  149. package/src/index.ts +29 -0
  150. package/src/lib/utils.ts +5 -0
  151. package/src/registry.ts +443 -0
  152. package/src/starters/presets.ts +51 -0
  153. package/src/types.ts +48 -0
@@ -0,0 +1,227 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import React, { useState, useRef, useEffect } from "react";
3
+ import { createPortal } from "react-dom";
4
+ import { cn } from "../lib/utils";
5
+ // Layout and spacing constants
6
+ const ARROW_SIZE = 12;
7
+ const ARROW_MASK_THICKNESS = 2;
8
+ const TOOLTIP_GAP = 8;
9
+ const ARROW_POSITIONING_SIZE = 6;
10
+ const DEFAULT_SHOW_DELAY_MS = 200;
11
+ const TooltipArrow = ({ position }) => {
12
+ const [borderWidth, setBorderWidth] = React.useState(1);
13
+ React.useEffect(() => {
14
+ const root = document.documentElement;
15
+ const borderWidthStr = getComputedStyle(root).getPropertyValue("--border-width-base").trim();
16
+ const width = parseFloat(borderWidthStr) || 1;
17
+ setBorderWidth(width);
18
+ }, []);
19
+ /**
20
+ * Calculate SVG polygon points for the arrow triangle.
21
+ * Creates a triangle pointing in the specified direction.
22
+ */
23
+ const getArrowPoints = () => {
24
+ const halfSize = ARROW_SIZE / 2;
25
+ switch (position) {
26
+ case "top":
27
+ return `${halfSize},${ARROW_SIZE} 0,0 ${ARROW_SIZE},0`;
28
+ case "bottom":
29
+ return `${halfSize},0 0,${ARROW_SIZE} ${ARROW_SIZE},${ARROW_SIZE}`;
30
+ case "left":
31
+ return `${ARROW_SIZE},${halfSize} 0,0 0,${ARROW_SIZE}`;
32
+ case "right":
33
+ return `0,${halfSize} ${ARROW_SIZE},0 ${ARROW_SIZE},${ARROW_SIZE}`;
34
+ }
35
+ };
36
+ /**
37
+ * Calculate border lines for the arrow.
38
+ * Excludes the edge that connects to the tooltip to avoid double borders.
39
+ */
40
+ const getBorderLines = () => {
41
+ const halfSize = ARROW_SIZE / 2;
42
+ switch (position) {
43
+ case "top":
44
+ return [
45
+ { x1: halfSize, y1: ARROW_SIZE, x2: 0, y2: 0 },
46
+ { x1: halfSize, y1: ARROW_SIZE, x2: ARROW_SIZE, y2: 0 },
47
+ ];
48
+ case "bottom":
49
+ return [
50
+ { x1: halfSize, y1: 0, x2: 0, y2: ARROW_SIZE },
51
+ { x1: halfSize, y1: 0, x2: ARROW_SIZE, y2: ARROW_SIZE },
52
+ ];
53
+ case "left":
54
+ return [
55
+ { x1: ARROW_SIZE, y1: halfSize, x2: 0, y2: 0 },
56
+ { x1: ARROW_SIZE, y1: halfSize, x2: 0, y2: ARROW_SIZE },
57
+ ];
58
+ case "right":
59
+ return [
60
+ { x1: 0, y1: halfSize, x2: ARROW_SIZE, y2: 0 },
61
+ { x1: 0, y1: halfSize, x2: ARROW_SIZE, y2: ARROW_SIZE },
62
+ ];
63
+ }
64
+ };
65
+ /**
66
+ * Calculate positioning styles for the arrow relative to the tooltip.
67
+ * Accounts for border width and positions the arrow at the tooltip edge.
68
+ */
69
+ const getArrowStyles = () => {
70
+ const borderOffset = borderWidth / 2;
71
+ switch (position) {
72
+ case "top":
73
+ return {
74
+ top: `calc(100% + ${borderOffset}px)`,
75
+ left: "50%",
76
+ transform: `translateX(-50%) translateY(-${borderOffset}px)`,
77
+ };
78
+ case "bottom":
79
+ return {
80
+ bottom: `calc(100% + ${borderOffset}px)`,
81
+ left: "50%",
82
+ transform: `translateX(-50%) translateY(${borderOffset}px)`,
83
+ };
84
+ case "left":
85
+ return {
86
+ left: `calc(100% + ${borderOffset}px)`,
87
+ top: "50%",
88
+ transform: `translateY(-50%) translateX(-${borderOffset}px)`,
89
+ };
90
+ case "right":
91
+ return {
92
+ right: `calc(100% + ${borderOffset}px)`,
93
+ top: "50%",
94
+ transform: `translateY(-50%) translateX(${borderOffset}px)`,
95
+ };
96
+ }
97
+ };
98
+ /**
99
+ * Get the connecting edge mask based on arrow position.
100
+ * This hides the tooltip border at the arrow connection point.
101
+ */
102
+ const getMaskRect = () => {
103
+ switch (position) {
104
+ case "top":
105
+ return (_jsx("rect", { x: "0", y: ARROW_SIZE - ARROW_MASK_THICKNESS, width: ARROW_SIZE, height: ARROW_MASK_THICKNESS, fill: "black" }));
106
+ case "bottom":
107
+ return _jsx("rect", { x: "0", y: "0", width: ARROW_SIZE, height: ARROW_MASK_THICKNESS, fill: "black" });
108
+ case "left":
109
+ return (_jsx("rect", { x: ARROW_SIZE - ARROW_MASK_THICKNESS, y: "0", width: ARROW_MASK_THICKNESS, height: ARROW_SIZE, fill: "black" }));
110
+ case "right":
111
+ return _jsx("rect", { x: "0", y: "0", width: ARROW_MASK_THICKNESS, height: ARROW_SIZE, fill: "black" });
112
+ }
113
+ };
114
+ return (_jsxs("svg", { width: ARROW_SIZE, height: ARROW_SIZE, viewBox: `0 0 ${ARROW_SIZE} ${ARROW_SIZE}`, className: "absolute pointer-events-none", style: getArrowStyles(), children: [_jsx("defs", { children: _jsxs("mask", { id: `arrow-mask-${position}`, children: [_jsx("rect", { width: ARROW_SIZE, height: ARROW_SIZE, fill: "white" }), getMaskRect()] }) }), _jsx("polygon", { points: getArrowPoints(), fill: "var(--color-background-900)", mask: `url(#arrow-mask-${position})` }), getBorderLines().map((line, idx) => (_jsx("line", { x1: line.x1, y1: line.y1, x2: line.x2, y2: line.y2, stroke: "var(--color-background-700)", strokeWidth: borderWidth, strokeLinecap: "round" }, idx)))] }));
115
+ };
116
+ /**
117
+ * Tooltip component that displays additional information on hover.
118
+ * Supports positioning in four directions with smooth animations.
119
+ */
120
+ const Tooltip = React.forwardRef(({ children, content, position = "top", className, contentClassName, delay = DEFAULT_SHOW_DELAY_MS, }, ref) => {
121
+ const [isVisible, setIsVisible] = useState(false);
122
+ const [isPositioned, setIsPositioned] = useState(false);
123
+ const [tooltipPosition, setTooltipPosition] = useState({
124
+ top: 0,
125
+ left: 0,
126
+ });
127
+ const triggerRef = useRef(null);
128
+ const timeoutRef = useRef(undefined);
129
+ /**
130
+ * Calculate tooltip position based on trigger element and position preference.
131
+ * Positions the tooltip with appropriate spacing and arrow alignment.
132
+ * Sets isPositioned flag after calculation to prevent flickering on first render.
133
+ */
134
+ useEffect(() => {
135
+ if (!isVisible || !triggerRef.current)
136
+ return;
137
+ const triggerRect = triggerRef.current.getBoundingClientRect();
138
+ let top = 0;
139
+ let left = 0;
140
+ switch (position) {
141
+ case "top":
142
+ top = triggerRect.top - TOOLTIP_GAP - ARROW_POSITIONING_SIZE;
143
+ left = triggerRect.left + triggerRect.width / 2;
144
+ break;
145
+ case "bottom":
146
+ top = triggerRect.bottom + TOOLTIP_GAP + ARROW_POSITIONING_SIZE;
147
+ left = triggerRect.left + triggerRect.width / 2;
148
+ break;
149
+ case "left":
150
+ top = triggerRect.top + triggerRect.height / 2;
151
+ left = triggerRect.left - TOOLTIP_GAP - ARROW_POSITIONING_SIZE;
152
+ break;
153
+ case "right":
154
+ top = triggerRect.top + triggerRect.height / 2;
155
+ left = triggerRect.right + TOOLTIP_GAP + ARROW_POSITIONING_SIZE;
156
+ break;
157
+ }
158
+ setTooltipPosition({ top, left });
159
+ setIsPositioned(true);
160
+ }, [isVisible, position]);
161
+ /**
162
+ * Handle mouse enter with configurable delay before showing tooltip.
163
+ */
164
+ const handleMouseEnter = () => {
165
+ timeoutRef.current = setTimeout(() => {
166
+ setIsVisible(true);
167
+ }, delay);
168
+ };
169
+ /**
170
+ * Handle mouse leave by canceling any pending show and hiding the tooltip.
171
+ * Reset positioning flag for next show.
172
+ */
173
+ const handleMouseLeave = () => {
174
+ if (timeoutRef.current) {
175
+ clearTimeout(timeoutRef.current);
176
+ }
177
+ setIsVisible(false);
178
+ setIsPositioned(false);
179
+ };
180
+ /**
181
+ * Cleanup timeout on unmount.
182
+ */
183
+ useEffect(() => {
184
+ return () => {
185
+ if (timeoutRef.current) {
186
+ clearTimeout(timeoutRef.current);
187
+ }
188
+ };
189
+ }, []);
190
+ /**
191
+ * Handle Escape key to close tooltip.
192
+ */
193
+ useEffect(() => {
194
+ if (!isVisible)
195
+ return;
196
+ const handleKeyDown = (event) => {
197
+ if (event.key === "Escape") {
198
+ setIsVisible(false);
199
+ }
200
+ };
201
+ document.addEventListener("keydown", handleKeyDown);
202
+ return () => {
203
+ document.removeEventListener("keydown", handleKeyDown);
204
+ };
205
+ }, [isVisible]);
206
+ /**
207
+ * CSS classes for positioning the tooltip container based on direction.
208
+ * Applies negative transforms to properly center the tooltip relative to trigger.
209
+ */
210
+ const positionClasses = {
211
+ top: "-translate-x-1/2 -translate-y-full",
212
+ bottom: "-translate-x-1/2 translate-y-0",
213
+ left: "-translate-y-1/2 -translate-x-full",
214
+ right: "-translate-y-1/2 translate-x-0",
215
+ };
216
+ return (_jsxs(_Fragment, { children: [_jsx("div", { ref: triggerRef, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, className: cn("inline-block", className), children: children }), isVisible &&
217
+ createPortal(_jsx("div", { role: "tooltip", className: cn("fixed pointer-events-none z-50 transition-opacity", positionClasses[position], {
218
+ "opacity-0": !isPositioned,
219
+ "opacity-100": isPositioned,
220
+ }), style: {
221
+ top: `${tooltipPosition.top}px`,
222
+ left: `${tooltipPosition.left}px`,
223
+ }, children: _jsxs("div", { className: cn("relative bg-background-900 text-foreground-50 text-sm px-3 py-2 rounded-lg whitespace-nowrap shadow-lg border border-background-700", contentClassName), children: [content, _jsx(TooltipArrow, { position: position })] }) }), document.body)] }));
224
+ });
225
+ Tooltip.displayName = "Tooltip";
226
+ export { Tooltip };
227
+ //# sourceMappingURL=tooltip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../src/components/tooltip.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAElC,+BAA+B;AAC/B,MAAM,UAAU,GAAG,EAAE,CAAC;AACtB,MAAM,oBAAoB,GAAG,CAAC,CAAC;AAC/B,MAAM,WAAW,GAAG,CAAC,CAAC;AACtB,MAAM,sBAAsB,GAAG,CAAC,CAAC;AACjC,MAAM,qBAAqB,GAAG,GAAG,CAAC;AAyBlC,MAAM,YAAY,GAAG,CAAC,EAAE,QAAQ,EAAqB,EAAE,EAAE;IACvD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAExD,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,MAAM,IAAI,GAAG,QAAQ,CAAC,eAAe,CAAC;QACtC,MAAM,cAAc,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,CAAC,IAAI,EAAE,CAAC;QAC7F,MAAM,KAAK,GAAG,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QAC9C,cAAc,CAAC,KAAK,CAAC,CAAC;IACxB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP;;;OAGG;IACH,MAAM,cAAc,GAAG,GAAW,EAAE;QAClC,MAAM,QAAQ,GAAG,UAAU,GAAG,CAAC,CAA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AC1B,aAAa,EAAE,YAAY;qBAC5B,CAAC,EACF,KAAK,EAAE;wBACL,GAAG,EAAE,GAAG,eAAe,CAAC,GAAG,IAAI;wBAC/B,IAAI,EAAE,GAAG,eAAe,CAAC,IAAI,IAAI;qBAClC,YAED,eACE,SAAS,EAAE,EAAE,CACX,qIAAqI,EACrI,gBAAgB,CACjB,aAEA,OAAO,EACR,KAAC,YAAY,IAAC,QAAQ,EAAE,QAAQ,GAAI,IAChC,GACF,EACN,QAAQ,CAAC,IAAI,CACd,IACF,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { ComponentMetadata, ComponentCategory } from './types';
2
+ export declare function getComponentById(id: string): ComponentMetadata | undefined;
3
+ export declare function getComponentsByCategory(category: ComponentCategory): ComponentMetadata[];
4
+ export declare function getComponentsGroupedByCategory(): Record<ComponentCategory, ComponentMetadata[]>;
5
+ export declare function getRelatedComponents(id: string): ComponentMetadata[];
6
+ export declare function searchComponents(query: string): ComponentMetadata[];
7
+ export declare function getAllComponentIds(): string[];
8
+ export declare function getComponentCount(): number;
9
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEpE,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS,CAE1E;AAED,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,iBAAiB,GAAG,iBAAiB,EAAE,CAExF;AAED,wBAAgB,8BAA8B,IAAI,MAAM,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,CAAC,CAM/F;AAED,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,MAAM,GAAG,iBAAiB,EAAE,CAMpE;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,iBAAiB,EAAE,CAOnE;AAED,wBAAgB,kBAAkB,IAAI,MAAM,EAAE,CAE7C;AAED,wBAAgB,iBAAiB,IAAI,MAAM,CAE1C"}
@@ -0,0 +1,36 @@
1
+ import { componentRegistry } from './registry';
2
+ import { categories } from './categories';
3
+ export function getComponentById(id) {
4
+ return componentRegistry[id];
5
+ }
6
+ export function getComponentsByCategory(category) {
7
+ return Object.values(componentRegistry).filter(c => c.category === category);
8
+ }
9
+ export function getComponentsGroupedByCategory() {
10
+ const grouped = {};
11
+ categories.forEach(cat => {
12
+ grouped[cat.id] = getComponentsByCategory(cat.id);
13
+ });
14
+ return grouped;
15
+ }
16
+ export function getRelatedComponents(id) {
17
+ const component = getComponentById(id);
18
+ if (!component)
19
+ return [];
20
+ return component.relatedComponents
21
+ .map(relId => getComponentById(relId))
22
+ .filter((c) => c !== undefined);
23
+ }
24
+ export function searchComponents(query) {
25
+ const lowerQuery = query.toLowerCase();
26
+ return Object.values(componentRegistry).filter(comp => comp.name.toLowerCase().includes(lowerQuery) ||
27
+ comp.description.toLowerCase().includes(lowerQuery) ||
28
+ comp.tags?.some(tag => tag.toLowerCase().includes(lowerQuery)));
29
+ }
30
+ export function getAllComponentIds() {
31
+ return Object.keys(componentRegistry);
32
+ }
33
+ export function getComponentCount() {
34
+ return Object.keys(componentRegistry).length;
35
+ }
36
+ //# sourceMappingURL=helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,MAAM,UAAU,gBAAgB,CAAC,EAAU;IACzC,OAAO,iBAAiB,CAAC,EAAE,CAAC,CAAC;AAC/B,CAAC;AAED,M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U,CAAC,CAAC,CAC/D,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,kBAAkB;IAChC,OAAO,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;AACxC,CAAC;AAED,MAAM,UAAU,iBAAiB;IAC/B,OAAO,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,MAAM,CAAC;AAC/C,CAAC"}
@@ -0,0 +1,6 @@
1
+ export { componentRegistry, componentMetadata } from './registry';
2
+ export { categories, categoryMap, categoryOrder } from './categories';
3
+ export type { ComponentMetadata, ComponentCategory, ComponentSource, ComponentRegistry, CategoryDefinition, StarterPreset } from './types';
4
+ export { getComponentById, getComponentsByCategory, getComponentsGroupedByCategory, getRelatedComponents, searchComponents, getAllComponentIds, getComponentCount } from './helpers';
5
+ export { starterPresets, getStarterComponents } from './starters/presets';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAGlE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAGtE,YAAY,EACV,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,aAAa,EACd,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EACvB,8BAA8B,EAC9B,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,WAAW,CAAC;AAGnB,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,9 @@
1
+ // Registry
2
+ export { componentRegistry, componentMetadata } from './registry';
3
+ // Categories
4
+ export { categories, categoryMap, categoryOrder } from './categories';
5
+ // Helpers
6
+ export { getComponentById, getComponentsByCategory, getComponentsGroupedByCategory, getRelatedComponents, searchComponents, getAllComponentIds, getComponentCount } from './helpers';
7
+ // Starters
8
+ export { starterPresets, getStarterComponents } from './starters/presets';
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,WAAW;AACX,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAElE,aAAa;AACb,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAYtE,UAAU;AACV,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EACvB,8BAA8B,EAC9B,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,WAAW,CAAC;AAEnB,WAAW;AACX,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { type ClassValue } from "clsx";
2
+ export declare function cn(...inputs: ClassValue[]): string;
3
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAE7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
@@ -0,0 +1,5 @@
1
+ import { clsx } from "clsx";
2
+ export function cn(...inputs) {
3
+ return clsx(inputs);
4
+ }
5
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAmB,MAAM,MAAM,CAAC;AAE7C,MAAM,UAAU,EAAE,CAAC,GAAG,MAAoB;IACxC,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC;AACtB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { ComponentRegistry } from './types';
2
+ export declare const componentRegistry: ComponentRegistry;
3
+ export declare const componentMetadata: {
4
+ id: string;
5
+ name: string;
6
+ description: string;
7
+ category: import("./types").ComponentCategory;
8
+ tags: string[];
9
+ }[];
10
+ //# sourceMappingURL=registry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,eAAO,MAAM,iBAAiB,EAAE,iBAgb/B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;GAM3B,CAAC"}