@caligo-ui/core 1.0.0 → 1.2.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 (226) hide show
  1. package/CHANGELOG.md +137 -0
  2. package/README.md +6 -5
  3. package/agent/caligo.json +648 -41
  4. package/dist/css/Accordion.css +6 -0
  5. package/dist/css/AccordionSummary.css +2 -0
  6. package/dist/css/Alert.css +8 -0
  7. package/dist/css/AppBar.css +2 -0
  8. package/dist/css/Avatar.css +4 -0
  9. package/dist/css/AvatarGroup.css +6 -0
  10. package/dist/css/Badge.css +6 -0
  11. package/dist/css/Breadcrumb.css +2 -0
  12. package/dist/css/Breadcrumbs.css +2 -0
  13. package/dist/css/Button.css +2 -0
  14. package/dist/css/ButtonGroup.css +4 -0
  15. package/dist/css/Card.css +4 -0
  16. package/dist/css/Checkbox.css +2 -0
  17. package/dist/css/Chip.css +4 -0
  18. package/dist/css/CircularProgress.css +2 -0
  19. package/dist/css/Collapse.css +2 -0
  20. package/dist/css/Collapsible.css +8 -0
  21. package/dist/css/Container.css +2 -0
  22. package/dist/css/Dialog.css +2 -0
  23. package/dist/css/Divider.css +2 -0
  24. package/dist/css/Drawer.css +2 -0
  25. package/dist/css/ErrorPanel.css +6 -0
  26. package/dist/css/FormControl.css +2 -0
  27. package/dist/css/FormControlLabel.css +2 -0
  28. package/dist/css/FormGroup.css +2 -0
  29. package/dist/css/FormHelperText.css +2 -0
  30. package/dist/css/FormLabel.css +2 -0
  31. package/dist/css/Grid.css +2 -0
  32. package/dist/css/Icon.css +4 -0
  33. package/dist/css/IconButton.css +4 -0
  34. package/dist/css/InputAdornment.css +2 -0
  35. package/dist/css/InputBase.css +2 -0
  36. package/dist/css/InputGroup.css +12 -0
  37. package/dist/css/Label.css +2 -0
  38. package/dist/css/LicenseInfo.css +2 -0
  39. package/dist/css/LinearProgress.css +2 -0
  40. package/dist/css/Link.css +2 -0
  41. package/dist/css/List.css +2 -0
  42. package/dist/css/ListItem.css +6 -0
  43. package/dist/css/ListItemAvatar.css +2 -0
  44. package/dist/css/ListItemButton.css +2 -0
  45. package/dist/css/ListItemIcon.css +4 -0
  46. package/dist/css/ListItemText.css +4 -0
  47. package/dist/css/ListSubheader.css +2 -0
  48. package/dist/css/Menu.css +2 -0
  49. package/dist/css/MenuItem.css +2 -0
  50. package/dist/css/MenuList.css +6 -0
  51. package/dist/css/NotificationBadge.css +6 -0
  52. package/dist/css/Pagination.css +6 -0
  53. package/dist/css/PaginationItem.css +4 -0
  54. package/dist/css/Paper.css +2 -0
  55. package/dist/css/Popover.css +2 -0
  56. package/dist/css/PreviewCard.css +4 -0
  57. package/dist/css/Progress.css +4 -0
  58. package/dist/css/Radio.css +2 -0
  59. package/dist/css/RadioGroup.css +2 -0
  60. package/dist/css/ScrollArea.css +2 -0
  61. package/dist/css/Select.css +10 -0
  62. package/dist/css/Separator.css +2 -0
  63. package/dist/css/Sheet.css +2 -0
  64. package/dist/css/Skeleton.css +2 -0
  65. package/dist/css/Slider.css +2 -0
  66. package/dist/css/Snackbar.css +4 -0
  67. package/dist/css/SnackbarContent.css +2 -0
  68. package/dist/css/Spinner.css +2 -0
  69. package/dist/css/Stack.css +2 -0
  70. package/dist/css/Switch.css +2 -0
  71. package/dist/css/Tab.css +2 -0
  72. package/dist/css/Table.css +2 -0
  73. package/dist/css/TableBody.css +2 -0
  74. package/dist/css/TableCell.css +2 -0
  75. package/dist/css/TableContainer.css +2 -0
  76. package/dist/css/TableFooter.css +2 -0
  77. package/dist/css/TableHead.css +2 -0
  78. package/dist/css/TableRow.css +2 -0
  79. package/dist/css/TableSortLabel.css +2 -0
  80. package/dist/css/Tabs.css +2 -0
  81. package/dist/css/Tag.css +4 -0
  82. package/dist/css/TextField.css +10 -0
  83. package/dist/css/Toast.css +4 -0
  84. package/dist/css/ToggleButton.css +2 -0
  85. package/dist/css/ToggleButtonGroup.css +2 -0
  86. package/dist/css/ToggleGroup.css +2 -0
  87. package/dist/css/Toolbar.css +2 -0
  88. package/dist/css/Tooltip.css +2 -0
  89. package/dist/css/Typography.css +2 -0
  90. package/dist/css/VirtualList.css +2 -0
  91. package/dist/esm/Alert/Alert.css +1 -1
  92. package/dist/esm/Alert/Alert2.js +2 -0
  93. package/dist/esm/Alert/Alert2.js.map +1 -1
  94. package/dist/esm/Avatar/Avatar.css +1 -1
  95. package/dist/esm/Avatar/Avatar2.js +33 -39
  96. package/dist/esm/Avatar/Avatar2.js.map +1 -1
  97. package/dist/esm/Breadcrumbs/Breadcrumbs.css +1 -1
  98. package/dist/esm/Button/Button.css +1 -1
  99. package/dist/esm/Button/Button2.js +36 -36
  100. package/dist/esm/Button/Button2.js.map +1 -1
  101. package/dist/esm/Button/buttonClasses.js +1 -1
  102. package/dist/esm/Button/buttonClasses.js.map +1 -1
  103. package/dist/esm/Card/Card.css +1 -1
  104. package/dist/esm/Checkbox/Checkbox.css +1 -1
  105. package/dist/esm/Chip/Chip.css +1 -1
  106. package/dist/esm/Chip/Chip2.js +30 -53
  107. package/dist/esm/Chip/Chip2.js.map +1 -1
  108. package/dist/esm/Dialog/Dialog.css +1 -1
  109. package/dist/esm/Dialog/Dialog2.js.map +1 -1
  110. package/dist/esm/Drawer/Drawer.css +1 -1
  111. package/dist/esm/FormLabel/FormLabel.css +1 -1
  112. package/dist/esm/IconButton/IconButton.css +1 -1
  113. package/dist/esm/IconButton/IconButton2.js +9 -8
  114. package/dist/esm/IconButton/IconButton2.js.map +1 -1
  115. package/dist/esm/InputBase/InputBase.js +52 -0
  116. package/dist/esm/InputBase/InputBase.js.map +1 -0
  117. package/dist/esm/InputBase/index.js +1 -0
  118. package/dist/esm/List/List.css +1 -1
  119. package/dist/esm/Menu/Menu.css +1 -1
  120. package/dist/esm/MenuItem/MenuItem.css +1 -1
  121. package/dist/esm/Paper/Paper.css +1 -1
  122. package/dist/esm/Popover/Popover.css +1 -1
  123. package/dist/esm/Radio/Radio.css +1 -1
  124. package/dist/esm/Radio/Radio2.js +74 -45
  125. package/dist/esm/Radio/Radio2.js.map +1 -1
  126. package/dist/esm/RadioGroup/RadioGroup.js +29 -22
  127. package/dist/esm/RadioGroup/RadioGroup.js.map +1 -1
  128. package/dist/esm/RadioGroup/radioGroupContext.js.map +1 -1
  129. package/dist/esm/ScrollArea/ScrollArea.css +1 -0
  130. package/dist/esm/ScrollArea/ScrollArea2.js +25 -0
  131. package/dist/esm/ScrollArea/ScrollArea2.js.map +1 -0
  132. package/dist/esm/ScrollArea/index.js +1 -0
  133. package/dist/esm/Select/Select.css +1 -1
  134. package/dist/esm/Snackbar/Snackbar.css +1 -1
  135. package/dist/esm/Switch/Switch.css +1 -1
  136. package/dist/esm/Switch/Switch2.js +47 -42
  137. package/dist/esm/Switch/Switch2.js.map +1 -1
  138. package/dist/esm/Tab/Tab.css +1 -1
  139. package/dist/esm/Tab/Tab2.js +29 -24
  140. package/dist/esm/Tab/Tab2.js.map +1 -1
  141. package/dist/esm/Table/Table.css +1 -1
  142. package/dist/esm/TableCell/TableCell.js +6 -6
  143. package/dist/esm/TableCell/TableCell.js.map +1 -1
  144. package/dist/esm/Tabs/Tabs.css +1 -1
  145. package/dist/esm/TextField/TextField.css +1 -1
  146. package/dist/esm/TextField/TextField2.js +106 -86
  147. package/dist/esm/TextField/TextField2.js.map +1 -1
  148. package/dist/esm/TextField/textFieldClasses.js +2 -0
  149. package/dist/esm/TextField/textFieldClasses.js.map +1 -1
  150. package/dist/esm/ToggleButton/ToggleButton.css +1 -1
  151. package/dist/esm/Toolbar/Toolbar.css +1 -1
  152. package/dist/esm/Tooltip/Tooltip.css +1 -1
  153. package/dist/esm/Tooltip/Tooltip2.js +50 -33
  154. package/dist/esm/Tooltip/Tooltip2.js.map +1 -1
  155. package/dist/esm/Typography/Typography.css +1 -1
  156. package/dist/esm/caligo.css +1 -1
  157. package/dist/esm/index.js +65 -63
  158. package/dist/esm/internal/glyphs.js +5 -0
  159. package/dist/esm/internal/glyphs.js.map +1 -1
  160. package/dist/esm/internal/hues.js +23 -0
  161. package/dist/esm/internal/hues.js.map +1 -0
  162. package/dist/esm/internal/inputEvent.js +22 -0
  163. package/dist/esm/internal/inputEvent.js.map +1 -0
  164. package/dist/esm/internal/releaseInfo.js +1 -1
  165. package/dist/esm/internal/releaseInfo.js.map +1 -1
  166. package/dist/esm/mui/index.js.map +1 -1
  167. package/dist/esm/mui/themeValues.js +106 -0
  168. package/dist/esm/mui/themeValues.js.map +1 -1
  169. package/dist/esm/parts/Breadcrumb.js +68 -0
  170. package/dist/esm/parts/Breadcrumb.js.map +1 -0
  171. package/dist/esm/parts/Combobox.js +171 -0
  172. package/dist/esm/parts/Combobox.js.map +1 -0
  173. package/dist/esm/parts/ContextMenu.js +17 -17
  174. package/dist/esm/parts/ContextMenu.js.map +1 -1
  175. package/dist/esm/parts/Menu.js +105 -24
  176. package/dist/esm/parts/Menu.js.map +1 -1
  177. package/dist/esm/parts/Select.js +120 -0
  178. package/dist/esm/parts/Select.js.map +1 -0
  179. package/dist/esm/parts/Toast.js +95 -0
  180. package/dist/esm/parts/Toast.js.map +1 -0
  181. package/dist/esm/parts/Toolbar.js +100 -0
  182. package/dist/esm/parts/Toolbar.js.map +1 -0
  183. package/dist/esm/parts/Tooltip.js +20 -8
  184. package/dist/esm/parts/Tooltip.js.map +1 -1
  185. package/dist/esm/parts/index.js +156 -87
  186. package/dist/esm/parts/index.js.map +1 -1
  187. package/dist/global/caligo-ui.css +1 -1
  188. package/dist/global/caligo-ui.js +1 -1
  189. package/dist/global/caligo-ui.js.map +1 -1
  190. package/dist/types/Alert/Alert.d.ts +7 -2
  191. package/dist/types/Avatar/Avatar.d.ts +38 -3
  192. package/dist/types/Button/Button.d.ts +9 -2
  193. package/dist/types/Button/buttonClasses.d.ts +2 -0
  194. package/dist/types/Chip/Chip.d.ts +21 -0
  195. package/dist/types/Dialog/Dialog.d.ts +1 -0
  196. package/dist/types/IconButton/IconButton.d.ts +6 -0
  197. package/dist/types/InputBase/InputBase.d.ts +64 -0
  198. package/dist/types/InputBase/index.d.ts +2 -0
  199. package/dist/types/Radio/Radio.d.ts +5 -3
  200. package/dist/types/RadioGroup/RadioGroup.d.ts +4 -2
  201. package/dist/types/RadioGroup/radioGroupContext.d.ts +6 -2
  202. package/dist/types/ScrollArea/ScrollArea.d.ts +28 -0
  203. package/dist/types/ScrollArea/index.d.ts +2 -0
  204. package/dist/types/Switch/Switch.d.ts +4 -3
  205. package/dist/types/Tab/Tab.d.ts +7 -0
  206. package/dist/types/TableCell/TableCell.d.ts +6 -0
  207. package/dist/types/TextField/TextField.d.ts +11 -0
  208. package/dist/types/TextField/textFieldClasses.d.ts +4 -0
  209. package/dist/types/Tooltip/Tooltip.d.ts +20 -0
  210. package/dist/types/index.d.ts +2 -0
  211. package/dist/types/internal/glyphs.d.ts +1 -0
  212. package/dist/types/internal/hues.d.ts +10 -0
  213. package/dist/types/internal/inputEvent.d.ts +13 -0
  214. package/dist/types/internal/releaseInfo.d.ts +1 -1
  215. package/dist/types/mui/index.d.ts +2 -0
  216. package/dist/types/mui/themeValues.d.ts +106 -0
  217. package/dist/types/parts/Breadcrumb.d.ts +24 -0
  218. package/dist/types/parts/Combobox.d.ts +88 -0
  219. package/dist/types/parts/ContextMenu.d.ts +2 -2
  220. package/dist/types/parts/Menu.d.ts +44 -0
  221. package/dist/types/parts/Select.d.ts +72 -0
  222. package/dist/types/parts/Toast.d.ts +46 -0
  223. package/dist/types/parts/Toolbar.d.ts +47 -0
  224. package/dist/types/parts/Tooltip.d.ts +6 -0
  225. package/dist/types/parts/index.d.ts +95 -4
  226. package/package.json +13 -2
