@axinom/mosaic-ui 0.63.0-rc.9 → 0.64.0-rc.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/components/FormStation/FormStationHeader/FormStationHeader.d.ts.map +1 -1
- package/dist/components/Icons/Icons.d.ts.map +1 -1
- package/dist/components/Icons/Icons.models.d.ts +2 -1
- package/dist/components/Icons/Icons.models.d.ts.map +1 -1
- package/dist/index.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/components/Explorer/BulkEdit/useBulkEdit.tsx +1 -1
- package/src/components/FormStation/FormStationHeader/FormStationHeader.tsx +1 -0
- package/src/components/Icons/Icons.models.ts +1 -0
- package/src/components/Icons/Icons.tsx +17 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axinom/mosaic-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.64.0-rc.0",
|
|
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": "
|
|
115
|
+
"gitHead": "f6ca9c70a730a199872acc0aa5c27ac55aeee31b"
|
|
116
116
|
}
|
|
@@ -73,7 +73,7 @@ export const useBulkEdit = <T extends Data>({
|
|
|
73
73
|
() =>
|
|
74
74
|
bulkEditRegistration
|
|
75
75
|
? {
|
|
76
|
-
label: bulkEditRegistration.label ?? '
|
|
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 () => {
|
|
@@ -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} />,
|