tuix-webcomponents 0.0.38 → 0.0.39

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.
@@ -449,6 +449,244 @@
449
449
  }
450
450
  ]
451
451
  },
452
+ {
453
+ "kind": "javascript-module",
454
+ "path": "src/tuix-checkbox/TuixCheckbox.styles.ts",
455
+ "declarations": [
456
+ {
457
+ "kind": "variable",
458
+ "name": "hostStyles",
459
+ "default": "css`\n :host {\n --t-main-color-tuix: ${unsafeCSS(Palette.MAIN)};\n --t-bg-color-primary: ${unsafeCSS(Palette.WHITE)};\n --t-bg-color-disabled: ${unsafeCSS(Palette.PRIMARY_100)};\n --t-text-color-error: ${unsafeCSS(Palette.ERROR)};\n --t-stroke-color-focus: ${unsafeCSS(Palette.SECONDARY)};\n --t-stroke-color-grey: ${unsafeCSS(Palette.PRIMARY_300)};\n --t-text-color-label: ${unsafeCSS(Palette.BLACK)};\n --t-label-right-default-justify: flex-start;\n --t-label-left-default-justify: space-between;\n }\n :host([dark]) {\n --t-main-color-tuix: ${unsafeCSS(DarkPalette.MAIN)};\n --t-bg-color-primary: ${unsafeCSS(DarkPalette.BLACK)};\n --t-bg-color-disabled: ${unsafeCSS(DarkPalette.PRIMARY_800)};\n --t-text-color-error: ${unsafeCSS(DarkPalette.ERROR)};\n --t-stroke-color-focus: ${unsafeCSS(DarkPalette.SECONDARY)};\n --t-stroke-color-grey: ${unsafeCSS(DarkPalette.PRIMARY_100)};\n --t-text-color-label: ${unsafeCSS(DarkPalette.WHITE)};\n }\n`"
460
+ },
461
+ {
462
+ "kind": "variable",
463
+ "name": "checkboxContainerStyles",
464
+ "default": "css`\n .t-checkbox-full-container {\n display: flex;\n justify-content: var(--t-label-right-default-justify, flex-start);\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n :host([disabled]) .t-checkbox-full-container {\n cursor: not-allowed;\n }\n .t-checkbox-container {\n --t-checkbox-size-box: 1.5rem;\n --t-checkbox-shadow-width: 2px;\n --t-checkbox-border-radius: 0.25rem;\n display: block;\n position: relative;\n height: var(--t-checkbox-size-box);\n width: var(--t-checkbox-size-box);\n min-width: var(--t-checkbox-size-box);\n }\n .t-checkbox-container .t-checkbox {\n position: absolute;\n opacity: 0;\n height: 0;\n width: 0;\n }\n @media only screen and (max-width: ${ScreenSizes.MOBILE}px) {\n .t-checkbox-container {\n --t-checkbox-size-box: 1rem;\n --t-checkbox-shadow-width: 1px;\n --t-checkbox-border-radius: 0.125rem;\n margin-top: 1px;\n }\n }\n`"
465
+ },
466
+ {
467
+ "kind": "variable",
468
+ "name": "checkboxCheckmarkStyles",
469
+ "default": "css`\n .t-checkbox-container .t-checkbox-checkmark {\n position: absolute;\n top: 0;\n left: 0;\n display: flex;\n height: var(--t-checkbox-size-box);\n width: var(--t-checkbox-size-box);\n border-radius: var(--t-checkbox-border-radius);\n background-color: var(--t-bg-color-primary);\n border: 1px solid var(--t-stroke-color-grey);\n box-sizing: border-box;\n }\n .t-checkbox-container .t-checkbox-checkmark tuix-icon {\n margin: auto;\n display: none;\n width: calc(var(--t-checkbox-size-box) - 0.5rem);\n height: calc(var(--t-checkbox-size-box) - 0.5rem);\n }\n .t-checkbox-container .t-checkbox:checked ~ .t-checkbox-checkmark {\n background-color: var(--t-main-color-tuix);\n border: none;\n }\n .t-checkbox-container .t-checkbox:focus ~ .t-checkbox-checkmark {\n box-shadow: 0 0 0px var(--t-checkbox-shadow-width)\n var(--t-stroke-color-focus);\n border: 1px solid var(--t-main-color-tuix);\n }\n .t-checkbox-container .t-checkbox:checked ~ .t-checkbox-checkmark tuix-icon {\n display: block;\n }\n .t-checkbox-full-container:hover .t-checkbox-container .t-checkbox-checkmark {\n border: 1px solid var(--t-main-color-tuix);\n }\n .t-checkbox-full-container.t-with-error\n .t-checkbox-container\n .t-checkbox-checkmark {\n border: 1px solid var(--t-text-color-error);\n }\n .t-checkbox-full-container.t-with-error\n .t-checkbox-container\n .t-checkbox:checked\n ~ .t-checkbox-checkmark {\n background-color: var(--t-text-color-error);\n border: none;\n }\n\n .t-checkbox-container .t-checkbox:disabled ~ .t-checkbox-checkmark {\n background-color: var(--t-bg-color-disabled);\n border: none;\n box-shadow: none;\n }\n`"
470
+ },
471
+ {
472
+ "kind": "variable",
473
+ "name": "checkboxLabelStyles",
474
+ "default": "css`\n .t-checkbox-label {\n display: block;\n color: var(--t-text-color-label);\n margin-left: 0.625rem;\n }\n .t-checkbox-full-container.t-with-label-left {\n flex-direction: row-reverse;\n justify-content: var(--t-label-left-default-justify, space-between);\n }\n .t-checkbox-full-container.t-with-label-left .t-checkbox-label {\n margin-right: 0.625rem;\n margin-left: 0;\n }\n`"
475
+ }
476
+ ],
477
+ "exports": [
478
+ {
479
+ "kind": "js",
480
+ "name": "hostStyles",
481
+ "declaration": {
482
+ "name": "hostStyles",
483
+ "module": "src/tuix-checkbox/TuixCheckbox.styles.ts"
484
+ }
485
+ },
486
+ {
487
+ "kind": "js",
488
+ "name": "checkboxContainerStyles",
489
+ "declaration": {
490
+ "name": "checkboxContainerStyles",
491
+ "module": "src/tuix-checkbox/TuixCheckbox.styles.ts"
492
+ }
493
+ },
494
+ {
495
+ "kind": "js",
496
+ "name": "checkboxCheckmarkStyles",
497
+ "declaration": {
498
+ "name": "checkboxCheckmarkStyles",
499
+ "module": "src/tuix-checkbox/TuixCheckbox.styles.ts"
500
+ }
501
+ },
502
+ {
503
+ "kind": "js",
504
+ "name": "checkboxLabelStyles",
505
+ "declaration": {
506
+ "name": "checkboxLabelStyles",
507
+ "module": "src/tuix-checkbox/TuixCheckbox.styles.ts"
508
+ }
509
+ }
510
+ ]
511
+ },
512
+ {
513
+ "kind": "javascript-module",
514
+ "path": "src/tuix-checkbox/TuixCheckbox.ts",
515
+ "declarations": [
516
+ {
517
+ "kind": "class",
518
+ "description": "",
519
+ "name": "TuixCheckbox",
520
+ "members": [
521
+ {
522
+ "kind": "field",
523
+ "name": "checked",
524
+ "type": {
525
+ "text": "boolean"
526
+ },
527
+ "default": "false",
528
+ "attribute": "checked"
529
+ },
530
+ {
531
+ "kind": "field",
532
+ "name": "disabled",
533
+ "type": {
534
+ "text": "boolean"
535
+ },
536
+ "default": "false",
537
+ "attribute": "disabled",
538
+ "reflects": true
539
+ },
540
+ {
541
+ "kind": "field",
542
+ "name": "dark",
543
+ "type": {
544
+ "text": "boolean"
545
+ },
546
+ "default": "false",
547
+ "attribute": "dark",
548
+ "reflects": true
549
+ },
550
+ {
551
+ "kind": "field",
552
+ "name": "error",
553
+ "type": {
554
+ "text": "boolean"
555
+ },
556
+ "default": "false",
557
+ "attribute": "error",
558
+ "reflects": true
559
+ },
560
+ {
561
+ "kind": "field",
562
+ "name": "label",
563
+ "type": {
564
+ "text": "string"
565
+ },
566
+ "default": "''",
567
+ "attribute": "label"
568
+ },
569
+ {
570
+ "kind": "field",
571
+ "name": "labelSide",
572
+ "type": {
573
+ "text": "CheckboxLabelSide"
574
+ },
575
+ "attribute": "labelSide"
576
+ },
577
+ {
578
+ "kind": "method",
579
+ "name": "_onCheckboxChange",
580
+ "privacy": "private",
581
+ "parameters": [
582
+ {
583
+ "name": "event",
584
+ "type": {
585
+ "text": "InputEvent"
586
+ }
587
+ }
588
+ ]
589
+ },
590
+ {
591
+ "kind": "method",
592
+ "name": "_getIconMode",
593
+ "privacy": "private"
594
+ },
595
+ {
596
+ "kind": "method",
597
+ "name": "_getFullContainerClasses",
598
+ "privacy": "private",
599
+ "return": {
600
+ "type": {
601
+ "text": "ClassInfo"
602
+ }
603
+ }
604
+ }
605
+ ],
606
+ "events": [
607
+ {
608
+ "name": "change",
609
+ "type": {
610
+ "text": "CustomEvent"
611
+ }
612
+ }
613
+ ],
614
+ "attributes": [
615
+ {
616
+ "name": "checked",
617
+ "type": {
618
+ "text": "boolean"
619
+ },
620
+ "default": "false",
621
+ "fieldName": "checked"
622
+ },
623
+ {
624
+ "name": "disabled",
625
+ "type": {
626
+ "text": "boolean"
627
+ },
628
+ "default": "false",
629
+ "fieldName": "disabled"
630
+ },
631
+ {
632
+ "name": "dark",
633
+ "type": {
634
+ "text": "boolean"
635
+ },
636
+ "default": "false",
637
+ "fieldName": "dark"
638
+ },
639
+ {
640
+ "name": "error",
641
+ "type": {
642
+ "text": "boolean"
643
+ },
644
+ "default": "false",
645
+ "fieldName": "error"
646
+ },
647
+ {
648
+ "name": "label",
649
+ "type": {
650
+ "text": "string"
651
+ },
652
+ "default": "''",
653
+ "fieldName": "label"
654
+ },
655
+ {
656
+ "name": "labelSide",
657
+ "type": {
658
+ "text": "CheckboxLabelSide"
659
+ },
660
+ "fieldName": "labelSide"
661
+ }
662
+ ],
663
+ "superclass": {
664
+ "name": "LitElement",
665
+ "package": "lit"
666
+ },
667
+ "tagName": "tuix-checkbox",
668
+ "customElement": true
669
+ }
670
+ ],
671
+ "exports": [
672
+ {
673
+ "kind": "js",
674
+ "name": "TuixCheckbox",
675
+ "declaration": {
676
+ "name": "TuixCheckbox",
677
+ "module": "src/tuix-checkbox/TuixCheckbox.ts"
678
+ }
679
+ },
680
+ {
681
+ "kind": "custom-element-definition",
682
+ "name": "tuix-checkbox",
683
+ "declaration": {
684
+ "name": "TuixCheckbox",
685
+ "module": "src/tuix-checkbox/TuixCheckbox.ts"
686
+ }
687
+ }
688
+ ]
689
+ },
452
690
  {
453
691
  "kind": "javascript-module",
454
692
  "path": "src/tuix-button/TuixBaseButton.ts",
@@ -796,343 +1034,105 @@
796
1034
  "type": {
797
1035
  "text": "IconSizeVariant"
798
1036
  }
799
- }
800
- ],
801
- "inheritedFrom": {
802
- "name": "TuixBaseButton",
803
- "module": "src/tuix-button/TuixBaseButton.ts"
804
- }
805
- }
806
- ],
807
- "attributes": [
808
- {
809
- "name": "full",
810
- "type": {
811
- "text": "boolean"
812
- },
813
- "default": "false",
814
- "fieldName": "full"
815
- },
816
- {
817
- "name": "iconRight",
818
- "type": {
819
- "text": "IconName | undefined"
820
- },
821
- "fieldName": "iconRight"
822
- },
823
- {
824
- "name": "iconLeft",
825
- "type": {
826
- "text": "IconName | undefined"
827
- },
828
- "fieldName": "iconLeft"
829
- },
830
- {
831
- "name": "variant",
832
- "fieldName": "variant",
833
- "inheritedFrom": {
834
- "name": "TuixBaseButton",
835
- "module": "src/tuix-button/TuixBaseButton.ts"
836
- }
837
- },
838
- {
839
- "name": "disabled",
840
- "type": {
841
- "text": "boolean"
842
- },
843
- "default": "false",
844
- "fieldName": "disabled",
845
- "inheritedFrom": {
846
- "name": "TuixBaseButton",
847
- "module": "src/tuix-button/TuixBaseButton.ts"
848
- }
849
- },
850
- {
851
- "name": "dark",
852
- "type": {
853
- "text": "boolean"
854
- },
855
- "default": "false",
856
- "fieldName": "dark",
857
- "inheritedFrom": {
858
- "name": "TuixBaseButton",
859
- "module": "src/tuix-button/TuixBaseButton.ts"
860
- }
861
- }
862
- ],
863
- "superclass": {
864
- "name": "TuixBaseButton",
865
- "module": "/src/tuix-button/TuixBaseButton"
866
- },
867
- "tagName": "tuix-button",
868
- "customElement": true,
869
- "events": [
870
- {
871
- "name": "customClick",
872
- "type": {
873
- "text": "CustomEvent"
874
- },
875
- "inheritedFrom": {
876
- "name": "TuixBaseButton",
877
- "module": "src/tuix-button/TuixBaseButton.ts"
878
- }
879
- }
880
- ]
881
- }
882
- ],
883
- "exports": [
884
- {
885
- "kind": "js",
886
- "name": "TuixButton",
887
- "declaration": {
888
- "name": "TuixButton",
889
- "module": "src/tuix-button/TuixButton.ts"
890
- }
891
- },
892
- {
893
- "kind": "custom-element-definition",
894
- "name": "tuix-button",
895
- "declaration": {
896
- "name": "TuixButton",
897
- "module": "src/tuix-button/TuixButton.ts"
898
- }
899
- }
900
- ]
901
- },
902
- {
903
- "kind": "javascript-module",
904
- "path": "src/tuix-checkbox/TuixCheckbox.styles.ts",
905
- "declarations": [
906
- {
907
- "kind": "variable",
908
- "name": "hostStyles",
909
- "default": "css`\n :host {\n --t-main-color-tuix: ${unsafeCSS(Palette.MAIN)};\n --t-bg-color-primary: ${unsafeCSS(Palette.WHITE)};\n --t-bg-color-disabled: ${unsafeCSS(Palette.PRIMARY_100)};\n --t-text-color-error: ${unsafeCSS(Palette.ERROR)};\n --t-stroke-color-focus: ${unsafeCSS(Palette.SECONDARY)};\n --t-stroke-color-grey: ${unsafeCSS(Palette.PRIMARY_300)};\n --t-text-color-label: ${unsafeCSS(Palette.BLACK)};\n --t-label-right-default-justify: flex-start;\n --t-label-left-default-justify: space-between;\n }\n :host([dark]) {\n --t-main-color-tuix: ${unsafeCSS(DarkPalette.MAIN)};\n --t-bg-color-primary: ${unsafeCSS(DarkPalette.BLACK)};\n --t-bg-color-disabled: ${unsafeCSS(DarkPalette.PRIMARY_800)};\n --t-text-color-error: ${unsafeCSS(DarkPalette.ERROR)};\n --t-stroke-color-focus: ${unsafeCSS(DarkPalette.SECONDARY)};\n --t-stroke-color-grey: ${unsafeCSS(DarkPalette.PRIMARY_100)};\n --t-text-color-label: ${unsafeCSS(DarkPalette.WHITE)};\n }\n`"
910
- },
911
- {
912
- "kind": "variable",
913
- "name": "checkboxContainerStyles",
914
- "default": "css`\n .t-checkbox-full-container {\n display: flex;\n justify-content: var(--t-label-right-default-justify, flex-start);\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n :host([disabled]) .t-checkbox-full-container {\n cursor: not-allowed;\n }\n .t-checkbox-container {\n --t-checkbox-size-box: 1.5rem;\n --t-checkbox-shadow-width: 2px;\n --t-checkbox-border-radius: 0.25rem;\n display: block;\n position: relative;\n height: var(--t-checkbox-size-box);\n width: var(--t-checkbox-size-box);\n min-width: var(--t-checkbox-size-box);\n }\n .t-checkbox-container .t-checkbox {\n position: absolute;\n opacity: 0;\n height: 0;\n width: 0;\n }\n @media only screen and (max-width: ${ScreenSizes.MOBILE}px) {\n .t-checkbox-container {\n --t-checkbox-size-box: 1rem;\n --t-checkbox-shadow-width: 1px;\n --t-checkbox-border-radius: 0.125rem;\n margin-top: 1px;\n }\n }\n`"
915
- },
916
- {
917
- "kind": "variable",
918
- "name": "checkboxCheckmarkStyles",
919
- "default": "css`\n .t-checkbox-container .t-checkbox-checkmark {\n position: absolute;\n top: 0;\n left: 0;\n display: flex;\n height: var(--t-checkbox-size-box);\n width: var(--t-checkbox-size-box);\n border-radius: var(--t-checkbox-border-radius);\n background-color: var(--t-bg-color-primary);\n border: 1px solid var(--t-stroke-color-grey);\n box-sizing: border-box;\n }\n .t-checkbox-container .t-checkbox-checkmark tuix-icon {\n margin: auto;\n display: none;\n width: calc(var(--t-checkbox-size-box) - 0.5rem);\n height: calc(var(--t-checkbox-size-box) - 0.5rem);\n }\n .t-checkbox-container .t-checkbox:checked ~ .t-checkbox-checkmark {\n background-color: var(--t-main-color-tuix);\n border: none;\n }\n .t-checkbox-container .t-checkbox:focus ~ .t-checkbox-checkmark {\n box-shadow: 0 0 0px var(--t-checkbox-shadow-width)\n var(--t-stroke-color-focus);\n border: 1px solid var(--t-main-color-tuix);\n }\n .t-checkbox-container .t-checkbox:checked ~ .t-checkbox-checkmark tuix-icon {\n display: block;\n }\n .t-checkbox-full-container:hover .t-checkbox-container .t-checkbox-checkmark {\n border: 1px solid var(--t-main-color-tuix);\n }\n .t-checkbox-full-container.t-with-error\n .t-checkbox-container\n .t-checkbox-checkmark {\n border: 1px solid var(--t-text-color-error);\n }\n .t-checkbox-full-container.t-with-error\n .t-checkbox-container\n .t-checkbox:checked\n ~ .t-checkbox-checkmark {\n background-color: var(--t-text-color-error);\n border: none;\n }\n\n .t-checkbox-container .t-checkbox:disabled ~ .t-checkbox-checkmark {\n background-color: var(--t-bg-color-disabled);\n border: none;\n box-shadow: none;\n }\n`"
920
- },
921
- {
922
- "kind": "variable",
923
- "name": "checkboxLabelStyles",
924
- "default": "css`\n .t-checkbox-label {\n display: block;\n color: var(--t-text-color-label);\n margin-left: 0.625rem;\n }\n .t-checkbox-full-container.t-with-label-left {\n flex-direction: row-reverse;\n justify-content: var(--t-label-left-default-justify, space-between);\n }\n .t-checkbox-full-container.t-with-label-left .t-checkbox-label {\n margin-right: 0.625rem;\n margin-left: 0;\n }\n`"
925
- }
926
- ],
927
- "exports": [
928
- {
929
- "kind": "js",
930
- "name": "hostStyles",
931
- "declaration": {
932
- "name": "hostStyles",
933
- "module": "src/tuix-checkbox/TuixCheckbox.styles.ts"
934
- }
935
- },
936
- {
937
- "kind": "js",
938
- "name": "checkboxContainerStyles",
939
- "declaration": {
940
- "name": "checkboxContainerStyles",
941
- "module": "src/tuix-checkbox/TuixCheckbox.styles.ts"
942
- }
943
- },
944
- {
945
- "kind": "js",
946
- "name": "checkboxCheckmarkStyles",
947
- "declaration": {
948
- "name": "checkboxCheckmarkStyles",
949
- "module": "src/tuix-checkbox/TuixCheckbox.styles.ts"
950
- }
951
- },
952
- {
953
- "kind": "js",
954
- "name": "checkboxLabelStyles",
955
- "declaration": {
956
- "name": "checkboxLabelStyles",
957
- "module": "src/tuix-checkbox/TuixCheckbox.styles.ts"
958
- }
959
- }
960
- ]
961
- },
962
- {
963
- "kind": "javascript-module",
964
- "path": "src/tuix-checkbox/TuixCheckbox.ts",
965
- "declarations": [
966
- {
967
- "kind": "class",
968
- "description": "",
969
- "name": "TuixCheckbox",
970
- "members": [
971
- {
972
- "kind": "field",
973
- "name": "checked",
974
- "type": {
975
- "text": "boolean"
976
- },
977
- "default": "false",
978
- "attribute": "checked"
979
- },
980
- {
981
- "kind": "field",
982
- "name": "disabled",
983
- "type": {
984
- "text": "boolean"
985
- },
986
- "default": "false",
987
- "attribute": "disabled",
988
- "reflects": true
989
- },
990
- {
991
- "kind": "field",
992
- "name": "dark",
993
- "type": {
994
- "text": "boolean"
995
- },
996
- "default": "false",
997
- "attribute": "dark",
998
- "reflects": true
999
- },
1000
- {
1001
- "kind": "field",
1002
- "name": "error",
1003
- "type": {
1004
- "text": "boolean"
1005
- },
1006
- "default": "false",
1007
- "attribute": "error",
1008
- "reflects": true
1009
- },
1010
- {
1011
- "kind": "field",
1012
- "name": "label",
1013
- "type": {
1014
- "text": "string"
1015
- },
1016
- "default": "''",
1017
- "attribute": "label"
1018
- },
1019
- {
1020
- "kind": "field",
1021
- "name": "labelSide",
1022
- "type": {
1023
- "text": "CheckboxLabelSide"
1024
- },
1025
- "attribute": "labelSide"
1026
- },
1027
- {
1028
- "kind": "method",
1029
- "name": "_onCheckboxChange",
1030
- "privacy": "private",
1031
- "parameters": [
1032
- {
1033
- "name": "event",
1034
- "type": {
1035
- "text": "InputEvent"
1036
- }
1037
- }
1038
- ]
1039
- },
1040
- {
1041
- "kind": "method",
1042
- "name": "_getIconMode",
1043
- "privacy": "private"
1044
- },
1045
- {
1046
- "kind": "method",
1047
- "name": "_getFullContainerClasses",
1048
- "privacy": "private",
1049
- "return": {
1050
- "type": {
1051
- "text": "ClassInfo"
1052
- }
1053
- }
1054
- }
1055
- ],
1056
- "events": [
1057
- {
1058
- "name": "change",
1059
- "type": {
1060
- "text": "CustomEvent"
1037
+ }
1038
+ ],
1039
+ "inheritedFrom": {
1040
+ "name": "TuixBaseButton",
1041
+ "module": "src/tuix-button/TuixBaseButton.ts"
1061
1042
  }
1062
1043
  }
1063
1044
  ],
1064
1045
  "attributes": [
1065
1046
  {
1066
- "name": "checked",
1047
+ "name": "full",
1067
1048
  "type": {
1068
1049
  "text": "boolean"
1069
1050
  },
1070
1051
  "default": "false",
1071
- "fieldName": "checked"
1052
+ "fieldName": "full"
1072
1053
  },
1073
1054
  {
1074
- "name": "disabled",
1055
+ "name": "iconRight",
1075
1056
  "type": {
1076
- "text": "boolean"
1057
+ "text": "IconName | undefined"
1077
1058
  },
1078
- "default": "false",
1079
- "fieldName": "disabled"
1059
+ "fieldName": "iconRight"
1080
1060
  },
1081
1061
  {
1082
- "name": "dark",
1062
+ "name": "iconLeft",
1083
1063
  "type": {
1084
- "text": "boolean"
1064
+ "text": "IconName | undefined"
1085
1065
  },
1086
- "default": "false",
1087
- "fieldName": "dark"
1066
+ "fieldName": "iconLeft"
1088
1067
  },
1089
1068
  {
1090
- "name": "error",
1091
- "type": {
1092
- "text": "boolean"
1093
- },
1094
- "default": "false",
1095
- "fieldName": "error"
1069
+ "name": "variant",
1070
+ "fieldName": "variant",
1071
+ "inheritedFrom": {
1072
+ "name": "TuixBaseButton",
1073
+ "module": "src/tuix-button/TuixBaseButton.ts"
1074
+ }
1096
1075
  },
1097
1076
  {
1098
- "name": "label",
1077
+ "name": "disabled",
1099
1078
  "type": {
1100
- "text": "string"
1079
+ "text": "boolean"
1101
1080
  },
1102
- "default": "''",
1103
- "fieldName": "label"
1081
+ "default": "false",
1082
+ "fieldName": "disabled",
1083
+ "inheritedFrom": {
1084
+ "name": "TuixBaseButton",
1085
+ "module": "src/tuix-button/TuixBaseButton.ts"
1086
+ }
1104
1087
  },
1105
1088
  {
1106
- "name": "labelSide",
1089
+ "name": "dark",
1107
1090
  "type": {
1108
- "text": "CheckboxLabelSide"
1091
+ "text": "boolean"
1109
1092
  },
1110
- "fieldName": "labelSide"
1093
+ "default": "false",
1094
+ "fieldName": "dark",
1095
+ "inheritedFrom": {
1096
+ "name": "TuixBaseButton",
1097
+ "module": "src/tuix-button/TuixBaseButton.ts"
1098
+ }
1111
1099
  }
1112
1100
  ],
1113
1101
  "superclass": {
1114
- "name": "LitElement",
1115
- "package": "lit"
1102
+ "name": "TuixBaseButton",
1103
+ "module": "/src/tuix-button/TuixBaseButton"
1116
1104
  },
1117
- "tagName": "tuix-checkbox",
1118
- "customElement": true
1105
+ "tagName": "tuix-button",
1106
+ "customElement": true,
1107
+ "events": [
1108
+ {
1109
+ "name": "customClick",
1110
+ "type": {
1111
+ "text": "CustomEvent"
1112
+ },
1113
+ "inheritedFrom": {
1114
+ "name": "TuixBaseButton",
1115
+ "module": "src/tuix-button/TuixBaseButton.ts"
1116
+ }
1117
+ }
1118
+ ]
1119
1119
  }
1120
1120
  ],
