@globalbrain/sefirot 2.47.0 → 2.47.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.
@@ -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.1",
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>",