Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@loadsmart/miranda-react

Package Overview
Dependencies
Maintainers
0
Versions
310
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loadsmart/miranda-react - npm Package Compare versions

Comparing version 3.0.0-beta.40 to 3.0.0-beta.41

9

dist/components/Drawer/Drawer.d.ts
import type { ComponentProps } from 'react';
import type { EventName, WebComponentProps } from '@lit/react';
import { Drawer as WCDrawer } from '@loadsmart/miranda-wc';
import { DrawerActionPrimary } from './DrawerActionPrimary';
import { DrawerActionSecondary } from './DrawerActionSecondary';
import { DrawerActionTertiary } from './DrawerActionTertiary';
declare global {

@@ -21,5 +18,5 @@ namespace JSX {

}> & {
ActionPrimary: typeof DrawerActionPrimary;
ActionSecondary: typeof DrawerActionSecondary;
ActionTertiary: typeof DrawerActionTertiary;
ActionPrimary: import("react").ForwardRefExoticComponent<Omit<import("./DrawerActionPrimary").DrawerActionPrimaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").DrawerActionPrimary>>;
ActionSecondary: import("react").ForwardRefExoticComponent<Omit<import("./DrawerActionSecondary").DrawerActionSecondaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").DrawerActionSecondary>>;
ActionTertiary: import("react").ForwardRefExoticComponent<Omit<import("./DrawerActionTertiary").DrawerActionTertiaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").DrawerActionTertiary>>;
Actions: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DrawerActions, {}>;

@@ -26,0 +23,0 @@ Body: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DrawerBody, {}>;

@@ -16,3 +16,3 @@ import type { ReactNode, ComponentProps } from 'react';

}
export declare function DrawerActionPrimary(props: DrawerActionPrimaryProps): import("react/jsx-runtime").JSX.Element;
export declare const DrawerActionPrimary: import("react").ForwardRefExoticComponent<Omit<DrawerActionPrimaryProps, "ref"> & import("react").RefAttributes<WCDrawerActionPrimary>>;
export {};

@@ -16,3 +16,3 @@ import type { ReactNode, ComponentProps } from 'react';

}
export declare function DrawerActionSecondary(props: DrawerActionSecondaryProps): import("react/jsx-runtime").JSX.Element;
export declare const DrawerActionSecondary: import("react").ForwardRefExoticComponent<Omit<DrawerActionSecondaryProps, "ref"> & import("react").RefAttributes<WCDrawerActionSecondary>>;
export {};

@@ -16,3 +16,3 @@ import type { ReactNode, ComponentProps } from 'react';

}
export declare function DrawerActionTertiary(props: DrawerActionTertiaryProps): import("react/jsx-runtime").JSX.Element;
export declare const DrawerActionTertiary: import("react").ForwardRefExoticComponent<Omit<DrawerActionTertiaryProps, "ref"> & import("react").RefAttributes<WCDrawerActionTertiary>>;
export {};