package/CHANGELOG.md CHANGED
@@ -2,6 +2,143 @@
2
2
 
3
3
  Caligo follows semantic versioning. A license for a major version covers every release of it.
4
4
 
5
+ ## 1.2.0 (17 November 2026)
6
+
7
+ A minor release: no breaking changes. A 1.x license covers it. 1.1.0 was never published to npm, so this is the
8
+ first npm release since 1.0.0 and carries 1.1.0's changes too.
9
+
10
+ - **Button has a `pill` variant.** An outlined pill for links that take you somewhere, with `endIcon` in a filled disc.
11
+ On hover the pill fills, the disc swaps to the pill's ground and the icon leans forward; pressing gives a small
12
+ squeeze. `color="inherit"` is ink on the page; the colours use their main colour. Motion stops under
13
+ `prefers-reduced-motion`. The spring comes from `--cal-ease-spring` when a theme sets it. Taken from the 72F
14
+ portfolio's arrow button, so the site can run on Caligo without its own button styles.
15
+ - **Each component's styles can be imported on their own**, as `@caligo-ui/core/Button.css` or
16
+ `@caligo-ui/pro/DataTable.css`, for a site that uses a few components over its own design. Each file holds
17
+ everything the component needs, the components it is built on included, so a site no longer loads the whole kit
18
+ (584 KB) for a button (17 KB). They hold no tokens or themes: the site sets the `--cal-*` variables they read.
19
+ - **Button's label follows `--cal-weight-label`**, as Typography's labels already did, so a theme that sets a lighter
20
+ or heavier label weight reaches buttons too. It stays 500 when unset.
21
+
22
+ ## 1.1.0 (17 November 2026)
23
+
24
+ A minor release: no breaking changes. A 1.x license covers it.
25
+
26
+ - **Cards and dialogs sit a smidge toward the page; fields and buttons stay on top.** On a card, a field or the
27
+ comment box had the same white as the card, so what you act on blended into what you read. Cards, panels, Paper,
28
+ dialogs and drawers now use `--cal-surface-card`, the card colour mixed toward the page (25% in light themes, 50% in dark); fields,
29
+ raised buttons, menus and popovers keep `--cal-surface-primary`. `--cal-card-recess` and `--cal-card-recess-dark` set
30
+ the step (`0%` is the old look). Pinned table
31
+ cells and sticky list headers follow the surface they sit in through `--cal-surface-container`. Found in the Plane
32
+ battletest.
33
+ - **Frost replaces liquid in the style picker, and glass is rebuilt on the elevation levels.** Glass and liquid
34
+ looked the same: refraction runs only in Chromium, and controls were identical. `data-style="frost"` is a new,
35
+ CSS-only style: milky panes, heavy blur, a fine grain. Glass and frost now follow the default theme's levels
36
+ (coloured calls to action, lit key panes, thin panes for controls that repeat, bare text buttons, flat tinted
37
+ labels), with pressed panes sinking and dark-theme panes made of dark glass. Glass is clearer (40% surfaces) over a
38
+ canvas with colour across the whole page. `data-style="liquid"` still works as glass plus refraction.
39
+ - **States follow the elevation levels in every style.** Pressed sinks: the lift goes and a faint inner shadow
40
+ (`--cal-sink`) says the control is down. Disabled is static: flat, no lift, no lit edge. A control that is on among
41
+ its peers rises to the key level: the chosen toggle is a raised segment, and a quiet button with
42
+ `aria-pressed="true"` or IconButton's new `selected` prop is raised while it is on. Flat, glass, frost, brutalist and
43
+ neumorphic each keep these in their own material (fill, pane, ink, raised and sunk shadows). Toggles share the soft
44
+ neutral edge. Fix: a pressed brutalist button lost its ink border.
45
+ - **Label palette.** Twelve hues for telling things apart rather than for meaning (`red` to `pink`), as
46
+ `--cal-hue-*` tokens with soft, hover, text and on-colour variants, all passing 4.5:1 in light and dark. Chip takes
47
+ `hue` in every variant; Avatar takes `hue`, or `hue="auto"` for a stable hue from its name (`hueFor`, `HUES`).
48
+ Glass and frost put hued and coloured initials avatars on a frosted pane.
49
+ - **Avatar initials from the whole name:** "Ada Lovelace" shows AL (was A).
50
+ - **An app's own light and dark switch.** `data-theme="dark"` or `class="dark"` gives Caligo Dark, and `light` gives
51
+ Caligo Light, so shadcn, Tailwind, next-themes and Plane need no mapping. `:root` declares `color-scheme: light`:
52
+ without it, on a page whose `data-theme` wasn't one of Caligo's, every `light-dark()` colour was invalid and menus,
53
+ popovers and dialogs drew no background.
54
+ - **Dialog width tokens.** `--cal-dialog-width-xs` to `-xl` back Dialog's `maxWidth`, with Material UI's widths as
55
+ defaults. `docs/component-tokens.md` lists these and the other layout hooks.
56
+ - **Compact density.** `data-density="compact"` on `<html>` or a container makes every control a step smaller
57
+ together: buttons 20 to 32px, fields 24 to 36px, toggles, pill tabs, menu and list rows 28px, tighter table rows,
58
+ 13px labels. Label sizes, toggle heights and row sizes became tokens for it, with today's values as fallbacks
59
+ (`docs/component-tokens.md`).
60
+ - **High-contrast themes.** `caligo-light-contrast` and `caligo-dark-contrast` (also `light-contrast` and
61
+ `dark-contrast`): Caligo Light and Dark with text at 7:1 and up, primary and status colours at 6:1, opaque edges at
62
+ 3:1 and a 3px focus ring. Generated from Caligo Light and Dark; `test/contrast-themes.test.ts` checks the ratios. The
63
+ Material UI bridge has them as colour schemes.
64
+ - **Menu parts: checkbox items, radio items, link items and submenus.** `Menu.CheckboxItem`, `RadioGroup`,
65
+ `RadioItem`, `LinkItem` (with `external`, and `component` for a router link), `Submenu`, `SubmenuTrigger` and
66
+ `SubmenuContent`, in `ContextMenu` too. Their marks are drawn in `Menu.css`, not nested controls.
67
+ - **Fix:** the shadcn registries now include `internal/hues.ts`, which Chip and Avatar import.
68
+ - **Select, Combobox, Toolbar, Toast and Breadcrumb as parts.** `Select` (a field, `Value`, a menu-styled list),
69
+ `Combobox` (type to filter, or a trigger with a `Search` box), `Toolbar` (one tab stop and arrow keys, with `Toggle`
70
+ items that rise while on), `Toast` (a managed queue: stacking, timeouts, swipe, promise toasts, drawn as Alerts by
71
+ `Toaster`) and `Breadcrumb` (list, links, separators, `Ellipsis`, the current `Page`). All in the free core;
72
+ `examples/parts-next.html` shows them. Fix: a menu's link item was underlined.
73
+ - **ScrollArea is in the free core.** It is infrastructure every app needs (Plane uses 16); import it from
74
+ `@caligo-ui/core`. The core is now 46 families.
75
+ - **Neutral and primary tones on Alert and Banner.** `color="neutral"` is a grey note with no status;
76
+ `color="primary"` is an announcement in the theme's accent. On Alert, `severity` still sets the icon and role.
77
+ - **Fix:** `@caligo-ui/pro`'s package description still named liquid instead of frost.
78
+ - **ScrollArea for panes in a layout:** `variant="plain"` (no frame), `fill` (as tall as its parent, and shrinks in a
79
+ flex column), `scrollbarSize` (`small`, `medium`) and `scrollbarVisibility` (`auto`, `hover`, `always`).
80
+ - **ColorSwatch `decorative` and `xsmall`:** a colour sample that isn't a control (a hidden span), such as the dot
81
+ beside a label's name, at 10px.
82
+ - **SearchField `collapsible`:** a search icon button that opens into the field, as in a list's header. It takes
83
+ focus when opened, Escape clears and closes it, and it closes when it loses focus empty (`expanded`,
84
+ `defaultExpanded`, `onExpandedChange`). `clearLabel` adds a clear button while there is text.
85
+ - **Fix:** a Button given a router link as `component` (with `href` or `to`) got `role="button"`, so screen readers
86
+ announced a link as a button. It keeps link semantics now, as Material UI's does. Found on Plane's Inbox and
87
+ "Star us on GitHub" links.
88
+ - **Neutral state layer.** `--cal-state-layer-hover`, `-active` and `-selected` for rows, cards and cells, and solid
89
+ `-hover`, `-active`, `-selected` forms of every background and surface, declared per theme.
90
+ - **Tooltip:** `shortcut` (keys drawn as small chips after the title), `disabled`, `followCursor` (Material UI's
91
+ name), `sideOffset`, `alignOffset`, `collisionPadding`, and `onOpenChange` with Base UI's details. The parts'
92
+ `Tooltip.Content` takes the offsets and `shortcut` too.
93
+ - **InputBase** (core, Material UI's name): a field's box on its own, around a bare input, adornments or your own
94
+ children (chips, a clear button), or `component="button"` as a picker's trigger. Focus shows when anything inside
95
+ has it; the standard variant now turns on focus-within too.
96
+ - **Fix:** in compact density, TextField's label shrank while FormLabel's didn't. Both read
97
+ `--cal-field-label-font-size` now (13px in compact).
98
+ - **TextField `description` and `orientation`:** a line under the label that says what the field is for (read with
99
+ the field), and `orientation="horizontal"` for a label column beside the box, as in a settings form
100
+ (`--cal-field-label-width`; it stacks on a narrow screen).
101
+ - **Tab as a link:** `href`, or `component` for your router's Link, for tabs that go to pages. It keeps
102
+ `role="tab"` and `aria-selected`, as Material UI's does; a disabled link tab drops its href.
103
+ - **TableCell `pinned`:** a first or last column that stays while the table scrolls sideways (`start`, `end`), on an
104
+ opaque ground with an edge, keeping the row's hover and selection tint, above a sticky header's other cells.
105
+ - **Radio, RadioGroup and Switch on Base UI, like Checkbox.** The three choice controls now share one model and
106
+ compose the same way with Base UI's Field and Form; RadioGroup gets Base UI's arrow-key handling. Material UI's API
107
+ stays: `onChange(event, …)` gets an event whose `target` is the hidden input, so `event.target.checked` and
108
+ `event.target.value` work. **Changed:** the element with the `radio` or `switch` role is the component's root now,
109
+ not a native input, as Checkbox's already was: tests should read `aria-checked` rather than `.checked`, and the
110
+ form fields are on `inputRef`.
111
+ - **InputBase `variant="ghost"`:** a bare row that reads as text until you point at it, for property rows of pickers.
112
+ A box that is itself a button takes the field's text size.
113
+ - **Theme generator.** `theme-generator/` is a page for making a Caligo theme, after daisyUI's theme generator: start
114
+ from any of the 14 themes or a random one, pick a scheme, twelve colours, the text on each tone (or Auto) and three
115
+ corners, and watch Caligo's components change. It derives the other colours the way Caligo's themes do and keeps
116
+ derived text at 4.5:1, then gives a complete theme as CSS to copy or download, and a link that brings the theme back.
117
+ See `docs/theme-generator.md`.
118
+ - **Type in themes.** A theme can now set four fonts (display, headings, body and UI, code), Typography's scale (a body
119
+ size and a ratio, from minor second to golden), the weight of each role, and heading and body line heights and
120
+ heading tracking. Typography reads `--cal-type-*`, `--cal-font-display`, `--cal-font-heading` and `--cal-weight-*`,
121
+ and 38 component titles read the display or heading font and weight, all with today's values as fallbacks, so
122
+ nothing changes without a theme that sets them. The theme generator has a Type tab for all of it, and a new layout:
123
+ preset cards, Colour, Type and Shape tabs, and Components, Type, Sample page and Palette views.
124
+ - **Galleries:** the galleries that show Caligo Pro components load Pro's script build again; ten were blank or broken
125
+ since the open-core split. The Tailwind parity check now covers the three core galleries.
126
+ - **ColorPicker:** the selected swatch keeps its size, with the ring on its own edge and a check on the colour, so it no
127
+ longer runs into its neighbours.
128
+ - **Fix:** secondary and inherit contained buttons kept the lit style's sheen in the flat style in the script build,
129
+ and in Pro's brutalist, neumorphic, glass and liquid styles. A style rule and Button's variant rule tied, so the
130
+ stylesheet that loaded last decided, and builds load them in different orders. The style rules now name those
131
+ buttons and win in every build.
132
+ - **Fix:** the same kind of tie, found by the new check: the marketing sections' white button on a primary ground
133
+ could turn primary on hover in the flat, glass, brutalist, neumorphic and shadcn looks; and the rich text editor's
134
+ selected toolbar buttons ignored the brutalist and glass styles.
135
+ - **Themes paint their ground and text.** `<html>` and any `[data-theme]` container now take the theme's page colour
136
+ and text colour, as daisyUI's themes do. Before, nothing set them: a dark theme in a light page kept the page's
137
+ black text, and a `color="inherit"` button on Dusk's fill was black on near-black. The rule has no specificity, so
138
+ an app's own background or colour still wins.
139
+ - **Check:** `test/override-ties.test.ts` fails when a style or theme rule ties with a component's variant rule from
140
+ another stylesheet (`scripts/lib/override-ties.mjs`).
141
+
5
142
  ## 1.0.0 (16 November 2026)
