@blakesteve/roster 5.4.0 → 5.5.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 +93 -0
- package/dist/components/atoms/Button/Button.cjs +1 -1
- package/dist/components/atoms/Button/Button.d.ts +11 -0
- package/dist/components/atoms/Button/Button.js +42 -32
- package/dist/components/atoms/Button/button-variants.cjs +1 -1
- package/dist/components/atoms/Button/button-variants.js +3 -1
- package/dist/components/molecules/FileUpload/FileUpload.cjs +1 -0
- package/dist/components/molecules/FileUpload/FileUpload.d.ts +111 -0
- package/dist/components/molecules/FileUpload/FileUpload.js +403 -0
- package/dist/components/molecules/FileUpload/file-rules.cjs +1 -0
- package/dist/components/molecules/FileUpload/file-rules.d.ts +22 -0
- package/dist/components/molecules/FileUpload/file-rules.js +43 -0
- package/dist/components/organisms/ModerationQueue/ModerationQueue.cjs +1 -1
- package/dist/components/organisms/ModerationQueue/ModerationQueue.js +190 -192
- package/dist/components/organisms/Navbar/Navbar.cjs +1 -1
- package/dist/components/organisms/Navbar/Navbar.d.ts +2 -0
- package/dist/components/organisms/Navbar/Navbar.js +49 -49
- package/dist/index.d.ts +1 -0
- package/dist/meta.json +3 -3
- package/dist/roster.cjs +1 -1
- package/dist/roster.css +1 -1
- package/dist/roster.js +86 -84
- package/package.json +4 -3
package/dist/roster.js
CHANGED
|
@@ -5,7 +5,7 @@ import { Badge as m } from "./components/atoms/Badge/Badge.js";
|
|
|
5
5
|
import { badgeVariants as f } from "./components/atoms/Badge/badge-variants.js";
|
|
6
6
|
import { Button as s } from "./components/atoms/Button/Button.js";
|
|
7
7
|
import { buttonVariants as V } from "./components/atoms/Button/button-variants.js";
|
|
8
|
-
import { Card as
|
|
8
|
+
import { Card as u } from "./components/atoms/Card/Card.js";
|
|
9
9
|
import { cardVariants as b } from "./components/atoms/Card/card-variants.js";
|
|
10
10
|
import { Checkbox as C } from "./components/atoms/Checkbox/Checkbox.js";
|
|
11
11
|
import { checkboxVariants as S } from "./components/atoms/Checkbox/checkbox-variants.js";
|
|
@@ -16,12 +16,12 @@ import { iconVariants as O, inputVariants as q } from "./components/atoms/Input/
|
|
|
16
16
|
import { Link as I } from "./components/atoms/Link/Link.js";
|
|
17
17
|
import { linkVariants as P } from "./components/atoms/Link/link-variants.js";
|
|
18
18
|
import { PasswordInput as M } from "./components/atoms/PasswordInput/PasswordInput.js";
|
|
19
|
-
import { Combobox as
|
|
20
|
-
import { Chip as
|
|
19
|
+
import { Combobox as H } from "./components/atoms/Combobox/Combobox.js";
|
|
20
|
+
import { Chip as R } from "./components/atoms/Chip/Chip.js";
|
|
21
21
|
import { chipVariants as K } from "./components/atoms/Chip/chip-variants.js";
|
|
22
|
-
import { Pill as
|
|
23
|
-
import { pillDotVariants as
|
|
24
|
-
import { Eyebrow as
|
|
22
|
+
import { Pill as U } from "./components/atoms/Pill/Pill.js";
|
|
23
|
+
import { pillDotVariants as X, pillVariants as j } from "./components/atoms/Pill/pill-variants.js";
|
|
24
|
+
import { Eyebrow as J } from "./components/atoms/Eyebrow/Eyebrow.js";
|
|
25
25
|
import { eyebrowVariants as Z } from "./components/atoms/Eyebrow/eyebrow-variants.js";
|
|
26
26
|
import { InlineCode as rr } from "./components/atoms/InlineCode/InlineCode.js";
|
|
27
27
|
import { inlineCodeVariants as tr } from "./components/atoms/InlineCode/inline-code-variants.js";
|
|
@@ -30,8 +30,8 @@ import { Stat as ir } from "./components/atoms/Stat/Stat.js";
|
|
|
30
30
|
import { statValueVariants as xr } from "./components/atoms/Stat/stat-variants.js";
|
|
31
31
|
import { ThemeToggle as nr } from "./components/atoms/ThemeToggle/ThemeToggle.js";
|
|
32
32
|
import { MultiSelect as lr } from "./components/atoms/MultiSelect/MultiSelect.js";
|
|
33
|
-
import { Select as
|
|
34
|
-
import { selectOptionVariants as
|
|
33
|
+
import { Select as dr } from "./components/atoms/Select/Select.js";
|
|
34
|
+
import { selectOptionVariants as cr, selectTriggerVariants as br } from "./components/atoms/Select/select-variants.js";
|
|
35
35
|
import { Spinner as Cr } from "./components/atoms/Spinner/Spinner.js";
|
|
36
36
|
import { Switch as Sr } from "./components/atoms/Switch/Switch.js";
|
|
37
37
|
import { switchThumbVariants as wr, switchTrackVariants as kr } from "./components/atoms/Switch/switch-variants.js";
|
|
@@ -41,12 +41,12 @@ import { AvatarStrip as Or } from "./components/atoms/AvatarStrip/AvatarStrip.js
|
|
|
41
41
|
import { Tooltip as yr } from "./components/atoms/Tooltip/Tooltip.js";
|
|
42
42
|
import { CollapsibleSection as Lr } from "./components/atoms/CollapsibleSection/CollapsibleSection.js";
|
|
43
43
|
import { SegmentBar as Gr } from "./components/atoms/SegmentBar/SegmentBar.js";
|
|
44
|
-
import { Toast as
|
|
45
|
-
import { toastVariants as
|
|
44
|
+
import { Toast as Fr } from "./components/molecules/Toast/Toast.js";
|
|
45
|
+
import { toastVariants as Nr } from "./components/molecules/Toast/toast-variants.js";
|
|
46
46
|
import { Toaster as Qr } from "./components/molecules/Toast/Toaster.js";
|
|
47
|
-
import { TONE_PREFIX as _r, toast as
|
|
48
|
-
import { Alert as
|
|
49
|
-
import { alertVariants as
|
|
47
|
+
import { TONE_PREFIX as _r, toast as Ur } from "./components/molecules/Toast/toast-api.js";
|
|
48
|
+
import { Alert as Xr } from "./components/molecules/Alert/Alert.js";
|
|
49
|
+
import { alertVariants as zr } from "./components/molecules/Alert/alert-variants.js";
|
|
50
50
|
import { Accordion as Yr } from "./components/molecules/Accordion/Accordion.js";
|
|
51
51
|
import { DescriptionList as $r } from "./components/molecules/DescriptionList/DescriptionList.js";
|
|
52
52
|
import { descriptionListVariants as oo } from "./components/molecules/DescriptionList/description-list-variants.js";
|
|
@@ -65,93 +65,95 @@ import { Carousel as Oo } from "./components/molecules/Carousel/Carousel.js";
|
|
|
65
65
|
import { CallToAction as yo } from "./components/molecules/CallToAction/CallToAction.js";
|
|
66
66
|
import { ctaVariants as Lo } from "./components/molecules/CallToAction/call-to-action-variants.js";
|
|
67
67
|
import { EmptyState as Go } from "./components/molecules/EmptyState/EmptyState.js";
|
|
68
|
-
import { emptyStateVariants as
|
|
69
|
-
import { MediaPreview as
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
68
|
+
import { emptyStateVariants as Fo } from "./components/molecules/EmptyState/empty-state-variants.js";
|
|
69
|
+
import { MediaPreview as No } from "./components/molecules/MediaPreview/MediaPreview.js";
|
|
70
|
+
import { FileUpload as Qo } from "./components/molecules/FileUpload/FileUpload.js";
|
|
71
|
+
import { ErrorState as _o } from "./components/molecules/ErrorState/ErrorState.js";
|
|
72
|
+
import { errorStateVariants as Wo } from "./components/molecules/ErrorState/error-state-variants.js";
|
|
73
|
+
import { MatchupCard as jo } from "./components/molecules/MatchupCard/MatchupCard.js";
|
|
74
|
+
import { ActionBar as Jo } from "./components/organisms/ActionBar/ActionBar.js";
|
|
75
|
+
import { actionBarVariants as Zo } from "./components/organisms/ActionBar/action-bar-variants.js";
|
|
76
|
+
import { Countdown as rt } from "./components/organisms/Countdown/Countdown.js";
|
|
77
|
+
import { Dialog as tt } from "./components/organisms/Dialog/Dialog.js";
|
|
78
|
+
import { Footer as at } from "./components/organisms/Footer/Footer.js";
|
|
79
|
+
import { Navbar as it } from "./components/organisms/Navbar/Navbar.js";
|
|
80
|
+
import { navbarVariants as xt } from "./components/organisms/Navbar/navbar-variants.js";
|
|
81
|
+
import { Sheet as nt } from "./components/organisms/Sheet/Sheet.js";
|
|
82
|
+
import { ModerationQueue as lt } from "./components/organisms/ModerationQueue/ModerationQueue.js";
|
|
83
|
+
import { editAction as dt } from "./components/organisms/ModerationQueue/queue-actions.js";
|
|
84
|
+
import { QueueEditDialog as ct } from "./components/organisms/ModerationQueue/QueueEditDialog.js";
|
|
85
|
+
import { QueueEditSheet as Tt } from "./components/organisms/ModerationQueue/QueueEditSheet.js";
|
|
86
|
+
import { Table as ht, TableBody as St, TableCaption as gt, TableCell as wt, TableFooter as kt, TableHead as vt, TableHeader as At, TableRow as Dt } from "./components/organisms/Table/Table.js";
|
|
87
|
+
import { tableCellVariants as Bt, tableHeadVariants as Ot, tableHeaderVariants as qt, tableRowVariants as yt, tableVariants as It, tableWrapperVariants as Lt } from "./components/organisms/Table/table-variants.js";
|
|
88
|
+
import { useCountdown as Gt } from "./hooks/useCountdown.js";
|
|
89
|
+
import { KONAMI_CODE as Ft, useKeySequence as Ht } from "./hooks/useKeySequence.js";
|
|
90
|
+
import { cn as Rt } from "./lib/utils.js";
|
|
90
91
|
export {
|
|
91
92
|
Yr as Accordion,
|
|
92
|
-
|
|
93
|
-
|
|
93
|
+
Jo as ActionBar,
|
|
94
|
+
Xr as Alert,
|
|
94
95
|
e as Avatar,
|
|
95
96
|
Or as AvatarStrip,
|
|
96
97
|
m as Badge,
|
|
97
98
|
ho as Breadcrumbs,
|
|
98
99
|
s as Button,
|
|
99
100
|
yo as CallToAction,
|
|
100
|
-
|
|
101
|
+
u as Card,
|
|
101
102
|
Oo as Carousel,
|
|
102
103
|
C as Checkbox,
|
|
103
104
|
mo as CheckboxGroup,
|
|
104
|
-
|
|
105
|
+
R as Chip,
|
|
105
106
|
Lr as CollapsibleSection,
|
|
106
|
-
|
|
107
|
-
|
|
107
|
+
H as Combobox,
|
|
108
|
+
rt as Countdown,
|
|
108
109
|
$r as DescriptionList,
|
|
109
|
-
|
|
110
|
+
tt as Dialog,
|
|
110
111
|
w as Disclosure,
|
|
111
112
|
Go as EmptyState,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
_o as ErrorState,
|
|
114
|
+
J as Eyebrow,
|
|
115
|
+
Qo as FileUpload,
|
|
116
|
+
at as Footer,
|
|
115
117
|
rr as InlineCode,
|
|
116
118
|
E as Input,
|
|
117
|
-
|
|
119
|
+
Ft as KONAMI_CODE,
|
|
118
120
|
ar as LabeledDivider,
|
|
119
121
|
I as Link,
|
|
120
122
|
Ao as LiquidNav,
|
|
121
123
|
ko as LiquidTabs,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
124
|
+
jo as MatchupCard,
|
|
125
|
+
No as MediaPreview,
|
|
126
|
+
lt as ModerationQueue,
|
|
125
127
|
lr as MultiSelect,
|
|
126
|
-
|
|
128
|
+
it as Navbar,
|
|
127
129
|
M as PasswordInput,
|
|
128
|
-
|
|
130
|
+
U as Pill,
|
|
129
131
|
eo as Pullquote,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
+
ct as QueueEditDialog,
|
|
133
|
+
Tt as QueueEditSheet,
|
|
132
134
|
lo as RadioGroup,
|
|
133
135
|
Gr as SegmentBar,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
+
dr as Select,
|
|
137
|
+
nt as Sheet,
|
|
136
138
|
Cr as Spinner,
|
|
137
139
|
ir as Stat,
|
|
138
140
|
Sr as Switch,
|
|
139
141
|
_r as TONE_PREFIX,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
142
|
+
ht as Table,
|
|
143
|
+
St as TableBody,
|
|
144
|
+
gt as TableCaption,
|
|
145
|
+
wt as TableCell,
|
|
146
|
+
kt as TableFooter,
|
|
147
|
+
vt as TableHead,
|
|
148
|
+
At as TableHeader,
|
|
149
|
+
Dt as TableRow,
|
|
148
150
|
Ar as Textarea,
|
|
149
151
|
nr as ThemeToggle,
|
|
150
|
-
|
|
152
|
+
Fr as Toast,
|
|
151
153
|
Qr as Toaster,
|
|
152
154
|
yr as Tooltip,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
+
Zo as actionBarVariants,
|
|
156
|
+
zr as alertVariants,
|
|
155
157
|
p as avatarVariants,
|
|
156
158
|
f as badgeVariants,
|
|
157
159
|
go as breadcrumbVariants,
|
|
@@ -161,42 +163,42 @@ export {
|
|
|
161
163
|
no as checkboxGroupPanelVariants,
|
|
162
164
|
S as checkboxVariants,
|
|
163
165
|
K as chipVariants,
|
|
164
|
-
|
|
166
|
+
Rt as cn,
|
|
165
167
|
Lo as ctaVariants,
|
|
166
168
|
oo as descriptionListVariants,
|
|
167
169
|
v as disclosureContentVariants,
|
|
168
170
|
A as disclosureTriggerVariants,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
171
|
+
dt as editAction,
|
|
172
|
+
Fo as emptyStateVariants,
|
|
173
|
+
Wo as errorStateVariants,
|
|
172
174
|
Z as eyebrowVariants,
|
|
173
175
|
O as iconVariants,
|
|
174
176
|
tr as inlineCodeVariants,
|
|
175
177
|
q as inputVariants,
|
|
176
178
|
P as linkVariants,
|
|
177
179
|
Eo as liquidTabId,
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
180
|
+
xt as navbarVariants,
|
|
181
|
+
X as pillDotVariants,
|
|
182
|
+
j as pillVariants,
|
|
181
183
|
po as pullquoteVariants,
|
|
182
184
|
uo as radioDotVariants,
|
|
183
185
|
co as radioGroupOptionsVariants,
|
|
184
186
|
bo as radioOptionVariants,
|
|
185
187
|
To as radioVariants,
|
|
186
|
-
|
|
188
|
+
cr as selectOptionVariants,
|
|
187
189
|
br as selectTriggerVariants,
|
|
188
190
|
xr as statValueVariants,
|
|
189
191
|
wr as switchThumbVariants,
|
|
190
192
|
kr as switchTrackVariants,
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
193
|
+
Bt as tableCellVariants,
|
|
194
|
+
Ot as tableHeadVariants,
|
|
195
|
+
qt as tableHeaderVariants,
|
|
196
|
+
yt as tableRowVariants,
|
|
197
|
+
It as tableVariants,
|
|
198
|
+
Lt as tableWrapperVariants,
|
|
197
199
|
Er as textareaVariants,
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
Ur as toast,
|
|
201
|
+
Nr as toastVariants,
|
|
202
|
+
Gt as useCountdown,
|
|
203
|
+
Ht as useKeySequence
|
|
202
204
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blakesteve/roster",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.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",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"dev": "vite",
|
|
58
|
-
"build": "tsc -b && vite build && node scripts/check-prefix.mjs && node scripts/check-classes-emit.mjs && node scripts/check-tokens.mjs && node scripts/check-client-boundary.mjs",
|
|
58
|
+
"build": "tsc -b && vite build && node scripts/check-prefix.mjs && node scripts/check-classes-emit.mjs && node scripts/check-tokens.mjs && node scripts/check-client-boundary.mjs && node scripts/check-css-urls.mjs",
|
|
59
59
|
"lint": "eslint .",
|
|
60
60
|
"preview": "vite preview",
|
|
61
61
|
"storybook": "storybook dev -p 6006",
|
|
@@ -67,7 +67,8 @@
|
|
|
67
67
|
"check:classes-emit": "node scripts/check-classes-emit.mjs",
|
|
68
68
|
"prepack": "npm run build && node scripts/write-meta.mjs",
|
|
69
69
|
"check:tokens": "node scripts/check-tokens.mjs",
|
|
70
|
-
"check:client-boundary": "node scripts/check-client-boundary.mjs"
|
|
70
|
+
"check:client-boundary": "node scripts/check-client-boundary.mjs",
|
|
71
|
+
"check:css-urls": "node scripts/check-css-urls.mjs"
|
|
71
72
|
},
|
|
72
73
|
"peerDependencies": {
|
|
73
74
|
"@tanstack/react-table": "^9.1.2",
|