@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.
- package/dist/css/psui_styles.css +4752 -586
- package/package.json +1 -1
- package/src/assets/scss/base.scss +38 -3
- package/src/assets/scss/components/PsButton.scss +114 -120
- package/src/assets/scss/components/PsCardInfos.scss +26 -0
- package/src/assets/scss/components/PsChartLegend.scss +25 -0
- package/src/assets/scss/components/PsCheckbox.scss +96 -0
- package/src/assets/scss/components/PsChips.scss +155 -0
- package/src/assets/scss/components/PsClimateZoneBadge.scss +26 -0
- package/src/assets/scss/components/PsCostEffectBar.scss +31 -0
- package/src/assets/scss/components/PsDataTable.scss +50 -0
- package/src/assets/scss/components/PsDropdown.scss +44 -0
- package/src/assets/scss/components/PsHighlightRippleDot.scss +48 -0
- package/src/assets/scss/components/PsInlineSelector.scss +5 -0
- package/src/assets/scss/components/PsInputSelect.scss +62 -0
- package/src/assets/scss/components/PsInputTextArea.scss +49 -0
- package/src/assets/scss/components/PsProgressBar.scss +24 -0
- package/src/assets/scss/components/PsRadioButton.scss +78 -0
- package/src/assets/scss/components/PsSlider.scss +11 -0
- package/src/assets/scss/components/PsSwitch.scss +66 -0
- package/src/assets/scss/components/PsTabHeader.scss +10 -3
- package/src/assets/scss/components/PsToast.scss +52 -0
- package/src/assets/scss/components/PsToggle.scss +23 -0
- package/src/assets/scss/components/PsTooltip.scss +118 -0
- package/src/components/badges-and-tags/PsCardInfos.vue +14 -7
- package/src/components/badges-and-tags/PsChartLegend.vue +7 -13
- package/src/components/badges-and-tags/PsClimateZoneBadge.vue +15 -6
- package/src/components/badges-and-tags/PsCostEffectBar.Copy.vue +72 -0
- package/src/components/badges-and-tags/PsCostEffectBar.vue +33 -70
- package/src/components/badges-and-tags/PsHighlightRippleDot.vue +3 -69
- package/src/components/badges-and-tags/PsProgressBar.vue +42 -0
- package/src/components/buttons/PsButton.vue +74 -78
- package/src/components/chips/PsChips.vue +46 -87
- package/src/components/controls/PsCheckbox.vue +58 -134
- package/src/components/controls/PsInlineSelector.vue +15 -0
- package/src/components/controls/PsRadioButton.vue +33 -88
- package/src/components/controls/PsSlider.vue +4 -5
- package/src/components/controls/PsSwitch.vue +29 -81
- package/src/components/controls/PsToggle.vue +45 -39
- package/src/components/datatable/PsDataTable.vue +3 -15
- package/src/components/forms/PsDropdown.vue +27 -11
- package/src/components/forms/PsInputSelect.vue +80 -0
- package/src/components/forms/PsInputTextArea.vue +80 -0
- package/src/components/notifications/PsDialog.vue +3 -0
- package/src/components/notifications/PsToast.vue +13 -28
- package/src/components/tabs/PsTabHeader.vue +30 -12
- package/src/components/tooltip/PsDialogTooltip.vue +6 -31
- package/src/components/tooltip/PsRichTooltip.vue +37 -44
- package/src/components/tooltip/PsTooltip.vue +18 -28
- package/src/components/ui/PsIcon.vue +9 -9
- package/src/index.js +9 -0
- package/src/stories/Button.stories.js +102 -112
- package/src/stories/Checkbox.stories.js +34 -37
- package/src/stories/Chips.stories.js +43 -54
- package/src/stories/ClimateZoneBadge.stories.js +0 -7
- package/src/stories/InlineSelector.stories.js +16 -0
- package/src/stories/InputSelect.stories.js +22 -0
- package/src/stories/InputTextArea.stories.js +25 -0
- package/src/stories/RadioButton.stories.js +32 -29
- package/src/stories/Switch.stories.js +33 -0
- package/src/stories/Toast.stories.js +40 -46
- package/src/stories/Tooltip.stories.js +86 -86
- package/tailwind.config.js +7 -1
- package/src/assets/images/check-checkbox-button.svg +0 -1
- package/src/assets/images/radio-checked-button.svg +0 -1
- package/src/stories/Swith.stories.js +0 -38
package/package.json
CHANGED
|
@@ -1,15 +1,34 @@
|
|
|
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
|
|
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/PsRadioButton.scss';
|
|
17
|
+
@import './components/PsSwitch.scss';
|
|
18
|
+
@import './components/PsProgressBar.scss';
|
|
19
|
+
@import './components/PsDropdown.scss';
|
|
20
|
+
@import './components/PsSlider.scss';
|
|
21
|
+
@import './components/PsToast.scss';
|
|
22
|
+
@import './components/PsInlineSelector.scss';
|
|
23
|
+
@import './components/PsTooltip.scss';
|
|
24
|
+
@import './components/PsInputTextArea.scss';
|
|
25
|
+
@import './components/PsInputSelect.scss';
|
|
7
26
|
@import "tailwindcss/base";
|
|
8
27
|
@import "tailwindcss/components";
|
|
9
28
|
@import "tailwindcss/utilities";
|
|
10
29
|
|
|
11
30
|
*:focus {
|
|
12
|
-
|
|
31
|
+
outline: none;
|
|
13
32
|
}
|
|
14
33
|
html {
|
|
15
34
|
-webkit-font-smoothing: antialiased;
|
|
@@ -18,4 +37,20 @@ html {
|
|
|
18
37
|
|
|
19
38
|
.transition-default {
|
|
20
39
|
transition: cubic-bezier(.17,.67,.83,.67) 250ms;
|
|
21
|
-
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.psui-icon {
|
|
43
|
+
font-family: 'Material Icons Round';
|
|
44
|
+
font-weight: normal;
|
|
45
|
+
font-style: normal;
|
|
46
|
+
font-size: 24px;
|
|
47
|
+
line-height: 1;
|
|
48
|
+
letter-spacing: normal;
|
|
49
|
+
text-transform: none;
|
|
50
|
+
display: inline-block;
|
|
51
|
+
white-space: nowrap;
|
|
52
|
+
word-wrap: normal;
|
|
53
|
+
direction: ltr;
|
|
54
|
+
-webkit-font-feature-settings: 'liga';
|
|
55
|
+
-webkit-font-smoothing: antialiased;
|
|
56
|
+
}
|
|
@@ -1,147 +1,141 @@
|
|
|
1
1
|
@layer components {
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
.psui-el-button {
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
@apply psui-font-bold psui-items-center psui-flex psui-content-center psui-rounded-md transition-default;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
&:focus {
|
|
15
|
-
outline: none;
|
|
16
|
-
}
|
|
7
|
+
span {
|
|
8
|
+
@apply psui-font-bold psui-flex-shrink-0;
|
|
9
|
+
line-height: 130%;
|
|
10
|
+
font-family: inherit;
|
|
11
|
+
text-align: right;
|
|
12
|
+
}
|
|
17
13
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
}
|
|
14
|
+
&:focus {
|
|
15
|
+
outline: none;
|
|
16
|
+
}
|
|
36
17
|
|
|
37
|
-
|
|
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
|
+
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
|
+
}
|
|
38
37
|
|
|
39
|
-
|
|
38
|
+
&.size-medium {
|
|
39
|
+
@apply psui-flex psui-items-center psui-content-center;
|
|
40
|
+
padding: 7px 16px;
|
|
41
|
+
font-size: 14px;
|
|
40
42
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
&.icon-left i {
|
|
44
|
+
font-size: 18px;
|
|
45
|
+
margin-right: 4px;
|
|
46
|
+
}
|
|
44
47
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
&.icon-right i {
|
|
49
|
+
font-size: 18px;
|
|
50
|
+
margin-left: 4px;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
49
53
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
&.size-small {
|
|
55
|
+
@apply psui-flex psui-items-center psui-justify-center psui-rounded psui-py-1 psui-px-2;
|
|
56
|
+
font-size: 14px;
|
|
57
|
+
|
|
58
|
+
&.layout-onlytext {
|
|
59
|
+
&:focus:not(.disabled) {
|
|
60
|
+
@apply psui-bg-blue-20 psui-text-blue-60;
|
|
61
|
+
box-shadow: inset 0px 1px 2px rgba(0,0,0,0.05);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&.hover.layout-onlytext {
|
|
66
|
+
@apply psui-text-blue-60 psui-bg-blue-20 !important;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&.icon-left {
|
|
70
|
+
i {
|
|
71
|
+
font-size: 18px;
|
|
72
|
+
margin-right: 4px;
|
|
54
73
|
}
|
|
74
|
+
}
|
|
55
75
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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
|
-
|
|
76
|
+
&.icon-right {
|
|
77
|
+
i {
|
|
78
|
+
font-size: 18px;
|
|
79
|
+
margin-left: 4px;
|
|
85
80
|
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
86
83
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
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
|
-
}
|
|
84
|
+
&.layout-solid {
|
|
85
|
+
|
|
86
|
+
@apply psui-bg-blue-60 psui-text-white;
|
|
104
87
|
|
|
105
|
-
|
|
88
|
+
&.hover {
|
|
89
|
+
@apply psui-bg-blue-50 psui-text-white;
|
|
90
|
+
}
|
|
106
91
|
|
|
107
|
-
|
|
108
|
-
|
|
92
|
+
&:focus:not(.disabled) {
|
|
93
|
+
@apply psui-bg-blue-50 psui-text-white;
|
|
94
|
+
box-shadow: inset 0px 1px 2px rgba(0,0,0,0.15);
|
|
95
|
+
}
|
|
109
96
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
97
|
+
&.disabled {
|
|
98
|
+
@apply psui-text-gray-40 psui-bg-gray-20 psui-cursor-default
|
|
99
|
+
}
|
|
100
|
+
}
|
|
114
101
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}
|
|
102
|
+
&.layout-outline {
|
|
103
|
+
@apply psui-text-blue-60 psui-border psui-border-blue-50;
|
|
104
|
+
background: transparent;
|
|
119
105
|
|
|
120
|
-
|
|
106
|
+
&.hover,
|
|
107
|
+
&:focus {
|
|
108
|
+
@apply psui-border psui-border-blue-60
|
|
109
|
+
}
|
|
121
110
|
|
|
122
|
-
|
|
111
|
+
&.disabled {
|
|
112
|
+
@apply psui-text-gray-40 psui-border-gray-30 psui-cursor-default;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
123
115
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
box-shadow: inset 0px 1px 2px rgba(0,0,0,0.05);
|
|
127
|
-
}
|
|
116
|
+
&.layout-ghost {
|
|
117
|
+
@apply psui-bg-blue-20 psui-text-blue-60;
|
|
128
118
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
119
|
+
&.hover,
|
|
120
|
+
&:focus:not(.disabled) {
|
|
121
|
+
box-shadow: inset 0px 1px 2px rgba(0,0,0,0.05);
|
|
122
|
+
}
|
|
133
123
|
|
|
134
|
-
|
|
124
|
+
&.disabled {
|
|
125
|
+
@apply psui-text-gray-40 psui-bg-gray-20 psui-cursor-default
|
|
126
|
+
}
|
|
127
|
+
}
|
|
135
128
|
|
|
136
|
-
|
|
129
|
+
&.layout-onlytext {
|
|
130
|
+
@apply psui-bg-white psui-text-blue-60;
|
|
137
131
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}
|
|
132
|
+
&.disabled {
|
|
133
|
+
@apply psui-text-gray-40 psui-cursor-default
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&.hover {
|
|
137
|
+
@apply psui-text-blue-50
|
|
138
|
+
}
|
|
146
139
|
}
|
|
140
|
+
}
|
|
147
141
|
}
|
|
@@ -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: 4px 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,31 @@
|
|
|
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
|
+
|
|
21
|
+
&-percentage {
|
|
22
|
+
|
|
23
|
+
border-radius: unset;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
}
|