@telicent-oss/ds 0.18.6 → 0.19.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
@@ -38828,7 +38828,7 @@ const TeliMenuItem = ({
38828
38828
  children: children2,
38829
38829
  ...props
38830
38830
  }) => /* @__PURE__ */ jsx$1(MenuItem, { ...props, children: children2 });
38831
- const AppSwitch = ({
38831
+ const TeliAppSwitch = ({
38832
38832
  apps,
38833
38833
  isLeftAligned,
38834
38834
  ...otherProps
@@ -38903,10 +38903,10 @@ const TeliStandardLayoutHeader = ({
38903
38903
  beta,
38904
38904
  userProfile = null
38905
38905
  }) => /* @__PURE__ */ jsxs(TeliHeader, { className: "teli-standard-layout-header", children: [
38906
- /* @__PURE__ */ jsx$1("div", { className: "start-adornments", children: userProfile && /* @__PURE__ */ jsx$1(AppSwitch, { apps, isLeftAligned: true }) }),
38906
+ /* @__PURE__ */ jsx$1("div", { className: "start-adornments", children: userProfile && /* @__PURE__ */ jsx$1(TeliAppSwitch, { apps, isLeftAligned: true }) }),
38907
38907
  /* @__PURE__ */ jsx$1(TeliBrand, { appName, beta }),
38908
38908
  /* @__PURE__ */ jsxs("div", { className: "end-adornments", children: [
38909
- !userProfile && /* @__PURE__ */ jsx$1(AppSwitch, { apps }),
38909
+ !userProfile && /* @__PURE__ */ jsx$1(TeliAppSwitch, { apps }),
38910
38910
  userProfile
38911
38911
  ] })
38912
38912
  ] });
@@ -55172,14 +55172,78 @@ const ListItemButton2 = (listItemButtonProps) => /* @__PURE__ */ jsx$1(ListItemB
55172
55172
  const ListItemIcon2 = (listItemIconProps) => /* @__PURE__ */ jsx$1(ListItemIcon$1, { ...listItemIconProps });
55173
55173
  const ListItemText2 = (props) => /* @__PURE__ */ jsx$1(ListItemText$1, { ...props });
55174
55174
  const IconButton2 = forwardRef((props, ref) => /* @__PURE__ */ jsx$1(IconButton$1, { ref, ...props }));
55175
+ function _EMOTION_STRINGIFIED_CSS_ERROR__$1() {
55176
+ return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
55177
+ }
55175
55178
  const AppSwitchLibrarySchema = z.object({
55176
55179
  id: z.string(),
55177
55180
  name: z.string(),
55178
55181
  url: z.string(),
55179
55182
  icon: z.string()
55180
55183
  });
55181
- process.env.NODE_ENV === "production" ? {} : {};
55182
- process.env.NODE_ENV === "production" ? {} : {};
55184
+ var _ref$1 = process.env.NODE_ENV === "production" ? {
55185
+ name: "1k1rh22",
55186
+ styles: "width:25px;height:25px"
55187
+ } : {
55188
+ name: "9qz4wy-AppSwitch",
55189
+ styles: "width:25px;height:25px;label:AppSwitch;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3RlbGljZW50LWRzL3RlbGljZW50LWRzL3NyYy92MS9jb21wb25lbnRzL2RhdGEtZGlzcGxheS9BcHBTd2l0Y2gvQXBwU3dpdGNoLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFnRzZEIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL3RlbGljZW50LWRzL3RlbGljZW50LWRzL3NyYy92MS9jb21wb25lbnRzL2RhdGEtZGlzcGxheS9BcHBTd2l0Y2gvQXBwU3dpdGNoLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB6b2QgZnJvbSBcInpvZFwiO1xuaW1wb3J0IE1VSU1lbnUgZnJvbSBcIkBtdWkvbWF0ZXJpYWwvTWVudVwiO1xuaW1wb3J0IE1VSU1lbnVJdGVtIGZyb20gXCJAbXVpL21hdGVyaWFsL01lbnVJdGVtXCI7XG5cbmltcG9ydCB7IFRleHQgfSBmcm9tIFwiLi4vVGV4dC9UZXh0XCI7XG5pbXBvcnQgS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ge1xuICAgICAgICAgIGNvbnN0IHZhbGlkYXRlQXBwc1NjaGVtYSA9IEFwcFN3aXRjaExpYnJhcnlTY2hlbWEuc2FmZVBhcnNlKGFwcCk7XG5cbiAgICAgICAgICBpZiAoIXZhbGlkYXRlQXBwc1NjaGVtYS5zdWNjZXNzKSB7XG4gICAgICAgICAgICBjb25zdCBmb3JtYXR0ZWRFcnJvcnMgPSB2YWxpZGF0ZUFwcHNTY2hlbWEuZXJyb3IuaXNzdWVzLm1hcCgoaXNzdWUpID0+IHtcbiAgICAgICAgICAgICAgcmV0dXJuIGAke2lzc3VlLnBhdGgudG9TdHJpbmcoKS5yZXBsYWNlKFwiLFwiLCBcIiA+IFwiKX06ICR7aXNzdWUubWVzc2FnZX1gO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICBjb25zdCBlcnJvck1zZyA9IGZvcm1hdHRlZEVycm9ycy5qb2luKFwiXFxuXCIpO1xuICAgICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgICAgPEZsZXhCb3gga2V5PXtlcnJvck1zZ30gcm9sZT1cIm1lbnVpdGVtXCI+XG4gICAgICAgICAgICAgICAgPFRleHQ+XG4gICAgICAgICAgICAgICAgICBNaXNjb25maWd1cmF0aW9uIGVycm9yOiBBcHAgU3dpdGNoIGxpYnJhcnkge2FwcD8uaWQgPyBgZm9yIGlkICR7YXBwLmlkfWAgOiBgYXQgaW5kZXggJHtpbmRleH1gfVxuICAgICAgICAgICAgICAgIDwvVGV4dD5cbiAgICAgICAgICAgICAgICA8VGV4dD57ZXJyb3JNc2d9PC9UZXh0PlxuICAgICAgICAgICAgICA8L0ZsZXhCb3g+XG4gICAgICAgICAgICApO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICA8TVVJTWVudUl0ZW1cbiAgICAgICAgICAgICAga2V5PXthcHAuaWR9XG4gICAgICAgICAgICAgIG9uQ2xpY2s9eygpID0+IHtcbiAgICAgICAgICAgICAgICB3aW5kb3cub3BlbihhcHAudXJsLCBcIl9ibGFua1wiKTtcbiAgICAgICAgICAgICAgICBoYW5kbGVDbG9zZSgpO1xuICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICBjb2xvcj1cImluaGVyaXRcIlxuICAgICAgICAgICAgICBzeD17e1xuICAgICAgICAgICAgICAgIG1hcmdpbkxlZnQ6IDEsXG4gICAgICAgICAgICAgICAgbWFyZ2luUmlnaHQ6IDEsXG4gICAgICAgICAgICAgICAgYm9yZGVyUmFkaXVzOiBcIjRweFwiLFxuICAgICAgICAgICAgICAgIGJvcmRlcjogXCIxcHggc29saWQgcmdiYSgwLCAwLCAwLCAwKVwiLFxuICAgICAgICAgICAgICAgIFwiJjpob3ZlclwiOiB7XG4gICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kQ29sb3I6XG4gICAgICAgICAgICAgICAgICAgIHRoZW1lLnBhbGV0dGUubW9kZSA9PT0gXCJkYXJrXCIgPyB0aGVtZS5wYWxldHRlLmJhY2tncm91bmQuZGVmYXVsdCA6IFwicmdiYSgwLCAwLCAwLCAwLjA0KVwiLFxuICAgICAgICAgICAgICAgICAgYm9yZGVyOiBgMXB4IHNvbGlkICR7dGhlbWUucGFsZXR0ZS5wcmltYXJ5Lm1haW59YCxcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICA8TVVJTGlzdEl0ZW1JY29uPlxuICAgICAgICAgICAgICAgIDxpbWcgc3JjPXthcHAuaWNvbn0gYWx0PXtgJHthcHAubmFtZX0gaWNvbmB9IGNzcz17eyB3aWR0aDogMjUsIGhlaWdodDogMjUgfX0gLz5cbiAgICAgICAgICAgICAgPC9NVUlMaXN0SXRlbUljb24+XG4gICAgICAgICAgICAgIDxNVUlMaXN0SXRlbVRleHQ+XG4gICAgICAgICAgICAgICAgPE1VSVR5cG9ncmFwaHlcbiAgICAgICAgICAgICAgICAgIHZhcmlhbnQ9XCJoMVwiXG4gICAgICAgICAgICAgICAgICBzeD17eyBmb250RmFtaWx5OiBcIkZpZ3RyZWVcIiwgZm9udFNpemU6IDE2LCBmb250V2VpZ2h0OiA0MDAsIGNvbG9yOiBcInByaW1hcnlcIiB9fVxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgIHthcHAubmFtZS50b1VwcGVyQ2FzZSgpfVxuICAgICAgICAgICAgICAgIDwvTVVJVHlwb2dyYXBoeT5cbiAgICAgICAgICAgICAgPC9NVUlMaXN0SXRlbVRleHQ+XG4gICAgICAgICAgICA8L01VSU1lbnVJdGVtPlxuICAgICAgICAgICk7XG4gICAgICAgIH0pfVxuICAgICAgPC9NVUlNZW51PlxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgQXBwU3dpdGNoO1xuIl19 */",
55190
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1
55191
+ };
55192
+ const AppSwitch = ({
55193
+ apps
55194
+ }) => {
55195
+ const [anchorEl, setAnchorEl] = React__default.useState(null);
55196
+ const theme = useExtendedTheme();
55197
+ const open = Boolean(anchorEl);
55198
+ const handleClick = (event) => {
55199
+ setAnchorEl(event.currentTarget);
55200
+ };
55201
+ const handleClose = () => {
55202
+ setAnchorEl(null);
55203
+ };
55204
+ return /* @__PURE__ */ jsxs("div", { children: [
55205
+ /* @__PURE__ */ jsx$1(IconButton2, { "aria-label": "app-switch", "aria-controls": open ? "app-switch-menu" : void 0, "aria-haspopup": "true", "aria-expanded": open ? "true" : void 0, onClick: handleClick, color: "primary", children: /* @__PURE__ */ jsx$1(GridIcon, {}) }),
55206
+ /* @__PURE__ */ jsx$1(Menu, { id: "app-switch-menu", anchorEl, open, onClose: handleClose, MenuListProps: {
55207
+ "aria-labelledby": "app-switch-button"
55208
+ }, children: apps.map((app, index) => {
55209
+ const validateAppsSchema = AppSwitchLibrarySchema.safeParse(app);
55210
+ if (!validateAppsSchema.success) {
55211
+ const formattedErrors = validateAppsSchema.error.issues.map((issue) => {
55212
+ return `${issue.path.toString().replace(",", " > ")}: ${issue.message}`;
55213
+ });
55214
+ const errorMsg = formattedErrors.join("\n");
55215
+ return /* @__PURE__ */ jsxs(FlexBox, { role: "menuitem", children: [
55216
+ /* @__PURE__ */ jsxs(Text, { children: [
55217
+ "Misconfiguration error: App Switch library ",
55218
+ (app == null ? void 0 : app.id) ? `for id ${app.id}` : `at index ${index}`
55219
+ ] }),
55220
+ /* @__PURE__ */ jsx$1(Text, { children: errorMsg })
55221
+ ] }, errorMsg);
55222
+ }
55223
+ return /* @__PURE__ */ jsxs(MenuItem, { onClick: () => {
55224
+ window.open(app.url, "_blank");
55225
+ handleClose();
55226
+ }, color: "inherit", sx: {
55227
+ marginLeft: 1,
55228
+ marginRight: 1,
55229
+ borderRadius: "4px",
55230
+ border: "1px solid rgba(0, 0, 0, 0)",
55231
+ "&:hover": {
55232
+ backgroundColor: theme.palette.mode === "dark" ? theme.palette.background.default : "rgba(0, 0, 0, 0.04)",
55233
+ border: `1px solid ${theme.palette.primary.main}`
55234
+ }
55235
+ }, children: [
55236
+ /* @__PURE__ */ jsx$1(ListItemIcon$1, { children: /* @__PURE__ */ jsx$1("img", { src: app.icon, alt: `${app.name} icon`, css: _ref$1 }) }),
55237
+ /* @__PURE__ */ jsx$1(ListItemText$1, { children: /* @__PURE__ */ jsx$1(Typography, { variant: "h1", sx: {
55238
+ fontFamily: "Figtree",
55239
+ fontSize: 16,
55240
+ fontWeight: 400,
55241
+ color: "primary"
55242
+ }, children: app.name.toUpperCase() }) })
55243
+ ] }, app.id);
55244
+ }) })
55245
+ ] });
55246
+ };
55183
55247
  const Chip2 = ({
55184
55248
  variant = "filled",
55185
55249
  ...chipProps
@@ -57727,6 +57791,7 @@ const MiniSearchAutocomplete = forwardRef(function Autocomplete3(props, ref) {
57727
57791
  progressProps,
57728
57792
  renderOption,
57729
57793
  onSearch,
57794
+ onKeyDown,
57730
57795
  freeSolo = true,
57731
57796
  ...autocompleteProps
57732
57797
  } = props;
@@ -57752,8 +57817,8 @@ const MiniSearchAutocomplete = forwardRef(function Autocomplete3(props, ref) {
57752
57817
  }
57753
57818
  }, inputProps: getInputProps(), size: "small", type: "search", sx: {
57754
57819
  width: 360
57755
- }, id: id2, name, error, endAdornment: /* @__PURE__ */ jsx$1(Fragment, { children: /* @__PURE__ */ jsxs(FlexBox, { direction: "row", spacing: 0.5, children: [
57756
- loading ? /* @__PURE__ */ jsx$1(CircularProgress, { size: "20px", ...progressProps }) : /* @__PURE__ */ jsx$1(IconButton2, { size: "small", onClick: onSearch, "aria-label": "search", children: /* @__PURE__ */ jsx$1(SearchIcon, { fontSize: "inherit" }) }),
57820
+ }, id: id2, onKeyDown, name, error, endAdornment: /* @__PURE__ */ jsx$1(Fragment, { children: /* @__PURE__ */ jsxs(FlexBox, { direction: "row", spacing: 0.5, children: [
57821
+ loading ? /* @__PURE__ */ jsx$1(CircularProgress, { id: "loading", size: "20px", ...progressProps }) : /* @__PURE__ */ jsx$1(IconButton2, { size: "small", onClick: onSearch, "aria-label": "search", children: /* @__PURE__ */ jsx$1(SearchIcon, { fontSize: "inherit" }) }),
57757
57822
  endIcon
57758
57823
  ] }) }), placeholder: placeholder || "Search" }),
57759
57824
  anchorEl && /* @__PURE__ */ jsx$1(Popper2, { open: popupOpen, anchorEl, slots: {
@@ -57779,7 +57844,11 @@ const MiniSearchAutocomplete = forwardRef(function Autocomplete3(props, ref) {
57779
57844
  key,
57780
57845
  ...props2
57781
57846
  } = optionProps;
57782
- return /* @__PURE__ */ jsx$1(ListItem$1, { disablePadding: true, ...props2, children: /* @__PURE__ */ jsx$1(ListItemButton$1, { children: /* @__PURE__ */ jsxs(FlexBox, { direction: "row", columnGap: 1, alignItems: "center", children: [
57847
+ return /* @__PURE__ */ jsx$1(ListItem$1, { disablePadding: true, ...props2, children: /* @__PURE__ */ jsx$1(ListItemButton$1, { onClick: (event) => {
57848
+ if (onSearch) {
57849
+ onSearch(event);
57850
+ }
57851
+ }, children: /* @__PURE__ */ jsxs(FlexBox, { direction: "row", columnGap: 1, alignItems: "center", children: [
57783
57852
  option.isRecentSearch ? /* @__PURE__ */ jsx$1(FontAwesomeIcon, { icon: faClockRotateLeft }) : null,
57784
57853
  /* @__PURE__ */ jsx$1(ListItemText$1, { primary: option.label })
57785
57854
  ] }) }) }, `${key}-${index}`);
@@ -79647,6 +79716,7 @@ export {
79647
79716
  SearchResults,
79648
79717
  Skeleton2 as Skeleton,
79649
79718
  TeliAddIcon,
79719
+ TeliAppSwitch,
79650
79720
  TeliAutocomplete,
79651
79721
  TeliBasicLayout,
79652
79722
  TeliBasicMenu,
package/dist/ds.umd.cjs CHANGED
@@ -38846,7 +38846,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
38846
38846
  children: children2,
38847
38847
  ...props
38848
38848
  }) => /* @__PURE__ */ jsx$1(MenuItem, { ...props, children: children2 });
38849
- const AppSwitch = ({
38849
+ const TeliAppSwitch = ({
38850
38850
  apps,
38851
38851
  isLeftAligned,
38852
38852
  ...otherProps
@@ -38921,10 +38921,10 @@ Please use another name.` : formatMuiErrorMessage$1(18));
38921
38921
  beta,
38922
38922
  userProfile = null
38923
38923
  }) => /* @__PURE__ */ jsxs(TeliHeader, { className: "teli-standard-layout-header", children: [
38924
- /* @__PURE__ */ jsx$1("div", { className: "start-adornments", children: userProfile && /* @__PURE__ */ jsx$1(AppSwitch, { apps, isLeftAligned: true }) }),
38924
+ /* @__PURE__ */ jsx$1("div", { className: "start-adornments", children: userProfile && /* @__PURE__ */ jsx$1(TeliAppSwitch, { apps, isLeftAligned: true }) }),
38925
38925
  /* @__PURE__ */ jsx$1(TeliBrand, { appName, beta }),
38926
38926
  /* @__PURE__ */ jsxs("div", { className: "end-adornments", children: [
38927
- !userProfile && /* @__PURE__ */ jsx$1(AppSwitch, { apps }),
38927
+ !userProfile && /* @__PURE__ */ jsx$1(TeliAppSwitch, { apps }),
38928
38928
  userProfile
38929
38929
  ] })
38930
38930
  ] });
@@ -55190,14 +55190,78 @@ Please use another name.` : formatMuiErrorMessage$1(18));
55190
55190
  const ListItemIcon = (listItemIconProps) => /* @__PURE__ */ jsx$1(ListItemIcon$1, { ...listItemIconProps });
55191
55191
  const ListItemText = (props) => /* @__PURE__ */ jsx$1(ListItemText$1, { ...props });
55192
55192
  const IconButton = React$2.forwardRef((props, ref) => /* @__PURE__ */ jsx$1(IconButton$1, { ref, ...props }));
55193
+ function _EMOTION_STRINGIFIED_CSS_ERROR__$1() {
55194
+ return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
55195
+ }
55193
55196
  const AppSwitchLibrarySchema = z.object({
55194
55197
  id: z.string(),
55195
55198
  name: z.string(),
55196
55199
  url: z.string(),
55197
55200
  icon: z.string()
55198
55201
  });
55199
- process.env.NODE_ENV === "production" ? {} : {};
55200
- process.env.NODE_ENV === "production" ? {} : {};
55202
+ var _ref$1 = process.env.NODE_ENV === "production" ? {
55203
+ name: "1k1rh22",
55204
+ styles: "width:25px;height:25px"
55205
+ } : {
55206
+ name: "9qz4wy-AppSwitch",
55207
+ styles: "width:25px;height:25px;label:AppSwitch;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3RlbGljZW50LWRzL3RlbGljZW50LWRzL3NyYy92MS9jb21wb25lbnRzL2RhdGEtZGlzcGxheS9BcHBTd2l0Y2gvQXBwU3dpdGNoLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFnRzZEIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL3RlbGljZW50LWRzL3RlbGljZW50LWRzL3NyYy92MS9jb21wb25lbnRzL2RhdGEtZGlzcGxheS9BcHBTd2l0Y2gvQXBwU3dpdGNoLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tIFwicmV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8VGV4dD57ZXJyb3JNc2d9PC9UZXh0PlxuICAgICAgICAgICAgICA8L0ZsZXhCb3g+XG4gICAgICAgICAgICApO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICA8TVVJTWVudUl0ZW1cbiAgICAgICAgICAgICAga2V5PXthcHAuaWR9XG4gICAgICAgICAgICAgIG9uQ2xpY2s9eygpID0+IHtcbiAgICAgICAgICAgICAgICB3aW5kb3cub3BlbihhcHAudXJsLCBcIl9ibGFua1wiKTtcbiAgICAgICAgICAgICAgICBoYW5kbGVDbG9zZSgpO1xuICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICBjb2xvcj1cImluaGVyaXRcIlxuICAgICAgICAgICAgICBzeD17e1xuICAgICAgICAgICAgICAgIG1hcmdpbkxlZnQ6IDEsXG4gICAgICAgICAgICAgICAgbWFyZ2luUmlnaHQ6IDEsXG4gICAgICAgICAgICAgICAgYm9yZGVyUmFkaXVzOiBcIjRweFwiLFxuICAgICAgICAgICAgICAgIGJvcmRlcjogXCIxcHggc29saWQgcmdiYSgwLCAwLCAwLCAwKVwiLFxuICAgICAgICAgICAgICAgIFwiJjpob3ZlclwiOiB7XG4gICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kQ29sb3I6XG4gICAgICAgICAgICAgICAgICAgIHRoZW1lLnBhbGV0dGUubW9kZSA9PT0gXCJkYXJrXCIgPyB0aGVtZS5wYWxldHRlLmJhY2tncm91bmQuZGVmYXVsdCA6IFwicmdiYSgwLCAwLCAwLCAwLjA0KVwiLFxuICAgICAgICAgICAgICAgICAgYm9yZGVyOiBgMXB4IHNvbGlkICR7dGhlbWUucGFsZXR0ZS5wcmltYXJ5Lm1haW59YCxcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICA8TVVJTGlzdEl0ZW1JY29uPlxuICAgICAgICAgICAgICAgIDxpbWcgc3JjPXthcHAuaWNvbn0gYWx0PXtgJHthcHAubmFtZX0gaWNvbmB9IGNzcz17eyB3aWR0aDogMjUsIGhlaWdodDogMjUgfX0gLz5cbiAgICAgICAgICAgICAgPC9NVUlMaXN0SXRlbUljb24+XG4gICAgICAgICAgICAgIDxNVUlMaXN0SXRlbVRleHQ+XG4gICAgICAgICAgICAgICAgPE1VSVR5cG9ncmFwaHlcbiAgICAgICAgICAgICAgICAgIHZhcmlhbnQ9XCJoMVwiXG4gICAgICAgICAgICAgICAgICBzeD17eyBmb250RmFtaWx5OiBcIkZpZ3RyZWVcIiwgZm9udFNpemU6IDE2LCBmb250V2VpZ2h0OiA0MDAsIGNvbG9yOiBcInByaW1hcnlcIiB9fVxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgIHthcHAubmFtZS50b1VwcGVyQ2FzZSgpfVxuICAgICAgICAgICAgICAgIDwvTVVJVHlwb2dyYXBoeT5cbiAgICAgICAgICAgICAgPC9NVUlMaXN0SXRlbVRleHQ+XG4gICAgICAgICAgICA8L01VSU1lbnVJdGVtPlxuICAgICAgICAgICk7XG4gICAgICAgIH0pfVxuICAgICAgPC9NVUlNZW51PlxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgQXBwU3dpdGNoO1xuIl19 */",
55208
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1
55209
+ };
55210
+ const AppSwitch = ({
55211
+ apps
55212
+ }) => {
55213
+ const [anchorEl, setAnchorEl] = React$2.useState(null);
55214
+ const theme = useExtendedTheme();
55215
+ const open = Boolean(anchorEl);
55216
+ const handleClick = (event) => {
55217
+ setAnchorEl(event.currentTarget);
55218
+ };
55219
+ const handleClose = () => {
55220
+ setAnchorEl(null);
55221
+ };
55222
+ return /* @__PURE__ */ jsxs("div", { children: [
55223
+ /* @__PURE__ */ jsx$1(IconButton, { "aria-label": "app-switch", "aria-controls": open ? "app-switch-menu" : void 0, "aria-haspopup": "true", "aria-expanded": open ? "true" : void 0, onClick: handleClick, color: "primary", children: /* @__PURE__ */ jsx$1(GridIcon, {}) }),
55224
+ /* @__PURE__ */ jsx$1(Menu, { id: "app-switch-menu", anchorEl, open, onClose: handleClose, MenuListProps: {
55225
+ "aria-labelledby": "app-switch-button"
55226
+ }, children: apps.map((app, index) => {
55227
+ const validateAppsSchema = AppSwitchLibrarySchema.safeParse(app);
55228
+ if (!validateAppsSchema.success) {
55229
+ const formattedErrors = validateAppsSchema.error.issues.map((issue) => {
55230
+ return `${issue.path.toString().replace(",", " > ")}: ${issue.message}`;
55231
+ });
55232
+ const errorMsg = formattedErrors.join("\n");
55233
+ return /* @__PURE__ */ jsxs(FlexBox, { role: "menuitem", children: [
55234
+ /* @__PURE__ */ jsxs(Text, { children: [
55235
+ "Misconfiguration error: App Switch library ",
55236
+ (app == null ? void 0 : app.id) ? `for id ${app.id}` : `at index ${index}`
55237
+ ] }),
55238
+ /* @__PURE__ */ jsx$1(Text, { children: errorMsg })
55239
+ ] }, errorMsg);
55240
+ }
55241
+ return /* @__PURE__ */ jsxs(MenuItem, { onClick: () => {
55242
+ window.open(app.url, "_blank");
55243
+ handleClose();
55244
+ }, color: "inherit", sx: {
55245
+ marginLeft: 1,
55246
+ marginRight: 1,
55247
+ borderRadius: "4px",
55248
+ border: "1px solid rgba(0, 0, 0, 0)",
55249
+ "&:hover": {
55250
+ backgroundColor: theme.palette.mode === "dark" ? theme.palette.background.default : "rgba(0, 0, 0, 0.04)",
55251
+ border: `1px solid ${theme.palette.primary.main}`
55252
+ }
55253
+ }, children: [
55254
+ /* @__PURE__ */ jsx$1(ListItemIcon$1, { children: /* @__PURE__ */ jsx$1("img", { src: app.icon, alt: `${app.name} icon`, css: _ref$1 }) }),
55255
+ /* @__PURE__ */ jsx$1(ListItemText$1, { children: /* @__PURE__ */ jsx$1(Typography, { variant: "h1", sx: {
55256
+ fontFamily: "Figtree",
55257
+ fontSize: 16,
55258
+ fontWeight: 400,
55259
+ color: "primary"
55260
+ }, children: app.name.toUpperCase() }) })
55261
+ ] }, app.id);
55262
+ }) })
55263
+ ] });
55264
+ };
55201
55265
  const Chip = ({
55202
55266
  variant = "filled",
55203
55267
  ...chipProps
@@ -57745,6 +57809,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
57745
57809
  progressProps,
57746
57810
  renderOption,
57747
57811
  onSearch,
57812
+ onKeyDown,
57748
57813
  freeSolo = true,
57749
57814
  ...autocompleteProps
57750
57815
  } = props;
@@ -57770,8 +57835,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
57770
57835
  }
57771
57836
  }, inputProps: getInputProps(), size: "small", type: "search", sx: {
57772
57837
  width: 360
57773
- }, id: id2, name, error, endAdornment: /* @__PURE__ */ jsx$1(Fragment, { children: /* @__PURE__ */ jsxs(FlexBox, { direction: "row", spacing: 0.5, children: [
57774
- loading ? /* @__PURE__ */ jsx$1(CircularProgress, { size: "20px", ...progressProps }) : /* @__PURE__ */ jsx$1(IconButton, { size: "small", onClick: onSearch, "aria-label": "search", children: /* @__PURE__ */ jsx$1(SearchIcon, { fontSize: "inherit" }) }),
57838
+ }, id: id2, onKeyDown, name, error, endAdornment: /* @__PURE__ */ jsx$1(Fragment, { children: /* @__PURE__ */ jsxs(FlexBox, { direction: "row", spacing: 0.5, children: [
57839
+ loading ? /* @__PURE__ */ jsx$1(CircularProgress, { id: "loading", size: "20px", ...progressProps }) : /* @__PURE__ */ jsx$1(IconButton, { size: "small", onClick: onSearch, "aria-label": "search", children: /* @__PURE__ */ jsx$1(SearchIcon, { fontSize: "inherit" }) }),
57775
57840
  endIcon
57776
57841
  ] }) }), placeholder: placeholder || "Search" }),
57777
57842
  anchorEl && /* @__PURE__ */ jsx$1(Popper, { open: popupOpen, anchorEl, slots: {
@@ -57797,7 +57862,11 @@ Please use another name.` : formatMuiErrorMessage$1(18));
57797
57862
  key,
57798
57863
  ...props2
57799
57864
  } = optionProps;
57800
- return /* @__PURE__ */ jsx$1(ListItem$1, { disablePadding: true, ...props2, children: /* @__PURE__ */ jsx$1(ListItemButton$1, { children: /* @__PURE__ */ jsxs(FlexBox, { direction: "row", columnGap: 1, alignItems: "center", children: [
57865
+ return /* @__PURE__ */ jsx$1(ListItem$1, { disablePadding: true, ...props2, children: /* @__PURE__ */ jsx$1(ListItemButton$1, { onClick: (event) => {
57866
+ if (onSearch) {
57867
+ onSearch(event);
57868
+ }
57869
+ }, children: /* @__PURE__ */ jsxs(FlexBox, { direction: "row", columnGap: 1, alignItems: "center", children: [
57801
57870
  option.isRecentSearch ? /* @__PURE__ */ jsx$1(FontAwesomeIcon, { icon: faClockRotateLeft }) : null,
57802
57871
  /* @__PURE__ */ jsx$1(ListItemText$1, { primary: option.label })
57803
57872
  ] }) }) }, `${key}-${index}`);
@@ -79669,6 +79738,7 @@ uniform ${i3} ${s4} u_${a3};
79669
79738
  exports2.SearchResults = SearchResults;
79670
79739
  exports2.Skeleton = Skeleton;
79671
79740
  exports2.TeliAddIcon = TeliAddIcon;
79741
+ exports2.TeliAppSwitch = TeliAppSwitch;
79672
79742
  exports2.TeliAutocomplete = TeliAutocomplete;
79673
79743
  exports2.TeliBasicLayout = TeliBasicLayout;
79674
79744
  exports2.TeliBasicMenu = TeliBasicMenu;
@@ -13,5 +13,5 @@ export interface AppSwitchProps extends React.HTMLAttributes<HTMLButtonElement>
13
13
  isLeftAligned?: boolean;
14
14
  className?: string;
15
15
  }
16
- declare const AppSwitch: FC<AppSwitchProps>;
17
- export default AppSwitch;
16
+ declare const TeliAppSwitch: FC<AppSwitchProps>;
17
+ export default TeliAppSwitch;
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { TeliBrandProps } from '../TeliBrand/TeliBrand';
3
- import { AppSwitchProps } from '../AppSwitch/AppSwitch';
3
+ import { AppSwitchProps } from '../TeliAppSwitch/TeliAppSwitch';
4
4
 
5
5
  export interface TeliStandardLayoutHeaderProps {
6
6
  /**
@@ -1,4 +1,4 @@
1
- export { default as AppSwitch } from './AppSwitch/AppSwitch';
1
+ export { default as TeliAppSwitch } from './TeliAppSwitch/TeliAppSwitch';
2
2
  export { default as DependenciesTable } from './DependenciesTable/DependenciesTable';
3
3
  export { default as TeliAutocomplete } from './TeliAutocomplete/TeliAutocomplete';
4
4
  export { default as License } from './License/License';
@@ -15,7 +15,7 @@ export { default as TeliSwitch } from './TeliSwitch/TeliSwitch';
15
15
  export { default as TeliTextField } from './TeliTextField/TeliTextField';
16
16
  export { default as TeliInput } from './TeliTextField/TeliInput';
17
17
  export { default as TeliToolbar } from './TeliToolbar/TeliToolbar';
18
- export { default as TeliTypeIcon, type TeliTypeIconProps, } from './TeliTypeIcon/TeliTypeIcon';
18
+ export { default as TeliTypeIcon, type TeliTypeIconProps } from './TeliTypeIcon/TeliTypeIcon';
19
19
  export { default as TeliTypeahead } from './TeliTypeahead/TeliTypeahead';
20
20
  export { default as TeliUserProfile } from './TeliUserProfile/TeliUserProfile';
21
21
  export { default as OntologyHierarchy } from './OntologyHierarchy/OntologyHierarchy';
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { default as AppSwitch } from './AppSwitch';
3
+
4
+ declare const meta: Meta<typeof AppSwitch>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof AppSwitch>;
7
+ export declare const AppSwitchExample: Story;
@@ -3,6 +3,7 @@ export * from './FontAwesomeIcons';
3
3
  export * from './Text/Text';
4
4
  export * from './List/List';
5
5
  export { AppSwitchLibrarySchema } from './AppSwitch/AppSwitch';
6
+ export { default as AppSwitch } from './AppSwitch/AppSwitch';
6
7
  export type { AppSwitchLibraryType } from './AppSwitch/AppSwitch';
7
8
  export { default as Chip } from './Chip/Chip';
8
9
  export type { ChipProps } from './Chip/Chip';
@@ -51,6 +51,12 @@ export interface MiniSearchAutocompleteProps<Value extends AutocompleteOption =
51
51
  * `(event: React.MouseEvent<HTMLButtonElement>) => void;`
52
52
  */
53
53
  onSearch?: React.MouseEventHandler<HTMLButtonElement>;
54
+ /**
55
+ * Callback fired when the a key is pressed
56
+ *
57
+ * `(event: React.KeyboardEvent<HTMLButtonElement>) => void;`
58
+ */
59
+ onKeyDown?: React.KeyboardEventHandler<HTMLInputElement>;
54
60
  }
55
61
  declare const MiniSearchAutocomplete: React.ForwardRefExoticComponent<MiniSearchAutocompleteProps<AutocompleteOption, boolean, boolean, boolean> & React.RefAttributes<HTMLDivElement>>;
56
62
  export default MiniSearchAutocomplete;
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.18.6",
10
+ "version": "0.19.1",
11
11
  "private": false,
12
12
  "dependencies": {
13
13
  "@emotion/react": "^11.10.6",