@pathscale/ui 0.0.162 → 0.0.163
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion/collapse.css +248 -0
- package/dist/alert/alert.css +123 -0
- package/dist/avatar/avatar.css +58 -0
- package/dist/badge/badge.css +128 -0
- package/dist/breadcrumbs/breadcrumbs.css +85 -0
- package/dist/button/btn.css +429 -0
- package/dist/calendar/input.css +277 -0
- package/dist/card/card.css +171 -0
- package/dist/carousel/carousel.css +39 -0
- package/dist/chatbubble/chat.css +153 -0
- package/dist/checkbox/checkbox.css +168 -0
- package/dist/collapse/collapse.css +248 -0
- package/dist/components/accordion/Accordion.d.ts +1 -0
- package/dist/components/accordion/Accordion.js +180 -0
- package/dist/components/accordion/collapse.css +248 -0
- package/dist/components/accordion/index.js +3 -0
- package/dist/components/alert/Alert.d.ts +1 -0
- package/dist/components/alert/Alert.js +75 -0
- package/dist/components/alert/alert.css +123 -0
- package/dist/components/alert/index.js +3 -0
- package/dist/components/artboard/Artboard.js +42 -0
- package/dist/components/artboard/index.js +3 -0
- package/dist/components/avatar/Avatar.d.ts +1 -0
- package/dist/components/avatar/Avatar.js +164 -0
- package/dist/components/avatar/AvatarGroup.js +52 -0
- package/dist/components/avatar/avatar.css +58 -0
- package/dist/components/avatar/index.js +3 -0
- package/dist/components/background/Background.js +22 -0
- package/dist/components/background/index.js +3 -0
- package/dist/components/badge/Badge.d.ts +1 -0
- package/dist/components/badge/Badge.js +75 -0
- package/dist/components/badge/badge.css +128 -0
- package/dist/components/badge/index.js +3 -0
- package/dist/components/bottom-sheet/BottomSheet.js +109 -0
- package/dist/components/bottom-sheet/index.js +3 -0
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts +1 -0
- package/dist/components/breadcrumbs/Breadcrumbs.js +36 -0
- package/dist/components/breadcrumbs/BreadcrumbsItem.js +30 -0
- package/dist/components/breadcrumbs/breadcrumbs.css +85 -0
- package/dist/components/breadcrumbs/index.js +5 -0
- package/dist/components/browsermockup/BrowserMockup.js +55 -0
- package/dist/components/browsermockup/index.js +3 -0
- package/dist/components/button/Button.d.ts +1 -0
- package/dist/components/button/Button.js +205 -0
- package/dist/components/button/btn.css +429 -0
- package/dist/components/button/index.js +3 -0
- package/dist/components/calendar/Calendar.d.ts +1 -0
- package/dist/components/calendar/Calendar.js +194 -0
- package/dist/components/calendar/index.js +3 -0
- package/dist/components/calendar/input.css +277 -0
- package/dist/components/card/Card.d.ts +1 -0
- package/dist/components/card/Card.js +98 -0
- package/dist/components/card/CardActions.js +15 -0
- package/dist/components/card/CardBody.js +15 -0
- package/dist/components/card/CardImage.js +10 -0
- package/dist/components/card/CardTitle.js +13 -0
- package/dist/components/card/card.css +171 -0
- package/dist/components/card/index.js +3 -0
- package/dist/components/carousel/Carousel.d.ts +1 -0
- package/dist/components/carousel/Carousel.js +70 -0
- package/dist/components/carousel/CarouselItem.js +27 -0
- package/dist/components/carousel/carousel.css +39 -0
- package/dist/components/carousel/index.js +3 -0
- package/dist/components/chatbubble/ChatBubble.d.ts +1 -0
- package/dist/components/chatbubble/ChatBubble.js +48 -0
- package/dist/components/chatbubble/ChatBubbleAvatar.js +16 -0
- package/dist/components/chatbubble/ChatBubbleFooter.js +14 -0
- package/dist/components/chatbubble/ChatBubbleHeader.js +14 -0
- package/dist/components/chatbubble/ChatBubbleMessage.js +28 -0
- package/dist/components/chatbubble/ChatBubbleTime.js +14 -0
- package/dist/components/chatbubble/chat.css +153 -0
- package/dist/components/chatbubble/index.js +3 -0
- package/dist/components/checkbox/Checkbox.d.ts +1 -0
- package/dist/components/checkbox/Checkbox.js +78 -0
- package/dist/components/checkbox/checkbox.css +168 -0
- package/dist/components/checkbox/index.js +3 -0
- package/dist/components/codemockup/CodeMockup.js +33 -0
- package/dist/components/codemockup/CodeMockupLine.js +53 -0
- package/dist/components/codemockup/index.js +5 -0
- package/dist/components/collapse/Collapse.d.ts +1 -0
- package/dist/components/collapse/Collapse.js +104 -0
- package/dist/components/collapse/CollapseContent.js +15 -0
- package/dist/components/collapse/CollapseDetails.js +33 -0
- package/dist/components/collapse/CollapseTitle.js +47 -0
- package/dist/components/collapse/collapse.css +248 -0
- package/dist/components/collapse/index.js +10 -0
- package/dist/components/colorpicker/AlphaSlider.js +107 -0
- package/dist/components/colorpicker/ColorInput.js +88 -0
- package/dist/components/colorpicker/ColorPicker.js +264 -0
- package/dist/components/colorpicker/ColorPickerFlowerSelector.js +9 -0
- package/dist/components/colorpicker/ColorPickerGradientSelector.js +9 -0
- package/dist/components/colorpicker/ColorPickerWheelSelector.js +9 -0
- package/dist/components/colorpicker/ColorPreview.js +47 -0
- package/dist/components/colorpicker/ColorSwatches.js +67 -0
- package/dist/components/colorpicker/ColorUtils.js +216 -0
- package/dist/components/colorpicker/ColorWheel.js +106 -0
- package/dist/components/colorpicker/ColorWheelFlower.js +462 -0
- package/dist/components/colorpicker/HueSlider.js +105 -0
- package/dist/components/colorpicker/LightnessSlider.js +111 -0
- package/dist/components/colorpicker/SaturationBrightness.js +120 -0
- package/dist/components/colorpicker/colorpickerContext.js +8 -0
- package/dist/components/colorpicker/index.js +31 -0
- package/dist/components/confirm-dialog/ConfirmDialog.js +102 -0
- package/dist/components/confirm-dialog/index.js +3 -0
- package/dist/components/connectionstatus/ConnectionStatus.js +189 -0
- package/dist/components/connectionstatus/index.js +3 -0
- package/dist/components/copy-button/CopyButton.js +70 -0
- package/dist/components/copy-button/index.js +3 -0
- package/dist/components/countdown/Countdown.d.ts +1 -0
- package/dist/components/countdown/Countdown.js +37 -0
- package/dist/components/countdown/countdown.css +58 -0
- package/dist/components/countdown/index.js +3 -0
- package/dist/components/diff/Diff.d.ts +1 -0
- package/dist/components/diff/Diff.js +29 -0
- package/dist/components/diff/diff.css +162 -0
- package/dist/components/diff/index.js +3 -0
- package/dist/components/divider/Divider.js +41 -0
- package/dist/components/divider/Divider.styles.js +71 -0
- package/dist/components/divider/index.js +3 -0
- package/dist/components/dock/Dock.d.ts +1 -0
- package/dist/components/dock/Dock.js +40 -0
- package/dist/components/dock/DockItem.js +45 -0
- package/dist/components/dock/DockLabel.js +22 -0
- package/dist/components/dock/dock.css +147 -0
- package/dist/components/dock/index.js +3 -0
- package/dist/components/drawer/Drawer.d.ts +1 -0
- package/dist/components/drawer/Drawer.js +68 -0
- package/dist/components/drawer/drawer.css +184 -0
- package/dist/components/drawer/index.js +3 -0
- package/dist/components/dropdown/Dropdown.d.ts +3 -3
- package/dist/components/dropdown/Dropdown.js +133 -0
- package/dist/components/dropdown/DropdownDetails.js +44 -0
- package/dist/components/dropdown/DropdownItem.js +60 -0
- package/dist/components/dropdown/DropdownMenu.js +44 -0
- package/dist/components/dropdown/DropdownToggle.js +92 -0
- package/dist/components/dropdown/dropdown.css +253 -0
- package/dist/components/dropdown/dropdownContext.d.ts +10 -0
- package/dist/components/dropdown/dropdownContext.js +54 -0
- package/dist/components/dropdown/index.js +3 -0
- package/dist/components/dropdown-select/DropdownSelect.js +279 -0
- package/dist/components/dropdown-select/index.js +3 -0
- package/dist/components/empty-state/EmptyState.js +88 -0
- package/dist/components/empty-state/index.js +3 -0
- package/dist/components/fieldset/Fieldset.js +73 -0
- package/dist/components/fieldset/index.js +3 -0
- package/dist/components/fileinput/FileInput.d.ts +1 -0
- package/dist/components/fileinput/FileInput.js +51 -0
- package/dist/components/fileinput/index.js +3 -0
- package/dist/components/fileinput/input.css +277 -0
- package/dist/components/flex/Flex.js +101 -0
- package/dist/components/flex/index.js +3 -0
- package/dist/components/floating-dock/FloatingDock.js +550 -0
- package/dist/components/floating-dock/index.js +3 -0
- package/dist/components/footer/Footer.d.ts +1 -0
- package/dist/components/footer/Footer.js +41 -0
- package/dist/components/footer/FooterTitle.js +27 -0
- package/dist/components/footer/footer.css +51 -0
- package/dist/components/footer/index.js +3 -0
- package/dist/components/form/Form.d.ts +3 -8
- package/dist/components/form/Form.js +17 -0
- package/dist/components/form/FormBase.d.ts +8 -0
- package/dist/components/form/FormBase.js +74 -0
- package/dist/components/form/FormDropdown.js +138 -0
- package/dist/components/form/FormField.js +78 -0
- package/dist/components/form/Label.js +31 -0
- package/dist/components/form/NumberField.js +109 -0
- package/dist/components/form/PasswordField.js +113 -0
- package/dist/components/form/ValidatedForm.d.ts +1 -1
- package/dist/components/form/ValidatedForm.js +55 -0
- package/dist/components/form/index.js +6 -0
- package/dist/components/form-actions/FormActions.js +142 -0
- package/dist/components/form-actions/index.js +3 -0
- package/dist/components/glass-panel/GlassPanel.js +146 -0
- package/dist/components/glass-panel/index.js +3 -0
- package/dist/components/glow-card/GlowCard.css +65 -0
- package/dist/components/glow-card/GlowCard.js +47 -0
- package/dist/components/glow-card/index.js +3 -0
- package/dist/components/grid/Grid.js +89 -0
- package/dist/components/grid/index.js +3 -0
- package/dist/components/hero/Hero.d.ts +1 -0
- package/dist/components/hero/Hero.js +47 -0
- package/dist/components/hero/HeroContent.js +31 -0
- package/dist/components/hero/HeroOverlay.js +39 -0
- package/dist/components/hero/hero.css +38 -0
- package/dist/components/hero/index.js +3 -0
- package/dist/components/icon/Icon.js +38 -0
- package/dist/components/icon/index.js +3 -0
- package/dist/components/immersive-landing/ImmersiveLanding.js +218 -0
- package/dist/components/immersive-landing/ImmersiveLandingArrows.js +60 -0
- package/dist/components/immersive-landing/ImmersiveLandingContext.js +8 -0
- package/dist/components/immersive-landing/ImmersiveLandingNavigation.js +91 -0
- package/dist/components/immersive-landing/ImmersiveLandingPage.js +46 -0
- package/dist/components/immersive-landing/components/CookieConsent.js +256 -0
- package/dist/components/immersive-landing/components/FirefoxPWABanner.js +173 -0
- package/dist/components/immersive-landing/components/PWAInstallPrompt.js +178 -0
- package/dist/components/immersive-landing/index.js +14 -0
- package/dist/components/immersive-landing/types.js +0 -0
- package/dist/components/immersive-landing/useImmersiveLanding.js +151 -0
- package/dist/components/indicator/Indicator.d.ts +1 -0
- package/dist/components/indicator/Indicator.js +76 -0
- package/dist/components/indicator/index.js +3 -0
- package/dist/components/indicator/indicator.css +70 -0
- package/dist/components/input/Input.d.ts +1 -0
- package/dist/components/input/Input.js +136 -0
- package/dist/components/input/index.js +3 -0
- package/dist/components/input/input.css +277 -0
- package/dist/components/join/Join.js +41 -0
- package/dist/components/join/index.js +3 -0
- package/dist/components/kbd/Kbd.d.ts +1 -0
- package/dist/components/kbd/Kbd.js +22 -0
- package/dist/components/kbd/index.js +3 -0
- package/dist/components/kbd/kbd.css +55 -0
- package/dist/components/language-switcher/LanguageSwitcher.js +101 -0
- package/dist/components/language-switcher/createI18n.js +85 -0
- package/dist/components/language-switcher/index.js +8 -0
- package/dist/components/link/Link.d.ts +1 -0
- package/dist/components/link/Link.js +70 -0
- package/dist/components/link/index.js +3 -0
- package/dist/components/link/link.css +153 -0
- package/dist/components/live-chat/LiveChatBubble.js +106 -0
- package/dist/components/live-chat/LiveChatPanel.js +359 -0
- package/dist/components/live-chat/index.js +5 -0
- package/dist/components/live-chat/types.js +0 -0
- package/dist/components/loading/Loading.d.ts +1 -0
- package/dist/components/loading/Loading.js +75 -0
- package/dist/components/loading/index.js +3 -0
- package/dist/components/loading/loading.css +58 -0
- package/dist/components/mask/Mask.d.ts +1 -0
- package/dist/components/mask/Mask.js +62 -0
- package/dist/components/mask/index.js +3 -0
- package/dist/components/mask/mask.css +89 -0
- package/dist/components/menu/Menu.d.ts +1 -0
- package/dist/components/menu/Menu.js +51 -0
- package/dist/components/menu/MenuDetails.js +37 -0
- package/dist/components/menu/MenuDropdown.js +48 -0
- package/dist/components/menu/MenuItem.js +40 -0
- package/dist/components/menu/MenuTitle.js +22 -0
- package/dist/components/menu/index.js +3 -0
- package/dist/components/menu/menu.css +364 -0
- package/dist/components/modal/Modal.d.ts +1 -0
- package/dist/components/modal/Modal.js +125 -0
- package/dist/components/modal/ModalActions.js +14 -0
- package/dist/components/modal/ModalBody.js +14 -0
- package/dist/components/modal/ModalHeader.js +15 -0
- package/dist/components/modal/ModalLegacy.js +36 -0
- package/dist/components/modal/index.js +3 -0
- package/dist/components/modal/modal.css +170 -0
- package/dist/components/navbar/Navbar.d.ts +1 -0
- package/dist/components/navbar/Navbar.js +54 -0
- package/dist/components/navbar/NavbarRow.js +49 -0
- package/dist/components/navbar/NavbarSection.js +38 -0
- package/dist/components/navbar/NavbarStack.js +39 -0
- package/dist/components/navbar/index.js +3 -0
- package/dist/components/navbar/navbar.css +33 -0
- package/dist/components/noise-background/NoiseBackground.js +200 -0
- package/dist/components/noise-background/index.js +3 -0
- package/dist/components/pagination/Pagination.js +17 -0
- package/dist/components/pagination/index.js +3 -0
- package/dist/components/phonemockup/PhoneMockup.js +44 -0
- package/dist/components/phonemockup/index.js +3 -0
- package/dist/components/progress/Progress.d.ts +1 -0
- package/dist/components/progress/Progress.js +70 -0
- package/dist/components/progress/index.js +3 -0
- package/dist/components/progress/progress.css +94 -0
- package/dist/components/props-table/PropsTable.js +56 -0
- package/dist/components/props-table/index.js +3 -0
- package/dist/components/radialprogress/RadialProgress.js +47 -0
- package/dist/components/radialprogress/index.js +3 -0
- package/dist/components/radio/Radio.d.ts +1 -0
- package/dist/components/radio/Radio.js +73 -0
- package/dist/components/radio/index.js +3 -0
- package/dist/components/radio/radio.css +152 -0
- package/dist/components/radio-group/RadioGroup.d.ts +1 -0
- package/dist/components/radio-group/RadioGroup.js +107 -0
- package/dist/components/radio-group/index.js +3 -0
- package/dist/components/radio-group/radio.css +152 -0
- package/dist/components/range/Range.d.ts +1 -0
- package/dist/components/range/Range.js +85 -0
- package/dist/components/range/index.js +3 -0
- package/dist/components/range/range.css +174 -0
- package/dist/components/range-slider/RangeSlider.d.ts +1 -0
- package/dist/components/range-slider/RangeSlider.js +112 -0
- package/dist/components/range-slider/index.js +3 -0
- package/dist/components/range-slider/range.css +174 -0
- package/dist/components/rating/Rating.d.ts +1 -0
- package/dist/components/rating/Rating.js +54 -0
- package/dist/components/rating/RatingHidden.js +29 -0
- package/dist/components/rating/RatingItem.js +62 -0
- package/dist/components/rating/index.js +3 -0
- package/dist/components/rating/rating.css +106 -0
- package/dist/components/select/Select.d.ts +1 -0
- package/dist/components/select/Select.js +62 -0
- package/dist/components/select/index.js +3 -0
- package/dist/components/select/select.css +351 -0
- package/dist/components/showcase/ShowcaseBlock.js +48 -0
- package/dist/components/showcase/index.js +3 -0
- package/dist/components/showcase-section/ShowcaseSection.js +73 -0
- package/dist/components/showcase-section/index.js +3 -0
- package/dist/components/sidenav/Sidenav.css +176 -0
- package/dist/components/sidenav/Sidenav.js +66 -0
- package/dist/components/sidenav/SidenavButton.js +41 -0
- package/dist/components/sidenav/SidenavGroup.js +45 -0
- package/dist/components/sidenav/SidenavItem.js +37 -0
- package/dist/components/sidenav/SidenavLink.js +36 -0
- package/dist/components/sidenav/SidenavMenu.js +31 -0
- package/dist/components/sidenav/index.js +13 -0
- package/dist/components/size-picker/SizePicker.js +63 -0
- package/dist/components/size-picker/index.js +6 -0
- package/dist/components/size-picker/sizeStore.js +36 -0
- package/dist/components/skeleton/Skeleton.d.ts +1 -0
- package/dist/components/skeleton/Skeleton.js +30 -0
- package/dist/components/skeleton/index.js +3 -0
- package/dist/components/skeleton/skeleton.css +22 -0
- package/dist/components/skip-link/SkipLink.js +34 -0
- package/dist/components/skip-link/index.js +3 -0
- package/dist/components/stack/Stack.d.ts +1 -0
- package/dist/components/stack/Stack.js +53 -0
- package/dist/components/stack/index.js +3 -0
- package/dist/components/stack/stack.css +90 -0
- package/dist/components/stat-card/StatCard.js +46 -0
- package/dist/components/stat-card/StatCardSection.js +39 -0
- package/dist/components/stat-card/index.js +3 -0
- package/dist/components/stats/Stat.d.ts +1 -0
- package/dist/components/stats/Stat.js +51 -0
- package/dist/components/stats/StatSection.js +29 -0
- package/dist/components/stats/Stats.js +29 -0
- package/dist/components/stats/index.js +3 -0
- package/dist/components/stats/stat.css +67 -0
- package/dist/components/status/Status.js +30 -0
- package/dist/components/status/index.js +3 -0
- package/dist/components/steps/Step.d.ts +1 -0
- package/dist/components/steps/Step.js +88 -0
- package/dist/components/steps/Steps.js +80 -0
- package/dist/components/steps/index.js +3 -0
- package/dist/components/steps/step.css +179 -0
- package/dist/components/streaming-table/StreamingTable.js +343 -0
- package/dist/components/streaming-table/createRowStore.js +18 -0
- package/dist/components/streaming-table/createStreamingTableStore.js +68 -0
- package/dist/components/streaming-table/index.js +5 -0
- package/dist/components/streaming-table/types.js +0 -0
- package/dist/components/svgbackground/SvgBackground.js +413 -0
- package/dist/components/svgbackground/index.js +3 -0
- package/dist/components/swap/Swap.d.ts +1 -0
- package/dist/components/swap/Swap.js +57 -0
- package/dist/components/swap/index.js +3 -0
- package/dist/components/swap/swap.css +92 -0
- package/dist/components/switch-field/SwitchField.js +91 -0
- package/dist/components/switch-field/index.js +3 -0
- package/dist/components/table/EnhancedTable.d.ts +3 -0
- package/dist/components/table/EnhancedTable.js +733 -0
- package/dist/components/table/Table.d.ts +1 -0
- package/dist/components/table/Table.js +57 -0
- package/dist/components/table/TableBody.js +30 -0
- package/dist/components/table/TableCell.js +34 -0
- package/dist/components/table/TableFooter.js +45 -0
- package/dist/components/table/TableHead.js +45 -0
- package/dist/components/table/TableHeadCell.js +34 -0
- package/dist/components/table/TableRow.js +34 -0
- package/dist/components/table/index.js +5 -0
- package/dist/components/table/table.css +148 -0
- package/dist/components/tabs/RadioTab.d.ts +1 -0
- package/dist/components/tabs/RadioTab.js +64 -0
- package/dist/components/tabs/Tab.js +43 -0
- package/dist/components/tabs/Tabs.d.ts +1 -0
- package/dist/components/tabs/Tabs.js +45 -0
- package/dist/components/tabs/index.js +3 -0
- package/dist/components/tabs/tab.css +414 -0
- package/dist/components/textarea/Textarea.d.ts +1 -0
- package/dist/components/textarea/Textarea.js +53 -0
- package/dist/components/textarea/index.js +3 -0
- package/dist/components/textarea/textarea.css +191 -0
- package/dist/components/theme-color-picker/ThemeColorPicker.js +151 -0
- package/dist/components/theme-color-picker/hueShift.js +476 -0
- package/dist/components/theme-color-picker/index.js +7 -0
- package/dist/components/timeline/Timeline.d.ts +1 -0
- package/dist/components/timeline/Timeline.js +42 -0
- package/dist/components/timeline/TimelineEnd.js +28 -0
- package/dist/components/timeline/TimelineItem.js +47 -0
- package/dist/components/timeline/TimelineMiddle.js +25 -0
- package/dist/components/timeline/TimelineStart.js +28 -0
- package/dist/components/timeline/index.js +11 -0
- package/dist/components/timeline/timeline.css +286 -0
- package/dist/components/toast/Toast.d.ts +1 -0
- package/dist/components/toast/Toast.js +54 -0
- package/dist/components/toast/index.js +3 -0
- package/dist/components/toast/toast.css +58 -0
- package/dist/components/toastcontainer/ToastContainer.js +15 -0
- package/dist/components/toastcontainer/ToastStack.js +172 -0
- package/dist/components/toastcontainer/index.js +5 -0
- package/dist/components/toggle/Toggle.d.ts +1 -0
- package/dist/components/toggle/Toggle.js +74 -0
- package/dist/components/toggle/index.js +3 -0
- package/dist/components/toggle/toggle.css +234 -0
- package/dist/components/tooltip/Tooltip.d.ts +1 -0
- package/dist/components/tooltip/Tooltip.js +54 -0
- package/dist/components/tooltip/index.js +3 -0
- package/dist/components/tooltip/tooltip.css +198 -0
- package/dist/components/types.js +8 -0
- package/dist/components/utils.js +46 -0
- package/dist/components/video-preview/VideoPreview.js +55 -0
- package/dist/components/video-preview/index.js +3 -0
- package/dist/components/windowmockup/WindowMockup.js +85 -0
- package/dist/components/windowmockup/index.js +3 -0
- package/dist/countdown/countdown.css +58 -0
- package/dist/diff/diff.css +162 -0
- package/dist/dock/dock.css +147 -0
- package/dist/drawer/drawer.css +184 -0
- package/dist/dropdown/dropdown.css +253 -0
- package/dist/fileinput/input.css +277 -0
- package/dist/footer/footer.css +51 -0
- package/dist/hero/hero.css +38 -0
- package/dist/index.css +53 -55
- package/dist/index.js +239 -19856
- package/dist/indicator/indicator.css +70 -0
- package/dist/input/input.css +277 -0
- package/dist/kbd/kbd.css +55 -0
- package/dist/lib/iterable.js +6 -0
- package/dist/lib/props/index.js +0 -0
- package/dist/lib/props/types.js +0 -0
- package/dist/lib/refs/index.js +3 -0
- package/dist/lib/refs/mergeRefs.js +5 -0
- package/dist/lib/refs/types.js +0 -0
- package/dist/lib/style/classes.js +40 -0
- package/dist/lib/style/index.js +4 -0
- package/dist/lib/tag/createIsButton.js +23 -0
- package/dist/lib/tag/createTagName.js +5 -0
- package/dist/lib/tag/index.js +7 -0
- package/dist/link/link.css +153 -0
- package/dist/loading/loading.css +58 -0
- package/dist/mask/mask.css +89 -0
- package/dist/menu/menu.css +364 -0
- package/dist/modal/modal.css +170 -0
- package/dist/motion/driver.js +13 -0
- package/dist/motion/easing.js +18 -0
- package/dist/motion/engine.js +85 -0
- package/dist/motion/index.js +34 -0
- package/dist/motion/popmotion.js +6 -0
- package/dist/motion/presets.js +203 -0
- package/dist/motion/reduced-motion.js +2 -0
- package/dist/motion/route.js +24 -0
- package/dist/motion/solid/MotionDiv.js +76 -0
- package/dist/motion/solid/index.js +3 -0
- package/dist/motion/system.js +59 -0
- package/dist/motion/tokens.js +42 -0
- package/dist/motion/types.js +0 -0
- package/dist/navbar/navbar.css +33 -0
- package/dist/progress/progress.css +94 -0
- package/dist/radio/radio.css +152 -0
- package/dist/radio-group/radio.css +152 -0
- package/dist/range/range.css +174 -0
- package/dist/range-slider/range.css +174 -0
- package/dist/rating/rating.css +106 -0
- package/dist/select/select.css +351 -0
- package/dist/skeleton/skeleton.css +22 -0
- package/dist/stack/stack.css +90 -0
- package/dist/stats/stat.css +67 -0
- package/dist/steps/step.css +179 -0
- package/dist/stores/index.js +1 -0
- package/dist/stores/toastStore.js +64 -0
- package/dist/swap/swap.css +92 -0
- package/dist/table/table.css +148 -0
- package/dist/tabs/tab.css +414 -0
- package/dist/textarea/textarea.css +191 -0
- package/dist/timeline/timeline.css +286 -0
- package/dist/toast/toast.css +58 -0
- package/dist/toggle/toggle.css +234 -0
- package/dist/tooltip/tooltip.css +198 -0
- package/package.json +26 -5
- package/dist/styles/compat/daisy-primitives.css +0 -6919
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.loading {
|
|
3
|
+
pointer-events: none;
|
|
4
|
+
display: inline-block;
|
|
5
|
+
aspect-ratio: 1 / 1;
|
|
6
|
+
background-color: currentcolor;
|
|
7
|
+
vertical-align: middle;
|
|
8
|
+
width: calc(var(--size-selector, 0.25rem) * 6);
|
|
9
|
+
mask-size: 100%;
|
|
10
|
+
mask-repeat: no-repeat;
|
|
11
|
+
mask-position: center;
|
|
12
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.loading-lg {
|
|
16
|
+
width: calc(var(--size-selector, 0.25rem) * 7);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.loading-md {
|
|
20
|
+
width: calc(var(--size-selector, 0.25rem) * 6);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.loading-sm {
|
|
24
|
+
width: calc(var(--size-selector, 0.25rem) * 5);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.loading-xl {
|
|
28
|
+
width: calc(var(--size-selector, 0.25rem) * 8);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.loading-xs {
|
|
32
|
+
width: calc(var(--size-selector, 0.25rem) * 4);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.loading-ball {
|
|
36
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='12' cy='5' rx='4' ry='4'%3E%3Canimate attributeName='cy' values='5;20;20.5;20;5' keyTimes='0;0.469;0.5;0.531;1' dur='.8s' repeatCount='indefinite' keySplines='.33,0,.66,.33;.33,.66,.66,1'/%3E%3Canimate attributeName='rx' values='4;4;4.8;4;4' keyTimes='0;0.469;0.5;0.531;1' dur='.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='ry' values='4;4;3;4;4' keyTimes='0;0.469;0.5;0.531;1' dur='.8s' repeatCount='indefinite'/%3E%3C/ellipse%3E%3C/svg%3E");
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.loading-bars {
|
|
40
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='6' height='22'%3E%3Canimate attributeName='y' values='1;5;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='height' values='22;14;22' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='opacity' values='1;0.2;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite'/%3E%3C/rect%3E%3Crect x='9' y='1' width='6' height='22'%3E%3Canimate attributeName='y' values='1;5;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.65s'/%3E%3Canimate attributeName='height' values='22;14;22' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.65s'/%3E%3Canimate attributeName='opacity' values='1;0.2;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.65s'/%3E%3C/rect%3E%3Crect x='17' y='1' width='6' height='22'%3E%3Canimate attributeName='y' values='1;5;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.5s'/%3E%3Canimate attributeName='height' values='22;14;22' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.5s'/%3E%3Canimate attributeName='opacity' values='1;0.2;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.5s'/%3E%3C/rect%3E%3C/svg%3E");
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.loading-dots {
|
|
44
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='12' r='3'%3E%3Canimate attributeName='cy' values='12;6;12;12' keyTimes='0;0.286;0.571;1' dur='1.05s' repeatCount='indefinite' keySplines='.33,0,.66,.33;.33,.66,.66,1'/%3E%3C/circle%3E%3Ccircle cx='12' cy='12' r='3'%3E%3Canimate attributeName='cy' values='12;6;12;12' keyTimes='0;0.286;0.571;1' dur='1.05s' repeatCount='indefinite' keySplines='.33,0,.66,.33;.33,.66,.66,1' begin='0.1s'/%3E%3C/circle%3E%3Ccircle cx='20' cy='12' r='3'%3E%3Canimate attributeName='cy' values='12;6;12;12' keyTimes='0;0.286;0.571;1' dur='1.05s' repeatCount='indefinite' keySplines='.33,0,.66,.33;.33,.66,.66,1' begin='0.2s'/%3E%3C/circle%3E%3C/svg%3E");
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.loading-infinity {
|
|
48
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' style='shape-rendering:auto;' width='200px' height='200px' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid'%3E%3Cpath fill='none' stroke='black' stroke-width='10' stroke-dasharray='205.271 51.318' d='M24.3 30C11.4 30 5 43.3 5 50s6.4 20 19.3 20c19.3 0 32.1-40 51.4-40C88.6 30 95 43.3 95 50s-6.4 20-19.3 20C56.4 70 43.6 30 24.3 30z' stroke-linecap='round' style='transform:scale(0.8);transform-origin:50px 50px'%3E%3Canimate attributeName='stroke-dashoffset' repeatCount='indefinite' dur='2s' keyTimes='0;1' values='0;256.589'/%3E%3C/path%3E%3C/svg%3E");
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.loading-ring {
|
|
52
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' xmlns='http://www.w3.org/2000/svg' stroke='white'%3E%3Cg fill='none' fill-rule='evenodd' stroke-width='2'%3E%3Ccircle cx='22' cy='22' r='1'%3E%3Canimate attributeName='r' begin='0s' dur='1.8s' values='1;20' calcMode='spline' keyTimes='0;1' keySplines='0.165,0.84,0.44,1' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' begin='0s' dur='1.8s' values='1;0' calcMode='spline' keyTimes='0;1' keySplines='0.3,0.61,0.355,1' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='22' cy='22' r='1'%3E%3Canimate attributeName='r' begin='-0.9s' dur='1.8s' values='1;20' calcMode='spline' keyTimes='0;1' keySplines='0.165,0.84,0.44,1' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' begin='-0.9s' dur='1.8s' values='1;0' calcMode='spline' keyTimes='0;1' keySplines='0.3,0.61,0.355,1' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.loading-spinner {
|
|
56
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.mask {
|
|
3
|
+
display: inline-block;
|
|
4
|
+
vertical-align: middle;
|
|
5
|
+
mask-size: contain;
|
|
6
|
+
mask-repeat: no-repeat;
|
|
7
|
+
mask-position: center;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.mask-circle {
|
|
11
|
+
mask-image: url("data:image/svg+xml,%3csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle fill='black' cx='100' cy='100' r='100' fill-rule='evenodd'/%3e%3c/svg%3e");
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.mask-decagon {
|
|
15
|
+
mask-image: url("data:image/svg+xml,%3csvg width='192' height='200' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m96 0 58.779 19.098 36.327 50v61.804l-36.327 50L96 200l-58.779-19.098-36.327-50V69.098l36.327-50z' fill-rule='evenodd'/%3e%3c/svg%3e");
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.mask-diamond {
|
|
19
|
+
mask-image: url("data:image/svg+xml,%3csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m100 0 100 100-100 100L0 100z' fill-rule='evenodd'/%3e%3c/svg%3e");
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.mask-heart {
|
|
23
|
+
mask-image: url("data:image/svg+xml,%3csvg width='200' height='185' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M100 184.606a15.384 15.384 0 0 1-8.653-2.678C53.565 156.28 37.205 138.695 28.182 127.7 8.952 104.264-.254 80.202.005 54.146.308 24.287 24.264 0 53.406 0c21.192 0 35.869 11.937 44.416 21.879a2.884 2.884 0 0 0 4.356 0C110.725 11.927 125.402 0 146.594 0c29.142 0 53.098 24.287 53.4 54.151.26 26.061-8.956 50.122-28.176 73.554-9.023 10.994-25.383 28.58-63.165 54.228a15.384 15.384 0 0 1-8.653 2.673Z' fill='black' fill-rule='nonzero'/%3e%3c/svg%3e");
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.mask-hexagon {
|
|
27
|
+
mask-image: url("data:image/svg+xml,%3csvg width='182' height='201' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M.3 65.486c0-9.196 6.687-20.063 14.211-25.078l61.86-35.946c8.36-5.016 20.899-5.016 29.258 0l61.86 35.946c8.36 5.015 14.211 15.882 14.211 25.078v71.055c0 9.196-6.687 20.063-14.211 25.079l-61.86 35.945c-8.36 4.18-20.899 4.18-29.258 0L14.51 161.62C6.151 157.44.3 145.737.3 136.54V65.486Z' fill='black' fill-rule='nonzero'/%3e%3c/svg%3e");
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.mask-hexagon-2 {
|
|
31
|
+
mask-image: url("data:image/svg+xml,%3csvg width='200' height='182' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M64.786 181.4c-9.196 0-20.063-6.687-25.079-14.21L3.762 105.33c-5.016-8.36-5.016-20.9 0-29.259l35.945-61.86C44.723 5.851 55.59 0 64.786 0h71.055c9.196 0 20.063 6.688 25.079 14.211l35.945 61.86c4.18 8.36 4.18 20.899 0 29.258l-35.945 61.86c-4.18 8.36-15.883 14.211-25.079 14.211H64.786Z' fill='black' fill-rule='nonzero'/%3e%3c/svg%3e");
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.mask-pentagon {
|
|
35
|
+
mask-image: url("data:image/svg+xml,%3csvg width='192' height='181' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m96 0 95.106 69.098-36.327 111.804H37.22L.894 69.098z' fill-rule='evenodd'/%3e%3c/svg%3e");
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.mask-squircle {
|
|
39
|
+
mask-image: url("data:image/svg+xml,%3csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M100 0C20 0 0 20 0 100s20 100 100 100 100-20 100-100S180 0 100 0Z'/%3e%3c/svg%3e");
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.mask-star {
|
|
43
|
+
mask-image: url("data:image/svg+xml,%3csvg width='192' height='180' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m96 137.263-58.779 42.024 22.163-68.389L.894 68.481l72.476-.243L96 0l22.63 68.238 72.476.243-58.49 42.417 22.163 68.389z' fill-rule='evenodd'/%3e%3c/svg%3e");
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.mask-star-2 {
|
|
47
|
+
mask-image: url("data:image/svg+xml,%3csvg width='192' height='180' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m96 153.044-58.779 26.243 7.02-63.513L.894 68.481l63.117-13.01L96 0l31.989 55.472 63.117 13.01-43.347 47.292 7.02 63.513z' fill-rule='evenodd'/%3e%3c/svg%3e");
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.mask-triangle {
|
|
51
|
+
mask-image: url("data:image/svg+xml,%3csvg width='174' height='149' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m87 148.476-86.603.185L43.86 74.423 87 0l43.14 74.423 43.463 74.238z' fill-rule='evenodd'/%3e%3c/svg%3e");
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.mask-triangle-2 {
|
|
55
|
+
mask-image: url("data:image/svg+xml,%3csvg width='174' height='150' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m87 .738 86.603-.184-43.463 74.238L87 149.214 43.86 74.792.397.554z' fill-rule='evenodd'/%3e%3c/svg%3e");
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.mask-triangle-3 {
|
|
59
|
+
mask-image: url("data:image/svg+xml,%3csvg width='150' height='174' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='m149.369 87.107.185 86.603-74.239-43.463L.893 87.107l74.422-43.14L149.554.505z' fill-rule='evenodd'/%3e%3c/svg%3e");
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.mask-triangle-4 {
|
|
63
|
+
mask-image: url("data:image/svg+xml,%3csvg width='150' height='174' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='black' d='M.631 87.107.446.505l74.239 43.462 74.422 43.14-74.422 43.14L.446 173.71z' fill-rule='evenodd'/%3e%3c/svg%3e");
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.mask-circle {
|
|
67
|
+
--tw-mask-radial-shape: circle;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.mask-half-1 {
|
|
71
|
+
mask-size: 200%;
|
|
72
|
+
mask-position: left;
|
|
73
|
+
mask-position: left;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.mask-half-1:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
|
|
77
|
+
mask-position: right;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.mask-half-2 {
|
|
81
|
+
mask-size: 200%;
|
|
82
|
+
mask-position: right;
|
|
83
|
+
mask-position: right;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.mask-half-2:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
|
|
87
|
+
mask-position: left;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.menu {
|
|
3
|
+
display: flex;
|
|
4
|
+
width: fit-content;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
flex-wrap: wrap;
|
|
7
|
+
padding: calc(0.25rem * 2);
|
|
8
|
+
--menu-active-fg: var(--color-neutral-content);
|
|
9
|
+
--menu-active-bg: var(--color-neutral);
|
|
10
|
+
font-size: 0.875rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.menu :where(li ul) {
|
|
14
|
+
position: relative;
|
|
15
|
+
margin-inline-start: calc(0.25rem * 4);
|
|
16
|
+
padding-inline-start: calc(0.25rem * 2);
|
|
17
|
+
white-space: nowrap;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.menu :where(li ul):before {
|
|
21
|
+
position: absolute;
|
|
22
|
+
inset-inline-start: calc(0.25rem * 0);
|
|
23
|
+
top: calc(0.25rem * 3);
|
|
24
|
+
bottom: calc(0.25rem * 3);
|
|
25
|
+
background-color: var(--color-base-content);
|
|
26
|
+
opacity: 10%;
|
|
27
|
+
width: var(--border);
|
|
28
|
+
content: "";
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.menu :where(li > .menu-dropdown:not(.menu-dropdown-show)) {
|
|
32
|
+
display: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.menu :where(li:not(.menu-title) > *:not(ul, details, .menu-title, .btn)),
|
|
36
|
+
.menu :where(li:not(.menu-title) > details > summary:not(.menu-title)) {
|
|
37
|
+
display: grid;
|
|
38
|
+
grid-auto-flow: column;
|
|
39
|
+
align-content: flex-start;
|
|
40
|
+
align-items: center;
|
|
41
|
+
gap: calc(0.25rem * 2);
|
|
42
|
+
border-radius: var(--radius-field);
|
|
43
|
+
padding-inline: calc(0.25rem * 3);
|
|
44
|
+
padding-block: calc(0.25rem * 1.5);
|
|
45
|
+
text-align: start;
|
|
46
|
+
transition-property: color, background-color, box-shadow;
|
|
47
|
+
transition-duration: 0.2s;
|
|
48
|
+
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
49
|
+
grid-auto-columns: minmax(auto, max-content) auto max-content;
|
|
50
|
+
text-wrap: balance;
|
|
51
|
+
user-select: none;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.menu :where(li > details > summary) {
|
|
55
|
+
--tw-outline-style: none;
|
|
56
|
+
outline-style: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@media (forced-colors: active) {
|
|
60
|
+
.menu :where(li > details > summary) {
|
|
61
|
+
outline: 2px solid transparent;
|
|
62
|
+
outline-offset: 2px;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.menu :where(li > details > summary)::-webkit-details-marker {
|
|
67
|
+
display: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.menu :where(li > details > summary):after,
|
|
71
|
+
.menu :where(li > .menu-dropdown-toggle):after {
|
|
72
|
+
justify-self: flex-end;
|
|
73
|
+
display: block;
|
|
74
|
+
height: 0.375rem;
|
|
75
|
+
width: 0.375rem;
|
|
76
|
+
rotate: -135deg;
|
|
77
|
+
translate: 0 -1px;
|
|
78
|
+
transition-property: rotate, translate;
|
|
79
|
+
transition-duration: 0.2s;
|
|
80
|
+
content: "";
|
|
81
|
+
transform-origin: 50% 50%;
|
|
82
|
+
box-shadow: 2px 2px inset;
|
|
83
|
+
pointer-events: none;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.menu details {
|
|
87
|
+
overflow: hidden;
|
|
88
|
+
interpolate-size: allow-keywords;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.menu details::details-content {
|
|
92
|
+
block-size: 0;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
96
|
+
.menu details::details-content {
|
|
97
|
+
transition-behavior: allow-discrete;
|
|
98
|
+
transition-property: block-size, content-visibility;
|
|
99
|
+
transition-duration: 0.2s;
|
|
100
|
+
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.menu details[open]::details-content {
|
|
105
|
+
block-size: auto;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.menu :where(li > details[open] > summary):after,
|
|
109
|
+
.menu :where(li > .menu-dropdown-toggle.menu-dropdown-show):after {
|
|
110
|
+
rotate: 45deg;
|
|
111
|
+
translate: 0 1px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.menu :where( li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title), li:not(.menu-title, .disabled) > details > summary:not(.menu-title) ):not(.menu-active, :active, .btn).menu-focus,
|
|
115
|
+
.menu :where( li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title), li:not(.menu-title, .disabled) > details > summary:not(.menu-title) ):not(.menu-active, :active, .btn):focus-visible {
|
|
116
|
+
cursor: pointer;
|
|
117
|
+
background-color: var(--color-base-content);
|
|
118
|
+
color: var(--color-base-content);
|
|
119
|
+
--tw-outline-style: none;
|
|
120
|
+
outline-style: none;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
124
|
+
.menu :where( li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title), li:not(.menu-title, .disabled) > details > summary:not(.menu-title) ):not(.menu-active, :active, .btn).menu-focus,
|
|
125
|
+
.menu :where( li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title), li:not(.menu-title, .disabled) > details > summary:not(.menu-title) ):not(.menu-active, :active, .btn):focus-visible {
|
|
126
|
+
background-color: color-mix(in oklab, var(--color-base-content) 10%, transparent);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
@media (forced-colors: active) {
|
|
131
|
+
.menu :where( li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title), li:not(.menu-title, .disabled) > details > summary:not(.menu-title) ):not(.menu-active, :active, .btn).menu-focus,
|
|
132
|
+
.menu :where( li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title), li:not(.menu-title, .disabled) > details > summary:not(.menu-title) ):not(.menu-active, :active, .btn):focus-visible {
|
|
133
|
+
outline: 2px solid transparent;
|
|
134
|
+
outline-offset: 2px;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.menu :where( li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title):not(.menu-active, :active, .btn):hover, li:not(.menu-title, .disabled) > details > summary:not(.menu-title):not(.menu-active, :active, .btn):hover ) {
|
|
139
|
+
cursor: pointer;
|
|
140
|
+
background-color: var(--color-base-content);
|
|
141
|
+
--tw-outline-style: none;
|
|
142
|
+
outline-style: none;
|
|
143
|
+
box-shadow: 0 1px oklch(0% 0 0 / 0.01) inset, 0 -1px oklch(100% 0 0 / 0.01) inset;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
147
|
+
.menu :where( li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title):not(.menu-active, :active, .btn):hover, li:not(.menu-title, .disabled) > details > summary:not(.menu-title):not(.menu-active, :active, .btn):hover ) {
|
|
148
|
+
background-color: color-mix(in oklab, var(--color-base-content) 10%, transparent);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
@media (forced-colors: active) {
|
|
153
|
+
.menu :where( li:not(.menu-title, .disabled) > *:not(ul, details, .menu-title):not(.menu-active, :active, .btn):hover, li:not(.menu-title, .disabled) > details > summary:not(.menu-title):not(.menu-active, :active, .btn):hover ) {
|
|
154
|
+
outline: 2px solid transparent;
|
|
155
|
+
outline-offset: 2px;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.menu :where(li:empty) {
|
|
160
|
+
background-color: var(--color-base-content);
|
|
161
|
+
opacity: 10%;
|
|
162
|
+
margin: 0.5rem 1rem;
|
|
163
|
+
height: 1px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.menu :where(li) {
|
|
167
|
+
position: relative;
|
|
168
|
+
display: flex;
|
|
169
|
+
flex-shrink: 0;
|
|
170
|
+
flex-direction: column;
|
|
171
|
+
flex-wrap: wrap;
|
|
172
|
+
align-items: stretch;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.menu :where(li) .badge {
|
|
176
|
+
justify-self: flex-end;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.menu :where(li) > *:not(ul, .menu-title, details, .btn):active,
|
|
180
|
+
.menu :where(li) > *:not(ul, .menu-title, details, .btn).menu-active,
|
|
181
|
+
.menu :where(li) > details > summary:active {
|
|
182
|
+
--tw-outline-style: none;
|
|
183
|
+
outline-style: none;
|
|
184
|
+
color: var(--menu-active-fg);
|
|
185
|
+
background-color: var(--menu-active-bg);
|
|
186
|
+
background-size: auto, calc(var(--noise) * 100%);
|
|
187
|
+
background-image: none, var(--fx-noise);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
@media (forced-colors: active) {
|
|
191
|
+
.menu :where(li) > *:not(ul, .menu-title, details, .btn):active,
|
|
192
|
+
.menu :where(li) > *:not(ul, .menu-title, details, .btn).menu-active,
|
|
193
|
+
.menu :where(li) > details > summary:active {
|
|
194
|
+
outline: 2px solid transparent;
|
|
195
|
+
outline-offset: 2px;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.menu :where(li) > *:not(ul, .menu-title, details, .btn):active:not(.menu :where(li) > *:not(ul, .menu-title, details, .btn):active:active),
|
|
200
|
+
.menu :where(li) > *:not(ul, .menu-title, details, .btn).menu-active:not(.menu :where(li) > *:not(ul, .menu-title, details, .btn).menu-active:active),
|
|
201
|
+
.menu :where(li) > details > summary:active:not(.menu :where(li) > details > summary:active:active) {
|
|
202
|
+
box-shadow: 0 2px calc(var(--depth) * 3px) -2px var(--menu-active-bg);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.menu :where(li).menu-disabled {
|
|
206
|
+
pointer-events: none;
|
|
207
|
+
color: var(--color-base-content);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
211
|
+
.menu :where(li).menu-disabled {
|
|
212
|
+
color: color-mix(in oklab, var(--color-base-content) 20%, transparent);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.menu .dropdown:focus-within .menu-dropdown-toggle:after {
|
|
217
|
+
rotate: 45deg;
|
|
218
|
+
translate: 0 1px;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.menu .dropdown-content {
|
|
222
|
+
margin-top: calc(0.25rem * 2);
|
|
223
|
+
padding: calc(0.25rem * 2);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.menu .dropdown-content:before {
|
|
227
|
+
display: none;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.menu-horizontal {
|
|
231
|
+
display: inline-flex;
|
|
232
|
+
flex-direction: row;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.menu-horizontal > li:not(.menu-title) > details > ul {
|
|
236
|
+
position: absolute;
|
|
237
|
+
margin-inline-start: calc(0.25rem * 0);
|
|
238
|
+
margin-top: calc(0.25rem * 4);
|
|
239
|
+
transform-origin: top;
|
|
240
|
+
border-radius: var(--radius-box);
|
|
241
|
+
background-color: var(--color-base-100);
|
|
242
|
+
padding-block: calc(0.25rem * 2);
|
|
243
|
+
padding-inline-end: calc(0.25rem * 2);
|
|
244
|
+
opacity: 0%;
|
|
245
|
+
scale: 95%;
|
|
246
|
+
box-shadow: 0 1px 3px 0 oklch(0% 0 0/0.1), 0 1px 2px -1px oklch(0% 0 0/0.1);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
250
|
+
@starting-style {
|
|
251
|
+
.menu-horizontal > li:not(.menu-title) > details > ul {
|
|
252
|
+
scale: 95%;
|
|
253
|
+
opacity: 0;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.menu-horizontal > li:not(.menu-title) > details[open] > ul {
|
|
259
|
+
opacity: 100%;
|
|
260
|
+
scale: 100%;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.menu-horizontal > li > details > ul:before {
|
|
264
|
+
--tw-content: none;
|
|
265
|
+
content: var(--tw-content);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.menu-vertical {
|
|
269
|
+
display: inline-flex;
|
|
270
|
+
flex-direction: column;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.menu-vertical > li:not(.menu-title) > details > ul {
|
|
274
|
+
position: relative;
|
|
275
|
+
margin-inline-start: calc(0.25rem * 4);
|
|
276
|
+
margin-top: calc(0.25rem * 0);
|
|
277
|
+
padding-block: calc(0.25rem * 0);
|
|
278
|
+
padding-inline-end: calc(0.25rem * 0);
|
|
279
|
+
background-color: revert-layer;
|
|
280
|
+
border-radius: revert-layer;
|
|
281
|
+
animation: revert-layer;
|
|
282
|
+
transition: revert-layer;
|
|
283
|
+
box-shadow: revert-layer;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.menu-lg :where(li:not(.menu-title) > *:not(ul, details, .menu-title)),
|
|
287
|
+
.menu-lg :where(li:not(.menu-title) > details > summary:not(.menu-title)) {
|
|
288
|
+
border-radius: var(--radius-field);
|
|
289
|
+
padding-inline: calc(0.25rem * 4);
|
|
290
|
+
padding-block: calc(0.25rem * 1.5);
|
|
291
|
+
font-size: 1.125rem;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.menu-lg .menu-title {
|
|
295
|
+
padding-inline: calc(0.25rem * 6);
|
|
296
|
+
padding-block: calc(0.25rem * 3);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.menu-md :where(li:not(.menu-title) > *:not(ul, details, .menu-title)),
|
|
300
|
+
.menu-md :where(li:not(.menu-title) > details > summary:not(.menu-title)) {
|
|
301
|
+
border-radius: var(--radius-field);
|
|
302
|
+
padding-inline: calc(0.25rem * 3);
|
|
303
|
+
padding-block: calc(0.25rem * 1.5);
|
|
304
|
+
font-size: 0.875rem;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.menu-md .menu-title {
|
|
308
|
+
padding-inline: calc(0.25rem * 3);
|
|
309
|
+
padding-block: calc(0.25rem * 2);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.menu-sm :where(li:not(.menu-title) > *:not(ul, details, .menu-title)),
|
|
313
|
+
.menu-sm :where(li:not(.menu-title) > details > summary:not(.menu-title)) {
|
|
314
|
+
border-radius: var(--radius-field);
|
|
315
|
+
padding-inline: calc(0.25rem * 2.5);
|
|
316
|
+
padding-block: calc(0.25rem * 1);
|
|
317
|
+
font-size: 0.75rem;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.menu-sm .menu-title {
|
|
321
|
+
padding-inline: calc(0.25rem * 3);
|
|
322
|
+
padding-block: calc(0.25rem * 2);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.menu-xl :where(li:not(.menu-title) > *:not(ul, details, .menu-title)),
|
|
326
|
+
.menu-xl :where(li:not(.menu-title) > details > summary:not(.menu-title)) {
|
|
327
|
+
border-radius: var(--radius-field);
|
|
328
|
+
padding-inline: calc(0.25rem * 5);
|
|
329
|
+
padding-block: calc(0.25rem * 1.5);
|
|
330
|
+
font-size: 1.375rem;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.menu-xl .menu-title {
|
|
334
|
+
padding-inline: calc(0.25rem * 6);
|
|
335
|
+
padding-block: calc(0.25rem * 3);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.menu-xs :where(li:not(.menu-title) > *:not(ul, details, .menu-title)),
|
|
339
|
+
.menu-xs :where(li:not(.menu-title) > details > summary:not(.menu-title)) {
|
|
340
|
+
border-radius: var(--radius-field);
|
|
341
|
+
padding-inline: calc(0.25rem * 2);
|
|
342
|
+
padding-block: calc(0.25rem * 1);
|
|
343
|
+
font-size: 0.6875rem;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.menu-xs .menu-title {
|
|
347
|
+
padding-inline: calc(0.25rem * 2);
|
|
348
|
+
padding-block: calc(0.25rem * 1);
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.menu-title {
|
|
352
|
+
padding-inline: calc(0.25rem * 3);
|
|
353
|
+
padding-block: calc(0.25rem * 2);
|
|
354
|
+
color: var(--color-base-content);
|
|
355
|
+
font-size: 0.875rem;
|
|
356
|
+
font-weight: 600;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
360
|
+
.menu-title {
|
|
361
|
+
color: color-mix(in oklab, var(--color-base-content) 40%, transparent);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.modal {
|
|
3
|
+
pointer-events: none;
|
|
4
|
+
visibility: hidden;
|
|
5
|
+
position: fixed;
|
|
6
|
+
inset: calc(0.25rem * 0);
|
|
7
|
+
margin: calc(0.25rem * 0);
|
|
8
|
+
display: grid;
|
|
9
|
+
height: 100%;
|
|
10
|
+
max-height: none;
|
|
11
|
+
width: 100%;
|
|
12
|
+
max-width: none;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-items: center;
|
|
15
|
+
background-color: transparent;
|
|
16
|
+
padding: calc(0.25rem * 0);
|
|
17
|
+
color: inherit;
|
|
18
|
+
transition: visibility 0.3s allow-discrete, background-color 0.3s ease-out, opacity 0.1s ease-out;
|
|
19
|
+
overflow: clip;
|
|
20
|
+
overscroll-behavior: contain;
|
|
21
|
+
z-index: 999;
|
|
22
|
+
scrollbar-gutter: auto;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.modal::backdrop {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.modal.modal-open,
|
|
30
|
+
.modal[open],
|
|
31
|
+
.modal:target,
|
|
32
|
+
.modal-toggle:checked + .modal {
|
|
33
|
+
pointer-events: auto;
|
|
34
|
+
visibility: visible;
|
|
35
|
+
opacity: 100%;
|
|
36
|
+
transition: visibility 0s allow-discrete, background-color 0.3s ease-out, opacity 0.1s ease-out;
|
|
37
|
+
background-color: oklch(0% 0 0/ 0.4);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.modal.modal-open .modal-box,
|
|
41
|
+
.modal[open] .modal-box,
|
|
42
|
+
.modal:target .modal-box,
|
|
43
|
+
.modal-toggle:checked + .modal .modal-box {
|
|
44
|
+
translate: 0 0;
|
|
45
|
+
scale: 1;
|
|
46
|
+
opacity: 1;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
:root:has(.modal.modal-open),
|
|
50
|
+
:root:has(.modal[open]),
|
|
51
|
+
:root:has(.modal:target),
|
|
52
|
+
:root:has(.modal-toggle:checked + .modal) {
|
|
53
|
+
--page-has-backdrop: 1;
|
|
54
|
+
--page-overflow: hidden;
|
|
55
|
+
--page-scroll-bg: var(--page-scroll-bg-on);
|
|
56
|
+
--page-scroll-gutter: stable;
|
|
57
|
+
--page-scroll-transition: var(--page-scroll-transition-on);
|
|
58
|
+
animation: set-page-has-scroll forwards;
|
|
59
|
+
animation-timeline: scroll();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@starting-style {
|
|
63
|
+
.modal.modal-open,
|
|
64
|
+
.modal[open],
|
|
65
|
+
.modal:target,
|
|
66
|
+
.modal-toggle:checked + .modal {
|
|
67
|
+
opacity: 0%;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.modal-toggle {
|
|
72
|
+
position: fixed;
|
|
73
|
+
height: calc(0.25rem * 0);
|
|
74
|
+
width: calc(0.25rem * 0);
|
|
75
|
+
appearance: none;
|
|
76
|
+
opacity: 0%;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.modal-backdrop {
|
|
80
|
+
grid-column-start: 1;
|
|
81
|
+
grid-row-start: 1;
|
|
82
|
+
display: grid;
|
|
83
|
+
align-self: stretch;
|
|
84
|
+
justify-self: stretch;
|
|
85
|
+
color: transparent;
|
|
86
|
+
z-index: -1;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.modal-backdrop button {
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.modal-box {
|
|
94
|
+
grid-column-start: 1;
|
|
95
|
+
grid-row-start: 1;
|
|
96
|
+
max-height: 100vh;
|
|
97
|
+
width: calc(11/12 * 100%);
|
|
98
|
+
max-width: 32rem;
|
|
99
|
+
background-color: var(--color-base-100);
|
|
100
|
+
padding: calc(0.25rem * 6);
|
|
101
|
+
transition: translate 0.3s ease-out, scale 0.3s ease-out, opacity 0.2s ease-out 0.05s, box-shadow 0.3s ease-out;
|
|
102
|
+
border-top-left-radius: var(--modal-tl, var(--radius-box));
|
|
103
|
+
border-top-right-radius: var(--modal-tr, var(--radius-box));
|
|
104
|
+
border-bottom-left-radius: var(--modal-bl, var(--radius-box));
|
|
105
|
+
border-bottom-right-radius: var(--modal-br, var(--radius-box));
|
|
106
|
+
scale: 95%;
|
|
107
|
+
opacity: 0;
|
|
108
|
+
box-shadow: oklch(0% 0 0/ 0.25) 0px 25px 50px -12px;
|
|
109
|
+
overflow-y: auto;
|
|
110
|
+
overscroll-behavior: contain;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.modal-action {
|
|
114
|
+
margin-top: calc(0.25rem * 6);
|
|
115
|
+
display: flex;
|
|
116
|
+
justify-content: flex-end;
|
|
117
|
+
gap: calc(0.25rem * 2);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.modal-bottom {
|
|
121
|
+
place-items: end;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.modal-bottom .modal-box {
|
|
125
|
+
height: auto;
|
|
126
|
+
width: 100%;
|
|
127
|
+
max-width: none;
|
|
128
|
+
max-height: calc(100vh - 5em);
|
|
129
|
+
translate: 0 100%;
|
|
130
|
+
scale: 1;
|
|
131
|
+
--modal-tl: var(--radius-box);
|
|
132
|
+
--modal-tr: var(--radius-box);
|
|
133
|
+
--modal-bl: 0;
|
|
134
|
+
--modal-br: 0;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.modal-middle {
|
|
138
|
+
place-items: center;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.modal-middle .modal-box {
|
|
142
|
+
height: auto;
|
|
143
|
+
width: calc(11/12 * 100%);
|
|
144
|
+
max-width: 32rem;
|
|
145
|
+
max-height: calc(100vh - 5em);
|
|
146
|
+
translate: 0 2%;
|
|
147
|
+
scale: 98%;
|
|
148
|
+
--modal-tl: var(--radius-box);
|
|
149
|
+
--modal-tr: var(--radius-box);
|
|
150
|
+
--modal-bl: var(--radius-box);
|
|
151
|
+
--modal-br: var(--radius-box);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.modal-top {
|
|
155
|
+
place-items: start;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.modal-top .modal-box {
|
|
159
|
+
height: auto;
|
|
160
|
+
width: 100%;
|
|
161
|
+
max-width: none;
|
|
162
|
+
max-height: calc(100vh - 5em);
|
|
163
|
+
translate: 0 -100%;
|
|
164
|
+
scale: 1;
|
|
165
|
+
--modal-tl: 0;
|
|
166
|
+
--modal-tr: 0;
|
|
167
|
+
--modal-bl: var(--radius-box);
|
|
168
|
+
--modal-br: var(--radius-box);
|
|
169
|
+
}
|
|
170
|
+
}
|