strivui 1.22.60 → 1.22.62

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/index.esm.js CHANGED
@@ -358,9 +358,13 @@ function FlatList(_ref4) {
358
358
  return jsx("div", {
359
359
  className: "default_flatlist",
360
360
  children: data.map(function (item, index) {
361
+ var key = keyExtractor ? keyExtractor(item, index) : String(index);
361
362
  return jsx("div", {
362
- children: renderItem(item, index)
363
- }, keyExtractor ? keyExtractor(item, index) : index);
363
+ children: renderItem({
364
+ item: item,
365
+ index: index
366
+ })
367
+ }, key);
364
368
  })
365
369
  });
366
370
  }
package/dist/index.js CHANGED
@@ -360,9 +360,13 @@ function FlatList(_ref4) {
360
360
  return jsxRuntime.jsx("div", {
361
361
  className: "default_flatlist",
362
362
  children: data.map(function (item, index) {
363
+ var key = keyExtractor ? keyExtractor(item, index) : String(index);
363
364
  return jsxRuntime.jsx("div", {
364
- children: renderItem(item, index)
365
- }, keyExtractor ? keyExtractor(item, index) : index);
365
+ children: renderItem({
366
+ item: item,
367
+ index: index
368
+ })
369
+ }, key);
366
370
  })
367
371
  });
368
372
  }
package/package.json CHANGED
@@ -1,81 +1,81 @@
1
- {
2
- "name": "strivui",
3
- "version": "1.22.60",
4
- "scripts": {
5
- "build": "npx sass app/styles/striveui.scss dist/striveui.css && rollup -c",
6
- "clean": "rimraf dist"
7
- },
8
- "files": [
9
- "dist/index.js",
10
- "dist/index.esm.js",
11
- "dist/types/index.d.ts",
12
- "dist/striveui.css",
13
- "README.md"
14
- ],
15
- "description": "Type-safe, composable React UI toolkit with accessible, theme-aware components, design tokens, and tree-shakable architecture for scalable, maintainable applications.",
16
- "keywords": [
17
- "react",
18
- "ui-library",
19
- "components",
20
- "react-components",
21
- "strivui",
22
- "typescript",
23
- "javascript",
24
- "styled-components",
25
- "design-system",
26
- "tailwindcss",
27
- "accessibility",
28
- "reusable-components",
29
- "frontend",
30
- "react-ui",
31
- "ui-kit",
32
- "strivui npm",
33
- "StrivUi",
34
- "StrivUi npm"
35
- ],
36
- "homepage": "https://github.com/your-username/strivui#readme",
37
- "bugs": {
38
- "url": "https://github.com/Syed-Dev-Sphere/StrivUI/issues"
39
- },
40
- "repository": {
41
- "type": "git",
42
- "url": "git+https://github.com/Syed-Dev-Sphere/StrivUI.git"
43
- },
44
- "publishConfig": {
45
- "access": "public"
46
- },
47
- "license": "MIT",
48
- "author": "Syed Abdullah Ali",
49
- "type": "module",
50
- "main": "dist/index.js",
51
- "module": "dist/index.esm.js",
52
- "types": "dist/types/index.d.ts",
53
- "dependencies": {
54
- "@babel/preset-env": "^7.28.0",
55
- "clsx": "^2.1.1",
56
- "rollup-plugin-scss": "^4.0.1"
57
- },
58
- "peerDependencies": {
59
- "react": "^19.1.0",
60
- "react-dom": "^19.1.0",
61
- "styled-components": ">=5.0.0"
62
- },
63
- "devDependencies": {
64
- "@babel/preset-react": "^7.27.1",
65
- "@babel/preset-typescript": "^7.27.1",
66
- "@rollup/plugin-babel": "^6.0.4",
67
- "@rollup/plugin-commonjs": "^28.0.6",
68
- "@rollup/plugin-node-resolve": "^16.0.1",
69
- "@rollup/plugin-typescript": "^12.1.4",
70
- "@types/react": "^19.0.0",
71
- "@types/react-dom": "^19.0.0",
72
- "babel-plugin-styled-components": "^2.1.4",
73
- "react": "^19.1.0",
74
- "react-dom": "^19.1.0",
75
- "rimraf": "^6.0.1",
76
- "rollup": "^4.0.0",
77
- "sass": "^1.89.2",
78
- "tslib": "^2.8.1",
79
- "typescript": "^5.0.0"
80
- }
81
- }
1
+ {
2
+ "name": "strivui",
3
+ "version": "1.22.62",
4
+ "scripts": {
5
+ "build": "npx sass app/styles/striveui.scss dist/striveui.css && rollup -c",
6
+ "clean": "rimraf dist"
7
+ },
8
+ "files": [
9
+ "dist/index.js",
10
+ "dist/index.esm.js",
11
+ "dist/types/index.d.ts",
12
+ "dist/striveui.css",
13
+ "README.md"
14
+ ],
15
+ "description": "Type-safe, composable React UI toolkit with accessible, theme-aware components, design tokens, and tree-shakable architecture for scalable, maintainable applications.",
16
+ "keywords": [
17
+ "react",
18
+ "ui-library",
19
+ "components",
20
+ "react-components",
21
+ "strivui",
22
+ "typescript",
23
+ "javascript",
24
+ "styled-components",
25
+ "design-system",
26
+ "tailwindcss",
27
+ "accessibility",
28
+ "reusable-components",
29
+ "frontend",
30
+ "react-ui",
31
+ "ui-kit",
32
+ "strivui npm",
33
+ "StrivUi",
34
+ "StrivUi npm"
35
+ ],
36
+ "homepage": "https://github.com/your-username/strivui#readme",
37
+ "bugs": {
38
+ "url": "https://github.com/Syed-Dev-Sphere/StrivUI/issues"
39
+ },
40
+ "repository": {
41
+ "type": "git",
42
+ "url": "git+https://github.com/Syed-Dev-Sphere/StrivUI.git"
43
+ },
44
+ "publishConfig": {
45
+ "access": "public"
46
+ },
47
+ "license": "MIT",
48
+ "author": "Syed Abdullah Ali",
49
+ "type": "module",
50
+ "main": "dist/index.js",
51
+ "module": "dist/index.esm.js",
52
+ "types": "dist/types/index.d.ts",
53
+ "dependencies": {
54
+ "@babel/preset-env": "^7.28.0",
55
+ "clsx": "^2.1.1",
56
+ "rollup-plugin-scss": "^4.0.1"
57
+ },
58
+ "peerDependencies": {
59
+ "react": "^19.1.0",
60
+ "react-dom": "^19.1.0",
61
+ "styled-components": ">=5.0.0"
62
+ },
63
+ "devDependencies": {
64
+ "@babel/preset-react": "^7.27.1",
65
+ "@babel/preset-typescript": "^7.27.1",
66
+ "@rollup/plugin-babel": "^6.0.4",
67
+ "@rollup/plugin-commonjs": "^28.0.6",
68
+ "@rollup/plugin-node-resolve": "^16.0.1",
69
+ "@rollup/plugin-typescript": "^12.1.4",
70
+ "@types/react": "^19.0.0",
71
+ "@types/react-dom": "^19.0.0",
72
+ "babel-plugin-styled-components": "^2.1.4",
73
+ "react": "^19.1.0",
74
+ "react-dom": "^19.1.0",
75
+ "rimraf": "^6.0.1",
76
+ "rollup": "^4.59.0",
77
+ "sass": "^1.89.2",
78
+ "tslib": "^2.8.1",
79
+ "typescript": "^5.0.0"
80
+ }
81
+ }