@carbon/ibm-products 2.90.0-rc.0 → 2.91.0-rc.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 (80) hide show
  1. package/css/index-full-carbon.css +242 -0
  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 +217 -40
  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 +242 -0
  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 +281 -39
  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/CoachmarkOverlayElements/CoachmarkOverlayElements.js +1 -1
  18. package/es/components/DataSpreadsheet/DataSpreadsheet.d.ts +1 -0
  19. package/es/components/DataSpreadsheet/DataSpreadsheet.d.ts.map +1 -1
  20. package/es/components/DataSpreadsheet/DataSpreadsheet.js +6 -0
  21. package/es/components/Datagrid/utils/filterPropsForTesting.d.ts +2 -2
  22. package/es/components/Datagrid/utils/getBatchActions.d.ts +2 -2
  23. package/es/components/InterstitialScreen/InterstitialScreen.d.ts.map +1 -1
  24. package/es/components/InterstitialScreen/InterstitialScreen.js +1 -7
  25. package/es/components/InterstitialScreen/InterstitialScreenBody.d.ts.map +1 -1
  26. package/es/components/InterstitialScreen/InterstitialScreenBody.js +35 -22
  27. package/es/components/InterstitialScreen/context.d.ts +0 -1
  28. package/es/components/InterstitialScreen/context.d.ts.map +1 -1
  29. package/es/components/NotificationsPanel/NotificationsPanel_data.d.ts +2 -2
  30. package/es/components/PageHeader/PageHeader.d.ts.map +1 -1
  31. package/es/components/PageHeader/PageHeader.js +0 -3
  32. package/es/components/Tearsheet/next/Tearsheet.d.ts.map +1 -1
  33. package/es/components/Tearsheet/next/Tearsheet.js +6 -1
  34. package/es/global/js/hooks/index.d.ts +1 -0
  35. package/es/global/js/hooks/useCarbonFeatureFlagsObject.d.ts +17 -0
  36. package/es/global/js/hooks/useCarbonFeatureFlagsObject.d.ts.map +1 -0
  37. package/es/global/js/hooks/useCarbonFeatureFlagsObject.js +35 -0
  38. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +1 -1
  39. package/lib/components/DataSpreadsheet/DataSpreadsheet.d.ts +1 -0
  40. package/lib/components/DataSpreadsheet/DataSpreadsheet.d.ts.map +1 -1
  41. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +6 -0
  42. package/lib/components/Datagrid/utils/filterPropsForTesting.d.ts +2 -2
  43. package/lib/components/Datagrid/utils/getBatchActions.d.ts +2 -2
  44. package/lib/components/InterstitialScreen/InterstitialScreen.d.ts.map +1 -1
  45. package/lib/components/InterstitialScreen/InterstitialScreen.js +1 -7
  46. package/lib/components/InterstitialScreen/InterstitialScreenBody.d.ts.map +1 -1
  47. package/lib/components/InterstitialScreen/InterstitialScreenBody.js +34 -21
  48. package/lib/components/InterstitialScreen/context.d.ts +0 -1
  49. package/lib/components/InterstitialScreen/context.d.ts.map +1 -1
  50. package/lib/components/NotificationsPanel/NotificationsPanel_data.d.ts +2 -2
  51. package/lib/components/PageHeader/PageHeader.d.ts.map +1 -1
  52. package/lib/components/PageHeader/PageHeader.js +0 -3
  53. package/lib/components/Tearsheet/next/Tearsheet.d.ts.map +1 -1
  54. package/lib/components/Tearsheet/next/Tearsheet.js +6 -1
  55. package/lib/global/js/hooks/index.d.ts +1 -0
  56. package/lib/global/js/hooks/useCarbonFeatureFlagsObject.d.ts +17 -0
  57. package/lib/global/js/hooks/useCarbonFeatureFlagsObject.d.ts.map +1 -0
  58. package/lib/global/js/hooks/useCarbonFeatureFlagsObject.js +36 -0
  59. package/package.json +17 -17
  60. package/scss/components/InterstitialScreen/_interstitial-screen.scss +1 -2
  61. package/es/global/js/utils/carousel/carousel-test.d.ts +0 -2
  62. package/es/global/js/utils/carousel/carousel-test.d.ts.map +0 -1
  63. package/es/global/js/utils/carousel/carousel.d.ts +0 -15
  64. package/es/global/js/utils/carousel/carousel.d.ts.map +0 -1
  65. package/es/global/js/utils/carousel/index.d.ts +0 -9
  66. package/es/global/js/utils/carousel/index.d.ts.map +0 -1
  67. package/es/global/js/utils/carousel/swipeEvents.d.ts +0 -8
  68. package/es/global/js/utils/carousel/swipeEvents.d.ts.map +0 -1
  69. package/es/global/js/utils/carousel/types.d.ts +0 -39
  70. package/es/global/js/utils/carousel/types.d.ts.map +0 -1
  71. package/lib/global/js/utils/carousel/carousel-test.d.ts +0 -2
  72. package/lib/global/js/utils/carousel/carousel-test.d.ts.map +0 -1
  73. package/lib/global/js/utils/carousel/carousel.d.ts +0 -15
  74. package/lib/global/js/utils/carousel/carousel.d.ts.map +0 -1
  75. package/lib/global/js/utils/carousel/index.d.ts +0 -9
  76. package/lib/global/js/utils/carousel/index.d.ts.map +0 -1
  77. package/lib/global/js/utils/carousel/swipeEvents.d.ts +0 -8
  78. package/lib/global/js/utils/carousel/swipeEvents.d.ts.map +0 -1
  79. package/lib/global/js/utils/carousel/types.d.ts +0 -39
  80. package/lib/global/js/utils/carousel/types.d.ts.map +0 -1
