@mage-ui/components 0.0.14 → 0.0.15

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 (106) hide show
  1. package/dist/atoms/avatar/Avatar.d.ts +20 -11
  2. package/dist/atoms/avatar/Avatar.d.ts.map +1 -1
  3. package/dist/atoms/avatar/Avatar.js +2 -25
  4. package/dist/atoms/avatar/Avatar.js.map +1 -1
  5. package/dist/atoms/badges/Badge.d.ts +24 -10
  6. package/dist/atoms/badges/Badge.d.ts.map +1 -1
  7. package/dist/atoms/badges/Badge.js +2 -20
  8. package/dist/atoms/badges/Badge.js.map +1 -1
  9. package/dist/atoms/breadcrumbs/Breadcrumbs.d.ts +29 -18
  10. package/dist/atoms/breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  11. package/dist/atoms/breadcrumbs/Breadcrumbs.js +2 -44
  12. package/dist/atoms/breadcrumbs/Breadcrumbs.js.map +1 -1
  13. package/dist/atoms/buttons/Button.d.ts +25 -11
  14. package/dist/atoms/buttons/Button.d.ts.map +1 -1
  15. package/dist/atoms/buttons/Button.js +2 -21
  16. package/dist/atoms/buttons/Button.js.map +1 -1
  17. package/dist/atoms/buttons/ButtonIcon.d.ts +22 -10
  18. package/dist/atoms/buttons/ButtonIcon.d.ts.map +1 -1
  19. package/dist/atoms/buttons/ButtonIcon.js +2 -23
  20. package/dist/atoms/buttons/ButtonIcon.js.map +1 -1
  21. package/dist/atoms/forms/FormInputText.d.ts +18 -6
  22. package/dist/atoms/forms/FormInputText.d.ts.map +1 -1
  23. package/dist/atoms/forms/FormInputText.js +2 -18
  24. package/dist/atoms/forms/FormInputText.js.map +1 -1
  25. package/dist/atoms/icon/Icon.d.ts +19 -9
  26. package/dist/atoms/icon/Icon.d.ts.map +1 -1
  27. package/dist/atoms/icon/Icon.js +2 -18
  28. package/dist/atoms/icon/Icon.js.map +1 -1
  29. package/dist/atoms/icon/IconRaw.d.ts +18 -8
  30. package/dist/atoms/icon/IconRaw.d.ts.map +1 -1
  31. package/dist/atoms/icon/IconRaw.js +2 -20
  32. package/dist/atoms/icon/IconRaw.js.map +1 -1
  33. package/dist/atoms/inputs/Checkbox.d.ts +21 -13
  34. package/dist/atoms/inputs/Checkbox.d.ts.map +1 -1
  35. package/dist/atoms/inputs/Checkbox.js +2 -24
  36. package/dist/atoms/inputs/Checkbox.js.map +1 -1
  37. package/dist/atoms/inputs/DatePicker.d.ts +41 -35
  38. package/dist/atoms/inputs/DatePicker.d.ts.map +1 -1
  39. package/dist/atoms/inputs/DatePicker.js +2 -91
  40. package/dist/atoms/inputs/DatePicker.js.map +1 -1
  41. package/dist/atoms/inputs/InputText.d.ts +27 -14
  42. package/dist/atoms/inputs/InputText.d.ts.map +1 -1
  43. package/dist/atoms/inputs/InputText.js +2 -26
  44. package/dist/atoms/inputs/InputText.js.map +1 -1
  45. package/dist/atoms/inputs/combobox/Combobox.d.ts +43 -29
  46. package/dist/atoms/inputs/combobox/Combobox.d.ts.map +1 -1
  47. package/dist/atoms/inputs/combobox/Combobox.js +2 -74
  48. package/dist/atoms/inputs/combobox/Combobox.js.map +1 -1
  49. package/dist/atoms/inputs/combobox/ComboboxBase.js +2 -69
  50. package/dist/atoms/inputs/combobox/ComboboxBase.js.map +1 -1
  51. package/dist/atoms/misc/VisuallyHidden.js +2 -15
  52. package/dist/atoms/misc/VisuallyHidden.js.map +1 -1
  53. package/dist/atoms/tabs/Tab.d.ts +16 -16
  54. package/dist/atoms/tabs/Tab.d.ts.map +1 -1
  55. package/dist/atoms/tabs/Tab.js +2 -22
  56. package/dist/atoms/tabs/Tab.js.map +1 -1
  57. package/dist/atoms/tabs/TabList.d.ts +12 -12
  58. package/dist/atoms/tabs/TabList.d.ts.map +1 -1
  59. package/dist/atoms/tabs/TabList.js +2 -21
  60. package/dist/atoms/tabs/TabList.js.map +1 -1
  61. package/dist/atoms/tabs/TabPanel.d.ts +12 -12
  62. package/dist/atoms/tabs/TabPanel.d.ts.map +1 -1
  63. package/dist/atoms/tabs/TabPanel.js +2 -18
  64. package/dist/atoms/tabs/TabPanel.js.map +1 -1
  65. package/dist/atoms/tabs/Tabs.d.ts +50 -20
  66. package/dist/atoms/tabs/Tabs.d.ts.map +1 -1
  67. package/dist/atoms/tabs/Tabs.js +2 -23
  68. package/dist/atoms/tabs/Tabs.js.map +1 -1
  69. package/dist/atoms/wrapped-icon/WrappedIcon.d.ts +18 -7
  70. package/dist/atoms/wrapped-icon/WrappedIcon.d.ts.map +1 -1
  71. package/dist/atoms/wrapped-icon/WrappedIcon.js +2 -18
  72. package/dist/atoms/wrapped-icon/WrappedIcon.js.map +1 -1
  73. package/dist/index.d.ts +16 -12
  74. package/dist/index.js +1 -16
  75. package/dist/panda.json +6 -1
  76. package/dist/providers/MageUiProvider.d.ts +14 -4
  77. package/dist/providers/MageUiProvider.d.ts.map +1 -1
  78. package/dist/providers/MageUiProvider.js +2 -11
  79. package/dist/providers/MageUiProvider.js.map +1 -1
  80. package/package.json +23 -31
  81. package/dist/atoms/avatar/index.d.ts +0 -3
  82. package/dist/atoms/avatar/index.d.ts.map +0 -1
  83. package/dist/atoms/badges/index.d.ts +0 -3
  84. package/dist/atoms/badges/index.d.ts.map +0 -1
  85. package/dist/atoms/breadcrumbs/index.d.ts +0 -3
  86. package/dist/atoms/breadcrumbs/index.d.ts.map +0 -1
  87. package/dist/atoms/buttons/index.d.ts +0 -4
  88. package/dist/atoms/buttons/index.d.ts.map +0 -1
  89. package/dist/atoms/forms/index.d.ts +0 -3
  90. package/dist/atoms/forms/index.d.ts.map +0 -1
  91. package/dist/atoms/inputs/combobox/ComboboxBase.d.ts +0 -42
  92. package/dist/atoms/inputs/combobox/ComboboxBase.d.ts.map +0 -1
  93. package/dist/atoms/inputs/index.d.ts +0 -9
  94. package/dist/atoms/inputs/index.d.ts.map +0 -1
  95. package/dist/atoms/misc/VisuallyHidden.d.ts +0 -5
  96. package/dist/atoms/misc/VisuallyHidden.d.ts.map +0 -1
  97. package/dist/atoms/misc/index.d.ts +0 -3
  98. package/dist/atoms/misc/index.d.ts.map +0 -1
  99. package/dist/atoms/tabs/index.d.ts +0 -3
  100. package/dist/atoms/tabs/index.d.ts.map +0 -1
  101. package/dist/atoms/wrapped-icon/index.d.ts +0 -3
  102. package/dist/atoms/wrapped-icon/index.d.ts.map +0 -1
  103. package/dist/index.d.ts.map +0 -1
  104. package/dist/index.js.map +0 -1
  105. package/dist/providers/index.d.ts +0 -3
  106. package/dist/providers/index.d.ts.map +0 -1
