@xleddyl/443-components-vue 0.16.47 → 0.16.48

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.
@@ -299,16 +299,16 @@ html.k-root body {
299
299
  .k-shell-sidebar,
300
300
  .k-shell[data-variant] .k-shell-sidebar {
301
301
  position: absolute;
302
- inset: 0 auto 0 0;
302
+ inset: 0.5rem auto 0.5rem 0.5rem;
303
303
  z-index: 70;
304
- width: min(16.5rem, 85%);
304
+ width: min(var(--k-shell-sidebar), calc(100% - 1rem));
305
305
  margin: 0;
306
+ overflow: hidden;
306
307
  border: 0;
307
- border-right: 1px solid var(--k-line);
308
- border-radius: 0;
309
- background: var(--k-canvas);
310
- box-shadow: var(--k-shadow-overlay);
311
- transform: translateX(-105%);
308
+ border-radius: var(--k-drawer-radius, var(--k-radius-xl));
309
+ background: var(--k-elevated);
310
+ box-shadow: var(--k-drawer-shadow, var(--k-shadow-overlay));
311
+ transform: translateX(calc(-100% - 1rem));
312
312
  visibility: hidden;
313
313
  transition:
314
314
  transform 340ms var(--k-ease-drawer),
@@ -391,3 +391,20 @@ html.k-root body {
391
391
  padding: 1.25rem 1rem 2rem;
392
392
  }
393
393
  }
394
+
395
+ @container k-shell (max-width: 640px) {
396
+ .k-shell-sidebar,
397
+ .k-shell[data-variant] .k-shell-sidebar {
398
+ inset: max(0.75rem, env(safe-area-inset-top)) 0 0;
399
+ width: 100%;
400
+ padding-bottom: env(safe-area-inset-bottom);
401
+ border-radius: var(--k-drawer-radius, var(--k-radius-xl))
402
+ var(--k-drawer-radius, var(--k-radius-xl)) 0 0;
403
+ transform: translateY(100%);
404
+ }
405
+
406
+ .k-shell.is-nav-open .k-shell-sidebar,
407
+ .k-shell.is-nav-open[data-variant] .k-shell-sidebar {
408
+ transform: none;
409
+ }
410
+ }
@@ -22,7 +22,7 @@
22
22
  flex: none;
23
23
  flex-direction: column;
24
24
  gap: 1px;
25
- width: 12.5rem;
25
+ width: 14rem;
26
26
  padding: 0.625rem;
27
27
  border-right: 1px solid var(--k-line);
28
28
  background: var(--k-subtle);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xleddyl/443-components-vue",
3
- "version": "0.16.47",
3
+ "version": "0.16.48",
4
4
  "description": "Compact, scoped dashboard components for Vue and Nuxt",
5
5
  "license": "MIT",
6
6
  "author": "Edoardo Alberti (https://github.com/xleddyl)",