@carbon/ibm-products 2.33.0 → 2.35.0
Sign up to get free protection for your applications and to get access to all the features.
- package/css/index-full-carbon.css +31990 -32061
- 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-released-only.css +38 -17
- package/css/index-without-carbon-released-only.css.map +1 -1
- package/css/index-without-carbon-released-only.min.css +1 -1
- package/css/index-without-carbon-released-only.min.css.map +1 -1
- package/css/index-without-carbon.css +636 -24096
- 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 +2342 -17830
- 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/ActionSet/ActionSet.d.ts +38 -2
- package/es/components/ActionSet/ActionSet.js +3 -5
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilder.d.ts +5 -0
- package/es/components/ConditionBuilder/ConditionBuilder.js +125 -0
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +10 -0
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +92 -0
- package/es/components/ConditionBuilder/ConditionBuilderContext/DataTreeContext.d.ts +38 -0
- package/es/components/ConditionBuilder/ConditionBuilderContext/DataTreeContext.js +88 -0
- package/es/components/ConditionBuilder/assets/sampleInput.d.ts +58 -0
- package/es/components/ConditionBuilder/index.d.ts +1 -0
- package/es/components/CreateFullPage/CreateFullPage.js +3 -19
- package/es/components/CreateFullPage/CreateFullPageStep.js +22 -7
- package/es/components/CreateSidePanel/CreateSidePanel.d.ts +81 -2
- package/es/components/CreateSidePanel/CreateSidePanel.js +5 -2
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +82 -2
- package/es/components/DataSpreadsheet/DataSpreadsheet.js +5 -117
- package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +12 -111
- package/es/components/DataSpreadsheet/utils/commonEventHandlers.d.ts +4 -0
- package/es/components/DataSpreadsheet/utils/commonEventHandlers.js +304 -0
- package/es/components/Datagrid/Datagrid/DatagridContent.js +2 -1
- package/es/components/Datagrid/Datagrid/DatagridEmptyBody.js +4 -1
- package/es/components/Datagrid/Datagrid/DatagridRefBody.js +3 -1
- package/es/components/Datagrid/Datagrid/DatagridSimpleBody.js +4 -1
- package/es/components/Datagrid/Datagrid/DatagridVirtualBody.js +6 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +1 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +4 -0
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +4 -3
- package/es/components/Datagrid/Datagrid/addons/stateReducer.js +2 -1
- package/es/components/Datagrid/useEditableCell.js +15 -0
- package/es/components/DelimitedList/DelimitedList.d.ts +27 -2
- package/es/components/DelimitedList/DelimitedList.js +0 -1
- package/es/components/EditInPlace/EditInPlace.d.ts +97 -5
- package/es/components/EditInPlace/EditInPlace.js +10 -6
- package/es/components/EditSidePanel/EditSidePanel.d.ts +92 -2
- package/es/components/EditSidePanel/EditSidePanel.js +8 -10
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +61 -2
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -3
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +61 -2
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -2
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +61 -2
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -3
- package/es/components/ExportModal/ExportModal.d.ts +110 -2
- package/es/components/ExportModal/ExportModal.js +10 -4
- package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +5 -0
- package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +83 -0
- package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +5 -0
- package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +94 -0
- package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +5 -0
- package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +8 -10
- package/es/components/FilterPanel/FilterPanelCheckbox/index.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +10 -0
- package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +157 -0
- package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +5 -0
- package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +72 -0
- package/es/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +2 -2
- package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +5 -0
- package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +92 -0
- package/es/components/FilterPanel/index.d.ts +5 -0
- package/es/components/HTTPErrors/HTTPError403/HTTPError403.d.ts +40 -2
- package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.d.ts +40 -2
- package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
- package/es/components/ImportModal/ImportModal.d.ts +136 -2
- package/es/components/ImportModal/ImportModal.js +3 -2
- package/es/components/InlineTip/InlineTip.d.ts +90 -2
- package/es/components/InlineTip/InlineTip.js +3 -2
- package/es/components/Nav/Nav.js +1 -1
- package/es/components/Nav/NavList.js +7 -7
- package/es/components/NotificationsPanel/NotificationsPanel.js +1 -1
- package/es/components/OptionsTile/OptionsTile.d.ts +77 -3
- package/es/components/OptionsTile/OptionsTile.js +9 -20
- package/es/components/PageHeader/PageHeader.js +3 -3
- package/es/components/PageHeader/PageHeaderUtils.d.ts +1 -1
- package/es/components/PageHeader/PageHeaderUtils.js +4 -3
- package/es/components/RemoveModal/RemoveModal.d.ts +81 -7
- package/es/components/RemoveModal/RemoveModal.js +1 -0
- package/es/components/ScrollGradient/ScrollGradient.d.ts +5 -0
- package/es/components/ScrollGradient/ScrollGradient.js +156 -0
- package/es/components/ScrollGradient/constants.d.ts +15 -0
- package/es/components/ScrollGradient/constants.js +121 -0
- package/es/components/ScrollGradient/index.d.ts +1 -0
- package/es/components/SidePanel/SidePanel.d.ts +144 -2
- package/es/components/SidePanel/SidePanel.js +100 -75
- package/es/components/StatusIcon/StatusIcon.d.ts +34 -2
- package/es/components/StatusIcon/StatusIcon.js +97 -95
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +23 -2
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +6 -5
- package/es/components/TagOverflow/TagOverflow.d.ts +5 -0
- package/es/components/TagOverflow/TagOverflow.js +209 -0
- package/es/components/TagOverflow/constants.d.ts +14 -0
- package/es/components/TagOverflow/constants.js +30 -0
- package/es/components/TagOverflow/index.d.ts +1 -0
- package/es/components/Tearsheet/TearsheetNarrow.d.ts +105 -6
- package/es/components/Tearsheet/TearsheetNarrow.js +6 -1
- package/es/components/Toolbar/Toolbar.d.ts +23 -5
- package/es/components/Toolbar/Toolbar.js +30 -26
- package/es/components/TruncatedList/TruncatedList.js +5 -3
- package/es/components/UserAvatar/UserAvatar.js +7 -4
- package/es/components/index.d.ts +5 -2
- package/es/global/js/package-settings.d.ts +8 -0
- package/es/global/js/package-settings.js +8 -0
- package/es/index.js +9 -0
- package/es/settings.d.ts +8 -0
- package/lib/components/ActionSet/ActionSet.d.ts +38 -2
- package/lib/components/ActionSet/ActionSet.js +3 -5
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilder.d.ts +5 -0
- package/lib/components/ConditionBuilder/ConditionBuilder.js +132 -0
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +10 -0
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +100 -0
- package/lib/components/ConditionBuilder/ConditionBuilderContext/DataTreeContext.d.ts +38 -0
- package/lib/components/ConditionBuilder/ConditionBuilderContext/DataTreeContext.js +98 -0
- package/lib/components/ConditionBuilder/assets/sampleInput.d.ts +58 -0
- package/lib/components/ConditionBuilder/index.d.ts +1 -0
- package/lib/components/CreateFullPage/CreateFullPage.js +2 -18
- package/lib/components/CreateFullPage/CreateFullPageStep.js +20 -5
- package/lib/components/CreateSidePanel/CreateSidePanel.d.ts +81 -2
- package/lib/components/CreateSidePanel/CreateSidePanel.js +5 -2
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +82 -2
- package/lib/components/DataSpreadsheet/DataSpreadsheet.js +5 -117
- package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +12 -111
- package/lib/components/DataSpreadsheet/utils/commonEventHandlers.d.ts +4 -0
- package/lib/components/DataSpreadsheet/utils/commonEventHandlers.js +311 -0
- package/lib/components/Datagrid/Datagrid/DatagridContent.js +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +4 -1
- package/lib/components/Datagrid/Datagrid/DatagridRefBody.js +3 -1
- package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.js +4 -1
- package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +5 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +1 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +4 -0
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +4 -3
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +2 -1
- package/lib/components/Datagrid/useEditableCell.js +19 -0
- package/lib/components/DelimitedList/DelimitedList.d.ts +27 -2
- package/lib/components/DelimitedList/DelimitedList.js +0 -1
- package/lib/components/EditInPlace/EditInPlace.d.ts +97 -5
- package/lib/components/EditInPlace/EditInPlace.js +10 -6
- package/lib/components/EditSidePanel/EditSidePanel.d.ts +92 -2
- package/lib/components/EditSidePanel/EditSidePanel.js +8 -10
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +61 -2
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -3
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +61 -2
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -2
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +61 -2
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -3
- package/lib/components/ExportModal/ExportModal.d.ts +110 -2
- package/lib/components/ExportModal/ExportModal.js +10 -4
- package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +5 -0
- package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +90 -0
- package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +5 -0
- package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +101 -0
- package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +5 -0
- package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +8 -10
- package/lib/components/FilterPanel/FilterPanelCheckbox/index.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +10 -0
- package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +164 -0
- package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +5 -0
- package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +79 -0
- package/lib/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +2 -2
- package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +5 -0
- package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +99 -0
- package/lib/components/FilterPanel/index.d.ts +5 -0
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.d.ts +40 -2
- package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.d.ts +40 -2
- package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
- package/lib/components/ImportModal/ImportModal.d.ts +136 -2
- package/lib/components/ImportModal/ImportModal.js +3 -2
- package/lib/components/InlineTip/InlineTip.d.ts +90 -2
- package/lib/components/InlineTip/InlineTip.js +3 -2
- package/lib/components/Nav/Nav.js +1 -1
- package/lib/components/Nav/NavList.js +7 -7
- package/lib/components/NotificationsPanel/NotificationsPanel.js +1 -1
- package/lib/components/OptionsTile/OptionsTile.d.ts +77 -3
- package/lib/components/OptionsTile/OptionsTile.js +9 -20
- package/lib/components/PageHeader/PageHeader.js +3 -3
- package/lib/components/PageHeader/PageHeaderUtils.d.ts +1 -1
- package/lib/components/PageHeader/PageHeaderUtils.js +4 -3
- package/lib/components/RemoveModal/RemoveModal.d.ts +81 -7
- package/lib/components/RemoveModal/RemoveModal.js +1 -0
- package/lib/components/ScrollGradient/ScrollGradient.d.ts +5 -0
- package/lib/components/ScrollGradient/ScrollGradient.js +163 -0
- package/lib/components/ScrollGradient/constants.d.ts +15 -0
- package/lib/components/ScrollGradient/constants.js +128 -0
- package/lib/components/ScrollGradient/index.d.ts +1 -0
- package/lib/components/SidePanel/SidePanel.d.ts +144 -2
- package/lib/components/SidePanel/SidePanel.js +100 -75
- package/lib/components/StatusIcon/StatusIcon.d.ts +34 -2
- package/lib/components/StatusIcon/StatusIcon.js +97 -95
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +23 -2
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +6 -5
- package/lib/components/TagOverflow/TagOverflow.d.ts +5 -0
- package/lib/components/TagOverflow/TagOverflow.js +216 -0
- package/lib/components/TagOverflow/constants.d.ts +14 -0
- package/lib/components/TagOverflow/constants.js +34 -0
- package/lib/components/TagOverflow/index.d.ts +1 -0
- package/lib/components/Tearsheet/TearsheetNarrow.d.ts +105 -6
- package/lib/components/Tearsheet/TearsheetNarrow.js +6 -1
- package/lib/components/Toolbar/Toolbar.d.ts +23 -5
- package/lib/components/Toolbar/Toolbar.js +30 -26
- package/lib/components/TruncatedList/TruncatedList.js +5 -3
- package/lib/components/UserAvatar/UserAvatar.js +7 -4
- package/lib/components/index.d.ts +5 -2
- package/lib/global/js/package-settings.d.ts +8 -0
- package/lib/global/js/package-settings.js +8 -0
- package/lib/index.js +42 -0
- package/lib/settings.d.ts +8 -0
- package/package.json +3 -3
- package/scss/components/Coachmark/_coachmark-dragbar.scss +0 -1
- package/scss/components/Coachmark/_coachmark-tagline.scss +2 -2
- package/scss/components/ConditionBuilder/_carbon-imports.scss +9 -0
- package/scss/components/ConditionBuilder/_condition-builder.scss +25 -0
- package/scss/components/ConditionBuilder/_index-with-carbon.scss +9 -0
- package/scss/components/ConditionBuilder/_index.scss +8 -0
- package/scss/components/CreateFullPage/_create-full-page.scss +10 -10
- package/scss/components/Datagrid/styles/_useNestedRows.scss +5 -1
- package/scss/components/FilterPanel/_carbon-imports.scss +5 -0
- package/scss/components/FilterPanel/_filter-panel-accordion-item.scss +54 -0
- package/scss/components/FilterPanel/_filter-panel-accordion.scss +6 -0
- package/scss/components/FilterPanel/_filter-panel-checkbox-with-overflow.scss +60 -0
- package/scss/components/FilterPanel/_filter-panel-checkbox.scss +24 -3
- package/scss/components/FilterPanel/_filter-panel-group.scss +39 -0
- package/scss/components/FilterPanel/_filter-panel-label.scss +0 -8
- package/scss/components/FilterPanel/_filter-panel-search.scss +38 -0
- package/scss/components/FilterPanel/_filter-panel.scss +2 -0
- package/scss/components/FilterPanel/_index-with-carbon.scss +5 -0
- package/scss/components/FilterPanel/_index.scss +5 -0
- package/scss/components/Guidebanner/_guidebanner.scss +1 -1
- package/scss/components/InlineTip/_inline-tip.scss +1 -1
- package/scss/components/ProductiveCard/_productive-card.scss +13 -0
- package/scss/components/ScrollGradient/_carbon-imports.scss +9 -0
- package/scss/components/ScrollGradient/_index-with-carbon.scss +9 -0
- package/scss/components/ScrollGradient/_index.scss +8 -0
- package/scss/components/ScrollGradient/_scroll-gradient.scss +102 -0
- package/scss/components/SidePanel/_side-panel.scss +9 -9
- package/scss/components/TagOverflow/_carbon-imports.scss +9 -0
- package/scss/components/TagOverflow/_index-with-carbon.scss +9 -0
- package/scss/components/TagOverflow/_index.scss +8 -0
- package/scss/components/TagOverflow/_tag-overflow.scss +55 -0
- package/scss/components/Tearsheet/_tearsheet.scss +10 -0
- package/scss/components/UserAvatar/_user-avatar.scss +38 -4
- package/scss/components/_index-with-carbon.scss +3 -0
- package/scss/components/_index.scss +3 -0
package/lib/index.js
CHANGED
@@ -82,6 +82,7 @@ var useInlineEdit = require('./components/Datagrid/useInlineEdit.js');
|
|
82
82
|
var useFiltering = require('./components/Datagrid/useFiltering.js');
|
83
83
|
var getAutoSizedColumnWidth = require('./components/Datagrid/utils/getAutoSizedColumnWidth.js');
|
84
84
|
var useFilterContext = require('./components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js');
|
85
|
+
var useEditableCell = require('./components/Datagrid/useEditableCell.js');
|
85
86
|
var EditTearsheet = require('./components/EditTearsheet/EditTearsheet.js');
|
86
87
|
var EditTearsheetForm = require('./components/EditTearsheet/EditTearsheetForm.js');
|
87
88
|
var EditTearsheetNarrow = require('./components/EditTearsheetNarrow/EditTearsheetNarrow.js');
|
@@ -122,11 +123,19 @@ var SearchBar = require('./components/SearchBar/SearchBar.js');
|
|
122
123
|
var Nav = require('./components/Nav/Nav.js');
|
123
124
|
var StringFormatter = require('./components/StringFormatter/StringFormatter.js');
|
124
125
|
var UserAvatar = require('./components/UserAvatar/UserAvatar.js');
|
126
|
+
var ScrollGradient = require('./components/ScrollGradient/ScrollGradient.js');
|
125
127
|
var StatusIndicator = require('./components/StatusIndicator/StatusIndicator.js');
|
128
|
+
var TagOverflow = require('./components/TagOverflow/TagOverflow.js');
|
126
129
|
var ActionBar = require('./components/ActionBar/ActionBar.js');
|
127
130
|
var FilterPanel = require('./components/FilterPanel/FilterPanel.js');
|
131
|
+
var FilterPanelAccordion = require('./components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js');
|
132
|
+
var FilterPanelAccordionItem = require('./components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js');
|
128
133
|
var FilterPanelCheckbox = require('./components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js');
|
134
|
+
var FilterPanelCheckboxWithOverflow = require('./components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js');
|
135
|
+
var FilterPanelGroup = require('./components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js');
|
129
136
|
var FilterPanelLabel = require('./components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js');
|
137
|
+
var FilterPanelSearch = require('./components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js');
|
138
|
+
var ConditionBuilder = require('./components/ConditionBuilder/ConditionBuilder.js');
|
130
139
|
|
131
140
|
|
132
141
|
|
@@ -354,6 +363,7 @@ exports.useInlineEdit = useInlineEdit["default"];
|
|
354
363
|
exports.useFiltering = useFiltering["default"];
|
355
364
|
exports.getAutoSizedColumnWidth = getAutoSizedColumnWidth.getAutoSizedColumnWidth;
|
356
365
|
exports.useFilterContext = useFilterContext["default"];
|
366
|
+
exports.useEditableCell = useEditableCell["default"];
|
357
367
|
Object.defineProperty(exports, 'EditTearsheet', {
|
358
368
|
enumerable: true,
|
359
369
|
get: function () { return EditTearsheet.EditTearsheet; }
|
@@ -514,10 +524,18 @@ Object.defineProperty(exports, 'UserAvatar', {
|
|
514
524
|
enumerable: true,
|
515
525
|
get: function () { return UserAvatar.UserAvatar; }
|
516
526
|
});
|
527
|
+
Object.defineProperty(exports, 'ScrollGradient', {
|
528
|
+
enumerable: true,
|
529
|
+
get: function () { return ScrollGradient.ScrollGradient; }
|
530
|
+
});
|
517
531
|
Object.defineProperty(exports, 'StatusIndicator', {
|
518
532
|
enumerable: true,
|
519
533
|
get: function () { return StatusIndicator.StatusIndicator; }
|
520
534
|
});
|
535
|
+
Object.defineProperty(exports, 'TagOverflow', {
|
536
|
+
enumerable: true,
|
537
|
+
get: function () { return TagOverflow.TagOverflow; }
|
538
|
+
});
|
521
539
|
Object.defineProperty(exports, 'ActionBar', {
|
522
540
|
enumerable: true,
|
523
541
|
get: function () { return ActionBar.ActionBar; }
|
@@ -526,11 +544,35 @@ Object.defineProperty(exports, 'FilterPanel', {
|
|
526
544
|
enumerable: true,
|
527
545
|
get: function () { return FilterPanel.FilterPanel; }
|
528
546
|
});
|
547
|
+
Object.defineProperty(exports, 'FilterPanelAccordion', {
|
548
|
+
enumerable: true,
|
549
|
+
get: function () { return FilterPanelAccordion.FilterPanelAccordion; }
|
550
|
+
});
|
551
|
+
Object.defineProperty(exports, 'FilterPanelAccordionItem', {
|
552
|
+
enumerable: true,
|
553
|
+
get: function () { return FilterPanelAccordionItem.FilterPanelAccordionItem; }
|
554
|
+
});
|
529
555
|
Object.defineProperty(exports, 'FilterPanelCheckbox', {
|
530
556
|
enumerable: true,
|
531
557
|
get: function () { return FilterPanelCheckbox.FilterPanelCheckbox; }
|
532
558
|
});
|
559
|
+
Object.defineProperty(exports, 'FilterPanelCheckboxWithOverflow', {
|
560
|
+
enumerable: true,
|
561
|
+
get: function () { return FilterPanelCheckboxWithOverflow.FilterPanelCheckboxWithOverflow; }
|
562
|
+
});
|
563
|
+
Object.defineProperty(exports, 'FilterPanelGroup', {
|
564
|
+
enumerable: true,
|
565
|
+
get: function () { return FilterPanelGroup.FilterPanelGroup; }
|
566
|
+
});
|
533
567
|
Object.defineProperty(exports, 'FilterPanelLabel', {
|
534
568
|
enumerable: true,
|
535
569
|
get: function () { return FilterPanelLabel.FilterPanelLabel; }
|
536
570
|
});
|
571
|
+
Object.defineProperty(exports, 'FilterPanelSearch', {
|
572
|
+
enumerable: true,
|
573
|
+
get: function () { return FilterPanelSearch.FilterPanelSearch; }
|
574
|
+
});
|
575
|
+
Object.defineProperty(exports, 'ConditionBuilder', {
|
576
|
+
enumerable: true,
|
577
|
+
get: function () { return ConditionBuilder.ConditionBuilder; }
|
578
|
+
});
|
package/lib/settings.d.ts
CHANGED
@@ -66,13 +66,21 @@ export const pkg: {
|
|
66
66
|
TruncatedList: boolean;
|
67
67
|
DelimitedList: boolean;
|
68
68
|
FullPageError: boolean;
|
69
|
+
ScrollGradient: boolean;
|
69
70
|
StringFormatter: boolean;
|
70
71
|
StatusIndicator: boolean;
|
71
72
|
StatusIndicatorStep: boolean;
|
73
|
+
TagOverflow: boolean;
|
72
74
|
ActionBar: boolean;
|
73
75
|
FilterPanel: boolean;
|
76
|
+
FilterPanelAccordion: boolean;
|
77
|
+
FilterPanelAccordionItem: boolean;
|
74
78
|
FilterPanelCheckbox: boolean;
|
79
|
+
FilterPanelCheckboxWithOverflow: boolean;
|
80
|
+
FilterPanelGroup: boolean;
|
75
81
|
FilterPanelLabel: boolean;
|
82
|
+
FilterPanelSearch: boolean;
|
83
|
+
ConditionBuilder: boolean;
|
76
84
|
Coachmark: boolean;
|
77
85
|
CoachmarkBeacon: boolean;
|
78
86
|
CoachmarkButton: boolean;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@carbon/ibm-products",
|
3
3
|
"description": "Carbon for IBM Products",
|
4
|
-
"version": "2.
|
4
|
+
"version": "2.35.0",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "lib/index.js",
|
7
7
|
"module": "es/index.js",
|
@@ -90,7 +90,7 @@
|
|
90
90
|
},
|
91
91
|
"dependencies": {
|
92
92
|
"@babel/runtime": "^7.23.9",
|
93
|
-
"@carbon/ibm-products-styles": "^2.
|
93
|
+
"@carbon/ibm-products-styles": "^2.33.0",
|
94
94
|
"@carbon/telemetry": "^0.1.0",
|
95
95
|
"@dnd-kit/core": "^6.0.8",
|
96
96
|
"@dnd-kit/modifiers": "^7.0.0",
|
@@ -114,5 +114,5 @@
|
|
114
114
|
"react": "^16.8.6 || ^17.0.1 || ^18.2.0",
|
115
115
|
"react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0"
|
116
116
|
},
|
117
|
-
"gitHead": "
|
117
|
+
"gitHead": "7a5a7cdd83c39a7f0b5c1e5baf647ebe70ab2983"
|
118
118
|
}
|
@@ -8,7 +8,6 @@
|
|
8
8
|
// Standard imports.
|
9
9
|
@use '../../global/styles/project-settings' as c4p-settings;
|
10
10
|
@use '../../global/styles/mixins';
|
11
|
-
@use '@carbon/react';
|
12
11
|
@use '@carbon/react/scss/theme' as *;
|
13
12
|
|
14
13
|
// Define all component styles in a mixin which is then exported using
|
@@ -36,7 +36,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--coachmark-tagline;
|
|
36
36
|
background: $purple-70;
|
37
37
|
background-image: linear-gradient(90deg, $blue-90 0%, $purple-70 100%);
|
38
38
|
color: $white-0 !important;
|
39
|
-
grid-template-columns: [
|
39
|
+
grid-template-columns: [cta-col] auto [close-btn-col] $spacing-08;
|
40
40
|
opacity: 1;
|
41
41
|
// stylelint-disable-next-line carbon/motion-duration-use
|
42
42
|
transition: opacity $duration-moderate-02 motion(exit, productive) 300ms;
|
@@ -86,7 +86,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--coachmark-tagline;
|
|
86
86
|
border: none;
|
87
87
|
background: transparent;
|
88
88
|
color: $white-0 !important;
|
89
|
-
grid-template-columns: [
|
89
|
+
grid-template-columns: [icon-col] $spacing-07 [body-col] auto;
|
90
90
|
text-align: left;
|
91
91
|
@include type.type-style('body-short-01');
|
92
92
|
|
@@ -0,0 +1,9 @@
|
|
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
|
+
// Import any Carbon component styles used from ConditionBuilder in this file.
|
9
|
+
// ConditionBuilder uses the following Carbon components:
|
@@ -0,0 +1,25 @@
|
|
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
|
+
// Standard imports.
|
9
|
+
@use '../../global/styles/project-settings' as c4p-settings;
|
10
|
+
@use '../../global/styles/mixins';
|
11
|
+
|
12
|
+
// Other Carbon settings if needed
|
13
|
+
// TODO: @use '@carbon/styles/scss/grid';
|
14
|
+
// or
|
15
|
+
// TODO: @use '@carbon/react/scss/grid';
|
16
|
+
|
17
|
+
// ConditionBuilder uses the following Carbon for IBM Products components:
|
18
|
+
// TODO: @use(s) of IBM Products component styles used by ConditionBuilder
|
19
|
+
|
20
|
+
// The block part of our conventional BEM class names (blockClass__E--M).
|
21
|
+
$block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
|
22
|
+
|
23
|
+
// .#{$block-class} {
|
24
|
+
// // TODO: Styles.
|
25
|
+
// }
|
@@ -21,8 +21,15 @@
|
|
21
21
|
$block-class: #{c4p-settings.$pkg-prefix}--create-full-page;
|
22
22
|
$step-block-class: #{c4p-settings.$pkg-prefix}--create-full-page__step;
|
23
23
|
|
24
|
-
.#{$block-class}
|
24
|
+
.#{$block-class} {
|
25
|
+
display: grid;
|
26
|
+
height: 100%;
|
25
27
|
color: $text-primary;
|
28
|
+
grid-template-rows: minmax(auto, 100%);
|
29
|
+
|
30
|
+
&:has(.#{$block-class}__header) {
|
31
|
+
grid-template-rows: auto minmax(auto, 100%);
|
32
|
+
}
|
26
33
|
}
|
27
34
|
|
28
35
|
.#{$block-class}
|
@@ -33,14 +40,6 @@ $step-block-class: #{c4p-settings.$pkg-prefix}--create-full-page__step;
|
|
33
40
|
margin-left: 0;
|
34
41
|
}
|
35
42
|
|
36
|
-
.#{$block-class}__header {
|
37
|
-
position: sticky;
|
38
|
-
z-index: 9;
|
39
|
-
top: 0;
|
40
|
-
right: 0;
|
41
|
-
left: 0;
|
42
|
-
}
|
43
|
-
|
44
43
|
.#{$block-class} .#{$step-block-class}__step--hidden-step {
|
45
44
|
display: none;
|
46
45
|
}
|
@@ -75,7 +74,8 @@ $step-block-class: #{c4p-settings.$pkg-prefix}--create-full-page__step;
|
|
75
74
|
|
76
75
|
.#{$block-class}__influencer-and-body-container {
|
77
76
|
display: flex;
|
78
|
-
|
77
|
+
overflow: hidden;
|
78
|
+
max-height: 100%;
|
79
79
|
padding: 0;
|
80
80
|
margin: 0;
|
81
81
|
}
|
@@ -71,7 +71,11 @@
|
|
71
71
|
.#{$block-class}__carbon-nested-row:not(
|
72
72
|
.#{$block-class}__carbon-row-expandable
|
73
73
|
)
|
74
|
-
td.#{$block-class}__cell:nth-of-type(2)
|
74
|
+
td.#{$block-class}__cell:nth-of-type(2),
|
75
|
+
.#{c4p-settings.$carbon-prefix}--data-table
|
76
|
+
.#{$block-class}__carbon-nested-row
|
77
|
+
td.#{$block-class}__cell:nth-of-type(2)
|
78
|
+
+ td {
|
75
79
|
position: relative;
|
76
80
|
}
|
77
81
|
|
@@ -7,3 +7,8 @@
|
|
7
7
|
|
8
8
|
// Import any Carbon component styles used from FilterPanel in this file.
|
9
9
|
// FilterPanel uses the following Carbon components:
|
10
|
+
@use '@carbon/react/scss/components/accordion';
|
11
|
+
@use '@carbon/react/scss/components/checkbox';
|
12
|
+
@use '@carbon/react/scss/components/list';
|
13
|
+
@use '@carbon/react/scss/components/overflow-menu';
|
14
|
+
@use '@carbon/react/scss/components/search';
|
@@ -0,0 +1,54 @@
|
|
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 function-no-unknown */
|
9
|
+
/* stylelint-disable max-nesting-depth */
|
10
|
+
|
11
|
+
// Standard imports.
|
12
|
+
@use '../../global/styles/project-settings' as c4p-settings;
|
13
|
+
@use '../../global/styles/mixins';
|
14
|
+
|
15
|
+
@use '@carbon/styles/scss/spacing' as *;
|
16
|
+
@use '@carbon/styles/scss/type';
|
17
|
+
|
18
|
+
// The block part of our conventional BEM class names (blockClass__E--M).
|
19
|
+
$block-class: #{c4p-settings.$pkg-prefix}--filter-panel-accordion-item;
|
20
|
+
$carbon: #{c4p-settings.$carbon-prefix};
|
21
|
+
|
22
|
+
// Remove top and bottom borders.
|
23
|
+
html .#{$block-class} {
|
24
|
+
border-block-start: 0;
|
25
|
+
}
|
26
|
+
html .#{$block-class}:last-child {
|
27
|
+
border-block-end: 0;
|
28
|
+
}
|
29
|
+
|
30
|
+
// Override Carbon Accordion Item styling
|
31
|
+
html .#{$block-class} .#{$carbon}--accordion__wrapper {
|
32
|
+
padding-block: 0;
|
33
|
+
}
|
34
|
+
html .#{$block-class} .#{$carbon}--accordion__heading {
|
35
|
+
min-block-size: $spacing-07;
|
36
|
+
padding-inline-end: 0;
|
37
|
+
}
|
38
|
+
html .#{$block-class} .#{$carbon}--accordion__title {
|
39
|
+
width: 100%;
|
40
|
+
// 100% - the space taken up by the expand/collapse icon.
|
41
|
+
max-width: calc(100% - $spacing-07);
|
42
|
+
margin-inline-end: 0;
|
43
|
+
}
|
44
|
+
html .#{$block-class} .#{$carbon}--accordion__content {
|
45
|
+
padding-inline-end: 0;
|
46
|
+
}
|
47
|
+
|
48
|
+
// Override Filter Panel Label
|
49
|
+
.#{$block-class} .#{c4p-settings.$pkg-prefix}--filter-panel-label__text {
|
50
|
+
@include type.type-style('body-01');
|
51
|
+
}
|
52
|
+
.#{$block-class} .#{c4p-settings.$pkg-prefix}--filter-panel-label__count {
|
53
|
+
@include type.type-style('label-01');
|
54
|
+
}
|
@@ -0,0 +1,60 @@
|
|
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 function-no-unknown */
|
9
|
+
/* stylelint-disable max-nesting-depth */
|
10
|
+
|
11
|
+
// Standard imports.
|
12
|
+
@use '../../global/styles/project-settings' as c4p-settings;
|
13
|
+
@use '../../global/styles/mixins';
|
14
|
+
|
15
|
+
@use '@carbon/styles/scss/spacing' as *;
|
16
|
+
@use '@carbon/styles/scss/theme' as *;
|
17
|
+
|
18
|
+
// The block part of our conventional BEM class names (blockClass__E--M).
|
19
|
+
$block-class: #{c4p-settings.$pkg-prefix}--filter-panel-checkbox-with-overflow;
|
20
|
+
$carbon: #{c4p-settings.$carbon-prefix};
|
21
|
+
|
22
|
+
.#{$block-class} {
|
23
|
+
position: relative;
|
24
|
+
}
|
25
|
+
.#{$block-class}--open,
|
26
|
+
.#{$block-class}:hover,
|
27
|
+
.#{$block-class}:focus-within {
|
28
|
+
background-color: $field;
|
29
|
+
}
|
30
|
+
|
31
|
+
// Position the menu button via its wrapper, not the button itself.
|
32
|
+
.#{$block-class} .#{$carbon}--overflow-menu__wrapper {
|
33
|
+
position: absolute;
|
34
|
+
top: 0;
|
35
|
+
right: 0;
|
36
|
+
}
|
37
|
+
// Size the menu button.
|
38
|
+
.#{$block-class} .#{$block-class}__overflow-button {
|
39
|
+
width: $spacing-06;
|
40
|
+
background-color: $layer;
|
41
|
+
block-size: $spacing-06;
|
42
|
+
min-block-size: $spacing-06;
|
43
|
+
}
|
44
|
+
|
45
|
+
// OverflowMenu <li>
|
46
|
+
.#{$block-class}__overflow-options .#{$carbon}--overflow-menu-options__option {
|
47
|
+
height: $spacing-06;
|
48
|
+
}
|
49
|
+
// OverflowMenu <button>
|
50
|
+
.#{$block-class}__overflow-options .#{$carbon}--overflow-menu-options__btn {
|
51
|
+
max-width: none;
|
52
|
+
justify-content: flex-end;
|
53
|
+
}
|
54
|
+
// SIZE FIX: This element is being used to "erase" the drop shadow
|
55
|
+
// created by the menu items overtop the menu button.
|
56
|
+
.#{$block-class}__overflow-options.#{$carbon}--overflow-menu-options[data-floating-menu-direction='bottom']:not(
|
57
|
+
.#{$carbon}--breadcrumb-menu-options
|
58
|
+
)::after {
|
59
|
+
inline-size: $spacing-06;
|
60
|
+
}
|
@@ -11,16 +11,37 @@
|
|
11
11
|
@use '../../global/styles/project-settings' as c4p-settings;
|
12
12
|
@use '../../global/styles/mixins';
|
13
13
|
|
14
|
+
@use '@carbon/styles/scss/spacing' as *;
|
14
15
|
@use '@carbon/styles/scss/type';
|
15
16
|
|
16
17
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
17
18
|
$block-class: #{c4p-settings.$pkg-prefix}--filter-panel-checkbox;
|
18
19
|
$label: #{c4p-settings.$pkg-prefix}--filter-panel-label;
|
20
|
+
$carbon: #{c4p-settings.$carbon-prefix};
|
19
21
|
|
20
|
-
//
|
21
|
-
|
22
|
-
.#{$block-class}
|
22
|
+
// UNDO Carbon's concept that a Checkbox is always a list item (":last-of-type").
|
23
|
+
// This also allows the TruncatedList to calculate the correct height for expanding/collapsing the list.
|
24
|
+
.#{$block-class}.#{$carbon}--form-item.#{$carbon}--checkbox-wrapper,
|
25
|
+
.#{$block-class}.#{$carbon}--form-item.#{$carbon}--checkbox-wrapper:last-of-type {
|
26
|
+
margin-block-end: 0;
|
27
|
+
}
|
28
|
+
|
29
|
+
// Surround a checkbox's count with parentheses.
|
30
|
+
.#{$block-class}
|
31
|
+
.#{c4p-settings.$pkg-prefix}--filter-panel-label__count::before {
|
32
|
+
content: '(';
|
33
|
+
}
|
34
|
+
.#{$block-class}
|
35
|
+
.#{c4p-settings.$pkg-prefix}--filter-panel-label__count::after {
|
36
|
+
content: ')';
|
37
|
+
}
|
38
|
+
|
39
|
+
.#{$block-class} .#{$carbon}--checkbox-label,
|
40
|
+
.#{$block-class} .#{$carbon}--checkbox-label-text {
|
41
|
+
// Set Carbon's Checkbox label to 100% the width of the filter panel.
|
23
42
|
width: 100%;
|
43
|
+
// Match height to the "checkbox with overflow" button.
|
44
|
+
height: $spacing-06;
|
24
45
|
}
|
25
46
|
|
26
47
|
.#{$block-class} .#{$label}__text {
|
@@ -0,0 +1,39 @@
|
|
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 function-no-unknown */
|
9
|
+
/* stylelint-disable max-nesting-depth */
|
10
|
+
|
11
|
+
// Standard imports.
|
12
|
+
@use '../../global/styles/project-settings' as c4p-settings;
|
13
|
+
@use '../../global/styles/mixins';
|
14
|
+
|
15
|
+
@use '@carbon/layout/scss/convert' as *;
|
16
|
+
@use '@carbon/styles/scss/spacing' as *;
|
17
|
+
@use '@carbon/styles/scss/theme' as *;
|
18
|
+
@use '@carbon/styles/scss/type';
|
19
|
+
|
20
|
+
// FilterPanel uses the following Carbon for IBM Products components:
|
21
|
+
// TODO: @use(s) of IBM Products component styles used by FilterPanel
|
22
|
+
|
23
|
+
// The block part of our conventional BEM class names (blockClass__E--M).
|
24
|
+
$block-class: #{c4p-settings.$pkg-prefix}--filter-panel-group;
|
25
|
+
|
26
|
+
.#{$block-class} {
|
27
|
+
padding-top: $spacing-04;
|
28
|
+
border-top: to-rem(1px) solid $border-subtle;
|
29
|
+
margin-top: $spacing-04;
|
30
|
+
margin-bottom: $spacing-04;
|
31
|
+
}
|
32
|
+
|
33
|
+
.#{$block-class}__title {
|
34
|
+
@include type.type-style('label-01');
|
35
|
+
@include type.font-weight('semibold');
|
36
|
+
|
37
|
+
margin-top: 0;
|
38
|
+
margin-bottom: $spacing-04;
|
39
|
+
}
|
@@ -37,11 +37,3 @@ $block-class: #{c4p-settings.$pkg-prefix}--filter-panel-label;
|
|
37
37
|
margin-left: $spacing-04;
|
38
38
|
color: $text-secondary;
|
39
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,38 @@
|
|
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
|
+
// Standard imports.
|
9
|
+
@use '../../global/styles/project-settings' as c4p-settings;
|
10
|
+
|
11
|
+
@use '@carbon/layout/scss/convert' as *;
|
12
|
+
@use '@carbon/styles/scss/spacing' as *;
|
13
|
+
@use '@carbon/styles/scss/theme' as *;
|
14
|
+
@use '@carbon/styles/scss/utilities';
|
15
|
+
|
16
|
+
// FilterPanel uses the following Carbon for IBM Products components:
|
17
|
+
// TODO: @use(s) of IBM Products component styles used by FilterPanel
|
18
|
+
|
19
|
+
// The block part of our conventional BEM class names (blockClass__E--M).
|
20
|
+
$block-class: #{c4p-settings.$pkg-prefix}--filter-panel-search;
|
21
|
+
|
22
|
+
.#{$block-class} {
|
23
|
+
position: relative;
|
24
|
+
margin-bottom: $spacing-05;
|
25
|
+
}
|
26
|
+
|
27
|
+
.#{$block-class}__results {
|
28
|
+
position: absolute;
|
29
|
+
z-index: utilities.z('dropdown');
|
30
|
+
top: 100%;
|
31
|
+
right: 0;
|
32
|
+
left: 0;
|
33
|
+
/* stylelint-disable-next-line function-no-unknown */
|
34
|
+
max-height: to-rem(320px);
|
35
|
+
padding: $spacing-03;
|
36
|
+
background-color: $layer;
|
37
|
+
overflow-y: auto;
|
38
|
+
}
|
@@ -17,9 +17,11 @@
|
|
17
17
|
|
18
18
|
// FilterPanel uses the following Carbon for IBM Products components:
|
19
19
|
// TODO: @use(s) of IBM Products component styles used by FilterPanel
|
20
|
+
@use '../TruncatedList';
|
20
21
|
|
21
22
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
22
23
|
$block-class: #{c4p-settings.$pkg-prefix}--filter-panel;
|
24
|
+
$carbon: #{c4p-settings.$carbon-prefix};
|
23
25
|
|
24
26
|
.#{$block-class}__title {
|
25
27
|
@include type.type-style('body-compact-01');
|
@@ -7,5 +7,10 @@
|
|
7
7
|
|
8
8
|
@use './carbon-imports';
|
9
9
|
@use './filter-panel';
|
10
|
+
@use './filter-panel-accordion';
|
11
|
+
@use './filter-panel-accordion-item';
|
10
12
|
@use './filter-panel-checkbox';
|
13
|
+
@use './filter-panel-checkbox-with-overflow';
|
14
|
+
@use './filter-panel-group';
|
11
15
|
@use './filter-panel-label';
|
16
|
+
@use './filter-panel-search';
|
@@ -6,5 +6,10 @@
|
|
6
6
|
//
|
7
7
|
|
8
8
|
@use './filter-panel';
|
9
|
+
@use './filter-panel-accordion';
|
10
|
+
@use './filter-panel-accordion-item';
|
9
11
|
@use './filter-panel-checkbox';
|
12
|
+
@use './filter-panel-checkbox-with-overflow';
|
13
|
+
@use './filter-panel-group';
|
10
14
|
@use './filter-panel-label';
|
15
|
+
@use './filter-panel-search';
|
@@ -248,7 +248,7 @@ $purple-3: #7433e3;
|
|
248
248
|
}
|
249
249
|
|
250
250
|
// Exception handling.
|
251
|
-
// If "
|
251
|
+
// If "withLeftGutter", then:
|
252
252
|
// - insert 1 rem of more "space" on the left.
|
253
253
|
// - move icon 1 rem more to the right.
|
254
254
|
.#{$block-class}__with-left-gutter .#{$block-class}__icon-idea {
|
@@ -229,7 +229,7 @@ $purple: #7f3ae7;
|
|
229
229
|
}
|
230
230
|
|
231
231
|
// Exception handling.
|
232
|
-
// If "
|
232
|
+
// If "withLeftGutter", then:
|
233
233
|
// - insert 1 rem of more "space" on the left.
|
234
234
|
// - move icon 1 rem more to the right.
|
235
235
|
.#{$block-class}__wide.#{$block-class}__with-left-gutter {
|
@@ -16,6 +16,9 @@
|
|
16
16
|
$block-class: #{c4p-settings.$pkg-prefix}--card;
|
17
17
|
|
18
18
|
.#{$block-class}__productive {
|
19
|
+
display: flex;
|
20
|
+
flex-direction: column;
|
21
|
+
|
19
22
|
.#{$block-class}__title {
|
20
23
|
@include type.type-style('heading-compact-02');
|
21
24
|
}
|
@@ -101,4 +104,14 @@ $block-class: #{c4p-settings.$pkg-prefix}--card;
|
|
101
104
|
.#{$block-class}__header-container {
|
102
105
|
align-items: flex-start;
|
103
106
|
}
|
107
|
+
|
108
|
+
.#{$block-class}__content-container {
|
109
|
+
display: flex;
|
110
|
+
flex: 1;
|
111
|
+
flex-direction: column;
|
112
|
+
}
|
113
|
+
|
114
|
+
.#{$block-class}__header-body-container {
|
115
|
+
flex: 1;
|
116
|
+
}
|
104
117
|
}
|
@@ -0,0 +1,9 @@
|
|
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
|
+
// Import any Carbon component styles used from ScrollGradient in this file.
|
9
|
+
// ScrollGradient uses the following Carbon components:
|