ikoncomponents 1.4.5 → 1.4.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.
@@ -3,7 +3,7 @@ import { revalidatePath, revalidateTag } from "next/cache";
3
3
  export async function revalidateData({ paths, tags }) {
4
4
  if (tags) {
5
5
  for (const tag of tags) {
6
- revalidateTag(tag);
6
+ revalidateTag(tag, "default");
7
7
  }
8
8
  }
9
9
  if (paths) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/api/loginService/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,mBAAmB,EACnB,wCAAwC,EACxC,iCAAiC,EACjC,UAAU,EACV,sBAAsB,EACtB,gBAAgB,EACjB,MAAM,QAAQ,CAAC;AAGhB,eAAO,MAAM,KAAK,GAAU,wBAAwB,UAAU,iBAQ7D,CAAC;AAEF,eAAO,MAAM,aAAa,GAAU,cAAc,mBAAmB,iBAQpE,CAAC;AAEF,eAAO,MAAM,WAAW,GAAU,iCAG/B;IACD,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,iBAQA,CAAC;AAEF,eAAO,MAAM,WAAW,GAAU,2BAG/B,gBAAgB,iBAQlB,CAAC;AAEF,eAAO,MAAM,MAAM,oBAMlB,CAAC;AACF,eAAO,MAAM,sBAAsB,GACjC,cAAc,OAAO,KACpB,OAAO,CAAC,iCAAiC,CAO3C,CAAC;AAEF,eAAO,MAAM,6BAA6B,GACxC,cAAc,OAAO,KACpB,OAAO,CAAC,wCAAwC,CAOlD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAU,kEAMrC,sBAAsB,iBAQxB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/api/loginService/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,mBAAmB,EACnB,wCAAwC,EACxC,iCAAiC,EACjC,UAAU,EACV,sBAAsB,EACtB,gBAAgB,EACjB,MAAM,QAAQ,CAAC;AAGhB,eAAO,MAAM,KAAK,GAAU,wBAAwB,UAAU,iBAQ7D,CAAC;AAEF,eAAO,MAAM,aAAa,GAAU,cAAc,mBAAmB,iBAQpE,CAAC;AAEF,eAAO,MAAM,WAAW,GAAU,iCAG/B;IACD,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,iBAQA,CAAC;AAEF,eAAO,MAAM,WAAW,GAAU,2BAG/B,gBAAgB,iBAQlB,CAAC;AAEF,eAAO,MAAM,MAAM,oBAMlB,CAAC;AACF,eAAO,MAAM,sBAAsB,GACjC,cAAc,OAAO,KACpB,OAAO,CAAC,iCAAiC,CAO3C,CAAC;AAEF,eAAO,MAAM,6BAA6B,GACxC,cAAc,OAAO,KACpB,OAAO,CAAC,wCAAwC,CAOlD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAU,kEAMrC,sBAAsB,iBAUxB,CAAC"}
@@ -67,6 +67,6 @@ export const updateUserProfile = async ({ userName, userPassword, userPhone, use
67
67
  operation: "updateUserProfile",
68
68
  arguments_: [userName, userPassword, userPhone, userEmail, userThumbnail],
69
69
  });
70
- revalidateTag("profile");
70
+ revalidateTag("profile", "default");
71
71
  return result.data;
72
72
  };
