@redseed/redseed-ui-vue3 5.4.16 → 6.0.1
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/index.js
CHANGED
package/package.json
CHANGED
|
@@ -14,10 +14,6 @@ const props = defineProps({
|
|
|
14
14
|
type: Boolean,
|
|
15
15
|
default: false,
|
|
16
16
|
},
|
|
17
|
-
info: {
|
|
18
|
-
type: Boolean,
|
|
19
|
-
default: false,
|
|
20
|
-
},
|
|
21
17
|
success: {
|
|
22
18
|
type: Boolean,
|
|
23
19
|
default: false,
|
|
@@ -36,7 +32,6 @@ const badgeClass = computed(() => [
|
|
|
36
32
|
'rsui-badge--sm': props.sm || defaultSize.value,
|
|
37
33
|
'rsui-badge--md': props.md,
|
|
38
34
|
'rsui-badge--neutral': props.neutral,
|
|
39
|
-
'rsui-badge--info': props.info,
|
|
40
35
|
'rsui-badge--success': props.success,
|
|
41
36
|
'rsui-badge--warning': props.warning,
|
|
42
37
|
},
|
|
@@ -67,10 +62,7 @@ defineExpose({
|
|
|
67
62
|
@apply px-2 py-2;
|
|
68
63
|
}
|
|
69
64
|
&--neutral {
|
|
70
|
-
@apply text-rsui-grey-900 bg-rsui-grey-200;
|
|
71
|
-
}
|
|
72
|
-
&--info {
|
|
73
|
-
@apply text-white bg-rsui-info-500;
|
|
65
|
+
@apply text-rsui-grey-neutral-900 bg-rsui-grey-neutral-200;
|
|
74
66
|
}
|
|
75
67
|
&--success {
|
|
76
68
|
@apply text-white bg-rsui-success-500;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { ref, watch, watchEffect, nextTick, onMounted } from 'vue'
|
|
3
|
-
import {
|
|
3
|
+
import { ChevronDownIcon } from '@heroicons/vue/24/outline'
|
|
4
4
|
import { ButtonTertiary } from '../Button'
|
|
5
5
|
|
|
6
6
|
defineOptions({
|
|
@@ -104,14 +104,14 @@ onMounted(() => {
|
|
|
104
104
|
:full="$attrs.full"
|
|
105
105
|
@click.stop="handleTrigger"
|
|
106
106
|
>
|
|
107
|
-
<
|
|
107
|
+
<ChevronDownIcon
|
|
108
108
|
:class="[
|
|
109
109
|
'rsui-disclosure__trigger-icon',
|
|
110
110
|
{
|
|
111
111
|
'rsui-disclosure__trigger-icon--open': isOpen,
|
|
112
112
|
}
|
|
113
113
|
]"
|
|
114
|
-
></
|
|
114
|
+
></ChevronDownIcon>
|
|
115
115
|
</ButtonTertiary>
|
|
116
116
|
</slot>
|
|
117
117
|
</Teleport>
|
|
@@ -138,7 +138,7 @@ onMounted(() => {
|
|
|
138
138
|
@apply transition-all;
|
|
139
139
|
|
|
140
140
|
&--open {
|
|
141
|
-
@apply rotate-180;
|
|
141
|
+
@apply -rotate-180;
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
|
|
@@ -35,7 +35,7 @@ defineProps({
|
|
|
35
35
|
</template>
|
|
36
36
|
<style lang="scss" scoped>
|
|
37
37
|
.rsui-hero-section {
|
|
38
|
-
@apply rounded-xl bg-rsui-grey-
|
|
38
|
+
@apply rounded-xl bg-rsui-grey-100 px-5 py-6 flex flex-col gap-4 md:gap-6;
|
|
39
39
|
|
|
40
40
|
&__cards {
|
|
41
41
|
@apply grid grid-cols-1 md:grid-cols-3 gap-4 md:gap-6;
|
|
@@ -66,7 +66,7 @@ const wrapperClasses = computed(() => [
|
|
|
66
66
|
@apply whitespace-nowrap select-none cursor-pointer;
|
|
67
67
|
}
|
|
68
68
|
input {
|
|
69
|
-
@apply appearance-none shrink-0 relative w-[2.6rem] h-6 px-1 bg-rsui-grey-
|
|
69
|
+
@apply appearance-none shrink-0 relative w-[2.6rem] h-6 px-1 bg-rsui-grey-500 border-transparent text-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 ring-0 flex items-center;
|
|
70
70
|
@apply focus:ring-0 focus:ring-transparent focus:checked:border-primary-background;
|
|
71
71
|
@apply checked:bg-none checked:bg-primary-background checked:text-primary-foreground checked:border-primary-background checked:before:bg-primary-foreground checked:before:translate-x-full;
|
|
72
72
|
@apply disabled:opacity-20 disabled:pointer-events-none;
|