fis-component 0.0.82 → 0.0.84
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/index.js +6 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +6 -4
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -61561,7 +61561,7 @@ function ExitIcon(props) {
|
|
|
61561
61561
|
}
|
|
61562
61562
|
|
|
61563
61563
|
function InfoIcon(props) {
|
|
61564
|
-
return (jsxRuntime.
|
|
61564
|
+
return (jsxRuntime.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntime.jsx("g", { "clip-path": "url(#clip0_11224_1706)", children: jsxRuntime.jsx("path", { d: "M7.99992 10.6666V7.99992M7.99992 5.33325H8.00659M14.6666 7.99992C14.6666 11.6818 11.6818 14.6666 7.99992 14.6666C4.31802 14.6666 1.33325 11.6818 1.33325 7.99992C1.33325 4.31802 4.31802 1.33325 7.99992 1.33325C11.6818 1.33325 14.6666 4.31802 14.6666 7.99992Z", stroke: "#505A5F", "stroke-linecap": "round", "stroke-linejoin": "round" }) }), jsxRuntime.jsx("defs", { children: jsxRuntime.jsx("clipPath", { id: "clip0_11224_1706", children: jsxRuntime.jsx("rect", { width: "16", height: "16", fill: "white" }) }) })] }));
|
|
61565
61565
|
}
|
|
61566
61566
|
|
|
61567
61567
|
function CheckIcon(props) {
|
|
@@ -63085,7 +63085,7 @@ const FISTab = ({ children, active: propActive, defaultActive, size = "md", clas
|
|
|
63085
63085
|
}
|
|
63086
63086
|
onChange?.(key);
|
|
63087
63087
|
};
|
|
63088
|
-
const activeContent =
|
|
63088
|
+
const activeContent = tabs.find((tab) => tab.value === activeKey)?.children;
|
|
63089
63089
|
React.useEffect(() => {
|
|
63090
63090
|
if (propActive !== undefined) {
|
|
63091
63091
|
setStateActive(propActive);
|
|
@@ -71236,10 +71236,12 @@ const DivInputWrapperSC$1 = styled.div `
|
|
|
71236
71236
|
width: 100%;
|
|
71237
71237
|
`;
|
|
71238
71238
|
const HiddenDatePickerSC = styled(DatePicker) `
|
|
71239
|
+
top: 0;
|
|
71240
|
+
background-color: red;
|
|
71239
71241
|
position: absolute;
|
|
71242
|
+
height: 100%;
|
|
71240
71243
|
opacity: 0;
|
|
71241
71244
|
z-index: -1;
|
|
71242
|
-
height: 0;
|
|
71243
71245
|
`;
|
|
71244
71246
|
|
|
71245
71247
|
/**
|
|
@@ -73929,7 +73931,7 @@ const FISPagination = ({ pageSize = LIMIT_DEFAULT, current = 1, total = 0, minim
|
|
|
73929
73931
|
current * pageSize > total ? total : current * pageSize,
|
|
73930
73932
|
];
|
|
73931
73933
|
}, [current, pageSize, total]);
|
|
73932
|
-
const defaultShowTotal = (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: ["Hi\u1EC3n th\u1ECB ", rangeRecords[0], "-", rangeRecords[1], recordCounted ? (`trong ${total} bản ghi`) : (jsxRuntime.jsx(FISIconButton, { size: "xs", icon: jsxRuntime.jsx(InfoIcon, {}), variant: "tertiary-invisible", onClick: onIconPageRecordClick }))] }));
|
|
73934
|
+
const defaultShowTotal = (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: ["Hi\u1EC3n th\u1ECB ", rangeRecords[0], "-", rangeRecords[1], recordCounted ? (` trong ${total} bản ghi`) : (jsxRuntime.jsx(FISIconButton, { size: "xs", icon: jsxRuntime.jsx(InfoIcon, {}), variant: "tertiary-invisible", onClick: onIconPageRecordClick }))] }));
|
|
73933
73935
|
// Merge the default props with the provided props
|
|
73934
73936
|
const mergedProps = {
|
|
73935
73937
|
size: "small",
|