@softure-ai/theme-notion 0.2.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 (102) hide show
  1. package/CHANGELOG.md +164 -0
  2. package/README.md +196 -16
  3. package/dist/index.d.ts +5 -0
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +5 -0
  6. package/dist/index.js.map +1 -1
  7. package/dist/messages/en.d.ts +17 -0
  8. package/dist/messages/en.d.ts.map +1 -1
  9. package/dist/messages/en.js +10 -0
  10. package/dist/messages/en.js.map +1 -1
  11. package/dist/messages/index.d.ts +17 -0
  12. package/dist/messages/index.d.ts.map +1 -1
  13. package/dist/notion/Code.d.ts +8 -0
  14. package/dist/notion/Code.d.ts.map +1 -0
  15. package/dist/notion/Code.js +12 -0
  16. package/dist/notion/Code.js.map +1 -0
  17. package/dist/notion/FilterChip.d.ts +24 -0
  18. package/dist/notion/FilterChip.d.ts.map +1 -0
  19. package/dist/notion/FilterChip.js +18 -0
  20. package/dist/notion/FilterChip.js.map +1 -0
  21. package/dist/notion/Sortable.d.ts +47 -0
  22. package/dist/notion/Sortable.d.ts.map +1 -0
  23. package/dist/notion/Sortable.js +158 -0
  24. package/dist/notion/Sortable.js.map +1 -0
  25. package/dist/notion/Stats.d.ts +4 -0
  26. package/dist/notion/Stats.d.ts.map +1 -1
  27. package/dist/notion/Stats.js +10 -3
  28. package/dist/notion/Stats.js.map +1 -1
  29. package/dist/notion/Steps.d.ts +18 -0
  30. package/dist/notion/Steps.d.ts.map +1 -0
  31. package/dist/notion/Steps.js +32 -0
  32. package/dist/notion/Steps.js.map +1 -0
  33. package/dist/page.css +22 -0
  34. package/dist/theme.css +55 -46
  35. package/dist/tokens.d.ts +82 -64
  36. package/dist/tokens.d.ts.map +1 -1
  37. package/dist/tokens.js +22 -19
  38. package/dist/tokens.js.map +1 -1
  39. package/dist/ui/alert.js +1 -1
  40. package/dist/ui/alert.js.map +1 -1
  41. package/dist/ui/badge.d.ts +1 -1
  42. package/dist/ui/badge.d.ts.map +1 -1
  43. package/dist/ui/badge.js +33 -13
  44. package/dist/ui/badge.js.map +1 -1
  45. package/dist/ui/button-group.js +1 -1
  46. package/dist/ui/button-group.js.map +1 -1
  47. package/dist/ui/button.d.ts +1 -1
  48. package/dist/ui/button.js +3 -3
  49. package/dist/ui/button.js.map +1 -1
  50. package/dist/ui/checkbox.js +1 -1
  51. package/dist/ui/checkbox.js.map +1 -1
  52. package/dist/ui/dropdown-menu.js +1 -1
  53. package/dist/ui/empty.js +1 -1
  54. package/dist/ui/empty.js.map +1 -1
  55. package/dist/ui/field.js +2 -2
  56. package/dist/ui/field.js.map +1 -1
  57. package/dist/ui/item.d.ts.map +1 -1
  58. package/dist/ui/item.js +9 -3
  59. package/dist/ui/item.js.map +1 -1
  60. package/dist/ui/progress.d.ts +4 -1
  61. package/dist/ui/progress.d.ts.map +1 -1
  62. package/dist/ui/progress.js +9 -2
  63. package/dist/ui/progress.js.map +1 -1
  64. package/dist/ui/radio-group.d.ts +6 -0
  65. package/dist/ui/radio-group.d.ts.map +1 -0
  66. package/dist/ui/radio-group.js +14 -0
  67. package/dist/ui/radio-group.js.map +1 -0
  68. package/dist/ui/scroll-area.d.ts +3 -1
  69. package/dist/ui/scroll-area.d.ts.map +1 -1
  70. package/dist/ui/scroll-area.js +2 -2
  71. package/dist/ui/scroll-area.js.map +1 -1
  72. package/dist/ui/select.js +2 -2
  73. package/dist/ui/select.js.map +1 -1
  74. package/dist/ui/sidebar.js +4 -4
  75. package/dist/ui/sidebar.js.map +1 -1
  76. package/dist/ui/tabs.js +1 -1
  77. package/dist/ui/tabs.js.map +1 -1
  78. package/package.json +16 -5
  79. package/src/index.ts +17 -0
  80. package/src/messages/en.ts +11 -0
  81. package/src/notion/Code.tsx +39 -0
  82. package/src/notion/FilterChip.tsx +71 -0
  83. package/src/notion/Sortable.tsx +352 -0
  84. package/src/notion/Stats.tsx +23 -3
  85. package/src/notion/Steps.tsx +102 -0
  86. package/src/page.css +22 -0
  87. package/src/tokens.ts +22 -19
  88. package/src/ui/alert.tsx +1 -1
  89. package/src/ui/badge.tsx +35 -13
  90. package/src/ui/button-group.tsx +1 -1
  91. package/src/ui/button.tsx +3 -3
  92. package/src/ui/checkbox.tsx +1 -1
  93. package/src/ui/dropdown-menu.tsx +1 -1
  94. package/src/ui/empty.tsx +1 -1
  95. package/src/ui/field.tsx +2 -2
  96. package/src/ui/item.tsx +18 -7
  97. package/src/ui/progress.tsx +19 -2
  98. package/src/ui/radio-group.tsx +44 -0
  99. package/src/ui/scroll-area.tsx +11 -2
  100. package/src/ui/select.tsx +2 -2
  101. package/src/ui/sidebar.tsx +4 -4
  102. package/src/ui/tabs.tsx +3 -3
package/CHANGELOG.md CHANGED
@@ -4,6 +4,170 @@ Newest first. Each version lists what changed for an app that uses the theme. Wh
4
4
  production, the version gets a line `verified in: <app>@<commit>` ([docs/05](../../docs/05-adoption-playbook.md),
5
5
  "Definition of done").
6
6
 
