@zuzjs/ui 1.0.65 → 1.0.67
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/bin.cjs +4 -4
- package/dist/bin.js +1 -1
- package/dist/{chunk-7VYMG5ZY.cjs → chunk-ENP4R4I7.cjs} +1 -1
- package/dist/{chunk-R5D23PK6.js → chunk-XPF6OJBN.js} +1 -1
- package/dist/css/styles.css +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +55 -41
- package/dist/index.d.ts +55 -41
- package/dist/index.js +7 -7
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -4,6 +4,8 @@ import { DragOptions, LineChartProps, MediaItem, useMediaPlayer, ScrollBreakpoin
|
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import { dynamic as dynamic$1, PubSub } from '@zuzjs/core';
|
|
6
6
|
|
|
7
|
+
declare const VERSION = "1.0.66";
|
|
8
|
+
|
|
7
9
|
declare const AVATAR: {
|
|
8
10
|
readonly Circle: "CIRCLE";
|
|
9
11
|
readonly Square: "SQUARE";
|
|
@@ -1618,38 +1620,50 @@ declare const Form: {
|
|
|
1618
1620
|
};
|
|
1619
1621
|
|
|
1620
1622
|
interface GridProps extends Omit<BoxProps, 'cols'> {
|
|
1623
|
+
/** Grid column template (legacy shorthand). Prefer `columns` for readability. */
|
|
1621
1624
|
cols?: string | number;
|
|
1625
|
+
/** Grid column template. Number values map to `repeat(n, 1fr)`. */
|
|
1626
|
+
columns?: string | number;
|
|
1627
|
+
/** Grid row template. Number values map to `repeat(n, 1fr)`. */
|
|
1622
1628
|
rows?: string | number;
|
|
1629
|
+
/** CSS `gap`. */
|
|
1623
1630
|
gap?: string | number;
|
|
1631
|
+
/** CSS `column-gap` (legacy shorthand). Prefer `columnGap`. */
|
|
1624
1632
|
gapX?: string | number;
|
|
1633
|
+
/** CSS `row-gap` (legacy shorthand). Prefer `rowGap`. */
|
|
1625
1634
|
gapY?: string | number;
|
|
1635
|
+
/** CSS `column-gap`. */
|
|
1636
|
+
columnGap?: string | number;
|
|
1637
|
+
/** CSS `row-gap`. */
|
|
1638
|
+
rowGap?: string | number;
|
|
1639
|
+
/** CSS `align-items` (legacy shorthand). Prefer `alignItems`. */
|
|
1626
1640
|
align?: "start" | "end" | "center" | "stretch";
|
|
1641
|
+
/** CSS `align-items`. */
|
|
1642
|
+
alignItems?: "start" | "end" | "center" | "stretch";
|
|
1643
|
+
/** CSS `justify-content` (legacy shorthand). Prefer `justifyContent`. */
|
|
1627
1644
|
justify?: "start" | "end" | "center" | "stretch" | "between" | "around";
|
|
1645
|
+
/** CSS `justify-content`. */
|
|
1646
|
+
justifyContent?: "start" | "end" | "center" | "stretch" | "between" | "around";
|
|
1647
|
+
/** Use `inline-grid` instead of `grid`. */
|
|
1628
1648
|
inline?: boolean;
|
|
1649
|
+
/** CSS `grid-auto-flow` (legacy shorthand). Prefer `autoFlow`. */
|
|
1629
1650
|
flow?: "row" | "column" | "dense" | "row dense" | "column dense";
|
|
1651
|
+
/** CSS `grid-auto-flow`. */
|
|
1652
|
+
autoFlow?: "row" | "column" | "dense" | "row dense" | "column dense";
|
|
1653
|
+
/** CSS `grid-auto-columns` (legacy shorthand). Prefer `autoColumns`. */
|
|
1630
1654
|
autoCols?: string;
|
|
1655
|
+
/** CSS `grid-auto-columns`. */
|
|
1656
|
+
autoColumns?: string;
|
|
1657
|
+
/** CSS `grid-auto-rows` (legacy shorthand). Prefer `autoRow`. */
|
|
1631
1658
|
autoRows?: string;
|
|
1659
|
+
/** CSS `grid-auto-rows`. */
|
|
1660
|
+
autoRow?: string;
|
|
1661
|
+
/** CSS `grid-template-areas` (legacy shorthand). Prefer `areas`. */
|
|
1632
1662
|
template?: string;
|
|
1663
|
+
/** CSS `grid-template-areas`. */
|
|
1664
|
+
areas?: string;
|
|
1633
1665
|
}
|
|
1634
1666
|
|
|
1635
|
-
/**
|
|
1636
|
-
* Grid component.
|
|
1637
|
-
*
|
|
1638
|
-
* @example
|
|
1639
|
-
* // Basic usage
|
|
1640
|
-
* ```tsx
|
|
1641
|
-
* <Grid columns={3}><div>1</div><div>2</div><div>3</div></Grid>
|
|
1642
|
-
* ```
|
|
1643
|
-
*
|
|
1644
|
-
* @example
|
|
1645
|
-
* // Advanced usage with additional props
|
|
1646
|
-
* ```tsx
|
|
1647
|
-
* <Grid columns={4} gap="lg" minColWidth="200px"><div>Cell 1</div><div>Cell 2</div></Grid>
|
|
1648
|
-
* ```
|
|
1649
|
-
* @param columns - Number of columns
|
|
1650
|
-
* @param gap - Spacing between items
|
|
1651
|
-
* @param minColWidth - minColWidth prop
|
|
1652
|
-
*/
|
|
1653
1667
|
declare const Grid: {
|
|
1654
1668
|
(props: GridProps): react_jsx_runtime.JSX.Element;
|
|
1655
1669
|
displayName: string;
|
|
@@ -3307,6 +3321,28 @@ type ThemeProviderProps = {
|
|
|
3307
3321
|
} & ThemeConfig;
|
|
3308
3322
|
declare const ThemeProvider: ({ children, storageKey, forceTheme, zuzMap, ...conf }: ThemeProviderProps) => react_jsx_runtime.JSX.Element;
|
|
3309
3323
|
|
|
3324
|
+
declare const PACKAGE_NAME: string;
|
|
3325
|
+
declare const cleanProps: <T extends dynamic>(props: T, withProps?: string[]) => T;
|
|
3326
|
+
declare const splitAtoms: (input: string) => string[];
|
|
3327
|
+
|
|
3328
|
+
declare const setZuzMap: (map: Record<string, string>) => void;
|
|
3329
|
+
declare const getZuzMap: () => Record<string, string>;
|
|
3330
|
+
/**
|
|
3331
|
+
* Converts Zuz utility strings or arrays into hashed class names.
|
|
3332
|
+
*/
|
|
3333
|
+
declare const buildClassString: (input: ZuzStyleString | ZuzStyleString[]) => string;
|
|
3334
|
+
/**
|
|
3335
|
+
* Standalone CSS utility for non-zuzjs components.
|
|
3336
|
+
*/
|
|
3337
|
+
declare const css: (input: ZuzStyleString | ZuzStyleString[]) => string;
|
|
3338
|
+
declare const buildWithStyles: (source: dynamic) => dynamic;
|
|
3339
|
+
declare const getAnimationCurve: (curve?: string | ValueOf<typeof TRANSITION_CURVES>) => string;
|
|
3340
|
+
declare const animationTransition: (transition: ValueOf<typeof TRANSITIONS>, startOffset?: number, endOffset?: number) => {
|
|
3341
|
+
from: {};
|
|
3342
|
+
to: {};
|
|
3343
|
+
};
|
|
3344
|
+
declare const getAnimationTransition: (transition: ValueOf<typeof TRANSITIONS>, to?: boolean, from?: boolean) => dynamic;
|
|
3345
|
+
|
|
3310
3346
|
declare const useBase: <T extends keyof JSX.IntrinsicElements>(props: Props<T>, ref?: RefObject<HTMLElement>) => {
|
|
3311
3347
|
style: CSSProperties;
|
|
3312
3348
|
className: string;
|
|
@@ -3442,26 +3478,4 @@ declare const useToast: () => {
|
|
|
3442
3478
|
clearAll: () => void;
|
|
3443
3479
|
};
|
|
3444
3480
|
|
|
3445
|
-
|
|
3446
|
-
declare const cleanProps: <T extends dynamic>(props: T, withProps?: string[]) => T;
|
|
3447
|
-
declare const splitAtoms: (input: string) => string[];
|
|
3448
|
-
|
|
3449
|
-
declare const setZuzMap: (map: Record<string, string>) => void;
|
|
3450
|
-
declare const getZuzMap: () => Record<string, string>;
|
|
3451
|
-
/**
|
|
3452
|
-
* Converts Zuz utility strings or arrays into hashed class names.
|
|
3453
|
-
*/
|
|
3454
|
-
declare const buildClassString: (input: ZuzStyleString | ZuzStyleString[]) => string;
|
|
3455
|
-
/**
|
|
3456
|
-
* Standalone CSS utility for non-zuzjs components.
|
|
3457
|
-
*/
|
|
3458
|
-
declare const css: (input: ZuzStyleString | ZuzStyleString[]) => string;
|
|
3459
|
-
declare const buildWithStyles: (source: dynamic) => dynamic;
|
|
3460
|
-
declare const getAnimationCurve: (curve?: string | ValueOf<typeof TRANSITION_CURVES>) => string;
|
|
3461
|
-
declare const animationTransition: (transition: ValueOf<typeof TRANSITIONS>, startOffset?: number, endOffset?: number) => {
|
|
3462
|
-
from: {};
|
|
3463
|
-
to: {};
|
|
3464
|
-
};
|
|
3465
|
-
declare const getAnimationTransition: (transition: ValueOf<typeof TRANSITIONS>, to?: boolean, from?: boolean) => dynamic;
|
|
3466
|
-
|
|
3467
|
-
export { ALERT, AVATAR, Accordion, type AccordionHandler, type AccordionProps, ActionBar, type ActionBarHandler, type ActionBarItem, type ActionBarProps, Alert, type AlertHandler, type AlertProps, type AnimationTransition, AutoComplete, type AutoCompleteProps, Avatar, type AvatarHandler, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Bubble, BubbleMediaType, type BubbleProps, BubbleStatus, Button, type ButtonHandler, type ButtonKind, type ButtonProps, ButtonState, CHART, CHECKBOX, COLORTHEME, Calendar, type CalendarProps, Carousel, type CarouselEffect, type CarouselProps, Chart, type ChartProps, CheckBox, type CheckBoxProps, type CheckboxHandler, CodeBlock, type CodeBlockProps, ColorScheme$1 as ColorScheme, type Column, type ContextItem, ContextMenu, type ContextMenuHandler, type ContextMenuProps, type CookieConsentProps, CookiesConsent, Cover, type CoverProps, type CropHandler, CropShape, Cropper, type CropperProps, Crumb, type CrumbItem, type CrumbProps, DATATYPE, DIALOG, DIALOG_ACTION_POSITION, DRAWER_SIDE, DatePicker, Dialog, type DialogActionHandler, type DialogController, type DialogHandler, type DialogProps, Drawer, type DrawerController, type DrawerHandler, type DrawerProps, FILTER, FORMVALIDATION, FORMVALIDATION_STYLE, Fab, type FabProps, Fieldset, type FieldsetProps, type FilterProps, Filters, Flex, type FlexProps, Form, type FormHandler, type FormInputs, type FormProps, type FormValidation, Grid, type GridProps, Group, type GroupProps, Icon, type IconProps, Image, type ImageProps, Input, type InputProps, type KeyCombination, type KeyboardKey, type KeyboardKeyProps, KeyBoardKeys as KeyboardKeys, KeysLabelMap, KeysMap, Label, type LabelProps, type LayerHandler, LayersProvider, List, type ListItem, type ListItemObject, type ListProps, type LoopMode, MediaPlayer, type MediaPlayerContextType, type MediaPlayerController, type MediaPlayerIcons, type MediaPlayerProps, type MenuItemProps, type MorphOptions, type NetworkManagerprops, NetworkManager as NetworkStatus, ORIGIN, type Option, type OptionItemProps, OriginType, Overlay, type OverlayProps, PACKAGE_NAME, PLACEMENTS, POSITION, PROGRESS, Pagination, type PaginationCallback, type PaginationController, type PaginationPage, type PaginationPageItem, type PaginationProps, PaginationStyle, Password, type PasswordProps, PinInput, type PinInputProps, type Placement, Position, ProgressBar, type ProgressBarProps, type ProgressHandler, type Props, RADIO, Radio, type RadioHandler, type RadioProps, type Row, type RowSelectCallback, SHEET, SHEET_ACTION_POSITION, SKELETON, SLIDER, SORT, SPINNER, ScrollView, type ScrollViewProps, Search, type SearchHandler, type SearchProps, type Segment, type SegmentController, type SegmentItemProps, type SegmentProps, Select, type SelectEditableChange, type SelectEditableProps, type SelectHandler, type SelectInternalProps, type SelectMultipleChange, type SelectMultipleProps, type SelectPrimitive, type SelectProps, type SelectSingleChange, type SelectSingleProps, type SelectSingleValue, Segmented as SelectTabs, type SelectTokenizerProps, type SelectValue, Sheet, type SheetHandler, type SheetProps, type Skeleton, Slider, type SliderController, type SliderProps, type ToastAction as SnackAction, type SnackController, ToastPosition as SnackPosition, ToastStyle as SnackStyle, ToastType as SnackType, Span, type SpanProps, Spinner, type SpinnerProps, Status, Switch, type CheckboxHandler as SwitchHandler, TRANSITIONS, TRANSITION_CURVES, type Tab, type TabBodyProps, type TabProps, TabView, type TabViewHandler, type TabViewProps, ForwardedTable as Table, type TableController, type TableOfContentItem, TableOfContents, type TableOfContentsProps, type TableProps, type TableSortCallback, Terminal, type TerminalCommandFn, type TerminalCommands, type TerminalHandler, type TerminalLine, type TerminalProps, Text, type TextAreaProps, TextWheel, type TextWheelHandler, type TextWheelProps, TextArea as Textarea, ThemeProvider, type ToastAction, ToastDefaultTitle, ToastPosition, type ToastProps, Toast as ToastProvider, ToastStyle, ToastType, ToolTip, type ToolTipController, type ToolTipProps, type TreeItemHandler, type TreeItemProps, type TreeNode, type TreeNodeIcons, TreeView, type TreeViewHandler, type TreeViewProps, type ValidationResult, type ValidationSchema, type Value, type ValueOf, Variant, type WithFormValidation, type ZuzCommonValues, type ZuzProps, type ZuzStyleString, type animationProps, animationTransition, buildClassString, buildWithStyles, cleanProps, css, type cssShortKey, type cssShortKeys, type dynamic, getAnimationCurve, getAnimationTransition, getZuzMap, isKeyCombination, type parallaxEffectProps, setZuzMap, splitAtoms, useBase, useContextMenu, useDialog, useDrawer, useFx, useMorph, usePosition, useSnack, useToast };
|
|
3481
|
+
export { ALERT, AVATAR, Accordion, type AccordionHandler, type AccordionProps, ActionBar, type ActionBarHandler, type ActionBarItem, type ActionBarProps, Alert, type AlertHandler, type AlertProps, type AnimationTransition, AutoComplete, type AutoCompleteProps, Avatar, type AvatarHandler, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Bubble, BubbleMediaType, type BubbleProps, BubbleStatus, Button, type ButtonHandler, type ButtonKind, type ButtonProps, ButtonState, CHART, CHECKBOX, COLORTHEME, Calendar, type CalendarProps, Carousel, type CarouselEffect, type CarouselProps, Chart, type ChartProps, CheckBox, type CheckBoxProps, type CheckboxHandler, CodeBlock, type CodeBlockProps, ColorScheme$1 as ColorScheme, type Column, type ContextItem, ContextMenu, type ContextMenuHandler, type ContextMenuProps, type CookieConsentProps, CookiesConsent, Cover, type CoverProps, type CropHandler, CropShape, Cropper, type CropperProps, Crumb, type CrumbItem, type CrumbProps, DATATYPE, DIALOG, DIALOG_ACTION_POSITION, DRAWER_SIDE, DatePicker, Dialog, type DialogActionHandler, type DialogController, type DialogHandler, type DialogProps, Drawer, type DrawerController, type DrawerHandler, type DrawerProps, FILTER, FORMVALIDATION, FORMVALIDATION_STYLE, Fab, type FabProps, Fieldset, type FieldsetProps, type FilterProps, Filters, Flex, type FlexProps, Form, type FormHandler, type FormInputs, type FormProps, type FormValidation, Grid, type GridProps, Group, type GroupProps, Icon, type IconProps, Image, type ImageProps, Input, type InputProps, type KeyCombination, type KeyboardKey, type KeyboardKeyProps, KeyBoardKeys as KeyboardKeys, KeysLabelMap, KeysMap, Label, type LabelProps, type LayerHandler, LayersProvider, List, type ListItem, type ListItemObject, type ListProps, type LoopMode, MediaPlayer, type MediaPlayerContextType, type MediaPlayerController, type MediaPlayerIcons, type MediaPlayerProps, type MenuItemProps, type MorphOptions, type NetworkManagerprops, NetworkManager as NetworkStatus, ORIGIN, type Option, type OptionItemProps, OriginType, Overlay, type OverlayProps, PACKAGE_NAME, PLACEMENTS, POSITION, PROGRESS, Pagination, type PaginationCallback, type PaginationController, type PaginationPage, type PaginationPageItem, type PaginationProps, PaginationStyle, Password, type PasswordProps, PinInput, type PinInputProps, type Placement, Position, ProgressBar, type ProgressBarProps, type ProgressHandler, type Props, RADIO, Radio, type RadioHandler, type RadioProps, type Row, type RowSelectCallback, SHEET, SHEET_ACTION_POSITION, SKELETON, SLIDER, SORT, SPINNER, ScrollView, type ScrollViewProps, Search, type SearchHandler, type SearchProps, type Segment, type SegmentController, type SegmentItemProps, type SegmentProps, Select, type SelectEditableChange, type SelectEditableProps, type SelectHandler, type SelectInternalProps, type SelectMultipleChange, type SelectMultipleProps, type SelectPrimitive, type SelectProps, type SelectSingleChange, type SelectSingleProps, type SelectSingleValue, Segmented as SelectTabs, type SelectTokenizerProps, type SelectValue, Sheet, type SheetHandler, type SheetProps, type Skeleton, Slider, type SliderController, type SliderProps, type ToastAction as SnackAction, type SnackController, ToastPosition as SnackPosition, ToastStyle as SnackStyle, ToastType as SnackType, Span, type SpanProps, Spinner, type SpinnerProps, Status, Switch, type CheckboxHandler as SwitchHandler, TRANSITIONS, TRANSITION_CURVES, type Tab, type TabBodyProps, type TabProps, TabView, type TabViewHandler, type TabViewProps, ForwardedTable as Table, type TableController, type TableOfContentItem, TableOfContents, type TableOfContentsProps, type TableProps, type TableSortCallback, Terminal, type TerminalCommandFn, type TerminalCommands, type TerminalHandler, type TerminalLine, type TerminalProps, Text, type TextAreaProps, TextWheel, type TextWheelHandler, type TextWheelProps, TextArea as Textarea, ThemeProvider, type ToastAction, ToastDefaultTitle, ToastPosition, type ToastProps, Toast as ToastProvider, ToastStyle, ToastType, ToolTip, type ToolTipController, type ToolTipProps, type TreeItemHandler, type TreeItemProps, type TreeNode, type TreeNodeIcons, TreeView, type TreeViewHandler, type TreeViewProps, type ValidationResult, type ValidationSchema, type Value, type ValueOf, Variant, type WithFormValidation, type ZuzCommonValues, type ZuzProps, type ZuzStyleString, VERSION as __ZUZJS_UI_VERSION, type animationProps, animationTransition, buildClassString, buildWithStyles, cleanProps, css, type cssShortKey, type cssShortKeys, type dynamic, getAnimationCurve, getAnimationTransition, getZuzMap, isKeyCombination, type parallaxEffectProps, setZuzMap, splitAtoms, useBase, useContextMenu, useDialog, useDrawer, useFx, useMorph, usePosition, useSnack, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ import { DragOptions, LineChartProps, MediaItem, useMediaPlayer, ScrollBreakpoin
|
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import { dynamic as dynamic$1, PubSub } from '@zuzjs/core';
|
|
6
6
|
|
|
7
|
+
declare const VERSION = "1.0.66";
|
|
8
|
+
|
|
7
9
|
declare const AVATAR: {
|
|
8
10
|
readonly Circle: "CIRCLE";
|
|
9
11
|
readonly Square: "SQUARE";
|
|
@@ -1618,38 +1620,50 @@ declare const Form: {
|
|
|
1618
1620
|
};
|
|
1619
1621
|
|
|
1620
1622
|
interface GridProps extends Omit<BoxProps, 'cols'> {
|
|
1623
|
+
/** Grid column template (legacy shorthand). Prefer `columns` for readability. */
|
|
1621
1624
|
cols?: string | number;
|
|
1625
|
+
/** Grid column template. Number values map to `repeat(n, 1fr)`. */
|
|
1626
|
+
columns?: string | number;
|
|
1627
|
+
/** Grid row template. Number values map to `repeat(n, 1fr)`. */
|
|
1622
1628
|
rows?: string | number;
|
|
1629
|
+
/** CSS `gap`. */
|
|
1623
1630
|
gap?: string | number;
|
|
1631
|
+
/** CSS `column-gap` (legacy shorthand). Prefer `columnGap`. */
|
|
1624
1632
|
gapX?: string | number;
|
|
1633
|
+
/** CSS `row-gap` (legacy shorthand). Prefer `rowGap`. */
|
|
1625
1634
|
gapY?: string | number;
|
|
1635
|
+
/** CSS `column-gap`. */
|
|
1636
|
+
columnGap?: string | number;
|
|
1637
|
+
/** CSS `row-gap`. */
|
|
1638
|
+
rowGap?: string | number;
|
|
1639
|
+
/** CSS `align-items` (legacy shorthand). Prefer `alignItems`. */
|
|
1626
1640
|
align?: "start" | "end" | "center" | "stretch";
|
|
1641
|
+
/** CSS `align-items`. */
|
|
1642
|
+
alignItems?: "start" | "end" | "center" | "stretch";
|
|
1643
|
+
/** CSS `justify-content` (legacy shorthand). Prefer `justifyContent`. */
|
|
1627
1644
|
justify?: "start" | "end" | "center" | "stretch" | "between" | "around";
|
|
1645
|
+
/** CSS `justify-content`. */
|
|
1646
|
+
justifyContent?: "start" | "end" | "center" | "stretch" | "between" | "around";
|
|
1647
|
+
/** Use `inline-grid` instead of `grid`. */
|
|
1628
1648
|
inline?: boolean;
|
|
1649
|
+
/** CSS `grid-auto-flow` (legacy shorthand). Prefer `autoFlow`. */
|
|
1629
1650
|
flow?: "row" | "column" | "dense" | "row dense" | "column dense";
|
|
1651
|
+
/** CSS `grid-auto-flow`. */
|
|
1652
|
+
autoFlow?: "row" | "column" | "dense" | "row dense" | "column dense";
|
|
1653
|
+
/** CSS `grid-auto-columns` (legacy shorthand). Prefer `autoColumns`. */
|
|
1630
1654
|
autoCols?: string;
|
|
1655
|
+
/** CSS `grid-auto-columns`. */
|
|
1656
|
+
autoColumns?: string;
|
|
1657
|
+
/** CSS `grid-auto-rows` (legacy shorthand). Prefer `autoRow`. */
|
|
1631
1658
|
autoRows?: string;
|
|
1659
|
+
/** CSS `grid-auto-rows`. */
|
|
1660
|
+
autoRow?: string;
|
|
1661
|
+
/** CSS `grid-template-areas` (legacy shorthand). Prefer `areas`. */
|
|
1632
1662
|
template?: string;
|
|
1663
|
+
/** CSS `grid-template-areas`. */
|
|
1664
|
+
areas?: string;
|
|
1633
1665
|
}
|
|
1634
1666
|
|
|
1635
|
-
/**
|
|
1636
|
-
* Grid component.
|
|
1637
|
-
*
|
|
1638
|
-
* @example
|
|
1639
|
-
* // Basic usage
|
|
1640
|
-
* ```tsx
|
|
1641
|
-
* <Grid columns={3}><div>1</div><div>2</div><div>3</div></Grid>
|
|
1642
|
-
* ```
|
|
1643
|
-
*
|
|
1644
|
-
* @example
|
|
1645
|
-
* // Advanced usage with additional props
|
|
1646
|
-
* ```tsx
|
|
1647
|
-
* <Grid columns={4} gap="lg" minColWidth="200px"><div>Cell 1</div><div>Cell 2</div></Grid>
|
|
1648
|
-
* ```
|
|
1649
|
-
* @param columns - Number of columns
|
|
1650
|
-
* @param gap - Spacing between items
|
|
1651
|
-
* @param minColWidth - minColWidth prop
|
|
1652
|
-
*/
|
|
1653
1667
|
declare const Grid: {
|
|
1654
1668
|
(props: GridProps): react_jsx_runtime.JSX.Element;
|
|
1655
1669
|
displayName: string;
|
|
@@ -3307,6 +3321,28 @@ type ThemeProviderProps = {
|
|
|
3307
3321
|
} & ThemeConfig;
|
|
3308
3322
|
declare const ThemeProvider: ({ children, storageKey, forceTheme, zuzMap, ...conf }: ThemeProviderProps) => react_jsx_runtime.JSX.Element;
|
|
3309
3323
|
|
|
3324
|
+
declare const PACKAGE_NAME: string;
|
|
3325
|
+
declare const cleanProps: <T extends dynamic>(props: T, withProps?: string[]) => T;
|
|
3326
|
+
declare const splitAtoms: (input: string) => string[];
|
|
3327
|
+
|
|
3328
|
+
declare const setZuzMap: (map: Record<string, string>) => void;
|
|
3329
|
+
declare const getZuzMap: () => Record<string, string>;
|
|
3330
|
+
/**
|
|
3331
|
+
* Converts Zuz utility strings or arrays into hashed class names.
|
|
3332
|
+
*/
|
|
3333
|
+
declare const buildClassString: (input: ZuzStyleString | ZuzStyleString[]) => string;
|
|
3334
|
+
/**
|
|
3335
|
+
* Standalone CSS utility for non-zuzjs components.
|
|
3336
|
+
*/
|
|
3337
|
+
declare const css: (input: ZuzStyleString | ZuzStyleString[]) => string;
|
|
3338
|
+
declare const buildWithStyles: (source: dynamic) => dynamic;
|
|
3339
|
+
declare const getAnimationCurve: (curve?: string | ValueOf<typeof TRANSITION_CURVES>) => string;
|
|
3340
|
+
declare const animationTransition: (transition: ValueOf<typeof TRANSITIONS>, startOffset?: number, endOffset?: number) => {
|
|
3341
|
+
from: {};
|
|
3342
|
+
to: {};
|
|
3343
|
+
};
|
|
3344
|
+
declare const getAnimationTransition: (transition: ValueOf<typeof TRANSITIONS>, to?: boolean, from?: boolean) => dynamic;
|
|
3345
|
+
|
|
3310
3346
|
declare const useBase: <T extends keyof JSX.IntrinsicElements>(props: Props<T>, ref?: RefObject<HTMLElement>) => {
|
|
3311
3347
|
style: CSSProperties;
|
|
3312
3348
|
className: string;
|
|
@@ -3442,26 +3478,4 @@ declare const useToast: () => {
|
|
|
3442
3478
|
clearAll: () => void;
|
|
3443
3479
|
};
|
|
3444
3480
|
|
|
3445
|
-
|
|
3446
|
-
declare const cleanProps: <T extends dynamic>(props: T, withProps?: string[]) => T;
|
|
3447
|
-
declare const splitAtoms: (input: string) => string[];
|
|
3448
|
-
|
|
3449
|
-
declare const setZuzMap: (map: Record<string, string>) => void;
|
|
3450
|
-
declare const getZuzMap: () => Record<string, string>;
|
|
3451
|
-
/**
|
|
3452
|
-
* Converts Zuz utility strings or arrays into hashed class names.
|
|
3453
|
-
*/
|
|
3454
|
-
declare const buildClassString: (input: ZuzStyleString | ZuzStyleString[]) => string;
|
|
3455
|
-
/**
|
|
3456
|
-
* Standalone CSS utility for non-zuzjs components.
|
|
3457
|
-
*/
|
|
3458
|
-
declare const css: (input: ZuzStyleString | ZuzStyleString[]) => string;
|
|
3459
|
-
declare const buildWithStyles: (source: dynamic) => dynamic;
|
|
3460
|
-
declare const getAnimationCurve: (curve?: string | ValueOf<typeof TRANSITION_CURVES>) => string;
|
|
3461
|
-
declare const animationTransition: (transition: ValueOf<typeof TRANSITIONS>, startOffset?: number, endOffset?: number) => {
|
|
3462
|
-
from: {};
|
|
3463
|
-
to: {};
|
|
3464
|
-
};
|
|
3465
|
-
declare const getAnimationTransition: (transition: ValueOf<typeof TRANSITIONS>, to?: boolean, from?: boolean) => dynamic;
|
|
3466
|
-
|
|
3467
|
-
export { ALERT, AVATAR, Accordion, type AccordionHandler, type AccordionProps, ActionBar, type ActionBarHandler, type ActionBarItem, type ActionBarProps, Alert, type AlertHandler, type AlertProps, type AnimationTransition, AutoComplete, type AutoCompleteProps, Avatar, type AvatarHandler, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Bubble, BubbleMediaType, type BubbleProps, BubbleStatus, Button, type ButtonHandler, type ButtonKind, type ButtonProps, ButtonState, CHART, CHECKBOX, COLORTHEME, Calendar, type CalendarProps, Carousel, type CarouselEffect, type CarouselProps, Chart, type ChartProps, CheckBox, type CheckBoxProps, type CheckboxHandler, CodeBlock, type CodeBlockProps, ColorScheme$1 as ColorScheme, type Column, type ContextItem, ContextMenu, type ContextMenuHandler, type ContextMenuProps, type CookieConsentProps, CookiesConsent, Cover, type CoverProps, type CropHandler, CropShape, Cropper, type CropperProps, Crumb, type CrumbItem, type CrumbProps, DATATYPE, DIALOG, DIALOG_ACTION_POSITION, DRAWER_SIDE, DatePicker, Dialog, type DialogActionHandler, type DialogController, type DialogHandler, type DialogProps, Drawer, type DrawerController, type DrawerHandler, type DrawerProps, FILTER, FORMVALIDATION, FORMVALIDATION_STYLE, Fab, type FabProps, Fieldset, type FieldsetProps, type FilterProps, Filters, Flex, type FlexProps, Form, type FormHandler, type FormInputs, type FormProps, type FormValidation, Grid, type GridProps, Group, type GroupProps, Icon, type IconProps, Image, type ImageProps, Input, type InputProps, type KeyCombination, type KeyboardKey, type KeyboardKeyProps, KeyBoardKeys as KeyboardKeys, KeysLabelMap, KeysMap, Label, type LabelProps, type LayerHandler, LayersProvider, List, type ListItem, type ListItemObject, type ListProps, type LoopMode, MediaPlayer, type MediaPlayerContextType, type MediaPlayerController, type MediaPlayerIcons, type MediaPlayerProps, type MenuItemProps, type MorphOptions, type NetworkManagerprops, NetworkManager as NetworkStatus, ORIGIN, type Option, type OptionItemProps, OriginType, Overlay, type OverlayProps, PACKAGE_NAME, PLACEMENTS, POSITION, PROGRESS, Pagination, type PaginationCallback, type PaginationController, type PaginationPage, type PaginationPageItem, type PaginationProps, PaginationStyle, Password, type PasswordProps, PinInput, type PinInputProps, type Placement, Position, ProgressBar, type ProgressBarProps, type ProgressHandler, type Props, RADIO, Radio, type RadioHandler, type RadioProps, type Row, type RowSelectCallback, SHEET, SHEET_ACTION_POSITION, SKELETON, SLIDER, SORT, SPINNER, ScrollView, type ScrollViewProps, Search, type SearchHandler, type SearchProps, type Segment, type SegmentController, type SegmentItemProps, type SegmentProps, Select, type SelectEditableChange, type SelectEditableProps, type SelectHandler, type SelectInternalProps, type SelectMultipleChange, type SelectMultipleProps, type SelectPrimitive, type SelectProps, type SelectSingleChange, type SelectSingleProps, type SelectSingleValue, Segmented as SelectTabs, type SelectTokenizerProps, type SelectValue, Sheet, type SheetHandler, type SheetProps, type Skeleton, Slider, type SliderController, type SliderProps, type ToastAction as SnackAction, type SnackController, ToastPosition as SnackPosition, ToastStyle as SnackStyle, ToastType as SnackType, Span, type SpanProps, Spinner, type SpinnerProps, Status, Switch, type CheckboxHandler as SwitchHandler, TRANSITIONS, TRANSITION_CURVES, type Tab, type TabBodyProps, type TabProps, TabView, type TabViewHandler, type TabViewProps, ForwardedTable as Table, type TableController, type TableOfContentItem, TableOfContents, type TableOfContentsProps, type TableProps, type TableSortCallback, Terminal, type TerminalCommandFn, type TerminalCommands, type TerminalHandler, type TerminalLine, type TerminalProps, Text, type TextAreaProps, TextWheel, type TextWheelHandler, type TextWheelProps, TextArea as Textarea, ThemeProvider, type ToastAction, ToastDefaultTitle, ToastPosition, type ToastProps, Toast as ToastProvider, ToastStyle, ToastType, ToolTip, type ToolTipController, type ToolTipProps, type TreeItemHandler, type TreeItemProps, type TreeNode, type TreeNodeIcons, TreeView, type TreeViewHandler, type TreeViewProps, type ValidationResult, type ValidationSchema, type Value, type ValueOf, Variant, type WithFormValidation, type ZuzCommonValues, type ZuzProps, type ZuzStyleString, type animationProps, animationTransition, buildClassString, buildWithStyles, cleanProps, css, type cssShortKey, type cssShortKeys, type dynamic, getAnimationCurve, getAnimationTransition, getZuzMap, isKeyCombination, type parallaxEffectProps, setZuzMap, splitAtoms, useBase, useContextMenu, useDialog, useDrawer, useFx, useMorph, usePosition, useSnack, useToast };
|
|
3481
|
+
export { ALERT, AVATAR, Accordion, type AccordionHandler, type AccordionProps, ActionBar, type ActionBarHandler, type ActionBarItem, type ActionBarProps, Alert, type AlertHandler, type AlertProps, type AnimationTransition, AutoComplete, type AutoCompleteProps, Avatar, type AvatarHandler, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Bubble, BubbleMediaType, type BubbleProps, BubbleStatus, Button, type ButtonHandler, type ButtonKind, type ButtonProps, ButtonState, CHART, CHECKBOX, COLORTHEME, Calendar, type CalendarProps, Carousel, type CarouselEffect, type CarouselProps, Chart, type ChartProps, CheckBox, type CheckBoxProps, type CheckboxHandler, CodeBlock, type CodeBlockProps, ColorScheme$1 as ColorScheme, type Column, type ContextItem, ContextMenu, type ContextMenuHandler, type ContextMenuProps, type CookieConsentProps, CookiesConsent, Cover, type CoverProps, type CropHandler, CropShape, Cropper, type CropperProps, Crumb, type CrumbItem, type CrumbProps, DATATYPE, DIALOG, DIALOG_ACTION_POSITION, DRAWER_SIDE, DatePicker, Dialog, type DialogActionHandler, type DialogController, type DialogHandler, type DialogProps, Drawer, type DrawerController, type DrawerHandler, type DrawerProps, FILTER, FORMVALIDATION, FORMVALIDATION_STYLE, Fab, type FabProps, Fieldset, type FieldsetProps, type FilterProps, Filters, Flex, type FlexProps, Form, type FormHandler, type FormInputs, type FormProps, type FormValidation, Grid, type GridProps, Group, type GroupProps, Icon, type IconProps, Image, type ImageProps, Input, type InputProps, type KeyCombination, type KeyboardKey, type KeyboardKeyProps, KeyBoardKeys as KeyboardKeys, KeysLabelMap, KeysMap, Label, type LabelProps, type LayerHandler, LayersProvider, List, type ListItem, type ListItemObject, type ListProps, type LoopMode, MediaPlayer, type MediaPlayerContextType, type MediaPlayerController, type MediaPlayerIcons, type MediaPlayerProps, type MenuItemProps, type MorphOptions, type NetworkManagerprops, NetworkManager as NetworkStatus, ORIGIN, type Option, type OptionItemProps, OriginType, Overlay, type OverlayProps, PACKAGE_NAME, PLACEMENTS, POSITION, PROGRESS, Pagination, type PaginationCallback, type PaginationController, type PaginationPage, type PaginationPageItem, type PaginationProps, PaginationStyle, Password, type PasswordProps, PinInput, type PinInputProps, type Placement, Position, ProgressBar, type ProgressBarProps, type ProgressHandler, type Props, RADIO, Radio, type RadioHandler, type RadioProps, type Row, type RowSelectCallback, SHEET, SHEET_ACTION_POSITION, SKELETON, SLIDER, SORT, SPINNER, ScrollView, type ScrollViewProps, Search, type SearchHandler, type SearchProps, type Segment, type SegmentController, type SegmentItemProps, type SegmentProps, Select, type SelectEditableChange, type SelectEditableProps, type SelectHandler, type SelectInternalProps, type SelectMultipleChange, type SelectMultipleProps, type SelectPrimitive, type SelectProps, type SelectSingleChange, type SelectSingleProps, type SelectSingleValue, Segmented as SelectTabs, type SelectTokenizerProps, type SelectValue, Sheet, type SheetHandler, type SheetProps, type Skeleton, Slider, type SliderController, type SliderProps, type ToastAction as SnackAction, type SnackController, ToastPosition as SnackPosition, ToastStyle as SnackStyle, ToastType as SnackType, Span, type SpanProps, Spinner, type SpinnerProps, Status, Switch, type CheckboxHandler as SwitchHandler, TRANSITIONS, TRANSITION_CURVES, type Tab, type TabBodyProps, type TabProps, TabView, type TabViewHandler, type TabViewProps, ForwardedTable as Table, type TableController, type TableOfContentItem, TableOfContents, type TableOfContentsProps, type TableProps, type TableSortCallback, Terminal, type TerminalCommandFn, type TerminalCommands, type TerminalHandler, type TerminalLine, type TerminalProps, Text, type TextAreaProps, TextWheel, type TextWheelHandler, type TextWheelProps, TextArea as Textarea, ThemeProvider, type ToastAction, ToastDefaultTitle, ToastPosition, type ToastProps, Toast as ToastProvider, ToastStyle, ToastType, ToolTip, type ToolTipController, type ToolTipProps, type TreeItemHandler, type TreeItemProps, type TreeNode, type TreeNodeIcons, TreeView, type TreeViewHandler, type TreeViewProps, type ValidationResult, type ValidationSchema, type Value, type ValueOf, Variant, type WithFormValidation, type ZuzCommonValues, type ZuzProps, type ZuzStyleString, VERSION as __ZUZJS_UI_VERSION, type animationProps, animationTransition, buildClassString, buildWithStyles, cleanProps, css, type cssShortKey, type cssShortKeys, type dynamic, getAnimationCurve, getAnimationTransition, getZuzMap, isKeyCombination, type parallaxEffectProps, setZuzMap, splitAtoms, useBase, useContextMenu, useDialog, useDrawer, useFx, useMorph, usePosition, useSnack, useToast };
|