@octane-xplat/date-picker 0.12.0 → 0.13.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 CHANGED
@@ -1,10 +1,10 @@
1
1
  # `@octane-xplat/date-picker`
2
2
 
3
- An install boundary for platform-specific date and time selection controls:
4
- a SwiftUI `DatePicker` on iOS, Material 3 `DatePicker`/`TimePicker` built with
5
- Jetpack Compose on Android, and a real `NSDatePicker` on macOS. For portable
6
- form controls, use `Calendar`, `DateInput`, `TimeInput`, `DateTimeInput`, and
7
- `DateRangeInput` from `@octane-xplat/ui` on every target.
3
+ Platform-specific date and time pickers for Octane xplat apps: a SwiftUI
4
+ `DatePicker` on iOS, Material 3 `DatePicker`/`TimePicker` built with Jetpack
5
+ Compose on Android, and a real `NSDatePicker` on macOS. For portable form
6
+ controls that work on every target, use `Calendar`, `DateInput`,
7
+ `TimeInput`, `DateTimeInput`, and `DateRangeInput` from `@octane-xplat/ui`.
8
8
 
9
9
  ```tsx
10
10
  import { useState } from 'octane'
@@ -16,11 +16,12 @@ export function DepartureDate() {
16
16
  }
17
17
  ```
18
18
 
19
- Install the package in the app that renders a control. Import
20
- `SwiftUIDatePicker` from `@octane-xplat/date-picker/ios`,
21
- `MaterialDatePicker` from `@octane-xplat/date-picker/android`, or
22
- `AppKitDatePicker` from `@octane-xplat/date-picker/macos` in the matching
23
- platform-suffixed file. These native entries have platform-specific contracts.
19
+ There is no shared picker component. Install the package in the app that
20
+ renders a control, then import `SwiftUIDatePicker` from
21
+ `@octane-xplat/date-picker/ios`, `MaterialDatePicker` from
22
+ `@octane-xplat/date-picker/android`, or `AppKitDatePicker` from
23
+ `@octane-xplat/date-picker/macos` in the matching platform-suffixed file.
24
+ These native entries have platform-specific contracts.
24
25
  The old `@octane-xplat/date-picker/web` `DateInput` subpath was removed because
25
26
  its browser-only string contract conflicted with the shared `DateInput` API.
26
27
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "buildId": "4970a5ca-46ee-4eef-ae0d-d2e0f7df6ac4",
3
+ "buildId": "64d0b13a-bb76-4ca9-857e-0f9eb6e44e80",
4
4
  "mode": "production",
5
5
  "capabilities": {
6
6
  "independentHydration": false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octane-xplat/date-picker",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "Platform-specific date and time selection controls for Octane xplat",
5
5
  "repository": {
6
6
  "type": "git",