@codeandfunction/callaloo 2.13.0 → 2.15.0
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/types.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export declare enum Align {
|
|
|
4
4
|
Right = "right"
|
|
5
5
|
}
|
|
6
6
|
export interface BannerProps {
|
|
7
|
+
/** The action label text to be displayed. */
|
|
8
|
+
actionLabel?: string;
|
|
7
9
|
/** Set the horizontal alignment of content. The property can be one of `CLAlign`, e.g. `CLAlign.Left` */
|
|
8
10
|
align?: Align;
|
|
9
11
|
/** Sets the aria-label on the banner if the `onClick` property has been set. It should be used when the `onClick` property has been set. */
|
|
@@ -20,6 +22,8 @@ export interface BannerProps {
|
|
|
20
22
|
height?: string;
|
|
21
23
|
/** The text to be displayed as the message. */
|
|
22
24
|
message?: string;
|
|
25
|
+
/** A callback function to handle click events */
|
|
26
|
+
onAction?: GenericFunction;
|
|
23
27
|
/** A callback function to handle click events. It should be used when in conjunction with the `ariaLabel` property. */
|
|
24
28
|
onClick?: GenericFunction;
|
|
25
29
|
/** A callback function to handle when the banner is dismissed. */
|
|
@@ -32,8 +36,8 @@ export interface BannerProps {
|
|
|
32
36
|
title?: string;
|
|
33
37
|
/** Sets the width of the Banner, it's default value is `100%`. */
|
|
34
38
|
width?: string;
|
|
35
|
-
/** Sets the color variant. The property can be
|
|
36
|
-
variant?: ColorVariants;
|
|
39
|
+
/** Sets the color variant. The property can be one of `ColorVariants.Ghost | ColorVariants.Outline | ColorVariants.Soft | ColorVariants.Solid`, e.g `CLColorVariants.Soft`. */
|
|
40
|
+
variant?: ColorVariants.Ghost | ColorVariants.Outline | ColorVariants.Soft | ColorVariants.Solid;
|
|
37
41
|
}
|
|
38
42
|
export type BlockTextHtmlTags = 'blockquote' | 'dd' | 'div' | 'dl' | 'dt' | 'figcaption' | 'figure' | 'hr' | 'li' | 'menu' | 'ol' | 'p' | 'pre' | 'ul';
|
|
39
43
|
export declare enum BorderRadius {
|
|
@@ -211,6 +215,7 @@ export declare enum IconNames {
|
|
|
211
215
|
Auth2fa = "tabler:auth-2fa",
|
|
212
216
|
Backspace = "tabler:backspace",
|
|
213
217
|
Bell = "tabler:bell",
|
|
218
|
+
Bike = "tabler:bike",
|
|
214
219
|
Book = "tabler:book",
|
|
215
220
|
Bookmark = "tabler:bookmark",
|
|
216
221
|
BorderCorners = "tabler:border-corners",
|
|
@@ -254,10 +259,17 @@ export declare enum IconNames {
|
|
|
254
259
|
CarouselHorizontal = "tabler:carousel-horizontal",
|
|
255
260
|
Check = "tabler:check",
|
|
256
261
|
ChevronLeft = "tabler:chevron-left",
|
|
262
|
+
ChevronsLeft = "tabler:chevrons-left",
|
|
257
263
|
ChevronRight = "tabler:chevron-right",
|
|
264
|
+
ChevronsRight = "tabler:chevrons-right",
|
|
258
265
|
ChevronUp = "tabler:chevron-up",
|
|
266
|
+
ChevronsUp = "tabler:chevrons-up",
|
|
259
267
|
ChevronDown = "tabler:chevron-down",
|
|
268
|
+
ChevronsDown = "tabler:chevrons-down",
|
|
269
|
+
Circle = "tabler:circle",
|
|
260
270
|
CircleCheck = "tabler:circle-check",
|
|
271
|
+
CircleDot = "tabler:circle-dot",
|
|
272
|
+
CircleMinus = "tabler:circle-minus",
|
|
261
273
|
CircleNumber0 = "tabler:circle-number-0",
|
|
262
274
|
CircleNumber1 = "tabler:circle-number-1",
|
|
263
275
|
CircleNumber2 = "tabler:circle-number-2",
|
|
@@ -268,6 +280,7 @@ export declare enum IconNames {
|
|
|
268
280
|
CircleNumber7 = "tabler:circle-number-7",
|
|
269
281
|
CircleNumber8 = "tabler:circle-number-8",
|
|
270
282
|
CircleNumber9 = "tabler:circle-number-9",
|
|
283
|
+
CirclePlus = "tabler:circle-plus",
|
|
271
284
|
Click = "tabler:click",
|
|
272
285
|
ClipboardCopy = "tabler:clipboard-copy",
|
|
273
286
|
ClipboardText = "tabler:clipboard-text",
|
|
@@ -278,6 +291,7 @@ export declare enum IconNames {
|
|
|
278
291
|
CloudDataConnection = "tabler:cloud-data-connection",
|
|
279
292
|
CloudUpload = "tabler:cloud-upload",
|
|
280
293
|
Code = "tabler:code",
|
|
294
|
+
Coins = "tabler:coins",
|
|
281
295
|
Columns1 = "tabler:columns-1",
|
|
282
296
|
Columns2 = "tabler:columns-2",
|
|
283
297
|
Columns3 = "tabler:columns-3",
|
|
@@ -336,6 +350,7 @@ export declare enum IconNames {
|
|
|
336
350
|
InfoSmall = "tabler:info-small",
|
|
337
351
|
GripHorizontal = "tabler:grip-horizontal",
|
|
338
352
|
GripVertical = "tabler:grip-vertical",
|
|
353
|
+
Key = "tabler:key",
|
|
339
354
|
Keyboard = "tabler:keyboard",
|
|
340
355
|
Label = "tabler:label",
|
|
341
356
|
Layers = "tabler:layers-subtract",
|
|
@@ -352,6 +367,7 @@ export declare enum IconNames {
|
|
|
352
367
|
ListNumbers = "tabler:list-numbers",
|
|
353
368
|
ListTree = "tabler:list-tree",
|
|
354
369
|
LoadBalancer = "tabler:load-balancer",
|
|
370
|
+
Lock = "tabler:lock",
|
|
355
371
|
Location = "tabler:location",
|
|
356
372
|
LogIn = "tabler:login",
|
|
357
373
|
LogOut = "tabler:logout",
|
|
@@ -410,6 +426,7 @@ export declare enum IconNames {
|
|
|
410
426
|
RowInsertBottom = "tabler:row-insert-bottom",
|
|
411
427
|
RowRemove = "tabler:row-remove",
|
|
412
428
|
Rss = "tabler:rss",
|
|
429
|
+
Run = "tabler:run",
|
|
413
430
|
Scoreboard = "tabler:scoreboard",
|
|
414
431
|
Seo = "tabler:seo",
|
|
415
432
|
ShoppingCart = "tabler:shopping-cart",
|
|
@@ -441,6 +458,7 @@ export declare enum IconNames {
|
|
|
441
458
|
TextSize = "tabler:text-size",
|
|
442
459
|
Train = "tabler:train",
|
|
443
460
|
TrashCan = "tabler:trash",
|
|
461
|
+
Trekking = "tabler:trekking",
|
|
444
462
|
Typography = "tabler:typography",
|
|
445
463
|
Upload = "tabler:upload",
|
|
446
464
|
Urgent = "tabler:urgent",
|
|
@@ -453,6 +471,7 @@ export declare enum IconNames {
|
|
|
453
471
|
UsersPlus = "tabler:users-plus",
|
|
454
472
|
UserSquareRounded = "tabler:user-square-rounded",
|
|
455
473
|
Video = "tabler:video",
|
|
474
|
+
Walk = "tabler:walk",
|
|
456
475
|
WindowMaximize = "tabler:window-maximize",
|
|
457
476
|
WindowMinimize = "tabler:window-minimize",
|
|
458
477
|
WorldWww = "tabler:world-www"
|