@vygruppen/spor-react 12.13.0 → 12.13.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vygruppen/spor-react",
3
3
  "type": "module",
4
- "version": "12.13.0",
4
+ "version": "12.13.2",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -46,8 +46,8 @@
46
46
  "react-stately": "^3.31.1",
47
47
  "react-swipeable": "^7.0.1",
48
48
  "usehooks-ts": "^3.1.0",
49
- "@vygruppen/spor-design-tokens": "4.1.0",
50
49
  "@vygruppen/spor-icon-react": "4.2.1",
50
+ "@vygruppen/spor-design-tokens": "4.1.0",
51
51
  "@vygruppen/spor-loader": "0.7.0"
52
52
  },
53
53
  "devDependencies": {
@@ -68,8 +68,8 @@
68
68
  "vitest": "^0.26.3",
69
69
  "vitest-axe": "^0.1.0",
70
70
  "vitest-canvas-mock": "^0.2.2",
71
- "@vygruppen/tsconfig": "0.1.1",
72
- "@vygruppen/eslint-config": "1.2.3"
71
+ "@vygruppen/eslint-config": "1.2.3",
72
+ "@vygruppen/tsconfig": "0.1.1"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "react": ">=18.0.0 <19.0.0",
@@ -58,7 +58,7 @@ export const CountryCodeSelect = forwardRef<
58
58
  sideRadiusVariant={"rightSideSquare"}
59
59
  >
60
60
  {callingCodes.items.map((code) => (
61
- <SelectItem as={"option"} key={code.label} item={code}>
61
+ <SelectItem key={code.label} item={code}>
62
62
  {code.label}
63
63
  </SelectItem>
64
64
  ))}
@@ -54,7 +54,7 @@ type PopoverProps = {
54
54
  /**
55
55
  * Internal popover component.
56
56
  *
57
- * Used to render accessible popover content, like a dropdown menu or a card select. Should not be used directly, but as a part of Spor components.
57
+ * Used to render accessible popover content, only used in ComboBox.
58
58
  */
59
59
  export const Popover = forwardRef<HTMLDivElement, PopoverProps>(
60
60
  (
@@ -7,6 +7,8 @@ export const collapsibleSlotRecipe = defineSlotRecipe({
7
7
  className: "chakra-collapsible",
8
8
  base: {
9
9
  content: {
10
+ margin: -1,
11
+ padding: 1,
10
12
  overflow: "hidden",
11
13
  _open: {
12
14
  animationName: "expand-height, fade-in",
@@ -72,6 +72,7 @@ export const datePickerSlotRecipe = defineSlotRecipe({
72
72
  outlineColor: "floating.outline",
73
73
  boxShadow: "md",
74
74
  backgroundColor: "floating.surface",
75
+ minHeight: "min-content",
75
76
  },
76
77
  rangeCalendarPopover: {
77
78
  width: "43rem",