@basis-ng/styles 0.0.1-alpha.12 → 0.0.1-alpha.14

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.12",
3
+ "version": "0.0.1-alpha.14",
4
4
  "description": "CSS foundation for @basis-ng/primitives components",
5
5
  "main": "src/index.css",
6
6
  "exports": {
@@ -11,11 +11,9 @@ button[b-button] {
11
11
  transition:
12
12
  background-color 0.2s,
13
13
  opacity 0.2s;
14
- font-size: 100%;
15
14
  border: none;
16
15
  text-decoration: none;
17
16
  font-family: 'Geist', sans-serif;
18
- --padding-inline-multiple: 1.5;
19
17
  --border-px: 0px;
20
18
 
21
19
  &:focus-visible {
@@ -147,33 +145,21 @@ button[b-button] {
147
145
  pointer-events: none;
148
146
  }
149
147
 
150
- &.size-small {
151
- --vertical-padding: calc(0.5rem - (var(--border-px) * 2));
152
- --horizontal-padding: clamp(
153
- 0.75rem,
154
- calc(0.5rem + var(--radius, 0.5rem) / 2),
155
- 1.25rem
156
- );
157
- font-size: 0.875rem;
158
- padding: var(--vertical-padding) var(--horizontal-padding);
159
-
160
- &.equal-padding {
161
- padding: var(--vertical-padding);
162
- }
148
+ &.size-1 {
149
+ padding-inline: 0.571rem;
150
+ height: 1.714rem;
151
+ font-size: 0.857rem;
163
152
  }
164
153
 
165
- &.size-default {
166
- --vertical-padding: calc(0.9rem - (var(--border-px) * 2));
167
- --horizontal-padding: clamp(
168
- 1rem,
169
- calc(0.75rem + var(--radius, 0.5rem) / 2),
170
- 1.5rem
171
- );
154
+ &.size-2 {
155
+ padding-inline: 0.857rem;
156
+ height: 2.286rem;
172
157
  font-size: 1rem;
173
- padding: var(--vertical-padding) var(--horizontal-padding);
158
+ }
174
159
 
175
- &.equal-padding {
176
- padding: var(--vertical-padding);
177
- }
160
+ &.size-3 {
161
+ padding-inline: 1.143rem;
162
+ height: 2.857rem;
163
+ font-size: 1.143rem;
178
164
  }
179
165
  }
@@ -1,10 +1,7 @@
1
1
  b-combobox {
2
- width: 100%;
3
-
4
2
  button {
5
3
  display: flex;
6
4
  justify-content: space-between !important;
7
5
  align-items: center;
8
- width: 100%;
9
6
  }
10
7
  }
@@ -1,10 +1,7 @@
1
1
  b-select {
2
- width: 100%;
3
-
4
2
  button {
5
3
  display: flex;
6
4
  justify-content: space-between !important;
7
5
  align-items: center;
8
- width: 100%;
9
6
  }
10
7
  }