@dashx/react 0.1.0 → 0.1.1
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/hooks/use-in-app.js +1 -1
- package/dist/cjs/hooks/use-in-app.js.map +3 -3
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/cjs/variants/text-field.js +1 -1
- package/dist/cjs/variants/text-field.js.map +2 -2
- package/dist/esm/hooks/use-in-app.js +1 -1
- package/dist/esm/hooks/use-in-app.js.map +3 -3
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/variants/text-field.js +1 -1
- package/dist/esm/variants/text-field.js.map +2 -2
- package/package.json +1 -1
- package/src/hooks/use-in-app.ts +2 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{tv as t}from"tailwind-variants";import e from"./base-element";const r=t({extend:e});export{r as textField};
|
|
1
|
+
import{tv as t}from"tailwind-variants";import e from"./base-element.js";const r=t({extend:e});export{r as textField};
|
|
2
2
|
//# sourceMappingURL=text-field.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/variants/text-field.ts"],
|
|
4
|
-
"sourcesContent": ["import { tv } from 'tailwind-variants';\nimport
|
|
5
|
-
"mappings": "AAAA,OAAS,MAAAA,MAAU,
|
|
4
|
+
"sourcesContent": ["import { tv } from 'tailwind-variants';\n\nimport baseElement from './base-element.js';\n\nimport type { VariantProps } from 'tailwind-variants';\n\nconst textField = tv({\n extend: baseElement,\n});\n\ntype TextFieldVariantProps = VariantProps<typeof textField>;\n\nexport type { TextFieldVariantProps };\n\nexport { textField };\n"],
|
|
5
|
+
"mappings": "AAAA,OAAS,MAAAA,MAAU,oBAEnB,OAAOC,MAAiB,oBAIxB,MAAMC,EAAYF,EAAG,CACnB,OAAQC,CACV,CAAC",
|
|
6
6
|
"names": ["tv", "baseElement", "textField"]
|
|
7
7
|
}
|
package/package.json
CHANGED
package/src/hooks/use-in-app.ts
CHANGED
|
@@ -67,7 +67,7 @@ const useInApp = (): UseInAppHookResponse => {
|
|
|
67
67
|
throw new Error(`Unknown message type ${message}`);
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
|
-
|
|
70
|
+
onOpen: (_) => {
|
|
71
71
|
let subscriptionMessage: WebsocketMessageType = {
|
|
72
72
|
type: WebsocketMessage.SUBSCRIBE,
|
|
73
73
|
data: {
|
|
@@ -76,7 +76,7 @@ const useInApp = (): UseInAppHookResponse => {
|
|
|
76
76
|
};
|
|
77
77
|
|
|
78
78
|
sendJsonMessage(subscriptionMessage);
|
|
79
|
-
},
|
|
79
|
+
},
|
|
80
80
|
},
|
|
81
81
|
connectWebsocket,
|
|
82
82
|
);
|