@blakesteve/roster 1.1.20 → 1.1.22
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/organisms/Countdown/Countdown.d.ts +3 -6
- package/dist/components/organisms/Countdown/countdown-variants.d.ts +10 -0
- package/dist/components/organisms/Navbar/navbar-variants.d.ts +1 -1
- package/dist/roster.css +1 -1
- package/dist/roster.es.js +61 -61
- package/dist/roster.umd.js +1 -1
- package/package.json +1 -1
package/dist/roster.es.js
CHANGED
|
@@ -12840,77 +12840,69 @@ const vw = (e) => {
|
|
|
12840
12840
|
}, 1e3);
|
|
12841
12841
|
return () => clearInterval(a);
|
|
12842
12842
|
}, [e]), r;
|
|
12843
|
-
}, Al = ce(
|
|
12844
|
-
|
|
12845
|
-
|
|
12846
|
-
|
|
12847
|
-
|
|
12848
|
-
|
|
12849
|
-
|
|
12850
|
-
|
|
12843
|
+
}, Al = ce(
|
|
12844
|
+
"font-semibold uppercase tracking-wider mb-4 transition-colors",
|
|
12845
|
+
{
|
|
12846
|
+
variants: {
|
|
12847
|
+
size: {
|
|
12848
|
+
xs: "text-sm",
|
|
12849
|
+
sm: "text-base",
|
|
12850
|
+
md: "text-lg",
|
|
12851
|
+
lg: "text-xl",
|
|
12852
|
+
xl: "text-2xl"
|
|
12853
|
+
}
|
|
12851
12854
|
},
|
|
12852
|
-
|
|
12853
|
-
|
|
12854
|
-
dark: "text-gray-100"
|
|
12855
|
+
defaultVariants: {
|
|
12856
|
+
size: "md"
|
|
12855
12857
|
}
|
|
12856
|
-
},
|
|
12857
|
-
defaultVariants: {
|
|
12858
|
-
size: "md",
|
|
12859
|
-
themeMode: "light"
|
|
12860
12858
|
}
|
|
12861
|
-
|
|
12862
|
-
"font-mono bg-clip-text
|
|
12859
|
+
), bw = ce(
|
|
12860
|
+
"font-mono bg-clip-text transition-all",
|
|
12863
12861
|
{
|
|
12864
12862
|
variants: {
|
|
12863
|
+
variant: {
|
|
12864
|
+
gradient: "text-transparent animate-pulse bg-gradient-to-br from-primary-700 via-accent-600 to-primary-700 dark:from-primary-400 dark:via-accent-300 dark:to-primary-400 drop-shadow-sm dark:drop-shadow-md",
|
|
12865
|
+
primary: "text-primary-600 dark:text-primary-400",
|
|
12866
|
+
neutral: "text-gray-900 dark:text-gray-100"
|
|
12867
|
+
},
|
|
12865
12868
|
size: {
|
|
12866
12869
|
xs: "text-2xl",
|
|
12867
12870
|
sm: "text-3xl",
|
|
12868
12871
|
md: "text-4xl",
|
|
12869
12872
|
lg: "text-5xl",
|
|
12870
12873
|
xl: "text-6xl"
|
|
12871
|
-
},
|
|
12872
|
-
themeMode: {
|
|
12873
|
-
light: "bg-gradient-to-br from-primary-700 via-accent-600 to-primary-700 drop-shadow-sm",
|
|
12874
|
-
dark: "bg-gradient-to-br from-primary-400 via-accent-300 to-primary-400 drop-shadow-md"
|
|
12875
12874
|
}
|
|
12876
12875
|
},
|
|
12877
12876
|
defaultVariants: {
|
|
12878
|
-
|
|
12879
|
-
|
|
12877
|
+
variant: "gradient",
|
|
12878
|
+
size: "md"
|
|
12880
12879
|
}
|
|
12881
12880
|
}
|
|
12882
|
-
), yw = ce(
|
|
12883
|
-
|
|
12884
|
-
|
|
12885
|
-
|
|
12886
|
-
|
|
12887
|
-
|
|
12888
|
-
|
|
12889
|
-
|
|
12881
|
+
), yw = ce(
|
|
12882
|
+
"uppercase tracking-widest mt-1 transition-colors text-gray-500 dark:text-gray-400",
|
|
12883
|
+
{
|
|
12884
|
+
variants: {
|
|
12885
|
+
size: {
|
|
12886
|
+
xs: "text-[10px]",
|
|
12887
|
+
sm: "text-xs",
|
|
12888
|
+
md: "text-xs",
|
|
12889
|
+
lg: "text-sm",
|
|
12890
|
+
xl: "text-sm"
|
|
12891
|
+
}
|
|
12890
12892
|
},
|
|
12891
|
-
|
|
12892
|
-
|
|
12893
|
-
dark: "text-gray-400"
|
|
12893
|
+
defaultVariants: {
|
|
12894
|
+
size: "md"
|
|
12894
12895
|
}
|
|
12895
|
-
}
|
|
12896
|
-
|
|
12897
|
-
|
|
12898
|
-
|
|
12899
|
-
}
|
|
12900
|
-
}), An = ({
|
|
12901
|
-
value: e,
|
|
12902
|
-
label: t,
|
|
12903
|
-
size: r,
|
|
12904
|
-
themeMode: n
|
|
12905
|
-
}) => /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
12906
|
-
/* @__PURE__ */ h.jsx("span", { className: _(bw({ size: r, themeMode: n })), children: String(e).padStart(2, "0") }),
|
|
12907
|
-
/* @__PURE__ */ h.jsx("span", { className: _(yw({ size: r, themeMode: n })), children: t })
|
|
12896
|
+
}
|
|
12897
|
+
), An = ({ value: e, label: t, size: r, variant: n }) => /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
12898
|
+
/* @__PURE__ */ h.jsx("span", { className: _(bw({ size: r, variant: n })), children: String(e).padStart(2, "0") }),
|
|
12899
|
+
/* @__PURE__ */ h.jsx("span", { className: _(yw({ size: r })), children: t })
|
|
12908
12900
|
] }), xw = $.forwardRef(
|
|
12909
12901
|
({
|
|
12910
12902
|
targetDate: e,
|
|
12911
12903
|
title: t,
|
|
12912
12904
|
size: r,
|
|
12913
|
-
|
|
12905
|
+
variant: n = "gradient",
|
|
12914
12906
|
className: a,
|
|
12915
12907
|
completionText: o,
|
|
12916
12908
|
...i
|
|
@@ -12920,18 +12912,24 @@ const vw = (e) => {
|
|
|
12920
12912
|
"div",
|
|
12921
12913
|
{
|
|
12922
12914
|
ref: s,
|
|
12923
|
-
className: _(
|
|
12915
|
+
className: _(
|
|
12916
|
+
"font-bold w-full text-center text-gray-900 dark:text-gray-100",
|
|
12917
|
+
a
|
|
12918
|
+
),
|
|
12924
12919
|
...i,
|
|
12925
|
-
children: /* @__PURE__ */ h.jsx("h3", { className: _(Al({ size: r
|
|
12920
|
+
children: /* @__PURE__ */ h.jsx("h3", { className: _(Al({ size: r }), "mb-0"), children: o })
|
|
12926
12921
|
}
|
|
12927
12922
|
) : null : /* @__PURE__ */ h.jsxs(
|
|
12928
12923
|
"div",
|
|
12929
12924
|
{
|
|
12930
12925
|
ref: s,
|
|
12931
|
-
className: _(
|
|
12926
|
+
className: _(
|
|
12927
|
+
"font-bold w-full text-center text-gray-900 dark:text-gray-100",
|
|
12928
|
+
a
|
|
12929
|
+
),
|
|
12932
12930
|
...i,
|
|
12933
12931
|
children: [
|
|
12934
|
-
t && /* @__PURE__ */ h.jsx("h3", { className: _(Al({ size: r
|
|
12932
|
+
t && /* @__PURE__ */ h.jsx("h3", { className: _(Al({ size: r })), children: t }),
|
|
12935
12933
|
/* @__PURE__ */ h.jsxs("div", { className: "flex justify-center gap-4 sm:gap-6 md:gap-8", children: [
|
|
12936
12934
|
/* @__PURE__ */ h.jsx(
|
|
12937
12935
|
An,
|
|
@@ -12939,7 +12937,7 @@ const vw = (e) => {
|
|
|
12939
12937
|
value: l,
|
|
12940
12938
|
label: "Days",
|
|
12941
12939
|
size: r,
|
|
12942
|
-
|
|
12940
|
+
variant: n
|
|
12943
12941
|
}
|
|
12944
12942
|
),
|
|
12945
12943
|
/* @__PURE__ */ h.jsx(
|
|
@@ -12948,7 +12946,7 @@ const vw = (e) => {
|
|
|
12948
12946
|
value: u,
|
|
12949
12947
|
label: "Hours",
|
|
12950
12948
|
size: r,
|
|
12951
|
-
|
|
12949
|
+
variant: n
|
|
12952
12950
|
}
|
|
12953
12951
|
),
|
|
12954
12952
|
/* @__PURE__ */ h.jsx(
|
|
@@ -12957,7 +12955,7 @@ const vw = (e) => {
|
|
|
12957
12955
|
value: c,
|
|
12958
12956
|
label: "Minutes",
|
|
12959
12957
|
size: r,
|
|
12960
|
-
|
|
12958
|
+
variant: n
|
|
12961
12959
|
}
|
|
12962
12960
|
),
|
|
12963
12961
|
/* @__PURE__ */ h.jsx(
|
|
@@ -12966,7 +12964,7 @@ const vw = (e) => {
|
|
|
12966
12964
|
value: f,
|
|
12967
12965
|
label: "Seconds",
|
|
12968
12966
|
size: r,
|
|
12969
|
-
|
|
12967
|
+
variant: n
|
|
12970
12968
|
}
|
|
12971
12969
|
)
|
|
12972
12970
|
] })
|
|
@@ -13125,13 +13123,15 @@ const Rw = ce(
|
|
|
13125
13123
|
{
|
|
13126
13124
|
variants: {
|
|
13127
13125
|
variant: {
|
|
13128
|
-
//
|
|
13126
|
+
// White in light mode, deep gray-950 in dark mode.
|
|
13127
|
+
default: "bg-white border-gray-200 text-gray-900 dark:bg-gray-950 dark:border-gray-800 dark:text-gray-100",
|
|
13128
|
+
// Slate: A solid mid-dark gray in light mode, drops to a moody gray in dark mode
|
|
13129
13129
|
slate: "bg-gray-700 border-gray-600 text-gray-100 dark:bg-gray-900 dark:border-gray-800",
|
|
13130
13130
|
// Primary: Bold brand color in light mode, deep rich brand color in dark mode
|
|
13131
13131
|
primary: "bg-primary-700 border-primary-600 text-white dark:bg-primary-950 dark:border-primary-900",
|
|
13132
13132
|
// White: Crisp white in light mode, elevated surface gray in dark mode
|
|
13133
13133
|
white: "bg-white border-gray-200 text-gray-900 dark:bg-gray-600 dark:border-gray-700 dark:text-gray-100",
|
|
13134
|
-
// Transparent: Stays invisible, adapts text for standard readability
|
|
13134
|
+
// Transparent: Stays invisible, adapts text for standard readability
|
|
13135
13135
|
transparent: "bg-transparent border-transparent text-gray-900 dark:text-white"
|
|
13136
13136
|
},
|
|
13137
13137
|
position: {
|
|
@@ -13141,7 +13141,7 @@ const Rw = ce(
|
|
|
13141
13141
|
}
|
|
13142
13142
|
},
|
|
13143
13143
|
defaultVariants: {
|
|
13144
|
-
variant: "
|
|
13144
|
+
variant: "default",
|
|
13145
13145
|
position: "sticky"
|
|
13146
13146
|
}
|
|
13147
13147
|
}
|
|
@@ -13156,13 +13156,13 @@ const Rw = ce(
|
|
|
13156
13156
|
onInboxClick: s,
|
|
13157
13157
|
onThemeToggle: l,
|
|
13158
13158
|
className: u,
|
|
13159
|
-
variant: c = "
|
|
13159
|
+
variant: c = "default",
|
|
13160
13160
|
position: f = "sticky",
|
|
13161
13161
|
themeMode: g,
|
|
13162
13162
|
notificationVariant: d = "error",
|
|
13163
13163
|
...m
|
|
13164
13164
|
}) => {
|
|
13165
|
-
const p = (o?.notificationCount || 0) > 0, b = (g ?? (c === "white" ? "light" : "dark")) === "dark", x = c === "slate" || c === "primary" || c === "white" && b || c === "transparent" && b, y = {
|
|
13165
|
+
const p = (o?.notificationCount || 0) > 0, b = (g ?? (c === "white" || c === "default" ? "light" : "dark")) === "dark", x = c === "slate" || c === "primary" || c === "default" && b || c === "white" && b || c === "transparent" && b, y = {
|
|
13166
13166
|
brand: x ? "text-white dark:text-white hover:text-gray-200 dark:hover:text-gray-200" : "text-gray-900 dark:text-gray-900 hover:text-gray-600 dark:hover:text-gray-600",
|
|
13167
13167
|
linkBase: x ? "text-gray-300 dark:text-gray-300 hover:text-white dark:hover:text-white" : "text-gray-600 dark:text-gray-600 hover:text-gray-900 dark:hover:text-gray-900",
|
|
13168
13168
|
linkActive: x ? "text-primary-400 dark:text-primary-400 font-semibold hover:text-primary-300 dark:hover:text-primary-300" : "text-primary-600 dark:text-primary-600 font-semibold hover:text-primary-700 dark:hover:text-primary-700",
|