@cratis/components 4.14.0 → 4.14.1

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/MIGRATION.md CHANGED
@@ -5,7 +5,7 @@ Components 4 replaces the PrimeReact-backed Components 3 foundation with Compone
5
5
  This is a major-version migration. Rendered markup, styling parts, provider configuration, date entry, root imports, and some deprecated props change.
6
6
 
7
7
  :::note
8
- An application that has not migrated remains on its Components 3 package profile, including the third-party dependencies declared by that version. Components `>=3 <4` is in maintenance/security-critical support while Components `>=4 <5` is the current candidate and migration target. Owners must decide and approve the Components 3 EOL date no later than 12 months after Components 4 GA. Components 4 does not provide a transparent Prime compatibility package. Its repository-versioned `@cratis/components.mui`, `@cratis/components.primereact` (PrimeReact 11), and `@cratis/components.primereact10` adapters are optional and cover only the nine `common.*` presentation slots.
8
+ An application that has not migrated remains on its Components 3 package profile, including the third-party dependencies declared by that version. Components `>=4 <5` is the current release line and the migration target; Components `>=3 <4` is in maintenance/security-critical support. No Components 3 end-of-life date has been set yet; the support policy requires one to be set no later than 12 months after the Components 4.0.0 release. Components 4 does not provide a transparent Prime compatibility package. Its repository-versioned `@cratis/components.mui`, `@cratis/components.primereact` (PrimeReact 11), and `@cratis/components.primereact10` adapters are optional and cover only the nine `common.*` presentation slots; see the published [Renderer adapters and coexistence](https://cratis.io/components/renderers/) guide.
9
9
  :::
10
10
 
11
11
  The adapters do not replace complete Components widgets. Core continues to own Dialog, Dropdown, DatePicker, paginator, table, focus, overlay, selection, and keyboard behavior; an adapter only presents button, icon-button, text-input, text-area, checkbox, radio, switch, progress, and surface slots. Installing an adapter neither restores PrimeReact public APIs nor transfers key handling to the adapter.
@@ -77,6 +77,8 @@ import { Canvas, CanvasItem } from '@cratis/components/Canvas';
77
77
 
78
78
  This is an intentional Components 4 breaking change. The package root now exposes setup APIs only; component namespaces no longer exist there. Every retained namespace maps mechanically: replace `import { X } from '@cratis/components'` with either an equivalent namespace import from the documented subpath, or named imports from that subpath. The removed renderer-only `Compatibility` namespace is the deliberate manual exception.
79
79
 
80
+ The `cratis-components-remove-root-namespace-imports` codemod always emits the namespace-preserving form (`import * as Canvas from '@cratis/components/Canvas'`), so existing member access such as `Canvas.Canvas` keeps resolving for every member Components 4 still exports. Switching to named imports, as in the example above, is optional cleanup you do by hand.
81
+
80
82
  | Removed Components 3 root namespace | Components 4 subpath | Namespace-preserving migration | Named migration |
81
83
  | ----------------------------------- | --------------------------------------------------------- | ----------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
82
84
  | `Canvas` | `@cratis/components/Canvas` | `import * as Canvas from '@cratis/components/Canvas'` | `import { Canvas, CanvasItem } from '@cratis/components/Canvas'` |
@@ -188,6 +190,8 @@ The callback transform rewrites only structurally-proven single forwarding callb
188
190
  <CheckboxField onChange={(value) => setEnabled(value)} />
189
191
  ```
190
192
 
193
+ **CommandForm field `onChange` is not a typed prop.** The transform changes the callback's shape, not its location. With Arc 22.16.0, `CommandForm` calls an `onChange` placed on a field with the new value, so the rewritten callback runs. The Components 4 field types, which are built on Arc's `CommandFormFieldComponentProps`, do not declare `onChange`, so a type-checked TSX file reports TS2322 on a CommandForm field such as `InputTextField`, `CheckboxField`, `DropdownField`, or `MultiSelectField` that keeps it. In typed code, move the side effect to the `onFieldChange` callback on `CommandForm`, which receives the command, the field name, and the old and new values. The standalone `Dropdown` declares `onChange` and is not affected.
194
+
191
195
  Dynamic Button props, JSX spreads, unknown new/legacy conflicts, duplicate props, multi-use callbacks, and native-event-dependent callbacks are not guessed. They stay semantically unchanged, produce a nonzero exit, and receive one syntax-safe `TODO(cratis-codemod)` annotation:
192
196
 
193
197
  ```tsx
@@ -503,7 +507,7 @@ Multiple selection uses a native multiple-select when filtering is off and an ac
503
507
  - Complete-result filtering and sorting are not automatic table state. Model them in query arguments and implement them in the server query before paging.
504
508
  - `clientFiltering` remains temporarily accepted as a deprecated no-op so staged source migrations compile. Remove it: filtering is always scoped to the loaded page, and complete-result filtering belongs on the server before paging.
505
509
  - Legacy `{ operator, constraints }` filter entries remain accepted. `operator: 'or'` matches any constraint; all other values match every constraint.
506
- - `Column` remains the declarative column marker. Selection columns now type only the implemented `selectionMode='single'`; the removed `'multiple'` value never provided checkbox selection.
510
+ - `Column` remains the declarative column marker. Components 4.0 through 4.13 typed only `selectionMode='single'`, because the Components 3 `'multiple'` value never provided checkbox selection. Components 4.14.0 restores `'multiple'` with working checkboxes and a select-all header, driven by the table's `selectionMode='multiple'`, `selectedItems`, and `onSelectedItemsChange` props.
507
511
  - Table styling uses `DataTableParts` and `data-cratis-part`.
508
512
  - Server totals remain authoritative for the paginator.
509
513
 
package/README.md CHANGED
@@ -20,11 +20,6 @@ interaction primitives internally; consumers do not import or style React Aria.
20
20
  npm install @cratis/components@^4
21
21
  ```
22
22
 
23
- > **Publication status:** This install example targets the owner-authorized 4.0.0 npm release. When
24
- > reading this README from repository source before that release, verify availability with
25
- > `npm view @cratis/components@4.0.0 version`; source contributors use the repository workspace
26
- > instead.
27
-
28
23
  The current package manifest declares these peer dependencies:
29
24
 
30
25
  - `@cratis/arc` and `@cratis/arc.react` `>=20.3.1 <23`
@@ -34,13 +29,13 @@ The current package manifest declares these peer dependencies:
34
29
  - `reflect-metadata` `0.2.2`
35
30
  - `tsyringe` `4.10.0`
36
31
 
37
- Strict installers can declare them explicitly; keep both Arc packages on the same application version:
32
+ Strict installers can declare them explicitly; keep both Arc packages on the version your generated proxies were produced with. This repository builds and tests against Arc 22.16.0:
38
33
 
39
34
  ```bash
40
- ARC_VERSION=22.6.2
35
+ ARC_VERSION=22.16.0
41
36
  npm install @cratis/components@^4 \
42
37
  "@cratis/arc@$ARC_VERSION" "@cratis/arc.react@$ARC_VERSION" \
43
- @cratis/fundamentals@^7.10.3 react@^19 react-dom@^19 \
38
+ @cratis/fundamentals@^7.19.2 react@^19 react-dom@^19 \
44
39
  reflect-metadata@0.2.2 tsyringe@4.10.0
45
40
  ```
46
41
 
@@ -58,7 +53,7 @@ object; runtime behavior still requires `@cratis/components.conformance`. See th
58
53
  [renderer-adapter documentation](https://github.com/Cratis/Components/blob/16dd95b7c894f3275b03714ffdc676d2d3505fd8/Documentation/renderers/index.md#adapter-package-metadata-schema)
59
54
  for the boundary and limitations.
60
55
 
61
- **Yarn PnP note:** the current `@cratis/arc.react@22.6.2` package imports `rxjs` without declaring it. Strict PnP consumers install `rxjs@7.8.2` and add a temporary `packageExtensions` entry for `@cratis/arc.react@22.6.2`; remove it when Arc publishes corrected metadata. The canonical [getting-started guide](https://cratis.io/components/getting-started/) contains the exact YAML.
56
+ **Yarn PnP note:** `@cratis/arc.react@22.6.2` imports `rxjs` without declaring it. Strict PnP consumers that stay on that version install `rxjs@7.8.2` and add a `packageExtensions` entry for `@cratis/arc.react@22.6.2`; Arc React 22.16.0 does not need it. The canonical [getting-started guide](https://cratis.io/components/getting-started/) contains the exact YAML.
62
57
 
63
58
  `pixi.js@^8.20.0` is an additional **optional** peer, required only by `Canvas` and `PivotViewer` (the Spatial capability profile — see [Import from explicit subpaths](#import-from-explicit-subpaths) below). Every other subpath needs nothing beyond the peers above:
64
59
 
@@ -93,13 +88,19 @@ Every JavaScript subpath publishes a matching `<subpath>/styles`, self-contained
93
88
 
94
89
  ## Provider
95
90
 
91
+ Import `reflect-metadata` once at the entry point, before the styles, and mount the Components provider inside Arc's `<Arc>` provider. `<Arc>` supplies the command and query runtime used by the generated proxies; `CratisComponentsProvider` does not replace it:
92
+
96
93
  ```tsx
94
+ import 'reflect-metadata';
95
+ import { Arc } from '@cratis/arc.react';
97
96
  import { CratisComponentsProvider } from '@cratis/components';
98
97
 
99
98
  export const App = () => (
100
- <CratisComponentsProvider value={{ locale: 'en-US' }} toaster>
101
- <Application />
102
- </CratisComponentsProvider>
99
+ <Arc>
100
+ <CratisComponentsProvider value={{ locale: 'en-US' }} toaster>
101
+ <Application />
102
+ </CratisComponentsProvider>
103
+ </Arc>
103
104
  );
104
105
  ```
105
106
 
@@ -109,10 +110,10 @@ stable, nine-slot `stable-presentation/v1` primitive profile; they never replace
109
110
  catalog. They share the Components repository release version and are selected with the provider's
110
111
  `library` prop:
111
112
 
112
- - `@cratis/components.mui@4.0.0` — MUI 9.x / Emotion 11.x stable presentation slots;
113
- - `@cratis/components.primereact@4.0.0` — PrimeReact 11.x stable presentation slots, with an
113
+ - `@cratis/components.mui` — MUI 9.x / Emotion 11.x stable presentation slots;
114
+ - `@cratis/components.primereact` — PrimeReact 11.x stable presentation slots, with an
114
115
  application-owned outer provider and license key;
115
- - `@cratis/components.primereact10@4.0.0` — PrimeReact 10.9.9+ stable presentation slots, with its
116
+ - `@cratis/components.primereact10` — PrimeReact 10.9.9+ stable presentation slots, with its
116
117
  separate MIT-era provider, global theme, and upstream-major boundary.
117
118
 
118
119
  Adapter-specific themes, providers, SSR setup, peers, and license boundaries remain documented by
@@ -164,7 +165,7 @@ export const RegisterAuthorDialog = () => (
164
165
  );
165
166
  ```
166
167
 
167
- Fields bind directly to generated command properties and surface server validation through the Arc command-form context.
168
+ Fields bind directly to generated command properties and surface server validation through the Arc command-form context. Required command values the user does not type, such as a generated id, belong in `initialValues`; `onBeforeExecute` runs only after validation and cannot enable the confirm button.
168
169
 
169
170
  ## Query-backed tables
170
171
 
@@ -6,7 +6,8 @@ import { type BeforeExecuteCallback } from './applyBeforeExecute.js';
6
6
  * Props for {@link CommandDialog}. Combines the props of a `CommandForm`
7
7
  * (`command`, `initialValues`, `onSuccess`, `onValidationFailure`, `onFailed`,
8
8
  * `onBeforeExecute`, etc.) with the props of a {@link Dialog} (`title`,
9
- * `buttons`, `width`, `pt`, `unstyled`, …).
9
+ * `buttons`, `width`, `pt`, `unstyled`, …). Dialog presentation props
10
+ * such as `subtitle`, `placement`, and `closeIcon` are forwarded to the dialog.
10
11
  *
