@basis-ng/styles 0.0.1-alpha.171 → 0.0.1-alpha.173

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.171",
3
+ "version": "0.0.1-alpha.173",
4
4
  "description": "CSS foundation for @basis-ng/primitives components",
5
5
  "main": "src/index.css",
6
6
  "exports": {
@@ -5,12 +5,14 @@ b-tabs {
5
5
  @apply dark:bg-secondary-dark/40 dark:text-secondary-foreground-dark dark:inset-ring-ring-dark shadow-xs;
6
6
 
7
7
  /* Base md by default */
8
- @apply px-1 py-1 text-sm h-auto rounded-size-md gap-1;
8
+ /* align container height with buttons/inputs */
9
+ @apply px-1 py-0 text-sm h-8 rounded-size-md gap-1;
9
10
 
10
11
  /* Individual tab styling */
11
12
  b-tab {
12
13
  @apply flex items-center justify-center cursor-pointer transition-colors duration-150;
13
- @apply px-2.5 py-0 text-sm h-8 rounded-size-sm gap-1.5;
14
+ /* inner tabs slightly smaller than the container (one size down) */
15
+ @apply px-2.5 py-0 text-sm h-6 rounded-size-sm gap-1.5;
14
16
 
15
17
  /* Selected state */
16
18
  &[aria-selected='true'] {
@@ -38,7 +40,7 @@ b-tabs {
38
40
 
39
41
  /* Size variants */
40
42
  &.b-size-sm {
41
- @apply px-0.5 py-0.5 text-xs rounded-size-sm gap-0.5;
43
+ @apply px-0.5 py-0 text-xs h-6 rounded-size-sm gap-0.5;
42
44
 
43
45
  b-tab {
44
46
  @apply px-2 py-0 text-xs h-6 rounded-size-sm gap-1;
@@ -46,18 +48,18 @@ b-tabs {
46
48
  }
47
49
 
48
50
  &.b-size-md {
49
- @apply px-1 py-1 text-sm rounded-size-md gap-1;
51
+ @apply px-1 py-0 text-sm h-8 rounded-size-md gap-1;
50
52
 
51
53
  b-tab {
52
- @apply px-2.5 py-0 text-sm h-8 rounded-size-sm gap-1.5;
54
+ @apply px-2.5 py-0 text-sm h-6 rounded-size-sm gap-1.5;
53
55
  }
54
56
  }
55
57
 
56
58
  &.b-size-lg {
57
- @apply px-1 py-1 text-base rounded-size-lg gap-1;
59
+ @apply px-1 py-0 text-base h-10 rounded-size-lg gap-1;
58
60
 
59
61
  b-tab {
60
- @apply px-3 py-0 text-base h-10 rounded-size-md gap-2;
62
+ @apply px-3 py-0 text-base h-8 rounded-size-md gap-2;
61
63
  }
62
64
  }
63
65