@itwin/grouping-mapping-widget 0.5.5 → 0.5.8
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/lib/cjs/grouping-mapping-widget.d.ts +2 -2
- package/lib/cjs/grouping-mapping-widget.js +1 -1
- package/lib/cjs/grouping-mapping-widget.js.map +1 -1
- package/lib/cjs/widget/components/ActionPanel.js +2 -2
- package/lib/cjs/widget/components/ActionPanel.js.map +1 -1
- package/lib/cjs/widget/components/ActionPanel.scss +1 -1
- package/lib/cjs/widget/components/BlockingOverlay.js +2 -2
- package/lib/cjs/widget/components/BlockingOverlay.js.map +1 -1
- package/lib/cjs/widget/components/BlockingOverlay.scss +3 -3
- package/lib/cjs/widget/components/CalculatedPropertyAction.js +5 -5
- package/lib/cjs/widget/components/CalculatedPropertyAction.js.map +1 -1
- package/lib/cjs/widget/components/CalculatedPropertyAction.scss +4 -4
- package/lib/cjs/widget/components/ConfirmMappingsImport.js +12 -12
- package/lib/cjs/widget/components/ConfirmMappingsImport.js.map +1 -1
- package/lib/cjs/widget/components/ConfirmMappingsImport.scss +10 -10
- package/lib/cjs/widget/components/CustomCalculationAction.js +3 -3
- package/lib/cjs/widget/components/CustomCalculationAction.js.map +1 -1
- package/lib/cjs/widget/components/CustomCalculationAction.scss +2 -2
- package/lib/cjs/widget/components/DeleteModal.js +2 -2
- package/lib/cjs/widget/components/DeleteModal.js.map +1 -1
- package/lib/cjs/widget/components/DeleteModal.scss +2 -2
- package/lib/cjs/widget/components/GroupAction.js +8 -8
- package/lib/cjs/widget/components/GroupAction.js.map +1 -1
- package/lib/cjs/widget/components/GroupAction.scss +6 -6
- package/lib/cjs/widget/components/GroupPropertyAction.js +6 -6
- package/lib/cjs/widget/components/GroupPropertyAction.js.map +1 -1
- package/lib/cjs/widget/components/GroupPropertyAction.scss +6 -10
- package/lib/cjs/widget/components/GroupQueryBuilder.scss +4 -4
- package/lib/cjs/widget/components/GroupQueryBuilderContainer.js +3 -3
- package/lib/cjs/widget/components/GroupQueryBuilderContainer.js.map +1 -1
- package/lib/cjs/widget/components/Grouping.js +14 -16
- package/lib/cjs/widget/components/Grouping.js.map +1 -1
- package/lib/cjs/widget/components/Grouping.scss +8 -7
- package/lib/cjs/widget/components/GroupingMapping.js +1 -1
- package/lib/cjs/widget/components/GroupingMapping.js.map +1 -1
- package/lib/cjs/widget/components/GroupingMapping.scss +4 -10
- package/lib/cjs/widget/components/HorizontalTile.d.ts +13 -0
- package/lib/cjs/widget/components/HorizontalTile.js +18 -0
- package/lib/cjs/widget/components/HorizontalTile.js.map +1 -0
- package/lib/{esm/widget/components/GroupTile.scss → cjs/widget/components/HorizontalTile.scss} +4 -4
- package/lib/cjs/widget/components/Mapping.js +38 -58
- package/lib/cjs/widget/components/Mapping.js.map +1 -1
- package/lib/cjs/widget/components/Mapping.scss +22 -8
- package/lib/cjs/widget/components/MappingAction.js +3 -3
- package/lib/cjs/widget/components/MappingAction.js.map +1 -1
- package/lib/cjs/widget/components/MappingAction.scss +2 -2
- package/lib/cjs/widget/components/MappingImportWizardModal.js +2 -2
- package/lib/cjs/widget/components/MappingImportWizardModal.js.map +1 -1
- package/lib/cjs/widget/components/MappingImportWizardModal.scss +3 -3
- package/lib/cjs/widget/components/PropertyMenu.js +9 -9
- package/lib/cjs/widget/components/PropertyMenu.js.map +1 -1
- package/lib/cjs/widget/components/PropertyMenu.scss +7 -7
- package/lib/cjs/widget/components/SelectIModel.js +3 -3
- package/lib/cjs/widget/components/SelectIModel.js.map +1 -1
- package/lib/cjs/widget/components/SelectIModel.scss +2 -6
- package/lib/cjs/widget/components/SelectMapping.scss +2 -2
- package/lib/cjs/widget/components/SelectMappings.js +3 -3
- package/lib/cjs/widget/components/SelectMappings.js.map +1 -1
- package/lib/cjs/widget/components/SelectProject.js +28 -20
- package/lib/cjs/widget/components/SelectProject.js.map +1 -1
- package/lib/cjs/widget/components/SelectProject.scss +5 -5
- package/lib/cjs/widget/components/property-grid/NonPrimitivePropertyRenderer.d.ts +0 -1
- package/lib/cjs/widget/components/property-grid/NonPrimitivePropertyRenderer.js +0 -1
- package/lib/cjs/widget/components/property-grid/NonPrimitivePropertyRenderer.js.map +1 -1
- package/lib/cjs/widget/components/property-grid/PropertyGrid.js +6 -6
- package/lib/cjs/widget/components/property-grid/PropertyGrid.js.map +1 -1
- package/lib/cjs/widget/components/property-grid/PropertyGrid.scss +12 -12
- package/lib/cjs/widget/components/property-grid/PropertyGridWrapper.js +1 -1
- package/lib/cjs/widget/components/property-grid/PropertyGridWrapper.js.map +1 -1
- package/lib/cjs/widget/components/property-grid/PropertyList.js +1 -1
- package/lib/cjs/widget/components/property-grid/PropertyList.js.map +1 -1
- package/lib/cjs/widget/components/property-grid/PropertyView.js +5 -5
- package/lib/cjs/widget/components/property-grid/PropertyView.js.map +1 -1
- package/lib/cjs/widget/components/property-grid/PropertyView.scss +13 -62
- package/lib/cjs/widget/components/utils.js +6 -6
- package/lib/cjs/widget/components/utils.js.map +1 -1
- package/lib/cjs/widget/components/utils.scss +6 -6
- package/lib/esm/grouping-mapping-widget.d.ts +2 -2
- package/lib/esm/grouping-mapping-widget.js +1 -1
- package/lib/esm/grouping-mapping-widget.js.map +1 -1
- package/lib/esm/widget/components/ActionPanel.js +2 -2
- package/lib/esm/widget/components/ActionPanel.js.map +1 -1
- package/lib/esm/widget/components/ActionPanel.scss +1 -1
- package/lib/esm/widget/components/BlockingOverlay.js +2 -2
- package/lib/esm/widget/components/BlockingOverlay.js.map +1 -1
- package/lib/esm/widget/components/BlockingOverlay.scss +3 -3
- package/lib/esm/widget/components/CalculatedPropertyAction.js +5 -5
- package/lib/esm/widget/components/CalculatedPropertyAction.js.map +1 -1
- package/lib/esm/widget/components/CalculatedPropertyAction.scss +4 -4
- package/lib/esm/widget/components/ConfirmMappingsImport.js +12 -12
- package/lib/esm/widget/components/ConfirmMappingsImport.js.map +1 -1
- package/lib/esm/widget/components/ConfirmMappingsImport.scss +10 -10
- package/lib/esm/widget/components/CustomCalculationAction.js +3 -3
- package/lib/esm/widget/components/CustomCalculationAction.js.map +1 -1
- package/lib/esm/widget/components/CustomCalculationAction.scss +2 -2
- package/lib/esm/widget/components/DeleteModal.js +2 -2
- package/lib/esm/widget/components/DeleteModal.js.map +1 -1
- package/lib/esm/widget/components/DeleteModal.scss +2 -2
- package/lib/esm/widget/components/GroupAction.js +8 -8
- package/lib/esm/widget/components/GroupAction.js.map +1 -1
- package/lib/esm/widget/components/GroupAction.scss +6 -6
- package/lib/esm/widget/components/GroupPropertyAction.js +6 -6
- package/lib/esm/widget/components/GroupPropertyAction.js.map +1 -1
- package/lib/esm/widget/components/GroupPropertyAction.scss +6 -10
- package/lib/esm/widget/components/GroupQueryBuilder.scss +4 -4
- package/lib/esm/widget/components/GroupQueryBuilderContainer.js +3 -3
- package/lib/esm/widget/components/GroupQueryBuilderContainer.js.map +1 -1
- package/lib/esm/widget/components/Grouping.js +14 -16
- package/lib/esm/widget/components/Grouping.js.map +1 -1
- package/lib/esm/widget/components/Grouping.scss +8 -7
- package/lib/esm/widget/components/GroupingMapping.js +1 -1
- package/lib/esm/widget/components/GroupingMapping.js.map +1 -1
- package/lib/esm/widget/components/GroupingMapping.scss +4 -10
- package/lib/esm/widget/components/HorizontalTile.d.ts +13 -0
- package/lib/esm/widget/components/HorizontalTile.js +11 -0
- package/lib/esm/widget/components/HorizontalTile.js.map +1 -0
- package/lib/{cjs/widget/components/GroupTile.scss → esm/widget/components/HorizontalTile.scss} +4 -4
- package/lib/esm/widget/components/Mapping.js +41 -61
- package/lib/esm/widget/components/Mapping.js.map +1 -1
- package/lib/esm/widget/components/Mapping.scss +22 -8
- package/lib/esm/widget/components/MappingAction.js +3 -3
- package/lib/esm/widget/components/MappingAction.js.map +1 -1
- package/lib/esm/widget/components/MappingAction.scss +2 -2
- package/lib/esm/widget/components/MappingImportWizardModal.js +2 -2
- package/lib/esm/widget/components/MappingImportWizardModal.js.map +1 -1
- package/lib/esm/widget/components/MappingImportWizardModal.scss +3 -3
- package/lib/esm/widget/components/PropertyMenu.js +9 -9
- package/lib/esm/widget/components/PropertyMenu.js.map +1 -1
- package/lib/esm/widget/components/PropertyMenu.scss +7 -7
- package/lib/esm/widget/components/SelectIModel.js +3 -3
- package/lib/esm/widget/components/SelectIModel.js.map +1 -1
- package/lib/esm/widget/components/SelectIModel.scss +2 -6
- package/lib/esm/widget/components/SelectMapping.scss +2 -2
- package/lib/esm/widget/components/SelectMappings.js +3 -3
- package/lib/esm/widget/components/SelectMappings.js.map +1 -1
- package/lib/esm/widget/components/SelectProject.js +30 -22
- package/lib/esm/widget/components/SelectProject.js.map +1 -1
- package/lib/esm/widget/components/SelectProject.scss +5 -5
- package/lib/esm/widget/components/property-grid/NonPrimitivePropertyRenderer.d.ts +0 -1
- package/lib/esm/widget/components/property-grid/NonPrimitivePropertyRenderer.js +0 -1
- package/lib/esm/widget/components/property-grid/NonPrimitivePropertyRenderer.js.map +1 -1
- package/lib/esm/widget/components/property-grid/PropertyGrid.js +6 -6
- package/lib/esm/widget/components/property-grid/PropertyGrid.js.map +1 -1
- package/lib/esm/widget/components/property-grid/PropertyGrid.scss +12 -12
- package/lib/esm/widget/components/property-grid/PropertyGridWrapper.js +1 -1
- package/lib/esm/widget/components/property-grid/PropertyGridWrapper.js.map +1 -1
- package/lib/esm/widget/components/property-grid/PropertyList.js +1 -1
- package/lib/esm/widget/components/property-grid/PropertyList.js.map +1 -1
- package/lib/esm/widget/components/property-grid/PropertyView.js +5 -5
- package/lib/esm/widget/components/property-grid/PropertyView.js.map +1 -1
- package/lib/esm/widget/components/property-grid/PropertyView.scss +13 -62
- package/lib/esm/widget/components/utils.js +6 -6
- package/lib/esm/widget/components/utils.js.map +1 -1
- package/lib/esm/widget/components/utils.scss +6 -6
- package/package.json +1 -1
- package/lib/cjs/widget/components/GroupTile.d.ts +0 -13
- package/lib/cjs/widget/components/GroupTile.js +0 -18
- package/lib/cjs/widget/components/GroupTile.js.map +0 -1
- package/lib/cjs/widget/components/property-grid/NonPrimitivePropertyRenderer.scss +0 -16
- package/lib/esm/widget/components/GroupTile.d.ts +0 -13
- package/lib/esm/widget/components/GroupTile.js +0 -11
- package/lib/esm/widget/components/GroupTile.js.map +0 -1
- package/lib/esm/widget/components/property-grid/NonPrimitivePropertyRenderer.scss +0 -16
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
@import "~@itwin/itwinui-css/scss/icon/index";
|
|
7
7
|
@import "~@itwin/itwinui-css/scss/button/index";
|
|
8
8
|
|
|
9
|
-
.widget-header-container {
|
|
9
|
+
.gmw-widget-header-container {
|
|
10
10
|
display: flex;
|
|
11
11
|
margin-bottom: $iui-baseline * 3;
|
|
12
12
|
|
|
13
|
-
.chevron {
|
|
13
|
+
.gmw-chevron {
|
|
14
14
|
@include iui-icons-large();
|
|
15
15
|
cursor: pointer;
|
|
16
16
|
align-self: center;
|
|
17
17
|
margin-right: $iui-s;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.chevron-disabled {
|
|
20
|
+
.gmw-chevron-disabled {
|
|
21
21
|
@include iui-icons-large();
|
|
22
22
|
@include themed {
|
|
23
23
|
fill: t(iui-icons-color-actionable-disabled);
|
|
@@ -28,19 +28,19 @@
|
|
|
28
28
|
margin-right: $iui-s;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.title {
|
|
31
|
+
.gmw-title {
|
|
32
32
|
overflow: hidden;
|
|
33
33
|
white-space: nowrap;
|
|
34
34
|
text-overflow: ellipsis;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
.
|
|
38
|
+
.gmw-loading-spinner {
|
|
39
39
|
display: flex;
|
|
40
40
|
align-items: center;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.
|
|
43
|
+
.gmw-center-overlay {
|
|
44
44
|
display: flex;
|
|
45
45
|
justify-content: center;
|
|
46
46
|
align-items: center;
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from "react";
|
|
2
|
-
import "./GroupTile.scss";
|
|
3
|
-
interface GroupTileProps {
|
|
4
|
-
title: string;
|
|
5
|
-
actionGroup: ReactNode;
|
|
6
|
-
subText?: string;
|
|
7
|
-
onClickTitle?: () => void;
|
|
8
|
-
titleTooltip?: string;
|
|
9
|
-
subtextToolTip?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const GroupTile: ({ title, subText, onClickTitle, titleTooltip, subtextToolTip, actionGroup }: GroupTileProps) => JSX.Element;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=GroupTile.d.ts.map
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.GroupTile = void 0;
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const itwinui_react_1 = require("@itwin/itwinui-react");
|
|
9
|
-
require("./GroupTile.scss");
|
|
10
|
-
const GroupTile = ({ title, subText, onClickTitle, titleTooltip, subtextToolTip, actionGroup }) => {
|
|
11
|
-
return (react_1.default.createElement("div", { className: "gmw-group-tile-container", "data-testid": "group-tile" },
|
|
12
|
-
react_1.default.createElement("div", { className: "body" },
|
|
13
|
-
react_1.default.createElement(itwinui_react_1.Text, { className: `body-text ${onClickTitle ? "iui-anchor" : ""}`, onClick: onClickTitle, variant: "body", title: titleTooltip }, title),
|
|
14
|
-
subText && react_1.default.createElement(itwinui_react_1.Text, { className: "body-text", isMuted: true, title: subtextToolTip, variant: "small" }, subText)),
|
|
15
|
-
react_1.default.createElement("div", { className: "action-button", "data-testid": "tile-action-button" }, actionGroup)));
|
|
16
|
-
};
|
|
17
|
-
exports.GroupTile = GroupTile;
|
|
18
|
-
//# sourceMappingURL=GroupTile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupTile.js","sourceRoot":"","sources":["../../../../src/widget/components/GroupTile.tsx"],"names":[],"mappings":";;;;;;AAKA,kDAA0B;AAC1B,wDAA4C;AAC5C,4BAA0B;AAWnB,MAAM,SAAS,GAAG,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,WAAW,EAAkB,EAAE,EAAE;IAEvH,OAAO,CACL,uCAAK,SAAS,EAAC,0BAA0B,iBAAa,YAAY;QAChE,uCAAK,SAAS,EAAC,MAAM;YACnB,8BAAC,oBAAI,IAAC,SAAS,EAAE,aAAa,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAC,MAAM,EAAC,KAAK,EAAE,YAAY,IAAG,KAAK,CAAQ;YAC1I,OAAO,IAAI,8BAAC,oBAAI,IAAC,SAAS,EAAC,WAAW,EAAC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,cAAc,EAAE,OAAO,EAAC,OAAO,IAAE,OAAO,CAAQ,CAC1G;QACN,uCAAK,SAAS,EAAC,eAAe,iBAAa,oBAAoB,IAC5D,WAAW,CACR,CACF,CACP,CAAC;AAEJ,CAAC,CAAC;AAdW,QAAA,SAAS,aAcpB","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\nimport type { ReactNode } from \"react\";\nimport React from \"react\";\nimport { Text } from \"@itwin/itwinui-react\";\nimport \"./GroupTile.scss\";\n\ninterface GroupTileProps {\n title: string;\n actionGroup: ReactNode;\n subText?: string;\n onClickTitle?: () => void;\n titleTooltip?: string;\n subtextToolTip?: string;\n}\n\nexport const GroupTile = ({ title, subText, onClickTitle, titleTooltip, subtextToolTip, actionGroup }: GroupTileProps) => {\n\n return (\n <div className=\"gmw-group-tile-container\" data-testid=\"group-tile\">\n <div className=\"body\">\n <Text className={`body-text ${onClickTitle ? \"iui-anchor\" : \"\"}`} onClick={onClickTitle} variant=\"body\" title={titleTooltip}>{title}</Text>\n {subText && <Text className=\"body-text\" isMuted={true} title={subtextToolTip} variant=\"small\">{subText}</Text>}\n </div>\n <div className=\"action-button\" data-testid=\"tile-action-button\">\n {actionGroup}\n </div>\n </div>\n );\n\n};\n"]}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
@import '~@itwin/core-react/lib/cjs/core-react/style/colors';
|
|
6
|
-
|
|
7
|
-
.components-nonprimitive-property {
|
|
8
|
-
padding: 10px;
|
|
9
|
-
display: grid;
|
|
10
|
-
grid-row-gap: 10px;
|
|
11
|
-
|
|
12
|
-
border-radius: 3px;
|
|
13
|
-
border: solid 1px $uicore-gray-9;
|
|
14
|
-
|
|
15
|
-
background-color: #fff;
|
|
16
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from "react";
|
|
2
|
-
import "./GroupTile.scss";
|
|
3
|
-
interface GroupTileProps {
|
|
4
|
-
title: string;
|
|
5
|
-
actionGroup: ReactNode;
|
|
6
|
-
subText?: string;
|
|
7
|
-
onClickTitle?: () => void;
|
|
8
|
-
titleTooltip?: string;
|
|
9
|
-
subtextToolTip?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const GroupTile: ({ title, subText, onClickTitle, titleTooltip, subtextToolTip, actionGroup }: GroupTileProps) => JSX.Element;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=GroupTile.d.ts.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Text } from "@itwin/itwinui-react";
|
|
3
|
-
import "./GroupTile.scss";
|
|
4
|
-
export const GroupTile = ({ title, subText, onClickTitle, titleTooltip, subtextToolTip, actionGroup }) => {
|
|
5
|
-
return (React.createElement("div", { className: "gmw-group-tile-container", "data-testid": "group-tile" },
|
|
6
|
-
React.createElement("div", { className: "body" },
|
|
7
|
-
React.createElement(Text, { className: `body-text ${onClickTitle ? "iui-anchor" : ""}`, onClick: onClickTitle, variant: "body", title: titleTooltip }, title),
|
|
8
|
-
subText && React.createElement(Text, { className: "body-text", isMuted: true, title: subtextToolTip, variant: "small" }, subText)),
|
|
9
|
-
React.createElement("div", { className: "action-button", "data-testid": "tile-action-button" }, actionGroup)));
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=GroupTile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupTile.js","sourceRoot":"","sources":["../../../../src/widget/components/GroupTile.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,kBAAkB,CAAC;AAW1B,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,WAAW,EAAkB,EAAE,EAAE;IAEvH,OAAO,CACL,6BAAK,SAAS,EAAC,0BAA0B,iBAAa,YAAY;QAChE,6BAAK,SAAS,EAAC,MAAM;YACnB,oBAAC,IAAI,IAAC,SAAS,EAAE,aAAa,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAC,MAAM,EAAC,KAAK,EAAE,YAAY,IAAG,KAAK,CAAQ;YAC1I,OAAO,IAAI,oBAAC,IAAI,IAAC,SAAS,EAAC,WAAW,EAAC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,cAAc,EAAE,OAAO,EAAC,OAAO,IAAE,OAAO,CAAQ,CAC1G;QACN,6BAAK,SAAS,EAAC,eAAe,iBAAa,oBAAoB,IAC5D,WAAW,CACR,CACF,CACP,CAAC;AAEJ,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\nimport type { ReactNode } from \"react\";\nimport React from \"react\";\nimport { Text } from \"@itwin/itwinui-react\";\nimport \"./GroupTile.scss\";\n\ninterface GroupTileProps {\n title: string;\n actionGroup: ReactNode;\n subText?: string;\n onClickTitle?: () => void;\n titleTooltip?: string;\n subtextToolTip?: string;\n}\n\nexport const GroupTile = ({ title, subText, onClickTitle, titleTooltip, subtextToolTip, actionGroup }: GroupTileProps) => {\n\n return (\n <div className=\"gmw-group-tile-container\" data-testid=\"group-tile\">\n <div className=\"body\">\n <Text className={`body-text ${onClickTitle ? \"iui-anchor\" : \"\"}`} onClick={onClickTitle} variant=\"body\" title={titleTooltip}>{title}</Text>\n {subText && <Text className=\"body-text\" isMuted={true} title={subtextToolTip} variant=\"small\">{subText}</Text>}\n </div>\n <div className=\"action-button\" data-testid=\"tile-action-button\">\n {actionGroup}\n </div>\n </div>\n );\n\n};\n"]}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
@import '~@itwin/core-react/lib/cjs/core-react/style/colors';
|
|
6
|
-
|
|
7
|
-
.components-nonprimitive-property {
|
|
8
|
-
padding: 10px;
|
|
9
|
-
display: grid;
|
|
10
|
-
grid-row-gap: 10px;
|
|
11
|
-
|
|
12
|
-
border-radius: 3px;
|
|
13
|
-
border: solid 1px $uicore-gray-9;
|
|
14
|
-
|
|
15
|
-
background-color: #fff;
|
|
16
|
-
}
|