@yuva-devlab/ui 2.1.0 → 2.2.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.
- package/dist/components/legal-footer/legal-footer.css +98 -0
- package/dist/components/legal-footer/legal-footer.mdx +38 -0
- package/dist/components.css +100 -0
- package/dist/index.cjs +91 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -1
- package/dist/index.d.ts +25 -1
- package/dist/index.js +90 -0
- package/dist/index.js.map +1 -1
- package/dist/styles/components.css +100 -0
- package/package.json +4 -3
|
@@ -2570,6 +2570,106 @@
|
|
|
2570
2570
|
margin-inline-start: 0.25rem;
|
|
2571
2571
|
}
|
|
2572
2572
|
|
|
2573
|
+
/* ── legal-footer/legal-footer.css ── */
|
|
2574
|
+
/**
|
|
2575
|
+
* @file legal-footer.css
|
|
2576
|
+
* @description Scoped styles for the LegalFooter component.
|
|
2577
|
+
* Governed by semantic design tokens and W3C Cascade Layers.
|
|
2578
|
+
*/
|
|
2579
|
+
|
|
2580
|
+
.dl-legal-footer {
|
|
2581
|
+
box-sizing: border-box;
|
|
2582
|
+
color: var(--muted-foreground);
|
|
2583
|
+
font-family: inherit;
|
|
2584
|
+
}
|
|
2585
|
+
|
|
2586
|
+
.dl-legal-footer--login {
|
|
2587
|
+
display: flex;
|
|
2588
|
+
flex-direction: column;
|
|
2589
|
+
align-items: center;
|
|
2590
|
+
justify-content: center;
|
|
2591
|
+
gap: 0.375rem;
|
|
2592
|
+
width: 100%;
|
|
2593
|
+
padding-top: 1rem;
|
|
2594
|
+
padding-bottom: 1rem;
|
|
2595
|
+
text-align: center;
|
|
2596
|
+
font-size: 0.75rem;
|
|
2597
|
+
line-height: 1rem;
|
|
2598
|
+
}
|
|
2599
|
+
|
|
2600
|
+
.dl-legal-footer__links {
|
|
2601
|
+
display: flex;
|
|
2602
|
+
align-items: center;
|
|
2603
|
+
justify-content: center;
|
|
2604
|
+
flex-wrap: wrap;
|
|
2605
|
+
gap: 0.75rem;
|
|
2606
|
+
font-size: 0.75rem;
|
|
2607
|
+
color: var(--muted-foreground);
|
|
2608
|
+
}
|
|
2609
|
+
|
|
2610
|
+
.dl-legal-footer__app-name {
|
|
2611
|
+
font-weight: 500;
|
|
2612
|
+
color: var(--foreground);
|
|
2613
|
+
}
|
|
2614
|
+
|
|
2615
|
+
.dl-legal-footer__divider {
|
|
2616
|
+
opacity: 0.4;
|
|
2617
|
+
user-select: none;
|
|
2618
|
+
}
|
|
2619
|
+
|
|
2620
|
+
.dl-legal-footer__link {
|
|
2621
|
+
color: var(--muted-foreground);
|
|
2622
|
+
text-decoration: none;
|
|
2623
|
+
transition: color 0.15s ease-in-out;
|
|
2624
|
+
}
|
|
2625
|
+
|
|
2626
|
+
.dl-legal-footer__link:hover {
|
|
2627
|
+
color: var(--foreground);
|
|
2628
|
+
}
|
|
2629
|
+
|
|
2630
|
+
.dl-legal-footer__copyright {
|
|
2631
|
+
margin: 0;
|
|
2632
|
+
font-size: 0.6875rem;
|
|
2633
|
+
opacity: 0.75;
|
|
2634
|
+
}
|
|
2635
|
+
|
|
2636
|
+
.dl-legal-footer--sidebar {
|
|
2637
|
+
display: flex;
|
|
2638
|
+
align-items: center;
|
|
2639
|
+
justify-content: space-between;
|
|
2640
|
+
width: 100%;
|
|
2641
|
+
padding: 0.5rem 0.75rem;
|
|
2642
|
+
font-size: 0.6875rem;
|
|
2643
|
+
border-top: 1px solid color-mix(in oklab, var(--border) 40%, transparent);
|
|
2644
|
+
color: var(--muted-foreground);
|
|
2645
|
+
opacity: 0.8;
|
|
2646
|
+
}
|
|
2647
|
+
|
|
2648
|
+
.dl-legal-footer--settings {
|
|
2649
|
+
display: flex;
|
|
2650
|
+
flex-direction: column;
|
|
2651
|
+
gap: 0.25rem;
|
|
2652
|
+
width: 100%;
|
|
2653
|
+
font-size: 0.75rem;
|
|
2654
|
+
}
|
|
2655
|
+
|
|
2656
|
+
.dl-legal-footer__meta-row {
|
|
2657
|
+
display: flex;
|
|
2658
|
+
align-items: center;
|
|
2659
|
+
justify-content: space-between;
|
|
2660
|
+
font-weight: 500;
|
|
2661
|
+
color: var(--foreground);
|
|
2662
|
+
}
|
|
2663
|
+
|
|
2664
|
+
.dl-legal-footer__version-badge {
|
|
2665
|
+
font-family: monospace;
|
|
2666
|
+
font-size: 0.6875rem;
|
|
2667
|
+
color: var(--muted-foreground);
|
|
2668
|
+
background-color: color-mix(in oklab, var(--muted) 50%, transparent);
|
|
2669
|
+
padding: 0.125rem 0.375rem;
|
|
2670
|
+
border-radius: var(--radius-sm, 0.25rem);
|
|
2671
|
+
}
|
|
2672
|
+
|
|
2573
2673
|
/* ── loading-state/loading-state.css ── */
|
|
2574
2674
|
.dl-loading {
|
|
2575
2675
|
display: flex;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuva-devlab/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "Production-ready, accessible React 19 component library built on Radix UI and semantic design tokens for Yuva DevLab",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -89,19 +89,20 @@
|
|
|
89
89
|
"react-resizable-panels": "^4.6.5",
|
|
90
90
|
"recharts": "^2.15.4",
|
|
91
91
|
"vaul": "^1.1.2",
|
|
92
|
-
"zod": "^3.25.76"
|
|
93
|
-
"@yuva-devlab/tokens": "2.0.0"
|
|
92
|
+
"zod": "^3.25.76"
|
|
94
93
|
},
|
|
95
94
|
"devDependencies": {
|
|
96
95
|
"@storybook/react": "^8.6.14",
|
|
97
96
|
"@types/react": "^19.2.6",
|
|
98
97
|
"@types/react-dom": "^19.2.6",
|
|
98
|
+
"@yuva-devlab/tokens": "2.0.0",
|
|
99
99
|
"react": "^19.2.0",
|
|
100
100
|
"react-dom": "^19.2.0",
|
|
101
101
|
"tsup": "^8.5.1",
|
|
102
102
|
"typescript": "^6.0.3"
|
|
103
103
|
},
|
|
104
104
|
"peerDependencies": {
|
|
105
|
+
"@yuva-devlab/tokens": ">=2.0.0",
|
|
105
106
|
"react": "^19.0.0",
|
|
106
107
|
"react-dom": "^19.0.0",
|
|
107
108
|
"sonner": "^2.0.0"
|