@mage-ui/components 0.0.79 → 0.0.81

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,4 +1,4 @@
1
- import * as react_jsx_runtime6 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime5 from "react/jsx-runtime";
2
2
  import { ComponentProps, ReactNode } from "react";
3
3
 
4
4
  //#region src/components/buttons/button/Button.d.ts
@@ -20,7 +20,7 @@ declare const Button: ({
20
20
  endSlot,
21
21
  children,
22
22
  ...props
23
- }: ButtonProps) => react_jsx_runtime6.JSX.Element;
23
+ }: ButtonProps) => react_jsx_runtime5.JSX.Element;
24
24
  //#endregion
25
25
  export { Button, ButtonProps };
26
26
  //# sourceMappingURL=Button.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { ButtonProps } from "../button/Button.js";
2
- import * as react_jsx_runtime5 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/buttons/button-icon/ButtonIcon.d.ts
5
5
  type ButtonIconProps = ButtonProps & {
@@ -15,7 +15,7 @@ declare const ButtonIcon: ({
15
15
  icon,
16
16
  classNames,
17
17
  ...props
18
- }: ButtonIconProps) => react_jsx_runtime5.JSX.Element;
18
+ }: ButtonIconProps) => react_jsx_runtime0.JSX.Element;
19
19
  //#endregion
20
20
  export { ButtonIcon, ButtonIconProps };
21
21
  //# sourceMappingURL=ButtonIcon.d.ts.map
