reactive-bulma 4.0.29 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +250 -252
  3. package/package.json +47 -36
  4. package/dist/cjs/index.js +0 -4089
  5. package/dist/cjs/index.js.map +0 -1
  6. package/dist/cjs/types/components/atoms/Block/index.d.ts +0 -4
  7. package/dist/cjs/types/components/atoms/Box/index.d.ts +0 -4
  8. package/dist/cjs/types/components/atoms/BreadcrumbItem/index.d.ts +0 -4
  9. package/dist/cjs/types/components/atoms/Button/index.d.ts +0 -4
  10. package/dist/cjs/types/components/atoms/Checkbox/index.d.ts +0 -4
  11. package/dist/cjs/types/components/atoms/Column/index.d.ts +0 -4
  12. package/dist/cjs/types/components/atoms/Delete/index.d.ts +0 -4
  13. package/dist/cjs/types/components/atoms/DropdownItem/index.d.ts +0 -4
  14. package/dist/cjs/types/components/atoms/DropdownTrigger/index.d.ts +0 -4
  15. package/dist/cjs/types/components/atoms/File/index.d.ts +0 -4
  16. package/dist/cjs/types/components/atoms/Icon/index.d.ts +0 -4
  17. package/dist/cjs/types/components/atoms/Image/index.d.ts +0 -4
  18. package/dist/cjs/types/components/atoms/Input/index.d.ts +0 -4
  19. package/dist/cjs/types/components/atoms/LevelHeader/index.d.ts +0 -4
  20. package/dist/cjs/types/components/atoms/MenuItem/index.d.ts +0 -4
  21. package/dist/cjs/types/components/atoms/NavBarItem/index.d.ts +0 -4
  22. package/dist/cjs/types/components/atoms/PaginationItem/index.d.ts +0 -4
  23. package/dist/cjs/types/components/atoms/ProgressBar/index.d.ts +0 -4
  24. package/dist/cjs/types/components/atoms/RadioButton/index.d.ts +0 -4
  25. package/dist/cjs/types/components/atoms/Select/index.d.ts +0 -4
  26. package/dist/cjs/types/components/atoms/TabItem/index.d.ts +0 -4
  27. package/dist/cjs/types/components/atoms/TableCell/index.d.ts +0 -4
  28. package/dist/cjs/types/components/atoms/TableHeadCell/index.d.ts +0 -4
  29. package/dist/cjs/types/components/atoms/Tag/index.d.ts +0 -4
  30. package/dist/cjs/types/components/atoms/TextArea/index.d.ts +0 -4
  31. package/dist/cjs/types/components/atoms/Tile/index.d.ts +0 -4
  32. package/dist/cjs/types/components/atoms/Title/index.d.ts +0 -4
  33. package/dist/cjs/types/components/atoms/index.d.ts +0 -27
  34. package/dist/cjs/types/components/molecules/Breadcrumbs/index.d.ts +0 -4
  35. package/dist/cjs/types/components/molecules/ButtonGroup/index.d.ts +0 -4
  36. package/dist/cjs/types/components/molecules/ColumnGroup/index.d.ts +0 -4
  37. package/dist/cjs/types/components/molecules/Dropdown/index.d.ts +0 -4
  38. package/dist/cjs/types/components/molecules/Footer/index.d.ts +0 -4
  39. package/dist/cjs/types/components/molecules/InputControl/index.d.ts +0 -4
  40. package/dist/cjs/types/components/molecules/LevelItem/index.d.ts +0 -4
  41. package/dist/cjs/types/components/molecules/Media/index.d.ts +0 -4
  42. package/dist/cjs/types/components/molecules/Menu/index.d.ts +0 -4
  43. package/dist/cjs/types/components/molecules/MenuList/index.d.ts +0 -4
  44. package/dist/cjs/types/components/molecules/Message/index.d.ts +0 -4
  45. package/dist/cjs/types/components/molecules/Modal/index.d.ts +0 -4
  46. package/dist/cjs/types/components/molecules/NavBarBrand/index.d.ts +0 -4
  47. package/dist/cjs/types/components/molecules/NavBarDropdown/index.d.ts +0 -4
  48. package/dist/cjs/types/components/molecules/Notification/index.d.ts +0 -4
  49. package/dist/cjs/types/components/molecules/Pagination/index.d.ts +0 -4
  50. package/dist/cjs/types/components/molecules/PanelBlock/index.d.ts +0 -4
  51. package/dist/cjs/types/components/molecules/PanelTabs/index.d.ts +0 -4
  52. package/dist/cjs/types/components/molecules/Section/index.d.ts +0 -4
  53. package/dist/cjs/types/components/molecules/TableRow/index.d.ts +0 -4
  54. package/dist/cjs/types/components/molecules/Tabs/index.d.ts +0 -4
  55. package/dist/cjs/types/components/molecules/TileBox/index.d.ts +0 -4
  56. package/dist/cjs/types/components/molecules/index.d.ts +0 -22
  57. package/dist/cjs/types/components/organisms/Card/index.d.ts +0 -4
  58. package/dist/cjs/types/components/organisms/FormField/index.d.ts +0 -4
  59. package/dist/cjs/types/components/organisms/Hero/index.d.ts +0 -4
  60. package/dist/cjs/types/components/organisms/Level/index.d.ts +0 -4
  61. package/dist/cjs/types/components/organisms/NavBar/index.d.ts +0 -4
  62. package/dist/cjs/types/components/organisms/Panel/index.d.ts +0 -4
  63. package/dist/cjs/types/components/organisms/Table/index.d.ts +0 -4
  64. package/dist/cjs/types/components/organisms/TileGroup/index.d.ts +0 -4
  65. package/dist/cjs/types/components/organisms/index.d.ts +0 -8
  66. package/dist/cjs/types/functions/generators.d.ts +0 -4
  67. package/dist/cjs/types/functions/jest.d.ts +0 -2
  68. package/dist/cjs/types/functions/parsers.d.ts +0 -14
  69. package/dist/cjs/types/functions/tests/generators.test.d.ts +0 -1
  70. package/dist/cjs/types/functions/tests/parsers.test.d.ts +0 -1
  71. package/dist/cjs/types/index.d.ts +0 -5
  72. package/dist/cjs/types/interfaces/atomProps.d.ts +0 -305
  73. package/dist/cjs/types/interfaces/commonProps.d.ts +0 -25
  74. package/dist/cjs/types/interfaces/functionProps.d.ts +0 -16
  75. package/dist/cjs/types/interfaces/moleculeProps.d.ts +0 -231
  76. package/dist/cjs/types/interfaces/organismProps.d.ts +0 -112
  77. package/dist/cjs/types/types/domTypes.d.ts +0 -16
  78. package/dist/cjs/types/types/styleTypes.d.ts +0 -19
  79. package/dist/esm/index.js +0 -4031
  80. package/dist/esm/index.js.map +0 -1
  81. package/dist/esm/types/components/atoms/Block/index.d.ts +0 -4
  82. package/dist/esm/types/components/atoms/Box/index.d.ts +0 -4
  83. package/dist/esm/types/components/atoms/BreadcrumbItem/index.d.ts +0 -4
  84. package/dist/esm/types/components/atoms/Button/index.d.ts +0 -4
  85. package/dist/esm/types/components/atoms/Checkbox/index.d.ts +0 -4
  86. package/dist/esm/types/components/atoms/Column/index.d.ts +0 -4
  87. package/dist/esm/types/components/atoms/Delete/index.d.ts +0 -4
  88. package/dist/esm/types/components/atoms/DropdownItem/index.d.ts +0 -4
  89. package/dist/esm/types/components/atoms/DropdownTrigger/index.d.ts +0 -4
  90. package/dist/esm/types/components/atoms/File/index.d.ts +0 -4
  91. package/dist/esm/types/components/atoms/Icon/index.d.ts +0 -4
  92. package/dist/esm/types/components/atoms/Image/index.d.ts +0 -4
  93. package/dist/esm/types/components/atoms/Input/index.d.ts +0 -4
  94. package/dist/esm/types/components/atoms/LevelHeader/index.d.ts +0 -4
  95. package/dist/esm/types/components/atoms/MenuItem/index.d.ts +0 -4
  96. package/dist/esm/types/components/atoms/NavBarItem/index.d.ts +0 -4
  97. package/dist/esm/types/components/atoms/PaginationItem/index.d.ts +0 -4
  98. package/dist/esm/types/components/atoms/ProgressBar/index.d.ts +0 -4
  99. package/dist/esm/types/components/atoms/RadioButton/index.d.ts +0 -4
  100. package/dist/esm/types/components/atoms/Select/index.d.ts +0 -4
  101. package/dist/esm/types/components/atoms/TabItem/index.d.ts +0 -4
  102. package/dist/esm/types/components/atoms/TableCell/index.d.ts +0 -4
  103. package/dist/esm/types/components/atoms/TableHeadCell/index.d.ts +0 -4
  104. package/dist/esm/types/components/atoms/Tag/index.d.ts +0 -4
  105. package/dist/esm/types/components/atoms/TextArea/index.d.ts +0 -4
  106. package/dist/esm/types/components/atoms/Tile/index.d.ts +0 -4
  107. package/dist/esm/types/components/atoms/Title/index.d.ts +0 -4
  108. package/dist/esm/types/components/atoms/index.d.ts +0 -27
  109. package/dist/esm/types/components/molecules/Breadcrumbs/index.d.ts +0 -4
  110. package/dist/esm/types/components/molecules/ButtonGroup/index.d.ts +0 -4
  111. package/dist/esm/types/components/molecules/ColumnGroup/index.d.ts +0 -4
  112. package/dist/esm/types/components/molecules/Dropdown/index.d.ts +0 -4
  113. package/dist/esm/types/components/molecules/Footer/index.d.ts +0 -4
  114. package/dist/esm/types/components/molecules/InputControl/index.d.ts +0 -4
  115. package/dist/esm/types/components/molecules/LevelItem/index.d.ts +0 -4
  116. package/dist/esm/types/components/molecules/Media/index.d.ts +0 -4
  117. package/dist/esm/types/components/molecules/Menu/index.d.ts +0 -4
  118. package/dist/esm/types/components/molecules/MenuList/index.d.ts +0 -4
  119. package/dist/esm/types/components/molecules/Message/index.d.ts +0 -4
  120. package/dist/esm/types/components/molecules/Modal/index.d.ts +0 -4
  121. package/dist/esm/types/components/molecules/NavBarBrand/index.d.ts +0 -4
  122. package/dist/esm/types/components/molecules/NavBarDropdown/index.d.ts +0 -4
  123. package/dist/esm/types/components/molecules/Notification/index.d.ts +0 -4
  124. package/dist/esm/types/components/molecules/Pagination/index.d.ts +0 -4
  125. package/dist/esm/types/components/molecules/PanelBlock/index.d.ts +0 -4
  126. package/dist/esm/types/components/molecules/PanelTabs/index.d.ts +0 -4
  127. package/dist/esm/types/components/molecules/Section/index.d.ts +0 -4
  128. package/dist/esm/types/components/molecules/TableRow/index.d.ts +0 -4
  129. package/dist/esm/types/components/molecules/Tabs/index.d.ts +0 -4
  130. package/dist/esm/types/components/molecules/TileBox/index.d.ts +0 -4
  131. package/dist/esm/types/components/molecules/index.d.ts +0 -22
  132. package/dist/esm/types/components/organisms/Card/index.d.ts +0 -4
  133. package/dist/esm/types/components/organisms/FormField/index.d.ts +0 -4
  134. package/dist/esm/types/components/organisms/Hero/index.d.ts +0 -4
  135. package/dist/esm/types/components/organisms/Level/index.d.ts +0 -4
  136. package/dist/esm/types/components/organisms/NavBar/index.d.ts +0 -4
  137. package/dist/esm/types/components/organisms/Panel/index.d.ts +0 -4
  138. package/dist/esm/types/components/organisms/Table/index.d.ts +0 -4
  139. package/dist/esm/types/components/organisms/TileGroup/index.d.ts +0 -4
  140. package/dist/esm/types/components/organisms/index.d.ts +0 -8
  141. package/dist/esm/types/functions/generators.d.ts +0 -4
  142. package/dist/esm/types/functions/jest.d.ts +0 -2
  143. package/dist/esm/types/functions/parsers.d.ts +0 -14
  144. package/dist/esm/types/functions/tests/generators.test.d.ts +0 -1
  145. package/dist/esm/types/functions/tests/parsers.test.d.ts +0 -1
  146. package/dist/esm/types/index.d.ts +0 -5
  147. package/dist/esm/types/interfaces/atomProps.d.ts +0 -305
  148. package/dist/esm/types/interfaces/commonProps.d.ts +0 -25
  149. package/dist/esm/types/interfaces/functionProps.d.ts +0 -16
  150. package/dist/esm/types/interfaces/moleculeProps.d.ts +0 -231
  151. package/dist/esm/types/interfaces/organismProps.d.ts +0 -112
  152. package/dist/esm/types/types/domTypes.d.ts +0 -16
  153. package/dist/esm/types/types/styleTypes.d.ts +0 -19
  154. package/dist/index.d.ts +0 -805
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "reactive-bulma",
3
- "version": "4.0.29",
3
+ "version": "4.1.0",
4
+ "type": "module",
4
5
  "description": "A component library based on React, Bulma, Typescript and Rollup",
