@vygruppen/spor-react 12.7.1 → 12.8.0

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
@@ -1631,8 +1631,9 @@ type SelectProps = SelectRootProps & FieldProps & {
1631
1631
  /**
1632
1632
  * A Select component.
1633
1633
  *
1634
- * This component is useful to choose an item from a dropdown list of items. The list has four different variants, core, floating, rightSideSquare, leftSideSquare.
1635
- * The last two variants are useful in attachecdInput for example in the PhoneNumberInput and CountryCodeSelect components.
1634
+ * This component is useful to choose an item from a dropdown list of items. The list has two different variants, core, floating and floating.
1635
+ * It also has a sideRadiusVariant that can be used to make the sides square, rightSideSquare, leftSideSquare.
1636
+ * The sideRadiusVariant is useful in attachecdInput for example in the PhoneNumberInput and CountryCodeSelect components.
1636
1637
  *
1637
1638
  * @example
1638
1639
  * ```tsx
package/dist/index.d.ts CHANGED
@@ -1631,8 +1631,9 @@ type SelectProps = SelectRootProps & FieldProps & {
1631
1631
  /**
1632
1632
  * A Select component.
1633
1633
  *
1634
- * This component is useful to choose an item from a dropdown list of items. The list has four different variants, core, floating, rightSideSquare, leftSideSquare.
1635
- * The last two variants are useful in attachecdInput for example in the PhoneNumberInput and CountryCodeSelect components.
1634
+ * This component is useful to choose an item from a dropdown list of items. The list has two different variants, core, floating and floating.
1635
+ * It also has a sideRadiusVariant that can be used to make the sides square, rightSideSquare, leftSideSquare.
1636
+ * The sideRadiusVariant is useful in attachecdInput for example in the PhoneNumberInput and CountryCodeSelect components.
1636
1637
  *
1637
1638
  * @example
1638
1639
  * ```tsx
package/dist/index.mjs CHANGED
@@ -1374,7 +1374,7 @@ var Field3 = React28.forwardRef(
1374
1374
  } = props;
1375
1375
  const recipe = useSlotRecipe({ key: "field" });
1376
1376
  const styles = recipe();
1377
- return /* @__PURE__ */ jsxs(Stack, { gap: "2", ref, ...rest, children: [
1377
+ return /* @__PURE__ */ jsxs(Stack, { gap: "2", ref, width: "100%", ...rest, children: [
1378
1378
  /* @__PURE__ */ jsxs(
1379
1379
  Field.Root,
1380
1380
  {
@@ -2578,10 +2578,10 @@ var Combobox = (props) => {
2578
2578
  loading,
2579
2579
  leftIcon,
2580
2580
  rightIcon,
2581
- borderBottomLeftRadius = "sm",
2582
- borderBottomRightRadius = "sm",
2583
- borderTopLeftRadius = "sm",
2584
- borderTopRightRadius = "sm",
2581
+ borderBottomLeftRadius,
2582
+ borderBottomRightRadius,
2583
+ borderTopLeftRadius,
2584
+ borderTopRightRadius,
2585
2585
  marginBottom,
2586
2586
  marginTop,
2587
2587
  marginX,
@@ -2680,7 +2680,8 @@ var Combobox = (props) => {
2680
2680
  }
2681
2681
  }
2682
2682
  ) : rightIcon,
2683
- placeholder: ""
2683
+ placeholder: "",
2684
+ "data-attachable": true
2684
2685
  }
2685
2686
  ),
2686
2687
  /* @__PURE__ */ jsx("span", { "aria-hidden": "true", "data-trigger": "multiselect" }),
@@ -3254,7 +3255,7 @@ var CountryCodeSelect = forwardRef((props, ref) => {
3254
3255
  collection: callingCodes,
3255
3256
  lazyMount: true,
3256
3257
  "aria-label": t(texts15.countryCode),
3257
- variant: "rightSideSquare",
3258
+ sideRadiusVariant: "rightSideSquare",
3258
3259
  children: callingCodes.items.map((code) => /* @__PURE__ */ jsx(SelectItem, { as: "option", item: code, children: code.label }, code.label))
3259
3260
  }
3260
3261
  );
@@ -9041,7 +9042,9 @@ var selectSlotRecipe = defineSlotRecipe({
9041
9042
  outline: "1px solid",
9042
9043
  outlineColor: "floating.outline"
9043
9044
  }
9044
- },
9045
+ }
9046
+ },
9047
+ sideRadiusVariant: {
9045
9048
  rightSideSquare: {
9046
9049
  control: {
9047
9050
  outline: "1px solid",