design-zystem 1.0.226 → 1.0.232
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/index.d.mts +107 -103
- package/dist/index.d.ts +107 -103
- package/dist/index.js +145 -69
- package/dist/index.mjs +145 -69
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -389,6 +389,107 @@ interface RadioProps {
|
|
|
389
389
|
}
|
|
390
390
|
declare const Radio: ({ children, checked, onChange, disabled, label, size, variant, name, value, }: RadioProps) => react_jsx_runtime.JSX.Element;
|
|
391
391
|
|
|
392
|
+
declare const colors: {
|
|
393
|
+
readonly primary: "#52bdc4";
|
|
394
|
+
readonly secondary: "#f8af2d";
|
|
395
|
+
readonly tertiary: "#12638b";
|
|
396
|
+
readonly darksuccess: "#0B2E14";
|
|
397
|
+
readonly success: "#5cb85c";
|
|
398
|
+
readonly lightsuccess: "#D4EDDA";
|
|
399
|
+
readonly darkinfo: "#082C33";
|
|
400
|
+
readonly info: "#5bc0de";
|
|
401
|
+
readonly lightinfo: "#D1ECF1";
|
|
402
|
+
readonly darkwarning: "#533F06";
|
|
403
|
+
readonly warning: "#f0ad4e";
|
|
404
|
+
readonly lightwarning: "#FFF3CD";
|
|
405
|
+
readonly darkdanger: "#491218";
|
|
406
|
+
readonly danger: "#d9534f";
|
|
407
|
+
readonly lightdanger: "#F8D7DA";
|
|
408
|
+
readonly ghost: "#ccc";
|
|
409
|
+
readonly light: "#f8f9fa";
|
|
410
|
+
readonly dark: "#343a40";
|
|
411
|
+
readonly white: "#fff";
|
|
412
|
+
readonly black: "#000";
|
|
413
|
+
readonly gray: "#808080";
|
|
414
|
+
readonly transparent: "#FFFFFF00";
|
|
415
|
+
readonly disabled_bg: "#f2F2F2";
|
|
416
|
+
readonly disabled_text: "#A4A4A4";
|
|
417
|
+
readonly grey_100: "#F8FAFC";
|
|
418
|
+
readonly grey_200: "#F1F5F9";
|
|
419
|
+
readonly grey_300: "#E2E8F0";
|
|
420
|
+
readonly grey_400: "#CBD5E1";
|
|
421
|
+
readonly grey_500: "#94A3B8";
|
|
422
|
+
readonly grey_600: "#646B73";
|
|
423
|
+
readonly dark_100: "#42979D";
|
|
424
|
+
readonly dark_200: "#317176";
|
|
425
|
+
readonly dark_300: "#1D1C1C";
|
|
426
|
+
readonly blue_50: "#DBE9FE";
|
|
427
|
+
readonly blue_100: "#CCEAF8";
|
|
428
|
+
readonly blue_200: "#B9DCED";
|
|
429
|
+
readonly blue_300: "#A7CFE2";
|
|
430
|
+
readonly blue_400: "#94C1D7";
|
|
431
|
+
readonly blue_500: "#82B4CC";
|
|
432
|
+
readonly blue_600: "#5C99B7";
|
|
433
|
+
readonly blue_700: "#377EA1";
|
|
434
|
+
readonly blue_800: "#12638B";
|
|
435
|
+
readonly blue_900: "#0E4F6F";
|
|
436
|
+
readonly blue_950: "#1C4ED8";
|
|
437
|
+
readonly red: "#F44649";
|
|
438
|
+
readonly red_50: "#FEE9E9";
|
|
439
|
+
readonly red_950: "#F44649";
|
|
440
|
+
readonly turquoise_050: "#EEF8F9";
|
|
441
|
+
readonly turquoise_50: "#EEF8F9";
|
|
442
|
+
readonly turquoise_100: "#DCF2F3";
|
|
443
|
+
readonly turquoise_200: "#CBEBED";
|
|
444
|
+
readonly turquoise_300: "#BAE5E7";
|
|
445
|
+
readonly turquoise_400: "#97D7DC";
|
|
446
|
+
readonly yellow_50: "#FEF7EA";
|
|
447
|
+
readonly yellow_100: "#FEEDD5";
|
|
448
|
+
readonly yellow_300: "#F8AF2D";
|
|
449
|
+
readonly yellow_400: "#DF8F00";
|
|
450
|
+
readonly yellow_500: "#FFD700";
|
|
451
|
+
readonly orange_50: "#FFEEE6";
|
|
452
|
+
readonly orange_100: "#FFCEB8";
|
|
453
|
+
readonly orange_300: "#FFAF8A";
|
|
454
|
+
readonly orange_400: "#FF8F5C";
|
|
455
|
+
readonly orange_500: "#FF641C";
|
|
456
|
+
readonly orange_600: "#FF5100";
|
|
457
|
+
readonly purple_50: "#EDE9FE";
|
|
458
|
+
readonly purple_700: "#7230DB";
|
|
459
|
+
readonly pink_50: "#FDF2F8";
|
|
460
|
+
readonly pink_100: "#FCE7F3";
|
|
461
|
+
readonly pink_300: "#FBCFE8";
|
|
462
|
+
readonly pink_400: "#F9A8D4";
|
|
463
|
+
readonly pink_500: "#CF0F9E";
|
|
464
|
+
readonly pink_600: "#EC4899";
|
|
465
|
+
readonly pink_700: "#DB2777";
|
|
466
|
+
readonly pink_800: "#BE185D";
|
|
467
|
+
readonly pink_900: "#9D174D";
|
|
468
|
+
readonly green: "#12B76A";
|
|
469
|
+
readonly green_50: "#DCFCE7";
|
|
470
|
+
readonly green_100: "#12B76A";
|
|
471
|
+
readonly green_700: "#17803D";
|
|
472
|
+
readonly badge_blue_text: "#1C4ED8";
|
|
473
|
+
readonly badge_blue_bg: "#DBE9FE";
|
|
474
|
+
readonly badge_green_text: "#17803D";
|
|
475
|
+
readonly badge_green_bg: "#DCFCE7";
|
|
476
|
+
readonly badge_purple_text: "#7230DB";
|
|
477
|
+
readonly badge_purple_bg: "#EDE9FE";
|
|
478
|
+
readonly brown_50: "#EFEBE9";
|
|
479
|
+
readonly brown_100: "#D7CCC8";
|
|
480
|
+
readonly brown_300: "#A1887F";
|
|
481
|
+
readonly brown_400: "#8D6E63";
|
|
482
|
+
readonly brown_500: "#795548";
|
|
483
|
+
readonly brown_600: "#CD7F32";
|
|
484
|
+
readonly brown_700: "#5D4037";
|
|
485
|
+
readonly brown_800: "#4E342E";
|
|
486
|
+
readonly brown_900: "#3E2723";
|
|
487
|
+
readonly brown_950: "#333222";
|
|
488
|
+
readonly gradient_blue_deep: "linear-gradient(131.36deg, rgb(3, 62, 113) 0%, rgb(0, 87, 138) 20%, rgb(1, 113, 164) 40%, rgb(1, 113, 164) 50%, rgb(0, 87, 138) 80%, rgb(3, 62, 113) 100%)";
|
|
489
|
+
readonly text: "#343A40";
|
|
490
|
+
readonly light_blue: "#F1F5F9";
|
|
491
|
+
};
|
|
492
|
+
|
|
392
493
|
interface AccordionItem {
|
|
393
494
|
id: string | number;
|
|
394
495
|
title: ReactNode;
|
|
@@ -414,8 +515,9 @@ interface AccordionProps {
|
|
|
414
515
|
bordered?: boolean;
|
|
415
516
|
disabled?: boolean;
|
|
416
517
|
maxHeight?: number;
|
|
518
|
+
backgroundHeader?: keyof typeof colors | string;
|
|
417
519
|
}
|
|
418
|
-
declare const Accordion: ({ items, title, children, defaultOpen, open: controlledOpen, onToggle, openItemId: controlledItemId, onItemToggle, needCheckbox, checkboxValue, onCheck, bordered, disabled, maxHeight, }: AccordionProps) => react_jsx_runtime.JSX.Element;
|
|
520
|
+
declare const Accordion: ({ items, title, children, defaultOpen, open: controlledOpen, onToggle, openItemId: controlledItemId, onItemToggle, needCheckbox, checkboxValue, onCheck, bordered, disabled, maxHeight, backgroundHeader, }: AccordionProps) => react_jsx_runtime.JSX.Element;
|
|
419
521
|
|
|
420
522
|
interface ColorPickerProps {
|
|
421
523
|
label?: string;
|
|
@@ -617,16 +719,18 @@ interface TabItem {
|
|
|
617
719
|
label: string;
|
|
618
720
|
disabled?: boolean;
|
|
619
721
|
}
|
|
722
|
+
type TabsVariant = 'line' | 'pills';
|
|
620
723
|
interface TabsProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
621
724
|
value?: string | number;
|
|
622
725
|
onChange?: (id: string | number) => void;
|
|
623
726
|
items?: TabItem[];
|
|
727
|
+
variant?: TabsVariant;
|
|
624
728
|
align?: 'start' | 'center' | 'end' | 'between';
|
|
625
729
|
showBaseline?: boolean;
|
|
626
730
|
baselineColor?: string;
|
|
627
731
|
children?: ReactNode;
|
|
628
732
|
}
|
|
629
|
-
declare const Tabs: ({ value, onChange, items, align, showBaseline, baselineColor, children, ...rest }: TabsProps) => react_jsx_runtime.JSX.Element;
|
|
733
|
+
declare const Tabs: ({ value, onChange, items, variant, align, showBaseline, baselineColor, children, ...rest }: TabsProps) => react_jsx_runtime.JSX.Element;
|
|
630
734
|
|
|
631
735
|
interface ImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
|
632
736
|
src?: string;
|
|
@@ -677,7 +781,7 @@ interface IconTabsProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
677
781
|
declare const IconTabs: ({ items, selectedColor, onTabChange, disabledTabs, defaultTabIndex, }: IconTabsProps) => react_jsx_runtime.JSX.Element;
|
|
678
782
|
|
|
679
783
|
interface PopoverItem {
|
|
680
|
-
label: string;
|
|
784
|
+
label: string | ReactNode;
|
|
681
785
|
action: () => void;
|
|
682
786
|
}
|
|
683
787
|
interface PopoverProps {
|
|
@@ -814,104 +918,4 @@ interface OptimizeImageOptions {
|
|
|
814
918
|
}
|
|
815
919
|
declare const optimizeImage: (file: File | null | undefined, desiredBaseName: string, opts?: OptimizeImageOptions) => Promise<OptimizeImageResult>;
|
|
816
920
|
|
|
817
|
-
declare const colors: {
|
|
818
|
-
readonly primary: "#52bdc4";
|
|
819
|
-
readonly secondary: "#f8af2d";
|
|
820
|
-
readonly tertiary: "#12638b";
|
|
821
|
-
readonly darksuccess: "#0B2E14";
|
|
822
|
-
readonly success: "#5cb85c";
|
|
823
|
-
readonly lightsuccess: "#D4EDDA";
|
|
824
|
-
readonly darkinfo: "#082C33";
|
|
825
|
-
readonly info: "#5bc0de";
|
|
826
|
-
readonly lightinfo: "#D1ECF1";
|
|
827
|
-
readonly darkwarning: "#533F06";
|
|
828
|
-
readonly warning: "#f0ad4e";
|
|
829
|
-
readonly lightwarning: "#FFF3CD";
|
|
830
|
-
readonly darkdanger: "#491218";
|
|
831
|
-
readonly danger: "#d9534f";
|
|
832
|
-
readonly lightdanger: "#F8D7DA";
|
|
833
|
-
readonly ghost: "#ccc";
|
|
834
|
-
readonly light: "#f8f9fa";
|
|
835
|
-
readonly dark: "#343a40";
|
|
836
|
-
readonly white: "#fff";
|
|
837
|
-
readonly black: "#000";
|
|
838
|
-
readonly gray: "#808080";
|
|
839
|
-
readonly transparent: "#FFFFFF00";
|
|
840
|
-
readonly disabled_bg: "#f2F2F2";
|
|
841
|
-
readonly disabled_text: "#A4A4A4";
|
|
842
|
-
readonly grey_100: "#F8FAFC";
|
|
843
|
-
readonly grey_200: "#F1F5F9";
|
|
844
|
-
readonly grey_300: "#E2E8F0";
|
|
845
|
-
readonly grey_400: "#CBD5E1";
|
|
846
|
-
readonly grey_500: "#94A3B8";
|
|
847
|
-
readonly grey_600: "#646B73";
|
|
848
|
-
readonly dark_100: "#42979D";
|
|
849
|
-
readonly dark_200: "#317176";
|
|
850
|
-
readonly dark_300: "#1D1C1C";
|
|
851
|
-
readonly blue_50: "#DBE9FE";
|
|
852
|
-
readonly blue_100: "#CCEAF8";
|
|
853
|
-
readonly blue_200: "#B9DCED";
|
|
854
|
-
readonly blue_300: "#A7CFE2";
|
|
855
|
-
readonly blue_400: "#94C1D7";
|
|
856
|
-
readonly blue_500: "#82B4CC";
|
|
857
|
-
readonly blue_600: "#5C99B7";
|
|
858
|
-
readonly blue_700: "#377EA1";
|
|
859
|
-
readonly blue_800: "#12638B";
|
|
860
|
-
readonly blue_900: "#0E4F6F";
|
|
861
|
-
readonly blue_950: "#1C4ED8";
|
|
862
|
-
readonly red: "#F44649";
|
|
863
|
-
readonly red_50: "#FEE9E9";
|
|
864
|
-
readonly red_950: "#F44649";
|
|
865
|
-
readonly turquoise_050: "#EEF8F9";
|
|
866
|
-
readonly turquoise_50: "#EEF8F9";
|
|
867
|
-
readonly turquoise_100: "#DCF2F3";
|
|
868
|
-
readonly turquoise_200: "#CBEBED";
|
|
869
|
-
readonly turquoise_300: "#BAE5E7";
|
|
870
|
-
readonly turquoise_400: "#97D7DC";
|
|
871
|
-
readonly yellow_50: "#FEF7EA";
|
|
872
|
-
readonly yellow_100: "#FEEDD5";
|
|
873
|
-
readonly yellow_300: "#F8AF2D";
|
|
874
|
-
readonly yellow_400: "#DF8F00";
|
|
875
|
-
readonly yellow_500: "#FFD700";
|
|
876
|
-
readonly orange_50: "#FFEEE6";
|
|
877
|
-
readonly orange_100: "#FFCEB8";
|
|
878
|
-
readonly orange_300: "#FFAF8A";
|
|
879
|
-
readonly orange_400: "#FF8F5C";
|
|
880
|
-
readonly orange_500: "#FF641C";
|
|
881
|
-
readonly orange_600: "#FF5100";
|
|
882
|
-
readonly purple_50: "#EDE9FE";
|
|
883
|
-
readonly purple_700: "#7230DB";
|
|
884
|
-
readonly pink_50: "#FDF2F8";
|
|
885
|
-
readonly pink_100: "#FCE7F3";
|
|
886
|
-
readonly pink_300: "#FBCFE8";
|
|
887
|
-
readonly pink_400: "#F9A8D4";
|
|
888
|
-
readonly pink_500: "#CF0F9E";
|
|
889
|
-
readonly pink_600: "#EC4899";
|
|
890
|
-
readonly pink_700: "#DB2777";
|
|
891
|
-
readonly pink_800: "#BE185D";
|
|
892
|
-
readonly pink_900: "#9D174D";
|
|
893
|
-
readonly green: "#12B76A";
|
|
894
|
-
readonly green_50: "#DCFCE7";
|
|
895
|
-
readonly green_100: "#12B76A";
|
|
896
|
-
readonly green_700: "#17803D";
|
|
897
|
-
readonly badge_blue_text: "#1C4ED8";
|
|
898
|
-
readonly badge_blue_bg: "#DBE9FE";
|
|
899
|
-
readonly badge_green_text: "#17803D";
|
|
900
|
-
readonly badge_green_bg: "#DCFCE7";
|
|
901
|
-
readonly badge_purple_text: "#7230DB";
|
|
902
|
-
readonly badge_purple_bg: "#EDE9FE";
|
|
903
|
-
readonly brown_50: "#EFEBE9";
|
|
904
|
-
readonly brown_100: "#D7CCC8";
|
|
905
|
-
readonly brown_300: "#A1887F";
|
|
906
|
-
readonly brown_400: "#8D6E63";
|
|
907
|
-
readonly brown_500: "#795548";
|
|
908
|
-
readonly brown_600: "#CD7F32";
|
|
909
|
-
readonly brown_700: "#5D4037";
|
|
910
|
-
readonly brown_800: "#4E342E";
|
|
911
|
-
readonly brown_900: "#3E2723";
|
|
912
|
-
readonly gradient_blue_deep: "linear-gradient(131.36deg, rgb(3, 62, 113) 0%, rgb(0, 87, 138) 20%, rgb(1, 113, 164) 40%, rgb(1, 113, 164) 50%, rgb(0, 87, 138) 80%, rgb(3, 62, 113) 100%)";
|
|
913
|
-
readonly text: "#343A40";
|
|
914
|
-
readonly light_blue: "#F1F5F9";
|
|
915
|
-
};
|
|
916
|
-
|
|
917
921
|
export { Accordion, type AccordionItem, Box, Bubble, Bulk, Button, CardSkeleton, Checkbox, Col, Collapse, ColorPicker, DatePicker, Divider, Drawer, FileUploadZone, Grid, Icon, IconTabs, Image, Input, Link, List, ListItem, MetricCard, Modal, ModalConfirmation, MultiSelect, NewModal, Options, PageContainer, Pagination, Popover, Radio, Row, Select, type SelectOption, type SelectProps, SkeletonRow, SliderInput, Spinner, Stepper, Switch, Table, TableBody, TableCell, TableFooter, TableFooterCell, TableFooterRow, TableHeader, TableHeaderCell, TableHeaderRow, TableRow, Tabs, TagBubble, Text, Tooltip, colors, formatDate, formatDistance, formatDuration, optimizeImage, truncateFileName, truncateText };
|
package/dist/index.d.ts
CHANGED
|
@@ -389,6 +389,107 @@ interface RadioProps {
|
|
|
389
389
|
}
|
|
390
390
|
declare const Radio: ({ children, checked, onChange, disabled, label, size, variant, name, value, }: RadioProps) => react_jsx_runtime.JSX.Element;
|
|
391
391
|
|
|
392
|
+
declare const colors: {
|
|
393
|
+
readonly primary: "#52bdc4";
|
|
394
|
+
readonly secondary: "#f8af2d";
|
|
395
|
+
readonly tertiary: "#12638b";
|
|
396
|
+
readonly darksuccess: "#0B2E14";
|
|
397
|
+
readonly success: "#5cb85c";
|
|
398
|
+
readonly lightsuccess: "#D4EDDA";
|
|
399
|
+
readonly darkinfo: "#082C33";
|
|
400
|
+
readonly info: "#5bc0de";
|
|
401
|
+
readonly lightinfo: "#D1ECF1";
|
|
402
|
+
readonly darkwarning: "#533F06";
|
|
403
|
+
readonly warning: "#f0ad4e";
|
|
404
|
+
readonly lightwarning: "#FFF3CD";
|
|
405
|
+
readonly darkdanger: "#491218";
|
|
406
|
+
readonly danger: "#d9534f";
|
|
407
|
+
readonly lightdanger: "#F8D7DA";
|
|
408
|
+
readonly ghost: "#ccc";
|
|
409
|
+
readonly light: "#f8f9fa";
|
|
410
|
+
readonly dark: "#343a40";
|
|
411
|
+
readonly white: "#fff";
|
|
412
|
+
readonly black: "#000";
|
|
413
|
+
readonly gray: "#808080";
|
|
414
|
+
readonly transparent: "#FFFFFF00";
|
|
415
|
+
readonly disabled_bg: "#f2F2F2";
|
|
416
|
+
readonly disabled_text: "#A4A4A4";
|
|
417
|
+
readonly grey_100: "#F8FAFC";
|
|
418
|
+
readonly grey_200: "#F1F5F9";
|
|
419
|
+
readonly grey_300: "#E2E8F0";
|
|
420
|
+
readonly grey_400: "#CBD5E1";
|
|
421
|
+
readonly grey_500: "#94A3B8";
|
|
422
|
+
readonly grey_600: "#646B73";
|
|
423
|
+
readonly dark_100: "#42979D";
|
|
424
|
+
readonly dark_200: "#317176";
|
|
425
|
+
readonly dark_300: "#1D1C1C";
|
|
426
|
+
readonly blue_50: "#DBE9FE";
|
|
427
|
+
readonly blue_100: "#CCEAF8";
|
|
428
|
+
readonly blue_200: "#B9DCED";
|
|
429
|
+
readonly blue_300: "#A7CFE2";
|
|
430
|
+
readonly blue_400: "#94C1D7";
|
|
431
|
+
readonly blue_500: "#82B4CC";
|
|
432
|
+
readonly blue_600: "#5C99B7";
|
|
433
|
+
readonly blue_700: "#377EA1";
|
|
434
|
+
readonly blue_800: "#12638B";
|
|
435
|
+
readonly blue_900: "#0E4F6F";
|
|
436
|
+
readonly blue_950: "#1C4ED8";
|
|
437
|
+
readonly red: "#F44649";
|
|
438
|
+
readonly red_50: "#FEE9E9";
|
|
439
|
+
readonly red_950: "#F44649";
|
|
440
|
+
readonly turquoise_050: "#EEF8F9";
|
|
441
|
+
readonly turquoise_50: "#EEF8F9";
|
|
442
|
+
readonly turquoise_100: "#DCF2F3";
|
|
443
|
+
readonly turquoise_200: "#CBEBED";
|
|
444
|
+
readonly turquoise_300: "#BAE5E7";
|
|
445
|
+
readonly turquoise_400: "#97D7DC";
|
|
446
|
+
readonly yellow_50: "#FEF7EA";
|
|
447
|
+
readonly yellow_100: "#FEEDD5";
|
|
448
|
+
readonly yellow_300: "#F8AF2D";
|
|
449
|
+
readonly yellow_400: "#DF8F00";
|
|
450
|
+
readonly yellow_500: "#FFD700";
|
|
451
|
+
readonly orange_50: "#FFEEE6";
|
|
452
|
+
readonly orange_100: "#FFCEB8";
|
|
453
|
+
readonly orange_300: "#FFAF8A";
|
|
454
|
+
readonly orange_400: "#FF8F5C";
|
|
455
|
+
readonly orange_500: "#FF641C";
|
|
456
|
+
readonly orange_600: "#FF5100";
|
|
457
|
+
readonly purple_50: "#EDE9FE";
|
|
458
|
+
readonly purple_700: "#7230DB";
|
|
459
|
+
readonly pink_50: "#FDF2F8";
|
|
460
|
+
readonly pink_100: "#FCE7F3";
|
|
461
|
+
readonly pink_300: "#FBCFE8";
|
|
462
|
+
readonly pink_400: "#F9A8D4";
|
|
463
|
+
readonly pink_500: "#CF0F9E";
|
|
464
|
+
readonly pink_600: "#EC4899";
|
|
465
|
+
readonly pink_700: "#DB2777";
|
|
466
|
+
readonly pink_800: "#BE185D";
|
|
467
|
+
readonly pink_900: "#9D174D";
|
|
468
|
+
readonly green: "#12B76A";
|
|
469
|
+
readonly green_50: "#DCFCE7";
|
|
470
|
+
readonly green_100: "#12B76A";
|
|
471
|
+
readonly green_700: "#17803D";
|
|
472
|
+
readonly badge_blue_text: "#1C4ED8";
|
|
473
|
+
readonly badge_blue_bg: "#DBE9FE";
|
|
474
|
+
readonly badge_green_text: "#17803D";
|
|
475
|
+
readonly badge_green_bg: "#DCFCE7";
|
|
476
|
+
readonly badge_purple_text: "#7230DB";
|
|
477
|
+
readonly badge_purple_bg: "#EDE9FE";
|
|
478
|
+
readonly brown_50: "#EFEBE9";
|
|
479
|
+
readonly brown_100: "#D7CCC8";
|
|
480
|
+
readonly brown_300: "#A1887F";
|
|
481
|
+
readonly brown_400: "#8D6E63";
|
|
482
|
+
readonly brown_500: "#795548";
|
|
483
|
+
readonly brown_600: "#CD7F32";
|
|
484
|
+
readonly brown_700: "#5D4037";
|
|
485
|
+
readonly brown_800: "#4E342E";
|
|
486
|
+
readonly brown_900: "#3E2723";
|
|
487
|
+
readonly brown_950: "#333222";
|
|
488
|
+
readonly gradient_blue_deep: "linear-gradient(131.36deg, rgb(3, 62, 113) 0%, rgb(0, 87, 138) 20%, rgb(1, 113, 164) 40%, rgb(1, 113, 164) 50%, rgb(0, 87, 138) 80%, rgb(3, 62, 113) 100%)";
|
|
489
|
+
readonly text: "#343A40";
|
|
490
|
+
readonly light_blue: "#F1F5F9";
|
|
491
|
+
};
|
|
492
|
+
|
|
392
493
|
interface AccordionItem {
|
|
393
494
|
id: string | number;
|
|
394
495
|
title: ReactNode;
|
|
@@ -414,8 +515,9 @@ interface AccordionProps {
|
|
|
414
515
|
bordered?: boolean;
|
|
415
516
|
disabled?: boolean;
|
|
416
517
|
maxHeight?: number;
|
|
518
|
+
backgroundHeader?: keyof typeof colors | string;
|
|
417
519
|
}
|
|
418
|
-
declare const Accordion: ({ items, title, children, defaultOpen, open: controlledOpen, onToggle, openItemId: controlledItemId, onItemToggle, needCheckbox, checkboxValue, onCheck, bordered, disabled, maxHeight, }: AccordionProps) => react_jsx_runtime.JSX.Element;
|
|
520
|
+
declare const Accordion: ({ items, title, children, defaultOpen, open: controlledOpen, onToggle, openItemId: controlledItemId, onItemToggle, needCheckbox, checkboxValue, onCheck, bordered, disabled, maxHeight, backgroundHeader, }: AccordionProps) => react_jsx_runtime.JSX.Element;
|
|
419
521
|
|
|
420
522
|
interface ColorPickerProps {
|
|
421
523
|
label?: string;
|
|
@@ -617,16 +719,18 @@ interface TabItem {
|
|
|
617
719
|
label: string;
|
|
618
720
|
disabled?: boolean;
|
|
619
721
|
}
|
|
722
|
+
type TabsVariant = 'line' | 'pills';
|
|
620
723
|
interface TabsProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
621
724
|
value?: string | number;
|
|
622
725
|
onChange?: (id: string | number) => void;
|
|
623
726
|
items?: TabItem[];
|
|
727
|
+
variant?: TabsVariant;
|
|
624
728
|
align?: 'start' | 'center' | 'end' | 'between';
|
|
625
729
|
showBaseline?: boolean;
|
|
626
730
|
baselineColor?: string;
|
|
627
731
|
children?: ReactNode;
|
|
628
732
|
}
|
|
629
|
-
declare const Tabs: ({ value, onChange, items, align, showBaseline, baselineColor, children, ...rest }: TabsProps) => react_jsx_runtime.JSX.Element;
|
|
733
|
+
declare const Tabs: ({ value, onChange, items, variant, align, showBaseline, baselineColor, children, ...rest }: TabsProps) => react_jsx_runtime.JSX.Element;
|
|
630
734
|
|
|
631
735
|
interface ImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
|
632
736
|
src?: string;
|
|
@@ -677,7 +781,7 @@ interface IconTabsProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
677
781
|
declare const IconTabs: ({ items, selectedColor, onTabChange, disabledTabs, defaultTabIndex, }: IconTabsProps) => react_jsx_runtime.JSX.Element;
|
|
678
782
|
|
|
679
783
|
interface PopoverItem {
|
|
680
|
-
label: string;
|
|
784
|
+
label: string | ReactNode;
|
|
681
785
|
action: () => void;
|
|
682
786
|
}
|
|
683
787
|
interface PopoverProps {
|
|
@@ -814,104 +918,4 @@ interface OptimizeImageOptions {
|
|
|
814
918
|
}
|
|
815
919
|
declare const optimizeImage: (file: File | null | undefined, desiredBaseName: string, opts?: OptimizeImageOptions) => Promise<OptimizeImageResult>;
|
|
816
920
|
|
|
817
|
-
declare const colors: {
|
|
818
|
-
readonly primary: "#52bdc4";
|
|
819
|
-
readonly secondary: "#f8af2d";
|
|
820
|
-
readonly tertiary: "#12638b";
|
|
821
|
-
readonly darksuccess: "#0B2E14";
|
|
822
|
-
readonly success: "#5cb85c";
|
|
823
|
-
readonly lightsuccess: "#D4EDDA";
|
|
824
|
-
readonly darkinfo: "#082C33";
|
|
825
|
-
readonly info: "#5bc0de";
|
|
826
|
-
readonly lightinfo: "#D1ECF1";
|
|
827
|
-
readonly darkwarning: "#533F06";
|
|
828
|
-
readonly warning: "#f0ad4e";
|
|
829
|
-
readonly lightwarning: "#FFF3CD";
|
|
830
|
-
readonly darkdanger: "#491218";
|
|
831
|
-
readonly danger: "#d9534f";
|
|
832
|
-
readonly lightdanger: "#F8D7DA";
|
|
833
|
-
readonly ghost: "#ccc";
|
|
834
|
-
readonly light: "#f8f9fa";
|
|
835
|
-
readonly dark: "#343a40";
|
|
836
|
-
readonly white: "#fff";
|
|
837
|
-
readonly black: "#000";
|
|
838
|
-
readonly gray: "#808080";
|
|
839
|
-
readonly transparent: "#FFFFFF00";
|
|
840
|
-
readonly disabled_bg: "#f2F2F2";
|
|
841
|
-
readonly disabled_text: "#A4A4A4";
|
|
842
|
-
readonly grey_100: "#F8FAFC";
|
|
843
|
-
readonly grey_200: "#F1F5F9";
|
|
844
|
-
readonly grey_300: "#E2E8F0";
|
|
845
|
-
readonly grey_400: "#CBD5E1";
|
|
846
|
-
readonly grey_500: "#94A3B8";
|
|
847
|
-
readonly grey_600: "#646B73";
|
|
848
|
-
readonly dark_100: "#42979D";
|
|
849
|
-
readonly dark_200: "#317176";
|
|
850
|
-
readonly dark_300: "#1D1C1C";
|
|
851
|
-
readonly blue_50: "#DBE9FE";
|
|
852
|
-
readonly blue_100: "#CCEAF8";
|
|
853
|
-
readonly blue_200: "#B9DCED";
|
|
854
|
-
readonly blue_300: "#A7CFE2";
|
|
855
|
-
readonly blue_400: "#94C1D7";
|
|
856
|
-
readonly blue_500: "#82B4CC";
|
|
857
|
-
readonly blue_600: "#5C99B7";
|
|
858
|
-
readonly blue_700: "#377EA1";
|
|
859
|
-
readonly blue_800: "#12638B";
|
|
860
|
-
readonly blue_900: "#0E4F6F";
|
|
861
|
-
readonly blue_950: "#1C4ED8";
|
|
862
|
-
readonly red: "#F44649";
|
|
863
|
-
readonly red_50: "#FEE9E9";
|
|
864
|
-
readonly red_950: "#F44649";
|
|
865
|
-
readonly turquoise_050: "#EEF8F9";
|
|
866
|
-
readonly turquoise_50: "#EEF8F9";
|
|
867
|
-
readonly turquoise_100: "#DCF2F3";
|
|
868
|
-
readonly turquoise_200: "#CBEBED";
|
|
869
|
-
readonly turquoise_300: "#BAE5E7";
|
|
870
|
-
readonly turquoise_400: "#97D7DC";
|
|
871
|
-
readonly yellow_50: "#FEF7EA";
|
|
872
|
-
readonly yellow_100: "#FEEDD5";
|
|
873
|
-
readonly yellow_300: "#F8AF2D";
|
|
874
|
-
readonly yellow_400: "#DF8F00";
|
|
875
|
-
readonly yellow_500: "#FFD700";
|
|
876
|
-
readonly orange_50: "#FFEEE6";
|
|
877
|
-
readonly orange_100: "#FFCEB8";
|
|
878
|
-
readonly orange_300: "#FFAF8A";
|
|
879
|
-
readonly orange_400: "#FF8F5C";
|
|
880
|
-
readonly orange_500: "#FF641C";
|
|
881
|
-
readonly orange_600: "#FF5100";
|
|
882
|
-
readonly purple_50: "#EDE9FE";
|
|
883
|
-
readonly purple_700: "#7230DB";
|
|
884
|
-
readonly pink_50: "#FDF2F8";
|
|
885
|
-
readonly pink_100: "#FCE7F3";
|
|
886
|
-
readonly pink_300: "#FBCFE8";
|
|
887
|
-
readonly pink_400: "#F9A8D4";
|
|
888
|
-
readonly pink_500: "#CF0F9E";
|
|
889
|
-
readonly pink_600: "#EC4899";
|
|
890
|
-
readonly pink_700: "#DB2777";
|
|
891
|
-
readonly pink_800: "#BE185D";
|
|
892
|
-
readonly pink_900: "#9D174D";
|
|
893
|
-
readonly green: "#12B76A";
|
|
894
|
-
readonly green_50: "#DCFCE7";
|
|
895
|
-
readonly green_100: "#12B76A";
|
|
896
|
-
readonly green_700: "#17803D";
|
|
897
|
-
readonly badge_blue_text: "#1C4ED8";
|
|
898
|
-
readonly badge_blue_bg: "#DBE9FE";
|
|
899
|
-
readonly badge_green_text: "#17803D";
|
|
900
|
-
readonly badge_green_bg: "#DCFCE7";
|
|
901
|
-
readonly badge_purple_text: "#7230DB";
|
|
902
|
-
readonly badge_purple_bg: "#EDE9FE";
|
|
903
|
-
readonly brown_50: "#EFEBE9";
|
|
904
|
-
readonly brown_100: "#D7CCC8";
|
|
905
|
-
readonly brown_300: "#A1887F";
|
|
906
|
-
readonly brown_400: "#8D6E63";
|
|
907
|
-
readonly brown_500: "#795548";
|
|
908
|
-
readonly brown_600: "#CD7F32";
|
|
909
|
-
readonly brown_700: "#5D4037";
|
|
910
|
-
readonly brown_800: "#4E342E";
|
|
911
|
-
readonly brown_900: "#3E2723";
|
|
912
|
-
readonly gradient_blue_deep: "linear-gradient(131.36deg, rgb(3, 62, 113) 0%, rgb(0, 87, 138) 20%, rgb(1, 113, 164) 40%, rgb(1, 113, 164) 50%, rgb(0, 87, 138) 80%, rgb(3, 62, 113) 100%)";
|
|
913
|
-
readonly text: "#343A40";
|
|
914
|
-
readonly light_blue: "#F1F5F9";
|
|
915
|
-
};
|
|
916
|
-
|
|
917
921
|
export { Accordion, type AccordionItem, Box, Bubble, Bulk, Button, CardSkeleton, Checkbox, Col, Collapse, ColorPicker, DatePicker, Divider, Drawer, FileUploadZone, Grid, Icon, IconTabs, Image, Input, Link, List, ListItem, MetricCard, Modal, ModalConfirmation, MultiSelect, NewModal, Options, PageContainer, Pagination, Popover, Radio, Row, Select, type SelectOption, type SelectProps, SkeletonRow, SliderInput, Spinner, Stepper, Switch, Table, TableBody, TableCell, TableFooter, TableFooterCell, TableFooterRow, TableHeader, TableHeaderCell, TableHeaderRow, TableRow, Tabs, TagBubble, Text, Tooltip, colors, formatDate, formatDistance, formatDuration, optimizeImage, truncateFileName, truncateText };
|