5
6
  "keywords": [
6
7
  "typescript",
@@ -24,25 +25,24 @@
24
25
  "bugs": {
25
26
  "url": "https://github.com/NicolasOmar/reactive-bulma/issues"
26
27
  },
27
- "main": "dist/cjs/index.js",
28
- "module": "dist/esm/index.js",
28
+ "main": "dist/index.js",
29
+ "types": "dist/index.d.ts",
29
30
  "files": [
30
31
  "dist"
31
32
  ],
32
- "types": "dist/index.d.ts",
33
33
  "scripts": {
34
34
  "start": "storybook dev -p 6006",
35
35
  "start:cli": "npm start -- --no-open",
36
36
  "test": "jest --watchAll=false --verbose",
37
37
  "test:ci": "npm test -- --coverage",
38
38
  "test:diff": "npm run test:ci -- -o",
39
- "lint": "eslint src/**/*.tsx",
39
+ "lint": "eslint",
40
40
  "prettier": "prettier src/**/*.{tsx,ts} --write",
41
41
  "prettier:ci": "prettier src/**/*.{tsx,ts} --check",
42
42
  "lint-staged": "lint-staged -v",
43
- "setup": "npm i && npm i -g npm-check-updates && husky install",
44
- "prepare": "npm run build",
45
- "build": "rollup -c --bundleConfigAsCjs",
43
+ "setup": "npm ci && husky",
44
+ "compile": "tsc -b",
45
+ "build": "npm run compile && vite build",
46
46
  "build:storybook": "storybook build",
47
47
  "semantic-release": "semantic-release",
48
48
  "create": "hygen component new",
@@ -51,64 +51,71 @@
51
51
  "update:storybook": "npx storybook@latest upgrade && npm run build:storybook",
52
52
  "update:doctor": "npm run prettier:ci && npm run lint && npm run test && npm run build"
53
53
  },
54
+ "peerDependencies": {
55
+ "react": "^18.3.1",
56
+ "react-dom": "^18.3.1"
57
+ },
54
58
  "devDependencies": {
55
59
  "@babel/core": "^7.26.0",
56
60
  "@babel/preset-env": "^7.26.0",
57
61
  "@babel/preset-react": "^7.25.9",
58
62
  "@babel/preset-typescript": "^7.26.0",
59
- "@eslint/compat": "^1.2.2",
60
- "@eslint/js": "^9.14.0",
63
+ "@eslint/compat": "^1.2.3",
64
+ "@eslint/js": "^9.15.0",
61
65
  "@mdi/font": "^7.4.47",
62
- "@rollup/plugin-commonjs": "^28.0.1",
63
- "@rollup/plugin-node-resolve": "^15.3.0",
64
- "@rollup/plugin-typescript": "^11.1.6",
65
66
  "@semantic-release/changelog": "^6.0.3",
66
67
  "@semantic-release/commit-analyzer": "^13.0.0",
67
68
  "@semantic-release/exec": "^6.0.3",
68
69
  "@semantic-release/git": "^10.0.1",
69
- "@semantic-release/github": "^11.0.0",
70
+ "@semantic-release/github": "^11.0.1",
70
71
  "@semantic-release/npm": "^12.0.1",
71
72
  "@semantic-release/release-notes-generator": "^14.0.1",
72
- "@storybook/addon-actions": "^8.4.2",
73
- "@storybook/addon-essentials": "^8.4.2",
74
- "@storybook/addon-interactions": "^8.4.2",
75
- "@storybook/addon-links": "^8.4.2",
76
- "@storybook/addon-mdx-gfm": "^8.4.2",
77
- "@storybook/addon-webpack5-compiler-babel": "^3.0.3",
78
- "@storybook/cli": "^8.4.2",
79
- "@storybook/react": "^8.4.2",
80
- "@storybook/react-webpack5": "^8.4.2",
81
- "@storybook/test": "^8.4.2",
73
+ "@storybook/addon-essentials": "^8.4.4",
74
+ "@storybook/addon-interactions": "^8.4.4",
75
+ "@storybook/addon-links": "^8.4.4",
76
+ "@storybook/addon-onboarding": "^8.4.4",
77
+ "@storybook/blocks": "^8.4.4",
78
+ "@storybook/react": "^8.4.4",
79
+ "@storybook/react-vite": "^8.4.4",
80
+ "@storybook/test": "^8.4.4",
82
81
  "@testing-library/jest-dom": "^6.6.3",
83
82
  "@testing-library/react": "^16.0.1",
84
83
  "@testing-library/user-event": "^14.5.2",
84
+ "@types/css-modules": "^1.0.5",
85
85
  "@types/jest": "^29.5.14",
86
+ "@types/node": "^22.9.0",
86
87
  "@types/react": "^18.3.12",
87
- "@typescript-eslint/eslint-plugin": "^8.13.0",
88
- "@typescript-eslint/parser": "^8.13.0",
88
+ "@types/react-dom": "^18.3.1",
89
+ "@typescript-eslint/eslint-plugin": "^8.14.0",
90
+ "@typescript-eslint/parser": "^8.14.0",
91
+ "@vitejs/plugin-react": "^4.3.3",
92
+ "ajv": "^8.17.1",
89
93
  "babel-jest": "^29.7.0",
90
94
  "babel-loader": "^9.2.1",
91
95
  "bulma": "^0.9.4",
92
- "eslint": "^9.14.0",
96
+ "eslint": "^9.15.0",
93
97
  "eslint-config-prettier": "^9.1.0",
94
98
  "eslint-plugin-react": "^7.37.2",
95
- "husky": "^9.1.6",
99
+ "eslint-plugin-react-hooks": "^5.0.0",
100
+ "eslint-plugin-react-refresh": "^0.4.14",
101
+ "eslint-plugin-storybook": "^0.11.0",
102
+ "glob": "^11.0.0",
103
+ "globals": "^15.12.0",
96
104
  "hygen": "^6.2.11",
97
105
  "jest": "^29.7.0",
98
106
  "jest-environment-jsdom": "^29.7.0",
99
107
  "lint-staged": "^15.2.10",
100
- "npm-check-updates": "^17.1.10",
101
- "postcss": "^8.4.47",
108
+ "npm-check-updates": "^17.1.11",
102
109
  "prettier": "^3.3.3",
103
110
  "react": "^18.3.1",
104
111
  "react-dom": "^18.3.1",
105
- "rollup": "^4.24.4",
106
- "rollup-plugin-dts": "^6.1.1",
107
- "rollup-plugin-postcss": "^4.0.2",
108
112
  "semantic-release": "^24.2.0",
109
- "storybook": "^8.4.2",
113
+ "storybook": "^8.4.4",
110
114
  "tslib": "^2.8.1",
111
- "typescript": "^5.6.3"
115
+ "typescript": "~5.6.3",
116
+ "typescript-eslint": "^8.14.0",
117
+ "vite": "^5.4.11",
118
+ "vite-plugin-dts": "^4.3.0"
112
119
  },
113
120
  "lint-staged": {
114
121
  "src/**/*.(ts|tsx)": [
@@ -116,5 +123,9 @@
116
123
  "eslint"
117
124
  ]
118
125
  },
119
- "packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee"
126
+ "eslintConfig": {
127
+ "extends": [
128
+ "plugin:storybook/recommended"
129
+ ]
130
+ }
120
131
  }