@foundrykit/primitives 2.0.4 → 2.0.6

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,73 +1,110 @@
1
-
2
- 
3
- > @foundrykit/primitives@2.0.0 build /Users/isj/Desktop/work/projects/foundry/packages/primitives
4
- > tsup --dts --format esm,cjs --clean
5
-
6
- CLI Building entry: src/index.ts, src/components/avatar/index.tsx, src/components/badge/index.tsx, src/components/breadcrumb/index.tsx, src/components/button/index.tsx, src/components/card/index.tsx, src/components/checkbox/index.tsx, src/components/dropdown/index.tsx, src/components/input/index.tsx, src/components/label/index.tsx, src/components/popover/index.tsx, src/components/radio-group/index.tsx, src/components/scroll-area/index.tsx, src/components/select/index.tsx, src/components/separator/index.tsx, src/components/skeleton/index.tsx, src/components/switch/index.tsx, src/components/tabs/index.tsx, src/components/textarea/index.tsx
7
- CLI Using tsconfig: tsconfig.json
8
- CLI tsup v8.5.0
9
- CLI Using tsup config: /Users/isj/Desktop/work/projects/foundry/packages/primitives/tsup.config.ts
10
- CLI Target: es2022
11
- CLI Cleaning output folder
12
- ESM Build start
13
- CJS Build start
14
- CJS dist/index.cjs 55.41 KB
15
- CJS dist/components/badge/index.cjs 2.69 KB
16
- CJS dist/components/button/index.cjs 3.16 KB
17
- CJS dist/components/checkbox/index.cjs 2.99 KB
18
- CJS dist/components/breadcrumb/index.cjs 4.12 KB
19
- CJS dist/components/label/index.cjs 2.26 KB
20
- CJS dist/components/popover/index.cjs 3.35 KB
21
- CJS dist/components/dropdown/index.cjs 10.58 KB
22
- CJS dist/components/input/index.cjs 2.42 KB
23
- CJS dist/components/radio-group/index.cjs 3.28 KB
24
- CJS dist/components/scroll-area/index.cjs 3.50 KB
25
- CJS dist/components/select/index.cjs 8.56 KB
26
- CJS dist/components/switch/index.cjs 2.90 KB
27
- CJS dist/components/skeleton/index.cjs 1.41 KB
28
- CJS dist/components/separator/index.cjs 2.34 KB
29
- CJS dist/components/tabs/index.cjs 3.73 KB
30
- CJS dist/components/textarea/index.cjs 1.84 KB
31
- CJS dist/components/avatar/index.cjs 2.84 KB
32
- CJS dist/components/card/index.cjs 3.61 KB
33
- CJS ⚡️ Build success in 35ms
34
- ESM dist/components/switch/index.js 87.00 B
35
- ESM dist/components/textarea/index.js 77.00 B
36
- ESM dist/components/scroll-area/index.js 121.00 B
37
- ESM dist/components/tabs/index.js 167.00 B
38
- ESM dist/components/radio-group/index.js 131.00 B
39
- ESM dist/components/label/index.js 85.00 B
40
- ESM dist/components/popover/index.js 195.00 B
41
- ESM dist/components/input/index.js 71.00 B
42
- ESM dist/index.js 13.82 KB
43
- ESM dist/components/separator/index.js 93.00 B
44
- ESM dist/chunk-U2EIVYWP.js 1.21 KB
45
- ESM dist/chunk-FYCANIVJ.js 1.87 KB
46
- ESM dist/chunk-J4CRGO2P.js 1.49 KB
47
- ESM dist/components/skeleton/index.js 77.00 B
48
- ESM dist/chunk-XQAJQKO7.js 1.46 KB
49
- ESM dist/components/select/index.js 411.00 B
50
- ESM dist/chunk-KZMSLRLW.js 806.00 B
51
- ESM dist/chunk-4GPFVBO2.js 1.66 KB
52
- ESM dist/components/avatar/index.js 153.00 B
53
- ESM dist/chunk-QL4XJD7Y.js 627.00 B
54
- ESM dist/chunk-VVNIYCKH.js 1.04 KB
55
- ESM dist/chunk-FUWID6MC.js 1.52 KB
56
- ESM dist/chunk-I44GXEPN.js 809.00 B
57
- ESM dist/components/badge/index.js 105.00 B
58
- ESM dist/chunk-J57CV3VT.js 690.00 B
59
- ESM dist/chunk-VSXKLSEP.js 2.45 KB
60
- ESM dist/chunk-YTUI6MCB.js 1.98 KB
61
- ESM dist/components/card/index.js 219.00 B
62
- ESM dist/components/breadcrumb/index.js 315.00 B
63
- ESM dist/components/dropdown/index.js 757.00 B
64
- ESM dist/chunk-AADRFFPH.js 5.89 KB
65
- ESM dist/chunk-UZIMC7AQ.js 1.61 KB
66
- ESM dist/components/button/index.js 109.00 B
67
- ESM dist/components/checkbox/index.js 91.00 B
68
- ESM dist/chunk-SKR3J46C.js 363.00 B
69
- ESM dist/chunk-PHMEWMFS.js 7.52 KB
70
- ESM dist/chunk-A3U73FA7.js 1.25 KB
71
- ESM ⚡️ Build success in 35ms
72
- DTS Build start
73
-  ELIFECYCLE  Command failed.
1
+
2
+ > @foundrykit/primitives@2.0.5 build /Users/isj/Desktop/work/projects/foundry/packages/primitives
3
+ > tsup --dts --format esm,cjs --clean
4
+
5
+ CLI Building entry: src/index.ts, src/components/avatar/index.tsx, src/components/badge/index.tsx, src/components/breadcrumb/index.tsx, src/components/button/index.tsx, src/components/card/index.tsx, src/components/checkbox/index.tsx, src/components/dropdown/index.tsx, src/components/input/index.tsx, src/components/label/index.tsx, src/components/popover/index.tsx, src/components/radio-group/index.tsx, src/components/scroll-area/index.tsx, src/components/select/index.tsx, src/components/separator/index.tsx, src/components/skeleton/index.tsx, src/components/switch/index.tsx, src/components/tabs/index.tsx, src/components/textarea/index.tsx
6
+ CLI Using tsconfig: tsconfig.json
7
+ CLI tsup v8.5.0
8
+ CLI Using tsup config: /Users/isj/Desktop/work/projects/foundry/packages/primitives/tsup.config.ts
9
+ CLI Target: es2022
10
+ CLI Cleaning output folder
11
+ ESM Build start
12
+ CJS Build start
13
+ CJS dist/components/avatar/index.cjs 2.84 KB
14
+ CJS dist/components/card/index.cjs 3.61 KB
15
+ CJS dist/components/label/index.cjs 2.26 KB
16
+ CJS dist/components/breadcrumb/index.cjs 4.12 KB
17
+ CJS dist/components/button/index.cjs 3.16 KB
18
+ CJS dist/components/radio-group/index.cjs 3.28 KB
19
+ CJS dist/components/checkbox/index.cjs 2.99 KB
20
+ CJS dist/components/input/index.cjs 2.42 KB
21
+ CJS dist/components/popover/index.cjs 3.35 KB
22
+ CJS dist/components/scroll-area/index.cjs 3.50 KB
23
+ CJS dist/components/skeleton/index.cjs 1.41 KB
24
+ CJS dist/components/switch/index.cjs 2.90 KB
25
+ CJS dist/components/select/index.cjs 8.56 KB
26
+ CJS dist/index.cjs 55.41 KB
27
+ CJS dist/components/dropdown/index.cjs 10.58 KB
28
+ CJS dist/components/tabs/index.cjs 3.73 KB
29
+ CJS dist/components/separator/index.cjs 2.34 KB
30
+ CJS dist/components/badge/index.cjs 2.69 KB
31
+ CJS dist/components/textarea/index.cjs 1.84 KB
32
+ CJS ⚡️ Build success in 284ms
33
+ ESM dist/components/radio-group/index.js 131.00 B
34
+ ESM dist/components/label/index.js 85.00 B
35
+ ESM dist/components/textarea/index.js 77.00 B
36
+ ESM dist/components/select/index.js 411.00 B
37
+ ESM dist/components/separator/index.js 93.00 B
38
+ ESM dist/components/input/index.js 71.00 B
39
+ ESM dist/components/popover/index.js 195.00 B
40
+ ESM dist/components/switch/index.js 87.00 B
41
+ ESM dist/chunk-U2EIVYWP.js 1.21 KB
42
+ ESM dist/components/skeleton/index.js 77.00 B
43
+ ESM dist/chunk-I44GXEPN.js 809.00 B
44
+ ESM dist/chunk-FYCANIVJ.js 1.87 KB
45
+ ESM dist/chunk-QL4XJD7Y.js 627.00 B
46
+ ESM dist/components/scroll-area/index.js 121.00 B
47
+ ESM dist/chunk-XQAJQKO7.js 1.46 KB
48
+ ESM dist/chunk-J4CRGO2P.js 1.49 KB
49
+ ESM dist/chunk-4GPFVBO2.js 1.66 KB
50
+ ESM dist/components/tabs/index.js 167.00 B
51
+ ESM dist/chunk-AADRFFPH.js 5.89 KB
52
+ ESM dist/index.js 13.82 KB
53
+ ESM dist/chunk-SKR3J46C.js 363.00 B
54
+ ESM dist/chunk-KZMSLRLW.js 806.00 B
55
+ ESM dist/components/breadcrumb/index.js 315.00 B
56
+ ESM dist/components/avatar/index.js 153.00 B
57
+ ESM dist/chunk-VVNIYCKH.js 1.04 KB
58
+ ESM dist/chunk-FUWID6MC.js 1.52 KB
59
+ ESM dist/components/badge/index.js 105.00 B
60
+ ESM dist/components/card/index.js 219.00 B
61
+ ESM dist/chunk-J57CV3VT.js 690.00 B
62
+ ESM dist/components/button/index.js 109.00 B
63
+ ESM dist/chunk-VSXKLSEP.js 2.45 KB
64
+ ESM dist/components/checkbox/index.js 91.00 B
65
+ ESM dist/chunk-A3U73FA7.js 1.25 KB
66
+ ESM dist/chunk-UZIMC7AQ.js 1.61 KB
67
+ ESM dist/chunk-YTUI6MCB.js 1.98 KB
68
+ ESM dist/components/dropdown/index.js 757.00 B
69
+ ESM dist/chunk-PHMEWMFS.js 7.52 KB
70
+ ESM ⚡️ Build success in 286ms
71
+ DTS Build start
72
+ DTS ⚡️ Build success in 7303ms
73
+ DTS dist/index.d.ts 6.00 KB
74
+ DTS dist/components/avatar/index.d.ts 611.00 B
75
+ DTS dist/components/badge/index.d.ts 653.00 B
76
+ DTS dist/components/breadcrumb/index.d.ts 1.06 KB
77
+ DTS dist/components/button/index.d.ts 806.00 B
78
+ DTS dist/components/card/index.d.ts 947.00 B
79
+ DTS dist/components/checkbox/index.d.ts 310.00 B
80
+ DTS dist/components/dropdown/index.d.ts 2.84 KB
81
+ DTS dist/components/input/index.d.ts 252.00 B
82
+ DTS dist/components/label/index.d.ts 295.00 B
83
+ DTS dist/components/popover/index.d.ts 768.00 B
84
+ DTS dist/components/radio-group/index.d.ts 481.00 B
85
+ DTS dist/components/scroll-area/index.d.ts 509.00 B
86
+ DTS dist/components/select/index.d.ts 1.75 KB
87
+ DTS dist/components/separator/index.d.ts 340.00 B
88
+ DTS dist/components/skeleton/index.d.ts 191.00 B
89
+ DTS dist/components/switch/index.d.ts 300.00 B
90
+ DTS dist/components/tabs/index.d.ts 734.00 B
91
+ DTS dist/components/textarea/index.d.ts 228.00 B
92
+ DTS dist/index.d.cts 6.02 KB
93
+ DTS dist/components/avatar/index.d.cts 611.00 B
94
+ DTS dist/components/badge/index.d.cts 653.00 B
95
+ DTS dist/components/breadcrumb/index.d.cts 1.06 KB
96
+ DTS dist/components/button/index.d.cts 806.00 B
97
+ DTS dist/components/card/index.d.cts 947.00 B
98
+ DTS dist/components/checkbox/index.d.cts 310.00 B
99
+ DTS dist/components/dropdown/index.d.cts 2.84 KB
100
+ DTS dist/components/input/index.d.cts 252.00 B
101
+ DTS dist/components/label/index.d.cts 295.00 B
102
+ DTS dist/components/popover/index.d.cts 768.00 B
103
+ DTS dist/components/radio-group/index.d.cts 481.00 B
104
+ DTS dist/components/scroll-area/index.d.cts 509.00 B
105
+ DTS dist/components/select/index.d.cts 1.75 KB
106
+ DTS dist/components/separator/index.d.cts 340.00 B
107
+ DTS dist/components/skeleton/index.d.cts 191.00 B
108
+ DTS dist/components/switch/index.d.cts 300.00 B
109
+ DTS dist/components/tabs/index.d.cts 734.00 B
110
+ DTS dist/components/textarea/index.d.cts 228.00 B
@@ -1,4 +1,4 @@
1
1
 
