@vygruppen/spor-react 9.6.0 → 9.6.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@9.6.0 build
2
+ > @vygruppen/spor-react@9.6.2 build
3
3
  > tsup src/index.tsx --dts --treeshake --format cjs,esm
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -12,9 +12,9 @@
12
12
  ESM dist/index.mjs 2.08 KB
13
13
  ESM dist/CountryCodeSelect-EZTV452W.mjs 1.19 KB
14
14
  ESM dist/chunk-7VZBL2PP.mjs 396.18 KB
15
- ESM ⚡️ Build success in 2172ms
15
+ ESM ⚡️ Build success in 2224ms
16
16
  CJS dist/index.js 506.01 KB
17
- CJS ⚡️ Build success in 2173ms
18
- DTS ⚡️ Build success in 12841ms
19
- DTS dist/index.d.ts 348.16 KB
20
- DTS dist/index.d.mts 348.16 KB
17
+ CJS ⚡️ Build success in 2225ms
18
+ DTS ⚡️ Build success in 13063ms
19
+ DTS dist/index.d.ts 348.14 KB
20
+ DTS dist/index.d.mts 348.14 KB
package/CHANGELOG.md CHANGED
@@ -1,10 +1,26 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 9.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - f5c9213: Added pressable card, small changes to default color in static card and bumped package version
8
+
9
+ ## 9.6.1
10
+
11
+ ### Patch Changes
12
+
13
+ - b83b35f: Require minimum versions of spor dependencies
14
+
3
15
  ## 9.6.0
4
16
 
5
17
  ### Minor Changes
6
18
 
7
- - 0e0b6b1: Added pressable card, and small changes to default color in static card
19
+ - 074a3d3: Added pressable card, and small changes to default color in static card
20
+
21
+ ### Patch Changes
22
+
23
+ - 0def6ed: remove pressable card
8
24
 
9
25
  ## 9.5.0
10
26
 
package/dist/index.d.mts CHANGED
@@ -467,7 +467,7 @@ declare const StaticCard: ({ colorScheme, ...props }: any) => React.JSX.Element;
467
467
  type PressableCardProps = Omit<BoxProps, "as"> & {
468
468
  variant: "floating" | "accent" | "base";
469
469
  size?: "sm" | "lg";
470
- as: "button" | "a" | "label" | React.ComponentType;
470
+ as: "button" | "a" | "label";
471
471
  };
472
472
  /**
473
473
  * Renders a Pressable card.
package/dist/index.d.ts CHANGED
@@ -467,7 +467,7 @@ declare const StaticCard: ({ colorScheme, ...props }: any) => React.JSX.Element;
467
467
  type PressableCardProps = Omit<BoxProps, "as"> & {
468
468
  variant: "floating" | "accent" | "base";
469
469
  size?: "sm" | "lg";
470
- as: "button" | "a" | "label" | React.ComponentType;
470
+ as: "button" | "a" | "label";
471
471
  };
472
472
  /**
473
473
  * Renders a Pressable card.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vygruppen/spor-react",
3
- "version": "9.6.0",
3
+ "version": "9.6.2",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -22,9 +22,9 @@
22
22
  "@emotion/react": "^11.10.4",
23
23
  "@emotion/styled": "^11.10.4",
24
24
  "@internationalized/date": "^3.0.1",
25
- "@vygruppen/spor-design-tokens": "*",
26
- "@vygruppen/spor-icon-react": "*",
27
- "@vygruppen/spor-loader": "*",
25
+ "@vygruppen/spor-design-tokens": ">3.4.0",
26
+ "@vygruppen/spor-icon-react": ">3.2.3",
27
+ "@vygruppen/spor-loader": ">0.3.1",
28
28
  "awesome-phonenumber": "^5.10.0",
29
29
  "deepmerge": "^4.3.1",
30
30
  "framer-motion": "^9.1.7",
@@ -1,10 +1,10 @@
1
1
  import React from "react";
2
- import { Box, BoxProps, Card, useStyleConfig } from "@chakra-ui/react";
2
+ import { Box, BoxProps, useStyleConfig } from "@chakra-ui/react";
3
3
 
4
4
  type PressableCardProps = Omit<BoxProps, "as"> & {
5
5
  variant: "floating" | "accent" | "base";
6
6
  size?: "sm" | "lg";
7
- as: "button" | "a" | "label" | React.ComponentType;
7
+ as: "button" | "a" | "label";
8
8
  };
9
9
 
10
10
  /**