@canonical/react-components 3.9.0 → 3.9.1
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 +15 -11
- package/dist/components/ActionButton/ActionButton.js +13 -10
- package/dist/components/ApplicationLayout/AppAside/AppAside.js +12 -9
- package/dist/components/ApplicationLayout/AppMain/AppMain.js +7 -4
- package/dist/components/ApplicationLayout/AppNavigation/AppNavigation.js +9 -6
- package/dist/components/ApplicationLayout/AppNavigationBar/AppNavigationBar.js +7 -4
- package/dist/components/ApplicationLayout/AppStatus/AppStatus.js +7 -4
- package/dist/components/ApplicationLayout/Application/Application.js +7 -4
- package/dist/components/ApplicationLayout/ApplicationLayout.js +22 -19
- package/dist/components/ArticlePagination/ArticlePagination.js +10 -7
- package/dist/components/Badge/Badge.js +9 -6
- package/dist/components/Button/Button.js +15 -12
- package/dist/components/Card/Card.js +11 -8
- package/dist/components/Card/Card.stories.d.ts +5 -0
- package/dist/components/Card/Card.stories.js +13 -4
- package/dist/components/CheckboxInput/CheckableInput/CheckableInput.js +10 -7
- package/dist/components/CheckboxInput/CheckboxInput.js +7 -4
- package/dist/components/Chip/Chip.js +18 -15
- package/dist/components/Code/Code.js +10 -7
- package/dist/components/CodeSnippet/CodeSnippet.js +7 -4
- package/dist/components/CodeSnippet/CodeSnippetDropdown.js +12 -8
- package/dist/components/Col/Col.js +15 -12
- package/dist/components/ColumnSelector/columnSelectorHelper.js +7 -3
- package/dist/components/ConfirmationButton/ConfirmationButton.js +10 -7
- package/dist/components/ConfirmationModal/ConfirmationModal.js +15 -12
- package/dist/components/ContextualMenu/ContextualMenu.js +27 -24
- package/dist/components/ContextualMenu/ContextualMenuDropdown/ContextualMenuDropdown.js +47 -44
- package/dist/components/CustomSelect/CustomSelect.js +25 -22
- package/dist/components/CustomSelect/CustomSelect.stories.js +8 -5
- package/dist/components/EmptyState/EmptyState.js +9 -6
- package/dist/components/Field/Field.js +22 -19
- package/dist/components/Form/Form.js +9 -6
- package/dist/components/FormikField/FormikField.js +10 -7
- package/dist/components/Icon/Icon.js +8 -5
- package/dist/components/Input/Input.js +28 -21
- package/dist/components/Label/Label.js +9 -6
- package/dist/components/Link/Link.js +11 -8
- package/dist/components/List/List.js +28 -19
- package/dist/components/MainTable/MainTable.js +34 -28
- package/dist/components/Modal/Modal.js +13 -10
- package/dist/components/ModularTable/ModularTable.js +25 -21
- package/dist/components/MultiSelect/MultiSelect.js +17 -14
- package/dist/components/MultiSelect/MultiSelect.stories.js +14 -14
- package/dist/components/Navigation/Navigation.js +31 -23
- package/dist/components/Navigation/NavigationLink/NavigationLink.js +26 -17
- package/dist/components/Navigation/NavigationMenu/NavigationMenu.js +16 -9
- package/dist/components/Notifications/Notification/Notification.js +19 -16
- package/dist/components/Notifications/ToastNotification/ToastNotificationProvider.js +15 -15
- package/dist/components/Pagination/Pagination.js +20 -17
- package/dist/components/Panel/Panel.js +29 -25
- package/dist/components/PasswordToggle/PasswordToggle.js +16 -13
- package/dist/components/RadioInput/RadioInput.js +6 -3
- package/dist/components/Row/Row.js +7 -4
- package/dist/components/ScrollableTable/ScrollableTable.stories.js +7 -3
- package/dist/components/SearchAndFilter/SearchAndFilter.js +10 -7
- package/dist/components/SearchBox/SearchBox.js +18 -15
- package/dist/components/Select/Select.js +25 -21
- package/dist/components/SideNavigation/SideNavigation.js +19 -13
- package/dist/components/SideNavigation/SideNavigationBase/SideNavigationBase.js +11 -8
- package/dist/components/SideNavigation/SideNavigationItem/SideNavigationItem.js +12 -6
- package/dist/components/SideNavigation/SideNavigationLink/SideNavigationLink.js +7 -4
- package/dist/components/SideNavigation/SideNavigationText/SideNavigationText.js +7 -4
- package/dist/components/Slider/Slider.js +17 -14
- package/dist/components/Spinner/Spinner.js +11 -8
- package/dist/components/StatusLabel/StatusLabel.js +8 -5
- package/dist/components/Stepper/Step/Step.js +15 -12
- package/dist/components/Strip/Strip.js +18 -15
- package/dist/components/Strip/Strip.stories.js +6 -1
- package/dist/components/Switch/Switch.js +9 -6
- package/dist/components/Table/Table.js +9 -6
- package/dist/components/TableCell/TableCell.js +11 -8
- package/dist/components/TableHeader/TableHeader.js +7 -4
- package/dist/components/TablePagination/TablePagination.js +14 -11
- package/dist/components/TablePagination/TablePaginationControls/TablePaginationControls.js +22 -19
- package/dist/components/TableRow/TableRow.js +6 -3
- package/dist/components/Tabs/Tabs.js +10 -7
- package/dist/components/Textarea/Textarea.js +29 -22
- package/dist/esm/components/Card/Card.stories.d.ts +5 -0
- package/dist/esm/components/Card/Card.stories.js +6 -1
- package/dist/esm/components/Strip/Strip.stories.js +6 -1
- package/dist/external/useSSR.js +6 -4
- package/package.json +50 -47
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canonical/react-components",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.1",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"author": {
|
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
"!dist/testing",
|
|
17
17
|
"!dist/setupTests.js"
|
|
18
18
|
],
|
|
19
|
+
"sideEffects": [
|
|
20
|
+
"**/*.scss"
|
|
21
|
+
],
|
|
19
22
|
"repository": {
|
|
20
23
|
"type": "git",
|
|
21
24
|
"url": "git@github.com:canonical/react-components.git"
|
|
@@ -25,66 +28,66 @@
|
|
|
25
28
|
},
|
|
26
29
|
"homepage": "https://canonical.github.io/react-components",
|
|
27
30
|
"devDependencies": {
|
|
28
|
-
"@babel/cli": "7.
|
|
29
|
-
"@babel/eslint-parser": "7.
|
|
30
|
-
"@babel/plugin-transform-class-properties": "7.
|
|
31
|
-
"@babel/preset-env": "7.
|
|
32
|
-
"@babel/preset-react": "7.
|
|
33
|
-
"@babel/preset-typescript": "7.
|
|
34
|
-
"@eslint/compat": "1.
|
|
35
|
-
"@eslint/eslintrc": "3.
|
|
36
|
-
"@eslint/js": "9.
|
|
37
|
-
"@percy/cli": "1.
|
|
38
|
-
"@percy/storybook": "6.0.
|
|
31
|
+
"@babel/cli": "7.28.6",
|
|
32
|
+
"@babel/eslint-parser": "7.28.6",
|
|
33
|
+
"@babel/plugin-transform-class-properties": "7.28.6",
|
|
34
|
+
"@babel/preset-env": "7.28.6",
|
|
35
|
+
"@babel/preset-react": "7.28.5",
|
|
36
|
+
"@babel/preset-typescript": "7.28.5",
|
|
37
|
+
"@eslint/compat": "1.4.1",
|
|
38
|
+
"@eslint/eslintrc": "3.3.3",
|
|
39
|
+
"@eslint/js": "9.39.2",
|
|
40
|
+
"@percy/cli": "1.31.8",
|
|
41
|
+
"@percy/storybook": "6.0.4",
|
|
39
42
|
"@semantic-release/changelog": "6.0.3",
|
|
40
43
|
"@semantic-release/git": "10.0.1",
|
|
41
|
-
"@storybook/addon-a11y": "8.
|
|
42
|
-
"@storybook/addon-essentials": "8.
|
|
43
|
-
"@storybook/addon-interactions": "8.
|
|
44
|
-
"@storybook/addon-links": "8.
|
|
45
|
-
"@storybook/addon-onboarding": "8.
|
|
46
|
-
"@storybook/addon-webpack5-compiler-babel": "3.0.
|
|
47
|
-
"@storybook/blocks": "8.
|
|
48
|
-
"@storybook/react": "8.
|
|
49
|
-
"@storybook/react-webpack5": "8.
|
|
50
|
-
"@testing-library/cypress": "10.0
|
|
51
|
-
"@testing-library/dom": "10.4.
|
|
52
|
-
"@testing-library/jest-dom": "6.
|
|
53
|
-
"@testing-library/react": "16.
|
|
44
|
+
"@storybook/addon-a11y": "8.6.15",
|
|
45
|
+
"@storybook/addon-essentials": "8.6.14",
|
|
46
|
+
"@storybook/addon-interactions": "8.6.14",
|
|
47
|
+
"@storybook/addon-links": "8.6.15",
|
|
48
|
+
"@storybook/addon-onboarding": "8.6.15",
|
|
49
|
+
"@storybook/addon-webpack5-compiler-babel": "3.0.6",
|
|
50
|
+
"@storybook/blocks": "8.6.14",
|
|
51
|
+
"@storybook/react": "8.6.15",
|
|
52
|
+
"@storybook/react-webpack5": "8.6.15",
|
|
53
|
+
"@testing-library/cypress": "10.1.0",
|
|
54
|
+
"@testing-library/dom": "10.4.1",
|
|
55
|
+
"@testing-library/jest-dom": "6.9.1",
|
|
56
|
+
"@testing-library/react": "16.3.1",
|
|
54
57
|
"@testing-library/user-event": "14.6.1",
|
|
55
58
|
"babel-jest": "29.7.0",
|
|
56
59
|
"babel-loader": "9.2.1",
|
|
57
60
|
"babel-plugin-module-resolver": "5.0.2",
|
|
58
61
|
"babel-plugin-typescript-to-proptypes": "2.1.0",
|
|
59
|
-
"concurrently": "9.1
|
|
62
|
+
"concurrently": "9.2.1",
|
|
60
63
|
"css-loader": "7.1.2",
|
|
61
|
-
"cypress": "14.
|
|
64
|
+
"cypress": "14.5.4",
|
|
62
65
|
"deepmerge": "4.3.1",
|
|
63
|
-
"eslint": "9.
|
|
64
|
-
"eslint-config-prettier": "10.
|
|
65
|
-
"eslint-plugin-cypress": "4.
|
|
66
|
+
"eslint": "9.39.2",
|
|
67
|
+
"eslint-config-prettier": "10.1.8",
|
|
68
|
+
"eslint-plugin-cypress": "4.3.0",
|
|
66
69
|
"eslint-plugin-flowtype": "8.0.3",
|
|
67
|
-
"eslint-plugin-import": "2.
|
|
70
|
+
"eslint-plugin-import": "2.32.0",
|
|
68
71
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
69
|
-
"eslint-plugin-prettier": "5.
|
|
70
|
-
"eslint-plugin-react": "7.37.
|
|
71
|
-
"eslint-plugin-react-hooks": "5.
|
|
72
|
-
"eslint-plugin-storybook": "0.
|
|
73
|
-
"eslint-plugin-testing-library": "7.
|
|
74
|
-
"formik": "2.4.
|
|
72
|
+
"eslint-plugin-prettier": "5.5.5",
|
|
73
|
+
"eslint-plugin-react": "7.37.5",
|
|
74
|
+
"eslint-plugin-react-hooks": "5.2.0",
|
|
75
|
+
"eslint-plugin-storybook": "0.12.0",
|
|
76
|
+
"eslint-plugin-testing-library": "7.15.4",
|
|
77
|
+
"formik": "2.4.9",
|
|
75
78
|
"jest": "29.7.0",
|
|
76
79
|
"npm-package-json-lint": "8.0.0",
|
|
77
|
-
"prettier": "3.
|
|
78
|
-
"react": "19.
|
|
80
|
+
"prettier": "3.8.0",
|
|
81
|
+
"react": "19.2.3",
|
|
79
82
|
"react-docgen-typescript-loader": "3.7.2",
|
|
80
|
-
"react-dom": "19.
|
|
81
|
-
"sass": "1.
|
|
82
|
-
"sass-loader": "16.0.
|
|
83
|
+
"react-dom": "19.2.3",
|
|
84
|
+
"sass": "1.97.2",
|
|
85
|
+
"sass-loader": "16.0.6",
|
|
83
86
|
"semantic-release": "25.0.2",
|
|
84
87
|
"storybook": "8.6.15",
|
|
85
|
-
"strip-ansi": "7.1.
|
|
88
|
+
"strip-ansi": "7.1.2",
|
|
86
89
|
"style-loader": "4.0.0",
|
|
87
|
-
"stylelint": "16.
|
|
90
|
+
"stylelint": "16.26.1",
|
|
88
91
|
"stylelint-config-prettier": "9.0.5",
|
|
89
92
|
"stylelint-config-recommended-scss": "14.1.0",
|
|
90
93
|
"stylelint-order": "6.0.4",
|
|
@@ -93,13 +96,13 @@
|
|
|
93
96
|
"tsc-alias": "1.8.10",
|
|
94
97
|
"typescript": "5.7.3",
|
|
95
98
|
"typescript-eslint": "8.24.1",
|
|
96
|
-
"vanilla-framework": "4.
|
|
99
|
+
"vanilla-framework": "4.44.0",
|
|
97
100
|
"wait-on": "8.0.2",
|
|
98
|
-
"webpack": "5.
|
|
101
|
+
"webpack": "5.105.0"
|
|
99
102
|
},
|
|
100
103
|
"dependencies": {
|
|
101
104
|
"@types/jest": "29.5.14",
|
|
102
|
-
"@types/node": "20.
|
|
105
|
+
"@types/node": "20.19.30",
|
|
103
106
|
"@types/react": "19.0.10",
|
|
104
107
|
"@types/react-dom": "19.0.4",
|
|
105
108
|
"@types/react-table": "7.7.20",
|