framepexls-ui-lib 0.3.16 → 0.3.18

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.
@@ -5,7 +5,8 @@ type KpiCardProps = {
5
5
  value: string | number;
6
6
  delta: string;
7
7
  help?: string;
8
+ clickable?: boolean;
8
9
  };
9
- declare function KpiCard({ label, value, delta, help }: KpiCardProps): react_jsx_runtime.JSX.Element;
10
+ declare function KpiCard({ label, value, delta, help, clickable }: KpiCardProps): react_jsx_runtime.JSX.Element;
10
11
 
11
12
  export { type KpiCardProps, KpiCard as default };
package/dist/KpiCard.d.ts CHANGED
@@ -5,7 +5,8 @@ type KpiCardProps = {
5
5
  value: string | number;
6
6
  delta: string;
7
7
  help?: string;
8
+ clickable?: boolean;
8
9
  };
9
- declare function KpiCard({ label, value, delta, help }: KpiCardProps): react_jsx_runtime.JSX.Element;
10
+ declare function KpiCard({ label, value, delta, help, clickable }: KpiCardProps): react_jsx_runtime.JSX.Element;
10
11
 
11
12
  export { type KpiCardProps, KpiCard as default };
package/dist/KpiCard.js CHANGED
@@ -38,22 +38,31 @@ function MotionNumber({ value, format }) {
38
38
  }, [value]);
39
39
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: format ? format(display) : Math.round(display).toLocaleString() });
40
40
  }
41
- function KpiCard({ label, value, delta, help }) {
42
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "rounded-2xl border border-white/50 bg-white/75 p-4 text-slate-900/90 backdrop-blur-sm dark:border-white/10 dark:bg-[var(--fx-surface)] dark:text-white", children: [
43
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center justify-between", children: [
44
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-slate-600 dark:text-white/80", children: label }),
45
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
46
- import_framer_motion.motion.span,
47
- {
48
- initial: { opacity: 0, y: -4 },
49
- animate: { opacity: 1, y: 0 },
50
- transition: { duration: 0.2 },
51
- className: "rounded-full bg-blue-600/10 px-2 py-0.5 text-[12px] font-semibold text-blue-700 dark:bg-blue-500/15 dark:text-blue-200",
52
- children: delta
53
- }
54
- )
55
- ] }),
56
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "mt-1 text-xl font-extrabold", children: typeof value === "number" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(MotionNumber, { value }) : value }),
57
- help && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "mt-0.5 text-[12px] text-slate-500 dark:text-white/70", children: help })
58
- ] });
41
+ function KpiCard({ label, value, delta, help, clickable }) {
42
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
43
+ import_framer_motion.motion.div,
44
+ {
45
+ whileHover: clickable ? { y: -2, boxShadow: "0 12px 30px rgba(15,23,42,0.18)" } : void 0,
46
+ whileTap: clickable ? { scale: 0.98 } : void 0,
47
+ transition: { type: "spring", stiffness: 260, damping: 20 },
48
+ className: `rounded-2xl border border-white/50 bg-white/75 p-4 text-slate-900/90 backdrop-blur-sm dark:border-white/10 dark:bg-[var(--fx-surface)] dark:text-white ${clickable ? "cursor-pointer ring-1 ring-transparent hover:ring-blue-400/60" : ""}`,
49
+ children: [
50
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center justify-between", children: [
51
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-slate-600 dark:text-white/80", children: label }),
52
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
53
+ import_framer_motion.motion.span,
54
+ {
55
+ initial: { opacity: 0, y: -4 },
56
+ animate: { opacity: 1, y: 0 },
57
+ transition: { duration: 0.2 },
58
+ className: "rounded-full bg-blue-600/10 px-2 py-0.5 text-[12px] font-semibold text-blue-700 dark:bg-blue-500/15 dark:text-blue-200",
59
+ children: delta
60
+ }
61
+ )
62
+ ] }),
63
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "mt-1 text-xl font-extrabold", children: typeof value === "number" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(MotionNumber, { value }) : value }),
64
+ help && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "mt-0.5 text-[12px] text-slate-500 dark:text-white/70", children: help })
65
+ ]
66
+ }
67
+ );
59
68
  }
