@carbon/ibm-products 1.66.0 → 1.68.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.
Files changed (29) hide show
  1. package/css/index-full-carbon.css +7 -10
  2. package/css/index-full-carbon.css.map +1 -1
  3. package/css/index-full-carbon.min.css +1 -1
  4. package/css/index-full-carbon.min.css.map +1 -1
  5. package/css/index-without-carbon-released-only.css +7 -10
  6. package/css/index-without-carbon-released-only.css.map +1 -1
  7. package/css/index-without-carbon-released-only.min.css +1 -1
  8. package/css/index-without-carbon-released-only.min.css.map +1 -1
  9. package/css/index-without-carbon.css +7 -10
  10. package/css/index-without-carbon.css.map +1 -1
  11. package/css/index-without-carbon.min.css +1 -1
  12. package/css/index-without-carbon.min.css.map +1 -1
  13. package/css/index.css +7 -10
  14. package/css/index.css.map +1 -1
  15. package/css/index.min.css +1 -1
  16. package/css/index.min.css.map +1 -1
  17. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +50 -8
  18. package/es/components/Datagrid/Datagrid/addons/Filtering/motion/variants.js +10 -7
  19. package/es/components/Datagrid/useNestedRows.js +50 -33
  20. package/es/components/Datagrid/useOnRowClick.js +1 -1
  21. package/es/components/index.js +1 -0
  22. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +49 -7
  23. package/lib/components/Datagrid/Datagrid/addons/Filtering/motion/variants.js +10 -7
  24. package/lib/components/Datagrid/useNestedRows.js +50 -33
  25. package/lib/components/Datagrid/useOnRowClick.js +1 -1
  26. package/lib/components/index.js +7 -0
  27. package/package.json +2 -2
  28. package/scss/components/Datagrid/styles/_datagrid.scss +3 -2
  29. package/scss/components/Datagrid/styles/addons/_FilterFlyout.scss +11 -8
@@ -1,10 +1,9 @@
1
- /*
2
- * Licensed Materials - Property of IBM
3
- * 5724-Q36
4
- * (c) Copyright IBM Corp. 2022
5
- * US Government Users Restricted Rights - Use, duplication or disclosure
6
- * restricted by GSA ADP Schedule Contract with IBM Corp.
7
- */
1
+ //
2
+ // Copyright IBM Corp. 2022, 2024
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
8
7
 
9
8
  // stylelint-disable carbon/layout-token-use
10
9
 
@@ -65,7 +64,7 @@ $action-set-height: rem(64px);
65
64
  .#{$block-class}-filter-flyout__filters {
66
65
  display: grid;
67
66
  gap: rem(16px) rem(32px);
68
- grid-template-columns: 1fr 1fr;
67
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
69
68
  }
70
69
 
71
70
  // Carbon overrides
@@ -78,3 +77,7 @@ $action-set-height: rem(64px);
78
77
  .#{$block-class}-filter-flyout .#{$carbon-prefix}--fieldset {
79
78
  margin-bottom: 0;
80
79
  }
80
+
81
+ .#{$block-class}-filter-flyout__stacked {
82
+ grid-template-columns: 1fr;
83
+ }