@binamik/components 0.1.7 → 0.2.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.
package/dist/index.d.ts CHANGED
@@ -2,3 +2,4 @@ export * from './Buttons/';
2
2
  export * from './Styles';
3
3
  export * from './Assets';
4
4
  export * from './Table';
5
+ export * from './DatePicker';
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ declare const buttonVariants: any;
4
+ declare function Button({ className, variant, size, asChild, ref, ...props }: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
5
+ asChild?: boolean;
6
+ ref?: React.Ref<HTMLButtonElement>;
7
+ }): JSX.Element;
8
+ export { Button, buttonVariants };
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import { DayButton, DayPicker } from 'react-day-picker';
3
+ declare function CalendarDayButton({ className, day, modifiers, ...props }: React.ComponentProps<typeof DayButton>): JSX.Element;
4
+ declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
5
+ buttonVariant?: 'link' | 'outline' | 'default' | 'destructive' | 'secondary' | 'ghost' | null | undefined;
6
+ }): JSX.Element;
7
+ export { Calendar, CalendarDayButton };
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import * as PopoverPrimitive from '@radix-ui/react-popover';
3
+ declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): JSX.Element;
4
+ declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): JSX.Element;
5
+ declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): JSX.Element;
6
+ declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): JSX.Element;
7
+ export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
@@ -0,0 +1,2 @@
1
+ import { type ClassValue } from 'clsx';
2
+ export declare function cn(...inputs: ClassValue[]): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@binamik/components",
3
- "version": "0.1.7",
3
+ "version": "0.2.0",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -8,73 +8,73 @@
8
8
  "preview": "vite preview",
9
9
  "storybook": "storybook dev -p 6006",
10
10
  "build-storybook": "storybook build",
11
- "lint": "eslint . --ext .ts,.tsx",
12
- "lint:fix": "eslint . --ext .ts,.tsx --fix",
11
+ "lint": "eslint ./src --ext .ts,.tsx",
12
+ "lint:fix": "eslint ./src --ext .ts,.tsx --fix",
13
13
  "test": "jest",
14
14
  "test:coverage": "jest --coverage"
15
15
  },
16
16
  "resolutions": {
17
17
  "cookie": "^0.7.0",
18
- "semver": "^7.6.0"
18
+ "semver": "^7.6.0",
19
+ "string-length": "4.0.2",
20
+ "strip-ansi": "6.0.1"
19
21
  },
