@gridui/action-navigation 0.0.0-stage → 0.0.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
@@ -1,3 +1,8 @@
1
- # Temporary Holding Version
1
+ # @gridui/action-navigation
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Core family. Public API: `ActionNavigation`, `ActionNavigationProps`.
4
+
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.
7
+
8
+ See [component ownership](../../docs/component-ownership.md) and [release history](.changeset/history/).
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Action Navigation
4
+ * @namespace ActionNavigation
5
+ * @description Action Navigation
6
+ */
7
+ import type { ComponentPropsWithRef, FC } from "react";
8
+ export type ActionNavigationProps = ComponentPropsWithRef<"nav">;
9
+ export declare const ActionNavigation: FC<ActionNavigationProps>;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Action Navigation
4
+ * @namespace ActionNavigation
5
+ * @description Style
6
+ */
7
+ export declare const actionNavigationStyles: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @author WMXPY
3
+ * @package Action Navigation
4
+ * @namespace Root
5
+ * @description Index
6
+ */
7
+ export type { ActionNavigationProps } from "./action-navigation/action-navigation";
8
+ export { ActionNavigation } from "./action-navigation/action-navigation";
package/dist/index.js ADDED
@@ -0,0 +1,25 @@
1
+ // src/action-navigation/style.ts
2
+ import { cn } from "@gridui/style-utils";
3
+ import { cva } from "class-variance-authority";
4
+ var actionNavigationStyles = cva(cn(
5
+ "gridui-action-navigation",
6
+ "flex flex-wrap gap-gridui-16"
7
+ ));
8
+
9
+ // src/action-navigation/action-navigation.tsx
10
+ import { cn as cn2 } from "@gridui/style-utils";
11
+ import { jsx } from "react/jsx-runtime";
12
+ var ActionNavigation = (props) => {
13
+ const { className, ...restProps } = props;
14
+ return /* @__PURE__ */ jsx(
15
+ "nav",
16
+ {
17
+ ...restProps,
18
+ className: cn2(actionNavigationStyles(), className)
19
+ }
20
+ );
21
+ };
22
+ export {
23
+ ActionNavigation
24
+ };
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/action-navigation/style.ts", "../src/action-navigation/action-navigation.tsx"],
4
+ "sourcesContent": ["/**\n * @author WMXPY\n * @package Action Navigation\n * @namespace ActionNavigation\n * @description Style\n */\n\nimport { cn } from \"@gridui/style-utils\";\nimport { cva } from \"class-variance-authority\";\n\nexport const actionNavigationStyles = cva(cn(\n \"gridui-action-navigation\",\n \"flex flex-wrap gap-gridui-16\",\n));\n", "/**\n * @author WMXPY\n * @package Action Navigation\n * @namespace ActionNavigation\n * @description Action Navigation\n */\n\nimport { actionNavigationStyles } from \"./style\";\nimport { cn } from \"@gridui/style-utils\";\nimport type { ComponentPropsWithRef, FC } from \"react\";\n\nexport type ActionNavigationProps = ComponentPropsWithRef<\"nav\">;\n\nexport const ActionNavigation: FC<ActionNavigationProps> = (props: ActionNavigationProps) => {\n const { className, ...restProps } = props;\n return (<nav\n {...restProps}\n className={cn(actionNavigationStyles(), className)}\n />);\n};\n"],
5
+ "mappings": ";AAOA,SAAS,UAAU;AACnB,SAAS,WAAW;AAEb,IAAM,yBAAyB,IAAI;AAAA,EACtC;AAAA,EACA;AACJ,CAAC;;;ACLD,SAAS,MAAAA,WAAU;AAOP;AAFL,IAAM,mBAA8C,CAAC,UAAiC;AACzF,QAAM,EAAE,WAAW,GAAG,UAAU,IAAI;AACpC,SAAQ;AAAA,IAAC;AAAA;AAAA,MACJ,GAAG;AAAA,MACJ,WAAWA,IAAG,uBAAuB,GAAG,SAAS;AAAA;AAAA,EACrD;AACJ;",
6
+ "names": ["cn"]
7
+ }
@@ -0,0 +1,13 @@
1
+ /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
+ @layer theme, base, components, utilities;
3
+ @layer utilities {
4
+ .flex {
5
+ display: flex;
6
+ }
7
+ .flex-wrap {
8
+ flex-wrap: wrap;
9
+ }
10
+ .gap-gridui-16 {
11
+ gap: var(--gridui-space-16);
12
+ }
13
+ }
package/package.json CHANGED
@@ -1,6 +1,56 @@
1
1
  {
2
2
  "name": "@gridui/action-navigation",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.0.0",
4
+ "description": "GridUI React action navigation",
5
+ "license": "UNLICENSED",
6
+ "type": "module",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/sudo-ui/GridUI-React-Monorepo.git",
10
+ "directory": "packages-core/action-navigation"
11
+ },
12
+ "files": [
13
+ "dist",
14
+ "README.md"
15
+ ],
16
+ "sideEffects": [
17
+ "**/*.css"
18
+ ],
19
+ "exports": {
20
+ ".": {
21
+ "types": "./dist/index.d.ts",
22
+ "import": "./dist/index.js"
23
+ },
24
+ "./styles.css": "./dist/styles.css"
25
+ },
26
+ "publishConfig": {
27
+ "access": "public"
28
+ },
29
+ "peerDependencies": {
30
+ "react": "^19.2.0",
31
+ "react-dom": "^19.2.0"
32
+ },
33
+ "dependencies": {
34
+ "@gridui/style-utils": "^2.1.2",
35
+ "@gridui/theme": "^2.1.2",
36
+ "class-variance-authority": "0.7.1"
37
+ },
38
+ "devDependencies": {
39
+ "@gridui-internal/configuration": "0.0.0",
40
+ "@jest/globals": "30.5.2",
41
+ "@types/jest": "30.0.0",
42
+ "@types/node": "26.6.5",
43
+ "@types/react": "19.3.0",
44
+ "@types/react-dom": "19.3.0",
45
+ "jest": "30.5.2",
46
+ "react": "19.3.1",
47
+ "react-dom": "19.3.1",
48
+ "typescript": "6.0.3"
49
+ },
50
+ "scripts": {
51
+ "build": "node ../../scripts/compilation/package.ts",
52
+ "compile": "tsc --project tsconfig.json",
53
+ "test": "jest --passWithNoTests",
54
+ "coverage": "jest --coverage --passWithNoTests"
55
+ }
6
56
  }