@julseb-lib/react 0.0.87 → 0.0.89
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/README.md +1 -1
- package/dist/index.cjs.js +640 -640
- package/dist/index.es.js +3890 -3345
- package/dist/index.umd.js +612 -612
- package/dist/lib/Mixins.tsx +970 -970
- package/dist/lib/components/Alert/Alert.tsx +74 -72
- package/dist/lib/components/Aside/Aside.tsx +18 -18
- package/dist/lib/components/Button/Button.tsx +86 -84
- package/dist/lib/components/ButtonIcon/ButtonIcon.tsx +2 -0
- package/dist/lib/components/Grid/Grid.tsx +9 -9
- package/dist/lib/components/Header/Header.tsx +166 -164
- package/dist/lib/components/Header/HeaderBurger.tsx +40 -39
- package/dist/lib/components/Header/HeaderLogo.tsx +57 -53
- package/dist/lib/components/Header/HeaderNav.tsx +68 -59
- package/dist/lib/components/Header/subtypes.ts +52 -51
- package/dist/lib/components/Image/Image.tsx +77 -73
- package/dist/lib/components/Image/ImageFunction.tsx +39 -37
- package/dist/lib/components/Main/Main.tsx +19 -19
- package/dist/lib/components/TextIcon/TextIcon.tsx +58 -58
- package/dist/lib/components/Timepicker/Timepicker.tsx +234 -235
- package/dist/lib/components/Tooltip/types.ts +15 -14
- package/dist/lib/components/Youtube/types.ts +5 -4
- package/dist/lib/index.ts +56 -55
- package/dist/lib/types/global.ts +129 -128
- package/dist/lib/types/index.ts +0 -1
- package/license.md +21 -0
- package/package.json +1 -1
- /package/dist/lib/{types/design-tokens.ts → design-tokens.ts} +0 -0
|
@@ -36,65 +36,65 @@ import type { ILibTextIcon } from "./types"
|
|
|
36
36
|
* <TextIcon icon="star" tag="h2" color="primary">Featured</TextIcon>
|
|
37
37
|
*/
|
|
38
38
|
export const TextIcon: FC<ILibTextIcon> = ({
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
39
|
+
"data-testid": testid,
|
|
40
|
+
as,
|
|
41
|
+
ref,
|
|
42
|
+
textAs,
|
|
43
|
+
className,
|
|
44
|
+
children,
|
|
45
|
+
icon,
|
|
46
|
+
iconColor,
|
|
47
|
+
iconSize,
|
|
48
|
+
iconBaseUrl,
|
|
49
|
+
tag = "p",
|
|
50
|
+
display,
|
|
51
|
+
gap = "xs",
|
|
52
|
+
containerStyle,
|
|
53
|
+
...rest
|
|
54
54
|
}) => {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
55
|
+
const textProps: Partial<Omit<ILibTextIcon, "tag" | "display">> = {
|
|
56
|
+
"data-testid": testid && `${testid}.Text`,
|
|
57
|
+
as: textAs,
|
|
58
|
+
className: "Text",
|
|
59
|
+
children,
|
|
60
|
+
...rest,
|
|
61
|
+
}
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
63
|
+
return (
|
|
64
|
+
<StyledTextIcon
|
|
65
|
+
data-testid={testid}
|
|
66
|
+
ref={ref}
|
|
67
|
+
as={as}
|
|
68
|
+
className={className}
|
|
69
|
+
style={containerStyle}
|
|
70
|
+
$gap={gap}
|
|
71
|
+
>
|
|
72
|
+
<IconContainer
|
|
73
|
+
data-testid={testid && `${testid}.IconContainer`}
|
|
74
|
+
className={className && "IconContainer"}
|
|
75
|
+
$tag={tag}
|
|
76
|
+
$display={display}
|
|
77
|
+
$iconSize={iconSize}
|
|
78
|
+
>
|
|
79
|
+
<LibIcon
|
|
80
|
+
data-testid={testid && `${testid}.IconContainer.Icon`}
|
|
81
|
+
className={className && "Icon"}
|
|
82
|
+
icon={icon}
|
|
83
|
+
size={iconSize || getIconHeight(tag, display)}
|
|
84
|
+
color={iconColor}
|
|
85
|
+
baseUrl={iconBaseUrl}
|
|
86
|
+
/>
|
|
87
|
+
</IconContainer>
|
|
88
88
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
89
|
+
{tag === "h1" ||
|
|
90
|
+
tag === "h2" ||
|
|
91
|
+
tag === "h3" ||
|
|
92
|
+
tag === "h4" ||
|
|
93
|
+
tag === "h5" ? (
|
|
94
|
+
<Text display={display} tag={tag} {...textProps} />
|
|
95
|
+
) : (
|
|
96
|
+
<Text tag={tag} {...textProps} />
|
|
97
|
+
)}
|
|
98
|
+
</StyledTextIcon>
|
|
99
|
+
)
|
|
100
100
|
}
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { useRef, type ChangeEvent, type FC } from "react"
|
|
2
|
-
import { useClickOutside } from "../../"
|
|
2
|
+
import { useClickOutside, designTokens } from "../../"
|
|
3
3
|
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
InputContainer,
|
|
5
|
+
InputAndListContainer,
|
|
6
|
+
InputWrapper,
|
|
7
|
+
InputLeftContainer,
|
|
8
|
+
InputPrefix,
|
|
9
|
+
InputIcon,
|
|
10
|
+
InputRightContainer,
|
|
11
|
+
InputButton,
|
|
12
|
+
InputValidationIcon,
|
|
13
|
+
ListInput,
|
|
14
|
+
ListInputItem,
|
|
15
15
|
} from "../InputComponents"
|
|
16
16
|
import { Clock } from "../../icons"
|
|
17
17
|
import { useKeyboardNavigation } from "../ComponentsMixins"
|
|
18
|
-
import { designTokens } from "../../types"
|
|
19
18
|
import { InputTime } from "./styles"
|
|
20
19
|
import type { ILibTimepicker } from "./types"
|
|
21
20
|
|
|
@@ -65,243 +64,243 @@ import type { ILibTimepicker } from "./types"
|
|
|
65
64
|
* />
|
|
66
65
|
*/
|
|
67
66
|
export const Timepicker: FC<ILibTimepicker> = ({
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
67
|
+
"data-testid": testid,
|
|
68
|
+
ref,
|
|
69
|
+
className,
|
|
70
|
+
icon,
|
|
71
|
+
iconSize,
|
|
72
|
+
iconBaseUrl,
|
|
73
|
+
iconClockSize = 16,
|
|
74
|
+
iconClock = (
|
|
75
|
+
<Clock
|
|
76
|
+
data-testid={testid && `${testid}.RightContainer.IconClock`}
|
|
77
|
+
className={className && "IconClock"}
|
|
78
|
+
size={iconClockSize}
|
|
79
|
+
/>
|
|
80
|
+
),
|
|
81
|
+
id,
|
|
82
|
+
label,
|
|
83
|
+
labelComment,
|
|
84
|
+
helper,
|
|
85
|
+
helperBottom,
|
|
86
|
+
validation,
|
|
87
|
+
inputBackground,
|
|
88
|
+
inputVariant,
|
|
89
|
+
containerStyle,
|
|
90
|
+
inputAndListContainerStyle,
|
|
91
|
+
listDirection,
|
|
92
|
+
step = "1h",
|
|
93
|
+
minTime,
|
|
94
|
+
maxTime,
|
|
95
|
+
value,
|
|
96
|
+
setValue,
|
|
97
|
+
prefix,
|
|
98
|
+
disabled,
|
|
99
|
+
tabIndex,
|
|
100
|
+
...rest
|
|
102
101
|
}) => {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
102
|
+
const hasContainer: boolean = !!(
|
|
103
|
+
label ||
|
|
104
|
+
labelComment ||
|
|
105
|
+
helper ||
|
|
106
|
+
helperBottom ||
|
|
107
|
+
validation
|
|
108
|
+
)
|
|
110
109
|
|
|
111
|
-
|
|
110
|
+
const el = useRef<HTMLDivElement>(null)
|
|
112
111
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
112
|
+
let times: Array<string> =
|
|
113
|
+
step === "30min"
|
|
114
|
+
? Object.keys(designTokens.halfHours)
|
|
115
|
+
: step === "15min"
|
|
116
|
+
? Object.keys(designTokens.quarterHours)
|
|
117
|
+
: step === "1min"
|
|
118
|
+
? Object.keys(designTokens.minutes)
|
|
119
|
+
: Object.keys(designTokens.hours)
|
|
121
120
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
121
|
+
if (minTime) {
|
|
122
|
+
times = times.splice(
|
|
123
|
+
times.indexOf(times.find(found => found === minTime)!),
|
|
124
|
+
times.length - 1
|
|
125
|
+
)
|
|
126
|
+
}
|
|
128
127
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
128
|
+
if (maxTime) {
|
|
129
|
+
times = times.splice(0, times.indexOf(maxTime) + 1)
|
|
130
|
+
}
|
|
132
131
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
132
|
+
const { isOpen, setIsOpen, cursor, listRef } = useKeyboardNavigation<
|
|
133
|
+
typeof times
|
|
134
|
+
>({
|
|
135
|
+
data: times,
|
|
136
|
+
value,
|
|
137
|
+
setValue,
|
|
138
|
+
})
|
|
140
139
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
140
|
+
const handleClick = () => {
|
|
141
|
+
if (isOpen) setIsOpen(false)
|
|
142
|
+
setIsOpen(true)
|
|
143
|
+
}
|
|
145
144
|
|
|
146
|
-
|
|
147
|
-
|
|
145
|
+
const handleOpen = () => setIsOpen(true)
|
|
146
|
+
const handleClose = () => setIsOpen(false)
|
|
148
147
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
148
|
+
const handleChange = (e: ChangeEvent<HTMLInputElement>) =>
|
|
149
|
+
setValue(
|
|
150
|
+
e.target.value as keyof typeof designTokens.hours &
|
|
151
|
+
keyof typeof designTokens.halfHours &
|
|
152
|
+
keyof typeof designTokens.quarterHours &
|
|
153
|
+
keyof typeof designTokens.minutes
|
|
154
|
+
)
|
|
156
155
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
156
|
+
const handleSelectTime = (time: string) => {
|
|
157
|
+
setValue(time as any)
|
|
158
|
+
handleClose()
|
|
159
|
+
}
|
|
161
160
|
|
|
162
|
-
|
|
161
|
+
useClickOutside(listRef, handleClose)
|
|
163
162
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
163
|
+
return (
|
|
164
|
+
<InputContainer
|
|
165
|
+
data-testid={testid}
|
|
166
|
+
id={id}
|
|
167
|
+
label={label}
|
|
168
|
+
labelComment={labelComment}
|
|
169
|
+
helper={helper}
|
|
170
|
+
helperBottom={helperBottom}
|
|
171
|
+
validation={validation}
|
|
172
|
+
value={value}
|
|
173
|
+
className={className}
|
|
174
|
+
iconBaseUrl={iconBaseUrl}
|
|
175
|
+
style={containerStyle}
|
|
176
|
+
hasListOpen={isOpen}
|
|
177
|
+
counter={undefined}
|
|
178
|
+
maxLength={undefined}
|
|
179
|
+
>
|
|
180
|
+
<InputAndListContainer
|
|
181
|
+
data-testid={testid}
|
|
182
|
+
className={className}
|
|
183
|
+
hasListOpen={isOpen}
|
|
184
|
+
isParent={!hasContainer}
|
|
185
|
+
ref={el}
|
|
186
|
+
inputAndListContainerStyle={inputAndListContainerStyle}
|
|
187
|
+
>
|
|
188
|
+
<InputWrapper
|
|
189
|
+
data-testid={testid}
|
|
190
|
+
className={className}
|
|
191
|
+
isTextArea={false}
|
|
192
|
+
inputBackground={inputBackground}
|
|
193
|
+
inputVariant={inputVariant}
|
|
194
|
+
validationStatus={validation?.status}
|
|
195
|
+
hasListOpen={isOpen}
|
|
196
|
+
hasContainer
|
|
197
|
+
>
|
|
198
|
+
{(icon || prefix) && (
|
|
199
|
+
<InputLeftContainer
|
|
200
|
+
data-testid={testid}
|
|
201
|
+
className={className}
|
|
202
|
+
disabled={disabled}
|
|
203
|
+
>
|
|
204
|
+
{prefix && (
|
|
205
|
+
<InputPrefix
|
|
206
|
+
data-testid={testid}
|
|
207
|
+
className={className}
|
|
208
|
+
prefix={prefix}
|
|
209
|
+
inputBackground={inputBackground}
|
|
210
|
+
/>
|
|
211
|
+
)}
|
|
213
212
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
213
|
+
{icon && (
|
|
214
|
+
<InputIcon
|
|
215
|
+
data-testid={testid}
|
|
216
|
+
className={className}
|
|
217
|
+
icon={icon}
|
|
218
|
+
iconSize={iconSize}
|
|
219
|
+
validationStatus={validation?.status}
|
|
220
|
+
disabled={disabled}
|
|
221
|
+
inputBackground={inputBackground}
|
|
222
|
+
inputVariant={inputVariant}
|
|
223
|
+
iconBaseUrl={iconBaseUrl}
|
|
224
|
+
/>
|
|
225
|
+
)}
|
|
226
|
+
</InputLeftContainer>
|
|
227
|
+
)}
|
|
229
228
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
229
|
+
<InputTime
|
|
230
|
+
data-testid={
|
|
231
|
+
testid && `${testid}.InputWrapper.InputTime`
|
|
232
|
+
}
|
|
233
|
+
className={className && "InputTime"}
|
|
234
|
+
ref={ref}
|
|
235
|
+
onClick={handleClick}
|
|
236
|
+
onFocus={handleOpen}
|
|
237
|
+
tabIndex={tabIndex}
|
|
238
|
+
value={value}
|
|
239
|
+
onChange={handleChange}
|
|
240
|
+
disabled={disabled}
|
|
241
|
+
$disabled={disabled}
|
|
242
|
+
$validationStatus={validation?.status}
|
|
243
|
+
$inputBackground={inputBackground}
|
|
244
|
+
$inputVariant={inputVariant}
|
|
245
|
+
{...rest}
|
|
246
|
+
/>
|
|
248
247
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
248
|
+
<InputRightContainer
|
|
249
|
+
data-testid={testid}
|
|
250
|
+
className={className}
|
|
251
|
+
disabled={disabled}
|
|
252
|
+
withBorder={false}
|
|
253
|
+
withPadding
|
|
254
|
+
>
|
|
255
|
+
<InputButton
|
|
256
|
+
data-testid={testid}
|
|
257
|
+
className={className}
|
|
258
|
+
icon={iconClock}
|
|
259
|
+
iconSize={iconClockSize}
|
|
260
|
+
onClick={handleClick}
|
|
261
|
+
aria-label="Calendar"
|
|
262
|
+
disabled={disabled}
|
|
263
|
+
inputBackground={inputBackground}
|
|
264
|
+
validationStatus={validation?.status}
|
|
265
|
+
/>
|
|
267
266
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
267
|
+
{validation && (
|
|
268
|
+
<InputValidationIcon
|
|
269
|
+
data-testid={testid}
|
|
270
|
+
className={className}
|
|
271
|
+
validation={validation}
|
|
272
|
+
inputBackground={inputBackground}
|
|
273
|
+
/>
|
|
274
|
+
)}
|
|
275
|
+
</InputRightContainer>
|
|
276
|
+
</InputWrapper>
|
|
278
277
|
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
278
|
+
<ListInput
|
|
279
|
+
data-testid={testid}
|
|
280
|
+
className={className}
|
|
281
|
+
direction={listDirection}
|
|
282
|
+
inputBackground={inputBackground}
|
|
283
|
+
inputVariant={inputVariant}
|
|
284
|
+
validationStatus={validation?.status}
|
|
285
|
+
isOpen={!!(value && isOpen)}
|
|
286
|
+
ref={listRef}
|
|
287
|
+
>
|
|
288
|
+
{times.map((time, i) => (
|
|
289
|
+
<ListInputItem
|
|
290
|
+
key={time}
|
|
291
|
+
data-testid={testid}
|
|
292
|
+
className={className}
|
|
293
|
+
validationStatus={validation?.status}
|
|
294
|
+
inputBackground={inputBackground}
|
|
295
|
+
onClick={() => handleSelectTime(time)}
|
|
296
|
+
isActive={i === cursor}
|
|
297
|
+
isHovered={value === time}
|
|
298
|
+
>
|
|
299
|
+
{time}
|
|
300
|
+
</ListInputItem>
|
|
301
|
+
))}
|
|
302
|
+
</ListInput>
|
|
303
|
+
</InputAndListContainer>
|
|
304
|
+
</InputContainer>
|
|
305
|
+
)
|
|
307
306
|
}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import type { CSSProperties } from "react"
|
|
2
2
|
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
LibComponentBase,
|
|
4
|
+
LibAllColorsAndOverlays,
|
|
5
|
+
LibAllColors,
|
|
6
|
+
LibTooltipPosition,
|
|
7
|
+
LibSpacers,
|
|
8
|
+
LibTooltipTrigger,
|
|
9
|
+
ReactChildren,
|
|
9
10
|
} from "../../types"
|
|
10
11
|
|
|
11
12
|
export interface ILibTooltip extends LibComponentBase<HTMLDivElement> {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
tooltip: string | ReactChildren
|
|
14
|
+
position?: LibTooltipPosition
|
|
15
|
+
hideArrow?: boolean
|
|
16
|
+
trigger?: LibTooltipTrigger
|
|
17
|
+
backgroundColor?: LibAllColorsAndOverlays
|
|
18
|
+
textColor?: LibAllColors
|
|
19
|
+
offset?: LibSpacers
|
|
20
|
+
tooltipStyles?: CSSProperties
|
|
20
21
|
}
|