@sakaniui/react 0.8.1 → 0.8.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/blocks.mjs CHANGED
@@ -3041,7 +3041,7 @@ function Lr({ enabled: e, onMove: t }) {
3041
3041
  r.forEach(({ el: e, dx: t, dy: n }) => {
3042
3042
  (t || n) && (e.style.transform = `translate(${t}px, ${n}px)`);
3043
3043
  }), t.offsetHeight, r.forEach(({ el: e, dx: t, dy: n }) => {
3044
- !t && !n || (e.style.transition = "transform 240ms cubic-bezier(0.2, 0.9, 0.3, 1.15)", e.style.transform = "");
3044
+ !t && !n || (e.style.transition = "transform 240ms cubic-bezier(0.25, 1, 0.5, 1)", e.style.transform = "");
3045
3045
  });
3046
3046
  });
3047
3047
  let m = (e, t) => {
@@ -3073,7 +3073,7 @@ function Lr({ enabled: e, onMove: t }) {
3073
3073
  let l = Ir(), d = r.getBoundingClientRect();
3074
3074
  if (t.settling) {
3075
3075
  let e = l ? 1 : .22;
3076
- if (t.x += (t.settling.x - t.x) * e, t.y += (t.settling.y - t.y) * e, t.rotV = t.rotV * .7 + (0 - t.rot) * .2, t.rot = l ? 0 : t.rot + t.rotV, t.scale += (1 - t.scale) * (l ? 1 : .25), Math.abs(t.settling.x - t.x) < .5 && Math.abs(t.settling.y - t.y) < .5 && Math.abs(t.rot) < .2) {
3076
+ if (t.x += (t.settling.x - t.x) * e, t.y += (t.settling.y - t.y) * e, t.rotV = t.rotV * .4 + (0 - t.rot) * .2, t.rot = l ? 0 : t.rot + t.rotV, t.scale += (1 - t.scale) * (l ? 1 : .25), Math.abs(t.settling.x - t.x) < .5 && Math.abs(t.settling.y - t.y) < .5 && Math.abs(t.rot) < .2) {
3077
3077
  let e = t.settling.done;
3078
3078
  t.settling = null, t.raf = 0, e();
3079
3079
  return;
@@ -3082,7 +3082,7 @@ function Lr({ enabled: e, onMove: t }) {
3082
3082
  let n = Math.max(1, e - t.lastT), r = (t.px - t.lastPx) / n * 16;
3083
3083
  t.vx = t.vx * .6 + r * .4, t.lastPx = t.px, t.lastT = e, t.x = t.px - t.grabX, t.y = t.py - t.grabY;
3084
3084
  let i = l ? 0 : Math.max(-9, Math.min(Nr, t.vx * .9));
3085
- t.rotV = t.rotV * .72 + (i - t.rot) * .16, t.rot = l ? 0 : t.rot + t.rotV, t.scale += (Pr - t.scale) * (l ? 1 : .3);
3085
+ t.rotV = t.rotV * .45 + (i - t.rot) * .18, t.rot = l ? 0 : t.rot + t.rotV, t.scale += (Pr - t.scale) * (l ? 1 : .3);
3086
3086
  let o = s.current;
3087
3087
  if (o) {
3088
3088
  let e = o.getBoundingClientRect();
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * sakani-design-system — public entry point
2
+ * @sakaniui/react — public entry point
3
3
  *
4
4
  * Barrel export of every component. Consumers should also import the
5
- * design tokens stylesheet once at the app root: 'sakani-design-system/tokens.css'
5
+ * design tokens stylesheet once at the app root: '@sakaniui/react/tokens.css'
6
6
  */
7
7
  export * from './components/Accordion';
8
8
  export * from './components/ApplicationComponents/ActivityFeed';
package/package.json CHANGED
@@ -1,13 +1,16 @@
1
1
  {
2
2
  "name": "@sakaniui/react",
3
- "version": "0.8.1",
4
- "description": "Sakani Design System — token-driven React components and blocks with light & dark modes, plus built-in glass and Apple-style liquid glass surfaces.",
3
+ "version": "0.8.3",
4
+ "description": "SakaniUI — token-driven React components and blocks with light & dark modes, plus built-in glass and Apple-style liquid glass surfaces.",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/samzydd/Sakani-design-system.git"
8
+ "url": "git+https://github.com/samzydd/Sakaniui.git"
9
+ },
10
+ "homepage": "https://github.com/samzydd/Sakaniui#readme",
11
+ "bugs": {
12
+ "url": "https://github.com/samzydd/Sakaniui/issues"
9
13
  },
10
- "homepage": "https://github.com/samzydd/Sakani-design-system#readme",
11
14
  "keywords": [
12
15
  "react",
13
16
  "design-system",