@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,39 @@
|
|
|
1
|
+
export type MotionState = {
|
|
2
|
+
opacity?: number;
|
|
3
|
+
x?: number;
|
|
4
|
+
y?: number;
|
|
5
|
+
scale?: number;
|
|
6
|
+
};
|
|
7
|
+
export type MotionEasing = "ease-in" | "ease-out" | "ease-in-out" | "linear" | ((t: number) => number);
|
|
8
|
+
export type MotionTransition = {
|
|
9
|
+
duration?: number;
|
|
10
|
+
easing?: MotionEasing;
|
|
11
|
+
delay?: number;
|
|
12
|
+
};
|
|
13
|
+
export type MotionPreset = {
|
|
14
|
+
initial: MotionState;
|
|
15
|
+
animate: MotionState;
|
|
16
|
+
exit: MotionState;
|
|
17
|
+
transition?: MotionTransition;
|
|
18
|
+
};
|
|
19
|
+
export type MotionTokens = {
|
|
20
|
+
durations: Record<string, number>;
|
|
21
|
+
easings: Record<string, MotionEasing>;
|
|
22
|
+
distances: Record<string, number>;
|
|
23
|
+
};
|
|
24
|
+
export type MotionTokenOverrides = {
|
|
25
|
+
durations?: Partial<Record<string, number>>;
|
|
26
|
+
easings?: Partial<Record<string, MotionEasing>>;
|
|
27
|
+
distances?: Partial<Record<string, number>>;
|
|
28
|
+
};
|
|
29
|
+
export type MotionDriverOptions = {
|
|
30
|
+
from: number;
|
|
31
|
+
to: number;
|
|
32
|
+
duration: number;
|
|
33
|
+
ease: (t: number) => number;
|
|
34
|
+
onUpdate: (value: number) => void;
|
|
35
|
+
onComplete?: () => void;
|
|
36
|
+
};
|
|
37
|
+
export type MotionDriver = (options: MotionDriverOptions) => {
|
|
38
|
+
stop: () => void;
|
|
39
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./toastStore";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./toastStore.js";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type ToastType = "info" | "success" | "warning" | "error";
|
|
2
|
+
export interface ToastItem {
|
|
3
|
+
id: string;
|
|
4
|
+
message: string;
|
|
5
|
+
type: ToastType;
|
|
6
|
+
timestamp: number;
|
|
7
|
+
duration: number;
|
|
8
|
+
isExiting?: boolean;
|
|
9
|
+
persist?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const toastStore: {
|
|
12
|
+
toasts: import("solid-js").Accessor<ToastItem[]>;
|
|
13
|
+
addToast: (message: string, type?: ToastType, durationOrOptions?: number | {
|
|
14
|
+
duration?: number;
|
|
15
|
+
persist?: boolean;
|
|
16
|
+
}) => string;
|
|
17
|
+
dismissToast: (id: string) => void;
|
|
18
|
+
removeToast: (id: string) => void;
|
|
19
|
+
clearAll: () => void;
|
|
20
|
+
showError: (message: string) => string;
|
|
21
|
+
showSuccess: (message: string) => string;
|
|
22
|
+
showWarning: (message: string) => string;
|
|
23
|
+
showInfo: (message: string) => string;
|
|
24
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__ from "solid-js";
|
|
2
|
+
const [toasts, setToasts] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createSignal)([]);
|
|
3
|
+
let toastCounter = 0;
|
|
4
|
+
const toastTimers = new Map();
|
|
5
|
+
const clearToastTimer = (id)=>{
|
|
6
|
+
const timer = toastTimers.get(id);
|
|
7
|
+
if (!timer) return;
|
|
8
|
+
clearTimeout(timer);
|
|
9
|
+
toastTimers.delete(id);
|
|
10
|
+
};
|
|
11
|
+
const scheduleDismiss = (id, duration)=>{
|
|
12
|
+
if (duration <= 0) return;
|
|
13
|
+
clearToastTimer(id);
|
|
14
|
+
const timer = setTimeout(()=>{
|
|
15
|
+
toastStore.dismissToast(id);
|
|
16
|
+
}, duration);
|
|
17
|
+
toastTimers.set(id, timer);
|
|
18
|
+
};
|
|
19
|
+
const toastStore = {
|
|
20
|
+
toasts,
|
|
21
|
+
addToast: (message, type = "info", durationOrOptions)=>{
|
|
22
|
+
const hasOptions = void 0 !== durationOrOptions;
|
|
23
|
+
const duration = "number" == typeof durationOrOptions ? durationOrOptions : durationOrOptions?.duration ?? ("error" !== type || hasOptions ? 8000 : 0);
|
|
24
|
+
const persist = "number" == typeof durationOrOptions ? false : durationOrOptions?.persist ?? ("error" === type && !hasOptions);
|
|
25
|
+
const id = `toast-${++toastCounter}`;
|
|
26
|
+
const toast = {
|
|
27
|
+
id,
|
|
28
|
+
message,
|
|
29
|
+
type,
|
|
30
|
+
timestamp: Date.now(),
|
|
31
|
+
duration,
|
|
32
|
+
persist
|
|
33
|
+
};
|
|
34
|
+
setToasts((prev)=>[
|
|
35
|
+
...prev,
|
|
36
|
+
toast
|
|
37
|
+
]);
|
|
38
|
+
if (!persist) scheduleDismiss(id, duration);
|
|
39
|
+
return id;
|
|
40
|
+
},
|
|
41
|
+
dismissToast: (id)=>{
|
|
42
|
+
clearToastTimer(id);
|
|
43
|
+
setToasts((prev)=>prev.map((toast)=>toast.id !== id || toast.isExiting ? toast : {
|
|
44
|
+
...toast,
|
|
45
|
+
isExiting: true
|
|
46
|
+
}));
|
|
47
|
+
},
|
|
48
|
+
removeToast: (id)=>{
|
|
49
|
+
clearToastTimer(id);
|
|
50
|
+
setToasts((prev)=>prev.filter((toast)=>toast.id !== id));
|
|
51
|
+
},
|
|
52
|
+
clearAll: ()=>{
|
|
53
|
+
toastTimers.forEach((timer)=>clearTimeout(timer));
|
|
54
|
+
toastTimers.clear();
|
|
55
|
+
setToasts([]);
|
|
56
|
+
},
|
|
57
|
+
showError: (message)=>toastStore.addToast(message, "error", {
|
|
58
|
+
persist: true
|
|
59
|
+
}),
|
|
60
|
+
showSuccess: (message)=>toastStore.addToast(message, "success", 6000),
|
|
61
|
+
showWarning: (message)=>toastStore.addToast(message, "warning", 8000),
|
|
62
|
+
showInfo: (message)=>toastStore.addToast(message, "info", 6000)
|
|
63
|
+
};
|
|
64
|
+
export { toastStore };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@layer base {
|
|
2
|
+
html {
|
|
3
|
+
scrollbar-color: var(--color-base-300) transparent;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
body {
|
|
7
|
+
color: var(--color-base-content);
|
|
8
|
+
background: var(--color-base-100);
|
|
9
|
+
overflow-x: clip;
|
|
10
|
+
touch-action: manipulation;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
*::selection {
|
|
14
|
+
color: var(--color-primary-content);
|
|
15
|
+
background: var(--color-primary);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.resize-y {
|
|
19
|
+
resize: vertical;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.resize-x {
|
|
23
|
+
resize: horizontal;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.resize-both {
|
|
27
|
+
resize: both;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.resize-none {
|
|
31
|
+
resize: none;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@layer components {
|
|
36
|
+
.table tr.active {
|
|
37
|
+
background-color: var(--b2);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.table.table-hover tbody tr:hover {
|
|
41
|
+
background-color: var(--b2);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.iconify{background-color:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}.iconify,.iconify-color{display:inline-block;height:1em;width:1em}.iconify-color{background-repeat:no-repeat;background-size:100% 100%}.icon-[mdi--close]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E")}.icon-[mdi--close].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi--close].iconify-color{background-image:var(--svg)}.icon-[mdi--firefox]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M6.85 6.74q.015 0 0 0M21.28 8.6c-.43-1.05-1.32-2.18-2.01-2.54.56 1.11.89 2.22 1.02 3.04v.02c-1.13-2.82-3.05-3.96-4.62-6.44-.08-.12-.17-.25-.24-.38-.04-.07-.07-.14-.11-.21-.06-.13-.12-.26-.15-.4 0-.01-.01-.02-.02-.02h-.03c-2.22 1.3-3.15 3.59-3.38 5.04-.69.04-1.37.21-1.99.51-.12.05-.17.19-.13.31.05.14.21.21.34.15.54-.26 1.14-.41 1.74-.45h.05c.08-.01.17-.01.25-.01.5-.01.97.06 1.44.2l.06.02c.1.02.17.06.25.06.05.04.11.06.16.08l.14.06c.07.03.14.06.2.09.03.02.06.03.09.05.07.04.16.07.2.11.04.02.08.05.12.07.73.45 1.34 1.07 1.75 1.81-.53-.37-1.49-.74-2.41-.58 3.6 1.81 2.63 8-2.36 7.76-.44-.01-.88-.1-1.3-.25-.1-.03-.2-.07-.29-.12-.05-.02-.12-.05-.17-.08-1.23-.63-2.24-1.82-2.38-3.27 0 0 .5-1.73 3.33-1.73.31 0 1.17-.86 1.2-1.1 0-.09-1.74-.78-2.42-1.45-.37-.36-.54-.53-.69-.66-.08-.07-.17-.13-.26-.19a4.63 4.63 0 0 1-.03-2.45C7.6 6.12 6.8 6.86 6.22 7.5c-.4-.5-.37-2.15-.35-2.5-.01 0-.3.16-.33.18-.35.25-.68.53-.98.82-.35.37-.66.74-.94 1.14-.62.91-1.12 1.95-1.34 3.04 0 .01-.1.41-.17.92l-.03.23c-.02.17-.04.32-.08.58v.41c0 5.53 4.5 10.01 10 10.01 4.97 0 9.08-3.59 9.88-8.33.02-.11.03-.24.05-.37.2-1.72-.02-3.52-.65-5.03'/%3E%3C/svg%3E")}.icon-[mdi--firefox].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi--firefox].iconify-color{background-image:var(--svg)}.icon-[mdi--loading]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M12 4V2A10 10 0 0 0 2 12h2a8 8 0 0 1 8-8'/%3E%3C/svg%3E")}.icon-[mdi--loading].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi--loading].iconify-color{background-image:var(--svg)}.icon-[mdi--palette]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M17.5 12a1.5 1.5 0 0 1-1.5-1.5A1.5 1.5 0 0 1 17.5 9a1.5 1.5 0 0 1 1.5 1.5 1.5 1.5 0 0 1-1.5 1.5m-3-4A1.5 1.5 0 0 1 13 6.5 1.5 1.5 0 0 1 14.5 5 1.5 1.5 0 0 1 16 6.5 1.5 1.5 0 0 1 14.5 8m-5 0A1.5 1.5 0 0 1 8 6.5 1.5 1.5 0 0 1 9.5 5 1.5 1.5 0 0 1 11 6.5 1.5 1.5 0 0 1 9.5 8m-3 4A1.5 1.5 0 0 1 5 10.5 1.5 1.5 0 0 1 6.5 9 1.5 1.5 0 0 1 8 10.5 1.5 1.5 0 0 1 6.5 12M12 3a9 9 0 0 0-9 9 9 9 0 0 0 9 9 1.5 1.5 0 0 0 1.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 0 1 1.5-1.5H16a5 5 0 0 0 5-5c0-4.42-4.03-8-9-8'/%3E%3C/svg%3E")}.icon-[mdi--palette].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi--palette].iconify-color{background-image:var(--svg)}.icon-[mdi-light--chevron-down]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='m5.84 9.59 5.66 5.66 5.66-5.66-.71-.7-4.95 4.95-4.95-4.95z'/%3E%3C/svg%3E")}.icon-[mdi-light--chevron-down].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi-light--chevron-down].iconify-color{background-image:var(--svg)}.icon-[mdi-light--chevron-left]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M14.41 18.16 8.75 12.5l5.66-5.66.7.71-4.95 4.95 4.95 4.95z'/%3E%3C/svg%3E")}.icon-[mdi-light--chevron-left].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi-light--chevron-left].iconify-color{background-image:var(--svg)}.icon-[mdi-light--chevron-right]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='m8.59 18.16 5.66-5.66-5.66-5.66-.7.71 4.95 4.95-4.95 4.95z'/%3E%3C/svg%3E")}.icon-[mdi-light--chevron-right].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi-light--chevron-right].iconify-color{background-image:var(--svg)}.icon-[mdi-light--chevron-up]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='m5.84 15.41 5.66-5.66 5.66 5.66-.71.7-4.95-4.95-4.95 4.95z'/%3E%3C/svg%3E")}.icon-[mdi-light--chevron-up].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi-light--chevron-up].iconify-color{background-image:var(--svg)}.icon-[mdi-light--eye]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M11.5 18c4 0 7.46-2.22 9.24-5.5C18.96 9.22 15.5 7 11.5 7s-7.46 2.22-9.24 5.5C4.04 15.78 7.5 18 11.5 18m0-12c4.56 0 8.5 2.65 10.36 6.5C20 16.35 16.06 19 11.5 19S3 16.35 1.14 12.5C3 8.65 6.94 6 11.5 6m0 2C14 8 16 10 16 12.5S14 17 11.5 17 7 15 7 12.5 9 8 11.5 8m0 1A3.5 3.5 0 0 0 8 12.5a3.5 3.5 0 0 0 3.5 3.5 3.5 3.5 0 0 0 3.5-3.5A3.5 3.5 0 0 0 11.5 9'/%3E%3C/svg%3E")}.icon-[mdi-light--eye].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi-light--eye].iconify-color{background-image:var(--svg)}.icon-[mdi-light--eye-off]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M2.54 4.71 3.25 4 20 20.75l-.71.71-3.34-3.35c-1.37.57-2.87.89-4.45.89-4.56 0-8.5-2.65-10.36-6.5.97-2 2.49-3.67 4.36-4.82zM11.5 18c1.29 0 2.53-.23 3.67-.66l-1.12-1.13c-.73.5-1.6.79-2.55.79C9 17 7 15 7 12.5c0-.95.29-1.82.79-2.55L6.24 8.41a10.64 10.64 0 0 0-3.98 4.09C4.04 15.78 7.5 18 11.5 18m9.24-5.5C18.96 9.22 15.5 7 11.5 7c-1.15 0-2.27.19-3.31.53l-.78-.78C8.68 6.26 10.06 6 11.5 6c4.56 0 8.5 2.65 10.36 6.5a11.47 11.47 0 0 1-4.07 4.63l-.72-.73c1.53-.96 2.8-2.3 3.67-3.9M11.5 8C14 8 16 10 16 12.5c0 .82-.22 1.58-.6 2.24l-.74-.74c.22-.46.34-.96.34-1.5A3.5 3.5 0 0 0 11.5 9c-.54 0-1.04.12-1.5.34l-.74-.74c.66-.38 1.42-.6 2.24-.6M8 12.5a3.5 3.5 0 0 0 3.5 3.5c.67 0 1.29-.19 1.82-.5L8.5 10.68c-.31.53-.5 1.15-.5 1.82'/%3E%3C/svg%3E")}.icon-[mdi-light--eye-off].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi-light--eye-off].iconify-color{background-image:var(--svg)}.icon-[mdi-light--unfold-more-horizontal]{--svg:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='m15.74 8.83-.7.71L11.5 6 7.96 9.54l-.7-.71 4.24-4.24zm0 7.34-4.24 4.24-4.24-4.24.7-.71L11.5 19l3.54-3.54z'/%3E%3C/svg%3E")}.icon-[mdi-light--unfold-more-horizontal].iconify{-webkit-mask-image:var(--svg);mask-image:var(--svg)}.icon-[mdi-light--unfold-more-horizontal].iconify-color{background-image:var(--svg)}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
@layer theme {
|
|
2
|
+
[data-theme="dark"] {
|
|
3
|
+
/* Base colors */
|
|
4
|
+
--color-primary: var(--color-blue-500);
|
|
5
|
+
--color-primary-content: var(--color-white);
|
|
6
|
+
--color-secondary: var(--color-purple-500);
|
|
7
|
+
--color-secondary-content: var(--color-white);
|
|
8
|
+
--color-accent: var(--color-sky-500);
|
|
9
|
+
--color-accent-content: var(--color-white);
|
|
10
|
+
--color-accent-foreground: var(--color-white);
|
|
11
|
+
--color-accent-soft: color-mix(in oklab, var(--color-sky-500) 20%, var(--color-gray-900));
|
|
12
|
+
--color-accent-soft-foreground: var(--color-sky-400);
|
|
13
|
+
--color-accent-soft-hover: color-mix(in oklab, var(--color-sky-500) 28%, var(--color-gray-900));
|
|
14
|
+
--color-accent-hover: var(--color-sky-400);
|
|
15
|
+
--color-neutral: var(--color-gray-700);
|
|
16
|
+
--color-neutral-content: var(--color-gray-100);
|
|
17
|
+
|
|
18
|
+
/* Semantic colors */
|
|
19
|
+
--color-info: var(--color-blue-400);
|
|
20
|
+
--color-info-content: var(--color-gray-900);
|
|
21
|
+
--color-success: var(--color-emerald-500);
|
|
22
|
+
--color-success-content: var(--color-gray-900);
|
|
23
|
+
--color-success-foreground: var(--color-white);
|
|
24
|
+
--color-success-soft: color-mix(in oklab, var(--color-emerald-500) 20%, var(--color-gray-900));
|
|
25
|
+
--color-success-soft-foreground: var(--color-emerald-400);
|
|
26
|
+
--color-warning: var(--color-amber-400);
|
|
27
|
+
--color-warning-content: var(--color-gray-900);
|
|
28
|
+
--color-warning-foreground: var(--color-gray-900);
|
|
29
|
+
--color-warning-soft: color-mix(in oklab, var(--color-amber-400) 20%, var(--color-gray-900));
|
|
30
|
+
--color-warning-soft-foreground: var(--color-amber-300);
|
|
31
|
+
--color-error: var(--color-rose-500);
|
|
32
|
+
--color-error-content: var(--color-white);
|
|
33
|
+
--color-danger: var(--color-rose-500);
|
|
34
|
+
--color-danger-foreground: var(--color-white);
|
|
35
|
+
--color-danger-soft: color-mix(in oklab, var(--color-rose-500) 20%, var(--color-gray-900));
|
|
36
|
+
--color-danger-soft-foreground: var(--color-rose-400);
|
|
37
|
+
|
|
38
|
+
/* HeroUI generic tokens */
|
|
39
|
+
--color-default: var(--color-gray-700);
|
|
40
|
+
--color-default-foreground: var(--color-gray-100);
|
|
41
|
+
--color-default-hover: var(--color-gray-600);
|
|
42
|
+
--color-background: var(--color-gray-900);
|
|
43
|
+
--color-foreground: var(--color-gray-100);
|
|
44
|
+
|
|
45
|
+
/* Base background colors */
|
|
46
|
+
--color-base-100: var(--color-gray-900);
|
|
47
|
+
--color-base-200: var(--color-gray-800);
|
|
48
|
+
--color-base-300: var(--color-gray-700);
|
|
49
|
+
--color-base-content: var(--color-gray-100);
|
|
50
|
+
|
|
51
|
+
/* Legacy support */
|
|
52
|
+
--color-bg-body: var(--color-gray-900);
|
|
53
|
+
--color-bg-inverse: var(--color-white);
|
|
54
|
+
--color-bg-primary: var(--color-gray-800);
|
|
55
|
+
--color-bg-secondary: var(--color-gray-700);
|
|
56
|
+
--color-bg-tertiary: var(--color-gray-600);
|
|
57
|
+
--color-bg-positive: var(--color-emerald-500);
|
|
58
|
+
--color-bg-destructive: var(--color-rose-500);
|
|
59
|
+
|
|
60
|
+
--color-fg-body: var(--color-gray-100);
|
|
61
|
+
--color-fg-inverse: var(--color-gray-900);
|
|
62
|
+
--color-fg-primary: var(--color-gray-200);
|
|
63
|
+
--color-fg-secondary: var(--color-gray-300);
|
|
64
|
+
--color-fg-tertiary: var(--color-gray-400);
|
|
65
|
+
--color-fg-positive: var(--color-emerald-400);
|
|
66
|
+
--color-fg-destructive: var(--color-rose-400);
|
|
67
|
+
|
|
68
|
+
/* Daisy-compatible aliases and structural tokens */
|
|
69
|
+
--b1: var(--color-base-100);
|
|
70
|
+
--b2: var(--color-base-200);
|
|
71
|
+
--b3: var(--color-base-300);
|
|
72
|
+
--bc: var(--color-base-content);
|
|
73
|
+
--radius-selector: 0.375rem;
|
|
74
|
+
--radius-field: 0.375rem;
|
|
75
|
+
--radius-box: 0.75rem;
|
|
76
|
+
--size-selector: 0.25rem;
|
|
77
|
+
--size-field: 0.25rem;
|
|
78
|
+
--border: 1px;
|
|
79
|
+
--depth: 0;
|
|
80
|
+
--noise: 1;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@layer base {
|
|
85
|
+
[data-theme="dark"] {
|
|
86
|
+
color-scheme: only dark;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
@layer theme {
|
|
2
|
+
:root:not([data-theme]),
|
|
3
|
+
[data-theme="light"] {
|
|
4
|
+
/* Base colors */
|
|
5
|
+
--color-primary: var(--color-blue-600);
|
|
6
|
+
--color-primary-content: var(--color-white);
|
|
7
|
+
--color-secondary: var(--color-purple-600);
|
|
8
|
+
--color-secondary-content: var(--color-white);
|
|
9
|
+
--color-accent: var(--color-sky-600);
|
|
10
|
+
--color-accent-content: var(--color-white);
|
|
11
|
+
--color-accent-foreground: var(--color-white);
|
|
12
|
+
--color-accent-soft: color-mix(in oklab, var(--color-sky-600) 15%, var(--color-white));
|
|
13
|
+
--color-accent-soft-foreground: var(--color-sky-700);
|
|
14
|
+
--color-accent-soft-hover: color-mix(in oklab, var(--color-sky-600) 22%, var(--color-white));
|
|
15
|
+
--color-accent-hover: var(--color-sky-700);
|
|
16
|
+
--color-neutral: var(--color-gray-600);
|
|
17
|
+
--color-neutral-content: var(--color-white);
|
|
18
|
+
|
|
19
|
+
/* Semantic colors */
|
|
20
|
+
--color-info: var(--color-blue-500);
|
|
21
|
+
--color-info-content: var(--color-white);
|
|
22
|
+
--color-success: var(--color-emerald-600);
|
|
23
|
+
--color-success-content: var(--color-white);
|
|
24
|
+
--color-success-foreground: var(--color-white);
|
|
25
|
+
--color-success-soft: color-mix(in oklab, var(--color-emerald-600) 15%, var(--color-white));
|
|
26
|
+
--color-success-soft-foreground: var(--color-emerald-700);
|
|
27
|
+
--color-warning: var(--color-amber-500);
|
|
28
|
+
--color-warning-content: var(--color-black);
|
|
29
|
+
--color-warning-foreground: var(--color-black);
|
|
30
|
+
--color-warning-soft: color-mix(in oklab, var(--color-amber-500) 15%, var(--color-white));
|
|
31
|
+
--color-warning-soft-foreground: var(--color-amber-700);
|
|
32
|
+
--color-error: var(--color-rose-600);
|
|
33
|
+
--color-error-content: var(--color-white);
|
|
34
|
+
--color-danger: var(--color-rose-600);
|
|
35
|
+
--color-danger-foreground: var(--color-white);
|
|
36
|
+
--color-danger-soft: color-mix(in oklab, var(--color-rose-600) 15%, var(--color-white));
|
|
37
|
+
--color-danger-soft-foreground: var(--color-rose-700);
|
|
38
|
+
|
|
39
|
+
/* HeroUI generic tokens */
|
|
40
|
+
--color-default: var(--color-gray-200);
|
|
41
|
+
--color-default-foreground: var(--color-gray-800);
|
|
42
|
+
--color-default-hover: var(--color-gray-300);
|
|
43
|
+
--color-background: var(--color-white);
|
|
44
|
+
--color-foreground: var(--color-gray-900);
|
|
45
|
+
|
|
46
|
+
/* Base background colors */
|
|
47
|
+
--color-base-100: var(--color-white);
|
|
48
|
+
--color-base-200: var(--color-gray-100);
|
|
49
|
+
--color-base-300: var(--color-gray-200);
|
|
50
|
+
--color-base-content: var(--color-gray-900);
|
|
51
|
+
|
|
52
|
+
/* Legacy support */
|
|
53
|
+
--color-bg-body: var(--color-white);
|
|
54
|
+
--color-bg-inverse: var(--color-gray-900);
|
|
55
|
+
--color-bg-primary: var(--color-gray-100);
|
|
56
|
+
--color-bg-secondary: var(--color-gray-200);
|
|
57
|
+
--color-bg-tertiary: var(--color-gray-300);
|
|
58
|
+
--color-bg-positive: var(--color-emerald-600);
|
|
59
|
+
--color-bg-destructive: var(--color-rose-600);
|
|
60
|
+
|
|
61
|
+
--color-fg-body: var(--color-gray-900);
|
|
62
|
+
--color-fg-inverse: var(--color-white);
|
|
63
|
+
--color-fg-primary: var(--color-gray-800);
|
|
64
|
+
--color-fg-secondary: var(--color-gray-700);
|
|
65
|
+
--color-fg-tertiary: var(--color-gray-600);
|
|
66
|
+
--color-fg-positive: var(--color-emerald-700);
|
|
67
|
+
--color-fg-destructive: var(--color-rose-700);
|
|
68
|
+
|
|
69
|
+
/* Daisy-compatible aliases and structural tokens */
|
|
70
|
+
--b1: var(--color-base-100);
|
|
71
|
+
--b2: var(--color-base-200);
|
|
72
|
+
--b3: var(--color-base-300);
|
|
73
|
+
--bc: var(--color-base-content);
|
|
74
|
+
--radius-selector: 0.375rem;
|
|
75
|
+
--radius-field: 0.375rem;
|
|
76
|
+
--radius-box: 0.75rem;
|
|
77
|
+
--size-selector: 0.25rem;
|
|
78
|
+
--size-field: 0.25rem;
|
|
79
|
+
--border: 1px;
|
|
80
|
+
--depth: 0;
|
|
81
|
+
--noise: 1;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@layer base {
|
|
86
|
+
:root:not([data-theme]),
|
|
87
|
+
[data-theme="light"] {
|
|
88
|
+
color-scheme: only light;
|
|
89
|
+
}
|
|
90
|
+
}
|
package/package.json
CHANGED
|
@@ -1,60 +1,124 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pathscale/ui",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"keywords": ["solid", "solidjs"],
|
|
6
|
-
"homepage": "https://github.com/pathscale/ui",
|
|
7
|
-
"bugs": {
|
|
8
|
-
"url": "https://github.com/pathscale/ui/issues"
|
|
9
|
-
},
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"author": "pathscale",
|
|
10
5
|
"repository": {
|
|
11
6
|
"type": "git",
|
|
12
7
|
"url": "https://github.com/pathscale/ui"
|
|
13
8
|
},
|
|
14
9
|
"license": "MIT",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
|
|
10
|
+
"description": "Highly opinionated SolidJS component library — batteries and kitchen sink included, but optimized and shiny.",
|
|
11
|
+
"files": [
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
14
|
+
"homepage": "https://github.com/pathscale/ui",
|
|
15
|
+
"keywords": [
|
|
16
|
+
"solid",
|
|
17
|
+
"solidjs"
|
|
18
|
+
],
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/pathscale/ui/issues"
|
|
21
|
+
},
|
|
22
|
+
"main": "./dist/index.js",
|
|
23
|
+
"module": "./dist/index.js",
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
18
25
|
"exports": {
|
|
19
26
|
".": {
|
|
20
27
|
"types": "./dist/index.d.ts",
|
|
21
|
-
"
|
|
22
|
-
"default": "./dist/index.js"
|
|
28
|
+
"import": "./dist/index.js"
|
|
23
29
|
},
|
|
24
|
-
"
|
|
30
|
+
"./components/*": {
|
|
25
31
|
"types": "./dist/components/*/index.d.ts",
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"build": "tsup",
|
|
40
|
-
"clean": "rm -rf dist node_modules",
|
|
41
|
-
"dev": "vite serve playground --host",
|
|
42
|
-
"format": "biome format --write",
|
|
43
|
-
"lint": "biome lint --write"
|
|
32
|
+
"import": "./dist/components/*/index.js"
|
|
33
|
+
},
|
|
34
|
+
"./stores": {
|
|
35
|
+
"types": "./dist/stores/index.d.ts",
|
|
36
|
+
"import": "./dist/stores/index.js"
|
|
37
|
+
},
|
|
38
|
+
"./motion": {
|
|
39
|
+
"types": "./dist/motion/index.d.ts",
|
|
40
|
+
"import": "./dist/motion/index.js"
|
|
41
|
+
},
|
|
42
|
+
"./styles/*": "./dist/styles/*",
|
|
43
|
+
"./dist/styles/*": "./dist/styles/*",
|
|
44
|
+
"./index.css": "./dist/index.css"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
47
|
"@biomejs/biome": "1.9.4",
|
|
47
|
-
"@
|
|
48
|
+
"@felte/solid": "^1.2.11",
|
|
49
|
+
"@felte/validator-zod": "^1.0.15",
|
|
50
|
+
"@iconify/json": "^2.2.342",
|
|
51
|
+
"@iconify/utils": "^2.3.0",
|
|
52
|
+
"@rsbuild/core": "^1.3.20",
|
|
53
|
+
"@rsbuild/plugin-solid": "^1.0.5",
|
|
54
|
+
"@rslib/core": "^0.9.0",
|
|
55
|
+
"@solid-primitives/event-listener": "^2.3.0",
|
|
56
|
+
"@solid-primitives/intersection-observer": "^2.1.3",
|
|
57
|
+
"@solid-primitives/keyboard": "^1.2.5",
|
|
58
|
+
"@solid-primitives/media": "^2.2.5",
|
|
59
|
+
"@solid-primitives/props": "^3.1.8",
|
|
60
|
+
"@solid-primitives/resize-observer": "^2.0.22",
|
|
61
|
+
"@solid-primitives/scheduled": "^1.4.1",
|
|
62
|
+
"@solid-primitives/scroll": "^2.0.20",
|
|
63
|
+
"@solid-primitives/storage": "^2.1.1",
|
|
64
|
+
"@solid-primitives/utils": "^6.2.1",
|
|
65
|
+
"@tanstack/solid-table": "^8.21.3",
|
|
48
66
|
"@types/bun": "^1.2.12",
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
67
|
+
"babel-preset-solid": "^1.9.6",
|
|
68
|
+
"cally": "^0.8.0",
|
|
69
|
+
"clsx": "^2.1.1",
|
|
70
|
+
"cssnano": "^7.0.7",
|
|
71
|
+
"postcss": "^8.5.8",
|
|
72
|
+
"postcss-cli": "^11.0.1",
|
|
73
|
+
"postcss-selector-parser": "^7.1.1",
|
|
74
|
+
"solid-js": "^1.9.7",
|
|
75
|
+
"svgo": "^3.3.2",
|
|
76
|
+
"tailwind-merge": "^3.3.0",
|
|
52
77
|
"typescript": "^5.8.3",
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
78
|
+
"zod": "^3.22.4"
|
|
79
|
+
},
|
|
80
|
+
"dependencies": {
|
|
81
|
+
"@iconify/tailwind4": "^1.2.1",
|
|
82
|
+
"rsbuild-plugin-iconify": "^1.0.3"
|
|
56
83
|
},
|
|
57
84
|
"peerDependencies": {
|
|
58
|
-
"solid
|
|
59
|
-
|
|
85
|
+
"@felte/solid": "^1.2.0",
|
|
86
|
+
"@felte/validator-zod": "^1.0.0",
|
|
87
|
+
"@solid-primitives/event-listener": "^2.3.0",
|
|
88
|
+
"@solid-primitives/intersection-observer": "^2.1.3",
|
|
89
|
+
"@solid-primitives/keyboard": "^1.2.5",
|
|
90
|
+
"@solid-primitives/media": "^2.2.5",
|
|
91
|
+
"@solid-primitives/props": "^3.1.8",
|
|
92
|
+
"@solid-primitives/resize-observer": "^2.0.22",
|
|
93
|
+
"@solid-primitives/scheduled": "^1.4.1",
|
|
94
|
+
"@solid-primitives/scroll": "^2.0.20",
|
|
95
|
+
"@solid-primitives/storage": "^2.1.1",
|
|
96
|
+
"@solid-primitives/utils": "^6.2.1",
|
|
97
|
+
"@tanstack/solid-table": "^8.0.0",
|
|
98
|
+
"popmotion": "^11.0.5",
|
|
99
|
+
"solid-js": "^1.9",
|
|
100
|
+
"zod": "^3.22.0"
|
|
101
|
+
},
|
|
102
|
+
"peerDependenciesMeta": {
|
|
103
|
+
"popmotion": {
|
|
104
|
+
"optional": true
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"scripts": {
|
|
108
|
+
"build": "bun run scripts/check-contracts.ts && rslib build",
|
|
109
|
+
"build:watch": "rslib build --watch",
|
|
110
|
+
"dev": "rslib dev",
|
|
111
|
+
"preview": "rslib preview",
|
|
112
|
+
"clean": "rm -rf dist node_modules",
|
|
113
|
+
"format": "bun biome format --write",
|
|
114
|
+
"lint": "bun biome lint --write",
|
|
115
|
+
"check": "bun run scripts/check-contracts.ts",
|
|
116
|
+
"playground:dev": "cd playground && bun run dev",
|
|
117
|
+
"playground:build": "cd playground && bun run build",
|
|
118
|
+
"playground:preview": "cd playground && bun run preview"
|
|
119
|
+
},
|
|
120
|
+
"sideEffects": [
|
|
121
|
+
"**/*.css"
|
|
122
|
+
],
|
|
123
|
+
"type": "module"
|
|
60
124
|
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Component, ComponentProps } from 'solid-js';
|
|
2
|
-
import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
|
|
3
|
-
|
|
4
|
-
declare const avatarVariants: {
|
|
5
|
-
(props?: (ConfigVariants<{
|
|
6
|
-
size: {
|
|
7
|
-
sm: string;
|
|
8
|
-
md: string;
|
|
9
|
-
lg: string;
|
|
10
|
-
};
|
|
11
|
-
shape: {
|
|
12
|
-
circle: string;
|
|
13
|
-
rounded: string;
|
|
14
|
-
};
|
|
15
|
-
variant: {
|
|
16
|
-
filled: string;
|
|
17
|
-
outlined: string;
|
|
18
|
-
ghost: string;
|
|
19
|
-
};
|
|
20
|
-
}> & ClassProps) | undefined): string;
|
|
21
|
-
variantKeys: ("size" | "shape" | "variant")[];
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
type AvatarVariantProps = VariantProps<typeof avatarVariants>;
|
|
25
|
-
type AvatarProps = AvatarVariantProps & ClassProps & ComponentProps<"img"> & {
|
|
26
|
-
src?: string;
|
|
27
|
-
dataSrc?: string;
|
|
28
|
-
alt?: string;
|
|
29
|
-
text?: string;
|
|
30
|
-
};
|
|
31
|
-
declare const Avatar: Component<AvatarProps>;
|
|
32
|
-
|
|
33
|
-
export { Avatar as A, type AvatarProps as a, avatarVariants as b };
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import * as solid_js from 'solid-js';
|
|
2
|
-
import { ValidComponent } from 'solid-js';
|
|
3
|
-
import { PolymorphicProps, PolymorphicButtonSharedProps, PolymorphicButtonElementProps } from './components/polymorphic/index.js';
|
|
4
|
-
import { C as ConfigVariants, a as ClassProps, V as VariantProps } from './classes-B_S9K-9I.js';
|
|
5
|
-
|
|
6
|
-
declare const buttonVariants: {
|
|
7
|
-
(props?: (ConfigVariants<{
|
|
8
|
-
size: {
|
|
9
|
-
sm: string;
|
|
10
|
-
md: string;
|
|
11
|
-
lg: string;
|
|
12
|
-
};
|
|
13
|
-
color: {
|
|
14
|
-
inverse: string;
|
|
15
|
-
primary: string;
|
|
16
|
-
secondary: string;
|
|
17
|
-
tertiary: string;
|
|
18
|
-
accent: string;
|
|
19
|
-
positive: string;
|
|
20
|
-
destructive: string;
|
|
21
|
-
};
|
|
22
|
-
align: {
|
|
23
|
-
start: string;
|
|
24
|
-
center: string;
|
|
25
|
-
end: string;
|
|
26
|
-
};
|
|
27
|
-
shape: {
|
|
28
|
-
circle: string;
|
|
29
|
-
rounded: string;
|
|
30
|
-
};
|
|
31
|
-
spacing: {
|
|
32
|
-
0: string;
|
|
33
|
-
xs: string;
|
|
34
|
-
sm: string;
|
|
35
|
-
md: string;
|
|
36
|
-
lg: string;
|
|
37
|
-
};
|
|
38
|
-
loading: {
|
|
39
|
-
true: string;
|
|
40
|
-
false: string;
|
|
41
|
-
};
|
|
42
|
-
stretched: {
|
|
43
|
-
true: string;
|
|
44
|
-
false: string;
|
|
45
|
-
};
|
|
46
|
-
variant: {
|
|
47
|
-
fill: string[];
|
|
48
|
-
gray: string[];
|
|
49
|
-
ghost: string[];
|
|
50
|
-
};
|
|
51
|
-
}> & ClassProps) | undefined): string;
|
|
52
|
-
variantKeys: ("size" | "color" | "align" | "shape" | "spacing" | "loading" | "stretched" | "variant")[];
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
type ButtonVariantProps = VariantProps<typeof buttonVariants>;
|
|
56
|
-
type ButtonSharedProps<T extends ValidComponent = "button"> = PolymorphicButtonSharedProps<T> & ClassProps;
|
|
57
|
-
type ButtonElementProps = PolymorphicButtonElementProps & ButtonSharedProps & {
|
|
58
|
-
"aria-busy": "true" | undefined;
|
|
59
|
-
};
|
|
60
|
-
type ButtonProps<T extends ValidComponent = "button"> = Partial<ButtonVariantProps> & Partial<ButtonSharedProps<T>>;
|
|
61
|
-
declare const Button: <T extends ValidComponent = "button">(props: PolymorphicProps<T, ButtonProps<T>>) => solid_js.JSX.Element;
|
|
62
|
-
|
|
63
|
-
export { Button as B, type ButtonElementProps as a, type ButtonProps as b, type ButtonSharedProps as c, type ButtonVariantProps as d };
|