@hai-dev/ui-kit 1.0.12 → 1.1.1
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/{Box-D8oKffw9.js → Box-CykjCaXY.js} +21 -22
- package/dist/{Button-BBF8hp7e.js → Button-CcvrOEKV.js} +6 -5
- package/dist/{ButtonBase-T2KH9jsD.js → ButtonBase-DPLf5-lz.js} +226 -279
- package/dist/{CircularProgress-BQQkuSse.js → CircularProgress-CrHaMZDC.js} +4 -3
- package/dist/{Dialog-B97c7WYP.js → Dialog-DqFOpJyx.js} +118 -125
- package/dist/{DialogTitle-Du4tqTs0.js → DialogTitle-CeM_Z851.js} +4 -4
- package/dist/{Typography-r_TXEM1e.js → Typography-DDVoglvI.js} +38 -40
- package/dist/assets/centered-decorator.css +1 -0
- package/dist/assets/code-input.css +1 -0
- package/dist/assets/dark-decorator.css +1 -0
- package/dist/assets/upload-dialog-errors.css +1 -1
- package/dist/chainPropTypes-C04Ex8aP.js +413 -0
- package/dist/components/button/button.js +1 -1
- package/dist/components/circular-progress-loader/circular-progress-loader.js +3 -3
- package/dist/components/code-input/code-input.d.ts +3 -0
- package/dist/components/code-input/code-input.js +934 -0
- package/dist/components/code-input/code-input.stories.d.ts +7 -0
- package/dist/components/code-input/constants.d.ts +8 -0
- package/dist/components/code-input/constants.js +11 -0
- package/dist/components/code-input/index.d.ts +2 -0
- package/dist/components/code-input/index.js +4 -0
- package/dist/components/code-input/types.d.ts +11 -0
- package/dist/components/code-input/utils/get-code-input-label.d.ts +2 -0
- package/dist/components/code-input/utils/get-code-input-label.js +5 -0
- package/dist/components/code-input/utils/index.d.ts +2 -0
- package/dist/components/code-input/utils/index.js +6 -0
- package/dist/components/code-input/utils/slide-down-animate.d.ts +1 -0
- package/dist/components/code-input/utils/slide-down-animate.js +10 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +4 -2
- package/dist/components/photo-crop-uploader/components/error-upload-dialog/error-upload-dialog.js +6 -6
- package/dist/components/photo-crop-uploader/components/photo-list/photo-list.js +1 -1
- package/dist/components/photo-crop-uploader/components/upload-button/upload-button.js +1 -1
- package/dist/components/photo-crop-uploader/components/upload-dialog/upload-dialog-errors.js +2 -2
- package/dist/components/photo-crop-uploader/components/upload-dialog/upload-dialog.js +12 -10
- package/dist/components/photo-crop-uploader/photo-crop-uploader.d.ts +2 -2
- package/dist/components/photo-crop-uploader/photo-crop-uploader.js +183 -168
- package/dist/components/photo-crop-uploader/types.d.ts +8 -7
- package/dist/components/photo-crop-uploader/utils/draw-cropped-image.js +28 -29
- package/dist/components/photo-crop-uploader/utils/get-default-cropped-photo.d.ts +4 -2
- package/dist/components/photo-crop-uploader/utils/get-default-cropped-photo.js +34 -32
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
- package/dist/{createTheme-RvzX1VSA.js → createTheme-RRQUOQoF.js} +182 -178
- package/dist/decorators/centered-decorator/centered-decorator.js +7 -0
- package/dist/decorators/centered-decorator/index.d.ts +2 -0
- package/dist/decorators/centered-decorator/index.js +4 -0
- package/dist/decorators/centered-decorator/types.js +1 -0
- package/dist/decorators/dark-decorator/dark-decorator.d.ts +3 -0
- package/dist/decorators/dark-decorator/dark-decorator.js +7 -0
- package/dist/decorators/dark-decorator/index.d.ts +2 -0
- package/dist/decorators/dark-decorator/index.js +4 -0
- package/dist/decorators/dark-decorator/types.d.ts +4 -0
- package/dist/decorators/dark-decorator/types.js +1 -0
- package/dist/decorators/index.d.ts +2 -1
- package/dist/decorators/index.js +4 -2
- package/dist/extendSxProp-VC2-7DJw.js +49 -0
- package/dist/index-BMkXyDFs.js +91 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +19 -17
- package/dist/isHostComponent-Dm_U9uOy.js +14 -0
- package/dist/memoTheme-5A7c_y33.js +15 -0
- package/dist/refType-CCKoQjVR.js +61 -0
- package/dist/{upload-dialog-errors-ku54UrUb.js → upload-dialog-errors-Bxun25O-.js} +41 -41
- package/package.json +1 -1
- package/dist/chainPropTypes-KIxDwPzf.js +0 -387
- package/dist/createSimplePaletteValueFilter-nb0wSOzC.js +0 -30
- package/dist/decorators/centered-decorator.js +0 -16
- package/dist/extendSxProp-BW9e6LtL.js +0 -36
- package/dist/useTheme-CsjkCBFJ.js +0 -16
- /package/dist/{decorators → components/code-input}/types.js +0 -0
- /package/dist/decorators/{centered-decorator.d.ts → centered-decorator/centered-decorator.d.ts} +0 -0
- /package/dist/decorators/{types.d.ts → centered-decorator/types.d.ts} +0 -0
|
@@ -1,39 +1,38 @@
|
|
|
1
|
-
import { s as
|
|
1
|
+
import { s as i, d as p, c as h, a as T, C as y, T as B, e as N, P as e } from "./createTheme-RRQUOQoF.js";
|
|
2
2
|
import * as C from "react";
|
|
3
3
|
import { jsx as b } from "react/jsx-runtime";
|
|
4
|
-
import { u as g } from "./
|
|
5
|
-
|
|
6
|
-
function v(n = {}) {
|
|
4
|
+
import { u as g, e as v } from "./extendSxProp-VC2-7DJw.js";
|
|
5
|
+
function E(n = {}) {
|
|
7
6
|
const {
|
|
8
7
|
themeId: t,
|
|
9
|
-
defaultTheme:
|
|
8
|
+
defaultTheme: c,
|
|
10
9
|
defaultClassName: a = "MuiBox-root",
|
|
11
10
|
generateClassName: r
|
|
12
|
-
} = n,
|
|
11
|
+
} = n, m = i("div", {
|
|
13
12
|
shouldForwardProp: (o) => o !== "theme" && o !== "sx" && o !== "as"
|
|
14
13
|
})(p);
|
|
15
|
-
return /* @__PURE__ */ C.forwardRef(function(l,
|
|
16
|
-
const s = g(
|
|
17
|
-
className:
|
|
18
|
-
component:
|
|
19
|
-
...
|
|
20
|
-
} =
|
|
21
|
-
return /* @__PURE__ */ b(
|
|
22
|
-
as:
|
|
23
|
-
ref:
|
|
24
|
-
className: h(
|
|
14
|
+
return /* @__PURE__ */ C.forwardRef(function(l, d) {
|
|
15
|
+
const s = g(c), {
|
|
16
|
+
className: f,
|
|
17
|
+
component: u = "div",
|
|
18
|
+
...x
|
|
19
|
+
} = v(l);
|
|
20
|
+
return /* @__PURE__ */ b(m, {
|
|
21
|
+
as: u,
|
|
22
|
+
ref: d,
|
|
23
|
+
className: h(f, r ? r(a) : a),
|
|
25
24
|
theme: t && s[t] || s,
|
|
26
|
-
...
|
|
25
|
+
...x
|
|
27
26
|
});
|
|
28
27
|
});
|
|
29
28
|
}
|
|
30
|
-
const
|
|
29
|
+
const O = T("MuiBox", ["root"]), P = N(), j = E({
|
|
31
30
|
themeId: B,
|
|
32
|
-
defaultTheme:
|
|
33
|
-
defaultClassName:
|
|
31
|
+
defaultTheme: P,
|
|
32
|
+
defaultClassName: O.root,
|
|
34
33
|
generateClassName: y.generate
|
|
35
34
|
});
|
|
36
|
-
process.env.NODE_ENV !== "production" && (
|
|
35
|
+
process.env.NODE_ENV !== "production" && (j.propTypes = {
|
|
37
36
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
38
37
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
39
38
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -53,5 +52,5 @@ process.env.NODE_ENV !== "production" && (P.propTypes = {
|
|
|
53
52
|
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
54
53
|
});
|
|
55
54
|
export {
|
|
56
|
-
|
|
55
|
+
j as B
|
|
57
56
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as y from "react";
|
|
2
|
-
import { a as H, g as A, c as R, b as r, P as t } from "./createTheme-
|
|
3
|
-
import { d as q, u as J, s as f, c as K, r as Q } from "./chainPropTypes-
|
|
4
|
-
import { m as X
|
|
2
|
+
import { a as H, g as A, c as R, b as r, P as t } from "./createTheme-RRQUOQoF.js";
|
|
3
|
+
import { d as q, u as J, s as f, c as K, r as Q } from "./chainPropTypes-C04Ex8aP.js";
|
|
4
|
+
import { m as X } from "./memoTheme-5A7c_y33.js";
|
|
5
|
+
import { c as Y } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
5
6
|
import { jsxs as Z, jsx as d } from "react/jsx-runtime";
|
|
6
7
|
import { u as oo } from "./useId-CK6Kn3Tn.js";
|
|
7
|
-
import { B as to } from "./ButtonBase-
|
|
8
|
-
import { C as no } from "./CircularProgress-
|
|
8
|
+
import { B as to } from "./ButtonBase-DPLf5-lz.js";
|
|
9
|
+
import { C as no } from "./CircularProgress-CrHaMZDC.js";
|
|
9
10
|
function ao(o) {
|
|
10
11
|
return A("MuiButton", o);
|
|
11
12
|
}
|