@@ -9,6 +9,7 @@ type CheckboxProps = Omit<ComponentProps<'input'>, 'size'> & {
9
9
  checked?: boolean;
10
10
  label?: ReactNode;
11
11
  disabled?: boolean;
12
+ indeterminate?: boolean;
12
13
  classNames?: {
13
14
  checkboxBody?: string;
14
15
  checkboxDescription?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","names":[],"sources":["../../../../src/components/controls/checkbox/Checkbox.tsx"],"sourcesContent":[],"mappings":";;;KAeY,aAAA,GAAgB,KAAK;UACvB;EADE,WAAA,CAAA,EAEI,SAFS;EAAA,KAAA,CAAA,EAAA,MAAA;MAAQ,CAAA,EAAA,MAAA;SAAL,CAAA,EAAA,OAAA;OAClB,CAAA,EAKA,SALA;UACM,CAAA,EAAA,OAAA;YAIN,CAAA,EAAA;IAAS,YAAA,CAAA,EAAA,MAAA;IAcN,mBAoBZ,CAAA,EAAA,MAAA;IAAA,aAAA,CAAA,EAAA,MAAA;;IAjBE,aAAA,CAAA,EAAA,MAAA;IAAgB,aAAA,CAAA,EAAA,MAAA;IAAS,aAAA,CAAA,EAAA,MAAA;;;;cAHf;;;;KAGV,gBAAgB"}
1
+ {"version":3,"file":"Checkbox.d.ts","names":[],"sources":["../../../../src/components/controls/checkbox/Checkbox.tsx"],"sourcesContent":[],"mappings":";;;KAeY,aAAA,GAAgB,KAAK;UACvB;EADE,WAAA,CAAA,EAEI,SAFS;EAAA,KAAA,CAAA,EAAA,MAAA;MAAQ,CAAA,EAAA,MAAA;SAAL,CAAA,EAAA,OAAA;OAClB,CAAA,EAKA,SALA;UACM,CAAA,EAAA,OAAA;eAIN,CAAA,EAAA,OAAA;EAAS,UAAA,CAAA,EAAA;IAeN,YAoBZ,CAAA,EAAA,MAAA;IAAA,mBAAA,CAAA,EAAA,MAAA;;IAjBE,YAAA,CAAA,EAAA,MAAA;IAAgB,aAAA,CAAA,EAAA,MAAA;IAAS,aAAA,CAAA,EAAA,MAAA;;;;;cAHf;;;;KAGV,gBAAgB"}
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.js","names":["Checkbox","CheckboxMantine"],"sources":["../../../../src/components/controls/checkbox/Checkbox.tsx"],"sourcesContent":["import type { ComponentProps, ReactNode } from 'react';\n\nimport { cx } from '@mage-ui/styled-system/css';\nimport {\n checkboxBody,\n checkboxDescription,\n checkboxError,\n checkboxIcon,\n checkboxInner,\n checkboxInput,\n checkboxLabel,\n checkboxLabelWrapper,\n} from '@mage-ui/styled-system/recipes';\nimport { Checkbox as CheckboxMantine } from '@mantine/core';\n\nexport type CheckboxProps = Omit<ComponentProps<'input'>, 'size'> & {\n error?: ReactNode;\n description?: ReactNode;\n value?: string;\n name?: string;\n checked?: boolean;\n label?: ReactNode;\n disabled?: boolean;\n classNames?: {\n checkboxBody?: string;\n checkboxDescription?: string;\n checkboxError?: string;\n checkboxIcon?: string;\n checkboxInner?: string;\n checkboxInput?: string;\n checkboxLabel?: string;\n checkboxLabelWrapper?: string;\n };\n};\n\nexport const Checkbox = ({\n classNames,\n ...props\n}: CheckboxProps): ReactNode => {\n return (\n <CheckboxMantine\n classNames={{\n body: classNames?.checkboxBody ?? checkboxBody(),\n labelWrapper:\n classNames?.checkboxLabelWrapper ?? checkboxLabelWrapper(),\n label: classNames?.checkboxLabel ?? checkboxLabel(),\n description: classNames?.checkboxDescription ?? checkboxDescription(),\n error: classNames?.checkboxError ?? checkboxError(),\n input: cx(classNames?.checkboxInput ?? checkboxInput(), 'peer'),\n inner: classNames?.checkboxInner ?? checkboxInner(),\n icon: classNames?.checkboxIcon ?? checkboxIcon(),\n }}\n {...props}\n />\n );\n};\n\nCheckbox.displayName = 'Checkbox';\n"],"mappings":"gVAmCA,MAAaA,GAAY,CACvB,aACA,GAAG,KAGD,EAACC,EAAAA,CACC,WAAY,CACV,KAAM,GAAY,cAAgB,GAAc,CAChD,aACE,GAAY,sBAAwB,GAAsB,CAC5D,MAAO,GAAY,eAAiB,GAAe,CACnD,YAAa,GAAY,qBAAuB,GAAqB,CACrE,MAAO,GAAY,eAAiB,GAAe,CACnD,MAAO,EAAG,GAAY,eAAiB,GAAe,CAAE,OAAO,CAC/D,MAAO,GAAY,eAAiB,GAAe,CACnD,KAAM,GAAY,cAAgB,GAAc,CACjD,CACD,GAAI,GACJ,CAIN,EAAS,YAAc"}
1
+ {"version":3,"file":"Checkbox.js","names":["Checkbox","CheckboxMantine"],"sources":["../../../../src/components/controls/checkbox/Checkbox.tsx"],"sourcesContent":["import type { ComponentProps, ReactNode } from 'react';\n\nimport { cx } from '@mage-ui/styled-system/css';\nimport {\n checkboxBody,\n checkboxDescription,\n checkboxError,\n checkboxIcon,\n checkboxInner,\n checkboxInput,\n checkboxLabel,\n checkboxLabelWrapper,\n} from '@mage-ui/styled-system/recipes';\nimport { Checkbox as CheckboxMantine } from '@mantine/core';\n\nexport type CheckboxProps = Omit<ComponentProps<'input'>, 'size'> & {\n error?: ReactNode;\n description?: ReactNode;\n value?: string;\n name?: string;\n checked?: boolean;\n label?: ReactNode;\n disabled?: boolean;\n indeterminate?: boolean;\n classNames?: {\n checkboxBody?: string;\n checkboxDescription?: string;\n checkboxError?: string;\n checkboxIcon?: string;\n checkboxInner?: string;\n checkboxInput?: string;\n checkboxLabel?: string;\n checkboxLabelWrapper?: string;\n };\n};\n\nexport const Checkbox = ({\n classNames,\n ...props\n}: CheckboxProps): ReactNode => {\n return (\n <CheckboxMantine\n classNames={{\n body: classNames?.checkboxBody ?? checkboxBody(),\n labelWrapper:\n classNames?.checkboxLabelWrapper ?? checkboxLabelWrapper(),\n label: classNames?.checkboxLabel ?? checkboxLabel(),\n description: classNames?.checkboxDescription ?? checkboxDescription(),\n error: classNames?.checkboxError ?? checkboxError(),\n input: cx(classNames?.checkboxInput ?? checkboxInput(), 'peer'),\n inner: classNames?.checkboxInner ?? checkboxInner(),\n icon: classNames?.checkboxIcon ?? checkboxIcon(),\n }}\n {...props}\n />\n );\n};\n\nCheckbox.displayName = 'Checkbox';\n"],"mappings":"gVAoCA,MAAaA,GAAY,CACvB,aACA,GAAG,KAGD,EAACC,EAAAA,CACC,WAAY,CACV,KAAM,GAAY,cAAgB,GAAc,CAChD,aACE,GAAY,sBAAwB,GAAsB,CAC5D,MAAO,GAAY,eAAiB,GAAe,CACnD,YAAa,GAAY,qBAAuB,GAAqB,CACrE,MAAO,GAAY,eAAiB,GAAe,CACnD,MAAO,EAAG,GAAY,eAAiB,GAAe,CAAE,OAAO,CAC/D,MAAO,GAAY,eAAiB,GAAe,CACnD,KAAM,GAAY,cAAgB,GAAc,CACjD,CACD,GAAI,GACJ,CAIN,EAAS,YAAc"}
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime4 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime6 from "react/jsx-runtime";
2
2
  import { ReactNode } from "react";
3
3
 
4
4
  //#region src/components/navigation/breadcrumbs/Breadcrumbs.d.ts
@@ -17,7 +17,7 @@ declare const Breadcrumbs: {
17
17
  separator,
18
18
  children,
19
19
  classNames
20
- }: BreadcrumbsProps): react_jsx_runtime4.JSX.Element;
20
+ }: BreadcrumbsProps): react_jsx_runtime6.JSX.Element;
21
21
  Item: {
22
22
  ({
23
23
  children
@@ -1,7 +1,7 @@
1
1
  import { TabsListProps } from "./TabsList.js";
2
2
  import { TabsTabProps } from "./TabsTab.js";
3
3
  import { TabsPanelProps } from "./TabsPanel.js";
4
- import * as react_jsx_runtime0 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
5
5
  import React from "react";
6
6
 
7
7
  //#region src/components/navigation/tabs/Tabs.d.ts
@@ -18,14 +18,14 @@ declare const Tabs: {
18
18
  classNames,
19
19
  children,
20
20
  ...props
21
- }: TabsProps): react_jsx_runtime0.JSX.Element;
21
+ }: TabsProps): react_jsx_runtime1.JSX.Element;
22
22
  displayName: string;
