@prioticket/design-system-react 2.1.0-beta.2 → 2.2.0-beta.1
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/dist/components/pd-footer.d.ts +10 -0
- package/dist/components/pd-footer.js +15 -0
- package/dist/components/pd-horizontal-card.d.ts +2 -1
- package/dist/components/pd-horizontal-card.js +1 -0
- package/dist/components/pd-navigation-rail.d.ts +2 -1
- package/dist/components/pd-navigation-rail.js +1 -0
- package/dist/components/pd-quantity.d.ts +7 -0
- package/dist/components/pd-quantity.js +12 -0
- package/dist/components/pd-stacked-card.d.ts +4 -1
- package/dist/components/pd-stacked-card.js +3 -0
- package/dist/components/pd-swipe-row.d.ts +7 -0
- package/dist/components/pd-swipe-row.js +12 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +3 -0
- package/package.json +2 -2
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type EventName } from '@lit/react';
|
|
2
|
+
import { PdFooter as PdFooterElementClass } from '@prioticket/design-system-web/components/pd-footer';
|
|
3
|
+
import type { PdFooter as PdFooterElementType, PdFooterChoiceEvent, PdFooterNewsletterSubmitEvent } from '@prioticket/design-system-web/components/pd-footer';
|
|
4
|
+
export declare const PdFooter: import("@lit/react").ReactWebComponent<PdFooterElementClass, {
|
|
5
|
+
onPdFooterLanguageChange: EventName<CustomEvent<PdFooterChoiceEvent>>;
|
|
6
|
+
onPdFooterCurrencyChange: EventName<CustomEvent<PdFooterChoiceEvent>>;
|
|
7
|
+
onPdFooterCookieSettings: EventName<CustomEvent<void>>;
|
|
8
|
+
onPdFooterNewsletterSubmit: EventName<CustomEvent<PdFooterNewsletterSubmitEvent>>;
|
|
9
|
+
}>;
|
|
10
|
+
export type { PdFooterElementType as PdFooterElement };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { PdFooter as PdFooterElementClass } from '@prioticket/design-system-web/components/pd-footer';
|
|
4
|
+
export const PdFooter = createComponent({
|
|
5
|
+
displayName: 'PdFooter',
|
|
6
|
+
react: React,
|
|
7
|
+
tagName: 'pd-footer',
|
|
8
|
+
elementClass: PdFooterElementClass,
|
|
9
|
+
events: {
|
|
10
|
+
onPdFooterLanguageChange: 'pd-footer-language-change',
|
|
11
|
+
onPdFooterCurrencyChange: 'pd-footer-currency-change',
|
|
12
|
+
onPdFooterCookieSettings: 'pd-footer-cookie-settings',
|
|
13
|
+
onPdFooterNewsletterSubmit: 'pd-footer-newsletter-submit'
|
|
14
|
+
}
|
|
15
|
+
});
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { type EventName } from '@lit/react';
|
|
2
2
|
import { PdHorizontalCard as PdHorizontalCardElementClass } from '@prioticket/design-system-web/components/pd-horizontal-card';
|
|
3
|
-
import type { PdHorizontalCard as PdHorizontalCardElementType, PdHorizontalCardChangeEvent } from '@prioticket/design-system-web/components/pd-horizontal-card';
|
|
3
|
+
import type { PdHorizontalCard as PdHorizontalCardElementType, PdHorizontalCardFavouriteChangeEvent, PdHorizontalCardChangeEvent } from '@prioticket/design-system-web/components/pd-horizontal-card';
|
|
4
4
|
export declare const PdHorizontalCard: import("@lit/react").ReactWebComponent<PdHorizontalCardElementClass, {
|
|
5
5
|
onClick: EventName<Event>;
|
|
6
|
+
onFavouriteChange: EventName<CustomEvent<PdHorizontalCardFavouriteChangeEvent>>;
|
|
6
7
|
onChange: EventName<CustomEvent<PdHorizontalCardChangeEvent>>;
|
|
7
8
|
}>;
|
|
8
9
|
export type { PdHorizontalCardElementType as PdHorizontalCardElement };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { type EventName } from '@lit/react';
|
|
2
2
|
import { PdNavigationRail as PdNavigationRailElementClass } from '@prioticket/design-system-web/components/pd-navigation-rail';
|
|
3
|
-
import type { PdNavigationRail as PdNavigationRailElementType, PdNavigationRailToggleEvent } from '@prioticket/design-system-web/components/pd-navigation-rail';
|
|
3
|
+
import type { PdNavigationRail as PdNavigationRailElementType, PdNavigationRailClosedEvent, PdNavigationRailToggleEvent } from '@prioticket/design-system-web/components/pd-navigation-rail';
|
|
4
4
|
export declare const PdNavigationRail: import("@lit/react").ReactWebComponent<PdNavigationRailElementClass, {
|
|
5
|
+
onClosed: EventName<CustomEvent<PdNavigationRailClosedEvent>>;
|
|
5
6
|
onPdNavigationRailToggle: EventName<CustomEvent<PdNavigationRailToggleEvent>>;
|
|
6
7
|
}>;
|
|
7
8
|
export type { PdNavigationRailElementType as PdNavigationRailElement };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type EventName } from '@lit/react';
|
|
2
|
+
import { PdQuantity as PdQuantityElementClass } from '@prioticket/design-system-web/components/pd-quantity';
|
|
3
|
+
import type { PdQuantity as PdQuantityElementType, PdQuantityChangeEvent } from '@prioticket/design-system-web/components/pd-quantity';
|
|
4
|
+
export declare const PdQuantity: import("@lit/react").ReactWebComponent<PdQuantityElementClass, {
|
|
5
|
+
onChange: EventName<CustomEvent<PdQuantityChangeEvent>>;
|
|
6
|
+
}>;
|
|
7
|
+
export type { PdQuantityElementType as PdQuantityElement };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { PdQuantity as PdQuantityElementClass } from '@prioticket/design-system-web/components/pd-quantity';
|
|
4
|
+
export const PdQuantity = createComponent({
|
|
5
|
+
displayName: 'PdQuantity',
|
|
6
|
+
react: React,
|
|
7
|
+
tagName: 'pd-quantity',
|
|
8
|
+
elementClass: PdQuantityElementClass,
|
|
9
|
+
events: {
|
|
10
|
+
onChange: 'change'
|
|
11
|
+
}
|
|
12
|
+
});
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { type EventName } from '@lit/react';
|
|
2
2
|
import { PdStackedCard as PdStackedCardElementClass } from '@prioticket/design-system-web/components/pd-stacked-card';
|
|
3
|
-
import type { PdStackedCard as PdStackedCardElementType, PdStackedCardChangeEvent } from '@prioticket/design-system-web/components/pd-stacked-card';
|
|
3
|
+
import type { PdStackedCard as PdStackedCardElementType, PdStackedCardFavouriteChangeEvent, PdStackedCardAllTimesClickEvent, PdStackedCardTimeSlotClickEvent, PdStackedCardChangeEvent } from '@prioticket/design-system-web/components/pd-stacked-card';
|
|
4
4
|
export declare const PdStackedCard: import("@lit/react").ReactWebComponent<PdStackedCardElementClass, {
|
|
5
5
|
onClick: EventName<Event>;
|
|
6
|
+
onFavouriteChange: EventName<CustomEvent<PdStackedCardFavouriteChangeEvent>>;
|
|
7
|
+
onAllTimesClick: EventName<CustomEvent<PdStackedCardAllTimesClickEvent>>;
|
|
8
|
+
onPdTimeSlotClick: EventName<CustomEvent<PdStackedCardTimeSlotClickEvent>>;
|
|
6
9
|
onChange: EventName<CustomEvent<PdStackedCardChangeEvent>>;
|
|
7
10
|
}>;
|
|
8
11
|
export type { PdStackedCardElementType as PdStackedCardElement };
|
|
@@ -8,6 +8,9 @@ export const PdStackedCard = createComponent({
|
|
|
8
8
|
elementClass: PdStackedCardElementClass,
|
|
9
9
|
events: {
|
|
10
10
|
onClick: 'click',
|
|
11
|
+
onFavouriteChange: 'favourite-change',
|
|
12
|
+
onAllTimesClick: 'all-times-click',
|
|
13
|
+
onPdTimeSlotClick: 'pd-time-slot-click',
|
|
11
14
|
onChange: 'change'
|
|
12
15
|
}
|
|
13
16
|
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type EventName } from '@lit/react';
|
|
2
|
+
import { PdSwipeRow as PdSwipeRowElementClass } from '@prioticket/design-system-web/components/pd-swipe-row';
|
|
3
|
+
import type { PdSwipeRow as PdSwipeRowElementType, PdSwipeRowSeeAllEvent } from '@prioticket/design-system-web/components/pd-swipe-row';
|
|
4
|
+
export declare const PdSwipeRow: import("@lit/react").ReactWebComponent<PdSwipeRowElementClass, {
|
|
5
|
+
onPdSwipeRowSeeAll: EventName<CustomEvent<PdSwipeRowSeeAllEvent>>;
|
|
6
|
+
}>;
|
|
7
|
+
export type { PdSwipeRowElementType as PdSwipeRowElement };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { PdSwipeRow as PdSwipeRowElementClass } from '@prioticket/design-system-web/components/pd-swipe-row';
|
|
4
|
+
export const PdSwipeRow = createComponent({
|
|
5
|
+
displayName: 'PdSwipeRow',
|
|
6
|
+
react: React,
|
|
7
|
+
tagName: 'pd-swipe-row',
|
|
8
|
+
elementClass: PdSwipeRowElementClass,
|
|
9
|
+
events: {
|
|
10
|
+
onPdSwipeRowSeeAll: 'pd-swipe-row-see-all'
|
|
11
|
+
}
|
|
12
|
+
});
|
package/dist/index.d.ts
CHANGED
|
@@ -66,6 +66,8 @@ export { PdFileUpload } from './components/pd-file-upload.js';
|
|
|
66
66
|
export type { PdFileUploadElement } from './components/pd-file-upload.js';
|
|
67
67
|
export { PdFileUploadItem } from './components/pd-file-upload-item.js';
|
|
68
68
|
export type { PdFileUploadItemElement } from './components/pd-file-upload-item.js';
|
|
69
|
+
export { PdFooter } from './components/pd-footer.js';
|
|
70
|
+
export type { PdFooterElement } from './components/pd-footer.js';
|
|
69
71
|
export { PdHeaderItem } from './components/pd-header-item.js';
|
|
70
72
|
export type { PdHeaderItemElement } from './components/pd-header-item.js';
|
|
71
73
|
export { PdHorizontalCard } from './components/pd-horizontal-card.js';
|
|
@@ -108,6 +110,8 @@ export { PdPartnerMark } from './components/pd-partner-mark.js';
|
|
|
108
110
|
export type { PdPartnerMarkElement } from './components/pd-partner-mark.js';
|
|
109
111
|
export { PdProgress } from './components/pd-progress.js';
|
|
110
112
|
export type { PdProgressElement } from './components/pd-progress.js';
|
|
113
|
+
export { PdQuantity } from './components/pd-quantity.js';
|
|
114
|
+
export type { PdQuantityElement } from './components/pd-quantity.js';
|
|
111
115
|
export { PdRadio } from './components/pd-radio.js';
|
|
112
116
|
export type { PdRadioElement } from './components/pd-radio.js';
|
|
113
117
|
export { PdRadioGroup } from './components/pd-radio-group.js';
|
|
@@ -150,6 +154,8 @@ export { PdStepper } from './components/pd-stepper.js';
|
|
|
150
154
|
export type { PdStepperElement } from './components/pd-stepper.js';
|
|
151
155
|
export { PdStepperItem } from './components/pd-stepper-item.js';
|
|
152
156
|
export type { PdStepperItemElement } from './components/pd-stepper-item.js';
|
|
157
|
+
export { PdSwipeRow } from './components/pd-swipe-row.js';
|
|
158
|
+
export type { PdSwipeRowElement } from './components/pd-swipe-row.js';
|
|
153
159
|
export { PdSwitch } from './components/pd-switch.js';
|
|
154
160
|
export type { PdSwitchElement } from './components/pd-switch.js';
|
|
155
161
|
export { PdTab } from './components/pd-tab.js';
|
package/dist/index.js
CHANGED
|
@@ -33,6 +33,7 @@ export { PdFabMenu } from './components/pd-fab-menu.js';
|
|
|
33
33
|
export { PdFabMenuItem } from './components/pd-fab-menu-item.js';
|
|
34
34
|
export { PdFileUpload } from './components/pd-file-upload.js';
|
|
35
35
|
export { PdFileUploadItem } from './components/pd-file-upload-item.js';
|
|
36
|
+
export { PdFooter } from './components/pd-footer.js';
|
|
36
37
|
export { PdHeaderItem } from './components/pd-header-item.js';
|
|
37
38
|
export { PdHorizontalCard } from './components/pd-horizontal-card.js';
|
|
38
39
|
export { PdIcon } from './components/pd-icon.js';
|
|
@@ -54,6 +55,7 @@ export { PdNavigationRail } from './components/pd-navigation-rail.js';
|
|
|
54
55
|
export { PdPagination } from './components/pd-pagination.js';
|
|
55
56
|
export { PdPartnerMark } from './components/pd-partner-mark.js';
|
|
56
57
|
export { PdProgress } from './components/pd-progress.js';
|
|
58
|
+
export { PdQuantity } from './components/pd-quantity.js';
|
|
57
59
|
export { PdRadio } from './components/pd-radio.js';
|
|
58
60
|
export { PdRadioGroup } from './components/pd-radio-group.js';
|
|
59
61
|
export { PdRichTooltip } from './components/pd-rich-tooltip.js';
|
|
@@ -75,6 +77,7 @@ export { PdSplitButton } from './components/pd-split-button.js';
|
|
|
75
77
|
export { PdStackedCard } from './components/pd-stacked-card.js';
|
|
76
78
|
export { PdStepper } from './components/pd-stepper.js';
|
|
77
79
|
export { PdStepperItem } from './components/pd-stepper-item.js';
|
|
80
|
+
export { PdSwipeRow } from './components/pd-swipe-row.js';
|
|
78
81
|
export { PdSwitch } from './components/pd-switch.js';
|
|
79
82
|
export { PdTab } from './components/pd-tab.js';
|
|
80
83
|
export { PdTable } from './components/pd-table.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prioticket/design-system-react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0-beta.1",
|
|
4
4
|
"description": "React wrappers for the Prioticket Design System web components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"clean": "rimraf dist"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@prioticket/design-system-web": "^2.
|
|
34
|
+
"@prioticket/design-system-web": "^2.2.0-beta.1",
|
|
35
35
|
"react": ">=17",
|
|
36
36
|
"react-dom": ">=17"
|
|
37
37
|
},
|