@customafk/lunas-ui 0.2.71 → 0.2.72
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/features/tables/index.d.cts +1 -1
- package/dist/features/tables/index.d.mts +1 -1
- package/dist/{flex-CT71VV-I.d.cts → flex-DGVZd6c6.d.cts} +4 -4
- package/dist/{flex-CT71VV-I.d.mts → flex-DGVZd6c6.d.mts} +4 -4
- package/dist/{index-_GTjwUdG.d.mts → index-5R8gTzkQ.d.mts} +2 -2
- package/dist/{index-FEMPGfwO.d.cts → index-By6nfR2q.d.cts} +2 -2
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/{input-BieGEIDf.d.cts → input-BQJV7ryj.d.cts} +2 -2
- package/dist/{input-BieGEIDf.d.mts → input-BQJV7ryj.d.mts} +2 -2
- package/dist/layouts/flex.d.cts +1 -1
- package/dist/layouts/flex.d.mts +1 -1
- package/dist/{search-input-Bq4enQzR.d.cts → search-input-CE9lDDeD.d.cts} +2 -2
- package/dist/{search-input-D51_mAY-.d.mts → search-input-D2rEfTmY.d.mts} +2 -2
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.mts +1 -1
- package/dist/ui/inputs/search-input.d.cts +1 -1
- package/dist/ui/inputs/search-input.d.mts +1 -1
- package/dist/ui/status.cjs +2 -0
- package/dist/ui/status.cjs.map +1 -0
- package/dist/ui/status.d.cts +45 -0
- package/dist/ui/status.d.mts +45 -0
- package/dist/ui/status.mjs +2 -0
- package/dist/ui/status.mjs.map +1 -0
- package/package.json +5 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as FilterType, A as UITableLoadMore, At as TUITableWrapper, B as UITableEmptyDisplay, C as UITableTooltipActions, Ct as TUITableHeadCellOption, D as UITableContainer, Dt as TUITableInnerWrapper, E as UITableProvider, Et as TUITableInnerTable, F as UITableHeadCellOption, G as ActiveFilter, H as UITableCellActions, I as UITableHeadCell, J as ColumnAggregationType, K as BooleanFilterValue, L as UITableHead, M as UITableInnerTable, Mt as TagFilterValue, N as UITableHeadRow, Nt as TextFilterValue, O as UITableWrapper, Ot as TUITableLoadMore, P as UITableHeadCellSelect, Pt as UITableEmpty, Q as FilterOption, R as UITableFooterRow, S as UITableTooltip, St as TUITableHeadCell, T as UITableUserDataDisplay, Tt as TUITableHeadRow, U as UITableCell, V as UITableCellSelect, W as UITableBody, X as DateRangeFilterValue, Y as CsvCell, Z as FilterDefinition, _ as UITableRemoveButton, _t as TUITableCellSelect, a as UITableCurrencyDisplay, at as TTableAnalysisContext, b as UITableSummaryBar, bt as TUITableFooter, c as UITableEditButton, ct as TTableFilterContext, d as UITableListDisplay, dt as TTableInnerWrapperContext, et as FilterValue, f as UITableMoreButton, ft as TTableRowContext, g as UITableProgressDisplay, gt as TUITableCellActions, h as UITablePhoneNumberDisplay, ht as TUITableCell, i as UITableBooleanDisplay, it as SummaryItem, j as UITableInnerWrapper, jt as TableProviderProps, k as UITableRow, kt as TUITableRow, l as UITableEmailDisplay, lt as TTableHeadRowContext, m as UITablePermalink, mt as TUITableBody, n as UITableAvatarNameDisplay, nt as RowData, o as UITableDateDisplay, ot as TTableBodyContext, p as UITableNameDisplay, pt as TTableSummaryContext, q as ColumnAggregation, r as UITableBadgeDisplay, rt as SingleTagFilterValue, s as UITableDescriptionDisplay, st as TTableContext, t as UITableAnalysisPanel, tt as NumberFilterValue, u as UITableFilter, ut as TTableInnerTableContext, v as UITableStatisticDisplay, vt as TUITableColumn, w as UITableTooltipFilter, wt as TUITableHeadCellSelect, x as UITableToggleButton, xt as TUITableHead, y as UITableStatusDisplay, yt as TUITableEmptyDisplay, z as UITableFooter } from "../../index-
|
|
1
|
+
import { $ as FilterType, A as UITableLoadMore, At as TUITableWrapper, B as UITableEmptyDisplay, C as UITableTooltipActions, Ct as TUITableHeadCellOption, D as UITableContainer, Dt as TUITableInnerWrapper, E as UITableProvider, Et as TUITableInnerTable, F as UITableHeadCellOption, G as ActiveFilter, H as UITableCellActions, I as UITableHeadCell, J as ColumnAggregationType, K as BooleanFilterValue, L as UITableHead, M as UITableInnerTable, Mt as TagFilterValue, N as UITableHeadRow, Nt as TextFilterValue, O as UITableWrapper, Ot as TUITableLoadMore, P as UITableHeadCellSelect, Pt as UITableEmpty, Q as FilterOption, R as UITableFooterRow, S as UITableTooltip, St as TUITableHeadCell, T as UITableUserDataDisplay, Tt as TUITableHeadRow, U as UITableCell, V as UITableCellSelect, W as UITableBody, X as DateRangeFilterValue, Y as CsvCell, Z as FilterDefinition, _ as UITableRemoveButton, _t as TUITableCellSelect, a as UITableCurrencyDisplay, at as TTableAnalysisContext, b as UITableSummaryBar, bt as TUITableFooter, c as UITableEditButton, ct as TTableFilterContext, d as UITableListDisplay, dt as TTableInnerWrapperContext, et as FilterValue, f as UITableMoreButton, ft as TTableRowContext, g as UITableProgressDisplay, gt as TUITableCellActions, h as UITablePhoneNumberDisplay, ht as TUITableCell, i as UITableBooleanDisplay, it as SummaryItem, j as UITableInnerWrapper, jt as TableProviderProps, k as UITableRow, kt as TUITableRow, l as UITableEmailDisplay, lt as TTableHeadRowContext, m as UITablePermalink, mt as TUITableBody, n as UITableAvatarNameDisplay, nt as RowData, o as UITableDateDisplay, ot as TTableBodyContext, p as UITableNameDisplay, pt as TTableSummaryContext, q as ColumnAggregation, r as UITableBadgeDisplay, rt as SingleTagFilterValue, s as UITableDescriptionDisplay, st as TTableContext, t as UITableAnalysisPanel, tt as NumberFilterValue, u as UITableFilter, ut as TTableInnerTableContext, v as UITableStatisticDisplay, vt as TUITableColumn, w as UITableTooltipFilter, wt as TUITableHeadCellSelect, x as UITableToggleButton, xt as TUITableHead, y as UITableStatusDisplay, yt as TUITableEmptyDisplay, z as UITableFooter } from "../../index-By6nfR2q.cjs";
|
|
2
2
|
export { ActiveFilter, BooleanFilterValue, ColumnAggregation, ColumnAggregationType, CsvCell, DateRangeFilterValue, FilterDefinition, FilterOption, FilterType, FilterValue, NumberFilterValue, RowData, SingleTagFilterValue, SummaryItem, TTableAnalysisContext, TTableBodyContext, TTableContext, TTableFilterContext, TTableHeadRowContext, TTableInnerTableContext, TTableInnerWrapperContext, TTableRowContext, TTableSummaryContext, TUITableBody, TUITableCell, TUITableCellActions, TUITableCellSelect, TUITableColumn, TUITableEmptyDisplay, TUITableFooter, TUITableHead, TUITableHeadCell, TUITableHeadCellOption, TUITableHeadCellSelect, TUITableHeadRow, TUITableInnerTable, TUITableInnerWrapper, TUITableLoadMore, TUITableRow, TUITableWrapper, TableProviderProps, TagFilterValue, TextFilterValue, UITableAnalysisPanel, UITableAvatarNameDisplay, UITableBadgeDisplay, UITableBody, UITableBooleanDisplay, UITableCell, UITableCellActions, UITableCellSelect, UITableContainer, UITableCurrencyDisplay, UITableDateDisplay, UITableDescriptionDisplay, UITableEditButton, UITableEmailDisplay, UITableEmpty, UITableEmptyDisplay, UITableFilter, UITableFooter, UITableFooterRow, UITableHead, UITableHeadCell, UITableHeadCellOption, UITableHeadCellSelect, UITableHeadRow, UITableInnerTable, UITableInnerWrapper, UITableListDisplay, UITableLoadMore, UITableMoreButton, UITableNameDisplay, UITablePermalink, UITablePhoneNumberDisplay, UITableProgressDisplay, UITableProvider, UITableRemoveButton, UITableRow, UITableStatisticDisplay, UITableStatusDisplay, UITableSummaryBar, UITableToggleButton, UITableTooltip, UITableTooltipActions, UITableTooltipFilter, UITableUserDataDisplay, UITableWrapper };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as FilterType, A as UITableLoadMore, At as TUITableWrapper, B as UITableEmptyDisplay, C as UITableTooltipActions, Ct as TUITableHeadCellOption, D as UITableContainer, Dt as TUITableInnerWrapper, E as UITableProvider, Et as TUITableInnerTable, F as UITableHeadCellOption, G as ActiveFilter, H as UITableCellActions, I as UITableHeadCell, J as ColumnAggregationType, K as BooleanFilterValue, L as UITableHead, M as UITableInnerTable, Mt as TagFilterValue, N as UITableHeadRow, Nt as TextFilterValue, O as UITableWrapper, Ot as TUITableLoadMore, P as UITableHeadCellSelect, Pt as UITableEmpty, Q as FilterOption, R as UITableFooterRow, S as UITableTooltip, St as TUITableHeadCell, T as UITableUserDataDisplay, Tt as TUITableHeadRow, U as UITableCell, V as UITableCellSelect, W as UITableBody, X as DateRangeFilterValue, Y as CsvCell, Z as FilterDefinition, _ as UITableRemoveButton, _t as TUITableCellSelect, a as UITableCurrencyDisplay, at as TTableAnalysisContext, b as UITableSummaryBar, bt as TUITableFooter, c as UITableEditButton, ct as TTableFilterContext, d as UITableListDisplay, dt as TTableInnerWrapperContext, et as FilterValue, f as UITableMoreButton, ft as TTableRowContext, g as UITableProgressDisplay, gt as TUITableCellActions, h as UITablePhoneNumberDisplay, ht as TUITableCell, i as UITableBooleanDisplay, it as SummaryItem, j as UITableInnerWrapper, jt as TableProviderProps, k as UITableRow, kt as TUITableRow, l as UITableEmailDisplay, lt as TTableHeadRowContext, m as UITablePermalink, mt as TUITableBody, n as UITableAvatarNameDisplay, nt as RowData, o as UITableDateDisplay, ot as TTableBodyContext, p as UITableNameDisplay, pt as TTableSummaryContext, q as ColumnAggregation, r as UITableBadgeDisplay, rt as SingleTagFilterValue, s as UITableDescriptionDisplay, st as TTableContext, t as UITableAnalysisPanel, tt as NumberFilterValue, u as UITableFilter, ut as TTableInnerTableContext, v as UITableStatisticDisplay, vt as TUITableColumn, w as UITableTooltipFilter, wt as TUITableHeadCellSelect, x as UITableToggleButton, xt as TUITableHead, y as UITableStatusDisplay, yt as TUITableEmptyDisplay, z as UITableFooter } from "../../index-
|
|
1
|
+
import { $ as FilterType, A as UITableLoadMore, At as TUITableWrapper, B as UITableEmptyDisplay, C as UITableTooltipActions, Ct as TUITableHeadCellOption, D as UITableContainer, Dt as TUITableInnerWrapper, E as UITableProvider, Et as TUITableInnerTable, F as UITableHeadCellOption, G as ActiveFilter, H as UITableCellActions, I as UITableHeadCell, J as ColumnAggregationType, K as BooleanFilterValue, L as UITableHead, M as UITableInnerTable, Mt as TagFilterValue, N as UITableHeadRow, Nt as TextFilterValue, O as UITableWrapper, Ot as TUITableLoadMore, P as UITableHeadCellSelect, Pt as UITableEmpty, Q as FilterOption, R as UITableFooterRow, S as UITableTooltip, St as TUITableHeadCell, T as UITableUserDataDisplay, Tt as TUITableHeadRow, U as UITableCell, V as UITableCellSelect, W as UITableBody, X as DateRangeFilterValue, Y as CsvCell, Z as FilterDefinition, _ as UITableRemoveButton, _t as TUITableCellSelect, a as UITableCurrencyDisplay, at as TTableAnalysisContext, b as UITableSummaryBar, bt as TUITableFooter, c as UITableEditButton, ct as TTableFilterContext, d as UITableListDisplay, dt as TTableInnerWrapperContext, et as FilterValue, f as UITableMoreButton, ft as TTableRowContext, g as UITableProgressDisplay, gt as TUITableCellActions, h as UITablePhoneNumberDisplay, ht as TUITableCell, i as UITableBooleanDisplay, it as SummaryItem, j as UITableInnerWrapper, jt as TableProviderProps, k as UITableRow, kt as TUITableRow, l as UITableEmailDisplay, lt as TTableHeadRowContext, m as UITablePermalink, mt as TUITableBody, n as UITableAvatarNameDisplay, nt as RowData, o as UITableDateDisplay, ot as TTableBodyContext, p as UITableNameDisplay, pt as TTableSummaryContext, q as ColumnAggregation, r as UITableBadgeDisplay, rt as SingleTagFilterValue, s as UITableDescriptionDisplay, st as TTableContext, t as UITableAnalysisPanel, tt as NumberFilterValue, u as UITableFilter, ut as TTableInnerTableContext, v as UITableStatisticDisplay, vt as TUITableColumn, w as UITableTooltipFilter, wt as TUITableHeadCellSelect, x as UITableToggleButton, xt as TUITableHead, y as UITableStatusDisplay, yt as TUITableEmptyDisplay, z as UITableFooter } from "../../index-5R8gTzkQ.mjs";
|
|
2
2
|
export { ActiveFilter, BooleanFilterValue, ColumnAggregation, ColumnAggregationType, CsvCell, DateRangeFilterValue, FilterDefinition, FilterOption, FilterType, FilterValue, NumberFilterValue, RowData, SingleTagFilterValue, SummaryItem, TTableAnalysisContext, TTableBodyContext, TTableContext, TTableFilterContext, TTableHeadRowContext, TTableInnerTableContext, TTableInnerWrapperContext, TTableRowContext, TTableSummaryContext, TUITableBody, TUITableCell, TUITableCellActions, TUITableCellSelect, TUITableColumn, TUITableEmptyDisplay, TUITableFooter, TUITableHead, TUITableHeadCell, TUITableHeadCellOption, TUITableHeadCellSelect, TUITableHeadRow, TUITableInnerTable, TUITableInnerWrapper, TUITableLoadMore, TUITableRow, TUITableWrapper, TableProviderProps, TagFilterValue, TextFilterValue, UITableAnalysisPanel, UITableAvatarNameDisplay, UITableBadgeDisplay, UITableBody, UITableBooleanDisplay, UITableCell, UITableCellActions, UITableCellSelect, UITableContainer, UITableCurrencyDisplay, UITableDateDisplay, UITableDescriptionDisplay, UITableEditButton, UITableEmailDisplay, UITableEmpty, UITableEmptyDisplay, UITableFilter, UITableFooter, UITableFooterRow, UITableHead, UITableHeadCell, UITableHeadCellOption, UITableHeadCellSelect, UITableHeadRow, UITableInnerTable, UITableInnerWrapper, UITableListDisplay, UITableLoadMore, UITableMoreButton, UITableNameDisplay, UITablePermalink, UITablePhoneNumberDisplay, UITableProgressDisplay, UITableProvider, UITableRemoveButton, UITableRow, UITableStatisticDisplay, UITableStatusDisplay, UITableSummaryBar, UITableToggleButton, UITableTooltip, UITableTooltipActions, UITableTooltipFilter, UITableUserDataDisplay, UITableWrapper };
|
|
@@ -3,13 +3,13 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
//#region packages/components/layouts/flex.d.ts
|
|
4
4
|
declare const flexVariants: (props?: ({
|
|
5
5
|
vertical?: boolean | null | undefined;
|
|
6
|
-
width?: "auto" | "
|
|
6
|
+
width?: "auto" | "full" | "fit" | "screen" | "min" | "max" | "null" | null | undefined;
|
|
7
7
|
wrap?: boolean | null | undefined;
|
|
8
8
|
margin?: "sm" | "md" | "lg" | "xl" | "none" | null | undefined;
|
|
9
9
|
padding?: "sm" | "md" | "lg" | "xl" | "none" | null | undefined;
|
|
10
10
|
gap?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | null | undefined;
|
|
11
|
-
justify?: "
|
|
12
|
-
align?: "
|
|
11
|
+
justify?: "start" | "center" | "end" | "between" | "around" | "evenly" | "stretch" | null | undefined;
|
|
12
|
+
align?: "start" | "center" | "end" | "stretch" | "baseline" | null | undefined;
|
|
13
13
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
14
14
|
type Props = {
|
|
15
15
|
/** Additional Tailwind classes merged on top of the variant-generated classes. */className?: string;
|
|
@@ -111,4 +111,4 @@ declare const Flex: import("react").MemoExoticComponent<({
|
|
|
111
111
|
}: React.PropsWithChildren<Props>) => import("react").JSX.Element>;
|
|
112
112
|
//#endregion
|
|
113
113
|
export { Flex as t };
|
|
114
|
-
//# sourceMappingURL=flex-
|
|
114
|
+
//# sourceMappingURL=flex-DGVZd6c6.d.cts.map
|
|
@@ -3,13 +3,13 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
//#region packages/components/layouts/flex.d.ts
|
|
4
4
|
declare const flexVariants: (props?: ({
|
|
5
5
|
vertical?: boolean | null | undefined;
|
|
6
|
-
width?: "auto" | "
|
|
6
|
+
width?: "auto" | "full" | "fit" | "screen" | "min" | "max" | "null" | null | undefined;
|
|
7
7
|
wrap?: boolean | null | undefined;
|
|
8
8
|
margin?: "sm" | "md" | "lg" | "xl" | "none" | null | undefined;
|
|
9
9
|
padding?: "sm" | "md" | "lg" | "xl" | "none" | null | undefined;
|
|
10
10
|
gap?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | null | undefined;
|
|
11
|
-
justify?: "
|
|
12
|
-
align?: "
|
|
11
|
+
justify?: "start" | "center" | "end" | "between" | "around" | "evenly" | "stretch" | null | undefined;
|
|
12
|
+
align?: "start" | "center" | "end" | "stretch" | "baseline" | null | undefined;
|
|
13
13
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
14
14
|
type Props = {
|
|
15
15
|
/** Additional Tailwind classes merged on top of the variant-generated classes. */className?: string;
|
|
@@ -111,4 +111,4 @@ declare const Flex: import("react").MemoExoticComponent<({
|
|
|
111
111
|
}: React.PropsWithChildren<Props>) => import("react").JSX.Element>;
|
|
112
112
|
//#endregion
|
|
113
113
|
export { Flex as t };
|
|
114
|
-
//# sourceMappingURL=flex-
|
|
114
|
+
//# sourceMappingURL=flex-DGVZd6c6.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as AnyEntity } from "./types-cKvPPVBe.mjs";
|
|
2
|
-
import { n as InputVariantProps } from "./input-
|
|
2
|
+
import { n as InputVariantProps } from "./input-BQJV7ryj.mjs";
|
|
3
3
|
import { ComponentType } from "react";
|
|
4
4
|
import { AccessorKeyColumnDef, CellContext, Column, ColumnPinningPosition, ColumnPinningState, Header, HeaderGroup, Row, RowSelectionState, Table } from "@tanstack/react-table";
|
|
5
5
|
|
|
@@ -575,4 +575,4 @@ declare const UITableTooltipActions: ComponentType<{
|
|
|
575
575
|
}>;
|
|
576
576
|
//#endregion
|
|
577
577
|
export { FilterType as $, UITableLoadMore as A, TUITableWrapper as At, UITableEmptyDisplay as B, UITableTooltipActions as C, TUITableHeadCellOption as Ct, UITableContainer as D, TUITableInnerWrapper as Dt, UITableProvider as E, TUITableInnerTable as Et, UITableHeadCellOption as F, ActiveFilter as G, UITableCellActions as H, UITableHeadCell as I, ColumnAggregationType as J, BooleanFilterValue as K, UITableHead as L, UITableInnerTable as M, TagFilterValue as Mt, UITableHeadRow as N, TextFilterValue as Nt, UITableWrapper as O, TUITableLoadMore as Ot, UITableHeadCellSelect as P, UITableEmpty as Pt, FilterOption as Q, UITableFooterRow as R, UITableTooltip as S, TUITableHeadCell as St, UITableUserDataDisplay as T, TUITableHeadRow as Tt, UITableCell as U, UITableCellSelect as V, UITableBody as W, DateRangeFilterValue as X, CsvCell as Y, FilterDefinition as Z, UITableRemoveButton as _, TUITableCellSelect as _t, UITableCurrencyDisplay as a, TTableAnalysisContext as at, UITableSummaryBar as b, TUITableFooter as bt, UITableEditButton as c, TTableFilterContext as ct, UITableListDisplay as d, TTableInnerWrapperContext as dt, FilterValue as et, UITableMoreButton as f, TTableRowContext as ft, UITableProgressDisplay as g, TUITableCellActions as gt, UITablePhoneNumberDisplay as h, TUITableCell as ht, UITableBooleanDisplay as i, SummaryItem as it, UITableInnerWrapper as j, TableProviderProps as jt, UITableRow as k, TUITableRow as kt, UITableEmailDisplay as l, TTableHeadRowContext as lt, UITablePermalink as m, TUITableBody as mt, UITableAvatarNameDisplay as n, RowData as nt, UITableDateDisplay as o, TTableBodyContext as ot, UITableNameDisplay as p, TTableSummaryContext as pt, ColumnAggregation as q, UITableBadgeDisplay as r, SingleTagFilterValue as rt, UITableDescriptionDisplay as s, TTableContext as st, UITableAnalysisPanel as t, NumberFilterValue as tt, UITableFilter as u, TTableInnerTableContext as ut, UITableStatisticDisplay as v, TUITableColumn as vt, UITableTooltipFilter as w, TUITableHeadCellSelect as wt, UITableToggleButton as x, TUITableHead as xt, UITableStatusDisplay as y, TUITableEmptyDisplay as yt, UITableFooter as z };
|
|
578
|
-
//# sourceMappingURL=index-
|
|
578
|
+
//# sourceMappingURL=index-5R8gTzkQ.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as AnyEntity } from "./types-cKvPPVBe.cjs";
|
|
2
|
-
import { n as InputVariantProps } from "./input-
|
|
2
|
+
import { n as InputVariantProps } from "./input-BQJV7ryj.cjs";
|
|
3
3
|
import { ComponentType } from "react";
|
|
4
4
|
import { AccessorKeyColumnDef, CellContext, Column, ColumnPinningPosition, ColumnPinningState, Header, HeaderGroup, Row, RowSelectionState, Table } from "@tanstack/react-table";
|
|
5
5
|
|
|
@@ -575,4 +575,4 @@ declare const UITableTooltipActions: ComponentType<{
|
|
|
575
575
|
}>;
|
|
576
576
|
//#endregion
|
|
577
577
|
export { FilterType as $, UITableLoadMore as A, TUITableWrapper as At, UITableEmptyDisplay as B, UITableTooltipActions as C, TUITableHeadCellOption as Ct, UITableContainer as D, TUITableInnerWrapper as Dt, UITableProvider as E, TUITableInnerTable as Et, UITableHeadCellOption as F, ActiveFilter as G, UITableCellActions as H, UITableHeadCell as I, ColumnAggregationType as J, BooleanFilterValue as K, UITableHead as L, UITableInnerTable as M, TagFilterValue as Mt, UITableHeadRow as N, TextFilterValue as Nt, UITableWrapper as O, TUITableLoadMore as Ot, UITableHeadCellSelect as P, UITableEmpty as Pt, FilterOption as Q, UITableFooterRow as R, UITableTooltip as S, TUITableHeadCell as St, UITableUserDataDisplay as T, TUITableHeadRow as Tt, UITableCell as U, UITableCellSelect as V, UITableBody as W, DateRangeFilterValue as X, CsvCell as Y, FilterDefinition as Z, UITableRemoveButton as _, TUITableCellSelect as _t, UITableCurrencyDisplay as a, TTableAnalysisContext as at, UITableSummaryBar as b, TUITableFooter as bt, UITableEditButton as c, TTableFilterContext as ct, UITableListDisplay as d, TTableInnerWrapperContext as dt, FilterValue as et, UITableMoreButton as f, TTableRowContext as ft, UITableProgressDisplay as g, TUITableCellActions as gt, UITablePhoneNumberDisplay as h, TUITableCell as ht, UITableBooleanDisplay as i, SummaryItem as it, UITableInnerWrapper as j, TableProviderProps as jt, UITableRow as k, TUITableRow as kt, UITableEmailDisplay as l, TTableHeadRowContext as lt, UITablePermalink as m, TUITableBody as mt, UITableAvatarNameDisplay as n, RowData as nt, UITableDateDisplay as o, TTableBodyContext as ot, UITableNameDisplay as p, TTableSummaryContext as pt, ColumnAggregation as q, UITableBadgeDisplay as r, SingleTagFilterValue as rt, UITableDescriptionDisplay as s, TTableContext as st, UITableAnalysisPanel as t, NumberFilterValue as tt, UITableFilter as u, TTableInnerTableContext as ut, UITableStatisticDisplay as v, TUITableColumn as vt, UITableTooltipFilter as w, TUITableHeadCellSelect as wt, UITableToggleButton as x, TUITableHead as xt, UITableStatusDisplay as y, TUITableEmptyDisplay as yt, UITableFooter as z };
|
|
578
|
-
//# sourceMappingURL=index-
|
|
578
|
+
//# sourceMappingURL=index-By6nfR2q.d.cts.map
|
package/dist/index.d.cts
CHANGED
|
@@ -26,7 +26,7 @@ import { $ as EmailFieldProps, A as TanStackActionSubmit, B as TextField, C as S
|
|
|
26
26
|
import { i as TextEditorProps, n as TextEditorToolbarProps, r as TextEditor, t as TextEditorToolbar } from "./index-D9bKlLiM.cjs";
|
|
27
27
|
import { n as CMSLayoutProps, r as CMSLayoutUser, t as CMSLayout } from "./index-teY5hw2R.cjs";
|
|
28
28
|
import { n as PaymentLayoutUser, t as PaymentLayout } from "./index-DJiiPHPf.cjs";
|
|
29
|
-
import { t as Flex } from "./flex-
|
|
29
|
+
import { t as Flex } from "./flex-DGVZd6c6.cjs";
|
|
30
30
|
import { t as Grid } from "./grid-i7Oz2Izf.cjs";
|
|
31
31
|
import { t as FeatureDeveloping } from "./FeatureDeveloping-zuTTDIh_.cjs";
|
|
32
32
|
import { t as FeatureFixing } from "./FeatureFixing-DYQlgHPk.cjs";
|
|
@@ -43,8 +43,8 @@ import { t as EditBtn } from "./edit-qfS5kOtM.cjs";
|
|
|
43
43
|
import { t as RefreshBtn } from "./refresh-BiyrZAXL.cjs";
|
|
44
44
|
import { t as TrashBtn } from "./trash-BfWSqlL4.cjs";
|
|
45
45
|
import { t as UploadImageBtn } from "./upload-image-D4VZU3IA.cjs";
|
|
46
|
-
import { n as InputVariantProps, t as Input } from "./input-
|
|
47
|
-
import { t as SearchInput } from "./search-input-
|
|
46
|
+
import { n as InputVariantProps, t as Input } from "./input-BQJV7ryj.cjs";
|
|
47
|
+
import { t as SearchInput } from "./search-input-CE9lDDeD.cjs";
|
|
48
48
|
import { a as AlertTitle, i as AlertProps, n as AlertDescription, o as AlertTitleProps, r as AlertDescriptionProps, t as Alert } from "./alert-Bip5XjBw.cjs";
|
|
49
49
|
import { a as AlertDialogDescription, c as AlertDialogOverlay, d as AlertDialogTrigger, i as AlertDialogContent, l as AlertDialogPortal, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog, u as AlertDialogTitle } from "./alert-dialog-Cdhz7jSj.cjs";
|
|
50
50
|
import { t as AspectRatio } from "./aspect-ratio-huscluwJ.cjs";
|
|
@@ -91,5 +91,5 @@ import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs } from "./
|
|
|
91
91
|
import { t as Textarea } from "./textarea-C8ZIZh-y.cjs";
|
|
92
92
|
import { n as toggleVariants, t as Toggle } from "./toggle-Bh4EazxT.cjs";
|
|
93
93
|
import { n as ToggleGroupItem, t as ToggleGroup } from "./toggle-group-BpqkL1ds.cjs";
|
|
94
|
-
import { $ as FilterType, A as UITableLoadMore, At as TUITableWrapper, B as UITableEmptyDisplay, C as UITableTooltipActions, Ct as TUITableHeadCellOption, D as UITableContainer, Dt as TUITableInnerWrapper, E as UITableProvider, Et as TUITableInnerTable, F as UITableHeadCellOption, G as ActiveFilter, H as UITableCellActions, I as UITableHeadCell, J as ColumnAggregationType, K as BooleanFilterValue, L as UITableHead, M as UITableInnerTable, Mt as TagFilterValue, N as UITableHeadRow, Nt as TextFilterValue, O as UITableWrapper, Ot as TUITableLoadMore, P as UITableHeadCellSelect, Pt as UITableEmpty, Q as FilterOption, R as UITableFooterRow, S as UITableTooltip, St as TUITableHeadCell, T as UITableUserDataDisplay, Tt as TUITableHeadRow, U as UITableCell, V as UITableCellSelect, W as UITableBody, X as DateRangeFilterValue, Y as CsvCell, Z as FilterDefinition, _ as UITableRemoveButton, _t as TUITableCellSelect, a as UITableCurrencyDisplay, at as TTableAnalysisContext, b as UITableSummaryBar, bt as TUITableFooter, c as UITableEditButton, ct as TTableFilterContext, d as UITableListDisplay, dt as TTableInnerWrapperContext, et as FilterValue, f as UITableMoreButton, ft as TTableRowContext, g as UITableProgressDisplay, gt as TUITableCellActions, h as UITablePhoneNumberDisplay, ht as TUITableCell, i as UITableBooleanDisplay, it as SummaryItem, j as UITableInnerWrapper, jt as TableProviderProps, k as UITableRow, kt as TUITableRow, l as UITableEmailDisplay, lt as TTableHeadRowContext, m as UITablePermalink, mt as TUITableBody, n as UITableAvatarNameDisplay, nt as RowData, o as UITableDateDisplay, ot as TTableBodyContext, p as UITableNameDisplay, pt as TTableSummaryContext, q as ColumnAggregation, r as UITableBadgeDisplay, rt as SingleTagFilterValue, s as UITableDescriptionDisplay, st as TTableContext, t as UITableAnalysisPanel, tt as NumberFilterValue, u as UITableFilter, ut as TTableInnerTableContext, v as UITableStatisticDisplay, vt as TUITableColumn, w as UITableTooltipFilter, wt as TUITableHeadCellSelect, x as UITableToggleButton, xt as TUITableHead, y as UITableStatusDisplay, yt as TUITableEmptyDisplay, z as UITableFooter } from "./index-
|
|
94
|
+
import { $ as FilterType, A as UITableLoadMore, At as TUITableWrapper, B as UITableEmptyDisplay, C as UITableTooltipActions, Ct as TUITableHeadCellOption, D as UITableContainer, Dt as TUITableInnerWrapper, E as UITableProvider, Et as TUITableInnerTable, F as UITableHeadCellOption, G as ActiveFilter, H as UITableCellActions, I as UITableHeadCell, J as ColumnAggregationType, K as BooleanFilterValue, L as UITableHead, M as UITableInnerTable, Mt as TagFilterValue, N as UITableHeadRow, Nt as TextFilterValue, O as UITableWrapper, Ot as TUITableLoadMore, P as UITableHeadCellSelect, Pt as UITableEmpty, Q as FilterOption, R as UITableFooterRow, S as UITableTooltip, St as TUITableHeadCell, T as UITableUserDataDisplay, Tt as TUITableHeadRow, U as UITableCell, V as UITableCellSelect, W as UITableBody, X as DateRangeFilterValue, Y as CsvCell, Z as FilterDefinition, _ as UITableRemoveButton, _t as TUITableCellSelect, a as UITableCurrencyDisplay, at as TTableAnalysisContext, b as UITableSummaryBar, bt as TUITableFooter, c as UITableEditButton, ct as TTableFilterContext, d as UITableListDisplay, dt as TTableInnerWrapperContext, et as FilterValue, f as UITableMoreButton, ft as TTableRowContext, g as UITableProgressDisplay, gt as TUITableCellActions, h as UITablePhoneNumberDisplay, ht as TUITableCell, i as UITableBooleanDisplay, it as SummaryItem, j as UITableInnerWrapper, jt as TableProviderProps, k as UITableRow, kt as TUITableRow, l as UITableEmailDisplay, lt as TTableHeadRowContext, m as UITablePermalink, mt as TUITableBody, n as UITableAvatarNameDisplay, nt as RowData, o as UITableDateDisplay, ot as TTableBodyContext, p as UITableNameDisplay, pt as TTableSummaryContext, q as ColumnAggregation, r as UITableBadgeDisplay, rt as SingleTagFilterValue, s as UITableDescriptionDisplay, st as TTableContext, t as UITableAnalysisPanel, tt as NumberFilterValue, u as UITableFilter, ut as TTableInnerTableContext, v as UITableStatisticDisplay, vt as TUITableColumn, w as UITableTooltipFilter, wt as TUITableHeadCellSelect, x as UITableToggleButton, xt as TUITableHead, y as UITableStatusDisplay, yt as TUITableEmptyDisplay, z as UITableFooter } from "./index-By6nfR2q.cjs";
|
|
95
95
|
export { ActiveFilter, ActivityHeatmapChart, type ActivityHeatmapChartProps, ActivityPoint, AddNewBtn, Alert, AlertDescription, AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertProps, AlertTitle, AlertTitleProps, AnyFieldProps, ArrayCol, ArrayHeaderRow, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, BaseChartProps, BooleanFieldValue, BooleanFilterValue, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, CMSLayout, CMSLayoutProps, type CMSLayoutUser, Calendar, CalendarDayButton, CandlestickChart, type CandlestickChartProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartConfig, ChartContainer, ChartContainerProps, ChartLegend, ChartLegendContent, ChartLegendContentProps, ChartSeries, ChartStyle, ChartTooltip, ChartTooltipContent, ChartTooltipContentProps, ChartTrend, Checkbox, CheckboxField, CheckboxFieldProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ColumnAggregation, ColumnAggregationType, ComboboxField, ComboboxFieldProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, type ConfirmDialogProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ConversionFunnelChart, type ConversionFunnelChartProps, CorrelationScatterChart, type CorrelationScatterChartProps, CountryDisplay, CsvCell, DataList, DataListItem, DateDisplay, DateField, DateFieldProps, DateFieldValue, DateRangeFilterValue, DateTooltip, Description, DescriptionBadge, DescriptionBoolean, DescriptionCopy, DescriptionDate, DescriptionEmpty, DescriptionHeader, DescriptionImages, DescriptionItem, DescriptionLink, DescriptionLongText, DescriptionName, DescriptionNumberPhone, DescriptionSection, DescriptionStatistic, DescriptionStatisticProps, DescriptionStatus, DescriptionTagList, DescriptionUser, DetailDialog, type DetailDialogProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DonutChart, type DonutChartProps, type DonutChartSegment, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditBtn, EmailField, EmailFieldProps, Empty, EmptyContent, EmptyDescription, EmptyDisplay, EmptyHeader, EmptyMedia, EmptyTitle, ErrorDialog, type ErrorDialogProps, FeatureDeveloping, FeatureFixing, Field, FieldContent, FieldContentMain, FieldError, FieldGroup, FieldLabel, FieldOrientation, FieldRounding, FieldSeparator, FieldType, FileUploader, FilterDefinition, FilterOption, FilterType, FilterValue, Flex, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FunnelStage, GainLossBarChart, type GainLossBarChartProps, Google, Grid, GridProductCard, HoverCard, HoverCardContent, HoverCardTrigger, Image, IndexedPerformanceLineChart, type IndexedPerformanceLineChartProps, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputVariantProps, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Label, LoadingDialog, type LoadingDialogProps, LoginPage, type LoginPageProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MetricRadarChart, type MetricRadarChartProps, MirroredBarChart, type MirroredBarChartProps, type MirroredBarRow, MultiSelectFieldValue, MultipleSelector, MultipleSelectorRef, NameDisplay, NamedValue, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotAuthorized, NotFound, type NotFoundProps, NumberField, NumberFieldProps, NumberFieldValue, NumberFilterValue, OHLCPoint, Option, OrdersBarChart, type OrdersBarChartProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Paragraph, type ParagraphProps, PasswordField, PasswordFieldProps, PaymentLayout, PaymentLayoutUser, PhoneNumberDisplay, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, PortfolioAllocationTreemap, type PortfolioAllocationTreemapProps, PortfolioHolding, PriceRangeAreaChart, type PriceRangeAreaChartProps, ProductCard, Progress, RadioGroup, RadioGroupField, RadioGroupFieldProps, RadioGroupItem, RadioOption, RefreshBtn, RegisterPage, type RegisterPageProps, ResizableHandle, ResizablePanel, ResizablePanelGroup, RevenueAreaChart, type RevenueAreaChartProps, RevenueOrdersComposedChart, type RevenueOrdersComposedChartProps, type RevenueOrdersPoint, RoleBadge, RowData, SalesTargetRadialChart, type SalesTargetRadialChartProps, SankeyFlowChart, type SankeyFlowChartProps, type SankeyFlowLink, type SankeyFlowNode, ScatterPoint, ScrollArea, ScrollBar, SearchInput, SearchModal, Select, SelectContent, SelectField, SelectFieldProps, SelectGroup, SelectItem, SelectLabel, SelectOption, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, SimpleArrayField, SimpleBooleanField, SimpleCard, SimpleComboboxField, SimpleDateField, SimpleEmailField, SimpleNumberField, SimplePasswordField, SimpleRadioGroupField, SimpleSelectField, SimpleTextField, SimpleTextFieldProps, SimpleTextareaField, SingleTagFilterValue, Skeleton, Slider, SparklineChart, type SparklineChartProps, Spinner, StackedAreaChart, type StackedAreaChartProps, Statistic, type StatisticProps, SummaryItem, Switch, SwitchField, SwitchFieldProps, TTableAnalysisContext, TTableBodyContext, TTableContext, TTableFilterContext, TTableHeadRowContext, TTableInnerTableContext, TTableInnerWrapperContext, TTableRowContext, TTableSummaryContext, TUITableBody, TUITableCell, TUITableCellActions, TUITableCellSelect, TUITableColumn, TUITableEmptyDisplay, TUITableFooter, TUITableHead, TUITableHeadCell, TUITableHeadCellOption, TUITableHeadCellSelect, TUITableHeadRow, TUITableInnerTable, TUITableInnerWrapper, TUITableLoadMore, TUITableRow, TUITableWrapper, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableProviderProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagFilterValue, TanStackActionSubmit, TanStackActionsForm, TanStackCardForm, TanStackContainerForm, TanStackDialogForm, TanStackFieldGroup, TanStackPopoverForm, TanStackSectionForm, TanStackTitleField, TextEditor, TextEditorField, TextEditorFieldProps, type TextEditorProps, TextEditorToolbar, type TextEditorToolbarProps, TextField, TextFieldProps, TextFieldValue, TextFilterValue, Textarea, TextareaField, TextareaFieldProps, TimeSeriesPoint, Title, type TitleProps, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TopProductsBarChart, type TopProductsBarChartProps, TrashBtn, UITableAnalysisPanel, UITableAvatarNameDisplay, UITableBadgeDisplay, UITableBody, UITableBooleanDisplay, UITableCell, UITableCellActions, UITableCellSelect, UITableContainer, UITableCurrencyDisplay, UITableDateDisplay, UITableDescriptionDisplay, UITableEditButton, UITableEmailDisplay, UITableEmpty, UITableEmptyDisplay, UITableFilter, UITableFooter, UITableFooterRow, UITableHead, UITableHeadCell, UITableHeadCellOption, UITableHeadCellSelect, UITableHeadRow, UITableInnerTable, UITableInnerWrapper, UITableListDisplay, UITableLoadMore, UITableMoreButton, UITableNameDisplay, UITablePermalink, UITablePhoneNumberDisplay, UITableProgressDisplay, UITableProvider, UITableRemoveButton, UITableRow, UITableStatisticDisplay, UITableStatusDisplay, UITableSummaryBar, UITableToggleButton, UITableTooltip, UITableTooltipActions, UITableTooltipFilter, UITableUserDataDisplay, UITableWrapper, UploadImageBtn, UserDataDisplay, VerifyEmailPage, type VerifyEmailPageProps, VolumeBarChart, type VolumeBarChartProps, WaterfallChart, type WaterfallChartProps, WaterfallPoint, badgeVariants, buttonGroupVariants, computeIndexedSeries, formatCompactNumber, formatCurrency, formatPercent, formatSignedPercent, getChartColor, getDirectionColor, navigationMenuTriggerStyle, paragraphVariants, toDateLabel, toast, toggleVariants, useChart, useDebounce, useFormField, useTanStackFieldContext, useTanStackForm, useTanStackFormContext, withTanStackFieldGroup, withTanStackForm };
|
package/dist/index.d.mts
CHANGED
|
@@ -26,7 +26,7 @@ import { $ as EmailFieldProps, A as TanStackActionSubmit, B as TextField, C as S
|
|
|
26
26
|
import { i as TextEditorProps, n as TextEditorToolbarProps, r as TextEditor, t as TextEditorToolbar } from "./index-D9bKlLiM.mjs";
|
|
27
27
|
import { n as CMSLayoutProps, r as CMSLayoutUser, t as CMSLayout } from "./index-teY5hw2R.mjs";
|
|
28
28
|
import { n as PaymentLayoutUser, t as PaymentLayout } from "./index-DJiiPHPf.mjs";
|
|
29
|
-
import { t as Flex } from "./flex-
|
|
29
|
+
import { t as Flex } from "./flex-DGVZd6c6.mjs";
|
|
30
30
|
import { t as Grid } from "./grid-i7Oz2Izf.mjs";
|
|
31
31
|
import { t as FeatureDeveloping } from "./FeatureDeveloping-zuTTDIh_.mjs";
|
|
32
32
|
import { t as FeatureFixing } from "./FeatureFixing-DYQlgHPk.mjs";
|
|
@@ -43,8 +43,8 @@ import { t as EditBtn } from "./edit-qfS5kOtM.mjs";
|
|
|
43
43
|
import { t as RefreshBtn } from "./refresh-BiyrZAXL.mjs";
|
|
44
44
|
import { t as TrashBtn } from "./trash-BfWSqlL4.mjs";
|
|
45
45
|
import { t as UploadImageBtn } from "./upload-image-D4VZU3IA.mjs";
|
|
46
|
-
import { n as InputVariantProps, t as Input } from "./input-
|
|
47
|
-
import { t as SearchInput } from "./search-input-
|
|
46
|
+
import { n as InputVariantProps, t as Input } from "./input-BQJV7ryj.mjs";
|
|
47
|
+
import { t as SearchInput } from "./search-input-D2rEfTmY.mjs";
|
|
48
48
|
import { a as AlertTitle, i as AlertProps, n as AlertDescription, o as AlertTitleProps, r as AlertDescriptionProps, t as Alert } from "./alert-Bip5XjBw.mjs";
|
|
49
49
|
import { a as AlertDialogDescription, c as AlertDialogOverlay, d as AlertDialogTrigger, i as AlertDialogContent, l as AlertDialogPortal, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog, u as AlertDialogTitle } from "./alert-dialog-Cdhz7jSj.mjs";
|
|
50
50
|
import { t as AspectRatio } from "./aspect-ratio-huscluwJ.mjs";
|
|
@@ -91,5 +91,5 @@ import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs } from "./
|
|
|
91
91
|
import { t as Textarea } from "./textarea-C8ZIZh-y.mjs";
|
|
92
92
|
import { n as toggleVariants, t as Toggle } from "./toggle-Bh4EazxT.mjs";
|
|
93
93
|
import { n as ToggleGroupItem, t as ToggleGroup } from "./toggle-group-DzNE38v5.mjs";
|
|
94
|
-
import { $ as FilterType, A as UITableLoadMore, At as TUITableWrapper, B as UITableEmptyDisplay, C as UITableTooltipActions, Ct as TUITableHeadCellOption, D as UITableContainer, Dt as TUITableInnerWrapper, E as UITableProvider, Et as TUITableInnerTable, F as UITableHeadCellOption, G as ActiveFilter, H as UITableCellActions, I as UITableHeadCell, J as ColumnAggregationType, K as BooleanFilterValue, L as UITableHead, M as UITableInnerTable, Mt as TagFilterValue, N as UITableHeadRow, Nt as TextFilterValue, O as UITableWrapper, Ot as TUITableLoadMore, P as UITableHeadCellSelect, Pt as UITableEmpty, Q as FilterOption, R as UITableFooterRow, S as UITableTooltip, St as TUITableHeadCell, T as UITableUserDataDisplay, Tt as TUITableHeadRow, U as UITableCell, V as UITableCellSelect, W as UITableBody, X as DateRangeFilterValue, Y as CsvCell, Z as FilterDefinition, _ as UITableRemoveButton, _t as TUITableCellSelect, a as UITableCurrencyDisplay, at as TTableAnalysisContext, b as UITableSummaryBar, bt as TUITableFooter, c as UITableEditButton, ct as TTableFilterContext, d as UITableListDisplay, dt as TTableInnerWrapperContext, et as FilterValue, f as UITableMoreButton, ft as TTableRowContext, g as UITableProgressDisplay, gt as TUITableCellActions, h as UITablePhoneNumberDisplay, ht as TUITableCell, i as UITableBooleanDisplay, it as SummaryItem, j as UITableInnerWrapper, jt as TableProviderProps, k as UITableRow, kt as TUITableRow, l as UITableEmailDisplay, lt as TTableHeadRowContext, m as UITablePermalink, mt as TUITableBody, n as UITableAvatarNameDisplay, nt as RowData, o as UITableDateDisplay, ot as TTableBodyContext, p as UITableNameDisplay, pt as TTableSummaryContext, q as ColumnAggregation, r as UITableBadgeDisplay, rt as SingleTagFilterValue, s as UITableDescriptionDisplay, st as TTableContext, t as UITableAnalysisPanel, tt as NumberFilterValue, u as UITableFilter, ut as TTableInnerTableContext, v as UITableStatisticDisplay, vt as TUITableColumn, w as UITableTooltipFilter, wt as TUITableHeadCellSelect, x as UITableToggleButton, xt as TUITableHead, y as UITableStatusDisplay, yt as TUITableEmptyDisplay, z as UITableFooter } from "./index-
|
|
94
|
+
import { $ as FilterType, A as UITableLoadMore, At as TUITableWrapper, B as UITableEmptyDisplay, C as UITableTooltipActions, Ct as TUITableHeadCellOption, D as UITableContainer, Dt as TUITableInnerWrapper, E as UITableProvider, Et as TUITableInnerTable, F as UITableHeadCellOption, G as ActiveFilter, H as UITableCellActions, I as UITableHeadCell, J as ColumnAggregationType, K as BooleanFilterValue, L as UITableHead, M as UITableInnerTable, Mt as TagFilterValue, N as UITableHeadRow, Nt as TextFilterValue, O as UITableWrapper, Ot as TUITableLoadMore, P as UITableHeadCellSelect, Pt as UITableEmpty, Q as FilterOption, R as UITableFooterRow, S as UITableTooltip, St as TUITableHeadCell, T as UITableUserDataDisplay, Tt as TUITableHeadRow, U as UITableCell, V as UITableCellSelect, W as UITableBody, X as DateRangeFilterValue, Y as CsvCell, Z as FilterDefinition, _ as UITableRemoveButton, _t as TUITableCellSelect, a as UITableCurrencyDisplay, at as TTableAnalysisContext, b as UITableSummaryBar, bt as TUITableFooter, c as UITableEditButton, ct as TTableFilterContext, d as UITableListDisplay, dt as TTableInnerWrapperContext, et as FilterValue, f as UITableMoreButton, ft as TTableRowContext, g as UITableProgressDisplay, gt as TUITableCellActions, h as UITablePhoneNumberDisplay, ht as TUITableCell, i as UITableBooleanDisplay, it as SummaryItem, j as UITableInnerWrapper, jt as TableProviderProps, k as UITableRow, kt as TUITableRow, l as UITableEmailDisplay, lt as TTableHeadRowContext, m as UITablePermalink, mt as TUITableBody, n as UITableAvatarNameDisplay, nt as RowData, o as UITableDateDisplay, ot as TTableBodyContext, p as UITableNameDisplay, pt as TTableSummaryContext, q as ColumnAggregation, r as UITableBadgeDisplay, rt as SingleTagFilterValue, s as UITableDescriptionDisplay, st as TTableContext, t as UITableAnalysisPanel, tt as NumberFilterValue, u as UITableFilter, ut as TTableInnerTableContext, v as UITableStatisticDisplay, vt as TUITableColumn, w as UITableTooltipFilter, wt as TUITableHeadCellSelect, x as UITableToggleButton, xt as TUITableHead, y as UITableStatusDisplay, yt as TUITableEmptyDisplay, z as UITableFooter } from "./index-5R8gTzkQ.mjs";
|
|
95
95
|
export { ActiveFilter, ActivityHeatmapChart, type ActivityHeatmapChartProps, ActivityPoint, AddNewBtn, Alert, AlertDescription, AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertProps, AlertTitle, AlertTitleProps, AnyFieldProps, ArrayCol, ArrayHeaderRow, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, BaseChartProps, BooleanFieldValue, BooleanFilterValue, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, CMSLayout, CMSLayoutProps, type CMSLayoutUser, Calendar, CalendarDayButton, CandlestickChart, type CandlestickChartProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartConfig, ChartContainer, ChartContainerProps, ChartLegend, ChartLegendContent, ChartLegendContentProps, ChartSeries, ChartStyle, ChartTooltip, ChartTooltipContent, ChartTooltipContentProps, ChartTrend, Checkbox, CheckboxField, CheckboxFieldProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ColumnAggregation, ColumnAggregationType, ComboboxField, ComboboxFieldProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, type ConfirmDialogProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ConversionFunnelChart, type ConversionFunnelChartProps, CorrelationScatterChart, type CorrelationScatterChartProps, CountryDisplay, CsvCell, DataList, DataListItem, DateDisplay, DateField, DateFieldProps, DateFieldValue, DateRangeFilterValue, DateTooltip, Description, DescriptionBadge, DescriptionBoolean, DescriptionCopy, DescriptionDate, DescriptionEmpty, DescriptionHeader, DescriptionImages, DescriptionItem, DescriptionLink, DescriptionLongText, DescriptionName, DescriptionNumberPhone, DescriptionSection, DescriptionStatistic, DescriptionStatisticProps, DescriptionStatus, DescriptionTagList, DescriptionUser, DetailDialog, type DetailDialogProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DonutChart, type DonutChartProps, type DonutChartSegment, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditBtn, EmailField, EmailFieldProps, Empty, EmptyContent, EmptyDescription, EmptyDisplay, EmptyHeader, EmptyMedia, EmptyTitle, ErrorDialog, type ErrorDialogProps, FeatureDeveloping, FeatureFixing, Field, FieldContent, FieldContentMain, FieldError, FieldGroup, FieldLabel, FieldOrientation, FieldRounding, FieldSeparator, FieldType, FileUploader, FilterDefinition, FilterOption, FilterType, FilterValue, Flex, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FunnelStage, GainLossBarChart, type GainLossBarChartProps, Google, Grid, GridProductCard, HoverCard, HoverCardContent, HoverCardTrigger, Image, IndexedPerformanceLineChart, type IndexedPerformanceLineChartProps, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputVariantProps, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Label, LoadingDialog, type LoadingDialogProps, LoginPage, type LoginPageProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MetricRadarChart, type MetricRadarChartProps, MirroredBarChart, type MirroredBarChartProps, type MirroredBarRow, MultiSelectFieldValue, MultipleSelector, MultipleSelectorRef, NameDisplay, NamedValue, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotAuthorized, NotFound, type NotFoundProps, NumberField, NumberFieldProps, NumberFieldValue, NumberFilterValue, OHLCPoint, Option, OrdersBarChart, type OrdersBarChartProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Paragraph, type ParagraphProps, PasswordField, PasswordFieldProps, PaymentLayout, PaymentLayoutUser, PhoneNumberDisplay, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, PortfolioAllocationTreemap, type PortfolioAllocationTreemapProps, PortfolioHolding, PriceRangeAreaChart, type PriceRangeAreaChartProps, ProductCard, Progress, RadioGroup, RadioGroupField, RadioGroupFieldProps, RadioGroupItem, RadioOption, RefreshBtn, RegisterPage, type RegisterPageProps, ResizableHandle, ResizablePanel, ResizablePanelGroup, RevenueAreaChart, type RevenueAreaChartProps, RevenueOrdersComposedChart, type RevenueOrdersComposedChartProps, type RevenueOrdersPoint, RoleBadge, RowData, SalesTargetRadialChart, type SalesTargetRadialChartProps, SankeyFlowChart, type SankeyFlowChartProps, type SankeyFlowLink, type SankeyFlowNode, ScatterPoint, ScrollArea, ScrollBar, SearchInput, SearchModal, Select, SelectContent, SelectField, SelectFieldProps, SelectGroup, SelectItem, SelectLabel, SelectOption, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, SimpleArrayField, SimpleBooleanField, SimpleCard, SimpleComboboxField, SimpleDateField, SimpleEmailField, SimpleNumberField, SimplePasswordField, SimpleRadioGroupField, SimpleSelectField, SimpleTextField, SimpleTextFieldProps, SimpleTextareaField, SingleTagFilterValue, Skeleton, Slider, SparklineChart, type SparklineChartProps, Spinner, StackedAreaChart, type StackedAreaChartProps, Statistic, type StatisticProps, SummaryItem, Switch, SwitchField, SwitchFieldProps, TTableAnalysisContext, TTableBodyContext, TTableContext, TTableFilterContext, TTableHeadRowContext, TTableInnerTableContext, TTableInnerWrapperContext, TTableRowContext, TTableSummaryContext, TUITableBody, TUITableCell, TUITableCellActions, TUITableCellSelect, TUITableColumn, TUITableEmptyDisplay, TUITableFooter, TUITableHead, TUITableHeadCell, TUITableHeadCellOption, TUITableHeadCellSelect, TUITableHeadRow, TUITableInnerTable, TUITableInnerWrapper, TUITableLoadMore, TUITableRow, TUITableWrapper, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableProviderProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagFilterValue, TanStackActionSubmit, TanStackActionsForm, TanStackCardForm, TanStackContainerForm, TanStackDialogForm, TanStackFieldGroup, TanStackPopoverForm, TanStackSectionForm, TanStackTitleField, TextEditor, TextEditorField, TextEditorFieldProps, type TextEditorProps, TextEditorToolbar, type TextEditorToolbarProps, TextField, TextFieldProps, TextFieldValue, TextFilterValue, Textarea, TextareaField, TextareaFieldProps, TimeSeriesPoint, Title, type TitleProps, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TopProductsBarChart, type TopProductsBarChartProps, TrashBtn, UITableAnalysisPanel, UITableAvatarNameDisplay, UITableBadgeDisplay, UITableBody, UITableBooleanDisplay, UITableCell, UITableCellActions, UITableCellSelect, UITableContainer, UITableCurrencyDisplay, UITableDateDisplay, UITableDescriptionDisplay, UITableEditButton, UITableEmailDisplay, UITableEmpty, UITableEmptyDisplay, UITableFilter, UITableFooter, UITableFooterRow, UITableHead, UITableHeadCell, UITableHeadCellOption, UITableHeadCellSelect, UITableHeadRow, UITableInnerTable, UITableInnerWrapper, UITableListDisplay, UITableLoadMore, UITableMoreButton, UITableNameDisplay, UITablePermalink, UITablePhoneNumberDisplay, UITableProgressDisplay, UITableProvider, UITableRemoveButton, UITableRow, UITableStatisticDisplay, UITableStatusDisplay, UITableSummaryBar, UITableToggleButton, UITableTooltip, UITableTooltipActions, UITableTooltipFilter, UITableUserDataDisplay, UITableWrapper, UploadImageBtn, UserDataDisplay, VerifyEmailPage, type VerifyEmailPageProps, VolumeBarChart, type VolumeBarChartProps, WaterfallChart, type WaterfallChartProps, WaterfallPoint, badgeVariants, buttonGroupVariants, computeIndexedSeries, formatCompactNumber, formatCurrency, formatPercent, formatSignedPercent, getChartColor, getDirectionColor, navigationMenuTriggerStyle, paragraphVariants, toDateLabel, toast, toggleVariants, useChart, useDebounce, useFormField, useTanStackFieldContext, useTanStackForm, useTanStackFormContext, withTanStackFieldGroup, withTanStackForm };
|
|
@@ -3,7 +3,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
//#region packages/components/ui/input.d.ts
|
|
4
4
|
/** CVA variant definitions for the `Input` component — controls sizing and visual style. */
|
|
5
5
|
declare const inputVariants: (props?: ({
|
|
6
|
-
variant?: "
|
|
6
|
+
variant?: "none" | "soft" | "outline" | "ghost" | "subtle" | null | undefined;
|
|
7
7
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
9
|
type InputVariantProps = VariantProps<typeof inputVariants>;
|
|
@@ -36,4 +36,4 @@ declare function Input({
|
|
|
36
36
|
}): import("react").JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { InputVariantProps as n, inputVariants as r, Input as t };
|
|
39
|
-
//# sourceMappingURL=input-
|
|
39
|
+
//# sourceMappingURL=input-BQJV7ryj.d.cts.map
|
|
@@ -3,7 +3,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
//#region packages/components/ui/input.d.ts
|
|
4
4
|
/** CVA variant definitions for the `Input` component — controls sizing and visual style. */
|
|
5
5
|
declare const inputVariants: (props?: ({
|
|
6
|
-
variant?: "
|
|
6
|
+
variant?: "none" | "soft" | "outline" | "ghost" | "subtle" | null | undefined;
|
|
7
7
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
9
|
type InputVariantProps = VariantProps<typeof inputVariants>;
|
|
@@ -36,4 +36,4 @@ declare function Input({
|
|
|
36
36
|
}): import("react").JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { InputVariantProps as n, inputVariants as r, Input as t };
|
|
39
|
-
//# sourceMappingURL=input-
|
|
39
|
+
//# sourceMappingURL=input-BQJV7ryj.d.mts.map
|
package/dist/layouts/flex.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Flex } from "../flex-
|
|
1
|
+
import { t as Flex } from "../flex-DGVZd6c6.cjs";
|
|
2
2
|
export { Flex };
|
package/dist/layouts/flex.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Flex } from "../flex-
|
|
1
|
+
import { t as Flex } from "../flex-DGVZd6c6.mjs";
|
|
2
2
|
export { Flex };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Input } from "./input-
|
|
1
|
+
import { t as Input } from "./input-BQJV7ryj.cjs";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/inputs/search-input.d.ts
|
|
4
4
|
/**
|
|
@@ -24,4 +24,4 @@ declare const SearchInput: ({
|
|
|
24
24
|
}: Props) => import("react").JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { SearchInput as t };
|
|
27
|
-
//# sourceMappingURL=search-input-
|
|
27
|
+
//# sourceMappingURL=search-input-CE9lDDeD.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Input } from "./input-
|
|
1
|
+
import { t as Input } from "./input-BQJV7ryj.mjs";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/inputs/search-input.d.ts
|
|
4
4
|
/**
|
|
@@ -24,4 +24,4 @@ declare const SearchInput: ({
|
|
|
24
24
|
}: Props) => import("react").JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { SearchInput as t };
|
|
27
|
-
//# sourceMappingURL=search-input-
|
|
27
|
+
//# sourceMappingURL=search-input-D2rEfTmY.d.mts.map
|
package/dist/ui/input.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-
|
|
1
|
+
import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-BQJV7ryj.cjs";
|
|
2
2
|
export { Input, InputVariantProps, inputVariants };
|
package/dist/ui/input.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-
|
|
1
|
+
import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-BQJV7ryj.mjs";
|
|
2
2
|
export { Input, InputVariantProps, inputVariants };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SearchInput } from "../../search-input-
|
|
1
|
+
import { t as SearchInput } from "../../search-input-CE9lDDeD.cjs";
|
|
2
2
|
export { SearchInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SearchInput } from "../../search-input-
|
|
1
|
+
import { t as SearchInput } from "../../search-input-D2rEfTmY.mjs";
|
|
2
2
|
export { SearchInput };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("@customafk/react-toolkit/utils"),t=require("class-variance-authority"),n=require("react/jsx-runtime");const r=(0,t.cva)(`inline-flex w-fit items-center font-medium transition-colors duration-150`,{variants:{variant:{dot:`rounded border bg-background`,solid:`rounded text-white shadow-btn`,soft:`rounded`,bar:`gap-2 rounded-none border-l-4 pl-2`},color:{none:``,slate:``,gray:``,zinc:``,neutral:``,stone:``,red:``,orange:``,amber:``,yellow:``,lime:``,green:``,emerald:``,teal:``,cyan:``,sky:``,blue:``,indigo:``,violet:``,purple:``,fuchsia:``,pink:``,rose:``},size:{sm:`gap-1 px-1.5 py-0.5 text-[11px]`,md:`gap-1 px-2 py-0.5 text-xs`,lg:`gap-1.5 px-2.5 py-1 text-sm`}},defaultVariants:{variant:`dot`,color:`gray`,size:`md`},compoundVariants:[{variant:`dot`,color:`none`,className:`border-dashed border-gray-300 text-gray-400`},{variant:`dot`,color:`slate`,className:`border-slate-300 text-slate-700`},{variant:`dot`,color:`gray`,className:`border-gray-300 text-gray-700`},{variant:`dot`,color:`zinc`,className:`border-zinc-300 text-zinc-700`},{variant:`dot`,color:`neutral`,className:`border-neutral-300 text-neutral-700`},{variant:`dot`,color:`stone`,className:`border-stone-300 text-stone-700`},{variant:`dot`,color:`red`,className:`border-red-300 text-red-700`},{variant:`dot`,color:`orange`,className:`border-orange-300 text-orange-700`},{variant:`dot`,color:`amber`,className:`border-amber-300 text-amber-700`},{variant:`dot`,color:`yellow`,className:`border-yellow-300 text-yellow-700`},{variant:`dot`,color:`lime`,className:`border-lime-300 text-lime-700`},{variant:`dot`,color:`green`,className:`border-green-300 text-green-700`},{variant:`dot`,color:`emerald`,className:`border-emerald-300 text-emerald-700`},{variant:`dot`,color:`teal`,className:`border-teal-300 text-teal-700`},{variant:`dot`,color:`cyan`,className:`border-cyan-300 text-cyan-700`},{variant:`dot`,color:`sky`,className:`border-sky-300 text-sky-700`},{variant:`dot`,color:`blue`,className:`border-blue-300 text-blue-700`},{variant:`dot`,color:`indigo`,className:`border-indigo-300 text-indigo-700`},{variant:`dot`,color:`violet`,className:`border-violet-300 text-violet-700`},{variant:`dot`,color:`purple`,className:`border-purple-300 text-purple-700`},{variant:`dot`,color:`fuchsia`,className:`border-fuchsia-300 text-fuchsia-700`},{variant:`dot`,color:`pink`,className:`border-pink-300 text-pink-700`},{variant:`dot`,color:`rose`,className:`border-rose-300 text-rose-700`},{variant:`solid`,color:`none`,className:`border border-dashed border-gray-300 bg-transparent text-gray-400`},{variant:`solid`,color:`slate`,className:`bg-slate-500`},{variant:`solid`,color:`gray`,className:`bg-gray-500`},{variant:`solid`,color:`zinc`,className:`bg-zinc-500`},{variant:`solid`,color:`neutral`,className:`bg-neutral-500`},{variant:`solid`,color:`stone`,className:`bg-stone-500`},{variant:`solid`,color:`red`,className:`bg-red-500`},{variant:`solid`,color:`orange`,className:`bg-orange-500`},{variant:`solid`,color:`amber`,className:`bg-amber-500`},{variant:`solid`,color:`yellow`,className:`bg-yellow-500`},{variant:`solid`,color:`lime`,className:`bg-lime-500`},{variant:`solid`,color:`green`,className:`bg-green-500`},{variant:`solid`,color:`emerald`,className:`bg-emerald-500`},{variant:`solid`,color:`teal`,className:`bg-teal-500`},{variant:`solid`,color:`cyan`,className:`bg-cyan-500`},{variant:`solid`,color:`sky`,className:`bg-sky-500`},{variant:`solid`,color:`blue`,className:`bg-blue-500`},{variant:`solid`,color:`indigo`,className:`bg-indigo-500`},{variant:`solid`,color:`violet`,className:`bg-violet-500`},{variant:`solid`,color:`purple`,className:`bg-purple-500`},{variant:`solid`,color:`fuchsia`,className:`bg-fuchsia-500`},{variant:`solid`,color:`pink`,className:`bg-pink-500`},{variant:`solid`,color:`rose`,className:`bg-rose-500`},{variant:`soft`,color:`none`,className:`bg-gray-50 text-gray-400`},{variant:`soft`,color:`slate`,className:`bg-slate-100 text-slate-700`},{variant:`soft`,color:`gray`,className:`bg-gray-100 text-gray-700`},{variant:`soft`,color:`zinc`,className:`bg-zinc-100 text-zinc-700`},{variant:`soft`,color:`neutral`,className:`bg-neutral-100 text-neutral-700`},{variant:`soft`,color:`stone`,className:`bg-stone-100 text-stone-700`},{variant:`soft`,color:`red`,className:`bg-red-100 text-red-700`},{variant:`soft`,color:`orange`,className:`bg-orange-100 text-orange-700`},{variant:`soft`,color:`amber`,className:`bg-amber-100 text-amber-700`},{variant:`soft`,color:`yellow`,className:`bg-yellow-100 text-yellow-700`},{variant:`soft`,color:`lime`,className:`bg-lime-100 text-lime-700`},{variant:`soft`,color:`green`,className:`bg-green-100 text-green-700`},{variant:`soft`,color:`emerald`,className:`bg-emerald-100 text-emerald-700`},{variant:`soft`,color:`teal`,className:`bg-teal-100 text-teal-700`},{variant:`soft`,color:`cyan`,className:`bg-cyan-100 text-cyan-700`},{variant:`soft`,color:`sky`,className:`bg-sky-100 text-sky-700`},{variant:`soft`,color:`blue`,className:`bg-blue-100 text-blue-700`},{variant:`soft`,color:`indigo`,className:`bg-indigo-100 text-indigo-700`},{variant:`soft`,color:`violet`,className:`bg-violet-100 text-violet-700`},{variant:`soft`,color:`purple`,className:`bg-purple-100 text-purple-700`},{variant:`soft`,color:`fuchsia`,className:`bg-fuchsia-100 text-fuchsia-700`},{variant:`soft`,color:`pink`,className:`bg-pink-100 text-pink-700`},{variant:`soft`,color:`rose`,className:`bg-rose-100 text-rose-700`},{variant:`bar`,color:`none`,className:`border-gray-300 border-dashed text-gray-400`},{variant:`bar`,color:`slate`,className:`border-slate-500 text-slate-700`},{variant:`bar`,color:`gray`,className:`border-gray-500 text-gray-700`},{variant:`bar`,color:`zinc`,className:`border-zinc-500 text-zinc-700`},{variant:`bar`,color:`neutral`,className:`border-neutral-500 text-neutral-700`},{variant:`bar`,color:`stone`,className:`border-stone-500 text-stone-700`},{variant:`bar`,color:`red`,className:`border-red-500 text-red-700`},{variant:`bar`,color:`orange`,className:`border-orange-500 text-orange-700`},{variant:`bar`,color:`amber`,className:`border-amber-500 text-amber-700`},{variant:`bar`,color:`yellow`,className:`border-yellow-500 text-yellow-700`},{variant:`bar`,color:`lime`,className:`border-lime-500 text-lime-700`},{variant:`bar`,color:`green`,className:`border-green-500 text-green-700`},{variant:`bar`,color:`emerald`,className:`border-emerald-500 text-emerald-700`},{variant:`bar`,color:`teal`,className:`border-teal-500 text-teal-700`},{variant:`bar`,color:`cyan`,className:`border-cyan-500 text-cyan-700`},{variant:`bar`,color:`sky`,className:`border-sky-500 text-sky-700`},{variant:`bar`,color:`blue`,className:`border-blue-500 text-blue-700`},{variant:`bar`,color:`indigo`,className:`border-indigo-500 text-indigo-700`},{variant:`bar`,color:`violet`,className:`border-violet-500 text-violet-700`},{variant:`bar`,color:`purple`,className:`border-purple-500 text-purple-700`},{variant:`bar`,color:`fuchsia`,className:`border-fuchsia-500 text-fuchsia-700`},{variant:`bar`,color:`pink`,className:`border-pink-500 text-pink-700`},{variant:`bar`,color:`rose`,className:`border-rose-500 text-rose-700`}]}),i={none:`border border-dashed border-gray-300 bg-transparent`,slate:`bg-slate-500`,gray:`bg-gray-500`,zinc:`bg-zinc-500`,neutral:`bg-neutral-500`,stone:`bg-stone-500`,red:`bg-red-500`,orange:`bg-orange-500`,amber:`bg-amber-500`,yellow:`bg-yellow-500`,lime:`bg-lime-500`,green:`bg-green-500`,emerald:`bg-emerald-500`,teal:`bg-teal-500`,cyan:`bg-cyan-500`,sky:`bg-sky-500`,blue:`bg-blue-500`,indigo:`bg-indigo-500`,violet:`bg-violet-500`,purple:`bg-purple-500`,fuchsia:`bg-fuchsia-500`,pink:`bg-pink-500`,rose:`bg-rose-500`},a={none:`border border-dashed border-gray-300 bg-transparent`,slate:`bg-slate-300`,gray:`bg-gray-300`,zinc:`bg-zinc-300`,neutral:`bg-neutral-300`,stone:`bg-stone-300`,red:`bg-red-300`,orange:`bg-orange-300`,amber:`bg-amber-300`,yellow:`bg-yellow-300`,lime:`bg-lime-300`,green:`bg-green-300`,emerald:`bg-emerald-300`,teal:`bg-teal-300`,cyan:`bg-cyan-300`,sky:`bg-sky-300`,blue:`bg-blue-300`,indigo:`bg-indigo-300`,violet:`bg-violet-300`,purple:`bg-purple-300`,fuchsia:`bg-fuchsia-300`,pink:`bg-pink-300`,rose:`bg-rose-300`};function o({className:t,variant:o=`dot`,color:s=`gray`,size:c,children:l,...u}){let d=s??`gray`,f=o===`dot`||o===`solid`;return(0,n.jsxs)(`span`,{className:(0,e.cn)(r({variant:o,color:s,size:c}),t),...u,children:[f&&(0,n.jsx)(`span`,{"aria-hidden":!0,className:(0,e.cn)(`inline-block size-1.5 shrink-0 rounded-full`,o===`solid`?a[d]:i[d])}),l]})}exports.Status=o,exports.statusVariants=r;
|
|
2
|
+
//# sourceMappingURL=status.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.cjs","names":[],"sources":["../../packages/components/ui/status.variants.ts","../../packages/components/ui/status.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\n\nexport const statusVariants = cva('inline-flex w-fit items-center font-medium transition-colors duration-150', {\n variants: {\n variant: {\n dot: 'rounded border bg-background',\n solid: 'rounded text-white shadow-btn',\n soft: 'rounded',\n bar: 'gap-2 rounded-none border-l-4 pl-2',\n },\n color: {\n none: '',\n slate: '',\n gray: '',\n zinc: '',\n neutral: '',\n stone: '',\n red: '',\n orange: '',\n amber: '',\n yellow: '',\n lime: '',\n green: '',\n emerald: '',\n teal: '',\n cyan: '',\n sky: '',\n blue: '',\n indigo: '',\n violet: '',\n purple: '',\n fuchsia: '',\n pink: '',\n rose: '',\n },\n size: {\n sm: 'gap-1 px-1.5 py-0.5 text-[11px]',\n md: 'gap-1 px-2 py-0.5 text-xs',\n lg: 'gap-1.5 px-2.5 py-1 text-sm',\n },\n },\n defaultVariants: { variant: 'dot', color: 'gray', size: 'md' },\n compoundVariants: [\n // dot — outlined pill, colored dot + colored text\n { variant: 'dot', color: 'none', className: 'border-dashed border-gray-300 text-gray-400' },\n { variant: 'dot', color: 'slate', className: 'border-slate-300 text-slate-700' },\n { variant: 'dot', color: 'gray', className: 'border-gray-300 text-gray-700' },\n { variant: 'dot', color: 'zinc', className: 'border-zinc-300 text-zinc-700' },\n { variant: 'dot', color: 'neutral', className: 'border-neutral-300 text-neutral-700' },\n { variant: 'dot', color: 'stone', className: 'border-stone-300 text-stone-700' },\n { variant: 'dot', color: 'red', className: 'border-red-300 text-red-700' },\n { variant: 'dot', color: 'orange', className: 'border-orange-300 text-orange-700' },\n { variant: 'dot', color: 'amber', className: 'border-amber-300 text-amber-700' },\n { variant: 'dot', color: 'yellow', className: 'border-yellow-300 text-yellow-700' },\n { variant: 'dot', color: 'lime', className: 'border-lime-300 text-lime-700' },\n { variant: 'dot', color: 'green', className: 'border-green-300 text-green-700' },\n { variant: 'dot', color: 'emerald', className: 'border-emerald-300 text-emerald-700' },\n { variant: 'dot', color: 'teal', className: 'border-teal-300 text-teal-700' },\n { variant: 'dot', color: 'cyan', className: 'border-cyan-300 text-cyan-700' },\n { variant: 'dot', color: 'sky', className: 'border-sky-300 text-sky-700' },\n { variant: 'dot', color: 'blue', className: 'border-blue-300 text-blue-700' },\n { variant: 'dot', color: 'indigo', className: 'border-indigo-300 text-indigo-700' },\n { variant: 'dot', color: 'violet', className: 'border-violet-300 text-violet-700' },\n { variant: 'dot', color: 'purple', className: 'border-purple-300 text-purple-700' },\n { variant: 'dot', color: 'fuchsia', className: 'border-fuchsia-300 text-fuchsia-700' },\n { variant: 'dot', color: 'pink', className: 'border-pink-300 text-pink-700' },\n { variant: 'dot', color: 'rose', className: 'border-rose-300 text-rose-700' },\n // solid — filled pill, white text\n {\n variant: 'solid',\n color: 'none',\n className: 'border border-dashed border-gray-300 bg-transparent text-gray-400',\n },\n { variant: 'solid', color: 'slate', className: 'bg-slate-500' },\n { variant: 'solid', color: 'gray', className: 'bg-gray-500' },\n { variant: 'solid', color: 'zinc', className: 'bg-zinc-500' },\n { variant: 'solid', color: 'neutral', className: 'bg-neutral-500' },\n { variant: 'solid', color: 'stone', className: 'bg-stone-500' },\n { variant: 'solid', color: 'red', className: 'bg-red-500' },\n { variant: 'solid', color: 'orange', className: 'bg-orange-500' },\n { variant: 'solid', color: 'amber', className: 'bg-amber-500' },\n { variant: 'solid', color: 'yellow', className: 'bg-yellow-500' },\n { variant: 'solid', color: 'lime', className: 'bg-lime-500' },\n { variant: 'solid', color: 'green', className: 'bg-green-500' },\n { variant: 'solid', color: 'emerald', className: 'bg-emerald-500' },\n { variant: 'solid', color: 'teal', className: 'bg-teal-500' },\n { variant: 'solid', color: 'cyan', className: 'bg-cyan-500' },\n { variant: 'solid', color: 'sky', className: 'bg-sky-500' },\n { variant: 'solid', color: 'blue', className: 'bg-blue-500' },\n { variant: 'solid', color: 'indigo', className: 'bg-indigo-500' },\n { variant: 'solid', color: 'violet', className: 'bg-violet-500' },\n { variant: 'solid', color: 'purple', className: 'bg-purple-500' },\n { variant: 'solid', color: 'fuchsia', className: 'bg-fuchsia-500' },\n { variant: 'solid', color: 'pink', className: 'bg-pink-500' },\n { variant: 'solid', color: 'rose', className: 'bg-rose-500' },\n // soft — tinted background, bold colored text, no dot\n { variant: 'soft', color: 'none', className: 'bg-gray-50 text-gray-400' },\n { variant: 'soft', color: 'slate', className: 'bg-slate-100 text-slate-700' },\n { variant: 'soft', color: 'gray', className: 'bg-gray-100 text-gray-700' },\n { variant: 'soft', color: 'zinc', className: 'bg-zinc-100 text-zinc-700' },\n { variant: 'soft', color: 'neutral', className: 'bg-neutral-100 text-neutral-700' },\n { variant: 'soft', color: 'stone', className: 'bg-stone-100 text-stone-700' },\n { variant: 'soft', color: 'red', className: 'bg-red-100 text-red-700' },\n { variant: 'soft', color: 'orange', className: 'bg-orange-100 text-orange-700' },\n { variant: 'soft', color: 'amber', className: 'bg-amber-100 text-amber-700' },\n { variant: 'soft', color: 'yellow', className: 'bg-yellow-100 text-yellow-700' },\n { variant: 'soft', color: 'lime', className: 'bg-lime-100 text-lime-700' },\n { variant: 'soft', color: 'green', className: 'bg-green-100 text-green-700' },\n { variant: 'soft', color: 'emerald', className: 'bg-emerald-100 text-emerald-700' },\n { variant: 'soft', color: 'teal', className: 'bg-teal-100 text-teal-700' },\n { variant: 'soft', color: 'cyan', className: 'bg-cyan-100 text-cyan-700' },\n { variant: 'soft', color: 'sky', className: 'bg-sky-100 text-sky-700' },\n { variant: 'soft', color: 'blue', className: 'bg-blue-100 text-blue-700' },\n { variant: 'soft', color: 'indigo', className: 'bg-indigo-100 text-indigo-700' },\n { variant: 'soft', color: 'violet', className: 'bg-violet-100 text-violet-700' },\n { variant: 'soft', color: 'purple', className: 'bg-purple-100 text-purple-700' },\n { variant: 'soft', color: 'fuchsia', className: 'bg-fuchsia-100 text-fuchsia-700' },\n { variant: 'soft', color: 'pink', className: 'bg-pink-100 text-pink-700' },\n { variant: 'soft', color: 'rose', className: 'bg-rose-100 text-rose-700' },\n // bar — plain text with a colored left accent bar, for lists/timelines\n { variant: 'bar', color: 'none', className: 'border-gray-300 border-dashed text-gray-400' },\n { variant: 'bar', color: 'slate', className: 'border-slate-500 text-slate-700' },\n { variant: 'bar', color: 'gray', className: 'border-gray-500 text-gray-700' },\n { variant: 'bar', color: 'zinc', className: 'border-zinc-500 text-zinc-700' },\n { variant: 'bar', color: 'neutral', className: 'border-neutral-500 text-neutral-700' },\n { variant: 'bar', color: 'stone', className: 'border-stone-500 text-stone-700' },\n { variant: 'bar', color: 'red', className: 'border-red-500 text-red-700' },\n { variant: 'bar', color: 'orange', className: 'border-orange-500 text-orange-700' },\n { variant: 'bar', color: 'amber', className: 'border-amber-500 text-amber-700' },\n { variant: 'bar', color: 'yellow', className: 'border-yellow-500 text-yellow-700' },\n { variant: 'bar', color: 'lime', className: 'border-lime-500 text-lime-700' },\n { variant: 'bar', color: 'green', className: 'border-green-500 text-green-700' },\n { variant: 'bar', color: 'emerald', className: 'border-emerald-500 text-emerald-700' },\n { variant: 'bar', color: 'teal', className: 'border-teal-500 text-teal-700' },\n { variant: 'bar', color: 'cyan', className: 'border-cyan-500 text-cyan-700' },\n { variant: 'bar', color: 'sky', className: 'border-sky-500 text-sky-700' },\n { variant: 'bar', color: 'blue', className: 'border-blue-500 text-blue-700' },\n { variant: 'bar', color: 'indigo', className: 'border-indigo-500 text-indigo-700' },\n { variant: 'bar', color: 'violet', className: 'border-violet-500 text-violet-700' },\n { variant: 'bar', color: 'purple', className: 'border-purple-500 text-purple-700' },\n { variant: 'bar', color: 'fuchsia', className: 'border-fuchsia-500 text-fuchsia-700' },\n { variant: 'bar', color: 'pink', className: 'border-pink-500 text-pink-700' },\n { variant: 'bar', color: 'rose', className: 'border-rose-500 text-rose-700' },\n ],\n});\n\nexport type StatusVariants = VariantProps<typeof statusVariants>;\n","'use client';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { type StatusVariants, statusVariants } from './status.variants';\n\nconst dotColorMap: Record<NonNullable<StatusVariants['color']>, string> = {\n none: 'border border-dashed border-gray-300 bg-transparent',\n slate: 'bg-slate-500',\n gray: 'bg-gray-500',\n zinc: 'bg-zinc-500',\n neutral: 'bg-neutral-500',\n stone: 'bg-stone-500',\n red: 'bg-red-500',\n orange: 'bg-orange-500',\n amber: 'bg-amber-500',\n yellow: 'bg-yellow-500',\n lime: 'bg-lime-500',\n green: 'bg-green-500',\n emerald: 'bg-emerald-500',\n teal: 'bg-teal-500',\n cyan: 'bg-cyan-500',\n sky: 'bg-sky-500',\n blue: 'bg-blue-500',\n indigo: 'bg-indigo-500',\n violet: 'bg-violet-500',\n purple: 'bg-purple-500',\n fuchsia: 'bg-fuchsia-500',\n pink: 'bg-pink-500',\n rose: 'bg-rose-500',\n};\n\nconst solidDotColorMap: Record<NonNullable<StatusVariants['color']>, string> = {\n none: 'border border-dashed border-gray-300 bg-transparent',\n slate: 'bg-slate-300',\n gray: 'bg-gray-300',\n zinc: 'bg-zinc-300',\n neutral: 'bg-neutral-300',\n stone: 'bg-stone-300',\n red: 'bg-red-300',\n orange: 'bg-orange-300',\n amber: 'bg-amber-300',\n yellow: 'bg-yellow-300',\n lime: 'bg-lime-300',\n green: 'bg-green-300',\n emerald: 'bg-emerald-300',\n teal: 'bg-teal-300',\n cyan: 'bg-cyan-300',\n sky: 'bg-sky-300',\n blue: 'bg-blue-300',\n indigo: 'bg-indigo-300',\n violet: 'bg-violet-300',\n purple: 'bg-purple-300',\n fuchsia: 'bg-fuchsia-300',\n pink: 'bg-pink-300',\n rose: 'bg-rose-300',\n};\n\n/**\n * Props for the `Status` component.\n *\n * @property variant - Visual style — `'dot'` (outlined pill with a colored dot, default), `'solid'`\n * (filled pill with a colored dot), `'soft'` (tinted pill, no dot), or `'bar'` (plain text with a\n * colored left accent bar, for lists/timelines).\n * @property color - Full Tailwind color family, e.g. `'red'` | `'orange'` | `'green'` | `'cyan'` |\n * `'blue'` | `'pink'` | ... , or `'none'` for an unset/dashed neutral state. Defaults to `'gray'`.\n * @property size - `'sm'` | `'md'` (default) | `'lg'`.\n */\nexport type StatusProps = StatusVariants & React.ComponentPropsWithoutRef<'span'>;\n\n/**\n * Color-coded status indicator for pipeline/lifecycle states (e.g. lead, deal, order status).\n *\n * @example\n * ```tsx\n * import { Status } from '@customafk/lunas-ui/ui/status';\n *\n * <Status color=\"orange\">Đang tư vấn</Status>\n * <Status variant=\"soft\" color=\"green\">Đang đàm phán</Status>\n * <Status variant=\"bar\" color=\"pink\">Hoàn tất giao dịch</Status>\n * ```\n */\nfunction Status({ className, variant = 'dot', color = 'gray', size, children, ...props }: StatusProps) {\n const resolvedColor = color ?? 'gray';\n const showDot = variant === 'dot' || variant === 'solid';\n\n return (\n <span className={cn(statusVariants({ variant, color, size }), className)} {...props}>\n {showDot && (\n <span\n aria-hidden\n className={cn('inline-block size-1.5 shrink-0 rounded-full', variant === 'solid' ? solidDotColorMap[resolvedColor] : dotColorMap[resolvedColor])}\n />\n )}\n {children}\n </span>\n );\n}\n\n// eslint-disable-next-line react-refresh/only-export-components\nexport { Status, statusVariants };\n"],"mappings":"qMAEA,MAAa,GAAA,EAAA,EAAA,IAAA,CAAqB,4EAA6E,CAC7G,SAAU,CACR,QAAS,CACP,IAAK,+BACL,MAAO,gCACP,KAAM,UACN,IAAK,oCACP,EACA,MAAO,CACL,KAAM,GACN,MAAO,GACP,KAAM,GACN,KAAM,GACN,QAAS,GACT,MAAO,GACP,IAAK,GACL,OAAQ,GACR,MAAO,GACP,OAAQ,GACR,KAAM,GACN,MAAO,GACP,QAAS,GACT,KAAM,GACN,KAAM,GACN,IAAK,GACL,KAAM,GACN,OAAQ,GACR,OAAQ,GACR,OAAQ,GACR,QAAS,GACT,KAAM,GACN,KAAM,EACR,EACA,KAAM,CACJ,GAAI,kCACJ,GAAI,4BACJ,GAAI,6BACN,CACF,EACA,gBAAiB,CAAE,QAAS,MAAO,MAAO,OAAQ,KAAM,IAAK,EAC7D,iBAAkB,CAEhB,CAAE,QAAS,MAAO,MAAO,OAAQ,UAAW,6CAA8C,EAC1F,CAAE,QAAS,MAAO,MAAO,QAAS,UAAW,iCAAkC,EAC/E,CAAE,QAAS,MAAO,MAAO,OAAQ,UAAW,+BAAgC,EAC5E,CAAE,QAAS,MAAO,MAAO,OAAQ,UAAW,+BAAgC,EAC5E,CAAE,QAAS,MAAO,MAAO,UAAW,UAAW,qCAAsC,EACrF,CAAE,QAAS,MAAO,MAAO,QAAS,UAAW,iCAAkC,EAC/E,CAAE,QAAS,MAAO,MAAO,MAAO,UAAW,6BAA8B,EACzE,CAAE,QAAS,MAAO,MAAO,SAAU,UAAW,mCAAoC,EAClF,CAAE,QAAS,MAAO,MAAO,QAAS,UAAW,iCAAk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,GAAG,GAAsB,CACrG,IAAM,EAAgB,GAAS,OACzB,EAAU,IAAY,OAAS,IAAY,QAEjD,OACE,EAAA,EAAA,KAAA,CAAC,OAAD,CAAM,WAAA,EAAA,EAAA,GAAA,CAAc,EAAe,CAAE,UAAS,QAAO,MAAK,CAAC,EAAG,CAAS,EAAG,GAAI,WAA9E,CACG,IACC,EAAA,EAAA,IAAA,CAAC,OAAD,CACE,cAAA,GACA,WAAA,EAAA,EAAA,GAAA,CAAc,8CAA+C,IAAY,QAAU,EAAiB,GAAiB,EAAY,EAAc,CAChJ,CAAA,EAEF,CACG,GAEV"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { VariantProps } from "class-variance-authority";
|
|
2
|
+
|
|
3
|
+
//#region packages/components/ui/status.variants.d.ts
|
|
4
|
+
declare const statusVariants: (props?: ({
|
|
5
|
+
variant?: "solid" | "soft" | "dot" | "bar" | null | undefined;
|
|
6
|
+
color?: "neutral" | "none" | "slate" | "gray" | "zinc" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | null | undefined;
|
|
7
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
+
type StatusVariants = VariantProps<typeof statusVariants>;
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region packages/components/ui/status.d.ts
|
|
12
|
+
/**
|
|
13
|
+
* Props for the `Status` component.
|
|
14
|
+
*
|
|
15
|
+
* @property variant - Visual style — `'dot'` (outlined pill with a colored dot, default), `'solid'`
|
|
16
|
+
* (filled pill with a colored dot), `'soft'` (tinted pill, no dot), or `'bar'` (plain text with a
|
|
17
|
+
* colored left accent bar, for lists/timelines).
|
|
18
|
+
* @property color - Full Tailwind color family, e.g. `'red'` | `'orange'` | `'green'` | `'cyan'` |
|
|
19
|
+
* `'blue'` | `'pink'` | ... , or `'none'` for an unset/dashed neutral state. Defaults to `'gray'`.
|
|
20
|
+
* @property size - `'sm'` | `'md'` (default) | `'lg'`.
|
|
21
|
+
*/
|
|
22
|
+
type StatusProps = StatusVariants & React.ComponentPropsWithoutRef<'span'>;
|
|
23
|
+
/**
|
|
24
|
+
* Color-coded status indicator for pipeline/lifecycle states (e.g. lead, deal, order status).
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```tsx
|
|
28
|
+
* import { Status } from '@customafk/lunas-ui/ui/status';
|
|
29
|
+
*
|
|
30
|
+
* <Status color="orange">Đang tư vấn</Status>
|
|
31
|
+
* <Status variant="soft" color="green">Đang đàm phán</Status>
|
|
32
|
+
* <Status variant="bar" color="pink">Hoàn tất giao dịch</Status>
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
declare function Status({
|
|
36
|
+
className,
|
|
37
|
+
variant,
|
|
38
|
+
color,
|
|
39
|
+
size,
|
|
40
|
+
children,
|
|
41
|
+
...props
|
|
42
|
+
}: StatusProps): import("react").JSX.Element;
|
|
43
|
+
//#endregion
|
|
44
|
+
export { Status, StatusProps, statusVariants };
|
|
45
|
+
//# sourceMappingURL=status.d.cts.map
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { VariantProps } from "class-variance-authority";
|
|
2
|
+
|
|
3
|
+
//#region packages/components/ui/status.variants.d.ts
|
|
4
|
+
declare const statusVariants: (props?: ({
|
|
5
|
+
variant?: "solid" | "soft" | "dot" | "bar" | null | undefined;
|
|
6
|
+
color?: "neutral" | "none" | "slate" | "gray" | "zinc" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | null | undefined;
|
|
7
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
+
type StatusVariants = VariantProps<typeof statusVariants>;
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region packages/components/ui/status.d.ts
|
|
12
|
+
/**
|
|
13
|
+
* Props for the `Status` component.
|
|
14
|
+
*
|
|
15
|
+
* @property variant - Visual style — `'dot'` (outlined pill with a colored dot, default), `'solid'`
|
|
16
|
+
* (filled pill with a colored dot), `'soft'` (tinted pill, no dot), or `'bar'` (plain text with a
|
|
17
|
+
* colored left accent bar, for lists/timelines).
|
|
18
|
+
* @property color - Full Tailwind color family, e.g. `'red'` | `'orange'` | `'green'` | `'cyan'` |
|
|
19
|
+
* `'blue'` | `'pink'` | ... , or `'none'` for an unset/dashed neutral state. Defaults to `'gray'`.
|
|
20
|
+
* @property size - `'sm'` | `'md'` (default) | `'lg'`.
|
|
21
|
+
*/
|
|
22
|
+
type StatusProps = StatusVariants & React.ComponentPropsWithoutRef<'span'>;
|
|
23
|
+
/**
|
|
24
|
+
* Color-coded status indicator for pipeline/lifecycle states (e.g. lead, deal, order status).
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```tsx
|
|
28
|
+
* import { Status } from '@customafk/lunas-ui/ui/status';
|
|
29
|
+
*
|
|
30
|
+
* <Status color="orange">Đang tư vấn</Status>
|
|
31
|
+
* <Status variant="soft" color="green">Đang đàm phán</Status>
|
|
32
|
+
* <Status variant="bar" color="pink">Hoàn tất giao dịch</Status>
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
declare function Status({
|
|
36
|
+
className,
|
|
37
|
+
variant,
|
|
38
|
+
color,
|
|
39
|
+
size,
|
|
40
|
+
children,
|
|
41
|
+
...props
|
|
42
|
+
}: StatusProps): import("react").JSX.Element;
|
|
43
|
+
//#endregion
|
|
44
|
+
export { Status, StatusProps, statusVariants };
|
|
45
|
+
//# sourceMappingURL=status.d.mts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";import{cn as e}from"@customafk/react-toolkit/utils";import{cva as t}from"class-variance-authority";import{jsx as n,jsxs as r}from"react/jsx-runtime";const i=t(`inline-flex w-fit items-center font-medium transition-colors duration-150`,{variants:{variant:{dot:`rounded border bg-background`,solid:`rounded text-white shadow-btn`,soft:`rounded`,bar:`gap-2 rounded-none border-l-4 pl-2`},color:{none:``,slate:``,gray:``,zinc:``,neutral:``,stone:``,red:``,orange:``,amber:``,yellow:``,lime:``,green:``,emerald:``,teal:``,cyan:``,sky:``,blue:``,indigo:``,violet:``,purple:``,fuchsia:``,pink:``,rose:``},size:{sm:`gap-1 px-1.5 py-0.5 text-[11px]`,md:`gap-1 px-2 py-0.5 text-xs`,lg:`gap-1.5 px-2.5 py-1 text-sm`}},defaultVariants:{variant:`dot`,color:`gray`,size:`md`},compoundVariants:[{variant:`dot`,color:`none`,className:`border-dashed border-gray-300 text-gray-400`},{variant:`dot`,color:`slate`,className:`border-slate-300 text-slate-700`},{variant:`dot`,color:`gray`,className:`border-gray-300 text-gray-700`},{variant:`dot`,color:`zinc`,className:`border-zinc-300 text-zinc-700`},{variant:`dot`,color:`neutral`,className:`border-neutral-300 text-neutral-700`},{variant:`dot`,color:`stone`,className:`border-stone-300 text-stone-700`},{variant:`dot`,color:`red`,className:`border-red-300 text-red-700`},{variant:`dot`,color:`orange`,className:`border-orange-300 text-orange-700`},{variant:`dot`,color:`amber`,className:`border-amber-300 text-amber-700`},{variant:`dot`,color:`yellow`,className:`border-yellow-300 text-yellow-700`},{variant:`dot`,color:`lime`,className:`border-lime-300 text-lime-700`},{variant:`dot`,color:`green`,className:`border-green-300 text-green-700`},{variant:`dot`,color:`emerald`,className:`border-emerald-300 text-emerald-700`},{variant:`dot`,color:`teal`,className:`border-teal-300 text-teal-700`},{variant:`dot`,color:`cyan`,className:`border-cyan-300 text-cyan-700`},{variant:`dot`,color:`sky`,className:`border-sky-300 text-sky-700`},{variant:`dot`,color:`blue`,className:`border-blue-300 text-blue-700`},{variant:`dot`,color:`indigo`,className:`border-indigo-300 text-indigo-700`},{variant:`dot`,color:`violet`,className:`border-violet-300 text-violet-700`},{variant:`dot`,color:`purple`,className:`border-purple-300 text-purple-700`},{variant:`dot`,color:`fuchsia`,className:`border-fuchsia-300 text-fuchsia-700`},{variant:`dot`,color:`pink`,className:`border-pink-300 text-pink-700`},{variant:`dot`,color:`rose`,className:`border-rose-300 text-rose-700`},{variant:`solid`,color:`none`,className:`border border-dashed border-gray-300 bg-transparent text-gray-400`},{variant:`solid`,color:`slate`,className:`bg-slate-500`},{variant:`solid`,color:`gray`,className:`bg-gray-500`},{variant:`solid`,color:`zinc`,className:`bg-zinc-500`},{variant:`solid`,color:`neutral`,className:`bg-neutral-500`},{variant:`solid`,color:`stone`,className:`bg-stone-500`},{variant:`solid`,color:`red`,className:`bg-red-500`},{variant:`solid`,color:`orange`,className:`bg-orange-500`},{variant:`solid`,color:`amber`,className:`bg-amber-500`},{variant:`solid`,color:`yellow`,className:`bg-yellow-500`},{variant:`solid`,color:`lime`,className:`bg-lime-500`},{variant:`solid`,color:`green`,className:`bg-green-500`},{variant:`solid`,color:`emerald`,className:`bg-emerald-500`},{variant:`solid`,color:`teal`,className:`bg-teal-500`},{variant:`solid`,color:`cyan`,className:`bg-cyan-500`},{variant:`solid`,color:`sky`,className:`bg-sky-500`},{variant:`solid`,color:`blue`,className:`bg-blue-500`},{variant:`solid`,color:`indigo`,className:`bg-indigo-500`},{variant:`solid`,color:`violet`,className:`bg-violet-500`},{variant:`solid`,color:`purple`,className:`bg-purple-500`},{variant:`solid`,color:`fuchsia`,className:`bg-fuchsia-500`},{variant:`solid`,color:`pink`,className:`bg-pink-500`},{variant:`solid`,color:`rose`,className:`bg-rose-500`},{variant:`soft`,color:`none`,className:`bg-gray-50 text-gray-400`},{variant:`soft`,color:`slate`,className:`bg-slate-100 text-slate-700`},{variant:`soft`,color:`gray`,className:`bg-gray-100 text-gray-700`},{variant:`soft`,color:`zinc`,className:`bg-zinc-100 text-zinc-700`},{variant:`soft`,color:`neutral`,className:`bg-neutral-100 text-neutral-700`},{variant:`soft`,color:`stone`,className:`bg-stone-100 text-stone-700`},{variant:`soft`,color:`red`,className:`bg-red-100 text-red-700`},{variant:`soft`,color:`orange`,className:`bg-orange-100 text-orange-700`},{variant:`soft`,color:`amber`,className:`bg-amber-100 text-amber-700`},{variant:`soft`,color:`yellow`,className:`bg-yellow-100 text-yellow-700`},{variant:`soft`,color:`lime`,className:`bg-lime-100 text-lime-700`},{variant:`soft`,color:`green`,className:`bg-green-100 text-green-700`},{variant:`soft`,color:`emerald`,className:`bg-emerald-100 text-emerald-700`},{variant:`soft`,color:`teal`,className:`bg-teal-100 text-teal-700`},{variant:`soft`,color:`cyan`,className:`bg-cyan-100 text-cyan-700`},{variant:`soft`,color:`sky`,className:`bg-sky-100 text-sky-700`},{variant:`soft`,color:`blue`,className:`bg-blue-100 text-blue-700`},{variant:`soft`,color:`indigo`,className:`bg-indigo-100 text-indigo-700`},{variant:`soft`,color:`violet`,className:`bg-violet-100 text-violet-700`},{variant:`soft`,color:`purple`,className:`bg-purple-100 text-purple-700`},{variant:`soft`,color:`fuchsia`,className:`bg-fuchsia-100 text-fuchsia-700`},{variant:`soft`,color:`pink`,className:`bg-pink-100 text-pink-700`},{variant:`soft`,color:`rose`,className:`bg-rose-100 text-rose-700`},{variant:`bar`,color:`none`,className:`border-gray-300 border-dashed text-gray-400`},{variant:`bar`,color:`slate`,className:`border-slate-500 text-slate-700`},{variant:`bar`,color:`gray`,className:`border-gray-500 text-gray-700`},{variant:`bar`,color:`zinc`,className:`border-zinc-500 text-zinc-700`},{variant:`bar`,color:`neutral`,className:`border-neutral-500 text-neutral-700`},{variant:`bar`,color:`stone`,className:`border-stone-500 text-stone-700`},{variant:`bar`,color:`red`,className:`border-red-500 text-red-700`},{variant:`bar`,color:`orange`,className:`border-orange-500 text-orange-700`},{variant:`bar`,color:`amber`,className:`border-amber-500 text-amber-700`},{variant:`bar`,color:`yellow`,className:`border-yellow-500 text-yellow-700`},{variant:`bar`,color:`lime`,className:`border-lime-500 text-lime-700`},{variant:`bar`,color:`green`,className:`border-green-500 text-green-700`},{variant:`bar`,color:`emerald`,className:`border-emerald-500 text-emerald-700`},{variant:`bar`,color:`teal`,className:`border-teal-500 text-teal-700`},{variant:`bar`,color:`cyan`,className:`border-cyan-500 text-cyan-700`},{variant:`bar`,color:`sky`,className:`border-sky-500 text-sky-700`},{variant:`bar`,color:`blue`,className:`border-blue-500 text-blue-700`},{variant:`bar`,color:`indigo`,className:`border-indigo-500 text-indigo-700`},{variant:`bar`,color:`violet`,className:`border-violet-500 text-violet-700`},{variant:`bar`,color:`purple`,className:`border-purple-500 text-purple-700`},{variant:`bar`,color:`fuchsia`,className:`border-fuchsia-500 text-fuchsia-700`},{variant:`bar`,color:`pink`,className:`border-pink-500 text-pink-700`},{variant:`bar`,color:`rose`,className:`border-rose-500 text-rose-700`}]}),a={none:`border border-dashed border-gray-300 bg-transparent`,slate:`bg-slate-500`,gray:`bg-gray-500`,zinc:`bg-zinc-500`,neutral:`bg-neutral-500`,stone:`bg-stone-500`,red:`bg-red-500`,orange:`bg-orange-500`,amber:`bg-amber-500`,yellow:`bg-yellow-500`,lime:`bg-lime-500`,green:`bg-green-500`,emerald:`bg-emerald-500`,teal:`bg-teal-500`,cyan:`bg-cyan-500`,sky:`bg-sky-500`,blue:`bg-blue-500`,indigo:`bg-indigo-500`,violet:`bg-violet-500`,purple:`bg-purple-500`,fuchsia:`bg-fuchsia-500`,pink:`bg-pink-500`,rose:`bg-rose-500`},o={none:`border border-dashed border-gray-300 bg-transparent`,slate:`bg-slate-300`,gray:`bg-gray-300`,zinc:`bg-zinc-300`,neutral:`bg-neutral-300`,stone:`bg-stone-300`,red:`bg-red-300`,orange:`bg-orange-300`,amber:`bg-amber-300`,yellow:`bg-yellow-300`,lime:`bg-lime-300`,green:`bg-green-300`,emerald:`bg-emerald-300`,teal:`bg-teal-300`,cyan:`bg-cyan-300`,sky:`bg-sky-300`,blue:`bg-blue-300`,indigo:`bg-indigo-300`,violet:`bg-violet-300`,purple:`bg-purple-300`,fuchsia:`bg-fuchsia-300`,pink:`bg-pink-300`,rose:`bg-rose-300`};function s({className:t,variant:s=`dot`,color:c=`gray`,size:l,children:u,...d}){let f=c??`gray`,p=s===`dot`||s===`solid`;return r(`span`,{className:e(i({variant:s,color:c,size:l}),t),...d,children:[p&&n(`span`,{"aria-hidden":!0,className:e(`inline-block size-1.5 shrink-0 rounded-full`,s===`solid`?o[f]:a[f])}),u]})}export{s as Status,i as statusVariants};
|
|
2
|
+
//# sourceMappingURL=status.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.mjs","names":[],"sources":["../../packages/components/ui/status.variants.ts","../../packages/components/ui/status.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\n\nexport const statusVariants = cva('inline-flex w-fit items-center font-medium transition-colors duration-150', {\n variants: {\n variant: {\n dot: 'rounded border bg-background',\n solid: 'rounded text-white shadow-btn',\n soft: 'rounded',\n bar: 'gap-2 rounded-none border-l-4 pl-2',\n },\n color: {\n none: '',\n slate: '',\n gray: '',\n zinc: '',\n neutral: '',\n stone: '',\n red: '',\n orange: '',\n amber: '',\n yellow: '',\n lime: '',\n green: '',\n emerald: '',\n teal: '',\n cyan: '',\n sky: '',\n blue: '',\n indigo: '',\n violet: '',\n purple: '',\n fuchsia: '',\n pink: '',\n rose: '',\n },\n size: {\n sm: 'gap-1 px-1.5 py-0.5 text-[11px]',\n md: 'gap-1 px-2 py-0.5 text-xs',\n lg: 'gap-1.5 px-2.5 py-1 text-sm',\n },\n },\n defaultVariants: { variant: 'dot', color: 'gray', size: 'md' },\n compoundVariants: [\n // dot — outlined pill, colored dot + colored text\n { variant: 'dot', color: 'none', className: 'border-dashed border-gray-300 text-gray-400' },\n { variant: 'dot', color: 'slate', className: 'border-slate-300 text-slate-700' },\n { variant: 'dot', color: 'gray', className: 'border-gray-300 text-gray-700' },\n { variant: 'dot', color: 'zinc', className: 'border-zinc-300 text-zinc-700' },\n { variant: 'dot', color: 'neutral', className: 'border-neutral-300 text-neutral-700' },\n { variant: 'dot', color: 'stone', className: 'border-stone-300 text-stone-700' },\n { variant: 'dot', color: 'red', className: 'border-red-300 text-red-700' },\n { variant: 'dot', color: 'orange', className: 'border-orange-300 text-orange-700' },\n { variant: 'dot', color: 'amber', className: 'border-amber-300 text-amber-700' },\n { variant: 'dot', color: 'yellow', className: 'border-yellow-300 text-yellow-700' },\n { variant: 'dot', color: 'lime', className: 'border-lime-300 text-lime-700' },\n { variant: 'dot', color: 'green', className: 'border-green-300 text-green-700' },\n { variant: 'dot', color: 'emerald', className: 'border-emerald-300 text-emerald-700' },\n { variant: 'dot', color: 'teal', className: 'border-teal-300 text-teal-700' },\n { variant: 'dot', color: 'cyan', className: 'border-cyan-300 text-cyan-700' },\n { variant: 'dot', color: 'sky', className: 'border-sky-300 text-sky-700' },\n { variant: 'dot', color: 'blue', className: 'border-blue-300 text-blue-700' },\n { variant: 'dot', color: 'indigo', className: 'border-indigo-300 text-indigo-700' },\n { variant: 'dot', color: 'violet', className: 'border-violet-300 text-violet-700' },\n { variant: 'dot', color: 'purple', className: 'border-purple-300 text-purple-700' },\n { variant: 'dot', color: 'fuchsia', className: 'border-fuchsia-300 text-fuchsia-700' },\n { variant: 'dot', color: 'pink', className: 'border-pink-300 text-pink-700' },\n { variant: 'dot', color: 'rose', className: 'border-rose-300 text-rose-700' },\n // solid — filled pill, white text\n {\n variant: 'solid',\n color: 'none',\n className: 'border border-dashed border-gray-300 bg-transparent text-gray-400',\n },\n { variant: 'solid', color: 'slate', className: 'bg-slate-500' },\n { variant: 'solid', color: 'gray', className: 'bg-gray-500' },\n { variant: 'solid', color: 'zinc', className: 'bg-zinc-500' },\n { variant: 'solid', color: 'neutral', className: 'bg-neutral-500' },\n { variant: 'solid', color: 'stone', className: 'bg-stone-500' },\n { variant: 'solid', color: 'red', className: 'bg-red-500' },\n { variant: 'solid', color: 'orange', className: 'bg-orange-500' },\n { variant: 'solid', color: 'amber', className: 'bg-amber-500' },\n { variant: 'solid', color: 'yellow', className: 'bg-yellow-500' },\n { variant: 'solid', color: 'lime', className: 'bg-lime-500' },\n { variant: 'solid', color: 'green', className: 'bg-green-500' },\n { variant: 'solid', color: 'emerald', className: 'bg-emerald-500' },\n { variant: 'solid', color: 'teal', className: 'bg-teal-500' },\n { variant: 'solid', color: 'cyan', className: 'bg-cyan-500' },\n { variant: 'solid', color: 'sky', className: 'bg-sky-500' },\n { variant: 'solid', color: 'blue', className: 'bg-blue-500' },\n { variant: 'solid', color: 'indigo', className: 'bg-indigo-500' },\n { variant: 'solid', color: 'violet', className: 'bg-violet-500' },\n { variant: 'solid', color: 'purple', className: 'bg-purple-500' },\n { variant: 'solid', color: 'fuchsia', className: 'bg-fuchsia-500' },\n { variant: 'solid', color: 'pink', className: 'bg-pink-500' },\n { variant: 'solid', color: 'rose', className: 'bg-rose-500' },\n // soft — tinted background, bold colored text, no dot\n { variant: 'soft', color: 'none', className: 'bg-gray-50 text-gray-400' },\n { variant: 'soft', color: 'slate', className: 'bg-slate-100 text-slate-700' },\n { variant: 'soft', color: 'gray', className: 'bg-gray-100 text-gray-700' },\n { variant: 'soft', color: 'zinc', className: 'bg-zinc-100 text-zinc-700' },\n { variant: 'soft', color: 'neutral', className: 'bg-neutral-100 text-neutral-700' },\n { variant: 'soft', color: 'stone', className: 'bg-stone-100 text-stone-700' },\n { variant: 'soft', color: 'red', className: 'bg-red-100 text-red-700' },\n { variant: 'soft', color: 'orange', className: 'bg-orange-100 text-orange-700' },\n { variant: 'soft', color: 'amber', className: 'bg-amber-100 text-amber-700' },\n { variant: 'soft', color: 'yellow', className: 'bg-yellow-100 text-yellow-700' },\n { variant: 'soft', color: 'lime', className: 'bg-lime-100 text-lime-700' },\n { variant: 'soft', color: 'green', className: 'bg-green-100 text-green-700' },\n { variant: 'soft', color: 'emerald', className: 'bg-emerald-100 text-emerald-700' },\n { variant: 'soft', color: 'teal', className: 'bg-teal-100 text-teal-700' },\n { variant: 'soft', color: 'cyan', className: 'bg-cyan-100 text-cyan-700' },\n { variant: 'soft', color: 'sky', className: 'bg-sky-100 text-sky-700' },\n { variant: 'soft', color: 'blue', className: 'bg-blue-100 text-blue-700' },\n { variant: 'soft', color: 'indigo', className: 'bg-indigo-100 text-indigo-700' },\n { variant: 'soft', color: 'violet', className: 'bg-violet-100 text-violet-700' },\n { variant: 'soft', color: 'purple', className: 'bg-purple-100 text-purple-700' },\n { variant: 'soft', color: 'fuchsia', className: 'bg-fuchsia-100 text-fuchsia-700' },\n { variant: 'soft', color: 'pink', className: 'bg-pink-100 text-pink-700' },\n { variant: 'soft', color: 'rose', className: 'bg-rose-100 text-rose-700' },\n // bar — plain text with a colored left accent bar, for lists/timelines\n { variant: 'bar', color: 'none', className: 'border-gray-300 border-dashed text-gray-400' },\n { variant: 'bar', color: 'slate', className: 'border-slate-500 text-slate-700' },\n { variant: 'bar', color: 'gray', className: 'border-gray-500 text-gray-700' },\n { variant: 'bar', color: 'zinc', className: 'border-zinc-500 text-zinc-700' },\n { variant: 'bar', color: 'neutral', className: 'border-neutral-500 text-neutral-700' },\n { variant: 'bar', color: 'stone', className: 'border-stone-500 text-stone-700' },\n { variant: 'bar', color: 'red', className: 'border-red-500 text-red-700' },\n { variant: 'bar', color: 'orange', className: 'border-orange-500 text-orange-700' },\n { variant: 'bar', color: 'amber', className: 'border-amber-500 text-amber-700' },\n { variant: 'bar', color: 'yellow', className: 'border-yellow-500 text-yellow-700' },\n { variant: 'bar', color: 'lime', className: 'border-lime-500 text-lime-700' },\n { variant: 'bar', color: 'green', className: 'border-green-500 text-green-700' },\n { variant: 'bar', color: 'emerald', className: 'border-emerald-500 text-emerald-700' },\n { variant: 'bar', color: 'teal', className: 'border-teal-500 text-teal-700' },\n { variant: 'bar', color: 'cyan', className: 'border-cyan-500 text-cyan-700' },\n { variant: 'bar', color: 'sky', className: 'border-sky-500 text-sky-700' },\n { variant: 'bar', color: 'blue', className: 'border-blue-500 text-blue-700' },\n { variant: 'bar', color: 'indigo', className: 'border-indigo-500 text-indigo-700' },\n { variant: 'bar', color: 'violet', className: 'border-violet-500 text-violet-700' },\n { variant: 'bar', color: 'purple', className: 'border-purple-500 text-purple-700' },\n { variant: 'bar', color: 'fuchsia', className: 'border-fuchsia-500 text-fuchsia-700' },\n { variant: 'bar', color: 'pink', className: 'border-pink-500 text-pink-700' },\n { variant: 'bar', color: 'rose', className: 'border-rose-500 text-rose-700' },\n ],\n});\n\nexport type StatusVariants = VariantProps<typeof statusVariants>;\n","'use client';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { type StatusVariants, statusVariants } from './status.variants';\n\nconst dotColorMap: Record<NonNullable<StatusVariants['color']>, string> = {\n none: 'border border-dashed border-gray-300 bg-transparent',\n slate: 'bg-slate-500',\n gray: 'bg-gray-500',\n zinc: 'bg-zinc-500',\n neutral: 'bg-neutral-500',\n stone: 'bg-stone-500',\n red: 'bg-red-500',\n orange: 'bg-orange-500',\n amber: 'bg-amber-500',\n yellow: 'bg-yellow-500',\n lime: 'bg-lime-500',\n green: 'bg-green-500',\n emerald: 'bg-emerald-500',\n teal: 'bg-teal-500',\n cyan: 'bg-cyan-500',\n sky: 'bg-sky-500',\n blue: 'bg-blue-500',\n indigo: 'bg-indigo-500',\n violet: 'bg-violet-500',\n purple: 'bg-purple-500',\n fuchsia: 'bg-fuchsia-500',\n pink: 'bg-pink-500',\n rose: 'bg-rose-500',\n};\n\nconst solidDotColorMap: Record<NonNullable<StatusVariants['color']>, string> = {\n none: 'border border-dashed border-gray-300 bg-transparent',\n slate: 'bg-slate-300',\n gray: 'bg-gray-300',\n zinc: 'bg-zinc-300',\n neutral: 'bg-neutral-300',\n stone: 'bg-stone-300',\n red: 'bg-red-300',\n orange: 'bg-orange-300',\n amber: 'bg-amber-300',\n yellow: 'bg-yellow-300',\n lime: 'bg-lime-300',\n green: 'bg-green-300',\n emerald: 'bg-emerald-300',\n teal: 'bg-teal-300',\n cyan: 'bg-cyan-300',\n sky: 'bg-sky-300',\n blue: 'bg-blue-300',\n indigo: 'bg-indigo-300',\n violet: 'bg-violet-300',\n purple: 'bg-purple-300',\n fuchsia: 'bg-fuchsia-300',\n pink: 'bg-pink-300',\n rose: 'bg-rose-300',\n};\n\n/**\n * Props for the `Status` component.\n *\n * @property variant - Visual style — `'dot'` (outlined pill with a colored dot, default), `'solid'`\n * (filled pill with a colored dot), `'soft'` (tinted pill, no dot), or `'bar'` (plain text with a\n * colored left accent bar, for lists/timelines).\n * @property color - Full Tailwind color family, e.g. `'red'` | `'orange'` | `'green'` | `'cyan'` |\n * `'blue'` | `'pink'` | ... , or `'none'` for an unset/dashed neutral state. Defaults to `'gray'`.\n * @property size - `'sm'` | `'md'` (default) | `'lg'`.\n */\nexport type StatusProps = StatusVariants & React.ComponentPropsWithoutRef<'span'>;\n\n/**\n * Color-coded status indicator for pipeline/lifecycle states (e.g. lead, deal, order status).\n *\n * @example\n * ```tsx\n * import { Status } from '@customafk/lunas-ui/ui/status';\n *\n * <Status color=\"orange\">Đang tư vấn</Status>\n * <Status variant=\"soft\" color=\"green\">Đang đàm phán</Status>\n * <Status variant=\"bar\" color=\"pink\">Hoàn tất giao dịch</Status>\n * ```\n */\nfunction Status({ className, variant = 'dot', color = 'gray', size, children, ...props }: StatusProps) {\n const resolvedColor = color ?? 'gray';\n const showDot = variant === 'dot' || variant === 'solid';\n\n return (\n <span className={cn(statusVariants({ variant, color, size }), className)} {...props}>\n {showDot && (\n <span\n aria-hidden\n className={cn('inline-block size-1.5 shrink-0 rounded-full', variant === 'solid' ? solidDotColorMap[resolvedColor] : dotColorMap[resolvedColor])}\n />\n )}\n {children}\n </span>\n );\n}\n\n// eslint-disable-next-line react-refresh/only-export-components\nexport { Status, statusVariants };\n"],"mappings":"kKAEA,MAAa,EAAiB,EAAI,4EAA6E,CAC7G,SAAU,CACR,QAAS,CACP,IAAK,+BACL,MAAO,gCACP,KAAM,UACN,IAAK,oCACP,EACA,MAAO,CACL,KAAM,GACN,MAAO,GACP,KAAM,GACN,KAAM,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
|
3
|
+
"version": "0.2.72",
|
|
4
4
|
"description": "UI library for Lunas Enterprise",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": {
|
|
@@ -392,6 +392,10 @@
|
|
|
392
392
|
"require": "./dist/ui/spinner.cjs",
|
|
393
393
|
"import": "./dist/ui/spinner.mjs"
|
|
394
394
|
},
|
|
395
|
+
"./ui/status": {
|
|
396
|
+
"require": "./dist/ui/status.cjs",
|
|
397
|
+
"import": "./dist/ui/status.mjs"
|
|
398
|
+
},
|
|
395
399
|
"./ui/switch": {
|
|
396
400
|
"require": "./dist/ui/switch.cjs",
|
|
397
401
|
"import": "./dist/ui/switch.mjs"
|