@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,414 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.tab {
|
|
3
|
+
position: relative;
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
appearance: none;
|
|
7
|
+
flex-wrap: wrap;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
text-align: center;
|
|
11
|
+
webkit-user-select: none;
|
|
12
|
+
user-select: none;
|
|
13
|
+
--tab-p: 0.75rem;
|
|
14
|
+
--tab-bg: var(--color-base-100);
|
|
15
|
+
--tab-border-color: var(--color-base-300);
|
|
16
|
+
--tab-radius-ss: 0;
|
|
17
|
+
--tab-radius-se: 0;
|
|
18
|
+
--tab-radius-es: 0;
|
|
19
|
+
--tab-radius-ee: 0;
|
|
20
|
+
--tab-order: 0;
|
|
21
|
+
--tab-radius-min: calc(0.75rem - var(--border));
|
|
22
|
+
--tab-radius-limit: min(var(--radius-field), var(--tab-radius-min));
|
|
23
|
+
--tab-radius-grad: #0000 calc(69% - var(--border)),
|
|
24
|
+
var(--tab-border-color) calc(69% - var(--border) + 0.25px),
|
|
25
|
+
var(--tab-border-color) 69%,
|
|
26
|
+
var(--tab-bg) calc(69% + 0.25px);
|
|
27
|
+
border-color: #0000;
|
|
28
|
+
order: var(--tab-order);
|
|
29
|
+
height: var(--tab-height);
|
|
30
|
+
font-size: 0.875rem;
|
|
31
|
+
padding-inline: var(--tab-p);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@media (hover: hover) {
|
|
35
|
+
.tab:hover {
|
|
36
|
+
color: var(--color-base-content);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.tab:is(input[type="radio"]) {
|
|
41
|
+
min-width: fit-content;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.tab:is(input[type="radio"]):after {
|
|
45
|
+
--tw-content: attr(aria-label);
|
|
46
|
+
content: var(--tw-content);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.tab:is(label) {
|
|
50
|
+
position: relative;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.tab:is(label) input {
|
|
54
|
+
position: absolute;
|
|
55
|
+
inset: calc(0.25rem * 0);
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
appearance: none;
|
|
58
|
+
opacity: 0%;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.tab:checked + .tab-content,
|
|
62
|
+
.tab:is(label:has(:checked)) + .tab-content,
|
|
63
|
+
.tab:is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]) + .tab-content {
|
|
64
|
+
display: block;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.tab:not( :checked, label:has(:checked), :hover, .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) {
|
|
68
|
+
color: var(--color-base-content);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
72
|
+
.tab:not( :checked, label:has(:checked), :hover, .tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"] ) {
|
|
73
|
+
color: color-mix(in oklab, var(--color-base-content) 50%, transparent);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.tab:not(input):empty {
|
|
78
|
+
flex-grow: 1;
|
|
79
|
+
cursor: default;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.tab:focus {
|
|
83
|
+
--tw-outline-style: none;
|
|
84
|
+
outline-style: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@media (forced-colors: active) {
|
|
88
|
+
.tab:focus {
|
|
89
|
+
outline: 2px solid transparent;
|
|
90
|
+
outline-offset: 2px;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.tab:focus-visible,
|
|
95
|
+
.tab:is(label:has(:checked:focus-visible)) {
|
|
96
|
+
outline: 2px solid currentColor;
|
|
97
|
+
outline-offset: -5px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.tab[disabled] {
|
|
101
|
+
pointer-events: none;
|
|
102
|
+
opacity: 40%;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.tab-disabled {
|
|
106
|
+
pointer-events: none;
|
|
107
|
+
opacity: 40%;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.tabs-lift {
|
|
111
|
+
--tabs-height: auto;
|
|
112
|
+
--tabs-direction: row;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.tabs-lift > .tab {
|
|
116
|
+
--tab-border: 0 0 var(--border) 0;
|
|
117
|
+
--tab-radius-ss: var(--tab-radius-limit);
|
|
118
|
+
--tab-radius-se: var(--tab-radius-limit);
|
|
119
|
+
--tab-radius-es: 0;
|
|
120
|
+
--tab-radius-ee: 0;
|
|
121
|
+
--tab-paddings: var(--border) var(--tab-p) 0 var(--tab-p);
|
|
122
|
+
--tab-border-colors: #0000 #0000 var(--tab-border-color) #0000;
|
|
123
|
+
--tab-corner-width: calc(100% + var(--tab-radius-limit) * 2);
|
|
124
|
+
--tab-corner-height: var(--tab-radius-limit);
|
|
125
|
+
--tab-corner-position: top left, top right;
|
|
126
|
+
border-width: var(--tab-border);
|
|
127
|
+
border-start-start-radius: var(--tab-radius-ss);
|
|
128
|
+
border-start-end-radius: var(--tab-radius-se);
|
|
129
|
+
border-end-start-radius: var(--tab-radius-es);
|
|
130
|
+
border-end-end-radius: var(--tab-radius-ee);
|
|
131
|
+
padding: var(--tab-paddings);
|
|
132
|
+
border-color: var(--tab-border-colors);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.tabs-lift > .tab:is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]):not( .tab-disabled, [disabled] ),
|
|
136
|
+
.tabs-lift > .tab:is(input:checked, label:has(:checked)) {
|
|
137
|
+
--tab-border: var(--border) var(--border) 0 var(--border);
|
|
138
|
+
--tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000
|
|
139
|
+
var(--tab-border-color);
|
|
140
|
+
--tab-paddings: 0 calc(var(--tab-p) - var(--border)) var(--border)
|
|
141
|
+
calc(var(--tab-p) - var(--border));
|
|
142
|
+
--tab-inset: auto auto 0 auto;
|
|
143
|
+
--radius-start: radial-gradient(circle at top left, var(--tab-radius-grad));
|
|
144
|
+
--radius-end: radial-gradient(circle at top right, var(--tab-radius-grad));
|
|
145
|
+
background-color: var(--tab-bg);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.tabs-lift > .tab:is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]):not( .tab-disabled, [disabled] ):before,
|
|
149
|
+
.tabs-lift > .tab:is(input:checked, label:has(:checked)):before {
|
|
150
|
+
z-index: 1;
|
|
151
|
+
content: "";
|
|
152
|
+
display: block;
|
|
153
|
+
position: absolute;
|
|
154
|
+
width: var(--tab-corner-width);
|
|
155
|
+
height: var(--tab-corner-height);
|
|
156
|
+
background-position: var(--tab-corner-position);
|
|
157
|
+
background-image: var(--radius-start), var(--radius-end);
|
|
158
|
+
background-size: var(--tab-radius-limit) var(--tab-radius-limit);
|
|
159
|
+
background-repeat: no-repeat;
|
|
160
|
+
inset: var(--tab-inset);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.tabs-lift > .tab:is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]):not( .tab-disabled, [disabled] ):first-child:before,
|
|
164
|
+
.tabs-lift > .tab:is(input:checked, label:has(:checked)):first-child:before {
|
|
165
|
+
--radius-start: none;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
[dir="rtl"] .tabs-lift > .tab:is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]):not( .tab-disabled, [disabled] ):first-child:before,
|
|
169
|
+
[dir="rtl"] .tabs-lift > .tab:is(input:checked, label:has(:checked)):first-child:before {
|
|
170
|
+
transform: rotateY(180deg);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.tabs-lift > .tab:is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]):not( .tab-disabled, [disabled] ):last-child:before,
|
|
174
|
+
.tabs-lift > .tab:is(input:checked, label:has(:checked)):last-child:before {
|
|
175
|
+
--radius-end: none;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
[dir="rtl"] .tabs-lift > .tab:is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]):not( .tab-disabled, [disabled] ):last-child:before,
|
|
179
|
+
[dir="rtl"] .tabs-lift > .tab:is(input:checked, label:has(:checked)):last-child:before {
|
|
180
|
+
transform: rotateY(180deg);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.tabs-lift:has(> .tab-content) > .tab:first-child:not(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]) {
|
|
184
|
+
--tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000
|
|
185
|
+
var(--tab-border-color);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.tabs-lift > .tab-content {
|
|
189
|
+
--tabcontent-margin: calc(-1 * var(--border)) 0 0 0;
|
|
190
|
+
--tabcontent-radius-ss: 0;
|
|
191
|
+
--tabcontent-radius-se: var(--radius-box);
|
|
192
|
+
--tabcontent-radius-es: var(--radius-box);
|
|
193
|
+
--tabcontent-radius-ee: var(--radius-box);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.tabs-lift :checked + .tab-content:nth-child(1),
|
|
197
|
+
.tabs-lift :checked + .tab-content:nth-child(n + 3),
|
|
198
|
+
.tabs-lift label:has(:checked) + .tab-content:nth-child(1),
|
|
199
|
+
.tabs-lift label:has(:checked) + .tab-content:nth-child(n + 3),
|
|
200
|
+
.tabs-lift :is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]) + .tab-content:nth-child(1),
|
|
201
|
+
.tabs-lift :is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]) + .tab-content:nth-child(n + 3) {
|
|
202
|
+
--tabcontent-radius-ss: var(--radius-box);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.tabs-border > .tab {
|
|
206
|
+
--tab-border-color: #0000 #0000 var(--tab-border-color) #0000;
|
|
207
|
+
position: relative;
|
|
208
|
+
border-radius: var(--radius-field);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.tabs-border > .tab:before {
|
|
212
|
+
content: "";
|
|
213
|
+
background-color: var(--tab-border-color);
|
|
214
|
+
transition: background-color 0.2s ease;
|
|
215
|
+
width: 80%;
|
|
216
|
+
height: 3px;
|
|
217
|
+
border-radius: var(--radius-field);
|
|
218
|
+
bottom: 0;
|
|
219
|
+
left: 10%;
|
|
220
|
+
position: absolute;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.tabs-border > .tab:is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]):not( .tab-disabled, [disabled] ):before,
|
|
224
|
+
.tabs-border > .tab:is(input:checked):before,
|
|
225
|
+
.tabs-border > .tab:is(label:has(:checked)):before {
|
|
226
|
+
--tab-border-color: currentColor;
|
|
227
|
+
border-top: 3px solid;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.tabs-box {
|
|
231
|
+
background-color: var(--color-base-200);
|
|
232
|
+
padding: calc(0.25rem * 1);
|
|
233
|
+
--tabs-box-radius: calc(3 * var(--radius-field));
|
|
234
|
+
border-radius: calc( min(var(--tab-height) / 2, var(--radius-field)) + min(0.25rem, var(--tabs-box-radius)) );
|
|
235
|
+
box-shadow: 0 -0.5px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 0.5px oklch(0% 0 0 / calc(var(--depth) * 0.05)) inset;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.tabs-box > .tab {
|
|
239
|
+
border-radius: var(--radius-field);
|
|
240
|
+
border-style: none;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.tabs-box > .tab:focus-visible,
|
|
244
|
+
.tabs-box > .tab:is(label:has(:checked:focus-visible)) {
|
|
245
|
+
outline-offset: 2px;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.tabs-box > .tab:focus-visible {
|
|
249
|
+
z-index: 1;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.tabs-box > :is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]):not( .tab-disabled, [disabled] ),
|
|
253
|
+
.tabs-box > :is(input:checked),
|
|
254
|
+
.tabs-box > :is(label:has(:checked)) {
|
|
255
|
+
background-color: var(--tab-bg, var(--color-base-100));
|
|
256
|
+
box-shadow: 0 1px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 1px 1px -1px var(--color-neutral), 0 1px 6px -4px var(--color-neutral);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
260
|
+
.tabs-box > :is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]):not( .tab-disabled, [disabled] ),
|
|
261
|
+
.tabs-box > :is(input:checked),
|
|
262
|
+
.tabs-box > :is(label:has(:checked)) {
|
|
263
|
+
box-shadow: 0 1px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset, 0 1px 1px -1px color-mix(in oklab, var(--color-neutral) calc(var(--depth) * 50%), #0000), 0 1px 6px -4px color-mix(in oklab, var(--color-neutral) calc(var(--depth) * 100%), #0000);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
@media (forced-colors: active) {
|
|
268
|
+
.tabs-box > :is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]):not( .tab-disabled, [disabled] ),
|
|
269
|
+
.tabs-box > :is(input:checked),
|
|
270
|
+
.tabs-box > :is(label:has(:checked)) {
|
|
271
|
+
border: 1px solid;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.tabs-box > .tab-content {
|
|
276
|
+
margin-top: calc(0.25rem * 1);
|
|
277
|
+
height: calc(100% - var(--tab-height) + var(--border) - 0.5rem);
|
|
278
|
+
border-radius: calc( min(var(--tab-height) / 2, var(--radius-field)) + min(0.25rem, var(--tabs-box-radius)) - var(--border) );
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.tab-content {
|
|
282
|
+
order: var(--tabcontent-order);
|
|
283
|
+
display: none;
|
|
284
|
+
border-color: transparent;
|
|
285
|
+
--tabcontent-radius-ss: var(--radius-box);
|
|
286
|
+
--tabcontent-radius-se: var(--radius-box);
|
|
287
|
+
--tabcontent-radius-es: var(--radius-box);
|
|
288
|
+
--tabcontent-radius-ee: var(--radius-box);
|
|
289
|
+
--tabcontent-order: 1;
|
|
290
|
+
width: 100%;
|
|
291
|
+
height: calc(100% - var(--tab-height) + var(--border));
|
|
292
|
+
margin: var(--tabcontent-margin);
|
|
293
|
+
border-width: var(--border);
|
|
294
|
+
border-start-start-radius: var(--tabcontent-radius-ss);
|
|
295
|
+
border-start-end-radius: var(--tabcontent-radius-se);
|
|
296
|
+
border-end-start-radius: var(--tabcontent-radius-es);
|
|
297
|
+
border-end-end-radius: var(--tabcontent-radius-ee);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.tabs {
|
|
301
|
+
display: flex;
|
|
302
|
+
flex-wrap: wrap;
|
|
303
|
+
--tabs-height: auto;
|
|
304
|
+
--tabs-direction: row;
|
|
305
|
+
--tab-height: calc(var(--size-field, 0.25rem) * 10);
|
|
306
|
+
height: var(--tabs-height);
|
|
307
|
+
flex-direction: var(--tabs-direction);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.tabs-lg {
|
|
311
|
+
--tab-height: calc(var(--size-field, 0.25rem) * 12);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.tabs-lg > .tab {
|
|
315
|
+
font-size: 1.125rem;
|
|
316
|
+
--tab-p: 1rem;
|
|
317
|
+
--tab-radius-min: calc(1.5rem - var(--border));
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.tabs-md {
|
|
321
|
+
--tab-height: calc(var(--size-field, 0.25rem) * 10);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.tabs-md > .tab {
|
|
325
|
+
font-size: 0.875rem;
|
|
326
|
+
--tab-p: 0.75rem;
|
|
327
|
+
--tab-radius-min: calc(0.75rem - var(--border));
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.tabs-sm {
|
|
331
|
+
--tab-height: calc(var(--size-field, 0.25rem) * 8);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.tabs-sm > .tab {
|
|
335
|
+
font-size: 0.875rem;
|
|
336
|
+
--tab-p: 0.5rem;
|
|
337
|
+
--tab-radius-min: calc(0.5rem - var(--border));
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.tabs-xl {
|
|
341
|
+
--tab-height: calc(var(--size-field, 0.25rem) * 14);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.tabs-xl > .tab {
|
|
345
|
+
font-size: 1.125rem;
|
|
346
|
+
--tab-p: 1.25rem;
|
|
347
|
+
--tab-radius-min: calc(2rem - var(--border));
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.tabs-xs {
|
|
351
|
+
--tab-height: calc(var(--size-field, 0.25rem) * 6);
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.tabs-xs > .tab {
|
|
355
|
+
font-size: 0.75rem;
|
|
356
|
+
--tab-p: 0.375rem;
|
|
357
|
+
--tab-radius-min: calc(0.5rem - var(--border));
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.tabs-top {
|
|
361
|
+
--tabs-height: auto;
|
|
362
|
+
--tabs-direction: row;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.tabs-top > .tab {
|
|
366
|
+
--tab-order: 0;
|
|
367
|
+
--tab-border: 0 0 var(--border) 0;
|
|
368
|
+
--tab-radius-ss: var(--tab-radius-limit);
|
|
369
|
+
--tab-radius-se: var(--tab-radius-limit);
|
|
370
|
+
--tab-radius-es: 0;
|
|
371
|
+
--tab-radius-ee: 0;
|
|
372
|
+
--tab-paddings: var(--border) var(--tab-p) 0 var(--tab-p);
|
|
373
|
+
--tab-border-colors: #0000 #0000 var(--tab-border-color) #0000;
|
|
374
|
+
--tab-corner-width: calc(100% + var(--tab-radius-limit) * 2);
|
|
375
|
+
--tab-corner-height: var(--tab-radius-limit);
|
|
376
|
+
--tab-corner-position: top left, top right;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.tabs-top > .tab:is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]):not( .tab-disabled, [disabled] ),
|
|
380
|
+
.tabs-top > .tab:is(input:checked),
|
|
381
|
+
.tabs-top > .tab:is(label:has(:checked)) {
|
|
382
|
+
--tab-border: var(--border) var(--border) 0 var(--border);
|
|
383
|
+
--tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000
|
|
384
|
+
var(--tab-border-color);
|
|
385
|
+
--tab-paddings: 0 calc(var(--tab-p) - var(--border)) var(--border)
|
|
386
|
+
calc(var(--tab-p) - var(--border));
|
|
387
|
+
--tab-inset: auto auto 0 auto;
|
|
388
|
+
--radius-start: radial-gradient(circle at top left, var(--tab-radius-grad));
|
|
389
|
+
--radius-end: radial-gradient(circle at top right, var(--tab-radius-grad));
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.tabs-top:has(> .tab-content) > .tab:first-child:not(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]) {
|
|
393
|
+
--tab-border-colors: var(--tab-border-color) var(--tab-border-color) #0000
|
|
394
|
+
var(--tab-border-color);
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.tabs-top > .tab-content {
|
|
398
|
+
--tabcontent-order: 1;
|
|
399
|
+
--tabcontent-margin: calc(-1 * var(--border)) 0 0 0;
|
|
400
|
+
--tabcontent-radius-ss: 0;
|
|
401
|
+
--tabcontent-radius-se: var(--radius-box);
|
|
402
|
+
--tabcontent-radius-es: var(--radius-box);
|
|
403
|
+
--tabcontent-radius-ee: var(--radius-box);
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.tabs-top :checked + .tab-content:nth-child(1),
|
|
407
|
+
.tabs-top :checked + .tab-content:nth-child(n + 3),
|
|
408
|
+
.tabs-top label:has(:checked) + .tab-content:nth-child(1),
|
|
409
|
+
.tabs-top label:has(:checked) + .tab-content:nth-child(n + 3),
|
|
410
|
+
.tabs-top :is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]) + .tab-content:nth-child(1),
|
|
411
|
+
.tabs-top :is(.tab-active, [aria-selected="true"], [aria-current="true"], [aria-current="page"]) + .tab-content:nth-child(n + 3) {
|
|
412
|
+
--tabcontent-radius-ss: var(--radius-box);
|
|
413
|
+
}
|
|
414
|
+
}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.textarea {
|
|
3
|
+
border: var(--border) solid #0000;
|
|
4
|
+
min-height: calc(0.25rem * 20);
|
|
5
|
+
flex-shrink: 1;
|
|
6
|
+
appearance: none;
|
|
7
|
+
border-radius: var(--radius-field);
|
|
8
|
+
background-color: var(--color-base-100);
|
|
9
|
+
padding-block: calc(0.25rem * 2);
|
|
10
|
+
vertical-align: middle;
|
|
11
|
+
width: clamp(3rem, 20rem, 100%);
|
|
12
|
+
padding-inline-start: 0.75rem;
|
|
13
|
+
padding-inline-end: 0.75rem;
|
|
14
|
+
font-size: max(var(--font-size, 0.875rem), 0.875rem);
|
|
15
|
+
touch-action: manipulation;
|
|
16
|
+
border-color: var(--input-color);
|
|
17
|
+
box-shadow: 0 1px var(--input-color) inset, 0 -1px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset;
|
|
18
|
+
--input-color: var(--color-base-content);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
22
|
+
.textarea {
|
|
23
|
+
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;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
28
|
+
.textarea {
|
|
29
|
+
--input-color: color-mix(in oklab, var(--color-base-content) 20%, #0000);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.textarea textarea {
|
|
34
|
+
appearance: none;
|
|
35
|
+
background-color: transparent;
|
|
36
|
+
border: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.textarea textarea:focus,
|
|
40
|
+
.textarea textarea:focus-within {
|
|
41
|
+
--tw-outline-style: none;
|
|
42
|
+
outline-style: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media (forced-colors: active) {
|
|
46
|
+
.textarea textarea:focus,
|
|
47
|
+
.textarea textarea:focus-within {
|
|
48
|
+
outline: 2px solid transparent;
|
|
49
|
+
outline-offset: 2px;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.textarea:focus,
|
|
54
|
+
.textarea:focus-within {
|
|
55
|
+
--input-color: var(--color-base-content);
|
|
56
|
+
box-shadow: 0 1px var(--input-color);
|
|
57
|
+
outline: 2px solid var(--input-color);
|
|
58
|
+
outline-offset: 2px;
|
|
59
|
+
isolation: isolate;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
63
|
+
.textarea:focus,
|
|
64
|
+
.textarea:focus-within {
|
|
65
|
+
box-shadow: 0 1px color-mix(in oklab, var(--input-color) calc(var(--depth) * 10%), #0000);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@media (pointer: coarse) {
|
|
70
|
+
@supports (-webkit-touch-callout: none) {
|
|
71
|
+
.textarea:focus,
|
|
72
|
+
.textarea:focus-within {
|
|
73
|
+
--font-size: 1rem;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.textarea:has(> textarea[disabled]),
|
|
79
|
+
.textarea:is(:disabled, [disabled]) {
|
|
80
|
+
cursor: not-allowed;
|
|
81
|
+
border-color: var(--color-base-200);
|
|
82
|
+
background-color: var(--color-base-200);
|
|
83
|
+
color: var(--color-base-content);
|
|
84
|
+
box-shadow: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
88
|
+
.textarea:has(> textarea[disabled]),
|
|
89
|
+
.textarea:is(:disabled, [disabled]) {
|
|
90
|
+
color: color-mix(in oklab, var(--color-base-content) 40%, transparent);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.textarea:has(> textarea[disabled])::placeholder,
|
|
95
|
+
.textarea:is(:disabled, [disabled])::placeholder {
|
|
96
|
+
color: var(--color-base-content);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
100
|
+
.textarea:has(> textarea[disabled])::placeholder,
|
|
101
|
+
.textarea:is(:disabled, [disabled])::placeholder {
|
|
102
|
+
color: color-mix(in oklab, var(--color-base-content) 20%, transparent);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.textarea:has(> textarea[disabled]) > textarea[disabled] {
|
|
107
|
+
cursor: not-allowed;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.textarea-ghost {
|
|
111
|
+
background-color: transparent;
|
|
112
|
+
box-shadow: none;
|
|
113
|
+
border-color: #0000;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.textarea-ghost:focus,
|
|
117
|
+
.textarea-ghost:focus-within {
|
|
118
|
+
background-color: var(--color-base-100);
|
|
119
|
+
color: var(--color-base-content);
|
|
120
|
+
border-color: #0000;
|
|
121
|
+
box-shadow: none;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.textarea-lg {
|
|
125
|
+
font-size: max(var(--font-size, 1.125rem), 1.125rem);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.textarea-md {
|
|
129
|
+
font-size: max(var(--font-size, 0.875rem), 0.875rem);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.textarea-sm {
|
|
133
|
+
font-size: max(var(--font-size, 0.75rem), 0.75rem);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.textarea-xl {
|
|
137
|
+
font-size: max(var(--font-size, 1.375rem), 1.375rem);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.textarea-xs {
|
|
141
|
+
font-size: max(var(--font-size, 0.6875rem), 0.6875rem);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.textarea-accent,
|
|
145
|
+
.textarea-accent:focus,
|
|
146
|
+
.textarea-accent:focus-within {
|
|
147
|
+
--input-color: var(--color-accent);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.textarea-error,
|
|
151
|
+
.textarea-error:focus,
|
|
152
|
+
.textarea-error:focus-within {
|
|
153
|
+
--input-color: var(--color-error);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.textarea-info,
|
|
157
|
+
.textarea-info:focus,
|
|
158
|
+
.textarea-info:focus-within {
|
|
159
|
+
--input-color: var(--color-info);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.textarea-neutral,
|
|
163
|
+
.textarea-neutral:focus,
|
|
164
|
+
.textarea-neutral:focus-within {
|
|
165
|
+
--input-color: var(--color-neutral);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.textarea-primary,
|
|
169
|
+
.textarea-primary:focus,
|
|
170
|
+
.textarea-primary:focus-within {
|
|
171
|
+
--input-color: var(--color-primary);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.textarea-secondary,
|
|
175
|
+
.textarea-secondary:focus,
|
|
176
|
+
.textarea-secondary:focus-within {
|
|
177
|
+
--input-color: var(--color-secondary);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.textarea-success,
|
|
181
|
+
.textarea-success:focus,
|
|
182
|
+
.textarea-success:focus-within {
|
|
183
|
+
--input-color: var(--color-success);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.textarea-warning,
|
|
187
|
+
.textarea-warning:focus,
|
|
188
|
+
.textarea-warning:focus-within {
|
|
189
|
+
--input-color: var(--color-warning);
|
|
190
|
+
}
|
|
191
|
+
}
|