@tak-ps/vue-tabler 4.25.0 → 4.25.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.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
  ## Version History
12
12
 
13
+ ### v4.25.1
14
+
15
+ - :rocket: Allow Dropdown strategy to be specified via prop
16
+
13
17
  ### v4.25.0
14
18
 
15
19
  - :rocket: Update Core Deps
@@ -4,6 +4,7 @@
4
4
  :id='id'
5
5
  data-bs-toggle='dropdown'
6
6
  :data-bs-auto-close='props.autoclose'
7
+ :data-bs-strategy='props.strategy'
7
8
  aria-expanded='false'
8
9
  @click.stop.prevent=''
9
10
  >
@@ -39,12 +40,14 @@ export interface DropdownProps {
39
40
  width?: number | string;
40
41
  autoclose?: string;
41
42
  position?: 'bottom' | 'bottom-start' | 'bottom-end' | 'top' | 'top-start' | 'top-end' | 'left' | 'right';
43
+ strategy?: 'absolute' | 'fixed';
42
44
  }
43
45
 
44
46
  const props = withDefaults(defineProps<DropdownProps>(), {
45
47
  width: 200,
46
48
  autoclose: 'true',
47
- position: 'bottom-end'
49
+ position: 'bottom-end',
50
+ strategy: 'absolute'
48
51
  });
49
52
 
50
53
  const id = ref('tabler-dropdown-' + Math.random().toString(36).substr(2, 9) + '-' + Date.now().toString(36));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/vue-tabler",
3
3
  "type": "module",
4
- "version": "4.25.0",
4
+ "version": "4.25.1",
5
5
  "lib": "lib.ts",
6
6
  "main": "lib.ts",
7
7
  "module": "lib.ts",