prime-ui-kit 0.7.2 → 0.7.3
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/dist/components/drawer/Drawer.d.ts +11 -66
- package/dist/components/drawer/Drawer.d.ts.map +1 -1
- package/dist/components/drawer/examples/cart-preview.d.ts.map +1 -1
- package/dist/components/drawer/examples/explicit-panel.d.ts +1 -1
- package/dist/components/drawer/examples/explicit-panel.d.ts.map +1 -1
- package/dist/components/drawer/examples/filters-panel.d.ts.map +1 -1
- package/dist/components/drawer/examples/mobile-nav-sheet.d.ts +1 -1
- package/dist/components/drawer/examples/mobile-nav-sheet.d.ts.map +1 -1
- package/dist/components/drawer/examples/settings-side.d.ts +1 -1
- package/dist/components/drawer/examples/settings-side.d.ts.map +1 -1
- package/dist/components/index.css +77 -82
- package/dist/components/index.css.map +3 -3
- package/dist/components/index.js +98 -158
- package/dist/components/index.js.map +3 -3
- package/dist/hooks/useScrollLock.d.ts +1 -1
- package/dist/index.css +77 -82
- package/dist/index.css.map +3 -3
- package/dist/index.js +98 -158
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
- package/src/components/drawer/COMPONENT.md +93 -153
- package/src/components/drawer/examples/cart-preview.tsx +43 -38
- package/src/components/drawer/examples/explicit-panel.tsx +29 -29
- package/src/components/drawer/examples/filters-panel.tsx +45 -40
- package/src/components/drawer/examples/mobile-nav-sheet.tsx +35 -30
- package/src/components/drawer/examples/settings-side.tsx +47 -42
|
@@ -1,71 +1,16 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
|
-
export type
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
closeOnEscape?: boolean;
|
|
10
|
-
closeOnOverlayClick?: boolean;
|
|
2
|
+
export type DrawerSide = "left" | "right";
|
|
3
|
+
export type DrawerProps = {
|
|
4
|
+
open: boolean;
|
|
5
|
+
onOpenChange: (open: boolean) => void;
|
|
6
|
+
title: React.ReactNode;
|
|
7
|
+
description?: React.ReactNode;
|
|
8
|
+
icon?: React.ReactNode;
|
|
11
9
|
children: React.ReactNode;
|
|
12
|
-
|
|
13
|
-
declare function DrawerRoot({ open, defaultOpen, onOpenChange, closeOnEscape, closeOnOverlayClick, children, }: DrawerRootProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export type DrawerTriggerProps = {
|
|
15
|
-
children: React.ReactElement<{
|
|
16
|
-
onClick?: React.MouseEventHandler;
|
|
17
|
-
}>;
|
|
18
|
-
};
|
|
19
|
-
declare function DrawerTrigger({ children }: DrawerTriggerProps): React.ReactElement<{
|
|
20
|
-
onClick?: React.MouseEventHandler;
|
|
21
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
22
|
-
export type DrawerCloseProps = {
|
|
23
|
-
children: React.ReactElement<{
|
|
24
|
-
onClick?: React.MouseEventHandler;
|
|
25
|
-
className?: string;
|
|
26
|
-
}>;
|
|
27
|
-
};
|
|
28
|
-
declare function DrawerClose({ children }: DrawerCloseProps): React.ReactElement<{
|
|
29
|
-
onClick?: React.MouseEventHandler;
|
|
30
|
-
className?: string;
|
|
31
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
32
|
-
export type DrawerPortalProps = {
|
|
33
|
-
children: React.ReactNode;
|
|
34
|
-
container?: HTMLElement | null;
|
|
35
|
-
};
|
|
36
|
-
declare function DrawerPortal({ children, container }: DrawerPortalProps): import("react/jsx-runtime").JSX.Element | null;
|
|
37
|
-
export type DrawerOverlayProps = React.HTMLAttributes<HTMLDivElement>;
|
|
38
|
-
declare function DrawerOverlay({ className, onClick, ...rest }: DrawerOverlayProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
export type DrawerPanelProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
10
|
+
footer?: React.ReactNode;
|
|
40
11
|
side?: DrawerSide;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"aria-labelledby"?: string;
|
|
44
|
-
"aria-describedby"?: string;
|
|
45
|
-
};
|
|
46
|
-
declare function DrawerPanel({ children, className, side, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, ...rest }: DrawerPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
47
|
-
export type DrawerHeaderProps = React.HTMLAttributes<HTMLElement> & {
|
|
48
|
-
showCloseButton?: boolean;
|
|
49
|
-
};
|
|
50
|
-
declare function DrawerHeader({ children, className, showCloseButton, ...rest }: DrawerHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
51
|
-
export type DrawerTitleProps = React.HTMLAttributes<HTMLHeadingElement>;
|
|
52
|
-
declare function DrawerTitle({ children, className, ...rest }: DrawerTitleProps): import("react/jsx-runtime").JSX.Element;
|
|
53
|
-
export type DrawerContentProps = React.HTMLAttributes<HTMLDivElement>;
|
|
54
|
-
export type DrawerLegacyContentProps = DrawerPanelProps;
|
|
55
|
-
declare function DrawerContent(props: DrawerContentProps | DrawerLegacyContentProps): import("react/jsx-runtime").JSX.Element;
|
|
56
|
-
export type DrawerFooterProps = React.HTMLAttributes<HTMLElement>;
|
|
57
|
-
declare function DrawerFooter({ children, className, ...rest }: DrawerFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
58
|
-
export declare const Drawer: {
|
|
59
|
-
Root: typeof DrawerRoot;
|
|
60
|
-
Trigger: typeof DrawerTrigger;
|
|
61
|
-
Close: typeof DrawerClose;
|
|
62
|
-
Portal: typeof DrawerPortal;
|
|
63
|
-
Overlay: typeof DrawerOverlay;
|
|
64
|
-
Panel: typeof DrawerPanel;
|
|
65
|
-
Content: typeof DrawerContent;
|
|
66
|
-
Body: typeof DrawerContent;
|
|
67
|
-
Header: typeof DrawerHeader;
|
|
68
|
-
Title: typeof DrawerTitle;
|
|
69
|
-
Footer: typeof DrawerFooter;
|
|
12
|
+
className?: string;
|
|
13
|
+
overlayClassName?: string;
|
|
70
14
|
};
|
|
15
|
+
export declare function Drawer({ open, onOpenChange, title, description, icon, children, footer, side, className, overlayClassName, }: DrawerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
71
16
|
//# sourceMappingURL=Drawer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoB/B,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,CAAC;AAE1C,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,wBAAgB,MAAM,CAAC,EACrB,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,WAAW,EACX,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,IAAc,EACd,SAAS,EACT,gBAAgB,GACjB,EAAE,WAAW,kDA+Ib"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart-preview.d.ts","sourceRoot":"","sources":["../../../../../src/components/drawer/examples/cart-preview.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cart-preview.d.ts","sourceRoot":"","sources":["../../../../../src/components/drawer/examples/cart-preview.tsx"],"names":[],"mappings":"AAaA;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,wBAAwB,4CA2C/C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Canonical new API with icon + subtitle in header and actions in footer.
|
|
3
3
|
*/
|
|
4
4
|
export default function DrawerExampleExplicitPanel(): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
//# sourceMappingURL=explicit-panel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"explicit-panel.d.ts","sourceRoot":"","sources":["../../../../../src/components/drawer/examples/explicit-panel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"explicit-panel.d.ts","sourceRoot":"","sources":["../../../../../src/components/drawer/examples/explicit-panel.tsx"],"names":[],"mappings":"AAQA;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,0BAA0B,4CA4BjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filters-panel.d.ts","sourceRoot":"","sources":["../../../../../src/components/drawer/examples/filters-panel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"filters-panel.d.ts","sourceRoot":"","sources":["../../../../../src/components/drawer/examples/filters-panel.tsx"],"names":[],"mappings":"AASA;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,yBAAyB,4CA6ChD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Mobile navigation surface with explicit close on item selection.
|
|
3
3
|
*/
|
|
4
4
|
export default function DrawerExampleMobileNavSheet(): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
//# sourceMappingURL=mobile-nav-sheet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mobile-nav-sheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/drawer/examples/mobile-nav-sheet.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mobile-nav-sheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/drawer/examples/mobile-nav-sheet.tsx"],"names":[],"mappings":"AAUA;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,2BAA2B,4CAkClD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Settings on the trailing edge: form fields
|
|
2
|
+
* Settings on the trailing edge: form fields live in the scroll body, actions are fixed in footer.
|
|
3
3
|
*/
|
|
4
4
|
export default function DrawerExampleSettingsSide(): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
//# sourceMappingURL=settings-side.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-side.d.ts","sourceRoot":"","sources":["../../../../../src/components/drawer/examples/settings-side.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"settings-side.d.ts","sourceRoot":"","sources":["../../../../../src/components/drawer/examples/settings-side.tsx"],"names":[],"mappings":"AASA;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,yBAAyB,4CA8ChD"}
|
|
@@ -5294,130 +5294,117 @@
|
|
|
5294
5294
|
z-index: var(--prime-sys-elevation-zIndex-drawer);
|
|
5295
5295
|
background: var(--prime-sys-color-surface-overlay);
|
|
5296
5296
|
backdrop-filter: blur(var(--prime-sys-unit-8px));
|
|
5297
|
-
animation: Drawer_drawerFadeIn2 var(--prime-sys-motion-medium) var(--prime-sys-motion-standard);
|
|
5298
5297
|
}
|
|
5299
5298
|
.Drawer_overlay2[data-nested-in-modal=true] {
|
|
5300
5299
|
z-index: var(--prime-sys-elevation-zIndex-drawerNestedShell);
|
|
5301
5300
|
}
|
|
5301
|
+
.Drawer_overlay2[data-state=open] {
|
|
5302
|
+
animation: Drawer_drawerFadeIn2 var(--prime-sys-motion-medium) var(--prime-sys-motion-standard);
|
|
5303
|
+
}
|
|
5304
|
+
.Drawer_overlay2[data-state=closing] {
|
|
5305
|
+
animation: Drawer_drawerFadeOut2 var(--prime-sys-motion-medium) var(--prime-sys-motion-standard);
|
|
5306
|
+
}
|
|
5302
5307
|
.Drawer_panel2 {
|
|
5303
5308
|
position: fixed;
|
|
5304
|
-
|
|
5309
|
+
top: 0;
|
|
5310
|
+
bottom: 0;
|
|
5311
|
+
width: min(28rem, 90vw);
|
|
5305
5312
|
display: flex;
|
|
5306
5313
|
flex-direction: column;
|
|
5307
5314
|
min-height: 0;
|
|
5308
5315
|
overflow: hidden;
|
|
5316
|
+
z-index: var(--prime-sys-elevation-zIndex-drawer);
|
|
5309
5317
|
background: color-mix(in srgb, var(--prime-sys-color-surface-elevated) 94%, transparent);
|
|
5310
5318
|
color: var(--prime-sys-color-content-primary);
|
|
5311
5319
|
border: var(--prime-sys-unit-1px) solid var(--prime-sys-color-border-subtle);
|
|
5312
5320
|
box-shadow: var(--prime-sys-elevation-shadow-modal);
|
|
5313
5321
|
outline: none;
|
|
5314
|
-
--drawer-padding-x: var(--prime-sys-size-drawer-m-paddingX);
|
|
5315
|
-
--drawer-padding-y: var(--prime-sys-size-drawer-m-paddingY);
|
|
5316
|
-
--drawer-title-gap: var(--prime-sys-size-drawer-m-titleGap);
|
|
5317
|
-
--drawer-header-gap: var(--prime-sys-size-drawer-m-headerGap);
|
|
5318
|
-
--drawer-footer-gap: var(--prime-sys-size-drawer-m-footerGap);
|
|
5319
|
-
--drawer-title-text: var(--prime-sys-size-drawer-m-titleText);
|
|
5320
|
-
--drawer-panel-width: min(22rem, 92vw);
|
|
5321
5322
|
}
|
|
5322
5323
|
.Drawer_panel2[data-nested-in-modal=true] {
|
|
5323
5324
|
z-index: var(--prime-sys-elevation-zIndex-drawerNestedShell);
|
|
5324
5325
|
}
|
|
5325
|
-
.Drawer_panel2[data-size=s] {
|
|
5326
|
-
--drawer-padding-x: var(--prime-sys-size-drawer-s-paddingX);
|
|
5327
|
-
--drawer-padding-y: var(--prime-sys-size-drawer-s-paddingY);
|
|
5328
|
-
--drawer-title-gap: var(--prime-sys-size-drawer-s-titleGap);
|
|
5329
|
-
--drawer-header-gap: var(--prime-sys-size-drawer-s-headerGap);
|
|
5330
|
-
--drawer-footer-gap: var(--prime-sys-size-drawer-s-footerGap);
|
|
5331
|
-
--drawer-title-text: var(--prime-sys-size-drawer-s-titleText);
|
|
5332
|
-
}
|
|
5333
|
-
.Drawer_panel2[data-size=l] {
|
|
5334
|
-
--drawer-padding-x: var(--prime-sys-size-drawer-l-paddingX);
|
|
5335
|
-
--drawer-padding-y: var(--prime-sys-size-drawer-l-paddingY);
|
|
5336
|
-
--drawer-title-gap: var(--prime-sys-size-drawer-l-titleGap);
|
|
5337
|
-
--drawer-header-gap: var(--prime-sys-size-drawer-l-headerGap);
|
|
5338
|
-
--drawer-footer-gap: var(--prime-sys-size-drawer-l-footerGap);
|
|
5339
|
-
--drawer-title-text: var(--prime-sys-size-drawer-l-titleText);
|
|
5340
|
-
}
|
|
5341
|
-
.Drawer_panel2[data-size=xl] {
|
|
5342
|
-
--drawer-padding-x: var(--prime-sys-size-drawer-xl-paddingX);
|
|
5343
|
-
--drawer-padding-y: var(--prime-sys-size-drawer-xl-paddingY);
|
|
5344
|
-
--drawer-title-gap: var(--prime-sys-size-drawer-xl-titleGap);
|
|
5345
|
-
--drawer-header-gap: var(--prime-sys-size-drawer-xl-headerGap);
|
|
5346
|
-
--drawer-footer-gap: var(--prime-sys-size-drawer-xl-footerGap);
|
|
5347
|
-
--drawer-title-text: var(--prime-sys-size-drawer-xl-titleText);
|
|
5348
|
-
}
|
|
5349
5326
|
.Drawer_panel2[data-side=right] {
|
|
5350
|
-
top: 0;
|
|
5351
5327
|
right: 0;
|
|
5352
|
-
bottom: 0;
|
|
5353
|
-
width: var(--drawer-panel-width);
|
|
5354
5328
|
border-radius: var(--prime-sys-shape-radius-l) 0 0 var(--prime-sys-shape-radius-l);
|
|
5355
|
-
animation: Drawer_drawerSlideRight2 var(--prime-sys-motion-medium) var(--prime-sys-motion-standard);
|
|
5356
5329
|
}
|
|
5357
5330
|
.Drawer_panel2[data-side=left] {
|
|
5358
|
-
top: 0;
|
|
5359
5331
|
left: 0;
|
|
5360
|
-
bottom: 0;
|
|
5361
|
-
width: var(--drawer-panel-width);
|
|
5362
5332
|
border-radius: 0 var(--prime-sys-shape-radius-l) var(--prime-sys-shape-radius-l) 0;
|
|
5363
|
-
animation: Drawer_drawerSlideLeft2 var(--prime-sys-motion-medium) var(--prime-sys-motion-standard);
|
|
5364
5333
|
}
|
|
5365
|
-
.Drawer_panel2[data-side=
|
|
5366
|
-
|
|
5367
|
-
right: 0;
|
|
5368
|
-
bottom: 0;
|
|
5369
|
-
max-height: 82vh;
|
|
5370
|
-
border-radius: var(--prime-sys-shape-radius-l) var(--prime-sys-shape-radius-l) 0 0;
|
|
5371
|
-
animation: Drawer_drawerSlideBottom2 var(--prime-sys-motion-medium) var(--prime-sys-motion-standard);
|
|
5334
|
+
.Drawer_panel2[data-state=open][data-side=right] {
|
|
5335
|
+
animation: Drawer_drawerSlideInFromRight2 var(--prime-sys-motion-medium) var(--prime-sys-motion-standard);
|
|
5372
5336
|
}
|
|
5373
|
-
.Drawer_panel2[data-side=
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5337
|
+
.Drawer_panel2[data-state=closing][data-side=right] {
|
|
5338
|
+
animation: Drawer_drawerSlideOutToRight2 var(--prime-sys-motion-medium) var(--prime-sys-motion-standard);
|
|
5339
|
+
}
|
|
5340
|
+
.Drawer_panel2[data-state=open][data-side=left] {
|
|
5341
|
+
animation: Drawer_drawerSlideInFromLeft2 var(--prime-sys-motion-medium) var(--prime-sys-motion-standard);
|
|
5342
|
+
}
|
|
5343
|
+
.Drawer_panel2[data-state=closing][data-side=left] {
|
|
5344
|
+
animation: Drawer_drawerSlideOutToLeft2 var(--prime-sys-motion-medium) var(--prime-sys-motion-standard);
|
|
5380
5345
|
}
|
|
5381
5346
|
.Drawer_header2 {
|
|
5382
5347
|
display: flex;
|
|
5383
|
-
align-items:
|
|
5348
|
+
align-items: flex-start;
|
|
5384
5349
|
justify-content: space-between;
|
|
5385
|
-
gap: var(--
|
|
5386
|
-
padding-inline: var(--
|
|
5387
|
-
padding-block: var(--
|
|
5350
|
+
gap: var(--prime-sys-spacing-x3);
|
|
5351
|
+
padding-inline: var(--prime-sys-spacing-x5);
|
|
5352
|
+
padding-block: var(--prime-sys-spacing-x5);
|
|
5388
5353
|
border-bottom: var(--prime-sys-unit-1px) solid var(--prime-sys-color-border-subtle);
|
|
5389
5354
|
flex-shrink: 0;
|
|
5390
5355
|
}
|
|
5391
|
-
.
|
|
5356
|
+
.Drawer_headerMain2 {
|
|
5392
5357
|
display: flex;
|
|
5393
|
-
|
|
5394
|
-
gap: var(--
|
|
5395
|
-
flex: 1;
|
|
5358
|
+
align-items: flex-start;
|
|
5359
|
+
gap: var(--prime-sys-spacing-x3);
|
|
5396
5360
|
min-width: 0;
|
|
5397
5361
|
}
|
|
5398
|
-
.
|
|
5362
|
+
.Drawer_icon2 {
|
|
5363
|
+
display: inline-flex;
|
|
5364
|
+
align-items: center;
|
|
5365
|
+
justify-content: center;
|
|
5366
|
+
width: var(--prime-sys-size-control-m-height);
|
|
5367
|
+
height: var(--prime-sys-size-control-m-height);
|
|
5368
|
+
border-radius: var(--prime-sys-shape-radius-m);
|
|
5369
|
+
background: var(--prime-sys-color-surface-raised);
|
|
5370
|
+
color: var(--prime-sys-color-content-secondary);
|
|
5399
5371
|
flex-shrink: 0;
|
|
5400
5372
|
}
|
|
5373
|
+
.Drawer_titleBlock2 {
|
|
5374
|
+
display: flex;
|
|
5375
|
+
flex-direction: column;
|
|
5376
|
+
gap: var(--prime-sys-spacing-x1);
|
|
5377
|
+
min-width: 0;
|
|
5378
|
+
}
|
|
5401
5379
|
.Drawer_title2 {
|
|
5402
5380
|
margin: 0;
|
|
5403
|
-
font-size: var(--
|
|
5381
|
+
font-size: var(--prime-sys-size-control-m-text);
|
|
5404
5382
|
font-weight: var(--prime-sys-typography-title-weight);
|
|
5405
5383
|
line-height: 1.2;
|
|
5406
5384
|
color: var(--prime-sys-color-content-primary);
|
|
5407
5385
|
}
|
|
5408
|
-
.
|
|
5386
|
+
.Drawer_description2 {
|
|
5387
|
+
margin: 0;
|
|
5388
|
+
color: var(--prime-sys-color-content-secondary);
|
|
5389
|
+
font-size: var(--prime-sys-size-control-s-text);
|
|
5390
|
+
line-height: 1.4;
|
|
5391
|
+
}
|
|
5392
|
+
.Drawer_closeButton2 {
|
|
5393
|
+
flex-shrink: 0;
|
|
5394
|
+
}
|
|
5395
|
+
.Drawer_body2 {
|
|
5409
5396
|
flex: 1;
|
|
5410
5397
|
min-height: 0;
|
|
5411
|
-
padding-inline: var(--
|
|
5412
|
-
padding-block: var(--
|
|
5398
|
+
padding-inline: var(--prime-sys-spacing-x5);
|
|
5399
|
+
padding-block: var(--prime-sys-spacing-x5);
|
|
5413
5400
|
}
|
|
5414
5401
|
.Drawer_footer2 {
|
|
5415
5402
|
display: flex;
|
|
5416
5403
|
align-items: center;
|
|
5417
5404
|
justify-content: flex-end;
|
|
5418
|
-
gap: var(--
|
|
5419
|
-
padding-inline: var(--
|
|
5420
|
-
padding-block: var(--
|
|
5405
|
+
gap: var(--prime-sys-spacing-x3);
|
|
5406
|
+
padding-inline: var(--prime-sys-spacing-x5);
|
|
5407
|
+
padding-block: var(--prime-sys-spacing-x4);
|
|
5421
5408
|
border-top: var(--prime-sys-unit-1px) solid var(--prime-sys-color-border-subtle);
|
|
5422
5409
|
flex-shrink: 0;
|
|
5423
5410
|
}
|
|
@@ -5429,7 +5416,15 @@
|
|
|
5429
5416
|
opacity: 1;
|
|
5430
5417
|
}
|
|
5431
5418
|
}
|
|
5432
|
-
@keyframes
|
|
5419
|
+
@keyframes Drawer_drawerFadeOut2 {
|
|
5420
|
+
from {
|
|
5421
|
+
opacity: 1;
|
|
5422
|
+
}
|
|
5423
|
+
to {
|
|
5424
|
+
opacity: 0;
|
|
5425
|
+
}
|
|
5426
|
+
}
|
|
5427
|
+
@keyframes Drawer_drawerSlideInFromRight2 {
|
|
5433
5428
|
from {
|
|
5434
5429
|
transform: translateX(100%);
|
|
5435
5430
|
}
|
|
@@ -5437,28 +5432,28 @@
|
|
|
5437
5432
|
transform: translateX(0);
|
|
5438
5433
|
}
|
|
5439
5434
|
}
|
|
5440
|
-
@keyframes
|
|
5435
|
+
@keyframes Drawer_drawerSlideOutToRight2 {
|
|
5441
5436
|
from {
|
|
5442
|
-
transform: translateX(
|
|
5437
|
+
transform: translateX(0);
|
|
5443
5438
|
}
|
|
5444
5439
|
to {
|
|
5445
|
-
transform: translateX(
|
|
5440
|
+
transform: translateX(100%);
|
|
5446
5441
|
}
|
|
5447
5442
|
}
|
|
5448
|
-
@keyframes
|
|
5443
|
+
@keyframes Drawer_drawerSlideInFromLeft2 {
|
|
5449
5444
|
from {
|
|
5450
|
-
transform:
|
|
5445
|
+
transform: translateX(-100%);
|
|
5451
5446
|
}
|
|
5452
5447
|
to {
|
|
5453
|
-
transform:
|
|
5448
|
+
transform: translateX(0);
|
|
5454
5449
|
}
|
|
5455
5450
|
}
|
|
5456
|
-
@keyframes
|
|
5451
|
+
@keyframes Drawer_drawerSlideOutToLeft2 {
|
|
5457
5452
|
from {
|
|
5458
|
-
transform:
|
|
5453
|
+
transform: translateX(0);
|
|
5459
5454
|
}
|
|
5460
5455
|
to {
|
|
5461
|
-
transform:
|
|
5456
|
+
transform: translateX(-100%);
|
|
5462
5457
|
}
|
|
5463
5458
|
}
|
|
5464
5459
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -5758,7 +5753,7 @@
|
|
|
5758
5753
|
margin-bottom: var(--dd-separator-stack-pad);
|
|
5759
5754
|
}
|
|
5760
5755
|
.Dropdown_content2 > .Dropdown_block2 + .Dropdown_block2 {
|
|
5761
|
-
margin-top: var(--
|
|
5756
|
+
margin-top: var(--dd-pad);
|
|
5762
5757
|
}
|
|
5763
5758
|
.Dropdown_content2 > .Dropdown_block2 + .Dropdown_separator2 {
|
|
5764
5759
|
margin-top: var(--dd-separator-stack-pad);
|