@axinom/mosaic-ui 0.63.0-rc.9 → 0.63.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axinom/mosaic-ui",
3
- "version": "0.63.0-rc.9",
3
+ "version": "0.63.1",
4
4
  "description": "UI components for building Axinom Mosaic applications",
5
5
  "author": "Axinom",
6
6
  "license": "PROPRIETARY",
@@ -112,5 +112,5 @@
112
112
  "publishConfig": {
113
113
  "access": "public"
114
114
  },
115
- "gitHead": "d34c0f906f1242b164d1d25b1a3f1547eda53996"
115
+ "gitHead": "fc31df27c83321ec0e9842d8450c39951c9405c6"
116
116
  }
@@ -73,7 +73,7 @@ export const useBulkEdit = <T extends Data>({
73
73
  () =>
74
74
  bulkEditRegistration
75
75
  ? {
76
- label: bulkEditRegistration.label ?? 'Bulk Edit',
76
+ label: bulkEditRegistration.label ?? 'Edit',
77
77
  icon: bulkEditRegistration.icon ?? IconName.BulkEdit,
78
78
  tag: 'BETA',
79
79
  onClick: () => setIsBulkEditMode((prev) => !prev),
@@ -67,6 +67,7 @@ export const FormStationHeader: React.FC<
67
67
  actionItems.push({
68
68
  label: saveHeaderActionConfig.label,
69
69
  icon: saveHeaderActionConfig.icon,
70
+ confirmationMode: bulkEditContext ? 'Simple' : 'None',
70
71
  kind: 'action',
71
72
  actionType: PageHeaderActionType.Context,
72
73
  onClick: async () => {
@@ -56,4 +56,5 @@ export enum IconName {
56
56
  Video,
57
57
  Warning,
58
58
  X,
59
+ Axi,
59
60
  }
@@ -10,6 +10,22 @@ export interface IconsProps {
10
10
  className?: string;
11
11
  }
12
12
 
13
+ const AxiIcon: React.FC<{ className?: string }> = ({ className }) => (
14
+ <svg
15
+ className={clsx(classes.icons, className)}
16
+ version="1.1"
17
+ xmlns="http://www.w3.org/2000/svg"
18
+ viewBox="0 0 40 40"
19
+ >
20
+ <path
21
+ vectorEffect="non-scaling-stroke"
22
+ fill="none"
23
+ strokeWidth="2"
24
+ d="M24.3,36h-8.5c-5,0-9.1-4.1-9.1-9.1v-5.3c0-5,4.1-9.1,9.1-9.1h8.5c5,0,9.1,4.1,9.1,9.1v5.3c0,5-4.1,9.1-9.1,9.1ZM6.8,20.4h-.9c-1.3,0-2.3,1.1-2.3,2.3v3c0,1.3,1.1,2.3,2.3,2.3h.9M33.3,28.2h.9c1.3,0,2.3-1.1,2.3-2.3v-3c0-1.3-1.1-2.3-2.3-2.3h-.9M14.1,20.4c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5,2.5-1.1,2.5-2.5-1.1-2.5-2.5-2.5ZM19.7,4c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5,2.5-1.1,2.5-2.5-1.1-2.5-2.5-2.5ZM25.9,20.4c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5,2.5-1.1,2.5-2.5-1.1-2.5-2.5-2.5ZM19.7,9v3.5M16.1,30.2h7.8"
25
+ />
26
+ </svg>
27
+ );
28
+
13
29
  const ArchiveIcon: React.FC<{ className?: string }> = ({ className }) => (
14
30
  <svg
15
31
  className={clsx(classes.icons, className)}
@@ -924,6 +940,7 @@ const XIcon: React.FC<{ className?: string }> = ({ className }) => (
924
940
  */
925
941
  export const Icons: React.FC<IconsProps> = ({ icon, className }) => {
926
942
  const icons: { [key in IconName]: JSX.Element } = {
943
+ [IconName.Axi]: <AxiIcon className={className} />,
927
944
  [IconName.Archive]: <ArchiveIcon className={className} />,
928
945
  [IconName.Audio]: <AudioIcon className={className} />,
929
946
  [IconName.DescriptiveAudio]: <DescriptiveAudioIcon className={className} />,