@ankhorage/zora 28.5.2 → 28.6.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/CHANGELOG.md +12 -0
- package/README.md +5 -1
- package/dist/capabilities/index.js +73 -3
- package/dist/capabilities/index.js.map +3 -3
- package/dist/features/carousel/Carousel.d.ts.map +1 -1
- package/dist/features/carousel/Carousel.js +85 -8
- package/dist/features/carousel/Carousel.js.map +1 -1
- package/dist/features/form/select/adapters/inbound/Select.native.d.ts.map +1 -1
- package/dist/features/form/select/adapters/inbound/Select.native.js +71 -8
- package/dist/features/form/select/adapters/inbound/Select.native.js.map +1 -1
- package/dist/features/form/select/adapters/inbound/Select.web.d.ts.map +1 -1
- package/dist/features/form/select/adapters/inbound/Select.web.js +5 -3
- package/dist/features/form/select/adapters/inbound/Select.web.js.map +1 -1
- package/dist/features/form/select/composition/SelectSearchInput.d.ts +10 -0
- package/dist/features/form/select/composition/SelectSearchInput.d.ts.map +1 -0
- package/dist/features/form/select/composition/SelectSearchInput.js +11 -0
- package/dist/features/form/select/composition/SelectSearchInput.js.map +1 -0
- package/dist/features/form/select/composition/getVisibleSelectOptions.d.ts +4 -0
- package/dist/features/form/select/composition/getVisibleSelectOptions.d.ts.map +1 -0
- package/dist/features/form/select/composition/getVisibleSelectOptions.js +8 -0
- package/dist/features/form/select/composition/getVisibleSelectOptions.js.map +1 -0
- package/dist/features/form/select/composition/useSelectController.d.ts +3 -0
- package/dist/features/form/select/composition/useSelectController.d.ts.map +1 -1
- package/dist/features/form/select/composition/useSelectController.js +11 -2
- package/dist/features/form/select/composition/useSelectController.js.map +1 -1
- package/dist/features/form/select/selectMeta.d.ts +99 -1
- package/dist/features/form/select/selectMeta.d.ts.map +1 -1
- package/dist/features/form/select/selectMeta.js +71 -1
- package/dist/features/form/select/selectMeta.js.map +1 -1
- package/dist/features/registry/bindableComponentMeta.d.ts +79 -1
- package/dist/features/registry/bindableComponentMeta.d.ts.map +1 -1
- package/dist/features/registry/bindableComponentMeta.js +59 -1
- package/dist/features/registry/bindableComponentMeta.js.map +1 -1
- package/dist/types/select.d.ts +10 -0
- package/dist/types/select.d.ts.map +1 -1
- package/dist/types/select.js.map +1 -1
- package/package.json +29 -3
- package/src/features/carousel/Carousel.test.ts +243 -7
- package/src/features/carousel/Carousel.tsx +135 -26
- package/src/features/form/select/adapters/inbound/Select.native.test.tsx +322 -0
- package/src/features/form/select/adapters/inbound/Select.native.tsx +135 -13
- package/src/features/form/select/adapters/inbound/Select.web.tsx +6 -3
- package/src/features/form/select/composition/SelectSearchInput.tsx +33 -0
- package/src/features/form/select/composition/getVisibleSelectOptions.test.ts +22 -0
- package/src/features/form/select/composition/getVisibleSelectOptions.ts +13 -0
- package/src/features/form/select/composition/useSelectController.ts +25 -2
- package/src/features/form/select/public.test.ts +31 -1
- package/src/features/form/select/selectMeta.ts +71 -1
- package/src/features/registry/bindableComponentMeta.test.ts +6 -0
- package/src/features/registry/bindableComponentMeta.ts +59 -1
- package/src/features/registry/featureManifest.test.ts +10 -0
- package/src/types/select.ts +10 -0
- package/web-dist/chunks/{Accordion-sj1n06dw.js → Accordion-9dk62zn9.js} +84 -24
- package/web-dist/chunks/Accordion-ar8qe05j.js +53 -0
- package/web-dist/chunks/{Accordion-ge7cjtwy.js → Accordion-mpb070cf.js} +3 -3
- package/web-dist/chunks/{Accordion-554f42yj.js → Accordion-sj30964p.js} +4 -4
- package/web-dist/chunks/{Accordion-2bygfpwg.js → Accordion-xhxv2v0g.js} +62 -2
- package/web-dist/chunks/{RichTextClient-70qt7037.js → RichTextClient-7qqj2dpw.js} +3 -4
- package/web-dist/components/auth-screen/AuthScreen.js +2 -3
- package/web-dist/components/carousel/Carousel.js +97 -24
- package/web-dist/components/color-hue-scale/ColorHueScale.js +4 -3
- package/web-dist/components/color-picker/ColorPicker.js +4 -3
- package/web-dist/components/color-tone/ColorTone.js +4 -3
- package/web-dist/components/color-wheel/ColorWheel.js +4 -3
- package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +2 -3
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +2 -3
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +2 -3
- package/web-dist/components/otp-form/OtpForm.js +2 -3
- package/web-dist/components/rich-text/RichText.js +2 -2
- package/web-dist/components/search-input/SearchInput.js +5 -52
- package/web-dist/components/select/Select.js +3 -1
- package/web-dist/components/select/Select.types-0.d.ts +10 -0
- package/web-dist/components/sign-in-form/SignInForm.js +2 -3
- package/web-dist/components/sign-up-form/SignUpForm.js +2 -3
- package/web-dist/components/text-input/TextInput.js +4 -5
- package/web-dist/manifest.json +39 -41
- package/web-dist/chunks/Accordion-49d0frg7.js +0 -66
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 28.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 8d3ac96: Add searchable controlled Select options with serializable search-change bindings.
|
|
8
|
+
|
|
9
|
+
## 28.5.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 88218a7: Load only the active Carousel slide initially, preload its next slide after image readiness, and preserve transition layers without restarting fade animations on layout changes.
|
|
14
|
+
|
|
3
15
|
## 28.5.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
# ZORA
|
|
5
5
|
|
|
6
|
-
         
