@sme.up/ketchup-react 10.1.1 → 10.3.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.
@@ -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 FCellEventPayload, type FObjectFieldEventPayload, type KupAccordionCustomEvent, type KupAccordionItemSelectedEventPayload, type KupActivityTimelineClickEventPayload, type KupActivityTimelineCustomEvent, type KupAutocompleteCustomEvent, type KupAutocompleteEventPayload, type KupAutocompleteIconClickEventPayload, type KupBadgeCustomEvent, type KupBoxAutoSelectEventPayload, type KupBoxClickEventPayload, type KupBoxContextMenuEventPayload, type KupBoxCustomEvent, type KupBoxLoadMoreClickEventPayload, type KupBoxRowActionClickEventPayload, type KupBoxSelectedEventPayload, type KupButtonClickEventPayload, type KupButtonCustomEvent, type KupButtonListClickEventPayload, type KupButtonListCustomEvent, type KupCalendarCustomEvent, type KupCalendarDateClickEventPayload, type KupCalendarEventClickEventPayload, type KupCalendarEventDropEventPayload, type KupCalendarViewChangeEventPayload, type KupCardClickPayload, type KupCardCustomEvent, type KupCardEventPayload, type KupCardListClickEventPayload, type KupCardListCustomEvent, type KupCellCustomEvent, type KupCellSubmitClickEventPayload, type KupChartClickEvent, type KupChartCustomEvent, type KupCheckboxCustomEvent, type KupCheckboxEventPayload, type KupChipChangeEventPayload, type KupChipCustomEvent, type KupChipEventPayload, type KupColorPickerCustomEvent, type KupColorPickerEventPayload, type KupComboboxCustomEvent, type KupComboboxEventPayload, type KupComboboxIconClickEventPayload, type KupDashboardCustomEvent, type KupDashboardEventPayload, type KupDataTableCustomEvent, type KupDatatableCellCheckPayload, type KupDatatableClickEventPayload, type KupDatatableColumnMenuEventPayload, type KupDatatableColumnMoveEventPayload, type KupDatatableColumnRemoveEventPayload, type KupDatatableDeleteRowEventPayload, type KupDatatableHistoryEventPayload, type KupDatatableInsertRowEventPayload, type KupDatatableLoadMoreClickEventPayload, type KupDatatableRowActionItemClickEventPayload, type KupDatatableRowSelectedEventPayload, type KupDatatableUpdatePayload, type KupDatePickerCustomEvent, type KupDatePickerEventPayload, type KupDialogCustomEvent, type KupDrawerCustomEvent, type KupDropEventPayload, type KupDropdownButtonCustomEvent, type KupDropdownButtonEventPayload, type KupEchartClickEventPayload, type KupEchartCustomEvent, type KupEditorCustomEvent, type KupEditorEventPayload, type KupEventPayload, type KupFamilyTreeCustomEvent, type KupFamilyTreeEventPayload, type KupFormCustomEvent, type KupHtmCustomEvent, type KupIframeCustomEvent, type KupImageClickEventPayload, type KupImageCustomEvent, type KupImageListCustomEvent, type KupImageListEventPayload, type KupInputPanelClickEventPayload, type KupInputPanelCustomEvent, type KupLazyCustomEvent, type KupListCustomEvent, type KupListEventPayload, type KupNavBarCustomEvent, type KupNumericPickerCustomEvent, type KupNumericPickerEventPayload, type KupPdfCustomEvent, type KupPlannerClickEventPayload, type KupPlannerCustomEvent, type KupPlannerEventPayload, type KupPlannerUnloadEventPayload, type KupRadioChangeEventPayload, type KupRadioCustomEvent, type KupRatingClickEventPayload, type KupRatingCustomEvent, type KupSnackbarCustomEvent, type KupSpinnerCustomEvent, type KupSwitchCustomEvent, type KupSwitchEventPayload, type KupTabBarCustomEvent, type KupTabBarEventPayload, type KupTextFieldCustomEvent, type KupTextFieldEventPayload, type KupTimePickerCustomEvent, type KupTimePickerEventPayload, type KupToolbarClickEventPayload, type KupToolbarCustomEvent, type KupToolbarItemClickEventPayload, type KupTreeColumnMenuEventPayload, type KupTreeColumnRemoveEventPayload, type KupTreeContextMenuEventPayload, type KupTreeCustomEvent, type KupTreeDynamicMassExpansionEventPayload, type KupTreeNodeButtonClickEventPayload, type KupTreeNodeCollapseEventPayload, type KupTreeNodeExpandEventPayload, type KupTreeNodeSelectedEventPayload, type KupTxtCustomEvent, type KupTypographyClickEventPayload, type KupTypographyCustomEvent, type KupTypographyIconClickEventPayload, type KupTypographyListClickEventPayload, type KupTypographyListCustomEvent, type KupTypographyListIconClickEventPayload } from "@sme.up/ketchup";
5
+ import { type FCellEventPayload, type FObjectFieldEventPayload, type KupAccordionCustomEvent, type KupAccordionItemSelectedEventPayload, type KupActivityTimelineClickEventPayload, type KupActivityTimelineCustomEvent, type KupAutocompleteCustomEvent, type KupAutocompleteEventPayload, type KupAutocompleteIconClickEventPayload, type KupBadgeCustomEvent, type KupBoxAutoSelectEventPayload, type KupBoxClickEventPayload, type KupBoxContextMenuEventPayload, type KupBoxCustomEvent, type KupBoxLoadMoreClickEventPayload, type KupBoxRowActionClickEventPayload, type KupBoxSelectedEventPayload, type KupButtonClickEventPayload, type KupButtonCustomEvent, type KupButtonListClickEventPayload, type KupButtonListCustomEvent, type KupCalendarCustomEvent, type KupCalendarDateClickEventPayload, type KupCalendarEventClickEventPayload, type KupCalendarEventDropEventPayload, type KupCalendarViewChangeEventPayload, type KupCardClickPayload, type KupCardCustomEvent, type KupCardEventPayload, type KupCardListClickEventPayload, type KupCardListCustomEvent, type KupCellCustomEvent, type KupCellSubmitClickEventPayload, type KupChartClickEvent, type KupChartCustomEvent, type KupCheckboxCustomEvent, type KupCheckboxEventPayload, type KupChipChangeEventPayload, type KupChipCustomEvent, type KupChipEventPayload, type KupColorPickerCustomEvent, type KupColorPickerEventPayload, type KupComboboxCustomEvent, type KupComboboxEventPayload, type KupComboboxIconClickEventPayload, type KupDashboardCustomEvent, type KupDashboardEventPayload, type KupDataTableCustomEvent, type KupDatatableCellCheckPayload, type KupDatatableClickEventPayload, type KupDatatableColumnMenuEventPayload, type KupDatatableColumnMoveEventPayload, type KupDatatableColumnRemoveEventPayload, type KupDatatableDeleteRowEventPayload, type KupDatatableHistoryEventPayload, type KupDatatableInsertRowEventPayload, type KupDatatableLoadMoreClickEventPayload, type KupDatatableRowActionItemClickEventPayload, type KupDatatableRowSelectedEventPayload, type KupDatatableUpdatePayload, type KupDatePickerCustomEvent, type KupDatePickerEventPayload, type KupDialogCustomEvent, type KupDrawerCustomEvent, type KupDropEventPayload, type KupDropdownButtonCustomEvent, type KupDropdownButtonEventPayload, type KupEchartClickEventPayload, type KupEchartCustomEvent, type KupEditorCustomEvent, type KupEditorEventPayload, type KupEventPayload, type KupFamilyTreeCustomEvent, type KupFamilyTreeEventPayload, type KupFileUploadCustomEvent, type KupFileUploadEventPayload, type KupFormCustomEvent, type KupHtmCustomEvent, type KupIframeCustomEvent, type KupImageClickEventPayload, type KupImageCustomEvent, type KupImageListCustomEvent, type KupImageListEventPayload, type KupInputPanelClickEventPayload, type KupInputPanelCustomEvent, type KupLazyCustomEvent, type KupListCustomEvent, type KupListEventPayload, type KupNavBarCustomEvent, type KupNumericPickerCustomEvent, type KupNumericPickerEventPayload, type KupPdfCustomEvent, type KupPlannerClickEventPayload, type KupPlannerCustomEvent, type KupPlannerEventPayload, type KupPlannerUnloadEventPayload, type KupRadioChangeEventPayload, type KupRadioCustomEvent, type KupRatingClickEventPayload, type KupRatingCustomEvent, type KupSnackbarCustomEvent, type KupSpinnerCustomEvent, type KupSwitchCustomEvent, type KupSwitchEventPayload, type KupTabBarCustomEvent, type KupTabBarEventPayload, type KupTextFieldCustomEvent, type KupTextFieldEventPayload, type KupTimePickerCustomEvent, type KupTimePickerEventPayload, type KupToolbarClickEventPayload, type KupToolbarCustomEvent, type KupToolbarItemClickEventPayload, type KupTreeColumnMenuEventPayload, type KupTreeColumnRemoveEventPayload, type KupTreeContextMenuEventPayload, type KupTreeCustomEvent, type KupTreeDynamicMassExpansionEventPayload, type KupTreeNodeButtonClickEventPayload, type KupTreeNodeCollapseEventPayload, type KupTreeNodeExpandEventPayload, type KupTreeNodeSelectedEventPayload, type KupTxtCustomEvent, type KupTypographyClickEventPayload, type KupTypographyCustomEvent, type KupTypographyIconClickEventPayload, type KupTypographyListClickEventPayload, type KupTypographyListCustomEvent, type KupTypographyListIconClickEventPayload } from "@sme.up/ketchup";
6
6
  import { KupAccordion as KupAccordionElement } from "@sme.up/ketchup/dist/components/kup-accordion.js";
