@regardio/react 0.4.5 → 0.4.7

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 (1) hide show
  1. package/package.json +143 -16
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "@maptiler/leaflet-maptilersdk": "4.1.1",
10
10
  "@maptiler/sdk": "3.9.0",
11
11
  "@mdx-js/react": "3.1.1",
12
- "@regardio/js": "0.4.1",
12
+ "@regardio/js": "0.4.2",
13
13
  "@supabase/supabase-js": "2.89.0",
14
14
  "cmdk": "1.1.1",
15
15
  "cva": "beta",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "description": "Regardio React UI components",
35
35
  "devDependencies": {
36
- "@regardio/dev": "1.9.4",
36
+ "@regardio/dev": "1.10.1",
37
37
  "@storybook/addon-a11y": "10.1.11",
38
38
  "@storybook/addon-docs": "10.1.11",
39
39
  "@storybook/addon-vitest": "10.1.11",
@@ -51,7 +51,7 @@
51
51
  "@vitest/coverage-v8": "4.0.16",
52
52
  "@vitest/ui": "4.0.16",
53
53
  "jsdom": "27.4.0",
54
- "playwright": "^1.57.0",
54
+ "playwright": "1.57.0",
55
55
  "storybook": "10.1.11",
56
56
  "tailwindcss": "4.1.18",
57
57
  "tsup": "8.5.1",
@@ -63,18 +63,146 @@
63
63
  "node": ">=18"
64
64
  },
