@pathscale/ui 0.0.162 → 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 -19856
- 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,70 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.indicator {
|
|
3
|
+
position: relative;
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
width: max-content;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.indicator :where(.indicator-item) {
|
|
9
|
+
z-index: 1;
|
|
10
|
+
position: absolute;
|
|
11
|
+
white-space: nowrap;
|
|
12
|
+
top: var(--indicator-t, 0);
|
|
13
|
+
bottom: var(--indicator-b, auto);
|
|
14
|
+
left: var(--indicator-s, auto);
|
|
15
|
+
right: var(--indicator-e, 0);
|
|
16
|
+
translate: var(--indicator-x, 50%) var(--indicator-y, -50%);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.indicator-end {
|
|
20
|
+
--indicator-s: auto;
|
|
21
|
+
--indicator-e: 0;
|
|
22
|
+
--indicator-x: 50%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
[dir="rtl"] .indicator-end {
|
|
26
|
+
--indicator-s: 0;
|
|
27
|
+
--indicator-e: auto;
|
|
28
|
+
--indicator-x: -50%;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.indicator-start {
|
|
32
|
+
--indicator-s: 0;
|
|
33
|
+
--indicator-e: auto;
|
|
34
|
+
--indicator-x: -50%;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
[dir="rtl"] .indicator-start {
|
|
38
|
+
--indicator-s: auto;
|
|
39
|
+
--indicator-e: 0;
|
|
40
|
+
--indicator-x: 50%;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.indicator-center {
|
|
44
|
+
--indicator-s: 50%;
|
|
45
|
+
--indicator-e: 50%;
|
|
46
|
+
--indicator-x: -50%;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
[dir="rtl"] .indicator-center {
|
|
50
|
+
--indicator-x: 50%;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.indicator-bottom {
|
|
54
|
+
--indicator-t: auto;
|
|
55
|
+
--indicator-b: 0;
|
|
56
|
+
--indicator-y: 50%;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.indicator-middle {
|
|
60
|
+
--indicator-t: 50%;
|
|
61
|
+
--indicator-b: 50%;
|
|
62
|
+
--indicator-y: -50%;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.indicator-top {
|
|
66
|
+
--indicator-t: 0;
|
|
67
|
+
--indicator-b: auto;
|
|
68
|
+
--indicator-y: -50%;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.input {
|
|
3
|
+
cursor: text;
|
|
4
|
+
border: var(--border) solid #0000;
|
|
5
|
+
position: relative;
|
|
6
|
+
display: inline-flex;
|
|
7
|
+
flex-shrink: 1;
|
|
8
|
+
appearance: none;
|
|
9
|
+
align-items: center;
|
|
10
|
+
gap: calc(0.25rem * 2);
|
|
11
|
+
background-color: var(--color-base-100);
|
|
12
|
+
padding-inline: calc(0.25rem * 3);
|
|
13
|
+
vertical-align: middle;
|
|
14
|
+
white-space: nowrap;
|
|
15
|
+
width: clamp(3rem, 20rem, 100%);
|
|
16
|
+
height: var(--size);
|
|
17
|
+
font-size: max(var(--font-size, 0.875rem), 0.875rem);
|
|
18
|
+
touch-action: manipulation;
|
|
19
|
+
border-start-start-radius: var(--join-ss, var(--radius-field));
|
|
20
|
+
border-start-end-radius: var(--join-se, var(--radius-field));
|
|
21
|
+
border-end-start-radius: var(--join-es, var(--radius-field));
|
|
22
|
+
border-end-end-radius: var(--join-ee, var(--radius-field));
|
|
23
|
+
border-color: var(--input-color);
|
|
24
|
+
box-shadow: 0 1px var(--input-color) inset, 0 -1px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset;
|
|
25
|
+
--size: calc(var(--size-field, 0.25rem) * 10);
|
|
26
|
+
--input-color: var(--color-base-content);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
30
|
+
.input {
|
|
31
|
+
box-shadow: 0 1px color-mix(in oklab, var(--input-color) calc(var(--depth) * 10%), #0000) inset, 0 -1px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
36
|
+
.input {
|
|
37
|
+
--input-color: color-mix(in oklab, var(--color-base-content) 20%, #0000);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.input:where(input) {
|
|
42
|
+
display: inline-flex;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.input :where(input) {
|
|
46
|
+
display: inline-flex;
|
|
47
|
+
height: 100%;
|
|
48
|
+
width: 100%;
|
|
49
|
+
appearance: none;
|
|
50
|
+
background-color: transparent;
|
|
51
|
+
border: none;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.input :where(input):focus,
|
|
55
|
+
.input :where(input):focus-within {
|
|
56
|
+
--tw-outline-style: none;
|
|
57
|
+
outline-style: none;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@media (forced-colors: active) {
|
|
61
|
+
.input :where(input):focus,
|
|
62
|
+
.input :where(input):focus-within {
|
|
63
|
+
outline: 2px solid transparent;
|
|
64
|
+
outline-offset: 2px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.input :where(input[type="url"]),
|
|
69
|
+
.input :where(input[type="email"]) {
|
|
70
|
+
direction: ltr;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.input :where(input[type="date"]) {
|
|
74
|
+
display: inline-flex;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.input:focus,
|
|
78
|
+
.input:focus-within {
|
|
79
|
+
--input-color: var(--color-base-content);
|
|
80
|
+
box-shadow: 0 1px var(--input-color);
|
|
81
|
+
outline: 2px solid var(--input-color);
|
|
82
|
+
outline-offset: 2px;
|
|
83
|
+
isolation: isolate;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
87
|
+
.input:focus,
|
|
88
|
+
.input:focus-within {
|
|
89
|
+
box-shadow: 0 1px color-mix(in oklab, var(--input-color) calc(var(--depth) * 10%), #0000);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@media (pointer: coarse) {
|
|
94
|
+
@supports (-webkit-touch-callout: none) {
|
|
95
|
+
.input:focus,
|
|
96
|
+
.input:focus-within {
|
|
97
|
+
--font-size: 1rem;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.input:has(> input[disabled]),
|
|
103
|
+
.input:is(:disabled, [disabled]),
|
|
104
|
+
fieldset:disabled .input {
|
|
105
|
+
cursor: not-allowed;
|
|
106
|
+
border-color: var(--color-base-200);
|
|
107
|
+
background-color: var(--color-base-200);
|
|
108
|
+
color: var(--color-base-content);
|
|
109
|
+
box-shadow: none;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
113
|
+
.input:has(> input[disabled]),
|
|
114
|
+
.input:is(:disabled, [disabled]),
|
|
115
|
+
fieldset:disabled .input {
|
|
116
|
+
color: color-mix(in oklab, var(--color-base-content) 40%, transparent);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.input:has(> input[disabled])::placeholder,
|
|
121
|
+
.input:is(:disabled, [disabled])::placeholder,
|
|
122
|
+
fieldset:disabled .input::placeholder {
|
|
123
|
+
color: var(--color-base-content);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
127
|
+
.input:has(> input[disabled])::placeholder,
|
|
128
|
+
.input:is(:disabled, [disabled])::placeholder,
|
|
129
|
+
fieldset:disabled .input::placeholder {
|
|
130
|
+
color: color-mix(in oklab, var(--color-base-content) 20%, transparent);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.input:has(> input[disabled]) > input[disabled] {
|
|
135
|
+
cursor: not-allowed;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.input::-webkit-date-and-time-value {
|
|
139
|
+
text-align: inherit;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.input[type="number"]::-webkit-inner-spin-button {
|
|
143
|
+
margin-block: calc(0.25rem * -3);
|
|
144
|
+
margin-inline-end: calc(0.25rem * -3);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.input::-webkit-calendar-picker-indicator {
|
|
148
|
+
position: absolute;
|
|
149
|
+
inset-inline-end: 0.75em;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.input:has(> input[type="date"]) :where(input[type="date"]) {
|
|
153
|
+
display: inline-flex;
|
|
154
|
+
webkit-appearance: none;
|
|
155
|
+
appearance: none;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.input:has(> input[type="date"]) input[type="date"]::-webkit-calendar-picker-indicator {
|
|
159
|
+
position: absolute;
|
|
160
|
+
inset-inline-end: 0.75em;
|
|
161
|
+
width: 1em;
|
|
162
|
+
height: 1em;
|
|
163
|
+
cursor: pointer;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.input-lg {
|
|
167
|
+
--size: calc(var(--size-field, 0.25rem) * 12);
|
|
168
|
+
font-size: max(var(--font-size, 1.125rem), 1.125rem);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.input-lg[type="number"]::-webkit-inner-spin-button {
|
|
172
|
+
margin-block: calc(0.25rem * -3);
|
|
173
|
+
margin-inline-end: calc(0.25rem * -3);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.input-md {
|
|
177
|
+
--size: calc(var(--size-field, 0.25rem) * 10);
|
|
178
|
+
font-size: max(var(--font-size, 0.875rem), 0.875rem);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.input-md[type="number"]::-webkit-inner-spin-button {
|
|
182
|
+
margin-block: calc(0.25rem * -3);
|
|
183
|
+
margin-inline-end: calc(0.25rem * -3);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.input-sm {
|
|
187
|
+
--size: calc(var(--size-field, 0.25rem) * 8);
|
|
188
|
+
font-size: max(var(--font-size, 0.75rem), 0.75rem);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.input-sm[type="number"]::-webkit-inner-spin-button {
|
|
192
|
+
margin-block: calc(0.25rem * -2);
|
|
193
|
+
margin-inline-end: calc(0.25rem * -3);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.input-xl {
|
|
197
|
+
--size: calc(var(--size-field, 0.25rem) * 14);
|
|
198
|
+
font-size: max(var(--font-size, 1.375rem), 1.375rem);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.input-xl[type="number"]::-webkit-inner-spin-button {
|
|
202
|
+
margin-block: calc(0.25rem * -4);
|
|
203
|
+
margin-inline-end: calc(0.25rem * -3);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.input-xs {
|
|
207
|
+
--size: calc(var(--size-field, 0.25rem) * 6);
|
|
208
|
+
font-size: max(var(--font-size, 0.6875rem), 0.6875rem);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.input-xs[type="number"]::-webkit-inner-spin-button {
|
|
212
|
+
margin-block: calc(0.25rem * -1);
|
|
213
|
+
margin-inline-end: calc(0.25rem * -3);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.input-ghost {
|
|
217
|
+
background-color: transparent;
|
|
218
|
+
box-shadow: none;
|
|
219
|
+
border-color: #0000;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.input-ghost:focus,
|
|
223
|
+
.input-ghost:focus-within {
|
|
224
|
+
background-color: var(--color-base-100);
|
|
225
|
+
color: var(--color-base-content);
|
|
226
|
+
border-color: #0000;
|
|
227
|
+
box-shadow: none;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.input-accent,
|
|
231
|
+
.input-accent:focus,
|
|
232
|
+
.input-accent:focus-within {
|
|
233
|
+
--input-color: var(--color-accent);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.input-error,
|
|
237
|
+
.input-error:focus,
|
|
238
|
+
.input-error:focus-within {
|
|
239
|
+
--input-color: var(--color-error);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.input-info,
|
|
243
|
+
.input-info:focus,
|
|
244
|
+
.input-info:focus-within {
|
|
245
|
+
--input-color: var(--color-info);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.input-neutral,
|
|
249
|
+
.input-neutral:focus,
|
|
250
|
+
.input-neutral:focus-within {
|
|
251
|
+
--input-color: var(--color-neutral);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.input-primary,
|
|
255
|
+
.input-primary:focus,
|
|
256
|
+
.input-primary:focus-within {
|
|
257
|
+
--input-color: var(--color-primary);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.input-secondary,
|
|
261
|
+
.input-secondary:focus,
|
|
262
|
+
.input-secondary:focus-within {
|
|
263
|
+
--input-color: var(--color-secondary);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.input-success,
|
|
267
|
+
.input-success:focus,
|
|
268
|
+
.input-success:focus-within {
|
|
269
|
+
--input-color: var(--color-success);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.input-warning,
|
|
273
|
+
.input-warning:focus,
|
|
274
|
+
.input-warning:focus-within {
|
|
275
|
+
--input-color: var(--color-warning);
|
|
276
|
+
}
|
|
277
|
+
}
|
package/dist/kbd/kbd.css
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.kbd {
|
|
3
|
+
box-shadow: none;
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
border-radius: var(--radius-field);
|
|
8
|
+
background-color: var(--color-base-200);
|
|
9
|
+
vertical-align: middle;
|
|
10
|
+
padding-inline: 0.5em;
|
|
11
|
+
border: var(--border) solid var(--color-base-content);
|
|
12
|
+
border-bottom: calc(var(--border) + 1px) solid var(--color-base-content);
|
|
13
|
+
--size: calc(var(--size-selector, 0.25rem) * 6);
|
|
14
|
+
font-size: 0.875rem;
|
|
15
|
+
height: var(--size);
|
|
16
|
+
min-width: var(--size);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
20
|
+
.kbd {
|
|
21
|
+
border: var(--border) solid color-mix(in srgb, var(--color-base-content) 20%, #0000);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
26
|
+
.kbd {
|
|
27
|
+
border-bottom: calc(var(--border) + 1px) solid color-mix(in srgb, var(--color-base-content) 20%, #0000);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.kbd-lg {
|
|
32
|
+
--size: calc(var(--size-selector, 0.25rem) * 7);
|
|
33
|
+
font-size: 1rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.kbd-md {
|
|
37
|
+
--size: calc(var(--size-selector, 0.25rem) * 6);
|
|
38
|
+
font-size: 0.875rem;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.kbd-sm {
|
|
42
|
+
--size: calc(var(--size-selector, 0.25rem) * 5);
|
|
43
|
+
font-size: 0.75rem;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.kbd-xl {
|
|
47
|
+
--size: calc(var(--size-selector, 0.25rem) * 8);
|
|
48
|
+
font-size: 1.125rem;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.kbd-xs {
|
|
52
|
+
--size: calc(var(--size-selector, 0.25rem) * 4);
|
|
53
|
+
font-size: 0.625rem;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
function classes(...args) {
|
|
2
|
+
return args.flat().filter(Boolean).join(" ");
|
|
3
|
+
}
|
|
4
|
+
function falsyToString(value) {
|
|
5
|
+
return "boolean" == typeof value ? `${value}` : 0 === value ? "0" : value;
|
|
6
|
+
}
|
|
7
|
+
function cva(base, config) {
|
|
8
|
+
const fn = (props)=>{
|
|
9
|
+
if (config?.variants == null) return classes(base, props?.class);
|
|
10
|
+
const { variants, defaultVariants } = config;
|
|
11
|
+
const getVariantClassNames = Object.keys(variants).map((variant)=>{
|
|
12
|
+
const variantProp = props?.[variant];
|
|
13
|
+
const defaultVariantProp = defaultVariants?.[variant];
|
|
14
|
+
if (null === variantProp) return null;
|
|
15
|
+
const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
|
|
16
|
+
return variants[variant]?.[variantKey];
|
|
17
|
+
});
|
|
18
|
+
const propsWithoutUndefined = Object.entries(props || {}).reduce((acc, [key, value])=>{
|
|
19
|
+
if (void 0 !== value) acc[key] = value;
|
|
20
|
+
return acc;
|
|
21
|
+
}, {});
|
|
22
|
+
const getCompoundVariantClassNames = config?.compoundVariants?.reduce((acc, { class: cvClass, ...compoundVariantOptions })=>{
|
|
23
|
+
const isMatch = Object.entries(compoundVariantOptions).every(([key, value])=>{
|
|
24
|
+
const currentValue = {
|
|
25
|
+
...defaultVariants,
|
|
26
|
+
...propsWithoutUndefined
|
|
27
|
+
}[key];
|
|
28
|
+
return Array.isArray(value) ? value.includes(currentValue) : currentValue === value;
|
|
29
|
+
});
|
|
30
|
+
return isMatch ? [
|
|
31
|
+
...acc,
|
|
32
|
+
cvClass
|
|
33
|
+
] : acc;
|
|
34
|
+
}, []);
|
|
35
|
+
return classes(base, getVariantClassNames, getCompoundVariantClassNames, props?.class);
|
|
36
|
+
};
|
|
37
|
+
fn.variantKeys = config?.variants ? Object.keys(config.variants) : [];
|
|
38
|
+
return fn;
|
|
39
|
+
}
|
|
40
|
+
export { classes, cva, falsyToString };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE__classes_js_a779350e__ from "./classes.js";
|
|
2
|
+
var __webpack_exports__classes = __WEBPACK_EXTERNAL_MODULE__classes_js_a779350e__.classes;
|
|
3
|
+
var __webpack_exports__cva = __WEBPACK_EXTERNAL_MODULE__classes_js_a779350e__.cva;
|
|
4
|
+
export { __webpack_exports__classes as classes, __webpack_exports__cva as cva };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__ from "solid-js";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__createTagName_js_d66e5740__ from "./createTagName.js";
|
|
3
|
+
const BUTTON_INPUT_TYPES = [
|
|
4
|
+
"button",
|
|
5
|
+
"color",
|
|
6
|
+
"file",
|
|
7
|
+
"image",
|
|
8
|
+
"reset",
|
|
9
|
+
"submit"
|
|
10
|
+
];
|
|
11
|
+
function isButton(tagName, type) {
|
|
12
|
+
if ("button" === tagName) return true;
|
|
13
|
+
if ("input" === tagName && void 0 !== type) return -1 !== BUTTON_INPUT_TYPES.indexOf(type);
|
|
14
|
+
return false;
|
|
15
|
+
}
|
|
16
|
+
function createIsButton(props) {
|
|
17
|
+
const tagName = (0, __WEBPACK_EXTERNAL_MODULE__createTagName_js_d66e5740__.createTagName)({
|
|
18
|
+
element: props.element,
|
|
19
|
+
fallback: "button"
|
|
20
|
+
});
|
|
21
|
+
return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>isButton(tagName(), props.type));
|
|
22
|
+
}
|
|
23
|
+
export { BUTTON_INPUT_TYPES, createIsButton, isButton };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__ from "solid-js";
|
|
2
|
+
function createTagName(props) {
|
|
3
|
+
return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>props.element()?.tagName.toLowerCase() ?? props.fallback);
|
|
4
|
+
}
|
|
5
|
+
export { createTagName };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE__createIsButton_js_781d6faa__ from "./createIsButton.js";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__createTagName_js_d66e5740__ from "./createTagName.js";
|
|
3
|
+
var __webpack_exports__BUTTON_INPUT_TYPES = __WEBPACK_EXTERNAL_MODULE__createIsButton_js_781d6faa__.BUTTON_INPUT_TYPES;
|
|
4
|
+
var __webpack_exports__createIsButton = __WEBPACK_EXTERNAL_MODULE__createIsButton_js_781d6faa__.createIsButton;
|
|
5
|
+
var __webpack_exports__createTagName = __WEBPACK_EXTERNAL_MODULE__createTagName_js_d66e5740__.createTagName;
|
|
6
|
+
var __webpack_exports__isButton = __WEBPACK_EXTERNAL_MODULE__createIsButton_js_781d6faa__.isButton;
|
|
7
|
+
export { __webpack_exports__BUTTON_INPUT_TYPES as BUTTON_INPUT_TYPES, __webpack_exports__createIsButton as createIsButton, __webpack_exports__createTagName as createTagName, __webpack_exports__isButton as isButton };
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.link {
|
|
3
|
+
cursor: pointer;
|
|
4
|
+
text-decoration-line: underline;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.link:focus {
|
|
8
|
+
--tw-outline-style: none;
|
|
9
|
+
outline-style: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@media (forced-colors: active) {
|
|
13
|
+
.link:focus {
|
|
14
|
+
outline: 2px solid transparent;
|
|
15
|
+
outline-offset: 2px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.link:focus-visible {
|
|
20
|
+
outline: 2px solid currentColor;
|
|
21
|
+
outline-offset: 2px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.link-accent {
|
|
25
|
+
color: var(--color-accent);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@media (hover: hover) {
|
|
29
|
+
.link-accent:hover {
|
|
30
|
+
color: var(--color-accent);
|
|
31
|
+
}
|
|
32
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
33
|
+
.link-accent:hover {
|
|
34
|
+
color: color-mix(in oklab, var(--color-accent) 80%, #000);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.link-error {
|
|
40
|
+
color: var(--color-error);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@media (hover: hover) {
|
|
44
|
+
.link-error:hover {
|
|
45
|
+
color: var(--color-error);
|
|
46
|
+
}
|
|
47
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
48
|
+
.link-error:hover {
|
|
49
|
+
color: color-mix(in oklab, var(--color-error) 80%, #000);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.link-info {
|
|
55
|
+
color: var(--color-info);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@media (hover: hover) {
|
|
59
|
+
.link-info:hover {
|
|
60
|
+
color: var(--color-info);
|
|
61
|
+
}
|
|
62
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
63
|
+
.link-info:hover {
|
|
64
|
+
color: color-mix(in oklab, var(--color-info) 80%, #000);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.link-neutral {
|
|
70
|
+
color: var(--color-neutral);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@media (hover: hover) {
|
|
74
|
+
.link-neutral:hover {
|
|
75
|
+
color: var(--color-neutral);
|
|
76
|
+
}
|
|
77
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
78
|
+
.link-neutral:hover {
|
|
79
|
+
color: color-mix(in oklab, var(--color-neutral) 80%, #000);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.link-primary {
|
|
85
|
+
color: var(--color-primary);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@media (hover: hover) {
|
|
89
|
+
.link-primary:hover {
|
|
90
|
+
color: var(--color-primary);
|
|
91
|
+
}
|
|
92
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
93
|
+
.link-primary:hover {
|
|
94
|
+
color: color-mix(in oklab, var(--color-primary) 80%, #000);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.link-secondary {
|
|
100
|
+
color: var(--color-secondary);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@media (hover: hover) {
|
|
104
|
+
.link-secondary:hover {
|
|
105
|
+
color: var(--color-secondary);
|
|
106
|
+
}
|
|
107
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
108
|
+
.link-secondary:hover {
|
|
109
|
+
color: color-mix(in oklab, var(--color-secondary) 80%, #000);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.link-success {
|
|
115
|
+
color: var(--color-success);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@media (hover: hover) {
|
|
119
|
+
.link-success:hover {
|
|
120
|
+
color: var(--color-success);
|
|
121
|
+
}
|
|
122
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
123
|
+
.link-success:hover {
|
|
124
|
+
color: color-mix(in oklab, var(--color-success) 80%, #000);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.link-warning {
|
|
130
|
+
color: var(--color-warning);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@media (hover: hover) {
|
|
134
|
+
.link-warning:hover {
|
|
135
|
+
color: var(--color-warning);
|
|
136
|
+
}
|
|
137
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
138
|
+
.link-warning:hover {
|
|
139
|
+
color: color-mix(in oklab, var(--color-warning) 80%, #000);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.link-hover {
|
|
145
|
+
text-decoration-line: none;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
@media (hover: hover) {
|
|
149
|
+
.link-hover:hover {
|
|
150
|
+
text-decoration-line: underline;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|