veloria-ui 0.1.2

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 (41) hide show
  1. package/CHANGELOG.md +206 -0
  2. package/LICENSE +21 -0
  3. package/README.md +253 -0
  4. package/dist/cli/index.js +511 -0
  5. package/dist/index.d.mts +1317 -0
  6. package/dist/index.d.ts +1317 -0
  7. package/dist/index.js +5373 -0
  8. package/dist/index.js.map +1 -0
  9. package/dist/index.mjs +5130 -0
  10. package/dist/index.mjs.map +1 -0
  11. package/dist/provider.d.mts +15 -0
  12. package/dist/provider.d.ts +15 -0
  13. package/dist/provider.js +1197 -0
  14. package/dist/provider.js.map +1 -0
  15. package/dist/provider.mjs +1161 -0
  16. package/dist/provider.mjs.map +1 -0
  17. package/dist/tailwind.d.ts +25 -0
  18. package/dist/tailwind.js +129 -0
  19. package/package.json +138 -0
  20. package/src/cli/index.ts +303 -0
  21. package/src/cli/registry.ts +139 -0
  22. package/src/components/advanced-forms/index.tsx +975 -0
  23. package/src/components/basic/Button.tsx +135 -0
  24. package/src/components/basic/IconButton.tsx +69 -0
  25. package/src/components/basic/index.tsx +446 -0
  26. package/src/components/data-display/index.tsx +1158 -0
  27. package/src/components/feedback/index.tsx +1051 -0
  28. package/src/components/forms/index.tsx +476 -0
  29. package/src/components/layout/index.tsx +296 -0
  30. package/src/components/media/index.tsx +437 -0
  31. package/src/components/navigation/index.tsx +484 -0
  32. package/src/components/overlay/index.tsx +473 -0
  33. package/src/components/utility/index.tsx +566 -0
  34. package/src/hooks/index.ts +602 -0
  35. package/src/hooks/use-toast.tsx +74 -0
  36. package/src/index.ts +396 -0
  37. package/src/provider.tsx +54 -0
  38. package/src/styles/atlas.css +252 -0
  39. package/src/tailwind.ts +124 -0
  40. package/src/types/index.ts +95 -0
  41. package/src/utils/cn.ts +66 -0
@@ -0,0 +1,15 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+
4
+ interface AtlasProviderProps {
5
+ children: React.ReactNode;
6
+ /** How long toasts stay on screen in ms. Default: 5000 */
7
+ toastDuration?: number;
8
+ /** Swipe direction to dismiss toasts. Default: "right" */
9
+ toastSwipeDirection?: "up" | "down" | "left" | "right";
10
+ /** Delay before tooltips open in ms. Default: 300 */
11
+ tooltipDelay?: number;
12
+ }
13
+ declare function AtlasProvider({ children, toastDuration, toastSwipeDirection, tooltipDelay, }: AtlasProviderProps): react_jsx_runtime.JSX.Element;
14
+
15
+ export { AtlasProvider, type AtlasProviderProps };
@@ -0,0 +1,15 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+
4
+ interface AtlasProviderProps {
5
+ children: React.ReactNode;
6
+ /** How long toasts stay on screen in ms. Default: 5000 */
7
+ toastDuration?: number;
8
+ /** Swipe direction to dismiss toasts. Default: "right" */
9
+ toastSwipeDirection?: "up" | "down" | "left" | "right";
10
+ /** Delay before tooltips open in ms. Default: 300 */
11
+ tooltipDelay?: number;
12
+ }
13
+ declare function AtlasProvider({ children, toastDuration, toastSwipeDirection, tooltipDelay, }: AtlasProviderProps): react_jsx_runtime.JSX.Element;
14
+
15
+ export { AtlasProvider, type AtlasProviderProps };