@storepass/components 0.7.0 → 0.8.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/CHANGELOG.md +34 -0
- package/README.md +21 -14
- package/dist/components/Accordion/index.js +1 -1
- package/dist/components/AlertDialog/index.js +1 -1
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Breadcrumbs/index.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Card/index.js +1 -1
- package/dist/components/Carousel/index.js +1 -1
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/Collapsible/index.js +1 -1
- package/dist/components/Combobox/index.js +1 -1
- package/dist/components/Command/index.js +1 -1
- package/dist/components/DataGrid/DataGrid.d.ts +30 -5
- package/dist/components/DataGrid/DataGrid.d.ts.map +1 -1
- package/dist/components/DataGrid/fixtures.d.ts +6 -0
- package/dist/components/DataGrid/fixtures.d.ts.map +1 -1
- package/dist/components/DataGrid/index.d.ts +3 -1
- package/dist/components/DataGrid/index.d.ts.map +1 -1
- package/dist/components/DataGrid/index.js +1 -116
- package/dist/components/DataGrid/parts.d.ts.map +1 -1
- package/dist/components/DataGrid/query.d.ts +29 -2
- package/dist/components/DataGrid/query.d.ts.map +1 -1
- package/dist/components/DataGrid/server.d.ts +52 -0
- package/dist/components/DataGrid/server.d.ts.map +1 -0
- package/dist/components/DatePicker/index.js +1 -1
- package/dist/components/Dialog/index.js +1 -1
- package/dist/components/Drawer/index.js +1 -1
- package/dist/components/DropdownMenu/index.js +1 -1
- package/dist/components/FeaturedIcon/index.js +1 -1
- package/dist/components/Field/index.js +1 -1
- package/dist/components/FileUpload/index.js +1 -1
- package/dist/components/Footer/index.js +1 -1
- package/dist/components/Form/index.js +1 -1
- package/dist/components/Gloss/Gloss.d.ts +6 -0
- package/dist/components/Gloss/Gloss.d.ts.map +1 -0
- package/dist/components/Gloss/datetime.d.ts +24 -0
- package/dist/components/Gloss/datetime.d.ts.map +1 -0
- package/dist/components/Gloss/disclosure.d.ts +35 -0
- package/dist/components/Gloss/disclosure.d.ts.map +1 -0
- package/dist/components/Gloss/index.d.ts +2 -0
- package/dist/components/Gloss/index.d.ts.map +1 -0
- package/dist/components/Gloss/index.js +1 -0
- package/dist/components/Gloss/money.d.ts +33 -0
- package/dist/components/Gloss/money.d.ts.map +1 -0
- package/dist/components/Gloss/read.d.ts +25 -0
- package/dist/components/Gloss/read.d.ts.map +1 -0
- package/dist/components/Icon/index.js +1 -1
- package/dist/components/ImperativeDialog/index.js +1 -1
- package/dist/components/InlineAlert/index.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/InputGroup/index.js +1 -1
- package/dist/components/Item/index.js +1 -1
- package/dist/components/Kbd/index.js +1 -1
- package/dist/components/Label/index.js +1 -1
- package/dist/components/LoadingIndicator/index.js +1 -1
- package/dist/components/MoneyAmount/index.js +1 -1
- package/dist/components/Navbar/index.js +1 -1
- package/dist/components/NumberField/index.js +1 -1
- package/dist/components/PageHeading/index.js +1 -1
- package/dist/components/PageLayout/index.js +1 -1
- package/dist/components/Pagination/index.js +1 -1
- package/dist/components/Panel/index.js +1 -1
- package/dist/components/PinInput/index.js +1 -1
- package/dist/components/Progress/index.js +1 -1
- package/dist/components/RadioGroup/index.js +1 -1
- package/dist/components/Rating/index.js +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/Settings/index.js +1 -1
- package/dist/components/Sidebar/index.js +1 -1
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Tabs/index.js +1 -1
- package/dist/components/Tags/index.js +1 -1
- package/dist/components/Text/index.js +1 -1
- package/dist/components/Textarea/index.js +1 -1
- package/dist/components/Toast/index.js +1 -1
- package/dist/components/Toggle/index.js +1 -1
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/components/VideoDialog/index.js +1 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index-0k26fpsr.js +2 -0
- package/dist/index-0x3exa89.js +1 -0
- package/dist/index-12m8pd4x.js +1 -0
- package/dist/index-1n7ke68v.js +1 -0
- package/dist/index-207wxbj2.js +1 -0
- package/dist/index-2cbcq1ak.js +1 -0
- package/dist/index-39gyjttt.js +2 -0
- package/dist/index-3nj3vfyf.js +1 -0
- package/dist/index-3qz0mz4s.js +1 -0
- package/dist/index-3xevqp5j.js +1 -0
- package/dist/index-3y89rrea.js +1 -0
- package/dist/index-3yf2yecs.js +1 -0
- package/dist/index-4p3htnp4.js +1 -0
- package/dist/index-5k17f917.js +0 -0
- package/dist/index-626k16zr.js +0 -0
- package/dist/index-6bayqdg2.js +0 -0
- package/dist/index-6hjt8vvj.js +2 -0
- package/dist/index-6wj27sgg.js +1 -0
- package/dist/index-77e650nh.js +0 -0
- package/dist/index-79863hrw.js +1 -0
- package/dist/index-7nb0kh49.js +1 -0
- package/dist/index-80vgqvbb.js +1 -0
- package/dist/index-8bvab16j.js +1 -0
- package/dist/index-8e82vsma.js +1 -0
- package/dist/index-99dvdfty.js +122 -0
- package/dist/index-9w3q13x9.js +1 -0
- package/dist/index-a5xdyq4r.js +1 -0
- package/dist/index-awgxtt2c.js +2 -0
- package/dist/index-aym8f7kk.js +1 -0
- package/dist/index-bfj32kdy.js +1 -0
- package/dist/index-czhrx6qc.js +1 -0
- package/dist/index-dha7m2cb.js +2 -0
- package/dist/index-dyqfzdwm.js +1 -0
- package/dist/index-dzrvgand.js +1 -0
- package/dist/index-e3jk5qws.js +1 -0
- package/dist/index-e57a5m40.js +1 -0
- package/dist/index-f7d8em7k.js +1 -0
- package/dist/index-fse0pbfb.js +1 -0
- package/dist/index-gerw8wbs.js +1 -0
- package/dist/index-h0evkh77.js +2 -0
- package/dist/index-h0t7cb54.js +2 -0
- package/dist/index-heb6hak3.js +2 -0
- package/dist/index-hjxh9rqy.js +1 -0
- package/dist/index-jbzvn81j.js +1 -0
- package/dist/index-jk047paq.js +1 -0
- package/dist/index-m532p9sh.js +0 -0
- package/dist/index-mq3xffc2.js +0 -0
- package/dist/index-mtn2afhs.js +1 -0
- package/dist/index-n11bq2ez.js +1 -0
- package/dist/index-n7fq9hv6.js +1 -0
- package/dist/index-nbp2rcyj.js +1 -0
- package/dist/index-qkjr9w4c.js +1 -0
- package/dist/index-s3543vem.js +0 -0
- package/dist/index-s3888qb0.js +1 -0
- package/dist/index-s4wzrj6b.js +1 -0
- package/dist/index-s7qkq2f8.js +1 -0
- package/dist/index-s7ttw4jf.js +1 -0
- package/dist/index-sxaagzqf.js +1 -0
- package/dist/index-warqb7rs.js +2 -0
- package/dist/index-whmj1gae.js +1 -0
- package/dist/index-wv5wqvwb.js +1 -0
- package/dist/index-xqphyc4g.js +1 -0
- package/dist/index-yeehx7kc.js +2 -0
- package/dist/index-yzm4k2ye.js +1 -0
- package/dist/index-zke98cz9.js +1 -0
- package/dist/index-zxjkp0aj.js +1 -0
- package/dist/index.js +1 -1
- package/dist/lib/utils.js +1 -2
- package/package.json +5 -1
- package/dist/index-6mfb0zwd.js +0 -2
- package/dist/index-9gwtrg7s.js +0 -2
- package/dist/index-a7vw7m0b.js +0 -2
- package/dist/index-js40dzxy.js +0 -2
- package/dist/index-jxbz6exn.js +0 -2
- package/dist/index-mjpsfjd0.js +0 -2
- package/dist/index-r3vmx2km.js +0 -2
- package/dist/index-xpvf3pk5.js +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d,V,Ft,na,ia,sa,la,da,K,ca,j,pa,X}from"../../index-3yf2yecs.js";import"../../index-6hjt8vvj.js";export{na as Field,V as FieldContainerProvider,da as FieldContent,j as FieldDescription,X as FieldError,la as FieldGroup,K as FieldLabel,sa as FieldLegend,pa as FieldSeparator,ia as FieldSet,ca as FieldTitle,Ft as fieldVariants,d as useInFieldContainer};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ot,ua}from"../../index-80vgqvbb.js";import"../../index-207wxbj2.js";import"../../index-4p3htnp4.js";import"../../index-626k16zr.js";import"../../index-39gyjttt.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{ua as FileUpload,Ot as fileUploadVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Vr,Fr,Or,Mr,Lr}from"../../index-xqphyc4g.js";import"../../index-6hjt8vvj.js";export{Vr as Footer,Lr as FooterLink,Or as FooterMeta,Mr as FooterNav,Fr as FooterRow};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Er,Ar,Br,zr,Gr}from"../../index-6wj27sgg.js";import"../../index-3yf2yecs.js";import"../../index-6hjt8vvj.js";export{Er as Form,Gr as FormActions,Ar as FormField,zr as FormRow,Br as FormSection};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
|
+
import { type GlossProps } from "./read";
|
|
3
|
+
/** A short reading of a datetime or an amount, with the exact value on hover or focus. */
|
|
4
|
+
export declare function Gloss(props: GlossProps): ReactElement;
|
|
5
|
+
export type { GlossProps };
|
|
6
|
+
//# sourceMappingURL=Gloss.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Gloss.d.ts","sourceRoot":"","sources":["../../../src/components/Gloss/Gloss.tsx"],"names":[],"mappings":"AAKA,OAAO,EACN,KAAK,YAAY,EAMjB,MAAM,OAAO,CAAC;AAYf,OAAO,EAAE,KAAK,UAAU,EAAsB,MAAM,QAAQ,CAAC;AAiL7D,0FAA0F;AAC1F,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,GAAG,YAAY,CAgDrD;AAED,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type EpochMs = number & {
|
|
2
|
+
readonly __brand: "EpochMs";
|
|
3
|
+
};
|
|
4
|
+
type TimeIcon = "clock" | "calendar";
|
|
5
|
+
export interface DatetimeReading {
|
|
6
|
+
kind: "datetime";
|
|
7
|
+
compact: string;
|
|
8
|
+
precise: string;
|
|
9
|
+
icon: TimeIcon;
|
|
10
|
+
dateTime: string;
|
|
11
|
+
/** The next instant the compact label changes. Null unless the reading is live. */
|
|
12
|
+
validUntil: number | null;
|
|
13
|
+
}
|
|
14
|
+
interface ReadDatetimeOptions {
|
|
15
|
+
now: number;
|
|
16
|
+
locale: string | string[] | undefined;
|
|
17
|
+
timeZone: string | undefined;
|
|
18
|
+
live: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare function parseInstant(value: unknown): EpochMs;
|
|
21
|
+
export declare function readDatetime(instant: EpochMs, options: ReadDatetimeOptions): DatetimeReading;
|
|
22
|
+
export declare function liveDelay(validUntil: number, now: number): number;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=datetime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datetime.d.ts","sourceRoot":"","sources":["../../../src/components/Gloss/datetime.ts"],"names":[],"mappings":"AAAA,KAAK,OAAO,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAA;CAAE,CAAC;AAaxD,KAAK,QAAQ,GAAG,OAAO,GAAG,UAAU,CAAC;AAgCrC,MAAM,WAAW,eAAe;IAC/B,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,mFAAmF;IACnF,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,UAAU,mBAAmB;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,CAAC;IACtC,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,IAAI,EAAE,OAAO,CAAC;CACd;AAWD,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAiCpD;AA+FD,wBAAgB,YAAY,CAC3B,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,mBAAmB,GAC1B,eAAe,CA6BjB;AAED,wBAAgB,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAEjE"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export interface DisclosureState {
|
|
2
|
+
hover: boolean;
|
|
3
|
+
focus: boolean;
|
|
4
|
+
latched: boolean;
|
|
5
|
+
gestureWindowUntil: number;
|
|
6
|
+
lastGestureId: number | null;
|
|
7
|
+
/** Escape leaves DOM focus on the trigger. Ignore focus-open until blur. */
|
|
8
|
+
suppressFocus: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const CLOSED_DISCLOSURE: DisclosureState;
|
|
11
|
+
export type DisclosureEvent = {
|
|
12
|
+
type: "hover";
|
|
13
|
+
open: boolean;
|
|
14
|
+
now: number;
|
|
15
|
+
} | {
|
|
16
|
+
type: "focus";
|
|
17
|
+
open: boolean;
|
|
18
|
+
now: number;
|
|
19
|
+
} | {
|
|
20
|
+
type: "touch";
|
|
21
|
+
gestureId: number;
|
|
22
|
+
now: number;
|
|
23
|
+
} | {
|
|
24
|
+
type: "escape";
|
|
25
|
+
} | {
|
|
26
|
+
type: "dismiss";
|
|
27
|
+
} | {
|
|
28
|
+
type: "ignore";
|
|
29
|
+
};
|
|
30
|
+
export declare const TOOLTIP_OPEN_REASONS: readonly ["trigger-hover", "trigger-focus", "trigger-press", "outside-press", "escape-key", "disabled", "imperative-action", "none"];
|
|
31
|
+
export type TooltipOpenReason = (typeof TOOLTIP_OPEN_REASONS)[number];
|
|
32
|
+
export declare function reduceDisclosure(state: DisclosureState, event: DisclosureEvent): DisclosureState;
|
|
33
|
+
export declare function isOpen(state: DisclosureState): boolean;
|
|
34
|
+
export declare function toDisclosureEvent(open: boolean, reason: TooltipOpenReason, now: number): DisclosureEvent;
|
|
35
|
+
//# sourceMappingURL=disclosure.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"disclosure.d.ts","sourceRoot":"","sources":["../../../src/components/Gloss/disclosure.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,4EAA4E;IAC5E,aAAa,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,iBAAiB,EAAE,eAO/B,CAAC;AAEF,MAAM,MAAM,eAAe,GACxB;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,OAAO,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GAC7C;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,OAAO,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GAC7C;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GACjD;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,GAClB;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,GACnB;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAC;AAItB,eAAO,MAAM,oBAAoB,sIASvB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAOtE,wBAAgB,gBAAgB,CAC/B,KAAK,EAAE,eAAe,EACtB,KAAK,EAAE,eAAe,GACpB,eAAe,CA6DjB;AAED,wBAAgB,MAAM,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAEtD;AAED,wBAAgB,iBAAiB,CAChC,IAAI,EAAE,OAAO,EACb,MAAM,EAAE,iBAAiB,EACzB,GAAG,EAAE,MAAM,GACT,eAAe,CAoBjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Gloss/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_r}from"../../index-f7d8em7k.js";import"../../index-wv5wqvwb.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{_r as Gloss};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
type GlossMoneyFormatOptions = Omit<Intl.NumberFormatOptions, "style" | "currency" | "minimumFractionDigits" | "maximumFractionDigits"> & {
|
|
2
|
+
minimumFractionDigits?: number;
|
|
3
|
+
maximumFractionDigits?: number;
|
|
4
|
+
};
|
|
5
|
+
export interface GlossMoney {
|
|
6
|
+
format(locales?: string | string[], options?: GlossMoneyFormatOptions): string;
|
|
7
|
+
isNegative(): boolean;
|
|
8
|
+
isZero(): boolean;
|
|
9
|
+
isPositive(): boolean;
|
|
10
|
+
readonly currency: {
|
|
11
|
+
readonly code: string;
|
|
12
|
+
readonly decimalPlaces: number;
|
|
13
|
+
readonly displayCode?: string;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
type MoneySign = "negative" | "zero" | "positive";
|
|
17
|
+
type CheckedMoney = GlossMoney & {
|
|
18
|
+
readonly __brand: "CheckedMoney";
|
|
19
|
+
};
|
|
20
|
+
export interface MoneyReading {
|
|
21
|
+
kind: "money";
|
|
22
|
+
compact: string;
|
|
23
|
+
precise: string;
|
|
24
|
+
icon: "coin";
|
|
25
|
+
sign: MoneySign;
|
|
26
|
+
currency: string;
|
|
27
|
+
}
|
|
28
|
+
export declare function parseMoney(value: unknown): CheckedMoney;
|
|
29
|
+
export declare function readMoney(value: CheckedMoney, options: {
|
|
30
|
+
locale: string | string[] | undefined;
|
|
31
|
+
}): MoneyReading;
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=money.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"money.d.ts","sourceRoot":"","sources":["../../../src/components/Gloss/money.ts"],"names":[],"mappings":"AAAA,KAAK,uBAAuB,GAAG,IAAI,CAClC,IAAI,CAAC,mBAAmB,EACxB,OAAO,GAAG,UAAU,GAAG,uBAAuB,GAAG,uBAAuB,CACxE,GAAG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC;AAEF,MAAM,WAAW,UAAU;IAC1B,MAAM,CACL,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,EAC3B,OAAO,CAAC,EAAE,uBAAuB,GAC/B,MAAM,CAAC;IACV,UAAU,IAAI,OAAO,CAAC;IACtB,MAAM,IAAI,OAAO,CAAC;IAClB,UAAU,IAAI,OAAO,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE;QAClB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QACtB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;QAC/B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;KAC9B,CAAC;CACF;AAED,KAAK,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,UAAU,CAAC;AAElD,KAAK,YAAY,GAAG,UAAU,GAAG;IAAE,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAA;CAAE,CAAC;AAetE,MAAM,WAAW,YAAY;IAC5B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CACjB;AA2CD,wBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,YAAY,CAiBvD;AAQD,wBAAgB,SAAS,CACxB,KAAK,EAAE,YAAY,EACnB,OAAO,EAAE;IAAE,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,CAAA;CAAE,GAChD,YAAY,CAWd"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type DatetimeReading } from "./datetime";
|
|
2
|
+
import { type GlossMoney, type MoneyReading } from "./money";
|
|
3
|
+
interface GlossSharedProps {
|
|
4
|
+
locale?: string | string[];
|
|
5
|
+
/** Default true. False hides both glyphs. It does not choose which glyph. */
|
|
6
|
+
icon?: boolean;
|
|
7
|
+
/** Merged onto the trigger only. */
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export type GlossProps = GlossSharedProps & ({
|
|
11
|
+
kind: "datetime";
|
|
12
|
+
/** Date, epoch milliseconds, or an ISO instant. A date-only string throws. */
|
|
13
|
+
value: Date | number | string;
|
|
14
|
+
/** Schedule one timeout until the compact label changes. Default false. */
|
|
15
|
+
live?: boolean;
|
|
16
|
+
/** IANA zone for the precise string. Omitted, the runtime zone is used. The short zone name is always included. */
|
|
17
|
+
timeZone?: string;
|
|
18
|
+
} | {
|
|
19
|
+
kind: "money";
|
|
20
|
+
value: GlossMoney;
|
|
21
|
+
});
|
|
22
|
+
export type Reading = DatetimeReading | MoneyReading;
|
|
23
|
+
export declare function read(props: GlossProps, now: number): Reading;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=read.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../../../src/components/Gloss/read.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAA8B,MAAM,YAAY,CAAC;AAC9E,OAAO,EACN,KAAK,UAAU,EACf,KAAK,YAAY,EAGjB,MAAM,SAAS,CAAC;AAEjB,UAAU,gBAAgB;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3B,6EAA6E;IAC7E,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,MAAM,UAAU,GAAG,gBAAgB,GACxC,CACG;IACA,IAAI,EAAE,UAAU,CAAC;IACjB,8EAA8E;IAC9E,KAAK,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;IAC9B,2EAA2E;IAC3E,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,mHAAmH;IACnH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACjB,GACD;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,UAAU,CAAA;CAAE,CACtC,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,eAAe,GAAG,YAAY,CAAC;AAErD,wBAAgB,IAAI,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAgB5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import"../../index-s3543vem.js";import{t}from"../../index-yeehx7kc.js";export{t as Icon};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{Wr,ne,$r,Ur}from"../../index-mtn2afhs.js";import"../../index-626k16zr.js";import"../../index-39gyjttt.js";import"../../index-zxjkp0aj.js";import"../../index-6hjt8vvj.js";export{Wr as ImperativeDialogProvider,$r as useAlert,Ur as useConfirm,ne as useImperativeDialog};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{at,Kr}from"../../index-3nj3vfyf.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{Kr as InlineAlert,at as inlineAlertVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{D,on,x}from"../../index-yzm4k2ye.js";import"../../index-3yf2yecs.js";import"../../index-6hjt8vvj.js";export{x as Input,D as inputVariants,on as inputWrapperVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{en,jr,nt,Xr,it,Yr,Qr,st,lt}from"../../index-s3888qb0.js";import"../../index-39gyjttt.js";import"../../index-6hjt8vvj.js";export{jr as InputGroup,Xr as InputGroupAddon,Yr as InputGroupButton,st as InputGroupInput,Qr as InputGroupText,lt as InputGroupTextarea,nt as inputGroupAddonVariants,it as inputGroupButtonVariants,en as inputGroupVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ir,sr,qe,lr,et,dr,cr,pr,ur,mr,gr,fr}from"../../index-0x3exa89.js";import"../../index-6hjt8vvj.js";export{lr as Item,mr as ItemActions,cr as ItemContent,ur as ItemDescription,fr as ItemFooter,ir as ItemGroup,gr as ItemHeader,dr as ItemMedia,sr as ItemSeparator,pr as ItemTitle,et as itemMediaVariants,qe as itemVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{C,Na}from"../../index-fse0pbfb.js";import"../../index-6hjt8vvj.js";export{C as Kbd,Na as KbdGroup};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import"../../index-77e650nh.js";import{te}from"../../index-0k26fpsr.js";import"../../index-6hjt8vvj.js";export{te as Label};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{br,xr}from"../../index-jk047paq.js";import"../../index-6hjt8vvj.js";export{xr as LoadingIndicator,br as loadingIndicatorVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{H,ye,ve,N,Pt,R}from"../../index-3xevqp5j.js";import"../../index-6hjt8vvj.js";export{R as MoneyAmount,N as formatMoney,H as isMoneyLike,Pt as moneyAmountVariants,ve as moneyCurrencyCode,ye as moneySign};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{tt,hr,yr,vr,Pr,Cr,wr,Nr,Rr,ot,Sr,Tr}from"../../index-3y89rrea.js";import"../../index-6hjt8vvj.js";export{hr as Navbar,vr as NavbarBody,wr as NavbarDivider,Pr as NavbarFooter,yr as NavbarHeader,Rr as NavbarHeading,Sr as NavbarItem,Tr as NavbarLabel,Cr as NavbarSection,Nr as NavbarSpacer,ot as navbarItemVariants,tt as navbarVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Za,rt,oe,kr}from"../../index-qkjr9w4c.js";import"../../index-3yf2yecs.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{kr as NumberField,oe as numberFieldButtonVariants,Za as numberFieldGroupVariants,rt as numberFieldInputVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import"../../index-6bayqdg2.js";import{Ir,Dr,re,ae,Ja,qa}from"../../index-awgxtt2c.js";import"../../index-warqb7rs.js";import"../../index-39gyjttt.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{re as PageHeading,ae as PageHeadingBackLink,Ja as PageHeadingNav,qa as PageHeadingNavLink,Dr as pageHeadingTitleVariants,Ir as pageHeadingVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Wo,$o}from"../../index-79863hrw.js";import"../../index-6hjt8vvj.js";export{Wo as PageLayout,$o as PageLayoutColumns};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{_e,He,We,$e,Uo,Ko,jo,Xo,Yo,Qo,Zo}from"../../index-nbp2rcyj.js";import"../../index-626k16zr.js";import"../../index-39gyjttt.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{Uo as Pagination,Ko as PaginationContent,Zo as PaginationEllipsis,jo as PaginationItem,Xo as PaginationLink,Qo as PaginationNext,Yo as PaginationPrevious,He as paginationContentVariants,$e as paginationEllipsisVariants,We as paginationLinkVariants,_e as paginationVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ue,Jo,Ke,qo,je,er,Xe,tr}from"../../index-dzrvgand.js";import"../../index-6hjt8vvj.js";export{Jo as Panel,er as PanelBody,tr as PanelFooter,qo as PanelHeader,je as panelBodyVariants,Xe as panelFooterVariants,Ke as panelHeaderVariants,Ue as panelVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ye,or}from"../../index-7nb0kh49.js";import"../../index-6hjt8vvj.js";export{or as PinInput,Ye as pinInputVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Mt,Lt,Y}from"../../index-207wxbj2.js";import"../../index-6hjt8vvj.js";export{Y as Progress,Lt as progressIndicatorVariants,Mt as progressTrackVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Qe,Ze,Je,rr,ar}from"../../index-hjxh9rqy.js";import"../../index-6hjt8vvj.js";export{rr as RadioGroup,ar as RadioGroupItem,Qe as radioGroupVariants,Je as radioIndicatorVariants,Ze as radioItemVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ee,nr}from"../../index-12m8pd4x.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{nr as Rating,ee as ratingVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ht,yt,vt,p}from"../../index-czhrx6qc.js";import"../../index-3yf2yecs.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{p as Select,vt as selectItemVariants,yt as selectPopupVariants,ht as selectTriggerVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Fe,To,ko,Io,Do,Vo,Fo,Oo,Mo,Lo}from"../../index-s7qkq2f8.js";import"../../index-h0evkh77.js";import"../../index-0k26fpsr.js";import"../../index-awgxtt2c.js";import"../../index-warqb7rs.js";import"../../index-h0t7cb54.js";import"../../index-39gyjttt.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{ko as SettingsBackButton,To as SettingsContainer,Io as SettingsHeader,Oo as SettingsNav,Mo as SettingsNavGroup,Lo as SettingsNavItem,Vo as SettingsRow,Do as SettingsSection,Fo as SettingsSeparator,Fe as settingsContainerVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import"../../index-m532p9sh.js";import{Eo,Ga,_a,Ha,Wa,$a,Ua,Ka,J,Oe,q,ja,Xa,Ya,Qa}from"../../index-h0evkh77.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{Ga as Sidebar,Ha as SidebarBody,Ua as SidebarDivider,Wa as SidebarFooter,ja as SidebarGroup,Ya as SidebarGroupPanel,Xa as SidebarGroupTrigger,_a as SidebarHeader,J as SidebarHeading,q as SidebarItem,Qa as SidebarLabel,$a as SidebarSection,Ka as SidebarSpacer,Oe as sidebarItemVariants,Eo as sidebarVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Me,Ao}from"../../index-1n7ke68v.js";import"../../index-6hjt8vvj.js";export{Ao as Slider,Me as sliderVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{I,z,G,_,m,w,n,ra}from"../../index-whmj1gae.js";import"../../index-6hjt8vvj.js";export{I as Table,G as TableBody,ra as TableCaption,n as TableCell,_ as TableFooter,w as TableHead,z as TableHeader,m as TableRow};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import"../../index-5k17f917.js";import{W,U,Pe,Ce,we,Ne,tn}from"../../index-warqb7rs.js";import"../../index-6hjt8vvj.js";export{Pe as Tabs,tn as TabsContent,Ne as TabsCount,Ce as TabsList,we as TabsTrigger,W as tabsListVariants,U as tabsTriggerVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Bo}from"../../index-bfj32kdy.js";import"../../index-aym8f7kk.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{Bo as Tags};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Le,zo,Ee,Go,Ae,_o,Be,Ho}from"../../index-8bvab16j.js";import"../../index-6hjt8vvj.js";export{Ho as Code,_o as Strong,zo as Text,Go as TextLink,Be as codeVariants,Ae as strongVariants,Ee as textLinkVariants,Le as textVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ze,Ge}from"../../index-9w3q13x9.js";import"../../index-3yf2yecs.js";import"../../index-6hjt8vvj.js";export{Ge as Textarea,ze as textareaVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ie,Po,Co,wo}from"../../index-zke98cz9.js";import"../../index-4p3htnp4.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{Po as ToastProvider,Co as Toaster,Ie as toastVariants,wo as useToast};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{De,Ve,No}from"../../index-e57a5m40.js";import"../../index-6hjt8vvj.js";export{No as Toggle,Ve as toggleThumbVariants,De as toggleVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Hr,E,A,B}from"../../index-wv5wqvwb.js";import"../../index-6hjt8vvj.js";export{E as Tooltip,B as TooltipContent,Hr as TooltipProvider,A as TooltipTrigger};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ea,Aa,Ro,Ba,za,So}from"../../index-n7fq9hv6.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{So as VideoDialog,Ea as videoDialogBackdropVariants,Ba as videoDialogCaptionVariants,za as videoDialogCloseVariants,Ro as videoDialogMediaVariants,Aa as videoDialogPopupVariants};
|