@telicent-oss/ds 0.23.0 → 0.23.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/dist/ds.js
CHANGED
|
@@ -55046,7 +55046,7 @@ const AppChrome = ({
|
|
|
55046
55046
|
] });
|
|
55047
55047
|
};
|
|
55048
55048
|
const Container = (containerProps) => /* @__PURE__ */ jsx$1(Container$1, { ...containerProps });
|
|
55049
|
-
const FlexBox = (props) => /* @__PURE__ */ jsx$1(Stack, { ...props, children: props.children });
|
|
55049
|
+
const FlexBox = forwardRef((props, ref) => /* @__PURE__ */ jsx$1(Stack, { ref, ...props, children: props.children }));
|
|
55050
55050
|
const TelicentMark = ({
|
|
55051
55051
|
width: width2 = 24,
|
|
55052
55052
|
height: height2 = 24,
|
|
@@ -57739,7 +57739,7 @@ const DropdownButtonMenuItem = ({
|
|
|
57739
57739
|
}) => {
|
|
57740
57740
|
const Icon2 = icon2;
|
|
57741
57741
|
const theme = useExtendedTheme();
|
|
57742
|
-
return /* @__PURE__ */ jsxs(MenuItem, { onClick, id: id2, selected, sx: {
|
|
57742
|
+
return /* @__PURE__ */ jsxs(MenuItem, { onClick: () => onClick(value), id: id2, selected, sx: {
|
|
57743
57743
|
display: "flex",
|
|
57744
57744
|
alignItems: "center",
|
|
57745
57745
|
marginX: 1,
|
|
@@ -57869,6 +57869,7 @@ const Button2 = forwardRef((props, ref) => {
|
|
|
57869
57869
|
if (variant === "primary") return /* @__PURE__ */ jsx$1(PrimaryButton, { ...buttonProps, ref });
|
|
57870
57870
|
if (variant === "secondary") return /* @__PURE__ */ jsx$1(SecondaryButton, { ...buttonProps, ref });
|
|
57871
57871
|
if (variant === "link") return /* @__PURE__ */ jsx$1(LinkButton, { ...buttonProps, ref });
|
|
57872
|
+
if (variant === "noStyle") return /* @__PURE__ */ jsx$1(ButtonBase, { ...buttonProps, ref });
|
|
57872
57873
|
return /* @__PURE__ */ jsx$1(Button$1, { variant: "text", color: color2, ...buttonProps, ref, children: buttonProps.children });
|
|
57873
57874
|
});
|
|
57874
57875
|
const TextField2 = (props) => /* @__PURE__ */ jsx$1(TextField$1, { ...props });
|
package/dist/ds.umd.cjs
CHANGED
|
@@ -55064,7 +55064,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
55064
55064
|
] });
|
|
55065
55065
|
};
|
|
55066
55066
|
const Container = (containerProps) => /* @__PURE__ */ jsx$1(Container$1, { ...containerProps });
|
|
55067
|
-
const FlexBox = (props) => /* @__PURE__ */ jsx$1(Stack, { ...props, children: props.children });
|
|
55067
|
+
const FlexBox = React$2.forwardRef((props, ref) => /* @__PURE__ */ jsx$1(Stack, { ref, ...props, children: props.children }));
|
|
55068
55068
|
const TelicentMark = ({
|
|
55069
55069
|
width: width2 = 24,
|
|
55070
55070
|
height: height2 = 24,
|
|
@@ -57757,7 +57757,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
57757
57757
|
}) => {
|
|
57758
57758
|
const Icon2 = icon2;
|
|
57759
57759
|
const theme = useExtendedTheme();
|
|
57760
|
-
return /* @__PURE__ */ jsxs(MenuItem, { onClick, id: id2, selected, sx: {
|
|
57760
|
+
return /* @__PURE__ */ jsxs(MenuItem, { onClick: () => onClick(value), id: id2, selected, sx: {
|
|
57761
57761
|
display: "flex",
|
|
57762
57762
|
alignItems: "center",
|
|
57763
57763
|
marginX: 1,
|
|
@@ -57887,6 +57887,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
57887
57887
|
if (variant === "primary") return /* @__PURE__ */ jsx$1(PrimaryButton, { ...buttonProps, ref });
|
|
57888
57888
|
if (variant === "secondary") return /* @__PURE__ */ jsx$1(SecondaryButton, { ...buttonProps, ref });
|
|
57889
57889
|
if (variant === "link") return /* @__PURE__ */ jsx$1(LinkButton, { ...buttonProps, ref });
|
|
57890
|
+
if (variant === "noStyle") return /* @__PURE__ */ jsx$1(ButtonBase, { ...buttonProps, ref });
|
|
57890
57891
|
return /* @__PURE__ */ jsx$1(Button$1, { variant: "text", color: color2, ...buttonProps, ref, children: buttonProps.children });
|
|
57891
57892
|
});
|
|
57892
57893
|
const TextField = (props) => /* @__PURE__ */ jsx$1(TextField$1, { ...props });
|
|
@@ -45,7 +45,7 @@ export interface ButtonProps extends Omit<MUIButtonProps, "color" | "component"
|
|
|
45
45
|
* The variant to use.
|
|
46
46
|
* @default 'primary'
|
|
47
47
|
*/
|
|
48
|
-
variant?: "primary" | "secondary" | "tertiary" | "link" | "text";
|
|
48
|
+
variant?: "primary" | "secondary" | "tertiary" | "link" | "text" | "noStyle";
|
|
49
49
|
}
|
|
50
50
|
declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
51
51
|
export default Button;
|
|
@@ -289,7 +289,7 @@ declare const meta: {
|
|
|
289
289
|
name?: string | undefined;
|
|
290
290
|
component?: import('@mui/material').ButtonProps["component"];
|
|
291
291
|
action?: import('react').Ref<import('@mui/material').ButtonBaseActions> | undefined;
|
|
292
|
-
variant?: ("primary" | "secondary" | "tertiary" | "link" | "text") | undefined;
|
|
292
|
+
variant?: ("primary" | "secondary" | "tertiary" | "link" | "text" | "noStyle") | undefined;
|
|
293
293
|
centerRipple?: boolean | undefined;
|
|
294
294
|
disabled?: boolean | undefined;
|
|
295
295
|
disableRipple?: boolean | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { StackProps } from '@mui/material/Stack';
|
|
3
3
|
|
|
4
|
-
declare const FlexBox: React.
|
|
4
|
+
declare const FlexBox: React.ForwardRefExoticComponent<Omit<StackProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export default FlexBox;
|