@adecore/ui 0.46.2 → 0.46.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.
package/dist/theme.css CHANGED
@@ -613,7 +613,9 @@
613
613
 
614
614
  /* A `Spinner`: Leap from loading-dev (https://github.com/jakubkrehel/loading), MIT, Copyright (c) 2026 Jakub Krehel.
615
615
  Each dot turns half a circle over the other two, then slides back one gap at a time; the three
616
- are a third of a turn apart, so at every moment one dot is in the air. */
616
+ are a third of a turn apart, so at every moment one dot is in the air. The hops move in steps:
617
+ a smooth one changes every frame and keeps the compositor drawing the window at the display's
618
+ rate for as long as anything works. The three share their step boundaries, so a step is one frame. */
617
619
  .spinner {
618
620
  --spinner-duration: 1800ms;
619
621
  --spinner-dot: round(calc(var(--spinner-size) * 0.22), 1px);
@@ -631,7 +633,7 @@
631
633
  left: calc(var(--spinner-size) - var(--spinner-dot) - var(--spinner-gap) * 2);
632
634
  width: calc(var(--spinner-gap) * 2 + var(--spinner-dot));
633
635
  height: var(--spinner-dot);
634
- animation: spinner-hop var(--spinner-duration) ease-in-out infinite;
636
+ animation: spinner-hop var(--spinner-duration) steps(10) infinite;
635
637
  animation-delay: calc(var(--spinner-duration) * (var(--spinner-step) - 3) / 3);
636
638
  }
637
639
  .spinner-dot {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adecore/ui",
3
- "version": "0.46.2",
3
+ "version": "0.46.3",
4
4
  "description": "React components, a theme, formatters and a settings dialog for desktop-grade apps on React 19, Base UI and Tailwind 4.",
5
5
  "license": "FSL-1.1-MIT",
6
6
  "author": "Bas Milius",
package/src/theme.css CHANGED
@@ -613,7 +613,9 @@
613
613
 
614
614
  /* A `Spinner`: Leap from loading-dev (https://github.com/jakubkrehel/loading), MIT, Copyright (c) 2026 Jakub Krehel.
615
615
  Each dot turns half a circle over the other two, then slides back one gap at a time; the three
616
- are a third of a turn apart, so at every moment one dot is in the air. */
616
+ are a third of a turn apart, so at every moment one dot is in the air. The hops move in steps:
617
+ a smooth one changes every frame and keeps the compositor drawing the window at the display's
618
+ rate for as long as anything works. The three share their step boundaries, so a step is one frame. */
617
619
  .spinner {
618
620
  --spinner-duration: 1800ms;
619
621
  --spinner-dot: round(calc(var(--spinner-size) * 0.22), 1px);
@@ -631,7 +633,7 @@
631
633
  left: calc(var(--spinner-size) - var(--spinner-dot) - var(--spinner-gap) * 2);
632
634
  width: calc(var(--spinner-gap) * 2 + var(--spinner-dot));
633
635
  height: var(--spinner-dot);
634
- animation: spinner-hop var(--spinner-duration) ease-in-out infinite;
636
+ animation: spinner-hop var(--spinner-duration) steps(10) infinite;
635
637
  animation-delay: calc(var(--spinner-duration) * (var(--spinner-step) - 3) / 3);
636
638
  }
637
639
  .spinner-dot {