@axinom/mosaic-ui 0.50.0-rc.4 → 0.50.0-rc.5

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.50.0-rc.4",
3
+ "version": "0.50.0-rc.5",
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.23-rc.4",
35
+ "@axinom/mosaic-core": "^0.4.23-rc.5",
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": "18e66fc172fde5b181dd5f065352721ef21768e6"
108
+ "gitHead": "5861bb200dc3bf0ed61c5edd5640239279cb0d19"
109
109
  }
@@ -15,14 +15,7 @@ const groups = createGroups({
15
15
  'onBulkActionsToggled',
16
16
  'setTabTitle',
17
17
  ],
18
- Content: [
19
- 'title',
20
- 'subtitle',
21
- 'children',
22
- 'bulkActions',
23
- 'stationError',
24
- 'actions',
25
- ],
18
+ Content: ['title', 'subtitle', 'children', 'stationError', 'actions'],
26
19
  Styling: ['className'],
27
20
  });
28
21
 
@@ -35,10 +28,6 @@ const meta: Meta<typeof EmptyStation> = {
35
28
  ...groups.actions,
36
29
  control: 'boolean',
37
30
  },
38
- bulkActions: {
39
- ...groups.bulkActions,
40
- control: 'boolean',
41
- },
42
31
  stationError: {
43
32
  ...groups.stationError,
44
33
  control: 'boolean',
@@ -56,19 +45,21 @@ export const Default: StoryObj<typeof EmptyStation> = {
56
45
  ? [
57
46
  {
58
47
  label: 'Test Action',
48
+ kind: 'action',
59
49
  onClick: action('Action.onClick'),
60
50
  icon: IconName.X,
61
51
  },
62
- ]
63
- : undefined
64
- }
65
- bulkActions={
66
- args.bulkActions
67
- ? [
68
52
  {
69
- label: 'Test Bulk Action',
70
- onClick: action('BulkAction.onClick'),
71
- icon: IconName.X,
53
+ label: 'Bulk Actions',
54
+ icon: IconName.Bulk,
55
+ kind: 'group',
56
+ actions: [
57
+ {
58
+ label: 'Test Bulk Action',
59
+ onClick: action('BulkAction.onClick'),
60
+ icon: IconName.X,
61
+ },
62
+ ],
72
63
  },
73
64
  ]
74
65
  : undefined
@@ -1,8 +1,8 @@
1
1
  import clsx from 'clsx';
2
2
  import React, { PropsWithChildren } from 'react';
3
3
  import { MessageBar, MessageBarProps } from '../MessageBar';
4
- import { StationError } from '../models';
5
4
  import { PageHeader, PageHeaderProps } from '../PageHeader';
5
+ import { StationError } from '../models';
6
6
  import classes from './EmptyStation.scss';
7
7
 
8
8
  export type EmptyStationProps = PageHeaderProps & {