@adminiumjs/ui 0.3.4 → 0.3.6
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 +16 -3
- package/dist/components/drawer/Drawer.d.ts.map +1 -1
- package/dist/components/drawer/Drawer.js +28 -12
- package/dist/components/drawer/Drawer.js.map +1 -1
- package/dist/components/drawer/index.d.ts +2 -2
- package/dist/components/drawer/index.d.ts.map +1 -1
- package/dist/components/drawer/index.js +1 -1
- package/dist/components/drawer/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -6,16 +6,29 @@ export type DrawerSize = 'sm' | 'md' | 'lg';
|
|
|
6
6
|
export declare const DrawerTrigger: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
7
7
|
/** Close wrapper for footer buttons (`asChild` supported). */
|
|
8
8
|
export declare const DrawerClose: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
|
+
* The drawer's name, for a drawer with no `DrawerHeader` (which renders its
|
|
11
|
+
* own). Radix names the dialog from it; give it `className="sr-only"` when the
|
|
12
|
+
* content already says what it is to the eye.
|
|
13
|
+
*/
|
|
14
|
+
export declare const DrawerTitle: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
15
|
+
export type DrawerSide = 'start' | 'end' | 'bottom';
|
|
10
16
|
export interface DrawerProps extends ComponentPropsWithRef<typeof DialogPrimitive.Root> {
|
|
11
17
|
/** Inline size: sm 380 / md 480 / lg 640. Ignored for a bottom sheet, which is full-width. */
|
|
12
18
|
size?: DrawerSize | undefined;
|
|
13
19
|
/**
|
|
14
20
|
* Where the sheet comes from. `end` (default) is the side drawer; `bottom`
|
|
15
21
|
* is the phone-width sheet the Export Builder comp draws: full width, 84vh
|
|
16
|
-
* tall at most, 20px top radius, sliding up.
|
|
22
|
+
* tall at most, 20px top radius, sliding up. `start` is the navigation
|
|
23
|
+
* drawer: the app rail, brought in over a page too narrow to sit beside it.
|
|
17
24
|
*/
|
|
18
25
|
side?: DrawerSide | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Hand-wired description id. Pass `undefined` explicitly for a drawer with
|
|
28
|
+
* no description (the navigation drawer), which is what stops Radix warning
|
|
29
|
+
* about a description it was never meant to have.
|
|
30
|
+
*/
|
|
31
|
+
'aria-describedby'?: string | undefined;
|
|
19
32
|
/** Extra classes for the sheet panel. */
|
|
20
33
|
className?: string | undefined;
|
|
21
34
|
/** Extra classes for the scrim overlay. */
|
|
@@ -28,7 +41,7 @@ export interface DrawerProps extends ComponentPropsWithRef<typeof DialogPrimitiv
|
|
|
28
41
|
* compose with `DrawerHeader` / `DrawerBody` / `DrawerFooter`
|
|
29
42
|
* (research/design-system.md Tier 3).
|
|
30
43
|
*/
|
|
31
|
-
export declare function Drawer({ size, side, className, overlayClassName, children, ...
|
|
44
|
+
export declare function Drawer({ size, side, className, overlayClassName, children, ...props }: DrawerProps): import("react").JSX.Element;
|
|
32
45
|
export interface DrawerHeaderProps extends Omit<ComponentPropsWithRef<'div'>, 'title'> {
|
|
33
46
|
/** Lucide icon rendered in a tinted IconTile next to the title. */
|
|
34
47
|
icon?: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/Drawer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAE1D,OAAO,EAA4B,KAAK,qBAAqB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAG7F,OAAO,EAAY,KAAK,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAS5C,2DAA2D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,SAAS,EACT,gBAAgB,EAChB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,WAAW,+BAoDb;AAED,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IACpF,mEAAmE;IACnE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IACxB,yEAAyE;IACzE,KAAK,EAAE,SAAS,CAAC;IACjB,uDAAuD;IACvD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,oEAAoE;IACpE,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,iFAAiF;AACjF,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,IAAe,EACf,KAAK,EACL,QAAQ,EACR,UAAU,EACV,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,+BA4BnB;AAED,MAAM,MAAM,eAAe,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAE3D,8BAA8B;AAC9B,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,+BAOlE;AAED,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAE7D,+EAA+E;AAC/E,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,+BAUtE"}
|
|
@@ -15,31 +15,47 @@ const drawerSizeClasses = {
|
|
|
15
15
|
export const DrawerTrigger = DialogPrimitive.Trigger;
|
|
16
16
|
/** Close wrapper for footer buttons (`asChild` supported). */
|
|
17
17
|
export const DrawerClose = DialogPrimitive.Close;
|
|
18
|
+
/**
|
|
19
|
+
* The drawer's name, for a drawer with no `DrawerHeader` (which renders its
|
|
20
|
+
* own). Radix names the dialog from it; give it `className="sr-only"` when the
|
|
21
|
+
* content already says what it is to the eye.
|
|
22
|
+
*/
|
|
23
|
+
export const DrawerTitle = DialogPrimitive.Title;
|
|
18
24
|
/**
|
|
19
25
|
* Drawer — side sheet on Radix Dialog sliding in from `inset-inline-end`
|
|
20
26
|
* (logical → mirrors in RTL); `nb-slide` entrance, same scrim as Modal;
|
|
21
27
|
* compose with `DrawerHeader` / `DrawerBody` / `DrawerFooter`
|
|
22
28
|
* (research/design-system.md Tier 3).
|
|
23
29
|
*/
|
|
24
|
-
export function Drawer({ size = 'md', side = 'end', className, overlayClassName, children, ...
|
|
30
|
+
export function Drawer({ size = 'md', side = 'end', className, overlayClassName, children, ...props }) {
|
|
31
|
+
const describes = 'aria-describedby' in props;
|
|
32
|
+
const { 'aria-describedby': describedBy, ...rootProps } = props;
|
|
25
33
|
// Triggers must stay outside the Portal (unmounted while closed) — same
|
|
26
34
|
// pattern as Modal.
|
|
27
35
|
const childArray = Children.toArray(children);
|
|
28
36
|
const triggers = childArray.filter((c) => isValidElement(c) && c.type === DrawerTrigger);
|
|
29
37
|
const content = childArray.filter((c) => !(isValidElement(c) && c.type === DrawerTrigger));
|
|
30
|
-
return (_jsxs(DialogPrimitive.Root, { ...rootProps, children: [triggers, _jsxs(DialogPrimitive.Portal, { children: [_jsx(DialogPrimitive.Overlay, { className: cn('fixed inset-0 z-50 bg-[var(--scrim)] backdrop-blur-[3px]', 'animate-[nb-fade_.2s_cubic-bezier(.2,.7,.3,1)]', overlayClassName) }), _jsx(DialogPrimitive.Content, { "data-side": side, className: cn(side === '
|
|
38
|
+
return (_jsxs(DialogPrimitive.Root, { ...rootProps, children: [triggers, _jsxs(DialogPrimitive.Portal, { children: [_jsx(DialogPrimitive.Overlay, { className: cn('fixed inset-0 z-50 bg-[var(--scrim)] backdrop-blur-[3px]', 'animate-[nb-fade_.2s_cubic-bezier(.2,.7,.3,1)]', overlayClassName) }), _jsx(DialogPrimitive.Content, { "data-side": side, ...(describes ? { 'aria-describedby': describedBy } : {}), className: cn(side === 'start'
|
|
31
39
|
? [
|
|
32
|
-
'fixed inset-
|
|
33
|
-
'
|
|
34
|
-
'
|
|
35
|
-
|
|
36
|
-
: [
|
|
37
|
-
'fixed inset-y-0 end-0 z-50 flex h-full max-w-[calc(100vw-32px)] flex-col',
|
|
38
|
-
'border-s border-border bg-surface shadow-modal outline-none',
|
|
39
|
-
// nb-slide translates from --nb-slide-from (24px); flip for RTL.
|
|
40
|
-
'animate-[nb-slide_.22s_cubic-bezier(.2,.7,.3,1)] rtl:[--nb-slide-from:-24px]',
|
|
40
|
+
'fixed inset-y-0 start-0 z-50 flex h-full max-w-[calc(100vw-32px)] flex-col',
|
|
41
|
+
'border-e border-border bg-surface shadow-modal outline-none',
|
|
42
|
+
// In from the start edge: the mirror of `end`'s nb-slide.
|
|
43
|
+
'animate-[nb-slide_.22s_cubic-bezier(.2,.7,.3,1)] [--nb-slide-from:-24px] rtl:[--nb-slide-from:24px]',
|
|
41
44
|
drawerSizeClasses[size],
|
|
42
|
-
]
|
|
45
|
+
]
|
|
46
|
+
: side === 'bottom'
|
|
47
|
+
? [
|
|
48
|
+
'fixed inset-x-0 bottom-0 z-50 flex max-h-[84vh] w-full flex-col',
|
|
49
|
+
'rounded-t-[20px] border-t border-border bg-surface shadow-modal outline-none',
|
|
50
|
+
'animate-[nb-sheetup_.24s_cubic-bezier(.2,.8,.2,1)]',
|
|
51
|
+
]
|
|
52
|
+
: [
|
|
53
|
+
'fixed inset-y-0 end-0 z-50 flex h-full max-w-[calc(100vw-32px)] flex-col',
|
|
54
|
+
'border-s border-border bg-surface shadow-modal outline-none',
|
|
55
|
+
// nb-slide translates from --nb-slide-from (24px); flip for RTL.
|
|
56
|
+
'animate-[nb-slide_.22s_cubic-bezier(.2,.7,.3,1)] rtl:[--nb-slide-from:-24px]',
|
|
57
|
+
drawerSizeClasses[size],
|
|
58
|
+
], className), children: content })] })] }));
|
|
43
59
|
}
|
|
44
60
|
/** Drawer header: tinted icon tile + title/subtitle + close, bottom hairline. */
|
|
45
61
|
export function DrawerHeader({ icon, tone = 'accent', title, subtitle, closeLabel, className, children, ...props }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawer.js","sourceRoot":"","sources":["../../../src/components/drawer/Drawer.tsx"],"names":[],"mappings":";AAAA,yCAAyC;AACzC,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,cAAc,EAA8C,MAAM,OAAO,CAAC;AAE7F,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAa,MAAM,uBAAuB,CAAC;AAI5D,0EAA0E;AAC1E,MAAM,iBAAiB,GAA+B;IACpD,EAAE,EAAE,WAAW;IACf,EAAE,EAAE,WAAW;IACf,EAAE,EAAE,WAAW;CAChB,CAAC;AAEF,2DAA2D;AAC3D,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,CAAC,OAAO,CAAC;AACrD,8DAA8D;AAC9D,MAAM,CAAC,MAAM,WAAW,GAAG,eAAe,CAAC,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"Drawer.js","sourceRoot":"","sources":["../../../src/components/drawer/Drawer.tsx"],"names":[],"mappings":";AAAA,yCAAyC;AACzC,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,cAAc,EAA8C,MAAM,OAAO,CAAC;AAE7F,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAa,MAAM,uBAAuB,CAAC;AAI5D,0EAA0E;AAC1E,MAAM,iBAAiB,GAA+B;IACpD,EAAE,EAAE,WAAW;IACf,EAAE,EAAE,WAAW;IACf,EAAE,EAAE,WAAW;CAChB,CAAC;AAEF,2DAA2D;AAC3D,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe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AE,QAAQ,GAAO,GACvC,CAC/B,EACA,QAAQ,IACL,EACN,KAAC,eAAe,CAAC,KAAK,kBACR,UAAU,EACtB,SAAS,EAAE,EAAE,CACX,sGAAsG,EACtG,qFAAqF,CACtF,YAED,KAAC,CAAC,IAAC,SAAS,EAAC,QAAQ,iBAAa,MAAM,GAAG,GACrB,IACpB,CACP,CAAC;AACJ,CAAC;AAID,8BAA8B;AAC9B,MAAM,UAAU,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAmB;IACjE,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CAAC,sEAAsE,EAAE,SAAS,CAAC,KAC5F,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAID,+EAA+E;AAC/E,MAAM,UAAU,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAqB;IACrE,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CACX,4FAA4F,EAC5F,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Drawer, DrawerBody, DrawerClose, DrawerFooter, DrawerHeader, DrawerTrigger, } from './Drawer.js';
|
|
2
|
-
export type { DrawerBodyProps, DrawerFooterProps, DrawerHeaderProps, DrawerProps, DrawerSize, } from './Drawer.js';
|
|
1
|
+
export { Drawer, DrawerBody, DrawerClose, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, } from './Drawer.js';
|
|
2
|
+
export type { DrawerBodyProps, DrawerFooterProps, DrawerHeaderProps, DrawerProps, DrawerSide, DrawerSize, } from './Drawer.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,MAAM,EACN,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,aAAa,GACd,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,WAAW,EACX,UAAU,GACX,MAAM,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,MAAM,EACN,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,GACd,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,WAAW,EACX,UAAU,EACV,UAAU,GACX,MAAM,aAAa,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
2
|
-
export { Drawer, DrawerBody, DrawerClose, DrawerFooter, DrawerHeader, DrawerTrigger, } from './Drawer.js';
|
|
2
|
+
export { Drawer, DrawerBody, DrawerClose, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, } from './Drawer.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/drawer/index.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,OAAO,EACL,MAAM,EACN,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,aAAa,GACd,MAAM,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/drawer/index.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,OAAO,EACL,MAAM,EACN,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,GACd,MAAM,aAAa,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adminiumjs/ui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.6",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@adminium/tokens": "npm:@adminiumjs/tokens@0.3.
|
|
26
|
+
"@adminium/tokens": "npm:@adminiumjs/tokens@0.3.6",
|
|
27
27
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
28
28
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
29
29
|
"@radix-ui/react-direction": "^1.1.1",
|