plggmatic 0.4.1 → 0.5.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/dist/Appearance/usecase/appearanceCss.d.ts.map +1 -1
- package/dist/Component/usecase/choices.d.ts +125 -0
- package/dist/Component/usecase/choices.d.ts.map +1 -0
- package/dist/Component/usecase/compound.d.ts +76 -0
- package/dist/Component/usecase/compound.d.ts.map +1 -0
- package/dist/Component/usecase/display.d.ts +90 -0
- package/dist/Component/usecase/display.d.ts.map +1 -0
- package/dist/Component/usecase/feedback.d.ts +47 -0
- package/dist/Component/usecase/feedback.d.ts.map +1 -0
- package/dist/Component/usecase/navigation.d.ts +141 -0
- package/dist/Component/usecase/navigation.d.ts.map +1 -0
- package/dist/Component/usecase/partsCss.d.ts +34 -0
- package/dist/Component/usecase/partsCss.d.ts.map +1 -0
- package/dist/Component/usecase/presenting.d.ts +51 -0
- package/dist/Component/usecase/presenting.d.ts.map +1 -0
- package/dist/Component/usecase/toast.d.ts.map +1 -1
- package/dist/Component/usecase/workbench.d.ts +59 -0
- package/dist/Component/usecase/workbench.d.ts.map +1 -0
- package/dist/Meta/model/classHooks.d.ts +155 -0
- package/dist/Meta/model/classHooks.d.ts.map +1 -1
- package/dist/Navigate/index.d.ts +1 -1
- package/dist/Navigate/index.d.ts.map +1 -1
- package/dist/Navigate/model/marker.d.ts +22 -0
- package/dist/Navigate/model/marker.d.ts.map +1 -1
- package/dist/Navigate/usecase/navigationScript.d.ts.map +1 -1
- package/dist/Shell/usecase/shell.d.ts.map +1 -1
- package/dist/Shell/usecase/siteCss.d.ts +24 -0
- package/dist/Shell/usecase/siteCss.d.ts.map +1 -0
- package/dist/System/usecase/systemCss.d.ts.map +1 -1
- package/dist/columnsEntry.es.js +101 -1
- package/dist/hooksEntry.es.js +101 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +1503 -23
- package/dist/styleEntry.es.js +113 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appearanceCss.d.ts","sourceRoot":"","sources":["../../../src/Appearance/usecase/appearanceCss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"appearanceCss.d.ts","sourceRoot":"","sources":["../../../src/Appearance/usecase/appearanceCss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAIzD,OAAO,EACL,KAAK,UAAU,EAEhB,MAAM,uCAAuC,CAAC;AAE/C;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,aAAa,UAChB,KAAK,SACT,UAAU,KAAG,OAwNhB,CAAC"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { type SoftStr, type Option } from "plgg";
|
|
2
|
+
import { type Html } from "plgg-view";
|
|
3
|
+
import { type Selectable } from "./navigation";
|
|
4
|
+
/**
|
|
5
|
+
* A RADIO GROUP: one of a few choices, all of them in
|
|
6
|
+
* view. Real radio inputs under one name, so the arrow
|
|
7
|
+
* keys move between them as anywhere else.
|
|
8
|
+
*/
|
|
9
|
+
export type RadioGroupProps<Msg> = Readonly<{
|
|
10
|
+
name: SoftStr;
|
|
11
|
+
label: SoftStr;
|
|
12
|
+
options: ReadonlyArray<Selectable>;
|
|
13
|
+
value: SoftStr;
|
|
14
|
+
onChange: (id: SoftStr) => Msg;
|
|
15
|
+
}>;
|
|
16
|
+
export declare const radioGroup: <Msg>(props: RadioGroupProps<Msg>) => Html<Msg>;
|
|
17
|
+
/**
|
|
18
|
+
* A SEGMENTED CONTROL: two to four choices side by side,
|
|
19
|
+
* one pressed. For a choice that takes effect at once —
|
|
20
|
+
* a view, a unit — where a select would hide the others.
|
|
21
|
+
*/
|
|
22
|
+
export type SegmentedProps<Msg> = Readonly<{
|
|
23
|
+
label: SoftStr;
|
|
24
|
+
options: ReadonlyArray<Selectable>;
|
|
25
|
+
value: SoftStr;
|
|
26
|
+
onSelect: (id: SoftStr) => Msg;
|
|
27
|
+
}>;
|
|
28
|
+
export declare const segmented: <Msg>(props: SegmentedProps<Msg>) => Html<Msg>;
|
|
29
|
+
/** What the typed fields have in common: a labelled
|
|
30
|
+
* native input of one type, with its error. */
|
|
31
|
+
type TypedFieldProps<Msg> = Readonly<{
|
|
32
|
+
name: SoftStr;
|
|
33
|
+
label: SoftStr;
|
|
34
|
+
value: SoftStr;
|
|
35
|
+
error: Option<SoftStr>;
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
onInput: (value: SoftStr) => Msg;
|
|
38
|
+
}>;
|
|
39
|
+
/**
|
|
40
|
+
* A NUMBER INPUT: a number, with the browser's own
|
|
41
|
+
* stepping and its numeric keyboard on a phone. The
|
|
42
|
+
* value stays text, as typed; the caller parses it.
|
|
43
|
+
*/
|
|
44
|
+
export type NumberInputProps<Msg> = TypedFieldProps<Msg> & Readonly<{
|
|
45
|
+
min: Option<number>;
|
|
46
|
+
max: Option<number>;
|
|
47
|
+
step: Option<number>;
|
|
48
|
+
}>;
|
|
49
|
+
export declare const numberInput: <Msg>(props: NumberInputProps<Msg>) => Html<Msg>;
|
|
50
|
+
/**
|
|
51
|
+
* A DATE INPUT: a day, picked with the browser's own
|
|
52
|
+
* calendar. The value is `YYYY-MM-DD`, or empty.
|
|
53
|
+
*/
|
|
54
|
+
export type DateInputProps<Msg> = TypedFieldProps<Msg>;
|
|
55
|
+
export declare const dateInput: <Msg>(props: DateInputProps<Msg>) => Html<Msg>;
|
|
56
|
+
/**
|
|
57
|
+
* A SEARCH FIELD: the words a list is narrowed by. Its
|
|
58
|
+
* label is spoken but not drawn — the field's place
|
|
59
|
+
* above the list already says what it is for.
|
|
60
|
+
*/
|
|
61
|
+
export type SearchFieldProps<Msg> = Readonly<{
|
|
62
|
+
name: SoftStr;
|
|
63
|
+
label: SoftStr;
|
|
64
|
+
value: SoftStr;
|
|
65
|
+
placeholder: SoftStr;
|
|
66
|
+
onInput: (value: SoftStr) => Msg;
|
|
67
|
+
}>;
|
|
68
|
+
export declare const searchField: <Msg>(props: SearchFieldProps<Msg>) => Html<Msg>;
|
|
69
|
+
/**
|
|
70
|
+
* A SLIDER: a value within a range, where the feel of
|
|
71
|
+
* more or less matters more than the exact number —
|
|
72
|
+
* which is still written beside it.
|
|
73
|
+
*/
|
|
74
|
+
export type SliderProps<Msg> = Readonly<{
|
|
75
|
+
name: SoftStr;
|
|
76
|
+
label: SoftStr;
|
|
77
|
+
value: number;
|
|
78
|
+
min: number;
|
|
79
|
+
max: number;
|
|
80
|
+
step: number;
|
|
81
|
+
onInput: (value: SoftStr) => Msg;
|
|
82
|
+
}>;
|
|
83
|
+
export declare const slider: <Msg>(props: SliderProps<Msg>) => Html<Msg>;
|
|
84
|
+
/**
|
|
85
|
+
* A FILE INPUT: a file handed over, through the
|
|
86
|
+
* browser's own picker. What comes back is the name the
|
|
87
|
+
* browser reports; reading the file is the caller's
|
|
88
|
+
* effect.
|
|
89
|
+
*/
|
|
90
|
+
export type FileInputProps<Msg> = Readonly<{
|
|
91
|
+
name: SoftStr;
|
|
92
|
+
label: SoftStr;
|
|
93
|
+
accept: Option<SoftStr>;
|
|
94
|
+
onChange: (name: SoftStr) => Msg;
|
|
95
|
+
}>;
|
|
96
|
+
export declare const fileInput: <Msg>(props: FileInputProps<Msg>) => Html<Msg>;
|
|
97
|
+
/**
|
|
98
|
+
* A SUGGESTING INPUT: free text, with known answers
|
|
99
|
+
* offered as it is typed. Built on the browser's own
|
|
100
|
+
* list of suggestions: what is typed need not be one of
|
|
101
|
+
* them.
|
|
102
|
+
*/
|
|
103
|
+
export type SuggestInputProps<Msg> = TypedFieldProps<Msg> & Readonly<{
|
|
104
|
+
options: ReadonlyArray<SoftStr>;
|
|
105
|
+
}>;
|
|
106
|
+
export declare const suggestInput: <Msg>(props: SuggestInputProps<Msg>) => Html<Msg>;
|
|
107
|
+
/**
|
|
108
|
+
* A CHECK GROUP: several of a few choices, all of them
|
|
109
|
+
* in view. Real checkboxes under one legend; the chosen
|
|
110
|
+
* ones are the caller's list, and a press says which one
|
|
111
|
+
* to add or take away.
|
|
112
|
+
*/
|
|
113
|
+
export type CheckGroupProps<Msg> = Readonly<{
|
|
114
|
+
name: SoftStr;
|
|
115
|
+
label: SoftStr;
|
|
116
|
+
options: ReadonlyArray<Selectable>;
|
|
117
|
+
chosen: ReadonlyArray<SoftStr>;
|
|
118
|
+
onToggle: (id: SoftStr) => Msg;
|
|
119
|
+
}>;
|
|
120
|
+
export declare const checkGroup: <Msg>(props: CheckGroupProps<Msg>) => Html<Msg>;
|
|
121
|
+
/** The chosen ones after one is pressed: taken away when
|
|
122
|
+
* it was among them, added when it was not. */
|
|
123
|
+
export declare const toggled: (chosen: ReadonlyArray<SoftStr>, id: SoftStr) => ReadonlyArray<SoftStr>;
|
|
124
|
+
export {};
|
|
125
|
+
//# sourceMappingURL=choices.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"choices.d.ts","sourceRoot":"","sources":["../../../src/Component/usecase/choices.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,MAAM,EAEZ,MAAM,MAAM,CAAC;AACd,OAAO,EACL,KAAK,IAAI,EAOV,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAsBzE;;;;GAIG;AACH,MAAM,MAAM,eAAe,CAAC,GAAG,IAAI,QAAQ,CAAC;IAC1C,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACnC,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,E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eAAO,MAAM,SAAS,GAAI,GAAG,SACpB,cAAc,CAAC,GAAG,CAAC,KACzB,IAAI,CAAC,GAAG,CA2BR,CAAC;AAEJ;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,CAAC,GAAG,IAC/B,eAAe,CAAC,GAAG,CAAC,GAClB,QAAQ,CAAC;IACP,OAAO,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;CACjC,CAAC,CAAC;AACP,eAAO,MAAM,YAAY,GAAI,GAAG,SACvB,iBAAiB,CAAC,GAAG,CAAC,KAC5B,IAAI,CAAC,GAAG,CAqCR,CAAC;AAEJ;;;;;GAKG;AACH,MAAM,MAAM,eAAe,CAAC,GAAG,IAAI,QAAQ,CAAC;IAC1C,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACnC,MAAM,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,QAAQ,EAAE,CAAC,EAAE,EAAE,OAAO,KAAK,GAAG,CAAC;CAChC,CAAC,CAAC;AACH,eAAO,MAAM,UAAU,GAAI,GAAG,SACrB,eAAe,CAAC,GAAG,CAAC,KAC1B,IAAI,CAAC,GAAG,CAsCR,CAAC;AAEJ;+CAC+C;AAC/C,eAAO,MAAM,OAAO,WACV,aAAa,CAAC,OAAO,CAAC,MAC1B,OAAO,KACV,aAAa,CAAC,OAAO,CAGH,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { type SoftStr, type Option } from "plgg";
|
|
2
|
+
import { type Html } from "plgg-view";
|
|
3
|
+
/**
|
|
4
|
+
* A DRAWER: a panel that comes in from an edge and
|
|
5
|
+
* stands over the page, for work that belongs to the
|
|
6
|
+
* page but should not replace it. It is drawn only
|
|
7
|
+
* while it is open — whether it is open is the caller's
|
|
8
|
+
* state. A press on the dimmed page or on the close
|
|
9
|
+
* button asks to close.
|
|
10
|
+
*/
|
|
11
|
+
export type DrawerProps<Msg> = Readonly<{
|
|
12
|
+
title: SoftStr;
|
|
13
|
+
side: "left" | "right";
|
|
14
|
+
closeLabel: SoftStr;
|
|
15
|
+
onClose: Msg;
|
|
16
|
+
body: ReadonlyArray<Html<Msg>>;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const drawer: <Msg>(props: DrawerProps<Msg>) => Html<Msg>;
|
|
19
|
+
/** How a table is ordered: by which column, and whether
|
|
20
|
+
* from the largest down. */
|
|
21
|
+
export type Sort = Readonly<{
|
|
22
|
+
by: SoftStr;
|
|
23
|
+
descending: boolean;
|
|
24
|
+
}>;
|
|
25
|
+
/** The order after a heading is pressed: the same column
|
|
26
|
+
* turns round; another column starts from the smallest. */
|
|
27
|
+
export declare const sortedOn: (sort: Sort, id: SoftStr) => Sort;
|
|
28
|
+
/** Rows put in order by what one of them is read as:
|
|
29
|
+
* numbers by size, words by the alphabet. */
|
|
30
|
+
export declare const sortedBy: <T>(rows: ReadonlyArray<T>, read: (row: T) => SoftStr | number, descending: boolean) => ReadonlyArray<T>;
|
|
31
|
+
/**
|
|
32
|
+
* A SORTABLE TABLE: a table whose headings order it. A
|
|
33
|
+
* heading that can order is a real button; the column
|
|
34
|
+
* the table is ordered by says so, and in which
|
|
35
|
+
* direction, to a screen reader too. Ordering the rows
|
|
36
|
+
* is the caller's — {@link sortedBy} does it.
|
|
37
|
+
*/
|
|
38
|
+
export type SortColumn = Readonly<{
|
|
39
|
+
id: SoftStr;
|
|
40
|
+
label: SoftStr;
|
|
41
|
+
numeric: boolean;
|
|
42
|
+
sortable: boolean;
|
|
43
|
+
}>;
|
|
44
|
+
export type SortTableProps<Msg> = Readonly<{
|
|
45
|
+
caption: SoftStr;
|
|
46
|
+
columns: ReadonlyArray<SortColumn>;
|
|
47
|
+
rows: ReadonlyArray<ReadonlyArray<Html<Msg>>>;
|
|
48
|
+
sort: Sort;
|
|
49
|
+
onSort: (id: SoftStr) => Msg;
|
|
50
|
+
}>;
|
|
51
|
+
export declare const sortTable: <Msg>(props: SortTableProps<Msg>) => Html<Msg>;
|
|
52
|
+
/** The weeks of a month, Sunday first: the day of the
|
|
53
|
+
* month in each cell, and zero where the week reaches
|
|
54
|
+
* outside the month. `month` counts from one. */
|
|
55
|
+
export declare const monthWeeks: (year: number, month: number) => ReadonlyArray<ReadonlyArray<number>>;
|
|
56
|
+
/**
|
|
57
|
+
* A CALENDAR: a month, a day to a cell, a day picked
|
|
58
|
+
* with a press. Which month is shown and which day is
|
|
59
|
+
* picked are the caller's state; the title above it is
|
|
60
|
+
* the caller's words, so the month reads in the page's
|
|
61
|
+
* own language.
|
|
62
|
+
*/
|
|
63
|
+
export type CalendarProps<Msg> = Readonly<{
|
|
64
|
+
title: SoftStr;
|
|
65
|
+
year: number;
|
|
66
|
+
month: number;
|
|
67
|
+
chosen: Option<number>;
|
|
68
|
+
weekdays: ReadonlyArray<SoftStr>;
|
|
69
|
+
previousLabel: SoftStr;
|
|
70
|
+
nextLabel: SoftStr;
|
|
71
|
+
onPrevious: Msg;
|
|
72
|
+
onNext: Msg;
|
|
73
|
+
onPick: (day: number) => Msg;
|
|
74
|
+
}>;
|
|
75
|
+
export declare const calendar: <Msg>(props: CalendarProps<Msg>) => Html<Msg>;
|
|
76
|
+
//# sourceMappingURL=compound.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compound.d.ts","sourceRoot":"","sources":["../../../src/Component/usecase/compound.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,MAAM,EAEZ,MAAM,MAAM,CAAC;AACd,OAAO,EACL,KAAK,IAAI,EAKV,MAAM,WAAW,CAAC;AAmBnB;;;;;;;GAOG;AACH,MAAM,MAAM,WAAW,CAAC,GAAG,IAAI,QAAQ,CAAC;IACtC,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,GAAG,C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AEiD;AACjD,eAAO,MAAM,UAAU,SACf,MAAM,SACL,MAAM,KACZ,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,CAQnC,CAAC;AAiBJ;;;;;;GAMG;AACH,MAAM,MAAM,aAAa,CAAC,GAAG,IAAI,QAAQ,CAAC;IACxC,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IACvB,QAAQ,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IACjC,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,GAAG,CAAC;IAChB,MAAM,EAAE,GAAG,CAAC;IACZ,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,GAAG,CAAC;CAC9B,CAAC,CAAC;AAsBH,eAAO,MAAM,QAAQ,GAAI,GAAG,SACnB,aAAa,CAAC,GAAG,CAAC,KACxB,IAAI,CAAC,GAAG,CA2GR,CAAC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { type SoftStr, type Option } from "plgg";
|
|
2
|
+
import { type Html } from "plgg-view";
|
|
3
|
+
import { type Tone } from "./toast";
|
|
4
|
+
/**
|
|
5
|
+
* A BADGE: a small mark of state or count beside the
|
|
6
|
+
* thing it speaks of. With no tone it is drawn in the
|
|
7
|
+
* text's own ink.
|
|
8
|
+
*/
|
|
9
|
+
export type BadgeProps = Readonly<{
|
|
10
|
+
label: SoftStr;
|
|
11
|
+
tone: Option<Tone>;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const badge: <Msg>(props: BadgeProps) => Html<Msg>;
|
|
14
|
+
/**
|
|
15
|
+
* A TAG: a label of classification. One that can be
|
|
16
|
+
* taken off carries a real button to do it.
|
|
17
|
+
*/
|
|
18
|
+
export type TagProps<Msg> = Readonly<{
|
|
19
|
+
label: SoftStr;
|
|
20
|
+
onRemove: Option<Msg>;
|
|
21
|
+
}>;
|
|
22
|
+
export declare const tag: <Msg>(props: TagProps<Msg>) => Html<Msg>;
|
|
23
|
+
/**
|
|
24
|
+
* A CARD: one bounded group of content — a heading when
|
|
25
|
+
* it has a name, its body, and a foot for what can be
|
|
26
|
+
* done with it. An empty foot is not drawn.
|
|
27
|
+
*/
|
|
28
|
+
export type CardProps<Msg> = Readonly<{
|
|
29
|
+
title: Option<SoftStr>;
|
|
30
|
+
body: ReadonlyArray<Html<Msg>>;
|
|
31
|
+
foot: ReadonlyArray<Html<Msg>>;
|
|
32
|
+
}>;
|
|
33
|
+
export declare const card: <Msg>(props: CardProps<Msg>) => Html<Msg>;
|
|
34
|
+
/**
|
|
35
|
+
* A DATA TABLE: rows and columns under headings. A
|
|
36
|
+
* column of numbers is set to the right so its digits
|
|
37
|
+
* line up. The table scrolls sideways inside its own
|
|
38
|
+
* frame; it never widens the column it stands in.
|
|
39
|
+
*/
|
|
40
|
+
export type TableColumn = Readonly<{
|
|
41
|
+
label: SoftStr;
|
|
42
|
+
numeric: boolean;
|
|
43
|
+
}>;
|
|
44
|
+
export type DataTableProps<Msg> = Readonly<{
|
|
45
|
+
caption: SoftStr;
|
|
46
|
+
columns: ReadonlyArray<TableColumn>;
|
|
47
|
+
rows: ReadonlyArray<ReadonlyArray<Html<Msg>>>;
|
|
48
|
+
}>;
|
|
49
|
+
export declare const dataTable: <Msg>(props: DataTableProps<Msg>) => Html<Msg>;
|
|
50
|
+
/**
|
|
51
|
+
* A DESCRIPTION LIST: pairs of a term and its value —
|
|
52
|
+
* the facts of one thing, read down.
|
|
53
|
+
*/
|
|
54
|
+
export type DescItem<Msg> = Readonly<{
|
|
55
|
+
term: SoftStr;
|
|
56
|
+
value: ReadonlyArray<Html<Msg>>;
|
|
57
|
+
}>;
|
|
58
|
+
export declare const descList: <Msg>(items: ReadonlyArray<DescItem<Msg>>) => Html<Msg>;
|
|
59
|
+
/** A DIVIDER: a line between two groups. */
|
|
60
|
+
export declare const divider: <Msg>() => Html<Msg>;
|
|
61
|
+
/**
|
|
62
|
+
* AN AVATAR: the round mark of a person or a thing,
|
|
63
|
+
* drawn from the first letter of its name. The whole
|
|
64
|
+
* name is what a screen reader hears.
|
|
65
|
+
*/
|
|
66
|
+
export declare const avatar: <Msg>(name: SoftStr) => Html<Msg>;
|
|
67
|
+
/** A CODE BLOCK: source, shown as written. */
|
|
68
|
+
export declare const codeBlock: <Msg>(source: SoftStr) => Html<Msg>;
|
|
69
|
+
/**
|
|
70
|
+
* AN EMPTY STATE: what stands where there is nothing yet
|
|
71
|
+
* — what is missing, why, and the one thing to do next.
|
|
72
|
+
*/
|
|
73
|
+
export type EmptyStateProps<Msg> = Readonly<{
|
|
74
|
+
title: SoftStr;
|
|
75
|
+
hint: SoftStr;
|
|
76
|
+
action: ReadonlyArray<Html<Msg>>;
|
|
77
|
+
}>;
|
|
78
|
+
export declare const emptyState: <Msg>(props: EmptyStateProps<Msg>) => Html<Msg>;
|
|
79
|
+
/**
|
|
80
|
+
* AN ITEM LIST: rows of one shape — a title, a note
|
|
81
|
+
* under it when there is one, and what trails at the
|
|
82
|
+
* right (a badge, a count, a button).
|
|
83
|
+
*/
|
|
84
|
+
export type ListItem<Msg> = Readonly<{
|
|
85
|
+
title: SoftStr;
|
|
86
|
+
note: Option<SoftStr>;
|
|
87
|
+
trailing: ReadonlyArray<Html<Msg>>;
|
|
88
|
+
}>;
|
|
89
|
+
export declare const itemList: <Msg>(items: ReadonlyArray<ListItem<Msg>>) => Html<Msg>;
|
|
90
|
+
//# sourceMappingURL=display.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"display.d.ts","sourceRoot":"","sources":["../../../src/Component/usecase/display.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,MAAM,EAEZ,MAAM,MAAM,CAAC;AACd,OAAO,EACL,KAAK,IAAI,EAKV,MAAM,WAAW,CAAC;AACnB,OAAO,EA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,EAAE,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;CACpC,CAAC,CAAC;AACH,eAAO,MAAM,QAAQ,GAAI,GAAG,SACnB,aAAa,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,KAClC,IAAI,CAAC,GAAG,CA8CR,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type SoftStr, type Option } from "plgg";
|
|
2
|
+
import { type Html } from "plgg-view";
|
|
3
|
+
import { type Tone } from "./toast";
|
|
4
|
+
/**
|
|
5
|
+
* AN ALERT: a notice set in the page, staying where it
|
|
6
|
+
* was put (a toast comes and goes; this does not). A
|
|
7
|
+
* `danger` one is announced at once, the rest politely.
|
|
8
|
+
*/
|
|
9
|
+
export type AlertProps<Msg> = Readonly<{
|
|
10
|
+
tone: Tone;
|
|
11
|
+
title: Option<SoftStr>;
|
|
12
|
+
body: ReadonlyArray<Html<Msg>>;
|
|
13
|
+
}>;
|
|
14
|
+
export declare const alert: <Msg>(props: AlertProps<Msg>) => Html<Msg>;
|
|
15
|
+
/**
|
|
16
|
+
* A PROGRESS: how far a task has come. With a share (0
|
|
17
|
+
* to 1) the bar is that long; with none, the end is not
|
|
18
|
+
* known and the bar only says that work goes on.
|
|
19
|
+
*/
|
|
20
|
+
export type ProgressProps = Readonly<{
|
|
21
|
+
label: SoftStr;
|
|
22
|
+
share: Option<number>;
|
|
23
|
+
}>;
|
|
24
|
+
export declare const progress: <Msg>(props: ProgressProps) => Html<Msg>;
|
|
25
|
+
/**
|
|
26
|
+
* A SPINNER: the mark of waiting, with the words that
|
|
27
|
+
* say what is waited for.
|
|
28
|
+
*/
|
|
29
|
+
export declare const spinner: <Msg>(label: SoftStr) => Html<Msg>;
|
|
30
|
+
/**
|
|
31
|
+
* A SKELETON: the shape of content that has not come
|
|
32
|
+
* yet — so many lines of it. Hidden from a screen
|
|
33
|
+
* reader, which is told by a spinner or a live region.
|
|
34
|
+
*/
|
|
35
|
+
export declare const skeleton: <Msg>(lines: number) => Html<Msg>;
|
|
36
|
+
/**
|
|
37
|
+
* A TOOLTIP: a short word shown when the thing is
|
|
38
|
+
* hovered or focused. The same word is the thing's
|
|
39
|
+
* accessible description, so it is never the only place
|
|
40
|
+
* a fact is said to someone who cannot hover.
|
|
41
|
+
*/
|
|
42
|
+
export type TooltipProps<Msg> = Readonly<{
|
|
43
|
+
tip: SoftStr;
|
|
44
|
+
children: ReadonlyArray<Html<Msg>>;
|
|
45
|
+
}>;
|
|
46
|
+
export declare const tooltip: <Msg>(props: TooltipProps<Msg>) => Html<Msg>;
|
|
47
|
+
//# sourceMappingURL=feedback.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feedback.d.ts","sourceRoot":"","sources":["../../../src/Component/usecase/feedback.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,MAAM,EAEZ,MAAM,MAAM,CAAC;AACd,OAAO,EACL,KAAK,IAAI,EAIV,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,mCAAmC,CAAC;AAiB9D;;;;GAIG;AACH,MAAM,MAAM,UAAU,CAAC,GAAG,IAAI,QAAQ,CAAC;IACrC,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IACvB,IAAI,EAAE,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;CAChC,CAAC,CAAC;AACH,eAAO,MAAM,KAAK,GAAI,GAAG,SAChB,UAAU,CAAC,GAAG,CAAC,KACrB,IAAI,CAAC,GAAG,CA+BR,CAAC;AAQJ;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC;IACnC,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;CACvB,CAAC,CAAC;AACH,eAAO,MAAM,QAAQ,GAAI,GAAG,SACnB,aAAa,KACnB,IAAI,CAAC,GAAG,CAmDR,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,OAAO,GAAI,GAAG,SAClB,OAAO,KACb,IAAI,CAAC,GAAG,CAkBR,CAAC;AAEJ;;;;GAIG;AACH,eAAO,MAAM,QAAQ,GAAI,GAAG,SACnB,MAAM,KACZ,IAAI,CAAC,GAAG,CAgBR,CAAC;AAEJ;;;;;GAKG;AACH,MAAM,MAAM,YAAY,CAAC,GAAG,IAAI,QAAQ,CAAC;IACvC,GAAG,EAAE,OAAO,CAAC;IACb,QAAQ,EAAE,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;CACpC,CAAC,CAAC;AACH,eAAO,MAAM,OAAO,GAAI,GAAG,SAClB,YAAY,CAAC,GAAG,CAAC,KACvB,IAAI,CAAC,GAAG,CAUR,CAAC"}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { type SoftStr, type Option } from "plgg";
|
|
2
|
+
import { type Html } from "plgg-view";
|
|
3
|
+
/** One of a set of things chosen between. */
|
|
4
|
+
export type Selectable = Readonly<{
|
|
5
|
+
id: SoftStr;
|
|
6
|
+
label: SoftStr;
|
|
7
|
+
}>;
|
|
8
|
+
/**
|
|
9
|
+
* TABS: one place, several contents, one shown. The
|
|
10
|
+
* component draws the row of tabs and says which is
|
|
11
|
+
* current; the content under it is the caller's, chosen
|
|
12
|
+
* by the same `current`.
|
|
13
|
+
*/
|
|
14
|
+
export type TabsProps<Msg> = Readonly<{
|
|
15
|
+
label: SoftStr;
|
|
16
|
+
items: ReadonlyArray<Selectable>;
|
|
17
|
+
current: SoftStr;
|
|
18
|
+
onSelect: (id: SoftStr) => Msg;
|
|
19
|
+
}>;
|
|
20
|
+
export declare const tabs: <Msg>(props: TabsProps<Msg>) => Html<Msg>;
|
|
21
|
+
/** The page numbers shown around the current one: the
|
|
22
|
+
* first, the last, and those next to where one stands;
|
|
23
|
+
* a gap is a zero. */
|
|
24
|
+
export declare const pageNumbers: (page: number, pages: number) => ReadonlyArray<number>;
|
|
25
|
+
/**
|
|
26
|
+
* PAGINATION: a long list taken a page at a time. The
|
|
27
|
+
* ends cannot be stepped past: there the step button is
|
|
28
|
+
* really disabled.
|
|
29
|
+
*/
|
|
30
|
+
export type PaginationProps<Msg> = Readonly<{
|
|
31
|
+
label: SoftStr;
|
|
32
|
+
page: number;
|
|
33
|
+
pages: number;
|
|
34
|
+
onGo: (page: number) => Msg;
|
|
35
|
+
}>;
|
|
36
|
+
export declare const pagination: <Msg>(props: PaginationProps<Msg>) => Html<Msg>;
|
|
37
|
+
/**
|
|
38
|
+
* STEPS: where one stands in a procedure. Steps before
|
|
39
|
+
* the current one are done; the current is marked; the
|
|
40
|
+
* rest are still to come. `current` counts from zero.
|
|
41
|
+
*/
|
|
42
|
+
export type StepsProps = Readonly<{
|
|
43
|
+
label: SoftStr;
|
|
44
|
+
items: ReadonlyArray<SoftStr>;
|
|
45
|
+
current: number;
|
|
46
|
+
}>;
|
|
47
|
+
export declare const steps: <Msg>(props: StepsProps) => Html<Msg>;
|
|
48
|
+
/**
|
|
49
|
+
* AN ACCORDION: sections that open and close under
|
|
50
|
+
* their headings. Built on the native disclosure, so it
|
|
51
|
+
* works with no script and is found by page search.
|
|
52
|
+
*/
|
|
53
|
+
export type AccordionItem<Msg> = Readonly<{
|
|
54
|
+
title: SoftStr;
|
|
55
|
+
open: boolean;
|
|
56
|
+
body: ReadonlyArray<Html<Msg>>;
|
|
57
|
+
}>;
|
|
58
|
+
export declare const accordion: <Msg>(items: ReadonlyArray<AccordionItem<Msg>>) => Html<Msg>;
|
|
59
|
+
/**
|
|
60
|
+
* A MENU: a button that lets a list of choices down.
|
|
61
|
+
* Built on the native disclosure: it opens on a press
|
|
62
|
+
* or Enter with no script. A choice that destroys
|
|
63
|
+
* something is marked so.
|
|
64
|
+
*/
|
|
65
|
+
export type MenuItem<Msg> = Readonly<{
|
|
66
|
+
label: SoftStr;
|
|
67
|
+
onPress: Msg;
|
|
68
|
+
danger: boolean;
|
|
69
|
+
}>;
|
|
70
|
+
export type MenuProps<Msg> = Readonly<{
|
|
71
|
+
label: SoftStr;
|
|
72
|
+
items: ReadonlyArray<MenuItem<Msg>>;
|
|
73
|
+
}>;
|
|
74
|
+
export declare const menuButton: <Msg>(props: MenuProps<Msg>) => Html<Msg>;
|
|
75
|
+
/**
|
|
76
|
+
* AN ICON BUTTON: a button of a glyph alone. The glyph
|
|
77
|
+
* says nothing to a screen reader, so the label is not
|
|
78
|
+
* optional.
|
|
79
|
+
*/
|
|
80
|
+
export type IconButtonProps<Msg> = Readonly<{
|
|
81
|
+
label: SoftStr;
|
|
82
|
+
glyph: SoftStr;
|
|
83
|
+
onPress: Msg;
|
|
84
|
+
disabled: boolean;
|
|
85
|
+
}>;
|
|
86
|
+
export declare const iconButton: <Msg>(props: IconButtonProps<Msg>) => Html<Msg>;
|
|
87
|
+
/**
|
|
88
|
+
* A FLOATING ICON BUTTON: an icon button that stands
|
|
89
|
+
* over the thing it acts on — add to a canvas, fill the
|
|
90
|
+
* window — round, and lifted off what is under it.
|
|
91
|
+
*/
|
|
92
|
+
export declare const floatingIconButton: <Msg>(props: IconButtonProps<Msg>) => Html<Msg>;
|
|
93
|
+
/**
|
|
94
|
+
* A POPOVER: a button that lets a small panel down,
|
|
95
|
+
* holding whatever explains or adjusts the thing beside
|
|
96
|
+
* it. Built on the native disclosure, like the menu: it
|
|
97
|
+
* opens on a press or Enter with no script.
|
|
98
|
+
*/
|
|
99
|
+
export type PopoverProps<Msg> = Readonly<{
|
|
100
|
+
label: SoftStr;
|
|
101
|
+
body: ReadonlyArray<Html<Msg>>;
|
|
102
|
+
}>;
|
|
103
|
+
export declare const popover: <Msg>(props: PopoverProps<Msg>) => Html<Msg>;
|
|
104
|
+
/**
|
|
105
|
+
* A TOOL: one control of a toolbar. Drawn as its label,
|
|
106
|
+
* or — given a glyph — as the glyph alone, the label
|
|
107
|
+
* then spoken. A tool that holds a state (a mode that is
|
|
108
|
+
* on) says so with `pressed`; one that only acts leaves
|
|
109
|
+
* it out.
|
|
110
|
+
*/
|
|
111
|
+
export type ToolButtonProps<Msg> = Readonly<{
|
|
112
|
+
label: SoftStr;
|
|
113
|
+
glyph: Option<SoftStr>;
|
|
114
|
+
pressed: Option<boolean>;
|
|
115
|
+
disabled: boolean;
|
|
116
|
+
onPress: Msg;
|
|
117
|
+
}>;
|
|
118
|
+
export declare const toolButton: <Msg>(props: ToolButtonProps<Msg>) => Html<Msg>;
|
|
119
|
+
/**
|
|
120
|
+
* A TOOL GROUP: tools that belong together — back and
|
|
121
|
+
* forward, the views of one thing — joined edge to edge
|
|
122
|
+
* and named as one.
|
|
123
|
+
*/
|
|
124
|
+
export type ToolGroupProps<Msg> = Readonly<{
|
|
125
|
+
label: SoftStr;
|
|
126
|
+
items: ReadonlyArray<Html<Msg>>;
|
|
127
|
+
}>;
|
|
128
|
+
export declare const toolGroup: <Msg>(props: ToolGroupProps<Msg>) => Html<Msg>;
|
|
129
|
+
/**
|
|
130
|
+
* A TOOLBAR: the controls that act on one thing, in a
|
|
131
|
+
* row over it. What stands in it — tools, groups of
|
|
132
|
+
* tools, a menu — is set apart by the same gap, so a
|
|
133
|
+
* group reads as a group because it is joined, not
|
|
134
|
+
* because of where it sits.
|
|
135
|
+
*/
|
|
136
|
+
export type ToolbarProps<Msg> = Readonly<{
|
|
137
|
+
label: SoftStr;
|
|
138
|
+
items: ReadonlyArray<Html<Msg>>;
|
|
139
|
+
}>;
|
|
140
|
+
export declare const toolbar: <Msg>(props: ToolbarProps<Msg>) => Html<Msg>;
|
|
141
|
+
//# sourceMappingURL=navigation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../src/Component/usecase/navigation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,MAAM,EAGZ,MAAM,MAAM,CAAC;AACd,OAAO,EACL,KAAK,IAAI,EAKV,M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 -0,0 +1,34 @@
|
|
|
1
|
+
import { type SoftStr } from "plgg";
|
|
2
|
+
/**
|
|
3
|
+
* THE BASIC PARTS, AS RULES — in the same two halves the
|
|
4
|
+
* kit keeps everywhere: what a part IS (its structure,
|
|
5
|
+
* which no skin changes) and how it is DRESSED (read from
|
|
6
|
+
* the appearance). Escape-safe (no `<`, `>`, `&`).
|
|
7
|
+
*/
|
|
8
|
+
/** The structure of the basic parts. */
|
|
9
|
+
export declare const partsSystemCss: (p: SoftStr, overlay: SoftStr) => SoftStr;
|
|
10
|
+
/** What the appearance sheet hands the parts: its own
|
|
11
|
+
* resolved values, so both sheets dress alike. */
|
|
12
|
+
export type PartsLook = Readonly<{
|
|
13
|
+
p: SoftStr;
|
|
14
|
+
text: SoftStr;
|
|
15
|
+
surface: SoftStr;
|
|
16
|
+
muted: SoftStr;
|
|
17
|
+
wash: SoftStr;
|
|
18
|
+
rule: SoftStr;
|
|
19
|
+
hair: SoftStr;
|
|
20
|
+
radius: SoftStr;
|
|
21
|
+
round: SoftStr;
|
|
22
|
+
mono: SoftStr;
|
|
23
|
+
elevation: SoftStr;
|
|
24
|
+
quick: SoftStr;
|
|
25
|
+
current: SoftStr;
|
|
26
|
+
press: SoftStr;
|
|
27
|
+
hover: SoftStr;
|
|
28
|
+
danger: SoftStr;
|
|
29
|
+
tone: (name: SoftStr, part: SoftStr) => SoftStr;
|
|
30
|
+
tones: ReadonlyArray<SoftStr>;
|
|
31
|
+
}>;
|
|
32
|
+
/** The dress of the basic parts. */
|
|
33
|
+
export declare const partsAppearanceCss: (l: PartsLook) => SoftStr;
|
|
34
|
+
//# sourceMappingURL=partsCss.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partsCss.d.ts","sourceRoot":"","sources":["../../../src/Component/usecase/partsCss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AAEpC;;;;;GAKG;AAEH,wCAAwC;AACxC,eAAO,MAAM,cAAc,MACtB,OAAO,WACD,OAAO,KACf,OA+GF,CAAC;AAEF;kDACkD;AAClD,MAAM,MAAM,SAAS,GAAG,QAAQ,CAAC;IAC/B,CAAC,EAAE,OAAO,CAAC;IACX,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC;IAChD,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;CAC/B,CAAC,CAAC;AAEH,oCAAoC;AACpC,eAAO,MAAM,kBAAkB,MAC1B,SAAS,KACX,OA0KF,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { type SoftStr } from "plgg";
|
|
2
|
+
import { type Html } from "plgg-view";
|
|
3
|
+
/**
|
|
4
|
+
* AN EXAMPLE BOX: the box a thing is shown in, apart
|
|
5
|
+
* from the page around it — a live component in a guide,
|
|
6
|
+
* a result under the form that made it.
|
|
7
|
+
*/
|
|
8
|
+
export declare const exampleBox: <Msg>(children: ReadonlyArray<Html<Msg>>) => Html<Msg>;
|
|
9
|
+
/**
|
|
10
|
+
* A CLUSTER: things side by side with one gap between
|
|
11
|
+
* them, wrapping to the next line when they do not fit —
|
|
12
|
+
* a few buttons, a run of badges.
|
|
13
|
+
*/
|
|
14
|
+
export declare const cluster: <Msg>(children: ReadonlyArray<Html<Msg>>) => Html<Msg>;
|
|
15
|
+
/**
|
|
16
|
+
* A SPLIT: two panes and the boundary between them. The
|
|
17
|
+
* boundary is the kit's splitter; `vertical` sets the
|
|
18
|
+
* panes left and right, `horizontal` one over the other.
|
|
19
|
+
*/
|
|
20
|
+
export type SplitProps<Msg> = Readonly<{
|
|
21
|
+
label: SoftStr;
|
|
22
|
+
orientation: "vertical" | "horizontal";
|
|
23
|
+
first: ReadonlyArray<Html<Msg>>;
|
|
24
|
+
second: ReadonlyArray<Html<Msg>>;
|
|
25
|
+
}>;
|
|
26
|
+
export declare const split: <Msg>(props: SplitProps<Msg>) => Html<Msg>;
|
|
27
|
+
/**
|
|
28
|
+
* A SWATCH: one colour, shown with its name and how it
|
|
29
|
+
* is written. The colour is any CSS colour — a token's
|
|
30
|
+
* reference follows the scheme the page is in.
|
|
31
|
+
*/
|
|
32
|
+
export type SwatchProps = Readonly<{
|
|
33
|
+
name: SoftStr;
|
|
34
|
+
written: SoftStr;
|
|
35
|
+
color: SoftStr;
|
|
36
|
+
}>;
|
|
37
|
+
export declare const swatch: <Msg>(props: SwatchProps) => Html<Msg>;
|
|
38
|
+
/** Swatches laid out as many to a line as fit. */
|
|
39
|
+
export declare const swatches: <Msg>(items: ReadonlyArray<SwatchProps>) => Html<Msg>;
|
|
40
|
+
/**
|
|
41
|
+
* A PREVIEW: another page shown inside this one, in a
|
|
42
|
+
* frame that names it and offers it in a tab of its own.
|
|
43
|
+
* The page is fetched only when the frame comes near.
|
|
44
|
+
*/
|
|
45
|
+
export type PreviewProps = Readonly<{
|
|
46
|
+
title: SoftStr;
|
|
47
|
+
src: SoftStr;
|
|
48
|
+
openLabel: SoftStr;
|
|
49
|
+
}>;
|
|
50
|
+
export declare const preview: <Msg>(props: PreviewProps) => Html<Msg>;
|
|
51
|
+
//# sourceMappingURL=presenting.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":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MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC;IAClC,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,OAAO,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC,CAAC;AACH,eAAO,MAAM,OAAO,GAAI,GAAG,SAClB,YAAY,KAClB,IAAI,CAAC,GAAG,CA+BR,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../src/Component/usecase/toast.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EACL,KAAK,IAAI,EAQV,MAAM,WAAW,CAAC;AAUnB;;;;;GAKG;AACH,MAAM,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../src/Component/usecase/toast.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EACL,KAAK,IAAI,EAQV,MAAM,WAAW,CAAC;AAUnB;;;;;GAKG;AACH,MAAM,MAAM,IAAI,GACZ,SAAS,GACT,QAAQ,GACR,SAAS,GACT,MAAM,CAAC;AAEX,eAAO,MAAM,KAAK,EAAE,aAAa,CAAC,IAAI,CAKrC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,UAAU,CAAC,GAAG,IAAI,QAAQ,CAAC;IACrC,EAAE,EAAE,OAAO,CAAC;IACZ,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,GAAG,CAAC;CAChB,CAAC,CAAC;AAEH,eAAO,MAAM,KAAK,GAAI,GAAG,SAChB,UAAU,CAAC,GAAG,CAAC,KACrB,IAAI,CAAC,GAAG,EAAE,KAAK,CA2Bf,CAAC;AAEJ;;;;GAIG;AACH,eAAO,MAAM,OAAO,GAAI,GAAG,UACjB,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,KACrC,IAAI,CAAC,GAAG,EAAE,KAAK,CAOf,CAAC"}
|