@evergis/react 2.0.143 → 2.0.144
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/EvergisCard/index.d.ts +1 -1
- package/dist/components/EvergisCard/styled.d.ts +0 -11
- package/dist/react.cjs.development.js +5 -16
- package/dist/react.cjs.development.js.map +1 -1
- package/dist/react.cjs.production.min.js +1 -1
- package/dist/react.cjs.production.min.js.map +1 -1
- package/dist/react.esm.js +7 -14
- package/dist/react.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from './EvergisCard';
|
|
2
|
-
export { EvergisCardContainer, CardHeader, CardAttributes, AttributeValueContainer as EvergisCardAttributeValueContainer, AttributeTitle as EvergisCardAttributeTitle, ValueLink as EvergisCardValueLink, SimpleAttribute as EvergisCardSimpleValue, CardPagination as EvergisCardPagination,
|
|
2
|
+
export { EvergisCardContainer, CardHeader, CardAttributes, AttributeValueContainer as EvergisCardAttributeValueContainer, AttributeTitle as EvergisCardAttributeTitle, ValueLink as EvergisCardValueLink, SimpleAttribute as EvergisCardSimpleValue, CardPagination as EvergisCardPagination, StickyHeader as EvergisCardStickyHeader, CardTitle as EvergisCardCardTitle, FeatureName as EvergisCardFeatureName, LayerName as EvergisCardLayerName, CardControls as EvergisCardCardControls, PaginationDescription as EvergisCardPaginationDescription, CurrentFeatureIndex as EvergisCardCurrentFeatureIndex, AttributeContainer as EvergisCardAttributeContainer, } from './styled';
|
|
3
3
|
export * from './EvergisCardAttribute';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IconProps } from '@evergis/icons';
|
|
2
1
|
export declare const EvergisCardContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
2
|
export declare const StickyHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
3
|
export declare const CardHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -15,13 +14,3 @@ export declare const AttributeTitle: import("styled-components").StyledComponent
|
|
|
15
14
|
export declare const AttributeValueContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
16
15
|
export declare const SimpleAttribute: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
17
16
|
export declare const ValueLink: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
18
|
-
declare type CardIconProps = {
|
|
19
|
-
kind?: string;
|
|
20
|
-
onClick?: () => void;
|
|
21
|
-
};
|
|
22
|
-
export declare const StatIcon: import("styled-components").StyledComponent<"i", any, IconProps & CardIconProps, never>;
|
|
23
|
-
export declare const ZoomIcon: import("styled-components").StyledComponent<"i", any, IconProps & CardIconProps, never>;
|
|
24
|
-
export declare const CloseIcon: import("styled-components").StyledComponent<"i", any, IconProps & CardIconProps, never>;
|
|
25
|
-
export declare const PrevIcon: import("styled-components").StyledComponent<"i", any, IconProps & CardIconProps, never>;
|
|
26
|
-
export declare const NextIcon: import("styled-components").StyledComponent<"i", any, IconProps & CardIconProps, never>;
|
|
27
|
-
export {};
|
|
@@ -4437,7 +4437,7 @@ const StyleSymbol = _ref => {
|
|
|
4437
4437
|
}) : null));
|
|
4438
4438
|
};
|
|
4439
4439
|
|
|
4440
|
-
var _templateObject$1, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16
|
|
4440
|
+
var _templateObject$1, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
|
|
4441
4441
|
const EvergisCardContainer = /*#__PURE__*/styled__default.div(_templateObject$1 || (_templateObject$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n top: 2.25rem;\n right: 0.5rem;\n width: 22.5rem;\n margin-bottom: 1rem;\n max-height: 90%;\n min-height: 1rem;\n background: #fff;\n border-radius: 4px;\n z-index: 1;\n\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n overflow: initial;\n box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.15);\n\n ", " {\n color: rgba(0, 0, 0, 0.65);\n cursor: pointer;\n user-select: none;\n\n &:hover {\n color: #1fb3aa;\n }\n }\n"])), icons.Icon);
|
|
4442
4442
|
const StickyHeader = /*#__PURE__*/styled__default.div(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n position: sticky;\n top: 0;\n flex-direction: column;\n background: #fff;\n"])));
|
|
4443
4443
|
const CardHeader = /*#__PURE__*/styled__default.div(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n padding: 1.5rem 1.5rem 1rem;\n align-items: center;\n"])));
|
|
@@ -4454,11 +4454,6 @@ const AttributeTitle = /*#__PURE__*/styled__default.div(_templateObject13 || (_t
|
|
|
4454
4454
|
const AttributeValueContainer = /*#__PURE__*/styled__default.div(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n flex-wrap: wrap;\n display: flex;\n"])));
|
|
4455
4455
|
const SimpleAttribute = /*#__PURE__*/styled__default.div(_templateObject15 || (_templateObject15 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
4456
4456
|
const ValueLink = /*#__PURE__*/styled__default.a(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 0 0.25rem;\n color: #1fb3aa;\n text-decoration: none;\n"])));
|
|
4457
|
-
const featureCardIconMixin = /*#__PURE__*/styled.css(_templateObject17 || (_templateObject17 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: #30454f;\n"])));
|
|
4458
|
-
const ZoomIcon = /*#__PURE__*/styled__default(icons.Icon)(_templateObject19 || (_templateObject19 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
|
|
4459
|
-
const CloseIcon = /*#__PURE__*/styled__default(icons.Icon)(_templateObject20 || (_templateObject20 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
|
|
4460
|
-
const PrevIcon = /*#__PURE__*/styled__default(icons.Icon)(_templateObject21 || (_templateObject21 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
|
|
4461
|
-
const NextIcon = /*#__PURE__*/styled__default(icons.Icon)(_templateObject22 || (_templateObject22 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
|
|
4462
4457
|
|
|
4463
4458
|
const MailValue = _ref => {
|
|
4464
4459
|
let {
|
|
@@ -4588,15 +4583,13 @@ const StyledCard = _ref => {
|
|
|
4588
4583
|
onClick: zoom
|
|
4589
4584
|
}, React__default.createElement(icons.EverCloudZoomtoIcon, null)), React__default.createElement(icons.IconButton, {
|
|
4590
4585
|
onClick: reset
|
|
4591
|
-
}, React__default.createElement(icons.EverCloudCloseIcon, null)))), features.length > 1 ? React__default.createElement(CardPagination, null, React__default.createElement(
|
|
4592
|
-
kind: "prev",
|
|
4586
|
+
}, React__default.createElement(icons.EverCloudCloseIcon, null)))), features.length > 1 ? React__default.createElement(CardPagination, null, React__default.createElement(icons.IconButton, {
|
|
4593
4587
|
onClick: prev
|
|
4594
|
-
}), React__default.createElement(PaginationDescription, null, React__default.createElement(CurrentFeatureIndex, {
|
|
4588
|
+
}, React__default.createElement(icons.EverCloudPlayPrevIcon, null)), React__default.createElement(PaginationDescription, null, React__default.createElement(CurrentFeatureIndex, {
|
|
4595
4589
|
onClick: zoom
|
|
4596
|
-
}, current + 1), "\u043E\u0431\u044A\u0435\u043A\u0442 \u0438\u0437 ", features.length), React__default.createElement(
|
|
4597
|
-
kind: "next",
|
|
4590
|
+
}, current + 1), "\u043E\u0431\u044A\u0435\u043A\u0442 \u0438\u0437 ", features.length), React__default.createElement(icons.IconButton, {
|
|
4598
4591
|
onClick: next
|
|
4599
|
-
})) : null, headerExtra), React__default.createElement(CardAttributes, null, feature.attributes && (typeof onAttributes === 'function' ? onAttributes(feature.attributes) : feature.attributes).map(attribute => {
|
|
4592
|
+
}, React__default.createElement(icons.EverCloudPlayNextIcon, null))) : null, headerExtra), React__default.createElement(CardAttributes, null, feature.attributes && (typeof onAttributes === 'function' ? onAttributes(feature.attributes) : feature.attributes).map(attribute => {
|
|
4600
4593
|
return attribute.render || React__default.createElement(EvergisCardAttribute, {
|
|
4601
4594
|
key: attribute.name,
|
|
4602
4595
|
attribute: attribute
|
|
@@ -5505,19 +5498,15 @@ exports.EvergisCardAttributeTitle = AttributeTitle;
|
|
|
5505
5498
|
exports.EvergisCardAttributeValueContainer = AttributeValueContainer;
|
|
5506
5499
|
exports.EvergisCardCardControls = CardControls;
|
|
5507
5500
|
exports.EvergisCardCardTitle = CardTitle;
|
|
5508
|
-
exports.EvergisCardCloseIcon = CloseIcon;
|
|
5509
5501
|
exports.EvergisCardContainer = EvergisCardContainer;
|
|
5510
5502
|
exports.EvergisCardCurrentFeatureIndex = CurrentFeatureIndex;
|
|
5511
5503
|
exports.EvergisCardFeatureName = FeatureName;
|
|
5512
5504
|
exports.EvergisCardLayerName = LayerName;
|
|
5513
|
-
exports.EvergisCardNextIcon = NextIcon;
|
|
5514
5505
|
exports.EvergisCardPagination = CardPagination;
|
|
5515
5506
|
exports.EvergisCardPaginationDescription = PaginationDescription;
|
|
5516
|
-
exports.EvergisCardPrevIcon = PrevIcon;
|
|
5517
5507
|
exports.EvergisCardSimpleValue = SimpleAttribute;
|
|
5518
5508
|
exports.EvergisCardStickyHeader = StickyHeader;
|
|
5519
5509
|
exports.EvergisCardValueLink = ValueLink;
|
|
5520
|
-
exports.EvergisCardZoomIcon = ZoomIcon;
|
|
5521
5510
|
exports.EvergisDynamicLayer = EvergisDynamicLayer;
|
|
5522
5511
|
exports.EvergisFeature = EvergisFeature;
|
|
5523
5512
|
exports.EvergisLayer = EvergisLayer;
|