@abgov/react-components 8.0.0-dev.2 → 8.0.0-dev.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/index.js CHANGED
@@ -3164,6 +3164,7 @@ function GoabPublicFormTaskList({
3164
3164
  return /* @__PURE__ */ jsxRuntime.jsx("goa-public-form-task-list", { ..._props, children });
3165
3165
  }
3166
3166
  function GoabFormItem({
3167
+ label,
3167
3168
  error,
3168
3169
  helpText,
3169
3170
  publicFormSummaryOrder,
@@ -3175,11 +3176,13 @@ function GoabFormItem({
3175
3176
  return /* @__PURE__ */ jsxRuntime.jsxs(
3176
3177
  "goa-form-item",
3177
3178
  {
3179
+ label: typeof label === "string" ? label : void 0,
3178
3180
  error: typeof error === "string" ? error : void 0,
3179
3181
  helptext: typeof helpText === "string" ? helpText : void 0,
3180
3182
  "public-form-summary-order": publicFormSummaryOrder,
3181
3183
  ..._props,
3182
3184
  children: [
3185
+ label && typeof label !== "string" && /* @__PURE__ */ jsxRuntime.jsx("span", { slot: "label", children: label }),
3183
3186
  error && typeof error !== "string" && /* @__PURE__ */ jsxRuntime.jsx("div", { slot: "error", children: error }),
3184
3187
  helpText && typeof helpText !== "string" && /* @__PURE__ */ jsxRuntime.jsx("div", { slot: "helptext", children: helpText }),
3185
3188
  children
@@ -4351,6 +4354,7 @@ const GoabFilterChip = ({
4351
4354
  content,
4352
4355
  iconTheme = "outline",
4353
4356
  error,
4357
+ removable = true,
4354
4358
  onClick,
4355
4359
  ...rest
4356
4360
  }) => {
@@ -4371,6 +4375,7 @@ const GoabFilterChip = ({
4371
4375
  ref: el,
4372
4376
  content: typeof content === "string" ? content : void 0,
4373
4377
  error: error ? "true" : void 0,
4378
+ removable: String(removable),
4374
4379
  ..._props,
4375
4380
  children: typeof content !== "string" && content != null && /* @__PURE__ */ jsxRuntime.jsx("div", { slot: "content", children: content })
4376
4381
  }