@globalbrain/sefirot 2.47.0 → 2.47.2

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.
@@ -84,23 +84,23 @@ function getErrorMsg(validation: Validatable) {
84
84
 
85
85
  <style scoped lang="postcss">
86
86
  .SInputBase.mini {
87
- .label { padding-bottom: 6px; height: 22px; }
88
- .label-text-value { font-size: var(--input-label-font-size, var(--input-mini-label-font-size)); }
89
- .label-text-info { width: 14px; height: 14px; }
87
+ .label { padding-bottom: 6px; height: 22px; }
88
+ .label-text { font-size: var(--input-label-font-size, var(--input-mini-label-font-size)); }
89
+ .label-info { width: 14px; height: 14px; }
90
90
  }
91
91
 
92
92
  .SInputBase.small {
93
- .label { padding-bottom: 8px; height: 24px; }
94
- .label-text-value { font-size: var(--input-label-font-size, var(--input-small-label-font-size)); }
93
+ .label { padding-bottom: 8px; height: 24px; }
94
+ .label-text { font-size: var(--input-label-font-size, var(--input-small-label-font-size)); }
95
95
  }
96
96
 
97
97
  .SInputBase.medium {
98
- .label { padding-bottom: 8px; height: 24px; }
99
- .label-text-value { font-size: var(--input-label-font-size, var(--input-medium-label-font-size)); }
98
+ .label { padding-bottom: 8px; height: 24px; }
99
+ .label-text { font-size: var(--input-label-font-size, var(--input-medium-label-font-size)); }
100
100
  }
101
101
 
102
102
  .SInputBase.has-error {
103
- .label-text-value {
103
+ .label-text {
104
104
  color: var(--input-error-text-color);
105
105
  }
106
106
  }
@@ -29,7 +29,7 @@ const stats = computed(() => {
29
29
  // deprecated `reset` prop in favor of `actions`, remove this in next major version
30
30
  const resetAction = computed(() => {
31
31
  return props.reset
32
- ? [{ label: 'Reset filters', onClick: props.onReset, type: 'info' }]
32
+ ? [{ label: 'Reset filters', onClick: props.onReset!, type: 'info' }] // onReset is required when reset is true
33
33
  : []
34
34
  })
35
35
  </script>
@@ -191,7 +191,7 @@ export interface TableAction {
191
191
  mode?: 'neutral' | 'mute' | 'info' | 'success' | 'warning' | 'danger'
192
192
  label: string
193
193
  labelMode?: 'neutral' | 'mute' | 'info' | 'success' | 'warning' | 'danger'
194
- onClick?(): void
194
+ onClick(): void
195
195
  }
196
196
 
197
197
  export function useTable<
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@globalbrain/sefirot",
3
- "version": "2.47.0",
3
+ "version": "2.47.2",
4
4
  "packageManager": "pnpm@8.7.5",
5
5
  "description": "Vue Components for Global Brain Design System.",
6
6
  "author": "Kia Ishii <ka.ishii@globalbrains.com>",