@carbon/ibm-products-styles 2.67.0 → 2.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 (34) hide show
  1. package/css/index-full-carbon.css +560 -185
  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 +132 -1
  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 +570 -245
  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 +358 -33
  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/package.json +4 -4
  18. package/scss/components/{BigNumbers/_big-numbers.scss → BigNumber/_big-number.scss} +5 -5
  19. package/scss/components/{BigNumbers → BigNumber}/_carbon-imports.scss +3 -3
  20. package/scss/components/{BigNumbers → BigNumber}/_index-with-carbon.scss +2 -2
  21. package/scss/components/{BigNumbers → BigNumber}/_index.scss +2 -2
  22. package/scss/components/Card/_card.scss +2 -0
  23. package/scss/components/Coachmark/_bubble.scss +62 -0
  24. package/scss/components/Coachmark/_coachmark-beacon.scss +164 -0
  25. package/scss/components/Coachmark/_coachmark.scss +15 -0
  26. package/scss/components/ConditionBuilder/_condition-builder.scss +8 -0
  27. package/scss/components/PageHeader/_page-header.scss +144 -1
  28. package/scss/components/Tearsheet/_tearsheet.scss +6 -0
  29. package/scss/components/TruncatedText/_carbon-imports.scss +6 -0
  30. package/scss/components/TruncatedText/_index-with-carbon.scss +9 -0
  31. package/scss/components/TruncatedText/_index.scss +8 -0
  32. package/scss/components/TruncatedText/_truncated-text.scss +26 -0
  33. package/scss/components/_index-with-carbon.scss +3 -2
  34. package/scss/components/_index.scss +3 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibm-products-styles",
3
3
  "description": "Carbon for IBM Products styles",
4
- "version": "2.67.0",
4
+ "version": "2.68.0",
5
5
  "license": "Apache-2.0",
6
6
  "installConfig": {
7
7
  "hoistingLimits": "none"
@@ -47,10 +47,10 @@
47
47
  "devDependencies": {
48
48
  "chalk": "^4.1.2",
49
49
  "copyfiles": "^2.4.1",
50
- "cross-env": "^7.0.3",
50
+ "cross-env": "^10.0.0",
51
51
  "glob": "^11.0.1",
52
52
  "jest": "^29.7.0",
53
- "jest-config-ibm-cloud-cognitive": "^1.30.0",
53
+ "jest-config-ibm-cloud-cognitive": "^1.31.0",
54
54
  "jest-environment-jsdom": "^29.7.0",
55
55
  "npm-run-all": "^4.1.5",
56
56
  "rimraf": "^6.0.1",
@@ -67,5 +67,5 @@
67
67
  "dependencies": {
68
68
  "@ibm/telemetry-js": "^1.9.1"
69
69
  },
70
- "gitHead": "6b1aa641b80b4df7b6fc51c91dfaaefbfccc1ae6"
70
+ "gitHead": "996fe987dd30d6c6704e0d48079ec3346f58cd18"
71
71
  }
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2024, 2024
2
+ // Copyright IBM Corp. 2024, 2025
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -17,11 +17,11 @@
17
17
  // TODO: @use '@carbon/styles/scss/grid';
18
18
  // or
19
19
  // TODO: @use '@carbon/styles/scss/grid';
20
- // BigNumbers uses the following Carbon for IBM Products components:
21
- // TODO: @use(s) of IBM Products component styles used by BigNumbers
20
+ // BigNumber uses the following Carbon for IBM Products components:
21
+ // TODO: @use(s) of IBM Products component styles used by BigNumber
22
22
  // The block part of our conventional BEM class names (blockClass__E--M).
23
- $block-class: #{c4p-settings.$pkg-prefix}--big-numbers;
24
- $skeleton-block-class: #{c4p-settings.$pkg-prefix}--big-numbers-skeleton;
23
+ $block-class: #{c4p-settings.$pkg-prefix}--big-number;
24
+ $skeleton-block-class: #{c4p-settings.$pkg-prefix}--big-number-skeleton;
25
25
 
26
26
  .#{$block-class}__label {
27
27
  @include type-style('label-01');
@@ -1,11 +1,11 @@
1
1
  //
2
- // Copyright IBM Corp. 2024, 2024
2
+ // Copyright IBM Corp. 2024, 2025
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
- // Import any Carbon component styles used from BigNumbers in this file.
9
- // BigNumbers uses the following Carbon components:
8
+ // Import any Carbon component styles used from BigNumber in this file.
9
+ // BigNumber uses the following Carbon components:
10
10
  @use '@carbon/styles/scss/components/skeleton-styles';
11
11
  @use '@carbon/styles/scss/components/tooltip';
@@ -1,9 +1,9 @@
1
1
  //
2
- // Copyright IBM Corp. 2024, 2024
2
+ // Copyright IBM Corp. 2024, 2025
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
8
  @use './carbon-imports';
9
- @use './big-numbers';
9
+ @use './big-number';
@@ -1,8 +1,8 @@
1
1
  //
2
- // Copyright IBM Corp. 2024, 2024
2
+ // Copyright IBM Corp. 2024, 2025
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
- @use './big-numbers';
8
+ @use './big-number';
@@ -18,11 +18,13 @@
18
18
  $block-class: #{c4p-settings.$pkg-prefix}--card;
19
19
 
20
20
  .#{$block-class} {
21
+ border: 1px solid transparent;
21
22
  background-color: $layer-01;
22
23
  color: $text-primary;
23
24
  }
