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