plggmatic 0.2.1 → 0.3.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 (221) hide show
  1. package/README.md +37 -0
  2. package/dist/Catalog/index.d.ts +17 -0
  3. package/dist/Catalog/index.d.ts.map +1 -0
  4. package/dist/Catalog/model/tool.d.ts +101 -0
  5. package/dist/Catalog/model/tool.d.ts.map +1 -0
  6. package/dist/Catalog/usecase/adapter.d.ts +81 -0
  7. package/dist/Catalog/usecase/adapter.d.ts.map +1 -0
  8. package/dist/Catalog/usecase/catalog.d.ts +43 -0
  9. package/dist/Catalog/usecase/catalog.d.ts.map +1 -0
  10. package/dist/Catalog/usecase/runFlow.d.ts +77 -0
  11. package/dist/Catalog/usecase/runFlow.d.ts.map +1 -0
  12. package/dist/Component/index.d.ts +30 -0
  13. package/dist/Component/index.d.ts.map +1 -0
  14. package/dist/Component/model/interaction.d.ts +41 -0
  15. package/dist/Component/model/interaction.d.ts.map +1 -0
  16. package/dist/Component/model/navItem.d.ts +16 -0
  17. package/dist/Component/model/navItem.d.ts.map +1 -0
  18. package/dist/Component/usecase/breadcrumb.d.ts +26 -0
  19. package/dist/Component/usecase/breadcrumb.d.ts.map +1 -0
  20. package/dist/Component/usecase/button.d.ts +27 -0
  21. package/dist/Component/usecase/button.d.ts.map +1 -0
  22. package/dist/Component/usecase/checkbox.d.ts +20 -0
  23. package/dist/Component/usecase/checkbox.d.ts.map +1 -0
  24. package/dist/Component/usecase/colHead.d.ts +28 -0
  25. package/dist/Component/usecase/colHead.d.ts.map +1 -0
  26. package/dist/Component/usecase/confirmDialog.d.ts +25 -0
  27. package/dist/Component/usecase/confirmDialog.d.ts.map +1 -0
  28. package/dist/Component/usecase/declaredForm.d.ts +89 -0
  29. package/dist/Component/usecase/declaredForm.d.ts.map +1 -0
  30. package/dist/Component/usecase/navTree.d.ts +21 -0
  31. package/dist/Component/usecase/navTree.d.ts.map +1 -0
  32. package/dist/Component/usecase/selectInput.d.ts +28 -0
  33. package/dist/Component/usecase/selectInput.d.ts.map +1 -0
  34. package/dist/Component/usecase/sidebarNav.d.ts +77 -0
  35. package/dist/Component/usecase/sidebarNav.d.ts.map +1 -0
  36. package/dist/Component/usecase/textArea.d.ts +22 -0
  37. package/dist/Component/usecase/textArea.d.ts.map +1 -0
  38. package/dist/Component/usecase/textInput.d.ts +23 -0
  39. package/dist/Component/usecase/textInput.d.ts.map +1 -0
  40. package/dist/Component/usecase/textLink.d.ts +26 -0
  41. package/dist/Component/usecase/textLink.d.ts.map +1 -0
  42. package/dist/Component/usecase/themeToggle.d.ts +75 -0
  43. package/dist/Component/usecase/themeToggle.d.ts.map +1 -0
  44. package/dist/Component/usecase/toast.d.ts +32 -0
  45. package/dist/Component/usecase/toast.d.ts.map +1 -0
  46. package/dist/Component/usecase/typography.d.ts +33 -0
  47. package/dist/Component/usecase/typography.d.ts.map +1 -0
  48. package/dist/Declare/model/Action.d.ts +91 -0
  49. package/dist/Declare/model/Action.d.ts.map +1 -0
  50. package/dist/Declare/model/Adapter.d.ts +107 -0
  51. package/dist/Declare/model/Adapter.d.ts.map +1 -0
  52. package/dist/Declare/model/Collection.d.ts +55 -0
  53. package/dist/Declare/model/Collection.d.ts.map +1 -0
  54. package/dist/Declare/model/Declaration.d.ts +27 -0
  55. package/dist/Declare/model/Declaration.d.ts.map +1 -0
  56. package/dist/Declare/model/Menu.d.ts +21 -0
  57. package/dist/Declare/model/Menu.d.ts.map +1 -0
  58. package/dist/Declare/model/Query.d.ts +56 -0
  59. package/dist/Declare/model/Query.d.ts.map +1 -0
  60. package/dist/Declare/model/Row.d.ts +129 -0
  61. package/dist/Declare/model/Row.d.ts.map +1 -0
  62. package/dist/Declare/model/Source.d.ts +83 -0
  63. package/dist/Declare/model/Source.d.ts.map +1 -0
  64. package/dist/Declare/usecase/apply.d.ts +23 -0
  65. package/dist/Declare/usecase/apply.d.ts.map +1 -0
  66. package/dist/Declare/usecase/project.d.ts +66 -0
  67. package/dist/Declare/usecase/project.d.ts.map +1 -0
  68. package/dist/Declare/usecase/reconcile.d.ts +63 -0
  69. package/dist/Declare/usecase/reconcile.d.ts.map +1 -0
  70. package/dist/Flow/model/forms.d.ts +45 -0
  71. package/dist/Flow/model/forms.d.ts.map +1 -0
  72. package/dist/Flow/model/run.d.ts +74 -0
  73. package/dist/Flow/model/run.d.ts.map +1 -0
  74. package/dist/Flow/model/script.d.ts +279 -0
  75. package/dist/Flow/model/script.d.ts.map +1 -0
  76. package/dist/Flow/usecase/interpret.d.ts +17 -0
  77. package/dist/Flow/usecase/interpret.d.ts.map +1 -0
  78. package/dist/Flow/usecase/read.d.ts +46 -0
  79. package/dist/Flow/usecase/read.d.ts.map +1 -0
  80. package/dist/Form/index.d.ts +14 -0
  81. package/dist/Form/index.d.ts.map +1 -0
  82. package/dist/Form/model/control.d.ts +9 -0
  83. package/dist/Form/model/control.d.ts.map +1 -0
  84. package/dist/Form/model/submission.d.ts +30 -0
  85. package/dist/Form/model/submission.d.ts.map +1 -0
  86. package/dist/Form/usecase/controlParts.d.ts +30 -0
  87. package/dist/Form/usecase/controlParts.d.ts.map +1 -0
  88. package/dist/Form/usecase/formView.d.ts +21 -0
  89. package/dist/Form/usecase/formView.d.ts.map +1 -0
  90. package/dist/Form/usecase/parseForm.d.ts +28 -0
  91. package/dist/Form/usecase/parseForm.d.ts.map +1 -0
  92. package/dist/Layout/index.d.ts +21 -0
  93. package/dist/Layout/index.d.ts.map +1 -0
  94. package/dist/Layout/model/geometry.d.ts +97 -0
  95. package/dist/Layout/model/geometry.d.ts.map +1 -0
  96. package/dist/Layout/model/pane.d.ts +15 -0
  97. package/dist/Layout/model/pane.d.ts.map +1 -0
  98. package/dist/Layout/model/reveal.d.ts +26 -0
  99. package/dist/Layout/model/reveal.d.ts.map +1 -0
  100. package/dist/Layout/usecase/combinators.d.ts +78 -0
  101. package/dist/Layout/usecase/combinators.d.ts.map +1 -0
  102. package/dist/Layout/usecase/preference.d.ts +27 -0
  103. package/dist/Layout/usecase/preference.d.ts.map +1 -0
  104. package/dist/Layout/usecase/revealColumn.d.ts +39 -0
  105. package/dist/Layout/usecase/revealColumn.d.ts.map +1 -0
  106. package/dist/Layout/usecase/workspace.d.ts +58 -0
  107. package/dist/Layout/usecase/workspace.d.ts.map +1 -0
  108. package/dist/Meta/model/classHooks.d.ts +141 -0
  109. package/dist/Meta/model/classHooks.d.ts.map +1 -0
  110. package/dist/Meta/model/identity.d.ts +16 -0
  111. package/dist/Meta/model/identity.d.ts.map +1 -0
  112. package/dist/Navigate/index.d.ts +19 -0
  113. package/dist/Navigate/index.d.ts.map +1 -0
  114. package/dist/Navigate/model/Composition.d.ts +50 -0
  115. package/dist/Navigate/model/Composition.d.ts.map +1 -0
  116. package/dist/Navigate/model/Trail.d.ts +84 -0
  117. package/dist/Navigate/model/Trail.d.ts.map +1 -0
  118. package/dist/Navigate/model/marker.d.ts +44 -0
  119. package/dist/Navigate/model/marker.d.ts.map +1 -0
  120. package/dist/Navigate/usecase/compositionUrl.d.ts +63 -0
  121. package/dist/Navigate/usecase/compositionUrl.d.ts.map +1 -0
  122. package/dist/Navigate/usecase/navigationScript.d.ts +16 -0
  123. package/dist/Navigate/usecase/navigationScript.d.ts.map +1 -0
  124. package/dist/Navigate/usecase/trailUrl.d.ts +61 -0
  125. package/dist/Navigate/usecase/trailUrl.d.ts.map +1 -0
  126. package/dist/Render/index.d.ts +18 -0
  127. package/dist/Render/index.d.ts.map +1 -0
  128. package/dist/Render/model/mode.d.ts +13 -0
  129. package/dist/Render/model/mode.d.ts.map +1 -0
  130. package/dist/Render/model/screen.d.ts +27 -0
  131. package/dist/Render/model/screen.d.ts.map +1 -0
  132. package/dist/Render/usecase/advanceColumns.d.ts +41 -0
  133. package/dist/Render/usecase/advanceColumns.d.ts.map +1 -0
  134. package/dist/Render/usecase/multiColumn.d.ts +52 -0
  135. package/dist/Render/usecase/multiColumn.d.ts.map +1 -0
  136. package/dist/Render/usecase/parts.d.ts +56 -0
  137. package/dist/Render/usecase/parts.d.ts.map +1 -0
  138. package/dist/Render/usecase/renderMode.d.ts +17 -0
  139. package/dist/Render/usecase/renderMode.d.ts.map +1 -0
  140. package/dist/Render/usecase/singleColumn.d.ts +20 -0
  141. package/dist/Render/usecase/singleColumn.d.ts.map +1 -0
  142. package/dist/Schedule/model/Model.d.ts +103 -0
  143. package/dist/Schedule/model/Model.d.ts.map +1 -0
  144. package/dist/Schedule/model/Msg.d.ts +131 -0
  145. package/dist/Schedule/model/Msg.d.ts.map +1 -0
  146. package/dist/Schedule/model/Scene.d.ts +190 -0
  147. package/dist/Schedule/model/Scene.d.ts.map +1 -0
  148. package/dist/Schedule/model/View.d.ts +54 -0
  149. package/dist/Schedule/model/View.d.ts.map +1 -0
  150. package/dist/Schedule/usecase/chain.d.ts +16 -0
  151. package/dist/Schedule/usecase/chain.d.ts.map +1 -0
  152. package/dist/Schedule/usecase/codec.d.ts +44 -0
  153. package/dist/Schedule/usecase/codec.d.ts.map +1 -0
  154. package/dist/Schedule/usecase/lower.d.ts +45 -0
  155. package/dist/Schedule/usecase/lower.d.ts.map +1 -0
  156. package/dist/Schedule/usecase/scene.d.ts +16 -0
  157. package/dist/Schedule/usecase/scene.d.ts.map +1 -0
  158. package/dist/Schedule/usecase/schedule.d.ts +72 -0
  159. package/dist/Schedule/usecase/schedule.d.ts.map +1 -0
  160. package/dist/Schedule/usecase/update.d.ts +39 -0
  161. package/dist/Schedule/usecase/update.d.ts.map +1 -0
  162. package/dist/Style/index.d.ts +34 -0
  163. package/dist/Style/index.d.ts.map +1 -0
  164. package/dist/Style/model/appearance.d.ts +23 -0
  165. package/dist/Style/model/appearance.d.ts.map +1 -0
  166. package/dist/Style/model/breakpoint.d.ts +43 -0
  167. package/dist/Style/model/breakpoint.d.ts.map +1 -0
  168. package/dist/Style/model/componentSlot.d.ts +35 -0
  169. package/dist/Style/model/componentSlot.d.ts.map +1 -0
  170. package/dist/Style/model/hexColor.d.ts +26 -0
  171. package/dist/Style/model/hexColor.d.ts.map +1 -0
  172. package/dist/Style/model/metric.d.ts +35 -0
  173. package/dist/Style/model/metric.d.ts.map +1 -0
  174. package/dist/Style/model/palette.d.ts +38 -0
  175. package/dist/Style/model/palette.d.ts.map +1 -0
  176. package/dist/Style/model/scheme.d.ts +26 -0
  177. package/dist/Style/model/scheme.d.ts.map +1 -0
  178. package/dist/Style/model/syntax.d.ts +54 -0
  179. package/dist/Style/model/syntax.d.ts.map +1 -0
  180. package/dist/Style/model/theme.d.ts +68 -0
  181. package/dist/Style/model/theme.d.ts.map +1 -0
  182. package/dist/Style/model/token.d.ts +142 -0
  183. package/dist/Style/model/token.d.ts.map +1 -0
  184. package/dist/Style/model/typography.d.ts +83 -0
  185. package/dist/Style/model/typography.d.ts.map +1 -0
  186. package/dist/Style/model/zIndex.d.ts +25 -0
  187. package/dist/Style/model/zIndex.d.ts.map +1 -0
  188. package/dist/Style/usecase/appearanceScript.d.ts +43 -0
  189. package/dist/Style/usecase/appearanceScript.d.ts.map +1 -0
  190. package/dist/Style/usecase/chromeCss.d.ts +41 -0
  191. package/dist/Style/usecase/chromeCss.d.ts.map +1 -0
  192. package/dist/Style/usecase/contrast.d.ts +3 -0
  193. package/dist/Style/usecase/contrast.d.ts.map +1 -0
  194. package/dist/Style/usecase/metricCss.d.ts +17 -0
  195. package/dist/Style/usecase/metricCss.d.ts.map +1 -0
  196. package/dist/Style/usecase/reducedMotion.d.ts +20 -0
  197. package/dist/Style/usecase/reducedMotion.d.ts.map +1 -0
  198. package/dist/Style/usecase/runwayCss.d.ts +50 -0
  199. package/dist/Style/usecase/runwayCss.d.ts.map +1 -0
  200. package/dist/Style/usecase/schemeCss.d.ts +25 -0
  201. package/dist/Style/usecase/schemeCss.d.ts.map +1 -0
  202. package/dist/Style/usecase/slotCss.d.ts +73 -0
  203. package/dist/Style/usecase/slotCss.d.ts.map +1 -0
  204. package/dist/Style/usecase/syntaxCss.d.ts +14 -0
  205. package/dist/Style/usecase/syntaxCss.d.ts.map +1 -0
  206. package/dist/Style/usecase/utilities.d.ts +98 -0
  207. package/dist/Style/usecase/utilities.d.ts.map +1 -0
  208. package/dist/Style/usecase/workspaceCss.d.ts +48 -0
  209. package/dist/Style/usecase/workspaceCss.d.ts.map +1 -0
  210. package/dist/brand.d.ts +29 -0
  211. package/dist/brand.d.ts.map +1 -0
  212. package/dist/columnsEntry.d.ts +27 -0
  213. package/dist/columnsEntry.d.ts.map +1 -0
  214. package/dist/columnsEntry.es.js +452 -0
  215. package/dist/index.d.ts +63 -0
  216. package/dist/index.d.ts.map +1 -0
  217. package/dist/index.es.js +6022 -0
  218. package/dist/styleEntry.d.ts +34 -0
  219. package/dist/styleEntry.d.ts.map +1 -0
  220. package/dist/styleEntry.es.js +1615 -0
  221. package/package.json +15 -8
