@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
|
import { Skeleton } from "antd";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/components/skeleton/Skeleton.tsx
|
|
4
4
|
var Skeleton$1 = (props) => {
|
|
5
5
|
return /* @__PURE__ */ jsx(Skeleton, { ...props });
|
|
6
6
|
};
|
|
@@ -9,7 +9,6 @@ Skeleton$1.Avatar = Skeleton.Avatar;
|
|
|
9
9
|
Skeleton$1.Input = Skeleton.Input;
|
|
10
10
|
Skeleton$1.Image = Skeleton.Image;
|
|
11
11
|
Skeleton$1.Button = Skeleton.Button;
|
|
12
|
-
//#endregion
|
|
13
12
|
export { Skeleton$1 as Skeleton };
|
|
14
13
|
|
|
15
14
|
//# sourceMappingURL=Skeleton.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_runtime = require("../../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
let antd = require("antd");
|
|
3
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
+
let classnames = require("classnames");
|
|
5
|
+
classnames = require_runtime.__toESM(classnames, 1);
|
|
6
|
+
// src/components/slider/Slider.tsx
|
|
7
|
+
/**
|
|
8
|
+
* antd's Slider with the J2 track and handle (theme tokens in `appTheme`) and
|
|
9
|
+
* the DS tooltip convention: no arrow, unless the consumer asks for one.
|
|
10
|
+
*/
|
|
11
|
+
var Slider = ({ className, tooltip, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(antd.Slider, {
|
|
12
|
+
...props,
|
|
13
|
+
className: (0, classnames.default)("j2-slider", className),
|
|
14
|
+
tooltip: {
|
|
15
|
+
arrow: false,
|
|
16
|
+
...tooltip
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
exports.Slider = Slider;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=Slider.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slider.cjs","names":["AntSlider","cx"],"sources":["../../../../src/components/slider/Slider.tsx"],"sourcesContent":["import { Slider as AntSlider } from 'antd'\nimport type { SliderRangeProps, SliderSingleProps } from 'antd/es/slider'\nimport cx from 'classnames'\n\nexport type Props = SliderSingleProps | SliderRangeProps\n\n/**\n * antd's Slider with the J2 track and handle (theme tokens in `appTheme`) and\n * the DS tooltip convention: no arrow, unless the consumer asks for one.\n */\nexport const Slider = ({ className, tooltip, ...props }: Props) => (\n <AntSlider\n {...(props as SliderSingleProps)}\n className={cx('j2-slider', className)}\n tooltip={{ arrow: false, ...tooltip }}\n />\n)\n"],"mappings":";;;;;;;;;;AAUA,IAAa,UAAU,EAAE,WAAW,SAAS,GAAG,YAC9C,iBAAA,GAAA,kBAAA,IAAA,CAACA,KAAAA,QAAD;CACE,GAAK;CACL,YAAA,GAAWC,WAAAA,QAAAA,CAAG,aAAa,SAAS;CACpC,SAAS;EAAE,OAAO;EAAO,GAAG;CAAQ;AACrC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SliderRangeProps, SliderSingleProps } from 'antd/es/slider';
|
|
2
|
+
export type Props = SliderSingleProps | SliderRangeProps;
|
|
3
|
+
/**
|
|
4
|
+
* antd's Slider with the J2 track and handle (theme tokens in `appTheme`) and
|
|
5
|
+
* the DS tooltip convention: no arrow, unless the consumer asks for one.
|
|
6
|
+
*/
|
|
7
|
+
export declare const Slider: ({ className, tooltip, ...props }: Props) => import('react').JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Slider } from "antd";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import cx from "classnames";
|
|
4
|
+
// src/components/slider/Slider.tsx
|
|
5
|
+
/**
|
|
6
|
+
* antd's Slider with the J2 track and handle (theme tokens in `appTheme`) and
|
|
7
|
+
* the DS tooltip convention: no arrow, unless the consumer asks for one.
|
|
8
|
+
*/
|
|
9
|
+
var Slider$1 = ({ className, tooltip, ...props }) => /* @__PURE__ */ jsx(Slider, {
|
|
10
|
+
...props,
|
|
11
|
+
className: cx("j2-slider", className),
|
|
12
|
+
tooltip: {
|
|
13
|
+
arrow: false,
|
|
14
|
+
...tooltip
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
export { Slider$1 as Slider };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=Slider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slider.js","names":["Slider","AntSlider"],"sources":["../../../../src/components/slider/Slider.tsx"],"sourcesContent":["import { Slider as AntSlider } from 'antd'\nimport type { SliderRangeProps, SliderSingleProps } from 'antd/es/slider'\nimport cx from 'classnames'\n\nexport type Props = SliderSingleProps | SliderRangeProps\n\n/**\n * antd's Slider with the J2 track and handle (theme tokens in `appTheme`) and\n * the DS tooltip convention: no arrow, unless the consumer asks for one.\n */\nexport const Slider = ({ className, tooltip, ...props }: Props) => (\n <AntSlider\n {...(props as SliderSingleProps)}\n className={cx('j2-slider', className)}\n tooltip={{ arrow: false, ...tooltip }}\n />\n)\n"],"mappings":";;;;;;;;AAUA,IAAaA,YAAU,EAAE,WAAW,SAAS,GAAG,YAC9C,oBAACC,QAAD;CACE,GAAK;CACL,WAAW,GAAG,aAAa,SAAS;CACpC,SAAS;EAAE,OAAO;EAAO,GAAG;CAAQ;AACrC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Slider } from './Slider.js';
|
|
@@ -4,7 +4,7 @@ let antd = require("antd");
|
|
|
4
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
5
|
let _ant_design_icons = require("@ant-design/icons");
|
|
6
6
|
_ant_design_icons = require_runtime.__toESM(_ant_design_icons, 1);
|
|
7
|
-
|
|
7
|
+
// src/components/spinner/Spinner.tsx
|
|
8
8
|
var SpinIcon = ({ height, width }) => {
|
|
9
9
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ant_design_icons.default, {
|
|
10
10
|
spin: true,
|
|
@@ -24,7 +24,6 @@ var Spinner = ({ size = 80, className }) => {
|
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
};
|
|
27
|
-
//#endregion
|
|
28
27
|
exports.Spinner = Spinner;
|
|
29
28
|
|
|
30
29
|
//# sourceMappingURL=Spinner.cjs.map
|
|
@@ -2,7 +2,7 @@ import SvgProgressCircle from "../../svgs/ProgressCircle.svg.js";
|
|
|
2
2
|
import { Spin } from "antd";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import Icon from "@ant-design/icons";
|
|
5
|
-
|
|
5
|
+
// src/components/spinner/Spinner.tsx
|
|
6
6
|
var SpinIcon = ({ height, width }) => {
|
|
7
7
|
return /* @__PURE__ */ jsx(Icon, {
|
|
8
8
|
spin: true,
|
|
@@ -22,7 +22,6 @@ var Spinner = ({ size = 80, className }) => {
|
|
|
22
22
|
})
|
|
23
23
|
});
|
|
24
24
|
};
|
|
25
|
-
//#endregion
|
|
26
25
|
export { Spinner };
|
|
27
26
|
|
|
28
27
|
//# sourceMappingURL=Spinner.js.map
|
|
@@ -4,7 +4,7 @@ const require_StatusPill_module = require("./StatusPill.module.css.cjs");
|
|
|
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/statusPill/StatusPill.tsx
|
|
8
8
|
/**
|
|
9
9
|
* A small pill reporting a state, with an optional action at the end. Sits
|
|
10
10
|
* at button height (small), so it lines up with the buttons beside it.
|
|
@@ -41,7 +41,6 @@ var StatusPill = ({ label, detail, tone = "default", onClick, menu, labelAriaLab
|
|
|
41
41
|
})]
|
|
42
42
|
});
|
|
43
43
|
};
|
|
44
|
-
//#endregion
|
|
45
44
|
exports.StatusPill = StatusPill;
|
|
46
45
|
|
|
47
46
|
//# sourceMappingURL=StatusPill.cjs.map
|
|
@@ -2,7 +2,7 @@ import { Dropdown } from "../dropdown/Dropdown.js";
|
|
|
2
2
|
import StatusPill_module_default from "./StatusPill.module.css.js";
|
|
3
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import cx from "classnames";
|
|
5
|
-
|
|
5
|
+
// src/components/statusPill/StatusPill.tsx
|
|
6
6
|
/**
|
|
7
7
|
* A small pill reporting a state, with an optional action at the end. Sits
|
|
8
8
|
* at button height (small), so it lines up with the buttons beside it.
|
|
@@ -39,7 +39,6 @@ var StatusPill = ({ label, detail, tone = "default", onClick, menu, labelAriaLab
|
|
|
39
39
|
})]
|
|
40
40
|
});
|
|
41
41
|
};
|
|
42
|
-
//#endregion
|
|
43
42
|
export { StatusPill };
|
|
44
43
|
|
|
45
44
|
//# sourceMappingURL=StatusPill.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/statusPill/StatusPill.module.css
|
|
2
2
|
var pill = "_pill_16f8w_1";
|
|
3
3
|
var warning = "_warning_16f8w_15";
|
|
4
4
|
var disabled = "_disabled_16f8w_20";
|
|
@@ -10,7 +10,6 @@ var StatusPill_module_default = {
|
|
|
10
10
|
label,
|
|
11
11
|
"static": "_static_16f8w_27"
|
|
12
12
|
};
|
|
13
|
-
//#endregion
|
|
14
13
|
exports.default = StatusPill_module_default;
|
|
15
14
|
exports.disabled = disabled;
|
|
16
15
|
exports.label = label;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/statusPill/StatusPill.module.css
|
|
2
2
|
var pill = "_pill_16f8w_1";
|
|
3
3
|
var warning = "_warning_16f8w_15";
|
|
4
4
|
var disabled = "_disabled_16f8w_20";
|
|
@@ -10,7 +10,6 @@ var StatusPill_module_default = {
|
|
|
10
10
|
label,
|
|
11
11
|
"static": "_static_16f8w_27"
|
|
12
12
|
};
|
|
13
|
-
//#endregion
|
|
14
13
|
export { StatusPill_module_default as default, disabled, label, pill, warning };
|
|
15
14
|
|
|
16
15
|
//# sourceMappingURL=StatusPill.module.css.js.map
|
|
@@ -3,7 +3,7 @@ const require_Drawer = require("../drawer/Drawer.cjs");
|
|
|
3
3
|
const require_Steps = require("../steps/Steps.cjs");
|
|
4
4
|
let react = require("react");
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
-
|
|
6
|
+
// src/components/stepDrawer/StepDrawer.tsx
|
|
7
7
|
var SlotContext = (0, react.createContext)({
|
|
8
8
|
primary: null,
|
|
9
9
|
extra: null
|
|
@@ -82,7 +82,6 @@ function StepDrawer({ open, onClose, title, labels, current, onBack, primaryActi
|
|
|
82
82
|
})
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
|
-
//#endregion
|
|
86
85
|
exports.StepDrawer = StepDrawer;
|
|
87
86
|
exports.useStepDrawerSlots = useStepDrawerSlots;
|
|
88
87
|
|
|
@@ -3,7 +3,7 @@ import { Drawer } from "../drawer/Drawer.js";
|
|
|
3
3
|
import { Steps } from "../steps/Steps.js";
|
|
4
4
|
import { createContext, useContext, useMemo, useState } from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/components/stepDrawer/StepDrawer.tsx
|
|
7
7
|
var SlotContext = createContext({
|
|
8
8
|
primary: null,
|
|
9
9
|
extra: null
|
|
@@ -82,7 +82,6 @@ function StepDrawer({ open, onClose, title, labels, current, onBack, primaryActi
|
|
|
82
82
|
})
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
|
-
//#endregion
|
|
86
85
|
export { StepDrawer, useStepDrawerSlots };
|
|
87
86
|
|
|
88
87
|
//# sourceMappingURL=StepDrawer.js.map
|
|
@@ -7,7 +7,7 @@ _phosphor_icons_react = require_runtime.__toESM(_phosphor_icons_react, 1);
|
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
let classnames = require("classnames");
|
|
9
9
|
classnames = require_runtime.__toESM(classnames, 1);
|
|
10
|
-
|
|
10
|
+
// src/components/steps/Steps.tsx
|
|
11
11
|
var Steps = ({ items, current, setCurrent, dot = false, direction, orientation, size, labelPlacement, titlePlacement, className, ...props }) => {
|
|
12
12
|
const isVertical = (orientation ?? direction) === "vertical";
|
|
13
13
|
const totalSteps = items?.length || 0;
|
|
@@ -39,7 +39,6 @@ var Steps = ({ items, current, setCurrent, dot = false, direction, orientation,
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
};
|
|
42
|
-
//#endregion
|
|
43
42
|
exports.Steps = Steps;
|
|
44
43
|
|
|
45
44
|
//# sourceMappingURL=Steps.cjs.map
|
|
@@ -4,7 +4,7 @@ import { Steps } from "antd";
|
|
|
4
4
|
import { CheckIcon } from "@phosphor-icons/react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import cx from "classnames";
|
|
7
|
-
|
|
7
|
+
// src/components/steps/Steps.tsx
|
|
8
8
|
var Steps$1 = ({ items, current, setCurrent, dot = false, direction, orientation, size, labelPlacement, titlePlacement, className, ...props }) => {
|
|
9
9
|
const isVertical = (orientation ?? direction) === "vertical";
|
|
10
10
|
const totalSteps = items?.length || 0;
|
|
@@ -36,7 +36,6 @@ var Steps$1 = ({ items, current, setCurrent, dot = false, direction, orientation
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
};
|
|
39
|
-
//#endregion
|
|
40
39
|
export { Steps$1 as Steps };
|
|
41
40
|
|
|
42
41
|
//# sourceMappingURL=Steps.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
let react = require("react");
|
|
2
|
-
|
|
2
|
+
// src/components/steps/useSteps.ts
|
|
3
3
|
var useSteps = ({ current, setCurrent, totalSteps, initialStep = 0 }) => {
|
|
4
4
|
const [internalCurrent, setInternalCurrent] = (0, react.useState)(initialStep);
|
|
5
5
|
const isControlled = current !== void 0;
|
|
@@ -31,7 +31,6 @@ var useSteps = ({ current, setCurrent, totalSteps, initialStep = 0 }) => {
|
|
|
31
31
|
canGoPrevious: currentStep > 0
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
|
-
//#endregion
|
|
35
34
|
exports.useSteps = useSteps;
|
|
36
35
|
|
|
37
36
|
//# sourceMappingURL=useSteps.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useCallback, useState } from "react";
|
|
2
|
-
|
|
2
|
+
// src/components/steps/useSteps.ts
|
|
3
3
|
var useSteps = ({ current, setCurrent, totalSteps, initialStep = 0 }) => {
|
|
4
4
|
const [internalCurrent, setInternalCurrent] = useState(initialStep);
|
|
5
5
|
const isControlled = current !== void 0;
|
|
@@ -31,7 +31,6 @@ var useSteps = ({ current, setCurrent, totalSteps, initialStep = 0 }) => {
|
|
|
31
31
|
canGoPrevious: currentStep > 0
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
|
-
//#endregion
|
|
35
34
|
export { useSteps };
|
|
36
35
|
|
|
37
36
|
//# sourceMappingURL=useSteps.js.map
|
|
@@ -2,7 +2,7 @@ const require_runtime = require("../../../_virtual/_rolldown/runtime.cjs");
|
|
|
2
2
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
3
3
|
let classnames = require("classnames");
|
|
4
4
|
classnames = require_runtime.__toESM(classnames, 1);
|
|
5
|
-
|
|
5
|
+
// src/components/swatch/Swatch.tsx
|
|
6
6
|
/**
|
|
7
7
|
* A small color square for keys, legends and inline indicators. Other span
|
|
8
8
|
* attributes land on the square, e.g. `role="img"` and an `aria-label` for
|
|
@@ -50,7 +50,6 @@ var Swatch = ({ color = "var(--j2-color-primary)", variant = "solid", tint, stro
|
|
|
50
50
|
style: box
|
|
51
51
|
});
|
|
52
52
|
};
|
|
53
|
-
//#endregion
|
|
54
53
|
exports.Swatch = Swatch;
|
|
55
54
|
|
|
56
55
|
//# sourceMappingURL=Swatch.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import cx from "classnames";
|
|
3
|
-
|
|
3
|
+
// src/components/swatch/Swatch.tsx
|
|
4
4
|
/**
|
|
5
5
|
* A small color square for keys, legends and inline indicators. Other span
|
|
6
6
|
* attributes land on the square, e.g. `role="img"` and an `aria-label` for
|
|
@@ -48,7 +48,6 @@ var Swatch = ({ color = "var(--j2-color-primary)", variant = "solid", tint, stro
|
|
|
48
48
|
style: box
|
|
49
49
|
});
|
|
50
50
|
};
|
|
51
|
-
//#endregion
|
|
52
51
|
export { Swatch };
|
|
53
52
|
|
|
54
53
|
//# sourceMappingURL=Swatch.js.map
|
|
@@ -2,7 +2,7 @@ const require_Swatch = require("../swatch/Swatch.cjs");
|
|
|
2
2
|
const require_useRender = require("../../utils/useRender.cjs");
|
|
3
3
|
const require_Tooltip = require("../tooltip/Tooltip.cjs");
|
|
4
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
-
|
|
5
|
+
// src/components/swatchStrip/SwatchStrip.tsx
|
|
6
6
|
var Item = ({ item, group, size, render }) => require_useRender.useRender({
|
|
7
7
|
render,
|
|
8
8
|
state: {
|
|
@@ -83,7 +83,6 @@ var SwatchStrip = ({ groups, max = 5, size = 12, groupGap = 17, rowGap = 4, rend
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
};
|
|
86
|
-
//#endregion
|
|
87
86
|
exports.SwatchStrip = SwatchStrip;
|
|
88
87
|
|
|
89
88
|
//# sourceMappingURL=SwatchStrip.cjs.map
|
|
@@ -2,7 +2,7 @@ import { Swatch } from "../swatch/Swatch.js";
|
|
|
2
2
|
import { mergeProps, useRender } from "../../utils/useRender.js";
|
|
3
3
|
import { Tooltip } from "../tooltip/Tooltip.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/components/swatchStrip/SwatchStrip.tsx
|
|
6
6
|
var Item = ({ item, group, size, render }) => useRender({
|
|
7
7
|
render,
|
|
8
8
|
state: {
|
|
@@ -83,7 +83,6 @@ var SwatchStrip = ({ groups, max = 5, size = 12, groupGap = 17, rowGap = 4, rend
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
};
|
|
86
|
-
//#endregion
|
|
87
86
|
export { SwatchStrip };
|
|
88
87
|
|
|
89
88
|
//# sourceMappingURL=SwatchStrip.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/switch/Switch.tsx
|
|
8
8
|
var isText = (node) => typeof node === "string" || typeof node === "number";
|
|
9
9
|
var Switch = ({ small, size, className, loading = false, disabled = false, checked, onChange, ...props }) => {
|
|
10
10
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(antd.Switch, {
|
|
@@ -17,7 +17,6 @@ var Switch = ({ small, size, className, loading = false, disabled = false, check
|
|
|
17
17
|
className: (0, classnames.default)("j2-switch", (isText(props.checkedChildren) || isText(props.unCheckedChildren)) && "j2-switch-labelled", className)
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
|
-
//#endregion
|
|
21
20
|
exports.Switch = Switch;
|
|
22
21
|
|
|
23
22
|
//# sourceMappingURL=Switch.cjs.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Switch } from "antd";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import cx from "classnames";
|
|
5
|
-
|
|
5
|
+
// src/components/switch/Switch.tsx
|
|
6
6
|
var isText = (node) => typeof node === "string" || typeof node === "number";
|
|
7
7
|
var Switch$1 = ({ small, size, className, loading = false, disabled = false, checked, onChange, ...props }) => {
|
|
8
8
|
return /* @__PURE__ */ jsx(Switch, {
|
|
@@ -15,7 +15,6 @@ var Switch$1 = ({ small, size, className, loading = false, disabled = false, che
|
|
|
15
15
|
className: cx("j2-switch", (isText(props.checkedChildren) || isText(props.unCheckedChildren)) && "j2-switch-labelled", className)
|
|
16
16
|
});
|
|
17
17
|
};
|
|
18
|
-
//#endregion
|
|
19
18
|
export { Switch$1 as Switch };
|
|
20
19
|
|
|
21
20
|
//# sourceMappingURL=Switch.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_runtime = require("../../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
-
const require_Pagination = require("../pagination/Pagination.cjs");
|
|
3
2
|
const require_Spinner = require("../spinner/Spinner.cjs");
|
|
3
|
+
const require_Pagination = require("../pagination/Pagination.cjs");
|
|
4
4
|
const require_Table_module = require("./Table.module.css.cjs");
|
|
5
5
|
let antd = require("antd");
|
|
6
6
|
let _phosphor_icons_react = require("@phosphor-icons/react");
|
|
@@ -8,7 +8,7 @@ _phosphor_icons_react = require_runtime.__toESM(_phosphor_icons_react, 1);
|
|
|
8
8
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
9
|
let classnames = require("classnames");
|
|
10
10
|
classnames = require_runtime.__toESM(classnames, 1);
|
|
11
|
-
|
|
11
|
+
// src/components/table/Table.tsx
|
|
12
12
|
var defaultSortIcon = ({ sortOrder }) => {
|
|
13
13
|
if (sortOrder == "ascend") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_phosphor_icons_react.CaretUpIcon, {});
|
|
14
14
|
if (sortOrder == "descend") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_phosphor_icons_react.CaretDownIcon, {});
|
|
@@ -105,7 +105,6 @@ var TableColumn = (props) => {
|
|
|
105
105
|
TableColumn.displayName = "Table.Column";
|
|
106
106
|
Table.Column = TableColumn;
|
|
107
107
|
Table.Summary = antd.Table.Summary;
|
|
108
|
-
//#endregion
|
|
109
108
|
exports.Table = Table;
|
|
110
109
|
exports.defaultSortIcon = defaultSortIcon;
|
|
111
110
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { withDesignSystemPaginationOverrides } from "../pagination/Pagination.js";
|
|
2
1
|
import { Spinner } from "../spinner/Spinner.js";
|
|
2
|
+
import { withDesignSystemPaginationOverrides } from "../pagination/Pagination.js";
|
|
3
3
|
import Table_module_default from "./Table.module.css.js";
|
|
4
4
|
import { Table, Tooltip } from "antd";
|
|
5
5
|
import { CaretDownIcon, CaretUpDownIcon, CaretUpIcon } from "@phosphor-icons/react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import cx from "classnames";
|
|
8
|
-
|
|
8
|
+
// src/components/table/Table.tsx
|
|
9
9
|
var defaultSortIcon = ({ sortOrder }) => {
|
|
10
10
|
if (sortOrder == "ascend") return /* @__PURE__ */ jsx(CaretUpIcon, {});
|
|
11
11
|
if (sortOrder == "descend") return /* @__PURE__ */ jsx(CaretDownIcon, {});
|
|
@@ -102,7 +102,6 @@ var TableColumn = (props) => {
|
|
|
102
102
|
TableColumn.displayName = "Table.Column";
|
|
103
103
|
Table$1.Column = TableColumn;
|
|
104
104
|
Table$1.Summary = Table.Summary;
|
|
105
|
-
//#endregion
|
|
106
105
|
export { Table$1 as Table, defaultSortIcon };
|
|
107
106
|
|
|
108
107
|
//# sourceMappingURL=Table.js.map
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/table/Table.module.css
|
|
2
2
|
var bordered = "_bordered_evha0_4";
|
|
3
3
|
var alternatingRows = "_alternatingRows_evha0_55";
|
|
4
4
|
var Table_module_default = {
|
|
5
5
|
bordered,
|
|
6
6
|
alternatingRows
|
|
7
7
|
};
|
|
8
|
-
//#endregion
|
|
9
8
|
exports.alternatingRows = alternatingRows;
|
|
10
9
|
exports.bordered = bordered;
|
|
11
10
|
exports.default = Table_module_default;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/table/Table.module.css
|
|
2
2
|
var bordered = "_bordered_evha0_4";
|
|
3
3
|
var alternatingRows = "_alternatingRows_evha0_55";
|
|
4
4
|
var Table_module_default = {
|
|
5
5
|
bordered,
|
|
6
6
|
alternatingRows
|
|
7
7
|
};
|
|
8
|
-
//#endregion
|
|
9
8
|
export { alternatingRows, bordered, Table_module_default as default };
|
|
10
9
|
|
|
11
10
|
//# sourceMappingURL=Table.module.css.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/tabs/Tabs.tsx
|
|
8
8
|
var Tabs = ({ flush, justified, className, ...props }) => {
|
|
9
9
|
const destroyOnHidden = props.destroyOnHidden ?? true;
|
|
10
10
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(antd.Tabs, {
|
|
@@ -13,7 +13,6 @@ var Tabs = ({ flush, justified, className, ...props }) => {
|
|
|
13
13
|
destroyOnHidden
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
|
-
//#endregion
|
|
17
16
|
exports.Tabs = Tabs;
|
|
18
17
|
|
|
19
18
|
//# sourceMappingURL=Tabs.cjs.map
|
|
@@ -2,7 +2,7 @@ import Tabs_module_default from "./Tabs.module.css.js";
|
|
|
2
2
|
import { Tabs } from "antd";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import cx from "classnames";
|
|
5
|
-
|
|
5
|
+
// src/components/tabs/Tabs.tsx
|
|
6
6
|
var Tabs$1 = ({ flush, justified, className, ...props }) => {
|
|
7
7
|
const destroyOnHidden = props.destroyOnHidden ?? true;
|
|
8
8
|
return /* @__PURE__ */ jsx(Tabs, {
|
|
@@ -11,7 +11,6 @@ var Tabs$1 = ({ flush, justified, className, ...props }) => {
|
|
|
11
11
|
destroyOnHidden
|
|
12
12
|
});
|
|
13
13
|
};
|
|
14
|
-
//#endregion
|
|
15
14
|
export { Tabs$1 as Tabs };
|
|
16
15
|
|
|
17
16
|
//# sourceMappingURL=Tabs.js.map
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/tabs/Tabs.module.css
|
|
2
2
|
var flush = "_flush_1bifh_2";
|
|
3
3
|
var justified = "_justified_1bifh_27";
|
|
4
4
|
var Tabs_module_default = {
|
|
5
5
|
flush,
|
|
6
6
|
justified
|
|
7
7
|
};
|
|
8
|
-
//#endregion
|
|
9
8
|
exports.default = Tabs_module_default;
|
|
10
9
|
exports.flush = flush;
|
|
11
10
|
exports.justified = justified;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/tabs/Tabs.module.css
|
|
2
2
|
var flush = "_flush_1bifh_2";
|
|
3
3
|
var justified = "_justified_1bifh_27";
|
|
4
4
|
var Tabs_module_default = {
|
|
5
5
|
flush,
|
|
6
6
|
justified
|
|
7
7
|
};
|
|
8
|
-
//#endregion
|
|
9
8
|
export { Tabs_module_default as default, flush, justified };
|
|
10
9
|
|
|
11
10
|
//# sourceMappingURL=Tabs.module.css.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/tag/Tag.tsx
|
|
13
13
|
var colorToIcon = {
|
|
14
14
|
error: _phosphor_icons_react.XCircleIcon,
|
|
15
15
|
success: _phosphor_icons_react.CheckCircleIcon,
|
|
@@ -60,7 +60,6 @@ var Tag = ({ status, showIcon = false, icon, size = "default", bordered, variant
|
|
|
60
60
|
className: (0, classnames.default)("j2-tag", props.className, !isSolid && statusToClassName[status], isSolid && "j2-tag-solid", size === "small" && "!px-1 !py-0 !h-auto !text-j2-xs !rounded-j2-sm")
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
|
-
//#endregion
|
|
64
63
|
exports.Tag = Tag;
|
|
65
64
|
|
|
66
65
|
//# sourceMappingURL=Tag.cjs.map
|
|
@@ -4,7 +4,7 @@ import { Tag } from "antd";
|
|
|
4
4
|
import { ArrowsClockwiseIcon, CheckCircleIcon, GearIcon, WarningCircleIcon, XCircleIcon } from "@phosphor-icons/react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import cx from "classnames";
|
|
7
|
-
|
|
7
|
+
// src/components/tag/Tag.tsx
|
|
8
8
|
var colorToIcon = {
|
|
9
9
|
error: XCircleIcon,
|
|
10
10
|
success: CheckCircleIcon,
|
|
@@ -55,7 +55,6 @@ var Tag$1 = ({ status, showIcon = false, icon, size = "default", bordered, varia
|
|
|
55
55
|
className: cx("j2-tag", props.className, !isSolid && statusToClassName[status], isSolid && "j2-tag-solid", size === "small" && "!px-1 !py-0 !h-auto !text-j2-xs !rounded-j2-sm")
|
|
56
56
|
});
|
|
57
57
|
};
|
|
58
|
-
//#endregion
|
|
59
58
|
export { Tag$1 as Tag };
|
|
60
59
|
|
|
61
60
|
//# sourceMappingURL=Tag.js.map
|
|
@@ -5,7 +5,7 @@ _phosphor_icons_react = require_runtime.__toESM(_phosphor_icons_react, 1);
|
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
6
|
let classnames = require("classnames");
|
|
7
7
|
classnames = require_runtime.__toESM(classnames, 1);
|
|
8
|
-
|
|
8
|
+
// src/components/thresholdBar/ThresholdBar.tsx
|
|
9
9
|
var clamp = (value) => Math.max(0, Math.min(100, value));
|
|
10
10
|
var CARET = 14;
|
|
11
11
|
/** Keep a label inside the bar's width near either end. */
|
|
@@ -122,7 +122,6 @@ var ThresholdBar = ({ value, projected, color = "var(--j2-color-primary)", strip
|
|
|
122
122
|
]
|
|
123
123
|
});
|
|
124
124
|
};
|
|
125
|
-
//#endregion
|
|
126
125
|
exports.ThresholdBar = ThresholdBar;
|
|
127
126
|
|
|
128
127
|
//# sourceMappingURL=ThresholdBar.cjs.map
|
|
@@ -2,7 +2,7 @@ import ThresholdBar_module_default from "./ThresholdBar.module.css.js";
|
|
|
2
2
|
import { CaretDownIcon } from "@phosphor-icons/react";
|
|
3
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import cx from "classnames";
|
|
5
|
-
|
|
5
|
+
// src/components/thresholdBar/ThresholdBar.tsx
|
|
6
6
|
var clamp = (value) => Math.max(0, Math.min(100, value));
|
|
7
7
|
var CARET = 14;
|
|
8
8
|
/** Keep a label inside the bar's width near either end. */
|
|
@@ -119,7 +119,6 @@ var ThresholdBar = ({ value, projected, color = "var(--j2-color-primary)", strip
|
|
|
119
119
|
]
|
|
120
120
|
});
|
|
121
121
|
};
|
|
122
|
-
//#endregion
|
|
123
122
|
export { ThresholdBar };
|
|
124
123
|
|
|
125
124
|
//# sourceMappingURL=ThresholdBar.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/thresholdBar/ThresholdBar.module.css
|
|
2
2
|
var move = "_move_14qe5_1";
|
|
3
3
|
var stripes = "_stripes_14qe5_10";
|
|
4
4
|
var stripeShimmer = "_stripeShimmer_14qe5_1";
|
|
@@ -9,7 +9,6 @@ var ThresholdBar_module_default = {
|
|
|
9
9
|
stripeShimmer,
|
|
10
10
|
stripePulse
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
12
|
exports.default = ThresholdBar_module_default;
|
|
14
13
|
exports.move = move;
|
|
15
14
|
exports.stripePulse = stripePulse;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/thresholdBar/ThresholdBar.module.css
|
|
2
2
|
var move = "_move_14qe5_1";
|
|
3
3
|
var stripes = "_stripes_14qe5_10";
|
|
4
4
|
var stripeShimmer = "_stripeShimmer_14qe5_1";
|
|
@@ -9,7 +9,6 @@ var ThresholdBar_module_default = {
|
|
|
9
9
|
stripeShimmer,
|
|
10
10
|
stripePulse
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
12
|
export { ThresholdBar_module_default as default, move, stripePulse, stripeShimmer, stripes };
|
|
14
13
|
|
|
15
14
|
//# sourceMappingURL=ThresholdBar.module.css.js.map
|