@gridui/action-navigation 1.0.6 → 1.1.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.
package/README.md CHANGED
@@ -3,7 +3,17 @@
3
3
  Core 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
+
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
+
7
17
 
8
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-core/action-navigation/.changeset/history).
9
19
 
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,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "name": "@gridui/action-navigation",
4
- "version": "1.0.6",
4
+ "version": "1.1.0",
5
5
  "category": "core",
6
6
  "description": "GridUI React action navigation",
7
7
  "usage": "Component reference contains focused API pages for each public component.",
@@ -26,7 +26,9 @@
26
26
  "@gridui/theme/styles.css",
27
27
  "@gridui/action-navigation/styles.css"
28
28
  ],
29
+ "styledImport": "@gridui/action-navigation/styled",
29
30
  "examples": [
31
+ "https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/action-navigation/stories/getting-started.mdx",
30
32
  "https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/action-navigation/stories/secondary-navigation.mdx",
31
33
  "https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/action-navigation/stories/action-navigation.stories.tsx"
32
34
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridui/action-navigation",
3
- "version": "1.0.6",
3
+ "version": "1.1.0",
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"
@@ -28,13 +33,13 @@
28
33
  },
29
34
  "dependencies": {
30
35
  "@gridui/style-utils": "^4.0.0",
31
- "@gridui/theme": "^2.5.3",
36
+ "@gridui/theme": "^4.0.0",
32
37
  "class-variance-authority": "0.7.1"
33
38
  },
34
39
  "devDependencies": {
35
40
  "@gridui-internal/configuration": "0.0.0-internal",
36
41
  "@jest/globals": "30.5.2",
37
- "@storybook/react-vite": "10.6.6",
42
+ "@storybook/react-vite": "10.6.7",
38
43
  "@types/jest": "30.0.0",
39
44
  "@types/node": "26.6.6",
40
45
  "@types/react": "19.3.0",