@c-rex/components 0.1.37 → 0.1.39

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 (146) hide show
  1. package/README.md +73 -73
  2. package/package.json +250 -235
  3. package/src/article/article-action-bar.tsx +110 -110
  4. package/src/article/article-content.tsx +18 -46
  5. package/src/autocomplete.tsx +201 -201
  6. package/src/breadcrumb.tsx +124 -124
  7. package/src/carousel/carousel.tsx +353 -352
  8. package/src/check-article-lang.tsx +47 -43
  9. package/src/directoryNodes/directory-tree-context.tsx +388 -0
  10. package/src/directoryNodes/tree-of-content.tsx +68 -67
  11. package/src/documents/result-list.tsx +124 -127
  12. package/src/favorites/bookmark-button.tsx +97 -79
  13. package/src/favorites/favorite-button.tsx +137 -74
  14. package/src/footer/footer-shell.tsx +52 -0
  15. package/src/footer/footer.tsx +7 -0
  16. package/src/footer/legal-links-block.tsx +25 -0
  17. package/src/footer/organization-contact-block.tsx +94 -0
  18. package/src/footer/social-links-block.tsx +38 -0
  19. package/src/footer/types.ts +10 -0
  20. package/src/footer/vcard-footer.tsx +72 -0
  21. package/src/generated/client-components.tsx +1366 -1350
  22. package/src/generated/create-client-request.tsx +116 -113
  23. package/src/generated/create-server-request.tsx +70 -61
  24. package/src/generated/create-suggestions-request.tsx +55 -55
  25. package/src/generated/server-components.tsx +1056 -1056
  26. package/src/generated/suggestions.tsx +302 -299
  27. package/src/icons/file-icon.tsx +8 -8
  28. package/src/icons/flag-icon.tsx +15 -15
  29. package/src/icons/loading.tsx +11 -11
  30. package/src/icons/social-icon.tsx +24 -0
  31. package/src/info/info-card.tsx +43 -0
  32. package/src/info/{info-table.tsx → information-unit-metadata-grid.tsx} +157 -146
  33. package/src/info/shared.tsx +49 -25
  34. package/src/navbar/language-switcher/content-language-switch.tsx +92 -92
  35. package/src/navbar/language-switcher/shared.tsx +33 -33
  36. package/src/navbar/language-switcher/ui-language-switch.tsx +37 -38
  37. package/src/navbar/navbar.tsx +157 -148
  38. package/src/navbar/settings.tsx +62 -62
  39. package/src/navbar/sign-in-out-btns.tsx +35 -35
  40. package/src/navbar/user-menu.tsx +60 -60
  41. package/src/page-wrapper.tsx +54 -31
  42. package/src/render-article.module.css +155 -0
  43. package/src/render-article.tsx +75 -68
  44. package/src/renditions/file-download.tsx +83 -83
  45. package/src/renditions/html.tsx +64 -64
  46. package/src/renditions/image/container.tsx +54 -54
  47. package/src/renditions/image/rendition.tsx +55 -55
  48. package/src/restriction-menu/restriction-menu-container.tsx +117 -53
  49. package/src/restriction-menu/restriction-menu-item.tsx +155 -147
  50. package/src/restriction-menu/restriction-menu.tsx +341 -157
  51. package/src/results/dialog-filter.tsx +166 -166
  52. package/src/results/empty.tsx +15 -15
  53. package/src/results/filter-navbar.tsx +294 -261
  54. package/src/results/filter-sidebar/__tests__/utils.test.ts +129 -0
  55. package/src/results/filter-sidebar/index.tsx +270 -126
  56. package/src/results/filter-sidebar/utils.ts +196 -164
  57. package/src/results/generic/table-result-list.tsx +97 -99
  58. package/src/results/{table-with-images.tsx → information-unit-search-results-card-list.tsx} +125 -127
  59. package/src/results/{cards.tsx → information-unit-search-results-cards.tsx} +99 -99
  60. package/src/results/{table.tsx → information-unit-search-results-table.tsx} +104 -104
  61. package/src/results/pagination.tsx +81 -81
  62. package/src/results/summary.ts +30 -0
  63. package/src/results/utils.ts +54 -47
  64. package/src/search-input.tsx +70 -70
  65. package/src/share-button.tsx +49 -49
  66. package/src/stores/favorites-store.ts +88 -88
  67. package/src/stores/highlight-store.ts +15 -15
  68. package/src/stores/language-store.ts +14 -43
  69. package/src/stores/restriction-store.ts +11 -11
  70. package/src/stores/search-settings-store.ts +68 -64
  71. package/src/article/article-action-bar.analysis.md +0 -15
  72. package/src/article/article-action-bar.stories.tsx +0 -15
  73. package/src/article/article-content.analysis.md +0 -15
  74. package/src/article/article-content.stories.tsx +0 -21
  75. package/src/autocomplete.analysis.md +0 -17
  76. package/src/breadcrumb.analysis.md +0 -15
  77. package/src/carousel/carousel.analysis.md +0 -17
  78. package/src/check-article-lang.analysis.md +0 -15
  79. package/src/directoryNodes/tree-of-content.analysis.md +0 -14
  80. package/src/directoryNodes/tree-of-content.stories.tsx +0 -22
  81. package/src/documents/result-list.analysis.md +0 -14
  82. package/src/documents/result-list.stories.tsx +0 -19
  83. package/src/favorites/bookmark-button.analysis.md +0 -17
  84. package/src/favorites/bookmark-button.stories.tsx +0 -19
  85. package/src/favorites/favorite-button.analysis.md +0 -18
  86. package/src/favorites/favorite-button.stories.tsx +0 -22
  87. package/src/icons/file-icon.analysis.md +0 -14
  88. package/src/icons/file-icon.stories.tsx +0 -19
  89. package/src/icons/flag-icon.analysis.md +0 -14
  90. package/src/icons/flag-icon.stories.tsx +0 -25
  91. package/src/icons/loading.analysis.md +0 -14
  92. package/src/icons/loading.stories.tsx +0 -21
  93. package/src/info/info-table.analysis.md +0 -15
  94. package/src/info/shared.analysis.md +0 -14
  95. package/src/info/stories/info-table.stories.tsx +0 -31
  96. package/src/info/stories/shared.stories.tsx +0 -24
  97. package/src/navbar/language-switcher/content-language-switch.analysis.md +0 -15
  98. package/src/navbar/language-switcher/shared.analysis.md +0 -14
  99. package/src/navbar/language-switcher/ui-language-switch.analysis.md +0 -15
  100. package/src/navbar/navbar.analysis.md +0 -14
  101. package/src/navbar/settings.analysis.md +0 -14
  102. package/src/navbar/sign-in-out-btns.analysis.md +0 -14
  103. package/src/navbar/stories/navbar.stories.tsx +0 -31
  104. package/src/navbar/stories/settings.stories.tsx +0 -15
  105. package/src/navbar/stories/sign-in-out-btns.stories.tsx +0 -15
  106. package/src/navbar/stories/user-menu.stories.tsx +0 -20
  107. package/src/navbar/user-menu.analysis.md +0 -14
  108. package/src/page-wrapper.analysis.md +0 -14
  109. package/src/render-article.analysis.md +0 -15
  110. package/src/renditions/file-download.analysis.md +0 -14
  111. package/src/renditions/file-download.stories.tsx +0 -19
  112. package/src/renditions/html.analysis.md +0 -17
  113. package/src/renditions/html.stories.tsx +0 -19
  114. package/src/renditions/image/container.analysis.md +0 -15
  115. package/src/renditions/image/container.stories.tsx +0 -19
  116. package/src/renditions/image/rendition.analysis.md +0 -14
  117. package/src/renditions/image/rendition.stories.tsx +0 -19
  118. package/src/restriction-menu/restriction-menu-container.analysis.md +0 -14
  119. package/src/restriction-menu/restriction-menu-item.analysis.md +0 -14
  120. package/src/restriction-menu/restriction-menu.analysis.md +0 -17
  121. package/src/results/analysis/cards.analysis.md +0 -14
  122. package/src/results/analysis/dialog-filter.analysis.md +0 -17
  123. package/src/results/analysis/empty.analysis.md +0 -14
  124. package/src/results/analysis/filter-navbar.analysis.md +0 -16
  125. package/src/results/analysis/pagination.analysis.md +0 -14
  126. package/src/results/analysis/table-with-images.analysis.md +0 -15
  127. package/src/results/analysis/table.analysis.md +0 -15
  128. package/src/results/filter-sidebar/index.analysis.md +0 -14
  129. package/src/results/generic/table-result-list.analysis.md +0 -15
  130. package/src/results/generic/table-result-list.stories.tsx +0 -21
  131. package/src/results/stories/cards.stories.tsx +0 -66
  132. package/src/results/stories/dialog-filter.stories.tsx +0 -20
  133. package/src/results/stories/empty.stories.tsx +0 -25
  134. package/src/results/stories/filter-navbar.stories.tsx +0 -19
  135. package/src/results/stories/filter-sidebar.stories.tsx +0 -20
  136. package/src/results/stories/pagination.stories.tsx +0 -24
  137. package/src/results/stories/table-with-images.stories.tsx +0 -19
  138. package/src/results/stories/table.stories.tsx +0 -78
  139. package/src/search-input.analysis.md +0 -15
  140. package/src/share-button.analysis.md +0 -19
  141. package/src/stories/autocomplete.stories.tsx +0 -20
  142. package/src/stories/breadcrumb.stories.tsx +0 -93
  143. package/src/stories/check-article-lang.stories.tsx +0 -22
  144. package/src/stories/render-article.stories.tsx +0 -19
  145. package/src/stories/search-input.stories.tsx +0 -21
  146. package/src/stories/share-button.stories.tsx +0 -15
