@carbon/ibm-products 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. package/css/index-full-carbon.css +206 -44
  2. package/css/index-full-carbon.css.map +1 -1
  3. package/css/index-full-carbon.min.css +3 -3
  4. package/css/index-without-carbon-released-only.css +31 -27
  5. package/css/index-without-carbon-released-only.css.map +1 -1
  6. package/css/index-without-carbon-released-only.min.css +3 -3
  7. package/css/index-without-carbon.css +193 -39
  8. package/css/index-without-carbon.css.map +1 -1
  9. package/css/index-without-carbon.min.css +3 -3
  10. package/css/index.css +195 -41
  11. package/css/index.css.map +1 -1
  12. package/css/index.min.css +3 -3
  13. package/es/components/AddSelect/AddSelect.js +106 -65
  14. package/es/components/AddSelect/AddSelectBreadcrumbs.js +56 -0
  15. package/es/components/AddSelect/AddSelectList.js +94 -0
  16. package/es/components/AddSelect/AddSelectSidebar.js +46 -0
  17. package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +5 -2
  18. package/es/components/CancelableTextEdit/CancelableTextEdit.js +2 -2
  19. package/es/components/Card/Card.js +6 -4
  20. package/es/components/InlineEdit/InlineEdit.js +223 -74
  21. package/es/components/NotificationsPanel/NotificationsPanel.js +16 -3
  22. package/es/components/PageHeader/PageHeader.js +7 -4
  23. package/es/components/PageHeader/PageHeaderTitle.js +10 -6
  24. package/es/components/SidePanel/SidePanel.js +32 -15
  25. package/es/components/WebTerminal/WebTerminal.js +1 -1
  26. package/es/settings.js +0 -5
  27. package/lib/components/AddSelect/AddSelect.js +110 -65
  28. package/lib/components/AddSelect/AddSelectBreadcrumbs.js +71 -0
  29. package/lib/components/AddSelect/AddSelectList.js +112 -0
  30. package/lib/components/AddSelect/AddSelectSidebar.js +63 -0
  31. package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +5 -2
  32. package/lib/components/CancelableTextEdit/CancelableTextEdit.js +1 -1
  33. package/lib/components/Card/Card.js +6 -4
  34. package/lib/components/InlineEdit/InlineEdit.js +219 -72
  35. package/lib/components/NotificationsPanel/NotificationsPanel.js +13 -1
  36. package/lib/components/PageHeader/PageHeader.js +7 -4
  37. package/lib/components/PageHeader/PageHeaderTitle.js +10 -6
  38. package/lib/components/SidePanel/SidePanel.js +32 -15
  39. package/lib/components/WebTerminal/WebTerminal.js +1 -1
  40. package/lib/settings.js +0 -6
  41. package/package.json +12 -12
  42. package/scss/components/AddSelect/_add-select.scss +24 -0
  43. package/scss/components/BreadcrumbWithOverflow/_index.scss +1 -1
  44. package/scss/components/CancelableTextEdit/_cancelable-text-edit.scss +1 -0
  45. package/scss/components/CreateInfluencer/_create-influencer.scss +4 -4
  46. package/scss/components/CreateTearsheet/_create-tearsheet.scss +2 -2
  47. package/scss/components/InlineEdit/_inline-edit.scss +210 -9
  48. package/scss/components/InlineEdit/_storybook-styles.scss +13 -0
  49. package/scss/components/NotificationsPanel/_notifications-panel.scss +2 -2
  50. package/scss/components/PageHeader/_index.scss +1 -1
  51. package/scss/components/PageHeader/_page-header.scss +1 -1
  52. package/scss/components/ProductiveCard/_productive-card.scss +0 -4
  53. package/scss/components/SidePanel/_side-panel.scss +15 -6
  54. package/scss/components/StatusIcon/_index.scss +1 -1
  55. package/scss/components/TagSet/_index.scss +1 -1
  56. package/scss/components/UserProfileImage/_index.scss +1 -1
  57. package/scss/components/WebTerminal/_web-terminal.scss +2 -2
  58. package/scss/global/styles/_project-settings.scss +5 -1
  59. package/es/generated/feature-flags/feature-flags.js +0 -15
  60. package/lib/generated/feature-flags/feature-flags.js +0 -22
  61. package/scss/generated/feature-flags/_feature-flags.scss +0 -19
@@ -25,7 +25,7 @@ $block-class: #{$pkg-prefix}--side-panel;
25
25
  $action-set-block-class: #{$pkg-prefix}--action-set;
26
26
 