package/dist/KpiCard.mjs CHANGED
@@ -15,24 +15,33 @@ function MotionNumber({ value, format }) {
15
15
  }, [value]);
16
16
  return /* @__PURE__ */ jsx("span", { children: format ? format(display) : Math.round(display).toLocaleString() });
17
17
  }
18
- function KpiCard({ label, value, delta, help }) {
19
- return /* @__PURE__ */ jsxs("div", { className: "rounded-2xl border border-white/50 bg-white/75 p-4 text-slate-900/90 backdrop-blur-sm dark:border-white/10 dark:bg-[var(--fx-surface)] dark:text-white", children: [
20
- /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
21
- /* @__PURE__ */ jsx("span", { className: "text-slate-600 dark:text-white/80", children: label }),
22
- /* @__PURE__ */ jsx(
23
- motion.span,
24
- {
25
- initial: { opacity: 0, y: -4 },
26
- animate: { opacity: 1, y: 0 },
27
- transition: { duration: 0.2 },
28
- className: "rounded-full bg-blue-600/10 px-2 py-0.5 text-[12px] font-semibold text-blue-700 dark:bg-blue-500/15 dark:text-blue-200",
29
- children: delta
30
- }
31
- )
32
- ] }),
33
- /* @__PURE__ */ jsx("div", { className: "mt-1 text-xl font-extrabold", children: typeof value === "number" ? /* @__PURE__ */ jsx(MotionNumber, { value }) : value }),
34
- help && /* @__PURE__ */ jsx("div", { className: "mt-0.5 text-[12px] text-slate-500 dark:text-white/70", children: help })
35
- ] });
18
+ function KpiCard({ label, value, delta, help, clickable }) {
19
+ return /* @__PURE__ */ jsxs(
20
+ motion.div,
21
+ {
22
+ whileHover: clickable ? { y: -2, boxShadow: "0 12px 30px rgba(15,23,42,0.18)" } : void 0,
23
+ whileTap: clickable ? { scale: 0.98 } : void 0,
24
+ transition: { type: "spring", stiffness: 260, damping: 20 },
25
+ className: `rounded-2xl border border-white/50 bg-white/75 p-4 text-slate-900/90 backdrop-blur-sm dark:border-white/10 dark:bg-[var(--fx-surface)] dark:text-white ${clickable ? "cursor-pointer ring-1 ring-transparent hover:ring-blue-400/60" : ""}`,
26
+ children: [
27
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
28
+ /* @__PURE__ */ jsx("span", { className: "text-slate-600 dark:text-white/80", children: label }),
29
+ /* @__PURE__ */ jsx(
30
+ motion.span,
31
+ {
32
+ initial: { opacity: 0, y: -4 },
33
+ animate: { opacity: 1, y: 0 },
34
+ transition: { duration: 0.2 },
35
+ className: "rounded-full bg-blue-600/10 px-2 py-0.5 text-[12px] font-semibold text-blue-700 dark:bg-blue-500/15 dark:text-blue-200",
36
+ children: delta
37
+ }
38
+ )
39
+ ] }),
40
+ /* @__PURE__ */ jsx("div", { className: "mt-1 text-xl font-extrabold", children: typeof value === "number" ? /* @__PURE__ */ jsx(MotionNumber, { value }) : value }),
41
+ help && /* @__PURE__ */ jsx("div", { className: "mt-0.5 text-[12px] text-slate-500 dark:text-white/70", children: help })
42
+ ]
43
+ }
44
+ );
36
45
  }