6
143
 
7
144
  The first stable release: a React design system with Material UI's API, built on Base UI, in two packages.
package/README.md CHANGED
@@ -10,9 +10,9 @@ It has a GTK4 and libadwaita look, with dull pastels, top-lit gradient strokes a
10
10
 
11
11
  Caligo ships as two packages from this one source tree:
12
12
 
13
- - **`@caligo-ui/core`**, the free core, MIT licensed (`LICENSE.md`): 45 component families, every theme, and the lit and
13
+ - **`@caligo-ui/core`**, the free core, MIT licensed (`LICENSE.md`): 46 component families, every theme, and the lit and
14
14
  flat styles.
15
- - **`@caligo-ui/pro`**, Caligo Pro (`packages/pro`, its own license): the other components, and the glass, liquid,
15
+ - **`@caligo-ui/pro`**, Caligo Pro (`packages/pro`, its own license): the other components, and the glass, frost,
16
16
  brutalist, neumorphic and expressive styles. It imports the core from `@caligo-ui/core` rather than copying it.
17
17
 
18
18
  `scripts/lib/tiers.mjs` lists the free components; everything else is Pro. `docs/open-core.md` explains how the
@@ -23,7 +23,8 @@ split is built and kept honest, and what a release involves.
23
23
  | Path | What it holds |
