@ah-automation.nl/component-lib 0.0.84 → 0.0.86
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/README.md +23 -0
- package/dist/components/section-card.d.ts +1 -1
- package/dist/components/section-card.d.ts.map +1 -1
- package/dist/components/sidebar-nav.d.ts.map +1 -1
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/data-table.d.ts +8 -1
- package/dist/components/ui/data-table.d.ts.map +1 -1
- package/dist/hooks/use-mobile.d.ts.map +1 -1
- package/dist/index.js +12689 -12177
- package/dist/styles.css +1 -1
- package/dist/types/phone-number-input.d.ts +2 -2
- package/dist/types/phone-number-input.d.ts.map +1 -1
- package/dist/types/section-card.d.ts +8 -1
- package/dist/types/section-card.d.ts.map +1 -1
- package/package.json +86 -81
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as React from "react";
|
|
2
|
-
import type { Country,
|
|
2
|
+
import type { Country, Value } from "react-phone-number-input";
|
|
3
3
|
export type PhoneNumberInputCountry = Country;
|
|
4
|
-
export type PhoneNumberInputValue = Value
|
|
4
|
+
export type PhoneNumberInputValue = Value;
|
|
5
5
|
export type PhoneNumberInputValidationError = "invalid_phone_number";
|
|
6
6
|
export type PhoneNumberInputChangeDetails = {
|
|
7
7
|
callingCode: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-number-input.d.ts","sourceRoot":"","sources":["../../src/types/phone-number-input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"phone-number-input.d.ts","sourceRoot":"","sources":["../../src/types/phone-number-input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAE/D,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC;AAC9C,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC;AAC1C,MAAM,MAAM,+BAA+B,GAAG,sBAAsB,CAAC;AACrE,MAAM,MAAM,6BAA6B,GAAG;IAC1C,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,uBAAuB,CAAC;IACjC,KAAK,CAAC,EAAE,+BAA+B,CAAC;IACxC,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,qBAAqB,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,EACvC,WAAW,GAAG,cAAc,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,CAC7D,GAAG;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,uBAAuB,EAAE,CAAC;IACtC,OAAO,CAAC,EAAE,uBAAuB,CAAC;IAClC,cAAc,CAAC,EAAE,uBAAuB,CAAC;IACzC,YAAY,CAAC,EAAE,qBAAqB,CAAC;IACrC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,CAChB,OAAO,EAAE,uBAAuB,EAChC,OAAO,EAAE,6BAA6B,KACnC,IAAI,CAAC;IACV,aAAa,CAAC,EAAE,CACd,KAAK,EAAE,qBAAqB,GAAG,SAAS,EACxC,OAAO,EAAE,6BAA6B,KACnC,IAAI,CAAC;IACV,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,qBAAqB,CAAC;CAC/B,CAAC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
export type SectionCardProps = {
|
|
3
|
-
title:
|
|
3
|
+
title: ReactNode;
|
|
4
|
+
description?: ReactNode;
|
|
5
|
+
action?: ReactNode;
|
|
4
6
|
children: ReactNode;
|
|
7
|
+
footer?: ReactNode;
|
|
5
8
|
size?: "default" | "sm";
|
|
6
9
|
className?: string;
|
|
10
|
+
headerClassName?: string;
|
|
11
|
+
titleClassName?: string;
|
|
12
|
+
descriptionClassName?: string;
|
|
7
13
|
contentClassName?: string;
|
|
14
|
+
footerClassName?: string;
|
|
8
15
|
};
|
|
9
16
|
//# sourceMappingURL=section-card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"section-card.d.ts","sourceRoot":"","sources":["../../src/types/section-card.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"section-card.d.ts","sourceRoot":"","sources":["../../src/types/section-card.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,81 +1,86 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ah-automation.nl/component-lib",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"main": "./dist/index.js",
|
|
6
|
-
"module": "./dist/index.js",
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist"
|
|
10
|
-
],
|
|
11
|
-
"exports": {
|
|
12
|
-
".": {
|
|
13
|
-
"types": "./dist/index.d.ts",
|
|
14
|
-
"import": "./dist/index.js"
|
|
15
|
-
},
|
|
16
|
-
"./styles.css": "./dist/styles.css"
|
|
17
|
-
},
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
},
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"@
|
|
62
|
-
"eslint": "^
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"eslint
|
|
68
|
-
"eslint-
|
|
69
|
-
"eslint-
|
|
70
|
-
"eslint-plugin-
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"react": "^
|
|
74
|
-
"react-
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@ah-automation.nl/component-lib",
|
|
3
|
+
"version": "0.0.86",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./styles.css": "./dist/styles.css"
|
|
17
|
+
},
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"registry": "https://registry.npmjs.org/",
|
|
20
|
+
"access": "public"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"dev": "vite",
|
|
24
|
+
"typecheck": "tsc -b",
|
|
25
|
+
"build:types": "tsc -p tsconfig.lib.json",
|
|
26
|
+
"build": "npm run typecheck && vite build && npm run build:types",
|
|
27
|
+
"lint": "eslint .",
|
|
28
|
+
"lint:fix": "eslint . --fix",
|
|
29
|
+
"format": "prettier --write .",
|
|
30
|
+
"format:check": "prettier --check .",
|
|
31
|
+
"preview": "vite preview",
|
|
32
|
+
"check": "npm run lint && npm run typecheck && npm run format:check"
|
|
33
|
+
},
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"react": "^19.2.4",
|
|
36
|
+
"react-dom": "^19.2.4",
|
|
37
|
+
"radix-ui": "^1.4.3"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@fontsource-variable/geist": "^5.2.8",
|
|
41
|
+
"@tailwindcss/vite": "^4.2.1",
|
|
42
|
+
"@tanstack/react-table": "^8.21.3",
|
|
43
|
+
"@tanstack/react-virtual": "^3.13.23",
|
|
44
|
+
"class-variance-authority": "^0.7.1",
|
|
45
|
+
"clsx": "^2.1.1",
|
|
46
|
+
"cmdk": "^1.1.1",
|
|
47
|
+
"country-flag-icons": "^1.6.17",
|
|
48
|
+
"date-fns": "^4.1.0",
|
|
49
|
+
"embla-carousel-react": "^8.6.0",
|
|
50
|
+
"lucide-react": "^0.577.0",
|
|
51
|
+
"react-day-picker": "^10.0.0",
|
|
52
|
+
"react-phone-number-input": "^3.4.16",
|
|
53
|
+
"recharts": "3.8.0",
|
|
54
|
+
"shadcn": "^4.0.7",
|
|
55
|
+
"tailwind-merge": "^3.5.0",
|
|
56
|
+
"tailwindcss": "^4.2.1",
|
|
57
|
+
"tw-animate-css": "^1.4.0",
|
|
58
|
+
"vaul": "^1.1.2"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@eslint/js": "^9.39.4",
|
|
62
|
+
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
63
|
+
"@types/node": "^24.12.0",
|
|
64
|
+
"@types/react": "^19.2.14",
|
|
65
|
+
"@types/react-dom": "^19.2.3",
|
|
66
|
+
"@vitejs/plugin-react": "^5.1.1",
|
|
67
|
+
"eslint": "^9.39.4",
|
|
68
|
+
"eslint-config-prettier": "^10.1.8",
|
|
69
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
70
|
+
"eslint-plugin-import-x": "^4.16.2",
|
|
71
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
72
|
+
"eslint-plugin-react": "^7.37.5",
|
|
73
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
74
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
75
|
+
"eslint-plugin-simple-import-sort": "^13.0.0",
|
|
76
|
+
"globals": "^17.4.0",
|
|
77
|
+
"prettier": "3.8.1",
|
|
78
|
+
"react": "^19.2.4",
|
|
79
|
+
"react-dom": "^19.2.4",
|
|
80
|
+
"radix-ui": "^1.4.3",
|
|
81
|
+
"rollup-plugin-visualizer": "^7.0.1",
|
|
82
|
+
"typescript": "~5.9.3",
|
|
83
|
+
"typescript-eslint": "^8.56.1",
|
|
84
|
+
"vite": "^7.2.4"
|
|
85
|
+
}
|
|
86
|
+
}
|