1121
1121
  "exports": [
1122
1122
  {
1123
1123
  "kind": "js",
1124
- "name": "TuixCheckbox",
1124
+ "name": "TuixButton",
1125
1125
  "declaration": {
1126
- "name": "TuixCheckbox",
1127
- "module": "src/tuix-checkbox/TuixCheckbox.ts"
1126
+ "name": "TuixButton",
1127
+ "module": "src/tuix-button/TuixButton.ts"
1128
1128
  }
1129
1129
  },
1130
1130
  {
1131
1131
  "kind": "custom-element-definition",
1132
- "name": "tuix-checkbox",
1132
+ "name": "tuix-button",
1133
1133
  "declaration": {
1134
- "name": "TuixCheckbox",
1135
- "module": "src/tuix-checkbox/TuixCheckbox.ts"
1134
+ "name": "TuixButton",
1135
+ "module": "src/tuix-button/TuixButton.ts"
1136
1136
  }
1137
1137
  }
1138
1138
  ]
@@ -4618,37 +4618,53 @@
4618
4618
  },
4619
4619
  {
4620
4620
  "kind": "javascript-module",
4621
- "path": "src/tuix-button/enums/tuix-button.enums.ts",
4621
+ "path": "src/tuix-checkbox/enums/tuix-checkbox.enums.ts",
4622
4622
  "declarations": [
4623
4623
  {
4624
4624
  "kind": "variable",
4625
- "name": "buttonTextColor",
4625
+ "name": "CheckboxIconColorLight",
4626
4626
  "type": {
4627
- "text": "Record<MainVariant, string>"
4627
+ "text": "object"
4628
4628
  },
4629
- "default": "{\n [MainVariant.PRIMARY]: Palette.WHITE,\n [MainVariant.SECONDARY]: Palette.MAIN,\n}"
4629
+ "default": "{\n [CheckboxIconMode.DEFAULT]: Palette.WHITE,\n [CheckboxIconMode.DISABLED]: Palette.PRIMARY_300,\n [CheckboxIconMode.ERROR]: Palette.WHITE,\n}"
4630
+ },
4631
+ {
4632
+ "kind": "variable",
4633
+ "name": "CheckboxIconColorDark",
4634
+ "type": {
4635
+ "text": "object"
4636
+ },
4637
+ "default": "{\n [CheckboxIconMode.DEFAULT]: DarkPalette.WHITE,\n [CheckboxIconMode.DISABLED]: DarkPalette.PRIMARY_100,\n [CheckboxIconMode.ERROR]: DarkPalette.WHITE,\n}"
4630
4638
  }
4631
4639
  ],
4632
4640
  "exports": [
4633
4641
  {
4634
4642
  "kind": "js",
4635
- "name": "buttonTextColor",
4643
+ "name": "CheckboxIconColorLight",
4636
4644
  "declaration": {
4637
- "name": "buttonTextColor",
4638
- "module": "src/tuix-button/enums/tuix-button.enums.ts"
4645
+ "name": "CheckboxIconColorLight",
4646
+ "module": "src/tuix-checkbox/enums/tuix-checkbox.enums.ts"
4647
+ }
4648
+ },
4649
+ {
4650
+ "kind": "js",
4651
+ "name": "CheckboxIconColorDark",
4652
+ "declaration": {
4653
+ "name": "CheckboxIconColorDark",
4654
+ "module": "src/tuix-checkbox/enums/tuix-checkbox.enums.ts"
4639
4655
  }
4640
4656
  }
4641
4657
  ]
4642
4658
  },
