@yuva-devlab/ui 1.4.1 → 1.4.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.
@@ -1,5 +1,6 @@
1
1
  .dl-select-trigger {
2
2
  display: inline-flex;
3
+ width: 100%;
3
4
  min-height: 1.75rem;
4
5
  align-items: center;
5
6
  justify-content: space-between;
@@ -36,7 +37,9 @@
36
37
  position: relative;
37
38
  z-index: 50;
38
39
  max-height: 24rem;
39
- min-width: 8rem;
40
+ min-width: var(--radix-select-trigger-width, 8rem);
41
+ width: var(--radix-select-trigger-width, max-content);
42
+ max-width: var(--radix-select-content-available-width, 100vw);
40
43
  overflow: hidden;
41
44
  border-radius: var(--radius-md, 0.375rem);
42
45
  border: 1px solid var(--border);
@@ -51,6 +54,8 @@
51
54
  animation: dl-fade-out 100ms ease;
52
55
  }
53
56
  .dl-select-viewport {
57
+ width: 100%;
58
+ min-width: var(--radix-select-trigger-width, 8rem);
54
59
  padding: 0.25rem;
55
60
  }
56
61
 
@@ -2086,6 +2086,7 @@
2086
2086
  /* ── select ── */
2087
2087
  .dl-select-trigger {
2088
2088
  display: inline-flex;
2089
+ width: 100%;
2089
2090
  min-height: 1.75rem;
2090
2091
  align-items: center;
2091
2092
  justify-content: space-between;
@@ -2122,7 +2123,9 @@
2122
2123
  position: relative;
2123
2124
  z-index: 50;
2124
2125
  max-height: 24rem;
2125
- min-width: 8rem;
2126
+ min-width: var(--radix-select-trigger-width, 8rem);
2127
+ width: var(--radix-select-trigger-width, max-content);
2128
+ max-width: var(--radix-select-content-available-width, 100vw);
2126
2129
  overflow: hidden;
2127
2130
  border-radius: var(--radius-md, 0.375rem);
2128
2131
  border: 1px solid var(--border);
@@ -2137,6 +2140,8 @@
2137
2140
  animation: dl-fade-out 100ms ease;
2138
2141
  }
2139
2142
  .dl-select-viewport {
2143
+ width: 100%;
2144
+ min-width: var(--radix-select-trigger-width, 8rem);
2140
2145
  padding: 0.25rem;
2141
2146
  }
2142
2147
 
@@ -2086,6 +2086,7 @@
2086
2086
  /* ── select ── */
2087
2087
  .dl-select-trigger {
2088
2088
  display: inline-flex;
2089
+ width: 100%;
2089
2090
  min-height: 1.75rem;
2090
2091
  align-items: center;
2091
2092
  justify-content: space-between;
@@ -2122,7 +2123,9 @@
2122
2123
  position: relative;
2123
2124
  z-index: 50;
2124
2125
  max-height: 24rem;
2125
- min-width: 8rem;
2126
+ min-width: var(--radix-select-trigger-width, 8rem);
2127
+ width: var(--radix-select-trigger-width, max-content);
2128
+ max-width: var(--radix-select-content-available-width, 100vw);
2126
2129
  overflow: hidden;
2127
2130
  border-radius: var(--radius-md, 0.375rem);
2128
2131
  border: 1px solid var(--border);
@@ -2137,6 +2140,8 @@
2137
2140
  animation: dl-fade-out 100ms ease;
2138
2141
  }
2139
2142
  .dl-select-viewport {
2143
+ width: 100%;
2144
+ min-width: var(--radix-select-trigger-width, 8rem);
2140
2145
  padding: 0.25rem;
2141
2146
  }
2142
2147
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuva-devlab/ui",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",