@geekmidas/ui 9.0.2 → 10.0.0-alpha.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 (106) hide show
  1. package/dist/button-BB4n8b0z.mjs +46 -0
  2. package/dist/button-BB4n8b0z.mjs.map +1 -0
  3. package/dist/button-BSp9VyHi.cjs +58 -0
  4. package/dist/button-BSp9VyHi.cjs.map +1 -0
  5. package/dist/chunk-CUT6urMc.cjs +30 -0
  6. package/dist/components/data-display/index.cjs +27 -0
  7. package/dist/components/data-display/index.d.cts +2 -0
  8. package/dist/components/data-display/index.d.mts +2 -0
  9. package/dist/components/data-display/index.mjs +6 -0
  10. package/dist/components/feedback/index.cjs +26 -0
  11. package/dist/components/feedback/index.d.cts +2 -0
  12. package/dist/components/feedback/index.d.mts +2 -0
  13. package/dist/components/feedback/index.mjs +6 -0
  14. package/dist/components/layout/index.cjs +26 -0
  15. package/dist/components/layout/index.d.cts +2 -0
  16. package/dist/components/layout/index.d.mts +2 -0
  17. package/dist/components/layout/index.mjs +6 -0
  18. package/dist/components/ui/index.cjs +73 -0
  19. package/dist/components/ui/index.d.cts +2 -0
  20. package/dist/components/ui/index.d.mts +2 -0
  21. package/dist/components/ui/index.mjs +7 -0
  22. package/dist/data-display-BSUj4rIc.cjs +1318 -0
  23. package/dist/data-display-BSUj4rIc.cjs.map +1 -0
  24. package/dist/data-display-IcuThGEY.mjs +1186 -0
  25. package/dist/data-display-IcuThGEY.mjs.map +1 -0
  26. package/dist/feedback-B9rTsQdJ.cjs +505 -0
  27. package/dist/feedback-B9rTsQdJ.cjs.map +1 -0
  28. package/dist/feedback-DBLrs44v.mjs +379 -0
  29. package/dist/feedback-DBLrs44v.mjs.map +1 -0
  30. package/dist/hooks/index.cjs +1 -1
  31. package/dist/hooks/index.d.cts +1 -1
  32. package/dist/hooks/index.d.mts +1 -1
  33. package/dist/hooks/index.mjs +1 -1
  34. package/dist/{hooks-DuxmSO-h.cjs → hooks-C5O7RXTd.cjs} +3 -31
  35. package/dist/{hooks-DuxmSO-h.cjs.map → hooks-C5O7RXTd.cjs.map} +1 -1
  36. package/dist/{hooks-DBc-Cw9X.mjs → hooks-Dhkovxbo.mjs} +1 -1
  37. package/dist/{hooks-DBc-Cw9X.mjs.map → hooks-Dhkovxbo.mjs.map} +1 -1
  38. package/dist/index-BHdsb44U.d.mts +102 -0
  39. package/dist/index-BHdsb44U.d.mts.map +1 -0
  40. package/dist/index-CBBJ6vmK.d.cts +154 -0
  41. package/dist/index-CBBJ6vmK.d.cts.map +1 -0
  42. package/dist/index-CcP4i-Xr.d.cts +102 -0
  43. package/dist/index-CcP4i-Xr.d.cts.map +1 -0
  44. package/dist/index-D4moB7PV.d.mts +153 -0
  45. package/dist/index-D4moB7PV.d.mts.map +1 -0
  46. package/dist/index-DDztdxvr.d.mts +329 -0
  47. package/dist/index-DDztdxvr.d.mts.map +1 -0
  48. package/dist/{index-DmtSyJ1q.d.mts → index-DTIa7Ryw.d.cts} +1 -1
  49. package/dist/{index-DmtSyJ1q.d.mts.map → index-DTIa7Ryw.d.cts.map} +1 -1
  50. package/dist/index-DsQW2bkf.d.mts +154 -0
  51. package/dist/index-DsQW2bkf.d.mts.map +1 -0
  52. package/dist/{index-QNnnyGjB.d.cts → index-DvzSne29.d.mts} +1 -1
  53. package/dist/{index-QNnnyGjB.d.cts.map → index-DvzSne29.d.mts.map} +1 -1
  54. package/dist/index-FnnlSxxr.d.cts +153 -0
  55. package/dist/index-FnnlSxxr.d.cts.map +1 -0
  56. package/dist/index-uRu0ad4_.d.cts +329 -0
  57. package/dist/index-uRu0ad4_.d.cts.map +1 -0
  58. package/dist/index.cjs +144 -2560
  59. package/dist/index.d.cts +8 -727
  60. package/dist/index.d.mts +8 -727
  61. package/dist/index.mjs +12 -2428
  62. package/dist/layout-CIIQOb1x.mjs +387 -0
  63. package/dist/layout-CIIQOb1x.mjs.map +1 -0
  64. package/dist/layout-CcO0svmw.cjs +513 -0
  65. package/dist/layout-CcO0svmw.cjs.map +1 -0
  66. package/dist/lib/utils.cjs +3 -0
  67. package/dist/lib/utils.d.cts +2 -0
  68. package/dist/lib/utils.d.mts +2 -0
  69. package/dist/lib/utils.mjs +3 -0
  70. package/dist/styles/theme.cjs +1 -1
  71. package/dist/styles/theme.d.cts +1 -1
  72. package/dist/styles/theme.d.mts +1 -1
  73. package/dist/styles/theme.mjs +1 -1
  74. package/dist/table-CrFSBSDe.mjs +129 -0
  75. package/dist/table-CrFSBSDe.mjs.map +1 -0
  76. package/dist/table-DNX6iqH5.cjs +237 -0
  77. package/dist/table-DNX6iqH5.cjs.map +1 -0
  78. package/dist/{theme-BRGSS8qx.cjs → theme-BBoDSysS.cjs} +1 -1
  79. package/dist/{theme-BRGSS8qx.cjs.map → theme-BBoDSysS.cjs.map} +1 -1
  80. package/dist/{theme-vpDwDfcR.d.mts → theme-BsXPj5m4.d.cts} +1 -1
  81. package/dist/{theme-B5mGkTlU.d.cts.map → theme-BsXPj5m4.d.cts.map} +1 -1
  82. package/dist/{theme-DAiFBbyM.mjs → theme-DI0sgbjj.mjs} +1 -1
  83. package/dist/{theme-DAiFBbyM.mjs.map → theme-DI0sgbjj.mjs.map} +1 -1
  84. package/dist/{theme-B5mGkTlU.d.cts → theme-aIIK_kn9.d.mts} +1 -1
  85. package/dist/{theme-vpDwDfcR.d.mts.map → theme-aIIK_kn9.d.mts.map} +1 -1
  86. package/dist/tooltip-BuTZvLTX.cjs +82 -0
  87. package/dist/tooltip-BuTZvLTX.cjs.map +1 -0
  88. package/dist/tooltip-z8o59BXq.mjs +46 -0
  89. package/dist/tooltip-z8o59BXq.mjs.map +1 -0
  90. package/dist/ui-B6Pj_ZAW.mjs +296 -0
  91. package/dist/ui-B6Pj_ZAW.mjs.map +1 -0
  92. package/dist/ui-PFNfvwdv.cjs +542 -0
  93. package/dist/ui-PFNfvwdv.cjs.map +1 -0
  94. package/dist/utils-0J5jzmnT.mjs +11 -0
  95. package/dist/utils-0J5jzmnT.mjs.map +1 -0
  96. package/dist/utils-3XfDEz8-.d.cts +9 -0
  97. package/dist/utils-3XfDEz8-.d.cts.map +1 -0
  98. package/dist/utils-CgSGIxhd.d.mts +9 -0
  99. package/dist/utils-CgSGIxhd.d.mts.map +1 -0
  100. package/dist/utils-DTuzb7hO.cjs +17 -0
  101. package/dist/utils-DTuzb7hO.cjs.map +1 -0
  102. package/package.json +1 -1
  103. package/dist/index.cjs.map +0 -1
  104. package/dist/index.d.cts.map +0 -1
  105. package/dist/index.d.mts.map +0 -1
  106. package/dist/index.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"hooks-DBc-Cw9X.mjs","names":["value: T","delay: number","key: string","initialValue: T","event: StorageEvent","value: T | ((prev: T) => T)","url: string | null","options: UseWebSocketOptions","data: string | object"],"sources":["../src/hooks/use-debounce.ts","../src/hooks/use-local-storage.ts","../src/hooks/use-websocket.ts"],"sourcesContent":["import { useEffect, useState } from 'react';\n\n/**\n * Debounces a value by delaying updates until after a specified delay.\n *\n * @example\n * ```tsx\n * const [search, setSearch] = useState('');\n * const debouncedSearch = useDebounce(search, 300);\n *\n * useEffect(() => {\n * // Only fires 300ms after user stops typing\n * fetchResults(debouncedSearch);\n * }, [debouncedSearch]);\n * ```\n */\nexport function useDebounce<T>(value: T, delay: number): T {\n\tconst [debouncedValue, setDebouncedValue] = useState<T>(value);\n\n\tuseEffect(() => {\n\t\tconst timer = setTimeout(() => {\n\t\t\tsetDebouncedValue(value);\n\t\t}, delay);\n\n\t\treturn () => {\n\t\t\tclearTimeout(timer);\n\t\t};\n\t}, [value, delay]);\n\n\treturn debouncedValue;\n}\n\nexport default useDebounce;\n","import { useCallback, useEffect, useState } from 'react';\n\n/**\n * Syncs state with localStorage, with SSR support.\n *\n * @example\n * ```tsx\n * const [theme, setTheme] = useLocalStorage('theme', 'dark');\n *\n * // Value persists across page reloads\n * setTheme('light');\n * ```\n */\nexport function useLocalStorage<T>(\n\tkey: string,\n\tinitialValue: T,\n): [T, (value: T | ((prev: T) => T)) => void, () => void] {\n\t// Get initial value from localStorage or use provided initial value\n\tconst readValue = useCallback((): T => {\n\t\tif (typeof window === 'undefined') {\n\t\t\treturn initialValue;\n\t\t}\n\n\t\ttry {\n\t\t\tconst item = window.localStorage.getItem(key);\n\t\t\treturn item ? (JSON.parse(item) as T) : initialValue;\n\t\t} catch (_error) {\n\t\t\treturn initialValue;\n\t\t}\n\t}, [initialValue, key]);\n\n\tconst [storedValue, setStoredValue] = useState<T>(readValue);\n\n\t// Update state when key changes\n\tuseEffect(() => {\n\t\tsetStoredValue(readValue());\n\t}, [readValue]);\n\n\t// Listen for storage changes from other tabs/windows\n\tuseEffect(() => {\n\t\tconst handleStorageChange = (event: StorageEvent) => {\n\t\t\tif (event.key === key && event.newValue !== null) {\n\t\t\t\ttry {\n\t\t\t\t\tsetStoredValue(JSON.parse(event.newValue) as T);\n\t\t\t\t} catch {\n\t\t\t\t\tsetStoredValue(event.newValue as unknown as T);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\twindow.addEventListener('storage', handleStorageChange);\n\t\treturn () => window.removeEventListener('storage', handleStorageChange);\n\t}, [key]);\n\n\t// Setter that also updates localStorage\n\tconst setValue = useCallback(\n\t\t(value: T | ((prev: T) => T)) => {\n\t\t\ttry {\n\t\t\t\t// Allow value to be a function for functional updates\n\t\t\t\tconst valueToStore =\n\t\t\t\t\tvalue instanceof Function ? value(storedValue) : value;\n\n\t\t\t\tsetStoredValue(valueToStore);\n\n\t\t\t\tif (typeof window !== 'undefined') {\n\t\t\t\t\twindow.localStorage.setItem(key, JSON.stringify(valueToStore));\n\n\t\t\t\t\t// Dispatch event for other components using the same key\n\t\t\t\t\twindow.dispatchEvent(\n\t\t\t\t\t\tnew StorageEvent('storage', {\n\t\t\t\t\t\t\tkey,\n\t\t\t\t\t\t\tnewValue: JSON.stringify(valueToStore),\n\t\t\t\t\t\t}),\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t} catch (_error) {}\n\t\t},\n\t\t[key, storedValue],\n\t);\n\n\t// Remove value from localStorage\n\tconst removeValue = useCallback(() => {\n\t\ttry {\n\t\t\tif (typeof window !== 'undefined') {\n\t\t\t\twindow.localStorage.removeItem(key);\n\t\t\t\tsetStoredValue(initialValue);\n\t\t\t}\n\t\t} catch (_error) {}\n\t}, [key, initialValue]);\n\n\treturn [storedValue, setValue, removeValue];\n}\n\nexport default useLocalStorage;\n","import { useCallback, useEffect, useRef, useState } from 'react';\n\nexport type WebSocketStatus = 'connecting' | 'connected' | 'disconnected';\n\nexport interface UseWebSocketOptions {\n\t/**\n\t * Automatically reconnect on disconnect.\n\t * @default true\n\t */\n\treconnect?: boolean;\n\t/**\n\t * Reconnection delay in milliseconds.\n\t * @default 3000\n\t */\n\treconnectDelay?: number;\n\t/**\n\t * Maximum reconnection attempts.\n\t * @default 5\n\t */\n\tmaxReconnectAttempts?: number;\n\t/**\n\t * Callback when connection opens.\n\t */\n\tonOpen?: (event: Event) => void;\n\t/**\n\t * Callback when connection closes.\n\t */\n\tonClose?: (event: CloseEvent) => void;\n\t/**\n\t * Callback when an error occurs.\n\t */\n\tonError?: (event: Event) => void;\n\t/**\n\t * Callback when a message is received.\n\t */\n\tonMessage?: (event: MessageEvent) => void;\n}\n\nexport interface UseWebSocketReturn<T = unknown> {\n\t/**\n\t * Current connection status.\n\t */\n\tstatus: WebSocketStatus;\n\t/**\n\t * Last received message (parsed as JSON if possible).\n\t */\n\tlastMessage: T | null;\n\t/**\n\t * Send a message through the WebSocket.\n\t */\n\tsend: (data: string | object) => void;\n\t/**\n\t * Manually connect to the WebSocket.\n\t */\n\tconnect: () => void;\n\t/**\n\t * Manually disconnect from the WebSocket.\n\t */\n\tdisconnect: () => void;\n}\n\n/**\n * Hook for managing WebSocket connections with auto-reconnect.\n *\n * @example\n * ```tsx\n * const { status, lastMessage, send } = useWebSocket<LogEntry>(\n * 'ws://localhost:3000/ws',\n * {\n * onMessage: (event) => console.log('Received:', event.data),\n * }\n * );\n *\n * // Send a message\n * send({ type: 'subscribe', channel: 'logs' });\n *\n * // Check connection status\n * if (status === 'connected') {\n * // ...\n * }\n * ```\n */\nexport function useWebSocket<T = unknown>(\n\turl: string | null,\n\toptions: UseWebSocketOptions = {},\n): UseWebSocketReturn<T> {\n\tconst {\n\t\treconnect = true,\n\t\treconnectDelay = 3000,\n\t\tmaxReconnectAttempts = 5,\n\t\tonOpen,\n\t\tonClose,\n\t\tonError,\n\t\tonMessage,\n\t} = options;\n\n\tconst [status, setStatus] = useState<WebSocketStatus>('disconnected');\n\tconst [lastMessage, setLastMessage] = useState<T | null>(null);\n\n\tconst wsRef = useRef<WebSocket | null>(null);\n\tconst reconnectAttemptsRef = useRef(0);\n\tconst reconnectTimeoutRef = useRef<ReturnType<typeof setTimeout> | null>(\n\t\tnull,\n\t);\n\n\tconst connect = useCallback(() => {\n\t\tif (!url || wsRef.current?.readyState === WebSocket.OPEN) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Clean up existing connection\n\t\tif (wsRef.current) {\n\t\t\twsRef.current.close();\n\t\t}\n\n\t\tsetStatus('connecting');\n\n\t\tconst ws = new WebSocket(url);\n\n\t\tws.onopen = (event) => {\n\t\t\tsetStatus('connected');\n\t\t\treconnectAttemptsRef.current = 0;\n\t\t\tonOpen?.(event);\n\t\t};\n\n\t\tws.onclose = (event) => {\n\t\t\tsetStatus('disconnected');\n\t\t\tonClose?.(event);\n\n\t\t\t// Attempt reconnection if enabled\n\t\t\tif (\n\t\t\t\treconnect &&\n\t\t\t\t!event.wasClean &&\n\t\t\t\treconnectAttemptsRef.current < maxReconnectAttempts\n\t\t\t) {\n\t\t\t\treconnectAttemptsRef.current += 1;\n\t\t\t\treconnectTimeoutRef.current = setTimeout(() => {\n\t\t\t\t\tconnect();\n\t\t\t\t}, reconnectDelay);\n\t\t\t}\n\t\t};\n\n\t\tws.onerror = (event) => {\n\t\t\tonError?.(event);\n\t\t};\n\n\t\tws.onmessage = (event) => {\n\t\t\ttry {\n\t\t\t\tconst data = JSON.parse(event.data) as T;\n\t\t\t\tsetLastMessage(data);\n\t\t\t} catch {\n\t\t\t\tsetLastMessage(event.data as unknown as T);\n\t\t\t}\n\t\t\tonMessage?.(event);\n\t\t};\n\n\t\twsRef.current = ws;\n\t}, [\n\t\turl,\n\t\treconnect,\n\t\treconnectDelay,\n\t\tmaxReconnectAttempts,\n\t\tonOpen,\n\t\tonClose,\n\t\tonError,\n\t\tonMessage,\n\t]);\n\n\tconst disconnect = useCallback(() => {\n\t\tif (reconnectTimeoutRef.current) {\n\t\t\tclearTimeout(reconnectTimeoutRef.current);\n\t\t\treconnectTimeoutRef.current = null;\n\t\t}\n\n\t\tif (wsRef.current) {\n\t\t\twsRef.current.close(1000, 'Manual disconnect');\n\t\t\twsRef.current = null;\n\t\t}\n\n\t\treconnectAttemptsRef.current = maxReconnectAttempts; // Prevent auto-reconnect\n\t\tsetStatus('disconnected');\n\t}, [maxReconnectAttempts]);\n\n\tconst send = useCallback((data: string | object) => {\n\t\tif (wsRef.current?.readyState === WebSocket.OPEN) {\n\t\t\tconst message = typeof data === 'string' ? data : JSON.stringify(data);\n\t\t\twsRef.current.send(message);\n\t\t} else {\n\t\t}\n\t}, []);\n\n\t// Connect on mount if URL is provided\n\tuseEffect(() => {\n\t\tif (url) {\n\t\t\tconnect();\n\t\t}\n\n\t\treturn () => {\n\t\t\tif (reconnectTimeoutRef.current) {\n\t\t\t\tclearTimeout(reconnectTimeoutRef.current);\n\t\t\t}\n\t\t\tif (wsRef.current) {\n\t\t\t\twsRef.current.close(1000, 'Component unmount');\n\t\t\t}\n\t\t};\n\t}, [url, connect]);\n\n\treturn {\n\t\tstatus,\n\t\tlastMessage,\n\t\tsend,\n\t\tconnect,\n\t\tdisconnect,\n\t};\n}\n\nexport default useWebSocket;\n"],"mappings":";;;;;;;;;;;;;;;;;AAgBA,SAAgB,YAAeA,OAAUC,OAAkB;CAC1D,MAAM,CAAC,gBAAgB,kBAAkB,GAAG,SAAY,MAAM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AAO;AACP,mBAAe,MAAM,KAAqB;GAC1C;AACD,eAAY,MAAM;EAClB;AAED,QAAM,UAAU;CAChB,GAAE;EACF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACA,EAAC;CAEF,MAAM,aAAa,YAAY,MAAM;AACpC,MAAI,oBAAoB,SAAS;AAChC,gBAAa,oBAAoB,QAAQ;AACzC,uBAAoB,UAAU;EAC9B;AAED,MAAI,MAAM,SAAS;AAClB,SAAM,QAAQ,MAAM,KAAM,oBAAoB;AAC9C,SAAM,UAAU;EAChB;AAED,uBAAqB,UAAU;AAC/B,YAAU,eAAe;CACzB,GAAE,CAAC,oBAAqB,EAAC;CAE1B,MAAM,OAAO,YAAY,CAACC,SAA0B;AACnD,MAAI,MAAM,SAAS,eAAe,UAAU,MAAM;GACjD,MAAM,iBAAiB,SAAS,WAAW,OAAO,KAAK,UAAU,KAAK;AACtE,SAAM,QAAQ,KAAK,QAAQ;EAC3B;CAED,GAAE,CAAE,EAAC;AAGN,WAAU,MAAM;AACf,MAAI,IACH,UAAS;AAGV,SAAO,MAAM;AACZ,OAAI,oBAAoB,QACvB,cAAa,oBAAoB,QAAQ;AAE1C,OAAI,MAAM,QACT,OAAM,QAAQ,MAAM,KAAM,oBAAoB;EAE/C;CACD,GAAE,CAAC,KAAK,OAAQ,EAAC;AAElB,QAAO;EACN;EACA;EACA;EACA;EACA;CACA;AACD"}
