@ai-matrx/design-system 0.19.1 → 0.19.3
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/CHANGELOG.md +16 -0
- package/dist/content-transfer.cjs +2 -0
- package/dist/content-transfer.cjs.map +1 -1
- package/dist/content-transfer.js +2 -0
- package/dist/content-transfer.js.map +1 -1
- package/dist/data-table/data-row-inspector.cjs +2 -0
- package/dist/data-table/data-row-inspector.cjs.map +1 -1
- package/dist/data-table/data-row-inspector.js +2 -0
- package/dist/data-table/data-row-inspector.js.map +1 -1
- package/dist/data-table/data-row-window.cjs +2 -0
- package/dist/data-table/data-row-window.cjs.map +1 -1
- package/dist/data-table/data-row-window.js +2 -0
- package/dist/data-table/data-row-window.js.map +1 -1
- package/dist/data-table/index.cjs +2 -0
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +2 -0
- package/dist/data-table/index.js.map +1 -1
- package/dist/index.cjs +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/tap-target.cjs +2 -0
- package/dist/tap-target.cjs.map +1 -1
- package/dist/tap-target.js +2 -0
- package/dist/tap-target.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1574,8 +1574,10 @@ interface TabbedBottomSheetProps {
|
|
|
1574
1574
|
onOpenChange: (open: boolean) => void;
|
|
1575
1575
|
title: string;
|
|
1576
1576
|
tabs: TabbedBottomSheetTab[];
|
|
1577
|
+
/** Start each open inside this tab when it exists; otherwise show the index. */
|
|
1578
|
+
initialTabId?: string | null;
|
|
1577
1579
|
}
|
|
1578
|
-
declare function TabbedBottomSheet({ open, onOpenChange, title, tabs, }: TabbedBottomSheetProps): React.JSX.Element;
|
|
1580
|
+
declare function TabbedBottomSheet({ open, onOpenChange, title, tabs, initialTabId, }: TabbedBottomSheetProps): React.JSX.Element;
|
|
1579
1581
|
|
|
1580
1582
|
/**
|
|
1581
1583
|
* Table — the semantic table shell. No data logic, no sorting, no virtualiser:
|
package/dist/index.d.ts
CHANGED
|
@@ -1574,8 +1574,10 @@ interface TabbedBottomSheetProps {
|
|
|
1574
1574
|
onOpenChange: (open: boolean) => void;
|
|
1575
1575
|
title: string;
|
|
1576
1576
|
tabs: TabbedBottomSheetTab[];
|
|
1577
|
+
/** Start each open inside this tab when it exists; otherwise show the index. */
|
|
1578
|
+
initialTabId?: string | null;
|
|
1577
1579
|
}
|
|
1578
|
-
declare function TabbedBottomSheet({ open, onOpenChange, title, tabs, }: TabbedBottomSheetProps): React.JSX.Element;
|
|
1580
|
+
declare function TabbedBottomSheet({ open, onOpenChange, title, tabs, initialTabId, }: TabbedBottomSheetProps): React.JSX.Element;
|
|
1579
1581
|
|
|
1580
1582
|
/**
|
|
1581
1583
|
* Table — the semantic table shell. No data logic, no sorting, no virtualiser:
|
package/dist/index.js
CHANGED
|
@@ -3500,13 +3500,14 @@ function TabbedBottomSheet({
|
|
|
3500
3500
|
open,
|
|
3501
3501
|
onOpenChange,
|
|
3502
3502
|
title,
|
|
3503
|
-
tabs
|
|
3503
|
+
tabs,
|
|
3504
|
+
initialTabId = null
|
|
3504
3505
|
}) {
|
|
3505
|
-
const [selectedTabId, setSelectedTabId] = useState6(
|
|
3506
|
+
const [selectedTabId, setSelectedTabId] = useState6(initialTabId);
|
|
3506
3507
|
const [wasOpen, setWasOpen] = useState6(open);
|
|
3507
3508
|
if (open !== wasOpen) {
|
|
3508
3509
|
setWasOpen(open);
|
|
3509
|
-
if (open) setSelectedTabId(
|
|
3510
|
+
if (open) setSelectedTabId(initialTabId);
|
|
3510
3511
|
}
|
|
3511
3512
|
const selectedTab = selectedTabId ? tabs.find((tab) => tab.id === selectedTabId) : null;
|
|
3512
3513
|
return /* @__PURE__ */ jsx39(
|
|
@@ -4281,6 +4282,8 @@ function IconContent({
|
|
|
4281
4282
|
viewBox: "0 0 24 24",
|
|
4282
4283
|
stroke: "currentColor",
|
|
4283
4284
|
strokeWidth,
|
|
4285
|
+
strokeLinecap: "round",
|
|
4286
|
+
strokeLinejoin: "round",
|
|
4284
4287
|
children
|
|
4285
4288
|
}
|
|
4286
4289
|
);
|