65
65
  "exports": {
66
- "./components/*": {
67
- "import": "./dist/components/*.js",
68
- "types": "./dist/components/*.d.ts"
66
+ "./components/background-slideshow": {
67
+ "import": "./dist/components/background-slideshow.js",
68
+ "types": "./dist/components/background-slideshow.d.ts"
69
69
  },
70
- "./hooks/*": {
71
- "import": "./dist/hooks/*.js",
72
- "types": "./dist/hooks/*.d.ts"
70
+ "./components/blurry-gradient": {
71
+ "import": "./dist/components/blurry-gradient.js",
72
+ "types": "./dist/components/blurry-gradient.d.ts"
73
+ },
74
+ "./components/box": {
75
+ "import": "./dist/components/box.js",
76
+ "types": "./dist/components/box.d.ts"
77
+ },
78
+ "./components/carousel": {
79
+ "import": "./dist/components/carousel.js",
80
+ "types": "./dist/components/carousel.d.ts"
81
+ },
82
+ "./components/countdown": {
83
+ "import": "./dist/components/countdown.js",
84
+ "types": "./dist/components/countdown.d.ts"
85
+ },
86
+ "./components/definition-list": {
87
+ "import": "./dist/components/definition-list.js",
88
+ "types": "./dist/components/definition-list.d.ts"
89
+ },
90
+ "./components/generic-error": {
91
+ "import": "./dist/components/generic-error.js",
92
+ "types": "./dist/components/generic-error.d.ts"
93
+ },
94
+ "./components/heading": {
95
+ "import": "./dist/components/heading.js",
96
+ "types": "./dist/components/heading.d.ts"
97
+ },
98
+ "./components/highlight": {
99
+ "import": "./dist/components/highlight.js",
100
+ "types": "./dist/components/highlight.d.ts"
101
+ },
102
+ "./components/icon-button": {
103
+ "import": "./dist/components/icon-button.js",
104
+ "types": "./dist/components/icon-button.d.ts"
105
+ },
106
+ "./components/if": {
107
+ "import": "./dist/components/if.js",
108
+ "types": "./dist/components/if.d.ts"
109
+ },
110
+ "./components/iframe": {
111
+ "import": "./dist/components/iframe.js",
112
+ "types": "./dist/components/iframe.d.ts"
113
+ },
114
+ "./components/item": {
115
+ "import": "./dist/components/item.js",
116
+ "types": "./dist/components/item.d.ts"
117
+ },
118
+ "./components/leaflet-map": {
119
+ "import": "./dist/components/leaflet-map.js",
120
+ "types": "./dist/components/leaflet-map.d.ts"
121
+ },
122
+ "./components/link": {
123
+ "import": "./dist/components/link.js",
124
+ "types": "./dist/components/link.d.ts"
125
+ },
126
+ "./components/list-item": {
127
+ "import": "./dist/components/list-item.js",
128
+ "types": "./dist/components/list-item.d.ts"
129
+ },
130
+ "./components/maptiler-map": {
131
+ "import": "./dist/components/maptiler-map.js",
132
+ "types": "./dist/components/maptiler-map.d.ts"
133
+ },
134
+ "./components/markdown-container": {
135
+ "import": "./dist/components/markdown-container.js",
136
+ "types": "./dist/components/markdown-container.d.ts"
137
+ },
138
+ "./components/password-input": {
139
+ "import": "./dist/components/password-input.js",
140
+ "types": "./dist/components/password-input.d.ts"
141
+ },
142
+ "./components/picture": {
143
+ "import": "./dist/components/picture.js",
144
+ "types": "./dist/components/picture.d.ts"
145
+ },
146
+ "./components/protected-email": {
147
+ "import": "./dist/components/protected-email.js",
148
+ "types": "./dist/components/protected-email.d.ts"
149
+ },
150
+ "./components/text": {
151
+ "import": "./dist/components/text.js",
152
+ "types": "./dist/components/text.d.ts"
153
+ },
154
+ "./components/unordered-list": {
155
+ "import": "./dist/components/unordered-list.js",
156
+ "types": "./dist/components/unordered-list.d.ts"
157
+ },
158
+ "./hooks/use-current-route-data": {
159
+ "import": "./dist/hooks/use-current-route-data.js",
160
+ "types": "./dist/hooks/use-current-route-data.d.ts"
161
+ },
162
+ "./hooks/use-focus-search": {
163
+ "import": "./dist/hooks/use-focus-search.js",
164
+ "types": "./dist/hooks/use-focus-search.d.ts"
165
+ },
166
+ "./hooks/use-matches-data": {
167
+ "import": "./dist/hooks/use-matches-data.js",
168
+ "types": "./dist/hooks/use-matches-data.d.ts"
169
+ },
170
+ "./hooks/use-media-query": {
171
+ "import": "./dist/hooks/use-media-query.js",
172
+ "types": "./dist/hooks/use-media-query.d.ts"
173
+ },
174
+ "./hooks/use-mobile": {
175
+ "import": "./dist/hooks/use-mobile.js",
176
+ "types": "./dist/hooks/use-mobile.d.ts"
177
+ },
178
+ "./hooks/use-nonce": {
179
+ "import": "./dist/hooks/use-nonce.js",
180
+ "types": "./dist/hooks/use-nonce.d.ts"
181
+ },
182
+ "./hooks/use-orientation": {
183
+ "import": "./dist/hooks/use-orientation.js",
184
+ "types": "./dist/hooks/use-orientation.d.ts"
185
+ },
186
+ "./hooks/use-user": {
187
+ "import": "./dist/hooks/use-user.js",
188
+ "types": "./dist/hooks/use-user.d.ts"
73
189
  },
74
190
  "./tailwind.css": "./src/styles/tailwind.css",
75
- "./utils/*": {
76
- "import": "./dist/utils/*.js",
77
- "types": "./dist/utils/*.d.ts"
191
+ "./utils/author": {
192
+ "import": "./dist/utils/author.js",
193
+ "types": "./dist/utils/author.d.ts"
194
+ },
195
+ "./utils/cn": {
196
+ "import": "./dist/utils/cn.js",
197
+ "types": "./dist/utils/cn.d.ts"
198
+ },
199
+ "./utils/is-route-active": {
200
+ "import": "./dist/utils/is-route-active.js",
201
+ "types": "./dist/utils/is-route-active.d.ts"
202
+ },
203
+ "./utils/text": {
204
+ "import": "./dist/utils/text.js",
205
+ "types": "./dist/utils/text.d.ts"
78
206
  }
79
207
  },
80
208
  "files": ["dist", "src"],
@@ -87,12 +215,11 @@
87
215
  "access": "public"
88
216
  },
89
217
  "repository": {
90
- "directory": "packages/react",
91
218
  "type": "git",
92
- "url": "https://github.com/regardio/react.git"
219
+ "url": "git+https://github.com/regardio/react.git"
93
220
  },
94
221
  "scripts": {
95
- "build": "tsup",
222
+ "build": "tsup && post-build-exports --preserve \"./tailwind.css\" && pnpm fix",
96
223
  "clean": "exec-clean .turbo dist",
97
224
  "dev": "tsup --watch",
98
225
  "fix": "exec-p fix:*",
@@ -114,5 +241,5 @@
114
241
  },
115
242
  "sideEffects": ["./src/styles/tailwind.css"],
116
243
  "type": "module",
117
- "version": "0.4.5"
244
+ "version": "0.4.7"
118
245
  }