reactive-bulma 2.5.0 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +16 -9
- package/dist/cjs/index.js +12 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/molecules/Message/index.d.ts +4 -0
- package/dist/cjs/types/components/molecules/index.d.ts +1 -0
- package/dist/cjs/types/interfaces/moleculeProps.d.ts +12 -0
- package/dist/esm/index.js +12 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/molecules/Message/index.d.ts +4 -0
- package/dist/esm/types/components/molecules/index.d.ts +1 -0
- package/dist/esm/types/interfaces/moleculeProps.d.ts +12 -0
- package/dist/index.d.ts +15 -1
- package/package.json +27 -22
@@ -52,3 +52,15 @@ export interface DropdownProps extends ElementProps {
|
|
52
52
|
/** `Atribute` `Required` Array of `DropdownItem` objects that will be shown on its menu */
|
53
53
|
listOfItems: DropdownItemProps[];
|
54
54
|
}
|
55
|
+
export interface MessageProps extends ElementProps {
|
56
|
+
/** `Atribute` Sets the header's text that will be shown on message's darker zone */
|
57
|
+
headerText?: string;
|
58
|
+
/** `Atribute` `Required` Sets the body's text that will be shown on message's lighter zone */
|
59
|
+
bodyText: string;
|
60
|
+
/** `Atribute` Includes a `Delete` config object that will be shown */
|
61
|
+
deleteButton?: DeleteProps;
|
62
|
+
/** `Styling` Color based on bulma's color tokens */
|
63
|
+
color?: basicColorType;
|
64
|
+
/** `Styling` Set button's size on bulma's size tokens */
|
65
|
+
size?: Exclude<basicSizeType, 'is-normal'>;
|
66
|
+
}
|
package/dist/index.d.ts
CHANGED
@@ -356,6 +356,18 @@ interface DropdownProps extends ElementProps {
|
|
356
356
|
/** `Atribute` `Required` Array of `DropdownItem` objects that will be shown on its menu */
|
357
357
|
listOfItems: DropdownItemProps[];
|
358
358
|
}
|
359
|
+
interface MessageProps extends ElementProps {
|
360
|
+
/** `Atribute` Sets the header's text that will be shown on message's darker zone */
|
361
|
+
headerText?: string;
|
362
|
+
/** `Atribute` `Required` Sets the body's text that will be shown on message's lighter zone */
|
363
|
+
bodyText: string;
|
364
|
+
/** `Atribute` Includes a `Delete` config object that will be shown */
|
365
|
+
deleteButton?: DeleteProps;
|
366
|
+
/** `Styling` Color based on bulma's color tokens */
|
367
|
+
color?: basicColorType;
|
368
|
+
/** `Styling` Set button's size on bulma's size tokens */
|
369
|
+
size?: Exclude<basicSizeType, 'is-normal'>;
|
370
|
+
}
|
359
371
|
|
360
372
|
declare const ButtonGroup: React$1.FC<ButtonGroupProps>;
|
361
373
|
|
@@ -367,4 +379,6 @@ declare const Breadcrumbs: React$1.FC<BreadcrumbsProps>;
|
|
367
379
|
|
368
380
|
declare const Dropdown: React$1.FC<DropdownProps>;
|
369
381
|
|
370
|
-
|
382
|
+
declare const Message: React$1.FC<MessageProps>;
|
383
|
+
|
384
|
+
export { Block, Box, BreadcrumbItem, Breadcrumbs, Button, ButtonGroup, CheckBox as Checkbox, Column, ColumnGroup, Delete, Dropdown, DropdownItem, DropdownTrigger, File, Icon, Input, Message, Notification, ProgressBar, RadioButton, Select, Tag, TextArea, Title };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "reactive-bulma",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.6.0",
|
4
4
|
"description": "A component library based on React, Bulma, Typescript and Rollup",
|
5
5
|
"keywords": [
|
6
6
|
"typescript",
|
@@ -40,12 +40,16 @@
|
|
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 && husky install",
|
43
|
+
"setup": "npm i && npm i -g npm-check-updates && husky install",
|
44
44
|
"prepare": "npm run build",
|
45
45
|
"build": "rollup -c --bundleConfigAsCjs",
|
46
46
|
"build:storybook": "storybook build",
|
47
47
|
"semantic-release": "semantic-release",
|
48
|
-
"create": "hygen component new"
|
48
|
+
"create": "hygen component new",
|
49
|
+
"update": "npm run update:deps && npm run update:doctor && npm run update:storybook",
|
50
|
+
"update:deps": "ncu -i --format group",
|
51
|
+
"update:storybook": "npx storybook@latest upgrade && npm run build:storybook",
|
52
|
+
"update:doctor": "npm run lint && npm run test && npm run build"
|
49
53
|
},
|
50
54
|
"devDependencies": {
|
51
55
|
"@babel/core": "^7.23.2",
|
@@ -57,32 +61,32 @@
|
|
57
61
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
58
62
|
"@rollup/plugin-typescript": "^11.1.5",
|
59
63
|
"@semantic-release/changelog": "^6.0.3",
|
60
|
-
"@semantic-release/commit-analyzer": "^11.
|
64
|
+
"@semantic-release/commit-analyzer": "^11.1.0",
|
61
65
|
"@semantic-release/exec": "^6.0.3",
|
62
66
|
"@semantic-release/git": "^10.0.1",
|
63
67
|
"@semantic-release/github": "^9.2.1",
|
64
|
-
"@semantic-release/npm": "^11.0.
|
65
|
-
"@semantic-release/release-notes-generator": "^12.
|
66
|
-
"@storybook/addon-actions": "^7.5.
|
67
|
-
"@storybook/addon-essentials": "^7.5.
|
68
|
-
"@storybook/addon-interactions": "^7.5.
|
69
|
-
"@storybook/addon-links": "^7.5.
|
70
|
-
"@storybook/addon-mdx-gfm": "^7.5.
|
71
|
-
"@storybook/cli": "^7.5.
|
72
|
-
"@storybook/react": "^7.5.
|
73
|
-
"@storybook/react-webpack5": "^7.5.
|
68
|
+
"@semantic-release/npm": "^11.0.1",
|
69
|
+
"@semantic-release/release-notes-generator": "^12.1.0",
|
70
|
+
"@storybook/addon-actions": "^7.5.3",
|
71
|
+
"@storybook/addon-essentials": "^7.5.3",
|
72
|
+
"@storybook/addon-interactions": "^7.5.3",
|
73
|
+
"@storybook/addon-links": "^7.5.3",
|
74
|
+
"@storybook/addon-mdx-gfm": "^7.5.3",
|
75
|
+
"@storybook/cli": "^7.5.3",
|
76
|
+
"@storybook/react": "^7.5.3",
|
77
|
+
"@storybook/react-webpack5": "^7.5.3",
|
74
78
|
"@storybook/testing-library": "^0.2.2",
|
75
79
|
"@testing-library/jest-dom": "^6.1.4",
|
76
80
|
"@testing-library/react": "^14.0.0",
|
77
81
|
"@testing-library/user-event": "^14.5.1",
|
78
|
-
"@types/jest": "^29.5.
|
79
|
-
"@types/react": "^18.2.
|
80
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
81
|
-
"@typescript-eslint/parser": "^6.
|
82
|
+
"@types/jest": "^29.5.7",
|
83
|
+
"@types/react": "^18.2.36",
|
84
|
+
"@typescript-eslint/eslint-plugin": "^6.10.0",
|
85
|
+
"@typescript-eslint/parser": "^6.10.0",
|
82
86
|
"babel-jest": "^29.7.0",
|
83
87
|
"babel-loader": "^9.1.3",
|
84
88
|
"bulma": "^0.9.4",
|
85
|
-
"eslint": "^8.
|
89
|
+
"eslint": "^8.53.0",
|
86
90
|
"eslint-config-prettier": "^9.0.0",
|
87
91
|
"eslint-plugin-react": "^7.33.2",
|
88
92
|
"husky": "^8.0.3",
|
@@ -90,15 +94,16 @@
|
|
90
94
|
"jest": "^29.7.0",
|
91
95
|
"jest-environment-jsdom": "^29.7.0",
|
92
96
|
"lint-staged": "^15.0.2",
|
97
|
+
"npm-check-updates": "^16.14.6",
|
93
98
|
"postcss": "^8.4.31",
|
94
99
|
"prettier": "^3.0.3",
|
95
100
|
"react": "^18.2.0",
|
96
101
|
"react-dom": "^18.2.0",
|
97
|
-
"rollup": "^4.
|
102
|
+
"rollup": "^4.3.0",
|
98
103
|
"rollup-plugin-dts": "^6.1.0",
|
99
104
|
"rollup-plugin-postcss": "^4.0.2",
|
100
|
-
"semantic-release": "^22.0.
|
101
|
-
"storybook": "^7.5.
|
105
|
+
"semantic-release": "^22.0.7",
|
106
|
+
"storybook": "^7.5.3",
|
102
107
|
"tslib": "^2.6.2",
|
103
108
|
"typescript": "^5.2.2"
|
104
109
|
},
|