@@ -1,18 +1,2 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { wrappedIcon } from '@mage-ui/styled-system/recipes';
3
- import { ThemeIcon } from '@mantine/core';
4
-
5
- const WrappedIcon = ({ children, classNames, ...props })=>{
6
- return /*#__PURE__*/ jsx(ThemeIcon, {
7
- classNames: {
8
- root: classNames?.root ?? wrappedIcon(),
9
- ...classNames
10
- },
11
- autoContrast: true,
12
- ...props,
13
- children: children
14
- });
15
- };
16
-
17
- export { WrappedIcon };
18
- //# sourceMappingURL=WrappedIcon.js.map
1
+ import{wrappedIcon as e}from"@mage-ui/styled-system/recipes";import{ThemeIcon as t}from"@mantine/core";import{jsx as n}from"react/jsx-runtime";const r=({children:r,classNames:i,...a})=>n(t,{classNames:{root:i?.root??e(),...i},autoContrast:!0,...a,children:r});export{r as WrappedIcon};
2
+ //# sourceMappingURL=WrappedIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"WrappedIcon.js","sources":["../../../src/atoms/wrapped-icon/WrappedIcon.tsx"],"sourcesContent":["import { wrappedIcon } from '@mage-ui/styled-system/recipes';\nimport { ThemeIcon } from '@mantine/core';\nimport type { ReactNode } from 'react';\n\nexport type WrappedIconProps = {\n children: ReactNode;\n classNames?: {\n root?: string;\n };\n};\n\nexport const WrappedIcon = ({\n children,\n classNames,\n ...props\n}: WrappedIconProps): ReactNode => {\n return (\n <ThemeIcon\n classNames={{\n root: classNames?.root ?? wrappedIcon(),\n ...classNames,\n }}\n autoContrast={true}\n {...props}\n >\n {children}\n </ThemeIcon>\n );\n};\n"],"names":["WrappedIcon","children","classNames","props","_jsx","ThemeIcon","root","wrappedIcon","autoContrast"],"mappings":";;;;AAWO,MAAMA,cAAc,CAAC,EAC1BC,QAAQ,EACRC,UAAU,EACV,GAAGC,KACc,EAAA,GAAA;AACjB,IAAA,qBACEC,GAACC,CAAAA,SAAAA,EAAAA;QACCH,UAAY,EAAA;AACVI,YAAAA,IAAAA,EAAMJ,YAAYI,IAAQC,IAAAA,WAAAA,EAAAA;AAC1B,YAAA,GAAGL;AACL,SAAA;QACAM,YAAc,EAAA,IAAA;AACb,QAAA,GAAGL,KAAK;AAERF,QAAAA,QAAAA,EAAAA;;AAGP;;;;"}
1
+ {"version":3,"file":"WrappedIcon.js","names":[],"sources":["../../../src/atoms/wrapped-icon/WrappedIcon.tsx"],"sourcesContent":["import { wrappedIcon } from '@mage-ui/styled-system/recipes';\nimport { ThemeIcon } from '@mantine/core';\nimport type { ReactNode } from 'react';\n\nexport type WrappedIconProps = {\n children: ReactNode;\n classNames?: {\n root?: string;\n };\n};\n\nexport const WrappedIcon = ({\n children,\n classNames,\n ...props\n}: WrappedIconProps): ReactNode => {\n return (\n <ThemeIcon\n classNames={{\n root: classNames?.root ?? wrappedIcon(),\n ...classNames,\n }}\n autoContrast={true}\n {...props}\n >\n {children}\n </ThemeIcon>\n );\n};\n"],"mappings":"+IAWA,MAAa,EAAc,CAAC,CAC1B,WACA,aACA,GAAG,EACc,GAEf,EAAC,EAAA,CACC,WAAY,CACV,KAAM,GAAY,MAAQ,GAAa,CACvC,GAAG,CACJ,EACD,cAAc,EACd,GAAI,EAEH,YACS"}
package/dist/index.d.ts CHANGED
@@ -1,12 +1,16 @@
1
- export * from './atoms/avatar';
2
- export * from './atoms/badges';
3
- export * from './atoms/breadcrumbs';
4
- export * from './atoms/buttons';
5
- export * from './atoms/icon/Icon';
6
- export * from './atoms/icon/IconRaw';
7
- export * from './atoms/inputs';
8
- export * from './atoms/forms';
9
- export * from './atoms/tabs';
10
- export * from './atoms/wrapped-icon';
11
- export * from './providers';
12
- //# sourceMappingURL=index.d.ts.map
1
+ import { Avatar$1 as Avatar } from "./atoms/avatar/Avatar.js";
2
+ import { Badge$1 as Badge } from "./atoms/badges/Badge.js";
3
+ import { Breadcrumbs$1 as Breadcrumbs } from "./atoms/breadcrumbs/Breadcrumbs.js";
4
+ import { Button$1 as Button } from "./atoms/buttons/Button.js";
5
+ import { ButtonIcon$1 as ButtonIcon } from "./atoms/buttons/ButtonIcon.js";
6
+ import { Icon$1 as Icon, IconProps } from "./atoms/icon/Icon.js";
7
+ import { IconRaw$1 as IconRaw, IconRawProps } from "./atoms/icon/IconRaw.js";
8
+ import { Checkbox$1 as Checkbox } from "./atoms/inputs/Checkbox.js";
9
+ import { DatePicker$1 as DatePicker } from "./atoms/inputs/DatePicker.js";
10
+ import { InputText$1 as InputText } from "./atoms/inputs/InputText.js";
11
+ import { Combobox$1 as Combobox } from "./atoms/inputs/combobox/Combobox.js";
12
+ import { FormInputText$1 as FormInputText } from "./atoms/forms/FormInputText.js";
13
+ import { Tabs$1 as Tabs } from "./atoms/tabs/Tabs.js";
14
+ import { WrappedIcon$1 as WrappedIcon } from "./atoms/wrapped-icon/WrappedIcon.js";
15
+ import { MageUiProvider$1 as MageUiProvider } from "./providers/MageUiProvider.js";
16
+ export { Avatar, Badge, Breadcrumbs, Button, ButtonIcon, Checkbox, Combobox, DatePicker, FormInputText, Icon, IconProps, IconRaw, IconRawProps, InputText, MageUiProvider, Tabs, WrappedIcon };
package/dist/index.js CHANGED
@@ -1,16 +1 @@
1
- export { Avatar } from './atoms/avatar/Avatar.js';
2
- export { Badge } from './atoms/badges/Badge.js';
3
- export { Breadcrumbs } from './atoms/breadcrumbs/Breadcrumbs.js';
4
- export { Button } from './atoms/buttons/Button.js';
5
- export { ButtonIcon } from './atoms/buttons/ButtonIcon.js';
6
- export { Icon } from './atoms/icon/Icon.js';
7
- export { IconRaw } from './atoms/icon/IconRaw.js';
8
- export { Checkbox } from './atoms/inputs/Checkbox.js';
9
- export { DatePicker } from './atoms/inputs/DatePicker.js';
10
- export { InputText } from './atoms/inputs/InputText.js';
11
- export { Combobox } from './atoms/inputs/combobox/Combobox.js';
12
- export { FormInputText } from './atoms/forms/FormInputText.js';
13
- export { Tabs } from './atoms/tabs/Tabs.js';
14
- export { WrappedIcon } from './atoms/wrapped-icon/WrappedIcon.js';
15
- export { MageUiProvider } from './providers/MageUiProvider.js';
16
- //# sourceMappingURL=index.js.map
1
+ import{Avatar as e}from"./atoms/avatar/Avatar.js";import{Badge as t}from"./atoms/badges/Badge.js";import{Breadcrumbs as n}from"./atoms/breadcrumbs/Breadcrumbs.js";import{Button as r}from"./atoms/buttons/Button.js";import{ButtonIcon as i}from"./atoms/buttons/ButtonIcon.js";import{IconRaw as a}from"./atoms/icon/IconRaw.js";import{Icon as o}from"./atoms/icon/Icon.js";import{Checkbox as s}from"./atoms/inputs/Checkbox.js";import{DatePicker as c}from"./atoms/inputs/DatePicker.js";import{InputText as l}from"./atoms/inputs/InputText.js";import{Combobox as u}from"./atoms/inputs/combobox/Combobox.js";import{FormInputText as d}from"./atoms/forms/FormInputText.js";import{Tabs as f}from"./atoms/tabs/Tabs.js";import{WrappedIcon as p}from"./atoms/wrapped-icon/WrappedIcon.js";import{MageUiProvider as m}from"./providers/MageUiProvider.js";export{e as Avatar,t as Badge,n as Breadcrumbs,r as Button,i as ButtonIcon,s as Checkbox,u as Combobox,c as DatePicker,d as FormInputText,o as Icon,a as IconRaw,l as InputText,m as MageUiProvider,f as Tabs,p as WrappedIcon};
package/dist/panda.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "schemaVersion": "0.53.4",
2
+ "schemaVersion": "0.53.7",
3
3
  "styles": {
4
4
  "atomic": [
5
5
  "color]___[value:neutral.foreground.1.onBrand.enabled",
@@ -63,6 +63,10 @@
63
63
  "avatar": [
64
64
  "size]___[value:m]___[recipe:avatar"
65
65
  ],
66
+ "avatarImg": [],
67
+ "avatarText": [
68
+ "size]___[value:m]___[recipe:avatarText"
69
+ ],
66
70
  "badge": [
67
71
  "status]___[value:neutral]___[recipe:badge"
68
72
  ],
@@ -137,6 +141,7 @@
137
141
  ],
138
142
  "comboboxEmpty": [],
139
143
  "dropdown": [],
144
+ "comboboxOptions": [],
140
145
  "tab": [
141
146
  "color]___[value:neutral]___[recipe:tab",
142
147
  "variant]___[value:tab]___[recipe:tab"
@@ -1,5 +1,15 @@
1
- import type { ReactNode } from 'react';
2
- export declare const MageUiProvider: ({ children }: {
3
- children: ReactNode;
4
- }) => import("react/jsx-runtime").JSX.Element;
1
+ import * as react_jsx_runtime11 from "react/jsx-runtime";
2
+ import { ReactNode } from "react";
3
+
4
+ //#region src/providers/MageUiProvider.d.ts
5
+ declare const MageUiProvider: ({
6
+ children
7
+ }: {
8
+ children: ReactNode;
9
+ }) => react_jsx_runtime11.JSX.Element;
10
+
11
+ //#endregion
12
+ //# sourceMappingURL=MageUiProvider.d.ts.map
13
+
14
+ export { MageUiProvider as MageUiProvider$1 };
5
15
  //# sourceMappingURL=MageUiProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MageUiProvider.d.ts","sourceRoot":"","sources":["../../src/providers/MageUiProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,eAAO,MAAM,cAAc,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,4CAEnE,CAAC"}
1
+ {"version":3,"file":"MageUiProvider.d.ts","names":[],"sources":["../../src/providers/MageUiProvider.tsx"],"sourcesContent":[],"mappings":";;;;cAGa;;;YAA4C;MAAW,mBAAA,CAAA,GAAA,CAAA;;;AAApE"}
@@ -1,11 +1,2 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { HeadlessMantineProvider } from '@mantine/core';
3
-
4
- const MageUiProvider = ({ children })=>{
5
- return /*#__PURE__*/ jsx(HeadlessMantineProvider, {
6
- children: children
7
- });
8
- };
9
-
10
- export { MageUiProvider };
11
- //# sourceMappingURL=MageUiProvider.js.map
1
+ import{HeadlessMantineProvider as e}from"@mantine/core";import{jsx as t}from"react/jsx-runtime";const n=({children:n})=>t(e,{children:n});export{n as MageUiProvider};
2
+ //# sourceMappingURL=MageUiProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MageUiProvider.js","sources":["../../src/providers/MageUiProvider.tsx"],"sourcesContent":["import { HeadlessMantineProvider } from '@mantine/core';\nimport type { ReactNode } from 'react';\n\nexport const MageUiProvider = ({ children }: { children: ReactNode }) => {\n return <HeadlessMantineProvider>{children}</HeadlessMantineProvider>;\n};\n"],"names":["MageUiProvider","children","_jsx","HeadlessMantineProvider"],"mappings":";;;AAGaA,MAAAA,cAAAA,GAAiB,CAAC,EAAEC,QAAQ,EAA2B,GAAA;AAClE,IAAA,qBAAOC,GAACC,CAAAA,uBAAAA,EAAAA;AAAyBF,QAAAA,QAAAA,EAAAA;;AACnC;;;;"}
1
+ {"version":3,"file":"MageUiProvider.js","names":[],"sources":["../../src/providers/MageUiProvider.tsx"],"sourcesContent":["import { HeadlessMantineProvider } from '@mantine/core';\nimport type { ReactNode } from 'react';\n\nexport const MageUiProvider = ({ children }: { children: ReactNode }) => {\n return <HeadlessMantineProvider>{children}</HeadlessMantineProvider>;\n};\n"],"mappings":"gGAGA,MAAa,EAAiB,CAAC,CAAE,WAAmC,GAC3D,EAAC,EAAA,CAAyB,UAAA,EAAmC"}
package/package.json CHANGED
@@ -1,59 +1,51 @@
1
1
  {
2
2
  "name": "@mage-ui/components",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],
7
7
  "author": "",
8
8
  "sideEffects": false,
9
+ "type": "module",
9
10
  "exports": {
10
- "./panda.json": "./dist/panda.json",
11
- ".": "./dist/index.js"
11
+ ".": "./dist/index.js",
12
+ "./package.json": "./package.json"
12
13
  },
14
+ "main": "./dist/index.js",
15
+ "module": "./dist/index.js",
16
+ "types": "./dist/index.d.ts",
13
17
  "files": [
14
18
  "dist"
15
19
  ],
16
- "main": "dist/index.js",
17
- "module": "dist/index.js",
18
- "types": "dist/index.d.ts",
19
- "dependencies": {
20
- "@mantine/core": "^8.0.0",
21
- "@mantine/dates": "^8.0.1",
22
- "@mantine/hooks": "^8.0.0",
23
- "@pandabox/define-recipe": "^0.0.3",
24
- "@pandacss/dev": "^0.53.4",
25
- "@pandacss/types": "^0.53.4",
26
- "react": "^19.1.0",
27
- "react-dom": "^19.1.0",
28
- "react-hook-form": "^7.56.3",
29
- "@mage-ui/preset": "0.0.14",
30
- "@mage-ui/styled-system": "0.0.14"
31
- },
32
20
  "devDependencies": {
33
21
  "@biomejs/biome": "^1.9.4",
34
- "@rollup/plugin-typescript": "^12.1.2",
35
- "@swc/core": "^1.11.21",
36
- "@swc/helpers": "^0.5.17",
22
+ "@pandacss/types": "^0.53.7",
37
23
  "@types/node": "^22.14.1",
38
24
  "@types/react": "^19.1.2",
39
25
  "@types/react-dom": "^19.1.2",
40
26
  "rimraf": "^6.0.1",
41
- "rollup": "^4.40.0",
42
- "rollup-plugin-dts": "^6.2.1",
43
- "rollup-plugin-swc3": "^0.12.1",
44
- "rollup-preserve-directives": "^1.1.3",
45
- "tsc-alias": "^1.8.15",
27
+ "tsdown": "^0.12.3",
46
28
  "typescript": "^5.8.3"
47
29
  },
30
+ "peerDependencies": {
31
+ "@mantine/core": "^8.0.1",
32
+ "@mantine/dates": "^8.0.1",
33
+ "@mantine/hooks": "^8.0.1",
34
+ "@pandabox/define-recipe": "^0.0.3",
35
+ "@pandacss/dev": "^0.53.7",
36
+ "react": "^19.1.0",
37
+ "react-dom": "^19.1.0",
38
+ "react-hook-form": "^7.56.4",
39
+ "@mage-ui/preset": "0.0.15",
40
+ "@mage-ui/styled-system": "0.0.15"
41
+ },
48
42
  "engines": {
49
43
  "node": ">=22.14.0"
50
44
  },
51
45
  "scripts": {
52
- "build": "pnpm build:fast && pnpm build:types",
53
- "build:fast": "env NODE_ENV=production rimraf dist && panda codegen && rollup -c ./rollup.config.mjs && panda ship -o dist/panda.json",
54
- "build:types": "tsc --project tsconfig.json && tsc-alias -p tsconfig.json",
46
+ "build": "rimraf dist && panda codegen && tsdown --env.NODE_ENV=production --minify && panda ship -o dist/panda.json",
55
47
  "clean": "rimraf dist node_modules styled-system",
56
- "dev": "env NODE_ENV=development rollup -c ./rollup.config.mjs --watch --watch.onStart='panda codegen && panda ship -o dist/panda.json && pnpm build:types'",
48
+ "dev": "tsdown --env.NODE_ENV=development --watch --no-clean --silent",
57
49
  "lint": "biome check --write"
58
50
  }
59
51
  }
@@ -1,3 +0,0 @@
1
- import { Avatar } from './Avatar';
2
- export { Avatar };
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -1,3 +0,0 @@
1
- import { Badge } from './Badge';
2
- export { Badge };
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/badges/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -1,3 +0,0 @@
1
- import { Breadcrumbs } from './Breadcrumbs';
2
- export { Breadcrumbs };
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/breadcrumbs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -1,4 +0,0 @@
1
- import { Button } from './Button';
2
- import { ButtonIcon } from './ButtonIcon';
3
- export { Button, ButtonIcon };
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/buttons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC"}
@@ -1,3 +0,0 @@
1
- import { FormInputText } from './FormInputText';
2
- export { FormInputText };
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/forms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -1,42 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- export type ComboboxBaseProps = {
3
- query: string;
4
- setQuery: (value: string) => void;
5
- selectedOption: {
6
- id: string;
7
- value: string;
8
- } | undefined;
9
- setSelectedOption: (value: string) => void;
10
- texts: {
11
- input: {
12
- label: string;
13
- placeholder: string;
14
- description?: string;
15
- error?: string;
16
- };
17
- empty: string;
18
- };
19
- children: ReactNode;
20
- startSlot?: ReactNode;
21
- endSlot?: ReactNode;
22
- classNames?: {
23
- dropdown?: string;
24
- section?: string;
25
- };
26
- };
27
- export declare const ComboboxBase: {
28
- ({ query, setQuery, selectedOption, setSelectedOption, children, startSlot, endSlot, classNames, texts, ...props }: ComboboxBaseProps): import("react/jsx-runtime").JSX.Element;
29
- Option: import("@mantine/core").MantineComponent<{
30
- props: import("@mantine/core").ComboboxOptionProps;
31
- ref: HTMLDivElement;
32
- stylesNames: "option";
33
- compound: true;
34
- }>;
35
- Empty: import("@mantine/core").MantineComponent<{
36
- props: import("@mantine/core").ComboboxEmptyProps;
37
- ref: HTMLDivElement;
38
- stylesNames: "empty";
39
- compound: true;
40
- }>;
41
- };
42
- //# sourceMappingURL=ComboboxBase.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ComboboxBase.d.ts","sourceRoot":"","sources":["../../../../src/atoms/inputs/combobox/ComboboxBase.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAe,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,cAAc,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC1D,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,KAAK,EAAE;QACL,KAAK,EAAE;YACL,KAAK,EAAE,MAAM,CAAC;YACd,WAAW,EAAE,MAAM,CAAC;YACpB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,KAAK,CAAC,EAAE,MAAM,CAAC;SAChB,CAAC;QACF,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,UAAU,CAAC,EAAE;QACX,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,YAAY;wHAWtB,iBAAiB;;;;;;;;;;;;;CA2DnB,CAAC"}
@@ -1,9 +0,0 @@
1
- import { Checkbox } from './Checkbox';
2
- import { DatePicker } from './DatePicker';
3
- import { InputText } from './InputText';
4
- import { Combobox } from './combobox/Combobox';
5
- export { Checkbox };
6
- export { Combobox };
7
- export { DatePicker };
8
- export { InputText };
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/inputs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1,5 +0,0 @@
1
- import type React from 'react';
2
- export declare const VisuallyHidden: ({ children }: {
3
- children: React.ReactNode;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- //# sourceMappingURL=VisuallyHidden.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VisuallyHidden.d.ts","sourceRoot":"","sources":["../../../src/atoms/misc/VisuallyHidden.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,cAAc,GAAI,cAAc;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,4CAUzE,CAAC"}
@@ -1,3 +0,0 @@
1
- import { VisuallyHidden } from './VisuallyHidden';
2
- export { VisuallyHidden };
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/misc/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -1,3 +0,0 @@
1
- import { Tabs } from './Tabs';
2
- export { Tabs };
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAE,IAAI,EAAE,CAAC"}
@@ -1,3 +0,0 @@
1
- import { WrappedIcon } from './WrappedIcon';
2
- export { WrappedIcon };
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/wrapped-icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC"}
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
@@ -1,3 +0,0 @@
1
- import { MageUiProvider } from './MageUiProvider';
2
- export { MageUiProvider };
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/providers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,cAAc,EAAE,CAAC"}