4643
4659
  {
4644
4660
  "kind": "javascript-module",
4645
- "path": "src/tuix-button/interfaces/tuix-button.interface.ts",
4661
+ "path": "src/tuix-checkbox/interfaces/tuix-checkbox.interface.ts",
4646
4662
  "declarations": [],
4647
4663
  "exports": []
4648
4664
  },
4649
4665
  {
4650
4666
  "kind": "javascript-module",
4651
- "path": "src/tuix-button/stories/tuix-button.stories.ts",
4667
+ "path": "src/tuix-checkbox/stories/tuix-checkbox.stories.ts",
4652
4668
  "declarations": [
4653
4669
  {
4654
4670
  "kind": "variable",
@@ -4656,15 +4672,15 @@
4656
4672
  "type": {
4657
4673
  "text": "object"
4658
4674
  },
4659
- "default": "{\n title: 'TuixButton',\n component: 'tuix-button',\n argTypes: {\n value: {\n control: 'text',\n },\n variant: {\n control: 'inline-radio',\n options: Object.values(MainVariant),\n },\n iconLeft: {\n control: 'select',\n options: ['', ...[...Object.values(IconName), null]],\n },\n iconRight: {\n control: 'select',\n options: ['', ...[...Object.values(IconName), null]],\n },\n disabled: { control: 'boolean' },\n dark: { control: 'boolean' },\n full: { control: 'boolean' },\n onClick: { action: 'customClick' },\n },\n render: (args: ArgTypes) => html`\n <div\n style=\"width:100%; height:100vh; ${args.dark\n ? `background-color: ${Palette.BLACK};`\n : ''}\"\n >\n <div style=\"width:50%; margin:auto; height:100%; position:relative;\">\n <tuix-button\n style=\"width:100%; height:20%; text-align:center; position:absolute; top:50%;\"\n .variant=${args.variant}\n .iconLeft=${args.iconLeft}\n .iconRight=${args.iconRight}\n ?disabled=${args.disabled}\n ?dark=${args.dark}\n ?full=${args.full}\n @customClick=${(e: CustomEventTuixButton) => args.onClick?.(e)}\n >\n ${args.value}\n </tuix-button>\n </div>\n </div>\n `,\n}"
4675
+ "default": "{\n title: 'TuixCheckbox',\n component: 'tuix-checkbox',\n argTypes: {\n checked: {\n control: 'boolean',\n },\n disabled: {\n control: 'boolean',\n },\n dark: {\n control: 'boolean',\n },\n error: {\n control: 'boolean',\n },\n label: {\n control: 'text',\n },\n labelSide: {\n control: 'select',\n options: [...Object.values(CheckboxLabelSide)],\n },\n onChange: { action: 'change' },\n },\n render: (args: ArgTypes) => html`\n <div\n style=\"display: flex; justify-content: center; align-items: center; height: 100vh; ${args.dark\n ? 'background-color:' + Palette.BLACK + ';'\n : ''}}\"\n >\n <div\n style=\"max-width: 300px; display: flex; gap: 16px; flex-direction: column\"\n >\n <tuix-checkbox\n ?checked=\"${args.checked}\"\n ?disabled=\"${args.disabled}\"\n ?dark=\"${args.dark}\"\n ?error=\"${args.error}\"\n label=\"${args.label}\"\n labelSide=\"${args.labelSide}\"\n @change=\"${args.onChange}\"\n ></tuix-checkbox>\n <tuix-checkbox\n ?checked=\"${args.checked}\"\n ?disabled=\"${args.disabled}\"\n ?dark=\"${args.dark}\"\n ?error=\"${args.error}\"\n labelSide=\"${args.labelSide}\"\n @change=\"${args.onChange}\"\n >\n <tuix-text\n size=\"${TextSize.FieldPlaceholder}\"\n color=\"${TextVariant.PRIMARY}\"\n ?dark=\"${args.dark}\"\n >\n Label from slot using a long text with max-width container\n </tuix-text>\n </tuix-checkbox>\n </div>\n </div>\n `,\n}"
4660
4676
  },
4661
4677
  {
4662
4678
  "kind": "variable",
4663
- "name": "Button",
4679
+ "name": "tuixCheckboxExample",
4664
4680
  "type": {
4665
4681
  "text": "Story"
4666
4682
  },
4667
- "default": "{\n args: {\n value: 'Click me',\n variant: MainVariant.PRIMARY,\n disabled: false,\n dark: false,\n full: false,\n iconLeft: null,\n iconRight: null,\n },\n}"
4683
+ "default": "{\n args: {\n checked: false,\n disabled: false,\n dark: false,\n error: false,\n label: 'Label from property',\n labelSide: CheckboxLabelSide.RIGHT,\n },\n}"
4668
4684
  }
4669
4685
  ],
4670
4686
  "exports": [
@@ -4673,68 +4689,46 @@
4673
4689
  "name": "default",
4674
4690
  "declaration": {
4675
4691
  "name": "meta",
4676
- "module": "src/tuix-button/stories/tuix-button.stories.ts"
4692
+ "module": "src/tuix-checkbox/stories/tuix-checkbox.stories.ts"
4677
4693
  }
4678
4694
  },
4679
4695
  {
4680
4696
  "kind": "js",
4681
- "name": "Button",
4697
+ "name": "tuixCheckboxExample",
4682
4698
  "declaration": {
4683
- "name": "Button",
4684
- "module": "src/tuix-button/stories/tuix-button.stories.ts"
4699
+ "name": "tuixCheckboxExample",
4700
+ "module": "src/tuix-checkbox/stories/tuix-checkbox.stories.ts"
4685
4701
  }
4686
4702
  }
4687
4703
  ]
