plainframe-ui 0.1.36 → 0.1.38
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 +22 -1
- package/dist/index.js +5 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -392,6 +392,12 @@ type WithCssProp$3 = {
|
|
|
392
392
|
css?: Interpolation<Theme>;
|
|
393
393
|
};
|
|
394
394
|
type CardDirection = "horizontal" | "vertical";
|
|
395
|
+
type Align$3 = "start" | "center" | "end";
|
|
396
|
+
type SectionPadding = {
|
|
397
|
+
padding?: ContainerProps["padding"];
|
|
398
|
+
paddingX?: ContainerProps["padding"];
|
|
399
|
+
paddingY?: ContainerProps["padding"];
|
|
400
|
+
};
|
|
395
401
|
type CardProps = WithCssProp$3 & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "className"> & {
|
|
396
402
|
variant?: ContainerProps["variant"];
|
|
397
403
|
padding?: ContainerProps["padding"];
|
|
@@ -407,7 +413,22 @@ type CardProps = WithCssProp$3 & Omit<React.HTMLAttributes<HTMLDivElement>, "onC
|
|
|
407
413
|
direction?: CardDirection;
|
|
408
414
|
className?: string;
|
|
409
415
|
};
|
|
416
|
+
type CardSectionBaseProps = WithCssProp$3 & SectionPadding & Omit<React.HTMLAttributes<HTMLDivElement>, "className"> & {
|
|
417
|
+
className?: string;
|
|
418
|
+
align?: Align$3;
|
|
419
|
+
};
|
|
420
|
+
type CardSideProps = CardSectionBaseProps;
|
|
410
421
|
declare const Card: React.ForwardRefExoticComponent<React.PropsWithoutRef<CardProps> & React.RefAttributes<HTMLDivElement>>;
|
|
422
|
+
declare const CardContent: React.FC<CardSectionBaseProps>;
|
|
423
|
+
declare const CardStart: React.FC<CardSideProps>;
|
|
424
|
+
declare const CardEnd: React.FC<CardSideProps>;
|
|
425
|
+
type TextTune = {
|
|
426
|
+
weight?: number | string;
|
|
427
|
+
size?: number | string;
|
|
428
|
+
color?: string | "primary" | "secondary";
|
|
429
|
+
};
|
|
430
|
+
declare const CardTitle: React.FC<CardSectionBaseProps & TextTune>;
|
|
431
|
+
declare const CardDescription: React.FC<CardSectionBaseProps & TextTune>;
|
|
411
432
|
|
|
412
433
|
/** @jsxImportSource @emotion/react */
|
|
413
434
|
|
|
@@ -1581,4 +1602,4 @@ declare const ThemeProvider: React.FC<ThemeProviderProps>;
|
|
|
1581
1602
|
|
|
1582
1603
|
declare function CssBaseline(): _emotion_react_jsx_runtime.JSX.Element;
|
|
1583
1604
|
|
|
1584
|
-
export { Accordion, AccordionDetails, AccordionGroup, AccordionSummary, ActionBar, Alert, AlertDescription, AlertTitle, Autocomplete, Avatar, AvatarGroup, Backdrop, Badge, BreadCrumbItem, BreadCrumbs, Button, ButtonGroup, type ButtonProps, Card, CardGroup, Checkbox, Chip, CodeField, Container, ContextZone, CssBaseline, 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 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 };
|
|
1605
|
+
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, 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 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 };
|