@j2-health/design-system 0.6.4 → 0.6.6
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/_virtual/_rolldown/runtime.cjs +1 -2
- package/dist/index.cjs +12 -2
- package/dist/index.d.ts +4 -0
- package/dist/index.js +8 -3
- package/dist/index2.js +8 -3
- package/dist/src/AppConfigProvider.cjs +1 -2
- package/dist/src/AppConfigProvider.js +1 -2
- package/dist/src/appTheme.cjs +8 -2
- package/dist/src/appTheme.cjs.map +1 -1
- package/dist/src/appTheme.js +8 -2
- package/dist/src/appTheme.js.map +1 -1
- package/dist/src/components/alert/Alert.cjs +1 -2
- package/dist/src/components/alert/Alert.js +1 -2
- package/dist/src/components/alert/Alert.module.css.cjs +1 -2
- package/dist/src/components/alert/Alert.module.css.js +1 -2
- package/dist/src/components/barchart/BarChart.cjs +1 -2
- package/dist/src/components/barchart/BarChart.js +1 -2
- package/dist/src/components/barchart/chart.module.css.cjs +1 -2
- package/dist/src/components/barchart/chart.module.css.js +1 -2
- package/dist/src/components/bareButton/BareButton.cjs +1 -2
- package/dist/src/components/bareButton/BareButton.js +1 -2
- package/dist/src/components/breadcrumb/Breadcrumb.cjs +1 -2
- package/dist/src/components/breadcrumb/Breadcrumb.js +1 -2
- package/dist/src/components/bulkActionBar/BulkActionBar.cjs +1 -2
- package/dist/src/components/bulkActionBar/BulkActionBar.js +1 -2
- package/dist/src/components/button/Button.cjs +1 -2
- package/dist/src/components/button/Button.js +1 -2
- package/dist/src/components/callout/Callout.cjs +35 -0
- package/dist/src/components/callout/Callout.cjs.map +1 -0
- package/dist/src/components/callout/Callout.d.ts +18 -0
- package/dist/src/components/callout/Callout.js +33 -0
- package/dist/src/components/callout/Callout.js.map +1 -0
- package/dist/src/components/callout/index.d.ts +1 -0
- package/dist/src/components/card/Card.cjs +1 -2
- package/dist/src/components/card/Card.js +1 -2
- package/dist/src/components/changeChip/ChangeChip.cjs +1 -2
- package/dist/src/components/changeChip/ChangeChip.js +1 -2
- package/dist/src/components/checkbox/Checkbox.cjs +1 -2
- package/dist/src/components/checkbox/Checkbox.js +1 -2
- package/dist/src/components/checkboxTree/CheckboxTree.cjs +1 -2
- package/dist/src/components/checkboxTree/CheckboxTree.js +1 -2
- package/dist/src/components/checkboxTree/TreeNode.cjs +1 -2
- package/dist/src/components/checkboxTree/TreeNode.js +1 -2
- package/dist/src/components/checkboxTree/utils.cjs +1 -2
- package/dist/src/components/checkboxTree/utils.js +1 -2
- package/dist/src/components/collapse/Collapse.cjs +1 -2
- package/dist/src/components/collapse/Collapse.js +1 -2
- package/dist/src/components/collapse/Collapse.module.css.cjs +1 -2
- package/dist/src/components/collapse/Collapse.module.css.js +1 -2
- package/dist/src/components/drawer/Drawer.cjs +1 -2
- package/dist/src/components/drawer/Drawer.js +1 -2
- package/dist/src/components/dropdown/Dropdown.cjs +1 -2
- package/dist/src/components/dropdown/Dropdown.js +1 -2
- package/dist/src/components/emptyState/EmptyState.cjs +1 -2
- package/dist/src/components/emptyState/EmptyState.js +1 -2
- package/dist/src/components/fileDropzone/FileDropzone.cjs +296 -0
- package/dist/src/components/fileDropzone/FileDropzone.cjs.map +1 -0
- package/dist/src/components/fileDropzone/FileDropzone.d.ts +68 -0
- package/dist/src/components/fileDropzone/FileDropzone.js +293 -0
- package/dist/src/components/fileDropzone/FileDropzone.js.map +1 -0
- package/dist/src/components/fileDropzone/index.d.ts +1 -0
- package/dist/src/components/filterform/FilterGroup.cjs +1 -2
- package/dist/src/components/filterform/FilterGroup.js +1 -2
- package/dist/src/components/filterform/FilterInput.cjs +1 -2
- package/dist/src/components/filterform/FilterInput.js +1 -2
- package/dist/src/components/filterform/FiltersForm.cjs +1 -2
- package/dist/src/components/filterform/FiltersForm.js +1 -2
- package/dist/src/components/filterform/FiltersForm.module.css.cjs +1 -2
- package/dist/src/components/filterform/FiltersForm.module.css.js +1 -2
- package/dist/src/components/filterform/filterHelpers.cjs +1 -2
- package/dist/src/components/filterform/filterHelpers.js +1 -2
- package/dist/src/components/filterform/useFilterField.cjs +1 -2
- package/dist/src/components/filterform/useFilterField.js +1 -2
- package/dist/src/components/filterform/useFiltersForm.cjs +1 -2
- package/dist/src/components/filterform/useFiltersForm.js +1 -2
- package/dist/src/components/form/Form.cjs +1 -2
- package/dist/src/components/form/Form.js +1 -2
- package/dist/src/components/form/FormItem.cjs +1 -2
- package/dist/src/components/form/FormItem.js +1 -2
- package/dist/src/components/form/FormItemFieldContext.cjs +1 -2
- package/dist/src/components/form/FormItemFieldContext.cjs.map +1 -1
- package/dist/src/components/form/FormItemFieldContext.js +1 -2
- package/dist/src/components/form/FormikField.cjs +1 -2
- package/dist/src/components/form/FormikField.js +1 -2
- package/dist/src/components/input/AntdInput.cjs +1 -2
- package/dist/src/components/input/AntdInput.d.ts +1 -1
- package/dist/src/components/input/AntdInput.js +1 -2
- package/dist/src/components/input/AntdSearchInput.cjs +1 -2
- package/dist/src/components/input/AntdSearchInput.d.ts +1 -1
- package/dist/src/components/input/AntdSearchInput.js +1 -2
- package/dist/src/components/input/AntdTextArea.cjs +15 -0
- package/dist/src/components/input/AntdTextArea.cjs.map +1 -0
- package/dist/src/components/input/AntdTextArea.d.ts +347 -0
- package/dist/src/components/input/AntdTextArea.js +15 -0
- package/dist/src/components/input/AntdTextArea.js.map +1 -0
- package/dist/src/components/input/Input.cjs +1 -2
- package/dist/src/components/input/Input.js +1 -2
- package/dist/src/components/input/index.d.ts +1 -0
- package/dist/src/components/inputnumber/InputNumber.cjs +1 -2
- package/dist/src/components/inputnumber/InputNumber.js +1 -2
- package/dist/src/components/inputnumber/InputNumber.module.css.cjs +1 -2
- package/dist/src/components/inputnumber/InputNumber.module.css.js +1 -2
- package/dist/src/components/legacyNavMenu/LegacyNavMenu.cjs +1 -2
- package/dist/src/components/legacyNavMenu/LegacyNavMenu.js +1 -2
- package/dist/src/components/legacyNavMenu/LegacyNavMenu.module.css.cjs +1 -2
- package/dist/src/components/legacyNavMenu/LegacyNavMenu.module.css.js +1 -2
- package/dist/src/components/legacyNavMenu/UserProfile.cjs +1 -2
- package/dist/src/components/legacyNavMenu/UserProfile.js +1 -2
- package/dist/src/components/legacyNavMenu/UserProfile.module.css.cjs +1 -2
- package/dist/src/components/legacyNavMenu/UserProfile.module.css.js +1 -2
- package/dist/src/components/listRow/ListRow.cjs +1 -2
- package/dist/src/components/listRow/ListRow.js +1 -2
- package/dist/src/components/listpopover/ListPopover.cjs +1 -2
- package/dist/src/components/listpopover/ListPopover.js +1 -2
- package/dist/src/components/listpopover/ListPopover.module.css.cjs +1 -2
- package/dist/src/components/listpopover/ListPopover.module.css.js +1 -2
- package/dist/src/components/manageColumns/ManageColumnsItem.cjs +1 -2
- package/dist/src/components/manageColumns/ManageColumnsItem.js +1 -2
- package/dist/src/components/manageColumns/ManageColumnsPanel.cjs +1 -2
- package/dist/src/components/manageColumns/ManageColumnsPanel.js +1 -2
- package/dist/src/components/manageColumns/SelectAll.cjs +1 -2
- package/dist/src/components/manageColumns/SelectAll.js +1 -2
- package/dist/src/components/menu/Menu.cjs +1 -2
- package/dist/src/components/menu/Menu.js +1 -2
- package/dist/src/components/menu/Menu.module.css.cjs +1 -2
- package/dist/src/components/menu/Menu.module.css.js +1 -2
- package/dist/src/components/message/Message.module.css.cjs +1 -2
- package/dist/src/components/message/Message.module.css.js +1 -2
- package/dist/src/components/message/useMessage.cjs +1 -2
- package/dist/src/components/message/useMessage.js +1 -2
- package/dist/src/components/modal/Modal.cjs +1 -2
- package/dist/src/components/modal/Modal.js +1 -2
- package/dist/src/components/navMenu/NavMenu.cjs +1 -2
- package/dist/src/components/navMenu/NavMenu.js +1 -2
- package/dist/src/components/navMenu/NavMenu.module.css.cjs +1 -2
- package/dist/src/components/navMenu/NavMenu.module.css.js +1 -2
- package/dist/src/components/notification/Notification.module.css.cjs +1 -2
- package/dist/src/components/notification/Notification.module.css.js +1 -2
- package/dist/src/components/notification/useNotification.cjs +1 -2
- package/dist/src/components/notification/useNotification.js +1 -2
- package/dist/src/components/notificationModal/NotifcationModal.module.css.cjs +1 -2
- package/dist/src/components/notificationModal/NotifcationModal.module.css.js +1 -2
- package/dist/src/components/notificationModal/NotificationModal.cjs +1 -2
- package/dist/src/components/notificationModal/NotificationModal.js +1 -2
- package/dist/src/components/pagination/Pagination.cjs +1 -2
- package/dist/src/components/pagination/Pagination.js +1 -2
- package/dist/src/components/pagination/Pagination.module.css.cjs +1 -2
- package/dist/src/components/pagination/Pagination.module.css.js +1 -2
- package/dist/src/components/popover/Popover.cjs +1 -2
- package/dist/src/components/popover/Popover.js +1 -2
- package/dist/src/components/popover/Popover.module.css.cjs +1 -2
- package/dist/src/components/popover/Popover.module.css.js +1 -2
- package/dist/src/components/progress/Progress.cjs +1 -2
- package/dist/src/components/progress/Progress.js +1 -2
- package/dist/src/components/radio/Radio.cjs +1 -2
- package/dist/src/components/radio/Radio.js +1 -2
- package/dist/src/components/radioCardGroup/RadioCardGroup.cjs +78 -0
- package/dist/src/components/radioCardGroup/RadioCardGroup.cjs.map +1 -0
- package/dist/src/components/radioCardGroup/RadioCardGroup.d.ts +26 -0
- package/dist/src/components/radioCardGroup/RadioCardGroup.js +76 -0
- package/dist/src/components/radioCardGroup/RadioCardGroup.js.map +1 -0
- package/dist/src/components/radioCardGroup/index.d.ts +1 -0
- package/dist/src/components/rate/Rate.cjs +1 -2
- package/dist/src/components/rate/Rate.js +1 -2
- package/dist/src/components/select/AntdSelect.cjs +1 -2
- package/dist/src/components/select/AntdSelect.js +1 -2
- package/dist/src/components/select/Select.cjs +1 -2
- package/dist/src/components/select/Select.js +1 -2
- package/dist/src/components/select/SummarizedSelect.cjs +1 -2
- package/dist/src/components/select/SummarizedSelect.js +1 -2
- package/dist/src/components/select/SummarizedSelect.module.css.cjs +1 -2
- package/dist/src/components/select/SummarizedSelect.module.css.js +1 -2
- package/dist/src/components/skeleton/Skeleton.cjs +1 -2
- package/dist/src/components/skeleton/Skeleton.js +1 -2
- package/dist/src/components/slider/Slider.cjs +21 -0
- package/dist/src/components/slider/Slider.cjs.map +1 -0
- package/dist/src/components/slider/Slider.d.ts +7 -0
- package/dist/src/components/slider/Slider.js +19 -0
- package/dist/src/components/slider/Slider.js.map +1 -0
- package/dist/src/components/slider/index.d.ts +1 -0
- package/dist/src/components/spinner/Spinner.cjs +1 -2
- package/dist/src/components/spinner/Spinner.js +1 -2
- package/dist/src/components/statusPill/StatusPill.cjs +1 -2
- package/dist/src/components/statusPill/StatusPill.js +1 -2
- package/dist/src/components/statusPill/StatusPill.module.css.cjs +1 -2
- package/dist/src/components/statusPill/StatusPill.module.css.js +1 -2
- package/dist/src/components/stepDrawer/StepDrawer.cjs +1 -2
- package/dist/src/components/stepDrawer/StepDrawer.js +1 -2
- package/dist/src/components/steps/Steps.cjs +1 -2
- package/dist/src/components/steps/Steps.js +1 -2
- package/dist/src/components/steps/useSteps.cjs +1 -2
- package/dist/src/components/steps/useSteps.js +1 -2
- package/dist/src/components/swatch/Swatch.cjs +1 -2
- package/dist/src/components/swatch/Swatch.js +1 -2
- package/dist/src/components/swatchStrip/SwatchStrip.cjs +1 -2
- package/dist/src/components/swatchStrip/SwatchStrip.js +1 -2
- package/dist/src/components/switch/Switch.cjs +1 -2
- package/dist/src/components/switch/Switch.js +1 -2
- package/dist/src/components/table/Table.cjs +2 -3
- package/dist/src/components/table/Table.js +2 -3
- package/dist/src/components/table/Table.module.css.cjs +1 -2
- package/dist/src/components/table/Table.module.css.js +1 -2
- package/dist/src/components/tabs/Tabs.cjs +1 -2
- package/dist/src/components/tabs/Tabs.js +1 -2
- package/dist/src/components/tabs/Tabs.module.css.cjs +1 -2
- package/dist/src/components/tabs/Tabs.module.css.js +1 -2
- package/dist/src/components/tag/Tag.cjs +1 -2
- package/dist/src/components/tag/Tag.js +1 -2
- package/dist/src/components/thresholdBar/ThresholdBar.cjs +1 -2
- package/dist/src/components/thresholdBar/ThresholdBar.js +1 -2
- package/dist/src/components/thresholdBar/ThresholdBar.module.css.cjs +1 -2
- package/dist/src/components/thresholdBar/ThresholdBar.module.css.js +1 -2
- package/dist/src/components/tooltip/Tooltip.cjs +1 -2
- package/dist/src/components/tooltip/Tooltip.js +1 -2
- package/dist/src/components/vennDiagram/VennDiagram.cjs +1 -2
- package/dist/src/components/vennDiagram/VennDiagram.js +1 -2
- package/dist/src/svgs/ProgressCircle.svg.cjs +1 -2
- package/dist/src/svgs/ProgressCircle.svg.js +1 -2
- package/dist/src/svgs/j2-logo-menu-collapse.svg.cjs +1 -2
- package/dist/src/svgs/j2-logo-menu-collapse.svg.js +1 -2
- package/dist/src/svgs/j2-logo-menu.svg.cjs +1 -2
- package/dist/src/svgs/j2-logo-menu.svg.js +1 -2
- package/dist/src/svgs/menu-sidebar-collapse.svg.cjs +1 -2
- package/dist/src/svgs/menu-sidebar-collapse.svg.js +1 -2
- package/dist/src/svgs/menu-sidebar-expand.svg.cjs +1 -2
- package/dist/src/svgs/menu-sidebar-expand.svg.js +1 -2
- package/dist/src/utils/useRender.cjs +1 -2
- package/dist/src/utils/useRender.js +1 -2
- package/dist/style.css +78 -78
- package/dist/tailwind.cjs +1 -2
- package/dist/tailwind.js +1 -2
- package/package.json +13 -13
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
let antd = require("antd");
|
|
2
2
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
3
|
-
|
|
3
|
+
// src/components/tooltip/Tooltip.tsx
|
|
4
4
|
var Tooltip = ({ children, placement = "top", arrow = false, ...props }) => {
|
|
5
5
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(antd.Tooltip, {
|
|
6
6
|
...props,
|
|
@@ -9,7 +9,6 @@ var Tooltip = ({ children, placement = "top", arrow = false, ...props }) => {
|
|
|
9
9
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children })
|
|
10
10
|
});
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
12
|
exports.Tooltip = Tooltip;
|
|
14
13
|
|
|
15
14
|
//# sourceMappingURL=Tooltip.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Tooltip } from "antd";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/components/tooltip/Tooltip.tsx
|
|
4
4
|
var Tooltip$1 = ({ children, placement = "top", arrow = false, ...props }) => {
|
|
5
5
|
return /* @__PURE__ */ jsx(Tooltip, {
|
|
6
6
|
...props,
|
|
@@ -9,7 +9,6 @@ var Tooltip$1 = ({ children, placement = "top", arrow = false, ...props }) => {
|
|
|
9
9
|
children: /* @__PURE__ */ jsx("div", { children })
|
|
10
10
|
});
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
12
|
export { Tooltip$1 as Tooltip };
|
|
14
13
|
|
|
15
14
|
//# sourceMappingURL=Tooltip.js.map
|
|
@@ -3,7 +3,7 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
3
3
|
let _highcharts_react = require("@highcharts/react");
|
|
4
4
|
require("@highcharts/react/modules/Accessibility.js");
|
|
5
5
|
require("@highcharts/react/series/Venn.js");
|
|
6
|
-
|
|
6
|
+
// src/components/vennDiagram/VennDiagram.tsx
|
|
7
7
|
var VennDiagram = ({ data, title, tooltip, onClick }) => {
|
|
8
8
|
const { token } = antd.theme.useToken();
|
|
9
9
|
const baseFont = {
|
|
@@ -36,7 +36,6 @@ var VennDiagram = ({ data, title, tooltip, onClick }) => {
|
|
|
36
36
|
containerProps: { className: "highcharts-light" }
|
|
37
37
|
});
|
|
38
38
|
};
|
|
39
|
-
//#endregion
|
|
40
39
|
exports.VennDiagram = VennDiagram;
|
|
41
40
|
|
|
42
41
|
//# sourceMappingURL=VennDiagram.cjs.map
|
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { Chart } from "@highcharts/react";
|
|
4
4
|
import "@highcharts/react/modules/Accessibility.js";
|
|
5
5
|
import "@highcharts/react/series/Venn.js";
|
|
6
|
-
|
|
6
|
+
// src/components/vennDiagram/VennDiagram.tsx
|
|
7
7
|
var VennDiagram = ({ data, title, tooltip, onClick }) => {
|
|
8
8
|
const { token } = theme.useToken();
|
|
9
9
|
const baseFont = {
|
|
@@ -36,7 +36,6 @@ var VennDiagram = ({ data, title, tooltip, onClick }) => {
|
|
|
36
36
|
containerProps: { className: "highcharts-light" }
|
|
37
37
|
});
|
|
38
38
|
};
|
|
39
|
-
//#endregion
|
|
40
39
|
export { VennDiagram };
|
|
41
40
|
|
|
42
41
|
//# sourceMappingURL=VennDiagram.js.map
|
|
@@ -2,7 +2,7 @@ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
|
2
2
|
let react = require("react");
|
|
3
3
|
react = require_runtime.__toESM(react);
|
|
4
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
-
|
|
5
|
+
// src/svgs/ProgressCircle.svg
|
|
6
6
|
var SvgProgressCircle = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
7
7
|
viewBox: "0 0 80 80",
|
|
8
8
|
fill: "none",
|
|
@@ -32,7 +32,6 @@ var SvgProgressCircle = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("
|
|
|
32
32
|
})
|
|
33
33
|
}) })]
|
|
34
34
|
});
|
|
35
|
-
//#endregion
|
|
36
35
|
exports.default = SvgProgressCircle;
|
|
37
36
|
|
|
38
37
|
//# sourceMappingURL=ProgressCircle.svg.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/svgs/ProgressCircle.svg
|
|
4
4
|
var SvgProgressCircle = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
5
5
|
viewBox: "0 0 80 80",
|
|
6
6
|
fill: "none",
|
|
@@ -30,7 +30,6 @@ var SvgProgressCircle = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
|
30
30
|
})
|
|
31
31
|
}) })]
|
|
32
32
|
});
|
|
33
|
-
//#endregion
|
|
34
33
|
export { SvgProgressCircle as default };
|
|
35
34
|
|
|
36
35
|
//# sourceMappingURL=ProgressCircle.svg.js.map
|
|
@@ -2,7 +2,7 @@ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
|
2
2
|
let react = require("react");
|
|
3
3
|
react = require_runtime.__toESM(react);
|
|
4
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
-
|
|
5
|
+
// src/svgs/j2-logo-menu-collapse.svg
|
|
6
6
|
var SvgJ2LogoMenuCollapse = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
7
7
|
width: 32,
|
|
8
8
|
height: 32,
|
|
@@ -18,7 +18,6 @@ var SvgJ2LogoMenuCollapse = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx
|
|
|
18
18
|
fill: "#253761"
|
|
19
19
|
})]
|
|
20
20
|
});
|
|
21
|
-
//#endregion
|
|
22
21
|
exports.default = SvgJ2LogoMenuCollapse;
|
|
23
22
|
|
|
24
23
|
//# sourceMappingURL=j2-logo-menu-collapse.svg.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/svgs/j2-logo-menu-collapse.svg
|
|
4
4
|
var SvgJ2LogoMenuCollapse = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
5
5
|
width: 32,
|
|
6
6
|
height: 32,
|
|
@@ -16,7 +16,6 @@ var SvgJ2LogoMenuCollapse = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
|
16
16
|
fill: "#253761"
|
|
17
17
|
})]
|
|
18
18
|
});
|
|
19
|
-
//#endregion
|
|
20
19
|
export { SvgJ2LogoMenuCollapse as default };
|
|
21
20
|
|
|
22
21
|
//# sourceMappingURL=j2-logo-menu-collapse.svg.js.map
|
|
@@ -2,7 +2,7 @@ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
|
2
2
|
let react = require("react");
|
|
3
3
|
react = require_runtime.__toESM(react);
|
|
4
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
-
|
|
5
|
+
// src/svgs/j2-logo-menu.svg
|
|
6
6
|
var SvgJ2LogoMenu = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
7
7
|
width: 152,
|
|
8
8
|
height: 32,
|
|
@@ -49,7 +49,6 @@ var SvgJ2LogoMenu = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg"
|
|
|
49
49
|
})
|
|
50
50
|
]
|
|
51
51
|
});
|
|
52
|
-
//#endregion
|
|
53
52
|
exports.default = SvgJ2LogoMenu;
|
|
54
53
|
|
|
55
54
|
//# sourceMappingURL=j2-logo-menu.svg.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/svgs/j2-logo-menu.svg
|
|
4
4
|
var SvgJ2LogoMenu = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
5
5
|
width: 152,
|
|
6
6
|
height: 32,
|
|
@@ -47,7 +47,6 @@ var SvgJ2LogoMenu = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
|
47
47
|
})
|
|
48
48
|
]
|
|
49
49
|
});
|
|
50
|
-
//#endregion
|
|
51
50
|
export { SvgJ2LogoMenu as default };
|
|
52
51
|
|
|
53
52
|
//# sourceMappingURL=j2-logo-menu.svg.js.map
|
|
@@ -2,7 +2,7 @@ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
|
2
2
|
let react = require("react");
|
|
3
3
|
react = require_runtime.__toESM(react);
|
|
4
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
-
|
|
5
|
+
// src/svgs/menu-sidebar-collapse.svg
|
|
6
6
|
var SvgMenuSidebarCollapse = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
7
7
|
width: 24,
|
|
8
8
|
height: 24,
|
|
@@ -72,7 +72,6 @@ var SvgMenuSidebarCollapse = (props) => /* @__PURE__ */ (0, react_jsx_runtime.js
|
|
|
72
72
|
})
|
|
73
73
|
]
|
|
74
74
|
});
|
|
75
|
-
//#endregion
|
|
76
75
|
exports.default = SvgMenuSidebarCollapse;
|
|
77
76
|
|
|
78
77
|
//# sourceMappingURL=menu-sidebar-collapse.svg.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/svgs/menu-sidebar-collapse.svg
|
|
4
4
|
var SvgMenuSidebarCollapse = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
5
5
|
width: 24,
|
|
6
6
|
height: 24,
|
|
@@ -70,7 +70,6 @@ var SvgMenuSidebarCollapse = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
|
70
70
|
})
|
|
71
71
|
]
|
|
72
72
|
});
|
|
73
|
-
//#endregion
|
|
74
73
|
export { SvgMenuSidebarCollapse as default };
|
|
75
74
|
|
|
76
75
|
//# sourceMappingURL=menu-sidebar-collapse.svg.js.map
|
|
@@ -2,7 +2,7 @@ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
|
2
2
|
let react = require("react");
|
|
3
3
|
react = require_runtime.__toESM(react);
|
|
4
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
-
|
|
5
|
+
// src/svgs/menu-sidebar-expand.svg
|
|
6
6
|
var SvgMenuSidebarExpand = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
7
7
|
width: 24,
|
|
8
8
|
height: 24,
|
|
@@ -72,7 +72,6 @@ var SvgMenuSidebarExpand = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs
|
|
|
72
72
|
})
|
|
73
73
|
]
|
|
74
74
|
});
|
|
75
|
-
//#endregion
|
|
76
75
|
exports.default = SvgMenuSidebarExpand;
|
|
77
76
|
|
|
78
77
|
//# sourceMappingURL=menu-sidebar-expand.svg.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/svgs/menu-sidebar-expand.svg
|
|
4
4
|
var SvgMenuSidebarExpand = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
5
5
|
width: 24,
|
|
6
6
|
height: 24,
|
|
@@ -70,7 +70,6 @@ var SvgMenuSidebarExpand = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
|
70
70
|
})
|
|
71
71
|
]
|
|
72
72
|
});
|
|
73
|
-
//#endregion
|
|
74
73
|
export { SvgMenuSidebarExpand as default };
|
|
75
74
|
|
|
76
75
|
//# sourceMappingURL=menu-sidebar-expand.svg.js.map
|
|
@@ -2,7 +2,7 @@ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
|
2
2
|
let react = require("react");
|
|
3
3
|
let classnames = require("classnames");
|
|
4
4
|
classnames = require_runtime.__toESM(classnames, 1);
|
|
5
|
-
|
|
5
|
+
// src/utils/useRender.ts
|
|
6
6
|
/** Sets one ref. Returns a callback ref's cleanup, if it gave one. */
|
|
7
7
|
var setRef = (ref, value) => {
|
|
8
8
|
if (typeof ref === "function") return ref(value);
|
|
@@ -69,7 +69,6 @@ var useRender = ({ render, props, ref, state, defaultTagName = "div" }) => {
|
|
|
69
69
|
});
|
|
70
70
|
return rendered.type === "button" && rendered.props.type === void 0 ? (0, react.cloneElement)(rendered, { type: "button" }) : rendered;
|
|
71
71
|
};
|
|
72
|
-
//#endregion
|
|
73
72
|
exports.mergeProps = mergeProps;
|
|
74
73
|
exports.useRender = useRender;
|
|
75
74
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cloneElement, createElement, isValidElement, useCallback, version } from "react";
|
|
2
2
|
import cx from "classnames";
|
|
3
|
-
|
|
3
|
+
// src/utils/useRender.ts
|
|
4
4
|
/** Sets one ref. Returns a callback ref's cleanup, if it gave one. */
|
|
5
5
|
var setRef = (ref, value) => {
|
|
6
6
|
if (typeof ref === "function") return ref(value);
|
|
@@ -67,7 +67,6 @@ var useRender = ({ render, props, ref, state, defaultTagName = "div" }) => {
|
|
|
67
67
|
});
|
|
68
68
|
return rendered.type === "button" && rendered.props.type === void 0 ? cloneElement(rendered, { type: "button" }) : rendered;
|
|
69
69
|
};
|
|
70
|
-
//#endregion
|
|
71
70
|
export { mergeProps, useRender };
|
|
72
71
|
|
|
73
72
|
//# sourceMappingURL=useRender.js.map
|
package/dist/style.css
CHANGED
|
@@ -377,6 +377,84 @@
|
|
|
377
377
|
.ant-dropdown-menu.j2-dropdown-slim-menu .ant-dropdown-menu-item-group-list {
|
|
378
378
|
margin: 0;
|
|
379
379
|
}
|
|
380
|
+
/* Modal Component Styling */
|
|
381
|
+
.j2-modal .ant-modal-container {
|
|
382
|
+
background: var(--j2-color-bg-elevated);
|
|
383
|
+
border-radius: var(--j2-border-radius-lg);
|
|
384
|
+
padding: 0;
|
|
385
|
+
overflow: hidden;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
/* Header styling */
|
|
389
|
+
.j2-modal .ant-modal-header {
|
|
390
|
+
background: transparent;
|
|
391
|
+
border-bottom: none;
|
|
392
|
+
padding: var(--j2-padding-md) var(--j2-padding-content-horizontal-lg)
|
|
393
|
+
var(--j2-padding-xs) var(--j2-padding-content-horizontal-lg);
|
|
394
|
+
margin: 0;
|
|
395
|
+
box-shadow:
|
|
396
|
+
0px 1px 2px 0px rgba(0, 0, 0, 0.03),
|
|
397
|
+
0px 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
398
|
+
0px 2px 4px 0px rgba(0, 0, 0, 0.02);
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.j2-modal .ant-modal-title {
|
|
402
|
+
font-family: var(--j2-font-family);
|
|
403
|
+
font-weight: var(--j2-font-weight-strong);
|
|
404
|
+
font-size: var(--j2-font-size-lg);
|
|
405
|
+
line-height: var(--j2-line-height-lg);
|
|
406
|
+
color: var(--j2-color-text-heading);
|
|
407
|
+
margin: 0;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/* Icon modal specific header styling */
|
|
411
|
+
.j2-modal-with-icon .ant-modal-header {
|
|
412
|
+
padding: var(--j2-padding-md) var(--j2-padding-content-horizontal-lg) 0
|
|
413
|
+
var(--j2-padding-content-horizontal-lg);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/* Close button styling */
|
|
417
|
+
.j2-modal .ant-modal-close {
|
|
418
|
+
top: var(--j2-padding);
|
|
419
|
+
right: var(--j2-padding-md);
|
|
420
|
+
width: 22px;
|
|
421
|
+
height: 22px;
|
|
422
|
+
color: var(--j2-color-icon);
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.j2-modal .ant-modal-close-x {
|
|
426
|
+
display: flex;
|
|
427
|
+
align-items: center;
|
|
428
|
+
justify-content: center;
|
|
429
|
+
width: 100%;
|
|
430
|
+
height: 100%;
|
|
431
|
+
font-size: 16px;
|
|
432
|
+
color: var(--j2-color-icon);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
/* Body styling */
|
|
436
|
+
.j2-modal .ant-modal-body {
|
|
437
|
+
font-family: var(--j2-font-family);
|
|
438
|
+
font-weight: var(--j2-font-weight-normal);
|
|
439
|
+
font-size: var(--j2-font-size);
|
|
440
|
+
line-height: var(--j2-line-height);
|
|
441
|
+
color: var(--j2-color-text);
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
/* Footer styling */
|
|
445
|
+
.j2-modal .ant-modal-footer {
|
|
446
|
+
background: transparent;
|
|
447
|
+
border-top: none;
|
|
448
|
+
padding: 0 var(--j2-padding-content-horizontal-lg) var(--j2-padding-md)
|
|
449
|
+
var(--j2-padding-content-horizontal-lg);
|
|
450
|
+
margin: 0;
|
|
451
|
+
text-align: right;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
/* Backdrop/mask styling */
|
|
455
|
+
.j2-modal .ant-modal-mask {
|
|
456
|
+
background: var(--j2-color-bg-mask);
|
|
457
|
+
}
|
|
380
458
|
._j2FilterForm_rdja9_1 {
|
|
381
459
|
._filterFormTitle_rdja9_2 {
|
|
382
460
|
font-size: var(--j2-font-size-lg);
|
|
@@ -533,84 +611,6 @@
|
|
|
533
611
|
._messageIcon_1k9xp_1 {
|
|
534
612
|
margin-right: 0.5rem;
|
|
535
613
|
}
|
|
536
|
-
/* Modal Component Styling */
|
|
537
|
-
.j2-modal .ant-modal-container {
|
|
538
|
-
background: var(--j2-color-bg-elevated);
|
|
539
|
-
border-radius: var(--j2-border-radius-lg);
|
|
540
|
-
padding: 0;
|
|
541
|
-
overflow: hidden;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
/* Header styling */
|
|
545
|
-
.j2-modal .ant-modal-header {
|
|
546
|
-
background: transparent;
|
|
547
|
-
border-bottom: none;
|
|
548
|
-
padding: var(--j2-padding-md) var(--j2-padding-content-horizontal-lg)
|
|
549
|
-
var(--j2-padding-xs) var(--j2-padding-content-horizontal-lg);
|
|
550
|
-
margin: 0;
|
|
551
|
-
box-shadow:
|
|
552
|
-
0px 1px 2px 0px rgba(0, 0, 0, 0.03),
|
|
553
|
-
0px 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
554
|
-
0px 2px 4px 0px rgba(0, 0, 0, 0.02);
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
.j2-modal .ant-modal-title {
|
|
558
|
-
font-family: var(--j2-font-family);
|
|
559
|
-
font-weight: var(--j2-font-weight-strong);
|
|
560
|
-
font-size: var(--j2-font-size-lg);
|
|
561
|
-
line-height: var(--j2-line-height-lg);
|
|
562
|
-
color: var(--j2-color-text-heading);
|
|
563
|
-
margin: 0;
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
/* Icon modal specific header styling */
|
|
567
|
-
.j2-modal-with-icon .ant-modal-header {
|
|
568
|
-
padding: var(--j2-padding-md) var(--j2-padding-content-horizontal-lg) 0
|
|
569
|
-
var(--j2-padding-content-horizontal-lg);
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
/* Close button styling */
|
|
573
|
-
.j2-modal .ant-modal-close {
|
|
574
|
-
top: var(--j2-padding);
|
|
575
|
-
right: var(--j2-padding-md);
|
|
576
|
-
width: 22px;
|
|
577
|
-
height: 22px;
|
|
578
|
-
color: var(--j2-color-icon);
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
.j2-modal .ant-modal-close-x {
|
|
582
|
-
display: flex;
|
|
583
|
-
align-items: center;
|
|
584
|
-
justify-content: center;
|
|
585
|
-
width: 100%;
|
|
586
|
-
height: 100%;
|
|
587
|
-
font-size: 16px;
|
|
588
|
-
color: var(--j2-color-icon);
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
/* Body styling */
|
|
592
|
-
.j2-modal .ant-modal-body {
|
|
593
|
-
font-family: var(--j2-font-family);
|
|
594
|
-
font-weight: var(--j2-font-weight-normal);
|
|
595
|
-
font-size: var(--j2-font-size);
|
|
596
|
-
line-height: var(--j2-line-height);
|
|
597
|
-
color: var(--j2-color-text);
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
/* Footer styling */
|
|
601
|
-
.j2-modal .ant-modal-footer {
|
|
602
|
-
background: transparent;
|
|
603
|
-
border-top: none;
|
|
604
|
-
padding: 0 var(--j2-padding-content-horizontal-lg) var(--j2-padding-md)
|
|
605
|
-
var(--j2-padding-content-horizontal-lg);
|
|
606
|
-
margin: 0;
|
|
607
|
-
text-align: right;
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
/* Backdrop/mask styling */
|
|
611
|
-
.j2-modal .ant-modal-mask {
|
|
612
|
-
background: var(--j2-color-bg-mask);
|
|
613
|
-
}
|
|
614
614
|
._navMenuContainer_1ul3o_1 {
|
|
615
615
|
height: 100vh;
|
|
616
616
|
display: inline-block;
|
package/dist/tailwind.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
|
|
5
|
+
// tailwind.config.ts
|
|
6
6
|
var tailwindPreset = { theme: {
|
|
7
7
|
colors: {
|
|
8
8
|
transparent: "transparent",
|
|
@@ -210,7 +210,6 @@ var tailwind_config_default = {
|
|
|
210
210
|
content: ["./src/**/*.{ts,tsx,mdx}"],
|
|
211
211
|
plugins: []
|
|
212
212
|
};
|
|
213
|
-
//#endregion
|
|
214
213
|
exports.default = tailwind_config_default;
|
|
215
214
|
exports.tailwindPreset = tailwindPreset;
|
|
216
215
|
|
package/dist/tailwind.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// tailwind.config.ts
|
|
2
2
|
var tailwindPreset = { theme: {
|
|
3
3
|
colors: {
|
|
4
4
|
transparent: "transparent",
|
|
@@ -206,7 +206,6 @@ var tailwind_config_default = {
|
|
|
206
206
|
content: ["./src/**/*.{ts,tsx,mdx}"],
|
|
207
207
|
plugins: []
|
|
208
208
|
};
|
|
209
|
-
//#endregion
|
|
210
209
|
export { tailwind_config_default as default, tailwindPreset };
|
|
211
210
|
|
|
212
211
|
//# sourceMappingURL=tailwind.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@j2-health/design-system",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "J2 Health shared React component library",
|
|
6
6
|
"repository": {
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@dnd-kit/utilities": "^3.2.2",
|
|
61
61
|
"@highcharts/react": "^5.0.0",
|
|
62
62
|
"@phosphor-icons/react": "^2.1.7",
|
|
63
|
-
"antd": "^6.6.
|
|
63
|
+
"antd": "^6.6.7",
|
|
64
64
|
"classnames": "^2.5.1",
|
|
65
65
|
"formik": "^2.4.6",
|
|
66
66
|
"highcharts": "^13.1.1",
|
|
@@ -78,18 +78,18 @@
|
|
|
78
78
|
"@eslint/js": "^10.0.1",
|
|
79
79
|
"@highcharts/react": "^5.4.0",
|
|
80
80
|
"@phosphor-icons/react": "^2.1.7",
|
|
81
|
-
"@storybook/addon-docs": "^10.6.
|
|
82
|
-
"@storybook/addon-links": "^10.6.
|
|
83
|
-
"@storybook/react-vite": "^10.6.
|
|
81
|
+
"@storybook/addon-docs": "^10.6.3",
|
|
82
|
+
"@storybook/addon-links": "^10.6.3",
|
|
83
|
+
"@storybook/react-vite": "^10.6.3",
|
|
84
84
|
"@tailwindcss/postcss": "^4.3.3",
|
|
85
85
|
"@testing-library/jest-dom": "^7.0.1",
|
|
86
86
|
"@testing-library/react": "^16.3.3",
|
|
87
|
-
"@types/lodash": "^4.17.
|
|
87
|
+
"@types/lodash": "^4.17.27",
|
|
88
88
|
"@types/react": "^19.2.18",
|
|
89
89
|
"@types/react-dom": "^19.2.5",
|
|
90
90
|
"@vitejs/plugin-react": "^6.1.2",
|
|
91
91
|
"@vitest/coverage-v8": "^5.0.5",
|
|
92
|
-
"antd": "^6.6.
|
|
92
|
+
"antd": "^6.6.7",
|
|
93
93
|
"autoprefixer": "^10.6.1",
|
|
94
94
|
"classnames": "^2.5.1",
|
|
95
95
|
"eslint": "^10.13.0",
|
|
@@ -97,10 +97,10 @@
|
|
|
97
97
|
"eslint-plugin-react": "^7.37.2",
|
|
98
98
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
99
99
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
100
|
-
"eslint-plugin-storybook": "^10.6.
|
|
100
|
+
"eslint-plugin-storybook": "^10.6.3",
|
|
101
101
|
"formik": "^2.4.6",
|
|
102
102
|
"globals": "^17.13.0",
|
|
103
|
-
"happy-dom": "^21.0.
|
|
103
|
+
"happy-dom": "^21.0.4",
|
|
104
104
|
"highcharts": "^13.1.1",
|
|
105
105
|
"lodash": "^4.18.1",
|
|
106
106
|
"postcss": "^8.5.31",
|
|
@@ -108,19 +108,19 @@
|
|
|
108
108
|
"react": "^19.2.8",
|
|
109
109
|
"react-dom": "^19.3.1",
|
|
110
110
|
"semver": "^7.8.5",
|
|
111
|
-
"storybook": "^10.6.
|
|
111
|
+
"storybook": "^10.6.3",
|
|
112
112
|
"tailwindcss": "^4.3.3",
|
|
113
113
|
"ts-node": "^10.9.2",
|
|
114
114
|
"typescript": "^5.5.3",
|
|
115
|
-
"typescript-eslint": "^8.
|
|
116
|
-
"vite": "^8.3.
|
|
115
|
+
"typescript-eslint": "^8.72.0",
|
|
116
|
+
"vite": "^8.3.5",
|
|
117
117
|
"vite-plugin-dts": "^5.1.2",
|
|
118
118
|
"vite-plugin-svgr": "^5.2.0",
|
|
119
119
|
"vitest": "^5.0.4",
|
|
120
120
|
"yup": "^1.4.0"
|
|
121
121
|
},
|
|
122
122
|
"optionalDependencies": {
|
|
123
|
-
"@rollup/rollup-linux-x64-gnu": "^4.
|
|
123
|
+
"@rollup/rollup-linux-x64-gnu": "^4.65.0"
|
|
124
124
|
},
|
|
125
125
|
"eslintConfig": {
|
|
126
126
|
"extends": [
|