27
27
  @mixin sidePanelEntranceRight($size: map-get($side-panel-sizes, md)) {
28
- @keyframes sidePanelEntranceRight {
28
+ @keyframes side-panel-entrance-right {
29
29
  0% {
30
30
  opacity: 0;
31
31
  // stylelint-disable-next-line carbon/layout-token-use
@@ -39,7 +39,7 @@ $action-set-block-class: #{$pkg-prefix}--action-set;
39
39
  }
40
40
 
41
41
  @mixin sidePanelEntranceLeft($size: map-get($side-panel-sizes, md)) {
42
- @keyframes sidePanelEntranceLeft {
42
+ @keyframes side-panel-entrance-left {
43
43
  0% {
44
44
  opacity: 0;
45
45
  // stylelint-disable-next-line carbon/layout-token-use
@@ -90,7 +90,7 @@ $action-set-block-class: #{$pkg-prefix}--action-set;
90
90
  }
91
91
 
92
92
  @mixin side-panel {
93
- @keyframes sidePanelExitLeft {
93
+ @keyframes side-panel-exit-left {
94
94
  0% {
95
95
  opacity: 1;
96
96
  transform: translateX(0);
@@ -102,7 +102,7 @@ $action-set-block-class: #{$pkg-prefix}--action-set;
102
102
  }
103
103
  }
104
104
 
105
- @keyframes sidePanelExitRight {
105
+ @keyframes side-panel-exit-right {
106
106
  0% {
107
107
  opacity: 1;
108
108
  transform: translateX(0);
@@ -186,6 +186,15 @@ $action-set-block-class: #{$pkg-prefix}--action-set;
186
186
  &::before {
187
187
  @include setDividerStyles();
188
188
  }
189
+ &.#{$block-class}__title-container--reduced-motion {
190
+ z-index: 5;
191
+ border-bottom: 1px solid $decorative-01;
192
+ margin-bottom: $spacing-05;
193
+ }
194
+ &.#{$block-class}__title-container--reduced-motion.#{$block-class}__title-container--no-title-animation {
195
+ border-bottom: 0;
196
+ margin-bottom: 0;
197
+ }
189
198
  &.#{$block-class}__on-detail-step .#{$block-class}__collapsed-title-text {
190
199
  top: $spacing-09;
191
200
  }
@@ -444,7 +453,7 @@ $action-set-block-class: #{$pkg-prefix}--action-set;
444
453
  background-color: $field-02;
445
454
  }
446
455
 
447
- @keyframes sidePanelOverlayEntrance {
456
+ @keyframes side-panel-overlay-entrance {
448
457
  0% {
449
458
  opacity: 0;
450
459
  }
@@ -453,7 +462,7 @@ $action-set-block-class: #{$pkg-prefix}--action-set;
453
462
  }
454
463
  }
455
464
 
456
- @keyframes sidePanelOverlayExit {
465
+ @keyframes side-panel-overlay-exit {
457
466
  0% {
458
467
  opacity: 1;
459
468
  }
@@ -5,4 +5,4 @@
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
- @import './status-icon.scss';
8
+ @import './status-icon';
@@ -5,4 +5,4 @@
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
- @import './tag-set.scss';
8
+ @import './tag-set';
@@ -5,4 +5,4 @@
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
- @import './user-profile-image.scss';
8
+ @import './user-profile-image';
@@ -4,7 +4,7 @@
4
4
  $web-terminal-width: 36.5rem;
5
5
  $block-class: #{$pkg-prefix}--web-terminal;
6
6
 
7
- @keyframes webTerminalEntrance {
7
+ @keyframes web-terminal-entrance {
8
8
  0% {
9
9
  opacity: 0;
10
10
  // stylelint-disable-next-line carbon/layout-token-use
@@ -16,7 +16,7 @@ $block-class: #{$pkg-prefix}--web-terminal;
16
16
  }
17
17
  }
18
18
 
19
- @keyframes webTerminalExit {
19
+ @keyframes web-terminal-exit {
20
20
  0% {
21
21
  opacity: 1;
22
22
  transform: translateX(0);
@@ -6,7 +6,11 @@
6
6
  //
7
7
 
8
8
  // set required feature flags for carbon
9
- @import '../../generated/feature-flags/feature-flags';
9
+ $feature-flags: (
10
+ ui-shell: true,
11
+ grid-columns-16: true,
12
+ enable-css-custom-properties: true,
13
+ );
10
14
 
11
15
  // import the carbon import-once mechanism
12
16
  @import '@carbon/import-once/scss/import-once';
@@ -1,15 +0,0 @@
1
- //
2
- // Copyright IBM Corp. 2020, 2020
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
- // *
9
- // * ONLY EDIT IN /common-files/feature-flags files elsewhere are copies
10
- // * created by a pre-commit step
11
- // *
12
- // ******************************
13
- export default {
14
- 'enable-css-custom-properties': false
15
- };
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- //
8
- // Copyright IBM Corp. 2020, 2020
9
- //
10
- // This source code is licensed under the Apache-2.0 license found in the
11
- // LICENSE file in the root directory of this source tree.
12
- //
13
- // ******************************
14
- // *
15
- // * ONLY EDIT IN /common-files/feature-flags files elsewhere are copies
16
- // * created by a pre-commit step
17
- // *
18
- // ******************************
19
- var _default = {
20
- 'enable-css-custom-properties': false
21
- };
22
- exports.default = _default;
@@ -1,19 +0,0 @@
1
- //
2
- // Copyright IBM Corp. 2020, 2020
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
- // ******************************
9
- // *
10
- // * ONLY EDIT IN /common-files/feature-flags files elsewhere are copies
11
- // * created by a pre-commit step
12
- // *
13
- // ******************************
14
-
15
- $feature-flags: (
16
- ui-shell: true,
17
- grid-columns-16: true,
18
- enable-css-custom-properties: true,
19
- );