4688
4704
  },
4689
4705
  {
4690
4706
  "kind": "javascript-module",
4691
- "path": "src/tuix-checkbox/enums/tuix-checkbox.enums.ts",
4707
+ "path": "src/tuix-button/enums/tuix-button.enums.ts",
4692
4708
  "declarations": [
4693
4709
  {
4694
4710
  "kind": "variable",
4695
- "name": "CheckboxIconColorLight",
4696
- "type": {
4697
- "text": "object"
4698
- },
4699
- "default": "{\n [CheckboxIconMode.DEFAULT]: Palette.WHITE,\n [CheckboxIconMode.DISABLED]: Palette.PRIMARY_300,\n [CheckboxIconMode.ERROR]: Palette.WHITE,\n}"
4700
- },
4701
- {
4702
- "kind": "variable",
4703
- "name": "CheckboxIconColorDark",
4711
+ "name": "buttonTextColor",
4704
4712
  "type": {
4705
- "text": "object"
4713
+ "text": "Record<MainVariant, string>"
4706
4714
  },
4707
- "default": "{\n [CheckboxIconMode.DEFAULT]: DarkPalette.WHITE,\n [CheckboxIconMode.DISABLED]: DarkPalette.PRIMARY_100,\n [CheckboxIconMode.ERROR]: DarkPalette.WHITE,\n}"
4715
+ "default": "{\n [MainVariant.PRIMARY]: Palette.WHITE,\n [MainVariant.SECONDARY]: Palette.MAIN,\n}"
4708
4716
  }
4709
4717
  ],
4710
4718
  "exports": [
4711
4719
  {
4712
4720
  "kind": "js",
4713
- "name": "CheckboxIconColorLight",
4714
- "declaration": {
4715
- "name": "CheckboxIconColorLight",
4716
- "module": "src/tuix-checkbox/enums/tuix-checkbox.enums.ts"
4717
- }
4718
- },
4719
- {
4720
- "kind": "js",
4721
- "name": "CheckboxIconColorDark",
4721
+ "name": "buttonTextColor",
4722
4722
  "declaration": {
4723
- "name": "CheckboxIconColorDark",
4724
- "module": "src/tuix-checkbox/enums/tuix-checkbox.enums.ts"
4723
+ "name": "buttonTextColor",
4724
+ "module": "src/tuix-button/enums/tuix-button.enums.ts"
4725
4725
  }
4726
4726
  }
4727
4727
  ]
4728
4728
  },