package/package.json CHANGED
@@ -1,59 +1,26 @@
1
1
  {
2
2
  "name": "ikoncomponents",
3
- "version": "1.4.5",
4
- "description": "A React component library built with Radix UI and Tailwind CSS",
3
+ "version": "1.4.6",
5
4
  "main": "dist/index.js",
6
5
  "types": "dist/index.d.ts",
7
- "files": [
8
- "dist",
9
- "README.md"
10
- ],
11
6
  "exports": {
12
7
  ".": {
13
- "types": "./dist/index.d.ts",
14
- "default": "./dist/index.js"
8
+ "import": "./dist/index.js",
9
+ "require": "./dist/index.js",
10
+ "types": "./dist/index.d.ts"
15
11
  },
16
- "./styles.css": "./dist/styles.css",
17
- "./hooks": {
18
- "types": "./dist/hooks/index.d.ts",
19
- "default": "./dist/hooks/index.js"
20
- },
21
- "./utils": {
22
- "types": "./dist/utils/index.d.ts",
23
- "default": "./dist/utils/index.js"
24
- }
12
+ "./styles.css": "./dist/styles.css"
25
13
  },
14
+ "files": [
15
+ "dist"
16
+ ],
26
17
  "scripts": {
18
+ "build": "npm run clean && npm run build:js && npm run build:css",
19
+ "build:js": "tsc -p tsconfig.json",
20
+ "build:css": "postcss src/styles.css -o dist/styles.css --config postcss.config.mjs",
27
21
  "clean": "rimraf dist",
28
- "build": "npm run clean && tsc -p tsconfig.json && npm run copy:css",
29
- "copy:css": "copyfiles -u 1 src/styles.css dist",
30
22
  "prepublishOnly": "npm run build"
31
23
  },
32
- "keywords": [
33
- "react",
34
- "components",
35
- "ui",
36
- "tailwind",
37
- "radix-ui",
38
- "shadcn"
39
- ],
40
- "author": "Your Name",
41
- "license": "MIT",
42
- "repository": {
43
- "type": "git",
44
- "url": "your-repo-url"
45
- },
46
- "peerDependencies": {
47
- "next": "^14.0.0 || ^15.0.0 || ^16.0.0",
48
- "react": "^18.0.0 || ^19.0.0",
49
- "react-dom": "^18.0.0 || ^19.0.0",
50
- "tailwindcss": "^3.0.0 || ^4.0.0"
51
- },
52
- "peerDependenciesMeta": {
53
- "next": {
54
- "optional": true
55
- }
56
- },
57
24
  "dependencies": {
58
25
  "@radix-ui/react-accordion": "^1.2.12",
59
26
  "@radix-ui/react-alert-dialog": "^1.1.15",
@@ -94,11 +61,11 @@
94
61
  "jwt-decode": "^4.0.0",
95
62
  "lucide-react": "^0.552.0",
96
63
  "motion": "^12.23.22",
97
- "next-themes": "^0.4.6",
98
64
  "react-big-calendar": "^1.19.4",
99
65
  "react-cropper": "^2.3.3",
100
66
  "react-day-picker": "^9.9.0",
101
67
  "react-hook-form": "^7.64.0",
68
+ "shadcn": "^3.5.0",
102
69
  "sonner": "^2.0.7",
103
70
  "tailwind-merge": "^3.3.1",
104
71
  "tailwindcss-animate": "^1.0.7",
@@ -113,8 +80,24 @@
113
80
  "@types/react-big-calendar": "^1.16.3",
114
81
  "@types/react-dom": "^19",
115
82
  "@types/zxcvbn": "^4.4.5",
116
- "copyfiles": "^2.4.1",
83
+ "autoprefixer": "^10.4.21",
84
+ "baseline-browser-mapping": "^2.9.14",
85
+ "eslint": "^9",
86
+ "eslint-config-next": "16.0.0",
87
+ "postcss": "^8.5.6",
88
+ "postcss-cli": "^11.0.1",
89
+ "postcss-import": "^16.1.1",
117
90
  "rimraf": "^6.0.1",
91
+ "tailwindcss": "^4",
118
92
  "typescript": "^5"
93
+ },
94
+ "peerDependencies": {
95
+ "clsx": "^2.1.1",
96
+ "next": "16.0.0",
97
+ "next-themes": "^0.4.6",
98
+ "react": "^18.2.0",
99
+ "react-dom": "^18.2.0",
100
+ "tailwind-merge": "^3.3.1",
101
+ "tailwindcss": "^4.0.0"
119
102
  }
120
103
  }