7
+ ## 0.4.0
8
+
9
+ - Server Components (#770): the package root imports from a React Server Component again. 0.3.0's `ui/item.tsx`
10
+ created the `ItemGroup` context at module level without `"use client"`, so `next build` failed with
11
+ `createContext is not a function` on any server page that imported from `@softure-ai/theme-notion`, even for
12
+ server-safe parts such as `PageHeader` or `Empty`. The file is a client module now; `tests/repo/themes.test.ts`
13
+ checks every theme so a file with a context or a component hook cannot ship without the directive. An app on 0.2.0
14
+ moves to this version with no change of its own; an app on 0.3.0 drops any workaround that avoided the root import.
15
+ - `SortableList` covers what kept an app on its own dnd-kit wiring (#771); everything is opt-in, existing lists
16
+ behave as before:
17
+ - `disabled` on the list (read-only: no row lifts by touch, mouse or keyboard, rows stay clickable) and on a
18
+ `SortableItem` (one row; wins over the list's). A disabled row carries `data-disabled` and no drag attributes; a
19
+ disabled row's `SortableHandle` is a disabled button.
20
+ - `group` on a `SortableItem`: a lifted row lands only among rows of its own group, by pointer and keyboard.
21
+ - `onDragStart(id)`, `onDragEnd(id, move | null)` (every drop, `null` when the order stayed) and
22
+ `onDragCancel(id)`; the list carries `data-sorting` while a row is lifted. The list's props no longer take the
23
+ native HTML `onDragStart` / `onDragEnd` (dnd-kit never used native drag events).
24
+ - `dragBy="activator"` with `SortableActivator`: the app's own element inside the row lifts it with the row's
25
+ hold; a press elsewhere in the row does not. The keyboard picks up the focused row, which stays focusable.
26
+ - `as="ol"`; children that are not a `SortableItem` stay in place.
27
+ - Fix: a key pressed on a control inside a row (Enter on a button) no longer picks up the row in `row` mode.
28
+ - Migration for an app with its own `DndContext` / `useSortable`: render `SortableList` (`as="ol"` for a numbered
29
+ list, `disabled` for the read-only mode, `dragBy="activator"` with the row's button in `SortableActivator`),
30
+ a `SortableItem` per row with `group`, and move the lift and drop side effects (hiding secondary content, a
31
+ vibration) to `onDragStart` / `onDragEnd` / `onDragCancel` or to `group-data-[sorting]:…` classes. Drop the
32
+ click grace timer after a drop: the click that ends a mouse drop never reaches the row. Remove the app's
33
+ `accent-strong` / `shadow-menu` lifted classes and its `@dnd-kit/*` dependencies if nothing else uses them.
34
+
35
+ ## 0.3.0
36
+
37
+ - Needs `@softure-ai/theme-kit` `^0.1.3` (was `^0.1.2`): the version whose `base.css` carries the border and outline
38
+ colour rule (#746), which both wirings in the README import.
39
+ - Code and destructive Badge contrast (#763): inline `Code` and a destructive `Badge` with a `color` reach WCAG 2.2 AA
40
+ (4.5:1) in light and dark; `tests/contrast.test.ts` guards the code pair.
41
+
42
+ | Part | Light before → after | Dark before → after |
43
+ | --- | --- | --- |
44
+ | `Code` text: `red` → new token `code-foreground` | `#c8413d` → `#c33c39` (4.33 → 4.61 on `secondary`) | `#ea5e5b` → `#f86a66` (3.98 → 4.62 on `secondary`) |
45
+ | `Badge variant="destructive" color="…"` text | the colour's tag text → `destructive-foreground` | `#d4d4d4` / `rgba(255, 255, 255, 0.81)` (3.98 / 4.46) → `#ffffff` on `destructive/60` |
46
+
47
+ Lightness-only shift for the code red (OKLCH hue and chroma kept); `red` and every other part that uses it are
48
+ unchanged. `Badge`: the `color` classes apply to every variant but `destructive` (cva `compoundVariants`, so
49
+ `badgeVariants()` callers get it too); a destructive badge keeps its own fill and white text whatever `color` is.
50
+ An app changes nothing, unless it styled code with `text-red` itself (move it to `text-code-foreground`) or relied
51
+ on a colour on a destructive badge (use `variant="tag"` with the colour instead).
52
+ - Selected tab (#760): the selected pill of the default (`variant="default"`) `Tabs` list reaches WCAG 2.2 SC 1.4.11
53
+ (3:1) against the list and the unselected tabs, in light and dark; before, the white pill on `muted` was 1.07:1 and
54
+ the dark pill about 1.1:1. The active trigger draws an `input` border in both schemes (in dark it replaces
55
+ `border-border`) and clips its fill to the padding box (`bg-clip-padding`), so the border sits on the list: 3.13
56
+ against the list and 3.35 against the pill in light, 3.30 and 3.11 in dark. Fill, shadow and text colour are
57
+ unchanged; the `line` variant keeps its underline and no border in both schemes; a focused tab still shows the
58
+ `ring` border. No token changes. An app changes nothing, unless it restyles the active tab with its own
59
+ `data-[state=active]:border-*` class.
60
+ - Non-text contrast (#759): control boundaries and states reach WCAG 2.2 SC 1.4.11 (3:1) against every page surface
61
+ in light and dark; `tests/contrast.test.ts` guards the pairs. Alpha raised only, colour channels (hue) kept:
62
+
63
+ | Token | Light before → after | Dark before → after |
64
+ | --- | --- | --- |
65
+ | `input` (field and select trigger border) | `rgba(15, 15, 15, 0.1)` → `rgba(15, 15, 15, 0.46)` | `rgba(255, 255, 255, 0.075)` → `rgba(255, 255, 255, 0.36)` |
66
+ | `control-off` (switch off track, the bridge's `border-strong`) | `rgba(135, 131, 120, 0.3)` → `rgba(135, 131, 120, 0.95)` | `rgba(202, 196, 183, 0.15)` → `rgba(202, 196, 183, 0.5)` |
67
+
68
+ Parts: the outline `Button` border and the `ButtonGroup` separator use `border` (their label identifies them, so
69
+ they keep the old quiet weight); the dark active tab is `dark:border-border dark:bg-accent/40` (the same look as
70
+ before); `Progress` fills in `link` in dark when `indicatorClassName` sets no fill colour, so the fill reaches 3:1
71
+ against its track. Decorative separators (`border`, `sidebar-border`) are unchanged. An app changes: a
72
+ `border-input` or `bg-input` of its own that only separates content (a divider, a button outline) moves to
73
+ `border-border` / `bg-border`; its fields keep `border-input` and gain the contrast without a change.
74
+ - Fix (#746): table rows and the table footer, accordion items, default and destructive alerts, the command input,
75
+ item media and sheets drew their borders in the text colour under Tailwind's full preflight. The rule that makes a
76
+ border without a colour class the theme's `border` grey ships in `@softure-ai/theme-kit/base.css` (the kit's next
77
+ release), which both wirings already import: update the kit, no other change.
78
+ - `touch-target` size (#742): `--spacing-touch-target: 44px` (Apple HIG 44 pt, WCAG 2.5.5 target size), so
79
+ `min-h-touch-target` and `size-touch-target` give rows and controls tapped on a phone a finger-sized height next to
80
+ the pointer sizes `control-height` 28 and `row-height` 34. No component changes height. An app that used the raw
81
+ spacing scale for this (`min-h-11`) replaces it with `min-h-touch-target`, keeping the pointer height on desktop
82
+ where it wants it (`min-h-touch-target md:min-h-row-height`).
83
+ - Contrast (#756): every text colour now meets WCAG 2.2 AA (4.5:1) on the surfaces the parts put it on, in light and
84
+ dark, and the focus ring reaches 3:1; `tests/contrast.test.ts` guards each pair. Lightness-only shifts, hue and
85
+ chroma kept:
86
+
87
+ | Token | Light before → after | Dark before → after |
88
+ | --- | --- | --- |
89
+ | `muted-foreground`, `gray` | `#787774` → `#656461` | `#9b9b9b` → `#a5a5a5` |
90
+ | `primary`, `sidebar-primary` | `#2383e2` → `#0171cf` | `#2383e2` → `#0171cf` |
91
+ | `primary-hover` | `#0077d4` → `#0066b8` | `#0077d4` → `#0066b8` |
92
+ | `link` (new) | `#0171cf` | `#409cfd` |
93
+ | `destructive` | `#eb5757` → `#c63339` | `#eb5757` → `#fd6866` |
94
+ | `ring`, `sidebar-ring` | `rgba(35, 131, 226, 0.57)` → `rgba(1, 113, 207, 0.8)` | → `rgba(64, 156, 253, 0.65)` |
95
+ | `brown` / `orange` / `yellow` / `green` | `#9f6b53` / `#d9730d` / `#cb912f` / `#448361` → `#98644d` / `#af5a02` / `#986702` / `#3e7d5c` | unchanged |
96
+ | `blue` / `purple` / `pink` / `red` | `#337ea9` / `#9065b0` / `#c14c8a` / `#d44c47` → `#2b77a2` / `#8a5faa` / `#ba4684` / `#c8413d` | purple `#9d68d3` → `#a974e0`, pink `#d15796` → `#dc61a0`, red `#df5452` → `#ea5e5b` |
97
+ | `yellow-tag` | unchanged | `#89632a` → `#825c23` |
98
+
99
+ Parts: the link variants of `Button` and `Badge` and hovered inline links (`Empty`, `Item`, `Field`) use the new
100
+ `text-link`; `Button` destructive is `dark:bg-destructive/60` (hover `/50`) like `Badge`; `Badge` default hovers on
101
+ `primary-hover`; tab triggers and the sidebar group label read `text-muted-foreground` instead of faded
102
+ `text-foreground/60` and `text-sidebar-foreground/70`; the destructive `Alert` description is `text-destructive`;
103
+ a focused destructive menu item in dark is tinted `destructive/10`. `Badge` destructive text is `text-destructive-foreground`: its
104
+ `text-white` was never generated (the theme clears Tailwind's palette), so the label drew in the body colour. An app changes: blue text of its own
105
+ (`text-primary` on text, a link colour) moves to `text-link`; a destructive fill of its own adds
106
+ `dark:bg-destructive/60`; a hard-coded `#2383e2` or `#787774` moves to the token; text faded by an opacity
107
+ modifier (`text-foreground/60`) moves to `text-muted-foreground`.
108
+ - `RadioGroup` and `RadioGroupItem` (#736): the shadcn new-york v4 `radio-group` (Radix), drawn like `checkbox`: 16 px,
109
+ a 1.5 px `muted-foreground` border, the checked border and dot in `primary`, focus `ring-2 ring-ring`,
110
+ `aria-invalid` like the other fields. Arrow keys move the choice. `data-slot="radio-group"`, `radio-group-item` and
111
+ `radio-group-indicator` as in shadcn. An app that draws its own radio replaces it with
112
+ `import { RadioGroup, RadioGroupItem } from "@softure-ai/theme-notion"`.
113
+ - Accessibility (#747): an `Item` inside an `ItemGroup` renders `role="listitem"`, so a group is a list with list
114
+ items (axe `aria-required-children`); an `asChild` item keeps its child's role, wrap it in a `role="listitem"`
115
+ element. The `ScrollArea` viewport takes `tabIndex={0}` and shows its focus ring on Tab (axe
116
+ `scrollable-region-focusable`); the new `viewportProps` prop passes any viewport prop, `tabIndex: -1` included.
117
+ Nothing to change in an app.
118
+ - `StatCard` (#739): optional `progress` (0–100, clamped) draws a 6 px bar under the figure with the package's
119
+ `Progress`, filled in `TONE_FILL[tone]` when the card has a tone and in primary otherwise; `progressLabel` names it
120
+ (default: `label`). Marked `data-slot="stat-card-progress"`. Cards without `progress` render as before. An app that
121
+ rebuilt a budget card around `Progress` (e.g. "21.5 / 23.4 h") goes back to `StatCards` with `progress`.
122
+ - `Progress`: the value now reaches the Radix root, so the bar reports `aria-valuenow` and its state (it was always
123
+ indeterminate to assistive tech before); a new optional `indicatorClassName` recolours the fill.
124
+ - Fixes (#735), class strings that sat on a neighbouring element since 0.1.0, now as in the design system and stock
125
+ shadcn/ui new-york v4:
126
+ - `Sidebar`: a `collapsible="none"` sidebar is again a full-height column on `bg-sidebar` (it was transparent); the
127
+ phone sheet has no padding and no close button of its own (`p-0 [&>button]:hidden`), so it shows only the
128
+ sidebar; the desktop gap animates its width again when the sidebar collapses.
129
+ - `Checkbox`: the tick is 14 px (`size-3.5`) instead of lucide's 24 px default.
130
+ - `Select`: the scroll-up arrow is 16 px (`size-4`); an item's icons and check are `muted-foreground` unless they
131
+ carry a text colour of their own.
132
+ - `FieldTitle`: 14 px in medium weight (`text-sm font-medium`, `items-center`), no longer `FieldLabel`'s peer and
133
+ group markers.
134
+ An app that overrode these classes by `className` to work around them can drop the override.
135
+ - `page.css` (#735): the design system's page base rules, `body` text at `text-sm` (14 px), `::selection` on
136
+ `blue-tag` and `html` font smoothing. Add `@import "@softure-ai/theme-notion/page.css";` after the kit's `base.css`
137
+ in `globals.css` (both README wirings show it); an app that kept those rules itself drops them.
138
+ - `FilterChip` and `FilterChipAdd` (#737): a list's filter pills as a Notion database view draws them, a 24 px
139
+ `rounded-full` pill `icon · Label: value ▾` that opens a `DropdownMenu` of options (pass `DropdownMenu` items as
140
+ children) in the design system's popover. `isActive` turns the pill into the blue tag and sets `data-active`;
141
+ `data-slot="filter-chip"`, `filter-chip-value` and `filter-chip-add` mark the parts. `FilterChipAdd` is the
142
+ "+ Add filter" pill; its text comes from `notionMessages.en.filterChip.add` and is replaced through `label`. An app
143
+ that styled its own filter trigger replaces it with `import { FilterChip, FilterChipAdd } from "@softure-ai/theme-notion"`.
144
+ - `Code` and `CodeBlock` (#740): inline code (`text-code` mono, `red` on `secondary`, `rounded-xs px-1`) and a mono
145
+ block on `muted` (`rounded-lg px-4 py-3`) that scrolls sideways, or wraps with `wrap`. `label` makes the block a
146
+ named, focusable region. `data-slot="code"` / `data-slot="code-block"`. An app that writes these classes on its own
147
+ `<code>` and `<pre>` replaces them with `import { Code, CodeBlock } from "@softure-ai/theme-notion"`.
148
+ - `Steps` (#738): an ordered process (the stages of a multi-step task, the phases of a migration, the steps of one
149
+ run) as an `<ol>`. Each step has a number in a badge coloured by its `state` (`done`, `current`, `todo` default,
150
+ `failed`), a `title`, an optional `note` and an optional `aside`; layouts `row` (a wrapping grid of cards, the
151
+ current one on `blue-bg`) and `list` (compact rows). The current step carries `aria-current="step"`, each state is
152
+ also a screen-reader word (`stateLabels` replaces the English copy, `notionMessages.en.steps`), and
153
+ `data-slot="steps"`, `data-step`, `data-state` mark the parts. An app that draws its own stage lists replaces them
154
+ with `import { Steps } from "@softure-ai/theme-notion"` and maps its own stage status to the four states.
155
+ - `SortableList`, `SortableItem` and `SortableHandle` (#752): a list whose rows are reordered by dragging, on the
156
+ headless `@dnd-kit/core` and `@dnd-kit/sortable` (new dependencies of the package). A long press of 500 ms lifts a
157
+ row on a touch screen (`holdDelay`, `tolerance` 8 px: a swipe before the hold scrolls, a tap still activates the
158
+ row), the keyboard reorders with Space or Enter, the arrows and Escape, and the row moves only up and down. The
159
+ lifted row is styled by the theme (`data-dragging`: `accent-strong`, `shadow-menu`, raised); every row is
160
+ `touch-manipulation select-none` without the long-press callout. `items` (ids in order) and
161
+ `onReorder(next, { id, from, to })` keep the order with the app. `instructions` and `announcements` (strings with
162
+ `{item}`, `{position}`, `{total}`; English defaults in `notionMessages.en.sortable`) take the app's wording, and
163
+ `getItemLabel` names a row. `dragBy="handle"` drags only by a `SortableHandle` grip button. An app that wired
164
+ dnd-kit itself replaces its `DndContext`, sensors, `SortableContext` and the composed lifted-row classes with
165
+ `import { SortableList, SortableItem } from "@softure-ai/theme-notion"`, passes its message-dictionary strings as
166
+ `instructions` and `announcements`, and drops its own `@dnd-kit/*` dependencies unless it uses them elsewhere.
167
+ - A test suite in eight layers (#741, README "Testing"): every export rendered, a class parity fixture, a guard
168
+ against the pinned shadcn new-york v4 sources with the listed deltas, behaviour, Tailwind generation, visual
169
+ regression and axe (WCAG 2.1 AA, colour contrast included) in CI, inventory. Nothing for an app to change.
170
+
7
171
  ## 0.2.0
8
172
 
9
173
  - Needs `@softure-ai/theme-kit` `^0.1.2` (was `^0.1.0`): the version that ships `base.css` and `maplibre.css`, which
package/README.md CHANGED
@@ -17,6 +17,7 @@ npm i @softure-ai/theme-notion tailwindcss @tailwindcss/postcss
17
17
  @import "@softure-ai/theme-notion/theme.css"; /* tokens, utilities, dark:, animations, the components' classes */
18
18
  @import "@softure-ai/theme-notion/sft-bridge.css"; /* optional: pages of the SOFTURE packages in a PageFrame */
19
19
  @import "@softure-ai/theme-kit/base.css"; /* body on the theme's background, text colour and font */
20
+ @import "@softure-ai/theme-notion/page.css"; /* body text 14 px, blue text selection, font smoothing */
20
21
  @import "@softure-ai/theme-kit/maplibre.css"; /* only if the app shows MapLibre maps */
21
22
  ```
22
23
 
@@ -35,13 +36,18 @@ taking the scoped preflight instead of Tailwind's:
35
36
  @import "@softure-ai/theme-notion/theme.css";
36
37
  @import "@softure-ai/theme-notion/sft-bridge.css";
37
38
  @import "@softure-ai/theme-kit/base.css"; /* nothing else styles body under the scoped preflight */
39
+ @import "@softure-ai/theme-notion/page.css";
38
40
  @import "@softure-ai/theme-kit/maplibre.css"; /* only if the app shows MapLibre maps */
39
41
  ```
40
42
 
41
43
  `base.css` gives `body` the theme's background, text colour and sans font without the browser's 8 px margin, so a
42
44
  page without a shell root, the dark scheme and the Radix portals mounted on `body` (select lists, menus, sheets) all
43
- take the theme. `maplibre.css` puts the theme's sans font on MapLibre maps (markers, popups, the attribution), which
44
- `maplibre-gl.css` sets to Helvetica. Both read the theme with `--theme()`, so they go through the app's Tailwind
45
+ take the theme. It also gives every `border` without a colour class the theme's `border` grey and outlines a
46
+ half-transparent `ring` (shadcn/ui's `globals.css` rule), so table rows, accordion items, alerts and sheets do not
47
+ draw in the text colour. `maplibre.css` puts the theme's sans font on MapLibre maps (markers, popups, the attribution), which
48
+ `maplibre-gl.css` sets to Helvetica. `page.css` carries the rest of the design system's base layer: text outside the
49
+ components at the panel size (`text-sm`, 14 px, instead of the browser's 16 px), selected text on `blue-tag`, and
50
+ `-webkit-font-smoothing: antialiased` on `html`. All three read the theme with `--theme()` or its tokens, so they go through the app's Tailwind
45
51
  after `theme.css`; the app's `globals.css` keeps only `@import` lines.
46
52
 
47
53
  ```tsx
@@ -63,14 +69,15 @@ import { CircleCheck } from "lucide-react";
63
69
 
64
70
  **Copy.** The components' built-in texts are accessible names in English (`notionMessages.en`). Pass the app's own
65
71
  wording by props: `Breadcrumb aria-label`, `BreadcrumbEllipsis label`, `PageHeader crumbsLabel`,
66
- `DialogContent closeLabel`, `SheetContent closeLabel`, `SidePanel closeLabel`, `Sidebar mobileTitle mobileDescription`,
67
- `SidebarTrigger label`, `SidebarRail label`, `Spinner aria-label`, `CommandDialog title description`.
72
+ `DialogContent closeLabel`, `SheetContent closeLabel`, `SidePanel closeLabel`, `Steps stateLabels`,
73
+ `Sidebar mobileTitle mobileDescription`, `SidebarTrigger label`, `SidebarRail label`, `Spinner aria-label`,
74
+ `CommandDialog title description`, `SortableList instructions announcements`, `SortableHandle label`.
68
75
 
69
76
  ## Rules, in short
70
77
 
71
78
  - Background `background`, text `foreground`, secondary text `muted-foreground`. Never pure black.
72
79
  - Hover is the grey `accent` background, never a border or a shadow; selected and pressed use `accent-strong`.
73
- - One `primary` (blue, `#2383e2`) action per screen. Other buttons are `secondary`, `outline` or `ghost`.
80
+ - One `primary` (blue, `#0171cf`) action per screen. Other buttons are `secondary`, `outline` or `ghost`.
74
81
  - A palette colour (`gray`, `brown`, `orange`, `yellow`, `green`, `blue`, `purple`, `pink`, `red`, each with `-bg`,
75
82
  `-tag`, `-tag-foreground`) marks an area (a tag) or a state (a status, a callout), never decoration. The same
76
83
  colour always means the same thing; the app keeps its own table of meanings.
@@ -79,7 +86,8 @@ wording by props: `Breadcrumb aria-label`, `BreadcrumbEllipsis label`, `PageHead
79
86
  - Type: system sans, mono for identifiers. `text-page-title` 40/48 bold once per screen, `text-heading-1..3`
80
87
  30/24/20, `text-body` 16/24, `text-ui` 14/20 (panels), `text-small` 12/16, `text-section-label` 12/16 medium.
81
88
  - Spacing on a 4 px grid (`p-1` = 4 px). Sizes: `sidebar-width` 240, `content-width` 708, `content-width-wide` 1152,
82
- `control-height` 28, `row-height` 34. Radius: `rounded-xs` 3 (tag, checkbox), `sm` 4 (tooltip, kbd), `md` 6
89
+ `control-height` 28, `row-height` 34, `touch-target` 44 (rows and controls meant to be tapped on a phone, e.g.
90
+ `min-h-touch-target md:min-h-row-height`). Radius: `rounded-xs` 3 (tag, checkbox), `sm` 4 (tooltip, kbd), `md` 6
83
91
  (button, field, menu item), `lg` 8 (callout, card), `xl` 10 (menu, select, dialog), `full` (switch).
84
92
  - Icons: lucide at `ICON_STROKE_WIDTH` (1.75), 16 px in text; they inherit the text colour. No emoji in the interface.
85
93
  - Statuses always carry a word and an icon, so states read apart without telling green from red.
@@ -98,16 +106,38 @@ wording by props: `Breadcrumb aria-label`, `BreadcrumbEllipsis label`, `PageHead
98
106
 
99
107
  ## Components
100
108
 
101
- All 36 shadcn/ui components of the design system, exported from the package root: accordion, alert, alert-dialog,
109
+ All 37 shadcn/ui components of the design system, exported from the package root: accordion, alert, alert-dialog,
102
110
  avatar, badge, breadcrumb, button, button-group, card, checkbox, collapsible, command, dialog, dropdown-menu, empty,
103
- field, input, input-group, item, kbd, label, popover, progress, scroll-area, select, separator, sheet, sidebar,
104
- skeleton, sonner (`Toaster`), spinner, switch, table, tabs, textarea, tooltip. Compositions: `Status` (badge, icon,
111
+ field, input, input-group, item, kbd, label, popover, progress, radio-group, scroll-area, select, separator, sheet,
112
+ sidebar, skeleton, sonner (`Toaster`), spinner, switch, table, tabs, textarea, tooltip. Compositions: `Status` (badge, icon,
105
113
  word), `PageHeader` (breadcrumb, icon box, title, description, actions), `PropertyList` (fields of one record),
106
114
  `DetailTable` (an item's details as a label and value table), `FoldRow` (a list row folding open to a `DetailTable`
107
115
  and more, a native `<details>`), `PageFrame` (a page outside the app shell, the target of `sft-bridge.css`),
108
116
  `SidePanel` (a non-modal panel at a side of a canvas, below), `TabBar` (a screen's tabs as links with an optional icon
109
117
  and count, the shown tab in the address; `Tabs` keeps it in client state), `MarkPopover` (a counted tag that opens a
110
- list of what it counts, below).
118
+ list of what it counts, below), `FilterChip` and `FilterChipAdd` (a list's filter pills, below), `Steps` (numbered
119
+ stages with a state, below), `Code` (inline code) and `CodeBlock` (a mono block for logs and paths, below),
120
+ `SortableList`, `SortableItem`, `SortableHandle` and `SortableActivator` (rows reordered by dragging, below).
121
+
122
+ **`FilterChip`.** The filters above a list or a table, drawn the way a Notion database view draws them: a 24 px pill
123
+ `icon · Label: value ▾` that opens a menu of options in the design system's popover. While the default value is
124
+ chosen the pill is muted; `isActive` (a non-default value) turns it into the blue tag and sets `data-active`. The
125
+ children are `DropdownMenu` items, so the menu works from the keyboard. `FilterChipAdd` is the "+ Add filter" pill
126
+ next to them (`label` replaces the built-in "Add filter"), opening a menu of the fields to filter by.
127
+
128
+ ```tsx
129
+ <div className="flex flex-wrap gap-1">
130
+ <FilterChip label="Status:" value={status ?? "all"} icon={<CircleDot aria-hidden="true" />} isActive={status !== null}>
131
+ <DropdownMenuRadioGroup value={status ?? "all"} onValueChange={setStatus}>
132
+ <DropdownMenuRadioItem value="all">All</DropdownMenuRadioItem>
133
+ <DropdownMenuRadioItem value="failed">Failed</DropdownMenuRadioItem>
134
+ </DropdownMenuRadioGroup>
135
+ </FilterChip>
136
+ <FilterChipAdd>
137
+ <DropdownMenuItem onSelect={() => addFilter("owner")}>Owner</DropdownMenuItem>
138
+ </FilterChipAdd>
139
+ </div>
140
+ ```
111
141
 
112
142
  **`SidePanel`.** A panel next to a canvas (a map) that leaves the canvas usable, so a switch inside shows its effect
113
143
  at once (`Sheet` is modal). It floats on `background` with `shadow-menu`, 24 rem wide, full width on a phone, with a
@@ -127,9 +157,11 @@ Escape inside or the close button calls `onClose`, and the caller moves focus ba
127
157
  ```
128
158
 
129
159
  A screen's summary figures: `StatsFold` (figures folded under a heading, closed by default, on native `<details>`),
130
- `StatCards` (a wrapping row of figure cards: label, figure in its tone, optional `hint`, optional `aside` tag;
131
- `isFullWidth` and `isOneRow` change the grid) and `StatPills` ("label **value**" tags in one row). Each figure takes a
132
- `tone`; the app keeps only its own table of which meaning takes which tone.
160
+ `StatCards` (a wrapping row of figure cards: label, figure in its tone, optional `progress` bar under the figure,
161
+ optional `hint`, optional `aside` tag; `isFullWidth` and `isOneRow` change the grid) and `StatPills` ("label **value**" tags in one row). Each figure takes a
162
+ `tone`; the app keeps only its own table of which meaning takes which tone. A card's `progress` (0–100, clamped) draws
163
+ the package's 6 px `Progress` under the figure, filled in the card's tone (primary without one) and named by
164
+ `progressLabel` (default: the card's `label`).
133
165
 
134
166
  ```tsx
135
167
  <StatsFold title="Summary">
@@ -138,12 +170,31 @@ A screen's summary figures: `StatsFold` (figures folded under a heading, closed
138
170
  cards={[
139
171
  { key: "paid", label: "Paid", value: "1,200", tone: "success" },
140
172
  { key: "owed", label: "Owed", value: "300", tone: "danger", hint: "2 invoices", aside: { text: "+5%" } },
173
+ { key: "hours", label: "Hours", value: "21.5 / 23.4 h", progress: 92, progressLabel: "Hours used" },
141
174
  ]}
142
175
  />
143
176
  <StatPills label="Counts" pills={[{ key: "late", label: "Late", value: "1", tone: "danger" }]} />
144
177
  </StatsFold>
145
178
  ```
146
179
 
180
+ An ordered process: `Steps` (the stages of a multi-step task, the phases of a migration, the steps of one run). An
181
+ `<ol>` where each step has a number in a badge coloured by its `state` (`done` green, `current` primary, `failed` red,
182
+ `todo` muted, the default), a `title`, an optional `note` and an optional `aside` at its end (a tag naming the service
183
+ the step uses). Layouts: `row` (default, a wrapping grid of cards, the current one on `blue-bg`) and `list` (compact
184
+ rows with a square badge). The current step carries `aria-current="step"`; each state is also a word for a screen
185
+ reader (`stateLabels` replaces the English words). `data-slot="steps"`, `data-step` and `data-state` mark the parts.
186
+
187
+ ```tsx
188
+ <Steps
189
+ label="Invoice stages"
190
+ steps={[
191
+ { key: "period", title: "Period", state: "done" },
192
+ { key: "document", title: "Document", state: "current", note: "2 files attached" },
193
+ { key: "invoice", title: "Final invoice", aside: <Badge variant="tag" color="blue">KSeF</Badge> },
194
+ ]}
195
+ />
196
+ ```
197
+
147
198
  **`MarkPopover`.** A tag in a palette colour with an icon and a count; a click or Enter opens the design system's
148
199
  popover listing the entries, Escape or a click outside closes it. It runs on the browser's Popover API (no client
149
200
  state, no portal): the panel sits in the top layer, so a card's `overflow` never clips it, centred on a phone and
@@ -159,20 +210,98 @@ work. The colour means the worst of what it lists; the copy is props.
159
210
  </MarkPopover>
160
211
  ```
161
212
 
213
+ **`Code` and `CodeBlock`.** `Code` is inline code: the `text-code` style (13/20 mono) in its own red,
214
+ `code-foreground` (a shade of the palette `red` that reaches 4.5:1 on its chip), on `secondary`, as in Notion. `CodeBlock` is a `<pre>` for logs and file paths on `muted`, radius 8; long lines scroll sideways, `wrap` wraps
215
+ them. With `label` the block is a named region (`role="region"`) that keyboard users can focus and scroll; without it,
216
+ plain text. No syntax highlighting. `data-slot="code"` and `data-slot="code-block"` mark the parts.
217
+
218
+ ```tsx
219
+ <p>Run <Code>npm ci</Code> first.</p>
220
+ <CodeBlock label="Build log" wrap>{log}</CodeBlock>
221
+ ```
222
+
223
+ **`SortableList`.** A list whose rows are reordered by dragging, built on the headless `@dnd-kit/core` and
224
+ `@dnd-kit/sortable`. On a touch screen a long press (`holdDelay`, 500 ms) lifts a row; moving more than `tolerance`
225
+ (8 px) before that scrolls instead, and a tap still activates the row. A mouse drags the same way; from the keyboard
226
+ Space or Enter picks the focused row up, the arrows move it, Space or Enter drops it and Escape cancels. The row only
227
+ moves up and down. The lifted row floats on `accent-strong` with `shadow-menu` above its siblings and carries
228
+ `data-dragging`; every row has `touch-manipulation select-none` and no long-press callout. The order stays with the
229
+ app: `items` are the rows' ids in order, and `onReorder(next, { id, from, to })` gets the new order on a drop.
230
+ `dragBy="handle"` leaves the row alone and drags only by a `SortableHandle` (a ghost grip button, for a desktop list;
231
+ a mouse starts at once there). A screen reader hears the `instructions` on the row (or handle) and the
232
+ `announcements` while it moves: strings with `{item}`, `{position}` and `{total}`, where `getItemLabel(id)` names the
233
+ row (the id by default). `data-slot="sortable-list"`, `sortable-item` (with `data-id`), `sortable-handle` and
234
+ `sortable-activator` mark the parts.
235
+
236
+ `dragBy="activator"` lifts a row only from the app's own element wrapped in `SortableActivator` (the row's button,
237
+ not its unfolded details), with the same hold; the element keeps its click and keys. The keyboard still picks up the
238
+ focused row, so the row stays focusable next to the button: Space and Enter on the button keep meaning "open". A key
239
+ pressed on any control inside a row stays with that control in every mode. `disabled` on the list makes it read-only
240
+ (no row lifts by touch, mouse or keyboard, the drag attributes go, the rows keep their own handlers, `data-disabled`
241
+ marks them); `disabled` on a `SortableItem` holds one row and wins over the list's. `group` on a `SortableItem` keeps
242
+ a lifted row among rows of the same group (by pointer and keyboard); rows without a group form one together.
243
+ `onDragStart(id)`, `onDragEnd(id, move | null)` (every drop; `null` when the order stayed) and `onDragCancel(id)`
244
+ follow the drag, and the list carries `data-sorting` while a row is lifted (`group-data-[sorting]:hidden` on a row's
245
+ secondary content with `group` on the list). `as="ol"` renders a numbered list; children that are not a
246
+ `SortableItem` (an empty-state `<li>`) stay in place. The click that ends a mouse drop never reaches the row.
247
+
248
+ ```tsx
249
+ <SortableList label="Shopping list" items={ids} onReorder={(next) => setIds(next)}
250
+ getItemLabel={(id) => byId[id].name} announcements={{ pickedUp: t("sort.pickedUp") }}>
251
+ {ids.map((id) => (
252
+ <SortableItem key={id} id={id} className="flex h-row-height items-center gap-2 px-2">
253
+ <Link href={`/items/${id}`}>{byId[id].name}</Link>
254
+ </SortableItem>
255
+ ))}
256
+ </SortableList>
257
+
258
+ <SortableList label="Columns" items={columns} onReorder={setColumns} dragBy="handle">
259
+ {columns.map((id) => (
260
+ <SortableItem key={id} id={id} className="flex items-center gap-1 px-1">
261
+ <SortableHandle label="Move column" />
262
+ {id}
263
+ </SortableItem>
264
+ ))}
265
+ </SortableList>
266
+
267
+ <SortableList label="Day" as="ol" items={ids} onReorder={setIds} dragBy="activator" disabled={isReadOnly}
268
+ onDragStart={() => navigator.vibrate?.(10)} className="group">
269
+ {ids.map((id) => (
270
+ <SortableItem key={id} id={id} group={byId[id].isStop ? "stops" : "to-fit"}>
271
+ <SortableActivator>
272
+ <button type="button" onClick={() => toggle(id)}>{byId[id].name}</button>
273
+ </SortableActivator>
274
+ {openId === id ? (
275
+ <div className="group-data-[sorting]:hidden">
276
+ <DetailTable label="Details" rows={byId[id].details} />
277
+ </div>
278
+ ) : null}
279
+ </SortableItem>
280
+ ))}
281
+ {ids.length === 0 ? <li className="text-muted-foreground">Nothing planned</li> : null}
282
+ </SortableList>
283
+ ```
284
+
162
285
  Deltas from stock shadcn:
163
286
 
164
287
  - `button`: sizes 28/24/32 px, a smaller padding on the icon side, a Notion `ghost`, `secondary` hover
165
288
  `accent-strong`, no shadows.
166
- - `badge`: a `tag` variant and a `color` prop with the nine palette colours. `alert`: palette colour variants (a
289
+ - `badge`: a `tag` variant and a `color` prop with the nine palette colours (and `default`); `color` applies to every
290
+ variant but `destructive`, which keeps its own fill and white text. `alert`: palette colour variants (a
167
291
  Notion callout).
168
292
  - `input`, `textarea`, `select`, `input-group`: 28 px high, grey `field` background, thin `input` border.
169
293
  - `dropdown-menu`, `select`, `popover`, `command`: radius 10, `shadow-menu` without a border, 28 px items.
170
294
  - `dialog`, `alert-dialog`: radius 10, `shadow-dialog`, no border. `card`: `shadow-card` instead of a border.
171
- - `checkbox` 16 px with a 1.5 px border, `switch` 26 × 16 (thumb shadow in `SWITCH_THUMB_SHADOW_CLASS`, for a native
172
- switch drawn the same), `tooltip` dark without an arrow, `tabs` default to the `line` variant, `progress` 6 px.
295
+ - `checkbox` 16 px with a 1.5 px border, `radio-group` drawn the same (round, a `primary` dot), `switch` 26 × 16
296
+ (thumb shadow in `SWITCH_THUMB_SHADOW_CLASS`, for a native switch drawn the same), `tooltip` dark without an arrow,
297
+ `tabs` default to the `line` variant, `progress` 6 px.
173
298
  - `table`: a 34 px header in `muted-foreground`, a line under the last row too.
174
299
  - `sidebar`: a controlled sidebar keeps no cookie; the phone sheet's title and description are props; the menu
175
300
  skeleton's width is stable per item (shadcn draws a random one during render).
301
+ - `item`: inside an `ItemGroup` (a `role="list"`) every `Item` renders `role="listitem"`; an `asChild` item keeps its
302
+ child's role (a link stays a link), so wrap it in an element with `role="listitem"`. `scroll-area`: the viewport
303
+ takes `tabIndex={0}` so keyboard users can scroll it; `viewportProps` reach the viewport (`tabIndex: -1` removes
304
+ the tab stop when the content has its own focusable elements).
176
305
  - `sonner`: no `next-themes`; `theme` is a prop. Focus everywhere: `ring-2 ring-ring` instead of `ring-[3px]`.
177
306
 
178
307
  A component the app needs beyond these: add it in this package (`npx shadcn@latest add <name>` in a scratch app,
@@ -186,6 +315,57 @@ with the kit's `defineTheme`; `tests/tokens.test.ts` keeps it equal to the desig
186
315
  change. `cn` is `createThemeCn(NOTION_THEME)`. The build writes `theme.css` with the kit's `softure-theme-css` from
187
316
  `softureTheme` in `package.json` (the kit README, "The theme package contract").
188
317
 
318
+ **Contrast.** Every text colour meets WCAG 2.2 AA (4.5:1) on the surfaces the parts put it on, in light and dark,
319
+ and the focus ring reaches 3:1 against the page; `tests/contrast.test.ts` lists the pairs and guards them. The values
320
+ are the design system's, shifted in lightness only (hue and chroma kept) where a pair fell short. Blue text is
321
+ `text-link`, not `text-primary`: `primary` is the fill under white text, and in dark no one blue serves both, so
322
+ `link` is a lighter blue there (in light both are `#0171cf`). The destructive fill is dimmed in dark
323
+ (`dark:bg-destructive/60`, as shadcn/ui's badge), so `destructive` in dark is the lighter text red. Inline code has its
324
+ own `code-foreground`, since the palette `red` falls short on the grey code chip.
325
+ Control boundaries and states reach 3:1 (SC 1.4.11): the `input` border of fields and select triggers, the
326
+ `control-off` switch track, the checked fill, the progress fill against its track (in dark the default fill is
327
+ `link`), and the selected pill of the default `Tabs` variant, which keeps its fill and shadow and draws an `input`
328
+ border outside its fill (`bg-clip-padding`), so the border reads against the list as well as the pill. Use `border-input` for a field's boundary only; a separator or a button outline uses `border-border`, which
329
+ is decoration and stays quiet.
330
+
189
331
  **Overriding a token.** Redefine its CSS variable after `theme.css` (`:root { --primary: #e16259; }`, and the same in
190
332
  a `.dark` block for the dark value), or build a variant with `extendTheme(theme, { name, colors: { … } })` and write
191
333
  it with `buildThemeCss` (the kit README, "Overriding in an app").
334
+
335
+ ## Testing
336
+
337
+ The suite keeps the package equal to the design system: a class that drifts fails a gate before merge. Layers 1–5
338
+ and 8 run in `npm test`; the visual and accessibility layers and the coverage threshold run in the `themes` workflow
339
+ on every pull request that touches `themes/`.
340
+
341
+ 1. **Every export renders** (`tests/render.test.tsx`): one gallery case (`tests/gallery/cases.tsx`) per component,
342
+ composition and `cva` variant × size, overlays open.
343
+ 2. **Class parity** (`tests/parity.test.tsx`): every case's `data-slot` elements with their class strings equal
344
+ `tests/fixtures/notion-slots.json`.
345
+ 3. **Upstream guard** (`tests/upstream.test.ts`): each `src/ui` file equals the pinned shadcn new-york v4 source
346
+ (`tests/upstream/*.tsx.txt`, commit in `tests/upstream/source.json`) with the deltas listed in
347
+ `tests/upstream/deltas.ts`, each with its reason. A change nobody listed fails here.
348
+ 4. **Behaviour** (`tests/behaviour/`): the sidebar's modes, phone sheet, cookie and labels; form controls; overlays
349
+ (open, choose, close label, Escape, focus return); tabs; every message-layer prop.
350
+ 5. **Tailwind generation** (`tests/tailwind-classes.test.ts`): every class written in `src/ui` and `src/notion` and
351
+ every class in the parity fixture generates CSS on the theme (no unknown token, no cleared default colour).
352
+ 6. **Visual regression** (`visual/gallery.spec.ts`): the gallery and each overlay at 1440 and 390 px, light and dark,
353
+ against `visual/baselines/`, in Playwright's Chromium with fonts from npm packages.
354
+ 7. **Accessibility**: axe (WCAG 2.1 A and AA, colour contrast included) on the same pages; the token pairs in
355
+ `tests/contrast.test.ts` (see Contrast above) run in `npm test`.
356
+ 8. **Inventory** (`tests/inventory.test.ts`): exports, files, the README's component list and the gallery agree.
357
+
358
+ Coverage of `src` stays at or above 90% of statements and branches (`npm run test:coverage -w @softure-ai/theme-notion`).
359
+
360
+ **Changing a component on purpose.** Edit the file, then in the same change:
361
+
362
+ - add or edit its entry in `tests/upstream/deltas.ts` (the upstream text, the package's text, why);
363
+ - refresh the parity fixture and review its diff:
364
+ `UPDATE_FIXTURES=1 npx vitest run themes/theme-notion/tests/parity.test.tsx`;
365
+ - refresh the visual baselines and look at the changed images:
366
+ `npm run test:visual -w @softure-ai/theme-notion -- --update-snapshots` (needs
367
+ `npx playwright install chromium` once). The CI job uploads the expected, actual and diff images when a comparison
368
+ fails.
369
+
370
+ A new component gets a case in `tests/gallery/cases.tsx` (and its `cva` axes in `CVA_AXES`), a pinned upstream file
371
+ when it comes from shadcn, and a line in the component list above.
package/dist/index.d.ts CHANGED
@@ -24,6 +24,7 @@ export * from "./ui/kbd.js";
24
24
  export * from "./ui/label.js";
25
25
  export * from "./ui/popover.js";
26
26
  export * from "./ui/progress.js";
27
+ export * from "./ui/radio-group.js";
27
28
  export * from "./ui/scroll-area.js";
28
29
  export * from "./ui/select.js";
29
30
  export * from "./ui/separator.js";
@@ -39,7 +40,9 @@ export * from "./ui/tabs.js";
39
40
  export * from "./ui/textarea.js";
40
41
  export * from "./ui/tooltip.js";
41
42
  export { ICON_STROKE_WIDTH } from "./notion/icon-stroke.js";
43
+ export { Code, CodeBlock, type CodeBlockProps } from "./notion/Code.js";
42
44
  export { DetailTable, type DetailRow, type DetailTableProps } from "./notion/DetailTable.js";
45
+ export { FilterChip, FilterChipAdd, type FilterChipAddProps, type FilterChipProps } from "./notion/FilterChip.js";
43
46
  export { FoldRow, type FoldRowBadge, type FoldRowProps } from "./notion/FoldRow.js";
44
47
  export { PALETTE_COLORS, type PaletteColor } from "./notion/palette.js";
45
48
  export { MarkPopover, type MarkPopoverProps } from "./notion/MarkPopover.js";
@@ -47,8 +50,10 @@ export { PageFrame, type PageFrameProps } from "./notion/PageFrame.js";
47
50
  export { PageHeader, type PageCrumb, type PageHeaderProps } from "./notion/PageHeader.js";
48
51
  export { PropertyList, type Property, type PropertyListProps } from "./notion/PropertyList.js";
49
52
  export { SidePanel, type SidePanelLayout, type SidePanelProps } from "./notion/SidePanel.js";
53
+ export { SortableActivator, SortableHandle, SortableItem, SortableList, type SortableActivatorProps, type SortableAnnouncements, type SortableDragBy, type SortableHandleProps, type SortableItemProps, type SortableListProps, type SortableMove, } from "./notion/Sortable.js";
50
54
  export { StatCards, StatPills, StatsFold, type StatCard, type StatCardAside, type StatCardsProps, type StatPill, type StatPillsProps, type StatsFoldProps, } from "./notion/Stats.js";
51
55
  export { Status, type StatusProps } from "./notion/Status.js";
56
+ export { Steps, type StepItem, type StepState, type StepsLayout, type StepsProps } from "./notion/Steps.js";
52
57
  export { TabBar, type TabBarItem, type TabBarProps } from "./notion/TabBar.js";
53
58
  export { TONES, TONE_COLORS, TONE_EDGE, TONE_FILL, TONE_TEXT, type Tone } from "./notion/tones.js";
54
59
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,aAA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;AAC9D,OAAO,EAAE,KAAK,EAAE,KAAK,QAAQ,EAAE,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC5G,OAAO,EAAE,MAAM,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,IAAI,EAAE,MAAM,mBAAmB,CAAC"}
package/dist/index.js CHANGED
@@ -26,6 +26,7 @@ export * from "./ui/kbd.js";
26
26
  export * from "./ui/label.js";
27
27
  export * from "./ui/popover.js";
28
28
  export * from "./ui/progress.js";
29
+ export * from "./ui/radio-group.js";
29
30
  export * from "./ui/scroll-area.js";
30
31
  export * from "./ui/select.js";
31
32
  export * from "./ui/separator.js";
@@ -41,7 +42,9 @@ export * from "./ui/tabs.js";
41
42
  export * from "./ui/textarea.js";
42
43
  export * from "./ui/tooltip.js";
43
44
  export { ICON_STROKE_WIDTH } from "./notion/icon-stroke.js";
45
+ export { Code, CodeBlock } from "./notion/Code.js";
44
46
  export { DetailTable } from "./notion/DetailTable.js";
47
+ export { FilterChip, FilterChipAdd } from "./notion/FilterChip.js";
45
48
  export { FoldRow } from "./notion/FoldRow.js";
46
49
  export { PALETTE_COLORS } from "./notion/palette.js";
47
50
  export { MarkPopover } from "./notion/MarkPopover.js";
@@ -49,8 +52,10 @@ export { PageFrame } from "./notion/PageFrame.js";
49
52
  export { PageHeader } from "./notion/PageHeader.js";
50
53
  export { PropertyList } from "./notion/PropertyList.js";
51
54
  export { SidePanel } from "./notion/SidePanel.js";
55
+ export { SortableActivator, SortableHandle, SortableItem, SortableList, } from "./notion/Sortable.js";
52
56
  export { StatCards, StatPills, StatsFold, } from "./notion/Stats.js";
53
57
  export { Status } from "./notion/Status.js";
58
+ export { Steps } from "./notion/Steps.js";
54
59
  export { TabBar } from "./notion/TabBar.js";
55
60
  export { TONES, TONE_COLORS, TONE_EDGE, TONE_FILL, TONE_TEXT } from "./notion/tones.js";
56
61
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,wGAAwG;AACxG,oGAAoG;AACpG,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,cAAc,EAAuB,MAAM,qBAAqB,CAAC;AAE1E,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,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,CAAC;AACpF,OAAO,EAAE,cAAc,EAAqB,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,WAAW,EAAyB,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAuB,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,UAAU,EAAwC,MAAM,wBAAwB,CAAC;AAC1F,OAAO,EAAE,YAAY,EAAyC,MAAM,0BAA0B,CAAC;AAC/F,OAAO,EAAE,SAAS,EAA6C,MAAM,uBAAuB,CAAC;AAC7F,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,YAAY,GAQb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,SAAS,EACT,SAAS,EACT,SAAS,GAOV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,MAAM,EAAoB,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,KAAK,EAAoE,MAAM,mBAAmB,CAAC;AAC5G,OAAO,EAAE,MAAM,EAAqC,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAa,MAAM,mBAAmB,CAAC"}
@@ -10,6 +10,9 @@ export declare const en: {
10
10
  readonly dialog: {
11
11
  readonly close: "Close";
12
12
  };
13
+ readonly filterChip: {
14
+ readonly add: "Add filter";
15
+ };
13
16
  readonly sheet: {
14
17
  readonly close: "Close";
15
18
  };
@@ -24,6 +27,20 @@ export declare const en: {
24
27
  readonly spinner: {
25
28
  readonly label: "Loading";
26
29
  };
30
+ readonly sortable: {
31
+ readonly instructions: "To pick up a row, press Space or Enter. Use the arrow keys to move it, then press Space or Enter to drop it, or Escape to cancel.";
32
+ readonly pickedUp: "Picked up {item}, position {position} of {total}.";
33
+ readonly moved: "{item} moved to position {position} of {total}.";
34
+ readonly dropped: "Dropped {item} at position {position} of {total}.";
35
+ readonly cancelled: "Cancelled. {item} is back in place.";
36
+ readonly handle: "Drag to reorder";
37
+ };
38
+ readonly steps: {
39
+ readonly done: "Done";
40
+ readonly current: "Current";
41
+ readonly todo: "To do";
42
+ readonly failed: "Failed";
43
+ };
27
44
  readonly command: {
28
45
  readonly title: "Command Palette";
29
46
  readonly description: "Search for a command to run...";
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/messages/en.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;CAQL,CAAC"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/messages/en.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBL,CAAC"}