@kopexa/chip 18.5.1 → 18.5.3

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/badge.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { BadgeVariantProps } from '@kopexa/theme';
1
+ import * as react from 'react';
3
2
  import { ComponentProps, ReactNode } from 'react';
3
+ import { BadgeVariantProps } from '@kopexa/theme';
4
4
 
5
5
  type BadgeProps = ComponentProps<"span"> & BadgeVariantProps & {
6
6
  /**
@@ -33,6 +33,6 @@ type BadgeProps = ComponentProps<"span"> & BadgeVariantProps & {
33
33
  * an at-a-glance label (status, category, tag) and don't need close
34
34
  * buttons, indicators or compound slots; reach for `<Chip>` when you do.
35
35
  */
36
- declare const Badge: ({ className, variant, size, startContent, endContent, dividerAfterStart, customColor, style, children, ...rest }: BadgeProps) => react_jsx_runtime.JSX.Element;
36
+ declare const Badge: ({ className, variant, size, startContent, endContent, dividerAfterStart, customColor, style, children, ...rest }: BadgeProps) => react.JSX.Element;
37
37
 
38
38
  export { Badge, type BadgeProps };
package/dist/badge.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { BadgeVariantProps } from '@kopexa/theme';
1
+ import * as react from 'react';
3
2
  import { ComponentProps, ReactNode } from 'react';
3
+ import { BadgeVariantProps } from '@kopexa/theme';
4
4
 
5
5
  type BadgeProps = ComponentProps<"span"> & BadgeVariantProps & {
6
6
  /**
@@ -33,6 +33,6 @@ type BadgeProps = ComponentProps<"span"> & BadgeVariantProps & {
33
33
  * an at-a-glance label (status, category, tag) and don't need close
34
34
  * buttons, indicators or compound slots; reach for `<Chip>` when you do.
35
35
  */
36
- declare const Badge: ({ className, variant, size, startContent, endContent, dividerAfterStart, customColor, style, children, ...rest }: BadgeProps) => react_jsx_runtime.JSX.Element;
36
+ declare const Badge: ({ className, variant, size, startContent, endContent, dividerAfterStart, customColor, style, children, ...rest }: BadgeProps) => react.JSX.Element;
37
37
 
38
38
  export { Badge, type BadgeProps };
package/dist/chip.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { SlotsToClasses, ChipSlots, ChipVariantProps } from '@kopexa/theme';
1
+ import * as react from 'react';
3
2
  import { ComponentProps } from 'react';
3
+ import { SlotsToClasses, ChipSlots, ChipVariantProps } from '@kopexa/theme';
4
4
 
5
5
  type BaseProps = {
6
6
  /**
@@ -27,6 +27,6 @@ type BaseProps = {
27
27
  onClose?: () => void;
28
28
  };
29
29
  type ChipProps = ComponentProps<"div"> & BaseProps & ChipVariantProps;
30
- declare const Chip: (props: ChipProps) => react_jsx_runtime.JSX.Element;
30
+ declare const Chip: (props: ChipProps) => react.JSX.Element;
31
31
 
32
32
  export { Chip, type ChipProps };
package/dist/chip.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { SlotsToClasses, ChipSlots, ChipVariantProps } from '@kopexa/theme';
1
+ import * as react from 'react';
3
2
  import { ComponentProps } from 'react';
3
+ import { SlotsToClasses, ChipSlots, ChipVariantProps } from '@kopexa/theme';
4
4
 
5
5
  type BaseProps = {
6
6
  /**
@@ -27,6 +27,6 @@ type BaseProps = {
27
27
  onClose?: () => void;
28
28
  };
29
29
  type ChipProps = ComponentProps<"div"> & BaseProps & ChipVariantProps;
30
- declare const Chip: (props: ChipProps) => react_jsx_runtime.JSX.Element;
30
+ declare const Chip: (props: ChipProps) => react.JSX.Element;
31
31
 
32
32
  export { Chip, type ChipProps };
package/dist/index.d.mts CHANGED
@@ -2,6 +2,5 @@ export { Badge, BadgeProps } from './badge.mjs';
2
2
  export { Chip, ChipProps } from './chip.mjs';
3
3
  export { RelatedControlChip, RelatedControlChipProps } from './related-control-chip.mjs';
4
4
  export { StandardChip, StandardChipProps } from './standard-chip.mjs';
5
- import 'react/jsx-runtime';
6
- import '@kopexa/theme';
7
5
  import 'react';
6
+ import '@kopexa/theme';
package/dist/index.d.ts CHANGED
@@ -2,6 +2,5 @@ export { Badge, BadgeProps } from './badge.js';
2
2
  export { Chip, ChipProps } from './chip.js';
3
3
  export { RelatedControlChip, RelatedControlChipProps } from './related-control-chip.js';
4
4
  export { StandardChip, StandardChipProps } from './standard-chip.js';
5
- import 'react/jsx-runtime';
6
- import '@kopexa/theme';
7
5
  import 'react';
6
+ import '@kopexa/theme';
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { RelatedControlChipVariantsProps } from '@kopexa/theme';
3
3
 
4
4
  type MappingType = "EQUAL" | "INTERSECT" | "PARTIAL" | "SUBSET" | "SUPERSET";
@@ -14,6 +14,6 @@ type RelatedControlChipProps = RelatedControlChipVariantsProps & {
14
14
  */
15
15
  asChild?: boolean;
16
16
  };
17
- declare const RelatedControlChip: ({ refCode, mappingType, relation, asChild, }: RelatedControlChipProps) => react_jsx_runtime.JSX.Element;
17
+ declare const RelatedControlChip: ({ refCode, mappingType, relation, asChild, }: RelatedControlChipProps) => react.JSX.Element;
18
18
 
19
19
  export { RelatedControlChip, type RelatedControlChipProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { RelatedControlChipVariantsProps } from '@kopexa/theme';
3
3
 
4
4
  type MappingType = "EQUAL" | "INTERSECT" | "PARTIAL" | "SUBSET" | "SUPERSET";
@@ -14,6 +14,6 @@ type RelatedControlChipProps = RelatedControlChipVariantsProps & {
14
14
  */
15
15
  asChild?: boolean;
16
16
  };
17
- declare const RelatedControlChip: ({ refCode, mappingType, relation, asChild, }: RelatedControlChipProps) => react_jsx_runtime.JSX.Element;
17
+ declare const RelatedControlChip: ({ refCode, mappingType, relation, asChild, }: RelatedControlChipProps) => react.JSX.Element;
18
18
 
19
19
  export { RelatedControlChip, type RelatedControlChipProps };
@@ -1,13 +1,12 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { StandardChipVariants } from '@kopexa/theme';
3
3
  import { ChipProps } from './chip.mjs';
4
- import 'react';
5
4
 
6
5
  type Omitted = "indicator" | "indicatorColor" | "startContent" | "endContent" | "standard";
7
6
  type BaseProps = ChipProps & StandardChipVariants;
8
7
  type StandardChipProps = Omit<BaseProps, Omitted> & {
9
8
  standard: string;
10
9
  };
11
- declare const StandardChip: (props: StandardChipProps) => react_jsx_runtime.JSX.Element;
10
+ declare const StandardChip: (props: StandardChipProps) => react.JSX.Element;
12
11
 
13
12
  export { StandardChip, type StandardChipProps };
@@ -1,13 +1,12 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { StandardChipVariants } from '@kopexa/theme';
3
3
  import { ChipProps } from './chip.js';
4
- import 'react';
5
4
 
6
5
  type Omitted = "indicator" | "indicatorColor" | "startContent" | "endContent" | "standard";
7
6
  type BaseProps = ChipProps & StandardChipVariants;
8
7
  type StandardChipProps = Omit<BaseProps, Omitted> & {
9
8
  standard: string;
10
9
  };
11
- declare const StandardChip: (props: StandardChipProps) => react_jsx_runtime.JSX.Element;
10
+ declare const StandardChip: (props: StandardChipProps) => react.JSX.Element;
12
11
 
13
12
  export { StandardChip, type StandardChipProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kopexa/chip",
3
- "version": "18.5.1",
3
+ "version": "18.5.3",
4
4
  "description": "A Chip is a small block of essential information that represent an input, attribute, or action.",
5
5
  "keywords": [
6
6
  "chip"
@@ -28,14 +28,14 @@
28
28
  "motion": ">=12.23.6",
29
29
  "react": ">=19.0.0-rc.0",
30
30
  "react-dom": ">=19.0.0-rc.0",
31
- "@kopexa/theme": "18.5.1"
31
+ "@kopexa/theme": "18.5.3"
32
32
  },
33
33
  "dependencies": {
34
- "@radix-ui/react-slot": "^1.2.4",
35
- "@kopexa/icons": "18.5.1",
36
- "@kopexa/shared-utils": "18.5.1",
37
- "@kopexa/tooltip": "18.5.1",
38
- "@kopexa/react-utils": "18.5.1"
34
+ "@radix-ui/react-slot": "^1.5.0",
35
+ "@kopexa/react-utils": "18.5.3",
36
+ "@kopexa/icons": "18.5.3",
37
+ "@kopexa/shared-utils": "18.5.3",
38
+ "@kopexa/tooltip": "18.5.3"
39
39
  },
40
40
  "clean-package": "../../../clean-package.config.json",
41
41
  "module": "dist/index.mjs",