1
+ {"version":3,"file":"hooks-Dhkovxbo.mjs","names":["value: T","delay: number","key: string","initialValue: T","event: StorageEvent","value: T | ((prev: T) => T)","url: string | null","options: UseWebSocketOptions","data: string | object"],"sources":["../src/hooks/use-debounce.ts","../src/hooks/use-local-storage.ts","../src/hooks/use-websocket.ts"],"sourcesContent":["import { useEffect, useState } from 'react';\n\n/**\n * Debounces a value by delaying updates until after a specified delay.\n *\n * @example\n * ```tsx\n * const [search, setSearch] = useState('');\n * const debouncedSearch = useDebounce(search, 300);\n *\n * useEffect(() => {\n * // Only fires 300ms after user stops typing\n * fetchResults(debouncedSearch);\n * }, [debouncedSearch]);\n * ```\n */\nexport function useDebounce<T>(value: T, delay: number): T {\n\tconst [debouncedValue, setDebouncedValue] = useState<T>(value);\n\n\tuseEffect(() => {\n\t\tconst timer = setTimeout(() => {\n\t\t\tsetDebouncedValue(value);\n\t\t}, delay);\n\n\t\treturn () => {\n\t\t\tclearTimeout(timer);\n\t\t};\n\t}, [value, delay]);\n\n\treturn debouncedValue;\n}\n\nexport default useDebounce;\n","import { useCallback, useEffect, useState } from 'react';\n\n/**\n * Syncs state with localStorage, with SSR support.\n *\n * @example\n * ```tsx\n * const [theme, setTheme] = useLocalStorage('theme', 'dark');\n *\n * // Value persists across page reloads\n * setTheme('light');\n * ```\n */\nexport function useLocalStorage<T>(\n\tkey: string,\n\tinitialValue: T,\n): [T, (value: T | ((prev: T) => T)) => void, () => void] {\n\t// Get initial value from localStorage or use provided initial value\n\tconst readValue = useCallback((): T => {\n\t\tif (typeof window === 'undefined') {\n\t\t\treturn initialValue;\n\t\t}\n\n\t\ttry {\n\t\t\tconst item = window.localStorage.getItem(key);\n\t\t\treturn item ? (JSON.parse(item) as T) : initialValue;\n\t\t} catch (_error) {\n\t\t\treturn initialValue;\n\t\t}\n\t}, [initialValue, key]);\n\n\tconst [storedValue, setStoredValue] = useState<T>(readValue);\n\n\t// Update state when key changes\n\tuseEffect(() => {\n\t\tsetStoredValue(readValue());\n\t}, [readValue]);\n\n\t// Listen for storage changes from other tabs/windows\n\tuseEffect(() => {\n\t\tconst handleStorageChange = (event: StorageEvent) => {\n\t\t\tif (event.key === key && event.newValue !== null) {\n\t\t\t\ttry {\n\t\t\t\t\tsetStoredValue(JSON.parse(event.newValue) as T);\n\t\t\t\t} catch {\n\t\t\t\t\tsetStoredValue(event.newValue as unknown as T);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\twindow.addEventListener('storage', handleStorageChange);\n\t\treturn () => window.removeEventListener('storage', handleStorageChange);\n\t}, [key]);\n\n\t// Setter that also updates localStorage\n\tconst setValue = useCallback(\n\t\t(value: T | ((prev: T) => T)) => {\n\t\t\ttry {\n\t\t\t\t// Allow value to be a function for functional updates\n\t\t\t\tconst valueToStore =\n\t\t\t\t\tvalue instanceof Function ? value(storedValue) : value;\n\n\t\t\t\tsetStoredValue(valueToStore);\n\n\t\t\t\tif (typeof window !== 'undefined') {\n\t\t\t\t\twindow.localStorage.setItem(key, JSON.stringify(valueToStore));\n\n\t\t\t\t\t// Dispatch event for other components using the same key\n\t\t\t\t\twindow.dispatchEvent(\n\t\t\t\t\t\tnew StorageEvent('storage', {\n\t\t\t\t\t\t\tkey,\n\t\t\t\t\t\t\tnewValue: JSON.stringify(valueToStore),\n\t\t\t\t\t\t}),\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t} catch (_error) {}\n\t\t},\n\t\t[key, storedValue],\n\t);\n\n\t// Remove value from localStorage\n\tconst removeValue = useCallback(() => {\n\t\ttry {\n\t\t\tif (typeof window !== 'undefined') {\n\t\t\t\twindow.localStorage.removeItem(key);\n\t\t\t\tsetStoredValue(initialValue);\n\t\t\t}\n\t\t} catch (_error) {}\n\t}, [key, initialValue]);\n\n\treturn [storedValue, setValue, removeValue];\n}\n\nexport default useLocalStorage;\n","import { useCallback, useEffect, useRef, useState } from 'react';\n\nexport type WebSocketStatus = 'connecting' | 'connected' | 'disconnected';\n\nexport interface UseWebSocketOptions {\n\t/**\n\t * Automatically reconnect on disconnect.\n\t * @default true\n\t */\n\treconnect?: boolean;\n\t/**\n\t * Reconnection delay in milliseconds.\n\t * @default 3000\n\t */\n\treconnectDelay?: number;\n\t/**\n\t * Maximum reconnection attempts.\n\t * @default 5\n\t */\n\tmaxReconnectAttempts?: number;\n\t/**\n\t * Callback when connection opens.\n\t */\n\tonOpen?: (event: Event) => void;\n\t/**\n\t * Callback when connection closes.\n\t */\n\tonClose?: (event: CloseEvent) => void;\n\t/**\n\t * Callback when an error occurs.\n\t */\n\tonError?: (event: Event) => void;\n\t/**\n\t * Callback when a message is received.\n\t */\n\tonMessage?: (event: MessageEvent) => void;\n}\n\nexport interface UseWebSocketReturn<T = unknown> {\n\t/**\n\t * Current connection status.\n\t */\n\tstatus: WebSocketStatus;\n\t/**\n\t * Last received message (parsed as JSON if possible).\n\t */\n\tlastMessage: T | null;\n\t/**\n\t * Send a message through the WebSocket.\n\t */\n\tsend: (data: string | object) => void;\n\t/**\n\t * Manually connect to the WebSocket.\n\t */\n\tconnect: () => void;\n\t/**\n\t * Manually disconnect from the WebSocket.\n\t */\n\tdisconnect: () => void;\n}\n\n/**\n * Hook for managing WebSocket connections with auto-reconnect.\n *\n * @example\n * ```tsx\n * const { status, lastMessage, send } = useWebSocket<LogEntry>(\n * 'ws://localhost:3000/ws',\n * {\n * onMessage: (event) => console.log('Received:', event.data),\n * }\n * );\n *\n * // Send a message\n * send({ type: 'subscribe', channel: 'logs' });\n *\n * // Check connection status\n * if (status === 'connected') {\n * // ...\n * }\n * ```\n */\nexport function useWebSocket<T = unknown>(\n\turl: string | null,\n\toptions: UseWebSocketOptions = {},\n): UseWebSocketReturn<T> {\n\tconst {\n\t\treconnect = true,\n\t\treconnectDelay = 3000,\n\t\tmaxReconnectAttempts = 5,\n\t\tonOpen,\n\t\tonClose,\n\t\tonError,\n\t\tonMessage,\n\t} = options;\n\n\tconst [status, setStatus] = useState<WebSocketStatus>('disconnected');\n\tconst [lastMessage, setLastMessage] = useState<T | null>(null);\n\n\tconst wsRef = useRef<WebSocket | null>(null);\n\tconst reconnectAttemptsRef = useRef(0);\n\tconst reconnectTimeoutRef = useRef<ReturnType<typeof setTimeout> | null>(\n\t\tnull,\n\t);\n\n\tconst connect = useCallback(() => {\n\t\tif (!url || wsRef.current?.readyState === WebSocket.OPEN) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Clean up existing connection\n\t\tif (wsRef.current) {\n\t\t\twsRef.current.close();\n\t\t}\n\n\t\tsetStatus('connecting');\n\n\t\tconst ws = new WebSocket(url);\n\n\t\tws.onopen = (event) => {\n\t\t\tsetStatus('connected');\n\t\t\treconnectAttemptsRef.current = 0;\n\t\t\tonOpen?.(event);\n\t\t};\n\n\t\tws.onclose = (event) => {\n\t\t\tsetStatus('disconnected');\n\t\t\tonClose?.(event);\n\n\t\t\t// Attempt reconnection if enabled\n\t\t\tif (\n\t\t\t\treconnect &&\n\t\t\t\t!event.wasClean &&\n\t\t\t\treconnectAttemptsRef.current < maxReconnectAttempts\n\t\t\t) {\n\t\t\t\treconnectAttemptsRef.current += 1;\n\t\t\t\treconnectTimeoutRef.current = setTimeout(() => {\n\t\t\t\t\tconnect();\n\t\t\t\t}, reconnectDelay);\n\t\t\t}\n\t\t};\n\n\t\tws.onerror = (event) => {\n\t\t\tonError?.(event);\n\t\t};\n\n\t\tws.onmessage = (event) => {\n\t\t\ttry {\n\t\t\t\tconst data = JSON.parse(event.data) as T;\n\t\t\t\tsetLastMessage(data);\n\t\t\t} catch {\n\t\t\t\tsetLastMessage(event.data as unknown as T);\n\t\t\t}\n\t\t\tonMessage?.(event);\n\t\t};\n\n\t\twsRef.current = ws;\n\t}, [\n\t\turl,\n\t\treconnect,\n\t\treconnectDelay,\n\t\tmaxReconnectAttempts,\n\t\tonOpen,\n\t\tonClose,\n\t\tonError,\n\t\tonMessage,\n\t]);\n\n\tconst disconnect = useCallback(() => {\n\t\tif (reconnectTimeoutRef.current) {\n\t\t\tclearTimeout(reconnectTimeoutRef.current);\n\t\t\treconnectTimeoutRef.current = null;\n\t\t}\n\n\t\tif (wsRef.current) {\n\t\t\twsRef.current.close(1000, 'Manual disconnect');\n\t\t\twsRef.current = null;\n\t\t}\n\n\t\treconnectAttemptsRef.current = maxReconnectAttempts; // Prevent auto-reconnect\n\t\tsetStatus('disconnected');\n\t}, [maxReconnectAttempts]);\n\n\tconst send = useCallback((data: string | object) => {\n\t\tif (wsRef.current?.readyState === WebSocket.OPEN) {\n\t\t\tconst message = typeof data === 'string' ? data : JSON.stringify(data);\n\t\t\twsRef.current.send(message);\n\t\t} else {\n\t\t}\n\t}, []);\n\n\t// Connect on mount if URL is provided\n\tuseEffect(() => {\n\t\tif (url) {\n\t\t\tconnect();\n\t\t}\n\n\t\treturn () => {\n\t\t\tif (reconnectTimeoutRef.current) {\n\t\t\t\tclearTimeout(reconnectTimeoutRef.current);\n\t\t\t}\n\t\t\tif (wsRef.current) {\n\t\t\t\twsRef.current.close(1000, 'Component unmount');\n\t\t\t}\n\t\t};\n\t}, [url, connect]);\n\n\treturn {\n\t\tstatus,\n\t\tlastMessage,\n\t\tsend,\n\t\tconnect,\n\t\tdisconnect,\n\t};\n}\n\nexport default useWebSocket;\n"],"mappings":";;;;;;;;;;;;;;;;;AAgBA,SAAgB,YAAeA,OAAUC,OAAkB;CAC1D,MAAM,CAAC,gBAAgB,kBAAkB,GAAG,SAAY,MAAM;AAE9D,WAAU,MAAM;EACf,MAAM,QAAQ,WAAW,MAAM;AAC9B,qBAAkB,MAAM;EACxB,GAAE,MAAM;AAET,SAAO,MAAM;AACZ,gBAAa,MAAM;EACnB;CACD,GAAE,CAAC,OAAO,KAAM,EAAC;AAElB,QAAO;AACP;;;;;;;;;;;;;;;ACjBD,SAAgB,gBACfC,KACAC,cACyD;CAEzD,MAAM,YAAY,YAAY,MAAS;AACtC,aAAW,WAAW,YACrB,QAAO;AAGR,MAAI;GACH,MAAM,OAAO,OAAO,aAAa,QAAQ,IAAI;AAC7C,UAAO,OAAQ,KAAK,MAAM,KAAK,GAAS;EACxC,SAAQ,QAAQ;AAChB,UAAO;EACP;CACD,GAAE,CAAC,cAAc,GAAI,EAAC;CAEvB,MAAM,CAAC,aAAa,eAAe,GAAG,SAAY,UAAU;AAG5D,WAAU,MAAM;AACf,iBAAe,WAAW,CAAC;CAC3B,GAAE,CAAC,SAAU,EAAC;AAGf,WAAU,MAAM;EACf,MAAM,sBAAsB,CAACC,UAAwB;AACpD,OAAI,MAAM,QAAQ,OAAO,MAAM,aAAa,KAC3C,KAAI;AACH,mBAAe,KAAK,MAAM,MAAM,SAAS,CAAM;G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AAM,QAAQ,MAAM,KAAM,oBAAoB;EAE/C;CACD,GAAE,CAAC,KAAK,OAAQ,EAAC;AAElB,QAAO;EACN;EACA;EACA;EACA;EACA;CACA;AACD"}
@@ -0,0 +1,102 @@
1
+ import { LucideIcon } from "lucide-react";
2
+ import * as React from "react";
3
+ import { VariantProps } from "class-variance-authority";
4
+ import * as class_variance_authority_types12 from "class-variance-authority/types";
5
+
6
+ //#region src/components/layout/header.d.ts
7
+ interface HeaderProps extends React.HTMLAttributes<HTMLElement> {
8
+ sticky?: boolean;
9
+ }
10
+ declare const Header: React.ForwardRefExoticComponent<HeaderProps & React.RefAttributes<HTMLElement>>;
11
+ interface HeaderTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {}
12
+ declare const HeaderTitle: React.ForwardRefExoticComponent<HeaderTitleProps & React.RefAttributes<HTMLHeadingElement>>;
13
+ interface HeaderDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {}
14
+ declare const HeaderDescription: React.ForwardRefExoticComponent<HeaderDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
15
+ interface HeaderActionsProps extends React.HTMLAttributes<HTMLDivElement> {}
16
+ declare const HeaderActions: React.ForwardRefExoticComponent<HeaderActionsProps & React.RefAttributes<HTMLDivElement>>;
17
+ interface BreadcrumbItem {
18
+ label: string;
19
+ href?: string;
20
+ current?: boolean;
21
+ }
22
+ interface HeaderBreadcrumbsProps extends React.HTMLAttributes<HTMLElement> {
23
+ items: BreadcrumbItem[];
24
+ separator?: React.ReactNode;
25
+ }
26
+ declare const HeaderBreadcrumbs: React.ForwardRefExoticComponent<HeaderBreadcrumbsProps & React.RefAttributes<HTMLElement>>;
27
+ interface HeaderGroupProps extends React.HTMLAttributes<HTMLDivElement> {
28
+ align?: 'start' | 'center' | 'end';
29
+ }
30
+ declare const HeaderGroup: React.ForwardRefExoticComponent<HeaderGroupProps & React.RefAttributes<HTMLDivElement>>;
31
+ //#endregion
32
+ //#region src/components/layout/shell.d.ts
33
+ interface ShellProps extends React.HTMLAttributes<HTMLDivElement> {}
34
+ declare const Shell: React.ForwardRefExoticComponent<ShellProps & React.RefAttributes<HTMLDivElement>>;
35
+ interface ShellSidebarProps extends React.HTMLAttributes<HTMLDivElement> {}
36
+ declare const ShellSidebar: React.ForwardRefExoticComponent<ShellSidebarProps & React.RefAttributes<HTMLDivElement>>;
37
+ interface ShellMainProps extends React.HTMLAttributes<HTMLDivElement> {}
38
+ declare const ShellMain: React.ForwardRefExoticComponent<ShellMainProps & React.RefAttributes<HTMLDivElement>>;
39
+ interface ShellHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
40
+ declare const ShellHeader: React.ForwardRefExoticComponent<ShellHeaderProps & React.RefAttributes<HTMLDivElement>>;
41
+ interface ShellContentProps extends React.HTMLAttributes<HTMLDivElement> {
42
+ scrollable?: boolean;
43
+ }
44
+ declare const ShellContent: React.ForwardRefExoticComponent<ShellContentProps & React.RefAttributes<HTMLDivElement>>;
45
+ interface ShellFooterProps extends React.HTMLAttributes<HTMLDivElement> {}
46
+ declare const ShellFooter: React.ForwardRefExoticComponent<ShellFooterProps & React.RefAttributes<HTMLDivElement>>;
47
+ //#endregion
48
+ //#region src/components/layout/sidebar.d.ts
49
+ declare const sidebarVariants: (props?: ({
50
+ collapsed?: boolean | null | undefined;
51
+ } & class_variance_authority_types12.ClassProp) | undefined) => string;
52
+ interface SidebarProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof sidebarVariants> {
53
+ collapsed?: boolean;
54
+ onCollapsedChange?: (collapsed: boolean) => void;
55
+ header?: React.ReactNode;
56
+ footer?: React.ReactNode;
57
+ }
58
+ declare function useSidebar(): {
59
+ collapsed: boolean;
60
+ setCollapsed: (collapsed: boolean) => void;
61
+ };
62
+ declare const Sidebar: React.ForwardRefExoticComponent<SidebarProps & React.RefAttributes<HTMLDivElement>>;
63
+ interface SidebarToggleProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {}
64
+ declare const SidebarToggle: React.ForwardRefExoticComponent<SidebarToggleProps & React.RefAttributes<HTMLButtonElement>>;
65
+ interface SidebarSectionProps extends React.HTMLAttributes<HTMLDivElement> {
66
+ title?: string;
67
+ }
68
+ declare const SidebarSection: React.ForwardRefExoticComponent<SidebarSectionProps & React.RefAttributes<HTMLDivElement>>;
69
+ interface SidebarItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
70
+ icon?: LucideIcon;
71
+ active?: boolean;
72
+ badge?: React.ReactNode;
73
+ }
74
+ declare const SidebarItem: React.ForwardRefExoticComponent<SidebarItemProps & React.RefAttributes<HTMLButtonElement>>;
75
+ interface SidebarLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
76
+ icon?: LucideIcon;
77
+ active?: boolean;
78
+ badge?: React.ReactNode;
79
+ }
80
+ declare const SidebarLink: React.ForwardRefExoticComponent<SidebarLinkProps & React.RefAttributes<HTMLAnchorElement>>;
81
+ //#endregion
82
+ //#region src/components/layout/split-pane.d.ts
83
+ interface SplitPaneProps extends React.HTMLAttributes<HTMLDivElement> {
84
+ /** Direction of the split */
85
+ direction?: 'horizontal' | 'vertical';
86
+ /** Initial size of the first pane (in pixels or percentage) */
87
+ defaultSize?: number | string;
88
+ /** Minimum size of the first pane in pixels */
89
+ minSize?: number;
90
+ /** Maximum size of the first pane in pixels */
91
+ maxSize?: number;
92
+ /** Called when the pane size changes */
93
+ onSizeChange?: (size: number) => void;
94
+ /** Whether to show the resize handle */
95
+ resizable?: boolean;
96
+ }
97
+ declare const SplitPane: React.ForwardRefExoticComponent<SplitPaneProps & React.RefAttributes<HTMLDivElement>>;
98
+ interface SplitPanePanelProps extends React.HTMLAttributes<HTMLDivElement> {}
99
+ declare const SplitPanePanel: React.ForwardRefExoticComponent<SplitPanePanelProps & React.RefAttributes<HTMLDivElement>>;
100
+ //#endregion
101
+ export { BreadcrumbItem, Header, HeaderActions, HeaderActionsProps, HeaderBreadcrumbs, HeaderBreadcrumbsProps, HeaderDescription, HeaderDescriptionProps, HeaderGroup, HeaderGroupProps, HeaderProps, HeaderTitle, HeaderTitleProps, Shell, ShellContent, ShellContentProps, ShellFooter, ShellFooterProps, ShellHeader, ShellHeaderProps, ShellMain, ShellMainProps, ShellProps, ShellSidebar, ShellSidebarProps, Sidebar, SidebarItem, SidebarItemProps, SidebarLink, SidebarLinkProps, SidebarProps, SidebarSection, SidebarSectionProps, SidebarToggle, SidebarToggleProps, SplitPane, SplitPanePanel, SplitPanePanelProps, SplitPaneProps, sidebarVariants, useSidebar };
102
+ //# sourceMappingURL=index-BHdsb44U.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-BHdsb44U.d.mts","names":[],"sources":["../src/components/layout/header.tsx","../src/components/layout/shell.tsx","../src/components/layout/sidebar.tsx","../src/components/layout/split-pane.tsx"],"sourcesContent":[],"mappings":";;;;;;UAMiB,WAAA,SAAoB,KAAA,CAAM,eAAe;;;cAIpD,QAAM,KAAA,CAAA,0BAAA,cAAA,KAAA,CAAA,cAAA;UAmBK,gBAAA,SACR,KAAA,CAAM,eAAe,qBAxB9B;cA0BM,WA1BuB,EA0BZ,KAAA,CAAA,yBA1BY,CA0BZ,gBA1BY,GA0BZ,KAAA,CAAA,aA1BY,CA0BZ,kBA1BY,CAAA,CAAA;AAA6B,UAyCzC,sBAAA,SACR,KAAA,CAAM,cA1C2C,CA0C5B,oBA1C4B,CAAA,CAAA;AAAD,cA4CnD,iBA5CmD,EA4ClC,KAAA,CAAA,yBA5CkC,CA4ClC,sBA5CkC,GA4ClC,KAAA,CAAA,aA5CkC,CA4ClC,oBA5CkC,CAAA,CAAA;AAInD,UAwDW,kBAAA,SACR,KAAA,CAAM,cAzCd,CAyC6B,cAzC7B,CAAA,CAAA;cA2CK,aA3DM,EA2DO,KAAA,CAAA,yBA3DP,CA2DO,kBA3DP,GA2DO,KAAA,CAAA,aA3DP,CA2DO,cA3DP,CAAA,CAAA;AAAA,UA0EK,cAAA,CA1EL;EAAA,KAAA,EAAA,MAAA;EAAA,IAAA,CA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wKkB,cHxKlB,CAAA,CAAA,CAAA;AAmBZ,cGuJM,cHtJL,EGsJmB,KAAA,CAAA,yBHtJnB,CGsJmB,mBHtJnB,GGsJmB,KAAA,CAAA,aHtJnB,CGsJmB,cHtJnB,CAAA,CAAA"}
@@ -0,0 +1,154 @@
1
+ import * as React from "react";
2
+ import * as class_variance_authority_types4 from "class-variance-authority/types";
3
+ import { VariantProps } from "class-variance-authority";
4
+
5
+ //#region src/components/feedback/empty-state.d.ts
6
+ declare const emptyStateVariants: (props?: ({
7
+ size?: "sm" | "md" | "lg" | null | undefined;
8
+ } & class_variance_authority_types4.ClassProp) | undefined) => string;
9
+ interface EmptyStateProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof emptyStateVariants> {
10
+ /** Icon to display */
11
+ icon?: React.ReactNode;
12
+ /** Title text */
13
+ title?: string;
14
+ /** Description text */
15
+ description?: string;
16
+ /** Primary action button */
17
+ action?: {
18
+ label: string;
19
+ onClick: () => void;
20
+ };
21
+ /** Secondary action button */
22
+ secondaryAction?: {
23
+ label: string;
24
+ onClick: () => void;
25
+ };
26
+ }
27
+ declare const EmptyState: React.ForwardRefExoticComponent<EmptyStateProps & React.RefAttributes<HTMLDivElement>>;
28
+ interface NoDataProps extends Omit<EmptyStateProps, 'icon' | 'title'> {
29
+ title?: string;
30
+ }
31
+ declare const NoData: React.ForwardRefExoticComponent<NoDataProps & React.RefAttributes<HTMLDivElement>>;
32
+ interface NoResultsProps extends Omit<EmptyStateProps, 'icon' | 'title'> {
33
+ title?: string;
34
+ searchTerm?: string;
35
+ }
36
+ declare const NoResults: React.ForwardRefExoticComponent<NoResultsProps & React.RefAttributes<HTMLDivElement>>;
37
+ interface NotFoundProps extends Omit<EmptyStateProps, 'icon' | 'title'> {
38
+ title?: string;
39
+ }
40
+ declare const NotFound: React.ForwardRefExoticComponent<NotFoundProps & React.RefAttributes<HTMLDivElement>>;
41
+ interface ServerErrorProps extends Omit<EmptyStateProps, 'icon' | 'title'> {
42
+ title?: string;
43
+ }
44
+ declare const ServerError: React.ForwardRefExoticComponent<ServerErrorProps & React.RefAttributes<HTMLDivElement>>;
45
+ //#endregion
46
+ //#region src/components/feedback/live-indicator.d.ts
47
+ declare const liveIndicatorVariants: (props?: ({
48
+ size?: "sm" | "md" | "lg" | null | undefined;
49
+ variant?: "default" | "solid" | null | undefined;
50
+ } & class_variance_authority_types4.ClassProp) | undefined) => string;
51
+ interface LiveIndicatorProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onToggle'>, VariantProps<typeof liveIndicatorVariants> {
52
+ /** Whether the indicator is in live/active state */
53
+ live?: boolean;
54
+ /** Label to show when live */
55
+ liveLabel?: string;
56
+ /** Label to show when paused */
57
+ pausedLabel?: string;
58
+ /** Whether to show a toggle button */
59
+ toggleable?: boolean;
60
+ /** Callback when toggled */
61
+ onLiveToggle?: (live: boolean) => void;
62
+ /** Custom color for the dot when live */
63
+ liveColor?: string;
64
+ }
65
+ declare const LiveIndicator: React.ForwardRefExoticComponent<LiveIndicatorProps & React.RefAttributes<HTMLDivElement>>;
66
+ interface ConnectionStatusProps extends React.HTMLAttributes<HTMLDivElement> {
67
+ /** Connection status */
68
+ status: 'connected' | 'connecting' | 'disconnected' | 'error';
69
+ /** Whether to show label */
70
+ showLabel?: boolean;
71
+ /** Size of the indicator */
72
+ size?: 'sm' | 'md' | 'lg';
73
+ }
74
+ declare const ConnectionStatus: React.ForwardRefExoticComponent<ConnectionStatusProps & React.RefAttributes<HTMLDivElement>>;
75
+ //#endregion
76
+ //#region src/components/feedback/loading.d.ts
77
+ declare const spinnerVariants: (props?: ({
78
+ size?: "sm" | "md" | "lg" | "xs" | "xl" | null | undefined;
79
+ } & class_variance_authority_types4.ClassProp) | undefined) => string;
80
+ interface SpinnerProps extends Omit<React.SVGAttributes<SVGSVGElement>, 'children'>, VariantProps<typeof spinnerVariants> {}
81
+ declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<SVGSVGElement>>;
82
+ declare const loadingOverlayVariants: (props?: ({
83
+ variant?: "default" | "dark" | "light" | null | undefined;
84
+ } & class_variance_authority_types4.ClassProp) | undefined) => string;
85
+ interface LoadingOverlayProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof loadingOverlayVariants> {
86
+ /** Whether the overlay is visible */
87
+ loading?: boolean;
88
+ /** Text to display below spinner */
89
+ text?: string;
90
+ /** Spinner size */
91
+ spinnerSize?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
92
+ }
93
+ declare const LoadingOverlay: React.ForwardRefExoticComponent<LoadingOverlayProps & React.RefAttributes<HTMLDivElement>>;
94
+ interface LoadingContainerProps extends React.HTMLAttributes<HTMLDivElement> {
95
+ /** Whether the container is loading */
96
+ loading?: boolean;
97
+ /** Text to display below spinner */
98
+ loadingText?: string;
99
+ /** Spinner size */
100
+ spinnerSize?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
101
+ /** Overlay variant */
102
+ overlayVariant?: 'default' | 'dark' | 'light';
103
+ }
104
+ declare const LoadingContainer: React.ForwardRefExoticComponent<LoadingContainerProps & React.RefAttributes<HTMLDivElement>>;
105
+ interface LoadingDotsProps extends React.HTMLAttributes<HTMLDivElement> {
106
+ /** Size of dots */
107
+ size?: 'sm' | 'md' | 'lg';
108
+ }
109
+ declare const LoadingDots: React.ForwardRefExoticComponent<LoadingDotsProps & React.RefAttributes<HTMLDivElement>>;
110
+ interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
111
+ /** Width of the skeleton */
112
+ width?: string | number;
113
+ /** Height of the skeleton */
114
+ height?: string | number;
115
+ /** Whether to use rounded corners */
116
+ rounded?: boolean | 'sm' | 'md' | 'lg' | 'full';
117
+ }
118
+ declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
119
+ //#endregion
120
+ //#region src/components/feedback/status-badge.d.ts
121
+ declare const statusBadgeVariants: (props?: ({
122
+ size?: "sm" | "md" | "lg" | null | undefined;
123
+ } & class_variance_authority_types4.ClassProp) | undefined) => string;
124
+ interface StatusBadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof statusBadgeVariants> {
125
+ /** HTTP status code to display */
126
+ status?: number;
127
+ /** HTTP method to display */
128
+ method?: string;
129
+ /** Log level to display */
130
+ logLevel?: string;
131
+ /** Custom color (overrides automatic color) */
132
+ color?: string;
133
+ /** Whether to show a pulsing dot */
134
+ pulse?: boolean;
135
+ }
136
+ declare const StatusBadge: React.ForwardRefExoticComponent<StatusBadgeProps & React.RefAttributes<HTMLSpanElement>>;
137
+ interface HttpStatusBadgeProps extends Omit<StatusBadgeProps, 'status' | 'method' | 'logLevel'> {
138
+ /** HTTP status code */
139
+ code: number;
140
+ }
141
+ declare const HttpStatusBadge: React.ForwardRefExoticComponent<HttpStatusBadgeProps & React.RefAttributes<HTMLSpanElement>>;
142
+ interface HttpMethodBadgeProps extends Omit<StatusBadgeProps, 'status' | 'method' | 'logLevel'> {
143
+ /** HTTP method */
144
+ method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS';
145
+ }
146
+ declare const HttpMethodBadge: React.ForwardRefExoticComponent<HttpMethodBadgeProps & React.RefAttributes<HTMLSpanElement>>;
147
+ interface LogLevelBadgeProps extends Omit<StatusBadgeProps, 'status' | 'method' | 'logLevel'> {
148
+ /** Log level */
149
+ level: 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal';
150
+ }
151
+ declare const LogLevelBadge: React.ForwardRefExoticComponent<LogLevelBadgeProps & React.RefAttributes<HTMLSpanElement>>;
152
+ //#endregion
153
+ export { ConnectionStatus, ConnectionStatusProps, EmptyState, EmptyStateProps, HttpMethodBadge, HttpMethodBadgeProps, HttpStatusBadge, HttpStatusBadgeProps, LiveIndicator, LiveIndicatorProps, LoadingContainer, LoadingContainerProps, LoadingDots, LoadingDotsProps, LoadingOverlay, LoadingOverlayProps, LogLevelBadge, LogLevelBadgeProps, NoData, NoDataProps, NoResults, NoResultsProps, NotFound, NotFoundProps, ServerError, ServerErrorProps, Skeleton, SkeletonProps, Spinner, SpinnerProps, StatusBadge, StatusBadgeProps, emptyStateVariants, liveIndicatorVariants, loadingOverlayVariants, spinnerVariants, statusBadgeVariants };
154
+ //# sourceMappingURL=index-CBBJ6vmK.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-CBBJ6vmK.d.cts","names":[],"sources":["../src/components/feedback/empty-state.tsx","../src/components/feedback/live-indicator.tsx","../src/components/feedback/loading.tsx","../src/components/feedback/status-badge.tsx"],"sourcesContent":[],"mappings":";;;;;cAQM;;IAcL,+BAAA,CAAA;AAdK,UAgBW,eAAA,SACR,KAAA,CAAM,cAHd,CAG6B,cAH7B,CAAA,EAIC,YAJD,CAAA,OAIqB,kBAJrB,CAAA,CAAA;EAEgB;EAChB,IAAA,CAAA,EAGO,KAAA,CAAM,SAHb;EAAA;EAA2C,KACtB,CAAA,EAAA,MAAA;EAAkB;EAEjB,WAHR,CAAA,EAAA,MAAA;EAAc;EACf,MAAA,CAAA,EAAA;IAmBR,KAAA,EAAA,MA2EL;IAAA,OAAA,EAAA,GAAA,GAAA,IAAA;EAAA,CAAA;EA3Ee;EAAA,eAAA,CAAA,EAAA;IAAA,KAAA,EAAA,MAAA;IAAA,OAAA,EAAA,GAAA,GAAA,IAAA;EAgFC,CAAA;;cAhFX,UAgFoC,EAhF1B,KAAA,CAAA,yBAgF0B,CAhF1B,eAgF0B,GAhF1B,KAAA,CAAA,aAgF0B,CAhF1B,cAgF0B,CAAA,CAAA;AAAL,UAApB,WAAA,SAAoB,IAAA,CAAK,eAAL,EAAA,MAAA,GAAA,OAAA,CAAA,CAAA;EAAI,KAAA,CAAA,EAAA,MAAA;AAExC;cAEK,MAWL,EAXW,KAAA,CAAA,yBAWX,CAXW,WAWX,GAXW,KAAA,CAAA,aAWX,CAXW,cAWX,CAAA,CAAA;AAXW,UAcK,cAAA,SACR,IAfG,CAeE,eAfF,EAAA,MAA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B,QAHd,CAAM,EAAA,MAAA;EAAc;EACf,KAAA,CAAA,EAAA,MAAA;EAmBR;EA2EL,KAAA,CAAA,EAAA,OAAA;;cG9EK,WHGU,EGHC,KAAA,CAAA,yBHGD,CGHC,gBHGD,GGHC,KAAA,CAAA,aHGD,CGHC,eHGD,CAAA,CAAA;AAAA,UGuDC,oBAAA,SACR,IHxDO,CGwDF,gBHxDE,EAAA,QAAA,GAAA,QAAA,GAAA,UAAA,CAAA,CAAA;EAAA;EAAA,IAAA,EAAA,MAAA;AAgFhB;cGnBM,eHmBuB,EGnBR,KAAA,CAAA,yBHmBQ,CGnBR,oBHmBQ,GGnBR,KAAA,CAAA,aHmBQ,CGnBR,eHmBQ,CAAA,CAAA;AAAa,UGZzB,oBAAA,SACR,IHWiC,CGX5B,gBHW4B,EAAA,QAAA,GAAA,QAAA,GAAA,UAAA,CAAA,CAAA;EAAe;EAAhB,MAAA,EAAA,KAAA,GAAA,MAAA,GAAA,KAAA,GAAA,OAAA,GAAA,QAAA,GAAA,MAAA,GAAA,SAAA;AAExC;cGRK,eHqBL,EGrBoB,KAAA,CAAA,yBHqBpB,CGrBoB,oBHqBpB,GGrBoB,KAAA,CAAA,aHqBpB,CGrBoB,eHqBpB,CAAA,CAAA;AAXW,UGHK,kBAAA,SACR,IHEG,CGFE,gBHEF,EAAA,QAAA,GAAA,QAAA,GAAA,UAAA,CAAA,CAAA;EAAA;EAAA,KAAA,EAAA,OAAA,GAAA,OAAA,GAAA,MAAA,GAAA,MAAA,GAAA,OAAA,GAAA,OAAA;;AAAA,cGGN,aHHM,EGGO,KAAA,CAAA,yBHHP,CGGO,kBHHP,GGGO,KAAA,CAAA,aHHP,CGGO,eHHP,CAAA,CAAA"}
@@ -0,0 +1,102 @@
1
+ import * as React from "react";
2
+ import * as class_variance_authority_types8 from "class-variance-authority/types";
3
+ import { VariantProps } from "class-variance-authority";
4
+ import { LucideIcon } from "lucide-react";
5
+
6
+ //#region src/components/layout/header.d.ts
7
+ interface HeaderProps extends React.HTMLAttributes<HTMLElement> {
8
+ sticky?: boolean;
9
+ }
10
+ declare const Header: React.ForwardRefExoticComponent<HeaderProps & React.RefAttributes<HTMLElement>>;
11
+ interface HeaderTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {}
12
+ declare const HeaderTitle: React.ForwardRefExoticComponent<HeaderTitleProps & React.RefAttributes<HTMLHeadingElement>>;
13
+ interface HeaderDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {}
14
+ declare const HeaderDescription: React.ForwardRefExoticComponent<HeaderDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
15
+ interface HeaderActionsProps extends React.HTMLAttributes<HTMLDivElement> {}
16
+ declare const HeaderActions: React.ForwardRefExoticComponent<HeaderActionsProps & React.RefAttributes<HTMLDivElement>>;
17
+ interface BreadcrumbItem {
18
+ label: string;
19
+ href?: string;
20
+ current?: boolean;
21
+ }
22
+ interface HeaderBreadcrumbsProps extends React.HTMLAttributes<HTMLElement> {
23
+ items: BreadcrumbItem[];
24
+ separator?: React.ReactNode;
25
+ }
26
+ declare const HeaderBreadcrumbs: React.ForwardRefExoticComponent<HeaderBreadcrumbsProps & React.RefAttributes<HTMLElement>>;
27
+ interface HeaderGroupProps extends React.HTMLAttributes<HTMLDivElement> {
28
+ align?: 'start' | 'center' | 'end';
29
+ }
30
+ declare const HeaderGroup: React.ForwardRefExoticComponent<HeaderGroupProps & React.RefAttributes<HTMLDivElement>>;
31
+ //#endregion
32
+ //#region src/components/layout/shell.d.ts
33
+ interface ShellProps extends React.HTMLAttributes<HTMLDivElement> {}
34
+ declare const Shell: React.ForwardRefExoticComponent<ShellProps & React.RefAttributes<HTMLDivElement>>;
35
+ interface ShellSidebarProps extends React.HTMLAttributes<HTMLDivElement> {}
36
+ declare const ShellSidebar: React.ForwardRefExoticComponent<ShellSidebarProps & React.RefAttributes<HTMLDivElement>>;
37
+ interface ShellMainProps extends React.HTMLAttributes<HTMLDivElement> {}
38
+ declare const ShellMain: React.ForwardRefExoticComponent<ShellMainProps & React.RefAttributes<HTMLDivElement>>;
39
+ interface ShellHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
40
+ declare const ShellHeader: React.ForwardRefExoticComponent<ShellHeaderProps & React.RefAttributes<HTMLDivElement>>;
41
+ interface ShellContentProps extends React.HTMLAttributes<HTMLDivElement> {
42
+ scrollable?: boolean;
43
+ }
44
+ declare const ShellContent: React.ForwardRefExoticComponent<ShellContentProps & React.RefAttributes<HTMLDivElement>>;
45
+ interface ShellFooterProps extends React.HTMLAttributes<HTMLDivElement> {}
46
+ declare const ShellFooter: React.ForwardRefExoticComponent<ShellFooterProps & React.RefAttributes<HTMLDivElement>>;
47
+ //#endregion
48
+ //#region src/components/layout/sidebar.d.ts
49
+ declare const sidebarVariants: (props?: ({
50
+ collapsed?: boolean | null | undefined;
51
+ } & class_variance_authority_types8.ClassProp) | undefined) => string;
52
+ interface SidebarProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof sidebarVariants> {
53
+ collapsed?: boolean;
54
+ onCollapsedChange?: (collapsed: boolean) => void;
55
+ header?: React.ReactNode;
56
+ footer?: React.ReactNode;
57
+ }
58
+ declare function useSidebar(): {
59
+ collapsed: boolean;
60
+ setCollapsed: (collapsed: boolean) => void;
61
+ };
62
+ declare const Sidebar: React.ForwardRefExoticComponent<SidebarProps & React.RefAttributes<HTMLDivElement>>;
63
+ interface SidebarToggleProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {}
64
+ declare const SidebarToggle: React.ForwardRefExoticComponent<SidebarToggleProps & React.RefAttributes<HTMLButtonElement>>;
65
+ interface SidebarSectionProps extends React.HTMLAttributes<HTMLDivElement> {
66
+ title?: string;
67
+ }
68
+ declare const SidebarSection: React.ForwardRefExoticComponent<SidebarSectionProps & React.RefAttributes<HTMLDivElement>>;
69
+ interface SidebarItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
70
+ icon?: LucideIcon;
71
+ active?: boolean;
72
+ badge?: React.ReactNode;
73
+ }
74
+ declare const SidebarItem: React.ForwardRefExoticComponent<SidebarItemProps & React.RefAttributes<HTMLButtonElement>>;
75
+ interface SidebarLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
76
+ icon?: LucideIcon;
77
+ active?: boolean;
78
+ badge?: React.ReactNode;
79
+ }
80
+ declare const SidebarLink: React.ForwardRefExoticComponent<SidebarLinkProps & React.RefAttributes<HTMLAnchorElement>>;
81
+ //#endregion
82
+ //#region src/components/layout/split-pane.d.ts
83
+ interface SplitPaneProps extends React.HTMLAttributes<HTMLDivElement> {
84
+ /** Direction of the split */
85
+ direction?: 'horizontal' | 'vertical';
86
+ /** Initial size of the first pane (in pixels or percentage) */
87
+ defaultSize?: number | string;
88
+ /** Minimum size of the first pane in pixels */
89
+ minSize?: number;
90
+ /** Maximum size of the first pane in pixels */
91
+ maxSize?: number;
92
+ /** Called when the pane size changes */
93
+ onSizeChange?: (size: number) => void;
94
+ /** Whether to show the resize handle */
95
+ resizable?: boolean;
96
+ }
97
+ declare const SplitPane: React.ForwardRefExoticComponent<SplitPaneProps & React.RefAttributes<HTMLDivElement>>;
98
+ interface SplitPanePanelProps extends React.HTMLAttributes<HTMLDivElement> {}
99
+ declare const SplitPanePanel: React.ForwardRefExoticComponent<SplitPanePanelProps & React.RefAttributes<HTMLDivElement>>;
100
+ //#endregion
101
+ export { BreadcrumbItem, Header, HeaderActions, HeaderActionsProps, HeaderBreadcrumbs, HeaderBreadcrumbsProps, HeaderDescription, HeaderDescriptionProps, HeaderGroup, HeaderGroupProps, HeaderProps, HeaderTitle, HeaderTitleProps, Shell, ShellContent, ShellContentProps, ShellFooter, ShellFooterProps, ShellHeader, ShellHeaderProps, ShellMain, ShellMainProps, ShellProps, ShellSidebar, ShellSidebarProps, Sidebar, SidebarItem, SidebarItemProps, SidebarLink, SidebarLinkProps, SidebarProps, SidebarSection, SidebarSectionProps, SidebarToggle, SidebarToggleProps, SplitPane, SplitPanePanel, SplitPanePanelProps, SplitPaneProps, sidebarVariants, useSidebar };
102
+ //# sourceMappingURL=index-CcP4i-Xr.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-CcP4i-Xr.d.cts","names":[],"sources":["../src/components/layout/header.tsx","../src/components/layout/shell.tsx","../src/components/layout/sidebar.tsx","../src/components/layout/split-pane.tsx"],"sourcesContent":[],"mappings":";;;;;;UAMiB,WAAA,SAAoB,KAAA,CAAM,eAAe;;;cAIpD,QAAM,KAAA,CAAA,0BAAA,cAAA,KAAA,CAAA,cAAA;UAmBK,gBAAA,SACR,KAAA,CAAM,eAAe,qBAxB9B;cA0BM,WA1BuB,EA0BZ,KAAA,CAAA,yBA1BY,CA0BZ,gBA1BY,GA0BZ,KAAA,CAAA,aA1BY,CA0BZ,kBA1BY,CAAA,CAAA;AAA6B,UAyCzC,sBAAA,SACR,KAAA,CAAM,cA1C2C,CA0C5B,oBA1C4B,CAAA,CAAA;AAAD,cA4CnD,iBA5CmD,EA4ClC,KAAA,CAAA,yBA5CkC,CA4ClC,sBA5CkC,GA4ClC,KAAA,CAAA,aA5CkC,CA4ClC,oBA5CkC,CAAA,CAAA;AAInD,UAwDW,kBAAA,SACR,KAAA,CAAM,cAzCd,CAyC6B,cAzC7B,CAAA,CAAA;cA2CK,aA3DM,EA2DO,KAAA,CAAA,yBA3DP,CA2DO,kBA3DP,GA2DO,KAAA,CAAA,aA3DP,CA2DO,cA3DP,CAAA,CAAA;AAAA,UA0EK,cAAA,CA1EL;EAAA,KAAA,EAAA,MAAA;EAAA,IAAA,CAAA,EAAA,MAAA;EAAA,OAAA,CAAA,EAAA,OAAA;AAmBZ;AACC,UA4DgB,sBAAA,SACR,KAAA,CAAM,cA7Dd,CA6D6B,WA7D7B,CAAA,CAAA;EAAA,KAA6B,EA8DtB,cA9DsB,EAAA;EAAkB,SAAjC,CAAA,EA+DF,KAAA,CAAM,SA/DJ;AAAc;AAAuB,cAkE9C,iBApDL,EAoDsB,KAAA,CAAA,yBApDtB,CAoDsB,sBApD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mC,iBF3HnC,CAAA,CAAA;EAAA,IAZgB,CAAA,EEwIT,UFxIS;EAAA,MAAA,CAAA,EAAA,OAAA;EAAA,KAAA,CAAA,EE0IR,KAAA,CAAM,SF1IE;;AAAA,cE6IX,WF7IW,EE6IA,KAAA,CAAA,yBF7IA,CE6IA,gBF7IA,GE6IA,KAAA,CAAA,aF7IA,CE6IA,iBF7IA,CAAA,CAAA;AAeA,UEsKA,gBAAA,SACR,KAAA,CAAM,oBFtKd,CEsKmC,iBFtKnC,CAAA,CAAA;EAAA,IAAA,CAAA,EEuKO,UFvKP;EAAA,MAA6B,CAAA,EAAA,OAAA;EAAoB,KAAzC,CAAA,EEyKA,KAAA,CAAM,SFzKA;AAAc;AAAyB,cE4KhD,WF7JJ,EE6Je,KAAA,CAAA,yBF7Jf,CE6Je,gBF7Jf,GE6Je,KAAA,CAAA,aF7Jf,CE6Je,iBF7Jf,CAAA,CAAA;;;UG3De,cAAA,SAAuB,KAAA,CAAM,eAAe;;;;;EHE5C;EAAY,OAAA,CAAA,EAAA,MAAA;EAAA;EAAwC,OAAhC,CAAA,EAAM,MAAA;EAAc;EAInD,YAgBL,CAAA,EAAA,CAAA,IAAA,EAAA,MAAA,EAAA,GAAA,IAAA;EAAA;EAAA,SAhBW,CAAA,EAAA,OAAA;;cGSN,SHTM,EGSG,KAAA,CAAA,yBHTH,CGSG,cHTH,GGSG,KAAA,CAAA,aHTH,CGSG,cHTH,CAAA,CAAA;AAAA,UGuKK,mBAAA,SACR,KAAA,CAAM,cHxKH,CGwKkB,cHxKlB,CAAA,CAAA,CAAA;AAmBZ,cGuJM,cHtJL,EGsJmB,KAAA,CAAA,yBHtJnB,CGsJmB,mBHtJnB,GGsJmB,KAAA,CAAA,aHtJnB,CGsJmB,cHtJnB,CAAA,CAAA"}
@@ -0,0 +1,153 @@
1
+ import * as react_jsx_runtime2 from "react/jsx-runtime";
2
+ import * as React from "react";
3
+ import { VariantProps } from "class-variance-authority";
4
+ import * as SelectPrimitive from "@radix-ui/react-select";
5
+ import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
6
+ import * as TooltipPrimitive from "@radix-ui/react-tooltip";
7
+ import * as DialogPrimitive from "@radix-ui/react-dialog";
8
+ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
9
+ import * as LabelPrimitive from "@radix-ui/react-label";
10
+ import * as SeparatorPrimitive from "@radix-ui/react-separator";
11
+ import * as TabsPrimitive from "@radix-ui/react-tabs";
12
+ import * as class_variance_authority_types1 from "class-variance-authority/types";
13
+
14
+ //#region src/components/ui/badge.d.ts
15
+ declare const badgeVariants: (props?: ({
16
+ variant?: "info" | "default" | "secondary" | "destructive" | "outline" | "success" | "warning" | "get" | "post" | "put" | "patch" | "delete" | null | undefined;
17
+ } & class_variance_authority_types1.ClassProp) | undefined) => string;
18
+ interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {}
19
+ declare function Badge({
20
+ className,
21
+ variant,
22
+ ...props
23
+ }: BadgeProps): react_jsx_runtime2.JSX.Element;
24
+ //#endregion
25
+ //#region src/components/ui/button.d.ts
26
+ declare const buttonVariants: (props?: ({
27
+ variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
28
+ size?: "sm" | "lg" | "default" | "icon" | null | undefined;
29
+ } & class_variance_authority_types1.ClassProp) | undefined) => string;
30
+ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
31
+ asChild?: boolean;
32
+ }
33
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
34
+ //#endregion
35
+ //#region src/components/ui/card.d.ts
36
+ declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
37
+ declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
38
+ declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
39
+ declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
40
+ declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
41
+ declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
42
+ //#endregion
43
+ //#region src/components/ui/code-block.d.ts
44
+ interface CodeBlockProps {
45
+ code: string;
46
+ language?: string;
47
+ showLineNumbers?: boolean;
48
+ className?: string;
49
+ }
50
+ declare const CodeBlock: React.ForwardRefExoticComponent<CodeBlockProps & React.RefAttributes<HTMLPreElement>>;
51
+ //#endregion
52
+ //#region src/components/ui/dialog.d.ts
53
+ declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
54
+ declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
55
+ declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
56
+ declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
57
+ declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
58
+ declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
59
+ declare const DialogHeader: {
60
+ ({
61
+ className,
62
+ ...props
63
+ }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime2.JSX.Element;
64
+ displayName: string;
65
+ };
66
+ declare const DialogFooter: {
67
+ ({
68
+ className,
69
+ ...props
70
+ }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime2.JSX.Element;
71
+ displayName: string;
72
+ };
73
+ declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
74
+ declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
75
+ //#endregion
76
+ //#region src/components/ui/dropdown-menu.d.ts
77
+ declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
78
+ declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
79
+ declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
80
+ declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
81
+ declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
82
+ declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
83
+ declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
84
+ inset?: boolean;
85
+ } & React.RefAttributes<HTMLDivElement>>;
86
+ declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
87
+ declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
88
+ declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
89
+ inset?: boolean;
90
+ } & React.RefAttributes<HTMLDivElement>>;
91
+ declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
92
+ declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
93
+ declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
94
+ inset?: boolean;
95
+ } & React.RefAttributes<HTMLDivElement>>;
96
+ declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
97
+ declare const DropdownMenuShortcut: {
98
+ ({
99
+ className,
100
+ ...props
101
+ }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime2.JSX.Element;
102
+ displayName: string;
103
+ };
104
+ //#endregion
105
+ //#region src/components/ui/input.d.ts
106
+ declare const Input: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
107
+ //#endregion
108
+ //#region src/components/ui/label.d.ts
109
+ declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types1.ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
110
+ //#endregion
111
+ //#region src/components/ui/scroll-area.d.ts
112
+ declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
113
+ declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
114
+ //#endregion
115
+ //#region src/components/ui/select.d.ts
116
+ declare const Select: React.FC<SelectPrimitive.SelectProps>;
117
+ declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
118
+ declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
119
+ declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
120
+ declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
121
+ declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
122
+ declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
123
+ declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
124
+ declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
125
+ declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
126
+ //#endregion
127
+ //#region src/components/ui/separator.d.ts
128
+ declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
129
+ //#endregion
130
+ //#region src/components/ui/table.d.ts
131
+ declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
132
+ declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
133
+ declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
134
+ declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
135
+ declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
136
+ declare const TableHead: React.ForwardRefExoticComponent<React.ThHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
137
+ declare const TableCell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
138
+ declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
139
+ //#endregion
140
+ //#region src/components/ui/tabs.d.ts
141
+ declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
142
+ declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
143
+ declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
144
+ declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
145
+ //#endregion
146
+ //#region src/components/ui/tooltip.d.ts
147
+ declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
148
+ declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
149
+ declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
150
+ declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
151
+ //#endregion
152
+ export { Badge, BadgeProps, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CodeBlock, CodeBlockProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, Label, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants };
153
+ //# sourceMappingURL=index-D4moB7PV.d.mts.map