elements-kit 0.26.0 → 0.26.2

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.
@@ -5,11 +5,6 @@
5
5
  display: inline-flex;
6
6
  }
7
7
 
8
- .x-group > :is(.x-text-input, .x-select) {
9
- flex: auto;
10
- min-width: 0;
11
- }
12
-
13
8
  .x-group > :is(.x-button, .x-text-input, .x-select, .x-toggle) {
14
9
  z-index: 0;
15
10
  position: relative;
@@ -123,7 +123,7 @@
123
123
  }
124
124
 
125
125
  .section-heading-1 {
126
- font-size: calc(48px * var(--scaling, 1));
126
+ font-size: calc(40px * var(--scaling, 1));
127
127
  letter-spacing: -.04em;
128
128
  font-weight: 550;
129
129
  line-height: 1;
@@ -8,7 +8,8 @@
8
8
  text-overflow: ellipsis;
9
9
  white-space: nowrap;
10
10
  cursor: var(--cursor-button);
11
- background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M3 5l3 3 3-3'/></svg>");
11
+ --select-chevron-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='none' stroke='%23202020' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M3 5l3 3 3-3'/></svg>");
12
+ background-image: var(--select-chevron-image);
12
13
  background-repeat: no-repeat;
13
14
  background-position: right var(--select-chevron-inset) center;
14
15
  background-size: var(--select-chevron-size) var(--select-chevron-size);
@@ -21,13 +22,17 @@
21
22
  overflow: hidden;
22
23
  }
23
24
 
25
+ :where(.dark, .dark-theme) .x-select, .x-select:where(.dark, .dark-theme) {
26
+ --select-chevron-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='none' stroke='%23eeeeee' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M3 5l3 3 3-3'/></svg>");
27
+ }
28
+
24
29
  .x-select:where(:focus-visible) {
25
30
  outline: 2px solid var(--focus-8);
26
31
  outline-offset: -1px;
27
32
  }
28
33
 
29
34
  .x-select:where([data-size="1"]) {
30
- --select-chevron-size: 9px;
35
+ --select-chevron-size: 12px;
31
36
  --select-chevron-inset: var(--space-2);
32
37
  gap: var(--space-1);
33
38
  font-size: var(--font-size-1);
@@ -48,7 +53,7 @@
48
53
  }
49
54
 
50
55
  .x-select:where(:not([data-size]), [data-size="2"]) {
51
- --select-chevron-size: 9px;
56
+ --select-chevron-size: 14px;
52
57
  --select-chevron-inset: var(--space-3);
53
58
  gap: calc(var(--space-1) * 1.5);
54
59
  font-size: var(--font-size-2);
@@ -69,7 +74,7 @@
69
74
  }
70
75
 
71
76
  .x-select:where([data-size="3"]) {
72
- --select-chevron-size: 11px;
77
+ --select-chevron-size: 16px;
73
78
  --select-chevron-inset: var(--space-4);
74
79
  gap: var(--space-2);
75
80
  font-size: var(--font-size-3);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "elements-kit",
3
3
  "type": "module",
4
- "version": "0.26.0",
4
+ "version": "0.26.2",
5
5
  "description": "A lightweight reactive UI library that transforms native HTMLElements into reactive components with signals. Ideal for framework-agnostic applications and web components.",
6
6
  "keywords": [
7
7
  "webcomponents",