7
7
  import { KupActivityTimeline as KupActivityTimelineElement } from "@sme.up/ketchup/dist/components/kup-activity-timeline.js";
8
8
  import { KupAutocomplete as KupAutocompleteElement } from "@sme.up/ketchup/dist/components/kup-autocomplete.js";
@@ -30,6 +30,7 @@ import { KupDropdownButton as KupDropdownButtonElement } from "@sme.up/ketchup/d
30
30
  import { KupEchart as KupEchartElement } from "@sme.up/ketchup/dist/components/kup-echart.js";
31
31
  import { KupEditor as KupEditorElement } from "@sme.up/ketchup/dist/components/kup-editor.js";
32
32
  import { KupFamilyTree as KupFamilyTreeElement } from "@sme.up/ketchup/dist/components/kup-family-tree.js";
33
+ import { KupFileUpload as KupFileUploadElement } from "@sme.up/ketchup/dist/components/kup-file-upload.js";
33
34
  import { KupForm as KupFormElement } from "@sme.up/ketchup/dist/components/kup-form.js";
34
35
  import { KupGanttCalendar as KupGanttCalendarElement } from "@sme.up/ketchup/dist/components/kup-gantt-calendar.js";
35
36
  import { KupGantt as KupGanttElement } from "@sme.up/ketchup/dist/components/kup-gantt.js";
