ikoncomponents 1.4.3 → 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,60 +1,26 @@
1
1
  {
2
2
  "name": "ikoncomponents",
3
- "version": "1.4.3",
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
- "src/styles.css",
10
- "README.md"
11
- ],
12
6
  "exports": {
13
7
  ".": {
14
- "types": "./dist/index.d.ts",
15
- "default": "./dist/index.js"
8
+ "import": "./dist/index.js",
9
+ "require": "./dist/index.js",
10
+ "types": "./dist/index.d.ts"
16
11
  },
17
- "./styles.css": "./src/styles.css",
18
- "./dist/styles.css": "./src/styles.css",
19
- "./hooks": {
20
- "types": "./dist/hooks/index.d.ts",
21
- "default": "./dist/hooks/index.js"
22
- },
23
- "./utils": {
24
- "types": "./dist/utils/index.d.ts",
25
- "default": "./dist/utils/index.js"
26
- }
12
+ "./styles.css": "./dist/styles.css"
27
13
  },
14
+ "files": [
15
+ "dist"
16
+ ],
28
17
  "scripts": {
29
- "build": "npm run clean && tsc -p tsconfig.json",
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",
30
21
  "clean": "rimraf dist",
31
22
  "prepublishOnly": "npm run build"
32
23
  },
33
- "keywords": [
34
- "react",
35
- "components",
36
- "ui",
37
- "tailwind",
38
- "radix-ui",
39
- "shadcn"
40
- ],
41
- "author": "Your Name",
42
- "license": "MIT",
43
- "repository": {
44
- "type": "git",
45
- "url": "your-repo-url"
46
- },
47
- "peerDependencies": {
48
- "react": "^18.0.0 || ^19.0.0",
49
- "react-dom": "^18.0.0 || ^19.0.0",
50
- "next": "^14.0.0 || ^15.0.0 || ^16.0.0",
51
- "tailwindcss": "^3.0.0 || ^4.0.0"
52
- },
53
- "peerDependenciesMeta": {
54
- "next": {
55
- "optional": true
56
- }
57
- },
58
24
  "dependencies": {
59
25
  "@radix-ui/react-accordion": "^1.2.12",
60
26
  "@radix-ui/react-alert-dialog": "^1.1.15",
@@ -95,11 +61,11 @@
95
61
  "jwt-decode": "^4.0.0",
96
62
  "lucide-react": "^0.552.0",
97
63
  "motion": "^12.23.22",
98
- "next-themes": "^0.4.6",
99
64
  "react-big-calendar": "^1.19.4",
100
65
  "react-cropper": "^2.3.3",
101
66
  "react-day-picker": "^9.9.0",
102
67
  "react-hook-form": "^7.64.0",
68
+ "shadcn": "^3.5.0",
103
69
  "sonner": "^2.0.7",
104
70
  "tailwind-merge": "^3.3.1",
105
71
  "tailwindcss-animate": "^1.0.7",
@@ -114,7 +80,24 @@
114
80
  "@types/react-big-calendar": "^1.16.3",
115
81
  "@types/react-dom": "^19",
116
82
  "@types/zxcvbn": "^4.4.5",
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
+ }