panelui-native 0.28.1 → 0.32.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/README.md +22 -3
- package/lib/module/components/calendar/index.js +450 -132
- package/lib/module/components/calendar/index.js.map +1 -1
- package/lib/module/components/code-block/highlight.js +363 -0
- package/lib/module/components/code-block/highlight.js.map +1 -0
- package/lib/module/components/code-block/index.js +313 -0
- package/lib/module/components/code-block/index.js.map +1 -0
- package/lib/module/components/date-picker/index.js +8 -1
- package/lib/module/components/date-picker/index.js.map +1 -1
- package/lib/module/components/heatmap-chart/index.js +9 -8
- package/lib/module/components/heatmap-chart/index.js.map +1 -1
- package/lib/module/components/map/index.js +50 -4
- package/lib/module/components/map/index.js.map +1 -1
- package/lib/module/components/menu/index.js +714 -0
- package/lib/module/components/menu/index.js.map +1 -0
- package/lib/module/components/plan/index.js +582 -0
- package/lib/module/components/plan/index.js.map +1 -0
- package/lib/module/components/popover/index.js +35 -4
- package/lib/module/components/popover/index.js.map +1 -1
- package/lib/module/components/post/index.js +992 -0
- package/lib/module/components/post/index.js.map +1 -0
- package/lib/module/components/radio-group/index.js +13 -8
- package/lib/module/components/radio-group/index.js.map +1 -1
- package/lib/module/components/reasoning/index.js +244 -0
- package/lib/module/components/reasoning/index.js.map +1 -0
- package/lib/module/components/response/index.js +296 -0
- package/lib/module/components/response/index.js.map +1 -0
- package/lib/module/components/response/markdown.js +463 -0
- package/lib/module/components/response/markdown.js.map +1 -0
- package/lib/module/components/select/index.js +97 -15
- package/lib/module/components/select/index.js.map +1 -1
- package/lib/module/components/sources/index.js +221 -0
- package/lib/module/components/sources/index.js.map +1 -0
- package/lib/module/components/table/index.js +632 -0
- package/lib/module/components/table/index.js.map +1 -0
- package/lib/module/components/task/index.js +300 -0
- package/lib/module/components/task/index.js.map +1 -0
- package/lib/module/components/textarea/index.js +295 -0
- package/lib/module/components/textarea/index.js.map +1 -0
- package/lib/module/components/tooltip/index.js +179 -23
- package/lib/module/components/tooltip/index.js.map +1 -1
- package/lib/module/icons/index.js +339 -0
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/index.js +12 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/primitives/collapse.js +112 -0
- package/lib/module/primitives/collapse.js.map +1 -0
- package/lib/module/utils/date.js +129 -22
- package/lib/module/utils/date.js.map +1 -1
- package/lib/typescript/src/components/calendar/index.d.ts +79 -5
- package/lib/typescript/src/components/calendar/index.d.ts.map +1 -1
- package/lib/typescript/src/components/code-block/highlight.d.ts +39 -0
- package/lib/typescript/src/components/code-block/highlight.d.ts.map +1 -0
- package/lib/typescript/src/components/code-block/index.d.ts +113 -0
- package/lib/typescript/src/components/code-block/index.d.ts.map +1 -0
- package/lib/typescript/src/components/date-picker/index.d.ts +7 -1
- package/lib/typescript/src/components/date-picker/index.d.ts.map +1 -1
- package/lib/typescript/src/components/heatmap-chart/index.d.ts.map +1 -1
- package/lib/typescript/src/components/map/index.d.ts +8 -1
- package/lib/typescript/src/components/map/index.d.ts.map +1 -1
- package/lib/typescript/src/components/menu/index.d.ts +261 -0
- package/lib/typescript/src/components/menu/index.d.ts.map +1 -0
- package/lib/typescript/src/components/plan/index.d.ts +238 -0
- package/lib/typescript/src/components/plan/index.d.ts.map +1 -0
- package/lib/typescript/src/components/popover/index.d.ts +35 -1
- package/lib/typescript/src/components/popover/index.d.ts.map +1 -1
- package/lib/typescript/src/components/post/index.d.ts +358 -0
- package/lib/typescript/src/components/post/index.d.ts.map +1 -0
- package/lib/typescript/src/components/radio-group/index.d.ts.map +1 -1
- package/lib/typescript/src/components/reasoning/index.d.ts +97 -0
- package/lib/typescript/src/components/reasoning/index.d.ts.map +1 -0
- package/lib/typescript/src/components/response/index.d.ts +91 -0
- package/lib/typescript/src/components/response/index.d.ts.map +1 -0
- package/lib/typescript/src/components/response/markdown.d.ts +88 -0
- package/lib/typescript/src/components/response/markdown.d.ts.map +1 -0
- package/lib/typescript/src/components/select/index.d.ts +27 -2
- package/lib/typescript/src/components/select/index.d.ts.map +1 -1
- package/lib/typescript/src/components/sources/index.d.ts +85 -0
- package/lib/typescript/src/components/sources/index.d.ts.map +1 -0
- package/lib/typescript/src/components/table/index.d.ts +274 -0
- package/lib/typescript/src/components/table/index.d.ts.map +1 -0
- package/lib/typescript/src/components/task/index.d.ts +103 -0
- package/lib/typescript/src/components/task/index.d.ts.map +1 -0
- package/lib/typescript/src/components/textarea/index.d.ts +175 -0
- package/lib/typescript/src/components/textarea/index.d.ts.map +1 -0
- package/lib/typescript/src/components/tooltip/index.d.ts +63 -8
- package/lib/typescript/src/components/tooltip/index.d.ts.map +1 -1
- package/lib/typescript/src/icons/index.d.ts +54 -1
- package/lib/typescript/src/icons/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +14 -3
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/primitives/collapse.d.ts +42 -0
- package/lib/typescript/src/primitives/collapse.d.ts.map +1 -0
- package/lib/typescript/src/utils/date.d.ts +49 -5
- package/lib/typescript/src/utils/date.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/calendar/index.tsx +519 -139
- package/src/components/code-block/highlight.ts +278 -0
- package/src/components/code-block/index.tsx +341 -0
- package/src/components/date-picker/index.tsx +19 -1
- package/src/components/heatmap-chart/index.tsx +9 -9
- package/src/components/map/index.tsx +53 -4
- package/src/components/menu/index.tsx +812 -0
- package/src/components/plan/index.tsx +648 -0
- package/src/components/popover/index.tsx +69 -2
- package/src/components/post/index.tsx +1116 -0
- package/src/components/radio-group/index.tsx +11 -2
- package/src/components/reasoning/index.tsx +297 -0
- package/src/components/response/index.tsx +390 -0
- package/src/components/response/markdown.ts +489 -0
- package/src/components/select/index.tsx +132 -12
- package/src/components/sources/index.tsx +278 -0
- package/src/components/table/index.tsx +747 -0
- package/src/components/task/index.tsx +329 -0
- package/src/components/textarea/index.tsx +381 -0
- package/src/components/tooltip/index.tsx +203 -20
- package/src/icons/index.tsx +264 -1
- package/src/index.ts +131 -0
- package/src/primitives/collapse.tsx +128 -0
- package/src/utils/date.ts +146 -22
- package/theme.css +112 -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.
|
|
4
|
+
library for Expo apps. 71 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
|
|
|
@@ -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,28 @@ 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 |
|
|
206
|
+
| `Post` | Social card — author, body, media and the counts underneath |
|
|
193
207
|
| `Progress` | Determinate and indeterminate progress bar |
|
|
194
208
|
| `RadioGroup` | Single-select list of options |
|
|
209
|
+
| `Rating` | A row of stars to read or set a score |
|
|
210
|
+
| `RingChart` | Concentric arcs, each measured against its own target |
|
|
195
211
|
| `ScrollCanvas` | Image frame whose contents move as you scroll |
|
|
196
212
|
| `ScrollFade` | Fades the edges of a scroll container |
|
|
197
213
|
| `ScrollText` | Text that resolves word by word as you scroll |
|
|
198
214
|
| `SectionRail` | Floating section navigator for a long screen |
|
|
199
|
-
| `Select` | Picker shown in a bottom sheet, expanded in place, or floating over the page |
|
|
200
|
-
| `Separator` | Horizontal or vertical rule between content |
|
|
215
|
+
| `Select` | Picker shown in a bottom sheet, expanded in place, or floating over the page, with an optional filter |
|
|
216
|
+
| `Separator` | Horizontal or vertical rule between content, optionally labelled |
|
|
201
217
|
| `Shimmer` | Animated highlight sweeping across content |
|
|
218
|
+
| `Signature` | Sign with a finger, and get the result back out as SVG or PNG |
|
|
202
219
|
| `Skeleton` | Shimmer placeholder for loading content |
|
|
203
220
|
| `Slider` | Pick a value by dragging a thumb along a track |
|
|
204
221
|
| `Soundwave` | What a voice looks like while an app listens |
|
|
@@ -206,11 +223,13 @@ you are done. Unstyled text on a white screen means the styles are not reaching
|
|
|
206
223
|
| `Steps` | Stepper for multi-step flows |
|
|
207
224
|
| `Surface` | Elevated container with a variant ladder |
|
|
208
225
|
| `Switch` | Animated on/off toggle |
|
|
226
|
+
| `Table` | Rows and columns that stay lined up, with sortable headers |
|
|
209
227
|
| `Tabs` | Segmented navigation with an animated indicator |
|
|
210
228
|
| `ThinkingOrb` | Dotted orb saying which kind of busy an agent is |
|
|
211
229
|
| `Timeline` | Vertical sequence of events |
|
|
212
230
|
| `Toast` | Transient notification queue with swipe to dismiss |
|
|
213
231
|
| `ToggleButton` | A button that stays down, on its own or in a group |
|
|
232
|
+
| `Tooltip` | A small label that names the control under your finger |
|
|
214
233
|
| `Typography` | Semantic text presets |
|
|
215
234
|
|
|
216
235
|
Plus `PanelUIProvider`, `Portal`, `AnimatedPressable`, `KeyboardAvoider`, `ScrollProgress`,
|