panelui-native 0.49.0 → 0.53.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.
Files changed (60) hide show
  1. package/README.md +9 -1
  2. package/lib/module/components/candlestick-chart/index.js +1161 -0
  3. package/lib/module/components/candlestick-chart/index.js.map +1 -0
  4. package/lib/module/components/combobox/index.js +73 -7
  5. package/lib/module/components/combobox/index.js.map +1 -1
  6. package/lib/module/components/context-menu/index.js +529 -0
  7. package/lib/module/components/context-menu/index.js.map +1 -0
  8. package/lib/module/components/menu/index.js +18 -10
  9. package/lib/module/components/menu/index.js.map +1 -1
  10. package/lib/module/components/popover/index.js +71 -7
  11. package/lib/module/components/popover/index.js.map +1 -1
  12. package/lib/module/components/sortable/index.js +942 -0
  13. package/lib/module/components/sortable/index.js.map +1 -0
  14. package/lib/module/components/swipe/index.js +140 -5
  15. package/lib/module/components/swipe/index.js.map +1 -1
  16. package/lib/module/components/tabs/index.js +56 -15
  17. package/lib/module/components/tabs/index.js.map +1 -1
  18. package/lib/module/components/time-picker/index.js +295 -31
  19. package/lib/module/components/time-picker/index.js.map +1 -1
  20. package/lib/module/icons/index.js +29 -0
  21. package/lib/module/icons/index.js.map +1 -1
  22. package/lib/module/index.js +5 -2
  23. package/lib/module/index.js.map +1 -1
  24. package/lib/module/utils/haptics.js +19 -0
  25. package/lib/module/utils/haptics.js.map +1 -1
  26. package/lib/typescript/src/components/candlestick-chart/index.d.ts +278 -0
  27. package/lib/typescript/src/components/candlestick-chart/index.d.ts.map +1 -0
  28. package/lib/typescript/src/components/combobox/index.d.ts.map +1 -1
  29. package/lib/typescript/src/components/context-menu/index.d.ts +270 -0
  30. package/lib/typescript/src/components/context-menu/index.d.ts.map +1 -0
  31. package/lib/typescript/src/components/menu/index.d.ts +20 -20
  32. package/lib/typescript/src/components/menu/index.d.ts.map +1 -1
  33. package/lib/typescript/src/components/popover/index.d.ts +51 -1
  34. package/lib/typescript/src/components/popover/index.d.ts.map +1 -1
  35. package/lib/typescript/src/components/sortable/index.d.ts +248 -0
  36. package/lib/typescript/src/components/sortable/index.d.ts.map +1 -0
  37. package/lib/typescript/src/components/swipe/index.d.ts +35 -0
  38. package/lib/typescript/src/components/swipe/index.d.ts.map +1 -1
  39. package/lib/typescript/src/components/tabs/index.d.ts +34 -2
  40. package/lib/typescript/src/components/tabs/index.d.ts.map +1 -1
  41. package/lib/typescript/src/components/time-picker/index.d.ts.map +1 -1
  42. package/lib/typescript/src/icons/index.d.ts +8 -0
  43. package/lib/typescript/src/icons/index.d.ts.map +1 -1
  44. package/lib/typescript/src/index.d.ts +5 -2
  45. package/lib/typescript/src/index.d.ts.map +1 -1
  46. package/lib/typescript/src/utils/haptics.d.ts +14 -0
  47. package/lib/typescript/src/utils/haptics.d.ts.map +1 -1
  48. package/package.json +1 -1
  49. package/src/components/candlestick-chart/index.tsx +1360 -0
  50. package/src/components/combobox/index.tsx +84 -6
  51. package/src/components/context-menu/index.tsx +658 -0
  52. package/src/components/menu/index.tsx +17 -10
  53. package/src/components/popover/index.tsx +94 -6
  54. package/src/components/sortable/index.tsx +1266 -0
  55. package/src/components/swipe/index.tsx +165 -3
  56. package/src/components/tabs/index.tsx +82 -16
  57. package/src/components/time-picker/index.tsx +330 -35
  58. package/src/icons/index.tsx +22 -0
  59. package/src/index.ts +39 -0
  60. package/src/utils/haptics.ts +21 -0
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # PanelUI — React Native UI components for Expo, styled with Tailwind CSS
2
2
 
