@polyipseity/obsidian-plugin-library 1.22.0 → 1.23.0
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.js +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +18 -16
package/dist/index.js
CHANGED
|
@@ -39,9 +39,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
39
39
|
mod
|
|
40
40
|
));
|
|
41
41
|
|
|
42
|
-
//
|
|
42
|
+
// node_modules/.pnpm/lz-string@1.5.0/node_modules/lz-string/libs/lz-string.js
|
|
43
43
|
var require_lz_string = __commonJS({
|
|
44
|
-
"
|
|
44
|
+
"node_modules/.pnpm/lz-string@1.5.0/node_modules/lz-string/libs/lz-string.js"(exports, module) {
|
|
45
45
|
var LZString = function() {
|
|
46
46
|
var f = String.fromCharCode;
|
|
47
47
|
var keyStrBase64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
@@ -2188,7 +2188,7 @@ import { setIcon } from "obsidian";
|
|
|
2188
2188
|
import { isEmpty as isEmpty2 } from "lodash-es";
|
|
2189
2189
|
import { t as i18nt } from "i18next";
|
|
2190
2190
|
function add_css(target) {
|
|
2191
|
-
append_styles(target, "
|
|
2191
|
+
append_styles(target, "_polyipseity_obsidian-plugin-library-svelte-find", ".document-search._polyipseity_obsidian-plugin-library-svelte-find._polyipseity_obsidian-plugin-library-svelte-find{flex-wrap:wrap}.is-mobile .document-search._polyipseity_obsidian-plugin-library-svelte-find .document-search-button.mod-cta._polyipseity_obsidian-plugin-library-svelte-find{background-color:var(--interactive-accent);color:var(--text-on-accent)}");
|
|
2192
2192
|
}
|
|
2193
2193
|
function create_fragment(ctx) {
|
|
2194
2194
|
let div4;
|
|
@@ -2256,15 +2256,15 @@ function create_fragment(ctx) {
|
|
|
2256
2256
|
t7 = space();
|
|
2257
2257
|
button5 = element("button");
|
|
2258
2258
|
attr(button0, "class", button0_class_value = null_to_empty(`document-search-button${/*params*/
|
|
2259
|
-
ctx[0].caseSensitive ? " mod-cta" : ""}`) + "
|
|
2259
|
+
ctx[0].caseSensitive ? " mod-cta" : ""}`) + " _polyipseity_obsidian-plugin-library-svelte-find");
|
|
2260
2260
|
attr(button0, "aria-label", button0_aria_label_value = /*i18n*/
|
|
2261
2261
|
ctx[1]("components.find.case-sensitive"));
|
|
2262
2262
|
attr(button1, "class", button1_class_value = null_to_empty(`document-search-button${/*params*/
|
|
2263
|
-
ctx[0].wholeWord ? " mod-cta" : ""}`) + "
|
|
2263
|
+
ctx[0].wholeWord ? " mod-cta" : ""}`) + " _polyipseity_obsidian-plugin-library-svelte-find");
|
|
2264
2264
|
attr(button1, "aria-label", button1_aria_label_value = /*i18n*/
|
|
2265
2265
|
ctx[1]("components.find.whole-word"));
|
|
2266
2266
|
attr(button2, "class", button2_class_value = null_to_empty(`document-search-button${/*params*/
|
|
2267
|
-
ctx[0].regex ? " mod-cta" : ""}`) + "
|
|
2267
|
+
ctx[0].regex ? " mod-cta" : ""}`) + " _polyipseity_obsidian-plugin-library-svelte-find");
|
|
2268
2268
|
attr(button2, "aria-label", button2_aria_label_value = /*i18n*/
|
|
2269
2269
|
ctx[1]("components.find.regex"));
|
|
2270
2270
|
attr(div0, "class", "document-search-buttons");
|
|
@@ -2283,7 +2283,7 @@ function create_fragment(ctx) {
|
|
|
2283
2283
|
attr(button5, "aria-label", button5_aria_label_value = /*i18n*/
|
|
2284
2284
|
ctx[1]("components.find.close"));
|
|
2285
2285
|
attr(div2, "class", "document-search-buttons");
|
|
2286
|
-
attr(div3, "class", "document-search
|
|
2286
|
+
attr(div3, "class", "document-search _polyipseity_obsidian-plugin-library-svelte-find");
|
|
2287
2287
|
attr(div4, "class", "document-search-container");
|
|
2288
2288
|
},
|
|
2289
2289
|
m(target, anchor) {
|
|
@@ -2393,7 +2393,7 @@ function create_fragment(ctx) {
|
|
|
2393
2393
|
ctx = new_ctx;
|
|
2394
2394
|
if (!current || dirty & /*params*/
|
|
2395
2395
|
1 && button0_class_value !== (button0_class_value = null_to_empty(`document-search-button${/*params*/
|
|
2396
|
-
ctx[0].caseSensitive ? " mod-cta" : ""}`) + "
|
|
2396
|
+
ctx[0].caseSensitive ? " mod-cta" : ""}`) + " _polyipseity_obsidian-plugin-library-svelte-find")) {
|
|
2397
2397
|
attr(button0, "class", button0_class_value);
|
|
2398
2398
|
}
|
|
2399
2399
|
if (!current || dirty & /*i18n*/
|
|
@@ -2410,7 +2410,7 @@ function create_fragment(ctx) {
|
|
|
2410
2410
|
);
|
|
2411
2411
|
if (!current || dirty & /*params*/
|
|
2412
2412
|
1 && button1_class_value !== (button1_class_value = null_to_empty(`document-search-button${/*params*/
|
|
2413
|
-
ctx[0].wholeWord ? " mod-cta" : ""}`) + "
|
|
2413
|
+
ctx[0].wholeWord ? " mod-cta" : ""}`) + " _polyipseity_obsidian-plugin-library-svelte-find")) {
|
|
2414
2414
|
attr(button1, "class", button1_class_value);
|
|
2415
2415
|
}
|
|
2416
2416
|
if (!current || dirty & /*i18n*/
|
|
@@ -2427,7 +2427,7 @@ function create_fragment(ctx) {
|
|
|
2427
2427
|
);
|
|
2428
2428
|
if (!current || dirty & /*params*/
|
|
2429
2429
|
1 && button2_class_value !== (button2_class_value = null_to_empty(`document-search-button${/*params*/
|
|
2430
|
-
ctx[0].regex ? " mod-cta" : ""}`) + "
|
|
2430
|
+
ctx[0].regex ? " mod-cta" : ""}`) + " _polyipseity_obsidian-plugin-library-svelte-find")) {
|
|
2431
2431
|
attr(button2, "class", button2_class_value);
|
|
2432
2432
|
}
|
|
2433
2433
|
if (!current || dirty & /*i18n*/
|