injast-core 1.0.79 → 1.0.80

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 CHANGED
@@ -124,7 +124,15 @@ import "injast-core/fonts.css";
124
124
 
125
125
  ## Figma Make
126
126
 
127
- Figma Make users should select the public npm package named `injast-core`. Do not use `@alimohammadiwork/injast-core`; that is a different scoped package name.
127
+ Figma Make users should select the public npm package named `injast-core`. Do not use `@alimohammadiwork/injast-core` or `@make-kits/injast-core-make-kit` for the public package path.
128
+
129
+ If the package selector ranks unrelated `core` packages when searching `injast-core`, search for:
130
+
131
+ ```text
132
+ injast
133
+ ```
134
+
135
+ Then select `injast-core` from the public unscoped package results.
128
136
 
129
137
  For Make kits, start with the included guidelines:
130
138
 
@@ -33,7 +33,9 @@ Read focused component files before using those component groups:
33
33
  ## Package Rules
34
34
 
35
35
  - Install and import the public package as `injast-core`.
36
+ - In Figma Make package search, use `injast` if exact `injast-core` search ranks unrelated `core` packages first.
36
37
  - Do not import `@alimohammadiwork/injast-core`; that scoped package is not this package.
38
+ - Do not use `@make-kits/injast-core-make-kit` for the public npm package path.
37
39
  - For Figma Make and Vite React apps, use `SPAThemeProvider`.
38
40
  - Import `injast-core/fonts.css` once near the app root.
39
41
  - Use named imports from `injast-core` for common usage; use subpath imports for focused entrypoints.
@@ -11,10 +11,10 @@ npm install injast-core
11
11
  For Figma Make package selection, search for:
12
12
 
13
13
  ```text
14
- injast-core
14
+ injast
15
15
  ```
16
16
 
17
- Do not search for or install `@alimohammadiwork/injast-core`.
17
+ Then select the public unscoped package `injast-core`. If exact search for `injast-core` returns unrelated `core` packages first, use `injast` as the search term. Do not search for or install `@alimohammadiwork/injast-core` or `@make-kits/injast-core-make-kit` for this public package path.
18
18
 
19
19
  ## Required Imports
20
20
 
@@ -84,6 +84,6 @@ import { formatPersianNumber } from "injast-core/utils";
84
84
  ## Build Assumptions
85
85
 
86
86
  - The package is ESM and Vite-compatible.
87
- - React 18 and React 19 are supported by peer dependency range.
87
+ - React 18 is the default target for Figma Make. React 19 is also allowed by the package peer dependency range for non-Figma consumers.
88
88
  - CSS imports from dependencies must be allowed because `MobileDatePicker` imports `react-multi-date-picker` CSS.
89
89
  - Do not add custom Tailwind setup for Injast Core. Styling comes from Material UI theme, component `sx` props, and package CSS.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "injast-core",
3
- "version": "1.0.79",
3
+ "version": "1.0.80",
4
4
  "description": "Reusable Injast React and Material UI components, providers, hooks, utilities, and design tokens.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -94,8 +94,14 @@
94
94
  "access": "public"
95
95
  },
96
96
  "keywords": [
97
+ "injast-core",
97
98
  "injast",
98
99
  "react",
100
+ "react-18",
101
+ "vite",
102
+ "figma-make",
103
+ "make-kit",
104
+ "design-system-package",
99
105
  "material-ui",
100
106
  "mui",
101
107
  "components",
@@ -140,13 +146,13 @@
140
146
  "@types/jalaali-js": "^1.1.3",
141
147
  "@types/lodash": "^4.17.14",
142
148
  "@types/node": "^22.10.7",
143
- "@types/react": "^19",
144
- "@types/react-dom": "^19",
149
+ "@types/react": "^18.3.12",
150
+ "@types/react-dom": "^18.3.1",
145
151
  "@types/stylis": "^4.2.7",
146
152
  "eslint": "^9",
147
153
  "eslint-plugin-storybook": "^10.2.3",
148
- "react": "^19.0.0",
149
- "react-dom": "^19.0.0",
154
+ "react": "^18.2.0",
155
+ "react-dom": "^18.2.0",
150
156
  "storybook": "^10.2.3",
151
157
  "typescript": "^5.7.3",
152
158
  "vite": "^6.0.0",