@wistia/ui 0.15.6 → 0.15.7-beta.9f49d7f1.c2b6aa3

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.6
3
+ * @license @wistia/ui v0.15.7-beta.9f49d7f1.c2b6aa3
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -7741,6 +7741,12 @@ var StyledLink = import_styled_components21.default.a`
7741
7741
  text-decoration: ${({ $underline }) => $underline === "hover" || $underline === "always" ? "underline" : "none"};
7742
7742
  }
7743
7743
 
7744
+ button& {
7745
+ display: inline;
7746
+ line-height: inherit;
7747
+ vertical-align: baseline;
7748
+ }
7749
+
7744
7750
  && {
7745
7751
  svg {
7746
7752
  width: 14px;
@@ -16943,6 +16949,17 @@ var StyledContent3 = (0, import_styled_components110.default)(import_react_selec
16943
16949
  margin: var(--wui-space-02) 0;
16944
16950
  }
16945
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
+ `;
16946
16963
  var Select = (0, import_react90.forwardRef)(
16947
16964
  ({
16948
16965
  colorScheme = "inherit",
@@ -16984,9 +17001,21 @@ var Select = (0, import_react90.forwardRef)(
16984
17001
  }
16985
17002
  ),
16986
17003
  /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime308.jsxs)(StyledContent3, { position: "popper", children: [
16987
- /* @__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
+ ) }),
16988
17011
  /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select.Viewport, { children }),
16989
- /* @__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
+ ) })
16990
17019
  ] }) })
16991
17020
  ] });
16992
17021
  }