@pathscale/ui 1.2.7 → 1.2.9
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/_shared/index.js +1 -2
- package/dist/components/_shared/overlayPosition.js +1 -1
- package/dist/components/accordion/Accordion.js +2 -1
- package/dist/components/accordion/index.js +3 -2
- package/dist/components/alert/Alert.js +4 -3
- package/dist/components/alert/index.js +1 -2
- package/dist/components/auth-card/AuthCard.js +5 -5
- package/dist/components/auth-card/index.js +1 -2
- package/dist/components/auth-error-message/AuthErrorMessage.js +5 -5
- package/dist/components/auth-error-message/index.js +1 -2
- package/dist/components/auth-field-group/AuthFieldGroup.js +3 -3
- package/dist/components/auth-field-group/index.js +1 -2
- package/dist/components/auth-footer-links/AuthFooterLinks.js +1 -1
- package/dist/components/auth-footer-links/index.js +1 -2
- package/dist/components/auth-form/AuthForm.js +1 -1
- package/dist/components/auth-form/index.js +1 -2
- package/dist/components/auth-powered-by/AuthPoweredBy.js +3 -3
- package/dist/components/auth-powered-by/index.js +1 -2
- package/dist/components/auth-submit-button/AuthSubmitButton.js +3 -3
- package/dist/components/auth-submit-button/index.js +1 -2
- package/dist/components/auth-success-message/AuthSuccessMessage.js +5 -5
- package/dist/components/auth-success-message/index.js +1 -2
- package/dist/components/avatar/Avatar.js +2 -1
- package/dist/components/avatar/AvatarGroup.js +1 -1
- package/dist/components/avatar/index.js +1 -2
- package/dist/components/badge/index.js +2 -1
- package/dist/components/breadcrumbs/Breadcrumbs.js +2 -1
- package/dist/components/breadcrumbs/index.js +1 -2
- package/dist/components/button/Button.js +1 -1
- package/dist/components/button/index.js +1 -2
- package/dist/components/button-group/ButtonGroup.js +2 -1
- package/dist/components/button-group/index.js +3 -2
- package/dist/components/calendar/Calendar.js +3 -3
- package/dist/components/calendar/index.js +1 -2
- package/dist/components/card/Card.js +2 -1
- package/dist/components/card/index.js +3 -2
- package/dist/components/chatbubble/ChatBubble.js +11 -11
- package/dist/components/chatbubble/ChatBubbleAvatar.js +5 -5
- package/dist/components/chatbubble/ChatBubbleFooter.js +3 -3
- package/dist/components/chatbubble/ChatBubbleHeader.js +3 -3
- package/dist/components/chatbubble/ChatBubbleMessage.js +1 -1
- package/dist/components/chatbubble/ChatBubbleTime.js +3 -3
- package/dist/components/chatbubble/index.js +1 -2
- package/dist/components/checkbox/Checkbox.js +3 -3
- package/dist/components/checkbox/index.js +1 -2
- package/dist/components/checkbox-group/CheckboxGroup.js +3 -3
- package/dist/components/checkbox-group/index.js +4 -3
- package/dist/components/chip/index.js +2 -1
- package/dist/components/close-button/CloseButton.js +1 -1
- package/dist/components/close-button/index.js +1 -2
- package/dist/components/color-area/ColorArea.js +3 -3
- package/dist/components/color-area/index.js +3 -3
- package/dist/components/color-field/ColorField.js +3 -3
- package/dist/components/color-field/index.js +3 -3
- package/dist/components/color-picker/ColorPicker.js +11 -10
- package/dist/components/color-picker/index.js +3 -2
- package/dist/components/color-slider/ColorSlider.js +3 -3
- package/dist/components/color-slider/index.js +3 -3
- package/dist/components/color-swatch/ColorSwatch.js +3 -3
- package/dist/components/color-swatch/index.js +3 -3
- package/dist/components/color-swatch-picker/ColorSwatchPicker.js +2 -1
- package/dist/components/color-swatch-picker/index.js +1 -2
- package/dist/components/color-wheel-flower/ColorWheelFlower.js +11 -11
- package/dist/components/color-wheel-flower/index.js +2 -3
- package/dist/components/combo-box/ComboBox.js +2 -1
- package/dist/components/combo-box/index.js +3 -2
- package/dist/components/date-field/DateField.js +4 -3
- package/dist/components/date-field/index.js +3 -2
- package/dist/components/date-picker/DatePicker.js +5 -5
- package/dist/components/date-picker/index.js +1 -2
- package/dist/components/date-range-picker/DateRangePicker.js +5 -5
- package/dist/components/date-range-picker/index.js +1 -2
- package/dist/components/description/Description.js +2 -1
- package/dist/components/description/index.js +3 -2
- package/dist/components/disclosure/Disclosure.js +4 -3
- package/dist/components/disclosure/index.js +4 -3
- package/dist/components/disclosure-group/DisclosureGroup.js +2 -1
- package/dist/components/disclosure-group/index.js +5 -4
- package/dist/components/drawer/Drawer.js +2 -1
- package/dist/components/drawer/index.js +1 -2
- package/dist/components/dropdown/Dropdown.js +2 -1
- package/dist/components/dropdown/index.js +3 -2
- package/dist/components/empty-state/EmptyState.js +2 -1
- package/dist/components/empty-state/index.js +1 -2
- package/dist/components/error-message/ErrorMessage.js +2 -1
- package/dist/components/error-message/index.js +1 -2
- package/dist/components/field-error/FieldError.js +4 -3
- package/dist/components/field-error/index.js +1 -2
- package/dist/components/fieldset/Fieldset.js +2 -1
- package/dist/components/fieldset/index.js +3 -2
- package/dist/components/flex/Flex.js +3 -3
- package/dist/components/flex/index.js +1 -2
- package/dist/components/floating-dock/FloatingDock.js +2 -2
- package/dist/components/floating-dock/index.js +1 -2
- package/dist/components/footer/Footer.js +1 -1
- package/dist/components/footer/index.js +1 -2
- package/dist/components/form/FieldErrorMessage.js +2 -1
- package/dist/components/form/Form.js +6 -5
- package/dist/components/form/FormField.js +6 -5
- package/dist/components/form/FormSubmitButton.js +4 -3
- package/dist/components/form/index.js +6 -5
- package/dist/components/glass-panel/GlassPanel.js +3 -3
- package/dist/components/glass-panel/index.js +1 -2
- package/dist/components/glow-card/GlowCard.js +1 -1
- package/dist/components/glow-card/index.js +1 -2
- package/dist/components/grid/Grid.js +3 -3
- package/dist/components/grid/index.js +1 -2
- package/dist/components/header/Header.js +4 -3
- package/dist/components/header/index.js +3 -2
- package/dist/components/icon/Icon.js +1 -1
- package/dist/components/icon/index.js +1 -2
- package/dist/components/immersive-landing/ImmersiveLanding.js +9 -9
- package/dist/components/immersive-landing/ImmersiveLandingArrows.js +1 -1
- package/dist/components/immersive-landing/ImmersiveLandingNavigation.js +3 -3
- package/dist/components/immersive-landing/ImmersiveLandingPage.js +1 -1
- package/dist/components/immersive-landing/components/CookieConsent.js +12 -12
- package/dist/components/immersive-landing/components/FirefoxPWABanner.js +14 -14
- package/dist/components/immersive-landing/components/PWAInstallPrompt.js +11 -11
- package/dist/components/immersive-landing/index.js +6 -7
- package/dist/components/immersive-landing/useImmersiveLanding.js +1 -1
- package/dist/components/input/Input.js +3 -3
- package/dist/components/input/index.js +3 -3
- package/dist/components/input-group/InputGroup.js +4 -3
- package/dist/components/input-group/index.js +3 -2
- package/dist/components/input-otp/InputOTP.js +4 -3
- package/dist/components/input-otp/index.js +1 -2
- package/dist/components/join/Join.js +1 -1
- package/dist/components/join/index.js +1 -2
- package/dist/components/kbd/Kbd.js +24 -23
- package/dist/components/kbd/index.js +1 -2
- package/dist/components/label/Label.js +2 -1
- package/dist/components/label/index.js +3 -2
- package/dist/components/language-switcher/LanguageSwitcher.js +10 -10
- package/dist/components/language-switcher/createI18n.js +2 -2
- package/dist/components/language-switcher/index.js +2 -3
- package/dist/components/link/Link.js +4 -3
- package/dist/components/link/index.js +1 -2
- package/dist/components/list-box/ListBox.js +2 -1
- package/dist/components/list-box/ListBoxItem.js +4 -3
- package/dist/components/list-box/ListBoxSection.js +2 -1
- package/dist/components/list-box/index.js +10 -9
- package/dist/components/live-chat/LiveChatBubble.js +3 -3
- package/dist/components/live-chat/LiveChatPanel.js +9 -9
- package/dist/components/live-chat/index.js +2 -3
- package/dist/components/menu/Menu.js +8 -7
- package/dist/components/menu/MenuItem.js +4 -3
- package/dist/components/menu/MenuSection.js +2 -1
- package/dist/components/menu/index.js +4 -3
- package/dist/components/meter/Meter.js +4 -3
- package/dist/components/meter/index.js +1 -2
- package/dist/components/modal/Modal.js +4 -3
- package/dist/components/modal/index.js +1 -2
- package/dist/components/navbar/Navbar.classes.d.ts +9 -0
- package/dist/components/navbar/Navbar.classes.js +9 -0
- package/dist/components/navbar/Navbar.js +11 -11
- package/dist/components/navbar/NavbarRow.js +1 -1
- package/dist/components/navbar/NavbarSection.js +1 -1
- package/dist/components/navbar/NavbarStack.js +1 -1
- package/dist/components/navbar/index.js +1 -2
- package/dist/components/noise-background/NoiseBackground.js +3 -3
- package/dist/components/noise-background/index.js +1 -2
- package/dist/components/number-field/NumberField.js +2 -1
- package/dist/components/number-field/index.js +1 -2
- package/dist/components/pagination/Pagination.js +4 -4
- package/dist/components/pagination/index.js +1 -2
- package/dist/components/password-field/PasswordField.js +9 -8
- package/dist/components/password-field/index.js +1 -2
- package/dist/components/password-requirements/PasswordRequirements.js +5 -5
- package/dist/components/password-requirements/index.js +1 -2
- package/dist/components/password-rules/index.js +1 -2
- package/dist/components/popover/Popover.js +2 -1
- package/dist/components/popover/index.js +4 -3
- package/dist/components/progress-bar/ProgressBar.js +1 -1
- package/dist/components/progress-bar/index.js +1 -2
- package/dist/components/progress-circle/ProgressCircle.js +3 -3
- package/dist/components/progress-circle/index.js +1 -2
- package/dist/components/radio/Radio.js +1 -1
- package/dist/components/radio/index.js +1 -2
- package/dist/components/radio-group/RadioGroup.js +3 -3
- package/dist/components/radio-group/index.js +4 -3
- package/dist/components/range-calendar/RangeCalendar.js +5 -5
- package/dist/components/range-calendar/index.js +1 -2
- package/dist/components/scroll-shadow/ScrollShadow.js +3 -3
- package/dist/components/scroll-shadow/index.js +1 -2
- package/dist/components/scroll-shadow/useScrollShadow.js +1 -1
- package/dist/components/search-field/SearchField.js +6 -5
- package/dist/components/search-field/index.js +1 -2
- package/dist/components/select/Select.js +1 -1
- package/dist/components/select/index.js +1 -2
- package/dist/components/separator/Separator.js +2 -1
- package/dist/components/separator/index.js +1 -2
- package/dist/components/size-picker/SizePicker.js +3 -3
- package/dist/components/size-picker/index.js +2 -3
- package/dist/components/size-picker/sizeStore.js +2 -2
- package/dist/components/skeleton/Skeleton.js +1 -1
- package/dist/components/skeleton/index.js +1 -2
- package/dist/components/slider/Slider.js +1 -1
- package/dist/components/slider/index.js +1 -2
- package/dist/components/spinner/Spinner.js +3 -3
- package/dist/components/spinner/index.js +1 -2
- package/dist/components/surface/Surface.js +2 -1
- package/dist/components/surface/index.js +1 -2
- package/dist/components/table/ExpandToggle.js +4 -4
- package/dist/components/table/InlineConfirm.js +4 -4
- package/dist/components/table/MobileListView.js +3 -3
- package/dist/components/table/SortIcon.js +5 -5
- package/dist/components/table/Table.js +2 -1
- package/dist/components/table/VirtualSpacerRow.js +1 -1
- package/dist/components/table/index.js +7 -8
- package/dist/components/tabs/Tabs.js +3 -2
- package/dist/components/tabs/index.js +1 -2
- package/dist/components/tag/Tag.js +4 -3
- package/dist/components/tag/index.js +3 -2
- package/dist/components/tag-group/TagGroup.js +4 -3
- package/dist/components/tag-group/index.js +1 -2
- package/dist/components/text/Text.js +2 -1
- package/dist/components/text/index.js +1 -2
- package/dist/components/text-area/TextArea.js +4 -3
- package/dist/components/text-area/index.js +1 -2
- package/dist/components/text-field/TextField.js +4 -3
- package/dist/components/text-field/index.js +3 -2
- package/dist/components/textarea/Textarea.js +4 -3
- package/dist/components/textarea/index.js +1 -2
- package/dist/components/theme-color-picker/ThemeColorPicker.js +7 -7
- package/dist/components/theme-color-picker/hueShift.js +5 -5
- package/dist/components/theme-color-picker/index.js +2 -3
- package/dist/components/time-field/TimeField.js +2 -1
- package/dist/components/time-field/index.js +3 -2
- package/dist/components/toast/Toast.js +7 -6
- package/dist/components/toast/index.js +1 -2
- package/dist/components/toggle/Toggle.js +1 -1
- package/dist/components/toggle/index.js +1 -2
- package/dist/components/toolbar/Toolbar.js +2 -1
- package/dist/components/toolbar/index.js +1 -2
- package/dist/components/tooltip/Tooltip.js +4 -3
- package/dist/components/tooltip/index.js +1 -2
- package/dist/components/utils.js +2 -2
- package/dist/components/video-preview/VideoPreview.js +4 -3
- package/dist/components/video-preview/index.js +1 -2
- package/dist/hooks/form/index.js +4 -5
- package/dist/hooks/layout/index.js +1 -2
- package/dist/hooks/table/index.js +8 -9
- package/dist/hooks/table/useAnchoredOverlayPosition.js +1 -1
- package/dist/index.js +108 -108
- package/dist/lib/refs/index.js +1 -2
- package/dist/lib/style/index.js +1 -2
- package/dist/lib/tag/index.js +2 -3
- package/dist/motion/index.js +10 -11
- package/dist/motion/solid/AnimatedCollapse.js +5 -4
- package/dist/motion/solid/MotionDiv.js +4 -3
- package/dist/motion/solid/Presence.js +4 -3
- package/dist/motion/solid/index.js +3 -4
- package/dist/primitives/streaming/index.js +2 -3
- package/dist/primitives/virtualizer/index.js +1 -2
- package/dist/purge-manifest.json +329 -29
- package/package.json +7 -7
|
@@ -16,7 +16,7 @@ const normalizeColor = (value, format)=>{
|
|
|
16
16
|
const formatted = formatColor(parsed, format);
|
|
17
17
|
return "hex" === format ? formatted.toUpperCase() : formatted;
|
|
18
18
|
};
|
|
19
|
-
const
|
|
19
|
+
const ColorField = (props)=>{
|
|
20
20
|
const [local, others] = splitProps(props, [
|
|
21
21
|
"class",
|
|
22
22
|
"className",
|
|
@@ -171,5 +171,5 @@ const ColorField_ColorField = (props)=>{
|
|
|
171
171
|
return _el$;
|
|
172
172
|
})();
|
|
173
173
|
};
|
|
174
|
-
const
|
|
175
|
-
export
|
|
174
|
+
const color_field_ColorField = ColorField;
|
|
175
|
+
export default color_field_ColorField;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
const color_field =
|
|
3
|
-
export
|
|
1
|
+
import ColorField from "./ColorField.js";
|
|
2
|
+
const color_field = ColorField;
|
|
3
|
+
export default color_field;
|
|
@@ -2,9 +2,9 @@ import { createComponent, insert, mergeProps, spread, template } from "solid-js/
|
|
|
2
2
|
import "./ColorPicker.css";
|
|
3
3
|
import { createContext, createEffect, createMemo, createSignal, splitProps, useContext } from "solid-js";
|
|
4
4
|
import { twMerge } from "tailwind-merge";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
5
|
+
import color_area from "../color-area/index.js";
|
|
6
|
+
import color_field from "../color-field/index.js";
|
|
7
|
+
import color_slider from "../color-slider/index.js";
|
|
8
8
|
import { formatColor, parseColor, rgbToHex } from "../color-wheel-flower/ColorUtils.js";
|
|
9
9
|
import { CLASSES } from "./ColorPicker.classes.js";
|
|
10
10
|
var _tmpl$ = /*#__PURE__*/ template("<div>");
|
|
@@ -117,7 +117,7 @@ const ColorPickerArea = (props)=>{
|
|
|
117
117
|
"onChange",
|
|
118
118
|
"dataTheme"
|
|
119
119
|
]);
|
|
120
|
-
if (!ctx) return createComponent(
|
|
120
|
+
if (!ctx) return createComponent(color_area, mergeProps(others, ()=>({
|
|
121
121
|
class: twMerge(CLASSES.slot.area, local.class, local.className)
|
|
122
122
|
}), {
|
|
123
123
|
get dataTheme () {
|
|
@@ -131,7 +131,7 @@ const ColorPickerArea = (props)=>{
|
|
|
131
131
|
ctx.setFromArea(next);
|
|
132
132
|
local.onChange?.(next);
|
|
133
133
|
};
|
|
134
|
-
return createComponent(
|
|
134
|
+
return createComponent(color_area, mergeProps(others, {
|
|
135
135
|
get value () {
|
|
136
136
|
return ctx.value().hsv;
|
|
137
137
|
},
|
|
@@ -158,7 +158,7 @@ const ColorPickerSlider = (props)=>{
|
|
|
158
158
|
"dataTheme"
|
|
159
159
|
]);
|
|
160
160
|
const sliderType = ()=>local.type ?? "hue";
|
|
161
|
-
if (!ctx) return createComponent(
|
|
161
|
+
if (!ctx) return createComponent(color_slider, mergeProps(others, {
|
|
162
162
|
get type () {
|
|
163
163
|
return sliderType();
|
|
164
164
|
}
|
|
@@ -191,7 +191,7 @@ const ColorPickerSlider = (props)=>{
|
|
|
191
191
|
...userStyle
|
|
192
192
|
};
|
|
193
193
|
};
|
|
194
|
-
return createComponent(
|
|
194
|
+
return createComponent(color_slider, mergeProps(others, {
|
|
195
195
|
get type () {
|
|
196
196
|
return sliderType();
|
|
197
197
|
},
|
|
@@ -223,7 +223,7 @@ const ColorPickerField = (props)=>{
|
|
|
223
223
|
"format",
|
|
224
224
|
"dataTheme"
|
|
225
225
|
]);
|
|
226
|
-
if (!ctx) return createComponent(
|
|
226
|
+
if (!ctx) return createComponent(color_field, mergeProps(others, ()=>({
|
|
227
227
|
class: twMerge(CLASSES.slot.field, local.class, local.className)
|
|
228
228
|
}), {
|
|
229
229
|
get dataTheme () {
|
|
@@ -243,7 +243,7 @@ const ColorPickerField = (props)=>{
|
|
|
243
243
|
ctx.setFromField(next);
|
|
244
244
|
local.onChange?.(next);
|
|
245
245
|
};
|
|
246
|
-
return createComponent(
|
|
246
|
+
return createComponent(color_field, mergeProps(others, {
|
|
247
247
|
get value () {
|
|
248
248
|
return ctx.value().hex;
|
|
249
249
|
},
|
|
@@ -364,4 +364,5 @@ const ColorPicker = Object.assign(ColorPickerRoot, {
|
|
|
364
364
|
Slider: ColorPickerSlider,
|
|
365
365
|
Field: ColorPickerField
|
|
366
366
|
});
|
|
367
|
-
export
|
|
367
|
+
export default ColorPicker;
|
|
368
|
+
export { ColorPicker, ColorPickerArea, ColorPickerField, ColorPickerRoot, ColorPickerSlider };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
1
|
+
import { ColorPicker as external_ColorPicker_js_ColorPicker, ColorPickerArea, ColorPickerField, ColorPickerRoot, ColorPickerSlider } from "./ColorPicker.js";
|
|
2
|
+
export default external_ColorPicker_js_ColorPicker;
|
|
3
|
+
export { ColorPickerArea, ColorPickerField, ColorPickerRoot, ColorPickerSlider, external_ColorPicker_js_ColorPicker as ColorPicker };
|
|
@@ -18,7 +18,7 @@ const fromPercent = (type, percent)=>{
|
|
|
18
18
|
if ("alpha" === type) return clamped / 100;
|
|
19
19
|
return clamped / 100 * 360;
|
|
20
20
|
};
|
|
21
|
-
const
|
|
21
|
+
const ColorSlider = (props)=>{
|
|
22
22
|
const [local, others] = splitProps(props, [
|
|
23
23
|
"class",
|
|
24
24
|
"className",
|
|
@@ -183,5 +183,5 @@ const ColorSlider_ColorSlider = (props)=>{
|
|
|
183
183
|
return _el$;
|
|
184
184
|
})();
|
|
185
185
|
};
|
|
186
|
-
const
|
|
187
|
-
export
|
|
186
|
+
const color_slider_ColorSlider = ColorSlider;
|
|
187
|
+
export default color_slider_ColorSlider;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
const color_slider =
|
|
3
|
-
export
|
|
1
|
+
import ColorSlider from "./ColorSlider.js";
|
|
2
|
+
const color_slider = ColorSlider;
|
|
3
|
+
export default color_slider;
|
|
@@ -9,7 +9,7 @@ const invokeEventHandler = (handler, event)=>{
|
|
|
9
9
|
if ("function" == typeof handler) return void handler(event);
|
|
10
10
|
if (Array.isArray(handler) && "function" == typeof handler[0]) handler[0](handler[1], event);
|
|
11
11
|
};
|
|
12
|
-
const
|
|
12
|
+
const ColorSwatch = (props)=>{
|
|
13
13
|
const picker = useContext(ColorSwatchPickerContext);
|
|
14
14
|
const [local, others] = splitProps(props, [
|
|
15
15
|
"class",
|
|
@@ -129,5 +129,5 @@ const ColorSwatch_ColorSwatch = (props)=>{
|
|
|
129
129
|
return _el$;
|
|
130
130
|
})();
|
|
131
131
|
};
|
|
132
|
-
const
|
|
133
|
-
export
|
|
132
|
+
const color_swatch_ColorSwatch = ColorSwatch;
|
|
133
|
+
export default color_swatch_ColorSwatch;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
const color_swatch =
|
|
3
|
-
export
|
|
1
|
+
import ColorSwatch from "./ColorSwatch.js";
|
|
2
|
+
const color_swatch = ColorSwatch;
|
|
3
|
+
export default color_swatch;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { ColorSwatchPicker, ColorSwatchPickerContext, external_ColorSwatchPicker_js_default as default };
|
|
1
|
+
export { ColorSwatchPicker, ColorSwatchPickerContext, default } from "./ColorSwatchPicker.js";
|
|
@@ -3,8 +3,8 @@ import "./ColorWheelFlower.css";
|
|
|
3
3
|
import { For, createEffect, createMemo, createSignal, onCleanup, splitProps } from "solid-js";
|
|
4
4
|
import { clsx } from "clsx";
|
|
5
5
|
import { twMerge } from "tailwind-merge";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
6
|
+
import color_swatch from "../color-swatch/index.js";
|
|
7
|
+
import color_swatch_picker from "../color-swatch-picker/index.js";
|
|
8
8
|
import { useColorPickerContext } from "./colorWheelFlowerContext.js";
|
|
9
9
|
import { createColorFromHsl, rgbToHex, rgbToHsl } from "./ColorUtils.js";
|
|
10
10
|
import { motionDistances, motionDurations, motionEasings, prefersReducedMotion, runMotion } from "../../motion/index.js";
|
|
@@ -59,7 +59,7 @@ const readMotionState = (el)=>{
|
|
|
59
59
|
y: 0,
|
|
60
60
|
scale: 1
|
|
61
61
|
};
|
|
62
|
-
if ("
|
|
62
|
+
if ("u" > typeof DOMMatrixReadOnly) {
|
|
63
63
|
const matrix = new DOMMatrixReadOnly(transform);
|
|
64
64
|
return {
|
|
65
65
|
opacity,
|
|
@@ -368,7 +368,7 @@ const CENTER_INDEX = LAYOUT.findIndex((l)=>l.isCenter);
|
|
|
368
368
|
const MAX_RADIUS = Math.max(...LAYOUT.map((l)=>Math.sqrt(l.offsetX ** 2 + l.offsetY ** 2)));
|
|
369
369
|
const MAX_WAVE_DISTANCE = 2 * MAX_RADIUS;
|
|
370
370
|
const MAX_WAVE_DELAY = 0.12;
|
|
371
|
-
const
|
|
371
|
+
const ColorWheelFlower = (props)=>{
|
|
372
372
|
const [local] = splitProps(props, [
|
|
373
373
|
"class",
|
|
374
374
|
"className"
|
|
@@ -383,8 +383,8 @@ const ColorWheelFlower_ColorWheelFlower = (props)=>{
|
|
|
383
383
|
active: false
|
|
384
384
|
});
|
|
385
385
|
const [pulseState, setPulseState] = createSignal(null);
|
|
386
|
-
const [currentTheme, setCurrentTheme] = createSignal("
|
|
387
|
-
if ("
|
|
386
|
+
const [currentTheme, setCurrentTheme] = createSignal("u" > typeof document ? document.documentElement.getAttribute("data-theme") ?? "light" : "light");
|
|
387
|
+
if ("u" > typeof window) {
|
|
388
388
|
const observer = new MutationObserver(()=>{
|
|
389
389
|
const t = document.documentElement.getAttribute("data-theme");
|
|
390
390
|
setCurrentTheme("dark" === t ? "dark" : "light");
|
|
@@ -419,7 +419,7 @@ const ColorWheelFlower_ColorWheelFlower = (props)=>{
|
|
|
419
419
|
const items = colors();
|
|
420
420
|
if (current.hsl.s <= 6 && current.hsl.l >= 95 && CENTER_INDEX >= 0) return CENTER_INDEX;
|
|
421
421
|
let closest = 0;
|
|
422
|
-
let bestScore =
|
|
422
|
+
let bestScore = 1 / 0;
|
|
423
423
|
for(let index = 0; index < items.length; index += 1){
|
|
424
424
|
const item = items[index];
|
|
425
425
|
if (item.isCenter) continue;
|
|
@@ -596,7 +596,7 @@ const ColorWheelFlower_ColorWheelFlower = (props)=>{
|
|
|
596
596
|
spread(_el$6, mergeProps(()=>({
|
|
597
597
|
class: twMerge(CLASSES.ring.base, CLASSES.ring.inner)
|
|
598
598
|
})), false, false);
|
|
599
|
-
insert(_el$, createComponent(
|
|
599
|
+
insert(_el$, createComponent(color_swatch_picker, mergeProps(()=>({
|
|
600
600
|
class: CLASSES.picker
|
|
601
601
|
}), {
|
|
602
602
|
get value () {
|
|
@@ -742,7 +742,7 @@ const ColorWheelFlower_ColorWheelFlower = (props)=>{
|
|
|
742
742
|
};
|
|
743
743
|
}
|
|
744
744
|
}), false, false);
|
|
745
|
-
insert(_el$9, createComponent(
|
|
745
|
+
insert(_el$9, createComponent(color_swatch, mergeProps({
|
|
746
746
|
get color () {
|
|
747
747
|
return item.hex;
|
|
748
748
|
},
|
|
@@ -793,5 +793,5 @@ const ColorWheelFlower_ColorWheelFlower = (props)=>{
|
|
|
793
793
|
return _el$;
|
|
794
794
|
})();
|
|
795
795
|
};
|
|
796
|
-
const
|
|
797
|
-
export
|
|
796
|
+
const color_wheel_flower_ColorWheelFlower = ColorWheelFlower;
|
|
797
|
+
export default color_wheel_flower_ColorWheelFlower;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export { ColorPickerContext, external_ColorWheelFlower_js_default as ColorWheelFlower, useColorPickerContext };
|
|
1
|
+
export { default as ColorWheelFlower } from "./ColorWheelFlower.js";
|
|
2
|
+
export { ColorPickerContext, useColorPickerContext } from "./colorWheelFlowerContext.js";
|
|
@@ -738,4 +738,5 @@ const ComboBox = Object.assign(ComboBoxRoot, {
|
|
|
738
738
|
List: ComboBoxList
|
|
739
739
|
});
|
|
740
740
|
const combo_box_ComboBox = ComboBox;
|
|
741
|
-
export
|
|
741
|
+
export default combo_box_ComboBox;
|
|
742
|
+
export { ComboBox, ComboBoxInput, ComboBoxInputGroup, ComboBoxList, ComboBoxPopover, ComboBoxRoot, ComboBoxTrigger };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
1
|
+
import { ComboBox as external_ComboBox_js_ComboBox, ComboBoxInput, ComboBoxInputGroup, ComboBoxList, ComboBoxPopover, ComboBoxRoot, ComboBoxTrigger } from "./ComboBox.js";
|
|
2
|
+
export default external_ComboBox_js_ComboBox;
|
|
3
|
+
export { ComboBoxInput, ComboBoxInputGroup, ComboBoxList, ComboBoxPopover, ComboBoxRoot, ComboBoxTrigger, external_ComboBox_js_ComboBox as ComboBox };
|
|
@@ -315,7 +315,7 @@ const DateFieldSuffix = (props)=>{
|
|
|
315
315
|
return _el$7;
|
|
316
316
|
})();
|
|
317
317
|
};
|
|
318
|
-
const
|
|
318
|
+
const DateField = Object.assign(DateFieldRoot, {
|
|
319
319
|
Root: DateFieldRoot,
|
|
320
320
|
Group: DateFieldGroup,
|
|
321
321
|
Input: DateFieldInput,
|
|
@@ -324,5 +324,6 @@ const DateField_DateField = Object.assign(DateFieldRoot, {
|
|
|
324
324
|
Prefix: DateFieldPrefix,
|
|
325
325
|
Suffix: DateFieldSuffix
|
|
326
326
|
});
|
|
327
|
-
const
|
|
328
|
-
export
|
|
327
|
+
const date_field_DateField = DateField;
|
|
328
|
+
export default date_field_DateField;
|
|
329
|
+
export { DateField, DateFieldGroup, DateFieldInput, DateFieldInputContainer, DateFieldPrefix, DateFieldRoot, DateFieldSegment, DateFieldSuffix };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
1
|
+
import { DateField as external_DateField_js_DateField, DateFieldGroup, DateFieldInput, DateFieldInputContainer, DateFieldPrefix, DateFieldRoot, DateFieldSegment, DateFieldSuffix } from "./DateField.js";
|
|
2
|
+
export default external_DateField_js_DateField;
|
|
3
|
+
export { DateFieldGroup, DateFieldInput, DateFieldInputContainer, DateFieldPrefix, DateFieldRoot, DateFieldSegment, DateFieldSuffix, external_DateField_js_DateField as DateField };
|
|
@@ -3,10 +3,10 @@ import "./DatePicker.css";
|
|
|
3
3
|
import { Show, createMemo, createUniqueId, splitProps } from "solid-js";
|
|
4
4
|
import { twMerge } from "tailwind-merge";
|
|
5
5
|
import { formatDate, toISODate, useDateSelection, usePickerOpenState } from "../../hooks/date/index.js";
|
|
6
|
-
import
|
|
6
|
+
import calendar from "../calendar/index.js";
|
|
7
7
|
import { CLASSES } from "./DatePicker.classes.js";
|
|
8
8
|
var _tmpl$ = /*#__PURE__*/ template("<input type=hidden>"), _tmpl$2 = /*#__PURE__*/ template("<div>"), _tmpl$3 = /*#__PURE__*/ template("<div><button type=button><span></span><span><svg><rect x=3 y=4 width=18 height=18 rx=2 ry=2></rect><line x1=16 y1=2 x2=16 y2=6></line><line x1=8 y1=2 x2=8 y2=6></line><line x1=3 y1=10 x2=21 y2=10>");
|
|
9
|
-
const
|
|
9
|
+
const DatePicker = (props)=>{
|
|
10
10
|
const [local, others] = splitProps(props, [
|
|
11
11
|
"class",
|
|
12
12
|
"className",
|
|
@@ -164,7 +164,7 @@ const DatePicker_DatePicker = (props)=>{
|
|
|
164
164
|
role: "dialog",
|
|
165
165
|
"aria-modal": "false"
|
|
166
166
|
}), false, true);
|
|
167
|
-
insert(_el$7, createComponent(
|
|
167
|
+
insert(_el$7, createComponent(calendar, mergeProps(()=>({
|
|
168
168
|
class: CLASSES.Calendar.base
|
|
169
169
|
}), {
|
|
170
170
|
"data-slot": "date-picker-calendar",
|
|
@@ -197,5 +197,5 @@ const DatePicker_DatePicker = (props)=>{
|
|
|
197
197
|
return _el$;
|
|
198
198
|
})();
|
|
199
199
|
};
|
|
200
|
-
const
|
|
201
|
-
export
|
|
200
|
+
const date_picker_DatePicker = DatePicker;
|
|
201
|
+
export default date_picker_DatePicker;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { external_DatePicker_js_default as default };
|
|
1
|
+
export { default } from "./DatePicker.js";
|
|
@@ -3,10 +3,10 @@ import "./DateRangePicker.css";
|
|
|
3
3
|
import { Show, createEffect, createMemo, createUniqueId, splitProps } from "solid-js";
|
|
4
4
|
import { twMerge } from "tailwind-merge";
|
|
5
5
|
import { formatDate, toISODate, usePickerOpenState, useRangeSelection } from "../../hooks/date/index.js";
|
|
6
|
-
import
|
|
6
|
+
import calendar from "../calendar/index.js";
|
|
7
7
|
import { CLASSES } from "./DateRangePicker.classes.js";
|
|
8
8
|
var _tmpl$ = /*#__PURE__*/ template("<input type=hidden>"), _tmpl$2 = /*#__PURE__*/ template("<div>"), _tmpl$3 = /*#__PURE__*/ template("<div><button type=button><span></span><span>-</span><span></span><span><svg><rect x=3 y=4 width=18 height=18 rx=2 ry=2></rect><line x1=16 y1=2 x2=16 y2=6></line><line x1=8 y1=2 x2=8 y2=6></line><line x1=3 y1=10 x2=21 y2=10>");
|
|
9
|
-
const
|
|
9
|
+
const DateRangePicker = (props)=>{
|
|
10
10
|
const [local, others] = splitProps(props, [
|
|
11
11
|
"class",
|
|
12
12
|
"className",
|
|
@@ -208,7 +208,7 @@ const DateRangePicker_DateRangePicker = (props)=>{
|
|
|
208
208
|
role: "dialog",
|
|
209
209
|
"aria-modal": "false"
|
|
210
210
|
}), false, true);
|
|
211
|
-
insert(_el$0, createComponent(
|
|
211
|
+
insert(_el$0, createComponent(calendar, mergeProps(()=>({
|
|
212
212
|
class: CLASSES.Calendar.base
|
|
213
213
|
}), {
|
|
214
214
|
"data-slot": "date-range-picker-calendar",
|
|
@@ -254,5 +254,5 @@ const DateRangePicker_DateRangePicker = (props)=>{
|
|
|
254
254
|
return _el$;
|
|
255
255
|
})();
|
|
256
256
|
};
|
|
257
|
-
const
|
|
258
|
-
export
|
|
257
|
+
const date_range_picker_DateRangePicker = DateRangePicker;
|
|
258
|
+
export default date_range_picker_DateRangePicker;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { external_DateRangePicker_js_default as default };
|
|
1
|
+
export { default } from "./DateRangePicker.js";
|
|
@@ -37,4 +37,5 @@ const Description = Object.assign(DescriptionRoot, {
|
|
|
37
37
|
Root: DescriptionRoot
|
|
38
38
|
});
|
|
39
39
|
const description_Description = Description;
|
|
40
|
-
export
|
|
40
|
+
export default description_Description;
|
|
41
|
+
export { Description, DescriptionRoot };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
1
|
+
import { Description as external_Description_js_Description, DescriptionRoot } from "./Description.js";
|
|
2
|
+
export default external_Description_js_Description;
|
|
3
|
+
export { DescriptionRoot, external_Description_js_Description as Description };
|
|
@@ -290,7 +290,7 @@ const DisclosureIndicator = (props)=>{
|
|
|
290
290
|
return _el$7;
|
|
291
291
|
})();
|
|
292
292
|
};
|
|
293
|
-
const
|
|
293
|
+
const Disclosure = Object.assign(DisclosureRoot, {
|
|
294
294
|
Root: DisclosureRoot,
|
|
295
295
|
Heading: DisclosureHeading,
|
|
296
296
|
Trigger: DisclosureTrigger,
|
|
@@ -298,5 +298,6 @@ const Disclosure_Disclosure = Object.assign(DisclosureRoot, {
|
|
|
298
298
|
Body: DisclosureBody,
|
|
299
299
|
Indicator: DisclosureIndicator
|
|
300
300
|
});
|
|
301
|
-
const
|
|
302
|
-
export
|
|
301
|
+
const disclosure_Disclosure = Disclosure;
|
|
302
|
+
export default disclosure_Disclosure;
|
|
303
|
+
export { DisclosureBody, DisclosureContent, DisclosureHeading, DisclosureIndicator, DisclosureRoot, DisclosureTrigger };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
const disclosure =
|
|
3
|
-
export
|
|
1
|
+
import Disclosure, { DisclosureBody, DisclosureContent, DisclosureHeading, DisclosureIndicator, DisclosureRoot, DisclosureTrigger } from "./Disclosure.js";
|
|
2
|
+
const disclosure = Disclosure;
|
|
3
|
+
export default disclosure;
|
|
4
|
+
export { DisclosureBody, DisclosureContent, DisclosureHeading, DisclosureIndicator, DisclosureRoot, DisclosureTrigger };
|
|
@@ -70,4 +70,5 @@ const DisclosureGroup = Object.assign(DisclosureGroupRoot, {
|
|
|
70
70
|
Root: DisclosureGroupRoot
|
|
71
71
|
});
|
|
72
72
|
const disclosure_group_DisclosureGroup = DisclosureGroup;
|
|
73
|
-
export
|
|
73
|
+
export default disclosure_group_DisclosureGroup;
|
|
74
|
+
export { DisclosureGroupContext, DisclosureGroupRoot };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export
|
|
1
|
+
import DisclosureGroup, { DisclosureGroupRoot } from "./DisclosureGroup.js";
|
|
2
|
+
const disclosure_group = DisclosureGroup;
|
|
3
|
+
export { useDisclosureGroupNavigation } from "./useDisclosureGroupNavigation.js";
|
|
4
|
+
export default disclosure_group;
|
|
5
|
+
export { DisclosureGroupRoot };
|
|
@@ -673,4 +673,5 @@ const drawer_Drawer = Drawer;
|
|
|
673
673
|
delegateEvents([
|
|
674
674
|
"click"
|
|
675
675
|
]);
|
|
676
|
-
export
|
|
676
|
+
export default drawer_Drawer;
|
|
677
|
+
export { DrawerBackdrop, DrawerBody, DrawerClose, DrawerCloseTrigger, DrawerContent, DrawerDialog, DrawerFooter, DrawerHandle, DrawerHeader, DrawerHeading, DrawerRoot, DrawerTrigger };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { DrawerBackdrop, DrawerBody, DrawerClose, DrawerCloseTrigger, DrawerContent, DrawerDialog, DrawerFooter, DrawerHandle, DrawerHeader, DrawerHeading, DrawerRoot, DrawerTrigger, external_Drawer_js_default as default };
|
|
1
|
+
export { DrawerBackdrop, DrawerBody, DrawerClose, DrawerCloseTrigger, DrawerContent, DrawerDialog, DrawerFooter, DrawerHandle, DrawerHeader, DrawerHeading, DrawerRoot, DrawerTrigger, default } from "./Drawer.js";
|
|
@@ -534,4 +534,5 @@ const Dropdown = Object.assign(DropdownRoot, {
|
|
|
534
534
|
Group: DropdownGroup,
|
|
535
535
|
Separator: DropdownSeparator
|
|
536
536
|
});
|
|
537
|
-
export
|
|
537
|
+
export default Dropdown;
|
|
538
|
+
export { Dropdown, DropdownGroup, DropdownItem, DropdownMenu, DropdownRoot, DropdownSeparator, DropdownTrigger };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
1
|
+
import { Dropdown as external_Dropdown_js_Dropdown } from "./Dropdown.js";
|
|
2
|
+
export default external_Dropdown_js_Dropdown;
|
|
3
|
+
export { external_Dropdown_js_Dropdown as Dropdown };
|
|
@@ -140,4 +140,5 @@ const EmptyState = Object.assign(EmptyStateRoot, {
|
|
|
140
140
|
Actions: EmptyStateActions
|
|
141
141
|
});
|
|
142
142
|
const empty_state_EmptyState = EmptyState;
|
|
143
|
-
export
|
|
143
|
+
export default empty_state_EmptyState;
|
|
144
|
+
export { EmptyStateActions, EmptyStateDescription, EmptyStateIcon, EmptyStateRoot, EmptyStateTitle };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { external_EmptyState_js_default as EmptyState, EmptyStateActions, EmptyStateDescription, EmptyStateIcon, EmptyStateRoot, EmptyStateTitle };
|
|
1
|
+
export { EmptyStateActions, EmptyStateDescription, EmptyStateIcon, EmptyStateRoot, EmptyStateTitle, default as EmptyState } from "./EmptyState.js";
|
|
@@ -37,4 +37,5 @@ const ErrorMessage = Object.assign(ErrorMessageRoot, {
|
|
|
37
37
|
Root: ErrorMessageRoot
|
|
38
38
|
});
|
|
39
39
|
const error_message_ErrorMessage = ErrorMessage;
|
|
40
|
-
export
|
|
40
|
+
export default error_message_ErrorMessage;
|
|
41
|
+
export { ErrorMessage, ErrorMessageRoot };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { ErrorMessage, ErrorMessageRoot, external_ErrorMessage_js_default as default };
|
|
1
|
+
export { ErrorMessage, ErrorMessageRoot, default } from "./ErrorMessage.js";
|
|
@@ -62,8 +62,9 @@ const FieldErrorRoot = (props)=>{
|
|
|
62
62
|
return _el$;
|
|
63
63
|
})();
|
|
64
64
|
};
|
|
65
|
-
const
|
|
65
|
+
const FieldError = Object.assign(FieldErrorRoot, {
|
|
66
66
|
Root: FieldErrorRoot
|
|
67
67
|
});
|
|
68
|
-
const
|
|
69
|
-
export
|
|
68
|
+
const field_error_FieldError = FieldError;
|
|
69
|
+
export default field_error_FieldError;
|
|
70
|
+
export { FieldError, FieldErrorRoot };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { FieldError, FieldErrorRoot, external_FieldError_js_default as default };
|
|
1
|
+
export { FieldError, FieldErrorRoot, default } from "./FieldError.js";
|
|
@@ -111,4 +111,5 @@ const Fieldset = Object.assign(FieldsetRoot, {
|
|
|
111
111
|
Actions: FieldsetActions
|
|
112
112
|
});
|
|
113
113
|
const fieldset_Fieldset = Fieldset;
|
|
114
|
-
export
|
|
114
|
+
export default fieldset_Fieldset;
|
|
115
|
+
export { FieldGroup, Fieldset, FieldsetActions, FieldsetLegend, FieldsetRoot };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
1
|
+
import { FieldGroup, Fieldset as external_Fieldset_js_Fieldset, FieldsetActions, FieldsetLegend, FieldsetRoot } from "./Fieldset.js";
|
|
2
|
+
export default external_Fieldset_js_Fieldset;
|
|
3
|
+
export { FieldGroup, FieldsetActions, FieldsetLegend, FieldsetRoot, external_Fieldset_js_Fieldset as Fieldset };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Dynamic, createComponent, mergeProps } from "solid-js/web";
|
|
2
2
|
import "./Flex.css";
|
|
3
3
|
import { children, createMemo, splitProps } from "solid-js";
|
|
4
|
-
import
|
|
4
|
+
import clsx from "clsx";
|
|
5
5
|
import { twMerge } from "tailwind-merge";
|
|
6
6
|
import { mapResponsiveProp } from "../utils.js";
|
|
7
7
|
import { CLASSES } from "./Flex.classes.js";
|
|
@@ -24,7 +24,7 @@ const Flex = (props)=>{
|
|
|
24
24
|
]);
|
|
25
25
|
const tag = createMemo(()=>local.as || "div");
|
|
26
26
|
const resolvedChildren = children(()=>local.children);
|
|
27
|
-
const classes = createMemo(()=>twMerge(
|
|
27
|
+
const classes = createMemo(()=>twMerge(clsx(CLASSES.base, mapResponsiveProp(local.direction, CLASSES.direction), mapResponsiveProp(local.justify, CLASSES.justify), mapResponsiveProp(local.align, CLASSES.align), mapResponsiveProp(local.wrap, CLASSES.wrap), mapResponsiveProp(local.gap, CLASSES.gap), mapResponsiveProp(local.gapX, CLASSES.gapX), mapResponsiveProp(local.gapY, CLASSES.gapY), mapResponsiveProp(local.grow, CLASSES.grow), mapResponsiveProp(local.shrink, CLASSES.shrink), mapResponsiveProp(local.basis, CLASSES.basis), local.class, local.className)));
|
|
28
28
|
return createComponent(Dynamic, mergeProps({
|
|
29
29
|
get component () {
|
|
30
30
|
return tag();
|
|
@@ -38,4 +38,4 @@ const Flex = (props)=>{
|
|
|
38
38
|
}));
|
|
39
39
|
};
|
|
40
40
|
const flex_Flex = Flex;
|
|
41
|
-
export
|
|
41
|
+
export default flex_Flex;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { external_Flex_js_default as default };
|
|
1
|
+
export { default } from "./Flex.js";
|
|
@@ -4,7 +4,7 @@ import { For, Show, createSignal, onCleanup, onMount, splitProps } from "solid-j
|
|
|
4
4
|
import { twMerge } from "tailwind-merge";
|
|
5
5
|
import { CLASSES } from "./FloatingDock.classes.js";
|
|
6
6
|
var _tmpl$ = /*#__PURE__*/ template("<div>"), _tmpl$2 = /*#__PURE__*/ template("<div><div>"), _tmpl$3 = /*#__PURE__*/ template("<button type=button>"), _tmpl$4 = /*#__PURE__*/ template("<a>"), _tmpl$5 = /*#__PURE__*/ template("<div role=toolbar aria-label=Actions>"), _tmpl$6 = /*#__PURE__*/ template("<div><button type=button>"), _tmpl$7 = /*#__PURE__*/ template('<svg xmlns=http://www.w3.org/2000/svg><path d="M4 6h16"></path><path d="M4 12h16"></path><path d="M4 18h16">');
|
|
7
|
-
const prefersReducedMotion = "
|
|
7
|
+
const prefersReducedMotion = "u" > typeof window && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
8
8
|
function createSpring(initial, opts = {}) {
|
|
9
9
|
const mass = opts.mass ?? 1;
|
|
10
10
|
const stiffness = opts.stiffness ?? 150;
|
|
@@ -645,4 +645,4 @@ delegateEvents([
|
|
|
645
645
|
"click",
|
|
646
646
|
"mousemove"
|
|
647
647
|
]);
|
|
648
|
-
export
|
|
648
|
+
export default floating_dock_FloatingDock;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { external_FloatingDock_js_default as default };
|
|
1
|
+
export { default } from "./FloatingDock.js";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { external_Footer_js_default as default };
|
|
1
|
+
export { default } from "./Footer.js";
|
|
@@ -68,11 +68,12 @@ const FormWithContext = (props)=>{
|
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
70
|
};
|
|
71
|
-
const
|
|
71
|
+
const Form = (props)=>{
|
|
72
72
|
if ("form" in props && null != props.form) return createComponent(FormWithContext, props);
|
|
73
73
|
return createComponent(FormRoot, props);
|
|
74
74
|
};
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
const
|
|
78
|
-
export
|
|
75
|
+
Form.Root = FormRoot;
|
|
76
|
+
Form.WithContext = FormWithContext;
|
|
77
|
+
const form_Form = Form;
|
|
78
|
+
export default form_Form;
|
|
79
|
+
export { Form, FormRoot, FormWithContext };
|