@wistia/ui 0.15.7 → 0.15.8

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/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.15.7
3
+ * @license @wistia/ui v0.15.8
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -16949,6 +16949,17 @@ var StyledContent3 = (0, import_styled_components110.default)(import_react_selec
16949
16949
  margin: var(--wui-space-02) 0;
16950
16950
  }
16951
16951
  `;
16952
+ var scrollButtonStyles = import_styled_components110.css`
16953
+ align-items: center;
16954
+ display: flex;
16955
+ justify-content: center;
16956
+ `;
16957
+ var StyledScrollDownButton = (0, import_styled_components110.default)(import_react_select.ScrollDownButton)`
16958
+ ${scrollButtonStyles}
16959
+ `;
16960
+ var StyledScrollUpButton = (0, import_styled_components110.default)(import_react_select.ScrollUpButton)`
16961
+ ${scrollButtonStyles}
16962
+ `;
16952
16963
  var Select = (0, import_react90.forwardRef)(
16953
16964
  ({
16954
16965
  colorScheme = "inherit",
@@ -16990,9 +17001,21 @@ var Select = (0, import_react90.forwardRef)(
16990
17001
  }
16991
17002
  ),
16992
17003
  /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime308.jsxs)(StyledContent3, { position: "popper", children: [
16993
- /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(Icon, { type: "caret-up" }) }),
17004
+ /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(StyledScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(
17005
+ Icon,
17006
+ {
17007
+ size: "sm",
17008
+ type: "caret-up"
17009
+ }
17010
+ ) }),
16994
17011
  /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select.Viewport, { children }),
16995
- /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(Icon, { type: "caret-down" }) })
17012
+ /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(StyledScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(
17013
+ Icon,
17014
+ {
17015
+ size: "sm",
17016
+ type: "caret-down"
17017
+ }
17018
+ ) })
16996
17019
  ] }) })
16997
17020
  ] });
16998
17021
  }