2
- > @foundrykit/primitives@1.0.14 type-check /Users/isj/Desktop/work/projects/foundry/packages/primitives
2
+ > @foundrykit/primitives@2.0.5 type-check /Users/isj/Desktop/work/projects/foundry/packages/primitives
3
3
  > tsc --noEmit
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @foundrykit/primitives
2
2
 
3
+ ## 2.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - feat(storybook, maps): massive updates to maps packages spliting and
8
+ developing into full suites + storybook for easy of test
9
+ - Updated dependencies
10
+ - @foundrykit/types@2.0.6
11
+
12
+ ## 2.0.5
13
+
14
+ ### Patch Changes
15
+
16
+ - update
17
+ - Updated dependencies
18
+ - @foundrykit/types@2.0.5
19
+
3
20
  ## 2.0.4
4
21
 
5
22
  ### Patch Changes
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const buttonVariants: (props?: ({
7
- variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
7
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
8
8
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface ButtonProps extends React.ComponentProps<'button'>, VariantProps<typeof buttonVariants> {
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const buttonVariants: (props?: ({
7
- variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
7
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
8
8
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface ButtonProps extends React.ComponentProps<'button'>, VariantProps<typeof buttonVariants> {
package/dist/index.js CHANGED
@@ -1,9 +1,29 @@
1
1
  import {
2
- Textarea
3
- } from "./chunk-I44GXEPN.js";
2
+ Separator
3
+ } from "./chunk-J57CV3VT.js";
4
4
  import {
5
5
  Skeleton
6
6
  } from "./chunk-SKR3J46C.js";
7
+ import {
8
+ Tabs,
9
+ TabsContent,
10
+ TabsList,
11
+ TabsTrigger
12
+ } from "./chunk-FYCANIVJ.js";
13
+ import {
14
+ Input
15
+ } from "./chunk-KZMSLRLW.js";
16
+ import {
17
+ RadioGroup,
18
+ RadioGroupItem
19
+ } from "./chunk-XQAJQKO7.js";
20
+ import {
21
+ Label
22
+ } from "./chunk-QL4XJD7Y.js";
23
+ import {
24
+ ScrollArea,
25
+ ScrollBar
26
+ } from "./chunk-4GPFVBO2.js";
7
27
  import {
8
28
  Select,
9
29
  SelectContent,
@@ -16,38 +36,18 @@ import {
16
36
  SelectTrigger,
17
37
  SelectValue
18
38
  } from "./chunk-AADRFFPH.js";
19
- import {
20
- Input
21
- } from "./chunk-KZMSLRLW.js";
22
- import {
23
- Label
24
- } from "./chunk-QL4XJD7Y.js";
25
39
  import {
26
40
  Popover,
27
41
  PopoverAnchor,
28
42
  PopoverContent,
29
43
  PopoverTrigger
30
44
  } from "./chunk-J4CRGO2P.js";
31
- import {
32
- RadioGroup,
33
- RadioGroupItem
34
- } from "./chunk-XQAJQKO7.js";
35
- import {
36
- ScrollArea,
37
- ScrollBar
38
- } from "./chunk-4GPFVBO2.js";
39
- import {
40
- Separator
41
- } from "./chunk-J57CV3VT.js";
42
- import {
43
- Tabs,
44
- TabsContent,
45
- TabsList,
46
- TabsTrigger
47
- } from "./chunk-FYCANIVJ.js";
48
45
  import {
49
46
  Switch
50
47
  } from "./chunk-U2EIVYWP.js";
48
+ import {
49
+ Textarea
50
+ } from "./chunk-I44GXEPN.js";
51
51
  import {
52
52
  Avatar,
53
53
  AvatarFallback,
@@ -70,6 +70,9 @@ import {
70
70
  Button,
71
71
  buttonVariants
72
72
  } from "./chunk-YTUI6MCB.js";
73
+ import {
74
+ Checkbox
75
+ } from "./chunk-A3U73FA7.js";
73
76
  import {
74
77
  Card,
75
78
  CardContent,
@@ -78,9 +81,6 @@ import {
78
81
  CardHeader,
79
82
  CardTitle
80
83
  } from "./chunk-UZIMC7AQ.js";
81
- import {
82
- Checkbox
83
- } from "./chunk-A3U73FA7.js";
84
84
  import {
85
85
  DropdownMenu,
86
86
  DropdownMenuCheckboxItem,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foundrykit/primitives",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
@@ -43,8 +43,8 @@
43
43
  "react-dom": "^19.1.1",
44
44
  "tailwind-merge": "^3.3.1",
45
45
  "zod": "^3.25.76",
46
- "@foundrykit/types": "2.0.4",
47
- "@foundrykit/utils": "1.0.6"
46
+ "@foundrykit/utils": "1.0.6",
47
+ "@foundrykit/types": "2.0.6"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/node": "^20.19.9",