@storepass/components 0.7.0 → 0.9.0
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 +48 -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 +37 -5
- package/dist/components/DataGrid/DataGrid.d.ts.map +1 -1
- package/dist/components/DataGrid/cells.d.ts.map +1 -1
- package/dist/components/DataGrid/columns.d.ts +31 -16
- package/dist/components/DataGrid/columns.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 +4 -2
- 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 +44 -8
- 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-03n2ggzm.js +1 -0
- package/dist/index-09215m05.js +2 -0
- package/dist/index-0af5m4q5.js +1 -0
- package/dist/index-0ge7pbn7.js +1 -0
- package/dist/index-21hw517y.js +1 -0
- package/dist/index-240805kh.js +1 -0
- package/dist/index-2sk4hvxf.js +1 -0
- package/dist/index-4r66j3af.js +2 -0
- package/dist/index-4w6v92bg.js +1 -0
- package/dist/index-5ffdksc8.js +1 -0
- package/dist/index-5k17f917.js +0 -0
- package/dist/index-5sdvcn97.js +2 -0
- package/dist/index-5srg8m29.js +1 -0
- package/dist/index-607g3gwn.js +2 -0
- package/dist/index-60tn73mj.js +1 -0
- package/dist/index-626k16zr.js +0 -0
- package/dist/index-62r0k2em.js +1 -0
- package/dist/index-6adr1d03.js +1 -0
- package/dist/index-6bayqdg2.js +0 -0
- package/dist/index-6bswqrgc.js +1 -0
- package/dist/index-6efn9yc3.js +1 -0
- package/dist/index-6hjt8vvj.js +2 -0
- package/dist/index-76xg6y0k.js +1 -0
- package/dist/index-77e650nh.js +0 -0
- package/dist/index-88g8wfdp.js +1 -0
- package/dist/index-94as1aph.js +1 -0
- package/dist/index-a8fy3jmj.js +1 -0
- package/dist/index-azhqk4gp.js +1 -0
- package/dist/index-bctfrnm1.js +1 -0
- package/dist/index-c42ftxwv.js +1 -0
- package/dist/index-dmq4wgem.js +1 -0
- package/dist/index-e4k95mwd.js +1 -0
- package/dist/index-fvhqfg62.js +122 -0
- package/dist/index-gngktzz4.js +1 -0
- package/dist/index-gsppzvj2.js +1 -0
- package/dist/index-ha6gtfnz.js +2 -0
- package/dist/index-hghj5xhn.js +1 -0
- package/dist/index-hk3kve73.js +1 -0
- package/dist/index-ht67eh3e.js +1 -0
- package/dist/index-jd7hnysp.js +1 -0
- package/dist/index-jg6f7m71.js +1 -0
- package/dist/index-k0maa83q.js +1 -0
- package/dist/index-kp1jfkfp.js +1 -0
- package/dist/index-kvwv58pr.js +1 -0
- package/dist/index-m3acvecc.js +1 -0
- package/dist/index-m532p9sh.js +0 -0
- package/dist/index-mq3xffc2.js +0 -0
- package/dist/index-np7b4112.js +1 -0
- package/dist/index-p4912c45.js +1 -0
- package/dist/index-payajfr7.js +1 -0
- package/dist/index-q6rs12b4.js +1 -0
- package/dist/index-qjzz01ac.js +1 -0
- package/dist/index-rpw5k5e1.js +2 -0
- package/dist/index-rv9fr53w.js +1 -0
- package/dist/index-s3543vem.js +0 -0
- package/dist/index-sp6qxsja.js +2 -0
- package/dist/index-tj0w0r7a.js +1 -0
- package/dist/index-trwwjmay.js +1 -0
- package/dist/index-vmprejvy.js +1 -0
- package/dist/index-w88yradh.js +1 -0
- package/dist/index-x4053h9q.js +1 -0
- package/dist/index-xkd772pc.js +1 -0
- package/dist/index-y9431qnz.js +1 -0
- package/dist/index-yeehx7kc.js +2 -0
- package/dist/index-z8kddvns.js +2 -0
- package/dist/index-zx34s2w5.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{wt,Nt,Rt,na}from"../../index-5srg8m29.js";import"../../index-e4k95mwd.js";import"../../index-rv9fr53w.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{na as DatePicker,Rt as datePickerDayVariants,Nt as datePickerPopupVariants,wt as datePickerTriggerVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{mn,gn,fn,bn,xn,P}from"../../index-jd7hnysp.js";import"../../index-6hjt8vvj.js";export{P as Dialog,xn as dialogActionsVariants,bn as dialogDescriptionVariants,mn as dialogOverlayVariants,gn as dialogPopupVariants,fn as dialogTitleVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import"../../index-6hjt8vvj.js";import"../../index-z8kddvns.js";import"../../index-yeehx7kc.js";import"../../index-s3543vem.js";import{rn,f}from"../../index-sp6qxsja.js";export{f as Drawer,rn as drawerPopupVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{St,Tt,kt,It,Dt,Vt,Ot,r}from"../../index-0af5m4q5.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{r as DropdownMenu,St as dropdownMenuContentVariants,Tt as dropdownMenuItemVariants,kt as dropdownMenuLabelVariants,It as dropdownMenuSeparatorVariants,Dt as dropdownMenuShortcutVariants,Ot as dropdownMenuSubContentVariants,Vt as dropdownMenuSubTriggerVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{At,C}from"../../index-2sk4hvxf.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{C as FeaturedIcon,At as featuredIconVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d,O,Ft,ia,sa,la,da,pa,j,ca,X,ua,Y}from"../../index-rv9fr53w.js";import"../../index-6hjt8vvj.js";export{ia as Field,O as FieldContainerProvider,pa as FieldContent,X as FieldDescription,Y as FieldError,da as FieldGroup,j as FieldLabel,la as FieldLegend,ua as FieldSeparator,sa as FieldSet,ca as FieldTitle,Ft as fieldVariants,d as useInFieldContainer};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Mt,ma}from"../../index-bctfrnm1.js";import"../../index-k0maa83q.js";import"../../index-2sk4hvxf.js";import"../../index-626k16zr.js";import"../../index-z8kddvns.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{ma as FileUpload,Mt as fileUploadVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Or,Fr,Mr,Lr,Er}from"../../index-hk3kve73.js";import"../../index-6hjt8vvj.js";export{Or as Footer,Er as FooterLink,Mr as FooterMeta,Lr as FooterNav,Fr as FooterRow};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ar,Br,zr,Gr,_r}from"../../index-vmprejvy.js";import"../../index-rv9fr53w.js";import"../../index-6hjt8vvj.js";export{Ar as Form,_r as FormActions,Br as FormField,Gr as FormRow,zr 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{Hr}from"../../index-trwwjmay.js";import"../../index-tj0w0r7a.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{Hr 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{$r,ie,Ur,Kr}from"../../index-xkd772pc.js";import"../../index-626k16zr.js";import"../../index-z8kddvns.js";import"../../index-6efn9yc3.js";import"../../index-6hjt8vvj.js";export{$r as ImperativeDialogProvider,Ur as useAlert,Kr as useConfirm,ie as useImperativeDialog};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{nt,jr}from"../../index-dmq4wgem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{jr as InlineAlert,nt as inlineAlertVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{V,on,y}from"../../index-e4k95mwd.js";import"../../index-rv9fr53w.js";import"../../index-6hjt8vvj.js";export{y as Input,V as inputVariants,on as inputWrapperVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{en,Xr,it,Yr,st,Qr,Zr,lt,dt}from"../../index-y9431qnz.js";import"../../index-z8kddvns.js";import"../../index-6hjt8vvj.js";export{Xr as InputGroup,Yr as InputGroupAddon,Qr as InputGroupButton,lt as InputGroupInput,Zr as InputGroupText,dt as InputGroupTextarea,it as inputGroupAddonVariants,st as inputGroupButtonVariants,en as inputGroupVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{sr,lr,et,dr,tt,pr,cr,ur,mr,gr,fr,br}from"../../index-qjzz01ac.js";import"../../index-6hjt8vvj.js";export{dr as Item,gr as ItemActions,cr as ItemContent,mr as ItemDescription,br as ItemFooter,sr as ItemGroup,fr as ItemHeader,pr as ItemMedia,lr as ItemSeparator,ur as ItemTitle,tt as itemMediaVariants,et as itemVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{w,Na}from"../../index-0ge7pbn7.js";import"../../index-6hjt8vvj.js";export{w as Kbd,Na as KbdGroup};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import"../../index-77e650nh.js";import{oe}from"../../index-rpw5k5e1.js";import"../../index-6hjt8vvj.js";export{oe as Label};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{xr,yr}from"../../index-payajfr7.js";import"../../index-6hjt8vvj.js";export{yr as LoadingIndicator,xr as loadingIndicatorVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{W,ve,Pe,R,Ct,S}from"../../index-zx34s2w5.js";import"../../index-6hjt8vvj.js";export{S as MoneyAmount,R as formatMoney,W as isMoneyLike,Ct as moneyAmountVariants,Pe as moneyCurrencyCode,ve as moneySign};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ot,hr,vr,Pr,Cr,wr,Nr,Rr,Sr,rt,Tr,kr}from"../../index-hghj5xhn.js";import"../../index-6hjt8vvj.js";export{hr as Navbar,Pr as NavbarBody,Nr as NavbarDivider,Cr as NavbarFooter,vr as NavbarHeader,Sr as NavbarHeading,Tr as NavbarItem,kr as NavbarLabel,wr as NavbarSection,Rr as NavbarSpacer,rt as navbarItemVariants,ot as navbarVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Za,at,re,Ir}from"../../index-03n2ggzm.js";import"../../index-rv9fr53w.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{Ir as NumberField,re as numberFieldButtonVariants,Za as numberFieldGroupVariants,at as numberFieldInputVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import"../../index-6bayqdg2.js";import{Dr,Vr,ae,ne,Ja,qa}from"../../index-607g3gwn.js";import"../../index-4r66j3af.js";import"../../index-z8kddvns.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{ae as PageHeading,ne as PageHeadingBackLink,Ja as PageHeadingNav,qa as PageHeadingNavLink,Vr as pageHeadingTitleVariants,Dr as pageHeadingVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{$o,Uo}from"../../index-c42ftxwv.js";import"../../index-6hjt8vvj.js";export{$o as PageLayout,Uo as PageLayoutColumns};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{He,We,$e,Ue,Ko,jo,Xo,Yo,Qo,Zo,Jo}from"../../index-m3acvecc.js";import"../../index-626k16zr.js";import"../../index-z8kddvns.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{Ko as Pagination,jo as PaginationContent,Jo as PaginationEllipsis,Xo as PaginationItem,Yo as PaginationLink,Zo as PaginationNext,Qo as PaginationPrevious,We as paginationContentVariants,Ue as paginationEllipsisVariants,$e as paginationLinkVariants,He as paginationVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ke,qo,je,er,Xe,tr,Ye,or}from"../../index-gsppzvj2.js";import"../../index-6hjt8vvj.js";export{qo as Panel,tr as PanelBody,or as PanelFooter,er as PanelHeader,Xe as panelBodyVariants,Ye as panelFooterVariants,je as panelHeaderVariants,Ke as panelVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Qe,rr}from"../../index-jg6f7m71.js";import"../../index-6hjt8vvj.js";export{rr as PinInput,Qe as pinInputVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Lt,Et,Q}from"../../index-k0maa83q.js";import"../../index-6hjt8vvj.js";export{Q as Progress,Et as progressIndicatorVariants,Lt as progressTrackVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ze,Je,qe,ar,nr}from"../../index-kvwv58pr.js";import"../../index-6hjt8vvj.js";export{ar as RadioGroup,nr as RadioGroupItem,Ze as radioGroupVariants,qe as radioIndicatorVariants,Je as radioItemVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{te,ir}from"../../index-azhqk4gp.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{ir as Rating,te as ratingVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ht,vt,Pt,u}from"../../index-240805kh.js";import"../../index-rv9fr53w.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{u as Select,Pt as selectItemVariants,vt as selectPopupVariants,ht as selectTriggerVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Fe,ko,Io,Do,Vo,Oo,Fo,Mo,Lo,Eo}from"../../index-w88yradh.js";import"../../index-5sdvcn97.js";import"../../index-rpw5k5e1.js";import"../../index-607g3gwn.js";import"../../index-4r66j3af.js";import"../../index-09215m05.js";import"../../index-z8kddvns.js";import"../../index-s3543vem.js";import"../../index-yeehx7kc.js";import"../../index-6hjt8vvj.js";export{Io as SettingsBackButton,ko as SettingsContainer,Do as SettingsHeader,Mo as SettingsNav,Lo as SettingsNavGroup,Eo as SettingsNavItem,Oo as SettingsRow,Vo as SettingsSection,Fo as SettingsSeparator,Fe as settingsContainerVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import"../../index-m532p9sh.js";import{Ao,Ga,_a,Ha,Wa,$a,Ua,Ka,q,Me,ee,ja,Xa,Ya,Qa}from"../../index-5sdvcn97.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,q as SidebarHeading,ee as SidebarItem,Qa as SidebarLabel,$a as SidebarSection,Ka as SidebarSpacer,Me as sidebarItemVariants,Ao as sidebarVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Le,Bo}from"../../index-gngktzz4.js";import"../../index-6hjt8vvj.js";export{Bo as Slider,Le as sliderVariants};
|