@mptw/skylens-ui 1.4.14 → 1.4.16
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/assets/css/layout.styl +5 -5
- package/components/SLAlertModal.vue +4 -4
- package/components/SLButton.vue +29 -29
- package/components/SLCalendarButton.vue +1 -1
- package/components/SLCalendarPopup.vue +4 -4
- package/components/SLCard.vue +5 -5
- package/components/SLCircleButton.vue +5 -5
- package/components/SLCollapsableBlock.vue +1 -1
- package/components/SLCollapsableMulitPillSelect.vue +2 -2
- package/components/SLConfirmModal.vue +1 -1
- package/components/SLDateInput.vue +6 -6
- package/components/SLDownloadButton.vue +3 -3
- package/components/SLDropdown.vue +2 -2
- package/components/SLDropdownItem.vue +2 -2
- package/components/SLElementWithTitle.vue +1 -1
- package/components/SLFileInput.vue +2 -2
- package/components/SLGenderAgeSelect.vue +3 -3
- package/components/SLHourRangeInput.vue +2 -2
- package/components/SLIOSSwitch.vue +2 -2
- package/components/SLIconButton.vue +4 -4
- package/components/SLInfoTip.vue +1 -1
- package/components/SLInsightSitePage.vue +1 -1
- package/components/SLLegend.vue +1 -1
- package/components/SLLoading.vue +5 -5
- package/components/SLModal.vue +1 -1
- package/components/SLMonthCalendarButton.vue +3 -3
- package/components/SLMonthPicker.vue +2 -2
- package/components/SLMultiEmailInput.vue +7 -7
- package/components/SLMultiSelect.vue +3 -3
- package/components/SLNoData.vue +1 -1
- package/components/SLPillCheckbox.vue +16 -21
- package/components/SLPillLabel.vue +17 -17
- package/components/SLPopupMenuButton.vue +2 -2
- package/components/SLProfileButton.vue +3 -3
- package/components/SLProjectShareItem.vue +3 -3
- package/components/SLRadioGroup.vue +17 -17
- package/components/SLRangeInput.vue +2 -2
- package/components/SLRightSider.vue +5 -5
- package/components/SLSearchInput.vue +2 -2
- package/components/SLSelect.vue +6 -6
- package/components/SLSelectAllToggle.vue +11 -11
- package/components/SLSiderbarNav.vue +14 -14
- package/components/SLSkyInsightSitePage.vue +1 -1
- package/components/SLSortByDropdown.vue +3 -3
- package/components/SLStayRangeInput.vue +2 -2
- package/components/SLTab.vue +12 -3
- package/components/SLTable.vue +10 -10
- package/components/SLTableTooltip.vue +2 -2
- package/components/SLTabs.vue +14 -10
- package/components/SLTextInput.vue +9 -9
- package/components/SLTextarea.vue +3 -3
- package/components/SLToast.vue +1 -1
- package/components/SLToggleButton.vue +2 -2
- package/components/SLTwoLayerMultiSelect.vue +5 -5
- package/components/SLTwoLayerSelect.vue +3 -3
- package/components/SLTwoLayerSingleSelect.vue +1 -1
- package/package.json +1 -1
- package/tailwind.config.js +59 -103
|
@@ -335,7 +335,7 @@ export default defineComponent({
|
|
|
335
335
|
@apply inline-flex
|
|
336
336
|
|
|
337
337
|
&-toggle
|
|
338
|
-
@apply inline-flex items-center justify-center s('min-w-[163px]') s('min-h-[58px]') py-1 px-4 bg-white border border-primary-
|
|
338
|
+
@apply inline-flex items-center justify-center s('min-w-[163px]') s('min-h-[58px]') py-1 px-4 bg-white border border-primary-500 rounded shadow
|
|
339
339
|
.toggle-wrapper
|
|
340
340
|
@apply inline-flex items-center
|
|
341
341
|
.icon
|
|
@@ -349,7 +349,7 @@ export default defineComponent({
|
|
|
349
349
|
.compare-month
|
|
350
350
|
@apply text-xs text-gray-3
|
|
351
351
|
.month-calendar-popup
|
|
352
|
-
@apply z-50 s('p-3.75') space-y-4 bg-white border border-
|
|
352
|
+
@apply z-50 s('p-3.75') space-y-4 bg-white border border-primary-100 rounded-lg shadow-md hidden
|
|
353
353
|
|
|
354
354
|
&[data-show]
|
|
355
355
|
@apply block
|
|
@@ -358,7 +358,7 @@ export default defineComponent({
|
|
|
358
358
|
.compare-switch
|
|
359
359
|
@apply inline-flex items-center space-x-px
|
|
360
360
|
.compare-switch-button
|
|
361
|
-
@apply block s('py-0.75') s('px-3.75') bg-white border border-primary-
|
|
361
|
+
@apply block s('py-0.75') s('px-3.75') bg-white border border-primary-300 text-sm text-insight-title
|
|
362
362
|
|
|
363
363
|
&:first-child
|
|
364
364
|
@apply rounded-l s('rounded-r-[1px]')
|
|
@@ -141,11 +141,11 @@ export default defineComponent({
|
|
|
141
141
|
|
|
142
142
|
.month-button
|
|
143
143
|
@apply flex items-center justify-center s('w-[42px]') s('h-[27px]') s('my-2') s('mx-4') bg-white rounded text-sm text-gray-3
|
|
144
|
-
@apply s('hover:bg-primary-
|
|
144
|
+
@apply s('hover:bg-primary-300') s('hover:text-white')
|
|
145
145
|
|
|
146
146
|
&.selected
|
|
147
147
|
@apply text-white
|
|
148
148
|
|
|
149
149
|
&.disabled
|
|
150
|
-
@apply bg-white text-
|
|
150
|
+
@apply bg-white text-gray-5
|
|
151
151
|
</style>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
SLInfoTip(placement="top", :pinnable='false')
|
|
7
7
|
.space-y-3
|
|
8
8
|
.flex.items-center.text-sm.text-gray-2
|
|
9
|
-
SLIcon.text-
|
|
9
|
+
SLIcon.text-highlight-500(icon="check-circle")
|
|
10
10
|
span.whitespace-nowrap :確認帳號存在 SKYLENS
|
|
11
11
|
.flex.items-center.text-sm.text-gray-2
|
|
12
12
|
SLIcon.text-danger(icon='exclamation-circle')
|
|
@@ -639,7 +639,7 @@ export default defineComponent({
|
|
|
639
639
|
@apply flex items-start space-x-4
|
|
640
640
|
|
|
641
641
|
.emails-input
|
|
642
|
-
@apply flex-grow flex items-center s('p-1.75') space-x-4 bg-white border border-primary-
|
|
642
|
+
@apply flex-grow flex items-center s('p-1.75') space-x-4 bg-white border border-primary-500 rounded overflow-hidden
|
|
643
643
|
|
|
644
644
|
&-wrapper
|
|
645
645
|
@apply flex-grow space-y-2 overflow-hidden
|
|
@@ -651,7 +651,7 @@ export default defineComponent({
|
|
|
651
651
|
@apply flex flex-col items-start space-y-2 overflow-hidden
|
|
652
652
|
|
|
653
653
|
.email-item
|
|
654
|
-
@apply inline-flex items-center justify-start max-w-full s('px-1.75') s('py-0.5') space-x-2 bg-white border border-primary-
|
|
654
|
+
@apply inline-flex items-center justify-start max-w-full s('px-1.75') s('py-0.5') space-x-2 bg-white border border-primary-300 rounded-full text-base text-gray-2
|
|
655
655
|
|
|
656
656
|
&-email
|
|
657
657
|
@apply flex-grow truncate
|
|
@@ -660,10 +660,10 @@ export default defineComponent({
|
|
|
660
660
|
@apply flex-grow-0 flex-shrink-0
|
|
661
661
|
|
|
662
662
|
.icon-loading
|
|
663
|
-
@apply text-third
|
|
663
|
+
@apply text-third-500
|
|
664
664
|
|
|
665
665
|
.icon-success
|
|
666
|
-
@apply text-
|
|
666
|
+
@apply text-highlight-500
|
|
667
667
|
|
|
668
668
|
.icon-warn
|
|
669
669
|
@apply text-danger
|
|
@@ -701,11 +701,11 @@ export default defineComponent({
|
|
|
701
701
|
@apply top-0 right-0 h-full bg-transparent
|
|
702
702
|
|
|
703
703
|
:deep(.swiper-scrollbar-drag)
|
|
704
|
-
@apply bg-primary-
|
|
704
|
+
@apply bg-primary-300
|
|
705
705
|
.autotcomplete-item
|
|
706
706
|
@apply block w-full py-1 px-2 bg-white text-sm text-gray-2
|
|
707
707
|
&:hover, &.focused
|
|
708
|
-
@apply bg-
|
|
708
|
+
@apply bg-primary-100
|
|
709
709
|
</style>
|
|
710
710
|
|
|
711
711
|
<style lang="stylus">
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
)
|
|
11
11
|
span.option-label {{ option.label }}
|
|
12
12
|
span.btn.btn-apply(v-if='!option.selected') {{ applyTitle }}
|
|
13
|
-
span.btn.btn-
|
|
13
|
+
span.btn.btn-gray-5(v-else) {{ cancelTitle }}
|
|
14
14
|
</template>
|
|
15
15
|
|
|
16
16
|
<script lang="ts">
|
|
@@ -87,7 +87,7 @@ export default defineComponent({
|
|
|
87
87
|
|
|
88
88
|
<style lang="stylus">
|
|
89
89
|
.custom-multi-select
|
|
90
|
-
@apply px-3 py-1 border border-primary-
|
|
90
|
+
@apply px-3 py-1 border border-primary-500 rounded
|
|
91
91
|
|
|
92
92
|
.options-wrapper
|
|
93
93
|
@apply relative overflow-auto
|
|
@@ -96,7 +96,7 @@ export default defineComponent({
|
|
|
96
96
|
@apply flex flex-col
|
|
97
97
|
|
|
98
98
|
.option-button
|
|
99
|
-
@apply flex justify-between items-center px-2 py-1 bg-white shadow-inline s("hover:bg-
|
|
99
|
+
@apply flex justify-between items-center px-2 py-1 bg-white shadow-inline s("hover:bg-primary-25")
|
|
100
100
|
|
|
101
101
|
&:hover
|
|
102
102
|
.btn
|
package/components/SLNoData.vue
CHANGED
|
@@ -65,14 +65,13 @@ export default defineComponent({
|
|
|
65
65
|
validator: (value: string) =>
|
|
66
66
|
[
|
|
67
67
|
"",
|
|
68
|
+
"third-500",
|
|
68
69
|
"third",
|
|
69
|
-
"third-7",
|
|
70
70
|
"primary",
|
|
71
|
-
"primary-
|
|
72
|
-
"
|
|
71
|
+
"primary-600",
|
|
72
|
+
"highlight",
|
|
73
73
|
"blue-1",
|
|
74
|
-
"
|
|
75
|
-
"secondary-new-300",
|
|
74
|
+
"secondary-400",
|
|
76
75
|
].includes(value),
|
|
77
76
|
},
|
|
78
77
|
},
|
|
@@ -154,44 +153,40 @@ export default defineComponent({
|
|
|
154
153
|
label
|
|
155
154
|
@apply py-px text-xs
|
|
156
155
|
|
|
157
|
-
&.pill-checkbox-third
|
|
156
|
+
&.pill-checkbox-third-500
|
|
158
157
|
input:checked + label
|
|
159
|
-
@apply bg-third border-third
|
|
158
|
+
@apply bg-third-500 border-third-500
|
|
160
159
|
|
|
161
|
-
&.pill-checkbox-third
|
|
160
|
+
&.pill-checkbox-third
|
|
162
161
|
input:checked + label
|
|
163
|
-
@apply bg-third
|
|
162
|
+
@apply bg-third border-third
|
|
164
163
|
|
|
165
164
|
&.pill-checkbox-primary
|
|
166
165
|
input:checked + label
|
|
167
166
|
@apply bg-primary border-primary
|
|
168
167
|
|
|
169
|
-
&.pill-checkbox-primary-
|
|
168
|
+
&.pill-checkbox-primary-600
|
|
170
169
|
input:checked + label
|
|
171
|
-
@apply bg-primary-
|
|
170
|
+
@apply bg-primary-600 border-primary-600
|
|
172
171
|
|
|
173
|
-
&.pill-checkbox-
|
|
172
|
+
&.pill-checkbox-highlight
|
|
174
173
|
input:checked + label
|
|
175
|
-
@apply bg-
|
|
174
|
+
@apply bg-highlight border-highlight
|
|
176
175
|
|
|
177
176
|
&.pill-checkbox-blue-1
|
|
178
177
|
input:checked + label
|
|
179
178
|
@apply bg-blue-1 border-blue-1
|
|
180
179
|
|
|
181
|
-
&.pill-checkbox-
|
|
182
|
-
input:checked + label
|
|
183
|
-
@apply bg-blue-2 border-blue-2
|
|
184
|
-
|
|
185
|
-
&.pill-checkbox-secondary-new-300
|
|
180
|
+
&.pill-checkbox-secondary-400
|
|
186
181
|
input:checked + label
|
|
187
|
-
@apply bg-secondary-
|
|
182
|
+
@apply bg-secondary-400 border-secondary-400
|
|
188
183
|
|
|
189
184
|
input
|
|
190
185
|
@apply absolute s('left-1/2') s('top-1/2') transform s('-translate-x-1/2') s('-translate-y-1/2')
|
|
191
186
|
|
|
192
187
|
label
|
|
193
188
|
@apply inline-flex justify-center items-center relative s('px-1.75') s('py-0.75')
|
|
194
|
-
@apply bg-white border border-primary-
|
|
189
|
+
@apply bg-white border border-primary-300 rounded-full text-sm s('leading-4.75') text-gray-2 align-top cursor-pointer
|
|
195
190
|
|
|
196
191
|
.icon
|
|
197
192
|
@apply hidden ml-2
|
|
@@ -203,5 +198,5 @@ export default defineComponent({
|
|
|
203
198
|
@apply inline-block
|
|
204
199
|
|
|
205
200
|
input:disabled + label
|
|
206
|
-
@apply bg-white border-
|
|
201
|
+
@apply bg-white border-gray-5 text-gray-4 font-normal cursor-default
|
|
207
202
|
</style>
|
|
@@ -28,15 +28,15 @@ export default defineComponent({
|
|
|
28
28
|
validator: (value: string) =>
|
|
29
29
|
[
|
|
30
30
|
"",
|
|
31
|
+
"third-500",
|
|
32
|
+
"third-600",
|
|
31
33
|
"third",
|
|
32
|
-
"third-7",
|
|
33
34
|
"primary",
|
|
34
|
-
"primary-
|
|
35
|
-
"
|
|
35
|
+
"primary-600",
|
|
36
|
+
"highlight",
|
|
36
37
|
"blue-1",
|
|
37
|
-
"blue-2",
|
|
38
38
|
"white",
|
|
39
|
-
"secondary
|
|
39
|
+
"secondary",
|
|
40
40
|
].includes(value),
|
|
41
41
|
},
|
|
42
42
|
},
|
|
@@ -76,29 +76,29 @@ export default defineComponent({
|
|
|
76
76
|
&.pill-label-white
|
|
77
77
|
@apply text-gray-2
|
|
78
78
|
|
|
79
|
+
&.pill-label-third-500
|
|
80
|
+
@apply bg-third-500 border-third-500
|
|
81
|
+
|
|
82
|
+
&.pill-label-third-600
|
|
83
|
+
@apply bg-third-600 border-third-600
|
|
84
|
+
|
|
79
85
|
&.pill-label-third
|
|
80
86
|
@apply bg-third border-third
|
|
81
87
|
|
|
82
|
-
&.pill-label-third-7
|
|
83
|
-
@apply bg-third-7 border-third-7
|
|
84
|
-
|
|
85
88
|
&.pill-label-primary
|
|
86
89
|
@apply bg-primary border-primary
|
|
87
90
|
|
|
88
|
-
&.pill-label-primary-
|
|
89
|
-
@apply bg-primary-
|
|
91
|
+
&.pill-label-primary-600
|
|
92
|
+
@apply bg-primary-600 border-primary-600
|
|
90
93
|
|
|
91
|
-
&.pill-label-
|
|
92
|
-
@apply bg-
|
|
94
|
+
&.pill-label-highlight
|
|
95
|
+
@apply bg-highlight border-highlight
|
|
93
96
|
|
|
94
97
|
&.pill-label-blue-1
|
|
95
98
|
@apply bg-blue-1 border-blue-1
|
|
96
99
|
|
|
97
|
-
&.pill-label-
|
|
98
|
-
@apply bg-
|
|
99
|
-
|
|
100
|
-
&.pill-label-secondary-new
|
|
101
|
-
@apply bg-secondary-new border-secondary-new
|
|
100
|
+
&.pill-label-secondary
|
|
101
|
+
@apply bg-secondary border-secondary
|
|
102
102
|
|
|
103
103
|
.icon
|
|
104
104
|
@apply inline-block ml-2
|
|
@@ -138,7 +138,7 @@ export default defineComponent({
|
|
|
138
138
|
@apply inline-block relative
|
|
139
139
|
|
|
140
140
|
.buttons-popup
|
|
141
|
-
@apply z-60 flex-col items-stretch border border-primary-
|
|
141
|
+
@apply z-60 flex-col items-stretch border border-primary-300 rounded bg-white shadow-md hidden
|
|
142
142
|
|
|
143
143
|
&[data-show]
|
|
144
144
|
@apply flex
|
|
@@ -153,6 +153,6 @@ export default defineComponent({
|
|
|
153
153
|
@apply pb-2
|
|
154
154
|
|
|
155
155
|
.menu-button-splitter
|
|
156
|
-
@apply h-px mx-auto my-1 bg-
|
|
156
|
+
@apply h-px mx-auto my-1 bg-primary-100
|
|
157
157
|
width calc(100% - theme("spacing.4"))
|
|
158
158
|
</style>
|
|
@@ -167,10 +167,10 @@ export default defineComponent({
|
|
|
167
167
|
<style lang="stylus">
|
|
168
168
|
.profile-button
|
|
169
169
|
.toggle-button
|
|
170
|
-
@apply inline-flex items-center justify-center w-10 h-10 p-0 rounded-full s('bg-primary/80') s('text-2.67xl') s('leading-9.25') text-card-primary-
|
|
170
|
+
@apply inline-flex items-center justify-center w-10 h-10 p-0 rounded-full s('bg-primary/80') s('text-2.67xl') s('leading-9.25') text-card-primary-600 font-bold
|
|
171
171
|
|
|
172
172
|
.profile-nav-popup
|
|
173
|
-
@apply z-60 absolute s('min-w-[10.25rem]') p-4 border border-primary bg-
|
|
173
|
+
@apply z-60 absolute s('min-w-[10.25rem]') p-4 border border-primary bg-primary-50 rounded shadow-popup-lg pointer-events-none invisible
|
|
174
174
|
|
|
175
175
|
&[data-show]
|
|
176
176
|
@apply visible pointer-events-auto
|
|
@@ -182,5 +182,5 @@ export default defineComponent({
|
|
|
182
182
|
@apply inline-flex items-center space-x-2 text-base text-primary-hover s('hover:text-primary')
|
|
183
183
|
|
|
184
184
|
.profile-nav-divider
|
|
185
|
-
@apply w-full h-px bg-
|
|
185
|
+
@apply w-full h-px bg-primary-600
|
|
186
186
|
</style>
|
|
@@ -81,13 +81,13 @@ export default defineComponent({
|
|
|
81
81
|
@apply flex-grow-0 flex-shrink-0
|
|
82
82
|
|
|
83
83
|
:deep(.dropdown-menu)
|
|
84
|
-
@apply border-primary-
|
|
84
|
+
@apply border-primary-600
|
|
85
85
|
.dropdown-list-wrapper
|
|
86
86
|
.dropdown-list
|
|
87
|
-
@apply s('min-w-[74px]') divide-y divide-
|
|
87
|
+
@apply s('min-w-[74px]') divide-y divide-primary-100
|
|
88
88
|
|
|
89
89
|
:deep(.dropdown-toggle)
|
|
90
|
-
@apply s('py-0.75') border-primary-
|
|
90
|
+
@apply s('py-0.75') border-primary-600 bg-white text-sm
|
|
91
91
|
|
|
92
92
|
.dropdown-item
|
|
93
93
|
@apply text-center
|
|
@@ -106,7 +106,7 @@ export default defineComponent({
|
|
|
106
106
|
|
|
107
107
|
<style lang="stylus">
|
|
108
108
|
.radio-group
|
|
109
|
-
@apply inline-flex s('p-0.5') bg-
|
|
109
|
+
@apply inline-flex s('p-0.5') bg-primary-100 border border-primary-200 rounded
|
|
110
110
|
|
|
111
111
|
&.radio-group--sm
|
|
112
112
|
.radio
|
|
@@ -132,56 +132,56 @@ export default defineComponent({
|
|
|
132
132
|
label
|
|
133
133
|
@apply px-2 py-px text-sm
|
|
134
134
|
|
|
135
|
-
&.radio-group--third-
|
|
136
|
-
@apply bg-third-
|
|
135
|
+
&.radio-group--third-600
|
|
136
|
+
@apply bg-third-600 border-third-500
|
|
137
137
|
|
|
138
138
|
.radio
|
|
139
139
|
label
|
|
140
|
-
@apply bg-third-
|
|
140
|
+
@apply bg-third-600 text-white
|
|
141
141
|
|
|
142
142
|
input:checked + .element-with-title
|
|
143
143
|
label
|
|
144
|
-
@apply text-third
|
|
144
|
+
@apply text-third
|
|
145
145
|
|
|
146
|
-
&.radio-group--edit
|
|
147
|
-
@apply bg-edit
|
|
146
|
+
&.radio-group--edit
|
|
147
|
+
@apply bg-edit border-primary
|
|
148
148
|
|
|
149
149
|
&.color-invert
|
|
150
|
-
@apply bg-card-lightpr-bg border-primary-
|
|
150
|
+
@apply bg-card-lightpr-bg border-primary-300
|
|
151
151
|
|
|
152
152
|
.radio
|
|
153
153
|
label
|
|
154
|
-
@apply bg-card-lightpr-bg text-primary-
|
|
154
|
+
@apply bg-card-lightpr-bg text-primary-600
|
|
155
155
|
|
|
156
156
|
input:checked + .element-with-title
|
|
157
157
|
label
|
|
158
|
-
@apply bg-edit
|
|
158
|
+
@apply bg-edit text-white
|
|
159
159
|
|
|
160
160
|
.radio
|
|
161
161
|
label
|
|
162
|
-
@apply bg-edit
|
|
162
|
+
@apply bg-edit text-white
|
|
163
163
|
|
|
164
164
|
input:checked + .element-with-title
|
|
165
165
|
label
|
|
166
166
|
@apply text-primary
|
|
167
167
|
|
|
168
168
|
&.radio-group--insight-title
|
|
169
|
-
@apply bg-
|
|
169
|
+
@apply bg-primary-100 border-primary-100
|
|
170
170
|
|
|
171
171
|
&.color-invert
|
|
172
|
-
@apply bg-card-lightpr-bg border-primary-
|
|
172
|
+
@apply bg-card-lightpr-bg border-primary-300
|
|
173
173
|
|
|
174
174
|
.radio
|
|
175
175
|
label
|
|
176
|
-
@apply bg-card-lightpr-bg text-primary-
|
|
176
|
+
@apply bg-card-lightpr-bg text-primary-600
|
|
177
177
|
|
|
178
178
|
input:checked + .element-with-title
|
|
179
179
|
label
|
|
180
|
-
@apply bg-edit
|
|
180
|
+
@apply bg-edit text-white
|
|
181
181
|
|
|
182
182
|
.radio
|
|
183
183
|
label
|
|
184
|
-
@apply bg-
|
|
184
|
+
@apply bg-primary-100 text-primary
|
|
185
185
|
|
|
186
186
|
input:checked + .element-with-title
|
|
187
187
|
label
|
|
@@ -197,7 +197,7 @@ export default defineComponent({
|
|
|
197
197
|
@apply absolute s('left-1/2') s('top-1/2') transform s('-translate-x-1/2') s('-translate-y-1/2')
|
|
198
198
|
|
|
199
199
|
label
|
|
200
|
-
@apply inline-flex justify-center items-center relative px-3 s('py-1.25') bg-
|
|
200
|
+
@apply inline-flex justify-center items-center relative px-3 s('py-1.25') bg-primary-100 rounded text-base leading-normal text-primary-hover cursor-pointer transition
|
|
201
201
|
|
|
202
202
|
input:checked + .element-with-title
|
|
203
203
|
label
|
|
@@ -181,7 +181,7 @@ export default defineComponent({
|
|
|
181
181
|
@apply text-gray-4
|
|
182
182
|
|
|
183
183
|
input[type=text]
|
|
184
|
-
@apply border-primary-
|
|
184
|
+
@apply border-primary-600 bg-primary-100
|
|
185
185
|
|
|
186
186
|
& > label
|
|
187
187
|
@apply mb-2 text-base leading-normal text-gray-2
|
|
@@ -201,7 +201,7 @@ export default defineComponent({
|
|
|
201
201
|
@apply flex justify-between mb-1 text-sm text-gray-3
|
|
202
202
|
|
|
203
203
|
input[type=text]
|
|
204
|
-
@apply flex-grow-0 flex-shrink-0 w-11 bg-white border border-primary-
|
|
204
|
+
@apply flex-grow-0 flex-shrink-0 w-11 bg-white border border-primary-600 rounded text-base text-center text-gray-2
|
|
205
205
|
@apply s('focus:outline-none')
|
|
206
206
|
|
|
207
207
|
.invalid-feedback
|
|
@@ -212,10 +212,10 @@ export default defineComponent({
|
|
|
212
212
|
@apply block
|
|
213
213
|
|
|
214
214
|
&-modal
|
|
215
|
-
@apply fixed top-0 left-0 w-full h-full s('bg-
|
|
215
|
+
@apply fixed top-0 left-0 w-full h-full s('bg-mask/70') hidden
|
|
216
216
|
|
|
217
217
|
&-content
|
|
218
|
-
@apply absolute top-4 left-0 flex p-6 bg-white border-t border-l border-b border-
|
|
218
|
+
@apply absolute top-4 left-0 flex p-6 bg-white border-t border-l border-b border-primary-600 rounded-l-lg shadow-popup-lg transition-margin
|
|
219
219
|
max-width calc(100vw - 16px)
|
|
220
220
|
max-height calc(100% - theme('spacing.8'))
|
|
221
221
|
|
|
@@ -225,10 +225,10 @@ export default defineComponent({
|
|
|
225
225
|
margin-left -44px
|
|
226
226
|
|
|
227
227
|
&-third
|
|
228
|
-
@apply bg-third-
|
|
228
|
+
@apply bg-third-600
|
|
229
229
|
|
|
230
230
|
&-purple
|
|
231
|
-
@apply bg-edit
|
|
231
|
+
@apply bg-edit
|
|
232
232
|
|
|
233
233
|
&-wrapper
|
|
234
234
|
@apply flex max-w-full overflow-hidden
|
|
@@ -237,6 +237,6 @@ export default defineComponent({
|
|
|
237
237
|
@apply absolute top-0 right-0 inline-flex mt-6 mr-6 text-base text-primary
|
|
238
238
|
|
|
239
239
|
&-addition-content
|
|
240
|
-
@apply absolute top-4 right-0 flex bg-white border border-
|
|
240
|
+
@apply absolute top-4 right-0 flex bg-white border border-primary-600 rounded-lg overflow-hidden shadow-popup-lg transition-margin
|
|
241
241
|
max-height calc(100% - theme('spacing.8'))
|
|
242
242
|
</style>
|
|
@@ -85,13 +85,13 @@ export default defineComponent({
|
|
|
85
85
|
@apply text-sm
|
|
86
86
|
|
|
87
87
|
.input-group-append
|
|
88
|
-
@apply inline-flex border-t border-r border-b border-primary-
|
|
88
|
+
@apply inline-flex border-t border-r border-b border-primary-600 rounded-r bg-white
|
|
89
89
|
|
|
90
90
|
.button-group
|
|
91
91
|
@apply inline-flex items-center s('py-1.75') s('pr-1.75') s('space-x-1.75')
|
|
92
92
|
|
|
93
93
|
&-divider
|
|
94
|
-
@apply w-px h-full my-px bg-primary-
|
|
94
|
+
@apply w-px h-full my-px bg-primary-600
|
|
95
95
|
|
|
96
96
|
.btn
|
|
97
97
|
@apply p-0 border-0 text-gray-3 s('focus:outline-none') s('active:outline-none')
|
package/components/SLSelect.vue
CHANGED
|
@@ -478,7 +478,7 @@ export default defineComponent({
|
|
|
478
478
|
&.disabled, &.readonly
|
|
479
479
|
.form-control
|
|
480
480
|
label
|
|
481
|
-
@apply border-primary-
|
|
481
|
+
@apply border-primary-600 bg-primary-100 text-gray-4 cursor-default
|
|
482
482
|
|
|
483
483
|
.icon
|
|
484
484
|
@apply text-gray-4
|
|
@@ -491,7 +491,7 @@ export default defineComponent({
|
|
|
491
491
|
|
|
492
492
|
&.is-invalid
|
|
493
493
|
.toggle-button
|
|
494
|
-
@apply border-danger-
|
|
494
|
+
@apply border-danger-light
|
|
495
495
|
|
|
496
496
|
.invalid-feedback
|
|
497
497
|
@apply block
|
|
@@ -500,7 +500,7 @@ export default defineComponent({
|
|
|
500
500
|
@apply absolute outline-none
|
|
501
501
|
|
|
502
502
|
label
|
|
503
|
-
@apply relative flex items-center s("p-1.75") bg-white border border-primary-
|
|
503
|
+
@apply relative flex items-center s("p-1.75") bg-white border border-primary-600 rounded text-base leading-normal text-gray-4 space-x-2 cursor-pointer
|
|
504
504
|
|
|
505
505
|
&.selected
|
|
506
506
|
@apply text-gray-2
|
|
@@ -515,7 +515,7 @@ export default defineComponent({
|
|
|
515
515
|
@apply hidden text-danger text-xs
|
|
516
516
|
|
|
517
517
|
.select-options
|
|
518
|
-
@apply flex flex-col z-60 absolute invisible border border-primary-
|
|
518
|
+
@apply flex flex-col z-60 absolute invisible border border-primary-600 rounded bg-white overflow-hidden pointer-events-none
|
|
519
519
|
|
|
520
520
|
&.select-options--xs
|
|
521
521
|
.option-list
|
|
@@ -540,10 +540,10 @@ export default defineComponent({
|
|
|
540
540
|
@apply flex flex-col
|
|
541
541
|
|
|
542
542
|
.option-button
|
|
543
|
-
@apply block s("min-w-[10.125rem]") s('p-1.75') bg-white text-base leading-normal text-gray-3 s("hover:bg-
|
|
543
|
+
@apply block s("min-w-[10.125rem]") s('p-1.75') bg-white text-base leading-normal text-gray-3 s("hover:bg-primary-100") s("hover:text-primary")
|
|
544
544
|
|
|
545
545
|
&.selected
|
|
546
|
-
@apply bg-
|
|
546
|
+
@apply bg-primary-100 text-primary
|
|
547
547
|
|
|
548
548
|
.icon-square
|
|
549
549
|
@apply hidden
|
|
@@ -29,9 +29,9 @@ export default defineComponent({
|
|
|
29
29
|
},
|
|
30
30
|
color: {
|
|
31
31
|
type: String,
|
|
32
|
-
default: "primary-
|
|
32
|
+
default: "primary-600",
|
|
33
33
|
validator: (val: string) =>
|
|
34
|
-
["primary-
|
|
34
|
+
["primary-600", "secondary"].includes(val),
|
|
35
35
|
},
|
|
36
36
|
},
|
|
37
37
|
emits: ["select:all", "select:none"],
|
|
@@ -77,29 +77,29 @@ export default defineComponent({
|
|
|
77
77
|
.select-all-option
|
|
78
78
|
@apply s('py-1.25') text-xs
|
|
79
79
|
|
|
80
|
-
&.select-all-toggle-primary-
|
|
81
|
-
@apply border-
|
|
80
|
+
&.select-all-toggle-primary-600
|
|
81
|
+
@apply border-primary-600
|
|
82
82
|
|
|
83
83
|
.select-all-option
|
|
84
|
-
@apply text-primary-
|
|
84
|
+
@apply text-primary-600
|
|
85
85
|
|
|
86
86
|
&.active
|
|
87
87
|
@apply bg-primary
|
|
88
88
|
|
|
89
89
|
.select-all-divider
|
|
90
|
-
@apply bg-primary-
|
|
90
|
+
@apply bg-primary-600
|
|
91
91
|
|
|
92
|
-
&.select-all-toggle-secondary
|
|
93
|
-
@apply border-secondary-
|
|
92
|
+
&.select-all-toggle-secondary
|
|
93
|
+
@apply border-secondary-400
|
|
94
94
|
|
|
95
95
|
.select-all-option
|
|
96
|
-
@apply text-secondary-
|
|
96
|
+
@apply text-secondary-400
|
|
97
97
|
|
|
98
98
|
&.active
|
|
99
|
-
@apply bg-secondary
|
|
99
|
+
@apply bg-secondary
|
|
100
100
|
|
|
101
101
|
.select-all-divider
|
|
102
|
-
@apply bg-primary-
|
|
102
|
+
@apply bg-primary-600
|
|
103
103
|
|
|
104
104
|
.select-all-option
|
|
105
105
|
@apply block py-1 bg-white text-sm
|