@redseed/redseed-ui-tailwindcss 7.7.0 → 7.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.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
.rsui-section-slider {
|
|
2
|
-
@apply min-w-full max-w-full overflow-x-hidden rounded-3xl
|
|
2
|
+
@apply min-w-full max-w-full overflow-x-hidden rounded-3xl px-0;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.rsui-section-slider > .rsui-section__header {
|
|
6
|
-
@apply
|
|
6
|
+
@apply px-space-lg;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.rsui-section-slider--featured {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.rsui-section-slider__container {
|
|
30
|
-
@apply relative flex gap-x-3 lg:gap-x-6 overflow-x-auto lg:overflow-x-hidden focus:outline-hidden scroll-smooth snap-x snap-mandatory;
|
|
30
|
+
@apply relative flex gap-x-3 lg:gap-x-6 overflow-x-auto lg:overflow-x-hidden focus:outline-hidden scroll-smooth snap-x snap-mandatory scroll-pl-space-lg;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.rsui-section-slider__container::-webkit-scrollbar {
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.rsui-sidebar-layout {
|
|
2
|
+
@apply w-full;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
/* Default: sidebar stacks to top, appears on the right when side-by-side */
|
|
6
|
+
.rsui-sidebar-layout__container {
|
|
7
|
+
@apply flex-col-reverse @xl/flex-container:flex-row;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* stackBottom: sidebar stacks to bottom instead of top, only when stacked */
|
|
11
|
+
.rsui-sidebar-layout__container--stack-bottom {
|
|
12
|
+
@apply flex-col @xl/flex-container:flex-row;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* stackOff: always side-by-side, never stacks */
|
|
16
|
+
.rsui-sidebar-layout__container--stack-off {
|
|
17
|
+
@apply flex-row;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* sidebarLeft: sidebar appears on the left when side-by-side */
|
|
21
|
+
.rsui-sidebar-layout__container--sidebar-left {
|
|
22
|
+
@apply @xl/flex-container:flex-row-reverse;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.rsui-sidebar-layout__main {
|
|
26
|
+
@apply w-full overflow-auto flex flex-col;
|
|
27
|
+
@apply @3xs/flex-container:flex-[5];
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.rsui-sidebar-layout__sidebar {
|
|
31
|
+
@apply w-full overflow-auto flex flex-col;
|
|
32
|
+
@apply @3xs/flex-container:flex-[4] @xl/flex-container:flex-[3] @3xl/flex-container:flex-[2];
|
|
33
|
+
}
|
package/components/skeleton.css
CHANGED
|
@@ -31,6 +31,10 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.rsui-skeleton__line--thick {
|
|
34
|
+
@apply h-6;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.rsui-skeleton__line--thicker {
|
|
34
38
|
@apply h-12;
|
|
35
39
|
}
|
|
36
40
|
|
|
@@ -42,10 +46,30 @@
|
|
|
42
46
|
@apply w-full aspect-square rounded-full bg-background-secondary-invert animate-pulse;
|
|
43
47
|
}
|
|
44
48
|
|
|
45
|
-
.rsui-
|
|
46
|
-
@apply w-full
|
|
49
|
+
.rsui-skeleton__aspect-ratio {
|
|
50
|
+
@apply w-full rounded-none bg-background-secondary-invert animate-pulse;
|
|
47
51
|
}
|
|
48
52
|
|
|
49
|
-
.rsui-
|
|
53
|
+
.rsui-skeleton__aspect-ratio--rounded {
|
|
50
54
|
@apply rounded-xl;
|
|
51
55
|
}
|
|
56
|
+
|
|
57
|
+
.rsui-skeleton__aspect-ratio--square {
|
|
58
|
+
@apply aspect-square;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.rsui-skeleton__aspect-ratio--3by1 {
|
|
62
|
+
@apply aspect-3/1;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.rsui-skeleton__aspect-ratio--9by16 {
|
|
66
|
+
@apply aspect-9/16;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.rsui-skeleton__aspect-ratio--16by9 {
|
|
70
|
+
@apply aspect-video;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.rsui-skeleton__aspect-ratio--64by25 {
|
|
74
|
+
@apply aspect-64/25;
|
|
75
|
+
}
|
package/components.css
CHANGED
|
@@ -82,6 +82,7 @@ Please be careful when adding new components and updating the order.
|
|
|
82
82
|
@import './components/record_count.css';
|
|
83
83
|
@import './components/section.css';
|
|
84
84
|
@import './components/section_header.css';
|
|
85
|
+
@import './components/sidebar_layout.css';
|
|
85
86
|
@import './components/section_footer.css';
|
|
86
87
|
@import './components/section_slider.css';
|
|
87
88
|
@import './components/section_slider_item.css';
|
package/package.json
CHANGED
package/theme.css
CHANGED
|
@@ -15,6 +15,21 @@
|
|
|
15
15
|
--breakpoint-2xl: 96rem; /* 1536px */
|
|
16
16
|
--breakpoint-3xl: 120rem; /* 1920px */
|
|
17
17
|
|
|
18
|
+
/* Container query breakpoints (independent from viewport breakpoints) */
|
|
19
|
+
--container-3xs: 16rem; /* 256px */
|
|
20
|
+
--container-2xs: 18rem; /* 288px */
|
|
21
|
+
--container-xs: 20rem; /* 320px */
|
|
22
|
+
--container-sm: 24rem; /* 384px */
|
|
23
|
+
--container-md: 28rem; /* 448px */
|
|
24
|
+
--container-lg: 32rem; /* 512px */
|
|
25
|
+
--container-xl: 36rem; /* 576px */
|
|
26
|
+
--container-2xl: 42rem; /* 672px */
|
|
27
|
+
--container-3xl: 48rem; /* 768px */
|
|
28
|
+
--container-4xl: 56rem; /* 896px */
|
|
29
|
+
--container-5xl: 64rem; /* 1024px */
|
|
30
|
+
--container-6xl: 72rem; /* 1152px */
|
|
31
|
+
--container-7xl: 80rem; /* 1280px */
|
|
32
|
+
|
|
18
33
|
--shadow-full: 0 0 6px 1px rgb(0 0 0 / 0.2);
|
|
19
34
|
--shadow-full-light: 0 0 6px 1px rgb(50 60 69 / 0.1);
|
|
20
35
|
}
|