@pathscale/ui 0.0.161 → 0.0.163
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/dist/accordion/collapse.css +248 -0
- package/dist/alert/alert.css +123 -0
- package/dist/avatar/avatar.css +58 -0
- package/dist/badge/badge.css +128 -0
- package/dist/breadcrumbs/breadcrumbs.css +85 -0
- package/dist/button/btn.css +429 -0
- package/dist/calendar/input.css +277 -0
- package/dist/card/card.css +171 -0
- package/dist/carousel/carousel.css +39 -0
- package/dist/chatbubble/chat.css +153 -0
- package/dist/checkbox/checkbox.css +168 -0
- package/dist/collapse/collapse.css +248 -0
- package/dist/components/accordion/Accordion.d.ts +1 -0
- package/dist/components/accordion/Accordion.js +180 -0
- package/dist/components/accordion/collapse.css +248 -0
- package/dist/components/accordion/index.js +3 -0
- package/dist/components/alert/Alert.d.ts +1 -0
- package/dist/components/alert/Alert.js +75 -0
- package/dist/components/alert/alert.css +123 -0
- package/dist/components/alert/index.js +3 -0
- package/dist/components/artboard/Artboard.js +42 -0
- package/dist/components/artboard/index.js +3 -0
- package/dist/components/avatar/Avatar.d.ts +1 -0
- package/dist/components/avatar/Avatar.js +164 -0
- package/dist/components/avatar/AvatarGroup.js +52 -0
- package/dist/components/avatar/avatar.css +58 -0
- package/dist/components/avatar/index.js +3 -0
- package/dist/components/background/Background.js +22 -0
- package/dist/components/background/index.js +3 -0
- package/dist/components/badge/Badge.d.ts +1 -0
- package/dist/components/badge/Badge.js +75 -0
- package/dist/components/badge/badge.css +128 -0
- package/dist/components/badge/index.js +3 -0
- package/dist/components/bottom-sheet/BottomSheet.js +109 -0
- package/dist/components/bottom-sheet/index.js +3 -0
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts +1 -0
- package/dist/components/breadcrumbs/Breadcrumbs.js +36 -0
- package/dist/components/breadcrumbs/BreadcrumbsItem.js +30 -0
- package/dist/components/breadcrumbs/breadcrumbs.css +85 -0
- package/dist/components/breadcrumbs/index.js +5 -0
- package/dist/components/browsermockup/BrowserMockup.js +55 -0
- package/dist/components/browsermockup/index.js +3 -0
- package/dist/components/button/Button.d.ts +1 -0
- package/dist/components/button/Button.js +205 -0
- package/dist/components/button/btn.css +429 -0
- package/dist/components/button/index.js +3 -0
- package/dist/components/calendar/Calendar.d.ts +1 -0
- package/dist/components/calendar/Calendar.js +194 -0
- package/dist/components/calendar/index.js +3 -0
- package/dist/components/calendar/input.css +277 -0
- package/dist/components/card/Card.d.ts +1 -0
- package/dist/components/card/Card.js +98 -0
- package/dist/components/card/CardActions.js +15 -0
- package/dist/components/card/CardBody.js +15 -0
- package/dist/components/card/CardImage.js +10 -0
- package/dist/components/card/CardTitle.js +13 -0
- package/dist/components/card/card.css +171 -0
- package/dist/components/card/index.js +3 -0
- package/dist/components/carousel/Carousel.d.ts +1 -0
- package/dist/components/carousel/Carousel.js +70 -0
- package/dist/components/carousel/CarouselItem.js +27 -0
- package/dist/components/carousel/carousel.css +39 -0
- package/dist/components/carousel/index.js +3 -0
- package/dist/components/chatbubble/ChatBubble.d.ts +1 -0
- package/dist/components/chatbubble/ChatBubble.js +48 -0
- package/dist/components/chatbubble/ChatBubbleAvatar.js +16 -0
- package/dist/components/chatbubble/ChatBubbleFooter.js +14 -0
- package/dist/components/chatbubble/ChatBubbleHeader.js +14 -0
- package/dist/components/chatbubble/ChatBubbleMessage.js +28 -0
- package/dist/components/chatbubble/ChatBubbleTime.js +14 -0
- package/dist/components/chatbubble/chat.css +153 -0
- package/dist/components/chatbubble/index.js +3 -0
- package/dist/components/checkbox/Checkbox.d.ts +1 -0
- package/dist/components/checkbox/Checkbox.js +78 -0
- package/dist/components/checkbox/checkbox.css +168 -0
- package/dist/components/checkbox/index.js +3 -0
- package/dist/components/codemockup/CodeMockup.js +33 -0
- package/dist/components/codemockup/CodeMockupLine.js +53 -0
- package/dist/components/codemockup/index.js +5 -0
- package/dist/components/collapse/Collapse.d.ts +1 -0
- package/dist/components/collapse/Collapse.js +104 -0
- package/dist/components/collapse/CollapseContent.js +15 -0
- package/dist/components/collapse/CollapseDetails.js +33 -0
- package/dist/components/collapse/CollapseTitle.js +47 -0
- package/dist/components/collapse/collapse.css +248 -0
- package/dist/components/collapse/index.js +10 -0
- package/dist/components/colorpicker/AlphaSlider.js +107 -0
- package/dist/components/colorpicker/ColorInput.js +88 -0
- package/dist/components/colorpicker/ColorPicker.js +264 -0
- package/dist/components/colorpicker/ColorPickerFlowerSelector.js +9 -0
- package/dist/components/colorpicker/ColorPickerGradientSelector.js +9 -0
- package/dist/components/colorpicker/ColorPickerWheelSelector.js +9 -0
- package/dist/components/colorpicker/ColorPreview.js +47 -0
- package/dist/components/colorpicker/ColorSwatches.js +67 -0
- package/dist/components/colorpicker/ColorUtils.js +216 -0
- package/dist/components/colorpicker/ColorWheel.js +106 -0
- package/dist/components/colorpicker/ColorWheelFlower.js +462 -0
- package/dist/components/colorpicker/HueSlider.js +105 -0
- package/dist/components/colorpicker/LightnessSlider.js +111 -0
- package/dist/components/colorpicker/SaturationBrightness.js +120 -0
- package/dist/components/colorpicker/colorpickerContext.js +8 -0
- package/dist/components/colorpicker/index.js +31 -0
- package/dist/components/confirm-dialog/ConfirmDialog.js +102 -0
- package/dist/components/confirm-dialog/index.js +3 -0
- package/dist/components/connectionstatus/ConnectionStatus.js +189 -0
- package/dist/components/connectionstatus/index.js +3 -0
- package/dist/components/copy-button/CopyButton.js +70 -0
- package/dist/components/copy-button/index.js +3 -0
- package/dist/components/countdown/Countdown.d.ts +1 -0
- package/dist/components/countdown/Countdown.js +37 -0
- package/dist/components/countdown/countdown.css +58 -0
- package/dist/components/countdown/index.js +3 -0
- package/dist/components/diff/Diff.d.ts +1 -0
- package/dist/components/diff/Diff.js +29 -0
- package/dist/components/diff/diff.css +162 -0
- package/dist/components/diff/index.js +3 -0
- package/dist/components/divider/Divider.js +41 -0
- package/dist/components/divider/Divider.styles.js +71 -0
- package/dist/components/divider/index.js +3 -0
- package/dist/components/dock/Dock.d.ts +1 -0
- package/dist/components/dock/Dock.js +40 -0
- package/dist/components/dock/DockItem.js +45 -0
- package/dist/components/dock/DockLabel.js +22 -0
- package/dist/components/dock/dock.css +147 -0
- package/dist/components/dock/index.js +3 -0
- package/dist/components/drawer/Drawer.d.ts +1 -0
- package/dist/components/drawer/Drawer.js +68 -0
- package/dist/components/drawer/drawer.css +184 -0
- package/dist/components/drawer/index.js +3 -0
- package/dist/components/dropdown/Dropdown.d.ts +3 -3
- package/dist/components/dropdown/Dropdown.js +133 -0
- package/dist/components/dropdown/DropdownDetails.js +44 -0
- package/dist/components/dropdown/DropdownItem.js +60 -0
- package/dist/components/dropdown/DropdownMenu.js +44 -0
- package/dist/components/dropdown/DropdownToggle.js +92 -0
- package/dist/components/dropdown/dropdown.css +253 -0
- package/dist/components/dropdown/dropdownContext.d.ts +10 -0
- package/dist/components/dropdown/dropdownContext.js +54 -0
- package/dist/components/dropdown/index.js +3 -0
- package/dist/components/dropdown-select/DropdownSelect.js +279 -0
- package/dist/components/dropdown-select/index.js +3 -0
- package/dist/components/empty-state/EmptyState.js +88 -0
- package/dist/components/empty-state/index.js +3 -0
- package/dist/components/fieldset/Fieldset.js +73 -0
- package/dist/components/fieldset/index.js +3 -0
- package/dist/components/fileinput/FileInput.d.ts +1 -0
- package/dist/components/fileinput/FileInput.js +51 -0
- package/dist/components/fileinput/index.js +3 -0
- package/dist/components/fileinput/input.css +277 -0
- package/dist/components/flex/Flex.js +101 -0
- package/dist/components/flex/index.js +3 -0
- package/dist/components/floating-dock/FloatingDock.js +550 -0
- package/dist/components/floating-dock/index.js +3 -0
- package/dist/components/footer/Footer.d.ts +1 -0
- package/dist/components/footer/Footer.js +41 -0
- package/dist/components/footer/FooterTitle.js +27 -0
- package/dist/components/footer/footer.css +51 -0
- package/dist/components/footer/index.js +3 -0
- package/dist/components/form/Form.d.ts +3 -8
- 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.js +138 -0
- package/dist/components/form/FormField.js +78 -0
- package/dist/components/form/Label.js +31 -0
- package/dist/components/form/NumberField.js +109 -0
- package/dist/components/form/PasswordField.js +113 -0
- package/dist/components/form/ValidatedForm.d.ts +1 -1
- package/dist/components/form/ValidatedForm.js +55 -0
- package/dist/components/form/index.js +6 -0
- package/dist/components/form-actions/FormActions.js +142 -0
- package/dist/components/form-actions/index.js +3 -0
- package/dist/components/glass-panel/GlassPanel.js +146 -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.js +47 -0
- package/dist/components/glow-card/index.js +3 -0
- package/dist/components/grid/Grid.js +89 -0
- package/dist/components/grid/index.js +3 -0
- package/dist/components/hero/Hero.d.ts +1 -0
- package/dist/components/hero/Hero.js +47 -0
- package/dist/components/hero/HeroContent.js +31 -0
- package/dist/components/hero/HeroOverlay.js +39 -0
- package/dist/components/hero/hero.css +38 -0
- package/dist/components/hero/index.js +3 -0
- package/dist/components/icon/Icon.js +38 -0
- package/dist/components/icon/index.js +3 -0
- package/dist/components/immersive-landing/ImmersiveLanding.js +218 -0
- package/dist/components/immersive-landing/ImmersiveLandingArrows.js +60 -0
- package/dist/components/immersive-landing/ImmersiveLandingContext.js +8 -0
- package/dist/components/immersive-landing/ImmersiveLandingNavigation.js +91 -0
- package/dist/components/immersive-landing/ImmersiveLandingPage.js +46 -0
- package/dist/components/immersive-landing/components/CookieConsent.js +256 -0
- package/dist/components/immersive-landing/components/FirefoxPWABanner.js +173 -0
- package/dist/components/immersive-landing/components/PWAInstallPrompt.js +178 -0
- package/dist/components/immersive-landing/index.js +14 -0
- package/dist/components/immersive-landing/types.js +0 -0
- package/dist/components/immersive-landing/useImmersiveLanding.js +151 -0
- package/dist/components/indicator/Indicator.d.ts +1 -0
- package/dist/components/indicator/Indicator.js +76 -0
- package/dist/components/indicator/index.js +3 -0
- package/dist/components/indicator/indicator.css +70 -0
- package/dist/components/input/Input.d.ts +1 -0
- package/dist/components/input/Input.js +136 -0
- package/dist/components/input/index.js +3 -0
- package/dist/components/input/input.css +277 -0
- package/dist/components/join/Join.js +41 -0
- package/dist/components/join/index.js +3 -0
- package/dist/components/kbd/Kbd.d.ts +1 -0
- package/dist/components/kbd/Kbd.js +22 -0
- package/dist/components/kbd/index.js +3 -0
- package/dist/components/kbd/kbd.css +55 -0
- package/dist/components/language-switcher/LanguageSwitcher.js +101 -0
- package/dist/components/language-switcher/createI18n.js +85 -0
- package/dist/components/language-switcher/index.js +8 -0
- package/dist/components/link/Link.d.ts +1 -0
- package/dist/components/link/Link.js +70 -0
- package/dist/components/link/index.js +3 -0
- package/dist/components/link/link.css +153 -0
- package/dist/components/live-chat/LiveChatBubble.js +106 -0
- package/dist/components/live-chat/LiveChatPanel.js +359 -0
- package/dist/components/live-chat/index.js +5 -0
- package/dist/components/live-chat/types.js +0 -0
- package/dist/components/loading/Loading.d.ts +1 -0
- package/dist/components/loading/Loading.js +75 -0
- package/dist/components/loading/index.js +3 -0
- package/dist/components/loading/loading.css +58 -0
- package/dist/components/mask/Mask.d.ts +1 -0
- package/dist/components/mask/Mask.js +62 -0
- package/dist/components/mask/index.js +3 -0
- package/dist/components/mask/mask.css +89 -0
- package/dist/components/menu/Menu.d.ts +1 -0
- package/dist/components/menu/Menu.js +51 -0
- package/dist/components/menu/MenuDetails.js +37 -0
- package/dist/components/menu/MenuDropdown.js +48 -0
- package/dist/components/menu/MenuItem.js +40 -0
- package/dist/components/menu/MenuTitle.js +22 -0
- package/dist/components/menu/index.js +3 -0
- package/dist/components/menu/menu.css +364 -0
- package/dist/components/modal/Modal.d.ts +1 -0
- package/dist/components/modal/Modal.js +125 -0
- package/dist/components/modal/ModalActions.js +14 -0
- package/dist/components/modal/ModalBody.js +14 -0
- package/dist/components/modal/ModalHeader.js +15 -0
- package/dist/components/modal/ModalLegacy.js +36 -0
- package/dist/components/modal/index.js +3 -0
- package/dist/components/modal/modal.css +170 -0
- package/dist/components/navbar/Navbar.d.ts +1 -0
- package/dist/components/navbar/Navbar.js +54 -0
- package/dist/components/navbar/NavbarRow.js +49 -0
- package/dist/components/navbar/NavbarSection.js +38 -0
- package/dist/components/navbar/NavbarStack.js +39 -0
- package/dist/components/navbar/index.js +3 -0
- package/dist/components/navbar/navbar.css +33 -0
- package/dist/components/noise-background/NoiseBackground.js +200 -0
- package/dist/components/noise-background/index.js +3 -0
- package/dist/components/pagination/Pagination.js +17 -0
- package/dist/components/pagination/index.js +3 -0
- package/dist/components/phonemockup/PhoneMockup.js +44 -0
- package/dist/components/phonemockup/index.js +3 -0
- package/dist/components/progress/Progress.d.ts +1 -0
- package/dist/components/progress/Progress.js +70 -0
- package/dist/components/progress/index.js +3 -0
- package/dist/components/progress/progress.css +94 -0
- package/dist/components/props-table/PropsTable.js +56 -0
- package/dist/components/props-table/index.js +3 -0
- package/dist/components/radialprogress/RadialProgress.js +47 -0
- package/dist/components/radialprogress/index.js +3 -0
- package/dist/components/radio/Radio.d.ts +1 -0
- package/dist/components/radio/Radio.js +73 -0
- package/dist/components/radio/index.js +3 -0
- package/dist/components/radio/radio.css +152 -0
- package/dist/components/radio-group/RadioGroup.d.ts +1 -0
- package/dist/components/radio-group/RadioGroup.js +107 -0
- package/dist/components/radio-group/index.js +3 -0
- package/dist/components/radio-group/radio.css +152 -0
- package/dist/components/range/Range.d.ts +1 -0
- package/dist/components/range/Range.js +85 -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 +1 -0
- package/dist/components/range-slider/RangeSlider.js +112 -0
- package/dist/components/range-slider/index.js +3 -0
- package/dist/components/range-slider/range.css +174 -0
- package/dist/components/rating/Rating.d.ts +1 -0
- package/dist/components/rating/Rating.js +54 -0
- package/dist/components/rating/RatingHidden.js +29 -0
- package/dist/components/rating/RatingItem.js +62 -0
- package/dist/components/rating/index.js +3 -0
- package/dist/components/rating/rating.css +106 -0
- package/dist/components/select/Select.d.ts +1 -0
- package/dist/components/select/Select.js +62 -0
- package/dist/components/select/index.js +3 -0
- package/dist/components/select/select.css +351 -0
- package/dist/components/showcase/ShowcaseBlock.js +48 -0
- package/dist/components/showcase/index.js +3 -0
- package/dist/components/showcase-section/ShowcaseSection.js +73 -0
- package/dist/components/showcase-section/index.js +3 -0
- package/dist/components/sidenav/Sidenav.css +176 -0
- package/dist/components/sidenav/Sidenav.js +66 -0
- package/dist/components/sidenav/SidenavButton.js +41 -0
- package/dist/components/sidenav/SidenavGroup.js +45 -0
- package/dist/components/sidenav/SidenavItem.js +37 -0
- package/dist/components/sidenav/SidenavLink.js +36 -0
- package/dist/components/sidenav/SidenavMenu.js +31 -0
- package/dist/components/sidenav/index.js +13 -0
- package/dist/components/size-picker/SizePicker.js +63 -0
- package/dist/components/size-picker/index.js +6 -0
- package/dist/components/size-picker/sizeStore.js +36 -0
- package/dist/components/skeleton/Skeleton.d.ts +1 -0
- package/dist/components/skeleton/Skeleton.js +30 -0
- package/dist/components/skeleton/index.js +3 -0
- package/dist/components/skeleton/skeleton.css +22 -0
- package/dist/components/skip-link/SkipLink.js +34 -0
- package/dist/components/skip-link/index.js +3 -0
- package/dist/components/stack/Stack.d.ts +1 -0
- package/dist/components/stack/Stack.js +53 -0
- package/dist/components/stack/index.js +3 -0
- package/dist/components/stack/stack.css +90 -0
- package/dist/components/stat-card/StatCard.js +46 -0
- package/dist/components/stat-card/StatCardSection.js +39 -0
- package/dist/components/stat-card/index.js +3 -0
- package/dist/components/stats/Stat.d.ts +1 -0
- package/dist/components/stats/Stat.js +51 -0
- package/dist/components/stats/StatSection.js +29 -0
- package/dist/components/stats/Stats.js +29 -0
- package/dist/components/stats/index.js +3 -0
- package/dist/components/stats/stat.css +67 -0
- package/dist/components/status/Status.js +30 -0
- package/dist/components/status/index.js +3 -0
- package/dist/components/steps/Step.d.ts +1 -0
- package/dist/components/steps/Step.js +88 -0
- package/dist/components/steps/Steps.js +80 -0
- package/dist/components/steps/index.js +3 -0
- package/dist/components/steps/step.css +179 -0
- package/dist/components/streaming-table/StreamingTable.js +343 -0
- package/dist/components/streaming-table/createRowStore.js +18 -0
- package/dist/components/streaming-table/createStreamingTableStore.js +68 -0
- package/dist/components/streaming-table/index.js +5 -0
- package/dist/components/streaming-table/types.js +0 -0
- package/dist/components/svgbackground/SvgBackground.js +413 -0
- package/dist/components/svgbackground/index.js +3 -0
- package/dist/components/swap/Swap.d.ts +1 -0
- package/dist/components/swap/Swap.js +57 -0
- package/dist/components/swap/index.js +3 -0
- package/dist/components/swap/swap.css +92 -0
- package/dist/components/switch-field/SwitchField.js +91 -0
- package/dist/components/switch-field/index.js +3 -0
- package/dist/components/table/EnhancedTable.d.ts +3 -0
- package/dist/components/table/EnhancedTable.js +733 -0
- package/dist/components/table/Table.d.ts +1 -0
- package/dist/components/table/Table.js +57 -0
- package/dist/components/table/TableBody.js +30 -0
- package/dist/components/table/TableCell.js +34 -0
- package/dist/components/table/TableFooter.js +45 -0
- package/dist/components/table/TableHead.js +45 -0
- package/dist/components/table/TableHeadCell.js +34 -0
- package/dist/components/table/TableRow.js +34 -0
- package/dist/components/table/index.js +5 -0
- package/dist/components/table/table.css +148 -0
- package/dist/components/tabs/RadioTab.d.ts +1 -0
- package/dist/components/tabs/RadioTab.js +64 -0
- package/dist/components/tabs/Tab.js +43 -0
- package/dist/components/tabs/Tabs.d.ts +1 -0
- package/dist/components/tabs/Tabs.js +45 -0
- package/dist/components/tabs/index.js +3 -0
- package/dist/components/tabs/tab.css +414 -0
- package/dist/components/textarea/Textarea.d.ts +1 -0
- package/dist/components/textarea/Textarea.js +53 -0
- package/dist/components/textarea/index.js +3 -0
- package/dist/components/textarea/textarea.css +191 -0
- package/dist/components/theme-color-picker/ThemeColorPicker.js +151 -0
- package/dist/components/theme-color-picker/hueShift.js +476 -0
- package/dist/components/theme-color-picker/index.js +7 -0
- package/dist/components/timeline/Timeline.d.ts +1 -0
- package/dist/components/timeline/Timeline.js +42 -0
- package/dist/components/timeline/TimelineEnd.js +28 -0
- package/dist/components/timeline/TimelineItem.js +47 -0
- package/dist/components/timeline/TimelineMiddle.js +25 -0
- package/dist/components/timeline/TimelineStart.js +28 -0
- package/dist/components/timeline/index.js +11 -0
- package/dist/components/timeline/timeline.css +286 -0
- package/dist/components/toast/Toast.d.ts +1 -0
- package/dist/components/toast/Toast.js +54 -0
- package/dist/components/toast/index.js +3 -0
- package/dist/components/toast/toast.css +58 -0
- package/dist/components/toastcontainer/ToastContainer.js +15 -0
- package/dist/components/toastcontainer/ToastStack.js +172 -0
- package/dist/components/toastcontainer/index.js +5 -0
- package/dist/components/toggle/Toggle.d.ts +1 -0
- package/dist/components/toggle/Toggle.js +74 -0
- package/dist/components/toggle/index.js +3 -0
- package/dist/components/toggle/toggle.css +234 -0
- package/dist/components/tooltip/Tooltip.d.ts +1 -0
- package/dist/components/tooltip/Tooltip.js +54 -0
- package/dist/components/tooltip/index.js +3 -0
- package/dist/components/tooltip/tooltip.css +198 -0
- package/dist/components/types.js +8 -0
- package/dist/components/utils.js +46 -0
- package/dist/components/video-preview/VideoPreview.js +55 -0
- package/dist/components/video-preview/index.js +3 -0
- package/dist/components/windowmockup/WindowMockup.js +85 -0
- package/dist/components/windowmockup/index.js +3 -0
- package/dist/countdown/countdown.css +58 -0
- package/dist/diff/diff.css +162 -0
- package/dist/dock/dock.css +147 -0
- package/dist/drawer/drawer.css +184 -0
- package/dist/dropdown/dropdown.css +253 -0
- package/dist/fileinput/input.css +277 -0
- package/dist/footer/footer.css +51 -0
- package/dist/hero/hero.css +38 -0
- package/dist/index.css +53 -55
- package/dist/index.js +239 -19828
- package/dist/indicator/indicator.css +70 -0
- package/dist/input/input.css +277 -0
- package/dist/kbd/kbd.css +55 -0
- package/dist/lib/iterable.js +6 -0
- package/dist/lib/props/index.js +0 -0
- package/dist/lib/props/types.js +0 -0
- package/dist/lib/refs/index.js +3 -0
- package/dist/lib/refs/mergeRefs.js +5 -0
- package/dist/lib/refs/types.js +0 -0
- package/dist/lib/style/classes.js +40 -0
- package/dist/lib/style/index.js +4 -0
- package/dist/lib/tag/createIsButton.js +23 -0
- package/dist/lib/tag/createTagName.js +5 -0
- package/dist/lib/tag/index.js +7 -0
- package/dist/link/link.css +153 -0
- package/dist/loading/loading.css +58 -0
- package/dist/mask/mask.css +89 -0
- package/dist/menu/menu.css +364 -0
- package/dist/modal/modal.css +170 -0
- package/dist/motion/driver.js +13 -0
- package/dist/motion/easing.js +18 -0
- package/dist/motion/engine.js +85 -0
- package/dist/motion/index.js +34 -0
- package/dist/motion/popmotion.js +6 -0
- package/dist/motion/presets.js +203 -0
- package/dist/motion/reduced-motion.js +2 -0
- package/dist/motion/route.js +24 -0
- package/dist/motion/solid/MotionDiv.js +76 -0
- package/dist/motion/solid/index.js +3 -0
- package/dist/motion/system.js +59 -0
- package/dist/motion/tokens.js +42 -0
- package/dist/motion/types.js +0 -0
- package/dist/navbar/navbar.css +33 -0
- package/dist/progress/progress.css +94 -0
- package/dist/radio/radio.css +152 -0
- package/dist/radio-group/radio.css +152 -0
- package/dist/range/range.css +174 -0
- package/dist/range-slider/range.css +174 -0
- package/dist/rating/rating.css +106 -0
- package/dist/select/select.css +351 -0
- package/dist/skeleton/skeleton.css +22 -0
- package/dist/stack/stack.css +90 -0
- package/dist/stats/stat.css +67 -0
- package/dist/steps/step.css +179 -0
- package/dist/stores/index.js +1 -0
- package/dist/stores/toastStore.js +64 -0
- package/dist/swap/swap.css +92 -0
- package/dist/table/table.css +148 -0
- package/dist/tabs/tab.css +414 -0
- package/dist/textarea/textarea.css +191 -0
- package/dist/timeline/timeline.css +286 -0
- package/dist/toast/toast.css +58 -0
- package/dist/toggle/toggle.css +234 -0
- package/dist/tooltip/tooltip.css +198 -0
- package/package.json +26 -5
- package/dist/styles/compat/daisy-primitives.css +0 -6919
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.tooltip {
|
|
3
|
+
position: relative;
|
|
4
|
+
display: inline-block;
|
|
5
|
+
--tt-bg: var(--color-neutral);
|
|
6
|
+
--tt-off: calc(100% + 0.5rem);
|
|
7
|
+
--tt-tail: calc(100% + 1px + 0.25rem);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.tooltip > .tooltip-content,
|
|
11
|
+
.tooltip[data-tip]:before {
|
|
12
|
+
position: absolute;
|
|
13
|
+
max-width: 20rem;
|
|
14
|
+
border-radius: var(--radius-field);
|
|
15
|
+
padding-inline: calc(0.25rem * 2);
|
|
16
|
+
padding-block: calc(0.25rem * 1);
|
|
17
|
+
text-align: center;
|
|
18
|
+
white-space: normal;
|
|
19
|
+
color: var(--color-neutral-content);
|
|
20
|
+
opacity: 0%;
|
|
21
|
+
font-size: 0.875rem;
|
|
22
|
+
line-height: 1.25;
|
|
23
|
+
background-color: var(--tt-bg);
|
|
24
|
+
width: max-content;
|
|
25
|
+
pointer-events: none;
|
|
26
|
+
z-index: 2;
|
|
27
|
+
--tw-content: attr(data-tip);
|
|
28
|
+
content: var(--tw-content);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.tooltip:after {
|
|
32
|
+
opacity: 0%;
|
|
33
|
+
background-color: var(--tt-bg);
|
|
34
|
+
content: "";
|
|
35
|
+
pointer-events: none;
|
|
36
|
+
width: 0.625rem;
|
|
37
|
+
height: 0.25rem;
|
|
38
|
+
display: block;
|
|
39
|
+
position: absolute;
|
|
40
|
+
mask-repeat: no-repeat;
|
|
41
|
+
mask-position: -1px 0;
|
|
42
|
+
--mask-tooltip: url("data:image/svg+xml,%3Csvg width='10' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.500009 1C3.5 1 3.00001 4 5.00001 4C7 4 6.5 1 9.5 1C10 1 10 0.499897 10 0H0C-1.99338e-08 0.5 0 1 0.500009 1Z' fill='black'/%3E%3C/svg%3E%0A");
|
|
43
|
+
mask-image: var(--mask-tooltip);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
47
|
+
.tooltip > .tooltip-content,
|
|
48
|
+
.tooltip[data-tip]:before,
|
|
49
|
+
.tooltip:after {
|
|
50
|
+
transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.tooltip:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))).tooltip-open > .tooltip-content,
|
|
55
|
+
.tooltip:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))).tooltip-open[data-tip]:before,
|
|
56
|
+
.tooltip:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))).tooltip-open:after,
|
|
57
|
+
.tooltip:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))):hover > .tooltip-content,
|
|
58
|
+
.tooltip:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))):hover[data-tip]:before,
|
|
59
|
+
.tooltip:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))):hover:after,
|
|
60
|
+
.tooltip:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))):has(:focus-visible) > .tooltip-content,
|
|
61
|
+
.tooltip:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))):has(:focus-visible)[data-tip]:before,
|
|
62
|
+
.tooltip:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))):has(:focus-visible):after {
|
|
63
|
+
opacity: 100%;
|
|
64
|
+
--tt-pos: 0rem;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
68
|
+
.tooltip:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))).tooltip-open > .tooltip-content,
|
|
69
|
+
.tooltip:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))).tooltip-open[data-tip]:before,
|
|
70
|
+
.tooltip:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))).tooltip-open:after,
|
|
71
|
+
.tooltip:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))):hover > .tooltip-content,
|
|
72
|
+
.tooltip:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))):hover[data-tip]:before,
|
|
73
|
+
.tooltip:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))):hover:after,
|
|
74
|
+
.tooltip:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))):has(:focus-visible) > .tooltip-content,
|
|
75
|
+
.tooltip:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))):has(:focus-visible)[data-tip]:before,
|
|
76
|
+
.tooltip:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))):has(:focus-visible):after {
|
|
77
|
+
transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0s, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0s;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.tooltip > .tooltip-content,
|
|
82
|
+
.tooltip[data-tip]:before {
|
|
83
|
+
transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem));
|
|
84
|
+
inset: auto auto var(--tt-off) 50%;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.tooltip:after {
|
|
88
|
+
transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem));
|
|
89
|
+
inset: auto auto var(--tt-tail) 50%;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.tooltip-bottom > .tooltip-content,
|
|
93
|
+
.tooltip-bottom[data-tip]:before {
|
|
94
|
+
transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem));
|
|
95
|
+
inset: var(--tt-off) auto auto 50%;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.tooltip-bottom:after {
|
|
99
|
+
transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem)) rotate(180deg);
|
|
100
|
+
inset: var(--tt-tail) auto auto 50%;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.tooltip-left > .tooltip-content,
|
|
104
|
+
.tooltip-left[data-tip]:before {
|
|
105
|
+
transform: translateX(calc(var(--tt-pos, 0.25rem) - 0.25rem)) translateY(-50%);
|
|
106
|
+
inset: 50% var(--tt-off) auto auto;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.tooltip-left:after {
|
|
110
|
+
transform: translateX(var(--tt-pos, 0.25rem)) translateY(-50%) rotate(-90deg);
|
|
111
|
+
inset: 50% calc(var(--tt-tail) + 1px) auto auto;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.tooltip-right > .tooltip-content,
|
|
115
|
+
.tooltip-right[data-tip]:before {
|
|
116
|
+
transform: translateX(calc(var(--tt-pos, -0.25rem) + 0.25rem)) translateY(-50%);
|
|
117
|
+
inset: 50% auto auto var(--tt-off);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.tooltip-right:after {
|
|
121
|
+
transform: translateX(var(--tt-pos, -0.25rem)) translateY(-50%) rotate(90deg);
|
|
122
|
+
inset: 50% auto auto calc(var(--tt-tail) + 1px);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.tooltip-top > .tooltip-content,
|
|
126
|
+
.tooltip-top[data-tip]:before {
|
|
127
|
+
transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem));
|
|
128
|
+
inset: auto auto var(--tt-off) 50%;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.tooltip-top:after {
|
|
132
|
+
transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem));
|
|
133
|
+
inset: auto auto var(--tt-tail) 50%;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.tooltip-accent {
|
|
137
|
+
--tt-bg: var(--color-accent);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.tooltip-accent > .tooltip-content,
|
|
141
|
+
.tooltip-accent[data-tip]:before {
|
|
142
|
+
color: var(--color-accent-content);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.tooltip-error {
|
|
146
|
+
--tt-bg: var(--color-error);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.tooltip-error > .tooltip-content,
|
|
150
|
+
.tooltip-error[data-tip]:before {
|
|
151
|
+
color: var(--color-error-content);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.tooltip-info {
|
|
155
|
+
--tt-bg: var(--color-info);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.tooltip-info > .tooltip-content,
|
|
159
|
+
.tooltip-info[data-tip]:before {
|
|
160
|
+
color: var(--color-info-content);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.tooltip-primary {
|
|
164
|
+
--tt-bg: var(--color-primary);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.tooltip-primary > .tooltip-content,
|
|
168
|
+
.tooltip-primary[data-tip]:before {
|
|
169
|
+
color: var(--color-primary-content);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.tooltip-secondary {
|
|
173
|
+
--tt-bg: var(--color-secondary);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.tooltip-secondary > .tooltip-content,
|
|
177
|
+
.tooltip-secondary[data-tip]:before {
|
|
178
|
+
color: var(--color-secondary-content);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.tooltip-success {
|
|
182
|
+
--tt-bg: var(--color-success);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.tooltip-success > .tooltip-content,
|
|
186
|
+
.tooltip-success[data-tip]:before {
|
|
187
|
+
color: var(--color-success-content);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.tooltip-warning {
|
|
191
|
+
--tt-bg: var(--color-warning);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.tooltip-warning > .tooltip-content,
|
|
195
|
+
.tooltip-warning[data-tip]:before {
|
|
196
|
+
color: var(--color-warning-content);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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__types_js_7eec16d2__ from "./types.js";
|
|
4
|
+
function isJSXElement(node) {
|
|
5
|
+
return "object" == typeof node && null !== node;
|
|
6
|
+
}
|
|
7
|
+
function wrapWithElementIfInvalid({ node, wrapper = "div", className = "" }) {
|
|
8
|
+
null == node || "string" == typeof node || "number" == typeof node || isJSXElement(node);
|
|
9
|
+
return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.Dynamic, {
|
|
10
|
+
component: wrapper,
|
|
11
|
+
class: className,
|
|
12
|
+
children: node
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
function mapResponsiveProp(prop, classMap) {
|
|
16
|
+
if (void 0 === prop) return [];
|
|
17
|
+
if ("string" == typeof prop || "boolean" == typeof prop) return [
|
|
18
|
+
classMap[String(prop)]
|
|
19
|
+
];
|
|
20
|
+
return __WEBPACK_EXTERNAL_MODULE__types_js_7eec16d2__.breakpoints.flatMap((bp)=>{
|
|
21
|
+
const value = prop[bp];
|
|
22
|
+
if (void 0 === value) return [];
|
|
23
|
+
const className = classMap[String(value)];
|
|
24
|
+
return "base" === bp ? [
|
|
25
|
+
className
|
|
26
|
+
] : [
|
|
27
|
+
`${bp}:${className}`
|
|
28
|
+
];
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
function useDesktop(breakpoint = 1024) {
|
|
32
|
+
const [isDesktop, setIsDesktop] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createSignal)(false);
|
|
33
|
+
const checkIfDesktop = ()=>{
|
|
34
|
+
const width = window.innerWidth;
|
|
35
|
+
setIsDesktop(width >= breakpoint);
|
|
36
|
+
};
|
|
37
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.onMount)(()=>{
|
|
38
|
+
checkIfDesktop();
|
|
39
|
+
window.addEventListener("resize", checkIfDesktop);
|
|
40
|
+
});
|
|
41
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.onCleanup)(()=>{
|
|
42
|
+
window.removeEventListener("resize", checkIfDesktop);
|
|
43
|
+
});
|
|
44
|
+
return isDesktop;
|
|
45
|
+
}
|
|
46
|
+
export { mapResponsiveProp, useDesktop, wrapWithElementIfInvalid };
|
|
@@ -0,0 +1,55 @@
|
|
|
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)("<video>");
|
|
5
|
+
const VideoPreview = (props)=>{
|
|
6
|
+
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
7
|
+
"stream",
|
|
8
|
+
"muted",
|
|
9
|
+
"mirror",
|
|
10
|
+
"dataTheme",
|
|
11
|
+
"class",
|
|
12
|
+
"className",
|
|
13
|
+
"style"
|
|
14
|
+
]);
|
|
15
|
+
const muted = ()=>local.muted ?? true;
|
|
16
|
+
const mirror = ()=>local.mirror ?? false;
|
|
17
|
+
return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.Show, {
|
|
18
|
+
get when () {
|
|
19
|
+
return local.stream();
|
|
20
|
+
},
|
|
21
|
+
children: (stream)=>{
|
|
22
|
+
let videoRef;
|
|
23
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createEffect)(()=>{
|
|
24
|
+
videoRef.srcObject = stream();
|
|
25
|
+
});
|
|
26
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.onCleanup)(()=>{
|
|
27
|
+
videoRef.srcObject = null;
|
|
28
|
+
});
|
|
29
|
+
return (()=>{
|
|
30
|
+
var _el$ = _tmpl$();
|
|
31
|
+
var _ref$ = videoRef;
|
|
32
|
+
"function" == typeof _ref$ ? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.use)(_ref$, _el$) : videoRef = _el$;
|
|
33
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
|
|
34
|
+
autoplay: true,
|
|
35
|
+
playsinline: true,
|
|
36
|
+
get muted () {
|
|
37
|
+
return muted();
|
|
38
|
+
},
|
|
39
|
+
get ["data-theme"] () {
|
|
40
|
+
return local.dataTheme;
|
|
41
|
+
},
|
|
42
|
+
get ["class"] () {
|
|
43
|
+
return (0, __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__.twMerge)(mirror() && "-scale-x-100", local.class, local.className);
|
|
44
|
+
},
|
|
45
|
+
get style () {
|
|
46
|
+
return local.style;
|
|
47
|
+
}
|
|
48
|
+
}), false, false);
|
|
49
|
+
return _el$;
|
|
50
|
+
})();
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
const video_preview_VideoPreview = VideoPreview;
|
|
55
|
+
export { VideoPreview, video_preview_VideoPreview as default };
|
|
@@ -0,0 +1,85 @@
|
|
|
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_clsx__ from "clsx";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__ from "tailwind-merge";
|
|
5
|
+
var _tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>"), _tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div aria-label="Window mockup">');
|
|
6
|
+
const WindowMockup = (props)=>{
|
|
7
|
+
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
8
|
+
"children",
|
|
9
|
+
"class",
|
|
10
|
+
"className",
|
|
11
|
+
"dataTheme",
|
|
12
|
+
"border",
|
|
13
|
+
"borderColor",
|
|
14
|
+
"backgroundColor",
|
|
15
|
+
"frameColor"
|
|
16
|
+
]);
|
|
17
|
+
const resolvedChildren = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.children)(()=>local.children);
|
|
18
|
+
const borderColorValue = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>local.borderColor || local.frameColor || "neutral");
|
|
19
|
+
const classes = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>(0, __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__.twMerge)("mockup-window", local.class, local.className, local.border && `border border-${borderColorValue()}`, (0, __WEBPACK_EXTERNAL_MODULE_clsx__["default"])({
|
|
20
|
+
"border-neutral": "neutral" === borderColorValue(),
|
|
21
|
+
"border-primary": "primary" === borderColorValue(),
|
|
22
|
+
"border-secondary": "secondary" === borderColorValue(),
|
|
23
|
+
"border-accent": "accent" === borderColorValue(),
|
|
24
|
+
"border-info": "info" === borderColorValue(),
|
|
25
|
+
"border-success": "success" === borderColorValue(),
|
|
26
|
+
"border-warning": "warning" === borderColorValue(),
|
|
27
|
+
"border-error": "error" === borderColorValue(),
|
|
28
|
+
"bg-neutral": "neutral" === local.frameColor,
|
|
29
|
+
"bg-primary": "primary" === local.frameColor,
|
|
30
|
+
"bg-secondary": "secondary" === local.frameColor,
|
|
31
|
+
"bg-accent": "accent" === local.frameColor,
|
|
32
|
+
"bg-info": "info" === local.frameColor,
|
|
33
|
+
"bg-success": "success" === local.frameColor,
|
|
34
|
+
"bg-warning": "warning" === local.frameColor,
|
|
35
|
+
"bg-error": "error" === local.frameColor
|
|
36
|
+
})));
|
|
37
|
+
const innerClasses = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>(0, __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__.twMerge)("p-4", local.backgroundColor && `bg-${local.backgroundColor}`, local.border && `border-t border-${borderColorValue()}`, (0, __WEBPACK_EXTERNAL_MODULE_clsx__["default"])({
|
|
38
|
+
"bg-neutral": "neutral" === local.backgroundColor,
|
|
39
|
+
"bg-primary": "primary" === local.backgroundColor,
|
|
40
|
+
"bg-secondary": "secondary" === local.backgroundColor,
|
|
41
|
+
"bg-accent": "accent" === local.backgroundColor,
|
|
42
|
+
"bg-info": "info" === local.backgroundColor,
|
|
43
|
+
"bg-success": "success" === local.backgroundColor,
|
|
44
|
+
"bg-warning": "warning" === local.backgroundColor,
|
|
45
|
+
"bg-error": "error" === local.backgroundColor
|
|
46
|
+
})));
|
|
47
|
+
const innerElement = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>{
|
|
48
|
+
const childrenArray = Array.isArray(resolvedChildren()) ? resolvedChildren() : [
|
|
49
|
+
resolvedChildren()
|
|
50
|
+
];
|
|
51
|
+
const firstChild = childrenArray[0];
|
|
52
|
+
if (1 === childrenArray.length && "object" == typeof firstChild && null != firstChild && "type" in firstChild) {
|
|
53
|
+
const existingClass = firstChild.props?.class || firstChild.props?.className || "";
|
|
54
|
+
const mergedClass = (0, __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__.twMerge)(innerClasses(), existingClass);
|
|
55
|
+
return {
|
|
56
|
+
...firstChild,
|
|
57
|
+
props: {
|
|
58
|
+
...firstChild.props,
|
|
59
|
+
class: mergedClass
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
return (()=>{
|
|
64
|
+
var _el$ = _tmpl$();
|
|
65
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, resolvedChildren);
|
|
66
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$, innerClasses()));
|
|
67
|
+
return _el$;
|
|
68
|
+
})();
|
|
69
|
+
});
|
|
70
|
+
return (()=>{
|
|
71
|
+
var _el$2 = _tmpl$2();
|
|
72
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$2, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
|
|
73
|
+
get ["data-theme"] () {
|
|
74
|
+
return local.dataTheme;
|
|
75
|
+
},
|
|
76
|
+
get ["class"] () {
|
|
77
|
+
return classes();
|
|
78
|
+
}
|
|
79
|
+
}), false, true);
|
|
80
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$2, innerElement);
|
|
81
|
+
return _el$2;
|
|
82
|
+
})();
|
|
83
|
+
};
|
|
84
|
+
const windowmockup_WindowMockup = WindowMockup;
|
|
85
|
+
export { windowmockup_WindowMockup as default };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.countdown {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.countdown.countdown {
|
|
7
|
+
line-height: 1em;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.countdown > * {
|
|
11
|
+
visibility: hidden;
|
|
12
|
+
position: relative;
|
|
13
|
+
display: inline-block;
|
|
14
|
+
overflow-y: clip;
|
|
15
|
+
transition: width 0.4s ease-out 0.2s;
|
|
16
|
+
height: 1em;
|
|
17
|
+
--value-v: calc(mod(max(0, var(--value)), 1000));
|
|
18
|
+
--value-hundreds: calc(round(to-zero, var(--value-v) / 100, 1));
|
|
19
|
+
--value-tens: calc(round(to-zero, mod(var(--value-v), 100) / 10, 1));
|
|
20
|
+
--value-ones: calc(mod(var(--value-v), 100));
|
|
21
|
+
--show-hundreds: clamp(clamp(0, var(--digits, 1) - 2, 1), var(--value-hundreds), 1);
|
|
22
|
+
--show-tens: clamp(
|
|
23
|
+
clamp(0, var(--digits, 1) - 1, 1),
|
|
24
|
+
var(--value-tens) + var(--show-hundreds),
|
|
25
|
+
1
|
|
26
|
+
);
|
|
27
|
+
--first-digits: calc(round(to-zero, var(--value-v) / 10, 1));
|
|
28
|
+
width: calc(1ch + var(--show-tens) * 1ch + var(--show-hundreds) * 1ch);
|
|
29
|
+
direction: ltr;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.countdown > *:before,
|
|
33
|
+
.countdown > *:after {
|
|
34
|
+
visibility: visible;
|
|
35
|
+
position: absolute;
|
|
36
|
+
overflow-x: clip;
|
|
37
|
+
--tw-content: "00\A 01\A 02\A 03\A 04\A 05\A 06\A 07\A 08\A 09\A 10\A 11\A 12\A 13\A 14\A 15\A 16\A 17\A 18\A 19\A 20\A 21\A 22\A 23\A 24\A 25\A 26\A 27\A 28\A 29\A 30\A 31\A 32\A 33\A 34\A 35\A 36\A 37\A 38\A 39\A 40\A 41\A 42\A 43\A 44\A 45\A 46\A 47\A 48\A 49\A 50\A 51\A 52\A 53\A 54\A 55\A 56\A 57\A 58\A 59\A 60\A 61\A 62\A 63\A 64\A 65\A 66\A 67\A 68\A 69\A 70\A 71\A 72\A 73\A 74\A 75\A 76\A 77\A 78\A 79\A 80\A 81\A 82\A 83\A 84\A 85\A 86\A 87\A 88\A 89\A 90\A 91\A 92\A 93\A 94\A 95\A 96\A 97\A 98\A 99\A";
|
|
38
|
+
content: var(--tw-content);
|
|
39
|
+
font-variant-numeric: tabular-nums;
|
|
40
|
+
white-space: pre;
|
|
41
|
+
text-align: end;
|
|
42
|
+
direction: rtl;
|
|
43
|
+
transition: all 1s cubic-bezier(1, 0, 0, 1), width 0.2s ease-out 0.2s, opacity 0.2s ease-out 0.2s;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.countdown > *:before {
|
|
47
|
+
width: calc(1ch + var(--show-hundreds) * 1ch);
|
|
48
|
+
top: calc(var(--first-digits) * -1em);
|
|
49
|
+
inset-inline-end: 0;
|
|
50
|
+
opacity: var(--show-tens);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.countdown > *:after {
|
|
54
|
+
width: 1ch;
|
|
55
|
+
top: calc(var(--value-ones) * -1em);
|
|
56
|
+
inset-inline-start: 0;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.diff {
|
|
3
|
+
position: relative;
|
|
4
|
+
display: grid;
|
|
5
|
+
width: 100%;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
webkit-user-select: none;
|
|
8
|
+
user-select: none;
|
|
9
|
+
grid-template-rows: 1fr 1.8rem 1fr;
|
|
10
|
+
direction: ltr;
|
|
11
|
+
container-type: inline-size;
|
|
12
|
+
grid-template-columns: auto 1fr;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.diff:focus-visible,
|
|
16
|
+
.diff:has(.diff-item-1:focus-visible) {
|
|
17
|
+
outline-style: var(--tw-outline-style);
|
|
18
|
+
outline-width: 2px;
|
|
19
|
+
outline-offset: 1px;
|
|
20
|
+
outline-color: var(--color-base-content);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.diff:focus-visible {
|
|
24
|
+
outline-style: var(--tw-outline-style);
|
|
25
|
+
outline-width: 2px;
|
|
26
|
+
outline-offset: 1px;
|
|
27
|
+
outline-color: var(--color-base-content);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.diff:focus-visible .diff-resizer {
|
|
31
|
+
min-width: 95cqi;
|
|
32
|
+
max-width: 95cqi;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.diff:has(.diff-item-1:focus-visible) {
|
|
36
|
+
outline-style: var(--tw-outline-style);
|
|
37
|
+
outline-width: 2px;
|
|
38
|
+
outline-offset: 1px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.diff:has(.diff-item-1:focus-visible) .diff-resizer {
|
|
42
|
+
min-width: 5cqi;
|
|
43
|
+
max-width: 5cqi;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@supports (-webkit-overflow-scrolling: touch) and (overflow: -webkit-paged-x) {
|
|
47
|
+
.diff:focus .diff-resizer {
|
|
48
|
+
min-width: 5cqi;
|
|
49
|
+
max-width: 5cqi;
|
|
50
|
+
}
|
|
51
|
+
.diff:has(.diff-item-1:focus) .diff-resizer {
|
|
52
|
+
min-width: 95cqi;
|
|
53
|
+
max-width: 95cqi;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.diff-item-2 {
|
|
58
|
+
position: relative;
|
|
59
|
+
grid-column-start: 1;
|
|
60
|
+
grid-row: span 3 / span 3;
|
|
61
|
+
grid-row-start: 1;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.diff-item-2:after {
|
|
65
|
+
pointer-events: none;
|
|
66
|
+
position: absolute;
|
|
67
|
+
top: calc(1/2 * 100%);
|
|
68
|
+
right: 1px;
|
|
69
|
+
bottom: calc(0.25rem * 0);
|
|
70
|
+
z-index: 2;
|
|
71
|
+
border-radius: calc(infinity * 1px);
|
|
72
|
+
background-color: var(--color-base-100);
|
|
73
|
+
width: 1.2rem;
|
|
74
|
+
height: 1.8rem;
|
|
75
|
+
border: 2px solid var(--color-base-100);
|
|
76
|
+
border: 0.5px solid #0000001f;
|
|
77
|
+
content: "";
|
|
78
|
+
outline: 1px solid var(--color-base-content);
|
|
79
|
+
outline-offset: -3px;
|
|
80
|
+
translate: 50% -50%;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
84
|
+
.diff-item-2:after {
|
|
85
|
+
background-color: color-mix(in oklab, var(--color-base-100) 98%, transparent);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
90
|
+
.diff-item-2:after {
|
|
91
|
+
outline: 1px solid color-mix(in oklab, var(--color-base-content) 10%, #0000);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.diff-item-2 > * {
|
|
96
|
+
pointer-events: none;
|
|
97
|
+
position: absolute;
|
|
98
|
+
top: calc(0.25rem * 0);
|
|
99
|
+
bottom: calc(0.25rem * 0);
|
|
100
|
+
left: calc(0.25rem * 0);
|
|
101
|
+
height: 100%;
|
|
102
|
+
width: 100cqi;
|
|
103
|
+
max-width: none;
|
|
104
|
+
object-fit: cover;
|
|
105
|
+
object-position: center;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@supports (-webkit-overflow-scrolling: touch) and (overflow: -webkit-paged-x) {
|
|
109
|
+
.diff-item-2:after {
|
|
110
|
+
--tw-content: none;
|
|
111
|
+
content: var(--tw-content);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.diff-item-1 {
|
|
116
|
+
position: relative;
|
|
117
|
+
z-index: 1;
|
|
118
|
+
grid-column-start: 1;
|
|
119
|
+
grid-row: span 3 / span 3;
|
|
120
|
+
grid-row-start: 1;
|
|
121
|
+
overflow: hidden;
|
|
122
|
+
border-right: 2px solid var(--color-base-100);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.diff-item-1:focus-visible {
|
|
126
|
+
--tw-outline-style: none;
|
|
127
|
+
outline-style: none;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.diff-item-1 > * {
|
|
131
|
+
pointer-events: none;
|
|
132
|
+
position: absolute;
|
|
133
|
+
top: calc(0.25rem * 0);
|
|
134
|
+
bottom: calc(0.25rem * 0);
|
|
135
|
+
left: calc(0.25rem * 0);
|
|
136
|
+
height: 100%;
|
|
137
|
+
width: 100cqi;
|
|
138
|
+
max-width: none;
|
|
139
|
+
object-fit: cover;
|
|
140
|
+
object-position: center;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.diff-resizer {
|
|
144
|
+
position: relative;
|
|
145
|
+
isolation: isolate;
|
|
146
|
+
z-index: 2;
|
|
147
|
+
grid-column-start: 1;
|
|
148
|
+
grid-row-start: 2;
|
|
149
|
+
height: calc(0.25rem * 3);
|
|
150
|
+
width: 50cqi;
|
|
151
|
+
max-width: calc(100cqi - 1rem);
|
|
152
|
+
min-width: 1rem;
|
|
153
|
+
resize: horizontal;
|
|
154
|
+
overflow: hidden;
|
|
155
|
+
opacity: 0%;
|
|
156
|
+
transform: scaleY(5) translate(0.32rem, 50%);
|
|
157
|
+
cursor: ew-resize;
|
|
158
|
+
transform-origin: 100% 100%;
|
|
159
|
+
clip-path: inset(calc(100% - 0.75rem) 0 0 calc(100% - 0.75rem));
|
|
160
|
+
transition: min-width 0.3s ease-out, max-width 0.3s ease-out;
|
|
161
|
+
}
|
|
162
|
+
}
|