@a4ui/core 0.16.0 → 0.17.0

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/dist/full.css CHANGED
@@ -163,6 +163,72 @@ body {
163
163
  animation: toast-out 0.18s ease-in;
164
164
  }
165
165
 
166
+ /* Skeleton shimmer — a light band sweeping across the placeholder (opt-in
167
+ alternative to the default pulse). The band color is token-driven so it reads
168
+ on every theme; the sweep is a pure CSS animation (no engine). */
169
+ @keyframes skeleton-shimmer {
170
+ 100% {
171
+ transform: translateX(100%);
172
+ }
173
+ }
174
+ .skeleton-shimmer {
175
+ position: relative;
176
+ overflow: hidden;
177
+ }
178
+ .skeleton-shimmer::after {
179
+ content: '';
180
+ position: absolute;
181
+ inset: 0;
182
+ transform: translateX(-100%);
183
+ background: linear-gradient(90deg, transparent, hsl(var(--foreground) / 0.08), transparent);
184
+ animation: skeleton-shimmer 1.5s ease-in-out infinite;
185
+ }
186
+
187
+ /* Accordion open/close — animate the panel height using Kobalte's measured
188
+ `--kb-accordion-content-height` var (presence keyed off data-expanded/closed,
189
+ animationend-driven like Modal). Engine-free. */
190
+ @keyframes accordion-down {
191
+ from {
192
+ height: 0;
193
+ }
194
+ to {
195
+ height: var(--kb-accordion-content-height);
196
+ }
197
+ }
198
+ @keyframes accordion-up {
199
+ from {
200
+ height: var(--kb-accordion-content-height);
201
+ }
202
+ to {
203
+ height: 0;
204
+ }
205
+ }
206
+ .accordion-content {
207
+ overflow: hidden;
208
+ }
209
+ .accordion-content[data-expanded] {
210
+ animation: accordion-down 0.2s ease-out;
211
+ }
212
+ .accordion-content[data-closed] {
213
+ animation: accordion-up 0.2s ease-out;
214
+ }
215
+
216
+ /* List stagger — rows fade/slide in on mount, delayed per index (set inline as
217
+ `animation-delay`). Opt-in via <List stagger>. */
218
+ @keyframes list-row-in {
219
+ from {
220
+ opacity: 0;
221
+ transform: translateY(6px);
222
+ }
223
+ to {
224
+ opacity: 1;
225
+ transform: none;
226
+ }
227
+ }
228
+ .list-row-stagger {
229
+ animation: list-row-in 0.35s both ease-out;
230
+ }
231
+
166
232
  /* Table row enter/exit fade. */
167
233
  .row-enter-active,
168
234
  .row-exit-active {
@@ -1935,9 +2001,24 @@ html.calm .tile-glass {
1935
2001
  --tw-rotate: 90deg;
1936
2002
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1937
2003
  }
2004
+ .scale-\[1\.03\] {
2005
+ --tw-scale-x: 1.03;
2006
+ --tw-scale-y: 1.03;
2007
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2008
+ }
1938
2009
  .transform {
1939
2010
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1940
2011
  }
2012
+ @keyframes ping {
2013
+
2014
+ 75%, 100% {
2015
+ transform: scale(2);
2016
+ opacity: 0;
2017
+ }
2018
+ }
2019
+ .animate-ping {
2020
+ animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
2021
+ }
1941
2022
  @keyframes pulse {
1942
2023
 
1943
2024
  50% {
@@ -1974,6 +2055,10 @@ html.calm .tile-glass {
1974
2055
  .cursor-zoom-in {
1975
2056
  cursor: zoom-in;
1976
2057
  }
2058
+ .touch-pan-y {
2059
+ --tw-pan-y: pan-y;
2060
+ touch-action: var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom);
2061
+ }
1977
2062
  .select-none {
1978
2063
  user-select: none;
1979
2064
  }
@@ -1998,6 +2083,12 @@ html.calm .tile-glass {
1998
2083
  .grid-cols-7 {
1999
2084
  grid-template-columns: repeat(7, minmax(0, 1fr));
2000
2085
  }
2086
+ .grid-rows-\[0fr\] {
2087
+ grid-template-rows: 0fr;
2088
+ }
2089
+ .grid-rows-\[1fr\] {
2090
+ grid-template-rows: 1fr;
2091
+ }
2001
2092
  .flex-row {
2002
2093
  flex-direction: row;
2003
2094
  }
@@ -2801,6 +2892,10 @@ html.calm .tile-glass {
2801
2892
  --tw-blur: blur(8px);
2802
2893
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2803
2894
  }
2895
+ .blur-lg {
2896
+ --tw-blur: blur(16px);
2897
+ filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2898
+ }
2804
2899
  .brightness-110 {
2805
2900
  --tw-brightness: brightness(1.1);
2806
2901
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
@@ -2841,6 +2936,16 @@ html.calm .tile-glass {
2841
2936
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2842
2937
  transition-duration: 150ms;
2843
2938
  }
2939
+ .transition-\[filter\2c transform\] {
2940
+ transition-property: filter,transform;
2941
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2942
+ transition-duration: 150ms;
2943
+ }
2944
+ .transition-\[grid-template-rows\] {
2945
+ transition-property: grid-template-rows;
2946
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2947
+ transition-duration: 150ms;
2948
+ }
2844
2949
  .transition-\[transform\2c opacity\] {
2845
2950
  transition-property: transform,opacity;
2846
2951
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
@@ -3075,6 +3180,12 @@ html.calm .tile-glass {
3075
3180
  .data-\[disabled\]\:opacity-50[data-disabled] {
3076
3181
  opacity: 0.5;
3077
3182
  }
3183
+ @media (prefers-reduced-motion: reduce) {
3184
+
3185
+ .motion-reduce\:transition-none {
3186
+ transition-property: none;
3187
+ }
3188
+ }
3078
3189
  @media (min-width: 640px) {
3079
3190
 
3080
3191
  .sm\:grid-cols-2 {
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const A4UI_VERSION = "0.16.0";
1
+ export declare const A4UI_VERSION = "0.17.0";
2
2
  export { cn } from './lib/cn';
3
3
  export { useTheme, toggleTheme, setTheme, storedTheme, applyTheme, toggled, type Theme } from './lib/theme';
4
4
  export { useEffects, isCalm, setEffects } from './lib/effects';