@redseed/redseed-ui-vue3 8.14.1 → 8.16.0
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/package.json
CHANGED
|
@@ -70,6 +70,10 @@ const props = defineProps({
|
|
|
70
70
|
type: Boolean,
|
|
71
71
|
default: false,
|
|
72
72
|
},
|
|
73
|
+
classic: {
|
|
74
|
+
type: Boolean,
|
|
75
|
+
default: false,
|
|
76
|
+
},
|
|
73
77
|
rounded: {
|
|
74
78
|
type: Boolean,
|
|
75
79
|
default: false,
|
|
@@ -115,6 +119,7 @@ const defaultColor = computed(() =>
|
|
|
115
119
|
&& !props.error
|
|
116
120
|
&& !props.ai
|
|
117
121
|
&& !props.disabled
|
|
122
|
+
&& !props.classic
|
|
118
123
|
)
|
|
119
124
|
|
|
120
125
|
const iconClass = computed(() => [
|
|
@@ -144,6 +149,7 @@ const iconClass = computed(() => [
|
|
|
144
149
|
'rsui-icon--error': props.error,
|
|
145
150
|
'rsui-icon--ai': props.ai,
|
|
146
151
|
'rsui-icon--disabled': props.disabled,
|
|
152
|
+
'rsui-icon--classic': props.classic,
|
|
147
153
|
|
|
148
154
|
/**
|
|
149
155
|
* Shapes
|
|
@@ -5,7 +5,7 @@ const props = defineProps({
|
|
|
5
5
|
variant: {
|
|
6
6
|
type: String,
|
|
7
7
|
default: 'primary',
|
|
8
|
-
validator: (value) => ['primary', 'secondary', 'brand', 'success', 'info', 'warning', 'error', 'ai'].includes(value)
|
|
8
|
+
validator: (value) => ['primary', 'secondary', 'brand', 'success', 'info', 'warning', 'error', 'ai', 'classic'].includes(value)
|
|
9
9
|
},
|
|
10
10
|
bordered: {
|
|
11
11
|
type: Boolean,
|
|
@@ -59,6 +59,7 @@ const variantClass = computed(() => [
|
|
|
59
59
|
'rsui-section--warning': props.variant === 'warning',
|
|
60
60
|
'rsui-section--error': props.variant === 'error',
|
|
61
61
|
'rsui-section--ai': props.variant === 'ai',
|
|
62
|
+
'rsui-section--classic': props.variant === 'classic',
|
|
62
63
|
},
|
|
63
64
|
])
|
|
64
65
|
|