@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.
@@ -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 type { VariantProps } from 'tailwind-variants';\n\nimport baseElement from './base-element';\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,oBAGnB,OAAOC,MAAiB,iBAExB,MAAMC,EAAYF,EAAG,CACnB,OAAQC,CACV,CAAC",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashx/react",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "license": "UNLICENSED",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/cjs/index.js",
@@ -67,7 +67,7 @@ const useInApp = (): UseInAppHookResponse => {
67
67
  throw new Error(`Unknown message type ${message}`);
68
68
  }
69
69
  },
70
- /* onOpen: (_) => {
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
  );