@solibo/solibo-ui 0.5.11 → 0.5.13
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/assets/index.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/components/_card/index.cjs +1 -1
- package/dist/components/_card/index.cjs.map +1 -1
- package/dist/components/_card/index.js +36 -37
- package/dist/components/_card/index.js.map +1 -1
- package/dist/components/_collapsible/index.cjs +1 -1
- package/dist/components/_collapsible/index.js +1 -1
- package/dist/components/_dropdown/index.cjs +1 -1
- package/dist/components/_dropdown/index.js +2 -2
- package/dist/components/_menu/index.cjs +1 -1
- package/dist/components/_menu/index.cjs.map +1 -1
- package/dist/components/_menu/index.js +25 -25
- package/dist/components/_menu/index.js.map +1 -1
- package/dist/components/_sortable/index.cjs +1 -1
- package/dist/components/_sortable/index.cjs.map +1 -1
- package/dist/components/_sortable/index.js +175 -50
- package/dist/components/_sortable/index.js.map +1 -1
- package/dist/components/button/index.cjs +1 -1
- package/dist/components/button/index.cjs.map +1 -1
- package/dist/components/button/index.js +4 -4
- package/dist/components/button/index.js.map +1 -1
- package/dist/components/checkbox/index.cjs +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/chip/index.cjs +2 -0
- package/dist/components/chip/index.cjs.map +1 -0
- package/dist/components/chip/index.js +19 -0
- package/dist/components/chip/index.js.map +1 -0
- package/dist/components/controls/index.cjs +1 -1
- package/dist/components/controls/index.cjs.map +1 -1
- package/dist/components/controls/index.js +42 -21
- package/dist/components/controls/index.js.map +1 -1
- package/dist/components/icon/index.cjs +1 -1
- package/dist/components/icon/index.js +1 -1
- package/dist/components/input/index.cjs +1 -1
- package/dist/components/input/index.js +1 -1
- package/dist/components/list/index.cjs +1 -1
- package/dist/components/list/index.cjs.map +1 -1
- package/dist/components/list/index.js +40 -20
- package/dist/components/list/index.js.map +1 -1
- package/dist/components/message/index.cjs +1 -1
- package/dist/components/message/index.cjs.map +1 -1
- package/dist/components/message/index.js +13 -12
- package/dist/components/message/index.js.map +1 -1
- package/dist/components/nav/index.cjs +1 -1
- package/dist/components/nav/index.js +1 -1
- package/dist/components/select/index.cjs +1 -1
- package/dist/components/select/index.js +2 -2
- package/dist/{icons-06oXnjRF.js → icons-D6XjzxSX.js} +33 -14
- package/dist/icons-D6XjzxSX.js.map +1 -0
- package/dist/icons-s-lGsxio.cjs +2 -0
- package/dist/icons-s-lGsxio.cjs.map +1 -0
- package/dist/{index-BDTbPD0V.js → index-BMYV_5ZN.js} +2 -2
- package/dist/{index-BDTbPD0V.js.map → index-BMYV_5ZN.js.map} +1 -1
- package/dist/{index-OLuoLabz.cjs → index-FM_lJcIM.cjs} +2 -2
- package/dist/{index-OLuoLabz.cjs.map → index-FM_lJcIM.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +71 -46
- package/dist/index.js +62 -61
- package/dist/tokens.css +52 -15
- package/dist/tokens.json +1021 -178
- package/package.json +2 -2
- package/dist/components/button-group/index.cjs +0 -2
- package/dist/components/button-group/index.cjs.map +0 -1
- package/dist/components/button-group/index.js +0 -33
- package/dist/components/button-group/index.js.map +0 -1
- package/dist/helpers-BD5fFZi-.cjs +0 -2
- package/dist/helpers-BD5fFZi-.cjs.map +0 -1
- package/dist/helpers-D56OHkFI.js +0 -25
- package/dist/helpers-D56OHkFI.js.map +0 -1
- package/dist/icons-06oXnjRF.js.map +0 -1
- package/dist/icons-o8Z5npPW.cjs +0 -2
- package/dist/icons-o8Z5npPW.cjs.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -58,14 +58,6 @@ declare type BannerProps = {
|
|
|
58
58
|
visible?: boolean;
|
|
59
59
|
};
|
|
60
60
|
|
|
61
|
-
declare type BaseCardProps = {
|
|
62
|
-
actions?: React.ReactNode;
|
|
63
|
-
badge?: BadgeProps;
|
|
64
|
-
checkbox?: CheckboxProps;
|
|
65
|
-
icon?: IconName;
|
|
66
|
-
onClick?: React.MouseEventHandler<HTMLElement>;
|
|
67
|
-
};
|
|
68
|
-
|
|
69
61
|
export declare const Branding: ({ name, size, variant }: BrandingProps) => JSX.Element;
|
|
70
62
|
|
|
71
63
|
declare type BrandingProps = {
|
|
@@ -80,12 +72,6 @@ declare const brandingSVG: {
|
|
|
80
72
|
|
|
81
73
|
export declare function Button({ children, className, disabled, icon, onClick, ref, variant, ...props }: ButtonProps): JSX.Element;
|
|
82
74
|
|
|
83
|
-
export declare const ButtonGroup: ({ children, className, ...props }: ButtonGroupProps) => JSX.Element | null;
|
|
84
|
-
|
|
85
|
-
declare type ButtonGroupProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
86
|
-
children?: React.ReactNode;
|
|
87
|
-
};
|
|
88
|
-
|
|
89
75
|
declare type ButtonProps = React.ComponentPropsWithRef<'button'> & {
|
|
90
76
|
children: React.ReactNode;
|
|
91
77
|
className?: string;
|
|
@@ -97,7 +83,18 @@ declare type ButtonProps = React.ComponentPropsWithRef<'button'> & {
|
|
|
97
83
|
|
|
98
84
|
export declare const Card: ({ actions, badge, checkbox, children, header, icon, image, imagePosition, onClick, variant, }: CardProps) => JSX.Element;
|
|
99
85
|
|
|
100
|
-
declare type CardProps =
|
|
86
|
+
declare type CardProps = {
|
|
87
|
+
actions?: React.ReactNode;
|
|
88
|
+
badge?: BadgeProps;
|
|
89
|
+
checkbox?: CheckboxProps;
|
|
90
|
+
children?: React.ReactNode;
|
|
91
|
+
header?: React.ReactNode;
|
|
92
|
+
icon?: IconName;
|
|
93
|
+
image?: React.ReactNode;
|
|
94
|
+
imagePosition?: 'top' | 'left';
|
|
95
|
+
onClick?: React.MouseEventHandler<HTMLElement>;
|
|
96
|
+
variant?: 'default' | 'minimal';
|
|
97
|
+
};
|
|
101
98
|
|
|
102
99
|
export declare const Checkbox: ({ checked, disabled, isLoading, label, onChange, ...props }: CheckboxProps) => JSX.Element;
|
|
103
100
|
|
|
@@ -109,6 +106,14 @@ declare type CheckboxProps = React.InputHTMLAttributes<HTMLInputElement> & {
|
|
|
109
106
|
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
110
107
|
};
|
|
111
108
|
|
|
109
|
+
export declare const Chip: ({ accessibleLabel, label, onClick, ...props }: ChipProps) => JSX.Element;
|
|
110
|
+
|
|
111
|
+
declare type ChipProps = Omit<ComponentPropsWithoutRef<'span'>, 'onClick' | 'tabIndex'> & {
|
|
112
|
+
accessibleLabel?: string;
|
|
113
|
+
label: string;
|
|
114
|
+
onClick: (event: React.MouseEvent<HTMLSpanElement, MouseEvent>) => void;
|
|
115
|
+
};
|
|
116
|
+
|
|
112
117
|
export declare const Collapsible: ({ children, disabled, label }: CollapsibleProps) => JSX.Element;
|
|
113
118
|
|
|
114
119
|
declare type CollapsibleProps = {
|
|
@@ -117,10 +122,11 @@ declare type CollapsibleProps = {
|
|
|
117
122
|
label?: default_2.ReactNode;
|
|
118
123
|
};
|
|
119
124
|
|
|
120
|
-
export declare const Controls: ({ children,
|
|
125
|
+
export declare const Controls: ({ children, className, variant, ...props }: ControlsProps) => JSX.Element | null;
|
|
121
126
|
|
|
122
|
-
declare type ControlsProps = React.
|
|
123
|
-
|
|
127
|
+
declare type ControlsProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
128
|
+
children?: React.ReactNode;
|
|
129
|
+
variant?: keyof typeof variants_5;
|
|
124
130
|
};
|
|
125
131
|
|
|
126
132
|
export declare const Croppable: ({ children, fill, height, image, label, onCroppableChange, onFileChange, onImageChange, onTransformChange, transform, standalone, }: CroppableProps) => JSX.Element;
|
|
@@ -147,14 +153,6 @@ declare type CroppableTransform = {
|
|
|
147
153
|
zoom: number;
|
|
148
154
|
};
|
|
149
155
|
|
|
150
|
-
declare type DefaultCardProps = BaseCardProps & {
|
|
151
|
-
children?: React.ReactNode;
|
|
152
|
-
header?: React.ReactNode;
|
|
153
|
-
image?: React.ReactNode;
|
|
154
|
-
imagePosition?: 'top' | 'left' | 'right';
|
|
155
|
-
variant?: 'default';
|
|
156
|
-
};
|
|
157
|
-
|
|
158
156
|
export declare const Dialog: ({ children, setOpen, ...props }: DialogProps) => JSX.Element;
|
|
159
157
|
|
|
160
158
|
declare type DialogProps = default_2.DialogHTMLAttributes<HTMLDialogElement> & {
|
|
@@ -257,7 +255,7 @@ export declare const Header: ({ children, variant }: HeaderProps) => JSX.Element
|
|
|
257
255
|
|
|
258
256
|
declare type HeaderProps = {
|
|
259
257
|
children: React.ReactNode;
|
|
260
|
-
variant?: keyof typeof
|
|
258
|
+
variant?: keyof typeof variants_6;
|
|
261
259
|
};
|
|
262
260
|
|
|
263
261
|
export declare const Icon: ({ fill, gap, name, size, variant, }: IconProps) => JSX.Element;
|
|
@@ -265,7 +263,19 @@ export declare const Icon: ({ fill, gap, name, size, variant, }: IconProps) => J
|
|
|
265
263
|
declare type IconName = keyof typeof iconPaths;
|
|
266
264
|
|
|
267
265
|
declare const iconPaths: {
|
|
266
|
+
arrowDown: {
|
|
267
|
+
filled: string;
|
|
268
|
+
outline: string;
|
|
269
|
+
};
|
|
270
|
+
arrowUp: {
|
|
271
|
+
filled: string;
|
|
272
|
+
outline: string;
|
|
273
|
+
};
|
|
268
274
|
bold: string;
|
|
275
|
+
bookmark: {
|
|
276
|
+
filled: string;
|
|
277
|
+
outline: string;
|
|
278
|
+
};
|
|
269
279
|
buildings: string;
|
|
270
280
|
card: string;
|
|
271
281
|
check: string;
|
|
@@ -284,7 +294,10 @@ declare const iconPaths: {
|
|
|
284
294
|
goTo: string;
|
|
285
295
|
home: string;
|
|
286
296
|
image: string;
|
|
287
|
-
info:
|
|
297
|
+
info: {
|
|
298
|
+
filled: string;
|
|
299
|
+
outline: string;
|
|
300
|
+
};
|
|
288
301
|
italic: string;
|
|
289
302
|
link: string;
|
|
290
303
|
list: string;
|
|
@@ -295,6 +308,10 @@ declare const iconPaths: {
|
|
|
295
308
|
menu: string;
|
|
296
309
|
mobile: string;
|
|
297
310
|
pencil: string;
|
|
311
|
+
pencilSquare: {
|
|
312
|
+
filled: string;
|
|
313
|
+
outline: string;
|
|
314
|
+
};
|
|
298
315
|
people: string;
|
|
299
316
|
phone: string;
|
|
300
317
|
plane: {
|
|
@@ -303,14 +320,14 @@ declare const iconPaths: {
|
|
|
303
320
|
};
|
|
304
321
|
plus: string;
|
|
305
322
|
search: string;
|
|
306
|
-
sort: {
|
|
307
|
-
filled: string;
|
|
308
|
-
outline: string;
|
|
309
|
-
};
|
|
310
323
|
success: string;
|
|
311
324
|
trash: string;
|
|
312
325
|
updown: string;
|
|
313
326
|
upload: string;
|
|
327
|
+
unbookmark: {
|
|
328
|
+
filled: string;
|
|
329
|
+
outline: string;
|
|
330
|
+
};
|
|
314
331
|
user: string;
|
|
315
332
|
x: string;
|
|
316
333
|
};
|
|
@@ -320,7 +337,7 @@ declare type IconProps = {
|
|
|
320
337
|
gap?: 'left' | 'none' | 'right';
|
|
321
338
|
name: IconName;
|
|
322
339
|
size?: keyof typeof sizes;
|
|
323
|
-
variant?: keyof typeof
|
|
340
|
+
variant?: keyof typeof variants_7;
|
|
324
341
|
};
|
|
325
342
|
|
|
326
343
|
declare function Image_2({ fadeDurationMs, showOnError, onLoad, onError, style, ...props }: ImageProps): JSX.Element;
|
|
@@ -373,7 +390,7 @@ declare type LoadingProps = {
|
|
|
373
390
|
|
|
374
391
|
export declare const Menu: ({ items, menuAccessibleLabel, onItemSelect, position, triggerAccessibleLabel, }: MenuProps) => JSX.Element;
|
|
375
392
|
|
|
376
|
-
declare type MenuItem = {
|
|
393
|
+
export declare type MenuItem = {
|
|
377
394
|
accessibleLabel?: string;
|
|
378
395
|
disabled?: boolean;
|
|
379
396
|
icon?: IconName;
|
|
@@ -391,12 +408,13 @@ declare type MenuProps = {
|
|
|
391
408
|
triggerAccessibleLabel?: string;
|
|
392
409
|
};
|
|
393
410
|
|
|
394
|
-
export declare const Message: ({ content, id, preview, type }: MessageOptions) => JSX.Element;
|
|
411
|
+
export declare const Message: ({ content, iconName, id, preview, type, }: MessageOptions) => JSX.Element;
|
|
395
412
|
|
|
396
413
|
declare type MessageItem = MessageOptions;
|
|
397
414
|
|
|
398
415
|
export declare type MessageOptions = {
|
|
399
416
|
content: React.ReactNode;
|
|
417
|
+
iconName?: IconName;
|
|
400
418
|
id: string;
|
|
401
419
|
preview?: boolean;
|
|
402
420
|
type?: 'default' | 'minimal' | 'system' | 'user';
|
|
@@ -414,14 +432,6 @@ declare type MessagesProps = {
|
|
|
414
432
|
sending: boolean;
|
|
415
433
|
};
|
|
416
434
|
|
|
417
|
-
declare type MinimalCardProps = BaseCardProps & {
|
|
418
|
-
children?: never;
|
|
419
|
-
header: React.ReactNode;
|
|
420
|
-
image?: never;
|
|
421
|
-
imagePosition?: never;
|
|
422
|
-
variant: 'minimal';
|
|
423
|
-
};
|
|
424
|
-
|
|
425
435
|
declare type NativeSelectElement = default_2.ReactElement<NativeSelectProps, 'select'>;
|
|
426
436
|
|
|
427
437
|
declare type NativeSelectProps = Omit<default_2.ComponentPropsWithoutRef<'select'>, 'children' | 'multiple'> & {
|
|
@@ -436,7 +446,7 @@ declare type NavProps = React.HTMLAttributes<HTMLElement> & {
|
|
|
436
446
|
children?: React.ReactNode;
|
|
437
447
|
className?: string;
|
|
438
448
|
horizontal?: boolean;
|
|
439
|
-
variant?: keyof typeof
|
|
449
|
+
variant?: keyof typeof variants_8;
|
|
440
450
|
};
|
|
441
451
|
|
|
442
452
|
declare const Object_2: ({ accessibleLabel, url, ...props }: ObjectProps) => JSX.Element;
|
|
@@ -497,6 +507,14 @@ declare const sizes: {
|
|
|
497
507
|
*/
|
|
498
508
|
export declare function Sortable({ children, className, columns, isRearranging, onChangeOrder, ...props }: SortableProps): JSX.Element;
|
|
499
509
|
|
|
510
|
+
declare type SortableItemContextValue = {
|
|
511
|
+
canMoveDown: boolean;
|
|
512
|
+
canMoveUp: boolean;
|
|
513
|
+
index: number;
|
|
514
|
+
moveDown: () => void;
|
|
515
|
+
moveUp: () => void;
|
|
516
|
+
};
|
|
517
|
+
|
|
500
518
|
declare type SortableProps = default_2.ComponentPropsWithoutRef<'ol'> & {
|
|
501
519
|
columns?: number;
|
|
502
520
|
isRearranging?: boolean;
|
|
@@ -566,6 +584,8 @@ declare type ToolbarProps = {
|
|
|
566
584
|
variant?: 'default' | 'editor';
|
|
567
585
|
};
|
|
568
586
|
|
|
587
|
+
export declare function useOptionalSortableItem(): SortableItemContextValue | null;
|
|
588
|
+
|
|
569
589
|
declare const variants: {
|
|
570
590
|
default: string;
|
|
571
591
|
info: string;
|
|
@@ -591,17 +611,22 @@ declare const variants_4: {
|
|
|
591
611
|
|
|
592
612
|
declare const variants_5: {
|
|
593
613
|
default: string;
|
|
594
|
-
|
|
614
|
+
fixed: string;
|
|
595
615
|
};
|
|
596
616
|
|
|
597
617
|
declare const variants_6: {
|
|
618
|
+
default: string;
|
|
619
|
+
jumbo: string;
|
|
620
|
+
};
|
|
621
|
+
|
|
622
|
+
declare const variants_7: {
|
|
598
623
|
danger: string;
|
|
599
624
|
default: string;
|
|
600
625
|
primary: string;
|
|
601
626
|
white: string;
|
|
602
627
|
};
|
|
603
628
|
|
|
604
|
-
declare const
|
|
629
|
+
declare const variants_8: {
|
|
605
630
|
default: string;
|
|
606
631
|
pills: string;
|
|
607
632
|
tabs: string;
|
package/dist/index.js
CHANGED
|
@@ -5,93 +5,94 @@ import { Croppable as a } from "./components/_croppable/index.js";
|
|
|
5
5
|
import { Dropdown as i } from "./components/_dropdown/index.js";
|
|
6
6
|
import { Dropzone as s } from "./components/_dropzone/index.js";
|
|
7
7
|
import { Editor as d } from "./components/_editor/index.js";
|
|
8
|
-
import { Menu as
|
|
9
|
-
import { Messages as
|
|
10
|
-
import { Portal as
|
|
11
|
-
import { Sortable as F } from "./components/_sortable/index.js";
|
|
12
|
-
import { Toasts as
|
|
13
|
-
import { Widget as
|
|
14
|
-
import { Accordion as
|
|
15
|
-
import { AppLink as
|
|
8
|
+
import { Menu as c } from "./components/_menu/index.js";
|
|
9
|
+
import { Messages as C } from "./components/_messages/index.js";
|
|
10
|
+
import { Portal as A } from "./components/_portal/index.js";
|
|
11
|
+
import { Sortable as F, useOptionalSortableItem as I } from "./components/_sortable/index.js";
|
|
12
|
+
import { Toasts as S } from "./components/_toasts/index.js";
|
|
13
|
+
import { Widget as k } from "./components/_widget/index.js";
|
|
14
|
+
import { Accordion as D } from "./components/accordion/index.js";
|
|
15
|
+
import { AppLink as G } from "./components/app-link/index.js";
|
|
16
16
|
import { Aside as P } from "./components/aside/index.js";
|
|
17
17
|
import { Badge as w } from "./components/badge/index.js";
|
|
18
18
|
import { Banner as E } from "./components/banner/index.js";
|
|
19
19
|
import { Branding as N } from "./components/branding/index.js";
|
|
20
|
-
import { Button as
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { Controls as
|
|
24
|
-
import { Dialog as
|
|
25
|
-
import { Figure as
|
|
26
|
-
import { File as
|
|
27
|
-
import { Footer as
|
|
28
|
-
import { Form as
|
|
29
|
-
import { Graph as
|
|
30
|
-
import { Group as
|
|
31
|
-
import { Header as
|
|
32
|
-
import { Icon as
|
|
33
|
-
import { Image as
|
|
34
|
-
import { Input as
|
|
35
|
-
import { Link as
|
|
36
|
-
import { List as
|
|
37
|
-
import { Loading as
|
|
20
|
+
import { Button as q } from "./components/button/index.js";
|
|
21
|
+
import { Checkbox as J } from "./components/checkbox/index.js";
|
|
22
|
+
import { Chip as Q } from "./components/chip/index.js";
|
|
23
|
+
import { Controls as U } from "./components/controls/index.js";
|
|
24
|
+
import { Dialog as X } from "./components/dialog/index.js";
|
|
25
|
+
import { Figure as Z } from "./components/figure/index.js";
|
|
26
|
+
import { File as $ } from "./components/file/index.js";
|
|
27
|
+
import { Footer as ro } from "./components/footer/index.js";
|
|
28
|
+
import { Form as to } from "./components/form/index.js";
|
|
29
|
+
import { Graph as mo } from "./components/graph/index.js";
|
|
30
|
+
import { Group as fo } from "./components/group/index.js";
|
|
31
|
+
import { Header as no } from "./components/header/index.js";
|
|
32
|
+
import { Icon as lo } from "./components/icon/index.js";
|
|
33
|
+
import { Image as go } from "./components/image/index.js";
|
|
34
|
+
import { Input as co } from "./components/input/index.js";
|
|
35
|
+
import { Link as Co } from "./components/link/index.js";
|
|
36
|
+
import { List as Ao } from "./components/list/index.js";
|
|
37
|
+
import { Loading as Fo } from "./components/loading/index.js";
|
|
38
38
|
import { Message as Lo } from "./components/message/index.js";
|
|
39
|
-
import { Nav as
|
|
40
|
-
import { Object as
|
|
39
|
+
import { Nav as ho } from "./components/nav/index.js";
|
|
40
|
+
import { Object as vo } from "./components/object/index.js";
|
|
41
41
|
import { Popover as Mo } from "./components/popover/index.js";
|
|
42
|
-
import { S as
|
|
42
|
+
import { S as Oo } from "./index-BMYV_5ZN.js";
|
|
43
43
|
import { Table as jo } from "./components/table/index.js";
|
|
44
44
|
import { Textarea as zo } from "./components/textarea/index.js";
|
|
45
45
|
import { Toast as Ho } from "./components/toast/index.js";
|
|
46
|
-
import { Toggle as
|
|
47
|
-
import { Toolbar as
|
|
46
|
+
import { Toggle as Wo } from "./components/toggle/index.js";
|
|
47
|
+
import { Toolbar as yo } from "./components/toolbar/index.js";
|
|
48
48
|
import './assets/index.css';export {
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
D as Accordion,
|
|
50
|
+
G as AppLink,
|
|
51
51
|
P as Aside,
|
|
52
52
|
e as Avatar,
|
|
53
53
|
w as Badge,
|
|
54
54
|
E as Banner,
|
|
55
55
|
N as Branding,
|
|
56
|
-
|
|
57
|
-
y as ButtonGroup,
|
|
56
|
+
q as Button,
|
|
58
57
|
p as Card,
|
|
59
|
-
|
|
58
|
+
J as Checkbox,
|
|
59
|
+
Q as Chip,
|
|
60
60
|
x as Collapsible,
|
|
61
|
-
|
|
61
|
+
U as Controls,
|
|
62
62
|
a as Croppable,
|
|
63
|
-
|
|
63
|
+
X as Dialog,
|
|
64
64
|
i as Dropdown,
|
|
65
65
|
s as Dropzone,
|
|
66
66
|
d as Editor,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
67
|
+
Z as Figure,
|
|
68
|
+
$ as File,
|
|
69
|
+
ro as Footer,
|
|
70
|
+
to as Form,
|
|
71
|
+
mo as Graph,
|
|
72
|
+
fo as Group,
|
|
73
|
+
no as Header,
|
|
74
|
+
lo as Icon,
|
|
75
|
+
go as Image,
|
|
76
|
+
co as Input,
|
|
77
|
+
Co as Link,
|
|
78
|
+
Ao as List,
|
|
79
|
+
Fo as Loading,
|
|
80
|
+
c as Menu,
|
|
81
81
|
Lo as Message,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
C as Messages,
|
|
83
|
+
ho as Nav,
|
|
84
|
+
vo as Object,
|
|
85
85
|
Mo as Popover,
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
A as Portal,
|
|
87
|
+
Oo as Select,
|
|
88
88
|
F as Sortable,
|
|
89
89
|
jo as Table,
|
|
90
90
|
zo as Textarea,
|
|
91
91
|
Ho as Toast,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
92
|
+
S as Toasts,
|
|
93
|
+
Wo as Toggle,
|
|
94
|
+
yo as Toolbar,
|
|
95
|
+
k as Widget,
|
|
96
|
+
I as useOptionalSortableItem
|
|
96
97
|
};
|
|
97
98
|
//# sourceMappingURL=index.js.map
|
package/dist/tokens.css
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
/* generated by `pnpm tokens:build` 🥷 */
|
|
2
2
|
|
|
3
3
|
:root {
|
|
4
|
+
--colors-blue-100: #c9dcff;
|
|
5
|
+
--colors-blue-200: var(--colors-new-brand-blue);
|
|
6
|
+
--colors-blue-300: #6695ff;
|
|
7
|
+
--colors-blue-400: #296afa;
|
|
8
|
+
--colors-blue-50: var(--colors-new-brand-light-blue);
|
|
9
|
+
--colors-blue-500: #0b4ad5;
|
|
10
|
+
--colors-blue-600: #0c3797;
|
|
11
|
+
--colors-blue-700: #0c2764;
|
|
12
|
+
--colors-blue-800: #0b1938;
|
|
13
|
+
--colors-blue-900: #090e1b;
|
|
4
14
|
--colors-box-shadow: #0000001f;
|
|
5
15
|
--colors-green-100: #b0c8c2;
|
|
6
16
|
--colors-green-200: #8aaea5;
|
|
@@ -23,6 +33,14 @@
|
|
|
23
33
|
--colors-neutral-700: #2a2a2a;
|
|
24
34
|
--colors-neutral-800: #1c1c1c;
|
|
25
35
|
--colors-neutral-900: #0b0b0b;
|
|
36
|
+
--colors-new-brand-blue: #abc5ff;
|
|
37
|
+
--colors-new-brand-dark-green: #202b1b;
|
|
38
|
+
--colors-new-brand-light-blue: #e8f1ff;
|
|
39
|
+
--colors-new-brand-light-yellow: #f8fac0;
|
|
40
|
+
--colors-new-brand-nature-white: #f7f7e1;
|
|
41
|
+
--colors-new-brand-shadow-green: #263821;
|
|
42
|
+
--colors-new-brand-shadow-yellow: #7d8233;
|
|
43
|
+
--colors-new-brand-yellow: #cde517;
|
|
26
44
|
--colors-orange-100: #fdd7b0;
|
|
27
45
|
--colors-orange-200: #fbc48a;
|
|
28
46
|
--colors-orange-300: #faa954;
|
|
@@ -57,6 +75,7 @@
|
|
|
57
75
|
--colors-semantic-bg-overlay: var(--colors-neutral-100);
|
|
58
76
|
--colors-semantic-bg-page: var(--colors-neutral-50);
|
|
59
77
|
--colors-semantic-bg-surface: var(--colors-neutral-0);
|
|
78
|
+
--colors-semantic-border-active: var(--colors-neutral-800);
|
|
60
79
|
--colors-semantic-border-default: var(--colors-neutral-200);
|
|
61
80
|
--colors-semantic-border-disabled: var(--colors-neutral-100);
|
|
62
81
|
--colors-semantic-border-focus: var(--colors-purple-500);
|
|
@@ -64,6 +83,7 @@
|
|
|
64
83
|
--colors-semantic-border-strong: var(--colors-neutral-300);
|
|
65
84
|
--colors-semantic-border-subtle: var(--colors-neutral-100);
|
|
66
85
|
--colors-semantic-content-disabled: var(--colors-neutral-300);
|
|
86
|
+
--colors-semantic-content-highlight: var(--colors-purple-100);
|
|
67
87
|
--colors-semantic-content-link: var(--colors-purple-600);
|
|
68
88
|
--colors-semantic-content-link-hover: var(--colors-purple-700);
|
|
69
89
|
--colors-semantic-content-link-visited: var(--colors-purple-400);
|
|
@@ -79,6 +99,8 @@
|
|
|
79
99
|
--colors-semantic-interactive-hover-subtle: var(--colors-neutral-100);
|
|
80
100
|
--colors-semantic-interactive-neutral: var(--colors-neutral-300);
|
|
81
101
|
--colors-semantic-interactive-pressed: var(--colors-purple-100);
|
|
102
|
+
--colors-semantic-interactive-secondary-bg: var(--colors-neutral-100);
|
|
103
|
+
--colors-semantic-interactive-secondary-hover: var(--colors-neutral-200);
|
|
82
104
|
--colors-semantic-interactive-selected: var(--colors-purple-50);
|
|
83
105
|
--colors-semantic-primary-on-primary: var(--colors-neutral-0);
|
|
84
106
|
--colors-semantic-primary-on-primary-subtle: var(--colors-purple-700);
|
|
@@ -88,17 +110,31 @@
|
|
|
88
110
|
--colors-semantic-primary-primary-subtle: var(--colors-purple-50);
|
|
89
111
|
--colors-semantic-primary-primary-subtle-border: var(--colors-purple-200);
|
|
90
112
|
--colors-semantic-status-error-bg: var(--colors-red-50);
|
|
91
|
-
--colors-semantic-status-error-border: var(--colors-red-
|
|
92
|
-
--colors-semantic-status-error-content: var(--colors-red-
|
|
113
|
+
--colors-semantic-status-error-border: var(--colors-red-300);
|
|
114
|
+
--colors-semantic-status-error-content: var(--colors-red-800);
|
|
93
115
|
--colors-semantic-status-error-content-inverse: var(--colors-neutral-0);
|
|
94
|
-
--colors-semantic-status-
|
|
95
|
-
--colors-semantic-status-
|
|
116
|
+
--colors-semantic-status-info-bg: var(--colors-blue-50);
|
|
117
|
+
--colors-semantic-status-info-border: var(--colors-blue-300);
|
|
118
|
+
--colors-semantic-status-info-content: var(--colors-blue-800);
|
|
119
|
+
--colors-semantic-status-info-content-inverse: var(--colors-neutral-0);
|
|
120
|
+
--colors-semantic-status-success-bg: var(--colors-green-100);
|
|
121
|
+
--colors-semantic-status-success-border: var(--colors-green-300);
|
|
96
122
|
--colors-semantic-status-success-content: var(--colors-green-800);
|
|
97
123
|
--colors-semantic-status-success-content-inverse: var(--colors-neutral-0);
|
|
98
124
|
--colors-semantic-status-warning-bg: var(--colors-orange-50);
|
|
99
|
-
--colors-semantic-status-warning-border: var(--colors-orange-
|
|
125
|
+
--colors-semantic-status-warning-border: var(--colors-orange-300);
|
|
100
126
|
--colors-semantic-status-warning-content: var(--colors-orange-800);
|
|
101
127
|
--colors-semantic-status-warning-content-inverse: var(--colors-neutral-0);
|
|
128
|
+
--colors-solibo-green-100: #d9e0d7;
|
|
129
|
+
--colors-solibo-green-200: #b8c7b3;
|
|
130
|
+
--colors-solibo-green-300: #90aa88;
|
|
131
|
+
--colors-solibo-green-400: #698c5f;
|
|
132
|
+
--colors-solibo-green-50: #eff1ee;
|
|
133
|
+
--colors-solibo-green-500: #4a6344;
|
|
134
|
+
--colors-solibo-green-600: var(--colors-new-brand-shadow-green);
|
|
135
|
+
--colors-solibo-green-700: var(--colors-new-brand-dark-green);
|
|
136
|
+
--colors-solibo-green-800: #151b13;
|
|
137
|
+
--colors-solibo-green-900: #0c0f0b;
|
|
102
138
|
--colors-translucent: #fff9;
|
|
103
139
|
--font-base: 'Figtree';
|
|
104
140
|
--font-font-weight-bold: 700;
|
|
@@ -176,8 +212,8 @@
|
|
|
176
212
|
--typography-font-sizes-body-md: var(--scale-16);
|
|
177
213
|
--typography-font-sizes-body-sm: var(--scale-14);
|
|
178
214
|
--typography-font-sizes-caption: var(--scale-12);
|
|
179
|
-
--typography-font-sizes-display-lg: var(--scale-
|
|
180
|
-
--typography-font-sizes-display-sm: var(--scale-
|
|
215
|
+
--typography-font-sizes-display-lg: var(--scale-48);
|
|
216
|
+
--typography-font-sizes-display-sm: var(--scale-40);
|
|
181
217
|
--typography-font-sizes-h1: var(--scale-28);
|
|
182
218
|
--typography-font-sizes-h2: var(--scale-24);
|
|
183
219
|
--typography-font-sizes-h3: var(--scale-20);
|
|
@@ -202,12 +238,14 @@
|
|
|
202
238
|
--colors-semantic-bg-overlay: var(--colors-neutral-600);
|
|
203
239
|
--colors-semantic-bg-page: var(--colors-neutral-900);
|
|
204
240
|
--colors-semantic-bg-surface: var(--colors-neutral-700);
|
|
241
|
+
--colors-semantic-border-active: var(--colors-neutral-50);
|
|
205
242
|
--colors-semantic-border-default: var(--colors-neutral-500);
|
|
206
243
|
--colors-semantic-border-disabled: var(--colors-neutral-700);
|
|
207
244
|
--colors-semantic-border-focus: var(--colors-purple-400);
|
|
208
245
|
--colors-semantic-border-on-color: var(--colors-neutral-400);
|
|
209
246
|
--colors-semantic-border-subtle: var(--colors-neutral-600);
|
|
210
247
|
--colors-semantic-content-disabled: var(--colors-neutral-500);
|
|
248
|
+
--colors-semantic-content-highlight: var(--colors-purple-700);
|
|
211
249
|
--colors-semantic-content-link: var(--colors-purple-200);
|
|
212
250
|
--colors-semantic-content-link-hover: var(--colors-purple-300);
|
|
213
251
|
--colors-semantic-content-primary: var(--colors-neutral-50);
|
|
@@ -218,6 +256,8 @@
|
|
|
218
256
|
--colors-semantic-interactive-hover-subtle: var(--colors-neutral-600);
|
|
219
257
|
--colors-semantic-interactive-neutral: var(--colors-neutral-400);
|
|
220
258
|
--colors-semantic-interactive-pressed: var(--colors-purple-700);
|
|
259
|
+
--colors-semantic-interactive-secondary-bg: var(--colors-neutral-600);
|
|
260
|
+
--colors-semantic-interactive-secondary-hover: var(--colors-neutral-500);
|
|
221
261
|
--colors-semantic-interactive-selected: var(--colors-purple-900);
|
|
222
262
|
--colors-semantic-primary-on-primary-subtle: var(--colors-purple-200);
|
|
223
263
|
--colors-semantic-primary-primary: var(--colors-purple-300);
|
|
@@ -225,9 +265,9 @@
|
|
|
225
265
|
--colors-semantic-primary-primary-hover: var(--colors-purple-200);
|
|
226
266
|
--colors-semantic-primary-primary-subtle: var(--colors-purple-800);
|
|
227
267
|
--colors-semantic-primary-primary-subtle-border: var(--colors-purple-600);
|
|
228
|
-
--colors-semantic-status-error-bg: var(--colors-red-
|
|
229
|
-
--colors-semantic-status-
|
|
230
|
-
--colors-semantic-status-
|
|
268
|
+
--colors-semantic-status-error-bg: var(--colors-red-200);
|
|
269
|
+
--colors-semantic-status-info-bg: ;
|
|
270
|
+
--colors-semantic-status-info-border: var(--colors-blue-400);
|
|
231
271
|
--colors-semantic-status-success-bg: var(--colors-green-200);
|
|
232
272
|
--colors-semantic-status-success-border: var(--colors-green-400);
|
|
233
273
|
--colors-semantic-status-warning-bg: var(--colors-orange-200);
|
|
@@ -238,13 +278,10 @@
|
|
|
238
278
|
@media (width <= 960px) {
|
|
239
279
|
:root {
|
|
240
280
|
--typography-font-sizes-body-lg: var(--scale-16);
|
|
241
|
-
--typography-font-sizes-display-lg: var(--scale-
|
|
242
|
-
--typography-font-sizes-display-sm: var(--scale-
|
|
281
|
+
--typography-font-sizes-display-lg: var(--scale-40);
|
|
282
|
+
--typography-font-sizes-display-sm: var(--scale-32);
|
|
243
283
|
--typography-font-sizes-h1: var(--scale-24);
|
|
244
284
|
--typography-font-sizes-h2: var(--scale-20);
|
|
245
285
|
--typography-font-sizes-h3: var(--scale-18);
|
|
246
|
-
--typography-font-sizes-h4: var(--scale-18);
|
|
247
|
-
--typography-font-sizes-label-lg: var(--scale-14);
|
|
248
|
-
--typography-font-sizes-label-sm: var(--scale-12);
|
|
249
286
|
}
|
|
250
287
|
}
|