@imfusion/web-ui 0.10.1-dev.45.ga6a3c86a → 0.10.1-dev.48.g27170cb6

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
@@ -88,7 +88,8 @@ never changes the character width, so columns stay aligned. CoFo Sans Mono still
88
88
  `Dialog.Description` as `Typo.P`. `Dialog.Body` scrolls in a `ScrollArea` while header and footer stay in view.
89
89
  `Dialog.Popup` comes in `sm`, `md`, `lg`, and `full`, and stops at 40rem high (`--imf-ui-dialog-max-height`) except in
90
90
  `full`. `Dialog.Status` adds a tinted status column like `Card.Status`, on top of the width the size sets.
91
- `Dialog.Simple` builds the whole dialog from props, and `Dialog.Inline` opens it from a term inside running text
91
+ `Dialog.Simple` builds the whole dialog from props, and `Dialog.Inline` opens it from a term inside running text. Both
92
+ show the × close button only without `actions`; with them, the footer is the way out
92
93
  ([WEBSDK-247](https://imfusion.atlassian.net/browse/WEBSDK-247)) — Nikolaus Brunner <brunner@imfusion.com>
93
94
  - Storybook — Nikolaus Brunner <brunner@imfusion.com>
94
95
  - The token drawer offers Paper Mono as a mono font.
@@ -153,6 +154,7 @@ never changes the character width, so columns stay aligned. CoFo Sans Mono still
153
154
  - `Skeleton.Root` fades only its own content in when loading ends; the rest of the page stays still, and no `AbortError` reaches the console — Nikolaus Brunner <brunner@imfusion.com>
154
155
  - `AppShell`'s docked aside no longer leaves `AppShell.Main` up to 13px under it at 1024px: Main ends where the aside begins at every docked width — Nikolaus Brunner <brunner@imfusion.com>
155
156
  - The Stop hook's verify gate blocks only a turn that edited files. An edit from an earlier turn no longer blocks later turns that only answer questions while the tree stays dirty — Nikolaus Brunner <brunner@imfusion.com>
157
+ - `imf-web-ui-ux` describes patterns and points to `imf-web-ui-components` for which components exist, instead of claiming which ones do not — Nikolaus Brunner <brunner@imfusion.com>
156
158
 
157
159
  ---
158
160
 
@@ -96,7 +96,7 @@ export declare namespace Description {
96
96
  }
97
97
  /**
98
98
  * Dialog.Close — button that closes the dialog. With no `children` and no `render` it renders the library's ghost close
99
- * button (an × icon labelled "Close"); otherwise render your own `Button`.
99
+ * button (a boxed × icon labelled "Close"); otherwise render your own `Button`.
100
100
  */
101
101
  export declare function Close(props: React.ComponentProps<typeof DialogPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
102
102
  export declare namespace Close {
@@ -119,7 +119,10 @@ type ComposedProps = Omit<React.ComponentProps<typeof DialogPrimitive.Root>, "ch
119
119
  * Width of the window.
120
120
  */
121
121
  size?: PopupProps["size"];
122
- /** Content of the footer, usually buttons. The footer renders only when this is set. */
122
+ /**
123
+ * Content of the footer, usually buttons. The footer renders only when this is set, and then replaces the header's
124
+ * close button, so include a way out such as a Cancel `Dialog.Close`.
125
+ */
123
126
  actions?: React.ReactNode;
124
127
  /** Content of the body. */
125
128
  children?: React.ReactNode;
@@ -129,8 +132,8 @@ type SimpleProps = ComposedProps & {
129
132
  trigger?: React.ReactElement;
130
133
  };
131
134
  /**
132
- * Dialog.Simple — pre-composed dialog: trigger, header with title, description, optional status and close button, a
133
- * scrolling body, and an optional footer. Root props pass through.
135
+ * Dialog.Simple — pre-composed dialog: trigger, header with title, description, and optional status, a scrolling body,
136
+ * and either a close button in the header or a footer of `actions`. Root props pass through.
134
137
  */
135
138
  export declare function Simple({ trigger, headerVariant, size, ...props }: SimpleProps): import("react/jsx-runtime").JSX.Element;
136
139
  export declare namespace Simple {