@cashub/ui 0.48.14 → 0.48.16
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/Tab/TabList.js +26 -38
- package/Tab/TabPanel.js +20 -13
- package/Tab/TabTab.js +25 -37
- package/Tab/index.js +6 -3
- package/Tab/subComponent/TabListV2.js +18 -11
- package/Tab/subComponent/TabPanelV2.js +20 -16
- package/Tab/subComponent/TabTabV2.js +21 -33
- package/VerticalTab/TabList.js +18 -13
- package/VerticalTab/TabPanel.js +20 -16
- package/VerticalTab/TabTab.js +21 -40
- package/VerticalTab/VerticalTab.js +4 -8
- package/alert/Alert.js +5 -12
- package/animate/Collapse.js +7 -5
- package/animate/Loader.js +7 -18
- package/animate/PulseRing.js +5 -18
- package/animate/Spinner.js +3 -8
- package/backdrop/BaseBackdrop.js +3 -9
- package/backdrop/LoadingBackdrop.js +3 -7
- package/backdrop/ModalBackdrop.js +3 -5
- package/badge/Badge.js +3 -15
- package/badge/BadgeDot.js +3 -8
- package/badge/BadgeFill.js +6 -24
- package/badge/BadgeWithText.js +3 -13
- package/billing/BarChart.js +1 -1
- package/breadcrumb/Breadcrumb.js +3 -42
- package/button/Button.js +20 -88
- package/button/ButtonGroup.js +9 -33
- package/button/IconButton.js +10 -37
- package/button/ScrollToTopButton.js +4 -12
- package/callout/Callout.js +8 -37
- package/chart/BarChart.js +21 -13
- package/chart/DoughnutChart.js +20 -34
- package/chart/LineChart.js +21 -13
- package/chart/SingleBarChart.js +5 -22
- package/chart/utils/centerTextPlugin.js +2 -2
- package/chart/utils/customTooltip.js +8 -8
- package/chart/utils/htmlLegendPlugin.js +1 -1
- package/chart/utils/yAxisTopTitlePlugin.js +1 -1
- package/container/FlexContainer.js +7 -15
- package/cropper/Cropper.js +2 -1
- package/datetimePicker/DatePicker.js +26 -80
- package/datetimePicker/DatePickerV2.js +36 -95
- package/datetimePicker/DatetimePicker.js +11 -174
- package/datetimePicker/DatetimePickerV2.js +33 -87
- package/datetimePicker/DatetimePickerV3.js +11 -174
- package/datetimePicker/TimeInput.js +10 -35
- package/datetimePicker/TimePicker.js +22 -77
- package/datetimePicker/TimePickerStyle.js +3 -53
- package/datetimePicker/TimePickerV2.js +21 -54
- package/datetimePicker/accordion/Month.js +16 -93
- package/datetimePicker/accordion/Year.js +18 -96
- package/datetimePicker/hooks/useChangeNumber.js +6 -3
- package/datetimePicker/hooks/useDecrease.js +6 -3
- package/datetimePicker/hooks/useIncrease.js +6 -3
- package/datetimePicker/subComponent/Accordion.js +20 -101
- package/descriptionList/DescriptionDetail.js +4 -15
- package/descriptionList/DescriptionList.js +4 -12
- package/descriptionList/DescriptionTerm.js +3 -5
- package/divider/Divider.js +6 -15
- package/dropdown/DropdownButtonOption.js +6 -22
- package/dropdown/DropdownContent.js +15 -29
- package/dropdown/DropdownDivOption.js +3 -17
- package/dropdown/DropdownLinkOption.js +3 -14
- package/dropdown/DropdownToggle.js +15 -7
- package/dropzone/FileDropzone.js +22 -121
- package/dropzone/ImageDropzone.js +14 -83
- package/dropzone/subComponent/Message.js +4 -11
- package/figure/IconFigure.js +7 -16
- package/figure/ImageFigure.js +6 -19
- package/file/HiddenFileInput.js +3 -3
- package/form/Checkbox.js +13 -74
- package/form/Fieldset.js +3 -9
- package/form/FormItem.js +5 -10
- package/form/Input.js +7 -40
- package/form/Label.js +10 -34
- package/form/MutedText.js +4 -8
- package/form/PasswordInput.js +13 -20
- package/form/RadioButton.js +8 -55
- package/form/SearchSelect.js +12 -64
- package/form/Searchbox.js +19 -45
- package/form/Slider.js +10 -28
- package/form/SwitchButton.js +14 -48
- package/form/Textarea.js +3 -30
- package/form/TreeView.js +6 -13
- package/grid/Column.js +10 -23
- package/grid/Grid.js +6 -14
- package/heading/Heading1.js +4 -8
- package/heading/Heading2.js +5 -11
- package/heading/Heading3.js +8 -20
- package/iconbox/ApplicationIconBox.js +12 -48
- package/iconbox/IconBox.js +7 -31
- package/iconbox/IconBoxV2.js +8 -33
- package/iconbox/subComponent/IconBoxFigure.js +9 -17
- package/iconbox/subComponent/IconBoxImage.js +8 -21
- package/image/ImageFluid.js +3 -7
- package/image/UploadImage.js +18 -66
- package/jsoneditor/JsonEditor.js +15 -121
- package/keyframe/Pulse.js +3 -13
- package/keyframe/Spin.js +3 -5
- package/layout/Aside.js +5 -30
- package/layout/Backdrop.js +4 -8
- package/layout/Container.js +5 -21
- package/layout/Footer.js +7 -26
- package/link/LinkSpan.js +19 -37
- package/map/GoogleMap.js +7 -3
- package/map/GoogleReverseGeolocation.js +3 -6
- package/map/LeafletMap.js +2 -2
- package/map/subComponent/GoogleMapContainer.js +4 -16
- package/map/subComponent/GoogleMapPopup.js +10 -7
- package/map/subComponent/GoogleMapWrapper.js +15 -8
- package/map/subComponent/LeafletDrawControl.js +7 -9
- package/map/subComponent/LeafletMapContainer.js +4 -159
- package/modal/StateModal.js +62 -69
- package/modal/TitleModal.js +29 -70
- package/package.json +1 -1
- package/page/Disclaimer.js +3 -119
- package/paginate/Paginate.js +12 -54
- package/popover/Popover.js +25 -30
- package/qrcode/QRCode.js +6 -20
- package/qrcode/QRCodeContainter.js +4 -12
- package/ribbon/Ribbon.js +4 -29
- package/section/Section.js +20 -68
- package/section/SectionBody.js +8 -29
- package/section/SectionHeader.js +11 -36
- package/section/SectionToolbar.js +3 -9
- package/section/SectionToolbarItem.js +3 -8
- package/select/InputSelect.js +23 -16
- package/select/Select.js +87 -128
- package/select/subComponent/Checkbox.js +5 -24
- package/select/subComponent/Footer.js +3 -4
- package/select/subComponent/ListBox.js +5 -12
- package/select/subComponent/Option.js +7 -27
- package/select/subComponent/OptionGroup.js +3 -13
- package/select/subComponent/Options.js +5 -18
- package/select/subComponent/SearchBox.js +12 -34
- package/select/subComponent/SelectedMultipleTags.js +3 -21
- package/select/subComponent/SelectedMultipleText.js +4 -20
- package/select/subComponent/SelectedSingle.js +3 -7
- package/styles/GlobalStyle.js +45 -156
- package/styles/mixin/backgroundColor.js +8 -16
- package/styles/mixin/borderColor.js +7 -13
- package/styles/mixin/color.js +7 -13
- package/styles/mixin/colorOnBackground.js +7 -13
- package/styles/mixin/inputPlaceholder.js +3 -20
- package/styles/mixin/media.js +3 -5
- package/styles/mixin/rounded.js +6 -10
- package/styles/mixin/scrollbar.js +3 -13
- package/styles/theme/dark.theme.js +14 -15
- package/styles/theme/light.theme.js +14 -15
- package/styles/theme/white.theme.js +14 -15
- package/table/GridTable.js +33 -71
- package/table/ImageBox.js +5 -15
- package/table/InfiniteGridTable.js +46 -92
- package/table/PermissionTable.js +10 -32
- package/table/SimpleGridTable.js +17 -52
- package/table/Table.js +48 -198
- package/table/__mock__/columns.js +1 -1
- package/table/subComponent/BaseTableHeadCell.js +8 -37
- package/table/subComponent/GridTableFooter.js +4 -10
- package/table/subComponent/GridTableHeadCell.js +4 -6
- package/table/subComponent/Resizer.js +4 -19
- package/table/subComponent/TableFooter.js +6 -15
- package/table/subComponent/TableFooterInfo.js +3 -4
- package/table/subComponent/TableFooterPager.js +6 -19
- package/table/subComponent/TableHeadCell.js +3 -9
- package/table/subComponent/TableSort.js +7 -17
- package/tagify/TagifyStyle.js +3 -49
- package/tagify/Tags.js +21 -37
- package/tagify/templates/getCreateButtonTemplate.js +2 -5
- package/text/Paragraph.js +12 -50
- package/timeline/Timeline.js +17 -94
- package/toast/CustomToastContainer.js +3 -35
- package/toast/MessageContainer.js +4 -22
- package/tooltip/Tooltip.js +19 -47
- package/treeView/TreeViewV2.js +1 -1
- package/treeView/TreeflexStyle.js +3 -38
- package/wizard/Wizard.js +6 -115
package/VerticalTab/TabTab.js
CHANGED
|
@@ -8,13 +8,23 @@ var _react = require("react");
|
|
|
8
8
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
9
|
var _TabContext = _interopRequireDefault(require("./subComponent/TabContext"));
|
|
10
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
var _templateObject;
|
|
12
|
+
const _excluded = ["children", "name"];
|
|
11
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
15
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
16
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
18
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
19
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
21
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
12
22
|
const TabTab = _ref => {
|
|
13
23
|
let {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
24
|
+
children,
|
|
25
|
+
name
|
|
26
|
+
} = _ref,
|
|
27
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
18
28
|
const {
|
|
19
29
|
selected,
|
|
20
30
|
onChange
|
|
@@ -24,47 +34,18 @@ const TabTab = _ref => {
|
|
|
24
34
|
onChange(name);
|
|
25
35
|
}
|
|
26
36
|
}, [name, selected, onChange]);
|
|
27
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Tab, {
|
|
37
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Tab, _objectSpread(_objectSpread({
|
|
28
38
|
role: "tab",
|
|
29
39
|
onClick: handleClick,
|
|
30
|
-
active: selected === name
|
|
31
|
-
|
|
40
|
+
active: selected === name
|
|
41
|
+
}, props), {}, {
|
|
32
42
|
children: children
|
|
33
|
-
});
|
|
43
|
+
}));
|
|
34
44
|
};
|
|
35
|
-
const Tab = _styledComponents.default.button
|
|
36
|
-
width: 100%;
|
|
37
|
-
padding: 12px var(--spacing-s);
|
|
38
|
-
border: none;
|
|
39
|
-
background: transparent;
|
|
40
|
-
text-align: left;
|
|
41
|
-
color: var(--font-on-background);
|
|
42
|
-
transition: 0.3s;
|
|
43
|
-
cursor: pointer;
|
|
44
|
-
|
|
45
|
-
&:hover {
|
|
46
|
-
background: var(--color-active);
|
|
47
|
-
color: var(--color-primary);
|
|
48
|
-
font-weight: var(--font-bold);
|
|
49
|
-
|
|
50
|
-
span {
|
|
51
|
-
color: var(--color-primary);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
${_ref2 => {
|
|
45
|
+
const Tab = _styledComponents.default.button(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 100%;\n padding: 12px var(--spacing-s);\n border: none;\n background: transparent;\n text-align: left;\n color: var(--font-on-background);\n transition: 0.3s;\n cursor: pointer;\n\n &:hover {\n background: var(--color-active);\n color: var(--color-primary);\n font-weight: var(--font-bold);\n\n span {\n color: var(--color-primary);\n }\n }\n\n ", "\n"])), _ref2 => {
|
|
56
46
|
let {
|
|
57
47
|
active
|
|
58
48
|
} = _ref2;
|
|
59
|
-
return active &&
|
|
60
|
-
|
|
61
|
-
color: var(--color-primary);
|
|
62
|
-
font-weight: var(--font-bold);
|
|
63
|
-
|
|
64
|
-
span {
|
|
65
|
-
color: var(--color-primary);
|
|
66
|
-
}
|
|
67
|
-
`;
|
|
68
|
-
}}
|
|
69
|
-
`;
|
|
49
|
+
return active && "\n background: var(--color-active);\n color: var(--color-primary);\n font-weight: var(--font-bold);\n\n span {\n color: var(--color-primary);\n }\n ";
|
|
50
|
+
});
|
|
70
51
|
var _default = exports.default = TabTab;
|
|
@@ -7,7 +7,9 @@ exports.default = void 0;
|
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _TabContext = _interopRequireDefault(require("./subComponent/TabContext"));
|
|
9
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
+
var _templateObject;
|
|
10
11
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
11
13
|
const VerticalTab = _ref => {
|
|
12
14
|
let {
|
|
13
15
|
children,
|
|
@@ -26,16 +28,10 @@ const VerticalTab = _ref => {
|
|
|
26
28
|
})
|
|
27
29
|
});
|
|
28
30
|
};
|
|
29
|
-
const Container = _styledComponents.default.div
|
|
30
|
-
display: flex;
|
|
31
|
-
height: ${_ref2 => {
|
|
31
|
+
const Container = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n height: ", ";\n border-radius: var(--border-radius-s);\n background: var(--color-background3);\n overflow: hidden;\n"])), _ref2 => {
|
|
32
32
|
let {
|
|
33
33
|
height
|
|
34
34
|
} = _ref2;
|
|
35
35
|
return height ? height : '100vh';
|
|
36
|
-
}
|
|
37
|
-
border-radius: var(--border-radius-s);
|
|
38
|
-
background: var(--color-background3);
|
|
39
|
-
overflow: hidden;
|
|
40
|
-
`;
|
|
36
|
+
});
|
|
41
37
|
var _default = exports.default = VerticalTab;
|
package/alert/Alert.js
CHANGED
|
@@ -5,25 +5,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
var _templateObject;
|
|
8
9
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
-
|
|
10
|
-
background: var(--color-background1)
|
|
11
|
-
border-radius: var(--border-radius);
|
|
12
|
-
color: var(--font-on-background);
|
|
13
|
-
padding: var(--spacing);
|
|
14
|
-
|
|
15
|
-
${_ref => {
|
|
10
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
11
|
+
const Alert = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n background: var(--color-background1);\n border-radius: var(--border-radius);\n color: var(--font-on-background);\n padding: var(--spacing);\n\n ", "\n\n ", "\n"])), _ref => {
|
|
16
12
|
let {
|
|
17
13
|
backgroundReverse
|
|
18
14
|
} = _ref;
|
|
19
15
|
return backgroundReverse && 'background: var(--color-background2);';
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
${_ref2 => {
|
|
16
|
+
}, _ref2 => {
|
|
23
17
|
let {
|
|
24
18
|
marginBottom
|
|
25
19
|
} = _ref2;
|
|
26
20
|
return marginBottom && 'margin-bottom: var(--spacing);';
|
|
27
|
-
}
|
|
28
|
-
`;
|
|
21
|
+
});
|
|
29
22
|
var _default = exports.default = Alert;
|
package/animate/Collapse.js
CHANGED
|
@@ -7,6 +7,11 @@ exports.default = void 0;
|
|
|
7
7
|
var _react = require("react");
|
|
8
8
|
var _reactTransitionGroup = require("react-transition-group");
|
|
9
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
13
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
14
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
15
|
const Collapse = _ref => {
|
|
11
16
|
let {
|
|
12
17
|
in: inProp,
|
|
@@ -23,7 +28,7 @@ const Collapse = _ref => {
|
|
|
23
28
|
});
|
|
24
29
|
const defaultStyle = (0, _react.useMemo)(() => {
|
|
25
30
|
const style = {
|
|
26
|
-
transition:
|
|
31
|
+
transition: "height ".concat(duration, "ms ease-in-out"),
|
|
27
32
|
height: state.height,
|
|
28
33
|
overflow: 'hidden'
|
|
29
34
|
};
|
|
@@ -58,10 +63,7 @@ const Collapse = _ref => {
|
|
|
58
63
|
onExit: onExit,
|
|
59
64
|
onExited: onExited,
|
|
60
65
|
children: state => /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
61
|
-
style: {
|
|
62
|
-
...defaultStyle,
|
|
63
|
-
...transitionStyles[state]
|
|
64
|
-
},
|
|
66
|
+
style: _objectSpread(_objectSpread({}, defaultStyle), transitionStyles[state]),
|
|
65
67
|
children: /*#__PURE__*/(0, _react.cloneElement)(children, {
|
|
66
68
|
ref: childRef
|
|
67
69
|
})
|
package/animate/Loader.js
CHANGED
|
@@ -8,7 +8,9 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
8
8
|
var _LoadingBackdrop = _interopRequireDefault(require("../backdrop/LoadingBackdrop"));
|
|
9
9
|
var _Spinner = _interopRequireDefault(require("./Spinner"));
|
|
10
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
var _templateObject, _templateObject2;
|
|
11
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
12
14
|
const Loader = _ref => {
|
|
13
15
|
let {
|
|
14
16
|
transparent,
|
|
@@ -25,34 +27,21 @@ const Loader = _ref => {
|
|
|
25
27
|
})]
|
|
26
28
|
});
|
|
27
29
|
};
|
|
28
|
-
const Wrapper = (0, _styledComponents.default)(_LoadingBackdrop.default)
|
|
29
|
-
z-index: 200;
|
|
30
|
-
|
|
31
|
-
${_ref2 => {
|
|
30
|
+
const Wrapper = (0, _styledComponents.default)(_LoadingBackdrop.default)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n z-index: 200;\n\n ", "\n\n ", "\n\n ", "\n"])), _ref2 => {
|
|
32
31
|
let {
|
|
33
32
|
transparent
|
|
34
33
|
} = _ref2;
|
|
35
34
|
return transparent && 'background: transparent;';
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
${_ref3 => {
|
|
35
|
+
}, _ref3 => {
|
|
39
36
|
let {
|
|
40
37
|
backgroundFill
|
|
41
38
|
} = _ref3;
|
|
42
39
|
return backgroundFill && 'background: var(--color-background1);';
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
${_ref4 => {
|
|
40
|
+
}, _ref4 => {
|
|
46
41
|
let {
|
|
47
42
|
$loading
|
|
48
43
|
} = _ref4;
|
|
49
44
|
return !$loading && 'display: none;';
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
const Text = _styledComponents.default.p`
|
|
53
|
-
white-space: pre-line;
|
|
54
|
-
margin: var(--spacing) 0;
|
|
55
|
-
font-size: var(--font-h2);
|
|
56
|
-
text-align: center;
|
|
57
|
-
`;
|
|
45
|
+
});
|
|
46
|
+
const Text = _styledComponents.default.p(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n white-space: pre-line;\n margin: var(--spacing) 0;\n font-size: var(--font-h2);\n text-align: center;\n"])));
|
|
58
47
|
var _default = exports.default = Loader;
|
package/animate/PulseRing.js
CHANGED
|
@@ -6,30 +6,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
8
8
|
var _Pulse = _interopRequireDefault(require("../keyframe/Pulse"));
|
|
9
|
+
var _templateObject, _templateObject2;
|
|
9
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
11
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
11
12
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
12
14
|
const PulseRing = _styledComponents.default.span.attrs(() => ({
|
|
13
15
|
role: 'presentation'
|
|
14
|
-
}))
|
|
15
|
-
display: block;
|
|
16
|
-
border-radius: var(--border-radius-round);
|
|
17
|
-
height: 40px;
|
|
18
|
-
width: 40px;
|
|
19
|
-
position: absolute;
|
|
20
|
-
top: 0;
|
|
21
|
-
z-index: -1;
|
|
22
|
-
opacity: 0;
|
|
23
|
-
border: 4px solid var(--color-primary);
|
|
24
|
-
|
|
25
|
-
${_ref => {
|
|
16
|
+
}))(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: block;\n border-radius: var(--border-radius-round);\n height: 40px;\n width: 40px;\n position: absolute;\n top: 0;\n z-index: -1;\n opacity: 0;\n border: 4px solid var(--color-primary);\n\n ", "\n"])), _ref => {
|
|
26
17
|
let {
|
|
27
18
|
play
|
|
28
19
|
} = _ref;
|
|
29
|
-
return play && (0, _styledComponents.css)
|
|
30
|
-
|
|
31
|
-
animation-iteration-count: infinite;
|
|
32
|
-
`;
|
|
33
|
-
}}
|
|
34
|
-
`;
|
|
20
|
+
return play && (0, _styledComponents.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n animation: ", " 3.5s ease-out;\n animation-iteration-count: infinite;\n "])), _Pulse.default);
|
|
21
|
+
});
|
|
35
22
|
var _default = exports.default = PulseRing;
|
package/animate/Spinner.js
CHANGED
|
@@ -6,13 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _Spin = _interopRequireDefault(require("../keyframe/Spin"));
|
|
9
|
+
var _templateObject;
|
|
9
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
-
|
|
11
|
-
width: 40px;
|
|
12
|
-
height: 40px;
|
|
13
|
-
border-radius: 50%;
|
|
14
|
-
border: 0.3rem solid var(--color-background2);
|
|
15
|
-
border-top-color: var(--color-primary);
|
|
16
|
-
animation: 1s ${_Spin.default} infinite linear;
|
|
17
|
-
`;
|
|
11
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
12
|
+
const Spinner = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 40px;\n height: 40px;\n border-radius: 50%;\n border: 0.3rem solid var(--color-background2);\n border-top-color: var(--color-primary);\n animation: 1s ", " infinite linear;\n"])), _Spin.default);
|
|
18
13
|
var _default = exports.default = Spinner;
|
package/backdrop/BaseBackdrop.js
CHANGED
|
@@ -5,14 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
+
var _templateObject;
|
|
8
9
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
-
|
|
10
|
-
position: fixed;
|
|
11
|
-
top: 0;
|
|
12
|
-
left: 0;
|
|
13
|
-
right: 0;
|
|
14
|
-
bottom: 0;
|
|
15
|
-
background: var(--color-backdrop);
|
|
16
|
-
z-index: 50;
|
|
17
|
-
`;
|
|
10
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
11
|
+
const BaseBackdrop = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: var(--color-backdrop);\n z-index: 50;\n"])));
|
|
18
12
|
var _default = exports.default = BaseBackdrop;
|
|
@@ -6,12 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _BaseBackdrop = _interopRequireDefault(require("./BaseBackdrop"));
|
|
9
|
+
var _templateObject;
|
|
9
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
-
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
align-items: center;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
color: var(--color-primary);
|
|
16
|
-
`;
|
|
11
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
12
|
+
const LoadingBackdrop = (0, _styledComponents.default)(_BaseBackdrop.default)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n color: var(--color-primary);\n"])));
|
|
17
13
|
var _default = exports.default = LoadingBackdrop;
|
|
@@ -6,10 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _BaseBackdrop = _interopRequireDefault(require("./BaseBackdrop"));
|
|
9
|
+
var _templateObject;
|
|
9
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
-
|
|
11
|
-
display: flex;
|
|
12
|
-
align-items: center;
|
|
13
|
-
justify-content: center;
|
|
14
|
-
`;
|
|
11
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
12
|
+
const ModalBackdrop = (0, _styledComponents.default)(_BaseBackdrop.default)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
|
|
15
13
|
var _default = exports.default = ModalBackdrop;
|
package/badge/Badge.js
CHANGED
|
@@ -7,20 +7,8 @@ exports.default = void 0;
|
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _color = _interopRequireDefault(require("../styles/mixin/color"));
|
|
9
9
|
var _borderColor = _interopRequireDefault(require("../styles/mixin/borderColor"));
|
|
10
|
+
var _templateObject;
|
|
10
11
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
|
|
12
|
-
display: inline-flex;
|
|
13
|
-
justify-content: center;
|
|
14
|
-
align-items: center;
|
|
15
|
-
height: auto;
|
|
16
|
-
width: auto;
|
|
17
|
-
font-size: inherit;
|
|
18
|
-
padding: 0.25rem 0.5rem;
|
|
19
|
-
margin: 0 var(--spacing-xs) var(--spacing-xs) 0;
|
|
20
|
-
border: var(--border-width) solid var(--border-color);
|
|
21
|
-
border-radius: var(--border-radius-l);
|
|
22
|
-
|
|
23
|
-
${_color.default}
|
|
24
|
-
${_borderColor.default}
|
|
25
|
-
`;
|
|
12
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
13
|
+
const Badge = _styledComponents.default.span(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: inline-flex;\n justify-content: center;\n align-items: center;\n height: auto;\n width: auto;\n font-size: inherit;\n padding: 0.25rem 0.5rem;\n margin: 0 var(--spacing-xs) var(--spacing-xs) 0;\n border: var(--border-width) solid var(--border-color);\n border-radius: var(--border-radius-l);\n\n ", "\n ", "\n"])), _color.default, _borderColor.default);
|
|
26
14
|
var _default = exports.default = Badge;
|
package/badge/BadgeDot.js
CHANGED
|
@@ -6,13 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _backgroundColor = _interopRequireDefault(require("../styles/mixin/backgroundColor"));
|
|
9
|
+
var _templateObject;
|
|
9
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
-
|
|
11
|
-
display: inline-block;
|
|
12
|
-
height: 8px;
|
|
13
|
-
width: 8px;
|
|
14
|
-
border-radius: var(--border-radius);
|
|
15
|
-
|
|
16
|
-
${_backgroundColor.default}
|
|
17
|
-
`;
|
|
11
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
12
|
+
const BadgeDot = _styledComponents.default.span(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: inline-block;\n height: 8px;\n width: 8px;\n border-radius: var(--border-radius);\n\n ", "\n"])), _backgroundColor.default);
|
|
18
13
|
var _default = exports.default = BadgeDot;
|
package/badge/BadgeFill.js
CHANGED
|
@@ -7,43 +7,25 @@ exports.default = void 0;
|
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _backgroundColor = _interopRequireDefault(require("../styles/mixin/backgroundColor"));
|
|
9
9
|
var _colorOnBackground = _interopRequireDefault(require("../styles/mixin/colorOnBackground"));
|
|
10
|
+
var _templateObject;
|
|
10
11
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
11
13
|
const BadgeFill = _styledComponents.default.span.attrs(() => ({
|
|
12
14
|
primary: true
|
|
13
|
-
}))
|
|
14
|
-
display: inline-flex;
|
|
15
|
-
justify-content: center;
|
|
16
|
-
align-items: center;
|
|
17
|
-
height: auto;
|
|
18
|
-
width: auto;
|
|
19
|
-
border-radius: var(--border-radius-l);
|
|
20
|
-
font-size: 1rem;
|
|
21
|
-
padding: 0.5rem;
|
|
22
|
-
margin: 0;
|
|
23
|
-
color: var(--font-on-background);
|
|
24
|
-
|
|
25
|
-
${_backgroundColor.default}
|
|
26
|
-
${_colorOnBackground.default}
|
|
27
|
-
|
|
28
|
-
${_ref => {
|
|
15
|
+
}))(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: inline-flex;\n justify-content: center;\n align-items: center;\n height: auto;\n width: auto;\n border-radius: var(--border-radius-l);\n font-size: 1rem;\n padding: 0.5rem;\n margin: 0;\n color: var(--font-on-background);\n\n ", "\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), _backgroundColor.default, _colorOnBackground.default, _ref => {
|
|
29
16
|
let {
|
|
30
17
|
extraSmall
|
|
31
18
|
} = _ref;
|
|
32
19
|
return extraSmall && 'font-size: 0.75rem; padding: 0.125rem;';
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
${_ref2 => {
|
|
20
|
+
}, _ref2 => {
|
|
36
21
|
let {
|
|
37
22
|
small
|
|
38
23
|
} = _ref2;
|
|
39
24
|
return small && 'font-size: 1rem; padding: 0.25rem;';
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
${_ref3 => {
|
|
25
|
+
}, _ref3 => {
|
|
43
26
|
let {
|
|
44
27
|
large
|
|
45
28
|
} = _ref3;
|
|
46
29
|
return large && 'font-size: 2rem;';
|
|
47
|
-
}
|
|
48
|
-
`;
|
|
30
|
+
});
|
|
49
31
|
var _default = exports.default = BadgeFill;
|
package/badge/BadgeWithText.js
CHANGED
|
@@ -6,7 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
var _templateObject;
|
|
9
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
10
12
|
const BadgeWithText = _ref => {
|
|
11
13
|
let {
|
|
12
14
|
children
|
|
@@ -15,17 +17,5 @@ const BadgeWithText = _ref => {
|
|
|
15
17
|
children: children
|
|
16
18
|
});
|
|
17
19
|
};
|
|
18
|
-
const Wrapper = _styledComponents.default.span
|
|
19
|
-
display: inline-flex;
|
|
20
|
-
align-items: center;
|
|
21
|
-
margin-bottom: var(--spacing-s);
|
|
22
|
-
|
|
23
|
-
:not(:last-child) {
|
|
24
|
-
margin-right: var(--spacing-s);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
> :first-child {
|
|
28
|
-
margin-right: var(--spacing-xs);
|
|
29
|
-
}
|
|
30
|
-
`;
|
|
20
|
+
const Wrapper = _styledComponents.default.span(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: inline-flex;\n align-items: center;\n margin-bottom: var(--spacing-s);\n\n :not(:last-child) {\n margin-right: var(--spacing-s);\n }\n\n > :first-child {\n margin-right: var(--spacing-xs);\n }\n"])));
|
|
31
21
|
var _default = exports.default = BadgeWithText;
|
package/billing/BarChart.js
CHANGED
package/breadcrumb/Breadcrumb.js
CHANGED
|
@@ -8,7 +8,9 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
8
8
|
var _reactRouterDom = require("react-router-dom");
|
|
9
9
|
var _media = _interopRequireDefault(require("../styles/mixin/media"));
|
|
10
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
var _templateObject, _templateObject2;
|
|
11
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
12
14
|
const Breadcrumb = _ref => {
|
|
13
15
|
let {
|
|
14
16
|
path = []
|
|
@@ -33,46 +35,5 @@ const Breadcrumb = _ref => {
|
|
|
33
35
|
})
|
|
34
36
|
});
|
|
35
37
|
};
|
|
36
|
-
const Wrapper = _styledComponents.default.div
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-wrap: wrap;
|
|
39
|
-
align-items: center;
|
|
40
|
-
font-size: var(--font-body2);
|
|
41
|
-
line-height: var(--font-body1);
|
|
42
|
-
color: var(--font-on-background);
|
|
43
|
-
padding: var(--spacing-s) 0;
|
|
44
|
-
|
|
45
|
-
> *:not(:last-child) {
|
|
46
|
-
display: flex;
|
|
47
|
-
align-items: center;
|
|
48
|
-
color: var(--font-on-background);
|
|
49
|
-
overflow: hidden;
|
|
50
|
-
|
|
51
|
-
> p {
|
|
52
|
-
text-overflow: ellipsis;
|
|
53
|
-
overflow: hidden;
|
|
54
|
-
white-space: nowrap;
|
|
55
|
-
|
|
56
|
-
&:hover {
|
|
57
|
-
text-decoration: underline;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&:after {
|
|
62
|
-
content: '/';
|
|
63
|
-
padding: 0 var(--spacing-xs);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
> *:last-child {
|
|
68
|
-
text-overflow: ellipsis;
|
|
69
|
-
overflow: hidden;
|
|
70
|
-
white-space: nowrap;
|
|
71
|
-
color: var(--color-primary);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
${_media.default.tablet`
|
|
75
|
-
padding-top: 0;
|
|
76
|
-
`}
|
|
77
|
-
`;
|
|
38
|
+
const Wrapper = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n font-size: var(--font-body2);\n line-height: var(--font-body1);\n color: var(--font-on-background);\n padding: var(--spacing-s) 0;\n\n > *:not(:last-child) {\n display: flex;\n align-items: center;\n color: var(--font-on-background);\n overflow: hidden;\n\n > p {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n\n &:hover {\n text-decoration: underline;\n }\n }\n\n &:after {\n content: '/';\n padding: 0 var(--spacing-xs);\n }\n }\n\n > *:last-child {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n color: var(--color-primary);\n }\n\n ", "\n"])), _media.default.tablet(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n padding-top: 0;\n "]))));
|
|
78
39
|
var _default = exports.default = Breadcrumb;
|