musae 0.3.3 → 0.3.5
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/components/button/button.cjs +11 -10
- package/dist/components/button/button.mjs +7 -6
- package/dist/components/calendar/contribution.cjs +251 -0
- package/dist/components/calendar/contribution.d.ts +13 -0
- package/dist/components/calendar/contribution.mjs +249 -0
- package/dist/components/calendar/index.d.ts +2 -1
- package/dist/components/config/provider.cjs +2 -2
- package/dist/components/config/provider.mjs +2 -2
- package/dist/components/drawer/popup.cjs +51 -17
- package/dist/components/drawer/popup.d.ts +1 -1
- package/dist/components/drawer/popup.mjs +51 -17
- package/dist/components/fab/floatable.d.ts +1 -1
- package/dist/components/icon/icons/action/delete.cjs +20 -0
- package/dist/components/icon/icons/action/delete.d.ts +3 -0
- package/dist/components/icon/icons/action/delete.mjs +18 -0
- package/dist/components/icon/icons/action/index.cjs +7 -1
- package/dist/components/icon/icons/action/index.d.ts +5 -1
- package/dist/components/icon/icons/action/index.mjs +6 -2
- package/dist/components/icon/icons/action/three-d-rotation.cjs +28 -0
- package/dist/components/icon/icons/action/three-d-rotation.d.ts +3 -0
- package/dist/components/icon/icons/action/three-d-rotation.mjs +26 -0
- package/dist/components/icon/icons/editor/attch-file.cjs +20 -0
- package/dist/components/icon/icons/editor/attch-file.d.ts +3 -0
- package/dist/components/icon/icons/editor/attch-file.mjs +18 -0
- package/dist/components/icon/icons/editor/index.cjs +4 -1
- package/dist/components/icon/icons/editor/index.d.ts +3 -1
- package/dist/components/icon/icons/editor/index.mjs +4 -2
- package/dist/components/icon/icons/index.cjs +6 -0
- package/dist/components/icon/icons/index.mjs +3 -0
- package/dist/components/menu/hooks.d.ts +1 -2
- package/dist/components/menu/item.d.ts +2 -3
- package/dist/components/pagination/pagination.cjs +1 -1
- package/dist/components/pagination/pagination.mjs +2 -2
- package/dist/components/popover/popover.cjs +1 -1
- package/dist/components/popover/popover.mjs +1 -1
- package/dist/components/popper/dropdown.cjs +44 -19
- package/dist/components/popper/dropdown.mjs +46 -21
- package/dist/components/popper/hooks.cjs +88 -89
- package/dist/components/popper/hooks.d.ts +7 -13
- package/dist/components/popper/hooks.mjs +91 -91
- package/dist/components/rich-text-editor/plugins/controlled-state/index.cjs +1 -2
- package/dist/components/rich-text-editor/plugins/controlled-state/index.mjs +1 -2
- package/dist/components/rich-text-editor/plugins/markdown-shortcut/index.cjs +5 -4
- package/dist/components/rich-text-editor/plugins/markdown-shortcut/index.d.ts +3 -3
- package/dist/components/rich-text-editor/plugins/markdown-shortcut/index.mjs +3 -4
- package/dist/components/rich-text-editor/rich-text-editor.cjs +5 -5
- package/dist/components/rich-text-editor/rich-text-editor.mjs +3 -3
- package/dist/components/select/utils.cjs +1 -3
- package/dist/components/select/utils.d.ts +1 -1
- package/dist/components/select/utils.mjs +2 -4
- package/dist/components/skeleton/skeleton.cjs +5 -48
- package/dist/components/skeleton/skeleton.d.ts +1 -1
- package/dist/components/skeleton/skeleton.mjs +5 -48
- package/dist/components/steps/context.d.ts +1 -1
- package/dist/components/steps/item.d.ts +1 -1
- package/dist/components/steps/steps.d.ts +1 -1
- package/dist/components/switch/switch.cjs +7 -6
- package/dist/components/switch/switch.d.ts +1 -1
- package/dist/components/switch/switch.mjs +8 -7
- package/dist/components/table/body.cjs +3 -1
- package/dist/components/table/body.mjs +3 -1
- package/dist/components/tabs/context.d.ts +1 -1
- package/dist/components/tabs/hooks.d.ts +2 -2
- package/dist/components/tabs/navigation.d.ts +1 -1
- package/dist/components/tabs/panels.d.ts +1 -1
- package/dist/components/tabs/tab.d.ts +1 -1
- package/dist/components/tabs/tabs.d.ts +1 -1
- package/dist/components/tag/tag.d.ts +1 -1
- package/dist/components/theme/hooks.cjs +6 -6
- package/dist/components/theme/hooks.d.ts +1 -1
- package/dist/components/theme/hooks.mjs +6 -6
- package/dist/components/theme/theme-provider.cjs +12 -6
- package/dist/components/theme/theme-provider.d.ts +2 -2
- package/dist/components/theme/theme-provider.mjs +12 -6
- package/dist/components/time-picker/hooks.d.ts +1 -1
- package/dist/components/time-picker/panel.d.ts +1 -1
- package/dist/components/time-picker/time-picker.d.ts +1 -1
- package/dist/components/timeline/context.d.ts +1 -1
- package/dist/components/timeline/item.d.ts +1 -1
- package/dist/components/timeline/timeline.d.ts +1 -1
- package/dist/components/tooltip/tooltip.d.ts +1 -1
- package/dist/components/transfer/context.d.ts +1 -1
- package/dist/components/transfer/hooks.d.ts +1 -1
- package/dist/components/transfer/item.d.ts +1 -1
- package/dist/components/transfer/list.d.ts +1 -1
- package/dist/components/transfer/transfer.d.ts +1 -1
- package/dist/components/upload/upload.cjs +31 -6
- package/dist/components/upload/upload.d.ts +2 -2
- package/dist/components/upload/upload.mjs +31 -6
- package/dist/components/upload/uploadeds.cjs +119 -55
- package/dist/components/upload/uploadeds.d.ts +1 -1
- package/dist/components/upload/uploadeds.mjs +121 -57
- package/dist/components/upload/utils.cjs +9 -0
- package/dist/components/upload/utils.d.ts +6 -0
- package/dist/components/upload/utils.mjs +9 -0
- package/dist/components/visually-hidden/visually-hidden.d.ts +1 -1
- package/dist/components/waterfall/sequential.d.ts +1 -1
- package/dist/components/waterfall/waterfall.d.ts +1 -1
- package/dist/components/watermark/hooks.d.ts +1 -1
- package/dist/components/watermark/watermark.d.ts +1 -1
- package/dist/hooks/use-class-names.d.ts +1 -0
- package/dist/hooks/use-closable.cjs +0 -8
- package/dist/hooks/use-closable.mjs +0 -8
- package/dist/hooks/use-container.d.ts +1 -1
- package/dist/hooks/use-lazy-boolean.cjs +2 -2
- package/dist/hooks/use-lazy-boolean.mjs +2 -2
- package/dist/index.cjs +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -0
- package/dist/locale/locales/en_US.cjs +5 -1
- package/dist/locale/locales/en_US.mjs +5 -1
- package/dist/locale/locales/zh_CN.cjs +5 -1
- package/dist/locale/locales/zh_CN.mjs +5 -1
- package/dist/styles.css +16 -7
- package/dist/types/drawer.d.ts +5 -0
- package/dist/types/element.d.ts +1 -56
- package/dist/types/form.d.ts +39 -1
- package/dist/types/locale.d.ts +6 -0
- package/dist/types/menu.d.ts +8 -3
- package/dist/types/popper.d.ts +1 -1
- package/dist/types/skeleton.d.ts +0 -7
- package/dist/{components/theme/types.d.ts → types/theme.d.ts} +1 -1
- package/dist/types/tree.d.ts +7 -2
- package/dist/{components/upload/types.d.ts → types/upload.d.ts} +59 -22
- package/dist/{components/waterfall/types.d.ts → types/waterfall.d.ts} +3 -3
- package/dist/utils/class-name.cjs +1 -1
- package/dist/utils/class-name.d.ts +3 -1
- package/dist/utils/class-name.mjs +1 -1
- package/dist/utils/colors.cjs +0 -10
- package/dist/utils/colors.d.ts +1 -4
- package/dist/utils/colors.mjs +1 -10
- package/dist/utils/component-token.cjs +1 -0
- package/dist/utils/component-token.d.ts +2 -1
- package/dist/utils/component-token.mjs +1 -0
- package/dist/utils/date.cjs +13 -0
- package/dist/utils/date.d.ts +6 -0
- package/dist/utils/date.mjs +13 -0
- package/package.json +25 -25
- package/dist/components/icon/icons/three-dimension-rotation.d.ts +0 -3
- /package/dist/{components/steps/types.d.ts → types/steps.d.ts} +0 -0
- /package/dist/{components/switch/types.d.ts → types/switch.d.ts} +0 -0
- /package/dist/{components/tabs/types.d.ts → types/tabs.d.ts} +0 -0
- /package/dist/{components/tag/types.d.ts → types/tag.d.ts} +0 -0
- /package/dist/{components/time-picker/types.d.ts → types/time-picker.d.ts} +0 -0
- /package/dist/{components/timeline/types.d.ts → types/timeline.d.ts} +0 -0
- /package/dist/{components/tooltip/types.d.ts → types/tooltip.d.ts} +0 -0
- /package/dist/{components/transfer/types.d.ts → types/transfer.d.ts} +0 -0
- /package/dist/{components/visually-hidden/types.d.ts → types/visually-hidden.d.ts} +0 -0
- /package/dist/{components/watermark/types.d.ts → types/watermark.d.ts} +0 -0
|
@@ -18,8 +18,11 @@ var theme = require('../theme/theme.cjs');
|
|
|
18
18
|
var dom = require('@aiszlab/relax/dom');
|
|
19
19
|
var useClosable = require('../../hooks/use-closable.cjs');
|
|
20
20
|
var componentToken = require('../../utils/component-token.cjs');
|
|
21
|
+
var space = require('../space/space.cjs');
|
|
22
|
+
var button = require('../button/button.cjs');
|
|
23
|
+
var useLocale = require('../../locale/use-locale.cjs');
|
|
21
24
|
|
|
22
|
-
var _excluded = ["open", "onClose", "placement", "closable", "onClosed", "size", "className"];
|
|
25
|
+
var _excluded = ["open", "onClose", "placement", "closable", "onClosed", "size", "className", "onConfirm"];
|
|
23
26
|
var styles = {
|
|
24
27
|
popup: {
|
|
25
28
|
position: "musaex-ixxii4",
|
|
@@ -133,17 +136,28 @@ var styles = {
|
|
|
133
136
|
}(props.size)
|
|
134
137
|
}];
|
|
135
138
|
},
|
|
136
|
-
header: {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
139
|
+
header: function header(props) {
|
|
140
|
+
return [{
|
|
141
|
+
display: "musaex-78zum5",
|
|
142
|
+
paddingInline: "musaex-y0sash",
|
|
143
|
+
paddingStart: null,
|
|
144
|
+
paddingLeft: null,
|
|
145
|
+
paddingEnd: null,
|
|
146
|
+
paddingRight: null,
|
|
147
|
+
paddingBlock: "musaex-4g05pm",
|
|
148
|
+
paddingTop: null,
|
|
149
|
+
paddingBottom: null,
|
|
150
|
+
alignItems: "musaex-6s0dn4",
|
|
151
|
+
gap: "musaex-4ttznp",
|
|
152
|
+
rowGap: null,
|
|
153
|
+
columnGap: null,
|
|
154
|
+
borderBottomWidth: "musaex-cql0v9",
|
|
155
|
+
borderBottomStyle: "musaex-1q0q8m5",
|
|
156
|
+
borderBottomColor: "musaex-43481e",
|
|
157
|
+
$$css: true
|
|
158
|
+
}, {
|
|
159
|
+
"--borderBottomColor": props.outlineColor != null ? props.outlineColor : "initial"
|
|
160
|
+
}];
|
|
147
161
|
},
|
|
148
162
|
body: {
|
|
149
163
|
flex: "musaex-98rzlu",
|
|
@@ -160,6 +174,12 @@ var styles = {
|
|
|
160
174
|
paddingTop: null,
|
|
161
175
|
paddingBottom: null,
|
|
162
176
|
$$css: true
|
|
177
|
+
},
|
|
178
|
+
actions: {
|
|
179
|
+
marginInlineStart: "musaex-vc5jky",
|
|
180
|
+
marginLeft: null,
|
|
181
|
+
marginRight: null,
|
|
182
|
+
$$css: true
|
|
163
183
|
}
|
|
164
184
|
};
|
|
165
185
|
var Popup = function Popup(_ref) {
|
|
@@ -170,6 +190,7 @@ var Popup = function Popup(_ref) {
|
|
|
170
190
|
onClosed = _ref.onClosed,
|
|
171
191
|
size = _ref.size,
|
|
172
192
|
className$1 = _ref.className,
|
|
193
|
+
onConfirm = _ref.onConfirm,
|
|
173
194
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
174
195
|
var _useAnimate = framerMotion.useAnimate(),
|
|
175
196
|
_useAnimate2 = _slicedToArray(_useAnimate, 2),
|
|
@@ -180,7 +201,10 @@ var Popup = function Popup(_ref) {
|
|
|
180
201
|
var theme$1 = hooks.useTheme();
|
|
181
202
|
var panelRef = React.useRef(null);
|
|
182
203
|
var overlayRef = React.useRef(null);
|
|
183
|
-
|
|
204
|
+
var _useLocale = useLocale.useLocale(componentToken.ComponentToken.Drawer),
|
|
205
|
+
_useLocale2 = _slicedToArray(_useLocale, 1),
|
|
206
|
+
locale = _useLocale2[0];
|
|
207
|
+
// children render hooks
|
|
184
208
|
var _useClosable = useClosable.useClosable({
|
|
185
209
|
closable: closable,
|
|
186
210
|
onClose: onClose
|
|
@@ -224,7 +248,7 @@ var Popup = function Popup(_ref) {
|
|
|
224
248
|
}))();
|
|
225
249
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
226
250
|
}, [open].concat(_toConsumableArray(_placement)));
|
|
227
|
-
|
|
251
|
+
// when open, try focus dialog
|
|
228
252
|
React.useEffect(function () {
|
|
229
253
|
if (!open) return;
|
|
230
254
|
if (dom.contains(scope.current, document.activeElement)) return;
|
|
@@ -244,9 +268,14 @@ var Popup = function Popup(_ref) {
|
|
|
244
268
|
}), styles[placement]({
|
|
245
269
|
size: size
|
|
246
270
|
})),
|
|
247
|
-
header: stylex.default.props(theme.typography.body.large, styles.header
|
|
271
|
+
header: stylex.default.props(theme.typography.body.large, styles.header({
|
|
272
|
+
outlineColor: theme$1.colors[colors.ColorToken.Outline]
|
|
273
|
+
})),
|
|
248
274
|
body: {
|
|
249
275
|
className: "musaex-98rzlu musaex-ox8tdy"
|
|
276
|
+
},
|
|
277
|
+
actions: {
|
|
278
|
+
className: "musaex-vc5jky"
|
|
250
279
|
}
|
|
251
280
|
};
|
|
252
281
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -264,10 +293,15 @@ var Popup = function Popup(_ref) {
|
|
|
264
293
|
className: relax.clsx(classNames[className.DrawerClassToken.Panel], styled.panel.className),
|
|
265
294
|
style: styled.panel.style,
|
|
266
295
|
ref: panelRef
|
|
267
|
-
},
|
|
296
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
268
297
|
className: relax.clsx(classNames[className.DrawerClassToken.Header], styled.header.className),
|
|
269
298
|
style: styled.header.style
|
|
270
|
-
}, props.title
|
|
299
|
+
}, closer, props.title, /*#__PURE__*/React.createElement(space.default, {
|
|
300
|
+
className: styled.actions.className,
|
|
301
|
+
style: styled.actions.style
|
|
302
|
+
}, /*#__PURE__*/React.createElement(button.Button, {
|
|
303
|
+
onClick: onConfirm
|
|
304
|
+
}, locale.confirm))), /*#__PURE__*/React.createElement("div", {
|
|
271
305
|
className: relax.clsx(classNames[className.DrawerClassToken.Body], styled.body.className),
|
|
272
306
|
style: styled.body.style
|
|
273
307
|
}, props.children)));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { PopupProps } from "musae/types/drawer";
|
|
3
|
-
declare const Popup: ({ open, onClose, placement, closable, onClosed, size, className, ...props }: PopupProps) => React.JSX.Element;
|
|
3
|
+
declare const Popup: ({ open, onClose, placement, closable, onClosed, size, className, onConfirm, ...props }: PopupProps) => React.JSX.Element;
|
|
4
4
|
export default Popup;
|
|
@@ -16,8 +16,11 @@ import { typography } from '../theme/theme.mjs';
|
|
|
16
16
|
import { contains } from '@aiszlab/relax/dom';
|
|
17
17
|
import { useClosable } from '../../hooks/use-closable.mjs';
|
|
18
18
|
import { ComponentToken } from '../../utils/component-token.mjs';
|
|
19
|
+
import Space from '../space/space.mjs';
|
|
20
|
+
import { Button } from '../button/button.mjs';
|
|
21
|
+
import { useLocale } from '../../locale/use-locale.mjs';
|
|
19
22
|
|
|
20
|
-
var _excluded = ["open", "onClose", "placement", "closable", "onClosed", "size", "className"];
|
|
23
|
+
var _excluded = ["open", "onClose", "placement", "closable", "onClosed", "size", "className", "onConfirm"];
|
|
21
24
|
var styles = {
|
|
22
25
|
popup: {
|
|
23
26
|
position: "musaex-ixxii4",
|
|
@@ -131,17 +134,28 @@ var styles = {
|
|
|
131
134
|
}(props.size)
|
|
132
135
|
}];
|
|
133
136
|
},
|
|
134
|
-
header: {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
137
|
+
header: function header(props) {
|
|
138
|
+
return [{
|
|
139
|
+
display: "musaex-78zum5",
|
|
140
|
+
paddingInline: "musaex-y0sash",
|
|
141
|
+
paddingStart: null,
|
|
142
|
+
paddingLeft: null,
|
|
143
|
+
paddingEnd: null,
|
|
144
|
+
paddingRight: null,
|
|
145
|
+
paddingBlock: "musaex-4g05pm",
|
|
146
|
+
paddingTop: null,
|
|
147
|
+
paddingBottom: null,
|
|
148
|
+
alignItems: "musaex-6s0dn4",
|
|
149
|
+
gap: "musaex-4ttznp",
|
|
150
|
+
rowGap: null,
|
|
151
|
+
columnGap: null,
|
|
152
|
+
borderBottomWidth: "musaex-cql0v9",
|
|
153
|
+
borderBottomStyle: "musaex-1q0q8m5",
|
|
154
|
+
borderBottomColor: "musaex-43481e",
|
|
155
|
+
$$css: true
|
|
156
|
+
}, {
|
|
157
|
+
"--borderBottomColor": props.outlineColor != null ? props.outlineColor : "initial"
|
|
158
|
+
}];
|
|
145
159
|
},
|
|
146
160
|
body: {
|
|
147
161
|
flex: "musaex-98rzlu",
|
|
@@ -158,6 +172,12 @@ var styles = {
|
|
|
158
172
|
paddingTop: null,
|
|
159
173
|
paddingBottom: null,
|
|
160
174
|
$$css: true
|
|
175
|
+
},
|
|
176
|
+
actions: {
|
|
177
|
+
marginInlineStart: "musaex-vc5jky",
|
|
178
|
+
marginLeft: null,
|
|
179
|
+
marginRight: null,
|
|
180
|
+
$$css: true
|
|
161
181
|
}
|
|
162
182
|
};
|
|
163
183
|
var Popup = function Popup(_ref) {
|
|
@@ -168,6 +188,7 @@ var Popup = function Popup(_ref) {
|
|
|
168
188
|
onClosed = _ref.onClosed,
|
|
169
189
|
size = _ref.size,
|
|
170
190
|
className = _ref.className,
|
|
191
|
+
onConfirm = _ref.onConfirm,
|
|
171
192
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
172
193
|
var _useAnimate = useAnimate(),
|
|
173
194
|
_useAnimate2 = _slicedToArray(_useAnimate, 2),
|
|
@@ -178,7 +199,10 @@ var Popup = function Popup(_ref) {
|
|
|
178
199
|
var theme = useTheme();
|
|
179
200
|
var panelRef = useRef(null);
|
|
180
201
|
var overlayRef = useRef(null);
|
|
181
|
-
|
|
202
|
+
var _useLocale = useLocale(ComponentToken.Drawer),
|
|
203
|
+
_useLocale2 = _slicedToArray(_useLocale, 1),
|
|
204
|
+
locale = _useLocale2[0];
|
|
205
|
+
// children render hooks
|
|
182
206
|
var _useClosable = useClosable({
|
|
183
207
|
closable: closable,
|
|
184
208
|
onClose: onClose
|
|
@@ -222,7 +246,7 @@ var Popup = function Popup(_ref) {
|
|
|
222
246
|
}))();
|
|
223
247
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
224
248
|
}, [open].concat(_toConsumableArray(_placement)));
|
|
225
|
-
|
|
249
|
+
// when open, try focus dialog
|
|
226
250
|
useEffect(function () {
|
|
227
251
|
if (!open) return;
|
|
228
252
|
if (contains(scope.current, document.activeElement)) return;
|
|
@@ -242,9 +266,14 @@ var Popup = function Popup(_ref) {
|
|
|
242
266
|
}), styles[placement]({
|
|
243
267
|
size: size
|
|
244
268
|
})),
|
|
245
|
-
header: _stylex.props(typography.body.large, styles.header
|
|
269
|
+
header: _stylex.props(typography.body.large, styles.header({
|
|
270
|
+
outlineColor: theme.colors[ColorToken.Outline]
|
|
271
|
+
})),
|
|
246
272
|
body: {
|
|
247
273
|
className: "musaex-98rzlu musaex-ox8tdy"
|
|
274
|
+
},
|
|
275
|
+
actions: {
|
|
276
|
+
className: "musaex-vc5jky"
|
|
248
277
|
}
|
|
249
278
|
};
|
|
250
279
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -262,10 +291,15 @@ var Popup = function Popup(_ref) {
|
|
|
262
291
|
className: clsx(classNames[DrawerClassToken.Panel], styled.panel.className),
|
|
263
292
|
style: styled.panel.style,
|
|
264
293
|
ref: panelRef
|
|
265
|
-
},
|
|
294
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
266
295
|
className: clsx(classNames[DrawerClassToken.Header], styled.header.className),
|
|
267
296
|
style: styled.header.style
|
|
268
|
-
}, props.title
|
|
297
|
+
}, closer, props.title, /*#__PURE__*/React.createElement(Space, {
|
|
298
|
+
className: styled.actions.className,
|
|
299
|
+
style: styled.actions.style
|
|
300
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
301
|
+
onClick: onConfirm
|
|
302
|
+
}, locale.confirm))), /*#__PURE__*/React.createElement("div", {
|
|
269
303
|
className: clsx(classNames[DrawerClassToken.Body], styled.body.className),
|
|
270
304
|
style: styled.body.style
|
|
271
305
|
}, props.children)));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { FloatableProps, FloatableRef } from "
|
|
2
|
+
import type { FloatableProps, FloatableRef } from "musae/types/fab";
|
|
3
3
|
declare const Floatable: React.ForwardRefExoticComponent<FloatableProps & React.RefAttributes<FloatableRef>>;
|
|
4
4
|
export default Floatable;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
var hoc = require('../../hoc.cjs');
|
|
5
|
+
|
|
6
|
+
var Delete = hoc.withIcon(function (_ref) {
|
|
7
|
+
var size = _ref.size;
|
|
8
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
width: size,
|
|
11
|
+
height: size,
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
fill: "none"
|
|
14
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
d: "M16 9V19H8V9H16ZM14.5 3H9.5L8.5 4H5V6H19V4H15.5L14.5 3ZM18 7H6V19C6 20.1 6.9 21 8 21H16C17.1 21 18 20.1 18 19V7Z",
|
|
16
|
+
fill: "currentColor"
|
|
17
|
+
}));
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
exports.default = Delete;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { withIcon } from '../../hoc.mjs';
|
|
3
|
+
|
|
4
|
+
var Delete = withIcon(function (_ref) {
|
|
5
|
+
var size = _ref.size;
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
d: "M16 9V19H8V9H16ZM14.5 3H9.5L8.5 4H5V6H19V4H15.5L14.5 3ZM18 7H6V19C6 20.1 6.9 21 8 21H16C17.1 21 18 20.1 18 19V7Z",
|
|
14
|
+
fill: "currentColor"
|
|
15
|
+
}));
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { Delete as default };
|
|
@@ -13,6 +13,8 @@ var doneOutline = require('./done-outline.cjs');
|
|
|
13
13
|
var translate = require('./translate.cjs');
|
|
14
14
|
var code = require('./code.cjs');
|
|
15
15
|
var openInNew = require('./open-in-new.cjs');
|
|
16
|
+
var _delete = require('./delete.cjs');
|
|
17
|
+
var threeDRotation = require('./three-d-rotation.cjs');
|
|
16
18
|
|
|
17
19
|
var _ = {
|
|
18
20
|
Visibility: visibility.default,
|
|
@@ -27,7 +29,9 @@ var _ = {
|
|
|
27
29
|
DoneOutline: doneOutline.default,
|
|
28
30
|
Translate: translate.default,
|
|
29
31
|
Code: code.default,
|
|
30
|
-
OpenInNew: openInNew.default
|
|
32
|
+
OpenInNew: openInNew.default,
|
|
33
|
+
Delete: _delete.default,
|
|
34
|
+
ThreeDRotation: threeDRotation.default
|
|
31
35
|
};
|
|
32
36
|
|
|
33
37
|
exports.Visibility = visibility.default;
|
|
@@ -43,4 +47,6 @@ exports.DoneOutline = doneOutline.default;
|
|
|
43
47
|
exports.Translate = translate.default;
|
|
44
48
|
exports.Code = code.default;
|
|
45
49
|
exports.OpenInNew = openInNew.default;
|
|
50
|
+
exports.Delete = _delete.default;
|
|
51
|
+
exports.ThreeDRotation = threeDRotation.default;
|
|
46
52
|
exports.default = _;
|
|
@@ -11,6 +11,8 @@ import DoneOutline from "./done-outline";
|
|
|
11
11
|
import Translate from "./translate";
|
|
12
12
|
import Code from "./code";
|
|
13
13
|
import OpenInNew from "./open-in-new";
|
|
14
|
+
import Delete from "./delete";
|
|
15
|
+
import ThreeDRotation from "./three-d-rotation";
|
|
14
16
|
declare const _: {
|
|
15
17
|
Visibility: (props: Omit<import("../../../../types/icon").IconProps, "as">) => import("react").FunctionComponentElement<import("../../../../types/icon").IconProps>;
|
|
16
18
|
VisibilityOff: (props: Omit<import("../../../../types/icon").IconProps, "as">) => import("react").FunctionComponentElement<import("../../../../types/icon").IconProps>;
|
|
@@ -25,6 +27,8 @@ declare const _: {
|
|
|
25
27
|
Translate: (props: Omit<import("../../../../types/icon").IconProps, "as">) => import("react").FunctionComponentElement<import("../../../../types/icon").IconProps>;
|
|
26
28
|
Code: (props: Omit<import("../../../../types/icon").IconProps, "as">) => import("react").FunctionComponentElement<import("../../../../types/icon").IconProps>;
|
|
27
29
|
OpenInNew: (props: Omit<import("../../../../types/icon").IconProps, "as">) => import("react").FunctionComponentElement<import("../../../../types/icon").IconProps>;
|
|
30
|
+
Delete: (props: Omit<import("../../../../types/icon").IconProps, "as">) => import("react").FunctionComponentElement<import("../../../../types/icon").IconProps>;
|
|
31
|
+
ThreeDRotation: (props: Omit<import("../../../../types/icon").IconProps, "as">) => import("react").FunctionComponentElement<import("../../../../types/icon").IconProps>;
|
|
28
32
|
};
|
|
29
33
|
export default _;
|
|
30
|
-
export { Visibility, VisibilityOff, CheckCircleOutline, Done, CheckCircle, SwapHoriz, SwapVert, ZoomOut, ZoomIn, DoneOutline, Translate, Code, OpenInNew, };
|
|
34
|
+
export { Visibility, VisibilityOff, CheckCircleOutline, Done, CheckCircle, SwapHoriz, SwapVert, ZoomOut, ZoomIn, DoneOutline, Translate, Code, OpenInNew, Delete, ThreeDRotation, };
|
|
@@ -11,6 +11,8 @@ import DoneOutline from './done-outline.mjs';
|
|
|
11
11
|
import Translate from './translate.mjs';
|
|
12
12
|
import Code from './code.mjs';
|
|
13
13
|
import OpenInNew from './open-in-new.mjs';
|
|
14
|
+
import Delete from './delete.mjs';
|
|
15
|
+
import ThreeDRotation from './three-d-rotation.mjs';
|
|
14
16
|
|
|
15
17
|
var _ = {
|
|
16
18
|
Visibility: Visibility,
|
|
@@ -25,7 +27,9 @@ var _ = {
|
|
|
25
27
|
DoneOutline: DoneOutline,
|
|
26
28
|
Translate: Translate,
|
|
27
29
|
Code: Code,
|
|
28
|
-
OpenInNew: OpenInNew
|
|
30
|
+
OpenInNew: OpenInNew,
|
|
31
|
+
Delete: Delete,
|
|
32
|
+
ThreeDRotation: ThreeDRotation
|
|
29
33
|
};
|
|
30
34
|
|
|
31
|
-
export { CheckCircle, CheckCircleOutline, Code, Done, DoneOutline, OpenInNew, SwapHoriz, SwapVert, Translate, Visibility, VisibilityOff, ZoomIn, ZoomOut, _ as default };
|
|
35
|
+
export { CheckCircle, CheckCircleOutline, Code, Delete, Done, DoneOutline, OpenInNew, SwapHoriz, SwapVert, ThreeDRotation, Translate, Visibility, VisibilityOff, ZoomIn, ZoomOut, _ as default };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
var hoc = require('../../hoc.cjs');
|
|
5
|
+
|
|
6
|
+
var ThreeDRotation = hoc.withIcon(function (_ref) {
|
|
7
|
+
var size = _ref.size;
|
|
8
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
width: size,
|
|
11
|
+
height: size,
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
fill: "none"
|
|
14
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
15
|
+
clipPath: "url(#clip0_2403_6070)"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17
|
+
d: "M7.52499 21.48C4.25499 19.94 1.91499 16.76 1.55499 13H0.0549927C0.564993 19.16 5.71499 24 12.005 24L12.665 23.97L8.85499 20.16L7.52499 21.48ZM8.41499 14.96C8.22499 14.96 8.04499 14.93 7.89499 14.88C7.73499 14.82 7.60499 14.75 7.49499 14.64C7.38499 14.54 7.29499 14.42 7.23499 14.27C7.17499 14.13 7.14499 13.97 7.14499 13.8H5.84499C5.84499 14.16 5.91499 14.48 6.05499 14.75C6.19499 15.02 6.38499 15.25 6.61499 15.44C6.85499 15.62 7.12499 15.76 7.43499 15.85C7.73499 15.95 8.05499 16 8.39499 16C8.76499 16 9.11499 15.95 9.42499 15.85C9.74499 15.75 10.025 15.6 10.255 15.41C10.485 15.22 10.675 14.98 10.805 14.69C10.935 14.4 11.005 14.08 11.005 13.72C11.005 13.53 10.985 13.34 10.935 13.16C10.885 12.98 10.815 12.81 10.705 12.65C10.605 12.49 10.465 12.35 10.305 12.22C10.135 12.09 9.93499 11.99 9.69499 11.91C9.89499 11.82 10.065 11.71 10.215 11.58C10.365 11.45 10.485 11.31 10.585 11.16C10.685 11.01 10.755 10.86 10.805 10.7C10.855 10.54 10.875 10.38 10.875 10.22C10.875 9.86 10.815 9.54 10.695 9.26C10.575 8.98 10.405 8.75 10.185 8.57C9.98499 8.38 9.71499 8.24 9.41499 8.14C9.10499 8.05 8.76499 8 8.39499 8C8.03499 8 7.70499 8.05 7.39499 8.16C7.09499 8.27 6.82499 8.42 6.60499 8.61C6.39499 8.8 6.22499 9.02 6.09499 9.28C5.97499 9.54 5.91499 9.82 5.91499 10.13H7.21499C7.21499 9.96 7.24499 9.81 7.30499 9.68C7.36499 9.55 7.44499 9.43 7.55499 9.34C7.66499 9.25 7.78499 9.17 7.93499 9.12C8.08499 9.07 8.23499 9.04 8.41499 9.04C8.81499 9.04 9.11499 9.14 9.30499 9.35C9.49499 9.55 9.59499 9.84 9.59499 10.21C9.59499 10.39 9.56499 10.55 9.51499 10.7C9.46499 10.85 9.37499 10.97 9.26499 11.07C9.15499 11.17 9.01499 11.25 8.85499 11.31C8.69499 11.37 8.49499 11.4 8.27499 11.4H7.50499V12.43H8.27499C8.49499 12.43 8.69499 12.45 8.87499 12.5C9.05499 12.55 9.20499 12.63 9.32499 12.73C9.44499 12.84 9.54499 12.97 9.61499 13.13C9.68499 13.29 9.71499 13.48 9.71499 13.7C9.71499 14.11 9.59499 14.42 9.36499 14.63C9.13499 14.86 8.81499 14.96 8.41499 14.96ZM16.965 9.04C16.645 8.71 16.265 8.45 15.825 8.27C15.385 8.09 14.895 8 14.355 8H11.995V16H14.295C14.845 16 15.355 15.91 15.805 15.73C16.255 15.55 16.645 15.3 16.965 14.97C17.285 14.64 17.535 14.24 17.705 13.78C17.875 13.31 17.965 12.79 17.965 12.21V11.81C17.965 11.23 17.875 10.71 17.705 10.24C17.535 9.77 17.285 9.37 16.965 9.04ZM16.575 12.2C16.575 12.62 16.525 12.99 16.435 13.33C16.335 13.66 16.195 13.95 16.005 14.18C15.815 14.41 15.575 14.59 15.295 14.71C15.005 14.83 14.675 14.89 14.305 14.89H13.395V9.12H14.365C15.085 9.12 15.635 9.35 16.005 9.81C16.385 10.27 16.575 10.93 16.575 11.8V12.2ZM12.005 0L11.345 0.03L15.155 3.84L16.485 2.51C19.755 4.06 22.095 7.23 22.445 10.99H23.945C23.445 4.84 18.295 0 12.005 0Z",
|
|
18
|
+
fill: "currentColor"
|
|
19
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
20
|
+
id: "clip0_2403_6070"
|
|
21
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
22
|
+
width: "24",
|
|
23
|
+
height: "24",
|
|
24
|
+
fill: "currentColor"
|
|
25
|
+
}))));
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
exports.default = ThreeDRotation;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { withIcon } from '../../hoc.mjs';
|
|
3
|
+
|
|
4
|
+
var ThreeDRotation = withIcon(function (_ref) {
|
|
5
|
+
var size = _ref.size;
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
13
|
+
clipPath: "url(#clip0_2403_6070)"
|
|
14
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
d: "M7.52499 21.48C4.25499 19.94 1.91499 16.76 1.55499 13H0.0549927C0.564993 19.16 5.71499 24 12.005 24L12.665 23.97L8.85499 20.16L7.52499 21.48ZM8.41499 14.96C8.22499 14.96 8.04499 14.93 7.89499 14.88C7.73499 14.82 7.60499 14.75 7.49499 14.64C7.38499 14.54 7.29499 14.42 7.23499 14.27C7.17499 14.13 7.14499 13.97 7.14499 13.8H5.84499C5.84499 14.16 5.91499 14.48 6.05499 14.75C6.19499 15.02 6.38499 15.25 6.61499 15.44C6.85499 15.62 7.12499 15.76 7.43499 15.85C7.73499 15.95 8.05499 16 8.39499 16C8.76499 16 9.11499 15.95 9.42499 15.85C9.74499 15.75 10.025 15.6 10.255 15.41C10.485 15.22 10.675 14.98 10.805 14.69C10.935 14.4 11.005 14.08 11.005 13.72C11.005 13.53 10.985 13.34 10.935 13.16C10.885 12.98 10.815 12.81 10.705 12.65C10.605 12.49 10.465 12.35 10.305 12.22C10.135 12.09 9.93499 11.99 9.69499 11.91C9.89499 11.82 10.065 11.71 10.215 11.58C10.365 11.45 10.485 11.31 10.585 11.16C10.685 11.01 10.755 10.86 10.805 10.7C10.855 10.54 10.875 10.38 10.875 10.22C10.875 9.86 10.815 9.54 10.695 9.26C10.575 8.98 10.405 8.75 10.185 8.57C9.98499 8.38 9.71499 8.24 9.41499 8.14C9.10499 8.05 8.76499 8 8.39499 8C8.03499 8 7.70499 8.05 7.39499 8.16C7.09499 8.27 6.82499 8.42 6.60499 8.61C6.39499 8.8 6.22499 9.02 6.09499 9.28C5.97499 9.54 5.91499 9.82 5.91499 10.13H7.21499C7.21499 9.96 7.24499 9.81 7.30499 9.68C7.36499 9.55 7.44499 9.43 7.55499 9.34C7.66499 9.25 7.78499 9.17 7.93499 9.12C8.08499 9.07 8.23499 9.04 8.41499 9.04C8.81499 9.04 9.11499 9.14 9.30499 9.35C9.49499 9.55 9.59499 9.84 9.59499 10.21C9.59499 10.39 9.56499 10.55 9.51499 10.7C9.46499 10.85 9.37499 10.97 9.26499 11.07C9.15499 11.17 9.01499 11.25 8.85499 11.31C8.69499 11.37 8.49499 11.4 8.27499 11.4H7.50499V12.43H8.27499C8.49499 12.43 8.69499 12.45 8.87499 12.5C9.05499 12.55 9.20499 12.63 9.32499 12.73C9.44499 12.84 9.54499 12.97 9.61499 13.13C9.68499 13.29 9.71499 13.48 9.71499 13.7C9.71499 14.11 9.59499 14.42 9.36499 14.63C9.13499 14.86 8.81499 14.96 8.41499 14.96ZM16.965 9.04C16.645 8.71 16.265 8.45 15.825 8.27C15.385 8.09 14.895 8 14.355 8H11.995V16H14.295C14.845 16 15.355 15.91 15.805 15.73C16.255 15.55 16.645 15.3 16.965 14.97C17.285 14.64 17.535 14.24 17.705 13.78C17.875 13.31 17.965 12.79 17.965 12.21V11.81C17.965 11.23 17.875 10.71 17.705 10.24C17.535 9.77 17.285 9.37 16.965 9.04ZM16.575 12.2C16.575 12.62 16.525 12.99 16.435 13.33C16.335 13.66 16.195 13.95 16.005 14.18C15.815 14.41 15.575 14.59 15.295 14.71C15.005 14.83 14.675 14.89 14.305 14.89H13.395V9.12H14.365C15.085 9.12 15.635 9.35 16.005 9.81C16.385 10.27 16.575 10.93 16.575 11.8V12.2ZM12.005 0L11.345 0.03L15.155 3.84L16.485 2.51C19.755 4.06 22.095 7.23 22.445 10.99H23.945C23.445 4.84 18.295 0 12.005 0Z",
|
|
16
|
+
fill: "currentColor"
|
|
17
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
18
|
+
id: "clip0_2403_6070"
|
|
19
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
20
|
+
width: "24",
|
|
21
|
+
height: "24",
|
|
22
|
+
fill: "currentColor"
|
|
23
|
+
}))));
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
export { ThreeDRotation as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
var hoc = require('../../hoc.cjs');
|
|
5
|
+
|
|
6
|
+
var AttachFile = hoc.withIcon(function (_ref) {
|
|
7
|
+
var size = _ref.size;
|
|
8
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
width: size,
|
|
11
|
+
height: size,
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
fill: "none"
|
|
14
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
d: "M16 6V17.5C16 19.71 14.21 21.5 12 21.5C9.79 21.5 8 19.71 8 17.5V5C8 3.62 9.12 2.5 10.5 2.5C11.88 2.5 13 3.62 13 5V15.5C13 16.05 12.55 16.5 12 16.5C11.45 16.5 11 16.05 11 15.5V6H9.5V15.5C9.5 16.88 10.62 18 12 18C13.38 18 14.5 16.88 14.5 15.5V5C14.5 2.79 12.71 1 10.5 1C8.29 1 6.5 2.79 6.5 5V17.5C6.5 20.54 8.96 23 12 23C15.04 23 17.5 20.54 17.5 17.5V6H16Z",
|
|
16
|
+
fill: "currentColor"
|
|
17
|
+
}));
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
exports.default = AttachFile;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { withIcon } from '../../hoc.mjs';
|
|
3
|
+
|
|
4
|
+
var AttachFile = withIcon(function (_ref) {
|
|
5
|
+
var size = _ref.size;
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
d: "M16 6V17.5C16 19.71 14.21 21.5 12 21.5C9.79 21.5 8 19.71 8 17.5V5C8 3.62 9.12 2.5 10.5 2.5C11.88 2.5 13 3.62 13 5V15.5C13 16.05 12.55 16.5 12 16.5C11.45 16.5 11 16.05 11 15.5V6H9.5V15.5C9.5 16.88 10.62 18 12 18C13.38 18 14.5 16.88 14.5 15.5V5C14.5 2.79 12.71 1 10.5 1C8.29 1 6.5 2.79 6.5 5V17.5C6.5 20.54 8.96 23 12 23C15.04 23 17.5 20.54 17.5 17.5V6H16Z",
|
|
14
|
+
fill: "currentColor"
|
|
15
|
+
}));
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { AttachFile as default };
|
|
@@ -9,6 +9,7 @@ var subscript = require('./subscript.cjs');
|
|
|
9
9
|
var superscript = require('./superscript.cjs');
|
|
10
10
|
var notes = require('./notes.cjs');
|
|
11
11
|
var checklist = require('./checklist.cjs');
|
|
12
|
+
var attchFile = require('./attch-file.cjs');
|
|
12
13
|
|
|
13
14
|
var _ = {
|
|
14
15
|
FormatBold: formatBold.default,
|
|
@@ -19,7 +20,8 @@ var _ = {
|
|
|
19
20
|
Subscript: subscript.default,
|
|
20
21
|
Superscript: superscript.default,
|
|
21
22
|
Notes: notes.default,
|
|
22
|
-
Checklist: checklist.default
|
|
23
|
+
Checklist: checklist.default,
|
|
24
|
+
AttachFile: attchFile.default
|
|
23
25
|
};
|
|
24
26
|
|
|
25
27
|
exports.FormatBold = formatBold.default;
|
|
@@ -31,4 +33,5 @@ exports.Subscript = subscript.default;
|
|
|
31
33
|
exports.Superscript = superscript.default;
|
|
32
34
|
exports.Notes = notes.default;
|
|
33
35
|
exports.Checklist = checklist.default;
|
|
36
|
+
exports.AttachFile = attchFile.default;
|
|
34
37
|
exports.default = _;
|
|
@@ -7,6 +7,7 @@ import Subscript from "./subscript";
|
|
|
7
7
|
import Superscript from "./superscript";
|
|
8
8
|
import Notes from "./notes";
|
|
9
9
|
import Checklist from "./checklist";
|
|
10
|
+
import AttachFile from "./attch-file";
|
|
10
11
|
declare const _: {
|
|
11
12
|
FormatBold: (props: Omit<import("../../../../types/icon").IconProps, "as">) => import("react").FunctionComponentElement<import("../../../../types/icon").IconProps>;
|
|
12
13
|
FormatItalic: (props: Omit<import("../../../../types/icon").IconProps, "as">) => import("react").FunctionComponentElement<import("../../../../types/icon").IconProps>;
|
|
@@ -17,6 +18,7 @@ declare const _: {
|
|
|
17
18
|
Superscript: (props: Omit<import("../../../../types/icon").IconProps, "as">) => import("react").FunctionComponentElement<import("../../../../types/icon").IconProps>;
|
|
18
19
|
Notes: (props: Omit<import("../../../../types/icon").IconProps, "as">) => import("react").FunctionComponentElement<import("../../../../types/icon").IconProps>;
|
|
19
20
|
Checklist: (props: Omit<import("../../../../types/icon").IconProps, "as">) => import("react").FunctionComponentElement<import("../../../../types/icon").IconProps>;
|
|
21
|
+
AttachFile: (props: Omit<import("../../../../types/icon").IconProps, "as">) => import("react").FunctionComponentElement<import("../../../../types/icon").IconProps>;
|
|
20
22
|
};
|
|
21
23
|
export default _;
|
|
22
|
-
export { FormatBold, FormatItalic, FormatUnderlined, InsertLink, FormatStrikethrough, Subscript, Superscript, Notes, Checklist, };
|
|
24
|
+
export { FormatBold, FormatItalic, FormatUnderlined, InsertLink, FormatStrikethrough, Subscript, Superscript, Notes, Checklist, AttachFile, };
|
|
@@ -7,6 +7,7 @@ import Subscript from './subscript.mjs';
|
|
|
7
7
|
import Superscript from './superscript.mjs';
|
|
8
8
|
import Notes from './notes.mjs';
|
|
9
9
|
import Checklist from './checklist.mjs';
|
|
10
|
+
import AttachFile from './attch-file.mjs';
|
|
10
11
|
|
|
11
12
|
var _ = {
|
|
12
13
|
FormatBold: FormatBold,
|
|
@@ -17,7 +18,8 @@ var _ = {
|
|
|
17
18
|
Subscript: Subscript,
|
|
18
19
|
Superscript: Superscript,
|
|
19
20
|
Notes: Notes,
|
|
20
|
-
Checklist: Checklist
|
|
21
|
+
Checklist: Checklist,
|
|
22
|
+
AttachFile: AttachFile
|
|
21
23
|
};
|
|
22
24
|
|
|
23
|
-
export { Checklist, FormatBold, FormatItalic, FormatStrikethrough, FormatUnderlined, InsertLink, Notes, Subscript, Superscript, _ as default };
|
|
25
|
+
export { AttachFile, Checklist, FormatBold, FormatItalic, FormatStrikethrough, FormatUnderlined, InsertLink, Notes, Subscript, Superscript, _ as default };
|
|
@@ -11,6 +11,8 @@ var doneOutline = require('./action/done-outline.cjs');
|
|
|
11
11
|
var translate = require('./action/translate.cjs');
|
|
12
12
|
var code = require('./action/code.cjs');
|
|
13
13
|
var openInNew = require('./action/open-in-new.cjs');
|
|
14
|
+
var _delete = require('./action/delete.cjs');
|
|
15
|
+
var threeDRotation = require('./action/three-d-rotation.cjs');
|
|
14
16
|
var errorOutline = require('./alert/error-outline.cjs');
|
|
15
17
|
var addAlert = require('./alert/add-alert.cjs');
|
|
16
18
|
var autoDelete = require('./alert/auto-delete.cjs');
|
|
@@ -57,6 +59,7 @@ var subscript = require('./editor/subscript.cjs');
|
|
|
57
59
|
var superscript = require('./editor/superscript.cjs');
|
|
58
60
|
var notes = require('./editor/notes.cjs');
|
|
59
61
|
var checklist = require('./editor/checklist.cjs');
|
|
62
|
+
var attchFile = require('./editor/attch-file.cjs');
|
|
60
63
|
var github = require('./mock/github.cjs');
|
|
61
64
|
var loading = require('./mock/loading.cjs');
|
|
62
65
|
|
|
@@ -75,6 +78,8 @@ exports.DoneOutline = doneOutline.default;
|
|
|
75
78
|
exports.Translate = translate.default;
|
|
76
79
|
exports.Code = code.default;
|
|
77
80
|
exports.OpenInNew = openInNew.default;
|
|
81
|
+
exports.Delete = _delete.default;
|
|
82
|
+
exports.ThreeDRotation = threeDRotation.default;
|
|
78
83
|
exports.ErrorOutline = errorOutline.default;
|
|
79
84
|
exports.AddAlert = addAlert.default;
|
|
80
85
|
exports.AutoDelete = autoDelete.default;
|
|
@@ -121,5 +126,6 @@ exports.Subscript = subscript.default;
|
|
|
121
126
|
exports.Superscript = superscript.default;
|
|
122
127
|
exports.Notes = notes.default;
|
|
123
128
|
exports.Checklist = checklist.default;
|
|
129
|
+
exports.AttachFile = attchFile.default;
|
|
124
130
|
exports.Github = github.default;
|
|
125
131
|
exports.Loading = loading.default;
|
|
@@ -11,6 +11,8 @@ export { default as DoneOutline } from './action/done-outline.mjs';
|
|
|
11
11
|
export { default as Translate } from './action/translate.mjs';
|
|
12
12
|
export { default as Code } from './action/code.mjs';
|
|
13
13
|
export { default as OpenInNew } from './action/open-in-new.mjs';
|
|
14
|
+
export { default as Delete } from './action/delete.mjs';
|
|
15
|
+
export { default as ThreeDRotation } from './action/three-d-rotation.mjs';
|
|
14
16
|
export { default as ErrorOutline } from './alert/error-outline.mjs';
|
|
15
17
|
export { default as AddAlert } from './alert/add-alert.mjs';
|
|
16
18
|
export { default as AutoDelete } from './alert/auto-delete.mjs';
|
|
@@ -57,5 +59,6 @@ export { default as Subscript } from './editor/subscript.mjs';
|
|
|
57
59
|
export { default as Superscript } from './editor/superscript.mjs';
|
|
58
60
|
export { default as Notes } from './editor/notes.mjs';
|
|
59
61
|
export { default as Checklist } from './editor/checklist.mjs';
|
|
62
|
+
export { default as AttachFile } from './editor/attch-file.mjs';
|
|
60
63
|
export { default as Github } from './mock/github.mjs';
|
|
61
64
|
export { default as Loading } from './mock/loading.mjs';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React, { type ReactNode } from "react";
|
|
2
|
-
import type { ContextValue, MenuProps, Mode } from "musae/types/menu";
|
|
3
|
-
import type { Size } from "musae/types/element";
|
|
2
|
+
import type { ContextValue, MenuProps, Mode, Size } from "musae/types/menu";
|
|
4
3
|
/**
|
|
5
4
|
* @description
|
|
6
5
|
* use menu context
|
|
@@ -5,13 +5,12 @@ import React from "react";
|
|
|
5
5
|
* @description
|
|
6
6
|
* menu item
|
|
7
7
|
*/
|
|
8
|
-
declare const Item: React.ForwardRefExoticComponent<Omit<import("musae/types/menu").MenuItem, "children" | "key"> & {
|
|
9
|
-
level: number;
|
|
10
|
-
} & import("../../types/element").ComponentProps & {
|
|
8
|
+
declare const Item: React.ForwardRefExoticComponent<Omit<import("musae/types/menu").MenuItem, "children" | "key"> & import("../../types/element").ComponentProps & {
|
|
11
9
|
value: React.Key;
|
|
12
10
|
suffix?: React.ReactNode;
|
|
13
11
|
onClick?: import("musae/types/menu").ContextValue["click"];
|
|
14
12
|
children?: React.ReactNode;
|
|
15
13
|
mode: import("musae/types/menu").Mode;
|
|
14
|
+
level: number;
|
|
16
15
|
} & React.RefAttributes<HTMLLIElement>>;
|
|
17
16
|
export default Item;
|
|
@@ -55,7 +55,7 @@ var Pagination = function Pagination(_ref) {
|
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
var sizeOptions = React.useMemo(function () {
|
|
58
|
-
return
|
|
58
|
+
return relax.unique(pageSizes).map(function (size) {
|
|
59
59
|
return {
|
|
60
60
|
value: size,
|
|
61
61
|
label: relax.toFunction(locale.size)(size)
|