@elmethis/qwik 0.0.18 → 0.0.20

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;
@@ -1131,4 +1149,8 @@
1131
1149
  }
1132
1150
  ._column_1l2bp_7 > * + * {
1133
1151
  margin-block-start: 2em;
1152
+ }._markdown-body_11s6o_1 {
1153
+ display: flex;
1154
+ flex-direction: column;
1155
+ gap: 2rem;
1134
1156
  }
@@ -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 interface ElmMarkdownProps {
2
+ markdown: string;
3
+ }
4
+ export declare const ElmMarkdown: import("@builder.io/qwik").Component<ElmMarkdownProps>;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "storybook-framework-qwik";
2
+ import { ElmMarkdown } from "./elm-markdown";
3
+ declare const meta: Meta<typeof ElmMarkdown>;
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";
@@ -28,3 +29,4 @@ export { ElmTableBody, type ElmTableBodyProps, } from "./components/table/elm-ta
28
29
  export { ElmTableRow, type ElmTableRowProps, } from "./components/table/elm-table-row";
29
30
  export { ElmTableCell, type ElmTableCellProps, } from "./components/table/elm-table-cell";
30
31
  export { ElmJarkup, type ElmJarkupProps } from "./components/others/elm-jarkup";
32
+ export { ElmMarkdown, type ElmMarkdownProps, } from "./components/others/elm-markdown";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elmethis/qwik",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -41,6 +41,7 @@
41
41
  "@storybook/addon-docs": "8",
42
42
  "@storybook/addon-essentials": "8",
43
43
  "@types/lodash-es": "^4.17.12",
44
+ "@types/marked": "^6.0.0",
44
45
  "@types/node": "20.19.0",
45
46
  "eslint": "10.0.2",
46
47
  "eslint-plugin-qwik": "1.19.1",
@@ -61,6 +62,7 @@
61
62
  "@mdi/js": "^7.4.47",
62
63
  "katex": "^0.16.33",
63
64
  "lodash-es": "^4.17.23",
65
+ "marked": "^17.0.3",
64
66
  "polished": "^4.3.1",
65
67
  "shiki": "^4.0.1"
66
68
  },