plggmatic 0.3.0 → 0.4.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.
Files changed (48) hide show
  1. package/README.md +45 -0
  2. package/dist/Appearance/model/appearance.d.ts +91 -0
  3. package/dist/Appearance/model/appearance.d.ts.map +1 -0
  4. package/dist/Appearance/usecase/appearanceCss.d.ts +24 -0
  5. package/dist/Appearance/usecase/appearanceCss.d.ts.map +1 -0
  6. package/dist/Appearance/usecase/asAppearance.d.ts +13 -0
  7. package/dist/Appearance/usecase/asAppearance.d.ts.map +1 -0
  8. package/dist/Component/index.d.ts +1 -0
  9. package/dist/Component/index.d.ts.map +1 -1
  10. package/dist/Component/usecase/button.d.ts.map +1 -1
  11. package/dist/Component/usecase/properties.d.ts +59 -0
  12. package/dist/Component/usecase/properties.d.ts.map +1 -0
  13. package/dist/Component/usecase/sidebarNav.d.ts +1 -0
  14. package/dist/Component/usecase/sidebarNav.d.ts.map +1 -1
  15. package/dist/Meta/model/classHooks.d.ts +116 -0
  16. package/dist/Meta/model/classHooks.d.ts.map +1 -1
  17. package/dist/Navigate/index.d.ts +1 -0
  18. package/dist/Navigate/index.d.ts.map +1 -1
  19. package/dist/Navigate/usecase/carouselScript.d.ts +26 -0
  20. package/dist/Navigate/usecase/carouselScript.d.ts.map +1 -0
  21. package/dist/Navigate/usecase/navigationScript.d.ts.map +1 -1
  22. package/dist/Shell/index.d.ts +21 -0
  23. package/dist/Shell/index.d.ts.map +1 -0
  24. package/dist/Shell/usecase/kit.d.ts +30 -0
  25. package/dist/Shell/usecase/kit.d.ts.map +1 -0
  26. package/dist/Shell/usecase/shell.d.ts +85 -0
  27. package/dist/Shell/usecase/shell.d.ts.map +1 -0
  28. package/dist/Style/index.d.ts +2 -0
  29. package/dist/Style/index.d.ts.map +1 -1
  30. package/dist/Style/model/metric.d.ts.map +1 -1
  31. package/dist/Style/model/palette.d.ts.map +1 -1
  32. package/dist/Style/model/token.d.ts.map +1 -1
  33. package/dist/Style/model/typography.d.ts.map +1 -1
  34. package/dist/Style/model/zIndex.d.ts.map +1 -1
  35. package/dist/Style/usecase/carouselCss.d.ts +17 -0
  36. package/dist/Style/usecase/carouselCss.d.ts.map +1 -0
  37. package/dist/Style/usecase/shareCss.d.ts +49 -0
  38. package/dist/Style/usecase/shareCss.d.ts.map +1 -0
  39. package/dist/System/usecase/systemCss.d.ts +43 -0
  40. package/dist/System/usecase/systemCss.d.ts.map +1 -0
  41. package/dist/columnsEntry.es.js +42 -2
  42. package/dist/index.d.ts +10 -1
  43. package/dist/index.d.ts.map +1 -1
  44. package/dist/index.es.js +938 -65
  45. package/dist/styleEntry.d.ts +6 -1
  46. package/dist/styleEntry.d.ts.map +1 -1
  47. package/dist/styleEntry.es.js +246 -26
  48. package/package.json +2 -2
