@blakesteve/roster 4.5.0 → 4.6.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/README.md +228 -69
- package/dist/{Table-CyNwj97k.cjs → Table-C8f0KOSf.cjs} +1 -1
- package/dist/{Table-DdLQnzNl.js → Table-DuLc2mEo.js} +5 -5
- package/dist/data-table.cjs.js +1 -1
- package/dist/data-table.es.js +1 -1
- package/dist/roster.cjs.js +2 -2
- package/dist/roster.css +1 -1
- package/dist/roster.es.js +35 -35
- package/package.json +4 -3
package/dist/roster.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { o as I, Y as Q, K as J, p as zt, m as Ea, n as oe, q as ot, r as ct, $ as ve, s as xe, w as tr, V as It, t as jt, u as pe, v as ht, x as ye, y as Kt, z as me, A as ge, C as Os, D as Cs, E as At, G as Mi, H as de, I as Li, J as _i, L as Z, j as f, F as mt, M as Vi, N as Na, O as Pa, P as xn, Q as Bi, R as Hi, B as Ut, S as zi, U as ps, W as hr, X as Oa, Z as Wi, _ as Ui, a0 as Ge, a1 as Yi, a2 as Gi, a3 as Ki, a4 as qi } from "./Table-
|
|
3
|
-
import { a5 as eg, T as rg, e as sg, a6 as ng, g as ag, a7 as og, c as ig, a as lg, b as cg, a8 as ug, a9 as dg, aa as fg, ab as pg, ac as mg, ad as gg, ae as hg } from "./Table-
|
|
2
|
+
import { o as I, Y as Q, K as J, p as zt, m as Ea, n as oe, q as ot, r as ct, $ as ve, s as xe, w as tr, V as It, t as jt, u as pe, v as ht, x as ye, y as Kt, z as me, A as ge, C as Os, D as Cs, E as At, G as Mi, H as de, I as Li, J as _i, L as Z, j as f, F as mt, M as Vi, N as Na, O as Pa, P as xn, Q as Bi, R as Hi, B as Ut, S as zi, U as ps, W as hr, X as Oa, Z as Wi, _ as Ui, a0 as Ge, a1 as Yi, a2 as Gi, a3 as Ki, a4 as qi } from "./Table-DuLc2mEo.js";
|
|
3
|
+
import { a5 as eg, T as rg, e as sg, a6 as ng, g as ag, a7 as og, c as ig, a as lg, b as cg, a8 as ug, a9 as dg, aa as fg, ab as pg, ac as mg, ad as gg, ae as hg } from "./Table-DuLc2mEo.js";
|
|
4
4
|
import * as y from "react";
|
|
5
5
|
import S, { useState as X, useRef as V, isValidElement as Ca, useEffect as st, useContext as at, createContext as pt, useMemo as ft, useId as dt, useCallback as tt, useSyncExternalStore as Ta, useLayoutEffect as ja, cloneElement as Xi, Fragment as xt, useReducer as Qi, createRef as Zi, forwardRef as Ra } from "react";
|
|
6
6
|
import { c as C } from "./utils-hNxf9HpA.js";
|
|
@@ -4198,7 +4198,7 @@ function Gf(t, e) {
|
|
|
4198
4198
|
}
|
|
4199
4199
|
let Kf = Q(Gf);
|
|
4200
4200
|
const qf = Z(
|
|
4201
|
-
"rst:font-ui rst:relative rst:inline-flex rst:items-center rst:justify-center rst:overflow-hidden rst:font-semibold rst:border rst:transition-colors rst:focus:outline-
|
|
4201
|
+
"rst:font-ui rst:relative rst:inline-flex rst:items-center rst:justify-center rst:overflow-hidden rst:font-semibold rst:border rst:transition-colors rst:focus:outline-hidden rst:select-none rst:shrink-0 rst:shadow-sm",
|
|
4202
4202
|
{
|
|
4203
4203
|
variants: {
|
|
4204
4204
|
size: {
|
|
@@ -4263,7 +4263,7 @@ const qf = Z(
|
|
|
4263
4263
|
Tr,
|
|
4264
4264
|
{
|
|
4265
4265
|
as: "div",
|
|
4266
|
-
className: "rst:
|
|
4266
|
+
className: "rst:cursor-pointer rst:focus-visible:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-ring rst:focus-visible:ring-offset-2 rst:ring-offset-background rst:rounded-full",
|
|
4267
4267
|
children: d
|
|
4268
4268
|
}
|
|
4269
4269
|
),
|
|
@@ -4284,7 +4284,7 @@ const qf = Z(
|
|
|
4284
4284
|
);
|
|
4285
4285
|
fn.displayName = "Avatar";
|
|
4286
4286
|
const Xf = Z(
|
|
4287
|
-
"rst:font-ui rst:inline-flex rst:max-w-full rst:items-center rst:justify-center rst:font-medium rst:transition-colors rst:focus:outline-hidden rst:focus:ring-2 rst:focus:ring-ring rst:focus:ring-offset-2 rst:border",
|
|
4287
|
+
"rst:font-ui rst:inline-flex rst:max-w-full rst:items-center rst:justify-center rst:font-medium rst:transition-colors rst:focus:outline-hidden rst:focus:ring-2 rst:focus:ring-ring rst:focus:ring-offset-2 rst:ring-offset-background rst:border",
|
|
4288
4288
|
{
|
|
4289
4289
|
variants: {
|
|
4290
4290
|
variant: {
|
|
@@ -4343,11 +4343,11 @@ const Xf = Z(
|
|
|
4343
4343
|
{ fill: "outline", variant: "neutral", className: "rst:border-gray-500 rst:text-gray-600 rst:dark:border-gray-500 rst:dark:text-gray-400" },
|
|
4344
4344
|
// --- SOLID ---
|
|
4345
4345
|
{ fill: "solid", variant: "primary", className: "rst:border-transparent rst:bg-primary-500 rst:hover:bg-primary-600 rst:text-white rst:dark:bg-primary-600 rst:dark:hover:bg-primary-500" },
|
|
4346
|
-
{ fill: "solid", variant: "orange", className: "rst:border-transparent rst:bg-orange-500 rst:hover:bg-orange-
|
|
4347
|
-
{ fill: "solid", variant: "teal", className: "rst:border-transparent rst:bg-teal-500 rst:hover:bg-teal-600 rst:text-
|
|
4348
|
-
{ fill: "solid", variant: "purple", className: "rst:border-transparent rst:bg-purple-500 rst:hover:bg-purple-
|
|
4349
|
-
{ fill: "solid", variant: "amber", className: "rst:border-transparent rst:bg-amber-400 rst:hover:bg-amber-500 rst:text-
|
|
4350
|
-
{ fill: "solid", variant: "success", className: "rst:border-transparent rst:bg-success-500 rst:hover:bg-success-
|
|
4346
|
+
{ fill: "solid", variant: "orange", className: "rst:border-transparent rst:bg-orange-500 rst:hover:bg-orange-400 rst:text-gray-950 rst:dark:bg-orange-600 rst:dark:hover:bg-orange-700 rst:dark:text-white" },
|
|
4347
|
+
{ fill: "solid", variant: "teal", className: "rst:border-transparent rst:bg-teal-500 rst:hover:bg-teal-600 rst:text-gray-950 rst:dark:bg-teal-600 rst:dark:hover:bg-teal-500" },
|
|
4348
|
+
{ fill: "solid", variant: "purple", className: "rst:border-transparent rst:bg-purple-500 rst:hover:bg-purple-400 rst:text-gray-950 rst:dark:bg-purple-600 rst:dark:hover:bg-purple-700 rst:dark:text-white" },
|
|
4349
|
+
{ fill: "solid", variant: "amber", className: "rst:border-transparent rst:bg-amber-400 rst:hover:bg-amber-500 rst:text-gray-950 rst:dark:bg-amber-500 rst:dark:hover:bg-amber-400" },
|
|
4350
|
+
{ fill: "solid", variant: "success", className: "rst:border-transparent rst:bg-success-500 rst:hover:bg-success-400 rst:text-gray-950 rst:dark:bg-success-600 rst:dark:hover:bg-success-700 rst:dark:text-white" },
|
|
4351
4351
|
{ fill: "solid", variant: "error", className: "rst:border-transparent rst:bg-error-500 rst:hover:bg-error-600 rst:text-white rst:dark:bg-error-600 rst:dark:hover:bg-error-500" },
|
|
4352
4352
|
{ fill: "solid", variant: "neutral", className: "rst:border-transparent rst:bg-gray-500 rst:hover:bg-gray-600 rst:text-white rst:dark:bg-gray-600 rst:dark:hover:bg-gray-500" },
|
|
4353
4353
|
// --- STATUS PILL SIZES ---
|
|
@@ -4473,7 +4473,7 @@ const Qf = Z(
|
|
|
4473
4473
|
);
|
|
4474
4474
|
Zf.displayName = "Card";
|
|
4475
4475
|
const Jf = Z(
|
|
4476
|
-
"rst:font-ui rst:flex rst:items-center rst:justify-center rst:shrink-0 rst:transition-colors rst:focus:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-offset-2",
|
|
4476
|
+
"rst:font-ui rst:flex rst:items-center rst:justify-center rst:shrink-0 rst:transition-colors rst:focus:outline-hidden rst:focus-visible:ring-ring rst:focus-visible:ring-2 rst:focus-visible:ring-offset-2 rst:ring-offset-background",
|
|
4477
4477
|
{
|
|
4478
4478
|
variants: {
|
|
4479
4479
|
size: {
|
|
@@ -4506,7 +4506,7 @@ const Jf = Z(
|
|
|
4506
4506
|
{ checked: !0, variant: "solid", colorScheme: "orange", className: "rst:bg-orange-600 rst:border-orange-600 rst:text-white rst:dark:bg-orange-600 rst:dark:border-orange-500" },
|
|
4507
4507
|
{ checked: !0, variant: "solid", colorScheme: "teal", className: "rst:bg-teal-600 rst:border-teal-600 rst:text-white rst:dark:bg-teal-600 rst:dark:border-teal-500" },
|
|
4508
4508
|
{ checked: !0, variant: "solid", colorScheme: "purple", className: "rst:bg-purple-600 rst:border-purple-600 rst:text-white rst:dark:bg-purple-600 rst:dark:border-purple-500" },
|
|
4509
|
-
{ checked: !0, variant: "solid", colorScheme: "amber", className: "rst:bg-amber-400 rst:border-amber-400 rst:text-
|
|
4509
|
+
{ checked: !0, variant: "solid", colorScheme: "amber", className: "rst:bg-amber-400 rst:border-amber-400 rst:text-gray-950 rst:dark:bg-amber-500 rst:dark:border-amber-500" },
|
|
4510
4510
|
{ checked: !0, variant: "solid", colorScheme: "success", className: "rst:bg-success-600 rst:border-success-600 rst:text-white rst:dark:bg-success-600 rst:dark:border-success-500" },
|
|
4511
4511
|
{ checked: !0, variant: "solid", colorScheme: "error", className: "rst:bg-error-600 rst:border-error-600 rst:text-white rst:dark:bg-error-600 rst:dark:border-error-500" },
|
|
4512
4512
|
{ checked: !0, variant: "solid", colorScheme: "neutral", className: "rst:bg-gray-600 rst:border-gray-600 rst:text-white rst:dark:bg-gray-600 rst:dark:border-gray-500" },
|
|
@@ -4580,7 +4580,7 @@ const Jf = Z(
|
|
|
4580
4580
|
);
|
|
4581
4581
|
t0.displayName = "Checkbox";
|
|
4582
4582
|
const e0 = Z(
|
|
4583
|
-
"rst:font-ui rst:group rst:flex rst:w-full rst:items-center rst:justify-between rst:px-4 rst:py-3 rst:text-left rst:text-sm rst:font-medium rst:transition-all rst:focus:outline-
|
|
4583
|
+
"rst:font-ui rst:group rst:flex rst:w-full rst:items-center rst:justify-between rst:px-4 rst:py-3 rst:text-left rst:text-sm rst:font-medium rst:transition-all rst:focus:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-ring rst:cursor-pointer rst:z-10 rst:relative",
|
|
4584
4584
|
{
|
|
4585
4585
|
variants: {
|
|
4586
4586
|
variant: {
|
|
@@ -4682,7 +4682,7 @@ const e0 = Z(
|
|
|
4682
4682
|
)
|
|
4683
4683
|
] });
|
|
4684
4684
|
}, n0 = Z(
|
|
4685
|
-
"rst:font-ui rst:flex rst:w-full rst:rounded-md rst:border rst:py-2.5 rst:px-4 rst:text-sm rst:ring-offset-background rst:file:border-0 rst:file:bg-transparent rst:file:text-sm rst:file:font-medium rst:focus-visible:outline-
|
|
4685
|
+
"rst:font-ui rst:flex rst:w-full rst:rounded-md rst:border rst:py-2.5 rst:px-4 rst:text-sm rst:ring-offset-background rst:focus-visible:ring-offset-2 rst:file:border-0 rst:file:bg-transparent rst:file:text-sm rst:file:font-medium rst:focus-visible:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-ring rst:disabled:cursor-not-allowed rst:disabled:opacity-50 rst:transition-all",
|
|
4686
4686
|
{
|
|
4687
4687
|
variants: {
|
|
4688
4688
|
variant: {
|
|
@@ -4801,7 +4801,7 @@ const e0 = Z(
|
|
|
4801
4801
|
);
|
|
4802
4802
|
ii.displayName = "Input";
|
|
4803
4803
|
const a0 = Z(
|
|
4804
|
-
"rst:inline-flex rst:items-center rst:gap-1.5 rst:font-semibold rst:transition-colors rst:focus:outline-
|
|
4804
|
+
"rst:inline-flex rst:items-center rst:gap-1.5 rst:font-semibold rst:transition-colors rst:focus:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-ring rst:rounded-sm rst:cursor-pointer",
|
|
4805
4805
|
{
|
|
4806
4806
|
variants: {
|
|
4807
4807
|
variant: {
|
|
@@ -4921,7 +4921,7 @@ const a0 = Z(
|
|
|
4921
4921
|
className: C(
|
|
4922
4922
|
"rst:-m-1 rst:flex rst:items-center rst:rounded rst:p-1 rst:transition-opacity",
|
|
4923
4923
|
"rst:opacity-70 rst:hover:opacity-100",
|
|
4924
|
-
"rst:focus:outline-
|
|
4924
|
+
"rst:focus:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-ring",
|
|
4925
4925
|
o && "rst:cursor-not-allowed rst:opacity-40 rst:hover:opacity-40"
|
|
4926
4926
|
),
|
|
4927
4927
|
children: /* @__PURE__ */ f.jsx(
|
|
@@ -4979,10 +4979,10 @@ const i0 = Z(
|
|
|
4979
4979
|
{ variant: "outline", colorScheme: "neutral", className: "rst:border-gray-300 rst:text-gray-700 rst:dark:border-gray-600 rst:dark:text-gray-300" },
|
|
4980
4980
|
// Solid is for when the pill is the loudest thing in its row on purpose.
|
|
4981
4981
|
{ variant: "solid", colorScheme: "primary", className: "rst:bg-primary-500 rst:text-white" },
|
|
4982
|
-
{ variant: "solid", colorScheme: "success", className: "rst:bg-success-500 rst:text-
|
|
4982
|
+
{ variant: "solid", colorScheme: "success", className: "rst:bg-success-500 rst:text-gray-950" },
|
|
4983
4983
|
{ variant: "solid", colorScheme: "error", className: "rst:bg-error-500 rst:text-white" },
|
|
4984
|
-
{ variant: "solid", colorScheme: "amber", className: "rst:bg-amber-500 rst:text-
|
|
4985
|
-
{ variant: "solid", colorScheme: "info", className: "rst:bg-info-500 rst:text-
|
|
4984
|
+
{ variant: "solid", colorScheme: "amber", className: "rst:bg-amber-500 rst:text-gray-950" },
|
|
4985
|
+
{ variant: "solid", colorScheme: "info", className: "rst:bg-info-500 rst:text-gray-950" },
|
|
4986
4986
|
{ variant: "solid", colorScheme: "neutral", className: "rst:bg-gray-600 rst:text-white rst:dark:bg-gray-500" }
|
|
4987
4987
|
],
|
|
4988
4988
|
defaultVariants: {
|
|
@@ -5230,7 +5230,7 @@ const x0 = S.forwardRef(
|
|
|
5230
5230
|
);
|
|
5231
5231
|
x0.displayName = "ThemeToggle";
|
|
5232
5232
|
const y0 = Z(
|
|
5233
|
-
"rst:font-ui rst:relative rst:w-full rst:cursor-pointer rst:rounded-md rst:py-2.5 rst:pl-4 rst:pr-10 rst:text-left rst:text-sm rst:font-medium rst:shadow-sm rst:ring-1 rst:ring-inset rst:transition-all rst:focus:outline-
|
|
5233
|
+
"rst:font-ui rst:relative rst:w-full rst:cursor-pointer rst:rounded-md rst:py-2.5 rst:pl-4 rst:pr-10 rst:text-left rst:text-sm rst:font-medium rst:shadow-sm rst:ring-1 rst:ring-inset rst:transition-all rst:focus:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-ring rst:sm:leading-6",
|
|
5234
5234
|
{
|
|
5235
5235
|
variants: {
|
|
5236
5236
|
variant: {
|
|
@@ -5309,7 +5309,7 @@ const y0 = Z(
|
|
|
5309
5309
|
{
|
|
5310
5310
|
anchor: "bottom start",
|
|
5311
5311
|
className: C(
|
|
5312
|
-
"rst:w-(--button-width) rst:z-50 rst:rounded-md rst:bg-white rst:dark:bg-gray-800 rst:py-1 rst:text-base rst:shadow-lg rst:ring-1 rst:ring-black/5 rst:dark:ring-gray-700 rst:focus:outline-
|
|
5312
|
+
"rst:w-(--button-width) rst:z-50 rst:rounded-md rst:bg-white rst:dark:bg-gray-800 rst:py-1 rst:text-base rst:shadow-lg rst:ring-1 rst:ring-black/5 rst:dark:ring-gray-700 rst:focus:outline-hidden rst:sm:text-sm",
|
|
5313
5313
|
"rst:[--anchor-gap:4px]"
|
|
5314
5314
|
),
|
|
5315
5315
|
children: t.map((u) => /* @__PURE__ */ f.jsxs(
|
|
@@ -5341,14 +5341,14 @@ const y0 = Z(
|
|
|
5341
5341
|
)
|
|
5342
5342
|
] });
|
|
5343
5343
|
}, w0 = Z(
|
|
5344
|
-
"rst:font-ui rst:group rst:relative rst:inline-flex rst:shrink-0 rst:cursor-pointer rst:rounded-full rst:border-2 rst:border-transparent rst:transition-colors rst:duration-200 rst:ease-in-out rst:focus:outline-
|
|
5344
|
+
"rst:font-ui rst:group rst:relative rst:inline-flex rst:shrink-0 rst:cursor-pointer rst:rounded-full rst:border-2 rst:border-transparent rst:transition-colors rst:duration-200 rst:ease-in-out rst:focus:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-offset-2 rst:ring-offset-background rst:disabled:cursor-not-allowed rst:disabled:opacity-50",
|
|
5345
5345
|
{
|
|
5346
5346
|
variants: {
|
|
5347
5347
|
variant: {
|
|
5348
|
-
primary: "rst:bg-gray-200 rst:dark:bg-gray-700 rst:data-[checked]:bg-primary-500 rst:focus-visible:ring-
|
|
5349
|
-
success: "rst:bg-gray-200 rst:dark:bg-gray-700 rst:data-[checked]:bg-green-500 rst:focus-visible:ring-
|
|
5350
|
-
danger: "rst:bg-gray-200 rst:dark:bg-gray-700 rst:data-[checked]:bg-error-500 rst:focus-visible:ring-
|
|
5351
|
-
neutral: "rst:bg-gray-200 rst:dark:bg-gray-700 rst:data-[checked]:bg-gray-600 rst:dark:data-[checked]:bg-gray-500 rst:focus-visible:ring-
|
|
5348
|
+
primary: "rst:bg-gray-200 rst:dark:bg-gray-700 rst:data-[checked]:bg-primary-500 rst:focus-visible:ring-ring",
|
|
5349
|
+
success: "rst:bg-gray-200 rst:dark:bg-gray-700 rst:data-[checked]:bg-green-500 rst:focus-visible:ring-ring",
|
|
5350
|
+
danger: "rst:bg-gray-200 rst:dark:bg-gray-700 rst:data-[checked]:bg-error-500 rst:focus-visible:ring-ring",
|
|
5351
|
+
neutral: "rst:bg-gray-200 rst:dark:bg-gray-700 rst:data-[checked]:bg-gray-600 rst:dark:data-[checked]:bg-gray-500 rst:focus-visible:ring-ring"
|
|
5352
5352
|
},
|
|
5353
5353
|
size: {
|
|
5354
5354
|
xs: "rst:h-4 rst:w-7",
|
|
@@ -5439,7 +5439,7 @@ const y0 = Z(
|
|
|
5439
5439
|
}
|
|
5440
5440
|
);
|
|
5441
5441
|
}, S0 = Z(
|
|
5442
|
-
"rst:font-ui rst:flex rst:w-full rst:min-h-[80px] rst:rounded-md rst:border rst:py-2.5 rst:px-4 rst:text-sm rst:ring-offset-
|
|
5442
|
+
"rst:font-ui rst:flex rst:w-full rst:min-h-[80px] rst:rounded-md rst:border rst:py-2.5 rst:px-4 rst:text-sm rst:ring-offset-background rst:focus-visible:ring-offset-2 rst:placeholder:text-gray-400 rst:focus-visible:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-ring rst:disabled:cursor-not-allowed rst:disabled:opacity-50 rst:transition-colors rst:custom-scrollbar",
|
|
5443
5443
|
{
|
|
5444
5444
|
variants: {
|
|
5445
5445
|
variant: {
|
|
@@ -6978,7 +6978,7 @@ const Mp = Z(
|
|
|
6978
6978
|
type: "button",
|
|
6979
6979
|
onClick: a,
|
|
6980
6980
|
"aria-label": o,
|
|
6981
|
-
className: "rst:-m-1 rst:shrink-0 rst:rounded rst:p-1 rst:opacity-60 rst:transition-opacity rst:hover:opacity-100 rst:focus:outline-
|
|
6981
|
+
className: "rst:-m-1 rst:shrink-0 rst:rounded rst:p-1 rst:opacity-60 rst:transition-opacity rst:hover:opacity-100 rst:focus:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-ring",
|
|
6982
6982
|
children: /* @__PURE__ */ f.jsx(mt, { icon: Ge, className: "rst:h-3.5 rst:w-3.5", "aria-hidden": "true" })
|
|
6983
6983
|
}
|
|
6984
6984
|
)
|
|
@@ -7140,7 +7140,7 @@ const ga = Z(
|
|
|
7140
7140
|
href: s,
|
|
7141
7141
|
className: C(
|
|
7142
7142
|
ga({ variant: o }),
|
|
7143
|
-
"rst:hover:underline
|
|
7143
|
+
"rst:hover:no-underline"
|
|
7144
7144
|
),
|
|
7145
7145
|
"aria-label": "Home",
|
|
7146
7146
|
children: /* @__PURE__ */ f.jsx(mt, { icon: Yi, className: "rst:h-4 rst:w-4" })
|
|
@@ -7702,7 +7702,7 @@ const hm = (t) => {
|
|
|
7702
7702
|
{
|
|
7703
7703
|
variants: {
|
|
7704
7704
|
variant: {
|
|
7705
|
-
gradient: "rst:text-transparent rst:animate-
|
|
7705
|
+
gradient: "rst:text-transparent rst:animate-shimmer rst:drop-shadow-sm rst:dark:drop-shadow-md",
|
|
7706
7706
|
primary: "rst:text-primary-600 rst:dark:text-primary-400",
|
|
7707
7707
|
neutral: "rst:text-gray-900 rst:dark:text-gray-100"
|
|
7708
7708
|
},
|
|
@@ -7848,7 +7848,7 @@ const ym = Z(
|
|
|
7848
7848
|
}
|
|
7849
7849
|
}
|
|
7850
7850
|
), wm = Z("rst:text-xl rst:font-bold rst:leading-6 rst:text-inherit"), km = Z("rst:mt-1 rst:text-sm rst:text-inherit rst:opacity-75"), Sm = Z(
|
|
7851
|
-
"rst:inline-flex rst:rounded-md rst:bg-transparent rst:text-inherit rst:opacity-50 rst:hover:opacity-100 rst:focus:outline-
|
|
7851
|
+
"rst:inline-flex rst:rounded-md rst:bg-transparent rst:text-inherit rst:opacity-50 rst:hover:opacity-100 rst:focus:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-ring rst:focus-visible:ring-offset-2 rst:ring-offset-background rst:transition-opacity"
|
|
7852
7852
|
), qm = ({
|
|
7853
7853
|
isOpen: t,
|
|
7854
7854
|
onClose: e,
|
|
@@ -8130,7 +8130,7 @@ const Xm = ({
|
|
|
8130
8130
|
}) }),
|
|
8131
8131
|
O,
|
|
8132
8132
|
U ?? (i ? /* @__PURE__ */ f.jsxs(gf, { as: "div", className: "rst:relative rst:ml-2", children: [
|
|
8133
|
-
/* @__PURE__ */ f.jsxs(ei, { className: "rst:relative rst:flex rst:rounded-full rst:text-sm rst:focus:outline-
|
|
8133
|
+
/* @__PURE__ */ f.jsxs(ei, { className: "rst:relative rst:flex rst:rounded-full rst:text-sm rst:focus-visible:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-ring rst:focus-visible:ring-offset-2 rst:ring-offset-background", children: [
|
|
8134
8134
|
/* @__PURE__ */ f.jsx("span", { className: "rst:sr-only", children: "Open user menu" }),
|
|
8135
8135
|
/* @__PURE__ */ f.jsx(
|
|
8136
8136
|
fn,
|
|
@@ -8163,7 +8163,7 @@ const Xm = ({
|
|
|
8163
8163
|
leave: "rst:transition rst:ease-in rst:duration-75",
|
|
8164
8164
|
leaveFrom: "rst:transform rst:opacity-100 rst:scale-100",
|
|
8165
8165
|
leaveTo: "rst:transform rst:opacity-0 rst:scale-95",
|
|
8166
|
-
children: /* @__PURE__ */ f.jsxs(ri, { className: "rst:absolute rst:right-0 rst:z-50 rst:mt-2 rst:w-48 rst:origin-top-right rst:rounded-md rst:bg-white rst:dark:bg-gray-800 rst:py-1 rst:shadow-lg rst:ring-1 rst:ring-black/5 rst:dark:ring-white/10 rst:focus:outline-
|
|
8166
|
+
children: /* @__PURE__ */ f.jsxs(ri, { className: "rst:absolute rst:right-0 rst:z-50 rst:mt-2 rst:w-48 rst:origin-top-right rst:rounded-md rst:bg-white rst:dark:bg-gray-800 rst:py-1 rst:shadow-lg rst:ring-1 rst:ring-black/5 rst:dark:ring-white/10 rst:focus:outline-hidden rst:divide-y rst:divide-gray-100 rst:dark:divide-gray-700", children: [
|
|
8167
8167
|
/* @__PURE__ */ f.jsxs("div", { className: "rst:py-1", children: [
|
|
8168
8168
|
P && u && /* @__PURE__ */ f.jsx(ze, { children: ({ focus: j }) => /* @__PURE__ */ f.jsxs(
|
|
8169
8169
|
Ut,
|
|
@@ -8282,7 +8282,7 @@ const Xm = ({
|
|
|
8282
8282
|
Tr,
|
|
8283
8283
|
{
|
|
8284
8284
|
className: C(
|
|
8285
|
-
"rst:inline-flex rst:items-center rst:justify-center rst:rounded-md rst:p-2 rst:focus:outline-
|
|
8285
|
+
"rst:inline-flex rst:items-center rst:justify-center rst:rounded-md rst:p-2 rst:focus-visible:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-ring rst:focus-visible:ring-offset-2 rst:ring-offset-background",
|
|
8286
8286
|
R.hamburger
|
|
8287
8287
|
),
|
|
8288
8288
|
children: [
|
|
@@ -8341,7 +8341,7 @@ const Xm = ({
|
|
|
8341
8341
|
),
|
|
8342
8342
|
d ?? /* @__PURE__ */ f.jsx("span", { className: "rst:font-bold rst:text-gray-900 rst:dark:text-white", children: s })
|
|
8343
8343
|
] }),
|
|
8344
|
-
/* @__PURE__ */ f.jsx("div", { className: "rst:-mr-2", children: /* @__PURE__ */ f.jsxs(Tr, { className: "rst:inline-flex rst:items-center rst:justify-center rst:rounded-md rst:p-2 rst:text-gray-400 rst:hover:bg-gray-100 rst:dark:hover:bg-gray-700 rst:hover:text-gray-500 rst:dark:hover:text-white rst:focus:outline-
|
|
8344
|
+
/* @__PURE__ */ f.jsx("div", { className: "rst:-mr-2", children: /* @__PURE__ */ f.jsxs(Tr, { className: "rst:inline-flex rst:items-center rst:justify-center rst:rounded-md rst:p-2 rst:text-gray-400 rst:hover:bg-gray-100 rst:dark:hover:bg-gray-700 rst:hover:text-gray-500 rst:dark:hover:text-white rst:focus:outline-hidden", children: [
|
|
8345
8345
|
/* @__PURE__ */ f.jsx("span", { className: "rst:sr-only", children: "Close menu" }),
|
|
8346
8346
|
/* @__PURE__ */ f.jsx(
|
|
8347
8347
|
mt,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blakesteve/roster",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"description": "A production-grade atomic component library: accessible, theme-aware, and documented in Storybook. React 19, TypeScript, Tailwind CSS v4.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"dev": "vite",
|
|
55
|
-
"build": "tsc -b && vite build && node scripts/check-prefix.mjs",
|
|
55
|
+
"build": "tsc -b && vite build && node scripts/check-prefix.mjs && node scripts/check-classes-emit.mjs",
|
|
56
56
|
"lint": "eslint .",
|
|
57
57
|
"preview": "vite preview",
|
|
58
58
|
"storybook": "storybook dev -p 6006",
|
|
@@ -60,7 +60,8 @@
|
|
|
60
60
|
"test": "vitest",
|
|
61
61
|
"test:ui": "vitest --ui",
|
|
62
62
|
"test:run": "vitest run",
|
|
63
|
-
"check:prefix": "node scripts/check-prefix.mjs"
|
|
63
|
+
"check:prefix": "node scripts/check-prefix.mjs",
|
|
64
|
+
"check:classes-emit": "node scripts/check-classes-emit.mjs"
|
|
64
65
|
},
|
|
65
66
|
"peerDependencies": {
|
|
66
67
|
"react": "^19.2.0",
|