@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.
- package/package.json +3 -2
- package/src/components/Asset/Asset.jsx +31 -81
- package/src/components/Media/Media.jsx +27 -125
- package/src/components/SocialIcon/index.jsx +146 -0
- package/src/hooks/index.js +7 -0
- package/src/hooks/useAccordion.js +143 -0
- package/src/hooks/useActiveRoute.js +97 -0
- package/src/hooks/useGridLayout.js +71 -0
- package/src/hooks/useMobileMenu.js +58 -0
- package/src/hooks/useRouting.js +119 -0
- package/src/hooks/useScrolled.js +48 -0
- package/src/hooks/useTheme.js +205 -0
- package/src/index.js +29 -10
- package/src/styled/Asset/Asset.jsx +161 -0
- package/src/styled/Asset/index.js +1 -0
- package/src/{components → styled}/Disclaimer/Disclaimer.jsx +1 -1
- package/src/styled/Media/Media.jsx +322 -0
- package/src/styled/Media/index.js +1 -0
- package/src/{components → styled}/Section/Render.jsx +4 -4
- package/src/{components → styled}/Section/index.js +6 -0
- package/src/{components → styled}/Section/renderers/Alert.jsx +1 -1
- package/src/{components → styled}/Section/renderers/Details.jsx +1 -1
- package/src/{components → styled}/Section/renderers/Table.jsx +1 -1
- package/src/{components → styled}/Section/renderers/index.js +1 -1
- package/src/styled/SidebarLayout/SidebarLayout.jsx +310 -0
- package/src/styled/SidebarLayout/index.js +1 -0
- package/src/styled/index.js +40 -0
- /package/src/{components → styled}/Disclaimer/index.js +0 -0
- /package/src/{components → styled}/Section/Section.jsx +0 -0
- /package/src/{components → styled}/Section/renderers/Code.jsx +0 -0
- /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
|
|
File without changes
|
|
File without changes
|