@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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createComponent, insert, mergeProps, spread, template } from "solid-js/web";
|
|
2
2
|
import { Show, splitProps } from "solid-js";
|
|
3
3
|
import { twMerge } from "tailwind-merge";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import input from "../input/index.js";
|
|
5
|
+
import label from "../label/index.js";
|
|
6
6
|
import { useFormContext } from "../../hooks/form/FormContext.js";
|
|
7
7
|
import { getFirstFieldError } from "../../hooks/form/getFirstFieldError.js";
|
|
8
8
|
import { FieldErrorMessage } from "./FieldErrorMessage.js";
|
|
@@ -40,7 +40,7 @@ const FormField = (props)=>{
|
|
|
40
40
|
return local.label;
|
|
41
41
|
},
|
|
42
42
|
get children () {
|
|
43
|
-
return createComponent(
|
|
43
|
+
return createComponent(label, {
|
|
44
44
|
get ["for"] () {
|
|
45
45
|
return local.name;
|
|
46
46
|
},
|
|
@@ -53,7 +53,7 @@ const FormField = (props)=>{
|
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
55
|
}), null);
|
|
56
|
-
insert(_el$, createComponent(
|
|
56
|
+
insert(_el$, createComponent(input.Field, mergeProps(()=>local.inputProps, {
|
|
57
57
|
get id () {
|
|
58
58
|
return local.name;
|
|
59
59
|
},
|
|
@@ -85,4 +85,5 @@ const FormField = (props)=>{
|
|
|
85
85
|
});
|
|
86
86
|
};
|
|
87
87
|
const form_FormField = FormField;
|
|
88
|
-
export
|
|
88
|
+
export default form_FormField;
|
|
89
|
+
export { FormField };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createComponent, mergeProps } from "solid-js/web";
|
|
2
2
|
import { splitProps } from "solid-js";
|
|
3
|
-
import
|
|
3
|
+
import button_0 from "../button/index.js";
|
|
4
4
|
import { useFormContext } from "../../hooks/form/FormContext.js";
|
|
5
5
|
const FormSubmitButton = (props)=>{
|
|
6
6
|
const [local, others] = splitProps(props, [
|
|
@@ -18,7 +18,7 @@ const FormSubmitButton = (props)=>{
|
|
|
18
18
|
canSubmit: s.canSubmit,
|
|
19
19
|
isSubmitting: s.isSubmitting
|
|
20
20
|
}),
|
|
21
|
-
children: (state)=>createComponent(
|
|
21
|
+
children: (state)=>createComponent(button_0, mergeProps(others, {
|
|
22
22
|
type: "submit",
|
|
23
23
|
get isDisabled () {
|
|
24
24
|
return !state().canSubmit;
|
|
@@ -33,4 +33,5 @@ const FormSubmitButton = (props)=>{
|
|
|
33
33
|
});
|
|
34
34
|
};
|
|
35
35
|
const form_FormSubmitButton = FormSubmitButton;
|
|
36
|
-
export
|
|
36
|
+
export default form_FormSubmitButton;
|
|
37
|
+
export { FormSubmitButton };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export
|
|
1
|
+
import { Form as external_Form_js_Form, FormRoot, FormWithContext } from "./Form.js";
|
|
2
|
+
export { FormField } from "./FormField.js";
|
|
3
|
+
export { FormSubmitButton } from "./FormSubmitButton.js";
|
|
4
|
+
export { FieldErrorMessage } from "./FieldErrorMessage.js";
|
|
5
|
+
export default external_Form_js_Form;
|
|
6
|
+
export { FormRoot, FormWithContext, external_Form_js_Form as Form };
|
|
@@ -4,7 +4,7 @@ import { Show, createSignal, createUniqueId, splitProps } from "solid-js";
|
|
|
4
4
|
import { twMerge } from "tailwind-merge";
|
|
5
5
|
import { CLASSES } from "./GlassPanel.classes.js";
|
|
6
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><span class=glass-panel__rim aria-hidden=true></span><span class=glass-panel__depth aria-hidden=true></span><span class=glass-panel__sheen aria-hidden=true></span><div><div>");
|
|
7
|
-
const
|
|
7
|
+
const GlassPanel = (props)=>{
|
|
8
8
|
const [local, others] = splitProps(props, [
|
|
9
9
|
"collapsible",
|
|
10
10
|
"open",
|
|
@@ -106,5 +106,5 @@ const GlassPanel_GlassPanel = (props)=>{
|
|
|
106
106
|
return _el$;
|
|
107
107
|
})();
|
|
108
108
|
};
|
|
109
|
-
const
|
|
110
|
-
export
|
|
109
|
+
const glass_panel_GlassPanel = GlassPanel;
|
|
110
|
+
export default glass_panel_GlassPanel;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { external_GlassPanel_js_default as default };
|
|
1
|
+
export { default } from "./GlassPanel.js";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { external_GlowCard_js_default as GlowCard };
|
|
1
|
+
export { default as GlowCard } from "./GlowCard.js";
|
|
@@ -2,7 +2,7 @@ import { Dynamic, createComponent, mergeProps } from "solid-js/web";
|
|
|
2
2
|
import "./Grid.css";
|
|
3
3
|
import { children, mergeProps as external_solid_js_mergeProps, splitProps } from "solid-js";
|
|
4
4
|
import { twMerge } from "tailwind-merge";
|
|
5
|
-
import
|
|
5
|
+
import clsx from "clsx";
|
|
6
6
|
import { mapResponsiveProp } from "../utils.js";
|
|
7
7
|
import { CLASSES } from "./Grid.classes.js";
|
|
8
8
|
const Grid = (props)=>{
|
|
@@ -22,7 +22,7 @@ const Grid = (props)=>{
|
|
|
22
22
|
"autoRows"
|
|
23
23
|
]);
|
|
24
24
|
const resolvedChildren = children(()=>local.children);
|
|
25
|
-
const classes =
|
|
25
|
+
const classes = clsx(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
26
|
return createComponent(Dynamic, mergeProps({
|
|
27
27
|
get component () {
|
|
28
28
|
return local.as;
|
|
@@ -36,4 +36,4 @@ const Grid = (props)=>{
|
|
|
36
36
|
}));
|
|
37
37
|
};
|
|
38
38
|
const grid_Grid = Grid;
|
|
39
|
-
export
|
|
39
|
+
export default grid_Grid;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { external_Grid_js_default as default };
|
|
1
|
+
export { default } from "./Grid.js";
|
|
@@ -29,6 +29,7 @@ const HeaderRoot = (props)=>{
|
|
|
29
29
|
return _el$;
|
|
30
30
|
})();
|
|
31
31
|
};
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
export
|
|
32
|
+
const Header = HeaderRoot;
|
|
33
|
+
const header_Header = Header;
|
|
34
|
+
export default header_Header;
|
|
35
|
+
export { Header, HeaderRoot };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
1
|
+
import { Header as external_Header_js_Header, HeaderRoot } from "./Header.js";
|
|
2
|
+
export default external_Header_js_Header;
|
|
3
|
+
export { HeaderRoot, external_Header_js_Header as Header };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { external_Icon_js_default as default };
|
|
1
|
+
export { default } from "./Icon.js";
|
|
@@ -5,9 +5,9 @@ import { twMerge } from "tailwind-merge";
|
|
|
5
5
|
import { CLASSES } from "./ImmersiveLanding.classes.js";
|
|
6
6
|
import { useImmersiveLanding } from "./useImmersiveLanding.js";
|
|
7
7
|
import { ImmersiveLandingContext } from "./ImmersiveLandingContext.js";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
8
|
+
import ImmersiveLandingPage from "./ImmersiveLandingPage.js";
|
|
9
|
+
import ImmersiveLandingArrows from "./ImmersiveLandingArrows.js";
|
|
10
|
+
import ImmersiveLandingNavigation from "./ImmersiveLandingNavigation.js";
|
|
11
11
|
import { PWAInstallPrompt } from "./components/PWAInstallPrompt.js";
|
|
12
12
|
import { FirefoxPWABanner } from "./components/FirefoxPWABanner.js";
|
|
13
13
|
import { CookieConsent } from "./components/CookieConsent.js";
|
|
@@ -118,7 +118,7 @@ const ImmersiveLanding = (props)=>{
|
|
|
118
118
|
return _el$4;
|
|
119
119
|
}
|
|
120
120
|
}),
|
|
121
|
-
memo(()=>memo(()=>!!showArrowNav())() && createComponent(
|
|
121
|
+
memo(()=>memo(()=>!!showArrowNav())() && createComponent(ImmersiveLandingArrows, {
|
|
122
122
|
get onPrev () {
|
|
123
123
|
return navigation.goPrev;
|
|
124
124
|
},
|
|
@@ -132,7 +132,7 @@ const ImmersiveLanding = (props)=>{
|
|
|
132
132
|
return navigation.isLastPage();
|
|
133
133
|
}
|
|
134
134
|
})),
|
|
135
|
-
memo(()=>memo(()=>!!showNav())() && createComponent(
|
|
135
|
+
memo(()=>memo(()=>!!showNav())() && createComponent(ImmersiveLandingNavigation, {
|
|
136
136
|
get pages () {
|
|
137
137
|
return local.pages;
|
|
138
138
|
},
|
|
@@ -229,8 +229,8 @@ const ImmersiveLanding = (props)=>{
|
|
|
229
229
|
});
|
|
230
230
|
};
|
|
231
231
|
const immersive_landing_ImmersiveLanding = Object.assign(ImmersiveLanding, {
|
|
232
|
-
Page:
|
|
233
|
-
Arrows:
|
|
234
|
-
Navigation:
|
|
232
|
+
Page: ImmersiveLandingPage,
|
|
233
|
+
Arrows: ImmersiveLandingArrows,
|
|
234
|
+
Navigation: ImmersiveLandingNavigation
|
|
235
235
|
});
|
|
236
|
-
export
|
|
236
|
+
export default immersive_landing_ImmersiveLanding;
|
|
@@ -3,7 +3,7 @@ import { For, splitProps } from "solid-js";
|
|
|
3
3
|
import { twMerge } from "tailwind-merge";
|
|
4
4
|
import { CLASSES } from "./ImmersiveLanding.classes.js";
|
|
5
5
|
var _tmpl$ = /*#__PURE__*/ template('<nav><div><div><button type=button><svg><path stroke-linecap=round stroke-linejoin=round d="M15 19l-7-7 7-7"></path></svg></button><button type=button><svg><path stroke-linecap=round stroke-linejoin=round d="M9 5l7 7-7 7">'), _tmpl$2 = /*#__PURE__*/ template("<div>"), _tmpl$3 = /*#__PURE__*/ template("<button type=button>"), _tmpl$4 = /*#__PURE__*/ template("<span>/");
|
|
6
|
-
const
|
|
6
|
+
const ImmersiveLandingNavigation = (props)=>{
|
|
7
7
|
const [local, others] = splitProps(props, [
|
|
8
8
|
"pages",
|
|
9
9
|
"currentPageIndex",
|
|
@@ -121,8 +121,8 @@ const ImmersiveLandingNavigation_ImmersiveLandingNavigation = (props)=>{
|
|
|
121
121
|
return _el$;
|
|
122
122
|
})();
|
|
123
123
|
};
|
|
124
|
-
const
|
|
124
|
+
const immersive_landing_ImmersiveLandingNavigation = ImmersiveLandingNavigation;
|
|
125
125
|
delegateEvents([
|
|
126
126
|
"click"
|
|
127
127
|
]);
|
|
128
|
-
export
|
|
128
|
+
export default immersive_landing_ImmersiveLandingNavigation;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createComponent, insert, mergeProps, spread, template } from "solid-js/web";
|
|
2
2
|
import { Show, createSignal, onCleanup, onMount } from "solid-js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import button_0 from "../../button/index.js";
|
|
4
|
+
import flex from "../../flex/index.js";
|
|
5
5
|
import { CLASSES } from "../ImmersiveLanding.classes.js";
|
|
6
6
|
var _tmpl$ = /*#__PURE__*/ template("<p id=cookie-consent-message>"), _tmpl$2 = /*#__PURE__*/ template("<button type=button>"), _tmpl$3 = /*#__PURE__*/ template("<div role=dialog aria-modal=false aria-labelledby=cookie-consent-message><div>"), _tmpl$4 = /*#__PURE__*/ template("<h2 id=cookie-manage-title>"), _tmpl$5 = /*#__PURE__*/ template("<label><span></span><input type=checkbox checked disabled>"), _tmpl$6 = /*#__PURE__*/ template("<label><span></span><input type=checkbox>"), _tmpl$7 = /*#__PURE__*/ template("<div role=dialog aria-modal=true aria-labelledby=cookie-manage-title><div>");
|
|
7
7
|
const defaultTexts = {
|
|
@@ -117,7 +117,7 @@ const CookieConsent = (props)=>{
|
|
|
117
117
|
spread(_el$2, mergeProps(()=>({
|
|
118
118
|
class: CLASSES.cookie.container
|
|
119
119
|
})), false, true);
|
|
120
|
-
insert(_el$2, createComponent(
|
|
120
|
+
insert(_el$2, createComponent(flex, mergeProps({
|
|
121
121
|
direction: "col",
|
|
122
122
|
gap: "md"
|
|
123
123
|
}, ()=>({
|
|
@@ -133,14 +133,14 @@ const CookieConsent = (props)=>{
|
|
|
133
133
|
insert(_el$3, ()=>texts().message);
|
|
134
134
|
return _el$3;
|
|
135
135
|
})(),
|
|
136
|
-
createComponent(
|
|
136
|
+
createComponent(flex, mergeProps({
|
|
137
137
|
gap: "sm"
|
|
138
138
|
}, ()=>({
|
|
139
139
|
class: CLASSES.cookie.actions
|
|
140
140
|
}), {
|
|
141
141
|
get children () {
|
|
142
142
|
return [
|
|
143
|
-
createComponent(
|
|
143
|
+
createComponent(button_0, mergeProps({
|
|
144
144
|
variant: "primary",
|
|
145
145
|
size: "sm"
|
|
146
146
|
}, ()=>({
|
|
@@ -151,7 +151,7 @@ const CookieConsent = (props)=>{
|
|
|
151
151
|
return texts().acceptAll;
|
|
152
152
|
}
|
|
153
153
|
})),
|
|
154
|
-
createComponent(
|
|
154
|
+
createComponent(button_0, mergeProps({
|
|
155
155
|
variant: "ghost",
|
|
156
156
|
size: "sm"
|
|
157
157
|
}, ()=>({
|
|
@@ -197,7 +197,7 @@ const CookieConsent = (props)=>{
|
|
|
197
197
|
}), {
|
|
198
198
|
onClick: (e)=>e.stopPropagation()
|
|
199
199
|
}), false, true);
|
|
200
|
-
insert(_el$6, createComponent(
|
|
200
|
+
insert(_el$6, createComponent(flex, mergeProps({
|
|
201
201
|
justify: "between",
|
|
202
202
|
align: "center"
|
|
203
203
|
}, ()=>({
|
|
@@ -213,7 +213,7 @@ const CookieConsent = (props)=>{
|
|
|
213
213
|
insert(_el$7, ()=>texts().manageTitle);
|
|
214
214
|
return _el$7;
|
|
215
215
|
})(),
|
|
216
|
-
createComponent(
|
|
216
|
+
createComponent(button_0, {
|
|
217
217
|
size: "sm",
|
|
218
218
|
variant: "ghost",
|
|
219
219
|
isIconOnly: true,
|
|
@@ -226,7 +226,7 @@ const CookieConsent = (props)=>{
|
|
|
226
226
|
];
|
|
227
227
|
}
|
|
228
228
|
})), null);
|
|
229
|
-
insert(_el$6, createComponent(
|
|
229
|
+
insert(_el$6, createComponent(flex, mergeProps({
|
|
230
230
|
direction: "col",
|
|
231
231
|
gap: "md"
|
|
232
232
|
}, ()=>({
|
|
@@ -289,7 +289,7 @@ const CookieConsent = (props)=>{
|
|
|
289
289
|
];
|
|
290
290
|
}
|
|
291
291
|
})), null);
|
|
292
|
-
insert(_el$6, createComponent(
|
|
292
|
+
insert(_el$6, createComponent(flex, mergeProps({
|
|
293
293
|
gap: "sm",
|
|
294
294
|
justify: "end"
|
|
295
295
|
}, ()=>({
|
|
@@ -297,7 +297,7 @@ const CookieConsent = (props)=>{
|
|
|
297
297
|
}), {
|
|
298
298
|
get children () {
|
|
299
299
|
return [
|
|
300
|
-
createComponent(
|
|
300
|
+
createComponent(button_0, {
|
|
301
301
|
variant: "ghost",
|
|
302
302
|
size: "sm",
|
|
303
303
|
onClick: handleManageClose,
|
|
@@ -305,7 +305,7 @@ const CookieConsent = (props)=>{
|
|
|
305
305
|
return texts().cancel;
|
|
306
306
|
}
|
|
307
307
|
}),
|
|
308
|
-
createComponent(
|
|
308
|
+
createComponent(button_0, mergeProps({
|
|
309
309
|
variant: "primary",
|
|
310
310
|
size: "sm"
|
|
311
311
|
}, ()=>({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createComponent, insert, mergeProps, spread, template } from "solid-js/web";
|
|
2
2
|
import { Show, createSignal, onMount } from "solid-js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
3
|
+
import button_0 from "../../button/index.js";
|
|
4
|
+
import card from "../../card/index.js";
|
|
5
|
+
import flex from "../../flex/index.js";
|
|
6
|
+
import icon from "../../icon/index.js";
|
|
7
7
|
import { CLASSES } from "../ImmersiveLanding.classes.js";
|
|
8
8
|
var _tmpl$ = /*#__PURE__*/ template("<div>"), _tmpl$2 = /*#__PURE__*/ template("<h3 id=pwa-unsupported-title>"), _tmpl$3 = /*#__PURE__*/ template("<p>"), _tmpl$4 = /*#__PURE__*/ template("<div aria-labelledby=pwa-unsupported-title>");
|
|
9
9
|
const defaultTexts = {
|
|
@@ -68,14 +68,14 @@ const FirefoxPWABanner = (props)=>{
|
|
|
68
68
|
spread(_el$, mergeProps(()=>({
|
|
69
69
|
class: CLASSES.firefoxBanner.dialog
|
|
70
70
|
})), false, true);
|
|
71
|
-
insert(_el$, createComponent(
|
|
71
|
+
insert(_el$, createComponent(card, mergeProps({
|
|
72
72
|
variant: "shadow"
|
|
73
73
|
}, ()=>({
|
|
74
74
|
class: CLASSES.firefoxBanner.card
|
|
75
75
|
}), {
|
|
76
76
|
get children () {
|
|
77
77
|
return [
|
|
78
|
-
createComponent(
|
|
78
|
+
createComponent(button_0, mergeProps({
|
|
79
79
|
size: "sm",
|
|
80
80
|
variant: "ghost",
|
|
81
81
|
isIconOnly: true
|
|
@@ -87,18 +87,18 @@ const FirefoxPWABanner = (props)=>{
|
|
|
87
87
|
return texts().closeLabel;
|
|
88
88
|
},
|
|
89
89
|
get children () {
|
|
90
|
-
return createComponent(
|
|
90
|
+
return createComponent(icon, {
|
|
91
91
|
name: "icon-[mdi--close]",
|
|
92
92
|
width: 16,
|
|
93
93
|
height: 16
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
96
|
})),
|
|
97
|
-
createComponent(
|
|
97
|
+
createComponent(card.Body, mergeProps(()=>({
|
|
98
98
|
class: CLASSES.firefoxBanner.body
|
|
99
99
|
}), {
|
|
100
100
|
get children () {
|
|
101
|
-
return createComponent(
|
|
101
|
+
return createComponent(flex, mergeProps({
|
|
102
102
|
align: "start",
|
|
103
103
|
gap: "md"
|
|
104
104
|
}, ()=>({
|
|
@@ -116,7 +116,7 @@ const FirefoxPWABanner = (props)=>{
|
|
|
116
116
|
return "firefox" === browser();
|
|
117
117
|
},
|
|
118
118
|
get children () {
|
|
119
|
-
return createComponent(
|
|
119
|
+
return createComponent(icon, mergeProps({
|
|
120
120
|
name: "icon-[mdi--firefox]",
|
|
121
121
|
width: 40,
|
|
122
122
|
height: 40
|
|
@@ -127,7 +127,7 @@ const FirefoxPWABanner = (props)=>{
|
|
|
127
127
|
}));
|
|
128
128
|
return _el$2;
|
|
129
129
|
})(),
|
|
130
|
-
createComponent(
|
|
130
|
+
createComponent(flex, mergeProps({
|
|
131
131
|
direction: "col",
|
|
132
132
|
gap: "sm"
|
|
133
133
|
}, ()=>({
|
|
@@ -159,12 +159,12 @@ const FirefoxPWABanner = (props)=>{
|
|
|
159
159
|
}));
|
|
160
160
|
}
|
|
161
161
|
})),
|
|
162
|
-
createComponent(
|
|
162
|
+
createComponent(card.Footer, mergeProps(()=>({
|
|
163
163
|
class: CLASSES.firefoxBanner.footer
|
|
164
164
|
}), {
|
|
165
165
|
get children () {
|
|
166
166
|
return [
|
|
167
|
-
createComponent(
|
|
167
|
+
createComponent(button_0, mergeProps({
|
|
168
168
|
variant: "primary"
|
|
169
169
|
}, ()=>({
|
|
170
170
|
class: CLASSES.firefoxBanner.action
|
|
@@ -174,7 +174,7 @@ const FirefoxPWABanner = (props)=>{
|
|
|
174
174
|
return texts().installButton;
|
|
175
175
|
}
|
|
176
176
|
})),
|
|
177
|
-
createComponent(
|
|
177
|
+
createComponent(button_0, mergeProps({
|
|
178
178
|
variant: "ghost"
|
|
179
179
|
}, ()=>({
|
|
180
180
|
class: CLASSES.firefoxBanner.action
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createComponent, insert, mergeProps, spread, template } from "solid-js/web";
|
|
2
2
|
import { Show, createSignal, onCleanup, onMount } from "solid-js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import button_0 from "../../button/index.js";
|
|
4
|
+
import card from "../../card/index.js";
|
|
5
|
+
import flex from "../../flex/index.js";
|
|
6
6
|
import { CLASSES } from "../ImmersiveLanding.classes.js";
|
|
7
7
|
var _tmpl$ = /*#__PURE__*/ template("<div><img>"), _tmpl$2 = /*#__PURE__*/ template("<h3 id=pwa-install-title>"), _tmpl$3 = /*#__PURE__*/ template("<p>"), _tmpl$4 = /*#__PURE__*/ template("<div role=dialog aria-modal=false aria-labelledby=pwa-install-title>");
|
|
8
8
|
const DISMISS_DURATION = 604800000;
|
|
@@ -83,14 +83,14 @@ const PWAInstallPrompt = (props)=>{
|
|
|
83
83
|
spread(_el$, mergeProps(()=>({
|
|
84
84
|
class: CLASSES.pwaPrompt.dialog
|
|
85
85
|
})), false, true);
|
|
86
|
-
insert(_el$, createComponent(
|
|
86
|
+
insert(_el$, createComponent(card, mergeProps({
|
|
87
87
|
variant: "shadow"
|
|
88
88
|
}, ()=>({
|
|
89
89
|
class: CLASSES.pwaPrompt.card
|
|
90
90
|
}), {
|
|
91
91
|
get children () {
|
|
92
92
|
return [
|
|
93
|
-
createComponent(
|
|
93
|
+
createComponent(button_0, mergeProps({
|
|
94
94
|
size: "sm",
|
|
95
95
|
variant: "ghost",
|
|
96
96
|
isIconOnly: true
|
|
@@ -103,11 +103,11 @@ const PWAInstallPrompt = (props)=>{
|
|
|
103
103
|
},
|
|
104
104
|
children: "X"
|
|
105
105
|
})),
|
|
106
|
-
createComponent(
|
|
106
|
+
createComponent(card.Body, mergeProps(()=>({
|
|
107
107
|
class: CLASSES.pwaPrompt.body
|
|
108
108
|
}), {
|
|
109
109
|
get children () {
|
|
110
|
-
return createComponent(
|
|
110
|
+
return createComponent(flex, mergeProps({
|
|
111
111
|
align: "start",
|
|
112
112
|
gap: "md"
|
|
113
113
|
}, ()=>({
|
|
@@ -132,7 +132,7 @@ const PWAInstallPrompt = (props)=>{
|
|
|
132
132
|
})), false, false);
|
|
133
133
|
return _el$2;
|
|
134
134
|
})(),
|
|
135
|
-
createComponent(
|
|
135
|
+
createComponent(flex, mergeProps({
|
|
136
136
|
direction: "col",
|
|
137
137
|
gap: "sm"
|
|
138
138
|
}, ()=>({
|
|
@@ -164,12 +164,12 @@ const PWAInstallPrompt = (props)=>{
|
|
|
164
164
|
}));
|
|
165
165
|
}
|
|
166
166
|
})),
|
|
167
|
-
createComponent(
|
|
167
|
+
createComponent(card.Footer, mergeProps(()=>({
|
|
168
168
|
class: CLASSES.pwaPrompt.footer
|
|
169
169
|
}), {
|
|
170
170
|
get children () {
|
|
171
171
|
return [
|
|
172
|
-
createComponent(
|
|
172
|
+
createComponent(button_0, mergeProps({
|
|
173
173
|
variant: "primary"
|
|
174
174
|
}, ()=>({
|
|
175
175
|
class: CLASSES.pwaPrompt.action
|
|
@@ -179,7 +179,7 @@ const PWAInstallPrompt = (props)=>{
|
|
|
179
179
|
return texts().installButton;
|
|
180
180
|
}
|
|
181
181
|
})),
|
|
182
|
-
createComponent(
|
|
182
|
+
createComponent(button_0, mergeProps({
|
|
183
183
|
variant: "ghost"
|
|
184
184
|
}, ()=>({
|
|
185
185
|
class: CLASSES.pwaPrompt.action
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import "./ImmersiveLanding.css";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export { CookieConsent, FirefoxPWABanner, ImmersiveLandingContext, PWAInstallPrompt, external_ImmersiveLanding_js_default as default, useImmersiveLanding, useImmersiveLandingContext };
|
|
2
|
+
export { default } from "./ImmersiveLanding.js";
|
|
3
|
+
export { useImmersiveLanding } from "./useImmersiveLanding.js";
|
|
4
|
+
export { ImmersiveLandingContext, useImmersiveLandingContext } from "./ImmersiveLandingContext.js";
|
|
5
|
+
export { CookieConsent } from "./components/CookieConsent.js";
|
|
6
|
+
export { PWAInstallPrompt } from "./components/PWAInstallPrompt.js";
|
|
7
|
+
export { FirefoxPWABanner } from "./components/FirefoxPWABanner.js";
|
|
@@ -58,7 +58,7 @@ function useImmersiveLanding(options) {
|
|
|
58
58
|
if (idx > 0) navigateToInternal(pages[idx - 1]);
|
|
59
59
|
};
|
|
60
60
|
onMount(()=>{
|
|
61
|
-
if ("
|
|
61
|
+
if ("u" < typeof window) return;
|
|
62
62
|
if (!enableScrollNavigation) return;
|
|
63
63
|
let scrollLocked = false;
|
|
64
64
|
const SCROLL_COOLDOWN = 1000;
|
|
@@ -284,11 +284,11 @@ const InputBase = (props)=>{
|
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
286
|
};
|
|
287
|
-
const
|
|
287
|
+
const Input = Object.assign(InputBase, {
|
|
288
288
|
Root: InputRoot,
|
|
289
289
|
Field: InputField,
|
|
290
290
|
Label: InputLabel,
|
|
291
291
|
Helper: InputHelper
|
|
292
292
|
});
|
|
293
|
-
const
|
|
294
|
-
export
|
|
293
|
+
const input_Input = Input;
|
|
294
|
+
export default input_Input;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
const input =
|
|
3
|
-
export
|
|
1
|
+
import Input from "./Input.js";
|
|
2
|
+
const input = Input;
|
|
3
|
+
export default input;
|
|
@@ -208,12 +208,13 @@ const InputGroupSuffix = (props)=>{
|
|
|
208
208
|
return _el$5;
|
|
209
209
|
})();
|
|
210
210
|
};
|
|
211
|
-
const
|
|
211
|
+
const InputGroup = Object.assign(InputGroupRoot, {
|
|
212
212
|
Root: InputGroupRoot,
|
|
213
213
|
Input: InputGroupInput,
|
|
214
214
|
TextArea: InputGroupTextArea,
|
|
215
215
|
Prefix: InputGroupPrefix,
|
|
216
216
|
Suffix: InputGroupSuffix
|
|
217
217
|
});
|
|
218
|
-
const
|
|
219
|
-
export
|
|
218
|
+
const input_group_InputGroup = InputGroup;
|
|
219
|
+
export default input_group_InputGroup;
|
|
220
|
+
export { InputGroup, InputGroupInput, InputGroupPrefix, InputGroupRoot, InputGroupSuffix, InputGroupTextArea };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
1
|
+
import { InputGroup as external_InputGroup_js_InputGroup, InputGroupInput, InputGroupPrefix, InputGroupRoot, InputGroupSuffix, InputGroupTextArea } from "./InputGroup.js";
|
|
2
|
+
export default external_InputGroup_js_InputGroup;
|
|
3
|
+
export { InputGroupInput, InputGroupPrefix, InputGroupRoot, InputGroupSuffix, InputGroupTextArea, external_InputGroup_js_InputGroup as InputGroup };
|
|
@@ -384,11 +384,12 @@ const InputOTPSeparator = (props)=>{
|
|
|
384
384
|
return _el$7;
|
|
385
385
|
})();
|
|
386
386
|
};
|
|
387
|
-
const
|
|
387
|
+
const InputOTP = Object.assign(InputOTPRoot, {
|
|
388
388
|
Root: InputOTPRoot,
|
|
389
389
|
Group: InputOTPGroup,
|
|
390
390
|
Slot: InputOTPSlot,
|
|
391
391
|
Separator: InputOTPSeparator
|
|
392
392
|
});
|
|
393
|
-
const
|
|
394
|
-
export
|
|
393
|
+
const input_otp_InputOTP = InputOTP;
|
|
394
|
+
export default input_otp_InputOTP;
|
|
395
|
+
export { InputOTP, InputOTPGroup, InputOTPRoot, InputOTPSeparator, InputOTPSlot, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { InputOTP, InputOTPGroup, InputOTPRoot, InputOTPSeparator, InputOTPSlot, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, external_InputOTP_js_default as default };
|
|
1
|
+
export { InputOTP, InputOTPGroup, InputOTPRoot, InputOTPSeparator, InputOTPSlot, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, default } from "./InputOTP.js";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { external_Join_js_default as default };
|
|
1
|
+
export { default } from "./Join.js";
|