@axinom/mosaic-ui 0.47.0-rc.4 → 0.47.0-rc.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axinom/mosaic-ui",
|
|
3
|
-
"version": "0.47.0-rc.
|
|
3
|
+
"version": "0.47.0-rc.6",
|
|
4
4
|
"description": "UI components for building Axinom Mosaic applications",
|
|
5
5
|
"author": "Axinom",
|
|
6
6
|
"license": "PROPRIETARY",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"build-storybook": "storybook build"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@axinom/mosaic-core": "^0.4.20-rc.
|
|
35
|
+
"@axinom/mosaic-core": "^0.4.20-rc.6",
|
|
36
36
|
"@faker-js/faker": "^7.4.0",
|
|
37
37
|
"@popperjs/core": "^2.11.8",
|
|
38
38
|
"clsx": "^1.1.0",
|
|
@@ -105,5 +105,5 @@
|
|
|
105
105
|
"publishConfig": {
|
|
106
106
|
"access": "public"
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "14b62315b4a1149d943c0e91af8e113c5ebeac4a"
|
|
109
109
|
}
|
|
@@ -19,6 +19,19 @@ type TabsStoryComponentProps = React.FC<
|
|
|
19
19
|
}
|
|
20
20
|
>;
|
|
21
21
|
|
|
22
|
+
/**
|
|
23
|
+
* This component can be used to structure the elements of a `FormStation`.
|
|
24
|
+
*
|
|
25
|
+
* When designing a station using this component, please consider the following guidelines:
|
|
26
|
+
* - **Contextual Relevance**: Only group contextually related content within tabs.
|
|
27
|
+
* Use separate stations for unrelated information.
|
|
28
|
+
* - **Information Placement**: Prioritize essential information in the first tab for immediate user access.
|
|
29
|
+
* Arrange content to avoid the need for simultaneous multi-tab viewing.
|
|
30
|
+
* - **Saving Mechanism**: Understand that all tabs share a single saving action.
|
|
31
|
+
* This makes it hard for users to understand why a save operation was not successful
|
|
32
|
+
* if e.g. a validation error on an inactive tab occurs. Plan workflows carefully and
|
|
33
|
+
* prevent complex workflows across multiple tabs.
|
|
34
|
+
*/
|
|
22
35
|
const meta: Meta<TabsStoryComponentProps> = {
|
|
23
36
|
title: 'Other Components/Tabs',
|
|
24
37
|
component: Tabs,
|
|
@@ -44,6 +57,13 @@ const meta: Meta<TabsStoryComponentProps> = {
|
|
|
44
57
|
args: {
|
|
45
58
|
amount: 3,
|
|
46
59
|
},
|
|
60
|
+
// parameters: {
|
|
61
|
+
// docs: {
|
|
62
|
+
// description: {
|
|
63
|
+
// component: 'A tabbed interface.',
|
|
64
|
+
// },
|
|
65
|
+
// },
|
|
66
|
+
// },
|
|
47
67
|
};
|
|
48
68
|
|
|
49
69
|
const generateItems = (
|