@handijitcom/ui 3.2.1 → 3.3.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/README.md +67 -1
- package/build/components/AppShell/style.css +1 -1
- package/build/components/BottomSheet/style.css +1 -1
- package/build/components/BrandSurface/style.css +1 -1
- package/build/components/Button/style.css +1 -1
- package/build/components/DataTable/index.cjs +1 -1
- package/build/components/DataTable/index.cjs.map +1 -1
- package/build/components/DataTable/index.js +67 -66
- package/build/components/DataTable/index.js.map +1 -1
- package/build/components/DataTable/style.css +1 -1
- package/build/components/Drawer/style.css +1 -1
- package/build/components/Eyebrow/style.css +1 -1
- package/build/components/Modal/style.css +1 -1
- package/build/components/Popover/style.css +1 -1
- package/build/components/StatStrip/style.css +1 -1
- package/build/components/Table/style.css +1 -1
- package/build/components/Toast/style.css +1 -1
- package/build/components/TotalsList/index.cjs +2 -0
- package/build/components/TotalsList/index.cjs.map +1 -0
- package/build/components/TotalsList/index.d.cts +26 -0
- package/build/components/TotalsList/index.d.ts +26 -0
- package/build/components/TotalsList/index.js +22 -0
- package/build/components/TotalsList/index.js.map +1 -0
- package/build/components/TotalsList/style.css +1 -0
- package/build/constants/breakpoint.constants.cjs +1 -1
- package/build/constants/breakpoint.constants.cjs.map +1 -1
- package/build/constants/breakpoint.constants.d.cts +2 -0
- package/build/constants/breakpoint.constants.d.ts +2 -0
- package/build/constants/breakpoint.constants.js +5 -4
- package/build/constants/breakpoint.constants.js.map +1 -1
- package/build/design/tokens.css +77 -0
- package/build/hooks/usePrinting.cjs +2 -0
- package/build/hooks/usePrinting.cjs.map +1 -0
- package/build/hooks/usePrinting.d.cts +8 -0
- package/build/hooks/usePrinting.d.ts +8 -0
- package/build/hooks/usePrinting.js +18 -0
- package/build/hooks/usePrinting.js.map +1 -0
- package/build/index.cjs +1 -1
- package/build/index.d.cts +1 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +88 -86
- package/build/index.js.map +1 -1
- package/build/styles.css +15 -13
- package/package.json +11 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
/** One row of a `TotalsList`: the same `term` / `description` shape as `DescriptionList`'s items. */
|
|
3
|
+
export type TotalsListItem = {
|
|
4
|
+
/** The label: "Ara toplam", "İskonto", "KDV (%20)". */
|
|
5
|
+
term: ReactNode;
|
|
6
|
+
/**
|
|
7
|
+
* The amount: usually a `Price` (a negative one for a discount, "-₺120,00"), plain text, or an
|
|
8
|
+
* inline `Badge` ("Ücretsiz"). Right-aligned with tabular figures, so the digits line up.
|
|
9
|
+
*/
|
|
10
|
+
description: ReactNode;
|
|
11
|
+
/** The grand total: emphasized and set apart by a divider above it. */
|
|
12
|
+
isTotal?: boolean;
|
|
13
|
+
};
|
|
14
|
+
type Props = {
|
|
15
|
+
items: TotalsListItem[];
|
|
16
|
+
className?: string;
|
|
17
|
+
testId?: string;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Label → amount totals of a cart, an order or an invoice (3.2.2) — a native `<dl>`. Labels sit at
|
|
21
|
+
* the start, amounts at the end in tabular figures; an `isTotal` row is emphasized below a divider.
|
|
22
|
+
* @example <TotalsList items={[{ term: 'Ara toplam', description: <Price value="1.200,00" size="sm" /> }, { term: 'Genel toplam', description: <Price value="1.440,00" />, isTotal: true }]} />
|
|
23
|
+
*/
|
|
24
|
+
declare const TotalsList: FC<Props>;
|
|
25
|
+
declare const _default: typeof TotalsList;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as o, jsxs as d } from "react/jsx-runtime";
|
|
2
|
+
import { memo as i } from "react";
|
|
3
|
+
import { cx as a } from "../../helpers/class-name.helper.js";
|
|
4
|
+
import { named as c } from "../../helpers/component.helper.js";
|
|
5
|
+
const t = {"totals":"ui-totals-nfbmW","totals__row":"ui-totals__row-C1ufl","totals__row--total":"ui-totals__row--total-RxjGo","totals__term":"ui-totals__term-2EyMa","totals__value":"ui-totals__value-FLub2"};
|
|
6
|
+
const n = ({ items: l, className: r, testId: m }) => /* @__PURE__ */ o("dl", { className: a(t.totals, r), "data-testid": m, children: l.map((s, e) => /* @__PURE__ */ d(
|
|
7
|
+
"div",
|
|
8
|
+
{
|
|
9
|
+
className: a(t.totals__row, s.isTotal && t["totals__row--total"]),
|
|
10
|
+
children: [
|
|
11
|
+
/* @__PURE__ */ o("dt", { className: t.totals__term, children: s.term }),
|
|
12
|
+
/* @__PURE__ */ o("dd", { className: t.totals__value, children: s.description })
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
e
|
|
16
|
+
)) }), N = /* @__PURE__ */ i(
|
|
17
|
+
/* @__PURE__ */ c(n, "TotalsList")
|
|
18
|
+
);
|
|
19
|
+
export {
|
|
20
|
+
N as default
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/TotalsList/index.tsx"],"sourcesContent":["import { type FC, memo, type ReactNode } from 'react';\n\nimport { cx } from '../../helpers/class-name.helper';\nimport { named } from '../../helpers/component.helper';\n\nimport styles from './index.module.scss';\n\n/** One row of a `TotalsList`: the same `term` / `description` shape as `DescriptionList`'s items. */\nexport type TotalsListItem = {\n /** The label: \"Ara toplam\", \"İskonto\", \"KDV (%20)\". */\n term: ReactNode;\n /**\n * The amount: usually a `Price` (a negative one for a discount, \"-₺120,00\"), plain text, or an\n * inline `Badge` (\"Ücretsiz\"). Right-aligned with tabular figures, so the digits line up.\n */\n description: ReactNode;\n /** The grand total: emphasized and set apart by a divider above it. */\n isTotal?: boolean;\n};\n\ntype Props = {\n items: TotalsListItem[];\n className?: string;\n testId?: string;\n};\n\n/**\n * Label → amount totals of a cart, an order or an invoice (3.2.2) — a native `<dl>`. Labels sit at\n * the start, amounts at the end in tabular figures; an `isTotal` row is emphasized below a divider.\n * @example <TotalsList items={[{ term: 'Ara toplam', description: <Price value=\"1.200,00\" size=\"sm\" /> }, { term: 'Genel toplam', description: <Price value=\"1.440,00\" />, isTotal: true }]} />\n */\nconst TotalsList: FC<Props> = ({ items, className, testId }) => (\n <dl className={cx(styles.totals, className)} data-testid={testId}>\n {items.map((item, index) => (\n <div\n key={index}\n className={cx(styles.totals__row, item.isTotal && styles['totals__row--total'])}\n >\n <dt className={styles.totals__term}>{item.term}</dt>\n <dd className={styles.totals__value}>{item.description}</dd>\n </div>\n ))}\n </dl>\n);\n\nexport default /*#__PURE__*/ memo(\n /*#__PURE__*/ named(TotalsList, 'TotalsList'),\n) as typeof TotalsList;\n"],"names":["TotalsList","items","className","testId","cx","styles","item","index","jsxs","jsx","memo","named"],"mappings":";;;;;AA+BA,MAAMA,IAAwB,CAAC,EAAE,OAAAC,GAAO,WAAAC,GAAW,QAAAC,0BAChD,MAAA,EAAG,WAAWC,EAAGC,EAAO,QAAQH,CAAS,GAAG,eAAaC,GACvD,UAAAF,EAAM,IAAI,CAACK,GAAMC,MAChB,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IAEC,WAAWJ,EAAGC,EAAO,aAAaC,EAAK,WAAWD,EAAO,oBAAoB,CAAC;AAAA,IAE9E,UAAA;AAAA,MAAA,gBAAAI,EAAC,MAAA,EAAG,WAAWJ,EAAO,cAAe,YAAK,MAAK;AAAA,wBAC9C,MAAA,EAAG,WAAWA,EAAO,eAAgB,YAAK,YAAA,CAAY;AAAA,IAAA;AAAA,EAAA;AAAA,EAJlDE;AAKP,CACD,GACH,GAGFA,IAA6B,gBAAAG;AAAA,EACb,gBAAAC,EAAMX,GAAY,YAAY;AAC9C;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer ui{.ui-totals-nfbmW{display:flex;flex-direction:column;gap:var(--hd-space-2);margin:0;font-size:var(--hd-type-small-size)}.ui-totals__row-C1ufl{display:flex;align-items:baseline;justify-content:space-between;gap:var(--hd-space-4);break-inside:avoid}.ui-totals__row--total-RxjGo{margin-block-start:var(--hd-space-1);padding-block-start:var(--hd-space-3);border-block-start:1px solid var(--hd-border);font-size:var(--hd-type-body-size);font-weight:var(--hd-font-weight-semibold)}.ui-totals__term-2EyMa{min-width:0;color:var(--hd-text-2)}.ui-totals__row--total-RxjGo .ui-totals__term-2EyMa{color:var(--hd-text)}.ui-totals__value-FLub2{flex-shrink:0;margin:0;color:var(--hd-text);font-variant-numeric:tabular-nums;text-align:end;white-space:nowrap}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("@handijitcom/ui/design"),_=E.breakpoints.sm,A=E.breakpoints.md,T=E.breakpoints.lg,n=`(min-width: ${T+1}px)`,t=`(min-width: ${_+1}px)`,
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("@handijitcom/ui/design"),_=E.breakpoints.sm,A=E.breakpoints.md,T=E.breakpoints.lg,n=`(min-width: ${T+1}px)`,t=`(min-width: ${_+1}px)`,I=`(max-width: ${_}px) and (pointer: coarse)`,o="(hover: none) and (pointer: coarse)",R="print";exports.ABOVE_MOBILE_MEDIA_QUERY=t;exports.ABOVE_TABLET_MEDIA_QUERY=n;exports.MOBILE_BREAKPOINT=_;exports.PRINT_MEDIA_QUERY=R;exports.SHEET_MEDIA_QUERY=I;exports.TABLET_BREAKPOINT=T;exports.TABLET_PORTRAIT_BREAKPOINT=A;exports.TOUCH_MEDIA_QUERY=o;
|
|
2
2
|
//# sourceMappingURL=breakpoint.constants.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breakpoint.constants.cjs","sources":["../../src/constants/breakpoint.constants.ts"],"sourcesContent":["import { breakpoints } from '@handijitcom/ui/design';\n\n/** Breakpoints — the values of `@handijitcom/ui/design` (`$breakpoint-*` in `styles/_variables.scss`). */\nexport const MOBILE_BREAKPOINT = breakpoints.sm;\n\nexport const TABLET_PORTRAIT_BREAKPOINT = breakpoints.md;\n\nexport const TABLET_BREAKPOINT = breakpoints.lg;\n\n/** A sidebar is on screen above this width, so a filter panel is hidden there. */\nexport const ABOVE_TABLET_MEDIA_QUERY = `(min-width: ${TABLET_BREAKPOINT + 1}px)`;\n\nexport const ABOVE_MOBILE_MEDIA_QUERY = `(min-width: ${MOBILE_BREAKPOINT + 1}px)`;\n\n/**\n * When a select-like control opens a bottom sheet instead of a dropdown: a NARROW viewport on a\n * TOUCH device. A desktop window is never a sheet, however narrow — a pointer reaches a dropdown\n * next to the trigger faster than a sheet at the bottom edge of the window.\n */\nexport const SHEET_MEDIA_QUERY = `(max-width: ${MOBILE_BREAKPOINT}px) and (pointer: coarse)`;\n\n/** A touch screen is the primary pointer: a focused text field opens the on-screen keyboard. */\nexport const TOUCH_MEDIA_QUERY = '(hover: none) and (pointer: coarse)';\n"],"names":["MOBILE_BREAKPOINT","breakpoints","TABLET_PORTRAIT_BREAKPOINT","TABLET_BREAKPOINT","ABOVE_TABLET_MEDIA_QUERY","ABOVE_MOBILE_MEDIA_QUERY","SHEET_MEDIA_QUERY","TOUCH_MEDIA_QUERY"],"mappings":"0HAGaA,EAAoBC,EAAAA,YAAY,GAEhCC,EAA6BD,EAAAA,YAAY,GAEzCE,EAAoBF,EAAAA,YAAY,GAGhCG,EAA2B,eAAeD,EAAoB,CAAC,MAE/DE,EAA2B,eAAeL,EAAoB,CAAC,MAO/DM,EAAoB,eAAeN,CAAiB,4BAGpDO,EAAoB"}
|
|
1
|
+
{"version":3,"file":"breakpoint.constants.cjs","sources":["../../src/constants/breakpoint.constants.ts"],"sourcesContent":["import { breakpoints } from '@handijitcom/ui/design';\n\n/** Breakpoints — the values of `@handijitcom/ui/design` (`$breakpoint-*` in `styles/_variables.scss`). */\nexport const MOBILE_BREAKPOINT = breakpoints.sm;\n\nexport const TABLET_PORTRAIT_BREAKPOINT = breakpoints.md;\n\nexport const TABLET_BREAKPOINT = breakpoints.lg;\n\n/** A sidebar is on screen above this width, so a filter panel is hidden there. */\nexport const ABOVE_TABLET_MEDIA_QUERY = `(min-width: ${TABLET_BREAKPOINT + 1}px)`;\n\nexport const ABOVE_MOBILE_MEDIA_QUERY = `(min-width: ${MOBILE_BREAKPOINT + 1}px)`;\n\n/**\n * When a select-like control opens a bottom sheet instead of a dropdown: a NARROW viewport on a\n * TOUCH device. A desktop window is never a sheet, however narrow — a pointer reaches a dropdown\n * next to the trigger faster than a sheet at the bottom edge of the window.\n */\nexport const SHEET_MEDIA_QUERY = `(max-width: ${MOBILE_BREAKPOINT}px) and (pointer: coarse)`;\n\n/** A touch screen is the primary pointer: a focused text field opens the on-screen keyboard. */\nexport const TOUCH_MEDIA_QUERY = '(hover: none) and (pointer: coarse)';\n\n/** The page is being printed (or laid out for a PDF). */\nexport const PRINT_MEDIA_QUERY = 'print';\n"],"names":["MOBILE_BREAKPOINT","breakpoints","TABLET_PORTRAIT_BREAKPOINT","TABLET_BREAKPOINT","ABOVE_TABLET_MEDIA_QUERY","ABOVE_MOBILE_MEDIA_QUERY","SHEET_MEDIA_QUERY","TOUCH_MEDIA_QUERY","PRINT_MEDIA_QUERY"],"mappings":"0HAGaA,EAAoBC,EAAAA,YAAY,GAEhCC,EAA6BD,EAAAA,YAAY,GAEzCE,EAAoBF,EAAAA,YAAY,GAGhCG,EAA2B,eAAeD,EAAoB,CAAC,MAE/DE,EAA2B,eAAeL,EAAoB,CAAC,MAO/DM,EAAoB,eAAeN,CAAiB,4BAGpDO,EAAoB,sCAGpBC,EAAoB"}
|
|
@@ -13,3 +13,5 @@ export declare const ABOVE_MOBILE_MEDIA_QUERY: string;
|
|
|
13
13
|
export declare const SHEET_MEDIA_QUERY: string;
|
|
14
14
|
/** A touch screen is the primary pointer: a focused text field opens the on-screen keyboard. */
|
|
15
15
|
export declare const TOUCH_MEDIA_QUERY = "(hover: none) and (pointer: coarse)";
|
|
16
|
+
/** The page is being printed (or laid out for a PDF). */
|
|
17
|
+
export declare const PRINT_MEDIA_QUERY = "print";
|
|
@@ -13,3 +13,5 @@ export declare const ABOVE_MOBILE_MEDIA_QUERY: string;
|
|
|
13
13
|
export declare const SHEET_MEDIA_QUERY: string;
|
|
14
14
|
/** A touch screen is the primary pointer: a focused text field opens the on-screen keyboard. */
|
|
15
15
|
export declare const TOUCH_MEDIA_QUERY = "(hover: none) and (pointer: coarse)";
|
|
16
|
+
/** The page is being printed (or laid out for a PDF). */
|
|
17
|
+
export declare const PRINT_MEDIA_QUERY = "print";
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { breakpoints as E } from "@handijitcom/ui/design";
|
|
2
|
-
const
|
|
2
|
+
const n = E.sm, _ = E.md, o = E.lg, A = `(min-width: ${o + 1}px)`, T = `(min-width: ${n + 1}px)`, s = `(max-width: ${n}px) and (pointer: coarse)`, I = "(hover: none) and (pointer: coarse)", R = "print";
|
|
3
3
|
export {
|
|
4
4
|
T as ABOVE_MOBILE_MEDIA_QUERY,
|
|
5
5
|
A as ABOVE_TABLET_MEDIA_QUERY,
|
|
6
|
-
|
|
6
|
+
n as MOBILE_BREAKPOINT,
|
|
7
|
+
R as PRINT_MEDIA_QUERY,
|
|
7
8
|
s as SHEET_MEDIA_QUERY,
|
|
8
|
-
|
|
9
|
+
o as TABLET_BREAKPOINT,
|
|
9
10
|
_ as TABLET_PORTRAIT_BREAKPOINT,
|
|
10
|
-
|
|
11
|
+
I as TOUCH_MEDIA_QUERY
|
|
11
12
|
};
|
|
12
13
|
//# sourceMappingURL=breakpoint.constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breakpoint.constants.js","sources":["../../src/constants/breakpoint.constants.ts"],"sourcesContent":["import { breakpoints } from '@handijitcom/ui/design';\n\n/** Breakpoints — the values of `@handijitcom/ui/design` (`$breakpoint-*` in `styles/_variables.scss`). */\nexport const MOBILE_BREAKPOINT = breakpoints.sm;\n\nexport const TABLET_PORTRAIT_BREAKPOINT = breakpoints.md;\n\nexport const TABLET_BREAKPOINT = breakpoints.lg;\n\n/** A sidebar is on screen above this width, so a filter panel is hidden there. */\nexport const ABOVE_TABLET_MEDIA_QUERY = `(min-width: ${TABLET_BREAKPOINT + 1}px)`;\n\nexport const ABOVE_MOBILE_MEDIA_QUERY = `(min-width: ${MOBILE_BREAKPOINT + 1}px)`;\n\n/**\n * When a select-like control opens a bottom sheet instead of a dropdown: a NARROW viewport on a\n * TOUCH device. A desktop window is never a sheet, however narrow — a pointer reaches a dropdown\n * next to the trigger faster than a sheet at the bottom edge of the window.\n */\nexport const SHEET_MEDIA_QUERY = `(max-width: ${MOBILE_BREAKPOINT}px) and (pointer: coarse)`;\n\n/** A touch screen is the primary pointer: a focused text field opens the on-screen keyboard. */\nexport const TOUCH_MEDIA_QUERY = '(hover: none) and (pointer: coarse)';\n"],"names":["MOBILE_BREAKPOINT","breakpoints","TABLET_PORTRAIT_BREAKPOINT","TABLET_BREAKPOINT","ABOVE_TABLET_MEDIA_QUERY","ABOVE_MOBILE_MEDIA_QUERY","SHEET_MEDIA_QUERY","TOUCH_MEDIA_QUERY"],"mappings":";AAGO,MAAMA,IAAoBC,EAAY,IAEhCC,IAA6BD,EAAY,IAEzCE,IAAoBF,EAAY,IAGhCG,IAA2B,eAAeD,IAAoB,CAAC,OAE/DE,IAA2B,eAAeL,IAAoB,CAAC,OAO/DM,IAAoB,eAAeN,CAAiB,6BAGpDO,IAAoB;"}
|
|
1
|
+
{"version":3,"file":"breakpoint.constants.js","sources":["../../src/constants/breakpoint.constants.ts"],"sourcesContent":["import { breakpoints } from '@handijitcom/ui/design';\n\n/** Breakpoints — the values of `@handijitcom/ui/design` (`$breakpoint-*` in `styles/_variables.scss`). */\nexport const MOBILE_BREAKPOINT = breakpoints.sm;\n\nexport const TABLET_PORTRAIT_BREAKPOINT = breakpoints.md;\n\nexport const TABLET_BREAKPOINT = breakpoints.lg;\n\n/** A sidebar is on screen above this width, so a filter panel is hidden there. */\nexport const ABOVE_TABLET_MEDIA_QUERY = `(min-width: ${TABLET_BREAKPOINT + 1}px)`;\n\nexport const ABOVE_MOBILE_MEDIA_QUERY = `(min-width: ${MOBILE_BREAKPOINT + 1}px)`;\n\n/**\n * When a select-like control opens a bottom sheet instead of a dropdown: a NARROW viewport on a\n * TOUCH device. A desktop window is never a sheet, however narrow — a pointer reaches a dropdown\n * next to the trigger faster than a sheet at the bottom edge of the window.\n */\nexport const SHEET_MEDIA_QUERY = `(max-width: ${MOBILE_BREAKPOINT}px) and (pointer: coarse)`;\n\n/** A touch screen is the primary pointer: a focused text field opens the on-screen keyboard. */\nexport const TOUCH_MEDIA_QUERY = '(hover: none) and (pointer: coarse)';\n\n/** The page is being printed (or laid out for a PDF). */\nexport const PRINT_MEDIA_QUERY = 'print';\n"],"names":["MOBILE_BREAKPOINT","breakpoints","TABLET_PORTRAIT_BREAKPOINT","TABLET_BREAKPOINT","ABOVE_TABLET_MEDIA_QUERY","ABOVE_MOBILE_MEDIA_QUERY","SHEET_MEDIA_QUERY","TOUCH_MEDIA_QUERY","PRINT_MEDIA_QUERY"],"mappings":";AAGO,MAAMA,IAAoBC,EAAY,IAEhCC,IAA6BD,EAAY,IAEzCE,IAAoBF,EAAY,IAGhCG,IAA2B,eAAeD,IAAoB,CAAC,OAE/DE,IAA2B,eAAeL,IAAoB,CAAC,OAO/DM,IAAoB,eAAeN,CAAiB,6BAGpDO,IAAoB,uCAGpBC,IAAoB;"}
|
package/build/design/tokens.css
CHANGED
|
@@ -382,6 +382,83 @@
|
|
|
382
382
|
--hd-brand-surface-accent-glow: 0 8px 24px -10px rgb(251 96 65 / 0.45);
|
|
383
383
|
}
|
|
384
384
|
|
|
385
|
+
/* Print: paper is light, whatever the theme on screen. */
|
|
386
|
+
|
|
387
|
+
@media print {
|
|
388
|
+
:root:not([data-theme="light"]),
|
|
389
|
+
[data-theme="dark"] {
|
|
390
|
+
color-scheme: light;
|
|
391
|
+
|
|
392
|
+
/* Colours */
|
|
393
|
+
--hd-bg-page: #fafbfe;
|
|
394
|
+
--hd-bg-surface: #ffffff;
|
|
395
|
+
--hd-bg-raised: #f4f6fb;
|
|
396
|
+
--hd-bg-inset: #ecf0f6;
|
|
397
|
+
--hd-bg-overlay: #ffffff;
|
|
398
|
+
--hd-bg-disabled: #ecf0f6;
|
|
399
|
+
--hd-border: #dee3ed;
|
|
400
|
+
--hd-border-strong: #cbd1de;
|
|
401
|
+
--hd-border-control: #80899b;
|
|
402
|
+
--hd-text: #091122;
|
|
403
|
+
--hd-text-2: #515b6e;
|
|
404
|
+
--hd-text-3: #677083;
|
|
405
|
+
--hd-text-disabled: #a1a9ba;
|
|
406
|
+
--hd-primary: #2661fa;
|
|
407
|
+
--hd-primary-hover: #053dea;
|
|
408
|
+
--hd-primary-active: #0631b2;
|
|
409
|
+
--hd-on-primary: #ffffff;
|
|
410
|
+
--hd-primary-soft: #f4f7fd;
|
|
411
|
+
--hd-primary-soft-hover: #e6edfb;
|
|
412
|
+
--hd-primary-line: #cfddf9;
|
|
413
|
+
--hd-primary-text: #053dea;
|
|
414
|
+
--hd-accent: #fb6041;
|
|
415
|
+
--hd-accent-hover: #f99884;
|
|
416
|
+
--hd-accent-active: #f05133;
|
|
417
|
+
--hd-on-accent: #091122;
|
|
418
|
+
--hd-accent-soft: #fdf5f2;
|
|
419
|
+
--hd-accent-text: #b72e11;
|
|
420
|
+
--hd-focus: #5487fa;
|
|
421
|
+
--hd-selection-bg: #cfddf9;
|
|
422
|
+
--hd-danger-bg: #fdf4f5;
|
|
423
|
+
--hd-danger-fg: #a9143c;
|
|
424
|
+
--hd-danger-line: #f9d1d3;
|
|
425
|
+
--hd-danger-solid: #d2154c;
|
|
426
|
+
--hd-danger-on-solid: #ffffff;
|
|
427
|
+
--hd-info-bg: #f4f7fd;
|
|
428
|
+
--hd-info-fg: #053dea;
|
|
429
|
+
--hd-info-line: #cfddf9;
|
|
430
|
+
--hd-info-solid: #2661fa;
|
|
431
|
+
--hd-info-on-solid: #ffffff;
|
|
432
|
+
--hd-chart-1: #2661fa;
|
|
433
|
+
--hd-chart-2: #e03611;
|
|
434
|
+
--hd-chart-3: #677083;
|
|
435
|
+
--hd-chart-4: #05247e;
|
|
436
|
+
--hd-chart-5: #87230f;
|
|
437
|
+
--hd-chart-6: #091122;
|
|
438
|
+
--hd-brand-surface-deep: #0631b2;
|
|
439
|
+
|
|
440
|
+
/* Elevation */
|
|
441
|
+
--hd-shadow-color: 15 23 60;
|
|
442
|
+
--hd-shadow-alpha: 0.1;
|
|
443
|
+
--hd-shadow-1: 0 1px 2px rgb(15 23 60 / 0.1);
|
|
444
|
+
--hd-shadow-2: 0 1px 2px rgb(15 23 60 / 0.1), 0 12px 32px -12px rgb(15 23 60 / 0.2);
|
|
445
|
+
--hd-shadow-3: 0 2px 4px rgb(15 23 60 / 0.1), 0 24px 56px -16px rgb(15 23 60 / 0.3);
|
|
446
|
+
--hd-scrim: rgb(9 17 34 / 0.48);
|
|
447
|
+
|
|
448
|
+
/* Brand surface imagery */
|
|
449
|
+
--hd-brand-surface-hold: 55%;
|
|
450
|
+
--hd-brand-surface-line: rgb(255 255 255 / 0.24);
|
|
451
|
+
--hd-brand-surface-glow-alpha: 0.06;
|
|
452
|
+
--hd-brand-surface-dot-alpha: 0.22;
|
|
453
|
+
--hd-brand-surface-dot-cell: 22px;
|
|
454
|
+
--hd-brand-surface-dot-radius: 1.6px;
|
|
455
|
+
--hd-brand-surface-blueprint-hold: 70%;
|
|
456
|
+
--hd-brand-surface-blueprint-fill-alpha: 0.16;
|
|
457
|
+
--hd-brand-surface-blueprint-stroke-alpha: 0.4;
|
|
458
|
+
--hd-brand-surface-accent-glow: 0 8px 24px -10px rgb(251 96 65 / 0.45);
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
|
|
385
462
|
@media (prefers-reduced-motion: reduce) {
|
|
386
463
|
:root {
|
|
387
464
|
--hd-duration-fast: 0.01ms;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("react"),u=require("react-dom"),f=require("../constants/breakpoint.constants.cjs"),l=(t=!0)=>{const[c,d]=a.useState(!1);return a.useEffect(()=>{if(!t)return;const n=r=>u.flushSync(()=>d(r)),i=()=>n(!0),o=()=>n(!1),s=r=>n(r.matches),e=typeof window.matchMedia=="function"?window.matchMedia(f.PRINT_MEDIA_QUERY):null;return window.addEventListener("beforeprint",i),window.addEventListener("afterprint",o),e==null||e.addEventListener("change",s),()=>{window.removeEventListener("beforeprint",i),window.removeEventListener("afterprint",o),e==null||e.removeEventListener("change",s)}},[t]),t&&c};exports.default=l;
|
|
2
|
+
//# sourceMappingURL=usePrinting.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePrinting.cjs","sources":["../../src/hooks/usePrinting.ts"],"sourcesContent":["'use client';\n\nimport { useEffect, useState } from 'react';\nimport { flushSync } from 'react-dom';\n\nimport { PRINT_MEDIA_QUERY } from '../constants/breakpoint.constants';\n\n/**\n * Whether the page is being printed (3.2.2): `true` from `beforeprint` — or the print media query\n * starting to match — until `afterprint`. The state is flushed synchronously: the browser lays the\n * pages out as soon as `beforeprint` returns, so a render that waited for the next frame would miss\n * the paper. Listens only while `isEnabled`; disabled, it answers `false`.\n */\nconst usePrinting = (isEnabled = true): boolean => {\n const [isPrinting, setIsPrinting] = useState(false);\n\n useEffect(() => {\n if (!isEnabled) return;\n\n const update = (next: boolean) => flushSync(() => setIsPrinting(next));\n const handleBeforePrint = () => update(true);\n const handleAfterPrint = () => update(false);\n const handleChange = (event: MediaQueryListEvent) => update(event.matches);\n const query =\n typeof window.matchMedia === 'function' ? window.matchMedia(PRINT_MEDIA_QUERY) : null;\n\n window.addEventListener('beforeprint', handleBeforePrint);\n window.addEventListener('afterprint', handleAfterPrint);\n query?.addEventListener('change', handleChange);\n\n return () => {\n window.removeEventListener('beforeprint', handleBeforePrint);\n window.removeEventListener('afterprint', handleAfterPrint);\n query?.removeEventListener('change', handleChange);\n };\n }, [isEnabled]);\n\n return isEnabled && isPrinting;\n};\n\nexport default usePrinting;\n"],"names":["usePrinting","isEnabled","isPrinting","setIsPrinting","useState","useEffect","update","next","flushSync","handleBeforePrint","handleAfterPrint","handleChange","event","query","PRINT_MEDIA_QUERY"],"mappings":"4NAYMA,EAAc,CAACC,EAAY,KAAkB,CACjD,KAAM,CAACC,EAAYC,CAAa,EAAIC,EAAAA,SAAS,EAAK,EAElDC,OAAAA,EAAAA,UAAU,IAAM,CACd,GAAI,CAACJ,EAAW,OAEhB,MAAMK,EAAUC,GAAkBC,EAAAA,UAAU,IAAML,EAAcI,CAAI,CAAC,EAC/DE,EAAoB,IAAMH,EAAO,EAAI,EACrCI,EAAmB,IAAMJ,EAAO,EAAK,EACrCK,EAAgBC,GAA+BN,EAAOM,EAAM,OAAO,EACnEC,EACJ,OAAO,OAAO,YAAe,WAAa,OAAO,WAAWC,EAAAA,iBAAiB,EAAI,KAEnF,cAAO,iBAAiB,cAAeL,CAAiB,EACxD,OAAO,iBAAiB,aAAcC,CAAgB,EACtDG,GAAA,MAAAA,EAAO,iBAAiB,SAAUF,GAE3B,IAAM,CACX,OAAO,oBAAoB,cAAeF,CAAiB,EAC3D,OAAO,oBAAoB,aAAcC,CAAgB,EACzDG,GAAA,MAAAA,EAAO,oBAAoB,SAAUF,EACvC,CACF,EAAG,CAACV,CAAS,CAAC,EAEPA,GAAaC,CACtB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether the page is being printed (3.2.2): `true` from `beforeprint` — or the print media query
|
|
3
|
+
* starting to match — until `afterprint`. The state is flushed synchronously: the browser lays the
|
|
4
|
+
* pages out as soon as `beforeprint` returns, so a render that waited for the next frame would miss
|
|
5
|
+
* the paper. Listens only while `isEnabled`; disabled, it answers `false`.
|
|
6
|
+
*/
|
|
7
|
+
declare const usePrinting: (isEnabled?: boolean) => boolean;
|
|
8
|
+
export default usePrinting;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether the page is being printed (3.2.2): `true` from `beforeprint` — or the print media query
|
|
3
|
+
* starting to match — until `afterprint`. The state is flushed synchronously: the browser lays the
|
|
4
|
+
* pages out as soon as `beforeprint` returns, so a render that waited for the next frame would miss
|
|
5
|
+
* the paper. Listens only while `isEnabled`; disabled, it answers `false`.
|
|
6
|
+
*/
|
|
7
|
+
declare const usePrinting: (isEnabled?: boolean) => boolean;
|
|
8
|
+
export default usePrinting;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useState as d, useEffect as c } from "react";
|
|
3
|
+
import { flushSync as m } from "react-dom";
|
|
4
|
+
import { PRINT_MEDIA_QUERY as w } from "../constants/breakpoint.constants.js";
|
|
5
|
+
const v = (t = !0) => {
|
|
6
|
+
const [a, f] = d(!1);
|
|
7
|
+
return c(() => {
|
|
8
|
+
if (!t) return;
|
|
9
|
+
const n = (r) => m(() => f(r)), i = () => n(!0), o = () => n(!1), s = (r) => n(r.matches), e = typeof window.matchMedia == "function" ? window.matchMedia(w) : null;
|
|
10
|
+
return window.addEventListener("beforeprint", i), window.addEventListener("afterprint", o), e == null || e.addEventListener("change", s), () => {
|
|
11
|
+
window.removeEventListener("beforeprint", i), window.removeEventListener("afterprint", o), e == null || e.removeEventListener("change", s);
|
|
12
|
+
};
|
|
13
|
+
}, [t]), t && a;
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
v as default
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=usePrinting.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePrinting.js","sources":["../../src/hooks/usePrinting.ts"],"sourcesContent":["'use client';\n\nimport { useEffect, useState } from 'react';\nimport { flushSync } from 'react-dom';\n\nimport { PRINT_MEDIA_QUERY } from '../constants/breakpoint.constants';\n\n/**\n * Whether the page is being printed (3.2.2): `true` from `beforeprint` — or the print media query\n * starting to match — until `afterprint`. The state is flushed synchronously: the browser lays the\n * pages out as soon as `beforeprint` returns, so a render that waited for the next frame would miss\n * the paper. Listens only while `isEnabled`; disabled, it answers `false`.\n */\nconst usePrinting = (isEnabled = true): boolean => {\n const [isPrinting, setIsPrinting] = useState(false);\n\n useEffect(() => {\n if (!isEnabled) return;\n\n const update = (next: boolean) => flushSync(() => setIsPrinting(next));\n const handleBeforePrint = () => update(true);\n const handleAfterPrint = () => update(false);\n const handleChange = (event: MediaQueryListEvent) => update(event.matches);\n const query =\n typeof window.matchMedia === 'function' ? window.matchMedia(PRINT_MEDIA_QUERY) : null;\n\n window.addEventListener('beforeprint', handleBeforePrint);\n window.addEventListener('afterprint', handleAfterPrint);\n query?.addEventListener('change', handleChange);\n\n return () => {\n window.removeEventListener('beforeprint', handleBeforePrint);\n window.removeEventListener('afterprint', handleAfterPrint);\n query?.removeEventListener('change', handleChange);\n };\n }, [isEnabled]);\n\n return isEnabled && isPrinting;\n};\n\nexport default usePrinting;\n"],"names":["usePrinting","isEnabled","isPrinting","setIsPrinting","useState","useEffect","update","next","flushSync","handleBeforePrint","handleAfterPrint","handleChange","event","query","PRINT_MEDIA_QUERY"],"mappings":";;;;AAYA,MAAMA,IAAc,CAACC,IAAY,OAAkB;AACjD,QAAM,CAACC,GAAYC,CAAa,IAAIC,EAAS,EAAK;AAElD,SAAAC,EAAU,MAAM;AACd,QAAI,CAACJ,EAAW;AAEhB,UAAMK,IAAS,CAACC,MAAkBC,EAAU,MAAML,EAAcI,CAAI,CAAC,GAC/DE,IAAoB,MAAMH,EAAO,EAAI,GACrCI,IAAmB,MAAMJ,EAAO,EAAK,GACrCK,IAAe,CAACC,MAA+BN,EAAOM,EAAM,OAAO,GACnEC,IACJ,OAAO,OAAO,cAAe,aAAa,OAAO,WAAWC,CAAiB,IAAI;AAEnF,kBAAO,iBAAiB,eAAeL,CAAiB,GACxD,OAAO,iBAAiB,cAAcC,CAAgB,GACtDG,KAAA,QAAAA,EAAO,iBAAiB,UAAUF,IAE3B,MAAM;AACX,aAAO,oBAAoB,eAAeF,CAAiB,GAC3D,OAAO,oBAAoB,cAAcC,CAAgB,GACzDG,KAAA,QAAAA,EAAO,oBAAoB,UAAUF;AAAA,IACvC;AAAA,EACF,GAAG,CAACV,CAAS,CAAC,GAEPA,KAAaC;AACtB;"}
|
package/build/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("./theme/UiProvider.cjs"),x=require("./theme/UiThemeScript.cjs"),T=require("./theme/context.cjs"),n=require("@handijitcom/ui/design"),S=require("./helpers/focus.helper.cjs"),E=require("./hooks/useAnnounce.cjs"),B=require("./hooks/useUiTheme.cjs"),P=require("./hooks/useUiTokens.cjs"),C=require("./hooks/useStickToBottom.cjs"),I=require("./hooks/useListboxNavigation.cjs"),A=require("./hooks/usePositioning.cjs"),R=require("./hooks/useVirtualList.cjs"),b=require("./enums/ui-variant.enum.cjs"),g=require("./enums/ui-size.enum.cjs"),e=require("./constants/breakpoint.constants.cjs"),a=require("./helpers/text.helper.cjs"),D=require("./components/Button/index.cjs"),h=require("./components/IconButton/index.cjs"),O=require("./components/TextLink/index.cjs"),y=require("./components/Tooltip/index.cjs"),s=require("./components/Menu/index.cjs"),M=require("./components/Popover/index.cjs"),k=require("./components/Chip/index.cjs"),U=require("./components/ChipGroup/index.cjs"),v=require("./components/Combobox/index.cjs"),H=require("./components/SegmentedControl/index.cjs"),F=require("./components/Select/index.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("./theme/UiProvider.cjs"),x=require("./theme/UiThemeScript.cjs"),T=require("./theme/context.cjs"),n=require("@handijitcom/ui/design"),S=require("./helpers/focus.helper.cjs"),E=require("./hooks/useAnnounce.cjs"),B=require("./hooks/useUiTheme.cjs"),P=require("./hooks/useUiTokens.cjs"),C=require("./hooks/useStickToBottom.cjs"),I=require("./hooks/useListboxNavigation.cjs"),A=require("./hooks/usePositioning.cjs"),R=require("./hooks/useVirtualList.cjs"),b=require("./enums/ui-variant.enum.cjs"),g=require("./enums/ui-size.enum.cjs"),e=require("./constants/breakpoint.constants.cjs"),a=require("./helpers/text.helper.cjs"),D=require("./components/Button/index.cjs"),h=require("./components/IconButton/index.cjs"),O=require("./components/TextLink/index.cjs"),y=require("./components/Tooltip/index.cjs"),s=require("./components/Menu/index.cjs"),M=require("./components/Popover/index.cjs"),k=require("./components/Chip/index.cjs"),U=require("./components/ChipGroup/index.cjs"),v=require("./components/Combobox/index.cjs"),H=require("./components/SegmentedControl/index.cjs"),F=require("./components/Select/index.cjs"),L=require("./components/Checkbox/index.cjs"),N=require("./components/Switch/index.cjs"),w=require("./components/Radio/index.cjs"),G=require("./components/RadioCard/index.cjs"),K=require("./components/RangeSlider/index.cjs"),Q=require("./components/RatingInput/index.cjs"),V=require("./components/QuantityStepper/index.cjs"),Y=require("./components/TableCheckbox/index.cjs"),j=require("./components/Input/index.cjs"),z=require("./components/PasswordInput/index.cjs"),J=require("./components/ScaledInput/index.cjs"),W=require("./components/MoneyInput/index.cjs"),X=require("./components/QuantityInput/index.cjs"),Z=require("./components/RateInput/index.cjs"),$=require("./components/PercentInput/index.cjs"),ee=require("./components/TagInput/index.cjs"),te=require("./components/Textarea/index.cjs"),d=require("./components/DateField/index.cjs"),ne=require("./components/Field/index.cjs"),oe=require("./components/FileUpload/index.cjs"),re=require("./components/Alert/index.cjs"),ie=require("./components/Avatar/index.cjs"),ue=require("./components/Badge/index.cjs"),ae=require("./components/Breadcrumb/index.cjs"),t=require("./components/Card/index.cjs"),se=require("./components/Carousel/index.cjs"),de=require("./components/CodeBadge/index.cjs"),ce=require("./components/Kbd/index.cjs"),le=require("./components/StatusDot/index.cjs"),_e=require("./components/CopyField/index.cjs"),pe=require("./components/Divider/index.cjs"),o=require("./components/Directory/index.cjs"),me=require("./components/EmptyState/index.cjs"),fe=require("./components/PageHeader/index.cjs"),i=require("./components/Panel/index.cjs"),qe=require("./components/Price/index.cjs"),xe=require("./components/Rating/index.cjs"),Te=require("./components/SectionHeader/index.cjs"),Se=require("./components/ScrollArea/index.cjs"),r=require("./components/Skeleton/index.cjs"),Ee=require("./components/Stat/index.cjs"),Be=require("./components/SummaryCard/index.cjs"),Pe=require("./components/TotalsList/index.cjs"),c=require("./components/Progress/index.cjs"),Ce=require("./components/Spinner/index.cjs"),l=require("./components/Toast/index.cjs"),Ie=require("./components/ToastPortal/index.cjs"),Ae=require("./components/Accordion/index.cjs"),Re=require("./components/Disclosure/index.cjs"),be=require("./components/Steps/index.cjs"),ge=require("./components/Tabs/index.cjs"),De=require("./components/Tile/index.cjs"),he=require("./components/Timeline/index.cjs"),_=require("./components/BrandSurface/index.cjs"),Oe=require("./components/Eyebrow/index.cjs"),ye=require("./components/StatStrip/index.cjs"),Me=require("./components/BottomSheet/index.cjs"),ke=require("./components/Modal/index.cjs"),Ue=require("./components/CommandPalette/index.cjs"),ve=require("./components/ConfirmDialog/index.cjs"),He=require("./components/Drawer/index.cjs"),Fe=require("./components/PromptDialog/index.cjs"),p=require("./components/Table/index.cjs"),m=require("./components/DataTable/index.cjs"),Le=require("./components/DataTableColumnMenu/index.cjs"),Ne=require("./components/Gallery/index.cjs"),we=require("./components/TreeSelect/index.cjs"),Ge=require("./components/NotificationCenter/index.cjs"),Ke=require("./components/BulkPasteInput/index.cjs"),Qe=require("./helpers/bulk-paste.helper.cjs"),Ve=require("./components/AppShell/index.cjs"),Ye=require("./components/UserMenu/index.cjs"),f=require("./components/FilterBar/index.cjs"),je=require("./components/Pagination/index.cjs"),u=require("./components/AppShell/Nav.cjs");exports.UiProvider=q.default;exports.UiThemeScript=x.default;exports.useUi=T.useUi;Object.defineProperty(exports,"THEME_ATTRIBUTE",{enumerable:!0,get:()=>n.THEME_ATTRIBUTE});Object.defineProperty(exports,"THEME_BOOT_SCRIPT",{enumerable:!0,get:()=>n.THEME_BOOT_SCRIPT});Object.defineProperty(exports,"THEME_BOOT_SCRIPT_HASH",{enumerable:!0,get:()=>n.THEME_BOOT_SCRIPT_HASH});Object.defineProperty(exports,"THEME_STORAGE_KEY",{enumerable:!0,get:()=>n.THEME_STORAGE_KEY});exports.hasOpenSurface=S.hasOpenSurface;exports.useAnnounce=E.default;exports.useUiTheme=B.default;exports.useUiTokens=P.default;exports.useStickToBottom=C.default;exports.useListboxNavigation=I.default;exports.usePositioning=A.default;exports.useVirtualList=R.default;exports.UIVariant=b.default;exports.UISize=g.default;exports.ABOVE_MOBILE_MEDIA_QUERY=e.ABOVE_MOBILE_MEDIA_QUERY;exports.ABOVE_TABLET_MEDIA_QUERY=e.ABOVE_TABLET_MEDIA_QUERY;exports.MOBILE_BREAKPOINT=e.MOBILE_BREAKPOINT;exports.SHEET_MEDIA_QUERY=e.SHEET_MEDIA_QUERY;exports.TABLET_BREAKPOINT=e.TABLET_BREAKPOINT;exports.TABLET_PORTRAIT_BREAKPOINT=e.TABLET_PORTRAIT_BREAKPOINT;exports.matchesSearch=a.matchesSearch;exports.normalizeSearchTerm=a.normalizeSearchTerm;exports.Button=D.default;exports.IconButton=h.default;exports.TextLink=O.default;exports.Tooltip=y.default;exports.ContextMenu=s.ContextMenu;exports.Menu=s.default;exports.Popover=M.default;exports.Chip=k.default;exports.ChipGroup=U.default;exports.Combobox=v.default;exports.SegmentedControl=H.default;exports.Select=F.default;exports.Checkbox=L.default;exports.Switch=N.default;exports.Radio=w.default;exports.RadioCard=G.default;exports.RangeSlider=K.default;exports.RatingInput=Q.default;exports.QuantityStepper=V.default;exports.TableCheckbox=Y.default;exports.Input=j.default;exports.PasswordInput=z.default;exports.ScaledInput=J.default;exports.MoneyInput=W.default;exports.QuantityInput=X.default;exports.RateInput=Z.default;exports.PercentInput=$.default;exports.TagInput=ee.default;exports.Textarea=te.default;exports.DateField=d.default;exports.DateRange=d.DateRange;exports.Field=ne.default;exports.FileUpload=oe.default;exports.Alert=re.default;exports.Avatar=ie.default;exports.Badge=ue.default;exports.Breadcrumb=ae.default;exports.Card=t.default;exports.CardBody=t.CardBody;exports.CardFooter=t.CardFooter;exports.CardMedia=t.CardMedia;exports.CardOverlay=t.CardOverlay;exports.Carousel=se.default;exports.CodeBadge=de.default;exports.Kbd=ce.default;exports.StatusDot=le.default;exports.CopyField=_e.default;exports.Divider=pe.default;exports.Directory=o.default;exports.DirectoryGroup=o.DirectoryGroup;exports.DirectoryJump=o.DirectoryJump;exports.DirectoryRow=o.DirectoryRow;exports.EmptyState=me.default;exports.PageHeader=fe.default;exports.Panel=i.default;exports.PanelForm=i.PanelForm;exports.PanelRow=i.PanelRow;exports.Price=qe.default;exports.Rating=xe.default;exports.SectionHeader=Te.default;exports.ScrollArea=Se.default;exports.Skeleton=r.default;exports.SkeletonCard=r.SkeletonCard;exports.SkeletonRows=r.SkeletonRows;exports.SkeletonTable=r.SkeletonTable;exports.Stat=Ee.default;exports.SummaryCard=Be.default;exports.TotalsList=Pe.default;exports.Progress=c.default;exports.ProgressCircle=c.ProgressCircle;exports.Spinner=Ce.default;exports.ToastHub=l.default;exports.toast=l.toast;exports.ToastPortal=Ie.default;exports.Accordion=Ae.default;exports.Disclosure=Re.default;exports.Steps=be.default;exports.Tabs=ge.default;exports.Tile=De.default;exports.Timeline=he.default;exports.BrandBlueprint=_.BrandBlueprint;exports.BrandSurface=_.default;exports.Eyebrow=Oe.default;exports.StatStrip=ye.default;exports.BottomSheet=Me.default;exports.Modal=ke.default;exports.CommandPalette=Ue.default;exports.ConfirmDialog=ve.default;exports.Drawer=He.default;exports.PromptDialog=Fe.default;exports.Table=p.default;exports.TableScroller=p.TableScroller;exports.DataTable=m.default;exports.DataTableRow=m.DataTableRow;exports.DataTableColumnMenu=Le.default;exports.Gallery=Ne.default;exports.TreeSelect=we.default;exports.NotificationCenter=Ge.default;exports.BulkPasteInput=Ke.default;exports.parseBulkPaste=Qe.parseBulkPaste;exports.AppShell=Ve.default;exports.UserMenu=Ye.default;exports.FilterBar=f.default;exports.FilterBarField=f.FilterBarField;exports.Pagination=je.default;exports.AppShellNav=u.AppShellNav;exports.AppShellNavGroup=u.AppShellNavGroup;exports.AppShellNavItem=u.AppShellNavItem;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/build/index.d.cts
CHANGED
|
@@ -73,6 +73,7 @@ export { default as ScrollArea } from './components/ScrollArea/index.cjs';
|
|
|
73
73
|
export { default as Skeleton, SkeletonCard, SkeletonRows, SkeletonTable, } from './components/Skeleton/index.cjs';
|
|
74
74
|
export { default as Stat, type StatTrend } from './components/Stat/index.cjs';
|
|
75
75
|
export { default as SummaryCard, type SummaryCardHeadingLevel } from './components/SummaryCard/index.cjs';
|
|
76
|
+
export { default as TotalsList, type TotalsListItem } from './components/TotalsList/index.cjs';
|
|
76
77
|
export { default as Progress, ProgressCircle } from './components/Progress/index.cjs';
|
|
77
78
|
export { default as Spinner } from './components/Spinner/index.cjs';
|
|
78
79
|
export { default as ToastHub, toast, type ToastInset, type ToastOptions, type ToastPlacement, type ToastTone, } from './components/Toast/index.cjs';
|
package/build/index.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ export { default as ScrollArea } from './components/ScrollArea/index.js';
|
|
|
73
73
|
export { default as Skeleton, SkeletonCard, SkeletonRows, SkeletonTable, } from './components/Skeleton/index.js';
|
|
74
74
|
export { default as Stat, type StatTrend } from './components/Stat/index.js';
|
|
75
75
|
export { default as SummaryCard, type SummaryCardHeadingLevel } from './components/SummaryCard/index.js';
|
|
76
|
+
export { default as TotalsList, type TotalsListItem } from './components/TotalsList/index.js';
|
|
76
77
|
export { default as Progress, ProgressCircle } from './components/Progress/index.js';
|
|
77
78
|
export { default as Spinner } from './components/Spinner/index.js';
|
|
78
79
|
export { default as ToastHub, toast, type ToastInset, type ToastOptions, type ToastPlacement, type ToastTone, } from './components/Toast/index.js';
|