@xfers/design-system 4.4.2-dev.ff0d6744f6 → 4.4.3-dev.67ad42d4b7
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/cjs/index.js +9 -9
- package/cjs/index.js.map +1 -1
- package/dist/components/Label/index.js +91 -0
- package/dist/components/Label/index.js.map +1 -0
- package/dist/constants/Colors/colors.js +7 -7
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/types/components/Label/index.d.ts +9 -0
- package/dist/types/constants/Colors/colors.d.ts +7 -7
- package/dist/types/index.d.ts +4 -4
- package/es/index.js +9 -9
- package/es/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/Tag/const.js +0 -79
- package/dist/components/Tag/const.js.map +0 -1
- package/dist/components/Tag/index.js +0 -39
- package/dist/components/Tag/index.js.map +0 -1
- package/dist/types/components/Tag/const.d.ts +0 -21
- package/dist/types/components/Tag/index.d.ts +0 -11
package/package.json
CHANGED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.REMOVABLE_TAG_COLORS = exports.FILLED_TAG_COLORS = exports.OUTLINED_TAG_COLORS = exports.ICON_MAP = void 0;
|
|
4
|
-
var ColorStyles_1 = require("src/shared/ColorStyles");
|
|
5
|
-
var theme_1 = require("src/theme/theme");
|
|
6
|
-
exports.ICON_MAP = {
|
|
7
|
-
positive: 'check',
|
|
8
|
-
critical: 'cancel',
|
|
9
|
-
warning: 'timer',
|
|
10
|
-
info: 'info',
|
|
11
|
-
neutral: 'timer',
|
|
12
|
-
};
|
|
13
|
-
exports.OUTLINED_TAG_COLORS = {
|
|
14
|
-
positive: {
|
|
15
|
-
base: theme_1.straitsXTheme.color.surface.subduePositive,
|
|
16
|
-
text: theme_1.straitsXTheme.color.status.positive,
|
|
17
|
-
icon: theme_1.straitsXTheme.color.status.positive,
|
|
18
|
-
border: theme_1.straitsXTheme.color.status.positive,
|
|
19
|
-
},
|
|
20
|
-
critical: {
|
|
21
|
-
base: theme_1.straitsXTheme.color.surface.subdueCritical,
|
|
22
|
-
text: theme_1.straitsXTheme.color.status.critical,
|
|
23
|
-
icon: theme_1.straitsXTheme.color.status.critical,
|
|
24
|
-
border: theme_1.straitsXTheme.color.status.critical,
|
|
25
|
-
},
|
|
26
|
-
warning: {
|
|
27
|
-
base: theme_1.straitsXTheme.color.surface.subdueWarning,
|
|
28
|
-
text: theme_1.straitsXTheme.color.status.warning,
|
|
29
|
-
icon: theme_1.straitsXTheme.color.status.warning,
|
|
30
|
-
border: theme_1.straitsXTheme.color.status.warning,
|
|
31
|
-
},
|
|
32
|
-
info: {
|
|
33
|
-
base: theme_1.straitsXTheme.color.surface.SubdueInfo,
|
|
34
|
-
text: theme_1.straitsXTheme.color.status.info,
|
|
35
|
-
icon: theme_1.straitsXTheme.color.status.info,
|
|
36
|
-
border: theme_1.straitsXTheme.color.status.info,
|
|
37
|
-
},
|
|
38
|
-
neutral: {
|
|
39
|
-
base: ColorStyles_1.NEUTRAL_COLORS.G100,
|
|
40
|
-
text: theme_1.straitsXTheme.color.base.onNeutralSecondary,
|
|
41
|
-
icon: theme_1.straitsXTheme.color.base.onNeutralSecondary,
|
|
42
|
-
border: theme_1.straitsXTheme.color.base.line,
|
|
43
|
-
},
|
|
44
|
-
};
|
|
45
|
-
exports.FILLED_TAG_COLORS = {
|
|
46
|
-
positive: {
|
|
47
|
-
base: theme_1.straitsXTheme.color.status.positive,
|
|
48
|
-
text: theme_1.straitsXTheme.color.base.onContainer,
|
|
49
|
-
icon: '',
|
|
50
|
-
border: theme_1.straitsXTheme.color.status.positive,
|
|
51
|
-
},
|
|
52
|
-
neutral: {
|
|
53
|
-
base: theme_1.straitsXTheme.color.surface.disabledSurface,
|
|
54
|
-
text: theme_1.straitsXTheme.color.surface.disabledOnSurface,
|
|
55
|
-
icon: '',
|
|
56
|
-
border: theme_1.straitsXTheme.color.base.line,
|
|
57
|
-
},
|
|
58
|
-
};
|
|
59
|
-
exports.REMOVABLE_TAG_COLORS = {
|
|
60
|
-
positive: {
|
|
61
|
-
base: theme_1.straitsXTheme.color.surface.subduePositive,
|
|
62
|
-
text: theme_1.straitsXTheme.color.status.positive,
|
|
63
|
-
icon: theme_1.straitsXTheme.color.status.positive,
|
|
64
|
-
border: theme_1.straitsXTheme.color.status.positive,
|
|
65
|
-
},
|
|
66
|
-
disabled: {
|
|
67
|
-
base: theme_1.straitsXTheme.color.surface.disabledSurface,
|
|
68
|
-
text: theme_1.straitsXTheme.color.surface.disabledOnSurface,
|
|
69
|
-
icon: theme_1.straitsXTheme.color.surface.disabledOnSurface,
|
|
70
|
-
border: theme_1.straitsXTheme.color.base.line,
|
|
71
|
-
},
|
|
72
|
-
neutral: {
|
|
73
|
-
base: theme_1.straitsXTheme.color.surface.neutral,
|
|
74
|
-
text: theme_1.straitsXTheme.color.base.onNeutralSecondary,
|
|
75
|
-
icon: theme_1.straitsXTheme.color.base.onNeutralSecondary,
|
|
76
|
-
border: theme_1.straitsXTheme.color.base.line,
|
|
77
|
-
},
|
|
78
|
-
};
|
|
79
|
-
//# sourceMappingURL=const.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"const.js","sourceRoot":"","sources":["../../../src/components/Tag/const.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,yCAA+C;AAElC,QAAA,QAAQ,GAAG;IACtB,QAAQ,EAAE,OAAO;IACjB,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,OAAO;IAChB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,OAAO;CACR,CAAA;AAoBG,QAAA,mBAAmB,GAA4C;IAC1E,QAAQ,EAAE;QACR,IAAI,EAAE,qBAAa,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc;QAChD,IAAI,EAAE,qBAAa,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ;QACzC,IAAI,EAAE,qBAA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B;QACjD,MAAM,EAAE,qBAAa,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI;KACtC;CACF,CAAA"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.default = default_1;
|
|
8
|
-
var react_1 = require("react");
|
|
9
|
-
var styled_1 = require("@emotion/styled");
|
|
10
|
-
var MaterialSymbols_1 = require("src/icons/MaterialSymbols");
|
|
11
|
-
var Typography_1 = require("src/constants/Typography/Typography");
|
|
12
|
-
var const_1 = require("src/components/Tag/const");
|
|
13
|
-
var src_1 = require("src");
|
|
14
|
-
function getColorByProperty(type, variant, property) {
|
|
15
|
-
switch (variant) {
|
|
16
|
-
case 'outlined':
|
|
17
|
-
return const_1.OUTLINED_TAG_COLORS[type][property];
|
|
18
|
-
case 'filled':
|
|
19
|
-
return const_1.FILLED_TAG_COLORS[type][property];
|
|
20
|
-
case 'removable':
|
|
21
|
-
return const_1.REMOVABLE_TAG_COLORS[type][property];
|
|
22
|
-
default:
|
|
23
|
-
return const_1.OUTLINED_TAG_COLORS[type][property];
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
function default_1(_a) {
|
|
27
|
-
var type = _a.type, children = _a.children, _b = _a.showIcon, showIcon = _b === void 0 ? false : _b, _c = _a.size, size = _c === void 0 ? 'sm' : _c, _d = _a.variant, variant = _d === void 0 ? 'outlined' : _d, onClick = _a.onClick;
|
|
28
|
-
return (react_1.default.createElement(Base, { type: type, size: size, variant: variant, onClick: variant !== 'removable' ? onClick : undefined },
|
|
29
|
-
showIcon && type !== 'disabled' && (react_1.default.createElement(MaterialSymbols_1.MaterialSymbols, { icon: const_1.ICON_MAP[type], size: size === 'sm' ? 'xs' : 's', color: getColorByProperty(type, variant, 'icon') })),
|
|
30
|
-
react_1.default.createElement(Typography_1.Typography.Body, { size: size, color: getColorByProperty(type, variant, 'text') }, children),
|
|
31
|
-
variant === 'removable' && (react_1.default.createElement(CloseButton, { onClick: onClick, type: "tertiary", icon: react_1.default.createElement(MaterialSymbols_1.MaterialSymbols, { icon: "close", size: size === 'sm' ? 'xs' : 's', color: getColorByProperty(type, variant, 'icon') }) }))));
|
|
32
|
-
}
|
|
33
|
-
var getAdditionalStyles = function (type, variant, size, onClick) { return "\n border-radius: ".concat(variant === 'removable' ? '999px' : '4px', ";\n min-height: ").concat(size === 'sm' ? '24px' : '32px', ";\n background-color: ").concat(getColorByProperty(type, variant, 'base'), ";\n border: 1px solid ").concat(getColorByProperty(type, variant, 'border'), ";\n padding-inline: ").concat(variant === 'removable' ? '12px' : '8px', ";\n cursor: ").concat(onClick ? 'pointer' : 'default', ";\n\n"); };
|
|
34
|
-
var CloseButton = (0, styled_1.default)(src_1.Button)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n && {\n padding: 0 !important;\n width: auto !important;\n height: auto !important;\n }\n\n &&:hover {\n background: transparent !important;\n }\n\n &&:focus {\n background: transparent !important;\n }\n\n &&:active {\n background: transparent !important;\n }\n"], ["\n && {\n padding: 0 !important;\n width: auto !important;\n height: auto !important;\n }\n\n &&:hover {\n background: transparent !important;\n }\n\n &&:focus {\n background: transparent !important;\n }\n\n &&:active {\n background: transparent !important;\n }\n"])));
|
|
35
|
-
var Base = styled_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n gap: 4px;\n align-items: center;\n justify-content: center;\n width: fit-content;\n\n ", ";\n"], ["\n display: flex;\n flex-direction: row;\n gap: 4px;\n align-items: center;\n justify-content: center;\n width: fit-content;\n\n ", ";\n"])), function (props) {
|
|
36
|
-
return getAdditionalStyles(props.type, props.variant, props.size, props.onClick);
|
|
37
|
-
});
|
|
38
|
-
var templateObject_1, templateObject_2;
|
|
39
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Tag/index.tsx"],"names":[],"mappings":";;;;;;AA0CA,4BA2CC;AArFD,+BAAyB;AACzB,0CAAoC;AACpC,6DAA2D;AAC3D,kEAAgE;AAChE,kDASiC;AACjC,2BAA4B;AAW5B,SAAS,kBAAkB,CACzB,IAAwD,EACxD,OAA4C,EAC5C,QAAuB;IAEvB,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,UAAU;YACb,OAAO,2BAAmB,CAAC,IAAuB,CAAC,CAAC,QAAQ,CAAC,CAAA;QAC/D,KAAK,QAAQ;YACX,OAAO,yBAAiB,CAAC,IAAqB,CAAC,CAAC,QAAQ,CAAC,CAAA;QAC3D,KAAK,WAAW;YACd,OAAO,4BAAoB,CAAC,IAAwB,CAAC,CAAC,QAAQ,CAAC,CAAA;QACjE;YACE,OAAO,2BAAmB,CAAC,IAAuB,CAAC,CAAC,QAAQ,CAAC,CAAA;IACjE,CAAC;AACH,CAAC;AAED,mBAAyB,EAOjB;QANN,IAAI,UAAA,EACJ,QAAQ,cAAA,EACR,gBAAgB,EAAhB,QAAQ,mBAAG,KAAK,KAAA,EAChB,YAAW,EAAX,IAAI,mBAAG,IAAI,KAAA,EACX,eAAoB,EAApB,OAAO,mBAAG,UAAU,KAAA,EACpB,OAAO,aAAA;IAEP,OAAO,CACL,8BAAC,IAAI,IACH,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS;QAErD,QAAQ,IAAI,IAAI,KAAK,UAAU,IAAI,CAClC,8BAAC,iCAAe,IACd,IAAI,EAAE,gBAAQ,CAAC,IAAI,CAAC,EACpB,IAAI,EAAE,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AA;AACD,IAAM,IAAI,GAAG,gBAAM,CAAC,GAAG,oNAKrB,0IAQE,EACyE,KAC5E,KAFG,UAAC,KAAK;IACN,OAAA,mBAAmB,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC;AAAzE,CAAyE,CAC5E,CAAA"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare const ICON_MAP: {
|
|
2
|
-
readonly positive: "check";
|
|
3
|
-
readonly critical: "cancel";
|
|
4
|
-
readonly warning: "timer";
|
|
5
|
-
readonly info: "info";
|
|
6
|
-
readonly neutral: "timer";
|
|
7
|
-
};
|
|
8
|
-
export type OutlinedTagType = 'positive' | 'critical' | 'warning' | 'info' | 'neutral';
|
|
9
|
-
export type FilledTagType = 'positive' | 'neutral';
|
|
10
|
-
export type RemovableTagType = 'positive' | 'disabled' | 'neutral';
|
|
11
|
-
type TagColorSchema = {
|
|
12
|
-
base: string;
|
|
13
|
-
text: string;
|
|
14
|
-
icon: string;
|
|
15
|
-
border: string;
|
|
16
|
-
};
|
|
17
|
-
export type TagSchemaType = 'base' | 'text' | 'icon' | 'border';
|
|
18
|
-
export declare const OUTLINED_TAG_COLORS: Record<OutlinedTagType, TagColorSchema>;
|
|
19
|
-
export declare const FILLED_TAG_COLORS: Record<FilledTagType, TagColorSchema>;
|
|
20
|
-
export declare const REMOVABLE_TAG_COLORS: Record<RemovableTagType, TagColorSchema>;
|
|
21
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
type: 'positive' | 'critical' | 'warning' | 'info' | 'neutral' | 'disabled';
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
showIcon?: boolean;
|
|
6
|
-
size?: 'sm' | 'lg';
|
|
7
|
-
variant?: 'outlined' | 'filled' | 'removable';
|
|
8
|
-
onClick?: () => void;
|
|
9
|
-
};
|
|
10
|
-
export default function ({ type, children, showIcon, size, variant, onClick, }: Props): React.JSX.Element;
|
|
11
|
-
export {};
|