@basis-ng/styles 0.0.1-alpha.200 → 0.0.1-alpha.201

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basis-ng/styles",
3
- "version": "0.0.1-alpha.200",
3
+ "version": "0.0.1-alpha.201",
4
4
  "description": "CSS foundation for @basis-ng/primitives components",
5
5
  "main": "src/index.css",
6
6
  "exports": {
@@ -1,5 +1,5 @@
1
1
  b-drawer {
2
- @apply fixed z-999 flex box-border overflow-hidden rounded-2xl border border-ring bg-surface text-font shadow-lg will-change-transform opacity-0 pointer-events-none dark:border-ring-dark dark:bg-surface-dark dark:text-font-dark;
2
+ @apply fixed z-999 flex box-border overflow-hidden border border-ring bg-surface text-font shadow-lg will-change-transform opacity-0 pointer-events-none dark:border-ring-dark dark:bg-surface-dark dark:text-font-dark;
3
3
  transition:
4
4
  transform 0.5s cubic-bezier(0.32, 0.72, 0, 1),
5
5
  opacity 0.2s ease;
@@ -22,8 +22,8 @@ b-drawer {
22
22
  }
23
23
 
24
24
  &.bottom {
25
- @apply left-2 right-2 bottom-2 mx-auto min-h-0;
26
- max-height: var(--b-drawer-max-height, calc(100dvh - 1rem));
25
+ @apply left-0 right-0 bottom-0 mx-auto min-h-0 rounded-t-2xl;
26
+ max-height: var(--b-drawer-max-height, 100dvh);
27
27
  height: var(--b-drawer-height, 50%);
28
28
 
29
29
  .drag-section {
@@ -42,8 +42,8 @@ b-drawer {
42
42
  }
43
43
 
44
44
  &.top {
45
- @apply left-2 right-2 top-2 mx-auto min-h-0;
46
- max-height: var(--b-drawer-max-height, calc(100dvh - 1rem));
45
+ @apply left-0 right-0 top-0 mx-auto min-h-0 rounded-b-2xl;
46
+ max-height: var(--b-drawer-max-height, 100dvh);
47
47
  height: var(--b-drawer-height, 50%);
48
48
 
49
49
  .drag-section {
@@ -62,8 +62,8 @@ b-drawer {
62
62
  }
63
63
 
64
64
  &.left {
65
- @apply top-2 bottom-2 left-2;
66
- max-width: var(--b-drawer-max-width, calc(100vw - 1rem));
65
+ @apply top-0 bottom-0 left-0 rounded-r-2xl;
66
+ max-width: var(--b-drawer-max-width, 100vw);
67
67
  width: var(--b-drawer-width, 320px);
68
68
 
69
69
  .drag-section {
@@ -82,8 +82,8 @@ b-drawer {
82
82
  }
83
83
 
84
84
  &.right {
85
- @apply top-2 bottom-2 right-2;
86
- max-width: var(--b-drawer-max-width, calc(100vw - 1rem));
85
+ @apply top-0 bottom-0 right-0 rounded-l-2xl;
86
+ max-width: var(--b-drawer-max-width, 100vw);
87
87
  width: var(--b-drawer-width, 320px);
88
88
 
89
89
  .drag-section {