@worldresources/wri-design-systems 2.129.0 → 2.130.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/README.md +3 -2
- package/dist/index.cjs.js +155 -101
- package/dist/index.d.ts +15 -1
- package/dist/index.esm.js +758 -704
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -468,6 +468,20 @@ type PanelProps = {
|
|
468
468
|
|
469
469
|
declare const Panel: ({ header, content, footer, variant, width, }: PanelProps) => _emotion_react_jsx_runtime.JSX.Element;
|
470
470
|
|
471
|
+
type SheetProps = {
|
472
|
+
header?: React.ReactNode;
|
473
|
+
content: React.ReactNode;
|
474
|
+
footer?: React.ReactNode;
|
475
|
+
open: boolean;
|
476
|
+
onClose?: () => void;
|
477
|
+
minimizedHeight?: number;
|
478
|
+
midHeight?: number;
|
479
|
+
maxFullHeight?: number;
|
480
|
+
defaultSnap?: 'closed' | 'minimized' | 'mid' | 'full';
|
481
|
+
};
|
482
|
+
|
483
|
+
declare const Sheet: ({ header, content, footer, open, onClose, minimizedHeight, midHeight, maxFullHeight, defaultSnap, }: SheetProps) => _emotion_react_jsx_runtime.JSX.Element;
|
484
|
+
|
471
485
|
type BreadcrumbProps = {
|
472
486
|
links: {
|
473
487
|
label: string;
|
@@ -682,4 +696,4 @@ declare const SSOButtons: {
|
|
682
696
|
Microsoft: ({ ariaLabel, size, onClick, }: GenericSSOButtonsProps) => react_jsx_runtime.JSX.Element;
|
683
697
|
};
|
684
698
|
|
685
|
-
export { Badge, Breadcrumb, Button, Checkbox, CheckboxList, CheckboxOptionCard, CloseButton, Footer, IconButton, IconMarker, IconMarkers, InlineMessage, InputWithUnits, ItemCount, LayerGroup, LayerGroupContainer, LayerItem, LayerParameters, LegendItem, MapControl, MapControls, Menu, Modal, MultiActionButton, Navbar, NavigationRail, OptionCard, Pagination, Panel, Password, QualitativeAttribute, Radio, RadioGroup, RadioList, SSOButtons, ScaleBar, Select, Slider, SliderInput, StepBar, Switch, TabBar, Table, TableCell, TableRow, Tag, TextInput, Textarea, Toast, designSystemStyles, getThemedColor, showToast };
|
699
|
+
export { Badge, Breadcrumb, Button, Checkbox, CheckboxList, CheckboxOptionCard, CloseButton, Footer, IconButton, IconMarker, IconMarkers, InlineMessage, InputWithUnits, ItemCount, LayerGroup, LayerGroupContainer, LayerItem, LayerParameters, LegendItem, MapControl, MapControls, Menu, Modal, MultiActionButton, Navbar, NavigationRail, OptionCard, Pagination, Panel, Password, QualitativeAttribute, Radio, RadioGroup, RadioList, SSOButtons, ScaleBar, Select, Sheet, Slider, SliderInput, StepBar, Switch, TabBar, Table, TableCell, TableRow, Tag, TextInput, Textarea, Toast, designSystemStyles, getThemedColor, showToast };
|