tuix-webcomponents 0.0.37 → 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.
package/custom-elements.json
CHANGED
|
@@ -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",
|
|
@@ -759,380 +997,142 @@
|
|
|
759
997
|
},
|
|
760
998
|
{
|
|
761
999
|
"kind": "method",
|
|
762
|
-
"name": "_getTextColor",
|
|
763
|
-
"privacy": "protected",
|
|
764
|
-
"inheritedFrom": {
|
|
765
|
-
"name": "TuixBaseButton",
|
|
766
|
-
"module": "src/tuix-button/TuixBaseButton.ts"
|
|
767
|
-
}
|
|
768
|
-
},
|
|
769
|
-
{
|
|
770
|
-
"kind": "method",
|
|
771
|
-
"name": "_handleClick",
|
|
772
|
-
"privacy": "protected",
|
|
773
|
-
"inheritedFrom": {
|
|
774
|
-
"name": "TuixBaseButton",
|
|
775
|
-
"module": "src/tuix-button/TuixBaseButton.ts"
|
|
776
|
-
}
|
|
777
|
-
},
|
|
778
|
-
{
|
|
779
|
-
"kind": "method",
|
|
780
|
-
"name": "_iconTemplate",
|
|
781
|
-
"privacy": "protected",
|
|
782
|
-
"return": {
|
|
783
|
-
"type": {
|
|
784
|
-
"text": "TemplateResult"
|
|
785
|
-
}
|
|
786
|
-
},
|
|
787
|
-
"parameters": [
|
|
788
|
-
{
|
|
789
|
-
"name": "iconName",
|
|
790
|
-
"type": {
|
|
791
|
-
"text": "IconName"
|
|
792
|
-
}
|
|
793
|
-
},
|
|
794
|
-
{
|
|
795
|
-
"name": "iconSize",
|
|
796
|
-
"type": {
|
|
797
|
-
"text": "IconSizeVariant"
|
|
798
|
-
}
|
|
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"
|
|
1000
|
+
"name": "_getTextColor",
|
|
1001
|
+
"privacy": "protected",
|
|
1002
|
+
"inheritedFrom": {
|
|
1003
|
+
"name": "TuixBaseButton",
|
|
1004
|
+
"module": "src/tuix-button/TuixBaseButton.ts"
|
|
1005
|
+
}
|
|
1044
1006
|
},
|
|
1045
1007
|
{
|
|
1046
1008
|
"kind": "method",
|
|
1047
|
-
"name": "
|
|
1048
|
-
"privacy": "
|
|
1009
|
+
"name": "_handleClick",
|
|
1010
|
+
"privacy": "protected",
|
|
1011
|
+
"inheritedFrom": {
|
|
1012
|
+
"name": "TuixBaseButton",
|
|
1013
|
+
"module": "src/tuix-button/TuixBaseButton.ts"
|
|
1014
|
+
}
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
"kind": "method",
|
|
1018
|
+
"name": "_iconTemplate",
|
|
1019
|
+
"privacy": "protected",
|
|
1049
1020
|
"return": {
|
|
1050
1021
|
"type": {
|
|
1051
|
-
"text": "
|
|
1022
|
+
"text": "TemplateResult"
|
|
1052
1023
|
}
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1024
|
+
},
|
|
1025
|
+
"parameters": [
|
|
1026
|
+
{
|
|
1027
|
+
"name": "iconName",
|
|
1028
|
+
"type": {
|
|
1029
|
+
"text": "IconName"
|
|
1030
|
+
}
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"name": "iconSize",
|
|
1034
|
+
"type": {
|
|
1035
|
+
"text": "IconSizeVariant"
|
|
1036
|
+
}
|
|
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": "
|
|
1047
|
+
"name": "full",
|
|
1067
1048
|
"type": {
|
|
1068
1049
|
"text": "boolean"
|
|
1069
1050
|
},
|
|
1070
1051
|
"default": "false",
|
|
1071
|
-
"fieldName": "
|
|
1052
|
+
"fieldName": "full"
|
|
1072
1053
|
},
|
|
1073
1054
|
{
|
|
1074
|
-
"name": "
|
|
1055
|
+
"name": "iconRight",
|
|
1075
1056
|
"type": {
|
|
1076
|
-
"text": "
|
|
1057
|
+
"text": "IconName | undefined"
|
|
1077
1058
|
},
|
|
1078
|
-
"
|
|
1079
|
-
"fieldName": "disabled"
|
|
1059
|
+
"fieldName": "iconRight"
|
|
1080
1060
|
},
|
|
1081
1061
|
{
|
|
1082
|
-
"name": "
|
|
1062
|
+
"name": "iconLeft",
|
|
1083
1063
|
"type": {
|
|
1084
|
-
"text": "
|
|
1064
|
+
"text": "IconName | undefined"
|
|
1085
1065
|
},
|
|
1086
|
-
"
|
|
1087
|
-
"fieldName": "dark"
|
|
1066
|
+
"fieldName": "iconLeft"
|
|
1088
1067
|
},
|
|
1089
1068
|
{
|
|
1090
|
-
"name": "
|
|
1091
|
-
"
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
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": "
|
|
1077
|
+
"name": "disabled",
|
|
1099
1078
|
"type": {
|
|
1100
|
-
"text": "
|
|
1079
|
+
"text": "boolean"
|
|
1101
1080
|
},
|
|
1102
|
-
"default": "
|
|
1103
|
-
"fieldName": "
|
|
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": "
|
|
1089
|
+
"name": "dark",
|
|
1107
1090
|
"type": {
|
|
1108
|
-
"text": "
|
|
1091
|
+
"text": "boolean"
|
|
1109
1092
|
},
|
|
1110
|
-
"
|
|
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": "
|
|
1115
|
-
"
|
|
1102
|
+
"name": "TuixBaseButton",
|
|
1103
|
+
"module": "/src/tuix-button/TuixBaseButton"
|
|
1116
1104
|
},
|
|
1117
|
-
"tagName": "tuix-
|
|
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": "
|
|
1124
|
+
"name": "TuixButton",
|
|
1125
1125
|
"declaration": {
|
|
1126
|
-
"name": "
|
|
1127
|
-
"module": "src/tuix-
|
|
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-
|
|
1132
|
+
"name": "tuix-button",
|
|
1133
1133
|
"declaration": {
|
|
1134
|
-
"name": "
|
|
1135
|
-
"module": "src/tuix-
|
|
1134
|
+
"name": "TuixButton",
|
|
1135
|
+
"module": "src/tuix-button/TuixButton.ts"
|
|
1136
1136
|
}
|
|
1137
1137
|
}
|
|
1138
1138
|
]
|
|
@@ -3063,6 +3063,112 @@
|
|
|
3063
3063
|
}
|
|
3064
3064
|
]
|
|
3065
3065
|
},
|
|
3066
|
+
{
|
|
3067
|
+
"kind": "javascript-module",
|
|
3068
|
+
"path": "src/tuix-paper/TuixPaper.styles.ts",
|
|
3069
|
+
"declarations": [
|
|
3070
|
+
{
|
|
3071
|
+
"kind": "variable",
|
|
3072
|
+
"name": "paperStyles",
|
|
3073
|
+
"default": "css`\n ${unsafeCSS(`\n .elevation {\n background-color: ${Palette.WHITE};\n }\n .elevation.dark_${PaperElevation.VARIANT_0} {\n background-color: ${Palette.BLACK};\n }\n ${calculatedStyles}\n .elevation.variant_${PaperElevation.VARIANT_4} {\n box-shadow: 0px 7px 24px ${Palette.SHADOW};\n }\n .elevation.dark_${PaperElevation.VARIANT_4} {\n background-color: rgb(33, 33, 40);\n }\n`)}\n`"
|
|
3074
|
+
}
|
|
3075
|
+
],
|
|
3076
|
+
"exports": [
|
|
3077
|
+
{
|
|
3078
|
+
"kind": "js",
|
|
3079
|
+
"name": "paperStyles",
|
|
3080
|
+
"declaration": {
|
|
3081
|
+
"name": "paperStyles",
|
|
3082
|
+
"module": "src/tuix-paper/TuixPaper.styles.ts"
|
|
3083
|
+
}
|
|
3084
|
+
}
|
|
3085
|
+
]
|
|
3086
|
+
},
|
|
3087
|
+
{
|
|
3088
|
+
"kind": "javascript-module",
|
|
3089
|
+
"path": "src/tuix-paper/TuixPaper.ts",
|
|
3090
|
+
"declarations": [
|
|
3091
|
+
{
|
|
3092
|
+
"kind": "class",
|
|
3093
|
+
"description": "",
|
|
3094
|
+
"name": "TuixPaper",
|
|
3095
|
+
"members": [
|
|
3096
|
+
{
|
|
3097
|
+
"kind": "field",
|
|
3098
|
+
"name": "elevation",
|
|
3099
|
+
"attribute": "elevation"
|
|
3100
|
+
},
|
|
3101
|
+
{
|
|
3102
|
+
"kind": "field",
|
|
3103
|
+
"name": "borderRadius",
|
|
3104
|
+
"attribute": "border-radius"
|
|
3105
|
+
},
|
|
3106
|
+
{
|
|
3107
|
+
"kind": "field",
|
|
3108
|
+
"name": "dark",
|
|
3109
|
+
"type": {
|
|
3110
|
+
"text": "boolean"
|
|
3111
|
+
},
|
|
3112
|
+
"default": "false",
|
|
3113
|
+
"attribute": "dark",
|
|
3114
|
+
"reflects": true
|
|
3115
|
+
},
|
|
3116
|
+
{
|
|
3117
|
+
"kind": "method",
|
|
3118
|
+
"name": "_getOptionalClasses",
|
|
3119
|
+
"privacy": "private",
|
|
3120
|
+
"return": {
|
|
3121
|
+
"type": {
|
|
3122
|
+
"text": "ClassInfo"
|
|
3123
|
+
}
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
3126
|
+
],
|
|
3127
|
+
"attributes": [
|
|
3128
|
+
{
|
|
3129
|
+
"name": "elevation",
|
|
3130
|
+
"fieldName": "elevation"
|
|
3131
|
+
},
|
|
3132
|
+
{
|
|
3133
|
+
"name": "border-radius",
|
|
3134
|
+
"fieldName": "borderRadius"
|
|
3135
|
+
},
|
|
3136
|
+
{
|
|
3137
|
+
"name": "dark",
|
|
3138
|
+
"type": {
|
|
3139
|
+
"text": "boolean"
|
|
3140
|
+
},
|
|
3141
|
+
"default": "false",
|
|
3142
|
+
"fieldName": "dark"
|
|
3143
|
+
}
|
|
3144
|
+
],
|
|
3145
|
+
"superclass": {
|
|
3146
|
+
"name": "LitElement",
|
|
3147
|
+
"package": "lit"
|
|
3148
|
+
},
|
|
3149
|
+
"tagName": "tuix-paper",
|
|
3150
|
+
"customElement": true
|
|
3151
|
+
}
|
|
3152
|
+
],
|
|
3153
|
+
"exports": [
|
|
3154
|
+
{
|
|
3155
|
+
"kind": "js",
|
|
3156
|
+
"name": "TuixPaper",
|
|
3157
|
+
"declaration": {
|
|
3158
|
+
"name": "TuixPaper",
|
|
3159
|
+
"module": "src/tuix-paper/TuixPaper.ts"
|
|
3160
|
+
}
|
|
3161
|
+
},
|
|
3162
|
+
{
|
|
3163
|
+
"kind": "custom-element-definition",
|
|
3164
|
+
"name": "tuix-paper",
|
|
3165
|
+
"declaration": {
|
|
3166
|
+
"name": "TuixPaper",
|
|
3167
|
+
"module": "src/tuix-paper/TuixPaper.ts"
|
|
3168
|
+
}
|
|
3169
|
+
}
|
|
3170
|
+
]
|
|
3171
|
+
},
|
|
3066
3172
|
{
|
|
3067
3173
|
"kind": "javascript-module",
|
|
3068
3174
|
"path": "src/tuix-radio-button/TuixRadioButton.styles.ts",
|
|
@@ -3930,43 +4036,56 @@
|
|
|
3930
4036
|
},
|
|
3931
4037
|
{
|
|
3932
4038
|
"kind": "javascript-module",
|
|
3933
|
-
"path": "src/tuix-
|
|
4039
|
+
"path": "src/tuix-text/TuixText.styles.ts",
|
|
3934
4040
|
"declarations": [
|
|
3935
4041
|
{
|
|
3936
4042
|
"kind": "variable",
|
|
3937
|
-
"name": "
|
|
3938
|
-
"default": "css`\n ${unsafeCSS(`\n .
|
|
4043
|
+
"name": "linkFontStyles",
|
|
4044
|
+
"default": "css`\n ${unsafeCSS(`\n ${slottedClassName(TextSize.Link)} {\n font-family: 'Rubik', sans-serif;\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.25rem;\n }\n @media only screen and (max-width: ${ScreenSizes.TABLET}px) {\n ${slottedClassName(TextSize.Link)} {\n font-size: 0.938rem;\n line-height: 1.125rem;\n }\n }\n @media only screen and (max-width: ${ScreenSizes.MOBILE}px) {\n ${slottedClassName(TextSize.Link)} {\n font-size: 0.875rem;\n line-height: 1rem;\n }\n }\n`)}\n`"
|
|
4045
|
+
},
|
|
4046
|
+
{
|
|
4047
|
+
"kind": "variable",
|
|
4048
|
+
"name": "textStyles",
|
|
4049
|
+
"default": "css`\n ${unsafeCSS(`\n ${slottedClassName(TextSize.XXL)} {\n font-size: 6rem;\n font-weight: 600;\n line-height: 6.25rem;\n }\n ${slottedClassName(TextSize.XL)} {\n font-size: 3.375rem;\n font-weight: 600;\n line-height: 3.688rem;\n }\n\n ${slottedClassName(TextSize.L)} {\n font-size: 2.813rem;\n font-weight: 600;\n line-height: 3.375rem;\n }\n\n ${slottedClassName(TextSize.M)} {\n font-size: 2.313rem;\n font-weight: 600;\n line-height: 2.75rem;\n }\n\n ${slottedClassName(TextSize.S)} {\n font-size: 1.938rem;\n font-weight: 600;\n line-height: 2.313rem;\n }\n\n ${slottedClassName(TextSize.XS)} {\n font-size: 1.313rem;\n font-weight: 600;\n line-height: 1.563rem;\n }\n\n ${slottedClassName(TextSize.Body1)} {\n font-size: 1.125rem;\n font-weight: 300;\n line-height: 1.688rem;\n }\n\n ${slottedClassName(TextSize.Body2)} {\n font-size: 0.938rem;\n font-weight: 300;\n line-height: 1.313rem;\n }\n\n ${slottedClassName(TextSize.BulletList)} {\n font-size: 1.125rem;\n font-weight: 300;\n line-height: 1.375rem;\n }\n\n ${slottedClassName(TextSize.FieldPlaceholder)} {\n font-size: 1rem;\n font-weight: 300;\n line-height: 1.25rem;\n }\n\n ${slottedClassName(TextSize.FieldTitle)} {\n font-size: 0.75rem;\n font-weight: 300;\n line-height: 0.875rem;\n }\n\n ${slottedClassName(TextSize.FieldDescription)} {\n font-size: 0.75rem;\n font-weight: 300;\n line-height: 0.875rem;\n }\n\n @media only screen and (max-width: ${ScreenSizes.TABLET}px) {\n ${slottedClassName(TextSize.XXL)} {\n font-size: 3rem;\n font-weight: 600;\n line-height: 3.3125rem;\n }\n ${slottedClassName(TextSize.XL)} {\n font-size: 3rem;\n line-height: 3.313rem;\n }\n ${slottedClassName(TextSize.L)} {\n font-size: 2.5rem;\n line-height: 3rem;\n }\n ${slottedClassName(TextSize.M)} {\n font-size: 2.063rem;\n line-height: 2.5rem;\n }\n ${slottedClassName(TextSize.S)} {\n font-size: 1.75rem;\n line-height: 2.125rem;\n }\n ${slottedClassName(TextSize.XS)} {\n font-size: 1.188rem;\n line-height: 1.438rem;\n }\n\n ${slottedClassName(TextSize.Body1)} {\n font-size: 1rem;\n line-height: 1.5rem;\n }\n\n ${slottedClassName(TextSize.Body2)} {\n font-size: 0.875rem;\n line-height: 1.125rem;\n }\n\n ${slottedClassName(TextSize.BulletList)} {\n font-size: 1rem;\n line-height: 1.1875rem;\n }\n\n ${slottedClassName(TextSize.FieldPlaceholder)} {\n font-size: 0.938rem;\n line-height: 1.125rem;\n }\n }\n\n @media only screen and (max-width: ${ScreenSizes.MOBILE}px) {\n ${slottedClassName(TextSize.XXL)} {\n font-size: 1.8125rem;\n font-weight: 600;\n line-height: 2rem;\n }\n ${slottedClassName(TextSize.XL)} {\n font-size: 2.625rem;\n line-height: 2.875rem;\n }\n ${slottedClassName(TextSize.L)} {\n font-size: 2.188rem;\n line-height: 2.4375rem;\n }\n ${slottedClassName(TextSize.M)} {\n font-size: 1.813rem;\n line-height: 2rem;\n }\n ${slottedClassName(TextSize.S)} {\n font-size: 1.5rem;\n line-height: 1.625rem;\n }\n ${slottedClassName(TextSize.XS)} {\n font-size: 1.063rem;\n line-height: 1.1875rem;\n }\n ${slottedClassName(TextSize.Body1)} {\n font-size: 0.875rem;\n font-weight: 300;\n line-height: 1.313rem;\n }\n ${slottedClassName(TextSize.Body2)} {\n font-size: 0.75rem;\n line-height: 1rem;\n }\n ${slottedClassName(TextSize.BulletList)} {\n font-size: 0.875rem;\n font-weight: 300;\n line-height: 1.0625rem;\n }\n ${slottedClassName(TextSize.FieldPlaceholder)} {\n font-size: 0.875rem;\n font-weight: 300;\n line-height: 1rem;\n }\n }\n`)}\n`"
|
|
3939
4050
|
}
|
|
3940
4051
|
],
|
|
3941
4052
|
"exports": [
|
|
3942
4053
|
{
|
|
3943
4054
|
"kind": "js",
|
|
3944
|
-
"name": "
|
|
4055
|
+
"name": "linkFontStyles",
|
|
4056
|
+
"declaration": {
|
|
4057
|
+
"name": "linkFontStyles",
|
|
4058
|
+
"module": "src/tuix-text/TuixText.styles.ts"
|
|
4059
|
+
}
|
|
4060
|
+
},
|
|
4061
|
+
{
|
|
4062
|
+
"kind": "js",
|
|
4063
|
+
"name": "textStyles",
|
|
3945
4064
|
"declaration": {
|
|
3946
|
-
"name": "
|
|
3947
|
-
"module": "src/tuix-
|
|
4065
|
+
"name": "textStyles",
|
|
4066
|
+
"module": "src/tuix-text/TuixText.styles.ts"
|
|
3948
4067
|
}
|
|
3949
4068
|
}
|
|
3950
4069
|
]
|
|
3951
4070
|
},
|
|
3952
4071
|
{
|
|
3953
4072
|
"kind": "javascript-module",
|
|
3954
|
-
"path": "src/tuix-
|
|
4073
|
+
"path": "src/tuix-text/TuixText.ts",
|
|
3955
4074
|
"declarations": [
|
|
3956
4075
|
{
|
|
3957
4076
|
"kind": "class",
|
|
3958
4077
|
"description": "",
|
|
3959
|
-
"name": "
|
|
4078
|
+
"name": "TuixText",
|
|
3960
4079
|
"members": [
|
|
3961
4080
|
{
|
|
3962
4081
|
"kind": "field",
|
|
3963
|
-
"name": "
|
|
3964
|
-
"attribute": "
|
|
4082
|
+
"name": "size",
|
|
4083
|
+
"attribute": "size"
|
|
3965
4084
|
},
|
|
3966
4085
|
{
|
|
3967
4086
|
"kind": "field",
|
|
3968
|
-
"name": "
|
|
3969
|
-
"attribute": "
|
|
4087
|
+
"name": "color",
|
|
4088
|
+
"attribute": "color"
|
|
3970
4089
|
},
|
|
3971
4090
|
{
|
|
3972
4091
|
"kind": "field",
|
|
@@ -3980,23 +4099,28 @@
|
|
|
3980
4099
|
},
|
|
3981
4100
|
{
|
|
3982
4101
|
"kind": "method",
|
|
3983
|
-
"name": "
|
|
3984
|
-
"privacy": "private"
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
4102
|
+
"name": "_getTextColor",
|
|
4103
|
+
"privacy": "private"
|
|
4104
|
+
},
|
|
4105
|
+
{
|
|
4106
|
+
"kind": "field",
|
|
4107
|
+
"name": "_getStyleMap",
|
|
4108
|
+
"privacy": "private"
|
|
4109
|
+
},
|
|
4110
|
+
{
|
|
4111
|
+
"kind": "field",
|
|
4112
|
+
"name": "_getClassMap",
|
|
4113
|
+
"privacy": "private"
|
|
3990
4114
|
}
|
|
3991
4115
|
],
|
|
3992
4116
|
"attributes": [
|
|
3993
4117
|
{
|
|
3994
|
-
"name": "
|
|
3995
|
-
"fieldName": "
|
|
4118
|
+
"name": "size",
|
|
4119
|
+
"fieldName": "size"
|
|
3996
4120
|
},
|
|
3997
4121
|
{
|
|
3998
|
-
"name": "
|
|
3999
|
-
"fieldName": "
|
|
4122
|
+
"name": "color",
|
|
4123
|
+
"fieldName": "color"
|
|
4000
4124
|
},
|
|
4001
4125
|
{
|
|
4002
4126
|
"name": "dark",
|
|
@@ -4011,25 +4135,25 @@
|
|
|
4011
4135
|
"name": "LitElement",
|
|
4012
4136
|
"package": "lit"
|
|
4013
4137
|
},
|
|
4014
|
-
"tagName": "tuix-
|
|
4138
|
+
"tagName": "tuix-text",
|
|
4015
4139
|
"customElement": true
|
|
4016
4140
|
}
|
|
4017
4141
|
],
|
|
4018
4142
|
"exports": [
|
|
4019
4143
|
{
|
|
4020
4144
|
"kind": "js",
|
|
4021
|
-
"name": "
|
|
4145
|
+
"name": "TuixText",
|
|
4022
4146
|
"declaration": {
|
|
4023
|
-
"name": "
|
|
4024
|
-
"module": "src/tuix-
|
|
4147
|
+
"name": "TuixText",
|
|
4148
|
+
"module": "src/tuix-text/TuixText.ts"
|
|
4025
4149
|
}
|
|
4026
4150
|
},
|
|
4027
4151
|
{
|
|
4028
4152
|
"kind": "custom-element-definition",
|
|
4029
|
-
"name": "tuix-
|
|
4153
|
+
"name": "tuix-text",
|
|
4030
4154
|
"declaration": {
|
|
4031
|
-
"name": "
|
|
4032
|
-
"module": "src/tuix-
|
|
4155
|
+
"name": "TuixText",
|
|
4156
|
+
"module": "src/tuix-text/TuixText.ts"
|
|
4033
4157
|
}
|
|
4034
4158
|
}
|
|
4035
4159
|
]
|
|
@@ -4198,130 +4322,6 @@
|
|
|
4198
4322
|
}
|
|
4199
4323
|
]
|
|
4200
4324
|
},
|
|
4201
|
-
{
|
|
4202
|
-
"kind": "javascript-module",
|
|
4203
|
-
"path": "src/tuix-text/TuixText.styles.ts",
|
|
4204
|
-
"declarations": [
|
|
4205
|
-
{
|
|
4206
|
-
"kind": "variable",
|
|
4207
|
-
"name": "linkFontStyles",
|
|
4208
|
-
"default": "css`\n ${unsafeCSS(`\n ${slottedClassName(TextSize.Link)} {\n font-family: 'Rubik', sans-serif;\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.25rem;\n }\n @media only screen and (max-width: ${ScreenSizes.TABLET}px) {\n ${slottedClassName(TextSize.Link)} {\n font-size: 0.938rem;\n line-height: 1.125rem;\n }\n }\n @media only screen and (max-width: ${ScreenSizes.MOBILE}px) {\n ${slottedClassName(TextSize.Link)} {\n font-size: 0.875rem;\n line-height: 1rem;\n }\n }\n`)}\n`"
|
|
4209
|
-
},
|
|
4210
|
-
{
|
|
4211
|
-
"kind": "variable",
|
|
4212
|
-
"name": "textStyles",
|
|
4213
|
-
"default": "css`\n ${unsafeCSS(`\n ${slottedClassName(TextSize.XXL)} {\n font-size: 6rem;\n font-weight: 600;\n line-height: 6.25rem;\n }\n ${slottedClassName(TextSize.XL)} {\n font-size: 3.375rem;\n font-weight: 600;\n line-height: 3.688rem;\n }\n\n ${slottedClassName(TextSize.L)} {\n font-size: 2.813rem;\n font-weight: 600;\n line-height: 3.375rem;\n }\n\n ${slottedClassName(TextSize.M)} {\n font-size: 2.313rem;\n font-weight: 600;\n line-height: 2.75rem;\n }\n\n ${slottedClassName(TextSize.S)} {\n font-size: 1.938rem;\n font-weight: 600;\n line-height: 2.313rem;\n }\n\n ${slottedClassName(TextSize.XS)} {\n font-size: 1.313rem;\n font-weight: 600;\n line-height: 1.563rem;\n }\n\n ${slottedClassName(TextSize.Body1)} {\n font-size: 1.125rem;\n font-weight: 300;\n line-height: 1.688rem;\n }\n\n ${slottedClassName(TextSize.Body2)} {\n font-size: 0.938rem;\n font-weight: 300;\n line-height: 1.313rem;\n }\n\n ${slottedClassName(TextSize.BulletList)} {\n font-size: 1.125rem;\n font-weight: 300;\n line-height: 1.375rem;\n }\n\n ${slottedClassName(TextSize.FieldPlaceholder)} {\n font-size: 1rem;\n font-weight: 300;\n line-height: 1.25rem;\n }\n\n ${slottedClassName(TextSize.FieldTitle)} {\n font-size: 0.75rem;\n font-weight: 300;\n line-height: 0.875rem;\n }\n\n ${slottedClassName(TextSize.FieldDescription)} {\n font-size: 0.75rem;\n font-weight: 300;\n line-height: 0.875rem;\n }\n\n @media only screen and (max-width: ${ScreenSizes.TABLET}px) {\n ${slottedClassName(TextSize.XXL)} {\n font-size: 3rem;\n font-weight: 600;\n line-height: 3.3125rem;\n }\n ${slottedClassName(TextSize.XL)} {\n font-size: 3rem;\n line-height: 3.313rem;\n }\n ${slottedClassName(TextSize.L)} {\n font-size: 2.5rem;\n line-height: 3rem;\n }\n ${slottedClassName(TextSize.M)} {\n font-size: 2.063rem;\n line-height: 2.5rem;\n }\n ${slottedClassName(TextSize.S)} {\n font-size: 1.75rem;\n line-height: 2.125rem;\n }\n ${slottedClassName(TextSize.XS)} {\n font-size: 1.188rem;\n line-height: 1.438rem;\n }\n\n ${slottedClassName(TextSize.Body1)} {\n font-size: 1rem;\n line-height: 1.5rem;\n }\n\n ${slottedClassName(TextSize.Body2)} {\n font-size: 0.875rem;\n line-height: 1.125rem;\n }\n\n ${slottedClassName(TextSize.BulletList)} {\n font-size: 1rem;\n line-height: 1.1875rem;\n }\n\n ${slottedClassName(TextSize.FieldPlaceholder)} {\n font-size: 0.938rem;\n line-height: 1.125rem;\n }\n }\n\n @media only screen and (max-width: ${ScreenSizes.MOBILE}px) {\n ${slottedClassName(TextSize.XXL)} {\n font-size: 1.8125rem;\n font-weight: 600;\n line-height: 2rem;\n }\n ${slottedClassName(TextSize.XL)} {\n font-size: 2.625rem;\n line-height: 2.875rem;\n }\n ${slottedClassName(TextSize.L)} {\n font-size: 2.188rem;\n line-height: 2.4375rem;\n }\n ${slottedClassName(TextSize.M)} {\n font-size: 1.813rem;\n line-height: 2rem;\n }\n ${slottedClassName(TextSize.S)} {\n font-size: 1.5rem;\n line-height: 1.625rem;\n }\n ${slottedClassName(TextSize.XS)} {\n font-size: 1.063rem;\n line-height: 1.1875rem;\n }\n ${slottedClassName(TextSize.Body1)} {\n font-size: 0.875rem;\n font-weight: 300;\n line-height: 1.313rem;\n }\n ${slottedClassName(TextSize.Body2)} {\n font-size: 0.75rem;\n line-height: 1rem;\n }\n ${slottedClassName(TextSize.BulletList)} {\n font-size: 0.875rem;\n font-weight: 300;\n line-height: 1.0625rem;\n }\n ${slottedClassName(TextSize.FieldPlaceholder)} {\n font-size: 0.875rem;\n font-weight: 300;\n line-height: 1rem;\n }\n }\n`)}\n`"
|
|
4214
|
-
}
|
|
4215
|
-
],
|
|
4216
|
-
"exports": [
|
|
4217
|
-
{
|
|
4218
|
-
"kind": "js",
|
|
4219
|
-
"name": "linkFontStyles",
|
|
4220
|
-
"declaration": {
|
|
4221
|
-
"name": "linkFontStyles",
|
|
4222
|
-
"module": "src/tuix-text/TuixText.styles.ts"
|
|
4223
|
-
}
|
|
4224
|
-
},
|
|
4225
|
-
{
|
|
4226
|
-
"kind": "js",
|
|
4227
|
-
"name": "textStyles",
|
|
4228
|
-
"declaration": {
|
|
4229
|
-
"name": "textStyles",
|
|
4230
|
-
"module": "src/tuix-text/TuixText.styles.ts"
|
|
4231
|
-
}
|
|
4232
|
-
}
|
|
4233
|
-
]
|
|
4234
|
-
},
|
|
4235
|
-
{
|
|
4236
|
-
"kind": "javascript-module",
|
|
4237
|
-
"path": "src/tuix-text/TuixText.ts",
|
|
4238
|
-
"declarations": [
|
|
4239
|
-
{
|
|
4240
|
-
"kind": "class",
|
|
4241
|
-
"description": "",
|
|
4242
|
-
"name": "TuixText",
|
|
4243
|
-
"members": [
|
|
4244
|
-
{
|
|
4245
|
-
"kind": "field",
|
|
4246
|
-
"name": "size",
|
|
4247
|
-
"attribute": "size"
|
|
4248
|
-
},
|
|
4249
|
-
{
|
|
4250
|
-
"kind": "field",
|
|
4251
|
-
"name": "color",
|
|
4252
|
-
"attribute": "color"
|
|
4253
|
-
},
|
|
4254
|
-
{
|
|
4255
|
-
"kind": "field",
|
|
4256
|
-
"name": "dark",
|
|
4257
|
-
"type": {
|
|
4258
|
-
"text": "boolean"
|
|
4259
|
-
},
|
|
4260
|
-
"default": "false",
|
|
4261
|
-
"attribute": "dark",
|
|
4262
|
-
"reflects": true
|
|
4263
|
-
},
|
|
4264
|
-
{
|
|
4265
|
-
"kind": "method",
|
|
4266
|
-
"name": "_getTextColor",
|
|
4267
|
-
"privacy": "private"
|
|
4268
|
-
},
|
|
4269
|
-
{
|
|
4270
|
-
"kind": "field",
|
|
4271
|
-
"name": "_getStyleMap",
|
|
4272
|
-
"privacy": "private"
|
|
4273
|
-
},
|
|
4274
|
-
{
|
|
4275
|
-
"kind": "field",
|
|
4276
|
-
"name": "_getClassMap",
|
|
4277
|
-
"privacy": "private"
|
|
4278
|
-
}
|
|
4279
|
-
],
|
|
4280
|
-
"attributes": [
|
|
4281
|
-
{
|
|
4282
|
-
"name": "size",
|
|
4283
|
-
"fieldName": "size"
|
|
4284
|
-
},
|
|
4285
|
-
{
|
|
4286
|
-
"name": "color",
|
|
4287
|
-
"fieldName": "color"
|
|
4288
|
-
},
|
|
4289
|
-
{
|
|
4290
|
-
"name": "dark",
|
|
4291
|
-
"type": {
|
|
4292
|
-
"text": "boolean"
|
|
4293
|
-
},
|
|
4294
|
-
"default": "false",
|
|
4295
|
-
"fieldName": "dark"
|
|
4296
|
-
}
|
|
4297
|
-
],
|
|
4298
|
-
"superclass": {
|
|
4299
|
-
"name": "LitElement",
|
|
4300
|
-
"package": "lit"
|
|
4301
|
-
},
|
|
4302
|
-
"tagName": "tuix-text",
|
|
4303
|
-
"customElement": true
|
|
4304
|
-
}
|
|
4305
|
-
],
|
|
4306
|
-
"exports": [
|
|
4307
|
-
{
|
|
4308
|
-
"kind": "js",
|
|
4309
|
-
"name": "TuixText",
|
|
4310
|
-
"declaration": {
|
|
4311
|
-
"name": "TuixText",
|
|
4312
|
-
"module": "src/tuix-text/TuixText.ts"
|
|
4313
|
-
}
|
|
4314
|
-
},
|
|
4315
|
-
{
|
|
4316
|
-
"kind": "custom-element-definition",
|
|
4317
|
-
"name": "tuix-text",
|
|
4318
|
-
"declaration": {
|
|
4319
|
-
"name": "TuixText",
|
|
4320
|
-
"module": "src/tuix-text/TuixText.ts"
|
|
4321
|
-
}
|
|
4322
|
-
}
|
|
4323
|
-
]
|
|
4324
|
-
},
|
|
4325
4325
|
{
|
|
4326
4326
|
"kind": "javascript-module",
|
|
4327
4327
|
"path": "src/tuix-toggle-button/TuixToggleButton.styles.ts",
|
|
@@ -4606,82 +4606,12 @@
|
|
|
4606
4606
|
"kind": "javascript-module",
|
|
4607
4607
|
"path": "src/utils/slottedClassName.ts",
|
|
4608
4608
|
"declarations": [],
|
|
4609
|
-
"exports": [
|
|
4610
|
-
{
|
|
4611
|
-
"kind": "js",
|
|
4612
|
-
"name": "default",
|
|
4613
|
-
"declaration": {
|
|
4614
|
-
"module": "src/utils/slottedClassName.ts"
|
|
4615
|
-
}
|
|
4616
|
-
}
|
|
4617
|
-
]
|
|
4618
|
-
},
|
|
4619
|
-
{
|
|
4620
|
-
"kind": "javascript-module",
|
|
4621
|
-
"path": "src/tuix-button/enums/tuix-button.enums.ts",
|
|
4622
|
-
"declarations": [
|
|
4623
|
-
{
|
|
4624
|
-
"kind": "variable",
|
|
4625
|
-
"name": "buttonTextColor",
|
|
4626
|
-
"type": {
|
|
4627
|
-
"text": "Record<MainVariant, string>"
|
|
4628
|
-
},
|
|
4629
|
-
"default": "{\n [MainVariant.PRIMARY]: Palette.WHITE,\n [MainVariant.SECONDARY]: Palette.MAIN,\n}"
|
|
4630
|
-
}
|
|
4631
|
-
],
|
|
4632
|
-
"exports": [
|
|
4633
|
-
{
|
|
4634
|
-
"kind": "js",
|
|
4635
|
-
"name": "buttonTextColor",
|
|
4636
|
-
"declaration": {
|
|
4637
|
-
"name": "buttonTextColor",
|
|
4638
|
-
"module": "src/tuix-button/enums/tuix-button.enums.ts"
|
|
4639
|
-
}
|
|
4640
|
-
}
|
|
4641
|
-
]
|
|
4642
|
-
},
|
|
4643
|
-
{
|
|
4644
|
-
"kind": "javascript-module",
|
|
4645
|
-
"path": "src/tuix-button/interfaces/tuix-button.interface.ts",
|
|
4646
|
-
"declarations": [],
|
|
4647
|
-
"exports": []
|
|
4648
|
-
},
|
|
4649
|
-
{
|
|
4650
|
-
"kind": "javascript-module",
|
|
4651
|
-
"path": "src/tuix-button/stories/tuix-button.stories.ts",
|
|
4652
|
-
"declarations": [
|
|
4653
|
-
{
|
|
4654
|
-
"kind": "variable",
|
|
4655
|
-
"name": "meta",
|
|
4656
|
-
"type": {
|
|
4657
|
-
"text": "object"
|
|
4658
|
-
},
|
|
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}"
|
|
4660
|
-
},
|
|
4661
|
-
{
|
|
4662
|
-
"kind": "variable",
|
|
4663
|
-
"name": "Button",
|
|
4664
|
-
"type": {
|
|
4665
|
-
"text": "Story"
|
|
4666
|
-
},
|
|
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}"
|
|
4668
|
-
}
|
|
4669
|
-
],
|
|
4670
|
-
"exports": [
|
|
4671
|
-
{
|
|
4672
|
-
"kind": "js",
|
|
4673
|
-
"name": "default",
|
|
4674
|
-
"declaration": {
|
|
4675
|
-
"name": "meta",
|
|
4676
|
-
"module": "src/tuix-button/stories/tuix-button.stories.ts"
|
|
4677
|
-
}
|
|
4678
|
-
},
|
|
4609
|
+
"exports": [
|
|
4679
4610
|
{
|
|
4680
4611
|
"kind": "js",
|
|
4681
|
-
"name": "
|
|
4612
|
+
"name": "default",
|
|
4682
4613
|
"declaration": {
|
|
4683
|
-
"
|
|
4684
|
-
"module": "src/tuix-button/stories/tuix-button.stories.ts"
|
|
4614
|
+
"module": "src/utils/slottedClassName.ts"
|
|
4685
4615
|
}
|
|
4686
4616
|
}
|
|
4687
4617
|
]
|
|
@@ -4772,6 +4702,76 @@
|
|
|
4772
4702
|
}
|
|
4773
4703
|
]
|
|
4774
4704
|
},
|
|
4705
|
+
{
|
|
4706
|
+
"kind": "javascript-module",
|
|
4707
|
+
"path": "src/tuix-button/enums/tuix-button.enums.ts",
|
|
4708
|
+
"declarations": [
|
|
4709
|
+
{
|
|
4710
|
+
"kind": "variable",
|
|
4711
|
+
"name": "buttonTextColor",
|
|
4712
|
+
"type": {
|
|
4713
|
+
"text": "Record<MainVariant, string>"
|
|
4714
|
+
},
|
|
4715
|
+
"default": "{\n [MainVariant.PRIMARY]: Palette.WHITE,\n [MainVariant.SECONDARY]: Palette.MAIN,\n}"
|
|
4716
|
+
}
|
|
4717
|
+
],
|
|
4718
|
+
"exports": [
|
|
4719
|
+
{
|
|
4720
|
+
"kind": "js",
|
|
4721
|
+
"name": "buttonTextColor",
|
|
4722
|
+
"declaration": {
|
|
4723
|
+
"name": "buttonTextColor",
|
|
4724
|
+
"module": "src/tuix-button/enums/tuix-button.enums.ts"
|
|
4725
|
+
}
|
|
4726
|
+
}
|
|
4727
|
+
]
|
|
4728
|
+
},
|
|
4729
|
+
{
|
|
4730
|
+
"kind": "javascript-module",
|
|
4731
|
+
"path": "src/tuix-button/stories/tuix-button.stories.ts",
|
|
4732
|
+
"declarations": [
|
|
4733
|
+
{
|
|
4734
|
+
"kind": "variable",
|
|
4735
|
+
"name": "meta",
|
|
4736
|
+
"type": {
|
|
4737
|
+
"text": "object"
|
|
4738
|
+
},
|
|
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}"
|
|
4740
|
+
},
|
|
4741
|
+
{
|
|
4742
|
+
"kind": "variable",
|
|
4743
|
+
"name": "Button",
|
|
4744
|
+
"type": {
|
|
4745
|
+
"text": "Story"
|
|
4746
|
+
},
|
|
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}"
|
|
4748
|
+
}
|
|
4749
|
+
],
|
|
4750
|
+
"exports": [
|
|
4751
|
+
{
|
|
4752
|
+
"kind": "js",
|
|
4753
|
+
"name": "default",
|
|
4754
|
+
"declaration": {
|
|
4755
|
+
"name": "meta",
|
|
4756
|
+
"module": "src/tuix-button/stories/tuix-button.stories.ts"
|
|
4757
|
+
}
|
|
4758
|
+
},
|
|
4759
|
+
{
|
|
4760
|
+
"kind": "js",
|
|
4761
|
+
"name": "Button",
|
|
4762
|
+
"declaration": {
|
|
4763
|
+
"name": "Button",
|
|
4764
|
+
"module": "src/tuix-button/stories/tuix-button.stories.ts"
|
|
4765
|
+
}
|
|
4766
|
+
}
|
|
4767
|
+
]
|
|
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",
|
|
@@ -5176,10 +5176,50 @@
|
|
|
5176
5176
|
},
|
|
5177
5177
|
{
|
|
5178
5178
|
"kind": "javascript-module",
|
|
5179
|
-
"path": "src/tuix-
|
|
5179
|
+
"path": "src/tuix-paper/enums/tuix-paper.enum.ts",
|
|
5180
5180
|
"declarations": [],
|
|
5181
5181
|
"exports": []
|
|
5182
5182
|
},
|
|
5183
|
+
{
|
|
5184
|
+
"kind": "javascript-module",
|
|
5185
|
+
"path": "src/tuix-paper/stories/tuix-paper.stories.ts",
|
|
5186
|
+
"declarations": [
|
|
5187
|
+
{
|
|
5188
|
+
"kind": "variable",
|
|
5189
|
+
"name": "meta",
|
|
5190
|
+
"type": {
|
|
5191
|
+
"text": "object"
|
|
5192
|
+
},
|
|
5193
|
+
"default": "{\n title: 'TuixPaper',\n component: 'tuix-paper',\n argTypes: {\n elevation: {\n control: 'select',\n options: Object.values(PaperElevation),\n },\n borderRadius: {\n control: 'select',\n options: Object.values(BorderRadiusPaper),\n },\n dark: {\n control: 'boolean',\n },\n },\n render: (args: ArgTypes) => html`\n <style>\n tuix-text {\n width: 181px;\n height: 181px;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n </style>\n <div\n style=\"display: flex; justify-content: center; align-items: center; height: 100vh;\n ${args.dark ? `background-color: ${Palette.BLACK};` : ''}\"\n >\n <tuix-paper\n elevation=\"${args.elevation}\"\n ?dark=\"${args.dark}\"\n border-radius=\"${args.borderRadius}\"\n >\n <tuix-text size=\"${TextSize.Body2}\" ?dark=\"${args.dark}\">\n Elevation\n </tuix-text>\n </tuix-paper>\n </div>\n `,\n}"
|
|
5194
|
+
},
|
|
5195
|
+
{
|
|
5196
|
+
"kind": "variable",
|
|
5197
|
+
"name": "elevation",
|
|
5198
|
+
"type": {
|
|
5199
|
+
"text": "Story"
|
|
5200
|
+
},
|
|
5201
|
+
"default": "{\n args: {\n elevation: PaperElevation.VARIANT_1,\n borderRadius: BorderRadiusPaper.STRONG,\n dark: false,\n },\n}"
|
|
5202
|
+
}
|
|
5203
|
+
],
|
|
5204
|
+
"exports": [
|
|
5205
|
+
{
|
|
5206
|
+
"kind": "js",
|
|
5207
|
+
"name": "default",
|
|
5208
|
+
"declaration": {
|
|
5209
|
+
"name": "meta",
|
|
5210
|
+
"module": "src/tuix-paper/stories/tuix-paper.stories.ts"
|
|
5211
|
+
}
|
|
5212
|
+
},
|
|
5213
|
+
{
|
|
5214
|
+
"kind": "js",
|
|
5215
|
+
"name": "elevation",
|
|
5216
|
+
"declaration": {
|
|
5217
|
+
"name": "elevation",
|
|
5218
|
+
"module": "src/tuix-paper/stories/tuix-paper.stories.ts"
|
|
5219
|
+
}
|
|
5220
|
+
}
|
|
5221
|
+
]
|
|
5222
|
+
},
|
|
5183
5223
|
{
|
|
5184
5224
|
"kind": "javascript-module",
|
|
5185
5225
|
"path": "src/tuix-radio-button/stories/tuix-radio-button.stories.ts",
|
|
@@ -5220,6 +5260,12 @@
|
|
|
5220
5260
|
}
|
|
5221
5261
|
]
|
|
5222
5262
|
},
|
|
5263
|
+
{
|
|
5264
|
+
"kind": "javascript-module",
|
|
5265
|
+
"path": "src/tuix-radio-button/interfaces/tuix-radio-button.interface.ts",
|
|
5266
|
+
"declarations": [],
|
|
5267
|
+
"exports": []
|
|
5268
|
+
},
|
|
5223
5269
|
{
|
|
5224
5270
|
"kind": "javascript-module",
|
|
5225
5271
|
"path": "src/tuix-table/interfaces/tuix-table.interface.ts",
|
|
@@ -5268,13 +5314,47 @@
|
|
|
5268
5314
|
},
|
|
5269
5315
|
{
|
|
5270
5316
|
"kind": "javascript-module",
|
|
5271
|
-
"path": "src/tuix-
|
|
5272
|
-
"declarations": [
|
|
5273
|
-
|
|
5317
|
+
"path": "src/tuix-text/enums/tuix-text.enums.ts",
|
|
5318
|
+
"declarations": [
|
|
5319
|
+
{
|
|
5320
|
+
"kind": "variable",
|
|
5321
|
+
"name": "colorText",
|
|
5322
|
+
"type": {
|
|
5323
|
+
"text": "Record<TextVariant, string>"
|
|
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 [TextVariant.FIELD_TEXT]: Palette.PRIMARY_900,\n}"
|
|
5326
|
+
},
|
|
5327
|
+
{
|
|
5328
|
+
"kind": "variable",
|
|
5329
|
+
"name": "colorTextDark",
|
|
5330
|
+
"type": {
|
|
5331
|
+
"text": "Record<TextVariant, string>"
|
|
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 [TextVariant.FIELD_TEXT]: DarkPalette.PRIMARY_50,\n}"
|
|
5334
|
+
}
|
|
5335
|
+
],
|
|
5336
|
+
"exports": [
|
|
5337
|
+
{
|
|
5338
|
+
"kind": "js",
|
|
5339
|
+
"name": "colorText",
|
|
5340
|
+
"declaration": {
|
|
5341
|
+
"name": "colorText",
|
|
5342
|
+
"module": "src/tuix-text/enums/tuix-text.enums.ts"
|
|
5343
|
+
}
|
|
5344
|
+
},
|
|
5345
|
+
{
|
|
5346
|
+
"kind": "js",
|
|
5347
|
+
"name": "colorTextDark",
|
|
5348
|
+
"declaration": {
|
|
5349
|
+
"name": "colorTextDark",
|
|
5350
|
+
"module": "src/tuix-text/enums/tuix-text.enums.ts"
|
|
5351
|
+
}
|
|
5352
|
+
}
|
|
5353
|
+
]
|
|
5274
5354
|
},
|
|
5275
5355
|
{
|
|
5276
5356
|
"kind": "javascript-module",
|
|
5277
|
-
"path": "src/tuix-
|
|
5357
|
+
"path": "src/tuix-text/stories/tuix-text.stories.ts",
|
|
5278
5358
|
"declarations": [
|
|
5279
5359
|
{
|
|
5280
5360
|
"kind": "variable",
|
|
@@ -5282,15 +5362,15 @@
|
|
|
5282
5362
|
"type": {
|
|
5283
5363
|
"text": "object"
|
|
5284
5364
|
},
|
|
5285
|
-
"default": "{\n title: '
|
|
5365
|
+
"default": "{\n title: 'TuixText',\n component: 'tuix-text',\n argTypes: {\n value: { control: 'text' },\n size: {\n control: 'select',\n options: Object.values(TextSize),\n },\n color: {\n control: 'select',\n options: Object.values(TextVariant),\n },\n dark: {\n control: 'boolean',\n },\n },\n render: (args: ArgTypes) => html`\n <style>\n tuix-text > * {\n display: block;\n }\n </style>\n <div\n style=\"display: flex; justify-content: center; align-items: center; height: 100%; \n ${args.dark ? `background-color: ${Palette.BLACK};` : ''}\"\n >\n <tuix-text size=\"${args.size}\" color=\"${args.color}\" ?dark=\"${args.dark}\">\n ${args.value}\n <h1>${args.value}</h1>\n <h2>${args.value}</h2>\n <h3>${args.value}</h3>\n <h4>${args.value}</h4>\n <h5>${args.value}</h5>\n <h6>${args.value}</h6>\n <p>${args.value}</p>\n <span> ${args.value} </span>\n </tuix-text>\n </div>\n `,\n}"
|
|
5286
5366
|
},
|
|
5287
5367
|
{
|
|
5288
5368
|
"kind": "variable",
|
|
5289
|
-
"name": "
|
|
5369
|
+
"name": "Headline",
|
|
5290
5370
|
"type": {
|
|
5291
5371
|
"text": "Story"
|
|
5292
5372
|
},
|
|
5293
|
-
"default": "{\n args: {\n
|
|
5373
|
+
"default": "{\n args: {\n value: 'Test text',\n size: TextSize.XL,\n dark: false,\n },\n}"
|
|
5294
5374
|
}
|
|
5295
5375
|
],
|
|
5296
5376
|
"exports": [
|
|
@@ -5299,15 +5379,15 @@
|
|
|
5299
5379
|
"name": "default",
|
|
5300
5380
|
"declaration": {
|
|
5301
5381
|
"name": "meta",
|
|
5302
|
-
"module": "src/tuix-
|
|
5382
|
+
"module": "src/tuix-text/stories/tuix-text.stories.ts"
|
|
5303
5383
|
}
|
|
5304
5384
|
},
|
|
5305
5385
|
{
|
|
5306
5386
|
"kind": "js",
|
|
5307
|
-
"name": "
|
|
5387
|
+
"name": "Headline",
|
|
5308
5388
|
"declaration": {
|
|
5309
|
-
"name": "
|
|
5310
|
-
"module": "src/tuix-
|
|
5389
|
+
"name": "Headline",
|
|
5390
|
+
"module": "src/tuix-text/stories/tuix-text.stories.ts"
|
|
5311
5391
|
}
|
|
5312
5392
|
}
|
|
5313
5393
|
]
|
|
@@ -5424,86 +5504,6 @@
|
|
|
5424
5504
|
}
|
|
5425
5505
|
]
|
|
5426
5506
|
},
|
|
5427
|
-
{
|
|
5428
|
-
"kind": "javascript-module",
|
|
5429
|
-
"path": "src/tuix-text/enums/tuix-text.enums.ts",
|
|
5430
|
-
"declarations": [
|
|
5431
|
-
{
|
|
5432
|
-
"kind": "variable",
|
|
5433
|
-
"name": "colorText",
|
|
5434
|
-
"type": {
|
|
5435
|
-
"text": "Record<TextVariant, string>"
|
|
5436
|
-
},
|
|
5437
|
-
"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}"
|
|
5438
|
-
},
|
|
5439
|
-
{
|
|
5440
|
-
"kind": "variable",
|
|
5441
|
-
"name": "colorTextDark",
|
|
5442
|
-
"type": {
|
|
5443
|
-
"text": "Record<TextVariant, string>"
|
|
5444
|
-
},
|
|
5445
|
-
"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}"
|
|
5446
|
-
}
|
|
5447
|
-
],
|
|
5448
|
-
"exports": [
|
|
5449
|
-
{
|
|
5450
|
-
"kind": "js",
|
|
5451
|
-
"name": "colorText",
|
|
5452
|
-
"declaration": {
|
|
5453
|
-
"name": "colorText",
|
|
5454
|
-
"module": "src/tuix-text/enums/tuix-text.enums.ts"
|
|
5455
|
-
}
|
|
5456
|
-
},
|
|
5457
|
-
{
|
|
5458
|
-
"kind": "js",
|
|
5459
|
-
"name": "colorTextDark",
|
|
5460
|
-
"declaration": {
|
|
5461
|
-
"name": "colorTextDark",
|
|
5462
|
-
"module": "src/tuix-text/enums/tuix-text.enums.ts"
|
|
5463
|
-
}
|
|
5464
|
-
}
|
|
5465
|
-
]
|
|
5466
|
-
},
|
|
5467
|
-
{
|
|
5468
|
-
"kind": "javascript-module",
|
|
5469
|
-
"path": "src/tuix-text/stories/tuix-text.stories.ts",
|
|
5470
|
-
"declarations": [
|
|
5471
|
-
{
|
|
5472
|
-
"kind": "variable",
|
|
5473
|
-
"name": "meta",
|
|
5474
|
-
"type": {
|
|
5475
|
-
"text": "object"
|
|
5476
|
-
},
|
|
5477
|
-
"default": "{\n title: 'TuixText',\n component: 'tuix-text',\n argTypes: {\n value: { control: 'text' },\n size: {\n control: 'select',\n options: Object.values(TextSize),\n },\n color: {\n control: 'select',\n options: Object.values(TextVariant),\n },\n dark: {\n control: 'boolean',\n },\n },\n render: (args: ArgTypes) => html`\n <style>\n tuix-text > * {\n display: block;\n }\n </style>\n <div\n style=\"display: flex; justify-content: center; align-items: center; height: 100%; \n ${args.dark ? `background-color: ${Palette.BLACK};` : ''}\"\n >\n <tuix-text size=\"${args.size}\" color=\"${args.color}\" ?dark=\"${args.dark}\">\n ${args.value}\n <h1>${args.value}</h1>\n <h2>${args.value}</h2>\n <h3>${args.value}</h3>\n <h4>${args.value}</h4>\n <h5>${args.value}</h5>\n <h6>${args.value}</h6>\n <p>${args.value}</p>\n <span> ${args.value} </span>\n </tuix-text>\n </div>\n `,\n}"
|
|
5478
|
-
},
|
|
5479
|
-
{
|
|
5480
|
-
"kind": "variable",
|
|
5481
|
-
"name": "Headline",
|
|
5482
|
-
"type": {
|
|
5483
|
-
"text": "Story"
|
|
5484
|
-
},
|
|
5485
|
-
"default": "{\n args: {\n value: 'Test text',\n size: TextSize.XL,\n dark: false,\n },\n}"
|
|
5486
|
-
}
|
|
5487
|
-
],
|
|
5488
|
-
"exports": [
|
|
5489
|
-
{
|
|
5490
|
-
"kind": "js",
|
|
5491
|
-
"name": "default",
|
|
5492
|
-
"declaration": {
|
|
5493
|
-
"name": "meta",
|
|
5494
|
-
"module": "src/tuix-text/stories/tuix-text.stories.ts"
|
|
5495
|
-
}
|
|
5496
|
-
},
|
|
5497
|
-
{
|
|
5498
|
-
"kind": "js",
|
|
5499
|
-
"name": "Headline",
|
|
5500
|
-
"declaration": {
|
|
5501
|
-
"name": "Headline",
|
|
5502
|
-
"module": "src/tuix-text/stories/tuix-text.stories.ts"
|
|
5503
|
-
}
|
|
5504
|
-
}
|
|
5505
|
-
]
|
|
5506
|
-
},
|
|
5507
5507
|
{
|
|
5508
5508
|
"kind": "javascript-module",
|
|
5509
5509
|
"path": "src/tuix-toggle-button/interfaces/tuix-toggle.interface.ts",
|