@sigx/zero-daisyui 0.2.0-beta.1
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/LICENSE +21 -0
- package/README.md +115 -0
- package/dist/components.d.ts +478 -0
- package/dist/components.js +76 -0
- package/dist/css/components/accordion.css +165 -0
- package/dist/css/components/alert.css +126 -0
- package/dist/css/components/avatar.css +94 -0
- package/dist/css/components/badge.css +82 -0
- package/dist/css/components/breadcrumbs.css +102 -0
- package/dist/css/components/button.css +252 -0
- package/dist/css/components/card.css +97 -0
- package/dist/css/components/carousel.css +196 -0
- package/dist/css/components/chat.css +167 -0
- package/dist/css/components/checkbox.css +245 -0
- package/dist/css/components/collapsible.css +157 -0
- package/dist/css/components/combobox.css +251 -0
- package/dist/css/components/countdown.css +83 -0
- package/dist/css/components/dialog.css +313 -0
- package/dist/css/components/diff.css +120 -0
- package/dist/css/components/divider.css +70 -0
- package/dist/css/components/drawer.css +285 -0
- package/dist/css/components/field.css +111 -0
- package/dist/css/components/file-upload.css +198 -0
- package/dist/css/components/indicator.css +166 -0
- package/dist/css/components/input.css +151 -0
- package/dist/css/components/join.css +122 -0
- package/dist/css/components/kbd.css +84 -0
- package/dist/css/components/menu.css +382 -0
- package/dist/css/components/native-select.css +128 -0
- package/dist/css/components/navbar.css +93 -0
- package/dist/css/components/number-input.css +211 -0
- package/dist/css/components/pagination.css +203 -0
- package/dist/css/components/popover.css +263 -0
- package/dist/css/components/progress.css +109 -0
- package/dist/css/components/radial-progress.css +129 -0
- package/dist/css/components/radio-group.css +176 -0
- package/dist/css/components/rating-group.css +143 -0
- package/dist/css/components/select.css +212 -0
- package/dist/css/components/skeleton.css +74 -0
- package/dist/css/components/slider.css +182 -0
- package/dist/css/components/spinner.css +75 -0
- package/dist/css/components/stats.css +115 -0
- package/dist/css/components/status.css +66 -0
- package/dist/css/components/steps.css +208 -0
- package/dist/css/components/swap.css +116 -0
- package/dist/css/components/switch.css +126 -0
- package/dist/css/components/table.css +124 -0
- package/dist/css/components/tabs.css +137 -0
- package/dist/css/components/textarea.css +131 -0
- package/dist/css/components/timeline.css +204 -0
- package/dist/css/components/toast.css +234 -0
- package/dist/css/components/toggle-group.css +164 -0
- package/dist/css/components/toggle.css +139 -0
- package/dist/css/components/tooltip.css +226 -0
- package/dist/css/components/tree-view.css +197 -0
- package/dist/css/index.css +8521 -0
- package/dist/css/tokens.css +265 -0
- package/dist/design-system.d.ts +5 -0
- package/dist/design-system.d.ts.map +1 -0
- package/dist/design-system.js +46 -0
- package/dist/design-system.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -0
- package/dist/lynx/components/accordion.css +87 -0
- package/dist/lynx/components/alert.css +108 -0
- package/dist/lynx/components/avatar.css +83 -0
- package/dist/lynx/components/badge.css +80 -0
- package/dist/lynx/components/breadcrumbs.css +61 -0
- package/dist/lynx/components/button.css +173 -0
- package/dist/lynx/components/card.css +62 -0
- package/dist/lynx/components/carousel.css +124 -0
- package/dist/lynx/components/chat.css +105 -0
- package/dist/lynx/components/checkbox.css +163 -0
- package/dist/lynx/components/collapsible.css +79 -0
- package/dist/lynx/components/combobox.css +195 -0
- package/dist/lynx/components/countdown.css +43 -0
- package/dist/lynx/components/dialog.css +227 -0
- package/dist/lynx/components/diff.css +59 -0
- package/dist/lynx/components/divider.css +60 -0
- package/dist/lynx/components/drawer.css +184 -0
- package/dist/lynx/components/field.css +63 -0
- package/dist/lynx/components/file-upload.css +147 -0
- package/dist/lynx/components/indicator.css +108 -0
- package/dist/lynx/components/input.css +112 -0
- package/dist/lynx/components/join.css +60 -0
- package/dist/lynx/components/kbd.css +81 -0
- package/dist/lynx/components/menu.css +282 -0
- package/dist/lynx/components/native-select.css +100 -0
- package/dist/lynx/components/navbar.css +91 -0
- package/dist/lynx/components/number-input.css +156 -0
- package/dist/lynx/components/pagination.css +155 -0
- package/dist/lynx/components/popover.css +184 -0
- package/dist/lynx/components/progress.css +43 -0
- package/dist/lynx/components/radial-progress.css +59 -0
- package/dist/lynx/components/radio-group.css +149 -0
- package/dist/lynx/components/rating-group.css +69 -0
- package/dist/lynx/components/select.css +163 -0
- package/dist/lynx/components/skeleton.css +34 -0
- package/dist/lynx/components/slider.css +136 -0
- package/dist/lynx/components/spinner.css +49 -0
- package/dist/lynx/components/stats.css +95 -0
- package/dist/lynx/components/status.css +45 -0
- package/dist/lynx/components/steps.css +171 -0
- package/dist/lynx/components/swap.css +60 -0
- package/dist/lynx/components/switch.css +95 -0
- package/dist/lynx/components/table.css +74 -0
- package/dist/lynx/components/tabs.css +105 -0
- package/dist/lynx/components/textarea.css +104 -0
- package/dist/lynx/components/timeline.css +123 -0
- package/dist/lynx/components/toast.css +200 -0
- package/dist/lynx/components/toggle-group.css +114 -0
- package/dist/lynx/components/toggle.css +112 -0
- package/dist/lynx/components/tooltip.css +153 -0
- package/dist/lynx/components/tree-view.css +161 -0
- package/dist/lynx/index.css +6223 -0
- package/dist/lynx/manifest.json +1758 -0
- package/dist/lynx/tokens.css +425 -0
- package/dist/manifest.json +1752 -0
- package/dist/recipes.d.ts +188 -0
- package/dist/recipes.d.ts.map +1 -0
- package/dist/recipes.js +5128 -0
- package/dist/recipes.js.map +1 -0
- package/dist/register.d.ts +507 -0
- package/dist/register.js +4 -0
- package/dist/report.json +10752 -0
- package/dist/tokens.d.ts +150 -0
- package/dist/tokens.d.ts.map +1 -0
- package/dist/tokens.js +306 -0
- package/dist/tokens.js.map +1 -0
- package/package.json +61 -0
- package/src/design-system.ts +52 -0
- package/src/index.ts +14 -0
- package/src/recipes.ts +5236 -0
- package/src/tokens.ts +321 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025-2026 Andreas Ekdahl
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# @sigx/zero-daisyui
|
|
2
|
+
|
|
3
|
+
[daisyUI](https://daisyui.com)-flavored design system for
|
|
4
|
+
[SignalX Zero](https://npmjs.com/package/@sigx/zero): daisy's token values and
|
|
5
|
+
component look expressed as pure tokens + recipes over the zero anatomy. No
|
|
6
|
+
Tailwind, no daisyUI plugin — the whole skin is compiled CSS.
|
|
7
|
+
|
|
8
|
+
```ts
|
|
9
|
+
import '@sigx/zero/css';
|
|
10
|
+
import '@sigx/zero-daisyui/css';
|
|
11
|
+
import { installThemes } from '@sigx/zero-daisyui';
|
|
12
|
+
installThemes(); // registers the `light`/`dark` pair plus `dim`, `nord` and `sunset`
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Beside the contract tokens it declares daisy's own two non-contract knobs as
|
|
16
|
+
custom properties, because daisy's controls read them directly: `--depth`
|
|
17
|
+
(`1` = the inset-shadow relief of `light`/`dark`, `0` = the flat look of `dim`,
|
|
18
|
+
`nord` and `sunset`) with the two paints it scales, `--depth-shade` and
|
|
19
|
+
`--depth-sheen`; and `--noise` with daisy's fractal tile in `--fx-noise`.
|
|
20
|
+
Override `--depth: 0` on a subtree to flatten it.
|
|
21
|
+
|
|
22
|
+
The checkbox tick, the radio dot and the rating fill are **drawn**, not typeset:
|
|
23
|
+
each is geometry that interpolates between states, so it rides the size ramp and
|
|
24
|
+
animates. Under `forced-colors` and `print` the checkbox swaps to a `✔`/`−`
|
|
25
|
+
glyph; the rating keeps its geometry, since no glyph can say "half".
|
|
26
|
+
|
|
27
|
+
The palette is daisyUI **5.7.8**'s, role for role, in all five themes — checked
|
|
28
|
+
against its shipped `themes.css` rather than transcribed. `light` and `dark` had
|
|
29
|
+
drifted a major version behind (#231): among others, light's `primary` was
|
|
30
|
+
`oklch(49.12% 0.3096 275.75)` where 5.7.8 declares `oklch(45% 0.24 277.023)`,
|
|
31
|
+
and dark's `primary-content` was a *dark* ink where 5.7.8 pairs a light one.
|
|
32
|
+
`dim`, `nord` and `sunset` were already exact.
|
|
33
|
+
|
|
34
|
+
The checkbox's print fallback names `--print-ink` where real daisy names no ink
|
|
35
|
+
at all — its glyph inherits `--color-primary-content` and prints at 1.37:1, a
|
|
36
|
+
pale lavender on white paper (#233). Fidelity to a mark nobody can see is not
|
|
37
|
+
fidelity; the same trade as the ratios below.
|
|
38
|
+
|
|
39
|
+
Five of daisy's own ratios are deliberately moved, and only these five: the
|
|
40
|
+
unchecked toggle knob and the unfilled rating symbol are base-content at **60%**
|
|
41
|
+
rather than daisy's 50% and 20%, the rating's default `warning` fill is deepened
|
|
42
|
+
**60/40** toward its content pair, the progress bar's fill **90/10** (its
|
|
43
|
+
`complete` green **55/45**), and the role **ink** — the colour a transparent or
|
|
44
|
+
tinted surface draws a label, a border, a focus ring or an error message with —
|
|
45
|
+
is the role mixed toward `--color-base-content`, per role, rather than the raw
|
|
46
|
+
role token daisy draws with. Each was measured under 3:1 against the surface it
|
|
47
|
+
has to be seen on in at least one shipped theme — an unfilled rating symbol at
|
|
48
|
+
daisy's 20% reads 1.44:1 on `nord`, a raw-role `neutral` ghost button 1.22:1 in
|
|
49
|
+
every dark theme, and 5.7.8's own lighter `error` 2.87:1 as message text on
|
|
50
|
+
white — and 3:1 is the floor a mark owes the reader. The ratios and their
|
|
51
|
+
per-theme measurements are recorded at each declaration in `src/recipes.ts`;
|
|
52
|
+
every other value in this package is daisy's.
|
|
53
|
+
|
|
54
|
+
`select`, `combobox` and `number-input` share one field metric — the same
|
|
55
|
+
`--size-field` height ramp, inset and `--shadow-xs` lift — so two controls in a
|
|
56
|
+
column are the same height. Only the select had it before.
|
|
57
|
+
|
|
58
|
+
Swap with `@sigx/zero-basic` (or your own generated design system) — same
|
|
59
|
+
components, different look, zero component-code changes.
|
|
60
|
+
|
|
61
|
+
## The daisy-native surface, and migrating from `@sigx/daisyui`
|
|
62
|
+
|
|
63
|
+
Button carries daisy 5's full style vocabulary — `variant` takes `solid`,
|
|
64
|
+
`outline`, `soft`, `ghost`, `dash` (`btn-dash`) and `link` (`btn-link`),
|
|
65
|
+
orthogonal to the eight-role `color` axis, exactly as daisy's own CSS composes
|
|
66
|
+
`btn-outline` **with** `btn-primary` — plus the six documented `btn-*`
|
|
67
|
+
modifiers as presence-only `data-mod-*`: `wide`, `block`, `square`, `circle`,
|
|
68
|
+
`active`, and `loading`, whose spinner the recipe draws in `currentColor`
|
|
69
|
+
(daisy renders it as a `loading loading-spinner` span; zero changes no DOM).
|
|
70
|
+
daisy 4's `glass` is not carried: daisyUI 5 no longer documents it on any
|
|
71
|
+
component, and the old library never exposed it either.
|
|
72
|
+
|
|
73
|
+
The package declares an **api** (the `defineApi` layer, see
|
|
74
|
+
`docs/architecture.md` §3.6), so beside `/register` it ships a generated
|
|
75
|
+
`./components` module — the daisy-native, single-import, fully-typed surface:
|
|
76
|
+
|
|
77
|
+
```tsx
|
|
78
|
+
import { Button } from '@sigx/zero-daisyui/components';
|
|
79
|
+
|
|
80
|
+
<Button wide loading variant="dash" color="primary">Save</Button>
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Migrating from the old `@sigx/daisyui` package, prop by prop:
|
|
84
|
+
|
|
85
|
+
| old `@sigx/daisyui` Button | `@sigx/zero-daisyui/components` Button |
|
|
86
|
+
|---|---|
|
|
87
|
+
| `variant="primary"` … `variant="error"` (the eight colours in the fused union) | `color="primary"` … `color="error"` |
|
|
88
|
+
| `variant="ghost"` / `variant="link"` | `variant="ghost"` / `variant="link"` |
|
|
89
|
+
| `variant="neutral"` | `color="neutral"` |
|
|
90
|
+
| `outline` / `soft` / `dash` (booleans) | `variant="outline"` / `"soft"` / `"dash"` |
|
|
91
|
+
| `wide`, `block`, `square`, `circle`, `active`, `loading` | same names, same booleans |
|
|
92
|
+
| `size="xs"` … `size="xl"` | unchanged |
|
|
93
|
+
| `loading` also disabling the button | pass `disabled` yourself — loading is paint, not behaviour |
|
|
94
|
+
|
|
95
|
+
The old fused `ButtonVariant` union (colours + `ghost` + `link` in one prop)
|
|
96
|
+
was a modeling artifact, not daisy's real shape — daisy's CSS composes a style
|
|
97
|
+
class with a colour class, and so does this package.
|
|
98
|
+
|
|
99
|
+
## Writing direction
|
|
100
|
+
|
|
101
|
+
Every direction-bearing rule is spelled logically, so the whole skin mirrors
|
|
102
|
+
under `dir="rtl"` (#277, #290). `inset-inline-*` and `margin-inline-*` where a
|
|
103
|
+
logical property exists; a direction-valued custom property the RTL selector
|
|
104
|
+
rebinds where one does not, since `transform` has no logical form. The kit warns
|
|
105
|
+
on the first kind (`validate-recipes`) and `e2e/rtl.spec.ts` measures the second
|
|
106
|
+
in a real engine — a logical anchor with a physical travel reads as correct and
|
|
107
|
+
still puts the control's thumb outside its own track.
|
|
108
|
+
|
|
109
|
+
What moved here: the toast viewport's start/end placements, the submenu
|
|
110
|
+
chevron (margin and glyph both), the collapsed tree indicator and the
|
|
111
|
+
indeterminate progress sweep. The switch needed nothing — its knob grows a grid
|
|
112
|
+
column, which is RTL-correct for free, and that is why it was the only one of
|
|
113
|
+
the six already right.
|
|
114
|
+
|
|
115
|
+
MIT © Andreas Ekdahl
|
|
@@ -0,0 +1,478 @@
|
|
|
1
|
+
// daisyui — generated by @sigx/zero-kit. Do not edit.
|
|
2
|
+
//
|
|
3
|
+
// Vendor-named component API (issue #179): zero's components under this
|
|
4
|
+
// design system's prop names, narrowed to what its recipes wire.
|
|
5
|
+
// Self-contained — nothing here augments ZeroVocabulary, no /register
|
|
6
|
+
// import is needed or consulted. The rendered attributes are unchanged:
|
|
7
|
+
// a routed vendor value renders the zero-spelled data-* attribute.
|
|
8
|
+
import type { Adapted, AdaptedStatics } from '@sigx/zero/adapt';
|
|
9
|
+
import type { Tabs as ZTabs } from '@sigx/zero/tabs';
|
|
10
|
+
import type { Collapsible as ZCollapsible } from '@sigx/zero/collapsible';
|
|
11
|
+
import type { Switch as ZSwitch } from '@sigx/zero/switch';
|
|
12
|
+
import type { Dialog as ZDialog } from '@sigx/zero/dialog';
|
|
13
|
+
import type { Popover as ZPopover } from '@sigx/zero/popover';
|
|
14
|
+
import type { Tooltip as ZTooltip } from '@sigx/zero/tooltip';
|
|
15
|
+
import type { Menu as ZMenu } from '@sigx/zero/menu';
|
|
16
|
+
import type { Field as ZField } from '@sigx/zero/field';
|
|
17
|
+
import type { Checkbox as ZCheckbox } from '@sigx/zero/checkbox';
|
|
18
|
+
import type { RadioGroup as ZRadioGroup } from '@sigx/zero/radio-group';
|
|
19
|
+
import type { Progress as ZProgress } from '@sigx/zero/progress';
|
|
20
|
+
import type { Slider as ZSlider } from '@sigx/zero/slider';
|
|
21
|
+
import type { Accordion as ZAccordion } from '@sigx/zero/accordion';
|
|
22
|
+
import type { Select as ZSelect } from '@sigx/zero/select';
|
|
23
|
+
import type { Button as ZButton } from '@sigx/zero/button';
|
|
24
|
+
import type { Avatar as ZAvatar } from '@sigx/zero/avatar';
|
|
25
|
+
import type { Toast as ZToast } from '@sigx/zero/toast';
|
|
26
|
+
import type { Combobox as ZCombobox } from '@sigx/zero/combobox';
|
|
27
|
+
import type { Toggle as ZToggle } from '@sigx/zero/toggle';
|
|
28
|
+
import type { ToggleGroup as ZToggleGroup } from '@sigx/zero/toggle-group';
|
|
29
|
+
import type { NumberInput as ZNumberInput } from '@sigx/zero/number-input';
|
|
30
|
+
import type { RatingGroup as ZRatingGroup } from '@sigx/zero/rating-group';
|
|
31
|
+
import type { TreeView as ZTreeView } from '@sigx/zero/tree-view';
|
|
32
|
+
import type { Input as ZInput } from '@sigx/zero/input';
|
|
33
|
+
import type { Textarea as ZTextarea } from '@sigx/zero/textarea';
|
|
34
|
+
import type { NativeSelect as ZNativeSelect } from '@sigx/zero/native-select';
|
|
35
|
+
import type { Card as ZCard } from '@sigx/zero/card';
|
|
36
|
+
import type { Alert as ZAlert } from '@sigx/zero/alert';
|
|
37
|
+
import type { Badge as ZBadge } from '@sigx/zero/badge';
|
|
38
|
+
import type { Divider as ZDivider } from '@sigx/zero/divider';
|
|
39
|
+
import type { Skeleton as ZSkeleton } from '@sigx/zero/skeleton';
|
|
40
|
+
import type { Spinner as ZSpinner } from '@sigx/zero/spinner';
|
|
41
|
+
import type { Kbd as ZKbd } from '@sigx/zero/kbd';
|
|
42
|
+
import type { Status as ZStatus } from '@sigx/zero/status';
|
|
43
|
+
import type { Indicator as ZIndicator } from '@sigx/zero/indicator';
|
|
44
|
+
import type { Stats as ZStats } from '@sigx/zero/stats';
|
|
45
|
+
import type { Timeline as ZTimeline } from '@sigx/zero/timeline';
|
|
46
|
+
import type { Chat as ZChat } from '@sigx/zero/chat';
|
|
47
|
+
import type { RadialProgress as ZRadialProgress } from '@sigx/zero/radial-progress';
|
|
48
|
+
import type { Join as ZJoin } from '@sigx/zero/join';
|
|
49
|
+
import type { Navbar as ZNavbar } from '@sigx/zero/navbar';
|
|
50
|
+
import type { Breadcrumbs as ZBreadcrumbs } from '@sigx/zero/breadcrumbs';
|
|
51
|
+
import type { Pagination as ZPagination } from '@sigx/zero/pagination';
|
|
52
|
+
import type { Steps as ZSteps } from '@sigx/zero/steps';
|
|
53
|
+
import type { Drawer as ZDrawer } from '@sigx/zero/drawer';
|
|
54
|
+
import type { Table as ZTable } from '@sigx/zero/table';
|
|
55
|
+
import type { FileUpload as ZFileUpload } from '@sigx/zero/file-upload';
|
|
56
|
+
import type { Carousel as ZCarousel } from '@sigx/zero/carousel';
|
|
57
|
+
import type { Swap as ZSwap } from '@sigx/zero/swap';
|
|
58
|
+
import type { Countdown as ZCountdown } from '@sigx/zero/countdown';
|
|
59
|
+
import type { Diff as ZDiff } from '@sigx/zero/diff';
|
|
60
|
+
|
|
61
|
+
type ZeroAxisProp = 'color' | 'size' | 'variant' | 'axes' | 'mods';
|
|
62
|
+
|
|
63
|
+
/** tabs — no vendor route; the wired surface keeps zero's names. */
|
|
64
|
+
type TabsProps = {
|
|
65
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
66
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
67
|
+
};
|
|
68
|
+
type TabsAdapted = Adapted<typeof ZTabs, ZeroAxisProp, TabsProps>;
|
|
69
|
+
export declare const Tabs: TabsAdapted & AdaptedStatics<typeof ZTabs> & { Root: TabsAdapted };
|
|
70
|
+
|
|
71
|
+
/** collapsible — no vendor route; the wired surface keeps zero's names. */
|
|
72
|
+
type CollapsibleProps = {
|
|
73
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
74
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
75
|
+
};
|
|
76
|
+
type CollapsibleAdapted = Adapted<typeof ZCollapsible, ZeroAxisProp, CollapsibleProps>;
|
|
77
|
+
export declare const Collapsible: CollapsibleAdapted & AdaptedStatics<typeof ZCollapsible> & { Root: CollapsibleAdapted };
|
|
78
|
+
|
|
79
|
+
/** switch — no vendor route; the wired surface keeps zero's names. */
|
|
80
|
+
type SwitchProps = {
|
|
81
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
82
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
83
|
+
};
|
|
84
|
+
type SwitchAdapted = Adapted<typeof ZSwitch, ZeroAxisProp, SwitchProps>;
|
|
85
|
+
export declare const Switch: SwitchAdapted & AdaptedStatics<typeof ZSwitch> & { Root: SwitchAdapted };
|
|
86
|
+
|
|
87
|
+
/** dialog — no vendor route; the wired surface keeps zero's names. */
|
|
88
|
+
type DialogProps = {
|
|
89
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
90
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
91
|
+
};
|
|
92
|
+
type DialogAdapted = Adapted<typeof ZDialog, ZeroAxisProp, DialogProps>;
|
|
93
|
+
export declare const Dialog: DialogAdapted & AdaptedStatics<typeof ZDialog> & { Root: DialogAdapted };
|
|
94
|
+
|
|
95
|
+
/** popover — no vendor route; the wired surface keeps zero's names. */
|
|
96
|
+
type PopoverProps = {
|
|
97
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
98
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
99
|
+
};
|
|
100
|
+
type PopoverAdapted = Adapted<typeof ZPopover, ZeroAxisProp, PopoverProps>;
|
|
101
|
+
export declare const Popover: PopoverAdapted & AdaptedStatics<typeof ZPopover> & { Root: PopoverAdapted };
|
|
102
|
+
|
|
103
|
+
/** tooltip — no vendor route; the wired surface keeps zero's names. */
|
|
104
|
+
type TooltipProps = {
|
|
105
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
106
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
107
|
+
};
|
|
108
|
+
type TooltipAdapted = Adapted<typeof ZTooltip, ZeroAxisProp, TooltipProps>;
|
|
109
|
+
export declare const Tooltip: TooltipAdapted & AdaptedStatics<typeof ZTooltip> & { Root: TooltipAdapted };
|
|
110
|
+
|
|
111
|
+
/** menu — no vendor route; the wired surface keeps zero's names. */
|
|
112
|
+
type MenuProps = {
|
|
113
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
114
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
115
|
+
};
|
|
116
|
+
type MenuAdapted = Adapted<typeof ZMenu, ZeroAxisProp, MenuProps>;
|
|
117
|
+
export declare const Menu: MenuAdapted & AdaptedStatics<typeof ZMenu> & { Root: MenuAdapted };
|
|
118
|
+
|
|
119
|
+
/** field — no vendor route; the wired surface keeps zero's names. */
|
|
120
|
+
type FieldProps = {
|
|
121
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
122
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
123
|
+
};
|
|
124
|
+
type FieldAdapted = Adapted<typeof ZField, ZeroAxisProp, FieldProps>;
|
|
125
|
+
export declare const Field: FieldAdapted & AdaptedStatics<typeof ZField> & { Root: FieldAdapted };
|
|
126
|
+
|
|
127
|
+
/** checkbox — no vendor route; the wired surface keeps zero's names. */
|
|
128
|
+
type CheckboxProps = {
|
|
129
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
130
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
131
|
+
};
|
|
132
|
+
type CheckboxAdapted = Adapted<typeof ZCheckbox, ZeroAxisProp, CheckboxProps>;
|
|
133
|
+
export declare const Checkbox: CheckboxAdapted & AdaptedStatics<typeof ZCheckbox> & { Root: CheckboxAdapted };
|
|
134
|
+
|
|
135
|
+
/** radio-group — no vendor route; the wired surface keeps zero's names. */
|
|
136
|
+
type RadioGroupProps = {
|
|
137
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
138
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
139
|
+
};
|
|
140
|
+
type RadioGroupAdapted = Adapted<typeof ZRadioGroup, ZeroAxisProp, RadioGroupProps>;
|
|
141
|
+
export declare const RadioGroup: RadioGroupAdapted & AdaptedStatics<typeof ZRadioGroup> & { Root: RadioGroupAdapted };
|
|
142
|
+
|
|
143
|
+
/** progress — no vendor route; the wired surface keeps zero's names. */
|
|
144
|
+
type ProgressProps = {
|
|
145
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
146
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
147
|
+
};
|
|
148
|
+
type ProgressAdapted = Adapted<typeof ZProgress, ZeroAxisProp, ProgressProps>;
|
|
149
|
+
export declare const Progress: ProgressAdapted & AdaptedStatics<typeof ZProgress> & { Root: ProgressAdapted };
|
|
150
|
+
|
|
151
|
+
/** slider — no vendor route; the wired surface keeps zero's names. */
|
|
152
|
+
type SliderProps = {
|
|
153
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
154
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
155
|
+
};
|
|
156
|
+
type SliderAdapted = Adapted<typeof ZSlider, ZeroAxisProp, SliderProps>;
|
|
157
|
+
export declare const Slider: SliderAdapted & AdaptedStatics<typeof ZSlider> & { Root: SliderAdapted };
|
|
158
|
+
|
|
159
|
+
/** accordion — no vendor route; the wired surface keeps zero's names. */
|
|
160
|
+
type AccordionProps = {
|
|
161
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
162
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
163
|
+
};
|
|
164
|
+
type AccordionAdapted = Adapted<typeof ZAccordion, ZeroAxisProp, AccordionProps>;
|
|
165
|
+
export declare const Accordion: AccordionAdapted & AdaptedStatics<typeof ZAccordion> & { Root: AccordionAdapted };
|
|
166
|
+
|
|
167
|
+
/** select — no vendor route; the wired surface keeps zero's names. */
|
|
168
|
+
type SelectProps = {
|
|
169
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
170
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
171
|
+
};
|
|
172
|
+
type SelectAdapted = Adapted<typeof ZSelect, ZeroAxisProp, SelectProps>;
|
|
173
|
+
export declare const Select: SelectAdapted & AdaptedStatics<typeof ZSelect> & { Root: SelectAdapted };
|
|
174
|
+
|
|
175
|
+
/** button — variant ← variant; active ← mods.active; block ← mods.block; circle ← mods.circle; loading ← mods.loading; square ← mods.square; wide ← mods.wide. Attributes stay zero-spelled. */
|
|
176
|
+
type ButtonProps = {
|
|
177
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
178
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
179
|
+
'variant'?: 'solid' | 'outline' | 'soft' | 'ghost' | 'dash' | 'link';
|
|
180
|
+
'active'?: boolean;
|
|
181
|
+
'block'?: boolean;
|
|
182
|
+
'circle'?: boolean;
|
|
183
|
+
'loading'?: boolean;
|
|
184
|
+
'square'?: boolean;
|
|
185
|
+
'wide'?: boolean;
|
|
186
|
+
};
|
|
187
|
+
type ButtonAdapted = Adapted<typeof ZButton, ZeroAxisProp | 'active' | 'block' | 'circle' | 'loading' | 'square' | 'variant' | 'wide', ButtonProps>;
|
|
188
|
+
export declare const Button: ButtonAdapted & { Root: ButtonAdapted };
|
|
189
|
+
|
|
190
|
+
/** avatar — no vendor route; the wired surface keeps zero's names. */
|
|
191
|
+
type AvatarProps = {
|
|
192
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
193
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
194
|
+
};
|
|
195
|
+
type AvatarAdapted = Adapted<typeof ZAvatar, ZeroAxisProp, AvatarProps>;
|
|
196
|
+
export declare const Avatar: AvatarAdapted & AdaptedStatics<typeof ZAvatar> & { Root: AvatarAdapted };
|
|
197
|
+
|
|
198
|
+
/** toast — no vendor route; the wired surface keeps zero's names. */
|
|
199
|
+
type ToastProps = {
|
|
200
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
201
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
202
|
+
};
|
|
203
|
+
type ToastAdapted = Adapted<typeof ZToast, ZeroAxisProp, ToastProps>;
|
|
204
|
+
export declare const Toast: ToastAdapted & AdaptedStatics<typeof ZToast> & { Root: ToastAdapted };
|
|
205
|
+
|
|
206
|
+
/** combobox — no vendor route; the wired surface keeps zero's names. */
|
|
207
|
+
type ComboboxProps = {
|
|
208
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
209
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
210
|
+
};
|
|
211
|
+
type ComboboxAdapted = Adapted<typeof ZCombobox, ZeroAxisProp, ComboboxProps>;
|
|
212
|
+
export declare const Combobox: ComboboxAdapted & AdaptedStatics<typeof ZCombobox> & { Root: ComboboxAdapted };
|
|
213
|
+
|
|
214
|
+
/** toggle — no vendor route; the wired surface keeps zero's names. */
|
|
215
|
+
type ToggleProps = {
|
|
216
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
217
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
218
|
+
};
|
|
219
|
+
type ToggleAdapted = Adapted<typeof ZToggle, ZeroAxisProp, ToggleProps>;
|
|
220
|
+
export declare const Toggle: ToggleAdapted & { Root: ToggleAdapted };
|
|
221
|
+
|
|
222
|
+
/** toggle-group — no vendor route; the wired surface keeps zero's names. */
|
|
223
|
+
type ToggleGroupProps = {
|
|
224
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
225
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
226
|
+
};
|
|
227
|
+
type ToggleGroupAdapted = Adapted<typeof ZToggleGroup, ZeroAxisProp, ToggleGroupProps>;
|
|
228
|
+
export declare const ToggleGroup: ToggleGroupAdapted & AdaptedStatics<typeof ZToggleGroup> & { Root: ToggleGroupAdapted };
|
|
229
|
+
|
|
230
|
+
/** number-input — no vendor route; the wired surface keeps zero's names. */
|
|
231
|
+
type NumberInputProps = {
|
|
232
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
233
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
234
|
+
};
|
|
235
|
+
type NumberInputAdapted = Adapted<typeof ZNumberInput, ZeroAxisProp, NumberInputProps>;
|
|
236
|
+
export declare const NumberInput: NumberInputAdapted & AdaptedStatics<typeof ZNumberInput> & { Root: NumberInputAdapted };
|
|
237
|
+
|
|
238
|
+
/** rating-group — no vendor route; the wired surface keeps zero's names. */
|
|
239
|
+
type RatingGroupProps = {
|
|
240
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
241
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
242
|
+
};
|
|
243
|
+
type RatingGroupAdapted = Adapted<typeof ZRatingGroup, ZeroAxisProp, RatingGroupProps>;
|
|
244
|
+
export declare const RatingGroup: RatingGroupAdapted & AdaptedStatics<typeof ZRatingGroup> & { Root: RatingGroupAdapted };
|
|
245
|
+
|
|
246
|
+
/** tree-view — no vendor route; the wired surface keeps zero's names. */
|
|
247
|
+
type TreeViewProps = {
|
|
248
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
249
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
250
|
+
};
|
|
251
|
+
type TreeViewAdapted = Adapted<typeof ZTreeView, ZeroAxisProp, TreeViewProps>;
|
|
252
|
+
export declare const TreeView: TreeViewAdapted & AdaptedStatics<typeof ZTreeView> & { Root: TreeViewAdapted };
|
|
253
|
+
|
|
254
|
+
/** input — no vendor route; the wired surface keeps zero's names. */
|
|
255
|
+
type InputProps = {
|
|
256
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
257
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
258
|
+
};
|
|
259
|
+
type InputAdapted = Adapted<typeof ZInput, ZeroAxisProp, InputProps>;
|
|
260
|
+
export declare const Input: InputAdapted & AdaptedStatics<typeof ZInput> & { Root: InputAdapted };
|
|
261
|
+
|
|
262
|
+
/** textarea — no vendor route; the wired surface keeps zero's names. */
|
|
263
|
+
type TextareaProps = {
|
|
264
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
265
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
266
|
+
};
|
|
267
|
+
type TextareaAdapted = Adapted<typeof ZTextarea, ZeroAxisProp, TextareaProps>;
|
|
268
|
+
export declare const Textarea: TextareaAdapted & AdaptedStatics<typeof ZTextarea> & { Root: TextareaAdapted };
|
|
269
|
+
|
|
270
|
+
/** native-select — no vendor route; the wired surface keeps zero's names. */
|
|
271
|
+
type NativeSelectProps = {
|
|
272
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
273
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
274
|
+
};
|
|
275
|
+
type NativeSelectAdapted = Adapted<typeof ZNativeSelect, ZeroAxisProp, NativeSelectProps>;
|
|
276
|
+
export declare const NativeSelect: NativeSelectAdapted & AdaptedStatics<typeof ZNativeSelect> & { Root: NativeSelectAdapted };
|
|
277
|
+
|
|
278
|
+
/** card — no vendor route; the wired surface keeps zero's names. */
|
|
279
|
+
type CardProps = {
|
|
280
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
281
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
282
|
+
};
|
|
283
|
+
type CardAdapted = Adapted<typeof ZCard, ZeroAxisProp, CardProps>;
|
|
284
|
+
export declare const Card: CardAdapted & AdaptedStatics<typeof ZCard> & { Root: CardAdapted };
|
|
285
|
+
|
|
286
|
+
/** alert — no vendor route; the wired surface keeps zero's names. */
|
|
287
|
+
type AlertProps = {
|
|
288
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
289
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
290
|
+
};
|
|
291
|
+
type AlertAdapted = Adapted<typeof ZAlert, ZeroAxisProp, AlertProps>;
|
|
292
|
+
export declare const Alert: AlertAdapted & AdaptedStatics<typeof ZAlert> & { Root: AlertAdapted };
|
|
293
|
+
|
|
294
|
+
/** badge — no vendor route; the wired surface keeps zero's names. */
|
|
295
|
+
type BadgeProps = {
|
|
296
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
297
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
298
|
+
};
|
|
299
|
+
type BadgeAdapted = Adapted<typeof ZBadge, ZeroAxisProp, BadgeProps>;
|
|
300
|
+
export declare const Badge: BadgeAdapted & { Root: BadgeAdapted };
|
|
301
|
+
|
|
302
|
+
/** divider — no vendor route; the wired surface keeps zero's names. */
|
|
303
|
+
type DividerProps = {
|
|
304
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
305
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
306
|
+
};
|
|
307
|
+
type DividerAdapted = Adapted<typeof ZDivider, ZeroAxisProp, DividerProps>;
|
|
308
|
+
export declare const Divider: DividerAdapted & { Root: DividerAdapted };
|
|
309
|
+
|
|
310
|
+
/** skeleton — no vendor route; the wired surface keeps zero's names. */
|
|
311
|
+
type SkeletonProps = {
|
|
312
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
313
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
314
|
+
};
|
|
315
|
+
type SkeletonAdapted = Adapted<typeof ZSkeleton, ZeroAxisProp, SkeletonProps>;
|
|
316
|
+
export declare const Skeleton: SkeletonAdapted & { Root: SkeletonAdapted };
|
|
317
|
+
|
|
318
|
+
/** spinner — no vendor route; the wired surface keeps zero's names. */
|
|
319
|
+
type SpinnerProps = {
|
|
320
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
321
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
322
|
+
};
|
|
323
|
+
type SpinnerAdapted = Adapted<typeof ZSpinner, ZeroAxisProp, SpinnerProps>;
|
|
324
|
+
export declare const Spinner: SpinnerAdapted & { Root: SpinnerAdapted };
|
|
325
|
+
|
|
326
|
+
/** kbd — no vendor route; the wired surface keeps zero's names. */
|
|
327
|
+
type KbdProps = {
|
|
328
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
329
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
330
|
+
};
|
|
331
|
+
type KbdAdapted = Adapted<typeof ZKbd, ZeroAxisProp, KbdProps>;
|
|
332
|
+
export declare const Kbd: KbdAdapted & { Root: KbdAdapted };
|
|
333
|
+
|
|
334
|
+
/** status — no vendor route; the wired surface keeps zero's names. */
|
|
335
|
+
type StatusProps = {
|
|
336
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
337
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
338
|
+
};
|
|
339
|
+
type StatusAdapted = Adapted<typeof ZStatus, ZeroAxisProp, StatusProps>;
|
|
340
|
+
export declare const Status: StatusAdapted & { Root: StatusAdapted };
|
|
341
|
+
|
|
342
|
+
/** indicator — no vendor route; the wired surface keeps zero's names. */
|
|
343
|
+
type IndicatorProps = {
|
|
344
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
345
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
346
|
+
};
|
|
347
|
+
type IndicatorAdapted = Adapted<typeof ZIndicator, ZeroAxisProp, IndicatorProps>;
|
|
348
|
+
export declare const Indicator: IndicatorAdapted & AdaptedStatics<typeof ZIndicator> & { Root: IndicatorAdapted };
|
|
349
|
+
|
|
350
|
+
/** stats — no vendor route; the wired surface keeps zero's names. */
|
|
351
|
+
type StatsProps = {
|
|
352
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
353
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
354
|
+
};
|
|
355
|
+
type StatsAdapted = Adapted<typeof ZStats, ZeroAxisProp, StatsProps>;
|
|
356
|
+
export declare const Stats: StatsAdapted & AdaptedStatics<typeof ZStats> & { Root: StatsAdapted };
|
|
357
|
+
|
|
358
|
+
/** timeline — no vendor route; the wired surface keeps zero's names. */
|
|
359
|
+
type TimelineProps = {
|
|
360
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
361
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
362
|
+
};
|
|
363
|
+
type TimelineAdapted = Adapted<typeof ZTimeline, ZeroAxisProp, TimelineProps>;
|
|
364
|
+
export declare const Timeline: TimelineAdapted & AdaptedStatics<typeof ZTimeline> & { Root: TimelineAdapted };
|
|
365
|
+
|
|
366
|
+
/** chat — no vendor route; the wired surface keeps zero's names. */
|
|
367
|
+
type ChatProps = {
|
|
368
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
369
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
370
|
+
};
|
|
371
|
+
type ChatAdapted = Adapted<typeof ZChat, ZeroAxisProp, ChatProps>;
|
|
372
|
+
export declare const Chat: ChatAdapted & AdaptedStatics<typeof ZChat> & { Root: ChatAdapted };
|
|
373
|
+
|
|
374
|
+
/** radial-progress — no vendor route; the wired surface keeps zero's names. */
|
|
375
|
+
type RadialProgressProps = {
|
|
376
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
377
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
378
|
+
};
|
|
379
|
+
type RadialProgressAdapted = Adapted<typeof ZRadialProgress, ZeroAxisProp, RadialProgressProps>;
|
|
380
|
+
export declare const RadialProgress: RadialProgressAdapted & AdaptedStatics<typeof ZRadialProgress> & { Root: RadialProgressAdapted };
|
|
381
|
+
|
|
382
|
+
/** join — no vendor route; the wired surface keeps zero's names. */
|
|
383
|
+
type JoinProps = {
|
|
384
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
385
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
386
|
+
};
|
|
387
|
+
type JoinAdapted = Adapted<typeof ZJoin, ZeroAxisProp, JoinProps>;
|
|
388
|
+
export declare const Join: JoinAdapted & AdaptedStatics<typeof ZJoin> & { Root: JoinAdapted };
|
|
389
|
+
|
|
390
|
+
/** navbar — no vendor route; the wired surface keeps zero's names. */
|
|
391
|
+
type NavbarProps = {
|
|
392
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
393
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
394
|
+
};
|
|
395
|
+
type NavbarAdapted = Adapted<typeof ZNavbar, ZeroAxisProp, NavbarProps>;
|
|
396
|
+
export declare const Navbar: NavbarAdapted & AdaptedStatics<typeof ZNavbar> & { Root: NavbarAdapted };
|
|
397
|
+
|
|
398
|
+
/** breadcrumbs — no vendor route; the wired surface keeps zero's names. */
|
|
399
|
+
type BreadcrumbsProps = {
|
|
400
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
401
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
402
|
+
};
|
|
403
|
+
type BreadcrumbsAdapted = Adapted<typeof ZBreadcrumbs, ZeroAxisProp, BreadcrumbsProps>;
|
|
404
|
+
export declare const Breadcrumbs: BreadcrumbsAdapted & AdaptedStatics<typeof ZBreadcrumbs> & { Root: BreadcrumbsAdapted };
|
|
405
|
+
|
|
406
|
+
/** pagination — no vendor route; the wired surface keeps zero's names. */
|
|
407
|
+
type PaginationProps = {
|
|
408
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
409
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
410
|
+
};
|
|
411
|
+
type PaginationAdapted = Adapted<typeof ZPagination, ZeroAxisProp, PaginationProps>;
|
|
412
|
+
export declare const Pagination: PaginationAdapted & AdaptedStatics<typeof ZPagination> & { Root: PaginationAdapted };
|
|
413
|
+
|
|
414
|
+
/** steps — no vendor route; the wired surface keeps zero's names. */
|
|
415
|
+
type StepsProps = {
|
|
416
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
417
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
418
|
+
};
|
|
419
|
+
type StepsAdapted = Adapted<typeof ZSteps, ZeroAxisProp, StepsProps>;
|
|
420
|
+
export declare const Steps: StepsAdapted & AdaptedStatics<typeof ZSteps> & { Root: StepsAdapted };
|
|
421
|
+
|
|
422
|
+
/** drawer — no vendor route; the wired surface keeps zero's names. */
|
|
423
|
+
type DrawerProps = {
|
|
424
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
425
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
426
|
+
};
|
|
427
|
+
type DrawerAdapted = Adapted<typeof ZDrawer, ZeroAxisProp, DrawerProps>;
|
|
428
|
+
export declare const Drawer: DrawerAdapted & AdaptedStatics<typeof ZDrawer> & { Root: DrawerAdapted };
|
|
429
|
+
|
|
430
|
+
/** table — hover ← mods.hover; zebra ← mods.zebra. Attributes stay zero-spelled. */
|
|
431
|
+
type TableProps = {
|
|
432
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
433
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
434
|
+
'hover'?: boolean;
|
|
435
|
+
'zebra'?: boolean;
|
|
436
|
+
};
|
|
437
|
+
type TableAdapted = Adapted<typeof ZTable, ZeroAxisProp | 'hover' | 'zebra', TableProps>;
|
|
438
|
+
export declare const Table: TableAdapted & AdaptedStatics<typeof ZTable> & { Root: TableAdapted };
|
|
439
|
+
|
|
440
|
+
/** file-upload — no vendor route; the wired surface keeps zero's names. */
|
|
441
|
+
type FileUploadProps = {
|
|
442
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
443
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
444
|
+
};
|
|
445
|
+
type FileUploadAdapted = Adapted<typeof ZFileUpload, ZeroAxisProp, FileUploadProps>;
|
|
446
|
+
export declare const FileUpload: FileUploadAdapted & AdaptedStatics<typeof ZFileUpload> & { Root: FileUploadAdapted };
|
|
447
|
+
|
|
448
|
+
/** carousel — no vendor route; the wired surface keeps zero's names. */
|
|
449
|
+
type CarouselProps = {
|
|
450
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
451
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
452
|
+
};
|
|
453
|
+
type CarouselAdapted = Adapted<typeof ZCarousel, ZeroAxisProp, CarouselProps>;
|
|
454
|
+
export declare const Carousel: CarouselAdapted & AdaptedStatics<typeof ZCarousel> & { Root: CarouselAdapted };
|
|
455
|
+
|
|
456
|
+
/** swap — no vendor route; the wired surface keeps zero's names. */
|
|
457
|
+
type SwapProps = {
|
|
458
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
459
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
460
|
+
};
|
|
461
|
+
type SwapAdapted = Adapted<typeof ZSwap, ZeroAxisProp, SwapProps>;
|
|
462
|
+
export declare const Swap: SwapAdapted & AdaptedStatics<typeof ZSwap> & { Root: SwapAdapted };
|
|
463
|
+
|
|
464
|
+
/** countdown — no vendor route; the wired surface keeps zero's names. */
|
|
465
|
+
type CountdownProps = {
|
|
466
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
467
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
468
|
+
};
|
|
469
|
+
type CountdownAdapted = Adapted<typeof ZCountdown, ZeroAxisProp, CountdownProps>;
|
|
470
|
+
export declare const Countdown: CountdownAdapted & AdaptedStatics<typeof ZCountdown> & { Root: CountdownAdapted };
|
|
471
|
+
|
|
472
|
+
/** diff — no vendor route; the wired surface keeps zero's names. */
|
|
473
|
+
type DiffProps = {
|
|
474
|
+
color?: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
|
|
475
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
476
|
+
};
|
|
477
|
+
type DiffAdapted = Adapted<typeof ZDiff, ZeroAxisProp, DiffProps>;
|
|
478
|
+
export declare const Diff: DiffAdapted & AdaptedStatics<typeof ZDiff> & { Root: DiffAdapted };
|