@onereach/ui-components 2.71.1-beta.2217.0 → 2.71.1-beta.2220.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.
@@ -38,9 +38,10 @@ const SidebarToolbar = [
38
38
  // Sizing
39
39
  'gap-md',
40
40
  // Box
41
- 'min-h-0', 'min-w-xl', 'p-[6px]', 'pt-[56px]', 'pb-md+',
41
+ 'min-h-0', 'min-w-xl', 'p-[6px]', 'py-md+',
42
42
  // Theme
43
43
  'text-outline', 'dark:text-outline-dark'];
44
+ const CollapsibleSidebarToolbar = ['pt-[56px]'];
44
45
  const SidebarSides = {
45
46
  [OrSidebarPlacement.left]: [
46
47
  // Borders
@@ -272,7 +273,7 @@ var script = defineComponent({
272
273
  }));
273
274
  const rootStyles = computed(() => ['or-sidebar', ...SidebarRoot]);
274
275
  const sidebarStyles = computed(() => [...SidebarBar, ...SidebarSides[props.side]]);
275
- const toolbarStyles = computed(() => [...SidebarToolbar, ...SidebarToolbarSides[props.side]]);
276
+ const toolbarStyles = computed(() => [...SidebarToolbar, ...(props.collapsible ? CollapsibleSidebarToolbar : []), ...SidebarToolbarSides[props.side]]);
276
277
  const resizeStyles = computed(() => [...SidebarResize, ...SidebarResizeSides[props.side], ...(isResizing.value ? SidebarResizingSides[props.side] : [])]);
277
278
  const collapsibleButtonStyles = computed(() => [...SidebarCollapseButton, ...SidebarCollapseButtonSides[props.side]]);
278
279
  const mainStyles = computed(() => [...SidebarMain]);
@@ -70,7 +70,7 @@ export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegme
70
70
  export { s as OrSelect } from '../OrSelect.vue_vue_type_script_lang-26c0a70a.js';
71
71
  export { s as OrSelectV3 } from '../OrSelect.vue_vue_type_script_lang-83f15704.js';
72
72
  export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar.vue_vue_type_script_lang-7c55ac0a.js';
73
- export { O as OrSidebarPlacement, s as OrSidebarV3 } from '../OrSidebar.vue_vue_type_script_lang-8305a28b.js';
73
+ export { O as OrSidebarPlacement, s as OrSidebarV3 } from '../OrSidebar.vue_vue_type_script_lang-80e5dc4b.js';
74
74
  export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText.vue_vue_type_script_lang-f3f989c3.js';
75
75
  export { s as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from '../OrSkeletonText.vue_vue_type_script_lang-577a1dc9.js';
76
76
  export { s as OrSlider } from '../OrSlider.vue_vue_type_script_lang-d47ff040.js';
@@ -1,4 +1,4 @@
1
- export { O as OrSidebarPlacement, s as OrSidebarV3 } from '../../OrSidebar.vue_vue_type_script_lang-8305a28b.js';
1
+ export { O as OrSidebarPlacement, s as OrSidebarV3 } from '../../OrSidebar.vue_vue_type_script_lang-80e5dc4b.js';
2
2
  import '@vueuse/core';
3
3
  import 'lodash';
4
4
  import 'vue';
@@ -2,6 +2,7 @@ import { OrSidebarPlacement } from './props';
2
2
  export declare const SidebarRoot: string[];
3
3
  export declare const SidebarBar: string[];
4
4
  export declare const SidebarToolbar: string[];
5
+ export declare const CollapsibleSidebarToolbar: string[];
5
6
  export declare const SidebarSides: Record<OrSidebarPlacement, string[]>;
6
7
  export declare const SidebarToolbarSides: Record<OrSidebarPlacement, string[]>;
7
8
  export declare const SidebarResize: string[];