@siemens/ix-react 3.2.0 → 4.1.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/READMEOSS.html +29 -29
- package/dist/components.js +192 -222
- package/dist/components.js.map +1 -1
- package/dist/components.server.js +200 -833
- package/dist/components.server.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/modal/index.js +12 -2
- package/dist/modal/index.js.map +1 -1
- package/dist/tree/tree.js.map +1 -1
- package/dist/types/components.d.ts +1 -15
- package/dist/types/components.server.d.ts +1 -15
- package/dist/types/modal/index.d.ts +4 -2
- package/dist/types/tree/tree.d.ts +2 -2
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { IxActionCard, IxApplication, IxApplicationHeader, IxAvatar,
|
|
1
|
+
export { IxActionCard, IxApplication, IxApplicationHeader, IxAvatar, IxBlind, IxBreadcrumb, IxBreadcrumbItem, IxButton, IxCard, IxCardAccordion, IxCardContent, IxCardList, IxCardTitle, IxCategoryFilter, IxCheckbox, IxCheckboxGroup, IxChip, IxCol, IxContent, IxContentHeader, IxCustomField, IxDateDropdown, IxDateInput, IxDatePicker, IxDatetimePicker, IxDivider, IxDrawer, IxDropdown, IxDropdownButton, IxDropdownHeader, IxDropdownItem, IxDropdownQuickActions, IxEmptyState, IxEventList, IxEventListItem, IxExpandingSearch, IxFieldLabel, IxFilterChip, IxFlipTile, IxFlipTileContent, IxGroup, IxGroupContextMenu, IxGroupItem, IxHelperText, IxIconButton, IxIconToggleButton, IxInput, IxInputGroup, IxKeyValue, IxKeyValueList, IxKpi, IxLayoutAuto, IxLayoutGrid, IxLinkButton, IxMenu, IxMenuAbout, IxMenuAboutItem, IxMenuAboutNews, IxMenuAvatar, IxMenuAvatarItem, IxMenuCategory, IxMenuItem, IxMenuSettings, IxMenuSettingsItem, IxMessageBar, IxModal, IxModalContent, IxModalFooter, IxModalHeader, IxNumberInput, IxPagination, IxPane, IxPaneLayout, IxPill, IxProgressIndicator, IxPushCard, IxRadio, IxRadioGroup, IxRow, IxSelect, IxSelectItem, IxSlider, IxSpinner, IxSplitButton, IxTabItem, IxTabs, IxTextarea, IxTile, IxTimeInput, IxTimePicker, IxToast, IxToastContainer, IxToggle, IxToggleButton, IxTooltip, IxTypography, IxUpload, IxValidationTooltip, IxWorkflowStep, IxWorkflowSteps } from './components.js';
|
|
2
2
|
export { IxApplicationContext } from './context/application-context.js';
|
|
3
3
|
import './internal-components.js';
|
|
4
4
|
export { IxIcon } from './ix-icon.js';
|
|
5
|
-
export { showModal } from './modal/index.js';
|
|
5
|
+
export { closeModal, dismissModal, showModal } from './modal/index.js';
|
|
6
6
|
export { showToast } from './toast/toast.js';
|
|
7
7
|
export { IxTree } from './tree/tree.js';
|
|
8
8
|
export { Modal } from './modal/modal.js';
|
package/dist/modal/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { showModal as showModal$1 } from '@siemens/ix';
|
|
1
|
+
import { showModal as showModal$1, dismissModal as dismissModal$1, closeModal as closeModal$1 } from '@siemens/ix';
|
|
2
2
|
export { Modal } from './modal.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
@@ -12,6 +12,16 @@ export { Modal } from './modal.js';
|
|
|
12
12
|
async function showModal(config) {
|
|
13
13
|
return showModal$1(config);
|
|
14
14
|
}
|
|
15
|
+
function dismissModal(modalInstance) {
|
|
16
|
+
if (modalInstance?.htmlElement) {
|
|
17
|
+
dismissModal$1(modalInstance.htmlElement);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
function closeModal(modalInstance, reason) {
|
|
21
|
+
if (modalInstance?.htmlElement) {
|
|
22
|
+
closeModal$1(modalInstance.htmlElement, reason);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
15
25
|
|
|
16
|
-
export { showModal };
|
|
26
|
+
export { closeModal, dismissModal, showModal };
|
|
17
27
|
//# sourceMappingURL=index.js.map
|
package/dist/modal/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/modal/index.ts"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n ModalConfig as IxModalConfig,\n showModal as _showModal,\n} from '@siemens/ix';\nexport * from './modal';\n\nexport type ModalConfig = {\n content: React.ReactNode | string;\n};\n\nexport async function showModal(\n config: Omit<IxModalConfig, 'content'> & ModalConfig\n) {\n return _showModal(config);\n}\n"],"names":["_showModal"],"mappings":";;;AAAA;;;;;;;AAOG;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/modal/index.ts"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n ModalConfig as IxModalConfig,\n showModal as _showModal,\n dismissModal as _dismissModal,\n closeModal as _closeModal,\n ModalInstance as IxModalInstance,\n} from '@siemens/ix';\nexport * from './modal';\n\nexport type ModalConfig = {\n content: React.ReactNode | string;\n};\n\nexport async function showModal(\n config: Omit<IxModalConfig, 'content'> & ModalConfig\n) {\n return _showModal(config);\n}\n\nexport function dismissModal(modalInstance: IxModalInstance) {\n if (modalInstance?.htmlElement) {\n _dismissModal(modalInstance.htmlElement);\n }\n}\n\nexport function closeModal<T = any>(\n modalInstance: IxModalInstance,\n reason?: T\n) {\n if (modalInstance?.htmlElement) {\n _closeModal(modalInstance.htmlElement, reason);\n }\n}\n"],"names":["_showModal","_dismissModal","_closeModal"],"mappings":";;;AAAA;;;;;;;AAOG;AAeI,eAAe,SAAS,CAC7B,MAAoD,EAAA;AAEpD,IAAA,OAAOA,WAAU,CAAC,MAAM,CAAC;AAC3B;AAEM,SAAU,YAAY,CAAC,aAA8B,EAAA;AACzD,IAAA,IAAI,aAAa,EAAE,WAAW,EAAE;AAC9B,QAAAC,cAAa,CAAC,aAAa,CAAC,WAAW,CAAC;IAC1C;AACF;AAEM,SAAU,UAAU,CACxB,aAA8B,EAC9B,MAAU,EAAA;AAEV,IAAA,IAAI,aAAa,EAAE,WAAW,EAAE;AAC9B,QAAAC,YAAW,CAAC,aAAa,CAAC,WAAW,EAAE,MAAM,CAAC;IAChD;AACF;;;;"}
|
package/dist/tree/tree.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree.js","sources":["../../src/tree/tree.tsx"],"sourcesContent":["'use client';\n/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Components,\n type TreeContext,\n UpdateCallback,\n type IxTreeCustomEvent,\n} from '@siemens/ix';\nimport React, { useCallback, useRef } from 'react';\nimport ReactDOM, { Root } from 'react-dom/client';\nimport InternalIxTree from './internal-tree';\n\nexport type IxTreeProps = Omit<\n Components.IxTree,\n 'renderItem' | '
|
|
1
|
+
{"version":3,"file":"tree.js","sources":["../../src/tree/tree.tsx"],"sourcesContent":["'use client';\n/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Components,\n type TreeContext,\n UpdateCallback,\n type IxTreeCustomEvent,\n} from '@siemens/ix';\nimport React, { useCallback, useRef } from 'react';\nimport ReactDOM, { Root } from 'react-dom/client';\nimport InternalIxTree from './internal-tree';\n\nexport type IxTreeProps = Omit<\n Components.IxTree,\n 'renderItem' | 'markItemsAsDirty' | 'refreshTree'\n> & {\n renderItem?: (data: any) => React.ReactNode;\n onContextChange?: (event: IxTreeCustomEvent<TreeContext>) => void;\n onNodeToggled?: (\n event: CustomEvent<{ id: string; isExpaned: boolean }>\n ) => void;\n onNodeClicked?: (event: CustomEvent<string>) => void;\n onNodeRemoved?: (event: CustomEvent<any>) => void;\n};\n\nexport const IxTree = React.forwardRef(\n (props: IxTreeProps, ref: React.ForwardedRef<Components.IxTree>) => {\n const cachedRootNodes = useRef<Map<HTMLElement, Root>>(new Map());\n\n const renderItem = useCallback(\n (\n _: number,\n data: any,\n __: any[],\n context: TreeContext,\n update: (callback: UpdateCallback) => void\n ) => {\n const treeItem = document.createElement('ix-tree-item');\n const rootNode = ReactDOM.createRoot(treeItem);\n treeItem.hasChildren = data.hasChildren;\n treeItem.context = context[data.id];\n\n if (props.renderItem) {\n rootNode.render(props.renderItem(data.data));\n }\n\n update((itemData, newContext) => {\n treeItem.context = newContext[itemData.id];\n treeItem.hasChildren = itemData.hasChildren;\n\n if (props.renderItem) {\n rootNode.render(props.renderItem(itemData.data));\n }\n });\n\n cachedRootNodes.current.set(treeItem, rootNode);\n return treeItem;\n },\n []\n );\n\n return (\n <InternalIxTree\n //@ts-expect-error ref exposed by the StencilComponent type\n ref={ref}\n {...props}\n renderItem={props.renderItem ? renderItem : undefined}\n onNodeRemoved={(removed: CustomEvent<any[]>) => {\n const { detail } = removed;\n\n detail.forEach((removedItemElement) => {\n if (cachedRootNodes.current.has(removedItemElement)) {\n cachedRootNodes.current.get(removedItemElement)?.unmount();\n cachedRootNodes.current.delete(removedItemElement);\n }\n });\n }}\n ></InternalIxTree>\n );\n }\n);\n\nexport default IxTree;\n"],"names":[],"mappings":";;;;;;AAiCO;;AAIH;;;AAUI;;AAGA;AACE;;AAGF;;AAEE;AAEA;AACE;;AAEJ;;AAGA;;;;;;;AAYE;AAEA;;;AAGI;;AAEJ;;AAIR;;"}
|
|
@@ -7,7 +7,6 @@ import { IxActionCard as IxActionCardElement } from "@siemens/ix/components/ix-a
|
|
|
7
7
|
import { IxApplicationHeader as IxApplicationHeaderElement } from "@siemens/ix/components/ix-application-header.js";
|
|
8
8
|
import { IxApplication as IxApplicationElement } from "@siemens/ix/components/ix-application.js";
|
|
9
9
|
import { IxAvatar as IxAvatarElement } from "@siemens/ix/components/ix-avatar.js";
|
|
10
|
-
import { IxBasicNavigation as IxBasicNavigationElement } from "@siemens/ix/components/ix-basic-navigation.js";
|
|
11
10
|
import { IxBlind as IxBlindElement } from "@siemens/ix/components/ix-blind.js";
|
|
12
11
|
import { IxBreadcrumbItem as IxBreadcrumbItemElement } from "@siemens/ix/components/ix-breadcrumb-item.js";
|
|
13
12
|
import { IxBreadcrumb as IxBreadcrumbElement } from "@siemens/ix/components/ix-breadcrumb.js";
|
|
@@ -58,8 +57,6 @@ import { IxKpi as IxKpiElement } from "@siemens/ix/components/ix-kpi.js";
|
|
|
58
57
|
import { IxLayoutAuto as IxLayoutAutoElement } from "@siemens/ix/components/ix-layout-auto.js";
|
|
59
58
|
import { IxLayoutGrid as IxLayoutGridElement } from "@siemens/ix/components/ix-layout-grid.js";
|
|
60
59
|
import { IxLinkButton as IxLinkButtonElement } from "@siemens/ix/components/ix-link-button.js";
|
|
61
|
-
import { IxMapNavigationOverlay as IxMapNavigationOverlayElement } from "@siemens/ix/components/ix-map-navigation-overlay.js";
|
|
62
|
-
import { IxMapNavigation as IxMapNavigationElement } from "@siemens/ix/components/ix-map-navigation.js";
|
|
63
60
|
import { IxMenuAboutItem as IxMenuAboutItemElement } from "@siemens/ix/components/ix-menu-about-item.js";
|
|
64
61
|
import { IxMenuAboutNews as IxMenuAboutNewsElement } from "@siemens/ix/components/ix-menu-about-news.js";
|
|
65
62
|
import { IxMenuAbout as IxMenuAboutElement } from "@siemens/ix/components/ix-menu-about.js";
|
|
@@ -118,8 +115,6 @@ export type IxApplicationHeaderEvents = {
|
|
|
118
115
|
export declare const IxApplicationHeader: StencilReactComponent<IxApplicationHeaderElement, IxApplicationHeaderEvents>;
|
|
119
116
|
export type IxAvatarEvents = NonNullable<unknown>;
|
|
120
117
|
export declare const IxAvatar: StencilReactComponent<IxAvatarElement, IxAvatarEvents>;
|
|
121
|
-
export type IxBasicNavigationEvents = NonNullable<unknown>;
|
|
122
|
-
export declare const IxBasicNavigation: StencilReactComponent<IxBasicNavigationElement, IxBasicNavigationEvents>;
|
|
123
118
|
export type IxBlindEvents = {
|
|
124
119
|
onCollapsedChange: EventName<CustomEvent<boolean>>;
|
|
125
120
|
};
|
|
@@ -252,7 +247,7 @@ export declare const IxFlipTileContent: StencilReactComponent<IxFlipTileContentE
|
|
|
252
247
|
export type IxGroupEvents = {
|
|
253
248
|
onSelectGroup: EventName<CustomEvent<boolean>>;
|
|
254
249
|
onSelectItem: EventName<CustomEvent<number>>;
|
|
255
|
-
|
|
250
|
+
onExpandedChanged: EventName<CustomEvent<boolean>>;
|
|
256
251
|
};
|
|
257
252
|
export declare const IxGroup: StencilReactComponent<IxGroupElement, IxGroupEvents>;
|
|
258
253
|
export type IxGroupContextMenuEvents = NonNullable<unknown>;
|
|
@@ -289,15 +284,6 @@ export type IxLayoutGridEvents = NonNullable<unknown>;
|
|
|
289
284
|
export declare const IxLayoutGrid: StencilReactComponent<IxLayoutGridElement, IxLayoutGridEvents>;
|
|
290
285
|
export type IxLinkButtonEvents = NonNullable<unknown>;
|
|
291
286
|
export declare const IxLinkButton: StencilReactComponent<IxLinkButtonElement, IxLinkButtonEvents>;
|
|
292
|
-
export type IxMapNavigationEvents = {
|
|
293
|
-
onNavigationToggled: EventName<CustomEvent<boolean>>;
|
|
294
|
-
onContextMenuClick: EventName<CustomEvent<void>>;
|
|
295
|
-
};
|
|
296
|
-
export declare const IxMapNavigation: StencilReactComponent<IxMapNavigationElement, IxMapNavigationEvents>;
|
|
297
|
-
export type IxMapNavigationOverlayEvents = {
|
|
298
|
-
onCloseClick: EventName<CustomEvent<any>>;
|
|
299
|
-
};
|
|
300
|
-
export declare const IxMapNavigationOverlay: StencilReactComponent<IxMapNavigationOverlayElement, IxMapNavigationOverlayEvents>;
|
|
301
287
|
export type IxMenuEvents = {
|
|
302
288
|
onExpandChange: EventName<CustomEvent<boolean>>;
|
|
303
289
|
onMapExpandChange: EventName<CustomEvent<boolean>>;
|
|
@@ -7,7 +7,6 @@ import { IxActionCard as IxActionCardElement } from "@siemens/ix/components/ix-a
|
|
|
7
7
|
import { IxApplicationHeader as IxApplicationHeaderElement } from "@siemens/ix/components/ix-application-header.js";
|
|
8
8
|
import { IxApplication as IxApplicationElement } from "@siemens/ix/components/ix-application.js";
|
|
9
9
|
import { IxAvatar as IxAvatarElement } from "@siemens/ix/components/ix-avatar.js";
|
|
10
|
-
import { IxBasicNavigation as IxBasicNavigationElement } from "@siemens/ix/components/ix-basic-navigation.js";
|
|
11
10
|
import { IxBlind as IxBlindElement } from "@siemens/ix/components/ix-blind.js";
|
|
12
11
|
import { IxBreadcrumbItem as IxBreadcrumbItemElement } from "@siemens/ix/components/ix-breadcrumb-item.js";
|
|
13
12
|
import { IxBreadcrumb as IxBreadcrumbElement } from "@siemens/ix/components/ix-breadcrumb.js";
|
|
@@ -58,8 +57,6 @@ import { IxKpi as IxKpiElement } from "@siemens/ix/components/ix-kpi.js";
|
|
|
58
57
|
import { IxLayoutAuto as IxLayoutAutoElement } from "@siemens/ix/components/ix-layout-auto.js";
|
|
59
58
|
import { IxLayoutGrid as IxLayoutGridElement } from "@siemens/ix/components/ix-layout-grid.js";
|
|
60
59
|
import { IxLinkButton as IxLinkButtonElement } from "@siemens/ix/components/ix-link-button.js";
|
|
61
|
-
import { IxMapNavigationOverlay as IxMapNavigationOverlayElement } from "@siemens/ix/components/ix-map-navigation-overlay.js";
|
|
62
|
-
import { IxMapNavigation as IxMapNavigationElement } from "@siemens/ix/components/ix-map-navigation.js";
|
|
63
60
|
import { IxMenuAboutItem as IxMenuAboutItemElement } from "@siemens/ix/components/ix-menu-about-item.js";
|
|
64
61
|
import { IxMenuAboutNews as IxMenuAboutNewsElement } from "@siemens/ix/components/ix-menu-about-news.js";
|
|
65
62
|
import { IxMenuAbout as IxMenuAboutElement } from "@siemens/ix/components/ix-menu-about.js";
|
|
@@ -120,8 +117,6 @@ export type IxApplicationHeaderEvents = {
|
|
|
120
117
|
export declare const IxApplicationHeader: StencilReactComponent<IxApplicationHeaderElement, IxApplicationHeaderEvents>;
|
|
121
118
|
export type IxAvatarEvents = NonNullable<unknown>;
|
|
122
119
|
export declare const IxAvatar: StencilReactComponent<IxAvatarElement, IxAvatarEvents>;
|
|
123
|
-
export type IxBasicNavigationEvents = NonNullable<unknown>;
|
|
124
|
-
export declare const IxBasicNavigation: StencilReactComponent<IxBasicNavigationElement, IxBasicNavigationEvents>;
|
|
125
120
|
export type IxBlindEvents = {
|
|
126
121
|
onCollapsedChange: EventName<CustomEvent<boolean>>;
|
|
127
122
|
};
|
|
@@ -254,7 +249,7 @@ export declare const IxFlipTileContent: StencilReactComponent<IxFlipTileContentE
|
|
|
254
249
|
export type IxGroupEvents = {
|
|
255
250
|
onSelectGroup: EventName<CustomEvent<boolean>>;
|
|
256
251
|
onSelectItem: EventName<CustomEvent<number>>;
|
|
257
|
-
|
|
252
|
+
onExpandedChanged: EventName<CustomEvent<boolean>>;
|
|
258
253
|
};
|
|
259
254
|
export declare const IxGroup: StencilReactComponent<IxGroupElement, IxGroupEvents>;
|
|
260
255
|
export type IxGroupContextMenuEvents = NonNullable<unknown>;
|
|
@@ -291,15 +286,6 @@ export type IxLayoutGridEvents = NonNullable<unknown>;
|
|
|
291
286
|
export declare const IxLayoutGrid: StencilReactComponent<IxLayoutGridElement, IxLayoutGridEvents>;
|
|
292
287
|
export type IxLinkButtonEvents = NonNullable<unknown>;
|
|
293
288
|
export declare const IxLinkButton: StencilReactComponent<IxLinkButtonElement, IxLinkButtonEvents>;
|
|
294
|
-
export type IxMapNavigationEvents = {
|
|
295
|
-
onNavigationToggled: EventName<CustomEvent<boolean>>;
|
|
296
|
-
onContextMenuClick: EventName<CustomEvent<void>>;
|
|
297
|
-
};
|
|
298
|
-
export declare const IxMapNavigation: StencilReactComponent<IxMapNavigationElement, IxMapNavigationEvents>;
|
|
299
|
-
export type IxMapNavigationOverlayEvents = {
|
|
300
|
-
onCloseClick: EventName<CustomEvent<any>>;
|
|
301
|
-
};
|
|
302
|
-
export declare const IxMapNavigationOverlay: StencilReactComponent<IxMapNavigationOverlayElement, IxMapNavigationOverlayEvents>;
|
|
303
289
|
export type IxMenuEvents = {
|
|
304
290
|
onExpandChange: EventName<CustomEvent<boolean>>;
|
|
305
291
|
onMapExpandChange: EventName<CustomEvent<boolean>>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { ModalConfig as IxModalConfig } from '@siemens/ix';
|
|
1
|
+
import { ModalConfig as IxModalConfig, ModalInstance as IxModalInstance } from '@siemens/ix';
|
|
2
2
|
export * from './modal';
|
|
3
3
|
export type ModalConfig = {
|
|
4
4
|
content: React.ReactNode | string;
|
|
5
5
|
};
|
|
6
|
-
export declare function showModal(config: Omit<IxModalConfig, 'content'> & ModalConfig): Promise<
|
|
6
|
+
export declare function showModal(config: Omit<IxModalConfig, 'content'> & ModalConfig): Promise<IxModalInstance<any>>;
|
|
7
|
+
export declare function dismissModal(modalInstance: IxModalInstance): void;
|
|
8
|
+
export declare function closeModal<T = any>(modalInstance: IxModalInstance, reason?: T): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Components, type TreeContext, type IxTreeCustomEvent } from '@siemens/ix';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
export type IxTreeProps = Omit<Components.IxTree, 'renderItem' | '
|
|
3
|
+
export type IxTreeProps = Omit<Components.IxTree, 'renderItem' | 'markItemsAsDirty' | 'refreshTree'> & {
|
|
4
4
|
renderItem?: (data: any) => React.ReactNode;
|
|
5
5
|
onContextChange?: (event: IxTreeCustomEvent<TreeContext>) => void;
|
|
6
6
|
onNodeToggled?: (event: CustomEvent<{
|
|
@@ -10,7 +10,7 @@ export type IxTreeProps = Omit<Components.IxTree, 'renderItem' | 'markItemAsDirt
|
|
|
10
10
|
onNodeClicked?: (event: CustomEvent<string>) => void;
|
|
11
11
|
onNodeRemoved?: (event: CustomEvent<any>) => void;
|
|
12
12
|
};
|
|
13
|
-
export declare const IxTree: React.ForwardRefExoticComponent<Omit<Components.IxTree, "renderItem" | "
|
|
13
|
+
export declare const IxTree: React.ForwardRefExoticComponent<Omit<Components.IxTree, "renderItem" | "markItemsAsDirty" | "refreshTree"> & {
|
|
14
14
|
renderItem?: (data: any) => React.ReactNode;
|
|
15
15
|
onContextChange?: (event: IxTreeCustomEvent<TreeContext>) => void;
|
|
16
16
|
onNodeToggled?: (event: CustomEvent<{
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"url": "https://github.com/siemens/ix",
|
|
8
8
|
"directory": "packages/react"
|
|
9
9
|
},
|
|
10
|
-
"version": "
|
|
10
|
+
"version": "4.1.0",
|
|
11
11
|
"description": "Siemens iX for React",
|
|
12
12
|
"files": [
|
|
13
13
|
"LICENSE",
|
|
@@ -57,17 +57,17 @@
|
|
|
57
57
|
"vite": "^7.0.4",
|
|
58
58
|
"vitest": "^3.2.4",
|
|
59
59
|
"vitest-browser-react": "^1.0.0",
|
|
60
|
-
"@siemens/ix": "
|
|
60
|
+
"@siemens/ix": "4.1.0",
|
|
61
61
|
"eslint-config-ix": "1.0.0"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"@siemens/ix-icons": "^3.
|
|
64
|
+
"@siemens/ix-icons": "^3.2.0",
|
|
65
65
|
"react": "^18 || ^19",
|
|
66
66
|
"react-dom": "^18 || ^19"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@siemens/ix": "~
|
|
70
|
-
"@stencil/react-output-target": "^1.
|
|
69
|
+
"@siemens/ix": "~4.1.0",
|
|
70
|
+
"@stencil/react-output-target": "^1.2.0",
|
|
71
71
|
"tslib": "*"
|
|
72
72
|
},
|
|
73
73
|
"scripts": {
|