@canonical/react-components 0.30.0 → 0.31.0
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/components/Accordion/Accordion.js +9 -6
- package/dist/components/AccordionSection/AccordionSection.js +3 -3
- package/dist/components/ActionButton/ActionButton.js +7 -5
- package/dist/components/ArticlePagination/ArticlePagination.js +3 -1
- package/dist/components/Button/Button.js +3 -1
- package/dist/components/Button/index.js +7 -7
- package/dist/components/Card/Card.js +3 -1
- package/dist/components/CheckableInput/CheckableInput.js +6 -4
- package/dist/components/CheckboxInput/CheckboxInput.js +3 -1
- package/dist/components/Chip/Chip.d.ts +12 -1
- package/dist/components/Chip/Chip.js +21 -4
- package/dist/components/Code/Code.js +6 -4
- package/dist/components/CodeSnippet/CodeSnippetBlock.js +1 -1
- package/dist/components/CodeSnippet/CodeSnippetDropdown.js +5 -2
- package/dist/components/CodeSnippet/index.js +4 -4
- package/dist/components/Col/Col.js +3 -1
- package/dist/components/Col/index.js +7 -7
- package/dist/components/ContextualMenu/ContextualMenu.js +8 -5
- package/dist/components/ContextualMenu/ContextualMenuDropdown/ContextualMenuDropdown.js +11 -8
- package/dist/components/Form/Form.js +3 -1
- package/dist/components/Icon/Icon.js +3 -1
- package/dist/components/Icon/index.js +7 -7
- package/dist/components/Input/Input.js +6 -4
- package/dist/components/Label/Label.js +3 -1
- package/dist/components/Link/Link.js +3 -1
- package/dist/components/List/List.js +8 -4
- package/dist/components/MainTable/MainTable.js +14 -9
- package/dist/components/Modal/Modal.js +6 -4
- package/dist/components/Notification/Notification.js +6 -4
- package/dist/components/Notification/index.js +7 -7
- package/dist/components/Pagination/Pagination.js +3 -1
- package/dist/components/PasswordToggle/PasswordToggle.js +7 -5
- package/dist/components/RadioInput/RadioInput.js +3 -1
- package/dist/components/Row/Row.js +3 -1
- package/dist/components/SearchAndFilter/FilterPanelSection/FilterPanelSection.js +4 -4
- package/dist/components/SearchAndFilter/SearchAndFilter.js +8 -6
- package/dist/components/SearchAndFilter/utils.js +1 -1
- package/dist/components/Select/Select.js +8 -5
- package/dist/components/Slider/Slider.d.ts +1 -0
- package/dist/components/Slider/Slider.js +7 -3
- package/dist/components/Spinner/Spinner.d.ts +3 -2
- package/dist/components/Spinner/Spinner.js +13 -3
- package/dist/components/Strip/Strip.js +3 -1
- package/dist/components/Table/Table.js +3 -1
- package/dist/components/TableCell/TableCell.js +3 -1
- package/dist/components/TableHeader/TableHeader.js +3 -1
- package/dist/components/TableRow/TableRow.js +3 -1
- package/dist/components/Tabs/Tabs.js +3 -1
- package/dist/components/Textarea/Textarea.js +8 -6
- package/dist/components/Tooltip/Tooltip.js +4 -4
- package/dist/hooks/index.js +6 -6
- package/dist/hooks/useThrottle.js +1 -1
- package/dist/index.js +11 -11
- package/package.json +29 -29
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canonical/react-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"author": "Huw Wilkins <huw.wilkins@canonical.com>",
|
|
@@ -22,36 +22,36 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "/react-components/",
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@babel/cli": "7.
|
|
26
|
-
"@babel/eslint-parser": "7.
|
|
25
|
+
"@babel/cli": "7.17.0",
|
|
26
|
+
"@babel/eslint-parser": "7.17.0",
|
|
27
27
|
"@babel/preset-typescript": "7.16.7",
|
|
28
|
-
"@percy/cli": "1.0.0-beta.
|
|
28
|
+
"@percy/cli": "1.0.0-beta.74",
|
|
29
29
|
"@percy/storybook": "4.1.0",
|
|
30
|
-
"@storybook/addon-a11y": "6.4.
|
|
31
|
-
"@storybook/addon-controls": "6.4.
|
|
32
|
-
"@storybook/addon-docs": "6.4.
|
|
33
|
-
"@storybook/addons": "6.4.
|
|
34
|
-
"@storybook/react": "6.4.
|
|
35
|
-
"@storybook/theming": "6.4.
|
|
30
|
+
"@storybook/addon-a11y": "6.4.18",
|
|
31
|
+
"@storybook/addon-controls": "6.4.18",
|
|
32
|
+
"@storybook/addon-docs": "6.4.18",
|
|
33
|
+
"@storybook/addons": "6.4.18",
|
|
34
|
+
"@storybook/react": "6.4.18",
|
|
35
|
+
"@storybook/theming": "6.4.18",
|
|
36
36
|
"@testing-library/cypress": "8.0.2",
|
|
37
|
-
"@testing-library/dom": "8.11.
|
|
37
|
+
"@testing-library/dom": "8.11.3",
|
|
38
38
|
"@testing-library/react-hooks": "7.0.2",
|
|
39
39
|
"@testing-library/user-event": "13.5.0",
|
|
40
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
41
|
-
"@typescript-eslint/parser": "5.
|
|
40
|
+
"@typescript-eslint/eslint-plugin": "5.10.2",
|
|
41
|
+
"@typescript-eslint/parser": "5.10.2",
|
|
42
42
|
"@wojtekmaj/enzyme-adapter-react-17": "0.6.6",
|
|
43
|
-
"babel-jest": "27.4.
|
|
43
|
+
"babel-jest": "27.4.6",
|
|
44
44
|
"babel-loader": "8.2.3",
|
|
45
45
|
"babel-plugin-module-resolver": "4.1.0",
|
|
46
46
|
"babel-plugin-typescript-to-proptypes": "2.0.0",
|
|
47
|
-
"concurrently": "
|
|
47
|
+
"concurrently": "7.0.0",
|
|
48
48
|
"css-loader": "5.2.7",
|
|
49
|
-
"cypress": "9.
|
|
49
|
+
"cypress": "9.4.1",
|
|
50
50
|
"deepmerge": "4.2.2",
|
|
51
51
|
"enzyme": "3.11.0",
|
|
52
52
|
"enzyme-adapter-react-16": "1.15.6",
|
|
53
53
|
"enzyme-to-json": "3.6.2",
|
|
54
|
-
"eslint": "8.
|
|
54
|
+
"eslint": "8.8.0",
|
|
55
55
|
"eslint-config-prettier": "8.3.0",
|
|
56
56
|
"eslint-config-react-app": "7.0.0",
|
|
57
57
|
"eslint-plugin-cypress": "2.12.1",
|
|
@@ -61,35 +61,35 @@
|
|
|
61
61
|
"eslint-plugin-prettier": "4.0.0",
|
|
62
62
|
"eslint-plugin-react": "7.28.0",
|
|
63
63
|
"eslint-plugin-react-hooks": "4.3.0",
|
|
64
|
-
"jest": "27.4.
|
|
64
|
+
"jest": "27.4.7",
|
|
65
65
|
"npm-package-json-lint": "5.4.2",
|
|
66
66
|
"prettier": "2.5.1",
|
|
67
67
|
"react": "17.0.2",
|
|
68
68
|
"react-docgen-typescript-loader": "3.7.2",
|
|
69
69
|
"react-dom": "17.0.2",
|
|
70
|
-
"sass": "1.
|
|
71
|
-
"sass-loader": "10.2.
|
|
70
|
+
"sass": "1.49.7",
|
|
71
|
+
"sass-loader": "10.2.1",
|
|
72
72
|
"style-loader": "2.0.0",
|
|
73
|
-
"stylelint": "14.
|
|
73
|
+
"stylelint": "14.3.0",
|
|
74
74
|
"stylelint-config-prettier": "9.0.3",
|
|
75
75
|
"stylelint-config-recommended-scss": "5.0.2",
|
|
76
76
|
"stylelint-order": "5.0.0",
|
|
77
77
|
"stylelint-prettier": "2.0.0",
|
|
78
|
-
"ts-jest": "27.1.
|
|
78
|
+
"ts-jest": "27.1.3",
|
|
79
79
|
"tsc-alias": "1.5.0",
|
|
80
|
-
"typescript": "4.5.
|
|
81
|
-
"vanilla-framework": "3.0
|
|
80
|
+
"typescript": "4.5.5",
|
|
81
|
+
"vanilla-framework": "3.1.0",
|
|
82
82
|
"wait-on": "5.3.0"
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|
|
85
85
|
"@types/jest": "27.4.0",
|
|
86
|
-
"@types/node": "16.11.
|
|
87
|
-
"@types/react": "17.0.
|
|
86
|
+
"@types/node": "16.11.22",
|
|
87
|
+
"@types/react": "17.0.39",
|
|
88
88
|
"@types/react-dom": "17.0.11",
|
|
89
89
|
"@types/react-table": "7.7.9",
|
|
90
90
|
"classnames": "2.3.1",
|
|
91
|
-
"nanoid": "3.
|
|
92
|
-
"prop-types": "15.8.
|
|
91
|
+
"nanoid": "3.2.0",
|
|
92
|
+
"prop-types": "15.8.1",
|
|
93
93
|
"react-table": "7.7.0",
|
|
94
94
|
"react-useportal": "1.0.16"
|
|
95
95
|
},
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"peerDependencies": {
|
|
100
100
|
"react": "17.0.2",
|
|
101
101
|
"react-dom": "17.0.2",
|
|
102
|
-
"vanilla-framework": "3.0
|
|
102
|
+
"vanilla-framework": "3.1.0"
|
|
103
103
|
},
|
|
104
104
|
"scripts": {
|
|
105
105
|
"build": "rm -rf dist && yarn build-local; yarn build-declaration",
|