@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.
@@ -39,9 +39,10 @@ const SidebarToolbar = [
39
39
  // Sizing
40
40
  'gap-md',
41
41
  // Box
42
- 'min-h-0', 'min-w-xl', 'p-[6px]', 'pt-[56px]', 'pb-md+',
42
+ 'min-h-0', 'min-w-xl', 'p-[6px]', 'py-md+',
43
43
  // Theme
44
44
  'text-outline', 'dark:text-outline-dark'];
45
+ const CollapsibleSidebarToolbar = ['pt-[56px]'];
45
46
  const SidebarSides = {
46
47
  [OrSidebarPlacement.left]: [
47
48
  // Borders
@@ -303,7 +304,7 @@ var script = defineComponent({
303
304
  }));
304
305
  const rootStyles = computed(() => ['or-sidebar', ...SidebarRoot]);
305
306
  const sidebarStyles = computed(() => [...SidebarBar, ...SidebarSides[props.side]]);
306
- const toolbarStyles = computed(() => [...SidebarToolbar, ...SidebarToolbarSides[props.side]]);
307
+ const toolbarStyles = computed(() => [...SidebarToolbar, ...(props.collapsible ? CollapsibleSidebarToolbar : []), ...SidebarToolbarSides[props.side]]);
307
308
  const resizeStyles = computed(() => [...SidebarResize, ...SidebarResizeSides[props.side], ...(isResizing.value ? SidebarResizingSides[props.side] : [])]);
308
309
  const collapsibleButtonStyles = computed(() => [...SidebarCollapseButton, ...SidebarCollapseButtonSides[props.side]]);
309
310
  const mainStyles = computed(() => [...SidebarMain]);
@@ -70,7 +70,7 @@ export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegme
70
70
  export { _ as OrSelect } from '../OrSelect-a23d4210.js';
71
71
  export { _ as OrSelectV3 } from '../OrSelect-02fb39f0.js';
72
72
  export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-e2b2c9ec.js';
73
- export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../OrSidebar-774b382d.js';
73
+ export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../OrSidebar-d445ecdd.js';
74
74
  export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-242d22f3.js';
75
75
  export { _ as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from '../OrSkeletonText-516993b4.js';
76
76
  export { _ as OrSlider } from '../OrSlider-59d05856.js';
@@ -1,4 +1,4 @@
1
- export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../../OrSidebar-774b382d.js';
1
+ export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../../OrSidebar-d445ecdd.js';
2
2
  import '@vueuse/core';
3
3
  import 'lodash';
4
4
  import '../../index-fa6eb4ca.js';
@@ -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[];