@xoroh/axis 0.1.1 → 0.1.2

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.
@@ -0,0 +1,2 @@
1
+ export { g as A11yDir, A as Align, h as AttachmentError, i as AttachmentLimits, j as AttachmentState, k as AutofocusEvent, C as CalendarCell, l as CalendarDateParts, m as CalendarDirection, n as CalendarGrid, o as CalendarGridOptions, p as CalendarKey, q as CalendarMonthNameStyle, r as CalendarMonthParts, s as CalendarRange, t as CalendarRangePosition, u as CalendarSelection, v as CalendarSelectionMode, w as ChatAttachment, x as ChatMessage, y as ChatRole, z as ChatSource, B as ChatStatus, E as CollectionItem, G as CollectionMatch, D as DismissBranches, H as DismissPolicy, I as DismissPolicyOptions, J as DismissSource, K as DismissTriggers, L as DismissWiringOptions, F as FieldErrors, M as FirstDayOfWeek, N as FocusTrapModel, Q as IdScope, T as NumberFormatSpec, b as OverlayId, e as OverlayModalityRegistry, U as OverlayModalityState, P as Placement, V as PortalEntry, W as PortalRegistry, X as PositioningOptions, Y as PresenceModel, d as PresenceState, Z as PressModel, _ as PressPhase, $ as PromptInputSubmitMode, a0 as Rect, R as RenderProp, a1 as RovingItem, a2 as RovingModel, a3 as RovingOptions, a4 as RovingOrientation, a5 as Selection, a6 as SelectionKey, a7 as SelectionMode, a8 as SliderCommitOptions, f as SliderOrientation, S as SlotProps, a9 as StateAction, a as StateStyle, aa as StickToBottomMetrics, ab as TimeParts, ac as TimePickerFormat, ad as TimePickerValue, ae as ToastQueue, af as ToolCallState, ag as TrapMove, ah as TypeaheadBuffer, ai as addTimeMinutes, aj as appendTypeaheadQuery, ak as buildCalendarGrid, al as clampNumberValue, am as clampSliderValue, an as composeEventHandlers, ao as createDismissPolicy, ap as createIdScope, aq as createOverlayModality, ar as createPortalRegistry, as as createPresenceModel, at as createToastQueue, au as daysInCalendarMonth, av as defaultCollectionMatch, aw as dismissBranchesFor, ax as dismissTriggersFor, ay as filterCollectionKeys, az as findCollectionText, aA as formatNumberValue, aB as formatTimeParts, aC as formatTimeValue, aD as getSharedOverlayModality, aE as isAtBottom, aF as isCalendarDateDisabled, aG as isChatBusy, aH as isChatError, aI as isChatStreaming, aJ as isEmptyValue, aK as isSelected, aL as isToolCallApproval, aM as isToolCallComplete, aN as isToolCallError, aO as isToolCallRunning, aP as isTypeaheadExpired, aQ as isUserMessage, aR as leadingBlankCount, aS as matchTypeaheadKey, aT as mergeFormErrors, aU as mergeSlotProps, aV as minutesForStep, aW as nearestSliderThumbIndex, aX as nextBranchIndex, aY as nextPresenceState, aZ as nextTrapIndex, a_ as normalizeBranchIndex, a$ as normalizeChatSources, b0 as normalizeFieldErrors, b1 as normalizeSelection, b2 as normalizeSliderValues, b3 as normalizeTimeValue, b4 as parseCalendarDate, b5 as parseCalendarMonth, b6 as parseNumberValue, b7 as previousBranchIndex, b8 as resolveAutofocus, b9 as resolveCalendarFocus, ba as resolveCalendarMonthNames, bb as resolveCalendarSelection, bc as resolveCalendarWeekdayNames, bd as resolveCanSend, be as resolveChatMessageLabel, bf as resolveChatMessageSpeaker, bg as resolveChatSourceLabel, bh as resolveComposerHeight, bi as resolveDir, bj as resolveFloatingRect, bk as resolveFloatingSide, bl as resolveLocaleFirstDay, bm as resolvePortalTarget, bn as resolveReasoningOpen, bo as resolveRender, bp as resolveScrollButtonVisible, bq as resolveSliderCommit, br as resolveStyle, bs as resolveToolCallLabel, bt as shiftCalendarMonth, bu as shouldCancelOnEscapeKey, bv as shouldDismissOn, bw as shouldHideBranchPicker, bx as shouldSubmitOnKey, by as sliderRatioFromLocation, bz as sliderValueFromRatio, bA as sliderValuePercent, bB as snapSliderValue, bC as stepNumberValue, bD as toCalendarDate, bE as toCalendarMonth, bF as toTwentyFourHour, bG as toggleSelection, bH as updateAttachment, bI as useAttachments, bJ as useBranch, bK as useCollectionRegistry, bL as useControllableState, bM as useOverlayModality, bN as useOverlayRegistration, bO as usePresence, bP as usePress, bQ as usePromptInput, bR as useRovingModel, bS as useSelection, bT as useStickToBottom, bU as useToolCall, bV as validateAttachment } from './models-yZXqW4Ev.cjs';
2
+ import 'react';
@@ -0,0 +1,2 @@
1
+ export { g as A11yDir, A as Align, h as AttachmentError, i as AttachmentLimits, j as AttachmentState, k as AutofocusEvent, C as CalendarCell, l as CalendarDateParts, m as CalendarDirection, n as CalendarGrid, o as CalendarGridOptions, p as CalendarKey, q as CalendarMonthNameStyle, r as CalendarMonthParts, s as CalendarRange, t as CalendarRangePosition, u as CalendarSelection, v as CalendarSelectionMode, w as ChatAttachment, x as ChatMessage, y as ChatRole, z as ChatSource, B as ChatStatus, E as CollectionItem, G as CollectionMatch, D as DismissBranches, H as DismissPolicy, I as DismissPolicyOptions, J as DismissSource, K as DismissTriggers, L as DismissWiringOptions, F as FieldErrors, M as FirstDayOfWeek, N as FocusTrapModel, Q as IdScope, T as NumberFormatSpec, b as OverlayId, e as OverlayModalityRegistry, U as OverlayModalityState, P as Placement, V as PortalEntry, W as PortalRegistry, X as PositioningOptions, Y as PresenceModel, d as PresenceState, Z as PressModel, _ as PressPhase, $ as PromptInputSubmitMode, a0 as Rect, R as RenderProp, a1 as RovingItem, a2 as RovingModel, a3 as RovingOptions, a4 as RovingOrientation, a5 as Selection, a6 as SelectionKey, a7 as SelectionMode, a8 as SliderCommitOptions, f as SliderOrientation, S as SlotProps, a9 as StateAction, a as StateStyle, aa as StickToBottomMetrics, ab as TimeParts, ac as TimePickerFormat, ad as TimePickerValue, ae as ToastQueue, af as ToolCallState, ag as TrapMove, ah as TypeaheadBuffer, ai as addTimeMinutes, aj as appendTypeaheadQuery, ak as buildCalendarGrid, al as clampNumberValue, am as clampSliderValue, an as composeEventHandlers, ao as createDismissPolicy, ap as createIdScope, aq as createOverlayModality, ar as createPortalRegistry, as as createPresenceModel, at as createToastQueue, au as daysInCalendarMonth, av as defaultCollectionMatch, aw as dismissBranchesFor, ax as dismissTriggersFor, ay as filterCollectionKeys, az as findCollectionText, aA as formatNumberValue, aB as formatTimeParts, aC as formatTimeValue, aD as getSharedOverlayModality, aE as isAtBottom, aF as isCalendarDateDisabled, aG as isChatBusy, aH as isChatError, aI as isChatStreaming, aJ as isEmptyValue, aK as isSelected, aL as isToolCallApproval, aM as isToolCallComplete, aN as isToolCallError, aO as isToolCallRunning, aP as isTypeaheadExpired, aQ as isUserMessage, aR as leadingBlankCount, aS as matchTypeaheadKey, aT as mergeFormErrors, aU as mergeSlotProps, aV as minutesForStep, aW as nearestSliderThumbIndex, aX as nextBranchIndex, aY as nextPresenceState, aZ as nextTrapIndex, a_ as normalizeBranchIndex, a$ as normalizeChatSources, b0 as normalizeFieldErrors, b1 as normalizeSelection, b2 as normalizeSliderValues, b3 as normalizeTimeValue, b4 as parseCalendarDate, b5 as parseCalendarMonth, b6 as parseNumberValue, b7 as previousBranchIndex, b8 as resolveAutofocus, b9 as resolveCalendarFocus, ba as resolveCalendarMonthNames, bb as resolveCalendarSelection, bc as resolveCalendarWeekdayNames, bd as resolveCanSend, be as resolveChatMessageLabel, bf as resolveChatMessageSpeaker, bg as resolveChatSourceLabel, bh as resolveComposerHeight, bi as resolveDir, bj as resolveFloatingRect, bk as resolveFloatingSide, bl as resolveLocaleFirstDay, bm as resolvePortalTarget, bn as resolveReasoningOpen, bo as resolveRender, bp as resolveScrollButtonVisible, bq as resolveSliderCommit, br as resolveStyle, bs as resolveToolCallLabel, bt as shiftCalendarMonth, bu as shouldCancelOnEscapeKey, bv as shouldDismissOn, bw as shouldHideBranchPicker, bx as shouldSubmitOnKey, by as sliderRatioFromLocation, bz as sliderValueFromRatio, bA as sliderValuePercent, bB as snapSliderValue, bC as stepNumberValue, bD as toCalendarDate, bE as toCalendarMonth, bF as toTwentyFourHour, bG as toggleSelection, bH as updateAttachment, bI as useAttachments, bJ as useBranch, bK as useCollectionRegistry, bL as useControllableState, bM as useOverlayModality, bN as useOverlayRegistration, bO as usePresence, bP as usePress, bQ as usePromptInput, bR as useRovingModel, bS as useSelection, bT as useStickToBottom, bU as useToolCall, bV as validateAttachment } from './models-yZXqW4Ev.js';
2
+ import 'react';
package/dist/models.js ADDED
@@ -0,0 +1,212 @@
1
+ import {
2
+ addTimeMinutes,
3
+ appendTypeaheadQuery,
4
+ buildCalendarGrid,
5
+ clampNumberValue,
6
+ clampSliderValue,
7
+ composeEventHandlers,
8
+ createDismissPolicy,
9
+ createIdScope,
10
+ createOverlayModality,
11
+ createPortalRegistry,
12
+ createPresenceModel,
13
+ createToastQueue,
14
+ daysInCalendarMonth,
15
+ defaultCollectionMatch,
16
+ dismissBranchesFor,
17
+ dismissTriggersFor,
18
+ filterCollectionKeys,
19
+ findCollectionText,
20
+ formatNumberValue,
21
+ formatTimeParts,
22
+ formatTimeValue,
23
+ getSharedOverlayModality,
24
+ isAtBottom,
25
+ isCalendarDateDisabled,
26
+ isChatBusy,
27
+ isChatError,
28
+ isChatStreaming,
29
+ isEmptyValue,
30
+ isSelected,
31
+ isToolCallApproval,
32
+ isToolCallComplete,
33
+ isToolCallError,
34
+ isToolCallRunning,
35
+ isTypeaheadExpired,
36
+ isUserMessage,
37
+ leadingBlankCount,
38
+ matchTypeaheadKey,
39
+ mergeFormErrors,
40
+ mergeSlotProps,
41
+ minutesForStep,
42
+ nearestSliderThumbIndex,
43
+ nextBranchIndex,
44
+ nextPresenceState,
45
+ nextTrapIndex,
46
+ normalizeBranchIndex,
47
+ normalizeChatSources,
48
+ normalizeFieldErrors,
49
+ normalizeSelection,
50
+ normalizeSliderValues,
51
+ normalizeTimeValue,
52
+ parseCalendarDate,
53
+ parseCalendarMonth,
54
+ parseNumberValue,
55
+ previousBranchIndex,
56
+ resolveAutofocus,
57
+ resolveCalendarFocus,
58
+ resolveCalendarMonthNames,
59
+ resolveCalendarSelection,
60
+ resolveCalendarWeekdayNames,
61
+ resolveCanSend,
62
+ resolveChatMessageLabel,
63
+ resolveChatMessageSpeaker,
64
+ resolveChatSourceLabel,
65
+ resolveComposerHeight,
66
+ resolveDir,
67
+ resolveFloatingRect,
68
+ resolveFloatingSide,
69
+ resolveLocaleFirstDay,
70
+ resolvePortalTarget,
71
+ resolveReasoningOpen,
72
+ resolveRender,
73
+ resolveScrollButtonVisible,
74
+ resolveSliderCommit,
75
+ resolveStyle,
76
+ resolveToolCallLabel,
77
+ shiftCalendarMonth,
78
+ shouldCancelOnEscapeKey,
79
+ shouldDismissOn,
80
+ shouldHideBranchPicker,
81
+ shouldSubmitOnKey,
82
+ sliderRatioFromLocation,
83
+ sliderValueFromRatio,
84
+ sliderValuePercent,
85
+ snapSliderValue,
86
+ stepNumberValue,
87
+ toCalendarDate,
88
+ toCalendarMonth,
89
+ toTwentyFourHour,
90
+ toggleSelection,
91
+ updateAttachment,
92
+ useAttachments,
93
+ useBranch,
94
+ useCollectionRegistry,
95
+ useControllableState,
96
+ useOverlayModality,
97
+ useOverlayRegistration,
98
+ usePresence,
99
+ usePress,
100
+ usePromptInput,
101
+ useRovingModel,
102
+ useSelection,
103
+ useStickToBottom,
104
+ useToolCall,
105
+ validateAttachment
106
+ } from "./chunk-V5CVLWU2.js";
107
+ export {
108
+ addTimeMinutes,
109
+ appendTypeaheadQuery,
110
+ buildCalendarGrid,
111
+ clampNumberValue,
112
+ clampSliderValue,
113
+ composeEventHandlers,
114
+ createDismissPolicy,
115
+ createIdScope,
116
+ createOverlayModality,
117
+ createPortalRegistry,
118
+ createPresenceModel,
119
+ createToastQueue,
120
+ daysInCalendarMonth,
121
+ defaultCollectionMatch,
122
+ dismissBranchesFor,
123
+ dismissTriggersFor,
124
+ filterCollectionKeys,
125
+ findCollectionText,
126
+ formatNumberValue,
127
+ formatTimeParts,
128
+ formatTimeValue,
129
+ getSharedOverlayModality,
130
+ isAtBottom,
131
+ isCalendarDateDisabled,
132
+ isChatBusy,
133
+ isChatError,
134
+ isChatStreaming,
135
+ isEmptyValue,
136
+ isSelected,
137
+ isToolCallApproval,
138
+ isToolCallComplete,
139
+ isToolCallError,
140
+ isToolCallRunning,
141
+ isTypeaheadExpired,
142
+ isUserMessage,
143
+ leadingBlankCount,
144
+ matchTypeaheadKey,
145
+ mergeFormErrors,
146
+ mergeSlotProps,
147
+ minutesForStep,
148
+ nearestSliderThumbIndex,
149
+ nextBranchIndex,
150
+ nextPresenceState,
151
+ nextTrapIndex,
152
+ normalizeBranchIndex,
153
+ normalizeChatSources,
154
+ normalizeFieldErrors,
155
+ normalizeSelection,
156
+ normalizeSliderValues,
157
+ normalizeTimeValue,
158
+ parseCalendarDate,
159
+ parseCalendarMonth,
160
+ parseNumberValue,
161
+ previousBranchIndex,
162
+ resolveAutofocus,
163
+ resolveCalendarFocus,
164
+ resolveCalendarMonthNames,
165
+ resolveCalendarSelection,
166
+ resolveCalendarWeekdayNames,
167
+ resolveCanSend,
168
+ resolveChatMessageLabel,
169
+ resolveChatMessageSpeaker,
170
+ resolveChatSourceLabel,
171
+ resolveComposerHeight,
172
+ resolveDir,
173
+ resolveFloatingRect,
174
+ resolveFloatingSide,
175
+ resolveLocaleFirstDay,
176
+ resolvePortalTarget,
177
+ resolveReasoningOpen,
178
+ resolveRender,
179
+ resolveScrollButtonVisible,
180
+ resolveSliderCommit,
181
+ resolveStyle,
182
+ resolveToolCallLabel,
183
+ shiftCalendarMonth,
184
+ shouldCancelOnEscapeKey,
185
+ shouldDismissOn,
186
+ shouldHideBranchPicker,
187
+ shouldSubmitOnKey,
188
+ sliderRatioFromLocation,
189
+ sliderValueFromRatio,
190
+ sliderValuePercent,
191
+ snapSliderValue,
192
+ stepNumberValue,
193
+ toCalendarDate,
194
+ toCalendarMonth,
195
+ toTwentyFourHour,
196
+ toggleSelection,
197
+ updateAttachment,
198
+ useAttachments,
199
+ useBranch,
200
+ useCollectionRegistry,
201
+ useControllableState,
202
+ useOverlayModality,
203
+ useOverlayRegistration,
204
+ usePresence,
205
+ usePress,
206
+ usePromptInput,
207
+ useRovingModel,
208
+ useSelection,
209
+ useStickToBottom,
210
+ useToolCall,
211
+ validateAttachment
212
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoroh/axis",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Unstyled, accessible UI components and native interaction primitives for React Native.",
5
5
  "keywords": [
6
6
  "react-native",
@@ -77,6 +77,7 @@
77
77
  "LICENSE"
78
78
  ],
79
79
  "scripts": {
80
+ "prepack": "bun run build",
80
81
  "build": "tsup src/index.ts src/models.ts --format esm,cjs --dts --dts-resolve --external react --external react-native --out-dir dist --clean",
81
82
  "typecheck": "tsc --noEmit",
82
83
  "test": "vitest run",