@pathscale/ui 1.1.37 → 1.1.39
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/components/accordion/Accordion.classes.d.ts +38 -0
- package/dist/components/accordion/Accordion.classes.js +39 -0
- package/dist/components/accordion/Accordion.css +158 -0
- package/dist/components/accordion/Accordion.d.ts +46 -22
- package/dist/components/accordion/Accordion.js +334 -154
- package/dist/components/accordion/index.d.ts +1 -1
- package/dist/components/accordion/index.js +7 -1
- package/dist/components/calendar/Calendar.classes.d.ts +62 -0
- package/dist/components/calendar/Calendar.classes.js +63 -0
- package/dist/components/calendar/Calendar.css +258 -0
- package/dist/components/calendar/Calendar.d.ts +24 -22
- package/dist/components/calendar/Calendar.js +304 -167
- package/dist/components/calendar/index.d.ts +1 -1
- package/dist/components/chatbubble/ChatBubble.classes.d.ts +24 -0
- package/dist/components/chatbubble/ChatBubble.classes.js +25 -0
- package/dist/components/chatbubble/ChatBubble.css +164 -0
- package/dist/components/chatbubble/ChatBubble.d.ts +1 -1
- package/dist/components/chatbubble/ChatBubble.js +3 -6
- package/dist/components/chatbubble/ChatBubbleAvatar.js +2 -1
- package/dist/components/chatbubble/ChatBubbleFooter.d.ts +1 -1
- package/dist/components/chatbubble/ChatBubbleFooter.js +11 -3
- package/dist/components/chatbubble/ChatBubbleHeader.d.ts +1 -1
- package/dist/components/chatbubble/ChatBubbleHeader.js +11 -3
- package/dist/components/chatbubble/ChatBubbleMessage.d.ts +1 -1
- package/dist/components/chatbubble/ChatBubbleMessage.js +13 -14
- package/dist/components/chatbubble/ChatBubbleTime.d.ts +1 -1
- package/dist/components/chatbubble/ChatBubbleTime.js +11 -3
- package/dist/components/color-field/ColorField.d.ts +1 -1
- package/dist/components/color-field/ColorField.js +3 -3
- package/dist/components/color-picker/ColorPicker.js +5 -5
- package/dist/components/color-wheel-flower/ColorWheelFlower.classes.d.ts +33 -0
- package/dist/components/color-wheel-flower/ColorWheelFlower.classes.js +34 -0
- package/dist/components/{colorpicker → color-wheel-flower}/ColorWheelFlower.js +52 -27
- package/dist/components/color-wheel-flower/index.d.ts +5 -0
- package/dist/components/color-wheel-flower/index.js +6 -0
- package/dist/components/date-picker/DatePicker.classes.d.ts +30 -0
- package/dist/components/date-picker/DatePicker.classes.js +31 -0
- package/dist/components/date-picker/DatePicker.css +143 -0
- package/dist/components/date-picker/DatePicker.d.ts +24 -0
- package/dist/components/date-picker/DatePicker.js +180 -0
- package/dist/components/date-picker/index.d.ts +1 -0
- package/dist/components/date-picker/index.js +3 -0
- package/dist/components/date-range-picker/DateRangePicker.classes.d.ts +33 -0
- package/dist/components/date-range-picker/DateRangePicker.classes.js +34 -0
- package/dist/components/date-range-picker/DateRangePicker.css +149 -0
- package/dist/components/date-range-picker/DateRangePicker.d.ts +28 -0
- package/dist/components/date-range-picker/DateRangePicker.js +230 -0
- package/dist/components/date-range-picker/index.d.ts +1 -0
- package/dist/components/date-range-picker/index.js +3 -0
- package/dist/components/flex/Flex.classes.d.ts +65 -0
- package/dist/components/flex/Flex.classes.js +66 -0
- package/dist/components/flex/Flex.css +5 -0
- package/dist/components/flex/Flex.d.ts +1 -0
- package/dist/components/flex/Flex.js +7 -66
- package/dist/components/floating-dock/FloatingDock.classes.d.ts +25 -0
- package/dist/components/floating-dock/FloatingDock.classes.js +26 -0
- package/dist/components/floating-dock/FloatingDock.css +14 -0
- package/dist/components/floating-dock/FloatingDock.js +76 -51
- package/dist/components/footer/Footer.classes.d.ts +9 -0
- package/dist/components/footer/Footer.classes.js +10 -0
- package/dist/components/footer/Footer.js +2 -6
- package/dist/components/footer/FooterTitle.js +2 -1
- package/dist/components/footer/footer.css +45 -45
- package/dist/components/glass-panel/GlassPanel.classes.d.ts +44 -0
- package/dist/components/glass-panel/GlassPanel.classes.js +45 -0
- package/dist/components/glass-panel/GlassPanel.css +170 -0
- package/dist/components/glass-panel/GlassPanel.d.ts +1 -0
- package/dist/components/glass-panel/GlassPanel.js +20 -58
- package/dist/components/glow-card/GlowCard.classes.d.ts +4 -0
- package/dist/components/glow-card/GlowCard.classes.js +5 -0
- package/dist/components/glow-card/GlowCard.css +4 -0
- package/dist/components/glow-card/GlowCard.js +2 -1
- package/dist/components/grid/Grid.classes.d.ts +54 -0
- package/dist/components/grid/Grid.classes.js +55 -0
- package/dist/components/grid/Grid.css +5 -0
- package/dist/components/grid/Grid.d.ts +1 -0
- package/dist/components/grid/Grid.js +3 -52
- package/dist/components/icon/Icon.classes.d.ts +3 -0
- package/dist/components/icon/Icon.classes.js +4 -0
- package/dist/components/icon/Icon.css +10 -0
- package/dist/components/icon/Icon.d.ts +1 -0
- package/dist/components/icon/Icon.js +8 -4
- package/dist/components/immersive-landing/ImmersiveLanding.classes.d.ts +83 -0
- package/dist/components/immersive-landing/ImmersiveLanding.classes.js +84 -0
- package/dist/components/immersive-landing/ImmersiveLanding.css +562 -0
- package/dist/components/immersive-landing/ImmersiveLanding.d.ts +1 -0
- package/dist/components/immersive-landing/ImmersiveLanding.js +23 -2
- package/dist/components/immersive-landing/ImmersiveLandingArrows.js +11 -11
- package/dist/components/immersive-landing/ImmersiveLandingNavigation.js +38 -27
- package/dist/components/immersive-landing/ImmersiveLandingPage.js +4 -2
- package/dist/components/immersive-landing/components/CookieConsent.js +91 -20
- package/dist/components/immersive-landing/components/FirefoxPWABanner.js +33 -8
- package/dist/components/immersive-landing/components/PWAInstallPrompt.js +37 -11
- package/dist/components/immersive-landing/index.d.ts +1 -0
- package/dist/components/immersive-landing/index.js +1 -0
- package/dist/components/kbd/Kbd.classes.d.ts +11 -0
- package/dist/components/kbd/Kbd.classes.js +12 -0
- package/dist/components/kbd/Kbd.css +60 -0
- package/dist/components/kbd/Kbd.d.ts +28 -4
- package/dist/components/kbd/Kbd.js +139 -10
- package/dist/components/kbd/index.d.ts +1 -1
- package/dist/components/kbd/index.js +6 -1
- package/dist/components/language-switcher/LanguageSwitcher.classes.d.ts +9 -0
- package/dist/components/language-switcher/LanguageSwitcher.classes.js +10 -0
- package/dist/components/language-switcher/LanguageSwitcher.css +56 -0
- package/dist/components/language-switcher/LanguageSwitcher.d.ts +1 -0
- package/dist/components/language-switcher/LanguageSwitcher.js +15 -7
- package/dist/components/link/Link.classes.d.ts +19 -0
- package/dist/components/link/Link.classes.js +20 -0
- package/dist/components/link/Link.css +131 -0
- package/dist/components/link/Link.d.ts +20 -11
- package/dist/components/link/Link.js +84 -43
- package/dist/components/link/index.d.ts +1 -1
- package/dist/components/link/index.js +3 -1
- package/dist/components/live-chat/LiveChat.classes.d.ts +41 -0
- package/dist/components/live-chat/LiveChat.classes.js +42 -0
- package/dist/components/live-chat/LiveChat.css +324 -0
- package/dist/components/live-chat/LiveChatBubble.d.ts +1 -0
- package/dist/components/live-chat/LiveChatBubble.js +15 -6
- package/dist/components/live-chat/LiveChatPanel.d.ts +1 -0
- package/dist/components/live-chat/LiveChatPanel.js +102 -123
- package/dist/components/modal/Modal.classes.d.ts +86 -0
- package/dist/components/modal/Modal.classes.js +87 -0
- package/dist/components/modal/Modal.css +320 -0
- package/dist/components/modal/Modal.d.ts +83 -27
- package/dist/components/modal/Modal.js +613 -97
- package/dist/components/modal/index.d.ts +1 -6
- package/dist/components/modal/index.js +11 -1
- package/dist/components/navbar/Navbar.classes.d.ts +23 -22
- package/dist/components/navbar/Navbar.classes.js +23 -25
- package/dist/components/navbar/Navbar.css +110 -0
- package/dist/components/navbar/Navbar.d.ts +1 -1
- package/dist/components/navbar/Navbar.js +2 -2
- package/dist/components/navbar/NavbarRow.js +1 -1
- package/dist/components/navbar/NavbarSection.js +1 -1
- package/dist/components/navbar/NavbarStack.js +4 -4
- package/dist/components/noise-background/NoiseBackground.classes.d.ts +15 -0
- package/dist/components/noise-background/NoiseBackground.classes.js +16 -0
- package/dist/components/noise-background/NoiseBackground.css +66 -0
- package/dist/components/noise-background/NoiseBackground.d.ts +1 -0
- package/dist/components/noise-background/NoiseBackground.js +29 -14
- package/dist/components/slider/Slider.classes.d.ts +13 -0
- package/dist/components/slider/Slider.classes.js +14 -0
- package/dist/components/{range-slider/range.css → slider/Slider.css} +3 -17
- package/dist/components/{range-slider/RangeSlider.d.ts → slider/Slider.d.ts} +5 -5
- package/dist/components/{range-slider/RangeSlider.js → slider/Slider.js} +28 -24
- package/dist/components/slider/index.d.ts +2 -0
- package/dist/components/slider/index.js +3 -0
- package/dist/components/table/index.d.ts +0 -2
- package/dist/components/table/index.js +1 -3
- package/dist/components/theme-color-picker/ThemeColorPicker.js +6 -6
- package/dist/components/toast/Toast.classes.d.ts +67 -0
- package/dist/components/toast/Toast.classes.js +68 -0
- package/dist/components/toast/Toast.css +344 -0
- package/dist/components/toast/Toast.d.ts +156 -20
- package/dist/components/toast/Toast.js +795 -31
- package/dist/components/toast/index.d.ts +1 -1
- package/dist/components/toast/index.js +17 -1
- package/dist/hooks/date/date.utils.d.ts +30 -0
- package/dist/hooks/date/date.utils.js +112 -0
- package/dist/hooks/date/index.d.ts +6 -0
- package/dist/hooks/date/index.js +6 -0
- package/dist/hooks/date/useCalendarNavigation.d.ts +21 -0
- package/dist/hooks/date/useCalendarNavigation.js +70 -0
- package/dist/hooks/date/useCalendarState.d.ts +45 -0
- package/dist/hooks/date/useCalendarState.js +66 -0
- package/dist/hooks/date/useDateSelection.d.ts +12 -0
- package/dist/hooks/date/useDateSelection.js +22 -0
- package/dist/hooks/date/usePickerOpenState.d.ts +15 -0
- package/dist/hooks/date/usePickerOpenState.js +50 -0
- package/dist/hooks/date/useRangeSelection.d.ts +26 -0
- package/dist/hooks/date/useRangeSelection.js +74 -0
- package/dist/hooks/form/useForm.d.ts +2 -2
- package/dist/hooks/form/useForm.js +11 -6
- package/dist/index.d.ts +56 -101
- package/dist/index.js +47 -109
- package/dist/purge-manifest.json +1708 -208
- package/dist/styles/icons/generated-icons.css +1 -1
- package/package.json +11 -5
- package/dist/components/accordion/collapse.css +0 -248
- package/dist/components/background/Background.d.ts +0 -5
- package/dist/components/background/Background.js +0 -22
- package/dist/components/background/index.d.ts +0 -1
- package/dist/components/background/index.js +0 -3
- package/dist/components/bottom-sheet/BottomSheet.d.ts +0 -11
- package/dist/components/bottom-sheet/BottomSheet.js +0 -109
- package/dist/components/bottom-sheet/index.d.ts +0 -2
- package/dist/components/bottom-sheet/index.js +0 -3
- package/dist/components/browsermockup/BrowserMockup.d.ts +0 -10
- package/dist/components/browsermockup/BrowserMockup.js +0 -55
- package/dist/components/browsermockup/index.d.ts +0 -2
- package/dist/components/browsermockup/index.js +0 -3
- package/dist/components/calendar/input.css +0 -277
- package/dist/components/carousel/Carousel.d.ts +0 -16
- package/dist/components/carousel/Carousel.js +0 -70
- package/dist/components/carousel/CarouselItem.d.ts +0 -6
- package/dist/components/carousel/CarouselItem.js +0 -27
- package/dist/components/carousel/carousel.css +0 -39
- package/dist/components/carousel/index.d.ts +0 -3
- package/dist/components/carousel/index.js +0 -3
- package/dist/components/chatbubble/chat.css +0 -153
- package/dist/components/codemockup/CodeMockup.d.ts +0 -5
- package/dist/components/codemockup/CodeMockup.js +0 -33
- package/dist/components/codemockup/CodeMockupLine.d.ts +0 -12
- package/dist/components/codemockup/CodeMockupLine.js +0 -53
- package/dist/components/codemockup/index.d.ts +0 -2
- package/dist/components/codemockup/index.js +0 -5
- package/dist/components/collapse/Collapse.d.ts +0 -21
- package/dist/components/collapse/Collapse.js +0 -104
- package/dist/components/collapse/CollapseContent.d.ts +0 -4
- package/dist/components/collapse/CollapseContent.js +0 -15
- package/dist/components/collapse/CollapseDetails.d.ts +0 -17
- package/dist/components/collapse/CollapseDetails.js +0 -33
- package/dist/components/collapse/CollapseTitle.d.ts +0 -9
- package/dist/components/collapse/CollapseTitle.js +0 -47
- package/dist/components/collapse/collapse.css +0 -248
- package/dist/components/collapse/index.d.ts +0 -4
- package/dist/components/collapse/index.js +0 -10
- package/dist/components/colorpicker/AlphaSlider.d.ts +0 -7
- package/dist/components/colorpicker/AlphaSlider.js +0 -107
- package/dist/components/colorpicker/ColorInput.d.ts +0 -7
- package/dist/components/colorpicker/ColorInput.js +0 -88
- package/dist/components/colorpicker/ColorPicker.d.ts +0 -18
- package/dist/components/colorpicker/ColorPicker.js +0 -264
- package/dist/components/colorpicker/ColorPickerFlowerSelector.d.ts +0 -3
- package/dist/components/colorpicker/ColorPickerFlowerSelector.js +0 -9
- package/dist/components/colorpicker/ColorPickerGradientSelector.d.ts +0 -3
- package/dist/components/colorpicker/ColorPickerGradientSelector.js +0 -9
- package/dist/components/colorpicker/ColorPickerWheelSelector.d.ts +0 -3
- package/dist/components/colorpicker/ColorPickerWheelSelector.js +0 -9
- package/dist/components/colorpicker/ColorPreview.d.ts +0 -11
- package/dist/components/colorpicker/ColorPreview.js +0 -47
- package/dist/components/colorpicker/ColorSwatches.d.ts +0 -8
- package/dist/components/colorpicker/ColorSwatches.js +0 -67
- package/dist/components/colorpicker/ColorWheel.d.ts +0 -7
- package/dist/components/colorpicker/ColorWheel.js +0 -106
- package/dist/components/colorpicker/HueSlider.d.ts +0 -7
- package/dist/components/colorpicker/HueSlider.js +0 -105
- package/dist/components/colorpicker/LightnessSlider.d.ts +0 -7
- package/dist/components/colorpicker/LightnessSlider.js +0 -111
- package/dist/components/colorpicker/SaturationBrightness.d.ts +0 -7
- package/dist/components/colorpicker/SaturationBrightness.js +0 -120
- package/dist/components/colorpicker/index.d.ts +0 -26
- package/dist/components/colorpicker/index.js +0 -31
- package/dist/components/confirm-dialog/ConfirmDialog.d.ts +0 -15
- package/dist/components/confirm-dialog/ConfirmDialog.js +0 -102
- package/dist/components/confirm-dialog/index.d.ts +0 -2
- package/dist/components/confirm-dialog/index.js +0 -3
- package/dist/components/connectionstatus/ConnectionStatus.d.ts +0 -59
- package/dist/components/connectionstatus/ConnectionStatus.js +0 -197
- package/dist/components/connectionstatus/index.d.ts +0 -2
- package/dist/components/connectionstatus/index.js +0 -3
- package/dist/components/copy-button/CopyButton.d.ts +0 -11
- package/dist/components/copy-button/CopyButton.js +0 -70
- package/dist/components/copy-button/index.d.ts +0 -2
- package/dist/components/copy-button/index.js +0 -3
- package/dist/components/countdown/Countdown.d.ts +0 -8
- package/dist/components/countdown/Countdown.js +0 -37
- package/dist/components/countdown/countdown.css +0 -58
- package/dist/components/countdown/index.d.ts +0 -1
- package/dist/components/countdown/index.js +0 -3
- package/dist/components/diff/Diff.d.ts +0 -8
- package/dist/components/diff/Diff.js +0 -29
- package/dist/components/diff/diff.css +0 -162
- package/dist/components/diff/index.d.ts +0 -1
- package/dist/components/diff/index.js +0 -3
- package/dist/components/divider/Divider.d.ts +0 -21
- package/dist/components/divider/Divider.js +0 -41
- package/dist/components/divider/Divider.styles.d.ts +0 -25
- package/dist/components/divider/Divider.styles.js +0 -71
- package/dist/components/divider/index.d.ts +0 -3
- package/dist/components/divider/index.js +0 -3
- package/dist/components/dock/Dock.d.ts +0 -15
- package/dist/components/dock/Dock.js +0 -40
- package/dist/components/dock/DockItem.d.ts +0 -9
- package/dist/components/dock/DockItem.js +0 -45
- package/dist/components/dock/DockLabel.d.ts +0 -6
- package/dist/components/dock/DockLabel.js +0 -22
- package/dist/components/dock/dock.css +0 -147
- package/dist/components/dock/index.d.ts +0 -3
- package/dist/components/dock/index.js +0 -3
- package/dist/components/dropdown-select/DropdownSelect.d.ts +0 -22
- package/dist/components/dropdown-select/DropdownSelect.js +0 -296
- package/dist/components/dropdown-select/index.d.ts +0 -2
- package/dist/components/dropdown-select/index.js +0 -3
- package/dist/components/fileinput/FileInput.d.ts +0 -15
- package/dist/components/fileinput/FileInput.js +0 -51
- package/dist/components/fileinput/index.d.ts +0 -1
- package/dist/components/fileinput/index.js +0 -3
- package/dist/components/fileinput/input.css +0 -277
- package/dist/components/form-actions/FormActions.d.ts +0 -14
- package/dist/components/form-actions/FormActions.js +0 -142
- package/dist/components/form-actions/index.d.ts +0 -2
- package/dist/components/form-actions/index.js +0 -3
- package/dist/components/hero/Hero.d.ts +0 -11
- package/dist/components/hero/Hero.js +0 -47
- package/dist/components/hero/HeroContent.d.ts +0 -6
- package/dist/components/hero/HeroContent.js +0 -31
- package/dist/components/hero/HeroOverlay.d.ts +0 -6
- package/dist/components/hero/HeroOverlay.js +0 -39
- package/dist/components/hero/hero.css +0 -38
- package/dist/components/hero/index.d.ts +0 -4
- package/dist/components/hero/index.js +0 -3
- package/dist/components/indicator/Indicator.d.ts +0 -31
- package/dist/components/indicator/Indicator.js +0 -76
- package/dist/components/indicator/index.d.ts +0 -2
- package/dist/components/indicator/index.js +0 -3
- package/dist/components/indicator/indicator.css +0 -70
- package/dist/components/kbd/kbd.css +0 -55
- package/dist/components/link/link.css +0 -153
- package/dist/components/mask/Mask.d.ts +0 -15
- package/dist/components/mask/Mask.js +0 -62
- package/dist/components/mask/index.d.ts +0 -3
- package/dist/components/mask/index.js +0 -3
- package/dist/components/mask/mask.css +0 -89
- package/dist/components/modal/ModalActions.d.ts +0 -3
- package/dist/components/modal/ModalActions.js +0 -14
- package/dist/components/modal/ModalBody.d.ts +0 -3
- package/dist/components/modal/ModalBody.js +0 -14
- package/dist/components/modal/ModalHeader.d.ts +0 -3
- package/dist/components/modal/ModalHeader.js +0 -15
- package/dist/components/modal/ModalLegacy.d.ts +0 -8
- package/dist/components/modal/ModalLegacy.js +0 -36
- package/dist/components/modal/modal.css +0 -170
- package/dist/components/navbar/navbar.css +0 -33
- package/dist/components/phonemockup/PhoneMockup.d.ts +0 -8
- package/dist/components/phonemockup/PhoneMockup.js +0 -44
- package/dist/components/phonemockup/index.d.ts +0 -1
- package/dist/components/phonemockup/index.js +0 -3
- package/dist/components/props-table/PropsTable.d.ts +0 -14
- package/dist/components/props-table/PropsTable.js +0 -56
- package/dist/components/props-table/index.d.ts +0 -2
- package/dist/components/props-table/index.js +0 -3
- package/dist/components/range/Range.d.ts +0 -13
- package/dist/components/range/Range.js +0 -85
- package/dist/components/range/index.d.ts +0 -1
- package/dist/components/range/index.js +0 -3
- package/dist/components/range/range.css +0 -174
- package/dist/components/range-slider/index.d.ts +0 -2
- package/dist/components/range-slider/index.js +0 -3
- package/dist/components/rating/Rating.d.ts +0 -24
- package/dist/components/rating/Rating.js +0 -54
- package/dist/components/rating/RatingHidden.d.ts +0 -4
- package/dist/components/rating/RatingHidden.js +0 -29
- package/dist/components/rating/RatingItem.d.ts +0 -9
- package/dist/components/rating/RatingItem.js +0 -62
- package/dist/components/rating/index.d.ts +0 -4
- package/dist/components/rating/index.js +0 -3
- package/dist/components/rating/rating.css +0 -106
- package/dist/components/showcase/ShowcaseBlock.d.ts +0 -10
- package/dist/components/showcase/ShowcaseBlock.js +0 -48
- package/dist/components/showcase/index.d.ts +0 -2
- package/dist/components/showcase/index.js +0 -3
- package/dist/components/showcase-section/ShowcaseSection.d.ts +0 -8
- package/dist/components/showcase-section/ShowcaseSection.js +0 -73
- package/dist/components/showcase-section/index.d.ts +0 -2
- package/dist/components/showcase-section/index.js +0 -3
- package/dist/components/skip-link/SkipLink.d.ts +0 -7
- package/dist/components/skip-link/SkipLink.js +0 -34
- package/dist/components/skip-link/index.d.ts +0 -2
- package/dist/components/skip-link/index.js +0 -3
- package/dist/components/stack/Stack.d.ts +0 -18
- package/dist/components/stack/Stack.js +0 -53
- package/dist/components/stack/index.d.ts +0 -2
- package/dist/components/stack/index.js +0 -3
- package/dist/components/stack/stack.css +0 -90
- package/dist/components/stat-card/StatCard.d.ts +0 -22
- package/dist/components/stat-card/StatCard.js +0 -46
- package/dist/components/stat-card/StatCardSection.d.ts +0 -5
- package/dist/components/stat-card/StatCardSection.js +0 -39
- package/dist/components/stat-card/index.d.ts +0 -1
- package/dist/components/stat-card/index.js +0 -3
- package/dist/components/stats/Stat.d.ts +0 -13
- package/dist/components/stats/Stat.js +0 -51
- package/dist/components/stats/StatSection.d.ts +0 -6
- package/dist/components/stats/StatSection.js +0 -29
- package/dist/components/stats/Stats.d.ts +0 -15
- package/dist/components/stats/Stats.js +0 -29
- package/dist/components/stats/index.d.ts +0 -1
- package/dist/components/stats/index.js +0 -3
- package/dist/components/stats/stat.css +0 -67
- package/dist/components/status/Status.d.ts +0 -8
- package/dist/components/status/Status.js +0 -30
- package/dist/components/status/index.d.ts +0 -2
- package/dist/components/status/index.js +0 -3
- package/dist/components/steps/Step.d.ts +0 -20
- package/dist/components/steps/Step.js +0 -88
- package/dist/components/steps/Steps.d.ts +0 -18
- package/dist/components/steps/Steps.js +0 -80
- package/dist/components/steps/index.d.ts +0 -3
- package/dist/components/steps/index.js +0 -3
- package/dist/components/steps/step.css +0 -179
- package/dist/components/streaming-table/StreamingTable.d.ts +0 -28
- package/dist/components/streaming-table/StreamingTable.js +0 -304
- package/dist/components/streaming-table/createRowStore.d.ts +0 -7
- package/dist/components/streaming-table/createRowStore.js +0 -18
- package/dist/components/streaming-table/createStreamingTableStore.d.ts +0 -13
- package/dist/components/streaming-table/createStreamingTableStore.js +0 -68
- package/dist/components/streaming-table/index.d.ts +0 -5
- package/dist/components/streaming-table/index.js +0 -5
- package/dist/components/streaming-table/types.d.ts +0 -46
- package/dist/components/streaming-table/types.js +0 -0
- package/dist/components/svgbackground/SvgBackground.d.ts +0 -21
- package/dist/components/svgbackground/SvgBackground.js +0 -413
- package/dist/components/svgbackground/index.d.ts +0 -2
- package/dist/components/svgbackground/index.js +0 -3
- package/dist/components/swap/Swap.d.ts +0 -13
- package/dist/components/swap/Swap.js +0 -57
- package/dist/components/swap/index.d.ts +0 -1
- package/dist/components/swap/index.js +0 -3
- package/dist/components/swap/swap.css +0 -92
- package/dist/components/switch-field/SwitchField.d.ts +0 -19
- package/dist/components/switch-field/SwitchField.js +0 -71
- package/dist/components/switch-field/index.d.ts +0 -2
- package/dist/components/switch-field/index.js +0 -3
- package/dist/components/table/EnhancedTable.d.ts +0 -46
- package/dist/components/table/EnhancedTable.js +0 -740
- package/dist/components/timeline/Timeline.d.ts +0 -12
- package/dist/components/timeline/Timeline.js +0 -42
- package/dist/components/timeline/TimelineEnd.d.ts +0 -6
- package/dist/components/timeline/TimelineEnd.js +0 -28
- package/dist/components/timeline/TimelineItem.d.ts +0 -8
- package/dist/components/timeline/TimelineItem.js +0 -47
- package/dist/components/timeline/TimelineMiddle.d.ts +0 -4
- package/dist/components/timeline/TimelineMiddle.js +0 -25
- package/dist/components/timeline/TimelineStart.d.ts +0 -6
- package/dist/components/timeline/TimelineStart.js +0 -28
- package/dist/components/timeline/index.d.ts +0 -5
- package/dist/components/timeline/index.js +0 -11
- package/dist/components/timeline/timeline.css +0 -286
- package/dist/components/toast/toast.css +0 -58
- package/dist/components/toastcontainer/ToastContainer.d.ts +0 -3
- package/dist/components/toastcontainer/ToastContainer.js +0 -15
- package/dist/components/toastcontainer/ToastStack.d.ts +0 -17
- package/dist/components/toastcontainer/ToastStack.js +0 -181
- package/dist/components/toastcontainer/index.d.ts +0 -3
- package/dist/components/toastcontainer/index.js +0 -5
- package/dist/components/windowmockup/WindowMockup.d.ts +0 -11
- package/dist/components/windowmockup/WindowMockup.js +0 -85
- package/dist/components/windowmockup/index.d.ts +0 -1
- package/dist/components/windowmockup/index.js +0 -3
- package/dist/stores/index.d.ts +0 -1
- package/dist/stores/index.js +0 -1
- package/dist/stores/toastStore.d.ts +0 -24
- package/dist/stores/toastStore.js +0 -64
- /package/dist/components/{colorpicker → color-wheel-flower}/ColorUtils.d.ts +0 -0
- /package/dist/components/{colorpicker → color-wheel-flower}/ColorUtils.js +0 -0
- /package/dist/components/{colorpicker → color-wheel-flower}/ColorWheelFlower.css +0 -0
- /package/dist/components/{colorpicker → color-wheel-flower}/ColorWheelFlower.d.ts +0 -0
- /package/dist/components/{colorpicker/colorpickerContext.d.ts → color-wheel-flower/colorWheelFlowerContext.d.ts} +0 -0
- /package/dist/components/{colorpicker/colorpickerContext.js → color-wheel-flower/colorWheelFlowerContext.js} +0 -0
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.rating {
|
|
3
|
-
position: relative;
|
|
4
|
-
display: inline-flex;
|
|
5
|
-
vertical-align: middle;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.rating input {
|
|
9
|
-
border: none;
|
|
10
|
-
appearance: none;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.rating :where(*) {
|
|
14
|
-
height: calc(0.25rem * 6);
|
|
15
|
-
width: calc(0.25rem * 6);
|
|
16
|
-
border-radius: 0;
|
|
17
|
-
background-color: var(--color-base-content);
|
|
18
|
-
opacity: 20%;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
22
|
-
.rating :where(*) {
|
|
23
|
-
animation: rating 0.25s ease-out;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.rating :where(*):is(input) {
|
|
28
|
-
cursor: pointer;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.rating .rating-hidden {
|
|
32
|
-
width: calc(0.25rem * 2);
|
|
33
|
-
background-color: transparent;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.rating input[type="radio"]:checked {
|
|
37
|
-
background-image: none;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.rating *:checked,
|
|
41
|
-
.rating *[aria-checked="true"],
|
|
42
|
-
.rating *[aria-current="true"],
|
|
43
|
-
.rating *:has(~ *:checked, ~ *[aria-checked="true"], ~ *[aria-current="true"]) {
|
|
44
|
-
opacity: 100%;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.rating *:focus-visible {
|
|
48
|
-
scale: 1.1;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
52
|
-
.rating *:focus-visible {
|
|
53
|
-
transition: scale 0.2s ease-out;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.rating *:active:focus {
|
|
58
|
-
animation: none;
|
|
59
|
-
scale: 1.1;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.rating.rating-xs :where(*:not(.rating-hidden)) {
|
|
63
|
-
width: calc(0.25rem * 4);
|
|
64
|
-
height: calc(0.25rem * 4);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.rating.rating-sm :where(*:not(.rating-hidden)) {
|
|
68
|
-
width: calc(0.25rem * 5);
|
|
69
|
-
height: calc(0.25rem * 5);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.rating.rating-md :where(*:not(.rating-hidden)) {
|
|
73
|
-
width: calc(0.25rem * 6);
|
|
74
|
-
height: calc(0.25rem * 6);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.rating.rating-lg :where(*:not(.rating-hidden)) {
|
|
78
|
-
width: calc(0.25rem * 7);
|
|
79
|
-
height: calc(0.25rem * 7);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.rating.rating-xl :where(*:not(.rating-hidden)) {
|
|
83
|
-
width: calc(0.25rem * 8);
|
|
84
|
-
height: calc(0.25rem * 8);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.rating-half.rating-xs *:not(.rating-hidden) {
|
|
88
|
-
width: calc(0.25rem * 2);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.rating-half.rating-sm *:not(.rating-hidden) {
|
|
92
|
-
width: calc(0.25rem * 2.5);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.rating-half.rating-md *:not(.rating-hidden) {
|
|
96
|
-
width: calc(0.25rem * 3);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.rating-half.rating-lg *:not(.rating-hidden) {
|
|
100
|
-
width: .875rem;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.rating-half.rating-xl *:not(.rating-hidden) {
|
|
104
|
-
width: calc(0.25rem * 4);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type ParentComponent } from "solid-js";
|
|
2
|
-
import type { IComponentBaseProps } from "../types";
|
|
3
|
-
export interface ShowcaseBlockProps extends IComponentBaseProps {
|
|
4
|
-
title: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
code?: string;
|
|
7
|
-
preview?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const ShowcaseBlock: ParentComponent<ShowcaseBlockProps>;
|
|
10
|
-
export default ShowcaseBlock;
|
|
@@ -1,48 +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
|
-
import * as __WEBPACK_EXTERNAL_MODULE__flex_index_js_d26fd801__ from "../flex/index.js";
|
|
5
|
-
var _tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<p class="text-base-content/70 mb-4">'), _tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div class="bg-base-200 shadow-sm p-6 rounded-lg"><h3 class="text-lg font-semibold mb-2 text-base-content"></h3><div>');
|
|
6
|
-
const ShowcaseBlock = (props)=>{
|
|
7
|
-
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
8
|
-
"title",
|
|
9
|
-
"description",
|
|
10
|
-
"code",
|
|
11
|
-
"preview",
|
|
12
|
-
"children",
|
|
13
|
-
"class",
|
|
14
|
-
"className",
|
|
15
|
-
"dataTheme"
|
|
16
|
-
]);
|
|
17
|
-
const previewClass = local.preview ? "border bg-base-100 border-base-content/15 p-8 rounded-lg" : "";
|
|
18
|
-
return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE__flex_index_js_d26fd801__["default"], (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|
|
19
|
-
direction: "col",
|
|
20
|
-
gap: "md"
|
|
21
|
-
}, others, {
|
|
22
|
-
get ["data-theme"] () {
|
|
23
|
-
return local.dataTheme;
|
|
24
|
-
},
|
|
25
|
-
get ["class"] () {
|
|
26
|
-
return (0, __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__.twMerge)(local.class, local.className);
|
|
27
|
-
},
|
|
28
|
-
get children () {
|
|
29
|
-
var _el$ = _tmpl$2(), _el$2 = _el$.firstChild, _el$4 = _el$2.nextSibling;
|
|
30
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$2, ()=>local.title);
|
|
31
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.Show, {
|
|
32
|
-
get when () {
|
|
33
|
-
return local.description;
|
|
34
|
-
},
|
|
35
|
-
get children () {
|
|
36
|
-
var _el$3 = _tmpl$();
|
|
37
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$3, ()=>local.description);
|
|
38
|
-
return _el$3;
|
|
39
|
-
}
|
|
40
|
-
}), _el$4);
|
|
41
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$4, previewClass);
|
|
42
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$4, ()=>local.children);
|
|
43
|
-
return _el$;
|
|
44
|
-
}
|
|
45
|
-
}));
|
|
46
|
-
};
|
|
47
|
-
const showcase_ShowcaseBlock = ShowcaseBlock;
|
|
48
|
-
export { showcase_ShowcaseBlock as default };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type ParentComponent } from "solid-js";
|
|
2
|
-
import type { IComponentBaseProps } from "../types";
|
|
3
|
-
export interface ShowcaseSectionProps extends IComponentBaseProps {
|
|
4
|
-
id: string;
|
|
5
|
-
title: string;
|
|
6
|
-
}
|
|
7
|
-
declare const ShowcaseSection: ParentComponent<ShowcaseSectionProps>;
|
|
8
|
-
export default ShowcaseSection;
|
|
@@ -1,73 +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
|
-
import * as __WEBPACK_EXTERNAL_MODULE__copy_button_index_js_612cbdbf__ from "../copy-button/index.js";
|
|
5
|
-
import * as __WEBPACK_EXTERNAL_MODULE__flex_index_js_d26fd801__ from "../flex/index.js";
|
|
6
|
-
var _tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<span class="opacity-0 group-hover/title:opacity-100 text-base-content/70 transition-opacity">#'), _tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<h2 class="text-xl font-semibold group/title">'), _tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div><div class=space-y-3>");
|
|
7
|
-
const ShowcaseSection = (props)=>{
|
|
8
|
-
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
9
|
-
"id",
|
|
10
|
-
"title",
|
|
11
|
-
"children",
|
|
12
|
-
"class",
|
|
13
|
-
"className",
|
|
14
|
-
"dataTheme"
|
|
15
|
-
]);
|
|
16
|
-
const getSectionUrl = ()=>{
|
|
17
|
-
const url = new URL(window.location.href);
|
|
18
|
-
url.hash = local.id;
|
|
19
|
-
return url.toString();
|
|
20
|
-
};
|
|
21
|
-
return (()=>{
|
|
22
|
-
var _el$ = _tmpl$3(), _el$4 = _el$.firstChild;
|
|
23
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|
|
24
|
-
get id () {
|
|
25
|
-
return local.id;
|
|
26
|
-
},
|
|
27
|
-
get ["data-theme"] () {
|
|
28
|
-
return local.dataTheme;
|
|
29
|
-
}
|
|
30
|
-
}, others, {
|
|
31
|
-
get ["class"] () {
|
|
32
|
-
return (0, __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__.twMerge)("p-3 bg-base-100 rounded-lg shadow-sm scroll-mt-6", local.class, local.className);
|
|
33
|
-
}
|
|
34
|
-
}), false, true);
|
|
35
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE__flex_index_js_d26fd801__["default"], {
|
|
36
|
-
align: "center",
|
|
37
|
-
justify: "between",
|
|
38
|
-
gap: "sm",
|
|
39
|
-
class: "mb-2",
|
|
40
|
-
get children () {
|
|
41
|
-
return [
|
|
42
|
-
(()=>{
|
|
43
|
-
var _el$2 = _tmpl$2();
|
|
44
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$2, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE__flex_index_js_d26fd801__["default"], {
|
|
45
|
-
as: "a",
|
|
46
|
-
align: "center",
|
|
47
|
-
gap: "sm",
|
|
48
|
-
class: "text-inherit hover:text-base-content",
|
|
49
|
-
get children () {
|
|
50
|
-
return [
|
|
51
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.memo)(()=>local.title),
|
|
52
|
-
_tmpl$()
|
|
53
|
-
];
|
|
54
|
-
}
|
|
55
|
-
}));
|
|
56
|
-
return _el$2;
|
|
57
|
-
})(),
|
|
58
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE__copy_button_index_js_612cbdbf__["default"], {
|
|
59
|
-
get text () {
|
|
60
|
-
return getSectionUrl();
|
|
61
|
-
},
|
|
62
|
-
title: "Copy link to section",
|
|
63
|
-
class: "opacity-0 group-hover:opacity-100 focus:opacity-100"
|
|
64
|
-
})
|
|
65
|
-
];
|
|
66
|
-
}
|
|
67
|
-
}), _el$4);
|
|
68
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$4, ()=>local.children);
|
|
69
|
-
return _el$;
|
|
70
|
-
})();
|
|
71
|
-
};
|
|
72
|
-
const showcase_section_ShowcaseSection = ShowcaseSection;
|
|
73
|
-
export { showcase_section_ShowcaseSection as default };
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import * as __WEBPACK_EXTERNAL_MODULE__ShowcaseSection_js_a82decf5__ from "./ShowcaseSection.js";
|
|
2
|
-
var __webpack_exports__ShowcaseSection = __WEBPACK_EXTERNAL_MODULE__ShowcaseSection_js_a82decf5__["default"];
|
|
3
|
-
export { __webpack_exports__ShowcaseSection as ShowcaseSection };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type JSX } from "solid-js";
|
|
2
|
-
import type { IComponentBaseProps } from "../types";
|
|
3
|
-
export type SkipLinkProps = IComponentBaseProps & {
|
|
4
|
-
href?: string;
|
|
5
|
-
children?: JSX.Element;
|
|
6
|
-
} & Omit<JSX.AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "children" | "class" | "className" | "style">;
|
|
7
|
-
export default function SkipLink(props: SkipLinkProps): JSX.Element;
|
|
@@ -1,34 +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)("<a>");
|
|
5
|
-
function SkipLink(props) {
|
|
6
|
-
const [local, rest] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
7
|
-
"href",
|
|
8
|
-
"children",
|
|
9
|
-
"class",
|
|
10
|
-
"className",
|
|
11
|
-
"style",
|
|
12
|
-
"dataTheme"
|
|
13
|
-
]);
|
|
14
|
-
return (()=>{
|
|
15
|
-
var _el$ = _tmpl$();
|
|
16
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|
|
17
|
-
get href () {
|
|
18
|
-
return local.href ?? "#main-content";
|
|
19
|
-
},
|
|
20
|
-
get ["class"] () {
|
|
21
|
-
return (0, __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__.twMerge)("sr-only focus:not-sr-only focus:fixed focus:top-4 focus:left-4 focus:z-50 focus:px-4 focus:py-2 focus:rounded focus:bg-primary focus:text-primary-content focus:outline-none", local.class, local.className);
|
|
22
|
-
},
|
|
23
|
-
get style () {
|
|
24
|
-
return local.style;
|
|
25
|
-
},
|
|
26
|
-
get ["data-theme"] () {
|
|
27
|
-
return local.dataTheme;
|
|
28
|
-
}
|
|
29
|
-
}, rest), false, true);
|
|
30
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, ()=>local.children ?? "Skip to main content");
|
|
31
|
-
return _el$;
|
|
32
|
-
})();
|
|
33
|
-
}
|
|
34
|
-
export { SkipLink as default };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import "./stack.css";
|
|
2
|
-
import { type JSX } from "solid-js";
|
|
3
|
-
import type { IComponentBaseProps } from "../types";
|
|
4
|
-
type ElementType = keyof JSX.IntrinsicElements;
|
|
5
|
-
type StackBaseProps = {
|
|
6
|
-
reverse?: boolean;
|
|
7
|
-
direction?: "top" | "bottom" | "left" | "right";
|
|
8
|
-
as?: ElementType;
|
|
9
|
-
children?: JSX.Element;
|
|
10
|
-
dataTheme?: string;
|
|
11
|
-
class?: string;
|
|
12
|
-
className?: string;
|
|
13
|
-
style?: JSX.CSSProperties;
|
|
14
|
-
};
|
|
15
|
-
type PropsOf<E extends ElementType> = JSX.IntrinsicElements[E];
|
|
16
|
-
export type StackProps<E extends ElementType = "div"> = Omit<PropsOf<E>, keyof StackBaseProps> & StackBaseProps & IComponentBaseProps;
|
|
17
|
-
declare const Stack: <E extends ElementType = "div">(props: StackProps<E>) => JSX.Element;
|
|
18
|
-
export default Stack;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__ from "solid-js/web";
|
|
2
|
-
import "./stack.css";
|
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE_clsx__ from "clsx";
|
|
4
|
-
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__ from "solid-js";
|
|
5
|
-
import * as __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__ from "tailwind-merge";
|
|
6
|
-
const Stack_Stack = (props)=>{
|
|
7
|
-
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
8
|
-
"children",
|
|
9
|
-
"reverse",
|
|
10
|
-
"direction",
|
|
11
|
-
"dataTheme",
|
|
12
|
-
"class",
|
|
13
|
-
"className",
|
|
14
|
-
"style",
|
|
15
|
-
"as"
|
|
16
|
-
]);
|
|
17
|
-
const mapDirectionToClass = (direction)=>{
|
|
18
|
-
switch(direction){
|
|
19
|
-
case "left":
|
|
20
|
-
return "stack-start";
|
|
21
|
-
case "right":
|
|
22
|
-
return "stack-end";
|
|
23
|
-
case "top":
|
|
24
|
-
return "stack-top";
|
|
25
|
-
case "bottom":
|
|
26
|
-
return "stack-bottom";
|
|
27
|
-
default:
|
|
28
|
-
return "";
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
const classes = ()=>(0, __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__.twMerge)("stack", mapDirectionToClass(local.direction), local.class, local.className, (0, __WEBPACK_EXTERNAL_MODULE_clsx__.clsx)({
|
|
32
|
-
"stack-reverse": local.reverse
|
|
33
|
-
}));
|
|
34
|
-
const Tag = local.as || "div";
|
|
35
|
-
return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.Dynamic, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|
|
36
|
-
component: Tag
|
|
37
|
-
}, others, {
|
|
38
|
-
get ["data-theme"] () {
|
|
39
|
-
return local.dataTheme;
|
|
40
|
-
},
|
|
41
|
-
get ["class"] () {
|
|
42
|
-
return classes();
|
|
43
|
-
},
|
|
44
|
-
get style () {
|
|
45
|
-
return local.style;
|
|
46
|
-
},
|
|
47
|
-
get children () {
|
|
48
|
-
return local.children;
|
|
49
|
-
}
|
|
50
|
-
}));
|
|
51
|
-
};
|
|
52
|
-
const Stack = Stack_Stack;
|
|
53
|
-
export { Stack as default };
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.stack {
|
|
3
|
-
display: inline-grid;
|
|
4
|
-
grid-template-columns: 3px 4px 1fr 4px 3px;
|
|
5
|
-
grid-template-rows: 3px 4px 1fr 4px 3px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.stack > * {
|
|
9
|
-
height: 100%;
|
|
10
|
-
width: 100%;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.stack > *:nth-child(n + 2) {
|
|
14
|
-
width: 100%;
|
|
15
|
-
opacity: 70%;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.stack > *:nth-child(2) {
|
|
19
|
-
z-index: 2;
|
|
20
|
-
opacity: 90%;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.stack > *:nth-child(1) {
|
|
24
|
-
z-index: 3;
|
|
25
|
-
width: 100%;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.stack > *,
|
|
29
|
-
.stack.stack-bottom > * {
|
|
30
|
-
grid-column: 3 / 4;
|
|
31
|
-
grid-row: 3 / 6;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.stack > *:nth-child(2),
|
|
35
|
-
.stack.stack-bottom > *:nth-child(2) {
|
|
36
|
-
grid-column: 2 / 5;
|
|
37
|
-
grid-row: 2 / 5;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.stack > *:nth-child(1),
|
|
41
|
-
.stack.stack-bottom > *:nth-child(1) {
|
|
42
|
-
grid-column: 1 / 6;
|
|
43
|
-
grid-row: 1 / 4;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.stack.stack-top > * {
|
|
47
|
-
grid-column: 3 / 4;
|
|
48
|
-
grid-row: 1 / 4;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.stack.stack-top > *:nth-child(2) {
|
|
52
|
-
grid-column: 2 / 5;
|
|
53
|
-
grid-row: 2 / 5;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.stack.stack-top > *:nth-child(1) {
|
|
57
|
-
grid-column: 1 / 6;
|
|
58
|
-
grid-row: 3 / 6;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.stack.stack-start > * {
|
|
62
|
-
grid-column: 1 / 4;
|
|
63
|
-
grid-row: 3 / 4;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.stack.stack-start > *:nth-child(2) {
|
|
67
|
-
grid-column: 2 / 5;
|
|
68
|
-
grid-row: 2 / 5;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.stack.stack-start > *:nth-child(1) {
|
|
72
|
-
grid-column: 3 / 6;
|
|
73
|
-
grid-row: 1 / 6;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.stack.stack-end > * {
|
|
77
|
-
grid-column: 3 / 6;
|
|
78
|
-
grid-row: 3 / 4;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.stack.stack-end > *:nth-child(2) {
|
|
82
|
-
grid-column: 2 / 5;
|
|
83
|
-
grid-row: 2 / 5;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.stack.stack-end > *:nth-child(1) {
|
|
87
|
-
grid-column: 1 / 4;
|
|
88
|
-
grid-row: 1 / 6;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { type JSX } from "solid-js";
|
|
2
|
-
export type StatCardProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
3
|
-
dataTheme?: string;
|
|
4
|
-
};
|
|
5
|
-
declare const _default: ((props: StatCardProps) => JSX.Element) & {
|
|
6
|
-
Figure: (props: JSX.HTMLAttributes<HTMLDivElement> & {
|
|
7
|
-
copyable?: boolean;
|
|
8
|
-
}) => JSX.Element;
|
|
9
|
-
Title: (props: JSX.HTMLAttributes<HTMLDivElement> & {
|
|
10
|
-
copyable?: boolean;
|
|
11
|
-
}) => JSX.Element;
|
|
12
|
-
Value: (props: JSX.HTMLAttributes<HTMLDivElement> & {
|
|
13
|
-
copyable?: boolean;
|
|
14
|
-
}) => JSX.Element;
|
|
15
|
-
Desc: (props: JSX.HTMLAttributes<HTMLDivElement> & {
|
|
16
|
-
copyable?: boolean;
|
|
17
|
-
}) => JSX.Element;
|
|
18
|
-
Actions: (props: JSX.HTMLAttributes<HTMLDivElement> & {
|
|
19
|
-
copyable?: boolean;
|
|
20
|
-
}) => JSX.Element;
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
@@ -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_tailwind_merge_e05e3e95__ from "tailwind-merge";
|
|
4
|
-
import * as __WEBPACK_EXTERNAL_MODULE__card_Card_js_fc1902ef__ from "../card/Card.js";
|
|
5
|
-
import * as __WEBPACK_EXTERNAL_MODULE__StatCardSection_js_4eed30d7__ from "./StatCardSection.js";
|
|
6
|
-
import * as __WEBPACK_EXTERNAL_MODULE__flex_Flex_js_c0117791__ from "../flex/Flex.js";
|
|
7
|
-
const StatCard = (props)=>{
|
|
8
|
-
const [local, rest] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
9
|
-
"class",
|
|
10
|
-
"children",
|
|
11
|
-
"dataTheme",
|
|
12
|
-
"style"
|
|
13
|
-
]);
|
|
14
|
-
const normalizedStyle = "object" == typeof local.style || void 0 === local.style ? local.style : void 0;
|
|
15
|
-
return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE__card_Card_js_fc1902ef__["default"], (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(rest, {
|
|
16
|
-
style: normalizedStyle,
|
|
17
|
-
get ["class"] () {
|
|
18
|
-
return (0, __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__.twMerge)("border border-base-300 bg-base-100 rounded-lg p-6", local.class);
|
|
19
|
-
},
|
|
20
|
-
get ["data-theme"] () {
|
|
21
|
-
return local.dataTheme;
|
|
22
|
-
},
|
|
23
|
-
get children () {
|
|
24
|
-
return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE__flex_Flex_js_c0117791__["default"], {
|
|
25
|
-
align: "center",
|
|
26
|
-
gap: "md",
|
|
27
|
-
get children () {
|
|
28
|
-
return local.children;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
}));
|
|
33
|
-
};
|
|
34
|
-
const StatCardFigure = (0, __WEBPACK_EXTERNAL_MODULE__StatCardSection_js_4eed30d7__["default"])("figure");
|
|
35
|
-
const StatCardTitle = (0, __WEBPACK_EXTERNAL_MODULE__StatCardSection_js_4eed30d7__["default"])("title");
|
|
36
|
-
const StatCardValue = (0, __WEBPACK_EXTERNAL_MODULE__StatCardSection_js_4eed30d7__["default"])("value");
|
|
37
|
-
const StatCardDesc = (0, __WEBPACK_EXTERNAL_MODULE__StatCardSection_js_4eed30d7__["default"])("desc");
|
|
38
|
-
const StatCardActions = (0, __WEBPACK_EXTERNAL_MODULE__StatCardSection_js_4eed30d7__["default"])("actions");
|
|
39
|
-
const stat_card_StatCard = Object.assign(StatCard, {
|
|
40
|
-
Figure: StatCardFigure,
|
|
41
|
-
Title: StatCardTitle,
|
|
42
|
-
Value: StatCardValue,
|
|
43
|
-
Desc: StatCardDesc,
|
|
44
|
-
Actions: StatCardActions
|
|
45
|
-
});
|
|
46
|
-
export { stat_card_StatCard as default };
|
|
@@ -1,39 +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
|
-
import * as __WEBPACK_EXTERNAL_MODULE__copy_button_CopyButton_js_90341977__ from "../copy-button/CopyButton.js";
|
|
5
|
-
var _tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div class="p-3 bg-primary/10 rounded-lg"><div class="flex items-center justify-center w-6 h-6 text-primary">'), _tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>");
|
|
6
|
-
const StatCardSection = (section)=>(props)=>{
|
|
7
|
-
const [local, rest] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
8
|
-
"class",
|
|
9
|
-
"children",
|
|
10
|
-
"copyable"
|
|
11
|
-
]);
|
|
12
|
-
let content = local.children;
|
|
13
|
-
if ("figure" === section) content = (()=>{
|
|
14
|
-
var _el$ = _tmpl$(), _el$2 = _el$.firstChild;
|
|
15
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$2, ()=>local.children);
|
|
16
|
-
return _el$;
|
|
17
|
-
})();
|
|
18
|
-
if ("value" === section && local.copyable) content = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE__copy_button_CopyButton_js_90341977__["default"], {
|
|
19
|
-
get text () {
|
|
20
|
-
return String(local.children);
|
|
21
|
-
},
|
|
22
|
-
get children () {
|
|
23
|
-
return local.children;
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
const classes = "title" === section ? "text-sm text-base-content/60" : "value" === section ? "text-2xl font-bold text-base-content" : "desc" === section ? "text-sm text-base-content/50" : "actions" === section ? "flex items-center gap-2" : "";
|
|
27
|
-
return (()=>{
|
|
28
|
-
var _el$3 = _tmpl$2();
|
|
29
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$3, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(rest, {
|
|
30
|
-
get ["class"] () {
|
|
31
|
-
return (0, __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__.twMerge)(classes, local.class);
|
|
32
|
-
}
|
|
33
|
-
}), false, true);
|
|
34
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$3, content);
|
|
35
|
-
return _el$3;
|
|
36
|
-
})();
|
|
37
|
-
};
|
|
38
|
-
const stat_card_StatCardSection = StatCardSection;
|
|
39
|
-
export { StatCardSection, stat_card_StatCardSection as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default, type StatCardProps } from "./StatCard";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import "./stat.css";
|
|
2
|
-
import { type JSX } from "solid-js";
|
|
3
|
-
import { type StatSectionProps } from "./StatSection";
|
|
4
|
-
import type { IComponentBaseProps } from "../types";
|
|
5
|
-
export type StatProps = JSX.HTMLAttributes<HTMLDivElement> & IComponentBaseProps;
|
|
6
|
-
declare const _default: ((props: StatProps) => JSX.Element) & {
|
|
7
|
-
Title: (props: Omit<StatSectionProps, "section">) => JSX.Element;
|
|
8
|
-
Value: (props: Omit<StatSectionProps, "section">) => JSX.Element;
|
|
9
|
-
Desc: (props: Omit<StatSectionProps, "section">) => JSX.Element;
|
|
10
|
-
Figure: (props: Omit<StatSectionProps, "section">) => JSX.Element;
|
|
11
|
-
Actions: (props: Omit<StatSectionProps, "section">) => JSX.Element;
|
|
12
|
-
};
|
|
13
|
-
export default _default;
|