@pathscale/ui 0.1.0 → 1.2.0
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/LICENSE +1 -0
- package/README.md +49 -2
- package/dist/components/accordion/Accordion.d.ts +26 -0
- package/dist/components/accordion/Accordion.js +180 -0
- package/dist/components/accordion/collapse.css +248 -0
- package/dist/components/accordion/index.d.ts +1 -0
- package/dist/components/accordion/index.js +3 -0
- package/dist/components/alert/Alert.css +116 -0
- package/dist/components/alert/Alert.d.ts +34 -0
- package/dist/components/alert/Alert.js +195 -0
- package/dist/components/alert/index.d.ts +1 -0
- package/dist/components/alert/index.js +8 -0
- package/dist/components/artboard/Artboard.d.ts +9 -0
- package/dist/components/artboard/Artboard.js +42 -0
- package/dist/components/artboard/index.d.ts +1 -0
- package/dist/components/artboard/index.js +3 -0
- package/dist/components/avatar/Avatar.css +124 -0
- package/dist/components/avatar/Avatar.d.ts +27 -0
- package/dist/components/avatar/Avatar.js +159 -0
- package/dist/components/avatar/AvatarGroup.d.ts +15 -0
- package/dist/components/avatar/AvatarGroup.js +52 -0
- package/dist/components/avatar/index.d.ts +1 -8
- package/dist/components/avatar/index.js +6 -1
- package/dist/components/background/Background.d.ts +5 -0
- package/dist/components/background/Background.js +22 -0
- package/dist/components/background/index.d.ts +1 -0
- package/dist/components/background/index.js +3 -0
- package/dist/components/badge/Badge.css +164 -0
- package/dist/components/badge/Badge.d.ts +26 -0
- package/dist/components/badge/Badge.js +98 -0
- package/dist/components/badge/index.d.ts +9 -0
- package/dist/components/badge/index.js +11 -0
- package/dist/components/bottom-sheet/BottomSheet.d.ts +11 -0
- package/dist/components/bottom-sheet/BottomSheet.js +109 -0
- package/dist/components/bottom-sheet/index.d.ts +2 -0
- package/dist/components/bottom-sheet/index.js +3 -0
- package/dist/components/breadcrumbs/Breadcrumbs.css +63 -0
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts +20 -0
- package/dist/components/breadcrumbs/Breadcrumbs.js +117 -0
- package/dist/components/breadcrumbs/index.d.ts +1 -0
- package/dist/components/breadcrumbs/index.js +5 -0
- package/dist/components/browsermockup/BrowserMockup.d.ts +10 -0
- package/dist/components/browsermockup/BrowserMockup.js +55 -0
- package/dist/components/browsermockup/index.d.ts +2 -0
- package/dist/components/browsermockup/index.js +3 -0
- package/dist/components/button/Button.css +184 -0
- package/dist/components/button/Button.d.ts +16 -0
- package/dist/components/button/Button.js +70 -0
- package/dist/components/button/index.d.ts +2 -9
- package/dist/components/button/index.js +3 -1
- package/dist/components/calendar/Calendar.d.ts +28 -0
- package/dist/components/calendar/Calendar.js +194 -0
- package/dist/components/calendar/index.d.ts +1 -0
- package/dist/components/calendar/index.js +3 -0
- package/dist/components/calendar/input.css +277 -0
- package/dist/components/card/Card.d.ts +29 -0
- package/dist/components/card/Card.js +98 -0
- package/dist/components/card/CardActions.d.ts +4 -0
- package/dist/components/card/CardActions.js +15 -0
- package/dist/components/card/CardBody.d.ts +4 -0
- package/dist/components/card/CardBody.js +15 -0
- package/dist/components/card/CardImage.d.ts +3 -0
- package/dist/components/card/CardImage.js +10 -0
- package/dist/components/card/CardTitle.d.ts +6 -0
- package/dist/components/card/CardTitle.js +13 -0
- package/dist/components/card/card.css +171 -0
- package/dist/components/card/index.d.ts +1 -0
- package/dist/components/card/index.js +3 -0
- package/dist/components/carousel/Carousel.d.ts +16 -0
- package/dist/components/carousel/Carousel.js +70 -0
- package/dist/components/carousel/CarouselItem.d.ts +6 -0
- package/dist/components/carousel/CarouselItem.js +27 -0
- package/dist/components/carousel/carousel.css +39 -0
- package/dist/components/carousel/index.d.ts +3 -0
- package/dist/components/carousel/index.js +3 -0
- package/dist/components/chatbubble/ChatBubble.d.ts +14 -0
- package/dist/components/chatbubble/ChatBubble.js +48 -0
- package/dist/components/chatbubble/ChatBubbleAvatar.d.ts +10 -0
- package/dist/components/chatbubble/ChatBubbleAvatar.js +42 -0
- package/dist/components/chatbubble/ChatBubbleFooter.d.ts +5 -0
- package/dist/components/chatbubble/ChatBubbleFooter.js +14 -0
- package/dist/components/chatbubble/ChatBubbleHeader.d.ts +5 -0
- package/dist/components/chatbubble/ChatBubbleHeader.js +14 -0
- package/dist/components/chatbubble/ChatBubbleMessage.d.ts +7 -0
- package/dist/components/chatbubble/ChatBubbleMessage.js +28 -0
- package/dist/components/chatbubble/ChatBubbleTime.d.ts +5 -0
- package/dist/components/chatbubble/ChatBubbleTime.js +14 -0
- package/dist/components/chatbubble/chat.css +153 -0
- package/dist/components/chatbubble/index.d.ts +1 -0
- package/dist/components/chatbubble/index.js +3 -0
- package/dist/components/checkbox/Checkbox.css +183 -0
- package/dist/components/checkbox/Checkbox.d.ts +16 -0
- package/dist/components/checkbox/Checkbox.js +139 -0
- package/dist/components/checkbox/index.d.ts +1 -0
- package/dist/components/checkbox/index.js +3 -0
- package/dist/components/codemockup/CodeMockup.d.ts +5 -0
- package/dist/components/codemockup/CodeMockup.js +33 -0
- package/dist/components/codemockup/CodeMockupLine.d.ts +12 -0
- package/dist/components/codemockup/CodeMockupLine.js +53 -0
- package/dist/components/codemockup/index.d.ts +2 -0
- package/dist/components/codemockup/index.js +5 -0
- package/dist/components/collapse/Collapse.d.ts +21 -0
- package/dist/components/collapse/Collapse.js +104 -0
- package/dist/components/collapse/CollapseContent.d.ts +4 -0
- package/dist/components/collapse/CollapseContent.js +15 -0
- package/dist/components/collapse/CollapseDetails.d.ts +17 -0
- package/dist/components/collapse/CollapseDetails.js +33 -0
- package/dist/components/collapse/CollapseTitle.d.ts +9 -0
- package/dist/components/collapse/CollapseTitle.js +47 -0
- package/dist/components/collapse/collapse.css +248 -0
- package/dist/components/collapse/index.d.ts +4 -0
- package/dist/components/collapse/index.js +10 -0
- package/dist/components/colorpicker/AlphaSlider.d.ts +7 -0
- package/dist/components/colorpicker/AlphaSlider.js +107 -0
- package/dist/components/colorpicker/ColorInput.d.ts +7 -0
- package/dist/components/colorpicker/ColorInput.js +88 -0
- package/dist/components/colorpicker/ColorPicker.d.ts +18 -0
- package/dist/components/colorpicker/ColorPicker.js +264 -0
- package/dist/components/colorpicker/ColorPickerFlowerSelector.d.ts +3 -0
- package/dist/components/colorpicker/ColorPickerFlowerSelector.js +9 -0
- package/dist/components/colorpicker/ColorPickerGradientSelector.d.ts +3 -0
- package/dist/components/colorpicker/ColorPickerGradientSelector.js +9 -0
- package/dist/components/colorpicker/ColorPickerWheelSelector.d.ts +3 -0
- package/dist/components/colorpicker/ColorPickerWheelSelector.js +9 -0
- package/dist/components/colorpicker/ColorPreview.d.ts +11 -0
- package/dist/components/colorpicker/ColorPreview.js +47 -0
- package/dist/components/colorpicker/ColorSwatches.d.ts +8 -0
- package/dist/components/colorpicker/ColorSwatches.js +67 -0
- package/dist/components/colorpicker/ColorUtils.d.ts +58 -0
- package/dist/components/colorpicker/ColorUtils.js +216 -0
- package/dist/components/colorpicker/ColorWheel.d.ts +7 -0
- package/dist/components/colorpicker/ColorWheel.js +106 -0
- package/dist/components/colorpicker/ColorWheelFlower.d.ts +7 -0
- package/dist/components/colorpicker/ColorWheelFlower.js +462 -0
- package/dist/components/colorpicker/HueSlider.d.ts +7 -0
- package/dist/components/colorpicker/HueSlider.js +105 -0
- package/dist/components/colorpicker/LightnessSlider.d.ts +7 -0
- package/dist/components/colorpicker/LightnessSlider.js +111 -0
- package/dist/components/colorpicker/SaturationBrightness.d.ts +7 -0
- package/dist/components/colorpicker/SaturationBrightness.js +120 -0
- package/dist/components/colorpicker/colorpickerContext.d.ts +11 -0
- package/dist/components/colorpicker/colorpickerContext.js +8 -0
- package/dist/components/colorpicker/index.d.ts +26 -0
- package/dist/components/colorpicker/index.js +31 -0
- package/dist/components/confirm-dialog/ConfirmDialog.d.ts +15 -0
- package/dist/components/confirm-dialog/ConfirmDialog.js +102 -0
- package/dist/components/confirm-dialog/index.d.ts +2 -0
- package/dist/components/confirm-dialog/index.js +3 -0
- package/dist/components/connectionstatus/ConnectionStatus.d.ts +59 -0
- package/dist/components/connectionstatus/ConnectionStatus.js +197 -0
- package/dist/components/connectionstatus/index.d.ts +2 -0
- package/dist/components/connectionstatus/index.js +3 -0
- package/dist/components/copy-button/CopyButton.d.ts +11 -0
- package/dist/components/copy-button/CopyButton.js +70 -0
- package/dist/components/copy-button/index.d.ts +2 -0
- package/dist/components/copy-button/index.js +3 -0
- package/dist/components/countdown/Countdown.d.ts +8 -0
- package/dist/components/countdown/Countdown.js +37 -0
- package/dist/components/countdown/countdown.css +58 -0
- package/dist/components/countdown/index.d.ts +1 -0
- package/dist/components/countdown/index.js +3 -0
- package/dist/components/diff/Diff.d.ts +8 -0
- package/dist/components/diff/Diff.js +29 -0
- package/dist/components/diff/diff.css +162 -0
- package/dist/components/diff/index.d.ts +1 -0
- package/dist/components/diff/index.js +3 -0
- package/dist/components/divider/Divider.d.ts +21 -0
- package/dist/components/divider/Divider.js +41 -0
- package/dist/components/divider/Divider.styles.d.ts +25 -0
- package/dist/components/divider/Divider.styles.js +71 -0
- package/dist/components/divider/index.d.ts +3 -0
- package/dist/components/divider/index.js +3 -0
- package/dist/components/dock/Dock.d.ts +15 -0
- package/dist/components/dock/Dock.js +40 -0
- package/dist/components/dock/DockItem.d.ts +9 -0
- package/dist/components/dock/DockItem.js +45 -0
- package/dist/components/dock/DockLabel.d.ts +6 -0
- package/dist/components/dock/DockLabel.js +22 -0
- package/dist/components/dock/dock.css +147 -0
- package/dist/components/dock/index.d.ts +3 -0
- package/dist/components/dock/index.js +3 -0
- package/dist/components/drawer/Drawer.css +305 -0
- package/dist/components/drawer/Drawer.d.ts +73 -0
- package/dist/components/drawer/Drawer.js +470 -0
- package/dist/components/drawer/index.d.ts +1 -0
- package/dist/components/drawer/index.js +15 -0
- package/dist/components/dropdown/Dropdown.css +184 -0
- package/dist/components/dropdown/Dropdown.d.ts +38 -0
- package/dist/components/dropdown/Dropdown.js +488 -0
- package/dist/components/dropdown/index.d.ts +2 -0
- package/dist/components/dropdown/index.js +4 -0
- package/dist/components/dropdown-select/DropdownSelect.d.ts +22 -0
- package/dist/components/dropdown-select/DropdownSelect.js +296 -0
- package/dist/components/dropdown-select/index.d.ts +2 -0
- package/dist/components/dropdown-select/index.js +3 -0
- package/dist/components/empty-state/EmptyState.css +39 -0
- package/dist/components/empty-state/EmptyState.d.ts +32 -0
- package/dist/components/empty-state/EmptyState.js +146 -0
- package/dist/components/empty-state/index.d.ts +3 -0
- package/dist/components/empty-state/index.js +8 -0
- package/dist/components/fieldset/Fieldset.d.ts +11 -0
- package/dist/components/fieldset/Fieldset.js +73 -0
- package/dist/components/fieldset/index.d.ts +2 -0
- package/dist/components/fieldset/index.js +3 -0
- package/dist/components/fileinput/FileInput.d.ts +15 -0
- package/dist/components/fileinput/FileInput.js +51 -0
- package/dist/components/fileinput/index.d.ts +1 -0
- package/dist/components/fileinput/index.js +3 -0
- package/dist/components/fileinput/input.css +277 -0
- package/dist/components/flex/Flex.d.ts +18 -0
- package/dist/components/flex/Flex.js +101 -0
- package/dist/components/flex/index.d.ts +1 -0
- package/dist/components/flex/index.js +3 -0
- package/dist/components/floating-dock/FloatingDock.css +179 -0
- package/dist/components/floating-dock/FloatingDock.d.ts +39 -0
- package/dist/components/floating-dock/FloatingDock.js +615 -0
- package/dist/components/floating-dock/index.d.ts +2 -0
- package/dist/components/floating-dock/index.js +3 -0
- package/dist/components/footer/Footer.d.ts +12 -0
- package/dist/components/footer/Footer.js +41 -0
- package/dist/components/footer/FooterTitle.d.ts +4 -0
- package/dist/components/footer/FooterTitle.js +27 -0
- package/dist/components/footer/footer.css +51 -0
- package/dist/components/footer/index.d.ts +3 -0
- package/dist/components/footer/index.js +3 -0
- package/dist/components/form/Form.d.ts +17 -0
- package/dist/components/form/Form.js +17 -0
- package/dist/components/form/FormBase.d.ts +8 -0
- package/dist/components/form/FormBase.js +74 -0
- package/dist/components/form/FormDropdown.d.ts +25 -0
- package/dist/components/form/FormDropdown.js +139 -0
- package/dist/components/form/FormField.d.ts +14 -0
- package/dist/components/form/FormField.js +78 -0
- package/dist/components/form/Label.d.ts +7 -0
- package/dist/components/form/Label.js +31 -0
- package/dist/components/form/NumberField.d.ts +20 -0
- package/dist/components/form/NumberField.js +109 -0
- package/dist/components/form/PasswordField.d.ts +16 -0
- package/dist/components/form/PasswordField.js +113 -0
- package/dist/components/form/ValidatedForm.d.ts +26 -0
- package/dist/components/form/ValidatedForm.js +55 -0
- package/dist/components/form/index.d.ts +4 -0
- package/dist/components/form/index.js +6 -0
- package/dist/components/form-actions/FormActions.d.ts +14 -0
- package/dist/components/form-actions/FormActions.js +142 -0
- package/dist/components/form-actions/index.d.ts +2 -0
- package/dist/components/form-actions/index.js +3 -0
- package/dist/components/glass-panel/GlassPanel.d.ts +20 -0
- package/dist/components/glass-panel/GlassPanel.js +146 -0
- package/dist/components/glass-panel/index.d.ts +1 -0
- package/dist/components/glass-panel/index.js +3 -0
- package/dist/components/glow-card/GlowCard.css +65 -0
- package/dist/components/glow-card/GlowCard.d.ts +5 -0
- package/dist/components/glow-card/GlowCard.js +47 -0
- package/dist/components/glow-card/index.d.ts +2 -0
- package/dist/components/glow-card/index.js +3 -0
- package/dist/components/grid/Grid.d.ts +18 -0
- package/dist/components/grid/Grid.js +89 -0
- package/dist/components/grid/index.d.ts +1 -0
- package/dist/components/grid/index.js +3 -0
- package/dist/components/hero/Hero.d.ts +11 -0
- package/dist/components/hero/Hero.js +47 -0
- package/dist/components/hero/HeroContent.d.ts +6 -0
- package/dist/components/hero/HeroContent.js +31 -0
- package/dist/components/hero/HeroOverlay.d.ts +6 -0
- package/dist/components/hero/HeroOverlay.js +39 -0
- package/dist/components/hero/hero.css +38 -0
- package/dist/components/hero/index.d.ts +4 -0
- package/dist/components/hero/index.js +3 -0
- package/dist/components/icon/Icon.d.ts +11 -0
- package/dist/components/icon/Icon.js +38 -0
- package/dist/components/icon/index.d.ts +1 -0
- package/dist/components/icon/index.js +3 -0
- package/dist/components/immersive-landing/ImmersiveLanding.d.ts +8 -0
- package/dist/components/immersive-landing/ImmersiveLanding.js +218 -0
- package/dist/components/immersive-landing/ImmersiveLandingArrows.d.ts +4 -0
- package/dist/components/immersive-landing/ImmersiveLandingArrows.js +60 -0
- package/dist/components/immersive-landing/ImmersiveLandingContext.d.ts +3 -0
- package/dist/components/immersive-landing/ImmersiveLandingContext.js +8 -0
- package/dist/components/immersive-landing/ImmersiveLandingNavigation.d.ts +4 -0
- package/dist/components/immersive-landing/ImmersiveLandingNavigation.js +91 -0
- package/dist/components/immersive-landing/ImmersiveLandingPage.d.ts +4 -0
- package/dist/components/immersive-landing/ImmersiveLandingPage.js +46 -0
- package/dist/components/immersive-landing/components/CookieConsent.d.ts +3 -0
- package/dist/components/immersive-landing/components/CookieConsent.js +256 -0
- package/dist/components/immersive-landing/components/FirefoxPWABanner.d.ts +9 -0
- package/dist/components/immersive-landing/components/FirefoxPWABanner.js +173 -0
- package/dist/components/immersive-landing/components/PWAInstallPrompt.d.ts +3 -0
- package/dist/components/immersive-landing/components/PWAInstallPrompt.js +178 -0
- package/dist/components/immersive-landing/index.d.ts +7 -0
- package/dist/components/immersive-landing/index.js +14 -0
- package/dist/components/immersive-landing/types.d.ts +134 -0
- package/dist/components/immersive-landing/types.js +0 -0
- package/dist/components/immersive-landing/useImmersiveLanding.d.ts +2 -0
- package/dist/components/immersive-landing/useImmersiveLanding.js +151 -0
- package/dist/components/indicator/Indicator.d.ts +31 -0
- package/dist/components/indicator/Indicator.js +76 -0
- package/dist/components/indicator/index.d.ts +2 -0
- package/dist/components/indicator/index.js +3 -0
- package/dist/components/indicator/indicator.css +70 -0
- package/dist/components/input/Input.css +138 -0
- package/dist/components/input/Input.d.ts +45 -0
- package/dist/components/input/Input.js +286 -0
- package/dist/components/input/index.d.ts +3 -8
- package/dist/components/input/index.js +3 -1
- package/dist/components/join/Join.d.ts +9 -0
- package/dist/components/join/Join.js +41 -0
- package/dist/components/join/index.d.ts +2 -0
- package/dist/components/join/index.js +3 -0
- package/dist/components/kbd/Kbd.d.ts +5 -0
- package/dist/components/kbd/Kbd.js +22 -0
- package/dist/components/kbd/index.d.ts +1 -0
- package/dist/components/kbd/index.js +3 -0
- package/dist/components/kbd/kbd.css +55 -0
- package/dist/components/language-switcher/LanguageSwitcher.d.ts +31 -0
- package/dist/components/language-switcher/LanguageSwitcher.js +99 -0
- package/dist/components/language-switcher/createI18n.d.ts +102 -0
- package/dist/components/language-switcher/createI18n.js +85 -0
- package/dist/components/language-switcher/index.d.ts +3 -0
- package/dist/components/language-switcher/index.js +8 -0
- package/dist/components/link/Link.d.ts +13 -0
- package/dist/components/link/Link.js +70 -0
- package/dist/components/link/index.d.ts +1 -0
- package/dist/components/link/index.js +3 -0
- package/dist/components/link/link.css +153 -0
- package/dist/components/live-chat/LiveChatBubble.d.ts +53 -0
- package/dist/components/live-chat/LiveChatBubble.js +106 -0
- package/dist/components/live-chat/LiveChatPanel.d.ts +69 -0
- package/dist/components/live-chat/LiveChatPanel.js +359 -0
- package/dist/components/live-chat/index.d.ts +5 -0
- package/dist/components/live-chat/index.js +5 -0
- package/dist/components/live-chat/types.d.ts +13 -0
- package/dist/components/live-chat/types.js +0 -0
- package/dist/components/loading/Loading.css +131 -0
- package/dist/components/loading/Loading.d.ts +14 -0
- package/dist/components/loading/Loading.js +81 -0
- package/dist/components/loading/index.d.ts +1 -0
- package/dist/components/loading/index.js +3 -0
- package/dist/components/mask/Mask.d.ts +15 -0
- package/dist/components/mask/Mask.js +62 -0
- package/dist/components/mask/index.d.ts +3 -0
- package/dist/components/mask/index.js +3 -0
- package/dist/components/mask/mask.css +89 -0
- package/dist/components/menu/Menu.d.ts +22 -0
- package/dist/components/menu/Menu.js +51 -0
- package/dist/components/menu/MenuDetails.d.ts +8 -0
- package/dist/components/menu/MenuDetails.js +37 -0
- package/dist/components/menu/MenuDropdown.d.ts +12 -0
- package/dist/components/menu/MenuDropdown.js +48 -0
- package/dist/components/menu/MenuItem.d.ts +9 -0
- package/dist/components/menu/MenuItem.js +40 -0
- package/dist/components/menu/MenuTitle.d.ts +8 -0
- package/dist/components/menu/MenuTitle.js +22 -0
- package/dist/components/menu/index.d.ts +3 -0
- package/dist/components/menu/index.js +3 -0
- package/dist/components/menu/menu.css +364 -0
- package/dist/components/modal/Modal.d.ts +27 -0
- package/dist/components/modal/Modal.js +125 -0
- package/dist/components/modal/ModalActions.d.ts +3 -0
- package/dist/components/modal/ModalActions.js +14 -0
- package/dist/components/modal/ModalBody.d.ts +3 -0
- package/dist/components/modal/ModalBody.js +14 -0
- package/dist/components/modal/ModalHeader.d.ts +3 -0
- package/dist/components/modal/ModalHeader.js +15 -0
- package/dist/components/modal/ModalLegacy.d.ts +8 -0
- package/dist/components/modal/ModalLegacy.js +36 -0
- package/dist/components/modal/index.d.ts +6 -0
- package/dist/components/modal/index.js +3 -0
- package/dist/components/modal/modal.css +170 -0
- package/dist/components/navbar/Navbar.d.ts +16 -0
- package/dist/components/navbar/Navbar.js +54 -0
- package/dist/components/navbar/NavbarRow.d.ts +9 -0
- package/dist/components/navbar/NavbarRow.js +49 -0
- package/dist/components/navbar/NavbarSection.d.ts +8 -0
- package/dist/components/navbar/NavbarSection.js +38 -0
- package/dist/components/navbar/NavbarStack.d.ts +10 -0
- package/dist/components/navbar/NavbarStack.js +39 -0
- package/dist/components/navbar/index.d.ts +4 -0
- package/dist/components/navbar/index.js +3 -0
- package/dist/components/navbar/navbar.css +33 -0
- package/dist/components/noise-background/NoiseBackground.d.ts +25 -0
- package/dist/components/noise-background/NoiseBackground.js +200 -0
- package/dist/components/noise-background/index.d.ts +2 -0
- package/dist/components/noise-background/index.js +3 -0
- package/dist/components/pagination/Pagination.d.ts +5 -0
- package/dist/components/pagination/Pagination.js +17 -0
- package/dist/components/pagination/index.d.ts +2 -0
- package/dist/components/pagination/index.js +3 -0
- package/dist/components/phonemockup/PhoneMockup.d.ts +8 -0
- package/dist/components/phonemockup/PhoneMockup.js +44 -0
- package/dist/components/phonemockup/index.d.ts +1 -0
- package/dist/components/phonemockup/index.js +3 -0
- package/dist/components/progress/Progress.css +135 -0
- package/dist/components/progress/Progress.d.ts +36 -0
- package/dist/components/progress/Progress.js +197 -0
- package/dist/components/progress/index.d.ts +1 -0
- package/dist/components/progress/index.js +7 -0
- package/dist/components/props-table/PropsTable.d.ts +14 -0
- package/dist/components/props-table/PropsTable.js +56 -0
- package/dist/components/props-table/index.d.ts +2 -0
- package/dist/components/props-table/index.js +3 -0
- package/dist/components/radialprogress/RadialProgress.d.ts +10 -0
- package/dist/components/radialprogress/RadialProgress.js +47 -0
- package/dist/components/radialprogress/index.d.ts +1 -0
- package/dist/components/radialprogress/index.js +3 -0
- package/dist/components/radio/Radio.css +129 -0
- package/dist/components/radio/Radio.d.ts +12 -0
- package/dist/components/radio/Radio.js +116 -0
- package/dist/components/radio/index.d.ts +1 -0
- package/dist/components/radio/index.js +3 -0
- package/dist/components/radio-group/RadioGroup.css +58 -0
- package/dist/components/radio-group/RadioGroup.d.ts +22 -0
- package/dist/components/radio-group/RadioGroup.js +147 -0
- package/dist/components/radio-group/context.d.ts +9 -0
- package/dist/components/radio-group/context.js +3 -0
- package/dist/components/radio-group/index.d.ts +4 -0
- package/dist/components/radio-group/index.js +4 -0
- package/dist/components/range/Range.d.ts +13 -0
- package/dist/components/range/Range.js +85 -0
- package/dist/components/range/index.d.ts +1 -0
- package/dist/components/range/index.js +3 -0
- package/dist/components/range/range.css +174 -0
- package/dist/components/range-slider/RangeSlider.d.ts +22 -0
- package/dist/components/range-slider/RangeSlider.js +191 -0
- package/dist/components/range-slider/index.d.ts +2 -0
- package/dist/components/range-slider/index.js +3 -0
- package/dist/components/range-slider/range.css +136 -0
- package/dist/components/rating/Rating.d.ts +24 -0
- package/dist/components/rating/Rating.js +54 -0
- package/dist/components/rating/RatingHidden.d.ts +4 -0
- package/dist/components/rating/RatingHidden.js +29 -0
- package/dist/components/rating/RatingItem.d.ts +9 -0
- package/dist/components/rating/RatingItem.js +62 -0
- package/dist/components/rating/index.d.ts +4 -0
- package/dist/components/rating/index.js +3 -0
- package/dist/components/rating/rating.css +106 -0
- package/dist/components/select/Select.d.ts +16 -0
- package/dist/components/select/Select.js +62 -0
- package/dist/components/select/index.d.ts +1 -0
- package/dist/components/select/index.js +3 -0
- package/dist/components/select/select.css +351 -0
- package/dist/components/showcase/ShowcaseBlock.d.ts +10 -0
- package/dist/components/showcase/ShowcaseBlock.js +48 -0
- package/dist/components/showcase/index.d.ts +2 -0
- package/dist/components/showcase/index.js +3 -0
- package/dist/components/showcase-section/ShowcaseSection.d.ts +8 -0
- package/dist/components/showcase-section/ShowcaseSection.js +73 -0
- package/dist/components/showcase-section/index.d.ts +2 -0
- package/dist/components/showcase-section/index.js +3 -0
- package/dist/components/sidenav/Sidenav.css +176 -0
- package/dist/components/sidenav/Sidenav.d.ts +14 -0
- package/dist/components/sidenav/Sidenav.js +66 -0
- package/dist/components/sidenav/SidenavButton.d.ts +9 -0
- package/dist/components/sidenav/SidenavButton.js +41 -0
- package/dist/components/sidenav/SidenavGroup.d.ts +10 -0
- package/dist/components/sidenav/SidenavGroup.js +45 -0
- package/dist/components/sidenav/SidenavItem.d.ts +8 -0
- package/dist/components/sidenav/SidenavItem.js +37 -0
- package/dist/components/sidenav/SidenavLink.d.ts +9 -0
- package/dist/components/sidenav/SidenavLink.js +36 -0
- package/dist/components/sidenav/SidenavMenu.d.ts +5 -0
- package/dist/components/sidenav/SidenavMenu.js +31 -0
- package/dist/components/sidenav/index.d.ts +12 -0
- package/dist/components/sidenav/index.js +13 -0
- package/dist/components/size-picker/SizePicker.d.ts +10 -0
- package/dist/components/size-picker/SizePicker.js +63 -0
- package/dist/components/size-picker/index.d.ts +3 -0
- package/dist/components/size-picker/index.js +6 -0
- package/dist/components/size-picker/sizeStore.d.ts +8 -0
- package/dist/components/size-picker/sizeStore.js +36 -0
- package/dist/components/skeleton/Skeleton.css +95 -0
- package/dist/components/skeleton/Skeleton.d.ts +9 -0
- package/dist/components/skeleton/Skeleton.js +38 -0
- package/dist/components/skeleton/index.d.ts +1 -0
- package/dist/components/skeleton/index.js +3 -0
- package/dist/components/skip-link/SkipLink.d.ts +7 -0
- package/dist/components/skip-link/SkipLink.js +34 -0
- package/dist/components/skip-link/index.d.ts +2 -0
- package/dist/components/skip-link/index.js +3 -0
- package/dist/components/stack/Stack.d.ts +18 -0
- package/dist/components/stack/Stack.js +53 -0
- package/dist/components/stack/index.d.ts +2 -0
- package/dist/components/stack/index.js +3 -0
- package/dist/components/stack/stack.css +90 -0
- package/dist/components/stat-card/StatCard.d.ts +22 -0
- package/dist/components/stat-card/StatCard.js +46 -0
- package/dist/components/stat-card/StatCardSection.d.ts +5 -0
- package/dist/components/stat-card/StatCardSection.js +39 -0
- package/dist/components/stat-card/index.d.ts +1 -0
- package/dist/components/stat-card/index.js +3 -0
- package/dist/components/stats/Stat.d.ts +13 -0
- package/dist/components/stats/Stat.js +51 -0
- package/dist/components/stats/StatSection.d.ts +6 -0
- package/dist/components/stats/StatSection.js +29 -0
- package/dist/components/stats/Stats.d.ts +15 -0
- package/dist/components/stats/Stats.js +29 -0
- package/dist/components/stats/index.d.ts +1 -0
- package/dist/components/stats/index.js +3 -0
- package/dist/components/stats/stat.css +67 -0
- package/dist/components/status/Status.d.ts +8 -0
- package/dist/components/status/Status.js +30 -0
- package/dist/components/status/index.d.ts +2 -0
- package/dist/components/status/index.js +3 -0
- package/dist/components/steps/Step.d.ts +20 -0
- package/dist/components/steps/Step.js +88 -0
- package/dist/components/steps/Steps.d.ts +18 -0
- package/dist/components/steps/Steps.js +80 -0
- package/dist/components/steps/index.d.ts +3 -0
- package/dist/components/steps/index.js +3 -0
- package/dist/components/steps/step.css +179 -0
- package/dist/components/streaming-table/StreamingTable.d.ts +28 -0
- package/dist/components/streaming-table/StreamingTable.js +345 -0
- package/dist/components/streaming-table/createRowStore.d.ts +7 -0
- package/dist/components/streaming-table/createRowStore.js +18 -0
- package/dist/components/streaming-table/createStreamingTableStore.d.ts +13 -0
- package/dist/components/streaming-table/createStreamingTableStore.js +68 -0
- package/dist/components/streaming-table/index.d.ts +5 -0
- package/dist/components/streaming-table/index.js +5 -0
- package/dist/components/streaming-table/types.d.ts +46 -0
- package/dist/components/streaming-table/types.js +0 -0
- package/dist/components/svgbackground/SvgBackground.d.ts +21 -0
- package/dist/components/svgbackground/SvgBackground.js +413 -0
- package/dist/components/svgbackground/index.d.ts +2 -0
- package/dist/components/svgbackground/index.js +3 -0
- package/dist/components/swap/Swap.d.ts +13 -0
- package/dist/components/swap/Swap.js +57 -0
- package/dist/components/swap/index.d.ts +1 -0
- package/dist/components/swap/index.js +3 -0
- package/dist/components/swap/swap.css +92 -0
- package/dist/components/switch-field/SwitchField.d.ts +19 -0
- package/dist/components/switch-field/SwitchField.js +71 -0
- package/dist/components/switch-field/index.d.ts +2 -0
- package/dist/components/switch-field/index.js +3 -0
- package/dist/components/table/EnhancedTable.d.ts +46 -0
- package/dist/components/table/EnhancedTable.js +727 -0
- package/dist/components/table/Table.d.ts +19 -0
- package/dist/components/table/Table.js +57 -0
- package/dist/components/table/TableBody.d.ts +5 -0
- package/dist/components/table/TableBody.js +30 -0
- package/dist/components/table/TableCell.d.ts +7 -0
- package/dist/components/table/TableCell.js +34 -0
- package/dist/components/table/TableFooter.d.ts +7 -0
- package/dist/components/table/TableFooter.js +45 -0
- package/dist/components/table/TableHead.d.ts +7 -0
- package/dist/components/table/TableHead.js +45 -0
- package/dist/components/table/TableHeadCell.d.ts +7 -0
- package/dist/components/table/TableHeadCell.js +34 -0
- package/dist/components/table/TableRow.d.ts +8 -0
- package/dist/components/table/TableRow.js +34 -0
- package/dist/components/table/index.d.ts +4 -0
- package/dist/components/table/index.js +5 -0
- package/dist/components/table/table.css +148 -0
- package/dist/components/tabs/Tabs.css +202 -0
- package/dist/components/tabs/Tabs.d.ts +44 -0
- package/dist/components/tabs/Tabs.js +387 -0
- package/dist/components/tabs/index.d.ts +2 -0
- package/dist/components/tabs/index.js +4 -0
- package/dist/components/textarea/Textarea.d.ts +15 -0
- package/dist/components/textarea/Textarea.js +53 -0
- package/dist/components/textarea/index.d.ts +1 -8
- package/dist/components/textarea/index.js +3 -1
- package/dist/components/textarea/textarea.css +191 -0
- package/dist/components/theme-color-picker/ThemeColorPicker.d.ts +23 -0
- package/dist/components/theme-color-picker/ThemeColorPicker.js +151 -0
- package/dist/components/theme-color-picker/hueShift.d.ts +14 -0
- package/dist/components/theme-color-picker/hueShift.js +492 -0
- package/dist/components/theme-color-picker/index.d.ts +3 -0
- package/dist/components/theme-color-picker/index.js +7 -0
- package/dist/components/timeline/Timeline.d.ts +12 -0
- package/dist/components/timeline/Timeline.js +42 -0
- package/dist/components/timeline/TimelineEnd.d.ts +6 -0
- package/dist/components/timeline/TimelineEnd.js +28 -0
- package/dist/components/timeline/TimelineItem.d.ts +8 -0
- package/dist/components/timeline/TimelineItem.js +47 -0
- package/dist/components/timeline/TimelineMiddle.d.ts +4 -0
- package/dist/components/timeline/TimelineMiddle.js +25 -0
- package/dist/components/timeline/TimelineStart.d.ts +6 -0
- package/dist/components/timeline/TimelineStart.js +28 -0
- package/dist/components/timeline/index.d.ts +5 -0
- package/dist/components/timeline/index.js +11 -0
- package/dist/components/timeline/timeline.css +286 -0
- package/dist/components/toast/Toast.d.ts +22 -0
- package/dist/components/toast/Toast.js +54 -0
- package/dist/components/toast/index.d.ts +1 -0
- package/dist/components/toast/index.js +3 -0
- package/dist/components/toast/toast.css +58 -0
- package/dist/components/toastcontainer/ToastContainer.d.ts +3 -0
- package/dist/components/toastcontainer/ToastContainer.js +15 -0
- package/dist/components/toastcontainer/ToastStack.d.ts +17 -0
- package/dist/components/toastcontainer/ToastStack.js +181 -0
- package/dist/components/toastcontainer/index.d.ts +3 -0
- package/dist/components/toastcontainer/index.js +5 -0
- package/dist/components/toggle/Toggle.d.ts +16 -0
- package/dist/components/toggle/Toggle.js +124 -0
- package/dist/components/toggle/index.d.ts +1 -0
- package/dist/components/toggle/index.js +3 -0
- package/dist/components/toggle/toggle.css +228 -0
- package/dist/components/tooltip/Tooltip.css +161 -0
- package/dist/components/tooltip/Tooltip.d.ts +35 -0
- package/dist/components/tooltip/Tooltip.js +204 -0
- package/dist/components/tooltip/index.d.ts +1 -0
- package/dist/components/tooltip/index.js +7 -0
- package/dist/components/types.d.ts +15 -0
- package/dist/components/types.js +8 -0
- package/dist/components/utils.d.ts +9 -0
- package/dist/components/utils.js +46 -0
- package/dist/components/video-preview/VideoPreview.d.ts +21 -0
- package/dist/components/video-preview/VideoPreview.js +55 -0
- package/dist/components/video-preview/index.d.ts +2 -0
- package/dist/components/video-preview/index.js +3 -0
- package/dist/components/windowmockup/WindowMockup.d.ts +11 -0
- package/dist/components/windowmockup/WindowMockup.js +85 -0
- package/dist/components/windowmockup/index.d.ts +1 -0
- package/dist/components/windowmockup/index.js +3 -0
- package/dist/index.css +72 -70
- package/dist/index.d.ts +131 -7
- package/dist/index.js +268 -4
- package/dist/lib/iterable.d.ts +9 -0
- package/dist/lib/iterable.js +6 -0
- package/dist/lib/props/index.d.ts +1 -0
- package/dist/lib/props/index.js +0 -0
- package/dist/lib/props/types.d.ts +1 -0
- package/dist/lib/props/types.js +0 -0
- package/dist/lib/refs/index.d.ts +2 -0
- package/dist/lib/refs/index.js +3 -0
- package/dist/lib/refs/mergeRefs.d.ts +7 -0
- package/dist/lib/refs/mergeRefs.js +5 -0
- package/dist/lib/refs/types.d.ts +1 -0
- package/dist/lib/refs/types.js +0 -0
- package/dist/lib/style/classes.d.ts +33 -0
- package/dist/lib/style/classes.js +40 -0
- package/dist/lib/style/index.d.ts +1 -0
- package/dist/lib/style/index.js +4 -0
- package/dist/lib/tag/createIsButton.d.ts +21 -0
- package/dist/lib/tag/createIsButton.js +23 -0
- package/dist/lib/tag/createTagName.d.ts +12 -0
- package/dist/lib/tag/createTagName.js +5 -0
- package/dist/lib/tag/index.d.ts +2 -0
- package/dist/lib/tag/index.js +7 -0
- package/dist/motion/driver.d.ts +5 -0
- package/dist/motion/driver.js +13 -0
- package/dist/motion/easing.d.ts +2 -0
- package/dist/motion/easing.js +18 -0
- package/dist/motion/engine.d.ts +4 -0
- package/dist/motion/engine.js +85 -0
- package/dist/motion/index.d.ts +11 -0
- package/dist/motion/index.js +34 -0
- package/dist/motion/popmotion.d.ts +6 -0
- package/dist/motion/popmotion.js +6 -0
- package/dist/motion/presets.d.ts +10 -0
- package/dist/motion/presets.js +203 -0
- package/dist/motion/reduced-motion.d.ts +1 -0
- package/dist/motion/reduced-motion.js +2 -0
- package/dist/motion/route.d.ts +11 -0
- package/dist/motion/route.js +24 -0
- package/dist/motion/solid/MotionDiv.d.ts +13 -0
- package/dist/motion/solid/MotionDiv.js +76 -0
- package/dist/motion/solid/index.d.ts +2 -0
- package/dist/motion/solid/index.js +3 -0
- package/dist/motion/system.d.ts +20 -0
- package/dist/motion/system.js +59 -0
- package/dist/motion/tokens.d.ts +6 -0
- package/dist/motion/tokens.js +42 -0
- package/dist/motion/types.d.ts +39 -0
- package/dist/motion/types.js +0 -0
- package/dist/stores/index.d.ts +1 -0
- package/dist/stores/index.js +1 -0
- package/dist/stores/toastStore.d.ts +24 -0
- package/dist/stores/toastStore.js +64 -0
- package/dist/styles/base/index.css +43 -0
- package/dist/styles/icons/generated-icons.css +1 -0
- package/dist/styles/themes/dark.css +88 -0
- package/dist/styles/themes/light.css +90 -0
- package/package.json +104 -40
- package/dist/Avatar-CzIirpVq.d.ts +0 -33
- package/dist/Button-BOYHKShy.d.ts +0 -63
- package/dist/Input-CvNxe1rq.d.ts +0 -34
- package/dist/Textarea-5_oQknZn.d.ts +0 -37
- package/dist/chunk/3MUBOGZG.js +0 -213
- package/dist/chunk/EB7KXR65.js +0 -102
- package/dist/chunk/G6RG4LR7.js +0 -87
- package/dist/chunk/HEJAQSH5.jsx +0 -100
- package/dist/chunk/HKS7ET6T.js +0 -56
- package/dist/chunk/KACNXPUM.jsx +0 -103
- package/dist/chunk/NLD5D3P7.jsx +0 -94
- package/dist/chunk/P7WPLZNA.jsx +0 -59
- package/dist/chunk/UTRNHAP4.js +0 -95
- package/dist/chunk/VMEDFWWG.js +0 -102
- package/dist/chunk/WB6NEEQV.jsx +0 -107
- package/dist/chunk/YZ3ID3UY.jsx +0 -226
- package/dist/classes-B_S9K-9I.d.ts +0 -13
- package/dist/components/avatar/index.jsx +0 -7
- package/dist/components/button/index.jsx +0 -8
- package/dist/components/input/index.jsx +0 -7
- package/dist/components/polymorphic/index.d.ts +0 -35
- package/dist/components/polymorphic/index.js +0 -1
- package/dist/components/polymorphic/index.jsx +0 -8
- package/dist/components/textarea/index.jsx +0 -7
- package/dist/index.jsx +0 -20
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__ from "solid-js/web";
|
|
2
|
+
import "./stat.css";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__ from "solid-js";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__ from "tailwind-merge";
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE_clsx__ from "clsx";
|
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE__StatSection_js_715654c8__ from "./StatSection.js";
|
|
7
|
+
var _tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>");
|
|
8
|
+
const Stat = (props)=>{
|
|
9
|
+
const [local, rest] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
10
|
+
"class",
|
|
11
|
+
"className",
|
|
12
|
+
"dataTheme"
|
|
13
|
+
]);
|
|
14
|
+
const classes = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>(0, __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__.twMerge)("stat", (0, __WEBPACK_EXTERNAL_MODULE_clsx__.clsx)(local.class, local.className)));
|
|
15
|
+
return (()=>{
|
|
16
|
+
var _el$ = _tmpl$();
|
|
17
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(rest, {
|
|
18
|
+
get ["class"] () {
|
|
19
|
+
return classes();
|
|
20
|
+
},
|
|
21
|
+
get ["data-theme"] () {
|
|
22
|
+
return local.dataTheme;
|
|
23
|
+
}
|
|
24
|
+
}), false, true);
|
|
25
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, ()=>props.children);
|
|
26
|
+
return _el$;
|
|
27
|
+
})();
|
|
28
|
+
};
|
|
29
|
+
const StatTitle = (props)=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE__StatSection_js_715654c8__["default"], (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|
|
30
|
+
section: "title"
|
|
31
|
+
}, props));
|
|
32
|
+
const StatValue = (props)=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE__StatSection_js_715654c8__["default"], (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|
|
33
|
+
section: "value"
|
|
34
|
+
}, props));
|
|
35
|
+
const StatDesc = (props)=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE__StatSection_js_715654c8__["default"], (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|
|
36
|
+
section: "desc"
|
|
37
|
+
}, props));
|
|
38
|
+
const StatFigure = (props)=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE__StatSection_js_715654c8__["default"], (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|
|
39
|
+
section: "figure"
|
|
40
|
+
}, props));
|
|
41
|
+
const StatActions = (props)=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE__StatSection_js_715654c8__["default"], (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|
|
42
|
+
section: "actions"
|
|
43
|
+
}, props));
|
|
44
|
+
const stats_Stat = Object.assign(Stat, {
|
|
45
|
+
Title: StatTitle,
|
|
46
|
+
Value: StatValue,
|
|
47
|
+
Desc: StatDesc,
|
|
48
|
+
Figure: StatFigure,
|
|
49
|
+
Actions: StatActions
|
|
50
|
+
});
|
|
51
|
+
export { stats_Stat as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type JSX } from "solid-js";
|
|
2
|
+
export type StatSectionProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
3
|
+
section: "title" | "value" | "desc" | "figure" | "actions";
|
|
4
|
+
};
|
|
5
|
+
declare const StatSection: (props: StatSectionProps) => JSX.Element;
|
|
6
|
+
export default StatSection;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__ from "solid-js/web";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__ from "solid-js";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__ from "tailwind-merge";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE_clsx__ from "clsx";
|
|
5
|
+
var _tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>");
|
|
6
|
+
const StatSection_StatSection = (props)=>{
|
|
7
|
+
const [local, rest] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
8
|
+
"class",
|
|
9
|
+
"section"
|
|
10
|
+
]);
|
|
11
|
+
return (()=>{
|
|
12
|
+
var _el$ = _tmpl$();
|
|
13
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(rest, {
|
|
14
|
+
get ["class"] () {
|
|
15
|
+
return (0, __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__.twMerge)((0, __WEBPACK_EXTERNAL_MODULE_clsx__.clsx)({
|
|
16
|
+
"stat-title": "title" === local.section,
|
|
17
|
+
"stat-value": "value" === local.section,
|
|
18
|
+
"stat-desc": "desc" === local.section,
|
|
19
|
+
"stat-figure": "figure" === local.section,
|
|
20
|
+
"stat-actions": "actions" === local.section
|
|
21
|
+
}), local.class);
|
|
22
|
+
}
|
|
23
|
+
}), false, true);
|
|
24
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, ()=>props.children);
|
|
25
|
+
return _el$;
|
|
26
|
+
})();
|
|
27
|
+
};
|
|
28
|
+
const StatSection = StatSection_StatSection;
|
|
29
|
+
export { StatSection as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type JSX } from "solid-js";
|
|
2
|
+
export type StatsProps = {
|
|
3
|
+
direction?: "horizontal" | "vertical";
|
|
4
|
+
children?: JSX.Element;
|
|
5
|
+
} & JSX.HTMLAttributes<HTMLDivElement>;
|
|
6
|
+
declare const _default: ((props: StatsProps) => JSX.Element) & {
|
|
7
|
+
Stat: ((props: import("./Stat").StatProps) => JSX.Element) & {
|
|
8
|
+
Title: (props: Omit<import("./StatSection").StatSectionProps, "section">) => JSX.Element;
|
|
9
|
+
Value: (props: Omit<import("./StatSection").StatSectionProps, "section">) => JSX.Element;
|
|
10
|
+
Desc: (props: Omit<import("./StatSection").StatSectionProps, "section">) => JSX.Element;
|
|
11
|
+
Figure: (props: Omit<import("./StatSection").StatSectionProps, "section">) => JSX.Element;
|
|
12
|
+
Actions: (props: Omit<import("./StatSection").StatSectionProps, "section">) => JSX.Element;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__ from "solid-js/web";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__ from "solid-js";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__ from "tailwind-merge";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE_clsx__ from "clsx";
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__Stat_js_d5da03e7__ from "./Stat.js";
|
|
6
|
+
var _tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>");
|
|
7
|
+
const Stats = (props)=>{
|
|
8
|
+
const [local, rest] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
9
|
+
"class",
|
|
10
|
+
"direction"
|
|
11
|
+
]);
|
|
12
|
+
return (()=>{
|
|
13
|
+
var _el$ = _tmpl$();
|
|
14
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(rest, {
|
|
15
|
+
get ["class"] () {
|
|
16
|
+
return (0, __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__.twMerge)("stats", (0, __WEBPACK_EXTERNAL_MODULE_clsx__.clsx)({
|
|
17
|
+
"stats-horizontal": "horizontal" === local.direction,
|
|
18
|
+
"stats-vertical": "vertical" === local.direction
|
|
19
|
+
}), local.class);
|
|
20
|
+
}
|
|
21
|
+
}), false, true);
|
|
22
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, ()=>props.children);
|
|
23
|
+
return _el$;
|
|
24
|
+
})();
|
|
25
|
+
};
|
|
26
|
+
const stats_Stats = Object.assign(Stats, {
|
|
27
|
+
Stat: __WEBPACK_EXTERNAL_MODULE__Stat_js_d5da03e7__["default"]
|
|
28
|
+
});
|
|
29
|
+
export { stats_Stats as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, type StatsProps } from "./Stats";
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.stat-figure {
|
|
3
|
+
grid-column-start: 2;
|
|
4
|
+
grid-row: span 3 / span 3;
|
|
5
|
+
grid-row-start: 1;
|
|
6
|
+
place-self: center;
|
|
7
|
+
justify-self: flex-end;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.stat-value {
|
|
11
|
+
grid-column-start: 1;
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
font-size: 2rem;
|
|
14
|
+
font-weight: 800;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.stat-desc {
|
|
18
|
+
grid-column-start: 1;
|
|
19
|
+
white-space: nowrap;
|
|
20
|
+
color: var(--color-base-content);
|
|
21
|
+
font-size: 0.75rem;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
25
|
+
.stat-desc {
|
|
26
|
+
color: color-mix(in oklab, var(--color-base-content) 60%, transparent);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.stat-title {
|
|
31
|
+
grid-column-start: 1;
|
|
32
|
+
white-space: nowrap;
|
|
33
|
+
color: var(--color-base-content);
|
|
34
|
+
font-size: 0.75rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
38
|
+
.stat-title {
|
|
39
|
+
color: color-mix(in oklab, var(--color-base-content) 60%, transparent);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.stat-actions {
|
|
44
|
+
grid-column-start: 1;
|
|
45
|
+
white-space: nowrap;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.stat {
|
|
49
|
+
display: inline-grid;
|
|
50
|
+
width: 100%;
|
|
51
|
+
column-gap: calc(0.25rem * 4);
|
|
52
|
+
padding-inline: calc(0.25rem * 6);
|
|
53
|
+
padding-block: calc(0.25rem * 4);
|
|
54
|
+
grid-template-columns: repeat(1, 1fr);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.stat:not(:last-child) {
|
|
58
|
+
border-inline-end: var(--border) dashed currentColor;
|
|
59
|
+
border-block-end: none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
63
|
+
.stat:not(:last-child) {
|
|
64
|
+
border-inline-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type ParentComponent } from "solid-js";
|
|
2
|
+
import type { ComponentColor, IComponentBaseProps } from "../types";
|
|
3
|
+
export interface StatusProps extends IComponentBaseProps {
|
|
4
|
+
color?: ComponentColor;
|
|
5
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
6
|
+
}
|
|
7
|
+
declare const Status: ParentComponent<StatusProps>;
|
|
8
|
+
export default Status;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__ from "solid-js/web";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__ from "solid-js";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__ from "tailwind-merge";
|
|
4
|
+
var _tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<span>");
|
|
5
|
+
const Status = (props)=>{
|
|
6
|
+
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
7
|
+
"children",
|
|
8
|
+
"class",
|
|
9
|
+
"className",
|
|
10
|
+
"dataTheme",
|
|
11
|
+
"color",
|
|
12
|
+
"size"
|
|
13
|
+
]);
|
|
14
|
+
const className = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>(0, __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__.twMerge)("status", local.color && `status-${local.color}`, local.size && `status-${local.size}`, local.class, local.className));
|
|
15
|
+
return (()=>{
|
|
16
|
+
var _el$ = _tmpl$();
|
|
17
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
|
|
18
|
+
get ["data-theme"] () {
|
|
19
|
+
return local.dataTheme;
|
|
20
|
+
},
|
|
21
|
+
get ["class"] () {
|
|
22
|
+
return className();
|
|
23
|
+
}
|
|
24
|
+
}), false, true);
|
|
25
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, ()=>local.children);
|
|
26
|
+
return _el$;
|
|
27
|
+
})();
|
|
28
|
+
};
|
|
29
|
+
const status_Status = Status;
|
|
30
|
+
export { status_Status as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import "./step.css";
|
|
2
|
+
import { type JSX } from "solid-js";
|
|
3
|
+
import type { IComponentBaseProps, ComponentColor } from "../types";
|
|
4
|
+
type ElementType = keyof JSX.IntrinsicElements;
|
|
5
|
+
type StepBaseProps = {
|
|
6
|
+
/** Label for the step indicator */
|
|
7
|
+
value?: string;
|
|
8
|
+
/** Color variant */
|
|
9
|
+
color?: "neutral" | ComponentColor;
|
|
10
|
+
/** Custom element tag */
|
|
11
|
+
as?: ElementType;
|
|
12
|
+
class?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
style?: JSX.CSSProperties;
|
|
15
|
+
children?: JSX.Element;
|
|
16
|
+
};
|
|
17
|
+
type PropsOf<E extends ElementType> = JSX.IntrinsicElements[E];
|
|
18
|
+
export type StepProps<E extends ElementType = "li"> = Omit<PropsOf<E>, keyof StepBaseProps | "color"> & StepBaseProps & IComponentBaseProps;
|
|
19
|
+
declare const Step: <E extends ElementType = "li">(props: StepProps<E>) => JSX.Element;
|
|
20
|
+
export default Step;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__ from "solid-js/web";
|
|
2
|
+
import "./step.css";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__ from "solid-js";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__ from "tailwind-merge";
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE_clsx__ from "clsx";
|
|
6
|
+
const VoidElementList = [
|
|
7
|
+
"area",
|
|
8
|
+
"base",
|
|
9
|
+
"br",
|
|
10
|
+
"col",
|
|
11
|
+
"embed",
|
|
12
|
+
"hr",
|
|
13
|
+
"img",
|
|
14
|
+
"input",
|
|
15
|
+
"link",
|
|
16
|
+
"keygen",
|
|
17
|
+
"meta",
|
|
18
|
+
"param",
|
|
19
|
+
"source",
|
|
20
|
+
"track",
|
|
21
|
+
"wbr"
|
|
22
|
+
];
|
|
23
|
+
const Step = (props)=>{
|
|
24
|
+
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
25
|
+
"value",
|
|
26
|
+
"color",
|
|
27
|
+
"as",
|
|
28
|
+
"class",
|
|
29
|
+
"className",
|
|
30
|
+
"style",
|
|
31
|
+
"children",
|
|
32
|
+
"dataTheme"
|
|
33
|
+
]);
|
|
34
|
+
const Tag = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>local.as || "li");
|
|
35
|
+
const classes = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>(0, __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__.twMerge)("step", local.class, local.className, (0, __WEBPACK_EXTERNAL_MODULE_clsx__.clsx)({
|
|
36
|
+
"step-neutral": "neutral" === local.color,
|
|
37
|
+
"step-primary": "primary" === local.color,
|
|
38
|
+
"step-secondary": "secondary" === local.color,
|
|
39
|
+
"step-accent": "accent" === local.color,
|
|
40
|
+
"step-info": "info" === local.color,
|
|
41
|
+
"step-success": "success" === local.color,
|
|
42
|
+
"step-warning": "warning" === local.color,
|
|
43
|
+
"step-error": "error" === local.color
|
|
44
|
+
})));
|
|
45
|
+
if (VoidElementList.includes(Tag())) return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.Dynamic, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|
|
46
|
+
get component () {
|
|
47
|
+
return Tag();
|
|
48
|
+
}
|
|
49
|
+
}, others, {
|
|
50
|
+
"aria-label": "Step",
|
|
51
|
+
get ["data-theme"] () {
|
|
52
|
+
return local.dataTheme;
|
|
53
|
+
},
|
|
54
|
+
get ["data-content"] () {
|
|
55
|
+
return local.value;
|
|
56
|
+
},
|
|
57
|
+
get ["class"] () {
|
|
58
|
+
return classes();
|
|
59
|
+
},
|
|
60
|
+
get style () {
|
|
61
|
+
return local.style;
|
|
62
|
+
}
|
|
63
|
+
}));
|
|
64
|
+
return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.Dynamic, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|
|
65
|
+
get component () {
|
|
66
|
+
return Tag();
|
|
67
|
+
}
|
|
68
|
+
}, others, {
|
|
69
|
+
"aria-label": "Step",
|
|
70
|
+
get ["data-theme"] () {
|
|
71
|
+
return local.dataTheme;
|
|
72
|
+
},
|
|
73
|
+
get ["data-content"] () {
|
|
74
|
+
return local.value;
|
|
75
|
+
},
|
|
76
|
+
get ["class"] () {
|
|
77
|
+
return classes();
|
|
78
|
+
},
|
|
79
|
+
get style () {
|
|
80
|
+
return local.style;
|
|
81
|
+
},
|
|
82
|
+
get children () {
|
|
83
|
+
return local.children;
|
|
84
|
+
}
|
|
85
|
+
}));
|
|
86
|
+
};
|
|
87
|
+
const steps_Step = Step;
|
|
88
|
+
export { steps_Step as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type JSX } from "solid-js";
|
|
2
|
+
import type { IComponentBaseProps } from "../types";
|
|
3
|
+
type ElementType = keyof JSX.IntrinsicElements;
|
|
4
|
+
type StepsBaseProps = {
|
|
5
|
+
vertical?: boolean;
|
|
6
|
+
horizontal?: boolean;
|
|
7
|
+
as?: ElementType;
|
|
8
|
+
class?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: JSX.CSSProperties;
|
|
11
|
+
children?: JSX.Element;
|
|
12
|
+
};
|
|
13
|
+
type PropsOf<E extends ElementType> = JSX.IntrinsicElements[E];
|
|
14
|
+
export type StepsProps<E extends ElementType = "ul"> = Omit<PropsOf<E>, keyof StepsBaseProps> & StepsBaseProps & IComponentBaseProps;
|
|
15
|
+
declare const _default: (<E extends ElementType = "ul">(props: StepsProps<E>) => JSX.Element) & {
|
|
16
|
+
Step: <E extends keyof JSX.IntrinsicElements = "li">(props: import("./Step").StepProps<E>) => JSX.Element;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__ from "solid-js/web";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__ from "solid-js";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__ from "tailwind-merge";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE_clsx__ from "clsx";
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__Step_js_26e1551d__ from "./Step.js";
|
|
6
|
+
const VoidElementList = [
|
|
7
|
+
"area",
|
|
8
|
+
"base",
|
|
9
|
+
"br",
|
|
10
|
+
"col",
|
|
11
|
+
"embed",
|
|
12
|
+
"hr",
|
|
13
|
+
"img",
|
|
14
|
+
"input",
|
|
15
|
+
"link",
|
|
16
|
+
"keygen",
|
|
17
|
+
"meta",
|
|
18
|
+
"param",
|
|
19
|
+
"source",
|
|
20
|
+
"track",
|
|
21
|
+
"wbr"
|
|
22
|
+
];
|
|
23
|
+
const Steps = (props)=>{
|
|
24
|
+
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
25
|
+
"children",
|
|
26
|
+
"vertical",
|
|
27
|
+
"horizontal",
|
|
28
|
+
"as",
|
|
29
|
+
"class",
|
|
30
|
+
"className",
|
|
31
|
+
"style",
|
|
32
|
+
"dataTheme"
|
|
33
|
+
]);
|
|
34
|
+
const Tag = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>local.as || "ul");
|
|
35
|
+
const classes = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>(0, __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__.twMerge)("steps", local.class, local.className, (0, __WEBPACK_EXTERNAL_MODULE_clsx__.clsx)({
|
|
36
|
+
"steps-vertical": local.vertical,
|
|
37
|
+
"steps-horizontal": local.horizontal
|
|
38
|
+
})));
|
|
39
|
+
if (VoidElementList.includes(Tag())) return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.Dynamic, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|
|
40
|
+
get component () {
|
|
41
|
+
return Tag();
|
|
42
|
+
}
|
|
43
|
+
}, others, {
|
|
44
|
+
role: "group",
|
|
45
|
+
"aria-label": "Steps",
|
|
46
|
+
get ["data-theme"] () {
|
|
47
|
+
return local.dataTheme;
|
|
48
|
+
},
|
|
49
|
+
get ["class"] () {
|
|
50
|
+
return classes();
|
|
51
|
+
},
|
|
52
|
+
get style () {
|
|
53
|
+
return local.style;
|
|
54
|
+
}
|
|
55
|
+
}));
|
|
56
|
+
return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.Dynamic, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|
|
57
|
+
get component () {
|
|
58
|
+
return Tag();
|
|
59
|
+
}
|
|
60
|
+
}, others, {
|
|
61
|
+
role: "group",
|
|
62
|
+
"aria-label": "Steps",
|
|
63
|
+
get ["data-theme"] () {
|
|
64
|
+
return local.dataTheme;
|
|
65
|
+
},
|
|
66
|
+
get ["class"] () {
|
|
67
|
+
return classes();
|
|
68
|
+
},
|
|
69
|
+
get style () {
|
|
70
|
+
return local.style;
|
|
71
|
+
},
|
|
72
|
+
get children () {
|
|
73
|
+
return local.children;
|
|
74
|
+
}
|
|
75
|
+
}));
|
|
76
|
+
};
|
|
77
|
+
const steps_Steps = Object.assign(Steps, {
|
|
78
|
+
Step: __WEBPACK_EXTERNAL_MODULE__Step_js_26e1551d__["default"]
|
|
79
|
+
});
|
|
80
|
+
export { steps_Steps as default };
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.steps {
|
|
3
|
+
display: inline-grid;
|
|
4
|
+
grid-auto-flow: column;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
overflow-x: auto;
|
|
7
|
+
counter-reset: step;
|
|
8
|
+
grid-auto-columns: 1fr;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.steps .step {
|
|
12
|
+
display: grid;
|
|
13
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
14
|
+
grid-template-columns: auto;
|
|
15
|
+
grid-template-rows: repeat(2, minmax(0, 1fr));
|
|
16
|
+
grid-template-rows: 40px 1fr;
|
|
17
|
+
place-items: center;
|
|
18
|
+
text-align: center;
|
|
19
|
+
min-width: 4rem;
|
|
20
|
+
--step-bg: var(--color-base-300);
|
|
21
|
+
--step-fg: var(--color-base-content);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.steps .step:before {
|
|
25
|
+
top: calc(0.25rem * 0);
|
|
26
|
+
grid-column-start: 1;
|
|
27
|
+
grid-row-start: 1;
|
|
28
|
+
height: calc(0.25rem * 2);
|
|
29
|
+
width: 100%;
|
|
30
|
+
border: 1px solid;
|
|
31
|
+
color: var(--step-bg);
|
|
32
|
+
background-color: var(--step-bg);
|
|
33
|
+
content: "";
|
|
34
|
+
margin-inline-start: -100%;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.steps .step > .step-icon,
|
|
38
|
+
.steps .step:not(:has(.step-icon)):after {
|
|
39
|
+
--tw-content: counter(step);
|
|
40
|
+
content: var(--tw-content);
|
|
41
|
+
counter-increment: step;
|
|
42
|
+
z-index: 1;
|
|
43
|
+
color: var(--step-fg);
|
|
44
|
+
background-color: var(--step-bg);
|
|
45
|
+
border: 1px solid var(--step-bg);
|
|
46
|
+
position: relative;
|
|
47
|
+
grid-column-start: 1;
|
|
48
|
+
grid-row-start: 1;
|
|
49
|
+
display: grid;
|
|
50
|
+
height: calc(0.25rem * 8);
|
|
51
|
+
width: calc(0.25rem * 8);
|
|
52
|
+
place-items: center;
|
|
53
|
+
place-self: center;
|
|
54
|
+
border-radius: calc(infinity * 1px);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.steps .step:first-child:before {
|
|
58
|
+
--tw-content: none;
|
|
59
|
+
content: var(--tw-content);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.steps .step[data-content]:after {
|
|
63
|
+
--tw-content: attr(data-content);
|
|
64
|
+
content: var(--tw-content);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.steps .step-neutral + .step-neutral:before,
|
|
68
|
+
.steps .step-neutral:after,
|
|
69
|
+
.steps .step-neutral > .step-icon {
|
|
70
|
+
--step-bg: var(--color-neutral);
|
|
71
|
+
--step-fg: var(--color-neutral-content);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.steps .step-primary + .step-primary:before,
|
|
75
|
+
.steps .step-primary:after,
|
|
76
|
+
.steps .step-primary > .step-icon {
|
|
77
|
+
--step-bg: var(--color-primary);
|
|
78
|
+
--step-fg: var(--color-primary-content);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.steps .step-secondary + .step-secondary:before,
|
|
82
|
+
.steps .step-secondary:after,
|
|
83
|
+
.steps .step-secondary > .step-icon {
|
|
84
|
+
--step-bg: var(--color-secondary);
|
|
85
|
+
--step-fg: var(--color-secondary-content);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.steps .step-accent + .step-accent:before,
|
|
89
|
+
.steps .step-accent:after,
|
|
90
|
+
.steps .step-accent > .step-icon {
|
|
91
|
+
--step-bg: var(--color-accent);
|
|
92
|
+
--step-fg: var(--color-accent-content);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.steps .step-info + .step-info:before,
|
|
96
|
+
.steps .step-info:after,
|
|
97
|
+
.steps .step-info > .step-icon {
|
|
98
|
+
--step-bg: var(--color-info);
|
|
99
|
+
--step-fg: var(--color-info-content);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.steps .step-success + .step-success:before,
|
|
103
|
+
.steps .step-success:after,
|
|
104
|
+
.steps .step-success > .step-icon {
|
|
105
|
+
--step-bg: var(--color-success);
|
|
106
|
+
--step-fg: var(--color-success-content);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.steps .step-warning + .step-warning:before,
|
|
110
|
+
.steps .step-warning:after,
|
|
111
|
+
.steps .step-warning > .step-icon {
|
|
112
|
+
--step-bg: var(--color-warning);
|
|
113
|
+
--step-fg: var(--color-warning-content);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.steps .step-error + .step-error:before,
|
|
117
|
+
.steps .step-error:after,
|
|
118
|
+
.steps .step-error > .step-icon {
|
|
119
|
+
--step-bg: var(--color-error);
|
|
120
|
+
--step-fg: var(--color-error-content);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.steps-vertical {
|
|
124
|
+
grid-auto-rows: 1fr;
|
|
125
|
+
grid-auto-flow: row;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.steps-vertical .step {
|
|
129
|
+
display: grid;
|
|
130
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
131
|
+
grid-template-columns: 40px 1fr;
|
|
132
|
+
grid-template-rows: repeat(1, minmax(0, 1fr));
|
|
133
|
+
grid-template-rows: auto;
|
|
134
|
+
gap: 0.5rem;
|
|
135
|
+
min-height: 4rem;
|
|
136
|
+
justify-items: start;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.steps-vertical .step:before {
|
|
140
|
+
height: 100%;
|
|
141
|
+
width: calc(0.25rem * 2);
|
|
142
|
+
translate: -50% -50%;
|
|
143
|
+
margin-inline-start: 50%;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
[dir="rtl"] .steps-vertical .step:before {
|
|
147
|
+
translate: 50% -50%;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.steps-horizontal {
|
|
151
|
+
grid-auto-columns: 1fr;
|
|
152
|
+
display: inline-grid;
|
|
153
|
+
grid-auto-flow: column;
|
|
154
|
+
overflow: hidden;
|
|
155
|
+
overflow-x: auto;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.steps-horizontal .step {
|
|
159
|
+
display: grid;
|
|
160
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
161
|
+
grid-template-columns: auto;
|
|
162
|
+
grid-template-rows: repeat(2, minmax(0, 1fr));
|
|
163
|
+
grid-template-rows: 40px 1fr;
|
|
164
|
+
place-items: center;
|
|
165
|
+
text-align: center;
|
|
166
|
+
min-width: 4rem;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.steps-horizontal .step:before {
|
|
170
|
+
height: calc(0.25rem * 2);
|
|
171
|
+
width: 100%;
|
|
172
|
+
translate: 0;
|
|
173
|
+
margin-inline-start: -100%;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
[dir="rtl"] .steps-horizontal .step:before {
|
|
177
|
+
translate: 0;
|
|
178
|
+
}
|
|
179
|
+
}
|