11
12
  * @typeParam TCommand - The command record type (must extend `object`).
12
13
  * @typeParam TResponse - The response payload type returned by a successful command. Defaults to `object`.
@@ -6,7 +6,7 @@ import { CommandForm, useCommandFormContext, useCommandInstance, CommandFormFiel
6
6
  import { applyBeforeExecute } from './applyBeforeExecute.js';
7
7
  import { markAsCommandFormColumn, isCommandFormField } from '../CommandForm/commandFormMarkers.js';
8
8
 
9
- const CommandDialogWrapper = ({ title, visible, width, style, contentStyle, resizable, buttons, initialFocus, okLabel, cancelLabel, yesLabel, noLabel, dismissable, closeAriaLabel, isValid, onClose, onConfirm, onCancel, onSuccess, onValidationFailure, onFailed, onException, onUnauthorized, onBeforeExecute, className, pt, ptOptions, unstyled, children, }) => {
9
+ const CommandDialogWrapper = ({ isValid, onClose, onConfirm, onSuccess, onValidationFailure, onFailed, onException, onUnauthorized, onBeforeExecute, children, ...dialogProps }) => {
10
10
  const { setCommandValues, setCommandResult, isValid: isCommandFormValid, } = useCommandFormContext();
11
11
  const commandInstance = useCommandInstance();
12
12
  const [isBusy, setIsBusy] = useState(false);
@@ -66,11 +66,38 @@ const CommandDialogWrapper = ({ title, visible, width, style, contentStyle, resi
66
66
  };
67
67
  const processedChildren = processChildren(children);
68
68
  const isDialogValid = isValid !== false && isCommandFormValid;
69
- return (jsx(Dialog, { title: title, visible: visible, width: width, style: style, contentStyle: contentStyle, resizable: resizable, buttons: buttons, initialFocus: initialFocus, onClose: onClose, onConfirm: handleConfirm, onCancel: onCancel, okLabel: okLabel, cancelLabel: cancelLabel, yesLabel: yesLabel, noLabel: noLabel, dismissable: dismissable, closeAriaLabel: closeAriaLabel, isValid: isDialogValid, isBusy: isBusy, className: className, pt: pt, ptOptions: ptOptions, unstyled: unstyled, children: jsx("div", { style: { display: 'flex', flexDirection: 'column', width: '100%' }, children: processedChildren }) }));
69
+ return (jsx(Dialog, { ...dialogProps, onClose: onClose, onConfirm: handleConfirm, isValid: isDialogValid, isBusy: isBusy, children: jsx("div", { style: { display: 'flex', flexDirection: 'column', width: '100%' }, children: processedChildren }) }));
70
70
  };
71
71
  const CommandDialogComponent = (props) => {
72
- const { title, visible, width, style, contentStyle, resizable, buttons = DialogButtons.OkCancel, initialFocus, okLabel, cancelLabel, yesLabel, noLabel, dismissable, closeAriaLabel, isValid, onClose, onConfirm, onCancel, onBeforeExecute, className, pt, ptOptions, unstyled, children, ...commandFormProps } = props;
73
- return (jsx(CommandForm, { ...commandFormProps, children: jsx(CommandDialogWrapper, { title: title, visible: visible, width: width, style: style, contentStyle: contentStyle, resizable: resizable, buttons: buttons, initialFocus: initialFocus, okLabel: okLabel, cancelLabel: cancelLabel, yesLabel: yesLabel, noLabel: noLabel, dismissable: dismissable, closeAriaLabel: closeAriaLabel, isValid: isValid, onClose: onClose, onConfirm: onConfirm, onCancel: onCancel, onSuccess: props.onSuccess, onValidationFailure: props.onValidationFailure, onFailed: props.onFailed, onException: props.onException, onUnauthorized: props.onUnauthorized, onBeforeExecute: onBeforeExecute, className: className, pt: pt, ptOptions: ptOptions, unstyled: unstyled, children: children }) }));
72
+ const { title, subtitle, placement, closeIcon, visible, width, style, contentStyle, resizable, buttons = DialogButtons.OkCancel, initialFocus, okLabel, cancelLabel, yesLabel, noLabel, dismissable, closeAriaLabel, isValid, onClose, onConfirm, onCancel, onBeforeExecute, className, pt, ptOptions, unstyled, children, ...commandFormProps } = props;
73
+ const dialogProps = {
74
+ title,
75
+ subtitle,
76
+ placement,
77
+ closeIcon,
78
+ visible,
79
+ width,
80
+ style,
81
+ contentStyle,
82
+ resizable,
83
+ buttons,
84
+ initialFocus,
85
+ okLabel,
86
+ cancelLabel,
87
+ yesLabel,
88
+ noLabel,
89
+ dismissable,
90
+ closeAriaLabel,
91
+ isValid,
92
+ onClose,
93
+ onConfirm,
94
+ onCancel,
95
+ className,
96
+ pt,
97
+ ptOptions,
98
+ unstyled,
99
+ };
100
+ return (jsx(CommandForm, { ...commandFormProps, children: jsx(CommandDialogWrapper, { ...dialogProps, onSuccess: props.onSuccess, onValidationFailure: props.onValidationFailure, onFailed: props.onFailed, onException: props.onException, onUnauthorized: props.onUnauthorized, onBeforeExecute: onBeforeExecute, children: children }) }));
74
101
  };
75
102
  const CommandDialogColumnWrapper = ({ children }) => (jsx(CommandForm.Column, { children: children }));
76
103
  markAsCommandFormColumn(CommandDialogColumnWrapper);
@@ -1 +1 @@
1
- {"version":3,"file":"CommandDialog.js","sources":["../../../CommandDialog/CommandDialog.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;;;;AAwDA,MAAM,oBAAoB,GAAG,CAA8C,EACvE,KAAK,EACL,OAAO,EACP,KAAK,EACL,KAAK,EACL,YAAY,EACZ,SAAS,EACT,OAAO,EACP,YAAY,EACZ,OAAO,EACP,WAAW,EACX,QAAQ,EACR,OAAO,EACP,WAAW,EACX,cAAc,EACd,OAAO,EACP,OAAO,EACP,SAAS,EACT,QAAQ,EACR,SAAS,EACT,mBAAmB,EACnB,QAAQ,EACR,WAAW,EACX,cAAc,EACd,eAAe,EACf,SAAS,EACT,EAAE,EACF,SAAS,EACT,QAAQ,EACR,QAAQ,GA+BX,KAAI;AACD,IAAA,MAAM,EACF,gBAAgB,EAChB,gBAAgB,EAChB,OAAO,EAAE,kBAAkB,GAC9B,GAAG,qBAAqB,EAAY;AACrC,IAAA,MAAM,eAAe,GAAG,kBAAkB,EAAY;IACtD,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC;AAE3C,IAAA,MAAM,aAAa,GAAG,YAAW;QAC7B,SAAS,CAAC,IAAI,CAAC;AACf,QAAA,IAAI,MAAiC;AACrC,QAAA,IAAI;YACA,IAAI,eAAe,EAAE;gBACjB,MAAM,OAAO,GAAG,kBAAkB,CAAC,eAAe,EAAE,eAAe,CAAC;AACpE,gBAAA,gBAAgB,CAAC,OAAO,YAAY,OAAO,GAAG,MAAM,OAAO,GAAG,OAAO,CAAC;YAC1E;AAEA,YAAA,MAAM,GAAG,MACL,eAGH,CAAC,OAAO,EAAE;QACf;gBAAU;YACN,SAAS,CAAC,KAAK,CAAC;QACpB;AAEA,QAAA,IAAI,CAAC,MAAM,CAAC,SAAS,EAAE;AACnB,YAAA,MAAM,QAAQ,GAAG,MAAM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T,QAAQ;QACR,SAAS;QACT,EAAE;QACF,SAAS;QACT,QAAQ;KACoB;IAEhC,QACIA,IAAC,WAAW,EAAA,EAAA,GAA0B,gBAAgB,EAAA,QAAA,EAClDA,GAAA,CAAC,oBAAoB,EAAA,EAAA,GACb,WAAW,EACf,SAAS,EAAE,KAAK,CAAC,SAAS,EAC1B,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,EAC9C,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,WAAW,EAAE,KAAK,CAAC,WAAW,EAC9B,cAAc,EAAE,KAAK,CAAC,cAAc,EACpC,eAAe,EAAE,eAAe,YAE/B,QAAQ,EAAA,CACU,EAAA,CACb;AAEtB,CAAC;AAED,MAAM,0BAA0B,GAAG,CAAC,EAAE,QAAQ,EAAiC,MAC3EA,GAAA,CAAC,WAAW,CAAC,MAAM,cAAE,QAAQ,EAAA,CAAsB,CACtD;AACD,uBAAuB,CAAC,0BAA0B,CAAC;AAEnD,sBAAsB,CAAC,MAAM,GAAG,0BAA0B;AAcnD,MAAM,aAAa,GAAG;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/components",
3
- "version": "4.14.0",
3
+ "version": "4.14.1",
4
4
  "description": "React components for CQRS and event-sourced apps — command dialogs, typed forms, and query-backed data tables for Cratis Arc",
5
5
  "keywords": [
6
6
  "react",