@lmvz-ds/components 0.27.1 → 0.28.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/CHANGELOG.md +6 -0
- package/cjs/{aria-validation-controller-BMV2tv9-.js → aria-validation-controller-Z4TtOp2l.js} +1 -1
- package/cjs/close-sm-CATLoxxd.js +5 -0
- package/cjs/{ds.constants-BbWUmoDv.js → ds.constants-CN0zFjB7.js} +2 -0
- package/cjs/{index-BCFBLj0e.js → index-TGsVZNDP.js} +26 -2
- package/cjs/index.cjs.js +2 -1
- package/cjs/lmvz-action.cjs.entry.js +1 -1
- package/cjs/lmvz-button-group.cjs.entry.js +1 -1
- package/cjs/lmvz-button_2.cjs.entry.js +2 -2
- package/cjs/lmvz-card.cjs.entry.js +1 -1
- package/cjs/lmvz-checkbox.cjs.entry.js +2 -2
- package/cjs/lmvz-chip.cjs.entry.js +3 -3
- package/cjs/lmvz-components.cjs.js +2 -2
- package/cjs/lmvz-header_2.cjs.entry.js +2 -2
- package/cjs/lmvz-input.cjs.entry.js +2 -2
- package/cjs/lmvz-menuitem.cjs.entry.js +2 -2
- package/cjs/lmvz-message.cjs.entry.js +78 -0
- package/cjs/lmvz-modal.cjs.entry.js +5 -6
- package/cjs/lmvz-radio.cjs.entry.js +3 -3
- package/cjs/lmvz-select.cjs.entry.js +4 -4
- package/cjs/lmvz-snackbar.cjs.entry.js +5 -8
- package/cjs/lmvz-spinner.cjs.entry.js +20 -0
- package/cjs/lmvz-tab.cjs.entry.js +2 -2
- package/cjs/lmvz-tabs.cjs.entry.js +2 -2
- package/cjs/lmvz-toggle.cjs.entry.js +3 -3
- package/cjs/loader.cjs.js +2 -2
- package/cjs/warning-WEX_ABWL.js +8 -0
- package/collection/api/ds.constants.js +1 -0
- package/collection/collection-manifest.json +2 -0
- package/collection/components/lmvz-message/lmvz-message.css +50 -0
- package/collection/components/lmvz-message/lmvz-message.js +240 -0
- package/collection/components/lmvz-message/public.js +1 -0
- package/collection/components/lmvz-modal/lmvz-modal.js +1 -1
- package/collection/components/lmvz-radio/lmvz-radio.js +1 -1
- package/collection/components/lmvz-select/lmvz-select.css +2 -4
- package/collection/components/lmvz-select/lmvz-select.js +1 -1
- package/collection/components/lmvz-snackbar/lmvz-snackbar.js +1 -1
- package/collection/components/lmvz-spinner/lmvz-spinner.css +40 -0
- package/collection/components/lmvz-spinner/lmvz-spinner.js +64 -0
- package/collection/components/lmvz-tab/lmvz-tab.js +1 -1
- package/collection/components/lmvz-tabs/lmvz-tabs.js +1 -1
- package/collection/components/lmvz-toggle/lmvz-toggle.js +1 -1
- package/collection/index.js +2 -1
- package/collection/integration/header-integration/header-integration.js +1 -1
- package/components/index.d.ts +4 -0
- package/components/index.d.ts.bak +4 -0
- package/components/index.js +1 -1
- package/components/lmvz-action.js +1 -1
- package/components/lmvz-button-group.js +1 -1
- package/components/lmvz-button.js +1 -1
- package/components/lmvz-card.js +1 -1
- package/components/lmvz-checkbox.js +1 -1
- package/components/lmvz-chip.js +1 -1
- package/components/lmvz-header.js +1 -1
- package/components/lmvz-icon.js +1 -1
- package/components/lmvz-input.js +1 -1
- package/components/lmvz-menuitem.js +1 -1
- package/components/lmvz-message.d.ts +11 -0
- package/components/lmvz-message.d.ts.bak +11 -0
- package/components/lmvz-message.js +1 -0
- package/components/lmvz-modal.js +1 -1
- package/components/lmvz-radio.js +1 -1
- package/components/lmvz-select.js +1 -1
- package/components/lmvz-snackbar.js +1 -1
- package/components/lmvz-spinner.d.ts +11 -0
- package/components/lmvz-spinner.d.ts.bak +11 -0
- package/components/lmvz-spinner.js +1 -0
- package/components/lmvz-tab.js +1 -1
- package/components/lmvz-tabs.js +1 -1
- package/components/lmvz-toggle.js +1 -1
- package/components/p-BSV3KDWl.js +1 -0
- package/components/{p-2VdcUIrr.js → p-C0f2nNPZ.js} +1 -1
- package/components/{p-BJEQw1Sz.js → p-C8znmF2h.js} +1 -1
- package/components/{p-DjvbwRyl.js → p-CXakymyP.js} +1 -1
- package/components/{p-0P2Wb3pE.js → p-DAMVH-31.js} +1 -1
- package/components/p-DGg7OzDl.js +1 -0
- package/components/{p-Cs7RCOHZ.js → p-DGlgVBPj.js} +1 -1
- package/components/p-DsT_K3_I.js +1 -0
- package/esm/{aria-validation-controller-D-KO0Asb.js → aria-validation-controller-BnyUKeJ6.js} +1 -1
- package/esm/close-sm-BSV3KDWl.js +3 -0
- package/esm/{ds.constants-HeV_qTCr.js → ds.constants-BTa7u4To.js} +2 -1
- package/esm/{index-CKYszC64.js → index-BPeerEwm.js} +26 -2
- package/esm/index.js +1 -1
- package/esm/lmvz-action.entry.js +1 -1
- package/esm/lmvz-button-group.entry.js +1 -1
- package/esm/lmvz-button_2.entry.js +2 -2
- package/esm/lmvz-card.entry.js +1 -1
- package/esm/lmvz-checkbox.entry.js +2 -2
- package/esm/lmvz-chip.entry.js +3 -3
- package/esm/lmvz-components.js +3 -3
- package/esm/lmvz-header_2.entry.js +2 -2
- package/esm/lmvz-input.entry.js +2 -2
- package/esm/lmvz-menuitem.entry.js +2 -2
- package/esm/lmvz-message.entry.js +76 -0
- package/esm/lmvz-modal.entry.js +4 -5
- package/esm/lmvz-radio.entry.js +3 -3
- package/esm/lmvz-select.entry.js +4 -4
- package/esm/lmvz-snackbar.entry.js +3 -6
- package/esm/lmvz-spinner.entry.js +18 -0
- package/esm/lmvz-tab.entry.js +2 -2
- package/esm/lmvz-tabs.entry.js +2 -2
- package/esm/lmvz-toggle.entry.js +3 -3
- package/esm/loader.js +3 -3
- package/esm/warning-DsT_K3_I.js +5 -0
- package/hydrate/index.js +149 -14
- package/hydrate/index.mjs +149 -14
- package/lmvz-components/index.esm.js +1 -1
- package/lmvz-components/lmvz-components.esm.js +1 -1
- package/lmvz-components/{p-bd23eab3.entry.js → p-02e8e45a.entry.js} +1 -1
- package/lmvz-components/{p-c6228cee.entry.js → p-3b3e532f.entry.js} +1 -1
- package/lmvz-components/{p-cb756f95.entry.js → p-44fea470.entry.js} +1 -1
- package/lmvz-components/p-45c3ccb6.entry.js +1 -0
- package/lmvz-components/{p-758dbb82.entry.js → p-4dc44520.entry.js} +1 -1
- package/lmvz-components/p-5c951888.entry.js +1 -0
- package/lmvz-components/{p-7b15cdce.entry.js → p-6a1c3088.entry.js} +1 -1
- package/lmvz-components/{p-c5c064f1.entry.js → p-80c6ec27.entry.js} +1 -1
- package/lmvz-components/p-84edbe53.entry.js +1 -0
- package/lmvz-components/p-85b0b718.entry.js +1 -0
- package/lmvz-components/{p-43b463bf.entry.js → p-877d0f3e.entry.js} +1 -1
- package/lmvz-components/p-8fc25ee2.entry.js +1 -0
- package/lmvz-components/{p-8874ff19.entry.js → p-98e3e85a.entry.js} +1 -1
- package/lmvz-components/p-BPeerEwm.js +2 -0
- package/lmvz-components/p-BSV3KDWl.js +1 -0
- package/lmvz-components/p-BTa7u4To.js +1 -0
- package/lmvz-components/{p-hRb38wX6.js → p-CPOia2kT.js} +1 -1
- package/lmvz-components/p-DsT_K3_I.js +1 -0
- package/lmvz-components/{p-25f045b2.entry.js → p-a4077c9f.entry.js} +1 -1
- package/lmvz-components/{p-a5c921dc.entry.js → p-d53f8afe.entry.js} +1 -1
- package/lmvz-components/{p-6de9981f.entry.js → p-e3ce44a3.entry.js} +1 -1
- package/lmvz-components/{p-6484fbc6.entry.js → p-e672c0fa.entry.js} +1 -1
- package/lmvz-components/p-fdb8de66.entry.js +1 -0
- package/manifest.json +350 -1
- package/package.json +9 -1
- package/types/api/ds.constants.d.ts +4 -0
- package/types/components/lmvz-message/lmvz-message.d.ts +20 -0
- package/types/components/lmvz-message/public.d.ts +1 -0
- package/types/components/lmvz-spinner/lmvz-spinner.d.ts +5 -0
- package/types/components.d.ts +105 -0
- package/types/index.d.ts +2 -1
- package/components/p-c7OzBK8f.js +0 -1
- package/lmvz-components/p-0a37e0f2.entry.js +0 -1
- package/lmvz-components/p-6988c3ea.entry.js +0 -1
- package/lmvz-components/p-CKYszC64.js +0 -2
- package/lmvz-components/p-HeV_qTCr.js +0 -1
- package/lmvz-components/p-da16ff58.entry.js +0 -1
- package/lmvz-components/p-fe607f10.entry.js +0 -1
package/manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-06-
|
|
2
|
+
"timestamp": "2026-06-15T08:54:54",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.43.5",
|
|
@@ -452,11 +452,15 @@
|
|
|
452
452
|
],
|
|
453
453
|
"states": [],
|
|
454
454
|
"dependents": [
|
|
455
|
+
"lmvz-message",
|
|
455
456
|
"lmvz-modal",
|
|
456
457
|
"lmvz-snackbar"
|
|
457
458
|
],
|
|
458
459
|
"dependencies": [],
|
|
459
460
|
"dependencyGraph": {
|
|
461
|
+
"lmvz-message": [
|
|
462
|
+
"lmvz-button"
|
|
463
|
+
],
|
|
460
464
|
"lmvz-modal": [
|
|
461
465
|
"lmvz-button"
|
|
462
466
|
],
|
|
@@ -1582,11 +1586,15 @@
|
|
|
1582
1586
|
"parts": [],
|
|
1583
1587
|
"states": [],
|
|
1584
1588
|
"dependents": [
|
|
1589
|
+
"lmvz-message",
|
|
1585
1590
|
"lmvz-modal",
|
|
1586
1591
|
"lmvz-snackbar"
|
|
1587
1592
|
],
|
|
1588
1593
|
"dependencies": [],
|
|
1589
1594
|
"dependencyGraph": {
|
|
1595
|
+
"lmvz-message": [
|
|
1596
|
+
"lmvz-icon"
|
|
1597
|
+
],
|
|
1590
1598
|
"lmvz-modal": [
|
|
1591
1599
|
"lmvz-icon"
|
|
1592
1600
|
],
|
|
@@ -5777,6 +5785,256 @@
|
|
|
5777
5785
|
"dependencies": [],
|
|
5778
5786
|
"dependencyGraph": {}
|
|
5779
5787
|
},
|
|
5788
|
+
{
|
|
5789
|
+
"filePath": "src/components/lmvz-message/lmvz-message.tsx",
|
|
5790
|
+
"encapsulation": "shadow",
|
|
5791
|
+
"tag": "lmvz-message",
|
|
5792
|
+
"readme": "# lmvz-message\n\nA static inline message block that displays contextual information to the user. Use messages to present non-blocking feedback, warnings, or informational content within the page flow (distinct from dismissable notifications like snackbars or toast messages).\n\n**Design source:** [Figma component node 11010:2344](https://www.figma.com/design/...)\n\n## Variant Scope\n\nThe message component currently supports `neutral` and `warning` type variants. The following variants are deferred to O1:\n\n- `success` — requires additional design specification for success-specific color and icon semantics\n- `error` — requires accessibility review of assertive live-region behavior in inline context\n- `neutral-grey` — requires token alignment and visual distinction guidelines relative to `neutral`\n\n## Type Semantics and Accessibility\n\nThe message's `type` prop controls visual appearance and can influence accessibility semantics:\n\n| Type | Default Icon | Color Token | Notes |\n|------|--------------|-------------|-------|\n| `neutral` | Info icon | `color-status-active` | Informational message. Note: The token name does not semantically align with \"neutral\"; this dissonance reflects current design token constraints and may be reconsidered in future iterations. |\n| `warning` | Warning icon | `color-status-warning` | Warning message requiring user attention. |\n\n## ARIA and Accessibility\n\n- The message host element has a dynamic `role` that changes with the `live` prop: `role=\"note\"` by default (non-live), `role=\"status\"` when `live=\"polite\"`, and `role=\"alert\"` when `live=\"assertive\"`.\n- The `live` prop is opt-in. When set, it controls live-region semantics through implicit role semantics: `live=\"polite\"` provides non-blocking announcements via `role=\"status\"`, `live=\"assertive\"` provides interrupting announcements via `role=\"alert\"`. The default `live=\"off\"` sets `role=\"note\"`, rendering the message as static content without live-region semantics.\n- The leading icon is marked `aria-hidden=\"true\"` because its information is redundant with the visual type indicator and color coding.\n- When `dismissible=\"true\"`, the dismiss button's accessible name is set via the `closeLabel` prop (default: `'Schliessen'`). Provide an appropriate, localized close label to ensure keyboard and screen-reader users can identify the button's purpose.\n- The optional action button uses its `actionLabel` text as its accessible name via native button semantics.\n\n## Content and Slots\n\nThe message component uses a **default slot** to accept inline content. Only inline-level HTML elements are permitted as direct slot children (e.g. `<strong>`, `<em>`, `<a>`, `<span>`, `<code>`). Block-level elements (`<div>`, `<p>`, `<h1>`–`<h6>`, etc.) are not allowed.\n\nWhen `@lmvz-ds/aria-validation` is enabled (development only), the component emits a `console.warn` for each block-level element tag encountered in the slot. This validation runs per render pass and does not fire in production builds.\n\n## Props\n\n| Prop | Type | Default | Description |\n|------|------|---------|-------------|\n| `type` | `'neutral' \\| 'warning'` | `'neutral'` | Message type controlling icon, color, and semantics. |\n| `live` | `'off' \\| 'polite' \\| 'assertive'` | `'off'` | Controls live-region semantics via implicit roles: `'off'` sets `role=\"note\"` (static content), `'polite'` sets `role=\"status\"` (polite live region), `'assertive'` sets `role=\"alert\"` (assertive live region). |\n| `leadingIcon` | `boolean` | `true` | Show the type-specific leading icon (info for neutral, warning triangle for warning). |\n| `dismissible` | `boolean` | `false` | Show the dismiss button. When `dismissible=\"true\"`, the `closeLabel` prop must be set to a meaningful, localized label. |\n| `closeLabel` | `string` | `'Schliessen'` | Accessible label for the dismiss button. Required and meaningful when `dismissible=\"true\"`. |\n| `actionLabel` | `string \\| undefined` | `undefined` | Optional action button label. When set, an action button is rendered. |\n\n## Events\n\n| Event | Type | Fired When |\n|-------|------|-----------|\n| `lmvzDismiss` | `CustomEvent<void>` | The user clicks the dismiss button (only emitted when `dismissible=\"true\"`). |\n| `lmvzAction` | `CustomEvent<void>` | The user clicks the action button (only emitted when `actionLabel` is set). |\n\n## Examples\n\n### Basic Neutral Message\n\n```html\n<lmvz-message type=\"neutral\" leadingIcon=\"true\">\n This is an informational message.\n</lmvz-message>\n```\n\n### Dismissible Warning\n\n```html\n<lmvz-message type=\"warning\" dismissible=\"true\" closeLabel=\"Dismiss\">\n Please review the following before proceeding.\n</lmvz-message>\n```\n\n```typescript\nconst message = document.querySelector('lmvz-message');\nmessage.addEventListener('lmvzDismiss', () => {\n console.log('Message dismissed');\n});\n```\n\n### Message with Action\n\n```html\n<lmvz-message type=\"neutral\" actionLabel=\"Extend\">\n Your session is about to expire.\n</lmvz-message>\n```\n\n```typescript\nconst message = document.querySelector('lmvz-message');\nmessage.addEventListener('lmvzAction', () => {\n console.log('User requested action');\n});\n```\n\n### Message with Inline Content\n\n```html\n<lmvz-message type=\"neutral\">\n Please visit <a href=\"/help\">our help page</a> for more information.\n</lmvz-message>\n```\n\nOnly inline elements like `<a>`, `<strong>`, and `<em>` are permitted in the slot. Block-level elements are not allowed.\n\n### Live Region (Screen Reader Announcement)\n\n```html\n<lmvz-message type=\"warning\" live=\"polite\">\n A warning has been detected.\n</lmvz-message>\n```\n\nWhen `live` is set to `polite` or `assertive`, the message is announced to screen readers at the appropriate politeness level.\n",
|
|
5793
|
+
"docs": "A static inline message block that displays contextual information to the user. Use messages to present non-blocking feedback, warnings, or informational content within the page flow (distinct from dismissable notifications like snackbars or toast messages).\n\n**Design source:** [Figma component node 11010:2344](https://www.figma.com/design/...)",
|
|
5794
|
+
"docsTags": [],
|
|
5795
|
+
"usage": {},
|
|
5796
|
+
"props": [
|
|
5797
|
+
{
|
|
5798
|
+
"name": "actionLabel",
|
|
5799
|
+
"type": "string | undefined",
|
|
5800
|
+
"complexType": {
|
|
5801
|
+
"original": "string",
|
|
5802
|
+
"resolved": "string | undefined",
|
|
5803
|
+
"references": {}
|
|
5804
|
+
},
|
|
5805
|
+
"mutable": false,
|
|
5806
|
+
"attr": "action-label",
|
|
5807
|
+
"reflectToAttr": false,
|
|
5808
|
+
"docs": "",
|
|
5809
|
+
"docsTags": [],
|
|
5810
|
+
"values": [
|
|
5811
|
+
{
|
|
5812
|
+
"type": "string"
|
|
5813
|
+
},
|
|
5814
|
+
{
|
|
5815
|
+
"type": "undefined"
|
|
5816
|
+
}
|
|
5817
|
+
],
|
|
5818
|
+
"optional": true,
|
|
5819
|
+
"required": false,
|
|
5820
|
+
"getter": false,
|
|
5821
|
+
"setter": false
|
|
5822
|
+
},
|
|
5823
|
+
{
|
|
5824
|
+
"name": "closeLabel",
|
|
5825
|
+
"type": "string",
|
|
5826
|
+
"complexType": {
|
|
5827
|
+
"original": "string",
|
|
5828
|
+
"resolved": "string",
|
|
5829
|
+
"references": {}
|
|
5830
|
+
},
|
|
5831
|
+
"mutable": false,
|
|
5832
|
+
"attr": "close-label",
|
|
5833
|
+
"reflectToAttr": false,
|
|
5834
|
+
"docs": "",
|
|
5835
|
+
"docsTags": [
|
|
5836
|
+
{
|
|
5837
|
+
"name": "default",
|
|
5838
|
+
"text": "'Schliessen'"
|
|
5839
|
+
}
|
|
5840
|
+
],
|
|
5841
|
+
"default": "'Schliessen'",
|
|
5842
|
+
"values": [
|
|
5843
|
+
{
|
|
5844
|
+
"type": "string"
|
|
5845
|
+
}
|
|
5846
|
+
],
|
|
5847
|
+
"optional": false,
|
|
5848
|
+
"required": false,
|
|
5849
|
+
"getter": false,
|
|
5850
|
+
"setter": false
|
|
5851
|
+
},
|
|
5852
|
+
{
|
|
5853
|
+
"name": "dismissible",
|
|
5854
|
+
"type": "boolean",
|
|
5855
|
+
"complexType": {
|
|
5856
|
+
"original": "boolean",
|
|
5857
|
+
"resolved": "boolean",
|
|
5858
|
+
"references": {}
|
|
5859
|
+
},
|
|
5860
|
+
"mutable": false,
|
|
5861
|
+
"attr": "dismissible",
|
|
5862
|
+
"reflectToAttr": false,
|
|
5863
|
+
"docs": "",
|
|
5864
|
+
"docsTags": [
|
|
5865
|
+
{
|
|
5866
|
+
"name": "default",
|
|
5867
|
+
"text": "false"
|
|
5868
|
+
}
|
|
5869
|
+
],
|
|
5870
|
+
"default": "false",
|
|
5871
|
+
"values": [
|
|
5872
|
+
{
|
|
5873
|
+
"type": "boolean"
|
|
5874
|
+
}
|
|
5875
|
+
],
|
|
5876
|
+
"optional": false,
|
|
5877
|
+
"required": false,
|
|
5878
|
+
"getter": false,
|
|
5879
|
+
"setter": false
|
|
5880
|
+
},
|
|
5881
|
+
{
|
|
5882
|
+
"name": "leadingIcon",
|
|
5883
|
+
"type": "boolean",
|
|
5884
|
+
"complexType": {
|
|
5885
|
+
"original": "boolean",
|
|
5886
|
+
"resolved": "boolean",
|
|
5887
|
+
"references": {}
|
|
5888
|
+
},
|
|
5889
|
+
"mutable": false,
|
|
5890
|
+
"attr": "leading-icon",
|
|
5891
|
+
"reflectToAttr": false,
|
|
5892
|
+
"docs": "",
|
|
5893
|
+
"docsTags": [
|
|
5894
|
+
{
|
|
5895
|
+
"name": "default",
|
|
5896
|
+
"text": "true"
|
|
5897
|
+
}
|
|
5898
|
+
],
|
|
5899
|
+
"default": "true",
|
|
5900
|
+
"values": [
|
|
5901
|
+
{
|
|
5902
|
+
"type": "boolean"
|
|
5903
|
+
}
|
|
5904
|
+
],
|
|
5905
|
+
"optional": false,
|
|
5906
|
+
"required": false,
|
|
5907
|
+
"getter": false,
|
|
5908
|
+
"setter": false
|
|
5909
|
+
},
|
|
5910
|
+
{
|
|
5911
|
+
"name": "live",
|
|
5912
|
+
"type": "\"assertive\" | \"off\" | \"polite\"",
|
|
5913
|
+
"complexType": {
|
|
5914
|
+
"original": "'off' | 'polite' | 'assertive'",
|
|
5915
|
+
"resolved": "\"assertive\" | \"off\" | \"polite\"",
|
|
5916
|
+
"references": {}
|
|
5917
|
+
},
|
|
5918
|
+
"mutable": false,
|
|
5919
|
+
"attr": "live",
|
|
5920
|
+
"reflectToAttr": false,
|
|
5921
|
+
"docs": "",
|
|
5922
|
+
"docsTags": [
|
|
5923
|
+
{
|
|
5924
|
+
"name": "default",
|
|
5925
|
+
"text": "'off'"
|
|
5926
|
+
}
|
|
5927
|
+
],
|
|
5928
|
+
"default": "'off'",
|
|
5929
|
+
"values": [
|
|
5930
|
+
{
|
|
5931
|
+
"value": "assertive",
|
|
5932
|
+
"type": "string"
|
|
5933
|
+
},
|
|
5934
|
+
{
|
|
5935
|
+
"value": "off",
|
|
5936
|
+
"type": "string"
|
|
5937
|
+
},
|
|
5938
|
+
{
|
|
5939
|
+
"value": "polite",
|
|
5940
|
+
"type": "string"
|
|
5941
|
+
}
|
|
5942
|
+
],
|
|
5943
|
+
"optional": false,
|
|
5944
|
+
"required": false,
|
|
5945
|
+
"getter": false,
|
|
5946
|
+
"setter": false
|
|
5947
|
+
},
|
|
5948
|
+
{
|
|
5949
|
+
"name": "type",
|
|
5950
|
+
"type": "\"neutral\" | \"warning\"",
|
|
5951
|
+
"complexType": {
|
|
5952
|
+
"original": "Message.Type",
|
|
5953
|
+
"resolved": "\"neutral\" | \"warning\"",
|
|
5954
|
+
"references": {
|
|
5955
|
+
"Message": {
|
|
5956
|
+
"location": "import",
|
|
5957
|
+
"path": "../../api",
|
|
5958
|
+
"id": "src/api/index.d.ts::Message",
|
|
5959
|
+
"referenceLocation": "Message"
|
|
5960
|
+
}
|
|
5961
|
+
}
|
|
5962
|
+
},
|
|
5963
|
+
"mutable": false,
|
|
5964
|
+
"attr": "type",
|
|
5965
|
+
"reflectToAttr": true,
|
|
5966
|
+
"docs": "",
|
|
5967
|
+
"docsTags": [
|
|
5968
|
+
{
|
|
5969
|
+
"name": "default",
|
|
5970
|
+
"text": "'neutral'"
|
|
5971
|
+
}
|
|
5972
|
+
],
|
|
5973
|
+
"default": "'neutral'",
|
|
5974
|
+
"values": [
|
|
5975
|
+
{
|
|
5976
|
+
"value": "neutral",
|
|
5977
|
+
"type": "string"
|
|
5978
|
+
},
|
|
5979
|
+
{
|
|
5980
|
+
"value": "warning",
|
|
5981
|
+
"type": "string"
|
|
5982
|
+
}
|
|
5983
|
+
],
|
|
5984
|
+
"optional": false,
|
|
5985
|
+
"required": false,
|
|
5986
|
+
"getter": false,
|
|
5987
|
+
"setter": false
|
|
5988
|
+
}
|
|
5989
|
+
],
|
|
5990
|
+
"methods": [],
|
|
5991
|
+
"events": [
|
|
5992
|
+
{
|
|
5993
|
+
"event": "lmvzAction",
|
|
5994
|
+
"detail": "void",
|
|
5995
|
+
"bubbles": true,
|
|
5996
|
+
"complexType": {
|
|
5997
|
+
"original": "void",
|
|
5998
|
+
"resolved": "void",
|
|
5999
|
+
"references": {}
|
|
6000
|
+
},
|
|
6001
|
+
"cancelable": false,
|
|
6002
|
+
"composed": true,
|
|
6003
|
+
"docs": "",
|
|
6004
|
+
"docsTags": []
|
|
6005
|
+
},
|
|
6006
|
+
{
|
|
6007
|
+
"event": "lmvzDismiss",
|
|
6008
|
+
"detail": "void",
|
|
6009
|
+
"bubbles": true,
|
|
6010
|
+
"complexType": {
|
|
6011
|
+
"original": "void",
|
|
6012
|
+
"resolved": "void",
|
|
6013
|
+
"references": {}
|
|
6014
|
+
},
|
|
6015
|
+
"cancelable": false,
|
|
6016
|
+
"composed": true,
|
|
6017
|
+
"docs": "",
|
|
6018
|
+
"docsTags": []
|
|
6019
|
+
}
|
|
6020
|
+
],
|
|
6021
|
+
"listeners": [],
|
|
6022
|
+
"styles": [],
|
|
6023
|
+
"slots": [],
|
|
6024
|
+
"parts": [],
|
|
6025
|
+
"states": [],
|
|
6026
|
+
"dependents": [],
|
|
6027
|
+
"dependencies": [
|
|
6028
|
+
"lmvz-button",
|
|
6029
|
+
"lmvz-icon"
|
|
6030
|
+
],
|
|
6031
|
+
"dependencyGraph": {
|
|
6032
|
+
"lmvz-message": [
|
|
6033
|
+
"lmvz-button",
|
|
6034
|
+
"lmvz-icon"
|
|
6035
|
+
]
|
|
6036
|
+
}
|
|
6037
|
+
},
|
|
5780
6038
|
{
|
|
5781
6039
|
"filePath": "src/components/lmvz-modal/lmvz-modal.tsx",
|
|
5782
6040
|
"encapsulation": "shadow",
|
|
@@ -6818,6 +7076,92 @@
|
|
|
6818
7076
|
]
|
|
6819
7077
|
}
|
|
6820
7078
|
},
|
|
7079
|
+
{
|
|
7080
|
+
"filePath": "src/components/lmvz-spinner/lmvz-spinner.tsx",
|
|
7081
|
+
"encapsulation": "shadow",
|
|
7082
|
+
"tag": "lmvz-spinner",
|
|
7083
|
+
"readme": "# lmvz-spinner\n\n\n",
|
|
7084
|
+
"docs": "`lmvz-spinner` is an indeterminate progress indicator that signals an ongoing background operation.\n\nSet `aria-label` when the spinner is the primary loading indicator in its context.\nOmit it when decorative (e.g., inside a button that already announces its loading state).",
|
|
7085
|
+
"docsTags": [],
|
|
7086
|
+
"usage": {},
|
|
7087
|
+
"props": [
|
|
7088
|
+
{
|
|
7089
|
+
"name": "ariaLabel",
|
|
7090
|
+
"type": "string | undefined",
|
|
7091
|
+
"complexType": {
|
|
7092
|
+
"original": "string",
|
|
7093
|
+
"resolved": "string | undefined",
|
|
7094
|
+
"references": {}
|
|
7095
|
+
},
|
|
7096
|
+
"mutable": false,
|
|
7097
|
+
"attr": "aria-label",
|
|
7098
|
+
"reflectToAttr": true,
|
|
7099
|
+
"docs": "Accessible name for assistive technology.\nLeave unset for decorative spinners so the element stays hidden from the accessibility tree.",
|
|
7100
|
+
"docsTags": [],
|
|
7101
|
+
"values": [
|
|
7102
|
+
{
|
|
7103
|
+
"type": "string"
|
|
7104
|
+
},
|
|
7105
|
+
{
|
|
7106
|
+
"type": "undefined"
|
|
7107
|
+
}
|
|
7108
|
+
],
|
|
7109
|
+
"optional": true,
|
|
7110
|
+
"required": false,
|
|
7111
|
+
"getter": false,
|
|
7112
|
+
"setter": false
|
|
7113
|
+
},
|
|
7114
|
+
{
|
|
7115
|
+
"name": "size",
|
|
7116
|
+
"type": "\"large\" | \"small\"",
|
|
7117
|
+
"complexType": {
|
|
7118
|
+
"original": "'small' | 'large'",
|
|
7119
|
+
"resolved": "\"large\" | \"small\"",
|
|
7120
|
+
"references": {}
|
|
7121
|
+
},
|
|
7122
|
+
"mutable": false,
|
|
7123
|
+
"attr": "size",
|
|
7124
|
+
"reflectToAttr": true,
|
|
7125
|
+
"docs": "Size of the spinner.",
|
|
7126
|
+
"docsTags": [
|
|
7127
|
+
{
|
|
7128
|
+
"name": "default",
|
|
7129
|
+
"text": "'small'"
|
|
7130
|
+
}
|
|
7131
|
+
],
|
|
7132
|
+
"default": "'small'",
|
|
7133
|
+
"values": [
|
|
7134
|
+
{
|
|
7135
|
+
"value": "large",
|
|
7136
|
+
"type": "string"
|
|
7137
|
+
},
|
|
7138
|
+
{
|
|
7139
|
+
"value": "small",
|
|
7140
|
+
"type": "string"
|
|
7141
|
+
}
|
|
7142
|
+
],
|
|
7143
|
+
"optional": false,
|
|
7144
|
+
"required": false,
|
|
7145
|
+
"getter": false,
|
|
7146
|
+
"setter": false
|
|
7147
|
+
}
|
|
7148
|
+
],
|
|
7149
|
+
"methods": [],
|
|
7150
|
+
"events": [],
|
|
7151
|
+
"listeners": [],
|
|
7152
|
+
"styles": [],
|
|
7153
|
+
"slots": [],
|
|
7154
|
+
"parts": [
|
|
7155
|
+
{
|
|
7156
|
+
"name": "indicator",
|
|
7157
|
+
"docs": ""
|
|
7158
|
+
}
|
|
7159
|
+
],
|
|
7160
|
+
"states": [],
|
|
7161
|
+
"dependents": [],
|
|
7162
|
+
"dependencies": [],
|
|
7163
|
+
"dependencyGraph": {}
|
|
7164
|
+
},
|
|
6821
7165
|
{
|
|
6822
7166
|
"filePath": "src/components/lmvz-tab/lmvz-tab.tsx",
|
|
6823
7167
|
"encapsulation": "shadow",
|
|
@@ -7590,6 +7934,11 @@
|
|
|
7590
7934
|
"docstring": "",
|
|
7591
7935
|
"path": "src/api/index.d.ts"
|
|
7592
7936
|
},
|
|
7937
|
+
"src/api/index.d.ts::Message": {
|
|
7938
|
+
"declaration": "any",
|
|
7939
|
+
"docstring": "",
|
|
7940
|
+
"path": "src/api/index.d.ts"
|
|
7941
|
+
},
|
|
7593
7942
|
"src/api/index.d.ts::Snackbar": {
|
|
7594
7943
|
"declaration": "any",
|
|
7595
7944
|
"docstring": "",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmvz-ds/components",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.28.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "The components of the design system",
|
|
7
7
|
"author": "Patrick Nemenz <patrick.nemenz@adesso.at>",
|
|
@@ -99,6 +99,14 @@
|
|
|
99
99
|
"./lmvz-radio": {
|
|
100
100
|
"import": "./components/lmvz-radio.js",
|
|
101
101
|
"types": "./components/lmvz-radio.d.ts"
|
|
102
|
+
},
|
|
103
|
+
"./lmvz-message": {
|
|
104
|
+
"import": "./components/lmvz-message.js",
|
|
105
|
+
"types": "./components/lmvz-message.d.ts"
|
|
106
|
+
},
|
|
107
|
+
"./lmvz-spinner": {
|
|
108
|
+
"import": "./components/lmvz-spinner.js",
|
|
109
|
+
"types": "./components/lmvz-spinner.d.ts"
|
|
102
110
|
}
|
|
103
111
|
},
|
|
104
112
|
"main": "./index.cjs.js",
|
|
@@ -34,6 +34,10 @@ export declare namespace Input {
|
|
|
34
34
|
type Inputmode = 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
35
35
|
type Autocapitalize = 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
|
|
36
36
|
}
|
|
37
|
+
export declare const messageTypes: readonly ["neutral", "warning"];
|
|
38
|
+
export declare namespace Message {
|
|
39
|
+
type Type = (typeof messageTypes)[number];
|
|
40
|
+
}
|
|
37
41
|
export declare const snackbarStatuses: readonly ["success", "warning", "error"];
|
|
38
42
|
export declare const snackbarPriorities: readonly ["low", "normal", "high"];
|
|
39
43
|
export declare const snackbarDismissReasons: readonly ["timeout", "manual", "action", "overridden", "swallowed"];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import type { Message } from '../../api';
|
|
3
|
+
export declare class LmvzMessage {
|
|
4
|
+
private messageSlot?;
|
|
5
|
+
private readonly warnedTags;
|
|
6
|
+
type: Message.Type;
|
|
7
|
+
live: 'off' | 'polite' | 'assertive';
|
|
8
|
+
leadingIcon: boolean;
|
|
9
|
+
dismissible: boolean;
|
|
10
|
+
closeLabel: string;
|
|
11
|
+
actionLabel?: string;
|
|
12
|
+
lmvzDismiss: EventEmitter<void>;
|
|
13
|
+
lmvzAction: EventEmitter<void>;
|
|
14
|
+
componentDidLoad(): void;
|
|
15
|
+
private readonly handleDismissClick;
|
|
16
|
+
private readonly handleActionClick;
|
|
17
|
+
private readonly handleSlotChange;
|
|
18
|
+
private checkSlotContent;
|
|
19
|
+
render(): any;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { Message } from '../../api';
|
package/types/components.d.ts
CHANGED
|
@@ -391,6 +391,29 @@ export declare namespace Components {
|
|
|
391
391
|
*/
|
|
392
392
|
"ti": number;
|
|
393
393
|
}
|
|
394
|
+
export interface LmvzMessage {
|
|
395
|
+
"actionLabel"?: string;
|
|
396
|
+
/**
|
|
397
|
+
* @default 'Schliessen'
|
|
398
|
+
*/
|
|
399
|
+
"closeLabel": string;
|
|
400
|
+
/**
|
|
401
|
+
* @default false
|
|
402
|
+
*/
|
|
403
|
+
"dismissible": boolean;
|
|
404
|
+
/**
|
|
405
|
+
* @default true
|
|
406
|
+
*/
|
|
407
|
+
"leadingIcon": boolean;
|
|
408
|
+
/**
|
|
409
|
+
* @default 'off'
|
|
410
|
+
*/
|
|
411
|
+
"live": 'off' | 'polite' | 'assertive';
|
|
412
|
+
/**
|
|
413
|
+
* @default 'neutral'
|
|
414
|
+
*/
|
|
415
|
+
"type": Message.Type;
|
|
416
|
+
}
|
|
394
417
|
/**
|
|
395
418
|
* Native dialog-backed modal with inline `header`, body, and `actions` regions.
|
|
396
419
|
* The implementation intentionally ignores Figma preview container sizes and instead sizes against the viewport plus LMVZ spacing tokens.
|
|
@@ -549,6 +572,22 @@ export declare namespace Components {
|
|
|
549
572
|
*/
|
|
550
573
|
"status": Snackbar.Status;
|
|
551
574
|
}
|
|
575
|
+
/**
|
|
576
|
+
* `lmvz-spinner` is an indeterminate progress indicator that signals an ongoing background operation.
|
|
577
|
+
* Set `aria-label` when the spinner is the primary loading indicator in its context.
|
|
578
|
+
* Omit it when decorative (e.g., inside a button that already announces its loading state).
|
|
579
|
+
*/
|
|
580
|
+
export interface LmvzSpinner {
|
|
581
|
+
/**
|
|
582
|
+
* Accessible name for assistive technology. Leave unset for decorative spinners so the element stays hidden from the accessibility tree.
|
|
583
|
+
*/
|
|
584
|
+
"ariaLabel"?: string;
|
|
585
|
+
/**
|
|
586
|
+
* Size of the spinner.
|
|
587
|
+
* @default 'small'
|
|
588
|
+
*/
|
|
589
|
+
"size": 'small' | 'large';
|
|
590
|
+
}
|
|
552
591
|
/**
|
|
553
592
|
* The tab trigger primitive. Must be used as a direct child of `lmvz-tabs`.
|
|
554
593
|
* Selection state, ARIA semantics (tablist/tab/tabpanel), keyboard management,
|
|
@@ -1065,6 +1104,31 @@ export declare namespace JSX {
|
|
|
1065
1104
|
*/
|
|
1066
1105
|
"ti"?: number;
|
|
1067
1106
|
}
|
|
1107
|
+
export interface LmvzMessage {
|
|
1108
|
+
"actionLabel"?: string;
|
|
1109
|
+
/**
|
|
1110
|
+
* @default 'Schliessen'
|
|
1111
|
+
*/
|
|
1112
|
+
"closeLabel"?: string;
|
|
1113
|
+
/**
|
|
1114
|
+
* @default false
|
|
1115
|
+
*/
|
|
1116
|
+
"dismissible"?: boolean;
|
|
1117
|
+
/**
|
|
1118
|
+
* @default true
|
|
1119
|
+
*/
|
|
1120
|
+
"leadingIcon"?: boolean;
|
|
1121
|
+
/**
|
|
1122
|
+
* @default 'off'
|
|
1123
|
+
*/
|
|
1124
|
+
"live"?: 'off' | 'polite' | 'assertive';
|
|
1125
|
+
"onLmvzAction"?: (event: LmvzMessageCustomEvent<void>) => void;
|
|
1126
|
+
"onLmvzDismiss"?: (event: LmvzMessageCustomEvent<void>) => void;
|
|
1127
|
+
/**
|
|
1128
|
+
* @default 'neutral'
|
|
1129
|
+
*/
|
|
1130
|
+
"type"?: Message.Type;
|
|
1131
|
+
}
|
|
1068
1132
|
/**
|
|
1069
1133
|
* Native dialog-backed modal with inline `header`, body, and `actions` regions.
|
|
1070
1134
|
* The implementation intentionally ignores Figma preview container sizes and instead sizes against the viewport plus LMVZ spacing tokens.
|
|
@@ -1230,6 +1294,22 @@ export declare namespace JSX {
|
|
|
1230
1294
|
*/
|
|
1231
1295
|
"status"?: Snackbar.Status;
|
|
1232
1296
|
}
|
|
1297
|
+
/**
|
|
1298
|
+
* `lmvz-spinner` is an indeterminate progress indicator that signals an ongoing background operation.
|
|
1299
|
+
* Set `aria-label` when the spinner is the primary loading indicator in its context.
|
|
1300
|
+
* Omit it when decorative (e.g., inside a button that already announces its loading state).
|
|
1301
|
+
*/
|
|
1302
|
+
export interface LmvzSpinner {
|
|
1303
|
+
/**
|
|
1304
|
+
* Accessible name for assistive technology. Leave unset for decorative spinners so the element stays hidden from the accessibility tree.
|
|
1305
|
+
*/
|
|
1306
|
+
"ariaLabel"?: string;
|
|
1307
|
+
/**
|
|
1308
|
+
* Size of the spinner.
|
|
1309
|
+
* @default 'small'
|
|
1310
|
+
*/
|
|
1311
|
+
"size"?: 'small' | 'large';
|
|
1312
|
+
}
|
|
1233
1313
|
/**
|
|
1234
1314
|
* The tab trigger primitive. Must be used as a direct child of `lmvz-tabs`.
|
|
1235
1315
|
* Selection state, ARIA semantics (tablist/tab/tabpanel), keyboard management,
|
|
@@ -1417,6 +1497,14 @@ export declare namespace JSX {
|
|
|
1417
1497
|
"role": string;
|
|
1418
1498
|
"ti": number;
|
|
1419
1499
|
}
|
|
1500
|
+
export interface LmvzMessageAttributes {
|
|
1501
|
+
"type": Message.Type;
|
|
1502
|
+
"live": 'off' | 'polite' | 'assertive';
|
|
1503
|
+
"leadingIcon": boolean;
|
|
1504
|
+
"dismissible": boolean;
|
|
1505
|
+
"closeLabel": string;
|
|
1506
|
+
"actionLabel": string;
|
|
1507
|
+
}
|
|
1420
1508
|
export interface LmvzModalAttributes {
|
|
1421
1509
|
"open": boolean;
|
|
1422
1510
|
"closeLabel": string;
|
|
@@ -1448,6 +1536,10 @@ export declare namespace JSX {
|
|
|
1448
1536
|
"priority": Snackbar.Priority;
|
|
1449
1537
|
"actionLabel": string;
|
|
1450
1538
|
}
|
|
1539
|
+
export interface LmvzSpinnerAttributes {
|
|
1540
|
+
"size": 'small' | 'large';
|
|
1541
|
+
"ariaLabel": string;
|
|
1542
|
+
}
|
|
1451
1543
|
export interface LmvzTabAttributes {
|
|
1452
1544
|
"value": string;
|
|
1453
1545
|
"disabled": boolean;
|
|
@@ -1479,10 +1571,12 @@ export declare namespace JSX {
|
|
|
1479
1571
|
"lmvz-icon": Omit<LmvzIcon, keyof LmvzIconAttributes> & { [K in keyof LmvzIcon & keyof LmvzIconAttributes]?: LmvzIcon[K] } & { [K in keyof LmvzIcon & keyof LmvzIconAttributes as `attr:${K}`]?: LmvzIconAttributes[K] } & { [K in keyof LmvzIcon & keyof LmvzIconAttributes as `prop:${K}`]?: LmvzIcon[K] } & OneOf<"icon", LmvzIcon["icon"], LmvzIconAttributes["icon"]>;
|
|
1480
1572
|
"lmvz-input": Omit<LmvzInput, keyof LmvzInputAttributes> & { [K in keyof LmvzInput & keyof LmvzInputAttributes]?: LmvzInput[K] } & { [K in keyof LmvzInput & keyof LmvzInputAttributes as `attr:${K}`]?: LmvzInputAttributes[K] } & { [K in keyof LmvzInput & keyof LmvzInputAttributes as `prop:${K}`]?: LmvzInput[K] } & OneOf<"label", LmvzInput["label"], LmvzInputAttributes["label"]>;
|
|
1481
1573
|
"lmvz-menuitem": Omit<LmvzMenuitem, keyof LmvzMenuitemAttributes> & { [K in keyof LmvzMenuitem & keyof LmvzMenuitemAttributes]?: LmvzMenuitem[K] } & { [K in keyof LmvzMenuitem & keyof LmvzMenuitemAttributes as `attr:${K}`]?: LmvzMenuitemAttributes[K] } & { [K in keyof LmvzMenuitem & keyof LmvzMenuitemAttributes as `prop:${K}`]?: LmvzMenuitem[K] };
|
|
1574
|
+
"lmvz-message": Omit<LmvzMessage, keyof LmvzMessageAttributes> & { [K in keyof LmvzMessage & keyof LmvzMessageAttributes]?: LmvzMessage[K] } & { [K in keyof LmvzMessage & keyof LmvzMessageAttributes as `attr:${K}`]?: LmvzMessageAttributes[K] } & { [K in keyof LmvzMessage & keyof LmvzMessageAttributes as `prop:${K}`]?: LmvzMessage[K] };
|
|
1482
1575
|
"lmvz-modal": Omit<LmvzModal, keyof LmvzModalAttributes> & { [K in keyof LmvzModal & keyof LmvzModalAttributes]?: LmvzModal[K] } & { [K in keyof LmvzModal & keyof LmvzModalAttributes as `attr:${K}`]?: LmvzModalAttributes[K] } & { [K in keyof LmvzModal & keyof LmvzModalAttributes as `prop:${K}`]?: LmvzModal[K] };
|
|
1483
1576
|
"lmvz-radio": Omit<LmvzRadio, keyof LmvzRadioAttributes> & { [K in keyof LmvzRadio & keyof LmvzRadioAttributes]?: LmvzRadio[K] } & { [K in keyof LmvzRadio & keyof LmvzRadioAttributes as `attr:${K}`]?: LmvzRadioAttributes[K] } & { [K in keyof LmvzRadio & keyof LmvzRadioAttributes as `prop:${K}`]?: LmvzRadio[K] } & OneOf<"label", LmvzRadio["label"], LmvzRadioAttributes["label"]>;
|
|
1484
1577
|
"lmvz-select": Omit<LmvzSelect, keyof LmvzSelectAttributes> & { [K in keyof LmvzSelect & keyof LmvzSelectAttributes]?: LmvzSelect[K] } & { [K in keyof LmvzSelect & keyof LmvzSelectAttributes as `attr:${K}`]?: LmvzSelectAttributes[K] } & { [K in keyof LmvzSelect & keyof LmvzSelectAttributes as `prop:${K}`]?: LmvzSelect[K] } & OneOf<"label", LmvzSelect["label"], LmvzSelectAttributes["label"]>;
|
|
1485
1578
|
"lmvz-snackbar": Omit<LmvzSnackbar, keyof LmvzSnackbarAttributes> & { [K in keyof LmvzSnackbar & keyof LmvzSnackbarAttributes]?: LmvzSnackbar[K] } & { [K in keyof LmvzSnackbar & keyof LmvzSnackbarAttributes as `attr:${K}`]?: LmvzSnackbarAttributes[K] } & { [K in keyof LmvzSnackbar & keyof LmvzSnackbarAttributes as `prop:${K}`]?: LmvzSnackbar[K] };
|
|
1579
|
+
"lmvz-spinner": Omit<LmvzSpinner, keyof LmvzSpinnerAttributes> & { [K in keyof LmvzSpinner & keyof LmvzSpinnerAttributes]?: LmvzSpinner[K] } & { [K in keyof LmvzSpinner & keyof LmvzSpinnerAttributes as `attr:${K}`]?: LmvzSpinnerAttributes[K] } & { [K in keyof LmvzSpinner & keyof LmvzSpinnerAttributes as `prop:${K}`]?: LmvzSpinner[K] };
|
|
1486
1580
|
"lmvz-tab": Omit<LmvzTab, keyof LmvzTabAttributes> & { [K in keyof LmvzTab & keyof LmvzTabAttributes]?: LmvzTab[K] } & { [K in keyof LmvzTab & keyof LmvzTabAttributes as `attr:${K}`]?: LmvzTabAttributes[K] } & { [K in keyof LmvzTab & keyof LmvzTabAttributes as `prop:${K}`]?: LmvzTab[K] } & OneOf<"value", LmvzTab["value"], LmvzTabAttributes["value"]>;
|
|
1487
1581
|
"lmvz-tabs": Omit<LmvzTabs, keyof LmvzTabsAttributes> & { [K in keyof LmvzTabs & keyof LmvzTabsAttributes]?: LmvzTabs[K] } & { [K in keyof LmvzTabs & keyof LmvzTabsAttributes as `attr:${K}`]?: LmvzTabsAttributes[K] } & { [K in keyof LmvzTabs & keyof LmvzTabsAttributes as `prop:${K}`]?: LmvzTabs[K] } & OneOf<"value", LmvzTabs["value"], LmvzTabsAttributes["value"]>;
|
|
1488
1582
|
"lmvz-toggle": Omit<LmvzToggle, keyof LmvzToggleAttributes> & { [K in keyof LmvzToggle & keyof LmvzToggleAttributes]?: LmvzToggle[K] } & { [K in keyof LmvzToggle & keyof LmvzToggleAttributes as `attr:${K}`]?: LmvzToggleAttributes[K] } & { [K in keyof LmvzToggle & keyof LmvzToggleAttributes as `prop:${K}`]?: LmvzToggle[K] } & OneOf<"label", LmvzToggle["label"], LmvzToggleAttributes["label"]>;
|
|
@@ -1524,6 +1618,11 @@ export declare interface LmvzMenuitemCustomEvent<T> extends CustomEvent<T> {
|
|
|
1524
1618
|
target: HTMLLmvzMenuitemElement;
|
|
1525
1619
|
}
|
|
1526
1620
|
|
|
1621
|
+
export declare interface LmvzMessageCustomEvent<T> extends CustomEvent<T> {
|
|
1622
|
+
detail: T;
|
|
1623
|
+
target: HTMLLmvzMessageElement;
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1527
1626
|
export declare interface LmvzModalCustomEvent<T> extends CustomEvent<T> {
|
|
1528
1627
|
detail: T;
|
|
1529
1628
|
target: HTMLLmvzModalElement;
|
|
@@ -1554,6 +1653,12 @@ export declare interface LmvzToggleCustomEvent<T> extends CustomEvent<T> {
|
|
|
1554
1653
|
target: HTMLLmvzToggleElement;
|
|
1555
1654
|
}
|
|
1556
1655
|
|
|
1656
|
+
export declare namespace Message {
|
|
1657
|
+
export type Type = (typeof messageTypes)[number];
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
declare const messageTypes: readonly ["neutral", "warning"];
|
|
1661
|
+
|
|
1557
1662
|
declare const scaleValues: readonly ["small", "default", "large"];
|
|
1558
1663
|
|
|
1559
1664
|
declare const sizes: readonly ["xs", "sm", "md", "lg"];
|
package/types/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from '@lmvz-ds/aria-validation';
|
|
2
2
|
export type * from './components.d.ts';
|
|
3
|
-
export { chipSizes, chipTypes, iconSizes, iconWeights, inputSizes, inputTypes, textSizes } from './api/ds.constants';
|
|
3
|
+
export { chipSizes, chipTypes, iconSizes, iconWeights, inputSizes, inputTypes, messageTypes, textSizes } from './api/ds.constants';
|
|
4
4
|
export type { LmvzDS, Typography } from './api';
|
|
5
|
+
export * from './components/lmvz-message/public';
|
|
5
6
|
export * from './components/lmvz-snackbar/public';
|
|
6
7
|
export * from './utils/public';
|