package/README.md CHANGED
@@ -114,6 +114,41 @@ in [`packages/plggmatic-example/`](../plggmatic-example/) (`src/declaration.ts`
114
114
  the design record at
115
115
  [`.workaholic/specs/20260704-plggmatic-scheduler-design.md`](../../.workaholic/specs/20260704-plggmatic-scheduler-design.md).
116
116
 
117
+ ## The standard screen: what "build it with plggmatic" gives you
118
+
119
+ `shell(props)` draws it and `kitCss(theme)` is its whole stylesheet: a sidebar
120
+ pinned on the left (the product's name, sections as groups that open where
121
+ the reader is, a control that folds it, the appearance toggle at its foot)
122
+ and beside it the open pages sharing the width. One page fills the room; a
123
+ followed link opens its target to the right and the two stand side by side;
124
+ past what the window holds the strip scrolls and the carousel steps it.
125
+
126
+ ```ts
127
+ style.textContent = kitCss(defaultTheme);
128
+ // view:
129
+ shell({ brand, home, atHome, nav, folded, fold, foot, pages });
130
+ ```
131
+
132
+ **System and appearance are two things.** `systemCss` fixes structure and
133
+ behaviour — the frame, what a column is, how pages share the width, which
134
+ states exist — and contains no colour, font, border, radius, padding or
135
+ duration. An `Appearance` is a value that answers all of those, and
136
+ `appearanceCss` turns it into rules. `kitCss(theme, appearance)` is the two
137
+ in order; `kitSystemCss` and `kitAppearanceCss` are the halves, so a product
138
+ can swap its appearance at run time and nothing moves.
139
+
140
+ `monochrome` is the default appearance — one ink, square, inversion as the
141
+ only emphasis — and only a default: `soft` ships beside it to keep that
142
+ honest, and a product is expected to write its own
143
+ (`{ ...monochrome, radius: "6px", rule: "border" }`).
144
+
145
+ Settings read down a column use the **property list** (`propertyList`,
146
+ `propertyRow`, with `choice`, `entry` and `toggle` as the one control a row
147
+ holds).
148
+
149
+ `packages/plggmatic-example` opens on the **catalog** (`index.html`): the
150
+ design system's pages and live examples, shown in this screen.
151
+
117
152
  ## The workspace: a pinned panel, a menu, a strip walked by a trail
118
153
 
119
154
  What corpd, coop-planner and this package's own reference each wrote by hand
@@ -144,6 +179,16 @@ offers; the rest is the framework's.
144
179
 
145
180
  `packages/plggmatic-example` demo 4 (`demo4.html`) runs all of it together.
146
181
 
182
+ - **Shared strip** (`shareCss`, `shareClass`, `spanTwoClass`): the open
183
+ document columns divide the room right of whatever is pinned
184
+ (`shareInsetVar`), up to what the window holds — one column from the start,
185
+ two from 960px, three from 1760px. One column fills the room; a column past
186
+ the capacity does not squeeze the others, the strip scrolls. A `span-2`
187
+ column takes two columns' worth.
188
+ - **Carousel** (`carouselInitScript`, `carouselCss`): two controls at the
189
+ strip's edges that step it a column at a time, each shown only while there
190
+ is something its way.
191
+
147
192
  A product that already draws its own columns takes the logic alone from
148
193
  `plggmatic/columns` — the trail and its address, the geometry, the reveal and
149
194
  the preference, about 21 KiB, reaching only `plgg`. The package root gathers
@@ -0,0 +1,91 @@
1
+ import { type SoftStr } from "plgg";
2
+ import { type Color } from "../../Style/model/token";
3
+ /**
4
+ * How one state is shown: the fill behind it and the ink
5
+ * on it, both by role — so the mark reschemes with the
6
+ * palette like everything else.
7
+ */
8
+ export type Mark = Readonly<{
9
+ fill: Color;
10
+ ink: Color;
11
+ }>;
12
+ /**
13
+ * AN APPEARANCE: everything about how the framework's UI
14
+ * system LOOKS, and nothing about what it is.
15
+ *
16
+ * The UI system (`System`) fixes structure and behaviour:
17
+ * there is a sidebar and a strip of pages; every column is
18
+ * a head over a body that scrolls on its own; pages share
19
+ * the width, arrive by growing and leave by shrinking; the
20
+ * current thing and the link that opened a page are
21
+ * MARKED. None of that says a rule is black, a corner is
22
+ * square, or a mark is an inversion. Those are answers an
23
+ * appearance gives, and a product is expected to give its
24
+ * own: two products on this system looking nothing alike
25
+ * is the ordinary case, not an exception.
26
+ *
27
+ * An appearance is DATA — a value, not a stylesheet — so
28
+ * it can be compared, derived (`{ ...monochrome, radius:
29
+ * "6px" }`) and checked by the compiler, and so a new one
30
+ * cannot forget a decision: every field is required.
31
+ * {@link appearanceCss} turns one into rules.
32
+ *
33
+ * - type: `font`, `mono`, `size`, `leading`.
34
+ * - line: `rule` frames the columns and bars, `hairline`
35
+ * separates quieter things inside them, `ruleWidth`.
36
+ * - shape: `radius` of controls and boxes.
37
+ * - emphasis: `current` marks where the reader is (and
38
+ * what opened the page beside it), `hover` a row under
39
+ * the pointer, `press` a control or link being acted on.
40
+ * - density: `head` bar height, `gutter` beside rows and
41
+ * bars, `page` padding round a page's content.
42
+ * - depth: `elevation` of what floats (dialog, toast).
43
+ * - motion: `quick` for state changes, `arrive` / `leave`
44
+ * / `swap` for pages, `ease`.
45
+ */
46
+ export type Appearance = Readonly<{
47
+ name: SoftStr;
48
+ font: SoftStr;
49
+ mono: SoftStr;
50
+ size: SoftStr;
51
+ leading: SoftStr;
52
+ rule: Color;
53
+ hairline: Color;
54
+ ruleWidth: SoftStr;
55
+ radius: SoftStr;
56
+ current: Mark;
57
+ hover: Mark;
58
+ press: Mark;
59
+ head: SoftStr;
60
+ gutter: SoftStr;
61
+ page: SoftStr;
62
+ elevation: SoftStr;
63
+ quick: SoftStr;
64
+ arrive: SoftStr;
65
+ leave: SoftStr;
66
+ swap: SoftStr;
67
+ ease: SoftStr;
68
+ }>;
69
+ /**
70
+ * THE DEFAULT: monochrome. One ink — the frame is drawn,
71
+ * not shaded in grey, in a rule the palette holds one step
72
+ * under the text colour (full black on white, or white on
73
+ * dark, is harsher than a frame needs to be). Square. The only
74
+ * emphasis is inversion: the current thing swaps text and
75
+ * surface, and so does whatever is being pressed. Calm
76
+ * type on a 15px body.
77
+ *
78
+ * A default, not the system: nothing in `System` assumes
79
+ * any of this.
80
+ */
81
+ export declare const monochrome: Appearance;
82
+ /**
83
+ * A second appearance, shipped to keep the first honest:
84
+ * soft. Quiet grey rules, rounded corners, the current
85
+ * thing tinted rather than inverted, floating things
86
+ * lifted by a shadow, the platform's own type, slower
87
+ * motion. Same system, same markup, no rule in common
88
+ * with {@link monochrome} beyond what the type demands.
89
+ */
90
+ export declare const soft: Appearance;
91
+ //# sourceMappingURL=appearance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appearance.d.ts","sourceRoot":"","sources":["../../../src/Appearance/model/appearance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAEzD;;;;GAIG;AACH,MAAM,MAAM,IAAI,GAAG,QAAQ,CAAC;IAC1B,IAAI,EAAE,KAAK,CAAC;IACZ,GAAG,EAAE,KAAK,CAAC;CACZ,CAAC,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,KAAK,CAAC;IACZ,QAAQ,EAAE,KAAK,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,KAAK,EAAE,IAAI,CAAC;IACZ,KAAK,EAAE,IAAI,CAAC;IACZ,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;CACf,CAAC,CAAC;AAEH;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,UAAU,EAAE,UAyBxB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,IAAI,EAAE,UAyBlB,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { type SoftStr } from "plgg";
2
+ import { type Theme } from "../../Style/model/theme";
3
+ import { type Appearance } from "../model/appearance";
4
+ /**
5
+ * AN APPEARANCE AS RULES: every visual decision of the UI
6
+ * system's parts, read from one {@link Appearance} value.
7
+ *
8
+ * The other half of `systemCss`, and deliberately its
9
+ * complement: this sheet positions nothing and sizes no
10
+ * layout — it only dresses what the system has already
11
+ * laid out. Swap the appearance and the same markup, in
12
+ * the same places, behaving the same way, looks like
13
+ * another product.
14
+ *
15
+ * Nothing here is a constant of the framework. A colour is
16
+ * a role resolved through the palette; a width, a radius,
17
+ * a duration, a font is the appearance's. The few literal
18
+ * lengths that remain are proportions of the type (an
19
+ * icon's box, a chevron's arms), not taste.
20
+ *
21
+ * Escape-safe (no `<`, `>`, `&`).
22
+ */
23
+ export declare const appearanceCss: (theme: Theme) => (a: Appearance) => SoftStr;
24
+ //# sourceMappingURL=appearanceCss.d.ts.map
@@ -0,0 +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;AAGzD,OAAO,EACL,KAAK,UAAU,EAEhB,MAAM,uCAAuC,CAAC;AAE/C;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,aAAa,UAChB,KAAK,SACT,UAAU,KAAG,OAkLhB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { type Result, type InvalidError } from "plgg";
2
+ import { type Appearance } from "../model/appearance";
3
+ /**
4
+ * Validate an unknown value (a config file's `appearance`)
5
+ * into an {@link Appearance}. Every field is required: an
6
+ * appearance cannot leave a decision out, so a product
7
+ * that wants "the default but rounder" spreads the default
8
+ * and names what it changes
9
+ * (`{ ...monochrome, radius: "6px" }`). A failure names
10
+ * the field.
11
+ */
12
+ export declare const asAppearance: (value: unknown) => Result<Appearance, InvalidError>;
13
+ //# sourceMappingURL=asAppearance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asAppearance.d.ts","sourceRoot":"","sources":["../../../src/Appearance/usecase/asAppearance.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,YAAY,EASlB,MAAM,MAAM,CAAC;AAKd,OAAO,EACL,KAAK,UAAU,EAEhB,MAAM,uCAAuC,CAAC;AAkC/C;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,UAChB,OAAO,KACb,MAAM,CAAC,UAAU,EAAE,YAAY,CAgCjC,CAAC"}
@@ -27,4 +27,5 @@ export { type CheckboxProps, checkbox, } from "./usecase/checkbox";
27
27
  export { type Control, type FormField, type FieldState, type DeclaredFormProps, fieldControl, declaredForm, } from "./usecase/declaredForm";
28
28
  export { type ConfirmDialogProps, confirmDialog, } from "./usecase/confirmDialog";
29
29
  export { type Tone, type ToastProps, tones, toast, toaster, } from "./usecase/toast";
30
+ export { type ChoiceProps, type EntryProps, type ToggleProps, propertyList, propertyRow, choice, entry, toggle, } from "./usecase/properties";
30
31
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src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,0CAA0C,CAAC;AAClD,OAAO,EACL,KAAK,kBAAkB,EACvB,aAAa,GACd,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,KAAK,IAAI,EACT,KAAK,UAAU,EACf,KAAK,EACL,KAAK,EACL,OAAO,GACR,MAAM,mCAAmC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Component/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EACL,KAAK,gBAAgB,EACrB,SAAS,EACT,QAAQ,EACR,QAAQ,GACT,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,KAAK,WAAW,EAChB,MAAM,GACP,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,KAAK,aAAa,EAClB,QAAQ,GACT,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,KAAK,YAAY,EACjB,OAAO,EACP,KAAK,GACN,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,KAAK,gBAAgB,EACrB,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,cAAc,GACf,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,eAAe,EACpB,UAAU,EACV,eAAe,EACf,aAAa,EACb,sBAAsB,GACvB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,KAAK,YAAY,EACjB,OAAO,GACR,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,KAAK,KAAK,EACV,UAAU,GACX,MAAM,wCAAwC,CAAC;AAKhD,OAAO,EACL,KAAK,cAAc,EACnB,SAAS,GACV,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,KAAK,aAAa,EAClB,QAAQ,GACT,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,WAAW,GACZ,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,KAAK,aAAa,EAClB,QAAQ,GACT,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,YAAY,EACZ,YAAY,GACb,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,KAAK,kBAAkB,EACvB,aAAa,GACd,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,KAAK,IAAI,EACT,KAAK,UAAU,EACf,KAAK,EACL,KAAK,EACL,OAAO,GACR,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,YAAY,EACZ,WAAW,EACX,MAAM,EACN,KAAK,EACL,MAAM,GACP,MAAM,wCAAwC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/Component/usecase/button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EACL,KAAK,IAAI,EAMV,MAAM,WAAW,CAAC;AAmBnB;;;;;GAKG;AACH,MAAM,MAAM,WAAW,CAAC,GAAG,IAAI,QAAQ,CAAC;IACtC,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC,CAAC;AAEH;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,MAAM,GAAI,GAAG,SACjB,WAAW,CAAC,GAAG,CAAC,KACtB,IAAI,CAAC,GAAG,EAAE,QAAQ,CAwBlB,CAAC"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/Component/usecase/button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EACL,KAAK,IAAI,EAMV,MAAM,WAAW,CAAC;AAkBnB;;;;;GAKG;AACH,MAAM,MAAM,WAAW,CAAC,GAAG,IAAI,QAAQ,CAAC;IACtC,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC,CAAC;AAEH;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,MAAM,GAAI,GAAG,SACjB,WAAW,CAAC,GAAG,CAAC,KACtB,IAAI,CAAC,GAAG,EAAE,QAAQ,CAuBlB,CAAC"}
@@ -0,0 +1,59 @@
1
+ import { type SoftStr, type Option } from "plgg";
2
+ import { type Html } from "plgg-view";
3
+ import { type SelectOption } from "./selectInput";
4
+ /**
5
+ * THE PROPERTY LIST: the settings of one thing, a row per
6
+ * property — its name on the left, the control that sets
7
+ * it on the right. The form of an inspector, a side panel,
8
+ * a preferences pane: many short settings read down a
9
+ * column, not a document form filled in top to bottom.
10
+ *
11
+ * **Recorded rule**: a property row holds exactly ONE
12
+ * control and that control's value is its whole state — a
13
+ * choice ({@link choice}), an entry ({@link entry}) or a
14
+ * switch ({@link toggle}). There is no submit: a row takes
15
+ * effect when its control changes. The name is a real
16
+ * `<label for>`, so it names the control to assistive tech
17
+ * and clicking it reaches the control.
18
+ */
19
+ export declare const propertyList: <Msg>(label: SoftStr, rows: ReadonlyArray<Html<Msg>>) => Html<Msg>;
20
+ /** One row: `label` names the control with id `name`. */
21
+ export declare const propertyRow: <Msg>(name: SoftStr, label: SoftStr, control: Html<Msg>) => Html<Msg>;
22
+ export type ChoiceProps<Msg> = Readonly<{
23
+ name: SoftStr;
24
+ value: SoftStr;
25
+ options: ReadonlyArray<SelectOption>;
26
+ disabled: boolean;
27
+ onChange: (value: SoftStr) => Msg;
28
+ }>;
29
+ /** One of a few named values: a bare `<select>`. */
30
+ export declare const choice: <Msg>(props: ChoiceProps<Msg>) => Html<Msg>;
31
+ export type EntryProps<Msg> = Readonly<{
32
+ name: SoftStr;
33
+ value: SoftStr;
34
+ placeholder: Option<SoftStr>;
35
+ /** Digits are expected (the keyboard offered says so). */
36
+ numeric: boolean;
37
+ disabled: boolean;
38
+ onInput: (value: SoftStr) => Msg;
39
+ }>;
40
+ /** A short typed value: a bare `<input>`. */
41
+ export declare const entry: <Msg>(props: EntryProps<Msg>) => Html<Msg>;
42
+ export type ToggleProps<Msg> = Readonly<{
43
+ name: SoftStr;
44
+ on: boolean;
45
+ /** The words for the two states, e.g. "オン" / "オフ". */
46
+ onLabel: SoftStr;
47
+ offLabel: SoftStr;
48
+ disabled: boolean;
49
+ onToggle: Msg;
50
+ }>;
51
+ /**
52
+ * Yes or no: a switch. A real `<button role="switch">`
53
+ * with `aria-checked`, so it is one tab stop, Space and
54
+ * Enter flip it, and its state is announced — and it says
55
+ * which way it stands in WORDS beside the track, never by
56
+ * position or colour alone.
57
+ */
58
+ export declare const toggle: <Msg>(props: ToggleProps<Msg>) => Html<Msg>;
59
+ //# sourceMappingURL=properties.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"properties.d.ts","sourceRoot":"","sources":["../../../src/Component/usecase/properties.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,MAAM,EAEZ,MAAM,MAAM,CAAC;AACd,OAAO,EACL,KAAK,IAAI,EASV,MAAM,WAAW,CAAC;AAYnB,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,yCAAyC,CAAC;AAE5E;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,YAAY,GAAI,GAAG,SACvB,OAAO,QACR,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,KAC7B,IAAI,CAAC,GAAG,CASR,CAAC;AAEJ,yDAAyD;AACzD,eAAO,MAAM,WAAW,GAAI,GAAG,QACvB,OAAO,SACN,OAAO,WACL,IAAI,CAAC,GAAG,CAAC,KACjB,IAAI,CAAC,GAAG,CAmBR,CAAC;AAOJ,MAAM,MAAM,W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avClass: {
22
22
  group: string;
