@ossy/booking 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/README.md +1 -1
- package/package.json +6 -6
- package/src/BookingProductHome.jsx +15 -7
package/README.md
CHANGED
|
@@ -70,4 +70,4 @@ See [SPEC.md](./SPEC.md) for the full product specification.
|
|
|
70
70
|
|
|
71
71
|
## Preview
|
|
72
72
|
|
|
73
|
-
Booking pages and flows
|
|
73
|
+
Booking pages and flows run on the repo-root production build (`npx app build && npx app start`). Enable Booking on a workspace, then open it from the sidebar or `/packages/booking`.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ossy/booking",
|
|
3
3
|
"description": "Booking feature package — services, availability, and appointment management for Ossy providers",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.30.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
7
7
|
"module": "./src/index.js",
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@ossy/config": "^3.0.9",
|
|
18
|
-
"@ossy/email": "^3.
|
|
18
|
+
"@ossy/email": "^3.30.0",
|
|
19
19
|
"@ossy/event-store": "^3.28.0",
|
|
20
20
|
"@ossy/observability": "^3.24.1",
|
|
21
|
-
"@ossy/platform": "^3.
|
|
22
|
-
"@ossy/resources": "^3.
|
|
21
|
+
"@ossy/platform": "^3.30.0",
|
|
22
|
+
"@ossy/resources": "^3.30.0",
|
|
23
23
|
"@ossy/users": "^3.27.0",
|
|
24
|
-
"@ossy/workspaces": "^3.
|
|
24
|
+
"@ossy/workspaces": "^3.29.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@ossy/app": ">=1.0.0",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"/src",
|
|
39
39
|
"README.md"
|
|
40
40
|
],
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "1e6ffe03d96f60de67e2f29bcf9e3d08c0de6b00"
|
|
42
42
|
}
|
|
@@ -1,20 +1,28 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { useRouter } from '@ossy/router-react'
|
|
3
|
-
import {
|
|
3
|
+
import { View, Button, ContentHeader, Icon, Page } from '@ossy/design-system'
|
|
4
|
+
import { Definition } from './Definition.js'
|
|
4
5
|
import { metadata as OpenAvailabilitySetup } from './open-availability-setup.action.js'
|
|
5
6
|
import { metadata as OpenServices } from './open-services.action.js'
|
|
6
7
|
import { metadata as OpenBookings } from './open-bookings.action.js'
|
|
7
8
|
|
|
8
9
|
export default function BookingProductHome () {
|
|
9
|
-
const { t } = useLocale()
|
|
10
10
|
const router = useRouter()
|
|
11
11
|
|
|
12
12
|
return (
|
|
13
|
-
<Page
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
<Page
|
|
14
|
+
maxWidth="xl"
|
|
15
|
+
gap="l"
|
|
16
|
+
data-booking-status="on"
|
|
17
|
+
header={(
|
|
18
|
+
<ContentHeader
|
|
19
|
+
inset="none"
|
|
20
|
+
prefix={<Icon name={Definition.icon} size="l" />}
|
|
21
|
+
title="booking.product.title"
|
|
22
|
+
description="booking.product.description"
|
|
23
|
+
/>
|
|
24
|
+
)}
|
|
25
|
+
>
|
|
18
26
|
|
|
19
27
|
<View gap="m" layout="row-wrap">
|
|
20
28
|
<Button
|