@jamsrui/input 0.0.5 → 0.0.7

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/index.d.mts CHANGED
@@ -1,5 +1,6 @@
1
- export { I as Input } from './input-DG-nGssY.mjs';
1
+ export { I as Input } from './input-GVjmJHy9.mjs';
2
2
  export { InputConfig, useInputConfig } from './input-config.mjs';
3
+ import 'react/jsx-runtime';
3
4
  import 'react';
4
5
  import '@jamsrui/utils';
5
6
  import './input-clear-button.mjs';
@@ -1,3 +1,4 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
1
2
  import * as react from 'react';
2
3
  import { PropGetter, UIProps, SlotsToClassNames } from '@jamsrui/utils';
3
4
  import { InputClearButton } from './input-clear-button.mjs';
@@ -60,7 +61,7 @@ declare namespace useInput {
60
61
  }
61
62
  }
62
63
 
63
- declare const Input: (props: Input.Props) => react.JSX.Element;
64
+ declare const Input: (props: Input.Props) => react_jsx_runtime.JSX.Element;
64
65
  declare namespace Input {
65
66
  interface Props extends useInput.Props {
66
67
  }
@@ -1,6 +1,7 @@
1
- import { I as Input } from './input-DG-nGssY.mjs';
2
- import * as react from 'react';
1
+ import { I as Input } from './input-GVjmJHy9.mjs';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import { GlobalConfigProps } from '@jamsrui/core';
4
+ import 'react';
4
5
  import '@jamsrui/utils';
5
6
  import './input-clear-button.mjs';
6
7
  import './input-content.mjs';
@@ -22,7 +23,7 @@ declare const InputConfig: (props: {
22
23
  children?: React.ReactNode;
23
24
  } & {
24
25
  merge?: boolean;
25
- }) => react.JSX.Element;
26
+ }) => react_jsx_runtime.JSX.Element;
26
27
  declare namespace InputConfig {
27
28
  interface Props extends Input.Props, GlobalConfigProps<Input.Props> {
28
29
  }
@@ -1,5 +1,6 @@
1
1
  import * as react from 'react';
2
- import { u as useInput } from './input-DG-nGssY.mjs';
2
+ import { u as useInput } from './input-GVjmJHy9.mjs';
3
+ import 'react/jsx-runtime';
3
4
  import '@jamsrui/utils';
4
5
  import './input-clear-button.mjs';
5
6
  import './input-content.mjs';
package/dist/input.d.mts CHANGED
@@ -1,5 +1,6 @@
1
+ import 'react/jsx-runtime';
2
+ export { I as Input } from './input-GVjmJHy9.mjs';
1
3
  import 'react';
2
- export { I as Input } from './input-DG-nGssY.mjs';
3
4
  import '@jamsrui/utils';
4
5
  import './input-clear-button.mjs';
5
6
  import './input-content.mjs';
package/dist/input.mjs CHANGED
@@ -1 +1 @@
1
- import{useRenderElement as u}from"@jamsrui/hooks";import{mergeConfigProps as s}from"@jamsrui/utils";import{useInputConfig as i}from"./input-config";import{InputContent as I}from"./input-content";import{InputContentWrapper as f}from"./input-content-wrapper";import{InputContext as c}from"./input-context";import{InputEndContent as a}from"./input-end-content";import{InputErrorMessage as C}from"./input-error-message";import{InputField as d}from"./input-field";import{InputHelperText as l}from"./input-helper-text";import{InputLabel as x}from"./input-label";import{InputStartContent as g}from"./input-start-content";import{InputWrapper as P}from"./input-wrapper";import{useInput as E}from"./use-input";const w=r=>{const t=i(),p=s(t,t,r),o=E(p),{getRootProps:n}=o,e=React.createElement(React.Fragment,null,React.createElement(P,null,React.createElement(x,null),React.createElement(f,null,React.createElement(g,null),React.createElement(I,null,React.createElement(d,null)),React.createElement(a,null))),React.createElement(l,null),React.createElement(C,null)),m=u("div",{props:[n({}),{children:e}]});return React.createElement(c,{value:o},m)};export{w as Input};
1
+ import{Fragment as v,jsx as t,jsxs as o}from"react/jsx-runtime";import{useRenderElement as i}from"@jamsrui/hooks";import{mergeConfigProps as I}from"@jamsrui/utils";import{useInputConfig as f}from"./input-config";import{InputContent as c}from"./input-content";import{InputContentWrapper as C}from"./input-content-wrapper";import{InputContext as a}from"./input-context";import{InputEndContent as d}from"./input-end-content";import{InputErrorMessage as l}from"./input-error-message";import{InputField as g}from"./input-field";import{InputHelperText as x}from"./input-helper-text";import{InputLabel as P}from"./input-label";import{InputStartContent as E}from"./input-start-content";import{InputWrapper as W}from"./input-wrapper";import{useInput as h}from"./use-input";const B=n=>{const r=f(),e=I(r,r,n),p=h(e),{getRootProps:m}=p,u=o(v,{children:[o(W,{children:[t(P,{}),o(C,{children:[t(E,{}),t(c,{children:t(g,{})}),t(d,{})]})]}),t(x,{}),t(l,{})]}),s=i("div",{props:[m({}),{children:u}]});return t(a,{value:p,children:s})};export{B as Input};
@@ -1,6 +1,6 @@
1
1
  import 'react';
2
2
  import '@jamsrui/utils';
3
- export { u as useInput } from './input-DG-nGssY.mjs';
3
+ export { u as useInput } from './input-GVjmJHy9.mjs';
4
4
  import './input-clear-button.mjs';
5
5
  import './input-content.mjs';
6
6
  import './input-content-wrapper.mjs';
@@ -12,4 +12,5 @@ import './input-label.mjs';
12
12
  import './input-start-content.mjs';
13
13
  import './input-wrapper.mjs';
14
14
  import './styles.mjs';
15
+ import 'react/jsx-runtime';
15
16
  import 'tailwind-variants';
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@jamsrui/input",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
- "@jamsrui/hooks": "^0.0.5",
9
- "@jamsrui/core": "^0.0.5",
10
- "@jamsrui/utils": "^0.0.5"
8
+ "@jamsrui/hooks": "^0.0.7",
9
+ "@jamsrui/core": "^0.0.7",
10
+ "@jamsrui/utils": "^0.0.7"
11
11
  },
12
12
  "exports": {
13
13
  ".": {