@policystudio/policy-studio-ui-vue 1.2.0-access.28 → 1.2.0-access.29

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.
@@ -3694,14 +3694,13 @@ video {
3694
3694
  align-items: flex-start;
3695
3695
  }
3696
3696
  .psui-el-dialog.layout-vertical {
3697
- padding: 9.6px 9.6px 11.2px 9.6px;
3697
+ padding: 9.6px;
3698
3698
  }
3699
- .psui-el-dialog.layout-vertical .psui-el-dialog-wrapper {
3700
- flex-direction: column;
3699
+ .psui-el-dialog.layout-vertical {
3700
+ padding-bottom: 11.2px;
3701
3701
  }
3702
3702
  .psui-el-dialog.layout-vertical .psui-el-dialog-wrapper {
3703
- font-size: 14px;
3704
- line-height: 20px;
3703
+ flex-direction: column;
3705
3704
  }
3706
3705
  .psui-el-dialog.layout-vertical i {
3707
3706
  vertical-align: top;
@@ -3709,6 +3708,13 @@ video {
3709
3708
  .psui-el-dialog.layout-vertical .psui-el-dialog-action {
3710
3709
  padding-top: 0.5rem;
3711
3710
  }
3711
+ .psui-el-dialog.layout-horizontal .psui-el-dialog-wrapper {
3712
+ align-items: center;
3713
+ }
3714
+ .psui-el-dialog.layout-horizontal .psui-el-dialog-wrapper {
3715
+ padding-top: 0.25rem;
3716
+ padding-bottom: 0.25rem;
3717
+ }
3712
3718
  .psui-el-dialog.layout-horizontal .psui-el-dialog-close {
3713
3719
  margin-left: 0.75rem;
3714
3720
  }
@@ -3718,37 +3724,67 @@ video {
3718
3724
  .psui-el-dialog.layout-horizontal .psui-el-dialog-action {
3719
3725
  margin-left: 0.75rem;
3720
3726
  }
3721
- .psui-el-dialog.layout-horizontal .psui-el-dialog-wrapper {
3722
- padding-top: 0.25rem;
3723
- padding-bottom: 0.25rem;
3727
+ .psui-el-dialog.theme-informative, .psui-el-dialog.theme-success, .psui-el-dialog.theme-alert {
3728
+ border-width: 1px;
3724
3729
  }
3725
- .psui-el-dialog.layout-horizontal .psui-el-dialog-wrapper {
3730
+ .psui-el-dialog.theme-informative, .psui-el-dialog.theme-success, .psui-el-dialog.theme-alert {
3731
+ border-style: solid;
3732
+ }
3733
+ .psui-el-dialog.theme-informative .psui-el-dialog-default,
3734
+ .psui-el-dialog.theme-informative .psui-el-dialog-action, .psui-el-dialog.theme-success .psui-el-dialog-default,
3735
+ .psui-el-dialog.theme-success .psui-el-dialog-action, .psui-el-dialog.theme-alert .psui-el-dialog-default,
3736
+ .psui-el-dialog.theme-alert .psui-el-dialog-action {
3726
3737
  font-size: 14px;
3727
3738
  line-height: 20px;
3728
3739
  }
3740
+ .psui-el-dialog.theme-informative .psui-el-dialog-default,
3741
+ .psui-el-dialog.theme-informative .psui-el-dialog-action, .psui-el-dialog.theme-success .psui-el-dialog-default,
3742
+ .psui-el-dialog.theme-success .psui-el-dialog-action, .psui-el-dialog.theme-alert .psui-el-dialog-default,
3743
+ .psui-el-dialog.theme-alert .psui-el-dialog-action {
3744
+ line-height: 1rem;
3745
+ }
3746
+ .psui-el-dialog.theme-informative .psui-el-dialog-action, .psui-el-dialog.theme-success .psui-el-dialog-action, .psui-el-dialog.theme-alert .psui-el-dialog-action {
3747
+ font-weight: 700;
3748
+ }
3749
+ .psui-el-dialog.theme-informative {
3750
+ --tw-border-opacity: 1;
3751
+ border-color: rgb(134, 192, 219, var(--tw-border-opacity, 1));
3752
+ }
3729
3753
  .psui-el-dialog.theme-informative {
3730
3754
  --tw-bg-opacity: 1;
3731
- background-color: rgb(224, 239, 246, var(--tw-bg-opacity, 1));
3755
+ background-color: rgb(236, 247, 251, var(--tw-bg-opacity, 1));
3732
3756
  }
3733
3757
  .psui-el-dialog.theme-informative {
3734
3758
  --tw-text-opacity: 1;
3735
3759
  color: rgb(18, 121, 153, var(--tw-text-opacity, 1));
3736
3760
  }
3737
- .psui-el-dialog.theme-informative .psui-el-dialog-message {
3761
+ .psui-el-dialog.theme-informative .psui-el-dialog-default,
3762
+ .psui-el-dialog.theme-informative .psui-el-dialog-action,
3763
+ .psui-el-dialog.theme-informative .psui-el-dialog-close {
3738
3764
  --tw-text-opacity: 1;
3739
3765
  color: rgb(18, 121, 153, var(--tw-text-opacity, 1));
3740
3766
  }
3767
+ .psui-el-dialog.theme-success {
3768
+ --tw-border-opacity: 1;
3769
+ border-color: rgb(155, 222, 181, var(--tw-border-opacity, 1));
3770
+ }
3741
3771
  .psui-el-dialog.theme-success {
3742
3772
  --tw-bg-opacity: 1;
3743
3773
  background-color: rgb(222, 248, 232, var(--tw-bg-opacity, 1));
3744
3774
  }
3745
3775
  .psui-el-dialog.theme-success {
3746
3776
  --tw-text-opacity: 1;
3747
- color: rgb(68, 160, 106, var(--tw-text-opacity, 1));
3777
+ color: rgb(14, 124, 69, var(--tw-text-opacity, 1));
3748
3778
  }
3749
- .psui-el-dialog.theme-success .psui-el-dialog-message {
3779
+ .psui-el-dialog.theme-success .psui-el-dialog-default,
3780
+ .psui-el-dialog.theme-success .psui-el-dialog-action,
3781
+ .psui-el-dialog.theme-success .psui-el-dialog-close {
3750
3782
  --tw-text-opacity: 1;
3751
- color: rgb(68, 160, 106, var(--tw-text-opacity, 1));
3783
+ color: rgb(14, 124, 69, var(--tw-text-opacity, 1));
3784
+ }
3785
+ .psui-el-dialog.theme-alert {
3786
+ --tw-border-opacity: 1;
3787
+ border-color: rgb(215, 165, 86, var(--tw-border-opacity, 1));
3752
3788
  }
3753
3789
  .psui-el-dialog.theme-alert {
3754
3790
  --tw-bg-opacity: 1;
@@ -3758,9 +3794,11 @@ video {
3758
3794
  --tw-text-opacity: 1;
3759
3795
  color: rgb(184, 115, 5, var(--tw-text-opacity, 1));
3760
3796
  }
3761
- .psui-el-dialog.theme-alert .psui-el-dialog-message {
3797
+ .psui-el-dialog.theme-alert .psui-el-dialog-default,
3798
+ .psui-el-dialog.theme-alert .psui-el-dialog-action,
3799
+ .psui-el-dialog.theme-alert .psui-el-dialog-close {
3762
3800
  --tw-text-opacity: 1;
3763
- color: rgb(184, 115, 5, var(--tw-text-opacity, 1));
3801
+ color: rgb(40, 50, 59, var(--tw-text-opacity, 1));
3764
3802
  }
3765
3803
  .psui-el-dialog.theme-gray {
3766
3804
  --tw-bg-opacity: 1;
@@ -4773,9 +4811,6 @@ video {
4773
4811
  padding-bottom: 0.75rem;
4774
4812
  padding-left: 1rem;
4775
4813
  padding-right: 1rem;
4776
- font-size: 16px;
4777
- line-height: 24px;
4778
- font-weight: 700;
4779
4814
  --tw-text-opacity: 1;
4780
4815
  color: rgb(255, 255, 255, var(--tw-text-opacity, 1));
4781
4816
  --tw-shadow: 0px 0px 8px rgba(0, 0, 0, 0.04), 0px 5px 6px rgba(0, 0, 0, 0.1);
@@ -4786,7 +4821,7 @@ video {
4786
4821
  outline: none;
4787
4822
  }
4788
4823
  .psui-el-toast:focus-visible {
4789
- outline: 2px solid #2563EB;
4824
+ outline: 2px solid #2563eb;
4790
4825
  outline-offset: 2px;
4791
4826
  border-radius: 6px;
4792
4827
  }
@@ -4802,6 +4837,13 @@ video {
4802
4837
  .psui-el-toast .psui-el-toast-message {
4803
4838
  margin-right: auto;
4804
4839
  }
4840
+ .psui-el-toast .psui-el-toast-message {
4841
+ font-size: 16px;
4842
+ line-height: 24px;
4843
+ }
4844
+ .psui-el-toast .psui-el-toast-message {
4845
+ font-weight: 600;
4846
+ }
4805
4847
  .psui-el-toast .psui-el-toast-actions {
4806
4848
  display: flex;
4807
4849
  }
@@ -4809,9 +4851,11 @@ video {
4809
4851
  gap: 1rem;
4810
4852
  }
4811
4853
  .psui-el-toast .psui-el-toast-actions {
4812
- font-size: 12px;
4813
- line-height: 130%;
4814
- letter-spacing: 0.6px;
4854
+ font-size: 16px;
4855
+ line-height: 24px;
4856
+ }
4857
+ .psui-el-toast .psui-el-toast-actions {
4858
+ font-weight: 700;
4815
4859
  }
4816
4860
  .psui-el-toast.fill-intense.layout-info {
4817
4861
  --tw-bg-opacity: 1;
@@ -4819,15 +4863,15 @@ video {
4819
4863
  }
4820
4864
  .psui-el-toast.fill-intense.layout-success {
4821
4865
  --tw-bg-opacity: 1;
4822
- background-color: rgb(155, 222, 181, var(--tw-bg-opacity, 1));
4866
+ background-color: rgb(14, 124, 69, var(--tw-bg-opacity, 1));
4823
4867
  }
4824
4868
  .psui-el-toast.fill-intense.layout-warning {
4825
4869
  --tw-bg-opacity: 1;
4826
- background-color: rgb(215, 165, 86, var(--tw-bg-opacity, 1));
4870
+ background-color: rgb(184, 86, 20, var(--tw-bg-opacity, 1));
4827
4871
  }
4828
4872
  .psui-el-toast.fill-intense.layout-error {
4829
4873
  --tw-bg-opacity: 1;
4830
- background-color: rgb(205, 155, 155, var(--tw-bg-opacity, 1));
4874
+ background-color: rgb(162, 54, 52, var(--tw-bg-opacity, 1));
4831
4875
  }
4832
4876
  .psui-el-toast.fill-soft.layout-info {
4833
4877
  --tw-bg-opacity: 1;
@@ -4843,7 +4887,7 @@ video {
4843
4887
  }
4844
4888
  .psui-el-toast.fill-soft.layout-success {
4845
4889
  --tw-text-opacity: 1;
4846
- color: rgb(155, 222, 181, var(--tw-text-opacity, 1));
4890
+ color: rgb(14, 124, 69, var(--tw-text-opacity, 1));
4847
4891
  }
4848
4892
  .psui-el-toast.fill-soft.layout-warning {
4849
4893
  --tw-bg-opacity: 1;
@@ -4851,7 +4895,7 @@ video {
4851
4895
  }
4852
4896
  .psui-el-toast.fill-soft.layout-warning {
4853
4897
  --tw-text-opacity: 1;
4854
- color: rgb(215, 165, 86, var(--tw-text-opacity, 1));
4898
+ color: rgb(40, 50, 59, var(--tw-text-opacity, 1));
4855
4899
  }
4856
4900
  .psui-el-toast.fill-soft.layout-error {
4857
4901
  --tw-bg-opacity: 1;
@@ -4859,7 +4903,7 @@ video {
4859
4903
  }
4860
4904
  .psui-el-toast.fill-soft.layout-error {
4861
4905
  --tw-text-opacity: 1;
4862
- color: rgb(205, 155, 155, var(--tw-text-opacity, 1));
4906
+ color: rgb(162, 54, 52, var(--tw-text-opacity, 1));
4863
4907
  }
4864
4908
 
4865
4909
  .psui-el-mini-tag {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.2.0-access.28",
3
+ "version": "1.2.0-access.29",
4
4
  "description": "Policy Studio UI",
5
5
  "author": "Policy Studio Team",
6
6
  "scripts": {
@@ -1,90 +1,112 @@
1
1
  @layer components {
2
-
3
2
  .psui-el-dialog {
4
- @apply psui-flex psui-justify-start psui-items-start psui-pr-3 psui-pl-2 psui-rounded-md;
5
- padding-top: 8.8px;
6
- padding-bottom: 8.8px;
3
+ @apply psui-flex psui-justify-start psui-items-start psui-pr-3 psui-pl-2 psui-rounded-md psui-pt-[8.8px] psui-pb-[8.8px];
7
4
 
8
5
  &-wrapper {
9
- @apply psui-flex psui-flex-grow
6
+ @apply psui-flex psui-flex-grow;
10
7
  }
8
+
11
9
  &-icon {
12
- @apply psui-flex psui-mr-2 psui-align-top;
13
-
10
+ @apply psui-flex psui-mr-2 psui-align-top;
14
11
  }
12
+
15
13
  &-close {
16
14
  @apply psui-ml-auto psui-inline-block;
17
15
 
18
- &:focus{
19
- @apply psui-outline-none
16
+ &:focus {
17
+ @apply psui-outline-none;
20
18
  }
21
19
 
22
20
  i {
23
- @apply psui-align-middle;
24
- font-size: 18px;
21
+ @apply psui-align-middle psui-text-[18px];
25
22
  }
26
-
27
23
  }
28
24
 
29
25
  &.layout-vertical {
30
- @apply psui-flex psui-items-start;
31
- padding: 9.6px 9.6px 11.2px 9.6px;
26
+ @apply psui-flex psui-items-start psui-p-[9.6px] psui-pb-[11.2px];
32
27
 
33
28
  .psui-el-dialog-wrapper {
34
- @apply psui-flex-col psui-text-14
29
+ @apply psui-flex-col;
35
30
  }
36
31
 
37
32
  i {
38
- @apply psui-align-top
33
+ @apply psui-align-top;
39
34
  }
40
35
 
41
36
  .psui-el-dialog-action {
42
- @apply psui-pt-2
37
+ @apply psui-pt-2;
43
38
  }
44
39
  }
45
-
40
+
46
41
  &.layout-horizontal {
42
+ .psui-el-dialog-wrapper {
43
+ @apply psui-py-1 psui-items-center;
44
+ }
45
+
47
46
  .psui-el-dialog-close {
48
- @apply psui-ml-3
47
+ @apply psui-ml-3;
49
48
  }
49
+
50
50
  .psui-el-dialog-default {
51
- @apply psui-mr-auto
51
+ @apply psui-mr-auto;
52
52
  }
53
+
53
54
  .psui-el-dialog-action {
54
- @apply psui-ml-3
55
+ @apply psui-ml-3;
55
56
  }
56
- .psui-el-dialog-wrapper {
57
- @apply psui-text-14 psui-py-1
57
+ }
58
+
59
+ &.theme-informative,
60
+ &.theme-success,
61
+ &.theme-alert {
62
+ @apply psui-border psui-border-solid;
63
+
64
+ .psui-el-dialog-default,
65
+ .psui-el-dialog-action {
66
+ @apply psui-text-14 psui-leading-4;
67
+ }
68
+
69
+ .psui-el-dialog-action {
70
+ @apply psui-font-bold;
58
71
  }
59
72
  }
60
-
61
73
 
62
74
  &.theme-informative {
63
- @apply psui-bg-blue-20 psui-text-blue-60;
64
- .psui-el-dialog-message {
75
+ @apply psui-bg-blue-10 psui-text-blue-60 psui-border-blue-40;
76
+
77
+ .psui-el-dialog-default,
78
+ .psui-el-dialog-action,
79
+ .psui-el-dialog-close {
65
80
  @apply psui-text-blue-60;
66
81
  }
67
82
  }
68
83
 
69
84
  &.theme-success {
70
- @apply psui-bg-green-10 psui-text-green-70;
71
- .psui-el-dialog-message {
72
- @apply psui-text-green-70;
85
+ @apply psui-bg-green-10 psui-text-green-80 psui-border-green-20;
86
+
87
+ .psui-el-dialog-default,
88
+ .psui-el-dialog-action,
89
+ .psui-el-dialog-close {
90
+ @apply psui-text-green-80;
73
91
  }
74
92
  }
75
93
 
76
94
  &.theme-alert {
77
- @apply psui-bg-yellow-10 psui-text-yellow-70;
78
- .psui-el-dialog-message {
79
- @apply psui-text-yellow-70;
95
+ @apply psui-bg-yellow-10 psui-text-yellow-70 psui-border-yellow-20;
96
+
97
+ .psui-el-dialog-default,
98
+ .psui-el-dialog-action,
99
+ .psui-el-dialog-close {
100
+ @apply psui-text-gray-80;
80
101
  }
81
102
  }
82
103
 
83
104
  &.theme-gray {
84
105
  @apply psui-bg-gray-10 psui-text-gray-50;
106
+
85
107
  .psui-el-dialog-message {
86
108
  @apply psui-text-gray-70;
87
109
  }
88
110
  }
89
111
  }
90
- }
112
+ }
@@ -1,62 +1,64 @@
1
1
  @layer components {
2
- .psui-el-toast {
3
- @apply psui-flex psui-items-center psui-text-16 psui-text-white psui-py-3 psui-px-4 psui-rounded-md psui-font-bold psui-shadow-elevation-20;
4
-
5
- &:focus {
6
- outline: none;
7
- }
8
-
9
- &:focus-visible {
10
- outline: 2px solid #2563EB;
11
- outline-offset: 2px;
12
- border-radius: 6px;
13
- }
14
-
15
- .psui-el-toast-icon {
16
- @apply psui-flex psui-mr-4;
17
- font-size: 24px;
18
- }
19
-
20
- .psui-el-toast-message {
21
- @apply psui-mr-auto
22
- }
23
-
24
- .psui-el-toast-actions {
25
- @apply psui-flex psui-gap-4 psui-text-accentSmall;
26
- }
27
-
28
- &.fill-intense.layout{
29
- &-info {
30
- @apply psui-bg-blue-60
31
- }
32
-
33
- &-success {
34
- @apply psui-bg-green-20
35
- }
36
-
37
- &-warning {
38
- @apply psui-bg-yellow-20
39
- }
40
-
41
- &-error {
42
- @apply psui-bg-red-20
43
- }
44
- }
45
-
46
- &.fill-soft.layout {
47
- &-info {
48
- @apply psui-text-blue-60 psui-bg-blue-20;
49
- }
50
-
51
- &-success {
52
- @apply psui-text-green-20 psui-bg-green-10
53
- }
54
- &-warning {
55
- @apply psui-text-yellow-20 psui-bg-yellow-10
56
- }
57
- &-error {
58
- @apply psui-text-red-20 psui-bg-red-10
59
- }
60
- }
2
+ .psui-el-toast {
3
+ @apply psui-flex psui-items-center psui-text-white psui-py-3 psui-px-4 psui-rounded-md psui-shadow-elevation-20;
4
+
5
+ &:focus {
6
+ outline: none;
7
+ }
8
+
9
+ &:focus-visible {
10
+ outline: 2px solid #2563eb;
11
+ outline-offset: 2px;
12
+ border-radius: 6px;
13
+ }
14
+
15
+ .psui-el-toast-icon {
16
+ @apply psui-flex psui-mr-4;
17
+ font-size: 24px;
18
+ }
19
+
20
+ .psui-el-toast-message {
21
+ @apply psui-mr-auto psui-text-16 psui-font-semibold;
22
+ }
23
+
24
+ .psui-el-toast-actions {
25
+ @apply psui-flex psui-gap-4 psui-text-16 psui-font-bold;
26
+ }
27
+
28
+ &.fill-intense.layout {
29
+ &-info {
30
+ @apply psui-bg-blue-60;
31
+ }
32
+
33
+ &-success {
34
+ @apply psui-bg-green-80;
35
+ }
36
+
37
+ &-warning {
38
+ @apply psui-bg-yellow-80;
39
+ }
40
+
41
+ &-error {
42
+ @apply psui-bg-red-80;
43
+ }
44
+ }
45
+
46
+ &.fill-soft.layout {
47
+ &-info {
48
+ @apply psui-text-blue-60 psui-bg-blue-20;
49
+ }
50
+
51
+ &-success {
52
+ @apply psui-text-green-80 psui-bg-green-10;
53
+ }
54
+
55
+ &-warning {
56
+ @apply psui-text-gray-80 psui-bg-yellow-10;
57
+ }
58
+
59
+ &-error {
60
+ @apply psui-text-red-80 psui-bg-red-10;
61
+ }
61
62
  }
62
- }
63
+ }
64
+ }