@policystudio/policy-studio-ui-vue 1.0.26 → 1.0.30

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 (74) hide show
  1. package/dist/css/psui_styles.css +6011 -496
  2. package/package.json +1 -1
  3. package/src/assets/scss/base.scss +40 -3
  4. package/src/assets/scss/components/PsButton.scss +115 -117
  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 +26 -0
  11. package/src/assets/scss/components/PsDataTable.scss +50 -0
  12. package/src/assets/scss/components/PsDialog.scss +10 -1
  13. package/src/assets/scss/components/PsDotLoader.scss +45 -0
  14. package/src/assets/scss/components/PsDropdown.scss +44 -0
  15. package/src/assets/scss/components/PsHighlightRippleDot.scss +48 -0
  16. package/src/assets/scss/components/PsInlineSelector.scss +96 -0
  17. package/src/assets/scss/components/PsInputSelect.scss +104 -0
  18. package/src/assets/scss/components/PsInputTextArea.scss +49 -0
  19. package/src/assets/scss/components/PsMiniTag.scss +36 -0
  20. package/src/assets/scss/components/PsProgressBar.scss +24 -0
  21. package/src/assets/scss/components/PsRadioButton.scss +78 -0
  22. package/src/assets/scss/components/PsSlider.scss +11 -0
  23. package/src/assets/scss/components/PsSwitch.scss +66 -0
  24. package/src/assets/scss/components/PsTabHeader.scss +10 -3
  25. package/src/assets/scss/components/PsToast.scss +52 -0
  26. package/src/assets/scss/components/PsToggle.scss +23 -0
  27. package/src/assets/scss/components/PsTooltip.scss +118 -0
  28. package/src/components/badges-and-tags/PsCardInfos.vue +14 -7
  29. package/src/components/badges-and-tags/PsChartLegend.vue +7 -13
  30. package/src/components/badges-and-tags/PsClimateZoneBadge.vue +15 -6
  31. package/src/components/badges-and-tags/PsCostEffectBar.vue +32 -70
  32. package/src/components/badges-and-tags/PsHighlightRippleDot.vue +3 -69
  33. package/src/components/badges-and-tags/PsMiniTag.vue +15 -24
  34. package/src/components/badges-and-tags/PsProgressBar.vue +42 -0
  35. package/src/components/buttons/PsButton.vue +78 -78
  36. package/src/components/chips/PsChips.vue +45 -87
  37. package/src/components/controls/PsCheckbox.vue +58 -134
  38. package/src/components/controls/PsInlineSelector.vue +123 -0
  39. package/src/components/controls/PsRadioButton.vue +33 -88
  40. package/src/components/controls/PsSlider.vue +5 -6
  41. package/src/components/controls/PsSwitch.vue +29 -81
  42. package/src/components/controls/PsToggle.vue +45 -39
  43. package/src/components/datatable/PsDataTable.vue +3 -15
  44. package/src/components/forms/PsDropdown.vue +28 -12
  45. package/src/components/forms/PsDropdownCopy.vue +212 -0
  46. package/src/components/forms/PsInputSelect.vue +88 -0
  47. package/src/components/forms/PsInputTextArea.vue +80 -0
  48. package/src/components/notifications/PsDialog.vue +3 -0
  49. package/src/components/notifications/PsToast.vue +16 -28
  50. package/src/components/tabs/PsTabHeader.vue +30 -12
  51. package/src/components/tooltip/PsDialogTooltip.vue +6 -31
  52. package/src/components/tooltip/PsRichTooltip.vue +37 -44
  53. package/src/components/tooltip/PsTooltip.vue +18 -28
  54. package/src/components/ui/PsDotLoader.vue +15 -0
  55. package/src/components/ui/PsIcon.vue +9 -9
  56. package/src/index.js +17 -4
  57. package/src/stories/Button.stories.js +102 -112
  58. package/src/stories/Checkbox.stories.js +34 -37
  59. package/src/stories/Chips.stories.js +43 -54
  60. package/src/stories/ClimateZoneBadge.stories.js +0 -7
  61. package/src/stories/Colors.stories.mdx +1 -0
  62. package/src/stories/Dialog.stories.js +1 -1
  63. package/src/stories/InlineSelector.stories.js +18 -0
  64. package/src/stories/InputSelect.stories.js +30 -0
  65. package/src/stories/InputTextArea.stories.js +25 -0
  66. package/src/stories/MiniTag.stories.js +12 -6
  67. package/src/stories/RadioButton.stories.js +32 -29
  68. package/src/stories/Switch.stories.js +33 -0
  69. package/src/stories/Toast.stories.js +40 -46
  70. package/src/stories/Tooltip.stories.js +86 -86
  71. package/tailwind.config.js +8 -1
  72. package/src/assets/images/check-checkbox-button.svg +0 -1
  73. package/src/assets/images/radio-checked-button.svg +0 -1
  74. package/src/stories/Swith.stories.js +0 -38
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.0.26",
3
+ "version": "1.0.30",
4
4
  "description": "Policy Studio UI",
