@passui/react 0.1.44 → 0.1.46
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 +57 -46
- package/dist/types/src/components/accordion/accordion.d.ts +1 -1
- package/dist/types/src/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/types/src/components/inline-disclosure/inline-disclosure.d.ts +1 -1
- package/dist/types/src/components/popover/anchored-surface.d.ts +5 -1
- package/dist/types/src/components/popover/index.d.ts +41 -0
- package/dist/types/src/components/popover/popover-content.d.ts +32 -0
- package/dist/types/src/components/popover/popover-root.d.ts +22 -0
- package/dist/types/src/components/popover/popover-trigger.d.ts +23 -0
- package/dist/types/src/components/stepper/rolling-digit.d.ts +1 -1
- package/dist/types/src/components/table/table.d.ts +1 -1
- package/dist/types/src/components/view-controller/view-controller.d.ts +2 -2
- package/dist/types/src/index.d.ts +1 -1
- package/dist/types/src/machines/popover.machine.d.ts +30 -0
- package/package.json +307 -307
- package/src/appearance/index.ts +2 -2
- package/src/appearance/platform.tsx +76 -60
- package/src/appearance/theme.tsx +409 -377
- package/src/components/accordion/accordion.tsx +58 -49
- package/src/components/ambient/ambient.tsx +25 -25
- package/src/components/ambient/index.ts +1 -1
- package/src/components/aspect-ratio/aspect-ratio.tsx +21 -16
- package/src/components/breadcrumb/breadcrumb.tsx +63 -57
- package/src/components/button/button-styles.ts +39 -32
- package/src/components/button/button.tsx +91 -84
- package/src/components/button/icon-button.tsx +27 -25
- package/src/components/button/pending-spinner.tsx +8 -8
- package/src/components/button/use-pending-indicator.ts +11 -11
- package/src/components/chip/chip.tsx +35 -30
- package/src/components/code-block/code-block.tsx +40 -39
- package/src/components/combo-box/combo-box.tsx +5 -5
- package/src/components/command/command.tsx +124 -94
- package/src/components/compact-date-picker/calendar-month.ts +75 -53
- package/src/components/compact-date-picker/compact-date-picker.tsx +308 -289
- package/src/components/compact-time-picker/compact-time-picker.tsx +288 -281
- package/src/components/compact-time-picker/time-value.ts +32 -29
- package/src/components/content-unavailable-view/content-unavailable-view.tsx +64 -48
- package/src/components/content-view/content-view.tsx +168 -159
- package/src/components/content-view/index.ts +1 -1
- package/src/components/context-menu/conceal-menu-source.ts +25 -25
- package/src/components/context-menu/context-menu-host.tsx +439 -398
- package/src/components/context-menu/context-menu-store.ts +125 -123
- package/src/components/context-menu/menu-navigation.ts +25 -18
- package/src/components/context-menu/menu-position.ts +33 -29
- package/src/components/context-menu/menu-reveal.ts +32 -32
- package/src/components/context-menu/use-context-menu.ts +63 -56
- package/src/components/conversation/conversation.tsx +265 -263
- package/src/components/conversation/index.ts +1 -1
- package/src/components/date-picker/date-picker.tsx +95 -94
- package/src/components/date-picker/date-value.ts +20 -10
- package/src/components/dialog/dialog-host.tsx +105 -103
- package/src/components/dialog/dialog-store.ts +37 -36
- package/src/components/dialog/dialog.tsx +192 -179
- package/src/components/dialog/index.ts +1 -1
- package/src/components/disclosure-group/disclosure-group.tsx +93 -86
- package/src/components/divider/divider.tsx +24 -22
- package/src/components/inline-disclosure/inline-disclosure.tsx +40 -36
- package/src/components/keyboard-shortcut/keyboard-shortcut.tsx +23 -19
- package/src/components/labeled-content/labeled-content.tsx +68 -68
- package/src/components/locale-switcher/index.ts +1 -1
- package/src/components/locale-switcher/locale-switcher.tsx +279 -251
- package/src/components/menu/menu.tsx +75 -58
- package/src/components/morph/index.ts +2 -2
- package/src/components/morph/morph.tsx +227 -201
- package/src/components/morph/use-morph-disclosure.ts +19 -19
- package/src/components/one-time-code/one-time-code.tsx +216 -200
- package/src/components/picker/picker-trigger.ts +16 -13
- package/src/components/picker/picker.tsx +371 -345
- package/src/components/popover/anchored-surface.tsx +253 -229
- package/src/components/popover/index.ts +50 -0
- package/src/components/popover/popover-content.tsx +334 -0
- package/src/components/popover/popover-fit.ts +58 -53
- package/src/components/popover/popover-root.tsx +97 -0
- package/src/components/popover/popover-trigger.tsx +71 -0
- package/src/components/profile-image/profile-image.tsx +80 -64
- package/src/components/progress-view/progress-view.tsx +61 -59
- package/src/components/progress-view/use-liquid-progress.ts +38 -38
- package/src/components/radio-group/radio-group.tsx +71 -68
- package/src/components/search-field/expanding-search-field.tsx +191 -177
- package/src/components/search-field/search-field.tsx +59 -50
- package/src/components/search-list/search-list.tsx +246 -236
- package/src/components/section/section.tsx +58 -58
- package/src/components/secure-field/secure-field.tsx +3 -3
- package/src/components/segmented-control/segmented-control.tsx +136 -136
- package/src/components/sheet/modal-environment.ts +71 -64
- package/src/components/sheet/sheet-portal.tsx +58 -53
- package/src/components/sheet/sheet.tsx +146 -141
- package/src/components/sheet/use-sheet-focus.ts +97 -82
- package/src/components/sidebar/sidebar.tsx +78 -78
- package/src/components/skeleton/skeleton.tsx +30 -21
- package/src/components/slider/slider.tsx +113 -104
- package/src/components/slosh-slider/liquid-step.ts +32 -31
- package/src/components/slosh-slider/slosh-slider.tsx +265 -228
- package/src/components/stat-tile/index.ts +1 -1
- package/src/components/stat-tile/stat-tile.tsx +79 -68
- package/src/components/status-indicator/status-indicator.tsx +40 -37
- package/src/components/stepper/rolling-digit.tsx +82 -68
- package/src/components/stepper/stepper.tsx +122 -113
- package/src/components/swatch-picker/swatch-picker.tsx +120 -120
- package/src/components/tab-bar/tab-bar.tsx +149 -148
- package/src/components/tab-view/tab-view.tsx +140 -137
- package/src/components/table/table.tsx +117 -98
- package/src/components/text-editor/text-editor.tsx +34 -29
- package/src/components/text-field/text-field.tsx +182 -180
- package/src/components/toast/toast-store.ts +127 -115
- package/src/components/toast/toaster.tsx +361 -347
- package/src/components/toggle/toggle.tsx +297 -282
- package/src/components/tooltip/tooltip-host.tsx +157 -150
- package/src/components/view-controller/index.ts +1 -1
- package/src/components/view-controller/view-controller.tsx +64 -53
- package/src/components/wake-slider/wake-slider.tsx +220 -205
- package/src/hooks/scroll/minimize-decision.ts +11 -7
- package/src/hooks/use-anchored-disclosure.ts +19 -19
- package/src/hooks/use-anchored-placement.ts +29 -25
- package/src/hooks/use-dismiss.ts +33 -29
- package/src/hooks/use-floating-dismiss.ts +24 -22
- package/src/hooks/use-media-query.ts +67 -60
- package/src/hooks/use-minimize-on-scroll.ts +69 -60
- package/src/hooks/use-visual-viewport.ts +63 -63
- package/src/hooks/viewport/types.ts +16 -16
- package/src/hooks/viewport/viewport-metrics.ts +16 -10
- package/src/icons/icons.tsx +440 -328
- package/src/index.ts +91 -91
- package/src/lib/anchored-placement.ts +70 -65
- package/src/lib/class-names.ts +14 -13
- package/src/lib/clipboard.ts +8 -7
- package/src/lib/date.ts +61 -60
- package/src/lib/floating-layers.ts +39 -24
- package/src/lib/haptics.ts +10 -10
- package/src/lib/language.ts +9 -9
- package/src/lib/range-value.ts +27 -21
- package/src/lib/screen-edges.ts +33 -30
- package/src/lib/shapes.ts +38 -34
- package/src/machines/popover.machine.ts +51 -0
- package/src/motion/transitions.ts +46 -43
- package/src/styles/code-block.css +69 -43
- package/src/styles/motion-controls.css +393 -191
- package/src/tokens.ts +1 -1
- package/dist/types/src/components/popover/popover.d.ts +0 -21
- package/src/components/popover/popover.tsx +0 -322
package/package.json
CHANGED
|
@@ -1,309 +1,309 @@
|
|
|
1
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
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
2
|
+
"name": "@passui/react",
|
|
3
|
+
"version": "0.1.46",
|
|
4
|
+
"description": "Passui: native React controls, design tokens, presentation and appearance.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/phe-rus/passui.git",
|
|
9
|
+
"directory": "packages/ui"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://passui.pherus.org",
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"registry": "https://registry.npmjs.org",
|
|
14
|
+
"access": "public"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"src",
|
|
18
|
+
"README.md",
|
|
19
|
+
"LICENSE",
|
|
20
|
+
"dist/types",
|
|
21
|
+
"THIRD_PARTY_NOTICES.md"
|
|
22
|
+
],
|
|
23
|
+
"type": "module",
|
|
24
|
+
"types": "./dist/types/src/index.d.ts",
|
|
25
|
+
"sideEffects": [
|
|
26
|
+
"**/*.css"
|
|
27
|
+
],
|
|
28
|
+
"exports": {
|
|
29
|
+
"./accordion": {
|
|
30
|
+
"types": "./dist/types/src/components/accordion/accordion.d.ts",
|
|
31
|
+
"default": "./src/components/accordion/accordion.tsx"
|
|
32
|
+
},
|
|
33
|
+
"./icons": {
|
|
34
|
+
"types": "./dist/types/src/icons/icons.d.ts",
|
|
35
|
+
"default": "./src/icons/icons.tsx"
|
|
36
|
+
},
|
|
37
|
+
"./clipboard": {
|
|
38
|
+
"types": "./dist/types/src/lib/clipboard.d.ts",
|
|
39
|
+
"default": "./src/lib/clipboard.ts"
|
|
40
|
+
},
|
|
41
|
+
"./search-field": {
|
|
42
|
+
"types": "./dist/types/src/components/search-field/search-field.d.ts",
|
|
43
|
+
"default": "./src/components/search-field/search-field.tsx"
|
|
44
|
+
},
|
|
45
|
+
"./picker": {
|
|
46
|
+
"types": "./dist/types/src/components/picker/picker.d.ts",
|
|
47
|
+
"default": "./src/components/picker/picker.tsx"
|
|
48
|
+
},
|
|
49
|
+
"./segmented-control": {
|
|
50
|
+
"types": "./dist/types/src/components/segmented-control/segmented-control.d.ts",
|
|
51
|
+
"default": "./src/components/segmented-control/segmented-control.tsx"
|
|
52
|
+
},
|
|
53
|
+
"./table": {
|
|
54
|
+
"types": "./dist/types/src/components/table/table.d.ts",
|
|
55
|
+
"default": "./src/components/table/table.tsx"
|
|
56
|
+
},
|
|
57
|
+
"./search-list": {
|
|
58
|
+
"types": "./dist/types/src/components/search-list/search-list.d.ts",
|
|
59
|
+
"default": "./src/components/search-list/search-list.tsx"
|
|
60
|
+
},
|
|
61
|
+
"./profile-image": {
|
|
62
|
+
"types": "./dist/types/src/components/profile-image/profile-image.d.ts",
|
|
63
|
+
"default": "./src/components/profile-image/profile-image.tsx"
|
|
64
|
+
},
|
|
65
|
+
"./popover": {
|
|
66
|
+
"types": "./dist/types/src/components/popover/index.d.ts",
|
|
67
|
+
"default": "./src/components/popover/index.ts"
|
|
68
|
+
},
|
|
69
|
+
"./morph": {
|
|
70
|
+
"types": "./dist/types/src/components/morph/index.d.ts",
|
|
71
|
+
"default": "./src/components/morph/index.ts"
|
|
72
|
+
},
|
|
73
|
+
"./sheet": {
|
|
74
|
+
"types": "./dist/types/src/components/sheet/sheet.d.ts",
|
|
75
|
+
"default": "./src/components/sheet/sheet.tsx"
|
|
76
|
+
},
|
|
77
|
+
"./use-dismiss": {
|
|
78
|
+
"types": "./dist/types/src/hooks/use-dismiss.d.ts",
|
|
79
|
+
"default": "./src/hooks/use-dismiss.ts"
|
|
80
|
+
},
|
|
81
|
+
"./toast": {
|
|
82
|
+
"types": "./dist/types/src/components/toast/toast-store.d.ts",
|
|
83
|
+
"default": "./src/components/toast/toast-store.ts"
|
|
84
|
+
},
|
|
85
|
+
"./toaster": {
|
|
86
|
+
"types": "./dist/types/src/components/toast/toaster.d.ts",
|
|
87
|
+
"default": "./src/components/toast/toaster.tsx"
|
|
88
|
+
},
|
|
89
|
+
"./tab-view": {
|
|
90
|
+
"types": "./dist/types/src/components/tab-view/tab-view.d.ts",
|
|
91
|
+
"default": "./src/components/tab-view/tab-view.tsx"
|
|
92
|
+
},
|
|
93
|
+
"./sidebar": {
|
|
94
|
+
"types": "./dist/types/src/components/sidebar/sidebar.d.ts",
|
|
95
|
+
"default": "./src/components/sidebar/sidebar.tsx"
|
|
96
|
+
},
|
|
97
|
+
"./icon-button": {
|
|
98
|
+
"types": "./dist/types/src/components/button/icon-button.d.ts",
|
|
99
|
+
"default": "./src/components/button/icon-button.tsx"
|
|
100
|
+
},
|
|
101
|
+
"./secure-field": {
|
|
102
|
+
"types": "./dist/types/src/components/secure-field/secure-field.d.ts",
|
|
103
|
+
"default": "./src/components/secure-field/secure-field.tsx"
|
|
104
|
+
},
|
|
105
|
+
"./text-field": {
|
|
106
|
+
"types": "./dist/types/src/components/text-field/text-field.d.ts",
|
|
107
|
+
"default": "./src/components/text-field/text-field.tsx"
|
|
108
|
+
},
|
|
109
|
+
"./text-editor": {
|
|
110
|
+
"types": "./dist/types/src/components/text-editor/text-editor.d.ts",
|
|
111
|
+
"default": "./src/components/text-editor/text-editor.tsx"
|
|
112
|
+
},
|
|
113
|
+
"./button": {
|
|
114
|
+
"types": "./dist/types/src/components/button/button.d.ts",
|
|
115
|
+
"default": "./src/components/button/button.tsx"
|
|
116
|
+
},
|
|
117
|
+
"./toggle": {
|
|
118
|
+
"types": "./dist/types/src/components/toggle/toggle.d.ts",
|
|
119
|
+
"default": "./src/components/toggle/toggle.tsx"
|
|
120
|
+
},
|
|
121
|
+
"./menu": {
|
|
122
|
+
"types": "./dist/types/src/components/menu/menu.d.ts",
|
|
123
|
+
"default": "./src/components/menu/menu.tsx"
|
|
124
|
+
},
|
|
125
|
+
"./disclosure-group": {
|
|
126
|
+
"types": "./dist/types/src/components/disclosure-group/disclosure-group.d.ts",
|
|
127
|
+
"default": "./src/components/disclosure-group/disclosure-group.tsx"
|
|
128
|
+
},
|
|
129
|
+
"./slider": {
|
|
130
|
+
"types": "./dist/types/src/components/slider/slider.d.ts",
|
|
131
|
+
"default": "./src/components/slider/slider.tsx"
|
|
132
|
+
},
|
|
133
|
+
"./stepper": {
|
|
134
|
+
"types": "./dist/types/src/components/stepper/stepper.d.ts",
|
|
135
|
+
"default": "./src/components/stepper/stepper.tsx"
|
|
136
|
+
},
|
|
137
|
+
"./progress-view": {
|
|
138
|
+
"types": "./dist/types/src/components/progress-view/progress-view.d.ts",
|
|
139
|
+
"default": "./src/components/progress-view/progress-view.tsx"
|
|
140
|
+
},
|
|
141
|
+
"./divider": {
|
|
142
|
+
"types": "./dist/types/src/components/divider/divider.d.ts",
|
|
143
|
+
"default": "./src/components/divider/divider.tsx"
|
|
144
|
+
},
|
|
145
|
+
"./cn": {
|
|
146
|
+
"types": "./dist/types/src/lib/class-names.d.ts",
|
|
147
|
+
"default": "./src/lib/class-names.ts"
|
|
148
|
+
},
|
|
149
|
+
".": {
|
|
150
|
+
"types": "./dist/types/src/index.d.ts",
|
|
151
|
+
"default": "./src/index.ts"
|
|
152
|
+
},
|
|
153
|
+
"./base.css": "./src/styles/base.css",
|
|
154
|
+
"./utilities.css": "./src/styles/utilities.css",
|
|
155
|
+
"./theme.css": "./src/styles/theme.css",
|
|
156
|
+
"./tokens": {
|
|
157
|
+
"types": "./dist/types/src/tokens.d.ts",
|
|
158
|
+
"default": "./src/tokens.ts"
|
|
159
|
+
},
|
|
160
|
+
"./date-picker": {
|
|
161
|
+
"types": "./dist/types/src/components/date-picker/date-picker.d.ts",
|
|
162
|
+
"default": "./src/components/date-picker/date-picker.tsx"
|
|
163
|
+
},
|
|
164
|
+
"./compact-date-picker": {
|
|
165
|
+
"types": "./dist/types/src/components/compact-date-picker/compact-date-picker.d.ts",
|
|
166
|
+
"default": "./src/components/compact-date-picker/compact-date-picker.tsx"
|
|
167
|
+
},
|
|
168
|
+
"./compact-time-picker": {
|
|
169
|
+
"types": "./dist/types/src/components/compact-time-picker/compact-time-picker.d.ts",
|
|
170
|
+
"default": "./src/components/compact-time-picker/compact-time-picker.tsx"
|
|
171
|
+
},
|
|
172
|
+
"./view-controller": {
|
|
173
|
+
"types": "./dist/types/src/components/view-controller/index.d.ts",
|
|
174
|
+
"default": "./src/components/view-controller/index.ts"
|
|
175
|
+
},
|
|
176
|
+
"./content-view": {
|
|
177
|
+
"types": "./dist/types/src/components/content-view/index.d.ts",
|
|
178
|
+
"default": "./src/components/content-view/index.ts"
|
|
179
|
+
},
|
|
180
|
+
"./ambient": {
|
|
181
|
+
"types": "./dist/types/src/components/ambient/index.d.ts",
|
|
182
|
+
"default": "./src/components/ambient/index.ts"
|
|
183
|
+
},
|
|
184
|
+
"./stat-tile": {
|
|
185
|
+
"types": "./dist/types/src/components/stat-tile/index.d.ts",
|
|
186
|
+
"default": "./src/components/stat-tile/index.ts"
|
|
187
|
+
},
|
|
188
|
+
"./conversation": {
|
|
189
|
+
"types": "./dist/types/src/components/conversation/index.d.ts",
|
|
190
|
+
"default": "./src/components/conversation/index.ts"
|
|
191
|
+
},
|
|
192
|
+
"./locale-switcher": {
|
|
193
|
+
"types": "./dist/types/src/components/locale-switcher/index.d.ts",
|
|
194
|
+
"default": "./src/components/locale-switcher/index.ts"
|
|
195
|
+
},
|
|
196
|
+
"./date": {
|
|
197
|
+
"types": "./dist/types/src/lib/date.d.ts",
|
|
198
|
+
"default": "./src/lib/date.ts"
|
|
199
|
+
},
|
|
200
|
+
"./language": {
|
|
201
|
+
"types": "./dist/types/src/lib/language.d.ts",
|
|
202
|
+
"default": "./src/lib/language.ts"
|
|
203
|
+
},
|
|
204
|
+
"./shapes": {
|
|
205
|
+
"types": "./dist/types/src/lib/shapes.d.ts",
|
|
206
|
+
"default": "./src/lib/shapes.ts"
|
|
207
|
+
},
|
|
208
|
+
"./appearance": {
|
|
209
|
+
"types": "./dist/types/src/appearance/index.d.ts",
|
|
210
|
+
"default": "./src/appearance/index.ts"
|
|
211
|
+
},
|
|
212
|
+
"./use-media-query": {
|
|
213
|
+
"types": "./dist/types/src/hooks/use-media-query.d.ts",
|
|
214
|
+
"default": "./src/hooks/use-media-query.ts"
|
|
215
|
+
},
|
|
216
|
+
"./typeset.css": "./src/styles/typeset.css",
|
|
217
|
+
"./styles.css": "./src/styles/styles.css",
|
|
218
|
+
"./dialog": {
|
|
219
|
+
"types": "./dist/types/src/components/dialog/index.d.ts",
|
|
220
|
+
"default": "./src/components/dialog/index.ts"
|
|
221
|
+
},
|
|
222
|
+
"./inline-disclosure": {
|
|
223
|
+
"types": "./dist/types/src/components/inline-disclosure/inline-disclosure.d.ts",
|
|
224
|
+
"default": "./src/components/inline-disclosure/inline-disclosure.tsx"
|
|
225
|
+
},
|
|
226
|
+
"./code-block": {
|
|
227
|
+
"types": "./dist/types/src/components/code-block/code-block.d.ts",
|
|
228
|
+
"default": "./src/components/code-block/code-block.tsx"
|
|
229
|
+
},
|
|
230
|
+
"./keyboard-shortcut": {
|
|
231
|
+
"types": "./dist/types/src/components/keyboard-shortcut/keyboard-shortcut.d.ts",
|
|
232
|
+
"default": "./src/components/keyboard-shortcut/keyboard-shortcut.tsx"
|
|
233
|
+
},
|
|
234
|
+
"./content-unavailable-view": {
|
|
235
|
+
"types": "./dist/types/src/components/content-unavailable-view/content-unavailable-view.d.ts",
|
|
236
|
+
"default": "./src/components/content-unavailable-view/content-unavailable-view.tsx"
|
|
237
|
+
},
|
|
238
|
+
"./combo-box": {
|
|
239
|
+
"types": "./dist/types/src/components/combo-box/combo-box.d.ts",
|
|
240
|
+
"default": "./src/components/combo-box/combo-box.tsx"
|
|
241
|
+
},
|
|
242
|
+
"./radio-group": {
|
|
243
|
+
"types": "./dist/types/src/components/radio-group/radio-group.d.ts",
|
|
244
|
+
"default": "./src/components/radio-group/radio-group.tsx"
|
|
245
|
+
},
|
|
246
|
+
"./breadcrumb": {
|
|
247
|
+
"types": "./dist/types/src/components/breadcrumb/breadcrumb.d.ts",
|
|
248
|
+
"default": "./src/components/breadcrumb/breadcrumb.tsx"
|
|
249
|
+
},
|
|
250
|
+
"./skeleton": {
|
|
251
|
+
"types": "./dist/types/src/components/skeleton/skeleton.d.ts",
|
|
252
|
+
"default": "./src/components/skeleton/skeleton.tsx"
|
|
253
|
+
},
|
|
254
|
+
"./command": {
|
|
255
|
+
"types": "./dist/types/src/components/command/command.d.ts",
|
|
256
|
+
"default": "./src/components/command/command.tsx"
|
|
257
|
+
},
|
|
258
|
+
"./slosh-slider": {
|
|
259
|
+
"types": "./dist/types/src/components/slosh-slider/slosh-slider.d.ts",
|
|
260
|
+
"default": "./src/components/slosh-slider/slosh-slider.tsx"
|
|
261
|
+
},
|
|
262
|
+
"./wake-slider": {
|
|
263
|
+
"types": "./dist/types/src/components/wake-slider/wake-slider.d.ts",
|
|
264
|
+
"default": "./src/components/wake-slider/wake-slider.tsx"
|
|
265
|
+
},
|
|
266
|
+
"./one-time-code": {
|
|
267
|
+
"types": "./dist/types/src/components/one-time-code/one-time-code.d.ts",
|
|
268
|
+
"default": "./src/components/one-time-code/one-time-code.tsx"
|
|
269
|
+
},
|
|
270
|
+
"./aspect-ratio": {
|
|
271
|
+
"types": "./dist/types/src/components/aspect-ratio/aspect-ratio.d.ts",
|
|
272
|
+
"default": "./src/components/aspect-ratio/aspect-ratio.tsx"
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"scripts": {
|
|
276
|
+
"generate": "bun run --cwd ../tokens generate",
|
|
277
|
+
"test": "vitest run",
|
|
278
|
+
"typecheck": "tsc -p tsconfig.json",
|
|
279
|
+
"publish:check": "bun pm pack --dry-run",
|
|
280
|
+
"build": "bun run generate && bun ../../scripts/build-types.mjs",
|
|
281
|
+
"prepack": "bun run build"
|
|
282
|
+
},
|
|
283
|
+
"packageManager": "bun@1.4.2",
|
|
284
|
+
"peerDependencies": {
|
|
285
|
+
"react": "^19.3.0",
|
|
286
|
+
"react-dom": "^19.3.0",
|
|
287
|
+
"tailwindcss": "^4.3.3"
|
|
288
|
+
},
|
|
289
|
+
"devDependencies": {
|
|
290
|
+
"@types/react": "^19.3.0",
|
|
291
|
+
"@types/react-dom": "^19.3.0",
|
|
292
|
+
"react": "^19.3.0",
|
|
293
|
+
"react-dom": "^19.3.0",
|
|
294
|
+
"typescript": "^7.0.2",
|
|
295
|
+
"tailwindcss": "^4.3.5",
|
|
296
|
+
"@types/node": "^26.6.6",
|
|
297
|
+
"vitest": "5.1.0",
|
|
298
|
+
"vite": "8.3.8"
|
|
299
|
+
},
|
|
300
|
+
"dependencies": {
|
|
301
|
+
"@hugeicons/core-free-icons": "4.4.0",
|
|
302
|
+
"@hugeicons/react": "1.1.10",
|
|
303
|
+
"motion": "14.12.0",
|
|
304
|
+
"clsx": "^2.1.1",
|
|
305
|
+
"tailwind-merge": "^3.7.0",
|
|
306
|
+
"tw-animate-css": "^1.4.0",
|
|
307
|
+
"@passui/tokens": "^0.1.3"
|
|
308
|
+
}
|
|
309
309
|
}
|