@aleph-alpha/ui-library 2.7.0 → 2.8.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.
@@ -56088,7 +56088,8 @@ const PT = /* @__PURE__ */ b({
56088
56088
  _.value && "transition-none",
56089
56089
  e.side === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
56090
56090
  // Adjust the padding for floating and inset variants.
56091
- e.variant === "floating" || e.variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+1rem+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",
56091
+ e.variant === "floating" || e.variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+1rem+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)",
56092
+ e.variant !== "floating" && e.variant !== "inset" && s.value && "group-data-[side=left]:border-r group-data-[side=right]:border-l",
56092
56093
  Y.$attrs.class ?? ""
56093
56094
  )
56094
56095
  }, Y.$attrs), [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aleph-alpha/ui-library",
3
- "version": "2.7.0",
3
+ "version": "2.8.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/system/lib.js",
@@ -78,9 +78,9 @@
78
78
  "vue-router": "4.6.4",
79
79
  "vue-tsc": "^2.2.12",
80
80
  "wait-on": "9.0.3",
81
- "@aleph-alpha/eslint-config-frontend": "0.6.0",
81
+ "@aleph-alpha/prettier-config-frontend": "2.1.0",
82
82
  "@aleph-alpha/tsconfig-frontend": "0.6.0",
83
- "@aleph-alpha/prettier-config-frontend": "2.1.0"
83
+ "@aleph-alpha/eslint-config-frontend": "0.6.0"
84
84
  },
85
85
  "peerDependencies": {
86
86
  "@unocss/preset-wind4": ">=66.0.0",
@@ -288,7 +288,11 @@ onBeforeUnmount(stopResize);
288
288
  // Adjust the padding for floating and inset variants.
289
289
  variant === 'floating' || variant === 'inset'
290
290
  ? 'p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+1rem+2px)]'
291
- : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l',
291
+ : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon)',
292
+ variant !== 'floating' &&
293
+ variant !== 'inset' &&
294
+ resolvedResizable &&
295
+ 'group-data-[side=left]:border-r group-data-[side=right]:border-l',
292
296
  $attrs.class ?? '',
293
297
  )
294
298
  "