5
5
  "main": "src/index.js",
6
6
  "author": "Policy Studio Team",
@@ -1,15 +1,36 @@
1
1
  @import url('https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Round');
2
+ @import './components/PsChips.scss';
3
+ @import './components/PsToggle.scss';
2
4
  @import './components/PsTabHeader.scss';
3
5
  @import './components/PsAccordion.scss';
4
6
  @import './components/PsInput.scss';
5
7
  @import './components/PsButton.scss';
6
- @import './components//PsDialog.scss';
8
+ @import './components/PsCardInfos.scss';
9
+ @import './components/PsChartLegend.scss';
10
+ @import './components/PsClimateZoneBadge.scss';
11
+ @import './components/PsCostEffectBar.scss';
12
+ @import './components/PsHighlightRippleDot.scss';
13
+ @import './components/PsDataTable.scss';
14
+ @import './components/PsCheckbox.scss';
15
+ @import './components/PsDialog.scss';
16
+ @import './components/PsDotLoader.scss';
17
+ @import './components/PsRadioButton.scss';
18
+ @import './components/PsSwitch.scss';
19
+ @import './components/PsProgressBar.scss';
20
+ @import './components/PsDropdown.scss';
21
+ @import './components/PsSlider.scss';
22
+ @import './components/PsToast.scss';
23
+ @import './components/PsMiniTag.scss';
24
+ @import './components/PsInlineSelector.scss';
25
+ @import './components/PsTooltip.scss';
26
+ @import './components/PsInputTextArea.scss';
27
+ @import './components/PsInputSelect.scss';
7
28
  @import "tailwindcss/base";
8
29
  @import "tailwindcss/components";
9
30
  @import "tailwindcss/utilities";
10
31
 
11
32
  *:focus {
12
- outline: none;
33
+ outline: none;
13
34
  }