24
24
  |---|---|
25
25
  | `docs/brand-book.md` | The rules: philosophy, color, type, space, depth, motion, icons and logo. Start here. |
26
- | `docs/themes.md` | The 14 themes (Caligo's ten and Kelvin's four) and how to switch between them, and the shadcn themes, which take their colours from a shadcn/ui app's own variables. |
26
+ | `docs/themes.md` | The 16 themes (Caligo's twelve, two of them high-contrast, and Kelvin's four) and how to switch between them, and the shadcn themes, which take their colours from a shadcn/ui app's own variables. |
27
+ | `docs/theme-generator.md` | The theme generator (`theme-generator/`): pick a scheme, twelve colours and the corners, see the components change, copy a complete theme. |
27
28
  | `docs/open-core.md` | The free core and Caligo Pro: how they're split, built, tested and released. |
28
29
  | `packages/pro/` | The `@caligo-ui/pro` package: its package.json and license. The build writes its `dist/` here. |
29
30
  | `docs/mui-compatibility.md` | The rules for moving onto Base UI with Material UI's API, how Caligo ships and is sold, and the plan phase by phase. |
@@ -67,7 +68,7 @@ A page loads the fonts, tokens and styles, then React 18 and the bundle:
67
68
  <script src="components/bundle.js"></script>
