@capillarytech/blaze-ui 0.1.6-alpha.7 → 0.1.6-alpha.9
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/CapTable/CapTable.js
CHANGED
package/CapTable/styles.js
CHANGED
|
@@ -47,26 +47,6 @@ export const StyledTable = styled(Table)`
|
|
|
47
47
|
text-align: left;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.ant-table-placeholder {
|
|
51
|
-
.ant-table-cell {
|
|
52
|
-
border-bottom: none;
|
|
53
|
-
&:hover {
|
|
54
|
-
background: none !important;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.ant-empty {
|
|
60
|
-
margin: 32px 0;
|
|
61
|
-
.ant-empty-image {
|
|
62
|
-
height: 40px;
|
|
63
|
-
margin-bottom: 8px;
|
|
64
|
-
}
|
|
65
|
-
.ant-empty-description {
|
|
66
|
-
color: ${CAP_G06};
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
50
|
.ant-table-thead > tr > th,
|
|
71
51
|
.ant-table-tbody > tr > td {
|
|
72
52
|
padding: ${SPACING_16} ${SPACING_24};
|
|
@@ -128,10 +128,7 @@ var CapTable = function CapTable(_ref) {
|
|
|
128
128
|
scrollToFirstRowOnChange: false
|
|
129
129
|
},
|
|
130
130
|
virtual: infiniteScroll,
|
|
131
|
-
rowHeight: DEFAULT_ROW_HEIGHT
|
|
132
|
-
locale: {
|
|
133
|
-
emptyText: 'No Data'
|
|
134
|
-
}
|
|
131
|
+
rowHeight: DEFAULT_ROW_HEIGHT
|
|
135
132
|
}, rest), children);
|
|
136
133
|
};
|
|
137
134
|
CapTable.propTypes = {
|
package/dist/CapTable/styles.js
CHANGED
|
@@ -21,6 +21,6 @@ var CAP_G09 = styledVars.CAP_G09,
|
|
|
21
21
|
var StyledTable = exports.StyledTable = (0, _styledComponents["default"])(_antd.Table).withConfig({
|
|
22
22
|
displayName: "StyledTable",
|
|
23
23
|
componentId: "sc-1ldu1k4-0"
|
|
24
|
-
})(["&.cap-table-v2{.ant-table{border:1px solid ", ";}}&.show-loader{.ant-table-body > table > tbody::after{content:'", "';display:flex;justify-content:center;position:absolute;width:100%;align-items:center;height:60px;text-align:center;font-size:16px;color:gray;border-top:1px solid ", ";}}.ant-table{border:1px solid ", ";.ant-table-thead > tr > th{color:", ";font-size:", ";line-height:", ";background-color:", ";text-align:left;}.ant-table-
|
|
24
|
+
})(["&.cap-table-v2{.ant-table{border:1px solid ", ";}}&.show-loader{.ant-table-body > table > tbody::after{content:'", "';display:flex;justify-content:center;position:absolute;width:100%;align-items:center;height:60px;text-align:center;font-size:16px;color:gray;border-top:1px solid ", ";}}.ant-table{border:1px solid ", ";.ant-table-thead > tr > th{color:", ";font-size:", ";line-height:", ";background-color:", ";text-align:left;}.ant-table-thead > tr > th,.ant-table-tbody > tr > td{padding:", " ", ";}.ant-table-tbody > tr > td{border-bottom:1px solid ", ";}.ant-table-tbody > tr:last-child > td{border-bottom:none;}.ant-table-thead > tr.ant-table-row-hover:not(.ant-table-expanded-row) > td,.ant-table-tbody > tr.ant-table-row-hover:not(.ant-table-expanded-row) > td,.ant-table-thead > tr:hover:not(.ant-table-expanded-row) > td,.ant-table-tbody > tr:hover:not(.ant-table-expanded-row) > td{background-color:", ";}.ant-table-thead > tr > th .ant-table-column-sorter-up,.ant-table-thead > tr > th .ant-table-column-sorter-down{&.active{color:", ";}&:not(.active){color:", ";}}.ant-table-thead{.table-children{padding:6px ", " 16px;position:relative;}.table-parent{padding-bottom:0;padding-left:", ";}.table-children.show-separator:not(:last-child)::after{content:'';height:8px;width:1px;right:0;top:30%;background-color:", ";position:absolute;}}.ant-table-thead > tr > th .ant-table-column-sorter{vertical-align:unset;}.ant-table-body table{table-layout:fixed;width:100%;}}&.no-pagination-loader{.ant-table-body > table > tbody::after{content:'';height:unset;display:none;}}&.hide-hover{.ant-table{.ant-table-thead > tr.ant-table-row-hover:not(.ant-table-expanded-row) > td,.ant-table-tbody > tr.ant-table-row-hover:not(.ant-table-expanded-row) > td,.ant-table-thead > tr:hover:not(.ant-table-expanded-row) > td,.ant-table-tbody > tr:hover:not(.ant-table-expanded-row) > td{background:none;}}}a{color:", ";}"], CAP_G07, function (props) {
|
|
25
25
|
return props.loadMoreData;
|
|
26
|
-
}, CAP_G07, CAP_G07, CAP_G01, FONT_SIZE_S, SPACING_16, CAP_G10,
|
|
26
|
+
}, CAP_G07, CAP_G07, CAP_G01, FONT_SIZE_S, SPACING_16, CAP_G10, SPACING_16, SPACING_24, CAP_G07, CAP_G09, CAP_G01, CAP_G06, SPACING_24, SPACING_24, CAP_G07, CAP_G01);
|
|
@@ -120,10 +120,7 @@ var CapTable = function CapTable(_ref) {
|
|
|
120
120
|
scrollToFirstRowOnChange: false
|
|
121
121
|
},
|
|
122
122
|
virtual: infiniteScroll,
|
|
123
|
-
rowHeight: DEFAULT_ROW_HEIGHT
|
|
124
|
-
locale: {
|
|
125
|
-
emptyText: 'No Data'
|
|
126
|
-
}
|
|
123
|
+
rowHeight: DEFAULT_ROW_HEIGHT
|
|
127
124
|
}, rest), children);
|
|
128
125
|
};
|
|
129
126
|
CapTable.propTypes = {
|
|
@@ -12,6 +12,6 @@ var CAP_G09 = styledVars.CAP_G09,
|
|
|
12
12
|
export var StyledTable = styled(Table).withConfig({
|
|
13
13
|
displayName: "StyledTable",
|
|
14
14
|
componentId: "sc-1ldu1k4-0"
|
|
15
|
-
})(["&.cap-table-v2{.ant-table{border:1px solid ", ";}}&.show-loader{.ant-table-body > table > tbody::after{content:'", "';display:flex;justify-content:center;position:absolute;width:100%;align-items:center;height:60px;text-align:center;font-size:16px;color:gray;border-top:1px solid ", ";}}.ant-table{border:1px solid ", ";.ant-table-thead > tr > th{color:", ";font-size:", ";line-height:", ";background-color:", ";text-align:left;}.ant-table-
|
|
15
|
+
})(["&.cap-table-v2{.ant-table{border:1px solid ", ";}}&.show-loader{.ant-table-body > table > tbody::after{content:'", "';display:flex;justify-content:center;position:absolute;width:100%;align-items:center;height:60px;text-align:center;font-size:16px;color:gray;border-top:1px solid ", ";}}.ant-table{border:1px solid ", ";.ant-table-thead > tr > th{color:", ";font-size:", ";line-height:", ";background-color:", ";text-align:left;}.ant-table-thead > tr > th,.ant-table-tbody > tr > td{padding:", " ", ";}.ant-table-tbody > tr > td{border-bottom:1px solid ", ";}.ant-table-tbody > tr:last-child > td{border-bottom:none;}.ant-table-thead > tr.ant-table-row-hover:not(.ant-table-expanded-row) > td,.ant-table-tbody > tr.ant-table-row-hover:not(.ant-table-expanded-row) > td,.ant-table-thead > tr:hover:not(.ant-table-expanded-row) > td,.ant-table-tbody > tr:hover:not(.ant-table-expanded-row) > td{background-color:", ";}.ant-table-thead > tr > th .ant-table-column-sorter-up,.ant-table-thead > tr > th .ant-table-column-sorter-down{&.active{color:", ";}&:not(.active){color:", ";}}.ant-table-thead{.table-children{padding:6px ", " 16px;position:relative;}.table-parent{padding-bottom:0;padding-left:", ";}.table-children.show-separator:not(:last-child)::after{content:'';height:8px;width:1px;right:0;top:30%;background-color:", ";position:absolute;}}.ant-table-thead > tr > th .ant-table-column-sorter{vertical-align:unset;}.ant-table-body table{table-layout:fixed;width:100%;}}&.no-pagination-loader{.ant-table-body > table > tbody::after{content:'';height:unset;display:none;}}&.hide-hover{.ant-table{.ant-table-thead > tr.ant-table-row-hover:not(.ant-table-expanded-row) > td,.ant-table-tbody > tr.ant-table-row-hover:not(.ant-table-expanded-row) > td,.ant-table-thead > tr:hover:not(.ant-table-expanded-row) > td,.ant-table-tbody > tr:hover:not(.ant-table-expanded-row) > td{background:none;}}}a{color:", ";}"], CAP_G07, function (props) {
|
|
16
16
|
return props.loadMoreData;
|
|
17
|
-
}, CAP_G07, CAP_G07, CAP_G01, FONT_SIZE_S, SPACING_16, CAP_G10,
|
|
17
|
+
}, CAP_G07, CAP_G07, CAP_G01, FONT_SIZE_S, SPACING_16, CAP_G10, SPACING_16, SPACING_24, CAP_G07, CAP_G09, CAP_G01, CAP_G06, SPACING_24, SPACING_24, CAP_G07, CAP_G01);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capillarytech/blaze-ui",
|
|
3
3
|
"author": "Capillary Technologies",
|
|
4
|
-
"version": "0.1.6-alpha.
|
|
4
|
+
"version": "0.1.6-alpha.9",
|
|
5
5
|
"description": "Capillary UI component library with Ant Design v5",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/esm/index.js",
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
"homepage": "https://github.com/Capillary/blaze-ui",
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
31
|
-
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
31
|
+
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
32
|
+
"react-intl": "^6.5.0"
|
|
32
33
|
},
|
|
33
34
|
"dependencies": {
|
|
34
35
|
"antd": "^5.12.0",
|
|
35
36
|
"@ant-design/icons": "^5.2.6",
|
|
36
37
|
"@capillarytech/cap-ui-utils": "^3.0.4",
|
|
37
38
|
"prop-types": "^15.8.1",
|
|
38
|
-
"styled-components": "^5.3.11"
|
|
39
|
-
"react-intl": "^6.5.0"
|
|
39
|
+
"styled-components": "^5.3.11"
|
|
40
40
|
}
|
|
41
41
|
}
|