@fanvue/ui 3.45.0 → 3.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,6 +4,11 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
4
  const jsxRuntime = require("react/jsx-runtime");
5
5
  const React = require("react");
6
6
  const cn = require("../../utils/cn.cjs");
7
+ const ChevronDownIcon = require("../Icons/ChevronDownIcon.cjs");
8
+ const ChevronLeftIcon = require("../Icons/ChevronLeftIcon.cjs");
9
+ const ChevronRightIcon = require("../Icons/ChevronRightIcon.cjs");
10
+ const DropdownMenuRoot = require("../DropdownMenu/DropdownMenuRoot.cjs");
11
+ const DropdownMenuItem = require("../DropdownMenu/DropdownMenuItem.cjs");
7
12
  function _interopNamespaceDefault(e) {
8
13
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
9
14
  if (e) {
@@ -21,50 +26,88 @@ function _interopNamespaceDefault(e) {
21
26
  return Object.freeze(n);
22
27
  }
23
28
  const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
24
- const TablePagination = React__namespace.forwardRef(
25
- ({ className, layout = "desktop", leadingSlot, paginationSlot, summary, ...props }, ref) => {
26
- if (layout === "mobile") {
27
- return /* @__PURE__ */ jsxRuntime.jsxs(
28
- "div",
29
- {
30
- ref,
31
- className: cn.cn("flex w-full max-w-full flex-col gap-4 px-3 py-3", className),
32
- ...props,
33
- children: [
34
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-center gap-2", children: [
35
- leadingSlot != null ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-w-0 shrink-0 items-center", children: leadingSlot }) : null,
36
- /* @__PURE__ */ jsxRuntime.jsx(
37
- "div",
38
- {
39
- className: cn.cn(
40
- "typography-description-12px-regular min-w-0 flex-1 text-content-secondary",
41
- leadingSlot == null && "text-left",
42
- leadingSlot != null && "text-right"
43
- ),
44
- children: summary
45
- }
46
- )
47
- ] }),
48
- paginationSlot != null ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center", children: paginationSlot }) : null
49
- ]
50
- }
51
- );
52
- }
29
+ const TableCardPagination = React__namespace.forwardRef(
30
+ ({
31
+ className,
32
+ page,
33
+ pageCount,
34
+ onPageChange,
35
+ pageSize,
36
+ pageSizeOptions,
37
+ onPageSizeChange,
38
+ formatPage = (current, total) => `${current} of ${total}`,
39
+ formatPageSize = (size) => `${size} rows`,
40
+ navigationLabel = "Pagination",
41
+ previousLabel = "Previous page",
42
+ nextLabel = "Next page",
43
+ pageSizeLabel = "Rows per page",
44
+ ...props
45
+ }, ref) => {
46
+ const total = Math.max(pageCount, 1);
47
+ const stepButton = "inline-flex size-4 shrink-0 cursor-pointer items-center justify-center border-none bg-transparent p-0 text-icons-primary disabled:cursor-default disabled:opacity-40";
53
48
  return /* @__PURE__ */ jsxRuntime.jsxs(
54
49
  "div",
55
50
  {
56
51
  ref,
57
- className: cn.cn("flex w-full flex-wrap items-center gap-3 px-3 py-3", className),
52
+ className: cn.cn(
53
+ "typography-description-12px-regular flex h-8 shrink-0 items-center gap-6 border-border-primary border-t-[0.5px] bg-surface-table-row px-4 text-content-primary",
54
+ className
55
+ ),
58
56
  ...props,
59
57
  children: [
60
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-h-0 min-w-0 flex-1 items-center", children: leadingSlot }),
61
- paginationSlot != null ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex shrink-0 items-center justify-center", children: paginationSlot }) : null,
62
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "typography-description-12px-regular min-w-0 flex-1 text-right text-content-secondary", children: summary })
58
+ /* @__PURE__ */ jsxRuntime.jsxs("nav", { "aria-label": navigationLabel, className: "flex items-center gap-2", children: [
59
+ /* @__PURE__ */ jsxRuntime.jsx(
60
+ "button",
61
+ {
62
+ type: "button",
63
+ "aria-label": previousLabel,
64
+ className: stepButton,
65
+ disabled: page <= 1,
66
+ onClick: () => onPageChange(page - 1),
67
+ children: /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon.ChevronLeftIcon, { size: 16 })
68
+ }
69
+ ),
70
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "whitespace-nowrap", children: formatPage(page, total) }),
71
+ /* @__PURE__ */ jsxRuntime.jsx(
72
+ "button",
73
+ {
74
+ type: "button",
75
+ "aria-label": nextLabel,
76
+ className: stepButton,
77
+ disabled: page >= pageCount,
78
+ onClick: () => onPageChange(page + 1),
79
+ children: /* @__PURE__ */ jsxRuntime.jsx(ChevronRightIcon.ChevronRightIcon, { size: 16 })
80
+ }
81
+ )
82
+ ] }),
83
+ /* @__PURE__ */ jsxRuntime.jsxs(DropdownMenuRoot.DropdownMenu, { children: [
84
+ /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuRoot.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
85
+ "button",
86
+ {
87
+ type: "button",
88
+ "aria-label": `${pageSizeLabel}, ${formatPageSize(pageSize)}`,
89
+ className: "typography-description-12px-regular inline-flex cursor-pointer items-center gap-2 whitespace-nowrap border-none bg-transparent p-0 text-content-primary",
90
+ children: [
91
+ formatPageSize(pageSize),
92
+ /* @__PURE__ */ jsxRuntime.jsx(ChevronDownIcon.ChevronDownIcon, { size: 16, className: "text-icons-primary", "aria-hidden": true })
93
+ ]
94
+ }
95
+ ) }),
96
+ /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuRoot.DropdownMenuContent, { align: "start", children: pageSizeOptions.map((option) => /* @__PURE__ */ jsxRuntime.jsx(
97
+ DropdownMenuItem.DropdownMenuItem,
98
+ {
99
+ selected: option === pageSize,
100
+ onSelect: () => onPageSizeChange(option),
101
+ children: formatPageSize(option)
102
+ },
103
+ option
104
+ )) })
105
+ ] })
63
106
  ]