23
23
  List: {
24
24
  ({
25
25
  classNames,
26
26
  children,
27
27
  ...props
28
- }: TabsListProps): react_jsx_runtime0.JSX.Element;
28
+ }: TabsListProps): react_jsx_runtime1.JSX.Element;
29
29
  displayName: string;
30
30
  };
31
31
  Tab: {
@@ -35,7 +35,7 @@ declare const Tabs: {
35
35
  endSlot,
36
36
  children,
37
37
  ...props
38
- }: TabsTabProps): react_jsx_runtime0.JSX.Element;
38
+ }: TabsTabProps): react_jsx_runtime1.JSX.Element;
39
39
  displayName: string;
40
40
  };
41
41
  Panel: {
@@ -43,7 +43,7 @@ declare const Tabs: {
43
43
  classNames,
44
44
  children,
45
45
  ...props
46
- }: TabsPanelProps): react_jsx_runtime0.JSX.Element;
46
+ }: TabsPanelProps): react_jsx_runtime1.JSX.Element;
47
47
  displayName: string;
48
48
  };
49
49
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mage-ui/components",
3
- "version": "0.0.79",
3
+ "version": "0.0.81",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],
@@ -26,8 +26,8 @@
26
26
  "rimraf": "^6.0.1",
27
27
  "tsdown": "^0.15.6",
28
28
  "typescript": "^5.9.3",
29
- "@mage-ui/preset": "0.0.79",
30
- "@mage-ui/styled-system": "0.0.79"
29
+ "@mage-ui/preset": "0.0.81",
30
+ "@mage-ui/styled-system": "0.0.81"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@hookform/resolvers": "^5.2.2",