@foundrykit/primitives 1.0.13 → 1.0.15

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.
@@ -0,0 +1,111 @@
1
+
2
+ 
3
+ > @foundrykit/primitives@1.0.14 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/components/badge/index.cjs 2.69 KB
15
+ CJS dist/index.cjs 55.41 KB
16
+ CJS dist/components/input/index.cjs 2.42 KB
17
+ CJS dist/components/label/index.cjs 2.26 KB
18
+ CJS dist/components/avatar/index.cjs 2.84 KB
19
+ CJS dist/components/checkbox/index.cjs 2.99 KB
20
+ CJS dist/components/breadcrumb/index.cjs 4.12 KB
21
+ CJS dist/components/radio-group/index.cjs 3.28 KB
22
+ CJS dist/components/card/index.cjs 3.61 KB
23
+ CJS dist/components/popover/index.cjs 3.35 KB
24
+ CJS dist/components/textarea/index.cjs 1.84 KB
25
+ CJS dist/components/dropdown/index.cjs 10.58 KB
26
+ CJS dist/components/skeleton/index.cjs 1.41 KB
27
+ CJS dist/components/button/index.cjs 3.16 KB
28
+ CJS dist/components/scroll-area/index.cjs 3.50 KB
29
+ CJS dist/components/tabs/index.cjs 3.73 KB
30
+ CJS dist/components/separator/index.cjs 2.34 KB
31
+ CJS dist/components/switch/index.cjs 2.90 KB
32
+ CJS dist/components/select/index.cjs 8.56 KB
33
+ CJS ⚡️ Build success in 44ms
34
+ ESM dist/components/switch/index.js 87.00 B
35
+ ESM dist/components/label/index.js 85.00 B
36
+ ESM dist/components/input/index.js 71.00 B
37
+ ESM dist/components/popover/index.js 195.00 B
38
+ ESM dist/components/radio-group/index.js 131.00 B
39
+ ESM dist/components/textarea/index.js 77.00 B
40
+ ESM dist/components/select/index.js 411.00 B
41
+ ESM dist/components/scroll-area/index.js 121.00 B
42
+ ESM dist/components/skeleton/index.js 77.00 B
43
+ ESM dist/chunk-U2EIVYWP.js 1.21 KB
44
+ ESM dist/chunk-FYCANIVJ.js 1.87 KB
45
+ ESM dist/index.js 13.82 KB
46
+ ESM dist/chunk-I44GXEPN.js 809.00 B
47
+ ESM dist/chunk-KZMSLRLW.js 806.00 B
48
+ ESM dist/components/separator/index.js 93.00 B
49
+ ESM dist/components/tabs/index.js 167.00 B
50
+ ESM dist/chunk-J4CRGO2P.js 1.49 KB
51
+ ESM dist/chunk-QL4XJD7Y.js 627.00 B
52
+ ESM dist/chunk-4GPFVBO2.js 1.66 KB
53
+ ESM dist/chunk-J57CV3VT.js 690.00 B
54
+ ESM dist/chunk-AADRFFPH.js 5.89 KB
55
+ ESM dist/chunk-VVNIYCKH.js 1.04 KB
56
+ ESM dist/components/badge/index.js 105.00 B
57
+ ESM dist/components/avatar/index.js 153.00 B
58
+ ESM dist/chunk-SKR3J46C.js 363.00 B
59
+ ESM dist/components/breadcrumb/index.js 315.00 B
60
+ ESM dist/chunk-VSXKLSEP.js 2.45 KB
61
+ ESM dist/chunk-UZIMC7AQ.js 1.61 KB
62
+ ESM dist/chunk-YTUI6MCB.js 1.98 KB
63
+ ESM dist/chunk-A3U73FA7.js 1.25 KB
64
+ ESM dist/components/card/index.js 219.00 B
65
+ ESM dist/components/button/index.js 109.00 B
66
+ ESM dist/components/dropdown/index.js 757.00 B
67
+ ESM dist/chunk-PHMEWMFS.js 7.52 KB
68
+ ESM dist/chunk-FUWID6MC.js 1.52 KB
69
+ ESM dist/chunk-XQAJQKO7.js 1.46 KB
70
+ ESM dist/components/checkbox/index.js 91.00 B
71
+ ESM ⚡️ Build success in 45ms
72
+ DTS Build start
73
+ DTS ⚡️ Build success in 4591ms
74
+ DTS dist/index.d.ts 6.00 KB
75
+ DTS dist/components/avatar/index.d.ts 611.00 B
76
+ DTS dist/components/badge/index.d.ts 653.00 B
77
+ DTS dist/components/breadcrumb/index.d.ts 1.06 KB
78
+ DTS dist/components/button/index.d.ts 806.00 B
79
+ DTS dist/components/card/index.d.ts 947.00 B
80
+ DTS dist/components/checkbox/index.d.ts 310.00 B
81
+ DTS dist/components/dropdown/index.d.ts 2.84 KB
82
+ DTS dist/components/input/index.d.ts 252.00 B
83
+ DTS dist/components/label/index.d.ts 295.00 B
84
+ DTS dist/components/popover/index.d.ts 768.00 B
85
+ DTS dist/components/radio-group/index.d.ts 481.00 B
86
+ DTS dist/components/scroll-area/index.d.ts 509.00 B
87
+ DTS dist/components/select/index.d.ts 1.75 KB
88
+ DTS dist/components/separator/index.d.ts 340.00 B
89
+ DTS dist/components/skeleton/index.d.ts 191.00 B
90
+ DTS dist/components/switch/index.d.ts 300.00 B
91
+ DTS dist/components/tabs/index.d.ts 734.00 B
92
+ DTS dist/components/textarea/index.d.ts 228.00 B
93
+ DTS dist/index.d.cts 6.02 KB
94
+ DTS dist/components/avatar/index.d.cts 611.00 B
95
+ DTS dist/components/badge/index.d.cts 653.00 B
96
+ DTS dist/components/breadcrumb/index.d.cts 1.06 KB
97
+ DTS dist/components/button/index.d.cts 806.00 B
98
+ DTS dist/components/card/index.d.cts 947.00 B
99
+ DTS dist/components/checkbox/index.d.cts 310.00 B
100
+ DTS dist/components/dropdown/index.d.cts 2.84 KB
101
+ DTS dist/components/input/index.d.cts 252.00 B
102
+ DTS dist/components/label/index.d.cts 295.00 B
103
+ DTS dist/components/popover/index.d.cts 768.00 B
104
+ DTS dist/components/radio-group/index.d.cts 481.00 B
105
+ DTS dist/components/scroll-area/index.d.cts 509.00 B
106
+ DTS dist/components/select/index.d.cts 1.75 KB
107
+ DTS dist/components/separator/index.d.cts 340.00 B
108
+ DTS dist/components/skeleton/index.d.cts 191.00 B
109
+ DTS dist/components/switch/index.d.cts 300.00 B
110
+ DTS dist/components/tabs/index.d.cts 734.00 B
111
+ DTS dist/components/textarea/index.d.cts 228.00 B
@@ -0,0 +1,4 @@
1
+
2
+ > @foundrykit/primitives@1.0.14 type-check /Users/isj/Desktop/work/projects/foundry/packages/primitives
3
+ > tsc --noEmit
4
+
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @foundrykit/primitives
2
2
 