@@ -0,0 +1,98 @@
1
+ import { type SoftStr } from "plgg";
2
+ import { type Styles } from "plgg-view/style";
3
+ import { type Color } from "../model/token";
4
+ import { type TypeRole, type FontWeight } from "../model/typography";
5
+ import { type ZBand } from "../model/zIndex";
6
+ /**
7
+ * plggmatic's color atoms. They mirror plgg-view's
8
+ * `bg`/`color`/`border` utilities but resolve every color
9
+ * through a `var(--pm-*)` custom property instead of a
10
+ * literal hex, so one `dark` class on `<html>` reswitches
11
+ * the scheme without re-styling a single element. Each
12
+ * returns plgg-view `Styles` (pure `{prop, value}` data),
13
+ * so they compose through `style_` exactly like the
14
+ * built-in utilities — plggmatic adds theming, not a new
15
+ * styling engine. These SHADOW the same-named plgg-view
16
+ * utilities on the `plggmatic/style` subpath; reach for
17
+ * these to get scheme-aware color.
18
+ */
19
+ /** Background fill from a themed color role. */
20
+ export declare const bg: (c: Color) => Styles;
21
+ /** Text (foreground) color from a themed role. */
22
+ export declare const color: (c: Color) => Styles;
23
+ /**
24
+ * Text color — the explicit spelling for the common
25
+ * case, distinct from plgg-view's `color` so intent
26
+ * reads at the call site. Same atom as {@link color}.
27
+ */
28
+ export declare const textColor: typeof color;
29
+ /**
30
+ * A hairline border in the themed `border` role. Emitted
31
+ * as three atoms (width/style/color) rather than a
32
+ * `border` shorthand so the color stays a `var(--pm-*)`
33
+ * reference the scheme can reswitch.
34
+ */
35
+ export declare const border: Styles;
36
+ /** Border color from a themed role. */
37
+ export declare const borderColor: (c: Color) => Styles;
38
+ /**
39
+ * A 2px focus outline in a themed role — the visible,
40
+ * non-color-dependent focus affordance components pair
41
+ * with `:focus-visible` (accessibility-first: focus is
42
+ * never conveyed by color alone at the component layer).
43
+ */
44
+ export declare const outline: (c: Color) => Styles;
45
+ /**
46
+ * A fixed column track: the whole flex shorthand plus
47
+ * the width, so a `basis` column neither grows nor
48
+ * shrinks off its measure. One atom (not separate
49
+ * grow/shrink longhands) so it can never half-conflict
50
+ * with {@link fluid} through class order. Introduced
51
+ * with the layout combinators: sizing is a composed
52
+ * atom, not a config field.
53
+ */
54
+ export declare const basis: (w: SoftStr) => Styles;
55
+ /**
56
+ * The fluid column track: fills the remaining row and
57
+ * may shrink below its content (`min-width:0`, so long
58
+ * words cannot blow the strip open). The counterpart of
59
+ * {@link basis}; a row is expected to hold at most one —
60
+ * a composition convention, not a type constraint.
61
+ */
62
+ export declare const fluid: Styles;
63
+ /**
64
+ * A unitless line-height — the atom plgg-view lacks. Kept
65
+ * unitless (a number string, not rem) so it inherits
66
+ * safely and scales with the element's own font-size.
67
+ */
68
+ export declare const lineHeight: (lh: SoftStr) => Styles;
69
+ /**
70
+ * Tokenized font-weight — SHADOWS plgg-view's untyped
71
+ * `weight(number)` with the closed {@link FontWeight} set,
72
+ * so `weight(700)` is a compile error until a component
73
+ * earns the weight. The three tokens are `regular` /
74
+ * `medium` / `semibold` (400 / 500 / 600).
75
+ */
76
+ export declare const weight: (w: FontWeight) => Styles;
77
+ /**
78
+ * Stacking order from a semantic {@link ZBand} — the atom
79
+ * plgg-view lacks. Replaces ad-hoc `z-index` integers in
80
+ * plggmatic-consuming code with a named band.
81
+ */
82
+ export declare const zIndex: (b: ZBand) => Styles;
83
+ /**
84
+ * The prose type bundle for a role: font-size, its
85
+ * (unitless) line-height, and its weight, all drawn from
86
+ * the {@link typeScale}. `heading` and `prose` compose
87
+ * this so the rendered scale can never drift from the
88
+ * token map.
89
+ */
90
+ export declare const typeStyle: (role: TypeRole) => Styles;
91
+ /**
92
+ * The readable content measure — `max-width` at the
93
+ * `measure` shell metric (`48rem`), via the custom
94
+ * property so it retunes with the shell geometry. This is
95
+ * `prose`'s cap.
96
+ */
97
+ export declare const measure: Styles;
98
+ //# sourceMappingURL=utilities.d.ts.map
@@ -0,0 +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,MAAO,KAAK,KAAG,MACK,CAAC;AAEpC,kDAAkD;AAClD,eAAO,MAAM,KAAK,MAAO,KAAK,KAAG,MACT,CAAC;AAEzB;;;;GAIG;AACH,eAAO,MAAM,SAAS,cAAQ,CAAC;AAE/B;;;;;GAKG;AACH,eAAO,MAAM,MAAM,EAAE,MAIpB,CAAC;AAEF,uCAAuC;AACvC,eAAO,MAAM,WAAW,MAAO,KAAK,KAAG,MACR,CAAC;AAEhC;;;;;GAKG;AACH,eAAO,MAAM,OAAO,MAAO,KAAK,KAAG,MACM,CAAC;AAE1C;;;;;;;;GAQG;AACH,eAAO,MAAM,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,29 @@
1
+ import { type Theme } from "./Style";
2
+ import { type Result, type InvalidError } from "plgg";
3
+ /**
4
+ * The Pragmatic design system's branded default `Theme`:
5
+ * the monochrome `--pm-*` design language, owned and
6
+ * versioned HERE. The engine's `Style` tier ships the
7
+ * value-identical but brand-neutral {@link defaultTheme};
8
+ * this module is its brand home. This is the design-system
9
+ * substance the `plggmatic` package carries — the answer
10
+ * to the "empty shell" risk (trip
11
+ * `plggmatic-extraction-cut`, ticket A3): the package is a
12
+ * real, versionable owner of the `Theme` contract and the
13
+ * palette-override API, not a bare re-export label.
14
+ */
15
+ export declare const pragmaticTheme: Theme;
16
+ /**
17
+ * The palette-override API: validate a caller-supplied
18
+ * palette through the `asPalette` caster (ticket 04's
19
+ * contract — never widened to `any`; a hole or malformed
20
+ * hex is a value-level {@link InvalidError}, not a throw)
21
+ * and layer it onto the branded theme, keeping the
22
+ * prefix / metrics / typeScale / syntax / zBands /
23
+ * storageKey. The one set of palette bytes lives in the
24
+ * engine `Style` tier's `defaultTheme`; a brand override
25
+ * rebuilds only the `palette` field — no duplication, and
26
+ * plggpress never reaches this API.
27
+ */
28
+ export declare const pragmaticThemeWithPalette: (paletteInput: unknown) => Result<Theme, InvalidError>;
29
+ //# sourceMappingURL=brand.d.ts.map
@@ -0,0 +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,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"}