24
25
 
25
26
  .#{$block-class}__clickable {
27
+ border-color: $border-tile-01;
26
28
  cursor: pointer;
27
29
  // stylelint-disable-next-line carbon/motion-easing-use
28
30
  transition: background-color $duration-fast-02;
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025
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
+ @use '@carbon/react/scss/spacing' as *;
8
+ @use '@carbon/react/scss/colors' as *;
9
+ @use '@carbon/styles/scss/theme' as theme;
10
+ @use '@carbon/styles/scss/themes' as themes;
11
+ @use '@carbon/styles/scss/breakpoint' as *;
12
+ @use '@carbon/styles/scss/utilities';
13
+ @use '../../../../ibm-products-styles/src/global/styles/project-settings' as
14
+ c4p-settings;
15
+
16
+ $prefix: #{c4p-settings.$pkg-prefix} !default;
17
+
18
+ .#{$prefix}__bubble {
19
+ position: fixed;
20
+ z-index: 10000;
21
+ display: none;
22
+ padding: $spacing-05;
23
+ border-radius: $spacing-01;
24
+ /* stylelint-disable-next-line declaration-no-important */
25
+ background: theme.$layer !important;
26
+ color: theme.$text-primary;
27
+ font-weight: bold;
28
+ inline-size: max-content;
29
+ inset-block-start: 0;
30
+ inset-inline-start: 0;
31
+ pointer-events: none;
32
+ }
33
+
34
+ .#{$prefix}__bubble-hidden {
35
+ display: none;
36
+ }
37
+
38
+ .#{$prefix}__bubble-open {
39
+ display: grid;
40
+ pointer-events: all;
41
+ }
42
+
43
+ .#{$prefix}__bubble-drop-shadow {
44
+ filter: drop-shadow(0 $spacing-01 $spacing-01 rgba(0, 0, 0, 0.2));
45
+ }
46
+
47
+ .#{$prefix}__bubble__arrow {
48
+ position: absolute;
49
+ z-index: 10010;
50
+ background: theme.$layer;
51
+ block-size: $spacing-04;
52
+ inline-size: $spacing-04;
53
+ transform: rotate(45deg);
54
+ }
55
+
56
+ .#{$prefix}__bubble__header {
57
+ z-index: 10020;
58
+ display: flex;
59
+ justify-content: flex-end;
60
+ margin-block-start: -$spacing-05;
61
+ margin-inline: -$spacing-05;
62
+ }
@@ -0,0 +1,164 @@
1
+ /* stylelint-disable carbon/layout-use */
2
+ /* stylelint-disable carbon/motion-easing-use */
3
+ /* stylelint-disable max-nesting-depth */
4
+ //
5
+ // Copyright IBM Corp. 2024, 2025
6
+ //
7
+ // This source code is licensed under the Apache-2.0 license found in the
8
+ // LICENSE file in the root directory of this source tree.
9
+ //
10
+
11
+ // Standard imports.
12
+ @use '../../global/styles/project-settings' as c4p-settings;
13
+ @use '../../global/styles/mixins';
14
+ @use '@carbon/styles/scss/spacing' as *;
15
+ @use '@carbon/styles/scss/colors' as *;
16
+ @use '@carbon/styles/scss/theme' as *;
17
+ @use '@carbon/styles/scss/type';
18
+ @use '@carbon/styles/scss/components/button/tokens' as *;
19
+ @use '@carbon/styles/scss/motion' as *;
20
+ // Other Carbon settings if needed
21
+ // TODO: @use '@carbon/styles/scss/grid';
22
+ // or
23
+ // TODO: @use '@carbon/styles/scss/grid';
24
+
25
+ // CoachmarkBeacon uses the following Carbon for IBM Products components:
26
+ // TODO: @use(s) of IBM Products component styles used by CoachmarkBeacon
27
+ $beaconAnimationTime: 2s;
28
+ // The block part of our conventional BEM class names (blockClass__E--M).
29
+ $block-class: #{c4p-settings.$pkg-prefix}--coachmark-beacon;
30
+
31
+ .#{$block-class} {
32
+ position: relative;
33
+
34
+ &-default {
35
+ .#{$block-class}__target {
36
+ &::before {
37
+ display: none;
38
+ }
39
+ // the blue dot
40
+ &::after {
41
+ position: absolute;
42
+ border-radius: 50%;
43
+ /* stylelint-disable-next-line carbon/theme-use */
44
+ background-color: $blue-50;
45
+ block-size: $spacing-04;
46
+ content: '';
47
+ inline-size: $spacing-04;
48
+ inset-block-start: calc($spacing-01 + $spacing-03);
49
+ inset-inline-start: calc($spacing-01 + $spacing-03);
50
+ }
51
+
52
+ &:focus {
53
+ outline: transparent;
54
+
55
+ &::before {
56
+ position: absolute;
57
+ display: block;
58
+ border-radius: 100%;
59
+ block-size: 18px;
60
+ content: '';
61
+ inline-size: 18px;
62
+ inset-block-start: 7px;
63
+ inset-inline-start: 7px;
64
+ /* stylelint-disable-next-line carbon/theme-use */
65
+ outline: $spacing-01 $focus solid;
66
+ }
67
+ }
68
+ }
69
+ }
70
+ .#{$block-class}__target {
71
+ // the hit area
72
+ display: flex;
73
+ padding: 0;
74
+ border: none;
75
+ border-radius: 50%;
76
+ background-color: transparent;
77
+ block-size: $spacing-07;
78
+ cursor: pointer;
79
+ inline-size: $spacing-07;
80
+
81
+ &[aria-expanded='true'] {
82
+ circle {
83
+ animation: none;
84
+ }
85
+ }
86
+ }
87
+
88
+ &__center {
89
+ position: absolute;
90
+ z-index: 6900;
91
+ block-size: $spacing-11;
92
+ inline-size: $spacing-11;
93
+ inset-block-start: calc(($spacing-06 - $spacing-01) * -1);
94
+ inset-inline-start: calc(($spacing-06 - $spacing-01) * -1);
95
+ pointer-events: none;
96
+
97
+ circle {
98
+ /* stylelint-disable-next-line carbon/motion-duration-use */
99
+ animation: ripple $beaconAnimationTime infinite;
100
+ fill: $support-info;
101
+ fill-opacity: 0;
102
+ -webkit-mask-image: none;
103
+ mask-image: none;
104
+ stroke: $support-info;
105
+ stroke-opacity: 0;
106
+ stroke-width: 1px;
107
+ transition-timing-function: motion (exit, productive);
108
+ @media (prefers-reduced-motion) {
109
+ animation: none;
110
+ }
111
+ }
112
+ }
113
+ }
114
+ @keyframes ripple {
115
+ 0% {
116
+ fill-opacity: 0;
117
+ r: 1px;
118
+ stroke-opacity: 0;
119
+ transition-timing-function: motion(entrance, productive);
120
+ }
121
+
122
+ 31% {
123
+ fill-opacity: 0.2;
124
+ stroke-opacity: 1;
125
+ }
126
+
127
+ 62% {
128
+ fill-opacity: 0;
129
+ r: 32px;
130
+ stroke-opacity: 0;
131
+ }
132
+
133
+ 100% {
134
+ fill-opacity: 0;
135
+ r: 32px;
136
+ stroke-opacity: 0;
137
+ }
138
+ }
139
+
140
+ @keyframes ring-ripple {
141
+ 0% {
142
+ fill-opacity: 0;
143
+ r: 12px;
144
+ stroke-opacity: 0;
145
+ transition-timing-function: motion(entrance, productive);
146
+ }
147
+
148
+ 31% {
149
+ fill-opacity: 0.2;
150
+ stroke-opacity: 1;
151
+ }
152
+
153
+ 62% {
154
+ fill-opacity: 0;
155
+ r: 32px;
156
+ stroke-opacity: 0;
157
+ }
158
+
159
+ 100% {
160
+ fill-opacity: 0;
161
+ r: 32px;
162
+ stroke-opacity: 0;
163
+ }
164
+ }
@@ -14,6 +14,9 @@
14
14
  @use './coachmark-header';
