@telicent-oss/ds 0.20.0 → 0.21.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/dist/ds.js +11 -8
- package/dist/ds.umd.cjs +11 -8
- package/dist/src/v1/components/data-display/AppSwitch/AppSwitch.stories.d.ts +6 -0
- package/dist/src/v1/components/surfaces/AppBar/AppBar.d.ts +1 -0
- package/dist/src/v1/components/surfaces/AppBar/AppBar.stories.d.ts +2 -0
- package/package.json +1 -1
package/dist/ds.js
CHANGED
|
@@ -54987,7 +54987,8 @@ const AppBar2 = ({
|
|
|
54987
54987
|
endChild,
|
|
54988
54988
|
version,
|
|
54989
54989
|
onClick,
|
|
54990
|
-
isElevated
|
|
54990
|
+
isElevated,
|
|
54991
|
+
disableBrand
|
|
54991
54992
|
}) => {
|
|
54992
54993
|
const theme = useExtendedTheme();
|
|
54993
54994
|
return /* @__PURE__ */ jsxs(AppBar$1, { color: "inherit", position: position2, sx: {
|
|
@@ -55007,13 +55008,15 @@ const AppBar2 = ({
|
|
|
55007
55008
|
transform: "translate(-50%, -50%);",
|
|
55008
55009
|
cursor: onClick ? "pointer" : "default"
|
|
55009
55010
|
}, onClick, children: [
|
|
55010
|
-
/* @__PURE__ */
|
|
55011
|
-
|
|
55012
|
-
|
|
55013
|
-
|
|
55014
|
-
|
|
55015
|
-
|
|
55016
|
-
|
|
55011
|
+
!disableBrand && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
55012
|
+
/* @__PURE__ */ jsx$1(TelicentMark, { fontSize: "large" }),
|
|
55013
|
+
/* @__PURE__ */ jsx$1(TelicentBrand, {}),
|
|
55014
|
+
/* @__PURE__ */ jsx$1(Typography, { variant: "h1", color: "primary", sx: {
|
|
55015
|
+
fontFamily: "Figtree",
|
|
55016
|
+
fontSize: 40,
|
|
55017
|
+
fontWeight: 400
|
|
55018
|
+
}, children: appName == null ? void 0 : appName.toUpperCase() })
|
|
55019
|
+
] }),
|
|
55017
55020
|
version && /* @__PURE__ */ jsx$1(Box, { position: "absolute", bottom: 5, fontSize: 12, left: "calc(100% - 12px)", paddingInline: 0.5, sx: {
|
|
55018
55021
|
color: theme.palette.secondary.contrastText,
|
|
55019
55022
|
whiteSpace: "nowrap",
|
package/dist/ds.umd.cjs
CHANGED
|
@@ -55005,7 +55005,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
55005
55005
|
endChild,
|
|
55006
55006
|
version,
|
|
55007
55007
|
onClick,
|
|
55008
|
-
isElevated
|
|
55008
|
+
isElevated,
|
|
55009
|
+
disableBrand
|
|
55009
55010
|
}) => {
|
|
55010
55011
|
const theme = useExtendedTheme();
|
|
55011
55012
|
return /* @__PURE__ */ jsxs(AppBar$1, { color: "inherit", position: position2, sx: {
|
|
@@ -55025,13 +55026,15 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
55025
55026
|
transform: "translate(-50%, -50%);",
|
|
55026
55027
|
cursor: onClick ? "pointer" : "default"
|
|
55027
55028
|
}, onClick, children: [
|
|
55028
|
-
/* @__PURE__ */
|
|
55029
|
-
|
|
55030
|
-
|
|
55031
|
-
|
|
55032
|
-
|
|
55033
|
-
|
|
55034
|
-
|
|
55029
|
+
!disableBrand && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
55030
|
+
/* @__PURE__ */ jsx$1(TelicentMark, { fontSize: "large" }),
|
|
55031
|
+
/* @__PURE__ */ jsx$1(TelicentBrand, {}),
|
|
55032
|
+
/* @__PURE__ */ jsx$1(Typography, { variant: "h1", color: "primary", sx: {
|
|
55033
|
+
fontFamily: "Figtree",
|
|
55034
|
+
fontSize: 40,
|
|
55035
|
+
fontWeight: 400
|
|
55036
|
+
}, children: appName == null ? void 0 : appName.toUpperCase() })
|
|
55037
|
+
] }),
|
|
55035
55038
|
version && /* @__PURE__ */ jsx$1(Box, { position: "absolute", bottom: 5, fontSize: 12, left: "calc(100% - 12px)", paddingInline: 0.5, sx: {
|
|
55036
55039
|
color: theme.palette.secondary.contrastText,
|
|
55037
55040
|
whiteSpace: "nowrap",
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
2
|
import { default as AppSwitch } from './AppSwitch';
|
|
3
3
|
|
|
4
|
+
export declare const appList: {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
url: string;
|
|
8
|
+
icon: string;
|
|
9
|
+
}[];
|
|
4
10
|
declare const meta: Meta<typeof AppSwitch>;
|
|
5
11
|
export default meta;
|
|
6
12
|
type Story = StoryObj<typeof AppSwitch>;
|
|
@@ -9,3 +9,5 @@ export declare const WithAppName: Story;
|
|
|
9
9
|
export declare const WithUserProfile: Story;
|
|
10
10
|
export declare const WithVersionNumber: Story;
|
|
11
11
|
export declare const WithSignOutButton: Story;
|
|
12
|
+
export declare const WithAppSwitch: Story;
|
|
13
|
+
export declare const WithNoBrand: Story;
|