@elmethis/react 0.3.2 → 0.3.3
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/index.react.cjs +1 -1
- package/lib/index.react.mjs +2856 -7
- package/lib/style.css +1 -1
- package/lib-types/components/code/ElmCodeBlock.d.ts +26 -0
- package/lib-types/components/code/ElmCodeBlock.d.ts.map +1 -0
- package/lib-types/components/code/ElmCodeBlock.stories.d.ts +9 -0
- package/lib-types/components/code/ElmCodeBlock.stories.d.ts.map +1 -0
- package/lib-types/components/code/ElmKatex.d.ts +16 -0
- package/lib-types/components/code/ElmKatex.d.ts.map +1 -0
- package/lib-types/components/code/ElmKatex.stories.d.ts +9 -0
- package/lib-types/components/code/ElmKatex.stories.d.ts.map +1 -0
- package/lib-types/components/code/ElmMermaid.d.ts +11 -0
- package/lib-types/components/code/ElmMermaid.d.ts.map +1 -0
- package/lib-types/components/code/ElmMermaid.stories.d.ts +8 -0
- package/lib-types/components/code/ElmMermaid.stories.d.ts.map +1 -0
- package/lib-types/components/code/ElmShikiHighlighter.d.ts +19 -0
- package/lib-types/components/code/ElmShikiHighlighter.d.ts.map +1 -0
- package/lib-types/components/code/ElmShikiHighlighter.stories.d.ts +7 -0
- package/lib-types/components/code/ElmShikiHighlighter.stories.d.ts.map +1 -0
- package/lib-types/components/code/shikiInstance.d.ts +3 -0
- package/lib-types/components/code/shikiInstance.d.ts.map +1 -0
- package/lib-types/components/containments/ElmColumn.d.ts +9 -0
- package/lib-types/components/containments/ElmColumn.d.ts.map +1 -0
- package/lib-types/components/containments/ElmColumn.stories.d.ts +7 -0
- package/lib-types/components/containments/ElmColumn.stories.d.ts.map +1 -0
- package/lib-types/components/containments/ElmColumnList.d.ts +9 -0
- package/lib-types/components/containments/ElmColumnList.d.ts.map +1 -0
- package/lib-types/components/containments/ElmColumnList.stories.d.ts +7 -0
- package/lib-types/components/containments/ElmColumnList.stories.d.ts.map +1 -0
- package/lib-types/components/containments/ElmConfirmModal.d.ts +23 -0
- package/lib-types/components/containments/ElmConfirmModal.d.ts.map +1 -0
- package/lib-types/components/containments/ElmConfirmModal.stories.d.ts +7 -0
- package/lib-types/components/containments/ElmConfirmModal.stories.d.ts.map +1 -0
- package/lib-types/components/containments/ElmDesktopWindow.d.ts +14 -0
- package/lib-types/components/containments/ElmDesktopWindow.d.ts.map +1 -0
- package/lib-types/components/containments/ElmDesktopWindow.stories.d.ts +7 -0
- package/lib-types/components/containments/ElmDesktopWindow.stories.d.ts.map +1 -0
- package/lib-types/components/containments/ElmModal.d.ts +18 -0
- package/lib-types/components/containments/ElmModal.d.ts.map +1 -0
- package/lib-types/components/containments/ElmModal.stories.d.ts +7 -0
- package/lib-types/components/containments/ElmModal.stories.d.ts.map +1 -0
- package/lib-types/components/containments/ElmParallax.d.ts +13 -0
- package/lib-types/components/containments/ElmParallax.d.ts.map +1 -0
- package/lib-types/components/containments/ElmParallax.stories.d.ts +7 -0
- package/lib-types/components/containments/ElmParallax.stories.d.ts.map +1 -0
- package/lib-types/components/containments/ElmSimpleTooltip.d.ts +13 -0
- package/lib-types/components/containments/ElmSimpleTooltip.d.ts.map +1 -0
- package/lib-types/components/containments/ElmSimpleTooltip.stories.d.ts +8 -0
- package/lib-types/components/containments/ElmSimpleTooltip.stories.d.ts.map +1 -0
- package/lib-types/components/containments/ElmSnackbar.d.ts +15 -0
- package/lib-types/components/containments/ElmSnackbar.d.ts.map +1 -0
- package/lib-types/components/containments/ElmSnackbar.stories.d.ts +7 -0
- package/lib-types/components/containments/ElmSnackbar.stories.d.ts.map +1 -0
- package/lib-types/components/containments/ElmSnackbarContainer.d.ts +18 -0
- package/lib-types/components/containments/ElmSnackbarContainer.d.ts.map +1 -0
- package/lib-types/components/containments/ElmSnackbarContainer.stories.d.ts +7 -0
- package/lib-types/components/containments/ElmSnackbarContainer.stories.d.ts.map +1 -0
- package/lib-types/components/containments/ElmTabs.d.ts +13 -0
- package/lib-types/components/containments/ElmTabs.d.ts.map +1 -0
- package/lib-types/components/containments/ElmTabs.stories.d.ts +7 -0
- package/lib-types/components/containments/ElmTabs.stories.d.ts.map +1 -0
- package/lib-types/components/containments/ElmToggle.d.ts +20 -0
- package/lib-types/components/containments/ElmToggle.d.ts.map +1 -0
- package/lib-types/components/containments/ElmToggle.stories.d.ts +8 -0
- package/lib-types/components/containments/ElmToggle.stories.d.ts.map +1 -0
- package/lib-types/components/containments/ElmTooltip.d.ts +13 -0
- package/lib-types/components/containments/ElmTooltip.d.ts.map +1 -0
- package/lib-types/components/containments/ElmTooltip.stories.d.ts +7 -0
- package/lib-types/components/containments/ElmTooltip.stories.d.ts.map +1 -0
- package/lib-types/components/data/ElmMultiProgress.d.ts +32 -0
- package/lib-types/components/data/ElmMultiProgress.d.ts.map +1 -0
- package/lib-types/components/data/ElmMultiProgress.stories.d.ts +7 -0
- package/lib-types/components/data/ElmMultiProgress.stories.d.ts.map +1 -0
- package/lib-types/components/data/ElmProgress.d.ts +40 -0
- package/lib-types/components/data/ElmProgress.d.ts.map +1 -0
- package/lib-types/components/data/ElmProgress.stories.d.ts +11 -0
- package/lib-types/components/data/ElmProgress.stories.d.ts.map +1 -0
- package/lib-types/components/data/ElmStatusMessage.d.ts +18 -0
- package/lib-types/components/data/ElmStatusMessage.d.ts.map +1 -0
- package/lib-types/components/data/ElmStatusMessage.stories.d.ts +10 -0
- package/lib-types/components/data/ElmStatusMessage.stories.d.ts.map +1 -0
- package/lib-types/components/embed/ElmOEmbed.d.ts +47 -0
- package/lib-types/components/embed/ElmOEmbed.d.ts.map +1 -0
- package/lib-types/components/embed/ElmOEmbed.stories.d.ts +8 -0
- package/lib-types/components/embed/ElmOEmbed.stories.d.ts.map +1 -0
- package/lib-types/components/fallback/ElmBlockFallback.d.ts +14 -0
- package/lib-types/components/fallback/ElmBlockFallback.d.ts.map +1 -0
- package/lib-types/components/fallback/ElmBlockFallback.stories.d.ts +7 -0
- package/lib-types/components/fallback/ElmBlockFallback.stories.d.ts.map +1 -0
- package/lib-types/components/fallback/ElmRectangleWave.d.ts +9 -0
- package/lib-types/components/fallback/ElmRectangleWave.d.ts.map +1 -0
- package/lib-types/components/fallback/ElmRectangleWave.stories.d.ts +7 -0
- package/lib-types/components/fallback/ElmRectangleWave.stories.d.ts.map +1 -0
- package/lib-types/components/fallback/ElmSpinner.d.ts +17 -0
- package/lib-types/components/fallback/ElmSpinner.d.ts.map +1 -0
- package/lib-types/components/fallback/ElmSpinner.stories.d.ts +7 -0
- package/lib-types/components/fallback/ElmSpinner.stories.d.ts.map +1 -0
- package/lib-types/components/fallback/ElmUnsupportedBlock.d.ts +13 -0
- package/lib-types/components/fallback/ElmUnsupportedBlock.d.ts.map +1 -0
- package/lib-types/components/fallback/ElmUnsupportedBlock.stories.d.ts +7 -0
- package/lib-types/components/fallback/ElmUnsupportedBlock.stories.d.ts.map +1 -0
- package/lib-types/components/form/ElmButton.d.ts +23 -0
- package/lib-types/components/form/ElmButton.d.ts.map +1 -0
- package/lib-types/components/form/ElmButton.stories.d.ts +11 -0
- package/lib-types/components/form/ElmButton.stories.d.ts.map +1 -0
- package/lib-types/components/form/ElmCheckbox.d.ts +19 -0
- package/lib-types/components/form/ElmCheckbox.d.ts.map +1 -0
- package/lib-types/components/form/ElmCheckbox.stories.d.ts +7 -0
- package/lib-types/components/form/ElmCheckbox.stories.d.ts.map +1 -0
- package/lib-types/components/form/ElmSelect.d.ts +29 -0
- package/lib-types/components/form/ElmSelect.d.ts.map +1 -0
- package/lib-types/components/form/ElmSelect.stories.d.ts +7 -0
- package/lib-types/components/form/ElmSelect.stories.d.ts.map +1 -0
- package/lib-types/components/form/ElmSwitch.d.ts +23 -0
- package/lib-types/components/form/ElmSwitch.d.ts.map +1 -0
- package/lib-types/components/form/ElmSwitch.stories.d.ts +7 -0
- package/lib-types/components/form/ElmSwitch.stories.d.ts.map +1 -0
- package/lib-types/components/form/ElmTextField.d.ts +33 -0
- package/lib-types/components/form/ElmTextField.d.ts.map +1 -0
- package/lib-types/components/form/ElmTextField.stories.d.ts +7 -0
- package/lib-types/components/form/ElmTextField.stories.d.ts.map +1 -0
- package/lib-types/components/form/ElmValidation.d.ts +16 -0
- package/lib-types/components/form/ElmValidation.d.ts.map +1 -0
- package/lib-types/components/form/ElmValidation.stories.d.ts +7 -0
- package/lib-types/components/form/ElmValidation.stories.d.ts.map +1 -0
- package/lib-types/components/icon/ElmArrowIcon.d.ts +25 -0
- package/lib-types/components/icon/ElmArrowIcon.d.ts.map +1 -0
- package/lib-types/components/icon/ElmArrowIcon.stories.d.ts +7 -0
- package/lib-types/components/icon/ElmArrowIcon.stories.d.ts.map +1 -0
- package/lib-types/components/icon/ElmBookmarkIcon.d.ts +21 -0
- package/lib-types/components/icon/ElmBookmarkIcon.d.ts.map +1 -0
- package/lib-types/components/icon/ElmBookmarkIcon.stories.d.ts +9 -0
- package/lib-types/components/icon/ElmBookmarkIcon.stories.d.ts.map +1 -0
- package/lib-types/components/icon/ElmCubeIcon.d.ts +13 -0
- package/lib-types/components/icon/ElmCubeIcon.d.ts.map +1 -0
- package/lib-types/components/icon/ElmCubeIcon.stories.d.ts +7 -0
- package/lib-types/components/icon/ElmCubeIcon.stories.d.ts.map +1 -0
- package/lib-types/components/icon/ElmDotLoadingIcon.d.ts +19 -0
- package/lib-types/components/icon/ElmDotLoadingIcon.d.ts.map +1 -0
- package/lib-types/components/icon/ElmDotLoadingIcon.stories.d.ts +7 -0
- package/lib-types/components/icon/ElmDotLoadingIcon.stories.d.ts.map +1 -0
- package/lib-types/components/icon/ElmInlineIcon.d.ts +17 -0
- package/lib-types/components/icon/ElmInlineIcon.d.ts.map +1 -0
- package/lib-types/components/icon/ElmInlineIcon.stories.d.ts +7 -0
- package/lib-types/components/icon/ElmInlineIcon.stories.d.ts.map +1 -0
- package/lib-types/components/icon/ElmLanguageIcon.d.ts +18 -0
- package/lib-types/components/icon/ElmLanguageIcon.d.ts.map +1 -0
- package/lib-types/components/icon/ElmLanguageIcon.stories.d.ts +7 -0
- package/lib-types/components/icon/ElmLanguageIcon.stories.d.ts.map +1 -0
- package/lib-types/components/icon/ElmLoginIcon.d.ts +21 -0
- package/lib-types/components/icon/ElmLoginIcon.d.ts.map +1 -0
- package/lib-types/components/icon/ElmLoginIcon.stories.d.ts +7 -0
- package/lib-types/components/icon/ElmLoginIcon.stories.d.ts.map +1 -0
- package/lib-types/components/icon/ElmMdiIcon.d.ts +14 -0
- package/lib-types/components/icon/ElmMdiIcon.d.ts.map +1 -0
- package/lib-types/components/icon/ElmMdiIcon.stories.d.ts +7 -0
- package/lib-types/components/icon/ElmMdiIcon.stories.d.ts.map +1 -0
- package/lib-types/components/icon/ElmSquareLoadingIcon.d.ts +17 -0
- package/lib-types/components/icon/ElmSquareLoadingIcon.d.ts.map +1 -0
- package/lib-types/components/icon/ElmSquareLoadingIcon.stories.d.ts +7 -0
- package/lib-types/components/icon/ElmSquareLoadingIcon.stories.d.ts.map +1 -0
- package/lib-types/components/icon/ElmToggleTheme.d.ts +13 -0
- package/lib-types/components/icon/ElmToggleTheme.d.ts.map +1 -0
- package/lib-types/components/icon/ElmToggleTheme.stories.d.ts +7 -0
- package/lib-types/components/icon/ElmToggleTheme.stories.d.ts.map +1 -0
- package/lib-types/components/icon/language.d.ts +3 -0
- package/lib-types/components/icon/language.d.ts.map +1 -0
- package/lib-types/components/media/ElmFile.d.ts +25 -0
- package/lib-types/components/media/ElmFile.d.ts.map +1 -0
- package/lib-types/components/media/ElmFile.stories.d.ts +8 -0
- package/lib-types/components/media/ElmFile.stories.d.ts.map +1 -0
- package/lib-types/components/media/ElmImage.d.ts +37 -0
- package/lib-types/components/media/ElmImage.d.ts.map +1 -0
- package/lib-types/components/media/ElmImage.stories.d.ts +10 -0
- package/lib-types/components/media/ElmImage.stories.d.ts.map +1 -0
- package/lib-types/components/navigation/ElmBookmark.d.ts +56 -0
- package/lib-types/components/navigation/ElmBookmark.d.ts.map +1 -0
- package/lib-types/components/navigation/ElmBookmark.stories.d.ts +9 -0
- package/lib-types/components/navigation/ElmBookmark.stories.d.ts.map +1 -0
- package/lib-types/components/navigation/ElmBreadcrumb.d.ts +22 -0
- package/lib-types/components/navigation/ElmBreadcrumb.d.ts.map +1 -0
- package/lib-types/components/navigation/ElmBreadcrumb.stories.d.ts +8 -0
- package/lib-types/components/navigation/ElmBreadcrumb.stories.d.ts.map +1 -0
- package/lib-types/components/navigation/ElmPageTop.d.ts +13 -0
- package/lib-types/components/navigation/ElmPageTop.d.ts.map +1 -0
- package/lib-types/components/navigation/ElmPageTop.stories.d.ts +7 -0
- package/lib-types/components/navigation/ElmPageTop.stories.d.ts.map +1 -0
- package/lib-types/components/navigation/ElmTableOfContents.d.ts +17 -0
- package/lib-types/components/navigation/ElmTableOfContents.d.ts.map +1 -0
- package/lib-types/components/navigation/ElmTableOfContents.stories.d.ts +8 -0
- package/lib-types/components/navigation/ElmTableOfContents.stories.d.ts.map +1 -0
- package/lib-types/components/others/ElmColorSample.d.ts +11 -0
- package/lib-types/components/others/ElmColorSample.d.ts.map +1 -0
- package/lib-types/components/others/ElmColorSample.stories.d.ts +8 -0
- package/lib-types/components/others/ElmColorSample.stories.d.ts.map +1 -0
- package/lib-types/components/others/ElmColorTable.d.ts +14 -0
- package/lib-types/components/others/ElmColorTable.d.ts.map +1 -0
- package/lib-types/components/others/ElmColorTable.stories.d.ts +7 -0
- package/lib-types/components/others/ElmColorTable.stories.d.ts.map +1 -0
- package/lib-types/components/others/ElmCommandPalette.d.ts +33 -0
- package/lib-types/components/others/ElmCommandPalette.d.ts.map +1 -0
- package/lib-types/components/others/ElmCommandPalette.stories.d.ts +7 -0
- package/lib-types/components/others/ElmCommandPalette.stories.d.ts.map +1 -0
- package/lib-types/components/others/ElmJsonComponentRenderer.d.ts +13 -0
- package/lib-types/components/others/ElmJsonComponentRenderer.d.ts.map +1 -0
- package/lib-types/components/others/ElmJsonComponentRenderer.stories.d.ts +7 -0
- package/lib-types/components/others/ElmJsonComponentRenderer.stories.d.ts.map +1 -0
- package/lib-types/components/others/ElmMarkdown.d.ts +11 -0
- package/lib-types/components/others/ElmMarkdown.d.ts.map +1 -0
- package/lib-types/components/others/ElmMarkdown.stories.d.ts +7 -0
- package/lib-types/components/others/ElmMarkdown.stories.d.ts.map +1 -0
- package/lib-types/components/others/ElmTyping.d.ts +11 -0
- package/lib-types/components/others/ElmTyping.d.ts.map +1 -0
- package/lib-types/components/others/ElmTyping.stories.d.ts +8 -0
- package/lib-types/components/others/ElmTyping.stories.d.ts.map +1 -0
- package/lib-types/components/table/ElmTable.d.ts +30 -0
- package/lib-types/components/table/ElmTable.d.ts.map +1 -0
- package/lib-types/components/table/ElmTable.stories.d.ts +8 -0
- package/lib-types/components/table/ElmTable.stories.d.ts.map +1 -0
- package/lib-types/components/table/ElmTableBody.d.ts +7 -0
- package/lib-types/components/table/ElmTableBody.d.ts.map +1 -0
- package/lib-types/components/table/ElmTableBody.stories.d.ts +7 -0
- package/lib-types/components/table/ElmTableBody.stories.d.ts.map +1 -0
- package/lib-types/components/table/ElmTableCell.d.ts +16 -0
- package/lib-types/components/table/ElmTableCell.d.ts.map +1 -0
- package/lib-types/components/table/ElmTableCell.stories.d.ts +7 -0
- package/lib-types/components/table/ElmTableCell.stories.d.ts.map +1 -0
- package/lib-types/components/table/ElmTableHeader.d.ts +7 -0
- package/lib-types/components/table/ElmTableHeader.d.ts.map +1 -0
- package/lib-types/components/table/ElmTableHeader.stories.d.ts +7 -0
- package/lib-types/components/table/ElmTableHeader.stories.d.ts.map +1 -0
- package/lib-types/components/table/ElmTableRow.d.ts +7 -0
- package/lib-types/components/table/ElmTableRow.d.ts.map +1 -0
- package/lib-types/components/table/ElmTableRow.stories.d.ts +7 -0
- package/lib-types/components/table/ElmTableRow.stories.d.ts.map +1 -0
- package/lib-types/components/table/TableContext.d.ts +3 -0
- package/lib-types/components/table/TableContext.d.ts.map +1 -0
- package/lib-types/components/template/ElmTemplate.d.ts +4 -1
- package/lib-types/components/template/ElmTemplate.d.ts.map +1 -1
- package/lib-types/components/template/ElmTemplate.stories.d.ts +7 -0
- package/lib-types/components/template/ElmTemplate.stories.d.ts.map +1 -0
- package/lib-types/components/typography/ElmBlockQuote.d.ts +13 -0
- package/lib-types/components/typography/ElmBlockQuote.d.ts.map +1 -0
- package/lib-types/components/typography/ElmBlockQuote.stories.d.ts +7 -0
- package/lib-types/components/typography/ElmBlockQuote.stories.d.ts.map +1 -0
- package/lib-types/components/typography/ElmCallout.d.ts +14 -0
- package/lib-types/components/typography/ElmCallout.d.ts.map +1 -0
- package/lib-types/components/typography/ElmCallout.stories.d.ts +11 -0
- package/lib-types/components/typography/ElmCallout.stories.d.ts.map +1 -0
- package/lib-types/components/typography/ElmDivider.d.ts +13 -0
- package/lib-types/components/typography/ElmDivider.d.ts.map +1 -0
- package/lib-types/components/typography/ElmDivider.stories.d.ts +7 -0
- package/lib-types/components/typography/ElmDivider.stories.d.ts.map +1 -0
- package/lib-types/components/typography/ElmFragmentIdentifier.d.ts +13 -0
- package/lib-types/components/typography/ElmFragmentIdentifier.d.ts.map +1 -0
- package/lib-types/components/typography/ElmFragmentIdentifier.stories.d.ts +7 -0
- package/lib-types/components/typography/ElmFragmentIdentifier.stories.d.ts.map +1 -0
- package/lib-types/components/typography/ElmHeading.d.ts +31 -0
- package/lib-types/components/typography/ElmHeading.d.ts.map +1 -0
- package/lib-types/components/typography/ElmHeading.stories.d.ts +8 -0
- package/lib-types/components/typography/ElmHeading.stories.d.ts.map +1 -0
- package/lib-types/components/typography/ElmInlineText.d.ts +24 -0
- package/lib-types/components/typography/ElmInlineText.d.ts.map +1 -0
- package/lib-types/components/typography/ElmInlineText.stories.d.ts +13 -0
- package/lib-types/components/typography/ElmInlineText.stories.d.ts.map +1 -0
- package/lib-types/components/typography/ElmList.d.ts +15 -0
- package/lib-types/components/typography/ElmList.d.ts.map +1 -0
- package/lib-types/components/typography/ElmList.stories.d.ts +9 -0
- package/lib-types/components/typography/ElmList.stories.d.ts.map +1 -0
- package/lib-types/components/typography/ElmParagraph.d.ts +10 -0
- package/lib-types/components/typography/ElmParagraph.d.ts.map +1 -0
- package/lib-types/components/typography/ElmParagraph.stories.d.ts +8 -0
- package/lib-types/components/typography/ElmParagraph.stories.d.ts.map +1 -0
- package/lib-types/components/typography/ElmTypingAnimation.d.ts +21 -0
- package/lib-types/components/typography/ElmTypingAnimation.d.ts.map +1 -0
- package/lib-types/components/typography/ElmTypingAnimation.stories.d.ts +7 -0
- package/lib-types/components/typography/ElmTypingAnimation.stories.d.ts.map +1 -0
- package/lib-types/hooks/useElmethisTheme.d.ts +5 -0
- package/lib-types/hooks/useElmethisTheme.d.ts.map +1 -0
- package/lib-types/lib.d.ts +67 -0
- package/lib-types/lib.d.ts.map +1 -1
- package/lib-types/styles/variables.d.ts +9 -0
- package/lib-types/styles/variables.d.ts.map +1 -0
- package/package.json +18 -4
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export type ElmTextFieldIcon = "text" | "pen" | "email" | "user" | "lock" | "key" | "earth" | "tag" | "archive" | "link" | "search";
|
|
4
|
+
export interface ElmTextFieldCSSVariables {
|
|
5
|
+
"--highlight-color"?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ElmTextFieldProps {
|
|
8
|
+
style?: React.CSSProperties & ElmTextFieldCSSVariables;
|
|
9
|
+
/** Label for the text field. */
|
|
10
|
+
label: string;
|
|
11
|
+
/** Maximum character length. */
|
|
12
|
+
maxLength?: number;
|
|
13
|
+
/** Suffix text. */
|
|
14
|
+
suffix?: string;
|
|
15
|
+
/** Placeholder text. */
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
/** Whether the text field is disabled. */
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/** Whether the text field is in loading state. */
|
|
20
|
+
loading?: boolean;
|
|
21
|
+
/** Icon to display on the left. */
|
|
22
|
+
icon?: ElmTextFieldIcon;
|
|
23
|
+
/** Whether the text field is a password field. */
|
|
24
|
+
isPassword?: boolean;
|
|
25
|
+
/** Whether the field is required. */
|
|
26
|
+
required?: boolean;
|
|
27
|
+
/** Current value. */
|
|
28
|
+
value?: string;
|
|
29
|
+
/** Called when the value changes. */
|
|
30
|
+
onChange?: (value: string) => void;
|
|
31
|
+
}
|
|
32
|
+
export declare const ElmTextField: ({ disabled, loading, isPassword, required, value, ...props }: ElmTextFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
//# sourceMappingURL=ElmTextField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmTextField.d.ts","sourceRoot":"","sources":["../../../src/components/form/ElmTextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAEpE,OAAO,oBAAoB,CAAC;AAqB5B,MAAM,MAAM,gBAAgB,GACxB,MAAM,GACN,KAAK,GACL,OAAO,GACP,MAAM,GACN,MAAM,GACN,KAAK,GACL,OAAO,GACP,KAAK,GACL,SAAS,GACT,MAAM,GACN,QAAQ,CAAC;AAgBb,MAAM,WAAW,wBAAwB;IACvC,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,wBAAwB,CAAC;IAEvD,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAC;IAEd,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,mBAAmB;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,wBAAwB;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,kDAAkD;IAClD,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,mCAAmC;IACnC,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAExB,kDAAkD;IAClD,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,qBAAqB;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,qCAAqC;IACrC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,eAAO,MAAM,YAAY,GAAI,8DAO1B,iBAAiB,4CAyHnB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmTextField } from "./ElmTextField";
|
|
3
|
+
declare const meta: Meta<typeof ElmTextField>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmTextField.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmTextField.stories.d.ts","sourceRoot":"","sources":["../../../src/components/form/ElmTextField.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CA8BnC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmValidationCSSVariables {
|
|
4
|
+
"--opacity"?: number;
|
|
5
|
+
}
|
|
6
|
+
export interface ElmValidationProps {
|
|
7
|
+
style?: React.CSSProperties & ElmValidationCSSVariables;
|
|
8
|
+
/** The validation message text. */
|
|
9
|
+
text: string;
|
|
10
|
+
/** The color when valid. */
|
|
11
|
+
validColor?: string;
|
|
12
|
+
/** Whether the validation is satisfied. */
|
|
13
|
+
isValid: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const ElmValidation: ({ validColor, ...props }: ElmValidationProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
//# sourceMappingURL=ElmValidation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmValidation.d.ts","sourceRoot":"","sources":["../../../src/components/form/ElmValidation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,oBAAoB,CAAC;AAM5B,MAAM,WAAW,yBAAyB;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,yBAAyB,CAAC;IAExD,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;IAEb,4BAA4B;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,2CAA2C;IAC3C,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,aAAa,GAAI,0BAG3B,kBAAkB,4CAkBpB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmValidation } from "./ElmValidation";
|
|
3
|
+
declare const meta: Meta<typeof ElmValidation>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmValidation.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmValidation.stories.d.ts","sourceRoot":"","sources":["../../../src/components/form/ElmValidation.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,aAAa,CAKpC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAmCrB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmArrowIconCSSVariables {
|
|
4
|
+
}
|
|
5
|
+
export interface ElmArrowIconProps {
|
|
6
|
+
style?: React.CSSProperties & ElmArrowIconCSSVariables;
|
|
7
|
+
/**
|
|
8
|
+
* Specifies the direction of the arrow.
|
|
9
|
+
*/
|
|
10
|
+
direction?: "up" | "down" | "left" | "right";
|
|
11
|
+
/**
|
|
12
|
+
* Specifies whether the arrow is in loading state.
|
|
13
|
+
*/
|
|
14
|
+
loading?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Specifies whether the arrow is in pending state.
|
|
17
|
+
*/
|
|
18
|
+
pending?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Specifies the size of the arrow.
|
|
21
|
+
*/
|
|
22
|
+
size?: React.CSSProperties["height"];
|
|
23
|
+
}
|
|
24
|
+
export declare const ElmArrowIcon: (props: ElmArrowIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
//# sourceMappingURL=ElmArrowIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmArrowIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmArrowIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,oBAAoB,CAAC;AAG5B,MAAM,WAAW,wBAAwB;CAAG;AAE5C,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,wBAAwB,CAAC;IAEvD;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAE7C;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;CACtC;AAED,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,4CAuCpD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmArrowIcon } from "./ElmArrowIcon";
|
|
3
|
+
declare const meta: Meta<typeof ElmArrowIcon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmArrowIcon.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmArrowIcon.stories.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmArrowIcon.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAcnC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmBookmarkIconCSSVariables {
|
|
4
|
+
}
|
|
5
|
+
export interface ElmBookmarkIconProps {
|
|
6
|
+
style?: React.CSSProperties & ElmBookmarkIconCSSVariables;
|
|
7
|
+
/**
|
|
8
|
+
* The display name for the bookmark.
|
|
9
|
+
*/
|
|
10
|
+
name?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The URL the bookmark links to.
|
|
13
|
+
*/
|
|
14
|
+
href: string;
|
|
15
|
+
/**
|
|
16
|
+
* The favicon URL for the bookmark.
|
|
17
|
+
*/
|
|
18
|
+
favicon?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare const ElmBookmarkIcon: (props: ElmBookmarkIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
//# sourceMappingURL=ElmBookmarkIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmBookmarkIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmBookmarkIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,oBAAoB,CAAC;AAM5B,MAAM,WAAW,2BAA2B;CAAG;AAE/C,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,2BAA2B,CAAC;IAE1D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,eAAe,GAAI,OAAO,oBAAoB,4CA0B1D,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmBookmarkIcon } from "./ElmBookmarkIcon";
|
|
3
|
+
declare const meta: Meta<typeof ElmBookmarkIcon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Long: Story;
|
|
8
|
+
export declare const NoFavicon: Story;
|
|
9
|
+
//# sourceMappingURL=ElmBookmarkIcon.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmBookmarkIcon.stories.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmBookmarkIcon.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,eAAe,CAKtC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAMlB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAKvB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmCubeIconCSSVariables {
|
|
4
|
+
}
|
|
5
|
+
export interface ElmCubeIconProps {
|
|
6
|
+
style?: React.CSSProperties & ElmCubeIconCSSVariables;
|
|
7
|
+
/**
|
|
8
|
+
* The size of the cube [px]
|
|
9
|
+
*/
|
|
10
|
+
size?: number;
|
|
11
|
+
}
|
|
12
|
+
export declare const ElmCubeIcon: (props: ElmCubeIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=ElmCubeIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmCubeIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmCubeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,oBAAoB,CAAC;AAG5B,MAAM,WAAW,uBAAuB;CAAG;AAE3C,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,uBAAuB,CAAC;IAEtD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAWD,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,4CAyBlD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmCubeIcon } from "./ElmCubeIcon";
|
|
3
|
+
declare const meta: Meta<typeof ElmCubeIcon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmCubeIcon.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmCubeIcon.stories.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmCubeIcon.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAKlC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmDotLoadingIconCSSVariables {
|
|
4
|
+
}
|
|
5
|
+
export interface ElmDotLoadingIconProps {
|
|
6
|
+
style?: React.CSSProperties & ElmDotLoadingIconCSSVariables;
|
|
7
|
+
/**
|
|
8
|
+
* Specifies the color of the dot.
|
|
9
|
+
*
|
|
10
|
+
* e.g.) `'red'`, `'#ff0000'`, `'rgba(255, 0, 0, 0.5)'`
|
|
11
|
+
*/
|
|
12
|
+
color?: React.CSSProperties["backgroundColor"];
|
|
13
|
+
/**
|
|
14
|
+
* Specifies the size of the dot.
|
|
15
|
+
*/
|
|
16
|
+
size?: React.CSSProperties["width"];
|
|
17
|
+
}
|
|
18
|
+
export declare const ElmDotLoadingIcon: (props: ElmDotLoadingIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=ElmDotLoadingIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmDotLoadingIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmDotLoadingIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,oBAAoB,CAAC;AAG5B,MAAM,WAAW,6BAA6B;CAAG;AAEjD,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,6BAA6B,CAAC;IAE5D;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;IAE/C;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;CACrC;AAED,eAAO,MAAM,iBAAiB,GAAI,OAAO,sBAAsB,4CAkB9D,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmDotLoadingIcon } from "./ElmDotLoadingIcon";
|
|
3
|
+
declare const meta: Meta<typeof ElmDotLoadingIcon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmDotLoadingIcon.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmDotLoadingIcon.stories.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmDotLoadingIcon.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAMxC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmInlineIconCSSVariables {
|
|
4
|
+
}
|
|
5
|
+
export interface ElmInlineIconProps {
|
|
6
|
+
styles?: React.CSSProperties & ElmInlineIconCSSVariables;
|
|
7
|
+
/**
|
|
8
|
+
* The source URL of the icon.
|
|
9
|
+
*/
|
|
10
|
+
src: string;
|
|
11
|
+
/**
|
|
12
|
+
* The alt text for the icon.
|
|
13
|
+
*/
|
|
14
|
+
alt?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const ElmInlineIcon: React.FC<ElmInlineIconProps>;
|
|
17
|
+
//# sourceMappingURL=ElmInlineIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmInlineIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmInlineIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,oBAAoB,CAAC;AAG5B,MAAM,WAAW,yBAAyB;CAAG;AAE7C,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,yBAAyB,CAAC;IAEzD;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAYtD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmInlineIcon } from "./ElmInlineIcon";
|
|
3
|
+
declare const meta: Meta<typeof ElmInlineIcon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmInlineIcon.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmInlineIcon.stories.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmInlineIcon.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,aAAa,CAOpC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
import type { Language } from "./language";
|
|
4
|
+
export interface ElmLanguageIconCSSVariables {
|
|
5
|
+
}
|
|
6
|
+
export interface ElmLanguageIconProps {
|
|
7
|
+
style?: React.CSSProperties & ElmLanguageIconCSSVariables;
|
|
8
|
+
/**
|
|
9
|
+
* The size of the icon.
|
|
10
|
+
*/
|
|
11
|
+
size?: number;
|
|
12
|
+
/**
|
|
13
|
+
* The language of the icon.
|
|
14
|
+
*/
|
|
15
|
+
language: Language | string;
|
|
16
|
+
}
|
|
17
|
+
export declare const ElmLanguageIcon: (props: ElmLanguageIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=ElmLanguageIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmLanguageIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmLanguageIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,oBAAoB,CAAC;AA0B5B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,WAAW,2BAA2B;CAAG;AAE/C,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,2BAA2B,CAAC;IAE1D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAAC;CAC7B;AAwBD,eAAO,MAAM,eAAe,GAAI,OAAO,oBAAoB,4CAe1D,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmLanguageIcon } from "./ElmLanguageIcon";
|
|
3
|
+
declare const meta: Meta<typeof ElmLanguageIcon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmLanguageIcon.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmLanguageIcon.stories.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmLanguageIcon.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,eAAe,CAWtC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmLoginIconCSSVariables {
|
|
4
|
+
}
|
|
5
|
+
export interface ElmLoginIconProps {
|
|
6
|
+
style?: React.CSSProperties & ElmLoginIconCSSVariables;
|
|
7
|
+
/**
|
|
8
|
+
* Specifies the width of the icon.
|
|
9
|
+
*/
|
|
10
|
+
size?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Specifies whether the icon is for login or logout.
|
|
13
|
+
*/
|
|
14
|
+
isLogin?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Specifies whether the icon is loading.
|
|
17
|
+
*/
|
|
18
|
+
isLoading?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare const ElmLoginIcon: (props: ElmLoginIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
//# sourceMappingURL=ElmLoginIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmLoginIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmLoginIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,oBAAoB,CAAC;AAK5B,MAAM,WAAW,wBAAwB;CAAG;AAE5C,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,wBAAwB,CAAC;IAEvD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,4CAgBpD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmLoginIcon } from "./ElmLoginIcon";
|
|
3
|
+
declare const meta: Meta<typeof ElmLoginIcon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmLoginIcon.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmLoginIcon.stories.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmLoginIcon.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAKnC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmMdiIconCSSVariables {
|
|
4
|
+
}
|
|
5
|
+
export interface ElmMdiIconProps {
|
|
6
|
+
style?: React.CSSProperties & ElmMdiIconCSSVariables;
|
|
7
|
+
d: string;
|
|
8
|
+
size?: number | string;
|
|
9
|
+
color?: string;
|
|
10
|
+
colorLight?: string;
|
|
11
|
+
colorDark?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const ElmMdiIcon: (props: ElmMdiIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=ElmMdiIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmMdiIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmMdiIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,oBAAoB,CAAC;AAG5B,MAAM,WAAW,sBAAsB;CAAG;AAE1C,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,sBAAsB,CAAC;IAErD,CAAC,EAAE,MAAM,CAAC;IAEV,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,4CAehD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmMdiIcon } from "./ElmMdiIcon";
|
|
3
|
+
declare const meta: Meta<typeof ElmMdiIcon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmMdiIcon.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmMdiIcon.stories.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmMdiIcon.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAKjC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmSquareLoadingIconCSSVariables {
|
|
4
|
+
}
|
|
5
|
+
export interface ElmSquareLoadingIconProps {
|
|
6
|
+
style?: React.CSSProperties & ElmSquareLoadingIconCSSVariables;
|
|
7
|
+
/**
|
|
8
|
+
* Specifies the size of the icon.
|
|
9
|
+
*/
|
|
10
|
+
size?: React.CSSProperties["width"];
|
|
11
|
+
/**
|
|
12
|
+
* Specifies the number of rows and columns.
|
|
13
|
+
*/
|
|
14
|
+
dimensions?: number;
|
|
15
|
+
}
|
|
16
|
+
export declare const ElmSquareLoadingIcon: (props: ElmSquareLoadingIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=ElmSquareLoadingIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmSquareLoadingIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmSquareLoadingIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,oBAAoB,CAAC;AAG5B,MAAM,WAAW,gCAAgC;CAAG;AAEpD,MAAM,WAAW,yBAAyB;IACxC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,gCAAgC,CAAC;IAE/D;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAEpC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAID,eAAO,MAAM,oBAAoB,GAAI,OAAO,yBAAyB,4CAiCpE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmSquareLoadingIcon } from "./ElmSquareLoadingIcon";
|
|
3
|
+
declare const meta: Meta<typeof ElmSquareLoadingIcon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmSquareLoadingIcon.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmSquareLoadingIcon.stories.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmSquareLoadingIcon.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,oBAAoB,CAK3C,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmToggleThemeCSSVariables {
|
|
4
|
+
}
|
|
5
|
+
export interface ElmToggleThemeProps {
|
|
6
|
+
style?: React.CSSProperties & ElmToggleThemeCSSVariables;
|
|
7
|
+
/**
|
|
8
|
+
* Specifies the size of the icon.
|
|
9
|
+
*/
|
|
10
|
+
size?: React.CSSProperties["width"];
|
|
11
|
+
}
|
|
12
|
+
export declare const ElmToggleTheme: (props: ElmToggleThemeProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=ElmToggleTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmToggleTheme.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmToggleTheme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,oBAAoB,CAAC;AAI5B,MAAM,WAAW,0BAA0B;CAAG;AAE9C,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,0BAA0B,CAAC;IAEzD;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;CACrC;AAED,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,4CAySxD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmToggleTheme } from "./ElmToggleTheme";
|
|
3
|
+
declare const meta: Meta<typeof ElmToggleTheme>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmToggleTheme.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmToggleTheme.stories.d.ts","sourceRoot":"","sources":["../../../src/components/icon/ElmToggleTheme.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAKrC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const LANGUAGES: readonly ["rust", "javascript", "typescript", "shell", "terraform", "html", "css", "npm", "java", "kotlin", "go", "python", "sql", "json", "lua", "csharp", "cpp", "c", "file"];
|
|
2
|
+
export type Language = (typeof LANGUAGES)[number];
|
|
3
|
+
//# sourceMappingURL=language.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"language.d.ts","sourceRoot":"","sources":["../../../src/components/icon/language.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,iLAoBZ,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmFileCSSVariables {
|
|
4
|
+
}
|
|
5
|
+
export interface ElmFileProps {
|
|
6
|
+
style?: React.CSSProperties & ElmFileCSSVariables;
|
|
7
|
+
/**
|
|
8
|
+
* The name of the file.
|
|
9
|
+
*/
|
|
10
|
+
name?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The source of the file.
|
|
13
|
+
*/
|
|
14
|
+
src: string;
|
|
15
|
+
/**
|
|
16
|
+
* The size of the file in bytes.
|
|
17
|
+
*/
|
|
18
|
+
filesize?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The margin of the file.
|
|
21
|
+
*/
|
|
22
|
+
margin?: React.CSSProperties["marginBlock"];
|
|
23
|
+
}
|
|
24
|
+
export declare const ElmFile: ({ name, src, filesize, margin, style, }: ElmFileProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
//# sourceMappingURL=ElmFile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmFile.d.ts","sourceRoot":"","sources":["../../../src/components/media/ElmFile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,oBAAoB,CAAC;AAO5B,MAAM,WAAW,mBAAmB;CAAG;AAEvC,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,mBAAmB,CAAC;IAElD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;CAC7C;AAUD,eAAO,MAAM,OAAO,GAAI,yCAMrB,YAAY,4CAiDd,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmFile } from "./ElmFile";
|
|
3
|
+
declare const meta: Meta<typeof ElmFile>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const WithName: Story;
|
|
8
|
+
//# sourceMappingURL=ElmFile.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmFile.stories.d.ts","sourceRoot":"","sources":["../../../src/components/media/ElmFile.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAK9B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmImageCSSVariables {
|
|
4
|
+
}
|
|
5
|
+
export interface ElmImageProps {
|
|
6
|
+
style?: React.CSSProperties & ElmImageCSSVariables;
|
|
7
|
+
/**
|
|
8
|
+
* Image source URL
|
|
9
|
+
*/
|
|
10
|
+
src: string;
|
|
11
|
+
/**
|
|
12
|
+
* Image alt text
|
|
13
|
+
*/
|
|
14
|
+
alt?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Whether the image is a block element.
|
|
17
|
+
*/
|
|
18
|
+
block?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Enable modal on image click. Default: `false`
|
|
21
|
+
*/
|
|
22
|
+
enableModal?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The margin of the image.
|
|
25
|
+
*/
|
|
26
|
+
margin?: React.CSSProperties["marginBlock"];
|
|
27
|
+
/**
|
|
28
|
+
* The width of the image.
|
|
29
|
+
*/
|
|
30
|
+
width?: number;
|
|
31
|
+
/**
|
|
32
|
+
* The height of the image.
|
|
33
|
+
*/
|
|
34
|
+
height?: number;
|
|
35
|
+
}
|
|
36
|
+
export declare const ElmImage: ({ src, alt, block, enableModal, margin, width, height, style, }: ElmImageProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
//# sourceMappingURL=ElmImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmImage.d.ts","sourceRoot":"","sources":["../../../src/components/media/ElmImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,oBAAoB,CAAC;AAO5B,MAAM,WAAW,oBAAoB;CAAG;AAExC,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,oBAAoB,CAAC;IAEnD;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;IAE5C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,QAAQ,GAAI,iEAStB,aAAa,4CAyGf,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmImage } from "./ElmImage";
|
|
3
|
+
declare const meta: Meta<typeof ElmImage>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Invalid: Story;
|
|
8
|
+
export declare const WithAlt: Story;
|
|
9
|
+
export declare const WithDimensions: Story;
|
|
10
|
+
//# sourceMappingURL=ElmImage.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmImage.stories.d.ts","sourceRoot":"","sources":["../../../src/components/media/ElmImage.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAS/B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAM5B,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmBookmarkCSSVariables {
|
|
4
|
+
}
|
|
5
|
+
export interface ElmBookmarkProps {
|
|
6
|
+
style?: React.CSSProperties & ElmBookmarkCSSVariables;
|
|
7
|
+
/**
|
|
8
|
+
* Whether to hide the URL.
|
|
9
|
+
*/
|
|
10
|
+
hideUrl?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Whether to open the link in a new tab.
|
|
13
|
+
* Defaults to `true`.
|
|
14
|
+
*/
|
|
15
|
+
openInNewTab?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* The title of the bookmark.
|
|
18
|
+
*/
|
|
19
|
+
title?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The description of the bookmark.
|
|
22
|
+
*/
|
|
23
|
+
description?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The image to display.
|
|
26
|
+
* This can be a URL or a base64-encoded image.
|
|
27
|
+
*/
|
|
28
|
+
image?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The URL to navigate to.
|
|
31
|
+
*/
|
|
32
|
+
url?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The date the bookmark was created.
|
|
35
|
+
*/
|
|
36
|
+
createdAt?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The date the bookmark was last updated.
|
|
39
|
+
*/
|
|
40
|
+
updatedAt?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The function to call when the link is clicked.
|
|
43
|
+
* If provided, the default behavior (navigating to the URL) is prevented.
|
|
44
|
+
*/
|
|
45
|
+
onClick?: () => void;
|
|
46
|
+
/**
|
|
47
|
+
* The margin of the bookmark.
|
|
48
|
+
*/
|
|
49
|
+
margin?: React.CSSProperties["marginBlock"];
|
|
50
|
+
/**
|
|
51
|
+
* The URL of the favicon.
|
|
52
|
+
*/
|
|
53
|
+
favicon?: string;
|
|
54
|
+
}
|
|
55
|
+
export declare const ElmBookmark: ({ hideUrl, openInNewTab, title, description, image, url, createdAt, updatedAt, onClick, margin, favicon, style, }: ElmBookmarkProps) => import("react/jsx-runtime").JSX.Element;
|
|
56
|
+
//# sourceMappingURL=ElmBookmark.d.ts.map
|