stratosphere-ui 1.5.0 → 1.5.1
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.
|
@@ -14,8 +14,8 @@ export interface TabsProps extends Omit<HTMLProps<HTMLDivElement>, 'as' | 'onCha
|
|
|
14
14
|
className?: string;
|
|
15
15
|
lifted?: boolean;
|
|
16
16
|
manual?: boolean;
|
|
17
|
-
onChange
|
|
18
|
-
selectedTabId
|
|
17
|
+
onChange: (tab: TabData) => void;
|
|
18
|
+
selectedTabId: string;
|
|
19
19
|
size?: TabSize;
|
|
20
20
|
tabs: TabData[];
|
|
21
21
|
vertical?: boolean;
|
package/dist/stratosphere-ui.js
CHANGED
|
@@ -30432,7 +30432,7 @@ const e$ = ({
|
|
|
30432
30432
|
Cy.Group,
|
|
30433
30433
|
{
|
|
30434
30434
|
manual: y,
|
|
30435
|
-
onChange: (A) => g
|
|
30435
|
+
onChange: (A) => g(O[A]),
|
|
30436
30436
|
selectedIndex: N > -1 ? N : void 0,
|
|
30437
30437
|
vertical: L,
|
|
30438
30438
|
children: [
|
|
@@ -30448,20 +30448,19 @@ const e$ = ({
|
|
|
30448
30448
|
p
|
|
30449
30449
|
),
|
|
30450
30450
|
...F,
|
|
30451
|
-
children: O.map(({
|
|
30451
|
+
children: O.map(({ children: A, className: H, disabled: z, id: U }) => /* @__PURE__ */ W.jsx(
|
|
30452
30452
|
Cy,
|
|
30453
30453
|
{
|
|
30454
|
-
disabled:
|
|
30455
|
-
className: ({ selected:
|
|
30454
|
+
disabled: z,
|
|
30455
|
+
className: ({ selected: G }) => nt(
|
|
30456
30456
|
"tab",
|
|
30457
|
-
|
|
30458
|
-
|
|
30459
|
-
|
|
30457
|
+
z && "tab-disabled",
|
|
30458
|
+
G && "tab-active",
|
|
30459
|
+
H
|
|
30460
30460
|
),
|
|
30461
|
-
|
|
30462
|
-
...G
|
|
30461
|
+
children: A
|
|
30463
30462
|
},
|
|
30464
|
-
|
|
30463
|
+
U
|
|
30465
30464
|
))
|
|
30466
30465
|
}
|
|
30467
30466
|
),
|