64
107
  }
65
108
  );
66
109
  }
67
110
  );
68
- TablePagination.displayName = "TablePagination";
69
- exports.TablePagination = TablePagination;
111
+ TableCardPagination.displayName = "TableCardPagination";
112
+ exports.TableCardPagination = TableCardPagination;
70
113
  //# sourceMappingURL=TablePagination.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"TablePagination.cjs","sources":["../../../../src/components/Table/TablePagination.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { cn } from \"@/utils/cn\";\n\n/** Layout preset for the pagination bar — desktop (range on the right) or stacked mobile. */\nexport type TablePaginationLayout = \"desktop\" | \"mobile\";\n\nexport interface TablePaginationProps extends React.HTMLAttributes<HTMLDivElement> {\n /** Layout preset. @default \"desktop\" */\n layout?: TablePaginationLayout;\n /** Left (desktop) or top row (mobile) content, e.g. rows-per-page {@link Select}. */\n leadingSlot?: React.ReactNode;\n /** Center (desktop) or bottom row (mobile) content, e.g. {@link Pagination}. */\n paginationSlot?: React.ReactNode;\n /** Summary text or node (e.g. current range and total). */\n summary: React.ReactNode;\n}\n\n/**\n * Footer bar for data tables: rows-per-page control, page navigation, and\n * range summary. Pair `paginationSlot` with {@link Pagination} for numbered\n * controls.\n *\n * v2 sits flush inside {@link TableCard} (`px-3` matches the card's inner\n * gutter); the chip styling now lives on the {@link TableRowsPerPageSelect}\n * trigger itself.\n *\n * @example\n * ```tsx\n * <TablePagination\n * leadingSlot={<TableRowsPerPageSelect />}\n * paginationSlot={<Pagination totalPages={5} currentPage={2} onPageChange={setPage} />}\n * summary=\"20–30 of 100 rows\"\n * />\n * ```\n */\nexport const TablePagination = React.forwardRef<HTMLDivElement, TablePaginationProps>(\n ({ className, layout = \"desktop\", leadingSlot, paginationSlot, summary, ...props }, ref) => {\n if (layout === \"mobile\") {\n return (\n <div\n ref={ref}\n className={cn(\"flex w-full max-w-full flex-col gap-4 px-3 py-3\", className)}\n {...props}\n >\n <div className=\"flex w-full items-center gap-2\">\n {leadingSlot != null ? (\n <div className=\"flex min-w-0 shrink-0 items-center\">{leadingSlot}</div>\n ) : null}\n <div\n className={cn(\n \"typography-description-12px-regular min-w-0 flex-1 text-content-secondary\",\n leadingSlot == null && \"text-left\",\n leadingSlot != null && \"text-right\",\n )}\n >\n {summary}\n </div>\n </div>\n {paginationSlot != null ? (\n <div className=\"flex justify-center\">{paginationSlot}</div>\n ) : null}\n </div>\n );\n }\n\n return (\n <div\n ref={ref}\n className={cn(\"flex w-full flex-wrap items-center gap-3 px-3 py-3\", className)}\n {...props}\n >\n <div className=\"flex min-h-0 min-w-0 flex-1 items-center\">{leadingSlot}</div>\n {paginationSlot != null ? (\n <div className=\"flex shrink-0 items-center justify-center\">{paginationSlot}</div>\n ) : null}\n <div className=\"typography-description-12px-regular min-w-0 flex-1 text-right text-content-secondary\">\n {summary}\n </div>\n </div>\n );\n },\n);\nTablePagination.displayName = \"TablePagination\";\n"],"names":["React","jsxs","cn","jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAmCO,MAAM,kBAAkBA,iBAAM;AAAA,EACnC,CAAC,EAAE,WAAW,SAAS,WAAW,aAAa,gBAAgB,SAAS,GAAG,MAAA,GAAS,QAAQ;AAC1F,QAAI,WAAW,UAAU;AACvB,aACEC,2BAAAA;AAAAA,QAAC;AAAA,QAAA;AAAA,UACC;AAAA,UACA,WAAWC,GAAAA,GAAG,mDAAmD,SAAS;AAAA,UACzE,GAAG;AAAA,UAEJ,UAAA;AAAA,YAAAD,2BAAAA,KAAC,OAAA,EAAI,WAAU,kCACZ,UAAA;AAAA,cAAA,eAAe,OACdE,2BAAAA,IAAC,OAAA,EAAI,WAAU,sCAAsC,uBAAY,IAC/D;AAAA,cACJA,2BAAAA;AAAAA,gBAAC;AAAA,gBAAA;AAAA,kBACC,WAAWD,GAAAA;AAAAA,oBACT;AAAA,oBACA,eAAe,QAAQ;AAAA,oBACvB,eAAe,QAAQ;AAAA,kBAAA;AAAA,kBAGxB,UAAA;AAAA,gBAAA;AAAA,cAAA;AAAA,YACH,GACF;AAAA,YACC,kBAAkB,OACjBC,2BAAAA,IAAC,SAAI,WAAU,uBAAuB,0BAAe,IACnD;AAAA,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IAGV;AAEA,WACEF,2BAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,WAAWC,GAAAA,GAAG,sDAAsD,SAAS;AAAA,QAC5E,GAAG;AAAA,QAEJ,UAAA;AAAA,UAAAC,2BAAAA,IAAC,OAAA,EAAI,WAAU,4CAA4C,UAAA,aAAY;AAAA,UACtE,kBAAkB,OACjBA,2BAAAA,IAAC,SAAI,WAAU,6CAA6C,0BAAe,IACzE;AAAA,UACJA,2BAAAA,IAAC,OAAA,EAAI,WAAU,wFACZ,UAAA,QAAA,CACH;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAGN;AACF;AACA,gBAAgB,cAAc;;"}
