@jeromefitz/design-system 4.0.0-cmdk.3 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/{Avatar-72ba2c26.d.ts → Avatar-54fd85da.d.ts} +1 -1
- package/{Checkbox-fb313f42.d.ts → Checkbox-59269da3.d.ts} +1 -1
- package/{ContextMenu-29856c2f.d.ts → ContextMenu-2bc943f3.d.ts} +2 -2
- package/{DropdownMenu-41339ee6.d.ts → DropdownMenu-3b05b2b7.d.ts} +2 -2
- package/{Icon-82ead484.d.ts → Icon-fa1121a2.d.ts} +12 -10
- package/{Menu-a5c4090a.d.ts → Menu-42ac3066.d.ts} +2 -2
- package/{NavigationMenu-a9c626c6.d.ts → NavigationMenu-edaf112b.d.ts} +1 -1
- package/README.md +43 -185
- package/{Radio-1405ac50.d.ts → Radio-64a70f8a.d.ts} +1 -1
- package/{RadioCard-4065405c.d.ts → RadioCard-917755b2.d.ts} +1 -1
- package/{Slider-7e8fcebd.d.ts → Slider-54a6c11c.d.ts} +1 -1
- package/{SwitchIcon-09122b28.d.ts → SwitchIcon-266c457c.d.ts} +2 -2
- package/{chunk-76YC6AZX.js → chunk-2L776FA2.js} +1 -1
- package/{chunk-QOGB7HS4.js → chunk-3DEDLX6G.js} +1 -1
- package/{chunk-PTWZCFP2.cjs → chunk-F5LMWQYW.cjs} +1 -1
- package/{chunk-HFO66KG4.js → chunk-GF4D7EPJ.js} +2 -2
- package/{chunk-E3GPSB36.cjs → chunk-GVJQDJU4.cjs} +1 -1
- package/chunk-H3BJVG2D.js +1 -0
- package/{chunk-GUDRFPRX.cjs → chunk-HUZAIXWS.cjs} +1 -1
- package/{chunk-C4YAKXQ7.js → chunk-RSMGUGGO.js} +1 -1
- package/{chunk-6S3HOBMC.js → chunk-T6NDSD23.js} +1 -1
- package/{chunk-7ZPVOEEP.cjs → chunk-T6NNYMLQ.cjs} +1 -1
- package/{chunk-ONAGYDYJ.cjs → chunk-TGKY3UYU.cjs} +3 -3
- package/chunk-TW7YI7QU.cjs +1 -0
- package/components/Accordion/index.cjs +1 -1
- package/components/Accordion/index.js +1 -1
- package/components/Avatar/index.cjs +1 -1
- package/components/Avatar/index.d.ts +1 -1
- package/components/Avatar/index.js +1 -1
- package/components/Button/index.cjs +1 -1
- package/components/Button/index.js +1 -1
- package/components/Callout/index.cjs +1 -1
- package/components/Callout/index.js +1 -1
- package/components/Caption/index.cjs +1 -1
- package/components/Caption/index.js +1 -1
- package/components/Carousel/index.cjs +1 -1
- package/components/Carousel/index.js +1 -1
- package/components/Checkbox/index.cjs +1 -1
- package/components/Checkbox/index.d.ts +1 -1
- package/components/Checkbox/index.js +1 -1
- package/components/CommandMenu/index.cjs +1 -1
- package/components/CommandMenu/index.js +1 -1
- package/components/ContextMenu/index.cjs +1 -1
- package/components/ContextMenu/index.d.ts +1 -1
- package/components/ContextMenu/index.js +1 -1
- package/components/Dialog/index.cjs +1 -1
- package/components/Dialog/index.js +1 -1
- package/components/DropdownMenu/index.cjs +1 -1
- package/components/DropdownMenu/index.d.ts +1 -1
- package/components/DropdownMenu/index.js +1 -1
- package/components/Icon/index.cjs +1 -1
- package/components/Icon/index.d.ts +1 -1
- package/components/Icon/index.js +1 -1
- package/components/Menu/index.cjs +1 -1
- package/components/Menu/index.d.ts +1 -1
- package/components/Menu/index.js +1 -1
- package/components/NavigationMenu/index.cjs +1 -1
- package/components/NavigationMenu/index.d.ts +1 -1
- package/components/NavigationMenu/index.js +1 -1
- package/components/Note/index.cjs +1 -1
- package/components/Note/index.js +1 -1
- package/components/PageHeading/index.cjs +1 -1
- package/components/PageHeading/index.js +1 -1
- package/components/Paragraph/index.cjs +1 -1
- package/components/Paragraph/index.js +1 -1
- package/components/Popover/index.cjs +1 -1
- package/components/Popover/index.js +1 -1
- package/components/Radio/index.d.ts +1 -1
- package/components/RadioCard/index.d.ts +1 -1
- package/components/ScrollArea/index.cjs +1 -1
- package/components/ScrollArea/index.js +1 -1
- package/components/Slider/index.d.ts +1 -1
- package/components/Spacer/index.cjs +1 -1
- package/components/Spacer/index.js +1 -1
- package/components/Switch/index.d.ts +1 -1
- package/components/Tabs/index.cjs +1 -1
- package/components/Tabs/index.js +1 -1
- package/components/Toast/index.cjs +1 -1
- package/components/Toast/index.js +1 -1
- package/components/Tooltip/index.cjs +1 -1
- package/components/Tooltip/index.js +1 -1
- package/components/VerifiedBadge/index.cjs +1 -1
- package/components/VerifiedBadge/index.js +1 -1
- package/components/index.cjs +1 -1
- package/components/index.d.ts +11 -11
- package/components/index.js +1 -1
- package/custom/Hero/index.cjs +1 -1
- package/custom/Hero/index.js +1 -1
- package/index.cjs +1 -1
- package/index.d.ts +28 -12
- package/index.js +1 -1
- package/package.json +10 -10
- package/chunk-4D5OI4T6.cjs +0 -1
- package/chunk-DYD4ELIN.js +0 -1
package/README.md
CHANGED
@@ -2,210 +2,68 @@
|
|
2
2
|
|
3
3
|
Design System for [`jeromefitzgerald.com`](https://jeromefitzgerald.com).
|
4
4
|
|
5
|
-
##
|
5
|
+
## Overview
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
## TODO
|
10
|
-
|
11
|
-
Would be nice to _show_ all of this. And the ability to pass configuration so we can reduce sending _all_ colours at the moment in the configuration.
|
12
|
-
|
13
|
-
### Components
|
14
|
-
|
15
|
-
- [x] Accordion
|
16
|
-
- [x] Alert
|
17
|
-
- [x] AlertDialog
|
18
|
-
- [x] Announce \***\*\*\*\***
|
19
|
-
- [ ] AppBar
|
20
|
-
- [x] Avatar
|
21
|
-
- [x] Badge
|
22
|
-
- [x] Banner
|
23
|
-
- [x] Box
|
24
|
-
- [x] BoxGrab \***\*\*\*\***
|
25
|
-
- [x] BoxLink \***\*\*\*\***
|
26
|
-
- [x] Breakout \***\*\*\*\***
|
27
|
-
- [x] Button
|
28
|
-
- [x] Card
|
29
|
-
- [x] Checkbox
|
30
|
-
- [x] Code
|
31
|
-
- [x] Container
|
32
|
-
- [ ] ContextMenu
|
33
|
-
- [ ] ControlGroup
|
34
|
-
- [ ] ~~DesignSystemProvider~~
|
35
|
-
- [x] Dialog
|
36
|
-
- [ ] DropdownMenu
|
37
|
-
- [x] Emoji \***\*\*\*\***
|
38
|
-
- [x] Flex
|
39
|
-
- [x] Grid
|
40
|
-
- [x] Heading
|
41
|
-
- [x] Hero \***\*\*\*\***
|
42
|
-
- [x] IconButton
|
43
|
-
- [x] IconLink \***\*\*\*\***
|
44
|
-
- [ ] Image
|
45
|
-
- [ ] Kbd (Keyboard Button)
|
46
|
-
- [x] Label
|
47
|
-
- [x] Link
|
48
|
-
- [ ] Menu
|
49
|
-
- [x] Note \***\*\*\*\***
|
50
|
-
- [ ] Notion \***\*\*\*\***
|
51
|
-
- [x] Overlay
|
52
|
-
- [x] PageHeading \***\*\*\*\***
|
53
|
-
- [x] Panel
|
54
|
-
- [x] Paragraph
|
55
|
-
- [x] Popover
|
56
|
-
- [x] ProgressBar
|
57
|
-
- [x] Radio
|
58
|
-
- [x] RadioCard
|
59
|
-
- [ ] RadioGrid
|
60
|
-
- [x] ScrollArea \***\*\*\*\***
|
61
|
-
- [ ] Scrollbar
|
62
|
-
- [x] Section
|
63
|
-
- [ ] Select
|
64
|
-
- [x] Separator
|
65
|
-
- [ ] Sheet
|
66
|
-
- [ ] SimpleToggle
|
67
|
-
- [x] Skeleton
|
68
|
-
- [ ] Slider
|
69
|
-
- [x] Status
|
70
|
-
- [x] Sub
|
71
|
-
- [x] Sup
|
72
|
-
- [x] Switch
|
73
|
-
- [x] Table
|
74
|
-
- [x] TabLink
|
75
|
-
- [x] Tabs
|
76
|
-
- [x] Text
|
77
|
-
- [x] TextArea
|
78
|
-
- [ ] TextField
|
79
|
-
- [x] Toast \***\*\*\*\***
|
80
|
-
- [x] Tooltip (+ `./custom/` \***\*\*\*\***)
|
81
|
-
- [ ] TreeItem
|
82
|
-
- [ ] VerifiedBadge
|
7
|
+
```bash
|
8
|
+
pnpm install @jeromefitz/design-system
|
83
9
|
|
84
|
-
|
10
|
+
npm install @jeromefitz/design-system
|
85
11
|
|
86
|
-
|
87
|
-
|
88
|
-
- `@jeromefitz/notion` as a Skeleton where only the logic is provided.
|
89
|
-
|
90
|
-
Then one could use their own styling system via which Components they pass to `getContentNode`\*.
|
91
|
-
|
92
|
-
### Architecture
|
93
|
-
|
94
|
-
```sh
|
95
|
-
./Notion/
|
96
|
-
├─ components/
|
97
|
-
│ ├─ _unsupported_.tsx
|
98
|
-
│ ├─ bulleted_list_item.tsx
|
99
|
-
│ ├─ bulleted_list.tsx
|
100
|
-
│ ├─ callout.tsx
|
101
|
-
│ ├─ checkbox.tsx
|
102
|
-
│ ├─ column_list.tsx
|
103
|
-
│ ├─ column.tsx
|
104
|
-
│ ├─ date.tsx
|
105
|
-
│ ├─ files.tsx
|
106
|
-
│ ├─ heading_1.tsx
|
107
|
-
│ ├─ heading_2.tsx
|
108
|
-
│ ├─ heading_3.tsx
|
109
|
-
│ ├─ image.tsx
|
110
|
-
│ ├─ multi_select.tsx
|
111
|
-
│ ├─ numbered_list_item.tsx
|
112
|
-
│ ├─ numbered_list.tsx
|
113
|
-
│ ├─ paragraph.tsx
|
114
|
-
│ ├─ quote.tsx
|
115
|
-
│ ├─ relation.tsx
|
116
|
-
│ ├─ rich_text.tsx
|
117
|
-
│ ├─ title.tsx
|
118
|
-
│ ├─ to_do.tsx
|
119
|
-
│ ├─ toggle.tsx
|
120
|
-
│ ├─ url.tsx
|
121
|
-
├─ utils/
|
122
|
-
│ ├─ getContentNodes.tx
|
123
|
-
│ ├─ getContentType.tx
|
124
|
-
│ ├─ getContentTypeDetail.tsx
|
125
|
-
│ ├─ TextAnnotations.tsx
|
126
|
-
├─ ContentNodes.tsx
|
127
|
-
├─ index.ts
|
12
|
+
yarn install @jeromefitz/design-system
|
128
13
|
```
|
129
14
|
|
130
|
-
|
131
|
-
|
132
|
-
Receives `content` and `images` which comes from `@jeromefitz/notion`.
|
133
|
-
|
134
|
-
Cycles through each `node` via `getContentNodes` (=> `getContentType`) to determine:
|
135
|
-
|
136
|
-
- `ul`
|
137
|
-
- `ol`
|
138
|
-
- `*`
|
139
|
-
|
140
|
-
This is to wrap `li` (`bulleted_list_item|numbered_list_item`) accordingly.
|
15
|
+
Everything is lifted to the top-level. Probably need to look at tree-shaking a bit because of it. 😆
|
141
16
|
|
142
|
-
|
17
|
+
### Dependencies
|
143
18
|
|
144
|
-
|
145
|
-
- `column_list` (=> `column`)
|
146
|
-
-
|
147
|
-
- `toggle` will cycle through its `content` for its children.
|
19
|
+
Please install `peerDependencies` if you are using components that use:
|
148
20
|
|
149
|
-
|
21
|
+
- `@heroicons/react`
|
22
|
+
- `Icon`
|
23
|
+
- `@radix-ui/react-icons`
|
24
|
+
- `Icon`
|
25
|
+
- `cmdk`
|
26
|
+
- `CommandMenu`
|
27
|
+
- `framer-motion`:
|
28
|
+
- `CommandMenu`
|
29
|
+
- `NavigationMenu`
|
30
|
+
- `usePrefersReducedMotion`
|
31
|
+
- `useRefScrollProgress`
|
32
|
+
- `next`
|
33
|
+
- `CardSpotify`
|
34
|
+
- `EmojiParser`
|
35
|
+
- `HeroImage`
|
150
36
|
|
151
|
-
|
37
|
+
At the moment the `theme` system can only be overwritten, not "instead of" so should probably move this to `dependencies`:
|
152
38
|
|
153
|
-
- `
|
154
|
-
- `plain_text`
|
155
|
-
- `annotations`
|
39
|
+
- `@radix-ui/colors`
|
156
40
|
|
157
|
-
|
41
|
+
## Architecture
|
158
42
|
|
159
|
-
|
43
|
+
In the process of building out a `Storybook` to assist with seeing the Components visually (and crafting improved Documentation).
|
160
44
|
|
161
|
-
|
45
|
+
- `./components`: You guessed it
|
46
|
+
- `./custom`: Not ready for primetime Components
|
47
|
+
- `./hooks`: You guessed it again
|
48
|
+
- `./lib`: Theme & Tokens for Design System via Stitches
|
49
|
+
- See `Configuration`
|
162
50
|
|
163
|
-
|
51
|
+
## Configuration
|
164
52
|
|
165
|
-
|
53
|
+
TODO
|
166
54
|
|
167
|
-
|
168
|
-
|
169
|
-
Currently tied to `next/image`
|
170
|
-
|
171
|
-
#### TextAnnotations
|
55
|
+
## Notion
|
172
56
|
|
173
|
-
|
57
|
+
If you are using `Notion` check out [`next-notion`](https://github.com/JeromeFitz/websites/tree/main/packages/next-notion) in [`@jeromefitz/websites`](https://github.com/JeromeFitz/websites) as that cannot be ported just yet to this monorepo.
|
174
58
|
|
175
|
-
|
59
|
+
However, it has the `Notion` components that you can use with (or without) this Design System. And in generally see how you can do that.
|
176
60
|
|
177
|
-
|
61
|
+
## Issues
|
178
62
|
|
179
|
-
|
63
|
+
- Very closely tied to `next` for some Components so please work on making this more agnostic.
|
64
|
+
- Breaking change in `3.6.0` if you use `kbar`. Was supposed to get picked up with the prerelease but did not.
|
180
65
|
|
181
|
-
|
66
|
+
## Props
|
182
67
|
|
183
|
-
|
184
|
-
|
185
|
-
_unsupported: dynamic(() => import('./components/_unsupported')),
|
186
|
-
bulleted_list_item: dynamic(() => import('./components/bulleted_list_item')),
|
187
|
-
bulleted_list: dynamic(() => import('./components/bulleted_list')),
|
188
|
-
callout: dynamic(() => import('./components/callout')),
|
189
|
-
checkbox: dynamic(() => import('./components/checkbox')),
|
190
|
-
column_list: dynamic(() => import('./components/column_list')),
|
191
|
-
column: dynamic(() => import('./components/column')),
|
192
|
-
date: dynamic(() => import('./components/date')),
|
193
|
-
divider: dynamic(() => import('./components/divider')),
|
194
|
-
files: dynamic(() => import('./components/files')),
|
195
|
-
heading_1: dynamic(() => import('./components/heading_1')),
|
196
|
-
heading_2: dynamic(() => import('./components/heading_2')),
|
197
|
-
heading_3: dynamic(() => import('./components/heading_3')),
|
198
|
-
image: dynamic(() => import('./components/image')),
|
199
|
-
multi_select: dynamic(() => import('./components/multi_select')),
|
200
|
-
numbered_list_item: dynamic(() => import('./components/numbered_list_item')),
|
201
|
-
numbered_list: dynamic(() => import('./components/numbered_list')),
|
202
|
-
paragraph: dynamic(() => import('./components/paragraph')),
|
203
|
-
quote: dynamic(() => import('./components/quote')),
|
204
|
-
relation: dynamic(() => import('./components/relation')),
|
205
|
-
rich_text: dynamic(() => import('./components/rich_text')),
|
206
|
-
title: dynamic(() => import('./components/title')),
|
207
|
-
to_do: dynamic(() => import('./components/to_do')),
|
208
|
-
toggle: dynamic(() => import('./components/toggle')),
|
209
|
-
url: dynamic(() => import('./components/url')),
|
210
|
-
}
|
211
|
-
```
|
68
|
+
- [`radix-ui/design-system`](https://github.com/radix-ui/design-system)
|
69
|
+
- [`stitches`](https://github.com/stitchesjs/stitches)
|
@@ -918,6 +918,6 @@ declare type RadioProps = RadioGroupItemPrimitiveProps & RadioVariants & {
|
|
918
918
|
* https://www.radix-ui.com/docs/primitives/components/radio-group
|
919
919
|
*/
|
920
920
|
|
921
|
-
declare const Radio: React.ForwardRefExoticComponent<Pick<RadioProps, "size" | "color" | "translate" | "hidden" | "css" | "prefix" | "form" | "slot" | "style" | "title" | "className" | "id" | "lang" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "value" | "
|
921
|
+
declare const Radio: React.ForwardRefExoticComponent<Pick<RadioProps, "size" | "color" | "translate" | "hidden" | "css" | "prefix" | "form" | "slot" | "style" | "title" | "className" | "id" | "lang" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "value" | "asChild" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "checked" | "required"> & React.RefAttributes<HTMLButtonElement>>;
|
922
922
|
|
923
923
|
export { Radio as R, RadioGroup as a };
|
@@ -434,6 +434,6 @@ declare type RadioCardProps = RadioGroupItemPrimitiveProps & {
|
|
434
434
|
css?: CSS;
|
435
435
|
};
|
436
436
|
|
437
|
-
declare const RadioCard: React.ForwardRefExoticComponent<Pick<RadioCardProps, "color" | "translate" | "hidden" | "css" | "prefix" | "form" | "slot" | "style" | "title" | "className" | "id" | "lang" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "value" | "
|
437
|
+
declare const RadioCard: React.ForwardRefExoticComponent<Pick<RadioCardProps, "color" | "translate" | "hidden" | "css" | "prefix" | "form" | "slot" | "style" | "title" | "className" | "id" | "lang" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "value" | "asChild" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "checked" | "required"> & React.RefAttributes<HTMLButtonElement>>;
|
438
438
|
|
439
439
|
export { RadioCard as R, RadioCardGroup as a };
|
@@ -432,6 +432,6 @@ declare type SliderPrimitiveProps = React.ComponentProps<typeof SliderPrimitive.
|
|
432
432
|
declare type SliderProps = SliderPrimitiveProps & {
|
433
433
|
css?: CSS;
|
434
434
|
};
|
435
|
-
declare const Slider: React.ForwardRefExoticComponent<Pick<SliderProps, "max" | "color" | "translate" | "hidden" | "css" | "prefix" | "slot" | "style" | "title" | "className" | "id" | "lang" | "min" | "name" | "role" | "tabIndex" | "orientation" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "step" | "value" | "
|
435
|
+
declare const Slider: React.ForwardRefExoticComponent<Pick<SliderProps, "max" | "color" | "translate" | "hidden" | "css" | "prefix" | "slot" | "style" | "title" | "className" | "id" | "lang" | "min" | "name" | "role" | "tabIndex" | "orientation" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "step" | "value" | "asChild" | "disabled" | "onValueChange" | "minStepsBetweenThumbs"> & React.RefAttributes<HTMLSpanElement>>;
|
436
436
|
|
437
437
|
export { StyledSlider as S, Slider as a };
|
@@ -493,13 +493,13 @@ declare type SwitchProps = SwitchPrimitiveProps & SwitchVariants & {
|
|
493
493
|
* https://www.radix-ui.com/docs/primitives/components/switch
|
494
494
|
*/
|
495
495
|
|
496
|
-
declare const Switch: React.ForwardRefExoticComponent<Pick<SwitchProps, "size" | "color" | "translate" | "hidden" | "css" | "prefix" | "form" | "slot" | "style" | "title" | "className" | "id" | "lang" | "name" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "value" | "
|
496
|
+
declare const Switch: React.ForwardRefExoticComponent<Pick<SwitchProps, "size" | "color" | "translate" | "hidden" | "css" | "prefix" | "form" | "slot" | "style" | "title" | "className" | "id" | "lang" | "name" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "value" | "asChild" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "checked" | "required" | "onCheckedChange"> & React.RefAttributes<HTMLButtonElement>>;
|
497
497
|
|
498
498
|
interface SwitchIconProps extends SwitchProps {
|
499
499
|
icon?: React.ReactNode;
|
500
500
|
iconOff?: React.ReactNode;
|
501
501
|
iconOn?: React.ReactNode;
|
502
502
|
}
|
503
|
-
declare const SwitchIcon: React.ForwardRefExoticComponent<Pick<SwitchIconProps, "size" | "color" | "translate" | "hidden" | "css" | "prefix" | "form" | "slot" | "style" | "title" | "icon" | "className" | "id" | "lang" | "name" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "value" | "
|
503
|
+
declare const SwitchIcon: React.ForwardRefExoticComponent<Pick<SwitchIconProps, "size" | "color" | "translate" | "hidden" | "css" | "prefix" | "form" | "slot" | "style" | "title" | "icon" | "className" | "id" | "lang" | "name" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "value" | "asChild" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "checked" | "required" | "onCheckedChange" | "iconOff" | "iconOn"> & React.RefAttributes<HTMLButtonElement>>;
|
504
504
|
|
505
505
|
export { Switch as S, SwitchIcon as a };
|
@@ -1 +1 @@
|
|
1
|
-
import{a as i}from"./chunk-
|
1
|
+
import{a as i}from"./chunk-H3BJVG2D.js";import{h as e,j as t}from"./chunk-ZLHUE4ZB.js";import*as x from"react";import*as o from"@radix-ui/react-checkbox";var c=e(o.Root,{all:"unset",boxSizing:"border-box",userSelect:"none","&::before":{boxSizing:"border-box"},"&::after":{boxSizing:"border-box"},alignItems:"center",backgroundColor:"$panel",borderRadius:"$2",display:"flex",justifyContent:"center",outline:"none",boxShadow:"0 2px 10px $colors$blackA7","&:hover":{backgroundColor:"$colors$brand3",boxShadow:"0 2px 10px $colors$blackA8",cursor:"pointer"},"&:focus":{boxShadow:"0 2px 10px $colors$blackA9"},[`.${t} &`]:{boxShadow:"0 2px 10px $colors$whiteA9","&:hover":{backgroundColor:"$colors$brand3",boxShadow:"0 2px 10px $colors$whiteA10",cursor:"pointer"},"&:focus":{boxShadow:"0 2px 10px $colors$whiteA11"}},variants:{size:{1:{width:"$4",height:"$4"},2:{width:"$5",height:"$5"},3:{width:"$6",height:"$6"}}},defaultVariants:{size:"1"}}),h=e(o.Indicator,{alignItems:"center",color:"$colors$brand11",display:"flex",height:"100%",justifyContent:"center",width:"100%","& svg":{height:"85%",width:"85%"}});import{jsx as r}from"react/jsx-runtime";var a=x.forwardRef((d,b)=>r(c,{...d,ref:b,children:r(h,{children:r(i.Check,{})})}));a.displayName="Checkbox";export{a};
|
@@ -1 +1 @@
|
|
1
|
-
import{a as m}from"./chunk-
|
1
|
+
import{a as m}from"./chunk-H3BJVG2D.js";import{f as o,h as t}from"./chunk-ZLHUE4ZB.js";import*as r from"react";import*as e from"@radix-ui/react-navigation-menu";import{motion as u}from"framer-motion";var y=o({from:{transform:"translateX(200px)",opacity:0},to:{transform:"translateX(0)",opacity:1}}),N=o({from:{transform:"translateX(-200px)",opacity:0},to:{transform:"translateX(0)",opacity:1}}),w=o({from:{transform:"translateX(0)",opacity:1},to:{transform:"translateX(200px)",opacity:0}}),x=o({from:{transform:"translateX(0)",opacity:1},to:{transform:"translateX(-200px)",opacity:0}}),M=o({from:{transform:"translateY(5px) rotateX(-20deg) scale(0.97)",opacity:0},to:{transform:"translateY(0px) rotateX(0deg) scale(1)",opacity:1}}),S=o({from:{transform:"translateY(0px) rotateX(0deg) ",opacity:1},to:{transform:"translateY(5px) rotateX(-10deg)",opacity:0}}),b=o({from:{opacity:0},to:{opacity:1}}),C=o({from:{opacity:1},to:{opacity:0}}),I=t(e.Root,{position:"relative",display:"flex",justifyContent:"center",width:"100%",zIndex:"$1"}),k=t(e.List,{all:"unset",backgroundColor:"inherit",borderRadius:"$1",display:"flex",justifyContent:"center",listStyle:"none",padding:"$3"}),s={borderRadius:"$0",color:"$colors$primary",fontSize:"$2",fontWeight:"$5",fontVariationSettings:'"wght" $fontWeights$5',lineHeight:1,outline:"none",padding:"$4 $3",userSelect:"none"},L=t(e.Trigger,{all:"unset",...s,display:"flex",alignItems:"center",justifyContent:"space-between",gap:"$2","&:hover":{cursor:"pointer"},'&[data-state="open"]':{backgroundColor:"$colors$focusBackground"},'&[data-state="closed"]':{"&:focus":{position:"relative",boxShadow:"0 0 0 1px $colors$focus"},"&:hover":{backgroundColor:"$colors$focusBackground"}}}),T=t(m.CaretDown,{position:"relative",color:"$colors$primary",top:1,"[data-state=open] &":{transform:"rotate(-180deg)"},"@media (prefers-reduced-motion: no-preference)":{transition:"transform 250ms ease"}}),R=t(e.Link,{...s,display:"block",textDecoration:"none",fontSize:"$2",lineHeight:1,"&:focus":{position:"relative",boxShadow:"0 0 0 1px $colors$focus"},"&:hover":{backgroundColor:"$colors$hoverBackground",cursor:"pointer"},variants:{focus:{true:{padding:"$1",position:"relative",listStyle:"none",cursor:"pointer",width:"90%",height:"90%",margin:"$1",outline:"none",span:{position:"relative",left:"$2",right:0,top:"$3",bottom:0,zIndex:"$1",userSelect:"none",fontSize:"$3"}}},type:{callout:{background:"linear-gradient(135deg, $colors$emphasis 0%, $colors$foreground 100%)",display:"flex",justifyContent:"flex-end",flexDirection:"column",width:"100%",height:"100%",p:0,m:0,mb:"$1",pb:"$3"}}}}),P=t(e.Content,{backgroundColor:"$colors$panel",position:"absolute",top:0,left:0,width:"95%","@media only screen and (min-width: 600px)":{width:"auto"},"@media (prefers-reduced-motion: no-preference)":{animationDuration:"250ms",animationTimingFunction:"ease",'&[data-motion="from-start"]':{animationName:N},'&[data-motion="from-end"]':{animationName:y},'&[data-motion="to-start"]':{animationName:x},'&[data-motion="to-end"]':{animationName:w}}}),W=t(e.Indicator,{display:"flex",alignItems:"flex-end",justifyContent:"center",height:"$4",top:"100%",overflow:"hidden",zIndex:"$1","@media (prefers-reduced-motion: no-preference)":{transition:"width, transform 250ms ease",'&[data-state="visible"]':{animation:`${b} 200ms ease`},'&[data-state="hidden"]':{animation:`${C} 200ms ease`}}}),X=t("div",{position:"relative",top:"70%",backgroundColor:"$colors$panel",boxShadow:"0 2px 10px $colors$shadow",width:10,height:10,transform:"rotate(45deg)",borderTopLeftRadius:"$0"}),z=t(e.Viewport,{backgroundColor:"inherit",borderRadius:"$1",boxShadow:"0 2px 10px $colors$shadow",height:"var(--radix-navigation-menu-viewport-height)",marginTop:"$4",overflow:"hidden",position:"relative",transformOrigin:"top center",width:"100%","@media only screen and (min-width: 600px)":{width:"var(--radix-navigation-menu-viewport-width)"},"@media (prefers-reduced-motion: no-preference)":{transition:"width, height, 300ms ease",'&[data-state="open"]':{animation:`${M} 200ms ease`},'&[data-state="closed"]':{animation:`${S} 200ms ease`}}}),F=I,V=k,A=e.Item,d=L,c=T,j=R,D=P,B=z,l=W,f=X,H=t("ul",{columnGap:10,display:"grid",listStyle:"none",margin:0,p:"$3 $3 $4","@bp1":{p:"$4 $4 $5"},"@media (prefers-reduced-motion: no-preference)":{transition:"all 250ms ease"},variants:{layout:{one:{"@media only screen and (min-width: 600px)":{gridTemplateColumns:".75fr 1fr",width:500}},two:{"@media only screen and (min-width: 600px)":{gridAutoFlow:"column",gridTemplateRows:"repeat(3, 1fr)",width:600}},three:{"@media only screen and (min-width: 600px)":{gridAutoFlow:"column",gridTemplateRows:"repeat(4, 1fr)",width:600}}}}}),O=t("li",{borderRadius:"$2",padding:"$2 0",m:"0","@media (prefers-reduced-motion: no-preference)":{transition:"all 250ms ease"}}),Y=t(e.Link,{...s,display:"block",textDecoration:"none",fontSize:"$2",lineHeight:1,"&:focus":{position:"relative",boxShadow:"0 0 0 1px transparent"},"&:hover":{backgroundColor:"transparent"},variants:{focus:{true:{padding:"$1",position:"relative",listStyle:"none",cursor:"pointer",width:"90%",height:"90%",margin:"$1",outline:"none",span:{position:"relative",left:"$2",right:0,top:"$3",bottom:0,zIndex:"$1",userSelect:"none",fontSize:"1rem"}}},type:{callout:{background:"linear-gradient(135deg, $colors$emphasis 0%, $colors$foreground 100%)",display:"flex",justifyContent:"flex-end",flexDirection:"column",width:"100%",height:"100%",p:0,m:0,mb:"$1",pb:"$3"}}}}),E=t("p",{color:"$colors$primary",fontWeight:"$6",fontVariationSettings:'"wght" $fontWeights$6',lineHeight:1.2,marginBottom:"$2"}),G=t("p",{all:"unset",color:"$colors$secondary",fontWeight:"$4",fontVariationSettings:'"wght" $fontWeights$4',lineHeight:1.25}),q=t("div",{display:"flex",justifyContent:"center",left:0,perspective:"2000px",position:"absolute",top:"100%",width:"100%"}),g=t(u.div,{position:"absolute",top:"12px",left:"-3px",width:"110%",height:"110%",borderRadius:"$2",zIndex:"$0",background:"$colors$hoverBackground",variants:{type:{callout:{top:"-9px",left:"-9px"}},color:{primary:{}}}}),p=t(u.div,{position:"absolute",top:"12px",left:"-3px",width:"110%",height:"110%",background:"transparent",border:"2px solid $colors$tertiary",borderRadius:"$2",zIndex:"$1"});import{jsx as a,jsxs as tt}from"react/jsx-runtime";var J=r.forwardRef(({children:i,css:n,...v},h)=>tt(d,{...v,ref:h,children:[i,a(c,{"aria-hidden":!0,css:n})]})),K=r.forwardRef((i,n)=>a(l,{...i,ref:n,children:a(f,{})})),Q=J,U=K,Z=r.forwardRef((i,n)=>a(g,{ref:n,transition:{layout:{duration:.2,ease:"easeOut"}},...i})),_=r.forwardRef((i,n)=>a(p,{ref:n,...i}));export{F as a,V as b,A as c,d,c as e,j as f,D as g,B as h,l as i,H as j,O as k,Y as l,E as m,G as n,q as o,g as p,p as q,Q as r,U as s,Z as t,_ as u};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkTW7YI7QUcjs = require('./chunk-TW7YI7QU.cjs');var _chunkX7D27S2Ocjs = require('./chunk-X7D27S2O.cjs');var _reactaccordion = require('@radix-ui/react-accordion'); var o = _interopRequireWildcard(_reactaccordion);var _react = require('react'); var c = _interopRequireWildcard(_react);var _jsxruntime = require('react/jsx-runtime');var g=_chunkX7D27S2Ocjs.f.call(void 0, {from:{height:0},to:{height:"var(--radix-accordion-content-height)"}}),p=_chunkX7D27S2Ocjs.f.call(void 0, {from:{height:"var(--radix-accordion-content-height)"},to:{height:0}}),m=_chunkX7D27S2Ocjs.h.call(void 0, o.Root,{borderRadius:6,width:"100%",backgroundColor:"$colors$gray1",boxShadow:"0 2px 10px $colors$gray12"}),h=_chunkX7D27S2Ocjs.h.call(void 0, o.Item,{overflow:"hidden",marginTop:1,"&:first-child":{marginTop:0,borderTopLeftRadius:4,borderTopRightRadius:4},"&:last-child":{borderBottomLeftRadius:4,borderBottomRightRadius:4},"&:focus-within":{position:"relative",zIndex:1,boxShadow:"0 0 0 2px $colors$gray12"}}),f=_chunkX7D27S2Ocjs.h.call(void 0, o.Header,{all:"unset",display:"flex"}),y=_chunkX7D27S2Ocjs.h.call(void 0, o.Trigger,{all:"unset",fontFamily:"inherit",backgroundColor:"transparent",padding:"0 20px",height:45,flex:1,display:"flex",alignItems:"center",justifyContent:"space-between",fontSize:15,lineHeight:1,color:"$colors$gray12",boxShadow:"0 1px 0 $colors$gray9",'&[data-state="closed"]':{backgroundColor:"$colors$gray3"},'&[data-state="open"]':{backgroundColor:"$colors$gray5"},"&:hover":{backgroundColor:"$colors$gray4",cursor:"pointer"}}),$=_chunkX7D27S2Ocjs.h.call(void 0, o.Content,{backgroundColor:"inherit",color:"$colors$gray12",fontSize:15,overflow:"hidden",'&[data-state="open"]':{animation:`${g} 300ms cubic-bezier(0.87, 0, 0.13, 1)`},'&[data-state="closed"]':{animation:`${p} 300ms cubic-bezier(0.87, 0, 0.13, 1)`}}),b=_chunkX7D27S2Ocjs.h.call(void 0, "div",{padding:"$2 $4"}),C=_chunkX7D27S2Ocjs.h.call(void 0, _chunkTW7YI7QUcjs.a.ChevronDown,{color:"$colors$gray12","[data-state=open] &":{transform:"rotate(180deg)"},"@media (prefers-reduced-motion: no-preference)":{transition:"transform 300ms cubic-bezier(0.87, 0, 0.13, 1)"}}),s= exports.a =c.forwardRef(({children:t,...i},n)=>_jsxruntime.jsx.call(void 0, f,{children:_jsxruntime.jsxs.call(void 0, y,{...i,ref:n,children:[_jsxruntime.jsx.call(void 0, "div",{children:t}),_jsxruntime.jsx.call(void 0, C,{"aria-hidden":!0})]})}));s.displayName="AccordionTrigger";var l=c.forwardRef(({children:t,...i},n)=>_jsxruntime.jsx.call(void 0, _jsxruntime.Fragment,{children:_jsxruntime.jsx.call(void 0, $,{...i,ref:n,children:_jsxruntime.jsx.call(void 0, b,{children:t})})}));l.displayName="AccordionContent";var R=m,u= exports.d =h;exports.a = s; exports.b = l; exports.c = R; exports.d = u;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import{a as So}from"./chunk-27HE4MRK.js";import{a as $o}from"./chunk-BTQ5DNA3.js";import{a as ao}from"./chunk-X6A5737O.js";import{a as bo}from"./chunk-CMVYH535.js";import{a as A}from"./chunk-CJ77X34J.js";import{a as vo}from"./chunk-YVR6OVLU.js";import{a as yo}from"./chunk-U4KUGUZ6.js";import{a as ro}from"./chunk-2N3AFY55.js";import{a as B}from"./chunk-FEPKNMOQ.js";import{a as io}from"./chunk-FNJ6UVFO.js";import{a as G}from"./chunk-JAUG5276.js";import{a as R}from"./chunk-
|
1
|
+
import{a as So}from"./chunk-27HE4MRK.js";import{a as $o}from"./chunk-BTQ5DNA3.js";import{a as ao}from"./chunk-X6A5737O.js";import{a as bo}from"./chunk-CMVYH535.js";import{a as A}from"./chunk-CJ77X34J.js";import{a as vo}from"./chunk-YVR6OVLU.js";import{a as yo}from"./chunk-U4KUGUZ6.js";import{a as ro}from"./chunk-2N3AFY55.js";import{a as B}from"./chunk-FEPKNMOQ.js";import{a as io}from"./chunk-FNJ6UVFO.js";import{a as G}from"./chunk-JAUG5276.js";import{a as R}from"./chunk-H3BJVG2D.js";import{a as n}from"./chunk-XYI3FNAV.js";import{c as Y,f as P,h as o,j as No}from"./chunk-ZLHUE4ZB.js";import*as zt from"react";var Wo=o("button",{alignItems:"center",appearance:"none",borderWidth:"0",boxSizing:"border-box",display:"inline-flex",flexShrink:0,fontFamily:"inherit",fontSize:"14px",justifyContent:"center",lineHeight:"1",outline:"none",padding:"0",textDecoration:"none",userSelect:"none",WebkitTapHighlightColor:"transparent",color:"$hiContrast","&::before":{boxSizing:"border-box"},"&::after":{boxSizing:"border-box"},backgroundColor:"$loContrast",border:"1px solid $slate7","@hover":{"&:hover":{borderColor:"$slate8"}},"&:active":{backgroundColor:"$slate2"},"&:focus":{borderColor:"$slate8",boxShadow:"0 0 0 1px $colors$slate8"},"&:disabled":{pointerEvents:"none",backgroundColor:"transparent",color:"$slate6"},variants:{cursor:{arrow:{cursor:"arrow"},pointer:{cursor:"pointer"}},size:{1:{borderRadius:"$1",height:"$5",width:"$5"},2:{borderRadius:"$2",height:"$6",width:"$6"},3:{borderRadius:"$2",height:"$7",width:"$7"},4:{borderRadius:"$3",height:"$8",width:"$8"}},variant:{ghost:{backgroundColor:"transparent",borderWidth:"0","@hover":{"&:hover":{backgroundColor:"$slateA3"}},"&:focus":{borderRadius:"$1",boxShadow:"0 0 0 2px $colors$gray1, 0 0 0 3px $colors$hiContrast"},"&:active":{backgroundColor:"$slateA4"},'&[data-radix-popover-trigger][data-state="open"], &[data-radix-dropdown-menu-trigger][data-state="open"]':{backgroundColor:"$slateA4"}},raised:{boxShadow:"0 0 transparent, 0 16px 32px hsl(206deg 12% 5% / 25%), 0 3px 5px hsl(0deg 0% 0% / 10%)","@hover":{"&:hover":{boxShadow:"0 0 transparent, 0 16px 32px hsl(206deg 12% 5% / 25%), 0 3px 5px hsl(0deg 0% 0% / 10%)"}},"&:focus":{borderColor:"$slate8",boxShadow:"0 0 0 1px $colors$slate8, 0 16px 32px hsl(206deg 12% 5% / 25%), 0 3px 5px hsl(0deg 0% 0% / 10%)"},"&:active":{backgroundColor:"$slate4"}}},state:{active:{backgroundColor:"$slate4",boxShadow:"inset 0 0 0 1px hsl(206,10%,76%)","@hover":{"&:hover":{boxShadow:"inset 0 0 0 1px hsl(206,10%,76%)"}},"&:active":{backgroundColor:"$slate4"}},waiting:{backgroundColor:"$slate4",boxShadow:"inset 0 0 0 1px hsl(206,10%,76%)","@hover":{"&:hover":{boxShadow:"inset 0 0 0 1px hsl(206,10%,76%)"}},"&:active":{backgroundColor:"$slate4"}}}},defaultVariants:{cursor:"arrow",size:"1",variant:"ghost"}});import*as Xo from"react";var Go=o("button",{all:"unset",alignItems:"center",boxSizing:"border-box",userSelect:"none",display:"inline-flex",WebkitTapHighlightColor:"rgba(0,0,0,0)",height:"$8",px:"$5",fontFamily:"$mono",fontVariationSettings:'"wght" $fontWeights$5',fontWeight:"$fontWeights$5",borderRadius:"$2",fontSize:"$3",lineHeight:"$sizes$8","&:disabled":{bc:"$slate2",boxShadow:"inset 0 0 0 1px $colors$slate7",color:"$slate8",pointerEvents:"not-allowed"},"&[href]":{cursor:"pointer"},variants:{variant:{contrast:{bc:"$hiContrast",color:"$loContrast","@hover":{"&:hover":{opacity:.9}},"&:active":{opacity:.8},"&:focus":{boxShadow:"0 0 0 2px $colors$blue8"},"&:focus:not(:focus-visible)":{boxShadow:"none"},$$backlight:`
|
2
2
|
0 0 0 2px $colors$brandA8,
|
3
3
|
-15px 0 30px -15px $colors$orangeA8,
|
4
4
|
0 0 30px -15px $colors$orangeA8,
|
@@ -16,7 +16,7 @@ import{a as So}from"./chunk-27HE4MRK.js";import{a as $o}from"./chunk-BTQ5DNA3.js
|
|
16
16
|
$colors$gray10 55%,
|
17
17
|
$colors$gray6 70%,
|
18
18
|
$colors$gray6 100%
|
19
|
-
)`,zIndex:"-1",padding:"-$3",position:"absolute",borderRadius:"$3",top:"-1px",left:"-1px",width:"calc(100% + 2px)",height:"calc(100% + 2px)",animation:`${_t} 2s ease forwards 0.1s`,backgroundSize:"200% auto"},"&:before":{content:'""',zIndex:"-1",padding:"-$3",position:"absolute",borderRadius:"$3",top:"-1px",left:"0px",width:"calc(100% +
|
19
|
+
)`,zIndex:"-1",padding:"-$3",position:"absolute",borderRadius:"$3",top:"-1px",left:"-1px",width:"calc(100% + 2px)",height:"calc(100% + 2px)",animation:`${_t} 2s ease forwards 0.1s`,backgroundSize:"200% auto"},"&:before":{content:'""',zIndex:"-1",padding:"-$3",position:"absolute",borderRadius:"$3",top:"-1px",left:"0px",width:"calc(100% + 1px)",height:"calc(100% + 1px)",boxShadow:"0 0 0 1px transparent",animation:`${Yt} 1s linear forwards 0.5s`}}),jt=o(F.Input,{background:"transparent",border:"none",borderRadius:"$0",color:"$gray12",fontFamily:"$sans",fontWeight:"$7",outline:"none",padding:"$4 $4 $2","&::placeholder":{color:"$gray9"},fontSize:"16px","@bp1":{fontSize:"$4"}}),Jt=o(n,{background:`
|
20
20
|
linear-gradient(
|
21
21
|
90deg,
|
22
22
|
rgba(56, 189, 248, 0),
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkTW7YI7QUcjs = require('./chunk-TW7YI7QU.cjs');var _chunkX7D27S2Ocjs = require('./chunk-X7D27S2O.cjs');var _react = require('react'); var x = _interopRequireWildcard(_react);var _reactcheckbox = require('@radix-ui/react-checkbox'); var o = _interopRequireWildcard(_reactcheckbox);var c=_chunkX7D27S2Ocjs.h.call(void 0, o.Root,{all:"unset",boxSizing:"border-box",userSelect:"none","&::before":{boxSizing:"border-box"},"&::after":{boxSizing:"border-box"},alignItems:"center",backgroundColor:"$panel",borderRadius:"$2",display:"flex",justifyContent:"center",outline:"none",boxShadow:"0 2px 10px $colors$blackA7","&:hover":{backgroundColor:"$colors$brand3",boxShadow:"0 2px 10px $colors$blackA8",cursor:"pointer"},"&:focus":{boxShadow:"0 2px 10px $colors$blackA9"},[`.${_chunkX7D27S2Ocjs.j} &`]:{boxShadow:"0 2px 10px $colors$whiteA9","&:hover":{backgroundColor:"$colors$brand3",boxShadow:"0 2px 10px $colors$whiteA10",cursor:"pointer"},"&:focus":{boxShadow:"0 2px 10px $colors$whiteA11"}},variants:{size:{1:{width:"$4",height:"$4"},2:{width:"$5",height:"$5"},3:{width:"$6",height:"$6"}}},defaultVariants:{size:"1"}}),h=_chunkX7D27S2Ocjs.h.call(void 0, o.Indicator,{alignItems:"center",color:"$colors$brand11",display:"flex",height:"100%",justifyContent:"center",width:"100%","& svg":{height:"85%",width:"85%"}});var _jsxruntime = require('react/jsx-runtime');var a=x.forwardRef((d,b)=>_jsxruntime.jsx.call(void 0, c,{...d,ref:b,children:_jsxruntime.jsx.call(void 0, h,{children:_jsxruntime.jsx.call(void 0, _chunkTW7YI7QUcjs.a.Check,{})})}));a.displayName="Checkbox";exports.a = a;
|