@appquality/unguess-design-system 2.12.77 → 2.12.79
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/CHANGELOG.md +28 -0
- package/build/index.js +3 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
# v2.12.79 (Tue Feb 28 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- New version with Tag fixes [#221](https://github.com/AppQuality/unguess-design-system/pull/221) ([@iacopolea](https://github.com/iacopolea) [@marcbon](https://github.com/marcbon))
|
|
6
|
+
- Fix-cards-tags [#220](https://github.com/AppQuality/unguess-design-system/pull/220) ([@iacopolea](https://github.com/iacopolea))
|
|
7
|
+
|
|
8
|
+
#### Authors: 2
|
|
9
|
+
|
|
10
|
+
- Iacopo Leardini ([@iacopolea](https://github.com/iacopolea))
|
|
11
|
+
- Marco Bonomo ([@marcbon](https://github.com/marcbon))
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# v2.12.78 (Mon Feb 27 2023)
|
|
16
|
+
|
|
17
|
+
#### 🐛 Bug Fix
|
|
18
|
+
|
|
19
|
+
- Remove counter [#219](https://github.com/AppQuality/unguess-design-system/pull/219) ([@iacopolea](https://github.com/iacopolea) [@marcbon](https://github.com/marcbon))
|
|
20
|
+
- fix(Counter): remove component from page header [#218](https://github.com/AppQuality/unguess-design-system/pull/218) ([@iacopolea](https://github.com/iacopolea))
|
|
21
|
+
|
|
22
|
+
#### Authors: 2
|
|
23
|
+
|
|
24
|
+
- Iacopo Leardini ([@iacopolea](https://github.com/iacopolea))
|
|
25
|
+
- Marco Bonomo ([@marcbon](https://github.com/marcbon))
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
1
29
|
# v2.12.77 (Fri Feb 24 2023)
|
|
2
30
|
|
|
3
31
|
#### 🐛 Bug Fix
|
package/build/index.js
CHANGED
|
@@ -1124,14 +1124,13 @@ const getTypeDataIcon = (type) => {
|
|
|
1124
1124
|
}
|
|
1125
1125
|
};
|
|
1126
1126
|
const StyledTag$2 = styled__default["default"](Tag) `
|
|
1127
|
-
|
|
1127
|
+
max-width: 85%;
|
|
1128
1128
|
cursor: pointer;
|
|
1129
1129
|
`;
|
|
1130
1130
|
const StyledTagNew$1 = styled__default["default"](Tag) `
|
|
1131
1131
|
height: ${({ theme }) => theme.space.base * 6}px;
|
|
1132
1132
|
padding: ${({ theme }) => theme.space.base}px
|
|
1133
1133
|
${({ theme }) => theme.space.base * 2}px;
|
|
1134
|
-
color: ${({ theme }) => theme.palette.white};
|
|
1135
1134
|
`;
|
|
1136
1135
|
const StyledLabel$3 = styled__default["default"](SM) `
|
|
1137
1136
|
color: ${({ theme }) => theme.palette.grey["500"]};
|
|
@@ -1140,7 +1139,7 @@ const CampaignCard = (_a) => {
|
|
|
1140
1139
|
var { isNew, date, projectTitle, campaignTitle, status, type, labelNew } = _a, props = __rest(_a, ["isNew", "date", "projectTitle", "campaignTitle", "status", "type", "labelNew"]);
|
|
1141
1140
|
const StatusIcon = getStatusIcon(status !== null && status !== void 0 ? status : "PROGRESS");
|
|
1142
1141
|
const PillIcon = getTypeDataIcon(type);
|
|
1143
|
-
return props.isLoading ? (jsxRuntime.jsx(CampaignCardSkeleton, {})) : (jsxRuntime.jsxs(SpecialCard, Object.assign({ title: campaignTitle }, props, { children: [jsxRuntime.jsxs(SpecialCard.Meta, { children: [jsxRuntime.jsx(StyledLabel$3, { children: date }), isNew && (jsxRuntime.jsx(StyledTagNew$1, Object.assign({ hue: theme.palette.fuschia["600"], isPill: true, size: "medium", title: labelNew ? labelNew : "New!" }, { children: labelNew ? labelNew : "New!" })))] }), jsxRuntime.jsxs(SpecialCard.Header, { children: [jsxRuntime.jsx(SpecialCard.Header.Label, { children: projectTitle }), jsxRuntime.jsx(SpecialCard.Header.Title, { children: campaignTitle })] }), jsxRuntime.jsxs(SpecialCard.Footer, { children: [props.pillText && (jsxRuntime.jsxs(StyledTag$2, Object.assign({ size: "large"
|
|
1142
|
+
return props.isLoading ? (jsxRuntime.jsx(CampaignCardSkeleton, {})) : (jsxRuntime.jsxs(SpecialCard, Object.assign({ title: campaignTitle }, props, { children: [jsxRuntime.jsxs(SpecialCard.Meta, { children: [jsxRuntime.jsx(StyledLabel$3, { children: date }), isNew && (jsxRuntime.jsx(StyledTagNew$1, Object.assign({ hue: theme.palette.fuschia["600"], color: theme.palette.white, isPill: true, size: "medium", title: labelNew ? labelNew : "New!" }, { children: labelNew ? labelNew : "New!" })))] }), jsxRuntime.jsxs(SpecialCard.Header, { children: [jsxRuntime.jsx(SpecialCard.Header.Label, { children: projectTitle }), jsxRuntime.jsx(SpecialCard.Header.Title, { children: campaignTitle })] }), jsxRuntime.jsxs(SpecialCard.Footer, { children: [props.pillText && (jsxRuntime.jsxs(StyledTag$2, Object.assign({ size: "large" }, { children: [jsxRuntime.jsx(Tag.Avatar, { children: jsxRuntime.jsx(PillIcon, {}) }), jsxRuntime.jsx(Ellipsis, { children: props.pillText })] }))), jsxRuntime.jsx(StatusIcon, {})] })] })));
|
|
1144
1143
|
};
|
|
1145
1144
|
|
|
1146
1145
|
const StyledTagNew = styled__default["default"](Tag) `
|
|
@@ -1233,7 +1232,7 @@ const StyledCard$1 = styled__default["default"](SpecialCard) `
|
|
|
1233
1232
|
`;
|
|
1234
1233
|
const ServiceCard = (props) => {
|
|
1235
1234
|
const { serviceIcon, serviceTitle, serviceSubtitle } = props;
|
|
1236
|
-
return (jsxRuntime.jsxs(StyledCard$1, Object.assign({}, props, { children: [props.isHoverable && (jsxRuntime.jsxs(HoverBody, { children: [jsxRuntime.jsxs(HoverMetaContainer, { children: [props.hoverTitle && (jsxRuntime.jsx(ServiceTitle, { children: props.hoverTitle })), props.hoverSubtitle && (jsxRuntime.jsx(ServiceSubtitle, { children: props.hoverSubtitle }))] }), props.hoverButtons && (jsxRuntime.jsx(ButtonsWrap$1, { children: props.hoverButtons.map((button) => button) }))] })), jsxRuntime.jsxs(CardContent, { children: [jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [serviceIcon && jsxRuntime.jsx(SpecialCard.Thumb, { children: serviceIcon }), jsxRuntime.jsxs(SpecialCard.Header, { children: [jsxRuntime.jsx(SpecialCard.Header.Label, { children: serviceSubtitle }), jsxRuntime.jsx(SpecialCard.Header.Title, { children: serviceTitle })] })] }), props.tags && (jsxRuntime.jsx(SpecialCard.Footer, Object.assign({ justifyContent: "start", wrap: true }, { children: props.tags.map((tag, index) => (jsxRuntime.jsxs(StyledTag$1, Object.assign({ size: "large"
|
|
1235
|
+
return (jsxRuntime.jsxs(StyledCard$1, Object.assign({}, props, { children: [props.isHoverable && (jsxRuntime.jsxs(HoverBody, { children: [jsxRuntime.jsxs(HoverMetaContainer, { children: [props.hoverTitle && (jsxRuntime.jsx(ServiceTitle, { children: props.hoverTitle })), props.hoverSubtitle && (jsxRuntime.jsx(ServiceSubtitle, { children: props.hoverSubtitle }))] }), props.hoverButtons && (jsxRuntime.jsx(ButtonsWrap$1, { children: props.hoverButtons.map((button) => button) }))] })), jsxRuntime.jsxs(CardContent, { children: [jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [serviceIcon && jsxRuntime.jsx(SpecialCard.Thumb, { children: serviceIcon }), jsxRuntime.jsxs(SpecialCard.Header, { children: [jsxRuntime.jsx(SpecialCard.Header.Label, { children: serviceSubtitle }), jsxRuntime.jsx(SpecialCard.Header.Title, { children: serviceTitle })] })] }), props.tags && (jsxRuntime.jsx(SpecialCard.Footer, Object.assign({ justifyContent: "start", wrap: true }, { children: props.tags.map((tag, index) => (jsxRuntime.jsxs(StyledTag$1, Object.assign({ size: "large" }, { children: [jsxRuntime.jsx(StyledTag$1.Avatar, { children: tag.icon }), tag.label] }), index))) })))] })] })));
|
|
1237
1236
|
};
|
|
1238
1237
|
|
|
1239
1238
|
const ButtonsWrap = styled__default["default"].div `
|