@egov3/system-design 1.3.240 → 1.3.241
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/cjs/baseComponents/Table/Table.module.css.js +2 -2
- package/dist/cjs/baseComponents/Table/TableCell/index.js +1 -1
- package/dist/cjs/baseComponents/Table/TableCell/index.js.map +1 -1
- package/dist/cjs/baseComponents/Table/TableHeadCell/index.js +1 -1
- package/dist/cjs/baseComponents/Table/TableHeadCell/index.js.map +1 -1
- package/dist/cjs/baseComponents/Typography/index.js.map +1 -1
- package/dist/cjs/styles/typography.module.css.js +2 -2
- package/dist/esm/baseComponents/Table/Table.module.css.js +2 -2
- package/dist/esm/baseComponents/Table/TableCell/index.js +1 -1
- package/dist/esm/baseComponents/Table/TableCell/index.js.map +1 -1
- package/dist/esm/baseComponents/Table/TableHeadCell/index.js +1 -1
- package/dist/esm/baseComponents/Table/TableHeadCell/index.js.map +1 -1
- package/dist/esm/baseComponents/Typography/index.js.map +1 -1
- package/dist/esm/styles/typography.module.css.js +2 -2
- package/dist/types/baseComponents/Table/TableCell/index.d.ts +3 -2
- package/dist/types/baseComponents/Table/TableHeadCell/index.d.ts +2 -1
- package/dist/types/baseComponents/Typography/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var css_248z = ".Table-module_tableWrapper__sJgUI {\n width: 100%;\n}\n\n.Table-module_table__1aSst {\n border-collapse: collapse;\n
|
|
6
|
-
var styles = {"tableWrapper":"Table-module_tableWrapper__sJgUI","table":"Table-module_table__1aSst","headTitle":"Table-module_headTitle__bNg-F","headCell":"Table-module_headCell__h7KGY","headCellNoEllipsis":"Table-module_headCellNoEllipsis__6qzK7","footer":"Table-module_footer__7zAiZ","footerBody":"Table-module_footerBody__IU4tx","footerTextWrap":"Table-module_footerTextWrap__ZE57u","footerText":"Table-module_footerText__L6fYx","bodyRow":"Table-module_bodyRow__8IX-p","bodyCell":"Table-module_bodyCell__v6yfm","bodyCellNoEllipsis":"Table-module_bodyCellNoEllipsis__ZrKpB"};
|
|
5
|
+
var css_248z = ".Table-module_tableWrapper__sJgUI {\n box-sizing: border-box;\n width: 100%;\n border: 1px solid var(--border-stroke-primary);\n border-radius: 12px;\n background: var(--surface-surface-2);\n}\n\n.Table-module_table__1aSst {\n border-collapse: collapse;\n table-layout: fixed;\n width: 100%;\n}\n\n.Table-module_headTitle__bNg-F {\n height: 16px;\n padding: 16px;\n text-align: left;\n border-bottom: 1px solid var(--border-stroke-primary);\n background: var(--surface-surface-1);\n}\n\n.Table-module_headCell__h7KGY {\n display: flex;\n align-items: center;\n gap: 4px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.Table-module_headCellNoEllipsis__6qzK7 {\n display: flex;\n align-items: center;\n gap: 4px;\n}\n\n.Table-module_footer__7zAiZ {\n padding: 12px 16px;\n background: var(--surface-surface-1);\n text-align: end;\n}\n\n.Table-module_footerBody__IU4tx {\n display: flex;\n align-items: center;\n align-self: stretch;\n justify-content: end;\n}\n\n.Table-module_footerTextWrap__ZE57u {\n display: flex;\n justify-content: end;\n align-items: center;\n position: relative;\n}\n\n.Table-module_footerText__L6fYx {\n margin-right: auto;\n color: var(--text-secondary);\n}\n\n.Table-module_bodyRow__8IX-p {\n border-bottom: 1px solid var(--border-stroke-primary);\n}\n\n.Table-module_bodyCell__v6yfm {\n padding: 16px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.Table-module_bodyCellNoEllipsis__ZrKpB {\n padding: 16px;\n}\n\n.Table-module_align-left__FUFcw {\n text-align: left;\n justify-content: flex-start;\n}\n\n.Table-module_align-center__y-GdY {\n text-align: center;\n justify-content: center;\n}\n\n.Table-module_align-right__rAzhN {\n text-align: right;\n justify-content: flex-end;\n}\n";
|
|
6
|
+
var styles = {"tableWrapper":"Table-module_tableWrapper__sJgUI","table":"Table-module_table__1aSst","headTitle":"Table-module_headTitle__bNg-F","headCell":"Table-module_headCell__h7KGY","headCellNoEllipsis":"Table-module_headCellNoEllipsis__6qzK7","footer":"Table-module_footer__7zAiZ","footerBody":"Table-module_footerBody__IU4tx","footerTextWrap":"Table-module_footerTextWrap__ZE57u","footerText":"Table-module_footerText__L6fYx","bodyRow":"Table-module_bodyRow__8IX-p","bodyCell":"Table-module_bodyCell__v6yfm","bodyCellNoEllipsis":"Table-module_bodyCellNoEllipsis__ZrKpB","align-left":"Table-module_align-left__FUFcw","align-center":"Table-module_align-center__y-GdY","align-right":"Table-module_align-right__rAzhN"};
|
|
7
7
|
function styleInject(css, options) {
|
|
8
8
|
if (typeof document === 'undefined') return;
|
|
9
9
|
const head = document.head || document.getElementsByTagName('head')[0];
|
|
@@ -5,7 +5,7 @@ var joinClasses = require('../../../utils/joinClasses.js');
|
|
|
5
5
|
var index = require('../../Typography/index.js');
|
|
6
6
|
var Table_module = require('../Table.module.css.js');
|
|
7
7
|
|
|
8
|
-
const TableCell = ({ children, fontClass = "
|
|
8
|
+
const TableCell = ({ children, fontClass = "body3Regular", className, cellClassName, style, isNoEllipsis = false, title, align = "left", }) => (jsxRuntime.jsx("td", { className: joinClasses.joinClasses(isNoEllipsis ? Table_module.default.bodyCellNoEllipsis : Table_module.default.bodyCell, Table_module.default[`align-${align}`], cellClassName), style: style, "data-testid": "TableData_CELL", title: title, children: jsxRuntime.jsx(index.Typography, { tag: "span", fontClass: fontClass, className: className, "data-testid": "TableCell_TITLE", children: children }) }));
|
|
9
9
|
|
|
10
10
|
exports.TableCell = TableCell;
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/baseComponents/Table/TableCell/index.tsx"],"sourcesContent":[null],"names":["_jsx","joinClasses","styles","Typography"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/baseComponents/Table/TableCell/index.tsx"],"sourcesContent":[null],"names":["_jsx","joinClasses","styles","Typography"],"mappings":";;;;;;;MAkBa,SAAS,GAAG,CAAC,EACxB,QAAQ,EACR,SAAS,GAAG,cAAc,EAC1B,SAAS,EACT,aAAa,EACb,KAAK,EACL,YAAY,GAAG,KAAK,EACpB,KAAK,EACL,KAAK,GAAG,MAAM,GACE,MAChBA,cAAA,CAAA,IAAA,EAAA,EACE,SAAS,EAAEC,uBAAW,CACpB,YAAY,GAAGC,oBAAM,CAAC,kBAAkB,GAAGA,oBAAM,CAAC,QAAQ,EAC1DA,oBAAM,CAAC,CAAA,MAAA,EAAS,KAAK,EAAE,CAAC,EACxB,aAAa,CACd,EACD,KAAK,EAAE,KAAK,iBACA,gBAAgB,EAC5B,KAAK,EAAE,KAAK,YAEZF,cAAA,CAACG,gBAAU,IACT,GAAG,EAAC,MAAM,EACV,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,SAAS,iBACR,iBAAiB,EAAA,QAAA,EAE5B,QAAQ,EAAA,CACE,EAAA,CACV;;;;"}
|
|
@@ -5,7 +5,7 @@ var joinClasses = require('../../../utils/joinClasses.js');
|
|
|
5
5
|
var index = require('../../Typography/index.js');
|
|
6
6
|
var Table_module = require('../Table.module.css.js');
|
|
7
7
|
|
|
8
|
-
const TableHeadCell = ({ children, className, style, colSpan, scope, isNoEllipsis = false, }) => (jsxRuntime.jsx("th", { className: joinClasses.joinClasses(Table_module.default.headTitle, className), style: style, "data-testid": "TableHead_HEADER", colSpan: colSpan, scope: scope, children: jsxRuntime.jsx(index.Typography, { tag: "div", fontClass: "
|
|
8
|
+
const TableHeadCell = ({ children, className, style, colSpan, scope, isNoEllipsis = false, align = "left", }) => (jsxRuntime.jsx("th", { className: joinClasses.joinClasses(Table_module.default.headTitle, Table_module.default[`align-${align}`], className), style: style, "data-testid": "TableHead_HEADER", colSpan: colSpan, scope: scope, children: jsxRuntime.jsx(index.Typography, { tag: "div", fontClass: "body3Medium", className: joinClasses.joinClasses(isNoEllipsis ? Table_module.default.headCellNoEllipsis : Table_module.default.headCell, Table_module.default[`align-${align}`]), "data-testid": "TableHead_CELL", children: children }) }));
|
|
9
9
|
|
|
10
10
|
exports.TableHeadCell = TableHeadCell;
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/baseComponents/Table/TableHeadCell/index.tsx"],"sourcesContent":[null],"names":["_jsx","joinClasses","styles","Typography"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/baseComponents/Table/TableHeadCell/index.tsx"],"sourcesContent":[null],"names":["_jsx","joinClasses","styles","Typography"],"mappings":";;;;;;;MAiBa,aAAa,GAAG,CAAC,EAC5B,QAAQ,EACR,SAAS,EACT,KAAK,EACL,OAAO,EACP,KAAK,EACL,YAAY,GAAG,KAAK,EACpB,KAAK,GAAG,MAAM,GACM,MACpBA,uBACE,SAAS,EAAEC,uBAAW,CACpBC,oBAAM,CAAC,SAAS,EAChBA,oBAAM,CAAC,CAAA,MAAA,EAAS,KAAK,CAAA,CAAE,CAAC,EACxB,SAAS,CACV,EACD,KAAK,EAAE,KAAK,EAAA,aAAA,EACA,kBAAkB,EAC9B,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EAAA,QAAA,EAEZF,cAAA,CAACG,gBAAU,EAAA,EACT,GAAG,EAAC,KAAK,EACT,SAAS,EAAC,aAAa,EACvB,SAAS,EAAEF,uBAAW,CACpB,YAAY,GAAGC,oBAAM,CAAC,kBAAkB,GAAGA,oBAAM,CAAC,QAAQ,EAC1DA,oBAAM,CAAC,SAAS,KAAK,CAAA,CAAE,CAAC,CACzB,EAAA,aAAA,EACW,gBAAgB,YAE3B,QAAQ,EAAA,CACE,EAAA,CACV;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/baseComponents/Typography/index.tsx"],"sourcesContent":[null],"names":["joinClasses","typography"],"mappings":";;;;;;AAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/baseComponents/Typography/index.tsx"],"sourcesContent":[null],"names":["joinClasses","typography"],"mappings":";;;;;;AAAA;AAiCO,MAAM,UAAU,GAAyB,CAAC,EAC/C,GAAG,EACH,SAAS,EACT,SAAS,EACT,QAAQ,EACR,KAAK,EACL,GAAG,SAAS,EACb,KACC,KAAK,CAAC,aAAa,CACjB,GAAG,EACH;AACE,IAAA,GAAG,SAAS;IACZ,SAAS,EAAEA,uBAAW,CAACC,yBAAU,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,SAAS,CAAC;IAC9D,KAAK;CACN,EACD,QAAQ;;;;"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var css_248z = "/* Headings/Heading 1 */\n.typography-module_heading1__ub7Od {\n font-family: \"Inter\", sans-serif;\n font-size: 32px;\n font-style: normal;\n font-weight: 600;\n line-height: 36px; /* 112.5% */\n letter-spacing: -0.32px;\n}\n\n/* Headings/Heading 2 */\n.typography-module_heading2__7y7eq {\n font-family: \"Inter\", sans-serif;\n font-size: 28px;\n font-style: normal;\n font-weight: 600;\n line-height: 32px; /* 114.286% */\n letter-spacing: -0.28px;\n}\n\n/* Headings/Heading 3 */\n.typography-module_heading3__QLNPD {\n font-family: \"Inter\", sans-serif;\n font-size: 24px;\n font-style: normal;\n font-weight: 600;\n line-height: 28px; /* 116.667% */\n letter-spacing: -0.24px;\n}\n\n/* Subtitles/Subtitle 1 */\n.typography-module_subtitles1__34Gvf {\n font-family: \"Inter\", sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 600;\n line-height: 24px; /* 109.091% */\n letter-spacing: -0.22px;\n}\n\n/* Subtitles/Subtitle 2 */\n.typography-module_subtitles2__0miaI {\n font-family: \"Inter\", sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 600;\n line-height: 24px; /* 133.333% */\n}\n\n/* Subtitles/Subtitle 3 */\n.typography-module_subtitles3__QZScB {\n font-family: \"Inter\", sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 600;\n line-height: 24px; /* 150% */\n}\n\n/* Body/Body 1, Medium */\n.typography-module_body1Medium__INZB0 {\n font-family: \"Inter\", sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 500;\n line-height: 24px; /* 150% */\n}\n\n/* Body/Body 1, Regular */\n.typography-module_body1Regular__H3iQB {\n font-family: \"Inter\", sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px; /* 150% */\n}\n\n/* Body/Body 2, Medium */\n.typography-module_body2Medium__Caa0m {\n font-family: \"Inter\", sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px; /* 142.857% */\n}\n\n/* Body/Body 2, Semibold */\n.typography-module_body2Semibold__CdKEO {\n font-family: \"Inter\", sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 600;\n line-height: 20px; /* 142.857% */\n}\n\n/* Body/Body 2, Regular */\n.typography-module_body2Regular__MEtzs {\n font-family: \"Inter\", sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px; /* 142.857% */\n}\n\n/* Body/Body 3, Regular */\n.typography-module_body3Regular__rp6ng {\n font-family: \"Inter\", sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px; /* 114.286% */\n}\n\n/* Caption/Caption 1, Medium */\n.typography-module_caption1Medium__xXMm- {\n font-family: \"Inter\", sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 18px; /* 133.333% */\n}\n\n/* Caption/Caption 1, Regular */\n.typography-module_caption1Regular__QVGyq {\n font-family: \"Inter\", sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 18px; /* 133.333% */\n}\n\n/* Caption/Caption 1, Semibold */\n.typography-module_caption1Semibold__Il1Aq {\n font-family: \"Inter\", sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 600;\n line-height: 18px; /* 133.333% */\n}\n\n/* Caption/Caption 2, Medium */\n.typography-module_caption2Medium__0Vvmy {\n font-family: \"Inter\", sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 500;\n line-height: 14px; /* 120% */\n}\n\n/* Caption/Caption 2, Regular */\n.typography-module_caption2Regular__GxtiS {\n font-family: \"Inter\", sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 14px; /* 120% */\n}\n\n.typography-module_caption2Semibold__4ysJe {\n font-family: \"Inter\", sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 600;\n line-height: 14px; /* 120% */\n}\n";
|
|
6
|
-
var typography = {"heading1":"typography-module_heading1__ub7Od","heading2":"typography-module_heading2__7y7eq","heading3":"typography-module_heading3__QLNPD","subtitles1":"typography-module_subtitles1__34Gvf","subtitles2":"typography-module_subtitles2__0miaI","subtitles3":"typography-module_subtitles3__QZScB","body1Medium":"typography-module_body1Medium__INZB0","body1Regular":"typography-module_body1Regular__H3iQB","body2Medium":"typography-module_body2Medium__Caa0m","body2Semibold":"typography-module_body2Semibold__CdKEO","body2Regular":"typography-module_body2Regular__MEtzs","body3Regular":"typography-module_body3Regular__rp6ng","caption1Medium":"typography-module_caption1Medium__xXMm-","caption1Regular":"typography-module_caption1Regular__QVGyq","caption1Semibold":"typography-module_caption1Semibold__Il1Aq","caption2Medium":"typography-module_caption2Medium__0Vvmy","caption2Regular":"typography-module_caption2Regular__GxtiS","caption2Semibold":"typography-module_caption2Semibold__4ysJe"};
|
|
5
|
+
var css_248z = "/* Headings/Heading 1 */\n.typography-module_heading1__ub7Od {\n font-family: \"Inter\", sans-serif;\n font-size: 32px;\n font-style: normal;\n font-weight: 600;\n line-height: 36px; /* 112.5% */\n letter-spacing: -0.32px;\n}\n\n/* Headings/Heading 2 */\n.typography-module_heading2__7y7eq {\n font-family: \"Inter\", sans-serif;\n font-size: 28px;\n font-style: normal;\n font-weight: 600;\n line-height: 32px; /* 114.286% */\n letter-spacing: -0.28px;\n}\n\n/* Headings/Heading 3 */\n.typography-module_heading3__QLNPD {\n font-family: \"Inter\", sans-serif;\n font-size: 24px;\n font-style: normal;\n font-weight: 600;\n line-height: 28px; /* 116.667% */\n letter-spacing: -0.24px;\n}\n\n/* Subtitles/Subtitle 1 */\n.typography-module_subtitles1__34Gvf {\n font-family: \"Inter\", sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 600;\n line-height: 24px; /* 109.091% */\n letter-spacing: -0.22px;\n}\n\n/* Subtitles/Subtitle 2 */\n.typography-module_subtitles2__0miaI {\n font-family: \"Inter\", sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 600;\n line-height: 24px; /* 133.333% */\n}\n\n/* Subtitles/Subtitle 3 */\n.typography-module_subtitles3__QZScB {\n font-family: \"Inter\", sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 600;\n line-height: 24px; /* 150% */\n}\n\n/* Body/Body 1, Medium */\n.typography-module_body1Medium__INZB0 {\n font-family: \"Inter\", sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 500;\n line-height: 24px; /* 150% */\n}\n\n/* Body/Body 1, Regular */\n.typography-module_body1Regular__H3iQB {\n font-family: \"Inter\", sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px; /* 150% */\n}\n\n/* Body/Body 2, Medium */\n.typography-module_body2Medium__Caa0m {\n font-family: \"Inter\", sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px; /* 142.857% */\n}\n\n/* Body/Body 3, Medium */\n.typography-module_body3Medium__XH71i {\n font-family: \"Inter\", sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 16px;\n}\n\n/* Body/Body 2, Semibold */\n.typography-module_body2Semibold__CdKEO {\n font-family: \"Inter\", sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 600;\n line-height: 20px; /* 142.857% */\n}\n\n/* Body/Body 2, Regular */\n.typography-module_body2Regular__MEtzs {\n font-family: \"Inter\", sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px; /* 142.857% */\n}\n\n/* Body/Body 3, Regular */\n.typography-module_body3Regular__rp6ng {\n font-family: \"Inter\", sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px; /* 114.286% */\n}\n\n/* Caption/Caption 1, Medium */\n.typography-module_caption1Medium__xXMm- {\n font-family: \"Inter\", sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 18px; /* 133.333% */\n}\n\n/* Caption/Caption 1, Regular */\n.typography-module_caption1Regular__QVGyq {\n font-family: \"Inter\", sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 18px; /* 133.333% */\n}\n\n/* Caption/Caption 1, Semibold */\n.typography-module_caption1Semibold__Il1Aq {\n font-family: \"Inter\", sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 600;\n line-height: 18px; /* 133.333% */\n}\n\n/* Caption/Caption 2, Medium */\n.typography-module_caption2Medium__0Vvmy {\n font-family: \"Inter\", sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 500;\n line-height: 14px; /* 120% */\n}\n\n/* Caption/Caption 2, Regular */\n.typography-module_caption2Regular__GxtiS {\n font-family: \"Inter\", sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 14px; /* 120% */\n}\n\n.typography-module_caption2Semibold__4ysJe {\n font-family: \"Inter\", sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 600;\n line-height: 14px; /* 120% */\n}\n";
|
|
6
|
+
var typography = {"heading1":"typography-module_heading1__ub7Od","heading2":"typography-module_heading2__7y7eq","heading3":"typography-module_heading3__QLNPD","subtitles1":"typography-module_subtitles1__34Gvf","subtitles2":"typography-module_subtitles2__0miaI","subtitles3":"typography-module_subtitles3__QZScB","body1Medium":"typography-module_body1Medium__INZB0","body1Regular":"typography-module_body1Regular__H3iQB","body2Medium":"typography-module_body2Medium__Caa0m","body3Medium":"typography-module_body3Medium__XH71i","body2Semibold":"typography-module_body2Semibold__CdKEO","body2Regular":"typography-module_body2Regular__MEtzs","body3Regular":"typography-module_body3Regular__rp6ng","caption1Medium":"typography-module_caption1Medium__xXMm-","caption1Regular":"typography-module_caption1Regular__QVGyq","caption1Semibold":"typography-module_caption1Semibold__Il1Aq","caption2Medium":"typography-module_caption2Medium__0Vvmy","caption2Regular":"typography-module_caption2Regular__GxtiS","caption2Semibold":"typography-module_caption2Semibold__4ysJe"};
|
|
7
7
|
function styleInject(css, options) {
|
|
8
8
|
if (typeof document === 'undefined') return;
|
|
9
9
|
const head = document.head || document.getElementsByTagName('head')[0];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var css_248z = ".Table-module_tableWrapper__sJgUI {\n width: 100%;\n}\n\n.Table-module_table__1aSst {\n border-collapse: collapse;\n
|
|
2
|
-
var styles = {"tableWrapper":"Table-module_tableWrapper__sJgUI","table":"Table-module_table__1aSst","headTitle":"Table-module_headTitle__bNg-F","headCell":"Table-module_headCell__h7KGY","headCellNoEllipsis":"Table-module_headCellNoEllipsis__6qzK7","footer":"Table-module_footer__7zAiZ","footerBody":"Table-module_footerBody__IU4tx","footerTextWrap":"Table-module_footerTextWrap__ZE57u","footerText":"Table-module_footerText__L6fYx","bodyRow":"Table-module_bodyRow__8IX-p","bodyCell":"Table-module_bodyCell__v6yfm","bodyCellNoEllipsis":"Table-module_bodyCellNoEllipsis__ZrKpB"};
|
|
1
|
+
var css_248z = ".Table-module_tableWrapper__sJgUI {\n box-sizing: border-box;\n width: 100%;\n border: 1px solid var(--border-stroke-primary);\n border-radius: 12px;\n background: var(--surface-surface-2);\n}\n\n.Table-module_table__1aSst {\n border-collapse: collapse;\n table-layout: fixed;\n width: 100%;\n}\n\n.Table-module_headTitle__bNg-F {\n height: 16px;\n padding: 16px;\n text-align: left;\n border-bottom: 1px solid var(--border-stroke-primary);\n background: var(--surface-surface-1);\n}\n\n.Table-module_headCell__h7KGY {\n display: flex;\n align-items: center;\n gap: 4px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.Table-module_headCellNoEllipsis__6qzK7 {\n display: flex;\n align-items: center;\n gap: 4px;\n}\n\n.Table-module_footer__7zAiZ {\n padding: 12px 16px;\n background: var(--surface-surface-1);\n text-align: end;\n}\n\n.Table-module_footerBody__IU4tx {\n display: flex;\n align-items: center;\n align-self: stretch;\n justify-content: end;\n}\n\n.Table-module_footerTextWrap__ZE57u {\n display: flex;\n justify-content: end;\n align-items: center;\n position: relative;\n}\n\n.Table-module_footerText__L6fYx {\n margin-right: auto;\n color: var(--text-secondary);\n}\n\n.Table-module_bodyRow__8IX-p {\n border-bottom: 1px solid var(--border-stroke-primary);\n}\n\n.Table-module_bodyCell__v6yfm {\n padding: 16px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.Table-module_bodyCellNoEllipsis__ZrKpB {\n padding: 16px;\n}\n\n.Table-module_align-left__FUFcw {\n text-align: left;\n justify-content: flex-start;\n}\n\n.Table-module_align-center__y-GdY {\n text-align: center;\n justify-content: center;\n}\n\n.Table-module_align-right__rAzhN {\n text-align: right;\n justify-content: flex-end;\n}\n";
|
|
2
|
+
var styles = {"tableWrapper":"Table-module_tableWrapper__sJgUI","table":"Table-module_table__1aSst","headTitle":"Table-module_headTitle__bNg-F","headCell":"Table-module_headCell__h7KGY","headCellNoEllipsis":"Table-module_headCellNoEllipsis__6qzK7","footer":"Table-module_footer__7zAiZ","footerBody":"Table-module_footerBody__IU4tx","footerTextWrap":"Table-module_footerTextWrap__ZE57u","footerText":"Table-module_footerText__L6fYx","bodyRow":"Table-module_bodyRow__8IX-p","bodyCell":"Table-module_bodyCell__v6yfm","bodyCellNoEllipsis":"Table-module_bodyCellNoEllipsis__ZrKpB","align-left":"Table-module_align-left__FUFcw","align-center":"Table-module_align-center__y-GdY","align-right":"Table-module_align-right__rAzhN"};
|
|
3
3
|
function styleInject(css, options) {
|
|
4
4
|
if (typeof document === 'undefined') return;
|
|
5
5
|
const head = document.head || document.getElementsByTagName('head')[0];
|
|
@@ -3,7 +3,7 @@ import { joinClasses } from '../../../utils/joinClasses.js';
|
|
|
3
3
|
import { Typography } from '../../Typography/index.js';
|
|
4
4
|
import styles from '../Table.module.css.js';
|
|
5
5
|
|
|
6
|
-
const TableCell = ({ children, fontClass = "
|
|
6
|
+
const TableCell = ({ children, fontClass = "body3Regular", className, cellClassName, style, isNoEllipsis = false, title, align = "left", }) => (jsx("td", { className: joinClasses(isNoEllipsis ? styles.bodyCellNoEllipsis : styles.bodyCell, styles[`align-${align}`], cellClassName), style: style, "data-testid": "TableData_CELL", title: title, children: jsx(Typography, { tag: "span", fontClass: fontClass, className: className, "data-testid": "TableCell_TITLE", children: children }) }));
|
|
7
7
|
|
|
8
8
|
export { TableCell };
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/baseComponents/Table/TableCell/index.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/baseComponents/Table/TableCell/index.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;MAkBa,SAAS,GAAG,CAAC,EACxB,QAAQ,EACR,SAAS,GAAG,cAAc,EAC1B,SAAS,EACT,aAAa,EACb,KAAK,EACL,YAAY,GAAG,KAAK,EACpB,KAAK,EACL,KAAK,GAAG,MAAM,GACE,MAChBA,GAAA,CAAA,IAAA,EAAA,EACE,SAAS,EAAE,WAAW,CACpB,YAAY,GAAG,MAAM,CAAC,kBAAkB,GAAG,MAAM,CAAC,QAAQ,EAC1D,MAAM,CAAC,CAAA,MAAA,EAAS,KAAK,EAAE,CAAC,EACxB,aAAa,CACd,EACD,KAAK,EAAE,KAAK,iBACA,gBAAgB,EAC5B,KAAK,EAAE,KAAK,YAEZA,GAAA,CAAC,UAAU,IACT,GAAG,EAAC,MAAM,EACV,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,SAAS,iBACR,iBAAiB,EAAA,QAAA,EAE5B,QAAQ,EAAA,CACE,EAAA,CACV;;;;"}
|
|
@@ -3,7 +3,7 @@ import { joinClasses } from '../../../utils/joinClasses.js';
|
|
|
3
3
|
import { Typography } from '../../Typography/index.js';
|
|
4
4
|
import styles from '../Table.module.css.js';
|
|
5
5
|
|
|
6
|
-
const TableHeadCell = ({ children, className, style, colSpan, scope, isNoEllipsis = false, }) => (jsx("th", { className: joinClasses(styles.headTitle, className), style: style, "data-testid": "TableHead_HEADER", colSpan: colSpan, scope: scope, children: jsx(Typography, { tag: "div", fontClass: "
|
|
6
|
+
const TableHeadCell = ({ children, className, style, colSpan, scope, isNoEllipsis = false, align = "left", }) => (jsx("th", { className: joinClasses(styles.headTitle, styles[`align-${align}`], className), style: style, "data-testid": "TableHead_HEADER", colSpan: colSpan, scope: scope, children: jsx(Typography, { tag: "div", fontClass: "body3Medium", className: joinClasses(isNoEllipsis ? styles.headCellNoEllipsis : styles.headCell, styles[`align-${align}`]), "data-testid": "TableHead_CELL", children: children }) }));
|
|
7
7
|
|
|
8
8
|
export { TableHeadCell };
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/baseComponents/Table/TableHeadCell/index.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/baseComponents/Table/TableHeadCell/index.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;MAiBa,aAAa,GAAG,CAAC,EAC5B,QAAQ,EACR,SAAS,EACT,KAAK,EACL,OAAO,EACP,KAAK,EACL,YAAY,GAAG,KAAK,EACpB,KAAK,GAAG,MAAM,GACM,MACpBA,YACE,SAAS,EAAE,WAAW,CACpB,MAAM,CAAC,SAAS,EAChB,MAAM,CAAC,CAAA,MAAA,EAAS,KAAK,CAAA,CAAE,CAAC,EACxB,SAAS,CACV,EACD,KAAK,EAAE,KAAK,EAAA,aAAA,EACA,kBAAkB,EAC9B,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EAAA,QAAA,EAEZA,GAAA,CAAC,UAAU,EAAA,EACT,GAAG,EAAC,KAAK,EACT,SAAS,EAAC,aAAa,EACvB,SAAS,EAAE,WAAW,CACpB,YAAY,GAAG,MAAM,CAAC,kBAAkB,GAAG,MAAM,CAAC,QAAQ,EAC1D,MAAM,CAAC,SAAS,KAAK,CAAA,CAAE,CAAC,CACzB,EAAA,aAAA,EACW,gBAAgB,YAE3B,QAAQ,EAAA,CACE,EAAA,CACV;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/baseComponents/Typography/index.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/baseComponents/Typography/index.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;AAiCO,MAAM,UAAU,GAAyB,CAAC,EAC/C,GAAG,EACH,SAAS,EACT,SAAS,EACT,QAAQ,EACR,KAAK,EACL,GAAG,SAAS,EACb,KACC,KAAK,CAAC,aAAa,CACjB,GAAG,EACH;AACE,IAAA,GAAG,SAAS;IACZ,SAAS,EAAE,WAAW,CAAC,UAAU,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,SAAS,CAAC;IAC9D,KAAK;CACN,EACD,QAAQ;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var css_248z = "/* Headings/Heading 1 */\n.typography-module_heading1__ub7Od {\n font-family: \"Inter\", sans-serif;\n font-size: 32px;\n font-style: normal;\n font-weight: 600;\n line-height: 36px; /* 112.5% */\n letter-spacing: -0.32px;\n}\n\n/* Headings/Heading 2 */\n.typography-module_heading2__7y7eq {\n font-family: \"Inter\", sans-serif;\n font-size: 28px;\n font-style: normal;\n font-weight: 600;\n line-height: 32px; /* 114.286% */\n letter-spacing: -0.28px;\n}\n\n/* Headings/Heading 3 */\n.typography-module_heading3__QLNPD {\n font-family: \"Inter\", sans-serif;\n font-size: 24px;\n font-style: normal;\n font-weight: 600;\n line-height: 28px; /* 116.667% */\n letter-spacing: -0.24px;\n}\n\n/* Subtitles/Subtitle 1 */\n.typography-module_subtitles1__34Gvf {\n font-family: \"Inter\", sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 600;\n line-height: 24px; /* 109.091% */\n letter-spacing: -0.22px;\n}\n\n/* Subtitles/Subtitle 2 */\n.typography-module_subtitles2__0miaI {\n font-family: \"Inter\", sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 600;\n line-height: 24px; /* 133.333% */\n}\n\n/* Subtitles/Subtitle 3 */\n.typography-module_subtitles3__QZScB {\n font-family: \"Inter\", sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 600;\n line-height: 24px; /* 150% */\n}\n\n/* Body/Body 1, Medium */\n.typography-module_body1Medium__INZB0 {\n font-family: \"Inter\", sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 500;\n line-height: 24px; /* 150% */\n}\n\n/* Body/Body 1, Regular */\n.typography-module_body1Regular__H3iQB {\n font-family: \"Inter\", sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px; /* 150% */\n}\n\n/* Body/Body 2, Medium */\n.typography-module_body2Medium__Caa0m {\n font-family: \"Inter\", sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px; /* 142.857% */\n}\n\n/* Body/Body 2, Semibold */\n.typography-module_body2Semibold__CdKEO {\n font-family: \"Inter\", sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 600;\n line-height: 20px; /* 142.857% */\n}\n\n/* Body/Body 2, Regular */\n.typography-module_body2Regular__MEtzs {\n font-family: \"Inter\", sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px; /* 142.857% */\n}\n\n/* Body/Body 3, Regular */\n.typography-module_body3Regular__rp6ng {\n font-family: \"Inter\", sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px; /* 114.286% */\n}\n\n/* Caption/Caption 1, Medium */\n.typography-module_caption1Medium__xXMm- {\n font-family: \"Inter\", sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 18px; /* 133.333% */\n}\n\n/* Caption/Caption 1, Regular */\n.typography-module_caption1Regular__QVGyq {\n font-family: \"Inter\", sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 18px; /* 133.333% */\n}\n\n/* Caption/Caption 1, Semibold */\n.typography-module_caption1Semibold__Il1Aq {\n font-family: \"Inter\", sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 600;\n line-height: 18px; /* 133.333% */\n}\n\n/* Caption/Caption 2, Medium */\n.typography-module_caption2Medium__0Vvmy {\n font-family: \"Inter\", sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 500;\n line-height: 14px; /* 120% */\n}\n\n/* Caption/Caption 2, Regular */\n.typography-module_caption2Regular__GxtiS {\n font-family: \"Inter\", sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 14px; /* 120% */\n}\n\n.typography-module_caption2Semibold__4ysJe {\n font-family: \"Inter\", sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 600;\n line-height: 14px; /* 120% */\n}\n";
|
|
2
|
-
var typography = {"heading1":"typography-module_heading1__ub7Od","heading2":"typography-module_heading2__7y7eq","heading3":"typography-module_heading3__QLNPD","subtitles1":"typography-module_subtitles1__34Gvf","subtitles2":"typography-module_subtitles2__0miaI","subtitles3":"typography-module_subtitles3__QZScB","body1Medium":"typography-module_body1Medium__INZB0","body1Regular":"typography-module_body1Regular__H3iQB","body2Medium":"typography-module_body2Medium__Caa0m","body2Semibold":"typography-module_body2Semibold__CdKEO","body2Regular":"typography-module_body2Regular__MEtzs","body3Regular":"typography-module_body3Regular__rp6ng","caption1Medium":"typography-module_caption1Medium__xXMm-","caption1Regular":"typography-module_caption1Regular__QVGyq","caption1Semibold":"typography-module_caption1Semibold__Il1Aq","caption2Medium":"typography-module_caption2Medium__0Vvmy","caption2Regular":"typography-module_caption2Regular__GxtiS","caption2Semibold":"typography-module_caption2Semibold__4ysJe"};
|
|
1
|
+
var css_248z = "/* Headings/Heading 1 */\n.typography-module_heading1__ub7Od {\n font-family: \"Inter\", sans-serif;\n font-size: 32px;\n font-style: normal;\n font-weight: 600;\n line-height: 36px; /* 112.5% */\n letter-spacing: -0.32px;\n}\n\n/* Headings/Heading 2 */\n.typography-module_heading2__7y7eq {\n font-family: \"Inter\", sans-serif;\n font-size: 28px;\n font-style: normal;\n font-weight: 600;\n line-height: 32px; /* 114.286% */\n letter-spacing: -0.28px;\n}\n\n/* Headings/Heading 3 */\n.typography-module_heading3__QLNPD {\n font-family: \"Inter\", sans-serif;\n font-size: 24px;\n font-style: normal;\n font-weight: 600;\n line-height: 28px; /* 116.667% */\n letter-spacing: -0.24px;\n}\n\n/* Subtitles/Subtitle 1 */\n.typography-module_subtitles1__34Gvf {\n font-family: \"Inter\", sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 600;\n line-height: 24px; /* 109.091% */\n letter-spacing: -0.22px;\n}\n\n/* Subtitles/Subtitle 2 */\n.typography-module_subtitles2__0miaI {\n font-family: \"Inter\", sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 600;\n line-height: 24px; /* 133.333% */\n}\n\n/* Subtitles/Subtitle 3 */\n.typography-module_subtitles3__QZScB {\n font-family: \"Inter\", sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 600;\n line-height: 24px; /* 150% */\n}\n\n/* Body/Body 1, Medium */\n.typography-module_body1Medium__INZB0 {\n font-family: \"Inter\", sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 500;\n line-height: 24px; /* 150% */\n}\n\n/* Body/Body 1, Regular */\n.typography-module_body1Regular__H3iQB {\n font-family: \"Inter\", sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px; /* 150% */\n}\n\n/* Body/Body 2, Medium */\n.typography-module_body2Medium__Caa0m {\n font-family: \"Inter\", sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px; /* 142.857% */\n}\n\n/* Body/Body 3, Medium */\n.typography-module_body3Medium__XH71i {\n font-family: \"Inter\", sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 16px;\n}\n\n/* Body/Body 2, Semibold */\n.typography-module_body2Semibold__CdKEO {\n font-family: \"Inter\", sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 600;\n line-height: 20px; /* 142.857% */\n}\n\n/* Body/Body 2, Regular */\n.typography-module_body2Regular__MEtzs {\n font-family: \"Inter\", sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px; /* 142.857% */\n}\n\n/* Body/Body 3, Regular */\n.typography-module_body3Regular__rp6ng {\n font-family: \"Inter\", sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px; /* 114.286% */\n}\n\n/* Caption/Caption 1, Medium */\n.typography-module_caption1Medium__xXMm- {\n font-family: \"Inter\", sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 18px; /* 133.333% */\n}\n\n/* Caption/Caption 1, Regular */\n.typography-module_caption1Regular__QVGyq {\n font-family: \"Inter\", sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 18px; /* 133.333% */\n}\n\n/* Caption/Caption 1, Semibold */\n.typography-module_caption1Semibold__Il1Aq {\n font-family: \"Inter\", sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 600;\n line-height: 18px; /* 133.333% */\n}\n\n/* Caption/Caption 2, Medium */\n.typography-module_caption2Medium__0Vvmy {\n font-family: \"Inter\", sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 500;\n line-height: 14px; /* 120% */\n}\n\n/* Caption/Caption 2, Regular */\n.typography-module_caption2Regular__GxtiS {\n font-family: \"Inter\", sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 14px; /* 120% */\n}\n\n.typography-module_caption2Semibold__4ysJe {\n font-family: \"Inter\", sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 600;\n line-height: 14px; /* 120% */\n}\n";
|
|
2
|
+
var typography = {"heading1":"typography-module_heading1__ub7Od","heading2":"typography-module_heading2__7y7eq","heading3":"typography-module_heading3__QLNPD","subtitles1":"typography-module_subtitles1__34Gvf","subtitles2":"typography-module_subtitles2__0miaI","subtitles3":"typography-module_subtitles3__QZScB","body1Medium":"typography-module_body1Medium__INZB0","body1Regular":"typography-module_body1Regular__H3iQB","body2Medium":"typography-module_body2Medium__Caa0m","body3Medium":"typography-module_body3Medium__XH71i","body2Semibold":"typography-module_body2Semibold__CdKEO","body2Regular":"typography-module_body2Regular__MEtzs","body3Regular":"typography-module_body3Regular__rp6ng","caption1Medium":"typography-module_caption1Medium__xXMm-","caption1Regular":"typography-module_caption1Regular__QVGyq","caption1Semibold":"typography-module_caption1Semibold__Il1Aq","caption2Medium":"typography-module_caption2Medium__0Vvmy","caption2Regular":"typography-module_caption2Regular__GxtiS","caption2Semibold":"typography-module_caption2Semibold__4ysJe"};
|
|
3
3
|
function styleInject(css, options) {
|
|
4
4
|
if (typeof document === 'undefined') return;
|
|
5
5
|
const head = document.head || document.getElementsByTagName('head')[0];
|
|
@@ -3,14 +3,15 @@ import { ReactNode, CSSProperties } from 'react';
|
|
|
3
3
|
|
|
4
4
|
interface ITableCellProps {
|
|
5
5
|
children: ReactNode;
|
|
6
|
-
fontClass?: "
|
|
6
|
+
fontClass?: "body3Medium" | "body3Regular";
|
|
7
7
|
className?: string;
|
|
8
8
|
cellClassName?: string;
|
|
9
9
|
style?: CSSProperties;
|
|
10
10
|
isNoEllipsis?: boolean;
|
|
11
11
|
title?: string;
|
|
12
|
+
align?: "left" | "center" | "right";
|
|
12
13
|
}
|
|
13
|
-
declare const TableCell: ({ children, fontClass, className, cellClassName, style, isNoEllipsis, title, }: ITableCellProps) => react.JSX.Element;
|
|
14
|
+
declare const TableCell: ({ children, fontClass, className, cellClassName, style, isNoEllipsis, title, align, }: ITableCellProps) => react.JSX.Element;
|
|
14
15
|
|
|
15
16
|
export { TableCell };
|
|
16
17
|
export type { ITableCellProps };
|
|
@@ -8,8 +8,9 @@ interface ITableHeadCellProps {
|
|
|
8
8
|
colSpan?: number;
|
|
9
9
|
scope?: ThHTMLAttributes<HTMLTableCellElement>["scope"];
|
|
10
10
|
isNoEllipsis?: boolean;
|
|
11
|
+
align?: "left" | "center" | "right";
|
|
11
12
|
}
|
|
12
|
-
declare const TableHeadCell: ({ children, className, style, colSpan, scope, isNoEllipsis, }: ITableHeadCellProps) => react.JSX.Element;
|
|
13
|
+
declare const TableHeadCell: ({ children, className, style, colSpan, scope, isNoEllipsis, align, }: ITableHeadCellProps) => react.JSX.Element;
|
|
13
14
|
|
|
14
15
|
export { TableHeadCell };
|
|
15
16
|
export type { ITableHeadCellProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import react__default, { ElementType, FC } from 'react';
|
|
2
2
|
|
|
3
|
-
type TFontClass = "heading1" | "heading2" | "heading3" | "subtitles1" | "subtitles2" | "subtitles3" | "body1Medium" | "body1Regular" | "body2Medium" | "body2Semibold" | "body2Regular" | "body3Regular" | "caption1Medium" | "caption1Regular" | "caption1Semibold" | "caption2Medium" | "caption2Regular" | "caption2Semibold";
|
|
3
|
+
type TFontClass = "heading1" | "heading2" | "heading3" | "subtitles1" | "subtitles2" | "subtitles3" | "body1Medium" | "body1Regular" | "body2Medium" | "body3Medium" | "body2Semibold" | "body2Regular" | "body3Regular" | "caption1Medium" | "caption1Regular" | "caption1Semibold" | "caption2Medium" | "caption2Regular" | "caption2Semibold";
|
|
4
4
|
interface ITypographyProps extends react__default.HTMLAttributes<HTMLElement> {
|
|
5
5
|
tag: ElementType;
|
|
6
6
|
fontClass: TFontClass;
|