@vanillabp/bc-ui 0.0.5 → 0.0.6

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.
@@ -1,4 +1,4 @@
1
- import { Column, TranslationFunction, DefaultListCellProps } from '@vanillabp/bc-shared';
1
+ import { Column, Person, TranslationFunction, DefaultListCellProps } from '@vanillabp/bc-shared';
2
2
  import { FC } from 'react';
3
3
  import { ListItemData, ListItem } from './SearchableAndSortableUpdatingList.js';
4
4
  import { ModuleDefinition, Module } from '../utils/module-federation.js';
@@ -13,6 +13,7 @@ interface ListCellParameters<T extends ListItemData & ModuleDefinition> {
13
13
  modulesAvailable: Module[];
14
14
  column: Column;
15
15
  currentLanguage: string;
16
+ currentUser?: Person;
16
17
  nameOfList?: string;
17
18
  typeOfItem: TypeOfItem;
18
19
  item: ListItem<T>;
@@ -21,6 +22,6 @@ interface ListCellParameters<T extends ListItemData & ModuleDefinition> {
21
22
  showUnreadAsBold?: boolean;
22
23
  selectItem: (item: ListItem<T>, select: boolean) => void;
23
24
  }
24
- declare const ListCell: <T extends ListItemData & ModuleDefinition>({ modulesAvailable, column, currentLanguage, nameOfList, typeOfItem, item, t, showUnreadAsBold, defaultListCell, selectItem, }: ListCellParameters<T>) => JSX.Element;
25
+ declare const ListCell: <T extends ListItemData & ModuleDefinition>({ modulesAvailable, column, currentLanguage, currentUser, nameOfList, typeOfItem, item, t, showUnreadAsBold, defaultListCell, selectItem, }: ListCellParameters<T>) => JSX.Element;
25
26
 
26
27
  export { ListCell, TypeOfItem };
@@ -19,6 +19,7 @@ const ListCell = ({
19
19
  modulesAvailable,
20
20
  column,
21
21
  currentLanguage,
22
+ currentUser,
22
23
  nameOfList,
23
24
  typeOfItem,
24
25
  item,
@@ -107,6 +108,7 @@ const ListCell = ({
107
108
  column,
108
109
  showUnreadAsBold,
109
110
  currentLanguage,
111
+ currentUser,
110
112
  defaultCell: defaultListCell,
111
113
  nameOfList,
112
114
  isPhone,
@@ -1,13 +1,13 @@
1
1
  import React from 'react';
2
2
  import { SearchQuery } from '@vanillabp/bc-official-gui-client';
3
- import { ShowLoadingIndicatorFunction, GuiSseHook, TranslationFunction, DefaultListHeaderAwareProps } from '@vanillabp/bc-shared';
3
+ import { ShowLoadingIndicatorFunction, GuiSseHook, TranslationFunction, Person, DefaultListHeaderAwareProps } from '@vanillabp/bc-shared';
4
4
  import { BackgroundType, ColorType } from 'grommet/utils';
5
5
  import { OpenTaskFunction, NavigateToWorkflowFunction } from '../types/navigate.js';
6
6
  import { TasklistApiHook } from '../types/apis.js';
7
7
  import { ListOfTasksHeaderFooterFunction } from '../types/lists.js';
8
8
  import '@vanillabp/bc-official-gui-client/dist/models/UserTasks';
9
9
 
10
- declare const ListOfTasks: ({ showLoadingIndicator, useGuiSse, useTasklistApi, openTask, navigateToWorkflow, t, currentLanguage, defaultSort, defaultSortAscending, name, columns, minWidthOfColumns, minWidthOfAutoColumn, children, headerHeight, footer, footerHeight, rowSeparator, applyBackgroundColor, showColumnHeaders, excludeIdColumn, columnHeader, columnHeaderBackground, columnHeaderSeparator, defaultSearchQueries, }: {
10
+ declare const ListOfTasks: ({ showLoadingIndicator, useGuiSse, useTasklistApi, openTask, navigateToWorkflow, t, currentLanguage, currentUser, defaultSort, defaultSortAscending, name, columns, minWidthOfColumns, minWidthOfAutoColumn, children, headerHeight, footer, footerHeight, rowSeparator, applyBackgroundColor, showColumnHeaders, excludeIdColumn, columnHeader, columnHeaderBackground, columnHeaderSeparator, defaultSearchQueries, }: {
11
11
  showLoadingIndicator: ShowLoadingIndicatorFunction;
12
12
  useGuiSse: GuiSseHook;
13
13
  useTasklistApi: TasklistApiHook;
@@ -15,6 +15,7 @@ declare const ListOfTasks: ({ showLoadingIndicator, useGuiSse, useTasklistApi, o
15
15
  navigateToWorkflow: NavigateToWorkflowFunction;
16
16
  t: TranslationFunction;
17
17
  currentLanguage: string;
18
+ currentUser?: Person | undefined;
18
19
  defaultSort?: string | undefined;
19
20
  defaultSortAscending?: boolean | undefined;
20
21
  name?: string | undefined;
@@ -5,10 +5,9 @@ import {
5
5
  __spreadValues
6
6
  } from "../chunk-YH4NJHER.js";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
- import { useCallback, useEffect, useMemo, useRef, useState } from "react";
8
+ import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
9
9
  import { Box, CheckBox, Drop, Grid, Grommet, Text, TextInput, Tip } from "grommet";
10
10
  import {
11
- backgroundColorAccordingToStatus,
12
11
  debounce,
13
12
  DefaultListCell,
14
13
  Link,
@@ -27,10 +26,21 @@ import {
27
26
  TypeOfItem,
28
27
  useFederationModules
29
28
  } from "../index.js";
30
- import { Blank, ContactInfo, FormTrash, FormView, Hide, Refresh, User as UserIcon } from "grommet-icons";
29
+ import {
30
+ Blank,
31
+ CaretLeftFill,
32
+ ContactInfo,
33
+ FormNext,
34
+ FormPrevious,
35
+ FormTrash,
36
+ FormView,
37
+ Hide,
38
+ Refresh,
39
+ User as UserIcon
40
+ } from "grommet-icons";
31
41
  import { User } from "./User.js";
32
42
  import { AUTO_SIZE_COLUMN, ListColumnHeader } from "./ListColumnHeader.js";
33
- import { useTheme } from "styled-components";
43
+ import styled, { useTheme } from "styled-components";
34
44
  const updateModuleDefinitions = (userTasks, existingModuleDefinitions, setModulesOfTasks, existingUserTaskDefinitions, setDefinitionsOfTasks) => {
35
45
  const newModuleDefinitions = userTasks.filter((userTask) => userTask.workflowModuleId !== void 0).reduce((moduleDefinitions, userTask) => moduleDefinitions.includes(userTask) ? moduleDefinitions : moduleDefinitions.concat(userTask), existingModuleDefinitions || []);
36
46
  if ((existingModuleDefinitions == null ? void 0 : existingModuleDefinitions.length) !== newModuleDefinitions.length) {
@@ -768,33 +778,87 @@ const DefaultHeader = ({
768
778
  }
769
779
  );
770
780
  };
781
+ const StyledIcon = styled.span`
782
+ line-height: 0;
783
+ * > svg {
784
+ overflow: visible;
785
+ }
786
+ * > svg > path {
787
+ stroke-width: ${(props) => props.strike};
788
+ }
789
+ `;
771
790
  const CandidateUsersListCell = ({
772
791
  t,
773
- item
792
+ item,
793
+ currentUser,
794
+ showUnreadAsBold
774
795
  }) => {
775
796
  var _a, _b;
776
797
  const targetRef = useRef(null);
777
798
  const [dropIdentifier, setDropIdentifier] = useState(void 0);
778
- const background = backgroundColorAccordingToStatus(item);
799
+ const color = textColorAccordingToStatus(item);
779
800
  return /* @__PURE__ */ jsx(
780
801
  StyledListCell,
781
802
  {
782
- background,
783
803
  align: "center",
784
804
  children: item.data.candidateUsers && ((_a = item.data.candidateUsers) == null ? void 0 : _a.length) > 0 ? /* @__PURE__ */ jsxs(Fragment, { children: [
785
- /* @__PURE__ */ jsx(
805
+ /* @__PURE__ */ jsx(StyledIcon, { strike: showUnreadAsBold && item.read === void 0 ? 3 : 2, children: /* @__PURE__ */ jsxs(
786
806
  Box,
787
807
  {
788
- onMouseEnter: () => setDropIdentifier(item.id),
789
- ref: targetRef,
790
- children: /* @__PURE__ */ jsx(ContactInfo, {})
808
+ style: { position: "relative" },
809
+ direction: "row",
810
+ align: "center",
811
+ margin: { left: "0.75rem" },
812
+ justify: "center",
813
+ children: [
814
+ currentUser && !item.data.assignee && item.data.candidateUsers.findIndex((person) => person.id === (currentUser == null ? void 0 : currentUser.id)) !== -1 ? /* @__PURE__ */ jsx(
815
+ CaretLeftFill,
816
+ {
817
+ onClick: item.data.claim,
818
+ style: { position: "absolute", left: "-90%" },
819
+ size: "1.8rem",
820
+ color
821
+ }
822
+ ) : currentUser && (!item.data.assignee || item.data.assignee.id !== currentUser.id) && item.data.candidateUsers.findIndex((person) => person.id === (currentUser == null ? void 0 : currentUser.id)) !== -1 ? /* @__PURE__ */ jsx(
823
+ FormPrevious,
824
+ {
825
+ onClick: item.data.claim,
826
+ style: { position: "absolute", left: "-75%" },
827
+ size: "1.2rem",
828
+ color
829
+ }
830
+ ) : currentUser && item.data.assignee && item.data.assignee.id === (currentUser == null ? void 0 : currentUser.id) && item.data.candidateUsers.findIndex((person) => person.id === (currentUser == null ? void 0 : currentUser.id)) !== -1 ? /* @__PURE__ */ jsx(
831
+ FormNext,
832
+ {
833
+ onClick: item.data.unclaim,
834
+ style: { position: "absolute", right: "90%" },
835
+ size: "1.2rem",
836
+ color
837
+ }
838
+ ) : void 0,
839
+ /* @__PURE__ */ jsx(
840
+ Box,
841
+ {
842
+ onMouseEnter: () => setDropIdentifier(item.id),
843
+ ref: targetRef,
844
+ children: /* @__PURE__ */ jsx(
845
+ ContactInfo,
846
+ {
847
+ color
848
+ }
849
+ )
850
+ }
851
+ )
852
+ ]
791
853
  }
792
- ),
854
+ ) }),
793
855
  dropIdentifier && dropIdentifier === item.id && /* @__PURE__ */ jsx(
794
856
  Drop,
795
857
  {
796
858
  inline: true,
797
859
  stretch: true,
860
+ onEsc: () => setDropIdentifier(void 0),
861
+ onClickOutside: () => setDropIdentifier(void 0),
798
862
  round: "xsmall",
799
863
  onMouseLeave: () => setDropIdentifier(void 0),
800
864
  target: targetRef,
@@ -807,9 +871,16 @@ const CandidateUsersListCell = ({
807
871
  style: { whiteSpace: "nowrap" },
808
872
  tip: { content: /* @__PURE__ */ jsx(UserDetailsBox, { user, t }) },
809
873
  children: (_b2 = (_a2 = user.displayShort) != null ? _a2 : user.email) != null ? _b2 : user.id
810
- }
874
+ },
875
+ user.id
811
876
  ),
812
- /* @__PURE__ */ jsx(FormTrash, { onClick: () => item.data.unassign(user.id) })
877
+ /* @__PURE__ */ jsx(
878
+ FormTrash,
879
+ {
880
+ onClick: () => item.data.unassign(user.id)
881
+ },
882
+ user.id
883
+ )
813
884
  ] });
814
885
  }) })
815
886
  }
@@ -821,24 +892,20 @@ const CandidateUsersListCell = ({
821
892
  const SelectDefaultListCell = ({
822
893
  item,
823
894
  selectItem
824
- }) => {
825
- const background = backgroundColorAccordingToStatus(item);
826
- return /* @__PURE__ */ jsx(
827
- StyledListCell,
828
- {
829
- background,
830
- align: "center",
831
- children: /* @__PURE__ */ jsx(
832
- CheckBox,
833
- {
834
- id: item.id,
835
- checked: item.selected,
836
- onChange: (event) => selectItem(event.currentTarget.checked)
837
- }
838
- )
839
- }
840
- );
841
- };
895
+ }) => /* @__PURE__ */ jsx(
896
+ StyledListCell,
897
+ {
898
+ align: "center",
899
+ children: /* @__PURE__ */ jsx(
900
+ CheckBox,
901
+ {
902
+ id: item.id,
903
+ checked: item.selected,
904
+ onChange: (event) => selectItem(event.currentTarget.checked)
905
+ }
906
+ )
907
+ }
908
+ );
842
909
  const TitleDefaultListCell = ({
843
910
  item,
844
911
  currentLanguage
@@ -850,13 +917,11 @@ const TitleDefaultListCell = ({
850
917
  } else {
851
918
  title = item.data["title"][titleLanguages[0]];
852
919
  }
853
- const background = backgroundColorAccordingToStatus(item);
854
920
  const text = textColorAccordingToStatus(item);
855
921
  return /* @__PURE__ */ jsx(
856
922
  StyledListCell,
857
923
  {
858
924
  align: "left",
859
- background,
860
925
  children: /* @__PURE__ */ jsx(
861
926
  Text,
862
927
  {
@@ -875,13 +940,172 @@ const TitleDefaultListCell = ({
875
940
  }
876
941
  );
877
942
  };
878
- const UserTaskDefaultListCell = (_a) => {
879
- var _b = _a, { column } = _b, props = __objRest(_b, ["column"]);
943
+ const AssigneeDefaultListCell = memo((_a) => {
944
+ var _b = _a, {
945
+ item,
946
+ showUnreadAsBold,
947
+ t,
948
+ currentUser
949
+ } = _b, props = __objRest(_b, [
950
+ "item",
951
+ "showUnreadAsBold",
952
+ "t",
953
+ "currentUser"
954
+ ]);
955
+ var _a2, _b2, _c;
956
+ const text = textColorAccordingToStatus(item);
957
+ const value = item.data.assignee;
958
+ const targetRef = useRef(null);
959
+ const [dropIdentifier, setDropIdentifier] = useState(void 0);
960
+ useEffect(() => {
961
+ if (!dropIdentifier) {
962
+ return;
963
+ }
964
+ const moveHandler = (event) => {
965
+ if (event.currentTarget !== void 0 && targetRef.current !== void 0) {
966
+ const clientRect = targetRef.current.getBoundingClientRect();
967
+ if (event.clientY >= clientRect.top && event.clientX >= clientRect.left && event.clientY <= clientRect.bottom && event.clientX <= clientRect.right) {
968
+ return;
969
+ }
970
+ }
971
+ setDropIdentifier(void 0);
972
+ };
973
+ window.addEventListener("mousemove", moveHandler);
974
+ return () => {
975
+ window.removeEventListener("mousemove", moveHandler);
976
+ };
977
+ }, [dropIdentifier, setDropIdentifier]);
978
+ return /* @__PURE__ */ jsx(
979
+ StyledListCell,
980
+ {
981
+ align: "left",
982
+ children: /* @__PURE__ */ jsxs(
983
+ Box,
984
+ {
985
+ style: { position: "relative" },
986
+ fill: true,
987
+ direction: "row",
988
+ justify: "between",
989
+ children: [
990
+ /* @__PURE__ */ jsxs(
991
+ Box,
992
+ {
993
+ direction: "row",
994
+ align: "center",
995
+ children: [
996
+ /* @__PURE__ */ jsx(
997
+ Box,
998
+ {
999
+ height: "1rem",
1000
+ border: (currentUser == null ? void 0 : currentUser.id) === (value == null ? void 0 : value.id) ? [{ side: "left", size: "0.15rem", color: text }] : void 0,
1001
+ children: "\xA0"
1002
+ }
1003
+ ),
1004
+ /* @__PURE__ */ jsx(
1005
+ Text,
1006
+ __spreadProps(__spreadValues({
1007
+ truncate: true,
1008
+ color: text,
1009
+ weight: showUnreadAsBold && item.read === void 0 ? "bold" : "normal",
1010
+ tip: { content: /* @__PURE__ */ jsx(UserDetailsBox, { user: value, t }) }
1011
+ }, props), {
1012
+ children: value === void 0 ? void 0 : (_b2 = (_a2 = value.displayShort) != null ? _a2 : value.email) != null ? _b2 : value.id
1013
+ })
1014
+ )
1015
+ ]
1016
+ }
1017
+ ),
1018
+ /* @__PURE__ */ jsx(
1019
+ Box,
1020
+ {
1021
+ ref: targetRef,
1022
+ width: "1.75rem",
1023
+ height: "1.75rem",
1024
+ onMouseEnter: () => setDropIdentifier(item.id),
1025
+ style: { position: "absolute", right: "0", top: "-0.1rem" },
1026
+ children: dropIdentifier && dropIdentifier === item.id && (currentUser && ((_c = item.data.assignee) == null ? void 0 : _c.id) == (currentUser == null ? void 0 : currentUser.id) ? /* @__PURE__ */ jsx(
1027
+ Box,
1028
+ {
1029
+ onClick: item.data.unclaim,
1030
+ focusIndicator: false,
1031
+ direction: "row",
1032
+ background: "white",
1033
+ elevation: "small",
1034
+ pad: "0.25rem",
1035
+ round: { size: "0.4rem" },
1036
+ children: /* @__PURE__ */ jsx(
1037
+ Tip,
1038
+ {
1039
+ content: t("unclaim_task"),
1040
+ children: /* @__PURE__ */ jsxs(
1041
+ Box,
1042
+ {
1043
+ style: { position: "relative" },
1044
+ children: [
1045
+ /* @__PURE__ */ jsx(
1046
+ UserIcon,
1047
+ {
1048
+ size: "1.2rem",
1049
+ color: text
1050
+ }
1051
+ ),
1052
+ /* @__PURE__ */ jsx(
1053
+ Blank,
1054
+ {
1055
+ size: "1.2rem",
1056
+ style: { position: "absolute", top: "0", left: "0" },
1057
+ color: text,
1058
+ children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx("line", { x1: "24", y1: "4", x2: "4", y2: "24", strokeWidth: "2" }) })
1059
+ }
1060
+ )
1061
+ ]
1062
+ }
1063
+ )
1064
+ }
1065
+ )
1066
+ }
1067
+ ) : /* @__PURE__ */ jsx(
1068
+ Box,
1069
+ {
1070
+ onClick: item.data.claim,
1071
+ focusIndicator: false,
1072
+ direction: "row",
1073
+ background: "white",
1074
+ elevation: "small",
1075
+ pad: "0.25rem",
1076
+ round: { size: "0.4rem" },
1077
+ children: /* @__PURE__ */ jsx(
1078
+ Tip,
1079
+ {
1080
+ content: t("claim_task"),
1081
+ children: /* @__PURE__ */ jsx(
1082
+ UserIcon,
1083
+ {
1084
+ size: "1.2rem",
1085
+ color: text
1086
+ }
1087
+ )
1088
+ }
1089
+ )
1090
+ }
1091
+ ))
1092
+ }
1093
+ )
1094
+ ]
1095
+ }
1096
+ )
1097
+ }
1098
+ );
1099
+ });
1100
+ const UserTaskDefaultListCell = (_c) => {
1101
+ var _d = _c, { column } = _d, props = __objRest(_d, ["column"]);
880
1102
  let Cell;
881
1103
  if (column.path === "id") {
882
1104
  Cell = SelectDefaultListCell;
883
1105
  } else if (column.path === "candidateUsers") {
884
1106
  Cell = CandidateUsersListCell;
1107
+ } else if (column.path === "assignee") {
1108
+ Cell = AssigneeDefaultListCell;
885
1109
  } else if (column.path === "title") {
886
1110
  Cell = TitleDefaultListCell;
887
1111
  } else {
@@ -902,6 +1126,7 @@ const ListOfTasks = ({
902
1126
  navigateToWorkflow,
903
1127
  t,
904
1128
  currentLanguage,
1129
+ currentUser,
905
1130
  defaultSort,
906
1131
  defaultSortAscending = true,
907
1132
  name,
@@ -1168,6 +1393,7 @@ const ListOfTasks = ({
1168
1393
  modulesAvailable: modules,
1169
1394
  column,
1170
1395
  currentLanguage,
1396
+ currentUser,
1171
1397
  nameOfList: name,
1172
1398
  typeOfItem: TypeOfItem.TaskList,
1173
1399
  showUnreadAsBold: true,
@@ -1,13 +1,13 @@
1
1
  import { FC } from 'react';
2
2
  import { SearchQuery } from '@vanillabp/bc-official-gui-client';
3
- import { ShowLoadingIndicatorFunction, GuiSseHook, DefaultListHeaderAwareProps, TranslationFunction } from '@vanillabp/bc-shared';
3
+ import { ShowLoadingIndicatorFunction, GuiSseHook, Person, DefaultListHeaderAwareProps, TranslationFunction } from '@vanillabp/bc-shared';
4
4
  import { BackgroundType, ColorType } from 'grommet/utils';
5
5
  import { OpenTaskFunction, NavigateToWorkflowFunction } from '../types/navigate.js';
6
6
  import { WorkflowlistApiHook, TasklistApiHook } from '../types/apis.js';
7
7
  import { ListOfWorkflowsHeaderFooterFunction } from '../types/lists.js';
8
8
  import '@vanillabp/bc-official-gui-client/dist/models/UserTasks';
9
9
 
10
- declare const ListOfWorkflows: ({ showLoadingIndicator, useGuiSse, useWorkflowlistApi, useTasklistApi, openTask, navigateToWorkflow, currentLanguage, defaultSort, defaultSortAscending, name, minWidthOfColumns, minWidthOfAutoColumn, columns, children, headerHeight, footer, footerHeight, t, rowSeparator, applyBackgroundColor, showColumnHeaders, excludeIdColumn, columnHeader, columnHeaderBackground, columnHeaderSeparator, defaultSearchQueries, }: {
10
+ declare const ListOfWorkflows: ({ showLoadingIndicator, useGuiSse, useWorkflowlistApi, useTasklistApi, openTask, navigateToWorkflow, currentLanguage, currentUser, defaultSort, defaultSortAscending, name, minWidthOfColumns, minWidthOfAutoColumn, columns, children, headerHeight, footer, footerHeight, t, rowSeparator, applyBackgroundColor, showColumnHeaders, excludeIdColumn, columnHeader, columnHeaderBackground, columnHeaderSeparator, defaultSearchQueries, }: {
11
11
  showLoadingIndicator: ShowLoadingIndicatorFunction;
12
12
  useGuiSse: GuiSseHook;
13
13
  useWorkflowlistApi: WorkflowlistApiHook;
@@ -15,6 +15,7 @@ declare const ListOfWorkflows: ({ showLoadingIndicator, useGuiSse, useWorkflowli
15
15
  openTask: OpenTaskFunction;
16
16
  navigateToWorkflow: NavigateToWorkflowFunction;
17
17
  currentLanguage: string;
18
+ currentUser?: Person | undefined;
18
19
  defaultSort?: string | undefined;
19
20
  defaultSortAscending?: boolean | undefined;
20
21
  name?: string | undefined;
@@ -429,6 +429,7 @@ const ListOfWorkflows = ({
429
429
  openTask,
430
430
  navigateToWorkflow,
431
431
  currentLanguage,
432
+ currentUser,
432
433
  defaultSort,
433
434
  defaultSortAscending = true,
434
435
  name,
@@ -685,6 +686,7 @@ const ListOfWorkflows = ({
685
686
  modulesAvailable: modules,
686
687
  column,
687
688
  currentLanguage,
689
+ currentUser,
688
690
  nameOfList: name,
689
691
  typeOfItem: TypeOfItem.WorkflowList,
690
692
  showUnreadAsBold: false,
@@ -65,6 +65,9 @@ const reloadData = (reloadItems, setItems, items, updatedItemsIds, initialTimest
65
65
  result2.number = index + 1;
66
66
  anyUpdate = true;
67
67
  }
68
+ if (newItem !== void 0 && (oldItem == null ? void 0 : oldItem.selected)) {
69
+ newItem.selected = oldItem == null ? void 0 : oldItem.selected;
70
+ }
68
71
  return result2;
69
72
  },
70
73
  (first, second) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vanillabp/bc-ui",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "sideEffects": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,13 +16,13 @@
16
16
  "package.json"
17
17
  ],
18
18
  "dependencies": {
19
- "@vanillabp/bc-official-gui-client": "0.0.5",
20
- "@vanillabp/bc-shared": "0.0.5"
19
+ "@vanillabp/bc-official-gui-client": "0.0.6",
20
+ "@vanillabp/bc-shared": "0.0.6"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "@fontsource/roboto": "4.5.8",
24
24
  "grommet": "2.33.2",
25
- "grommet-icons": "4.10.0",
25
+ "grommet-icons": "4.12.1",
26
26
  "react": "18.2.0",
27
27
  "react-dom": "18.2.0",
28
28
  "react-jsx": "1.0.0",