@tak-ps/vue-tabler 3.81.0 → 3.82.0

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
+ ### v3.82.0
14
+
15
+ - :rocket: Arrow customization for TablerSlidedown
16
+
13
17
  ### v3.81.0
14
18
 
15
19
  - :rocket: Add visual indicator on hover to TablerIconButton
@@ -2,12 +2,16 @@
2
2
  <div
3
3
  class='hover-expandable rounded position-relative px-2 py-2'
4
4
  :class='{
5
- "expanded": isExpanded,
5
+ "expanded mb-3": isExpanded,
6
6
  "cursor-pointer": props.clickAnywhereExpand && !isExpanded
7
7
  }'
8
8
  @click='(props.clickAnywhereExpand && !isExpanded) ? toggle() : null'
9
9
  >
10
- <div class='mb-2'>
10
+ <div
11
+ :class='{
12
+ "mb-2": props.arrow
13
+ }'
14
+ >
11
15
  <slot />
12
16
  </div>
13
17
 
@@ -21,6 +25,7 @@
21
25
  </div>
22
26
 
23
27
  <div
28
+ v-if='props.arrow || isExpanded'
24
29
  class='arrow-container'
25
30
  title='Toggle content'
26
31
  @click.stop='toggle'
@@ -48,6 +53,10 @@ const isExpanded = ref(false);
48
53
  const contentWrapperRef = ref(null);
49
54
 
50
55
  const props = defineProps({
56
+ arrow: {
57
+ type: Boolean,
58
+ default: true
59
+ },
51
60
  clickAnywhereExpand: {
52
61
  type: Boolean,
53
62
  default: false
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/vue-tabler",
3
3
  "type": "module",
4
- "version": "3.81.0",
4
+ "version": "3.82.0",
5
5
  "lib": "lib.js",
6
6
  "module": "lib.js",
7
7
  "description": "Tabler UI components for Vue3",