@@ -110,6 +111,7 @@ type KupBoxEvents = {
110
111
  onKupBoxDidunload: EventName<KupBoxCustomEvent<KupEventPayload>>;
111
112
  onKupBoxContextmenu: EventName<KupBoxCustomEvent<KupBoxContextMenuEventPayload>>;
112
113
  onKupBoxLoadmoreclick: EventName<KupBoxCustomEvent<KupBoxLoadMoreClickEventPayload>>;
114
+ onKupBoxCellClick: EventName<KupBoxCustomEvent<FCellEventPayload>>;
113
115
  };
114
116
  export declare const KupBox: StencilReactComponent<KupBoxElement, KupBoxEvents>;
115
117
  type KupButtonEvents = {
@@ -142,6 +144,7 @@ type KupCardListEvents = {
142
144
  export declare const KupCardList: StencilReactComponent<KupCardListElement, KupCardListEvents>;
143
145
  type KupCellEvents = {
144
146
  onKupCellSubmitClick: EventName<KupCellCustomEvent<KupCellSubmitClickEventPayload>>;
147
+ onKupCellUpload: EventName<KupCellCustomEvent<KupFileUploadEventPayload>>;
145
148
  };
146
149
  export declare const KupCell: StencilReactComponent<KupCellElement, KupCellEvents>;
147
150
  type KupChartEvents = {
@@ -261,6 +264,11 @@ type KupFamilyTreeEvents = {
261
264
  onKupFamilytreeDblclick: EventName<KupFamilyTreeCustomEvent<KupFamilyTreeEventPayload>>;
262
265
  };
263
266
  export declare const KupFamilyTree: StencilReactComponent<KupFamilyTreeElement, KupFamilyTreeEvents>;
267
+ type KupFileUploadEvents = {
268
+ onKupFileUploadReady: EventName<KupFileUploadCustomEvent<KupEventPayload>>;
269
+ onKupFileUploadUpload: EventName<KupFileUploadCustomEvent<KupFileUploadEventPayload>>;
270
+ };
271
+ export declare const KupFileUpload: StencilReactComponent<KupFileUploadElement, KupFileUploadEvents>;
264
272
  type KupFormEvents = {
265
273
  onKupFormReady: EventName<KupFormCustomEvent<KupEventPayload>>;
266
274
  };
@@ -391,6 +399,7 @@ type KupTabBarEvents = {
391
399
  onKupTabbarBlur: EventName<KupTabBarCustomEvent<KupTabBarEventPayload>>;
392
400
  onKupTabbarClick: EventName<KupTabBarCustomEvent<KupTabBarEventPayload>>;
393
401
  onKupTabbarIconclick: EventName<KupTabBarCustomEvent<KupTabBarEventPayload>>;
402
+ onKupTabbarInfoiconclick: EventName<KupTabBarCustomEvent<KupTabBarEventPayload>>;
394
403
  onKupTabbarFocus: EventName<KupTabBarCustomEvent<KupTabBarEventPayload>>;
395
404
  onKupTabbarItemclick: EventName<KupTabBarCustomEvent<KupToolbarItemClickEventPayload>>;
396
405
  };
@@ -446,6 +455,7 @@ type KupTreeEvents = {
446
455
  onKupTreeNodedblclick: EventName<KupTreeCustomEvent<KupTreeNodeCollapseEventPayload>>;
447
456
  onKupTreeDynamicmassexpansion: EventName<KupTreeCustomEvent<KupTreeDynamicMassExpansionEventPayload>>;
448
457
  onKupTreeColumnremove: EventName<KupTreeCustomEvent<KupTreeColumnRemoveEventPayload>>;
458
+ onKupTreeCellClick: EventName<KupTreeCustomEvent<FCellEventPayload>>;
449
459
  };
450
460
  export declare const KupTree: StencilReactComponent<KupTreeElement, KupTreeEvents>;
451
461
  type KupTxtEvents = {
@@ -455,6 +465,7 @@ export declare const KupTxt: StencilReactComponent<KupTxtElement, KupTxtEvents>;
455
465
  type KupTypographyEvents = {
456
466
  onKupTypographyIconclick: EventName<KupTypographyCustomEvent<KupTypographyIconClickEventPayload>>;
457
467
  onKupTypographyClick: EventName<KupTypographyCustomEvent<KupTypographyClickEventPayload>>;
468
+ onKupTypographyInfoiconclick: EventName<KupTypographyCustomEvent<KupTypographyIconClickEventPayload>>;
458
469
  onKupTypographyItemclick: EventName<KupTypographyCustomEvent<KupToolbarItemClickEventPayload>>;
459
470
  };
460
471
  export declare const KupTypography: StencilReactComponent<KupTypographyElement, KupTypographyEvents>;
@@ -26,6 +26,7 @@ import { KupDropdownButton as KupDropdownButtonElement, defineCustomElement as d
26
26
  import { KupEchart as KupEchartElement, defineCustomElement as defineKupEchart } from "@sme.up/ketchup/dist/components/kup-echart.js";
27
27
  import { KupEditor as KupEditorElement, defineCustomElement as defineKupEditor } from "@sme.up/ketchup/dist/components/kup-editor.js";
28
28
  import { KupFamilyTree as KupFamilyTreeElement, defineCustomElement as defineKupFamilyTree } from "@sme.up/ketchup/dist/components/kup-family-tree.js";
29
+ import { KupFileUpload as KupFileUploadElement, defineCustomElement as defineKupFileUpload } from "@sme.up/ketchup/dist/components/kup-file-upload.js";
29
30
  import { KupForm as KupFormElement, defineCustomElement as defineKupForm } from "@sme.up/ketchup/dist/components/kup-form.js";
30
31
  import { KupGanttCalendar as KupGanttCalendarElement, defineCustomElement as defineKupGanttCalendar } from "@sme.up/ketchup/dist/components/kup-gantt-calendar.js";
31
32
  import { KupGantt as KupGanttElement, defineCustomElement as defineKupGantt } from "@sme.up/ketchup/dist/components/kup-gantt.js";
@@ -131,7 +132,8 @@ export const KupBox = /*@__PURE__*/ createComponent({
131
132
  onKupBoxDidload: 'kup-box-didload',
132
133
  onKupBoxDidunload: 'kup-box-didunload',
133
134
  onKupBoxContextmenu: 'kup-box-contextmenu',
134
- onKupBoxLoadmoreclick: 'kup-box-loadmoreclick'
135
+ onKupBoxLoadmoreclick: 'kup-box-loadmoreclick',
136
+ onKupBoxCellClick: 'kup-box-cell-click'
135
137
  },
136
138
  defineCustomElement: defineKupBox
137
139
  });
@@ -194,7 +196,10 @@ export const KupCell = /*@__PURE__*/ createComponent({
194
196
  elementClass: KupCellElement,
195
197
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
196
198
  react: React,
197
- events: { onKupCellSubmitClick: 'kup-cell-submit-click' },
199
+ events: {
200
+ onKupCellSubmitClick: 'kup-cell-submit-click',
201
+ onKupCellUpload: 'kup-cell-upload'
202
+ },
198
203
  defineCustomElement: defineKupCell
199
204
  });
200
205
  export const KupChart = /*@__PURE__*/ createComponent({
@@ -402,6 +407,17 @@ export const KupFamilyTree = /*@__PURE__*/ createComponent({
402
407
  },
403
408
  defineCustomElement: defineKupFamilyTree
404
409
  });
410
+ export const KupFileUpload = /*@__PURE__*/ createComponent({
411
+ tagName: 'kup-file-upload',
412
+ elementClass: KupFileUploadElement,
413
+ // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
414
+ react: React,
415
+ events: {
416
+ onKupFileUploadReady: 'kup-file-upload-ready',
417
+ onKupFileUploadUpload: 'kup-file-upload-upload'
418
+ },
419
+ defineCustomElement: defineKupFileUpload
420
+ });
405
421
  export const KupForm = /*@__PURE__*/ createComponent({
406
422
  tagName: 'kup-form',
407
423
  elementClass: KupFormElement,
@@ -711,6 +727,7 @@ export const KupTabBar = /*@__PURE__*/ createComponent({
711
727
  onKupTabbarBlur: 'kup-tabbar-blur',
712
728
  onKupTabbarClick: 'kup-tabbar-click',
713
729
  onKupTabbarIconclick: 'kup-tabbar-iconclick',
730
+ onKupTabbarInfoiconclick: 'kup-tabbar-infoiconclick',
714
731
  onKupTabbarFocus: 'kup-tabbar-focus',
715
732
  onKupTabbarItemclick: 'kup-tabbar-itemclick'
716
733
  },
@@ -817,7 +834,8 @@ export const KupTree = /*@__PURE__*/ createComponent({
817
834
  onKupTreeDidunload: 'kup-tree-didunload',
818
835
  onKupTreeNodedblclick: 'kup-tree-nodedblclick',
819
836
  onKupTreeDynamicmassexpansion: 'kup-tree-dynamicmassexpansion',
820
- onKupTreeColumnremove: 'kup-tree-columnremove'
837
+ onKupTreeColumnremove: 'kup-tree-columnremove',
838
+ onKupTreeCellClick: 'kup-tree-cell-click'
821
839
  },
822
840
  defineCustomElement: defineKupTree
823
841
  });
@@ -837,6 +855,7 @@ export const KupTypography = /*@__PURE__*/ createComponent({
837
855
  events: {
838
856
  onKupTypographyIconclick: 'kup-typography-iconclick',
839
857
  onKupTypographyClick: 'kup-typography-click',
858
+ onKupTypographyInfoiconclick: 'kup-typography-infoiconclick',
840
859
  onKupTypographyItemclick: 'kup-typography-itemclick'
841
860
  },
842
861
  defineCustomElement: defineKupTypography
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sme.up/ketchup-react",
3
- "version": "10.1.1",
3
+ "version": "10.3.0",
4
4
  "main": "dist/components.js",
5
5
  "module": "dist/components.js",
6
6
  "types": "dist/components.d.ts",
@@ -21,16 +21,22 @@
21
21
  "description": "Ketchup React Components library by smeup",
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@sme.up/ketchup": "10.1.1",
25
- "@stencil/react-output-target": "^0.7",
24
+ "@sme.up/ketchup": "10.3.0",
25
+ "@stencil/react-output-target": "^0.8",
26
26
  "react": "^18",
27
27
  "react-dom": "^18"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@stencil/core": "^4",
31
+ "react": "^19.0.0",
32
+ "react-dom": "^19.0.0",
31
33
  "rimraf": "^6",
32
34
  "typescript": "^5"
33
35
  },
36
+ "peerDependencies": {
37
+ "react": "^18.0.0 || ^19.0.0",
38
+ "react-dom": "^18.0.0 || ^19.0.0"
39
+ },
34
40
  "installConfig": {
35
41
  "hoistingLimits": "workspaces"
36
42
  }