4729
4729
  {
4730
4730
  "kind": "javascript-module",
4731
- "path": "src/tuix-checkbox/interfaces/tuix-checkbox.interface.ts",
4732
- "declarations": [],
4733
- "exports": []
4734
- },
4735
- {
4736
- "kind": "javascript-module",
4737
- "path": "src/tuix-checkbox/stories/tuix-checkbox.stories.ts",
4731
+ "path": "src/tuix-button/stories/tuix-button.stories.ts",
4738
4732
  "declarations": [
4739
4733
  {
4740
4734
  "kind": "variable",
@@ -4742,15 +4736,15 @@
4742
4736
  "type": {
4743
4737
  "text": "object"
4744
4738
  },
4745
- "default": "{\n title: 'TuixCheckbox',\n component: 'tuix-checkbox',\n argTypes: {\n checked: {\n control: 'boolean',\n },\n disabled: {\n control: 'boolean',\n },\n dark: {\n control: 'boolean',\n },\n error: {\n control: 'boolean',\n },\n label: {\n control: 'text',\n },\n labelSide: {\n control: 'select',\n options: [...Object.values(CheckboxLabelSide)],\n },\n onChange: { action: 'change' },\n },\n render: (args: ArgTypes) => html`\n <div\n style=\"display: flex; justify-content: center; align-items: center; height: 100vh; ${args.dark\n ? 'background-color:' + Palette.BLACK + ';'\n : ''}}\"\n >\n <div\n style=\"max-width: 300px; display: flex; gap: 16px; flex-direction: column\"\n >\n <tuix-checkbox\n ?checked=\"${args.checked}\"\n ?disabled=\"${args.disabled}\"\n ?dark=\"${args.dark}\"\n ?error=\"${args.error}\"\n label=\"${args.label}\"\n labelSide=\"${args.labelSide}\"\n @change=\"${args.onChange}\"\n ></tuix-checkbox>\n <tuix-checkbox\n ?checked=\"${args.checked}\"\n ?disabled=\"${args.disabled}\"\n ?dark=\"${args.dark}\"\n ?error=\"${args.error}\"\n labelSide=\"${args.labelSide}\"\n @change=\"${args.onChange}\"\n >\n <tuix-text\n size=\"${TextSize.FieldPlaceholder}\"\n color=\"${TextVariant.PRIMARY}\"\n ?dark=\"${args.dark}\"\n >\n Label from slot using a long text with max-width container\n </tuix-text>\n </tuix-checkbox>\n </div>\n </div>\n `,\n}"
4739
+ "default": "{\n title: 'TuixButton',\n component: 'tuix-button',\n argTypes: {\n value: {\n control: 'text',\n },\n variant: {\n control: 'inline-radio',\n options: Object.values(MainVariant),\n },\n iconLeft: {\n control: 'select',\n options: ['', ...[...Object.values(IconName), null]],\n },\n iconRight: {\n control: 'select',\n options: ['', ...[...Object.values(IconName), null]],\n },\n disabled: { control: 'boolean' },\n dark: { control: 'boolean' },\n full: { control: 'boolean' },\n onClick: { action: 'customClick' },\n },\n render: (args: ArgTypes) => html`\n <div\n style=\"width:100%; height:100vh; ${args.dark\n ? `background-color: ${Palette.BLACK};`\n : ''}\"\n >\n <div style=\"width:50%; margin:auto; height:100%; position:relative;\">\n <tuix-button\n style=\"width:100%; height:20%; text-align:center; position:absolute; top:50%;\"\n .variant=${args.variant}\n .iconLeft=${args.iconLeft}\n .iconRight=${args.iconRight}\n ?disabled=${args.disabled}\n ?dark=${args.dark}\n ?full=${args.full}\n @customClick=${(e: CustomEventTuixButton) => args.onClick?.(e)}\n >\n ${args.value}\n </tuix-button>\n </div>\n </div>\n `,\n}"
4746
4740
  },
4747
4741
  {
4748
4742
  "kind": "variable",
4749
- "name": "tuixCheckboxExample",
4743
+ "name": "Button",
4750
4744
  "type": {
4751
4745
  "text": "Story"
4752
4746
  },
4753
- "default": "{\n args: {\n checked: false,\n disabled: false,\n dark: false,\n error: false,\n label: 'Label from property',\n labelSide: CheckboxLabelSide.RIGHT,\n },\n}"
4747
+ "default": "{\n args: {\n value: 'Click me',\n variant: MainVariant.PRIMARY,\n disabled: false,\n dark: false,\n full: false,\n iconLeft: null,\n iconRight: null,\n },\n}"
4754
4748
  }
4755
4749
  ],
4756
4750
  "exports": [
@@ -4759,19 +4753,25 @@
4759
4753
  "name": "default",
4760
4754
  "declaration": {
4761
4755
  "name": "meta",
4762
- "module": "src/tuix-checkbox/stories/tuix-checkbox.stories.ts"
4756
+ "module": "src/tuix-button/stories/tuix-button.stories.ts"
4763
4757
  }
4764
4758
  },
4765
4759
  {
4766
4760
  "kind": "js",
4767
- "name": "tuixCheckboxExample",
4761
+ "name": "Button",
4768
4762
  "declaration": {
4769
- "name": "tuixCheckboxExample",
4770
- "module": "src/tuix-checkbox/stories/tuix-checkbox.stories.ts"
4763
+ "name": "Button",
4764
+ "module": "src/tuix-button/stories/tuix-button.stories.ts"
4771
4765
  }
4772
4766
  }
4773
4767
  ]