@@ -416,6 +416,6 @@ import { AccordionTitle as AccordionTitle$1, AccordionContent as AccordionContent$1, Accordion as Accordion$1, Badge as Badge$1, BannerActionPrimary as BannerActionPrimary$1, BannerActions as BannerActions$1, BannerActionSecondary as BannerActionSecondary$1, BannerDescription as BannerDescription$1, BannerIcon as BannerIcon$1, BannerTitle as BannerTitle$1, Banner as Banner$1, Button as Button$1, CardTitle as CardTitle$1, CardSubtitle as CardSubtitle$1, CardBody as CardBody$1, CardDivider as CardDivider$1, CardActionPrimary as CardActionPrimary$1, CardActionSecondary as CardActionSecondary$1, CardActionTertiary as CardActionTertiary$1, CardFooter as CardFooter$1, Card as Card$1, Checkbox as Checkbox$1, DialogActionPrimary as DialogActionPrimary$1, DialogActionSecondary as DialogActionSecondary$1, DialogActionTertiary as DialogActionTertiary$1, DialogActions as DialogActions$1, DialogBody as DialogBody$1, DialogClose as DialogClose$1, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1, Dialog as Dialog$1, Divider as Divider$1, DrawerActionPrimary as DrawerActionPrimary$1, DrawerActionSecondary as DrawerActionSecondary$1, DrawerActionTertiary as DrawerActionTertiary$1, DrawerActions as DrawerActions$1, DrawerBody as DrawerBody$1, DrawerClose as DrawerClose$1, DrawerHeader as DrawerHeader$1, Drawer as Drawer$1, DropdownItem as DropdownItem$1, DropdownMenu as DropdownMenu$1, DropdownTrigger as DropdownTrigger$1, Dropdown as Dropdown$1, EmptyStateIllustration as EmptyStateIllustration$1, EmptyStateHeader as EmptyStateHeader$1, EmptyStateMessage as EmptyStateMessage$1, EmptyStateAction as EmptyStateAction$1, EmptyState as EmptyState$1, FieldLabel as FieldLabel$1, FieldHint as FieldHint$1, Field as Field$1, HeaderActions as HeaderActions$1, HeaderContent as HeaderContent$1, HeaderTitle as HeaderTitle$1, SubHeader as SubHeader$1, BackButton, Header as Header$1, Icon as Icon$1, LabeledValueLabel as LabeledValueLabel$1, LabeledValueValue as LabeledValueValue$1, LabeledValue as LabeledValue$1, Box as Box$1, Group as Group$1, Stack as Stack$1, Grid as Grid$1, Sidebar as Sidebar$1, Switcher as Switcher$1, Container as Container$1, Row as Row$1, Column as Column$1, Link as Link$1, Body as Body$1, PageContent as PageContent$1, Pagination as Pagination$1, ProgressBar as ProgressBar$1, ProgressBarCountdown as ProgressBarCountdown$1, Radio as Radio$1, RadioGroup as RadioGroup$1, SectionTitle as SectionTitle$1, Section as Section$1, SelectOption as SelectOption$1, Select as Select$1, SpinnerWheel as SpinnerWheel$1, Step as Step$1, Steps as Steps$1, Switch as Switch$1, TableHead as TableHead$1, TableBody as TableBody$1, TableFoot as TableFoot$1, TableRow as TableRow$1, TableCell as TableCell$1, TableToolbar as TableToolbar$1, TableHeadCell as TableHeadCell$1, TableFeedback as TableFeedback$1, TableActions as TableActions$1, Table as Table$1, Tab as Tab$1, TabPanel as TabPanel$1, Tabs as Tabs$1, Tag as Tag$1, ActionableTag as ActionableTag$1, Text as Text$1, TextArea as TextArea$1, TextField as TextField$1, TimelineItem as TimelineItem$1, TimelineExpandableItem as TimelineExpandableItem$1, TimelineItemBody as TimelineItemBody$1, TimelineItemFooter as TimelineItemFooter$1, TimelineItemHeader as TimelineItemHeader$1, TimelineItemHeaderSubtitle as TimelineItemHeaderSubtitle$1, TimelineItemHeaderTitle as TimelineItemHeaderTitle$1, TimelineItemIcon as TimelineItemIcon$1, Timeline as Timeline$1, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1, Tooltip as Tooltip$1, LogoLoader as LogoLoader$1, DotsLoader as DotsLoader$1 } from '@loadsmart/miranda-wc';

});
function DrawerActionPrimary(props) {
const DrawerActionPrimary = forwardRef(function DrawerActionPrimary(props, ref) {
const { leading, trailing, children, ...rest } = props;
return (jsxs(WiredDrawerActionPrimary, { ...rest, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
}
return (jsxs(WiredDrawerActionPrimary, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
});

@@ -427,6 +427,6 @@ const WiredDrawerActionSecondary = createComponent({

});
function DrawerActionSecondary(props) {
const DrawerActionSecondary = forwardRef(function DrawerActionSecondary(props, ref) {
const { leading, trailing, children, ...rest } = props;
return (jsxs(WiredDrawerActionSecondary, { ...rest, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
}
return (jsxs(WiredDrawerActionSecondary, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
});

@@ -438,6 +438,6 @@ const WiredDrawerActionTertiary = createComponent({

});
function DrawerActionTertiary(props) {
const DrawerActionTertiary = forwardRef(function DrawerActionTertiary(props, ref) {
const { leading, trailing, children, ...rest } = props;
return (jsxs(WiredDrawerActionTertiary, { ...rest, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
}
return (jsxs(WiredDrawerActionTertiary, { ...rest, ref: ref, children: [leading != null && jsx("span", { slot: "leading", children: leading }), children, trailing != null && jsx("span", { slot: "trailing", children: trailing })] }));
});

@@ -1216,6 +1216,7 @@ const DrawerActions = createComponent({

// @ts-expect-error -- we can't type this properly because of the way the WC is implemented
onChange: onChange, ...rest, children: children !== null && children !== void 0 ? children : (options || []).map(function renderOption(option) {
const { label, value: optionValue, ...others } = option;
return (jsx(Toggle, { ...others, value: optionValue, children: label }, optionValue));
}) }));
onChange: onChange, ...rest, children: children ??
(options || []).map(function renderOption(option) {
const { label, value: optionValue, ...others } = option;
return (jsx(Toggle, { ...others, value: optionValue, children: label }, optionValue));
}) }));
}

@@ -1222,0 +1223,0 @@ ToggleGroup.Toggle = Toggle;

{
"name": "@loadsmart/miranda-react",
"version": "3.0.0-beta.40",
"version": "3.0.0-beta.41",
"description": "React component library based on Miranda Web Components",

@@ -44,4 +44,4 @@ "main": "dist/index.js",

"dependencies": {
"@loadsmart/miranda-tokens": "4.0.0-beta.40",
"@loadsmart/miranda-wc": "3.0.0-beta.40",
"@loadsmart/miranda-tokens": "4.0.0-beta.41",
"@loadsmart/miranda-wc": "3.0.0-beta.41",
"@lit/react": "^1.0.5",

@@ -48,0 +48,0 @@ "react-is": "^18.3.1"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc