@e-burgos/tucu-ui 2.7.3 → 2.8.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/CHANGELOG.md +13 -0
- package/base.css +225 -0
- package/components/inputs/select.mjs +1 -1
- package/components/loaders/loader.mjs +21 -21
- package/components/typography/index.mjs +30 -30
- package/index.css +1 -1
- package/index.js +1 -1
- package/macos/index.css +15 -0
- package/macos/sonoma/index.css +34 -0
- package/macos/sonoma/macos-auth.css +162 -0
- package/macos/sonoma/macos-backgrounds.css +314 -0
- package/macos/sonoma/macos-buttons.css +231 -0
- package/macos/sonoma/macos-cards.css +104 -0
- package/macos/sonoma/macos-content.css +157 -0
- package/macos/sonoma/macos-dialogs.css +122 -0
- package/macos/sonoma/macos-feedback.css +237 -0
- package/macos/sonoma/macos-fonts.css +7 -0
- package/macos/sonoma/macos-foundations.css +479 -0
- package/macos/sonoma/macos-inputs.css +1580 -0
- package/macos/sonoma/macos-layouts.css +223 -0
- package/macos/sonoma/macos-liquid-glass.css +279 -0
- package/macos/sonoma/macos-menus.css +184 -0
- package/macos/sonoma/macos-misc.css +635 -0
- package/macos/sonoma/macos-navigation.css +145 -0
- package/macos/sonoma/macos-selection.css +237 -0
- package/macos/sonoma/macos-sidebar.css +416 -0
- package/macos/sonoma/macos-tables.css +318 -0
- package/macos/sonoma/macos-toolbar.css +302 -0
- package/macos/sonoma/macos-typography.css +485 -0
- package/macos/sonoma/macos-window.css +273 -0
- package/macos/tahoe/index.css +34 -0
- package/macos/tahoe/macos-auth.css +162 -0
- package/macos/tahoe/macos-backgrounds.css +314 -0
- package/macos/tahoe/macos-buttons.css +286 -0
- package/macos/tahoe/macos-cards.css +125 -0
- package/macos/tahoe/macos-content.css +157 -0
- package/macos/tahoe/macos-dialogs.css +195 -0
- package/macos/tahoe/macos-feedback.css +273 -0
- package/macos/tahoe/macos-fonts.css +7 -0
- package/macos/tahoe/macos-foundations.css +516 -0
- package/macos/tahoe/macos-inputs.css +1656 -0
- package/macos/tahoe/macos-layouts.css +438 -0
- package/macos/tahoe/macos-liquid-glass.css +279 -0
- package/macos/tahoe/macos-menus.css +184 -0
- package/macos/tahoe/macos-misc.css +635 -0
- package/macos/tahoe/macos-navigation.css +191 -0
- package/macos/tahoe/macos-selection.css +237 -0
- package/macos/tahoe/macos-sidebar.css +420 -0
- package/macos/tahoe/macos-tables.css +320 -0
- package/macos/tahoe/macos-toolbar.css +304 -0
- package/macos/tahoe/macos-typography.css +485 -0
- package/macos/tahoe/macos-window.css +273 -0
- package/package.json +3 -2
- package/theme.css +812 -0
- package/third-party.css +39 -0
- package/utilities.css +105 -0
package/third-party.css
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* ===================================================================
|
|
2
|
+
TUCU-UI — THIRD-PARTY STYLES
|
|
3
|
+
===================================================================
|
|
4
|
+
|
|
5
|
+
CSS overrides and integration styles for third-party libraries:
|
|
6
|
+
Swiper and Recharts. Lives in Tailwind's own `components` layer so
|
|
7
|
+
any utility class (consumer's own, or one of ours) reliably wins —
|
|
8
|
+
see base.css for why `components` specifically, over a custom name.
|
|
9
|
+
|
|
10
|
+
Plain CSS only — no Tailwind directives (@apply allowed since
|
|
11
|
+
this file is part of the Tailwind processing chain).
|
|
12
|
+
=================================================================== */
|
|
13
|
+
|
|
14
|
+
@layer components {
|
|
15
|
+
/* ===================================================================
|
|
16
|
+
SWIPER
|
|
17
|
+
=================================================================== */
|
|
18
|
+
|
|
19
|
+
.swiper-pagination-bullet {
|
|
20
|
+
--swiper-pagination-bullet-width: 8px;
|
|
21
|
+
--swiper-pagination-bullet-height: 8px;
|
|
22
|
+
--swiper-pagination-bullet-inactive-color: #e5e7eb;
|
|
23
|
+
--swiper-pagination-color: #9ca3af;
|
|
24
|
+
--swiper-pagination-bullet-inactive-opacity: 1;
|
|
25
|
+
border-radius: 10px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* ===================================================================
|
|
29
|
+
RECHARTS
|
|
30
|
+
=================================================================== */
|
|
31
|
+
|
|
32
|
+
.recharts-tooltip-wrapper .recharts-default-tooltip {
|
|
33
|
+
@apply rounded-xs border-0! bg-white! px-4! shadow-card dark:bg-light-dark!;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.recharts-tooltip-wrapper .recharts-default-tooltip .recharts-tooltip-item {
|
|
37
|
+
@apply text-xs uppercase dark:text-gray-400! lg:text-sm;
|
|
38
|
+
}
|
|
39
|
+
}
|
package/utilities.css
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/* ===================================================================
|
|
2
|
+
TUCU-UI — CUSTOM UTILITIES
|
|
3
|
+
===================================================================
|
|
4
|
+
|
|
5
|
+
Custom @utility classes for the Tucu UI library, prefixed with
|
|
6
|
+
`tucu-` so they can't collide with a consumer's own utility names —
|
|
7
|
+
this is the canonical set, included in both the `./styles` and
|
|
8
|
+
`./theme` exports. Unprefixed deprecated aliases (./styles only)
|
|
9
|
+
live in legacy-utilities.css.
|
|
10
|
+
|
|
11
|
+
Imported by globals.css and theme.css — processed by whichever
|
|
12
|
+
Tailwind instance imports them (this library's own build for
|
|
13
|
+
`./styles`, or the consumer's build for `./theme`).
|
|
14
|
+
=================================================================== */
|
|
15
|
+
|
|
16
|
+
/* ===================================================================
|
|
17
|
+
GENERAL UTILITIES
|
|
18
|
+
=================================================================== */
|
|
19
|
+
|
|
20
|
+
@utility tucu-text-case-inherit {
|
|
21
|
+
text-transform: inherit;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@utility tucu-letter-space-inherit {
|
|
25
|
+
letter-spacing: inherit;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@utility tucu-word-break-all {
|
|
29
|
+
word-break: break-all;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@utility tucu-text-vertical {
|
|
33
|
+
writing-mode: tb;
|
|
34
|
+
text-orientation: upright;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* ===================================================================
|
|
38
|
+
ANIMATION DELAY UTILITIES
|
|
39
|
+
=================================================================== */
|
|
40
|
+
|
|
41
|
+
@utility tucu-animation-delay-200 {
|
|
42
|
+
animation-delay: 200ms;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@utility tucu-animation-delay-500 {
|
|
46
|
+
animation-delay: 500ms;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@utility tucu-animation-delay-700 {
|
|
50
|
+
animation-delay: 700ms;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* ===================================================================
|
|
54
|
+
TYPOGRAPHY SCALE UTILITIES
|
|
55
|
+
=================================================================== */
|
|
56
|
+
|
|
57
|
+
@utility tucu-text-h1 {
|
|
58
|
+
@apply text-3xl font-bold leading-tight tracking-tight;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@utility tucu-text-h2 {
|
|
62
|
+
@apply text-2xl font-bold leading-tight tracking-tight;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@utility tucu-text-h3 {
|
|
66
|
+
@apply text-xl font-semibold leading-snug tracking-normal;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@utility tucu-text-h4 {
|
|
70
|
+
@apply text-lg font-semibold leading-snug tracking-normal;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@utility tucu-text-h5 {
|
|
74
|
+
@apply text-base font-medium leading-normal tracking-normal;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@utility tucu-text-h6 {
|
|
78
|
+
@apply text-sm font-medium leading-normal tracking-wide uppercase;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@utility tucu-text-headline {
|
|
82
|
+
@apply text-xl font-bold leading-tight tracking-tight;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@utility tucu-text-body {
|
|
86
|
+
@apply text-sm font-normal leading-normal tracking-normal;
|
|
87
|
+
color: var(--text-body-color) !important;
|
|
88
|
+
word-wrap: break-word;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@utility tucu-text-label-1 {
|
|
92
|
+
@apply text-xs font-medium leading-normal tracking-normal;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@utility tucu-text-label-2 {
|
|
96
|
+
@apply text-[11px] font-medium leading-normal tracking-normal;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@utility tucu-text-caption {
|
|
100
|
+
@apply text-[11px] font-normal leading-normal tracking-wide uppercase;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@utility tucu-text-legal {
|
|
104
|
+
@apply text-[11px] font-normal leading-normal tracking-wide;
|
|
105
|
+
}
|