reactive-bulma 4.3.6 → 4.3.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. package/dist/components/atoms/Block/index.js +8 -8
  2. package/dist/components/atoms/Box/index.js +8 -8
  3. package/dist/components/atoms/BreadcrumbItem/index.js +9 -9
  4. package/dist/components/atoms/Button/index.js +27 -27
  5. package/dist/components/atoms/Checkbox/index.js +22 -22
  6. package/dist/components/atoms/Column/index.js +5 -5
  7. package/dist/components/atoms/Delete/index.js +5 -5
  8. package/dist/components/atoms/DropdownItem/index.js +20 -20
  9. package/dist/components/atoms/DropdownTrigger/index.js +17 -17
  10. package/dist/components/atoms/File/index.js +17 -17
  11. package/dist/components/atoms/Icon/index.js +15 -15
  12. package/dist/components/atoms/Image/index.js +18 -18
  13. package/dist/components/atoms/Input/index.js +26 -26
  14. package/dist/components/atoms/LevelHeader/index.js +11 -11
  15. package/dist/components/atoms/MenuItem/index.js +14 -14
  16. package/dist/components/atoms/NavBarItem/index.js +17 -17
  17. package/dist/components/atoms/PaginationItem/index.js +10 -10
  18. package/dist/components/atoms/ProgressBar/index.js +19 -19
  19. package/dist/components/atoms/RadioButton/index.js +13 -13
  20. package/dist/components/atoms/Select/index.js +30 -30
  21. package/dist/components/atoms/TabItem/index.js +22 -22
  22. package/dist/components/atoms/TableCell/index.js +9 -9
  23. package/dist/components/atoms/TableHeadCell/index.js +11 -11
  24. package/dist/components/atoms/Tag/index.js +40 -40
  25. package/dist/components/atoms/TextArea/index.js +31 -31
  26. package/dist/components/atoms/Tile/index.js +9 -9
  27. package/dist/components/atoms/Title/index.js +11 -11
  28. package/dist/components/molecules/Breadcrumbs/index.js +22 -22
  29. package/dist/components/molecules/ButtonGroup/index.js +18 -18
  30. package/dist/components/molecules/ColumnGroup/index.js +18 -18
  31. package/dist/components/molecules/Dropdown/index.js +10 -10
  32. package/dist/components/molecules/Footer/index.js +8 -8
  33. package/dist/components/molecules/FormFieldInput/index.js +8 -8
  34. package/dist/components/molecules/InputControl/index.js +21 -21
  35. package/dist/components/molecules/LevelItem/index.js +5 -5
  36. package/dist/components/molecules/Media/index.js +6 -6
  37. package/dist/components/molecules/Menu/index.js +11 -11
  38. package/dist/components/molecules/MenuList/index.js +7 -7
  39. package/dist/components/molecules/Message/index.js +7 -7
  40. package/dist/components/molecules/Modal/index.js +9 -9
  41. package/dist/components/molecules/NavBarBrand/index.js +9 -9
  42. package/dist/components/molecules/NavBarDropdown/index.js +18 -18
  43. package/dist/components/molecules/Notification/index.js +4 -4
  44. package/dist/components/molecules/Pagination/index.js +28 -28
  45. package/dist/components/molecules/PanelBlock/index.js +22 -22
  46. package/dist/components/molecules/PanelTabs/index.js +13 -13
  47. package/dist/components/molecules/Section/index.js +6 -6
  48. package/dist/components/molecules/TableRow/index.js +19 -19
  49. package/dist/components/molecules/Tabs/index.js +17 -17
  50. package/dist/components/molecules/TileBox/index.js +15 -15
  51. package/dist/components/organisms/Card/index.js +24 -24
  52. package/dist/components/organisms/Hero/index.js +13 -13
  53. package/dist/components/organisms/Level/index.js +8 -8
  54. package/dist/components/organisms/NavBar/index.js +20 -20
  55. package/dist/components/organisms/Panel/index.js +4 -4
  56. package/dist/components/organisms/Table/index.js +10 -10
  57. package/dist/components/organisms/TileGroup/index.js +16 -16
  58. package/package.json +133 -133
@@ -1,26 +1,26 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { parseClasses as d, parseTestId as c } from "../../../functions/parsers.js";
2
+ import { parseClasses as d, parseTestId as f } from "../../../functions/parsers.js";
3
3
  import "react";
