@carbon/ibm-products 2.32.0 → 2.33.0
Sign up to get free protection for your applications and to get access to all the features.
- package/css/index-full-carbon.css +56 -0
- 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 +56 -0
- 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 +56 -0
- 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/ActionBar/ActionBar.js +8 -1
- package/es/components/CreateTearsheet/CreateTearsheetDivider.d.ts +12 -1
- package/es/components/CreateTearsheet/CreateTearsheetDivider.js +1 -1
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +36 -30
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +49 -2
- package/es/components/DataSpreadsheet/hooks/useMoveActiveCell.d.ts +3 -1
- package/es/components/DataSpreadsheet/hooks/useMoveActiveCell.js +10 -3
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +5 -5
- package/es/components/Datagrid/useRowSize.js +4 -2
- package/es/components/DescriptionList/DescriptionList.d.ts +0 -37
- package/es/components/DescriptionList/DescriptionList.js +7 -12
- package/es/components/DescriptionList/DescriptionListBody.d.ts +2 -0
- package/es/components/DescriptionList/DescriptionListBody.js +39 -0
- package/es/components/DescriptionList/DescriptionListCell.d.ts +2 -0
- package/es/components/DescriptionList/DescriptionListCell.js +39 -0
- package/es/components/DescriptionList/DescriptionListRow.d.ts +2 -0
- package/es/components/DescriptionList/DescriptionListRow.js +41 -0
- package/es/components/DescriptionList/index.d.ts +4 -1
- package/es/components/FilterPanel/FilterPanel.d.ts +5 -0
- package/es/components/FilterPanel/FilterPanel.js +55 -0
- package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +5 -0
- package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +78 -0
- package/es/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.d.ts +5 -0
- package/es/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +63 -0
- package/es/components/FilterPanel/FilterPanelLabel/index.d.ts +1 -0
- package/es/components/FilterPanel/index.d.ts +3 -0
- package/es/components/SidePanel/SidePanel.js +35 -68
- package/es/components/Tearsheet/TearsheetShell.js +9 -1
- package/es/components/Toolbar/ToolbarGroup.d.ts +17 -2
- package/es/components/Toolbar/ToolbarGroup.js +0 -1
- package/es/components/index.d.ts +3 -1
- package/es/global/js/hooks/useFocus.js +9 -2
- package/es/global/js/package-settings.d.ts +7 -0
- package/es/global/js/package-settings.js +7 -0
- package/es/index.js +7 -0
- package/es/settings.d.ts +7 -0
- package/lib/components/ActionBar/ActionBar.js +11 -6
- package/lib/components/CreateTearsheet/CreateTearsheetDivider.d.ts +12 -1
- package/lib/components/CreateTearsheet/CreateTearsheetDivider.js +1 -1
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +36 -30
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +49 -2
- package/lib/components/DataSpreadsheet/hooks/useMoveActiveCell.d.ts +3 -1
- package/lib/components/DataSpreadsheet/hooks/useMoveActiveCell.js +9 -2
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +5 -5
- package/lib/components/Datagrid/useRowSize.js +4 -2
- package/lib/components/DescriptionList/DescriptionList.d.ts +0 -37
- package/lib/components/DescriptionList/DescriptionList.js +6 -11
- package/lib/components/DescriptionList/DescriptionListBody.d.ts +2 -0
- package/lib/components/DescriptionList/DescriptionListBody.js +46 -0
- package/lib/components/DescriptionList/DescriptionListCell.d.ts +2 -0
- package/lib/components/DescriptionList/DescriptionListCell.js +46 -0
- package/lib/components/DescriptionList/DescriptionListRow.d.ts +2 -0
- package/lib/components/DescriptionList/DescriptionListRow.js +48 -0
- package/lib/components/DescriptionList/index.d.ts +4 -1
- package/lib/components/FilterPanel/FilterPanel.d.ts +5 -0
- package/lib/components/FilterPanel/FilterPanel.js +62 -0
- package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +5 -0
- package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +85 -0
- package/lib/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.d.ts +5 -0
- package/lib/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +70 -0
- package/lib/components/FilterPanel/FilterPanelLabel/index.d.ts +1 -0
- package/lib/components/FilterPanel/index.d.ts +3 -0
- package/lib/components/SidePanel/SidePanel.js +35 -68
- package/lib/components/Tearsheet/TearsheetShell.js +9 -1
- package/lib/components/Toolbar/ToolbarGroup.d.ts +17 -2
- package/lib/components/Toolbar/ToolbarGroup.js +0 -1
- package/lib/components/index.d.ts +3 -1
- package/lib/global/js/hooks/useFocus.js +9 -2
- package/lib/global/js/package-settings.d.ts +7 -0
- package/lib/global/js/package-settings.js +7 -0
- package/lib/index.js +35 -0
- package/lib/settings.d.ts +7 -0
- package/package.json +3 -3
- package/scss/components/FilterPanel/_carbon-imports.scss +9 -0
- package/scss/components/FilterPanel/_filter-panel-checkbox.scss +32 -0
- package/scss/components/FilterPanel/_filter-panel-label.scss +47 -0
- package/scss/components/FilterPanel/_filter-panel.scss +29 -0
- package/scss/components/FilterPanel/_index-with-carbon.scss +11 -0
- package/scss/components/FilterPanel/_index.scss +10 -0
- package/scss/components/_index-with-carbon.scss +1 -0
- package/scss/components/_index.scss +1 -0
@@ -0,0 +1,47 @@
|
|
1
|
+
//
|
2
|
+
// Copyright IBM Corp. 2024, 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
|
+
//
|
7
|
+
|
8
|
+
/* stylelint-disable max-nesting-depth */
|
9
|
+
|
10
|
+
// Standard imports.
|
11
|
+
@use '../../global/styles/project-settings' as c4p-settings;
|
12
|
+
@use '../../global/styles/mixins';
|
13
|
+
|
14
|
+
@use '@carbon/styles/scss/spacing' as *;
|
15
|
+
@use '@carbon/styles/scss/theme' as *;
|
16
|
+
@use '@carbon/styles/scss/type';
|
17
|
+
|
18
|
+
// FilterPanel uses the following Carbon for IBM Products components:
|
19
|
+
// TODO: @use(s) of IBM Products component styles used by FilterPanel
|
20
|
+
|
21
|
+
// The block part of our conventional BEM class names (blockClass__E--M).
|
22
|
+
$block-class: #{c4p-settings.$pkg-prefix}--filter-panel-label;
|
23
|
+
|
24
|
+
.#{$block-class} {
|
25
|
+
display: flex;
|
26
|
+
align-items: center;
|
27
|
+
}
|
28
|
+
|
29
|
+
.#{$block-class}__text {
|
30
|
+
overflow: hidden;
|
31
|
+
flex: 1 1;
|
32
|
+
text-overflow: ellipsis;
|
33
|
+
white-space: nowrap;
|
34
|
+
}
|
35
|
+
|
36
|
+
.#{$block-class}__count {
|
37
|
+
margin-left: $spacing-04;
|
38
|
+
color: $text-secondary;
|
39
|
+
}
|
40
|
+
|
41
|
+
// Surround the value with parentheses.
|
42
|
+
.#{$block-class}__count::before {
|
43
|
+
content: '(';
|
44
|
+
}
|
45
|
+
.#{$block-class}__count::after {
|
46
|
+
content: ')';
|
47
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
//
|
2
|
+
// Copyright IBM Corp. 2024, 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
|
+
//
|
7
|
+
|
8
|
+
/* stylelint-disable max-nesting-depth */
|
9
|
+
|
10
|
+
// Standard imports.
|
11
|
+
@use '../../global/styles/project-settings' as c4p-settings;
|
12
|
+
@use '../../global/styles/mixins';
|
13
|
+
|
14
|
+
@use '@carbon/styles/scss/spacing' as *;
|
15
|
+
@use '@carbon/styles/scss/theme' as *;
|
16
|
+
@use '@carbon/styles/scss/type';
|
17
|
+
|
18
|
+
// FilterPanel uses the following Carbon for IBM Products components:
|
19
|
+
// TODO: @use(s) of IBM Products component styles used by FilterPanel
|
20
|
+
|
21
|
+
// The block part of our conventional BEM class names (blockClass__E--M).
|
22
|
+
$block-class: #{c4p-settings.$pkg-prefix}--filter-panel;
|
23
|
+
|
24
|
+
.#{$block-class}__title {
|
25
|
+
@include type.type-style('body-compact-01');
|
26
|
+
|
27
|
+
margin-top: $spacing-04;
|
28
|
+
margin-bottom: $spacing-04;
|
29
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
//
|
2
|
+
// Copyright IBM Corp. 2024, 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
|
+
//
|
7
|
+
|
8
|
+
@use './carbon-imports';
|
9
|
+
@use './filter-panel';
|
10
|
+
@use './filter-panel-checkbox';
|
11
|
+
@use './filter-panel-label';
|
@@ -0,0 +1,10 @@
|
|
1
|
+
//
|
2
|
+
// Copyright IBM Corp. 2024, 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
|
+
//
|
7
|
+
|
8
|
+
@use './filter-panel';
|
9
|
+
@use './filter-panel-checkbox';
|
10
|
+
@use './filter-panel-label';
|