@policystudio/policy-studio-ui-vue 1.0.27 → 1.0.28

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.
Files changed (66) hide show
  1. package/dist/css/psui_styles.css +4752 -586
  2. package/package.json +1 -1
  3. package/src/assets/scss/base.scss +38 -3
  4. package/src/assets/scss/components/PsButton.scss +114 -120
  5. package/src/assets/scss/components/PsCardInfos.scss +26 -0
  6. package/src/assets/scss/components/PsChartLegend.scss +25 -0
  7. package/src/assets/scss/components/PsCheckbox.scss +96 -0
  8. package/src/assets/scss/components/PsChips.scss +155 -0
  9. package/src/assets/scss/components/PsClimateZoneBadge.scss +26 -0
  10. package/src/assets/scss/components/PsCostEffectBar.scss +31 -0
  11. package/src/assets/scss/components/PsDataTable.scss +50 -0
  12. package/src/assets/scss/components/PsDropdown.scss +44 -0
  13. package/src/assets/scss/components/PsHighlightRippleDot.scss +48 -0
  14. package/src/assets/scss/components/PsInlineSelector.scss +5 -0
  15. package/src/assets/scss/components/PsInputSelect.scss +62 -0
  16. package/src/assets/scss/components/PsInputTextArea.scss +49 -0
  17. package/src/assets/scss/components/PsProgressBar.scss +24 -0
  18. package/src/assets/scss/components/PsRadioButton.scss +78 -0
  19. package/src/assets/scss/components/PsSlider.scss +11 -0
  20. package/src/assets/scss/components/PsSwitch.scss +66 -0
  21. package/src/assets/scss/components/PsTabHeader.scss +10 -3
  22. package/src/assets/scss/components/PsToast.scss +52 -0
  23. package/src/assets/scss/components/PsToggle.scss +23 -0
  24. package/src/assets/scss/components/PsTooltip.scss +118 -0
  25. package/src/components/badges-and-tags/PsCardInfos.vue +14 -7
  26. package/src/components/badges-and-tags/PsChartLegend.vue +7 -13
  27. package/src/components/badges-and-tags/PsClimateZoneBadge.vue +15 -6
  28. package/src/components/badges-and-tags/PsCostEffectBar.Copy.vue +72 -0
  29. package/src/components/badges-and-tags/PsCostEffectBar.vue +33 -70
  30. package/src/components/badges-and-tags/PsHighlightRippleDot.vue +3 -69
  31. package/src/components/badges-and-tags/PsProgressBar.vue +42 -0
  32. package/src/components/buttons/PsButton.vue +74 -78
  33. package/src/components/chips/PsChips.vue +46 -87
  34. package/src/components/controls/PsCheckbox.vue +58 -134
  35. package/src/components/controls/PsInlineSelector.vue +15 -0
  36. package/src/components/controls/PsRadioButton.vue +33 -88
  37. package/src/components/controls/PsSlider.vue +4 -5
  38. package/src/components/controls/PsSwitch.vue +29 -81
  39. package/src/components/controls/PsToggle.vue +45 -39
  40. package/src/components/datatable/PsDataTable.vue +3 -15
  41. package/src/components/forms/PsDropdown.vue +27 -11
  42. package/src/components/forms/PsInputSelect.vue +80 -0
  43. package/src/components/forms/PsInputTextArea.vue +80 -0
  44. package/src/components/notifications/PsDialog.vue +3 -0
  45. package/src/components/notifications/PsToast.vue +13 -28
  46. package/src/components/tabs/PsTabHeader.vue +30 -12
  47. package/src/components/tooltip/PsDialogTooltip.vue +6 -31
  48. package/src/components/tooltip/PsRichTooltip.vue +37 -44
  49. package/src/components/tooltip/PsTooltip.vue +18 -28
  50. package/src/components/ui/PsIcon.vue +9 -9
  51. package/src/index.js +9 -0
  52. package/src/stories/Button.stories.js +102 -112
  53. package/src/stories/Checkbox.stories.js +34 -37
  54. package/src/stories/Chips.stories.js +43 -54
  55. package/src/stories/ClimateZoneBadge.stories.js +0 -7
  56. package/src/stories/InlineSelector.stories.js +16 -0
  57. package/src/stories/InputSelect.stories.js +22 -0
  58. package/src/stories/InputTextArea.stories.js +25 -0
  59. package/src/stories/RadioButton.stories.js +32 -29
  60. package/src/stories/Switch.stories.js +33 -0
  61. package/src/stories/Toast.stories.js +40 -46
  62. package/src/stories/Tooltip.stories.js +86 -86
  63. package/tailwind.config.js +7 -1
  64. package/src/assets/images/check-checkbox-button.svg +0 -1
  65. package/src/assets/images/radio-checked-button.svg +0 -1
  66. package/src/stories/Swith.stories.js +0 -38
