panelui-native 0.28.1 → 0.30.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 (82) hide show
  1. package/README.md +18 -1
  2. package/lib/module/components/calendar/index.js +350 -115
  3. package/lib/module/components/calendar/index.js.map +1 -1
  4. package/lib/module/components/code-block/highlight.js +363 -0
  5. package/lib/module/components/code-block/highlight.js.map +1 -0
  6. package/lib/module/components/code-block/index.js +313 -0
  7. package/lib/module/components/code-block/index.js.map +1 -0
  8. package/lib/module/components/date-picker/index.js +8 -1
  9. package/lib/module/components/date-picker/index.js.map +1 -1
  10. package/lib/module/components/menu/index.js +714 -0
  11. package/lib/module/components/menu/index.js.map +1 -0
  12. package/lib/module/components/plan/index.js +296 -0
  13. package/lib/module/components/plan/index.js.map +1 -0
  14. package/lib/module/components/popover/index.js +35 -4
  15. package/lib/module/components/popover/index.js.map +1 -1
  16. package/lib/module/components/radio-group/index.js +13 -8
  17. package/lib/module/components/radio-group/index.js.map +1 -1
  18. package/lib/module/components/reasoning/index.js +244 -0
  19. package/lib/module/components/reasoning/index.js.map +1 -0
  20. package/lib/module/components/sources/index.js +221 -0
  21. package/lib/module/components/sources/index.js.map +1 -0
  22. package/lib/module/components/task/index.js +300 -0
  23. package/lib/module/components/task/index.js.map +1 -0
  24. package/lib/module/components/textarea/index.js +295 -0
  25. package/lib/module/components/textarea/index.js.map +1 -0
  26. package/lib/module/components/tooltip/index.js +179 -23
  27. package/lib/module/components/tooltip/index.js.map +1 -1
  28. package/lib/module/icons/index.js +139 -0
  29. package/lib/module/icons/index.js.map +1 -1
  30. package/lib/module/index.js +8 -0
  31. package/lib/module/index.js.map +1 -1
  32. package/lib/module/primitives/collapse.js +112 -0
  33. package/lib/module/primitives/collapse.js.map +1 -0
  34. package/lib/typescript/src/components/calendar/index.d.ts +68 -3
  35. package/lib/typescript/src/components/calendar/index.d.ts.map +1 -1
  36. package/lib/typescript/src/components/code-block/highlight.d.ts +39 -0
  37. package/lib/typescript/src/components/code-block/highlight.d.ts.map +1 -0
  38. package/lib/typescript/src/components/code-block/index.d.ts +113 -0
  39. package/lib/typescript/src/components/code-block/index.d.ts.map +1 -0
  40. package/lib/typescript/src/components/date-picker/index.d.ts +7 -1
  41. package/lib/typescript/src/components/date-picker/index.d.ts.map +1 -1
  42. package/lib/typescript/src/components/menu/index.d.ts +261 -0
  43. package/lib/typescript/src/components/menu/index.d.ts.map +1 -0
  44. package/lib/typescript/src/components/plan/index.d.ts +127 -0
  45. package/lib/typescript/src/components/plan/index.d.ts.map +1 -0
  46. package/lib/typescript/src/components/popover/index.d.ts +35 -1
  47. package/lib/typescript/src/components/popover/index.d.ts.map +1 -1
  48. package/lib/typescript/src/components/radio-group/index.d.ts.map +1 -1
  49. package/lib/typescript/src/components/reasoning/index.d.ts +97 -0
  50. package/lib/typescript/src/components/reasoning/index.d.ts.map +1 -0
  51. package/lib/typescript/src/components/sources/index.d.ts +85 -0
  52. package/lib/typescript/src/components/sources/index.d.ts.map +1 -0
  53. package/lib/typescript/src/components/task/index.d.ts +103 -0
  54. package/lib/typescript/src/components/task/index.d.ts.map +1 -0
  55. package/lib/typescript/src/components/textarea/index.d.ts +175 -0
  56. package/lib/typescript/src/components/textarea/index.d.ts.map +1 -0
  57. package/lib/typescript/src/components/tooltip/index.d.ts +63 -8
  58. package/lib/typescript/src/components/tooltip/index.d.ts.map +1 -1
  59. package/lib/typescript/src/icons/index.d.ts +14 -0
  60. package/lib/typescript/src/icons/index.d.ts.map +1 -1
  61. package/lib/typescript/src/index.d.ts +10 -2
  62. package/lib/typescript/src/index.d.ts.map +1 -1
  63. package/lib/typescript/src/primitives/collapse.d.ts +42 -0
  64. package/lib/typescript/src/primitives/collapse.d.ts.map +1 -0
  65. package/package.json +1 -1
  66. package/src/components/calendar/index.tsx +389 -122
  67. package/src/components/code-block/highlight.ts +278 -0
  68. package/src/components/code-block/index.tsx +341 -0
  69. package/src/components/date-picker/index.tsx +19 -1
  70. package/src/components/menu/index.tsx +812 -0
  71. package/src/components/plan/index.tsx +325 -0
  72. package/src/components/popover/index.tsx +69 -2
  73. package/src/components/radio-group/index.tsx +11 -2
  74. package/src/components/reasoning/index.tsx +297 -0
  75. package/src/components/sources/index.tsx +278 -0
  76. package/src/components/task/index.tsx +329 -0
  77. package/src/components/textarea/index.tsx +381 -0
  78. package/src/components/tooltip/index.tsx +203 -20
  79. package/src/icons/index.tsx +102 -0
  80. package/src/index.ts +71 -0
  81. package/src/primitives/collapse.tsx +128 -0
  82. package/theme.css +112 -0
