stratosphere-ui 1.0.5 → 1.0.6

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.
@@ -6,6 +6,7 @@ export interface DropdownMenuItemProps extends HTMLProps<HTMLAnchorElement> {
6
6
  bordered?: boolean;
7
7
  borderOnHover?: boolean;
8
8
  disabled?: boolean;
9
+ focus?: boolean;
9
10
  selected?: boolean;
10
11
  subMenu?: ReactNode;
11
12
  }
@@ -27070,10 +27070,11 @@ const oP = ["xs", "sm", "md", "lg"], Ry = Uc(
27070
27070
  children: p,
27071
27071
  className: y,
27072
27072
  disabled: x,
27073
- selected: g,
27074
- subMenu: R,
27075
- ...T
27076
- }, L) => /* @__PURE__ */ q.jsxs(
27073
+ focus: g,
27074
+ selected: R,
27075
+ subMenu: T,
27076
+ ...L
27077
+ }, M) => /* @__PURE__ */ q.jsxs(
27077
27078
  "li",
27078
27079
  {
27079
27080
  className: st(
@@ -27088,17 +27089,18 @@ const oP = ["xs", "sm", "md", "lg"], Ry = Uc(
27088
27089
  {
27089
27090
  className: st(
27090
27091
  i && "active",
27092
+ g && "focus",
27091
27093
  !x && "cursor-pointer"
27092
27094
  ),
27093
- ref: L,
27094
- ...T,
27095
+ ref: M,
27096
+ ...L,
27095
27097
  children: [
27096
- g !== void 0 ? /* @__PURE__ */ q.jsx("div", { className: "flex w-4 justify-center", children: g ? /* @__PURE__ */ q.jsx(tk, { className: "h-4 w-4" }) : null }) : null,
27098
+ R !== void 0 ? /* @__PURE__ */ q.jsx("div", { className: "flex w-4 justify-center", children: R ? /* @__PURE__ */ q.jsx(tk, { className: "h-4 w-4" }) : null }) : null,
27097
27099
  p
27098
27100
  ]
27099
27101
  }
27100
27102
  ),
27101
- R
27103
+ T
27102
27104
  ]
27103
27105
  }
27104
27106
  )
@@ -27136,8 +27138,8 @@ const zF = Uc(
27136
27138
  children: u.map(({ id: R, ...T }) => /* @__PURE__ */ q.jsx(yS.Item, { as: Ci, children: ({ active: L, disabled: M }) => /* @__PURE__ */ q.jsx(
27137
27139
  Ry,
27138
27140
  {
27139
- active: L,
27140
27141
  disabled: M,
27142
+ focus: L,
27141
27143
  ...T
27142
27144
  }
27143
27145
  ) }, R))
@@ -28202,8 +28204,8 @@ const PP = [
28202
28204
  children: N == null ? void 0 : N.map((ae) => /* @__PURE__ */ q.jsx(Ey.Option, { as: Ci, value: ae, children: ({ active: Te, disabled: Se, selected: Re }) => /* @__PURE__ */ q.jsx(
28203
28205
  Ry,
28204
28206
  {
28205
- active: Te,
28206
28207
  disabled: Se,
28208
+ focus: Te,
28207
28209
  selected: Re,
28208
28210
  children: x(ae)
28209
28211
  }
@@ -30515,11 +30517,11 @@ const I$ = ({
30515
30517
  xe ? null : G == null ? void 0 : G.map((Ge, $t) => /* @__PURE__ */ q.jsx(ph.Option, { as: Ci, value: Ge, children: ({ active: Ue, disabled: ce, selected: de }) => /* @__PURE__ */ q.jsx(
30516
30518
  Ry,
30517
30519
  {
30518
- active: Ue,
30519
30520
  className: st(
30520
30521
  $t === 0 && Ne && "mt-2"
30521
30522
  ),
30522
30523
  disabled: ce,
30524
+ focus: Ue,
30523
30525
  selected: z === !0 ? de : void 0,
30524
30526
  children: T(Ge)
30525
30527
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stratosphere-ui",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "React component library for all Stratosphere Labs user interfaces",
5
5
  "type": "module",
6
6
  "files": [