package/README.md CHANGED
@@ -1,74 +1,74 @@
1
- # C-Rex Components
2
-
3
- A collection of reusable React components built on top of @c-rex/ui for the C-Rex application.
4
-
5
- ## Features
6
-
7
- - Pre-built components following C-Rex design system
8
- - Built with TypeScript for type safety
9
- - Fully customizable and extensible
10
- - Integration with C-Rex services and utilities
11
-
12
- ## Installation
13
-
14
- This package is part of the C-Rex monorepo and comes pre-installed. If you need to install it separately:
15
-
16
- ```bash
17
- npm install @c-rex/components
18
- ```
19
-
20
- ## Available Components
21
-
22
- ### AppSidebar
23
- A navigation sidebar component that supports:
24
- - Nested menu items
25
- - Loading states with skeletons
26
- - Active state indicators
27
- - Collapsible functionality
28
-
29
- ```tsx
30
- import { AppSidebar } from '@c-rex/components';
31
-
32
- <AppSidebar
33
- data={treeData}
34
- loading={false}
35
- />
36
- ```
37
-
38
- ## Development
39
-
40
- ### Prerequisites
41
- - Node.js 18 or higher
42
- - Access to @c-rex/ui package
43
- - Access to @c-rex/interfaces package
44
-
45
- ### Testing
46
- ```bash
47
- npm run test
48
- ```
49
-
50
- ### Storybook
51
- View and interact with components in isolation:
52
- ```bash
53
- npm run storybook
54
- ```
55
-
56
- ## Contributing
57
-
58
- 1. Components should be built using @c-rex/ui as the foundation
59
- 2. Include TypeScript types
60
- 3. Add Storybook stories for new components
61
- 4. Write unit tests for component logic
62
- 5. Follow the existing component patterns
63
-
64
- ## Dependencies
65
-
66
- - @c-rex/ui: Base UI components
67
- - @c-rex/interfaces: Type definitions
68
- - @c-rex/services: API services
69
- - React 18+
70
-
71
- ## License
72
-
73
- Internal use only - C-Rex.net
1
+ # C-Rex Components
2
+
3
+ A collection of reusable React components built on top of @c-rex/ui for the C-Rex application.
4
+
5
+ ## Features
6
+
7
+ - Pre-built components following C-Rex design system
8
+ - Built with TypeScript for type safety
9
+ - Fully customizable and extensible
10
+ - Integration with C-Rex services and utilities
11
+
12
+ ## Installation
13
+
14
+ This package is part of the C-Rex monorepo and comes pre-installed. If you need to install it separately:
15
+
16
+ ```bash
17
+ npm install @c-rex/components
18
+ ```
19
+
20
+ ## Available Components
21
+
22
+ ### AppSidebar
23
+ A navigation sidebar component that supports:
24
+ - Nested menu items
25
+ - Loading states with skeletons
26
+ - Active state indicators
27
+ - Collapsible functionality
28
+
29
+ ```tsx
30
+ import { AppSidebar } from '@c-rex/components';
31
+
32
+ <AppSidebar
33
+ data={treeData}
34
+ loading={false}
35
+ />
36
+ ```
37
+
38
+ ## Development
39
+
40
+ ### Prerequisites
41
+ - Node.js 18 or higher
42
+ - Access to @c-rex/ui package
43
+ - Access to @c-rex/interfaces package
44
+
45
+ ### Testing
46
+ ```bash
47
+ npm run test
48
+ ```
49
+
50
+ ### Storybook
51
+ View and interact with components in isolation:
52
+ ```bash
53
+ npm run storybook
54
+ ```
55
+
56
+ ## Contributing
57
+
58
+ 1. Components should be built using @c-rex/ui as the foundation
59
+ 2. Include TypeScript types
60
+ 3. Add Storybook stories for new components
61
+ 4. Write unit tests for component logic
62
+ 5. Follow the existing component patterns
63
+
64
+ ## Dependencies
65
+
66
+ - @c-rex/ui: Base UI components
67
+ - @c-rex/interfaces: Type definitions
68
+ - @c-rex/services: API services
69
+ - React 18+
70
+
71
+ ## License
72
+
73
+ Internal use only - C-Rex.net
74
74
  ```
package/package.json CHANGED
@@ -1,235 +1,250 @@
1
- {
2
- "name": "@c-rex/components",
3
- "version": "0.1.37",
4
- "files": [
5
- "src"
6
- ],
7
- "publishConfig": {
8
- "access": "public"
9
- },
10
- "sideEffects": false,
11
- "exports": {
12
- "./server-components": {
13
- "types": "./src/generated/server-components.tsx",
14
- "import": "./src/generated/server-components.tsx"
15
- },
16
- "./client-components": {
17
- "types": "./src/generated/client-components.tsx",
18
- "import": "./src/generated/client-components.tsx"
19
- },
20
- "./suggestion-components": {
21
- "types": "./src/generated/suggestions.tsx",
22
- "import": "./src/generated/suggestions.tsx"
23
- },
24
- "./breadcrumb": {
25
- "types": "./src/breadcrumb.tsx",
26
- "import": "./src/breadcrumb.tsx"
27
- },
28
- "./navbar": {
29
- "types": "./src/navbar/navbar.tsx",
30
- "import": "./src/navbar/navbar.tsx"
31
- },
32
- "./page-wrapper": {
33
- "types": "./src/page-wrapper.tsx",
34
- "import": "./src/page-wrapper.tsx"
35
- },
36
- "./settings-menu": {
37
- "types": "./src/navbar/settings.tsx",
38
- "import": "./src/navbar/settings.tsx"
39
- },
40
- "./favorite-button": {
41
- "types": "./src/favorites/favorite-button.tsx",
42
- "import": "./src/favorites/favorite-button.tsx"
43
- },
44
- "./flag": {
45
- "types": "./src/icons/flag-icon.tsx",
46
- "import": "./src/icons/flag-icon.tsx"
47
- },
48
- "./loading": {
49
- "types": "./src/icons/loading.tsx",
50
- "import": "./src/icons/loading.tsx"
51
- },
52
- "./info-table": {
53
- "types": "./src/info/info-table.tsx",
54
- "import": "./src/info/info-table.tsx"
55
- },
56
- "./info-card": {
57
- "types": "./src/info/info-card.tsx",
58
- "import": "./src/info/info-card.tsx"
59
- },
60
- "./check-article-lang": {
61
- "types": "./src/check-article-lang.tsx",
62
- "import": "./src/check-article-lang.tsx"
63
- },
64
- "./render-article": {
65
- "types": "./src/render-article.tsx",
66
- "import": "./src/render-article.tsx"
67
- },
68
- "./html-rendition": {
69
- "types": "./src/renditions/html.tsx",
70
- "import": "./src/renditions/html.tsx"
71
- },
72
- "./image-rendition-container": {
73
- "types": "./src/renditions/container.ts",
74
- "import": "./src/renditions/container.ts"
75
- },
76
- "./autocomplete": {
77
- "types": "./src/autocomplete.tsx",
78
- "import": "./src/autocomplete.tsx"
79
- },
80
- "./result-container": {
81
- "types": "./src/result-container.tsx",
82
- "import": "./src/result-container.tsx"
83
- },
84
- "./dialog-filter": {
85
- "types": "./src/results/dialog-filter.tsx",
86
- "import": "./src/results/dialog-filter.tsx"
87
- },
88
- "./pagination": {
89
- "types": "./src/results/pagination.tsx",
90
- "import": "./src/results/pagination.tsx"
91
- },
92
- "./cards": {
93
- "types": "./src/results/cards.tsx",
94
- "import": "./src/results/cards.tsx"
95
- },
96
- "./empty": {
97
- "types": "./src/results/empty.tsx",
98
- "import": "./src/results/empty.tsx"
99
- },
100
- "./filter-sidebar": {
101
- "types": "./src/results/filter-sidebar/index.tsx",
102
- "import": "./src/results/filter-sidebar/index.tsx"
103
- },
104
- "./filter-navbar": {
105
- "types": "./src/results/filter-navbar.tsx",
106
- "import": "./src/results/filter-navbar.tsx"
107
- },
108
- "./language-store": {
109
- "types": "./src/stores/language-store.ts",
110
- "import": "./src/stores/language-store.ts"
111
- },
112
- "./highlight-store": {
113
- "types": "./src/stores/highlight-store.ts",
114
- "import": "./src/stores/highlight-store.ts"
115
- },
116
- "./favorites-store": {
117
- "types": "./src/stores/favorites-store.ts",
118
- "import": "./src/stores/favorites-store.ts"
119
- },
120
- "./search-settings-store": {
121
- "types": "./src/stores/search-settings-store.ts",
122
- "import": "./src/stores/search-settings-store.ts"
123
- },
124
- "./article-content": {
125
- "types": "./src/article/article-content.tsx",
126
- "import": "./src/article/article-content.tsx"
127
- },
128
- "./tree-of-content": {
129
- "types": "./src/directoryNodes/tree-of-content.tsx",
130
- "import": "./src/directoryNodes/tree-of-content.tsx"
131
- },
132
- "./share-button": {
133
- "types": "./src/share-button.tsx",
134
- "import": "./src/share-button.tsx"
135
- },
136
- "./file-download": {
137
- "types": "./src/renditions/file-download.tsx",
138
- "import": "./src/renditions/file-download.tsx"
139
- },
140
- "./image-container": {
141
- "types": "./src/renditions/image/container.tsx",
142
- "import": "./src/renditions/image/container.tsx"
143
- },
144
- "./image-rendition": {
145
- "types": "./src/renditions/image/rendition.tsx",
146
- "import": "./src/renditions/image/rendition.tsx"
147
- },
148
- "./server-image-rendition": {
149
- "types": "./src/renditions/image/server-image-rendition.tsx",
150
- "import": "./src/renditions/image/server-image-rendition.tsx"
151
- },
152
- "./article-skeleton": {
153
- "types": "./src/article/article-skeleton.tsx",
154
- "import": "./src/article/article-skeleton.tsx"
155
- },
156
- "./documents-result-list": {
157
- "types": "./src/documents/result-list.tsx",
158
- "import": "./src/documents/result-list.tsx"
159
- },
160
- "./generic-table-result-list": {
161
- "types": "./src/results/generic/table-result-list.tsx",
162
- "import": "./src/results/generic/table-result-list.tsx"
163
- },
164
- "./carousel": {
165
- "types": "./src/carousel/carousel.tsx",
166
- "import": "./src/carousel/carousel.tsx"
167
- },
168
- "./restriction-menu": {
169
- "types": "./src/restriction-menu/restriction-menu.tsx",
170
- "import": "./src/restriction-menu/restriction-menu.tsx"
171
- },
172
- "./restriction-menu-item": {
173
- "types": "./src/restriction-menu/restriction-menu-item.tsx",
174
- "import": "./src/restriction-menu/restriction-menu-item.tsx"
175
- },
176
- "./search-input": {
177
- "types": "./src/search-input.tsx",
178
- "import": "./src/search-input.tsx"
179
- }
180
- },
181
- "scripts": {
182
- "storybook": "storybook dev -p 6006",
183
- "build-storybook": "storybook build",
184
- "lint": "eslint .",
185
- "lint:fix": "eslint . --fix"
186
- },
187
- "devDependencies": {
188
- "@c-rex/eslint-config": "*",
189
- "@c-rex/typescript-config": "*",
190
- "@chromatic-com/storybook": "^3.2.6",
191
- "@storybook/addon-essentials": "^8.6.12",
192
- "@storybook/addon-onboarding": "^8.6.12",
193
- "@storybook/blocks": "^8.6.12",
194
- "@storybook/nextjs": "^8.6.12",
195
- "@storybook/react": "^8.6.12",
196
- "@storybook/test": "^8.6.12",
197
- "@turbo/gen": "^2.4.4",
198
- "@types/node": "^22.13.10",
199
- "@types/react": "19.0.10",
200
- "@types/react-dom": "19.0.4",
201
- "autoprefixer": "^10.4.21",
202
- "eslint": "^9.23.0",
203
- "eslint-plugin-storybook": "^0.12.0",
204
- "postcss": "^8.5.3",
205
- "storybook": "^8.6.12",
206
- "style-loader": "^4.0.0",
207
- "tailwindcss": "^3.4.17",
208
- "typescript": "latest"
209
- },
210
- "dependencies": {
211
- "@c-rex/config": "*",
212
- "@c-rex/constants": "*",
213
- "@c-rex/contexts": "*",
214
- "@c-rex/interfaces": "*",
215
- "@c-rex/services": "*",
216
- "@c-rex/ui": "*",
217
- "@c-rex/utils": "*",
218
- "country-flag-icons": "^1.5.19",
219
- "html-react-parser": "^5.2.6",
220
- "lucide-react": "^0.511.0",
221
- "next": "^14",
222
- "next-intl": "^4.1.0",
223
- "nuqs": "^2.4.3",
224
- "react": "^18.3.1",
225
- "react-dom": "^18.3.1",
226
- "react-icons": "^5.5.0",
227
- "tailwindcss-animate": "^1.0.7",
228
- "zustand": "^5.0.8"
229
- },
230
- "eslintConfig": {
231
- "extends": [
232
- "plugin:storybook/recommended"
233
- ]
234
- }
235
- }
1
+ {
2
+ "name": "@c-rex/components",
3
+ "version": "0.1.39",
4
+ "files": [
5
+ "src"
6
+ ],
7
+ "publishConfig": {
8
+ "access": "public"
9
+ },
10
+ "sideEffects": false,
11
+ "exports": {
12
+ "./server-components": {
13
+ "types": "./src/generated/server-components.tsx",
14
+ "import": "./src/generated/server-components.tsx"
15
+ },
16
+ "./client-components": {
17
+ "types": "./src/generated/client-components.tsx",
18
+ "import": "./src/generated/client-components.tsx"
19
+ },
20
+ "./suggestion-components": {
21
+ "types": "./src/generated/suggestions.tsx",
22
+ "import": "./src/generated/suggestions.tsx"
23
+ },
24
+ "./breadcrumb": {
25
+ "types": "./src/breadcrumb.tsx",
26
+ "import": "./src/breadcrumb.tsx"
27
+ },
28
+ "./navbar": {
29
+ "types": "./src/navbar/navbar.tsx",
30
+ "import": "./src/navbar/navbar.tsx"
31
+ },
32
+ "./page-wrapper": {
33
+ "types": "./src/page-wrapper.tsx",
34
+ "import": "./src/page-wrapper.tsx"
35
+ },
36
+ "./settings-menu": {
37
+ "types": "./src/navbar/settings.tsx",
38
+ "import": "./src/navbar/settings.tsx"
39
+ },
40
+ "./favorite-button": {
41
+ "types": "./src/favorites/favorite-button.tsx",
42
+ "import": "./src/favorites/favorite-button.tsx"
43
+ },
44
+ "./flag": {
45
+ "types": "./src/icons/flag-icon.tsx",
46
+ "import": "./src/icons/flag-icon.tsx"
47
+ },
48
+ "./loading": {
49
+ "types": "./src/icons/loading.tsx",
50
+ "import": "./src/icons/loading.tsx"
51
+ },
52
+ "./information-unit-metadata-grid": {
53
+ "types": "./src/info/information-unit-metadata-grid.tsx",
54
+ "import": "./src/info/information-unit-metadata-grid.tsx"
55
+ },
56
+ "./info-card": {
57
+ "types": "./src/info/info-card.tsx",
58
+ "import": "./src/info/info-card.tsx"
59
+ },
60
+ "./check-article-lang": {
61
+ "types": "./src/check-article-lang.tsx",
62
+ "import": "./src/check-article-lang.tsx"
63
+ },
64
+ "./render-article": {
65
+ "types": "./src/render-article.tsx",
66
+ "import": "./src/render-article.tsx"
67
+ },
68
+ "./html-rendition": {
69
+ "types": "./src/renditions/html.tsx",
70
+ "import": "./src/renditions/html.tsx"
71
+ },
72
+ "./image-rendition-container": {
73
+ "types": "./src/renditions/container.ts",
74
+ "import": "./src/renditions/container.ts"
75
+ },
76
+ "./autocomplete": {
77
+ "types": "./src/autocomplete.tsx",
78
+ "import": "./src/autocomplete.tsx"
79
+ },
80
+ "./result-container": {
81
+ "types": "./src/result-container.tsx",
82
+ "import": "./src/result-container.tsx"
83
+ },
84
+ "./dialog-filter": {
85
+ "types": "./src/results/dialog-filter.tsx",
86
+ "import": "./src/results/dialog-filter.tsx"
87
+ },
88
+ "./pagination": {
89
+ "types": "./src/results/pagination.tsx",
90
+ "import": "./src/results/pagination.tsx"
91
+ },
92
+ "./information-unit-search-results-cards": {
93
+ "types": "./src/results/information-unit-search-results-cards.tsx",
94
+ "import": "./src/results/information-unit-search-results-cards.tsx"
95
+ },
96
+ "./empty": {
97
+ "types": "./src/results/empty.tsx",
98
+ "import": "./src/results/empty.tsx"
99
+ },
100
+ "./filter-sidebar": {
101
+ "types": "./src/results/filter-sidebar/index.tsx",
102
+ "import": "./src/results/filter-sidebar/index.tsx"
103
+ },
104
+ "./filter-navbar": {
105
+ "types": "./src/results/filter-navbar.tsx",
106
+ "import": "./src/results/filter-navbar.tsx"
107
+ },
108
+ "./language-store": {
109
+ "types": "./src/stores/language-store.ts",
110
+ "import": "./src/stores/language-store.ts"
111
+ },
112
+ "./highlight-store": {
113
+ "types": "./src/stores/highlight-store.ts",
114
+ "import": "./src/stores/highlight-store.ts"
115
+ },
116
+ "./favorites-store": {
117
+ "types": "./src/stores/favorites-store.ts",
118
+ "import": "./src/stores/favorites-store.ts"
119
+ },
120
+ "./search-settings-store": {
121
+ "types": "./src/stores/search-settings-store.ts",
122
+ "import": "./src/stores/search-settings-store.ts"
123
+ },
124
+ "./article-content": {
125
+ "types": "./src/article/article-content.tsx",
126
+ "import": "./src/article/article-content.tsx"
127
+ },
128
+ "./tree-of-content": {
129
+ "types": "./src/directoryNodes/tree-of-content.tsx",
130
+ "import": "./src/directoryNodes/tree-of-content.tsx"
131
+ },
132
+ "./directory-tree-context": {
133
+ "types": "./src/directoryNodes/directory-tree-context.tsx",
134
+ "import": "./src/directoryNodes/directory-tree-context.tsx"
135
+ },
136
+ "./share-button": {
137
+ "types": "./src/share-button.tsx",
138
+ "import": "./src/share-button.tsx"
139
+ },
140
+ "./file-download": {
141
+ "types": "./src/renditions/file-download.tsx",
142
+ "import": "./src/renditions/file-download.tsx"
143
+ },
144
+ "./image-container": {
145
+ "types": "./src/renditions/image/container.tsx",
146
+ "import": "./src/renditions/image/container.tsx"
147
+ },
148
+ "./image-rendition": {
149
+ "types": "./src/renditions/image/rendition.tsx",
150
+ "import": "./src/renditions/image/rendition.tsx"
151
+ },
152
+ "./server-image-rendition": {
153
+ "types": "./src/renditions/image/server-image-rendition.tsx",
154
+ "import": "./src/renditions/image/server-image-rendition.tsx"
155
+ },
156
+ "./article-skeleton": {
157
+ "types": "./src/article/article-skeleton.tsx",
158
+ "import": "./src/article/article-skeleton.tsx"
159
+ },
160
+ "./documents-result-list": {
161
+ "types": "./src/documents/result-list.tsx",
162
+ "import": "./src/documents/result-list.tsx"
163
+ },
164
+ "./generic-table-result-list": {
165
+ "types": "./src/results/generic/table-result-list.tsx",
166
+ "import": "./src/results/generic/table-result-list.tsx"
167
+ },
168
+ "./carousel": {
169
+ "types": "./src/carousel/carousel.tsx",
170
+ "import": "./src/carousel/carousel.tsx"
171
+ },
172
+ "./restriction-menu": {
173
+ "types": "./src/restriction-menu/restriction-menu.tsx",
174
+ "import": "./src/restriction-menu/restriction-menu.tsx"
175
+ },
176
+ "./restriction-menu-item": {
177
+ "types": "./src/restriction-menu/restriction-menu-item.tsx",
178
+ "import": "./src/restriction-menu/restriction-menu-item.tsx"
179
+ },
180
+ "./search-input": {
181
+ "types": "./src/search-input.tsx",
182
+ "import": "./src/search-input.tsx"
183
+ },
184
+ "./footer": {
185
+ "types": "./src/footer/footer.tsx",
186
+ "import": "./src/footer/footer.tsx"
187
+ }
188
+ },
189
+ "scripts": {
190
+ "storybook": "storybook dev -p 6006",
191
+ "build-storybook": "storybook build",
192
+ "test:watch": "jest --watch",
193
+ "test": "jest",
194
+ "lint": "eslint .",
195
+ "lint:fix": "eslint . --fix"
196
+ },
197
+ "devDependencies": {
198
+ "@c-rex/eslint-config": "*",
199
+ "@c-rex/typescript-config": "*",
200
+ "@chromatic-com/storybook": "^3.2.6",
201
+ "@storybook/addon-essentials": "^8.6.12",
202
+ "@storybook/addon-onboarding": "^8.6.12",
203
+ "@storybook/blocks": "^8.6.12",
204
+ "@storybook/nextjs": "^8.6.12",
205
+ "@storybook/react": "^8.6.12",
206
+ "@storybook/test": "^8.6.12",
207
+ "@turbo/gen": "^2.4.4",
208
+ "@types/node": "^22.13.10",
209
+ "@types/jest": "^29.5.14",
210
+ "@types/react": "19.0.10",
211
+ "@types/react-dom": "19.0.4",
212
+ "autoprefixer": "^10.4.21",
213
+ "eslint": "^9.23.0",
214
+ "eslint-plugin-storybook": "^0.12.0",
215
+ "jest": "^29.7.0",
216
+ "postcss": "^8.5.3",
217
+ "storybook": "^8.6.12",
218
+ "style-loader": "^4.0.0",
219
+ "tailwindcss": "^3.4.17",
220
+ "ts-jest": "^29.1.2",
221
+ "typescript": "latest"
222
+ },
223
+ "dependencies": {
224
+ "@c-rex/config": "*",
225
+ "@c-rex/constants": "*",
226
+ "@c-rex/contexts": "*",
227
+ "@c-rex/core": "*",
228
+ "@c-rex/interfaces": "*",
229
+ "@c-rex/services": "*",
230
+ "@c-rex/types": "*",
231
+ "@c-rex/ui": "*",
232
+ "@c-rex/utils": "*",
233
+ "country-flag-icons": "^1.5.19",
234
+ "html-react-parser": "^5.2.6",
235
+ "lucide-react": "^0.511.0",
236
+ "next": "^14",
237
+ "next-intl": "^4.1.0",
238
+ "nuqs": "^2.4.3",
239
+ "react": "^18.3.1",
240
+ "react-dom": "^18.3.1",
241
+ "react-icons": "^5.5.0",
242
+ "tailwindcss-animate": "^1.0.7",
243
+ "zustand": "^5.0.8"
244
+ },
245
+ "eslintConfig": {
246
+ "extends": [
247
+ "plugin:storybook/recommended"
248
+ ]
249
+ }
250
+ }