14
35
  html {
15
36
  -webkit-font-smoothing: antialiased;
@@ -18,4 +39,20 @@ html {
18
39
 
19
40
  .transition-default {
20
41
  transition: cubic-bezier(.17,.67,.83,.67) 250ms;
21
- }
42
+ }
43
+
44
+ .psui-icon {
45
+ font-family: 'Material Icons Round';
46
+ font-weight: normal;
47
+ font-style: normal;
48
+ font-size: 24px;
49
+ line-height: 1;
50
+ letter-spacing: normal;
51
+ text-transform: none;
52
+ display: inline-block;
53
+ white-space: nowrap;
54
+ word-wrap: normal;
55
+ direction: ltr;
56
+ -webkit-font-feature-settings: 'liga';
57
+ -webkit-font-smoothing: antialiased;
58
+ }
@@ -1,147 +1,145 @@
1
1
  @layer components {
2
2
 
3
- .psui-el-button {
3
+ .psui-el-button {
4
4
 
5
- @apply psui-font-bold psui-items-center psui-flex psui-content-center psui-rounded-md transition-default;
5
+ @apply psui-font-bold psui-items-center psui-flex psui-content-center psui-rounded-md transition-default;
6
6
 
7
- span {
8
- @apply psui-font-bold;
9
- line-height: 130%;
10
- font-family: inherit;
11
- text-align: right;
12
- }
7
+ span {
8
+ @apply psui-font-bold psui-flex-shrink-0;
9
+ line-height: 130%;
10
+ font-family: inherit;
11
+ text-align: right;
12
+ }
13
13
 
14
- &:focus {
15
- outline: none;
16
- }
14
+ &:focus {
15
+ outline: none;
16
+ }
17
17
 
18
- &.icon-right {
19
- @apply psui-flex-row-reverse;
18
+ &.icon-right {
19
+ @apply psui-flex-row-reverse;
20
+ }
21
+
22
+ &.size-big {
23
+ @apply psui-flex psui-items-center psui-content-center;
24
+ padding: 9.5px 16px;
25
+
26
+ &.icon-left {
27
+ padding: 8px 16px;
28
+ i {
29
+ font-size: 24px;
30
+ margin-right: 8px;
31
+ }
20
32
  }
21
-
22
- &.size-big {
23
- @apply psui-flex psui-items-center psui-content-center;
24
- padding: 9.5px 16px;
25
- font-size: 16px;
26
-
27
- &.icon-left i {
28
- font-size: 24px;
29
- margin-right: 8px;
30
- }
31
-
32
- &.icon-right i {
33
- font-size: 24px;
34
- margin-left: 8px;
35
- }
36
33
 
34
+ &.icon-right {
35
+ padding: 8px 16px;
36
+ i {
37
+ font-size: 24px;
38
+ margin-left: 8px;
39
+ }
37
40
  }
41
+ }
38
42
 
39
- &.size-medium {
43
+ &.size-medium {
44
+ @apply psui-flex psui-items-center psui-content-center;
45
+ padding: 7px 16px;
46
+ font-size: 14px;
40
47
 
41
- @apply psui-flex psui-items-center psui-content-center;
42
- padding: 7px 16px;
43
- font-size: 14px;
48
+ &.icon-left i {
49
+ font-size: 18px;
50
+ margin-right: 4px;
51
+ }
44
52
 
45
- &.icon-left i {
46
- font-size: 18px;
47
- margin-right: 4px;
48
- }
53
+ &.icon-right i {
54
+ font-size: 18px;
55
+ margin-left: 4px;
56
+ }
57
+ }
49
58
 
50
- &.icon-right i {
51
- font-size: 18px;
52
- margin-left: 4px;
53
- }
59
+ &.size-small {
60
+ @apply psui-flex psui-items-center psui-justify-center psui-rounded psui-py-1 psui-px-2;
61
+ font-size: 14px;
62
+
63
+ &.layout-onlytext {
64
+ &:active:not(.disabled) {
65
+ @apply psui-bg-blue-20 psui-text-blue-60;
66
+ box-shadow: inset 0px 1px 2px rgba(0,0,0,0.05);
67
+ }
68
+ }
69
+
70
+ &.hover.layout-onlytext {
71
+ @apply psui-text-blue-60 psui-bg-blue-20 !important;
72
+ }
73
+
74
+ &.icon-left {
75
+ i {
76
+ font-size: 18px;
77
+ margin-right: 4px;
54
78
  }
79
+ }
55
80
 
56
- &.size-small {
57
-
58
- @apply psui-flex psui-items-center psui-content-center;
59
- padding: 4px 8px;
60
- font-size: 14px;
61
-
62
- &:focus {
63
- @apply psui-bg-blue-20 psui-text-blue-60;
64
- box-shadow: inset 0px 1px 2px rgba(0,0,0,0.05);
65
- }
66
-
67
- &.hover.layout-onlytext {
68
- @apply psui-text-blue-60 psui-bg-blue-20 !important;
69
- }
70
-
71
- &.icon-left {
72
- i {
73
- font-size: 18px;
74
- margin-right: 4px;
75
- }
76
- }
77
-
78
- &.icon-right {
79
- i {
80
- font-size: 18px;
81
- margin-left: 4px;
82
- }
83
- }
84
-
81
+ &.icon-right {
82
+ i {
83
+ font-size: 18px;
84
+ margin-left: 4px;
85
85
  }
86
+ }
87
+ }
86
88
 
87
- &.layout-solid {
88
-
89
- @apply psui-bg-blue-60 psui-text-white;
90
-
91
- &.hover {
92
- @apply psui-bg-blue-50 psui-text-white;
93
- }
94
-
95
- &:focus {
96
- @apply psui-bg-blue-50 psui-text-white;
97
- box-shadow: inset 0px 1px 2px rgba(0,0,0,0.15);
98
- }
99
-
100
- &.disabled {
101
- @apply psui-text-gray-40 psui-bg-gray-20 psui-cursor-default
102
- }
103
- }
89
+ &.layout-solid {
90
+ @apply psui-bg-blue-60 psui-text-white;
104
91
 
105
- &.layout-outline {
92
+ &.hover {
93
+ @apply psui-bg-blue-50 psui-text-white;
94
+ }
106
95
 
107
- @apply psui-text-blue-60 psui-border psui-border-blue-50;
108
- background: transparent;
96
+ &:active:not(.disabled) {
97
+ @apply psui-bg-blue-50 psui-text-white;
98
+ box-shadow: inset 0px 1px 2px rgba(0,0,0,0.15);
99
+ }
109
100
 
110
- &.hover,
111
- &:focus {
112
- @apply psui-border psui-border-blue-60
113
- }
101
+ &.disabled {
102
+ @apply psui-text-gray-40 psui-bg-gray-20 psui-cursor-default
103
+ }
104
+ }
114
105
 
115
- &.disabled {
116
- @apply psui-text-gray-40 psui-border-gray-30 psui-cursor-default;
117
- }
118
- }
106
+ &.layout-outline {
107
+ @apply psui-text-blue-60 psui-border psui-border-blue-50;
108
+ background: transparent;
119
109
 
120
- &.layout-ghost {
110
+ &.hover,
111
+ &:active {
112
+ @apply psui-border psui-border-blue-60
113
+ }
121
114
 
122
- @apply psui-bg-blue-20 psui-text-blue-60;
115
+ &.disabled {
116
+ @apply psui-text-gray-40 psui-border-gray-30 psui-cursor-default;
117
+ }
118
+ }
123
119
 
124
- &.hover,
125
- &:focus {
126
- box-shadow: inset 0px 1px 2px rgba(0,0,0,0.05);
127
- }
120
+ &.layout-ghost {
121
+ @apply psui-bg-blue-20 psui-text-blue-60;
128
122
 
129
- &.disabled {
130
- @apply psui-text-gray-40 psui-bg-gray-20 psui-cursor-default
131
- }
132
- }
123
+ &.hover,
124
+ &:active:not(.disabled) {
125
+ box-shadow: inset 0px 1px 2px rgba(0,0,0,0.05);
126
+ }
133
127
 
134
- &.layout-onlytext {
128
+ &.disabled {
129
+ @apply psui-text-gray-40 psui-bg-gray-20 psui-cursor-default
130
+ }
131
+ }
135
132
 
136
- @apply psui-bg-white psui-text-blue-60;
133
+ &.layout-onlytext {
134
+ @apply psui-bg-white psui-text-blue-60;
137
135
 
138
- &.disabled {
139
- @apply psui-text-gray-40 psui-cursor-default
140
- }
141
-
142
- &.hover {
143
- @apply psui-text-blue-50
144
- }
145
- }
136
+ &.disabled {
137
+ @apply psui-text-gray-40 psui-cursor-default
138
+ }
139
+
140
+ &.hover {
141
+ @apply psui-text-blue-50
142
+ }
146
143
  }
144
+ }
147
145
  }
@@ -0,0 +1,26 @@
1
+ @layer components{
2
+
3
+ .psui-el-card-infos {
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
+
6
+ &-title {
7
+ @apply psui-text-xsmall psui-font-bold psui-text-gray-40 psui-mb-1;
8
+ }
9
+
10
+ &-content {
11
+ @apply psui-w-full psui-flex psui-justify-center psui-items-center psui-text-p;
12
+ }
13
+
14
+ &-icon {
15
+ @apply psui-text-blue-50 psui-mr-1;
16
+ font-size: 17px;
17
+ }
18
+
19
+ &:hover {
20
+ .psui-el-card-infos-icon {
21
+ @apply psui-text-blue-60;
22
+ }
23
+ }
24
+ }
25
+
26
+ }
@@ -0,0 +1,25 @@
1
+ @layer components{
2
+
3
+ .psui-el-chart-legend {
4
+ @apply psui-flex psui-p-2 psui-rounded;
5
+
6
+ &-dot {
7
+ @apply psui-bg-teal psui-rounded-full;
8
+ width: 14px; height: 14px;
9
+ margin-right: 6px;
10
+ }
11
+
12
+ &-text {
13
+ @apply psui-text-xsmall psui-text-gray-50 psui-font-bold;
14
+ }
15
+
16
+ &-total {
17
+ @apply psui-text-p psui-text-gray-80 psui-mt-1;
18
+ }
19
+
20
+ &-percentage {
21
+ @apply psui-text-gray-50;
22
+ }
23
+ }
24
+
25
+ }
@@ -0,0 +1,96 @@
1
+ @layer components {
2
+
3
+ .psui-el-checkbox {
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
+ &.layout-default {
20
+ input:checked ~.psui-el-checkmark::before {
21
+ content: 'check_box';
22
+ font-family: 'Material Icons Round';
23
+ }
24
+ }
25
+ &.layout-mixed {
26
+ input:checked ~.psui-el-checkmark::before {
27
+ content: 'indeterminate_check_box';
28
+ font-family: 'Material Icons Round';
29
+ }
30
+ }
31
+ input {
32
+ @apply psui-absolute psui-opacity-0 psui-h-0 psui-w-0;
33
+
34
+ &:checked ~ .psui-el-checkmark::before {
35
+ @apply psui-text-blue-50;
36
+ font-size: 18px;
37
+ }
38
+ }
39
+ .psui-el-checkmark {
40
+ @apply psui-block psui-cursor-pointer;
41
+ height: 18px;
42
+
43
+ span {
44
+ margin-left: 8px;
45
+ }
46
+
47
+ &::before {
48
+ content:'check_box_outline_blank';
49
+ @apply psui-text-gray-40 psui-align-text-bottom;
50
+ font-family:'Material Icons Round';
51
+ font-size: 18px;
52
+ }
53
+ }
54
+ }
55
+ &.size-big {
56
+ @apply psui-text-big;
57
+
58
+ &.layout-mixed {
59
+ input:checked ~.psui-el-checkmark::before {
60
+ content: 'indeterminate_check_box';
61
+ font-family: 'Material Icons Round';
62
+ }
63
+ }
64
+ &.layout-default {
65
+ input:checked ~.psui-el-checkmark::before {
66
+ content: 'check_box';
67
+ font-family: 'Material Icons Round';
68
+ }
69
+ }
70
+ input {
71
+ @apply psui-absolute psui-opacity-0 psui-h-0 psui-w-0;
72
+
73
+ &:checked ~ .psui-el-checkmark:before {
74
+ @apply psui-text-blue-50;
75
+ font-size: 24px;
76
+ }
77
+ }
78
+ .psui-el-checkmark {
79
+ @apply psui-flex psui-cursor-pointer psui-content-center;
80
+ height: 24px;
81
+
82
+ span {
83
+ margin-top: 1px;
84
+ margin-left: 8px;
85
+ }
86
+
87
+ &:before {
88
+ content:'check_box_outline_blank';
89
+ @apply psui-text-gray-40 psui-align-text-bottom;
90
+ font-family:'Material Icons Round';
91
+ font-size: 24px;
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
@@ -0,0 +1,155 @@
1
+ @layer components{
2
+
3
+ .psui-el-chips {
4
+ @apply psui-inline-flex psui-relative;
5
+
6
+ &-icon {
7
+ @apply psui-icon;
8
+ }
9
+
10
+ &.type-checkbox,
11
+ &.type-radio {
12
+ font-size: 14px;
13
+ @apply psui-leading-none;
14
+
15
+ input {
16
+ @apply psui-absolute psui-pointer-events-none psui-invisible;
17
+ clip: rect(0,0,0,0);
18
+
19
+ &:checked {
20
+ + label {
21
+ @apply psui-text-blue-60 psui-bg-blue-20;
22
+
23
+ &:before {
24
+ @apply psui-text-blue-50;
25
+ }
26
+ }
27
+ }
28
+ }
29
+
30
+ label {
31
+ @apply psui-flex psui-items-center psui-justify-center psui-text-gray-50 psui-bg-white psui-transition-all psui-cursor-pointer psui-rounded;
32
+ padding: 4px 8px 4px 6px;
33
+
34
+ &:before {
35
+ @apply psui-inline-block psui-text-gray-30 psui-cursor-pointer psui-transition-all;
36
+ content: '';
37
+ font-family: 'Material Icons Round';
38
+ font-size: 18px;
39
+ margin-right: 6px;
40
+ }
41
+
42
+ &:hover {
43
+ @apply psui-text-blue-60;
44
+ &:before {
45
+ @apply psui-text-blue-50;
46
+ }
47
+ }
48
+ }
49
+ }
50
+
51
+ &.type-checkbox {
52
+ input:checked {
53
+ + label {
54
+
55
+ &:before {
56
+ content: "check_box";
57
+ }
58
+ }
59
+ }
60
+
61
+ label {
62
+ &:before {
63
+ content: "check_box_outline_blank";
64
+ }
65
+ }
66
+ }
67
+
68
+ &.type-radio {
69
+ input:checked {
70
+ + label {
71
+ &:before {
72
+ content: "radio_button_checked";
73
+ }
74
+ }
75
+ }
76
+
77
+ label {
78
+ &:before {
79
+ content: "radio_button_unchecked";
80
+ }
81
+ }
82
+ }
83
+
84
+ &.type-button {
85
+ label {
86
+ @apply psui-flex psui-items-center psui-justify-center psui-text-gray-60 psui-bg-gray-10 psui-transition-all psui-cursor-pointer psui-rounded psui-py-1 psui-px-3 psui-text-small;
87
+
88
+ &:hover {
89
+ @apply psui-text-blue-60 psui-bg-white;
90
+ }
91
+
92
+ &:focus,
93
+ &:active {
94
+ @apply psui-text-blue-60 psui-bg-blue-20;
95
+ }
96
+ }
97
+
98
+ &.layout-with-icon {
99
+ label {
100
+ @apply psui-flex psui-items-center psui-justify-center psui-text-gray-50 psui-rounded-full;
101
+ padding: 6px 12px;
102
+
103
+ &:hover {
104
+ @apply psui-text-blue-60 psui-bg-blue-10;
105
+ }
106
+ }
107
+
108
+ .psui-el-chips-icon {
109
+ @apply psui-icon psui-mr-2;
110
+ font-size: 20px;
111
+ }
112
+ }
113
+
114
+ &.layout-rich {
115
+ label {
116
+ @apply psui-rounded-full psui-bg-gray-10 psui-text-gray-40 psui-text-xsmall psui-font-bold psui-pl-1 psui-py-1 psui-pr-2;
117
+
118
+ &:hover {
119
+ @apply psui-text-gray-50;
120
+
121
+ .psui-el-chips-icon-prepend {
122
+ @apply psui-bg-gray-40;
123
+ }
124
+ }
125
+
126
+ &:focus,
127
+ &:active {
128
+ @apply psui-bg-blue-20 psui-text-blue-60;
129
+
130
+ .psui-el-chips-icon-prepend {
131
+ @apply psui-bg-blue-60;
132
+ }
133
+ }
134
+ }
135
+
136
+ .psui-el-chips-icon {
137
+ font-size: 18px;
138
+
139
+ &-prepend {
140
+ @apply psui-bg-gray-30 psui-rounded-full psui-text-white psui-mr-2;
141
+ }
142
+ }
143
+
144
+ .psui-el-chips-close {
145
+ @apply psui-text-gray-40 psui-flex psui-items-center psui-justify-center;
146
+
147
+ span {
148
+ @apply psui-ml-2;
149
+ }
150
+ }
151
+ }
152
+ }
153
+ }
154
+
155
+ }
@@ -0,0 +1,26 @@
1
+ @layer components {
2
+ .psui-el-climate-zone-badge {
3
+ @apply psui-flex psui-bg-gray-10 psui-text-gray-50 psui-transition-all psui-duration-300 psui-ease-out psui-rounded psui-items-center;
4
+ width: fit-content;
5
+ padding: 0px 6px;
6
+
7
+ &:hover {
8
+ @apply psui-text-blue-60 psui-bg-blue-20;
9
+ }
10
+
11
+ i {
12
+ font-family: 'Material Icons Round';
13
+ font-style: normal;
14
+ margin-right: 4px;
15
+ font-size: 16px;
16
+ }
17
+
18
+ span {
19
+ @apply psui-font-bold psui-inline-block psui-self-end;
20
+ font-size: 12px;
21
+ line-height: 120%;
22
+ margin-bottom: 3.5px;
23
+ }
24
+
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ @layer components {
2
+ .psui-el-cost-effect-bar {
3
+ @apply psui-overflow-visible;
4
+
5
+ div {
6
+ @apply psui-relative psui-h-2 psui-rounded-2xl;
7
+ width: 100px;
8
+
9
+ span {
10
+ @apply psui-absolute psui-rounded-sm psui-z-10;
11
+ background-color: #d6dde5;
12
+ width: 2px;
13
+ height: 14px;
14
+ top: -3px;
15
+ }
16
+
17
+ .psui-el-simple-progress-bar {
18
+ @apply psui-overflow-hidden;
19
+
20
+ &-percentage {
21
+ border-radius: unset;
22
+ }
23
+ }
24
+ }
25
+ }
26
+ }