@carbon/ibm-products 2.79.0-rc.0 → 2.80.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.
- package/css/carbon.css +39 -19
- package/css/carbon.css.map +1 -1
- package/css/index-full-carbon.css +186 -80
- 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 +147 -61
- 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 +147 -61
- 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 +150 -66
- 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/Coachmark/Coachmark.d.ts +2 -1
- package/es/components/Coachmark/Coachmark.js +6 -0
- package/es/components/Coachmark/CoachmarkDragbar.d.ts +2 -1
- package/es/components/Coachmark/CoachmarkDragbar.js +7 -0
- package/es/components/Coachmark/CoachmarkHeader.d.ts +2 -1
- package/es/components/Coachmark/CoachmarkHeader.js +7 -0
- package/es/components/Coachmark/CoachmarkOverlay.d.ts +2 -1
- package/es/components/Coachmark/CoachmarkOverlay.js +1 -0
- package/es/components/Coachmark/CoachmarkTagline.d.ts +2 -1
- package/es/components/Coachmark/CoachmarkTagline.js +7 -0
- package/es/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubble.js +3 -2
- package/es/components/Coachmark/utils/hooks.js +4 -3
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +2 -1
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +7 -0
- package/es/components/CoachmarkButton/CoachmarkButton.d.ts +2 -1
- package/es/components/CoachmarkButton/CoachmarkButton.js +1 -0
- package/es/components/CoachmarkFixed/CoachmarkFixed.d.ts +1 -0
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +7 -0
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +2 -1
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +1 -0
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +2 -1
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +1 -0
- package/es/components/CoachmarkStack/CoachmarkStack.d.ts +2 -1
- package/es/components/CoachmarkStack/CoachmarkStack.js +7 -0
- package/es/components/CreateFullPage/CreateFullPage.js +1 -1
- package/es/components/CreateTearsheet/CreateTearsheet.js +2 -2
- package/es/components/CreateTearsheet/CreateTearsheetStep.js +2 -21
- package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +3 -2
- package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +3 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +4 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +2 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +2 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.d.ts +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +6 -1
- package/es/components/Datagrid/useResizeTable.js +2 -2
- package/es/components/Datagrid/useSelectRows.js +3 -2
- package/es/components/Datagrid/useStickyColumn.js +3 -2
- package/es/components/PageHeader/next/PageHeader.js +4 -3
- package/es/components/ScrollGradient/constants.js +3 -2
- package/es/components/Tearsheet/TearsheetShell.js +4 -6
- package/es/components/Tearsheet/next/StackContext.d.ts +21 -0
- package/es/components/Tearsheet/next/StackContext.js +94 -0
- package/es/components/Tearsheet/next/Tearsheet.d.ts +13 -2
- package/es/components/Tearsheet/next/Tearsheet.js +46 -10
- package/es/components/Tearsheet/next/TearsheetBody.d.ts +6 -0
- package/es/components/Tearsheet/next/TearsheetBody.js +19 -7
- package/es/components/Tearsheet/next/TearsheetHeaderActions.js +9 -4
- package/es/components/Tearsheet/next/TearsheetHeaderContent.d.ts +22 -8
- package/es/components/Tearsheet/next/TearsheetHeaderContent.js +14 -27
- package/es/components/Tearsheet/next/_story-assets/StepTearsheet.d.ts +3 -2
- package/es/components/Tearsheet/next/index.d.ts +2 -0
- package/es/components/index.d.ts +2 -1
- package/es/global/js/hooks/useCreateComponentFocus.js +34 -4
- package/es/global/js/hooks/useIsomorphicEffect.d.ts +7 -1
- package/es/global/js/hooks/useIsomorphicEffect.js +1 -2
- package/es/global/js/hooks/useResizeObserver.js +4 -3
- package/es/global/js/hooks/useWindowResize.js +3 -2
- package/es/global/js/hooks/useWindowScroll.js +3 -2
- package/es/index.js +2 -2
- package/lib/components/Coachmark/Coachmark.d.ts +2 -1
- package/lib/components/Coachmark/Coachmark.js +6 -0
- package/lib/components/Coachmark/CoachmarkDragbar.d.ts +2 -1
- package/lib/components/Coachmark/CoachmarkDragbar.js +7 -0
- package/lib/components/Coachmark/CoachmarkHeader.d.ts +2 -1
- package/lib/components/Coachmark/CoachmarkHeader.js +7 -0
- package/lib/components/Coachmark/CoachmarkOverlay.d.ts +2 -1
- package/lib/components/Coachmark/CoachmarkOverlay.js +1 -0
- package/lib/components/Coachmark/CoachmarkTagline.d.ts +2 -1
- package/lib/components/Coachmark/CoachmarkTagline.js +7 -0
- package/lib/components/Coachmark/next/Coachmark/CoachmarkBubble/CoachmarkBubble.js +2 -1
- package/lib/components/Coachmark/utils/hooks.js +3 -2
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +2 -1
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +7 -0
- package/lib/components/CoachmarkButton/CoachmarkButton.d.ts +2 -1
- package/lib/components/CoachmarkButton/CoachmarkButton.js +1 -0
- package/lib/components/CoachmarkFixed/CoachmarkFixed.d.ts +1 -0
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +7 -0
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +2 -1
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +1 -0
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +2 -1
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +1 -0
- package/lib/components/CoachmarkStack/CoachmarkStack.d.ts +2 -1
- package/lib/components/CoachmarkStack/CoachmarkStack.js +7 -0
- package/lib/components/CreateFullPage/CreateFullPage.js +1 -1
- package/lib/components/CreateTearsheet/CreateTearsheet.js +2 -2
- package/lib/components/CreateTearsheet/CreateTearsheetStep.js +2 -21
- package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +2 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +4 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +2 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +2 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.d.ts +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +6 -1
- package/lib/components/Datagrid/useResizeTable.js +2 -2
- package/lib/components/Datagrid/useSelectRows.js +2 -1
- package/lib/components/Datagrid/useStickyColumn.js +2 -1
- package/lib/components/PageHeader/next/PageHeader.js +3 -2
- package/lib/components/ScrollGradient/constants.js +2 -1
- package/lib/components/Tearsheet/TearsheetShell.js +3 -5
- package/lib/components/Tearsheet/next/StackContext.d.ts +21 -0
- package/lib/components/Tearsheet/next/StackContext.js +97 -0
- package/lib/components/Tearsheet/next/Tearsheet.d.ts +13 -2
- package/lib/components/Tearsheet/next/Tearsheet.js +44 -8
- package/lib/components/Tearsheet/next/TearsheetBody.d.ts +6 -0
- package/lib/components/Tearsheet/next/TearsheetBody.js +19 -7
- package/lib/components/Tearsheet/next/TearsheetHeaderActions.js +8 -3
- package/lib/components/Tearsheet/next/TearsheetHeaderContent.d.ts +22 -8
- package/lib/components/Tearsheet/next/TearsheetHeaderContent.js +12 -25
- package/lib/components/Tearsheet/next/_story-assets/StepTearsheet.d.ts +3 -2
- package/lib/components/Tearsheet/next/index.d.ts +2 -0
- package/lib/components/index.d.ts +2 -1
- package/lib/global/js/hooks/useCreateComponentFocus.js +34 -4
- package/lib/global/js/hooks/useIsomorphicEffect.d.ts +7 -1
- package/lib/global/js/hooks/useIsomorphicEffect.js +1 -2
- package/lib/global/js/hooks/useResizeObserver.js +3 -2
- package/lib/global/js/hooks/useWindowResize.js +2 -1
- package/lib/global/js/hooks/useWindowScroll.js +2 -1
- package/lib/index.js +15 -13
- package/package.json +14 -14
- package/scss/components/Tearsheet/_tearsheet.scss +11 -6
- package/scss/components/Tearsheet/_tearsheet_next.scss +218 -96
- package/telemetry.yml +11 -7
- package/es/components/Tearsheet/next/index.js +0 -8
- package/lib/components/Tearsheet/next/index.js +0 -14
|
@@ -3182,16 +3182,19 @@ p.c4p--about-modal__copyright-text:first-child {
|
|
|
3182
3182
|
*/
|
|
3183
3183
|
.c4p--tearsheet__next .c4p--tearsheet__next__container {
|
|
3184
3184
|
align-self: flex-end;
|
|
3185
|
+
border: 1px solid var(--cds-border-subtle-01, #c6c6c6);
|
|
3185
3186
|
block-size: 100%;
|
|
3186
3187
|
inset-block-start: auto;
|
|
3187
|
-
max-block-size: calc(100% - 3rem);
|
|
3188
|
-
transform: translate3d(0, min(95vh, 500px), 0);
|
|
3188
|
+
max-block-size: calc(100% - var(--tearsheet-vertical-gap, 3rem));
|
|
3189
3189
|
}
|
|
3190
3190
|
@media (max-width: 41.98rem) {
|
|
3191
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__container {
|
|
3191
|
+
.c4p--tearsheet__next:not(.c4p--tearsheet__next--stack-activated.is-visible) .c4p--tearsheet__next__container {
|
|
3192
3192
|
max-block-size: none;
|
|
3193
3193
|
}
|
|
3194
3194
|
}
|
|
3195
|
+
.c4p--tearsheet__next:not(.is-visible).c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container {
|
|
3196
|
+
transform: translate3d(0, min(95vh, 500px), 0);
|
|
3197
|
+
}
|
|
3195
3198
|
.c4p--tearsheet__next.c4p--tearsheet__next.c4p--tearsheet__next--has-ai-label .c4p--tearsheet__next__container {
|
|
3196
3199
|
border: 1px solid transparent;
|
|
3197
3200
|
/* override carbon ai removing background gradient */
|
|
@@ -3199,8 +3202,13 @@ p.c4p--about-modal__copyright-text:first-child {
|
|
|
3199
3202
|
border-block-end: 0;
|
|
3200
3203
|
box-shadow: 0 4px 10px 2px var(--cds-ai-drop-shadow, rgba(15, 98, 254, 0.1));
|
|
3201
3204
|
}
|
|
3205
|
+
.c4p--tearsheet__next.c4p--tearsheet__next.c4p--tearsheet__next--has-ai-label .c4p--tearsheet__next__main-content {
|
|
3206
|
+
position: relative;
|
|
3207
|
+
background: linear-gradient(to top, var(--cds-background, var(--cds-ai-popover-background, #ffffff)) 0%, var(--cds-ai-aura-start, rgba(69, 137, 255, 0.1)) 0%, 15%, var(--cds-ai-aura-end, rgba(255, 255, 255, 0)) 50%) padding-box, linear-gradient(to top, var(--cds-background, var(--cds-ai-popover-background, #ffffff)), var(--cds-background, var(--cds-ai-popover-background, #ffffff))) padding-box, linear-gradient(to bottom, var(--cds-ai-border-start, rgba(166, 200, 255, 0.64)), var(--cds-ai-border-end, #78a9ff)) border-box, linear-gradient(to top, var(--cds-background, var(--cds-ai-popover-background, #ffffff)), var(--cds-background, var(--cds-ai-popover-background, #ffffff))) border-box;
|
|
3208
|
+
box-shadow: inset 0 -80px 70px -65px var(--cds-ai-inner-shadow, rgba(69, 137, 255, 0.1));
|
|
3209
|
+
}
|
|
3202
3210
|
.c4p--tearsheet__next.c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container {
|
|
3203
|
-
transition: transform 240ms cubic-bezier(0, 0, 0.3, 1), max-
|
|
3211
|
+
transition: transform 240ms cubic-bezier(0, 0, 0.3, 1), max-block-size 240ms cubic-bezier(0, 0, 0.3, 1);
|
|
3204
3212
|
}
|
|
3205
3213
|
@media (min-width: 42rem) {
|
|
3206
3214
|
.c4p--tearsheet__next.c4p--tearsheet__next--wide .c4p--tearsheet__next__container {
|
|
@@ -3238,7 +3246,7 @@ p.c4p--about-modal__copyright-text:first-child {
|
|
|
3238
3246
|
display: grid;
|
|
3239
3247
|
flex-basis: unset;
|
|
3240
3248
|
gap: 1rem;
|
|
3241
|
-
grid-template-columns: auto minmax(var(--tearsheet-header-title-grid-width, 0), 1fr);
|
|
3249
|
+
grid-template-columns: minmax(auto, 40rem) minmax(var(--tearsheet-header-title-grid-width, 0), 1fr);
|
|
3242
3250
|
inline-size: calc(100% - var(--tearsheet-header-action-offset));
|
|
3243
3251
|
}
|
|
3244
3252
|
@media (max-width: 41.98rem) {
|
|
@@ -3256,6 +3264,7 @@ p.c4p--about-modal__copyright-text:first-child {
|
|
|
3256
3264
|
font-weight: var(--cds-label-01-font-weight, 400);
|
|
3257
3265
|
line-height: var(--cds-label-01-line-height, 1.33333);
|
|
3258
3266
|
letter-spacing: var(--cds-label-01-letter-spacing, 0.32px);
|
|
3267
|
+
color: var(--cds-text-secondary, #525252);
|
|
3259
3268
|
margin-block-end: 0.25rem;
|
|
3260
3269
|
}
|
|
3261
3270
|
.c4p--tearsheet__next .c4p--tearsheet__next__header-title {
|
|
@@ -3280,17 +3289,10 @@ p.c4p--about-modal__copyright-text:first-child {
|
|
|
3280
3289
|
.c4p--tearsheet__next .c4p--tearsheet__next__header-title svg {
|
|
3281
3290
|
flex-shrink: 0;
|
|
3282
3291
|
}
|
|
3283
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__header-title.c4p--
|
|
3284
|
-
flex-direction: row;
|
|
3285
|
-
}
|
|
3286
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__header-title.c4p--tearsheet__next__leading-icon svg {
|
|
3292
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-title .c4p--tearsheet__next__title-start {
|
|
3287
3293
|
margin-inline-end: 1rem;
|
|
3288
3294
|
}
|
|
3289
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__header-title.c4p--
|
|
3290
|
-
flex-direction: row-reverse;
|
|
3291
|
-
justify-content: flex-end;
|
|
3292
|
-
}
|
|
3293
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__header-title.c4p--tearsheet__next__trailing-icon svg {
|
|
3295
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-title .c4p--tearsheet__next__title-end {
|
|
3294
3296
|
margin-inline-start: 1rem;
|
|
3295
3297
|
}
|
|
3296
3298
|
.c4p--tearsheet__next .c4p--tearsheet__next__header-description {
|
|
@@ -3302,9 +3304,6 @@ p.c4p--about-modal__copyright-text:first-child {
|
|
|
3302
3304
|
.c4p--tearsheet__next .c4p--tearsheet__next__header--no-close-icon {
|
|
3303
3305
|
display: none;
|
|
3304
3306
|
}
|
|
3305
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__header-content {
|
|
3306
|
-
max-inline-size: 40rem;
|
|
3307
|
-
}
|
|
3308
3307
|
.c4p--tearsheet__next .c4p--tearsheet__next__navigation-bar {
|
|
3309
3308
|
position: relative;
|
|
3310
3309
|
display: flex;
|
|
@@ -3316,8 +3315,8 @@ p.c4p--about-modal__copyright-text:first-child {
|
|
|
3316
3315
|
}
|
|
3317
3316
|
.c4p--tearsheet__next .c4p--tearsheet__next__navigation-bar .c4p--tearsheet__next__scroller-container {
|
|
3318
3317
|
position: absolute;
|
|
3319
|
-
inset-
|
|
3320
|
-
|
|
3318
|
+
inset-block-end: 0.125rem;
|
|
3319
|
+
inset-inline-end: calc(-2rem + 0.125rem);
|
|
3321
3320
|
}
|
|
3322
3321
|
@media (max-width: 41.98rem) {
|
|
3323
3322
|
.c4p--tearsheet__next .c4p--tearsheet__next__navigation-bar .c4p--tearsheet__next__scroller-container {
|
|
@@ -3344,8 +3343,14 @@ p.c4p--about-modal__copyright-text:first-child {
|
|
|
3344
3343
|
inline-size: 100%;
|
|
3345
3344
|
margin-block-start: -14px;
|
|
3346
3345
|
}
|
|
3347
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__content__header-actions >
|
|
3348
|
-
|
|
3346
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__content__header-actions > *.c4p--tearsheet__next__header-action-item:not([data-hidden=true]) {
|
|
3347
|
+
margin-inline-end: 0.5rem; /* space between visible items */
|
|
3348
|
+
}
|
|
3349
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__content__header-actions {
|
|
3350
|
+
/* Remove margin on the last visible item */
|
|
3351
|
+
}
|
|
3352
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__content__header-actions > *.c4p--tearsheet__next__header-action-item:not([data-hidden=true]):nth-last-child(2) {
|
|
3353
|
+
margin-inline-end: 0;
|
|
3349
3354
|
}
|
|
3350
3355
|
.c4p--tearsheet__next .c4p--tearsheet__next__content__header-actions > * {
|
|
3351
3356
|
flex-shrink: 0;
|
|
@@ -3356,43 +3361,121 @@ p.c4p--about-modal__copyright-text:first-child {
|
|
|
3356
3361
|
margin-inline-end: 0;
|
|
3357
3362
|
}
|
|
3358
3363
|
}
|
|
3359
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__header {
|
|
3360
|
-
|
|
3364
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--narrow .c4p--tearsheet__next__header {
|
|
3365
|
+
padding-inline: 1rem;
|
|
3366
|
+
}
|
|
3367
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--narrow .c4p--tearsheet__next__header.c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions {
|
|
3368
|
+
display: none;
|
|
3369
|
+
}
|
|
3370
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--narrow .c4p--tearsheet__next__header-content-wrapper {
|
|
3371
|
+
display: flex;
|
|
3372
|
+
flex-direction: column;
|
|
3373
|
+
}
|
|
3374
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--narrow .c4p--tearsheet__next__header-title {
|
|
3375
|
+
font-size: var(--cds-heading-03-font-size, 1.25rem);
|
|
3376
|
+
font-weight: var(--cds-heading-03-font-weight, 400);
|
|
3377
|
+
line-height: var(--cds-heading-03-line-height, 1.4);
|
|
3378
|
+
letter-spacing: var(--cds-heading-03-letter-spacing, 0);
|
|
3379
|
+
}
|
|
3380
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--narrow .c4p--tearsheet__next__content__header-actions {
|
|
3381
|
+
justify-content: flex-start;
|
|
3382
|
+
margin-inline-end: 0;
|
|
3383
|
+
}
|
|
3384
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--narrow .c4p--tearsheet__next__body {
|
|
3385
|
+
grid-template-columns: 1fr 0;
|
|
3386
|
+
}
|
|
3387
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--narrow .c4p--tearsheet__next__influencer:not(.c4p--tearsheet__next__flush),
|
|
3388
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--narrow .c4p--tearsheet__next__main-content:not(.c4p--tearsheet__next__flush),
|
|
3389
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--narrow .c4p--tearsheet__next__summary-content:not(.c4p--tearsheet__next__flush) {
|
|
3390
|
+
padding-inline: 1rem;
|
|
3361
3391
|
}
|
|
3362
3392
|
.c4p--tearsheet__next .c4p--tearsheet__next__header > *:not(.c4p--tearsheet__next__navigation-bar,
|
|
3363
3393
|
.c4p--tearsheet__next__header-content-wrapper,
|
|
3364
|
-
.cds--modal-close-button
|
|
3365
|
-
.
|
|
3394
|
+
.cds--modal-close-button,
|
|
3395
|
+
.excludeFromCollapse) {
|
|
3366
3396
|
overflow: hidden;
|
|
3367
3397
|
max-block-size: 50vh;
|
|
3368
3398
|
opacity: 1;
|
|
3369
|
-
transition:
|
|
3399
|
+
transition: max-block-size 240ms cubic-bezier(0, 0, 0.3, 1), opacity 240ms cubic-bezier(0, 0, 0.3, 1), margin 240ms cubic-bezier(0, 0, 0.3, 1), padding 240ms cubic-bezier(0, 0, 0.3, 1);
|
|
3400
|
+
}
|
|
3401
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header .c4p--tearsheet__next__header-actions,
|
|
3402
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header .c4p--tearsheet__next__header-content-wrapper .c4p--tearsheet__next__header-content *:not(.c4p--tearsheet__next__content__title-wrapper,
|
|
3403
|
+
.c4p--tearsheet__next__header-label) {
|
|
3404
|
+
opacity: 1;
|
|
3405
|
+
transition: all 240ms cubic-bezier(0, 0, 0.3, 1), opacity 240ms cubic-bezier(0, 0, 0.3, 1);
|
|
3406
|
+
}
|
|
3407
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed {
|
|
3408
|
+
padding-block-start: 0.75rem;
|
|
3409
|
+
transition: padding 240ms cubic-bezier(0, 0, 0.3, 1);
|
|
3370
3410
|
}
|
|
3371
3411
|
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed > *:not(.c4p--tearsheet__next__navigation-bar,
|
|
3372
3412
|
.c4p--tearsheet__next__header-content-wrapper,
|
|
3373
3413
|
.cds--modal-close-button,
|
|
3374
3414
|
.excludeFromCollapse),
|
|
3375
3415
|
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions > *:not(.c4p--tearsheet__next__content__header-actions),
|
|
3376
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content
|
|
3416
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content > *:not(.c4p--tearsheet__next__content__title-wrapper),
|
|
3377
3417
|
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed > *:not(.c4p--tearsheet__next__navigation-bar,
|
|
3378
3418
|
.c4p--tearsheet__next__header-content-wrapper,
|
|
3379
3419
|
.cds--modal-close-button,
|
|
3380
|
-
.excludeFromCollapse)
|
|
3420
|
+
.excludeFromCollapse) *,
|
|
3421
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content-wrapper .c4p--tearsheet__next__header-content > *:not(.c4p--tearsheet__next__content__title-wrapper) * {
|
|
3381
3422
|
overflow: hidden;
|
|
3382
3423
|
padding: 0;
|
|
3383
3424
|
margin: 0;
|
|
3384
3425
|
max-block-size: 0;
|
|
3385
|
-
min-block-size: 0;
|
|
3386
3426
|
opacity: 0;
|
|
3387
|
-
|
|
3388
|
-
|
|
3427
|
+
pointer-events: none;
|
|
3428
|
+
transition: all 240ms cubic-bezier(0, 0, 0.3, 1);
|
|
3429
|
+
}
|
|
3430
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-title {
|
|
3431
|
+
font-size: var(--cds-label-02-font-size, 0.875rem);
|
|
3432
|
+
font-weight: var(--cds-label-02-font-weight, 400);
|
|
3433
|
+
line-height: var(--cds-label-02-line-height, 1.28572);
|
|
3434
|
+
letter-spacing: var(--cds-label-02-letter-spacing, 0.16px);
|
|
3435
|
+
align-items: center;
|
|
3436
|
+
margin-block-start: 0.25rem;
|
|
3437
|
+
transition: all 240ms cubic-bezier(0, 0, 0.3, 1);
|
|
3438
|
+
}
|
|
3439
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-title > span {
|
|
3440
|
+
display: flex;
|
|
3441
|
+
align-items: center;
|
|
3442
|
+
block-size: 1.5rem;
|
|
3443
|
+
}
|
|
3444
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content {
|
|
3445
|
+
align-self: center;
|
|
3446
|
+
margin-block-end: 0;
|
|
3447
|
+
}
|
|
3448
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__content__header-actions {
|
|
3449
|
+
margin-block-start: -0.125rem;
|
|
3450
|
+
}
|
|
3451
|
+
@media (max-width: 41.98rem) {
|
|
3452
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions {
|
|
3453
|
+
display: none;
|
|
3454
|
+
}
|
|
3389
3455
|
}
|
|
3390
3456
|
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content-wrapper,
|
|
3391
3457
|
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content,
|
|
3392
3458
|
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__content__title-wrapper,
|
|
3393
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions
|
|
3459
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions,
|
|
3460
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-title {
|
|
3394
3461
|
margin-block: 0;
|
|
3395
|
-
transition:
|
|
3462
|
+
transition: margin-block 240ms ease;
|
|
3463
|
+
}
|
|
3464
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content-wrapper {
|
|
3465
|
+
min-block-size: 2.5rem;
|
|
3466
|
+
padding-block-end: 0.75rem;
|
|
3467
|
+
}
|
|
3468
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__navigation-bar::before {
|
|
3469
|
+
position: absolute;
|
|
3470
|
+
z-index: 1;
|
|
3471
|
+
background: rgba(0, 0, 0, 0.12);
|
|
3472
|
+
block-size: 1px;
|
|
3473
|
+
content: "";
|
|
3474
|
+
inline-size: 100vw;
|
|
3475
|
+
inset-block-start: -0.25rem;
|
|
3476
|
+
inset-inline-start: 50%;
|
|
3477
|
+
pointer-events: none;
|
|
3478
|
+
transform: translateX(-50%);
|
|
3396
3479
|
}
|
|
3397
3480
|
.c4p--tearsheet__next .c4p--tearsheet__next__body-layout {
|
|
3398
3481
|
display: grid;
|
|
@@ -3411,6 +3494,7 @@ p.c4p--about-modal__copyright-text:first-child {
|
|
|
3411
3494
|
/* Assign components to their named grid areas */
|
|
3412
3495
|
}
|
|
3413
3496
|
.c4p--tearsheet__next .c4p--tearsheet__next__influencer {
|
|
3497
|
+
border-inline-end: 1px solid var(--cds-border-subtle-01, #c6c6c6);
|
|
3414
3498
|
grid-area: influencer;
|
|
3415
3499
|
}
|
|
3416
3500
|
.c4p--tearsheet__next .c4p--tearsheet__next__body {
|
|
@@ -3436,19 +3520,21 @@ p.c4p--about-modal__copyright-text:first-child {
|
|
|
3436
3520
|
.c4p--tearsheet__next .c4p--tearsheet__next__main-content,
|
|
3437
3521
|
.c4p--tearsheet__next .c4p--tearsheet__next__summary-content {
|
|
3438
3522
|
overflow: auto;
|
|
3523
|
+
}
|
|
3524
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__influencer:not(.c4p--tearsheet__next__flush),
|
|
3525
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__main-content:not(.c4p--tearsheet__next__flush),
|
|
3526
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__summary-content:not(.c4p--tearsheet__next__flush) {
|
|
3439
3527
|
padding-inline: 2rem;
|
|
3440
3528
|
}
|
|
3441
3529
|
@media (max-width: 41.98rem) {
|
|
3442
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__influencer,
|
|
3443
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__main-content,
|
|
3444
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__summary-content {
|
|
3530
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__influencer:not(.c4p--tearsheet__next__flush),
|
|
3531
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__main-content:not(.c4p--tearsheet__next__flush),
|
|
3532
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__summary-content:not(.c4p--tearsheet__next__flush) {
|
|
3445
3533
|
padding-inline: 1rem;
|
|
3446
3534
|
}
|
|
3447
3535
|
}
|
|
3448
3536
|
.c4p--tearsheet__next .c4p--tearsheet__next__main-content {
|
|
3449
3537
|
position: relative;
|
|
3450
|
-
background: linear-gradient(to top, var(--cds-background, var(--cds-ai-popover-background, #ffffff)) 0%, var(--cds-ai-aura-start, rgba(69, 137, 255, 0.1)) 0%, 15%, var(--cds-ai-aura-end, rgba(255, 255, 255, 0)) 50%) padding-box, linear-gradient(to top, var(--cds-background, var(--cds-ai-popover-background, #ffffff)), var(--cds-background, var(--cds-ai-popover-background, #ffffff))) padding-box, linear-gradient(to bottom, var(--cds-ai-border-start, rgba(166, 200, 255, 0.64)), var(--cds-ai-border-end, #78a9ff)) border-box, linear-gradient(to top, var(--cds-background, var(--cds-ai-popover-background, #ffffff)), var(--cds-background, var(--cds-ai-popover-background, #ffffff))) border-box;
|
|
3451
|
-
box-shadow: inset 0 -80px 70px -65px var(--cds-ai-inner-shadow, rgba(69, 137, 255, 0.1));
|
|
3452
3538
|
}
|
|
3453
3539
|
.c4p--tearsheet__next .c4p--side-panel {
|
|
3454
3540
|
position: absolute;
|
|
@@ -3461,31 +3547,29 @@ p.c4p--about-modal__copyright-text:first-child {
|
|
|
3461
3547
|
.c4p--tearsheet__next .c4p--side-panel .c4p--side-panel__header {
|
|
3462
3548
|
min-block-size: 0;
|
|
3463
3549
|
}
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
display: flex;
|
|
3470
|
-
flex-direction: column;
|
|
3471
|
-
}
|
|
3472
|
-
.c4p--tearsheet__next--narrow .c4p--tearsheet__next__header-title {
|
|
3473
|
-
font-size: var(--cds-heading-03-font-size, 1.25rem);
|
|
3474
|
-
font-weight: var(--cds-heading-03-font-weight, 400);
|
|
3475
|
-
line-height: var(--cds-heading-03-line-height, 1.4);
|
|
3476
|
-
letter-spacing: var(--cds-heading-03-letter-spacing, 0);
|
|
3550
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--stack-activated.is-visible {
|
|
3551
|
+
--overlay-color: var(--cds-overlay, rgba(22, 22, 22, 0.5));
|
|
3552
|
+
--overlay-alpha: 0.5;
|
|
3553
|
+
z-index: calc(9000 - var(--stack-depth, 0));
|
|
3554
|
+
background-color: initial;
|
|
3477
3555
|
}
|
|
3478
|
-
.c4p--tearsheet__next
|
|
3479
|
-
|
|
3480
|
-
|
|
3556
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--stack-activated.is-visible::before {
|
|
3557
|
+
position: absolute;
|
|
3558
|
+
display: block;
|
|
3559
|
+
background: var(--overlay-color);
|
|
3560
|
+
content: "";
|
|
3561
|
+
inset: 0;
|
|
3562
|
+
opacity: calc(var(--overlay-alpha) - var(--stack-depth) * 0.1);
|
|
3563
|
+
transition: background-color 240ms cubic-bezier(0.4, 0.14, 1, 1), opacity 240ms cubic-bezier(0.4, 0.14, 1, 1);
|
|
3481
3564
|
}
|
|
3482
|
-
|
|
3483
|
-
|
|
3565
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3566
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--stack-activated.is-visible::before {
|
|
3567
|
+
transition: none;
|
|
3568
|
+
}
|
|
3484
3569
|
}
|
|
3485
|
-
.c4p--tearsheet__next--
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
padding-inline: 1rem;
|
|
3570
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--stack-activated.is-visible.is-visible .c4p--tearsheet__next__container {
|
|
3571
|
+
max-block-size: calc(100% - var(--tearsheet-vertical-gap, 3rem) + var(--block-size-change));
|
|
3572
|
+
transform: scaleX(var(--scale-factor));
|
|
3489
3573
|
}
|
|
3490
3574
|
|
|
3491
3575
|
.c4p--tearsheet.c4p--tearsheet {
|
|
@@ -3506,6 +3590,9 @@ p.c4p--about-modal__copyright-text:first-child {
|
|
|
3506
3590
|
transition: none;
|
|
3507
3591
|
}
|
|
3508
3592
|
}
|
|
3593
|
+
.c4p--tearsheet.c4p--tearsheet:not(.is-visible).c4p--tearsheet.c4p--tearsheet .c4p--tearsheet__container {
|
|
3594
|
+
transform: translate3d(0, min(95vh, 500px), 0);
|
|
3595
|
+
}
|
|
3509
3596
|
.c4p--tearsheet.c4p--tearsheet.c4p--tearsheet.c4p--tearsheet {
|
|
3510
3597
|
/* tearsheet uses --overlay-color and --overlay-opacity in ::before */
|
|
3511
3598
|
background: initial;
|
|
@@ -3547,7 +3634,6 @@ p.c4p--about-modal__copyright-text:first-child {
|
|
|
3547
3634
|
block-size: 100%;
|
|
3548
3635
|
inset-block-start: auto;
|
|
3549
3636
|
max-block-size: calc(100% - 3rem);
|
|
3550
|
-
transform: translate3d(0, min(95vh, 500px), 0);
|
|
3551
3637
|
}
|
|
3552
3638
|
.c4p--tearsheet.c4p--tearsheet.c4p--tearsheet.c4p--tearsheet.c4p--tearsheet--has-slug .c4p--tearsheet__container, .c4p--tearsheet.c4p--tearsheet.c4p--tearsheet.c4p--tearsheet.c4p--tearsheet--has-ai-label .c4p--tearsheet__container {
|
|
3553
3639
|
border: 1px solid transparent;
|