@mekari/pixel3-input 0.0.0

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 (47) hide show
  1. package/dist/chunk-62L6URRB.mjs +32 -0
  2. package/dist/chunk-AH5Q4AP2.mjs +81 -0
  3. package/dist/chunk-EF6JEV72.mjs +58 -0
  4. package/dist/chunk-JW2SLWRV.mjs +59 -0
  5. package/dist/chunk-ME6YL7P6.mjs +79 -0
  6. package/dist/chunk-QZ7VFGWC.mjs +6 -0
  7. package/dist/chunk-T766ACNL.mjs +127 -0
  8. package/dist/chunk-ZQ2NFCFA.mjs +83 -0
  9. package/dist/index.d.mts +6 -0
  10. package/dist/index.d.ts +6 -0
  11. package/dist/index.js +483 -0
  12. package/dist/index.mjs +21 -0
  13. package/dist/input-addon.d.mts +48 -0
  14. package/dist/input-addon.d.ts +48 -0
  15. package/dist/input-addon.js +156 -0
  16. package/dist/input-addon.mjs +15 -0
  17. package/dist/input-group.d.mts +28 -0
  18. package/dist/input-group.d.ts +28 -0
  19. package/dist/input-group.js +115 -0
  20. package/dist/input-group.mjs +11 -0
  21. package/dist/input.d.mts +10 -0
  22. package/dist/input.d.ts +10 -0
  23. package/dist/input.js +304 -0
  24. package/dist/input.mjs +11 -0
  25. package/dist/metafile-cjs.json +1 -0
  26. package/dist/metafile-esm.json +1 -0
  27. package/dist/modules/input.connects.d.mts +12 -0
  28. package/dist/modules/input.connects.d.ts +12 -0
  29. package/dist/modules/input.connects.js +150 -0
  30. package/dist/modules/input.connects.mjs +11 -0
  31. package/dist/modules/input.hooks.d.mts +9 -0
  32. package/dist/modules/input.hooks.d.ts +9 -0
  33. package/dist/modules/input.hooks.js +261 -0
  34. package/dist/modules/input.hooks.mjs +13 -0
  35. package/dist/modules/input.machines.d.mts +48 -0
  36. package/dist/modules/input.machines.d.ts +48 -0
  37. package/dist/modules/input.machines.js +81 -0
  38. package/dist/modules/input.machines.mjs +11 -0
  39. package/dist/modules/input.props.d.mts +80 -0
  40. package/dist/modules/input.props.d.ts +80 -0
  41. package/dist/modules/input.props.js +110 -0
  42. package/dist/modules/input.props.mjs +13 -0
  43. package/dist/modules/input.types.d.mts +77 -0
  44. package/dist/modules/input.types.d.ts +77 -0
  45. package/dist/modules/input.types.js +18 -0
  46. package/dist/modules/input.types.mjs +0 -0
  47. package/package.json +50 -0