20
22
  "devDependencies": {
21
- "@babel/core": "^7.25.8",
22
- "@babel/preset-env": "^7.25.8",
23
- "@babel/preset-react": "^7.25.7",
24
- "@babel/preset-typescript": "^7.25.7",
25
- "@chromatic-com/storybook": "^1",
26
- "@emotion/react": "^11.9.0",
27
- "@emotion/styled": "^11.8.1",
28
- "@storybook/addon-actions": "^8.2.9",
29
- "@storybook/addon-essentials": "^8.2.9",
30
- "@storybook/addon-interactions": "^8.2.9",
31
- "@storybook/addon-links": "^8.2.9",
23
+ "@babel/core": "^7.28.5",
24
+ "@babel/preset-env": "^7.28.5",
25
+ "@babel/preset-react": "^7.28.5",
26
+ "@babel/preset-typescript": "^7.28.5",
27
+ "@chromatic-com/storybook": "^4.1.3",
28
+ "@eslint/compat": "^2.0.0",
29
+ "@storybook/addon-docs": "^10.1.5",
30
+ "@storybook/addon-links": "^10.1.5",
32
31
  "@storybook/preset-scss": "^1.0.3",
33
- "@storybook/react": "^8.2.9",
34
- "@storybook/react-vite": "^8.2.9",
32
+ "@storybook/react": "^10.1.5",
33
+ "@storybook/react-vite": "^10.1.5",
35
34
  "@storybook/test": "^8.2.9",
36
35
  "@testing-library/jest-dom": "^5.16.4",
37
36
  "@types/jest": "^29.5.13",
38
37
  "@types/node": "^17.0.31",
39
38
  "@types/react": "^18.0.8",
40
39
  "@types/react-dom": "^18.0.0",
41
- "@typescript-eslint/eslint-plugin": "^5.27.1",
42
- "@typescript-eslint/parser": "^5.27.1",
43
- "@vitejs/plugin-react": "^1.3.0",
40
+ "@typescript-eslint/eslint-plugin": "^8.49.0",
41
+ "@typescript-eslint/parser": "^8.49.0",
42
+ "@vitejs/plugin-react": "^5.1.2",
44
43
  "babel-jest": "^29.7.0",
45
44
  "babel-loader": "^8.2.5",
46
- "eslint": "^8.17.0",
47
- "eslint-config-prettier": "^8.5.0",
48
- "eslint-config-standard": "^17.0.0",
49
- "eslint-plugin-import": "^2.31.0",
50
- "eslint-plugin-n": "^15.2.1",
45
+ "eslint": "^9.39.1",
46
+ "eslint-config-prettier": "^10.1.8",
47
+ "eslint-config-standard": "^17.1.0",
48
+ "eslint-plugin-import": "^2.32.0",
49
+ "eslint-plugin-n": "^17.23.1",
51
50
  "eslint-plugin-node": "^11.1.0",
52
- "eslint-plugin-prettier": "5.0.0",
51
+ "eslint-plugin-prettier": "5.5.4",
53
52
  "eslint-plugin-promise": "^6.0.0",
54
- "eslint-plugin-react": "^7.30.0",
55
- "eslint-plugin-react-hooks": "^4.5.0",
53
+ "eslint-plugin-react": "^7.35.7",
54
+ "eslint-plugin-react-hooks": "^7.0.1",
55
+ "eslint-plugin-storybook": "10.1.6",
56
56
  "framer-motion": "^6.3.10",
57
+ "globals": "^16.5.0",
57
58
  "jest": "^29.7.0",
58
59
  "jest-environment-jsdom": "^29.7.0",
59
60
  "jest-mock": "^29.7.0",
60
61
  "mutation-observer": "^1.0.3",
61
- "react": "17.0.2",
62
- "react-dom": "17.0.2",
62
+ "prettier": "^3.7.4",
63
63
  "react-icons": "^4.4.0",
64
- "storybook": "^8.2.9",
64
+ "storybook": "^10.1.5",
65
65
  "ts-jest": "^28.0.4",
66
- "typescript": "^4.6.3",
67
- "vite": "^4.5.5",
66
+ "tw-animate-css": "^1.4.0",
67
+ "typescript": "^5.9.3",
68
+ "vite": "^7.2.7",
68
69
  "vite-plugin-dts": "^1.1.1"
69
70
  },
70
71
  "peerDependencies": {
71
- "@emotion/react": ">=11.9.0",
72
- "@emotion/styled": ">=11.8.1",
73
72
  "framer-motion": ">=6.3.10",
74
- "react": ">=17.0.2",
75
- "react-dom": ">=17.0.2",
76
73
  "react-icons": ">=4.3.0"
77
74
  },
75
+ "overrides": {
76
+ "react-is": "^19.0.0"
77
+ },
78
78
  "files": [
79
79
  "dist"
80
80
  ],
@@ -86,5 +86,21 @@
86
86
  "import": "./dist/binamik-components.es.js",
87
87
  "require": "./dist/binamik-components.umd.js"
88
88
  }
89
+ },
90
+ "dependencies": {
91
+ "@radix-ui/react-popover": "^1.1.15",
92
+ "@radix-ui/react-slot": "^1.2.4",
93
+ "@tailwindcss/vite": "^4.1.17",
94
+ "class-variance-authority": "^0.7.1",
95
+ "clsx": "^2.1.1",
96
+ "date-fns": "^4.1.0",
97
+ "lucide-react": "^0.556.0",
98
+ "react": "^19.2.1",
99
+ "@emotion/react": "^11.14.0",
100
+ "@emotion/styled": "^11.14.1",
101
+ "react-day-picker": "^9.12.0",
102
+ "react-dom": "^19.2.1",
103
+ "tailwind-merge": "^3.4.0",
104
+ "tailwindcss": "^4.1.17"
89
105
  }
90
106
  }