@yuno-payments/dashboard-design-system 0.0.49 → 0.0.51
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/atoms/button/button.d.ts +5 -5
- package/dist/components/atoms/button/button.js +12 -12
- package/dist/components/atoms/icon/icon-list.d.ts +3 -0
- package/dist/components/atoms/icon/icon-list.js +134 -128
- package/dist/components/atoms/index.d.ts +4 -2
- package/dist/components/atoms/link/index.d.ts +1 -0
- package/dist/components/atoms/link/link.d.ts +7 -0
- package/dist/components/atoms/link/link.js +26 -0
- package/dist/components/atoms/nav-link/index.d.ts +2 -0
- package/dist/components/atoms/nav-link/nav-link.d.ts +40 -0
- package/dist/components/atoms/nav-link/nav-link.js +58 -0
- package/dist/components/atoms/tooltip/tooltip.js +12 -12
- package/dist/components/molecules/index.d.ts +3 -1
- package/dist/components/molecules/pagination/index.d.ts +2 -0
- package/dist/components/molecules/pagination/page-numbers.d.ts +8 -0
- package/dist/components/molecules/pagination/page-numbers.js +29 -0
- package/dist/components/molecules/pagination/page-numbers.utils.d.ts +3 -0
- package/dist/components/molecules/pagination/page-numbers.utils.js +15 -0
- package/dist/components/molecules/pagination/pagination.d.ts +14 -0
- package/dist/components/molecules/pagination/pagination.js +58 -0
- package/dist/components/organisms/data-table/components/cells/data-table-body-cell.d.ts +7 -0
- package/dist/components/organisms/data-table/components/cells/data-table-body-cell.js +19 -0
- package/dist/components/organisms/data-table/components/cells/data-table-header-cell.d.ts +7 -0
- package/dist/components/organisms/data-table/components/cells/data-table-header-cell.js +29 -0
- package/dist/components/organisms/data-table/components/cells/data-table-resize-handle.d.ts +6 -0
- package/dist/components/organisms/data-table/components/cells/data-table-resize-handle.js +24 -0
- package/dist/components/organisms/data-table/components/column-header/data-table-column-header-content.d.ts +14 -0
- package/dist/components/organisms/data-table/components/column-header/data-table-column-header-content.js +55 -0
- package/dist/components/organisms/data-table/components/column-header/data-table-column-header-menu.d.ts +8 -0
- package/dist/components/organisms/data-table/components/column-header/data-table-column-header-menu.js +75 -0
- package/dist/components/organisms/data-table/components/column-header/data-table-column-header.d.ts +9 -0
- package/dist/components/organisms/data-table/components/column-header/data-table-column-header.js +81 -0
- package/dist/components/organisms/data-table/components/column-header/data-table-sort-indicator.d.ts +7 -0
- package/dist/components/organisms/data-table/components/column-header/data-table-sort-indicator.js +23 -0
- package/dist/components/organisms/data-table/components/data-table-body.d.ts +8 -0
- package/dist/components/organisms/data-table/components/data-table-body.js +29 -0
- package/dist/components/organisms/data-table/components/data-table-header.d.ts +7 -0
- package/dist/components/organisms/data-table/components/data-table-header.js +19 -0
- package/dist/components/organisms/data-table/components/dialogs/data-table-manage-columns-dialog.d.ts +9 -0
- package/dist/components/organisms/data-table/components/dialogs/data-table-manage-columns-dialog.js +34 -0
- package/dist/components/organisms/data-table/components/states/data-table-empty-state.d.ts +9 -0
- package/dist/components/organisms/data-table/components/states/data-table-empty-state.js +28 -0
- package/dist/components/organisms/data-table/components/states/data-table-loading.d.ts +6 -0
- package/dist/components/organisms/data-table/components/states/data-table-loading.js +15 -0
- package/dist/components/organisms/data-table/data-table.d.ts +25 -0
- package/dist/components/organisms/data-table/data-table.js +130 -0
- package/dist/components/organisms/data-table/data-table.types.d.ts +119 -0
- package/dist/components/organisms/data-table/exports.d.ts +6 -0
- package/dist/components/organisms/data-table/hooks/use-column-header.d.ts +17 -0
- package/dist/components/organisms/data-table/hooks/use-column-header.js +29 -0
- package/dist/components/organisms/data-table/hooks/use-data-table-columns.d.ts +9 -0
- package/dist/components/organisms/data-table/hooks/use-data-table-columns.js +94 -0
- package/dist/components/organisms/data-table/hooks/use-data-table-state.d.ts +19 -0
- package/dist/components/organisms/data-table/hooks/use-data-table-state.js +74 -0
- package/dist/components/organisms/data-table/index.d.ts +5 -0
- package/dist/components/organisms/data-table/utils/data-table-constants.d.ts +22 -0
- package/dist/components/organisms/data-table/utils/data-table-constants.js +25 -0
- package/dist/components/organisms/data-table/utils/data-table-styles.d.ts +831 -0
- package/dist/components/organisms/data-table/utils/data-table-styles.js +22 -0
- package/dist/components/organisms/data-table/utils/data-table-utils.d.ts +5 -0
- package/dist/components/organisms/data-table/utils/data-table-utils.js +20 -0
- package/dist/components/organisms/dialog/dialog.js +54 -54
- package/dist/components/organisms/index.d.ts +2 -0
- package/dist/components/organisms/sheet/index.d.ts +1 -0
- package/dist/components/organisms/sheet/sheet.d.ts +24 -0
- package/dist/components/organisms/sheet/sheet.js +143 -0
- package/dist/hooks/use-body-scroll-lock.js +16 -0
- package/dist/hooks/use-escape-key.js +15 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +123 -94
- package/dist/lib/utils.d.ts +6 -0
- package/dist/lib/utils.js +10 -5
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowDown.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/PushPinSimple.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/PushPinSimpleSlash.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowDown.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/PushPinSimple.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/PushPinSimpleSlash.es.js +36 -0
- package/dist/node_modules/@tanstack/react-table/build/lib/index.js +100 -0
- package/dist/node_modules/@tanstack/table-core/build/lib/index.js +1851 -0
- package/dist/vendor/shadcn/badge.d.ts +1 -1
- package/dist/vendor/shadcn/badge.js +18 -13
- package/dist/vendor/shadcn/button.d.ts +5 -2
- package/dist/vendor/shadcn/button.js +17 -22
- package/dist/vendor/shadcn/dialog.js +83 -0
- package/dist/vendor/shadcn/pagination.d.ts +30 -0
- package/dist/vendor/shadcn/pagination.js +109 -0
- package/dist/vendor/shadcn/table.d.ts +10 -0
- package/dist/vendor/shadcn/table.js +90 -0
- package/package.json +2 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
1
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
2
2
|
import { Icon, IconName } from '../icon';
|
|
3
3
|
type ButtonVariant = "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
|
|
4
4
|
type ButtonSize = "default" | "sm" | "lg" | "icon";
|
|
5
|
-
interface ButtonProps extends ComponentProps<"button"> {
|
|
5
|
+
interface ButtonProps extends Omit<ComponentProps<"button">, "children"> {
|
|
6
6
|
variant?: ButtonVariant;
|
|
7
7
|
size?: ButtonSize;
|
|
8
8
|
asChild?: boolean;
|
|
9
9
|
startIcon?: IconName;
|
|
10
10
|
endIcon?: IconName;
|
|
11
|
-
startIconProps?: ComponentProps<typeof Icon
|
|
12
|
-
endIconProps?: ComponentProps<typeof Icon
|
|
11
|
+
startIconProps?: Partial<ComponentProps<typeof Icon>>;
|
|
12
|
+
endIconProps?: Partial<ComponentProps<typeof Icon>>;
|
|
13
13
|
loading?: boolean;
|
|
14
|
-
children?:
|
|
14
|
+
children?: ReactNode;
|
|
15
15
|
}
|
|
16
16
|
declare const Button: import('react').ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
17
17
|
export { Button, type ButtonProps };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { Button as
|
|
4
|
-
import { Icon as
|
|
5
|
-
const c =
|
|
6
|
-
({ children:
|
|
7
|
-
const
|
|
8
|
-
return /* @__PURE__ */ m.jsxs(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
r && !
|
|
1
|
+
import { j as s } from "../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { forwardRef as p } from "react";
|
|
3
|
+
import { Button as f } from "../../../vendor/shadcn/button.js";
|
|
4
|
+
import { Icon as e } from "../icon/icon.js";
|
|
5
|
+
const c = p(
|
|
6
|
+
({ children: m, startIcon: i, endIcon: r, startIconProps: u, endIconProps: x, loading: t = !1, disabled: j, asChild: l = !1, ...a }, o) => {
|
|
7
|
+
const n = j || t;
|
|
8
|
+
return l ? /* @__PURE__ */ s.jsx(f, { ref: o, disabled: n, asChild: !0, ...a, children: m }) : /* @__PURE__ */ s.jsxs(f, { ref: o, disabled: n, ...a, children: [
|
|
9
|
+
t && /* @__PURE__ */ s.jsx(e, { name: "CircleNotch", size: "sm", className: "animate-spin" }),
|
|
10
|
+
i && !t && /* @__PURE__ */ s.jsx(e, { name: i, size: "sm", ...u }),
|
|
11
|
+
m,
|
|
12
|
+
r && !t && /* @__PURE__ */ s.jsx(e, { name: r, size: "sm", ...x })
|
|
13
13
|
] });
|
|
14
14
|
}
|
|
15
15
|
);
|
|
@@ -139,6 +139,7 @@ declare const IconList: {
|
|
|
139
139
|
ToggleRight: import('@phosphor-icons/react').Icon;
|
|
140
140
|
ArrowCircleUp: import('@phosphor-icons/react').Icon;
|
|
141
141
|
ArrowUp: import('@phosphor-icons/react').Icon;
|
|
142
|
+
ArrowDown: import('@phosphor-icons/react').Icon;
|
|
142
143
|
ArrowUpRight: import('@phosphor-icons/react').Icon;
|
|
143
144
|
PlayCircle: import('@phosphor-icons/react').Icon;
|
|
144
145
|
PauseCircle: import('@phosphor-icons/react').Icon;
|
|
@@ -151,6 +152,8 @@ declare const IconList: {
|
|
|
151
152
|
Columns: import('@phosphor-icons/react').Icon;
|
|
152
153
|
ImageSquare: import('@phosphor-icons/react').Icon;
|
|
153
154
|
PushPin: import('@phosphor-icons/react').Icon;
|
|
155
|
+
PushPinSimple: import('@phosphor-icons/react').Icon;
|
|
156
|
+
PushPinSimpleSlash: import('@phosphor-icons/react').Icon;
|
|
154
157
|
ShieldCheck: import('@phosphor-icons/react').Icon;
|
|
155
158
|
Package: import('@phosphor-icons/react').Icon;
|
|
156
159
|
ArrowElbowDownRight: import('@phosphor-icons/react').Icon;
|
|
@@ -15,13 +15,13 @@ import { TreeStructureIcon as $ } from "../../../node_modules/@phosphor-icons/re
|
|
|
15
15
|
import { ShoppingCartIcon as C } from "../../../node_modules/@phosphor-icons/react/dist/csr/ShoppingCart.es.js";
|
|
16
16
|
import { CodeIcon as u } from "../../../node_modules/@phosphor-icons/react/dist/csr/Code.es.js";
|
|
17
17
|
import { FileTxtIcon as h } from "../../../node_modules/@phosphor-icons/react/dist/csr/FileTxt.es.js";
|
|
18
|
-
import { FileZipIcon as
|
|
19
|
-
import { TerminalWindowIcon as
|
|
18
|
+
import { FileZipIcon as S } from "../../../node_modules/@phosphor-icons/react/dist/csr/FileZip.es.js";
|
|
19
|
+
import { TerminalWindowIcon as w } from "../../../node_modules/@phosphor-icons/react/dist/csr/TerminalWindow.es.js";
|
|
20
20
|
import { UserIcon as g } from "../../../node_modules/@phosphor-icons/react/dist/csr/User.es.js";
|
|
21
21
|
import { LockIcon as d } from "../../../node_modules/@phosphor-icons/react/dist/csr/Lock.es.js";
|
|
22
22
|
import { FileDocIcon as k } from "../../../node_modules/@phosphor-icons/react/dist/csr/FileDoc.es.js";
|
|
23
|
-
import { QuestionIcon as
|
|
24
|
-
import { SignOutIcon as
|
|
23
|
+
import { QuestionIcon as P } from "../../../node_modules/@phosphor-icons/react/dist/csr/Question.es.js";
|
|
24
|
+
import { SignOutIcon as A } from "../../../node_modules/@phosphor-icons/react/dist/csr/SignOut.es.js";
|
|
25
25
|
import { XIcon as o } from "../../../node_modules/@phosphor-icons/react/dist/csr/X.es.js";
|
|
26
26
|
import { FunnelSimpleIcon as B } from "../../../node_modules/@phosphor-icons/react/dist/csr/FunnelSimple.es.js";
|
|
27
27
|
import { PlusIcon as D } from "../../../node_modules/@phosphor-icons/react/dist/csr/Plus.es.js";
|
|
@@ -70,12 +70,12 @@ import { DeviceMobileCameraIcon as $o } from "../../../node_modules/@phosphor-ic
|
|
|
70
70
|
import { CaretUpIcon as Co } from "../../../node_modules/@phosphor-icons/react/dist/csr/CaretUp.es.js";
|
|
71
71
|
import { SwatchesIcon as uo } from "../../../node_modules/@phosphor-icons/react/dist/csr/Swatches.es.js";
|
|
72
72
|
import { CreditCardIcon as ho } from "../../../node_modules/@phosphor-icons/react/dist/csr/CreditCard.es.js";
|
|
73
|
-
import { PaletteIcon as
|
|
74
|
-
import { CircleNotchIcon as
|
|
73
|
+
import { PaletteIcon as So } from "../../../node_modules/@phosphor-icons/react/dist/csr/Palette.es.js";
|
|
74
|
+
import { CircleNotchIcon as wo } from "../../../node_modules/@phosphor-icons/react/dist/csr/CircleNotch.es.js";
|
|
75
75
|
import { PencilSimpleLineIcon as go } from "../../../node_modules/@phosphor-icons/react/dist/csr/PencilSimpleLine.es.js";
|
|
76
76
|
import { CopyIcon as ko } from "../../../node_modules/@phosphor-icons/react/dist/csr/Copy.es.js";
|
|
77
|
-
import { LightbulbIcon as
|
|
78
|
-
import { ArrowBendUpLeftIcon as
|
|
77
|
+
import { LightbulbIcon as Po } from "../../../node_modules/@phosphor-icons/react/dist/csr/Lightbulb.es.js";
|
|
78
|
+
import { ArrowBendUpLeftIcon as Ao } from "../../../node_modules/@phosphor-icons/react/dist/csr/ArrowBendUpLeft.es.js";
|
|
79
79
|
import { CheckIcon as Bo } from "../../../node_modules/@phosphor-icons/react/dist/csr/Check.es.js";
|
|
80
80
|
import { ChartPieIcon as Do } from "../../../node_modules/@phosphor-icons/react/dist/csr/ChartPie.es.js";
|
|
81
81
|
import { PercentIcon as Lo } from "../../../node_modules/@phosphor-icons/react/dist/csr/Percent.es.js";
|
|
@@ -123,73 +123,76 @@ import { EyeClosedIcon as $r } from "../../../node_modules/@phosphor-icons/react
|
|
|
123
123
|
import { DotsSixVerticalIcon as Cr } from "../../../node_modules/@phosphor-icons/react/dist/csr/DotsSixVertical.es.js";
|
|
124
124
|
import { DotsNineIcon as ur } from "../../../node_modules/@phosphor-icons/react/dist/csr/DotsNine.es.js";
|
|
125
125
|
import { CardsIcon as hr } from "../../../node_modules/@phosphor-icons/react/dist/csr/Cards.es.js";
|
|
126
|
-
import { ArrowCircleUpLeftIcon as
|
|
127
|
-
import { WalletIcon as
|
|
126
|
+
import { ArrowCircleUpLeftIcon as Sr } from "../../../node_modules/@phosphor-icons/react/dist/csr/ArrowCircleUpLeft.es.js";
|
|
127
|
+
import { WalletIcon as wr } from "../../../node_modules/@phosphor-icons/react/dist/csr/Wallet.es.js";
|
|
128
128
|
import { ArrowBendUpRightIcon as gr } from "../../../node_modules/@phosphor-icons/react/dist/csr/ArrowBendUpRight.es.js";
|
|
129
129
|
import { IdentificationCardIcon as dr } from "../../../node_modules/@phosphor-icons/react/dist/csr/IdentificationCard.es.js";
|
|
130
130
|
import { NotificationIcon as kr } from "../../../node_modules/@phosphor-icons/react/dist/csr/Notification.es.js";
|
|
131
|
-
import { ListBulletsIcon as
|
|
132
|
-
import { DownloadIcon as
|
|
131
|
+
import { ListBulletsIcon as Pr } from "../../../node_modules/@phosphor-icons/react/dist/csr/ListBullets.es.js";
|
|
132
|
+
import { DownloadIcon as Ar } from "../../../node_modules/@phosphor-icons/react/dist/csr/Download.es.js";
|
|
133
133
|
import { ArrowsOutSimpleIcon as Br } from "../../../node_modules/@phosphor-icons/react/dist/csr/ArrowsOutSimple.es.js";
|
|
134
134
|
import { ClockCountdownIcon as Dr } from "../../../node_modules/@phosphor-icons/react/dist/csr/ClockCountdown.es.js";
|
|
135
135
|
import { ImageIcon as Lr } from "../../../node_modules/@phosphor-icons/react/dist/csr/Image.es.js";
|
|
136
136
|
import { ToggleRightIcon as Tr } from "../../../node_modules/@phosphor-icons/react/dist/csr/ToggleRight.es.js";
|
|
137
137
|
import { ArrowCircleUpIcon as Ur } from "../../../node_modules/@phosphor-icons/react/dist/csr/ArrowCircleUp.es.js";
|
|
138
138
|
import { ArrowUpIcon as br } from "../../../node_modules/@phosphor-icons/react/dist/csr/ArrowUp.es.js";
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
154
|
-
import {
|
|
155
|
-
import {
|
|
156
|
-
import {
|
|
157
|
-
import {
|
|
158
|
-
import {
|
|
159
|
-
import {
|
|
160
|
-
import {
|
|
161
|
-
import {
|
|
162
|
-
import {
|
|
163
|
-
import {
|
|
164
|
-
import {
|
|
165
|
-
import {
|
|
166
|
-
import {
|
|
167
|
-
import {
|
|
168
|
-
import {
|
|
169
|
-
import {
|
|
170
|
-
import {
|
|
171
|
-
import {
|
|
172
|
-
import {
|
|
173
|
-
import {
|
|
174
|
-
import {
|
|
175
|
-
import {
|
|
176
|
-
import {
|
|
177
|
-
import {
|
|
178
|
-
import {
|
|
179
|
-
import {
|
|
180
|
-
import {
|
|
181
|
-
import {
|
|
182
|
-
import {
|
|
183
|
-
import {
|
|
184
|
-
import {
|
|
185
|
-
import {
|
|
186
|
-
import {
|
|
187
|
-
import {
|
|
188
|
-
import {
|
|
189
|
-
import {
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
139
|
+
import { ArrowDownIcon as Fr } from "../../../node_modules/@phosphor-icons/react/dist/csr/ArrowDown.es.js";
|
|
140
|
+
import { ArrowUpRightIcon as Rr } from "../../../node_modules/@phosphor-icons/react/dist/csr/ArrowUpRight.es.js";
|
|
141
|
+
import { PlayCircleIcon as yr } from "../../../node_modules/@phosphor-icons/react/dist/csr/PlayCircle.es.js";
|
|
142
|
+
import { PauseCircleIcon as xr } from "../../../node_modules/@phosphor-icons/react/dist/csr/PauseCircle.es.js";
|
|
143
|
+
import { SquaresFourIcon as vr } from "../../../node_modules/@phosphor-icons/react/dist/csr/SquaresFour.es.js";
|
|
144
|
+
import { LinkSimpleHorizontalIcon as Mr } from "../../../node_modules/@phosphor-icons/react/dist/csr/LinkSimpleHorizontal.es.js";
|
|
145
|
+
import { KeyIcon as qr } from "../../../node_modules/@phosphor-icons/react/dist/csr/Key.es.js";
|
|
146
|
+
import { DetectiveIcon as Nr } from "../../../node_modules/@phosphor-icons/react/dist/csr/Detective.es.js";
|
|
147
|
+
import { CalendarIcon as Er } from "../../../node_modules/@phosphor-icons/react/dist/csr/Calendar.es.js";
|
|
148
|
+
import { TextColumnsIcon as Gr } from "../../../node_modules/@phosphor-icons/react/dist/csr/TextColumns.es.js";
|
|
149
|
+
import { ColumnsIcon as Wr } from "../../../node_modules/@phosphor-icons/react/dist/csr/Columns.es.js";
|
|
150
|
+
import { ImageSquareIcon as Or } from "../../../node_modules/@phosphor-icons/react/dist/csr/ImageSquare.es.js";
|
|
151
|
+
import { PushPinIcon as Vr } from "../../../node_modules/@phosphor-icons/react/dist/csr/PushPin.es.js";
|
|
152
|
+
import { PushPinSimpleIcon as Hr } from "../../../node_modules/@phosphor-icons/react/dist/csr/PushPinSimple.es.js";
|
|
153
|
+
import { PushPinSimpleSlashIcon as Qr } from "../../../node_modules/@phosphor-icons/react/dist/csr/PushPinSimpleSlash.es.js";
|
|
154
|
+
import { ShieldCheckIcon as Xr } from "../../../node_modules/@phosphor-icons/react/dist/csr/ShieldCheck.es.js";
|
|
155
|
+
import { PackageIcon as zr } from "../../../node_modules/@phosphor-icons/react/dist/csr/Package.es.js";
|
|
156
|
+
import { ArrowElbowDownRightIcon as jr } from "../../../node_modules/@phosphor-icons/react/dist/csr/ArrowElbowDownRight.es.js";
|
|
157
|
+
import { BellSimpleSlashIcon as Kr } from "../../../node_modules/@phosphor-icons/react/dist/csr/BellSimpleSlash.es.js";
|
|
158
|
+
import { BellRingingIcon as Zr } from "../../../node_modules/@phosphor-icons/react/dist/csr/BellRinging.es.js";
|
|
159
|
+
import { GearSixIcon as Jr } from "../../../node_modules/@phosphor-icons/react/dist/csr/GearSix.es.js";
|
|
160
|
+
import { TextTIcon as Yr } from "../../../node_modules/@phosphor-icons/react/dist/csr/TextT.es.js";
|
|
161
|
+
import { NumberCircleOneIcon as _r } from "../../../node_modules/@phosphor-icons/react/dist/csr/NumberCircleOne.es.js";
|
|
162
|
+
import { ListNumbersIcon as oi } from "../../../node_modules/@phosphor-icons/react/dist/csr/ListNumbers.es.js";
|
|
163
|
+
import { WarningIcon as ri } from "../../../node_modules/@phosphor-icons/react/dist/csr/Warning.es.js";
|
|
164
|
+
import { SortAscendingIcon as ii } from "../../../node_modules/@phosphor-icons/react/dist/csr/SortAscending.es.js";
|
|
165
|
+
import { ArrowClockwiseIcon as ei } from "../../../node_modules/@phosphor-icons/react/dist/csr/ArrowClockwise.es.js";
|
|
166
|
+
import { SparkleIcon as mi } from "../../../node_modules/@phosphor-icons/react/dist/csr/Sparkle.es.js";
|
|
167
|
+
import { ThumbsUpIcon as ai } from "../../../node_modules/@phosphor-icons/react/dist/csr/ThumbsUp.es.js";
|
|
168
|
+
import { ThumbsDownIcon as ti } from "../../../node_modules/@phosphor-icons/react/dist/csr/ThumbsDown.es.js";
|
|
169
|
+
import { DotsThreeCircleVerticalIcon as ni } from "../../../node_modules/@phosphor-icons/react/dist/csr/DotsThreeCircleVertical.es.js";
|
|
170
|
+
import { BugBeetleIcon as si } from "../../../node_modules/@phosphor-icons/react/dist/csr/BugBeetle.es.js";
|
|
171
|
+
import { EnvelopeIcon as ci } from "../../../node_modules/@phosphor-icons/react/dist/csr/Envelope.es.js";
|
|
172
|
+
import { ShieldSlashIcon as pi } from "../../../node_modules/@phosphor-icons/react/dist/csr/ShieldSlash.es.js";
|
|
173
|
+
import { ArrowSquareInIcon as li } from "../../../node_modules/@phosphor-icons/react/dist/csr/ArrowSquareIn.es.js";
|
|
174
|
+
import { RowsIcon as fi } from "../../../node_modules/@phosphor-icons/react/dist/csr/Rows.es.js";
|
|
175
|
+
import { GearFineIcon as Ii } from "../../../node_modules/@phosphor-icons/react/dist/csr/GearFine.es.js";
|
|
176
|
+
import { MoonIcon as $i } from "../../../node_modules/@phosphor-icons/react/dist/csr/Moon.es.js";
|
|
177
|
+
import { TrendDownIcon as Ci } from "../../../node_modules/@phosphor-icons/react/dist/csr/TrendDown.es.js";
|
|
178
|
+
import { TrendUpIcon as ui } from "../../../node_modules/@phosphor-icons/react/dist/csr/TrendUp.es.js";
|
|
179
|
+
import { IntersectIcon as hi } from "../../../node_modules/@phosphor-icons/react/dist/csr/Intersect.es.js";
|
|
180
|
+
import { MagicWandIcon as Si } from "../../../node_modules/@phosphor-icons/react/dist/csr/MagicWand.es.js";
|
|
181
|
+
import { PasswordIcon as wi } from "../../../node_modules/@phosphor-icons/react/dist/csr/Password.es.js";
|
|
182
|
+
import { BuildingsIcon as gi } from "../../../node_modules/@phosphor-icons/react/dist/csr/Buildings.es.js";
|
|
183
|
+
import { ArrowRightIcon as di } from "../../../node_modules/@phosphor-icons/react/dist/csr/ArrowRight.es.js";
|
|
184
|
+
import { HeadsetIcon as ki } from "../../../node_modules/@phosphor-icons/react/dist/csr/Headset.es.js";
|
|
185
|
+
import { NetworkIcon as Pi } from "../../../node_modules/@phosphor-icons/react/dist/csr/Network.es.js";
|
|
186
|
+
import { NetworkSlashIcon as Ai } from "../../../node_modules/@phosphor-icons/react/dist/csr/NetworkSlash.es.js";
|
|
187
|
+
import { TrafficSignalIcon as Bi } from "../../../node_modules/@phosphor-icons/react/dist/csr/TrafficSignal.es.js";
|
|
188
|
+
import { FileMagnifyingGlassIcon as Di } from "../../../node_modules/@phosphor-icons/react/dist/csr/FileMagnifyingGlass.es.js";
|
|
189
|
+
import { ArrowsInSimpleIcon as Li } from "../../../node_modules/@phosphor-icons/react/dist/csr/ArrowsInSimple.es.js";
|
|
190
|
+
import { QueueIcon as Ti } from "../../../node_modules/@phosphor-icons/react/dist/csr/Queue.es.js";
|
|
191
|
+
import { DeviceMobileSpeakerIcon as Ui } from "../../../node_modules/@phosphor-icons/react/dist/csr/DeviceMobileSpeaker.es.js";
|
|
192
|
+
import { CameraIcon as bi } from "../../../node_modules/@phosphor-icons/react/dist/csr/Camera.es.js";
|
|
193
|
+
const nt = {
|
|
194
|
+
Activity: Bi,
|
|
195
|
+
FileSearch: Di,
|
|
193
196
|
MagnifyingGlass: r,
|
|
194
197
|
CaretDown: i,
|
|
195
198
|
Info: e,
|
|
@@ -207,13 +210,13 @@ const rt = {
|
|
|
207
210
|
ShoppingCart: C,
|
|
208
211
|
Code: u,
|
|
209
212
|
FileTxt: h,
|
|
210
|
-
FileZip:
|
|
211
|
-
TerminalWindow:
|
|
213
|
+
FileZip: S,
|
|
214
|
+
TerminalWindow: w,
|
|
212
215
|
User: g,
|
|
213
216
|
Lock: d,
|
|
214
217
|
FileDoc: k,
|
|
215
|
-
Question:
|
|
216
|
-
SignOut:
|
|
218
|
+
Question: P,
|
|
219
|
+
SignOut: A,
|
|
217
220
|
X: o,
|
|
218
221
|
FunnelSimple: B,
|
|
219
222
|
Plus: D,
|
|
@@ -262,12 +265,12 @@ const rt = {
|
|
|
262
265
|
CaretUp: Co,
|
|
263
266
|
Swatches: uo,
|
|
264
267
|
CreditCard: ho,
|
|
265
|
-
Palette:
|
|
266
|
-
CircleNotch:
|
|
268
|
+
Palette: So,
|
|
269
|
+
CircleNotch: wo,
|
|
267
270
|
PencilSimpleLine: go,
|
|
268
271
|
Copy: ko,
|
|
269
|
-
Lightbulb:
|
|
270
|
-
ArrowBendUpLeft:
|
|
272
|
+
Lightbulb: Po,
|
|
273
|
+
ArrowBendUpLeft: Ao,
|
|
271
274
|
Check: Bo,
|
|
272
275
|
ChartPie: Do,
|
|
273
276
|
Percent: Lo,
|
|
@@ -315,70 +318,73 @@ const rt = {
|
|
|
315
318
|
DotsSixVertical: Cr,
|
|
316
319
|
DotsNine: ur,
|
|
317
320
|
Cards: hr,
|
|
318
|
-
ArrowCircleUpLeft:
|
|
319
|
-
Wallet:
|
|
321
|
+
ArrowCircleUpLeft: Sr,
|
|
322
|
+
Wallet: wr,
|
|
320
323
|
ArrowBendUpRight: gr,
|
|
321
324
|
IdentificationCard: dr,
|
|
322
325
|
Notification: kr,
|
|
323
|
-
ListBullets:
|
|
324
|
-
Download:
|
|
326
|
+
ListBullets: Pr,
|
|
327
|
+
Download: Ar,
|
|
325
328
|
ArrowsOutSimple: Br,
|
|
326
329
|
ClockCountdown: Dr,
|
|
327
330
|
Image: Lr,
|
|
328
331
|
ToggleRight: Tr,
|
|
329
332
|
ArrowCircleUp: Ur,
|
|
330
333
|
ArrowUp: br,
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
334
|
+
ArrowDown: Fr,
|
|
335
|
+
ArrowUpRight: Rr,
|
|
336
|
+
PlayCircle: yr,
|
|
337
|
+
PauseCircle: xr,
|
|
338
|
+
SquaresFour: vr,
|
|
339
|
+
LinkSimpleHorizontal: Mr,
|
|
340
|
+
Key: qr,
|
|
341
|
+
Detective: Nr,
|
|
342
|
+
Calendar: Er,
|
|
343
|
+
TextColumns: Gr,
|
|
344
|
+
Columns: Wr,
|
|
345
|
+
ImageSquare: Or,
|
|
346
|
+
PushPin: Vr,
|
|
347
|
+
PushPinSimple: Hr,
|
|
348
|
+
PushPinSimpleSlash: Qr,
|
|
349
|
+
ShieldCheck: Xr,
|
|
350
|
+
Package: zr,
|
|
351
|
+
ArrowElbowDownRight: jr,
|
|
352
|
+
BellSimpleSlash: Kr,
|
|
353
|
+
BellRinging: Zr,
|
|
354
|
+
GearSix: Jr,
|
|
355
|
+
TextT: Yr,
|
|
356
|
+
NumberCircleOne: _r,
|
|
357
|
+
ListNumbers: oi,
|
|
358
|
+
Warning: ri,
|
|
359
|
+
SortAscending: ii,
|
|
360
|
+
ArrowClockwise: ei,
|
|
361
|
+
Sparkle: mi,
|
|
362
|
+
ThumbsUp: ai,
|
|
363
|
+
ThumbsDown: ti,
|
|
364
|
+
DotsThreeCircleVertical: ni,
|
|
365
|
+
BugBeetle: si,
|
|
366
|
+
Envelope: ci,
|
|
367
|
+
ShieldSlash: pi,
|
|
368
|
+
ArrowSquareIn: li,
|
|
369
|
+
Rows: fi,
|
|
370
|
+
GearFine: Ii,
|
|
371
|
+
Moon: $i,
|
|
372
|
+
TrendDown: Ci,
|
|
373
|
+
TrendUp: ui,
|
|
374
|
+
Intersect: hi,
|
|
369
375
|
close: o,
|
|
370
|
-
MagicWand:
|
|
371
|
-
Password:
|
|
372
|
-
Buildings:
|
|
373
|
-
ArrowRight:
|
|
374
|
-
Headset:
|
|
375
|
-
Network:
|
|
376
|
-
NetworkSlash:
|
|
377
|
-
ArrowsInSimple:
|
|
378
|
-
Queue:
|
|
379
|
-
DeviceMobileSpeaker:
|
|
380
|
-
Camera:
|
|
376
|
+
MagicWand: Si,
|
|
377
|
+
Password: wi,
|
|
378
|
+
Buildings: gi,
|
|
379
|
+
ArrowRight: di,
|
|
380
|
+
Headset: ki,
|
|
381
|
+
Network: Pi,
|
|
382
|
+
NetworkSlash: Ai,
|
|
383
|
+
ArrowsInSimple: Li,
|
|
384
|
+
Queue: Ti,
|
|
385
|
+
DeviceMobileSpeaker: Ui,
|
|
386
|
+
Camera: bi
|
|
381
387
|
};
|
|
382
388
|
export {
|
|
383
|
-
|
|
389
|
+
nt as IconList
|
|
384
390
|
};
|
|
@@ -11,9 +11,11 @@ export { FilterButton, FilterTag, FilterSection, FilterCheckboxOption, FilterRad
|
|
|
11
11
|
export { FilterDropdown, FilterMenu, FilterMenuItem, type FilterDropdownProps, type FilterMenuProps, type FilterMenuItemProps, } from './filter-dropdown';
|
|
12
12
|
export { DropdownMenu, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, type DropdownMenuProps, type DropdownMenuPortalProps, type DropdownMenuTriggerProps, type DropdownMenuContentProps, type DropdownMenuGroupProps, type DropdownMenuLabelProps, type DropdownMenuItemProps, type DropdownMenuCheckboxItemProps, type DropdownMenuRadioGroupProps, type DropdownMenuRadioItemProps, type DropdownMenuSeparatorProps, type DropdownMenuShortcutProps, type DropdownMenuSubProps, type DropdownMenuSubTriggerProps, type DropdownMenuSubContentProps, } from './dropdown-menu';
|
|
13
13
|
export { ToggleGroup, ToggleGroupItem, type ToggleGroupProps, type ToggleGroupItemProps, } from './toggle-group';
|
|
14
|
-
export { Tooltip, TooltipProvider, type TooltipProps, type TooltipProviderProps } from './tooltip';
|
|
14
|
+
export { Tooltip, TooltipProvider, type TooltipProps, type TooltipProviderProps, } from './tooltip';
|
|
15
15
|
export { Input, type InputProps } from './input';
|
|
16
|
-
export {
|
|
16
|
+
export { NavLink, type NavLinkProps } from './nav-link';
|
|
17
|
+
export { Link, type LinkProps } from './link';
|
|
18
|
+
export { RadioGroup, type RadioGroupProps, type RadioOption, RadioGroupBase, RadioGroupItem, } from './radio-group';
|
|
17
19
|
export { Skeleton } from './skeleton';
|
|
18
20
|
export { Separator, type SeparatorProps } from './separator';
|
|
19
21
|
export { Switch, type SwitchProps } from './switch';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Link, type LinkProps } from './link';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
interface LinkProps extends ComponentProps<"a"> {
|
|
3
|
+
underline?: boolean;
|
|
4
|
+
asChild?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const Link: import('react').ForwardRefExoticComponent<Omit<LinkProps, "ref"> & import('react').RefAttributes<HTMLAnchorElement>>;
|
|
7
|
+
export { Link, type LinkProps };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { j as s } from "../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { forwardRef as a } from "react";
|
|
3
|
+
import { Slot as p } from "@radix-ui/react-slot";
|
|
4
|
+
import { cn as f } from "../../../lib/utils.js";
|
|
5
|
+
const l = a(
|
|
6
|
+
({ className: o, underline: t = !0, asChild: r = !1, children: n, ...e }, i) => {
|
|
7
|
+
const m = r ? p : "a";
|
|
8
|
+
return /* @__PURE__ */ s.jsx(
|
|
9
|
+
m,
|
|
10
|
+
{
|
|
11
|
+
ref: i,
|
|
12
|
+
className: f(
|
|
13
|
+
"text-sm font-normal leading-5 text-primary transition-colors hover:text-primary/80",
|
|
14
|
+
t && "underline decoration-solid [text-decoration-skip-ink:none] [text-underline-position:from-font]",
|
|
15
|
+
o
|
|
16
|
+
),
|
|
17
|
+
...e,
|
|
18
|
+
children: n
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
l.displayName = "Link";
|
|
24
|
+
export {
|
|
25
|
+
l as Link
|
|
26
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface NavLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
3
|
+
/**
|
|
4
|
+
* The text content of the navigation link
|
|
5
|
+
*/
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Whether this navigation link is currently active/selected
|
|
9
|
+
* @default false
|
|
10
|
+
*/
|
|
11
|
+
current?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Optional badge to show a count or indicator
|
|
14
|
+
*/
|
|
15
|
+
badge?: string | number;
|
|
16
|
+
/**
|
|
17
|
+
* Whether the link is disabled
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Callback fired when the link is clicked
|
|
23
|
+
*/
|
|
24
|
+
onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* NavLink component for tab-style navigation.
|
|
28
|
+
*
|
|
29
|
+
* Based on Figma design: Pro Blocks / Tab Nav Links
|
|
30
|
+
* Node ID: 11002-9502
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```tsx
|
|
34
|
+
* <NavLink current>Profile</NavLink>
|
|
35
|
+
* <NavLink badge="3">Notifications</NavLink>
|
|
36
|
+
* <NavLink disabled>Settings</NavLink>
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
declare const NavLink: React.ForwardRefExoticComponent<NavLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
40
|
+
export { NavLink };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { j as o } from "../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import * as l from "react";
|
|
3
|
+
import { cn as n } from "../../../lib/utils.js";
|
|
4
|
+
import { Badge as x } from "../badge/badge.js";
|
|
5
|
+
const d = l.forwardRef(
|
|
6
|
+
({ children: s, current: r = !1, badge: t, disabled: e = !1, className: i, onClick: m, ...p }, f) => {
|
|
7
|
+
const c = (a) => {
|
|
8
|
+
if (e) {
|
|
9
|
+
a.preventDefault();
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
m?.(a);
|
|
13
|
+
};
|
|
14
|
+
return /* @__PURE__ */ o.jsx(
|
|
15
|
+
"a",
|
|
16
|
+
{
|
|
17
|
+
ref: f,
|
|
18
|
+
className: n(
|
|
19
|
+
// Base styles - wrapper
|
|
20
|
+
"box-border flex items-center justify-center gap-2 px-0 py-1.5 h-12",
|
|
21
|
+
// Border styles
|
|
22
|
+
r && "border-b-2 border-primary",
|
|
23
|
+
!r && "border-b-2 border-transparent",
|
|
24
|
+
// Disabled state
|
|
25
|
+
e && "pointer-events-none cursor-not-allowed",
|
|
26
|
+
i
|
|
27
|
+
),
|
|
28
|
+
onClick: c,
|
|
29
|
+
"aria-current": r ? "page" : void 0,
|
|
30
|
+
"aria-disabled": e,
|
|
31
|
+
...p,
|
|
32
|
+
children: /* @__PURE__ */ o.jsxs(
|
|
33
|
+
"div",
|
|
34
|
+
{
|
|
35
|
+
className: n(
|
|
36
|
+
// Text wrapper base styles
|
|
37
|
+
"flex items-center justify-center gap-2 px-2.5 py-2 rounded-md",
|
|
38
|
+
// Text color states
|
|
39
|
+
!e && !r && "text-muted-foreground",
|
|
40
|
+
!e && r && "text-foreground",
|
|
41
|
+
e && "text-muted-foreground opacity-50",
|
|
42
|
+
// Hover state (only when not disabled and not current)
|
|
43
|
+
!e && !r && "hover:bg-accent hover:text-accent-foreground"
|
|
44
|
+
),
|
|
45
|
+
children: [
|
|
46
|
+
/* @__PURE__ */ o.jsx("span", { className: "text-sm font-normal leading-5 whitespace-nowrap", children: s }),
|
|
47
|
+
t && /* @__PURE__ */ o.jsx(x, { variant: "default", className: "min-w-5 h-5 px-1 rounded-full", children: t })
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
)
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
d.displayName = "NavLink";
|
|
56
|
+
export {
|
|
57
|
+
d as NavLink
|
|
58
|
+
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { j as o } from "../../../_virtual/jsx-runtime.js";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { TooltipProvider as
|
|
4
|
-
const
|
|
2
|
+
import { forwardRef as m } from "react";
|
|
3
|
+
import { TooltipProvider as n, Tooltip as T, TooltipTrigger as d, TooltipContent as x } from "../../../vendor/shadcn/tooltip.js";
|
|
4
|
+
const a = m(
|
|
5
5
|
({
|
|
6
6
|
content: r,
|
|
7
7
|
children: i,
|
|
8
8
|
contentProps: t,
|
|
9
|
-
providerProps:
|
|
10
|
-
triggerProps:
|
|
11
|
-
...
|
|
12
|
-
}, s) => /* @__PURE__ */ o.jsx(
|
|
13
|
-
/* @__PURE__ */ o.jsx(
|
|
14
|
-
/* @__PURE__ */ o.jsx(
|
|
9
|
+
providerProps: p,
|
|
10
|
+
triggerProps: e,
|
|
11
|
+
...l
|
|
12
|
+
}, s) => /* @__PURE__ */ o.jsx(n, { ...p, children: /* @__PURE__ */ o.jsxs(T, { ...l, children: [
|
|
13
|
+
/* @__PURE__ */ o.jsx(d, { asChild: !0, ...e, children: i }),
|
|
14
|
+
/* @__PURE__ */ o.jsx(x, { ref: s, ...t, children: r })
|
|
15
15
|
] }) })
|
|
16
16
|
);
|
|
17
|
-
|
|
17
|
+
a.displayName = "Tooltip";
|
|
18
18
|
export {
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
a as Tooltip,
|
|
20
|
+
n as TooltipProvider
|
|
21
21
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export { Breadcrumb } from './breadcrumb';
|
|
1
|
+
export { Breadcrumb, type BreadcrumbProps, type BreadcrumbItemData } from './breadcrumb';
|
|
2
|
+
export { Pagination, type PaginationProps } from './pagination';
|
|
3
|
+
export { Pagination as PaginationRoot, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, } from './pagination';
|
|
2
4
|
export * from './dialog-header';
|
|
3
5
|
export * from './dialog-content';
|
|
4
6
|
export * from './dialog-footer';
|