@cascivo/react 0.3.0 → 0.3.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.
- package/README.md +15 -1
- package/dist/cascivo.css +1 -1
- package/dist/index.d.ts +232 -3
- package/dist/index.js +1535 -988
- package/package.json +3 -3
- package/readme.body.md +15 -1
package/README.md
CHANGED
|
@@ -147,7 +147,7 @@ routing break after adding one of these, check that the import resolves to
|
|
|
147
147
|
|
|
148
148
|
## Component index
|
|
149
149
|
|
|
150
|
-
|
|
150
|
+
179 components, exported from `@cascivo/react`. Full props, examples, and live demos at [docs.cascivo.com](https://docs.cascivo.com).
|
|
151
151
|
|
|
152
152
|
### Inputs
|
|
153
153
|
|
|
@@ -162,6 +162,7 @@ routing break after adding one of these, check that the import resolves to
|
|
|
162
162
|
- **DatePicker** — An accessible date-picker with a calendar popover.
|
|
163
163
|
- **DateRangePicker** — A dual-calendar picker for selecting a contiguous date range.
|
|
164
164
|
- **Editable** — Inline click-to-edit text field
|
|
165
|
+
- **Fab** — Floating action button anchored to a screen corner, with an optional speed-dial of secondary actions
|
|
165
166
|
- **Field** — Form-field wrapper composing label, control, description, and error
|
|
166
167
|
- **FileUploader** — Drag-and-drop file upload zone with file list and status indicators.
|
|
167
168
|
- **Filter** — A group of toggleable pill or outline buttons for filtering content by category
|
|
@@ -211,6 +212,15 @@ routing break after adding one of these, check that the import resolves to
|
|
|
211
212
|
- **DataTable** — Signal-driven data table with client/server sort, filter, pagination, multi-selection, expandable rows, and CSS content-visibility row containment for large datasets
|
|
212
213
|
- **EmptyDashboard** — Dashboard page showing an empty state with a call-to-action button.
|
|
213
214
|
- **EmptyState** — Placeholder for views that have no data to display
|
|
215
|
+
- **Flow** — The declarative, AI-first flow surface — render a node/edge graph from plain serializable data.
|
|
216
|
+
- **FlowBackground** — Decorative dots / grid / cross canvas background, drawn purely in CSS gradients.
|
|
217
|
+
- **FlowControls** — Zoom in / out / fit-view controls for a flow canvas — real, i18n-labeled buttons.
|
|
218
|
+
- **FlowEdge** — An SVG edge with bezier/straight/smoothstep paths, an arrowhead, an optional label, and animation.
|
|
219
|
+
- **FlowHandle** — A connection port on a node edge — where edges attach and interactive connect starts.
|
|
220
|
+
- **FlowMiniMap** — A scaled SVG overview of the graph with a draggable viewport rectangle.
|
|
221
|
+
- **FlowNode** — An HTML node box positioned in the viewport pane — draggable, selectable, with arbitrary children.
|
|
222
|
+
- **FlowPanel** — An absolutely-positioned slot for custom flow-canvas UI (legend, toolbar).
|
|
223
|
+
- **FlowStory** — A scripted, sequenced, looping flow animation — walks a graph step by step with fade-in captions.
|
|
214
224
|
- **Heading** — Section heading with semantic level decoupled from visual size
|
|
215
225
|
- **Image** — Image with load state, blur-up placeholder, graceful fallback, and optional zoom
|
|
216
226
|
- **Item** — Generic content row primitive with media, content, and action regions
|
|
@@ -230,6 +240,7 @@ routing break after adding one of these, check that the import resolves to
|
|
|
230
240
|
- **StatsCards** — Grid of KPI stat cards with trend badges.
|
|
231
241
|
- **Status** — Colored dot with a label communicating the state of a system or entity
|
|
232
242
|
- **StructuredList** — Tabular row list for scannable data, optionally single-selectable
|
|
243
|
+
- **SwipeItem** — List row whose leading/trailing actions are revealed by a horizontal swipe, with keyboard parity
|
|
233
244
|
- **Tag** — Compact chip for labeling, categorizing, or filtering content
|
|
234
245
|
- **Text** — Body text with size, weight, and muted variants
|
|
235
246
|
- **Timeline** — Ordered sequence of events with status markers and a connector line
|
|
@@ -240,7 +251,9 @@ routing break after adding one of these, check that the import resolves to
|
|
|
240
251
|
|
|
241
252
|
### Overlay
|
|
242
253
|
|
|
254
|
+
- **ActionSheet** — Bottom-rising sheet of discrete actions (iOS action-sheet pattern) with a Cancel button
|
|
243
255
|
- **AlertDialog** — Confirmation dialog requiring explicit user action; no light-dismiss
|
|
256
|
+
- **BottomSheet** — Mobile bottom sheet with drag-to-resize detents, velocity-projected snapping, and drag-to-dismiss
|
|
244
257
|
- **CommandMenu** — Cmd+K command palette with fuzzy search over grouped commands
|
|
245
258
|
- **ContextMenu** — Right-click context menu anchored at pointer coordinates via CSS custom properties
|
|
246
259
|
- **Drawer** — Edge-anchored dialog panel that slides in from a screen edge with CSS-only enter/exit motion
|
|
@@ -313,6 +326,7 @@ routing break after adding one of these, check that the import resolves to
|
|
|
313
326
|
- **Progress** — Horizontal bar showing the completion progress of a tracked operation
|
|
314
327
|
- **ProgressBar** — Shows determinate or indeterminate progress of a task
|
|
315
328
|
- **ProgressCircle** — Circular determinate progress indicator rendered as an SVG arc
|
|
329
|
+
- **PullToRefresh** — Wraps a scrollable region and triggers a refresh when pulled down past a threshold at the top
|
|
316
330
|
- **RadialProgress** — Circular progress indicator using conic-gradient, with percentage label and variant colors
|
|
317
331
|
- **Spinner** — Indeterminate loading indicator
|
|
318
332
|
|