3
3
  **PanelUI** (`panelui-native`) is an accessible, high-performance React Native component
4
- library for Expo apps. 92 typed components — buttons, bottom sheets, dialogs, selects,
4
+ library for Expo apps. 94 typed components — buttons, bottom sheets, dialogs, selects,
5
5
  toasts, forms — styled with Tailwind CSS v4 and animated on the UI thread with Reanimated.
6
6
  Zero native code, so it runs in Expo Go.
7
7
 
@@ -184,7 +184,9 @@ you are done. Unstyled text on a white screen means the styles are not reaching
184
184
  | `CodeBlock` | Syntax-highlighted code with a header and a copy button |
185
185
  | `ColorPicker` | A colour chosen by dragging — a saturation square, a hue scale, and opacity |
186
186
  | `Combobox` | A text field that filters a list of options as you type |
187
+ | `ContextMenu` | Actions for a piece of content, opened by holding it |
187
188
  | `DatePicker` | A calendar behind a button |
189
+ | `DateTimePicker` | A day and a time of day, picked in one panel |
188
190
  | `Dialog` | Modal dialog with a backdrop and footer actions |
189
191
  | `Direction` | Reading direction for everything below it |
190
192
  | `Drawer` | Panel that slides in from an edge of the screen |
@@ -194,10 +196,12 @@ you are done. Unstyled text on a white screen means the styles are not reaching
194
196
  | `Flow` | Pan-and-zoom canvas of draggable nodes joined by animated edges |
195
197
  | `Form` | Form state — values, validation and submission — with no form library underneath |
196
198
  | `Frame` | Widget shell — a card of rows sitting in a titled tray |
199
+ | `GridItem` | Bento tiles, and the grid that places them |
197
200
  | `HeatmapChart` | Contribution grid with a themed colour ramp and a readout |
198
201
  | `Input` | Text field with label, description and error message |
199
202
  | `InputGroup` | Input with leading and trailing decorators |
200
203
  | `Item` | Row of media, text and actions for lists and settings |
204
+ | `Kpi` | One number, what it is doing, and the shape it made getting there |
201
205
  | `Label` | Form field label with required, invalid and disabled states |
202
206
  | `LineChart` | Animated time series, drawn on the UI thread |
203
207
  | `Loader` | Nine loading animations behind one variant prop |
@@ -211,10 +215,13 @@ you are done. Unstyled text on a white screen means the styles are not reaching
211
215
  | `OtpInput` | One-time-code field drawn as a row of separate cells |
212
216
  | `Pagination` | Paged navigation over a long result set |
213
217
  | `Panelside` | Collapsible side panel with its own search, groups and scenes |
218
+ | `PieChart` | One whole, divided between its parts |
214
219
  | `Plan` | What an agent intends to do, before it does it |
215
220
  | `Popover` | Panel anchored to the element that opened it |
216
221
  | `Post` | Social card — author, body, media and the counts underneath |
217
222
  | `Progress` | Determinate and indeterminate progress bar |
223
+ | `Questionnaire` | One question at a time, with progress, validation and a way back |
224
+ | `RadarChart` | Several measures of one thing, drawn as one shape |
218
225
  | `RadioGroup` | Single-select list of options |
219
226
  | `Rating` | A row of stars to read or set a score |
220
227
  | `Reasoning` | An agent’s thinking, collapsed until you want it |
@@ -231,6 +238,7 @@ you are done. Unstyled text on a white screen means the styles are not reaching
231
238
  | `Signature` | Sign with a finger, and get the result back out as SVG or PNG |
232
239
  | `Skeleton` | Shimmer placeholder for loading content |
233
240
  | `Slider` | Pick a value, or a span, by dragging a thumb along a track |
241
+ | `Sortable` | A list whose rows can be dragged into a different order |
234
242
  | `Soundwave` | What a voice looks like while an app listens |
235
243
  | `Sources` | The references behind an answer, behind a disclosure |
236
244
  | `Spinner` | Indeterminate loading indicator |