@a-type/ui 6.1.34 → 6.1.36

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.
@@ -13,7 +13,8 @@
13
13
  flex-direction: row;
14
14
  align-items: center;
15
15
  justify-content: start;
16
- gap: var(--m-sp-sm);
16
+ --gap: var(--m-sp-sm);
17
+ gap: var(--gap);
17
18
 
18
19
  position: relative;
19
20
  overflow: visible;
@@ -138,7 +139,7 @@
138
139
  width: --fn-literal(15px);
139
140
  }
140
141
  &[data-open='false'] {
141
- margin-left: calc(-1 * var(--m-sp-sm));
142
+ margin-left: calc(-1 * var(--gap, var(--m-sp-sm)));
142
143
  }
143
144
  }
144
145
 
@@ -157,7 +158,7 @@
157
158
 
158
159
  min-width: 0;
159
160
  width: 0px;
160
- margin-left: calc(-1 * var(--m-sp-sm));
161
+ margin-left: calc(-1 * var(--gap, var(--m-sp-sm)));
161
162
  &[data-active] {
162
163
  width: --fn-literal(1em);
163
164
  margin-left: --fn-literal(-0.5em);
@@ -1,7 +1,8 @@
1
1
  @layer components {.root {
2
2
  display: inline-flex;
3
3
  align-items: center;
4
- gap: var(--m-sp-md);
4
+ --gap: var(--m-sp-md);
5
+ gap: var(--gap);
5
6
  white-space: nowrap;
6
7
 
7
8
  @apply --mx-bg(var(--m-gray-paper));
@@ -11,12 +12,12 @@
11
12
  border-width: var(--m-lw-sm);
12
13
  border-radius: var(--m-action-rd);
13
14
 
14
- font-size: var(--m-prose-ambient-size);
15
15
  line-height: normal;
16
16
  font-weight: var(--m-prose-ambient-weight);
17
17
  font-family: var(--m-prose-ambient-font);
18
18
 
19
19
  && {
20
+ font-size: var(--m-prose-ambient-size);
20
21
  padding: var(--m-sp-sm) var(--m-sp-md);
21
22
  }
22
23
 
@@ -84,6 +84,7 @@
84
84
 
85
85
  .emptyControls {
86
86
  min-height: 120px;
87
+ height: 100%;
87
88
  display: flex;
88
89
  flex-direction: column;
89
90
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a-type/ui",
3
- "version": "6.1.34",
3
+ "version": "6.1.36",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "url": "https://github.com/a-type/ui"
@@ -13,7 +13,8 @@
13
13
  flex-direction: row;
14
14
  align-items: center;
15
15
  justify-content: start;
16
- gap: var(--m-sp-sm);
16
+ --gap: var(--m-sp-sm);
17
+ gap: var(--gap);
17
18
 
18
19
  position: relative;
19
20
  overflow: visible;
@@ -138,7 +139,7 @@
138
139
  width: --fn-literal(15px);
139
140
  }
140
141
  &[data-open='false'] {
141
- margin-left: calc(-1 * var(--m-sp-sm));
142
+ margin-left: calc(-1 * var(--gap, var(--m-sp-sm)));
142
143
  }
143
144
  }
144
145
 
@@ -157,7 +158,7 @@
157
158
 
158
159
  min-width: 0;
159
160
  width: 0px;
160
- margin-left: calc(-1 * var(--m-sp-sm));
161
+ margin-left: calc(-1 * var(--gap, var(--m-sp-sm)));
161
162
  &[data-active] {
162
163
  width: --fn-literal(1em);
163
164
  margin-left: --fn-literal(-0.5em);
@@ -1,7 +1,8 @@
1
1
  .root {
2
2
  display: inline-flex;
3
3
  align-items: center;
4
- gap: var(--m-sp-md);
4
+ --gap: var(--m-sp-md);
5
+ gap: var(--gap);
5
6
  white-space: nowrap;
6
7
 
7
8
  @apply --mx-bg(var(--m-gray-paper));
@@ -11,12 +12,12 @@
11
12
  border-width: var(--m-lw-sm);
12
13
  border-radius: var(--m-action-rd);
13
14
 
14
- font-size: var(--m-prose-ambient-size);
15
15
  line-height: normal;
16
16
  font-weight: var(--m-prose-ambient-weight);
17
17
  font-family: var(--m-prose-ambient-font);
18
18
 
19
19
  && {
20
+ font-size: var(--m-prose-ambient-size);
20
21
  padding: var(--m-sp-sm) var(--m-sp-md);
21
22
  }
22
23
 
@@ -84,6 +84,7 @@
84
84
 
85
85
  .emptyControls {
86
86
  min-height: 120px;
87
+ height: 100%;
87
88
  display: flex;
88
89
  flex-direction: column;
89
90
  align-items: center;