@onereach/ui-components 3.0.2-beta.2475.0 → 3.0.2-beta.2476.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.
@@ -71,7 +71,7 @@ var script$1 = defineComponent({
71
71
  styleCSS() {
72
72
  return {
73
73
  // 24px -- gap-sm + tooltip width
74
- 'padding-left': this.isLeaf && this.level === 0 ? '24px' : `${this.level * 10}px`
74
+ 'padding-left': this.isLeaf && this.level === 0 ? '24px' : `${(this.isLeaf ? 24 : 0) + this.level * 10}px`
75
75
  };
76
76
  }
77
77
  }
@@ -101,7 +101,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-3a3d
101
101
  export { O as OrTooltip } from '../OrTooltip-e62cdd46.js';
102
102
  export { O as OrTooltipContent } from '../OrTooltipContent-592eeb27.js';
103
103
  export { O as OrTooltipV3 } from '../OrTooltip-e34783de.js';
104
- export { _ as OrTreeV3 } from '../OrTree-ceaca23d.js';
104
+ export { _ as OrTreeV3 } from '../OrTree-b8e47647.js';
105
105
  import '../index-fa6eb4ca.js';
106
106
  import 'vue';
107
107
  import '@vue/composition-api/dist/vue-composition-api.mjs';
@@ -1,4 +1,4 @@
1
- export { _ as OrTreeV3 } from '../../OrTree-ceaca23d.js';
1
+ export { _ as OrTreeV3 } from '../../OrTree-b8e47647.js';
2
2
  import '../../index-fa6eb4ca.js';
3
3
  import 'vue';
4
4
  import '@vue/composition-api/dist/vue-composition-api.mjs';
@@ -105,7 +105,7 @@ export { _ as OrToastContainerV3, O as OrToastV3, t as TypesV3 } from './types-7
105
105
  export { O as OrTooltip } from './OrTooltip-e62cdd46.js';
106
106
  export { O as OrTooltipContent } from './OrTooltipContent-592eeb27.js';
107
107
  export { O as OrTooltipV3 } from './OrTooltip-e34783de.js';
108
- export { _ as OrTreeV3 } from './OrTree-ceaca23d.js';
108
+ export { _ as OrTreeV3 } from './OrTree-b8e47647.js';
109
109
  export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e2a93aaf.js';
110
110
  export { u as useControlAttributes, a as useIdAttribute } from './useIdAttribute-cf61643f.js';
111
111
  export { u as useElevation } from './useElevation-b6e7590a.js';
@@ -70,7 +70,7 @@ var script$1 = defineComponent({
70
70
  styleCSS() {
71
71
  return {
72
72
  // 24px -- gap-sm + tooltip width
73
- 'padding-left': this.isLeaf && this.level === 0 ? '24px' : `${this.level * 10}px`
73
+ 'padding-left': this.isLeaf && this.level === 0 ? '24px' : `${(this.isLeaf ? 24 : 0) + this.level * 10}px`
74
74
  };
75
75
  }
76
76
  }
@@ -101,7 +101,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-4d43
101
101
  export { s as OrTooltip } from '../OrTooltip.vue_vue_type_script_lang-eb8ad0e1.js';
102
102
  export { s as OrTooltipContent } from '../OrTooltipContent-b0dcb862.js';
103
103
  export { s as OrTooltipV3 } from '../OrTooltip.vue_vue_type_script_lang-ce2158d0.js';
104
- export { s as OrTreeV3 } from '../OrTree.vue_vue_type_script_lang-d25db1c4.js';
104
+ export { s as OrTreeV3 } from '../OrTree.vue_vue_type_script_lang-9a31b9b4.js';
105
105
  import 'vue';
106
106
  import 'lodash';
107
107
  import '../OrIcon-e8ea87d0.js';
@@ -1,4 +1,4 @@
1
- export { s as OrTreeV3 } from '../../OrTree.vue_vue_type_script_lang-d25db1c4.js';
1
+ export { s as OrTreeV3 } from '../../OrTree.vue_vue_type_script_lang-9a31b9b4.js';
2
2
  import 'vue';
3
3
  import '../../OrIconButton-b3e4997b.js';
4
4
  import '../../OrIconButton.vue_vue_type_script_lang-de03b47c.js';
@@ -130,8 +130,8 @@ import './OrToastContainer-0b16a650.js';
130
130
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-4d4329cd.js';
131
131
  export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-f428a884.js';
132
132
  import './OrToastContainer-056470e4.js';
133
- import { s as script$T } from './OrTree.vue_vue_type_script_lang-d25db1c4.js';
134
- export { s as OrTreeV3 } from './OrTree.vue_vue_type_script_lang-d25db1c4.js';
133
+ import { s as script$T } from './OrTree.vue_vue_type_script_lang-9a31b9b4.js';
134
+ export { s as OrTreeV3 } from './OrTree.vue_vue_type_script_lang-9a31b9b4.js';
135
135
  export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE } from './constants-c5d1139f.js';
136
136
  export { s as OrCollapse } from './OrCollapse.vue_vue_type_script_lang-04ffe655.js';
137
137
  export { s as OrError } from './OrError.vue_vue_type_script_lang-7c39e012.js';
@@ -70,7 +70,7 @@ var script$1 = defineComponent({
70
70
  styleCSS() {
71
71
  return {
72
72
  // 24px -- gap-sm + tooltip width
73
- 'padding-left': this.isLeaf && this.level === 0 ? '24px' : `${this.level * 10}px`
73
+ 'padding-left': this.isLeaf && this.level === 0 ? '24px' : `${(this.isLeaf ? 24 : 0) + this.level * 10}px`
74
74
  };
75
75
  }
76
76
  }
@@ -101,7 +101,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-0665
101
101
  export { _ as OrTooltip } from '../OrTooltip-cefc51f9.js';
102
102
  export { _ as OrTooltipContent } from '../OrTooltip.vue_rollup-plugin-vue_styles.0-154aac4c.js';
103
103
  export { _ as OrTooltipV3 } from '../OrTooltip-f5d1e4f0.js';
104
- export { _ as OrTreeV3 } from '../OrTree-8dc4a1a3.js';
104
+ export { _ as OrTreeV3 } from '../OrTree-32b2fede.js';
105
105
  import 'vue-demi';
106
106
  import 'lodash';
107
107
  import '../style-inject.es-4c6f2515.js';
@@ -1,4 +1,4 @@
1
- export { _ as OrTreeV3 } from '../../OrTree-8dc4a1a3.js';
1
+ export { _ as OrTreeV3 } from '../../OrTree-32b2fede.js';
2
2
  import 'vue-demi';
3
3
  import '../../OrIconButton-5c4ef664.js';
4
4
  import '../../OrIcon-d35a84d8.js';
@@ -101,7 +101,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-06654
101
101
  export { _ as OrTooltip } from './OrTooltip-cefc51f9.js';
102
102
  export { _ as OrTooltipContent } from './OrTooltip.vue_rollup-plugin-vue_styles.0-154aac4c.js';
103
103
  export { _ as OrTooltipV3 } from './OrTooltip-f5d1e4f0.js';
104
- export { _ as OrTreeV3 } from './OrTree-8dc4a1a3.js';
104
+ export { _ as OrTreeV3 } from './OrTree-32b2fede.js';
105
105
  export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
106
106
  export { u as useControlAttributes, a as useIdAttribute } from './useIdAttribute-859439f0.js';
107
107
  export { u as useElevation } from './useElevation-92fce12c.js';
@@ -70,7 +70,7 @@ var script$1 = defineComponent({
70
70
  styleCSS() {
71
71
  return {
72
72
  // 24px -- gap-sm + tooltip width
73
- 'padding-left': this.isLeaf && this.level === 0 ? '24px' : `${this.level * 10}px`
73
+ 'padding-left': this.isLeaf && this.level === 0 ? '24px' : `${(this.isLeaf ? 24 : 0) + this.level * 10}px`
74
74
  };
75
75
  }
76
76
  }
@@ -96,7 +96,7 @@ export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../types-
96
96
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-0665462d.js';
97
97
  export { s as OrTooltip, a as OrTooltipContent } from '../OrTooltip-8d7385bc.js';
98
98
  export { s as OrTooltipV3 } from '../OrTooltip-02f07fa2.js';
99
- export { s as OrTreeV3 } from '../OrTree-f4ee81ef.js';
99
+ export { s as OrTreeV3 } from '../OrTree-bf625e80.js';
100
100
  import 'vue-demi';
101
101
  import 'lodash';
102
102
  import 'vue';
@@ -1,4 +1,4 @@
1
- export { s as OrTreeV3 } from '../../OrTree-f4ee81ef.js';
1
+ export { s as OrTreeV3 } from '../../OrTree-bf625e80.js';
2
2
  import 'vue-demi';
3
3
  import '../../OrIconButton-41ee266c.js';
4
4
  import '../../OrIcon-62793572.js';
@@ -96,7 +96,7 @@ export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-9
96
96
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
97
97
  export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-8d7385bc.js';
98
98
  export { s as OrTooltipV3 } from './OrTooltip-02f07fa2.js';
99
- export { s as OrTreeV3 } from './OrTree-f4ee81ef.js';
99
+ export { s as OrTreeV3 } from './OrTree-bf625e80.js';
100
100
  export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
101
101
  export { u as useControlAttributes, a as useIdAttribute } from './useIdAttribute-859439f0.js';
102
102
  export { u as useElevation } from './useElevation-92fce12c.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "3.0.2-beta.2475.0",
3
+ "version": "3.0.2-beta.2476.0",
4
4
  "description": "Vue components library for v2/3",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/auto/index.js",
@@ -34,6 +34,7 @@ const TREE_DATA = [
34
34
  children: [
35
35
  {
36
36
  key: '0-0-1-2-0',
37
+ isLeaf: true,
37
38
  },
38
39
  ],
39
40
  },
@@ -64,7 +64,7 @@ export default defineComponent({
64
64
  styleCSS() {
65
65
  return {
66
66
  // 24px -- gap-sm + tooltip width
67
- 'padding-left': (this.isLeaf && this.level === 0) ? '24px' : `${this.level * 10}px`,
67
+ 'padding-left': (this.isLeaf && this.level === 0) ? '24px' : `${(this.isLeaf ? 24 : 0) + (this.level * 10)}px`,
68
68
  };
69
69
  },
70
70
  },