ag-common 0.0.769 → 0.0.771
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/ui/components/index.d.ts +1 -2
- package/dist/ui/components/index.js +1 -2
- package/dist/ui/components/shadcn/accordion.d.ts +16 -0
- package/dist/ui/components/shadcn/accordion.js +83 -0
- package/dist/ui/components/shadcn/alert.d.ts +8 -0
- package/dist/ui/components/shadcn/alert.js +79 -0
- package/dist/ui/components/shadcn/avatar.d.ts +6 -0
- package/dist/ui/components/shadcn/avatar.js +69 -0
- package/dist/ui/components/shadcn/button.d.ts +11 -0
- package/dist/ui/components/shadcn/button.js +81 -0
- package/dist/ui/components/shadcn/card.d.ts +8 -0
- package/dist/ui/components/shadcn/card.js +85 -0
- package/dist/ui/components/shadcn/checkbox.d.ts +4 -0
- package/dist/ui/components/shadcn/checkbox.js +60 -0
- package/dist/ui/components/shadcn/dialog.d.ts +19 -0
- package/dist/ui/components/shadcn/dialog.js +106 -0
- package/dist/ui/components/shadcn/divider.d.ts +8 -0
- package/dist/ui/components/shadcn/divider.js +14 -0
- package/dist/ui/components/shadcn/dropdown-menu.d.ts +27 -0
- package/dist/ui/components/shadcn/dropdown-menu.js +132 -0
- package/dist/ui/components/shadcn/index.d.ts +17 -0
- package/dist/ui/components/shadcn/index.js +33 -0
- package/dist/ui/components/shadcn/input-selector.d.ts +17 -0
- package/dist/ui/components/shadcn/input-selector.js +99 -0
- package/dist/ui/components/shadcn/input.d.ts +3 -0
- package/dist/ui/components/shadcn/input.js +55 -0
- package/dist/ui/components/shadcn/label.d.ts +5 -0
- package/dist/ui/components/{Accordion/index.js → shadcn/label.js} +22 -32
- package/dist/ui/components/shadcn/popover.d.ts +7 -0
- package/dist/ui/components/shadcn/popover.js +64 -0
- package/dist/ui/components/shadcn/scroll-area.d.ts +5 -0
- package/dist/ui/components/shadcn/scroll-area.js +69 -0
- package/dist/ui/components/shadcn/select.d.ts +13 -0
- package/dist/ui/components/shadcn/select.js +116 -0
- package/dist/ui/components/shadcn/sheet.d.ts +25 -0
- package/dist/ui/components/shadcn/sheet.js +116 -0
- package/dist/ui/components/shadcn/textarea.d.ts +3 -0
- package/dist/ui/components/shadcn/textarea.js +55 -0
- package/dist/ui/helpers/index.d.ts +2 -0
- package/dist/ui/helpers/index.js +2 -0
- package/dist/ui/helpers/openDialog.d.ts +23 -0
- package/dist/ui/helpers/openDialog.js +95 -0
- package/dist/ui/helpers/utils.d.ts +4 -0
- package/dist/ui/helpers/utils.js +11 -0
- package/dist/ui/index.d.ts +0 -1
- package/dist/ui/index.js +0 -1
- package/package.json +23 -3
- package/dist/ui/components/Accordion/index.d.ts +0 -12
package/dist/ui/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.
|
|
2
|
+
"version": "0.0.771",
|
|
3
3
|
"name": "ag-common",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"license": "ISC",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"preinstall": "npx only-allow pnpm",
|
|
10
|
-
"format": "eslint src --fix",
|
|
10
|
+
"format": "eslint src --fix && eslint stories --fix",
|
|
11
11
|
"lint:tsc": "tsc --noEmit",
|
|
12
12
|
"lint:eslint": "eslint src",
|
|
13
13
|
"lint": "pnpm run /^lint:/",
|
|
@@ -26,6 +26,8 @@
|
|
|
26
26
|
"@aws-sdk/lib-dynamodb": "^3.879.0",
|
|
27
27
|
"@aws-sdk/s3-presigned-post": "^3.879.0",
|
|
28
28
|
"@azure/cosmos": "^4.5.1",
|
|
29
|
+
"@storybook/addon-styling-webpack": "^2.0.0",
|
|
30
|
+
"@storybook/react-vite": "^9.1.10",
|
|
29
31
|
"aws-cdk-lib": "^2.213.0",
|
|
30
32
|
"buffer": "^6.0.3",
|
|
31
33
|
"jsonwebtoken": "^9.0.2",
|
|
@@ -38,28 +40,46 @@
|
|
|
38
40
|
"devDependencies": {
|
|
39
41
|
"@emotion/react": "^11.14.0",
|
|
40
42
|
"@emotion/styled": "^11.14.1",
|
|
43
|
+
"@radix-ui/react-accordion": "1.2.12",
|
|
44
|
+
"@radix-ui/react-avatar": "1.1.10",
|
|
45
|
+
"@radix-ui/react-checkbox": "1.3.3",
|
|
46
|
+
"@radix-ui/react-dialog": "1.1.15",
|
|
47
|
+
"@radix-ui/react-dropdown-menu": "2.1.16",
|
|
48
|
+
"@radix-ui/react-icons": "1.3.2",
|
|
49
|
+
"@radix-ui/react-label": "2.1.7",
|
|
50
|
+
"@radix-ui/react-popover": "1.1.15",
|
|
51
|
+
"@radix-ui/react-scroll-area": "1.2.10",
|
|
52
|
+
"@radix-ui/react-select": "2.2.6",
|
|
53
|
+
"@radix-ui/react-slot": "1.2.3",
|
|
41
54
|
"@smithy/types": "^4.3.2",
|
|
42
55
|
"@storybook/addon-docs": "^9.1.3",
|
|
43
56
|
"@storybook/addon-links": "^9.1.3",
|
|
44
|
-
"@storybook/addon-webpack5-compiler-swc": "^3.0.0",
|
|
45
57
|
"@storybook/addons": "^7.6.17",
|
|
46
58
|
"@storybook/manager-api": "^8.6.14",
|
|
47
59
|
"@storybook/react": "^9.1.3",
|
|
48
60
|
"@storybook/react-webpack5": "^9.1.3",
|
|
49
61
|
"@storybook/theming": "^8.6.14",
|
|
62
|
+
"@tailwindcss/postcss": "4.1.13",
|
|
50
63
|
"@types/jsonwebtoken": "^9.0.10",
|
|
51
64
|
"@types/node": "^24.3.0",
|
|
52
65
|
"@types/react": "^19.1.12",
|
|
53
66
|
"@types/react-dom": "^19.1.9",
|
|
54
67
|
"@typescript-eslint/eslint-plugin": "^8.41.0",
|
|
55
68
|
"@typescript-eslint/parser": "^8.41.0",
|
|
69
|
+
"autoprefixer": "10.4.21",
|
|
70
|
+
"class-variance-authority": "^0.7.1",
|
|
71
|
+
"clsx": "^2.1.1",
|
|
56
72
|
"cross-env": "^10.0.0",
|
|
57
73
|
"eslint": "^9.34.0",
|
|
58
74
|
"eslint-config-e7npm": "^0.1.24",
|
|
59
75
|
"eslint-plugin-storybook": "^9.1.3",
|
|
60
76
|
"globstar": "^1.0.0",
|
|
77
|
+
"lucide-react": "^0.544.0",
|
|
61
78
|
"rimraf": "^6.0.1",
|
|
62
79
|
"storybook": "^9.1.3",
|
|
80
|
+
"tailwind-merge": "3.3.1",
|
|
81
|
+
"tailwindcss": "4.1.13",
|
|
82
|
+
"tailwindcss-animate": "1.0.7",
|
|
63
83
|
"tsx": "^4.20.5"
|
|
64
84
|
},
|
|
65
85
|
"resolutions": {
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IAccordion {
|
|
3
|
-
children: string | React.ReactNode;
|
|
4
|
-
title: string;
|
|
5
|
-
/** controlled component if provided */
|
|
6
|
-
open?: boolean;
|
|
7
|
-
/** called when openness changes */
|
|
8
|
-
setOpen?: (open: boolean) => void;
|
|
9
|
-
chevronColour?: string;
|
|
10
|
-
className?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const Accordion: ({ title, children, open, setOpen, chevronColour, className, }: IAccordion) => React.JSX.Element;
|