15
15
  @use './coachmark-overlay';
16
16
  @use './coachmark-tagline';
17
+ @use './bubble';
18
+ @use './coachmark-beacon';
19
+ @use '../../global/styles/mixins' as *;
17
20
 
18
21
  // Other Carbon settings if needed
19
22
  // TODO: @use '@carbon/styles/scss/grid';
@@ -29,3 +32,15 @@ $block-class: #{c4p-settings.$pkg-prefix}--coachmark;
29
32
  .#{$block-class} {
30
33
  position: relative;
31
34
  }
35
+
36
+ // Onboarding/Coachmark/next
37
+
38
+ $block-class-next: #{c4p-settings.$pkg-prefix}--coachmark__next;
39
+
40
+ @include block-wrap(#{$block-class}__next) {
41
+ &.#{$block-class-next}--floating {
42
+ span:has(> div > .#{$block-class-next}--content-header--drag-icon) {
43
+ margin-inline-end: auto;
44
+ }
45
+ }
46
+ }
@@ -28,6 +28,14 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
28
28
  display: flex;
29
29
  }
30
30
 
31
+ .#{$block-class}__visible {
32
+ visibility: visible;
33
+ }
34
+
35
+ .#{$block-class}__hidden {
36
+ visibility: hidden;
37
+ }
38
+
31
39
  .#{$block-class}__condition-wrapper {
