@scalar/components 0.14.22 → 0.14.25
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 +7 -0
- package/dist/components/ScalarCodeBlock/ScalarCodeBlock.vue.d.ts.map +1 -1
- package/dist/components/ScalarCodeBlock/ScalarCodeBlock.vue.js +22 -31
- package/dist/components/ScalarCodeBlock/ScalarCodeBlockCopy.vue.d.ts +11 -0
- package/dist/components/ScalarCodeBlock/ScalarCodeBlockCopy.vue.d.ts.map +1 -0
- package/dist/components/ScalarCodeBlock/ScalarCodeBlockCopy.vue.js +7 -0
- package/dist/components/ScalarCodeBlock/ScalarCodeBlockCopy.vue2.js +66 -0
- package/dist/components/ScalarCodeBlock/ScalarCodeBlockCopy.vue3.js +4 -0
- package/dist/components/ScalarCodeBlock/index.d.ts +1 -0
- package/dist/components/ScalarCodeBlock/index.d.ts.map +1 -1
- package/dist/components/ScalarHotkey/ScalarHotkey.vue.d.ts +8 -0
- package/dist/components/ScalarHotkey/ScalarHotkey.vue.d.ts.map +1 -0
- package/dist/components/ScalarHotkey/ScalarHotkey.vue.js +30 -0
- package/dist/components/ScalarHotkey/ScalarHotkey.vue2.js +4 -0
- package/dist/components/ScalarHotkey/constants.d.ts +30 -0
- package/dist/components/ScalarHotkey/constants.d.ts.map +1 -0
- package/dist/components/ScalarHotkey/constants.js +29 -0
- package/dist/components/ScalarHotkey/formatHotkey.d.ts +10 -0
- package/dist/components/ScalarHotkey/formatHotkey.d.ts.map +1 -0
- package/dist/components/ScalarHotkey/formatHotkey.js +21 -0
- package/dist/components/ScalarHotkey/index.d.ts +4 -0
- package/dist/components/ScalarHotkey/index.d.ts.map +1 -0
- package/dist/components/ScalarHotkey/types.d.ts +5 -0
- package/dist/components/ScalarHotkey/types.d.ts.map +1 -0
- package/dist/components/ScalarMarkdown/ScalarMarkdown.vue.d.ts +6 -14
- package/dist/components/ScalarMarkdown/ScalarMarkdown.vue.d.ts.map +1 -1
- package/dist/components/ScalarMarkdown/ScalarMarkdown.vue.js +27 -30
- package/dist/components/ScalarMarkdown/ScalarMarkdownSummary.vue.d.ts +59 -0
- package/dist/components/ScalarMarkdown/ScalarMarkdownSummary.vue.d.ts.map +1 -0
- package/dist/components/ScalarMarkdown/ScalarMarkdownSummary.vue.js +63 -0
- package/dist/components/ScalarMarkdown/ScalarMarkdownSummary.vue2.js +4 -0
- package/dist/components/ScalarMarkdown/ScalarMarkdownSummary.vue3.js +5 -0
- package/dist/components/ScalarMarkdown/index.d.ts +1 -0
- package/dist/components/ScalarMarkdown/index.d.ts.map +1 -1
- package/dist/components/ScalarMarkdown/samples/alerts.d.ts +3 -0
- package/dist/components/ScalarMarkdown/samples/alerts.d.ts.map +1 -0
- package/dist/components/ScalarMarkdown/samples/blockquotes.d.ts +3 -0
- package/dist/components/ScalarMarkdown/samples/blockquotes.d.ts.map +1 -0
- package/dist/components/ScalarMarkdown/samples/codeblocks.d.ts +3 -0
- package/dist/components/ScalarMarkdown/samples/codeblocks.d.ts.map +1 -0
- package/dist/components/ScalarMarkdown/samples/document.d.ts +3 -0
- package/dist/components/ScalarMarkdown/samples/document.d.ts.map +1 -0
- package/dist/components/ScalarMarkdown/samples/headers.d.ts +3 -0
- package/dist/components/ScalarMarkdown/samples/headers.d.ts.map +1 -0
- package/dist/components/ScalarMarkdown/samples/html.d.ts +3 -0
- package/dist/components/ScalarMarkdown/samples/html.d.ts.map +1 -0
- package/dist/components/ScalarMarkdown/samples/index.d.ts +32 -0
- package/dist/components/ScalarMarkdown/samples/index.d.ts.map +1 -0
- package/dist/components/ScalarMarkdown/samples/inline.d.ts +3 -0
- package/dist/components/ScalarMarkdown/samples/inline.d.ts.map +1 -0
- package/dist/components/ScalarMarkdown/samples/lists.d.ts +3 -0
- package/dist/components/ScalarMarkdown/samples/lists.d.ts.map +1 -0
- package/dist/components/ScalarMarkdown/samples/paragraphs.d.ts +3 -0
- package/dist/components/ScalarMarkdown/samples/paragraphs.d.ts.map +1 -0
- package/dist/components/ScalarMarkdown/samples/tables.d.ts +3 -0
- package/dist/components/ScalarMarkdown/samples/tables.d.ts.map +1 -0
- package/dist/components/ScalarMarkdown/types.d.ts +39 -0
- package/dist/components/ScalarMarkdown/types.d.ts.map +1 -0
- package/dist/components/ScalarTooltip/ScalarHotkeyTooltip.vue.d.ts +38 -0
- package/dist/components/ScalarTooltip/ScalarHotkeyTooltip.vue.d.ts.map +1 -0
- package/dist/components/ScalarTooltip/ScalarHotkeyTooltip.vue.js +62 -0
- package/dist/components/ScalarTooltip/ScalarHotkeyTooltip.vue2.js +4 -0
- package/dist/components/ScalarTooltip/ScalarTooltip.vue.d.ts +2 -12
- package/dist/components/ScalarTooltip/ScalarTooltip.vue.d.ts.map +1 -1
- package/dist/components/ScalarTooltip/index.d.ts +2 -1
- package/dist/components/ScalarTooltip/index.d.ts.map +1 -1
- package/dist/components/ScalarTooltip/types.d.ts +35 -0
- package/dist/components/ScalarTooltip/types.d.ts.map +1 -1
- package/dist/components/ScalarTooltip/useTooltip.d.ts.map +1 -1
- package/dist/components/ScalarTooltip/useTooltip.js +44 -32
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +169 -158
- package/dist/style.css +1 -1
- package/package.json +15 -6
- package/dist/components/ScalarButton/ScalarButton.stories.d.ts +0 -263
- package/dist/components/ScalarButton/ScalarButton.stories.d.ts.map +0 -1
- package/dist/components/ScalarButton/ScalarButton.test.d.ts +0 -2
- package/dist/components/ScalarButton/ScalarButton.test.d.ts.map +0 -1
- package/dist/components/ScalarCard/ScalarCard.stories.d.ts +0 -10
- package/dist/components/ScalarCard/ScalarCard.stories.d.ts.map +0 -1
- package/dist/components/ScalarCard/ScalarCard.test.d.ts +0 -2
- package/dist/components/ScalarCard/ScalarCard.test.d.ts.map +0 -1
- package/dist/components/ScalarCheckbox/ScalarCheckbox.stories.d.ts +0 -236
- package/dist/components/ScalarCheckbox/ScalarCheckbox.stories.d.ts.map +0 -1
- package/dist/components/ScalarCodeBlock/ScalarCodeBlock.stories.d.ts +0 -93
- package/dist/components/ScalarCodeBlock/ScalarCodeBlock.stories.d.ts.map +0 -1
- package/dist/components/ScalarCodeBlock/ScalarCodeBlock.test.d.ts +0 -2
- package/dist/components/ScalarCodeBlock/ScalarCodeBlock.test.d.ts.map +0 -1
- package/dist/components/ScalarColorModeToggle/ScalarColorModeToggle.stories.d.ts +0 -9
- package/dist/components/ScalarColorModeToggle/ScalarColorModeToggle.stories.d.ts.map +0 -1
- package/dist/components/ScalarColorModeToggle/ScalarColorModeToggle.test.d.ts +0 -2
- package/dist/components/ScalarColorModeToggle/ScalarColorModeToggle.test.d.ts.map +0 -1
- package/dist/components/ScalarCombobox/ScalarCombobox.stories.d.ts +0 -55
- package/dist/components/ScalarCombobox/ScalarCombobox.stories.d.ts.map +0 -1
- package/dist/components/ScalarCombobox/ScalarCombobox.test.d.ts +0 -2
- package/dist/components/ScalarCombobox/ScalarCombobox.test.d.ts.map +0 -1
- package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.test.d.ts +0 -2
- package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.test.d.ts.map +0 -1
- package/dist/components/ScalarCombobox/ScalarComboboxOption.test.d.ts +0 -2
- package/dist/components/ScalarCombobox/ScalarComboboxOption.test.d.ts.map +0 -1
- package/dist/components/ScalarCombobox/ScalarComboboxOptionGroup.test.d.ts +0 -2
- package/dist/components/ScalarCombobox/ScalarComboboxOptionGroup.test.d.ts.map +0 -1
- package/dist/components/ScalarCombobox/ScalarComboboxOptions.test.d.ts +0 -2
- package/dist/components/ScalarCombobox/ScalarComboboxOptions.test.d.ts.map +0 -1
- package/dist/components/ScalarCombobox/ScalarComboboxPopover.test.d.ts +0 -2
- package/dist/components/ScalarCombobox/ScalarComboboxPopover.test.d.ts.map +0 -1
- package/dist/components/ScalarContextMenu/ScalarContextMenu.stories.d.ts +0 -273
- package/dist/components/ScalarContextMenu/ScalarContextMenu.stories.d.ts.map +0 -1
- package/dist/components/ScalarContextMenu/ScalarContextMenu.test.d.ts +0 -2
- package/dist/components/ScalarContextMenu/ScalarContextMenu.test.d.ts.map +0 -1
- package/dist/components/ScalarDropdown/ScalarDropdown.stories.d.ts +0 -232
- package/dist/components/ScalarDropdown/ScalarDropdown.stories.d.ts.map +0 -1
- package/dist/components/ScalarDropdown/ScalarDropdown.test.d.ts +0 -2
- package/dist/components/ScalarDropdown/ScalarDropdown.test.d.ts.map +0 -1
- package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.stories.d.ts +0 -6
- package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.stories.d.ts.map +0 -1
- package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.test.d.ts +0 -2
- package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.test.d.ts.map +0 -1
- package/dist/components/ScalarFileUpload/ScalarFileUpload.stories.d.ts +0 -364
- package/dist/components/ScalarFileUpload/ScalarFileUpload.stories.d.ts.map +0 -1
- package/dist/components/ScalarFileUpload/ScalarFileUpload.test.d.ts +0 -2
- package/dist/components/ScalarFileUpload/ScalarFileUpload.test.d.ts.map +0 -1
- package/dist/components/ScalarFloating/ScalarFloating.stories.d.ts +0 -6
- package/dist/components/ScalarFloating/ScalarFloating.stories.d.ts.map +0 -1
- package/dist/components/ScalarFloating/ScalarFloating.test.d.ts +0 -2
- package/dist/components/ScalarFloating/ScalarFloating.test.d.ts.map +0 -1
- package/dist/components/ScalarFloating/useResizeWithTarget.test.d.ts +0 -2
- package/dist/components/ScalarFloating/useResizeWithTarget.test.d.ts.map +0 -1
- package/dist/components/ScalarForm/ScalarForm.stories.d.ts +0 -9
- package/dist/components/ScalarForm/ScalarForm.stories.d.ts.map +0 -1
- package/dist/components/ScalarForm/ScalarForm.test.d.ts +0 -2
- package/dist/components/ScalarForm/ScalarForm.test.d.ts.map +0 -1
- package/dist/components/ScalarHeader/ScalarHeader.stories.d.ts +0 -146
- package/dist/components/ScalarHeader/ScalarHeader.stories.d.ts.map +0 -1
- package/dist/components/ScalarHeader/ScalarHeader.test.d.ts +0 -2
- package/dist/components/ScalarHeader/ScalarHeader.test.d.ts.map +0 -1
- package/dist/components/ScalarIcon/ScalarIcon.stories.d.ts +0 -52
- package/dist/components/ScalarIcon/ScalarIcon.stories.d.ts.map +0 -1
- package/dist/components/ScalarIcon/ScalarIcon.test.d.ts +0 -2
- package/dist/components/ScalarIcon/ScalarIcon.test.d.ts.map +0 -1
- package/dist/components/ScalarIcon/ScalarIconLegacyAdapter.test.d.ts +0 -2
- package/dist/components/ScalarIcon/ScalarIconLegacyAdapter.test.d.ts.map +0 -1
- package/dist/components/ScalarIconButton/ScalarIconButton.stories.d.ts +0 -44
- package/dist/components/ScalarIconButton/ScalarIconButton.stories.d.ts.map +0 -1
- package/dist/components/ScalarIconButton/ScalarIconButton.test.d.ts +0 -2
- package/dist/components/ScalarIconButton/ScalarIconButton.test.d.ts.map +0 -1
- package/dist/components/ScalarListbox/ScalarListbox.stories.d.ts +0 -98
- package/dist/components/ScalarListbox/ScalarListbox.stories.d.ts.map +0 -1
- package/dist/components/ScalarListbox/ScalarListbox.test.d.ts +0 -2
- package/dist/components/ScalarListbox/ScalarListbox.test.d.ts.map +0 -1
- package/dist/components/ScalarLoading/ScalarLoading.stories.d.ts +0 -120
- package/dist/components/ScalarLoading/ScalarLoading.stories.d.ts.map +0 -1
- package/dist/components/ScalarLoading/ScalarLoading.test.d.ts +0 -2
- package/dist/components/ScalarLoading/ScalarLoading.test.d.ts.map +0 -1
- package/dist/components/ScalarMarkdown/ScalarMarkdown.stories.d.ts +0 -110
- package/dist/components/ScalarMarkdown/ScalarMarkdown.stories.d.ts.map +0 -1
- package/dist/components/ScalarMarkdown/ScalarMarkdown.test.d.ts +0 -2
- package/dist/components/ScalarMarkdown/ScalarMarkdown.test.d.ts.map +0 -1
- package/dist/components/ScalarMenu/ScalarMenu.stories.d.ts +0 -129
- package/dist/components/ScalarMenu/ScalarMenu.stories.d.ts.map +0 -1
- package/dist/components/ScalarMenu/ScalarMenu.test.d.ts +0 -2
- package/dist/components/ScalarMenu/ScalarMenu.test.d.ts.map +0 -1
- package/dist/components/ScalarModal/ScalarModal.stories.d.ts +0 -66
- package/dist/components/ScalarModal/ScalarModal.stories.d.ts.map +0 -1
- package/dist/components/ScalarModal/ScalarModal.test.d.ts +0 -2
- package/dist/components/ScalarModal/ScalarModal.test.d.ts.map +0 -1
- package/dist/components/ScalarPopover/ScalarPopover.stories.d.ts +0 -167
- package/dist/components/ScalarPopover/ScalarPopover.stories.d.ts.map +0 -1
- package/dist/components/ScalarPopover/ScalarPopover.test.d.ts +0 -2
- package/dist/components/ScalarPopover/ScalarPopover.test.d.ts.map +0 -1
- package/dist/components/ScalarSearchInput/ScalarSearchInput.stories.d.ts +0 -82
- package/dist/components/ScalarSearchInput/ScalarSearchInput.stories.d.ts.map +0 -1
- package/dist/components/ScalarSearchInput/ScalarSearchInput.test.d.ts +0 -2
- package/dist/components/ScalarSearchInput/ScalarSearchInput.test.d.ts.map +0 -1
- package/dist/components/ScalarSearchResults/ScalarSearchResults.stories.d.ts +0 -158
- package/dist/components/ScalarSearchResults/ScalarSearchResults.stories.d.ts.map +0 -1
- package/dist/components/ScalarSearchResults/ScalarSearchResults.test.d.ts +0 -2
- package/dist/components/ScalarSearchResults/ScalarSearchResults.test.d.ts.map +0 -1
- package/dist/components/ScalarSidebar/ScalarSidebar.stories.d.ts +0 -11
- package/dist/components/ScalarSidebar/ScalarSidebar.stories.d.ts.map +0 -1
- package/dist/components/ScalarSidebar/ScalarSidebar.test.d.ts +0 -2
- package/dist/components/ScalarSidebar/ScalarSidebar.test.d.ts.map +0 -1
- package/dist/components/ScalarSidebar/ScalarSidebarGroup.test.d.ts +0 -2
- package/dist/components/ScalarSidebar/ScalarSidebarGroup.test.d.ts.map +0 -1
- package/dist/components/ScalarSidebar/ScalarSidebarSearchInput.test.d.ts +0 -2
- package/dist/components/ScalarSidebar/ScalarSidebarSearchInput.test.d.ts.map +0 -1
- package/dist/components/ScalarSidebar/findScrollContainer.test.d.ts +0 -2
- package/dist/components/ScalarSidebar/findScrollContainer.test.d.ts.map +0 -1
- package/dist/components/ScalarSidebar/useSidebarGroups.test.d.ts +0 -2
- package/dist/components/ScalarSidebar/useSidebarGroups.test.d.ts.map +0 -1
- package/dist/components/ScalarSidebar/useSidebarNestedItems.test.d.ts +0 -2
- package/dist/components/ScalarSidebar/useSidebarNestedItems.test.d.ts.map +0 -1
- package/dist/components/ScalarTeleport/ScalarTeleport.stories.d.ts +0 -7
- package/dist/components/ScalarTeleport/ScalarTeleport.stories.d.ts.map +0 -1
- package/dist/components/ScalarTeleport/ScalarTeleport.test.d.ts +0 -2
- package/dist/components/ScalarTeleport/ScalarTeleport.test.d.ts.map +0 -1
- package/dist/components/ScalarTeleport/useTeleport.test.d.ts +0 -2
- package/dist/components/ScalarTeleport/useTeleport.test.d.ts.map +0 -1
- package/dist/components/ScalarTextArea/ScalarTextArea.stories.d.ts +0 -7
- package/dist/components/ScalarTextArea/ScalarTextArea.stories.d.ts.map +0 -1
- package/dist/components/ScalarTextArea/ScalarTextArea.test.d.ts +0 -2
- package/dist/components/ScalarTextArea/ScalarTextArea.test.d.ts.map +0 -1
- package/dist/components/ScalarTextInput/ScalarTextInput.stories.d.ts +0 -9
- package/dist/components/ScalarTextInput/ScalarTextInput.stories.d.ts.map +0 -1
- package/dist/components/ScalarTextInput/ScalarTextInput.test.d.ts +0 -2
- package/dist/components/ScalarTextInput/ScalarTextInput.test.d.ts.map +0 -1
- package/dist/components/ScalarToggle/ScalarToggle.stories.d.ts +0 -79
- package/dist/components/ScalarToggle/ScalarToggle.stories.d.ts.map +0 -1
- package/dist/components/ScalarToggle/ScalarToggle.test.d.ts +0 -2
- package/dist/components/ScalarToggle/ScalarToggle.test.d.ts.map +0 -1
- package/dist/components/ScalarTooltip/ScalarTooltip.stories.d.ts +0 -229
- package/dist/components/ScalarTooltip/ScalarTooltip.stories.d.ts.map +0 -1
- package/dist/components/ScalarTooltip/ScalarTooltip.test.d.ts +0 -2
- package/dist/components/ScalarTooltip/ScalarTooltip.test.d.ts.map +0 -1
- package/dist/components/ScalarTooltip/useTooltip.test.d.ts +0 -2
- package/dist/components/ScalarTooltip/useTooltip.test.d.ts.map +0 -1
- package/dist/components/ScalarVirtualText/ScalarVirtualText.stories.d.ts +0 -94
- package/dist/components/ScalarVirtualText/ScalarVirtualText.stories.d.ts.map +0 -1
- package/dist/components/ScalarVirtualText/ScalarVirtualText.test.d.ts +0 -2
- package/dist/components/ScalarVirtualText/ScalarVirtualText.test.d.ts.map +0 -1
- package/dist/docs/icons/ScalarIcons.stories.d.ts +0 -63
- package/dist/docs/icons/ScalarIcons.stories.d.ts.map +0 -1
- package/dist/docs/useBindCx/useBindCx.stories.d.ts +0 -426
- package/dist/docs/useBindCx/useBindCx.stories.d.ts.map +0 -1
- package/dist/helpers/add-scalar-classes.test.d.ts +0 -2
- package/dist/helpers/add-scalar-classes.test.d.ts.map +0 -1
- package/dist/scripts/typegen.d.ts +0 -2
- package/dist/scripts/typegen.d.ts.map +0 -1
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/vue3';
|
|
2
|
-
/**
|
|
3
|
-
* - Default slot must be text only as it becomes the [aria]-label
|
|
4
|
-
* - If you are looking for an icon only button, use ScalarIconButton instead, its a helpful wrapper around this component
|
|
5
|
-
*/
|
|
6
|
-
declare const meta: {
|
|
7
|
-
component: {
|
|
8
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
fullWidth?: boolean;
|
|
11
|
-
loading?: import("../ScalarLoading").LoadingState | undefined;
|
|
12
|
-
size?: import("./variants.js").Variants["size"];
|
|
13
|
-
variant?: import("./variants.js").Variants["variant"];
|
|
14
|
-
type?: "button" | "submit" | "reset";
|
|
15
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
16
|
-
size: "sm" | "md";
|
|
17
|
-
variant: "solid" | "outlined" | "ghost" | "danger";
|
|
18
|
-
fullWidth: boolean;
|
|
19
|
-
type: "button" | "submit" | "reset";
|
|
20
|
-
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
21
|
-
P: {};
|
|
22
|
-
B: {};
|
|
23
|
-
D: {};
|
|
24
|
-
C: {};
|
|
25
|
-
M: {};
|
|
26
|
-
Defaults: {};
|
|
27
|
-
}, Readonly<{
|
|
28
|
-
disabled?: boolean;
|
|
29
|
-
fullWidth?: boolean;
|
|
30
|
-
loading?: import("../ScalarLoading").LoadingState | undefined;
|
|
31
|
-
size?: import("./variants.js").Variants["size"];
|
|
32
|
-
variant?: import("./variants.js").Variants["variant"];
|
|
33
|
-
type?: "button" | "submit" | "reset";
|
|
34
|
-
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
35
|
-
size: "sm" | "md";
|
|
36
|
-
variant: "solid" | "outlined" | "ghost" | "danger";
|
|
37
|
-
fullWidth: boolean;
|
|
38
|
-
type: "button" | "submit" | "reset";
|
|
39
|
-
}>;
|
|
40
|
-
__isFragment?: never;
|
|
41
|
-
__isTeleport?: never;
|
|
42
|
-
__isSuspense?: never;
|
|
43
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
44
|
-
disabled?: boolean;
|
|
45
|
-
fullWidth?: boolean;
|
|
46
|
-
loading?: import("../ScalarLoading").LoadingState | undefined;
|
|
47
|
-
size?: import("./variants.js").Variants["size"];
|
|
48
|
-
variant?: import("./variants.js").Variants["variant"];
|
|
49
|
-
type?: "button" | "submit" | "reset";
|
|
50
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
51
|
-
size: "sm" | "md";
|
|
52
|
-
variant: "solid" | "outlined" | "ghost" | "danger";
|
|
53
|
-
fullWidth: boolean;
|
|
54
|
-
type: "button" | "submit" | "reset";
|
|
55
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
56
|
-
$slots: {
|
|
57
|
-
icon?(_: {}): any;
|
|
58
|
-
default?(_: {}): any;
|
|
59
|
-
default?(_: {}): any;
|
|
60
|
-
};
|
|
61
|
-
});
|
|
62
|
-
tags: string[];
|
|
63
|
-
argTypes: {
|
|
64
|
-
class: {
|
|
65
|
-
control: "text";
|
|
66
|
-
};
|
|
67
|
-
size: {
|
|
68
|
-
control: "select";
|
|
69
|
-
options: string[];
|
|
70
|
-
};
|
|
71
|
-
variant: {
|
|
72
|
-
control: "select";
|
|
73
|
-
options: string[];
|
|
74
|
-
};
|
|
75
|
-
type: {
|
|
76
|
-
control: "select";
|
|
77
|
-
options: string[];
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
render: (args: import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
81
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
82
|
-
disabled?: boolean;
|
|
83
|
-
fullWidth?: boolean;
|
|
84
|
-
loading?: import("../ScalarLoading").LoadingState | undefined;
|
|
85
|
-
size?: import("./variants.js").Variants["size"];
|
|
86
|
-
variant?: import("./variants.js").Variants["variant"];
|
|
87
|
-
type?: "button" | "submit" | "reset";
|
|
88
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
89
|
-
size: "sm" | "md";
|
|
90
|
-
variant: "solid" | "outlined" | "ghost" | "danger";
|
|
91
|
-
fullWidth: boolean;
|
|
92
|
-
type: "button" | "submit" | "reset";
|
|
93
|
-
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
94
|
-
P: {};
|
|
95
|
-
B: {};
|
|
96
|
-
D: {};
|
|
97
|
-
C: {};
|
|
98
|
-
M: {};
|
|
99
|
-
Defaults: {};
|
|
100
|
-
}, Readonly<{
|
|
101
|
-
disabled?: boolean;
|
|
102
|
-
fullWidth?: boolean;
|
|
103
|
-
loading?: import("../ScalarLoading").LoadingState | undefined;
|
|
104
|
-
size?: import("./variants.js").Variants["size"];
|
|
105
|
-
variant?: import("./variants.js").Variants["variant"];
|
|
106
|
-
type?: "button" | "submit" | "reset";
|
|
107
|
-
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
108
|
-
size: "sm" | "md";
|
|
109
|
-
variant: "solid" | "outlined" | "ghost" | "danger";
|
|
110
|
-
fullWidth: boolean;
|
|
111
|
-
type: "button" | "submit" | "reset";
|
|
112
|
-
}>;
|
|
113
|
-
__isFragment?: never;
|
|
114
|
-
__isTeleport?: never;
|
|
115
|
-
__isSuspense?: never;
|
|
116
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
117
|
-
disabled?: boolean;
|
|
118
|
-
fullWidth?: boolean;
|
|
119
|
-
loading?: import("../ScalarLoading").LoadingState | undefined;
|
|
120
|
-
size?: import("./variants.js").Variants["size"];
|
|
121
|
-
variant?: import("./variants.js").Variants["variant"];
|
|
122
|
-
type?: "button" | "submit" | "reset";
|
|
123
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
124
|
-
size: "sm" | "md";
|
|
125
|
-
variant: "solid" | "outlined" | "ghost" | "danger";
|
|
126
|
-
fullWidth: boolean;
|
|
127
|
-
type: "button" | "submit" | "reset";
|
|
128
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
129
|
-
$slots: {
|
|
130
|
-
icon?(_: {}): any;
|
|
131
|
-
default?(_: {}): any;
|
|
132
|
-
default?(_: {}): any;
|
|
133
|
-
};
|
|
134
|
-
})>) => {
|
|
135
|
-
components: {
|
|
136
|
-
ScalarButton: {
|
|
137
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
138
|
-
disabled?: boolean;
|
|
139
|
-
fullWidth?: boolean;
|
|
140
|
-
loading?: import("../ScalarLoading").LoadingState | undefined;
|
|
141
|
-
size?: import("./variants.js").Variants["size"];
|
|
142
|
-
variant?: import("./variants.js").Variants["variant"];
|
|
143
|
-
type?: "button" | "submit" | "reset";
|
|
144
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
145
|
-
size: "sm" | "md";
|
|
146
|
-
variant: "solid" | "outlined" | "ghost" | "danger";
|
|
147
|
-
fullWidth: boolean;
|
|
148
|
-
type: "button" | "submit" | "reset";
|
|
149
|
-
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
150
|
-
P: {};
|
|
151
|
-
B: {};
|
|
152
|
-
D: {};
|
|
153
|
-
C: {};
|
|
154
|
-
M: {};
|
|
155
|
-
Defaults: {};
|
|
156
|
-
}, Readonly<{
|
|
157
|
-
disabled?: boolean;
|
|
158
|
-
fullWidth?: boolean;
|
|
159
|
-
loading?: import("../ScalarLoading").LoadingState | undefined;
|
|
160
|
-
size?: import("./variants.js").Variants["size"];
|
|
161
|
-
variant?: import("./variants.js").Variants["variant"];
|
|
162
|
-
type?: "button" | "submit" | "reset";
|
|
163
|
-
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
164
|
-
size: "sm" | "md";
|
|
165
|
-
variant: "solid" | "outlined" | "ghost" | "danger";
|
|
166
|
-
fullWidth: boolean;
|
|
167
|
-
type: "button" | "submit" | "reset";
|
|
168
|
-
}>;
|
|
169
|
-
__isFragment?: never;
|
|
170
|
-
__isTeleport?: never;
|
|
171
|
-
__isSuspense?: never;
|
|
172
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
173
|
-
disabled?: boolean;
|
|
174
|
-
fullWidth?: boolean;
|
|
175
|
-
loading?: import("../ScalarLoading").LoadingState | undefined;
|
|
176
|
-
size?: import("./variants.js").Variants["size"];
|
|
177
|
-
variant?: import("./variants.js").Variants["variant"];
|
|
178
|
-
type?: "button" | "submit" | "reset";
|
|
179
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
180
|
-
size: "sm" | "md";
|
|
181
|
-
variant: "solid" | "outlined" | "ghost" | "danger";
|
|
182
|
-
fullWidth: boolean;
|
|
183
|
-
type: "button" | "submit" | "reset";
|
|
184
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
185
|
-
$slots: {
|
|
186
|
-
icon?(_: {}): any;
|
|
187
|
-
default?(_: {}): any;
|
|
188
|
-
default?(_: {}): any;
|
|
189
|
-
};
|
|
190
|
-
});
|
|
191
|
-
};
|
|
192
|
-
setup(this: void): {
|
|
193
|
-
args: import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
194
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
195
|
-
disabled?: boolean;
|
|
196
|
-
fullWidth?: boolean;
|
|
197
|
-
loading?: import("../ScalarLoading").LoadingState | undefined;
|
|
198
|
-
size?: import("./variants.js").Variants["size"];
|
|
199
|
-
variant?: import("./variants.js").Variants["variant"];
|
|
200
|
-
type?: "button" | "submit" | "reset";
|
|
201
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
202
|
-
size: "sm" | "md";
|
|
203
|
-
variant: "solid" | "outlined" | "ghost" | "danger";
|
|
204
|
-
fullWidth: boolean;
|
|
205
|
-
type: "button" | "submit" | "reset";
|
|
206
|
-
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
207
|
-
P: {};
|
|
208
|
-
B: {};
|
|
209
|
-
D: {};
|
|
210
|
-
C: {};
|
|
211
|
-
M: {};
|
|
212
|
-
Defaults: {};
|
|
213
|
-
}, Readonly<{
|
|
214
|
-
disabled?: boolean;
|
|
215
|
-
fullWidth?: boolean;
|
|
216
|
-
loading?: import("../ScalarLoading").LoadingState | undefined;
|
|
217
|
-
size?: import("./variants.js").Variants["size"];
|
|
218
|
-
variant?: import("./variants.js").Variants["variant"];
|
|
219
|
-
type?: "button" | "submit" | "reset";
|
|
220
|
-
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
221
|
-
size: "sm" | "md";
|
|
222
|
-
variant: "solid" | "outlined" | "ghost" | "danger";
|
|
223
|
-
fullWidth: boolean;
|
|
224
|
-
type: "button" | "submit" | "reset";
|
|
225
|
-
}>;
|
|
226
|
-
__isFragment?: never;
|
|
227
|
-
__isTeleport?: never;
|
|
228
|
-
__isSuspense?: never;
|
|
229
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
230
|
-
disabled?: boolean;
|
|
231
|
-
fullWidth?: boolean;
|
|
232
|
-
loading?: import("../ScalarLoading").LoadingState | undefined;
|
|
233
|
-
size?: import("./variants.js").Variants["size"];
|
|
234
|
-
variant?: import("./variants.js").Variants["variant"];
|
|
235
|
-
type?: "button" | "submit" | "reset";
|
|
236
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
237
|
-
size: "sm" | "md";
|
|
238
|
-
variant: "solid" | "outlined" | "ghost" | "danger";
|
|
239
|
-
fullWidth: boolean;
|
|
240
|
-
type: "button" | "submit" | "reset";
|
|
241
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
242
|
-
$slots: {
|
|
243
|
-
icon?(_: {}): any;
|
|
244
|
-
default?(_: {}): any;
|
|
245
|
-
default?(_: {}): any;
|
|
246
|
-
};
|
|
247
|
-
})>;
|
|
248
|
-
};
|
|
249
|
-
template: string;
|
|
250
|
-
};
|
|
251
|
-
};
|
|
252
|
-
export default meta;
|
|
253
|
-
type Story = StoryObj<typeof meta>;
|
|
254
|
-
export declare const Base: Story;
|
|
255
|
-
export declare const FullWidth: Story;
|
|
256
|
-
export declare const Ghost: Story;
|
|
257
|
-
export declare const Danger: Story;
|
|
258
|
-
export declare const Disabled: Story;
|
|
259
|
-
export declare const Loading: Story;
|
|
260
|
-
export declare const LoadingFullWidth: Story;
|
|
261
|
-
export declare const WithIcon: Story;
|
|
262
|
-
export declare const CustomClasses: Story;
|
|
263
|
-
//# sourceMappingURL=ScalarButton.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarButton.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarButton/ScalarButton.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAKrD;;;GAGG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsB2B,CAAA;AAErC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAAU,CAAA;AAE7B,eAAO,MAAM,SAAS,EAAE,KAAqC,CAAA;AAE7D,eAAO,MAAM,KAAK,EAAE,KAAsC,CAAA;AAE1D,eAAO,MAAM,MAAM,EAAE,KAUpB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAAoC,CAAA;AAE3D,eAAO,MAAM,OAAO,EAAE,KASrB,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAS9B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAetB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAK3B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarButton.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarButton/ScalarButton.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
-
import { ScalarCard } from './index';
|
|
3
|
-
declare const meta: Meta<typeof ScalarCard>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithLabel: Story;
|
|
8
|
-
export declare const HeaderWithActions: Story;
|
|
9
|
-
export declare const MinimalCard: Story;
|
|
10
|
-
//# sourceMappingURL=ScalarCard.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarCard.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarCard/ScalarCard.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAErD,OAAO,EAAE,UAAU,EAAyD,MAAM,SAAS,CAAA;AAE3F,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CA0BjC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAoB/B,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAczB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarCard.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarCard/ScalarCard.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,236 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/vue3';
|
|
2
|
-
/**
|
|
3
|
-
* - Default slot must be text only as it becomes the [aria]-label
|
|
4
|
-
* - If you are looking for an icon only button, use ScalarIconButton instead, its a helpful wrapper around this component
|
|
5
|
-
*/
|
|
6
|
-
declare const meta: {
|
|
7
|
-
component: {
|
|
8
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
9
|
-
modelValue?: boolean;
|
|
10
|
-
size?: "sm" | "md" | "lg";
|
|
11
|
-
id?: string;
|
|
12
|
-
label?: string;
|
|
13
|
-
}> & Readonly<{
|
|
14
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
|
-
"update:modelValue": (value: boolean) => any;
|
|
17
|
-
}, import("vue").PublicProps, {
|
|
18
|
-
size: "sm" | "md" | "lg";
|
|
19
|
-
id: string;
|
|
20
|
-
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, HTMLDivElement, import("vue").ComponentProvideOptions, {
|
|
21
|
-
P: {};
|
|
22
|
-
B: {};
|
|
23
|
-
D: {};
|
|
24
|
-
C: {};
|
|
25
|
-
M: {};
|
|
26
|
-
Defaults: {};
|
|
27
|
-
}, Readonly<{
|
|
28
|
-
modelValue?: boolean;
|
|
29
|
-
size?: "sm" | "md" | "lg";
|
|
30
|
-
id?: string;
|
|
31
|
-
label?: string;
|
|
32
|
-
}> & Readonly<{
|
|
33
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
34
|
-
}>, {}, {}, {}, {}, {
|
|
35
|
-
size: "sm" | "md" | "lg";
|
|
36
|
-
id: string;
|
|
37
|
-
}>;
|
|
38
|
-
__isFragment?: never;
|
|
39
|
-
__isTeleport?: never;
|
|
40
|
-
__isSuspense?: never;
|
|
41
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
42
|
-
modelValue?: boolean;
|
|
43
|
-
size?: "sm" | "md" | "lg";
|
|
44
|
-
id?: string;
|
|
45
|
-
label?: string;
|
|
46
|
-
}> & Readonly<{
|
|
47
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
48
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
49
|
-
"update:modelValue": (value: boolean) => any;
|
|
50
|
-
}, string, {
|
|
51
|
-
size: "sm" | "md" | "lg";
|
|
52
|
-
id: string;
|
|
53
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
54
|
-
$slots: {
|
|
55
|
-
default?(_: {}): any;
|
|
56
|
-
};
|
|
57
|
-
});
|
|
58
|
-
tags: string[];
|
|
59
|
-
argTypes: {
|
|
60
|
-
modelValue: {
|
|
61
|
-
control: "boolean";
|
|
62
|
-
default: boolean;
|
|
63
|
-
};
|
|
64
|
-
size: {
|
|
65
|
-
control: "select";
|
|
66
|
-
options: string[];
|
|
67
|
-
};
|
|
68
|
-
label: {
|
|
69
|
-
control: "text";
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
render: (args: import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
73
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
74
|
-
modelValue?: boolean;
|
|
75
|
-
size?: "sm" | "md" | "lg";
|
|
76
|
-
id?: string;
|
|
77
|
-
label?: string;
|
|
78
|
-
}> & Readonly<{
|
|
79
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
80
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
81
|
-
"update:modelValue": (value: boolean) => any;
|
|
82
|
-
}, import("vue").PublicProps, {
|
|
83
|
-
size: "sm" | "md" | "lg";
|
|
84
|
-
id: string;
|
|
85
|
-
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, HTMLDivElement, import("vue").ComponentProvideOptions, {
|
|
86
|
-
P: {};
|
|
87
|
-
B: {};
|
|
88
|
-
D: {};
|
|
89
|
-
C: {};
|
|
90
|
-
M: {};
|
|
91
|
-
Defaults: {};
|
|
92
|
-
}, Readonly<{
|
|
93
|
-
modelValue?: boolean;
|
|
94
|
-
size?: "sm" | "md" | "lg";
|
|
95
|
-
id?: string;
|
|
96
|
-
label?: string;
|
|
97
|
-
}> & Readonly<{
|
|
98
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
99
|
-
}>, {}, {}, {}, {}, {
|
|
100
|
-
size: "sm" | "md" | "lg";
|
|
101
|
-
id: string;
|
|
102
|
-
}>;
|
|
103
|
-
__isFragment?: never;
|
|
104
|
-
__isTeleport?: never;
|
|
105
|
-
__isSuspense?: never;
|
|
106
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
107
|
-
modelValue?: boolean;
|
|
108
|
-
size?: "sm" | "md" | "lg";
|
|
109
|
-
id?: string;
|
|
110
|
-
label?: string;
|
|
111
|
-
}> & Readonly<{
|
|
112
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
113
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
114
|
-
"update:modelValue": (value: boolean) => any;
|
|
115
|
-
}, string, {
|
|
116
|
-
size: "sm" | "md" | "lg";
|
|
117
|
-
id: string;
|
|
118
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
119
|
-
$slots: {
|
|
120
|
-
default?(_: {}): any;
|
|
121
|
-
};
|
|
122
|
-
})>) => {
|
|
123
|
-
components: {
|
|
124
|
-
ScalarCheckbox: {
|
|
125
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
126
|
-
modelValue?: boolean;
|
|
127
|
-
size?: "sm" | "md" | "lg";
|
|
128
|
-
id?: string;
|
|
129
|
-
label?: string;
|
|
130
|
-
}> & Readonly<{
|
|
131
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
132
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
133
|
-
"update:modelValue": (value: boolean) => any;
|
|
134
|
-
}, import("vue").PublicProps, {
|
|
135
|
-
size: "sm" | "md" | "lg";
|
|
136
|
-
id: string;
|
|
137
|
-
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, HTMLDivElement, import("vue").ComponentProvideOptions, {
|
|
138
|
-
P: {};
|
|
139
|
-
B: {};
|
|
140
|
-
D: {};
|
|
141
|
-
C: {};
|
|
142
|
-
M: {};
|
|
143
|
-
Defaults: {};
|
|
144
|
-
}, Readonly<{
|
|
145
|
-
modelValue?: boolean;
|
|
146
|
-
size?: "sm" | "md" | "lg";
|
|
147
|
-
id?: string;
|
|
148
|
-
label?: string;
|
|
149
|
-
}> & Readonly<{
|
|
150
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
151
|
-
}>, {}, {}, {}, {}, {
|
|
152
|
-
size: "sm" | "md" | "lg";
|
|
153
|
-
id: string;
|
|
154
|
-
}>;
|
|
155
|
-
__isFragment?: never;
|
|
156
|
-
__isTeleport?: never;
|
|
157
|
-
__isSuspense?: never;
|
|
158
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
159
|
-
modelValue?: boolean;
|
|
160
|
-
size?: "sm" | "md" | "lg";
|
|
161
|
-
id?: string;
|
|
162
|
-
label?: string;
|
|
163
|
-
}> & Readonly<{
|
|
164
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
165
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
166
|
-
"update:modelValue": (value: boolean) => any;
|
|
167
|
-
}, string, {
|
|
168
|
-
size: "sm" | "md" | "lg";
|
|
169
|
-
id: string;
|
|
170
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
171
|
-
$slots: {
|
|
172
|
-
default?(_: {}): any;
|
|
173
|
-
};
|
|
174
|
-
});
|
|
175
|
-
};
|
|
176
|
-
setup(this: void): {
|
|
177
|
-
args: import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
178
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
179
|
-
modelValue?: boolean;
|
|
180
|
-
size?: "sm" | "md" | "lg";
|
|
181
|
-
id?: string;
|
|
182
|
-
label?: string;
|
|
183
|
-
}> & Readonly<{
|
|
184
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
185
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
186
|
-
"update:modelValue": (value: boolean) => any;
|
|
187
|
-
}, import("vue").PublicProps, {
|
|
188
|
-
size: "sm" | "md" | "lg";
|
|
189
|
-
id: string;
|
|
190
|
-
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, HTMLDivElement, import("vue").ComponentProvideOptions, {
|
|
191
|
-
P: {};
|
|
192
|
-
B: {};
|
|
193
|
-
D: {};
|
|
194
|
-
C: {};
|
|
195
|
-
M: {};
|
|
196
|
-
Defaults: {};
|
|
197
|
-
}, Readonly<{
|
|
198
|
-
modelValue?: boolean;
|
|
199
|
-
size?: "sm" | "md" | "lg";
|
|
200
|
-
id?: string;
|
|
201
|
-
label?: string;
|
|
202
|
-
}> & Readonly<{
|
|
203
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
204
|
-
}>, {}, {}, {}, {}, {
|
|
205
|
-
size: "sm" | "md" | "lg";
|
|
206
|
-
id: string;
|
|
207
|
-
}>;
|
|
208
|
-
__isFragment?: never;
|
|
209
|
-
__isTeleport?: never;
|
|
210
|
-
__isSuspense?: never;
|
|
211
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
212
|
-
modelValue?: boolean;
|
|
213
|
-
size?: "sm" | "md" | "lg";
|
|
214
|
-
id?: string;
|
|
215
|
-
label?: string;
|
|
216
|
-
}> & Readonly<{
|
|
217
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
218
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
219
|
-
"update:modelValue": (value: boolean) => any;
|
|
220
|
-
}, string, {
|
|
221
|
-
size: "sm" | "md" | "lg";
|
|
222
|
-
id: string;
|
|
223
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
224
|
-
$slots: {
|
|
225
|
-
default?(_: {}): any;
|
|
226
|
-
};
|
|
227
|
-
})>;
|
|
228
|
-
};
|
|
229
|
-
template: string;
|
|
230
|
-
};
|
|
231
|
-
};
|
|
232
|
-
export default meta;
|
|
233
|
-
type Story = StoryObj<typeof meta>;
|
|
234
|
-
export declare const Base: Story;
|
|
235
|
-
export declare const WithLabel: Story;
|
|
236
|
-
//# sourceMappingURL=ScalarCheckbox.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarCheckbox.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarCheckbox/ScalarCheckbox.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAIrD;;;GAGG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe6B,CAAA;AAEvC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAAU,CAAA;AAC7B,eAAO,MAAM,SAAS,EAAE,KAEvB,CAAA"}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/vue3';
|
|
2
|
-
/**
|
|
3
|
-
* Syntax highlighting in a light weight component
|
|
4
|
-
*/
|
|
5
|
-
declare const meta: {
|
|
6
|
-
component: import("vue").DefineComponent<{
|
|
7
|
-
content: string | object;
|
|
8
|
-
lang?: string;
|
|
9
|
-
lineNumbers?: boolean;
|
|
10
|
-
hideCredentials?: string | string[];
|
|
11
|
-
copy?: boolean;
|
|
12
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
13
|
-
content: string | object;
|
|
14
|
-
lang?: string;
|
|
15
|
-
lineNumbers?: boolean;
|
|
16
|
-
hideCredentials?: string | string[];
|
|
17
|
-
copy?: boolean;
|
|
18
|
-
}> & Readonly<{}>, {
|
|
19
|
-
lang: string;
|
|
20
|
-
lineNumbers: boolean;
|
|
21
|
-
copy: boolean;
|
|
22
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
|
-
argTypes: {
|
|
24
|
-
class: {
|
|
25
|
-
control: "text";
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
tags: string[];
|
|
29
|
-
render: (args: import("@storybook/vue3").ComponentPropsAndSlots<import("vue").DefineComponent<{
|
|
30
|
-
content: string | object;
|
|
31
|
-
lang?: string;
|
|
32
|
-
lineNumbers?: boolean;
|
|
33
|
-
hideCredentials?: string | string[];
|
|
34
|
-
copy?: boolean;
|
|
35
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
36
|
-
content: string | object;
|
|
37
|
-
lang?: string;
|
|
38
|
-
lineNumbers?: boolean;
|
|
39
|
-
hideCredentials?: string | string[];
|
|
40
|
-
copy?: boolean;
|
|
41
|
-
}> & Readonly<{}>, {
|
|
42
|
-
lang: string;
|
|
43
|
-
lineNumbers: boolean;
|
|
44
|
-
copy: boolean;
|
|
45
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>>) => {
|
|
46
|
-
components: {
|
|
47
|
-
ScalarCodeBlock: import("vue").DefineComponent<{
|
|
48
|
-
content: string | object;
|
|
49
|
-
lang?: string;
|
|
50
|
-
lineNumbers?: boolean;
|
|
51
|
-
hideCredentials?: string | string[];
|
|
52
|
-
copy?: boolean;
|
|
53
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
54
|
-
content: string | object;
|
|
55
|
-
lang?: string;
|
|
56
|
-
lineNumbers?: boolean;
|
|
57
|
-
hideCredentials?: string | string[];
|
|
58
|
-
copy?: boolean;
|
|
59
|
-
}> & Readonly<{}>, {
|
|
60
|
-
lang: string;
|
|
61
|
-
lineNumbers: boolean;
|
|
62
|
-
copy: boolean;
|
|
63
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
64
|
-
};
|
|
65
|
-
setup(this: void): {
|
|
66
|
-
args: import("@storybook/vue3").ComponentPropsAndSlots<import("vue").DefineComponent<{
|
|
67
|
-
content: string | object;
|
|
68
|
-
lang?: string;
|
|
69
|
-
lineNumbers?: boolean;
|
|
70
|
-
hideCredentials?: string | string[];
|
|
71
|
-
copy?: boolean;
|
|
72
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
73
|
-
content: string | object;
|
|
74
|
-
lang?: string;
|
|
75
|
-
lineNumbers?: boolean;
|
|
76
|
-
hideCredentials?: string | string[];
|
|
77
|
-
copy?: boolean;
|
|
78
|
-
}> & Readonly<{}>, {
|
|
79
|
-
lang: string;
|
|
80
|
-
lineNumbers: boolean;
|
|
81
|
-
copy: boolean;
|
|
82
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>>;
|
|
83
|
-
};
|
|
84
|
-
template: string;
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
export default meta;
|
|
88
|
-
type Story = StoryObj<typeof meta>;
|
|
89
|
-
export declare const Base: Story;
|
|
90
|
-
export declare const LineNumbers: Story;
|
|
91
|
-
export declare const JSONString: Story;
|
|
92
|
-
export declare const HideCredentials: Story;
|
|
93
|
-
//# sourceMappingURL=ScalarCodeBlock.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarCodeBlock.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarCodeBlock/ScalarCodeBlock.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAwDrD;;GAEG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAa8B,CAAA;AAExC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAAwC,CAAA;AAE3D,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAExB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAO7B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarCodeBlock.test.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarCodeBlock/ScalarCodeBlock.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
-
import ScalarColorModeToggle from './ScalarColorModeToggle.vue.js';
|
|
3
|
-
declare const meta: Meta<typeof ScalarColorModeToggle>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Base: Story;
|
|
7
|
-
export declare const ButtonOnly: Story;
|
|
8
|
-
export declare const IconOnly: Story;
|
|
9
|
-
//# sourceMappingURL=ScalarColorModeToggle.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarColorModeToggle.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarColorModeToggle/ScalarColorModeToggle.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAGrD,OAAO,qBAAqB,MAAM,6BAA6B,CAAA;AAI/D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,qBAAqB,CAU5C,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAAU,CAAA;AAE7B,eAAO,MAAM,UAAU,EAAE,KAaxB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KActB,CAAA"}
|