plainframe-ui 0.1.47 → 0.1.49

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.d.ts CHANGED
@@ -1036,6 +1036,21 @@ declare const Rotate: React.FC<RotateProps>;
1036
1036
 
1037
1037
  type Align$1 = "left" | "center" | "right";
1038
1038
  type Variant$4 = "subtle" | "outlined" | "ghost";
1039
+ /** DEAD SIMPLE OPTION */
1040
+ type SelectItemProps<T = unknown> = {
1041
+ value: T;
1042
+ startIcon?: React.ReactNode;
1043
+ endIcon?: React.ReactNode;
1044
+ children?: React.ReactNode;
1045
+ };
1046
+ /**
1047
+ * Declarative option: Select reads these props and renders MenuItem internally.
1048
+ * This component itself renders nothing.
1049
+ */
1050
+ declare const SelectItem: {
1051
+ <T>(props: SelectItemProps<T>): JSX.Element | null;
1052
+ displayName: string;
1053
+ };
1039
1054
  type SelectProps<T = unknown> = {
1040
1055
  value?: T | T[];
1041
1056
  defaultValue?: T | T[];
@@ -1064,8 +1079,8 @@ type SelectProps<T = unknown> = {
1064
1079
  triggerRender?: (selected: React.ReactNode | React.ReactNode[] | undefined) => React.ReactNode;
1065
1080
  };
1066
1081
  declare const Select: {
1067
- <T>({ value, defaultValue, onChange, label, placeholder, startIcon, endIcon, disabled, size, variant, fullWidth, width, menuAlign, menuWidth, menuMaxHeight, wrapperCss, labelCss, triggerCss, menuCss, optionCss, children, className, menuSize, triggerRender, multiple, }: SelectProps<T>): JSX.Element;
1068
- DisplayName: string;
1082
+ <T>({ value, defaultValue, onChange, label, placeholder, startIcon, endIcon, multiple, disabled, size, variant, fullWidth, width, menuAlign, menuWidth, menuMaxHeight, wrapperCss, labelCss, triggerCss, menuCss, optionCss, children, className, menuSize, triggerRender, }: SelectProps<T>): JSX.Element;
1083
+ displayName: string;
1069
1084
  };
1070
1085
 
1071
1086
  /** @jsxImportSource @emotion/react */
@@ -1609,4 +1624,4 @@ declare const ThemeProvider: React.FC<ThemeProviderProps>;
1609
1624
 
1610
1625
  declare function CssBaseline(): _emotion_react_jsx_runtime.JSX.Element;
1611
1626
 
1612
- export { Accordion, AccordionDetails, AccordionGroup, AccordionSummary, ActionBar, Alert, AlertDescription, AlertTitle, Autocomplete, Avatar, AvatarGroup, Backdrop, Badge, BreadCrumbItem, BreadCrumbs, Button, ButtonGroup, type ButtonProps, Card, CardContent, CardDescription, CardEnd, CardGroup, CardStart, CardTitle, Checkbox, Chip, CodeField, Container, ContextZone, CssBaseline, type DeepPartial, Divider, Drawer, DropdownMenu, DropdownMenuContent, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Fade, Flex, Grow, Image, type ImageProps, ImageStack, Kbd, Menu, MenuCheckboxGroup, MenuCheckboxItem, MenuItem, MenuLabel, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuSwitchItem, MenuVariantCtx, Modal, ModalContent, type ModalProps, ModalTrigger, type Mode, Pagination, type PartialTheme, type PlainframeUITheme, Popover, PopoverAnchor, type PopoverAnchorProps, PopoverContent, type PopoverContentProps, type PopoverRootProps, PopoverTrigger, type PopoverTriggerProps, Progress, Quote, RadioGroup, type RadioGroupProps, RadioItem, type RadioItemProps, Rotate, type Scale, Select, Skeleton, Slide, Slider, Step, Stepper, Switch, Tab, TabContent, Tabs, TextArea, TextField, type TextFieldProps, type ThemeProp, ThemeProvider, type ThemeProviderProps, Tooltip, TooltipContent, TooltipTrigger, Typography, defaultDarkTheme, defaultLightTheme, surfaceFromNeutral, textDark, textLight, toast, useColorMode, useDropdownMenuActiveIndex, usePlainframeUITheme, usePopoverContext, usePrimary, usePrimitives };
1627
+ export { Accordion, AccordionDetails, AccordionGroup, AccordionSummary, ActionBar, Alert, AlertDescription, AlertTitle, Autocomplete, Avatar, AvatarGroup, Backdrop, Badge, BreadCrumbItem, BreadCrumbs, Button, ButtonGroup, type ButtonProps, Card, CardContent, CardDescription, CardEnd, CardGroup, CardStart, CardTitle, Checkbox, Chip, CodeField, Container, ContextZone, CssBaseline, type DeepPartial, Divider, Drawer, DropdownMenu, DropdownMenuContent, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Fade, Flex, Grow, Image, type ImageProps, ImageStack, Kbd, Menu, MenuCheckboxGroup, MenuCheckboxItem, MenuItem, MenuLabel, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuSwitchItem, MenuVariantCtx, Modal, ModalContent, type ModalProps, ModalTrigger, type Mode, Pagination, type PartialTheme, type PlainframeUITheme, Popover, PopoverAnchor, type PopoverAnchorProps, PopoverContent, type PopoverContentProps, type PopoverRootProps, PopoverTrigger, type PopoverTriggerProps, Progress, Quote, RadioGroup, type RadioGroupProps, RadioItem, type RadioItemProps, Rotate, type Scale, Select, SelectItem, Skeleton, Slide, Slider, Step, Stepper, Switch, Tab, TabContent, Tabs, TextArea, TextField, type TextFieldProps, type ThemeProp, ThemeProvider, type ThemeProviderProps, Tooltip, TooltipContent, TooltipTrigger, Typography, defaultDarkTheme, defaultLightTheme, surfaceFromNeutral, textDark, textLight, toast, useColorMode, useDropdownMenuActiveIndex, usePlainframeUITheme, usePopoverContext, usePrimary, usePrimitives };