@policystudio/policy-studio-ui-vue 1.1.90-access.1 → 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 +220 -179
- package/package.json +4 -2
- package/src/assets/scss/components/PsAccordion.scss +0 -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/PsToast.scss +10 -0
- package/src/components/accordion/PsAccordionItem.vue +65 -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 +14 -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
|
}
|
|
@@ -1326,17 +1368,6 @@ video {
|
|
|
1326
1368
|
--tw-text-opacity: 1;
|
|
1327
1369
|
color: rgb(81, 94, 106, var(--tw-text-opacity, 1));
|
|
1328
1370
|
}
|
|
1329
|
-
.psui-el-accordion .accordion-fade-enter-active,
|
|
1330
|
-
.psui-el-accordion .accordion-fade-leave-active {
|
|
1331
|
-
will-change: height, margin-bottom;
|
|
1332
|
-
transition: height 0.4s ease, margin-bottom 0.4s ease-in-out;
|
|
1333
|
-
overflow: hidden;
|
|
1334
|
-
}
|
|
1335
|
-
.psui-el-accordion .accordion-fade-enter-from,
|
|
1336
|
-
.psui-el-accordion .accordion-fade-leave-to {
|
|
1337
|
-
height: 0 !important;
|
|
1338
|
-
margin-bottom: 0 !important;
|
|
1339
|
-
}
|
|
1340
1371
|
|
|
1341
1372
|
.psui-el-input {
|
|
1342
1373
|
/* Layout Default */
|
|
@@ -1793,11 +1824,11 @@ video {
|
|
|
1793
1824
|
margin-bottom: 0.25rem;
|
|
1794
1825
|
}
|
|
1795
1826
|
.psui-el-card-infos-title {
|
|
1796
|
-
|
|
1797
|
-
line-height: 130%;
|
|
1827
|
+
display: flex;
|
|
1798
1828
|
}
|
|
1799
1829
|
.psui-el-card-infos-title {
|
|
1800
|
-
font-
|
|
1830
|
+
font-size: 12px;
|
|
1831
|
+
line-height: 130%;
|
|
1801
1832
|
}
|
|
1802
1833
|
.psui-el-card-infos-title {
|
|
1803
1834
|
--tw-text-opacity: 1;
|
|
@@ -3283,6 +3314,14 @@ video {
|
|
|
3283
3314
|
--tw-text-opacity: 1;
|
|
3284
3315
|
color: rgb(121, 132, 144, var(--tw-text-opacity, 1));
|
|
3285
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
|
+
}
|
|
3286
3325
|
.psui-el-checkbox.disabled .psui-el-checkmark {
|
|
3287
3326
|
cursor: default !important;
|
|
3288
3327
|
}
|
|
@@ -4022,6 +4061,14 @@ video {
|
|
|
4022
4061
|
display: inline-block;
|
|
4023
4062
|
text-align: left;
|
|
4024
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
|
+
}
|
|
4025
4072
|
.psui-el-dropdown-menu button {
|
|
4026
4073
|
display: inline-flex;
|
|
4027
4074
|
}
|
|
@@ -4047,57 +4094,15 @@ video {
|
|
|
4047
4094
|
min-height: 27px;
|
|
4048
4095
|
font-size: 0.875rem;
|
|
4049
4096
|
}
|
|
4050
|
-
.psui-el-dropdown-menu button:focus {
|
|
4051
|
-
outline: none;
|
|
4052
|
-
box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
|
|
4053
|
-
}
|
|
4054
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4055
|
-
position: fixed;
|
|
4056
|
-
}
|
|
4057
4097
|
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4058
4098
|
z-index: 50;
|
|
4059
4099
|
}
|
|
4060
4100
|
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4061
|
-
|
|
4062
|
-
}
|
|
4063
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4064
|
-
width: auto;
|
|
4065
|
-
}
|
|
4066
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4067
|
-
transform-origin: top right;
|
|
4101
|
+
height: auto;
|
|
4068
4102
|
}
|
|
4069
4103
|
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4070
4104
|
overflow: auto;
|
|
4071
4105
|
}
|
|
4072
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4073
|
-
border-radius: 0.375rem;
|
|
4074
|
-
}
|
|
4075
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4076
|
-
--tw-bg-opacity: 1;
|
|
4077
|
-
background-color: rgb(255, 255, 255, var(--tw-bg-opacity, 1));
|
|
4078
|
-
}
|
|
4079
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4080
|
-
opacity: 0;
|
|
4081
|
-
}
|
|
4082
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4083
|
-
--tw-shadow: 0px 0px 8px rgba(0, 0, 0, 0.04), 0px 5px 6px rgba(0, 0, 0, 0.1);
|
|
4084
|
-
--tw-shadow-colored: 0px 0px 8px var(--tw-shadow-color), 0px 5px 6px var(--tw-shadow-color);
|
|
4085
|
-
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);
|
|
4086
|
-
}
|
|
4087
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4088
|
-
transition-property: all;
|
|
4089
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
4090
|
-
transition-duration: 150ms;
|
|
4091
|
-
}
|
|
4092
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4093
|
-
transition-duration: 100ms;
|
|
4094
|
-
}
|
|
4095
|
-
.psui-el-dropdown-menu-dialog-wrapper {
|
|
4096
|
-
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
4097
|
-
}
|
|
4098
|
-
.psui-el-dropdown-menu-dialog-wrapper-dialog {
|
|
4099
|
-
width: 100%;
|
|
4100
|
-
}
|
|
4101
4106
|
|
|
4102
4107
|
.psui-el-dropdown-menu-list {
|
|
4103
4108
|
margin-top: 1rem;
|
|
@@ -4105,6 +4110,15 @@ video {
|
|
|
4105
4110
|
display: flex;
|
|
4106
4111
|
width: 100%;
|
|
4107
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 {
|
|
4108
4122
|
font-weight: 500;
|
|
4109
4123
|
}
|
|
4110
4124
|
.psui-el-dropdown-menu-list .psui-el-dropdown-menu-list-item {
|
|
@@ -4573,6 +4587,14 @@ video {
|
|
|
4573
4587
|
--tw-shadow-colored: 0px 0px 8px var(--tw-shadow-color), 0px 5px 6px var(--tw-shadow-color);
|
|
4574
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);
|
|
4575
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
|
+
}
|
|
4576
4598
|
.psui-el-toast .psui-el-toast-icon {
|
|
4577
4599
|
margin-right: 1rem;
|
|
4578
4600
|
}
|
|
@@ -6075,6 +6097,14 @@ video {
|
|
|
6075
6097
|
font-size: 16px;
|
|
6076
6098
|
}
|
|
6077
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
|
+
}
|
|
6078
6108
|
.psui-el-collapse .psui-el-collapse-item-content {
|
|
6079
6109
|
position: relative;
|
|
6080
6110
|
}
|
|
@@ -6397,6 +6427,10 @@ video {
|
|
|
6397
6427
|
justify-self: center;
|
|
6398
6428
|
}
|
|
6399
6429
|
|
|
6430
|
+
.psui-rounded {
|
|
6431
|
+
border-radius: 0.25rem;
|
|
6432
|
+
}
|
|
6433
|
+
|
|
6400
6434
|
.psui-rounded-md {
|
|
6401
6435
|
border-radius: 0.375rem;
|
|
6402
6436
|
}
|
|
@@ -6441,6 +6475,11 @@ video {
|
|
|
6441
6475
|
background-color: rgb(214, 92, 90, var(--tw-bg-opacity, 1));
|
|
6442
6476
|
}
|
|
6443
6477
|
|
|
6478
|
+
.psui-bg-white {
|
|
6479
|
+
--tw-bg-opacity: 1;
|
|
6480
|
+
background-color: rgb(255, 255, 255, var(--tw-bg-opacity, 1));
|
|
6481
|
+
}
|
|
6482
|
+
|
|
6444
6483
|
.psui-bg-yellow-20 {
|
|
6445
6484
|
--tw-bg-opacity: 1;
|
|
6446
6485
|
background-color: rgb(237, 171, 62, var(--tw-bg-opacity, 1));
|
|
@@ -6586,6 +6625,12 @@ video {
|
|
|
6586
6625
|
opacity: 0.75;
|
|
6587
6626
|
}
|
|
6588
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
|
+
|
|
6589
6634
|
.psui-transition {
|
|
6590
6635
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
|
6591
6636
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
@@ -6594,10 +6639,6 @@ video {
|
|
|
6594
6639
|
transition-duration: 150ms;
|
|
6595
6640
|
}
|
|
6596
6641
|
|
|
6597
|
-
.psui-duration-300 {
|
|
6598
|
-
transition-duration: 300ms;
|
|
6599
|
-
}
|
|
6600
|
-
|
|
6601
6642
|
*:focus {
|
|
6602
6643
|
outline: none;
|
|
6603
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",
|
|
@@ -104,17 +104,5 @@
|
|
|
104
104
|
@apply psui-list-none psui-text-gray-60 psui-mb-5;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
.accordion-fade-enter-active,
|
|
108
|
-
.accordion-fade-leave-active {
|
|
109
|
-
will-change: height, margin-bottom;
|
|
110
|
-
transition: height 0.4s ease, margin-bottom 0.4s ease-in-out;
|
|
111
|
-
overflow: hidden;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.accordion-fade-enter-from,
|
|
115
|
-
.accordion-fade-leave-to {
|
|
116
|
-
height: 0 !important;
|
|
117
|
-
margin-bottom: 0 !important;
|
|
118
|
-
}
|
|
119
107
|
}
|
|
120
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 {
|