smarthr-ui 56.0.0 → 56.0.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/esm/components/InputFile/InputFile.js +2 -2
- package/esm/components/SectioningContent/SectioningContent.js +3 -3
- package/esm/components/SectioningContent/SectioningContent.js.map +1 -1
- package/esm/components/TimePicker/TimePicker.js +1 -1
- package/esm/components/TimePicker/TimePicker.js.map +1 -1
- package/lib/components/InputFile/InputFile.js +1 -1
- package/lib/components/SectioningContent/SectioningContent.js +3 -6
- package/lib/components/SectioningContent/SectioningContent.js.map +1 -1
- package/lib/components/TimePicker/TimePicker.js +1 -1
- package/lib/components/TimePicker/TimePicker.js.map +1 -1
- package/package.json +12 -12
|
@@ -2,7 +2,7 @@ import React, { forwardRef, useCallback, useId, useImperativeHandle, useMemo, us
|
|
|
2
2
|
import { tv } from 'tailwind-variants';
|
|
3
3
|
import { BaseColumn } from '../Base';
|
|
4
4
|
import { Button } from '../Button';
|
|
5
|
-
import { FaFolderOpenIcon,
|
|
5
|
+
import { FaFolderOpenIcon, FaTrashCanIcon } from '../Icon';
|
|
6
6
|
import { Stack } from '../Layout';
|
|
7
7
|
const inputFile = tv({
|
|
8
8
|
slots: {
|
|
@@ -86,7 +86,7 @@ export const InputFile = forwardRef(({ className, size = 'default', label, hasFi
|
|
|
86
86
|
return (React.createElement(Stack, { align: "flex-start", className: wrapperStyle },
|
|
87
87
|
!disabled && hasFileList && files.length > 0 && (React.createElement(BaseColumn, { as: "ul", padding: { block: 0.5, inline: 1 }, className: fileList() }, files.map((file, index) => (React.createElement("li", { key: `${file.name}-${index}`, className: fileItem() },
|
|
88
88
|
React.createElement("span", { className: "smarthr-ui-InputFile-fileName" }, file.name),
|
|
89
|
-
React.createElement(Button, { variant: "text", prefix: React.createElement(
|
|
89
|
+
React.createElement(Button, { variant: "text", prefix: React.createElement(FaTrashCanIcon, null), onClick: () => handleDelete(index), className: "smarthr-ui-InputFile-deleteButton" }, destroyButtonText)))))),
|
|
90
90
|
React.createElement("span", { className: inputWrapperStyle },
|
|
91
91
|
React.createElement("input", { ...props, type: "file", onChange: handleChange, disabled: disabled, className: input(), ref: inputRef, "aria-invalid": error || undefined, "aria-labelledby": labelId }),
|
|
92
92
|
React.createElement("span", { className: prefix() },
|
|
@@ -3,9 +3,9 @@ import { LevelContext } from './levelContext';
|
|
|
3
3
|
const SectioningContent = forwardRef(({ children, baseLevel, as: Wrapper = 'section', ...props }, ref) => (React.createElement(Wrapper, { ...props, ref: ref },
|
|
4
4
|
React.createElement(SectioningFragment, { baseLevel: baseLevel }, children))));
|
|
5
5
|
export const Section = SectioningContent;
|
|
6
|
-
export const Article = (props) => React.createElement(SectioningContent, { ...props, as: "article" });
|
|
7
|
-
export const Aside = (props) => React.createElement(SectioningContent, { ...props, as: "aside" });
|
|
8
|
-
export const Nav = (props) => React.createElement(SectioningContent, { ...props, as: "nav" });
|
|
6
|
+
export const Article = forwardRef((props, ref) => (React.createElement(SectioningContent, { ...props, ref: ref, as: "article" })));
|
|
7
|
+
export const Aside = forwardRef((props, ref) => (React.createElement(SectioningContent, { ...props, ref: ref, as: "aside" })));
|
|
8
|
+
export const Nav = forwardRef((props, ref) => (React.createElement(SectioningContent, { ...props, ref: ref, as: "nav" })));
|
|
9
9
|
export const SectioningFragment = ({ children, baseLevel, }) => {
|
|
10
10
|
const level = useContext(LevelContext);
|
|
11
11
|
return React.createElement(LevelContext.Provider, { value: baseLevel || level + 1 }, children);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectioningContent.js","sourceRoot":"","sources":["../../../src/components/SectioningContent/SectioningContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAgD,UAAU,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEnG,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAS7C,MAAM,iBAAiB,GAAG,UAAU,CAClC,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACnE,oBAAC,OAAO,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG;IAE1B,oBAAC,kBAAkB,IAAC,SAAS,EAAE,SAAS,IAAG,QAAQ,CAAsB,CACjE,CACX,CACF,CAAA;AAID,MAAM,CAAC,MAAM,OAAO,GAAc,iBAAiB,CAAA;AACnD,MAAM,CAAC,MAAM,OAAO,GAAc,CAAC,KAAK,EAAE,EAAE,CAAC,oBAAC,iBAAiB,OAAK,KAAK,EAAE,EAAE,EAAC,SAAS,GAAG,CAAA;
|
|
1
|
+
{"version":3,"file":"SectioningContent.js","sourceRoot":"","sources":["../../../src/components/SectioningContent/SectioningContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAgD,UAAU,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEnG,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAS7C,MAAM,iBAAiB,GAAG,UAAU,CAClC,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACnE,oBAAC,OAAO,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG;IAE1B,oBAAC,kBAAkB,IAAC,SAAS,EAAE,SAAS,IAAG,QAAQ,CAAsB,CACjE,CACX,CACF,CAAA;AAID,MAAM,CAAC,MAAM,OAAO,GAAc,iBAAiB,CAAA;AACnD,MAAM,CAAC,MAAM,OAAO,GAAc,UAAU,CAAqB,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CAC/E,oBAAC,iBAAiB,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAC,SAAS,GAAG,CACxD,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,KAAK,GAAc,UAAU,CAAqB,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CAC7E,oBAAC,iBAAiB,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAC,OAAO,GAAG,CACtD,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,GAAG,GAAc,UAAU,CAAqB,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CAC3E,oBAAC,iBAAiB,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAC,KAAK,GAAG,CACpD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAkD,CAAC,EAChF,QAAQ,EACR,SAAS,GACV,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,UAAU,CAAC,YAAY,CAAC,CAAA;IAEtC,OAAO,oBAAC,YAAY,CAAC,QAAQ,IAAC,KAAK,EAAE,SAAS,IAAI,KAAK,GAAG,CAAC,IAAG,QAAQ,CAAyB,CAAA;AACjG,CAAC,CAAA"}
|
|
@@ -9,7 +9,7 @@ const timePicker = tv({
|
|
|
9
9
|
'focus-within:shr-focus-indicator',
|
|
10
10
|
],
|
|
11
11
|
inner: [
|
|
12
|
-
'shr-border-none shr-text-base shr-bg-transparent shr-text-black shr-outline-none shr-outline-0 shr-p-[unset] shr-py-0.75 shr-h-[theme(fontSize.base)] shr-tabular-nums',
|
|
12
|
+
'shr-border-none shr-text-base disabled:shr-text-disabled shr-bg-transparent shr-text-black shr-outline-none shr-outline-0 shr-p-[unset] shr-py-0.75 shr-h-[theme(fontSize.base)] shr-tabular-nums',
|
|
13
13
|
],
|
|
14
14
|
},
|
|
15
15
|
variants: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimePicker.js","sourceRoot":"","sources":["../../../src/components/TimePicker/TimePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA4B,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAC5E,OAAO,EAAE,EAAE,EAAE,MAAM,mBAAmB,CAAA;AAQtC,MAAM,UAAU,GAAG,EAAE,CAAC;IACpB,KAAK,EAAE;QACL,OAAO,EAAE;YACP,uBAAuB;YACvB,8FAA8F;YAC9F,wCAAwC;YACxC,kCAAkC;SACnC;QACD,KAAK,EAAE;YACL,
|
|
1
|
+
{"version":3,"file":"TimePicker.js","sourceRoot":"","sources":["../../../src/components/TimePicker/TimePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA4B,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAC5E,OAAO,EAAE,EAAE,EAAE,MAAM,mBAAmB,CAAA;AAQtC,MAAM,UAAU,GAAG,EAAE,CAAC;IACpB,KAAK,EAAE;QACL,OAAO,EAAE;YACP,uBAAuB;YACvB,8FAA8F;YAC9F,wCAAwC;YACxC,kCAAkC;SACnC;QACD,KAAK,EAAE;YACL,mMAAmM;SACpM;KACF;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE;YACR,IAAI,EAAE;gBACJ,OAAO,EAAE,yEAAyE;aACnF;SACF;QACD,KAAK,EAAE;YACL,IAAI,EAAE;gBACJ,OAAO,EAAE,uBAAuB;aACjC;SACF;QACD,QAAQ,EAAE;YACR,IAAI,EAAE;gBACJ,OAAO,EAAE,8EAA8E;aACxF;SACF;KACF;CACF,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,UAAU,CAClC,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,GAAG,EAAE,EAAE;IACzD,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,GAAG,EAAE;QAChD,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,UAAU,EAAE,CAAA;QACvC,OAAO;YACL,YAAY,EAAE,OAAO,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;YAC/D,UAAU,EAAE,KAAK,EAAE;SACpB,CAAA;IACH,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAA;IAE1C,OAAO,CACL,8BAAM,SAAS,EAAE,YAAY;QAE3B,kCACM,IAAI,EACR,GAAG,EAAE,GAAG,EACR,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,kBACJ,KAAK,IAAI,SAAS,EAChC,SAAS,EAAE,UAAU,GACrB,CACG,CACR,CAAA;AACH,CAAC,CACF,CAAA"}
|
|
@@ -112,7 +112,7 @@ exports.InputFile = (0, react_1.forwardRef)(({ className, size = 'default', labe
|
|
|
112
112
|
return (react_1.default.createElement(Layout_1.Stack, { align: "flex-start", className: wrapperStyle },
|
|
113
113
|
!disabled && hasFileList && files.length > 0 && (react_1.default.createElement(Base_1.BaseColumn, { as: "ul", padding: { block: 0.5, inline: 1 }, className: fileList() }, files.map((file, index) => (react_1.default.createElement("li", { key: `${file.name}-${index}`, className: fileItem() },
|
|
114
114
|
react_1.default.createElement("span", { className: "smarthr-ui-InputFile-fileName" }, file.name),
|
|
115
|
-
react_1.default.createElement(Button_1.Button, { variant: "text", prefix: react_1.default.createElement(Icon_1.
|
|
115
|
+
react_1.default.createElement(Button_1.Button, { variant: "text", prefix: react_1.default.createElement(Icon_1.FaTrashCanIcon, null), onClick: () => handleDelete(index), className: "smarthr-ui-InputFile-deleteButton" }, destroyButtonText)))))),
|
|
116
116
|
react_1.default.createElement("span", { className: inputWrapperStyle },
|
|
117
117
|
react_1.default.createElement("input", { ...props, type: "file", onChange: handleChange, disabled: disabled, className: input(), ref: inputRef, "aria-invalid": error || undefined, "aria-labelledby": labelId }),
|
|
118
118
|
react_1.default.createElement("span", { className: prefix() },
|
|
@@ -29,12 +29,9 @@ const levelContext_1 = require("./levelContext");
|
|
|
29
29
|
const SectioningContent = (0, react_1.forwardRef)(({ children, baseLevel, as: Wrapper = 'section', ...props }, ref) => (react_1.default.createElement(Wrapper, { ...props, ref: ref },
|
|
30
30
|
react_1.default.createElement(exports.SectioningFragment, { baseLevel: baseLevel }, children))));
|
|
31
31
|
exports.Section = SectioningContent;
|
|
32
|
-
|
|
33
|
-
exports.
|
|
34
|
-
|
|
35
|
-
exports.Aside = Aside;
|
|
36
|
-
const Nav = (props) => react_1.default.createElement(SectioningContent, { ...props, as: "nav" });
|
|
37
|
-
exports.Nav = Nav;
|
|
32
|
+
exports.Article = (0, react_1.forwardRef)((props, ref) => (react_1.default.createElement(SectioningContent, { ...props, ref: ref, as: "article" })));
|
|
33
|
+
exports.Aside = (0, react_1.forwardRef)((props, ref) => (react_1.default.createElement(SectioningContent, { ...props, ref: ref, as: "aside" })));
|
|
34
|
+
exports.Nav = (0, react_1.forwardRef)((props, ref) => (react_1.default.createElement(SectioningContent, { ...props, ref: ref, as: "nav" })));
|
|
38
35
|
const SectioningFragment = ({ children, baseLevel, }) => {
|
|
39
36
|
const level = (0, react_1.useContext)(levelContext_1.LevelContext);
|
|
40
37
|
return react_1.default.createElement(levelContext_1.LevelContext.Provider, { value: baseLevel || level + 1 }, children);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectioningContent.js","sourceRoot":"","sources":["../../../src/components/SectioningContent/SectioningContent.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAmG;AAEnG,iDAA6C;AAS7C,MAAM,iBAAiB,GAAG,IAAA,kBAAU,EAClC,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACnE,8BAAC,OAAO,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG;IAE1B,8BAAC,0BAAkB,IAAC,SAAS,EAAE,SAAS,IAAG,QAAQ,CAAsB,CACjE,CACX,CACF,CAAA;AAIY,QAAA,OAAO,GAAc,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"SectioningContent.js","sourceRoot":"","sources":["../../../src/components/SectioningContent/SectioningContent.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAmG;AAEnG,iDAA6C;AAS7C,MAAM,iBAAiB,GAAG,IAAA,kBAAU,EAClC,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACnE,8BAAC,OAAO,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG;IAE1B,8BAAC,0BAAkB,IAAC,SAAS,EAAE,SAAS,IAAG,QAAQ,CAAsB,CACjE,CACX,CACF,CAAA;AAIY,QAAA,OAAO,GAAc,iBAAiB,CAAA;AACtC,QAAA,OAAO,GAAc,IAAA,kBAAU,EAAqB,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CAC/E,8BAAC,iBAAiB,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAC,SAAS,GAAG,CACxD,CAAC,CAAA;AACW,QAAA,KAAK,GAAc,IAAA,kBAAU,EAAqB,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CAC7E,8BAAC,iBAAiB,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAC,OAAO,GAAG,CACtD,CAAC,CAAA;AACW,QAAA,GAAG,GAAc,IAAA,kBAAU,EAAqB,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CAC3E,8BAAC,iBAAiB,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAC,KAAK,GAAG,CACpD,CAAC,CAAA;AAEK,MAAM,kBAAkB,GAAkD,CAAC,EAChF,QAAQ,EACR,SAAS,GACV,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,IAAA,kBAAU,EAAC,2BAAY,CAAC,CAAA;IAEtC,OAAO,8BAAC,2BAAY,CAAC,QAAQ,IAAC,KAAK,EAAE,SAAS,IAAI,KAAK,GAAG,CAAC,IAAG,QAAQ,CAAyB,CAAA;AACjG,CAAC,CAAA;AAPY,QAAA,kBAAkB,sBAO9B"}
|
|
@@ -35,7 +35,7 @@ const timePicker = (0, tailwind_variants_1.tv)({
|
|
|
35
35
|
'focus-within:shr-focus-indicator',
|
|
36
36
|
],
|
|
37
37
|
inner: [
|
|
38
|
-
'shr-border-none shr-text-base shr-bg-transparent shr-text-black shr-outline-none shr-outline-0 shr-p-[unset] shr-py-0.75 shr-h-[theme(fontSize.base)] shr-tabular-nums',
|
|
38
|
+
'shr-border-none shr-text-base disabled:shr-text-disabled shr-bg-transparent shr-text-black shr-outline-none shr-outline-0 shr-p-[unset] shr-py-0.75 shr-h-[theme(fontSize.base)] shr-tabular-nums',
|
|
39
39
|
],
|
|
40
40
|
},
|
|
41
41
|
variants: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimePicker.js","sourceRoot":"","sources":["../../../src/components/TimePicker/TimePicker.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA4E;AAC5E,yDAAsC;AAQtC,MAAM,UAAU,GAAG,IAAA,sBAAE,EAAC;IACpB,KAAK,EAAE;QACL,OAAO,EAAE;YACP,uBAAuB;YACvB,8FAA8F;YAC9F,wCAAwC;YACxC,kCAAkC;SACnC;QACD,KAAK,EAAE;YACL,
|
|
1
|
+
{"version":3,"file":"TimePicker.js","sourceRoot":"","sources":["../../../src/components/TimePicker/TimePicker.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA4E;AAC5E,yDAAsC;AAQtC,MAAM,UAAU,GAAG,IAAA,sBAAE,EAAC;IACpB,KAAK,EAAE;QACL,OAAO,EAAE;YACP,uBAAuB;YACvB,8FAA8F;YAC9F,wCAAwC;YACxC,kCAAkC;SACnC;QACD,KAAK,EAAE;YACL,mMAAmM;SACpM;KACF;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE;YACR,IAAI,EAAE;gBACJ,OAAO,EAAE,yEAAyE;aACnF;SACF;QACD,KAAK,EAAE;YACL,IAAI,EAAE;gBACJ,OAAO,EAAE,uBAAuB;aACjC;SACF;QACD,QAAQ,EAAE;YACR,IAAI,EAAE;gBACJ,OAAO,EAAE,8EAA8E;aACxF;SACF;KACF;CACF,CAAC,CAAA;AAEW,QAAA,UAAU,GAAG,IAAA,kBAAU,EAClC,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,GAAG,EAAE,EAAE;IACzD,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE;QAChD,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,UAAU,EAAE,CAAA;QACvC,OAAO;YACL,YAAY,EAAE,OAAO,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;YAC/D,UAAU,EAAE,KAAK,EAAE;SACpB,CAAA;IACH,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAA;IAE1C,OAAO,CACL,wCAAM,SAAS,EAAE,YAAY;QAE3B,4CACM,IAAI,EACR,GAAG,EAAE,GAAG,EACR,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,kBACJ,KAAK,IAAI,SAAS,EAChC,SAAS,EAAE,UAAU,GACrB,CACG,CACR,CAAA;AACH,CAAC,CACF,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,27 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "smarthr-ui",
|
|
3
3
|
"description": "SmartHR ui components built with React.",
|
|
4
|
-
"version": "56.0.
|
|
4
|
+
"version": "56.0.1",
|
|
5
5
|
"author": "SmartHR-UI Team",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@smarthr/wareki": "^1.2.0",
|
|
8
|
-
"css-loader": "^7.1.2",
|
|
9
8
|
"dayjs": "^1.11.13",
|
|
10
9
|
"lodash.merge": "^4.6.2",
|
|
11
10
|
"lodash.range": "^3.2.0",
|
|
12
11
|
"polished": "^4.3.0",
|
|
13
|
-
"postcss-loader": "^8.1.1",
|
|
14
12
|
"react-draggable": "^4.4.6",
|
|
15
13
|
"react-icons": "^5.3.0",
|
|
16
14
|
"react-innertext": "^1.1.5",
|
|
17
15
|
"react-transition-group": "^4.4.5",
|
|
18
|
-
"style-loader": "^4.0.0",
|
|
19
16
|
"tailwind-variants": "^0.2.1",
|
|
20
17
|
"tailwindcss": "^3.4.10"
|
|
21
18
|
},
|
|
22
19
|
"devDependencies": {
|
|
23
20
|
"@babel/core": "^7.25.2",
|
|
24
|
-
"@babel/preset-env": "^7.25.
|
|
21
|
+
"@babel/preset-env": "^7.25.4",
|
|
25
22
|
"@babel/preset-react": "^7.24.7",
|
|
26
23
|
"@babel/preset-typescript": "^7.24.7",
|
|
27
24
|
"@storybook/addon-a11y": "^8.2.9",
|
|
@@ -42,23 +39,24 @@
|
|
|
42
39
|
"@storybook/test": "^8.2.9",
|
|
43
40
|
"@storybook/test-runner": "^0.19.1",
|
|
44
41
|
"@storybook/theming": "^8.2.9",
|
|
45
|
-
"@swc/core": "^1.7.
|
|
42
|
+
"@swc/core": "^1.7.22",
|
|
46
43
|
"@swc/jest": "^0.2.36",
|
|
47
|
-
"@testing-library/react": "^16.0.
|
|
44
|
+
"@testing-library/react": "^16.0.1",
|
|
48
45
|
"@types/jest": "^29.5.12",
|
|
49
46
|
"@types/lodash.merge": "^4.6.9",
|
|
50
47
|
"@types/lodash.range": "^3.2.9",
|
|
51
|
-
"@types/node": "^20.
|
|
52
|
-
"@types/react": "^18.3.
|
|
48
|
+
"@types/node": "^20.16.3",
|
|
49
|
+
"@types/react": "^18.3.5",
|
|
53
50
|
"@types/react-dom": "^18.3.0",
|
|
54
51
|
"@types/react-test-renderer": "^17.0.9",
|
|
55
52
|
"@types/react-transition-group": "^4.4.11",
|
|
56
53
|
"@types/styled-components": "^5.1.34",
|
|
57
54
|
"autoprefixer": "^10.4.20",
|
|
58
|
-
"axe-playwright": "^2.0.
|
|
55
|
+
"axe-playwright": "^2.0.2",
|
|
59
56
|
"babel-loader": "^9.1.3",
|
|
60
57
|
"babel-plugin-polyfill-corejs2": "^0.4.11",
|
|
61
58
|
"babel-plugin-polyfill-regenerator": "^0.6.2",
|
|
59
|
+
"css-loader": "^7.1.2",
|
|
62
60
|
"chromatic": "^11.7.1",
|
|
63
61
|
"ecma-version-validator-webpack-plugin": "^1.2.1",
|
|
64
62
|
"fs-extra": "^11.2.0",
|
|
@@ -70,7 +68,8 @@
|
|
|
70
68
|
"memory-fs": "^0.5.0",
|
|
71
69
|
"npm-run-all": "^4.1.5",
|
|
72
70
|
"playwright": "^1.46.1",
|
|
73
|
-
"postcss": "^8.4.
|
|
71
|
+
"postcss": "^8.4.43",
|
|
72
|
+
"postcss-loader": "^8.1.1",
|
|
74
73
|
"postcss-styled-syntax": "^0.6.4",
|
|
75
74
|
"postcss-syntax": "^0.36.2",
|
|
76
75
|
"react": "^18.3.1",
|
|
@@ -81,8 +80,9 @@
|
|
|
81
80
|
"rimraf": "^6.0.1",
|
|
82
81
|
"standard-version": "^9.3.2",
|
|
83
82
|
"storybook": "^8.2.9",
|
|
84
|
-
"storybook-addon-pseudo-states": "^
|
|
83
|
+
"storybook-addon-pseudo-states": "^4.0.0",
|
|
85
84
|
"styled-components": "^5.3.11",
|
|
85
|
+
"style-loader": "^4.0.0",
|
|
86
86
|
"testcafe": "3.6.2",
|
|
87
87
|
"ts-loader": "^9.5.1",
|
|
88
88
|
"ttypescript": "^1.5.15",
|