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?: (tab: TabData) => void;
18
- selectedTabId?: string;
17
+ onChange: (tab: TabData) => void;
18
+ selectedTabId: string;
19
19
  size?: TabSize;
20
20
  tabs: TabData[];
21
21
  vertical?: boolean;
@@ -30432,7 +30432,7 @@ const e$ = ({
30432
30432
  Cy.Group,
30433
30433
  {
30434
30434
  manual: y,
30435
- onChange: (A) => g == null ? void 0 : g(O[A]),
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(({ className: A, disabled: H, id: z, onClick: U, ...G }) => /* @__PURE__ */ W.jsx(
30451
+ children: O.map(({ children: A, className: H, disabled: z, id: U }) => /* @__PURE__ */ W.jsx(
30452
30452
  Cy,
30453
30453
  {
30454
- disabled: H,
30455
- className: ({ selected: q }) => nt(
30454
+ disabled: z,
30455
+ className: ({ selected: G }) => nt(
30456
30456
  "tab",
30457
- H && "tab-disabled",
30458
- q && "tab-active",
30459
- A
30457
+ z && "tab-disabled",
30458
+ G && "tab-active",
30459
+ H
30460
30460
  ),
30461
- onClick: U,
30462
- ...G
30461
+ children: A
30463
30462
  },
30464
- z
30463
+ U
30465
30464
  ))
30466
30465
  }
30467
30466
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stratosphere-ui",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "React component library for all Stratosphere Labs user interfaces",
5
5
  "type": "module",
6
6
  "files": [