@elmethis/qwik 0.0.18 → 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/lib/style.css CHANGED
@@ -434,6 +434,24 @@
434
434
  }
435
435
  [data-theme=dark] ._rectangle-wave_hej9g_17 {
436
436
  border-color: rgba(255, 255, 255, 0.7);
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;
437
455
  }._block-image_5s2ag_1 {
438
456
  margin: 0;
439
457
  display: flex;
@@ -0,0 +1,7 @@
1
+ export interface ElmToggleThemeProps {
2
+ /**
3
+ * Specifies the size of the icon.
4
+ */
5
+ size?: string | number;
6
+ }
7
+ export declare const ElmToggleTheme: import("@builder.io/qwik").Component<ElmToggleThemeProps>;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "storybook-framework-qwik";
2
+ import { ElmToggleTheme } from "./elm-toggle-theme";
3
+ declare const meta: Meta<typeof ElmToggleTheme>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,4 @@
1
+ export declare function useElmethisTheme(): {
2
+ isDarkTheme: import("@builder.io/qwik").Signal<boolean>;
3
+ toggleTheme: import("@builder.io/qwik").QRL<() => void>;
4
+ };
@@ -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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elmethis/qwik",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },