@luminescent/ui 6.2.1 → 6.2.3

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.css +8 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luminescent/ui",
3
- "version": "6.2.1",
3
+ "version": "6.2.3",
4
4
  "description": "Luminescent UI library",
5
5
  "exports": {
6
6
  ".": "./src/index.css",
package/src/index.css CHANGED
@@ -155,9 +155,13 @@
155
155
 
156
156
  @utility lum-btn-p-* {
157
157
  padding: calc(var(--spacing) * --value(integer))
158
- calc(var(--spacing) * --value(integer) * var(--lum-btn-p-x))
159
- calc(var(--spacing) * --value(integer))
160
- calc(var(--spacing) * --value(integer) * var(--lum-btn-p-x));
158
+ calc(var(--spacing) * --value(integer) * var(--lum-btn-p-x))
159
+ calc(var(--spacing) * --value(integer))
160
+ calc(var(--spacing) * --value(integer) * var(--lum-btn-p-x));
161
+
162
+ gap: calc(
163
+ var(--spacing) * --value(integer) * clamp(0.65, 4 / --value(integer), 1)
164
+ );
161
165
  }
162
166
 
163
167
  @utility lum-input-p-* {
@@ -173,7 +177,7 @@
173
177
  }
174
178
 
175
179
  @utility lum-btn {
176
- @apply flex items-center gap-3 motion-safe:transition duration-300 hover:duration-75 active:duration-75 ease-out disabled:opacity-50 hover:drop-shadow-lg active:drop-shadow-lg motion-safe:active:scale-95 whitespace-nowrap touch-manipulation select-none lum-btn-p-2 text-base lum-bg-lum-input-bg hover:lum-bg-lum-input-hover-bg active:lum-bg-lum-input-hover-bg;
180
+ @apply flex items-center motion-safe:transition duration-300 hover:duration-75 active:duration-75 ease-out disabled:opacity-50 hover:drop-shadow-lg active:drop-shadow-lg motion-safe:active:scale-95 whitespace-nowrap touch-manipulation select-none lum-btn-p-2 text-base lum-bg-lum-input-bg hover:lum-bg-lum-input-hover-bg active:lum-bg-lum-input-hover-bg;
177
181
  border-radius: var(--lum-border-radius);
178
182
  }
179
183