@vygruppen/spor-react 5.5.0 → 6.1.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@5.5.0 build
2
+ > @vygruppen/spor-react@6.1.0 build
3
3
  > tsup src/index.tsx --dts --treeshake --format cjs,esm
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -8,15 +8,15 @@
8
8
  CLI Target: node16
9
9
  CJS Build start
10
10
  ESM Build start
11
+ "Collapse" is imported from external module "@chakra-ui/react" but never used in "dist/chunk-2L6AHVGG.mjs".
11
12
  "Collapse" is imported from external module "@chakra-ui/react" but never used in "dist/index.js".
12
13
  DTS Build start
13
- "Collapse" is imported from external module "@chakra-ui/react" but never used in "dist/chunk-2L6AHVGG.mjs".
14
- CJS dist/index.js 507.36 KB
15
- CJS ⚡️ Build success in 2092ms
16
14
  ESM dist/index.mjs 2.16 KB
17
15
  ESM dist/CountryCodeSelect-KRCJWBUE.mjs 1.19 KB
18
16
  ESM dist/chunk-2L6AHVGG.mjs 397.95 KB
19
- ESM ⚡️ Build success in 2093ms
20
- DTS ⚡️ Build success in 12617ms
17
+ ESM ⚡️ Build success in 2136ms
18
+ CJS dist/index.js 507.36 KB
19
+ CJS ⚡️ Build success in 2136ms
20
+ DTS ⚡️ Build success in 12626ms
21
21
  DTS dist/index.d.ts 265.22 KB
22
22
  DTS dist/index.d.mts 265.22 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 6.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 81e1ae6: cardselect: removed some code by mistake, adding it back in
8
+
9
+ ## 6.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - d8be7e4: CardSelect: _Breaking change_: We have changed some variant prop names, so it's aligned with the rest of the design system.
14
+ To migrate,. old "outline" has become "base" and old "card" is now "floating".
15
+
3
16
  ## 5.5.0
4
17
 
5
18
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -649,10 +649,10 @@ type CardSelectProps = BoxProps & {
649
649
  /** The design of the trigger button.
650
650
  *
651
651
  * - `ghost` is a transparent button with text
652
- * - `outline` is a button with a border and text
653
- * - `card` is a button with a drop shadow (like a card) and text
652
+ * - `base` is a button with a border and text
653
+ * - `floating` is a button with a drop shadow (like a card) and text
654
654
  */
655
- variant: "ghost" | "outline" | "card";
655
+ variant: "base" | "ghost" | "floating";
656
656
  /** The size of the trigger button */
657
657
  size: "sm" | "md" | "lg";
658
658
  /** Whether the card select is open / active, if controlled */
package/dist/index.d.ts CHANGED
@@ -649,10 +649,10 @@ type CardSelectProps = BoxProps & {
649
649
  /** The design of the trigger button.
650
650
  *
651
651
  * - `ghost` is a transparent button with text
652
- * - `outline` is a button with a border and text
653
- * - `card` is a button with a drop shadow (like a card) and text
652
+ * - `base` is a button with a border and text
653
+ * - `floating` is a button with a drop shadow (like a card) and text
654
654
  */
655
- variant: "ghost" | "outline" | "card";
655
+ variant: "base" | "ghost" | "floating";
656
656
  /** The size of the trigger button */
657
657
  size: "sm" | "md" | "lg";
658
658
  /** Whether the card select is open / active, if controlled */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vygruppen/spor-react",
3
- "version": "5.5.0",
3
+ "version": "6.1.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -21,10 +21,10 @@ type CardSelectProps = BoxProps & {
21
21
  /** The design of the trigger button.
22
22
  *
23
23
  * - `ghost` is a transparent button with text
24
- * - `outline` is a button with a border and text
25
- * - `card` is a button with a drop shadow (like a card) and text
24
+ * - `base` is a button with a border and text
25
+ * - `floating` is a button with a drop shadow (like a card) and text
26
26
  */
27
- variant: "ghost" | "outline" | "card";
27
+ variant: "base" | "ghost" | "floating";
28
28
  /** The size of the trigger button */
29
29
  size: "sm" | "md" | "lg";
30
30
  /** Whether the card select is open / active, if controlled */