@elmethis/qwik 0.0.17 → 0.0.19
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/README.md +90 -37
- package/lib/index.qwik.cjs +579 -70
- package/lib/index.qwik.mjs +581 -72
- package/lib/style.css +27 -7
- package/lib-types/components/icon/elm-toggle-theme.d.ts +7 -0
- package/lib-types/components/icon/elm-toggle-theme.stories.d.ts +6 -0
- package/lib-types/hooks/useElmethisTheme.d.ts +4 -0
- package/lib-types/index.d.ts +1 -0
- package/package.json +1 -1
package/lib/style.css
CHANGED
|
@@ -434,7 +434,25 @@
|
|
|
434
434
|
}
|
|
435
435
|
[data-theme=dark] ._rectangle-wave_hej9g_17 {
|
|
436
436
|
border-color: rgba(255, 255, 255, 0.7);
|
|
437
|
-
}.
|
|
437
|
+
}._icon_1husg_1 {
|
|
438
|
+
display: block;
|
|
439
|
+
box-sizing: border-box;
|
|
440
|
+
padding: 0.25rem;
|
|
441
|
+
color: #555b67;
|
|
442
|
+
border-radius: 50%;
|
|
443
|
+
cursor: pointer;
|
|
444
|
+
box-shadow: 0 0 0.125rem rgba(0, 0, 0, 0.3);
|
|
445
|
+
background-color: rgba(255, 255, 255, 0.2);
|
|
446
|
+
}
|
|
447
|
+
[data-theme="dark"] ._icon_1husg_1 {
|
|
448
|
+
box-shadow: 0 0 0.125rem rgba(0, 0, 0, 0.6);
|
|
449
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
450
|
+
box-sizing: border-box;
|
|
451
|
+
padding: 0.25rem;
|
|
452
|
+
color: #b0b5be;
|
|
453
|
+
border-radius: 50%;
|
|
454
|
+
cursor: pointer;
|
|
455
|
+
}._block-image_5s2ag_1 {
|
|
438
456
|
margin: 0;
|
|
439
457
|
display: flex;
|
|
440
458
|
justify-content: center;
|
|
@@ -444,7 +462,7 @@
|
|
|
444
462
|
width: 100%;
|
|
445
463
|
}
|
|
446
464
|
|
|
447
|
-
._image-
|
|
465
|
+
._image-container_5s2ag_11 {
|
|
448
466
|
width: 100%;
|
|
449
467
|
height: 100%;
|
|
450
468
|
position: relative;
|
|
@@ -453,18 +471,20 @@
|
|
|
453
471
|
align-items: center;
|
|
454
472
|
}
|
|
455
473
|
|
|
456
|
-
.
|
|
474
|
+
._image_5s2ag_11 {
|
|
457
475
|
max-width: 100%;
|
|
458
|
-
max-height: 100
|
|
476
|
+
max-height: min(100%, 100vh);
|
|
477
|
+
height: auto;
|
|
459
478
|
border-radius: 0.25rem;
|
|
460
479
|
box-shadow: 0 0 0.125rem rgba(0, 0, 0, 0.1);
|
|
461
480
|
transition: opacity 400ms;
|
|
462
481
|
opacity: var(--opacity, 1);
|
|
463
482
|
user-select: none;
|
|
483
|
+
aspect-ratio: var(--aspect-ratio, auto);
|
|
464
484
|
cursor: var(--cursor);
|
|
465
485
|
}
|
|
466
486
|
|
|
467
|
-
.
|
|
487
|
+
._fallback_5s2ag_33 {
|
|
468
488
|
width: 100%;
|
|
469
489
|
height: 100%;
|
|
470
490
|
inset: 0 0 auto auto;
|
|
@@ -474,7 +494,7 @@
|
|
|
474
494
|
pointer-events: none;
|
|
475
495
|
}
|
|
476
496
|
|
|
477
|
-
._caption-
|
|
497
|
+
._caption-box_5s2ag_43 {
|
|
478
498
|
box-sizing: border-box;
|
|
479
499
|
padding: 0rem 1rem;
|
|
480
500
|
display: flex;
|
|
@@ -486,7 +506,7 @@
|
|
|
486
506
|
transition: opacity 400ms;
|
|
487
507
|
}
|
|
488
508
|
|
|
489
|
-
._modal-
|
|
509
|
+
._modal-container_5s2ag_55 {
|
|
490
510
|
width: 100vw;
|
|
491
511
|
height: 100vh;
|
|
492
512
|
display: flex;
|
package/lib-types/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export { ElmDotLoadingIcon, type ElmDotLoadingIconProps, } from "./components/ic
|
|
|
9
9
|
export { ElmInlineIcon, type ElmInlineIconProps, } from "./components/icon/elm-inline-icon";
|
|
10
10
|
export { ElmLanguageIcon, type ElmLanguageIconProps, } from "./components/icon/elm-language-icon";
|
|
11
11
|
export { ElmMdiIcon, type ElmMdiIconProps, } from "./components/icon/elm-mdi-icon";
|
|
12
|
+
export { ElmToggleTheme, type ElmToggleThemeProps, } from "./components/icon/elm-toggle-theme";
|
|
12
13
|
export { ElmBlockImage, type ElmBlockImageProps, } from "./components/media/elm-block-image";
|
|
13
14
|
export { ElmFile, type ElmFileProps } from "./components/media/elm-file";
|
|
14
15
|
export { ElmBookmark, type ElmBookmarkProps, } from "./components/navigation/elm-bookmark";
|