@policystudio/policy-studio-ui-vue 1.1.90-access.0 → 1.1.90-access.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/psui_styles_output.css +241 -179
- package/package.json +4 -2
- package/src/assets/scss/components/PsAccordion.scss +10 -12
- package/src/assets/scss/components/PsCardInfos.scss +1 -1
- package/src/assets/scss/components/PsCheckbox.scss +11 -1
- package/src/assets/scss/components/PsChips.scss +71 -30
- package/src/assets/scss/components/PsCollapse.scss +9 -0
- package/src/assets/scss/components/PsDropdown.scss +11 -10
- package/src/assets/scss/components/PsDropdownList.scss +1 -1
- package/src/assets/scss/components/PsInput.scss +1 -0
- package/src/assets/scss/components/PsSwitch.scss +10 -0
- package/src/assets/scss/components/PsTabHeader.scss +7 -0
- package/src/assets/scss/components/PsToast.scss +10 -0
- package/src/components/accordion/PsAccordionItem.vue +66 -9
- package/src/components/badges-and-tags/PsCardInfos.vue +26 -2
- package/src/components/chips/PsChips.vue +22 -2
- package/src/components/collapse/PsCollapse.vue +1 -0
- package/src/components/controls/PsCheckbox.vue +1 -0
- package/src/components/controls/PsRadioButton.vue +1 -0
- package/src/components/controls/PsRadioButtonSimple.vue +1 -0
- package/src/components/controls/PsSwitch.vue +15 -5
- package/src/components/forms/PsDropdown.vue +92 -176
- package/src/components/forms/PsInput.vue +15 -3
- package/src/components/notifications/PsDialog.vue +11 -1
- package/src/components/notifications/PsToast.vue +1 -0
|
@@ -526,6 +526,14 @@ video {
|
|
|
526
526
|
position: relative;
|
|
527
527
|
display: inline-flex;
|
|
528
528
|
}
|
|
529
|
+
.psui-el-chips:focus {
|
|
530
|
+
outline: none;
|
|
531
|
+
}
|
|
532
|
+
.psui-el-chips:focus-visible {
|
|
533
|
+
outline: 2px solid #2563EB;
|
|
534
|
+
outline-offset: 2px;
|
|
535
|
+
border-radius: 6px;
|
|
536
|
+
}
|
|
529
537
|
.psui-el-chips-icon {
|
|
530
538
|
font-family: "Material Icons Round";
|
|
531
539
|
font-weight: normal;
|
|
@@ -541,6 +549,150 @@ video {
|
|
|
541
549
|
-webkit-font-feature-settings: "liga";
|
|
542
550
|
-webkit-font-smoothing: antialiased;
|
|
543
551
|
}
|
|
552
|
+
.psui-el-chips .psui-el-chips-text {
|
|
553
|
+
display: inline-flex;
|
|
554
|
+
flex-direction: column;
|
|
555
|
+
align-items: center;
|
|
556
|
+
justify-content: center;
|
|
557
|
+
position: relative;
|
|
558
|
+
}
|
|
559
|
+
.psui-el-chips .psui-el-chips-text::after {
|
|
560
|
+
content: attr(data-text);
|
|
561
|
+
}
|
|
562
|
+
.psui-el-chips .psui-el-chips-text::after {
|
|
563
|
+
pointer-events: none;
|
|
564
|
+
}
|
|
565
|
+
.psui-el-chips .psui-el-chips-text::after {
|
|
566
|
+
visibility: hidden;
|
|
567
|
+
}
|
|
568
|
+
.psui-el-chips .psui-el-chips-text::after {
|
|
569
|
+
height: 0px;
|
|
570
|
+
}
|
|
571
|
+
.psui-el-chips .psui-el-chips-text::after {
|
|
572
|
+
-webkit-user-select: none;
|
|
573
|
+
-moz-user-select: none;
|
|
574
|
+
user-select: none;
|
|
575
|
+
}
|
|
576
|
+
.psui-el-chips .psui-el-chips-text::after {
|
|
577
|
+
overflow: hidden;
|
|
578
|
+
}
|
|
579
|
+
.psui-el-chips .psui-el-chips-text::after {
|
|
580
|
+
white-space: nowrap;
|
|
581
|
+
}
|
|
582
|
+
.psui-el-chips .psui-el-chips-text::after {
|
|
583
|
+
font-weight: 700;
|
|
584
|
+
}
|
|
585
|
+
.psui-el-chips label {
|
|
586
|
+
display: flex;
|
|
587
|
+
}
|
|
588
|
+
.psui-el-chips label {
|
|
589
|
+
cursor: pointer;
|
|
590
|
+
}
|
|
591
|
+
.psui-el-chips label {
|
|
592
|
+
align-items: center;
|
|
593
|
+
}
|
|
594
|
+
.psui-el-chips label {
|
|
595
|
+
justify-content: center;
|
|
596
|
+
}
|
|
597
|
+
.psui-el-chips label {
|
|
598
|
+
border-radius: 0.25rem;
|
|
599
|
+
}
|
|
600
|
+
.psui-el-chips label {
|
|
601
|
+
border-width: 1px;
|
|
602
|
+
}
|
|
603
|
+
.psui-el-chips label {
|
|
604
|
+
--tw-border-opacity: 1;
|
|
605
|
+
border-color: rgb(162, 172, 183, var(--tw-border-opacity, 1));
|
|
606
|
+
}
|
|
607
|
+
.psui-el-chips label {
|
|
608
|
+
--tw-bg-opacity: 1;
|
|
609
|
+
background-color: rgb(255, 255, 255, var(--tw-bg-opacity, 1));
|
|
610
|
+
}
|
|
611
|
+
.psui-el-chips label {
|
|
612
|
+
padding-top: 0.25rem;
|
|
613
|
+
padding-bottom: 0.25rem;
|
|
614
|
+
}
|
|
615
|
+
.psui-el-chips label {
|
|
616
|
+
padding-left: 0.75rem;
|
|
617
|
+
padding-right: 0.75rem;
|
|
618
|
+
}
|
|
619
|
+
.psui-el-chips label {
|
|
620
|
+
font-size: 14px;
|
|
621
|
+
line-height: 130%;
|
|
622
|
+
}
|
|
623
|
+
.psui-el-chips label {
|
|
624
|
+
--tw-text-opacity: 1;
|
|
625
|
+
color: rgb(81, 94, 106, var(--tw-text-opacity, 1));
|
|
626
|
+
}
|
|
627
|
+
.psui-el-chips label {
|
|
628
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
629
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
630
|
+
transition-duration: 150ms;
|
|
631
|
+
}
|
|
632
|
+
.psui-el-chips label {
|
|
633
|
+
padding: 5px 8px 5px 8px;
|
|
634
|
+
}
|
|
635
|
+
.psui-el-chips label:hover {
|
|
636
|
+
--tw-bg-opacity: 1;
|
|
637
|
+
background-color: rgb(236, 247, 251, var(--tw-bg-opacity, 1));
|
|
638
|
+
}
|
|
639
|
+
.psui-el-chips label:focus, .psui-el-chips label:active {
|
|
640
|
+
--tw-border-opacity: 1;
|
|
641
|
+
border-color: rgb(49, 143, 172, var(--tw-border-opacity, 1));
|
|
642
|
+
}
|
|
643
|
+
.psui-el-chips label:focus, .psui-el-chips label:active {
|
|
644
|
+
--tw-bg-opacity: 1;
|
|
645
|
+
background-color: rgb(236, 247, 251, var(--tw-bg-opacity, 1));
|
|
646
|
+
}
|
|
647
|
+
.psui-el-chips label:focus, .psui-el-chips label:active {
|
|
648
|
+
font-weight: 700;
|
|
649
|
+
}
|
|
650
|
+
.psui-el-chips label:focus, .psui-el-chips label:active {
|
|
651
|
+
--tw-text-opacity: 1;
|
|
652
|
+
color: rgb(0, 70, 95, var(--tw-text-opacity, 1));
|
|
653
|
+
}
|
|
654
|
+
.psui-el-chips label.checked {
|
|
655
|
+
--tw-border-opacity: 1;
|
|
656
|
+
border-color: rgb(49, 143, 172, var(--tw-border-opacity, 1));
|
|
657
|
+
}
|
|
658
|
+
.psui-el-chips label.checked {
|
|
659
|
+
--tw-bg-opacity: 1;
|
|
660
|
+
background-color: rgb(236, 247, 251, var(--tw-bg-opacity, 1));
|
|
661
|
+
}
|
|
662
|
+
.psui-el-chips label.checked {
|
|
663
|
+
--tw-text-opacity: 1;
|
|
664
|
+
color: rgb(0, 70, 95, var(--tw-text-opacity, 1));
|
|
665
|
+
}
|
|
666
|
+
.psui-el-chips label.icon-position-right {
|
|
667
|
+
flex-direction: row-reverse;
|
|
668
|
+
}
|
|
669
|
+
.psui-el-chips label.icon-position-right {
|
|
670
|
+
padding: 5px 6px 5px 8px;
|
|
671
|
+
}
|
|
672
|
+
.psui-el-chips label.icon-position-right .psui-el-chips-icon {
|
|
673
|
+
margin-left: 0.25rem;
|
|
674
|
+
}
|
|
675
|
+
.psui-el-chips .psui-el-chips-icon {
|
|
676
|
+
font-family: "Material Icons Round";
|
|
677
|
+
font-weight: normal;
|
|
678
|
+
font-style: normal;
|
|
679
|
+
font-size: 24px;
|
|
680
|
+
line-height: 1;
|
|
681
|
+
letter-spacing: normal;
|
|
682
|
+
text-transform: none;
|
|
683
|
+
display: inline-block;
|
|
684
|
+
white-space: nowrap;
|
|
685
|
+
word-wrap: normal;
|
|
686
|
+
direction: ltr;
|
|
687
|
+
-webkit-font-feature-settings: "liga";
|
|
688
|
+
-webkit-font-smoothing: antialiased;
|
|
689
|
+
}
|
|
690
|
+
.psui-el-chips .psui-el-chips-icon {
|
|
691
|
+
font-size: 16px;
|
|
692
|
+
}
|
|
693
|
+
.psui-el-chips .psui-el-chips-icon.is-rotated {
|
|
694
|
+
transform: rotate(180deg);
|
|
695
|
+
}
|
|
544
696
|
.psui-el-chips.type-checkbox, .psui-el-chips.type-radio {
|
|
545
697
|
font-size: 14px;
|
|
546
698
|
}
|
|
@@ -559,14 +711,6 @@ video {
|
|
|
559
711
|
.psui-el-chips.type-checkbox input, .psui-el-chips.type-radio input {
|
|
560
712
|
clip: rect(0, 0, 0, 0);
|
|
561
713
|
}
|
|
562
|
-
.psui-el-chips.type-checkbox input:checked + label, .psui-el-chips.type-radio input:checked + label {
|
|
563
|
-
--tw-bg-opacity: 1;
|
|
564
|
-
background-color: rgb(224, 239, 246, var(--tw-bg-opacity, 1));
|
|
565
|
-
}
|
|
566
|
-
.psui-el-chips.type-checkbox input:checked + label, .psui-el-chips.type-radio input:checked + label {
|
|
567
|
-
--tw-text-opacity: 1;
|
|
568
|
-
color: rgb(49, 143, 172, var(--tw-text-opacity, 1));
|
|
569
|
-
}
|
|
570
714
|
.psui-el-chips.type-checkbox input:checked + label.layout-disabled, .psui-el-chips.type-radio input:checked + label.layout-disabled {
|
|
571
715
|
cursor: default;
|
|
572
716
|
}
|
|
@@ -587,38 +731,14 @@ video {
|
|
|
587
731
|
}
|
|
588
732
|
.psui-el-chips.type-checkbox input:checked + label:before, .psui-el-chips.type-radio input:checked + label:before {
|
|
589
733
|
--tw-text-opacity: 1;
|
|
590
|
-
color: rgb(
|
|
591
|
-
}
|
|
592
|
-
.psui-el-chips.type-checkbox label, .psui-el-chips.type-radio label {
|
|
593
|
-
display: flex;
|
|
594
|
-
}
|
|
595
|
-
.psui-el-chips.type-checkbox label, .psui-el-chips.type-radio label {
|
|
596
|
-
cursor: pointer;
|
|
597
|
-
}
|
|
598
|
-
.psui-el-chips.type-checkbox label, .psui-el-chips.type-radio label {
|
|
599
|
-
align-items: center;
|
|
600
|
-
}
|
|
601
|
-
.psui-el-chips.type-checkbox label, .psui-el-chips.type-radio label {
|
|
602
|
-
justify-content: center;
|
|
603
|
-
}
|
|
604
|
-
.psui-el-chips.type-checkbox label, .psui-el-chips.type-radio label {
|
|
605
|
-
border-radius: 0.25rem;
|
|
606
|
-
}
|
|
607
|
-
.psui-el-chips.type-checkbox label, .psui-el-chips.type-radio label {
|
|
608
|
-
--tw-bg-opacity: 1;
|
|
609
|
-
background-color: rgb(243, 246, 249, var(--tw-bg-opacity, 1));
|
|
734
|
+
color: rgb(49, 143, 172, var(--tw-text-opacity, 1));
|
|
610
735
|
}
|
|
611
|
-
.psui-el-chips.type-checkbox label, .psui-el-chips.type-radio label {
|
|
736
|
+
.psui-el-chips.type-checkbox input:checked + label:hover, .psui-el-chips.type-radio input:checked + label:hover {
|
|
612
737
|
--tw-text-opacity: 1;
|
|
613
|
-
color: rgb(
|
|
614
|
-
}
|
|
615
|
-
.psui-el-chips.type-checkbox label, .psui-el-chips.type-radio label {
|
|
616
|
-
transition-property: all;
|
|
617
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
618
|
-
transition-duration: 150ms;
|
|
738
|
+
color: rgb(81, 94, 106, var(--tw-text-opacity, 1));
|
|
619
739
|
}
|
|
620
|
-
.psui-el-chips.type-checkbox label, .psui-el-chips.type-radio label {
|
|
621
|
-
|
|
740
|
+
.psui-el-chips.type-checkbox label:before, .psui-el-chips.type-radio label:before {
|
|
741
|
+
margin-right: 0.25rem;
|
|
622
742
|
}
|
|
623
743
|
.psui-el-chips.type-checkbox label:before, .psui-el-chips.type-radio label:before {
|
|
624
744
|
display: inline-block;
|
|
@@ -628,7 +748,7 @@ video {
|
|
|
628
748
|
}
|
|
629
749
|
.psui-el-chips.type-checkbox label:before, .psui-el-chips.type-radio label:before {
|
|
630
750
|
--tw-text-opacity: 1;
|
|
631
|
-
color: rgb(
|
|
751
|
+
color: rgb(121, 132, 144, var(--tw-text-opacity, 1));
|
|
632
752
|
}
|
|
633
753
|
.psui-el-chips.type-checkbox label:before, .psui-el-chips.type-radio label:before {
|
|
634
754
|
transition-property: all;
|
|
@@ -639,19 +759,10 @@ video {
|
|
|
639
759
|
content: "";
|
|
640
760
|
font-family: "Material Icons Round";
|
|
641
761
|
font-size: 18px;
|
|
642
|
-
margin-right: 6px;
|
|
643
762
|
}
|
|
644
763
|
.psui-el-chips.type-checkbox label:hover, .psui-el-chips.type-radio label:hover {
|
|
645
764
|
--tw-bg-opacity: 1;
|
|
646
|
-
background-color: rgb(
|
|
647
|
-
}
|
|
648
|
-
.psui-el-chips.type-checkbox label:hover, .psui-el-chips.type-radio label:hover {
|
|
649
|
-
--tw-text-opacity: 1;
|
|
650
|
-
color: rgb(49, 143, 172, var(--tw-text-opacity, 1));
|
|
651
|
-
}
|
|
652
|
-
.psui-el-chips.type-checkbox label:hover:before, .psui-el-chips.type-radio label:hover:before {
|
|
653
|
-
--tw-text-opacity: 1;
|
|
654
|
-
color: rgb(100, 181, 206, var(--tw-text-opacity, 1));
|
|
765
|
+
background-color: rgb(236, 247, 251, var(--tw-bg-opacity, 1));
|
|
655
766
|
}
|
|
656
767
|
.psui-el-chips.type-checkbox input:checked + label:before {
|
|
657
768
|
content: "check_box";
|
|
@@ -665,69 +776,6 @@ video {
|
|
|
665
776
|
.psui-el-chips.type-radio label:before {
|
|
666
777
|
content: "radio_button_unchecked";
|
|
667
778
|
}
|
|
668
|
-
.psui-el-chips.type-button label {
|
|
669
|
-
display: flex;
|
|
670
|
-
}
|
|
671
|
-
.psui-el-chips.type-button label {
|
|
672
|
-
cursor: pointer;
|
|
673
|
-
}
|
|
674
|
-
.psui-el-chips.type-button label {
|
|
675
|
-
align-items: center;
|
|
676
|
-
}
|
|
677
|
-
.psui-el-chips.type-button label {
|
|
678
|
-
justify-content: center;
|
|
679
|
-
}
|
|
680
|
-
.psui-el-chips.type-button label {
|
|
681
|
-
border-radius: 0.25rem;
|
|
682
|
-
}
|
|
683
|
-
.psui-el-chips.type-button label {
|
|
684
|
-
padding-top: 0.25rem;
|
|
685
|
-
padding-bottom: 0.25rem;
|
|
686
|
-
}
|
|
687
|
-
.psui-el-chips.type-button label {
|
|
688
|
-
padding-left: 0.75rem;
|
|
689
|
-
padding-right: 0.75rem;
|
|
690
|
-
}
|
|
691
|
-
.psui-el-chips.type-button label {
|
|
692
|
-
font-size: 14px;
|
|
693
|
-
line-height: 130%;
|
|
694
|
-
}
|
|
695
|
-
.psui-el-chips.type-button label {
|
|
696
|
-
--tw-text-opacity: 1;
|
|
697
|
-
color: rgb(81, 94, 106, var(--tw-text-opacity, 1));
|
|
698
|
-
}
|
|
699
|
-
.psui-el-chips.type-button label {
|
|
700
|
-
transition-property: all;
|
|
701
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
702
|
-
transition-duration: 150ms;
|
|
703
|
-
}
|
|
704
|
-
.psui-el-chips.type-button label {
|
|
705
|
-
background-color: #F6F7F8;
|
|
706
|
-
}
|
|
707
|
-
.psui-el-chips.type-button label:hover {
|
|
708
|
-
--tw-bg-opacity: 1;
|
|
709
|
-
background-color: rgb(255, 255, 255, var(--tw-bg-opacity, 1));
|
|
710
|
-
}
|
|
711
|
-
.psui-el-chips.type-button label:hover {
|
|
712
|
-
--tw-text-opacity: 1;
|
|
713
|
-
color: rgb(49, 143, 172, var(--tw-text-opacity, 1));
|
|
714
|
-
}
|
|
715
|
-
.psui-el-chips.type-button label:focus, .psui-el-chips.type-button label:active {
|
|
716
|
-
--tw-bg-opacity: 1;
|
|
717
|
-
background-color: rgb(224, 239, 246, var(--tw-bg-opacity, 1));
|
|
718
|
-
}
|
|
719
|
-
.psui-el-chips.type-button label:focus, .psui-el-chips.type-button label:active {
|
|
720
|
-
--tw-text-opacity: 1;
|
|
721
|
-
color: rgb(49, 143, 172, var(--tw-text-opacity, 1));
|
|
722
|
-
}
|
|
723
|
-
.psui-el-chips.type-button label.checked {
|
|
724
|
-
--tw-bg-opacity: 1;
|
|
725
|
-
background-color: rgb(224, 239, 246, var(--tw-bg-opacity, 1));
|
|
726
|
-
}
|
|
727
|
-
.psui-el-chips.type-button label.checked {
|
|
728
|
-
--tw-text-opacity: 1;
|
|
729
|
-
color: rgb(49, 143, 172, var(--tw-text-opacity, 1));
|
|
730
|
-
}
|
|
731
779
|
.psui-el-chips.type-button.layout-with-icon label {
|
|
732
780
|
display: flex;
|
|
733
781
|
}
|
|
@@ -828,10 +876,7 @@ video {
|
|
|
828
876
|
background-color: rgb(49, 143, 172, var(--tw-bg-opacity, 1));
|
|
829
877
|
}
|
|
830
878
|
.psui-el-chips.type-button.layout-rich .psui-el-chips-icon {
|
|
831
|
-
font-size:
|
|
832
|
-
}
|
|
833
|
-
.psui-el-chips.type-button.layout-rich .psui-el-chips-icon-prepend {
|
|
834
|
-
margin-right: 0.5rem;
|
|
879
|
+
font-size: 16px;
|
|
835
880
|
}
|
|
836
881
|
.psui-el-chips.type-button.layout-rich .psui-el-chips-icon-prepend {
|
|
837
882
|
display: flex;
|
|
@@ -859,9 +904,6 @@ video {
|
|
|
859
904
|
--tw-text-opacity: 1;
|
|
860
905
|
color: rgb(255, 255, 255, var(--tw-text-opacity, 1));
|
|
861
906
|
}
|
|
862
|
-
.psui-el-chips.type-button.layout-rich .psui-el-chips-close {
|
|
863
|
-
margin-left: 0.5rem;
|
|
864
|
-
}
|
|
865
907
|
.psui-el-chips.type-button.layout-rich .psui-el-chips-close {
|
|
866
908
|
display: flex;
|
|
867
909
|
}
|
|
@@ -961,6 +1003,11 @@ video {
|
|
|
961
1003
|
.psui-el-tab-header button:focus {
|
|
962
1004
|
outline: none;
|
|
963
1005
|
}
|
|
1006
|
+
.psui-el-tab-header button:focus-visible {
|
|
1007
|
+
outline: 2px solid #2563EB;
|
|
1008
|
+
outline-offset: 2px;
|
|
1009
|
+
border-radius: 6px;
|
|
1010
|
+
}
|
|
964
1011
|
.psui-el-tab-header.status-disabled .psui-el-input-wrapper {
|
|
965
1012
|
--tw-border-opacity: 1;
|
|
966
1013
|
border-color: rgb(230, 236, 242, var(--tw-border-opacity, 1));
|
|
@@ -1186,6 +1233,14 @@ video {
|
|
|
1186
1233
|
.psui-el-accordion-item {
|
|
1187
1234
|
border-bottom: 1px solid #e6ecf2;
|
|
1188
1235
|
}
|
|
1236
|
+
.psui-el-accordion-item:focus {
|
|
1237
|
+
outline: none;
|
|
1238
|
+
}
|
|
1239
|
+
.psui-el-accordion-item:focus-visible {
|
|
1240
|
+
outline: 2px solid #2563EB;
|
|
1241
|
+
outline-offset: 2px;
|
|
1242
|
+
border-radius: 6px;
|
|
1243
|
+
}
|
|
1189
1244
|
.psui-el-accordion-item.disabled .psui-el-accordion-item-header .psui-el-accordion-item-header-wrapper {
|
|
1190
1245
|
pointer-events: none;
|
|
1191
1246
|
}
|
|
@@ -1313,17 +1368,6 @@ video {
|
|
|
1313
1368
|
--tw-text-opacity: 1;
|
|
1314
1369
|
color: rgb(81, 94, 106, var(--tw-text-opacity, 1));
|
|
1315
1370
|
}
|
|
1316
|
-
.psui-el-accordion .accordion-fade-enter-active,
|
|
1317
|
-
.psui-el-accordion .accordion-fade-leave-active {
|
|
1318
|
-
will-change: height, margin-bottom;
|
|
1319
|
-
transition: height 0.4s ease, margin-bottom 0.4s ease-in-out;
|
|
1320
|
-
overflow: hidden;
|
|
1321
|
-
}
|
|
1322
|
-
.psui-el-accordion .accordion-fade-enter-from,
|
|
1323
|
-
.psui-el-accordion .accordion-fade-leave-to {
|
|
1324
|
-
height: 0 !important;
|
|
1325
|
-
margin-bottom: 0 !important;
|
|
1326
|
-
}
|
|
1327
1371
|
|
|
1328
1372
|
.psui-el-input {
|
|
1329
1373
|
/* Layout Default */
|
|
@@ -1780,11 +1824,11 @@ video {
|
|
|
1780
1824
|
margin-bottom: 0.25rem;
|
|
1781
1825
|
}
|
|
1782
1826
|
.psui-el-card-infos-title {
|
|
1783
|
-
|
|
1784
|
-
line-height: 130%;
|
|
1827
|
+
display: flex;
|
|
1785
1828
|
}
|
|
1786
1829
|
.psui-el-card-infos-title {
|
|
1787
|
-
font-
|
|
1830
|
+
font-size: 12px;
|
|
1831
|
+
line-height: 130%;
|
|
1788
1832
|
}
|
|
1789
1833
|
.psui-el-card-infos-title {
|
|
1790
1834
|
--tw-text-opacity: 1;
|
|
@@ -3270,6 +3314,14 @@ video {
|
|
|
3270
3314
|
--tw-text-opacity: 1;
|
|
3271
3315
|
color: rgb(121, 132, 144, var(--tw-text-opacity, 1));
|
|
3272
3316
|
}
|
|
3317
|
+
.psui-el-checkbox:focus {
|
|
3318
|
+
outline: none;
|
|
3319
|
+
}
|
|
3320
|
+
.psui-el-checkbox:focus-visible {
|
|
3321
|
+
outline: 2px solid #2563EB;
|
|
3322
|
+
outline-offset: 2px;
|
|
3323
|
+
border-radius: 6px;
|
|
3324
|
+
}
|
|
3273
3325
|
.psui-el-checkbox.disabled .psui-el-checkmark {
|
|
3274
3326
|
cursor: default !important;
|
|
3275
3327
|
}
|
|
@@ -3718,6 +3770,14 @@ video {
|
|
|
3718
3770
|
display: inline-block;
|
|
3719
3771
|
border-radius: 1.5rem;
|
|
3720
3772
|
}
|
|
3773
|
+
.psui-el-switch:focus {
|
|
3774
|
+
outline: none;
|
|
3775
|
+
}
|
|
3776
|
+
.psui-el-switch:focus-visible {
|
|
3777
|
+
outline: 2px solid #2563EB;
|
|
3778
|
+
outline-offset: 2px;
|
|
3779
|
+
border-radius: 6px;
|
|
3780
|
+
}
|
|
3721
3781
|
.psui-el-switch.disabled {
|
|
3722
3782
|
pointer-events: none;
|
|
3723
3783
|
}
|
|
@@ -4001,6 +4061,14 @@ video {
|
|
|
4001
4061
|
display: inline-block;
|
|
4002
4062
|
text-align: left;
|
|
4003
4063
|
}
|
|
4064
|
+
.psui-el-dropdown-menu:focus {
|
|
4065
|
+
outline: none;
|
|
4066
|
+
}
|
|
4067
|
+
.psui-el-dropdown-menu:focus-visible {
|
|
4068
|
+
outline: 2px solid #2563EB;
|
|
4069
|
+
outline-offset: 2px;
|
|
4070
|
+
border-radius: 6px;
|
|
4071
|
+
}
|
|
4004
4072
|
.psui-el-dropdown-menu button {
|
|
4005
4073
|
display: inline-flex;
|
|
4006
4074
|
}
|
|
@@ -4026,57 +4094,15 @@ video {
|
|
|
4026
4094
|
min-height: 27px;
|
|
4027
4095
|
font-size: 0.875rem;
|
|
4028
4096
|
}
|
|
4029
|
-
.psui-el-dropdown-menu button:focus {
|
|
4030
|
-
outline: none;
|
|
4031
|
-
box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
|
|
4032
|
-
}
|
|
4033
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4034
|
-
position: fixed;
|
|
4035
|
-
}
|
|
4036
4097
|
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4037
4098
|
z-index: 50;
|
|
4038
4099
|
}
|
|
4039
4100
|
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4040
|
-
|
|
4041
|
-
}
|
|
4042
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4043
|
-
width: auto;
|
|
4044
|
-
}
|
|
4045
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4046
|
-
transform-origin: top right;
|
|
4101
|
+
height: auto;
|
|
4047
4102
|
}
|
|
4048
4103
|
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4049
4104
|
overflow: auto;
|
|
4050
4105
|
}
|
|
4051
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4052
|
-
border-radius: 0.375rem;
|
|
4053
|
-
}
|
|
4054
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4055
|
-
--tw-bg-opacity: 1;
|
|
4056
|
-
background-color: rgb(255, 255, 255, var(--tw-bg-opacity, 1));
|
|
4057
|
-
}
|
|
4058
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4059
|
-
opacity: 0;
|
|
4060
|
-
}
|
|
4061
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4062
|
-
--tw-shadow: 0px 0px 8px rgba(0, 0, 0, 0.04), 0px 5px 6px rgba(0, 0, 0, 0.1);
|
|
4063
|
-
--tw-shadow-colored: 0px 0px 8px var(--tw-shadow-color), 0px 5px 6px var(--tw-shadow-color);
|
|
4064
|
-
box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);
|
|
4065
|
-
}
|
|
4066
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4067
|
-
transition-property: all;
|
|
4068
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
4069
|
-
transition-duration: 150ms;
|
|
4070
|
-
}
|
|
4071
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4072
|
-
transition-duration: 100ms;
|
|
4073
|
-
}
|
|
4074
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4075
|
-
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
4076
|
-
}
|
|
4077
|
-
.psui-el-dropdown-menu-dialog-wrapper-dialog {
|
|
4078
|
-
width: 100%;
|
|
4079
|
-
}
|
|
4080
4106
|
|
|
4081
4107
|
.psui-el-dropdown-menu-list {
|
|
4082
4108
|
margin-top: 1rem;
|
|
@@ -4084,6 +4110,15 @@ video {
|
|
|
4084
4110
|
display: flex;
|
|
4085
4111
|
width: 100%;
|
|
4086
4112
|
flex-direction: column;
|
|
4113
|
+
}
|
|
4114
|
+
|
|
4115
|
+
.psui-el-dropdown-menu-list > :not([hidden]) ~ :not([hidden]) {
|
|
4116
|
+
--tw-space-y-reverse: 0;
|
|
4117
|
+
margin-top: calc(0.25rem * (1 - var(--tw-space-y-reverse)));
|
|
4118
|
+
margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
|
|
4119
|
+
}
|
|
4120
|
+
|
|
4121
|
+
.psui-el-dropdown-menu-list {
|
|
4087
4122
|
font-weight: 500;
|
|
4088
4123
|
}
|
|
4089
4124
|
.psui-el-dropdown-menu-list .psui-el-dropdown-menu-list-item {
|
|
@@ -4552,6 +4587,14 @@ video {
|
|
|
4552
4587
|
--tw-shadow-colored: 0px 0px 8px var(--tw-shadow-color), 0px 5px 6px var(--tw-shadow-color);
|
|
4553
4588
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);
|
|
4554
4589
|
}
|
|
4590
|
+
.psui-el-toast:focus {
|
|
4591
|
+
outline: none;
|
|
4592
|
+
}
|
|
4593
|
+
.psui-el-toast:focus-visible {
|
|
4594
|
+
outline: 2px solid #2563EB;
|
|
4595
|
+
outline-offset: 2px;
|
|
4596
|
+
border-radius: 6px;
|
|
4597
|
+
}
|
|
4555
4598
|
.psui-el-toast .psui-el-toast-icon {
|
|
4556
4599
|
margin-right: 1rem;
|
|
4557
4600
|
}
|
|
@@ -6054,6 +6097,14 @@ video {
|
|
|
6054
6097
|
font-size: 16px;
|
|
6055
6098
|
}
|
|
6056
6099
|
|
|
6100
|
+
.psui-el-collapse:focus {
|
|
6101
|
+
outline: none;
|
|
6102
|
+
}
|
|
6103
|
+
.psui-el-collapse:focus-visible {
|
|
6104
|
+
outline: 2px solid #2563EB;
|
|
6105
|
+
outline-offset: 2px;
|
|
6106
|
+
border-radius: 6px;
|
|
6107
|
+
}
|
|
6057
6108
|
.psui-el-collapse .psui-el-collapse-item-content {
|
|
6058
6109
|
position: relative;
|
|
6059
6110
|
}
|
|
@@ -6376,6 +6427,10 @@ video {
|
|
|
6376
6427
|
justify-self: center;
|
|
6377
6428
|
}
|
|
6378
6429
|
|
|
6430
|
+
.psui-rounded {
|
|
6431
|
+
border-radius: 0.25rem;
|
|
6432
|
+
}
|
|
6433
|
+
|
|
6379
6434
|
.psui-rounded-md {
|
|
6380
6435
|
border-radius: 0.375rem;
|
|
6381
6436
|
}
|
|
@@ -6420,6 +6475,11 @@ video {
|
|
|
6420
6475
|
background-color: rgb(214, 92, 90, var(--tw-bg-opacity, 1));
|
|
6421
6476
|
}
|
|
6422
6477
|
|
|
6478
|
+
.psui-bg-white {
|
|
6479
|
+
--tw-bg-opacity: 1;
|
|
6480
|
+
background-color: rgb(255, 255, 255, var(--tw-bg-opacity, 1));
|
|
6481
|
+
}
|
|
6482
|
+
|
|
6423
6483
|
.psui-bg-yellow-20 {
|
|
6424
6484
|
--tw-bg-opacity: 1;
|
|
6425
6485
|
background-color: rgb(237, 171, 62, var(--tw-bg-opacity, 1));
|
|
@@ -6565,6 +6625,12 @@ video {
|
|
|
6565
6625
|
opacity: 0.75;
|
|
6566
6626
|
}
|
|
6567
6627
|
|
|
6628
|
+
.psui-shadow-elevation-20 {
|
|
6629
|
+
--tw-shadow: 0px 0px 8px rgba(0, 0, 0, 0.04), 0px 5px 6px rgba(0, 0, 0, 0.1);
|
|
6630
|
+
--tw-shadow-colored: 0px 0px 8px var(--tw-shadow-color), 0px 5px 6px var(--tw-shadow-color);
|
|
6631
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);
|
|
6632
|
+
}
|
|
6633
|
+
|
|
6568
6634
|
.psui-transition {
|
|
6569
6635
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
|
6570
6636
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
@@ -6573,10 +6639,6 @@ video {
|
|
|
6573
6639
|
transition-duration: 150ms;
|
|
6574
6640
|
}
|
|
6575
6641
|
|
|
6576
|
-
.psui-duration-300 {
|
|
6577
|
-
transition-duration: 300ms;
|
|
6578
|
-
}
|
|
6579
|
-
|
|
6580
6642
|
*:focus {
|
|
6581
6643
|
outline: none;
|
|
6582
6644
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@policystudio/policy-studio-ui-vue",
|
|
3
|
-
"version": "1.1.90-access.
|
|
3
|
+
"version": "1.1.90-access.10",
|
|
4
4
|
"description": "Policy Studio UI",
|
|
5
5
|
"author": "Policy Studio Team",
|
|
6
6
|
"scripts": {
|
|
@@ -15,10 +15,12 @@
|
|
|
15
15
|
"main": "dist/index.js",
|
|
16
16
|
"types": "src/types/index.d.ts",
|
|
17
17
|
"dependencies": {
|
|
18
|
+
"@floating-ui/vue": "^1.1.9",
|
|
18
19
|
"@vue/compat": "^3.4.5",
|
|
19
20
|
"core-js": "^3.6.5",
|
|
20
21
|
"v-tooltip": "^2.1.3",
|
|
21
|
-
"vue": "^3.4.5"
|
|
22
|
+
"vue": "^3.4.5",
|
|
23
|
+
"vue2-teleport": "^1.1.4"
|
|
22
24
|
},
|
|
23
25
|
"devDependencies": {
|
|
24
26
|
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
|
@@ -5,6 +5,16 @@
|
|
|
5
5
|
&-item {
|
|
6
6
|
border-bottom: 1px solid #e6ecf2;
|
|
7
7
|
|
|
8
|
+
&:focus {
|
|
9
|
+
outline: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&:focus-visible {
|
|
13
|
+
outline: 2px solid #2563EB;
|
|
14
|
+
outline-offset: 2px;
|
|
15
|
+
border-radius: 6px;
|
|
16
|
+
}
|
|
17
|
+
|
|
8
18
|
&.disabled {
|
|
9
19
|
.psui-el-accordion-item-header {
|
|
10
20
|
.psui-el-accordion-item-header-wrapper {
|
|
@@ -94,17 +104,5 @@
|
|
|
94
104
|
@apply psui-list-none psui-text-gray-60 psui-mb-5;
|
|
95
105
|
}
|
|
96
106
|
|
|
97
|
-
.accordion-fade-enter-active,
|
|
98
|
-
.accordion-fade-leave-active {
|
|
99
|
-
will-change: height, margin-bottom;
|
|
100
|
-
transition: height 0.4s ease, margin-bottom 0.4s ease-in-out;
|
|
101
|
-
overflow: hidden;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.accordion-fade-enter-from,
|
|
105
|
-
.accordion-fade-leave-to {
|
|
106
|
-
height: 0 !important;
|
|
107
|
-
margin-bottom: 0 !important;
|
|
108
|
-
}
|
|
109
107
|
}
|
|
110
108
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
@apply psui-border psui-border-gray-20 psui-rounded-md psui-flex psui-flex-col psui-items-center psui-justify-center psui-px-3 psui-py-2 psui-cursor-pointer;
|
|
5
5
|
|
|
6
6
|
&-title {
|
|
7
|
-
@apply psui-
|
|
7
|
+
@apply psui-flex psui-text-xsmall psui-text-gray-40 psui-mb-1;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
&-content {
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
@layer components {
|
|
2
2
|
|
|
3
3
|
.psui-el-checkbox {
|
|
4
|
-
@apply psui-relative psui-text-gray-50;
|
|
4
|
+
@apply psui-relative psui-text-gray-50;
|
|
5
|
+
|
|
6
|
+
&:focus {
|
|
7
|
+
outline: none;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&:focus-visible {
|
|
11
|
+
outline: 2px solid #2563EB;
|
|
12
|
+
outline-offset: 2px;
|
|
13
|
+
border-radius: 6px;
|
|
14
|
+
}
|
|
5
15
|
|
|
6
16
|
&.disabled {
|
|
7
17
|
.psui-el-checkmark {
|