@janbox/storefront-ui 6.0.1 → 6.0.3
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/index.js +1 -1
- package/dist/components/scroll-view/index.d.ts +1 -0
- package/dist/components/{scroll-view.d.ts → scroll-view/scroll-view.d.ts} +2 -2
- package/dist/components/{scroll-view.js → scroll-view/scroll-view.js} +2 -2
- package/dist/components/svg-loader.d.ts +1 -1
- package/dist/components/virtualized-list.d.ts +1 -1
- package/dist/components/virtualized-list.js +1 -1
- package/dist/lib/accordion/accordion/accordion.d.ts +1 -1
- package/dist/lib/accordion/accordion-content/accordion-content.d.ts +1 -1
- package/dist/lib/accordion/accordion-group/accordion-group.d.ts +1 -1
- package/dist/lib/accordion/accordion-summary/accordion-summary.d.ts +1 -1
- package/dist/lib/avatar/avatar.d.ts +2 -1
- package/dist/lib/badge/badge.d.ts +1 -1
- package/dist/lib/box/box.d.ts +1 -1
- package/dist/lib/breadcrumbs/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist/lib/breadcrumbs/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/dist/lib/button/button.js +1 -1
- package/dist/lib/cascader/cascader-floating-content.d.ts +1 -1
- package/dist/lib/cascader/cascader-floating-content.js +1 -1
- package/dist/lib/cascader/cascader.d.ts +2 -1
- package/dist/lib/cascader/cascader.js +2 -2
- package/dist/lib/checkbox/checkbox.d.ts +1 -1
- package/dist/lib/chip/chip.d.ts +1 -1
- package/dist/lib/collapse/collapse.d.ts +1 -1
- package/dist/lib/container/container.d.ts +1 -1
- package/dist/lib/count-up/count-up.d.ts +1 -1
- package/dist/lib/countdown-timer/countdown-timer.d.ts +1 -1
- package/dist/lib/date-picker/date-picker.js +4 -4
- package/dist/lib/dialog/dialog/dialog.d.ts +1 -1
- package/dist/lib/dialog/dialog-body/dialog-body.d.ts +1 -1
- package/dist/lib/dialog/dialog-body/dialog-body.js +1 -1
- package/dist/lib/dialog/dialog-close/dialog-close.d.ts +1 -1
- package/dist/lib/dialog/dialog-footer/dialog-footer.d.ts +1 -1
- package/dist/lib/dialog/dialog-header/dialog-header.d.ts +1 -1
- package/dist/lib/dialog/dialog-header/dialog-header.js +1 -1
- package/dist/lib/drawer/drawer/drawer.d.ts +1 -1
- package/dist/lib/drawer/drawer/drawer.js +1 -1
- package/dist/lib/drawer/drawer-close/drawer-close.d.ts +1 -1
- package/dist/lib/filter-panel/checkbox-filter-panel.d.ts +1 -1
- package/dist/lib/filter-panel/checkbox-filter-panel.js +1 -1
- package/dist/lib/filter-panel/filter-panel.d.ts +1 -1
- package/dist/lib/filter-panel/filter-panel.js +1 -1
- package/dist/lib/filter-panel/input-text-filter-panel.d.ts +1 -1
- package/dist/lib/filter-panel/price-range-filter-panel.d.ts +1 -1
- package/dist/lib/filter-panel/price-range-filter-panel.js +1 -1
- package/dist/lib/filter-panel/radio-filter-panel.d.ts +1 -1
- package/dist/lib/flag/flag.d.ts +1 -1
- package/dist/lib/flexbox/flex-item/flex-item.d.ts +1 -1
- package/dist/lib/flexbox/flexbox/flexbox.d.ts +1 -1
- package/dist/lib/floating/floating/floating.d.ts +1 -1
- package/dist/lib/floating/floating-close/floating-close.d.ts +1 -1
- package/dist/lib/floating/floating-content/floating-content.d.ts +1 -1
- package/dist/lib/floating/floating-trigger/floating-trigger.d.ts +1 -1
- package/dist/lib/form-helper-text/form-helper-text.d.ts +1 -1
- package/dist/lib/form-label/form-label.d.ts +1 -1
- package/dist/lib/grid/cell/cell.d.ts +1 -1
- package/dist/lib/grid/grid/grid.d.ts +1 -1
- package/dist/lib/highlight-words/highlight-words.d.ts +1 -1
- package/dist/lib/icon/icon.d.ts +1 -1
- package/dist/lib/icon-button/icon-button.js +1 -1
- package/dist/lib/image/image.d.ts +1 -1
- package/dist/lib/input/input.d.ts +2 -1
- package/dist/lib/input/input.js +1 -1
- package/dist/lib/input-number/input-number.d.ts +1 -1
- package/dist/lib/input-range/input-range.d.ts +1 -1
- package/dist/lib/input-range/input-range.js +1 -1
- package/dist/lib/lightbox/lightbox.d.ts +1 -1
- package/dist/lib/lightbox/lightbox.js +3 -3
- package/dist/lib/linear-progress/linear-progress.d.ts +1 -1
- package/dist/lib/link/link.d.ts +1 -1
- package/dist/lib/loading/block-skeleton/block-skeleton.d.ts +1 -1
- package/dist/lib/loading/image-skeleton/image-skeleton.d.ts +1 -1
- package/dist/lib/loading/loading-overlay/loading-overlay.d.ts +1 -1
- package/dist/lib/loading/text-skeleton/text-skeleton.d.ts +1 -1
- package/dist/lib/marquee/marquee/marquee.d.ts +1 -1
- package/dist/lib/marquee/marquee/marquee.js +1 -1
- package/dist/lib/marquee/marquee-item/marquee-item.d.ts +1 -1
- package/dist/lib/menu/menu/menu.d.ts +1 -1
- package/dist/lib/menu/menu-item/menu-item.d.ts +1 -1
- package/dist/lib/menu/menu-list/menu-list.d.ts +1 -1
- package/dist/lib/menu/menu-trigger/menu-trigger.d.ts +1 -1
- package/dist/lib/multiple-select/multiple-select.d.ts +2 -1
- package/dist/lib/multiple-select/multiple-select.js +3 -3
- package/dist/lib/nav-link/nav-link.d.ts +1 -1
- package/dist/lib/notifications/notifications.d.ts +1 -1
- package/dist/lib/otp-input/otp-input.d.ts +1 -1
- package/dist/lib/pagination/pagination.d.ts +1 -1
- package/dist/lib/pagination/pagination.js +1 -1
- package/dist/lib/phone-input/phone-input.js +2 -2
- package/dist/lib/popover/popover/popover.d.ts +1 -1
- package/dist/lib/popover/popover-close/popover-close.d.ts +1 -1
- package/dist/lib/popover/popover-content/popover-content.d.ts +1 -1
- package/dist/lib/popover/popover-trigger/popover-trigger.d.ts +1 -1
- package/dist/lib/price-label/price-label.d.ts +1 -1
- package/dist/lib/primitive/primitive.d.ts +1 -1
- package/dist/lib/progress/progress.d.ts +1 -1
- package/dist/lib/radio-button/radio-button.d.ts +1 -1
- package/dist/lib/select/select.js +1 -1
- package/dist/lib/star-rating/star-rating.d.ts +1 -1
- package/dist/lib/stepper/stepper.d.ts +1 -1
- package/dist/lib/stepper/stepper.js +1 -1
- package/dist/lib/stylesheet/stylesheet.d.ts +1 -1
- package/dist/lib/suspense-query/suspense-query.d.ts +1 -1
- package/dist/lib/swiper/swiper/swiper.d.ts +1 -1
- package/dist/lib/swiper/swiper-dots-paging/swiper-dots-paging.d.ts +1 -1
- package/dist/lib/swiper/swiper-side-arrows-paging/swiper-side-arrows-paging.d.ts +2 -1
- package/dist/lib/swiper/swiper-slide/swiper-slide.d.ts +1 -1
- package/dist/lib/switch/switch.d.ts +1 -1
- package/dist/lib/table/table/table.d.ts +1 -1
- package/dist/lib/table/table-body/table-body.d.ts +1 -1
- package/dist/lib/table/table-cell/table-cell.d.ts +1 -1
- package/dist/lib/table/table-footer/table-footer.d.ts +1 -1
- package/dist/lib/table/table-head/table-head.d.ts +1 -1
- package/dist/lib/table/table-row/table-row.d.ts +1 -1
- package/dist/lib/tabs/tab/tab.d.ts +2 -1
- package/dist/lib/tabs/tab-content/tab-content.d.ts +1 -1
- package/dist/lib/tabs/tab-indicator/tab-indicator.d.ts +1 -1
- package/dist/lib/tabs/tab-list/tab-list.d.ts +1 -1
- package/dist/lib/tabs/tab-list/tab-list.js +1 -1
- package/dist/lib/tabs/tab-panel/tab-panel.d.ts +1 -1
- package/dist/lib/tabs/tabs/tabs.d.ts +1 -1
- package/dist/lib/text/text.d.ts +1 -1
- package/dist/lib/textarea/textarea.d.ts +2 -1
- package/dist/lib/time-picker/time-picker.js +1 -1
- package/dist/lib/tooltip/tooltip.d.ts +1 -1
- package/dist/lib/unordered-list/list-item/list-item.d.ts +1 -1
- package/dist/lib/unordered-list/unordered-list/unordered-list.d.ts +1 -1
- package/dist/lib/video/video.d.ts +1 -1
- package/dist/style.css +676 -1
- package/dist/theme/preflight.d.ts +1 -1
- package/dist/theme/provider.d.ts +1 -1
- package/dist/utils/common.d.ts +1 -1
- package/dist/utils/common.js +5 -5
- package/package.json +2 -1
package/dist/components/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './scroll-view';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropsWithSx } from '
|
|
1
|
+
import { PropsWithSx } from '../../types';
|
|
2
2
|
import { OverlayScrollbarsComponentProps, OverlayScrollbarsComponentRef } from 'overlayscrollbars-react';
|
|
3
3
|
export type ScrollViewProps = PropsWithSx<OverlayScrollbarsComponentProps>;
|
|
4
4
|
export type ScrollViewRef = OverlayScrollbarsComponentRef;
|
|
5
|
-
export declare const ScrollView: ({ children, options, sx, ...props }: ScrollViewProps) => import("react
|
|
5
|
+
export declare const ScrollView: ({ children, options, sx, ...props }: ScrollViewProps) => import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
import { Stylesheet } from "
|
|
2
|
+
/* empty css */
|
|
3
|
+
import { Stylesheet } from "../../lib/stylesheet/stylesheet.js";
|
|
4
4
|
import { OverlayScrollbarsComponent } from "overlayscrollbars-react";
|
|
5
5
|
const ScrollView = ({ children, options, sx, ...props }) => {
|
|
6
6
|
return /* @__PURE__ */ jsx(Stylesheet, { children: ({ cx, css }) => /* @__PURE__ */ jsx(
|
|
@@ -3,4 +3,4 @@ import { PropsWithSx } from '../types';
|
|
|
3
3
|
export type SvgLoaderProps = PropsWithSx<JSX.IntrinsicElements['svg'] & {
|
|
4
4
|
source: string;
|
|
5
5
|
}>;
|
|
6
|
-
export declare const SvgLoader: ({ sx, source, ref, ...props }: SvgLoaderProps) =>
|
|
6
|
+
export declare const SvgLoader: ({ sx, source, ref, ...props }: SvgLoaderProps) => JSX.Element;
|
|
@@ -11,4 +11,4 @@ type VirtualizedListProps = PropsWithSx<ShallowMerge<JSX.IntrinsicElements['div'
|
|
|
11
11
|
ref?: Ref<ScrollViewRef>;
|
|
12
12
|
}>>;
|
|
13
13
|
export type { VirtualItem, VirtualizedListProps, VirtualizedListOptions };
|
|
14
|
-
export declare const VirtualizedList: ({ RowComponent, options, ref, ...props }: VirtualizedListProps) =>
|
|
14
|
+
export declare const VirtualizedList: ({ RowComponent, options, ref, ...props }: VirtualizedListProps) => JSX.Element;
|
|
@@ -3,7 +3,7 @@ import { useRef } from "react";
|
|
|
3
3
|
import { useMergeRefs } from "@floating-ui/react";
|
|
4
4
|
import { useVirtualizer } from "@tanstack/react-virtual";
|
|
5
5
|
import { motion } from "motion/react";
|
|
6
|
-
import { ScrollView } from "./scroll-view.js";
|
|
6
|
+
import { ScrollView } from "./scroll-view/scroll-view.js";
|
|
7
7
|
const VirtualizedList = ({ RowComponent, options, ref, ...props }) => {
|
|
8
8
|
var _a;
|
|
9
9
|
const scrollRef = useRef(null);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AccordionProps } from './types';
|
|
2
|
-
export declare const Accordion: (_props: AccordionProps) => import("react
|
|
2
|
+
export declare const Accordion: (_props: AccordionProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AccordionContentProps } from './types';
|
|
2
|
-
export declare const AccordionContent: ({ children, ref, ..._props }: AccordionContentProps) => import("react
|
|
2
|
+
export declare const AccordionContent: ({ children, ref, ..._props }: AccordionContentProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AccordionGroupProps } from './types';
|
|
2
|
-
export declare const AccordionGroup: ({ ref, ..._props }: AccordionGroupProps) => import("react
|
|
2
|
+
export declare const AccordionGroup: ({ ref, ..._props }: AccordionGroupProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AccordionSummaryProps } from './types';
|
|
2
|
-
export declare const AccordionSummary: ({ children, ref, ..._props }: AccordionSummaryProps) => import("react
|
|
2
|
+
export declare const AccordionSummary: ({ children, ref, ..._props }: AccordionSummaryProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { BadgeProps } from './types';
|
|
2
|
-
export declare const Badge: ({ color, content, offset, children }: BadgeProps) => import("react
|
|
2
|
+
export declare const Badge: ({ color, content, offset, children }: BadgeProps) => import("react").JSX.Element;
|
package/dist/lib/box/box.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { BoxProps } from './types';
|
|
2
|
-
export declare const Box: ({ children, ref, ..._props }: BoxProps) => import("react
|
|
2
|
+
export declare const Box: ({ children, ref, ..._props }: BoxProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { BreadcrumbItemProps } from './types';
|
|
2
|
-
export declare const BreadcrumbItem: ({ children, icon, ...props }: BreadcrumbItemProps) => import("react
|
|
2
|
+
export declare const BreadcrumbItem: ({ children, icon, ...props }: BreadcrumbItemProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { BreadcrumbsProps } from './types';
|
|
2
|
-
export declare const Breadcrumbs: ({ separator, children, color, ...props }: BreadcrumbsProps) => import("react
|
|
2
|
+
export declare const Breadcrumbs: ({ separator, children, color, ...props }: BreadcrumbsProps) => import("react").JSX.Element;
|
|
@@ -9,9 +9,9 @@ import { mediaQuery } from "../../theme/screens.js";
|
|
|
9
9
|
import { getColorVar } from "../../theme/palette.js";
|
|
10
10
|
import { getColorShadesByVariant, getSizeVariantState } from "../../utils/index.js";
|
|
11
11
|
import { createSxStyle } from "../../utils/stylesheet.js";
|
|
12
|
-
import { RippleEffect } from "../ripple-effect/ripple-effect.js";
|
|
13
12
|
import { Icon } from "../icon/icon.js";
|
|
14
13
|
import { Primitive } from "../primitive/primitive.js";
|
|
14
|
+
import { RippleEffect } from "../ripple-effect/ripple-effect.js";
|
|
15
15
|
const Button = ({ children, ref, ..._props }) => {
|
|
16
16
|
const {
|
|
17
17
|
color,
|
|
@@ -15,5 +15,5 @@ type CascaderFloatingContentProps = {
|
|
|
15
15
|
} & ToResponsiveProps<{
|
|
16
16
|
size?: SizeVariant;
|
|
17
17
|
}>;
|
|
18
|
-
export declare const CascaderFloatingContent: ({ searchable, selectedPath, options, loadOptions, onChange, inputProps, listProps, separator, lazy, size, sm, md, lg, }: CascaderFloatingContentProps) => import("react
|
|
18
|
+
export declare const CascaderFloatingContent: ({ searchable, selectedPath, options, loadOptions, onChange, inputProps, listProps, separator, lazy, size, sm, md, lg, }: CascaderFloatingContentProps) => import("react").JSX.Element;
|
|
19
19
|
export {};
|
|
@@ -12,11 +12,11 @@ import { useWindowScreen } from "../../hooks/use-window-screen/index.js";
|
|
|
12
12
|
import { useControllableState } from "../../hooks/use-controllable-state.js";
|
|
13
13
|
import { getColorVar } from "../../theme/palette.js";
|
|
14
14
|
import { getTypographyVar } from "../../theme/typography.js";
|
|
15
|
-
import { useFloatingContext } from "../floating/floating/helpers.js";
|
|
16
15
|
import { ensureArray, matchSearch } from "../../utils/common.js";
|
|
17
16
|
import { Primitive } from "../primitive/primitive.js";
|
|
18
17
|
import { Input } from "../input/input.js";
|
|
19
18
|
import { TextSkeleton } from "../loading/text-skeleton/text-skeleton.js";
|
|
19
|
+
import { useFloatingContext } from "../floating/floating/helpers.js";
|
|
20
20
|
const DEFAULT_DISPLAY_ROW_COUNT = 5;
|
|
21
21
|
const CascaderFloatingContent = ({
|
|
22
22
|
searchable,
|
|
@@ -11,11 +11,11 @@ import { getSizeVariantState } from "../../utils/index.js";
|
|
|
11
11
|
import { useControllableState } from "../../hooks/use-controllable-state.js";
|
|
12
12
|
import { SvgLoader } from "../../components/svg-loader.js";
|
|
13
13
|
import { Primitive } from "../primitive/primitive.js";
|
|
14
|
+
import { InputMask as ForwardRefInputMask } from "../input-mask/input-mask.js";
|
|
15
|
+
import { FormHelperText } from "../form-helper-text/form-helper-text.js";
|
|
14
16
|
import { Floating } from "../floating/floating/floating.js";
|
|
15
17
|
import { FloatingTrigger } from "../floating/floating-trigger/floating-trigger.js";
|
|
16
|
-
import { InputMask as ForwardRefInputMask } from "../input-mask/input-mask.js";
|
|
17
18
|
import { FloatingContent } from "../floating/floating-content/floating-content.js";
|
|
18
|
-
import { FormHelperText } from "../form-helper-text/form-helper-text.js";
|
|
19
19
|
const DEFAULT_SEPARATOR = "/";
|
|
20
20
|
const Cascader = ({ ref, ..._props }) => {
|
|
21
21
|
const {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CheckboxProps } from './types';
|
|
2
|
-
export declare const Checkbox: ({ children, indeterminate, color, className, ref, containerProps, ...props }: CheckboxProps) => import("react
|
|
2
|
+
export declare const Checkbox: ({ children, indeterminate, color, className, ref, containerProps, ...props }: CheckboxProps) => import("react").JSX.Element;
|
package/dist/lib/chip/chip.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ChipProps } from './types';
|
|
2
|
-
export declare const Chip: ({ children, ..._props }: ChipProps) => import("react
|
|
2
|
+
export declare const Chip: ({ children, ..._props }: ChipProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CollapseProps } from './types';
|
|
2
|
-
export declare const Collapse: ({ children, open, collapsedSize, orientation, sx, ...props }: CollapseProps) => import("react
|
|
2
|
+
export declare const Collapse: ({ children, open, collapsedSize, orientation, sx, ...props }: CollapseProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ContainerProps } from './types';
|
|
2
|
-
export declare const Container: ({ children, ref, ..._props }: ContainerProps) => import("react
|
|
2
|
+
export declare const Container: ({ children, ref, ..._props }: ContainerProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CountUpProps } from './types';
|
|
2
|
-
export declare const CountUp: ({ ref, ..._props }: CountUpProps) => import("react
|
|
2
|
+
export declare const CountUp: ({ ref, ..._props }: CountUpProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CountdownTimerProps } from './types';
|
|
2
|
-
export declare const CountdownTimer: ({ children, ...props }: CountdownTimerProps) => import("react
|
|
2
|
+
export declare const CountdownTimer: ({ children, ...props }: CountdownTimerProps) => import("react").JSX.Element;
|
|
@@ -12,14 +12,14 @@ import { getColorVar } from "../../theme/palette.js";
|
|
|
12
12
|
import { getTypographyVar } from "../../theme/typography.js";
|
|
13
13
|
import CloseIcon from "../../assets/svg/times-close-delete.svg.js";
|
|
14
14
|
import { createSxStyle } from "../../utils/stylesheet.js";
|
|
15
|
-
import { TimePicker } from "../time-picker/time-picker.js";
|
|
16
|
-
import { Floating } from "../floating/floating/floating.js";
|
|
17
|
-
import { FloatingTrigger } from "../floating/floating-trigger/floating-trigger.js";
|
|
18
15
|
import { InputMask as ForwardRefInputMask } from "../input-mask/input-mask.js";
|
|
19
16
|
import { Primitive } from "../primitive/primitive.js";
|
|
20
|
-
import { FloatingContent } from "../floating/floating-content/floating-content.js";
|
|
21
17
|
import { FormHelperText } from "../form-helper-text/form-helper-text.js";
|
|
22
18
|
import { Icon } from "../icon/icon.js";
|
|
19
|
+
import { TimePicker } from "../time-picker/time-picker.js";
|
|
20
|
+
import { Floating } from "../floating/floating/floating.js";
|
|
21
|
+
import { FloatingTrigger } from "../floating/floating-trigger/floating-trigger.js";
|
|
22
|
+
import { FloatingContent } from "../floating/floating-content/floating-content.js";
|
|
23
23
|
const DEFAULT_DATE_FORMAT = "MM/DD/YYYY";
|
|
24
24
|
const DEFAULT_DATETIME_FORMAT = "MM/DD/YYYY HH:mm";
|
|
25
25
|
const DatePicker = (_props, ref) => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DialogProps } from './types';
|
|
2
|
-
export declare const Dialog: (_props: DialogProps) => import("react
|
|
2
|
+
export declare const Dialog: (_props: DialogProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DialogBodyProps } from './types';
|
|
2
|
-
export declare const DialogBody: (props: DialogBodyProps) => import("react
|
|
2
|
+
export declare const DialogBody: (props: DialogBodyProps) => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const DialogClose: ({ event, reason, ref, ...props }: import('../../floating').FloatingCloseProps) => import("react
|
|
1
|
+
export declare const DialogClose: ({ event, reason, ref, ...props }: import('../../floating').FloatingCloseProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DialogFooterProps } from './types';
|
|
2
|
-
export declare const DialogFooter: ({ sx, ...props }: DialogFooterProps) => import("react
|
|
2
|
+
export declare const DialogFooter: ({ sx, ...props }: DialogFooterProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DialogHeaderProps } from './types';
|
|
2
|
-
export declare const DialogHeader: ({ children, closeable, ...props }: DialogHeaderProps) => import("react
|
|
2
|
+
export declare const DialogHeader: ({ children, closeable, ...props }: DialogHeaderProps) => import("react").JSX.Element;
|
|
@@ -3,8 +3,8 @@ import CloseIcon from "../../../assets/svg/times-close-delete.svg.js";
|
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "../../../theme/palette.js";
|
|
5
5
|
import { getTypographyVar } from "../../../theme/typography.js";
|
|
6
|
-
import { DialogClose } from "../dialog-close/dialog-close.js";
|
|
7
6
|
import { Primitive } from "../../primitive/primitive.js";
|
|
7
|
+
import { DialogClose } from "../dialog-close/dialog-close.js";
|
|
8
8
|
import { IconButton } from "../../icon-button/icon-button.js";
|
|
9
9
|
const DialogHeader = ({ children, closeable = true, ...props }) => {
|
|
10
10
|
return /* @__PURE__ */ jsxs(
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DrawerProps } from './types';
|
|
2
|
-
export declare const Drawer: ({ children, placement, ...props }: DrawerProps) => import("react
|
|
2
|
+
export declare const Drawer: ({ children, placement, ...props }: DrawerProps) => import("react").JSX.Element;
|
|
@@ -2,9 +2,9 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { motion } from "motion/react";
|
|
4
4
|
import { Stylesheet } from "../../stylesheet/stylesheet.js";
|
|
5
|
+
import { Primitive } from "../../primitive/primitive.js";
|
|
5
6
|
import { Floating } from "../../floating/floating/floating.js";
|
|
6
7
|
import { FloatingContent } from "../../floating/floating-content/floating-content.js";
|
|
7
|
-
import { Primitive } from "../../primitive/primitive.js";
|
|
8
8
|
const Drawer = ({ children, placement = "left", ...props }) => {
|
|
9
9
|
const initial = useMemo(() => {
|
|
10
10
|
switch (placement) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const DrawerClose: ({ event, reason, ref, ...props }: import('../../floating').FloatingCloseProps) => import("react
|
|
1
|
+
export declare const DrawerClose: ({ event, reason, ref, ...props }: import('../../floating').FloatingCloseProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CheckboxFilterPanelProps } from './types';
|
|
2
|
-
export declare const CheckboxFilterPanel: ({ value, options, inputSearchProps: _inputSearchProps, onChange, queryParam, name, listProps, }: CheckboxFilterPanelProps) => import("react
|
|
2
|
+
export declare const CheckboxFilterPanel: ({ value, options, inputSearchProps: _inputSearchProps, onChange, queryParam, name, listProps, }: CheckboxFilterPanelProps) => import("react").JSX.Element;
|
|
@@ -6,9 +6,9 @@ import { useQueryParams } from "../../hooks/use-query-params.js";
|
|
|
6
6
|
import "../../theme/palette.js";
|
|
7
7
|
import { matchSearch } from "../../utils/common.js";
|
|
8
8
|
import { ArrayParamParser } from "../../utils/query-params.js";
|
|
9
|
-
import { Checkbox } from "../checkbox/checkbox.js";
|
|
10
9
|
import { Primitive } from "../primitive/primitive.js";
|
|
11
10
|
import { Input } from "../input/input.js";
|
|
11
|
+
import { Checkbox } from "../checkbox/checkbox.js";
|
|
12
12
|
const ROW_HEIGHT = 32;
|
|
13
13
|
const DISPLAY_ROW_COUNT = 5;
|
|
14
14
|
const CheckboxFilterPanel = ({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { FilterPanelProps } from './types';
|
|
2
|
-
export declare const FilterPanel: ({ label, defaultOpen, ...props }: FilterPanelProps) => import("react
|
|
2
|
+
export declare const FilterPanel: ({ label, defaultOpen, ...props }: FilterPanelProps) => import("react").JSX.Element;
|
|
@@ -6,9 +6,9 @@ import { PriceRangeFilterPanel } from "./price-range-filter-panel.js";
|
|
|
6
6
|
import { InputTextFilterPanel } from "./input-text-filter-panel.js";
|
|
7
7
|
import { RadioFilterPanel } from "./radio-filter-panel.js";
|
|
8
8
|
import ArrowDownIcon from "../../assets/svg/arrow-down.svg.js";
|
|
9
|
-
import { Collapse } from "../collapse/collapse.js";
|
|
10
9
|
import { Primitive } from "../primitive/primitive.js";
|
|
11
10
|
import { Icon } from "../icon/icon.js";
|
|
11
|
+
import { Collapse } from "../collapse/collapse.js";
|
|
12
12
|
const FilterPanel = ({ label, defaultOpen = true, ...props }) => {
|
|
13
13
|
const [open, toggle] = useToggle(defaultOpen);
|
|
14
14
|
return /* @__PURE__ */ jsxs(Primitive, { sx: { display: "flex", flexDirection: "column", gap: 8 }, children: [
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { InputTextFilterPanelProps } from './types';
|
|
2
|
-
export declare const InputTextFilterPanel: ({ queryParam, fieldType: _fieldType, ...props }: InputTextFilterPanelProps) => import("react
|
|
2
|
+
export declare const InputTextFilterPanel: ({ queryParam, fieldType: _fieldType, ...props }: InputTextFilterPanelProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { InputRangeFilterPanelProps } from './types';
|
|
2
|
-
export declare const PriceRangeFilterPanel: ({ value, queryParam, placeholder, priceTypes, onPriceChange, onPriceTypeChange, }: InputRangeFilterPanelProps) => import("react
|
|
2
|
+
export declare const PriceRangeFilterPanel: ({ value, queryParam, placeholder, priceTypes, onPriceChange, onPriceTypeChange, }: InputRangeFilterPanelProps) => import("react").JSX.Element;
|
|
@@ -5,9 +5,9 @@ import { useId } from "react";
|
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "../../theme/palette.js";
|
|
7
7
|
import { StringParamParser, NumberParamParser } from "../../utils/query-params.js";
|
|
8
|
+
import { Primitive } from "../primitive/primitive.js";
|
|
8
9
|
import { RadioButton } from "../radio-button/radio-button.js";
|
|
9
10
|
import { InputRange } from "../input-range/input-range.js";
|
|
10
|
-
import { Primitive } from "../primitive/primitive.js";
|
|
11
11
|
const PriceRangeFilterPanel = ({
|
|
12
12
|
value,
|
|
13
13
|
queryParam,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { RadioFilterPanelProps } from './types';
|
|
2
|
-
export declare const RadioFilterPanel: ({ options, inputSearchProps: _inputSearchProps, value, onChange, queryParam, fallbackValue, }: RadioFilterPanelProps) => import("react
|
|
2
|
+
export declare const RadioFilterPanel: ({ options, inputSearchProps: _inputSearchProps, value, onChange, queryParam, fallbackValue, }: RadioFilterPanelProps) => import("react").JSX.Element;
|
package/dist/lib/flag/flag.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { FlagProps } from './types';
|
|
2
|
-
export declare const Flag: ({ ref, ..._props }: FlagProps) => import("react
|
|
2
|
+
export declare const Flag: ({ ref, ..._props }: FlagProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { FlexItemProps } from './types';
|
|
2
|
-
export declare const FlexItem: ({ children, ref, ...rest }: FlexItemProps) => import("react
|
|
2
|
+
export declare const FlexItem: ({ children, ref, ...rest }: FlexItemProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { FlexboxProps } from './types';
|
|
2
|
-
export declare const Flexbox: ({ children, ref, ..._props }: FlexboxProps) => import("react
|
|
2
|
+
export declare const Flexbox: ({ children, ref, ..._props }: FlexboxProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { FloatingProps } from './types';
|
|
2
|
-
export declare const Floating: ({ ref, ...props }: FloatingProps) => import("react
|
|
2
|
+
export declare const Floating: ({ ref, ...props }: FloatingProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { FloatingCloseProps } from './types';
|
|
2
|
-
export declare const FloatingClose: ({ event, reason, ref, ...props }: FloatingCloseProps) => import("react
|
|
2
|
+
export declare const FloatingClose: ({ event, reason, ref, ...props }: FloatingCloseProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { FloatingContentProps } from './types';
|
|
2
|
-
export declare const FloatingContent: ({ preserveTabOrder, focus, overlay, sx, ref, ...props }: FloatingContentProps) => import("react
|
|
2
|
+
export declare const FloatingContent: ({ preserveTabOrder, focus, overlay, sx, ref, ...props }: FloatingContentProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { FloatingTriggerProps } from './types';
|
|
2
|
-
export declare const FloatingTrigger: ({ children }: FloatingTriggerProps) => import("react
|
|
2
|
+
export declare const FloatingTrigger: ({ children }: FloatingTriggerProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { FormHelperTextProps } from './types';
|
|
2
|
-
export declare const FormHelperText: ({ error, children, ...props }: FormHelperTextProps) => import("react
|
|
2
|
+
export declare const FormHelperText: ({ error, children, ...props }: FormHelperTextProps) => import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ import { PrimitiveProps } from '../primitive';
|
|
|
4
4
|
export type FormLabelProps = PrimitiveProps<ShallowMerge<JSX.IntrinsicElements['div'], {
|
|
5
5
|
required?: boolean;
|
|
6
6
|
}>>;
|
|
7
|
-
export declare const FormLabel: ({ required, children, ...props }: FormLabelProps) =>
|
|
7
|
+
export declare const FormLabel: ({ required, children, ...props }: FormLabelProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CellProps } from './types';
|
|
2
|
-
export declare const Cell: ({ children, ref, ..._props }: CellProps) => import("react
|
|
2
|
+
export declare const Cell: ({ children, ref, ..._props }: CellProps) => import("react").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { GridProps } from './types';
|
|
2
2
|
export declare const GRID_MINIMUM_COLS = 1;
|
|
3
3
|
export declare const GRID_MAXIMUM_COLS = 24;
|
|
4
|
-
export declare const Grid: ({ children, ref, ..._props }: GridProps) => import("react
|
|
4
|
+
export declare const Grid: ({ children, ref, ..._props }: GridProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { HighlightWordsProps } from './types';
|
|
2
|
-
export declare const HighlightWords: ({ highlightClassName, ...props }: HighlightWordsProps) => import("react
|
|
2
|
+
export declare const HighlightWords: ({ highlightClassName, ...props }: HighlightWordsProps) => import("react").JSX.Element;
|
package/dist/lib/icon/icon.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IconProps } from './types';
|
|
2
|
-
export declare const Icon: ({ children: _children, ref, ..._props }: IconProps) => import("react
|
|
2
|
+
export declare const Icon: ({ children: _children, ref, ..._props }: IconProps) => import("react").JSX.Element;
|
|
@@ -8,8 +8,8 @@ import { getColorShadesByVariant, getSizeVariantState } from "../../utils/index.
|
|
|
8
8
|
import { animateSpinStyle } from "../../constants/emotion.js";
|
|
9
9
|
import { ensureBoolean } from "../../utils/common.js";
|
|
10
10
|
import { Icon } from "../icon/icon.js";
|
|
11
|
-
import { Primitive } from "../primitive/primitive.js";
|
|
12
11
|
import { RippleEffect } from "../ripple-effect/ripple-effect.js";
|
|
12
|
+
import { Primitive } from "../primitive/primitive.js";
|
|
13
13
|
const IconButton = ({ children, ref, ..._props }) => {
|
|
14
14
|
const { size, color, variant, icon, isLoading, sx, sm, md, lg, ...rest } = getIconButtonProps(_props);
|
|
15
15
|
const {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ImageProps } from './types';
|
|
2
|
-
export declare const Image: ({ ref, ..._props }: ImageProps) => import("react
|
|
2
|
+
export declare const Image: ({ ref, ..._props }: ImageProps) => import("react").JSX.Element;
|
package/dist/lib/input/input.js
CHANGED
|
@@ -8,9 +8,9 @@ import EyeVisible from "../../assets/svg/eye-show-visible.svg.js";
|
|
|
8
8
|
import { getSizeVariantState } from "../../utils/index.js";
|
|
9
9
|
import { getColorVar } from "../../theme/palette.js";
|
|
10
10
|
import { getTypographyVar } from "../../theme/typography.js";
|
|
11
|
-
import { FormHelperText } from "../form-helper-text/form-helper-text.js";
|
|
12
11
|
import { Primitive } from "../primitive/primitive.js";
|
|
13
12
|
import { Icon } from "../icon/icon.js";
|
|
13
|
+
import { FormHelperText } from "../form-helper-text/form-helper-text.js";
|
|
14
14
|
const Input = ({ ref, ..._props }) => {
|
|
15
15
|
var _a, _b, _c;
|
|
16
16
|
const {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { InputNumberProps } from './types';
|
|
2
|
-
export declare const InputNumber: ({ value, defaultValue, className, step, suffix, prefix, fractionDigits, max, min, ref, ...props }: InputNumberProps) => import("react
|
|
2
|
+
export declare const InputNumber: ({ value, defaultValue, className, step, suffix, prefix, fractionDigits, max, min, ref, ...props }: InputNumberProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { InputRangeProps } from './types';
|
|
2
|
-
export declare const InputRange: ({ ref: _ref, ..._props }: InputRangeProps) => import("react
|
|
2
|
+
export declare const InputRange: ({ ref: _ref, ..._props }: InputRangeProps) => import("react").JSX.Element;
|
|
@@ -5,9 +5,9 @@ import { getSizeVariantState } from "../../utils/index.js";
|
|
|
5
5
|
import LongArrowRightIcon from "../../assets/svg/long-arrow-right.svg.js";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import { getColorVar } from "../../theme/palette.js";
|
|
8
|
-
import { InputNumber } from "../input-number/input-number.js";
|
|
9
8
|
import { Primitive } from "../primitive/primitive.js";
|
|
10
9
|
import { Icon } from "../icon/icon.js";
|
|
10
|
+
import { InputNumber } from "../input-number/input-number.js";
|
|
11
11
|
import { FormHelperText } from "../form-helper-text/form-helper-text.js";
|
|
12
12
|
const InputRange = ({ ref: _ref, ..._props }) => {
|
|
13
13
|
const {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { LightboxProps } from './types';
|
|
2
|
-
export declare const Lightbox: ({ slides, defaultActiveIndex, ...props }: LightboxProps) => import("react
|
|
2
|
+
export declare const Lightbox: ({ slides, defaultActiveIndex, ...props }: LightboxProps) => import("react").JSX.Element;
|
|
@@ -11,14 +11,14 @@ import ZoomMinusIcon from "../../assets/svg/search-minus.svg.js";
|
|
|
11
11
|
import CloseIcon from "../../assets/svg/times-close-delete.svg.js";
|
|
12
12
|
import { FLOATING_Z_INDEX } from "../../theme/index.js";
|
|
13
13
|
import { Stylesheet } from "../stylesheet/stylesheet.js";
|
|
14
|
+
import { Primitive } from "../primitive/primitive.js";
|
|
14
15
|
import { Swiper } from "../swiper/swiper/swiper.js";
|
|
15
16
|
import { SwiperSlide } from "../swiper/swiper-slide/swiper-slide.js";
|
|
17
|
+
import { Image } from "../image/image.js";
|
|
18
|
+
import { IconButton } from "../icon-button/icon-button.js";
|
|
16
19
|
import { Floating } from "../floating/floating/floating.js";
|
|
17
20
|
import { FloatingContent } from "../floating/floating-content/floating-content.js";
|
|
18
|
-
import { Primitive } from "../primitive/primitive.js";
|
|
19
|
-
import { Image } from "../image/image.js";
|
|
20
21
|
import { FloatingClose } from "../floating/floating-close/floating-close.js";
|
|
21
|
-
import { IconButton } from "../icon-button/icon-button.js";
|
|
22
22
|
const LightboxIconButton = (props) => {
|
|
23
23
|
return /* @__PURE__ */ jsx(
|
|
24
24
|
IconButton,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { LinearProgressProps } from './types';
|
|
2
|
-
export declare const LinearProgress: (_props: LinearProgressProps) => import("react
|
|
2
|
+
export declare const LinearProgress: (_props: LinearProgressProps) => import("react").JSX.Element;
|
package/dist/lib/link/link.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { LinkProps } from './types';
|
|
2
|
-
export declare const Link: ({ children, ref, ..._props }: LinkProps) => import("react
|
|
2
|
+
export declare const Link: ({ children, ref, ..._props }: LinkProps) => import("react").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
2
|
import { PrimitiveProps } from '../../primitive';
|
|
3
3
|
export type BlockSkeletonProps = PrimitiveProps<JSX.IntrinsicElements['div']>;
|
|
4
|
-
export declare const BlockSkeleton: (props: BlockSkeletonProps) =>
|
|
4
|
+
export declare const BlockSkeleton: (props: BlockSkeletonProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ImageSkeletonProps } from './types';
|
|
2
|
-
export declare const ImageSkeleton: (props: ImageSkeletonProps) => import("react
|
|
2
|
+
export declare const ImageSkeleton: (props: ImageSkeletonProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { LoadingOverlayProps } from './types';
|
|
2
|
-
export declare const LoadingOverlay: ({ isLoading, iconProps, color, style, size, children, ...props }: LoadingOverlayProps) => import("react
|
|
2
|
+
export declare const LoadingOverlay: ({ isLoading, iconProps, color, style, size, children, ...props }: LoadingOverlayProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TextSkeletonProps } from './types';
|
|
2
|
-
export declare const TextSkeleton: (props: TextSkeletonProps) => import("react
|
|
2
|
+
export declare const TextSkeleton: (props: TextSkeletonProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { MarqueeProps } from './types';
|
|
2
|
-
export declare const Marquee: ({ children, ref, ..._props }: MarqueeProps) => import("react
|
|
2
|
+
export declare const Marquee: ({ children, ref, ..._props }: MarqueeProps) => import("react").JSX.Element;
|
|
@@ -7,8 +7,8 @@ import { getMarqueeProps } from "./helpers.js";
|
|
|
7
7
|
import { MarqueeDataAttributes } from "./types.js";
|
|
8
8
|
import { flattenChildren } from "../../../utils/index.js";
|
|
9
9
|
import { isNumber } from "lodash-es";
|
|
10
|
-
import { Icon } from "../../icon/icon.js";
|
|
11
10
|
import { Primitive } from "../../primitive/primitive.js";
|
|
11
|
+
import { Icon } from "../../icon/icon.js";
|
|
12
12
|
const Marquee = ({ children, ref, ..._props }) => {
|
|
13
13
|
var _a, _b, _c;
|
|
14
14
|
const { spaceBetween, sm, md, lg, autoScrollOptions, separatorIcon, ...rest } = getMarqueeProps(_props);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { MarqueeItemProps } from './types';
|
|
2
|
-
export declare const MarqueeItem: ({ ref, ...props }: MarqueeItemProps) => import("react
|
|
2
|
+
export declare const MarqueeItem: ({ ref, ...props }: MarqueeItemProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { MenuProps } from './types';
|
|
2
|
-
export declare const Menu: ({ hoverProps, dismissProps, clickProps, ...props }: MenuProps) => import("react
|
|
2
|
+
export declare const Menu: ({ hoverProps, dismissProps, clickProps, ...props }: MenuProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { MenuItemProps } from './types';
|
|
2
|
-
export declare const MenuItem: ({ ref, ..._props }: MenuItemProps) => import("react
|
|
2
|
+
export declare const MenuItem: ({ ref, ..._props }: MenuItemProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { MenuListProps } from './types';
|
|
2
|
-
export declare const MenuList: ({ children, ...props }: MenuListProps) => import("react
|
|
2
|
+
export declare const MenuList: ({ children, ...props }: MenuListProps) => import("react").JSX.Element;
|