@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,90 +1,165 @@
|
|
|
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-py-[8.8px] psui-text-left;
|
|
7
4
|
|
|
8
5
|
&-wrapper {
|
|
9
|
-
@apply psui-flex psui-flex-grow
|
|
6
|
+
@apply psui-flex psui-flex-grow;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&-default,
|
|
10
|
+
&-message {
|
|
11
|
+
@apply psui-text-left;
|
|
10
12
|
}
|
|
13
|
+
|
|
11
14
|
&-icon {
|
|
12
|
-
@apply psui-flex psui-
|
|
13
|
-
|
|
15
|
+
@apply psui-flex psui-items-start psui-mr-2;
|
|
14
16
|
}
|
|
17
|
+
|
|
15
18
|
&-close {
|
|
16
19
|
@apply psui-ml-auto psui-inline-block;
|
|
17
20
|
|
|
18
|
-
&:focus{
|
|
19
|
-
@apply psui-outline-none
|
|
21
|
+
&:focus {
|
|
22
|
+
@apply psui-outline-none;
|
|
20
23
|
}
|
|
21
24
|
|
|
22
25
|
i {
|
|
23
|
-
@apply psui-align-middle;
|
|
24
|
-
font-size: 18px;
|
|
26
|
+
@apply psui-align-middle psui-text-[18px];
|
|
25
27
|
}
|
|
26
|
-
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
&.layout-vertical {
|
|
30
|
-
@apply psui-flex psui-items-start;
|
|
31
|
-
padding: 9.6px 9.6px 11.2px 9.6px;
|
|
31
|
+
@apply psui-flex psui-items-start psui-p-[9.6px] psui-pb-[11.2px];
|
|
32
32
|
|
|
33
33
|
.psui-el-dialog-wrapper {
|
|
34
|
-
@apply psui-flex-col
|
|
34
|
+
@apply psui-flex-col;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.psui-el-dialog-default {
|
|
38
|
+
@apply psui-text-left;
|
|
35
39
|
}
|
|
36
40
|
|
|
37
41
|
i {
|
|
38
|
-
@apply psui-align-top
|
|
42
|
+
@apply psui-align-top;
|
|
39
43
|
}
|
|
40
44
|
|
|
41
45
|
.psui-el-dialog-action {
|
|
42
|
-
@apply psui-pt-2
|
|
46
|
+
@apply psui-pt-2;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.is-single-line {
|
|
50
|
+
@apply psui-items-start;
|
|
51
|
+
|
|
52
|
+
&.no-action {
|
|
53
|
+
.psui-el-dialog-icon,
|
|
54
|
+
.psui-el-dialog-close {
|
|
55
|
+
@apply psui-align-middle;
|
|
56
|
+
|
|
57
|
+
i {
|
|
58
|
+
@apply psui-align-middle;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.psui-el-dialog-wrapper {
|
|
63
|
+
@apply psui-pt-[4px] psui-place-items-start psui-self-center;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&.is-multiline {
|
|
69
|
+
@apply psui-items-start;
|
|
70
|
+
|
|
71
|
+
.psui-el-dialog-icon,
|
|
72
|
+
.psui-el-dialog-close {
|
|
73
|
+
@apply psui-align-top;
|
|
74
|
+
|
|
75
|
+
i {
|
|
76
|
+
@apply psui-align-top;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.psui-el-dialog-close {
|
|
81
|
+
@apply psui-self-start;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.psui-el-dialog-wrapper {
|
|
85
|
+
@apply psui-align-top psui-pt-0;
|
|
86
|
+
}
|
|
43
87
|
}
|
|
44
88
|
}
|
|
45
|
-
|
|
89
|
+
|
|
46
90
|
&.layout-horizontal {
|
|
91
|
+
@apply psui-flex psui-items-start;
|
|
92
|
+
|
|
93
|
+
.psui-el-dialog-icon {
|
|
94
|
+
@apply psui-items-start;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.psui-el-dialog-wrapper {
|
|
98
|
+
@apply psui-flex psui-items-start;
|
|
99
|
+
}
|
|
100
|
+
|
|
47
101
|
.psui-el-dialog-close {
|
|
48
|
-
@apply psui-ml-3
|
|
102
|
+
@apply psui-ml-3;
|
|
49
103
|
}
|
|
104
|
+
|
|
50
105
|
.psui-el-dialog-default {
|
|
51
|
-
@apply psui-mr-auto
|
|
106
|
+
@apply psui-mr-auto;
|
|
52
107
|
}
|
|
108
|
+
|
|
53
109
|
.psui-el-dialog-action {
|
|
54
|
-
@apply psui-ml-3
|
|
110
|
+
@apply psui-ml-3;
|
|
55
111
|
}
|
|
56
|
-
|
|
57
|
-
|
|
112
|
+
|
|
113
|
+
&.is-single-line {
|
|
114
|
+
@apply psui-items-center;
|
|
115
|
+
|
|
116
|
+
.psui-el-dialog-icon {
|
|
117
|
+
@apply psui-items-center;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.psui-el-dialog-wrapper {
|
|
121
|
+
@apply psui-items-center psui-pt-[3px];
|
|
122
|
+
}
|
|
58
123
|
}
|
|
59
124
|
}
|
|
60
|
-
|
|
61
125
|
|
|
62
|
-
&.theme-informative
|
|
63
|
-
|
|
126
|
+
&.theme-informative,
|
|
127
|
+
&.theme-success,
|
|
128
|
+
&.theme-alert,
|
|
129
|
+
&.theme-gray {
|
|
130
|
+
@apply psui-border psui-border-solid;
|
|
131
|
+
|
|
132
|
+
.psui-el-dialog-default,
|
|
133
|
+
.psui-el-dialog-action,
|
|
64
134
|
.psui-el-dialog-message {
|
|
65
|
-
@apply psui-text-
|
|
135
|
+
@apply psui-text-14 psui-leading-4;
|
|
66
136
|
}
|
|
137
|
+
|
|
138
|
+
.psui-el-dialog-action {
|
|
139
|
+
@apply psui-font-bold;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&.theme-informative {
|
|
144
|
+
@apply psui-bg-blue-10 psui-text-blue-60 psui-border-blue-40;
|
|
67
145
|
}
|
|
68
146
|
|
|
69
147
|
&.theme-success {
|
|
70
|
-
@apply psui-bg-green-10 psui-text-green-
|
|
71
|
-
.psui-el-dialog-message {
|
|
72
|
-
@apply psui-text-green-70;
|
|
73
|
-
}
|
|
148
|
+
@apply psui-bg-green-10 psui-text-green-80 psui-border-green-20;
|
|
74
149
|
}
|
|
75
150
|
|
|
76
151
|
&.theme-alert {
|
|
77
|
-
@apply psui-bg-yellow-10 psui-text-yellow-70;
|
|
78
|
-
|
|
79
|
-
|
|
152
|
+
@apply psui-bg-yellow-10 psui-text-yellow-70 psui-border-yellow-20;
|
|
153
|
+
|
|
154
|
+
.psui-el-dialog-default,
|
|
155
|
+
.psui-el-dialog-action,
|
|
156
|
+
.psui-el-dialog-close {
|
|
157
|
+
@apply psui-text-gray-80;
|
|
80
158
|
}
|
|
81
159
|
}
|
|
82
160
|
|
|
83
161
|
&.theme-gray {
|
|
84
|
-
@apply psui-bg-gray-10 psui-text-gray-
|
|
85
|
-
.psui-el-dialog-message {
|
|
86
|
-
@apply psui-text-gray-70;
|
|
87
|
-
}
|
|
162
|
+
@apply psui-bg-gray-10 psui-text-gray-60 psui-border-gray-30;
|
|
88
163
|
}
|
|
89
164
|
}
|
|
90
|
-
}
|
|
165
|
+
}
|
|
@@ -4,32 +4,27 @@
|
|
|
4
4
|
|
|
5
5
|
.psui-el-draggable-wrapper {
|
|
6
6
|
@apply psui-w-full psui-rounded-md psui-bg-gray-20 psui-p-2 psui-flex psui-items-center psui-flex-col;
|
|
7
|
-
padding: 8px;
|
|
8
7
|
|
|
9
8
|
&-title {
|
|
10
|
-
@apply psui-w-full psui-flex psui-rounded-sm psui-items-center psui-justify-between psui-cursor-grab psui-mb-2;
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
@apply psui-w-full psui-flex psui-rounded-sm psui-items-center psui-justify-between psui-cursor-grab psui-mb-2 psui-py-2 psui-px-4;
|
|
10
|
+
|
|
13
11
|
p {
|
|
14
12
|
@apply psui-text-accentSmall psui-text-gray-80 psui-font-bold psui-uppercase;
|
|
15
|
-
letter-spacing: 0.6px;
|
|
16
13
|
}
|
|
17
|
-
|
|
14
|
+
|
|
18
15
|
i {
|
|
19
|
-
@apply psui-text-gray-
|
|
20
|
-
font-size: 18px;
|
|
16
|
+
@apply psui-text-gray-60 psui-text-18;
|
|
21
17
|
}
|
|
22
18
|
|
|
23
|
-
&:hover{
|
|
19
|
+
&:hover {
|
|
24
20
|
.psui-el-draggable-wrapper-title-icon {
|
|
25
|
-
|
|
21
|
+
@apply psui-visible;
|
|
26
22
|
}
|
|
27
23
|
}
|
|
28
24
|
|
|
29
|
-
&-icon{
|
|
30
|
-
|
|
25
|
+
&-icon {
|
|
26
|
+
@apply psui-invisible;
|
|
31
27
|
}
|
|
32
|
-
|
|
33
28
|
}
|
|
34
29
|
|
|
35
30
|
&-list {
|
|
@@ -38,59 +33,57 @@
|
|
|
38
33
|
}
|
|
39
34
|
|
|
40
35
|
.psui-el-draggable-item {
|
|
41
|
-
@apply psui-w-full psui-flex psui-rounded-sm psui-bg-white psui-items-center psui-cursor-grab psui-shadow-elevation-5;
|
|
42
|
-
padding: 7px 16px;
|
|
36
|
+
@apply psui-w-full psui-flex psui-rounded-sm psui-bg-white psui-items-center psui-cursor-grab psui-shadow-elevation-5 psui-py-[7px] psui-px-4;
|
|
43
37
|
|
|
44
38
|
&-title {
|
|
45
|
-
@apply psui-text-gray-
|
|
39
|
+
@apply psui-text-gray-60 psui-text-14 psui-flex psui-items-center;
|
|
46
40
|
|
|
47
41
|
.psui-el-checkbox {
|
|
48
|
-
@apply psui-text-gray-
|
|
42
|
+
@apply psui-text-gray-60;
|
|
49
43
|
|
|
50
44
|
.psui-el-checkmark {
|
|
51
|
-
|
|
52
|
-
@apply psui-mr-1 psui-text-gray-
|
|
45
|
+
&::before {
|
|
46
|
+
@apply psui-mr-1 psui-text-gray-60;
|
|
53
47
|
}
|
|
54
48
|
}
|
|
55
49
|
|
|
56
50
|
&.active {
|
|
57
|
-
@apply psui-text-gray-
|
|
51
|
+
@apply psui-text-gray-80;
|
|
58
52
|
}
|
|
59
53
|
|
|
60
54
|
&.disabled {
|
|
61
55
|
.psui-el-checkmark {
|
|
62
|
-
|
|
56
|
+
@apply !psui-text-gray-60;
|
|
63
57
|
}
|
|
64
58
|
}
|
|
65
59
|
}
|
|
66
|
-
|
|
60
|
+
|
|
61
|
+
&:hover {
|
|
67
62
|
.psui-el-draggable-item-title-icon {
|
|
68
|
-
|
|
63
|
+
@apply psui-visible;
|
|
69
64
|
}
|
|
70
65
|
}
|
|
71
66
|
|
|
72
|
-
&-icon{
|
|
73
|
-
|
|
67
|
+
&-icon {
|
|
68
|
+
@apply psui-invisible;
|
|
74
69
|
}
|
|
75
70
|
}
|
|
76
71
|
|
|
77
72
|
&-append {
|
|
78
|
-
@apply psui-flex psui-text-gray-
|
|
73
|
+
@apply psui-flex psui-text-gray-60 psui-ml-auto;
|
|
79
74
|
|
|
80
75
|
i {
|
|
81
|
-
|
|
76
|
+
@apply psui-text-[18px];
|
|
82
77
|
}
|
|
83
78
|
}
|
|
84
79
|
|
|
85
80
|
&:active,
|
|
86
81
|
&.on-dragging {
|
|
87
|
-
|
|
88
|
-
cursor: -moz-grabbing;
|
|
89
|
-
cursor: grabbing;
|
|
82
|
+
@apply psui-cursor-grabbing;
|
|
90
83
|
}
|
|
91
84
|
|
|
92
85
|
&.on-drag-over {
|
|
93
|
-
opacity
|
|
86
|
+
@apply psui-opacity-20;
|
|
94
87
|
}
|
|
95
88
|
|
|
96
89
|
.psui-el-checkbox.size-small {
|
|
@@ -98,13 +91,12 @@
|
|
|
98
91
|
span {
|
|
99
92
|
@apply psui-font-bold;
|
|
100
93
|
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
min-height: 24px;
|
|
94
|
+
|
|
95
|
+
&::before {
|
|
96
|
+
@apply psui-flex psui-items-center psui-justify-center psui-text-[24px] psui-min-h-[24px];
|
|
105
97
|
}
|
|
106
98
|
}
|
|
107
99
|
}
|
|
108
100
|
}
|
|
109
101
|
}
|
|
110
|
-
}
|
|
102
|
+
}
|
|
@@ -3,27 +3,19 @@
|
|
|
3
3
|
@apply psui-relative psui-inline-block psui-text-left;
|
|
4
4
|
|
|
5
5
|
&:focus {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
@apply psui-outline-none;
|
|
7
|
+
}
|
|
8
8
|
|
|
9
9
|
&:focus-visible {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
10
|
+
@apply psui-outline psui-outline-2 psui-outline-focus-ring psui-outline-offset-2 psui-rounded-md;
|
|
11
|
+
}
|
|
12
|
+
|
|
15
13
|
button {
|
|
16
|
-
@apply psui-inline-flex psui-justify-center psui-items-center psui-w-full psui-font-medium psui-leading-none;
|
|
17
|
-
background-color: transparent;
|
|
18
|
-
padding-top: 2.5px;
|
|
19
|
-
padding-bottom: 2.5px;
|
|
20
|
-
min-height: 27px;
|
|
21
|
-
font-size: 0.875rem;
|
|
22
|
-
|
|
14
|
+
@apply psui-inline-flex psui-justify-center psui-items-center psui-w-full psui-font-medium psui-leading-none psui-bg-transparent psui-py-[2.5px] psui-min-h-[27px] psui-text-[0.875rem];
|
|
23
15
|
}
|
|
24
16
|
|
|
25
17
|
&-dialog-wrapper {
|
|
26
18
|
@apply psui-z-50 psui-overflow-auto psui-h-auto;
|
|
27
19
|
}
|
|
28
20
|
}
|
|
29
|
-
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.psui-general-icon {
|
|
3
|
+
|
|
4
|
+
&:focus {
|
|
5
|
+
outline: none !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&:focus:not(:focus-visible) {
|
|
9
|
+
outline: none !important;
|
|
10
|
+
box-shadow: none !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&:focus-visible {
|
|
14
|
+
outline: 2px solid #2563eb !important;
|
|
15
|
+
opacity: 1 !important;
|
|
16
|
+
outline-offset: 2px !important;
|
|
17
|
+
border-radius: 6px !important;
|
|
18
|
+
visibility: visible !important;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
@layer components{
|
|
2
2
|
|
|
3
|
-
.psui-el-input {
|
|
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
|
-
|
|
3
|
+
.psui-el-input {
|
|
15
4
|
&-prepend {
|
|
16
5
|
@apply psui-pl-2 psui-flex psui-items-center psui-pointer-events-none
|
|
17
6
|
}
|
|
@@ -21,44 +10,53 @@
|
|
|
21
10
|
}
|
|
22
11
|
|
|
23
12
|
&-hint {
|
|
24
|
-
@apply psui-text-gray-
|
|
13
|
+
@apply psui-text-gray-60 psui-mt-1;
|
|
25
14
|
font-size: 12px;
|
|
26
|
-
line-height:
|
|
15
|
+
line-height: 16px;
|
|
27
16
|
}
|
|
28
17
|
|
|
29
18
|
&-wrapper {
|
|
30
|
-
@apply psui-relative psui-w-full psui-
|
|
19
|
+
@apply psui-relative psui-w-full psui-bg-white psui-flex;
|
|
31
20
|
transition: ease 130ms;
|
|
32
21
|
}
|
|
33
22
|
|
|
34
23
|
label {
|
|
35
|
-
@apply psui-font-
|
|
36
|
-
|
|
37
|
-
|
|
24
|
+
@apply psui-font-semibold psui-text-gray-80;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.status-active {
|
|
28
|
+
input {
|
|
29
|
+
@apply psui-border-blue-60;
|
|
30
|
+
}
|
|
38
31
|
}
|
|
39
32
|
|
|
40
33
|
input {
|
|
41
|
-
@apply psui-bg-white psui-text-gray-
|
|
34
|
+
@apply psui-bg-white psui-text-gray-80 psui-w-full psui-border psui-border-gray-30 psui-rounded ;
|
|
35
|
+
|
|
36
|
+
caret-color: #127999;
|
|
37
|
+
|
|
38
|
+
&::placeholder {
|
|
39
|
+
@apply psui-text-gray-60 psui-italic;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&:focus {
|
|
43
|
+
@apply psui-border-blue-60 psui-shadow-[0_0_0_2px_rgba(18,121,153,0.20)] psui-text-gray-80;
|
|
44
|
+
}
|
|
42
45
|
}
|
|
46
|
+
|
|
43
47
|
|
|
44
48
|
&.status-error {
|
|
45
49
|
.psui-el-input-wrapper {
|
|
46
|
-
@apply psui-border-red-
|
|
50
|
+
@apply psui-border-red-80;
|
|
47
51
|
}
|
|
48
52
|
.psui-el-input-hint {
|
|
49
|
-
@apply psui-text-red-
|
|
53
|
+
@apply psui-text-red-80 psui-font-bold;
|
|
50
54
|
}
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
&.status-disabled {
|
|
54
|
-
.psui-el-input-wrapper {
|
|
55
|
-
@apply psui-bg-gray-20 psui-border-gray-20
|
|
56
|
-
}
|
|
57
58
|
input {
|
|
58
|
-
@apply psui-bg-gray-20 psui-text-gray-
|
|
59
|
-
}
|
|
60
|
-
label {
|
|
61
|
-
@apply psui-text-gray-40
|
|
59
|
+
@apply psui-bg-gray-20 psui-text-gray-60;
|
|
62
60
|
}
|
|
63
61
|
}
|
|
64
62
|
|
|
@@ -66,27 +64,10 @@
|
|
|
66
64
|
/* ----------------------------------------- */
|
|
67
65
|
|
|
68
66
|
&.layout-default {
|
|
69
|
-
|
|
70
67
|
input {
|
|
71
68
|
@apply psui-text-16;
|
|
72
69
|
padding: 11.5px 16px;
|
|
73
70
|
}
|
|
74
|
-
|
|
75
|
-
&.status-resting {
|
|
76
|
-
.psui-el-input-wrapper{
|
|
77
|
-
&:hover {
|
|
78
|
-
@apply psui-border-blue-50
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&.status-active {
|
|
85
|
-
.psui-el-input-wrapper {
|
|
86
|
-
@apply psui-border-blue-60
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
71
|
}
|
|
91
72
|
/* ----------------------------------------- Layout Default */
|
|
92
73
|
|
|
@@ -96,25 +77,7 @@
|
|
|
96
77
|
&.layout-mini {
|
|
97
78
|
input {
|
|
98
79
|
@apply psui-text-14;
|
|
99
|
-
padding:
|
|
100
|
-
}
|
|
101
|
-
&.status-resting {
|
|
102
|
-
.psui-el-input-wrapper {
|
|
103
|
-
&:hover {
|
|
104
|
-
@apply psui-border-green-20
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
&.status-active {
|
|
109
|
-
.psui-el-input-wrapper {
|
|
110
|
-
@apply psui-border-green-20;
|
|
111
|
-
input {
|
|
112
|
-
@apply psui-text-green-20;
|
|
113
|
-
&.focus {
|
|
114
|
-
@apply psui-text-gray-60
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
80
|
+
padding: 6px 8px;
|
|
118
81
|
}
|
|
119
82
|
}
|
|
120
83
|
/* ----------------------------------------- Layout Mini */
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
.psui-el-input-select-wrapper {
|
|
18
18
|
&::after {
|
|
19
|
-
@apply psui-text-gray-
|
|
19
|
+
@apply psui-text-gray-60 !important;
|
|
20
20
|
z-index: 100 !important;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
@apply psui-relative psui-w-auto;
|
|
36
36
|
|
|
37
37
|
&::after {
|
|
38
|
-
@apply psui-absolute psui-inline-block psui-text-gray-
|
|
38
|
+
@apply psui-absolute psui-inline-block psui-text-gray-60;
|
|
39
39
|
content: 'arrow_drop_down';
|
|
40
40
|
font-family: 'Material Icons Round';
|
|
41
41
|
font-size: 24px;
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
.psui-el-input-helper {
|
|
77
|
-
@apply psui-text-gray-
|
|
77
|
+
@apply psui-text-gray-60;
|
|
78
78
|
font-size: 12px;
|
|
79
79
|
line-height: 24px;
|
|
80
80
|
}
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
@apply psui-relative psui-w-full;
|
|
86
86
|
|
|
87
87
|
&::after {
|
|
88
|
-
@apply psui-absolute psui-inline-block psui-text-gray-
|
|
88
|
+
@apply psui-absolute psui-inline-block psui-text-gray-60;
|
|
89
89
|
content: 'unfold_more';
|
|
90
90
|
font-family: 'Material Icons Round';
|
|
91
91
|
font-size: 18px;
|
|
@@ -102,11 +102,11 @@
|
|
|
102
102
|
|
|
103
103
|
&:hover,
|
|
104
104
|
&:active {
|
|
105
|
-
@apply psui-border-green-20 psui-text-gray-
|
|
105
|
+
@apply psui-border-green-20 psui-text-gray-60
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
&:focus {
|
|
109
|
-
@apply psui-border-green-70 psui-text-gray-
|
|
109
|
+
@apply psui-border-green-70 psui-text-gray-60
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
}
|
|
@@ -1,56 +1,51 @@
|
|
|
1
1
|
@layer components {
|
|
2
2
|
.psui-el-mini-tag {
|
|
3
|
-
@apply psui-flex psui-
|
|
4
|
-
width: fit-content;
|
|
3
|
+
@apply psui-flex psui-flex-row psui-items-center psui-rounded psui-w-fit;
|
|
5
4
|
|
|
6
5
|
span {
|
|
7
|
-
@apply psui-w-full psui-font-
|
|
8
|
-
padding: 3px 8px 3px 8px;
|
|
9
|
-
font-size: 10px;
|
|
10
|
-
line-height: 100%;
|
|
11
|
-
letter-spacing: 0.5px;
|
|
6
|
+
@apply psui-w-full psui-font-semibold psui-pt-[2px] psui-pb-[1px] psui-px-[4px] psui-text-[12px] psui-leading-[16px] psui-align-middle;
|
|
12
7
|
}
|
|
13
8
|
|
|
14
|
-
&-layout{
|
|
15
|
-
&-
|
|
16
|
-
@apply psui-bg-blue-
|
|
9
|
+
&-layout {
|
|
10
|
+
&-info {
|
|
11
|
+
@apply psui-bg-blue-20 psui-text-blue-65 psui-border psui-border-blue-40;
|
|
17
12
|
}
|
|
18
13
|
|
|
19
|
-
&-
|
|
20
|
-
@apply psui-bg-
|
|
14
|
+
&-success {
|
|
15
|
+
@apply psui-bg-green-10 psui-text-green-80 psui-border psui-border-green-20;
|
|
21
16
|
}
|
|
22
17
|
|
|
23
|
-
&-
|
|
24
|
-
@apply psui-bg-
|
|
18
|
+
&-warning {
|
|
19
|
+
@apply psui-bg-yellow-10 psui-text-yellow-60 psui-border psui-border-yellow-20;
|
|
25
20
|
}
|
|
26
|
-
|
|
27
|
-
&-
|
|
28
|
-
@apply psui-bg-
|
|
21
|
+
|
|
22
|
+
&-error {
|
|
23
|
+
@apply psui-bg-red-10 psui-text-red-80 psui-border psui-border-red-20;
|
|
29
24
|
}
|
|
30
25
|
|
|
31
|
-
&-
|
|
32
|
-
@apply psui-bg-
|
|
26
|
+
&-default {
|
|
27
|
+
@apply psui-bg-gray-10 psui-text-gray-60 psui-border psui-border-gray-30;
|
|
33
28
|
}
|
|
34
29
|
|
|
35
|
-
&-
|
|
36
|
-
@apply psui-bg-
|
|
30
|
+
&-dark-info {
|
|
31
|
+
@apply psui-bg-blue-60 psui-text-white;
|
|
37
32
|
}
|
|
38
33
|
|
|
39
|
-
&-
|
|
40
|
-
@apply psui-bg-
|
|
34
|
+
&-dark-success {
|
|
35
|
+
@apply psui-bg-green-80 psui-text-white;
|
|
41
36
|
}
|
|
42
37
|
|
|
43
|
-
&-
|
|
44
|
-
@apply psui-bg-
|
|
38
|
+
&-dark-warning {
|
|
39
|
+
@apply psui-bg-yellow-80 psui-text-white;
|
|
45
40
|
}
|
|
46
41
|
|
|
47
|
-
&-
|
|
48
|
-
@apply psui-bg-
|
|
42
|
+
&-dark-error {
|
|
43
|
+
@apply psui-bg-red-80 psui-text-white;
|
|
49
44
|
}
|
|
50
45
|
|
|
51
|
-
&-default {
|
|
52
|
-
@apply psui-bg-gray-
|
|
46
|
+
&-dark-default {
|
|
47
|
+
@apply psui-bg-gray-30 psui-text-gray-80;
|
|
53
48
|
}
|
|
54
49
|
}
|
|
55
50
|
}
|
|
56
|
-
}
|
|
51
|
+
}
|