@blakesteve/roster 5.4.0 → 5.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 +170 -1
- 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/molecules/Pagination/Pagination.cjs +1 -0
- package/dist/components/molecules/Pagination/Pagination.d.ts +116 -0
- package/dist/components/molecules/Pagination/Pagination.js +247 -0
- package/dist/components/molecules/Pagination/page-items.cjs +1 -0
- package/dist/components/molecules/Pagination/page-items.d.ts +13 -0
- package/dist/components/molecules/Pagination/page-items.js +11 -0
- package/dist/components/organisms/DataTable/DataTable.cjs +1 -1
- package/dist/components/organisms/DataTable/DataTable.d.ts +8 -1
- package/dist/components/organisms/DataTable/DataTable.js +61 -98
- 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 +2 -0
- package/dist/meta.json +3 -3
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.cjs +1 -1
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.js +30 -50
- package/dist/roster.cjs +1 -1
- package/dist/roster.css +1 -1
- package/dist/roster.js +102 -98
- package/package.json +4 -3
package/dist/roster.js
CHANGED
|
@@ -5,23 +5,23 @@ 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";
|
|
12
12
|
import { Disclosure as w } from "./components/atoms/Disclosure/Disclosure.js";
|
|
13
13
|
import { disclosureContentVariants as v, disclosureTriggerVariants as A } from "./components/atoms/Disclosure/disclosure-variants.js";
|
|
14
14
|
import { Input as E } from "./components/atoms/Input/Input.js";
|
|
15
|
-
import { iconVariants as O, inputVariants as
|
|
16
|
-
import { Link as
|
|
17
|
-
import { linkVariants as
|
|
15
|
+
import { iconVariants as O, inputVariants as P } from "./components/atoms/Input/input-variants.js";
|
|
16
|
+
import { Link as y } from "./components/atoms/Link/Link.js";
|
|
17
|
+
import { linkVariants as L } 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,23 +30,23 @@ 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";
|
|
38
38
|
import { Textarea as Ar } from "./components/atoms/Textarea/Textarea.js";
|
|
39
39
|
import { textareaVariants as Er } from "./components/atoms/Textarea/textarea-variants.js";
|
|
40
40
|
import { AvatarStrip as Or } from "./components/atoms/AvatarStrip/AvatarStrip.js";
|
|
41
|
-
import { Tooltip as
|
|
42
|
-
import { CollapsibleSection as
|
|
41
|
+
import { Tooltip as qr } from "./components/atoms/Tooltip/Tooltip.js";
|
|
42
|
+
import { CollapsibleSection as Ir } 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";
|
|
@@ -62,96 +62,100 @@ import { LiquidTabs as ko } from "./components/molecules/LiquidTabs/LiquidTabs.j
|
|
|
62
62
|
import { LiquidNav as Ao } from "./components/molecules/LiquidTabs/LiquidNav.js";
|
|
63
63
|
import { liquidTabId as Eo } from "./components/molecules/LiquidTabs/liquid-tab-id.js";
|
|
64
64
|
import { Carousel as Oo } from "./components/molecules/Carousel/Carousel.js";
|
|
65
|
-
import { CallToAction as
|
|
66
|
-
import { ctaVariants as
|
|
65
|
+
import { CallToAction as qo } from "./components/molecules/CallToAction/CallToAction.js";
|
|
66
|
+
import { ctaVariants as Io } 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 { Pagination as _o } from "./components/molecules/Pagination/Pagination.js";
|
|
72
|
+
import { ErrorState as Wo } from "./components/molecules/ErrorState/ErrorState.js";
|
|
73
|
+
import { errorStateVariants as jo } from "./components/molecules/ErrorState/error-state-variants.js";
|
|
74
|
+
import { MatchupCard as Jo } from "./components/molecules/MatchupCard/MatchupCard.js";
|
|
75
|
+
import { ActionBar as Zo } from "./components/organisms/ActionBar/ActionBar.js";
|
|
76
|
+
import { actionBarVariants as rt } from "./components/organisms/ActionBar/action-bar-variants.js";
|
|
77
|
+
import { Countdown as tt } from "./components/organisms/Countdown/Countdown.js";
|
|
78
|
+
import { Dialog as at } from "./components/organisms/Dialog/Dialog.js";
|
|
79
|
+
import { Footer as it } from "./components/organisms/Footer/Footer.js";
|
|
80
|
+
import { Navbar as xt } from "./components/organisms/Navbar/Navbar.js";
|
|
81
|
+
import { navbarVariants as nt } from "./components/organisms/Navbar/navbar-variants.js";
|
|
82
|
+
import { Sheet as lt } from "./components/organisms/Sheet/Sheet.js";
|
|
83
|
+
import { ModerationQueue as dt } from "./components/organisms/ModerationQueue/ModerationQueue.js";
|
|
84
|
+
import { editAction as ct } from "./components/organisms/ModerationQueue/queue-actions.js";
|
|
85
|
+
import { QueueEditDialog as Tt } from "./components/organisms/ModerationQueue/QueueEditDialog.js";
|
|
86
|
+
import { QueueEditSheet as ht } from "./components/organisms/ModerationQueue/QueueEditSheet.js";
|
|
87
|
+
import { Table as gt, TableBody as wt, TableCaption as kt, TableCell as vt, TableFooter as At, TableHead as Dt, TableHeader as Et, TableRow as Bt } from "./components/organisms/Table/Table.js";
|
|
88
|
+
import { tableCellVariants as Pt, tableHeadVariants as qt, tableHeaderVariants as yt, tableRowVariants as It, tableVariants as Lt, tableWrapperVariants as Gt } from "./components/organisms/Table/table-variants.js";
|
|
89
|
+
import { useCountdown as Ft } from "./hooks/useCountdown.js";
|
|
90
|
+
import { KONAMI_CODE as Nt, useKeySequence as Rt } from "./hooks/useKeySequence.js";
|
|
91
|
+
import { cn as Kt } from "./lib/utils.js";
|
|
90
92
|
export {
|
|
91
93
|
Yr as Accordion,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
+
Zo as ActionBar,
|
|
95
|
+
Xr as Alert,
|
|
94
96
|
e as Avatar,
|
|
95
97
|
Or as AvatarStrip,
|
|
96
98
|
m as Badge,
|
|
97
99
|
ho as Breadcrumbs,
|
|
98
100
|
s as Button,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
+
qo as CallToAction,
|
|
102
|
+
u as Card,
|
|
101
103
|
Oo as Carousel,
|
|
102
104
|
C as Checkbox,
|
|
103
105
|
mo as CheckboxGroup,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
R as Chip,
|
|
107
|
+
Ir as CollapsibleSection,
|
|
108
|
+
H as Combobox,
|
|
109
|
+
tt as Countdown,
|
|
108
110
|
$r as DescriptionList,
|
|
109
|
-
|
|
111
|
+
at as Dialog,
|
|
110
112
|
w as Disclosure,
|
|
111
113
|
Go as EmptyState,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
114
|
+
Wo as ErrorState,
|
|
115
|
+
J as Eyebrow,
|
|
116
|
+
Qo as FileUpload,
|
|
117
|
+
it as Footer,
|
|
115
118
|
rr as InlineCode,
|
|
116
119
|
E as Input,
|
|
117
|
-
|
|
120
|
+
Nt as KONAMI_CODE,
|
|
118
121
|
ar as LabeledDivider,
|
|
119
|
-
|
|
122
|
+
y as Link,
|
|
120
123
|
Ao as LiquidNav,
|
|
121
124
|
ko as LiquidTabs,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
+
Jo as MatchupCard,
|
|
126
|
+
No as MediaPreview,
|
|
127
|
+
dt as ModerationQueue,
|
|
125
128
|
lr as MultiSelect,
|
|
126
|
-
|
|
129
|
+
xt as Navbar,
|
|
130
|
+
_o as Pagination,
|
|
127
131
|
M as PasswordInput,
|
|
128
|
-
|
|
132
|
+
U as Pill,
|
|
129
133
|
eo as Pullquote,
|
|
130
|
-
|
|
131
|
-
|
|
134
|
+
Tt as QueueEditDialog,
|
|
135
|
+
ht as QueueEditSheet,
|
|
132
136
|
lo as RadioGroup,
|
|
133
137
|
Gr as SegmentBar,
|
|
134
|
-
|
|
135
|
-
|
|
138
|
+
dr as Select,
|
|
139
|
+
lt as Sheet,
|
|
136
140
|
Cr as Spinner,
|
|
137
141
|
ir as Stat,
|
|
138
142
|
Sr as Switch,
|
|
139
143
|
_r as TONE_PREFIX,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
144
|
+
gt as Table,
|
|
145
|
+
wt as TableBody,
|
|
146
|
+
kt as TableCaption,
|
|
147
|
+
vt as TableCell,
|
|
148
|
+
At as TableFooter,
|
|
149
|
+
Dt as TableHead,
|
|
150
|
+
Et as TableHeader,
|
|
151
|
+
Bt as TableRow,
|
|
148
152
|
Ar as Textarea,
|
|
149
153
|
nr as ThemeToggle,
|
|
150
|
-
|
|
154
|
+
Fr as Toast,
|
|
151
155
|
Qr as Toaster,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
156
|
+
qr as Tooltip,
|
|
157
|
+
rt as actionBarVariants,
|
|
158
|
+
zr as alertVariants,
|
|
155
159
|
p as avatarVariants,
|
|
156
160
|
f as badgeVariants,
|
|
157
161
|
go as breadcrumbVariants,
|
|
@@ -161,42 +165,42 @@ export {
|
|
|
161
165
|
no as checkboxGroupPanelVariants,
|
|
162
166
|
S as checkboxVariants,
|
|
163
167
|
K as chipVariants,
|
|
164
|
-
|
|
165
|
-
|
|
168
|
+
Kt as cn,
|
|
169
|
+
Io as ctaVariants,
|
|
166
170
|
oo as descriptionListVariants,
|
|
167
171
|
v as disclosureContentVariants,
|
|
168
172
|
A as disclosureTriggerVariants,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
173
|
+
ct as editAction,
|
|
174
|
+
Fo as emptyStateVariants,
|
|
175
|
+
jo as errorStateVariants,
|
|
172
176
|
Z as eyebrowVariants,
|
|
173
177
|
O as iconVariants,
|
|
174
178
|
tr as inlineCodeVariants,
|
|
175
|
-
|
|
176
|
-
|
|
179
|
+
P as inputVariants,
|
|
180
|
+
L as linkVariants,
|
|
177
181
|
Eo as liquidTabId,
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
182
|
+
nt as navbarVariants,
|
|
183
|
+
X as pillDotVariants,
|
|
184
|
+
j as pillVariants,
|
|
181
185
|
po as pullquoteVariants,
|
|
182
186
|
uo as radioDotVariants,
|
|
183
187
|
co as radioGroupOptionsVariants,
|
|
184
188
|
bo as radioOptionVariants,
|
|
185
189
|
To as radioVariants,
|
|
186
|
-
|
|
190
|
+
cr as selectOptionVariants,
|
|
187
191
|
br as selectTriggerVariants,
|
|
188
192
|
xr as statValueVariants,
|
|
189
193
|
wr as switchThumbVariants,
|
|
190
194
|
kr as switchTrackVariants,
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
195
|
+
Pt as tableCellVariants,
|
|
196
|
+
qt as tableHeadVariants,
|
|
197
|
+
yt as tableHeaderVariants,
|
|
198
|
+
It as tableRowVariants,
|
|
199
|
+
Lt as tableVariants,
|
|
200
|
+
Gt as tableWrapperVariants,
|
|
197
201
|
Er as textareaVariants,
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
+
Ur as toast,
|
|
203
|
+
Nr as toastVariants,
|
|
204
|
+
Ft as useCountdown,
|
|
205
|
+
Rt as useKeySequence
|
|
202
206
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blakesteve/roster",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.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",
|
|
@@ -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",
|