sprintify-ui 0.10.55 → 0.10.57

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.10.55",
3
+ "version": "0.10.57",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "rimraf dist && vue-tsc && vite build",
@@ -245,7 +245,7 @@ const emit = defineEmits([
245
245
  'select',
246
246
  ]);
247
247
 
248
- const { hasErrorInternal, emitUpdate, sizeInternal } = useField({
248
+ const { hasErrorInternal, emitUpdate, sizeInternal, requiredInternal } = useField({
249
249
  name: computed(() => props.name),
250
250
  required: computed(() => props.required),
251
251
  hasError: computed(() => props.hasError),
@@ -407,7 +407,7 @@ const onTextInput = (text: string) => {
407
407
  emit('typing', keywords.value);
408
408
 
409
409
  // If keywords is empty, emit null
410
- if (keywords.value == '' && !props.showEmptyOption) {
410
+ if (keywords.value == '' && !props.showEmptyOption && !requiredInternal.value) {
411
411
  update(null);
412
412
  }
413
413
  };
@@ -77,7 +77,7 @@ export const palette: Record<string, ColorPalette> = {
77
77
  yellow: {
78
78
  low: {
79
79
  backgroundColor: colors.yellow[100],
80
- textColor: colors.yellow[800],
80
+ textColor: colors.yellow[950],
81
81
  borderColor: colors.yellow[300],
82
82
  color: colors.yellow[500],
83
83
  },