@wistia/ui 0.9.1-beta.e028a78e.bb9fef4 → 0.9.1
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 +281 -385
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -34
- package/dist/index.d.ts +5 -34
- package/dist/index.mjs +243 -345
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -9,7 +9,6 @@ import { LinkProps as LinkProps$1 } from 'react-router-dom';
|
|
|
9
9
|
import { CollapsibleContentProps as CollapsibleContentProps$1 } from '@radix-ui/react-collapsible';
|
|
10
10
|
import * as styled_components from 'styled-components';
|
|
11
11
|
import { FlattenSimpleInterpolation } from 'styled-components';
|
|
12
|
-
import * as _radix_ui_react_dropdown_menu from '@radix-ui/react-dropdown-menu';
|
|
13
12
|
import { DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuRadioGroupProps, DropdownMenuRadioItemProps, DropdownMenuCheckboxItemProps } from '@radix-ui/react-dropdown-menu';
|
|
14
13
|
import { PopoverContentProps } from '@radix-ui/react-popover';
|
|
15
14
|
import { ToggleGroupSingleProps } from '@radix-ui/react-toggle-group';
|
|
@@ -1962,7 +1961,10 @@ type MenuProps = MenuControlProps & {
|
|
|
1962
1961
|
/**
|
|
1963
1962
|
* Displays a menu to the users with a set of actions.
|
|
1964
1963
|
*/
|
|
1965
|
-
declare const Menu:
|
|
1964
|
+
declare const Menu: {
|
|
1965
|
+
({ align, children, disabled, compact, trigger, label, isOpen, triggerProps, onOpenChange, onInteractOutside, ...props }: MenuProps): JSX.Element;
|
|
1966
|
+
displayName: string;
|
|
1967
|
+
};
|
|
1966
1968
|
|
|
1967
1969
|
type MenuLabelProps = {
|
|
1968
1970
|
/**
|
|
@@ -2309,37 +2311,6 @@ declare const CheckboxMenuItem: {
|
|
|
2309
2311
|
displayName: string;
|
|
2310
2312
|
};
|
|
2311
2313
|
|
|
2312
|
-
type FilterMenuProps = MenuProps & {
|
|
2313
|
-
/**
|
|
2314
|
-
* The selected values of the filter Menu
|
|
2315
|
-
* */
|
|
2316
|
-
value: string[];
|
|
2317
|
-
/**
|
|
2318
|
-
* Callback for when the selected values change
|
|
2319
|
-
*/
|
|
2320
|
-
onChange: (value: string[]) => void;
|
|
2321
|
-
/**
|
|
2322
|
-
* The current search value
|
|
2323
|
-
*/
|
|
2324
|
-
searchValue: string;
|
|
2325
|
-
/**
|
|
2326
|
-
* Callback for when the search value changes (by searching the input)
|
|
2327
|
-
*/
|
|
2328
|
-
onSearchValueChange: (value: string) => void;
|
|
2329
|
-
};
|
|
2330
|
-
declare const FilterMenuItem: {
|
|
2331
|
-
({ onSelect, checked, onCheckedChange, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuCheckboxItemProps & (MenuItemButtonProps & {
|
|
2332
|
-
onCheckedChange: (checked: boolean) => void;
|
|
2333
|
-
indicator?: react.JSX.Element;
|
|
2334
|
-
checked: boolean;
|
|
2335
|
-
href?: never;
|
|
2336
|
-
isLoading?: never;
|
|
2337
|
-
ref?: never;
|
|
2338
|
-
})): react_jsx_runtime.JSX.Element;
|
|
2339
|
-
displayName: string;
|
|
2340
|
-
};
|
|
2341
|
-
declare const FilterMenu: react.ForwardRefExoticComponent<FilterMenuProps & react.RefAttributes<HTMLButtonElement>>;
|
|
2342
|
-
|
|
2343
2314
|
type ModalProps = ComponentPropsWithoutRef<'div'> & {
|
|
2344
2315
|
/**
|
|
2345
2316
|
* The content of the modal.
|
|
@@ -3356,4 +3327,4 @@ declare const List: {
|
|
|
3356
3327
|
displayName: string;
|
|
3357
3328
|
};
|
|
3358
3329
|
|
|
3359
|
-
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, type EllipsisProps,
|
|
3330
|
+
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, type EllipsisProps, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, InputClickToCopy, type InputClickToCopyProps, type InputProps, type KeyboardKeys, KeyboardShortcut, Label, type LabelProps, Link, type LinkProps, List, type ListProps, 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, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, Tag, type TagProps, Text, type TextProps, Thumbnail, ThumbnailBadge, type ThumbnailBadgeProps, ThumbnailCollage, type ThumbnailCollageProps, type ThumbnailProps, Tooltip, type TooltipProps, UIProvider, type UseToastProps, WistiaLogo, colorSchemeOptions, copyToClipboard, dateTime, iconSizeMap, mergeRefs, mq, useActiveMq, useAriaLive, useBoolean, useClipboard, useFocusTrap, useForceUpdate, useFormState, useIsHovered, useKey, useLocalStorage, useLockBodyScroll, useMq, useOnClickOutside, usePreviousValue, useToast, useWindowSize };
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ import { LinkProps as LinkProps$1 } from 'react-router-dom';
|
|
|
9
9
|
import { CollapsibleContentProps as CollapsibleContentProps$1 } from '@radix-ui/react-collapsible';
|
|
10
10
|
import * as styled_components from 'styled-components';
|
|
11
11
|
import { FlattenSimpleInterpolation } from 'styled-components';
|
|
12
|
-
import * as _radix_ui_react_dropdown_menu from '@radix-ui/react-dropdown-menu';
|
|
13
12
|
import { DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuRadioGroupProps, DropdownMenuRadioItemProps, DropdownMenuCheckboxItemProps } from '@radix-ui/react-dropdown-menu';
|
|
14
13
|
import { PopoverContentProps } from '@radix-ui/react-popover';
|
|
15
14
|
import { ToggleGroupSingleProps } from '@radix-ui/react-toggle-group';
|
|
@@ -1962,7 +1961,10 @@ type MenuProps = MenuControlProps & {
|
|
|
1962
1961
|
/**
|
|
1963
1962
|
* Displays a menu to the users with a set of actions.
|
|
1964
1963
|
*/
|
|
1965
|
-
declare const Menu:
|
|
1964
|
+
declare const Menu: {
|
|
1965
|
+
({ align, children, disabled, compact, trigger, label, isOpen, triggerProps, onOpenChange, onInteractOutside, ...props }: MenuProps): JSX.Element;
|
|
1966
|
+
displayName: string;
|
|
1967
|
+
};
|
|
1966
1968
|
|
|
1967
1969
|
type MenuLabelProps = {
|
|
1968
1970
|
/**
|
|
@@ -2309,37 +2311,6 @@ declare const CheckboxMenuItem: {
|
|
|
2309
2311
|
displayName: string;
|
|
2310
2312
|
};
|
|
2311
2313
|
|
|
2312
|
-
type FilterMenuProps = MenuProps & {
|
|
2313
|
-
/**
|
|
2314
|
-
* The selected values of the filter Menu
|
|
2315
|
-
* */
|
|
2316
|
-
value: string[];
|
|
2317
|
-
/**
|
|
2318
|
-
* Callback for when the selected values change
|
|
2319
|
-
*/
|
|
2320
|
-
onChange: (value: string[]) => void;
|
|
2321
|
-
/**
|
|
2322
|
-
* The current search value
|
|
2323
|
-
*/
|
|
2324
|
-
searchValue: string;
|
|
2325
|
-
/**
|
|
2326
|
-
* Callback for when the search value changes (by searching the input)
|
|
2327
|
-
*/
|
|
2328
|
-
onSearchValueChange: (value: string) => void;
|
|
2329
|
-
};
|
|
2330
|
-
declare const FilterMenuItem: {
|
|
2331
|
-
({ onSelect, checked, onCheckedChange, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuCheckboxItemProps & (MenuItemButtonProps & {
|
|
2332
|
-
onCheckedChange: (checked: boolean) => void;
|
|
2333
|
-
indicator?: react.JSX.Element;
|
|
2334
|
-
checked: boolean;
|
|
2335
|
-
href?: never;
|
|
2336
|
-
isLoading?: never;
|
|
2337
|
-
ref?: never;
|
|
2338
|
-
})): react_jsx_runtime.JSX.Element;
|
|
2339
|
-
displayName: string;
|
|
2340
|
-
};
|
|
2341
|
-
declare const FilterMenu: react.ForwardRefExoticComponent<FilterMenuProps & react.RefAttributes<HTMLButtonElement>>;
|
|
2342
|
-
|
|
2343
2314
|
type ModalProps = ComponentPropsWithoutRef<'div'> & {
|
|
2344
2315
|
/**
|
|
2345
2316
|
* The content of the modal.
|
|
@@ -3356,4 +3327,4 @@ declare const List: {
|
|
|
3356
3327
|
displayName: string;
|
|
3357
3328
|
};
|
|
3358
3329
|
|
|
3359
|
-
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, type EllipsisProps,
|
|
3330
|
+
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, type EllipsisProps, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, InputClickToCopy, type InputClickToCopyProps, type InputProps, type KeyboardKeys, KeyboardShortcut, Label, type LabelProps, Link, type LinkProps, List, type ListProps, 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, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, Tag, type TagProps, Text, type TextProps, Thumbnail, ThumbnailBadge, type ThumbnailBadgeProps, ThumbnailCollage, type ThumbnailCollageProps, type ThumbnailProps, Tooltip, type TooltipProps, UIProvider, type UseToastProps, WistiaLogo, colorSchemeOptions, copyToClipboard, dateTime, iconSizeMap, mergeRefs, mq, useActiveMq, useAriaLive, useBoolean, useClipboard, useFocusTrap, useForceUpdate, useFormState, useIsHovered, useKey, useLocalStorage, useLockBodyScroll, useMq, useOnClickOutside, usePreviousValue, useToast, useWindowSize };
|