4
- import o from "../../atoms/Tile/index.js";
5
- import { generateKey as f } from "../../../functions/generators.js";
6
- const C = ({
7
- testId: i = null,
4
+ import i from "../../atoms/Tile/index.js";
5
+ import { generateKey as c } from "../../../functions/generators.js";
6
+ const I = ({
7
+ testId: o = null,
8
8
  cssClasses: e = null,
9
9
  style: p = null,
10
10
  context: r = "is-ancestor",
11
11
  size: l = null,
12
12
  isVertical: s = !1,
13
- groupConfig: a
13
+ groupConfig: n
14
14
  }) => {
15
- const m = d([
15
+ const u = d([
16
16
  "tileGroup",
17
17
  r,
18
18
  l,
19
19
  s ? "is-vertical" : null,
20
20
  e
21
- ]), u = i ?? c({
21
+ ]), a = o ?? f({
22
22
  tag: "tileGroup",
23
- parsedClasses: m,
23
+ parsedClasses: u,
24
24
  rules: [
25
25
  {
26
26
  regExp: /tileGroup/gm,
@@ -33,24 +33,24 @@ const C = ({
33
33
  ]
34
34
  });
35
35
  return /* @__PURE__ */ t(
36
- o,
36
+ i,
37
37
  {
38
- testId: u,
38
+ testId: a,
39
39
  cssClasses: e ?? void 0,
40
40
  style: p ?? void 0,
41
41
  context: r,
42
42
  size: l ?? void 0,
43
43
  isVertical: s,
44
- children: a.map((n) => /* @__PURE__ */ t(
45
- o,
44
+ children: n.map((m) => /* @__PURE__ */ t(
45
+ i,
46
46
  {
47
- ...n
47
+ ...m
48
48
  },
49
- `tile-item-${f()}`
49
+ `tile-item-${c()}`
50
50
  ))
51
51
  }
52
52
  );
53
53
  };
54
54
  export {
55
- C as default
55
+ I as default
56
56
  };
package/package.json CHANGED
@@ -1,133 +1,133 @@
1
- {
2
- "name": "reactive-bulma",
3
- "version": "4.3.6",
4
- "type": "module",
5
- "description": "A component library based on React, Bulma, Typescript and Vite",
6
- "keywords": [
7
- "typescript",
8
- "react",
9
- "bulma",
10
- "vite",
11
- "semantic-release",
12
- "jest",
13
- "prettier",
14
- "eslint",
15
- "husky",
16
- "storybook",
17
- "component-library"
18
- ],
19
- "author": "Nicolás Omar González Passerino",
20
- "license": "MIT",
21
- "homepage": "https://reactivebulma.netlify.app",
22
- "repository": {
23
- "type": "git",
24
- "url": "git+https://github.com/NicolasOmar/reactive-bulma.git"
25
- },
26
- "bugs": {
27
- "url": "https://github.com/NicolasOmar/reactive-bulma/issues"
28
- },
29
- "main": "dist/index.js",
30
- "types": "dist/index.d.ts",
31
- "files": [
32
- "dist"
33
- ],
34
- "scripts": {
35
- "start": "storybook dev -p 6006",
36
- "start:cli": "npm start -- --no-open",
37
- "test": "jest --watchAll=false --verbose",
38
- "test:ci": "npm test -- --coverage",
39
- "test:diff": "npm run test:ci -- -o",
40
- "lint": "eslint",
41
- "prettier": "prettier src/**/*.{tsx,ts} --write",
42
- "prettier:ci": "prettier src/**/*.{tsx,ts} --check",
43
- "lint-staged": "lint-staged -v",
44
- "setup": "npm ci && husky",
45
- "compile": "tsc -b",
46
- "build": "npm run compile && vite build",
47
- "build:storybook": "storybook build",
48
- "prepare": "npm run build",
49
- "semantic-release": "semantic-release",
50
- "create": "hygen component new",
51
- "update": "npm run update:deps && npm run update:doctor && npm run update:storybook",
52
- "update:deps": "ncu -i --format group",
53
- "update:storybook": "npx storybook@latest upgrade && npm run build:storybook",
54
- "update:doctor": "npm run prettier:ci && npm run lint && npm run test && npm run build"
55
- },
56
- "peerDependencies": {
57
- "react": "^18.3.1",
58
- "react-dom": "^18.3.1"
59
- },
60
- "devDependencies": {
61
- "@babel/core": "^7.26.0",
62
- "@babel/preset-env": "^7.26.0",
63
- "@babel/preset-react": "^7.26.3",
64
- "@babel/preset-typescript": "^7.26.0",
65
- "@eslint/compat": "^1.2.4",
66
- "@eslint/js": "^9.17.0",
67
- "@mdi/font": "^7.4.47",
68
- "@semantic-release/changelog": "^6.0.3",
69
- "@semantic-release/commit-analyzer": "^13.0.1",
70
- "@semantic-release/exec": "^6.0.3",
71
- "@semantic-release/git": "^10.0.1",
72
- "@semantic-release/github": "^11.0.1",
73
- "@semantic-release/npm": "^12.0.1",
74
- "@semantic-release/release-notes-generator": "^14.0.3",
75
- "@storybook/addon-essentials": "^8.4.7",
76
- "@storybook/addon-interactions": "^8.4.7",
77
- "@storybook/addon-links": "^8.4.7",
78
- "@storybook/addon-onboarding": "^8.4.7",
79
- "@storybook/blocks": "^8.4.7",
80
- "@storybook/react": "^8.4.7",
81
- "@storybook/react-vite": "^8.4.7",
82
- "@storybook/test": "^8.4.7",
83
- "@testing-library/jest-dom": "^6.6.3",
84
- "@testing-library/react": "^16.1.0",
85
- "@testing-library/user-event": "^14.5.2",
86
- "@types/css-modules": "^1.0.5",
87
- "@types/jest": "^29.5.14",
88
- "@types/node": "^22.10.5",
89
- "@types/react": "^19.0.2",
90
- "@types/react-dom": "^19.0.2",
91
- "@typescript-eslint/eslint-plugin": "^8.19.0",
92
- "@typescript-eslint/parser": "^8.19.0",
93
- "@vitejs/plugin-react": "^4.3.4",
94
- "babel-jest": "^29.7.0",
95
- "babel-loader": "^9.2.1",
96
- "bulma": "^0.9.4",
97
- "eslint": "^9.17.0",
98
- "eslint-config-prettier": "^9.1.0",
99
- "eslint-plugin-react": "^7.37.3",
100
- "eslint-plugin-react-hooks": "^5.1.0",
101
- "eslint-plugin-react-refresh": "^0.4.16",
102
- "eslint-plugin-storybook": "^0.11.2",
103
- "glob": "^11.0.0",
104
- "globals": "^15.14.0",
105
- "husky": "^9.1.7",
106
- "hygen": "^6.2.11",
107
- "jest": "^29.7.0",
108
- "jest-environment-jsdom": "^29.7.0",
109
- "lint-staged": "^15.3.0",
110
- "npm-check-updates": "^17.1.13",
111
- "prettier": "^3.4.2",
112
- "react": "^18.3.1",
113
- "react-dom": "^18.3.1",
114
- "semantic-release": "^24.2.1",
115
- "storybook": "^8.4.7",
116
- "tslib": "^2.8.1",
117
- "typescript": "~5.7.2",
118
- "typescript-eslint": "^8.19.0",
119
- "vite": "^6.0.7",
120
- "vite-plugin-dts": "^4.4.0"
121
- },
122
- "lint-staged": {
123
- "src/**/*.(ts|tsx)": [
124
- "prettier --write",
125
- "eslint"
126
- ]
127
- },
128
- "eslintConfig": {
129
- "extends": [
130
- "plugin:storybook/recommended"
131
- ]
132
- }
133
- }
1
+ {
2
+ "name": "reactive-bulma",
3
+ "version": "4.3.7",
4
+ "type": "module",
5
+ "description": "A component library based on React, Bulma, Typescript and Vite",
6
+ "keywords": [
7
+ "typescript",
8
+ "react",
9
+ "bulma",
10
+ "vite",
11
+ "semantic-release",
12
+ "jest",
13
+ "prettier",
14
+ "eslint",
15
+ "husky",
16
+ "storybook",
17
+ "component-library"
18
+ ],
19
+ "author": "Nicolás Omar González Passerino",
20
+ "license": "MIT",
21
+ "homepage": "https://reactivebulma.netlify.app",
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/NicolasOmar/reactive-bulma.git"
25
+ },
26
+ "bugs": {
27
+ "url": "https://github.com/NicolasOmar/reactive-bulma/issues"
28
+ },
29
+ "main": "dist/index.js",
30
+ "types": "dist/index.d.ts",
31
+ "files": [
32
+ "dist"
33
+ ],
34
+ "scripts": {
35
+ "start": "storybook dev -p 6006",
36
+ "start:cli": "npm start -- --no-open",
37
+ "test": "jest --watchAll=false --verbose",
38
+ "test:ci": "npm test -- --coverage",
39
+ "test:diff": "npm run test:ci -- -o",
40
+ "lint": "eslint",
41
+ "prettier": "prettier src/**/*.{tsx,ts} --write",
42
+ "prettier:ci": "prettier src/**/*.{tsx,ts} --check",
43
+ "lint-staged": "lint-staged -v",
44
+ "setup": "npm ci && husky",
45
+ "compile": "tsc -b",
46
+ "build": "npm run compile && vite build",
47
+ "build:storybook": "storybook build",
48
+ "prepare": "npm run build",
49
+ "semantic-release": "semantic-release",
50
+ "create": "hygen component new",
51
+ "update": "npm run update:deps && npm run update:doctor && npm run update:storybook",
52
+ "update:deps": "ncu -i --format group",
53
+ "update:storybook": "npx storybook@latest upgrade && npm run build:storybook",
54
+ "update:doctor": "npm run prettier:ci && npm run lint && npm run test && npm run build"
55
+ },
56
+ "peerDependencies": {
57
+ "react": "^18.3.1",
58
+ "react-dom": "^18.3.1"
59
+ },
60
+ "devDependencies": {
61
+ "@babel/core": "^7.26.0",
62
+ "@babel/preset-env": "^7.26.0",
63
+ "@babel/preset-react": "^7.26.3",
64
+ "@babel/preset-typescript": "^7.26.0",
65
+ "@eslint/compat": "^1.2.5",
66
+ "@eslint/js": "^9.18.0",
67
+ "@mdi/font": "^7.4.47",
68
+ "@semantic-release/changelog": "^6.0.3",
69
+ "@semantic-release/commit-analyzer": "^13.0.1",
70
+ "@semantic-release/exec": "^6.0.3",
71
+ "@semantic-release/git": "^10.0.1",
72
+ "@semantic-release/github": "^11.0.1",
73
+ "@semantic-release/npm": "^12.0.1",
74
+ "@semantic-release/release-notes-generator": "^14.0.3",
75
+ "@storybook/addon-essentials": "^8.4.7",
76
+ "@storybook/addon-interactions": "^8.4.7",
77
+ "@storybook/addon-links": "^8.4.7",
78
+ "@storybook/addon-onboarding": "^8.4.7",
79
+ "@storybook/blocks": "^8.4.7",
80
+ "@storybook/react": "^8.4.7",
81
+ "@storybook/react-vite": "^8.4.7",
82
+ "@storybook/test": "^8.4.7",
83
+ "@testing-library/jest-dom": "^6.6.3",
84
+ "@testing-library/react": "^16.1.0",
85
+ "@testing-library/user-event": "^14.5.2",
86
+ "@types/css-modules": "^1.0.5",
87
+ "@types/jest": "^29.5.14",
88
+ "@types/node": "^22.10.5",
89
+ "@types/react": "^19.0.5",
90
+ "@types/react-dom": "^19.0.3",
91
+ "@typescript-eslint/eslint-plugin": "^8.19.1",
92
+ "@typescript-eslint/parser": "^8.19.1",
93
+ "@vitejs/plugin-react": "^4.3.4",
94
+ "babel-jest": "^29.7.0",
95
+ "babel-loader": "^9.2.1",
96
+ "bulma": "^0.9.4",
97
+ "eslint": "^9.18.0",
98
+ "eslint-config-prettier": "^9.1.0",
99
+ "eslint-plugin-react": "^7.37.3",
100
+ "eslint-plugin-react-hooks": "^5.1.0",
101
+ "eslint-plugin-react-refresh": "^0.4.18",
102
+ "eslint-plugin-storybook": "^0.11.2",
103
+ "glob": "^11.0.1",
104
+ "globals": "^15.14.0",
105
+ "husky": "^9.1.7",
106
+ "hygen": "^6.2.11",
107
+ "jest": "^29.7.0",
108
+ "jest-environment-jsdom": "^29.7.0",
109
+ "lint-staged": "^15.3.0",
110
+ "npm-check-updates": "^17.1.13",
111
+ "prettier": "^3.4.2",
112
+ "react": "^18.3.1",
113
+ "react-dom": "^18.3.1",
114
+ "semantic-release": "^24.2.1",
115
+ "storybook": "^8.4.7",
116
+ "tslib": "^2.8.1",
117
+ "typescript": "~5.7.3",
118
+ "typescript-eslint": "^8.19.1",
119
+ "vite": "^6.0.7",
120
+ "vite-plugin-dts": "^4.5.0"
121
+ },
122
+ "lint-staged": {
123
+ "src/**/*.(ts|tsx)": [
124
+ "prettier --write",
125
+ "eslint"
126
+ ]
127
+ },
128
+ "eslintConfig": {
129
+ "extends": [
130
+ "plugin:storybook/recommended"
131
+ ]
132
+ }
133
+ }