design-zystem 1.0.217 → 1.0.218

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.mts CHANGED
@@ -111,6 +111,13 @@ interface DividerProps {
111
111
  }
112
112
  declare const Divider: ({ orientation, color, thickness, ySpacing, className, ...rest }: DividerProps) => react_jsx_runtime.JSX.Element;
113
113
 
114
+ interface CollapseProps {
115
+ open: boolean;
116
+ children: ReactNode;
117
+ maxHeight?: number;
118
+ }
119
+ declare const Collapse: ({ open, children, maxHeight }: CollapseProps) => react_jsx_runtime.JSX.Element;
120
+
114
121
  interface ModalConfirmationProps {
115
122
  isOpen?: boolean;
116
123
  onConfirm?: () => void;
@@ -880,4 +887,4 @@ declare const colors: {
880
887
  readonly light_blue: "#F1F5F9";
881
888
  };
882
889
 
883
- export { Accordion, type AccordionItem, Box, Bubble, Bulk, Button, CardSkeleton, Checkbox, Col, ColorPicker, DatePicker, Divider, Drawer, FileUploadZone, Grid, Icon, IconTabs, Image, Input, Link, List, ListItem, MetricCard, Modal, ModalConfirmation, MultiSelect, NewModal, Options, PageContainer, Pagination, Popover, Radio, Row, Select, type SelectOption, type SelectProps, SkeletonRow, SliderInput, Spinner, Stepper, Switch, Table, TableBody, TableCell, TableFooter, TableFooterCell, TableFooterRow, TableHeader, TableHeaderCell, TableHeaderRow, TableRow, Tabs, TagBubble, Text, Tooltip, colors, formatDate, formatDistance, formatDuration, optimizeImage, truncateFileName, truncateText };
890
+ export { Accordion, type AccordionItem, Box, Bubble, Bulk, Button, CardSkeleton, Checkbox, Col, Collapse, ColorPicker, DatePicker, Divider, Drawer, FileUploadZone, Grid, Icon, IconTabs, Image, Input, Link, List, ListItem, MetricCard, Modal, ModalConfirmation, MultiSelect, NewModal, Options, PageContainer, Pagination, Popover, Radio, Row, Select, type SelectOption, type SelectProps, SkeletonRow, SliderInput, Spinner, Stepper, Switch, Table, TableBody, TableCell, TableFooter, TableFooterCell, TableFooterRow, TableHeader, TableHeaderCell, TableHeaderRow, TableRow, Tabs, TagBubble, Text, Tooltip, colors, formatDate, formatDistance, formatDuration, optimizeImage, truncateFileName, truncateText };
package/dist/index.d.ts CHANGED
@@ -111,6 +111,13 @@ interface DividerProps {
111
111
  }
112
112
  declare const Divider: ({ orientation, color, thickness, ySpacing, className, ...rest }: DividerProps) => react_jsx_runtime.JSX.Element;
113
113
 
114
+ interface CollapseProps {
115
+ open: boolean;
116
+ children: ReactNode;
117
+ maxHeight?: number;
118
+ }
119
+ declare const Collapse: ({ open, children, maxHeight }: CollapseProps) => react_jsx_runtime.JSX.Element;
120
+
114
121
  interface ModalConfirmationProps {
115
122
  isOpen?: boolean;
116
123
  onConfirm?: () => void;
@@ -880,4 +887,4 @@ declare const colors: {
880
887
  readonly light_blue: "#F1F5F9";
881
888
  };
882
889
 
883
- export { Accordion, type AccordionItem, Box, Bubble, Bulk, Button, CardSkeleton, Checkbox, Col, ColorPicker, DatePicker, Divider, Drawer, FileUploadZone, Grid, Icon, IconTabs, Image, Input, Link, List, ListItem, MetricCard, Modal, ModalConfirmation, MultiSelect, NewModal, Options, PageContainer, Pagination, Popover, Radio, Row, Select, type SelectOption, type SelectProps, SkeletonRow, SliderInput, Spinner, Stepper, Switch, Table, TableBody, TableCell, TableFooter, TableFooterCell, TableFooterRow, TableHeader, TableHeaderCell, TableHeaderRow, TableRow, Tabs, TagBubble, Text, Tooltip, colors, formatDate, formatDistance, formatDuration, optimizeImage, truncateFileName, truncateText };
890
+ export { Accordion, type AccordionItem, Box, Bubble, Bulk, Button, CardSkeleton, Checkbox, Col, Collapse, ColorPicker, DatePicker, Divider, Drawer, FileUploadZone, Grid, Icon, IconTabs, Image, Input, Link, List, ListItem, MetricCard, Modal, ModalConfirmation, MultiSelect, NewModal, Options, PageContainer, Pagination, Popover, Radio, Row, Select, type SelectOption, type SelectProps, SkeletonRow, SliderInput, Spinner, Stepper, Switch, Table, TableBody, TableCell, TableFooter, TableFooterCell, TableFooterRow, TableHeader, TableHeaderCell, TableHeaderRow, TableRow, Tabs, TagBubble, Text, Tooltip, colors, formatDate, formatDistance, formatDuration, optimizeImage, truncateFileName, truncateText };