@axinom/mosaic-ui 0.71.0 → 0.72.0-rc.4
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/Actions/Action/index.d.ts +2 -1
- package/dist/components/Actions/Action/index.d.ts.map +1 -1
- package/dist/components/Actions/index.d.ts +2 -1
- package/dist/components/Actions/index.d.ts.map +1 -1
- package/dist/components/Buttons/Button/index.d.ts +1 -1
- package/dist/components/Buttons/Button/index.d.ts.map +1 -1
- package/dist/components/Buttons/CompositeButton/index.d.ts +1 -1
- package/dist/components/Buttons/CompositeButton/index.d.ts.map +1 -1
- package/dist/components/Buttons/TextButton/index.d.ts +1 -1
- package/dist/components/Buttons/TextButton/index.d.ts.map +1 -1
- package/dist/components/Explorer/BulkEdit/BulkEdit.model.d.ts +7 -0
- package/dist/components/Explorer/BulkEdit/BulkEdit.model.d.ts.map +1 -1
- package/dist/components/Explorer/BulkEdit/GenerateMutation.d.ts.map +1 -1
- package/dist/components/Explorer/BulkEdit/helpers/wrapFilterEnums.d.ts +12 -0
- package/dist/components/Explorer/BulkEdit/helpers/wrapFilterEnums.d.ts.map +1 -0
- package/dist/components/Explorer/BulkEdit/index.d.ts +2 -1
- package/dist/components/Explorer/BulkEdit/index.d.ts.map +1 -1
- package/dist/components/Explorer/index.d.ts +11 -6
- package/dist/components/Explorer/index.d.ts.map +1 -1
- package/dist/components/FormElements/index.d.ts +40 -20
- package/dist/components/FormElements/index.d.ts.map +1 -1
- package/dist/components/FormStation/index.d.ts +6 -3
- package/dist/components/FormStation/index.d.ts.map +1 -1
- package/dist/components/Hub/Tile/index.d.ts +1 -1
- package/dist/components/Hub/Tile/index.d.ts.map +1 -1
- package/dist/components/Hub/index.d.ts +2 -1
- package/dist/components/Hub/index.d.ts.map +1 -1
- package/dist/components/Icons/index.d.ts +2 -1
- package/dist/components/Icons/index.d.ts.map +1 -1
- package/dist/components/InlineMenu/index.d.ts +2 -1
- package/dist/components/InlineMenu/index.d.ts.map +1 -1
- package/dist/components/LandingPageHeader/index.d.ts +2 -1
- package/dist/components/LandingPageHeader/index.d.ts.map +1 -1
- package/dist/components/LandingPageTiles/TileLarge/index.d.ts +2 -1
- package/dist/components/LandingPageTiles/TileLarge/index.d.ts.map +1 -1
- package/dist/components/LandingPageTiles/TileSmall/index.d.ts +2 -1
- package/dist/components/LandingPageTiles/TileSmall/index.d.ts.map +1 -1
- package/dist/components/LandingPageTiles/index.d.ts +2 -1
- package/dist/components/LandingPageTiles/index.d.ts.map +1 -1
- package/dist/components/List/index.d.ts +2 -1
- package/dist/components/List/index.d.ts.map +1 -1
- package/dist/components/MessageBar/index.d.ts +2 -1
- package/dist/components/MessageBar/index.d.ts.map +1 -1
- package/dist/components/Modal/index.d.ts +2 -1
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/PageHeader/index.d.ts +3 -2
- package/dist/components/PageHeader/index.d.ts.map +1 -1
- package/dist/components/ProgressBar/index.d.ts +2 -1
- package/dist/components/ProgressBar/index.d.ts.map +1 -1
- package/dist/components/VisualElements/index.d.ts +4 -2
- package/dist/components/VisualElements/index.d.ts.map +1 -1
- package/dist/helpers/index.d.ts +1 -1
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +11 -15
- package/src/components/Actions/Action/index.ts +2 -1
- package/src/components/Actions/Actions.stories.tsx +1 -1
- package/src/components/Actions/index.ts +2 -1
- package/src/components/Buttons/Button/index.ts +1 -1
- package/src/components/Buttons/CompositeButton/index.ts +1 -1
- package/src/components/Buttons/TextButton/index.ts +1 -1
- package/src/components/DynamicDataList/DynamicDataList.stories.tsx +1 -1
- package/src/components/EmptyStation/EmptyStation.stories.tsx +1 -1
- package/src/components/Explorer/BulkEdit/BulkEdit.model.ts +7 -0
- package/src/components/Explorer/BulkEdit/GenerateMutation.spec.tsx +51 -0
- package/src/components/Explorer/BulkEdit/GenerateMutation.tsx +11 -1
- package/src/components/Explorer/BulkEdit/helpers/wrapFilterEnums.spec.ts +80 -0
- package/src/components/Explorer/BulkEdit/helpers/wrapFilterEnums.ts +87 -0
- package/src/components/Explorer/BulkEdit/index.ts +2 -1
- package/src/components/Explorer/Explorer.stories.tsx +1 -1
- package/src/components/Explorer/NavigationExplorer/NavigationExplorer.stories.tsx +1 -1
- package/src/components/Explorer/SelectionExplorer/SelectionExplorer.stories.tsx +1 -1
- package/src/components/Explorer/index.ts +15 -18
- package/src/components/Filters/Filters.stories.tsx +1 -1
- package/src/components/FormElements/Checkbox/Checkbox.stories.tsx +1 -1
- package/src/components/FormElements/CustomTags/CustomTags.stories.tsx +1 -1
- package/src/components/FormElements/DateTimeField/DateTimeText.stories.tsx +1 -1
- package/src/components/FormElements/FileUploadControl/FileUploadControl.stories.tsx +1 -1
- package/src/components/FormElements/MaskedSingleLineText/MaskedSingleLineText.stories.tsx +1 -1
- package/src/components/FormElements/Radio/Radio.stories.tsx +1 -1
- package/src/components/FormElements/Select/Select.stories.tsx +1 -1
- package/src/components/FormElements/SingleLineText/SingleLineText.stories.tsx +1 -1
- package/src/components/FormElements/Tags/Tags.stories.tsx +1 -1
- package/src/components/FormElements/TextArea/TextArea.stories.tsx +1 -1
- package/src/components/FormElements/ToggleButton/ToggleButton.stories.tsx +1 -1
- package/src/components/FormElements/formElements.mdx +12 -0
- package/src/components/FormElements/index.ts +40 -39
- package/src/components/FormStation/Create/Create.stories.tsx +1 -1
- package/src/components/FormStation/FormStation.stories.tsx +1 -1
- package/src/components/FormStation/index.ts +6 -3
- package/src/components/Hub/Tile/index.ts +1 -1
- package/src/components/Hub/index.ts +2 -1
- package/src/components/Icons/index.ts +2 -1
- package/src/components/InlineMenu/InlineMenu.stories.tsx +1 -1
- package/src/components/InlineMenu/index.ts +2 -1
- package/src/components/LandingPageHeader/index.ts +2 -1
- package/src/components/LandingPageTiles/TileLarge/index.ts +2 -1
- package/src/components/LandingPageTiles/TileSmall/index.ts +2 -1
- package/src/components/LandingPageTiles/index.ts +2 -1
- package/src/components/List/index.ts +2 -1
- package/src/components/MessageBar/index.ts +2 -1
- package/src/components/Modal/index.ts +2 -1
- package/src/components/NavigationAwareStation/NavigationAwareStation.stories.tsx +1 -1
- package/src/components/PageHeader/PageHeader.stories.tsx +1 -1
- package/src/components/PageHeader/index.ts +6 -6
- package/src/components/ProgressBar/index.ts +2 -1
- package/src/components/Tabs/Tabs.stories.tsx +1 -1
- package/src/components/VisualElements/index.ts +4 -3
- package/src/docs/{Intro.stories.mdx → Intro.mdx} +1 -3
- package/src/helpers/index.ts +1 -1
- package/src/components/FormElements/formElements.stories.mdx +0 -21
|
@@ -1,58 +1,59 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from './
|
|
5
|
-
export { Checkbox, CheckboxProps } from './Checkbox/Checkbox';
|
|
1
|
+
export { BooleanViewField } from './BooleanView/BooleanViewField';
|
|
2
|
+
export type { BooleanViewFieldProps } from './BooleanView/BooleanViewField';
|
|
3
|
+
export { Checkbox } from './Checkbox/Checkbox';
|
|
4
|
+
export type { CheckboxProps } from './Checkbox/Checkbox';
|
|
6
5
|
export { CheckboxField } from './Checkbox/CheckboxField';
|
|
7
|
-
export { CustomTags
|
|
6
|
+
export { CustomTags } from './CustomTags/CustomTags';
|
|
7
|
+
export type { CustomTagsProps } from './CustomTags/CustomTags';
|
|
8
8
|
export { CustomTagsField } from './CustomTags/CustomTagsField';
|
|
9
|
-
export { DateTimeText
|
|
9
|
+
export { DateTimeText } from './DateTimeField/DateTimeText';
|
|
10
|
+
export type { DateTimeTextProps } from './DateTimeField/DateTimeText';
|
|
10
11
|
export { DateTimeTextField } from './DateTimeField/DateTimeTextField';
|
|
11
|
-
export { Divider
|
|
12
|
-
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from './DynamicDataListControl/DynamicDataListControl';
|
|
12
|
+
export { Divider } from './Divider/Divider';
|
|
13
|
+
export type { DividerProps } from './Divider/Divider';
|
|
14
|
+
export { DynamicDataListControl } from './DynamicDataListControl/DynamicDataListControl';
|
|
15
|
+
export type { DynamicDataListControlProps } from './DynamicDataListControl/DynamicDataListControl';
|
|
16
16
|
export { DynamicDataListField } from './DynamicDataListControl/DynamicDataListField';
|
|
17
|
-
export {
|
|
17
|
+
export { FileUploadControl } from './FileUploadControl/FileUploadControl';
|
|
18
|
+
export type {
|
|
18
19
|
FileUpload,
|
|
19
|
-
FileUploadControl,
|
|
20
20
|
FileUploadProps,
|
|
21
21
|
} from './FileUploadControl/FileUploadControl';
|
|
22
22
|
export { FileUploadField } from './FileUploadControl/FileUploadField';
|
|
23
23
|
export * from './Form.models';
|
|
24
24
|
export { FormElementContainer } from './FormElementContainer';
|
|
25
|
-
export { FormGroup
|
|
26
|
-
export {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from './FormGroupTitle/FormGroupTitle';
|
|
25
|
+
export { FormGroup } from './FormGroup/FormGroup';
|
|
26
|
+
export type { FormGroupProps } from './FormGroup/FormGroup';
|
|
27
|
+
export { FormGroupTitle } from './FormGroupTitle/FormGroupTitle';
|
|
28
|
+
export type { FormGroupTitleProps } from './FormGroupTitle/FormGroupTitle';
|
|
30
29
|
export { FormikDebug } from './FormikDebug/FormikDebug';
|
|
31
|
-
export { GenericField
|
|
32
|
-
export {
|
|
33
|
-
export {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from './MaskedSingleLineText/MaskedSingleLineText';
|
|
30
|
+
export { GenericField } from './GenericField/GenericField';
|
|
31
|
+
export type { GenericFieldProps } from './GenericField/GenericField';
|
|
32
|
+
export { LinkField } from './Link/LinkField';
|
|
33
|
+
export type { LinkFieldProps } from './Link/LinkField';
|
|
34
|
+
export { MaskedSingleLineText } from './MaskedSingleLineText/MaskedSingleLineText';
|
|
35
|
+
export type { MaskedSingleLineTextProps } from './MaskedSingleLineText/MaskedSingleLineText';
|
|
37
36
|
export { MaskedSingleLineTextField } from './MaskedSingleLineText/MaskedSingleLineTextField';
|
|
38
|
-
export { Radio
|
|
37
|
+
export { Radio } from './Radio/Radio';
|
|
38
|
+
export type { RadioProps } from './Radio/Radio';
|
|
39
39
|
export { RadioField } from './Radio/RadioField';
|
|
40
|
-
export { ReadOnlyField
|
|
41
|
-
export {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
} from './
|
|
45
|
-
export {
|
|
40
|
+
export { ReadOnlyField } from './ReadOnly/ReadOnlyField';
|
|
41
|
+
export type { ReadOnlyFieldProps } from './ReadOnly/ReadOnlyField';
|
|
42
|
+
export { ReadOnlyTextField } from './ReadOnlyText/ReadOnlyTextField';
|
|
43
|
+
export type { ReadOnlyTextFieldProps } from './ReadOnlyText/ReadOnlyTextField';
|
|
44
|
+
export { Select } from './Select/Select';
|
|
45
|
+
export type { SelectProps } from './Select/Select';
|
|
46
46
|
export { SelectField } from './Select/SelectField';
|
|
47
|
-
export {
|
|
48
|
-
|
|
49
|
-
SingleLineTextProps,
|
|
50
|
-
} from './SingleLineText/SingleLineText';
|
|
47
|
+
export { SingleLineText } from './SingleLineText/SingleLineText';
|
|
48
|
+
export type { SingleLineTextProps } from './SingleLineText/SingleLineText';
|
|
51
49
|
export { SingleLineTextField } from './SingleLineText/SingleLineTextField';
|
|
52
|
-
export { Tags
|
|
50
|
+
export { Tags } from './Tags/Tags';
|
|
51
|
+
export type { TagsProps } from './Tags/Tags';
|
|
53
52
|
export { TagsField } from './Tags/TagsField';
|
|
54
|
-
export { TextArea
|
|
53
|
+
export { TextArea } from './TextArea/TextArea';
|
|
54
|
+
export type { TextAreaProps } from './TextArea/TextArea';
|
|
55
55
|
export { TextAreaField } from './TextArea/TextAreaField';
|
|
56
|
-
export { ToggleButton
|
|
56
|
+
export { ToggleButton } from './ToggleButton/ToggleButton';
|
|
57
|
+
export type { ToggleButtonProps } from './ToggleButton/ToggleButton';
|
|
57
58
|
export { ToggleButtonField } from './ToggleButton/ToggleButtonField';
|
|
58
59
|
export { useFormikError } from './useFormikError';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { action } from '@storybook/addon-actions';
|
|
2
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
3
2
|
import { Field } from 'formik';
|
|
4
3
|
import React from 'react';
|
|
5
4
|
import { MemoryRouter } from 'react-router';
|
|
5
|
+
import { action } from 'storybook/actions';
|
|
6
6
|
import * as Yup from 'yup';
|
|
7
7
|
import { createGroups } from '../../../helpers/storybook';
|
|
8
8
|
import {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { faker } from '@faker-js/faker';
|
|
2
|
-
import { action } from '@storybook/addon-actions';
|
|
3
2
|
import { Meta, StoryObj } from '@storybook/react';
|
|
4
3
|
import { Field } from 'formik';
|
|
5
4
|
import React from 'react';
|
|
6
5
|
import { MemoryRouter } from 'react-router';
|
|
7
6
|
import { Link } from 'react-router-dom';
|
|
7
|
+
import { action } from 'storybook/actions';
|
|
8
8
|
import * as Yup from 'yup';
|
|
9
9
|
import { createGroups, generateItemArray } from '../../helpers/storybook';
|
|
10
10
|
import { ActionData } from '../Actions';
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
export { Create
|
|
2
|
-
export {
|
|
1
|
+
export { Create } from './Create/Create';
|
|
2
|
+
export type { CreateProps } from './Create/Create';
|
|
3
|
+
export { Details } from './Details/Details';
|
|
4
|
+
export type { DetailsProps } from './Details/Details';
|
|
3
5
|
export { FormGrid } from './FormGrid';
|
|
4
|
-
export { FormStation
|
|
6
|
+
export { FormStation } from './FormStation';
|
|
7
|
+
export type { FormStationProps } from './FormStation';
|
|
5
8
|
export * from './FormStation.models';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Tile } from './Tile';
|
|
2
|
-
export { TileProps } from './Tile.model';
|
|
2
|
+
export type { TileProps } from './Tile.model';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { action } from '@storybook/addon-actions';
|
|
2
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
3
2
|
import React from 'react';
|
|
3
|
+
import { action } from 'storybook/actions';
|
|
4
4
|
import classes from '../../../.storybook/static/css/confirm-dialog.scss';
|
|
5
5
|
import { createGroups, enumToObj } from '../../helpers/storybook';
|
|
6
6
|
import { ActionData } from '../Actions';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { InlineMenu
|
|
1
|
+
export { InlineMenu } from './InlineMenu';
|
|
2
|
+
export type { InlineMenuProps } from './InlineMenu';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { LandingPageHeader
|
|
1
|
+
export { LandingPageHeader } from './LandingPageHeader';
|
|
2
|
+
export type { LandingPageHeaderProps } from './LandingPageHeader';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { TileLarge
|
|
1
|
+
export { TileLarge } from './TileLarge';
|
|
2
|
+
export type { TileLargeProps } from './TileLarge';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { TileSmall
|
|
1
|
+
export { TileSmall } from './TileSmall';
|
|
2
|
+
export type { TileSmallProps } from './TileSmall';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { MessageBar
|
|
1
|
+
export { MessageBar } from './MessageBar';
|
|
2
|
+
export type { MessageBarProps } from './MessageBar';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { action } from '@storybook/addon-actions';
|
|
2
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
3
2
|
import React, { useCallback, useState } from 'react';
|
|
4
3
|
import { Link, MemoryRouter, Route, Switch } from 'react-router-dom';
|
|
4
|
+
import { action } from 'storybook/actions';
|
|
5
5
|
import {
|
|
6
6
|
NavigationAwareStation,
|
|
7
7
|
NavigationAwareStationProps,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { action } from '@storybook/addon-actions';
|
|
2
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { action } from 'storybook/actions';
|
|
3
3
|
import { IconName } from '../Icons';
|
|
4
4
|
import { PageHeader } from './PageHeader';
|
|
5
5
|
import { PageHeaderActionItemProps } from './PageHeader.model';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { PageHeader } from './PageHeader';
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from './PageHeaderAction';
|
|
2
|
+
export type {
|
|
3
|
+
PageHeaderActionItemProps,
|
|
4
|
+
PageHeaderProps,
|
|
5
|
+
} from './PageHeader.model';
|
|
6
|
+
export { PageHeaderAction, PageHeaderActionType } from './PageHeaderAction';
|
|
7
|
+
export type { PageHeaderActionProps } from './PageHeaderAction';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* eslint-disable react-hooks/rules-of-hooks */
|
|
2
2
|
import { faker } from '@faker-js/faker';
|
|
3
|
-
import { useArgs } from '@storybook/preview-api';
|
|
4
3
|
import { Meta, StoryObj } from '@storybook/react';
|
|
5
4
|
import React, { useMemo } from 'react';
|
|
6
5
|
import { TabsProps } from 'react-tabs';
|
|
6
|
+
import { useArgs } from 'storybook/preview-api';
|
|
7
7
|
import { Tab, TabList, TabPanel, Tabs } from '.';
|
|
8
8
|
import { createGroups } from '../../helpers/storybook';
|
|
9
9
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ImgElement } from './ImgElement';
|
|
2
|
+
export type {
|
|
2
3
|
DecorativeImageProps,
|
|
3
|
-
ImgElement,
|
|
4
4
|
ImgElementProps,
|
|
5
5
|
MeaningfulImageProps,
|
|
6
6
|
} from './ImgElement';
|
|
7
|
-
export { SvgElement
|
|
7
|
+
export { SvgElement } from './SvgElement';
|
|
8
|
+
export type { SvgElementProps } from './SvgElement';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Meta } from '@storybook/addon-docs';
|
|
1
|
+
import { Meta } from '@storybook/addon-docs/blocks';
|
|
2
2
|
import classes from './intro.scss';
|
|
3
3
|
|
|
4
4
|
<Meta title="Getting Started/Intro" />
|
|
@@ -29,5 +29,3 @@ import classes from './intro.scss';
|
|
|
29
29
|
<img src="images/intro.jpg"/>
|
|
30
30
|
</div>
|
|
31
31
|
</div>
|
|
32
|
-
|
|
33
|
-
|
package/src/helpers/index.ts
CHANGED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { faker } from '@faker-js/faker';
|
|
2
|
-
import { CustomTags } from './CustomTags/CustomTags';
|
|
3
|
-
import { ReadOnlyField } from './ReadOnly/ReadOnlyField';
|
|
4
|
-
import { Select } from './Select/Select';
|
|
5
|
-
import { Tags } from './Tags/Tags';
|
|
6
|
-
import { SingleLineText } from './SingleLineText/SingleLineText';
|
|
7
|
-
import { SampleForm } from './formStoryHelper';
|
|
8
|
-
|
|
9
|
-
import { Meta, Preview, Story,Canvas } from '@storybook/blocks';
|
|
10
|
-
|
|
11
|
-
<Meta title="Primary Components/Form Elements" />
|
|
12
|
-
|
|
13
|
-
# Form Components
|
|
14
|
-
|
|
15
|
-
This is a sample form, using the form components of this library.
|
|
16
|
-
For a more detailed description of the single elements, please refer to the
|
|
17
|
-
other stories in this folder.
|
|
18
|
-
|
|
19
|
-
<Canvas>
|
|
20
|
-
<SampleForm/>
|
|
21
|
-
</Canvas>
|