@uniflowed/ui 0.0.0-alpha.43 → 0.0.0-alpha.45
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/calendar.js +20 -7
- package/color-picker.js +172 -0
- package/date-field.js +9 -0
- package/date-range-picker.js +120 -0
- package/drag-drop.js +125 -0
- package/grid-list.js +8 -0
- package/i18n-provider.js +89 -0
- package/index.js +91 -0
- package/internal/collection.js +395 -0
- package/internal/date-range.js +26 -0
- package/internal/roving-focus.js +13 -4
- package/internal/segmented-field.js +316 -0
- package/list-box.js +13 -0
- package/number-field.js +263 -0
- package/package.json +5 -5
- package/range-calendar.js +78 -0
- package/tag-group.js +8 -0
- package/time-field.js +8 -0
- package/tree.js +8 -0
package/tag-group.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// @flow
|
|
2
|
+
"use client";
|
|
3
|
+
import * as React from "@uniflowed/react";
|
|
4
|
+
import { CollectionRoot } from "./internal/collection.js";
|
|
5
|
+
import type { CollectionProps } from "./internal/collection.js";
|
|
6
|
+
export component TagGroup(...props: CollectionProps) {
|
|
7
|
+
return <CollectionRoot options={props} kind="tags" />;
|
|
8
|
+
}
|
package/time-field.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// @flow
|
|
2
|
+
"use client";
|
|
3
|
+
import * as React from "@uniflowed/react";
|
|
4
|
+
import { SegmentedField } from "./internal/segmented-field.js";
|
|
5
|
+
import type { DateFieldProps } from "./internal/segmented-field.js";
|
|
6
|
+
export component TimeField(...props: DateFieldProps) {
|
|
7
|
+
return <SegmentedField options={props} time={true} />;
|
|
8
|
+
}
|
package/tree.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// @flow
|
|
2
|
+
"use client";
|
|
3
|
+
import * as React from "@uniflowed/react";
|
|
4
|
+
import { CollectionRoot } from "./internal/collection.js";
|
|
5
|
+
import type { CollectionProps } from "./internal/collection.js";
|
|
6
|
+
export component Tree(...props: CollectionProps) {
|
|
7
|
+
return <CollectionRoot options={props} kind="tree" />;
|
|
8
|
+
}
|