@vinyasa/navigation 1.0.26

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.
Files changed (98) hide show
  1. package/README.md +45 -0
  2. package/dist/cjs/breadcrumbs.cjs +240 -0
  3. package/dist/cjs/breadcrumbs.css +58 -0
  4. package/dist/cjs/command-navigation.cjs +215 -0
  5. package/dist/cjs/command-navigation.css +46 -0
  6. package/dist/cjs/index.cjs +2681 -0
  7. package/dist/cjs/index.css +1162 -0
  8. package/dist/cjs/navigation-menu.cjs +302 -0
  9. package/dist/cjs/navigation-menu.css +197 -0
  10. package/dist/cjs/pagination.cjs +462 -0
  11. package/dist/cjs/pagination.css +79 -0
  12. package/dist/cjs/sidebar.cjs +476 -0
  13. package/dist/cjs/sidebar.css +171 -0
  14. package/dist/cjs/stepper.cjs +270 -0
  15. package/dist/cjs/stepper.css +153 -0
  16. package/dist/cjs/tabs.cjs +260 -0
  17. package/dist/cjs/tabs.css +122 -0
  18. package/dist/cjs/top-navigation.cjs +363 -0
  19. package/dist/cjs/top-navigation.css +127 -0
  20. package/dist/cjs/tree-view.cjs +373 -0
  21. package/dist/cjs/tree-view.css +109 -0
  22. package/dist/cjs/workspace-switcher.cjs +249 -0
  23. package/dist/cjs/workspace-switcher.css +100 -0
  24. package/dist/esm/217.css +79 -0
  25. package/dist/esm/217.js +202 -0
  26. package/dist/esm/294.css +100 -0
  27. package/dist/esm/294.js +114 -0
  28. package/dist/esm/375.css +153 -0
  29. package/dist/esm/375.js +120 -0
  30. package/dist/esm/555.css +171 -0
  31. package/dist/esm/555.js +232 -0
  32. package/dist/esm/655.css +58 -0
  33. package/dist/esm/655.js +87 -0
  34. package/dist/esm/66.css +46 -0
  35. package/dist/esm/66.js +92 -0
  36. package/dist/esm/694.css +109 -0
  37. package/dist/esm/694.js +227 -0
  38. package/dist/esm/814.css +197 -0
  39. package/dist/esm/814.js +146 -0
  40. package/dist/esm/862.css +127 -0
  41. package/dist/esm/862.js +130 -0
  42. package/dist/esm/913.css +119 -0
  43. package/dist/esm/913.js +121 -0
  44. package/dist/esm/953.js +87 -0
  45. package/dist/esm/breadcrumbs.d.ts +2 -0
  46. package/dist/esm/breadcrumbs.js +1 -0
  47. package/dist/esm/command-navigation.d.ts +2 -0
  48. package/dist/esm/command-navigation.js +1 -0
  49. package/dist/esm/components/breadcrumbs/Breadcrumbs.css.d.ts +6 -0
  50. package/dist/esm/components/breadcrumbs/Breadcrumbs.d.ts +58 -0
  51. package/dist/esm/components/breadcrumbs/index.d.ts +1 -0
  52. package/dist/esm/components/command-navigation/CommandNavigation.css.d.ts +4 -0
  53. package/dist/esm/components/command-navigation/CommandNavigation.d.ts +50 -0
  54. package/dist/esm/components/command-navigation/index.d.ts +1 -0
  55. package/dist/esm/components/navigation-menu/NavigationMenu.css.d.ts +13 -0
  56. package/dist/esm/components/navigation-menu/NavigationMenu.d.ts +69 -0
  57. package/dist/esm/components/navigation-menu/index.d.ts +1 -0
  58. package/dist/esm/components/pagination/Pagination.css.d.ts +13 -0
  59. package/dist/esm/components/pagination/Pagination.d.ts +69 -0
  60. package/dist/esm/components/pagination/getPaginationRange.d.ts +15 -0
  61. package/dist/esm/components/pagination/index.d.ts +2 -0
  62. package/dist/esm/components/sidebar/Sidebar.css.d.ts +60 -0
  63. package/dist/esm/components/sidebar/Sidebar.d.ts +82 -0
  64. package/dist/esm/components/sidebar/index.d.ts +1 -0
  65. package/dist/esm/components/stepper/Stepper.css.d.ts +10 -0
  66. package/dist/esm/components/stepper/Stepper.d.ts +57 -0
  67. package/dist/esm/components/stepper/index.d.ts +1 -0
  68. package/dist/esm/components/tabs/Tabs.css.d.ts +6 -0
  69. package/dist/esm/components/tabs/Tabs.d.ts +39 -0
  70. package/dist/esm/components/tabs/index.d.ts +1 -0
  71. package/dist/esm/components/top-navigation/TopNavigation.css.d.ts +13 -0
  72. package/dist/esm/components/top-navigation/TopNavigation.d.ts +67 -0
  73. package/dist/esm/components/top-navigation/index.d.ts +1 -0
  74. package/dist/esm/components/tree-view/TreeView.css.d.ts +8 -0
  75. package/dist/esm/components/tree-view/TreeView.d.ts +43 -0
  76. package/dist/esm/components/tree-view/index.d.ts +1 -0
  77. package/dist/esm/components/workspace-switcher/WorkspaceSwitcher.css.d.ts +9 -0
  78. package/dist/esm/components/workspace-switcher/WorkspaceSwitcher.d.ts +43 -0
  79. package/dist/esm/components/workspace-switcher/index.d.ts +1 -0
  80. package/dist/esm/index.d.ts +10 -0
  81. package/dist/esm/index.js +10 -0
  82. package/dist/esm/navigation-menu.d.ts +2 -0
  83. package/dist/esm/navigation-menu.js +1 -0
  84. package/dist/esm/pagination.d.ts +2 -0
  85. package/dist/esm/pagination.js +1 -0
  86. package/dist/esm/sidebar.d.ts +2 -0
  87. package/dist/esm/sidebar.js +1 -0
  88. package/dist/esm/stepper.d.ts +2 -0
  89. package/dist/esm/stepper.js +1 -0
  90. package/dist/esm/tabs.d.ts +2 -0
  91. package/dist/esm/tabs.js +1 -0
  92. package/dist/esm/top-navigation.d.ts +2 -0
  93. package/dist/esm/top-navigation.js +1 -0
  94. package/dist/esm/tree-view.d.ts +2 -0
  95. package/dist/esm/tree-view.js +1 -0
  96. package/dist/esm/workspace-switcher.d.ts +2 -0
  97. package/dist/esm/workspace-switcher.js +1 -0
  98. package/package.json +146 -0
