@ossy/consultancy 3.28.0 → 3.30.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ossy/consultancy",
3
3
  "description": "Consultancy feature package — schemas, forecasts UI, and assignment margins",
4
- "version": "3.28.0",
4
+ "version": "3.30.0",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
7
7
  "module": "./src/index.js",
@@ -25,12 +25,12 @@
25
25
  "README.md"
26
26
  ],
27
27
  "dependencies": {
28
- "@ossy/email": "^3.28.0",
28
+ "@ossy/email": "^3.30.0",
29
29
  "@ossy/event-store": "^3.28.0",
30
30
  "@ossy/fold": "^3.26.0",
31
- "@ossy/organisation": "^3.26.0",
31
+ "@ossy/organisation": "^3.30.0",
32
32
  "@ossy/schema": "^3.27.0",
33
- "@ossy/spend": "^3.28.0"
33
+ "@ossy/spend": "^3.30.0"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@ossy/calendar": "*",
@@ -45,5 +45,5 @@
45
45
  "devDependencies": {
46
46
  "jest": "^30.2.0"
47
47
  },
48
- "gitHead": "7a3c99ea704300fe2870a33cca13281cd183cd13"
48
+ "gitHead": "1e6ffe03d96f60de67e2f29bcf9e3d08c0de6b00"
49
49
  }
@@ -161,6 +161,7 @@ export function ConsultancyRecordPage ({
161
161
  return (
162
162
  <Page
163
163
  {...listPanelPageProps}
164
+ prefix={<Icon name={Definition.icon} size="l" />}
164
165
  title={title}
165
166
  near={statusTags.length > 0 ? <Tags tags={statusTags} size="s" /> : undefined}
166
167
  description={description}
@@ -1,5 +1,5 @@
1
1
  import React, { useState } from 'react'
2
- import { Button, View, Page, Tags } from '@ossy/design-system'
2
+ import { Button, Icon, View, Page, Tags } from '@ossy/design-system'
3
3
  import { useSdk } from '@ossy/sdk-react'
4
4
  import { PinWidget } from '@ossy/dashboard'
5
5
  import { AssignmentMarginCalculator } from './AssignmentMarginCalculator.jsx'
@@ -47,6 +47,7 @@ export const MarginsPage = () => {
47
47
  return (
48
48
  <Page
49
49
  scroll
50
+ prefix={<Icon name={Definition.icon} size="l" />}
50
51
  title="consultancy.margins.title"
51
52
  near={statusTags.length > 0 ? <Tags tags={statusTags} size="s" /> : undefined}
52
53
  description="consultancy.margins.description"
@@ -1,5 +1,5 @@
1
1
  import React from 'react'
2
- import { View, Page, Tags } from '@ossy/design-system'
2
+ import { Icon, View, Page, Tags } from '@ossy/design-system'
3
3
  import { DataLoader } from '@ossy/calendar'
4
4
  import { Forecast } from './Forecast.jsx'
5
5
  import { Definition } from './Definition.js'
@@ -22,6 +22,7 @@ export const OverviewPage = () => {
22
22
  return (
23
23
  <Page
24
24
  data-forecasts-status="on"
25
+ prefix={<Icon name={Definition.icon} size="l" />}
25
26
  title="consultancy.overview.title"
26
27
  near={statusTags.length > 0 ? <Tags tags={statusTags} size="s" /> : undefined}
27
28
  description="consultancy.overview.description"
@@ -42,6 +42,7 @@ export const ReportsPage = () => {
42
42
  return (
43
43
  <Page
44
44
  {...listPanelPageProps}
45
+ prefix={<Icon name={Definition.icon} size="l" />}
45
46
  title="consultancy.reports.title"
46
47
  near={statusTags.length > 0 ? <Tags tags={statusTags} size="s" /> : undefined}
47
48
  description="consultancy.reports.description"
@@ -60,6 +60,7 @@ export const ConsultancyResumesPage = () => {
60
60
  return (
61
61
  <Page
62
62
  {...listPanelPageProps}
63
+ prefix={<Icon name={Definition.icon} size="l" />}
63
64
  title="consultancy.resumes.title"
64
65
  near={statusTags.length > 0 ? <Tags tags={statusTags} size="s" /> : undefined}
65
66
  description="consultancy.resumes.description"
@@ -1,5 +1,5 @@
1
1
  import React from 'react'
2
- import { View, Page, Tags } from '@ossy/design-system'
2
+ import { Icon, View, Page, Tags } from '@ossy/design-system'
3
3
  import { DataLoader } from '@ossy/calendar'
4
4
  import { ConsultancyNav } from './ConsultancyNav.jsx'
5
5
  import { CreateConsultancyButton } from './CreateConsultancyButton.jsx'
@@ -22,6 +22,7 @@ export const SpendPage = () => {
22
22
  return (
23
23
  <Page
24
24
  scroll
25
+ prefix={<Icon name={Definition.icon} size="l" />}
25
26
  title="consultancy.spend.title"
26
27
  near={statusTags.length > 0 ? <Tags tags={statusTags} size="s" /> : undefined}
27
28
  description="consultancy.spend.description"