gd-design-library 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/core/Button/Button.js +11 -11
- package/components/core/Input/Input.d.ts +1 -1
- package/package.json +1 -1
- package/tokens/accordion.d.ts +62 -1
- package/tokens/avatar.d.ts +119 -1
- package/tokens/box.d.ts +42 -1
- package/tokens/breadcrumbs.d.ts +27 -1
- package/tokens/button.d.ts +1 -1
- package/tokens/button.js +1 -1
- package/tokens/card.d.ts +133 -1
- package/tokens/carousel.d.ts +196 -1
- package/tokens/chat.d.ts +135 -1
- package/tokens/chatbubble.d.ts +64 -1
- package/tokens/colors.d.ts +1 -0
- package/tokens/colors.js +3 -2
- package/tokens/counter.d.ts +38 -1
- package/tokens/defaultTheme.d.ts +3671 -659
- package/tokens/draganddrop.d.ts +60 -1
- package/tokens/header.d.ts +107 -1
- package/tokens/image.d.ts +31 -1
- package/tokens/index.d.ts +3170 -478
- package/tokens/inlineNotification.d.ts +62 -1
- package/tokens/input.d.ts +212 -1
- package/tokens/link.d.ts +80 -1
- package/tokens/list.d.ts +89 -1
- package/tokens/loader.d.ts +135 -1
- package/tokens/menu.d.ts +12 -1
- package/tokens/modal.d.ts +89 -1
- package/tokens/price.d.ts +23 -1
- package/tokens/progressbar.d.ts +51 -1
- package/tokens/radiogroup.d.ts +80 -1
- package/tokens/rating.d.ts +67 -1
- package/tokens/scroll.d.ts +91 -1
- package/tokens/search.d.ts +39 -1
- package/tokens/searchModal.d.ts +153 -1
- package/tokens/select.d.ts +92 -1
- package/tokens/skeleton.d.ts +68 -1
- package/tokens/slider.d.ts +58 -1
- package/tokens/snackbar.d.ts +156 -1
- package/tokens/stepper.d.ts +122 -1
- package/tokens/switch.d.ts +67 -1
- package/tokens/tabs.d.ts +88 -1
- package/tokens/toggle.d.ts +9 -1
- package/tokens/tooltip.d.ts +61 -1
- package/tokens/typography.d.ts +144 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { forwardRef as
|
|
2
|
+
import { jsxs as $, jsx as n } from "@emotion/react/jsx-runtime";
|
|
3
|
+
import { forwardRef as b } from "react";
|
|
4
4
|
import { convertToInlineBoxStyles as x } from "../../../tokens/utils.js";
|
|
5
5
|
import { COMPONENT_NAME as e } from "./constants.js";
|
|
6
6
|
import { ButtonStyled as T, StartIconStyled as E, ContentStyled as N, EndIconStyled as v } from "./ButtonStyled.js";
|
|
@@ -8,13 +8,13 @@ import { ButtonVariant as C, ButtonTypes as P, ButtonRole as j } from "../../../
|
|
|
8
8
|
import { useTheme as M } from "../../../hooks/useTheme/useTheme.js";
|
|
9
9
|
import { get as O } from "../../../utils/helpers.js";
|
|
10
10
|
import { TabIndex as R } from "../../../types/accesability.js";
|
|
11
|
-
const W =
|
|
11
|
+
const W = b((s, m) => {
|
|
12
12
|
const {
|
|
13
13
|
theme: t
|
|
14
14
|
} = M(), {
|
|
15
15
|
variant: u = C.Primary,
|
|
16
|
-
rounded: c = O(t, "button.attrs.
|
|
17
|
-
children:
|
|
16
|
+
rounded: c = O(t, "button.attrs.rounded", "none"),
|
|
17
|
+
children: o,
|
|
18
18
|
iconStart: r = null,
|
|
19
19
|
iconEnd: a = null,
|
|
20
20
|
type: f = P.Button,
|
|
@@ -24,18 +24,18 @@ const W = $((s, m) => {
|
|
|
24
24
|
ariaPressed: l,
|
|
25
25
|
role: h = j.Button,
|
|
26
26
|
fullWidth: B = !1,
|
|
27
|
-
tabIndex:
|
|
28
|
-
onClick:
|
|
27
|
+
tabIndex: I = R.Default,
|
|
28
|
+
onClick: S,
|
|
29
29
|
...d
|
|
30
30
|
} = s;
|
|
31
|
-
return /* @__PURE__ */
|
|
31
|
+
return /* @__PURE__ */ $(T, { ref: m, $variant: u, $isIcon: y, $fullWidth: B, $rounded: c, disabled: p, onClick: S, type: f, role: h, theme: t, tabIndex: I, "data-testid": e, ...x(d), ...i ? {
|
|
32
32
|
"aria-label": i
|
|
33
33
|
} : {}, ...l ? {
|
|
34
34
|
"aria-pressed": l
|
|
35
35
|
} : {}, ...d, children: [
|
|
36
|
-
r ? /* @__PURE__ */
|
|
37
|
-
|
|
38
|
-
a ? /* @__PURE__ */
|
|
36
|
+
r ? /* @__PURE__ */ n(E, { theme: t, "data-testid": `${e}-icon-start`, children: r }) : null,
|
|
37
|
+
o ? /* @__PURE__ */ n(N, { theme: t, "data-testid": `${e}-content`, children: o }) : null,
|
|
38
|
+
a ? /* @__PURE__ */ n(v, { theme: t, "data-testid": `${e}-icon-end`, children: a }) : null
|
|
39
39
|
] });
|
|
40
40
|
});
|
|
41
41
|
W.displayName = e;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { InputFieldProps } from './Input.types';
|
|
2
|
-
export declare const Input: import('react').ForwardRefExoticComponent<(InputFieldProps & Partial<Omit<HTMLInputElement, "color" | "prefix" | "disabled" | "tabIndex" | "type" | "hidden" | "width" | "children" | "className" | "role" | "content" | "translate" | "name" | "label" | "
|
|
2
|
+
export declare const Input: import('react').ForwardRefExoticComponent<(InputFieldProps & Partial<Omit<HTMLInputElement, "color" | "prefix" | "disabled" | "tabIndex" | "type" | "hidden" | "width" | "children" | "className" | "role" | "content" | "translate" | "name" | "label" | "styles" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "title" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "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" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "variant" | "placeholder" | "adornmentStart" | "adornmentEnd" | "debounceCallbackTime" | "readOnly" | "required" | "ariaRequired" | "ariaDescribedBy" | "wrapperAs" | "helperText">>) & import('react').RefAttributes<HTMLInputElement>>;
|
package/package.json
CHANGED
package/tokens/accordion.d.ts
CHANGED
|
@@ -1 +1,62 @@
|
|
|
1
|
-
|
|
1
|
+
import { TextAlign } from '../types';
|
|
2
|
+
export declare const accordion: {
|
|
3
|
+
header: {
|
|
4
|
+
default: {
|
|
5
|
+
width: string;
|
|
6
|
+
textAlign: TextAlign;
|
|
7
|
+
cursor: string;
|
|
8
|
+
border: number;
|
|
9
|
+
backgroundColor: (theme: Record<symbol, unknown>) => string;
|
|
10
|
+
paddingTop: (theme: Record<symbol, unknown>) => string;
|
|
11
|
+
paddingBottom: (theme: Record<symbol, unknown>) => string;
|
|
12
|
+
display: string;
|
|
13
|
+
alignItems: string;
|
|
14
|
+
':first-of-type': {
|
|
15
|
+
flex: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
content: {
|
|
20
|
+
default: {
|
|
21
|
+
overflow: string;
|
|
22
|
+
transition: (theme: Record<symbol, unknown>) => string;
|
|
23
|
+
height: string;
|
|
24
|
+
};
|
|
25
|
+
opened: {
|
|
26
|
+
paddingTop: (theme: Record<symbol, unknown>) => string;
|
|
27
|
+
paddingBottom: (theme: Record<symbol, unknown>) => string;
|
|
28
|
+
};
|
|
29
|
+
closed: {
|
|
30
|
+
maxHeight: (theme: Record<symbol, unknown>) => string;
|
|
31
|
+
paddingTop: (theme: Record<symbol, unknown>) => string;
|
|
32
|
+
paddingBottom: (theme: Record<symbol, unknown>) => string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
item: {
|
|
36
|
+
default: {
|
|
37
|
+
position: string;
|
|
38
|
+
padding: (theme: Record<symbol, unknown>) => string;
|
|
39
|
+
'&::after': {
|
|
40
|
+
content: string;
|
|
41
|
+
position: string;
|
|
42
|
+
bottom: (theme: Record<symbol, unknown>) => string;
|
|
43
|
+
left: (theme: Record<symbol, unknown>) => string;
|
|
44
|
+
right: (theme: Record<symbol, unknown>) => string;
|
|
45
|
+
height: string;
|
|
46
|
+
width: string;
|
|
47
|
+
backgroundColor: (theme: Record<symbol, unknown>) => string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
icon: {
|
|
52
|
+
default: {
|
|
53
|
+
transition: (theme: Record<symbol, unknown>) => string;
|
|
54
|
+
};
|
|
55
|
+
opened: {
|
|
56
|
+
transform: (theme: Record<symbol, unknown>) => string;
|
|
57
|
+
};
|
|
58
|
+
closed: {
|
|
59
|
+
transform: (theme: Record<symbol, unknown>) => string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
package/tokens/avatar.d.ts
CHANGED
|
@@ -1 +1,119 @@
|
|
|
1
|
-
|
|
1
|
+
import { TextAlign, TypographyVariant } from '../types';
|
|
2
|
+
export declare const avatar: {
|
|
3
|
+
default: {
|
|
4
|
+
borderRadius: string;
|
|
5
|
+
position: string;
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
};
|
|
9
|
+
imageWrapper: {
|
|
10
|
+
default: {
|
|
11
|
+
borderRadius: string;
|
|
12
|
+
overflow: string;
|
|
13
|
+
height: string;
|
|
14
|
+
width: string;
|
|
15
|
+
alignContent: string;
|
|
16
|
+
backgroundColor: (theme: Record<symbol, unknown>) => string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
badge: {
|
|
20
|
+
default: {
|
|
21
|
+
position: string;
|
|
22
|
+
borderRadius: string;
|
|
23
|
+
width: number;
|
|
24
|
+
height: number;
|
|
25
|
+
border: string;
|
|
26
|
+
top: number;
|
|
27
|
+
right: number;
|
|
28
|
+
};
|
|
29
|
+
size: {
|
|
30
|
+
xs: {
|
|
31
|
+
width: number;
|
|
32
|
+
height: number;
|
|
33
|
+
border: string;
|
|
34
|
+
top: number;
|
|
35
|
+
right: number;
|
|
36
|
+
};
|
|
37
|
+
sm: {
|
|
38
|
+
width: number;
|
|
39
|
+
height: number;
|
|
40
|
+
border: string;
|
|
41
|
+
top: number;
|
|
42
|
+
right: number;
|
|
43
|
+
};
|
|
44
|
+
md: {
|
|
45
|
+
width: number;
|
|
46
|
+
height: number;
|
|
47
|
+
border: string;
|
|
48
|
+
top: number;
|
|
49
|
+
right: number;
|
|
50
|
+
};
|
|
51
|
+
lg: {
|
|
52
|
+
width: number;
|
|
53
|
+
height: number;
|
|
54
|
+
border: string;
|
|
55
|
+
top: number;
|
|
56
|
+
right: number;
|
|
57
|
+
};
|
|
58
|
+
xl: {
|
|
59
|
+
width: number;
|
|
60
|
+
height: number;
|
|
61
|
+
border: string;
|
|
62
|
+
top: number;
|
|
63
|
+
right: number;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
fallbackText: {
|
|
68
|
+
default: {
|
|
69
|
+
overflow: string;
|
|
70
|
+
textOverflow: string;
|
|
71
|
+
whiteSpace: string;
|
|
72
|
+
};
|
|
73
|
+
attrs: {
|
|
74
|
+
default: {
|
|
75
|
+
variant: TypographyVariant;
|
|
76
|
+
align: TextAlign;
|
|
77
|
+
};
|
|
78
|
+
size: {
|
|
79
|
+
xs: {
|
|
80
|
+
variant: TypographyVariant;
|
|
81
|
+
};
|
|
82
|
+
sm: {
|
|
83
|
+
variant: TypographyVariant;
|
|
84
|
+
};
|
|
85
|
+
md: {
|
|
86
|
+
variant: TypographyVariant;
|
|
87
|
+
};
|
|
88
|
+
lg: {
|
|
89
|
+
variant: TypographyVariant;
|
|
90
|
+
};
|
|
91
|
+
xl: {
|
|
92
|
+
variant: TypographyVariant;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
size: {
|
|
98
|
+
xs: {
|
|
99
|
+
width: number;
|
|
100
|
+
height: number;
|
|
101
|
+
};
|
|
102
|
+
sm: {
|
|
103
|
+
width: number;
|
|
104
|
+
height: number;
|
|
105
|
+
};
|
|
106
|
+
md: {
|
|
107
|
+
width: number;
|
|
108
|
+
height: number;
|
|
109
|
+
};
|
|
110
|
+
lg: {
|
|
111
|
+
width: number;
|
|
112
|
+
height: number;
|
|
113
|
+
};
|
|
114
|
+
xl: {
|
|
115
|
+
width: number;
|
|
116
|
+
height: number;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
package/tokens/box.d.ts
CHANGED
|
@@ -2,4 +2,45 @@
|
|
|
2
2
|
* Box component tokens - Base container styles
|
|
3
3
|
* These styles were extracted from Card component to create a reusable base container
|
|
4
4
|
*/
|
|
5
|
-
export declare const box:
|
|
5
|
+
export declare const box: {
|
|
6
|
+
default: {
|
|
7
|
+
display: string;
|
|
8
|
+
'&:focus-visible': (theme: Record<symbol, unknown>) => {
|
|
9
|
+
outline: string;
|
|
10
|
+
'&:hover': {
|
|
11
|
+
boxShadow: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
shadowHover: {
|
|
16
|
+
'&:hover': {
|
|
17
|
+
boxShadow: (theme: Record<symbol, unknown>) => string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
vertical: {
|
|
21
|
+
default: {
|
|
22
|
+
flexDirection: string;
|
|
23
|
+
};
|
|
24
|
+
bordered: (theme: Record<symbol, unknown>) => {
|
|
25
|
+
border: string;
|
|
26
|
+
};
|
|
27
|
+
highlighted: (theme: Record<symbol, unknown>) => {
|
|
28
|
+
'&:not(:focus-visible):hover': {
|
|
29
|
+
outline: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
horizontal: {
|
|
34
|
+
default: {
|
|
35
|
+
flexDirection: string;
|
|
36
|
+
};
|
|
37
|
+
bordered: (theme: Record<symbol, unknown>) => {
|
|
38
|
+
border: string;
|
|
39
|
+
};
|
|
40
|
+
highlighted: (theme: Record<symbol, unknown>) => {
|
|
41
|
+
'&:not(:focus-visible):hover': {
|
|
42
|
+
outline: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
package/tokens/breadcrumbs.d.ts
CHANGED
|
@@ -1 +1,27 @@
|
|
|
1
|
-
export declare const breadcrumbs:
|
|
1
|
+
export declare const breadcrumbs: {
|
|
2
|
+
default: {
|
|
3
|
+
display: string;
|
|
4
|
+
alignItems: string;
|
|
5
|
+
gap: (theme: Record<symbol, unknown>) => string;
|
|
6
|
+
};
|
|
7
|
+
bordered: {
|
|
8
|
+
padding: (theme: Record<symbol, unknown>) => string;
|
|
9
|
+
border: (theme: Record<symbol, unknown>) => string;
|
|
10
|
+
};
|
|
11
|
+
item: {
|
|
12
|
+
default: {};
|
|
13
|
+
itemStart: {
|
|
14
|
+
color: (theme: Record<symbol, unknown>) => string;
|
|
15
|
+
};
|
|
16
|
+
itemEnd: {
|
|
17
|
+
color: (theme: Record<symbol, unknown>) => string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
separator: {
|
|
21
|
+
default: {
|
|
22
|
+
display: string;
|
|
23
|
+
alignItems: string;
|
|
24
|
+
color: (theme: Record<symbol, unknown>) => string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
package/tokens/button.d.ts
CHANGED
package/tokens/button.js
CHANGED
package/tokens/card.d.ts
CHANGED
|
@@ -1,5 +1,137 @@
|
|
|
1
|
+
import { FlexDirection } from '../types';
|
|
1
2
|
/**
|
|
2
3
|
* Card component tokens
|
|
3
4
|
* Base styles (display flex, focus-visible) are now handled by the Box component
|
|
4
5
|
*/
|
|
5
|
-
export declare const card:
|
|
6
|
+
export declare const card: {
|
|
7
|
+
default: {};
|
|
8
|
+
title: {
|
|
9
|
+
default: (theme: Record<symbol, unknown>) => {
|
|
10
|
+
margin: string;
|
|
11
|
+
padding: string;
|
|
12
|
+
};
|
|
13
|
+
vertical: {
|
|
14
|
+
default: {};
|
|
15
|
+
sm: {};
|
|
16
|
+
};
|
|
17
|
+
horizontal: {
|
|
18
|
+
default: {};
|
|
19
|
+
sm: {};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
description: {
|
|
23
|
+
default: (theme: Record<symbol, unknown>) => {
|
|
24
|
+
margin: string;
|
|
25
|
+
padding: string;
|
|
26
|
+
};
|
|
27
|
+
vertical: {
|
|
28
|
+
default: {};
|
|
29
|
+
sm: {};
|
|
30
|
+
};
|
|
31
|
+
horizontal: {
|
|
32
|
+
default: {};
|
|
33
|
+
sm: {};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
rating: {
|
|
37
|
+
default: (theme: Record<symbol, unknown>) => {
|
|
38
|
+
display: string;
|
|
39
|
+
alignItems: string;
|
|
40
|
+
gap: string;
|
|
41
|
+
};
|
|
42
|
+
vertical: {
|
|
43
|
+
default: (theme: Record<symbol, unknown>) => {
|
|
44
|
+
color: string;
|
|
45
|
+
fontSize: string;
|
|
46
|
+
fontWeight: string;
|
|
47
|
+
lineHeight: string;
|
|
48
|
+
};
|
|
49
|
+
sm: (theme: Record<symbol, unknown>) => {
|
|
50
|
+
color: string;
|
|
51
|
+
flexDirection: FlexDirection;
|
|
52
|
+
fontSize: string;
|
|
53
|
+
fontWeight: string;
|
|
54
|
+
lineHeight: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
horizontal: {
|
|
58
|
+
default: (theme: Record<symbol, unknown>) => {
|
|
59
|
+
color: string;
|
|
60
|
+
fontSize: string;
|
|
61
|
+
fontWeight: string;
|
|
62
|
+
lineHeight: string;
|
|
63
|
+
};
|
|
64
|
+
sm: (theme: Record<symbol, unknown>) => {
|
|
65
|
+
color: string;
|
|
66
|
+
flexDirection: FlexDirection;
|
|
67
|
+
fontSize: string;
|
|
68
|
+
fontWeight: string;
|
|
69
|
+
lineHeight: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
button: {
|
|
74
|
+
default: {
|
|
75
|
+
display: string;
|
|
76
|
+
};
|
|
77
|
+
vertical: {
|
|
78
|
+
default: {};
|
|
79
|
+
sm: {};
|
|
80
|
+
};
|
|
81
|
+
horizontal: {
|
|
82
|
+
default: {};
|
|
83
|
+
sm: {};
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
image: {
|
|
87
|
+
default: {};
|
|
88
|
+
vertical: {
|
|
89
|
+
default: {};
|
|
90
|
+
sm: {};
|
|
91
|
+
};
|
|
92
|
+
horizontal: {
|
|
93
|
+
default: {};
|
|
94
|
+
sm: {};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
counter: {
|
|
98
|
+
default: {};
|
|
99
|
+
vertical: {
|
|
100
|
+
default: {};
|
|
101
|
+
sm: {};
|
|
102
|
+
};
|
|
103
|
+
horizontal: {
|
|
104
|
+
default: {};
|
|
105
|
+
sm: {};
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
price: {
|
|
109
|
+
default: {
|
|
110
|
+
display: string;
|
|
111
|
+
};
|
|
112
|
+
vertical: {
|
|
113
|
+
default: {};
|
|
114
|
+
sm: (theme: Record<symbol, unknown>) => {
|
|
115
|
+
'& > div > *': {
|
|
116
|
+
fontSize: string;
|
|
117
|
+
fontWeight: string;
|
|
118
|
+
lineHeight: string;
|
|
119
|
+
marginTop: string;
|
|
120
|
+
marginBottom: string;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
horizontal: {
|
|
125
|
+
default: {};
|
|
126
|
+
sm: (theme: Record<symbol, unknown>) => {
|
|
127
|
+
'& > div > *': {
|
|
128
|
+
fontSize: string;
|
|
129
|
+
fontWeight: string;
|
|
130
|
+
lineHeight: string;
|
|
131
|
+
marginTop: string;
|
|
132
|
+
marginBottom: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
};
|