4774
4768
  },
4769
+ {
4770
+ "kind": "javascript-module",
4771
+ "path": "src/tuix-button/interfaces/tuix-button.interface.ts",
4772
+ "declarations": [],
4773
+ "exports": []
4774
+ },
4775
4775
  {
4776
4776
  "kind": "javascript-module",
4777
4777
  "path": "src/tuix-dropdown/enums/tuix-dropdown.enums.ts",
@@ -4864,30 +4864,6 @@
4864
4864
  }
4865
4865
  ]
4866
4866
  },
4867
- {
4868
- "kind": "javascript-module",
4869
- "path": "src/tuix-icon/enums/tuix-icon.enums.ts",
4870
- "declarations": [
4871
- {
4872
- "kind": "variable",
4873
- "name": "iconSize",
4874
- "type": {
4875
- "text": "Record<IconSizeVariant, string>"
4876
- },
4877
- "default": "{\n [IconSizeVariant.SMALL]: '16px',\n [IconSizeVariant.MEDIUM]: '24px',\n [IconSizeVariant.LARGE]: '32px',\n [IconSizeVariant.FULL]: '100%',\n}"
4878
- }
4879
- ],
4880
- "exports": [
4881
- {
4882
- "kind": "js",
4883
- "name": "iconSize",
4884
- "declaration": {
4885
- "name": "iconSize",
4886
- "module": "src/tuix-icon/enums/tuix-icon.enums.ts"
4887
- }
4888
- }
4889
- ]
4890
- },
4891
4867
  {
4892
4868
  "kind": "javascript-module",
4893
4869
  "path": "src/tuix-icon/stories/tuix-icon.stories.ts",
@@ -4928,6 +4904,30 @@
4928
4904
  }
