@ctlyst.id/voila-ui 1.2.2 → 1.2.4
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/dist/index.js +47 -151
- package/dist/index.mjs +5400 -15152
- package/dist/style.css +1 -1
- package/dist/types/components/base-select/base-select.d.ts +2 -2
- package/dist/types/components/image/image.d.ts +8 -8
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/spinner/index.d.ts +2 -0
- package/dist/types/components/tooltip/tooltip.d.ts +1 -1
- package/dist/types/components/utils/hooks/use-ripple/use-ripple.d.ts +2 -2
- package/dist/types/layouts/box/box.d.ts +77 -77
- package/dist/types/layouts/container/container.d.ts +0 -5
- package/dist/types/layouts/flex/flex.d.ts +60 -60
- package/dist/types/layouts/grid/grid.d.ts +62 -62
- package/dist/types/layouts/stack/stack.d.ts +53 -53
- package/dist/types/layouts/stack/utils.d.ts +1 -1
- package/dist/types/layouts/text/text.css.d.ts +5 -0
- package/dist/types/layouts/text/text.d.ts +156 -154
- package/dist/types/theme/styles/atoms/common.css.d.ts +5 -5
- package/dist/types/theme/styles/atoms/flex.css.d.ts +7 -7
- package/dist/types/theme/styles/atoms/grid.css.d.ts +9 -9
- package/dist/types/theme/styles/atoms/position.css.d.ts +12 -12
- package/dist/types/theme/styles/atoms/sizes.css.d.ts +18 -18
- package/dist/types/theme/styles/atoms/space.css.d.ts +30 -30
- package/dist/types/theme/styles/atoms/typography.css.d.ts +5 -5
- package/dist/types/theme/styles/theme.css.d.ts +1 -1
- package/dist/types/theme/tokens/index.d.ts +1 -1
- package/dist/types/theme/tokens/typography.d.ts +1 -1
- package/package.json +10 -10
- package/dist/types/assets/index.d.ts +0 -1
- /package/dist/types/{assets/Spinner.d.ts → components/spinner/spinner.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import * as Select from '@radix-ui/react-select';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
export interface OptionType {
|
|
4
4
|
label: string;
|
|
5
5
|
value: string;
|
|
@@ -11,5 +11,5 @@ export interface BaseSelectProps extends SelectRootProps {
|
|
|
11
11
|
position?: 'item-aligned' | 'popper';
|
|
12
12
|
'data-test-id'?: string;
|
|
13
13
|
}
|
|
14
|
-
declare const BaseSelect:
|
|
14
|
+
declare const BaseSelect: import("react").ForwardRefExoticComponent<BaseSelectProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
15
15
|
export default BaseSelect;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ElementType, ImgHTMLAttributes } from 'react';
|
|
1
|
+
import type { ElementType, ImgHTMLAttributes, ReactElement } from 'react';
|
|
2
2
|
import type { ImageRecipe } from './image.css';
|
|
3
3
|
type ImageHTMLAttributes = Omit<ImgHTMLAttributes<HTMLImageElement>, 'as' | 'src' | 'width' | 'height' | 'loading' | 'fallback' | 'onError' | 'onLoad'>;
|
|
4
4
|
export type ImageProps = ImageHTMLAttributes & ImageRecipe & {
|
|
@@ -9,13 +9,13 @@ export type ImageProps = ImageHTMLAttributes & ImageRecipe & {
|
|
|
9
9
|
height?: string | number;
|
|
10
10
|
isLoading?: boolean;
|
|
11
11
|
loading?: 'lazy' | 'eager';
|
|
12
|
-
fallback?:
|
|
13
|
-
onLoad?:
|
|
14
|
-
onError?:
|
|
12
|
+
fallback?: ReactElement;
|
|
13
|
+
onLoad?: ImgHTMLAttributes<HTMLImageElement>['onLoad'];
|
|
14
|
+
onError?: ImgHTMLAttributes<HTMLImageElement>['onError'];
|
|
15
15
|
'data-test-id'?: string;
|
|
16
16
|
};
|
|
17
17
|
declare const Image: import("react").ForwardRefExoticComponent<ImageHTMLAttributes & {
|
|
18
|
-
fit?: "
|
|
18
|
+
fit?: "none" | "contain" | "fill" | "cover" | "scale-down" | undefined;
|
|
19
19
|
} & {
|
|
20
20
|
as?: ElementType<any> | undefined;
|
|
21
21
|
src: string;
|
|
@@ -24,9 +24,9 @@ declare const Image: import("react").ForwardRefExoticComponent<ImageHTMLAttribut
|
|
|
24
24
|
height?: string | number | undefined;
|
|
25
25
|
isLoading?: boolean | undefined;
|
|
26
26
|
loading?: "lazy" | "eager" | undefined;
|
|
27
|
-
fallback?:
|
|
28
|
-
onLoad?:
|
|
29
|
-
onError?:
|
|
27
|
+
fallback?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
28
|
+
onLoad?: ImgHTMLAttributes<HTMLImageElement>['onLoad'];
|
|
29
|
+
onError?: ImgHTMLAttributes<HTMLImageElement>['onError'];
|
|
30
30
|
'data-test-id'?: string | undefined;
|
|
31
31
|
} & {
|
|
32
32
|
children?: import("react").ReactNode;
|
|
@@ -13,7 +13,7 @@ declare const Tooltip: import("react").ForwardRefExoticComponent<{
|
|
|
13
13
|
position?: RadixTooltip.PopperContentProps['side'];
|
|
14
14
|
positionOffset?: RadixTooltip.PopperContentProps['sideOffset'];
|
|
15
15
|
bgColor?: CommonAtoms['bgColor'];
|
|
16
|
-
} & Pick<import("@radix-ui/react-popper").PopperContentProps & import("react").RefAttributes<HTMLDivElement>, "
|
|
16
|
+
} & Pick<import("@radix-ui/react-popper").PopperContentProps & import("react").RefAttributes<HTMLDivElement>, "children" | "slot" | "style" | "title" | "sticky" | "id" | "className" | "color" | "translate" | "hidden" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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" | "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" | "onResize" | "onResizeCapture" | "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" | "align" | "asChild" | "onPlaced" | "side" | "sideOffset" | "alignOffset" | "arrowPadding" | "collisionBoundary" | "collisionPadding" | "hideWhenDetached" | "avoidCollisions"> & {
|
|
17
17
|
children?: ReactNode;
|
|
18
18
|
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
19
19
|
export type TooltipProps = Parameters<typeof Tooltip>[0];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import type { RefObject } from 'react';
|
|
2
2
|
import type { ButtonRecipe } from '../../../button/button.css';
|
|
3
3
|
export type UseRipple = ButtonRecipe & {
|
|
4
|
-
ref:
|
|
4
|
+
ref: RefObject<any>;
|
|
5
5
|
};
|
|
6
6
|
declare const useRipple: ({ ref, colorScheme }: UseRipple) => JSX.Element[];
|
|
7
7
|
export default useRipple;
|
|
@@ -4,15 +4,15 @@ export type HTMLProperties<T> = Omit<HTMLAttributes<T>, 'as' | 'className' | 'co
|
|
|
4
4
|
declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-sprinkles/dist/declarations/src/types").ChildSprinkles<{
|
|
5
5
|
margin: {
|
|
6
6
|
values: {
|
|
7
|
-
|
|
7
|
+
0: {
|
|
8
8
|
default: string;
|
|
9
9
|
conditions: Record<string | number, string>;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
1: {
|
|
12
12
|
default: string;
|
|
13
13
|
conditions: Record<string | number, string>;
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
auto: {
|
|
16
16
|
default: string;
|
|
17
17
|
conditions: Record<string | number, string>;
|
|
18
18
|
};
|
|
@@ -181,15 +181,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
181
181
|
};
|
|
182
182
|
marginTop: {
|
|
183
183
|
values: {
|
|
184
|
-
|
|
184
|
+
0: {
|
|
185
185
|
default: string;
|
|
186
186
|
conditions: Record<string | number, string>;
|
|
187
187
|
};
|
|
188
|
-
|
|
188
|
+
1: {
|
|
189
189
|
default: string;
|
|
190
190
|
conditions: Record<string | number, string>;
|
|
191
191
|
};
|
|
192
|
-
|
|
192
|
+
auto: {
|
|
193
193
|
default: string;
|
|
194
194
|
conditions: Record<string | number, string>;
|
|
195
195
|
};
|
|
@@ -358,15 +358,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
358
358
|
};
|
|
359
359
|
marginBottom: {
|
|
360
360
|
values: {
|
|
361
|
-
|
|
361
|
+
0: {
|
|
362
362
|
default: string;
|
|
363
363
|
conditions: Record<string | number, string>;
|
|
364
364
|
};
|
|
365
|
-
|
|
365
|
+
1: {
|
|
366
366
|
default: string;
|
|
367
367
|
conditions: Record<string | number, string>;
|
|
368
368
|
};
|
|
369
|
-
|
|
369
|
+
auto: {
|
|
370
370
|
default: string;
|
|
371
371
|
conditions: Record<string | number, string>;
|
|
372
372
|
};
|
|
@@ -535,15 +535,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
535
535
|
};
|
|
536
536
|
marginLeft: {
|
|
537
537
|
values: {
|
|
538
|
-
|
|
538
|
+
0: {
|
|
539
539
|
default: string;
|
|
540
540
|
conditions: Record<string | number, string>;
|
|
541
541
|
};
|
|
542
|
-
|
|
542
|
+
1: {
|
|
543
543
|
default: string;
|
|
544
544
|
conditions: Record<string | number, string>;
|
|
545
545
|
};
|
|
546
|
-
|
|
546
|
+
auto: {
|
|
547
547
|
default: string;
|
|
548
548
|
conditions: Record<string | number, string>;
|
|
549
549
|
};
|
|
@@ -712,15 +712,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
712
712
|
};
|
|
713
713
|
marginRight: {
|
|
714
714
|
values: {
|
|
715
|
-
|
|
715
|
+
0: {
|
|
716
716
|
default: string;
|
|
717
717
|
conditions: Record<string | number, string>;
|
|
718
718
|
};
|
|
719
|
-
|
|
719
|
+
1: {
|
|
720
720
|
default: string;
|
|
721
721
|
conditions: Record<string | number, string>;
|
|
722
722
|
};
|
|
723
|
-
|
|
723
|
+
auto: {
|
|
724
724
|
default: string;
|
|
725
725
|
conditions: Record<string | number, string>;
|
|
726
726
|
};
|
|
@@ -889,15 +889,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
889
889
|
};
|
|
890
890
|
padding: {
|
|
891
891
|
values: {
|
|
892
|
-
|
|
892
|
+
0: {
|
|
893
893
|
default: string;
|
|
894
894
|
conditions: Record<string | number, string>;
|
|
895
895
|
};
|
|
896
|
-
|
|
896
|
+
1: {
|
|
897
897
|
default: string;
|
|
898
898
|
conditions: Record<string | number, string>;
|
|
899
899
|
};
|
|
900
|
-
|
|
900
|
+
auto: {
|
|
901
901
|
default: string;
|
|
902
902
|
conditions: Record<string | number, string>;
|
|
903
903
|
};
|
|
@@ -1066,15 +1066,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
1066
1066
|
};
|
|
1067
1067
|
paddingTop: {
|
|
1068
1068
|
values: {
|
|
1069
|
-
|
|
1069
|
+
0: {
|
|
1070
1070
|
default: string;
|
|
1071
1071
|
conditions: Record<string | number, string>;
|
|
1072
1072
|
};
|
|
1073
|
-
|
|
1073
|
+
1: {
|
|
1074
1074
|
default: string;
|
|
1075
1075
|
conditions: Record<string | number, string>;
|
|
1076
1076
|
};
|
|
1077
|
-
|
|
1077
|
+
auto: {
|
|
1078
1078
|
default: string;
|
|
1079
1079
|
conditions: Record<string | number, string>;
|
|
1080
1080
|
};
|
|
@@ -1243,15 +1243,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
1243
1243
|
};
|
|
1244
1244
|
paddingBottom: {
|
|
1245
1245
|
values: {
|
|
1246
|
-
|
|
1246
|
+
0: {
|
|
1247
1247
|
default: string;
|
|
1248
1248
|
conditions: Record<string | number, string>;
|
|
1249
1249
|
};
|
|
1250
|
-
|
|
1250
|
+
1: {
|
|
1251
1251
|
default: string;
|
|
1252
1252
|
conditions: Record<string | number, string>;
|
|
1253
1253
|
};
|
|
1254
|
-
|
|
1254
|
+
auto: {
|
|
1255
1255
|
default: string;
|
|
1256
1256
|
conditions: Record<string | number, string>;
|
|
1257
1257
|
};
|
|
@@ -1420,15 +1420,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
1420
1420
|
};
|
|
1421
1421
|
paddingLeft: {
|
|
1422
1422
|
values: {
|
|
1423
|
-
|
|
1423
|
+
0: {
|
|
1424
1424
|
default: string;
|
|
1425
1425
|
conditions: Record<string | number, string>;
|
|
1426
1426
|
};
|
|
1427
|
-
|
|
1427
|
+
1: {
|
|
1428
1428
|
default: string;
|
|
1429
1429
|
conditions: Record<string | number, string>;
|
|
1430
1430
|
};
|
|
1431
|
-
|
|
1431
|
+
auto: {
|
|
1432
1432
|
default: string;
|
|
1433
1433
|
conditions: Record<string | number, string>;
|
|
1434
1434
|
};
|
|
@@ -1597,15 +1597,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
1597
1597
|
};
|
|
1598
1598
|
paddingRight: {
|
|
1599
1599
|
values: {
|
|
1600
|
-
|
|
1600
|
+
0: {
|
|
1601
1601
|
default: string;
|
|
1602
1602
|
conditions: Record<string | number, string>;
|
|
1603
1603
|
};
|
|
1604
|
-
|
|
1604
|
+
1: {
|
|
1605
1605
|
default: string;
|
|
1606
1606
|
conditions: Record<string | number, string>;
|
|
1607
1607
|
};
|
|
1608
|
-
|
|
1608
|
+
auto: {
|
|
1609
1609
|
default: string;
|
|
1610
1610
|
conditions: Record<string | number, string>;
|
|
1611
1611
|
};
|
|
@@ -1939,15 +1939,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
1939
1939
|
}> & import("rainbow-sprinkles/dist/declarations/src/types").ChildSprinkles<{
|
|
1940
1940
|
width: {
|
|
1941
1941
|
values: {
|
|
1942
|
-
|
|
1942
|
+
0: {
|
|
1943
1943
|
default: string;
|
|
1944
1944
|
conditions: Record<string | number, string>;
|
|
1945
1945
|
};
|
|
1946
|
-
|
|
1946
|
+
1: {
|
|
1947
1947
|
default: string;
|
|
1948
1948
|
conditions: Record<string | number, string>;
|
|
1949
1949
|
};
|
|
1950
|
-
|
|
1950
|
+
auto: {
|
|
1951
1951
|
default: string;
|
|
1952
1952
|
conditions: Record<string | number, string>;
|
|
1953
1953
|
};
|
|
@@ -2141,15 +2141,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
2141
2141
|
};
|
|
2142
2142
|
minWidth: {
|
|
2143
2143
|
values: {
|
|
2144
|
-
|
|
2144
|
+
0: {
|
|
2145
2145
|
default: string;
|
|
2146
2146
|
conditions: Record<string | number, string>;
|
|
2147
2147
|
};
|
|
2148
|
-
|
|
2148
|
+
1: {
|
|
2149
2149
|
default: string;
|
|
2150
2150
|
conditions: Record<string | number, string>;
|
|
2151
2151
|
};
|
|
2152
|
-
|
|
2152
|
+
auto: {
|
|
2153
2153
|
default: string;
|
|
2154
2154
|
conditions: Record<string | number, string>;
|
|
2155
2155
|
};
|
|
@@ -2343,15 +2343,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
2343
2343
|
};
|
|
2344
2344
|
maxWidth: {
|
|
2345
2345
|
values: {
|
|
2346
|
-
|
|
2346
|
+
0: {
|
|
2347
2347
|
default: string;
|
|
2348
2348
|
conditions: Record<string | number, string>;
|
|
2349
2349
|
};
|
|
2350
|
-
|
|
2350
|
+
1: {
|
|
2351
2351
|
default: string;
|
|
2352
2352
|
conditions: Record<string | number, string>;
|
|
2353
2353
|
};
|
|
2354
|
-
|
|
2354
|
+
auto: {
|
|
2355
2355
|
default: string;
|
|
2356
2356
|
conditions: Record<string | number, string>;
|
|
2357
2357
|
};
|
|
@@ -2545,15 +2545,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
2545
2545
|
};
|
|
2546
2546
|
height: {
|
|
2547
2547
|
values: {
|
|
2548
|
-
|
|
2548
|
+
0: {
|
|
2549
2549
|
default: string;
|
|
2550
2550
|
conditions: Record<string | number, string>;
|
|
2551
2551
|
};
|
|
2552
|
-
|
|
2552
|
+
1: {
|
|
2553
2553
|
default: string;
|
|
2554
2554
|
conditions: Record<string | number, string>;
|
|
2555
2555
|
};
|
|
2556
|
-
|
|
2556
|
+
auto: {
|
|
2557
2557
|
default: string;
|
|
2558
2558
|
conditions: Record<string | number, string>;
|
|
2559
2559
|
};
|
|
@@ -2747,15 +2747,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
2747
2747
|
};
|
|
2748
2748
|
minHeight: {
|
|
2749
2749
|
values: {
|
|
2750
|
-
|
|
2750
|
+
0: {
|
|
2751
2751
|
default: string;
|
|
2752
2752
|
conditions: Record<string | number, string>;
|
|
2753
2753
|
};
|
|
2754
|
-
|
|
2754
|
+
1: {
|
|
2755
2755
|
default: string;
|
|
2756
2756
|
conditions: Record<string | number, string>;
|
|
2757
2757
|
};
|
|
2758
|
-
|
|
2758
|
+
auto: {
|
|
2759
2759
|
default: string;
|
|
2760
2760
|
conditions: Record<string | number, string>;
|
|
2761
2761
|
};
|
|
@@ -2949,15 +2949,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
2949
2949
|
};
|
|
2950
2950
|
maxHeight: {
|
|
2951
2951
|
values: {
|
|
2952
|
-
|
|
2952
|
+
0: {
|
|
2953
2953
|
default: string;
|
|
2954
2954
|
conditions: Record<string | number, string>;
|
|
2955
2955
|
};
|
|
2956
|
-
|
|
2956
|
+
1: {
|
|
2957
2957
|
default: string;
|
|
2958
2958
|
conditions: Record<string | number, string>;
|
|
2959
2959
|
};
|
|
2960
|
-
|
|
2960
|
+
auto: {
|
|
2961
2961
|
default: string;
|
|
2962
2962
|
conditions: Record<string | number, string>;
|
|
2963
2963
|
};
|
|
@@ -3244,15 +3244,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
3244
3244
|
}> & import("rainbow-sprinkles/dist/declarations/src/types").ChildSprinkles<{
|
|
3245
3245
|
gap: {
|
|
3246
3246
|
values: {
|
|
3247
|
-
|
|
3247
|
+
0: {
|
|
3248
3248
|
default: string;
|
|
3249
3249
|
conditions: Record<string | number, string>;
|
|
3250
3250
|
};
|
|
3251
|
-
|
|
3251
|
+
1: {
|
|
3252
3252
|
default: string;
|
|
3253
3253
|
conditions: Record<string | number, string>;
|
|
3254
3254
|
};
|
|
3255
|
-
|
|
3255
|
+
auto: {
|
|
3256
3256
|
default: string;
|
|
3257
3257
|
conditions: Record<string | number, string>;
|
|
3258
3258
|
};
|
|
@@ -3421,15 +3421,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
3421
3421
|
};
|
|
3422
3422
|
flexDirection: {
|
|
3423
3423
|
values: {
|
|
3424
|
-
|
|
3424
|
+
column: {
|
|
3425
3425
|
default: string;
|
|
3426
3426
|
conditions: Record<string | number, string>;
|
|
3427
3427
|
};
|
|
3428
|
-
column: {
|
|
3428
|
+
"column-reverse": {
|
|
3429
3429
|
default: string;
|
|
3430
3430
|
conditions: Record<string | number, string>;
|
|
3431
3431
|
};
|
|
3432
|
-
|
|
3432
|
+
row: {
|
|
3433
3433
|
default: string;
|
|
3434
3434
|
conditions: Record<string | number, string>;
|
|
3435
3435
|
};
|
|
@@ -3438,7 +3438,7 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
3438
3438
|
conditions: Record<string | number, string>;
|
|
3439
3439
|
};
|
|
3440
3440
|
};
|
|
3441
|
-
staticScale: ("
|
|
3441
|
+
staticScale: ("column" | "column-reverse" | "row" | "row-reverse")[];
|
|
3442
3442
|
name: "flexDirection";
|
|
3443
3443
|
};
|
|
3444
3444
|
flexWrap: {
|
|
@@ -4271,10 +4271,6 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
4271
4271
|
default: string;
|
|
4272
4272
|
conditions: Record<string | number, string>;
|
|
4273
4273
|
};
|
|
4274
|
-
normal: {
|
|
4275
|
-
default: string;
|
|
4276
|
-
conditions: Record<string | number, string>;
|
|
4277
|
-
};
|
|
4278
4274
|
black: {
|
|
4279
4275
|
default: string;
|
|
4280
4276
|
conditions: Record<string | number, string>;
|
|
@@ -4291,6 +4287,10 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
4291
4287
|
default: string;
|
|
4292
4288
|
conditions: Record<string | number, string>;
|
|
4293
4289
|
};
|
|
4290
|
+
reguler: {
|
|
4291
|
+
default: string;
|
|
4292
|
+
conditions: Record<string | number, string>;
|
|
4293
|
+
};
|
|
4294
4294
|
medium: {
|
|
4295
4295
|
default: string;
|
|
4296
4296
|
conditions: Record<string | number, string>;
|
|
@@ -4308,7 +4308,7 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
4308
4308
|
readonly hairline: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
4309
4309
|
readonly thin: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
4310
4310
|
readonly light: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
4311
|
-
readonly
|
|
4311
|
+
readonly reguler: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
4312
4312
|
readonly medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
4313
4313
|
readonly semibold: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
4314
4314
|
readonly bold: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -4407,15 +4407,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
4407
4407
|
}> & import("rainbow-sprinkles/dist/declarations/src/types").ChildSprinkles<{
|
|
4408
4408
|
top: {
|
|
4409
4409
|
values: {
|
|
4410
|
-
|
|
4410
|
+
0: {
|
|
4411
4411
|
default: string;
|
|
4412
4412
|
conditions: Record<string | number, string>;
|
|
4413
4413
|
};
|
|
4414
|
-
|
|
4414
|
+
1: {
|
|
4415
4415
|
default: string;
|
|
4416
4416
|
conditions: Record<string | number, string>;
|
|
4417
4417
|
};
|
|
4418
|
-
|
|
4418
|
+
auto: {
|
|
4419
4419
|
default: string;
|
|
4420
4420
|
conditions: Record<string | number, string>;
|
|
4421
4421
|
};
|
|
@@ -4584,15 +4584,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
4584
4584
|
};
|
|
4585
4585
|
right: {
|
|
4586
4586
|
values: {
|
|
4587
|
-
|
|
4587
|
+
0: {
|
|
4588
4588
|
default: string;
|
|
4589
4589
|
conditions: Record<string | number, string>;
|
|
4590
4590
|
};
|
|
4591
|
-
|
|
4591
|
+
1: {
|
|
4592
4592
|
default: string;
|
|
4593
4593
|
conditions: Record<string | number, string>;
|
|
4594
4594
|
};
|
|
4595
|
-
|
|
4595
|
+
auto: {
|
|
4596
4596
|
default: string;
|
|
4597
4597
|
conditions: Record<string | number, string>;
|
|
4598
4598
|
};
|
|
@@ -4761,15 +4761,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
4761
4761
|
};
|
|
4762
4762
|
bottom: {
|
|
4763
4763
|
values: {
|
|
4764
|
-
|
|
4764
|
+
0: {
|
|
4765
4765
|
default: string;
|
|
4766
4766
|
conditions: Record<string | number, string>;
|
|
4767
4767
|
};
|
|
4768
|
-
|
|
4768
|
+
1: {
|
|
4769
4769
|
default: string;
|
|
4770
4770
|
conditions: Record<string | number, string>;
|
|
4771
4771
|
};
|
|
4772
|
-
|
|
4772
|
+
auto: {
|
|
4773
4773
|
default: string;
|
|
4774
4774
|
conditions: Record<string | number, string>;
|
|
4775
4775
|
};
|
|
@@ -4938,15 +4938,15 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
4938
4938
|
};
|
|
4939
4939
|
left: {
|
|
4940
4940
|
values: {
|
|
4941
|
-
|
|
4941
|
+
0: {
|
|
4942
4942
|
default: string;
|
|
4943
4943
|
conditions: Record<string | number, string>;
|
|
4944
4944
|
};
|
|
4945
|
-
|
|
4945
|
+
1: {
|
|
4946
4946
|
default: string;
|
|
4947
4947
|
conditions: Record<string | number, string>;
|
|
4948
4948
|
};
|
|
4949
|
-
|
|
4949
|
+
auto: {
|
|
4950
4950
|
default: string;
|
|
4951
4951
|
conditions: Record<string | number, string>;
|
|
4952
4952
|
};
|
|
@@ -6943,10 +6943,6 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
6943
6943
|
default: string;
|
|
6944
6944
|
conditions: Record<string | number, string>;
|
|
6945
6945
|
};
|
|
6946
|
-
normal: {
|
|
6947
|
-
default: string;
|
|
6948
|
-
conditions: Record<string | number, string>;
|
|
6949
|
-
};
|
|
6950
6946
|
black: {
|
|
6951
6947
|
default: string;
|
|
6952
6948
|
conditions: Record<string | number, string>;
|
|
@@ -6963,6 +6959,10 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
6963
6959
|
default: string;
|
|
6964
6960
|
conditions: Record<string | number, string>;
|
|
6965
6961
|
};
|
|
6962
|
+
reguler: {
|
|
6963
|
+
default: string;
|
|
6964
|
+
conditions: Record<string | number, string>;
|
|
6965
|
+
};
|
|
6966
6966
|
medium: {
|
|
6967
6967
|
default: string;
|
|
6968
6968
|
conditions: Record<string | number, string>;
|
|
@@ -6980,7 +6980,7 @@ declare const Box: import("react").ForwardRefExoticComponent<import("rainbow-spr
|
|
|
6980
6980
|
readonly hairline: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
6981
6981
|
readonly thin: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
6982
6982
|
readonly light: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
6983
|
-
readonly
|
|
6983
|
+
readonly reguler: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
6984
6984
|
readonly medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
6985
6985
|
readonly semibold: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
6986
6986
|
readonly bold: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import type { FC, PropsWithChildren } from 'react';
|
|
2
2
|
import type { FlexAtoms } from '../../theme';
|
|
3
3
|
type BaseContainerProps = {
|
|
4
|
-
alignItems?: FlexAtoms['alignItems'];
|
|
5
4
|
display?: FlexAtoms['display'];
|
|
6
|
-
flex?: FlexAtoms['flex'];
|
|
7
|
-
direction?: FlexAtoms['flexDirection'];
|
|
8
|
-
/** Sets the container to 100% width at all screen sizes */
|
|
9
5
|
isFluid?: boolean;
|
|
10
|
-
justifyContent?: FlexAtoms['justifyContent'];
|
|
11
6
|
className?: string;
|
|
12
7
|
};
|
|
13
8
|
declare const Container: FC<PropsWithChildren<BaseContainerProps>>;
|