32
40
  display: flex;
33
41
  flex-flow: row wrap;
@@ -711,15 +711,24 @@ $duration: 1000ms;
711
711
  /// @group page-header
712
712
  @include block-wrap(#{$block-class}__next) {
713
713
  &.#{$block-class} {
714
+ position: sticky;
714
715
  background-color: $layer-01;
715
716
  border-block-end: 1px solid $border-subtle-01;
717
+ /* stylelint-disable-next-line carbon/layout-use */
718
+ inset-block-start: var(--#{$pkg-prefix}-page-header-header-top);
716
719
  }
717
720
 
718
721
  .#{$block-class}__breadcrumb-bar {
722
+ position: sticky;
723
+ z-index: 1;
724
+ background-color: $layer;
719
725
  block-size: to-rem(40px);
726
+ /* stylelint-disable-next-line carbon/layout-use */
727
+ inset-block-start: var(--#{$pkg-prefix}-page-header-breadcrumb-top);
720
728
  }
721
729
 
722
- .#{$block-class}__breadcrumb-bar .#{$carbon-prefix}--subgrid {
730
+ .#{$block-class}__breadcrumb-bar .#{$carbon-prefix}--subgrid,
731
+ .#{$block-class}__breadcrumb-bar .#{$carbon-prefix}--css-grid {
723
732
  block-size: 100%;
724
733
  }
725
734
 
@@ -751,14 +760,36 @@ $duration: 1000ms;
751
760
 
752
761
  .#{$block-class}__breadcrumb__actions {
753
762
  display: inline-flex;
763
+ justify-content: flex-end;
764
+ inline-size: 100%;
754
765
  }
755
766
 
756
767
  .#{$block-class}__breadcrumb__content-actions {
768
+ inline-size: 100%;
757
769
  margin-inline-end: $spacing-04;
758
770
  }
759
771
 
760
772
  .#{$block-class}__breadcrumb-wrapper {
761
773
  display: inline-flex;
