@uniweb/kit 0.1.4 → 0.1.6

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 (31) hide show
  1. package/package.json +3 -2
  2. package/src/components/Asset/Asset.jsx +31 -81
  3. package/src/components/Media/Media.jsx +27 -125
  4. package/src/components/SocialIcon/index.jsx +146 -0
  5. package/src/hooks/index.js +7 -0
  6. package/src/hooks/useAccordion.js +143 -0
  7. package/src/hooks/useActiveRoute.js +97 -0
  8. package/src/hooks/useGridLayout.js +71 -0
  9. package/src/hooks/useMobileMenu.js +58 -0
  10. package/src/hooks/useRouting.js +119 -0
  11. package/src/hooks/useScrolled.js +48 -0
  12. package/src/hooks/useTheme.js +205 -0
  13. package/src/index.js +29 -10
  14. package/src/styled/Asset/Asset.jsx +161 -0
  15. package/src/styled/Asset/index.js +1 -0
  16. package/src/{components → styled}/Disclaimer/Disclaimer.jsx +1 -1
  17. package/src/styled/Media/Media.jsx +322 -0
  18. package/src/styled/Media/index.js +1 -0
  19. package/src/{components → styled}/Section/Render.jsx +4 -4
  20. package/src/{components → styled}/Section/index.js +6 -0
  21. package/src/{components → styled}/Section/renderers/Alert.jsx +1 -1
  22. package/src/{components → styled}/Section/renderers/Details.jsx +1 -1
  23. package/src/{components → styled}/Section/renderers/Table.jsx +1 -1
  24. package/src/{components → styled}/Section/renderers/index.js +1 -1
  25. package/src/styled/SidebarLayout/SidebarLayout.jsx +310 -0
  26. package/src/styled/SidebarLayout/index.js +1 -0
  27. package/src/styled/index.js +40 -0
  28. /package/src/{components → styled}/Disclaimer/index.js +0 -0
  29. /package/src/{components → styled}/Section/Section.jsx +0 -0
  30. /package/src/{components → styled}/Section/renderers/Code.jsx +0 -0
  31. /package/src/{components → styled}/Section/renderers/Divider.jsx +0 -0
@@ -0,0 +1,40 @@
1
+ /**
2
+ * @uniweb/kit/styled
3
+ *
4
+ * Pre-styled components from the kit.
5
+ *
6
+ * These components come with built-in styling (using Tailwind CSS).
7
+ * For unstyled primitives, use the main '@uniweb/kit' export.
8
+ *
9
+ * @example
10
+ * import { SidebarLayout, Section, Media } from '@uniweb/kit/styled'
11
+ */
12
+
13
+ // ============================================================================
14
+ // Layout
15
+ // ============================================================================
16
+
17
+ export { SidebarLayout } from './SidebarLayout/index.js'
18
+
19
+ // ============================================================================
20
+ // Content Rendering
21
+ // ============================================================================
22
+
23
+ // Section - Rich content section renderer
24
+ export { Section, Render } from './Section/index.js'
25
+
26
+ // Renderers - Individual content type renderers
27
+ export { Code, Alert, Warning, Table, Details, Divider } from './Section/renderers/index.js'
28
+
29
+ // ============================================================================
30
+ // UI Components
31
+ // ============================================================================
32
+
33
+ // Disclaimer - Modal dialog for legal disclaimers
34
+ export { Disclaimer } from './Disclaimer/index.js'
35
+
36
+ // Media - Video player with styled play button facade
37
+ export { Media } from './Media/index.js'
38
+
39
+ // Asset - File download card with preview and hover overlay
40
+ export { Asset } from './Asset/index.js'
File without changes
File without changes