@@ -16121,6 +16121,248 @@ th.c4p--datagrid__select-all-toggle-on.button {
16121
16121
 
16122
16122
  /* stylelint-disable max-nesting-depth */
16123
16123
  /* stylelint-disable declaration-no-important */
16124
+ /**
16125
+ * Copyright IBM Corp. 2025
16126
+ *
16127
+ * This source code is licensed under the Apache-2.0 license found in the
16128
+ * LICENSE file in the root directory of this source tree.
16129
+ **/
16130
+ /**
16131
+ * Copyright IBM Corp. 2025
16132
+ *
16133
+ * This source code is licensed under the Apache-2.0 license found in the
16134
+ * LICENSE file in the root directory of this source tree.
16135
+ */
16136
+ /**
16137
+ * Copyright IBM Corp. 2025
16138
+ *
16139
+ * This source code is licensed under the Apache-2.0 license found in the
16140
+ * LICENSE file in the root directory of this source tree.
16141
+ **/
16142
+ .carousel__view-stack .carousel__itemsWrapper {
16143
+ position: relative;
16144
+ overflow: hidden;
16145
+ block-size: 100%;
16146
+ inline-size: 100%;
16147
+ min-inline-size: 20vh;
16148
+ }
16149
+
16150
+ :host(.carousel__live-region),
16151
+ .carousel__live-region {
16152
+ position: absolute;
16153
+ overflow: hidden;
16154
+ padding: 0;
16155
+ border: 0;
16156
+ margin: -1px;
16157
+ block-size: 1px;
16158
+ clip: rect(0 0 0 0);
16159
+ -webkit-clip-path: inset(50%);
16160
+ clip-path: inset(50%);
16161
+ inline-size: 1px;
16162
+ white-space: nowrap;
16163
+ }
16164
+
16165
+ :host(.carousel__view),
16166
+ .carousel__view {
16167
+ visibility: hidden;
16168
+ }
16169
+
16170
+ :host(.carousel__view-active),
16171
+ .carousel__view-active,
16172
+ :host(.carousel__view-recycle-out),
16173
+ .carousel__view-recycle-out,
16174
+ :host(.carousel__view-recycle-in),
16175
+ .carousel__view-recycle-in {
16176
+ visibility: visible;
16177
+ }
16178
+
16179
+ @keyframes out-to-active {
16180
+ from {
16181
+ transform: translateX(-100%);
16182
+ }
16183
+ to {
16184
+ transform: translateX(-200%);
16185
+ }
16186
+ }
16187
+ @keyframes active-to-out {
16188
+ from {
16189
+ transform: translateX(-100%);
16190
+ }
16191
+ to {
16192
+ transform: translateX(0);
16193
+ }
16194
+ }
16195
+ :host(.carousel__view),
16196
+ .carousel__view {
16197
+ z-index: 80;
16198
+ overflow: hidden auto;
16199
+ block-size: 100%;
16200
+ inline-size: 100%;
16201
+ inset-inline-start: 100%;
16202
+ transform: translateX(0);
16203
+ }
16204
+ @media (prefers-reduced-motion: no-preference) {
16205
+ :host(.carousel__view),
16206
+ .carousel__view {
16207
+ transition: transform 240ms cubic-bezier(0.5, 0, 0.1, 1);
16208
+ }
16209
+ }
16210
+ @media (prefers-reduced-motion: reduce) {
16211
+ :host(.carousel__view),
16212
+ .carousel__view {
16213
+ animation: none;
16214
+ transition: none;
16215
+ }
16216
+ }
16217
+
16218
+ :host(.carousel__view:focus),
16219
+ .carousel__view:focus {
16220
+ outline: 2px solid var(--cds-focus, #0f62fe);
16221
+ outline-offset: -2px;
16222
+ }
16223
+ @media screen and (prefers-contrast) {
16224
+ :host(.carousel__view:focus),
16225
+ .carousel__view:focus {
16226
+ outline-style: dotted;
16227
+ }
16228
+ }
16229
+
16230
+ :host(.carousel__view-active),
16231
+ .carousel__view-active {
16232
+ z-index: 100;
16233
+ overflow: hidden auto;
16234
+ block-size: 100%;
16235
+ inline-size: 100%;
16236
+ inset-inline-start: 100%;
16237
+ transform: translateX(-100%);
16238
+ }
16239
+ @media (prefers-reduced-motion: no-preference) {
16240
+ :host(.carousel__view-active),
16241
+ .carousel__view-active {
16242
+ transition: transform 240ms cubic-bezier(0.5, 0, 0.1, 1);
16243
+ }
16244
+ }
16245
+ @media (prefers-reduced-motion: reduce) {
16246
+ :host(.carousel__view-active),
16247
+ .carousel__view-active {
16248
+ animation: none;
16249
+ transition: none;
16250
+ }
16251
+ }
16252
+
16253
+ :host(.carousel__view-active:focus),
16254
+ .carousel__view-active:focus {
16255
+ outline: 2px solid var(--cds-focus, #0f62fe);
16256
+ outline-offset: -2px;
16257
+ }
16258
+ @media screen and (prefers-contrast) {
16259
+ :host(.carousel__view-active:focus),
16260
+ .carousel__view-active:focus {
16261
+ outline-style: dotted;
16262
+ }
16263
+ }
16264
+
16265
+ :host(.carousel__view-in-stack),
16266
+ .carousel__view-in-stack {
16267
+ z-index: 90;
16268
+ overflow: hidden auto;
16269
+ block-size: 100%;
16270
+ inline-size: 100%;
16271
+ inset-inline-start: 100%;
16272
+ transform: translateX(-200%);
16273
+ }
16274
+ @media (prefers-reduced-motion: no-preference) {
16275
+ :host(.carousel__view-in-stack),
16276
+ .carousel__view-in-stack {
16277
+ transition: transform 240ms cubic-bezier(0.5, 0, 0.1, 1);
16278
+ }
16279
+ }
16280
+ @media (prefers-reduced-motion: reduce) {
16281
+ :host(.carousel__view-in-stack),
16282
+ .carousel__view-in-stack {
16283
+ animation: none;
16284
+ transition: none;
16285
+ }
16286
+ }
16287
+
16288
+ :host(.carousel__view-in-stack:focus),
16289
+ .carousel__view-in-stack:focus {
16290
+ outline: 2px solid var(--cds-focus, #0f62fe);
16291
+ outline-offset: -2px;
16292
+ }
16293
+ @media screen and (prefers-contrast) {
16294
+ :host(.carousel__view-in-stack:focus),
16295
+ .carousel__view-in-stack:focus {
16296
+ outline-style: dotted;
16297
+ }
16298
+ }
16299
+
16300
+ :host(.carousel__view-recycle-in),
16301
+ .carousel__view-recycle-in {
16302
+ z-index: 100;
16303
+ overflow: hidden auto;
16304
+ block-size: 100%;
16305
+ inline-size: 100%;
16306
+ }
16307
+ @media (prefers-reduced-motion: no-preference) {
16308
+ :host(.carousel__view-recycle-in),
16309
+ .carousel__view-recycle-in {
16310
+ animation: out-to-active 240ms cubic-bezier(0.5, 0, 0.1, 1) forwards;
16311
+ }
16312
+ }
16313
+ @media (prefers-reduced-motion: reduce) {
16314
+ :host(.carousel__view-recycle-in),
16315
+ .carousel__view-recycle-in {
16316
+ animation: none;
16317
+ transition: none;
16318
+ }
16319
+ }
16320
+
16321
+ :host(.carousel__view-recycle-in:focus),
16322
+ .carousel__view-recycle-in:focus {
16323
+ outline: 2px solid var(--cds-focus, #0f62fe);
16324
+ outline-offset: -2px;
16325
+ }
16326
+ @media screen and (prefers-contrast) {
16327
+ :host(.carousel__view-recycle-in:focus),
16328
+ .carousel__view-recycle-in:focus {
16329
+ outline-style: dotted;
16330
+ }
16331
+ }
16332
+
16333
+ :host(.carousel__view-recycle-out),
16334
+ .carousel__view-recycle-out {
16335
+ z-index: 90;
16336
+ overflow: hidden auto;
16337
+ block-size: 100%;
16338
+ inline-size: 100%;
16339
+ }
16340
+ @media (prefers-reduced-motion: no-preference) {
16341
+ :host(.carousel__view-recycle-out),
16342
+ .carousel__view-recycle-out {
16343
+ animation: active-to-out 240ms cubic-bezier(0.5, 0, 0.1, 1) forwards;
16344
+ }
16345
+ }
16346
+ @media (prefers-reduced-motion: reduce) {
16347
+ :host(.carousel__view-recycle-out),
16348
+ .carousel__view-recycle-out {
16349
+ animation: none;
16350
+ transition: none;
16351
+ }
16352
+ }
16353
+
16354
+ :host(.carousel__view-recycle-out:focus),
16355
+ .carousel__view-recycle-out:focus {
16356
+ outline: 2px solid var(--cds-focus, #0f62fe);
16357
+ outline-offset: -2px;
16358
+ }
16359
+ @media screen and (prefers-contrast) {
16360
+ :host(.carousel__view-recycle-out:focus),
16361
+ .carousel__view-recycle-out:focus {
16362
+ outline-style: dotted;
16363
+ }
16364
+ }
16365
+
16124
16366
  .c4p--interstitial-screen--body {
16125
16367
  overflow: hidden auto;
16126
16368
  flex-grow: 1;