@worldresources/wri-design-systems 2.138.7 → 2.140.0
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/README.md +1 -0
- package/dist/index.cjs.js +133 -116
- package/dist/index.d.ts +12 -2
- package/dist/index.esm.js +102 -85
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -560,6 +560,14 @@ declare const Table: ({ columns, data, renderRow, striped, stickyHeader, paginat
|
|
|
560
560
|
declare const TableRow: React__default.ForwardRefExoticComponent<Table$1.RowProps & React__default.RefAttributes<HTMLTableRowElement>>;
|
|
561
561
|
declare const TableCell: React__default.ForwardRefExoticComponent<Table$1.CellProps & React__default.RefAttributes<HTMLTableCellElement>>;
|
|
562
562
|
|
|
563
|
+
interface ExtendableCardProps {
|
|
564
|
+
children: React__default.ReactNode;
|
|
565
|
+
header: React__default.ReactNode;
|
|
566
|
+
footer?: React__default.ReactNode;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
declare const ExtendableCard: ({ children, header, footer }: ExtendableCardProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
570
|
+
|
|
563
571
|
type ModalProps = {
|
|
564
572
|
header: React.ReactNode;
|
|
565
573
|
content: React.ReactNode;
|
|
@@ -594,9 +602,11 @@ type SheetProps = {
|
|
|
594
602
|
maxFullHeight?: number;
|
|
595
603
|
defaultSnap?: 'closed' | 'minimized' | 'mid' | 'full';
|
|
596
604
|
className?: string;
|
|
605
|
+
blocking?: boolean;
|
|
606
|
+
zIndex?: number;
|
|
597
607
|
};
|
|
598
608
|
|
|
599
|
-
declare const Sheet: ({ header, content, footer, open, onClose, minimizedHeight, midHeight, maxFullHeight, defaultSnap, className, }: SheetProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
609
|
+
declare const Sheet: ({ header, content, footer, open, onClose, minimizedHeight, midHeight, maxFullHeight, defaultSnap, className, blocking, zIndex, }: SheetProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
600
610
|
|
|
601
611
|
type BreadcrumbProps = {
|
|
602
612
|
links: {
|
|
@@ -745,4 +755,4 @@ type ToastProps = {
|
|
|
745
755
|
|
|
746
756
|
declare const showToast: (props: ToastProps) => void;
|
|
747
757
|
|
|
748
|
-
export { Badge, BaseMap, Breadcrumb, Button, Checkbox, CheckboxList, CheckboxOptionCard, CloseButton, Footer, IconButton, IconMarker, IconMarkers, InlineMessage, InputWithUnits, ItemCount, LayerGroup, LayerGroupContainer, LayerItem, LayerParameters, LegendItem, List, MapControl, MapControls, Menu, Modal, MultiActionButton, Navbar, NavigationRail, OptionCard, Pagination, Panel, Password, ProgressBar, QualitativeAttribute, Radio, RadioGroup, RadioList, SSOButtons, ScaleBar, Select, Sheet, Slider, SliderInput, StepProgressIndicator, Switch, TabBar, Table, TableCell, TableRow, Tag, TextInput, Textarea, Toast, designSystemStyles, getThemedColor, showToast };
|
|
758
|
+
export { Badge, BaseMap, Breadcrumb, Button, Checkbox, CheckboxList, CheckboxOptionCard, CloseButton, ExtendableCard, Footer, IconButton, IconMarker, IconMarkers, InlineMessage, InputWithUnits, ItemCount, LayerGroup, LayerGroupContainer, LayerItem, LayerParameters, LegendItem, List, MapControl, MapControls, Menu, Modal, MultiActionButton, Navbar, NavigationRail, OptionCard, Pagination, Panel, Password, ProgressBar, QualitativeAttribute, Radio, RadioGroup, RadioList, SSOButtons, ScaleBar, Select, Sheet, Slider, SliderInput, StepProgressIndicator, Switch, TabBar, Table, TableCell, TableRow, Tag, TextInput, Textarea, Toast, designSystemStyles, getThemedColor, showToast };
|