@carbon/ibm-products 1.53.1 β 1.54.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +15 -15
- package/css/index-full-carbon.css +0 -5
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css +1 -1
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon.css +0 -5
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css +1 -1
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +0 -5
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/es/components/AboutModal/AboutModal.js +1 -3
- package/es/components/ActionBar/ActionBar.js +4 -6
- package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +2 -6
- package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +3 -9
- package/es/components/Datagrid/Datagrid/DatagridVirtualBody.js +1 -3
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +35 -36
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +22 -26
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/index.js +0 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +50 -17
- package/es/components/Datagrid/useFiltering.js +1 -1
- package/es/components/Datagrid/useStickyColumn.js +10 -3
- package/es/components/Datagrid/utils/makeData.js +1 -1
- package/es/components/PageHeader/PageHeader.js +2 -6
- package/es/components/SidePanel/SidePanel.js +1 -3
- package/es/components/TagSet/TagSet.js +2 -6
- package/es/global/js/hooks/useResizeObserver.js +14 -28
- package/es/global/js/utils/story-helper.js +1 -1
- package/lib/components/AboutModal/AboutModal.js +1 -3
- package/lib/components/ActionBar/ActionBar.js +4 -6
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +2 -6
- package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +3 -9
- package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +1 -3
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +33 -35
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +22 -26
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/index.js +0 -7
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +48 -15
- package/lib/components/Datagrid/useFiltering.js +1 -1
- package/lib/components/Datagrid/useStickyColumn.js +10 -3
- package/lib/components/Datagrid/utils/makeData.js +1 -1
- package/lib/components/PageHeader/PageHeader.js +2 -6
- package/lib/components/SidePanel/SidePanel.js +1 -3
- package/lib/components/TagSet/TagSet.js +2 -6
- package/lib/global/js/hooks/useResizeObserver.js +13 -27
- package/lib/global/js/utils/story-helper.js +1 -1
- package/package.json +7 -7
- package/scss/components/Datagrid/_storybook-styles.scss +8 -0
- package/scss/components/Datagrid/styles/_datagrid.scss +0 -5
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useInitialStateFromFilters.js +0 -21
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useInitialStateFromFilters.js +0 -30
package/README.md
CHANGED
@@ -9,18 +9,18 @@
|
|
9
9
|
> name can still be encountered in various places and historical logs.
|
10
10
|
|
11
11
|
[![All Contributors](https://img.shields.io/badge/all_contributors-10-orange.svg)](#contributors-)
|
12
|
-
[![Licensed under the Apache License, Version 2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/carbon-design-system/ibm-
|
13
|
-
[![Build status](https://github.com/carbon-design-system/ibm-
|
12
|
+
[![Licensed under the Apache License, Version 2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/carbon-design-system/ibm-products/blob/master/LICENSE)
|
13
|
+
[![Build status](https://github.com/carbon-design-system/ibm-products/actions/workflows/ci.yml/badge.svg)](https://github.com/carbon-design-system/ibm-products/actions/workflows/ci.yml)
|
14
14
|
[![Netlify status](https://img.shields.io/netlify/f850c678-e8be-43c0-aa95-b2b9cca8ac21)](https://app.netlify.com/sites/carbon-for-ibm-products/deploys)
|
15
|
-
[![GitHub Lerna version](https://img.shields.io/github/lerna-json/v/carbon-design-system/ibm-
|
16
|
-
[![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen)](https://github.com/carbon-design-system/ibm-
|
15
|
+
[![GitHub Lerna version](https://img.shields.io/github/lerna-json/v/carbon-design-system/ibm-products)](https://lerna.js.org)
|
16
|
+
[![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen)](https://github.com/carbon-design-system/ibm-products/blob/master/.github/CONTRIBUTING.md)
|
17
17
|
|
18
18
|
> Carbon for IBM Products common UI components
|
19
19
|
|
20
20
|
## π Getting started
|
21
21
|
|
22
22
|
If youβre just getting started and looking to browse our React components, take
|
23
|
-
a look at [our Storybook](https://
|
23
|
+
a look at [our Storybook](https://ibm-products.carbondesignsystem.com).
|
24
24
|
|
25
25
|
### π¦ Installing Carbon for IBM Products
|
26
26
|
|
@@ -44,7 +44,7 @@ import '@carbon/ibm-products/css/index.min.css';
|
|
44
44
|
### Webpack 4
|
45
45
|
|
46
46
|
Our package requires support for ES modules (see
|
47
|
-
[#2378](https://github.com/carbon-design-system/ibm-
|
47
|
+
[#2378](https://github.com/carbon-design-system/ibm-products/issues/2378#issuecomment-1319276192)).
|
48
48
|
In Webpack 5, these are supported by default. In Webpack 4, you will need to add
|
49
49
|
the [following rule](https://stackoverflow.com/a/72149467) to your config.
|
50
50
|
|
@@ -74,7 +74,7 @@ dependencies which need to be installed.
|
|
74
74
|
|
75
75
|
**Note:** `@carbon/elements` rolls up a number of Carbon packages that could be
|
76
76
|
installed independently. As this list of dependencies could change, we leave you
|
77
|
-
to view `package.json` in ibm-
|
77
|
+
to view `package.json` in ibm-products if you wish to install individual
|
78
78
|
packages.
|
79
79
|
|
80
80
|
## Examples
|
@@ -83,7 +83,7 @@ packages.
|
|
83
83
|
|
84
84
|
Examples for each released component, and some that are still not quite ready,
|
85
85
|
can be found here on
|
86
|
-
[CodeSandbox](https://codesandbox.io/examples/package/@carbon/ibm-
|
86
|
+
[CodeSandbox](https://codesandbox.io/examples/package/@carbon/ibm-products).
|
87
87
|
|
88
88
|
### Packages
|
89
89
|
|
@@ -170,7 +170,7 @@ So, do not be shy. We both depend on and appreciate contributors, new and old,
|
|
170
170
|
who help us fix bugs, build new features, improve our documentation, etc.
|
171
171
|
|
172
172
|
If youβre interested, definitely check out our
|
173
|
-
[Contributing Guide](https://github.com/carbon-design-system/ibm-
|
173
|
+
[Contributing Guide](https://github.com/carbon-design-system/ibm-products/blob/master/.github/CONTRIBUTING.md)
|
174
174
|
and
|
175
175
|
[Carbonβs Developer Handbook](https://github.com/carbon-design-system/carbon/blob/master/docs/developer-handbook.md)!
|
176
176
|
π
|
@@ -180,13 +180,13 @@ and
|
|
180
180
|
<!-- markdownlint-disable -->
|
181
181
|
<table>
|
182
182
|
<tr>
|
183
|
-
<td align="center"><a href="https://github.com/lee-chase"><img src="https://avatars0.githubusercontent.com/u/15086604?v=4" width="100px;" alt=""/><br /><sub><b>Lee Chase</b></sub></a><br /><a href="https://github.com/carbon-design-system/ibm-
|
184
|
-
<td align="center"><a href="http://davidmenendez.net"><img src="https://avatars1.githubusercontent.com/u/6370760?v=4" width="100px;" alt=""/><br /><sub><b>David Menendez</b></sub></a><br /><a href="https://github.com/carbon-design-system/ibm-
|
185
|
-
<td align="center"><a href="http://www.matthewdgallo.com"><img src="https://avatars0.githubusercontent.com/u/10215203?v=4" width="100px;" alt=""/><br /><sub><b>Matthew Gallo</b></sub></a><br /><a href="https://github.com/carbon-design-system/ibm-
|
183
|
+
<td align="center"><a href="https://github.com/lee-chase"><img src="https://avatars0.githubusercontent.com/u/15086604?v=4" width="100px;" alt=""/><br /><sub><b>Lee Chase</b></sub></a><br /><a href="https://github.com/carbon-design-system/ibm-products/commits?author=lee-chase" title="Code">π»</a></td>
|
184
|
+
<td align="center"><a href="http://davidmenendez.net"><img src="https://avatars1.githubusercontent.com/u/6370760?v=4" width="100px;" alt=""/><br /><sub><b>David Menendez</b></sub></a><br /><a href="https://github.com/carbon-design-system/ibm-products/commits?author=davidmenendez" title="Code">π»</a></td>
|
185
|
+
<td align="center"><a href="http://www.matthewdgallo.com"><img src="https://avatars0.githubusercontent.com/u/10215203?v=4" width="100px;" alt=""/><br /><sub><b>Matthew Gallo</b></sub></a><br /><a href="https://github.com/carbon-design-system/ibm-products/commits?author=matthewgallo" title="Code">π»</a></td>
|
186
186
|
</tr>
|
187
187
|
<tr>
|
188
|
-
<td align="center"><a href="http://simonfinney.dev"><img src="https://avatars2.githubusercontent.com/u/3846874?v=4" width="100px;" alt=""/><br /><sub><b>Simon Finney</b></sub></a><br /><a href="https://github.com/carbon-design-system/ibm-
|
189
|
-
<td align="center"><a href="https://github.com/polinaouk"><img src="https://avatars2.githubusercontent.com/u/24444328?v=4" width="100px;" alt=""/><br /><sub><b>Polina Olemskaia</b></sub></a><br /><a href="https://github.com/carbon-design-system/ibm-
|
188
|
+
<td align="center"><a href="http://simonfinney.dev"><img src="https://avatars2.githubusercontent.com/u/3846874?v=4" width="100px;" alt=""/><br /><sub><b>Simon Finney</b></sub></a><br /><a href="https://github.com/carbon-design-system/ibm-products/commits?author=SimonFinney" title="Code">π»</a></td>
|
189
|
+
<td align="center"><a href="https://github.com/polinaouk"><img src="https://avatars2.githubusercontent.com/u/24444328?v=4" width="100px;" alt=""/><br /><sub><b>Polina Olemskaia</b></sub></a><br /><a href="https://github.com/carbon-design-system/ibm-products/commits?author=polinaouk" title="Code">π»</a></td>
|
190
190
|
</tr>
|
191
191
|
</table>
|
192
192
|
|
@@ -203,6 +203,6 @@ In order to gather usage information for these components we use
|
|
203
203
|
## π License
|
204
204
|
|
205
205
|
Licensed under the
|
206
|
-
[Apache-2.0 License](https://github.com/carbon-design-system/ibm-
|
206
|
+
[Apache-2.0 License](https://github.com/carbon-design-system/ibm-products/blob/master/LICENSE).
|
207
207
|
|
208
208
|
[![This site is powered by Netlify](https://www.netlify.com/img/global/badges/netlify-color-accent.svg)](https://www.netlify.com)
|
@@ -21474,11 +21474,6 @@ button.c4p--add-select__global-filter-toggle--open {
|
|
21474
21474
|
width: 100%;
|
21475
21475
|
}
|
21476
21476
|
|
21477
|
-
.bx--body--with-modal-open .c4p--datagrid__grid-container {
|
21478
|
-
overflow: hidden;
|
21479
|
-
height: 100vh;
|
21480
|
-
}
|
21481
|
-
|
21482
21477
|
.bx--overflow-menu.c4p--datagrid__toolbar-menu__trigger {
|
21483
21478
|
flex-shrink: 0;
|
21484
21479
|
background-color: var(--cds-interactive-01, #0f62fe);
|