package/README.md CHANGED
@@ -167,18 +167,26 @@ you are done. Unstyled text on a white screen means the styles are not reaching
167
167
  | --- | --- |
168
168
  | `Accordion` | Collapsible sections with single or multiple selection |
169
169
  | `Alert` | Status message with a built-in icon |
170
+ | `AreaChart` | Filled bands over time, stacked or overlaid |
170
171
  | `Attachment` | File row with upload states, built on Item |
171
172
  | `Avatar` | User image with an initials fallback and an optional badge overlay |
172
173
  | `Badge` | Compact status label, dot, or notification count |
174
+ | `BarChart` | Categories compared by length, grouped or stacked |
173
175
  | `BottomSheet` | Draggable sheet anchored to the bottom of the screen |
174
176
  | `Breadcrumb` | The trail of links back up the hierarchy to the current page |
175
177
  | `Button` | Pressable action with variants, sizes, loading state and icon slots |
178
+ | `Calendar` | A month of days, for picking one, several, or a range |
176
179
  | `Card` | Content surface with header, body and footer |
180
+ | `Carousel` | A run of slides, one at a time, dragged with a finger |
177
181
  | `Checkbox` | Animated checkbox, as a row or a selectable card |
178
182
  | `Chip` | Interactive pill — a filter, a tag, or a removable token |
183
+ | `DatePicker` | A calendar behind a button |
179
184
  | `Dialog` | Modal dialog with a backdrop and footer actions |
180
185
  | `Direction` | Reading direction for everything below it |
181
186
  | `EmptyState` | Placeholder for a list or screen with no content |
187
+ | `Field` | Layout and validation-state kit a form control composes into |
188
+ | `Flow` | Pan-and-zoom canvas of draggable nodes joined by animated edges |
189
+ | `Form` | Form state — values, validation and submission — with no form library underneath |
182
190
  | `Frame` | Widget shell — a card of rows sitting in a titled tray |
183
191
  | `HeatmapChart` | Contribution grid with a themed colour ramp and a readout |
184
192
  | `Input` | Text field with label, description and error message |
@@ -186,19 +194,27 @@ you are done. Unstyled text on a white screen means the styles are not reaching
186
194
  | `Item` | Row of media, text and actions for lists and settings |
187
195
  | `Label` | Form field label with required, invalid and disabled states |
188
196
  | `LineChart` | Animated time series, drawn on the UI thread |
197
+ | `Loader` | Nine loading animations behind one variant prop |
198
+ | `Map` | Vector map whose basemap is drawn from your theme tokens |
189
199
  | `Marker` | Inline note between conversation turns |
200
+ | `Menu` | The list of things you can do to something |
190
201
  | `Message` | Chat turn with avatar, bubble, header and footer |
191
202
  | `MessageScroller` | Scroll behaviour a chat transcript needs |
203
+ | `NumberInput` | Numeric field stepped by buttons or typed by hand |
204
+ | `OtpInput` | One-time-code field drawn as a row of separate cells |
192
205
  | `Popover` | Panel anchored to the element that opened it |
193
206
  | `Progress` | Determinate and indeterminate progress bar |
194
207
  | `RadioGroup` | Single-select list of options |
208
+ | `Rating` | A row of stars to read or set a score |
209
+ | `RingChart` | Concentric arcs, each measured against its own target |
195
210
  | `ScrollCanvas` | Image frame whose contents move as you scroll |
196
211
  | `ScrollFade` | Fades the edges of a scroll container |
197
212
  | `ScrollText` | Text that resolves word by word as you scroll |
198
213
  | `SectionRail` | Floating section navigator for a long screen |
199
214
  | `Select` | Picker shown in a bottom sheet, expanded in place, or floating over the page |
200
- | `Separator` | Horizontal or vertical rule between content |
215
+ | `Separator` | Horizontal or vertical rule between content, optionally labelled |
201
216
  | `Shimmer` | Animated highlight sweeping across content |
217
+ | `Signature` | Sign with a finger, and get the result back out as SVG or PNG |
202
218
  | `Skeleton` | Shimmer placeholder for loading content |
203
219
  | `Slider` | Pick a value by dragging a thumb along a track |
204
220
  | `Soundwave` | What a voice looks like while an app listens |
@@ -211,6 +227,7 @@ you are done. Unstyled text on a white screen means the styles are not reaching
211
227
  | `Timeline` | Vertical sequence of events |
212
228
  | `Toast` | Transient notification queue with swipe to dismiss |
213
229
  | `ToggleButton` | A button that stays down, on its own or in a group |
230
+ | `Tooltip` | A small label that names the control under your finger |
214
231
  | `Typography` | Semantic text presets |
215
232
 
216
233
  Plus `PanelUIProvider`, `Portal`, `AnimatedPressable`, `KeyboardAvoider`, `ScrollProgress`,