@policystudio/policy-studio-ui-vue 1.2.0-access.6 → 1.2.0-access.61
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/composables/useCollapseAnimation.d.ts +8 -0
- package/dist/composables/useCollapseAnimation.js +65 -0
- package/dist/composables/useCollapseAnimation.js.map +1 -0
- package/dist/css/psui_styles_output.css +2954 -2258
- package/doc/src/stories/Colors.mdx +3 -3
- package/doc/src/stories/Dropdown.stories.ts +4 -4
- package/doc/src/stories/Input.stories.ts +9 -9
- package/package.json +1 -1
- package/src/assets/scss/base.scss +3 -1
- package/src/assets/scss/components/PsAccordion.scss +20 -29
- package/src/assets/scss/components/PsBadgeWithIcon.scss +2 -2
- package/src/assets/scss/components/PsButton.scss +117 -72
- package/src/assets/scss/components/PsCardInfos.scss +13 -3
- package/src/assets/scss/components/PsChartLegend.scss +2 -2
- package/src/assets/scss/components/PsCheckbox.scss +63 -48
- package/src/assets/scss/components/PsChips.scss +81 -31
- package/src/assets/scss/components/PsClimateZoneBadge.scss +1 -1
- package/src/assets/scss/components/PsCollapse.scss +52 -56
- package/src/assets/scss/components/PsDateCardInfo.scss +7 -4
- package/src/assets/scss/components/PsDialog.scss +114 -39
- package/src/assets/scss/components/PsDraggable.scss +28 -36
- package/src/assets/scss/components/PsDropdown.scss +7 -15
- package/src/assets/scss/components/PsIcon.scss +21 -0
- package/src/assets/scss/components/PsInlineSelector.scss +1 -1
- package/src/assets/scss/components/PsInput.scss +27 -64
- package/src/assets/scss/components/PsInputSelect.scss +6 -6
- package/src/assets/scss/components/PsInputTextArea.scss +1 -1
- package/src/assets/scss/components/PsMiniTag.scss +25 -30
- package/src/assets/scss/components/PsRadioButton.scss +90 -75
- package/src/assets/scss/components/PsSimpleAlert.scss +16 -13
- package/src/assets/scss/components/PsSlider.scss +2 -2
- package/src/assets/scss/components/PsSwitch.scss +39 -21
- package/src/assets/scss/components/PsTabHeader.scss +124 -133
- package/src/assets/scss/components/PsTableResults.scss +16 -723
- package/src/assets/scss/components/PsTagScope.scss +1 -1
- package/src/assets/scss/components/PsTestimonialCard.scss +2 -2
- package/src/assets/scss/components/PsToast.scss +62 -60
- package/src/assets/scss/components/PsToggle.scss +3 -6
- package/src/assets/scss/components/PsTooltip.scss +1 -1
- package/src/assets/scss/components/_PsTableResults.scss +1 -1
- package/src/assets/scss/components/table-layouts/LayoutComparison.scss +200 -0
- package/src/assets/scss/components/table-layouts/LayoutFlexible.scss +325 -0
- package/src/assets/scss/components/table-layouts/LayoutResults.scss +102 -0
- package/src/components/accordion/PsAccordionItem.vue +4 -62
- package/src/components/badges-and-tags/PsCardInfos.vue +6 -2
- package/src/components/badges-and-tags/PsChartLegend.vue +1 -1
- package/src/components/badges-and-tags/PsDateCardInfo.vue +16 -5
- package/src/components/badges-and-tags/PsMiniTag.vue +5 -5
- package/src/components/badges-and-tags/PsTestimonialCard.vue +8 -6
- package/src/components/buttons/PsButton.vue +62 -9
- package/src/components/chips/PsChips.vue +2 -2
- package/src/components/collapse/PsCollapse.vue +18 -16
- package/src/components/controls/PsCheckboxSimple.vue +7 -2
- package/src/components/controls/PsDraggable.vue +4 -4
- package/src/components/controls/PsRadioButton.vue +3 -1
- package/src/components/controls/PsRadioButtonSimple.vue +2 -0
- package/src/components/datatable/PsDataTableItem.vue +1 -1
- package/src/components/forms/PsDropdown.vue +77 -27
- package/src/components/forms/PsDropdownList.vue +5 -1
- package/src/components/forms/PsInput.vue +1 -1
- package/src/components/notifications/PsDialog.vue +60 -11
- package/src/components/notifications/PsSimpleAlert.vue +6 -7
- package/src/components/notifications/PsToast.vue +5 -5
- package/src/components/table-results/PsTableResults.vue +27 -21
- package/src/components/table-results/PsTableResultsHead.vue +5 -5
- package/src/components/table-results/PsTableResultsHeadComparison.vue +2 -2
- package/src/components/table-results/PsTableResultsHeadFlexible.vue +7 -7
- package/src/components/tabs/PsTabHeader.vue +6 -2
- package/src/components/tooltip/PsTooltip.vue +11 -1
- package/src/components/ui/PsIcon.vue +14 -6
- package/src/composables/useCollapseAnimation.ts +76 -0
- package/tailwind.config.js +50 -79
|
@@ -1,107 +1,122 @@
|
|
|
1
1
|
@layer components {
|
|
2
|
-
|
|
3
2
|
.psui-el-checkbox {
|
|
4
|
-
@apply psui-relative psui-text-gray-
|
|
5
|
-
|
|
3
|
+
@apply psui-relative psui-text-gray-60;
|
|
4
|
+
|
|
6
5
|
&:focus {
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
outline: none !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&:focus:not(:focus-visible) {
|
|
10
|
+
outline: none !important;
|
|
11
|
+
box-shadow: none !important;
|
|
12
|
+
}
|
|
9
13
|
|
|
10
14
|
&:focus-visible {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
outline: 2px solid #2563eb !important;
|
|
16
|
+
opacity: 1 !important;
|
|
17
|
+
outline-offset: 2px !important;
|
|
18
|
+
border-radius: 6px !important;
|
|
19
|
+
visibility: visible !important;
|
|
20
|
+
}
|
|
15
21
|
|
|
16
22
|
&.disabled {
|
|
17
23
|
.psui-el-checkmark {
|
|
18
|
-
@apply psui-cursor-default psui-text-gray-40 !important
|
|
24
|
+
@apply psui-cursor-default psui-text-gray-40 !important;
|
|
19
25
|
}
|
|
20
26
|
|
|
21
27
|
.psui-el-checkmark::before {
|
|
22
|
-
@apply psui-text-gray-
|
|
28
|
+
@apply psui-text-gray-40 !important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
input:not(:checked) ~ .psui-el-checkmark::before {
|
|
32
|
+
@apply psui-bg-gray-20 !important;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&:not(.disabled):hover {
|
|
37
|
+
input:not(:checked) ~ .psui-el-checkmark::before {
|
|
38
|
+
@apply psui-bg-blue-20 psui-text-blue-65;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
input:checked ~ .psui-el-checkmark::before {
|
|
42
|
+
@apply psui-text-blue-65;
|
|
23
43
|
}
|
|
24
44
|
}
|
|
25
45
|
|
|
26
46
|
&.size-small {
|
|
27
47
|
@apply psui-text-14;
|
|
28
|
-
|
|
48
|
+
|
|
29
49
|
&.layout-default {
|
|
30
|
-
input:checked
|
|
31
|
-
content
|
|
32
|
-
font-family: 'Material Icons Round';
|
|
50
|
+
input:checked ~ .psui-el-checkmark::before {
|
|
51
|
+
@apply psui-content-['check\_box'] psui-font-['Material_Icons_Round'];
|
|
33
52
|
}
|
|
34
53
|
}
|
|
35
|
-
|
|
54
|
+
|
|
36
55
|
&.layout-mixed {
|
|
37
|
-
input:checked
|
|
38
|
-
content
|
|
39
|
-
font-family: 'Material Icons Round';
|
|
56
|
+
input:checked ~ .psui-el-checkmark::before {
|
|
57
|
+
@apply psui-content-['indeterminate\_check\_box'] psui-font-['Material_Icons_Round'];
|
|
40
58
|
}
|
|
41
59
|
}
|
|
60
|
+
|
|
42
61
|
input {
|
|
43
62
|
@apply psui-absolute psui-opacity-0 psui-h-0 psui-w-0;
|
|
44
63
|
|
|
45
64
|
&:checked ~ .psui-el-checkmark::before {
|
|
46
|
-
@apply psui-text-blue-
|
|
47
|
-
font-size: 18px;
|
|
65
|
+
@apply psui-text-blue-60 psui-text-[18px];
|
|
48
66
|
}
|
|
49
67
|
}
|
|
68
|
+
|
|
50
69
|
.psui-el-checkmark {
|
|
51
|
-
@apply psui-flex psui-cursor-pointer psui-items-center;
|
|
52
|
-
min-height: 18px;
|
|
70
|
+
@apply psui-flex psui-cursor-pointer psui-items-center psui-min-h-[18px];
|
|
53
71
|
|
|
54
72
|
span {
|
|
55
|
-
|
|
73
|
+
@apply psui-ml-[8px];
|
|
56
74
|
}
|
|
57
75
|
|
|
58
76
|
&::before {
|
|
59
|
-
content
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
font-size: 18px;
|
|
77
|
+
@apply psui-content-['check\_box\_outline\_blank'] psui-text-gray-60 psui-font-['Material_Icons_Round'] psui-text-[18px]
|
|
78
|
+
psui-w-[18px] psui-h-[18px] psui-inline-flex psui-items-center psui-justify-center psui-rounded-[3px] psui-flex-shrink-0
|
|
79
|
+
psui-px-0 psui-py-1 psui-box-border psui-bg-clip-content;
|
|
63
80
|
}
|
|
64
|
-
}
|
|
81
|
+
}
|
|
65
82
|
}
|
|
66
83
|
|
|
67
84
|
&.size-big {
|
|
68
85
|
@apply psui-text-16;
|
|
69
86
|
|
|
70
87
|
&.layout-mixed {
|
|
71
|
-
input:checked
|
|
72
|
-
content
|
|
73
|
-
font-family: 'Material Icons Round';
|
|
88
|
+
input:checked ~ .psui-el-checkmark::before {
|
|
89
|
+
@apply psui-content-['indeterminate\_check\_box'] psui-font-['Material_Icons_Round'];
|
|
74
90
|
}
|
|
75
91
|
}
|
|
92
|
+
|
|
76
93
|
&.layout-default {
|
|
77
|
-
input:checked
|
|
78
|
-
content
|
|
79
|
-
font-family: 'Material Icons Round';
|
|
94
|
+
input:checked ~ .psui-el-checkmark::before {
|
|
95
|
+
@apply psui-content-['check\_box'] psui-font-['Material_Icons_Round'];
|
|
80
96
|
}
|
|
81
97
|
}
|
|
98
|
+
|
|
82
99
|
input {
|
|
83
100
|
@apply psui-absolute psui-opacity-0 psui-h-0 psui-w-0;
|
|
84
101
|
|
|
85
|
-
&:checked ~ .psui-el-checkmark
|
|
86
|
-
@apply psui-text-blue-
|
|
87
|
-
font-size: 24px;
|
|
102
|
+
&:checked ~ .psui-el-checkmark::before {
|
|
103
|
+
@apply psui-text-blue-60 psui-text-[24px];
|
|
88
104
|
}
|
|
89
105
|
}
|
|
106
|
+
|
|
90
107
|
.psui-el-checkmark {
|
|
91
|
-
@apply psui-flex psui-cursor-pointer psui-items-center;
|
|
92
|
-
|
|
93
|
-
|
|
108
|
+
@apply psui-flex psui-cursor-pointer psui-items-center psui-min-h-[24px];
|
|
109
|
+
|
|
94
110
|
span {
|
|
95
|
-
|
|
111
|
+
@apply psui-ml-[8px];
|
|
96
112
|
}
|
|
97
113
|
|
|
98
|
-
|
|
99
|
-
content
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
font-size: 24px;
|
|
114
|
+
&::before {
|
|
115
|
+
@apply psui-content-['check\_box\_outline\_blank'] psui-text-gray-60 psui-align-text-bottom psui-font-['Material_Icons_Round'] psui-text-[24px]
|
|
116
|
+
psui-w-[24px] psui-h-[24px] psui-inline-flex psui-items-center psui-justify-center psui-rounded-[3px] psui-flex-shrink-0
|
|
117
|
+
psui-px-[3px] psui-py-[5px] psui-box-border psui-bg-clip-content;
|
|
103
118
|
}
|
|
104
119
|
}
|
|
105
120
|
}
|
|
106
121
|
}
|
|
107
|
-
}
|
|
122
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
@layer components {
|
|
2
|
-
|
|
3
2
|
.psui-el-chips {
|
|
4
3
|
@apply psui-inline-flex psui-relative;
|
|
5
4
|
|
|
6
|
-
&:focus {
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
&, &:focus, input:focus {
|
|
6
|
+
outline: none !important;
|
|
7
|
+
}
|
|
9
8
|
|
|
10
|
-
&:focus-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
&:focus-within {
|
|
10
|
+
outline: 2px solid #2563eb !important;
|
|
11
|
+
outline-offset: 2px !important;
|
|
12
|
+
border-radius: 6px !important;
|
|
13
|
+
}
|
|
15
14
|
|
|
16
15
|
&-icon {
|
|
17
16
|
@apply psui-icon;
|
|
18
17
|
}
|
|
19
18
|
|
|
20
19
|
.psui-el-chips-text {
|
|
20
|
+
@apply psui-text-14 psui-font-semibold;
|
|
21
21
|
display: inline-flex;
|
|
22
22
|
flex-direction: column;
|
|
23
23
|
align-items: center;
|
|
24
24
|
justify-content: center;
|
|
25
25
|
position: relative;
|
|
26
|
-
|
|
26
|
+
|
|
27
27
|
&::after {
|
|
28
28
|
content: attr(data-text);
|
|
29
29
|
@apply psui-font-bold psui-h-0 psui-invisible psui-overflow-hidden psui-select-none psui-pointer-events-none psui-whitespace-nowrap;
|
|
@@ -55,7 +55,6 @@
|
|
|
55
55
|
@apply psui-ml-1;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
|
|
59
58
|
}
|
|
60
59
|
|
|
61
60
|
.psui-el-chips-icon {
|
|
@@ -72,17 +71,23 @@
|
|
|
72
71
|
font-size: 14px;
|
|
73
72
|
@apply psui-leading-none;
|
|
74
73
|
|
|
74
|
+
&:focus-visible {
|
|
75
|
+
outline: 2px solid #2563eb !important;
|
|
76
|
+
outline-offset: 2px !important;
|
|
77
|
+
border-radius: 6px !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
75
80
|
input {
|
|
76
81
|
@apply psui-absolute psui-pointer-events-none psui-invisible;
|
|
77
|
-
clip: rect(0,0,0,0);
|
|
82
|
+
clip: rect(0, 0, 0, 0);
|
|
78
83
|
|
|
79
84
|
&:checked {
|
|
80
85
|
+ .psui-el-chips-wrapper {
|
|
81
86
|
&.layout-disabled {
|
|
82
|
-
@apply psui-bg-gray-20 psui-text-gray-40 psui-cursor-default;
|
|
87
|
+
@apply psui-bg-gray-20 psui-text-gray-40 psui-cursor-default;
|
|
83
88
|
|
|
84
89
|
&:before {
|
|
85
|
-
@apply psui-text-gray-30 psui-cursor-default;
|
|
90
|
+
@apply psui-text-gray-30 psui-cursor-default;
|
|
86
91
|
}
|
|
87
92
|
}
|
|
88
93
|
|
|
@@ -91,24 +96,22 @@
|
|
|
91
96
|
}
|
|
92
97
|
|
|
93
98
|
&:hover {
|
|
94
|
-
@apply psui-text-gray-60;
|
|
99
|
+
@apply psui-text-gray-60;
|
|
95
100
|
}
|
|
96
101
|
}
|
|
97
102
|
}
|
|
98
103
|
}
|
|
99
104
|
|
|
100
105
|
.psui-el-chips-wrapper {
|
|
101
|
-
|
|
102
106
|
&:before {
|
|
103
|
-
@apply psui-inline-block psui-mr-1 psui-text-gray-
|
|
104
|
-
content:
|
|
105
|
-
font-family:
|
|
107
|
+
@apply psui-inline-block psui-mr-1 psui-text-gray-60 psui-cursor-pointer psui-transition-all;
|
|
108
|
+
content: "";
|
|
109
|
+
font-family: "Material Icons Round";
|
|
106
110
|
font-size: 18px;
|
|
107
111
|
}
|
|
108
112
|
|
|
109
113
|
&:hover {
|
|
110
114
|
@apply psui-bg-blue-10;
|
|
111
|
-
|
|
112
115
|
}
|
|
113
116
|
}
|
|
114
117
|
}
|
|
@@ -116,13 +119,12 @@
|
|
|
116
119
|
&.type-checkbox {
|
|
117
120
|
input:checked {
|
|
118
121
|
+ .psui-el-chips-wrapper {
|
|
119
|
-
|
|
120
122
|
&:before {
|
|
121
123
|
content: "check_box";
|
|
122
124
|
}
|
|
123
125
|
}
|
|
124
126
|
}
|
|
125
|
-
|
|
127
|
+
|
|
126
128
|
.psui-el-chips-wrapper {
|
|
127
129
|
&:before {
|
|
128
130
|
content: "check_box_outline_blank";
|
|
@@ -138,7 +140,7 @@
|
|
|
138
140
|
}
|
|
139
141
|
}
|
|
140
142
|
}
|
|
141
|
-
|
|
143
|
+
|
|
142
144
|
.psui-el-chips-wrapper {
|
|
143
145
|
&:before {
|
|
144
146
|
content: "radio_button_unchecked";
|
|
@@ -146,13 +148,63 @@
|
|
|
146
148
|
}
|
|
147
149
|
}
|
|
148
150
|
|
|
149
|
-
&.
|
|
151
|
+
&.layout-filter {
|
|
152
|
+
&.type-checkbox,
|
|
153
|
+
&.type-radio {
|
|
154
|
+
.psui-el-chips-wrapper {
|
|
155
|
+
@apply psui-bg-white psui-border-gray-40 psui-text-gray-60;
|
|
156
|
+
padding: 5px 8px;
|
|
157
|
+
|
|
158
|
+
&:hover {
|
|
159
|
+
@apply psui-text-blue-60 psui-border-blue-60 psui-bg-white;
|
|
160
|
+
|
|
161
|
+
&:before {
|
|
162
|
+
@apply psui-text-blue-60;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
input:checked {
|
|
168
|
+
+ .psui-el-chips-wrapper {
|
|
169
|
+
@apply psui-bg-blue-10 psui-text-blue-80 psui-border-blue-60 psui-font-bold;
|
|
170
|
+
|
|
171
|
+
&:before {
|
|
172
|
+
@apply psui-text-blue-60;
|
|
173
|
+
}
|
|
150
174
|
|
|
175
|
+
&:hover {
|
|
176
|
+
@apply psui-text-blue-60;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
&.type-button {
|
|
183
|
+
.psui-el-chips-wrapper {
|
|
184
|
+
@apply psui-bg-white psui-border-gray-40 psui-text-gray-60;
|
|
185
|
+
padding: 5px 8px;
|
|
186
|
+
|
|
187
|
+
&:hover {
|
|
188
|
+
@apply psui-text-blue-60 psui-border-blue-60 psui-bg-white;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
&.checked {
|
|
192
|
+
@apply psui-bg-blue-10 psui-text-blue-80 psui-border-blue-60 psui-font-bold;
|
|
193
|
+
|
|
194
|
+
&:hover {
|
|
195
|
+
@apply psui-text-blue-60;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
&.type-button {
|
|
151
203
|
&.layout-with-icon {
|
|
152
204
|
.psui-el-chips-wrapper {
|
|
153
|
-
@apply psui-flex psui-items-center psui-justify-center psui-text-gray-
|
|
205
|
+
@apply psui-flex psui-items-center psui-justify-center psui-text-gray-60 psui-rounded-full;
|
|
154
206
|
padding: 6px 12px;
|
|
155
|
-
|
|
207
|
+
|
|
156
208
|
&:hover {
|
|
157
209
|
@apply psui-text-blue-60 psui-bg-blue-10;
|
|
158
210
|
}
|
|
@@ -167,12 +219,11 @@
|
|
|
167
219
|
&.layout-rich {
|
|
168
220
|
.psui-el-chips-wrapper {
|
|
169
221
|
@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;
|
|
170
|
-
|
|
171
|
-
&:hover {
|
|
172
222
|
|
|
223
|
+
&:hover {
|
|
173
224
|
&,
|
|
174
225
|
.psui-el-chips-close {
|
|
175
|
-
@apply psui-text-gray-
|
|
226
|
+
@apply psui-text-gray-60;
|
|
176
227
|
}
|
|
177
228
|
|
|
178
229
|
.psui-el-chips-icon-prepend {
|
|
@@ -209,5 +260,4 @@
|
|
|
209
260
|
}
|
|
210
261
|
}
|
|
211
262
|
}
|
|
212
|
-
|
|
213
|
-
}
|
|
263
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@layer components {
|
|
2
2
|
.psui-el-climate-zone-badge {
|
|
3
|
-
@apply psui-flex psui-bg-gray-10 psui-text-gray-
|
|
3
|
+
@apply psui-flex psui-bg-gray-10 psui-text-gray-60 psui-transition-all psui-duration-300 psui-ease-out psui-rounded psui-items-center;
|
|
4
4
|
width: fit-content;
|
|
5
5
|
padding: 0px 6px;
|
|
6
6
|
|
|
@@ -1,80 +1,76 @@
|
|
|
1
1
|
@layer components {
|
|
2
|
-
|
|
3
2
|
.psui-el-collapse {
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
&[data-filled="true"] {
|
|
4
|
+
> .psui-el-collapse-item-header {
|
|
5
|
+
.psui-el-collapse-item-header-wrapper {
|
|
6
|
+
.psui-el-collapse-item-title {
|
|
7
|
+
@apply psui-font-semibold;
|
|
8
|
+
@apply psui-transition-colors psui-duration-200;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&:hover
|
|
13
|
+
.psui-el-collapse-item-header-wrapper
|
|
14
|
+
.psui-el-collapse-item-title {
|
|
15
|
+
@apply psui-text-gray-80;
|
|
16
|
+
}
|
|
6
17
|
}
|
|
7
18
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
19
|
+
&:not(.status-opened) > .psui-el-collapse-item-header {
|
|
20
|
+
.psui-el-collapse-item-title {
|
|
21
|
+
@apply psui-text-blue-60;
|
|
22
|
+
}
|
|
12
23
|
}
|
|
13
|
-
|
|
14
|
-
.psui-el-collapse-item-content {
|
|
15
|
-
@apply psui-relative psui-pl-4;
|
|
16
24
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
top: 0;
|
|
22
|
-
left: 0;
|
|
23
|
-
width: 1px;
|
|
24
|
-
height: 100%;
|
|
25
|
-
transform: translateX(-50%);
|
|
25
|
+
&.status-opened > .psui-el-collapse-item-header {
|
|
26
|
+
.psui-el-collapse-item-title {
|
|
27
|
+
@apply psui-text-gray-80;
|
|
28
|
+
}
|
|
26
29
|
}
|
|
27
30
|
}
|
|
28
31
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
.psui-el-collapse-item-header {
|
|
32
|
-
@apply psui-flex psui-items-center psui-cursor-pointer;
|
|
32
|
+
> .psui-el-collapse-item-header {
|
|
33
|
+
@apply psui-flex psui-items-center psui-space-x-[2px] psui-cursor-pointer;
|
|
33
34
|
|
|
34
35
|
.psui-el-collapse-item-icon {
|
|
35
|
-
@apply psui-text-gray-
|
|
36
|
-
|
|
37
|
-
font-
|
|
36
|
+
@apply psui-size-4 psui-text-gray-60 psui-transition-transform;
|
|
37
|
+
font-family: "Material Icons Round";
|
|
38
|
+
font-weight: normal;
|
|
39
|
+
font-style: normal;
|
|
40
|
+
line-height: 1;
|
|
41
|
+
letter-spacing: normal;
|
|
42
|
+
text-transform: none;
|
|
43
|
+
display: inline-block;
|
|
44
|
+
white-space: nowrap;
|
|
45
|
+
word-wrap: normal;
|
|
46
|
+
direction: ltr;
|
|
47
|
+
-webkit-font-feature-settings: "liga";
|
|
48
|
+
-webkit-font-smoothing: antialiased;
|
|
38
49
|
}
|
|
39
50
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
.psui-el-collapse-item-title {
|
|
44
|
-
@apply psui-ml-1 psui-text-gray-70 hover:psui-text-blue-60;
|
|
45
|
-
|
|
46
|
-
&.disabled {
|
|
47
|
-
@apply psui-text-gray-50;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.psui-el-collapse-item-header-action {
|
|
53
|
-
@apply psui-invisible psui-ml-auto psui-text-gray-70 hover:psui-text-blue-60;
|
|
51
|
+
&:hover {
|
|
52
|
+
.psui-el-collapse-item-icon {
|
|
53
|
+
@apply psui-text-blue-60;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
.psui-el-collapse-item-
|
|
59
|
-
|
|
60
|
-
@apply psui-visible;
|
|
61
|
-
}
|
|
57
|
+
.psui-el-collapse-item-header-wrapper {
|
|
58
|
+
.psui-el-collapse-item-title {
|
|
59
|
+
@apply psui-text-14 psui-text-gray-60;
|
|
62
60
|
}
|
|
63
61
|
}
|
|
64
62
|
}
|
|
65
63
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
64
|
+
&.status-opened {
|
|
65
|
+
> .psui-el-collapse-item-header {
|
|
66
|
+
.psui-el-collapse-item-icon {
|
|
67
|
+
@apply psui-rotate-90;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
72
70
|
}
|
|
73
71
|
|
|
74
|
-
.collapse-
|
|
75
|
-
|
|
76
|
-
height: 0 !important;
|
|
77
|
-
margin-bottom: 0 !important;
|
|
72
|
+
.psui-el-collapse-item-content {
|
|
73
|
+
@apply psui-ml-2 psui-pl-2 psui-py-1 psui-border-l psui-border-gray-30;
|
|
78
74
|
}
|
|
79
75
|
}
|
|
80
|
-
}
|
|
76
|
+
}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
@layer components {
|
|
2
2
|
.psui-el-date-card {
|
|
3
|
-
@apply psui-flex psui-
|
|
3
|
+
@apply psui-flex psui-text-14 psui-leading-5 psui-text-white psui-flex-col psui-font-bold psui-text-center psui-overflow-hidden psui-rounded;
|
|
4
4
|
|
|
5
5
|
&-month-day, &-year {
|
|
6
|
-
@apply psui-
|
|
7
|
-
padding: 4px 8px;
|
|
6
|
+
@apply psui-px-2 psui-py-[2px];
|
|
8
7
|
}
|
|
9
8
|
|
|
10
9
|
&-year {
|
|
11
|
-
@apply psui-bg-blue-
|
|
10
|
+
@apply psui-bg-blue-65;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&-month-day {
|
|
14
|
+
@apply psui-flex psui-items-center psui-space-x-1 psui-bg-blue-60;
|
|
12
15
|
}
|
|
13
16
|
}
|
|
14
17
|
}
|