4929
4905
  ]
4930
4906
  },
4907
+ {
4908
+ "kind": "javascript-module",
4909
+ "path": "src/tuix-icon/enums/tuix-icon.enums.ts",
4910
+ "declarations": [
4911
+ {
4912
+ "kind": "variable",
4913
+ "name": "iconSize",
4914
+ "type": {
4915
+ "text": "Record<IconSizeVariant, string>"
4916
+ },
4917
+ "default": "{\n [IconSizeVariant.SMALL]: '16px',\n [IconSizeVariant.MEDIUM]: '24px',\n [IconSizeVariant.LARGE]: '32px',\n [IconSizeVariant.FULL]: '100%',\n}"
4918
+ }
4919
+ ],
4920
+ "exports": [
4921
+ {
4922
+ "kind": "js",
4923
+ "name": "iconSize",
4924
+ "declaration": {
4925
+ "name": "iconSize",
4926
+ "module": "src/tuix-icon/enums/tuix-icon.enums.ts"
4927
+ }
4928
+ }
4929
+ ]
4930
+ },
4931
4931
  {
4932
4932
  "kind": "javascript-module",
4933
4933
  "path": "src/tuix-icon-button/stories/tuix-icon-button.stories.ts",
@@ -5220,12 +5220,6 @@
5220
5220
  }
5221
5221
  ]
5222
5222
  },
5223
- {
5224
- "kind": "javascript-module",
5225
- "path": "src/tuix-radio-button/interfaces/tuix-radio-button.interface.ts",
5226
- "declarations": [],
5227
- "exports": []
5228
- },
5229
5223
  {
5230
5224
  "kind": "javascript-module",
5231
5225
  "path": "src/tuix-radio-button/stories/tuix-radio-button.stories.ts",
@@ -5266,6 +5260,12 @@
5266
5260
  }
5267
5261
  ]
5268
5262
  },