@@ -0,0 +1,50 @@
1
+ @layer components{
2
+
3
+ .psui-el-table {
4
+ @apply psui-w-full psui-table-fixed psui-border psui-border-gray-20 psui-text-small psui-text-gray-60 psui-border-separate psui-overflow-hidden psui-rounded;
5
+ border-spacing: 0;
6
+
7
+ &.psui-text-right {
8
+ th,
9
+ td {
10
+ &:first-child {
11
+ text-align: left;
12
+ }
13
+ }
14
+ }
15
+
16
+ thead,
17
+ tfoot {
18
+ th {
19
+ @apply psui-bg-gray-10;
20
+ }
21
+ }
22
+
23
+ th, td {
24
+ border-bottom: 1px solid #e6ecf2;
25
+ }
26
+
27
+ th,
28
+ td,
29
+ tr {
30
+ padding: 11px 16px;
31
+
32
+ &:not(:last-child) {
33
+ border-right: 1px solid #e6ecf2;
34
+ }
35
+ }
36
+
37
+ thead {
38
+ th {
39
+ @apply psui-bg-gray-10 psui-text-gray-80 psui-capitalize psui-font-bold;
40
+ }
41
+ }
42
+
43
+ tfoot {
44
+ th {
45
+ border-bottom: 0;
46
+ }
47
+ }
48
+ }
49
+
50
+ }
@@ -0,0 +1,44 @@
1
+ @layer components {
2
+ .psui-el-dropdown-menu {
3
+ @apply psui-relative psui-inline-block psui-text-left psui-bg-white;
4
+ padding: 0px 20px;
5
+ width: 230px;
6
+
7
+ &:hover {
8
+ @apply psui-cursor-pointer psui-bg-blue-10 psui-text-blue-60;
9
+
10
+ }
11
+
12
+ &:first-child {
13
+
14
+ }
15
+
16
+ &-button {
17
+ @apply psui-inline-flex psui-justify-center psui-items-center psui-w-full psui-font-medium psui-leading-none;
18
+ background-color: transparent;
19
+ padding-top: 2.5px;
20
+ padding-bottom: 2.5px;
21
+ min-height: 27px;
22
+ font-size: 0.875rem;
23
+
24
+ &:focus {
25
+ outline: none;
26
+ box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
27
+ }
28
+ }
29
+
30
+ &-dialog {
31
+ @apply psui-hidden psui-origin-top-right psui-fixed psui-mt-2 psui-w-auto psui-rounded psui-shadow-lg psui-z-50 psui-opacity-0;
32
+ transition: opacity 150ms ease-in-out;
33
+
34
+ &-category-divider {
35
+ @apply w-full;
36
+
37
+ h2 {
38
+ @apply psui-text-gray-20 psui-font-bold psui-whitespace-no-wrap psui-mb-4;
39
+ }
40
+ }
41
+
42
+ }
43
+ }
44
+ }
@@ -0,0 +1,48 @@
1
+ @layer components {
2
+ .psui-el-highlight-ripple-icon {
3
+ @apply psui-static psui-box-border;
4
+
5
+ .psui-el-icon {
6
+ @apply psui-rounded-full psui-w-2 psui-h-2 psui-relative;
7
+ background-color: #5db883;
8
+ margin: 100px auto;
9
+
10
+ &::before, &::after {
11
+ @apply psui-rounded-full psui-absolute psui-origin-center;
12
+ background-color: #def8e8;
13
+ border: solid 0px;
14
+ content: '';
15
+ width: 36px;
16
+ height: 36px;
17
+ left: -8px;
18
+ top: -8px;
19
+ transform: scale(1) translate(-1px, -1px);
20
+ z-index: -1;
21
+ }
22
+
23
+ &::before {
24
+ animation: ripple 1s infinite;
25
+ }
26
+
27
+ &::after {
28
+ animation: ripple 1s infinite;
29
+
30
+ }
31
+ }
32
+ }
33
+
34
+ @keyframes ripple {
35
+ 0% {
36
+ @apply psui-opacity-100 psui-w-0 psui-h-0;
37
+ left: 5px;
38
+ top: 5px;
39
+ }
40
+ 100% {
41
+ @apply psui-opacity-0;
42
+ left: -13px;
43
+ top: -13px;
44
+ width: 36px;
45
+ height: 36px;
46
+ }
47
+ }
48
+ }
@@ -0,0 +1,5 @@
1
+ @layer components {
2
+ .psui-el-inline-selector {
3
+
4
+ }
5
+ }
@@ -0,0 +1,62 @@
1
+ @layer components {
2
+ .psui-el-input-select {
3
+ @apply psui-w-full psui-flex psui-flex-col psui-relative psui-text-gray-40;
4
+
5
+ &.disabled {
6
+ @apply psui-pointer-events-none;
7
+
8
+ label {
9
+ @apply psui-text-gray-40
10
+ }
11
+
12
+ select {
13
+ @apply psui-bg-gray-20 psui-text-gray-40 psui-border-gray-20
14
+ }
15
+
16
+ &::after {
17
+ @apply psui-z-10;
18
+ }
19
+ }
20
+
21
+ &.selected {
22
+ select {
23
+ @apply psui-border-blue-50 psui-text-gray-60
24
+ }
25
+ }
26
+
27
+ &::after {
28
+ @apply psui-absolute psui-inline-block psui-text-gray-50;
29
+ content: 'arrow_drop_down';
30
+ font-family: 'Material Icons Round';
31
+ font-size: 24px;
32
+ top: 28px;
33
+ right: 16px;
34
+ z-index: -20;
35
+ }
36
+
37
+ select {
38
+ @apply psui-appearance-none psui-w-full psui-border psui-bg-transparent psui-border-gray-30 psui-rounded-md psui-text-gray-40;
39
+ padding: 10px 16px;
40
+
41
+ &:hover,
42
+ &:active {
43
+ @apply psui-border-blue-50 psui-text-gray-60
44
+ }
45
+
46
+ &:focus {
47
+ @apply psui-border-blue-60 psui-text-gray-60
48
+ }
49
+
50
+ }
51
+
52
+ label {
53
+ @apply psui-flex psui-text-gray-80 psui-text-big psui-items-center psui-w-full psui-font-bold psui-pointer-events-none
54
+ }
55
+
56
+ .psui-el-input-helper {
57
+ @apply psui-text-gray-50;
58
+ font-size: 12px;
59
+ line-height: 120%;
60
+ }
61
+ }
62
+ }
@@ -0,0 +1,49 @@
1
+ @layer components {
2
+ .psui-el-input-textarea {
3
+ @apply psui-block psui-w-full;
4
+ font-family: inherit;
5
+
6
+ &.disabled {
7
+ @apply psui-text-gray-40 psui-block psui-w-full !important;
8
+
9
+ .psui-el-input-textarea-wrapper {
10
+ label {
11
+ @apply psui-bg-gray-10 !important;
12
+ }
13
+
14
+ textarea {
15
+ @apply psui-appearance-none psui-w-full psui-bg-gray-20 psui-border-gray-20 psui-cursor-default !important;
16
+ }
17
+ }
18
+ }
19
+
20
+ .psui-el-input-textarea-wrapper {
21
+ @apply psui-flex psui-flex-col;
22
+
23
+ label {
24
+ @apply psui-h-full psui-flex psui-items-center psui-font-bold psui-text-big psui-py-1
25
+ }
26
+
27
+ textarea {
28
+ @apply psui-appearance-none psui-w-full psui-h-full psui-text-big psui-border psui-border-gray-30 psui-bg-white psui-text-gray-60 psui-resize-none psui-rounded-md psui-p-4;
29
+
30
+ &:hover,
31
+ &:focus,
32
+ &:active {
33
+ @apply psui-border-blue-60
34
+ }
35
+
36
+ ::placeholder {
37
+ @apply psui-text-big
38
+ }
39
+ }
40
+ }
41
+
42
+ .psui-el-input-textarea-message {
43
+ @apply psui-text-gray-50 psui-flex psui-font-normal;
44
+ font-size: 12px;
45
+ line-height: 120%;
46
+ padding: 5px 0px;
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,24 @@
1
+ @layer components {
2
+ .psui-el-simple-progress-bar {
3
+ @apply psui-relative psui-h-2;
4
+ width: 100px;
5
+ border-radius: 15px;
6
+
7
+ &-percentage {
8
+ @apply psui-absolute psui-block psui-h-full psui-overflow-visible;
9
+ max-width: 100px;
10
+ border-radius: 15px;
11
+ background-size: 30px 30px;
12
+ animation: animate-stripes 3s linear infinite;
13
+ }
14
+
15
+ @keyframes animate-stripes {
16
+ 0% {
17
+ background-position: 0 0;
18
+ }
19
+ 100% {
20
+ background-position: 60px 0;
21
+ }
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,78 @@
1
+ @layer components {
2
+
3
+ .psui-el-radio {
4
+ @apply psui-relative psui-text-gray-50;
5
+
6
+ &.disabled {
7
+ .psui-el-checkmark {
8
+ @apply psui-cursor-default psui-text-gray-40 !important
9
+ }
10
+
11
+ .psui-el-checkmark::before {
12
+ @apply psui-text-gray-30 !important
13
+ }
14
+ }
15
+
16
+ &.size-small {
17
+ @apply psui-text-small;
18
+
19
+ input {
20
+ @apply psui-absolute psui-opacity-0 psui-h-0 psui-w-0;
21
+
22
+ &:checked ~.psui-el-checkmark::before {
23
+ @apply psui-text-blue-50;
24
+ font-size: 18px;
25
+ content: 'radio_button_checked';
26
+ font-family: 'Material Icons Round';
27
+ }
28
+ }
29
+
30
+ .psui-el-checkmark {
31
+ @apply psui-block psui-cursor-pointer;
32
+ height: 18px;
33
+
34
+ span {
35
+ margin-left: 8px;
36
+ }
37
+
38
+ &::before {
39
+ content: 'radio_button_unchecked';
40
+ @apply psui-text-gray-40 psui-align-text-bottom;
41
+ font-family: 'Material Icons Round';
42
+ font-size: 18px;
43
+ }
44
+ }
45
+ }
46
+
47
+ &.size-big {
48
+ @apply psui-text-small;
49
+
50
+ input {
51
+ @apply psui-absolute psui-opacity-0 psui-h-0 psui-w-0;
52
+
53
+ &:checked ~.psui-el-checkmark::before {
54
+ @apply psui-text-blue-50;
55
+ font-size: 24px;
56
+ content: 'radio_button_checked';
57
+ font-family: 'Material Icons Round';
58
+ }
59
+ }
60
+
61
+ .psui-el-checkmark {
62
+ @apply psui-block psui-cursor-pointer;
63
+ height: 24px;
64
+
65
+ span {
66
+ margin-left: 8px;
67
+ }
68
+
69
+ &::before {
70
+ content: 'radio_button_unchecked';
71
+ @apply psui-text-gray-40 psui-align-text-bottom;
72
+ font-family: 'Material Icons Round';
73
+ font-size: 24px;
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
@@ -0,0 +1,11 @@
1
+ @layer components {
2
+ .psui-el-slider {
3
+ .psui-el-slider-label {
4
+ @apply psui-mb-2;
5
+
6
+ span {
7
+ @apply psui-text-gray-50 psui-text-small
8
+ }
9
+ }
10
+ }
11
+ }
@@ -0,0 +1,66 @@
1
+ @layer components {
2
+ .psui-el-switch {
3
+ @apply psui-relative psui-inline-block psui-rounded-3xl;
4
+ &.size-big{
5
+ width: 46px;
6
+ height: 24px;
7
+ }
8
+ &.size-small {
9
+ width: 30px;
10
+ height: 16px;
11
+
12
+ .psui-el-switch-button {
13
+ &.toggle-false{
14
+ &::before {
15
+ @apply psui-absolute psui-h-3 psui-w-3 psui-bg-white psui-rounded-full psui-transition-all psui-ease-in-out psui-duration-500 psui-shadow-elevation-20;
16
+ box-shadow: 0 0 98px 6px rgba(0, 0, 0, 0.2);
17
+ left: 2px;
18
+ top: 2px;
19
+ content: '';
20
+ }
21
+ }
22
+
23
+ &.toggle-true {
24
+ @apply psui-bg-green-20;
25
+
26
+ &::before {
27
+ @apply psui-absolute psui-h-3 psui-w-3 psui-bg-white psui-rounded-full psui-transition-all psui-ease-in-out psui-duration-500 psui-shadow-elevation-20;
28
+ box-shadow: 0 0 98px 6px rgba(0, 0, 0, 0.2);
29
+ left: 16px;
30
+ top: 2px;
31
+ content: '';
32
+ }
33
+ }
34
+ }
35
+ }
36
+ :focus {
37
+ @apply psui-outline-none;
38
+ }
39
+ input {
40
+ @apply psui-opacity-0 psui-w-0 psui-h-0;
41
+ }
42
+ .psui-el-switch-button {
43
+ @apply psui-absolute psui-inline-block psui-cursor-pointer psui-top-0 psui-left-0 psui-right-0 psui-bottom-0 psui-bg-gray-40 psui-rounded-full psui-transition-all psui-ease-in-out psui-duration-500;
44
+
45
+ &.toggle-false{
46
+ &::before {
47
+ @apply psui-absolute psui-h-5 psui-w-5 psui-bg-white psui-rounded-full psui-transition-all psui-ease-in-out psui-duration-500 psui-shadow-elevation-20;
48
+ left: 2px;
49
+ top: 2px;
50
+ content: '';
51
+ }
52
+ }
53
+
54
+ &.toggle-true {
55
+ @apply psui-bg-green-20;
56
+
57
+ &::before {
58
+ @apply psui-absolute psui-h-5 psui-w-5 psui-bg-white psui-rounded-full psui-transition-all psui-ease-in-out psui-duration-500 psui-shadow-elevation-20;
59
+ left: 24px;
60
+ top:2px;
61
+ content: '';
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
@@ -5,6 +5,9 @@
5
5
 
6
6
  button {
7
7
  @apply transition-default psui-text-small;
8
+ &.status-disabled {
9
+ @apply cursor-not-allowed
10
+ }
8
11
  }
9
12
 
10
13
  &.status-disabled {
@@ -41,6 +44,10 @@
41
44
  &.status-active {
42
45
  @apply psui-text-white psui-bg-blue-60 psui-font-bold;
43
46
  }
47
+
48
+ &.status-disabled:hover {
49
+ @apply psui-text-gray-60;
50
+ }
44
51
  }
45
52
  }
46
53
  /* ----------------------------------------- Layout Standard */
@@ -59,12 +66,12 @@
59
66
  margin-right: 20px;
60
67
  }
61
68
 
62
- &:hover {
69
+ &.status-enable:hover {
63
70
  @apply psui-text-blue-60;
64
71
  }
65
72
 
66
73
  &.status-active {
67
- @apply psui-text-blue-60 psui-border-blue-60;
74
+ @apply psui-text-blue-60 psui-border-blue-50
68
75
  }
69
76
  }
70
77
  }
@@ -82,7 +89,7 @@
82
89
  margin-right: 4px;
83
90
  }
84
91
 
85
- &:hover {
92
+ &.status-enable:hover {
86
93
  @apply psui-text-gray-60;
87
94
  }
88
95
 
@@ -0,0 +1,52 @@
1
+ @layer components {
2
+ .psui-el-toast {
3
+ @apply psui-flex psui-items-center psui-text-big psui-text-white psui-py-3 psui-px-4 psui-rounded-md psui-font-bold;
4
+
5
+ .psui-el-toast-icon {
6
+ @apply psui-flex psui-mr-4;
7
+ font-size: 24px;
8
+ }
9
+
10
+ .psui-el-toast-message {
11
+ @apply psui-mr-auto
12
+ }
13
+
14
+ .psui-el-toast-actions {
15
+ @apply psui-flex psui-gap-4
16
+ }
17
+
18
+ &.fill-intense.layout{
19
+ &-info {
20
+ @apply psui-bg-blue-60
21
+ }
22
+
23
+ &-success {
24
+ @apply psui-bg-green-20
25
+ }
26
+
27
+ &-warning {
28
+ @apply psui-bg-yellow-20
29
+ }
30
+
31
+ &-error {
32
+ @apply psui-bg-red-20
33
+ }
34
+ }
35
+
36
+ &.fill-soft.layout {
37
+ &-info {
38
+ @apply psui-text-blue-60 psui-bg-blue-20
39
+ }
40
+
41
+ &-success {
42
+ @apply psui-text-green-20 psui-bg-green-10
43
+ }
44
+ &-warning {
45
+ @apply psui-text-yellow-20 psui-bg-yellow-10
46
+ }
47
+ &-error {
48
+ @apply psui-text-red-20 psui-bg-red-10
49
+ }
50
+ }
51
+ }
52
+ }
@@ -0,0 +1,23 @@
1
+ @layer components{
2
+
3
+ .psui-el-toggle {
4
+ @apply psui-flex psui-rounded-sm psui-bg-gray-10 psui-gap-x-px;
5
+ padding: 2px;
6
+
7
+ button {
8
+ @apply transition-default psui-inline-flex psui-rounded-sm psui-text-small psui-bg-gray-10 psui-text-blue-60 psui-px-2;
9
+
10
+ &.status-active {
11
+ @apply psui-bg-blue-60 psui-text-white psui-font-bold psui-shadow-elevation-10;
12
+ }
13
+
14
+ &:not(.status-active) {
15
+ &:hover {
16
+ text-decoration: underline;
17
+ }
18
+ }
19
+ }
20
+
21
+ }
22
+
23
+ }
@@ -0,0 +1,118 @@
1
+ @layer components {
2
+ .psui-el-tooltip {
3
+
4
+ .psui-el-tooltip-wrapper{
5
+ @apply psui-relative;
6
+
7
+ .psui-el-tooltip-dialog {
8
+ @apply psui-fixed psui-hidden psui-opacity-0 psui-transition-opacity psui-duration-500 psui-ease-in-out;
9
+
10
+ .psui-el-tooltip-content {
11
+ @apply psui-flex psui-flex-col psui-rounded-md psui-shadow-md psui-z-20 psui-bg-gray-50 psui-text-white;
12
+ padding: 5px 8px;
13
+
14
+ h2 {
15
+ @apply psui-font-bold;
16
+ }
17
+
18
+ .psui-el-tooltip-content-wrapper{
19
+ @apply psui-text-xsmall psui-font-bold;
20
+ }
21
+
22
+ &.layout {
23
+ &-gray {
24
+ @apply psui-bg-gray-30 psui-text-gray-80 psui-p-4 ;
25
+ font-size: 12px;
26
+ line-height: 120%;
27
+
28
+ .psui-el-tooltip-content-wrapper {
29
+ @apply psui-font-normal psui-mt-1
30
+ }
31
+ }
32
+
33
+ &-blue {
34
+ @apply psui-bg-blue-70 psui-text-white psui-p-4;
35
+ font-size: 12px;
36
+ line-height: 120%;
37
+
38
+ .psui-el-tooltip-content-wrapper {
39
+ @apply psui-font-normal psui-mt-1
40
+ }
41
+ }
42
+
43
+ &-red {
44
+ @apply psui-bg-red-10 psui-text-red-70 psui-p-4;
45
+ font-size: 12px;
46
+ line-height: 120%;
47
+
48
+ .psui-el-tooltip-content-wrapper {
49
+ @apply psui-font-normal psui-mt-1
50
+ }
51
+ }
52
+
53
+ &-white {
54
+ @apply psui-bg-white psui-py-4 psui-px-6 psui-flex psui-gap-3 psui-flex-col;
55
+
56
+ h2 {
57
+ @apply psui-text-gray-80 psui-font-bold;
58
+ font-size: 17px;
59
+ line-height: 120%;
60
+ }
61
+
62
+ .psui-el-tooltip-content-wrapper {
63
+ @apply psui-text-gray-50 psui-text-small psui-font-normal psui-flex psui-flex-col psui-gap-3;
64
+
65
+ button {
66
+ @apply psui-rounded-md psui-bg-blue-20 psui-text-blue-60;
67
+ padding: 7px 16px;
68
+ width: fit-content;
69
+ }
70
+ }
71
+ }
72
+
73
+ &-dark {
74
+ @apply psui-bg-blue-70 psui-py-4 psui-px-6 psui-flex psui-gap-3 psui-flex-col;
75
+
76
+ h2 {
77
+ @apply psui-text-white psui-font-bold;
78
+ font-size: 17px;
79
+ line-height: 120%;
80
+ }
81
+
82
+ .psui-el-tooltip-content-wrapper {
83
+ @apply psui-text-white psui-text-small psui-font-normal psui-flex psui-flex-col psui-gap-3;
84
+
85
+ button {
86
+ @apply psui-rounded-md psui-bg-blue-60 psui-text-white;
87
+ padding: 7px 16px;
88
+ width: fit-content;
89
+ }
90
+ }
91
+ }
92
+
93
+ &-color {
94
+ @apply psui-bg-blue-50 psui-py-4 psui-px-6 psui-flex psui-gap-3 psui-flex-col;
95
+
96
+ h2 {
97
+ @apply psui-text-white psui-font-bold;
98
+ font-size: 17px;
99
+ line-height: 120%;
100
+ }
101
+
102
+ .psui-el-tooltip-content-wrapper {
103
+ @apply psui-text-white psui-text-small psui-font-normal psui-flex psui-flex-col psui-gap-3;
104
+
105
+ button {
106
+ @apply psui-rounded-md psui-bg-blue-60 psui-text-white;
107
+ padding: 7px 16px;
108
+ width: fit-content;
109
+ }
110
+ }
111
+ }
112
+
113
+ }
114
+ }
115
+ }
116
+ }
117
+ }
118
+ }