@pdfme/ui 5.3.15-dev.11 → 5.3.15-dev.13
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/index.es.js +6 -16
- package/dist/index.umd.js +4 -4
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
@@ -87160,7 +87160,7 @@ function genStyleUtils(a) {
|
|
87160
87160
|
genComponentStyleHook: x
|
87161
87161
|
};
|
87162
87162
|
}
|
87163
|
-
const PresetColors = ["blue", "purple", "cyan", "green", "magenta", "pink", "red", "orange", "yellow", "volcano", "geekblue", "lime", "gold"], version$1 = "5.24.
|
87163
|
+
const PresetColors = ["blue", "purple", "cyan", "green", "magenta", "pink", "red", "orange", "yellow", "volcano", "geekblue", "lime", "gold"], version$1 = "5.24.6";
|
87164
87164
|
function isStableColor(a) {
|
87165
87165
|
return a >= 0 && a <= 255;
|
87166
87166
|
}
|
@@ -100624,8 +100624,7 @@ const responsiveArray = ["xxl", "xl", "lg", "md", "sm", "xs"], getResponsiveMap
|
|
100624
100624
|
throw new Error(`${b}<=${x} fails : !(${s[b]}<=${s[x]})`);
|
100625
100625
|
}
|
100626
100626
|
}), a;
|
100627
|
-
}
|
100628
|
-
function useResponsiveObserver() {
|
100627
|
+
}, useResponsiveObserver = () => {
|
100629
100628
|
const [, a] = useToken$1(), s = getResponsiveMap(validateBreakpoints(a));
|
100630
100629
|
return React.useMemo(() => {
|
100631
100630
|
const c = /* @__PURE__ */ new Map();
|
@@ -100666,7 +100665,7 @@ function useResponsiveObserver() {
|
|
100666
100665
|
}
|
100667
100666
|
};
|
100668
100667
|
}, [a]);
|
100669
|
-
}
|
100668
|
+
};
|
100670
100669
|
function useForceUpdate() {
|
100671
100670
|
const [, a] = reactExports.useReducer((s) => s + 1, 0);
|
100672
100671
|
return a;
|
@@ -121771,6 +121770,7 @@ const genPaginationDisabledStyle = (a) => {
|
|
121771
121770
|
cursor: "not-allowed",
|
121772
121771
|
[`${s}-item`]: {
|
121773
121772
|
cursor: "not-allowed",
|
121773
|
+
backgroundColor: "transparent",
|
121774
121774
|
"&:hover, &:active": {
|
121775
121775
|
backgroundColor: "transparent"
|
121776
121776
|
},
|
@@ -121841,16 +121841,6 @@ const genPaginationDisabledStyle = (a) => {
|
|
121841
121841
|
margin: 0,
|
121842
121842
|
lineHeight: unit$1(a.calc(a.itemSizeSM).sub(2).equal())
|
121843
121843
|
},
|
121844
|
-
[`&${s}-mini:not(${s}-disabled) ${s}-item:not(${s}-item-active)`]: {
|
121845
|
-
backgroundColor: "transparent",
|
121846
|
-
borderColor: "transparent",
|
121847
|
-
"&:hover": {
|
121848
|
-
backgroundColor: a.colorBgTextHover
|
121849
|
-
},
|
121850
|
-
"&:active": {
|
121851
|
-
backgroundColor: a.colorBgTextActive
|
121852
|
-
}
|
121853
|
-
},
|
121854
121844
|
[`&${s}-mini ${s}-prev, &${s}-mini ${s}-next`]: {
|
121855
121845
|
minWidth: a.itemSizeSM,
|
121856
121846
|
height: a.itemSizeSM,
|
@@ -122908,9 +122898,9 @@ const Spin = (a) => {
|
|
122908
122898
|
Spin.setDefaultIndicator = (a) => {
|
122909
122899
|
defaultIndicator = a;
|
122910
122900
|
};
|
122911
|
-
|
122901
|
+
const toList$1 = function(a) {
|
122912
122902
|
return (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) && a == null ? [] : Array.isArray(a) ? a : [a];
|
122913
|
-
}
|
122903
|
+
};
|
122914
122904
|
let message = null, act = (a) => a(), taskQueue = [], defaultGlobalConfig = {};
|
122915
122905
|
function getGlobalContext() {
|
122916
122906
|
const {
|