5263
+ {
5264
+ "kind": "javascript-module",
5265
+ "path": "src/tuix-radio-button/interfaces/tuix-radio-button.interface.ts",
5266
+ "declarations": [],
5267
+ "exports": []
5268
+ },
5269
5269
  {
5270
5270
  "kind": "javascript-module",
5271
5271
  "path": "src/tuix-table/interfaces/tuix-table.interface.ts",
@@ -5322,7 +5322,7 @@
5322
5322
  "type": {
5323
5323
  "text": "Record<TextVariant, string>"
5324
5324
  },
5325
- "default": "{\n [TextVariant.MAIN]: Palette.MAIN,\n [TextVariant.DARK_MAIN]: Palette.DARK_MAIN,\n [TextVariant.PRIMARY]: Palette.BLACK,\n [TextVariant.SECONDARY]: Palette.WHITE,\n [TextVariant.STROKE]: Palette.PRIMARY_400,\n [TextVariant.GREY]: Palette.NEUTRAL_600,\n [TextVariant.LIGHT_GREY]: Palette.NEUTRAL_200,\n [TextVariant.DISABLED]: Palette.PRIMARY_100,\n [TextVariant.SECTION]: Palette.PRIMARY_700,\n [TextVariant.VALIDATION]: Palette.VALIDATION,\n [TextVariant.ERROR]: Palette.ERROR,\n [TextVariant.SUCCESS]: Palette.SUCCESS,\n [TextVariant.LIGHT]: Palette.WHITE,\n [TextVariant.DARK]: Palette.BLACK,\n [TextVariant.DARK_BLUE]: Palette.DARK_MAIN,\n [TextVariant.TITLE_BLUE]: Palette.DARK_MAIN,\n}"
5325
+ "default": "{\n [TextVariant.MAIN]: Palette.MAIN,\n [TextVariant.DARK_MAIN]: Palette.DARK_MAIN,\n [TextVariant.PRIMARY]: Palette.BLACK,\n [TextVariant.SECONDARY]: Palette.WHITE,\n [TextVariant.STROKE]: Palette.PRIMARY_400,\n [TextVariant.GREY]: Palette.NEUTRAL_600,\n [TextVariant.LIGHT_GREY]: Palette.NEUTRAL_200,\n [TextVariant.DISABLED]: Palette.PRIMARY_100,\n [TextVariant.SECTION]: Palette.PRIMARY_700,\n [TextVariant.VALIDATION]: Palette.VALIDATION,\n [TextVariant.ERROR]: Palette.ERROR,\n [TextVariant.SUCCESS]: Palette.SUCCESS,\n [TextVariant.LIGHT]: Palette.WHITE,\n [TextVariant.DARK]: Palette.BLACK,\n [TextVariant.DARK_BLUE]: Palette.DARK_MAIN,\n [TextVariant.TITLE_BLUE]: Palette.DARK_MAIN,\n [TextVariant.FIELD_TEXT]: Palette.PRIMARY_900,\n}"
5326
5326
  },
5327
5327
  {
5328
5328
  "kind": "variable",
@@ -5330,7 +5330,7 @@
5330
5330
  "type": {
5331
5331
  "text": "Record<TextVariant, string>"
5332
5332
  },
5333
- "default": "{\n ...colorText,\n [TextVariant.MAIN]: DarkPalette.MAIN,\n [TextVariant.DARK_MAIN]: DarkPalette.NEUTRAL_600,\n [TextVariant.PRIMARY]: DarkPalette.PRIMARY_50,\n [TextVariant.SECONDARY]: Palette.BLACK,\n [TextVariant.GREY]: DarkPalette.NEUTRAL_600,\n [TextVariant.DISABLED]: Palette.PRIMARY_200,\n [TextVariant.VALIDATION]: DarkPalette.VALIDATION,\n [TextVariant.ERROR]: DarkPalette.ERROR,\n [TextVariant.SUCCESS]: DarkPalette.SUCCESS,\n [TextVariant.LIGHT]: DarkPalette.PRIMARY_50,\n [TextVariant.DARK_BLUE]: DarkPalette.PRIMARY_800,\n [TextVariant.TITLE_BLUE]: DarkPalette.PRIMARY_300,\n [TextVariant.SECTION]: Palette.PRIMARY_300,\n}"
5333
+ "default": "{\n ...colorText,\n [TextVariant.MAIN]: DarkPalette.MAIN,\n [TextVariant.DARK_MAIN]: DarkPalette.NEUTRAL_600,\n [TextVariant.PRIMARY]: DarkPalette.PRIMARY_50,\n [TextVariant.SECONDARY]: Palette.BLACK,\n [TextVariant.GREY]: DarkPalette.NEUTRAL_600,\n [TextVariant.DISABLED]: Palette.PRIMARY_200,\n [TextVariant.VALIDATION]: DarkPalette.VALIDATION,\n [TextVariant.ERROR]: DarkPalette.ERROR,\n [TextVariant.SUCCESS]: DarkPalette.SUCCESS,\n [TextVariant.LIGHT]: DarkPalette.PRIMARY_50,\n [TextVariant.DARK_BLUE]: DarkPalette.PRIMARY_800,\n [TextVariant.TITLE_BLUE]: DarkPalette.PRIMARY_300,\n [TextVariant.SECTION]: Palette.PRIMARY_300,\n [TextVariant.FIELD_TEXT]: DarkPalette.PRIMARY_50,\n}"
5334
5334
  }
5335
5335
  ],
5336
5336
  "exports": [
@@ -30,7 +30,8 @@ export declare enum TextVariant {
30
30
  DARK_BLUE = "dark_blue",
31
31
  TITLE_BLUE = "title_blue",
32
32
  SECTION = "section",
33
- STROKE = "stroke"
33
+ STROKE = "stroke",
34
+ FIELD_TEXT = "field_text"
34
35
  }
35
36
  export declare const colorText: Record<TextVariant, string>;
36
37
  export declare const colorTextDark: Record<TextVariant, string>;
@@ -35,6 +35,7 @@ export var TextVariant;
35
35
  TextVariant["TITLE_BLUE"] = "title_blue";
36
36
  TextVariant["SECTION"] = "section";
37
37
  TextVariant["STROKE"] = "stroke";
38
+ TextVariant["FIELD_TEXT"] = "field_text";
38
39
  })(TextVariant || (TextVariant = {}));
39
40
  export const colorText = {
40
41
  [TextVariant.MAIN]: Palette.MAIN,
@@ -53,6 +54,7 @@ export const colorText = {
53
54
  [TextVariant.DARK]: Palette.BLACK,
54
55
  [TextVariant.DARK_BLUE]: Palette.DARK_MAIN,
55
56
  [TextVariant.TITLE_BLUE]: Palette.DARK_MAIN,
57
+ [TextVariant.FIELD_TEXT]: Palette.PRIMARY_900,
56
58
  };
57
59
  export const colorTextDark = {
58
60
  ...colorText,
@@ -69,4 +71,5 @@ export const colorTextDark = {
69
71
  [TextVariant.DARK_BLUE]: DarkPalette.PRIMARY_800,
70
72
  [TextVariant.TITLE_BLUE]: DarkPalette.PRIMARY_300,
71
73
  [TextVariant.SECTION]: Palette.PRIMARY_300,
74
+ [TextVariant.FIELD_TEXT]: DarkPalette.PRIMARY_50,
72
75
  };
package/package.json CHANGED
@@ -138,5 +138,5 @@
138
138
  "test": "echo \"No tests configured\""
139
139
  },
140
140
  "type": "module",
141
- "version": "0.0.38"
141
+ "version": "0.0.39"
142
142
  }