@vygruppen/spor-react 12.24.8 → 12.24.10

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.d.cts CHANGED
@@ -614,7 +614,6 @@ declare const RadioCard: React__default.ForwardRefExoticComponent<RadioCard$1.It
614
614
  } & {
615
615
  inputProps?: React__default.InputHTMLAttributes<HTMLInputElement>;
616
616
  ariaLabel?: string;
617
- value?: string;
618
617
  } & React__default.RefAttributes<HTMLInputElement>>;
619
618
  declare const RadioCardGroup: React__default.ForwardRefExoticComponent<{
620
619
  variant?: _chakra_ui_react.ConditionalValue<"core" | "floating" | undefined>;
package/dist/index.d.ts CHANGED
@@ -614,7 +614,6 @@ declare const RadioCard: React__default.ForwardRefExoticComponent<RadioCard$1.It
614
614
  } & {
615
615
  inputProps?: React__default.InputHTMLAttributes<HTMLInputElement>;
616
616
  ariaLabel?: string;
617
- value?: string;
618
617
  } & React__default.RefAttributes<HTMLInputElement>>;
619
618
  declare const RadioCardGroup: React__default.ForwardRefExoticComponent<{
620
619
  variant?: _chakra_ui_react.ConditionalValue<"core" | "floating" | undefined>;
package/dist/index.mjs CHANGED
@@ -1503,17 +1503,10 @@ var PressableCard = forwardRef(
1503
1503
  PressableCard.displayName = "PressableCard";
1504
1504
  var RadioCard = forwardRef(
1505
1505
  (props, ref) => {
1506
- const { inputProps, children, value } = props;
1506
+ const { inputProps, children } = props;
1507
1507
  return /* @__PURE__ */ jsxs(RadioCard$1.Item, { ...props, children: [
1508
- /* @__PURE__ */ jsx(
1509
- RadioCard$1.ItemHiddenInput,
1510
- {
1511
- ref,
1512
- ...inputProps,
1513
- "aria-label": value
1514
- }
1515
- ),
1516
- /* @__PURE__ */ jsx(RadioCard$1.ItemControl, { "aria-hidden": value ? true : false, children })
1508
+ /* @__PURE__ */ jsx(RadioCard$1.ItemHiddenInput, { ref, ...inputProps }),
1509
+ /* @__PURE__ */ jsx(RadioCard$1.ItemControl, { children })
1517
1510
  ] });
1518
1511
  }
1519
1512
  );
@@ -3376,7 +3369,7 @@ var Autocomplete = ({
3376
3369
  }
3377
3370
  }
3378
3371
  ) }),
3379
- /* @__PURE__ */ jsx(Combobox.IndicatorGroup, { children: /* @__PURE__ */ jsx(Combobox.ClearTrigger, { asChild: true, "aria-label": t(texts14.clearValue), children: /* @__PURE__ */ jsx(CloseButton, { size: "xs" }) }) })
3372
+ /* @__PURE__ */ jsx(Combobox.IndicatorGroup, { children: /* @__PURE__ */ jsx(Combobox.ClearTrigger, { asChild: true, "aria-label": t(texts14.clearValue), children: /* @__PURE__ */ jsx(CloseButton, { size: "xs", tabIndex: 0 }) }) })
3380
3373
  ] }),
3381
3374
  /* @__PURE__ */ jsx(Combobox.Positioner, { children: /* @__PURE__ */ jsxs(Combobox.Content, { children: [
3382
3375
  /* @__PURE__ */ jsx(Combobox.Empty, { children: !loading && (emptyLabel ?? t(texts14.noItemsFound)) }),