@smartsoft001/angular 2.202.0 → 2.204.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 +2 -2
- package/fesm2022/smartsoft001-angular.mjs +2031 -1433
- package/fesm2022/smartsoft001-angular.mjs.map +1 -1
- package/package.json +4 -4
- package/styles.css +33 -0
- package/types/smartsoft001-angular.d.ts +361 -45
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 (
|
|
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 `
|
|
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
|
|