@c-rex/components 0.1.38 → 0.1.39-build.14
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 +73 -73
- package/package.json +250 -218
- package/src/article/article-action-bar.tsx +110 -110
- package/src/article/article-content.tsx +18 -46
- package/src/autocomplete.tsx +201 -201
- package/src/breadcrumb.tsx +124 -124
- package/src/carousel/carousel.tsx +353 -353
- package/src/check-article-lang.tsx +47 -47
- package/src/directoryNodes/directory-tree-context.tsx +388 -0
- package/src/directoryNodes/tree-of-content.tsx +68 -67
- package/src/documents/result-list.tsx +124 -127
- package/src/favorites/bookmark-button.tsx +97 -94
- package/src/favorites/favorite-button.tsx +137 -120
- package/src/footer/footer-shell.tsx +52 -0
- package/src/footer/footer.tsx +7 -0
- package/src/footer/legal-links-block.tsx +25 -0
- package/src/footer/organization-contact-block.tsx +94 -0
- package/src/footer/social-links-block.tsx +38 -0
- package/src/footer/types.ts +10 -0
- package/src/footer/vcard-footer.tsx +72 -0
- package/src/generated/client-components.tsx +1366 -1350
- package/src/generated/create-client-request.tsx +116 -113
- package/src/generated/create-server-request.tsx +70 -61
- package/src/generated/create-suggestions-request.tsx +55 -55
- package/src/generated/server-components.tsx +1056 -1056
- package/src/generated/suggestions.tsx +302 -299
- package/src/icons/file-icon.tsx +8 -8
- package/src/icons/flag-icon.tsx +15 -15
- package/src/icons/loading.tsx +11 -11
- package/src/icons/social-icon.tsx +24 -0
- package/src/info/info-card.tsx +43 -0
- package/src/info/{info-table.tsx → information-unit-metadata-grid.tsx} +157 -168
- package/src/info/shared.tsx +49 -25
- package/src/navbar/language-switcher/content-language-switch.tsx +92 -92
- package/src/navbar/language-switcher/shared.tsx +33 -33
- package/src/navbar/language-switcher/ui-language-switch.tsx +37 -37
- package/src/navbar/navbar.tsx +157 -152
- package/src/navbar/settings.tsx +62 -62
- package/src/navbar/sign-in-out-btns.tsx +35 -35
- package/src/navbar/user-menu.tsx +60 -60
- package/src/page-wrapper.tsx +54 -31
- package/src/render-article.module.css +155 -0
- package/src/render-article.tsx +75 -68
- package/src/renditions/file-download.tsx +83 -83
- package/src/renditions/html.tsx +64 -64
- package/src/renditions/image/container.tsx +54 -54
- package/src/renditions/image/rendition.tsx +55 -55
- package/src/restriction-menu/restriction-menu-container.tsx +117 -53
- package/src/restriction-menu/restriction-menu-item.tsx +155 -147
- package/src/restriction-menu/restriction-menu.tsx +341 -156
- package/src/results/dialog-filter.tsx +166 -166
- package/src/results/empty.tsx +15 -15
- package/src/results/filter-navbar.tsx +294 -261
- package/src/results/filter-sidebar/__tests__/utils.test.ts +129 -0
- package/src/results/filter-sidebar/index.tsx +270 -126
- package/src/results/filter-sidebar/utils.ts +196 -164
- package/src/results/generic/table-result-list.tsx +97 -99
- package/src/results/{table-with-images.tsx → information-unit-search-results-card-list.tsx} +125 -127
- package/src/results/{cards.tsx → information-unit-search-results-cards.tsx} +99 -99
- package/src/results/{table.tsx → information-unit-search-results-table.tsx} +104 -104
- package/src/results/pagination.tsx +81 -81
- package/src/results/summary.ts +30 -0
- package/src/results/utils.ts +54 -54
- package/src/search-input.tsx +70 -70
- package/src/share-button.tsx +49 -49
- package/src/stores/favorites-store.ts +88 -88
- package/src/stores/highlight-store.ts +15 -15
- package/src/stores/language-store.ts +14 -14
- package/src/stores/restriction-store.ts +11 -11
- package/src/stores/search-settings-store.ts +68 -64
- package/src/info/set-available-versions.tsx +0 -19
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,218 +1,250 @@
|
|
|
1
|
-
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
"
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
"
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
"
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
"
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@c-rex/components",
|
|
3
|
+
"version": "0.1.39-build.14",
|
|
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
|
+
}
|