@smartsoft001/angular 2.203.0 → 2.205.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.
package/README.md CHANGED
@@ -1203,12 +1203,12 @@ The `<smart-modal>` component renders a dialog overlay with optional title, desc
1203
1203
 
1204
1204
  | Property | Type | Default | Description |
1205
1205
  | ------------- | ------------------------------------------------------------- | ------- | ------------------------------------------------------------ |
1206
- | `variant` | `'centered' \| 'wide' \| 'alert' \| 'left-aligned-buttons'` | - | Layout variant (consumed by custom impls) |
1206
+ | `variant` | `'centered' \| 'wide' \| 'alert' \| 'left-aligned-buttons' \| 'bottom-sheet'` | - | Layout variant; the standard reads only `'bottom-sheet'` (docked to the bottom of the viewport) |
1207
1207
  | `withDismiss` | `boolean` | `false` | Show top-right dismiss `×` button |
1208
1208
  | `footerStyle` | `'default' \| 'gray'` | - | Footer styling variant (consumed by custom impls) |
1209
1209
  | `ariaLabel` | `string` | - | Accessible label rendered as `aria-label` (when no `title`) |
1210
1210
 
1211
- The default `ModalStandardComponent` consumes `withDismiss` and `ariaLabel`. The `variant` and `footerStyle` selectors are reserved for custom implementations registered via `MODAL_STANDARD_COMPONENT_TOKEN`.
1211
+ The default `ModalStandardComponent` consumes `withDismiss`, `ariaLabel` and the `'bottom-sheet'` variant, which `ModalService` sets for `mode: 'bottom'`. The preset reads every `variant` and `footerStyle`; a custom implementation registered via `MODAL_STANDARD_COMPONENT_TOKEN` may read them too.
1212
1212
 
1213
1213
  #### Overriding with Custom Implementation
1214
1214