@elmethis/core 1.0.0-alpha.4 → 1.0.0-alpha.41
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/{Bash-Baz1BxzT.js → Bash-_qylOkZi.js} +19 -15
- package/dist/{JavaScript-B2h5GaAI.js → JavaScript-X5j3rcy1.js} +1 -1
- package/dist/{Rust-OtMDYMq1.js → Rust-CfTiYuB7.js} +1 -1
- package/dist/{TypeScript-BjyEfQ06.js → TypeScript-MQdwVdJC.js} +1 -1
- package/dist/components/badge/ElmTag.stories.d.ts +7 -0
- package/dist/components/badge/ElmTag.vue.d.ts +14 -0
- package/dist/components/code/ElmCodeBlock.vue.d.ts +5 -0
- package/dist/components/containments/ElmColumn.stories.d.ts +6 -0
- package/dist/components/containments/ElmColumn.vue.d.ts +18 -0
- package/dist/components/containments/ElmColumnList.vue.d.ts +18 -0
- package/dist/components/containments/ElmDesktopWindow.stories.d.ts +6 -0
- package/dist/components/containments/ElmDesktopWindow.vue.d.ts +26 -0
- package/dist/components/containments/ElmModal.stories.d.ts +6 -0
- package/dist/components/containments/ElmModal.vue.d.ts +34 -0
- package/dist/components/containments/ElmParallax.stories.d.ts +6 -0
- package/dist/components/containments/ElmParallax.vue.d.ts +6 -0
- package/dist/components/containments/ElmToggle.stories.d.ts +1 -0
- package/dist/components/containments/ElmToggle.vue.d.ts +6 -0
- package/dist/components/data/ElmMultiProgress.stories.d.ts +6 -0
- package/dist/components/data/ElmMultiProgress.vue.d.ts +30 -0
- package/dist/components/data/ElmProgress.stories.d.ts +10 -0
- package/dist/components/data/ElmProgress.vue.d.ts +38 -0
- package/dist/components/fallback/ElmBlockFallback.stories.d.ts +6 -0
- package/dist/components/fallback/ElmBlockFallback.vue.d.ts +4 -0
- package/dist/components/form/ElmButton.stories.d.ts +12 -0
- package/dist/components/form/ElmButton.vue.d.ts +39 -0
- package/dist/components/icon/ElmBookmarkIcon.stories.d.ts +8 -0
- package/dist/components/icon/ElmBookmarkIcon.vue.d.ts +7 -0
- package/dist/components/icon/ElmDotLoadingIcon.vue.d.ts +1 -1
- package/dist/components/icon/ElmLoginIcon.stories.d.ts +6 -0
- package/dist/components/icon/ElmLoginIcon.vue.d.ts +18 -0
- package/dist/components/inline/ElmInlineText.stories.d.ts +1 -0
- package/dist/components/inline/ElmInlineText.vue.d.ts +2 -1
- package/dist/components/media/ElmFile.stories.d.ts +6 -0
- package/dist/components/media/ElmFile.vue.d.ts +16 -0
- package/dist/components/media/ElmImage.vue.d.ts +5 -0
- package/dist/components/navigation/ElmBookmark.stories.d.ts +2 -0
- package/dist/components/navigation/ElmTableOfContents.stories.d.ts +7 -0
- package/dist/components/navigation/ElmTableOfContents.vue.d.ts +9 -0
- package/dist/components/others/ElmColorSample.stories.d.ts +6 -0
- package/dist/components/others/ElmColorSample.vue.d.ts +8 -0
- package/dist/components/others/ElmColorTable.stories.d.ts +6 -0
- package/dist/components/others/ElmColorTable.vue.d.ts +11 -0
- package/dist/components/renderer/ElmJsonRenderer.stories.d.ts +1 -0
- package/dist/components/renderer/ElmJsonRenderer.vue.d.ts +18 -3
- package/dist/components/table/ElmTable.vue.d.ts +5 -0
- package/dist/components/typography/ElmDivider.vue.d.ts +5 -0
- package/dist/elmethis.js +57 -37
- package/dist/elmethis.umd.cjs +24 -20
- package/dist/hooks/useElmethisTheme.d.ts +4 -0
- package/dist/index-BSs37k1l.js +19092 -0
- package/dist/index.d.ts +22 -2
- package/package.json +38 -4
- package/dist/index-DiODNzIp.js +0 -15999
- package/dist/vite.svg +0 -1
|
@@ -25,8 +25,11 @@ import { ElmImageProps } from '../media/ElmImage.vue';
|
|
|
25
25
|
import { ElmBookmarkProps } from '../navigation/ElmBookmark.vue';
|
|
26
26
|
import { ElmToggleProps } from '../containments/ElmToggle.vue';
|
|
27
27
|
import { ElmCheckboxProps } from '../form/ElmCheckbox.vue';
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
import { ElmFileProps } from '../media/ElmFile.vue';
|
|
29
|
+
import { ElmColumnProps } from '../containments/ElmColumn.vue';
|
|
30
|
+
import { ElmColumnListProps } from '../containments/ElmColumnList.vue';
|
|
31
|
+
type ComponentType = 'ElmInlineText' | 'ElmInlineCode' | 'ElmInlineLink' | 'ElmCallout' | 'ElmBulletedList' | 'ElmNumberedList' | 'ElmListItem' | 'ElmBlockQuote' | 'ElmDivider' | 'ElmHeading1' | 'ElmHeading2' | 'ElmHeading3' | 'ElmHeading4' | 'ElmHeading5' | 'ElmHeading6' | 'ElmCodeBlock' | 'ElmParagraph' | 'ElmTable' | 'ElmTableHeader' | 'ElmTableBody' | 'ElmTableRow' | 'ElmTableCell' | 'ElmKatex' | 'ElmImage' | 'ElmBookmark' | 'ElmToggle' | 'ElmCheckbox' | 'ElmFile' | 'ElmColumn' | 'ElmColumnList';
|
|
32
|
+
type ComponentProps = ElmInlineTextProps | ElmInlineCodeProps | ElmInlineLinkProps | ElmCalloutProps | ElmBulletedListProps | ElmNumberedListProps | ElmListItemProps | ElmBlockQuoteProps | ElmDividerProps | ElmHeading1Props | ElmHeading2Props | ElmHeading3Props | ElmHeading4Props | ElmHeading5Props | ElmHeading6Props | ElmCodeBlockProps | ElmParagraphProps | ElmTableProps | ElmTableHeaderProps | ElmTableBodyProps | ElmTableRowProps | ElmTableCellProps | ElmKatexProps | ElmImageProps | ElmBookmarkProps | ElmToggleProps | ElmCheckboxProps | ElmFileProps | ElmColumnProps | ElmColumnListProps;
|
|
30
33
|
interface JsonComponentBase {
|
|
31
34
|
type: ComponentType;
|
|
32
35
|
props?: ComponentProps;
|
|
@@ -140,7 +143,19 @@ interface ElmCheckboxJsonComponent extends JsonComponentBase {
|
|
|
140
143
|
type: 'ElmCheckbox';
|
|
141
144
|
props?: ElmCheckboxProps;
|
|
142
145
|
}
|
|
143
|
-
|
|
146
|
+
interface ElmFileJsonComponent extends JsonComponentBase {
|
|
147
|
+
type: 'ElmFile';
|
|
148
|
+
props?: ElmFileProps;
|
|
149
|
+
}
|
|
150
|
+
interface ElmColumnJsonComponent extends JsonComponentBase {
|
|
151
|
+
type: 'ElmColumn';
|
|
152
|
+
props?: ElmColumnProps;
|
|
153
|
+
}
|
|
154
|
+
interface ElmColumnListJsonComponent extends JsonComponentBase {
|
|
155
|
+
type: 'ElmColumnList';
|
|
156
|
+
props?: ElmColumnListProps;
|
|
157
|
+
}
|
|
158
|
+
type JsonComponent = ElmInlineTextJsonComponent | ElmInlineCodeJsonComponent | ElmInlineLinkJsonComponent | ElmCalloutJsonComponent | ElmBulletedListJsonComponent | ElmNumberedListJsonComponent | ElmListItemJsonComponent | ElmBlockQuoteJsonComponent | ElmDividerJsonComponent | ElmHeading1JsonComponent | ElmHeading2JsonComponent | ElmHeading3JsonComponent | ElmHeading4JsonComponent | ElmHeading5JsonComponent | ElmHeading6JsonComponent | ElmCodeBlockJsonComponent | ElmParagraphJsonComponent | ElmTableJsonComponent | ElmTableHeaderJsonComponent | ElmTableBodyJsonComponent | ElmTableRowJsonComponent | ElmTableCellJsonComponent | ElmKatexJsonComponent | ElmImageJsonComponent | ElmBookmarkJsonComponent | ElmToggleJsonComponent | ElmCheckboxJsonComponent | ElmFileJsonComponent | ElmColumnJsonComponent | ElmColumnListJsonComponent;
|
|
144
159
|
export interface ElmJsonRendererProps {
|
|
145
160
|
json: JsonComponent[];
|
|
146
161
|
}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
+
import { Property } from 'csstype';
|
|
1
2
|
export interface ElmDividerProps {
|
|
3
|
+
/**
|
|
4
|
+
* The margin of the divider.
|
|
5
|
+
*/
|
|
6
|
+
margin?: Property.MarginBlock;
|
|
2
7
|
}
|
|
3
8
|
declare const _default: import('vue').DefineComponent<ElmDividerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmDividerProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
4
9
|
export default _default;
|