@cashub/ui 0.48.18 → 0.48.20
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 +38 -26
- package/Tab/TabPanel.js +13 -20
- package/Tab/TabTab.js +37 -25
- package/Tab/index.js +3 -6
- package/Tab/subComponent/TabListV2.js +11 -18
- package/Tab/subComponent/TabPanelV2.js +16 -20
- package/Tab/subComponent/TabTabV2.js +33 -21
- package/VerticalTab/TabList.js +13 -18
- package/VerticalTab/TabPanel.js +16 -20
- package/VerticalTab/TabTab.js +40 -21
- package/VerticalTab/VerticalTab.js +8 -4
- package/alert/Alert.js +12 -5
- package/animate/Collapse.js +5 -7
- package/animate/Loader.js +18 -7
- package/animate/PulseRing.js +18 -5
- package/animate/Spinner.js +8 -3
- package/backdrop/BaseBackdrop.js +9 -3
- package/backdrop/LoadingBackdrop.js +7 -3
- package/backdrop/ModalBackdrop.js +5 -3
- package/badge/Badge.js +15 -3
- package/badge/BadgeDot.js +8 -3
- package/badge/BadgeFill.js +24 -6
- package/badge/BadgeWithText.js +13 -3
- package/billing/BarChart.js +1 -1
- package/breadcrumb/Breadcrumb.js +42 -3
- package/button/Button.js +107 -21
- package/button/ButtonGroup.js +33 -9
- package/button/IconButton.js +37 -10
- package/button/ScrollToTopButton.js +12 -4
- package/callout/Callout.js +37 -8
- package/chart/BarChart.js +13 -21
- package/chart/DoughnutChart.js +34 -20
- package/chart/LineChart.js +13 -21
- package/chart/SingleBarChart.js +22 -5
- 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 +15 -7
- package/cropper/Cropper.js +1 -2
- package/datetimePicker/DatePicker.js +80 -26
- package/datetimePicker/DatePickerV2.js +95 -36
- package/datetimePicker/DatetimePicker.js +174 -11
- package/datetimePicker/DatetimePickerV2.js +87 -33
- package/datetimePicker/DatetimePickerV3.js +174 -11
- package/datetimePicker/TimeInput.js +35 -10
- package/datetimePicker/TimePicker.js +77 -22
- package/datetimePicker/TimePickerStyle.js +53 -3
- package/datetimePicker/TimePickerV2.js +54 -21
- package/datetimePicker/accordion/Month.js +93 -16
- package/datetimePicker/accordion/Year.js +96 -18
- package/datetimePicker/hooks/useChangeNumber.js +3 -6
- package/datetimePicker/hooks/useDecrease.js +3 -6
- package/datetimePicker/hooks/useIncrease.js +3 -6
- package/datetimePicker/subComponent/Accordion.js +101 -20
- package/descriptionList/DescriptionDetail.js +15 -4
- package/descriptionList/DescriptionList.js +12 -4
- package/descriptionList/DescriptionTerm.js +5 -3
- package/divider/Divider.js +15 -6
- package/dropdown/DropdownButtonOption.js +22 -6
- package/dropdown/DropdownContent.js +29 -15
- package/dropdown/DropdownDivOption.js +17 -3
- package/dropdown/DropdownLinkOption.js +14 -3
- package/dropdown/DropdownToggle.js +7 -15
- package/dropzone/FileDropzone.js +121 -22
- package/dropzone/ImageDropzone.js +83 -14
- package/dropzone/subComponent/Message.js +11 -4
- package/figure/IconFigure.js +16 -7
- package/figure/ImageFigure.js +19 -6
- package/file/HiddenFileInput.js +3 -3
- package/form/Checkbox.js +81 -16
- package/form/Fieldset.js +9 -3
- package/form/FormItem.js +10 -5
- package/form/Input.js +40 -7
- package/form/Label.js +34 -10
- package/form/MutedText.js +8 -4
- package/form/PasswordInput.js +20 -13
- package/form/RadioButton.js +55 -8
- package/form/SearchSelect.js +64 -12
- package/form/Searchbox.js +45 -19
- package/form/Slider.js +28 -10
- package/form/SwitchButton.js +48 -14
- package/form/Textarea.js +30 -3
- package/form/TreeView.js +13 -6
- package/grid/Column.js +23 -10
- package/grid/Grid.js +14 -6
- package/heading/Heading1.js +8 -4
- package/heading/Heading2.js +11 -5
- package/heading/Heading3.js +20 -8
- package/iconbox/ApplicationIconBox.js +48 -12
- package/iconbox/IconBox.js +31 -7
- package/iconbox/IconBoxV2.js +45 -10
- package/iconbox/subComponent/IconBoxFigure.js +17 -9
- package/iconbox/subComponent/IconBoxImage.js +21 -8
- package/image/ImageFluid.js +7 -3
- package/image/UploadImage.js +66 -18
- package/jsoneditor/JsonEditor.js +121 -15
- package/keyframe/Pulse.js +13 -3
- package/keyframe/Spin.js +5 -3
- package/layout/Aside.js +30 -5
- package/layout/Backdrop.js +8 -4
- package/layout/Container.js +21 -5
- package/layout/Footer.js +26 -7
- package/link/LinkSpan.js +37 -19
- package/map/GoogleMap.js +3 -7
- package/map/GoogleReverseGeolocation.js +6 -3
- package/map/LeafletMap.js +2 -2
- package/map/subComponent/GoogleMapContainer.js +16 -4
- package/map/subComponent/GoogleMapPopup.js +7 -10
- package/map/subComponent/GoogleMapWrapper.js +8 -15
- package/map/subComponent/LeafletDrawControl.js +9 -7
- package/map/subComponent/LeafletMapContainer.js +159 -4
- package/modal/StateModal.js +62 -38
- package/modal/TitleModal.js +70 -29
- package/package.json +1 -1
- package/page/Disclaimer.js +119 -3
- package/paginate/Paginate.js +54 -12
- package/popover/Popover.js +30 -25
- package/qrcode/QRCode.js +20 -6
- package/qrcode/QRCodeContainter.js +12 -4
- package/ribbon/Ribbon.js +29 -4
- package/section/Section.js +68 -20
- package/section/SectionBody.js +29 -8
- package/section/SectionHeader.js +36 -11
- package/section/SectionToolbar.js +9 -3
- package/section/SectionToolbarItem.js +8 -3
- package/select/InputSelect.js +16 -23
- package/select/Select.js +121 -49
- package/select/subComponent/Checkbox.js +24 -5
- package/select/subComponent/Footer.js +4 -3
- package/select/subComponent/ListBox.js +12 -5
- package/select/subComponent/Option.js +27 -7
- package/select/subComponent/OptionGroup.js +13 -3
- package/select/subComponent/Options.js +18 -5
- package/select/subComponent/SearchBox.js +34 -12
- package/select/subComponent/SelectedMultipleTags.js +21 -3
- package/select/subComponent/SelectedMultipleText.js +20 -4
- package/select/subComponent/SelectedSingle.js +7 -3
- package/styles/GlobalStyle.js +156 -45
- package/styles/mixin/backgroundColor.js +16 -8
- package/styles/mixin/borderColor.js +13 -7
- package/styles/mixin/color.js +13 -7
- package/styles/mixin/colorOnBackground.js +13 -7
- package/styles/mixin/inputPlaceholder.js +20 -3
- package/styles/mixin/media.js +5 -3
- package/styles/mixin/rounded.js +10 -6
- package/styles/mixin/scrollbar.js +13 -3
- package/styles/theme/dark.theme.js +15 -14
- package/styles/theme/light.theme.js +15 -14
- package/styles/theme/white.theme.js +15 -14
- package/table/GridTable.js +71 -33
- package/table/ImageBox.js +15 -5
- package/table/InfiniteGridTable.js +92 -46
- package/table/PermissionTable.js +32 -10
- package/table/SimpleGridTable.js +52 -17
- package/table/Table.js +198 -48
- package/table/__mock__/columns.js +1 -1
- package/table/subComponent/BaseTableHeadCell.js +37 -8
- package/table/subComponent/GridTableFooter.js +10 -4
- package/table/subComponent/GridTableHeadCell.js +6 -4
- package/table/subComponent/Resizer.js +19 -4
- package/table/subComponent/TableFooter.js +15 -6
- package/table/subComponent/TableFooterInfo.js +4 -3
- package/table/subComponent/TableFooterPager.js +19 -6
- package/table/subComponent/TableHeadCell.js +9 -3
- package/table/subComponent/TableSort.js +17 -7
- package/tagify/TagifyStyle.js +49 -3
- package/tagify/Tags.js +37 -21
- package/tagify/templates/getCreateButtonTemplate.js +5 -2
- package/text/Paragraph.js +50 -12
- package/timeline/Timeline.js +94 -17
- package/toast/CustomToastContainer.js +35 -3
- package/toast/MessageContainer.js +22 -4
- package/toast/show.js +5 -5
- package/tooltip/Tooltip.js +47 -19
- package/treeView/TreeViewV2.js +1 -1
- package/treeView/TreeflexStyle.js +38 -3
- package/wizard/Wizard.js +115 -6
|
@@ -4,9 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
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; }
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
9
|
-
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
7
|
// custom popup
|
|
11
8
|
// https://developers.google.com/maps/documentation/javascript/examples/overlay-popup
|
|
12
9
|
class GoogleMapPopup {
|
|
@@ -14,6 +11,10 @@ class GoogleMapPopup {
|
|
|
14
11
|
// wrap class to prevent cannot reference maps during runtime
|
|
15
12
|
// because google map library will load after render map only
|
|
16
13
|
class MapPopup extends window.google.maps.OverlayView {
|
|
14
|
+
position;
|
|
15
|
+
containerDiv;
|
|
16
|
+
offset = 16;
|
|
17
|
+
justRendered = false;
|
|
17
18
|
constructor() {
|
|
18
19
|
let {
|
|
19
20
|
maxWidth,
|
|
@@ -22,14 +23,10 @@ class GoogleMapPopup {
|
|
|
22
23
|
super();
|
|
23
24
|
|
|
24
25
|
// This zero-height div is positioned at the bottom of the tip.
|
|
25
|
-
_defineProperty(this, "position", void 0);
|
|
26
|
-
_defineProperty(this, "containerDiv", void 0);
|
|
27
|
-
_defineProperty(this, "offset", 16);
|
|
28
|
-
_defineProperty(this, "justRendered", false);
|
|
29
26
|
this.containerDiv = document.createElement('div');
|
|
30
27
|
this.containerDiv.classList.add('google-popup-content-wrapper');
|
|
31
28
|
if (maxWidth) {
|
|
32
|
-
this.containerDiv.style.maxWidth =
|
|
29
|
+
this.containerDiv.style.maxWidth = `${maxWidth}px`;
|
|
33
30
|
}
|
|
34
31
|
if (offset) {
|
|
35
32
|
this.offset = offset;
|
|
@@ -60,8 +57,8 @@ class GoogleMapPopup {
|
|
|
60
57
|
this.fitMap();
|
|
61
58
|
this.justRendered = false;
|
|
62
59
|
}
|
|
63
|
-
this.containerDiv.style.left =
|
|
64
|
-
this.containerDiv.style.top =
|
|
60
|
+
this.containerDiv.style.left = `${divPosition.x}px`;
|
|
61
|
+
this.containerDiv.style.top = `${divPosition.y - this.offset}px`;
|
|
65
62
|
}
|
|
66
63
|
}
|
|
67
64
|
setPosition(position) {
|
|
@@ -7,21 +7,13 @@ exports.default = void 0;
|
|
|
7
7
|
var _react = require("react");
|
|
8
8
|
var _reactWrapper = require("@googlemaps/react-wrapper");
|
|
9
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
-
const _excluded = ["children", "apiKey", "onError"];
|
|
11
|
-
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; }
|
|
12
|
-
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; }
|
|
13
|
-
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; }
|
|
14
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
15
|
-
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); }
|
|
16
|
-
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; }
|
|
17
|
-
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; }
|
|
18
10
|
const GoogleMapWrapper = _ref => {
|
|
19
11
|
let {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
12
|
+
children,
|
|
13
|
+
apiKey,
|
|
14
|
+
onError,
|
|
15
|
+
...props
|
|
16
|
+
} = _ref;
|
|
25
17
|
const render = status => {
|
|
26
18
|
switch (status) {
|
|
27
19
|
case _reactWrapper.Status.LOADING:
|
|
@@ -39,9 +31,10 @@ const GoogleMapWrapper = _ref => {
|
|
|
39
31
|
style: {
|
|
40
32
|
position: 'relative'
|
|
41
33
|
},
|
|
42
|
-
children: /*#__PURE__*/(0, _react.cloneElement)(children,
|
|
34
|
+
children: /*#__PURE__*/(0, _react.cloneElement)(children, {
|
|
35
|
+
...props,
|
|
43
36
|
onError
|
|
44
|
-
})
|
|
37
|
+
})
|
|
45
38
|
});
|
|
46
39
|
};
|
|
47
40
|
var _default = exports.default = GoogleMapWrapper;
|
|
@@ -13,11 +13,8 @@ var _fastDeepEqual = _interopRequireDefault(require("fast-deep-equal"));
|
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
14
|
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); }
|
|
15
15
|
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; }
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
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; }
|
|
19
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
20
|
-
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); } // eslint-disable-line
|
|
16
|
+
// eslint-disable-line
|
|
17
|
+
|
|
21
18
|
const eventHandlers = {
|
|
22
19
|
onEdited: 'draw:edited',
|
|
23
20
|
onDrawStart: 'draw:drawstart',
|
|
@@ -109,13 +106,18 @@ const createDrawElement = (props, layerContainer) => {
|
|
|
109
106
|
};
|
|
110
107
|
if (draw !== undefined) {
|
|
111
108
|
if (typeof draw === 'object') {
|
|
112
|
-
options.draw =
|
|
109
|
+
options.draw = {
|
|
110
|
+
...draw
|
|
111
|
+
};
|
|
113
112
|
} else {
|
|
114
113
|
options.draw = draw;
|
|
115
114
|
}
|
|
116
115
|
}
|
|
117
116
|
if (edit) {
|
|
118
|
-
options.edit =
|
|
117
|
+
options.edit = {
|
|
118
|
+
...options.edit,
|
|
119
|
+
...edit
|
|
120
|
+
};
|
|
119
121
|
}
|
|
120
122
|
if (position) {
|
|
121
123
|
options.position = position;
|
|
@@ -6,13 +6,168 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
8
|
var _reactLeaflet = require("react-leaflet");
|
|
9
|
-
var _templateObject;
|
|
10
9
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
const LeafletMapContainer = (0, _styledComponents.default)(_reactLeaflet.MapContainer)`
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: ${_ref => {
|
|
13
13
|
let {
|
|
14
14
|
height
|
|
15
15
|
} = _ref;
|
|
16
16
|
return height;
|
|
17
|
-
}
|
|
17
|
+
}}px;
|
|
18
|
+
border: 1px solid transparent;
|
|
19
|
+
border-radius: var(--border-radius);
|
|
20
|
+
z-index: 1;
|
|
21
|
+
|
|
22
|
+
&:focus {
|
|
23
|
+
border-color: var(--border-color);
|
|
24
|
+
box-shadow: var(--box-shadow);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.leaflet-control-container {
|
|
28
|
+
.leaflet-control-zoom {
|
|
29
|
+
box-shadow: var(--box-shadow);
|
|
30
|
+
border-radius: var(--border-radius);
|
|
31
|
+
|
|
32
|
+
a {
|
|
33
|
+
background: transparent;
|
|
34
|
+
border-bottom: 1px solid var(--border-color);
|
|
35
|
+
color: var(--font-on-background);
|
|
36
|
+
|
|
37
|
+
&:last-child {
|
|
38
|
+
border-bottom: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.leaflet-disabled {
|
|
42
|
+
opacity: 0.5;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.leaflet-draw {
|
|
48
|
+
box-shadow: var(--box-shadow);
|
|
49
|
+
border-radius: var(--border-radius);
|
|
50
|
+
|
|
51
|
+
a {
|
|
52
|
+
background-color: var(--color-background1);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.leaflet-draw-draw-polyline {
|
|
56
|
+
background-position: -3px -3px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.leaflet-draw-draw-polygon {
|
|
60
|
+
background-position: -32px -3px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.leaflet-draw-draw-rectangle {
|
|
64
|
+
background-position: -63px -3px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.leaflet-draw-draw-circle {
|
|
68
|
+
background-position: -93px -3px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.leaflet-draw-draw-marker {
|
|
72
|
+
background-position: -123px -3px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.leaflet-draw-draw-circlemarker {
|
|
76
|
+
background-position: -273px -3px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.leaflet-draw-edit-edit {
|
|
80
|
+
background-position: -213px -3px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.leaflet-draw-edit-remove {
|
|
84
|
+
background-position: -243px -3px;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.leaflet-left .leaflet-control {
|
|
89
|
+
margin-left: var(--spacing-s);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.leaflet-right .leaflet-control {
|
|
93
|
+
margin-right: var(--spacing-s);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.leaflet-top .leaflet-control {
|
|
97
|
+
margin-top: var(--spacing-s);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.leaflet-control {
|
|
101
|
+
font-weight: bold;
|
|
102
|
+
background: var(--color-background1);
|
|
103
|
+
|
|
104
|
+
&.leaflet-control-attribution {
|
|
105
|
+
background: var(--color-white);
|
|
106
|
+
color: var(--color-dark);
|
|
107
|
+
margin: 0;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.leaflet-edit-move {
|
|
113
|
+
border-radius: 50px;
|
|
114
|
+
border-color: var(--border-color);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.leaflet-edit-resize {
|
|
118
|
+
border-radius: 50px;
|
|
119
|
+
border-color: var(--border-color);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&.leaflet-touch {
|
|
123
|
+
.leaflet-bar {
|
|
124
|
+
border: none;
|
|
125
|
+
|
|
126
|
+
a {
|
|
127
|
+
width: 24px;
|
|
128
|
+
height: 24px;
|
|
129
|
+
line-height: 24px;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.leaflet-left .leaflet-control {
|
|
134
|
+
margin-left: var(--spacing-s);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.leaflet-right .leaflet-control {
|
|
138
|
+
margin-right: var(--spacing-s);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.leaflet-top .leaflet-control {
|
|
142
|
+
margin-top: var(--spacing-s);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.marker-cluster {
|
|
147
|
+
background: var(--color-primary) a1;
|
|
148
|
+
|
|
149
|
+
div {
|
|
150
|
+
background: var(--color-primary);
|
|
151
|
+
color: var(--font-on-primary);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.leaflet-popup-content-wrapper {
|
|
156
|
+
background: transparent;
|
|
157
|
+
box-shadow: unset;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.leaflet-popup-content p {
|
|
161
|
+
margin: 0;
|
|
162
|
+
margin-bottom: var(--spacing-s);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.leaflet-popup-tip {
|
|
166
|
+
display: none;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.sr-only {
|
|
170
|
+
display: none;
|
|
171
|
+
}
|
|
172
|
+
`;
|
|
18
173
|
var _default = exports.default = LeafletMapContainer;
|
package/modal/StateModal.js
CHANGED
|
@@ -15,25 +15,14 @@ var _ButtonGroup = _interopRequireDefault(require("../button/ButtonGroup"));
|
|
|
15
15
|
var _Button = _interopRequireDefault(require("../button/Button"));
|
|
16
16
|
var _ModalBackdrop = _interopRequireDefault(require("../backdrop/ModalBackdrop"));
|
|
17
17
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
19
|
-
const _excluded = ["onClose"],
|
|
20
|
-
_excluded2 = ["text", "children", "type", "onClick", "closeOnClick"];
|
|
21
18
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
22
19
|
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); }
|
|
23
20
|
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; }
|
|
24
|
-
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
25
|
-
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; }
|
|
26
|
-
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; }
|
|
27
|
-
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; }
|
|
28
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
29
|
-
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); }
|
|
30
|
-
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; }
|
|
31
|
-
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; }
|
|
32
21
|
const StateModal = _ref => {
|
|
33
22
|
let {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
23
|
+
onClose,
|
|
24
|
+
...props
|
|
25
|
+
} = _ref;
|
|
37
26
|
const rootElement = (0, _utils.appendElementTo)('StateModalContainer');
|
|
38
27
|
const Container = document.createElement('div');
|
|
39
28
|
rootElement.appendChild(Container);
|
|
@@ -43,9 +32,10 @@ const StateModal = _ref => {
|
|
|
43
32
|
Container.remove();
|
|
44
33
|
if (onClose) onClose();
|
|
45
34
|
};
|
|
46
|
-
_reactDom.default.render(/*#__PURE__*/(0, _jsxRuntime.jsx)(ModalContent,
|
|
35
|
+
_reactDom.default.render(/*#__PURE__*/(0, _jsxRuntime.jsx)(ModalContent, {
|
|
36
|
+
...props,
|
|
47
37
|
onClose: handleClose
|
|
48
|
-
})
|
|
38
|
+
}), Container);
|
|
49
39
|
};
|
|
50
40
|
const ModalContent = _ref2 => {
|
|
51
41
|
let {
|
|
@@ -70,12 +60,16 @@ const ModalContent = _ref2 => {
|
|
|
70
60
|
if (type === 'error') Icon = _fa.FaRegTimesCircle;
|
|
71
61
|
if (type === 'danger') Icon = _bs.BsExclamationTriangle;
|
|
72
62
|
if (type === 'warning') Icon = _bs.BsExclamationCircle;
|
|
73
|
-
const getButtonTypeProps = buttonType =>
|
|
74
|
-
danger
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
63
|
+
const getButtonTypeProps = buttonType => ({
|
|
64
|
+
...(buttonType === 'danger' && {
|
|
65
|
+
danger: true
|
|
66
|
+
}),
|
|
67
|
+
...(buttonType === 'warning' && {
|
|
68
|
+
warning: true
|
|
69
|
+
}),
|
|
70
|
+
...(buttonType === 'success' && {
|
|
71
|
+
success: true
|
|
72
|
+
})
|
|
79
73
|
});
|
|
80
74
|
const handleDismiss = event => {
|
|
81
75
|
if (event.target === refWrapper.current && allowDismiss === true) {
|
|
@@ -99,7 +93,7 @@ const ModalContent = _ref2 => {
|
|
|
99
93
|
ref: refWrapper,
|
|
100
94
|
onClick: handleDismiss,
|
|
101
95
|
role: "dialog",
|
|
102
|
-
"aria-labelledby":
|
|
96
|
+
"aria-labelledby": `${id}-Title`,
|
|
103
97
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(Container, {
|
|
104
98
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(Body, {
|
|
105
99
|
type: type,
|
|
@@ -114,28 +108,49 @@ const ModalContent = _ref2 => {
|
|
|
114
108
|
alignRight: true,
|
|
115
109
|
children: modalButtons.map((_ref3, index) => {
|
|
116
110
|
let {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default,
|
|
111
|
+
text: buttonText,
|
|
112
|
+
children,
|
|
113
|
+
type: buttonType,
|
|
114
|
+
onClick,
|
|
115
|
+
closeOnClick,
|
|
116
|
+
...buttonProps
|
|
117
|
+
} = _ref3;
|
|
118
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
|
|
119
|
+
...getButtonTypeProps(buttonType),
|
|
120
|
+
...buttonProps,
|
|
125
121
|
onClick: () => handleButtonClick({
|
|
126
122
|
onClick,
|
|
127
123
|
closeOnClick
|
|
128
124
|
}),
|
|
129
125
|
children: children || buttonText
|
|
130
|
-
}
|
|
126
|
+
}, `${id}-Button-${index}`);
|
|
131
127
|
})
|
|
132
128
|
})]
|
|
133
129
|
})
|
|
134
130
|
});
|
|
135
131
|
};
|
|
136
|
-
const Wrapper = (0, _styledComponents.default)(_ModalBackdrop.default)
|
|
137
|
-
|
|
138
|
-
|
|
132
|
+
const Wrapper = (0, _styledComponents.default)(_ModalBackdrop.default)`
|
|
133
|
+
z-index: 90;
|
|
134
|
+
`;
|
|
135
|
+
const Container = _styledComponents.default.div`
|
|
136
|
+
width: 500px;
|
|
137
|
+
max-width: 90%;
|
|
138
|
+
background: var(--color-background2);
|
|
139
|
+
box-shadow: var(--box-shadow);
|
|
140
|
+
padding: var(--spacing);
|
|
141
|
+
border-radius: var(--border-radius);
|
|
142
|
+
color: var(--font-on-background);
|
|
143
|
+
border: var(--border-width) solid var(--border-color);
|
|
144
|
+
text-align: center;
|
|
145
|
+
`;
|
|
146
|
+
const Body = _styledComponents.default.div`
|
|
147
|
+
margin-bottom: var(--spacing);
|
|
148
|
+
|
|
149
|
+
> svg {
|
|
150
|
+
font-size: 120px;
|
|
151
|
+
margin-bottom: var(--spacing);
|
|
152
|
+
|
|
153
|
+
${_ref4 => {
|
|
139
154
|
let {
|
|
140
155
|
type
|
|
141
156
|
} = _ref4;
|
|
@@ -148,7 +163,16 @@ const Body = _styledComponents.default.div(_templateObject3 || (_templateObject3
|
|
|
148
163
|
default:
|
|
149
164
|
return 'color: var(--color-success);';
|
|
150
165
|
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
|
|
166
|
+
}}
|
|
167
|
+
}
|
|
168
|
+
`;
|
|
169
|
+
const Title = _styledComponents.default.h2`
|
|
170
|
+
font-size: var(--font-body1);
|
|
171
|
+
font-weight: var(--font-bold);
|
|
172
|
+
margin-bottom: var(--spacing-s);
|
|
173
|
+
`;
|
|
174
|
+
const Message = _styledComponents.default.p`
|
|
175
|
+
font-size: var(--font-body1);
|
|
176
|
+
white-space: pre-line;
|
|
177
|
+
`;
|
|
154
178
|
var _default = exports.default = StateModal;
|
package/modal/TitleModal.js
CHANGED
|
@@ -15,19 +15,9 @@ var _scrollbar = _interopRequireDefault(require("../styles/mixin/scrollbar"));
|
|
|
15
15
|
var _Heading = _interopRequireDefault(require("../heading/Heading3"));
|
|
16
16
|
var _ModalBackdrop = _interopRequireDefault(require("../backdrop/ModalBackdrop"));
|
|
17
17
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
|
|
19
|
-
const _excluded = ["children"];
|
|
20
18
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
21
19
|
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); }
|
|
22
20
|
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; }
|
|
23
|
-
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
24
|
-
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; }
|
|
25
|
-
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; }
|
|
26
|
-
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; }
|
|
27
|
-
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; }
|
|
28
|
-
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; }
|
|
29
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
30
|
-
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); }
|
|
31
21
|
const TitleModal = props => {
|
|
32
22
|
const rootElement = (0, _utils.appendElementTo)('TitleModalContainer');
|
|
33
23
|
const Container = document.createElement('div');
|
|
@@ -55,10 +45,11 @@ const TitleModal = props => {
|
|
|
55
45
|
const methods = {
|
|
56
46
|
close: handleClose
|
|
57
47
|
};
|
|
58
|
-
_reactDom.default.render(/*#__PURE__*/(0, _jsxRuntime.jsx)(ModalContent,
|
|
48
|
+
_reactDom.default.render(/*#__PURE__*/(0, _jsxRuntime.jsx)(ModalContent, {
|
|
49
|
+
...props,
|
|
59
50
|
onClose: handleClose,
|
|
60
51
|
methods: methods
|
|
61
|
-
})
|
|
52
|
+
}), Container);
|
|
62
53
|
};
|
|
63
54
|
const ModalContent = _ref => {
|
|
64
55
|
let {
|
|
@@ -109,9 +100,9 @@ const ModalHeader = _ref2 => {
|
|
|
109
100
|
};
|
|
110
101
|
const ModalBody = /*#__PURE__*/(0, _react.forwardRef)((_ref3, ref) => {
|
|
111
102
|
let {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
103
|
+
children,
|
|
104
|
+
...props
|
|
105
|
+
} = _ref3;
|
|
115
106
|
const ownRef = (0, _react.useRef)(null);
|
|
116
107
|
const bodyRef = (0, _hooks.useForkRef)(ownRef, ref);
|
|
117
108
|
const recalculateHeight = (0, _react.useCallback)(() => {
|
|
@@ -127,18 +118,18 @@ const ModalBody = /*#__PURE__*/(0, _react.forwardRef)((_ref3, ref) => {
|
|
|
127
118
|
if (ModalFooterElement) {
|
|
128
119
|
needSubtractHeight += ModalFooterElement.offsetHeight;
|
|
129
120
|
}
|
|
130
|
-
ModalBodyElement.style.maxHeight =
|
|
121
|
+
ModalBodyElement.style.maxHeight = `calc(90vh - ${needSubtractHeight}px)`;
|
|
131
122
|
}, []);
|
|
132
123
|
(0, _react.useEffect)(() => {
|
|
133
124
|
recalculateHeight();
|
|
134
125
|
window.addEventListener('resize', recalculateHeight);
|
|
135
126
|
return () => window.removeEventListener('resize', recalculateHeight);
|
|
136
127
|
}, [recalculateHeight]);
|
|
137
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Body,
|
|
138
|
-
ref: bodyRef
|
|
139
|
-
|
|
128
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Body, {
|
|
129
|
+
ref: bodyRef,
|
|
130
|
+
...props,
|
|
140
131
|
children: children
|
|
141
|
-
})
|
|
132
|
+
});
|
|
142
133
|
});
|
|
143
134
|
ModalBody.displayName = 'ModalBody';
|
|
144
135
|
const ModalFooter = _ref4 => {
|
|
@@ -149,8 +140,18 @@ const ModalFooter = _ref4 => {
|
|
|
149
140
|
children: children
|
|
150
141
|
});
|
|
151
142
|
};
|
|
152
|
-
const Wrapper = (0, _styledComponents.default)(_ModalBackdrop.default)
|
|
153
|
-
|
|
143
|
+
const Wrapper = (0, _styledComponents.default)(_ModalBackdrop.default)`
|
|
144
|
+
z-index: 80;
|
|
145
|
+
`;
|
|
146
|
+
const Container = _styledComponents.default.div`
|
|
147
|
+
position: relative;
|
|
148
|
+
border-radius: var(--border-radius);
|
|
149
|
+
background: var(--color-background2);
|
|
150
|
+
box-shadow: var(--box-shadow);
|
|
151
|
+
border: var(--border-width) solid var(--border-color);
|
|
152
|
+
width: 100%;
|
|
153
|
+
|
|
154
|
+
${_ref5 => {
|
|
154
155
|
let {
|
|
155
156
|
size
|
|
156
157
|
} = _ref5;
|
|
@@ -166,7 +167,10 @@ const Container = _styledComponents.default.div(_templateObject2 || (_templateOb
|
|
|
166
167
|
default:
|
|
167
168
|
break;
|
|
168
169
|
}
|
|
169
|
-
}
|
|
170
|
+
}}
|
|
171
|
+
|
|
172
|
+
${_media.default.tablet`
|
|
173
|
+
${_ref6 => {
|
|
170
174
|
let {
|
|
171
175
|
size
|
|
172
176
|
} = _ref6;
|
|
@@ -181,7 +185,11 @@ const Container = _styledComponents.default.div(_templateObject2 || (_templateOb
|
|
|
181
185
|
default:
|
|
182
186
|
break;
|
|
183
187
|
}
|
|
184
|
-
}
|
|
188
|
+
}}
|
|
189
|
+
`}
|
|
190
|
+
|
|
191
|
+
${_media.default.mobile`
|
|
192
|
+
${_ref7 => {
|
|
185
193
|
let {
|
|
186
194
|
size
|
|
187
195
|
} = _ref7;
|
|
@@ -193,15 +201,48 @@ const Container = _styledComponents.default.div(_templateObject2 || (_templateOb
|
|
|
193
201
|
default:
|
|
194
202
|
break;
|
|
195
203
|
}
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
|
|
204
|
+
}}
|
|
205
|
+
`}
|
|
206
|
+
`;
|
|
207
|
+
const Header = _styledComponents.default.div`
|
|
208
|
+
display: flex;
|
|
209
|
+
align-items: center;
|
|
210
|
+
padding: var(--spacing-s) 56px var(--spacing-s) var(--spacing-s);
|
|
211
|
+
border-bottom: var(--border-width) solid var(--border-color);
|
|
212
|
+
min-height: 64px;
|
|
213
|
+
color: var(--font-on-background);
|
|
214
|
+
|
|
215
|
+
> svg {
|
|
216
|
+
position: absolute;
|
|
217
|
+
top: 24px;
|
|
218
|
+
right: calc(12px + var(--spacing));
|
|
219
|
+
color: var(--font-on-mute);
|
|
220
|
+
font-size: var(--font-body1);
|
|
221
|
+
cursor: pointer;
|
|
222
|
+
}
|
|
223
|
+
`;
|
|
224
|
+
const Body = _styledComponents.default.div`
|
|
225
|
+
padding: var(--spacing);
|
|
226
|
+
overflow-y: auto;
|
|
227
|
+
overflow-x: hidden;
|
|
228
|
+
|
|
229
|
+
${_scrollbar.default}
|
|
230
|
+
|
|
231
|
+
${_ref8 => {
|
|
199
232
|
let {
|
|
200
233
|
noPaddingBottom
|
|
201
234
|
} = _ref8;
|
|
202
235
|
return noPaddingBottom && 'padding-bottom: 0;';
|
|
203
|
-
}
|
|
204
|
-
|
|
236
|
+
}}
|
|
237
|
+
`;
|
|
238
|
+
const Footer = _styledComponents.default.div`
|
|
239
|
+
display: flex;
|
|
240
|
+
justify-content: flex-end;
|
|
241
|
+
padding: 0 var(--spacing);
|
|
242
|
+
border-top: var(--border-width) solid var(--border-color);
|
|
243
|
+
height: 64px;
|
|
244
|
+
line-height: 64px;
|
|
245
|
+
`;
|
|
205
246
|
var _default = exports.default = Object.assign(TitleModal, {
|
|
206
247
|
Header: ModalHeader,
|
|
207
248
|
Body: ModalBody,
|