@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.
Files changed (52) hide show
  1. package/README.md +15 -15
  2. package/css/index-full-carbon.css +0 -5
  3. package/css/index-full-carbon.css.map +1 -1
  4. package/css/index-full-carbon.min.css +1 -1
  5. package/css/index-full-carbon.min.css.map +1 -1
  6. package/css/index-without-carbon.css +0 -5
  7. package/css/index-without-carbon.css.map +1 -1
  8. package/css/index-without-carbon.min.css +1 -1
  9. package/css/index-without-carbon.min.css.map +1 -1
  10. package/css/index.css +0 -5
  11. package/css/index.css.map +1 -1
  12. package/css/index.min.css +1 -1
  13. package/css/index.min.css.map +1 -1
  14. package/es/components/AboutModal/AboutModal.js +1 -3
  15. package/es/components/ActionBar/ActionBar.js +4 -6
  16. package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +2 -6
  17. package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +3 -9
  18. package/es/components/Datagrid/Datagrid/DatagridVirtualBody.js +1 -3
  19. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +35 -36
  20. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +22 -26
  21. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/index.js +0 -1
  22. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +50 -17
  23. package/es/components/Datagrid/useFiltering.js +1 -1
  24. package/es/components/Datagrid/useStickyColumn.js +10 -3
  25. package/es/components/Datagrid/utils/makeData.js +1 -1
  26. package/es/components/PageHeader/PageHeader.js +2 -6
  27. package/es/components/SidePanel/SidePanel.js +1 -3
  28. package/es/components/TagSet/TagSet.js +2 -6
  29. package/es/global/js/hooks/useResizeObserver.js +14 -28
  30. package/es/global/js/utils/story-helper.js +1 -1
  31. package/lib/components/AboutModal/AboutModal.js +1 -3
  32. package/lib/components/ActionBar/ActionBar.js +4 -6
  33. package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +2 -6
  34. package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +3 -9
  35. package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +1 -3
  36. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +33 -35
  37. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +22 -26
  38. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/index.js +0 -7
  39. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +48 -15
  40. package/lib/components/Datagrid/useFiltering.js +1 -1
  41. package/lib/components/Datagrid/useStickyColumn.js +10 -3
  42. package/lib/components/Datagrid/utils/makeData.js +1 -1
  43. package/lib/components/PageHeader/PageHeader.js +2 -6
  44. package/lib/components/SidePanel/SidePanel.js +1 -3
  45. package/lib/components/TagSet/TagSet.js +2 -6
  46. package/lib/global/js/hooks/useResizeObserver.js +13 -27
  47. package/lib/global/js/utils/story-helper.js +1 -1
  48. package/package.json +7 -7
  49. package/scss/components/Datagrid/_storybook-styles.scss +8 -0
  50. package/scss/components/Datagrid/styles/_datagrid.scss +0 -5
  51. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useInitialStateFromFilters.js +0 -21
  52. 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-cloud-cognitive/blob/master/LICENSE)
13
- [![Build status](https://github.com/carbon-design-system/ibm-cloud-cognitive/actions/workflows/ci.yml/badge.svg)](https://github.com/carbon-design-system/ibm-cloud-cognitive/actions/workflows/ci.yml)
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-cloud-cognitive)](https://lerna.js.org)
16
- [![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen)](https://github.com/carbon-design-system/ibm-cloud-cognitive/blob/master/.github/CONTRIBUTING.md)
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://carbon-for-ibm-products.netlify.app).
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-cloud-cognitive/issues/2378#issuecomment-1319276192)).
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-cloud-cognitive if you wish to install individual
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-cloud-cognitive).
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-cloud-cognitive/blob/master/.github/CONTRIBUTING.md)
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-cloud-cognitive/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-cloud-cognitive/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-cloud-cognitive/commits?author=matthewgallo" title="Code">πŸ’»</a></td>
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-cloud-cognitive/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-cloud-cognitive/commits?author=polinaouk" title="Code">πŸ’»</a></td>
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-cloud-cognitive/blob/master/LICENSE).
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);