@dashx/react 0.1.2 → 0.1.4
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/dist/cjs/components/flex.d.ts +292 -4
- package/dist/cjs/hooks/use-product-release.d.ts +2 -1
- package/dist/cjs/hooks/use-product-release.js +1 -1
- package/dist/cjs/hooks/use-product-release.js.map +3 -3
- package/dist/cjs/index.d.ts +0 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +3 -3
- package/dist/cjs/variants/base-element.d.ts +86 -2
- package/dist/cjs/variants/base-field.d.ts +129 -3
- package/dist/cjs/variants/base-input.d.ts +1 -1
- package/dist/cjs/variants/button.d.ts +138 -3
- package/dist/cjs/variants/card.d.ts +62 -2
- package/dist/cjs/variants/checkbox.d.ts +19 -1
- package/dist/cjs/variants/field-error.d.ts +86 -2
- package/dist/cjs/variants/heading.d.ts +234 -3
- package/dist/cjs/variants/link.d.ts +259 -4
- package/dist/cjs/variants/popover.d.ts +61 -5
- package/dist/cjs/variants/text-area.d.ts +161 -4
- package/dist/cjs/variants/text-field.d.ts +161 -4
- package/dist/cjs/variants/text.d.ts +235 -3
- package/dist/cjs/variants/tooltip.d.ts +1 -1
- package/dist/cjs/variants/typography.d.ts +182 -2
- package/dist/cjs/widgets/NotificationBell.js +1 -1
- package/dist/cjs/widgets/NotificationBell.js.map +3 -3
- package/dist/esm/hooks/use-product-release.d.ts +2 -1
- package/dist/esm/hooks/use-product-release.js +1 -1
- package/dist/esm/hooks/use-product-release.js.map +3 -3
- package/dist/esm/index.d.ts +0 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/widgets/NotificationBell.js +1 -1
- package/dist/esm/widgets/NotificationBell.js.map +2 -2
- package/package.json +2 -2
- package/src/hooks/use-product-release.ts +7 -1
- package/src/index.ts +1 -1
- package/src/widgets/NotificationBell.tsx +1 -1
|
@@ -36,7 +36,79 @@ declare const flexVariants: import("tailwind-variants").TVReturnType<{
|
|
|
36
36
|
start: string;
|
|
37
37
|
end: string;
|
|
38
38
|
};
|
|
39
|
-
}, undefined, "flex", {
|
|
39
|
+
}, undefined, "flex", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
40
|
+
direction: {
|
|
41
|
+
column: string;
|
|
42
|
+
row: string;
|
|
43
|
+
'column-reverse': string;
|
|
44
|
+
'row-reverse': string;
|
|
45
|
+
};
|
|
46
|
+
gap: {
|
|
47
|
+
1: string;
|
|
48
|
+
2: string;
|
|
49
|
+
3: string;
|
|
50
|
+
4: string;
|
|
51
|
+
6: string;
|
|
52
|
+
8: string;
|
|
53
|
+
10: string;
|
|
54
|
+
12: string;
|
|
55
|
+
14: string;
|
|
56
|
+
16: string;
|
|
57
|
+
18: string;
|
|
58
|
+
24: string;
|
|
59
|
+
28: string;
|
|
60
|
+
32: string;
|
|
61
|
+
};
|
|
62
|
+
justify: {
|
|
63
|
+
baseline: string;
|
|
64
|
+
center: string;
|
|
65
|
+
between: string;
|
|
66
|
+
start: string;
|
|
67
|
+
end: string;
|
|
68
|
+
};
|
|
69
|
+
align: {
|
|
70
|
+
baseline: string;
|
|
71
|
+
center: string;
|
|
72
|
+
start: string;
|
|
73
|
+
end: string;
|
|
74
|
+
};
|
|
75
|
+
}, {
|
|
76
|
+
direction: {
|
|
77
|
+
column: string;
|
|
78
|
+
row: string;
|
|
79
|
+
'column-reverse': string;
|
|
80
|
+
'row-reverse': string;
|
|
81
|
+
};
|
|
82
|
+
gap: {
|
|
83
|
+
1: string;
|
|
84
|
+
2: string;
|
|
85
|
+
3: string;
|
|
86
|
+
4: string;
|
|
87
|
+
6: string;
|
|
88
|
+
8: string;
|
|
89
|
+
10: string;
|
|
90
|
+
12: string;
|
|
91
|
+
14: string;
|
|
92
|
+
16: string;
|
|
93
|
+
18: string;
|
|
94
|
+
24: string;
|
|
95
|
+
28: string;
|
|
96
|
+
32: string;
|
|
97
|
+
};
|
|
98
|
+
justify: {
|
|
99
|
+
baseline: string;
|
|
100
|
+
center: string;
|
|
101
|
+
between: string;
|
|
102
|
+
start: string;
|
|
103
|
+
end: string;
|
|
104
|
+
};
|
|
105
|
+
align: {
|
|
106
|
+
baseline: string;
|
|
107
|
+
center: string;
|
|
108
|
+
start: string;
|
|
109
|
+
end: string;
|
|
110
|
+
};
|
|
111
|
+
}>, {
|
|
40
112
|
direction: {
|
|
41
113
|
column: string;
|
|
42
114
|
row: string;
|
|
@@ -108,7 +180,79 @@ declare const flexVariants: import("tailwind-variants").TVReturnType<{
|
|
|
108
180
|
start: string;
|
|
109
181
|
end: string;
|
|
110
182
|
};
|
|
111
|
-
}, undefined, "flex",
|
|
183
|
+
}, undefined, "flex", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
184
|
+
direction: {
|
|
185
|
+
column: string;
|
|
186
|
+
row: string;
|
|
187
|
+
'column-reverse': string;
|
|
188
|
+
'row-reverse': string;
|
|
189
|
+
};
|
|
190
|
+
gap: {
|
|
191
|
+
1: string;
|
|
192
|
+
2: string;
|
|
193
|
+
3: string;
|
|
194
|
+
4: string;
|
|
195
|
+
6: string;
|
|
196
|
+
8: string;
|
|
197
|
+
10: string;
|
|
198
|
+
12: string;
|
|
199
|
+
14: string;
|
|
200
|
+
16: string;
|
|
201
|
+
18: string;
|
|
202
|
+
24: string;
|
|
203
|
+
28: string;
|
|
204
|
+
32: string;
|
|
205
|
+
};
|
|
206
|
+
justify: {
|
|
207
|
+
baseline: string;
|
|
208
|
+
center: string;
|
|
209
|
+
between: string;
|
|
210
|
+
start: string;
|
|
211
|
+
end: string;
|
|
212
|
+
};
|
|
213
|
+
align: {
|
|
214
|
+
baseline: string;
|
|
215
|
+
center: string;
|
|
216
|
+
start: string;
|
|
217
|
+
end: string;
|
|
218
|
+
};
|
|
219
|
+
}, {
|
|
220
|
+
direction: {
|
|
221
|
+
column: string;
|
|
222
|
+
row: string;
|
|
223
|
+
'column-reverse': string;
|
|
224
|
+
'row-reverse': string;
|
|
225
|
+
};
|
|
226
|
+
gap: {
|
|
227
|
+
1: string;
|
|
228
|
+
2: string;
|
|
229
|
+
3: string;
|
|
230
|
+
4: string;
|
|
231
|
+
6: string;
|
|
232
|
+
8: string;
|
|
233
|
+
10: string;
|
|
234
|
+
12: string;
|
|
235
|
+
14: string;
|
|
236
|
+
16: string;
|
|
237
|
+
18: string;
|
|
238
|
+
24: string;
|
|
239
|
+
28: string;
|
|
240
|
+
32: string;
|
|
241
|
+
};
|
|
242
|
+
justify: {
|
|
243
|
+
baseline: string;
|
|
244
|
+
center: string;
|
|
245
|
+
between: string;
|
|
246
|
+
start: string;
|
|
247
|
+
end: string;
|
|
248
|
+
};
|
|
249
|
+
align: {
|
|
250
|
+
baseline: string;
|
|
251
|
+
center: string;
|
|
252
|
+
start: string;
|
|
253
|
+
end: string;
|
|
254
|
+
};
|
|
255
|
+
}>, unknown, unknown, undefined>>;
|
|
112
256
|
type FlexProps = VariantProps<typeof flexVariants> & {
|
|
113
257
|
asChild?: boolean;
|
|
114
258
|
};
|
|
@@ -148,7 +292,79 @@ declare const Flex: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDiv
|
|
|
148
292
|
start: string;
|
|
149
293
|
end: string;
|
|
150
294
|
};
|
|
151
|
-
}, undefined, "flex", {
|
|
295
|
+
}, undefined, "flex", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
296
|
+
direction: {
|
|
297
|
+
column: string;
|
|
298
|
+
row: string;
|
|
299
|
+
'column-reverse': string;
|
|
300
|
+
'row-reverse': string;
|
|
301
|
+
};
|
|
302
|
+
gap: {
|
|
303
|
+
1: string;
|
|
304
|
+
2: string;
|
|
305
|
+
3: string;
|
|
306
|
+
4: string;
|
|
307
|
+
6: string;
|
|
308
|
+
8: string;
|
|
309
|
+
10: string;
|
|
310
|
+
12: string;
|
|
311
|
+
14: string;
|
|
312
|
+
16: string;
|
|
313
|
+
18: string;
|
|
314
|
+
24: string;
|
|
315
|
+
28: string;
|
|
316
|
+
32: string;
|
|
317
|
+
};
|
|
318
|
+
justify: {
|
|
319
|
+
baseline: string;
|
|
320
|
+
center: string;
|
|
321
|
+
between: string;
|
|
322
|
+
start: string;
|
|
323
|
+
end: string;
|
|
324
|
+
};
|
|
325
|
+
align: {
|
|
326
|
+
baseline: string;
|
|
327
|
+
center: string;
|
|
328
|
+
start: string;
|
|
329
|
+
end: string;
|
|
330
|
+
};
|
|
331
|
+
}, {
|
|
332
|
+
direction: {
|
|
333
|
+
column: string;
|
|
334
|
+
row: string;
|
|
335
|
+
'column-reverse': string;
|
|
336
|
+
'row-reverse': string;
|
|
337
|
+
};
|
|
338
|
+
gap: {
|
|
339
|
+
1: string;
|
|
340
|
+
2: string;
|
|
341
|
+
3: string;
|
|
342
|
+
4: string;
|
|
343
|
+
6: string;
|
|
344
|
+
8: string;
|
|
345
|
+
10: string;
|
|
346
|
+
12: string;
|
|
347
|
+
14: string;
|
|
348
|
+
16: string;
|
|
349
|
+
18: string;
|
|
350
|
+
24: string;
|
|
351
|
+
28: string;
|
|
352
|
+
32: string;
|
|
353
|
+
};
|
|
354
|
+
justify: {
|
|
355
|
+
baseline: string;
|
|
356
|
+
center: string;
|
|
357
|
+
between: string;
|
|
358
|
+
start: string;
|
|
359
|
+
end: string;
|
|
360
|
+
};
|
|
361
|
+
align: {
|
|
362
|
+
baseline: string;
|
|
363
|
+
center: string;
|
|
364
|
+
start: string;
|
|
365
|
+
end: string;
|
|
366
|
+
};
|
|
367
|
+
}>, {
|
|
152
368
|
direction: {
|
|
153
369
|
column: string;
|
|
154
370
|
row: string;
|
|
@@ -220,7 +436,79 @@ declare const Flex: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDiv
|
|
|
220
436
|
start: string;
|
|
221
437
|
end: string;
|
|
222
438
|
};
|
|
223
|
-
}, undefined, "flex",
|
|
439
|
+
}, undefined, "flex", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
440
|
+
direction: {
|
|
441
|
+
column: string;
|
|
442
|
+
row: string;
|
|
443
|
+
'column-reverse': string;
|
|
444
|
+
'row-reverse': string;
|
|
445
|
+
};
|
|
446
|
+
gap: {
|
|
447
|
+
1: string;
|
|
448
|
+
2: string;
|
|
449
|
+
3: string;
|
|
450
|
+
4: string;
|
|
451
|
+
6: string;
|
|
452
|
+
8: string;
|
|
453
|
+
10: string;
|
|
454
|
+
12: string;
|
|
455
|
+
14: string;
|
|
456
|
+
16: string;
|
|
457
|
+
18: string;
|
|
458
|
+
24: string;
|
|
459
|
+
28: string;
|
|
460
|
+
32: string;
|
|
461
|
+
};
|
|
462
|
+
justify: {
|
|
463
|
+
baseline: string;
|
|
464
|
+
center: string;
|
|
465
|
+
between: string;
|
|
466
|
+
start: string;
|
|
467
|
+
end: string;
|
|
468
|
+
};
|
|
469
|
+
align: {
|
|
470
|
+
baseline: string;
|
|
471
|
+
center: string;
|
|
472
|
+
start: string;
|
|
473
|
+
end: string;
|
|
474
|
+
};
|
|
475
|
+
}, {
|
|
476
|
+
direction: {
|
|
477
|
+
column: string;
|
|
478
|
+
row: string;
|
|
479
|
+
'column-reverse': string;
|
|
480
|
+
'row-reverse': string;
|
|
481
|
+
};
|
|
482
|
+
gap: {
|
|
483
|
+
1: string;
|
|
484
|
+
2: string;
|
|
485
|
+
3: string;
|
|
486
|
+
4: string;
|
|
487
|
+
6: string;
|
|
488
|
+
8: string;
|
|
489
|
+
10: string;
|
|
490
|
+
12: string;
|
|
491
|
+
14: string;
|
|
492
|
+
16: string;
|
|
493
|
+
18: string;
|
|
494
|
+
24: string;
|
|
495
|
+
28: string;
|
|
496
|
+
32: string;
|
|
497
|
+
};
|
|
498
|
+
justify: {
|
|
499
|
+
baseline: string;
|
|
500
|
+
center: string;
|
|
501
|
+
between: string;
|
|
502
|
+
start: string;
|
|
503
|
+
end: string;
|
|
504
|
+
};
|
|
505
|
+
align: {
|
|
506
|
+
baseline: string;
|
|
507
|
+
center: string;
|
|
508
|
+
start: string;
|
|
509
|
+
end: string;
|
|
510
|
+
};
|
|
511
|
+
}>, unknown, unknown, undefined>>> & {
|
|
224
512
|
asChild?: boolean;
|
|
225
513
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
226
514
|
export type { FlexProps };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type { ProductVariantReleaseRule } from '@dashx/browser';
|
|
1
|
+
import type { ProductVariantRelease, ProductVariantReleaseRule } from '@dashx/browser';
|
|
2
2
|
type UseProductReleaseHookResponse = {
|
|
3
|
+
productVariantRelease: ProductVariantRelease | null;
|
|
3
4
|
productVariantReleaseRule: ProductVariantReleaseRule | null;
|
|
4
5
|
};
|
|
5
6
|
declare const useProductRelease: () => UseProductReleaseHookResponse;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var p=Object.create;var u=Object.defineProperty;var P=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames;var b=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty;var m=(e,t)=>{for(var a in t)u(e,a,{get:t[a],enumerable:!0})},n=(e,t,a,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of V(t))!f.call(e,r)&&r!==a&&u(e,r,{get:()=>t[r],enumerable:!(o=P(t,r))||o.enumerable});return e};var h=(e,t,a)=>(a=e!=null?p(b(e)):{},n(t||!e||!e.__esModule?u(a,"default",{value:e,enumerable:!0}):a,e)),k=e=>n(u({},"__esModule",{value:!0}),e);var T={};m(T,{default:()=>y});module.exports=k(T);var s=require("react"),R=require("@dashx/browser"),i=h(require("./use-dashx-provider.js")),d=require("../providers/DashXProvider.js");const E=()=>{let e=(0,i.default)();const{subscribe:t}=(0,d.useWebSocket)(),[a,o]=(0,s.useState)(null),[r,l]=(0,s.useState)(null);return(0,s.useEffect)(()=>{e.fetchProductVariantRelease().then(o),e.watchFetchProductVariantReleaseRule(l)},[e]),(0,s.useEffect)(()=>t(c=>{c?.type===R.WebsocketMessage.PRODUCT_VARIANT_RELEASE_RULE_UPDATED&&l(c.data)}),[t]),{productVariantRelease:a,productVariantReleaseRule:r}};var y=E;
|
|
2
2
|
//# sourceMappingURL=use-product-release.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/hooks/use-product-release.ts"],
|
|
4
|
-
"sourcesContent": ["import { useEffect, useState } from 'react';\nimport { WebsocketMessage } from '@dashx/browser';\nimport type { ProductVariantReleaseRule, WebsocketMessageType } from '@dashx/browser';\n\nimport useDashXProvider from './use-dashx-provider.js';\nimport { useWebSocket } from '../providers/DashXProvider.js';\n\ntype UseProductReleaseHookResponse = {\n productVariantReleaseRule: ProductVariantReleaseRule | null;\n};\n\nconst useProductRelease = (): UseProductReleaseHookResponse => {\n let dashX = useDashXProvider();\n const { subscribe } = useWebSocket();\n const [productVariantReleaseRule, setProductVariantReleaseRule] = useState<ProductVariantReleaseRule | null>(null);\n\n useEffect(() => {\n // Set up product variant release rule watcher (automatically refetch on WebSocket reconnection)\n dashX.watchFetchProductVariantReleaseRule(setProductVariantReleaseRule);\n }, [dashX]);\n\n useEffect(() => {\n // Subscribe to WebSocket messages for product variant release updates\n const unsubscribe = subscribe((message: WebsocketMessageType) => {\n if (message?.type === WebsocketMessage.PRODUCT_VARIANT_RELEASE_RULE_UPDATED) {\n setProductVariantReleaseRule(message.data);\n }\n });\n\n return unsubscribe;\n }, [subscribe]);\n\n return {\n productVariantReleaseRule,\n };\n};\n\nexport default useProductRelease;\n"],
|
|
5
|
-
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAoC,iBACpCC,EAAiC,0BAGjCC,EAA6B,sCAC7BC,EAA6B,
|
|
6
|
-
"names": ["use_product_release_exports", "__export", "use_product_release_default", "__toCommonJS", "import_react", "import_browser", "import_use_dashx_provider", "import_DashXProvider", "useProductRelease", "dashX", "useDashXProvider", "subscribe", "productVariantReleaseRule", "setProductVariantReleaseRule", "message"]
|
|
4
|
+
"sourcesContent": ["import { useEffect, useState } from 'react';\nimport { WebsocketMessage } from '@dashx/browser';\nimport type { ProductVariantRelease, ProductVariantReleaseRule, WebsocketMessageType } from '@dashx/browser';\n\nimport useDashXProvider from './use-dashx-provider.js';\nimport { useWebSocket } from '../providers/DashXProvider.js';\n\ntype UseProductReleaseHookResponse = {\n productVariantRelease: ProductVariantRelease | null;\n productVariantReleaseRule: ProductVariantReleaseRule | null;\n};\n\nconst useProductRelease = (): UseProductReleaseHookResponse => {\n let dashX = useDashXProvider();\n const { subscribe } = useWebSocket();\n const [productVariantRelease, setProductVariantRelease] = useState<ProductVariantRelease | null>(null);\n const [productVariantReleaseRule, setProductVariantReleaseRule] = useState<ProductVariantReleaseRule | null>(null);\n\n useEffect(() => {\n dashX\n .fetchProductVariantRelease()\n .then(setProductVariantRelease)\n // Set up product variant release rule watcher (automatically refetch on WebSocket reconnection)\n dashX.watchFetchProductVariantReleaseRule(setProductVariantReleaseRule);\n }, [dashX]);\n\n useEffect(() => {\n // Subscribe to WebSocket messages for product variant release updates\n const unsubscribe = subscribe((message: WebsocketMessageType) => {\n if (message?.type === WebsocketMessage.PRODUCT_VARIANT_RELEASE_RULE_UPDATED) {\n setProductVariantReleaseRule(message.data);\n }\n });\n\n return unsubscribe;\n }, [subscribe]);\n\n return {\n productVariantRelease,\n productVariantReleaseRule,\n };\n};\n\nexport default useProductRelease;\n"],
|
|
5
|
+
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAoC,iBACpCC,EAAiC,0BAGjCC,EAA6B,sCAC7BC,EAA6B,yCAO7B,MAAMC,EAAoB,IAAqC,CAC7D,IAAIC,KAAQ,EAAAC,SAAiB,EAC7B,KAAM,CAAE,UAAAC,CAAU,KAAI,gBAAa,EAC7B,CAACC,EAAuBC,CAAwB,KAAI,YAAuC,IAAI,EAC/F,CAACC,EAA2BC,CAA4B,KAAI,YAA2C,IAAI,EAEjH,sBAAU,IAAM,CACdN,EACG,2BAA2B,EAC3B,KAAKI,CAAwB,EAEhCJ,EAAM,oCAAoCM,CAA4B,CACxE,EAAG,CAACN,CAAK,CAAC,KAEV,aAAU,IAEYE,EAAWK,GAAkC,CAC3DA,GAAS,OAAS,mBAAiB,sCACrCD,EAA6BC,EAAQ,IAAI,CAE7C,CAAC,EAGA,CAACL,CAAS,CAAC,EAEP,CACL,sBAAAC,EACA,0BAAAE,CACF,CACF,EAEA,IAAOZ,EAAQM",
|
|
6
|
+
"names": ["use_product_release_exports", "__export", "use_product_release_default", "__toCommonJS", "import_react", "import_browser", "import_use_dashx_provider", "import_DashXProvider", "useProductRelease", "dashX", "useDashXProvider", "subscribe", "productVariantRelease", "setProductVariantRelease", "productVariantReleaseRule", "setProductVariantReleaseRule", "message"]
|
|
7
7
|
}
|
package/dist/cjs/index.d.ts
CHANGED
package/dist/cjs/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var t=(
|
|
1
|
+
"use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var t=(r,o,p,x)=>{if(o&&typeof o=="object"||typeof o=="function")for(let m of c(o))!d.call(r,m)&&m!==p&&a(r,m,{get:()=>o[m],enumerable:!(x=b(o,m))||x.enumerable});return r},f=(r,o,p)=>(t(r,o,"default"),p&&t(p,o,"default"));var g=r=>t(a({},"__esModule",{value:!0}),r);var e={};module.exports=g(e);f(e,require("./hooks/index.js"),module.exports);f(e,require("./providers/index.js"),module.exports);
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["export * from './components/index.js';\nexport * from './hooks/index.js';\nexport * from './providers/index.js';\n"],
|
|
5
|
-
"mappings": "iaAAA,IAAAA,EAAA,kBAAAC,EAAAD,
|
|
6
|
-
"names": ["
|
|
4
|
+
"sourcesContent": ["// export * from './components/index.js';\nexport * from './hooks/index.js';\nexport * from './providers/index.js';\n"],
|
|
5
|
+
"mappings": "iaAAA,IAAAA,EAAA,kBAAAC,EAAAD,GACAE,EAAAF,EAAc,4BADd,gBAEAE,EAAAF,EAAc,gCAFd",
|
|
6
|
+
"names": ["src_exports", "__toCommonJS", "__reExport"]
|
|
7
7
|
}
|
|
@@ -19,7 +19,49 @@ declare const baseElement: import("tailwind-variants").TVReturnType<{
|
|
|
19
19
|
medium: string;
|
|
20
20
|
large: string;
|
|
21
21
|
};
|
|
22
|
-
}, undefined, undefined, {
|
|
22
|
+
}, undefined, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
23
|
+
size: {
|
|
24
|
+
extrasmall: string;
|
|
25
|
+
small: string;
|
|
26
|
+
medium: string;
|
|
27
|
+
large: string;
|
|
28
|
+
extralarge: string;
|
|
29
|
+
};
|
|
30
|
+
roundness: {
|
|
31
|
+
none: string;
|
|
32
|
+
small: string;
|
|
33
|
+
medium: string;
|
|
34
|
+
large: string;
|
|
35
|
+
full: string;
|
|
36
|
+
};
|
|
37
|
+
elevation: {
|
|
38
|
+
none: string;
|
|
39
|
+
small: string;
|
|
40
|
+
medium: string;
|
|
41
|
+
large: string;
|
|
42
|
+
};
|
|
43
|
+
}, {
|
|
44
|
+
size: {
|
|
45
|
+
extrasmall: string;
|
|
46
|
+
small: string;
|
|
47
|
+
medium: string;
|
|
48
|
+
large: string;
|
|
49
|
+
extralarge: string;
|
|
50
|
+
};
|
|
51
|
+
roundness: {
|
|
52
|
+
none: string;
|
|
53
|
+
small: string;
|
|
54
|
+
medium: string;
|
|
55
|
+
large: string;
|
|
56
|
+
full: string;
|
|
57
|
+
};
|
|
58
|
+
elevation: {
|
|
59
|
+
none: string;
|
|
60
|
+
small: string;
|
|
61
|
+
medium: string;
|
|
62
|
+
large: string;
|
|
63
|
+
};
|
|
64
|
+
}>, {
|
|
23
65
|
size: {
|
|
24
66
|
extrasmall: string;
|
|
25
67
|
small: string;
|
|
@@ -61,5 +103,47 @@ declare const baseElement: import("tailwind-variants").TVReturnType<{
|
|
|
61
103
|
medium: string;
|
|
62
104
|
large: string;
|
|
63
105
|
};
|
|
64
|
-
}, undefined, undefined,
|
|
106
|
+
}, undefined, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
107
|
+
size: {
|
|
108
|
+
extrasmall: string;
|
|
109
|
+
small: string;
|
|
110
|
+
medium: string;
|
|
111
|
+
large: string;
|
|
112
|
+
extralarge: string;
|
|
113
|
+
};
|
|
114
|
+
roundness: {
|
|
115
|
+
none: string;
|
|
116
|
+
small: string;
|
|
117
|
+
medium: string;
|
|
118
|
+
large: string;
|
|
119
|
+
full: string;
|
|
120
|
+
};
|
|
121
|
+
elevation: {
|
|
122
|
+
none: string;
|
|
123
|
+
small: string;
|
|
124
|
+
medium: string;
|
|
125
|
+
large: string;
|
|
126
|
+
};
|
|
127
|
+
}, {
|
|
128
|
+
size: {
|
|
129
|
+
extrasmall: string;
|
|
130
|
+
small: string;
|
|
131
|
+
medium: string;
|
|
132
|
+
large: string;
|
|
133
|
+
extralarge: string;
|
|
134
|
+
};
|
|
135
|
+
roundness: {
|
|
136
|
+
none: string;
|
|
137
|
+
small: string;
|
|
138
|
+
medium: string;
|
|
139
|
+
large: string;
|
|
140
|
+
full: string;
|
|
141
|
+
};
|
|
142
|
+
elevation: {
|
|
143
|
+
none: string;
|
|
144
|
+
small: string;
|
|
145
|
+
medium: string;
|
|
146
|
+
large: string;
|
|
147
|
+
};
|
|
148
|
+
}>, unknown, unknown, undefined>>;
|
|
65
149
|
export default baseElement;
|
|
@@ -20,7 +20,49 @@ declare const baseField: import("tailwind-variants").TVReturnType<{
|
|
|
20
20
|
medium: string;
|
|
21
21
|
large: string;
|
|
22
22
|
};
|
|
23
|
-
}, undefined, string, {
|
|
23
|
+
}, undefined, string, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
24
|
+
size: {
|
|
25
|
+
extrasmall: string;
|
|
26
|
+
small: string;
|
|
27
|
+
medium: string;
|
|
28
|
+
large: string;
|
|
29
|
+
extralarge: string;
|
|
30
|
+
};
|
|
31
|
+
roundness: {
|
|
32
|
+
none: string;
|
|
33
|
+
small: string;
|
|
34
|
+
medium: string;
|
|
35
|
+
large: string;
|
|
36
|
+
full: string;
|
|
37
|
+
};
|
|
38
|
+
elevation: {
|
|
39
|
+
none: string;
|
|
40
|
+
small: string;
|
|
41
|
+
medium: string;
|
|
42
|
+
large: string;
|
|
43
|
+
};
|
|
44
|
+
}, {
|
|
45
|
+
size: {
|
|
46
|
+
extrasmall: string;
|
|
47
|
+
small: string;
|
|
48
|
+
medium: string;
|
|
49
|
+
large: string;
|
|
50
|
+
extralarge: string;
|
|
51
|
+
};
|
|
52
|
+
roundness: {
|
|
53
|
+
none: string;
|
|
54
|
+
small: string;
|
|
55
|
+
medium: string;
|
|
56
|
+
large: string;
|
|
57
|
+
full: string;
|
|
58
|
+
};
|
|
59
|
+
elevation: {
|
|
60
|
+
none: string;
|
|
61
|
+
small: string;
|
|
62
|
+
medium: string;
|
|
63
|
+
large: string;
|
|
64
|
+
};
|
|
65
|
+
}>, {
|
|
24
66
|
size: {
|
|
25
67
|
extrasmall: string;
|
|
26
68
|
small: string;
|
|
@@ -62,7 +104,49 @@ declare const baseField: import("tailwind-variants").TVReturnType<{
|
|
|
62
104
|
medium: string;
|
|
63
105
|
large: string;
|
|
64
106
|
};
|
|
65
|
-
}, undefined, undefined, {
|
|
107
|
+
}, undefined, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
108
|
+
size: {
|
|
109
|
+
extrasmall: string;
|
|
110
|
+
small: string;
|
|
111
|
+
medium: string;
|
|
112
|
+
large: string;
|
|
113
|
+
extralarge: string;
|
|
114
|
+
};
|
|
115
|
+
roundness: {
|
|
116
|
+
none: string;
|
|
117
|
+
small: string;
|
|
118
|
+
medium: string;
|
|
119
|
+
large: string;
|
|
120
|
+
full: string;
|
|
121
|
+
};
|
|
122
|
+
elevation: {
|
|
123
|
+
none: string;
|
|
124
|
+
small: string;
|
|
125
|
+
medium: string;
|
|
126
|
+
large: string;
|
|
127
|
+
};
|
|
128
|
+
}, {
|
|
129
|
+
size: {
|
|
130
|
+
extrasmall: string;
|
|
131
|
+
small: string;
|
|
132
|
+
medium: string;
|
|
133
|
+
large: string;
|
|
134
|
+
extralarge: string;
|
|
135
|
+
};
|
|
136
|
+
roundness: {
|
|
137
|
+
none: string;
|
|
138
|
+
small: string;
|
|
139
|
+
medium: string;
|
|
140
|
+
large: string;
|
|
141
|
+
full: string;
|
|
142
|
+
};
|
|
143
|
+
elevation: {
|
|
144
|
+
none: string;
|
|
145
|
+
small: string;
|
|
146
|
+
medium: string;
|
|
147
|
+
large: string;
|
|
148
|
+
};
|
|
149
|
+
}>, {
|
|
66
150
|
size: {
|
|
67
151
|
extrasmall: string;
|
|
68
152
|
small: string;
|
|
@@ -104,7 +188,49 @@ declare const baseField: import("tailwind-variants").TVReturnType<{
|
|
|
104
188
|
medium: string;
|
|
105
189
|
large: string;
|
|
106
190
|
};
|
|
107
|
-
}, undefined, undefined,
|
|
191
|
+
}, undefined, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
192
|
+
size: {
|
|
193
|
+
extrasmall: string;
|
|
194
|
+
small: string;
|
|
195
|
+
medium: string;
|
|
196
|
+
large: string;
|
|
197
|
+
extralarge: string;
|
|
198
|
+
};
|
|
199
|
+
roundness: {
|
|
200
|
+
none: string;
|
|
201
|
+
small: string;
|
|
202
|
+
medium: string;
|
|
203
|
+
large: string;
|
|
204
|
+
full: string;
|
|
205
|
+
};
|
|
206
|
+
elevation: {
|
|
207
|
+
none: string;
|
|
208
|
+
small: string;
|
|
209
|
+
medium: string;
|
|
210
|
+
large: string;
|
|
211
|
+
};
|
|
212
|
+
}, {
|
|
213
|
+
size: {
|
|
214
|
+
extrasmall: string;
|
|
215
|
+
small: string;
|
|
216
|
+
medium: string;
|
|
217
|
+
large: string;
|
|
218
|
+
extralarge: string;
|
|
219
|
+
};
|
|
220
|
+
roundness: {
|
|
221
|
+
none: string;
|
|
222
|
+
small: string;
|
|
223
|
+
medium: string;
|
|
224
|
+
large: string;
|
|
225
|
+
full: string;
|
|
226
|
+
};
|
|
227
|
+
elevation: {
|
|
228
|
+
none: string;
|
|
229
|
+
small: string;
|
|
230
|
+
medium: string;
|
|
231
|
+
large: string;
|
|
232
|
+
};
|
|
233
|
+
}>, unknown, unknown, undefined>>>;
|
|
108
234
|
type BaseFieldVariantProps = VariantProps<typeof baseField>;
|
|
109
235
|
export type { BaseFieldVariantProps };
|
|
110
236
|
export { baseField };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { VariantProps } from 'tailwind-variants';
|
|
2
|
-
declare const baseInput: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "data-[invalid=\"true\"]:border-negative-300 data-[invalid=\"true\"]:hover:border-negative-400 data-[invalid=\"true\"]:focus:border-negative-500 data-[invalid=\"true\"]:text-negative-500 data-[invalid=\"true\"]:bg-negative-50 ease-fluid data-[invalid=\"true\"]:focus:outline-negative-500 focus:outline-accent-500 autofill:bg-accent-300 !hover:border-gray-400 border border-gray-300 py-3 px-4 text-sm text-gray-900 outline-none transition-[box-shadow,background-color,color,border-color] duration-300", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "data-[invalid=\"true\"]:border-negative-300 data-[invalid=\"true\"]:hover:border-negative-400 data-[invalid=\"true\"]:focus:border-negative-500 data-[invalid=\"true\"]:text-negative-500 data-[invalid=\"true\"]:bg-negative-50 ease-fluid data-[invalid=\"true\"]:focus:outline-negative-500 focus:outline-accent-500 autofill:bg-accent-300 !hover:border-gray-400 border border-gray-300 py-3 px-4 text-sm text-gray-900 outline-none transition-[box-shadow,background-color,color,border-color] duration-300", unknown, unknown, undefined>>;
|
|
2
|
+
declare const baseInput: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "data-[invalid=\"true\"]:border-negative-300 data-[invalid=\"true\"]:hover:border-negative-400 data-[invalid=\"true\"]:focus:border-negative-500 data-[invalid=\"true\"]:text-negative-500 data-[invalid=\"true\"]:bg-negative-50 ease-fluid data-[invalid=\"true\"]:focus:outline-negative-500 focus:outline-accent-500 autofill:bg-accent-300 !hover:border-gray-400 border border-gray-300 py-3 px-4 text-sm text-gray-900 outline-none transition-[box-shadow,background-color,color,border-color] duration-300", import("tailwind-variants/dist/config.js").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "data-[invalid=\"true\"]:border-negative-300 data-[invalid=\"true\"]:hover:border-negative-400 data-[invalid=\"true\"]:focus:border-negative-500 data-[invalid=\"true\"]:text-negative-500 data-[invalid=\"true\"]:bg-negative-50 ease-fluid data-[invalid=\"true\"]:focus:outline-negative-500 focus:outline-accent-500 autofill:bg-accent-300 !hover:border-gray-400 border border-gray-300 py-3 px-4 text-sm text-gray-900 outline-none transition-[box-shadow,background-color,color,border-color] duration-300", import("tailwind-variants/dist/config.js").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
3
3
|
type BaseInputVariantProps = VariantProps<typeof baseInput>;
|
|
4
4
|
export type { BaseInputVariantProps };
|
|
5
5
|
export { baseInput };
|