@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,90 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.stack {
|
|
3
|
+
display: inline-grid;
|
|
4
|
+
grid-template-columns: 3px 4px 1fr 4px 3px;
|
|
5
|
+
grid-template-rows: 3px 4px 1fr 4px 3px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.stack > * {
|
|
9
|
+
height: 100%;
|
|
10
|
+
width: 100%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.stack > *:nth-child(n + 2) {
|
|
14
|
+
width: 100%;
|
|
15
|
+
opacity: 70%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.stack > *:nth-child(2) {
|
|
19
|
+
z-index: 2;
|
|
20
|
+
opacity: 90%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.stack > *:nth-child(1) {
|
|
24
|
+
z-index: 3;
|
|
25
|
+
width: 100%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.stack > *,
|
|
29
|
+
.stack.stack-bottom > * {
|
|
30
|
+
grid-column: 3 / 4;
|
|
31
|
+
grid-row: 3 / 6;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.stack > *:nth-child(2),
|
|
35
|
+
.stack.stack-bottom > *:nth-child(2) {
|
|
36
|
+
grid-column: 2 / 5;
|
|
37
|
+
grid-row: 2 / 5;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.stack > *:nth-child(1),
|
|
41
|
+
.stack.stack-bottom > *:nth-child(1) {
|
|
42
|
+
grid-column: 1 / 6;
|
|
43
|
+
grid-row: 1 / 4;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.stack.stack-top > * {
|
|
47
|
+
grid-column: 3 / 4;
|
|
48
|
+
grid-row: 1 / 4;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.stack.stack-top > *:nth-child(2) {
|
|
52
|
+
grid-column: 2 / 5;
|
|
53
|
+
grid-row: 2 / 5;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.stack.stack-top > *:nth-child(1) {
|
|
57
|
+
grid-column: 1 / 6;
|
|
58
|
+
grid-row: 3 / 6;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.stack.stack-start > * {
|
|
62
|
+
grid-column: 1 / 4;
|
|
63
|
+
grid-row: 3 / 4;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.stack.stack-start > *:nth-child(2) {
|
|
67
|
+
grid-column: 2 / 5;
|
|
68
|
+
grid-row: 2 / 5;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.stack.stack-start > *:nth-child(1) {
|
|
72
|
+
grid-column: 3 / 6;
|
|
73
|
+
grid-row: 1 / 6;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.stack.stack-end > * {
|
|
77
|
+
grid-column: 3 / 6;
|
|
78
|
+
grid-row: 3 / 4;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.stack.stack-end > *:nth-child(2) {
|
|
82
|
+
grid-column: 2 / 5;
|
|
83
|
+
grid-row: 2 / 5;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.stack.stack-end > *:nth-child(1) {
|
|
87
|
+
grid-column: 1 / 4;
|
|
88
|
+
grid-row: 1 / 6;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.stat-figure {
|
|
3
|
+
grid-column-start: 2;
|
|
4
|
+
grid-row: span 3 / span 3;
|
|
5
|
+
grid-row-start: 1;
|
|
6
|
+
place-self: center;
|
|
7
|
+
justify-self: flex-end;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.stat-value {
|
|
11
|
+
grid-column-start: 1;
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
font-size: 2rem;
|
|
14
|
+
font-weight: 800;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.stat-desc {
|
|
18
|
+
grid-column-start: 1;
|
|
19
|
+
white-space: nowrap;
|
|
20
|
+
color: var(--color-base-content);
|
|
21
|
+
font-size: 0.75rem;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
25
|
+
.stat-desc {
|
|
26
|
+
color: color-mix(in oklab, var(--color-base-content) 60%, transparent);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.stat-title {
|
|
31
|
+
grid-column-start: 1;
|
|
32
|
+
white-space: nowrap;
|
|
33
|
+
color: var(--color-base-content);
|
|
34
|
+
font-size: 0.75rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
38
|
+
.stat-title {
|
|
39
|
+
color: color-mix(in oklab, var(--color-base-content) 60%, transparent);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.stat-actions {
|
|
44
|
+
grid-column-start: 1;
|
|
45
|
+
white-space: nowrap;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.stat {
|
|
49
|
+
display: inline-grid;
|
|
50
|
+
width: 100%;
|
|
51
|
+
column-gap: calc(0.25rem * 4);
|
|
52
|
+
padding-inline: calc(0.25rem * 6);
|
|
53
|
+
padding-block: calc(0.25rem * 4);
|
|
54
|
+
grid-template-columns: repeat(1, 1fr);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.stat:not(:last-child) {
|
|
58
|
+
border-inline-end: var(--border) dashed currentColor;
|
|
59
|
+
border-block-end: none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
63
|
+
.stat:not(:last-child) {
|
|
64
|
+
border-inline-end: var(--border) dashed color-mix(in oklab, currentColor 10%, #0000);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.steps {
|
|
3
|
+
display: inline-grid;
|
|
4
|
+
grid-auto-flow: column;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
overflow-x: auto;
|
|
7
|
+
counter-reset: step;
|
|
8
|
+
grid-auto-columns: 1fr;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.steps .step {
|
|
12
|
+
display: grid;
|
|
13
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
14
|
+
grid-template-columns: auto;
|
|
15
|
+
grid-template-rows: repeat(2, minmax(0, 1fr));
|
|
16
|
+
grid-template-rows: 40px 1fr;
|
|
17
|
+
place-items: center;
|
|
18
|
+
text-align: center;
|
|
19
|
+
min-width: 4rem;
|
|
20
|
+
--step-bg: var(--color-base-300);
|
|
21
|
+
--step-fg: var(--color-base-content);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.steps .step:before {
|
|
25
|
+
top: calc(0.25rem * 0);
|
|
26
|
+
grid-column-start: 1;
|
|
27
|
+
grid-row-start: 1;
|
|
28
|
+
height: calc(0.25rem * 2);
|
|
29
|
+
width: 100%;
|
|
30
|
+
border: 1px solid;
|
|
31
|
+
color: var(--step-bg);
|
|
32
|
+
background-color: var(--step-bg);
|
|
33
|
+
content: "";
|
|
34
|
+
margin-inline-start: -100%;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.steps .step > .step-icon,
|
|
38
|
+
.steps .step:not(:has(.step-icon)):after {
|
|
39
|
+
--tw-content: counter(step);
|
|
40
|
+
content: var(--tw-content);
|
|
41
|
+
counter-increment: step;
|
|
42
|
+
z-index: 1;
|
|
43
|
+
color: var(--step-fg);
|
|
44
|
+
background-color: var(--step-bg);
|
|
45
|
+
border: 1px solid var(--step-bg);
|
|
46
|
+
position: relative;
|
|
47
|
+
grid-column-start: 1;
|
|
48
|
+
grid-row-start: 1;
|
|
49
|
+
display: grid;
|
|
50
|
+
height: calc(0.25rem * 8);
|
|
51
|
+
width: calc(0.25rem * 8);
|
|
52
|
+
place-items: center;
|
|
53
|
+
place-self: center;
|
|
54
|
+
border-radius: calc(infinity * 1px);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.steps .step:first-child:before {
|
|
58
|
+
--tw-content: none;
|
|
59
|
+
content: var(--tw-content);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.steps .step[data-content]:after {
|
|
63
|
+
--tw-content: attr(data-content);
|
|
64
|
+
content: var(--tw-content);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.steps .step-neutral + .step-neutral:before,
|
|
68
|
+
.steps .step-neutral:after,
|
|
69
|
+
.steps .step-neutral > .step-icon {
|
|
70
|
+
--step-bg: var(--color-neutral);
|
|
71
|
+
--step-fg: var(--color-neutral-content);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.steps .step-primary + .step-primary:before,
|
|
75
|
+
.steps .step-primary:after,
|
|
76
|
+
.steps .step-primary > .step-icon {
|
|
77
|
+
--step-bg: var(--color-primary);
|
|
78
|
+
--step-fg: var(--color-primary-content);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.steps .step-secondary + .step-secondary:before,
|
|
82
|
+
.steps .step-secondary:after,
|
|
83
|
+
.steps .step-secondary > .step-icon {
|
|
84
|
+
--step-bg: var(--color-secondary);
|
|
85
|
+
--step-fg: var(--color-secondary-content);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.steps .step-accent + .step-accent:before,
|
|
89
|
+
.steps .step-accent:after,
|
|
90
|
+
.steps .step-accent > .step-icon {
|
|
91
|
+
--step-bg: var(--color-accent);
|
|
92
|
+
--step-fg: var(--color-accent-content);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.steps .step-info + .step-info:before,
|
|
96
|
+
.steps .step-info:after,
|
|
97
|
+
.steps .step-info > .step-icon {
|
|
98
|
+
--step-bg: var(--color-info);
|
|
99
|
+
--step-fg: var(--color-info-content);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.steps .step-success + .step-success:before,
|
|
103
|
+
.steps .step-success:after,
|
|
104
|
+
.steps .step-success > .step-icon {
|
|
105
|
+
--step-bg: var(--color-success);
|
|
106
|
+
--step-fg: var(--color-success-content);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.steps .step-warning + .step-warning:before,
|
|
110
|
+
.steps .step-warning:after,
|
|
111
|
+
.steps .step-warning > .step-icon {
|
|
112
|
+
--step-bg: var(--color-warning);
|
|
113
|
+
--step-fg: var(--color-warning-content);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.steps .step-error + .step-error:before,
|
|
117
|
+
.steps .step-error:after,
|
|
118
|
+
.steps .step-error > .step-icon {
|
|
119
|
+
--step-bg: var(--color-error);
|
|
120
|
+
--step-fg: var(--color-error-content);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.steps-vertical {
|
|
124
|
+
grid-auto-rows: 1fr;
|
|
125
|
+
grid-auto-flow: row;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.steps-vertical .step {
|
|
129
|
+
display: grid;
|
|
130
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
131
|
+
grid-template-columns: 40px 1fr;
|
|
132
|
+
grid-template-rows: repeat(1, minmax(0, 1fr));
|
|
133
|
+
grid-template-rows: auto;
|
|
134
|
+
gap: 0.5rem;
|
|
135
|
+
min-height: 4rem;
|
|
136
|
+
justify-items: start;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.steps-vertical .step:before {
|
|
140
|
+
height: 100%;
|
|
141
|
+
width: calc(0.25rem * 2);
|
|
142
|
+
translate: -50% -50%;
|
|
143
|
+
margin-inline-start: 50%;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
[dir="rtl"] .steps-vertical .step:before {
|
|
147
|
+
translate: 50% -50%;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.steps-horizontal {
|
|
151
|
+
grid-auto-columns: 1fr;
|
|
152
|
+
display: inline-grid;
|
|
153
|
+
grid-auto-flow: column;
|
|
154
|
+
overflow: hidden;
|
|
155
|
+
overflow-x: auto;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.steps-horizontal .step {
|
|
159
|
+
display: grid;
|
|
160
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
161
|
+
grid-template-columns: auto;
|
|
162
|
+
grid-template-rows: repeat(2, minmax(0, 1fr));
|
|
163
|
+
grid-template-rows: 40px 1fr;
|
|
164
|
+
place-items: center;
|
|
165
|
+
text-align: center;
|
|
166
|
+
min-width: 4rem;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.steps-horizontal .step:before {
|
|
170
|
+
height: calc(0.25rem * 2);
|
|
171
|
+
width: 100%;
|
|
172
|
+
translate: 0;
|
|
173
|
+
margin-inline-start: -100%;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
[dir="rtl"] .steps-horizontal .step:before {
|
|
177
|
+
translate: 0;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./toastStore.js";
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__ from "solid-js";
|
|
2
|
+
const [toasts, setToasts] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createSignal)([]);
|
|
3
|
+
let toastCounter = 0;
|
|
4
|
+
const toastTimers = new Map();
|
|
5
|
+
const clearToastTimer = (id)=>{
|
|
6
|
+
const timer = toastTimers.get(id);
|
|
7
|
+
if (!timer) return;
|
|
8
|
+
clearTimeout(timer);
|
|
9
|
+
toastTimers.delete(id);
|
|
10
|
+
};
|
|
11
|
+
const scheduleDismiss = (id, duration)=>{
|
|
12
|
+
if (duration <= 0) return;
|
|
13
|
+
clearToastTimer(id);
|
|
14
|
+
const timer = setTimeout(()=>{
|
|
15
|
+
toastStore.dismissToast(id);
|
|
16
|
+
}, duration);
|
|
17
|
+
toastTimers.set(id, timer);
|
|
18
|
+
};
|
|
19
|
+
const toastStore = {
|
|
20
|
+
toasts,
|
|
21
|
+
addToast: (message, type = "info", durationOrOptions)=>{
|
|
22
|
+
const hasOptions = void 0 !== durationOrOptions;
|
|
23
|
+
const duration = "number" == typeof durationOrOptions ? durationOrOptions : durationOrOptions?.duration ?? ("error" !== type || hasOptions ? 8000 : 0);
|
|
24
|
+
const persist = "number" == typeof durationOrOptions ? false : durationOrOptions?.persist ?? ("error" === type && !hasOptions);
|
|
25
|
+
const id = `toast-${++toastCounter}`;
|
|
26
|
+
const toast = {
|
|
27
|
+
id,
|
|
28
|
+
message,
|
|
29
|
+
type,
|
|
30
|
+
timestamp: Date.now(),
|
|
31
|
+
duration,
|
|
32
|
+
persist
|
|
33
|
+
};
|
|
34
|
+
setToasts((prev)=>[
|
|
35
|
+
...prev,
|
|
36
|
+
toast
|
|
37
|
+
]);
|
|
38
|
+
if (!persist) scheduleDismiss(id, duration);
|
|
39
|
+
return id;
|
|
40
|
+
},
|
|
41
|
+
dismissToast: (id)=>{
|
|
42
|
+
clearToastTimer(id);
|
|
43
|
+
setToasts((prev)=>prev.map((toast)=>toast.id !== id || toast.isExiting ? toast : {
|
|
44
|
+
...toast,
|
|
45
|
+
isExiting: true
|
|
46
|
+
}));
|
|
47
|
+
},
|
|
48
|
+
removeToast: (id)=>{
|
|
49
|
+
clearToastTimer(id);
|
|
50
|
+
setToasts((prev)=>prev.filter((toast)=>toast.id !== id));
|
|
51
|
+
},
|
|
52
|
+
clearAll: ()=>{
|
|
53
|
+
toastTimers.forEach((timer)=>clearTimeout(timer));
|
|
54
|
+
toastTimers.clear();
|
|
55
|
+
setToasts([]);
|
|
56
|
+
},
|
|
57
|
+
showError: (message)=>toastStore.addToast(message, "error", {
|
|
58
|
+
persist: true
|
|
59
|
+
}),
|
|
60
|
+
showSuccess: (message)=>toastStore.addToast(message, "success", 6000),
|
|
61
|
+
showWarning: (message)=>toastStore.addToast(message, "warning", 8000),
|
|
62
|
+
showInfo: (message)=>toastStore.addToast(message, "info", 6000)
|
|
63
|
+
};
|
|
64
|
+
export { toastStore };
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.swap {
|
|
3
|
+
position: relative;
|
|
4
|
+
display: inline-grid;
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
place-content: center;
|
|
7
|
+
vertical-align: middle;
|
|
8
|
+
webkit-user-select: none;
|
|
9
|
+
user-select: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.swap input {
|
|
13
|
+
appearance: none;
|
|
14
|
+
border: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.swap > * {
|
|
18
|
+
grid-column-start: 1;
|
|
19
|
+
grid-row-start: 1;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
23
|
+
.swap > * {
|
|
24
|
+
transition-property: transform, rotate, opacity;
|
|
25
|
+
transition-duration: 0.2s;
|
|
26
|
+
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.swap .swap-on,
|
|
31
|
+
.swap .swap-indeterminate,
|
|
32
|
+
.swap input:indeterminate ~ .swap-on {
|
|
33
|
+
opacity: 0%;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.swap input:is(:checked, :indeterminate) ~ .swap-off {
|
|
37
|
+
opacity: 0%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.swap input:checked ~ .swap-on,
|
|
41
|
+
.swap input:indeterminate ~ .swap-indeterminate {
|
|
42
|
+
opacity: 100%;
|
|
43
|
+
backface-visibility: visible;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.swap-rotate .swap-on,
|
|
47
|
+
.swap-rotate input:indeterminate ~ .swap-on {
|
|
48
|
+
rotate: 45deg;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.swap-rotate input:is(:checked, :indeterminate) ~ .swap-on,
|
|
52
|
+
.swap-rotate.swap-active .swap-on {
|
|
53
|
+
rotate: 0deg;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.swap-rotate input:is(:checked, :indeterminate) ~ .swap-off,
|
|
57
|
+
.swap-rotate.swap-active .swap-off {
|
|
58
|
+
rotate: calc(45deg * -1);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.swap-flip {
|
|
62
|
+
transform-style: preserve-3d;
|
|
63
|
+
perspective: 20rem;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.swap-flip .swap-on,
|
|
67
|
+
.swap-flip .swap-indeterminate,
|
|
68
|
+
.swap-flip input:indeterminate ~ .swap-on {
|
|
69
|
+
transform: rotateY(180deg);
|
|
70
|
+
backface-visibility: hidden;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.swap-flip input:is(:checked, :indeterminate) ~ .swap-on,
|
|
74
|
+
.swap-flip.swap-active .swap-on {
|
|
75
|
+
transform: rotateY(0deg);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.swap-flip input:is(:checked, :indeterminate) ~ .swap-off,
|
|
79
|
+
.swap-flip.swap-active .swap-off {
|
|
80
|
+
transform: rotateY(-180deg);
|
|
81
|
+
backface-visibility: hidden;
|
|
82
|
+
opacity: 100%;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.swap-active .swap-off {
|
|
86
|
+
opacity: 0%;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.swap-active .swap-on {
|
|
90
|
+
opacity: 100%;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.table {
|
|
3
|
+
font-size: 0.875rem;
|
|
4
|
+
position: relative;
|
|
5
|
+
width: 100%;
|
|
6
|
+
border-collapse: separate;
|
|
7
|
+
--tw-border-spacing-x: calc(0.25rem * 0);
|
|
8
|
+
--tw-border-spacing-y: calc(0.25rem * 0);
|
|
9
|
+
border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
|
|
10
|
+
border-radius: var(--radius-box);
|
|
11
|
+
text-align: left;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.table:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
|
|
15
|
+
text-align: right;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@media (hover: hover) {
|
|
19
|
+
.table tr.row-hover:hover,
|
|
20
|
+
.table tr.row-hover:nth-child(even):hover {
|
|
21
|
+
background-color: var(--color-base-200);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.table :where(th, td) {
|
|
26
|
+
padding-inline: calc(0.25rem * 4);
|
|
27
|
+
padding-block: calc(0.25rem * 3);
|
|
28
|
+
vertical-align: middle;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.table :where(thead, tfoot) {
|
|
32
|
+
white-space: nowrap;
|
|
33
|
+
color: var(--color-base-content);
|
|
34
|
+
font-size: 0.875rem;
|
|
35
|
+
font-weight: 600;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
39
|
+
.table :where(thead, tfoot) {
|
|
40
|
+
color: color-mix(in oklab, var(--color-base-content) 60%, transparent);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.table :where(tfoot tr:first-child :is(td, th)) {
|
|
45
|
+
border-top: var(--border) solid var(--color-base-content);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
49
|
+
.table :where(tfoot tr:first-child :is(td, th)) {
|
|
50
|
+
border-top: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.table :where(.table-pin-rows thead tr) {
|
|
55
|
+
position: sticky;
|
|
56
|
+
top: calc(0.25rem * 0);
|
|
57
|
+
z-index: 1;
|
|
58
|
+
background-color: var(--color-base-100);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.table :where(.table-pin-rows tfoot tr) {
|
|
62
|
+
position: sticky;
|
|
63
|
+
bottom: calc(0.25rem * 0);
|
|
64
|
+
z-index: 1;
|
|
65
|
+
background-color: var(--color-base-100);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.table :where(.table-pin-cols tr th) {
|
|
69
|
+
position: sticky;
|
|
70
|
+
right: calc(0.25rem * 0);
|
|
71
|
+
left: calc(0.25rem * 0);
|
|
72
|
+
background-color: var(--color-base-100);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.table :where(thead tr :is(td, th), tbody tr:not(:last-child) :is(td, th)) {
|
|
76
|
+
border-bottom: var(--border) solid var(--color-base-content);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
80
|
+
.table :where(thead tr :is(td, th), tbody tr:not(:last-child) :is(td, th)) {
|
|
81
|
+
border-bottom: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.table {
|
|
86
|
+
display: table;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.table-zebra tbody tr:where(:nth-child(even)) {
|
|
90
|
+
background-color: var(--color-base-200);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.table-zebra tbody tr:where(:nth-child(even)) :where(.table-pin-cols tr th) {
|
|
94
|
+
background-color: var(--color-base-200);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@media (hover: hover) {
|
|
98
|
+
.table-zebra tbody tr.row-hover:hover,
|
|
99
|
+
.table-zebra tbody tr.row-hover:where(:nth-child(even)):hover {
|
|
100
|
+
background-color: var(--color-base-300);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.table-lg :not(thead, tfoot) tr {
|
|
105
|
+
font-size: 1.125rem;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.table-lg :where(th, td) {
|
|
109
|
+
padding-inline: calc(0.25rem * 5);
|
|
110
|
+
padding-block: calc(0.25rem * 4);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.table-md :not(thead, tfoot) tr {
|
|
114
|
+
font-size: 0.875rem;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.table-md :where(th, td) {
|
|
118
|
+
padding-inline: calc(0.25rem * 4);
|
|
119
|
+
padding-block: calc(0.25rem * 3);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.table-sm :not(thead, tfoot) tr {
|
|
123
|
+
font-size: 0.75rem;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.table-sm :where(th, td) {
|
|
127
|
+
padding-inline: calc(0.25rem * 3);
|
|
128
|
+
padding-block: calc(0.25rem * 2);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.table-xl :not(thead, tfoot) tr {
|
|
132
|
+
font-size: 1.375rem;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.table-xl :where(th, td) {
|
|
136
|
+
padding-inline: calc(0.25rem * 6);
|
|
137
|
+
padding-block: calc(0.25rem * 5);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.table-xs :not(thead, tfoot) tr {
|
|
141
|
+
font-size: 0.6875rem;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.table-xs :where(th, td) {
|
|
145
|
+
padding-inline: calc(0.25rem * 2);
|
|
146
|
+
padding-block: calc(0.25rem * 1);
|
|
147
|
+
}
|
|
148
|
+
}
|