1
+ {"version":3,"file":"TablePagination.cjs","sources":["../../../../src/components/Table/TablePagination.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { cn } from \"@/utils/cn\";\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuTrigger,\n} from \"../DropdownMenu/DropdownMenu\";\nimport { ChevronDownIcon } from \"../Icons/ChevronDownIcon\";\nimport { ChevronLeftIcon } from \"../Icons/ChevronLeftIcon\";\nimport { ChevronRightIcon } from \"../Icons/ChevronRightIcon\";\n\nexport interface TableCardPaginationProps\n extends Omit<React.HTMLAttributes<HTMLDivElement>, \"onChange\"> {\n /** Current page, 1-based. */\n page: number;\n /** Total number of pages. */\n pageCount: number;\n /** Called with the 1-based page to show. */\n onPageChange: (page: number) => void;\n /** Rows per page currently shown. */\n pageSize: number;\n /** Choices offered in the rows-per-page menu. */\n pageSizeOptions: readonly number[];\n /** Called with the new rows-per-page choice. */\n onPageSizeChange: (pageSize: number) => void;\n /** Formats the page indicator. @default (page, pageCount) => `${page} of ${pageCount}` */\n formatPage?: (page: number, pageCount: number) => string;\n /** Formats a rows-per-page choice. @default (pageSize) => `${pageSize} rows` */\n formatPageSize?: (pageSize: number) => string;\n /** Accessible name of the page navigation. @default \"Pagination\" */\n navigationLabel?: string;\n /** Accessible name of the previous-page button. @default \"Previous page\" */\n previousLabel?: string;\n /** Accessible name of the next-page button. @default \"Next page\" */\n nextLabel?: string;\n /** Accessible name of the rows-per-page menu trigger, followed by the current choice (e.g. \"Rows per page, 10 rows\"). @default \"Rows per page\" */\n pageSizeLabel?: string;\n}\n\n/**\n * 32px footer that closes a {@link TableCard}: previous, \"1 of N\", next, then\n * a rows-per-page menu, on `surface-table-row`. Place it after\n * {@link TableScrollArea} inside the card.\n *\n * @example\n * ```tsx\n * <TableCard>\n * <TableScrollArea>…</TableScrollArea>\n * <TableCardPagination\n * page={page}\n * pageCount={12}\n * onPageChange={setPage}\n * pageSize={10}\n * pageSizeOptions={[10, 25, 50]}\n * onPageSizeChange={setPageSize}\n * />\n * </TableCard>\n * ```\n */\nexport const TableCardPagination = React.forwardRef<HTMLDivElement, TableCardPaginationProps>(\n (\n {\n className,\n page,\n pageCount,\n onPageChange,\n pageSize,\n pageSizeOptions,\n onPageSizeChange,\n formatPage = (current, total) => `${current} of ${total}`,\n formatPageSize = (size) => `${size} rows`,\n navigationLabel = \"Pagination\",\n previousLabel = \"Previous page\",\n nextLabel = \"Next page\",\n pageSizeLabel = \"Rows per page\",\n ...props\n },\n ref,\n ) => {\n const total = Math.max(pageCount, 1);\n const stepButton =\n \"inline-flex size-4 shrink-0 cursor-pointer items-center justify-center border-none bg-transparent p-0 text-icons-primary disabled:cursor-default disabled:opacity-40\";\n return (\n <div\n ref={ref}\n className={cn(\n \"typography-description-12px-regular flex h-8 shrink-0 items-center gap-6 border-border-primary border-t-[0.5px] bg-surface-table-row px-4 text-content-primary\",\n className,\n )}\n {...props}\n >\n <nav aria-label={navigationLabel} className=\"flex items-center gap-2\">\n <button\n type=\"button\"\n aria-label={previousLabel}\n className={stepButton}\n disabled={page <= 1}\n onClick={() => onPageChange(page - 1)}\n >\n <ChevronLeftIcon size={16} />\n </button>\n <span className=\"whitespace-nowrap\">{formatPage(page, total)}</span>\n <button\n type=\"button\"\n aria-label={nextLabel}\n className={stepButton}\n disabled={page >= pageCount}\n onClick={() => onPageChange(page + 1)}\n >\n <ChevronRightIcon size={16} />\n </button>\n </nav>\n <DropdownMenu>\n <DropdownMenuTrigger asChild>\n <button\n type=\"button\"\n aria-label={`${pageSizeLabel}, ${formatPageSize(pageSize)}`}\n className=\"typography-description-12px-regular inline-flex cursor-pointer items-center gap-2 whitespace-nowrap border-none bg-transparent p-0 text-content-primary\"\n >\n {formatPageSize(pageSize)}\n <ChevronDownIcon size={16} className=\"text-icons-primary\" aria-hidden />\n </button>\n </DropdownMenuTrigger>\n <DropdownMenuContent align=\"start\">\n {pageSizeOptions.map((option) => (\n <DropdownMenuItem\n key={option}\n selected={option === pageSize}\n onSelect={() => onPageSizeChange(option)}\n >\n {formatPageSize(option)}\n </DropdownMenuItem>\n ))}\n </DropdownMenuContent>\n </DropdownMenu>\n </div>\n );\n },\n);\nTableCardPagination.displayName = \"TableCardPagination\";\n"],"names":["React","jsxs","cn","jsx","ChevronLeftIcon","ChevronRightIcon","DropdownMenu","DropdownMenuTrigger","ChevronDownIcon","DropdownMenuContent","DropdownMenuItem"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DO,MAAM,sBAAsBA,iBAAM;AAAA,EACvC,CACE;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,aAAa,CAAC,SAAS,UAAU,GAAG,OAAO,OAAO,KAAK;AAAA,IACvD,iBAAiB,CAAC,SAAS,GAAG,IAAI;AAAA,IAClC,kBAAkB;AAAA,IAClB,gBAAgB;AAAA,IAChB,YAAY;AAAA,IACZ,gBAAgB;AAAA,IAChB,GAAG;AAAA,EAAA,GAEL,QACG;AACH,UAAM,QAAQ,KAAK,IAAI,WAAW,CAAC;AACnC,UAAM,aACJ;AACF,WACEC,2BAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,WAAWC,GAAAA;AAAAA,UACT;AAAA,UACA;AAAA,QAAA;AAAA,QAED,GAAG;AAAA,QAEJ,UAAA;AAAA,UAAAD,2BAAAA,KAAC,OAAA,EAAI,cAAY,iBAAiB,WAAU,2BAC1C,UAAA;AAAA,YAAAE,2BAAAA;AAAAA,cAAC;AAAA,cAAA;AAAA,gBACC,MAAK;AAAA,gBACL,cAAY;AAAA,gBACZ,WAAW;AAAA,gBACX,UAAU,QAAQ;AAAA,gBAClB,SAAS,MAAM,aAAa,OAAO,CAAC;AAAA,gBAEpC,UAAAA,2BAAAA,IAACC,gBAAAA,iBAAA,EAAgB,MAAM,GAAA,CAAI;AAAA,cAAA;AAAA,YAAA;AAAA,2CAE5B,QAAA,EAAK,WAAU,qBAAqB,UAAA,WAAW,MAAM,KAAK,GAAE;AAAA,YAC7DD,2BAAAA;AAAAA,cAAC;AAAA,cAAA;AAAA,gBACC,MAAK;AAAA,gBACL,cAAY;AAAA,gBACZ,WAAW;AAAA,gBACX,UAAU,QAAQ;AAAA,gBAClB,SAAS,MAAM,aAAa,OAAO,CAAC;AAAA,gBAEpC,UAAAA,2BAAAA,IAACE,iBAAAA,kBAAA,EAAiB,MAAM,GAAA,CAAI;AAAA,cAAA;AAAA,YAAA;AAAA,UAC9B,GACF;AAAA,0CACCC,iBAAAA,cAAA,EACC,UAAA;AAAA,YAAAH,2BAAAA,IAACI,iBAAAA,qBAAA,EAAoB,SAAO,MAC1B,UAAAN,2BAAAA;AAAAA,cAAC;AAAA,cAAA;AAAA,gBACC,MAAK;AAAA,gBACL,cAAY,GAAG,aAAa,KAAK,eAAe,QAAQ,CAAC;AAAA,gBACzD,WAAU;AAAA,gBAET,UAAA;AAAA,kBAAA,eAAe,QAAQ;AAAA,iDACvBO,gBAAAA,iBAAA,EAAgB,MAAM,IAAI,WAAU,sBAAqB,eAAW,KAAA,CAAC;AAAA,gBAAA;AAAA,cAAA;AAAA,YAAA,GAE1E;AAAA,2CACCC,iBAAAA,qBAAA,EAAoB,OAAM,SACxB,UAAA,gBAAgB,IAAI,CAAC,WACpBN,2BAAAA;AAAAA,cAACO,iBAAAA;AAAAA,cAAA;AAAA,gBAEC,UAAU,WAAW;AAAA,gBACrB,UAAU,MAAM,iBAAiB,MAAM;AAAA,gBAEtC,yBAAe,MAAM;AAAA,cAAA;AAAA,cAJjB;AAAA,YAAA,CAMR,EAAA,CACH;AAAA,UAAA,EAAA,CACF;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAGN;AACF;AACA,oBAAoB,cAAc;;"}
@@ -66,6 +66,7 @@ const BankIcon = require("./components/Icons/BankIcon.cjs");
66
66
  const BellIcon = require("./components/Icons/BellIcon.cjs");
67
67
  const BellOffIcon = require("./components/Icons/BellOffIcon.cjs");
68
68
  const BoltIcon = require("./components/Icons/BoltIcon.cjs");
69
+ const BookmarkIcon = require("./components/Icons/BookmarkIcon.cjs");
69
70
  const BulbIcon = require("./components/Icons/BulbIcon.cjs");
70
71
  const Calendar2Icon = require("./components/Icons/Calendar2Icon.cjs");
71
72
  const CalendarIcon = require("./components/Icons/CalendarIcon.cjs");
@@ -390,6 +391,7 @@ exports.BankIcon = BankIcon.BankIcon;
390
391
  exports.BellIcon = BellIcon.BellIcon;
391
392
  exports.BellOffIcon = BellOffIcon.BellOffIcon;
392
393
  exports.BoltIcon = BoltIcon.BoltIcon;
394
+ exports.BookmarkIcon = BookmarkIcon.BookmarkIcon;
393
395
  exports.BulbIcon = BulbIcon.BulbIcon;
394
396
  exports.Calendar2Icon = Calendar2Icon.Calendar2Icon;
395
397
  exports.CalendarIcon = CalendarIcon.CalendarIcon;
@@ -598,17 +600,20 @@ exports.TableHead = Table.TableHead;
598
600
  exports.TableHeader = Table.TableHeader;
599
601
  exports.TableLineClamp = Table.TableLineClamp;
600
602
  exports.TableMediaThumbnail = Table.TableMediaThumbnail;
603
+ exports.TableMediaTile = Table.TableMediaTile;
601
604
  exports.TablePillProgressLayout = Table.TablePillProgressLayout;
602
605
  exports.TableProgressTrack = Table.TableProgressTrack;
603
606
  exports.TableRow = Table.TableRow;
604
- exports.TableRowsPerPageSelect = Table.TableRowsPerPageSelect;
605
607
  exports.TableScrollArea = Table.TableScrollArea;
606
608
  exports.TableSortLabel = Table.TableSortLabel;
607
609
  exports.TableStackedText = Table.TableStackedText;
608
610
  exports.TableStatusDot = Table.TableStatusDot;
609
611
  exports.TableToolbar = Table.TableToolbar;
612
+ exports.TableToolbarAction = Table.TableToolbarAction;
613
+ exports.TableToolbarButton = Table.TableToolbarButton;
614
+ exports.TableToolbarSearch = Table.TableToolbarSearch;
610
615
  exports.TableMobileRow = TableMobileRow.TableMobileRow;
611
- exports.TablePagination = TablePagination.TablePagination;
616
+ exports.TableCardPagination = TablePagination.TableCardPagination;
612
617
  exports.Tabs = Tabs.Tabs;
613
618
  exports.TabsContent = TabsContent.TabsContent;
614
619
  exports.TabsList = TabsList.TabsList;
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,48 @@
1
+ "use client";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import * as React from "react";
4
+ import { BaseIcon } from "./BaseIcon.mjs";
5
+ const VARIANTS = {
6
+ 16: {
7
+ outlined: [
8
+ {
9
+ d: "M12.713 15.167c-.34 0-.713-.1-1.073-.307l-3.253-1.807c-.194-.106-.574-.106-.767 0L4.367 14.86c-.66.367-1.334.407-1.847.1-.513-.3-.807-.907-.807-1.66V3.907A3.08 3.08 0 0 1 4.787.833h6.433a3.08 3.08 0 0 1 3.073 3.074V13.3c0 .753-.293 1.36-.806 1.66-.234.14-.5.207-.774.207M8 11.973c.313 0 .62.067.867.207l3.253 1.807c.34.193.653.233.853.113s.314-.407.314-.8V3.907a2.08 2.08 0 0 0-2.074-2.074H4.787a2.08 2.08 0 0 0-2.074 2.074V13.3c0 .393.114.687.314.8s.506.08.853-.113l3.253-1.807c.247-.14.554-.207.867-.207"
10
+ }
11
+ ],
12
+ filled: [
13
+ {
14
+ d: "M11.213 1.333H4.787a2.58 2.58 0 0 0-2.574 2.574V13.3c0 1.2.86 1.707 1.914 1.127L7.38 12.62c.347-.193.907-.193 1.247 0l3.253 1.807c1.053.586 1.913.08 1.913-1.127V3.907a2.59 2.59 0 0 0-2.58-2.574"
15
+ }
16
+ ]
17
+ },
18
+ 24: {
19
+ outlined: [
20
+ {
21
+ d: "M19.07 22.75c-.51 0-1.07-.15-1.61-.46l-4.88-2.71c-.29-.16-.86-.16-1.15 0l-4.88 2.71c-.99.55-2 .61-2.77.15-.77-.45-1.21-1.36-1.21-2.49V5.86c0-2.54 2.07-4.61 4.61-4.61h9.65c2.54 0 4.61 2.07 4.61 4.61v14.09c0 1.13-.44 2.04-1.21 2.49-.35.21-.75.31-1.16.31M12 17.96c.47 0 .93.1 1.3.31l4.88 2.71c.51.29.98.35 1.28.17s.47-.61.47-1.2V5.86c0-1.71-1.4-3.11-3.11-3.11H7.18a3.12 3.12 0 0 0-3.11 3.11v14.09c0 .59.17 1.03.47 1.2s.76.12 1.28-.17l4.88-2.71c.37-.21.83-.31 1.3-.31"
22
+ }
23
+ ],
24
+ filled: [
25
+ {
26
+ d: "M16.82 2H7.18C5.05 2 3.32 3.74 3.32 5.86v14.09c0 1.8 1.29 2.56 2.87 1.69l4.88-2.71c.52-.29 1.36-.29 1.87 0l4.88 2.71c1.58.88 2.87.12 2.87-1.69V5.86C20.68 3.74 18.95 2 16.82 2"
27
+ }
28
+ ]
29
+ },
30
+ 32: {
31
+ outlined: [
32
+ {
33
+ d: "M25.427 30.333c-.68 0-1.427-.2-2.147-.613l-6.507-3.613c-.386-.214-1.146-.214-1.533 0L8.733 29.72c-1.32.733-2.666.813-3.693.2-1.027-.6-1.613-1.813-1.613-3.32V7.813a6.157 6.157 0 0 1 6.146-6.146H22.44a6.157 6.157 0 0 1 6.147 6.146V26.6c0 1.507-.587 2.72-1.613 3.32-.467.28-1 .413-1.547.413M16 23.947c.627 0 1.24.133 1.733.413l6.507 3.613c.68.387 1.307.467 1.707.227s.627-.813.627-1.6V7.813a4.16 4.16 0 0 0-4.147-4.146H9.573a4.16 4.16 0 0 0-4.146 4.146V26.6c0 .787.226 1.373.626 1.6s1.014.16 1.707-.227l6.507-3.613c.493-.28 1.107-.413 1.733-.413"
34
+ }
35
+ ],
36
+ filled: [
37
+ {
38
+ d: "M22.427 2.667H9.573c-2.84 0-5.146 2.32-5.146 5.146V26.6c0 2.4 1.72 3.413 3.826 2.253l6.507-3.613c.694-.387 1.813-.387 2.493 0l6.507 3.613c2.107 1.174 3.827.16 3.827-2.253V7.813c-.014-2.826-2.32-5.146-5.16-5.146"
39
+ }
40
+ ]
41
+ }
42
+ };
43
+ const BookmarkIcon = React.forwardRef((props, ref) => /* @__PURE__ */ jsx(BaseIcon, { ref, variants: VARIANTS, ...props }));
44
+ BookmarkIcon.displayName = "BookmarkIcon";
45
+ export {
46
+ BookmarkIcon
47
+ };
48
+ //# sourceMappingURL=BookmarkIcon.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookmarkIcon.mjs","sources":["../../../src/components/Icons/BookmarkIcon.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { BaseIcon } from \"./BaseIcon\";\nimport type { BaseIconProps, IconVariants } from \"./types\";\n\nconst VARIANTS: IconVariants = {\n 16: {\n outlined: [\n {\n d: \"M12.713 15.167c-.34 0-.713-.1-1.073-.307l-3.253-1.807c-.194-.106-.574-.106-.767 0L4.367 14.86c-.66.367-1.334.407-1.847.1-.513-.3-.807-.907-.807-1.66V3.907A3.08 3.08 0 0 1 4.787.833h6.433a3.08 3.08 0 0 1 3.073 3.074V13.3c0 .753-.293 1.36-.806 1.66-.234.14-.5.207-.774.207M8 11.973c.313 0 .62.067.867.207l3.253 1.807c.34.193.653.233.853.113s.314-.407.314-.8V3.907a2.08 2.08 0 0 0-2.074-2.074H4.787a2.08 2.08 0 0 0-2.074 2.074V13.3c0 .393.114.687.314.8s.506.08.853-.113l3.253-1.807c.247-.14.554-.207.867-.207\",\n },\n ],\n filled: [\n {\n d: \"M11.213 1.333H4.787a2.58 2.58 0 0 0-2.574 2.574V13.3c0 1.2.86 1.707 1.914 1.127L7.38 12.62c.347-.193.907-.193 1.247 0l3.253 1.807c1.053.586 1.913.08 1.913-1.127V3.907a2.59 2.59 0 0 0-2.58-2.574\",\n },\n ],\n },\n 24: {\n outlined: [\n {\n d: \"M19.07 22.75c-.51 0-1.07-.15-1.61-.46l-4.88-2.71c-.29-.16-.86-.16-1.15 0l-4.88 2.71c-.99.55-2 .61-2.77.15-.77-.45-1.21-1.36-1.21-2.49V5.86c0-2.54 2.07-4.61 4.61-4.61h9.65c2.54 0 4.61 2.07 4.61 4.61v14.09c0 1.13-.44 2.04-1.21 2.49-.35.21-.75.31-1.16.31M12 17.96c.47 0 .93.1 1.3.31l4.88 2.71c.51.29.98.35 1.28.17s.47-.61.47-1.2V5.86c0-1.71-1.4-3.11-3.11-3.11H7.18a3.12 3.12 0 0 0-3.11 3.11v14.09c0 .59.17 1.03.47 1.2s.76.12 1.28-.17l4.88-2.71c.37-.21.83-.31 1.3-.31\",\n },\n ],\n filled: [\n {\n d: \"M16.82 2H7.18C5.05 2 3.32 3.74 3.32 5.86v14.09c0 1.8 1.29 2.56 2.87 1.69l4.88-2.71c.52-.29 1.36-.29 1.87 0l4.88 2.71c1.58.88 2.87.12 2.87-1.69V5.86C20.68 3.74 18.95 2 16.82 2\",\n },\n ],\n },\n 32: {\n outlined: [\n {\n d: \"M25.427 30.333c-.68 0-1.427-.2-2.147-.613l-6.507-3.613c-.386-.214-1.146-.214-1.533 0L8.733 29.72c-1.32.733-2.666.813-3.693.2-1.027-.6-1.613-1.813-1.613-3.32V7.813a6.157 6.157 0 0 1 6.146-6.146H22.44a6.157 6.157 0 0 1 6.147 6.146V26.6c0 1.507-.587 2.72-1.613 3.32-.467.28-1 .413-1.547.413M16 23.947c.627 0 1.24.133 1.733.413l6.507 3.613c.68.387 1.307.467 1.707.227s.627-.813.627-1.6V7.813a4.16 4.16 0 0 0-4.147-4.146H9.573a4.16 4.16 0 0 0-4.146 4.146V26.6c0 .787.226 1.373.626 1.6s1.014.16 1.707-.227l6.507-3.613c.493-.28 1.107-.413 1.733-.413\",\n },\n ],\n filled: [\n {\n d: \"M22.427 2.667H9.573c-2.84 0-5.146 2.32-5.146 5.146V26.6c0 2.4 1.72 3.413 3.826 2.253l6.507-3.613c.694-.387 1.813-.387 2.493 0l6.507 3.613c2.107 1.174 3.827.16 3.827-2.253V7.813c-.014-2.826-2.32-5.146-5.16-5.146\",\n },\n ],\n },\n};\n\n/** Props for {@link BookmarkIcon}. See {@link BaseIconProps} for the shared shape. */\nexport type BookmarkIconProps = BaseIconProps;\n\n/**\n * Bookmark icon. Renders at sizes 16, 24, or 32 px with outlined and filled variants.\n *\n * @example\n * ```tsx\n * <BookmarkIcon size={24} filled />\n * ```\n */\nexport const BookmarkIcon = React.forwardRef<SVGSVGElement, BookmarkIconProps>((props, ref) => (\n <BaseIcon ref={ref} variants={VARIANTS} {...props} />\n));\n\nBookmarkIcon.displayName = \"BookmarkIcon\";\n"],"names":[],"mappings":";;;;AAIA,MAAM,WAAyB;AAAA,EAC7B,IAAI;AAAA,IACF,UAAU;AAAA,MACR;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,IACL;AAAA,IAEF,QAAQ;AAAA,MACN;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,IACL;AAAA,EACF;AAAA,EAEF,IAAI;AAAA,IACF,UAAU;AAAA,MACR;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,IACL;AAAA,IAEF,QAAQ;AAAA,MACN;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,IACL;AAAA,EACF;AAAA,EAEF,IAAI;AAAA,IACF,UAAU;AAAA,MACR;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,IACL;AAAA,IAEF,QAAQ;AAAA,MACN;AAAA,QACE,GAAG;AAAA,MAAA;AAAA,IACL;AAAA,EACF;AAEJ;AAaO,MAAM,eAAe,MAAM,WAA6C,CAAC,OAAO,QACrF,oBAAC,UAAA,EAAS,KAAU,UAAU,UAAW,GAAG,OAAO,CACpD;AAED,aAAa,cAAc;"}