@@ -0,0 +1,10 @@
1
+ export { Sidebar, useSidebarCollapsed, type SidebarContentProps, type SidebarFooterProps, type SidebarHeaderProps, type SidebarItemProps, type SidebarItemSpec, type SidebarProps, type SidebarRootProps, type SidebarSectionProps, type SidebarSectionSpec, } from './components/sidebar';
2
+ export { TopNavigation, type TopNavigationActionsProps, type TopNavigationBrandProps, type TopNavigationContentProps, type TopNavigationItemProps, type TopNavigationItemSpec, type TopNavigationMobileTriggerProps, type TopNavigationProps, type TopNavigationRootProps, } from './components/top-navigation';
3
+ export { Tabs, type TabsContentGroupProps, type TabsContentProps, type TabsItemSpec, type TabsListProps, type TabsProps, type TabsRootProps, type TabsTriggerProps, } from './components/tabs';
4
+ export { Breadcrumbs, type BreadcrumbsItemProps, type BreadcrumbsItemSpec, type BreadcrumbsLinkProps, type BreadcrumbsListProps, type BreadcrumbsPageProps, type BreadcrumbsProps, type BreadcrumbsRootProps, type BreadcrumbsSeparatorProps, } from './components/breadcrumbs';
5
+ export { ELLIPSIS, getPaginationRange, Pagination, type PaginationEllipsisProps, type PaginationItemProps, type PaginationLinkProps, type PaginationListProps, type PaginationNextProps, type PaginationPreviousProps, type PaginationProps, type PaginationRangeItem, type PaginationRootProps, } from './components/pagination';
6
+ export { NavigationMenu, type NavigationMenuContentProps, type NavigationMenuIndicatorProps, type NavigationMenuItemProps, type NavigationMenuItemSpec, type NavigationMenuLinkProps, type NavigationMenuLinkSpec, type NavigationMenuListProps, type NavigationMenuProps, type NavigationMenuRootProps, type NavigationMenuTriggerProps, type NavigationMenuViewportProps, } from './components/navigation-menu';
7
+ export { Stepper, type StepperContentProps, type StepperDescriptionProps, type StepperIndicatorProps, type StepperLabelProps, type StepperOrientation, type StepperProps, type StepperRootProps, type StepperState, type StepperStepProps, type StepperStepSpec, } from './components/stepper';
8
+ export { avatarImage, WorkspaceSwitcher, type WorkspaceAvatarProps, type WorkspaceSpec, type WorkspaceSwitcherItemProps, type WorkspaceSwitcherProps, type WorkspaceSwitcherTriggerProps, } from './components/workspace-switcher';
9
+ export { TreeView, type TreeViewGroupProps, type TreeViewItemProps, type TreeViewNodeSpec, type TreeViewProps, type TreeViewRootProps, } from './components/tree-view';
10
+ export { CommandNavigation, type CommandNavigationGroupSpec, type CommandNavigationItemSpec, type CommandNavigationProps, type CommandNavigationTriggerProps, } from './components/command-navigation';
@@ -0,0 +1,10 @@
1
+ export { Breadcrumbs } from "./655.js";
2
+ export { CommandNavigation } from "./66.js";
3
+ export { ELLIPSIS, Pagination, getPaginationRange } from "./217.js";
4
+ export { NavigationMenu } from "./814.js";
5
+ export { Sidebar, useSidebarCollapsed } from "./555.js";
6
+ export { Stepper } from "./375.js";
7
+ export { Tabs } from "./913.js";
8
+ export { TopNavigation } from "./862.js";
9
+ export { TreeView } from "./694.js";
10
+ export { WorkspaceSwitcher, avatarImage } from "./294.js";
@@ -0,0 +1,2 @@
1
+ export * from './components/navigation-menu/index';
2
+ export { default } from './components/navigation-menu/index';
@@ -0,0 +1 @@
1
+ export { NavigationMenu } from "./814.js";
@@ -0,0 +1,2 @@
1
+ export * from './components/pagination/index';
2
+ export { default } from './components/pagination/index';
@@ -0,0 +1 @@
1
+ export { ELLIPSIS, Pagination, getPaginationRange } from "./217.js";
@@ -0,0 +1,2 @@
1
+ export * from './components/sidebar/index';
2
+ export { default } from './components/sidebar/index';
@@ -0,0 +1 @@
1
+ export { Sidebar, useSidebarCollapsed } from "./555.js";
@@ -0,0 +1,2 @@
1
+ export * from './components/stepper/index';
2
+ export { default } from './components/stepper/index';
@@ -0,0 +1 @@
1
+ export { Stepper } from "./375.js";
@@ -0,0 +1,2 @@
1
+ export * from './components/tabs/index';
2
+ export { default } from './components/tabs/index';
@@ -0,0 +1 @@
1
+ export { Tabs } from "./913.js";
@@ -0,0 +1,2 @@
1
+ export * from './components/top-navigation/index';
2
+ export { default } from './components/top-navigation/index';
@@ -0,0 +1 @@
1
+ export { TopNavigation } from "./862.js";
@@ -0,0 +1,2 @@
1
+ export * from './components/tree-view/index';
2
+ export { default } from './components/tree-view/index';
@@ -0,0 +1 @@
1
+ export { TreeView } from "./694.js";
@@ -0,0 +1,2 @@
1
+ export * from './components/workspace-switcher/index';
2
+ export { default } from './components/workspace-switcher/index';
@@ -0,0 +1 @@
1
+ export { WorkspaceSwitcher, avatarImage } from "./294.js";
package/package.json ADDED
@@ -0,0 +1,146 @@
1
+ {
2
+ "name": "@vinyasa/navigation",
3
+ "version": "1.0.26",
4
+ "private": false,
5
+ "type": "module",
6
+ "sideEffects": [
7
+ "**/*.css"
8
+ ],
9
+ "files": [
10
+ "dist",
11
+ "!dist/**/*.map",
12
+ "!dist/**/__story__/**",
13
+ "!dist/**/__test__/**",
14
+ "!dist/**/*.stories.d.ts",
15
+ "!dist/**/*.test.d.ts"
16
+ ],
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "main": "./dist/cjs/index.cjs",
21
+ "module": "./dist/esm/index.js",
22
+ "style": "./dist/esm/index.css",
23
+ "types": "./dist/esm/index.d.ts",
24
+ "exports": {
25
+ ".": {
26
+ "types": "./dist/esm/index.d.ts",
27
+ "import": "./dist/esm/index.js",
28
+ "require": "./dist/cjs/index.cjs",
29
+ "default": "./dist/esm/index.js"
30
+ },
31
+ "./sidebar": {
32
+ "types": "./dist/esm/sidebar.d.ts",
33
+ "import": "./dist/esm/sidebar.js",
34
+ "require": "./dist/cjs/sidebar.cjs",
35
+ "default": "./dist/esm/sidebar.js"
36
+ },
37
+ "./sidebar/style.css": "./dist/esm/sidebar.css",
38
+ "./top-navigation": {
39
+ "types": "./dist/esm/top-navigation.d.ts",
40
+ "import": "./dist/esm/top-navigation.js",
41
+ "require": "./dist/cjs/top-navigation.cjs",
42
+ "default": "./dist/esm/top-navigation.js"
43
+ },
44
+ "./top-navigation/style.css": "./dist/esm/top-navigation.css",
45
+ "./tabs": {
46
+ "types": "./dist/esm/tabs.d.ts",
47
+ "import": "./dist/esm/tabs.js",
48
+ "require": "./dist/cjs/tabs.cjs",
49
+ "default": "./dist/esm/tabs.js"
50
+ },
51
+ "./tabs/style.css": "./dist/esm/tabs.css",
52
+ "./breadcrumbs": {
53
+ "types": "./dist/esm/breadcrumbs.d.ts",
54
+ "import": "./dist/esm/breadcrumbs.js",
55
+ "require": "./dist/cjs/breadcrumbs.cjs",
56
+ "default": "./dist/esm/breadcrumbs.js"
57
+ },
58
+ "./breadcrumbs/style.css": "./dist/esm/breadcrumbs.css",
59
+ "./pagination": {
60
+ "types": "./dist/esm/pagination.d.ts",
61
+ "import": "./dist/esm/pagination.js",
62
+ "require": "./dist/cjs/pagination.cjs",
63
+ "default": "./dist/esm/pagination.js"
64
+ },
65
+ "./pagination/style.css": "./dist/esm/pagination.css",
66
+ "./navigation-menu": {
67
+ "types": "./dist/esm/navigation-menu.d.ts",
68
+ "import": "./dist/esm/navigation-menu.js",
69
+ "require": "./dist/cjs/navigation-menu.cjs",
70
+ "default": "./dist/esm/navigation-menu.js"
71
+ },
72
+ "./navigation-menu/style.css": "./dist/esm/navigation-menu.css",
73
+ "./stepper": {
74
+ "types": "./dist/esm/stepper.d.ts",
75
+ "import": "./dist/esm/stepper.js",
76
+ "require": "./dist/cjs/stepper.cjs",
77
+ "default": "./dist/esm/stepper.js"
78
+ },
79
+ "./stepper/style.css": "./dist/esm/stepper.css",
80
+ "./workspace-switcher": {
81
+ "types": "./dist/esm/workspace-switcher.d.ts",
82
+ "import": "./dist/esm/workspace-switcher.js",
83
+ "require": "./dist/cjs/workspace-switcher.cjs",
84
+ "default": "./dist/esm/workspace-switcher.js"
85
+ },
86
+ "./workspace-switcher/style.css": "./dist/esm/workspace-switcher.css",
87
+ "./tree-view": {
88
+ "types": "./dist/esm/tree-view.d.ts",
89
+ "import": "./dist/esm/tree-view.js",
90
+ "require": "./dist/cjs/tree-view.cjs",
91
+ "default": "./dist/esm/tree-view.js"
92
+ },
93
+ "./tree-view/style.css": "./dist/esm/tree-view.css",
94
+ "./command-navigation": {
95
+ "types": "./dist/esm/command-navigation.d.ts",
96
+ "import": "./dist/esm/command-navigation.js",
97
+ "require": "./dist/cjs/command-navigation.cjs",
98
+ "default": "./dist/esm/command-navigation.js"
99
+ },
100
+ "./command-navigation/style.css": "./dist/esm/command-navigation.css",
101
+ "./style.css": "./dist/esm/index.css",
102
+ "./package.json": "./package.json"
103
+ },
104
+ "peerDependencies": {
105
+ "react": "^18.0.0 || ^19.0.0",
106
+ "react-dom": "^18.0.0 || ^19.0.0",
107
+ "@vinyasa/icons": "^1.0.26",
108
+ "@vinyasa/overlay": "^1.0.26",
109
+ "@vinyasa/tokens": "^1.0.26",
110
+ "@vinyasa/typography": "^1.0.26"
111
+ },
112
+ "dependencies": {
113
+ "@radix-ui/react-navigation-menu": "^1.2.22",
114
+ "@radix-ui/react-tabs": "^1.1.21"
115
+ },
116
+ "devDependencies": {
117
+ "@rsbuild/plugin-react": "^2.1.0",
118
+ "@rslib/core": "^0.23.1",
119
+ "@storybook/react-vite": "^10.4.6",
120
+ "@types/node": "^26.0.1",
121
+ "@types/react": "^19.0.0",
122
+ "@vanilla-extract/css": "^1.21.0",
123
+ "@vanilla-extract/recipes": "^0.5.7",
124
+ "@vanilla-extract/vite-plugin": "^5.2.3",
125
+ "@vanilla-extract/webpack-plugin": "^2.3.27",
126
+ "typescript": "^5.7.3",
127
+ "@vinyasa/button": "1.0.26",
128
+ "@vinyasa/icons": "1.0.26",
129
+ "@vinyasa/layout": "1.0.26",
130
+ "@vinyasa/overlay": "1.0.26",
131
+ "@vinyasa/tokens": "1.0.26",
132
+ "@vinyasa/typography": "1.0.26"
133
+ },
134
+ "scripts": {
135
+ "build": "rslib build && node ../../scripts/postbuild-package.mjs",
136
+ "typecheck": "tsc --noEmit -p tsconfig.json",
137
+ "lint": "eslint --config ../../configs/eslint.config.mjs 'src/**/*.{ts,tsx}' --ignore-pattern 'src/**/__story__/**' --ignore-pattern 'src/**/__test__/**'",
138
+ "lint:fix": "eslint --config ../../configs/eslint.config.mjs 'src/**/*.{ts,tsx}' --ignore-pattern 'src/**/__story__/**' --ignore-pattern 'src/**/__test__/**' --fix",
139
+ "format": "prettier . --config ../../configs/prettier.config.json --ignore-path ../../configs/.prettierignore --write",
140
+ "format:check": "prettier . --config ../../configs/prettier.config.json --ignore-path ../../configs/.prettierignore --check",
141
+ "test": "vitest run --config vitest.config.ts",
142
+ "test:watch": "vitest --config vitest.config.ts",
143
+ "test:coverage": "vitest run --config vitest.config.ts --coverage",
144
+ "pack:check": "npm pack --dry-run"
145
+ }
146
+ }