react-better-html 1.1.164 → 1.1.166
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.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5454,6 +5454,14 @@ var colorThemeControls = {
|
|
|
5454
5454
|
}, 0.01 * 1e3);
|
|
5455
5455
|
}
|
|
5456
5456
|
};
|
|
5457
|
+
var filterHover = () => {
|
|
5458
|
+
if (!checkBetterHtmlContextValue(externalBetterHtmlContextValue, "filterHover")) return void 0;
|
|
5459
|
+
return {
|
|
5460
|
+
z1: externalBetterHtmlContextValue.colorTheme === "dark" ? "brightness(1.1)" : "brightness(0.9)",
|
|
5461
|
+
z2: externalBetterHtmlContextValue.colorTheme === "dark" ? "brightness(1.2)" : "brightness(0.8)",
|
|
5462
|
+
z3: externalBetterHtmlContextValue.colorTheme === "dark" ? "brightness(1.3)" : "brightness(0.7)"
|
|
5463
|
+
};
|
|
5464
|
+
};
|
|
5457
5465
|
|
|
5458
5466
|
// src/utils/functions.ts
|
|
5459
5467
|
var generateRandomString = (stringLength, options) => {
|
|
@@ -9238,6 +9246,7 @@ export {
|
|
|
9238
9246
|
eventPreventDefault,
|
|
9239
9247
|
eventPreventStop,
|
|
9240
9248
|
eventStopPropagation,
|
|
9249
|
+
filterHover,
|
|
9241
9250
|
formatPhoneNumber,
|
|
9242
9251
|
generateLocalStorage,
|
|
9243
9252
|
generateRandomString,
|