@wistia/ui 0.6.33 → 0.6.34
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/index.cjs +640 -607
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +42 -1
- package/dist/index.d.ts +42 -1
- package/dist/index.mjs +452 -420
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -854,6 +854,47 @@ declare const Card: {
|
|
|
854
854
|
displayName: string;
|
|
855
855
|
};
|
|
856
856
|
|
|
857
|
+
type CenterProps = ComponentPropsWithoutRef<'div'> & {
|
|
858
|
+
/**
|
|
859
|
+
* A CSS max-width value
|
|
860
|
+
*/
|
|
861
|
+
maxWidth?: string;
|
|
862
|
+
/**
|
|
863
|
+
* The space on either side of the content
|
|
864
|
+
*/
|
|
865
|
+
gutterWidth?: Spacings;
|
|
866
|
+
/**
|
|
867
|
+
* Center child elements based on their content width
|
|
868
|
+
*/
|
|
869
|
+
intrinsic?: boolean;
|
|
870
|
+
/**
|
|
871
|
+
* The content to be centered
|
|
872
|
+
*/
|
|
873
|
+
children: ReactNode;
|
|
874
|
+
};
|
|
875
|
+
/**
|
|
876
|
+
* Center component provides various ways to center content horizontally within a container.
|
|
877
|
+
* It supports max-width constraints, text alignment, gutters, and intrinsic content centering.
|
|
878
|
+
*/
|
|
879
|
+
declare const Center: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
880
|
+
/**
|
|
881
|
+
* A CSS max-width value
|
|
882
|
+
*/
|
|
883
|
+
maxWidth?: string;
|
|
884
|
+
/**
|
|
885
|
+
* The space on either side of the content
|
|
886
|
+
*/
|
|
887
|
+
gutterWidth?: Spacings;
|
|
888
|
+
/**
|
|
889
|
+
* Center child elements based on their content width
|
|
890
|
+
*/
|
|
891
|
+
intrinsic?: boolean;
|
|
892
|
+
/**
|
|
893
|
+
* The content to be centered
|
|
894
|
+
*/
|
|
895
|
+
children: ReactNode;
|
|
896
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
897
|
+
|
|
857
898
|
type CheckboxSizeType = 'lg' | 'md' | 'sm';
|
|
858
899
|
declare const Checkbox: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "onChange" | "size" | "hideLabel"> & {
|
|
859
900
|
/**
|
|
@@ -2960,4 +3001,4 @@ declare const WistiaLogo: {
|
|
|
2960
3001
|
displayName: string;
|
|
2961
3002
|
};
|
|
2962
3003
|
|
|
2963
|
-
export { ActionButton, type ActionButtonProps, Avatar, type AvatarProps, type AvatarStatus, Badge, type BadgeProps, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonProps, Card, type CardProps, Checkbox, CheckboxGroup, CheckboxMenuItem, ClickRegion, type ClickRegionProps, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleTrigger, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, DataCard, type DataCardProps, DataCardTrend, type DataCardTrendProps, DataCards, type DataCardsProps, Divider, EditableHeading, type EditableHeadingProps, Ellipsis, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, type InputProps, Label, type LabelProps, Link, type LinkProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, Radio, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectOption, SelectOptionGroup, type SelectOptionGroupProps, type SelectOptionProps, type SelectProps, Stack, SubMenu, Switch, type SwitchProps, Tab, type TabProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, Tag, type TagProps, Text, type TextProps, Tooltip, type TooltipProps, UIProvider, type UseToastProps, WistiaLogo, colorSchemeOptions, copyToClipboard, dateTime, ellipsisFlexParentStyle, ellipsisStyle, iconSizeMap, mq, useActiveMq, useAriaLive, useBoolean, useFormState, useKey, useLocalStorage, useMq, useToast, useWindowSize };
|
|
3004
|
+
export { ActionButton, type ActionButtonProps, Avatar, type AvatarProps, type AvatarStatus, Badge, type BadgeProps, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonProps, Card, type CardProps, Center, type CenterProps, Checkbox, CheckboxGroup, CheckboxMenuItem, ClickRegion, type ClickRegionProps, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleTrigger, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, DataCard, type DataCardProps, DataCardTrend, type DataCardTrendProps, DataCards, type DataCardsProps, Divider, EditableHeading, type EditableHeadingProps, Ellipsis, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, type InputProps, Label, type LabelProps, Link, type LinkProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, Radio, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectOption, SelectOptionGroup, type SelectOptionGroupProps, type SelectOptionProps, type SelectProps, Stack, SubMenu, Switch, type SwitchProps, Tab, type TabProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, Tag, type TagProps, Text, type TextProps, Tooltip, type TooltipProps, UIProvider, type UseToastProps, WistiaLogo, colorSchemeOptions, copyToClipboard, dateTime, ellipsisFlexParentStyle, ellipsisStyle, iconSizeMap, mq, useActiveMq, useAriaLive, useBoolean, useFormState, useKey, useLocalStorage, useMq, useToast, useWindowSize };
|
package/dist/index.d.ts
CHANGED
|
@@ -854,6 +854,47 @@ declare const Card: {
|
|
|
854
854
|
displayName: string;
|
|
855
855
|
};
|
|
856
856
|
|
|
857
|
+
type CenterProps = ComponentPropsWithoutRef<'div'> & {
|
|
858
|
+
/**
|
|
859
|
+
* A CSS max-width value
|
|
860
|
+
*/
|
|
861
|
+
maxWidth?: string;
|
|
862
|
+
/**
|
|
863
|
+
* The space on either side of the content
|
|
864
|
+
*/
|
|
865
|
+
gutterWidth?: Spacings;
|
|
866
|
+
/**
|
|
867
|
+
* Center child elements based on their content width
|
|
868
|
+
*/
|
|
869
|
+
intrinsic?: boolean;
|
|
870
|
+
/**
|
|
871
|
+
* The content to be centered
|
|
872
|
+
*/
|
|
873
|
+
children: ReactNode;
|
|
874
|
+
};
|
|
875
|
+
/**
|
|
876
|
+
* Center component provides various ways to center content horizontally within a container.
|
|
877
|
+
* It supports max-width constraints, text alignment, gutters, and intrinsic content centering.
|
|
878
|
+
*/
|
|
879
|
+
declare const Center: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
880
|
+
/**
|
|
881
|
+
* A CSS max-width value
|
|
882
|
+
*/
|
|
883
|
+
maxWidth?: string;
|
|
884
|
+
/**
|
|
885
|
+
* The space on either side of the content
|
|
886
|
+
*/
|
|
887
|
+
gutterWidth?: Spacings;
|
|
888
|
+
/**
|
|
889
|
+
* Center child elements based on their content width
|
|
890
|
+
*/
|
|
891
|
+
intrinsic?: boolean;
|
|
892
|
+
/**
|
|
893
|
+
* The content to be centered
|
|
894
|
+
*/
|
|
895
|
+
children: ReactNode;
|
|
896
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
897
|
+
|
|
857
898
|
type CheckboxSizeType = 'lg' | 'md' | 'sm';
|
|
858
899
|
declare const Checkbox: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "onChange" | "size" | "hideLabel"> & {
|
|
859
900
|
/**
|
|
@@ -2960,4 +3001,4 @@ declare const WistiaLogo: {
|
|
|
2960
3001
|
displayName: string;
|
|
2961
3002
|
};
|
|
2962
3003
|
|
|
2963
|
-
export { ActionButton, type ActionButtonProps, Avatar, type AvatarProps, type AvatarStatus, Badge, type BadgeProps, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonProps, Card, type CardProps, Checkbox, CheckboxGroup, CheckboxMenuItem, ClickRegion, type ClickRegionProps, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleTrigger, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, DataCard, type DataCardProps, DataCardTrend, type DataCardTrendProps, DataCards, type DataCardsProps, Divider, EditableHeading, type EditableHeadingProps, Ellipsis, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, type InputProps, Label, type LabelProps, Link, type LinkProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, Radio, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectOption, SelectOptionGroup, type SelectOptionGroupProps, type SelectOptionProps, type SelectProps, Stack, SubMenu, Switch, type SwitchProps, Tab, type TabProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, Tag, type TagProps, Text, type TextProps, Tooltip, type TooltipProps, UIProvider, type UseToastProps, WistiaLogo, colorSchemeOptions, copyToClipboard, dateTime, ellipsisFlexParentStyle, ellipsisStyle, iconSizeMap, mq, useActiveMq, useAriaLive, useBoolean, useFormState, useKey, useLocalStorage, useMq, useToast, useWindowSize };
|
|
3004
|
+
export { ActionButton, type ActionButtonProps, Avatar, type AvatarProps, type AvatarStatus, Badge, type BadgeProps, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonProps, Card, type CardProps, Center, type CenterProps, Checkbox, CheckboxGroup, CheckboxMenuItem, ClickRegion, type ClickRegionProps, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleTrigger, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, DataCard, type DataCardProps, DataCardTrend, type DataCardTrendProps, DataCards, type DataCardsProps, Divider, EditableHeading, type EditableHeadingProps, Ellipsis, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, type InputProps, Label, type LabelProps, Link, type LinkProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, Radio, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectOption, SelectOptionGroup, type SelectOptionGroupProps, type SelectOptionProps, type SelectProps, Stack, SubMenu, Switch, type SwitchProps, Tab, type TabProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, Tag, type TagProps, Text, type TextProps, Tooltip, type TooltipProps, UIProvider, type UseToastProps, WistiaLogo, colorSchemeOptions, copyToClipboard, dateTime, ellipsisFlexParentStyle, ellipsisStyle, iconSizeMap, mq, useActiveMq, useAriaLive, useBoolean, useFormState, useKey, useLocalStorage, useMq, useToast, useWindowSize };
|