@@ -0,0 +1 @@
1
+ {"inputs":{"src/modules/input.props.ts":{"bytes":2122,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"./input.types","kind":"import-statement","external":true}],"format":"esm"},"src/modules/input.machines.ts":{"bytes":1588,"imports":[{"path":"xstate","kind":"import-statement","external":true},{"path":"./input.types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/input.connects.ts":{"bytes":2957,"imports":[{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"./input.types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/input.hooks.ts":{"bytes":2375,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@xstate/vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"src/modules/input.machines.ts","kind":"import-statement","original":"./input.machines"},{"path":"src/modules/input.connects.ts","kind":"import-statement","original":"./input.connects"},{"path":"./input.types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/input.tsx":{"bytes":3063,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/input.props.ts","kind":"import-statement","original":"./modules/input.props"},{"path":"src/modules/input.hooks.ts","kind":"import-statement","original":"./modules/input.hooks"},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"./modules/input.types","kind":"import-statement","external":true},{"path":"@mekari/pixel3-button","kind":"import-statement","external":true}],"format":"esm"},"src/input-group.tsx":{"bytes":1000,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"src/modules/input.props.ts","kind":"import-statement","original":"./modules/input.props"},{"path":"src/modules/input.hooks.ts","kind":"import-statement","original":"./modules/input.hooks"}],"format":"esm"},"src/input-addon.tsx":{"bytes":1097,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/input.props.ts","kind":"import-statement","original":"./modules/input.props"},{"path":"src/modules/input.hooks.ts","kind":"import-statement","original":"./modules/input.hooks"}],"format":"esm"},"src/index.ts":{"bytes":472,"imports":[{"path":"src/input.tsx","kind":"import-statement","original":"./input"},{"path":"src/input-group.tsx","kind":"import-statement","original":"./input-group"},{"path":"src/input-addon.tsx","kind":"import-statement","original":"./input-addon"}],"format":"esm"},"src/modules/input.types.ts":{"bytes":2087,"imports":[{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/index.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@xstate/vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"xstate","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"@mekari/pixel3-button","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":245},"src/input.tsx":{"bytesInOutput":2866},"src/modules/input.props.ts":{"bytesInOutput":1153},"src/modules/input.hooks.ts":{"bytesInOutput":2461},"src/modules/input.machines.ts":{"bytesInOutput":1422},"src/modules/input.connects.ts":{"bytesInOutput":2728},"src/input-group.tsx":{"bytesInOutput":825},"src/input-addon.tsx":{"bytesInOutput":1122}},"bytes":14131},"dist/input-addon.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@xstate/vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"xstate","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/input-addon.tsx","inputs":{"src/input-addon.tsx":{"bytesInOutput":1365},"src/modules/input.props.ts":{"bytesInOutput":392},"src/modules/input.hooks.ts":{"bytesInOutput":817},"src/modules/input.machines.ts":{"bytesInOutput":354},"src/modules/input.connects.ts":{"bytesInOutput":435}},"bytes":4608},"dist/input-group.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@xstate/vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"xstate","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/input-group.tsx","inputs":{"src/input-group.tsx":{"bytesInOutput":978},"src/modules/input.props.ts":{"bytesInOutput":272},"src/modules/input.hooks.ts":{"bytesInOutput":817},"src/modules/input.machines.ts":{"bytesInOutput":359},"src/modules/input.connects.ts":{"bytesInOutput":322}},"bytes":3952},"dist/input.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@xstate/vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"xstate","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true},{"path":"@mekari/pixel3-button","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/input.tsx","inputs":{"src/input.tsx":{"bytesInOutput":2991},"src/modules/input.props.ts":{"bytesInOutput":819},"src/modules/input.hooks.ts":{"bytesInOutput":1237},"src/modules/input.machines.ts":{"bytesInOutput":787},"src/modules/input.connects.ts":{"bytesInOutput":2095}},"bytes":9116},"dist/modules/input.connects.js":{"imports":[{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modules/input.connects.ts","inputs":{"src/modules/input.connects.ts":{"bytesInOutput":2982}},"bytes":4053},"dist/modules/input.hooks.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"@xstate/vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"xstate","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/css","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modules/input.hooks.ts","inputs":{"src/modules/input.hooks.ts":{"bytesInOutput":2672},"src/modules/input.machines.ts":{"bytesInOutput":1422},"src/modules/input.connects.ts":{"bytesInOutput":2728}},"bytes":7977},"dist/modules/input.machines.js":{"imports":[{"path":"xstate","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modules/input.machines.ts","inputs":{"src/modules/input.machines.ts":{"bytesInOutput":1676}},"bytes":2747},"dist/modules/input.props.js":{"imports":[{"path":"@mekari/pixel3-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modules/input.props.ts","inputs":{"src/modules/input.props.ts":{"bytesInOutput":1418}},"bytes":2404},"dist/modules/input.types.js":{"imports":[],"exports":[],"entryPoint":"src/modules/input.types.ts","inputs":{"src/modules/input.types.ts":{"bytesInOutput":82}},"bytes":784}}}
@@ -0,0 +1 @@
1
+ {"inputs":{"src/modules/input.props.ts":{"bytes":2122,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"./input.types","kind":"import-statement","external":true}],"format":"esm"},"src/modules/input.machines.ts":{"bytes":1588,"imports":[{"path":"xstate","kind":"import-statement","external":true},{"path":"./input.types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/input.connects.ts":{"bytes":2957,"imports":[{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"./input.types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/input.hooks.ts":{"bytes":2375,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@xstate/vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"src/modules/input.machines.ts","kind":"import-statement","original":"./input.machines"},{"path":"src/modules/input.connects.ts","kind":"import-statement","original":"./input.connects"},{"path":"./input.types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/input.tsx":{"bytes":3063,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/input.props.ts","kind":"import-statement","original":"./modules/input.props"},{"path":"src/modules/input.hooks.ts","kind":"import-statement","original":"./modules/input.hooks"},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"./modules/input.types","kind":"import-statement","external":true},{"path":"@mekari/pixel3-button","kind":"import-statement","external":true}],"format":"esm"},"src/input-group.tsx":{"bytes":1000,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"src/modules/input.props.ts","kind":"import-statement","original":"./modules/input.props"},{"path":"src/modules/input.hooks.ts","kind":"import-statement","original":"./modules/input.hooks"}],"format":"esm"},"src/input-addon.tsx":{"bytes":1097,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/input.props.ts","kind":"import-statement","original":"./modules/input.props"},{"path":"src/modules/input.hooks.ts","kind":"import-statement","original":"./modules/input.hooks"}],"format":"esm"},"src/index.ts":{"bytes":472,"imports":[{"path":"src/input.tsx","kind":"import-statement","original":"./input"},{"path":"src/input-group.tsx","kind":"import-statement","original":"./input-group"},{"path":"src/input-addon.tsx","kind":"import-statement","original":"./input-addon"}],"format":"esm"},"src/modules/input.types.ts":{"bytes":2087,"imports":[{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/modules/input.types.mjs":{"imports":[],"exports":[],"entryPoint":"src/modules/input.types.ts","inputs":{"src/modules/input.types.ts":{"bytesInOutput":0}},"bytes":0},"dist/index.mjs":{"imports":[{"path":"dist/chunk-JW2SLWRV.mjs","kind":"import-statement"},{"path":"dist/chunk-62L6URRB.mjs","kind":"import-statement"},{"path":"dist/chunk-AH5Q4AP2.mjs","kind":"import-statement"},{"path":"dist/chunk-ME6YL7P6.mjs","kind":"import-statement"},{"path":"dist/chunk-T766ACNL.mjs","kind":"import-statement"},{"path":"dist/chunk-EF6JEV72.mjs","kind":"import-statement"},{"path":"dist/chunk-ZQ2NFCFA.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpInput","MpInputGroup","MpInputLeftAddon","MpInputRightAddon"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":419},"dist/input-addon.mjs":{"imports":[{"path":"dist/chunk-JW2SLWRV.mjs","kind":"import-statement"},{"path":"dist/chunk-ME6YL7P6.mjs","kind":"import-statement"},{"path":"dist/chunk-T766ACNL.mjs","kind":"import-statement"},{"path":"dist/chunk-EF6JEV72.mjs","kind":"import-statement"},{"path":"dist/chunk-ZQ2NFCFA.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpInputAddon","MpInputLeftAddon","MpInputRightAddon"],"entryPoint":"src/input-addon.tsx","inputs":{},"bytes":319},"dist/chunk-JW2SLWRV.mjs":{"imports":[{"path":"dist/chunk-ME6YL7P6.mjs","kind":"import-statement"},{"path":"dist/chunk-ZQ2NFCFA.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true}],"exports":["MpInputAddon","MpInputLeftAddon","MpInputRightAddon"],"inputs":{"src/input-addon.tsx":{"bytesInOutput":1045}},"bytes":1252},"dist/input-group.mjs":{"imports":[{"path":"dist/chunk-62L6URRB.mjs","kind":"import-statement"},{"path":"dist/chunk-ME6YL7P6.mjs","kind":"import-statement"},{"path":"dist/chunk-T766ACNL.mjs","kind":"import-statement"},{"path":"dist/chunk-EF6JEV72.mjs","kind":"import-statement"},{"path":"dist/chunk-ZQ2NFCFA.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpInputGroup"],"entryPoint":"src/input-group.tsx","inputs":{},"bytes":237},"dist/chunk-62L6URRB.mjs":{"imports":[{"path":"dist/chunk-ME6YL7P6.mjs","kind":"import-statement"},{"path":"dist/chunk-ZQ2NFCFA.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"exports":["MpInputGroup"],"inputs":{"src/input-group.tsx":{"bytesInOutput":731}},"bytes":897},"dist/input.mjs":{"imports":[{"path":"dist/chunk-AH5Q4AP2.mjs","kind":"import-statement"},{"path":"dist/chunk-ME6YL7P6.mjs","kind":"import-statement"},{"path":"dist/chunk-T766ACNL.mjs","kind":"import-statement"},{"path":"dist/chunk-EF6JEV72.mjs","kind":"import-statement"},{"path":"dist/chunk-ZQ2NFCFA.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpInput"],"entryPoint":"src/input.tsx","inputs":{},"bytes":227},"dist/chunk-AH5Q4AP2.mjs":{"imports":[{"path":"dist/chunk-ME6YL7P6.mjs","kind":"import-statement"},{"path":"dist/chunk-ZQ2NFCFA.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-button","kind":"import-statement","external":true}],"exports":["MpInput"],"inputs":{"src/input.tsx":{"bytesInOutput":2754}},"bytes":2913},"dist/modules/input.connects.mjs":{"imports":[{"path":"dist/chunk-T766ACNL.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["inputAddonConnect","inputConnect","inputGroupConnect"],"entryPoint":"src/modules/input.connects.ts","inputs":{},"bytes":199},"dist/modules/input.hooks.mjs":{"imports":[{"path":"dist/chunk-ME6YL7P6.mjs","kind":"import-statement"},{"path":"dist/chunk-T766ACNL.mjs","kind":"import-statement"},{"path":"dist/chunk-EF6JEV72.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["useInput","useInputAddon","useInputGroup"],"entryPoint":"src/modules/input.hooks.ts","inputs":{},"bytes":239},"dist/chunk-ME6YL7P6.mjs":{"imports":[{"path":"dist/chunk-T766ACNL.mjs","kind":"import-statement"},{"path":"dist/chunk-EF6JEV72.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"@xstate/vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["useInput","useInputAddon","useInputGroup"],"inputs":{"src/modules/input.hooks.ts":{"bytesInOutput":2161}},"bytes":2493},"dist/chunk-T766ACNL.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true}],"exports":["inputAddonConnect","inputConnect","inputGroupConnect"],"inputs":{"src/modules/input.connects.ts":{"bytesInOutput":2705}},"bytes":2858},"dist/modules/input.machines.mjs":{"imports":[{"path":"dist/chunk-EF6JEV72.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["inputAddonMachine","inputGroupMachine","inputMachine"],"entryPoint":"src/modules/input.machines.ts","inputs":{},"bytes":199},"dist/chunk-EF6JEV72.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"xstate","kind":"import-statement","external":true}],"exports":["inputAddonMachine","inputGroupMachine","inputMachine"],"inputs":{"src/modules/input.machines.ts":{"bytesInOutput":1366}},"bytes":1519},"dist/modules/input.props.mjs":{"imports":[{"path":"dist/chunk-ZQ2NFCFA.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["inputAddonProps","inputEmits","inputGroupProps","inputProps"],"entryPoint":"src/modules/input.props.ts","inputs":{},"bytes":215},"dist/chunk-ZQ2NFCFA.mjs":{"imports":[{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"exports":["inputAddonProps","inputEmits","inputGroupProps","inputProps"],"inputs":{"src/modules/input.props.ts":{"bytesInOutput":1121}},"bytes":1229},"dist/chunk-QZ7VFGWC.mjs":{"imports":[],"exports":["__name"],"inputs":{},"bytes":151}}}
@@ -0,0 +1,12 @@
1
+ import { InputState, InputSend, InputClasses, InputApiMachine, InputGroupState, InputGroupApiMachine, InputAddonState, InputAddonApiMachine } from './input.types.mjs';
2
+ import '@mekari/pixel3-utils';
3
+
4
+ /**
5
+ * Exported input connects.
6
+ */
7
+
8
+ declare function inputConnect(state: InputState, send: InputSend, classes: InputClasses): InputApiMachine;
9
+ declare function inputGroupConnect(state: InputGroupState, send: InputSend, classes: InputClasses): InputGroupApiMachine;
10
+ declare function inputAddonConnect(state: InputAddonState, send: InputSend, classes: InputClasses): InputAddonApiMachine;
11
+
12
+ export { inputAddonConnect, inputConnect, inputGroupConnect };
@@ -0,0 +1,12 @@
1
+ import { InputState, InputSend, InputClasses, InputApiMachine, InputGroupState, InputGroupApiMachine, InputAddonState, InputAddonApiMachine } from './input.types.js';
2
+ import '@mekari/pixel3-utils';
3
+
4
+ /**
5
+ * Exported input connects.
6
+ */
7
+
8
+ declare function inputConnect(state: InputState, send: InputSend, classes: InputClasses): InputApiMachine;
9
+ declare function inputGroupConnect(state: InputGroupState, send: InputSend, classes: InputClasses): InputGroupApiMachine;
10
+ declare function inputAddonConnect(state: InputAddonState, send: InputSend, classes: InputClasses): InputAddonApiMachine;
11
+
12
+ export { inputAddonConnect, inputConnect, inputGroupConnect };
@@ -0,0 +1,150 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/modules/input.connects.ts
22
+ var input_connects_exports = {};
23
+ __export(input_connects_exports, {
24
+ inputAddonConnect: () => inputAddonConnect,
25
+ inputConnect: () => inputConnect,
26
+ inputGroupConnect: () => inputGroupConnect
27
+ });
28
+ module.exports = __toCommonJS(input_connects_exports);
29
+ var import_css = require("@mekari/pixel3-styled-system/css");
30
+ function inputConnect(state, send, classes) {
31
+ const {
32
+ id,
33
+ modelValue,
34
+ placeholder,
35
+ isReadOnly,
36
+ isDisabled,
37
+ isRequired,
38
+ isInvalid,
39
+ isFullWidth,
40
+ isClearable,
41
+ onInput,
42
+ onChange,
43
+ onClear
44
+ } = state.context;
45
+ return {
46
+ modelValue,
47
+ isReadOnly,
48
+ isDisabled,
49
+ isClearable,
50
+ rootProps: {
51
+ id,
52
+ class: (0, import_css.cx)(classes.root, "group"),
53
+ "data-is-full-width": isFullWidth,
54
+ "data-pixel-component": "MpInput"
55
+ },
56
+ controlProps: {
57
+ id: `${id}-control`,
58
+ value: modelValue,
59
+ placeholder,
60
+ readonly: isReadOnly,
61
+ disabled: isDisabled,
62
+ required: isRequired,
63
+ "data-value": modelValue,
64
+ "data-is-full-width": isFullWidth,
65
+ "aria-readonly": isReadOnly,
66
+ "aria-disabled": isDisabled,
67
+ "aria-invalid": isInvalid,
68
+ "aria-required": isRequired,
69
+ onInput(evt) {
70
+ var _a;
71
+ send({
72
+ type: "SET_VALUE",
73
+ value: (_a = evt == null ? void 0 : evt.currentTarget) == null ? void 0 : _a.value
74
+ });
75
+ if (onInput)
76
+ onInput(evt);
77
+ },
78
+ onChange(evt) {
79
+ var _a;
80
+ send({
81
+ type: "SET_VALUE",
82
+ value: (_a = evt == null ? void 0 : evt.currentTarget) == null ? void 0 : _a.value
83
+ });
84
+ if (onChange)
85
+ onChange(evt);
86
+ },
87
+ class: classes.control,
88
+ "data-pixel-component": "MpInputControl"
89
+ },
90
+ clearProps: {
91
+ id: `${id}-clear`,
92
+ variant: "ghost",
93
+ size: "sm",
94
+ leftIcon: "reset",
95
+ onClick(evt) {
96
+ send({
97
+ type: "SET_VALUE",
98
+ value: null
99
+ });
100
+ if (onInput)
101
+ onInput(evt);
102
+ if (onClear)
103
+ onClear(evt);
104
+ },
105
+ class: classes.clear,
106
+ style: {
107
+ "--mp-input--visibility": modelValue ? "visible" : "hidden",
108
+ "--mp-input--opacity": modelValue ? "1" : "0"
109
+ },
110
+ "data-pixel-component": "MpInputClear"
111
+ }
112
+ };
113
+ }
114
+ __name(inputConnect, "inputConnect");
115
+ function inputGroupConnect(state, send, classes) {
116
+ const {
117
+ id
118
+ } = state.context;
119
+ return {
120
+ rootProps: {
121
+ id,
122
+ class: classes.root,
123
+ "data-pixel-component": "MpInputGroup"
124
+ }
125
+ };
126
+ }
127
+ __name(inputGroupConnect, "inputGroupConnect");
128
+ function inputAddonConnect(state, send, classes) {
129
+ const {
130
+ id,
131
+ placement,
132
+ hasBackground
133
+ } = state.context;
134
+ return {
135
+ rootProps: {
136
+ id,
137
+ class: classes.root,
138
+ "data-placement": placement,
139
+ "data-has-background": hasBackground,
140
+ "data-pixel-component": "MpInputAddon"
141
+ }
142
+ };
143
+ }
144
+ __name(inputAddonConnect, "inputAddonConnect");
145
+ // Annotate the CommonJS export names for ESM import in node:
146
+ 0 && (module.exports = {
147
+ inputAddonConnect,
148
+ inputConnect,
149
+ inputGroupConnect
150
+ });
@@ -0,0 +1,11 @@
1
+ import {
2
+ inputAddonConnect,
3
+ inputConnect,
4
+ inputGroupConnect
5
+ } from "../chunk-T766ACNL.mjs";
6
+ import "../chunk-QZ7VFGWC.mjs";
7
+ export {
8
+ inputAddonConnect,
9
+ inputConnect,
10
+ inputGroupConnect
11
+ };
@@ -0,0 +1,9 @@
1
+ import * as vue from 'vue';
2
+ import { InputDefinedContext, InputApiMachine, InputGroupDefinedContext, InputGroupApiMachine, InputAddonDefinedContext, InputAddonApiMachine } from './input.types.mjs';
3
+ import * as _mekari_pixel3_utils from '@mekari/pixel3-utils';
4
+
5
+ declare const useInput: (props: InputDefinedContext, emit: CallableFunction) => vue.ComputedRef<InputApiMachine<_mekari_pixel3_utils.PropTypes>>;
6
+ declare const useInputGroup: (props: InputGroupDefinedContext) => vue.ComputedRef<InputGroupApiMachine<_mekari_pixel3_utils.PropTypes>>;
7
+ declare const useInputAddon: (props: InputAddonDefinedContext) => vue.ComputedRef<InputAddonApiMachine<_mekari_pixel3_utils.PropTypes>>;
8
+
9
+ export { useInput, useInputAddon, useInputGroup };
@@ -0,0 +1,9 @@
1
+ import * as vue from 'vue';
2
+ import { InputDefinedContext, InputApiMachine, InputGroupDefinedContext, InputGroupApiMachine, InputAddonDefinedContext, InputAddonApiMachine } from './input.types.js';
3
+ import * as _mekari_pixel3_utils from '@mekari/pixel3-utils';
4
+
5
+ declare const useInput: (props: InputDefinedContext, emit: CallableFunction) => vue.ComputedRef<InputApiMachine<_mekari_pixel3_utils.PropTypes>>;
6
+ declare const useInputGroup: (props: InputGroupDefinedContext) => vue.ComputedRef<InputGroupApiMachine<_mekari_pixel3_utils.PropTypes>>;
7
+ declare const useInputAddon: (props: InputAddonDefinedContext) => vue.ComputedRef<InputAddonApiMachine<_mekari_pixel3_utils.PropTypes>>;
8
+
9
+ export { useInput, useInputAddon, useInputGroup };
@@ -0,0 +1,261 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/modules/input.hooks.ts
22
+ var input_hooks_exports = {};
23
+ __export(input_hooks_exports, {
24
+ useInput: () => useInput,
25
+ useInputAddon: () => useInputAddon,
26
+ useInputGroup: () => useInputGroup
27
+ });
28
+ module.exports = __toCommonJS(input_hooks_exports);
29
+ var import_vue = require("vue");
30
+ var import_vue2 = require("@xstate/vue");
31
+ var import_pixel3_utils = require("@mekari/pixel3-utils");
32
+ var import_recipes = require("@mekari/pixel3-styled-system/recipes");
33
+
34
+ // src/modules/input.machines.ts
35
+ var import_xstate = require("xstate");
36
+ function inputMachine(context) {
37
+ return (0, import_xstate.createMachine)({
38
+ /** @xstate-layout N4IgpgJg5mDOIC5QEsB2AHArgFwMQGUBRAFQH0A1AQQBkBVQgbQAYBdRUdAe1mW2U9TsQAD0QBGAEwA6JrLnz5AdgA0IAJ7iJAXy2q0WPMQCaABUIUa9ZmyQguPPgKGiEEiYqkBWT00UAOADZPRQBmPwAWAE4Av1UNBDExEKlwzxCxTzFw8IDIiT9FAJ1dEFROCDghfRwhe15+QVsXEICpQrFFCXDfMKjcuPEklLSMrJy8gqLioA */
39
+ id: "input",
40
+ context: {
41
+ modelValue: "",
42
+ ...context
43
+ },
44
+ on: {
45
+ SET_VALUE: {
46
+ actions: "setValue"
47
+ }
48
+ },
49
+ predictableActionArguments: true
50
+ }, {
51
+ actions: {
52
+ setValue(ctx, evt) {
53
+ set.value(ctx, evt.value);
54
+ }
55
+ }
56
+ });
57
+ }
58
+ __name(inputMachine, "inputMachine");
59
+ var set = {
60
+ value(ctx, value) {
61
+ ctx.modelValue = value;
62
+ }
63
+ };
64
+ function inputGroupMachine(context) {
65
+ return (0, import_xstate.createMachine)({
66
+ /** @xstate-layout N4IgpgJg5mDOIC5gF8A0IB2B7CdGgEMA3AgFwICcBaKCrAVwAd8RGtYBLUjrDFgD0QBGAEzoAnsJHIZyIA */
67
+ id: "input-group",
68
+ context,
69
+ predictableActionArguments: true
70
+ });
71
+ }
72
+ __name(inputGroupMachine, "inputGroupMachine");
73
+ function inputAddonMachine(context) {
74
+ return (0, import_xstate.createMachine)({
75
+ /** @xstate-layout N4IgpgJg5mDOIC5gF8A0IB2B7CdGgEsMAHAVwBcBaAQwgiw3xGK1gPIIaYA9EBGAEzoAnvwHIJyIA */
76
+ id: "input-addon",
77
+ context,
78
+ predictableActionArguments: true
79
+ });
80
+ }
81
+ __name(inputAddonMachine, "inputAddonMachine");
82
+
83
+ // src/modules/input.connects.ts
84
+ var import_css = require("@mekari/pixel3-styled-system/css");
85
+ function inputConnect(state, send, classes) {
86
+ const {
87
+ id,
88
+ modelValue,
89
+ placeholder,
90
+ isReadOnly,
91
+ isDisabled,
92
+ isRequired,
93
+ isInvalid,
94
+ isFullWidth,
95
+ isClearable,
96
+ onInput,
97
+ onChange,
98
+ onClear
99
+ } = state.context;
100
+ return {
101
+ modelValue,
102
+ isReadOnly,
103
+ isDisabled,
104
+ isClearable,
105
+ rootProps: {
106
+ id,
107
+ class: (0, import_css.cx)(classes.root, "group"),
108
+ "data-is-full-width": isFullWidth,
109
+ "data-pixel-component": "MpInput"
110
+ },
111
+ controlProps: {
112
+ id: `${id}-control`,
113
+ value: modelValue,
114
+ placeholder,
115
+ readonly: isReadOnly,
116
+ disabled: isDisabled,
117
+ required: isRequired,
118
+ "data-value": modelValue,
119
+ "data-is-full-width": isFullWidth,
120
+ "aria-readonly": isReadOnly,
121
+ "aria-disabled": isDisabled,
122
+ "aria-invalid": isInvalid,
123
+ "aria-required": isRequired,
124
+ onInput(evt) {
125
+ var _a;
126
+ send({
127
+ type: "SET_VALUE",
128
+ value: (_a = evt == null ? void 0 : evt.currentTarget) == null ? void 0 : _a.value
129
+ });
130
+ if (onInput)
131
+ onInput(evt);
132
+ },
133
+ onChange(evt) {
134
+ var _a;
135
+ send({
136
+ type: "SET_VALUE",
137
+ value: (_a = evt == null ? void 0 : evt.currentTarget) == null ? void 0 : _a.value
138
+ });
139
+ if (onChange)
140
+ onChange(evt);
141
+ },
142
+ class: classes.control,
143
+ "data-pixel-component": "MpInputControl"
144
+ },
145
+ clearProps: {
146
+ id: `${id}-clear`,
147
+ variant: "ghost",
148
+ size: "sm",
149
+ leftIcon: "reset",
150
+ onClick(evt) {
151
+ send({
152
+ type: "SET_VALUE",
153
+ value: null
154
+ });
155
+ if (onInput)
156
+ onInput(evt);
157
+ if (onClear)
158
+ onClear(evt);
159
+ },
160
+ class: classes.clear,
161
+ style: {
162
+ "--mp-input--visibility": modelValue ? "visible" : "hidden",
163
+ "--mp-input--opacity": modelValue ? "1" : "0"
164
+ },
165
+ "data-pixel-component": "MpInputClear"
166
+ }
167
+ };
168
+ }
169
+ __name(inputConnect, "inputConnect");
170
+ function inputGroupConnect(state, send, classes) {
171
+ const {
172
+ id
173
+ } = state.context;
174
+ return {
175
+ rootProps: {
176
+ id,
177
+ class: classes.root,
178
+ "data-pixel-component": "MpInputGroup"
179
+ }
180
+ };
181
+ }
182
+ __name(inputGroupConnect, "inputGroupConnect");
183
+ function inputAddonConnect(state, send, classes) {
184
+ const {
185
+ id,
186
+ placement,
187
+ hasBackground
188
+ } = state.context;
189
+ return {
190
+ rootProps: {
191
+ id,
192
+ class: classes.root,
193
+ "data-placement": placement,
194
+ "data-has-background": hasBackground,
195
+ "data-pixel-component": "MpInputAddon"
196
+ }
197
+ };
198
+ }
199
+ __name(inputAddonConnect, "inputAddonConnect");
200
+
201
+ // src/modules/input.hooks.ts
202
+ var useInput = /* @__PURE__ */ __name((props, emit) => {
203
+ var _a;
204
+ const context = (0, import_vue.ref)(props);
205
+ const {
206
+ state,
207
+ send
208
+ } = (0, import_vue2.useMachine)(inputMachine({
209
+ ...context.value,
210
+ id: (_a = context.value.id) != null ? _a : `mp-input-${(0, import_pixel3_utils.useId)()}`,
211
+ onInput(evt) {
212
+ var _a2, _b;
213
+ emit("update:modelValue", (_a2 = evt == null ? void 0 : evt.currentTarget) == null ? void 0 : _a2.value);
214
+ emit("input", evt, (_b = evt == null ? void 0 : evt.currentTarget) == null ? void 0 : _b.value);
215
+ },
216
+ onChange(evt) {
217
+ var _a2;
218
+ emit("change", evt, (_a2 = evt == null ? void 0 : evt.currentTarget) == null ? void 0 : _a2.value);
219
+ },
220
+ onClear(evt) {
221
+ emit("clear", evt);
222
+ }
223
+ }));
224
+ const [inputProps] = import_recipes.inputSlotRecipe.splitVariantProps(context.value);
225
+ const classes = (0, import_recipes.inputSlotRecipe)(inputProps);
226
+ return (0, import_vue.computed)(() => inputConnect(state.value, send, classes));
227
+ }, "useInput");
228
+ var useInputGroup = /* @__PURE__ */ __name((props) => {
229
+ var _a;
230
+ const context = (0, import_vue.ref)(props);
231
+ const {
232
+ state,
233
+ send
234
+ } = (0, import_vue2.useMachine)(inputGroupMachine({
235
+ ...context.value,
236
+ id: (_a = context.value.id) != null ? _a : `mp-input-group-${(0, import_pixel3_utils.useId)()}`
237
+ }));
238
+ const [inputGroupProps] = import_recipes.inputGroupSlotRecipe.splitVariantProps(context.value);
239
+ const classes = (0, import_recipes.inputGroupSlotRecipe)(inputGroupProps);
240
+ return (0, import_vue.computed)(() => inputGroupConnect(state.value, send, classes));
241
+ }, "useInputGroup");
242
+ var useInputAddon = /* @__PURE__ */ __name((props) => {
243
+ var _a;
244
+ const context = (0, import_vue.ref)(props);
245
+ const {
246
+ state,
247
+ send
248
+ } = (0, import_vue2.useMachine)(inputAddonMachine({
249
+ ...context.value,
250
+ id: (_a = context.value.id) != null ? _a : `mp-input-addon-${(0, import_pixel3_utils.useId)()}`
251
+ }));
252
+ const [inputAddonProps] = import_recipes.inputAddonSlotRecipe.splitVariantProps(context.value);
253
+ const classes = (0, import_recipes.inputAddonSlotRecipe)(inputAddonProps);
254
+ return (0, import_vue.computed)(() => inputAddonConnect(state.value, send, classes));
255
+ }, "useInputAddon");
256
+ // Annotate the CommonJS export names for ESM import in node:
257
+ 0 && (module.exports = {
258
+ useInput,
259
+ useInputAddon,
260
+ useInputGroup
261
+ });
@@ -0,0 +1,13 @@
1
+ import {
2
+ useInput,
3
+ useInputAddon,
4
+ useInputGroup
5
+ } from "../chunk-ME6YL7P6.mjs";
6
+ import "../chunk-T766ACNL.mjs";
7
+ import "../chunk-EF6JEV72.mjs";
8
+ import "../chunk-QZ7VFGWC.mjs";
9
+ export {
10
+ useInput,
11
+ useInputAddon,
12
+ useInputGroup
13
+ };
@@ -0,0 +1,48 @@
1
+ import * as xstate from 'xstate';
2
+ import { InputDefinedContext, InputSize, InputVariant, InputGroupDefinedContext, InputGroupProps, InputAddonDefinedContext, InputAddonProps } from './input.types.mjs';
3
+ import '@mekari/pixel3-utils';
4
+
5
+ declare function inputMachine(context: InputDefinedContext): xstate.StateMachine<{
6
+ id?: string | undefined;
7
+ size?: InputSize | undefined;
8
+ onChange?: ((evt: Event) => void) | undefined;
9
+ onInput?: ((evt: Event) => void) | undefined;
10
+ modelValue: string | number;
11
+ variant?: InputVariant | undefined;
12
+ placeholder?: string | undefined;
13
+ isReadOnly?: boolean | undefined;
14
+ isDisabled?: boolean | undefined;
15
+ isRequired?: boolean | undefined;
16
+ isInvalid?: boolean | undefined;
17
+ isFullWidth?: boolean | undefined;
18
+ isClearable?: boolean | undefined;
19
+ onClear?: ((evt: Event) => void) | undefined;
20
+ }, any, xstate.AnyEventObject, {
21
+ value: any;
22
+ context: {
23
+ id?: string | undefined;
24
+ size?: InputSize | undefined;
25
+ onChange?: ((evt: Event) => void) | undefined;
26
+ onInput?: ((evt: Event) => void) | undefined;
27
+ modelValue: string | number;
28
+ variant?: InputVariant | undefined;
29
+ placeholder?: string | undefined;
30
+ isReadOnly?: boolean | undefined;
31
+ isDisabled?: boolean | undefined;
32
+ isRequired?: boolean | undefined;
33
+ isInvalid?: boolean | undefined;
34
+ isFullWidth?: boolean | undefined;
35
+ isClearable?: boolean | undefined;
36
+ onClear?: ((evt: Event) => void) | undefined;
37
+ };
38
+ }, xstate.BaseActionObject, xstate.ServiceMap, xstate.ResolveTypegenMeta<xstate.TypegenDisabled, xstate.AnyEventObject, xstate.BaseActionObject, xstate.ServiceMap>>;
39
+ declare function inputGroupMachine(context: InputGroupDefinedContext): xstate.StateMachine<Pick<Partial<InputGroupProps>, "id"> & Omit<InputGroupProps, "id">, any, xstate.AnyEventObject, {
40
+ value: any;
41
+ context: Pick<Partial<InputGroupProps>, "id"> & Omit<InputGroupProps, "id">;
42
+ }, xstate.BaseActionObject, xstate.ServiceMap, xstate.ResolveTypegenMeta<xstate.TypegenDisabled, xstate.AnyEventObject, xstate.BaseActionObject, xstate.ServiceMap>>;
43
+ declare function inputAddonMachine(context: InputAddonDefinedContext): xstate.StateMachine<Pick<Partial<InputAddonProps>, "id"> & Omit<InputAddonProps, "id">, any, xstate.AnyEventObject, {
44
+ value: any;
45
+ context: Pick<Partial<InputAddonProps>, "id"> & Omit<InputAddonProps, "id">;
46
+ }, xstate.BaseActionObject, xstate.ServiceMap, xstate.ResolveTypegenMeta<xstate.TypegenDisabled, xstate.AnyEventObject, xstate.BaseActionObject, xstate.ServiceMap>>;
47
+
48
+ export { inputAddonMachine, inputGroupMachine, inputMachine };
@@ -0,0 +1,48 @@
1
+ import * as xstate from 'xstate';
2
+ import { InputDefinedContext, InputSize, InputVariant, InputGroupDefinedContext, InputGroupProps, InputAddonDefinedContext, InputAddonProps } from './input.types.js';
3
+ import '@mekari/pixel3-utils';
4
+
5
+ declare function inputMachine(context: InputDefinedContext): xstate.StateMachine<{
6
+ id?: string | undefined;
7
+ size?: InputSize | undefined;
8
+ onChange?: ((evt: Event) => void) | undefined;
9
+ onInput?: ((evt: Event) => void) | undefined;
10
+ modelValue: string | number;
11
+ variant?: InputVariant | undefined;
12
+ placeholder?: string | undefined;
13
+ isReadOnly?: boolean | undefined;
14
+ isDisabled?: boolean | undefined;
15
+ isRequired?: boolean | undefined;
16
+ isInvalid?: boolean | undefined;
17
+ isFullWidth?: boolean | undefined;
18
+ isClearable?: boolean | undefined;
19
+ onClear?: ((evt: Event) => void) | undefined;
20
+ }, any, xstate.AnyEventObject, {
21
+ value: any;
22
+ context: {
23
+ id?: string | undefined;
24
+ size?: InputSize | undefined;
25
+ onChange?: ((evt: Event) => void) | undefined;
26
+ onInput?: ((evt: Event) => void) | undefined;
27
+ modelValue: string | number;
28
+ variant?: InputVariant | undefined;
29
+ placeholder?: string | undefined;
30
+ isReadOnly?: boolean | undefined;
31
+ isDisabled?: boolean | undefined;
32
+ isRequired?: boolean | undefined;
33
+ isInvalid?: boolean | undefined;
34
+ isFullWidth?: boolean | undefined;
35
+ isClearable?: boolean | undefined;
36
+ onClear?: ((evt: Event) => void) | undefined;
37
+ };
38
+ }, xstate.BaseActionObject, xstate.ServiceMap, xstate.ResolveTypegenMeta<xstate.TypegenDisabled, xstate.AnyEventObject, xstate.BaseActionObject, xstate.ServiceMap>>;
39
+ declare function inputGroupMachine(context: InputGroupDefinedContext): xstate.StateMachine<Pick<Partial<InputGroupProps>, "id"> & Omit<InputGroupProps, "id">, any, xstate.AnyEventObject, {
40
+ value: any;
41
+ context: Pick<Partial<InputGroupProps>, "id"> & Omit<InputGroupProps, "id">;
42
+ }, xstate.BaseActionObject, xstate.ServiceMap, xstate.ResolveTypegenMeta<xstate.TypegenDisabled, xstate.AnyEventObject, xstate.BaseActionObject, xstate.ServiceMap>>;
43
+ declare function inputAddonMachine(context: InputAddonDefinedContext): xstate.StateMachine<Pick<Partial<InputAddonProps>, "id"> & Omit<InputAddonProps, "id">, any, xstate.AnyEventObject, {
44
+ value: any;
45
+ context: Pick<Partial<InputAddonProps>, "id"> & Omit<InputAddonProps, "id">;
46
+ }, xstate.BaseActionObject, xstate.ServiceMap, xstate.ResolveTypegenMeta<xstate.TypegenDisabled, xstate.AnyEventObject, xstate.BaseActionObject, xstate.ServiceMap>>;
47
+
48
+ export { inputAddonMachine, inputGroupMachine, inputMachine };