@j2-health/design-system 0.6.5 → 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 +10 -2
- package/dist/index.d.ts +3 -0
- package/dist/index.js +7 -3
- package/dist/index2.js +7 -3
- package/dist/src/AppConfigProvider.cjs +1 -2
- package/dist/src/AppConfigProvider.js +1 -2
- package/dist/src/appTheme.cjs +1 -2
- package/dist/src/appTheme.js +1 -2
- 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 +1 -2
- package/dist/src/components/slider/Slider.js +1 -2
- 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 +12 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// \0rolldown/runtime.js
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -19,5 +19,4 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
19
19
|
value: mod,
|
|
20
20
|
enumerable: true
|
|
21
21
|
}) : target, mod));
|
|
22
|
-
//#endregion
|
|
23
22
|
exports.__toESM = __toESM;
|
package/dist/index.cjs
CHANGED
|
@@ -7,6 +7,7 @@ const require_Alert = require("./src/components/alert/Alert.cjs");
|
|
|
7
7
|
const require_BareButton = require("./src/components/bareButton/BareButton.cjs");
|
|
8
8
|
const require_BarChart = require("./src/components/barchart/BarChart.cjs");
|
|
9
9
|
const require_Breadcrumb = require("./src/components/breadcrumb/Breadcrumb.cjs");
|
|
10
|
+
const require_Callout = require("./src/components/callout/Callout.cjs");
|
|
10
11
|
const require_Button = require("./src/components/button/Button.cjs");
|
|
11
12
|
const require_BulkActionBar = require("./src/components/bulkActionBar/BulkActionBar.cjs");
|
|
12
13
|
const require_Card = require("./src/components/card/Card.cjs");
|
|
@@ -19,6 +20,9 @@ const require_Collapse = require("./src/components/collapse/Collapse.cjs");
|
|
|
19
20
|
const require_Drawer = require("./src/components/drawer/Drawer.cjs");
|
|
20
21
|
const require_Dropdown = require("./src/components/dropdown/Dropdown.cjs");
|
|
21
22
|
const require_EmptyState = require("./src/components/emptyState/EmptyState.cjs");
|
|
23
|
+
const require_Modal = require("./src/components/modal/Modal.cjs");
|
|
24
|
+
const require_Spinner = require("./src/components/spinner/Spinner.cjs");
|
|
25
|
+
const require_FileDropzone = require("./src/components/fileDropzone/FileDropzone.cjs");
|
|
22
26
|
const require_filterHelpers = require("./src/components/filterform/filterHelpers.cjs");
|
|
23
27
|
const require_useFilterField = require("./src/components/filterform/useFilterField.cjs");
|
|
24
28
|
const require_FiltersForm = require("./src/components/filterform/FiltersForm.cjs");
|
|
@@ -26,6 +30,7 @@ const require_Form = require("./src/components/form/Form.cjs");
|
|
|
26
30
|
const require_Input = require("./src/components/input/Input.cjs");
|
|
27
31
|
const require_AntdInput = require("./src/components/input/AntdInput.cjs");
|
|
28
32
|
const require_AntdSearchInput = require("./src/components/input/AntdSearchInput.cjs");
|
|
33
|
+
const require_AntdTextArea = require("./src/components/input/AntdTextArea.cjs");
|
|
29
34
|
const require_InputNumber = require("./src/components/inputnumber/InputNumber.cjs");
|
|
30
35
|
const require_Radio = require("./src/components/radio/Radio.cjs");
|
|
31
36
|
const require_ListRow = require("./src/components/listRow/ListRow.cjs");
|
|
@@ -36,12 +41,12 @@ const require_SelectAll = require("./src/components/manageColumns/SelectAll.cjs"
|
|
|
36
41
|
const require_ManageColumnsPanel = require("./src/components/manageColumns/ManageColumnsPanel.cjs");
|
|
37
42
|
const require_Menu = require("./src/components/menu/Menu.cjs");
|
|
38
43
|
const require_useMessage = require("./src/components/message/useMessage.cjs");
|
|
39
|
-
const require_Modal = require("./src/components/modal/Modal.cjs");
|
|
40
44
|
const require_NavMenu = require("./src/components/navMenu/NavMenu.cjs");
|
|
41
45
|
const require_useNotification = require("./src/components/notification/useNotification.cjs");
|
|
42
46
|
const require_NotificationModal = require("./src/components/notificationModal/NotificationModal.cjs");
|
|
43
47
|
const require_Pagination = require("./src/components/pagination/Pagination.cjs");
|
|
44
48
|
const require_Progress = require("./src/components/progress/Progress.cjs");
|
|
49
|
+
const require_RadioCardGroup = require("./src/components/radioCardGroup/RadioCardGroup.cjs");
|
|
45
50
|
const require_Rate = require("./src/components/rate/Rate.cjs");
|
|
46
51
|
const require_Select = require("./src/components/select/Select.cjs");
|
|
47
52
|
const require_AntdSelect = require("./src/components/select/AntdSelect.cjs");
|
|
@@ -49,7 +54,6 @@ const require_Tag = require("./src/components/tag/Tag.cjs");
|
|
|
49
54
|
const require_SummarizedSelect = require("./src/components/select/SummarizedSelect.cjs");
|
|
50
55
|
const require_Skeleton = require("./src/components/skeleton/Skeleton.cjs");
|
|
51
56
|
const require_Slider = require("./src/components/slider/Slider.cjs");
|
|
52
|
-
const require_Spinner = require("./src/components/spinner/Spinner.cjs");
|
|
53
57
|
const require_StatusPill = require("./src/components/statusPill/StatusPill.cjs");
|
|
54
58
|
const require_useSteps = require("./src/components/steps/useSteps.cjs");
|
|
55
59
|
const require_Steps = require("./src/components/steps/Steps.cjs");
|
|
@@ -69,12 +73,14 @@ exports.Alert = require_Alert.Alert;
|
|
|
69
73
|
exports.AntdInput = require_AntdInput.AntdInput;
|
|
70
74
|
exports.AntdSearchInput = require_AntdSearchInput.AntdSearchInput;
|
|
71
75
|
exports.AntdSelect = require_AntdSelect.AntdSelect;
|
|
76
|
+
exports.AntdTextArea = require_AntdTextArea.AntdTextArea;
|
|
72
77
|
exports.AppConfigProvider = require_AppConfigProvider.AppConfigProvider;
|
|
73
78
|
exports.BarChart = require_BarChart.BarChart;
|
|
74
79
|
exports.BareButton = require_BareButton.BareButton;
|
|
75
80
|
exports.Breadcrumb = require_Breadcrumb.Breadcrumb;
|
|
76
81
|
exports.BulkActionBar = require_BulkActionBar.BulkActionBar;
|
|
77
82
|
exports.Button = require_Button.Button;
|
|
83
|
+
exports.Callout = require_Callout.Callout;
|
|
78
84
|
exports.Card = require_Card.Card;
|
|
79
85
|
exports.ChangeChip = require_ChangeChip.ChangeChip;
|
|
80
86
|
exports.Checkbox = require_Checkbox.Checkbox;
|
|
@@ -83,6 +89,7 @@ exports.Collapse = require_Collapse.Collapse;
|
|
|
83
89
|
exports.Drawer = require_Drawer.Drawer;
|
|
84
90
|
exports.Dropdown = require_Dropdown.Dropdown;
|
|
85
91
|
exports.EmptyState = require_EmptyState.EmptyState;
|
|
92
|
+
exports.FileDropzone = require_FileDropzone.FileDropzone;
|
|
86
93
|
exports.FiltersForm = require_FiltersForm.FiltersForm;
|
|
87
94
|
exports.Form = require_Form.Form;
|
|
88
95
|
Object.defineProperty(exports, "HighchartsReact", {
|
|
@@ -106,6 +113,7 @@ exports.Pagination = require_Pagination.Pagination;
|
|
|
106
113
|
exports.Popover = require_Popover.Popover;
|
|
107
114
|
exports.Progress = require_Progress.Progress;
|
|
108
115
|
exports.Radio = require_Radio.Radio;
|
|
116
|
+
exports.RadioCardGroup = require_RadioCardGroup.RadioCardGroup;
|
|
109
117
|
exports.RadioGroup = require_Radio.RadioGroup;
|
|
110
118
|
exports.Rate = require_Rate.Rate;
|
|
111
119
|
exports.Select = require_Select.Select;
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from './src/components/alert/index.js';
|
|
|
5
5
|
export * from './src/components/bareButton/index.js';
|
|
6
6
|
export * from './src/components/barchart/index.js';
|
|
7
7
|
export * from './src/components/breadcrumb/index.js';
|
|
8
|
+
export * from './src/components/callout/index.js';
|
|
8
9
|
export * from './src/components/bulkActionBar/index.js';
|
|
9
10
|
export * from './src/components/button/index.js';
|
|
10
11
|
export * from './src/components/card/index.js';
|
|
@@ -15,6 +16,7 @@ export * from './src/components/collapse/index.js';
|
|
|
15
16
|
export * from './src/components/drawer/index.js';
|
|
16
17
|
export * from './src/components/dropdown/index.js';
|
|
17
18
|
export * from './src/components/emptyState/index.js';
|
|
19
|
+
export * from './src/components/fileDropzone/index.js';
|
|
18
20
|
export * from './src/components/filterform/index.js';
|
|
19
21
|
export * from './src/components/form/index.js';
|
|
20
22
|
export * from './src/components/input/index.js';
|
|
@@ -32,6 +34,7 @@ export * from './src/components/pagination/index.js';
|
|
|
32
34
|
export * from './src/components/popover/index.js';
|
|
33
35
|
export * from './src/components/progress/index.js';
|
|
34
36
|
export * from './src/components/radio/index.js';
|
|
37
|
+
export * from './src/components/radioCardGroup/index.js';
|
|
35
38
|
export * from './src/components/rate/index.js';
|
|
36
39
|
export * from './src/components/select/index.js';
|
|
37
40
|
export * from './src/components/skeleton/index.js';
|
package/dist/index.js
CHANGED
|
@@ -6,6 +6,7 @@ import { BareButton } from "./src/components/bareButton/BareButton.js";
|
|
|
6
6
|
import { BarChart } from "./src/components/barchart/BarChart.js";
|
|
7
7
|
import { HighchartsReact } from "./src/components/barchart/index.js";
|
|
8
8
|
import { Breadcrumb } from "./src/components/breadcrumb/Breadcrumb.js";
|
|
9
|
+
import { Callout } from "./src/components/callout/Callout.js";
|
|
9
10
|
import { Button } from "./src/components/button/Button.js";
|
|
10
11
|
import { BulkActionBar } from "./src/components/bulkActionBar/BulkActionBar.js";
|
|
11
12
|
import { Card } from "./src/components/card/Card.js";
|
|
@@ -18,6 +19,9 @@ import { Collapse } from "./src/components/collapse/Collapse.js";
|
|
|
18
19
|
import { Drawer } from "./src/components/drawer/Drawer.js";
|
|
19
20
|
import { Dropdown } from "./src/components/dropdown/Dropdown.js";
|
|
20
21
|
import { EmptyState } from "./src/components/emptyState/EmptyState.js";
|
|
22
|
+
import { Modal } from "./src/components/modal/Modal.js";
|
|
23
|
+
import { Spinner } from "./src/components/spinner/Spinner.js";
|
|
24
|
+
import { FileDropzone } from "./src/components/fileDropzone/FileDropzone.js";
|
|
21
25
|
import { isMultiValueTextOperator, normalizeMultiValues } from "./src/components/filterform/filterHelpers.js";
|
|
22
26
|
import { MultiValueTextOperatorOptions, operatorOptionsFor } from "./src/components/filterform/useFilterField.js";
|
|
23
27
|
import { FiltersForm } from "./src/components/filterform/FiltersForm.js";
|
|
@@ -25,6 +29,7 @@ import { Form } from "./src/components/form/Form.js";
|
|
|
25
29
|
import { Input } from "./src/components/input/Input.js";
|
|
26
30
|
import { AntdInput } from "./src/components/input/AntdInput.js";
|
|
27
31
|
import { AntdSearchInput } from "./src/components/input/AntdSearchInput.js";
|
|
32
|
+
import { AntdTextArea } from "./src/components/input/AntdTextArea.js";
|
|
28
33
|
import { InputNumber } from "./src/components/inputnumber/InputNumber.js";
|
|
29
34
|
import { Radio, RadioGroup } from "./src/components/radio/Radio.js";
|
|
30
35
|
import { ListRow } from "./src/components/listRow/ListRow.js";
|
|
@@ -35,12 +40,12 @@ import { SelectAll } from "./src/components/manageColumns/SelectAll.js";
|
|
|
35
40
|
import { ManageColumnsPanel } from "./src/components/manageColumns/ManageColumnsPanel.js";
|
|
36
41
|
import { Menu } from "./src/components/menu/Menu.js";
|
|
37
42
|
import { useMessage } from "./src/components/message/useMessage.js";
|
|
38
|
-
import { Modal } from "./src/components/modal/Modal.js";
|
|
39
43
|
import { NavMenu } from "./src/components/navMenu/NavMenu.js";
|
|
40
44
|
import { useNotification } from "./src/components/notification/useNotification.js";
|
|
41
45
|
import { NotificationModal } from "./src/components/notificationModal/NotificationModal.js";
|
|
42
46
|
import { Pagination, withDesignSystemPaginationOverrides } from "./src/components/pagination/Pagination.js";
|
|
43
47
|
import { Progress } from "./src/components/progress/Progress.js";
|
|
48
|
+
import { RadioCardGroup } from "./src/components/radioCardGroup/RadioCardGroup.js";
|
|
44
49
|
import { Rate } from "./src/components/rate/Rate.js";
|
|
45
50
|
import { Select } from "./src/components/select/Select.js";
|
|
46
51
|
import { AntdSelect } from "./src/components/select/AntdSelect.js";
|
|
@@ -48,7 +53,6 @@ import { Tag } from "./src/components/tag/Tag.js";
|
|
|
48
53
|
import { SummarizedSelect } from "./src/components/select/SummarizedSelect.js";
|
|
49
54
|
import { Skeleton } from "./src/components/skeleton/Skeleton.js";
|
|
50
55
|
import { Slider } from "./src/components/slider/Slider.js";
|
|
51
|
-
import { Spinner } from "./src/components/spinner/Spinner.js";
|
|
52
56
|
import { StatusPill } from "./src/components/statusPill/StatusPill.js";
|
|
53
57
|
import { useSteps } from "./src/components/steps/useSteps.js";
|
|
54
58
|
import { Steps } from "./src/components/steps/Steps.js";
|
|
@@ -62,4 +66,4 @@ import { VennDiagram } from "./src/components/vennDiagram/VennDiagram.js";
|
|
|
62
66
|
import { UserProfile } from "./src/components/legacyNavMenu/UserProfile.js";
|
|
63
67
|
import { LegacyNavMenu } from "./src/components/legacyNavMenu/LegacyNavMenu.js";
|
|
64
68
|
import { icons } from "./index2.js";
|
|
65
|
-
export { Alert, AntdInput, AntdSearchInput, AntdSelect, AppConfigProvider, BarChart, BareButton, Breadcrumb, BulkActionBar, Button, Card, ChangeChip, Checkbox, CheckboxTree, Collapse, Drawer, Dropdown, EmptyState, FiltersForm, Form, HighchartsReact, Input, InputNumber, LegacyNavMenu, ListPopover, ListRow, ManageColumnsPanel, Menu, Modal, MultiValueTextOperatorOptions, NavMenu, NotificationModal, Pagination, Popover, Progress, Radio, RadioGroup, Rate, Select, SelectAll, Skeleton, Slider, Spinner, StatusPill, StepDrawer, Steps, SummarizedSelect, Swatch, SwatchStrip, Switch, Table, Tabs, Tag, ThresholdBar, Tooltip, UserProfile, VennDiagram, appTheme, icons, isMultiValueTextOperator, mergeProps, normalizeMultiValues, operatorOptionsFor, tailwindPreset, useMessage, useNotification, useStepDrawerSlots, useSteps, withDesignSystemPaginationOverrides };
|
|
69
|
+
export { Alert, AntdInput, AntdSearchInput, AntdSelect, AntdTextArea, AppConfigProvider, BarChart, BareButton, Breadcrumb, BulkActionBar, Button, Callout, Card, ChangeChip, Checkbox, CheckboxTree, Collapse, Drawer, Dropdown, EmptyState, FileDropzone, FiltersForm, Form, HighchartsReact, Input, InputNumber, LegacyNavMenu, ListPopover, ListRow, ManageColumnsPanel, Menu, Modal, MultiValueTextOperatorOptions, NavMenu, NotificationModal, Pagination, Popover, Progress, Radio, RadioCardGroup, RadioGroup, Rate, Select, SelectAll, Skeleton, Slider, Spinner, StatusPill, StepDrawer, Steps, SummarizedSelect, Swatch, SwatchStrip, Switch, Table, Tabs, Tag, ThresholdBar, Tooltip, UserProfile, VennDiagram, appTheme, icons, isMultiValueTextOperator, mergeProps, normalizeMultiValues, operatorOptionsFor, tailwindPreset, useMessage, useNotification, useStepDrawerSlots, useSteps, withDesignSystemPaginationOverrides };
|
package/dist/index2.js
CHANGED
|
@@ -6,6 +6,7 @@ import { BareButton } from "./src/components/bareButton/BareButton.js";
|
|
|
6
6
|
import { BarChart } from "./src/components/barchart/BarChart.js";
|
|
7
7
|
import { HighchartsReact } from "./src/components/barchart/index.js";
|
|
8
8
|
import { Breadcrumb } from "./src/components/breadcrumb/Breadcrumb.js";
|
|
9
|
+
import { Callout } from "./src/components/callout/Callout.js";
|
|
9
10
|
import { Button } from "./src/components/button/Button.js";
|
|
10
11
|
import { BulkActionBar } from "./src/components/bulkActionBar/BulkActionBar.js";
|
|
11
12
|
import { Card } from "./src/components/card/Card.js";
|
|
@@ -18,6 +19,9 @@ import { Collapse } from "./src/components/collapse/Collapse.js";
|
|
|
18
19
|
import { Drawer } from "./src/components/drawer/Drawer.js";
|
|
19
20
|
import { Dropdown } from "./src/components/dropdown/Dropdown.js";
|
|
20
21
|
import { EmptyState } from "./src/components/emptyState/EmptyState.js";
|
|
22
|
+
import { Modal } from "./src/components/modal/Modal.js";
|
|
23
|
+
import { Spinner } from "./src/components/spinner/Spinner.js";
|
|
24
|
+
import { FileDropzone } from "./src/components/fileDropzone/FileDropzone.js";
|
|
21
25
|
import { isMultiValueTextOperator, normalizeMultiValues } from "./src/components/filterform/filterHelpers.js";
|
|
22
26
|
import { MultiValueTextOperatorOptions, operatorOptionsFor } from "./src/components/filterform/useFilterField.js";
|
|
23
27
|
import { FiltersForm } from "./src/components/filterform/FiltersForm.js";
|
|
@@ -25,6 +29,7 @@ import { Form } from "./src/components/form/Form.js";
|
|
|
25
29
|
import { Input } from "./src/components/input/Input.js";
|
|
26
30
|
import { AntdInput } from "./src/components/input/AntdInput.js";
|
|
27
31
|
import { AntdSearchInput } from "./src/components/input/AntdSearchInput.js";
|
|
32
|
+
import { AntdTextArea } from "./src/components/input/AntdTextArea.js";
|
|
28
33
|
import { InputNumber } from "./src/components/inputnumber/InputNumber.js";
|
|
29
34
|
import { Radio, RadioGroup } from "./src/components/radio/Radio.js";
|
|
30
35
|
import { ListRow } from "./src/components/listRow/ListRow.js";
|
|
@@ -35,12 +40,12 @@ import { SelectAll } from "./src/components/manageColumns/SelectAll.js";
|
|
|
35
40
|
import { ManageColumnsPanel } from "./src/components/manageColumns/ManageColumnsPanel.js";
|
|
36
41
|
import { Menu } from "./src/components/menu/Menu.js";
|
|
37
42
|
import { useMessage } from "./src/components/message/useMessage.js";
|
|
38
|
-
import { Modal } from "./src/components/modal/Modal.js";
|
|
39
43
|
import { NavMenu } from "./src/components/navMenu/NavMenu.js";
|
|
40
44
|
import { useNotification } from "./src/components/notification/useNotification.js";
|
|
41
45
|
import { NotificationModal } from "./src/components/notificationModal/NotificationModal.js";
|
|
42
46
|
import { Pagination, withDesignSystemPaginationOverrides } from "./src/components/pagination/Pagination.js";
|
|
43
47
|
import { Progress } from "./src/components/progress/Progress.js";
|
|
48
|
+
import { RadioCardGroup } from "./src/components/radioCardGroup/RadioCardGroup.js";
|
|
44
49
|
import { Rate } from "./src/components/rate/Rate.js";
|
|
45
50
|
import { Select } from "./src/components/select/Select.js";
|
|
46
51
|
import { AntdSelect } from "./src/components/select/AntdSelect.js";
|
|
@@ -48,7 +53,6 @@ import { Tag } from "./src/components/tag/Tag.js";
|
|
|
48
53
|
import { SummarizedSelect } from "./src/components/select/SummarizedSelect.js";
|
|
49
54
|
import { Skeleton } from "./src/components/skeleton/Skeleton.js";
|
|
50
55
|
import { Slider } from "./src/components/slider/Slider.js";
|
|
51
|
-
import { Spinner } from "./src/components/spinner/Spinner.js";
|
|
52
56
|
import { StatusPill } from "./src/components/statusPill/StatusPill.js";
|
|
53
57
|
import { useSteps } from "./src/components/steps/useSteps.js";
|
|
54
58
|
import { Steps } from "./src/components/steps/Steps.js";
|
|
@@ -62,4 +66,4 @@ import { VennDiagram } from "./src/components/vennDiagram/VennDiagram.js";
|
|
|
62
66
|
import { UserProfile } from "./src/components/legacyNavMenu/UserProfile.js";
|
|
63
67
|
import { LegacyNavMenu } from "./src/components/legacyNavMenu/LegacyNavMenu.js";
|
|
64
68
|
import * as icons from "@phosphor-icons/react";
|
|
65
|
-
export { Alert, AntdInput, AntdSearchInput, AntdSelect, AppConfigProvider, BarChart, BareButton, Breadcrumb, BulkActionBar, Button, Card, ChangeChip, Checkbox, CheckboxTree, Collapse, Drawer, Dropdown, EmptyState, FiltersForm, Form, HighchartsReact, Input, InputNumber, LegacyNavMenu, ListPopover, ListRow, ManageColumnsPanel, Menu, Modal, MultiValueTextOperatorOptions, NavMenu, NotificationModal, Pagination, Popover, Progress, Radio, RadioGroup, Rate, Select, SelectAll, Skeleton, Slider, Spinner, StatusPill, StepDrawer, Steps, SummarizedSelect, Swatch, SwatchStrip, Switch, Table, Tabs, Tag, ThresholdBar, Tooltip, UserProfile, VennDiagram, appTheme, icons, isMultiValueTextOperator, mergeProps, normalizeMultiValues, operatorOptionsFor, tailwindPreset, useMessage, useNotification, useStepDrawerSlots, useSteps, withDesignSystemPaginationOverrides };
|
|
69
|
+
export { Alert, AntdInput, AntdSearchInput, AntdSelect, AntdTextArea, AppConfigProvider, BarChart, BareButton, Breadcrumb, BulkActionBar, Button, Callout, Card, ChangeChip, Checkbox, CheckboxTree, Collapse, Drawer, Dropdown, EmptyState, FileDropzone, FiltersForm, Form, HighchartsReact, Input, InputNumber, LegacyNavMenu, ListPopover, ListRow, ManageColumnsPanel, Menu, Modal, MultiValueTextOperatorOptions, NavMenu, NotificationModal, Pagination, Popover, Progress, Radio, RadioCardGroup, RadioGroup, Rate, Select, SelectAll, Skeleton, Slider, Spinner, StatusPill, StepDrawer, Steps, SummarizedSelect, Swatch, SwatchStrip, Switch, Table, Tabs, Tag, ThresholdBar, Tooltip, UserProfile, VennDiagram, appTheme, icons, isMultiValueTextOperator, mergeProps, normalizeMultiValues, operatorOptionsFor, tailwindPreset, useMessage, useNotification, useStepDrawerSlots, useSteps, withDesignSystemPaginationOverrides };
|
|
@@ -6,7 +6,7 @@ let antd = require("antd");
|
|
|
6
6
|
let _phosphor_icons_react = require("@phosphor-icons/react");
|
|
7
7
|
_phosphor_icons_react = require_runtime.__toESM(_phosphor_icons_react, 1);
|
|
8
8
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
|
-
|
|
9
|
+
// src/AppConfigProvider.tsx
|
|
10
10
|
var AppConfigProvider = ({ children }) => {
|
|
11
11
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(antd.ConfigProvider, {
|
|
12
12
|
theme: require_appTheme.appTheme,
|
|
@@ -19,7 +19,6 @@ var AppConfigProvider = ({ children }) => {
|
|
|
19
19
|
})
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
|
-
//#endregion
|
|
23
22
|
exports.AppConfigProvider = AppConfigProvider;
|
|
24
23
|
|
|
25
24
|
//# sourceMappingURL=AppConfigProvider.cjs.map
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import { ConfigProvider } from "antd";
|
|
4
4
|
import { IconContext } from "@phosphor-icons/react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/AppConfigProvider.tsx
|
|
7
7
|
var AppConfigProvider = ({ children }) => {
|
|
8
8
|
return /* @__PURE__ */ jsx(ConfigProvider, {
|
|
9
9
|
theme: appTheme,
|
|
@@ -16,7 +16,6 @@ var AppConfigProvider = ({ children }) => {
|
|
|
16
16
|
})
|
|
17
17
|
});
|
|
18
18
|
};
|
|
19
|
-
//#endregion
|
|
20
19
|
export { AppConfigProvider };
|
|
21
20
|
|
|
22
21
|
//# sourceMappingURL=AppConfigProvider.js.map
|
package/dist/src/appTheme.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/appTheme.ts
|
|
2
2
|
var appTheme = {
|
|
3
3
|
token: {
|
|
4
4
|
colorText: "var(--j2-color-text)",
|
|
@@ -242,7 +242,6 @@ var appTheme = {
|
|
|
242
242
|
Tag: { defaultBg: "var(--j2-color-fill-secondary)" }
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
|
-
//#endregion
|
|
246
245
|
exports.appTheme = appTheme;
|
|
247
246
|
|
|
248
247
|
//# sourceMappingURL=appTheme.cjs.map
|
package/dist/src/appTheme.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/appTheme.ts
|
|
2
2
|
var appTheme = {
|
|
3
3
|
token: {
|
|
4
4
|
colorText: "var(--j2-color-text)",
|
|
@@ -242,7 +242,6 @@ var appTheme = {
|
|
|
242
242
|
Tag: { defaultBg: "var(--j2-color-fill-secondary)" }
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
|
-
//#endregion
|
|
246
245
|
export { appTheme };
|
|
247
246
|
|
|
248
247
|
//# sourceMappingURL=appTheme.js.map
|
|
@@ -9,7 +9,7 @@ _phosphor_icons_react = require_runtime.__toESM(_phosphor_icons_react, 1);
|
|
|
9
9
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
10
|
let classnames = require("classnames");
|
|
11
11
|
classnames = require_runtime.__toESM(classnames, 1);
|
|
12
|
-
|
|
12
|
+
// src/components/alert/Alert.tsx
|
|
13
13
|
var Alert = ({ description, type, closable = false, showIcon = true, banner = false, message, title, closeIcon, closeText, onClose, afterClose, className, ...props }) => {
|
|
14
14
|
const { token } = antd.theme.useToken();
|
|
15
15
|
const icon = react$1.useMemo(() => {
|
|
@@ -80,7 +80,6 @@ var Alert = ({ description, type, closable = false, showIcon = true, banner = fa
|
|
|
80
80
|
...props
|
|
81
81
|
});
|
|
82
82
|
};
|
|
83
|
-
//#endregion
|
|
84
83
|
exports.Alert = Alert;
|
|
85
84
|
|
|
86
85
|
//# sourceMappingURL=Alert.cjs.map
|
|
@@ -4,7 +4,7 @@ import { Alert, theme } from "antd";
|
|
|
4
4
|
import { CheckCircleIcon, CircleNotchIcon, InfoIcon, WarningCircleIcon, XCircleIcon, XIcon } from "@phosphor-icons/react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import cx from "classnames";
|
|
7
|
-
|
|
7
|
+
// src/components/alert/Alert.tsx
|
|
8
8
|
var Alert$1 = ({ description, type, closable = false, showIcon = true, banner = false, message, title, closeIcon, closeText, onClose, afterClose, className, ...props }) => {
|
|
9
9
|
const { token } = theme.useToken();
|
|
10
10
|
const icon = React.useMemo(() => {
|
|
@@ -75,7 +75,6 @@ var Alert$1 = ({ description, type, closable = false, showIcon = true, banner =
|
|
|
75
75
|
...props
|
|
76
76
|
});
|
|
77
77
|
};
|
|
78
|
-
//#endregion
|
|
79
78
|
export { Alert$1 as Alert };
|
|
80
79
|
|
|
81
80
|
//# sourceMappingURL=Alert.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/alert/Alert.module.css
|
|
2
2
|
var alert = "_alert_iflcw_2";
|
|
3
3
|
var Alert_module_default = { alert };
|
|
4
|
-
//#endregion
|
|
5
4
|
export { alert, Alert_module_default as default };
|
|
6
5
|
|
|
7
6
|
//# sourceMappingURL=Alert.module.css.js.map
|
|
@@ -5,7 +5,7 @@ let _highcharts_react = require("@highcharts/react");
|
|
|
5
5
|
require("@highcharts/react/modules/Accessibility.js");
|
|
6
6
|
require("@highcharts/react/modules/Exporting.js");
|
|
7
7
|
let react_dom_server = require("react-dom/server");
|
|
8
|
-
|
|
8
|
+
// src/components/barchart/BarChart.tsx
|
|
9
9
|
var BarChart = ({ categories, series, min, max, tickInterval, tickFormat, xAxisTitle, yAxisTitle, gridLineColor, gridLineDashStyle, xAxisLabelMaxLines, tooltip, exporting, chartRef, height, width, maxBars = 50, barsWidth = void 0 }) => {
|
|
10
10
|
const limitedCategories = categories.slice(0, maxBars);
|
|
11
11
|
const limitedSeries = series.map((s) => ({
|
|
@@ -121,7 +121,6 @@ var BarChart = ({ categories, series, min, max, tickInterval, tickFormat, xAxisT
|
|
|
121
121
|
containerProps: { className: "highcharts-light" }
|
|
122
122
|
});
|
|
123
123
|
};
|
|
124
|
-
//#endregion
|
|
125
124
|
exports.BarChart = BarChart;
|
|
126
125
|
|
|
127
126
|
//# sourceMappingURL=BarChart.cjs.map
|
|
@@ -5,7 +5,7 @@ import { Chart } from "@highcharts/react";
|
|
|
5
5
|
import "@highcharts/react/modules/Accessibility.js";
|
|
6
6
|
import "@highcharts/react/modules/Exporting.js";
|
|
7
7
|
import { renderToString } from "react-dom/server";
|
|
8
|
-
|
|
8
|
+
// src/components/barchart/BarChart.tsx
|
|
9
9
|
var BarChart = ({ categories, series, min, max, tickInterval, tickFormat, xAxisTitle, yAxisTitle, gridLineColor, gridLineDashStyle, xAxisLabelMaxLines, tooltip, exporting, chartRef, height, width, maxBars = 50, barsWidth = void 0 }) => {
|
|
10
10
|
const limitedCategories = categories.slice(0, maxBars);
|
|
11
11
|
const limitedSeries = series.map((s) => ({
|
|
@@ -121,7 +121,6 @@ var BarChart = ({ categories, series, min, max, tickInterval, tickFormat, xAxisT
|
|
|
121
121
|
containerProps: { className: "highcharts-light" }
|
|
122
122
|
});
|
|
123
123
|
};
|
|
124
|
-
//#endregion
|
|
125
124
|
export { BarChart };
|
|
126
125
|
|
|
127
126
|
//# sourceMappingURL=BarChart.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/barchart/chart.module.css
|
|
2
2
|
var tooltip = "_tooltip_1g39l_1";
|
|
3
3
|
var chart_module_default = { tooltip };
|
|
4
|
-
//#endregion
|
|
5
4
|
export { chart_module_default as default, tooltip };
|
|
6
5
|
|
|
7
6
|
//# sourceMappingURL=chart.module.css.js.map
|
|
@@ -3,7 +3,7 @@ let react = require("react");
|
|
|
3
3
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
4
|
let classnames = require("classnames");
|
|
5
5
|
classnames = require_runtime.__toESM(classnames, 1);
|
|
6
|
-
|
|
6
|
+
// src/components/bareButton/BareButton.tsx
|
|
7
7
|
/**
|
|
8
8
|
* A button with no look of its own: its children supply every pixel. For
|
|
9
9
|
* making a purely visual component clickable, e.g. as a `render` element:
|
|
@@ -25,7 +25,6 @@ var BareButton = (0, react.forwardRef)(({ className, ...props }, ref) => /* @__P
|
|
|
25
25
|
className: (0, classnames.default)("cursor-pointer disabled:cursor-not-allowed focus-visible:[outline:var(--j2-focus-ring-width,2px)_solid_var(--j2-focus-ring-color,var(--j2-color-primary))] focus-visible:[outline-offset:var(--j2-focus-ring-offset,0px)]", className)
|
|
26
26
|
}));
|
|
27
27
|
BareButton.displayName = "BareButton";
|
|
28
|
-
//#endregion
|
|
29
28
|
exports.BareButton = BareButton;
|
|
30
29
|
|
|
31
30
|
//# sourceMappingURL=BareButton.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { forwardRef } from "react";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import cx from "classnames";
|
|
4
|
-
|
|
4
|
+
// src/components/bareButton/BareButton.tsx
|
|
5
5
|
/**
|
|
6
6
|
* A button with no look of its own: its children supply every pixel. For
|
|
7
7
|
* making a purely visual component clickable, e.g. as a `render` element:
|
|
@@ -23,7 +23,6 @@ var BareButton = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ js
|
|
|
23
23
|
className: cx("cursor-pointer disabled:cursor-not-allowed focus-visible:[outline:var(--j2-focus-ring-width,2px)_solid_var(--j2-focus-ring-color,var(--j2-color-primary))] focus-visible:[outline-offset:var(--j2-focus-ring-offset,0px)]", className)
|
|
24
24
|
}));
|
|
25
25
|
BareButton.displayName = "BareButton";
|
|
26
|
-
//#endregion
|
|
27
26
|
export { BareButton };
|
|
28
27
|
|
|
29
28
|
//# sourceMappingURL=BareButton.js.map
|
|
@@ -4,7 +4,7 @@ let react$1 = require_runtime.__toESM(react, 1);
|
|
|
4
4
|
react = require_runtime.__toESM(react);
|
|
5
5
|
let antd = require("antd");
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
-
|
|
7
|
+
// src/components/breadcrumb/Breadcrumb.tsx
|
|
8
8
|
var Breadcrumb = ({ items, ...props }) => {
|
|
9
9
|
const antDItems = react$1.useMemo(() => items.map((item) => ({
|
|
10
10
|
href: item.href,
|
|
@@ -19,7 +19,6 @@ var Breadcrumb = ({ items, ...props }) => {
|
|
|
19
19
|
items: antDItems
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
|
-
//#endregion
|
|
23
22
|
exports.Breadcrumb = Breadcrumb;
|
|
24
23
|
|
|
25
24
|
//# sourceMappingURL=Breadcrumb.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Breadcrumb } from "antd";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/components/breadcrumb/Breadcrumb.tsx
|
|
5
5
|
var Breadcrumb$1 = ({ items, ...props }) => {
|
|
6
6
|
const antDItems = React.useMemo(() => items.map((item) => ({
|
|
7
7
|
href: item.href,
|
|
@@ -16,7 +16,6 @@ var Breadcrumb$1 = ({ items, ...props }) => {
|
|
|
16
16
|
items: antDItems
|
|
17
17
|
});
|
|
18
18
|
};
|
|
19
|
-
//#endregion
|
|
20
19
|
export { Breadcrumb$1 as Breadcrumb };
|
|
21
20
|
|
|
22
21
|
//# sourceMappingURL=Breadcrumb.js.map
|
|
@@ -3,7 +3,7 @@ const require_Button = require("../button/Button.cjs");
|
|
|
3
3
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
4
|
let classnames = require("classnames");
|
|
5
5
|
classnames = require_runtime.__toESM(classnames, 1);
|
|
6
|
-
|
|
6
|
+
// src/components/bulkActionBar/BulkActionBar.tsx
|
|
7
7
|
/**
|
|
8
8
|
* Floating bulk-action toolbar. Renders fixed to the bottom-center of the
|
|
9
9
|
* viewport and slides in whenever `count > 0`. Use it above any list/table
|
|
@@ -62,7 +62,6 @@ var BulkActionBar = ({ count, action, secondaryActions, onCancel, cancelLabel =
|
|
|
62
62
|
})
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
|
-
//#endregion
|
|
66
65
|
exports.BulkActionBar = BulkActionBar;
|
|
67
66
|
|
|
68
67
|
//# sourceMappingURL=BulkActionBar.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Button } from "../button/Button.js";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import cx from "classnames";
|
|
4
|
-
|
|
4
|
+
// src/components/bulkActionBar/BulkActionBar.tsx
|
|
5
5
|
/**
|
|
6
6
|
* Floating bulk-action toolbar. Renders fixed to the bottom-center of the
|
|
7
7
|
* viewport and slides in whenever `count > 0`. Use it above any list/table
|
|
@@ -60,7 +60,6 @@ var BulkActionBar = ({ count, action, secondaryActions, onCancel, cancelLabel =
|
|
|
60
60
|
})
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
|
-
//#endregion
|
|
64
63
|
export { BulkActionBar };
|
|
65
64
|
|
|
66
65
|
//# sourceMappingURL=BulkActionBar.js.map
|
|
@@ -4,7 +4,7 @@ let antd = require("antd");
|
|
|
4
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
5
|
let classnames = require("classnames");
|
|
6
6
|
classnames = require_runtime.__toESM(classnames, 1);
|
|
7
|
-
|
|
7
|
+
// src/components/button/Button.tsx
|
|
8
8
|
var Button = ({ type, size, ghost, danger, shape, inline, className, ...props }) => {
|
|
9
9
|
const isXs = size === "xs";
|
|
10
10
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(antd.Button, {
|
|
@@ -18,7 +18,6 @@ var Button = ({ type, size, ghost, danger, shape, inline, className, ...props })
|
|
|
18
18
|
children: props.children
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
|
-
//#endregion
|
|
22
21
|
exports.Button = Button;
|
|
23
22
|
|
|
24
23
|
//# sourceMappingURL=Button.cjs.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Button } from "antd";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import cx from "classnames";
|
|
5
|
-
|
|
5
|
+
// src/components/button/Button.tsx
|
|
6
6
|
var Button$1 = ({ type, size, ghost, danger, shape, inline, className, ...props }) => {
|
|
7
7
|
const isXs = size === "xs";
|
|
8
8
|
return /* @__PURE__ */ jsx(Button, {
|
|
@@ -16,7 +16,6 @@ var Button$1 = ({ type, size, ghost, danger, shape, inline, className, ...props
|
|
|
16
16
|
children: props.children
|
|
17
17
|
});
|
|
18
18
|
};
|
|
19
|
-
//#endregion
|
|
20
19
|
export { Button$1 as Button };
|
|
21
20
|
|
|
22
21
|
//# sourceMappingURL=Button.js.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const require_runtime = require("../../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
3
|
+
let classnames = require("classnames");
|
|
4
|
+
classnames = require_runtime.__toESM(classnames, 1);
|
|
5
|
+
// src/components/callout/Callout.tsx
|
|
6
|
+
/**
|
|
7
|
+
* A neutral, bordered box for context that is not a status: an invitation
|
|
8
|
+
* ("Want to …? [Add]") or a short summary beside a form. Use `Alert` when the
|
|
9
|
+
* content is information, success, a warning or an error.
|
|
10
|
+
*/
|
|
11
|
+
var Callout = ({ children, title, extra, footer, className }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
12
|
+
className: (0, classnames.default)("rounded-j2 border border-solid border-j2-gray-4 bg-j2-gray-1 px-3 py-2.5 text-sm text-j2-text", className),
|
|
13
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
14
|
+
className: "flex items-center justify-between gap-4",
|
|
15
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16
|
+
className: "min-w-0 leading-snug",
|
|
17
|
+
children: [title && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18
|
+
className: "mr-1.5 font-semibold text-j2-text",
|
|
19
|
+
children: title
|
|
20
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
21
|
+
className: title ? "text-j2-text-secondary" : void 0,
|
|
22
|
+
children
|
|
23
|
+
})]
|
|
24
|
+
}), extra && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
25
|
+
className: "flex-shrink-0",
|
|
26
|
+
children: extra
|
|
27
|
+
})]
|
|
28
|
+
}), footer && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
29
|
+
className: "mt-2",
|
|
30
|
+
children: footer
|
|
31
|
+
})]
|
|
32
|
+
});
|
|
33
|
+
exports.Callout = Callout;
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=Callout.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Callout.cjs","names":["cx"],"sources":["../../../../src/components/callout/Callout.tsx"],"sourcesContent":["import type { ReactNode } from 'react'\nimport cx from 'classnames'\n\nexport type CalloutProps = {\n /** The main line. */\n children: ReactNode\n /** A short bold label before the main line. */\n title?: ReactNode\n /** Right-aligned: a button, a link or a count. */\n extra?: ReactNode\n /** Under the main line: tags, a list, a second line. */\n footer?: ReactNode\n className?: string\n}\n\n/**\n * A neutral, bordered box for context that is not a status: an invitation\n * (\"Want to …? [Add]\") or a short summary beside a form. Use `Alert` when the\n * content is information, success, a warning or an error.\n */\nexport const Callout = ({\n children,\n title,\n extra,\n footer,\n className,\n}: CalloutProps) => (\n <div\n className={cx(\n 'rounded-j2 border border-solid border-j2-gray-4 bg-j2-gray-1 px-3 py-2.5 text-sm text-j2-text',\n className\n )}\n >\n <div className=\"flex items-center justify-between gap-4\">\n <div className=\"min-w-0 leading-snug\">\n {title && (\n <span className=\"mr-1.5 font-semibold text-j2-text\">{title}</span>\n )}\n <span className={title ? 'text-j2-text-secondary' : undefined}>\n {children}\n </span>\n </div>\n {extra && <div className=\"flex-shrink-0\">{extra}</div>}\n </div>\n {footer && <div className=\"mt-2\">{footer}</div>}\n </div>\n)\n"],"mappings":";;;;;;;;;;AAoBA,IAAa,WAAW,EACtB,UACA,OACA,OACA,QACA,gBAEA,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;CACE,YAAA,GAAWA,WAAAA,QAAAA,CACT,iGACA,SACF;CAJF,UAAA,CAME,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;EAAK,WAAU;EAAf,UAAA,CACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;GAAK,WAAU;GAAf,UAAA,CACG,SACC,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;IAAM,WAAU;IAAqC,UAAA;GAAY,CAAA,GAEnE,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;IAAM,WAAW,QAAQ,2BAA2B,KAAA;IACjD;GACG,CAAA,CACH;EACJ,CAAA,GAAA,SAAS,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;GAAK,WAAU;GAAiB,UAAA;EAAW,CAAA,CAClD;CACJ,CAAA,GAAA,UAAU,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,WAAU;EAAQ,UAAA;CAAY,CAAA,CAC3C"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type CalloutProps = {
|
|
3
|
+
/** The main line. */
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/** A short bold label before the main line. */
|
|
6
|
+
title?: ReactNode;
|
|
7
|
+
/** Right-aligned: a button, a link or a count. */
|
|
8
|
+
extra?: ReactNode;
|
|
9
|
+
/** Under the main line: tags, a list, a second line. */
|
|
10
|
+
footer?: ReactNode;
|
|
11
|
+
className?: string;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* A neutral, bordered box for context that is not a status: an invitation
|
|
15
|
+
* ("Want to …? [Add]") or a short summary beside a form. Use `Alert` when the
|
|
16
|
+
* content is information, success, a warning or an error.
|
|
17
|
+
*/
|
|
18
|
+
export declare const Callout: ({ children, title, extra, footer, className, }: CalloutProps) => import('react').JSX.Element;
|