@elmethis/react 0.3.1 → 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 +19 -5
- package/lib/favicon.svg +0 -1
- package/lib/icons.svg +0 -24
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmTabs.stories.d.ts","sourceRoot":"","sources":["../../../src/components/containments/ElmTabs.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,KAerB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmToggleCSSVariables {
|
|
4
|
+
"--margin-block"?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ElmToggleProps extends React.PropsWithChildren {
|
|
7
|
+
style?: React.CSSProperties & ElmToggleCSSVariables;
|
|
8
|
+
/** The summary text of the toggle. */
|
|
9
|
+
summary?: string;
|
|
10
|
+
/** Custom inline summary content (used when summary is not provided). */
|
|
11
|
+
summaryContent?: React.ReactNode;
|
|
12
|
+
/** The margin-block of the toggle. */
|
|
13
|
+
margin?: React.CSSProperties["marginBlock"];
|
|
14
|
+
/** Whether the toggle is open. */
|
|
15
|
+
value?: boolean;
|
|
16
|
+
/** Called when the toggle open state changes. */
|
|
17
|
+
onChange?: (value: boolean) => void;
|
|
18
|
+
}
|
|
19
|
+
export declare const ElmToggle: (props: ElmToggleProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=ElmToggle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmToggle.d.ts","sourceRoot":"","sources":["../../../src/components/containments/ElmToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,oBAAoB,CAAC;AAO5B,MAAM,WAAW,qBAAqB;IACpC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,iBAAiB;IAC7D,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,qBAAqB,CAAC;IAEpD,sCAAsC;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,yEAAyE;IACzE,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEjC,sCAAsC;IACtC,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;IAE5C,kCAAkC;IAClC,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACrC;AAED,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,4CA+E9C,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmToggle } from "./ElmToggle";
|
|
3
|
+
declare const meta: Meta<typeof ElmToggle>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const InlineSummary: Story;
|
|
8
|
+
//# sourceMappingURL=ElmToggle.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmToggle.stories.d.ts","sourceRoot":"","sources":["../../../src/components/containments/ElmToggle.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAKhC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAiB3B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmTooltipCSSVariables {
|
|
4
|
+
}
|
|
5
|
+
export interface ElmTooltipProps {
|
|
6
|
+
style?: React.CSSProperties & ElmTooltipCSSVariables;
|
|
7
|
+
/** The original element that triggers the tooltip. */
|
|
8
|
+
original: React.ReactNode;
|
|
9
|
+
/** The tooltip content displayed on hover. */
|
|
10
|
+
tooltip: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare const ElmTooltip: (props: ElmTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=ElmTooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/containments/ElmTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAExE,OAAO,oBAAoB,CAAC;AAG5B,MAAM,WAAW,sBAAsB;CAAG;AAE1C,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,sBAAsB,CAAC;IAErD,sDAAsD;IACtD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B,8CAA8C;IAC9C,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,4CAmDhD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmTooltip } from "./ElmTooltip";
|
|
3
|
+
declare const meta: Meta<typeof ElmTooltip>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmTooltip.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmTooltip.stories.d.ts","sourceRoot":"","sources":["../../../src/components/containments/ElmTooltip.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAYjC,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,32 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmMultiProgressCSSVariables {
|
|
4
|
+
"--weight"?: React.CSSProperties["height"];
|
|
5
|
+
"--border-radius"?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ElmMultiProgressProps {
|
|
8
|
+
style?: React.CSSProperties & ElmMultiProgressCSSVariables;
|
|
9
|
+
/**
|
|
10
|
+
* The progress segments to display.
|
|
11
|
+
*/
|
|
12
|
+
progress: Array<{
|
|
13
|
+
/**
|
|
14
|
+
* The current value of the progress.
|
|
15
|
+
*/
|
|
16
|
+
value: number;
|
|
17
|
+
/**
|
|
18
|
+
* The color of the progress.
|
|
19
|
+
*/
|
|
20
|
+
color: string;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* The weight of the progress.
|
|
24
|
+
*/
|
|
25
|
+
weight?: React.CSSProperties["height"];
|
|
26
|
+
/**
|
|
27
|
+
* Whether the progress should be round.
|
|
28
|
+
*/
|
|
29
|
+
round?: boolean;
|
|
30
|
+
}
|
|
31
|
+
export declare const ElmMultiProgress: ({ progress, weight, round, style, }: ElmMultiProgressProps) => import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
//# sourceMappingURL=ElmMultiProgress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmMultiProgress.d.ts","sourceRoot":"","sources":["../../../src/components/data/ElmMultiProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,oBAAoB,CAAC;AAG5B,MAAM,WAAW,4BAA4B;IAC3C,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC3C,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,4BAA4B,CAAC;IAE3D;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC;QACd;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QAEd;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;KACf,CAAC,CAAC;IAEH;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEvC;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,gBAAgB,GAAI,qCAK9B,qBAAqB,4CAkCvB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmMultiProgress } from "./ElmMultiProgress";
|
|
3
|
+
declare const meta: Meta<typeof ElmMultiProgress>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmMultiProgress.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmMultiProgress.stories.d.ts","sourceRoot":"","sources":["../../../src/components/data/ElmMultiProgress.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAKvC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAiBrB,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmProgressCSSVariables {
|
|
4
|
+
"--weight"?: React.CSSProperties["height"];
|
|
5
|
+
"--border-radius"?: string;
|
|
6
|
+
"--color"?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ElmProgressProps {
|
|
9
|
+
style?: React.CSSProperties & ElmProgressCSSVariables;
|
|
10
|
+
/**
|
|
11
|
+
* The current value of the progress.
|
|
12
|
+
*/
|
|
13
|
+
value: number;
|
|
14
|
+
/**
|
|
15
|
+
* The buffer value of the progress.
|
|
16
|
+
*/
|
|
17
|
+
buffer?: number;
|
|
18
|
+
/**
|
|
19
|
+
* The maximum value of the progress.
|
|
20
|
+
*/
|
|
21
|
+
max?: number;
|
|
22
|
+
/**
|
|
23
|
+
* The weight of the progress.
|
|
24
|
+
*/
|
|
25
|
+
weight?: React.CSSProperties["height"];
|
|
26
|
+
/**
|
|
27
|
+
* Whether the progress should be round.
|
|
28
|
+
*/
|
|
29
|
+
round?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* The color of the progress.
|
|
32
|
+
*/
|
|
33
|
+
color?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Whether the progress is loading.
|
|
36
|
+
*/
|
|
37
|
+
loading?: boolean;
|
|
38
|
+
}
|
|
39
|
+
export declare const ElmProgress: ({ value, buffer, max, weight, round, color, loading, style, }: ElmProgressProps) => import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
//# sourceMappingURL=ElmProgress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmProgress.d.ts","sourceRoot":"","sources":["../../../src/components/data/ElmProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,oBAAoB,CAAC;AAG5B,MAAM,WAAW,uBAAuB;IACtC,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC3C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,uBAAuB,CAAC;IAEtD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEvC;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,WAAW,GAAI,+DASzB,gBAAgB,4CAkClB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmProgress } from "./ElmProgress";
|
|
3
|
+
declare const meta: Meta<typeof ElmProgress>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const WithBuffer: Story;
|
|
8
|
+
export declare const Bold: Story;
|
|
9
|
+
export declare const WithColor: Story;
|
|
10
|
+
export declare const Loading: Story;
|
|
11
|
+
//# sourceMappingURL=ElmProgress.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmProgress.stories.d.ts","sourceRoot":"","sources":["../../../src/components/data/ElmProgress.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,KAIrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAKxB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAMlB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export type StatusType = "success" | "error" | "warning" | "pending";
|
|
4
|
+
export interface ElmStatusMessageCSSVariables {
|
|
5
|
+
}
|
|
6
|
+
export interface ElmStatusMessageProps {
|
|
7
|
+
style?: React.CSSProperties & ElmStatusMessageCSSVariables;
|
|
8
|
+
/**
|
|
9
|
+
* The status type of the message.
|
|
10
|
+
*/
|
|
11
|
+
status: StatusType;
|
|
12
|
+
/**
|
|
13
|
+
* The message to display.
|
|
14
|
+
*/
|
|
15
|
+
message: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const ElmStatusMessage: ({ status, message, style, }: ElmStatusMessageProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=ElmStatusMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmStatusMessage.d.ts","sourceRoot":"","sources":["../../../src/components/data/ElmStatusMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,oBAAoB,CAAC;AAY5B,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;AAUrE,MAAM,WAAW,4BAA4B;CAAG;AAEhD,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,4BAA4B,CAAC;IAE3D;;OAEG;IACH,MAAM,EAAE,UAAU,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,gBAAgB,GAAI,6BAI9B,qBAAqB,4CASvB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmStatusMessage } from "./ElmStatusMessage";
|
|
3
|
+
declare const meta: Meta<typeof ElmStatusMessage>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Success: Story;
|
|
8
|
+
export declare const Error: Story;
|
|
9
|
+
export declare const Warning: Story;
|
|
10
|
+
//# sourceMappingURL=ElmStatusMessage.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmStatusMessage.stories.d.ts","sourceRoot":"","sources":["../../../src/components/data/ElmStatusMessage.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAWvC,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,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
interface OEmbedBase {
|
|
4
|
+
type: "photo" | "video" | "link" | "rich";
|
|
5
|
+
title?: string;
|
|
6
|
+
author_name?: string;
|
|
7
|
+
author_url?: string;
|
|
8
|
+
provider_name?: string;
|
|
9
|
+
provider_url?: string;
|
|
10
|
+
cache_age?: number;
|
|
11
|
+
thumbnail_url?: string;
|
|
12
|
+
thumbnail_width?: number;
|
|
13
|
+
thumbnail_height?: number;
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
}
|
|
16
|
+
interface OEmbedPhoto extends OEmbedBase {
|
|
17
|
+
type: "photo";
|
|
18
|
+
url: string;
|
|
19
|
+
width: number;
|
|
20
|
+
height: number;
|
|
21
|
+
}
|
|
22
|
+
interface OEmbedVideo extends OEmbedBase {
|
|
23
|
+
type: "video";
|
|
24
|
+
html: string;
|
|
25
|
+
width: number;
|
|
26
|
+
height: number;
|
|
27
|
+
}
|
|
28
|
+
interface OEmbedRich extends OEmbedBase {
|
|
29
|
+
type: "rich";
|
|
30
|
+
html: string;
|
|
31
|
+
width: number;
|
|
32
|
+
height: number;
|
|
33
|
+
}
|
|
34
|
+
interface OEmbedLink extends OEmbedBase {
|
|
35
|
+
type: "link";
|
|
36
|
+
}
|
|
37
|
+
type OEmbedResponse = OEmbedPhoto | OEmbedVideo | OEmbedRich | OEmbedLink;
|
|
38
|
+
export interface ElmOEmbedProps {
|
|
39
|
+
style?: React.CSSProperties;
|
|
40
|
+
/**
|
|
41
|
+
* The oEmbed response data to render.
|
|
42
|
+
*/
|
|
43
|
+
oEmbed: OEmbedResponse;
|
|
44
|
+
}
|
|
45
|
+
export declare const ElmOEmbed: ({ oEmbed, style }: ElmOEmbedProps) => import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
export {};
|
|
47
|
+
//# sourceMappingURL=ElmOEmbed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmOEmbed.d.ts","sourceRoot":"","sources":["../../../src/components/embed/ElmOEmbed.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,oBAAoB,CAAC;AAK5B,UAAU,UAAU;IAClB,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,UAAU,WAAY,SAAQ,UAAU;IACtC,IAAI,EAAE,OAAO,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,WAAY,SAAQ,UAAU;IACtC,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,UAAW,SAAQ,UAAU;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,UAAW,SAAQ,UAAU;IACrC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,KAAK,cAAc,GAAG,WAAW,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,CAAC;AAE1E,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAE5B;;OAEG;IACH,MAAM,EAAE,cAAc,CAAC;CACxB;AAED,eAAO,MAAM,SAAS,GAAI,mBAAmB,cAAc,4CAoD1D,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmOEmbed } from "./ElmOEmbed";
|
|
3
|
+
declare const meta: Meta<typeof ElmOEmbed>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Photo: Story;
|
|
7
|
+
export declare const Link: Story;
|
|
8
|
+
//# sourceMappingURL=ElmOEmbed.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmOEmbed.stories.d.ts","sourceRoot":"","sources":["../../../src/components/embed/ElmOEmbed.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAIhC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,KAAK,EAAE,KAUnB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAWlB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmBlockFallbackCSSVariables {
|
|
4
|
+
"--height"?: React.CSSProperties["height"];
|
|
5
|
+
}
|
|
6
|
+
export interface ElmBlockFallbackProps {
|
|
7
|
+
style?: React.CSSProperties & ElmBlockFallbackCSSVariables;
|
|
8
|
+
/**
|
|
9
|
+
* Specifies the height of the fallback container.
|
|
10
|
+
*/
|
|
11
|
+
height?: React.CSSProperties["height"];
|
|
12
|
+
}
|
|
13
|
+
export declare const ElmBlockFallback: (props: ElmBlockFallbackProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=ElmBlockFallback.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmBlockFallback.d.ts","sourceRoot":"","sources":["../../../src/components/fallback/ElmBlockFallback.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,oBAAoB,CAAC;AAM5B,MAAM,WAAW,4BAA4B;IAC3C,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;CAC5C;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,4BAA4B,CAAC;IAE3D;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;CACxC;AAED,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,4CAY5D,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmBlockFallback } from "./ElmBlockFallback";
|
|
3
|
+
declare const meta: Meta<typeof ElmBlockFallback>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmBlockFallback.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmBlockFallback.stories.d.ts","sourceRoot":"","sources":["../../../src/components/fallback/ElmBlockFallback.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAKvC,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,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmRectangleWaveCSSVariables {
|
|
4
|
+
}
|
|
5
|
+
export interface ElmRectangleWaveProps {
|
|
6
|
+
style?: React.CSSProperties & ElmRectangleWaveCSSVariables;
|
|
7
|
+
}
|
|
8
|
+
export declare const ElmRectangleWave: (props: ElmRectangleWaveProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=ElmRectangleWave.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmRectangleWave.d.ts","sourceRoot":"","sources":["../../../src/components/fallback/ElmRectangleWave.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,oBAAoB,CAAC;AAG5B,MAAM,WAAW,4BAA4B;CAAG;AAEhD,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,4BAA4B,CAAC;CAC5D;AAED,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,4CAQ5D,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmRectangleWave } from "./ElmRectangleWave";
|
|
3
|
+
declare const meta: Meta<typeof ElmRectangleWave>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmRectangleWave.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmRectangleWave.stories.d.ts","sourceRoot":"","sources":["../../../src/components/fallback/ElmRectangleWave.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAmBvC,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 ElmSpinnerCSSVariables {
|
|
4
|
+
}
|
|
5
|
+
export interface ElmSpinnerProps {
|
|
6
|
+
style?: React.CSSProperties & ElmSpinnerCSSVariables;
|
|
7
|
+
/**
|
|
8
|
+
* Specifies the radius of the spinner circle.
|
|
9
|
+
*/
|
|
10
|
+
radius?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Specifies the stroke width of the spinner circle.
|
|
13
|
+
*/
|
|
14
|
+
weight?: number;
|
|
15
|
+
}
|
|
16
|
+
export declare const ElmSpinner: (props: ElmSpinnerProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=ElmSpinner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmSpinner.d.ts","sourceRoot":"","sources":["../../../src/components/fallback/ElmSpinner.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;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,4CAehD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmSpinner } from "./ElmSpinner";
|
|
3
|
+
declare const meta: Meta<typeof ElmSpinner>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmSpinner.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmSpinner.stories.d.ts","sourceRoot":"","sources":["../../../src/components/fallback/ElmSpinner.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,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,KAAU,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmUnsupportedBlockCSSVariables {
|
|
4
|
+
}
|
|
5
|
+
export interface ElmUnsupportedBlockProps {
|
|
6
|
+
style?: React.CSSProperties & ElmUnsupportedBlockCSSVariables;
|
|
7
|
+
/**
|
|
8
|
+
* Optional details text displayed below the unsupported block message.
|
|
9
|
+
*/
|
|
10
|
+
details?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const ElmUnsupportedBlock: (props: ElmUnsupportedBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=ElmUnsupportedBlock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmUnsupportedBlock.d.ts","sourceRoot":"","sources":["../../../src/components/fallback/ElmUnsupportedBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,oBAAoB,CAAC;AAK5B,MAAM,WAAW,+BAA+B;CAAG;AAEnD,MAAM,WAAW,wBAAwB;IACvC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,+BAA+B,CAAC;IAE9D;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,mBAAmB,GAAI,OAAO,wBAAwB,4CAqBlE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmUnsupportedBlock } from "./ElmUnsupportedBlock";
|
|
3
|
+
declare const meta: Meta<typeof ElmUnsupportedBlock>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmUnsupportedBlock.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmUnsupportedBlock.stories.d.ts","sourceRoot":"","sources":["../../../src/components/fallback/ElmUnsupportedBlock.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,mBAAmB,CAK1C,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,23 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmButtonCSSVariables {
|
|
4
|
+
"--opacity"?: number;
|
|
5
|
+
"--color"?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ElmButtonProps extends React.PropsWithChildren {
|
|
8
|
+
style?: React.CSSProperties & ElmButtonCSSVariables;
|
|
9
|
+
/** Whether the button is in loading state. */
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
/** Whether the button is block. */
|
|
12
|
+
block?: boolean;
|
|
13
|
+
/** Whether the button is disabled. */
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
/** Custom color for the button. */
|
|
16
|
+
color?: string;
|
|
17
|
+
/** Whether the button is primary. */
|
|
18
|
+
primary?: boolean;
|
|
19
|
+
/** Click handler. */
|
|
20
|
+
onClick?: () => void;
|
|
21
|
+
}
|
|
22
|
+
export declare const ElmButton: ({ loading, block, disabled, primary, ...props }: ElmButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
//# sourceMappingURL=ElmButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmButton.d.ts","sourceRoot":"","sources":["../../../src/components/form/ElmButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAExE,OAAO,oBAAoB,CAAC;AAK5B,MAAM,WAAW,qBAAqB;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,iBAAiB;IAC7D,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,qBAAqB,CAAC;IAEpD,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,mCAAmC;IACnC,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,mCAAmC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,qCAAqC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,qBAAqB;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,SAAS,GAAI,iDAMvB,cAAc,4CAsDhB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmButton } from "./ElmButton";
|
|
3
|
+
declare const meta: Meta<typeof ElmButton>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Block: Story;
|
|
8
|
+
export declare const Loading: Story;
|
|
9
|
+
export declare const Disabled: Story;
|
|
10
|
+
export declare const WithPrimary: Story;
|
|
11
|
+
//# sourceMappingURL=ElmButton.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmButton.stories.d.ts","sourceRoot":"","sources":["../../../src/components/form/ElmButton.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAQhC,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,KAAK,EAAE,KAEnB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAUzB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmCheckboxCSSVariables {
|
|
4
|
+
}
|
|
5
|
+
export interface ElmCheckboxProps {
|
|
6
|
+
style?: React.CSSProperties & ElmCheckboxCSSVariables;
|
|
7
|
+
/** The label displayed. */
|
|
8
|
+
label: string;
|
|
9
|
+
/** Whether the checkbox is checked. */
|
|
10
|
+
checked?: boolean;
|
|
11
|
+
/** Whether the checkbox is in a loading state. */
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
/** Whether the checkbox is disabled. */
|
|
14
|
+
disable?: boolean;
|
|
15
|
+
/** Called when the checked state changes. */
|
|
16
|
+
onChange?: (checked: boolean) => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const ElmCheckbox: ({ loading, disable, checked, ...props }: ElmCheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=ElmCheckbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmCheckbox.d.ts","sourceRoot":"","sources":["../../../src/components/form/ElmCheckbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,oBAAoB,CAAC;AAG5B,MAAM,WAAW,uBAAuB;CAAG;AAE3C,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,uBAAuB,CAAC;IAEtD,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IAEd,uCAAuC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,kDAAkD;IAClD,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,wCAAwC;IACxC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACvC;AAED,eAAO,MAAM,WAAW,GAAI,yCAKzB,gBAAgB,4CA8GlB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmCheckbox } from "./ElmCheckbox";
|
|
3
|
+
declare const meta: Meta<typeof ElmCheckbox>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmCheckbox.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmCheckbox.stories.d.ts","sourceRoot":"","sources":["../../../src/components/form/ElmCheckbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,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,KAWrB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmSelectOption {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ElmSelectCSSVariables {
|
|
9
|
+
"--highlight-color"?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ElmSelectProps {
|
|
12
|
+
style?: React.CSSProperties & ElmSelectCSSVariables;
|
|
13
|
+
/** Label displayed above the select. */
|
|
14
|
+
label: string;
|
|
15
|
+
/** Placeholder text when no option is selected. */
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
/** Whether the select is disabled. */
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/** Whether the select is in loading state. */
|
|
20
|
+
loading?: boolean;
|
|
21
|
+
/** List of options. */
|
|
22
|
+
options: ElmSelectOption[];
|
|
23
|
+
/** Currently selected option. */
|
|
24
|
+
selectedOption?: ElmSelectOption | null;
|
|
25
|
+
/** Called when an option is selected. */
|
|
26
|
+
onSelect?: (option: ElmSelectOption) => void;
|
|
27
|
+
}
|
|
28
|
+
export declare const ElmSelect: ({ disabled, loading, ...props }: ElmSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
//# sourceMappingURL=ElmSelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmSelect.d.ts","sourceRoot":"","sources":["../../../src/components/form/ElmSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAExE,OAAO,oBAAoB,CAAC;AAU5B,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,qBAAqB,CAAC;IAEpD,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAC;IAEd,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,uBAAuB;IACvB,OAAO,EAAE,eAAe,EAAE,CAAC;IAE3B,iCAAiC;IACjC,cAAc,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IAExC,yCAAyC;IACzC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;CAC9C;AAED,eAAO,MAAM,SAAS,GAAI,iCAIvB,cAAc,4CAuGhB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmSelect } from "./ElmSelect";
|
|
3
|
+
declare const meta: Meta<typeof ElmSelect>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmSelect.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmSelect.stories.d.ts","sourceRoot":"","sources":["../../../src/components/form/ElmSelect.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AA2BxC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAKhC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAmBrB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "@styles/global.css";
|
|
3
|
+
export interface ElmSwitchCSSVariables {
|
|
4
|
+
"--color"?: string;
|
|
5
|
+
"--padding"?: string;
|
|
6
|
+
"--size"?: string;
|
|
7
|
+
"--width"?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ElmSwitchProps {
|
|
10
|
+
style?: React.CSSProperties & ElmSwitchCSSVariables;
|
|
11
|
+
/** The color of the switch when checked. */
|
|
12
|
+
color?: string;
|
|
13
|
+
/** The size of the switch. */
|
|
14
|
+
size?: React.CSSProperties["width"];
|
|
15
|
+
/** Whether the switch is checked. */
|
|
16
|
+
checked?: boolean;
|
|
17
|
+
/** Whether the switch is disabled. */
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/** Called when the checked state changes. */
|
|
20
|
+
onChange?: (checked: boolean) => void;
|
|
21
|
+
}
|
|
22
|
+
export declare const ElmSwitch: ({ color, size, disabled, checked, ...props }: ElmSwitchProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
//# sourceMappingURL=ElmSwitch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmSwitch.d.ts","sourceRoot":"","sources":["../../../src/components/form/ElmSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,oBAAoB,CAAC;AAG5B,MAAM,WAAW,qBAAqB;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,qBAAqB,CAAC;IAEpD,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,8BAA8B;IAC9B,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAEpC,qCAAqC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACvC;AAED,eAAO,MAAM,SAAS,GAAI,8CAMvB,cAAc,4CAgDhB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ElmSwitch } from "./ElmSwitch";
|
|
3
|
+
declare const meta: Meta<typeof ElmSwitch>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=ElmSwitch.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElmSwitch.stories.d.ts","sourceRoot":"","sources":["../../../src/components/form/ElmSwitch.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAKhC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC"}
|