@xfers/design-system 4.4.3-dev.b38cceafe1 → 4.4.3-dev.d19e4316d1
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 +1 -1
- package/cjs/index.js.map +1 -1
- package/dist/components/Note/index.js +1 -1
- package/dist/components/Note/index.js.map +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ var Typography_1 = require("src/constants/Typography/Typography");
|
|
|
11
11
|
var Note = function (_a) {
|
|
12
12
|
var title = _a.title, children = _a.children;
|
|
13
13
|
var StyledNote = styled_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n background: ", ";\n padding: 4px;\n border-radius: 8px;\n "], ["\n width: 100%;\n background: ", ";\n padding: 4px;\n border-radius: 8px;\n "])), theme_1.straitsXTheme.color.surface.subduePositive);
|
|
14
|
-
var StyledContainer = styled_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: relative;\n ::before {\n content: '';\n height: 100%;\n width: 5px;\n background: ", ";\n border-radius: 5px;\n position: absolute;\n left: 0;\n }\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 5px 0 5px 15px;\n gap:
|
|
14
|
+
var StyledContainer = styled_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: relative;\n ::before {\n content: '';\n height: 100%;\n width: 5px;\n background: ", ";\n border-radius: 5px;\n position: absolute;\n left: 0;\n }\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 5px 0 5px 15px;\n gap: ", ";\n "], ["\n position: relative;\n ::before {\n content: '';\n height: 100%;\n width: 5px;\n background: ", ";\n border-radius: 5px;\n position: absolute;\n left: 0;\n }\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 5px 0 5px 15px;\n gap: ", ";\n "])), theme_1.straitsXTheme.color.status.positive, title ? '5px' : '0px');
|
|
15
15
|
return (react_1.default.createElement(StyledNote, null,
|
|
16
16
|
react_1.default.createElement(StyledContainer, null,
|
|
17
17
|
react_1.default.createElement(Typography_1.Typography.Label, { size: "md" }, title),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Note/index.tsx"],"names":[],"mappings":";;;;;;AAAA,+BAAyB;AACzB,0CAAoC;AACpC,yCAA+C;AAC/C,kEAAgE;AAOhE,IAAM,IAAI,GAAG,UAAC,EAA8B;QAA5B,KAAK,WAAA,EAAE,QAAQ,cAAA;IAC7B,IAAM,UAAU,GAAG,gBAAM,CAAC,GAAG,8JAAA,sCAEb,EAA0C,mDAGzD,KAHe,qBAAa,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc,CAGzD,CAAA;IACD,IAAM,eAAe,GAAG,gBAAM,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Note/index.tsx"],"names":[],"mappings":";;;;;;AAAA,+BAAyB;AACzB,0CAAoC;AACpC,yCAA+C;AAC/C,kEAAgE;AAOhE,IAAM,IAAI,GAAG,UAAC,EAA8B;QAA5B,KAAK,WAAA,EAAE,QAAQ,cAAA;IAC7B,IAAM,UAAU,GAAG,gBAAM,CAAC,GAAG,8JAAA,sCAEb,EAA0C,mDAGzD,KAHe,qBAAa,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc,CAGzD,CAAA;IACD,IAAM,eAAe,GAAG,gBAAM,CAAC,GAAG,iZAAA,2HAMhB,EAAmC,wMAS5C,EAAqB,OAC7B,KAViB,qBAAa,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,EAS5C,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAC7B,CAAA;IAED,OAAO,CACL,8BAAC,UAAU;QACT,8BAAC,eAAe;YACd,8BAAC,uBAAU,CAAC,KAAK,IAAC,IAAI,EAAC,IAAI,IAAE,KAAK,CAAoB;YACtD,8BAAC,uBAAU,CAAC,IAAI,IAAC,IAAI,EAAC,IAAI,IAAE,QAAQ,CAAmB,CACvC,CACP,CACd,CAAA;AACH,CAAC,CAAA;AAED,kBAAe,IAAI,CAAA"}
|