774
+ inline-size: 100%;
775
+ }
776
+
777
+ .#{$block-class}__breadcrumb-wrapper .#{$block-class}-breadcrumb-overflow {
778
+ inline-size: 100%;
779
+ .#{$carbon-prefix}--breadcrumb {
780
+ display: flex;
781
+ }
782
+ }
783
+
784
+ .#{$block-class}__breadcrumb-wrapper
785
+ .#{$block-class}-breadcrumb-overflow-item {
786
+ display: none;
787
+ opacity: 0;
788
+ }
789
+ .#{$block-class}__breadcrumb-wrapper
790
+ .#{$block-class}-overflow-breadcrumb-item-with-items {
791
+ display: flex;
792
+ opacity: 1;
762
793
  }
763
794
 
764
795
  .#{$block-class}__content {
@@ -874,6 +905,29 @@ $duration: 1000ms;
874
905
  grid-template-columns: auto minmax(0, 1fr);
875
906
  }
876
907
 
908
+ .#{$pkg-prefix}--page-header__tab-bar--tablist
909
+ .#{$pkg-prefix}--page-header__tags {
910
+ display: flex;
911
+ align-self: center;
912
+ justify-content: flex-end;
913
+ }
914
+
915
+ .#{$pkg-prefix}--page-header__tab-bar--tablist.#{$pkg-prefix}--page-header__tab-bar--with-scroller
916
+ .#{$pkg-prefix}--page-header__tags {
917
+ display: flex;
918
+ align-items: center;
919
+ justify-content: right;
920
+ transform: translateX(calc($spacing-06 * -1));
921
+
922
+ @include breakpoint(md) {
923
+ padding-inline-end: $spacing-03;
924
+ transform: translateX(0);
925
+ }
926
+ @include breakpoint(max) {
927
+ padding-inline-end: $spacing-05;
928
+ }
929
+ }
930
+
877
931
  .#{$carbon-prefix}--tabs .#{$carbon-prefix}--tab--overflow-nav-button {
878
932
  background-color: $layer-01;
879
933
 
@@ -886,6 +940,13 @@ $duration: 1000ms;
886
940
  }
887
941
  }
888
942
 
943
+ // **** This is a temporary work-around until the focus clipping
944
+ // **** for overflowing tabs is resolved in core.
945
+ // **** https://github.com/carbon-design-system/carbon/issues/19942
946
+ .#{$carbon-prefix}--tabs .#{$carbon-prefix}--tabs__nav-link {
947
+ margin-inline-end: $spacing-01;
948
+ }
949
+
889
950
  .#{$block-class}__tags {
890
951
  display: flex;
891
952
  align-items: center;
@@ -901,4 +962,86 @@ $duration: 1000ms;
901
962
  .#{$block-class}__tag-item {
902
963
  flex-shrink: 0;
903
964
  }
965
+
966
+ .#{$pkg-prefix}--page-header--scroller-button-icon {
967
+ /* stylelint-disable-next-line */
968
+ transition: transform $transition-base;
969
+ @media (prefers-reduced-motion: reduce) {
970
+ transition: none;
971
+ }
972
+ }
973
+
974
+ .#{$pkg-prefix}--page-header--scroller-button-icon-collapsed {
975
+ transform: rotate(-180deg);
976
+ }
977
+
978
+ .#{$pkg-prefix}--page-header--scroller-button-container {
979
+ position: absolute;
980
+ inset-block-end: 0;
981
+ inset-inline-end: $spacing-01;
982
+ }
983
+
984
+ @keyframes page-header-title-breadcrumb-animation {
985
+ 0% {
986
+ opacity: 0;
987
+ transform: translateY($spacing-05);
988
+ }
989
+
990
+ 5% {
991
+ opacity: 1;
992
+ transform: translateY(0);
993
+ }
994
+
995
+ 100% {
996
+ opacity: 1;
997
+ transform: translateY(0);
998
+ }
999
+ }
1000
+
1001
+ @keyframes page-header-title-breadcrumb-animation-reduced-motion {
1002
+ 0% {
1003
+ opacity: 0;
1004
+ }
1005
+
1006
+ 5% {
1007
+ opacity: 1;
1008
+ }
1009
+
1010
+ 100% {
1011
+ opacity: 1;
1012
+ }
1013
+ }
1014
+
1015
+ .#{$pkg-prefix}--page-header-title-breadcrumb {
1016
+ opacity: 0;
1017
+ transform: translateY($spacing-05);
1018
+ transition:
1019
+ /* stylelint-disable-next-line */
1020
+ transform motion(standard, productive) $duration-moderate-01,
1021
+ opacity motion(standard, productive) $duration-moderate-01;
1022
+ // Target browsers that do not yet support animation-timeline: scroll()
1023
+ @supports not (animation-timeline: scroll()) {
1024
+ &.#{$pkg-prefix}--page-header-title-breadcrumb-show {
1025
+ opacity: 1;
1026
+ transform: translateY(0);
1027
+ }
1028
+ @media (prefers-reduced-motion: reduce) {
1029
+ transform: translateY(0);
1030
+ /* stylelint-disable-next-line */
1031
+ transition: opacity motion(standard, productive) $duration-moderate-01;
1032
+ }
1033
+ }
1034
+ // `animation-timeline: scroll()` only currently supported in Chromium based browsers
1035
+ @supports (animation-timeline: scroll()) {
1036
+ animation-direction: alternate;
1037
+ animation-duration: 1ms; /* Firefox requires this to apply the animation */
1038
+ animation-name: page-header-title-breadcrumb-animation;
1039
+ animation-timeline: scroll(block nearest);
1040
+
1041
+ @media (prefers-reduced-motion: reduce) {
1042
+ animation-name: page-header-title-breadcrumb-animation-reduced-motion;
1043
+ transform: translateY(0);
1044
+ }
1045
+ }
1046
+ }
904
1047
  }
