@jamsrui/tags-input 0.0.16 → 0.0.17

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,6 +1,17 @@
1
- export { TagsInput } from './tags-input.mjs';
2
- export { TagsInputConfig, useTagsInputConfig } from './tags-input-config.mjs';
3
- import 'react';
1
+ import * as react from 'react';
2
+ import { TagsInput as TagsInput$1 } from './tags-input.mjs';
3
+ import { TagsInputConfig } from './tags-input-config.mjs';
4
+ export { useTagsInputConfig } from './tags-input-config.mjs';
4
5
  import '@jamsrui/utils';
5
6
  import 'react/jsx-runtime';
6
7
  import '@jamsrui/core';
8
+
9
+ declare const TagsInput: (props: TagsInput$1.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
10
+ declare namespace TagsInput {
11
+ interface Props extends TagsInput$1.Props {
12
+ }
13
+ interface Config extends TagsInputConfig.Props {
14
+ }
15
+ }
16
+
17
+ export { TagsInput, TagsInputConfig };
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- "use client";import{TagsInput as t}from"./tags-input.mjs";import{TagsInputConfig as g,useTagsInputConfig as p}from"./tags-input-config.mjs";export{t as TagsInput,g as TagsInputConfig,p as useTagsInputConfig};
1
+ import{TagsInput as t}from"./tags-input.mjs";import{TagsInputConfig as o,useTagsInputConfig as n}from"./tags-input-config.mjs";const e=Object.assign(t,{});export{e as TagsInput,o as TagsInputConfig,n as useTagsInputConfig};
@@ -1,6 +1,6 @@
1
- import { TagsInput } from './tags-input.mjs';
2
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import { GlobalConfigProps } from '@jamsrui/core';
2
+ import { WithGlobalConfig } from '@jamsrui/core';
3
+ import { TagsInput } from './tags-input.mjs';
4
4
  import 'react';
5
5
  import '@jamsrui/utils';
6
6
 
@@ -10,7 +10,7 @@ declare const TagsInputConfig: (props: Omit<Partial<Record<string, any>>, "child
10
10
  children: React.ReactNode;
11
11
  }) => react_jsx_runtime.JSX.Element;
12
12
  declare namespace TagsInputConfig {
13
- interface Props extends TagsInput.Props, GlobalConfigProps<TagsInput.Props> {
13
+ interface Props extends WithGlobalConfig<TagsInput.Props> {
14
14
  }
15
15
  }
16
16
 
@@ -1 +1 @@
1
- import{createConfigContext as o}from"@jamsrui/utils";const[t,n]=o({displayName:"TagsInputConfig"});export{t as TagsInputConfig,n as useTagsInputConfig};
1
+ "use client";import{createConfigContext as t}from"@jamsrui/utils";const[n,e]=t({displayName:"TagsInputConfig"});export{n as TagsInputConfig,e as useTagsInputConfig};
@@ -1 +1 @@
1
- import{useRenderElement as t}from"@jamsrui/hooks";const o=e=>{const{render:n,...r}=e;return t("div",{props:r})};export{o as TagsInput};
1
+ "use client";import{useRenderElement as t}from"@jamsrui/hooks";const o=e=>{const{render:n,...r}=e;return t("div",{props:r})};export{o as TagsInput};
@@ -1 +1 @@
1
- const s=p=>{};export{s as useTagsInput};
1
+ "use client";const s=e=>{};export{s as useTagsInput};
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@jamsrui/tags-input",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
- "@jamsrui/hooks": "^0.0.16",
9
- "@jamsrui/core": "^0.0.13",
10
- "@jamsrui/utils": "^0.0.16"
8
+ "@jamsrui/hooks": "^0.0.17",
9
+ "@jamsrui/core": "^0.0.14",
10
+ "@jamsrui/utils": "^0.0.17"
11
11
  },
12
12
  "exports": {
13
13
  ".": {