3
+ ## 1.0.15
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @foundrykit/types@1.1.0
9
+
10
+ ## 1.0.14
11
+
12
+ ### Patch Changes
13
+
14
+ - Just a quick demo for Anvar
15
+ - Updated dependencies
16
+ - @foundrykit/types@1.0.9
17
+ - @foundrykit/utils@1.0.6
18
+
3
19
  ## 1.0.13
4
20
 
5
21
  ### 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 badgeVariants: (props?: ({
7
- variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
7
+ variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
10
10
  asChild?: boolean;
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const badgeVariants: (props?: ({
7
- variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
7
+ variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
10
10
  asChild?: boolean;
@@ -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" | "secondary" | "destructive" | "outline" | "link" | "ghost" | null | undefined;
7
+ variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | 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" | "secondary" | "destructive" | "outline" | "link" | "ghost" | null | undefined;
7
+ variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | 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,3 +1,6 @@
1
+ import {
2
+ Skeleton
3
+ } from "./chunk-SKR3J46C.js";
1
4
  import {
2
5
  Tabs,
3
6
  TabsContent,
@@ -8,10 +11,8 @@ import {
8
11
  Textarea
9
12
  } from "./chunk-I44GXEPN.js";
10
13
  import {
11
- Avatar,
12
- AvatarFallback,
13
- AvatarImage
14
- } from "./chunk-VVNIYCKH.js";
14
+ Input
15
+ } from "./chunk-KZMSLRLW.js";
15
16
  import {
16
17
  Label
17
18
  } from "./chunk-QL4XJD7Y.js";
@@ -25,10 +26,6 @@ import {
25
26
  RadioGroup,
26
27
  RadioGroupItem
27
28
  } from "./chunk-XQAJQKO7.js";
28
- import {
29
- ScrollArea,
30
- ScrollBar
31
- } from "./chunk-4GPFVBO2.js";
32
29
  import {
33
30
  Select,
34
31
  SelectContent,
@@ -41,19 +38,29 @@ import {
41
38
  SelectTrigger,
42
39
  SelectValue
43
40
  } from "./chunk-AADRFFPH.js";
41
+ import {
42
+ ScrollArea,
43
+ ScrollBar
44
+ } from "./chunk-4GPFVBO2.js";
44
45
  import {
45
46
  Separator
46
47
  } from "./chunk-J57CV3VT.js";
47
- import {
48
- Skeleton
49
- } from "./chunk-SKR3J46C.js";
50
48
  import {
51
49
  Switch
52
50
  } from "./chunk-U2EIVYWP.js";
51
+ import {
52
+ Avatar,
53
+ AvatarFallback,
54
+ AvatarImage
55
+ } from "./chunk-VVNIYCKH.js";
53
56
  import {
54
57
  Badge,
55
58
  badgeVariants
56
59
  } from "./chunk-FUWID6MC.js";
60
+ import {
61
+ Button,
62
+ buttonVariants
63
+ } from "./chunk-YTUI6MCB.js";
57
64
  import {
58
65
  Breadcrumb,
59
66
  BreadcrumbEllipsis,
@@ -63,10 +70,6 @@ import {
63
70
  BreadcrumbPage,
64
71
  BreadcrumbSeparator
65
72
  } from "./chunk-VSXKLSEP.js";
66
- import {
67
- Button,
68
- buttonVariants
69
- } from "./chunk-YTUI6MCB.js";
70
73
  import {
71
74
  Card,
72
75
  CardContent,
@@ -95,9 +98,6 @@ import {
95
98
  DropdownMenuSubTrigger,
96
99
  DropdownMenuTrigger
97
100
  } from "./chunk-PHMEWMFS.js";
98
- import {
99
- Input
100
- } from "./chunk-KZMSLRLW.js";
101
101
 
102
102
  // src/components/toggle/index.tsx
103
103
  import * as TogglePrimitive from "@radix-ui/react-toggle";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foundrykit/primitives",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
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": "1.0.8",
47
- "@foundrykit/utils": "1.0.5"
46
+ "@foundrykit/types": "1.1.0",
47
+ "@foundrykit/utils": "1.0.6"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/node": "^20.19.9",
@@ -54,8 +54,8 @@
54
54
  "fs-extra": "^11.2.0",
55
55
  "tsup": "^8.0.0",
56
56
  "typescript": "^5.9.2",
57
- "@foundrykit/eslint-config": "1.0.4",
58
- "@foundrykit/typescript-config": "1.0.4"
57
+ "@foundrykit/eslint-config": "1.0.5",
58
+ "@foundrykit/typescript-config": "1.0.5"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "react": "^19.1.1",