@abgov/react-components 7.2.0-dev.25 → 7.2.0-dev.27

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/index.js CHANGED
@@ -138,6 +138,7 @@ function getIconValue(icon, iconType) {
138
138
  return iconType ? "true" : "false";
139
139
  }
140
140
  function GoabBadge({
141
+ content,
141
142
  icon,
142
143
  iconType,
143
144
  size = "medium",
@@ -150,10 +151,12 @@ function GoabBadge({
150
151
  {
151
152
  icon: getIconValue(icon, iconType),
152
153
  icontype: iconType,
154
+ content: typeof content === "string" ? content : void 0,
153
155
  ..._props,
154
156
  version: "2",
155
157
  size,
156
- emphasis
158
+ emphasis,
159
+ children: typeof content !== "string" && content != null && /* @__PURE__ */ jsxRuntime.jsx("div", { slot: "content", children: content })
157
160
  }
158
161
  );
159
162
  }
@@ -4392,6 +4395,7 @@ function GoabTwoColumnLayout(props) {
4392
4395
  );
4393
4396
  }
4394
4397
  const GoabFilterChip = ({
4398
+ content,
4395
4399
  iconTheme = "outline",
4396
4400
  error,
4397
4401
  onClick,
@@ -4412,9 +4416,11 @@ const GoabFilterChip = ({
4412
4416
  "goa-filter-chip",
4413
4417
  {
4414
4418
  ref: el,
4419
+ content: typeof content === "string" ? content : void 0,
4415
4420
  error: error ? "true" : void 0,
4416
4421
  version: "2",
4417
- ..._props
4422
+ ..._props,
4423
+ children: typeof content !== "string" && content != null && /* @__PURE__ */ jsxRuntime.jsx("div", { slot: "content", children: content })
4418
4424
  }
4419
4425
  );
4420
4426
  };