fis-component 0.1.32 → 0.1.34
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 +7 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/src/components/Pagination/Pagination.stories.d.ts +1 -0
- package/dist/esm/index.js +7 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/Pagination/Pagination.stories.d.ts +1 -0
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -65795,7 +65795,7 @@ const DivContainerSC$6 = styled.div `
|
|
|
65795
65795
|
}
|
|
65796
65796
|
}
|
|
65797
65797
|
|
|
65798
|
-
&:hover:not(:has(${InputSC$2}:disabled)):not(:has(.icon-suffix:hover)) {
|
|
65798
|
+
&:hover:not(:has(${InputSC$2}:disabled)):not(:has(${InputSC$2}:read-only)):not(:has(.icon-suffix:hover)) {
|
|
65799
65799
|
outline-color: ${getTheme("com/input/field/default/border/hover")};
|
|
65800
65800
|
background-color: ${getTheme("com/input/field/default/background/hover")};
|
|
65801
65801
|
|
|
@@ -65803,7 +65803,7 @@ const DivContainerSC$6 = styled.div `
|
|
|
65803
65803
|
color: ${getTheme("com/input/field/default/icon/color-icon/hover")};
|
|
65804
65804
|
}
|
|
65805
65805
|
}
|
|
65806
|
-
&:has(${InputSC$2}:focus) {
|
|
65806
|
+
&:has(${InputSC$2}:focus):not(:has(${InputSC$2}:read-only)) {
|
|
65807
65807
|
outline-color: ${getTheme("com/input/field/default/border/active")};
|
|
65808
65808
|
background-color: ${getTheme("com/input/field/default/background/active")};
|
|
65809
65809
|
box-shadow: 0 0 0 ${getTheme("com/actived-mark/gap-spacing")}
|
|
@@ -65821,7 +65821,7 @@ const DivContainerSC$6 = styled.div `
|
|
|
65821
65821
|
color: ${getTheme("com/input/field/negative/icon/color-icon/default")};
|
|
65822
65822
|
}
|
|
65823
65823
|
|
|
65824
|
-
&:hover:not(:has(${InputSC$2}:disabled)):not(:has(.icon-suffix:hover)) {
|
|
65824
|
+
&:hover:not(:has(${InputSC$2}:disabled)):not(:has(${InputSC$2}:read-only)):not(:has(.icon-suffix:hover)) {
|
|
65825
65825
|
outline-color: ${getTheme("com/input/field/negative/border/hover")};
|
|
65826
65826
|
background-color: ${getTheme("com/input/field/negative/background/hover")};
|
|
65827
65827
|
|
|
@@ -65830,7 +65830,7 @@ const DivContainerSC$6 = styled.div `
|
|
|
65830
65830
|
}
|
|
65831
65831
|
}
|
|
65832
65832
|
|
|
65833
|
-
&:has(${InputSC$2}:focus) {
|
|
65833
|
+
&:has(${InputSC$2}:focus):not(:has(${InputSC$2}:read-only)) {
|
|
65834
65834
|
outline-color: ${getTheme("com/input/field/negative/border/active")};
|
|
65835
65835
|
background-color: ${getTheme("com/input/field/negative/background/active")};
|
|
65836
65836
|
box-shadow: 0 0 0 ${getTheme("com/actived-mark/gap-spacing")}
|
|
@@ -76604,6 +76604,9 @@ const FISPagination = ({ pageSize = LIMIT_DEFAULT, current = 1, total = 0, minim
|
|
|
76604
76604
|
}
|
|
76605
76605
|
};
|
|
76606
76606
|
const rangeRecords = React.useMemo(() => {
|
|
76607
|
+
if (!total || total <= 0) {
|
|
76608
|
+
return [0, 0];
|
|
76609
|
+
}
|
|
76607
76610
|
return [
|
|
76608
76611
|
(current - 1) * pageSize + 1,
|
|
76609
76612
|
current * pageSize > total ? total : current * pageSize,
|