23
23
  groupTitle: string;
24
24
  link: string;
25
+ label: string;
25
26
  flat: string;
26
27
  subgroup: string;
27
28
  subgroupTitle: string;
@@ -1 +1 @@
1
- {"version":3,"file":"sidebarNav.d.ts","sourceRoot":"","sources":["../../../src/Component/usecase/sidebarNav.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,MAAM,CAAC;AACjD,OAAO,EACL,KAAK,IAAI,EAYV,MAAM,WAAW,CAAC;AAKnB,OAAO,EACL,KAAK,KAAK,EAEX,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAYjE;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,CAAC;IAC9B,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;CAC/B,CAAC,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;;;;;;;CASO,CAAC;AAEpC;;;;;;GAMG;AACH,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACrC,MAAM,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAChC,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC;IACpC,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC;IACpC,qEAAqE;IACrE,MAAM,EAAE,OAAO,CAAC;IAChB,4DAA4D;IAC5D,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC,CAAC;AAEH;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,UAAU,UACd,eAAe,KACrB,IAAI,CAAC,KAAK,EAAE,KAAK,CAoGnB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,UACjB,KAAK,KACX,OA2GF,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,EAAE,OAWpB,CAAC"}
1
+ {"version":3,"file":"sidebarNav.d.ts","sourceRoot":"","sources":["../../../src/Component/usecase/sidebarNav.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,MAAM,CAAC;AACjD,OAAO,EACL,KAAK,IAAI,EAYV,MAAM,WAAW,CAAC;AAKnB,OAAO,EACL,KAAK,KAAK,EAEX,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAajE;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,CAAC;IAC9B,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;CAC/B,CAAC,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;CAUO,CAAC;AAEpC;;;;;;GAMG;AACH,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACrC,MAAM,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAChC,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC;IACpC,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC;IACpC,qEAAqE;IACrE,MAAM,EAAE,OAAO,CAAC;IAChB,4DAA4D;IAC5D,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC,CAAC;AAEH;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,UAAU,UACd,eAAe,KACrB,IAAI,CAAC,KAAK,EAAE,KAAK,CAkGnB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,UACjB,KAAK,KACX,OA4GF,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,EAAE,OAWpB,CAAC"}
@@ -4,8 +4,119 @@ export declare const colClass: SoftStr;
4
4
  export declare const paneClass: SoftStr;
5
5
  /** A placed column's close control. */
6
6
  export declare const foldClass: SoftStr;
7
+ /**
8
+ * Set on a column the runtime is closing, for as long as
9
+ * its leaving animation runs. A stylesheet animates on it;
10
+ * with no animation the column is removed at once.
11
+ */
12
+ export declare const leavingAttr: SoftStr;
13
+ /**
14
+ * Set on a column that was opened IN PLACE of another —
15
+ * the reader chose a different link from the same column.
16
+ * The strip's shape did not change, so a stylesheet should
17
+ * not animate it as an arrival: the room was already there.
18
+ */
19
+ export declare const replacingAttr: SoftStr;
20
+ /**
21
+ * Set on a link whose target is the column standing
22
+ * immediately to the right of the link's own column: "this
23
+ * is what opened that". Derived from the strip, not from
24
+ * the click, so a reloaded or shared address marks it too.
25
+ */
26
+ export declare const openedAttr: SoftStr;
7
27
  /** The row naming every open column. */
8
28
  export declare const trailClass: SoftStr;
29
+ /** A list of settings: one row per property. */
30
+ export declare const propsClass: SoftStr;
31
+ /** One row: a name and the control that sets it. */
32
+ export declare const propClass: SoftStr;
33
+ /** The name in a property row. */
34
+ export declare const propLabelClass: SoftStr;
35
+ /** The control's place in a property row. */
36
+ export declare const propControlClass: SoftStr;
37
+ /** An on/off switch. */
38
+ export declare const switchClass: SoftStr;
39
+ /** The switch's track. */
40
+ export declare const switchTrackClass: SoftStr;
41
+ /** The switch's thumb. */
42
+ export declare const switchThumbClass: SoftStr;
43
+ /** The word beside a switch saying which way it stands. */
44
+ export declare const switchLabelClass: SoftStr;
45
+ /** The frame of the framework's standard screen. */
46
+ export declare const shellClass: SoftStr;
47
+ /** The shell's pinned sidebar column. */
48
+ export declare const shellSideClass: SoftStr;
49
+ /** A column's head bar: what the column is called. */
50
+ export declare const shellHeadClass: SoftStr;
51
+ /** The name in a head bar. */
52
+ export declare const shellTitleClass: SoftStr;
53
+ /** A column's body: the part that scrolls. */
54
+ export declare const shellBodyClass: SoftStr;
55
+ /** The product's name in the sidebar's head: the way home. */
56
+ export declare const shellBrandClass: SoftStr;
57
+ /** The control that folds the sidebar to a strip. */
58
+ export declare const shellFoldClass: SoftStr;
59
+ /** The foot of the sidebar: the appearance toggle's place. */
60
+ export declare const shellFootClass: SoftStr;
61
+ /** A document column of the shell. */
62
+ export declare const shellPageClass: SoftStr;
63
+ /** A document column's content: prose, figures, examples. */
64
+ export declare const docClass: SoftStr;
65
+ /**
66
+ * Set on the shell (or any ancestor, `<html>` included)
67
+ * while its sidebar is folded.
68
+ */
69
+ export declare const shellMinAttr: SoftStr;
70
+ /**
71
+ * The bar a narrow window shows above the strip: the menu
72
+ * control and the product's name.
73
+ */
74
+ export declare const shellBarClass: SoftStr;
75
+ /** The product's name in that bar: the way home. */
76
+ export declare const shellBarBrandClass: SoftStr;
77
+ /** The control that opens the sidebar as a drawer. */
78
+ export declare const shellMenuButtonClass: SoftStr;
79
+ /**
80
+ * The hidden checkbox that holds the drawer's state on a
81
+ * page with no program: its label is the menu control,
82
+ * and the stylesheet reads `:checked`.
83
+ */
84
+ export declare const shellMenuClass: SoftStr;
85
+ /** That checkbox's id, which its labels point at. */
86
+ export declare const shellMenuId: SoftStr;
87
+ /** What dims the page behind an open drawer. */
88
+ export declare const shellBackdropClass: SoftStr;
89
+ /**
90
+ * Set on the shell while its drawer is open, by a program
91
+ * that holds that state itself (the alternative to the
92
+ * checkbox).
93
+ */
94
+ export declare const shellOpenAttr: SoftStr;
95
+ /**
96
+ * A callout in a page's prose: a boxed aside — a note, a
97
+ * tip, a warning. {@link calloutToneClass} says which.
98
+ */
99
+ export declare const calloutClass: SoftStr;
100
+ /** A callout's heading line. */
101
+ export declare const calloutTitleClass: SoftStr;
102
+ /** The tones a callout comes in. */
103
+ export type CalloutTone = "info" | "note" | "tip" | "warning" | "danger";
104
+ /** The class that gives a callout its tone. */
105
+ export declare const calloutToneClass: (tone: CalloutTone) => SoftStr;
106
+ /** A strip whose document columns share the room. */
107
+ export declare const shareClass: SoftStr;
108
+ /** A document column that takes two columns' worth. */
109
+ export declare const spanTwoClass: SoftStr;
110
+ /**
111
+ * The custom property a host sets on a shared strip to
112
+ * the width pinned over it (a sticky sidebar), so the
113
+ * columns divide only the room that is left.
114
+ */
115
+ export declare const shareInsetVar: SoftStr;
116
+ /** The control that brings the previous column into view. */
117
+ export declare const carouselPrevClass: SoftStr;
118
+ /** The control that brings the next column into view. */
119
+ export declare const carouselNextClass: SoftStr;
9
120
  /** The frame a pinned panel and a strip share. */
10
121
  export declare const workspaceClass: SoftStr;
11
122
  /** The panel pinned to the frame's left edge. */
@@ -40,6 +151,11 @@ export declare const navGroupClass: SoftStr;
40
151
  export declare const navGroupTitleClass: SoftStr;
41
152
  /** A row that is a link. */
42
153
  export declare const navLinkClass: SoftStr;
154
+ /**
155
+ * The words of a row, apart from the row itself: what an
156
+ * appearance marks when the row is the current one.
157
+ */
158
+ export declare const navLabelClass: SoftStr;
43
159
  /** A row that is plain text. */
44
160
  export declare const navFlatClass: SoftStr;
45
161
  /** A nested group inside a group. */
@@ -1 +1 @@
1
- {"version":3,"file":"classHooks.d.ts","sourceRoot":"","sources":["../../../src/Meta/model/classHooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AAsCpC,eAAO,MAAM,QAAQ,EAAE,OAAqB,CAAC;AAC7C,eAAO,MAAM,QAAQ,EAAE,OAAqB,CAAC;AAC7C,eAAO,MAAM,SAAS,EAAE,OAAsB,CAAC;AAI/C,uCAAuC;AACvC,eAAO,MAAM,SAAS,EAAE,OAAsB,CAAC;AAC/C,wCAAwC;AACxC,eAAO,MAAM,UAAU,EAAE,OAAuB,CAAC;AAIjD,kDAAkD;AAClD,eAAO,MAAM,cAAc,EAAE,OACV,CAAC;AACpB,iDAAiD;AACjD,eAAO,MAAM,WAAW,EAAE,OACV,CAAC;AACjB,8DAA8D;AAC9D,eAAO,MAAM,YAAY,EAAE,OACV,CAAC;AAClB,8BAA8B;AAC9B,eAAO,MAAM,SAAS,EAAE,OAAsB,CAAC;AAC/C,wCAAwC;AACxC,eAAO,MAAM,SAAS,EAAE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H,eAAO,MAAM,SAAS,SACd,OAAO,KACZ,OAAiC,CAAC;AAErC;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,cACR,OAAO,KACjB,OAA0B,CAAC"}
@@ -16,4 +16,5 @@ export { stripAttr, columnAttr, spanAttr, navHookName, strip, documentColumn, }
16
16
  export { navigationInitScript, injectNavigationScript, } from "./usecase/navigationScript";
17
17
  export { type Trail, type TrailResolver, type TrailColumn, resolveTrail, settledTrail, foldTrail, stepFrom, restep, } from "./model/Trail";
18
18
  export { type StepCodec, trailParam, stepSeparator, encodeTrail, decodeTrail, trailQuery, printSteps, parseSteps, } from "./usecase/trailUrl";
19
+ export { carouselInitScript } from "./usecase/carouselScript";
19
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Navigate/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EACL,KAAK,MAAM,EACX,KAAK,WAAW,EAChB,QAAQ,EACR,cAAc,EACd,eAAe,EACf,SAAS,GACV,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,SAAS,EACT,SAAS,EACT,cAAc,EACd,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,GAChB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,SAAS,EACT,UAAU,EACV,QAAQ,EACR,WAAW,EACX,KAAK,EACL,cAAc,GACf,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,oBAAoB,EACpB,sBAAsB,GACvB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,KAAK,KAAK,EACV,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,QAAQ,EACR,MAAM,GACP,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,KAAK,SAAS,EACd,UAAU,EACV,aAAa,EACb,WAAW,EACX,WAAW,EACX,UAAU,EACV,UAAU,EACV,UAAU,GACX,MAAM,qCAAqC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Navigate/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EACL,KAAK,MAAM,EACX,KAAK,WAAW,EAChB,QAAQ,EACR,cAAc,EACd,eAAe,EACf,SAAS,GACV,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,SAAS,EACT,SAAS,EACT,cAAc,EACd,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,GAChB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,SAAS,EACT,UAAU,EACV,QAAQ,EACR,WAAW,EACX,KAAK,EACL,cAAc,GACf,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,oBAAoB,EACpB,sBAAsB,GACvB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,KAAK,KAAK,EACV,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,QAAQ,EACR,MAAM,GACP,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,KAAK,SAAS,EACd,UAAU,EACV,aAAa,EACb,WAAW,EACX,WAAW,EACX,UAAU,EACV,UAAU,EACV,UAAU,GACX,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { type SoftStr } from "plgg";
2
+ /**
3
+ * The shared strip's CAROUSEL: two controls at the strip's
4
+ * edges that step it one column at a time. A strip that
5
+ * holds more columns than the window shows scrolls
6
+ * sideways; a wheel and a trackpad do that well, a mouse
7
+ * with only a vertical wheel does not, and neither says
8
+ * "there is more over here". The controls do.
9
+ *
10
+ * Each shows only while there is something its way: the
11
+ * previous control once the strip has left its start, the
12
+ * next control until it reaches its end. A step lands a
13
+ * column's left edge at the strip's own left edge, past
14
+ * whatever is pinned over it (read from the strip's
15
+ * `scroll-padding-left`), so a column is never left half
16
+ * under a sidebar.
17
+ *
18
+ * Built to the shape of the framework's other inline
19
+ * runtimes: dependency-free, every literal sourced from an
20
+ * exported constant, a no-op on a page with no shared
21
+ * strip. Progressive: without it the strip still scrolls.
22
+ * Contains no `</script` sequence; a statement, to be
23
+ * placed inside a host's own script element.
24
+ */
25
+ export declare const carouselInitScript: SoftStr;
26
+ //# sourceMappingURL=carouselScript.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carouselScript.d.ts","sourceRoot":"","sources":["../../../src/Navigate/usecase/carouselScript.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AAYpC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,kBAAkB,EAAE,OAwBf,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"navigationScript.d.ts","sourceRoot":"","sources":["../../../src/Navigate/usecase/navigationScript.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AAqDpC;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,EAAE,OAyN1B,CAAC;AAEV;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,SAC3B,OAAO,KACZ,OAMO,CAAC"}
1
+ {"version":3,"file":"navigationScript.d.ts","sourceRoot":"","sources":["../../../src/Navigate/usecase/navigationScript.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AAwDpC;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,EAAE,OAoQ1B,CAAC;AAEV;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,SAC3B,OAAO,KACZ,OAMO,CAAC"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * The plggmatic Shell module: the framework's STANDARD
3
+ * SCREEN — what a product gets when it says "build it with
4
+ * plggmatic" and nothing more. A sidebar pinned on the
5
+ * left and the open pages sharing the width beside it
6
+ * ({@link shell}), and the one call that styles it
7
+ * ({@link kitCss}): the UI system's sheet, then an
8
+ * appearance's.
9
+ *
10
+ * The two are kept apart. `System` says where things are
11
+ * and how they behave; `Appearance` says how they look,
12
+ * and the monochrome one is only the default. An explicit
13
+ * named barrel (house style).
14
+ */
15
+ export { type ShellPage, type ShellProps, type ShellDrawer, shell, } from "./usecase/shell";
16
+ export { kitCss, kitSystemCss, kitAppearanceCss, } from "./usecase/kit";
17
+ export { systemCss } from "../System/usecase/systemCss";
18
+ export { type Mark, type Appearance, monochrome, soft, } from "../Appearance/model/appearance";
19
+ export { appearanceCss } from "../Appearance/usecase/appearanceCss";
20
+ export { asAppearance } from "../Appearance/usecase/asAppearance";
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Shell/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,GACN,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,MAAM,EACN,YAAY,EACZ,gBAAgB,GACjB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EACL,KAAK,IAAI,EACT,KAAK,UAAU,EACf,UAAU,EACV,IAAI,GACL,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC"}
@@ -0,0 +1,30 @@
1
+ import { type SoftStr } from "plgg";
2
+ import { type Theme } from "../../Style/model/theme";
3
+ import { type Appearance } from "../../Appearance/model/appearance";
4
+ /**
5
+ * EVERYTHING a plggmatic screen needs, as two halves in
6
+ * the one order that works:
7
+ *
8
+ * 1. **the system** — the metrics and `systemCss`: where
9
+ * things are and how they behave;
10
+ * 2. **an appearance** — the palette's scheme and
11
+ * `appearanceCss`: how they look. {@link monochrome}
12
+ * unless the product says otherwise.
13
+ *
14
+ * ```ts
15
+ * style.textContent = kitCss(defaultTheme); // the default look
16
+ * style.textContent = kitCss(myTheme, myAppearance); // the product's own
17
+ * ```
18
+ *
19
+ * The halves are separable on purpose — {@link kitSystemCss}
20
+ * and {@link kitAppearanceCss} — so a product can change
21
+ * its appearance at run time by replacing the second and
22
+ * leaving the first alone: nothing moves, everything is
23
+ * redressed. Escape-safe.
24
+ */
25
+ export declare const kitCss: (theme: Theme, appearance?: Appearance) => SoftStr;
26
+ /** The system half: metrics, structure, behaviour. */
27
+ export declare const kitSystemCss: (theme: Theme) => SoftStr;
28
+ /** The appearance half: the palette and the look. */
29
+ export declare const kitAppearanceCss: (theme: Theme, appearance?: Appearance) => SoftStr;
30
+ //# sourceMappingURL=kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kit.d.ts","sourceRoot":"","sources":["../../../src/Shell/usecase/kit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAKzD,OAAO,EACL,KAAK,UAAU,EAEhB,MAAM,uCAAuC,CAAC;AAG/C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,MAAM,UACV,KAAK,eACA,UAAU,KACrB,OAEkC,CAAC;AAEtC,sDAAsD;AACtD,eAAO,MAAM,YAAY,UAChB,KAAK,KACX,OAA8C,CAAC;AAElD,qDAAqD;AACrD,eAAO,MAAM,gBAAgB,UACpB,KAAK,eACA,UAAU,KACrB,OAG+B,CAAC"}