@soft-stech/bootsman-ui-shadcn 2.0.16 → 2.0.17

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.
@@ -59,15 +59,7 @@ export function useResizeColumns() {
59
59
  const isMouseDownOnHandler = ref<boolean>(false)
60
60
  const isMouseUpOnHandler = ref<boolean>(false)
61
61
 
62
- const handleResizeControlMouseDown = (
63
- e: Event,
64
- cellId: string,
65
- enableColumnResizing: boolean
66
- ) => {
67
- const targetHTMLElement = e.target as HTMLElement
68
- isMouseDownOnHandler.value =
69
- targetHTMLElement.className.includes && targetHTMLElement.className.includes('resize-handler')
70
-
62
+ const handleResizeControlMouseDown = (cellId: string, enableColumnResizing: boolean) => {
71
63
  if (!enableColumnResizing) return
72
64
 
73
65
  isResizing.value = true
@@ -18,7 +18,7 @@ import {
18
18
  SignalMediumIcon,
19
19
  SignalLowIcon
20
20
  } from 'lucide-vue-next'
21
- import { computed, h, ref } from 'vue'
21
+ import { computed, h, ref, withModifiers } from 'vue'
22
22
  import { z } from 'zod'
23
23
  import tasks from '@/stories/data/tasks.json'
24
24
  import { BuiCheckbox } from '@/components/checkbox'
@@ -51,7 +51,8 @@ const columns: ColumnDef<Task>[] = [
51
51
  table.getIsSomePageRowsSelected()
52
52
  ? table.toggleAllPageRowsSelected(false)
53
53
  : table.toggleAllPageRowsSelected(!!value),
54
- ariaLabel: 'Select row'
54
+ ariaLabel: 'Select row',
55
+ onClick: withModifiers(() => {}, ['stop'])
55
56
  }),
56
57
  tableColumnSortCommon(column, 'ID')
57
58
  ])