68
69
  ```
69
70
 
70
- Change the theme with `data-theme`: `caligo-light`, `caligo-dark`, `sakura`, `sahara`, `fjord`, `moss`, `aurora`, `ember`, `dusk`, `obsidian`, `kelvin-light`, `kelvin-dark`, `kelvin-flat-light` or `kelvin-flat-dark`.
71
+ To make your own, open the theme generator (`theme-generator/`, see `docs/theme-generator.md`). Change the theme with `data-theme`: `caligo-light`, `caligo-dark`, `sakura`, `sahara`, `fjord`, `moss`, `aurora`, `ember`, `dusk`, `obsidian`, `caligo-light-contrast`, `caligo-dark-contrast`, `kelvin-light`, `kelvin-dark`, `kelvin-flat-light` or `kelvin-flat-dark`.
71
72
 
72
73
  ## TypeScript source
73
74
 
@@ -85,7 +86,7 @@ npm test
85
86
  npm run build
86
87
  ```
87
88
 
88
- The build writes the `@caligo-ui/core` package to `dist/esm` and `dist/types`, the script build to `dist/global`, and the shadcn registry to `dist/r`. `@caligo-ui/pro` builds the same way into `packages/pro/dist`, with its own registry in `packages/pro/dist/r`. It ends with the Tailwind build (`docs/tailwind.md`): sources in `dist/tailwind`, its registry in `dist/r/tailwind`, and `dist/parity`, which compares the two builds in a browser. To see everything in any theme, serve the repo and open the galleries in `examples/`: `components-next.html` (the free core), `shadcn-next.html` (the shadcn themes beside shadcn's own look), `chat-next.html`, `data-next.html`, `shells-next.html`, `marketing-next.html`, `time-next.html`, `inputs-next.html` and `content-next.html`.
89
+ The build writes the `@caligo-ui/core` package to `dist/esm` and `dist/types`, the script build to `dist/global`, and the shadcn registry to `dist/r`. `@caligo-ui/pro` builds the same way into `packages/pro/dist`, with its own registry in `packages/pro/dist/r`. It ends with the Tailwind build (`docs/tailwind.md`): sources in `dist/tailwind`, its registry in `dist/r/tailwind`, and `dist/parity`, which compares the two builds in a browser. To see everything in any theme, serve the repo and open the galleries in `examples/`. `button-next.html`, `parts-next.html` and `pilot-next.html` load the core's script build; the rest show Caligo Pro components too and load Pro's (`packages/pro/dist/global`), so build Pro first. They are `components-next.html` (the core with the Pro inputs and pickers beside it), `shadcn-next.html` (the shadcn themes beside shadcn's own look), `chat-next.html`, `data-next.html`, `shells-next.html`, `marketing-next.html`, `time-next.html`, `inputs-next.html` and `content-next.html`.
89
90
 
90
91
  Before publishing, install both shadcn registries into fresh shadcn/ui apps and build them (it needs the network):
91
92