@cimpress-ui/react 1.24.0 → 1.25.1
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/commonjs/components/app-header/side-nav.d.ts +1 -9
- package/dist/commonjs/components/app-header/side-nav.d.ts.map +1 -1
- package/dist/commonjs/components/app-header/side-nav.js +3 -3
- package/dist/commonjs/components/app-header/side-nav.js.map +1 -1
- package/dist/commonjs/components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/commonjs/components/checkbox/checkbox.js +1 -1
- package/dist/commonjs/components/checkbox/checkbox.js.map +1 -1
- package/dist/commonjs/components/combo-box/combo-box.d.ts +1 -0
- package/dist/commonjs/components/combo-box/combo-box.d.ts.map +1 -1
- package/dist/commonjs/components/combo-box/combo-box.js +23 -5
- package/dist/commonjs/components/combo-box/combo-box.js.map +1 -1
- package/dist/commonjs/components/internal/checkbox-indicator/checkbox-indicator.js +2 -4
- package/dist/commonjs/components/internal/checkbox-indicator/checkbox-indicator.js.map +1 -1
- package/dist/commonjs/components/internal/collapsible-list/collapsible-list.js.map +1 -1
- package/dist/commonjs/components/menu/menu.d.ts +14 -1
- package/dist/commonjs/components/menu/menu.d.ts.map +1 -1
- package/dist/commonjs/components/menu/menu.js +16 -2
- package/dist/commonjs/components/menu/menu.js.map +1 -1
- package/dist/commonjs/components/popover/popover.d.ts +10 -1
- package/dist/commonjs/components/popover/popover.d.ts.map +1 -1
- package/dist/commonjs/components/popover/popover.js +23 -2
- package/dist/commonjs/components/popover/popover.js.map +1 -1
- package/dist/commonjs/components/select/select.d.ts +1 -1
- package/dist/commonjs/components/select/select.d.ts.map +1 -1
- package/dist/commonjs/components/select/select.js +3 -2
- package/dist/commonjs/components/select/select.js.map +1 -1
- package/dist/commonjs/components/tag-field/tag-field.js +1 -1
- package/dist/commonjs/components/tag-field/tag-field.js.map +1 -1
- package/dist/commonjs/components/toast/toast-queue.d.ts +9 -7
- package/dist/commonjs/components/toast/toast-queue.d.ts.map +1 -1
- package/dist/commonjs/components/toast/toast-queue.js +6 -5
- package/dist/commonjs/components/toast/toast-queue.js.map +1 -1
- package/dist/commonjs/components/toast/toast-region.d.ts +1 -1
- package/dist/commonjs/components/toast/toast-region.d.ts.map +1 -1
- package/dist/commonjs/components/toast/toast-region.js +3 -3
- package/dist/commonjs/components/toast/toast-region.js.map +1 -1
- package/dist/commonjs/components/toast/toast.js +3 -3
- package/dist/commonjs/components/toast/toast.js.map +1 -1
- package/dist/commonjs/components/toast/types.d.ts +1 -1
- package/dist/commonjs/components/toast/types.d.ts.map +1 -1
- package/dist/commonjs/components/toast/types.js.map +1 -1
- package/dist/commonjs/components/typography/list.d.ts +31 -0
- package/dist/commonjs/components/typography/list.d.ts.map +1 -0
- package/dist/commonjs/components/typography/list.js +39 -0
- package/dist/commonjs/components/typography/list.js.map +1 -0
- package/dist/commonjs/index.d.ts +4 -3
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +5 -4
- package/dist/commonjs/index.js.map +1 -1
- package/dist/esm/components/app-header/side-nav.d.ts +1 -9
- package/dist/esm/components/app-header/side-nav.d.ts.map +1 -1
- package/dist/esm/components/app-header/side-nav.js +3 -3
- package/dist/esm/components/app-header/side-nav.js.map +1 -1
- package/dist/esm/components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/esm/components/checkbox/checkbox.js +1 -1
- package/dist/esm/components/checkbox/checkbox.js.map +1 -1
- package/dist/esm/components/combo-box/combo-box.d.ts +1 -0
- package/dist/esm/components/combo-box/combo-box.d.ts.map +1 -1
- package/dist/esm/components/combo-box/combo-box.js +24 -6
- package/dist/esm/components/combo-box/combo-box.js.map +1 -1
- package/dist/esm/components/internal/checkbox-indicator/checkbox-indicator.js +2 -4
- package/dist/esm/components/internal/checkbox-indicator/checkbox-indicator.js.map +1 -1
- package/dist/esm/components/internal/collapsible-list/collapsible-list.js.map +1 -1
- package/dist/esm/components/menu/menu.d.ts +14 -1
- package/dist/esm/components/menu/menu.d.ts.map +1 -1
- package/dist/esm/components/menu/menu.js +17 -4
- package/dist/esm/components/menu/menu.js.map +1 -1
- package/dist/esm/components/popover/popover.d.ts +10 -1
- package/dist/esm/components/popover/popover.d.ts.map +1 -1
- package/dist/esm/components/popover/popover.js +25 -4
- package/dist/esm/components/popover/popover.js.map +1 -1
- package/dist/esm/components/select/select.d.ts +1 -1
- package/dist/esm/components/select/select.d.ts.map +1 -1
- package/dist/esm/components/select/select.js +4 -3
- package/dist/esm/components/select/select.js.map +1 -1
- package/dist/esm/components/tag-field/tag-field.js +1 -1
- package/dist/esm/components/tag-field/tag-field.js.map +1 -1
- package/dist/esm/components/toast/toast-queue.d.ts +9 -7
- package/dist/esm/components/toast/toast-queue.d.ts.map +1 -1
- package/dist/esm/components/toast/toast-queue.js +5 -4
- package/dist/esm/components/toast/toast-queue.js.map +1 -1
- package/dist/esm/components/toast/toast-region.d.ts +1 -1
- package/dist/esm/components/toast/toast-region.d.ts.map +1 -1
- package/dist/esm/components/toast/toast-region.js +3 -3
- package/dist/esm/components/toast/toast-region.js.map +1 -1
- package/dist/esm/components/toast/toast.js +2 -2
- package/dist/esm/components/toast/toast.js.map +1 -1
- package/dist/esm/components/toast/types.d.ts +1 -1
- package/dist/esm/components/toast/types.d.ts.map +1 -1
- package/dist/esm/components/toast/types.js.map +1 -1
- package/dist/esm/components/typography/list.d.ts +31 -0
- package/dist/esm/components/typography/list.d.ts.map +1 -0
- package/dist/esm/components/typography/list.js +31 -0
- package/dist/esm/components/typography/list.js.map +1 -0
- package/dist/esm/index.d.ts +4 -3
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +3 -2
- package/dist/esm/index.js.map +1 -1
- package/dist-styles/core.css +1 -1
- package/dist-styles/styles.css +1 -1
- package/package.json +6 -6
|
@@ -1,30 +1,32 @@
|
|
|
1
1
|
import { UNSTABLE_ToastQueue as RACToastQueue } from 'react-aria-components';
|
|
2
|
-
import type { InternalToastContent,
|
|
2
|
+
import type { InternalToastContent, ToastOptions } from './types.js';
|
|
3
3
|
export declare const internalToastQueue: RACToastQueue<InternalToastContent>;
|
|
4
4
|
/**
|
|
5
5
|
* Manages the queue of toasts.
|
|
6
|
+
*
|
|
7
|
+
* See [toast usage guidelines](https://ui.cimpress.io/components/toast/).
|
|
6
8
|
*/
|
|
7
|
-
export interface
|
|
9
|
+
export interface ToastQueue {
|
|
8
10
|
/**
|
|
9
11
|
* Add an info toast to the queue.
|
|
10
12
|
* @returns The ID of the toast
|
|
11
13
|
*/
|
|
12
|
-
info(message: string, options?:
|
|
14
|
+
info(message: string, options?: ToastOptions): string;
|
|
13
15
|
/**
|
|
14
16
|
* Add a success toast to the queue.
|
|
15
17
|
* @returns The ID of the toast
|
|
16
18
|
*/
|
|
17
|
-
success(message: string, options?:
|
|
19
|
+
success(message: string, options?: ToastOptions): string;
|
|
18
20
|
/**
|
|
19
21
|
* Add a warning toast to the queue.
|
|
20
22
|
* @returns The ID of the toast
|
|
21
23
|
*/
|
|
22
|
-
warning(message: string, options?:
|
|
24
|
+
warning(message: string, options?: ToastOptions): string;
|
|
23
25
|
/**
|
|
24
26
|
* Add a critical toast to the queue.
|
|
25
27
|
* @returns The ID of the toast
|
|
26
28
|
*/
|
|
27
|
-
critical(message: string, options?:
|
|
29
|
+
critical(message: string, options?: ToastOptions): string;
|
|
28
30
|
/**
|
|
29
31
|
* Close a toast.
|
|
30
32
|
* @param id The ID of the toast to close
|
|
@@ -35,5 +37,5 @@ export interface UNSTABLE_ToastQueue {
|
|
|
35
37
|
*/
|
|
36
38
|
clear(): void;
|
|
37
39
|
}
|
|
38
|
-
export declare const
|
|
40
|
+
export declare const toastQueue: ToastQueue;
|
|
39
41
|
//# sourceMappingURL=toast-queue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast-queue.d.ts","sourceRoot":"","sources":["../../../../src/components/toast/toast-queue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE7E,OAAO,KAAK,EAAE,oBAAoB,EAAE,
|
|
1
|
+
{"version":3,"file":"toast-queue.d.ts","sourceRoot":"","sources":["../../../../src/components/toast/toast-queue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE7E,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAIrE,eAAO,MAAM,kBAAkB,qCAU7B,CAAC;AAgBH;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,MAAM,CAAC;IACtD;;;OAGG;IACH,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,MAAM,CAAC;IACzD;;;OAGG;IACH,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,MAAM,CAAC;IACzD;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,MAAM,CAAC;IAC1D;;;OAGG;IACH,KAAK,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,KAAK,IAAI,IAAI,CAAC;CACf;AAED,eAAO,MAAM,UAAU,EAAE,UA2CxB,CAAC"}
|
|
@@ -14,13 +14,14 @@ export const internalToastQueue = new RACToastQueue({
|
|
|
14
14
|
},
|
|
15
15
|
});
|
|
16
16
|
function addToast(content, options) {
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
let timeout = options?.timeout ?? MIN_TOAST_TIMEOUT;
|
|
18
|
+
if (timeout > 0 && timeout < MIN_TOAST_TIMEOUT) {
|
|
19
|
+
console.warn(`[ToastQueue] The specified timeout (${timeout} ms) is less than the minimum allowed (${MIN_TOAST_TIMEOUT} ms). It will be adjusted to the minimum.`);
|
|
20
|
+
timeout = MIN_TOAST_TIMEOUT;
|
|
19
21
|
}
|
|
20
|
-
const timeout = Math.max(options?.timeout ?? MIN_TOAST_TIMEOUT, MIN_TOAST_TIMEOUT);
|
|
21
22
|
return internalToastQueue.add(content, { ...options, timeout });
|
|
22
23
|
}
|
|
23
|
-
export const
|
|
24
|
+
export const toastQueue = {
|
|
24
25
|
info(message, options) {
|
|
25
26
|
return addToast({
|
|
26
27
|
message: message,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast-queue.js","sourceRoot":"","sources":["../../../../src/components/toast/toast-queue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAGtC,MAAM,iBAAiB,GAAG,IAAI,CAAC;AAE/B,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,aAAa,CAAuB;IACxE,UAAU,CAAC,EAAE;QACX,IAAI,qBAAqB,IAAI,QAAQ,EAAE,CAAC;YACtC,QAAQ,CAAC,mBAAmB,CAAC,GAAG,EAAE;gBAChC,SAAS,CAAC,EAAE,CAAC,CAAC;YAChB,CAAC,CAAC,CAAC;QACL,CAAC;aAAM,CAAC;YACN,EAAE,EAAE,CAAC;QACP,CAAC;IACH,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,QAAQ,CAAC,OAA6B,EAAE,
|
|
1
|
+
{"version":3,"file":"toast-queue.js","sourceRoot":"","sources":["../../../../src/components/toast/toast-queue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAGtC,MAAM,iBAAiB,GAAG,IAAI,CAAC;AAE/B,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,aAAa,CAAuB;IAC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E,OAAO;YAChB,IAAI,EAAE,UAAU;SACjB,EACD,OAAO,CACR,CAAC;IACJ,CAAC;IACD,KAAK,CAAC,EAAU;QACd,kBAAkB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAC/B,CAAC;IACD,KAAK;QACH,kBAAkB,CAAC,KAAK,EAAE,CAAC;IAC7B,CAAC;CACF,CAAC","sourcesContent":["import { UNSTABLE_ToastQueue as RACToastQueue } from 'react-aria-components';\nimport { flushSync } from 'react-dom';\nimport type { InternalToastContent, ToastOptions } from './types.js';\n\nconst MIN_TOAST_TIMEOUT = 5000;\n\nexport const internalToastQueue = new RACToastQueue<InternalToastContent>({\n wrapUpdate(fn) {\n if ('startViewTransition' in document) {\n document.startViewTransition(() => {\n flushSync(fn);\n });\n } else {\n fn();\n }\n },\n});\n\nfunction addToast(content: InternalToastContent, options?: ToastOptions) {\n let timeout = options?.timeout ?? MIN_TOAST_TIMEOUT;\n\n if (timeout > 0 && timeout < MIN_TOAST_TIMEOUT) {\n console.warn(\n `[ToastQueue] The specified timeout (${timeout} ms) is less than the minimum allowed (${MIN_TOAST_TIMEOUT} ms). It will be adjusted to the minimum.`,\n );\n\n timeout = MIN_TOAST_TIMEOUT;\n }\n\n return internalToastQueue.add(content, { ...options, timeout });\n}\n\n/**\n * Manages the queue of toasts.\n *\n * See [toast usage guidelines](https://ui.cimpress.io/components/toast/).\n */\nexport interface ToastQueue {\n /**\n * Add an info toast to the queue.\n * @returns The ID of the toast\n */\n info(message: string, options?: ToastOptions): string;\n /**\n * Add a success toast to the queue.\n * @returns The ID of the toast\n */\n success(message: string, options?: ToastOptions): string;\n /**\n * Add a warning toast to the queue.\n * @returns The ID of the toast\n */\n warning(message: string, options?: ToastOptions): string;\n /**\n * Add a critical toast to the queue.\n * @returns The ID of the toast\n */\n critical(message: string, options?: ToastOptions): string;\n /**\n * Close a toast.\n * @param id The ID of the toast to close\n */\n close(id: string): void;\n /**\n * Clear the queue.\n */\n clear(): void;\n}\n\nexport const toastQueue: ToastQueue = {\n info(message: string, options?: ToastOptions) {\n return addToast(\n {\n message: message,\n tone: 'info',\n },\n options,\n );\n },\n success(message: string, options?: ToastOptions) {\n return addToast(\n {\n message: message,\n tone: 'success',\n },\n options,\n );\n },\n warning(message: string, options?: ToastOptions) {\n return addToast(\n {\n message: message,\n tone: 'warning',\n },\n options,\n );\n },\n critical(message: string, options?: ToastOptions) {\n return addToast(\n {\n message: message,\n tone: 'critical',\n },\n options,\n );\n },\n close(id: string) {\n internalToastQueue.close(id);\n },\n clear() {\n internalToastQueue.clear();\n },\n};\n"]}
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
*
|
|
4
4
|
* See [toast usage guidelines](https://ui.cimpress.io/components/toast/).
|
|
5
5
|
*/
|
|
6
|
-
export declare function
|
|
6
|
+
export declare function ToastRegion(): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
//# sourceMappingURL=toast-region.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast-region.d.ts","sourceRoot":"","sources":["../../../../src/components/toast/toast-region.tsx"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,wBAAgB,
|
|
1
|
+
{"version":3,"file":"toast-region.d.ts","sourceRoot":"","sources":["../../../../src/components/toast/toast-region.tsx"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,wBAAgB,WAAW,4CAM1B"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { UNSTABLE_ToastRegion as RACToastRegion } from 'react-aria-components';
|
|
3
3
|
import { internalToastQueue } from './toast-queue.js';
|
|
4
|
-
import {
|
|
4
|
+
import { Toast } from './toast.js';
|
|
5
5
|
/**
|
|
6
6
|
* Displays toast notifications. Toast notifications are non-intrusive messages that appear briefly at the top of the page, overlaying content.
|
|
7
7
|
*
|
|
8
8
|
* See [toast usage guidelines](https://ui.cimpress.io/components/toast/).
|
|
9
9
|
*/
|
|
10
|
-
export function
|
|
11
|
-
return (_jsx(RACToastRegion, { queue: internalToastQueue, className: "cim-toast-region", "data-cim-style-root": true, children: ({ toast }) => _jsx(
|
|
10
|
+
export function ToastRegion() {
|
|
11
|
+
return (_jsx(RACToastRegion, { queue: internalToastQueue, className: "cim-toast-region", "data-cim-style-root": true, children: ({ toast }) => _jsx(Toast, { toast: toast }) }));
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=toast-region.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast-region.js","sourceRoot":"","sources":["../../../../src/components/toast/toast-region.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,oBAAoB,IAAI,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"toast-region.js","sourceRoot":"","sources":["../../../../src/components/toast/toast-region.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,oBAAoB,IAAI,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC;;;;GAIG;AACH,MAAM,UAAU,WAAW;IACzB,OAAO,CACL,KAAC,cAAc,IAAC,KAAK,EAAE,kBAAkB,EAAE,SAAS,EAAC,kBAAkB,yCACpE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAC,KAAK,IAAC,KAAK,EAAE,KAAK,GAAI,GACxB,CAClB,CAAC;AACJ,CAAC","sourcesContent":["import { UNSTABLE_ToastRegion as RACToastRegion } from 'react-aria-components';\nimport { internalToastQueue } from './toast-queue.js';\nimport { Toast } from './toast.js';\n\n/**\n * Displays toast notifications. Toast notifications are non-intrusive messages that appear briefly at the top of the page, overlaying content.\n *\n * See [toast usage guidelines](https://ui.cimpress.io/components/toast/).\n */\nexport function ToastRegion() {\n return (\n <RACToastRegion queue={internalToastQueue} className=\"cim-toast-region\" data-cim-style-root>\n {({ toast }) => <Toast toast={toast} />}\n </RACToastRegion>\n );\n}\n"]}
|
|
@@ -13,9 +13,9 @@ const iconMap = {
|
|
|
13
13
|
/**
|
|
14
14
|
* @internal
|
|
15
15
|
*/
|
|
16
|
-
export function
|
|
16
|
+
export function Toast({ toast }) {
|
|
17
17
|
const Icon = iconMap[toast.content.tone];
|
|
18
18
|
const messages = useLocalizedMessages('common');
|
|
19
|
-
return (_jsxs(RACToast, { toast: toast, className: "cim-toast", style: { viewTransitionName: toast.key }, "data-cim-style-root": true, children: [_jsx("div", { className: "cim-toast-icon", children: _jsx(Icon, { size: 24, tone: toast.content.tone, "aria-hidden": true }) }), _jsx(RACToastContent, { className: "cim-toast-content", children: _jsx(RACText, { className: textStyle({ variant: 'medium' }), children: toast.content.message }) }), _jsx(XButton, { slot: "close", UNSAFE_className: "cim-toast-close", "aria-label": messages.format('dismiss') })] }));
|
|
19
|
+
return (_jsxs(RACToast, { toast: toast, className: "cim-toast", style: { viewTransitionName: toast.key }, "data-cim-style-root": true, children: [_jsx("div", { className: "cim-toast-icon", children: _jsx(Icon, { size: 24, tone: toast.content.tone, "aria-hidden": true }) }), _jsx(RACToastContent, { className: "cim-toast-content", children: _jsx(RACText, { slot: "title", className: textStyle({ variant: 'medium' }), children: toast.content.message }) }), _jsx(XButton, { slot: "close", UNSAFE_className: "cim-toast-close", "aria-label": messages.format('dismiss') })] }));
|
|
20
20
|
}
|
|
21
21
|
//# sourceMappingURL=toast.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.js","sourceRoot":"","sources":["../../../../src/components/toast/toast.tsx"],"names":[],"mappings":";AAAA,OAAO,EAEL,IAAI,IAAI,OAAO,EACf,cAAc,IAAI,QAAQ,EAC1B,qBAAqB,IAAI,eAAe,GACzC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,oBAAoB,E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C,WAAW,EAAC,KAAK,EAAE,EAAE,kBAAkB,EAAE,KAAK,CAAC,GAAG,EAAE,0CACpF,cAAK,SAAS,EAAC,gBAAgB,YAC7B,KAAC,IAAI,IAAC,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,wBAAgB,GACpD,EACN,KAAC,eAAe,IAAC,SAAS,EAAC,mBAAmB,YAC5C,KAAC,OAAO,IAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAE,SAAS,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,YAC9D,KAAK,CAAC,OAAO,CAAC,OAAO,GACd,GACM,EAClB,KAAC,OAAO,IAAC,IAAI,EAAC,OAAO,EAAC,gBAAgB,EAAC,iBAAiB,gBAAa,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,GAAI,IAC1F,CACZ,CAAC;AACJ,CAAC","sourcesContent":["import {\n type QueuedToast as RACQueuedToast,\n Text as RACText,\n UNSTABLE_Toast as RACToast,\n UNSTABLE_ToastContent as RACToastContent,\n} from 'react-aria-components';\nimport { useLocalizedMessages } from '../../i18n/index.js';\nimport { IconCheckCircle, IconInfoCircle, IconWarning, IconWarningCircleFill } from '../../icons/index.js';\nimport { XButton } from '../internal/x-button/x-button.js';\nimport { textStyle } from '../typography/utils.js';\nimport type { InternalToastContent } from './types.js';\n\nconst iconMap = {\n info: IconInfoCircle,\n success: IconCheckCircle,\n warning: IconWarning,\n critical: IconWarningCircleFill,\n};\n\n/**\n * @internal\n */\ninterface ToastProps {\n toast: RACQueuedToast<InternalToastContent>;\n}\n\n/**\n * @internal\n */\nexport function Toast({ toast }: ToastProps) {\n const Icon = iconMap[toast.content.tone];\n const messages = useLocalizedMessages('common');\n\n return (\n <RACToast toast={toast} className=\"cim-toast\" style={{ viewTransitionName: toast.key }} data-cim-style-root>\n <div className=\"cim-toast-icon\">\n <Icon size={24} tone={toast.content.tone} aria-hidden />\n </div>\n <RACToastContent className=\"cim-toast-content\">\n <RACText slot=\"title\" className={textStyle({ variant: 'medium' })}>\n {toast.content.message}\n </RACText>\n </RACToastContent>\n <XButton slot=\"close\" UNSAFE_className=\"cim-toast-close\" aria-label={messages.format('dismiss')} />\n </RACToast>\n );\n}\n"]}
|
|
@@ -2,7 +2,7 @@ export interface InternalToastContent {
|
|
|
2
2
|
message: string;
|
|
3
3
|
tone: 'info' | 'success' | 'warning' | 'critical';
|
|
4
4
|
}
|
|
5
|
-
export interface
|
|
5
|
+
export interface ToastOptions {
|
|
6
6
|
/**
|
|
7
7
|
* The timeout to automatically close the toast after, in milliseconds.
|
|
8
8
|
* Setting this to `0` will prevent the toast from automatically closing.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/toast/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;CACnD;AAED,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/toast/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;CACnD;AAED,MAAM,WAAW,YAAY;IAC3B;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/components/toast/types.ts"],"names":[],"mappings":"","sourcesContent":["export interface InternalToastContent {\n message: string;\n tone: 'info' | 'success' | 'warning' | 'critical';\n}\n\nexport interface
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/components/toast/types.ts"],"names":[],"mappings":"","sourcesContent":["export interface InternalToastContent {\n message: string;\n tone: 'info' | 'success' | 'warning' | 'critical';\n}\n\nexport interface ToastOptions {\n /**\n * The timeout to automatically close the toast after, in milliseconds.\n * Setting this to `0` will prevent the toast from automatically closing.\n * The minimum timeout is 5000 milliseconds.\n * @default 5000\n */\n timeout?: number;\n}\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { CommonProps } from '../types.js';
|
|
3
|
+
import type { BaseTypographyProps, TextStyleOptions } from './types.js';
|
|
4
|
+
export interface OrderedListProps extends BaseTypographyProps, Omit<TextStyleOptions, 'alignment'> {
|
|
5
|
+
/** An integer to start numbering list items from. */
|
|
6
|
+
startFrom?: number;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Renders an ordered list of text items in a specified style.
|
|
10
|
+
*
|
|
11
|
+
* See [list usage guidelines](https://ui.cimpress.io/components/list/).
|
|
12
|
+
*/
|
|
13
|
+
declare const _OrderedList: (props: OrderedListProps & import("react").RefAttributes<HTMLOListElement> & import("../../with-style-props.js").StyleProps) => import("react").JSX.Element | null;
|
|
14
|
+
export interface UnorderedListProps extends BaseTypographyProps, Omit<TextStyleOptions, 'alignment'> {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Renders an unordered list of text items in a specified style.
|
|
18
|
+
*
|
|
19
|
+
* See [list usage guidelines](https://ui.cimpress.io/components/list/).
|
|
20
|
+
*/
|
|
21
|
+
declare const _UnorderedList: (props: UnorderedListProps & import("react").RefAttributes<HTMLUListElement> & import("../../with-style-props.js").StyleProps) => import("react").JSX.Element | null;
|
|
22
|
+
export { _OrderedList as OrderedList, _UnorderedList as UnorderedList };
|
|
23
|
+
export interface ListItemProps extends CommonProps {
|
|
24
|
+
children: ReactNode;
|
|
25
|
+
}
|
|
26
|
+
/** Renders a list item within a list. */
|
|
27
|
+
export declare function ListItem({ children, UNSAFE_className, UNSAFE_style, ...props }: ListItemProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare namespace ListItem {
|
|
29
|
+
var displayName: string;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/list.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAgB,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAGxE,MAAM,WAAW,gBAAiB,SAAQ,mBAAmB,EAAE,IAAI,CAAC,gBAAgB,EAAE,WAAW,CAAC;IAChG,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAiCD;;;;GAIG;AACH,QAAA,MAAM,YAAY,oKAAyD,CAAC;AAE5E,MAAM,WAAW,kBAAmB,SAAQ,mBAAmB,EAAE,IAAI,CAAC,gBAAgB,EAAE,WAAW,CAAC;CAAG;AAsBvG;;;;GAIG;AACH,QAAA,MAAM,cAAc,sKAA6D,CAAC;AAElF,OAAO,EAAE,YAAY,IAAI,WAAW,EAAE,cAAc,IAAI,aAAa,EAAE,CAAC;AAExE,MAAM,WAAW,aAAc,SAAQ,WAAW;IAChD,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,yCAAyC;AACzC,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,gBAAgB,EAAE,YAAY,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,2CAM7F;yBANe,QAAQ"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
import { forwardRef } from '../../forward-ref.js';
|
|
5
|
+
import { withStyleProps } from '../../with-style-props.js';
|
|
6
|
+
import { textStyle } from './utils.js';
|
|
7
|
+
function OrderedList({ children, startFrom, UNSAFE_className, UNSAFE_style, variant, fontStyle, textDecoration, tone, ...props }, ref) {
|
|
8
|
+
return (_jsx("ol", { ...props, ref: ref, className: clsx('cim-list', textStyle({ variant, fontStyle, alignment: 'start', textDecoration, tone }), UNSAFE_className), style: UNSAFE_style, start: startFrom, children: children }));
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Renders an ordered list of text items in a specified style.
|
|
12
|
+
*
|
|
13
|
+
* See [list usage guidelines](https://ui.cimpress.io/components/list/).
|
|
14
|
+
*/
|
|
15
|
+
const _OrderedList = withStyleProps(forwardRef(OrderedList), 'OrderedList');
|
|
16
|
+
function UnorderedList({ children, UNSAFE_className, UNSAFE_style, variant, fontStyle, textDecoration, tone, ...props }, ref) {
|
|
17
|
+
return (_jsx("ul", { ...props, ref: ref, className: clsx('cim-list', textStyle({ variant, fontStyle, alignment: 'start', textDecoration, tone }), UNSAFE_className), style: UNSAFE_style, children: children }));
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Renders an unordered list of text items in a specified style.
|
|
21
|
+
*
|
|
22
|
+
* See [list usage guidelines](https://ui.cimpress.io/components/list/).
|
|
23
|
+
*/
|
|
24
|
+
const _UnorderedList = withStyleProps(forwardRef(UnorderedList), 'UnorderedList');
|
|
25
|
+
export { _OrderedList as OrderedList, _UnorderedList as UnorderedList };
|
|
26
|
+
/** Renders a list item within a list. */
|
|
27
|
+
export function ListItem({ children, UNSAFE_className, UNSAFE_style, ...props }) {
|
|
28
|
+
return (_jsx("li", { ...props, className: clsx('cim-list-item', UNSAFE_className), style: UNSAFE_style, children: children }));
|
|
29
|
+
}
|
|
30
|
+
ListItem.displayName = 'ListItem';
|
|
31
|
+
//# sourceMappingURL=list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../src/components/typography/list.tsx"],"names":[],"mappings":"AAAA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AC,aAAa,CAAC,EAAE,eAAe,CAAC,CAAC;AAElF,OAAO,EAAE,YAAY,IAAI,WAAW,EAAE,cAAc,IAAI,aAAa,EAAE,CAAC;AAMxE,yCAAyC;AACzC,MAAM,UAAU,QAAQ,CAAC,EAAE,QAAQ,EAAE,gBAAgB,EAAE,YAAY,EAAE,GAAG,KAAK,EAAiB;IAC5F,OAAO,CACL,gBAAQ,KAAK,EAAE,SAAS,EAAE,IAAI,CAAC,eAAe,EAAE,gBAAgB,CAAC,EAAE,KAAK,EAAE,YAAY,YACnF,QAAQ,GACN,CACN,CAAC;AACJ,CAAC;AAED,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAC","sourcesContent":["'use client';\n\nimport clsx from 'clsx';\nimport type { ForwardedRef, ReactNode } from 'react';\nimport { forwardRef } from '../../forward-ref.js';\nimport { withStyleProps } from '../../with-style-props.js';\nimport type { CommonProps } from '../types.js';\nimport type { BaseTypographyProps, TextStyleOptions } from './types.js';\nimport { textStyle } from './utils.js';\n\nexport interface OrderedListProps extends BaseTypographyProps, Omit<TextStyleOptions, 'alignment'> {\n /** An integer to start numbering list items from. */\n startFrom?: number;\n}\n\nfunction OrderedList(\n {\n children,\n startFrom,\n UNSAFE_className,\n UNSAFE_style,\n variant,\n fontStyle,\n textDecoration,\n tone,\n ...props\n }: OrderedListProps,\n ref: ForwardedRef<HTMLOListElement>,\n) {\n return (\n <ol\n {...props}\n ref={ref}\n className={clsx(\n 'cim-list',\n textStyle({ variant, fontStyle, alignment: 'start', textDecoration, tone }),\n UNSAFE_className,\n )}\n style={UNSAFE_style}\n start={startFrom}\n >\n {children}\n </ol>\n );\n}\n\n/**\n * Renders an ordered list of text items in a specified style.\n *\n * See [list usage guidelines](https://ui.cimpress.io/components/list/).\n */\nconst _OrderedList = withStyleProps(forwardRef(OrderedList), 'OrderedList');\n\nexport interface UnorderedListProps extends BaseTypographyProps, Omit<TextStyleOptions, 'alignment'> {}\n\nfunction UnorderedList(\n { children, UNSAFE_className, UNSAFE_style, variant, fontStyle, textDecoration, tone, ...props }: UnorderedListProps,\n ref: ForwardedRef<HTMLUListElement>,\n) {\n return (\n <ul\n {...props}\n ref={ref}\n className={clsx(\n 'cim-list',\n textStyle({ variant, fontStyle, alignment: 'start', textDecoration, tone }),\n UNSAFE_className,\n )}\n style={UNSAFE_style}\n >\n {children}\n </ul>\n );\n}\n\n/**\n * Renders an unordered list of text items in a specified style.\n *\n * See [list usage guidelines](https://ui.cimpress.io/components/list/).\n */\nconst _UnorderedList = withStyleProps(forwardRef(UnorderedList), 'UnorderedList');\n\nexport { _OrderedList as OrderedList, _UnorderedList as UnorderedList };\n\nexport interface ListItemProps extends CommonProps {\n children: ReactNode;\n}\n\n/** Renders a list item within a list. */\nexport function ListItem({ children, UNSAFE_className, UNSAFE_style, ...props }: ListItemProps) {\n return (\n <li {...props} className={clsx('cim-list-item', UNSAFE_className)} style={UNSAFE_style}>\n {children}\n </li>\n );\n}\n\nListItem.displayName = 'ListItem';\n"]}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -59,6 +59,9 @@ export * from './components/tabs/tabs.js';
|
|
|
59
59
|
export * from './components/tag/tag.js';
|
|
60
60
|
export * from './components/tag/tag-group.js';
|
|
61
61
|
export * from './components/tag-field/tag-field.js';
|
|
62
|
+
export * from './components/toast/toast-region.js';
|
|
63
|
+
export { toastQueue, type ToastQueue } from './components/toast/toast-queue.js';
|
|
64
|
+
export type { ToastOptions } from './components/toast/types.js';
|
|
62
65
|
export * from './components/toggle-button/toggle-button.js';
|
|
63
66
|
export * from './components/toggle-button/toggle-icon-button.js';
|
|
64
67
|
export * from './components/toggle-button/toggle-button-group.js';
|
|
@@ -67,6 +70,7 @@ export * from './components/spacing/box/box.js';
|
|
|
67
70
|
export * from './components/spacing/stack/stack.js';
|
|
68
71
|
export * from './components/typography/text.js';
|
|
69
72
|
export * from './components/typography/link.js';
|
|
73
|
+
export * from './components/typography/list.js';
|
|
70
74
|
export type { ForegroundTone } from './utils/style/types.js';
|
|
71
75
|
export type { CollectionItem, Direction, FieldError, HoverEvent, Key, Selection, PressEvent, RouterConfig, Href, RouterOptions, ValidationResult, } from './components/types.js';
|
|
72
76
|
export type { Spacing, Responsive } from './components/spacing/types.js';
|
|
@@ -78,9 +82,6 @@ export * from './utils/use-is-mobile.js';
|
|
|
78
82
|
export * from './components/visually-hidden/visually-hidden.js';
|
|
79
83
|
export * from './components/file-picker/file-picker.js';
|
|
80
84
|
export * from './components/container/container.js';
|
|
81
|
-
export * from './components/toast/toast-region.js';
|
|
82
|
-
export { UNSTABLE_toastQueue, type UNSTABLE_ToastQueue } from './components/toast/toast-queue.js';
|
|
83
|
-
export type { UNSTABLE_ToastOptions } from './components/toast/types.js';
|
|
84
85
|
export * from './components/stepper/stepper.js';
|
|
85
86
|
export * from './components/stepper/stepper-item.js';
|
|
86
87
|
export type { StepperStatus } from './components/stepper/types.js';
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uCAAuC,CAAC;AACtD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,yCAAyC,CAAC;AACxD,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC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C,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -56,6 +56,8 @@ export * from './components/tabs/tabs.js';
|
|
|
56
56
|
export * from './components/tag/tag.js';
|
|
57
57
|
export * from './components/tag/tag-group.js';
|
|
58
58
|
export * from './components/tag-field/tag-field.js';
|
|
59
|
+
export * from './components/toast/toast-region.js';
|
|
60
|
+
export { toastQueue } from './components/toast/toast-queue.js';
|
|
59
61
|
export * from './components/toggle-button/toggle-button.js';
|
|
60
62
|
export * from './components/toggle-button/toggle-icon-button.js';
|
|
61
63
|
export * from './components/toggle-button/toggle-button-group.js';
|
|
@@ -64,6 +66,7 @@ export * from './components/spacing/box/box.js';
|
|
|
64
66
|
export * from './components/spacing/stack/stack.js';
|
|
65
67
|
export * from './components/typography/text.js';
|
|
66
68
|
export * from './components/typography/link.js';
|
|
69
|
+
export * from './components/typography/list.js';
|
|
67
70
|
export * from './providers/ssr/ssr-provider.js';
|
|
68
71
|
export * from './providers/router/router-provider.js';
|
|
69
72
|
export * from './components/internal/x-button/x-button.js';
|
|
@@ -72,8 +75,6 @@ export * from './utils/use-is-mobile.js';
|
|
|
72
75
|
export * from './components/visually-hidden/visually-hidden.js';
|
|
73
76
|
export * from './components/file-picker/file-picker.js';
|
|
74
77
|
export * from './components/container/container.js';
|
|
75
|
-
export * from './components/toast/toast-region.js';
|
|
76
|
-
export { UNSTABLE_toastQueue } from './components/toast/toast-queue.js';
|
|
77
78
|
export * from './components/stepper/stepper.js';
|
|
78
79
|
export * from './components/stepper/stepper-item.js';
|
|
79
80
|
export * from './components/app-shell/app-shell.js';
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uCAAuC,CAAC;AACt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mD,CAAC;AAClE,cAAc,8BAA8B,CAAC;AAE7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AAEpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAoBhD,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,0BAA0B,CAAC;AAEzC,2BAA2B;AAC3B,cAAc,iDAAiD,CAAC;AAChE,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AAErD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uCAAuC,CAAC;AACtD,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC","sourcesContent":["export * from './components/alert/alert.js';\nexport * from './components/alert-dialog/alert-dialog.js';\nexport * from './components/app-header/app-header.js';\nexport * from './components/app-header/simple-auth-tool.js';\nexport * from './components/badge/badge.js';\nexport * from './components/button/button.js';\nexport * from './components/button/link-button.js';\nexport * from './components/button/icon-button.js';\nexport * from './components/button/icon-link-button.js';\nexport * from './components/callout/callout.js';\nexport * from './components/card/card.js';\nexport * from './components/checkbox/checkbox.js';\nexport * from './components/checkbox/checkbox-group.js';\nexport * from './components/combo-box/combo-box.js';\nexport * from './components/code/code.js';\nexport * from './components/code-block/code-block.js';\nexport * from './components/copy/copy-button.js';\nexport * from './components/copy/copy-inline.js';\nexport * from './components/date-picker/date-picker.js';\nexport * from './components/dialog-root/dialog-root.js';\nexport * from './components/disclosure/disclosure.js';\nexport * from './components/disclosure/disclosure-group.js';\nexport type { DisclosureSize, DisclosureVariant } from './components/disclosure/context.js';\nexport * from './components/divider/divider.js';\nexport * from './components/drawer/drawer.js';\nexport * from './components/form/form.js';\nexport * from './components/link-tabs/link-tabs.js';\nexport * from './components/menu/menu.js';\nexport * from './components/modal-dialog/modal-dialog.js';\nexport * from './components/number-field/number-field.js';\nexport * from './components/pagination/pagination.js';\nexport * from './components/progress-bar/progress-bar.js';\nexport * from './components/radio/radio.js';\nexport * from './components/radio/radio-group.js';\nexport * from './components/select/select.js';\nexport * from './components/slider/slider.js';\nexport * from './components/spinner/spinner.js';\nexport * from './components/text-inputs/search-field.js';\nexport * from './components/text-inputs/text-field.js';\nexport * from './components/text-inputs/text-area.js';\nexport * from './components/breadcrumbs/breadcrumbs.js';\nexport * from './components/tooltip/tooltip.js';\nexport * from './components/popover/popover.js';\nexport * from './components/switch/switch.js';\nexport * from './components/table/table-container.js';\nexport * from './components/table/table.js';\nexport * from './components/table/table-header.js';\nexport * from './components/table/table-header-row.js';\nexport * from './components/table/table-header-cell.js';\nexport * from './components/table/table-body.js';\nexport * from './components/table/table-body-row.js';\nexport * from './components/table/table-body-cell.js';\nexport * from './components/table/table-row-selector.js';\nexport * from './components/table/table-all-rows-selector.js';\nexport * from './components/table/table-empty-state.js';\nexport type { RowSelectionMode as TableRowSelectionMode } from './components/table/contexts/table-state.js';\nexport type { ColumnContentAlignment as TableColumnContentAlignment } from './components/table/contexts/column-collection.js';\nexport * from './components/tabs/tabs.js';\nexport * from './components/tag/tag.js';\nexport * from './components/tag/tag-group.js';\nexport * from './components/tag-field/tag-field.js';\nexport * from './components/toast/toast-region.js';\nexport { toastQueue, type ToastQueue } from './components/toast/toast-queue.js';\nexport type { ToastOptions } from './components/toast/types.js';\nexport * from './components/toggle-button/toggle-button.js';\nexport * from './components/toggle-button/toggle-icon-button.js';\nexport * from './components/toggle-button/toggle-button-group.js';\nexport * from './components/file-trigger.js';\n\nexport * from './components/spacing/box/box.js';\nexport * from './components/spacing/stack/stack.js';\n\nexport * from './components/typography/text.js';\nexport * from './components/typography/link.js';\nexport * from './components/typography/list.js';\n\nexport type { ForegroundTone } from './utils/style/types.js';\n\nexport type {\n CollectionItem,\n Direction,\n FieldError,\n HoverEvent,\n Key,\n Selection,\n PressEvent,\n RouterConfig,\n Href,\n RouterOptions,\n ValidationResult,\n} from './components/types.js';\nexport type { Spacing, Responsive } from './components/spacing/types.js';\nexport type { StyleProps } from './with-style-props.js';\n\nexport * from './providers/ssr/ssr-provider.js';\nexport * from './providers/router/router-provider.js';\n\nexport * from './components/internal/x-button/x-button.js';\n\nexport * from './utils/use-is-mobile.js';\n\n// Unfinished exports below\nexport * from './components/visually-hidden/visually-hidden.js';\nexport * from './components/file-picker/file-picker.js';\nexport * from './components/container/container.js';\nexport * from './components/stepper/stepper.js';\nexport * from './components/stepper/stepper-item.js';\nexport type { StepperStatus } from './components/stepper/types.js';\nexport * from './components/app-shell/app-shell.js';\nexport * from './components/app-header/side-nav.js';\nexport * from './components/hidden/hidden.js';\nexport * from './components/app-header/nav-button.js';\nexport * from './components/top-nav/top-nav.js';\nexport * from './components/page-layout/page-layout.js';\nexport * from './components/nav-list/nav-list.js';\n"]}
|