@dataloop-ai/components 0.17.43 → 0.17.45

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": "@dataloop-ai/components",
3
- "version": "0.17.43",
3
+ "version": "0.17.45",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -200,7 +200,7 @@ export default defineComponent({
200
200
  }
201
201
  } else if (this.modelValue !== null) {
202
202
  const selectedStyle = {
203
- backgroundColor: 'var(--dl-date-picker-selected-date)',
203
+ backgroundColor: 'var(--dl-color-secondary)',
204
204
  color: 'var(--dl-color-text-buttons)',
205
205
  borderRadius: '11px'
206
206
  }
@@ -215,7 +215,8 @@ export default defineComponent({
215
215
  style = {
216
216
  ...style,
217
217
  ...selectedStyle,
218
- opacity: disabledOpacity
218
+ opacity: disabledOpacity,
219
+ backgroundColor: 'var(--dl-date-picker-selected-date)'
219
220
  }
220
221
  } else if (isIntervalBoundary) {
221
222
  style = {
@@ -46,7 +46,7 @@ export class Step {
46
46
 
47
47
  public set completed(value: boolean) {
48
48
  set(this._state, 'error', '')
49
- set(this._state, 'warning', false)
49
+ set(this._state, 'warning', '')
50
50
  set(this._state, 'completed', value)
51
51
  }
52
52
 
@@ -56,7 +56,7 @@ export class Step {
56
56
 
57
57
  public set error(value: string) {
58
58
  set(this._state, 'error', value)
59
- set(this._state, 'warning', false)
59
+ set(this._state, 'warning', '')
60
60
  set(this._state, 'completed', false)
61
61
  }
62
62
 
@@ -66,7 +66,7 @@ export class Step {
66
66
 
67
67
  public set warning(value: string) {
68
68
  set(this._state, 'warning', value)
69
- set(this._state, 'error', false)
69
+ set(this._state, 'error', '')
70
70
  set(this._state, 'completed', true)
71
71
  }
72
72