@pathscale/ui 1.1.44 → 1.1.45
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.js +44 -44
- package/dist/components/accordion/index.js +2 -9
- package/dist/components/alert/Alert.js +30 -30
- package/dist/components/alert/index.js +2 -8
- package/dist/components/avatar/Avatar.js +27 -27
- package/dist/components/avatar/AvatarGroup.js +11 -11
- package/dist/components/avatar/index.js +2 -6
- package/dist/components/badge/Badge.js +19 -19
- package/dist/components/badge/index.js +6 -9
- package/dist/components/breadcrumbs/Breadcrumbs.js +25 -25
- package/dist/components/breadcrumbs/index.js +2 -5
- package/dist/components/button/Button.js +22 -22
- package/dist/components/button/index.js +2 -3
- package/dist/components/button-group/ButtonGroup.js +14 -14
- package/dist/components/button-group/context.js +2 -2
- package/dist/components/button-group/index.js +2 -6
- package/dist/components/calendar/Calendar.js +85 -85
- package/dist/components/calendar/index.js +2 -3
- package/dist/components/card/Card.js +21 -21
- package/dist/components/card/index.js +2 -8
- package/dist/components/chatbubble/ChatBubble.js +19 -19
- package/dist/components/chatbubble/ChatBubbleAvatar.js +8 -8
- package/dist/components/chatbubble/ChatBubbleFooter.js +11 -11
- package/dist/components/chatbubble/ChatBubbleHeader.js +8 -8
- package/dist/components/chatbubble/ChatBubbleMessage.js +12 -12
- package/dist/components/chatbubble/ChatBubbleTime.js +11 -11
- package/dist/components/chatbubble/index.js +2 -3
- package/dist/components/checkbox/Checkbox.js +29 -29
- package/dist/components/checkbox/index.js +2 -3
- package/dist/components/checkbox-group/CheckboxGroup.js +16 -16
- package/dist/components/checkbox-group/context.js +2 -2
- package/dist/components/checkbox-group/index.js +3 -4
- package/dist/components/chip/Chip.js +32 -32
- package/dist/components/chip/index.js +5 -7
- package/dist/components/close-button/CloseButton.js +22 -22
- package/dist/components/close-button/index.js +2 -3
- package/dist/components/color-area/ColorArea.js +13 -13
- package/dist/components/color-area/index.js +2 -2
- package/dist/components/color-field/ColorField.js +23 -23
- package/dist/components/color-field/index.js +2 -2
- package/dist/components/color-picker/ColorPicker.js +44 -44
- package/dist/components/color-picker/index.js +2 -8
- package/dist/components/color-slider/ColorSlider.js +21 -21
- package/dist/components/color-slider/index.js +2 -2
- package/dist/components/color-swatch/ColorSwatch.js +14 -14
- package/dist/components/color-swatch/index.js +2 -2
- package/dist/components/color-swatch-picker/ColorSwatchPicker.js +14 -14
- package/dist/components/color-swatch-picker/index.js +2 -5
- package/dist/components/color-wheel-flower/ColorWheelFlower.js +83 -83
- package/dist/components/color-wheel-flower/colorWheelFlowerContext.js +3 -3
- package/dist/components/color-wheel-flower/index.js +3 -6
- package/dist/components/combo-box/ComboBox.js +90 -90
- package/dist/components/combo-box/index.js +2 -10
- package/dist/components/date-field/DateField.js +41 -41
- package/dist/components/date-field/index.js +2 -11
- package/dist/components/date-picker/DatePicker.js +40 -40
- package/dist/components/date-picker/index.js +2 -3
- package/dist/components/date-range-picker/DateRangePicker.js +55 -55
- package/dist/components/date-range-picker/index.js +2 -3
- package/dist/components/description/Description.js +9 -9
- package/dist/components/description/index.js +2 -5
- package/dist/components/disclosure/Disclosure.js +40 -40
- package/dist/components/disclosure/index.js +3 -9
- package/dist/components/disclosure-group/DisclosureGroup.js +13 -13
- package/dist/components/disclosure-group/index.js +4 -6
- package/dist/components/disclosure-group/useDisclosureGroupNavigation.js +4 -4
- package/dist/components/drawer/Drawer.css +51 -0
- package/dist/components/drawer/Drawer.d.ts +7 -0
- package/dist/components/drawer/Drawer.js +105 -80
- package/dist/components/drawer/index.d.ts +1 -1
- package/dist/components/drawer/index.js +2 -15
- package/dist/components/dropdown/Dropdown.js +60 -60
- package/dist/components/dropdown/index.js +2 -4
- package/dist/components/empty-state/EmptyState.js +25 -25
- package/dist/components/empty-state/index.js +2 -8
- package/dist/components/error-message/ErrorMessage.js +12 -12
- package/dist/components/error-message/index.js +2 -5
- package/dist/components/field-error/FieldError.js +16 -16
- package/dist/components/field-error/index.js +2 -5
- package/dist/components/fieldset/Fieldset.js +21 -21
- package/dist/components/fieldset/index.js +2 -8
- package/dist/components/flex/Flex.js +14 -14
- package/dist/components/flex/index.js +2 -3
- package/dist/components/floating-dock/FloatingDock.js +76 -76
- package/dist/components/floating-dock/index.js +2 -3
- package/dist/components/footer/Footer.js +11 -11
- package/dist/components/footer/FooterTitle.js +9 -9
- package/dist/components/footer/index.js +2 -3
- package/dist/components/form/Form.js +8 -8
- package/dist/components/form/index.js +2 -5
- package/dist/components/glass-panel/GlassPanel.js +29 -29
- package/dist/components/glass-panel/index.js +2 -3
- package/dist/components/glow-card/GlowCard.js +10 -10
- package/dist/components/glow-card/index.js +2 -3
- package/dist/components/grid/Grid.js +15 -15
- package/dist/components/grid/index.js +2 -3
- package/dist/components/header/Header.js +12 -12
- package/dist/components/header/index.js +2 -5
- package/dist/components/icon/Icon.js +9 -8
- package/dist/components/icon/index.js +2 -3
- package/dist/components/immersive-landing/ImmersiveLanding.js +44 -44
- package/dist/components/immersive-landing/ImmersiveLandingArrows.js +17 -17
- package/dist/components/immersive-landing/ImmersiveLandingContext.js +3 -3
- package/dist/components/immersive-landing/ImmersiveLandingNavigation.js +36 -36
- package/dist/components/immersive-landing/ImmersiveLandingPage.js +15 -15
- package/dist/components/immersive-landing/components/CookieConsent.js +71 -71
- package/dist/components/immersive-landing/components/FirefoxPWABanner.js +42 -42
- package/dist/components/immersive-landing/components/PWAInstallPrompt.js +40 -40
- package/dist/components/immersive-landing/index.js +7 -14
- package/dist/components/immersive-landing/useImmersiveLanding.js +7 -7
- package/dist/components/input/Input.css +0 -4
- package/dist/components/input/Input.js +48 -48
- package/dist/components/input/index.js +2 -2
- package/dist/components/input-group/InputGroup.js +33 -33
- package/dist/components/input-group/index.js +2 -9
- package/dist/components/input-otp/InputOTP.js +48 -48
- package/dist/components/input-otp/index.js +2 -11
- package/dist/components/join/Join.js +14 -14
- package/dist/components/join/index.js +2 -3
- package/dist/components/kbd/Kbd.js +20 -20
- package/dist/components/kbd/index.js +2 -8
- package/dist/components/label/Label.js +9 -9
- package/dist/components/label/index.js +2 -5
- package/dist/components/language-switcher/LanguageSwitcher.js +26 -26
- package/dist/components/language-switcher/createI18n.js +8 -8
- package/dist/components/language-switcher/index.js +3 -8
- package/dist/components/link/Link.js +22 -22
- package/dist/components/link/index.js +2 -5
- package/dist/components/list-box/ListBox.js +17 -17
- package/dist/components/list-box/ListBoxItem.js +32 -32
- package/dist/components/list-box/ListBoxSection.js +13 -13
- package/dist/components/list-box/context.js +2 -2
- package/dist/components/list-box/index.js +9 -15
- package/dist/components/live-chat/LiveChatBubble.js +27 -27
- package/dist/components/live-chat/LiveChatPanel.js +62 -62
- package/dist/components/live-chat/index.js +3 -5
- package/dist/components/menu/Menu.js +25 -30
- package/dist/components/menu/MenuItem.js +38 -38
- package/dist/components/menu/MenuSection.js +13 -13
- package/dist/components/menu/context.js +2 -2
- package/dist/components/menu/index.js +3 -12
- package/dist/components/meter/Meter.js +31 -31
- package/dist/components/meter/index.js +2 -8
- package/dist/components/modal/Modal.js +80 -80
- package/dist/components/modal/index.js +2 -13
- package/dist/components/navbar/Navbar.js +18 -18
- package/dist/components/navbar/NavbarRow.js +10 -10
- package/dist/components/navbar/NavbarSection.js +9 -9
- package/dist/components/navbar/NavbarStack.js +10 -10
- package/dist/components/navbar/index.js +2 -3
- package/dist/components/noise-background/NoiseBackground.js +35 -35
- package/dist/components/noise-background/index.js +2 -3
- package/dist/components/number-field/NumberField.js +42 -42
- package/dist/components/number-field/index.js +2 -9
- package/dist/components/pagination/Pagination.js +34 -34
- package/dist/components/pagination/index.js +2 -3
- package/dist/components/popover/Popover.js +44 -44
- package/dist/components/popover/index.js +3 -9
- package/dist/components/progress-bar/ProgressBar.js +27 -27
- package/dist/components/progress-bar/index.js +2 -3
- package/dist/components/progress-circle/ProgressCircle.js +32 -32
- package/dist/components/progress-circle/index.js +2 -3
- package/dist/components/radio/Radio.js +27 -27
- package/dist/components/radio/index.js +2 -3
- package/dist/components/radio-group/RadioGroup.js +33 -33
- package/dist/components/radio-group/context.js +2 -2
- package/dist/components/radio-group/index.js +3 -4
- package/dist/components/range-calendar/RangeCalendar.js +15 -15
- package/dist/components/range-calendar/index.js +2 -3
- package/dist/components/scroll-shadow/ScrollShadow.js +19 -19
- package/dist/components/scroll-shadow/index.js +2 -3
- package/dist/components/scroll-shadow/useScrollShadow.js +3 -3
- package/dist/components/search-field/SearchField.js +38 -38
- package/dist/components/search-field/index.js +2 -9
- package/dist/components/select/Select.js +123 -123
- package/dist/components/select/index.js +2 -3
- package/dist/components/separator/Separator.js +11 -11
- package/dist/components/separator/index.js +2 -4
- package/dist/components/size-picker/SizePicker.js +17 -17
- package/dist/components/size-picker/index.js +3 -6
- package/dist/components/size-picker/sizeStore.js +3 -3
- package/dist/components/skeleton/Skeleton.js +8 -8
- package/dist/components/skeleton/index.js +2 -3
- package/dist/components/slider/Slider.js +26 -26
- package/dist/components/slider/index.js +2 -3
- package/dist/components/spinner/Spinner.js +19 -19
- package/dist/components/spinner/index.js +2 -5
- package/dist/components/surface/Surface.js +9 -9
- package/dist/components/surface/index.js +2 -4
- package/dist/components/table/Table.js +80 -80
- package/dist/components/table/index.js +3 -28
- package/dist/components/tabs/Tabs.js +59 -59
- package/dist/components/tabs/index.js +2 -4
- package/dist/components/tag/Tag.js +40 -40
- package/dist/components/tag/index.js +2 -6
- package/dist/components/tag-group/TagGroup.js +20 -20
- package/dist/components/tag-group/context.js +2 -2
- package/dist/components/tag-group/index.js +2 -6
- package/dist/components/text/Text.js +9 -9
- package/dist/components/text/index.js +2 -5
- package/dist/components/text-area/TextArea.js +10 -10
- package/dist/components/text-area/index.js +2 -5
- package/dist/components/text-field/TextField.js +15 -15
- package/dist/components/text-field/index.js +2 -7
- package/dist/components/textarea/Textarea.js +11 -13
- package/dist/components/textarea/index.js +2 -6
- package/dist/components/theme-color-picker/ThemeColorPicker.js +43 -43
- package/dist/components/theme-color-picker/hueShift.js +3 -3
- package/dist/components/theme-color-picker/index.js +3 -7
- package/dist/components/time-field/TimeField.js +41 -41
- package/dist/components/time-field/index.js +2 -11
- package/dist/components/toast/Toast.js +98 -98
- package/dist/components/toast/index.js +2 -19
- package/dist/components/toggle/Toggle.css +0 -9
- package/dist/components/toggle/Toggle.js +31 -31
- package/dist/components/toggle/index.js +2 -3
- package/dist/components/toolbar/Toolbar.js +10 -10
- package/dist/components/toolbar/index.js +2 -5
- package/dist/components/tooltip/Tooltip.js +28 -28
- package/dist/components/tooltip/index.js +2 -7
- package/dist/components/utils.js +6 -7
- package/dist/components/video-preview/VideoPreview.js +15 -15
- package/dist/components/video-preview/index.js +2 -3
- package/dist/hooks/date/useCalendarNavigation.js +18 -18
- package/dist/hooks/date/useCalendarState.js +19 -19
- package/dist/hooks/date/useDateSelection.js +7 -7
- package/dist/hooks/date/usePickerOpenState.js +8 -8
- package/dist/hooks/date/useRangeSelection.js +16 -16
- package/dist/hooks/form/index.js +6 -12
- package/dist/hooks/form/useField.js +4 -4
- package/dist/hooks/form/useFieldError.js +2 -2
- package/dist/hooks/form/useFieldMeta.js +10 -10
- package/dist/hooks/form/useFieldProps.js +2 -2
- package/dist/hooks/form/useForm.js +4 -4
- package/dist/hooks/layout/index.js +2 -3
- package/dist/hooks/layout/useDesktop.js +4 -4
- package/dist/hooks/table/index.js +9 -18
- package/dist/hooks/table/useAnchoredOverlayPosition.js +4 -4
- package/dist/hooks/table/useTableExpansion.js +4 -4
- package/dist/hooks/table/useTableFiltering.js +8 -8
- package/dist/hooks/table/useTableModel.js +10 -10
- package/dist/hooks/table/useTablePagination.js +4 -4
- package/dist/hooks/table/useTableSelection.js +4 -4
- package/dist/hooks/table/useTableSorting.js +6 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.js +97 -366
- package/dist/lib/refs/index.js +2 -3
- package/dist/lib/refs/mergeRefs.js +2 -2
- package/dist/lib/style/index.js +2 -4
- package/dist/lib/tag/createIsButton.js +4 -4
- package/dist/lib/tag/createTagName.js +2 -2
- package/dist/lib/tag/index.js +3 -7
- package/dist/motion/engine.js +4 -4
- package/dist/motion/index.js +11 -34
- package/dist/motion/popmotion.js +2 -2
- package/dist/motion/presets.js +4 -4
- package/dist/motion/route.js +7 -7
- package/dist/motion/solid/MotionDiv.js +13 -13
- package/dist/motion/solid/index.js +2 -3
- package/dist/motion/system.js +9 -9
- package/dist/primitives/streaming/index.js +3 -5
- package/dist/primitives/streaming/useStreamingBuffer.js +2 -2
- package/dist/primitives/streaming/useStreamingSubscription.js +7 -7
- package/dist/primitives/virtualizer/index.js +2 -3
- package/dist/primitives/virtualizer/useVirtualRows.js +7 -7
- package/dist/purge-manifest.json +2287 -2287
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { insert, mergeProps, spread, template } from "solid-js/web";
|
|
2
2
|
import "./footer.css";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
var _tmpl$ = /*#__PURE__*/
|
|
3
|
+
import { splitProps } from "solid-js";
|
|
4
|
+
import { twMerge } from "tailwind-merge";
|
|
5
|
+
import { FooterTitle } from "./FooterTitle.js";
|
|
6
|
+
import { CLASSES } from "./Footer.classes.js";
|
|
7
|
+
var _tmpl$ = /*#__PURE__*/ template("<footer>");
|
|
8
8
|
const Footer = (props)=>{
|
|
9
|
-
const [local, others] =
|
|
9
|
+
const [local, others] = splitProps(props, [
|
|
10
10
|
"children",
|
|
11
11
|
"class",
|
|
12
12
|
"className",
|
|
@@ -15,22 +15,22 @@ const Footer = (props)=>{
|
|
|
15
15
|
"horizontal",
|
|
16
16
|
"vertical"
|
|
17
17
|
]);
|
|
18
|
-
const classes = ()=>
|
|
18
|
+
const classes = ()=>twMerge(CLASSES.base, local.center && CLASSES.flag.center, local.horizontal && CLASSES.flag.horizontal, local.vertical && CLASSES.flag.vertical, local.class, local.className);
|
|
19
19
|
return (()=>{
|
|
20
20
|
var _el$ = _tmpl$();
|
|
21
|
-
|
|
21
|
+
spread(_el$, mergeProps(others, {
|
|
22
22
|
get ["data-theme"] () {
|
|
23
23
|
return local.dataTheme;
|
|
24
24
|
}
|
|
25
25
|
}, ()=>({
|
|
26
26
|
class: classes()
|
|
27
27
|
})), false, true);
|
|
28
|
-
|
|
28
|
+
insert(_el$, ()=>local.children);
|
|
29
29
|
return _el$;
|
|
30
30
|
})();
|
|
31
31
|
};
|
|
32
32
|
const FooterNamespaces = Object.assign(Footer, {
|
|
33
|
-
Title:
|
|
33
|
+
Title: FooterTitle
|
|
34
34
|
});
|
|
35
35
|
const footer_Footer = FooterNamespaces;
|
|
36
36
|
export { footer_Footer as default };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
var _tmpl$ = /*#__PURE__*/
|
|
1
|
+
import { insert, mergeProps, spread, template } from "solid-js/web";
|
|
2
|
+
import { splitProps } from "solid-js";
|
|
3
|
+
import { twMerge } from "tailwind-merge";
|
|
4
|
+
import { CLASSES } from "./Footer.classes.js";
|
|
5
|
+
var _tmpl$ = /*#__PURE__*/ template("<h6>");
|
|
6
6
|
const FooterTitle = (props)=>{
|
|
7
|
-
const [local, others] =
|
|
7
|
+
const [local, others] = splitProps(props, [
|
|
8
8
|
"children",
|
|
9
9
|
"class",
|
|
10
10
|
"className",
|
|
11
11
|
"dataTheme"
|
|
12
12
|
]);
|
|
13
|
-
const classes = ()=>
|
|
13
|
+
const classes = ()=>twMerge(CLASSES.title, local.class, local.className);
|
|
14
14
|
return (()=>{
|
|
15
15
|
var _el$ = _tmpl$();
|
|
16
|
-
|
|
16
|
+
spread(_el$, mergeProps(others, {
|
|
17
17
|
get ["data-theme"] () {
|
|
18
18
|
return local.dataTheme;
|
|
19
19
|
}
|
|
20
20
|
}, ()=>({
|
|
21
21
|
class: classes()
|
|
22
22
|
})), false, true);
|
|
23
|
-
|
|
23
|
+
insert(_el$, ()=>local.children);
|
|
24
24
|
return _el$;
|
|
25
25
|
})();
|
|
26
26
|
};
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export { __webpack_exports__default as default };
|
|
1
|
+
import external_Footer_js_default from "./Footer.js";
|
|
2
|
+
export { external_Footer_js_default as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { mergeProps, spread, template } from "solid-js/web";
|
|
2
2
|
import "./Form.css";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
var _tmpl$ = /*#__PURE__*/
|
|
3
|
+
import { splitProps } from "solid-js";
|
|
4
|
+
import { twMerge } from "tailwind-merge";
|
|
5
|
+
import { CLASSES } from "./Form.classes.js";
|
|
6
|
+
var _tmpl$ = /*#__PURE__*/ template("<form>");
|
|
7
7
|
const FormRoot = (props)=>{
|
|
8
|
-
const [local, others] =
|
|
8
|
+
const [local, others] = splitProps(props, [
|
|
9
9
|
"class",
|
|
10
10
|
"className",
|
|
11
11
|
"dataTheme",
|
|
@@ -13,8 +13,8 @@ const FormRoot = (props)=>{
|
|
|
13
13
|
]);
|
|
14
14
|
return (()=>{
|
|
15
15
|
var _el$ = _tmpl$();
|
|
16
|
-
|
|
17
|
-
class:
|
|
16
|
+
spread(_el$, mergeProps(others, ()=>({
|
|
17
|
+
class: twMerge(CLASSES.base, local.class, local.className)
|
|
18
18
|
}), {
|
|
19
19
|
"data-slot": "form",
|
|
20
20
|
get ["data-theme"] () {
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
var __webpack_exports__FormRoot = __WEBPACK_EXTERNAL_MODULE__Form_js_cf7aa139__.FormRoot;
|
|
4
|
-
var __webpack_exports__default = __WEBPACK_EXTERNAL_MODULE__Form_js_cf7aa139__["default"];
|
|
5
|
-
export { __webpack_exports__Form as Form, __webpack_exports__FormRoot as FormRoot, __webpack_exports__default as default };
|
|
1
|
+
import external_Form_js_default, { Form, FormRoot } from "./Form.js";
|
|
2
|
+
export { Form, FormRoot, external_Form_js_default as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { createComponent, insert, memo, mergeProps, setAttribute, spread, template } from "solid-js/web";
|
|
2
2
|
import "./GlassPanel.css";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
var _tmpl$ = /*#__PURE__*/
|
|
7
|
-
const
|
|
8
|
-
const [local, others] =
|
|
3
|
+
import { Show, createSignal, createUniqueId, splitProps } from "solid-js";
|
|
4
|
+
import { twMerge } from "tailwind-merge";
|
|
5
|
+
import { CLASSES } from "./GlassPanel.classes.js";
|
|
6
|
+
var _tmpl$ = /*#__PURE__*/ template('<button type=button><span></span><svg><path stroke-linecap=round stroke-linejoin=round d="M19 9l-7 7-7-7">'), _tmpl$2 = /*#__PURE__*/ template("<div><div><div>");
|
|
7
|
+
const GlassPanel_GlassPanel = (props)=>{
|
|
8
|
+
const [local, others] = splitProps(props, [
|
|
9
9
|
"blur",
|
|
10
10
|
"collapsible",
|
|
11
11
|
"open",
|
|
@@ -25,11 +25,11 @@ const GlassPanel = (props)=>{
|
|
|
25
25
|
"dataTheme",
|
|
26
26
|
"style"
|
|
27
27
|
]);
|
|
28
|
-
const contentId =
|
|
28
|
+
const contentId = createUniqueId();
|
|
29
29
|
const blur = ()=>local.blur ?? "none";
|
|
30
30
|
const size = ()=>local.size ?? "md";
|
|
31
31
|
const isControlled = ()=>void 0 !== local.open;
|
|
32
|
-
const [internalOpen, setInternalOpen] =
|
|
32
|
+
const [internalOpen, setInternalOpen] = createSignal(local.defaultOpen ?? true);
|
|
33
33
|
const isOpen = ()=>isControlled() ? local.open : internalOpen();
|
|
34
34
|
const accentKey = ()=>local.accent ?? "ghost";
|
|
35
35
|
const handleToggle = ()=>{
|
|
@@ -37,11 +37,11 @@ const GlassPanel = (props)=>{
|
|
|
37
37
|
if (!isControlled()) setInternalOpen(next);
|
|
38
38
|
local.onToggle?.(next);
|
|
39
39
|
};
|
|
40
|
-
const containerClasses = ()=>
|
|
41
|
-
const contentClasses = ()=>
|
|
40
|
+
const containerClasses = ()=>twMerge(CLASSES.base, !local.transparent && CLASSES.blur[blur()], local.transparent && CLASSES.flag.transparent, local.glow && CLASSES.flag.glow, local.accent && CLASSES.accent[accentKey()], local.class, local.className);
|
|
41
|
+
const contentClasses = ()=>twMerge(CLASSES.slot.content, local.collapsible && CLASSES.flag.contentCollapsible, local.collapsible && !isOpen() && CLASSES.flag.contentCollapsed, (!local.collapsible || isOpen()) && !(local.paddingX || local.paddingY) && CLASSES.size[size()], local.paddingX, local.paddingY);
|
|
42
42
|
return (()=>{
|
|
43
43
|
var _el$ = _tmpl$2(), _el$5 = _el$.firstChild, _el$6 = _el$5.firstChild;
|
|
44
|
-
|
|
44
|
+
spread(_el$, mergeProps(others, ()=>({
|
|
45
45
|
class: containerClasses()
|
|
46
46
|
}), {
|
|
47
47
|
get ["data-theme"] () {
|
|
@@ -51,14 +51,14 @@ const GlassPanel = (props)=>{
|
|
|
51
51
|
return local.style;
|
|
52
52
|
}
|
|
53
53
|
}), false, true);
|
|
54
|
-
|
|
54
|
+
insert(_el$, createComponent(Show, {
|
|
55
55
|
get when () {
|
|
56
|
-
return local.collapsible && local.title;
|
|
56
|
+
return memo(()=>!!local.collapsible)() && local.title;
|
|
57
57
|
},
|
|
58
58
|
get children () {
|
|
59
59
|
var _el$2 = _tmpl$(), _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling;
|
|
60
|
-
|
|
61
|
-
class:
|
|
60
|
+
spread(_el$2, mergeProps(()=>({
|
|
61
|
+
class: CLASSES.slot.headerButton
|
|
62
62
|
}), {
|
|
63
63
|
onClick: handleToggle,
|
|
64
64
|
get ["aria-expanded"] () {
|
|
@@ -66,10 +66,10 @@ const GlassPanel = (props)=>{
|
|
|
66
66
|
},
|
|
67
67
|
"aria-controls": contentId
|
|
68
68
|
}), false, true);
|
|
69
|
-
|
|
70
|
-
class:
|
|
69
|
+
spread(_el$3, mergeProps(()=>({
|
|
70
|
+
class: CLASSES.slot.headerLabel
|
|
71
71
|
})), false, true);
|
|
72
|
-
|
|
72
|
+
insert(_el$3, createComponent(Show, {
|
|
73
73
|
get when () {
|
|
74
74
|
return local.icon;
|
|
75
75
|
},
|
|
@@ -77,9 +77,9 @@ const GlassPanel = (props)=>{
|
|
|
77
77
|
return local.icon;
|
|
78
78
|
}
|
|
79
79
|
}), null);
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
class:
|
|
80
|
+
insert(_el$3, ()=>local.title, null);
|
|
81
|
+
spread(_el$4, mergeProps(()=>({
|
|
82
|
+
class: twMerge(CLASSES.slot.chevron, isOpen() && CLASSES.flag.chevronOpen)
|
|
83
83
|
}), {
|
|
84
84
|
fill: "none",
|
|
85
85
|
viewBox: "0 0 24 24",
|
|
@@ -89,8 +89,8 @@ const GlassPanel = (props)=>{
|
|
|
89
89
|
return _el$2;
|
|
90
90
|
}
|
|
91
91
|
}), _el$5);
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
setAttribute(_el$5, "id", contentId);
|
|
93
|
+
spread(_el$5, mergeProps(()=>({
|
|
94
94
|
class: contentClasses()
|
|
95
95
|
}), {
|
|
96
96
|
get style () {
|
|
@@ -100,12 +100,12 @@ const GlassPanel = (props)=>{
|
|
|
100
100
|
};
|
|
101
101
|
}
|
|
102
102
|
}), false, true);
|
|
103
|
-
|
|
104
|
-
class:
|
|
103
|
+
spread(_el$6, mergeProps(()=>({
|
|
104
|
+
class: twMerge(CLASSES.slot.contentInner, local.collapsible && CLASSES.flag.contentInnerHidden)
|
|
105
105
|
})), false, true);
|
|
106
|
-
|
|
106
|
+
insert(_el$6, ()=>local.children);
|
|
107
107
|
return _el$;
|
|
108
108
|
})();
|
|
109
109
|
};
|
|
110
|
-
const
|
|
111
|
-
export {
|
|
110
|
+
const GlassPanel = GlassPanel_GlassPanel;
|
|
111
|
+
export { GlassPanel as default };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export { __webpack_exports__default as default };
|
|
1
|
+
import external_GlassPanel_js_default from "./GlassPanel.js";
|
|
2
|
+
export { external_GlassPanel_js_default as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { insert, mergeProps, spread, template } from "solid-js/web";
|
|
2
|
+
import { splitProps } from "solid-js";
|
|
3
|
+
import { twMerge } from "tailwind-merge";
|
|
4
|
+
import { clsx } from "clsx";
|
|
5
5
|
import "./GlowCard.css";
|
|
6
|
-
import
|
|
7
|
-
var _tmpl$ = /*#__PURE__*/
|
|
6
|
+
import { CLASSES } from "./GlowCard.classes.js";
|
|
7
|
+
var _tmpl$ = /*#__PURE__*/ template("<div>");
|
|
8
8
|
function GlowCard(props) {
|
|
9
|
-
const [local, others] =
|
|
9
|
+
const [local, others] = splitProps(props, [
|
|
10
10
|
"children",
|
|
11
11
|
"class",
|
|
12
12
|
"className",
|
|
@@ -25,12 +25,12 @@ function GlowCard(props) {
|
|
|
25
25
|
};
|
|
26
26
|
return (()=>{
|
|
27
27
|
var _el$ = _tmpl$();
|
|
28
|
-
|
|
28
|
+
spread(_el$, mergeProps(others, {
|
|
29
29
|
get ["data-theme"] () {
|
|
30
30
|
return local.dataTheme;
|
|
31
31
|
},
|
|
32
32
|
get ["class"] () {
|
|
33
|
-
return
|
|
33
|
+
return twMerge(clsx(CLASSES.base, CLASSES.isolate, local.class, local.className));
|
|
34
34
|
},
|
|
35
35
|
get style () {
|
|
36
36
|
return local.style;
|
|
@@ -41,7 +41,7 @@ function GlowCard(props) {
|
|
|
41
41
|
e.currentTarget.style.setProperty("--mouse-y", "50%");
|
|
42
42
|
}
|
|
43
43
|
}), false, true);
|
|
44
|
-
|
|
44
|
+
insert(_el$, ()=>local.children);
|
|
45
45
|
return _el$;
|
|
46
46
|
})();
|
|
47
47
|
}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export { __webpack_exports__GlowCard as GlowCard };
|
|
1
|
+
import external_GlowCard_js_default from "./GlowCard.js";
|
|
2
|
+
export { external_GlowCard_js_default as GlowCard };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Dynamic, createComponent, mergeProps } from "solid-js/web";
|
|
2
2
|
import "./Grid.css";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
const
|
|
9
|
-
const merged = (
|
|
3
|
+
import { children, mergeProps as external_solid_js_mergeProps, splitProps } from "solid-js";
|
|
4
|
+
import { twMerge } from "tailwind-merge";
|
|
5
|
+
import external_clsx_default from "clsx";
|
|
6
|
+
import { mapResponsiveProp } from "../utils.js";
|
|
7
|
+
import { CLASSES } from "./Grid.classes.js";
|
|
8
|
+
const Grid = (props)=>{
|
|
9
|
+
const merged = external_solid_js_mergeProps({
|
|
10
10
|
as: "div"
|
|
11
11
|
}, props);
|
|
12
|
-
const [local, rest] =
|
|
12
|
+
const [local, rest] = splitProps(merged, [
|
|
13
13
|
"as",
|
|
14
14
|
"class",
|
|
15
15
|
"className",
|
|
@@ -21,19 +21,19 @@ const Grid_Grid = (props)=>{
|
|
|
21
21
|
"autoCols",
|
|
22
22
|
"autoRows"
|
|
23
23
|
]);
|
|
24
|
-
const resolvedChildren =
|
|
25
|
-
const classes = (
|
|
26
|
-
return
|
|
24
|
+
const resolvedChildren = children(()=>local.children);
|
|
25
|
+
const classes = external_clsx_default(CLASSES.base, mapResponsiveProp(local.cols, CLASSES.cols), mapResponsiveProp(local.rows, CLASSES.rows), mapResponsiveProp(local.flow, CLASSES.flow), mapResponsiveProp(local.gap, CLASSES.gap), mapResponsiveProp(local.autoCols, CLASSES.autoCols), mapResponsiveProp(local.autoRows, CLASSES.autoRows), local.class, local.className);
|
|
26
|
+
return createComponent(Dynamic, mergeProps({
|
|
27
27
|
get component () {
|
|
28
28
|
return local.as;
|
|
29
29
|
}
|
|
30
30
|
}, ()=>({
|
|
31
|
-
class:
|
|
31
|
+
class: twMerge(classes)
|
|
32
32
|
}), rest, {
|
|
33
33
|
get children () {
|
|
34
34
|
return resolvedChildren();
|
|
35
35
|
}
|
|
36
36
|
}));
|
|
37
37
|
};
|
|
38
|
-
const
|
|
39
|
-
export {
|
|
38
|
+
const grid_Grid = Grid;
|
|
39
|
+
export { grid_Grid as default };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export { __webpack_exports__default as default };
|
|
1
|
+
import external_Grid_js_default from "./Grid.js";
|
|
2
|
+
export { external_Grid_js_default as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { insert, mergeProps, spread, template } from "solid-js/web";
|
|
2
2
|
import "./Header.css";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
var _tmpl$ = /*#__PURE__*/
|
|
3
|
+
import { splitProps } from "solid-js";
|
|
4
|
+
import { twMerge } from "tailwind-merge";
|
|
5
|
+
import { CLASSES } from "./Header.classes.js";
|
|
6
|
+
var _tmpl$ = /*#__PURE__*/ template("<div>");
|
|
7
7
|
const HeaderRoot = (props)=>{
|
|
8
|
-
const [local, others] =
|
|
8
|
+
const [local, others] = splitProps(props, [
|
|
9
9
|
"children",
|
|
10
10
|
"class",
|
|
11
11
|
"className",
|
|
@@ -14,8 +14,8 @@ const HeaderRoot = (props)=>{
|
|
|
14
14
|
]);
|
|
15
15
|
return (()=>{
|
|
16
16
|
var _el$ = _tmpl$();
|
|
17
|
-
|
|
18
|
-
class:
|
|
17
|
+
spread(_el$, mergeProps(others, ()=>({
|
|
18
|
+
class: twMerge(CLASSES.base, local.class, local.className)
|
|
19
19
|
}), {
|
|
20
20
|
"data-slot": "header",
|
|
21
21
|
get ["data-theme"] () {
|
|
@@ -25,10 +25,10 @@ const HeaderRoot = (props)=>{
|
|
|
25
25
|
return local.style;
|
|
26
26
|
}
|
|
27
27
|
}), false, true);
|
|
28
|
-
|
|
28
|
+
insert(_el$, ()=>local.children);
|
|
29
29
|
return _el$;
|
|
30
30
|
})();
|
|
31
31
|
};
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
export { Header, HeaderRoot,
|
|
32
|
+
const Header_Header = HeaderRoot;
|
|
33
|
+
const Header = Header_Header;
|
|
34
|
+
export { Header_Header as Header, HeaderRoot, Header as default };
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
var __webpack_exports__HeaderRoot = __WEBPACK_EXTERNAL_MODULE__Header_js_94d20122__.HeaderRoot;
|
|
4
|
-
var __webpack_exports__default = __WEBPACK_EXTERNAL_MODULE__Header_js_94d20122__["default"];
|
|
5
|
-
export { __webpack_exports__Header as Header, __webpack_exports__HeaderRoot as HeaderRoot, __webpack_exports__default as default };
|
|
1
|
+
import external_Header_js_default, { Header, HeaderRoot } from "./Header.js";
|
|
2
|
+
export { Header, HeaderRoot, external_Header_js_default as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { mergeProps, spread, template } from "solid-js/web";
|
|
2
2
|
import "./Icon.css";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
var _tmpl$ = /*#__PURE__*/
|
|
3
|
+
import { createMemo, splitProps } from "solid-js";
|
|
4
|
+
import { twMerge } from "tailwind-merge";
|
|
5
|
+
import { CLASSES } from "./Icon.classes.js";
|
|
6
|
+
var _tmpl$ = /*#__PURE__*/ template("<span>");
|
|
7
7
|
const Icon = (props)=>{
|
|
8
|
-
const [local, others] =
|
|
8
|
+
const [local, others] = splitProps(props, [
|
|
9
9
|
"width",
|
|
10
10
|
"height",
|
|
11
11
|
"className",
|
|
@@ -16,10 +16,11 @@ const Icon = (props)=>{
|
|
|
16
16
|
]);
|
|
17
17
|
const width = local.width ?? 24;
|
|
18
18
|
const height = local.height ?? 24;
|
|
19
|
-
const
|
|
19
|
+
const name = local.name;
|
|
20
|
+
const classes = createMemo(()=>twMerge(CLASSES.base, name, local.class, local.className));
|
|
20
21
|
return (()=>{
|
|
21
22
|
var _el$ = _tmpl$();
|
|
22
|
-
|
|
23
|
+
spread(_el$, mergeProps(others, ()=>({
|
|
23
24
|
class: classes()
|
|
24
25
|
}), {
|
|
25
26
|
get style () {
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export { __webpack_exports__default as default };
|
|
1
|
+
import external_Icon_js_default from "./Icon.js";
|
|
2
|
+
export { external_Icon_js_default as default };
|