@wistia/ui 0.10.4-beta.cf49eab0.0bfe62d → 0.10.4

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.10.4-beta.cf49eab0.0bfe62d
3
+ * @license @wistia/ui v0.10.4
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -7828,7 +7828,6 @@ var StyledBadge = import_styled_components26.default.div`
7828
7828
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
7829
7829
  align-items: center;
7830
7830
  background-color: var(--wui-color-bg-surface-secondary);
7831
- box-shadow: ${({ $variant }) => $variant === "outline" ? "inset 0 0 0 1px var(--wui-color-border)" : "none"};
7832
7831
  border-radius: var(--wui-border-radius-rounded);
7833
7832
  color: var(--wui-color-text);
7834
7833
  display: inline-flex;
@@ -7836,21 +7835,17 @@ var StyledBadge = import_styled_components26.default.div`
7836
7835
  font-weight: var(--wui-typography-label-4-weight);
7837
7836
  gap: var(--wui-space-01);
7838
7837
  justify-content: center;
7839
- line-height: var(--wui-typography-label-3-line-height);
7840
7838
  padding: var(--wui-space-01) var(--wui-space-02);
7841
7839
  width: fit-content;
7842
7840
 
7843
- /* Icon component size and color */
7844
- && {
7845
- svg {
7846
- color: var(--wui-color-icon);
7847
- height: 12px;
7848
- width: 12px;
7849
- }
7841
+ /* Icon component size */
7842
+ svg {
7843
+ height: 12px;
7844
+ width: 12px;
7850
7845
  }
7851
7846
  `;
7852
7847
  var Badge = (0, import_react26.forwardRef)(
7853
- ({ colorScheme = "inherit", label, icon, variant = "default", ...props }, ref) => {
7848
+ ({ colorScheme = "inherit", label, icon, ...props }, ref) => {
7854
7849
  const hasIcon = (0, import_type_guards19.isNotNil)(icon);
7855
7850
  return /* @__PURE__ */ (0, import_jsx_runtime200.jsxs)(
7856
7851
  StyledBadge,
@@ -7859,7 +7854,6 @@ var Badge = (0, import_react26.forwardRef)(
7859
7854
  ...props,
7860
7855
  $colorScheme: colorScheme,
7861
7856
  $hasIcon: hasIcon,
7862
- $variant: variant,
7863
7857
  children: [
7864
7858
  hasIcon ? icon : null,
7865
7859
  /* @__PURE__ */ (0, import_jsx_runtime200.jsx)("span", { children: label })
@@ -9910,6 +9904,7 @@ var StyledForm = import_styled_components51.default.form`
9910
9904
  --form-default-width: 690px;
9911
9905
 
9912
9906
  max-width: ${({ $fullWidth }) => $fullWidth ? "auto" : "var(--form-default-width)"};
9907
+ align-items: ${({ $fullWidth }) => $fullWidth ? "stretch" : "flex-start"};
9913
9908
  `;
9914
9909
  var FormContext = (0, import_react41.createContext)({
9915
9910
  values: {},
@@ -9996,7 +9991,6 @@ var FormComponent = ({
9996
9991
  onBlur: handleBlur2,
9997
9992
  onReset: handleReset,
9998
9993
  onSubmit: handleSubmit,
9999
- alignItems: fullWidth ? "stretch" : "flex-start",
10000
9994
  children
10001
9995
  }
10002
9996
  ) })