@memobit/libs 3.17.0 → 3.19.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.
Files changed (31) hide show
  1. package/README.md +1 -1
  2. package/dist/components/AnalogClock/AnalogClock.css +1 -1
  3. package/dist/components/Calendar/Calendar.css +1 -1
  4. package/dist/components/DataView/DataView.CardView.js +58 -55
  5. package/dist/components/DataView/DataView.TableView.js +171 -0
  6. package/dist/components/DataView/DataView.css +1 -1
  7. package/dist/components/DataView/DataView.helpers.js +17 -15
  8. package/dist/components/DataView/DataView2.js +251 -358
  9. package/dist/components/DatePicker/DatePicker.css +1 -1
  10. package/dist/components/MiniStatsCard/MiniStatsCard2.js +28 -21
  11. package/dist/components/NotificationPanel/NotificationPanel.css +1 -1
  12. package/dist/components/NotificationPanel/NotificationPanel2.js +1 -1
  13. package/dist/components/RollingNumber/RollingNumber.css +1 -1
  14. package/dist/components/RollingNumber/RollingNumber.helpers.js +7 -0
  15. package/dist/components/RollingNumber/RollingNumber2.js +34 -35
  16. package/dist/components/Stats/Stats2.js +23 -16
  17. package/dist/components/TimePicker/TimePicker.css +1 -1
  18. package/dist/components/Toolbar/Toolbar.css +1 -1
  19. package/dist/components/Toolbar/Toolbar2.js +69 -65
  20. package/dist/components/Tooltip/Tooltip2.js +67 -57
  21. package/dist/helpers/VersionInfo.js +1 -1
  22. package/dist/hooks/useListMotion/ListMotion.css +1 -0
  23. package/dist/hooks/useListMotion/useHighlight.js +11 -0
  24. package/dist/hooks/useListMotion/useListMotion.js +228 -0
  25. package/dist/index.d.ts +60 -1
  26. package/dist/index.js +303 -298
  27. package/dist/styles/effects.scss +4 -4
  28. package/dist/styles/variables.scss +20 -0
  29. package/dist/version.js +1 -1
  30. package/dist/version.json +4 -4
  31. package/package.json +1 -1
@@ -11,7 +11,7 @@
11
11
  .infuse-effect {
12
12
  border-width: var(--spacing-1);
13
13
  border-style: solid;
14
- transition: all 0.3s;
14
+ transition: all var(--duration-fade);
15
15
  position: relative;
16
16
 
17
17
  &::before {
@@ -23,7 +23,7 @@
23
23
  width: var(--spacing-4);
24
24
  height: 100%;
25
25
  opacity: 0;
26
- transition: opacity 0.3s;
26
+ transition: opacity var(--duration-fade);
27
27
  }
28
28
 
29
29
  &:hover {
@@ -41,7 +41,7 @@
41
41
  border-width: var(--spacing-1);
42
42
  border-style: solid;
43
43
  box-shadow: 0 var(--spacing-4) var(--spacing-12) var(--up-lift-effect-box-shadow-color);
44
- transition: all 0.3s ease;
44
+ transition: all var(--duration-fade) ease;
45
45
  position: relative;
46
46
 
47
47
  &::before {
@@ -62,7 +62,7 @@
62
62
  }
63
63
 
64
64
  .glow-effect {
65
- transition: 0.3s;
65
+ transition: var(--duration-fade);
66
66
 
67
67
  &:hover {
68
68
  box-shadow: var(--glow-box-shadow-color);
@@ -70,4 +70,24 @@
70
70
  --transition-fast: 150ms ease-in-out;
71
71
  --transition-moderate: 300ms ease-in-out;
72
72
  --transition-slow: 500ms ease-in-out;
73
+
74
+ // List motion (useListMotion): items joining, leaving and sliding into place.
75
+ // Read by script as well as by CSS, so keep them in `ms`.
76
+ --motion-duration-enter: 220ms;
77
+ --motion-duration-exit: 180ms;
78
+ --motion-duration-move: 280ms;
79
+ --motion-duration-flash: 1600ms;
80
+ --motion-easing: cubic-bezier(0.2, 0, 0, 1);
81
+ // Fast start: a leaver's clone is mostly gone before its neighbours slide over it.
82
+ --motion-easing-exit: cubic-bezier(0, 0, 0.2, 1);
83
+ }
84
+
85
+ // Nothing travels under a reduced-motion preference. The highlight flash stays: it is a colour
86
+ // change, not movement, and it is what tells the user which item changed.
87
+ @media (prefers-reduced-motion: reduce) {
88
+ :root {
89
+ --motion-duration-enter: 0ms;
90
+ --motion-duration-exit: 0ms;
91
+ --motion-duration-move: 0ms;
92
+ }
73
93
  }
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
- var I = "3.17.0", B = 571, L = "025b7c8", _ = "2026-10-25T16:06:38.892Z", r = "571";
1
+ var I = "3.19.0", B = 579, L = "cce6bd8", _ = "2026-10-25T19:43:59.131Z", r = "579";
2
2
  export {
3
3
  _ as LIB_BUILD_DATE,
4
4
  r as LIB_BUILD_ID,
package/dist/version.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "3.17.0",
3
- "buildNumber": 571,
4
- "commit": "025b7c8",
5
- "buildDate": "2026-10-25T16:06:38.892Z"
2
+ "version": "3.19.0",
3
+ "buildNumber": 579,
4
+ "commit": "cce6bd8",
5
+ "buildDate": "2026-10-25T19:43:59.131Z"
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memobit/libs",
3
- "version": "3.17.0",
3
+ "version": "3.19.0",
4
4
  "description": "React component library powering the Memobit apps — 100+ components, helpers and hooks. Icons ship as @memobit/icons and themes as @memobit/themes. TypeScript-first, ESM-only, React 19.",
5
5
  "keywords": [
6
6
  "react",