@coolms/ui-react 0.1.0-alpha.27 → 0.1.0-alpha.29

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  All notable changes to `@coolms/ui-react` are listed here. Versions follow [semantic versioning](https://semver.org/).
4
4
 
5
+ ## 0.1.0-alpha.29 (2026-11-23)
6
+
7
+ Filter chips on one line with a fade while more is past the edge; check:package in the release checks.
8
+
9
+ - `FilterChips` draws the components contract's `filter-chips` entry (design tokens v0.20.0, contract 0.13.0): chips that do not fit stay on one line and scroll sideways, the scrollbar hidden; the clipped edge fades at the start and at the end only while there is more past it, measured from the scroll; a chip reached by key, or chosen while partly clipped, scrolls fully into view. Before, the chips wrapped onto more lines.
10
+ - Design tokens v0.20.0.
11
+
12
+ - `check:package`, in `verify` after `check:types-resolution`: the package as it would be published (packed without scripts), read by Are The Types Wrong (`@arethetypeswrong/cli`, its esm-only profile, the three stylesheet exports left out) and `publint` (strict); a problem either reports fails it. Both are dev dependencies, pinned.
13
+ - The repository url in `package.json` is the full git url (`git+https://`), as publint suggests.
14
+
15
+ ## 0.1.0-alpha.28 (2026-11-23)
16
+
17
+ Declarations that resolve under node16 and nodenext.
18
+
19
+ - The published declarations resolve under `moduleResolution` `node16` and `nodenext`: the declaration build uses NodeNext, so every relative import in the `.d.ts` files carries its `.js` extension. Before, an ESM project with nodenext resolution got every export as `any` (#53).
20
+ - `check:types-resolution`, in `verify`: the built package read by an ESM project with nodenext resolution and its declarations checked; any error, or an export that comes through as `any`, fails it.
21
+
5
22
  ## 0.1.0-alpha.27 (2026-11-23)
6
23
 
7
24
  Design tokens v0.19.0: two icon names drawn for the workspace, and the empty pane's icon.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "repository": "coolms/design-tokens",
3
- "tag": "v0.19.0",
4
- "commit": "b565620abfc9626aae52bd9fa9076b377068b257",
3
+ "tag": "v0.20.0",
4
+ "commit": "ae5b333759a638661db0c425110ca9534b70808d",
5
5
  "files": {
6
6
  "dist/coolms-tokens.css": {
7
7
  "to": "src/tokens/coolms-tokens.css",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "contract/components.json": {
11
11
  "to": "contract/components.json",
12
- "sha256": "b95106d16e3ec77399690042fb2f4037606222eb0419629d3386fe260d11f1a6"
12
+ "sha256": "42aff0d6ec2491de84fd30a95401a99e83e463b3587f1fca6833b58955765cfa"
13
13
  },
14
14
  "contract/server-states.json": {
15
15
  "to": "contract/server-states.json",
@@ -1,5 +1,5 @@
1
1
  import { type ReactNode } from 'react';
2
- import type { Offer } from '../server/capability';
2
+ import type { Offer } from '../server/capability.js';
3
3
  export interface ListRow {
4
4
  readonly id: string;
5
5
  readonly primary: ReactNode;
@@ -1,7 +1,7 @@
1
1
  import { type ReactNode } from 'react';
2
- import { type MenuItem } from './Collections';
3
- import { type IconName } from './Icon';
4
- import { type FilterOption } from './Workspace';
2
+ import { type MenuItem } from './Collections.js';
3
+ import { type IconName } from './Icon.js';
4
+ import { type FilterOption } from './Workspace.js';
5
5
  /** The screen's floating primary action: one action, or a menu of declared entries. */
6
6
  export type ScreenPrimary = {
7
7
  readonly label: string;
@@ -1,5 +1,5 @@
1
1
  import { type ReactNode } from 'react';
2
- import { type IconName } from './Icon';
2
+ import { type IconName } from './Icon.js';
3
3
  export interface SignInFeature {
4
4
  readonly icon: IconName;
5
5
  readonly label: string;
@@ -1,5 +1,5 @@
1
1
  import { type ReactNode } from 'react';
2
- import { type IconName } from './Icon';
2
+ import { type IconName } from './Icon.js';
3
3
  export interface BadgeProps {
4
4
  readonly count: number;
5
5
  /** What the number counts, for a screen reader ("12 unread"). */
@@ -63,7 +63,10 @@ export interface FilterChipsProps {
63
63
  /** What the chips filter ("Show"). */
64
64
  readonly label: string;
65
65
  }
66
- /** One of a few filters, as pills; arrow keys move between them, as a radio group does. */
66
+ /**
67
+ * One of a few filters, as pills; arrow keys move between them, as a radio group does. Chips that do not fit stay on one
68
+ * line and scroll sideways; the clipped edge fades, at the start and at the end, only while there is more past it.
69
+ */
67
70
  export declare function FilterChips({ options, value, onChange, label }: FilterChipsProps): ReactNode;
68
71
  export interface Pane {
69
72
  /** What the pane holds, for assistive technology ("Folders", "Messages", "Message"). */
package/dist/index.d.ts CHANGED
@@ -1,22 +1,22 @@
1
- export { Button, type ButtonProps } from './components/Button';
2
- export { TextField, TextArea, Select, Toggle, writtenOut, type TextFieldProps, type TextFieldType, type TextAreaProps, type SelectProps, type SelectOption, type ToggleProps } from './components/Fields';
3
- export { Modal, ConfirmDialog, MODAL_CLOSE_MS, type ModalProps, type ConfirmDialogProps } from './components/Dialogs';
4
- export { Toast, ToastRegion, Loading, EmptyState, ErrorBanner, type ToastProps, type LoadingProps, type EmptyStateProps, type ErrorBannerProps } from './components/Status';
5
- export { State, STATE_DELAY_MS, type StateKind, type StatePlacement, type StateProps } from './components/State';
6
- export { FileViewer, type FileViewerAction, type FileViewerConflict, type FileViewerEditing, type FileViewerProps, type FileViewerSiblings, type FileViewerState } from './components/FileViewer';
7
- export { FilePicker, FilePickerDenied, type FilePickerBudget, type FilePickerChoice, type FilePickerEntry, type FilePickerLabels, type FilePickerPage, type FilePickerProps, type FilePickerSpace } from './components/FilePicker';
8
- export { PageHeader, TabStrip, Avatar, initialsOf, tintOf, type PageHeaderProps, type Tab, type TabStripProps, type AvatarProps, type AvatarPresence, type AvatarConnection } from './components/Structure';
9
- export { Icon, ICON_NAMES, BOOTSTRAP_ICONS, NamedIcon, iconForName, type IconName, type IconProps } from './components/Icon';
10
- export { AppShell, Badge, SearchField, FilterChips, SplitPanes, fitPanes, MailRow, ChatBubble, Composer, MAIL_ROW_LABELS, type MailRowLabels, type AppShellProps, type RailItem, type BadgeProps, type SearchFieldProps, type FilterChipsProps, type FilterOption, type SplitPanesProps, type PaneSize, type Pane, type MailRowProps, type ChatBubbleProps, type ComposerProps } from './components/Workspace';
11
- export { IncomingCall, CallPanel, CallBar, CALL_LABELS, type CallLabels, type IncomingCallProps, type CallPanelProps, type CallBarProps } from './components/Call';
12
- export { SignInLayout, SignInForm, SIGN_IN_LABELS, type SignInLabels, type SignInLayoutProps, type SignInFormProps, type SignInFeature } from './components/SignIn';
13
- export { List, ContextMenu, type ListRow, type ListProps, type MenuItem, type ContextMenuProps } from './components/Collections';
14
- export { PaneToolbar, type PaneToolbarAction, type PaneToolbarProps } from './components/PaneToolbar';
15
- export { Notification, type NotificationAction, type NotificationProps } from './components/Notification';
16
- export { offerFor, isCapability, type Capability, type Offer, type OfferOptions } from './server/capability';
17
- export { readRefusal, refusalText, type Refusal } from './server/refusal';
18
- export { useReread, rereadAll, type Reread } from './server/reread';
19
- export { readConflict, type Conflict } from './server/conflict';
20
- export { needsClientUpdate, versionBelow, CLIENT_UPDATE_REQUIRED } from './server/client-update';
21
- export { ScreenShell, type ScreenShellProps, type ScreenPrimary } from './components/ScreenShell';
22
- export { PULL_AT, usePull, usePullState, type PullState } from './components/pull';
1
+ export { Button, type ButtonProps } from './components/Button.js';
2
+ export { TextField, TextArea, Select, Toggle, writtenOut, type TextFieldProps, type TextFieldType, type TextAreaProps, type SelectProps, type SelectOption, type ToggleProps } from './components/Fields.js';
3
+ export { Modal, ConfirmDialog, MODAL_CLOSE_MS, type ModalProps, type ConfirmDialogProps } from './components/Dialogs.js';
4
+ export { Toast, ToastRegion, Loading, EmptyState, ErrorBanner, type ToastProps, type LoadingProps, type EmptyStateProps, type ErrorBannerProps } from './components/Status.js';
5
+ export { State, STATE_DELAY_MS, type StateKind, type StatePlacement, type StateProps } from './components/State.js';
6
+ export { FileViewer, type FileViewerAction, type FileViewerConflict, type FileViewerEditing, type FileViewerProps, type FileViewerSiblings, type FileViewerState } from './components/FileViewer.js';
7
+ export { FilePicker, FilePickerDenied, type FilePickerBudget, type FilePickerChoice, type FilePickerEntry, type FilePickerLabels, type FilePickerPage, type FilePickerProps, type FilePickerSpace } from './components/FilePicker.js';
8
+ export { PageHeader, TabStrip, Avatar, initialsOf, tintOf, type PageHeaderProps, type Tab, type TabStripProps, type AvatarProps, type AvatarPresence, type AvatarConnection } from './components/Structure.js';
9
+ export { Icon, ICON_NAMES, BOOTSTRAP_ICONS, NamedIcon, iconForName, type IconName, type IconProps } from './components/Icon.js';
10
+ export { AppShell, Badge, SearchField, FilterChips, SplitPanes, fitPanes, MailRow, ChatBubble, Composer, MAIL_ROW_LABELS, type MailRowLabels, type AppShellProps, type RailItem, type BadgeProps, type SearchFieldProps, type FilterChipsProps, type FilterOption, type SplitPanesProps, type PaneSize, type Pane, type MailRowProps, type ChatBubbleProps, type ComposerProps } from './components/Workspace.js';
11
+ export { IncomingCall, CallPanel, CallBar, CALL_LABELS, type CallLabels, type IncomingCallProps, type CallPanelProps, type CallBarProps } from './components/Call.js';
12
+ export { SignInLayout, SignInForm, SIGN_IN_LABELS, type SignInLabels, type SignInLayoutProps, type SignInFormProps, type SignInFeature } from './components/SignIn.js';
13
+ export { List, ContextMenu, type ListRow, type ListProps, type MenuItem, type ContextMenuProps } from './components/Collections.js';
14
+ export { PaneToolbar, type PaneToolbarAction, type PaneToolbarProps } from './components/PaneToolbar.js';
15
+ export { Notification, type NotificationAction, type NotificationProps } from './components/Notification.js';
16
+ export { offerFor, isCapability, type Capability, type Offer, type OfferOptions } from './server/capability.js';
17
+ export { readRefusal, refusalText, type Refusal } from './server/refusal.js';
18
+ export { useReread, rereadAll, type Reread } from './server/reread.js';
19
+ export { readConflict, type Conflict } from './server/conflict.js';
20
+ export { needsClientUpdate, versionBelow, CLIENT_UPDATE_REQUIRED } from './server/client-update.js';
21
+ export { ScreenShell, type ScreenShellProps, type ScreenPrimary } from './components/ScreenShell.js';
22
+ export { PULL_AT, usePull, usePullState, type PullState } from './components/pull.js';