@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
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { MenuTriggerProps } from './types';
|
|
2
|
-
export declare const MenuTrigger: ({ ...props }: MenuTriggerProps) => import("react
|
|
2
|
+
export declare const MenuTrigger: ({ ...props }: MenuTriggerProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import { JSX } from 'react';
|
|
1
2
|
import { MultipleSelectProps } from './types';
|
|
2
|
-
export declare const MultipleSelect: <O extends object = object>({ ref, ...props }: MultipleSelectProps<O>) =>
|
|
3
|
+
export declare const MultipleSelect: <O extends object = object>({ ref, ...props }: MultipleSelectProps<O>) => JSX.Element;
|
|
@@ -10,15 +10,15 @@ import { getResponsiveProp, getSizeVariantState } from "../../utils/index.js";
|
|
|
10
10
|
import ArrowDownIcon from "../../assets/svg/arrow-down.svg.js";
|
|
11
11
|
import { getColorVar } from "../../theme/palette.js";
|
|
12
12
|
import { getTypographyVar } from "../../theme/typography.js";
|
|
13
|
+
import { ensureArray, matchSearch } from "../../utils/common.js";
|
|
14
|
+
import { InputMask as ForwardRefInputMask } from "../input-mask/input-mask.js";
|
|
15
|
+
import { Input } from "../input/input.js";
|
|
13
16
|
import { Checkbox } from "../checkbox/checkbox.js";
|
|
14
17
|
import { TextSkeleton } from "../loading/text-skeleton/text-skeleton.js";
|
|
15
|
-
import { ensureArray, matchSearch } from "../../utils/common.js";
|
|
16
18
|
import { Primitive } from "../primitive/primitive.js";
|
|
17
19
|
import { Floating } from "../floating/floating/floating.js";
|
|
18
20
|
import { FloatingTrigger } from "../floating/floating-trigger/floating-trigger.js";
|
|
19
|
-
import { InputMask as ForwardRefInputMask } from "../input-mask/input-mask.js";
|
|
20
21
|
import { FloatingContent } from "../floating/floating-content/floating-content.js";
|
|
21
|
-
import { Input } from "../input/input.js";
|
|
22
22
|
import { FormHelperText } from "../form-helper-text/form-helper-text.js";
|
|
23
23
|
const DEFAULT_DISPLAY_ROW_COUNT = 5;
|
|
24
24
|
const MultipleSelect = ({ ref, ...props }) => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { NavLinkProps } from './types';
|
|
2
|
-
export declare const NavLink: ({ children, style, className, to, ref, ...props }: NavLinkProps) => import("react
|
|
2
|
+
export declare const NavLink: ({ children, style, className, to, ref, ...props }: NavLinkProps) => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Notifications: () => import("react
|
|
1
|
+
export declare const Notifications: () => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { OtpInputProps } from './types';
|
|
2
|
-
export declare const OtpInput: ({ length, onFullfilled, onChange, disabled, autoFocus, isLoading, defaultValue, value, error, size, sm, md, lg, }: OtpInputProps) => import("react
|
|
2
|
+
export declare const OtpInput: ({ length, onFullfilled, onChange, disabled, autoFocus, isLoading, defaultValue, value, error, size, sm, md, lg, }: OtpInputProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { PaginationProps } from './types';
|
|
2
|
-
export declare const Pagination: ({ ref, ..._props }: PaginationProps) => import("react
|
|
2
|
+
export declare const Pagination: ({ ref, ..._props }: PaginationProps) => import("react").JSX.Element;
|
|
@@ -8,9 +8,9 @@ import "lodash-es";
|
|
|
8
8
|
import "../../theme/palette.js";
|
|
9
9
|
import { getTypographyVar } from "../../theme/typography.js";
|
|
10
10
|
import { getSizeVariantState } from "../../utils/index.js";
|
|
11
|
+
import { Primitive } from "../primitive/primitive.js";
|
|
11
12
|
import { Text } from "../text/text.js";
|
|
12
13
|
import { IconButton } from "../icon-button/icon-button.js";
|
|
13
|
-
import { Primitive } from "../primitive/primitive.js";
|
|
14
14
|
import { Icon } from "../icon/icon.js";
|
|
15
15
|
const Pagination = ({ ref, ..._props }) => {
|
|
16
16
|
var _a, _b, _c, _d;
|
|
@@ -7,12 +7,12 @@ import countries from "../../assets/json/countries.json.js";
|
|
|
7
7
|
import { useControllableState } from "../../hooks/use-controllable-state.js";
|
|
8
8
|
import { getColorShadesByVariant } from "../../utils/index.js";
|
|
9
9
|
import { getColorVar } from "../../theme/palette.js";
|
|
10
|
-
import { Select } from "../select/select.js";
|
|
11
|
-
import { Flag } from "../flag/flag.js";
|
|
12
10
|
import { Primitive } from "../primitive/primitive.js";
|
|
13
11
|
import { InputMask as ForwardRefInputMask } from "../input-mask/input-mask.js";
|
|
12
|
+
import { Select } from "../select/select.js";
|
|
14
13
|
import { Input } from "../input/input.js";
|
|
15
14
|
import { FormHelperText } from "../form-helper-text/form-helper-text.js";
|
|
15
|
+
import { Flag } from "../flag/flag.js";
|
|
16
16
|
const CountryRowLabel = ({ code, name, dial_code }) => {
|
|
17
17
|
return /* @__PURE__ */ jsxs(Primitive, { sx: { display: "flex", alignItems: "center", gap: 8 }, children: [
|
|
18
18
|
/* @__PURE__ */ jsx(Flag, { countryCode: code }),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { PopoverProps } from './types';
|
|
2
|
-
export declare const Popover: ({ ...props }: PopoverProps) => import("react
|
|
2
|
+
export declare const Popover: ({ ...props }: PopoverProps) => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PopoverClose: ({ event, reason, ref, ...props }: import('../../floating').FloatingCloseProps) => import("react
|
|
1
|
+
export declare const PopoverClose: ({ event, reason, ref, ...props }: import('../../floating').FloatingCloseProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { PopoverContentProps } from './types';
|
|
2
|
-
export declare const PopoverContent: (props: PopoverContentProps) => import("react
|
|
2
|
+
export declare const PopoverContent: (props: PopoverContentProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { PopoverTriggerProps } from './types';
|
|
2
|
-
export declare const PopoverTrigger: (props: PopoverTriggerProps) => import("react
|
|
2
|
+
export declare const PopoverTrigger: (props: PopoverTriggerProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { PriceLabelProps } from './types';
|
|
2
|
-
export declare const PriceLabel: (_props: PriceLabelProps) => import("react
|
|
2
|
+
export declare const PriceLabel: (_props: PriceLabelProps) => import("react").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { HTMLProps } from 'react';
|
|
2
2
|
import { PrimitiveProps } from './types';
|
|
3
|
-
export declare const Primitive: <T extends HTMLProps<HTMLElement>>({ as, sx, ...rest }: PrimitiveProps<T>) => import("react
|
|
3
|
+
export declare const Primitive: <T extends HTMLProps<HTMLElement>>({ as, sx, ...rest }: PrimitiveProps<T>) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ProgressProps } from './types';
|
|
2
|
-
export declare const Progress: ({ value, direction, activeProps, children, ...props }: ProgressProps) => import("react
|
|
2
|
+
export declare const Progress: ({ value, direction, activeProps, children, ...props }: ProgressProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { RadioButtonProps } from './types';
|
|
2
|
-
export declare const RadioButton: ({ ref, ..._props }: RadioButtonProps) => import("react
|
|
2
|
+
export declare const RadioButton: ({ ref, ..._props }: RadioButtonProps) => import("react").JSX.Element;
|
|
@@ -12,12 +12,12 @@ import CheckIcon from "../../assets/svg/done-check.svg.js";
|
|
|
12
12
|
import { getColorVar } from "../../theme/palette.js";
|
|
13
13
|
import { getTypographyVar } from "../../theme/typography.js";
|
|
14
14
|
import { ensureArray, matchSearch } from "../../utils/common.js";
|
|
15
|
+
import { Primitive } from "../primitive/primitive.js";
|
|
15
16
|
import { Floating } from "../floating/floating/floating.js";
|
|
16
17
|
import { FloatingTrigger } from "../floating/floating-trigger/floating-trigger.js";
|
|
17
18
|
import { InputMask as ForwardRefInputMask } from "../input-mask/input-mask.js";
|
|
18
19
|
import { FloatingContent } from "../floating/floating-content/floating-content.js";
|
|
19
20
|
import { Input } from "../input/input.js";
|
|
20
|
-
import { Primitive } from "../primitive/primitive.js";
|
|
21
21
|
import { FormHelperText } from "../form-helper-text/form-helper-text.js";
|
|
22
22
|
const DEFAULT_DISPLAY_ROW_COUNT = 5;
|
|
23
23
|
const Select = ({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { StarRatingProps } from './types';
|
|
2
|
-
export declare const StarRating: (_props: StarRatingProps) => import("react
|
|
2
|
+
export declare const StarRating: (_props: StarRatingProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { StepperProps } from './types';
|
|
2
|
-
export declare const Stepper: ({ ref, ...props }: StepperProps) => import("react
|
|
2
|
+
export declare const Stepper: ({ ref, ...props }: StepperProps) => import("react").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Step } from "./step.js";
|
|
3
|
-
import { Progress } from "../progress/progress.js";
|
|
4
3
|
import { Primitive } from "../primitive/primitive.js";
|
|
4
|
+
import { Progress } from "../progress/progress.js";
|
|
5
5
|
const maxPercent = 100;
|
|
6
6
|
const Stepper = ({ ref, ...props }) => {
|
|
7
7
|
const { direction = "horizontal", items, activeIndex = 0, circleSize = 32, ...rest } = props;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { StylesheetProps } from './types';
|
|
2
|
-
export declare const Stylesheet: ({ children }: StylesheetProps) => import("react
|
|
2
|
+
export declare const Stylesheet: ({ children }: StylesheetProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { SuspenseQueryProps } from './types';
|
|
2
|
-
export declare function SuspenseQuery<A extends any[], R>({ factory, deps: propDeps, LoadingComponent, ErrorComponent, children, }: SuspenseQueryProps<A, R>): import("react
|
|
2
|
+
export declare function SuspenseQuery<A extends any[], R>({ factory, deps: propDeps, LoadingComponent, ErrorComponent, children, }: SuspenseQueryProps<A, R>): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { SwiperProps } from './types';
|
|
2
|
-
export declare const Swiper: ({ children, onApi, ref, ..._props }: SwiperProps) => import("react
|
|
2
|
+
export declare const Swiper: ({ children, onApi, ref, ..._props }: SwiperProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { SwiperDotsPagingProps } from './types';
|
|
2
|
-
export declare const SwiperDotsPaging: ({ api, size, spaceBetween, color, offset, sm, md, lg, }: SwiperDotsPagingProps) => import("react
|
|
2
|
+
export declare const SwiperDotsPaging: ({ api, size, spaceBetween, color, offset, sm, md, lg, }: SwiperDotsPagingProps) => import("react").JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { JSX } from 'react';
|
|
1
2
|
import { SwiperSideArrowsPagingProps, SwiperSideArrowsPagingResponsiveProps } from './types';
|
|
2
3
|
import { StyledCSS } from '../../../types';
|
|
3
|
-
export declare const SwiperSideArrowsPaging: ({ api, size, offsetX, offsetY, color, visibility, anchorSelector, sm, md, lg, }: SwiperSideArrowsPagingProps) =>
|
|
4
|
+
export declare const SwiperSideArrowsPaging: ({ api, size, offsetX, offsetY, color, visibility, anchorSelector, sm, md, lg, }: SwiperSideArrowsPagingProps) => JSX.Element;
|
|
4
5
|
export declare const createOverflowStyle: ({ offsetX, }?: Pick<SwiperSideArrowsPagingResponsiveProps, "offsetX">) => StyledCSS;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { SwiperSlideProps } from './types';
|
|
2
|
-
export declare const SwiperSlide: (props: SwiperSlideProps) => import("react
|
|
2
|
+
export declare const SwiperSlide: (props: SwiperSlideProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { SwitchProps } from './types';
|
|
2
|
-
export declare const Switch: ({ children, className, color, ref, ...props }: SwitchProps) => import("react
|
|
2
|
+
export declare const Switch: ({ children, className, color, ref, ...props }: SwitchProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TableProps } from './types';
|
|
2
|
-
export declare const Table: ({ children, sx, ...props }: TableProps) => import("react
|
|
2
|
+
export declare const Table: ({ children, sx, ...props }: TableProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TableBodyProps } from './types';
|
|
2
|
-
export declare const TableBody: ({ children, ref, ...props }: TableBodyProps) => import("react
|
|
2
|
+
export declare const TableBody: ({ children, ref, ...props }: TableBodyProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TableCellProps } from './types';
|
|
2
|
-
export declare const TableCell: ({ children, ...props }: TableCellProps) => import("react
|
|
2
|
+
export declare const TableCell: ({ children, ...props }: TableCellProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TableFooterProps } from './types';
|
|
2
|
-
export declare const TableFooter: ({ children, ...props }: TableFooterProps) => import("react
|
|
2
|
+
export declare const TableFooter: ({ children, ...props }: TableFooterProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TableHeadProps } from './types';
|
|
2
|
-
export declare const TableHead: ({ sx, children, ...props }: TableHeadProps) => import("react
|
|
2
|
+
export declare const TableHead: ({ sx, children, ...props }: TableHeadProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TableRowProps } from './types';
|
|
2
|
-
export declare const TableRow: (props: TableRowProps) => import("react
|
|
2
|
+
export declare const TableRow: (props: TableRowProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TabContentProps } from './types';
|
|
2
|
-
export declare const TabContent: ({ children, ...props }: TabContentProps) => import("react
|
|
2
|
+
export declare const TabContent: ({ children, ...props }: TabContentProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TabIndicatorProps } from './types';
|
|
2
|
-
export declare const TabIndicator: ({ size, sm, md, lg, ...props }: TabIndicatorProps) => import("react
|
|
2
|
+
export declare const TabIndicator: ({ size, sm, md, lg, ...props }: TabIndicatorProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TabListProps } from './types';
|
|
2
|
-
export declare const TabList: ({ ref, children, ..._props }: TabListProps) => import("react
|
|
2
|
+
export declare const TabList: ({ ref, children, ..._props }: TabListProps) => import("react").JSX.Element;
|
|
@@ -4,8 +4,8 @@ import { TabIndexContext } from "../tab/helpers.js";
|
|
|
4
4
|
import { flattenChildren } from "../../../utils/index.js";
|
|
5
5
|
import { scrollbarNoneStyle } from "../../../constants/emotion.js";
|
|
6
6
|
import { useMemo } from "react";
|
|
7
|
-
import { TabIndicator } from "../tab-indicator/tab-indicator.js";
|
|
8
7
|
import { Primitive } from "../../primitive/primitive.js";
|
|
8
|
+
import { TabIndicator } from "../tab-indicator/tab-indicator.js";
|
|
9
9
|
const TabList = ({ ref, children, ..._props }) => {
|
|
10
10
|
const { tabConfig, overflowBehavior, indicator, align, containerProps, ...props } = getTabListProps(_props);
|
|
11
11
|
const containerAlignStyle = (() => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TabPanelProps } from './types';
|
|
2
|
-
export declare const TabPanel: ({ children, ref, ..._props }: TabPanelProps) => import("react
|
|
2
|
+
export declare const TabPanel: ({ children, ref, ..._props }: TabPanelProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TabsProps } from './types';
|
|
2
|
-
export declare const Tabs: ({ ref, children, ..._props }: TabsProps) => import("react
|
|
2
|
+
export declare const Tabs: ({ ref, children, ..._props }: TabsProps) => import("react").JSX.Element;
|
package/dist/lib/text/text.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TextProps } from './types';
|
|
2
|
-
export declare const Text: ({ children, ref, ..._props }: TextProps) => import("react
|
|
2
|
+
export declare const Text: ({ children, ref, ..._props }: TextProps) => import("react").JSX.Element;
|
|
@@ -11,10 +11,10 @@ import ClockIcon from "../../assets/svg/clock-time.svg.js";
|
|
|
11
11
|
import { getColorVar } from "../../theme/palette.js";
|
|
12
12
|
import { getTypographyVar } from "../../theme/typography.js";
|
|
13
13
|
import { Primitive } from "../primitive/primitive.js";
|
|
14
|
+
import { Icon } from "../icon/icon.js";
|
|
14
15
|
import { Floating } from "../floating/floating/floating.js";
|
|
15
16
|
import { FloatingTrigger } from "../floating/floating-trigger/floating-trigger.js";
|
|
16
17
|
import { FloatingContent } from "../floating/floating-content/floating-content.js";
|
|
17
|
-
import { Icon } from "../icon/icon.js";
|
|
18
18
|
const TIME_FORMAT = "HH:mm";
|
|
19
19
|
const TimePicker = ({
|
|
20
20
|
placeholder = "--:--",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TooltipProps } from './types';
|
|
2
|
-
export declare function Tooltip({ children, defaultOpen, placement, open, onOpenChange, content, contentWidth, enable, handleClose, arrowProps, sx, }: TooltipProps): import("react
|
|
2
|
+
export declare function Tooltip({ children, defaultOpen, placement, open, onOpenChange, content, contentWidth, enable, handleClose, arrowProps, sx, }: TooltipProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ListItemProps } from './types';
|
|
2
|
-
export declare const ListItem: ({ ref, ..._props }: ListItemProps) => import("react
|
|
2
|
+
export declare const ListItem: ({ ref, ..._props }: ListItemProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { UnorderedListProps } from './types';
|
|
2
|
-
export declare const UnorderedList: ({ ref, ..._props }: UnorderedListProps) => import("react
|
|
2
|
+
export declare const UnorderedList: ({ ref, ..._props }: UnorderedListProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { VideoProps } from './types';
|
|
2
|
-
export declare const Video: ({ ref, ..._props }: VideoProps) => import("react
|
|
2
|
+
export declare const Video: ({ ref, ..._props }: VideoProps) => import("react").JSX.Element;
|