@julseb-lib/react 1.1.24 → 1.1.26
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/{Image-2WXN57FZ.js → Image-4MLJ7FPA.js} +2 -2
- package/dist/{chunk-AKGT77NY.js → chunk-PXJ4JXEH.js} +308 -78
- package/dist/chunk-PXJ4JXEH.js.map +1 -0
- package/dist/{global-DDESDwEf.d.cts → global-CXiIaXyy.d.cts} +181 -47
- package/dist/{global-DDESDwEf.d.ts → global-CXiIaXyy.d.ts} +181 -47
- package/dist/index.cjs +411 -157
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -6
- package/dist/index.d.ts +13 -6
- package/dist/index.js +92 -82
- package/dist/index.js.map +1 -1
- package/dist/types/components-items-props.d.cts +1 -1
- package/dist/types/components-items-props.d.ts +1 -1
- package/dist/types/components-props.d.cts +366 -3
- package/dist/types/components-props.d.ts +366 -3
- package/dist/types/global.cjs.map +1 -1
- package/dist/types/global.d.cts +1 -1
- package/dist/types/global.d.ts +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/tailwind.cjs.map +1 -1
- package/dist/types/tailwind.d.cts +31 -1
- package/dist/types/tailwind.d.ts +31 -1
- package/package.json +2 -1
- package/dist/chunk-AKGT77NY.js.map +0 -1
- /package/dist/{Image-2WXN57FZ.js.map → Image-4MLJ7FPA.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementType, CSSProperties, ReactElement as ReactElement$1, ImgHTMLAttributes, ButtonHTMLAttributes, RefObject, InputHTMLAttributes, MouseEventHandler, SelectHTMLAttributes, TextareaHTMLAttributes, Ref, FormHTMLAttributes, DragEvent, MeterHTMLAttributes, ReactNode, FormEvent } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { I as LibComponentBase, b as LibAllColors, c as LibColorsHover, af as CssTextAlign, h as LibFontSizes, i as LibFontWeights, x as LibTextTagDisplay, y as LibTextTagNoDisplay, k as LibSpacers, C as LibMinHeight, aq as LibMainSize, ar as LibAsideSize, ah as CssJustifyItems, ai as CssAlignItems, aj as CssJustifyContent, ak as CssAlignContent, al as CssFlexDirection, am as CssFlexWrap, aa as ReactChildren, D as LibKeySize, a as LibColorsShort, at as ClassNames, E as LibMaxWidth, l as LibRadiuses, F as LibSkeletonAnimation, G as LibTooltipPosition, H as LibTooltipTrigger, f as LibAllColorsAndOverlays, au as CSSProperties$1, ae as Classes, an as CssObjectFit, s as LibLoaderVariant, u as LibButtonVariantExtended, v as LibButtonSize, ab as ReactElement$2, t as LibButtonVariant, a9 as LibTooltipPositionOptions, M as LibTagVariant, q as LibInputVariant, w as LibInputBackground, P as LibInputListDirection, o as LibInputValidation, O as LibCheckInputVariant, a7 as LibCountry, ad as DispatchState, as as CountryCode, a4 as LibValueInputPin, j as LibShadows, J as LibAccordionVariant, K as LibAccordionIcon, N as LibToastStatus, Q as LibTabsJustify, R as LibTabsVariant, V as LibSlideshowButtonsSize, T as LibSlideshowPaginationPosition, S as LibSlideshowPagination, e as LibOverlays, W as LibTableVariant, ag as CssVerticalAlign, X as LibMdEditorViews, _ as LibDrawerPosition, $ as LibNavBurgerPosition, a0 as LibNavMobileVariant, a1 as LibHeaderPosition, a3 as LibFooterLinksSeparator, a2 as LibFooterDirection } from '../global-CXiIaXyy.cjs';
|
|
3
3
|
import { LibButtonGroupButtonItem, LibListGroupItem, LibAccordionItem, LibDropdownItem, LibDragListItem, LibTabItem, LibMdEditorOptions } from './components-items-props.cjs';
|
|
4
4
|
import { IFuseOptions } from 'fuse.js';
|
|
5
5
|
import { ExtraProps, HooksOptions, Options, Components, AllowElement, UrlTransform } from 'react-markdown';
|
|
@@ -9,19 +9,154 @@ import 'csstype';
|
|
|
9
9
|
|
|
10
10
|
interface ILibTextBase extends LibComponentBase<HTMLHeadingElement & HTMLParagraphElement & HTMLQuoteElement & HTMLDListElement & HTMLOListElement & HTMLUListElement> {
|
|
11
11
|
element?: ElementType;
|
|
12
|
+
/**
|
|
13
|
+
* All the colors in the lib
|
|
14
|
+
* Primary 50 — #eff6ff
|
|
15
|
+
* Primary 100 — #dbeafe
|
|
16
|
+
* Primary 200 — #bfdbfe
|
|
17
|
+
* Primary 300 — #93c5fd
|
|
18
|
+
* Primary 400 — #60a5fa
|
|
19
|
+
* Primary 500 — #3b82f6
|
|
20
|
+
* Primary 600 — #2563eb
|
|
21
|
+
* Primary 700 — #1d4ed8
|
|
22
|
+
* Primary 800 — #1e40af
|
|
23
|
+
* Primary 900 — #1e3a8a
|
|
24
|
+
* Primary 950 — #172554
|
|
25
|
+
* Secondary 50 — #ecfeff
|
|
26
|
+
* Secondary 100 — #cffafe
|
|
27
|
+
* Secondary 200 — #a5f3fc
|
|
28
|
+
* Secondary 300 — #67e8f9
|
|
29
|
+
* Secondary 400 — #22d3ee
|
|
30
|
+
* Secondary 500 — #06b6d4
|
|
31
|
+
* Secondary 600 — #0891b2
|
|
32
|
+
* Secondary 700 — #0e7490
|
|
33
|
+
* Secondary 800 — #155e75
|
|
34
|
+
* Secondary 900 — #164e63
|
|
35
|
+
* Secondary 950 — #083344
|
|
36
|
+
* Success 50 — #f0fdf4
|
|
37
|
+
* Success 100 — #dcfce7
|
|
38
|
+
* Success 200 — #bbf7d0
|
|
39
|
+
* Success 300 — #86efac
|
|
40
|
+
* Success 400 — #4ade80
|
|
41
|
+
* Success 500 — #22c55e
|
|
42
|
+
* Success 600 — #16a34a
|
|
43
|
+
* Success 700 — #15803d
|
|
44
|
+
* Success 800 — #166534
|
|
45
|
+
* Success 900 — #14532d
|
|
46
|
+
* Success 950 — #052e16
|
|
47
|
+
* Danger 50 — #fef2f2
|
|
48
|
+
* Danger 100 — #fee2e2
|
|
49
|
+
* Danger 200 — #fecaca
|
|
50
|
+
* Danger 300 — #fca5a5
|
|
51
|
+
* Danger 400 — #f87171
|
|
52
|
+
* Danger 500 — #ef4444
|
|
53
|
+
* Danger 600 — #dc2626
|
|
54
|
+
* Danger 700 — #b91c1c
|
|
55
|
+
* Danger 800 — #991b1b
|
|
56
|
+
* Danger 900 — #7f1d1d
|
|
57
|
+
* Danger 950 — #450a0a
|
|
58
|
+
* Warning 50 — #fffbeb
|
|
59
|
+
* Warning 100 — #fef3c7
|
|
60
|
+
* Warning 200 — #fde68a
|
|
61
|
+
* Warning 300 — #fcd34d
|
|
62
|
+
* Warning 400 — #fbbf24
|
|
63
|
+
* Warning 500 — #f59e42
|
|
64
|
+
* Warning 600 — #d97706
|
|
65
|
+
* Warning 700 — #b45309
|
|
66
|
+
* Warning 800 — #92400e
|
|
67
|
+
* Warning 900 — #78350f
|
|
68
|
+
* Warning 950 — #451a03
|
|
69
|
+
* Gray 50 — #f9fafb
|
|
70
|
+
* Gray 100 — #f3f4f6
|
|
71
|
+
* Gray 200 — #e5e7eb
|
|
72
|
+
* Gray 300 — #d1d5db
|
|
73
|
+
* Gray 400 — #9ca3af
|
|
74
|
+
* Gray 500 — #6b7280
|
|
75
|
+
* Gray 600 — #4b5563
|
|
76
|
+
* Gray 700 — #374151
|
|
77
|
+
* Gray 800 — #1f2937
|
|
78
|
+
* Gray 900 — #111827
|
|
79
|
+
* Gray 950 — #030712
|
|
80
|
+
* Black — #000000
|
|
81
|
+
* White — #ffffff
|
|
82
|
+
*/
|
|
12
83
|
color?: LibAllColors;
|
|
84
|
+
/**
|
|
85
|
+
* Colors used when an item is hovered
|
|
86
|
+
* Primary: Default Primary 500 — #3b82f6; Hover: Primary 300 — #93c5fd; Active: Primary 600 — #2563eb
|
|
87
|
+
* Secondary: Default: Secondary 500 — #06b6d4; Hover: Secondary 300 — #67e8f9; Active: Secondary 600 — #0891b2
|
|
88
|
+
* Success: Default: Success 500 — #22c55e; Hover: Success 300 — #86efac; Active: Success 600 — #16a34a
|
|
89
|
+
* Danger: Default: Danger 500 — #ef4444; Hover: Danger 300 — #fca5a5; Active: Danger 600 — #dc2626
|
|
90
|
+
* Warning: Default: Warning 500 — #f59e42; Hover: Warning 300 — #fcd34d; Active: Warning 600 — #d97706
|
|
91
|
+
* Gray: Default: Gray 500 — #6b7280; Hover: Gray 300 — #d1d5db; Active: Gray 600 — #4b5563
|
|
92
|
+
* White: Default: White - #ffffff; Hover: Gray 300 - #d1d5db; Active: Gray 100 - #f3f4f6
|
|
93
|
+
*/
|
|
13
94
|
linkColor?: LibColorsHover;
|
|
14
95
|
textAlign?: CssTextAlign;
|
|
96
|
+
/**
|
|
97
|
+
* Tailwind & Lib Font Sizes
|
|
98
|
+
* xs - 12px (0.75rem)
|
|
99
|
+
* sm - 14px (0.875rem)
|
|
100
|
+
* base - 16px (1rem)
|
|
101
|
+
* lg - 18px (1.125rem)
|
|
102
|
+
* xl - 20px (1.25rem)
|
|
103
|
+
* 2xl - 24px (1.5rem)
|
|
104
|
+
* 3xl - 30px (1.875rem)
|
|
105
|
+
* 4xl - 36px (2.25rem)
|
|
106
|
+
* 5xl - 48px (3rem)
|
|
107
|
+
* 6xl - 60px (3.75rem)
|
|
108
|
+
* 7xl - 72px (4.5rem)
|
|
109
|
+
* 8xl - 96px (6rem)
|
|
110
|
+
* 9xl - 128px (8rem)
|
|
111
|
+
* display-h1 - 80px (5rem)
|
|
112
|
+
* display-h2 - 64px (4rem)
|
|
113
|
+
* display-h3 - 56px (3.5rem)
|
|
114
|
+
* display-h4 - 48px (3rem)
|
|
115
|
+
* display-h5 - 40px (2.5rem)
|
|
116
|
+
* h1 - 40px (2.5rem)
|
|
117
|
+
* h2 - 32px (2rem)
|
|
118
|
+
* h3 - 28.8px (1.8rem)
|
|
119
|
+
* h4 - 24px (1.5rem)
|
|
120
|
+
* h5 - 20.8px (1.3rem)
|
|
121
|
+
* h6 - 17.6px (1.1rem)
|
|
122
|
+
* body - 16px (1rem)
|
|
123
|
+
* small - 14px (0.875rem)
|
|
124
|
+
*/
|
|
125
|
+
fontSize?: LibFontSizes;
|
|
126
|
+
/**
|
|
127
|
+
* Font weights for Lato
|
|
128
|
+
* Thin - 100
|
|
129
|
+
* Light - 300
|
|
130
|
+
* Normal - 400
|
|
131
|
+
* Bold - 700
|
|
132
|
+
* Black - 900
|
|
133
|
+
*/
|
|
134
|
+
fontWeight?: LibFontWeights;
|
|
15
135
|
}
|
|
16
136
|
interface TextDisplay extends ILibTextBase {
|
|
17
137
|
tag?: LibTextTagDisplay;
|
|
18
138
|
display?: boolean;
|
|
139
|
+
dtFontWeight?: never;
|
|
19
140
|
}
|
|
20
141
|
interface TextNoDisplay extends ILibTextBase {
|
|
21
|
-
tag?: LibTextTagNoDisplay
|
|
142
|
+
tag?: Exclude<LibTextTagNoDisplay, "dl">;
|
|
22
143
|
display?: never;
|
|
144
|
+
dtFontWeight?: never;
|
|
23
145
|
}
|
|
24
|
-
|
|
146
|
+
interface TextDescriptionList extends ILibTextBase {
|
|
147
|
+
tag?: Extract<LibTextTagNoDisplay, "dl">;
|
|
148
|
+
display?: never;
|
|
149
|
+
/**
|
|
150
|
+
* Font weights for Lato
|
|
151
|
+
* Thin - 100
|
|
152
|
+
* Light - 300
|
|
153
|
+
* Normal - 400
|
|
154
|
+
* Bold - 700
|
|
155
|
+
* Black - 900
|
|
156
|
+
*/
|
|
157
|
+
dtFontWeight?: LibFontWeights;
|
|
158
|
+
}
|
|
159
|
+
type ILibText = TextDisplay | TextNoDisplay | TextDescriptionList;
|
|
25
160
|
|
|
26
161
|
interface ILibWrapper extends LibComponentBase<HTMLDivElement> {
|
|
27
162
|
gap?: LibSpacers;
|
|
@@ -30,7 +165,90 @@ interface ILibWrapper extends LibComponentBase<HTMLDivElement> {
|
|
|
30
165
|
}
|
|
31
166
|
|
|
32
167
|
interface ILibMain extends LibComponentBase<HTMLDivElement> {
|
|
168
|
+
/**
|
|
169
|
+
* The space between items.
|
|
170
|
+
*
|
|
171
|
+
* Possible values:
|
|
172
|
+
* - 2xs: 4px
|
|
173
|
+
* - xs: 8px
|
|
174
|
+
* - sm: 12px
|
|
175
|
+
* - md: 16px
|
|
176
|
+
* - lg: 24px
|
|
177
|
+
* - xl: 32px
|
|
178
|
+
* - 2xl: 48px
|
|
179
|
+
*/
|
|
33
180
|
gap?: LibSpacers;
|
|
181
|
+
/**
|
|
182
|
+
* All the colors in the lib
|
|
183
|
+
* Primary 50 — #eff6ff
|
|
184
|
+
* Primary 100 — #dbeafe
|
|
185
|
+
* Primary 200 — #bfdbfe
|
|
186
|
+
* Primary 300 — #93c5fd
|
|
187
|
+
* Primary 400 — #60a5fa
|
|
188
|
+
* Primary 500 — #3b82f6
|
|
189
|
+
* Primary 600 — #2563eb
|
|
190
|
+
* Primary 700 — #1d4ed8
|
|
191
|
+
* Primary 800 — #1e40af
|
|
192
|
+
* Primary 900 — #1e3a8a
|
|
193
|
+
* Primary 950 — #172554
|
|
194
|
+
* Secondary 50 — #ecfeff
|
|
195
|
+
* Secondary 100 — #cffafe
|
|
196
|
+
* Secondary 200 — #a5f3fc
|
|
197
|
+
* Secondary 300 — #67e8f9
|
|
198
|
+
* Secondary 400 — #22d3ee
|
|
199
|
+
* Secondary 500 — #06b6d4
|
|
200
|
+
* Secondary 600 — #0891b2
|
|
201
|
+
* Secondary 700 — #0e7490
|
|
202
|
+
* Secondary 800 — #155e75
|
|
203
|
+
* Secondary 900 — #164e63
|
|
204
|
+
* Secondary 950 — #083344
|
|
205
|
+
* Success 50 — #f0fdf4
|
|
206
|
+
* Success 100 — #dcfce7
|
|
207
|
+
* Success 200 — #bbf7d0
|
|
208
|
+
* Success 300 — #86efac
|
|
209
|
+
* Success 400 — #4ade80
|
|
210
|
+
* Success 500 — #22c55e
|
|
211
|
+
* Success 600 — #16a34a
|
|
212
|
+
* Success 700 — #15803d
|
|
213
|
+
* Success 800 — #166534
|
|
214
|
+
* Success 900 — #14532d
|
|
215
|
+
* Success 950 — #052e16
|
|
216
|
+
* Danger 50 — #fef2f2
|
|
217
|
+
* Danger 100 — #fee2e2
|
|
218
|
+
* Danger 200 — #fecaca
|
|
219
|
+
* Danger 300 — #fca5a5
|
|
220
|
+
* Danger 400 — #f87171
|
|
221
|
+
* Danger 500 — #ef4444
|
|
222
|
+
* Danger 600 — #dc2626
|
|
223
|
+
* Danger 700 — #b91c1c
|
|
224
|
+
* Danger 800 — #991b1b
|
|
225
|
+
* Danger 900 — #7f1d1d
|
|
226
|
+
* Danger 950 — #450a0a
|
|
227
|
+
* Warning 50 — #fffbeb
|
|
228
|
+
* Warning 100 — #fef3c7
|
|
229
|
+
* Warning 200 — #fde68a
|
|
230
|
+
* Warning 300 — #fcd34d
|
|
231
|
+
* Warning 400 — #fbbf24
|
|
232
|
+
* Warning 500 — #f59e42
|
|
233
|
+
* Warning 600 — #d97706
|
|
234
|
+
* Warning 700 — #b45309
|
|
235
|
+
* Warning 800 — #92400e
|
|
236
|
+
* Warning 900 — #78350f
|
|
237
|
+
* Warning 950 — #451a03
|
|
238
|
+
* Gray 50 — #f9fafb
|
|
239
|
+
* Gray 100 — #f3f4f6
|
|
240
|
+
* Gray 200 — #e5e7eb
|
|
241
|
+
* Gray 300 — #d1d5db
|
|
242
|
+
* Gray 400 — #9ca3af
|
|
243
|
+
* Gray 500 — #6b7280
|
|
244
|
+
* Gray 600 — #4b5563
|
|
245
|
+
* Gray 700 — #374151
|
|
246
|
+
* Gray 800 — #1f2937
|
|
247
|
+
* Gray 900 — #111827
|
|
248
|
+
* Gray 950 — #030712
|
|
249
|
+
* Black — #000000
|
|
250
|
+
* White — #ffffff
|
|
251
|
+
*/
|
|
34
252
|
backgroundColor?: LibAllColors;
|
|
35
253
|
size?: LibMainSize;
|
|
36
254
|
}
|
|
@@ -38,6 +256,18 @@ interface ILibMain extends LibComponentBase<HTMLDivElement> {
|
|
|
38
256
|
interface ILibAside extends LibComponentBase<HTMLDivElement> {
|
|
39
257
|
size?: LibAsideSize;
|
|
40
258
|
backgroundColor?: LibAllColors;
|
|
259
|
+
/**
|
|
260
|
+
* The space between items.
|
|
261
|
+
*
|
|
262
|
+
* Possible values:
|
|
263
|
+
* - 2xs: 4px
|
|
264
|
+
* - xs: 8px
|
|
265
|
+
* - sm: 12px
|
|
266
|
+
* - md: 16px
|
|
267
|
+
* - lg: 24px
|
|
268
|
+
* - xl: 32px
|
|
269
|
+
* - 2xl: 48px
|
|
270
|
+
*/
|
|
41
271
|
gap?: LibSpacers;
|
|
42
272
|
}
|
|
43
273
|
|
|
@@ -48,8 +278,44 @@ interface ILibSection extends LibComponentBase<HTMLDivElement> {
|
|
|
48
278
|
interface ILibGrid extends LibComponentBase<HTMLDivElement> {
|
|
49
279
|
inline?: boolean;
|
|
50
280
|
cols?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
281
|
+
/**
|
|
282
|
+
* The space between items.
|
|
283
|
+
*
|
|
284
|
+
* Possible values:
|
|
285
|
+
* - 2xs: 4px
|
|
286
|
+
* - xs: 8px
|
|
287
|
+
* - sm: 12px
|
|
288
|
+
* - md: 16px
|
|
289
|
+
* - lg: 24px
|
|
290
|
+
* - xl: 32px
|
|
291
|
+
* - 2xl: 48px
|
|
292
|
+
*/
|
|
51
293
|
gap?: LibSpacers;
|
|
294
|
+
/**
|
|
295
|
+
* The space between column items.
|
|
296
|
+
*
|
|
297
|
+
* Possible values:
|
|
298
|
+
* - 2xs: 4px
|
|
299
|
+
* - xs: 8px
|
|
300
|
+
* - sm: 12px
|
|
301
|
+
* - md: 16px
|
|
302
|
+
* - lg: 24px
|
|
303
|
+
* - xl: 32px
|
|
304
|
+
* - 2xl: 48px
|
|
305
|
+
*/
|
|
52
306
|
colGap?: LibSpacers;
|
|
307
|
+
/**
|
|
308
|
+
* The space between row items.
|
|
309
|
+
*
|
|
310
|
+
* Possible values:
|
|
311
|
+
* - 2xs: 4px
|
|
312
|
+
* - xs: 8px
|
|
313
|
+
* - sm: 12px
|
|
314
|
+
* - md: 16px
|
|
315
|
+
* - lg: 24px
|
|
316
|
+
* - xl: 32px
|
|
317
|
+
* - 2xl: 48px
|
|
318
|
+
*/
|
|
53
319
|
rowGap?: LibSpacers;
|
|
54
320
|
justifyItems?: CssJustifyItems;
|
|
55
321
|
alignItems?: CssAlignItems;
|
|
@@ -58,6 +324,7 @@ interface ILibGrid extends LibComponentBase<HTMLDivElement> {
|
|
|
58
324
|
}
|
|
59
325
|
|
|
60
326
|
interface ILibFlexbox extends LibComponentBase<HTMLDivElement> {
|
|
327
|
+
/** Set display as `inline-flex` */
|
|
61
328
|
inline?: boolean;
|
|
62
329
|
flexDirection?: CssFlexDirection;
|
|
63
330
|
flexWrap?: CssFlexWrap;
|
|
@@ -65,8 +332,44 @@ interface ILibFlexbox extends LibComponentBase<HTMLDivElement> {
|
|
|
65
332
|
alignItems?: CssAlignItems;
|
|
66
333
|
justifyItems?: CssJustifyItems;
|
|
67
334
|
alignContent?: CssAlignContent;
|
|
335
|
+
/**
|
|
336
|
+
* The space between flex items.
|
|
337
|
+
*
|
|
338
|
+
* Possible values:
|
|
339
|
+
* - 2xs: 4px
|
|
340
|
+
* - xs: 8px
|
|
341
|
+
* - sm: 12px
|
|
342
|
+
* - md: 16px
|
|
343
|
+
* - lg: 24px
|
|
344
|
+
* - xl: 32px
|
|
345
|
+
* - 2xl: 48px
|
|
346
|
+
*/
|
|
68
347
|
gap?: LibSpacers;
|
|
348
|
+
/**
|
|
349
|
+
* The column space between flex items.
|
|
350
|
+
*
|
|
351
|
+
* Possible values:
|
|
352
|
+
* - 2xs: 4px
|
|
353
|
+
* - xs: 8px
|
|
354
|
+
* - sm: 12px
|
|
355
|
+
* - md: 16px
|
|
356
|
+
* - lg: 24px
|
|
357
|
+
* - xl: 32px
|
|
358
|
+
* - 2xl: 48px
|
|
359
|
+
*/
|
|
69
360
|
colGap?: LibSpacers;
|
|
361
|
+
/**
|
|
362
|
+
* The row space between flex items.
|
|
363
|
+
*
|
|
364
|
+
* Possible values:
|
|
365
|
+
* - 2xs: 4px
|
|
366
|
+
* - xs: 8px
|
|
367
|
+
* - sm: 12px
|
|
368
|
+
* - md: 16px
|
|
369
|
+
* - lg: 24px
|
|
370
|
+
* - xl: 32px
|
|
371
|
+
* - 2xl: 48px
|
|
372
|
+
*/
|
|
70
373
|
rowGap?: LibSpacers;
|
|
71
374
|
}
|
|
72
375
|
|
|
@@ -139,8 +442,44 @@ interface ILibLazyImage extends ILibImage {
|
|
|
139
442
|
|
|
140
443
|
interface ILibMasonry extends LibComponentBase<HTMLDivElement> {
|
|
141
444
|
col?: number;
|
|
445
|
+
/**
|
|
446
|
+
* The space between items.
|
|
447
|
+
*
|
|
448
|
+
* Possible values:
|
|
449
|
+
* - 2xs: 4px
|
|
450
|
+
* - xs: 8px
|
|
451
|
+
* - sm: 12px
|
|
452
|
+
* - md: 16px
|
|
453
|
+
* - lg: 24px
|
|
454
|
+
* - xl: 32px
|
|
455
|
+
* - 2xl: 48px
|
|
456
|
+
*/
|
|
142
457
|
gap?: LibSpacers;
|
|
458
|
+
/**
|
|
459
|
+
* The space between row items.
|
|
460
|
+
*
|
|
461
|
+
* Possible values:
|
|
462
|
+
* - 2xs: 4px
|
|
463
|
+
* - xs: 8px
|
|
464
|
+
* - sm: 12px
|
|
465
|
+
* - md: 16px
|
|
466
|
+
* - lg: 24px
|
|
467
|
+
* - xl: 32px
|
|
468
|
+
* - 2xl: 48px
|
|
469
|
+
*/
|
|
143
470
|
rowGap?: LibSpacers;
|
|
471
|
+
/**
|
|
472
|
+
* The space between col items.
|
|
473
|
+
*
|
|
474
|
+
* Possible values:
|
|
475
|
+
* - 2xs: 4px
|
|
476
|
+
* - xs: 8px
|
|
477
|
+
* - sm: 12px
|
|
478
|
+
* - md: 16px
|
|
479
|
+
* - lg: 24px
|
|
480
|
+
* - xl: 32px
|
|
481
|
+
* - 2xl: 48px
|
|
482
|
+
*/
|
|
144
483
|
colGap?: LibSpacers;
|
|
145
484
|
}
|
|
146
485
|
|
|
@@ -507,6 +846,18 @@ type ILibRatingBase = Omit<LibComponentBase<HTMLDivElement>, "element"> & Omit<I
|
|
|
507
846
|
};
|
|
508
847
|
iconsSize?: number;
|
|
509
848
|
accentColor?: LibColorsHover;
|
|
849
|
+
/**
|
|
850
|
+
* The space between items.
|
|
851
|
+
*
|
|
852
|
+
* Possible values:
|
|
853
|
+
* - 2xs: 4px
|
|
854
|
+
* - xs: 8px
|
|
855
|
+
* - sm: 12px
|
|
856
|
+
* - md: 16px
|
|
857
|
+
* - lg: 24px
|
|
858
|
+
* - xl: 32px
|
|
859
|
+
* - 2xl: 48px
|
|
860
|
+
*/
|
|
510
861
|
gap?: LibSpacers;
|
|
511
862
|
children?: never;
|
|
512
863
|
};
|
|
@@ -984,6 +1335,18 @@ interface ILibDrawer extends LibComponentBase<HTMLDivElement> {
|
|
|
984
1335
|
backgroundColor?: LibAllColors;
|
|
985
1336
|
contentColor?: LibAllColors;
|
|
986
1337
|
linksColor?: LibColorsHover;
|
|
1338
|
+
/**
|
|
1339
|
+
* The space between items.
|
|
1340
|
+
*
|
|
1341
|
+
* Possible values:
|
|
1342
|
+
* - 2xs: 4px
|
|
1343
|
+
* - xs: 8px
|
|
1344
|
+
* - sm: 12px
|
|
1345
|
+
* - md: 16px
|
|
1346
|
+
* - lg: 24px
|
|
1347
|
+
* - xl: 32px
|
|
1348
|
+
* - 2xl: 48px
|
|
1349
|
+
*/
|
|
987
1350
|
gap?: LibSpacers;
|
|
988
1351
|
maxWidth?: string | number;
|
|
989
1352
|
overlayColor?: LibAllColorsAndOverlays;
|