@telicent-oss/ds 0.23.0 → 0.23.2
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 +9 -2
- package/dist/ds.umd.cjs +9 -2
- package/dist/src/candidate-packages/utils-lib/src/GraphApp/constants.d.ts +5 -0
- package/dist/src/candidate-packages/utils-lib/src/GraphApp/constants.test.d.ts +1 -0
- package/dist/src/candidate-packages/utils-lib/src/index.d.ts +1 -0
- package/dist/src/export.d.ts +1 -1
- package/dist/src/v1/components/inputs/Button/Button.d.ts +1 -1
- package/dist/src/v1/components/inputs/Button/Button.stories.d.ts +1 -1
- package/dist/src/v1/components/layout/FlexBox.d.ts +1 -1
- package/package.json +2 -1
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 });
|
|
@@ -80756,6 +80757,11 @@ function useViewTransitionState(to, opts) {
|
|
|
80756
80757
|
return matchPath(path.pathname, nextPath) != null || matchPath(path.pathname, currentPath) != null;
|
|
80757
80758
|
}
|
|
80758
80759
|
const toStringEncoded = (params, codec) => `${codec.param}=${codec.encode(`${createSearchParams(params)}`)}`;
|
|
80760
|
+
const GRAPH_APP = {
|
|
80761
|
+
QUERY_PARAM: {
|
|
80762
|
+
NODES: `nodes[]`
|
|
80763
|
+
}
|
|
80764
|
+
};
|
|
80759
80765
|
export {
|
|
80760
80766
|
AppBar2 as AppBar,
|
|
80761
80767
|
AppChrome,
|
|
@@ -80791,6 +80797,7 @@ export {
|
|
|
80791
80797
|
FloatingPanelContext,
|
|
80792
80798
|
FloatingPanelProvider,
|
|
80793
80799
|
FloppyDiskIcon,
|
|
80800
|
+
GRAPH_APP,
|
|
80794
80801
|
GridIcon,
|
|
80795
80802
|
H1,
|
|
80796
80803
|
H2,
|
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 });
|
|
@@ -80774,6 +80775,11 @@ uniform ${i3} ${s4} u_${a3};
|
|
|
80774
80775
|
return matchPath(path.pathname, nextPath) != null || matchPath(path.pathname, currentPath) != null;
|
|
80775
80776
|
}
|
|
80776
80777
|
const toStringEncoded = (params, codec) => `${codec.param}=${codec.encode(`${createSearchParams(params)}`)}`;
|
|
80778
|
+
const GRAPH_APP = {
|
|
80779
|
+
QUERY_PARAM: {
|
|
80780
|
+
NODES: `nodes[]`
|
|
80781
|
+
}
|
|
80782
|
+
};
|
|
80777
80783
|
const __viteOptionalPeerDep_mapboxGl_reactMapGl = {};
|
|
80778
80784
|
const __viteOptionalPeerDep_mapboxGl_reactMapGl$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
80779
80785
|
__proto__: null,
|
|
@@ -80813,6 +80819,7 @@ uniform ${i3} ${s4} u_${a3};
|
|
|
80813
80819
|
exports2.FloatingPanelContext = FloatingPanelContext;
|
|
80814
80820
|
exports2.FloatingPanelProvider = FloatingPanelProvider;
|
|
80815
80821
|
exports2.FloppyDiskIcon = FloppyDiskIcon;
|
|
80822
|
+
exports2.GRAPH_APP = GRAPH_APP;
|
|
80816
80823
|
exports2.GridIcon = GridIcon;
|
|
80817
80824
|
exports2.H1 = H1;
|
|
80818
80825
|
exports2.H2 = H2;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { getCodec, type Codec, base64Codec, uriComponentCodec, } from './getCodec/getCodec';
|
|
2
2
|
export { ENCODE_SEARCH_PARAMS_MODES_Schema, type ENCODE_SEARCH_PARAMS_MODES_Type, } from './getCodec/schemaAndTypes';
|
|
3
3
|
export { toStringEncoded, type URLSearchParamsInit, } from './getCodec/toStringEncoded';
|
|
4
|
+
export { GRAPH_APP } from './GraphApp/constants';
|
package/dist/src/export.d.ts
CHANGED
|
@@ -13,4 +13,4 @@ export * from './v1/components/surfaces';
|
|
|
13
13
|
export * from './v1/theme';
|
|
14
14
|
export { Modal, type ModalProps } from './v1/components/utils/index';
|
|
15
15
|
export * from './component-library/Map';
|
|
16
|
-
export { getCodec, type Codec, base64Codec, uriComponentCodec, ENCODE_SEARCH_PARAMS_MODES_Schema, type ENCODE_SEARCH_PARAMS_MODES_Type, toStringEncoded, type URLSearchParamsInit, } from './candidate-packages/utils-lib/src/index';
|
|
16
|
+
export { getCodec, type Codec, base64Codec, uriComponentCodec, ENCODE_SEARCH_PARAMS_MODES_Schema, type ENCODE_SEARCH_PARAMS_MODES_Type, toStringEncoded, type URLSearchParamsInit, GRAPH_APP } from './candidate-packages/utils-lib/src/index';
|
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"url": "https://github.com/telicent-oss/telicent-ds.git"
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
|
-
"version": "0.23.
|
|
10
|
+
"version": "0.23.2",
|
|
11
11
|
"private": false,
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@emotion/react": "^11.10.6",
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
"bump:pre": "yarn bump:prerelease",
|
|
69
69
|
"link-to-local-packages": "./scripts/link-to-local-packages.sh",
|
|
70
70
|
"postinstall": "[ \"$LOCAL_MACHINE\" = \"false\" ] && echo 'Skipping tefe hook-postinstall' || tefe hook-postinstall",
|
|
71
|
+
"local-publish": "yarn build && yarn publish --dry-run --registry http://localhost:4873 --prepatch",
|
|
71
72
|
"prepare": "husky install"
|
|
72
73
|
},
|
|
73
74
|
"peerDependencies": {
|