@gridui/action-navigation 1.0.7 → 1.1.1

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 CHANGED
@@ -1,10 +1,27 @@
1
1
  # @gridui/action-navigation
2
2
 
3
- Core family. Public API: `ActionNavigation`, `ActionNavigationProps`.
3
+ Navigation family. Public API: `ActionNavigation`, `ActionNavigationProps`.
4
4
 
5
5
  Import components from `@gridui/action-navigation` and load `@gridui/action-navigation/styles.css` after Theme.
6
- Load styles for any composed dependency used by this family. Applications own routes, labels, state persistence, and branding.
6
+ Applications own routes, labels, state persistence, and branding.
7
7
 
8
- See [component ownership](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/docs/component-ownership.md) and [release history](https://github.com/sudo-ui/GridUI-React-Monorepo/tree/main/packages-core/action-navigation/.changeset/history).
8
+ ## Styles
9
+
10
+ Load Theme once. Use `@gridui/action-navigation/styled` for automatic component CSS in
11
+ CSS-aware bundlers, or keep the CSS-free root import and load `@gridui/action-navigation/styles.css`.
12
+ Both entries expose the same root API. The standalone stylesheet includes component
13
+ dependency styles; Theme/reset remain separate. See the
14
+ [integration guide](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/docs/usage/integration.md)
15
+ for static HTML loading, SSR limits, and avoiding duplicate CSS.
16
+
17
+
18
+ See [component ownership](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/docs/component-ownership.md) and [release history](https://github.com/sudo-ui/GridUI-React-Monorepo/tree/main/packages-navigation/action-navigation/.changeset/history).
9
19
 
10
20
  [Component reference](docs/reference/README.md) contains focused API pages for each public component.
21
+
22
+ ## Sizing and density
23
+
24
+ ActionNavigation is an arrangement and landmark. Choose size on its supplied ButtonLink or other controls; the nav does not create a second sizing context.
25
+
26
+ See the [shared sizing contract](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/docs/usage/sizing.md)
27
+ for native attributes, scope precedence, tokens and target behavior.
package/dist/styled.js ADDED
@@ -0,0 +1,2 @@
1
+ import "./styles.local.css";
2
+ export * from "./index.js";
@@ -0,0 +1,13 @@
1
+ /*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
2
+ @layer theme, base, components, utilities;
3
+ @layer utilities {
4
+ .gridui-u-action-navigation--flex {
5
+ display: flex;
6
+ }
7
+ .gridui-u-action-navigation--flex-wrap {
8
+ flex-wrap: wrap;
9
+ }
10
+ .gridui-u-action-navigation--gap-gridui-16 {
11
+ gap: var(--gridui-space-16);
12
+ }
13
+ }
package/docs/catalog.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "name": "@gridui/action-navigation",
4
- "version": "1.0.7",
5
- "category": "core",
4
+ "version": "1.1.1",
5
+ "category": "navigation",
6
6
  "description": "GridUI React action navigation",
7
7
  "usage": "Component reference contains focused API pages for each public component.",
8
8
  "documentation": [
@@ -26,9 +26,10 @@
26
26
  "@gridui/theme/styles.css",
27
27
  "@gridui/action-navigation/styles.css"
28
28
  ],
29
+ "styledImport": "@gridui/action-navigation/styled",
29
30
  "examples": [
30
- "https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/action-navigation/stories/getting-started.mdx",
31
- "https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/action-navigation/stories/secondary-navigation.mdx",
32
- "https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/action-navigation/stories/action-navigation.stories.tsx"
31
+ "https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-navigation/action-navigation/stories/getting-started.mdx",
32
+ "https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-navigation/action-navigation/stories/secondary-navigation.mdx",
33
+ "https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-navigation/action-navigation/stories/action-navigation.stories.tsx"
33
34
  ]
34
35
  }
@@ -11,9 +11,9 @@ import "@gridui/theme/styles.css";
11
11
  import "@gridui/action-navigation/styles.css";
12
12
  ```
13
13
 
14
- Read the [package contract](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/action-navigation/README.md) for shared behavior and stylesheet dependencies.
14
+ Read the [package contract](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-navigation/action-navigation/README.md) for shared behavior and stylesheet dependencies.
15
15
 
16
- The [working composition](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/action-navigation/stories/action-navigation.stories.tsx) demonstrates required context, state, and related components. Use View code in Storybook to inspect the actual implementation.
16
+ The [working composition](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-navigation/action-navigation/stories/action-navigation.stories.tsx) demonstrates required context, state, and related components. Use View code in Storybook to inspect the actual implementation.
17
17
 
18
18
  ## API
19
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridui/action-navigation",
3
- "version": "1.0.7",
3
+ "version": "1.1.1",
4
4
  "description": "GridUI React action navigation",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -10,14 +10,19 @@
10
10
  "docs"
11
11
  ],
12
12
  "sideEffects": [
13
- "**/*.css"
13
+ "**/*.css",
14
+ "./dist/styled.js"
14
15
  ],
15
16
  "exports": {
16
17
  ".": {
17
18
  "types": "./dist/index.d.ts",
18
19
  "import": "./dist/index.js"
19
20
  },
20
- "./styles.css": "./dist/styles.css"
21
+ "./styles.css": "./dist/styles.css",
22
+ "./styled": {
23
+ "types": "./dist/index.d.ts",
24
+ "import": "./dist/styled.js"
25
+ }
21
26
  },
22
27
  "publishConfig": {
23
28
  "access": "public"
@@ -27,8 +32,8 @@
27
32
  "react-dom": "^19.2.0"
28
33
  },
29
34
  "dependencies": {
30
- "@gridui/style-utils": "^4.0.0",
31
- "@gridui/theme": "^3.0.0",
35
+ "@gridui/style-utils": "^4.1.0",
36
+ "@gridui/theme": "^5.0.0",
32
37
  "class-variance-authority": "0.7.1"
33
38
  },
34
39
  "devDependencies": {