37
46
  export {
38
47
  KpiCard as default
@@ -0,0 +1,20 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import React__default from 'react';
3
+ import Button from './Button.mjs';
4
+
5
+ type ButtonColor = NonNullable<React__default.ComponentProps<typeof Button>["color"]>;
6
+ type SegmentedTabOption = {
7
+ value: string;
8
+ label: React__default.ReactNode;
9
+ };
10
+ type SegmentedTabsProps = {
11
+ value: string;
12
+ options: SegmentedTabOption[];
13
+ onChange: (value: string) => void;
14
+ color?: ButtonColor;
15
+ size?: "sm" | "md";
16
+ className?: string;
17
+ };
18
+ declare function SegmentedTabs({ value, options, onChange, color, size, className, }: SegmentedTabsProps): react_jsx_runtime.JSX.Element;
19
+
20
+ export { type SegmentedTabOption, type SegmentedTabsProps, SegmentedTabs as default };
@@ -0,0 +1,20 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import React__default from 'react';
3
+ import Button from './Button.js';
4
+
5
+ type ButtonColor = NonNullable<React__default.ComponentProps<typeof Button>["color"]>;
6
+ type SegmentedTabOption = {
7
+ value: string;
8
+ label: React__default.ReactNode;
9
+ };
10
+ type SegmentedTabsProps = {
11
+ value: string;
12
+ options: SegmentedTabOption[];
13
+ onChange: (value: string) => void;
14
+ color?: ButtonColor;
15
+ size?: "sm" | "md";
16
+ className?: string;
17
+ };
18
+ declare function SegmentedTabs({ value, options, onChange, color, size, className, }: SegmentedTabsProps): react_jsx_runtime.JSX.Element;
19
+
20
+ export { type SegmentedTabOption, type SegmentedTabsProps, SegmentedTabs as default };
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ "use client";
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all)
11
+ __defProp(target, name, { get: all[name], enumerable: true });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from))
16
+ if (!__hasOwnProp.call(to, key) && key !== except)
17
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
+ }
19
+ return to;
20
+ };
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+ var SegmentedTabs_exports = {};
31
+ __export(SegmentedTabs_exports, {
32
+ default: () => SegmentedTabs
33
+ });
34
+ module.exports = __toCommonJS(SegmentedTabs_exports);
35
+ var import_jsx_runtime = require("react/jsx-runtime");
36
+ var import_Button = __toESM(require("./Button"));
37
+ function SegmentedTabs({
38
+ value,
39
+ options,
40
+ onChange,
41
+ color = "rose",
42
+ size = "md",
43
+ className
44
+ }) {
45
+ const btnSize = size === "sm" ? "xs" : "sm";
46
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
47
+ "div",
48
+ {
49
+ className: [
50
+ "inline-flex rounded-2xl border border-slate-200 bg-slate-50 p-1.5 text-sm",
51
+ "dark:border-white/10 dark:bg-white/5",
52
+ className != null ? className : ""
53
+ ].join(" "),
54
+ children: options.map((opt) => {
55
+ const active = value === opt.value;
56
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
57
+ import_Button.default,
58
+ {
59
+ size: btnSize,
60
+ variant: active ? "primary" : "ghost",
61
+ color,
62
+ className: "px-4 rounded-xl",
63
+ onClick: () => {
64
+ if (opt.value !== value) onChange(opt.value);
65
+ },
66
+ children: opt.label
67
+ },
68
+ opt.value
69
+ );
70
+ })
71
+ }
72
+ );
73
+ }
@@ -0,0 +1,43 @@
1
+ "use client";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import Button from "./Button";
4
+ function SegmentedTabs({
5
+ value,
6
+ options,
7
+ onChange,
8
+ color = "rose",
9
+ size = "md",
10
+ className
11
+ }) {
12
+ const btnSize = size === "sm" ? "xs" : "sm";
13
+ return /* @__PURE__ */ jsx(
14
+ "div",
15
+ {
16
+ className: [
17
+ "inline-flex rounded-2xl border border-slate-200 bg-slate-50 p-1.5 text-sm",
18
+ "dark:border-white/10 dark:bg-white/5",
19
+ className != null ? className : ""
20
+ ].join(" "),
21
+ children: options.map((opt) => {
22
+ const active = value === opt.value;
23
+ return /* @__PURE__ */ jsx(
24
+ Button,
25
+ {
26
+ size: btnSize,
27
+ variant: active ? "primary" : "ghost",
28
+ color,
29
+ className: "px-4 rounded-xl",
30
+ onClick: () => {
31
+ if (opt.value !== value) onChange(opt.value);
32
+ },
33
+ children: opt.label
34
+ },
35
+ opt.value
36
+ );
37
+ })
38
+ }
39
+ );
40
+ }
41
+ export {
42
+ SegmentedTabs as default
43
+ };
package/dist/Table.d.mts CHANGED
@@ -14,6 +14,9 @@ type SortThProps = {
14
14
  colKey?: string;
15
15
  onGripDown?: (colKey: string, e: React__default.MouseEvent<HTMLSpanElement>) => void;
16
16
  };
