plggmatic 0.2.2 → 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 (159) hide show
  1. package/README.md +82 -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/Catalog/model/tool.d.ts.map +1 -1
  9. package/dist/Catalog/usecase/adapter.d.ts.map +1 -1
  10. package/dist/Catalog/usecase/catalog.d.ts.map +1 -1
  11. package/dist/Catalog/usecase/runFlow.d.ts.map +1 -1
  12. package/dist/Component/index.d.ts +3 -0
  13. package/dist/Component/index.d.ts.map +1 -1
  14. package/dist/Component/usecase/breadcrumb.d.ts.map +1 -1
  15. package/dist/Component/usecase/button.d.ts.map +1 -1
  16. package/dist/Component/usecase/checkbox.d.ts.map +1 -1
  17. package/dist/Component/usecase/colHead.d.ts.map +1 -1
  18. package/dist/Component/usecase/confirmDialog.d.ts.map +1 -1
  19. package/dist/Component/usecase/declaredForm.d.ts +89 -0
  20. package/dist/Component/usecase/declaredForm.d.ts.map +1 -0
  21. package/dist/Component/usecase/navTree.d.ts.map +1 -1
  22. package/dist/Component/usecase/properties.d.ts +59 -0
  23. package/dist/Component/usecase/properties.d.ts.map +1 -0
  24. package/dist/Component/usecase/selectInput.d.ts.map +1 -1
  25. package/dist/Component/usecase/sidebarNav.d.ts +78 -0
  26. package/dist/Component/usecase/sidebarNav.d.ts.map +1 -0
  27. package/dist/Component/usecase/textArea.d.ts.map +1 -1
  28. package/dist/Component/usecase/textInput.d.ts.map +1 -1
  29. package/dist/Component/usecase/textLink.d.ts.map +1 -1
  30. package/dist/Component/usecase/themeToggle.d.ts +6 -1
  31. package/dist/Component/usecase/themeToggle.d.ts.map +1 -1
  32. package/dist/Component/usecase/toast.d.ts.map +1 -1
  33. package/dist/Component/usecase/typography.d.ts.map +1 -1
  34. package/dist/Declare/model/Action.d.ts.map +1 -1
  35. package/dist/Declare/model/Adapter.d.ts.map +1 -1
  36. package/dist/Declare/model/Collection.d.ts.map +1 -1
  37. package/dist/Declare/model/Declaration.d.ts.map +1 -1
  38. package/dist/Declare/model/Menu.d.ts.map +1 -1
  39. package/dist/Declare/model/Query.d.ts.map +1 -1
  40. package/dist/Declare/model/Row.d.ts.map +1 -1
  41. package/dist/Declare/model/Source.d.ts.map +1 -1
  42. package/dist/Declare/usecase/apply.d.ts.map +1 -1
  43. package/dist/Declare/usecase/project.d.ts.map +1 -1
  44. package/dist/Declare/usecase/reconcile.d.ts.map +1 -1
  45. package/dist/Flow/model/forms.d.ts.map +1 -1
  46. package/dist/Flow/model/run.d.ts.map +1 -1
  47. package/dist/Flow/model/script.d.ts.map +1 -1
  48. package/dist/Flow/usecase/interpret.d.ts.map +1 -1
  49. package/dist/Flow/usecase/read.d.ts.map +1 -1
  50. package/dist/Form/model/submission.d.ts.map +1 -1
  51. package/dist/Form/usecase/controlParts.d.ts.map +1 -1
  52. package/dist/Form/usecase/formView.d.ts.map +1 -1
  53. package/dist/Form/usecase/parseForm.d.ts.map +1 -1
  54. package/dist/Layout/index.d.ts +6 -1
  55. package/dist/Layout/index.d.ts.map +1 -1
  56. package/dist/Layout/model/geometry.d.ts +97 -0
  57. package/dist/Layout/model/geometry.d.ts.map +1 -0
  58. package/dist/Layout/model/pane.d.ts.map +1 -1
  59. package/dist/Layout/model/reveal.d.ts +26 -0
  60. package/dist/Layout/model/reveal.d.ts.map +1 -0
  61. package/dist/Layout/usecase/combinators.d.ts +30 -1
  62. package/dist/Layout/usecase/combinators.d.ts.map +1 -1
  63. package/dist/Layout/usecase/preference.d.ts +27 -0
  64. package/dist/Layout/usecase/preference.d.ts.map +1 -0
  65. package/dist/Layout/usecase/revealColumn.d.ts +39 -0
  66. package/dist/Layout/usecase/revealColumn.d.ts.map +1 -0
  67. package/dist/Layout/usecase/workspace.d.ts +58 -0
  68. package/dist/Layout/usecase/workspace.d.ts.map +1 -0
  69. package/dist/Meta/model/classHooks.d.ts +257 -0
  70. package/dist/Meta/model/classHooks.d.ts.map +1 -0
  71. package/dist/Navigate/index.d.ts +20 -0
  72. package/dist/Navigate/index.d.ts.map +1 -0
  73. package/dist/Navigate/model/Composition.d.ts +50 -0
  74. package/dist/Navigate/model/Composition.d.ts.map +1 -0
  75. package/dist/Navigate/model/Trail.d.ts +84 -0
  76. package/dist/Navigate/model/Trail.d.ts.map +1 -0
  77. package/dist/Navigate/model/marker.d.ts +44 -0
  78. package/dist/Navigate/model/marker.d.ts.map +1 -0
  79. package/dist/Navigate/usecase/carouselScript.d.ts +26 -0
  80. package/dist/Navigate/usecase/carouselScript.d.ts.map +1 -0
  81. package/dist/Navigate/usecase/compositionUrl.d.ts +63 -0
  82. package/dist/Navigate/usecase/compositionUrl.d.ts.map +1 -0
  83. package/dist/Navigate/usecase/navigationScript.d.ts +16 -0
  84. package/dist/Navigate/usecase/navigationScript.d.ts.map +1 -0
  85. package/dist/Navigate/usecase/trailUrl.d.ts +61 -0
  86. package/dist/Navigate/usecase/trailUrl.d.ts.map +1 -0
  87. package/dist/Render/index.d.ts +1 -0
  88. package/dist/Render/index.d.ts.map +1 -1
  89. package/dist/Render/model/mode.d.ts.map +1 -1
  90. package/dist/Render/model/screen.d.ts.map +1 -1
  91. package/dist/Render/usecase/advanceColumns.d.ts +41 -0
  92. package/dist/Render/usecase/advanceColumns.d.ts.map +1 -0
  93. package/dist/Render/usecase/multiColumn.d.ts.map +1 -1
  94. package/dist/Render/usecase/parts.d.ts.map +1 -1
  95. package/dist/Render/usecase/renderMode.d.ts.map +1 -1
  96. package/dist/Render/usecase/singleColumn.d.ts.map +1 -1
  97. package/dist/Schedule/model/Model.d.ts.map +1 -1
  98. package/dist/Schedule/model/Msg.d.ts.map +1 -1
  99. package/dist/Schedule/model/Scene.d.ts.map +1 -1
  100. package/dist/Schedule/model/View.d.ts.map +1 -1
  101. package/dist/Schedule/usecase/chain.d.ts.map +1 -1
  102. package/dist/Schedule/usecase/codec.d.ts.map +1 -1
  103. package/dist/Schedule/usecase/lower.d.ts.map +1 -1
  104. package/dist/Schedule/usecase/scene.d.ts.map +1 -1
  105. package/dist/Schedule/usecase/schedule.d.ts.map +1 -1
  106. package/dist/Schedule/usecase/update.d.ts.map +1 -1
  107. package/dist/Shell/index.d.ts +21 -0
  108. package/dist/Shell/index.d.ts.map +1 -0
  109. package/dist/Shell/usecase/kit.d.ts +30 -0
  110. package/dist/Shell/usecase/kit.d.ts.map +1 -0
  111. package/dist/Shell/usecase/shell.d.ts +85 -0
  112. package/dist/Shell/usecase/shell.d.ts.map +1 -0
  113. package/dist/Style/index.d.ts +6 -0
  114. package/dist/Style/index.d.ts.map +1 -1
  115. package/dist/Style/model/appearance.d.ts.map +1 -1
  116. package/dist/Style/model/breakpoint.d.ts.map +1 -1
  117. package/dist/Style/model/componentSlot.d.ts +35 -0
  118. package/dist/Style/model/componentSlot.d.ts.map +1 -0
  119. package/dist/Style/model/hexColor.d.ts +3 -1
  120. package/dist/Style/model/hexColor.d.ts.map +1 -1
  121. package/dist/Style/model/metric.d.ts.map +1 -1
  122. package/dist/Style/model/palette.d.ts.map +1 -1
  123. package/dist/Style/model/syntax.d.ts.map +1 -1
  124. package/dist/Style/model/theme.d.ts +10 -0
  125. package/dist/Style/model/theme.d.ts.map +1 -1
  126. package/dist/Style/model/token.d.ts.map +1 -1
  127. package/dist/Style/model/typography.d.ts.map +1 -1
  128. package/dist/Style/model/zIndex.d.ts.map +1 -1
  129. package/dist/Style/usecase/appearanceScript.d.ts.map +1 -1
  130. package/dist/Style/usecase/carouselCss.d.ts +17 -0
  131. package/dist/Style/usecase/carouselCss.d.ts.map +1 -0
  132. package/dist/Style/usecase/chromeCss.d.ts.map +1 -1
  133. package/dist/Style/usecase/contrast.d.ts.map +1 -1
  134. package/dist/Style/usecase/metricCss.d.ts.map +1 -1
  135. package/dist/Style/usecase/runwayCss.d.ts +50 -0
  136. package/dist/Style/usecase/runwayCss.d.ts.map +1 -0
  137. package/dist/Style/usecase/schemeCss.d.ts.map +1 -1
  138. package/dist/Style/usecase/shareCss.d.ts +49 -0
  139. package/dist/Style/usecase/shareCss.d.ts.map +1 -0
  140. package/dist/Style/usecase/slotCss.d.ts +73 -0
  141. package/dist/Style/usecase/slotCss.d.ts.map +1 -0
  142. package/dist/Style/usecase/syntaxCss.d.ts.map +1 -1
  143. package/dist/Style/usecase/utilities.d.ts +1 -1
  144. package/dist/Style/usecase/utilities.d.ts.map +1 -1
  145. package/dist/Style/usecase/workspaceCss.d.ts +48 -0
  146. package/dist/Style/usecase/workspaceCss.d.ts.map +1 -0
  147. package/dist/System/usecase/systemCss.d.ts +43 -0
  148. package/dist/System/usecase/systemCss.d.ts.map +1 -0
  149. package/dist/brand.d.ts.map +1 -1
  150. package/dist/columnsEntry.d.ts +27 -0
  151. package/dist/columnsEntry.d.ts.map +1 -0
  152. package/dist/columnsEntry.es.js +492 -0
  153. package/dist/index.d.ts +23 -4
  154. package/dist/index.d.ts.map +1 -1
  155. package/dist/index.es.js +2649 -181
  156. package/dist/styleEntry.d.ts +12 -2
  157. package/dist/styleEntry.d.ts.map +1 -1
  158. package/dist/styleEntry.es.js +843 -44
  159. package/package.json +12 -8
