@bolio-ui/core 3.0.0-alpha.2 → 3.0.0
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/Alert/Alert.d.ts +20 -0
- package/dist/Alert/index.d.ts +3 -0
- package/dist/Alert/index.js +16 -0
- package/dist/BolioUIProvider/index.js +7 -6
- package/dist/Button/index.js +3 -3
- package/dist/ButtonDropdown/index.js +3 -2
- package/dist/Calendar/index.js +2 -2
- package/dist/Chip/Chip.d.ts +17 -0
- package/dist/Chip/ChipContext.d.ts +11 -0
- package/dist/Chip/ChipGroup.d.ts +16 -0
- package/dist/Chip/index.d.ts +9 -0
- package/dist/Chip/index.js +15 -0
- package/dist/ColorInput/index.js +3 -2
- package/dist/Combobox/index.js +3 -2
- package/dist/Command/index.js +9 -8
- package/dist/ContextMenu/index.js +5 -4
- package/dist/DatePicker/index.js +4 -3
- package/dist/DateRangePicker/index.js +4 -3
- package/dist/Drawer/index.js +6 -5
- package/dist/Grid/Grid.d.ts +16 -16
- package/dist/Grid/GridContainer.d.ts +16 -16
- package/dist/Mention/Mention.d.ts +25 -0
- package/dist/Mention/index.d.ts +3 -0
- package/dist/Mention/index.js +17 -0
- package/dist/Menu/index.js +4 -3
- package/dist/Modal/index.js +8 -7
- package/dist/Note/Note.d.ts +10 -0
- package/dist/Note/index.js +3 -2
- package/dist/Popover/index.js +4 -3
- package/dist/Select/index.js +7 -6
- package/dist/Table/index.js +3 -3
- package/dist/Toolbar/Toolbar.d.ts +11 -0
- package/dist/Toolbar/ToolbarSeparator.d.ts +4 -0
- package/dist/Toolbar/index.d.ts +9 -0
- package/dist/Toolbar/index.js +14 -0
- package/dist/Tooltip/index.js +3 -2
- package/dist/Tour/index.js +5 -4
- package/dist/{chunk-PGQYW6YF.js → chunk-25NFUHLR.js} +12 -8
- package/dist/{chunk-AFBCMW2I.js → chunk-26KDVRFS.js} +1 -3
- package/dist/{chunk-4ZGR7UMX.js → chunk-4DH6SOK4.js} +10 -6
- package/dist/chunk-CGS2MT3G.js +10 -0
- package/dist/{chunk-6ZBFUZSL.js → chunk-CU6SNPIM.js} +25 -22
- package/dist/chunk-CY5KTINE.js +107 -0
- package/dist/{chunk-IJGIEX5J.js → chunk-DEMQXB46.js} +6 -2
- package/dist/{chunk-3S6G7WGK.js → chunk-DYYSUJ35.js} +2 -2
- package/dist/chunk-EUYSKHRS.js +13 -0
- package/dist/{chunk-FL6J36B7.js → chunk-FLUNRVVG.js} +9 -5
- package/dist/chunk-FQWH4PDK.js +165 -0
- package/dist/chunk-FSO65ZAH.js +249 -0
- package/dist/{chunk-2EYJZXS4.js → chunk-ICACLCJR.js} +13 -8
- package/dist/{chunk-XF4TPE2W.js → chunk-IL7L3BEL.js} +7 -2
- package/dist/{chunk-MGHMAZRL.js → chunk-KRSISARC.js} +7 -3
- package/dist/{chunk-4QA7Z7VP.js → chunk-M64V32WO.js} +6 -3
- package/dist/chunk-Q3I54DUS.js +131 -0
- package/dist/{chunk-SGWX6H4Y.js → chunk-RWRFOGCU.js} +6 -2
- package/dist/{chunk-STYC6O24.js → chunk-SJVWKNGY.js} +10 -6
- package/dist/{chunk-P245HSVB.js → chunk-TLVSZCKU.js} +2 -1
- package/dist/{chunk-AG2NWQYL.js → chunk-WCTANCLG.js} +3 -1
- package/dist/{chunk-DIMJQLWY.js → chunk-XUNC7RB7.js} +9 -5
- package/dist/{chunk-GGCVPMXO.js → chunk-Y432C24Z.js} +2 -2
- package/dist/{chunk-BHQRX76X.js → chunk-YLLPYRJH.js} +12 -7
- package/dist/css/Alert.css +53 -0
- package/dist/css/Chip-ChipGroup.css +8 -0
- package/dist/css/Chip.css +65 -0
- package/dist/css/ColorInput.css +7 -1
- package/dist/css/ColorPicker.css +5 -1
- package/dist/css/Combobox.css +1 -0
- package/dist/css/DatePicker.css +1 -0
- package/dist/css/DateRangePicker.css +1 -0
- package/dist/css/Input.css +1 -0
- package/dist/css/Mention.css +93 -0
- package/dist/css/Modal-ModalAction.css +6 -1
- package/dist/css/Modal-ModalActions.css +9 -2
- package/dist/css/NumberInput.css +1 -0
- package/dist/css/PinInput.css +1 -0
- package/dist/css/TagsInput.css +1 -0
- package/dist/css/Textarea.css +1 -0
- package/dist/css/Toolbar.css +32 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +78 -60
- package/dist/styles.css +3487 -3201
- package/dist/utils/surface.d.ts +6 -0
- package/esm/Alert/Alert.d.ts +20 -0
- package/esm/Alert/index.d.ts +3 -0
- package/esm/Alert/index.js +16 -0
- package/esm/BolioUIProvider/index.js +6 -5
- package/esm/Button/index.js +2 -2
- package/esm/ButtonDropdown/index.js +2 -1
- package/esm/Calendar/index.js +1 -1
- package/esm/Chip/Chip.d.ts +17 -0
- package/esm/Chip/ChipContext.d.ts +11 -0
- package/esm/Chip/ChipGroup.d.ts +16 -0
- package/esm/Chip/index.d.ts +9 -0
- package/esm/Chip/index.js +15 -0
- package/esm/ColorInput/index.js +2 -1
- package/esm/Combobox/index.js +2 -1
- package/esm/Command/index.js +8 -7
- package/esm/ContextMenu/index.js +4 -3
- package/esm/DatePicker/index.js +3 -2
- package/esm/DateRangePicker/index.js +3 -2
- package/esm/Drawer/index.js +5 -4
- package/esm/Grid/Grid.d.ts +16 -16
- package/esm/Grid/GridContainer.d.ts +16 -16
- package/esm/Mention/Mention.d.ts +25 -0
- package/esm/Mention/index.d.ts +3 -0
- package/esm/Mention/index.js +17 -0
- package/esm/Menu/index.js +3 -2
- package/esm/Modal/index.js +7 -6
- package/esm/Note/Note.d.ts +10 -0
- package/esm/Note/index.js +2 -1
- package/esm/Popover/index.js +3 -2
- package/esm/Select/index.js +6 -5
- package/esm/Table/index.js +2 -2
- package/esm/Toolbar/Toolbar.d.ts +11 -0
- package/esm/Toolbar/ToolbarSeparator.d.ts +4 -0
- package/esm/Toolbar/index.d.ts +9 -0
- package/esm/Toolbar/index.js +14 -0
- package/esm/Tooltip/index.js +2 -1
- package/esm/Tour/index.js +4 -3
- package/esm/{chunk-PGQYW6YF.js → chunk-25NFUHLR.js} +7 -3
- package/esm/{chunk-AFBCMW2I.js → chunk-26KDVRFS.js} +2 -4
- package/esm/{chunk-4ZGR7UMX.js → chunk-4DH6SOK4.js} +10 -6
- package/esm/chunk-CGS2MT3G.js +10 -0
- package/esm/{chunk-6ZBFUZSL.js → chunk-CU6SNPIM.js} +15 -12
- package/esm/chunk-CY5KTINE.js +107 -0
- package/esm/{chunk-IJGIEX5J.js → chunk-DEMQXB46.js} +6 -2
- package/esm/{chunk-3S6G7WGK.js → chunk-DYYSUJ35.js} +1 -1
- package/esm/chunk-EUYSKHRS.js +13 -0
- package/esm/{chunk-FL6J36B7.js → chunk-FLUNRVVG.js} +8 -4
- package/esm/chunk-FQWH4PDK.js +165 -0
- package/esm/chunk-FSO65ZAH.js +249 -0
- package/esm/{chunk-2EYJZXS4.js → chunk-ICACLCJR.js} +8 -3
- package/esm/{chunk-XF4TPE2W.js → chunk-IL7L3BEL.js} +7 -2
- package/esm/{chunk-MGHMAZRL.js → chunk-KRSISARC.js} +7 -3
- package/esm/{chunk-4QA7Z7VP.js → chunk-M64V32WO.js} +5 -2
- package/esm/chunk-Q3I54DUS.js +131 -0
- package/esm/{chunk-SGWX6H4Y.js → chunk-RWRFOGCU.js} +6 -2
- package/esm/{chunk-STYC6O24.js → chunk-SJVWKNGY.js} +7 -3
- package/esm/{chunk-P245HSVB.js → chunk-TLVSZCKU.js} +2 -1
- package/esm/{chunk-AG2NWQYL.js → chunk-WCTANCLG.js} +3 -1
- package/esm/{chunk-DIMJQLWY.js → chunk-XUNC7RB7.js} +9 -5
- package/esm/{chunk-GGCVPMXO.js → chunk-Y432C24Z.js} +1 -1
- package/esm/{chunk-BHQRX76X.js → chunk-YLLPYRJH.js} +8 -3
- package/esm/css/Alert.css +53 -0
- package/esm/css/Chip-ChipGroup.css +8 -0
- package/esm/css/Chip.css +65 -0
- package/esm/css/ColorInput.css +7 -1
- package/esm/css/ColorPicker.css +5 -1
- package/esm/css/Combobox.css +1 -0
- package/esm/css/DatePicker.css +1 -0
- package/esm/css/DateRangePicker.css +1 -0
- package/esm/css/Input.css +1 -0
- package/esm/css/Mention.css +93 -0
- package/esm/css/Modal-ModalAction.css +6 -1
- package/esm/css/Modal-ModalActions.css +9 -2
- package/esm/css/NumberInput.css +1 -0
- package/esm/css/PinInput.css +1 -0
- package/esm/css/TagsInput.css +1 -0
- package/esm/css/Textarea.css +1 -0
- package/esm/css/Toolbar.css +32 -0
- package/esm/index.d.ts +8 -0
- package/esm/index.js +94 -76
- package/esm/styles.css +3482 -3196
- package/esm/utils/surface.d.ts +6 -0
- package/package.json +1 -1
- package/dist/{chunk-DXHNQANX.js → chunk-TPZUTHTQ.js} +3 -3
- package/dist/{chunk-TKIUVNKP.js → chunk-XKJDF225.js} +2 -2
- package/dist/{chunk-ZNDN2VPZ.js → chunk-Y5CFWIGV.js} +2 -2
- package/esm/{chunk-DXHNQANX.js → chunk-TPZUTHTQ.js} +3 -3
- package/esm/{chunk-TKIUVNKP.js → chunk-XKJDF225.js} +3 -3
- package/esm/{chunk-ZNDN2VPZ.js → chunk-Y5CFWIGV.js} +3 -3
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
var _chunk26KDVRFSjs = require('./chunk-26KDVRFS.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkMAICNLTYjs = require('./chunk-MAICNLTY.js');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkV5I4ORQQjs = require('./chunk-V5I4ORQQ.js');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var _chunk5KUROAEPjs = require('./chunk-5KUROAEP.js');
|
|
14
|
+
|
|
15
|
+
// core/Alert/Alert.tsx
|
|
16
|
+
var _react = require('react'); var _react2 = _interopRequireDefault(_react);
|
|
17
|
+
|
|
18
|
+
// css-module-source:/Users/brunnoandrade/Desktop/BolioUI/bolio-ui/core/Alert/Alert.module.css.bolio-css-module-source
|
|
19
|
+
var Alert_module_css_default = { "alert": "Alert-module_alert__Ghxl7", "icon": "Alert-module_icon__hcZdu", "body": "Alert-module_body__SuUYD", "title": "Alert-module_title__8yipK", "close": "Alert-module_close__ZPg5d" };
|
|
20
|
+
|
|
21
|
+
// core/Alert/Alert.tsx
|
|
22
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
23
|
+
var AlertComponent = _react2.default.forwardRef(
|
|
24
|
+
({
|
|
25
|
+
children,
|
|
26
|
+
type = "default",
|
|
27
|
+
title,
|
|
28
|
+
icon,
|
|
29
|
+
filled = false,
|
|
30
|
+
light = false,
|
|
31
|
+
subtle = false,
|
|
32
|
+
onClose,
|
|
33
|
+
closeLabel = "Close",
|
|
34
|
+
className = "",
|
|
35
|
+
style,
|
|
36
|
+
...props
|
|
37
|
+
}, ref) => {
|
|
38
|
+
const theme = _chunkV5I4ORQQjs.use_theme_default.call(void 0, );
|
|
39
|
+
const { SCALES } = _chunkMAICNLTYjs.use_scale_default.call(void 0, );
|
|
40
|
+
const { color, borderColor, bgColor } = _react.useMemo.call(void 0,
|
|
41
|
+
() => _chunk26KDVRFSjs.getStatusColor.call(void 0, type, { filled, light, subtle }, theme),
|
|
42
|
+
[type, filled, light, subtle, theme]
|
|
43
|
+
);
|
|
44
|
+
const alertStyle = {
|
|
45
|
+
border: `1px solid ${borderColor}`,
|
|
46
|
+
color,
|
|
47
|
+
backgroundColor: bgColor,
|
|
48
|
+
borderRadius: theme.layout.radius,
|
|
49
|
+
fontSize: SCALES.font(0.875),
|
|
50
|
+
width: SCALES.width(1, "auto"),
|
|
51
|
+
height: SCALES.height(1, "auto"),
|
|
52
|
+
padding: `${SCALES.pt(0.75)} ${SCALES.pr(1)} ${SCALES.pb(0.75)} ${SCALES.pl(1)}`,
|
|
53
|
+
margin: `${SCALES.mt(0)} ${SCALES.mr(0)} ${SCALES.mb(0)} ${SCALES.ml(0)}`,
|
|
54
|
+
...style
|
|
55
|
+
};
|
|
56
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
57
|
+
"div",
|
|
58
|
+
{
|
|
59
|
+
ref,
|
|
60
|
+
role: type === "error" || type === "warning" ? "alert" : "status",
|
|
61
|
+
className: _chunk5KUROAEPjs.use_classes_default.call(void 0, Alert_module_css_default.alert, className),
|
|
62
|
+
...props,
|
|
63
|
+
style: alertStyle,
|
|
64
|
+
children: [
|
|
65
|
+
icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: Alert_module_css_default.icon, "aria-hidden": "true", children: icon }),
|
|
66
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: Alert_module_css_default.body, children: [
|
|
67
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: Alert_module_css_default.title, children: title }),
|
|
68
|
+
children
|
|
69
|
+
] }),
|
|
70
|
+
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
71
|
+
"button",
|
|
72
|
+
{
|
|
73
|
+
type: "button",
|
|
74
|
+
className: Alert_module_css_default.close,
|
|
75
|
+
"aria-label": closeLabel,
|
|
76
|
+
onClick: onClose,
|
|
77
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
78
|
+
"svg",
|
|
79
|
+
{
|
|
80
|
+
viewBox: "0 0 24 24",
|
|
81
|
+
width: "16",
|
|
82
|
+
height: "16",
|
|
83
|
+
fill: "none",
|
|
84
|
+
stroke: "currentColor",
|
|
85
|
+
strokeWidth: "2",
|
|
86
|
+
strokeLinecap: "round",
|
|
87
|
+
"aria-hidden": "true",
|
|
88
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "M18 6 6 18M6 6l12 12" })
|
|
89
|
+
}
|
|
90
|
+
)
|
|
91
|
+
}
|
|
92
|
+
)
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
);
|
|
98
|
+
AlertComponent.displayName = "BolioUIAlert";
|
|
99
|
+
var Alert = _chunkMAICNLTYjs.with_scale_default.call(void 0, AlertComponent);
|
|
100
|
+
var Alert_default = Alert;
|
|
101
|
+
|
|
102
|
+
// core/Alert/index.ts
|
|
103
|
+
var Alert_default2 = Alert_default;
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
exports.Alert_default = Alert_default2;
|
|
@@ -13,6 +13,9 @@ var _chunkKBZEYKCZjs = require('./chunk-KBZEYKCZ.js');
|
|
|
13
13
|
var _chunkDGXZP4VJjs = require('./chunk-DGXZP4VJ.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
var _chunkEUYSKHRSjs = require('./chunk-EUYSKHRS.js');
|
|
17
|
+
|
|
18
|
+
|
|
16
19
|
|
|
17
20
|
var _chunkMAICNLTYjs = require('./chunk-MAICNLTY.js');
|
|
18
21
|
|
|
@@ -57,6 +60,7 @@ var ColorInputComponent = _react2.default.forwardRef(
|
|
|
57
60
|
...props
|
|
58
61
|
}, ref) => {
|
|
59
62
|
const theme = _chunkV5I4ORQQjs.use_theme_default.call(void 0, );
|
|
63
|
+
const surface = _chunkEUYSKHRSjs.getSurface.call(void 0, theme);
|
|
60
64
|
const { SCALES } = _chunkMAICNLTYjs.use_scale_default.call(void 0, );
|
|
61
65
|
const generatedId = _react.useId.call(void 0, );
|
|
62
66
|
const inputId = props.id || generatedId;
|
|
@@ -122,9 +126,9 @@ var ColorInputComponent = _react2.default.forwardRef(
|
|
|
122
126
|
"--colorinput-focus-border": colors.focusBorder,
|
|
123
127
|
"--colorinput-placeholder": colors.placeholderColor,
|
|
124
128
|
"--colorinput-color": colors.color,
|
|
125
|
-
"--colorinput-popup-bg":
|
|
129
|
+
"--colorinput-popup-bg": surface.bg,
|
|
126
130
|
"--colorinput-popup-border": theme.palette.border,
|
|
127
|
-
"--colorinput-shadow":
|
|
131
|
+
"--colorinput-shadow": surface.shadow
|
|
128
132
|
};
|
|
129
133
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
130
134
|
"div",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkFLUNRVVGjs = require('./chunk-FLUNRVVG.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkMAICNLTYjs = require('./chunk-MAICNLTY.js');
|
|
@@ -64,7 +64,7 @@ var ContextMenuComponent = _react2.default.forwardRef(
|
|
|
64
64
|
children,
|
|
65
65
|
point && // a new point opens a new menu, so it is placed there
|
|
66
66
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
67
|
-
|
|
67
|
+
_chunkFLUNRVVGjs.Menu_default,
|
|
68
68
|
{
|
|
69
69
|
visible: true,
|
|
70
70
|
onVisibleChange: (visible) => change(visible),
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// core/utils/surface.ts
|
|
2
|
+
var getSurface = (theme, shadow = theme.expressiveness.shadowMedium) => {
|
|
3
|
+
const dark = theme.type === "dark";
|
|
4
|
+
return {
|
|
5
|
+
bg: dark ? theme.palette.accents_3 : theme.palette.background,
|
|
6
|
+
hover: dark ? theme.palette.accents_4 : theme.palette.accents_2,
|
|
7
|
+
shadow: dark ? `0 2px 6px rgb(0 0 0 / 40%), ${shadow}` : shadow
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
exports.getSurface = getSurface;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkWCTANCLGjs = require('./chunk-WCTANCLG.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkDGXZP4VJjs = require('./chunk-DGXZP4VJ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
+
var _chunkEUYSKHRSjs = require('./chunk-EUYSKHRS.js');
|
|
10
|
+
|
|
11
|
+
|
|
9
12
|
|
|
10
13
|
var _chunkMAICNLTYjs = require('./chunk-MAICNLTY.js');
|
|
11
14
|
|
|
@@ -130,13 +133,14 @@ var MenuList = ({
|
|
|
130
133
|
const isCharacter = event.key.length === 1 && !event.ctrlKey && !event.metaKey && !event.altKey;
|
|
131
134
|
if (isCharacter) typeahead(event.key, items, index);
|
|
132
135
|
};
|
|
136
|
+
const surface = _chunkEUYSKHRSjs.getSurface.call(void 0, theme);
|
|
133
137
|
const listStyle = {
|
|
134
138
|
"--menu-list-font-size": SCALES.font(0.875),
|
|
135
139
|
"--menu-list-color": theme.palette.foreground,
|
|
136
|
-
"--menu-list-bg":
|
|
140
|
+
"--menu-list-bg": surface.bg,
|
|
137
141
|
"--menu-list-border-color": theme.palette.border,
|
|
138
142
|
"--menu-list-radius": theme.layout.radius,
|
|
139
|
-
"--menu-list-shadow":
|
|
143
|
+
"--menu-list-shadow": surface.shadow
|
|
140
144
|
};
|
|
141
145
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MenuListContext.Provider, { value: { openSub, setOpenSub }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
142
146
|
"div",
|
|
@@ -228,7 +232,7 @@ var MenuComponent = _react2.default.forwardRef(
|
|
|
228
232
|
onKeyDown: keyDownHandler
|
|
229
233
|
}),
|
|
230
234
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
231
|
-
|
|
235
|
+
_chunkWCTANCLGjs.dropdown_default,
|
|
232
236
|
{
|
|
233
237
|
parent: wrapperRef,
|
|
234
238
|
visible,
|
|
@@ -321,7 +325,7 @@ var MenuItemBase = _react2.default.forwardRef(
|
|
|
321
325
|
};
|
|
322
326
|
const itemStyle = {
|
|
323
327
|
"--menu-item-color": theme.palette.foreground,
|
|
324
|
-
"--menu-item-focus-bg":
|
|
328
|
+
"--menu-item-focus-bg": _chunkEUYSKHRSjs.getSurface.call(void 0, theme).hover,
|
|
325
329
|
"--menu-item-error-color": theme.palette.error,
|
|
326
330
|
"--menu-item-error-focus-bg": theme.palette.errorLight,
|
|
327
331
|
"--menu-item-error-focus-color": theme.palette.errorDark,
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
var _chunkGJZT47MPjs = require('./chunk-GJZT47MP.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkMAICNLTYjs = require('./chunk-MAICNLTY.js');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkV5I4ORQQjs = require('./chunk-V5I4ORQQ.js');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var _chunk5KUROAEPjs = require('./chunk-5KUROAEP.js');
|
|
14
|
+
|
|
15
|
+
// core/Chip/Chip.tsx
|
|
16
|
+
var _react = require('react'); var _react2 = _interopRequireDefault(_react);
|
|
17
|
+
|
|
18
|
+
// core/Chip/ChipContext.ts
|
|
19
|
+
|
|
20
|
+
var ChipContext = _react2.default.createContext(null);
|
|
21
|
+
var useChipContext = () => _react2.default.useContext(ChipContext);
|
|
22
|
+
|
|
23
|
+
// css-module-source:/Users/brunnoandrade/Desktop/BolioUI/bolio-ui/core/Chip/Chip.module.css.bolio-css-module-source
|
|
24
|
+
var Chip_module_css_default = { "chip": "Chip-module_chip__r494r", "input": "Chip-module_input__GhNGk", "text": "Chip-module_text__sYRMh" };
|
|
25
|
+
|
|
26
|
+
// core/Chip/Chip.tsx
|
|
27
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
28
|
+
var ChipComponent = _react2.default.forwardRef(
|
|
29
|
+
({
|
|
30
|
+
value,
|
|
31
|
+
checked: customChecked,
|
|
32
|
+
initialChecked = false,
|
|
33
|
+
onChange,
|
|
34
|
+
type = "primary",
|
|
35
|
+
disabled = false,
|
|
36
|
+
className = "",
|
|
37
|
+
children,
|
|
38
|
+
style,
|
|
39
|
+
...props
|
|
40
|
+
}, ref) => {
|
|
41
|
+
const theme = _chunkV5I4ORQQjs.use_theme_default.call(void 0, );
|
|
42
|
+
const { SCALES } = _chunkMAICNLTYjs.use_scale_default.call(void 0, );
|
|
43
|
+
const group = useChipContext();
|
|
44
|
+
const [selfChecked, setSelfChecked] = _react.useState.call(void 0, initialChecked);
|
|
45
|
+
const checked = group ? group.value.includes(value) : customChecked !== void 0 ? customChecked : selfChecked;
|
|
46
|
+
const changeHandler = (event) => {
|
|
47
|
+
if (group) {
|
|
48
|
+
if (group.toggle) group.toggle(value);
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
setSelfChecked(event.target.checked);
|
|
52
|
+
if (onChange) onChange(event.target.checked);
|
|
53
|
+
};
|
|
54
|
+
const { bg, color, border } = _chunkGJZT47MPjs.getVariantColors.call(void 0, theme.palette, type, "light");
|
|
55
|
+
const chipStyle = {
|
|
56
|
+
height: SCALES.height(2),
|
|
57
|
+
margin: `${SCALES.mt(0)} ${SCALES.mr(0)} ${SCALES.mb(0)} ${SCALES.ml(0)}`,
|
|
58
|
+
fontSize: SCALES.font(0.875),
|
|
59
|
+
"--chip-color": theme.palette.accents_6,
|
|
60
|
+
"--chip-border": theme.palette.accents_3,
|
|
61
|
+
"--chip-hover-bg": theme.palette.accents_1,
|
|
62
|
+
"--chip-checked-bg": bg,
|
|
63
|
+
"--chip-checked-color": color,
|
|
64
|
+
"--chip-checked-border": border,
|
|
65
|
+
"--chip-focus": theme.palette[type],
|
|
66
|
+
...style
|
|
67
|
+
};
|
|
68
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "label", { className: _chunk5KUROAEPjs.use_classes_default.call(void 0, Chip_module_css_default.chip, className), style: chipStyle, children: [
|
|
69
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
70
|
+
"input",
|
|
71
|
+
{
|
|
72
|
+
ref,
|
|
73
|
+
type: group && !group.multiple ? "radio" : "checkbox",
|
|
74
|
+
className: Chip_module_css_default.input,
|
|
75
|
+
name: group == null ? void 0 : group.name,
|
|
76
|
+
value,
|
|
77
|
+
checked,
|
|
78
|
+
disabled: disabled || (group == null ? void 0 : group.disabled),
|
|
79
|
+
onChange: changeHandler,
|
|
80
|
+
...props
|
|
81
|
+
}
|
|
82
|
+
),
|
|
83
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: Chip_module_css_default.text, children: [
|
|
84
|
+
checked && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
85
|
+
"svg",
|
|
86
|
+
{
|
|
87
|
+
viewBox: "0 0 24 24",
|
|
88
|
+
width: "14",
|
|
89
|
+
height: "14",
|
|
90
|
+
fill: "none",
|
|
91
|
+
stroke: "currentColor",
|
|
92
|
+
strokeWidth: "3",
|
|
93
|
+
strokeLinecap: "round",
|
|
94
|
+
strokeLinejoin: "round",
|
|
95
|
+
"aria-hidden": "true",
|
|
96
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "m5 12 5 5L20 7" })
|
|
97
|
+
}
|
|
98
|
+
),
|
|
99
|
+
children
|
|
100
|
+
] })
|
|
101
|
+
] });
|
|
102
|
+
}
|
|
103
|
+
);
|
|
104
|
+
ChipComponent.displayName = "BolioUIChip";
|
|
105
|
+
var Chip = _chunkMAICNLTYjs.with_scale_default.call(void 0, ChipComponent);
|
|
106
|
+
var Chip_default = Chip;
|
|
107
|
+
|
|
108
|
+
// core/Chip/ChipGroup.tsx
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
// css-module-source:/Users/brunnoandrade/Desktop/BolioUI/bolio-ui/core/Chip/ChipGroup.module.css.bolio-css-module-source
|
|
112
|
+
var ChipGroup_module_css_default = { "group": "ChipGroup-module_group__6ARIk" };
|
|
113
|
+
|
|
114
|
+
// core/Chip/ChipGroup.tsx
|
|
115
|
+
|
|
116
|
+
var ChipGroup = _react2.default.forwardRef(
|
|
117
|
+
({
|
|
118
|
+
value: customValue,
|
|
119
|
+
initialValue = [],
|
|
120
|
+
onChange,
|
|
121
|
+
multiple = false,
|
|
122
|
+
disabled = false,
|
|
123
|
+
className = "",
|
|
124
|
+
children,
|
|
125
|
+
...props
|
|
126
|
+
}, ref) => {
|
|
127
|
+
const name = _react.useId.call(void 0, );
|
|
128
|
+
const [selfValue, setSelfValue] = _react.useState.call(void 0, initialValue);
|
|
129
|
+
const value = customValue !== void 0 ? customValue : selfValue;
|
|
130
|
+
const providerValue = _react.useMemo.call(void 0,
|
|
131
|
+
() => ({
|
|
132
|
+
name,
|
|
133
|
+
multiple,
|
|
134
|
+
value,
|
|
135
|
+
disabled,
|
|
136
|
+
toggle: (chip) => {
|
|
137
|
+
const next = !multiple ? [chip] : value.includes(chip) ? value.filter((v) => v !== chip) : [...value, chip];
|
|
138
|
+
setSelfValue(next);
|
|
139
|
+
if (onChange) onChange(next);
|
|
140
|
+
}
|
|
141
|
+
}),
|
|
142
|
+
[name, multiple, value, disabled, onChange]
|
|
143
|
+
);
|
|
144
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChipContext.Provider, { value: providerValue, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
145
|
+
"div",
|
|
146
|
+
{
|
|
147
|
+
ref,
|
|
148
|
+
role: multiple ? "group" : "radiogroup",
|
|
149
|
+
className: _chunk5KUROAEPjs.use_classes_default.call(void 0, ChipGroup_module_css_default.group, className),
|
|
150
|
+
...props,
|
|
151
|
+
children
|
|
152
|
+
}
|
|
153
|
+
) });
|
|
154
|
+
}
|
|
155
|
+
);
|
|
156
|
+
ChipGroup.displayName = "BolioUIChipGroup";
|
|
157
|
+
var ChipGroup_default = ChipGroup;
|
|
158
|
+
|
|
159
|
+
// core/Chip/index.ts
|
|
160
|
+
Chip_default.Group = ChipGroup_default;
|
|
161
|
+
var Chip_default2 = Chip_default;
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
exports.Chip_default = Chip_default2;
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
var _chunkKBZEYKCZjs = require('./chunk-KBZEYKCZ.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkEUYSKHRSjs = require('./chunk-EUYSKHRS.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkMAICNLTYjs = require('./chunk-MAICNLTY.js');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var _chunkV5I4ORQQjs = require('./chunk-V5I4ORQQ.js');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
var _chunk5KUROAEPjs = require('./chunk-5KUROAEP.js');
|
|
18
|
+
|
|
19
|
+
// core/Mention/Mention.tsx
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
var _react = require('react'); var _react2 = _interopRequireDefault(_react);
|
|
28
|
+
|
|
29
|
+
// css-module-source:/Users/brunnoandrade/Desktop/BolioUI/bolio-ui/core/Mention/Mention.module.css.bolio-css-module-source
|
|
30
|
+
var Mention_module_css_default = { "mention": "Mention-module_mention__R3-5t", "field": "Mention-module_field__U5FXf", "list": "Mention-module_list__QQ5RM", "empty": "Mention-module_empty__YkZOO", "option": "Mention-module_option__8CupI", "active": "Mention-module_active__8GmDl", "disabled": "Mention-module_disabled__4PL94" };
|
|
31
|
+
|
|
32
|
+
// core/Mention/Mention.tsx
|
|
33
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
34
|
+
var getLabel = (option) => {
|
|
35
|
+
var _a;
|
|
36
|
+
return (_a = option.label) != null ? _a : option.value;
|
|
37
|
+
};
|
|
38
|
+
var escapeRegExp = (text) => text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
39
|
+
var MentionComponent = _react2.default.forwardRef(
|
|
40
|
+
({
|
|
41
|
+
options,
|
|
42
|
+
trigger = "@",
|
|
43
|
+
value: customValue,
|
|
44
|
+
initialValue = "",
|
|
45
|
+
onChange,
|
|
46
|
+
onSelect,
|
|
47
|
+
placeholder,
|
|
48
|
+
rows = 3,
|
|
49
|
+
disabled = false,
|
|
50
|
+
type = "default",
|
|
51
|
+
emptyText = "No results",
|
|
52
|
+
className = "",
|
|
53
|
+
onKeyDown,
|
|
54
|
+
onBlur,
|
|
55
|
+
style,
|
|
56
|
+
...props
|
|
57
|
+
}, ref) => {
|
|
58
|
+
const theme = _chunkV5I4ORQQjs.use_theme_default.call(void 0, );
|
|
59
|
+
const surface = _chunkEUYSKHRSjs.getSurface.call(void 0, theme);
|
|
60
|
+
const { SCALES } = _chunkMAICNLTYjs.use_scale_default.call(void 0, );
|
|
61
|
+
const colors = _chunkKBZEYKCZjs.getColors.call(void 0, theme.palette, type, disabled, {});
|
|
62
|
+
const baseId = _react.useId.call(void 0, );
|
|
63
|
+
const listId = `${baseId}-list`;
|
|
64
|
+
const optionId = (index) => `${baseId}-option-${index}`;
|
|
65
|
+
const field = _react.useRef.call(void 0, null);
|
|
66
|
+
const setRef = (node) => {
|
|
67
|
+
field.current = node;
|
|
68
|
+
if (typeof ref === "function") ref(node);
|
|
69
|
+
else if (ref) ref.current = node;
|
|
70
|
+
};
|
|
71
|
+
const isControlled = customValue !== void 0;
|
|
72
|
+
const [selfValue, setSelfValue] = _react.useState.call(void 0, initialValue);
|
|
73
|
+
const text = isControlled ? customValue : selfValue;
|
|
74
|
+
const [caret, setCaret] = _react.useState.call(void 0, text.length);
|
|
75
|
+
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
76
|
+
const [activeIndex, setActiveIndex] = _react.useState.call(void 0, -1);
|
|
77
|
+
const pendingCaret = _react.useRef.call(void 0, null);
|
|
78
|
+
const token = _react.useMemo.call(void 0, () => {
|
|
79
|
+
const t = escapeRegExp(trigger);
|
|
80
|
+
const match = new RegExp(`(^|\\s)${t}([^\\s${t}]*)$`).exec(
|
|
81
|
+
text.slice(0, caret)
|
|
82
|
+
);
|
|
83
|
+
return match ? { query: match[2], start: caret - match[2].length - trigger.length } : null;
|
|
84
|
+
}, [text, caret, trigger]);
|
|
85
|
+
const visible = _react.useMemo.call(void 0,
|
|
86
|
+
() => token ? options.filter(
|
|
87
|
+
(option) => getLabel(option).toLowerCase().includes(token.query.toLowerCase())
|
|
88
|
+
) : [],
|
|
89
|
+
[options, token]
|
|
90
|
+
);
|
|
91
|
+
const open = !!token && !dismissed && !disabled;
|
|
92
|
+
const expanded = open && visible.length > 0;
|
|
93
|
+
_react.useEffect.call(void 0, () => {
|
|
94
|
+
setActiveIndex(
|
|
95
|
+
open ? visible.findIndex((option) => !option.disabled) : -1
|
|
96
|
+
);
|
|
97
|
+
}, [open, token == null ? void 0 : token.query]);
|
|
98
|
+
_react.useEffect.call(void 0, () => {
|
|
99
|
+
var _a, _b;
|
|
100
|
+
if (activeIndex < 0) return;
|
|
101
|
+
(_b = (_a = document.getElementById(optionId(activeIndex))) == null ? void 0 : _a.scrollIntoView) == null ? void 0 : _b.call(_a, { block: "nearest" });
|
|
102
|
+
}, [activeIndex]);
|
|
103
|
+
_react.useLayoutEffect.call(void 0, () => {
|
|
104
|
+
if (pendingCaret.current === null || !field.current) return;
|
|
105
|
+
field.current.setSelectionRange(
|
|
106
|
+
pendingCaret.current,
|
|
107
|
+
pendingCaret.current
|
|
108
|
+
);
|
|
109
|
+
pendingCaret.current = null;
|
|
110
|
+
}, [text]);
|
|
111
|
+
const update = (next) => {
|
|
112
|
+
if (!isControlled) setSelfValue(next);
|
|
113
|
+
if (onChange) onChange(next);
|
|
114
|
+
};
|
|
115
|
+
const choose = (option) => {
|
|
116
|
+
if (option.disabled || !token) return;
|
|
117
|
+
const inserted = `${trigger}${option.value} `;
|
|
118
|
+
const next = text.slice(0, token.start) + inserted + text.slice(caret);
|
|
119
|
+
const position = token.start + inserted.length;
|
|
120
|
+
pendingCaret.current = position;
|
|
121
|
+
setCaret(position);
|
|
122
|
+
update(next);
|
|
123
|
+
if (onSelect) onSelect(option);
|
|
124
|
+
};
|
|
125
|
+
const changeHandler = (event) => {
|
|
126
|
+
setCaret(event.target.selectionStart);
|
|
127
|
+
setDismissed(false);
|
|
128
|
+
update(event.target.value);
|
|
129
|
+
};
|
|
130
|
+
const move = (direction) => {
|
|
131
|
+
const count = visible.length;
|
|
132
|
+
let index = activeIndex;
|
|
133
|
+
for (let step = 0; step < count; step++) {
|
|
134
|
+
index = (index + direction + count) % count;
|
|
135
|
+
if (!visible[index].disabled) return setActiveIndex(index);
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
const keyDownHandler = (event) => {
|
|
139
|
+
if (onKeyDown) onKeyDown(event);
|
|
140
|
+
if (event.defaultPrevented || !expanded) return;
|
|
141
|
+
if (event.key === "ArrowDown" || event.key === "ArrowUp") {
|
|
142
|
+
event.preventDefault();
|
|
143
|
+
move(event.key === "ArrowDown" ? 1 : -1);
|
|
144
|
+
} else if ((event.key === "Enter" || event.key === "Tab") && activeIndex >= 0) {
|
|
145
|
+
event.preventDefault();
|
|
146
|
+
choose(visible[activeIndex]);
|
|
147
|
+
} else if (event.key === "Escape") {
|
|
148
|
+
event.preventDefault();
|
|
149
|
+
setDismissed(true);
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
const syncCaret = (event) => {
|
|
153
|
+
const next = event.currentTarget.selectionStart;
|
|
154
|
+
if (next !== caret) {
|
|
155
|
+
setCaret(next);
|
|
156
|
+
setDismissed(false);
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
const blurHandler = (event) => {
|
|
160
|
+
if (onBlur) onBlur(event);
|
|
161
|
+
setDismissed(true);
|
|
162
|
+
};
|
|
163
|
+
const mentionStyle = {
|
|
164
|
+
"--mention-font-size": SCALES.font(0.875),
|
|
165
|
+
"--mention-width": SCALES.width(1, "100%"),
|
|
166
|
+
"--mention-height": SCALES.height(1, "auto"),
|
|
167
|
+
"--mention-margin-top": SCALES.mt(0),
|
|
168
|
+
"--mention-margin-right": SCALES.mr(0),
|
|
169
|
+
"--mention-margin-bottom": SCALES.mb(0),
|
|
170
|
+
"--mention-margin-left": SCALES.ml(0),
|
|
171
|
+
"--mention-text-color": theme.palette.foreground,
|
|
172
|
+
"--mention-bg": surface.bg,
|
|
173
|
+
"--mention-border-color": theme.palette.border,
|
|
174
|
+
"--mention-radius": theme.layout.radius,
|
|
175
|
+
"--mention-field-color": colors.color,
|
|
176
|
+
"--mention-field-bg": colors.bgColor,
|
|
177
|
+
"--mention-field-border": colors.borderColor,
|
|
178
|
+
"--mention-field-hover-bg": colors.hoverBgColor,
|
|
179
|
+
"--mention-field-hover-border": colors.hoverBorder,
|
|
180
|
+
"--mention-focus-border-color": colors.focusBorder,
|
|
181
|
+
"--mention-placeholder-color": colors.placeholderColor,
|
|
182
|
+
"--mention-shadow": surface.shadow,
|
|
183
|
+
"--mention-active-bg": surface.hover,
|
|
184
|
+
"--mention-empty-color": theme.palette.accents_5,
|
|
185
|
+
...style
|
|
186
|
+
};
|
|
187
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
188
|
+
"div",
|
|
189
|
+
{
|
|
190
|
+
className: _chunk5KUROAEPjs.use_classes_default.call(void 0, Mention_module_css_default.mention, className),
|
|
191
|
+
style: mentionStyle,
|
|
192
|
+
children: [
|
|
193
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
194
|
+
"textarea",
|
|
195
|
+
{
|
|
196
|
+
ref: setRef,
|
|
197
|
+
"aria-autocomplete": "list",
|
|
198
|
+
"aria-controls": expanded ? listId : void 0,
|
|
199
|
+
"aria-activedescendant": expanded && activeIndex >= 0 ? optionId(activeIndex) : void 0,
|
|
200
|
+
value: text,
|
|
201
|
+
rows,
|
|
202
|
+
placeholder,
|
|
203
|
+
disabled,
|
|
204
|
+
onChange: changeHandler,
|
|
205
|
+
onKeyDown: keyDownHandler,
|
|
206
|
+
onKeyUp: syncCaret,
|
|
207
|
+
onClick: syncCaret,
|
|
208
|
+
onSelect: syncCaret,
|
|
209
|
+
onBlur: blurHandler,
|
|
210
|
+
className: Mention_module_css_default.field,
|
|
211
|
+
...props
|
|
212
|
+
}
|
|
213
|
+
),
|
|
214
|
+
expanded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { id: listId, role: "listbox", className: Mention_module_css_default.list, children: visible.map((option, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
215
|
+
"li",
|
|
216
|
+
{
|
|
217
|
+
id: optionId(index),
|
|
218
|
+
role: "option",
|
|
219
|
+
"aria-selected": index === activeIndex,
|
|
220
|
+
"aria-disabled": option.disabled || void 0,
|
|
221
|
+
className: _chunk5KUROAEPjs.joinClasses.call(void 0, Mention_module_css_default.option, {
|
|
222
|
+
[Mention_module_css_default.active]: index === activeIndex,
|
|
223
|
+
[Mention_module_css_default.disabled]: option.disabled
|
|
224
|
+
}),
|
|
225
|
+
onMouseDown: (event) => {
|
|
226
|
+
event.preventDefault();
|
|
227
|
+
choose(option);
|
|
228
|
+
},
|
|
229
|
+
onMouseMove: () => !option.disabled && setActiveIndex(index),
|
|
230
|
+
children: getLabel(option)
|
|
231
|
+
},
|
|
232
|
+
option.value
|
|
233
|
+
)) }),
|
|
234
|
+
open && visible.length === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: Mention_module_css_default.empty, children: emptyText })
|
|
235
|
+
]
|
|
236
|
+
}
|
|
237
|
+
);
|
|
238
|
+
}
|
|
239
|
+
);
|
|
240
|
+
MentionComponent.displayName = "BolioUIMention";
|
|
241
|
+
var Mention = _chunkMAICNLTYjs.with_scale_default.call(void 0, MentionComponent);
|
|
242
|
+
var Mention_default = Mention;
|
|
243
|
+
|
|
244
|
+
// core/Mention/index.ts
|
|
245
|
+
var Mention_default2 = Mention_default;
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
exports.Mention_default = Mention_default2;
|