|
|
7
7
|
|
|
8
8
|
Provides opinionated React Native and React Native Web UI components, theme primitives, registries, and reader surfaces built on @ankhorage/surface.
|
|
9
9
|
|
|
@@ -50,7 +50,11 @@ Open `./paradox/index.html` locally in your browser to browse the complete docum
|
|
|
50
50
|
|
|
51
51
|
## Contributors
|
|
52
52
|
|
|
53
|
+
<a href="https://github.com/ankhorage-renovate-sync%5Bbot%5D"><img src="https://avatars.githubusercontent.com/u/323340348?s=64" width="40" height="40" alt="ankhorage-renovate-sync%5Bbot%5D" /></a>
|
|
53
54
|
<a href="https://github.com/artiphishle"><img src="https://avatars.githubusercontent.com/u/137318798?s=64" width="40" height="40" alt="artiphishle" /></a>
|
|
55
|
+
<a href="https://github.com/github-actions%5Bbot%5D"><img src="https://avatars.githubusercontent.com/u/41898282?s=64" width="40" height="40" alt="github-actions%5Bbot%5D" /></a>
|
|
56
|
+
<a href="https://github.com/renovate%5Bbot%5D"><img src="https://avatars.githubusercontent.com/u/29139614?s=64" width="40" height="40" alt="renovate%5Bbot%5D" /></a>
|
|
57
|
+
<a href="https://github.com/Copilot"><img src="https://avatars.githubusercontent.com/u/198982749?s=64" width="40" height="40" alt="Copilot" /></a>
|
|
54
58
|
<a href="https://github.com/faeb187"><img src="https://avatars.githubusercontent.com/u/389333?s=64" width="40" height="40" alt="faeb187" /></a>
|
|
55
59
|
<a href="https://github.com/artiphishle-agent"><img src="https://avatars.githubusercontent.com/u/341682830?s=64" width="40" height="40" alt="artiphishle-agent" /></a>
|
|
56
60
|
|
|
@@ -2829,7 +2829,7 @@ var searchInputMeta = {
|
|
|
2829
2829
|
var selectMeta = {
|
|
2830
2830
|
name: "Select",
|
|
2831
2831
|
category: "component",
|
|
2832
|
-
description: "Single-value form selection with Popover presentation on web and BottomSheet presentation on native.",
|
|
2832
|
+
description: "Single-value form selection with optional searchable options, Popover presentation on web, and BottomSheet presentation on native.",
|
|
2833
2833
|
directManifestNode: true,
|
|
2834
2834
|
allowedChildren: [],
|
|
2835
2835
|
blueprint: {
|
|
@@ -2845,7 +2845,8 @@ var selectMeta = {
|
|
|
2845
2845
|
],
|
|
2846
2846
|
disabled: false,
|
|
2847
2847
|
readOnly: false,
|
|
2848
|
-
invalid: false
|
|
2848
|
+
invalid: false,
|
|
2849
|
+
searchable: false
|
|
2849
2850
|
}
|
|
2850
2851
|
},
|
|
2851
2852
|
bindings: {
|
|
@@ -2863,6 +2864,35 @@ var selectMeta = {
|
|
|
2863
2864
|
value: { type: "boolean" },
|
|
2864
2865
|
acceptsFallback: true,
|
|
2865
2866
|
acceptsTransforms: true
|
|
2867
|
+
},
|
|
2868
|
+
options: {
|
|
2869
|
+
label: "Options",
|
|
2870
|
+
description: "Reactive serializable options rendered by the select.",
|
|
2871
|
+
value: {
|
|
2872
|
+
type: "array",
|
|
2873
|
+
itemType: "object",
|
|
2874
|
+
fields: [
|
|
2875
|
+
{ path: "[].value", type: "string", label: "Value" },
|
|
2876
|
+
{ path: "[].label", type: "string", label: "Label" },
|
|
2877
|
+
{ path: "[].disabled", type: "boolean", label: "Disabled" }
|
|
2878
|
+
]
|
|
2879
|
+
},
|
|
2880
|
+
acceptsFallback: true,
|
|
2881
|
+
acceptsTransforms: true
|
|
2882
|
+
},
|
|
2883
|
+
searchValue: {
|
|
2884
|
+
label: "Search value",
|
|
2885
|
+
description: "Current query for the searchable option list.",
|
|
2886
|
+
value: { type: "string" },
|
|
2887
|
+
acceptsFallback: true,
|
|
2888
|
+
acceptsTransforms: true
|
|
2889
|
+
},
|
|
2890
|
+
searchable: {
|
|
2891
|
+
label: "Searchable",
|
|
2892
|
+
description: "Whether the option list exposes a search control.",
|
|
2893
|
+
value: { type: "boolean" },
|
|
2894
|
+
acceptsFallback: true,
|
|
2895
|
+
acceptsTransforms: true
|
|
2866
2896
|
}
|
|
2867
2897
|
},
|
|
2868
2898
|
events: {
|
|
@@ -2873,6 +2903,14 @@ var selectMeta = {
|
|
|
2873
2903
|
eventType: "select.valueChange",
|
|
2874
2904
|
fields: [{ path: "value", type: "string", label: "Value" }]
|
|
2875
2905
|
}
|
|
2906
|
+
},
|
|
2907
|
+
searchChange: {
|
|
2908
|
+
label: "Search change",
|
|
2909
|
+
description: "Runs when the searchable option query changes.",
|
|
2910
|
+
payload: {
|
|
2911
|
+
eventType: "select.searchChange",
|
|
2912
|
+
fields: [{ path: "value", type: "string", label: "Value" }]
|
|
2913
|
+
}
|
|
2876
2914
|
}
|
|
2877
2915
|
}
|
|
2878
2916
|
},
|
|
@@ -2882,6 +2920,12 @@ var selectMeta = {
|
|
|
2882
2920
|
eventType: "select.valueChange",
|
|
2883
2921
|
description: "Emitted when the selected option value changes.",
|
|
2884
2922
|
payloadFields: [{ path: "value", type: "string", label: "Value" }]
|
|
2923
|
+
},
|
|
2924
|
+
searchChange: {
|
|
2925
|
+
label: "Search change",
|
|
2926
|
+
eventType: "select.searchChange",
|
|
2927
|
+
description: "Emitted when the searchable option query changes.",
|
|
2928
|
+
payloadFields: [{ path: "value", type: "string", label: "Value" }]
|
|
2885
2929
|
}
|
|
2886
2930
|
},
|
|
2887
2931
|
props: {
|
|
@@ -2931,6 +2975,32 @@ var selectMeta = {
|
|
|
2931
2975
|
],
|
|
2932
2976
|
authoring: { authority: "instance" }
|
|
2933
2977
|
},
|
|
2978
|
+
searchable: {
|
|
2979
|
+
type: "boolean",
|
|
2980
|
+
category: "Behavior",
|
|
2981
|
+
label: "Searchable",
|
|
2982
|
+
default: false,
|
|
2983
|
+
authoring: { authority: "instance" }
|
|
2984
|
+
},
|
|
2985
|
+
defaultSearchValue: {
|
|
2986
|
+
type: "string",
|
|
2987
|
+
category: "State",
|
|
2988
|
+
label: "Initial search value",
|
|
2989
|
+
authoring: { authority: "instance" }
|
|
2990
|
+
},
|
|
2991
|
+
searchValue: {
|
|
2992
|
+
type: "string",
|
|
2993
|
+
category: "State",
|
|
2994
|
+
label: "Search value",
|
|
2995
|
+
authoring: { authority: "instance" }
|
|
2996
|
+
},
|
|
2997
|
+
searchPlaceholder: {
|
|
2998
|
+
type: "string",
|
|
2999
|
+
category: "Content",
|
|
3000
|
+
label: "Search placeholder",
|
|
3001
|
+
default: "Search options",
|
|
3002
|
+
authoring: { authority: "instance" }
|
|
3003
|
+
},
|
|
2934
3004
|
label: {
|
|
2935
3005
|
type: "string",
|
|
2936
3006
|
category: "Content",
|
|
@@ -6527,4 +6597,4 @@ export {
|
|
|
6527
6597
|
CAPABILITIES
|
|
6528
6598
|
};
|
|
6529
6599
|
|
|
6530
|
-
//# debugId=
|
|
6600
|
+
//# debugId=EE2EBB98C258E35F64756E2164756E21
|