@yahoo/uds 3.128.0 → 3.128.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.
@@ -125,6 +125,7 @@ const Banner = (0, react.forwardRef)(function Banner({ variant = "primary", size
125
125
  const dismissContainerStyles = require_styles_styler.getStyles({
126
126
  spacing: "2",
127
127
  borderRadius: "full",
128
+ color: "primary",
128
129
  className: require_styles_styler.cx("transition-[background-color] motion-safe:duration-120", "bg-carbon-15/0 hover:bg-carbon-15/10 active:bg-carbon-15/15", "uds-ring", "shrink-0 self-start")
129
130
  });
130
131
  const dismissButton = onDismiss ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_client_Pressable.Pressable, {
@@ -135,7 +136,7 @@ const Banner = (0, react.forwardRef)(function Banner({ variant = "primary", size
135
136
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_IconSlot.IconSlot, {
136
137
  icon: _yahoo_uds_icons.Cross,
137
138
  iconProps: {
138
- color: "current",
139
+ color: "inherit",
139
140
  className: dismissStyles
140
141
  }
141
142
  })
@@ -147,7 +148,7 @@ const Banner = (0, react.forwardRef)(function Banner({ variant = "primary", size
147
148
  children: [
148
149
  startIcon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_IconSlot.IconSlot, {
149
150
  icon: startIcon,
150
- iconProps: { color: "current" },
151
+ iconProps: { color: "inherit" },
151
152
  className: require_styles_styler.cx(iconStyles, "shrink-0"),
152
153
  "data-testid": "banner-start-icon"
153
154
  }),
@@ -123,6 +123,7 @@ const Banner = forwardRef(function Banner({ variant = "primary", size = "default
123
123
  const dismissContainerStyles = getStyles({
124
124
  spacing: "2",
125
125
  borderRadius: "full",
126
+ color: "primary",
126
127
  className: cx("transition-[background-color] motion-safe:duration-120", "bg-carbon-15/0 hover:bg-carbon-15/10 active:bg-carbon-15/15", "uds-ring", "shrink-0 self-start")
127
128
  });
128
129
  const dismissButton = onDismiss ? /* @__PURE__ */ jsx(Pressable, {
@@ -133,7 +134,7 @@ const Banner = forwardRef(function Banner({ variant = "primary", size = "default
133
134
  children: /* @__PURE__ */ jsx(IconSlot, {
134
135
  icon: Cross,
135
136
  iconProps: {
136
- color: "current",
137
+ color: "inherit",
137
138
  className: dismissStyles
138
139
  }
139
140
  })
@@ -145,7 +146,7 @@ const Banner = forwardRef(function Banner({ variant = "primary", size = "default
145
146
  children: [
146
147
  startIcon && /* @__PURE__ */ jsx(IconSlot, {
147
148
  icon: startIcon,
148
- iconProps: { color: "current" },
149
+ iconProps: { color: "inherit" },
149
150
  className: cx(iconStyles, "shrink-0"),
150
151
  "data-testid": "banner-start-icon"
151
152
  }),
@@ -88,6 +88,6 @@ interface MenuItemCheckboxProps extends Omit<PressableProps, 'asChild'>, HtmlBut
88
88
  *
89
89
  * @related [Menu](https://uds.build/docs/components/menu), [Menu.Item](https://uds.build/docs/components/menu-item)
90
90
  **/
91
- declare const MenuItemCheckbox: react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "hideEndIcon" | "rootProps" | "active"> & react.RefAttributes<HTMLDivElement>>;
91
+ declare const MenuItemCheckbox: react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "active" | "rootProps" | "hideEndIcon"> & react.RefAttributes<HTMLDivElement>>;
92
92
  //#endregion
93
93
  export { MenuItemCheckbox, type MenuItemCheckboxProps };
@@ -89,6 +89,6 @@ interface MenuItemCheckboxProps extends Omit<PressableProps, 'asChild'>, HtmlBut
89
89
  *
90
90
  * @related [Menu](https://uds.build/docs/components/menu), [Menu.Item](https://uds.build/docs/components/menu-item)
91
91
  **/
92
- declare const MenuItemCheckbox: react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "hideEndIcon" | "rootProps" | "active"> & react.RefAttributes<HTMLDivElement>>;
92
+ declare const MenuItemCheckbox: react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "active" | "rootProps" | "hideEndIcon"> & react.RefAttributes<HTMLDivElement>>;
93
93
  //#endregion
94
94
  export { MenuItemCheckbox, type MenuItemCheckboxProps };