@atom-learning/components 1.0.0-rc.3 → 1.0.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/CHANGELOG.md +16 -0
- package/dist/components/action-icon/ActionIcon.d.ts +129 -43
- package/dist/components/alert-dialog/AlertDialog.d.ts +128 -42
- package/dist/components/alert-dialog/AlertDialogContent.d.ts +128 -42
- package/dist/components/alert-dialog/AlertDialogContent.js +1 -1
- package/dist/components/box/Box.d.ts +128 -42
- package/dist/components/button/Button.d.ts +128 -42
- package/dist/components/button/Button.js +1 -1
- package/dist/components/carousel/Carousel.js +1 -1
- package/dist/components/carousel/CarouselPagination.d.ts +128 -42
- package/dist/components/carousel/CarouselSlide.d.ts +128 -42
- package/dist/components/carousel/CarouselSlider.d.ts +128 -42
- package/dist/components/checkbox/Checkbox.d.ts +128 -42
- package/dist/components/combobox/Combobox.d.ts +128 -42
- package/dist/components/combobox/ComboboxInput.d.ts +128 -42
- package/dist/components/combobox/ComboboxInput.js +1 -1
- package/dist/components/combobox/ComboboxList.d.ts +128 -42
- package/dist/components/combobox/ComboboxOption.d.ts +128 -42
- package/dist/components/combobox/ComboboxPopover.d.ts +128 -42
- package/dist/components/dialog/Dialog.d.ts +128 -42
- package/dist/components/dialog/DialogClose.d.ts +128 -42
- package/dist/components/dialog/DialogContent.d.ts +128 -42
- package/dist/components/dialog/DialogContent.js +1 -1
- package/dist/components/divider/Divider.d.ts +134 -43
- package/dist/components/divider/Divider.js +1 -1
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +128 -42
- package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +128 -42
- package/dist/components/dropdown-menu/DropdownMenuContent.js +1 -1
- package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +130 -45
- package/dist/components/dropdown-menu/DropdownMenuItem.js +1 -1
- package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +128 -42
- package/dist/components/dropdown-menu/DropdownMenuSeparator.js +1 -1
- package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +128 -42
- package/dist/components/field-wrapper/InlineFieldWrapper.d.ts +1 -1
- package/dist/components/field-wrapper/InlineFieldWrapper.js +1 -1
- package/dist/components/flex/Flex.d.ts +128 -42
- package/dist/components/form/Form.d.ts +128 -42
- package/dist/components/grid/Grid.d.ts +128 -42
- package/dist/components/heading/Heading.d.ts +128 -42
- package/dist/components/heading/Heading.js +1 -1
- package/dist/components/icon/Icon.d.ts +128 -42
- package/dist/components/image/Image.d.ts +128 -42
- package/dist/components/index.d.ts +5 -4
- package/dist/components/input/Input.d.ts +128 -42
- package/dist/components/label/Label.d.ts +129 -43
- package/dist/components/label/Label.js +1 -1
- package/dist/components/link/Link.d.ts +128 -42
- package/dist/components/list/List.d.ts +288 -116
- package/dist/components/popover/Popover.d.ts +128 -42
- package/dist/components/popover/PopoverContent.d.ts +128 -42
- package/dist/components/popover/PopoverContent.js +1 -1
- package/dist/components/progress-bar/ProgressBar.d.ts +128 -42
- package/dist/components/radio-button/RadioButton.d.ts +275 -0
- package/dist/components/radio-button/RadioButton.js +1 -0
- package/dist/components/radio-button/RadioButtonGroup.d.ts +269 -0
- package/dist/components/{radio → radio-button}/RadioButtonGroup.js +0 -0
- package/dist/components/{radio → radio-button}/index.d.ts +0 -0
- package/dist/components/{radio-field/RadioGroupField.d.ts → radio-button-field/RadioButtonField.d.ts} +2 -2
- package/dist/components/radio-button-field/RadioButtonField.js +1 -0
- package/dist/components/{radio-field → radio-button-field}/RadioField.d.ts +1 -1
- package/dist/components/radio-button-field/RadioField.js +1 -0
- package/dist/components/radio-button-field/index.d.ts +1 -0
- package/dist/components/radio-card/RadioCard.d.ts +274 -0
- package/dist/components/radio-card/RadioCard.js +1 -0
- package/dist/components/radio-card/RadioCardGroup.d.ts +9 -0
- package/dist/components/radio-card/RadioCardGroup.js +1 -0
- package/dist/components/radio-card/index.d.ts +2 -0
- package/dist/components/select/Select.d.ts +128 -42
- package/dist/components/select/Select.js +1 -1
- package/dist/components/stack/Stack.d.ts +128 -42
- package/dist/components/stack-content/StackContent.d.ts +128 -42
- package/dist/components/switch/Switch.d.ts +128 -42
- package/dist/components/switch/Switch.js +1 -1
- package/dist/components/table/Table.d.ts +128 -42
- package/dist/components/table/TableBody.d.ts +128 -42
- package/dist/components/table/TableCell.d.ts +128 -42
- package/dist/components/table/TableCell.js +1 -1
- package/dist/components/table/TableFooter.d.ts +128 -42
- package/dist/components/table/TableFooterCell.d.ts +128 -42
- package/dist/components/table/TableFooterCell.js +1 -1
- package/dist/components/table/TableHeader.d.ts +128 -42
- package/dist/components/table/TableHeaderCell.d.ts +128 -42
- package/dist/components/table/TableRow.d.ts +128 -42
- package/dist/components/tabs/TabTrigger.d.ts +128 -42
- package/dist/components/tabs/TabTrigger.js +1 -1
- package/dist/components/tabs/Tabs.d.ts +432 -174
- package/dist/components/text/Text.d.ts +128 -42
- package/dist/components/text/Text.js +1 -1
- package/dist/components/textarea/Textarea.d.ts +128 -42
- package/dist/components/toast/Toast.d.ts +128 -42
- package/dist/components/toast/Toast.js +1 -1
- package/dist/components/tooltip/Tooltip.js +1 -1
- package/dist/components/tooltip/TooltipContent.d.ts +128 -42
- package/dist/components/tooltip/TooltipContent.js +1 -1
- package/dist/components/video/Video.d.ts +128 -42
- package/dist/docgen.json +1 -1
- package/dist/docs/Divider.mdx +6 -2
- package/dist/docs/DropdownMenu.mdx +5 -3
- package/dist/docs/RadioButtonField.mdx +19 -0
- package/dist/docs/RadioCard.mdx +62 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.js +1 -1
- package/dist/stitches.d.ts +610 -200
- package/dist/stitches.js +1 -1
- package/dist/types/navigatorActions.types.d.ts +2 -5
- package/dist/utilities/css-wrapper/CSSWrapper.d.ts +1 -1
- package/dist/utilities/css-wrapper/CSSWrapper.js +1 -1
- package/dist/utilities/style/index.d.ts +3 -2
- package/dist/utilities/style/keyframe-animations.d.ts +24 -0
- package/dist/utilities/style/keyframe-animations.js +1 -0
- package/package.json +21 -20
- package/dist/components/radio/RadioButton.d.ts +0 -189
- package/dist/components/radio/RadioButton.js +0 -1
- package/dist/components/radio/RadioButtonGroup.d.ts +0 -183
- package/dist/components/radio-field/RadioField.js +0 -1
- package/dist/components/radio-field/RadioGroupField.js +0 -1
- package/dist/components/radio-field/index.d.ts +0 -1
- package/dist/docs/RadioField.mdx +0 -19
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=["children","isLoading","onClick","href","appearance","size","theme","type"];function r(){return(r=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(e[a]=o[a])}return e}).apply(this,arguments)}import{darken as o}from"polished";import{forwardRef as a,createElement as i,Children as n,cloneElement as t,Fragment as s}from"react";import{Box as c}from"../box/Box.js";import{Icon as l}from"../icon/Icon.js";import{Loader as d}from"../loader/Loader.js";import{styled as p,theme as m}from"../../stitches.js";const u=(e,r,o,a="white")=>({bg:e,color:a,"&[disabled]":{bg:"$tonal100",color:"$tonal400",cursor:"not-allowed"},"&:not([disabled]):hover, &:not([disabled]):focus":{bg:r,color:a},"&:not([disabled]):active":{bg:o}}),h=p("button",{alignItems:"center",bg:"unset",border:"unset",borderRadius:"$0",cursor:"pointer",display:"flex",fontFamily:"$body",fontWeight:600,justifyContent:"center",p:"unset",textDecoration:"none",transition:"all 100ms ease-out",whiteSpace:"nowrap",width:"max-content",variants:{theme:{primary:{},secondary:{},success:{},warning:{},danger:{}},appearance:{solid:{},outline:{}},size:{sm:{fontSize:"$sm",lineHeight:1.53,height:"$3",px:"$4"},md:{fontSize:"$md",lineHeight:1.5,height:"$4",px:"$5"},lg:{fontSize:"$lg",lineHeight:1.5,height:"$5",px:"$5"}},isLoading:{true:{cursor:"not-allowed",opacity:.6,pointerEvents:"none"}},fullWidth:{true:{width:"100%"}},isRounded:{true:{borderRadius:"$round"}}},compoundVariants:[{theme:"primary",appearance:"solid",css:u("$primary","$primaryMid","$primaryDark")},{theme:"secondary",appearance:"solid",css:u("$primaryDark",o(.1,m.colors.primaryDark.value),o(.15,m.colors.primaryDark.value))},{theme:"success",appearance:"solid",css:u("$success","$successMid","$successDark")},{theme:"warning",appearance:"solid",css:u("$warning","$warningMid","$warningDark","$tonal500")},{theme:"danger",appearance:"solid",css:u("$danger","$dangerMid","$dangerDark")},{theme:"primary",appearance:"outline",css:(g="$primary",$="$primaryMid",y="$primaryDark",{border:"1px solid",borderColor:"currentColor",color:g,"&[disabled]":{borderColor:"$tonal400",color:"$tonal400",cursor:"not-allowed"},"&:not([disabled]):hover, &:not([disabled]):focus":{textDecoration:"none",color:$},"&:not([disabled]):active":{color:y}})}]});var g,$,y;const f=({isLoading:e,children:r})=>i(s,null,i(d,{css:{opacity:e?1:0,position:"absolute",transition:"opacity 150ms"}}),i(c,{as:"span",css:e?{opacity:0,transition:"opacity 150ms"}:{}},r)),b=e=>{switch(e){case"lg":return 22;case"md":return 20;case"sm":default:return 16}},v=(e,o)=>n.map(e,((e,a)=>(null==e?void 0:e.type)===l?t(e,{css:r({[0===a?"mr":"ml"]:"sm"===o?"$2":"$3",size:b(o)},e.props.css?e.props.css:{})}):e)),w=a(((r,o)=>{let{children:a,isLoading:n,onClick:t,href:s,appearance:c="solid",size:l="md",theme:d="primary",type:p="button"}=r,m=function(e,r){if(null==e)return{};var o,a,i={},n=Object.keys(e);for(a=0;a<n.length;a++)o=n[a],r.indexOf(o)>=0||(i[o]=e[o]);return i}(r,e);const u=s?{as:"a",href:s,onClick:void 0}:{};return i(h,Object.assign({isLoading:n||!1,onClick:n?void 0:t,appearance:c,size:l,theme:d
|
|
1
|
+
const e=["children","isLoading","onClick","href","appearance","size","theme","type"];function r(){return(r=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(e[a]=o[a])}return e}).apply(this,arguments)}import{darken as o}from"polished";import{forwardRef as a,createElement as i,Children as n,cloneElement as t,Fragment as s}from"react";import{Box as c}from"../box/Box.js";import{Icon as l}from"../icon/Icon.js";import{Loader as d}from"../loader/Loader.js";import{styled as p,theme as m}from"../../stitches.js";const u=(e,r,o,a="white")=>({bg:e,color:a,"&[disabled]":{bg:"$tonal100",color:"$tonal400",cursor:"not-allowed"},"&:not([disabled]):hover, &:not([disabled]):focus":{bg:r,color:a},"&:not([disabled]):active":{bg:o}}),h=p("button",{alignItems:"center",bg:"unset",border:"unset",borderRadius:"$0",cursor:"pointer",display:"flex",fontFamily:"$body",fontWeight:600,justifyContent:"center",p:"unset",textDecoration:"none",transition:"all 100ms ease-out",whiteSpace:"nowrap",width:"max-content",variants:{theme:{primary:{},secondary:{},success:{},warning:{},danger:{}},appearance:{solid:{},outline:{}},size:{sm:{fontSize:"$sm",lineHeight:1.53,height:"$3",px:"$4"},md:{fontSize:"$md",lineHeight:1.5,height:"$4",px:"$5"},lg:{fontSize:"$lg",lineHeight:1.5,height:"$5",px:"$5"}},isLoading:{true:{cursor:"not-allowed",opacity:.6,pointerEvents:"none"}},fullWidth:{true:{width:"100%"}},isRounded:{true:{borderRadius:"$round"}}},compoundVariants:[{theme:"primary",appearance:"solid",css:u("$primary","$primaryMid","$primaryDark")},{theme:"secondary",appearance:"solid",css:u("$primaryDark",o(.1,m.colors.primaryDark.value),o(.15,m.colors.primaryDark.value))},{theme:"success",appearance:"solid",css:u("$success","$successMid","$successDark")},{theme:"warning",appearance:"solid",css:u("$warning","$warningMid","$warningDark","$tonal500")},{theme:"danger",appearance:"solid",css:u("$danger","$dangerMid","$dangerDark")},{theme:"primary",appearance:"outline",css:(g="$primary",$="$primaryMid",y="$primaryDark",{border:"1px solid",borderColor:"currentColor",color:g,"&[disabled]":{borderColor:"$tonal400",color:"$tonal400",cursor:"not-allowed"},"&:not([disabled]):hover, &:not([disabled]):focus":{textDecoration:"none",color:$},"&:not([disabled]):active":{color:y}})}]});var g,$,y;const f=({isLoading:e,children:r})=>i(s,null,i(d,{css:{opacity:e?1:0,position:"absolute",transition:"opacity 150ms"}}),i(c,{as:"span",css:e?{opacity:0,transition:"opacity 150ms"}:{}},r)),b=e=>{switch(e){case"lg":return 22;case"md":return 20;case"sm":default:return 16}},v=(e,o)=>n.map(e,((e,a)=>(null==e?void 0:e.type)===l?t(e,{css:r({[0===a?"mr":"ml"]:"sm"===o?"$2":"$3",size:b(o)},e.props.css?e.props.css:{})}):e)),w=a(((r,o)=>{let{children:a,isLoading:n,onClick:t,href:s,appearance:c="solid",size:l="md",theme:d="primary",type:p="button"}=r,m=function(e,r){if(null==e)return{};var o,a,i={},n=Object.keys(e);for(a=0;a<n.length;a++)o=n[a],r.indexOf(o)>=0||(i[o]=e[o]);return i}(r,e);const u=s?{as:"a",href:s,onClick:void 0}:{},g=s?{}:{type:p};return i(h,Object.assign({isLoading:n||!1,onClick:n?void 0:t,appearance:c,size:l,theme:d},m,u,g,{ref:o}),"boolean"==typeof n?i(f,{isLoading:n},v(a,l)):v(a,l))}));w.displayName="Button";export{w as Button,h as StyledButton};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CarouselProvider as r}from"pure-react-carousel";import{createElement as i}from"react";import{CSSWrapper as
|
|
1
|
+
import{CarouselProvider as r}from"pure-react-carousel";import{createElement as i}from"react";import{CSSWrapper as e}from"../../utilities/css-wrapper/CSSWrapper.js";import"polished";import"../../utilities/style/keyframe-animations.js";import{CarouselArrowNext as o,CarouselArrowPrevious as s}from"./CarouselArrows.js";import{CarouselPagination as t}from"./CarouselPagination.js";import{CarouselSlide as l}from"./CarouselSlide.js";import{CarouselSlider as a}from"./CarouselSlider.js";const m=({children:o,css:s,slideHeight:t,slideWidth:l,numSlides:a})=>i(e,{css:s},i(r,{naturalSlideWidth:l,naturalSlideHeight:t,totalSlides:a},o));m.ArrowNext=o,m.ArrowPrevious=s,m.Pagination=t,m.Slide=l,m.Slider=a,m.displayName="Carousel";export{m as Carousel};
|
|
@@ -5,6 +5,7 @@ export declare const CarouselPagination: import("@stitches/react/types/styled-co
|
|
|
5
5
|
lg: string;
|
|
6
6
|
xl: string;
|
|
7
7
|
reducedMotion: string;
|
|
8
|
+
allowMotion: string;
|
|
8
9
|
hover: string;
|
|
9
10
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
10
11
|
sm: string;
|
|
@@ -12,6 +13,7 @@ export declare const CarouselPagination: import("@stitches/react/types/styled-co
|
|
|
12
13
|
lg: string;
|
|
13
14
|
xl: string;
|
|
14
15
|
reducedMotion: string;
|
|
16
|
+
allowMotion: string;
|
|
15
17
|
hover: string;
|
|
16
18
|
}, {
|
|
17
19
|
colors: {
|
|
@@ -118,63 +120,147 @@ export declare const CarouselPagination: import("@stitches/react/types/styled-co
|
|
|
118
120
|
"3": any;
|
|
119
121
|
};
|
|
120
122
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
121
|
-
bg: (value:
|
|
122
|
-
|
|
123
|
+
bg: (value: {
|
|
124
|
+
readonly [$$PropertyValue]: "background";
|
|
125
|
+
}) => {
|
|
126
|
+
background: {
|
|
127
|
+
readonly [$$PropertyValue]: "background";
|
|
128
|
+
};
|
|
123
129
|
};
|
|
124
|
-
inset: (value: string | number |
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
130
|
+
inset: (value: string | number | {
|
|
131
|
+
readonly [$$ScaleValue]: "space";
|
|
132
|
+
}) => {
|
|
133
|
+
top: string | number | {
|
|
134
|
+
readonly [$$ScaleValue]: "space";
|
|
135
|
+
};
|
|
136
|
+
right: string | number | {
|
|
137
|
+
readonly [$$ScaleValue]: "space";
|
|
138
|
+
};
|
|
139
|
+
bottom: string | number | {
|
|
140
|
+
readonly [$$ScaleValue]: "space";
|
|
141
|
+
};
|
|
142
|
+
left: string | number | {
|
|
143
|
+
readonly [$$ScaleValue]: "space";
|
|
144
|
+
};
|
|
129
145
|
};
|
|
130
|
-
size: (value: string | number |
|
|
131
|
-
|
|
132
|
-
|
|
146
|
+
size: (value: string | number | {
|
|
147
|
+
readonly [$$ScaleValue]: "size";
|
|
148
|
+
}) => {
|
|
149
|
+
height: string | number | {
|
|
150
|
+
readonly [$$ScaleValue]: "size";
|
|
151
|
+
};
|
|
152
|
+
width: string | number | {
|
|
153
|
+
readonly [$$ScaleValue]: "size";
|
|
154
|
+
};
|
|
133
155
|
};
|
|
134
|
-
p: (value: string | number |
|
|
135
|
-
|
|
156
|
+
p: (value: string | number | {
|
|
157
|
+
readonly [$$ScaleValue]: "space";
|
|
158
|
+
}) => {
|
|
159
|
+
padding: string | number | {
|
|
160
|
+
readonly [$$ScaleValue]: "space";
|
|
161
|
+
};
|
|
136
162
|
};
|
|
137
|
-
pt: (value: string | number |
|
|
138
|
-
|
|
163
|
+
pt: (value: string | number | {
|
|
164
|
+
readonly [$$ScaleValue]: "space";
|
|
165
|
+
}) => {
|
|
166
|
+
paddingTop: string | number | {
|
|
167
|
+
readonly [$$ScaleValue]: "space";
|
|
168
|
+
};
|
|
139
169
|
};
|
|
140
|
-
pr: (value: string | number |
|
|
141
|
-
|
|
170
|
+
pr: (value: string | number | {
|
|
171
|
+
readonly [$$ScaleValue]: "space";
|
|
172
|
+
}) => {
|
|
173
|
+
paddingRight: string | number | {
|
|
174
|
+
readonly [$$ScaleValue]: "space";
|
|
175
|
+
};
|
|
142
176
|
};
|
|
143
|
-
pb: (value: string | number |
|
|
144
|
-
|
|
177
|
+
pb: (value: string | number | {
|
|
178
|
+
readonly [$$ScaleValue]: "space";
|
|
179
|
+
}) => {
|
|
180
|
+
paddingBottom: string | number | {
|
|
181
|
+
readonly [$$ScaleValue]: "space";
|
|
182
|
+
};
|
|
145
183
|
};
|
|
146
|
-
pl: (value: string | number |
|
|
147
|
-
|
|
184
|
+
pl: (value: string | number | {
|
|
185
|
+
readonly [$$ScaleValue]: "space";
|
|
186
|
+
}) => {
|
|
187
|
+
paddingLeft: string | number | {
|
|
188
|
+
readonly [$$ScaleValue]: "space";
|
|
189
|
+
};
|
|
148
190
|
};
|
|
149
|
-
px: (value: string | number |
|
|
150
|
-
|
|
151
|
-
|
|
191
|
+
px: (value: string | number | {
|
|
192
|
+
readonly [$$ScaleValue]: "space";
|
|
193
|
+
}) => {
|
|
194
|
+
paddingLeft: string | number | {
|
|
195
|
+
readonly [$$ScaleValue]: "space";
|
|
196
|
+
};
|
|
197
|
+
paddingRight: string | number | {
|
|
198
|
+
readonly [$$ScaleValue]: "space";
|
|
199
|
+
};
|
|
152
200
|
};
|
|
153
|
-
py: (value: string | number |
|
|
154
|
-
|
|
155
|
-
|
|
201
|
+
py: (value: string | number | {
|
|
202
|
+
readonly [$$ScaleValue]: "space";
|
|
203
|
+
}) => {
|
|
204
|
+
paddingTop: string | number | {
|
|
205
|
+
readonly [$$ScaleValue]: "space";
|
|
206
|
+
};
|
|
207
|
+
paddingBottom: string | number | {
|
|
208
|
+
readonly [$$ScaleValue]: "space";
|
|
209
|
+
};
|
|
156
210
|
};
|
|
157
|
-
m: (value: string | number |
|
|
158
|
-
|
|
211
|
+
m: (value: string | number | {
|
|
212
|
+
readonly [$$ScaleValue]: "space";
|
|
213
|
+
}) => {
|
|
214
|
+
margin: string | number | {
|
|
215
|
+
readonly [$$ScaleValue]: "space";
|
|
216
|
+
};
|
|
159
217
|
};
|
|
160
|
-
mt: (value: string | number |
|
|
161
|
-
|
|
218
|
+
mt: (value: string | number | {
|
|
219
|
+
readonly [$$ScaleValue]: "space";
|
|
220
|
+
}) => {
|
|
221
|
+
marginTop: string | number | {
|
|
222
|
+
readonly [$$ScaleValue]: "space";
|
|
223
|
+
};
|
|
162
224
|
};
|
|
163
|
-
mr: (value: string | number |
|
|
164
|
-
|
|
225
|
+
mr: (value: string | number | {
|
|
226
|
+
readonly [$$ScaleValue]: "space";
|
|
227
|
+
}) => {
|
|
228
|
+
marginRight: string | number | {
|
|
229
|
+
readonly [$$ScaleValue]: "space";
|
|
230
|
+
};
|
|
165
231
|
};
|
|
166
|
-
mb: (value: string | number |
|
|
167
|
-
|
|
232
|
+
mb: (value: string | number | {
|
|
233
|
+
readonly [$$ScaleValue]: "space";
|
|
234
|
+
}) => {
|
|
235
|
+
marginBottom: string | number | {
|
|
236
|
+
readonly [$$ScaleValue]: "space";
|
|
237
|
+
};
|
|
168
238
|
};
|
|
169
|
-
ml: (value: string | number |
|
|
170
|
-
|
|
239
|
+
ml: (value: string | number | {
|
|
240
|
+
readonly [$$ScaleValue]: "space";
|
|
241
|
+
}) => {
|
|
242
|
+
marginLeft: string | number | {
|
|
243
|
+
readonly [$$ScaleValue]: "space";
|
|
244
|
+
};
|
|
171
245
|
};
|
|
172
|
-
mx: (value: string | number |
|
|
173
|
-
|
|
174
|
-
|
|
246
|
+
mx: (value: string | number | {
|
|
247
|
+
readonly [$$ScaleValue]: "space";
|
|
248
|
+
}) => {
|
|
249
|
+
marginLeft: string | number | {
|
|
250
|
+
readonly [$$ScaleValue]: "space";
|
|
251
|
+
};
|
|
252
|
+
marginRight: string | number | {
|
|
253
|
+
readonly [$$ScaleValue]: "space";
|
|
254
|
+
};
|
|
175
255
|
};
|
|
176
|
-
my: (value: string | number |
|
|
177
|
-
|
|
178
|
-
|
|
256
|
+
my: (value: string | number | {
|
|
257
|
+
readonly [$$ScaleValue]: "space";
|
|
258
|
+
}) => {
|
|
259
|
+
marginTop: string | number | {
|
|
260
|
+
readonly [$$ScaleValue]: "space";
|
|
261
|
+
};
|
|
262
|
+
marginBottom: string | number | {
|
|
263
|
+
readonly [$$ScaleValue]: "space";
|
|
264
|
+
};
|
|
179
265
|
};
|
|
180
266
|
}>>;
|
|
@@ -5,6 +5,7 @@ declare const StyledSlide: import("@stitches/react/types/styled-component").Styl
|
|
|
5
5
|
lg: string;
|
|
6
6
|
xl: string;
|
|
7
7
|
reducedMotion: string;
|
|
8
|
+
allowMotion: string;
|
|
8
9
|
hover: string;
|
|
9
10
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
10
11
|
sm: string;
|
|
@@ -12,6 +13,7 @@ declare const StyledSlide: import("@stitches/react/types/styled-component").Styl
|
|
|
12
13
|
lg: string;
|
|
13
14
|
xl: string;
|
|
14
15
|
reducedMotion: string;
|
|
16
|
+
allowMotion: string;
|
|
15
17
|
hover: string;
|
|
16
18
|
}, {
|
|
17
19
|
colors: {
|
|
@@ -118,64 +120,148 @@ declare const StyledSlide: import("@stitches/react/types/styled-component").Styl
|
|
|
118
120
|
"3": any;
|
|
119
121
|
};
|
|
120
122
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
121
|
-
bg: (value:
|
|
122
|
-
|
|
123
|
+
bg: (value: {
|
|
124
|
+
readonly [$$PropertyValue]: "background";
|
|
125
|
+
}) => {
|
|
126
|
+
background: {
|
|
127
|
+
readonly [$$PropertyValue]: "background";
|
|
128
|
+
};
|
|
123
129
|
};
|
|
124
|
-
inset: (value: string | number |
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
130
|
+
inset: (value: string | number | {
|
|
131
|
+
readonly [$$ScaleValue]: "space";
|
|
132
|
+
}) => {
|
|
133
|
+
top: string | number | {
|
|
134
|
+
readonly [$$ScaleValue]: "space";
|
|
135
|
+
};
|
|
136
|
+
right: string | number | {
|
|
137
|
+
readonly [$$ScaleValue]: "space";
|
|
138
|
+
};
|
|
139
|
+
bottom: string | number | {
|
|
140
|
+
readonly [$$ScaleValue]: "space";
|
|
141
|
+
};
|
|
142
|
+
left: string | number | {
|
|
143
|
+
readonly [$$ScaleValue]: "space";
|
|
144
|
+
};
|
|
129
145
|
};
|
|
130
|
-
size: (value: string | number |
|
|
131
|
-
|
|
132
|
-
|
|
146
|
+
size: (value: string | number | {
|
|
147
|
+
readonly [$$ScaleValue]: "size";
|
|
148
|
+
}) => {
|
|
149
|
+
height: string | number | {
|
|
150
|
+
readonly [$$ScaleValue]: "size";
|
|
151
|
+
};
|
|
152
|
+
width: string | number | {
|
|
153
|
+
readonly [$$ScaleValue]: "size";
|
|
154
|
+
};
|
|
133
155
|
};
|
|
134
|
-
p: (value: string | number |
|
|
135
|
-
|
|
156
|
+
p: (value: string | number | {
|
|
157
|
+
readonly [$$ScaleValue]: "space";
|
|
158
|
+
}) => {
|
|
159
|
+
padding: string | number | {
|
|
160
|
+
readonly [$$ScaleValue]: "space";
|
|
161
|
+
};
|
|
136
162
|
};
|
|
137
|
-
pt: (value: string | number |
|
|
138
|
-
|
|
163
|
+
pt: (value: string | number | {
|
|
164
|
+
readonly [$$ScaleValue]: "space";
|
|
165
|
+
}) => {
|
|
166
|
+
paddingTop: string | number | {
|
|
167
|
+
readonly [$$ScaleValue]: "space";
|
|
168
|
+
};
|
|
139
169
|
};
|
|
140
|
-
pr: (value: string | number |
|
|
141
|
-
|
|
170
|
+
pr: (value: string | number | {
|
|
171
|
+
readonly [$$ScaleValue]: "space";
|
|
172
|
+
}) => {
|
|
173
|
+
paddingRight: string | number | {
|
|
174
|
+
readonly [$$ScaleValue]: "space";
|
|
175
|
+
};
|
|
142
176
|
};
|
|
143
|
-
pb: (value: string | number |
|
|
144
|
-
|
|
177
|
+
pb: (value: string | number | {
|
|
178
|
+
readonly [$$ScaleValue]: "space";
|
|
179
|
+
}) => {
|
|
180
|
+
paddingBottom: string | number | {
|
|
181
|
+
readonly [$$ScaleValue]: "space";
|
|
182
|
+
};
|
|
145
183
|
};
|
|
146
|
-
pl: (value: string | number |
|
|
147
|
-
|
|
184
|
+
pl: (value: string | number | {
|
|
185
|
+
readonly [$$ScaleValue]: "space";
|
|
186
|
+
}) => {
|
|
187
|
+
paddingLeft: string | number | {
|
|
188
|
+
readonly [$$ScaleValue]: "space";
|
|
189
|
+
};
|
|
148
190
|
};
|
|
149
|
-
px: (value: string | number |
|
|
150
|
-
|
|
151
|
-
|
|
191
|
+
px: (value: string | number | {
|
|
192
|
+
readonly [$$ScaleValue]: "space";
|
|
193
|
+
}) => {
|
|
194
|
+
paddingLeft: string | number | {
|
|
195
|
+
readonly [$$ScaleValue]: "space";
|
|
196
|
+
};
|
|
197
|
+
paddingRight: string | number | {
|
|
198
|
+
readonly [$$ScaleValue]: "space";
|
|
199
|
+
};
|
|
152
200
|
};
|
|
153
|
-
py: (value: string | number |
|
|
154
|
-
|
|
155
|
-
|
|
201
|
+
py: (value: string | number | {
|
|
202
|
+
readonly [$$ScaleValue]: "space";
|
|
203
|
+
}) => {
|
|
204
|
+
paddingTop: string | number | {
|
|
205
|
+
readonly [$$ScaleValue]: "space";
|
|
206
|
+
};
|
|
207
|
+
paddingBottom: string | number | {
|
|
208
|
+
readonly [$$ScaleValue]: "space";
|
|
209
|
+
};
|
|
156
210
|
};
|
|
157
|
-
m: (value: string | number |
|
|
158
|
-
|
|
211
|
+
m: (value: string | number | {
|
|
212
|
+
readonly [$$ScaleValue]: "space";
|
|
213
|
+
}) => {
|
|
214
|
+
margin: string | number | {
|
|
215
|
+
readonly [$$ScaleValue]: "space";
|
|
216
|
+
};
|
|
159
217
|
};
|
|
160
|
-
mt: (value: string | number |
|
|
161
|
-
|
|
218
|
+
mt: (value: string | number | {
|
|
219
|
+
readonly [$$ScaleValue]: "space";
|
|
220
|
+
}) => {
|
|
221
|
+
marginTop: string | number | {
|
|
222
|
+
readonly [$$ScaleValue]: "space";
|
|
223
|
+
};
|
|
162
224
|
};
|
|
163
|
-
mr: (value: string | number |
|
|
164
|
-
|
|
225
|
+
mr: (value: string | number | {
|
|
226
|
+
readonly [$$ScaleValue]: "space";
|
|
227
|
+
}) => {
|
|
228
|
+
marginRight: string | number | {
|
|
229
|
+
readonly [$$ScaleValue]: "space";
|
|
230
|
+
};
|
|
165
231
|
};
|
|
166
|
-
mb: (value: string | number |
|
|
167
|
-
|
|
232
|
+
mb: (value: string | number | {
|
|
233
|
+
readonly [$$ScaleValue]: "space";
|
|
234
|
+
}) => {
|
|
235
|
+
marginBottom: string | number | {
|
|
236
|
+
readonly [$$ScaleValue]: "space";
|
|
237
|
+
};
|
|
168
238
|
};
|
|
169
|
-
ml: (value: string | number |
|
|
170
|
-
|
|
239
|
+
ml: (value: string | number | {
|
|
240
|
+
readonly [$$ScaleValue]: "space";
|
|
241
|
+
}) => {
|
|
242
|
+
marginLeft: string | number | {
|
|
243
|
+
readonly [$$ScaleValue]: "space";
|
|
244
|
+
};
|
|
171
245
|
};
|
|
172
|
-
mx: (value: string | number |
|
|
173
|
-
|
|
174
|
-
|
|
246
|
+
mx: (value: string | number | {
|
|
247
|
+
readonly [$$ScaleValue]: "space";
|
|
248
|
+
}) => {
|
|
249
|
+
marginLeft: string | number | {
|
|
250
|
+
readonly [$$ScaleValue]: "space";
|
|
251
|
+
};
|
|
252
|
+
marginRight: string | number | {
|
|
253
|
+
readonly [$$ScaleValue]: "space";
|
|
254
|
+
};
|
|
175
255
|
};
|
|
176
|
-
my: (value: string | number |
|
|
177
|
-
|
|
178
|
-
|
|
256
|
+
my: (value: string | number | {
|
|
257
|
+
readonly [$$ScaleValue]: "space";
|
|
258
|
+
}) => {
|
|
259
|
+
marginTop: string | number | {
|
|
260
|
+
readonly [$$ScaleValue]: "space";
|
|
261
|
+
};
|
|
262
|
+
marginBottom: string | number | {
|
|
263
|
+
readonly [$$ScaleValue]: "space";
|
|
264
|
+
};
|
|
179
265
|
};
|
|
180
266
|
}>>;
|
|
181
267
|
declare type SlideProps = React.ComponentProps<typeof StyledSlide> & {
|
|
@@ -7,6 +7,7 @@ export declare const CarouselSlider: import("@stitches/react/types/styled-compon
|
|
|
7
7
|
lg: string;
|
|
8
8
|
xl: string;
|
|
9
9
|
reducedMotion: string;
|
|
10
|
+
allowMotion: string;
|
|
10
11
|
hover: string;
|
|
11
12
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
12
13
|
sm: string;
|
|
@@ -14,6 +15,7 @@ export declare const CarouselSlider: import("@stitches/react/types/styled-compon
|
|
|
14
15
|
lg: string;
|
|
15
16
|
xl: string;
|
|
16
17
|
reducedMotion: string;
|
|
18
|
+
allowMotion: string;
|
|
17
19
|
hover: string;
|
|
18
20
|
}, {
|
|
19
21
|
colors: {
|
|
@@ -120,63 +122,147 @@ export declare const CarouselSlider: import("@stitches/react/types/styled-compon
|
|
|
120
122
|
"3": any;
|
|
121
123
|
};
|
|
122
124
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
123
|
-
bg: (value:
|
|
124
|
-
|
|
125
|
+
bg: (value: {
|
|
126
|
+
readonly [$$PropertyValue]: "background";
|
|
127
|
+
}) => {
|
|
128
|
+
background: {
|
|
129
|
+
readonly [$$PropertyValue]: "background";
|
|
130
|
+
};
|
|
125
131
|
};
|
|
126
|
-
inset: (value: string | number |
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
132
|
+
inset: (value: string | number | {
|
|
133
|
+
readonly [$$ScaleValue]: "space";
|
|
134
|
+
}) => {
|
|
135
|
+
top: string | number | {
|
|
136
|
+
readonly [$$ScaleValue]: "space";
|
|
137
|
+
};
|
|
138
|
+
right: string | number | {
|
|
139
|
+
readonly [$$ScaleValue]: "space";
|
|
140
|
+
};
|
|
141
|
+
bottom: string | number | {
|
|
142
|
+
readonly [$$ScaleValue]: "space";
|
|
143
|
+
};
|
|
144
|
+
left: string | number | {
|
|
145
|
+
readonly [$$ScaleValue]: "space";
|
|
146
|
+
};
|
|
131
147
|
};
|
|
132
|
-
size: (value: string | number |
|
|
133
|
-
|
|
134
|
-
|
|
148
|
+
size: (value: string | number | {
|
|
149
|
+
readonly [$$ScaleValue]: "size";
|
|
150
|
+
}) => {
|
|
151
|
+
height: string | number | {
|
|
152
|
+
readonly [$$ScaleValue]: "size";
|
|
153
|
+
};
|
|
154
|
+
width: string | number | {
|
|
155
|
+
readonly [$$ScaleValue]: "size";
|
|
156
|
+
};
|
|
135
157
|
};
|
|
136
|
-
p: (value: string | number |
|
|
137
|
-
|
|
158
|
+
p: (value: string | number | {
|
|
159
|
+
readonly [$$ScaleValue]: "space";
|
|
160
|
+
}) => {
|
|
161
|
+
padding: string | number | {
|
|
162
|
+
readonly [$$ScaleValue]: "space";
|
|
163
|
+
};
|
|
138
164
|
};
|
|
139
|
-
pt: (value: string | number |
|
|
140
|
-
|
|
165
|
+
pt: (value: string | number | {
|
|
166
|
+
readonly [$$ScaleValue]: "space";
|
|
167
|
+
}) => {
|
|
168
|
+
paddingTop: string | number | {
|
|
169
|
+
readonly [$$ScaleValue]: "space";
|
|
170
|
+
};
|
|
141
171
|
};
|
|
142
|
-
pr: (value: string | number |
|
|
143
|
-
|
|
172
|
+
pr: (value: string | number | {
|
|
173
|
+
readonly [$$ScaleValue]: "space";
|
|
174
|
+
}) => {
|
|
175
|
+
paddingRight: string | number | {
|
|
176
|
+
readonly [$$ScaleValue]: "space";
|
|
177
|
+
};
|
|
144
178
|
};
|
|
145
|
-
pb: (value: string | number |
|
|
146
|
-
|
|
179
|
+
pb: (value: string | number | {
|
|
180
|
+
readonly [$$ScaleValue]: "space";
|
|
181
|
+
}) => {
|
|
182
|
+
paddingBottom: string | number | {
|
|
183
|
+
readonly [$$ScaleValue]: "space";
|
|
184
|
+
};
|
|
147
185
|
};
|
|
148
|
-
pl: (value: string | number |
|
|
149
|
-
|
|
186
|
+
pl: (value: string | number | {
|
|
187
|
+
readonly [$$ScaleValue]: "space";
|
|
188
|
+
}) => {
|
|
189
|
+
paddingLeft: string | number | {
|
|
190
|
+
readonly [$$ScaleValue]: "space";
|
|
191
|
+
};
|
|
150
192
|
};
|
|
151
|
-
px: (value: string | number |
|
|
152
|
-
|
|
153
|
-
|
|
193
|
+
px: (value: string | number | {
|
|
194
|
+
readonly [$$ScaleValue]: "space";
|
|
195
|
+
}) => {
|
|
196
|
+
paddingLeft: string | number | {
|
|
197
|
+
readonly [$$ScaleValue]: "space";
|
|
198
|
+
};
|
|
199
|
+
paddingRight: string | number | {
|
|
200
|
+
readonly [$$ScaleValue]: "space";
|
|
201
|
+
};
|
|
154
202
|
};
|
|
155
|
-
py: (value: string | number |
|
|
156
|
-
|
|
157
|
-
|
|
203
|
+
py: (value: string | number | {
|
|
204
|
+
readonly [$$ScaleValue]: "space";
|
|
205
|
+
}) => {
|
|
206
|
+
paddingTop: string | number | {
|
|
207
|
+
readonly [$$ScaleValue]: "space";
|
|
208
|
+
};
|
|
209
|
+
paddingBottom: string | number | {
|
|
210
|
+
readonly [$$ScaleValue]: "space";
|
|
211
|
+
};
|
|
158
212
|
};
|
|
159
|
-
m: (value: string | number |
|
|
160
|
-
|
|
213
|
+
m: (value: string | number | {
|
|
214
|
+
readonly [$$ScaleValue]: "space";
|
|
215
|
+
}) => {
|
|
216
|
+
margin: string | number | {
|
|
217
|
+
readonly [$$ScaleValue]: "space";
|
|
218
|
+
};
|
|
161
219
|
};
|
|
162
|
-
mt: (value: string | number |
|
|
163
|
-
|
|
220
|
+
mt: (value: string | number | {
|
|
221
|
+
readonly [$$ScaleValue]: "space";
|
|
222
|
+
}) => {
|
|
223
|
+
marginTop: string | number | {
|
|
224
|
+
readonly [$$ScaleValue]: "space";
|
|
225
|
+
};
|
|
164
226
|
};
|
|
165
|
-
mr: (value: string | number |
|
|
166
|
-
|
|
227
|
+
mr: (value: string | number | {
|
|
228
|
+
readonly [$$ScaleValue]: "space";
|
|
229
|
+
}) => {
|
|
230
|
+
marginRight: string | number | {
|
|
231
|
+
readonly [$$ScaleValue]: "space";
|
|
232
|
+
};
|
|
167
233
|
};
|
|
168
|
-
mb: (value: string | number |
|
|
169
|
-
|
|
234
|
+
mb: (value: string | number | {
|
|
235
|
+
readonly [$$ScaleValue]: "space";
|
|
236
|
+
}) => {
|
|
237
|
+
marginBottom: string | number | {
|
|
238
|
+
readonly [$$ScaleValue]: "space";
|
|
239
|
+
};
|
|
170
240
|
};
|
|
171
|
-
ml: (value: string | number |
|
|
172
|
-
|
|
241
|
+
ml: (value: string | number | {
|
|
242
|
+
readonly [$$ScaleValue]: "space";
|
|
243
|
+
}) => {
|
|
244
|
+
marginLeft: string | number | {
|
|
245
|
+
readonly [$$ScaleValue]: "space";
|
|
246
|
+
};
|
|
173
247
|
};
|
|
174
|
-
mx: (value: string | number |
|
|
175
|
-
|
|
176
|
-
|
|
248
|
+
mx: (value: string | number | {
|
|
249
|
+
readonly [$$ScaleValue]: "space";
|
|
250
|
+
}) => {
|
|
251
|
+
marginLeft: string | number | {
|
|
252
|
+
readonly [$$ScaleValue]: "space";
|
|
253
|
+
};
|
|
254
|
+
marginRight: string | number | {
|
|
255
|
+
readonly [$$ScaleValue]: "space";
|
|
256
|
+
};
|
|
177
257
|
};
|
|
178
|
-
my: (value: string | number |
|
|
179
|
-
|
|
180
|
-
|
|
258
|
+
my: (value: string | number | {
|
|
259
|
+
readonly [$$ScaleValue]: "space";
|
|
260
|
+
}) => {
|
|
261
|
+
marginTop: string | number | {
|
|
262
|
+
readonly [$$ScaleValue]: "space";
|
|
263
|
+
};
|
|
264
|
+
marginBottom: string | number | {
|
|
265
|
+
readonly [$$ScaleValue]: "space";
|
|
266
|
+
};
|
|
181
267
|
};
|
|
182
268
|
}>>;
|