@@ -1 +1 @@
1
- {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/Style/model/typography.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,MAAM,EAGZ,MAAM,MAAM,CAAC;AAEd;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,QAAQ,GAClB,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAErC,eAAO,MAAM,SAAS,EAAE,aAAa,CAAC,QAAQ,CACZ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CAAC"}
1
+ {"version":3,"file":"zIndex.d.ts","sourceRoot":"","sources":["../../../src/Style/model/zIndex.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,KAAK,GACb,SAAS,GACT,QAAQ,GACR,UAAU,GACV,SAAS,CAAC;AAEd,eAAO,MAAM,MAAM,EAAE,aAAa,CAAC,KAAK,CAKvC,CAAC;AAMF,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAK5C,CAAC;AAEF,0CAA0C;AAC1C,eAAO,MAAM,MAAM,MAAO,KAAK,KAAG,MACnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"appearanceScript.d.ts","sourceRoot":"","sources":["../../../src/Style/usecase/appearanceScript.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAG3D;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB,EAAE,OAAmQ,CAAC;AAEvS;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,GACjC,MAAM,OAAO,KACZ,OAMO,CAAC;AAKX,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACrC,GAAG,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC,CAAC,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;IAChC,SAAS,EAAE,eAAe,CAAC;CAC5B,CAAC,CAAC;AAGH,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC;IACnC,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C,CAAC,CAAC;AAEH;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW,GACtB,QAAQ,MAAM,EACd,MAAM,UAAU,EAChB,SAAS,aAAa,KACrB,IAWF,CAAC"}
1
+ {"version":3,"file":"appearanceScript.d.ts","sourceRoot":"","sources":["../../../src/Style/usecase/appearanceScript.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAG3D;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB,EAAE,OAAmQ,CAAC;AAEvS;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,SAC3B,OAAO,KACZ,OAMO,CAAC;AAKX,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACrC,GAAG,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC,CAAC,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;IAChC,SAAS,EAAE,eAAe,CAAC;CAC5B,CAAC,CAAC;AAGH,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC;IACnC,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C,CAAC,CAAC;AAEH;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW,WACd,MAAM,QACR,UAAU,WACP,aAAa,KACrB,IAWF,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { type SoftStr } from "plgg";
2
+ import { type Theme } from "../model/theme";
3
+ /**
4
+ * The carousel controls' chrome: two square buttons at the
5
+ * shared strip's vertical middle, the previous one just
6
+ * right of whatever is pinned over the strip
7
+ * (`--<p>-share-inset`), the next one at the right edge.
8
+ * Monochrome like the rest of the chrome: surface fill, a
9
+ * text hairline, inverted on hover and keyboard focus. The
10
+ * chevron is two borders, so it takes the button's ink.
11
+ *
12
+ * Their host must be a positioned ancestor of the strip
13
+ * (the runtime appends them to the strip's parent).
14
+ * Escape-safe (no `<`, `>`, `&`).
15
+ */
16
+ export declare const carouselCss: (theme: Theme) => SoftStr;
17
+ //# sourceMappingURL=carouselCss.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"carouselCss.d.ts","sourceRoot":"","sources":["../../../src/Style/usecase/carouselCss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAIzD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,WAAW,UACf,KAAK,KACX,OAiBF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"chromeCss.d.ts","sourceRoot":"","sources":["../../../src/Style/usecase/chromeCss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,6BAA6B,CAAC;AASzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,eAAO,MAAM,SAAS,GACpB,OAAO,KAAK,KACX,OA2BF,CAAC"}
1
+ {"version":3,"file":"chromeCss.d.ts","sourceRoot":"","sources":["../../../src/Style/usecase/chromeCss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,6BAA6B,CAAC;AASzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,eAAO,MAAM,SAAS,UACb,KAAK,KACX,OA2BF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"contrast.d.ts","sourceRoot":"","sources":["../../../src/Style/usecase/contrast.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,QAAQ,EAEd,MAAM,gCAAgC,CAAC;AA8BxC,eAAO,MAAM,aAAa,GACxB,GAAG,QAAQ,EACX,GAAG,QAAQ,KACV,MAIF,CAAC"}
1
+ {"version":3,"file":"contrast.d.ts","sourceRoot":"","sources":["../../../src/Style/usecase/contrast.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,QAAQ,EAEd,MAAM,gCAAgC,CAAC;AA8BxC,eAAO,MAAM,aAAa,MACrB,QAAQ,KACR,QAAQ,KACV,MAIF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"metricCss.d.ts","sourceRoot":"","sources":["../../../src/Style/usecase/metricCss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AAKpC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAEzD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,SAAS,GACpB,OAAO,KAAK,KACX,OAMa,CAAC"}
1
+ {"version":3,"file":"metricCss.d.ts","sourceRoot":"","sources":["../../../src/Style/usecase/metricCss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AAKpC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAEzD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,SAAS,UACb,KAAK,KACX,OAMa,CAAC"}
@@ -0,0 +1,50 @@
1
+ import { type SoftStr } from "plgg";
2
+ import { type Theme } from "../model/theme";
3
+ /**
4
+ * The parameters of a runway: the column {@link gap} (also
5
+ * the width the trailing spacer leaves for the gap after the
6
+ * last column) and the {@link lastFallback} width used until
7
+ * the advance effect has measured the real last column.
8
+ */
9
+ export type RunwayOptions = Readonly<{
10
+ gap: SoftStr;
11
+ lastFallback: SoftStr;
12
+ }>;
13
+ /**
14
+ * The UNBOUNDED-DEPTH HORIZONTAL RUNWAY as a declared
15
+ * framework capability.
16
+ *
17
+ * The framework's own multi-column chrome ({@link chromeCss})
18
+ * only scrolls the strip BELOW the `snap` breakpoint — above
19
+ * it a column strip is expected to fit, so the row is
20
+ * `overflow:hidden`. An app whose column recursion is
21
+ * UNBOUNDED (the reference's central claim: the strip
22
+ * expanding rightward with the body/top-bar width invariant,
23
+ * "depth does not consume the viewport") needs the strip to
24
+ * scroll at EVERY width, plus a trailing runway so the last —
25
+ * content-width — column can still slide to the left edge.
26
+ * The reference used to hand-write this as app-owned `pm-row`
27
+ * overrides; it is now this capability, which the reference
28
+ * merely enables.
29
+ *
30
+ * Emitted (in the theme's namespace, `pm` by default):
31
+ * - `.<p>-row` scrolls horizontally at every width, laid out
32
+ * to fill its flex parent, its gap published as an internal
33
+ * `--<p>-runway-gap` custom property; and
34
+ * - a `min-width:snap` trailing `::after` FLEX SPACER (never
35
+ * a margin — unreliably counted in a flex scroll container's
36
+ * scroll width) sized `calc(100% - <last> - <gap>)`, one
37
+ * column short of the strip so the last column rests at the
38
+ * left edge with the runway filling the rest. `<last>` is
39
+ * read from `--<p>-runway-last`, which {@link advanceColumns}
40
+ * publishes from its measurement, falling back to
41
+ * {@link RunwayOptions.lastFallback} until the first paint
42
+ * measures it.
43
+ *
44
+ * Escape-safe (no `<`,`>`,`&`) and injected AFTER
45
+ * {@link chromeCss} so the every-width scroll wins the
46
+ * cascade over the framework's above-`snap` `overflow:hidden`
47
+ * at equal specificity. Curried `runwayCss(theme)(opts)`.
48
+ */
49
+ export declare const runwayCss: (theme: Theme) => (opts: RunwayOptions) => SoftStr;
50
+ //# sourceMappingURL=runwayCss.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runwayCss.d.ts","sourceRoot":"","sources":["../../../src/Style/usecase/runwayCss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAGzD;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC;IACnC,GAAG,EAAE,OAAO,CAAC;IACb,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,eAAO,MAAM,SAAS,UACZ,KAAK,YACN,aAAa,KAAG,OAQtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"schemeCss.d.ts","sourceRoot":"","sources":["../../../src/Style/usecase/schemeCss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AAGpC,OAAO,EACL,KAAK,OAAO,EAGb,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,KAAK,KAAK,EAEX,MAAM,6BAA6B,CAAC;AAsBrC;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,SAAS,GACpB,OAAO,KAAK,KACX,OACkH,CAAC;AAEtH;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,GACtB,SAAS,OAAO,KACf,OACsC,CAAC"}
1
+ {"version":3,"file":"schemeCss.d.ts","sourceRoot":"","sources":["../../../src/Style/usecase/schemeCss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AAGpC,OAAO,EACL,KAAK,OAAO,EAGb,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,KAAK,KAAK,EAEX,MAAM,6BAA6B,CAAC;AAsBrC;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,SAAS,UACb,KAAK,KACX,OACkH,CAAC;AAEtH;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,YACb,OAAO,KACf,OACsC,CAAC"}
@@ -0,0 +1,49 @@
1
+ import { type SoftStr } from "plgg";
2
+ import { type Theme } from "../model/theme";
3
+ /**
4
+ * One step of a strip's capacity: from `min` up, the
5
+ * window holds `columns` document columns side by side.
6
+ */
7
+ export type ShareStep = Readonly<{
8
+ min: SoftStr;
9
+ columns: number;
10
+ }>;
11
+ /**
12
+ * How many document columns a window holds at once. Below
13
+ * the first step it holds one. Listed narrowest first.
14
+ */
15
+ export type ShareOptions = Readonly<{
16
+ steps: ReadonlyArray<ShareStep>;
17
+ }>;
18
+ /**
19
+ * Two columns from 960px, three from 1760px. A column
20
+ * under about 480px is too narrow to read a page in, and a
21
+ * strip that shows three at 1280 shows three of those.
22
+ */
23
+ export declare const shareOptions: ShareOptions;
24
+ /**
25
+ * The SHARED STRIP as a declared framework capability: the
26
+ * open document columns divide the room between them, up
27
+ * to what the window can hold.
28
+ *
29
+ * The room is the strip's own width less whatever is
30
+ * pinned over it (a sticky sidebar), which the host
31
+ * publishes as `--<p>-share-inset`. The capacity `n` is
32
+ * the window's, from {@link ShareOptions.steps}. Each
33
+ * column's basis is one `n`-th of the room and it may
34
+ * grow but never shrink, so:
35
+ *
36
+ * - one column alone fills the room;
37
+ * - `n` columns stand exactly side by side;
38
+ * - a column past `n` does not squeeze the others — the
39
+ * strip scrolls, a column at a time.
40
+ *
41
+ * A column marked `.<p>-span-2` takes two columns' worth
42
+ * (never more than the room): a page that is one large
43
+ * figure wants the width two pages of prose would share.
44
+ *
45
+ * Applies to the columns (`[data-<p>-column]`) of a strip
46
+ * carrying `.<p>-share`. Escape-safe (no `<`, `>`, `&`).
47
+ */
48
+ export declare const shareCss: (theme: Theme) => (opts: ShareOptions) => SoftStr;
49
+ //# sourceMappingURL=shareCss.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shareCss.d.ts","sourceRoot":"","sources":["../../../src/Style/usecase/shareCss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAEzD;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,QAAQ,CAAC;IAC/B,GAAG,EAAE,OAAO,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC;IAClC,KAAK,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;CACjC,CAAC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,YAK1B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,QAAQ,UACX,KAAK,YACN,YAAY,KAAG,OAgBrB,CAAC"}
@@ -0,0 +1,73 @@
1
+ import { type SoftStr, type Option, type Result, type InvalidError } from "plgg";
2
+ import { type Theme } from "../model/theme";
3
+ import { type ComponentSlot } from "../model/componentSlot";
4
+ /**
5
+ * A CONSUMER'S RESTYLE of one framework component slot,
6
+ * expressed as data instead of a hand-written `pm-*` rule.
7
+ *
8
+ * The framework owns the component selector (the `slot`,
9
+ * resolved through {@link slotSelector}); the consumer
10
+ * supplies only its OWN context and the declarations:
11
+ *
12
+ * - `scope` — an optional leading selector the consumer
13
+ * owns (`.bo-results`), narrowing the override to a
14
+ * context; emitted as `<scope> <slotSelector>…`.
15
+ * - `state` — an optional pseudo/attribute suffix on the
16
+ * component (`:hover`, `[aria-current="page"]`).
17
+ * - `within` — an optional trailing consumer descendant
18
+ * (`.bo-result-meta`), emitted after the component.
19
+ * - `declarations` — the CSS body (no braces).
20
+ *
21
+ * The consumer never writes a `pm-*` class string — that is
22
+ * the by-name coupling this layer removes. {@link slotStyle}
23
+ * builds one from trusted composition; {@link asSlotStyle}
24
+ * validates untrusted (config-borne) input the same way
25
+ * {@link asPalette} validates a palette.
26
+ */
27
+ export type SlotStyle = Readonly<{
28
+ slot: ComponentSlot;
29
+ scope: Option<SoftStr>;
30
+ state: Option<SoftStr>;
31
+ within: Option<SoftStr>;
32
+ declarations: SoftStr;
33
+ }>;
34
+ /**
35
+ * Build a {@link SlotStyle} from trusted composition — the
36
+ * constructor a consumer's own stylesheet uses. Optional
37
+ * context fields are read at this builder boundary and
38
+ * lifted into `Option` (the domain never carries
39
+ * `undefined`).
40
+ */
41
+ export declare const slotStyle: (spec: Readonly<{
42
+ slot: ComponentSlot;
43
+ declarations: SoftStr;
44
+ scope?: SoftStr;
45
+ state?: SoftStr;
46
+ within?: SoftStr;
47
+ }>) => SlotStyle;
48
+ /**
49
+ * Validate an unknown value (config-borne) as a
50
+ * {@link SlotStyle}: the `slot` must be a declared
51
+ * {@link ComponentSlot}, the `declarations` a non-empty
52
+ * escape-safe string, and each optional context field
53
+ * escape-safe when present. Validates SHAPE — a first
54
+ * failing field wins and names itself, the {@link asPalette}
55
+ * pattern.
56
+ */
57
+ export declare const asSlotStyle: (value: unknown) => Result<SlotStyle, InvalidError>;
58
+ /**
59
+ * Emit one {@link SlotStyle} as a CSS rule, resolving its
60
+ * slot to the framework selector in the supplied theme's
61
+ * namespace. Curried `slotStyleCss(theme)(style)`.
62
+ */
63
+ export declare const slotStyleCss: (theme: Theme) => (style: SlotStyle) => SoftStr;
64
+ /**
65
+ * Emit a theme's per-component slot overrides as one CSS
66
+ * block, in order. Injected AFTER {@link chromeCss} so the
67
+ * consumer's declarations win the cascade over the
68
+ * framework defaults at equal specificity. Empty (the
69
+ * default theme carries no slots) emits nothing, so the
70
+ * zero-config chrome is byte-unchanged.
71
+ */
72
+ export declare const slotCss: (theme: Theme) => SoftStr;
73
+ //# sourceMappingURL=slotCss.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slotCss.d.ts","sourceRoot":"","sources":["../../../src/Style/usecase/slotCss.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,MAAM,EACX,KAAK,MAAM,EACX,KAAK,YAAY,EASlB,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EACL,KAAK,aAAa,EAGnB,MAAM,qCAAqC,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,MAAM,SAAS,GAAG,QAAQ,CAAC;IAC/B,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IACxB,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC,CAAC;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,SACd,QAAQ,CAAC;IACb,IAAI,EAAE,aAAa,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC,KACD,SAMD,CAAC;AAwCH;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW,UACf,OAAO,KACb,MAAM,CAAC,SAAS,EAAE,YAAY,CAmDhC,CAAC;AA0BF;;;;GAIG;AACH,eAAO,MAAM,YAAY,UACf,KAAK,aACL,SAAS,KAAG,OACsH,CAAC;AAE7I;;;;;;;GAOG;AACH,eAAO,MAAM,OAAO,UAAW,KAAK,KAAG,OACQ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"syntaxCss.d.ts","sourceRoot":"","sources":["../../../src/Style/usecase/syntaxCss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AAQpC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAsCzD;;;;;;;;;GASG;AACH,eAAO,MAAM,SAAS,GACpB,OAAO,KAAK,KACX,OAEc,CAAC"}
1
+ {"version":3,"file":"syntaxCss.d.ts","sourceRoot":"","sources":["../../../src/Style/usecase/syntaxCss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AAQpC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAsCzD;;;;;;;;;GASG;AACH,eAAO,MAAM,SAAS,UACb,KAAK,KACX,OAEc,CAAC"}
@@ -25,7 +25,7 @@ export declare const color: (c: Color) => Styles;
25
25
  * case, distinct from plgg-view's `color` so intent
26
26
  * reads at the call site. Same atom as {@link color}.
27
27
  */
28
- export declare const textColor: (c: Color) => Styles;
28
+ export declare const textColor: typeof color;
29
29
  /**
30
30
  * A hairline border in the themed `border` role. Emitted
31
31
  * as three atoms (width/style/color) rather than a
@@ -1 +1 @@
1
- {"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../../src/Style/usecase/utilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EACL,KAAK,MAAM,EAEZ,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,KAAK,KAAK,EAEX,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,UAAU,EAEhB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EACL,KAAK,KAAK,EAEX,MAAM,8BAA8B,CAAC;AActC;;;;;;;;;;;;GAYG;AAEH,gDAAgD;AAChD,eAAO,MAAM,EAAE,GAAI,GAAG,KAAK,KAAG,MACK,CAAC;AAEpC,kDAAkD;AAClD,eAAO,MAAM,KAAK,GAAI,GAAG,KAAK,KAAG,MACT,CAAC;AAEzB;;;;GAIG;AACH,eAAO,MAAM,SAAS,MARG,KAAK,KAAG,MAQH,CAAC;AAE/B;;;;;GAKG;AACH,eAAO,MAAM,MAAM,EAAE,MAIpB,CAAC;AAEF,uCAAuC;AACvC,eAAO,MAAM,WAAW,GAAI,GAAG,KAAK,KAAG,MACR,CAAC;AAEhC;;;;;GAKG;AACH,eAAO,MAAM,OAAO,GAAI,GAAG,KAAK,KAAG,MACM,CAAC;AAE1C;;;;;;;;GAQG;AACH,eAAO,MAAM,KAAK,GAAI,GAAG,OAAO,KAAG,MAGlC,CAAC;AAEF;;;;;;GAMG;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,KAAK,MAAO,OAAO,KAAG,MAGlC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,KAAK,EAAE,MAGnB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,UAAU,OAAQ,OAAO,KAAG,MAChB,CAAC;AAE1B;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,MAAO,UAAU,KAAG,MACV,CAAC;AAE9B;;;;GAIG;AACH,eAAO,MAAM,MAAM,MAAO,KAAK,KAAG,MACD,CAAC;AAElC;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,SACd,QAAQ,KACb,MAIF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,OAAO,EAAE,MAGrB,CAAC"}
@@ -0,0 +1,48 @@
1
+ import { type SoftStr } from "plgg";
2
+ import { type Theme } from "../model/theme";
3
+ /**
4
+ * A workspace's fixed lengths: the rail a compact menu
5
+ * folds to, the reading measure a `read` column starts
6
+ * from, and the fallbacks used until the geometry has been
7
+ * written (a server render, a first paint).
8
+ */
9
+ export type WorkspaceOptions = Readonly<{
10
+ rail: SoftStr;
11
+ reading: SoftStr;
12
+ menu: SoftStr;
13
+ column: SoftStr;
14
+ }>;
15
+ /** A 64px rail, a 640px reading measure, 220/320 fallbacks. */
16
+ export declare const workspaceOptions: WorkspaceOptions;
17
+ /**
18
+ * The WORKSPACE as a declared framework capability: a
19
+ * panel pinned to the left edge and, beside it, a strip of
20
+ * menu and columns that scrolls under it.
21
+ *
22
+ * Two products laid this out by hand with the same grid
23
+ * (corpd, coop-planner). The frame is a two-track grid —
24
+ * the panel's track, then the strip at its natural width —
25
+ * and the panel sits `sticky` across both, so scrolling
26
+ * the frame slides the strip under the panel while the
27
+ * panel's own width (the geometry's `--<p>-strip-panel`)
28
+ * shrinks toward its floor. Every length that depends on
29
+ * the window comes from `stripStyle`; nothing here
30
+ * measures.
31
+ *
32
+ * Emitted, in the theme's namespace:
33
+ * - the frame, the pinned panel, the strip and its seam;
34
+ * - the menu track, folding to {@link WorkspaceOptions.rail}
35
+ * while the workspace is compact (never on a phone);
36
+ * - the three column widths (`fit`, `wide`, `read`);
37
+ * - below the `sm` breakpoint, one column per swipe: the
38
+ * panel's track collapses (how the panel is then shown —
39
+ * a sheet, a tab — is the product's) and the strip snaps
40
+ * mandatorily, except while the framework itself is
41
+ * scrolling it.
42
+ *
43
+ * Escape-safe (no `<`, `>`, `&`). Inject after
44
+ * `chromeCss`: a strip column is also a `pm-col`, and the
45
+ * heights given here must win over the chrome's.
46
+ */
47
+ export declare const workspaceCss: (theme: Theme) => (opts: WorkspaceOptions) => SoftStr;
48
+ //# sourceMappingURL=workspaceCss.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaceCss.d.ts","sourceRoot":"","sources":["../../../src/Style/usecase/workspaceCss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAKzD;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC;IACtC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC,CAAC;AAEH,+DAA+D;AAC/D,eAAO,MAAM,gBAAgB,EAAE,gBAM5B,CAAC;AAEJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,YAAY,UACf,KAAK,YACN,gBAAgB,KAAG,OAyBzB,CAAC"}
@@ -0,0 +1,43 @@
1
+ import { type SoftStr } from "plgg";
2
+ import { type Theme } from "../../Style/model/theme";
3
+ /**
4
+ * THE UI SYSTEM as a stylesheet: structure and behaviour,
5
+ * and not one decision about how anything looks.
6
+ *
7
+ * What it fixes is what makes a screen a plggmatic screen
8
+ * whatever it is dressed in:
9
+ *
10
+ * - **The frame.** A sidebar pinned on the left; beside it
11
+ * a strip of pages that scrolls sideways.
12
+ * - **A column.** Sidebar or page, it is a head over a
13
+ * body, and the body scrolls on its own.
14
+ * - **Sharing.** The open pages divide the room right of
15
+ * the sidebar, up to what the window holds
16
+ * ({@link shareCss}); past that the strip scrolls and
17
+ * two controls step it.
18
+ * - **A page.** What a page shows keeps the reading
19
+ * measure and stands in the middle of its column; a
20
+ * page that asks for two columns is a figure or a whole
21
+ * screen and takes the room.
22
+ * - **A narrow window.** Below the `lg` breakpoint the
23
+ * sidebar is a drawer: off the left edge until a menu
24
+ * control in a bar above the strip brings it over the
25
+ * page, which a backdrop dims. The drawer's state is a
26
+ * hidden checkbox (no program needed) or an attribute a
27
+ * program sets. The strip shows a page at a time.
28
+ * - **States.** The sidebar folds to a strip (where it is
29
+ * a column: from the `lg` breakpoint up). A sidebar
30
+ * group is a disclosure. A page can be arriving, leaving
31
+ * or replacing another — the system names each state and
32
+ * moves the layout; it does not say how long it takes.
33
+ * - **Controls.** A field is a label over an input; a
34
+ * dialog is centred over the page; toasts stack in a
35
+ * corner.
36
+ *
37
+ * It contains no colour, no font, no border, no radius, no
38
+ * padding and no duration. Those are an `Appearance`'s,
39
+ * and a screen with this sheet alone is a correct, usable,
40
+ * unstyled layout. Escape-safe (no `<`, `>`, `&`).
41
+ */
42
+ export declare const systemCss: (theme: Theme) => SoftStr;
43
+ //# sourceMappingURL=systemCss.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"systemCss.d.ts","sourceRoot":"","sources":["../../../src/System/usecase/systemCss.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAYzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,eAAO,MAAM,SAAS,UACb,KAAK,KACX,OA6FF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"brand.d.ts","sourceRoot":"","sources":["../src/brand.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,KAAK,EAIX,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,KAAK,MAAM,EACX,KAAK,YAAY,EAIlB,MAAM,MAAM,CAAC;AAEd;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,EAAE,KAAoB,CAAC;AAElD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,yBAAyB,GACpC,cAAc,OAAO,KACpB,MAAM,CAAC,KAAK,EAAE,YAAY,CASD,CAAC"}
1
+ {"version":3,"file":"brand.d.ts","sourceRoot":"","sources":["../src/brand.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,KAAK,EAIX,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,KAAK,MAAM,EACX,KAAK,YAAY,EAIlB,MAAM,MAAM,CAAC;AAEd;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,EAAE,KAAoB,CAAC;AAElD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,yBAAyB,iBACtB,OAAO,KACpB,MAAM,CAAC,KAAK,EAAE,YAAY,CASD,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * The `plggmatic/columns` subpath: the column strip's
3
+ * LOGIC with nothing to render — the trail and its
4
+ * address, the strip's geometry, where a column comes to
5
+ * rest, and a remembered yes/no.
6
+ *
7
+ * It exists for a product that already draws its own
8
+ * columns and wants the framework's rules under them
9
+ * (corpd, the first to take this back, 2026-11-25). The
10
+ * package root gathers every module of the framework into
11
+ * one file, and a bundler that inlines dependencies whole
12
+ * would carry the scheduler, the forms and the flow
13
+ * interpreter into a page that asked for `foldTrail`.
14
+ * This entry reaches only `plgg` and the framework's own
15
+ * hook names, so it costs a page a few kilobytes.
16
+ *
17
+ * Everything here is also on the root; nothing is defined
18
+ * here. An explicit named barrel (house style).
19
+ */
20
+ export { type Trail, type TrailResolver, type TrailColumn, resolveTrail, settledTrail, foldTrail, stepFrom, restep, } from "./Navigate/model/Trail";
21
+ export { type StepCodec, trailParam, stepSeparator, encodeTrail, decodeTrail, trailQuery, printSteps, parseSteps, } from "./Navigate/usecase/trailUrl";
22
+ export { type StripMetrics, type MenuTrack, type StripGeometry, stripMetrics, stripGeometry, stripVar, stripStyle, visibleColumnStart, reachableScroll, } from "./Layout/model/geometry";
23
+ export { type Span, revealTarget, glideEase, } from "./Layout/model/reveal";
24
+ export { type RevealOptions, revealOptions, revealColumn, } from "./Layout/usecase/revealColumn";
25
+ export { type PreferenceStore, type PreferenceReader, type PreferenceWriter, readPreference, savePreference, } from "./Layout/usecase/preference";
26
+ export { menuOpenAttr, menuCompactAttr, phoneAttr, programmaticScrollAttr, widthAttr, } from "./Meta/model/classHooks";
27
+ //# sourceMappingURL=columnsEntry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"columnsEntry.d.ts","sourceRoot":"","sources":["../src/columnsEntry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,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,EACL,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,UAAU,EACV,kBAAkB,EAClB,eAAe,GAChB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,KAAK,IAAI,EACT,YAAY,EACZ,SAAS,GACV,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,KAAK,aAAa,EAClB,aAAa,EACb,YAAY,GACb,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,cAAc,EACd,cAAc,GACf,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,YAAY,EACZ,eAAe,EACf,SAAS,EACT,sBAAsB,EACtB,SAAS,GACV,MAAM,iCAAiC,CAAC"}