@@ -302,6 +302,12 @@ $motion-duration: $duration-moderate-02;
302
302
  margin: $spacing-04 0 0;
303
303
  }
304
304
 
305
+ // Unfortunately <Layer> creates an extra DOM element. Try not to let it break
306
+ // existing layouts.
307
+ .#{$block-class}__layer {
308
+ display: contents;
309
+ }
310
+
305
311
  &.#{$block-class} .#{$block-class}__body {
306
312
  display: flex;
307
313
  flex-direction: row;
@@ -0,0 +1,6 @@
1
+ //
2
+ // Copyright IBM Corp. 2025
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
+ //
@@ -0,0 +1,9 @@
1
+ //
2
+ // Copyright IBM Corp. 2025
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 './truncated-text';
@@ -0,0 +1,8 @@
1
+ //
2
+ // Copyright IBM Corp. 2025
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 './truncated-text';
@@ -0,0 +1,26 @@
1
+ //
2
+ // Copyright IBM Corp. 2025
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 '../../global/styles/project-settings' as c4p-settings;
9
+ @use '../../global/styles/mixins';
10
+ @use '@carbon/styles/scss/theme' as *;
11
+
12
+ $block-class: #{c4p-settings.$pkg-prefix}--truncated-text;
13
+
14
+ .#{$block-class} {
15
+ &__text-content {
16
+ display: -webkit-box;
17
+ overflow: hidden;
18
+ -webkit-box-orient: vertical;
19
+ text-overflow: clip;
20
+ }
21
+
22
+ &__expand-toggle {
23
+ color: $link-primary;
24
+ cursor: pointer;
25
+ }
26
+ }
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2021, 2021
2
+ // Copyright IBM Corp. 2021, 2025
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -49,8 +49,9 @@
49
49
  @use './Datagrid/index-with-carbon' as *;
50
50
  @use './EditUpdateCards/index-with-carbon' as *;
51
51
  @use './SimpleHeader/index-with-carbon' as *;
52
- @use './BigNumbers/index-with-carbon' as *;
52
+ @use './BigNumber/index-with-carbon' as *;
53
53
  @use './TruncatedList/index-with-carbon' as *;
54
+ @use './TruncatedText/index-with-carbon' as *;
54
55
  @use './InterstitialScreen/index-with-carbon' as *;
55
56
  @use './Coachmark/index-with-carbon' as *;
56
57
  @use './CoachmarkBeacon/index-with-carbon' as *;
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2021, 2023
2
+ // Copyright IBM Corp. 2021, 2025
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -62,8 +62,9 @@
62
62
  @use './Guidebanner';
63
63
  @use './InlineTip';
64
64
  @use './NonLinearReading';
65
- @use './BigNumbers';
65
+ @use './BigNumber';
66
66
  @use './TruncatedList';
67
+ @use './TruncatedText';
67
68
  @use './InterstitialScreen';
68
69
  @use './DelimitedList';
69
70
  @use './Decorator';