@ai-matrx/design-system 0.19.1 → 0.19.2

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.19.2 — 2026-09-13
4
+
5
+ TabbedBottomSheet accepts `initialTabId`, opening directly inside an available tab on initial open and reopen while retaining back navigation. Missing tabs fall back to the index. Hosts can now honor destination deep links consistently on mobile and desktop.
6
+
7
+ ### Consumer action
8
+
9
+ Pass the existing initial tab to `initialTabId` for mobile destination windows. Omitting it retains the existing index-first behavior.
10
+
3
11
  ## 0.19.1 — 2026-09-13
4
12
 
5
13
  ### Data-table interaction and pagination
package/dist/index.cjs CHANGED
@@ -3759,13 +3759,14 @@ function TabbedBottomSheet({
3759
3759
  open,
3760
3760
  onOpenChange,
3761
3761
  title,
3762
- tabs
3762
+ tabs,
3763
+ initialTabId = null
3763
3764
  }) {
3764
- const [selectedTabId, setSelectedTabId] = (0, import_react4.useState)(null);
3765
+ const [selectedTabId, setSelectedTabId] = (0, import_react4.useState)(initialTabId);
3765
3766
  const [wasOpen, setWasOpen] = (0, import_react4.useState)(open);
3766
3767
  if (open !== wasOpen) {
3767
3768
  setWasOpen(open);
3768
- if (open) setSelectedTabId(null);
3769
+ if (open) setSelectedTabId(initialTabId);
3769
3770
  }
3770
3771
  const selectedTab = selectedTabId ? tabs.find((tab) => tab.id === selectedTabId) : null;
3771
3772
  return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(