@maggioli-design-system/magma-react 1.4.0 → 1.5.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.
@@ -67,8 +67,8 @@ import { MdsPriceTableListItem as MdsPriceTableListItemElement, defineCustomElem
67
67
  import { MdsPriceTableList as MdsPriceTableListElement, defineCustomElement as defineMdsPriceTableList } from "@maggioli-design-system/magma/dist/components/mds-price-table-list.js";
68
68
  import { MdsPriceTable as MdsPriceTableElement, defineCustomElement as defineMdsPriceTable } from "@maggioli-design-system/magma/dist/components/mds-price-table.js";
69
69
  import { MdsProgress as MdsProgressElement, defineCustomElement as defineMdsProgress } from "@maggioli-design-system/magma/dist/components/mds-progress.js";
70
+ import { MdsPushNotificationItem as MdsPushNotificationItemElement, defineCustomElement as defineMdsPushNotificationItem } from "@maggioli-design-system/magma/dist/components/mds-push-notification-item.js";
70
71
  import { MdsPushNotification as MdsPushNotificationElement, defineCustomElement as defineMdsPushNotification } from "@maggioli-design-system/magma/dist/components/mds-push-notification.js";
71
- import { MdsPushNotifications as MdsPushNotificationsElement, defineCustomElement as defineMdsPushNotifications } from "@maggioli-design-system/magma/dist/components/mds-push-notifications.js";
72
72
  import { MdsQuote as MdsQuoteElement, defineCustomElement as defineMdsQuote } from "@maggioli-design-system/magma/dist/components/mds-quote.js";
73
73
  import { MdsSeparator as MdsSeparatorElement, defineCustomElement as defineMdsSeparator } from "@maggioli-design-system/magma/dist/components/mds-separator.js";
74
74
  import { MdsSpinner as MdsSpinnerElement, defineCustomElement as defineMdsSpinner } from "@maggioli-design-system/magma/dist/components/mds-spinner.js";
@@ -686,16 +686,20 @@ export const MdsPushNotification = /*@__PURE__*/ createComponent({
686
686
  elementClass: MdsPushNotificationElement,
687
687
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
688
688
  react: React,
689
- events: { onMdsPushNotificationClose: 'mdsPushNotificationClose' },
689
+ events: {
690
+ onMdsPushNotificationChange: 'mdsPushNotificationChange',
691
+ onMdsPushNotificationShow: 'mdsPushNotificationShow',
692
+ onMdsPushNotificationHide: 'mdsPushNotificationHide'
693
+ },
690
694
  defineCustomElement: defineMdsPushNotification
691
695
  });
692
- export const MdsPushNotifications = /*@__PURE__*/ createComponent({
693
- tagName: 'mds-push-notifications',
694
- elementClass: MdsPushNotificationsElement,
696
+ export const MdsPushNotificationItem = /*@__PURE__*/ createComponent({
697
+ tagName: 'mds-push-notification-item',
698
+ elementClass: MdsPushNotificationItemElement,
695
699
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
696
700
  react: React,
697
- events: {},
698
- defineCustomElement: defineMdsPushNotifications
701
+ events: { onMdsPushNotificationItemClose: 'mdsPushNotificationItemClose' },
702
+ defineCustomElement: defineMdsPushNotificationItem
699
703
  });
700
704
  export const MdsQuote = /*@__PURE__*/ createComponent({
701
705
  tagName: 'mds-quote',
@@ -2,7 +2,7 @@
2
2
  * This file was automatically generated by the Stencil React Output Target.
3
3
  * Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
4
4
  */
5
- import { type MdsAccordionCustomEvent, type MdsAccordionEventDetail, type MdsAccordionItemCustomEvent, type MdsAccordionItemEventDetail, type MdsAccordionTimerCustomEvent, type MdsAccordionTimerEventDetail, type MdsAccordionTimerItemCustomEvent, type MdsAccordionTimerItemEventDetail, type MdsBreadcrumbCustomEvent, type MdsBreadcrumbEventDetail, type MdsBreadcrumbItemCustomEvent, type MdsBreadcrumbItemEventDetail, type MdsChipCustomEvent, type MdsChipEvent, type MdsDropdownCustomEvent, type MdsDropdownEventDetail, type MdsFileCustomEvent, type MdsFileEventDetail, type MdsFilePreviewCustomEvent, type MdsFilePreviewEventDetail, type MdsFilterCustomEvent, type MdsFilterEventDetail, type MdsFilterItemCustomEvent, type MdsFilterItemEventDetail, type MdsHeaderCustomEvent, type MdsHeaderEventDetail, type MdsHeaderVisibilityEventDetail, type MdsImgCustomEvent, type MdsImgEventDetail, type MdsInputCustomEvent, type MdsInputEventDetail, type MdsInputFieldCustomEvent, type MdsInputSelectCustomEvent, type MdsInputSwitchCustomEvent, type MdsInputSwitchEventDetail, type MdsInputUploadCustomEvent, type MdsPaginatorCustomEvent, type MdsPaginatorEventDetail, type MdsPrefAnimationCustomEvent, type MdsPrefChangeEventDetail, type MdsPrefConsumptionCustomEvent, type MdsPrefContrastCustomEvent, type MdsPrefLanguageCustomEvent, type MdsPrefLanguageEventDetail, type MdsPrefLanguageItemCustomEvent, type MdsPrefThemeCustomEvent, type MdsPushNotificationCustomEvent, type MdsPushNotificationEventDetail, type MdsStepperBarCustomEvent, type MdsStepperBarEventDetail, type MdsStepperBarItemCustomEvent, type MdsStepperBarItemEventDetail, type MdsTabBarCustomEvent, type MdsTabBarEventDetail, type MdsTabCustomEvent, type MdsTabEventDetail, type MdsTabItemCustomEvent, type MdsTabItemEventDetail, type MdsTableCustomEvent, type MdsTableSelectionEventDetail, type MdsTreeItemCustomEvent, type MdsTreeItemEventDetail } from "@maggioli-design-system/magma";
5
+ import { type MdsAccordionCustomEvent, type MdsAccordionEventDetail, type MdsAccordionItemCustomEvent, type MdsAccordionItemEventDetail, type MdsAccordionTimerCustomEvent, type MdsAccordionTimerEventDetail, type MdsAccordionTimerItemCustomEvent, type MdsAccordionTimerItemEventDetail, type MdsBreadcrumbCustomEvent, type MdsBreadcrumbEventDetail, type MdsBreadcrumbItemCustomEvent, type MdsBreadcrumbItemEventDetail, type MdsChipCustomEvent, type MdsChipEvent, type MdsDropdownCustomEvent, type MdsDropdownEventDetail, type MdsFileCustomEvent, type MdsFileEventDetail, type MdsFilePreviewCustomEvent, type MdsFilePreviewEventDetail, type MdsFilterCustomEvent, type MdsFilterEventDetail, type MdsFilterItemCustomEvent, type MdsFilterItemEventDetail, type MdsHeaderCustomEvent, type MdsHeaderEventDetail, type MdsHeaderVisibilityEventDetail, type MdsImgCustomEvent, type MdsImgEventDetail, type MdsInputCustomEvent, type MdsInputEventDetail, type MdsInputFieldCustomEvent, type MdsInputSelectCustomEvent, type MdsInputSwitchCustomEvent, type MdsInputSwitchEventDetail, type MdsInputUploadCustomEvent, type MdsPaginatorCustomEvent, type MdsPaginatorEventDetail, type MdsPrefAnimationCustomEvent, type MdsPrefChangeEventDetail, type MdsPrefConsumptionCustomEvent, type MdsPrefContrastCustomEvent, type MdsPrefLanguageCustomEvent, type MdsPrefLanguageEventDetail, type MdsPrefLanguageItemCustomEvent, type MdsPrefThemeCustomEvent, type MdsPushNotificationCustomEvent, type MdsPushNotificationEventDetail, type MdsPushNotificationItemCustomEvent, type MdsPushNotificationItemEventDetail, type MdsStepperBarCustomEvent, type MdsStepperBarEventDetail, type MdsStepperBarItemCustomEvent, type MdsStepperBarItemEventDetail, type MdsTabBarCustomEvent, type MdsTabBarEventDetail, type MdsTabCustomEvent, type MdsTabEventDetail, type MdsTabItemCustomEvent, type MdsTabItemEventDetail, type MdsTableCustomEvent, type MdsTableSelectionEventDetail, type MdsTreeItemCustomEvent, type MdsTreeItemEventDetail } from "@maggioli-design-system/magma";
6
6
  import { MdsAccordionItem as MdsAccordionItemElement } from "@maggioli-design-system/magma/dist/components/mds-accordion-item.js";
7
7
  import { MdsAccordionTimerItem as MdsAccordionTimerItemElement } from "@maggioli-design-system/magma/dist/components/mds-accordion-timer-item.js";
8
8
  import { MdsAccordionTimer as MdsAccordionTimerElement } from "@maggioli-design-system/magma/dist/components/mds-accordion-timer.js";
@@ -71,8 +71,8 @@ import { MdsPriceTableListItem as MdsPriceTableListItemElement } from "@maggioli
71
71
  import { MdsPriceTableList as MdsPriceTableListElement } from "@maggioli-design-system/magma/dist/components/mds-price-table-list.js";
72
72
  import { MdsPriceTable as MdsPriceTableElement } from "@maggioli-design-system/magma/dist/components/mds-price-table.js";
73
73
  import { MdsProgress as MdsProgressElement } from "@maggioli-design-system/magma/dist/components/mds-progress.js";
74
+ import { MdsPushNotificationItem as MdsPushNotificationItemElement } from "@maggioli-design-system/magma/dist/components/mds-push-notification-item.js";
74
75
  import { MdsPushNotification as MdsPushNotificationElement } from "@maggioli-design-system/magma/dist/components/mds-push-notification.js";
75
- import { MdsPushNotifications as MdsPushNotificationsElement } from "@maggioli-design-system/magma/dist/components/mds-push-notifications.js";
76
76
  import { MdsQuote as MdsQuoteElement } from "@maggioli-design-system/magma/dist/components/mds-quote.js";
77
77
  import { MdsSeparator as MdsSeparatorElement } from "@maggioli-design-system/magma/dist/components/mds-separator.js";
78
78
  import { MdsSpinner as MdsSpinnerElement } from "@maggioli-design-system/magma/dist/components/mds-spinner.js";
@@ -321,11 +321,15 @@ export declare const MdsPriceTableListItem: StencilReactComponent<MdsPriceTableL
321
321
  type MdsProgressEvents = NonNullable<unknown>;
322
322
  export declare const MdsProgress: StencilReactComponent<MdsProgressElement, MdsProgressEvents>;
323
323
  type MdsPushNotificationEvents = {
324
- onMdsPushNotificationClose: EventName<MdsPushNotificationCustomEvent<MdsPushNotificationEventDetail>>;
324
+ onMdsPushNotificationChange: EventName<MdsPushNotificationCustomEvent<MdsPushNotificationEventDetail>>;
325
+ onMdsPushNotificationShow: EventName<CustomEvent<void>>;
326
+ onMdsPushNotificationHide: EventName<CustomEvent<void>>;
325
327
  };
326
328
  export declare const MdsPushNotification: StencilReactComponent<MdsPushNotificationElement, MdsPushNotificationEvents>;
327
- type MdsPushNotificationsEvents = NonNullable<unknown>;
328
- export declare const MdsPushNotifications: StencilReactComponent<MdsPushNotificationsElement, MdsPushNotificationsEvents>;
329
+ type MdsPushNotificationItemEvents = {
330
+ onMdsPushNotificationItemClose: EventName<MdsPushNotificationItemCustomEvent<MdsPushNotificationItemEventDetail>>;
331
+ };
332
+ export declare const MdsPushNotificationItem: StencilReactComponent<MdsPushNotificationItemElement, MdsPushNotificationItemEvents>;
329
333
  type MdsQuoteEvents = NonNullable<unknown>;
330
334
  export declare const MdsQuote: StencilReactComponent<MdsQuoteElement, MdsQuoteEvents>;
331
335
  type MdsSeparatorEvents = NonNullable<unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maggioli-design-system/magma-react",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "main": "dist/components.js",
5
5
  "module": "dist/components.js",
6
6
  "types": "dist/types/components.d.ts",
@@ -15,7 +15,7 @@
15
15
  "access": "public"
16
16
  },
17
17
  "dependencies": {
18
- "@maggioli-design-system/magma": "1.4.0",
18
+ "@maggioli-design-system/magma": "1.5.0",
19
19
  "@stencil/react-output-target": "0.8.2"
20
20
  },
21
21
  "devDependencies": {