@gridui/motion 1.0.2 → 1.0.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/README.md +2 -3
- package/docs/catalog.json +9 -9
- package/docs/reference/layout-motion.md +2 -2
- package/docs/reference/motion-config.md +2 -2
- package/docs/reference/motion-layout-group.md +2 -2
- package/docs/reference/motion-reveal.md +2 -2
- package/docs/reference/motion-scope.md +2 -2
- package/docs/reference/motion-size.md +2 -2
- package/docs/reference/presence.md +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -46,8 +46,7 @@ All existing GridUI animation families use shared policy and tempo, including CS
|
|
|
46
46
|
microinteractions, overlay portals, TextMorph, skeleton/image reveals, Sortable,
|
|
47
47
|
BottomSheet, Sidebar, CaseShowcase, and the opt-in brand logo. Local animation
|
|
48
48
|
switches can disable an effect; they cannot override an ancestor's disabled or
|
|
49
|
-
always-reduced policy or the system preference.
|
|
50
|
-
is accepted for source compatibility but no longer bypasses policy.
|
|
49
|
+
always-reduced policy or the system preference.
|
|
51
50
|
|
|
52
51
|
CSS components and specialized engines preserve their existing timing/easing APIs.
|
|
53
52
|
The `transition` setting configures LayoutMotion (including animated TabsPanel);
|
|
@@ -154,7 +153,7 @@ not guaranteed continuous while individual cells move. Do not attach two engines
|
|
|
154
153
|
to the same transform, including a Sortable drag root.
|
|
155
154
|
|
|
156
155
|
See [architecture](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/docs/architecture.md)
|
|
157
|
-
and [release history](https://github.com/sudo-ui/GridUI-React-Monorepo/tree/main/packages-
|
|
156
|
+
and [release history](https://github.com/sudo-ui/GridUI-React-Monorepo/tree/main/packages-foundation/motion/.changeset/history).
|
|
158
157
|
|
|
159
158
|
## Spring values
|
|
160
159
|
|
package/docs/catalog.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"name": "@gridui/motion",
|
|
4
|
-
"version": "1.0.
|
|
5
|
-
"category": "
|
|
4
|
+
"version": "1.0.3",
|
|
5
|
+
"category": "foundation",
|
|
6
6
|
"description": "Shared GridUI motion policy, layout, springs, and scoped animation",
|
|
7
7
|
"usage": "Shared React motion policy, presence/layout transitions, spring values, scoped sequences, intrinsic sizing, and visibility-triggered decoration. Import `MotionConfig`, `Presence`, and `LayoutMotion` from `@gridui/motion`. Load `@gridui/theme/styles.css`; Motion has no component stylesheet. The package uses Motion internally. Consumers do not need to import its engine directly.",
|
|
8
8
|
"documentation": [
|
|
@@ -227,12 +227,12 @@
|
|
|
227
227
|
"@gridui/theme/styles.css"
|
|
228
228
|
],
|
|
229
229
|
"examples": [
|
|
230
|
-
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
231
|
-
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
232
|
-
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
233
|
-
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
234
|
-
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
235
|
-
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
236
|
-
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
230
|
+
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/stories/getting-started.mdx",
|
|
231
|
+
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/stories/layout.stories.tsx",
|
|
232
|
+
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/stories/motion.stories.tsx",
|
|
233
|
+
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/stories/policy.stories.tsx",
|
|
234
|
+
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/stories/reveal.stories.tsx",
|
|
235
|
+
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/stories/sequences.stories.tsx",
|
|
236
|
+
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/stories/springs.stories.tsx"
|
|
237
237
|
]
|
|
238
238
|
}
|
|
@@ -10,9 +10,9 @@ import { LayoutMotion } from "@gridui/motion";
|
|
|
10
10
|
import "@gridui/theme/styles.css";
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Read the [package contract](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
13
|
+
Read the [package contract](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/README.md) for shared behavior and stylesheet dependencies.
|
|
14
14
|
|
|
15
|
-
The [working composition](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
15
|
+
The [working composition](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/stories/layout.stories.tsx) demonstrates required context, state, and related components. Use View code in Storybook to inspect the actual implementation.
|
|
16
16
|
|
|
17
17
|
## API
|
|
18
18
|
|
|
@@ -10,9 +10,9 @@ import { MotionConfig } from "@gridui/motion";
|
|
|
10
10
|
import "@gridui/theme/styles.css";
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Read the [package contract](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
13
|
+
Read the [package contract](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/README.md) for shared behavior and stylesheet dependencies.
|
|
14
14
|
|
|
15
|
-
The [working composition](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
15
|
+
The [working composition](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/stories/layout.stories.tsx) demonstrates required context, state, and related components. Use View code in Storybook to inspect the actual implementation.
|
|
16
16
|
|
|
17
17
|
## API
|
|
18
18
|
|
|
@@ -10,9 +10,9 @@ import { MotionLayoutGroup } from "@gridui/motion";
|
|
|
10
10
|
import "@gridui/theme/styles.css";
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Read the [package contract](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
13
|
+
Read the [package contract](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/README.md) for shared behavior and stylesheet dependencies.
|
|
14
14
|
|
|
15
|
-
The [working composition](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
15
|
+
The [working composition](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/stories/layout.stories.tsx) demonstrates required context, state, and related components. Use View code in Storybook to inspect the actual implementation.
|
|
16
16
|
|
|
17
17
|
## API
|
|
18
18
|
|
|
@@ -10,9 +10,9 @@ import { MotionReveal } from "@gridui/motion";
|
|
|
10
10
|
import "@gridui/theme/styles.css";
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Read the [package contract](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
13
|
+
Read the [package contract](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/README.md) for shared behavior and stylesheet dependencies.
|
|
14
14
|
|
|
15
|
-
The [working composition](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
15
|
+
The [working composition](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/stories/reveal.stories.tsx) demonstrates required context, state, and related components. Use View code in Storybook to inspect the actual implementation.
|
|
16
16
|
|
|
17
17
|
## API
|
|
18
18
|
|
|
@@ -10,9 +10,9 @@ import { MotionScope } from "@gridui/motion";
|
|
|
10
10
|
import "@gridui/theme/styles.css";
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Read the [package contract](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
13
|
+
Read the [package contract](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/README.md) for shared behavior and stylesheet dependencies.
|
|
14
14
|
|
|
15
|
-
The [working composition](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
15
|
+
The [working composition](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/stories/layout.stories.tsx) demonstrates required context, state, and related components. Use View code in Storybook to inspect the actual implementation.
|
|
16
16
|
|
|
17
17
|
## API
|
|
18
18
|
|
|
@@ -10,9 +10,9 @@ import { MotionSize } from "@gridui/motion";
|
|
|
10
10
|
import "@gridui/theme/styles.css";
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Read the [package contract](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
13
|
+
Read the [package contract](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/README.md) for shared behavior and stylesheet dependencies.
|
|
14
14
|
|
|
15
|
-
The [working composition](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
15
|
+
The [working composition](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/stories/layout.stories.tsx) demonstrates required context, state, and related components. Use View code in Storybook to inspect the actual implementation.
|
|
16
16
|
|
|
17
17
|
## API
|
|
18
18
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- Generated from public Props and owned stories. Run pnpm docs:storybook. -->
|
|
2
2
|
# Presence
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
Public Presence component from @gridui/motion. See the package guide for its composition contract.
|
|
5
5
|
|
|
6
6
|
Import from ``@gridui/motion`` and load Theme before this family's stylesheet.
|
|
7
7
|
|
|
@@ -10,9 +10,9 @@ import { Presence } from "@gridui/motion";
|
|
|
10
10
|
import "@gridui/theme/styles.css";
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Read the [package contract](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
13
|
+
Read the [package contract](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/README.md) for shared behavior and stylesheet dependencies.
|
|
14
14
|
|
|
15
|
-
The [working composition](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-
|
|
15
|
+
The [working composition](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-foundation/motion/stories/layout.stories.tsx) demonstrates required context, state, and related components. Use View code in Storybook to inspect the actual implementation.
|
|
16
16
|
|
|
17
17
|
## API
|
|
18
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gridui/motion",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Shared GridUI motion policy, layout, springs, and scoped animation",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@gridui/theme": "^
|
|
27
|
+
"@gridui/theme": "^5.0.0",
|
|
28
28
|
"@radix-ui/react-slot": "1.5.0",
|
|
29
29
|
"motion": "14.14.0"
|
|
30
30
|
},
|