17
+ declare const Table: React__default.ForwardRefExoticComponent<React__default.TableHTMLAttributes<HTMLTableElement> & {
18
+ dense?: boolean;
19
+ } & React__default.RefAttributes<HTMLTableElement>>;
17
20
  declare function Th({ children, w, align, className, }: {
18
21
  children: React__default.ReactNode;
19
22
  w?: string | number;
@@ -32,4 +35,4 @@ declare function AnimatedBody({ children, className }: {
32
35
  className?: string;
33
36
  }): react_jsx_runtime.JSX.Element;
34
37
 
35
- export { AnimatedBody, SortTh, Td, Th };
38
+ export { AnimatedBody, SortTh, Td, Th, Table as default };
package/dist/Table.d.ts CHANGED
@@ -14,6 +14,9 @@ type SortThProps = {
14
14
  colKey?: string;
15
15
  onGripDown?: (colKey: string, e: React__default.MouseEvent<HTMLSpanElement>) => void;
16
16
  };
17
+ declare const Table: React__default.ForwardRefExoticComponent<React__default.TableHTMLAttributes<HTMLTableElement> & {
18
+ dense?: boolean;
19
+ } & React__default.RefAttributes<HTMLTableElement>>;
17
20
  declare function Th({ children, w, align, className, }: {
18
21
  children: React__default.ReactNode;
19
22
  w?: string | number;
@@ -32,4 +35,4 @@ declare function AnimatedBody({ children, className }: {
32
35
  className?: string;
33
36
  }): react_jsx_runtime.JSX.Element;
34
37
 
35
- export { AnimatedBody, SortTh, Td, Th };
38
+ export { AnimatedBody, SortTh, Td, Th, Table as default };
package/dist/Table.js CHANGED
@@ -32,7 +32,8 @@ __export(Table_exports, {
32
32
  AnimatedBody: () => AnimatedBody,
33
33
  SortTh: () => SortTh,
34
34
  Td: () => Td,
35
- Th: () => Th
35
+ Th: () => Th,
36
+ default: () => Table_default
36
37
  });
37
38
  module.exports = __toCommonJS(Table_exports);
38
39
  var import_jsx_runtime = require("react/jsx-runtime");
@@ -45,6 +46,24 @@ function useMounted() {
45
46
  import_react.default.useEffect(() => setMounted(true), []);
46
47
  return mounted;
47
48
  }
49
+ function cx(...a) {
50
+ return a.filter(Boolean).join(" ");
51
+ }
52
+ const Table = import_react.default.forwardRef(function Table2({ className, dense = false, children, ...rest }, ref) {
53
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
54
+ "table",
55
+ {
56
+ ref,
57
+ className: cx(
58
+ "min-w-full table-auto text-left text-[13px] sm:text-sm",
59
+ dense && "text-xs",
60
+ className
61
+ ),
62
+ ...rest,
63
+ children
64
+ }
65
+ );
66
+ });
48
67
  function Th({
49
68
  children,
50
69
  w,
@@ -175,6 +194,7 @@ function AnimatedBody({ children, className }) {
175
194
  }
176
195
  );
177
196
  }
197
+ var Table_default = Table;
178
198
  // Annotate the CommonJS export names for ESM import in node:
179
199
  0 && (module.exports = {
180
200
  AnimatedBody,
package/dist/Table.mjs CHANGED
@@ -9,6 +9,24 @@ function useMounted() {
9
9
  React.useEffect(() => setMounted(true), []);
10
10
  return mounted;
11
11
  }
12
+ function cx(...a) {
13
+ return a.filter(Boolean).join(" ");
14
+ }
15
+ const Table = React.forwardRef(function Table2({ className, dense = false, children, ...rest }, ref) {
16
+ return /* @__PURE__ */ jsx(
17
+ "table",
18
+ {
19
+ ref,
20
+ className: cx(
21
+ "min-w-full table-auto text-left text-[13px] sm:text-sm",
22
+ dense && "text-xs",
23
+ className
24
+ ),
25
+ ...rest,
26
+ children
27
+ }
28
+ );
29
+ });
12
30
  function Th({
13
31
  children,
14
32
  w,
@@ -139,9 +157,11 @@ function AnimatedBody({ children, className }) {
139
157
  }
140
158
  );
141
159
  }
160
+ var Table_default = Table;
142
161
  export {
143
162
  AnimatedBody,
144
163
  SortTh,
145
164
  Td,
146
- Th
165
+ Th,
166
+ Table_default as default
147
167
  };
package/dist/index.d.mts CHANGED
@@ -11,7 +11,7 @@ export { ColumnItem, default as ColumnSelector } from './ColumnSelector.mjs';
11
11
  export { default as DateTimeField, DateTimeFieldProps } from './DateTimeField.mjs';
12
12
  export { ConfirmDialog, ConfirmDialogProps, Dialog, DialogBody, DialogField, DialogFooter, DialogHeader, DialogProps, FormDialog, FormDialogProps } from './Dialog.mjs';
13
13
  export { Content, default as Dropdown, Item, Label, Separator, Trigger } from './Dropdown.mjs';
14
- export { AnimatedBody, SortTh, Td, Th } from './Table.mjs';
14
+ export { AnimatedBody, SortTh, default as Table, Td, Th } from './Table.mjs';
15
15
  export { default as Pagination, PaginationProps } from './Pagination.mjs';
16
16
  export { default as InfoGrid, InfoItem } from './InfoGrid.mjs';
17
17
  export { default as ChartCard } from './ChartCard.mjs';
@@ -46,6 +46,7 @@ export { default as Link } from './Link.mjs';
46
46
  export { ToastProvider, useToast } from './Toast.mjs';
47
47
  export { default as StorageUsage, StorageUsageProps } from './StorageUsage.mjs';
48
48
  export { default as FileButton, FileButtonProps } from './FileButton.mjs';
49
+ export { SegmentedTabOption, default as SegmentedTabs, SegmentedTabsProps } from './SegmentedTabs.mjs';
49
50
  export { a as Animations } from './animations-CHrNeawW.mjs';
50
51
  export { default as MotionProvider } from './MotionProvider.mjs';
51
52
  export { default as CalendarPanel, CalendarPanelProps } from './CalendarPanel.mjs';
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ export { ColumnItem, default as ColumnSelector } from './ColumnSelector.js';
11
11
  export { default as DateTimeField, DateTimeFieldProps } from './DateTimeField.js';
12
12
  export { ConfirmDialog, ConfirmDialogProps, Dialog, DialogBody, DialogField, DialogFooter, DialogHeader, DialogProps, FormDialog, FormDialogProps } from './Dialog.js';
13
13
  export { Content, default as Dropdown, Item, Label, Separator, Trigger } from './Dropdown.js';
14
- export { AnimatedBody, SortTh, Td, Th } from './Table.js';
14
+ export { AnimatedBody, SortTh, default as Table, Td, Th } from './Table.js';
15
15
  export { default as Pagination, PaginationProps } from './Pagination.js';
16
16
  export { default as InfoGrid, InfoItem } from './InfoGrid.js';
17
17
  export { default as ChartCard } from './ChartCard.js';
@@ -46,6 +46,7 @@ export { default as Link } from './Link.js';
46
46
  export { ToastProvider, useToast } from './Toast.js';
47
47
  export { default as StorageUsage, StorageUsageProps } from './StorageUsage.js';
48
48
  export { default as FileButton, FileButtonProps } from './FileButton.js';
49
+ export { SegmentedTabOption, default as SegmentedTabs, SegmentedTabsProps } from './SegmentedTabs.js';
49
50
  export { a as Animations } from './animations-CHrNeawW.js';
50
51
  export { default as MotionProvider } from './MotionProvider.js';
51
52
  export { default as CalendarPanel, CalendarPanelProps } from './CalendarPanel.js';
package/dist/index.js CHANGED
@@ -74,6 +74,7 @@ __export(index_exports, {
74
74
  ReviewHistory: () => import_ReviewHistory.default,
75
75
  ReviewHistoryDialog: () => import_ReviewHistory2.ReviewHistoryDialog,
76
76
  SearchInput: () => import_SearchInput.default,
77
+ SegmentedTabs: () => import_SegmentedTabs.default,
77
78
  Select: () => import_Select.default,
78
79
  Sidebar: () => import_Sidebar.default,
79
80
  Skeleton: () => import_Skeleton.default,
@@ -82,6 +83,7 @@ __export(index_exports, {
82
83
  Steps: () => import_Steps.default,
83
84
  StepsNav: () => import_Steps2.StepsNav,
84
85
  StorageUsage: () => import_StorageUsage.default,
86
+ Table: () => import_Table.default,
85
87
  Td: () => import_Table.Td,
86
88
  Textarea: () => import_Textarea.default,
87
89
  Th: () => import_Table.Th,
@@ -116,7 +118,7 @@ var import_Dialog = __toESM(require("./Dialog"));
116
118
  __reExport(index_exports, require("./Dialog"), module.exports);
117
119
  var import_Dropdown = __toESM(require("./Dropdown"));
118
120
  __reExport(index_exports, require("./Dropdown"), module.exports);
119
- var import_Table = require("./Table");
121
+ var import_Table = __toESM(require("./Table"));
120
122
  var import_Pagination = __toESM(require("./Pagination"));
121
123
  var import_InfoGrid = __toESM(require("./InfoGrid"));
122
124
  var import_ChartCard = __toESM(require("./ChartCard"));
@@ -152,6 +154,7 @@ var import_Link = __toESM(require("./Link"));
152
154
  var import_Toast = require("./Toast");
153
155
  var import_StorageUsage = __toESM(require("./StorageUsage"));
154
156
  var import_FileButton = __toESM(require("./FileButton"));
157
+ var import_SegmentedTabs = __toESM(require("./SegmentedTabs"));
155
158
  var Animations = __toESM(require("./animations"));
156
159
  var import_MotionProvider = __toESM(require("./MotionProvider"));
157
160
  var import_CalendarPanel = __toESM(require("./CalendarPanel"));
@@ -213,6 +216,7 @@ var import_ThemeToggle = __toESM(require("./theme/ThemeToggle"));
213
216
  ReviewHistory,
214
217
  ReviewHistoryDialog,
215
218
  SearchInput,
219
+ SegmentedTabs,
216
220
  Select,
217
221
  Sidebar,
218
222
  Skeleton,
@@ -221,6 +225,7 @@ var import_ThemeToggle = __toESM(require("./theme/ThemeToggle"));
221
225
  Steps,
222
226
  StepsNav,
223
227
  StorageUsage,
228
+ Table,
224
229
  Td,
225
230
  Textarea,
226
231
  Th,
package/dist/index.mjs CHANGED
@@ -13,124 +13,127 @@ import { default as default13 } from "./Dialog";
13
13
  export * from "./Dialog";
14
14
  import { default as default14 } from "./Dropdown";
15
15
  export * from "./Dropdown";
16
- import { Th, SortTh, Td, AnimatedBody } from "./Table";
17
- import { default as default15 } from "./Pagination";
18
- import { default as default16 } from "./InfoGrid";
19
- import { default as default17 } from "./ChartCard";
16
+ import { default as default15, Th, SortTh, Td, AnimatedBody } from "./Table";
17
+ import { default as default16 } from "./Pagination";
18
+ import { default as default17 } from "./InfoGrid";
19
+ import { default as default18 } from "./ChartCard";
20
20
  import { TopImpresionesBar, CtrHorizontalBar, DestinoDonut } from "./AnalyticsCharts";
21
- import { default as default18 } from "./RechartsBarCard";
22
- import { default as default19 } from "./RechartsTimeSeriesCard";
23
- import { default as default20 } from "./UploadCard";
24
- import { default as default21 } from "./MediaCard";
25
- import { default as default22 } from "./MediaTile";
26
- import { default as default23 } from "./Skeleton";
27
- import { default as default24 } from "./MediaSelector";
28
- import { default as default25 } from "./StatCard";
29
- import { default as default26 } from "./KpiCard";
30
- import { default as default27 } from "./Badge";
31
- import { default as default28 } from "./BadgeCluster";
32
- import { default as default29 } from "./Breadcrumb";
33
- import { default as default30 } from "./EmptyState";
34
- import { default as default31 } from "./Money";
35
- import { default as default32 } from "./TimeAgo";
36
- import { default as default33 } from "./AvatarSquare";
37
- import { default as default34 } from "./AvatarGroup";
38
- import { default as default35 } from "./AppTopbar";
39
- import { default as default36 } from "./OrderButton";
40
- import { default as default37 } from "./SearchInput";
41
- import { default as default38 } from "./ReviewHistory";
21
+ import { default as default19 } from "./RechartsBarCard";
22
+ import { default as default20 } from "./RechartsTimeSeriesCard";
23
+ import { default as default21 } from "./UploadCard";
24
+ import { default as default22 } from "./MediaCard";
25
+ import { default as default23 } from "./MediaTile";
26
+ import { default as default24 } from "./Skeleton";
27
+ import { default as default25 } from "./MediaSelector";
28
+ import { default as default26 } from "./StatCard";
29
+ import { default as default27 } from "./KpiCard";
30
+ import { default as default28 } from "./Badge";
31
+ import { default as default29 } from "./BadgeCluster";
32
+ import { default as default30 } from "./Breadcrumb";
33
+ import { default as default31 } from "./EmptyState";
34
+ import { default as default32 } from "./Money";
35
+ import { default as default33 } from "./TimeAgo";
36
+ import { default as default34 } from "./AvatarSquare";
37
+ import { default as default35 } from "./AvatarGroup";
38
+ import { default as default36 } from "./AppTopbar";
39
+ import { default as default37 } from "./OrderButton";
40
+ import { default as default38 } from "./SearchInput";
41
+ import { default as default39 } from "./ReviewHistory";
42
42
  import { ReviewHistoryDialog } from "./ReviewHistory";
43
- import { default as default39 } from "./MultiComboSelect";
44
- import { default as default40 } from "./Sidebar";
45
- import { default as default41 } from "./Card";
46
- import { default as default42 } from "./Drawer";
47
- import { default as default43 } from "./Tooltip";
48
- import { default as default44 } from "./Link";
43
+ import { default as default40 } from "./MultiComboSelect";
44
+ import { default as default41 } from "./Sidebar";
45
+ import { default as default42 } from "./Card";
46
+ import { default as default43 } from "./Drawer";
47
+ import { default as default44 } from "./Tooltip";
48
+ import { default as default45 } from "./Link";
49
49
  import { ToastProvider, useToast } from "./Toast";
50
- import { default as default45 } from "./StorageUsage";
51
- import { default as default46 } from "./FileButton";
50
+ import { default as default46 } from "./StorageUsage";
51
+ import { default as default47 } from "./FileButton";
52
+ import { default as default48 } from "./SegmentedTabs";
52
53
  import * as Animations from "./animations";
53
- import { default as default47 } from "./MotionProvider";
54
- import { default as default48 } from "./CalendarPanel";
55
- import { default as default49 } from "./TimePopover";
54
+ import { default as default49 } from "./MotionProvider";
55
+ import { default as default50 } from "./CalendarPanel";
56
+ import { default as default51 } from "./TimePopover";
56
57
  import { WeekPopover, MonthPopover } from "./TimePopover";
57
- import { default as default50 } from "./TimePanel";
58
- import { default as default51 } from "./TimeRangeField";
59
- import { default as default52 } from "./Steps";
58
+ import { default as default52 } from "./TimePanel";
59
+ import { default as default53 } from "./TimeRangeField";
60
+ import { default as default54 } from "./Steps";
60
61
  import { StepsNav } from "./Steps";
61
62
  export * from "./iconos";
62
- import { default as default53 } from "./ColorPicker";
63
- import { default as default54, useTheme } from "./theme/ThemeProvider";
64
- import { default as default55 } from "./theme/ThemeScript";
65
- import { default as default56 } from "./theme/ThemeToggle";
63
+ import { default as default55 } from "./ColorPicker";
64
+ import { default as default56, useTheme } from "./theme/ThemeProvider";
65
+ import { default as default57 } from "./theme/ThemeScript";
66
+ import { default as default58 } from "./theme/ThemeToggle";
66
67
  export {
67
68
  default3 as ActionIconButton,
68
69
  AnimatedBody,
69
70
  Animations,
70
- default35 as AppTopbar,
71
- default34 as AvatarGroup,
72
- default33 as AvatarSquare,
73
- default27 as Badge,
74
- default28 as BadgeCluster,
75
- default29 as Breadcrumb,
71
+ default36 as AppTopbar,
72
+ default35 as AvatarGroup,
73
+ default34 as AvatarSquare,
74
+ default28 as Badge,
75
+ default29 as BadgeCluster,
76
+ default30 as Breadcrumb,
76
77
  default2 as Button,
77
- default48 as CalendarPanel,
78
- default41 as Card,
79
- default17 as ChartCard,
78
+ default50 as CalendarPanel,
79
+ default42 as Card,
80
+ default18 as ChartCard,
80
81
  default6 as Checkbox,
81
82
  default7 as CheckboxPillsGroup,
82
- default53 as ColorPicker,
83
+ default55 as ColorPicker,
83
84
  default11 as ColumnSelector,
84
85
  default10 as ComboSelect,
85
86
  CtrHorizontalBar,
86
87
  default12 as DateTimeField,
87
88
  DestinoDonut,
88
89
  default13 as Dialog,
89
- default42 as Drawer,
90
+ default43 as Drawer,
90
91
  default14 as Dropdown,
91
- default30 as EmptyState,
92
- default46 as FileButton,
92
+ default31 as EmptyState,
93
+ default47 as FileButton,
93
94
  default8 as FiltersMultiSelect,
94
- default16 as InfoGrid,
95
+ default17 as InfoGrid,
95
96
  default4 as Input,
96
- default26 as KpiCard,
97
- default44 as Link,
98
- default21 as MediaCard,
99
- default24 as MediaSelector,
100
- default22 as MediaTile,
101
- default31 as Money,
97
+ default27 as KpiCard,
98
+ default45 as Link,
99
+ default22 as MediaCard,
100
+ default25 as MediaSelector,
101
+ default23 as MediaTile,
102
+ default32 as Money,
102
103
  MonthPopover,
103
- default47 as MotionProvider,
104
- default39 as MultiComboSelect,
105
- default36 as OrderButton,
106
- default15 as Pagination,
107
- default18 as RechartsBarCard,
108
- default19 as RechartsTimeSeriesCard,
109
- default38 as ReviewHistory,
104
+ default49 as MotionProvider,
105
+ default40 as MultiComboSelect,
106
+ default37 as OrderButton,
107
+ default16 as Pagination,
108
+ default19 as RechartsBarCard,
109
+ default20 as RechartsTimeSeriesCard,
110
+ default39 as ReviewHistory,
110
111
  ReviewHistoryDialog,
111
- default37 as SearchInput,
112
+ default38 as SearchInput,
113
+ default48 as SegmentedTabs,
112
114
  default9 as Select,
113
- default40 as Sidebar,
114
- default23 as Skeleton,
115
+ default41 as Sidebar,
116
+ default24 as Skeleton,
115
117
  SortTh,
116
- default25 as StatCard,
117
- default52 as Steps,
118
+ default26 as StatCard,
119
+ default54 as Steps,
118
120
  StepsNav,
119
- default45 as StorageUsage,
121
+ default46 as StorageUsage,
122
+ default15 as Table,
120
123
  Td,
121
124
  default5 as Textarea,
122
125
  Th,
123
- default54 as ThemeProvider,
124
- default55 as ThemeScript,
125
- default56 as ThemeToggle,
126
- default32 as TimeAgo,
127
- default50 as TimePanel,
128
- default49 as TimePopover,
129
- default51 as TimeRangeField,
126
+ default56 as ThemeProvider,
127
+ default57 as ThemeScript,
128
+ default58 as ThemeToggle,
129
+ default33 as TimeAgo,
130
+ default52 as TimePanel,
131
+ default51 as TimePopover,
132
+ default53 as TimeRangeField,
130
133
  ToastProvider,
131
- default43 as Tooltip,
134
+ default44 as Tooltip,
132
135
  TopImpresionesBar,
133
- default20 as UploadCard,
136
+ default21 as UploadCard,
134
137
  WeekPopover,
135
138
  useTheme,
136
139
  useToast
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "framepexls-ui-lib",
3
- "version": "0.3.16",
3
+ "version": "0.3.18",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "description": "Componentes UI de Framepexls para React/Next.",