@customafk/lunas-ui 0.2.19 → 0.2.20
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/{alert-Beqe8m7q.d.cts → alert-CwIH3Hkd.d.mts} +8 -8
- package/dist/{alert-XpHbQl4p.d.mts → alert-iwPuxYjG.d.cts} +8 -8
- package/dist/{badge-CSIbd6Ib.d.cts → badge-CINaZwOW.d.mts} +7 -7
- package/dist/{badge-cDG94TBd.d.mts → badge-DBsYYM8d.d.cts} +7 -7
- package/dist/{button-D_PwLu6A.d.cts → button-DdwLbwWQ.d.mts} +7 -7
- package/dist/{button-Bu1wgqhO.d.mts → button-UgIAM1cP.d.cts} +7 -7
- package/dist/cards/simple-card.d.mts +2 -2
- package/dist/data-display/statistic.d.mts +6 -6
- package/dist/{dialog-CtO9ie0P.d.cts → dialog-CfbtCisP.d.mts} +12 -12
- package/dist/{dialog-DtknheXI.d.mts → dialog-HXH3FYKH.d.cts} +12 -12
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +27 -27
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +25 -25
- package/dist/features/descriptions/index.d.cts +1 -1
- package/dist/features/descriptions/index.d.mts +5 -5
- package/dist/features/search-modal/index.d.cts +2 -2
- package/dist/features/search-modal/index.d.mts +2 -2
- package/dist/features/tables/index.cjs +1 -1
- package/dist/features/tables/index.d.cts +2 -2
- package/dist/features/tables/index.d.mts +3 -3
- package/dist/features/tables/index.mjs +1 -1
- package/dist/features/tanstack-form/index.d.cts +1 -1
- package/dist/features/tanstack-form/index.d.mts +1 -1
- package/dist/features/text-editor/index.d.mts +1 -1
- package/dist/{index-tr2ndIm-.d.mts → index-3ZBP9XKI.d.mts} +4 -4
- package/dist/{index-DgO3fRA8.d.mts → index-BreahdZP.d.mts} +35 -31
- package/dist/{index-6R0zla55.d.cts → index-D09-9eQ8.d.cts} +110 -110
- package/dist/{index-CDGAuUDu.d.cts → index-DWGlOnex.d.cts} +9 -5
- package/dist/{index-D8a6GRB2.d.mts → index-DXXR4oq-.d.mts} +352 -352
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.mts +9 -9
- package/dist/index.mjs +1 -1
- package/dist/{input-CsTijTsW.d.cts → input-BpTmuYnJ.d.mts} +5 -5
- package/dist/{input-BFD3ecVI.d.mts → input-DjEul_uK.d.cts} +6 -6
- package/dist/layouts/flex.d.cts +9 -9
- package/dist/layouts/flex.d.mts +9 -9
- package/dist/pages/FeatureDeveloping.d.cts +2 -2
- package/dist/pages/FeatureDeveloping.d.mts +2 -2
- package/dist/pages/FeatureFixing.d.cts +2 -2
- package/dist/pages/FeatureFixing.d.mts +2 -2
- package/dist/pages/NotAuthorized.d.cts +2 -2
- package/dist/pages/NotAuthorized.d.mts +2 -2
- package/dist/pages/NotFound.d.cts +2 -2
- package/dist/pages/NotFound.d.mts +2 -2
- package/dist/{tables-BhX5FzM4.cjs → tables--hUSBZFP.cjs} +4 -4
- package/dist/tables--hUSBZFP.cjs.map +1 -0
- package/dist/tables-BZ5jLRGG.mjs +4 -0
- package/dist/tables-BZ5jLRGG.mjs.map +1 -0
- package/dist/typography/paragraph.d.cts +5 -5
- package/dist/typography/paragraph.d.mts +5 -5
- package/dist/typography/title.d.cts +2 -2
- package/dist/typography/title.d.mts +2 -2
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.mts +12 -12
- package/dist/ui/alert.d.cts +1 -1
- package/dist/ui/alert.d.mts +1 -1
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.mts +2 -2
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.mts +4 -4
- package/dist/ui/badge.d.cts +1 -1
- package/dist/ui/badge.d.mts +1 -1
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.mts +8 -8
- package/dist/ui/button-group.d.cts +7 -7
- package/dist/ui/button-group.d.mts +7 -7
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.mts +4 -4
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.mts +8 -8
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.mts +7 -7
- package/dist/ui/checkbox.d.cts +2 -2
- package/dist/ui/checkbox.d.mts +2 -2
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.mts +4 -4
- package/dist/ui/command.d.cts +11 -11
- package/dist/ui/command.d.mts +11 -11
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.mts +16 -16
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.mts +1 -1
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.mts +11 -11
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.mts +16 -16
- package/dist/ui/empty.d.cts +9 -9
- package/dist/ui/empty.d.mts +9 -9
- package/dist/ui/field.d.cts +25 -25
- package/dist/ui/field.d.mts +25 -25
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.mts +2 -2
- package/dist/ui/form.d.cts +11 -11
- package/dist/ui/form.d.mts +11 -11
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.mts +4 -4
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.mts +5 -5
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.mts +1 -1
- package/dist/ui/inputs/search-input.d.cts +3 -3
- package/dist/ui/inputs/search-input.d.mts +3 -3
- package/dist/ui/item.d.cts +13 -13
- package/dist/ui/item.d.mts +16 -16
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.mts +2 -2
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.mts +17 -17
- package/dist/ui/multi-select.d.cts +2 -2
- package/dist/ui/multi-select.d.mts +1 -1
- package/dist/ui/navigation-menu.d.cts +11 -11
- package/dist/ui/navigation-menu.d.mts +11 -11
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.mts +9 -9
- package/dist/ui/popover.d.cts +6 -6
- package/dist/ui/popover.d.mts +6 -6
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.mts +2 -2
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.mts +3 -3
- package/dist/ui/resizable.d.cts +9 -9
- package/dist/ui/resizable.d.mts +9 -9
- package/dist/ui/scroll-area.d.cts +6 -6
- package/dist/ui/scroll-area.d.mts +6 -6
- package/dist/ui/select.d.cts +9 -9
- package/dist/ui/select.d.mts +9 -9
- package/dist/ui/separator.d.cts +2 -2
- package/dist/ui/separator.d.mts +2 -2
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.mts +9 -9
- package/dist/ui/sidebar.d.cts +29 -29
- package/dist/ui/sidebar.d.mts +27 -27
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.mts +2 -2
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.mts +2 -2
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.mts +2 -2
- package/dist/ui/spinner.d.cts +2 -2
- package/dist/ui/spinner.d.mts +2 -2
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.mts +2 -2
- package/dist/ui/table.d.cts +18 -18
- package/dist/ui/table.d.mts +9 -9
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.mts +5 -5
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.mts +2 -2
- package/dist/ui/toggle-group.d.cts +3 -3
- package/dist/ui/toggle-group.d.mts +3 -3
- package/dist/ui/toggle.d.cts +5 -5
- package/dist/ui/toggle.d.mts +5 -5
- package/dist/ui/tooltip.d.cts +5 -5
- package/dist/ui/tooltip.d.mts +5 -5
- package/package.json +1 -1
- package/dist/tables-BhX5FzM4.cjs.map +0 -1
- package/dist/tables-D2za3DdW.mjs +0 -4
- package/dist/tables-D2za3DdW.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as AnyEntity } from "./types-CILbFL3j.cjs";
|
|
2
|
-
import { t as Input } from "./input-
|
|
2
|
+
import { t as Input } from "./input-DjEul_uK.cjs";
|
|
3
3
|
import * as react_jsx_runtime348 from "react/jsx-runtime";
|
|
4
4
|
import * as react276 from "react";
|
|
5
5
|
import { AccessorKeyColumnDef, CellContext, Column, ColumnPinningPosition, ColumnPinningState, Header, HeaderGroup, Row, RowSelectionState, Table } from "@tanstack/react-table";
|
|
@@ -742,7 +742,7 @@ type TableProviderProps<TData extends RowData<TData>, TKey extends keyof TData =
|
|
|
742
742
|
/** Called with the full list of active filters whenever filters are added, removed, or updated. */
|
|
743
743
|
onFilterChange?: (filters: ActiveFilter[]) => void;
|
|
744
744
|
};
|
|
745
|
-
type FilterType = 'tag' | 'date-range' | 'number' | 'text' | 'boolean';
|
|
745
|
+
type FilterType = 'tag' | 'single-tag' | 'date-range' | 'number' | 'text' | 'boolean';
|
|
746
746
|
/** A selectable option for tag/enum filters. */
|
|
747
747
|
type FilterOption = {
|
|
748
748
|
label: string;
|
|
@@ -762,6 +762,10 @@ type TagFilterValue = {
|
|
|
762
762
|
type: 'tag';
|
|
763
763
|
values: string[];
|
|
764
764
|
};
|
|
765
|
+
type SingleTagFilterValue = {
|
|
766
|
+
type: 'single-tag';
|
|
767
|
+
value: string | null;
|
|
768
|
+
};
|
|
765
769
|
type DateRangeFilterValue = {
|
|
766
770
|
type: 'date-range';
|
|
767
771
|
/** ISO date string, e.g. `"2024-01-01"`. */
|
|
@@ -783,7 +787,7 @@ type BooleanFilterValue = {
|
|
|
783
787
|
type: 'boolean';
|
|
784
788
|
value: boolean | null;
|
|
785
789
|
};
|
|
786
|
-
type FilterValue = TagFilterValue | DateRangeFilterValue | NumberFilterValue | TextFilterValue | BooleanFilterValue;
|
|
790
|
+
type FilterValue = TagFilterValue | SingleTagFilterValue | DateRangeFilterValue | NumberFilterValue | TextFilterValue | BooleanFilterValue;
|
|
787
791
|
/** An active (added) filter instance with its current value. */
|
|
788
792
|
type ActiveFilter = {
|
|
789
793
|
/** Unique instance id for this filter entry. */
|
|
@@ -1005,5 +1009,5 @@ declare const UITableTooltipActions: React.FC<{
|
|
|
1005
1009
|
*/
|
|
1006
1010
|
declare const UITableTooltip: React.FC<React.PropsWithChildren>;
|
|
1007
1011
|
//#endregion
|
|
1008
|
-
export {
|
|
1009
|
-
//# sourceMappingURL=index-
|
|
1012
|
+
export { TUITableHeadRow as $, FilterValue as A, TTableRowContext as B, ActiveFilter as C, UITableBadgeDisplay as Ct, FilterDefinition as D, DateRangeFilterValue as E, TTableContext as F, TUITableCellSelect as G, TUITableBody as H, TTableFilterContext as I, TUITableFooter as J, TUITableColumn as K, TTableHeadRowContext as L, RowData as M, SingleTagFilterValue as N, FilterOption as O, TTableBodyContext as P, TUITableHeadCellSelect as Q, TTableInnerTableContext as R, UITableBody as S, UITableBooleanDisplay as St, CsvCell as T, TUITableCell as U, TTableVirtualizerContext as V, TUITableCellActions as W, TUITableHeadCell as X, TUITableHead as Y, TUITableHeadCellOption as Z, UITableFooter as _, UITableListDisplay as _t, UITableFilter as a, TableProviderProps as at, UITableCellActions as b, UITableDateDisplay as bt, UITableRow as c, UITableUserDataDisplay as ct, UITableInnerTable as d, UITableRemoveButton as dt, TUITableInnerTable as et, UITableHeadRow as f, UITableProgressDisplay as ft, UITableHead as g, UITableMoreButton as gt, UITableHeadCell as h, UITableNameDisplay as ht, UITableProvider as i, TUITableWrapper as it, NumberFilterValue as j, FilterType as k, UITableLoadMore as l, UITableStatusDisplay as lt, UITableHeadCellOption as m, UITablePermalink as mt, UITableTooltipActions as n, TUITableLoadMore as nt, UITableContainer as o, TagFilterValue as ot, UITableHeadCellSelect as p, UITablePhoneNumberDisplay as pt, TUITableEmptyDisplay as q, UITableTooltipFilter as r, TUITableRow as rt, UITableWrapper as s, TextFilterValue as st, UITableTooltip as t, TUITableInnerWrapper as tt, UITableInnerWrapper as u, UITableStatisticDisplay as ut, UITableEmptyDisplay as v, UITableEmailDisplay as vt, BooleanFilterValue as w, UITableCell as x, UITableCurrencyDisplay as xt, UITableCellSelect as y, UITableDescriptionDisplay as yt, TTableInnerWrapperContext as z };
|
|
1013
|
+
//# sourceMappingURL=index-DWGlOnex.d.cts.map
|