@solostylist/ui-kit 1.0.225 → 1.0.226
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/{ArrowUpward-BMKLosZj.js → ArrowUpward-DONVUi9Q.js} +1 -1
- package/dist/{ButtonBase-Bo6ysVGS.js → ButtonBase-BDefit5I.js} +100 -99
- package/dist/{ChevronRight-OLNOfW9P.js → ChevronRight-cBbrlMYh.js} +1 -1
- package/dist/{Close-Bj2HYB9Q.js → Close-DRS0T6Yu.js} +1 -1
- package/dist/{Collapse-CnXmaDqT.js → Collapse-Dtji6IrM.js} +4 -3
- package/dist/{ContentCopy-Br2p19dq.js → ContentCopy-C4mVqexq.js} +1 -1
- package/dist/{Download-BhSXOhCI.js → Download-D277qwl2.js} +1 -1
- package/dist/{ExpandMore-Bu7_1g6Q.js → ExpandMore-DIsT5FOp.js} +1 -1
- package/dist/{Favorite-BJSuHe0H.js → Favorite-CbvuQfe4.js} +1 -1
- package/dist/{FormControl-DYkaP-oD.js → FormControl-DMZWdEWz.js} +6 -6
- package/dist/{InfoOutlined-C1AW3f5V.js → InfoOutlined-BCzG-5py.js} +1 -1
- package/dist/{Menu-C-0KEauj.js → Menu-CbHevx8q.js} +20 -20
- package/dist/{MenuItem-DWivWkNb.js → MenuItem-CCClg9Si.js} +8 -8
- package/dist/{MenuList-5HOyYdgq.js → MenuList-5C2nFAWS.js} +45 -45
- package/dist/{Modal-C1VRVWBZ.js → Modal-Cu5Cgh-q.js} +109 -108
- package/dist/{Paper-BY4X6-u_.js → Paper-Cy7rReyx.js} +1 -1
- package/dist/{Typography-EsraKPZO.js → Typography-DqtTB0ZJ.js} +2 -2
- package/dist/{UnfoldMoreRounded-pz7NMMy3.js → UnfoldMoreRounded-Cbt8Oi8S.js} +1 -1
- package/dist/{autocomplete-qLj7AqcP.js → autocomplete-Du0flrk6.js} +1 -1
- package/dist/{avatar-BuMhUthq.js → avatar-DQtjHpOs.js} +2 -2
- package/dist/{checkbox-B95Vlykq.js → checkbox-BGA2cVbl.js} +17 -17
- package/dist/{createSvgIcon-BdNZIlKS.js → createSvgIcon-HW-tbFcL.js} +1 -1
- package/dist/{mergeSlotProps-DBBJwoun.js → mergeSlotProps-slENzJO5.js} +1 -1
- package/dist/monthCalendarClasses-C1jHkjgt.js +14 -0
- package/dist/s-accordion/index.js +1 -1
- package/dist/s-accordion/s-accordion.js +1 -1
- package/dist/{s-accordion-CXHBadZ_.js → s-accordion-D2VsBSgb.js} +7 -7
- package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
- package/dist/s-carousel/index.js +1 -1
- package/dist/s-carousel/s-carousel.js +1 -1
- package/dist/{s-carousel-BUJYCigy.js → s-carousel-S6CRrrpW.js} +7 -9
- package/dist/s-category-card/s-category-card.js +0 -1
- package/dist/s-chat-input/index.js +1 -1
- package/dist/s-chat-input/s-chat-input.js +1 -1
- package/dist/s-chat-input-DNptuBb0.js +352 -0
- package/dist/s-chat-message/index.js +1 -1
- package/dist/s-chat-message/s-chat-message.js +1 -1
- package/dist/{s-chat-message-Cb1npIQO.js → s-chat-message-Bsvsh45G.js} +4 -6
- package/dist/s-chips/index.js +1 -1
- package/dist/s-chips/s-chips.js +1 -1
- package/dist/{s-chips-DelHx6zM.js → s-chips-CH0zKaz-.js} +1 -1
- package/dist/s-code-block/index.js +1 -1
- package/dist/s-code-block/s-code-block.js +1 -1
- package/dist/{s-code-block-sjt0AQb_.js → s-code-block-ByNQ4Zq5.js} +1 -1
- package/dist/s-comment-message/index.js +1 -1
- package/dist/s-comment-message/s-comment-message.js +1 -1
- package/dist/{s-comment-message-DzjXXLZQ.js → s-comment-message-DF580Qxk.js} +13 -19
- package/dist/s-copyable-text/s-copyable-text.js +1 -1
- package/dist/s-data-table/index.js +1 -1
- package/dist/s-data-table/s-data-table.js +1 -1
- package/dist/{s-data-table-TrCdKq9r.js → s-data-table-B8llaX-A.js} +9 -9
- package/dist/s-date-picker/index.js +1 -1
- package/dist/s-date-picker/picker-action-bar.d.ts +12 -0
- package/dist/s-date-picker/picker-action-bar.js +52 -0
- package/dist/s-date-picker/s-date-picker.d.ts +1 -4
- package/dist/s-date-picker/s-date-picker.js +1 -1
- package/dist/s-date-picker-CLncO3oo.js +640 -0
- package/dist/s-datetime-picker/index.js +1 -1
- package/dist/s-datetime-picker/s-datetime-picker.d.ts +1 -4
- package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
- package/dist/{s-datetime-picker-rCWovez1.js → s-datetime-picker-Dy1fX3rI.js} +806 -799
- package/dist/s-dialog/s-dialog.js +2 -3
- package/dist/s-dialog-confirm/s-dialog-confirm.js +3 -4
- package/dist/s-dialog-message/s-dialog-message.js +3 -4
- package/dist/s-empty/s-empty.js +2 -5
- package/dist/s-error/s-error.js +1 -1
- package/dist/s-error-layout/s-error-layout.d.ts +1 -1
- package/dist/s-error-layout/s-error-layout.js +3 -2
- package/dist/s-file-dropzone/index.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.d.ts +1 -4
- package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
- package/dist/{s-file-dropzone-oaQoRV92.js → s-file-dropzone-CbaOf3_3.js} +47 -42
- package/dist/s-gallery/gallery-grid-item.d.ts +17 -0
- package/dist/s-gallery/gallery-grid-item.js +112 -0
- package/dist/s-gallery/gallery-layout.d.ts +16 -0
- package/dist/s-gallery/gallery-layout.js +50 -0
- package/dist/s-gallery/gallery-media-item.d.ts +15 -0
- package/dist/s-gallery/gallery-media-item.js +112 -0
- package/dist/s-gallery/index.d.ts +5 -2
- package/dist/s-gallery/index.js +2 -1
- package/dist/s-gallery/s-gallery.d.ts +1 -17
- package/dist/s-gallery/s-gallery.js +38 -284
- package/dist/s-image-comparison/s-image-comparison.js +46 -42
- package/dist/s-image-modal/default-media-item.d.ts +9 -0
- package/dist/s-image-modal/default-media-item.js +34 -0
- package/dist/s-image-modal/image-modal-thumbnail-dock.d.ts +11 -0
- package/dist/s-image-modal/image-modal-thumbnail-dock.js +102 -0
- package/dist/s-image-modal/index.d.ts +2 -2
- package/dist/s-image-modal/index.js +2 -1
- package/dist/s-image-modal/s-image-modal.d.ts +1 -58
- package/dist/s-image-modal/s-image-modal.js +2 -2
- package/dist/s-image-modal/types.d.ts +52 -0
- package/dist/s-image-modal/types.js +0 -0
- package/dist/s-image-modal/use-image-modal-navigation.d.ts +29 -0
- package/dist/s-image-modal/use-image-modal-navigation.js +57 -0
- package/dist/s-image-modal-hhRD4727.js +243 -0
- package/dist/s-label/s-label.js +1 -1
- package/dist/s-language-switcher/index.js +1 -1
- package/dist/s-language-switcher/s-language-switcher.js +1 -1
- package/dist/{s-language-switcher-vievp2VS.js → s-language-switcher-BKK0r8Kh.js} +4 -4
- package/dist/s-localization-provider/index.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.js +1 -1
- package/dist/{s-localization-provider-YCsec18c.js → s-localization-provider-DDO9UEu_.js} +4 -4
- package/dist/s-nav-item/s-nav-item.js +1 -1
- package/dist/s-nav-items/s-nav-items.js +4 -7
- package/dist/s-pagination/s-pagination.js +12 -15
- package/dist/s-review/index.js +1 -1
- package/dist/s-review/s-review.js +1 -1
- package/dist/{s-review-DjvDY-h4.js → s-review-f0OI1oqM.js} +18 -27
- package/dist/s-scroll-reveal/s-scroll-reveal.js +1 -1
- package/dist/s-scroll-to-top/s-scroll-to-top.js +1 -1
- package/dist/s-select/index.js +1 -1
- package/dist/s-select/s-select.js +1 -1
- package/dist/{s-select-B-dEcddK.js → s-select-BqWS_5Bs.js} +1 -1
- package/dist/s-select-list/s-select-list.js +2 -11
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +23 -15
- package/dist/s-stripe/s-stripe-cvc.d.ts +1 -5
- package/dist/s-stripe/s-stripe-cvc.js +11 -11
- package/dist/s-stripe/s-stripe-expiry.d.ts +1 -5
- package/dist/s-stripe/s-stripe-expiry.js +11 -11
- package/dist/s-stripe/s-stripe-number.d.ts +1 -5
- package/dist/s-stripe/s-stripe-number.js +11 -11
- package/dist/s-stripe/s-stripe.d.ts +11 -4
- package/dist/s-stripe/s-stripe.js +19 -17
- package/dist/s-stripe/stripe-input.js +41 -32
- package/dist/s-text-editor/index.js +1 -1
- package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
- package/dist/s-text-editor/s-text-editor.d.ts +1 -4
- package/dist/s-text-editor/s-text-editor.js +21 -24
- package/dist/{s-text-editor-toolbar-DP0MkICo.js → s-text-editor-toolbar-DrQ8v-4J.js} +45 -44
- package/dist/s-text-field/index.js +1 -1
- package/dist/s-text-field/s-text-field.d.ts +1 -4
- package/dist/s-text-field/s-text-field.js +1 -1
- package/dist/{s-text-field-GqcwXwta.js → s-text-field-DLSDoq7u.js} +20 -19
- package/dist/s-theme-demo/index.js +1 -1
- package/dist/s-theme-demo/s-theme-demo.js +1 -1
- package/dist/{s-theme-demo-BpeyFRKt.js → s-theme-demo-DeY0K6MC.js} +4 -4
- package/dist/s-theme-provider/s-theme-provider.js +26 -25
- package/dist/s-theme-switch/index.js +1 -1
- package/dist/s-theme-switch/s-theme-switch.js +1 -1
- package/dist/{s-theme-switch-V3Q58mkG.js → s-theme-switch-B0KHb2wu.js} +1 -1
- package/dist/s-tip/index.js +1 -1
- package/dist/s-tip/s-tip.js +1 -1
- package/dist/{s-tip-Dwu5T2u0.js → s-tip-Beuy9MLR.js} +2 -2
- package/dist/s-tool-bar/index.d.ts +1 -1
- package/dist/s-tool-bar/index.js +1 -1
- package/dist/s-tool-bar/s-tool-bar.d.ts +1 -155
- package/dist/s-tool-bar/s-tool-bar.js +114 -2
- package/dist/s-tool-bar/tool-bar-action-buttons.d.ts +15 -0
- package/dist/s-tool-bar/tool-bar-action-buttons.js +2 -0
- package/dist/s-tool-bar/tool-bar-image-input.d.ts +8 -0
- package/dist/s-tool-bar/tool-bar-image-input.js +2 -0
- package/dist/s-tool-bar/tool-bar-inputs.d.ts +3 -0
- package/dist/s-tool-bar/tool-bar-inputs.js +139 -0
- package/dist/s-tool-bar/types.d.ts +170 -0
- package/dist/s-tool-bar/types.js +0 -0
- package/dist/s-tool-bar/utils.d.ts +10 -0
- package/dist/s-tool-bar/utils.js +22 -0
- package/dist/theme/components/accordion-summary.js +2 -2
- package/dist/theme/components/accordion.js +1 -1
- package/dist/theme/components/alert.d.ts +1 -1
- package/dist/theme/components/alert.js +1 -1
- package/dist/theme/components/autocomplete.js +1 -1
- package/dist/theme/components/avatar.d.ts +10 -1
- package/dist/theme/components/avatar.js +1 -1
- package/dist/theme/components/card.js +4 -4
- package/dist/theme/components/checkbox.js +1 -1
- package/dist/theme/components/chip.js +17 -6
- package/dist/theme/components/components.js +134 -118
- package/dist/theme/components/date-calendar.d.ts +13 -0
- package/dist/theme/components/date-calendar.js +7 -0
- package/dist/theme/components/day-calendar.d.ts +14 -1
- package/dist/theme/components/day-calendar.js +14 -1
- package/dist/theme/components/dialog-actions.js +1 -1
- package/dist/theme/components/dialog-content.d.ts +13 -0
- package/dist/theme/components/dialog-content.js +7 -0
- package/dist/theme/components/dialog-title.d.ts +21 -0
- package/dist/theme/components/dialog-title.js +7 -0
- package/dist/theme/components/form-label.js +1 -1
- package/dist/theme/components/icon-button.d.ts +5 -1
- package/dist/theme/components/icon-button.js +18 -24
- package/dist/theme/components/linear-progress.js +2 -2
- package/dist/theme/components/link.d.ts +1 -1
- package/dist/theme/components/link.js +2 -2
- package/dist/theme/components/list-item-button.js +2 -2
- package/dist/theme/components/list-item.js +3 -3
- package/dist/theme/components/month-calendar.d.ts +27 -0
- package/dist/theme/components/month-calendar.js +14 -0
- package/dist/theme/components/multi-section-digital-clock-section.js +25 -0
- package/dist/theme/components/outlined-input.js +6 -6
- package/dist/theme/components/picker-day.d.ts +16 -2
- package/dist/theme/components/picker-day.js +13 -1
- package/dist/theme/components/pickers-arrow-switcher.d.ts +12 -0
- package/dist/theme/components/pickers-arrow-switcher.js +4 -0
- package/dist/theme/components/pickers-calendar-header.d.ts +38 -0
- package/dist/theme/components/pickers-calendar-header.js +24 -0
- package/dist/theme/components/select.js +2 -2
- package/dist/theme/components/slider.d.ts +29 -2
- package/dist/theme/components/slider.js +14 -2
- package/dist/theme/components/step-connector.d.ts +1 -1
- package/dist/theme/components/step-connector.js +1 -1
- package/dist/theme/components/step-icon.js +1 -1
- package/dist/theme/components/tab.js +1 -1
- package/dist/theme/components/table-pagination.js +1 -1
- package/dist/theme/components/toggle-button-group.js +1 -1
- package/dist/theme/components/toggle-button.js +1 -1
- package/dist/theme/components/year-calendar.d.ts +36 -0
- package/dist/theme/components/year-calendar.js +17 -0
- package/dist/theme/theme-primitives.d.ts +36 -0
- package/dist/theme/theme-primitives.js +2 -2
- package/dist/{theme-primitives-D2vHHGiX.js → theme-primitives-7ruiI7gY.js} +10 -3
- package/dist/{toggle-button-group-ABwIhV4P.js → toggle-button-group-Dx9fvVok.js} +4 -4
- package/dist/{toggle-button-BUsRxHn0.js → toggle-button-j6VLaPoa.js} +3 -3
- package/dist/tool-bar-action-buttons-B4QhqdK_.js +50 -0
- package/dist/tool-bar-image-input-BKFAtyJ1.js +138 -0
- package/dist/{useControlled-DXKqhylj.js → useControlled-BtZNCHV0.js} +1 -1
- package/dist/useForkRef-yOYCJHzF.js +29 -0
- package/dist/{useMobilePicker-ujH2nH2-.js → useMobilePicker-C8toWhEP.js} +7657 -7674
- package/dist/{useSlot-Dkc1Mj31.js → useSlot-IwEDsR9t.js} +107 -133
- package/dist/{utils-CCnIUPad.js → utils-CU6O7jrX.js} +5 -5
- package/dist/{LocalizationProvider-BdaUKqz3.js → warning-CFMmJJnf.js} +51 -51
- package/dist/yearCalendarClasses-DypEe_Vn.js +14 -0
- package/package.json +1 -1
- package/dist/s-chat-input-cOCqPTUS.js +0 -299
- package/dist/s-date-picker-BkZIEZoz.js +0 -634
- package/dist/s-image-modal-Za71QD3d.js +0 -397
- package/dist/s-tool-bar-DaZ2wT09.js +0 -454
- /package/dist/{buttonBaseClasses-BLZbMisL.js → buttonBaseClasses-BVDyR-hz.js} +0 -0
- /package/dist/{checkboxClasses-DSyvUOsN.js → checkboxClasses-DPzQcJz-.js} +0 -0
- /package/dist/{createSimplePaletteValueFilter-GHK52GLU.js → createSimplePaletteValueFilter-5v48HHyU.js} +0 -0
- /package/dist/{extends-D8CDMpIy.js → extends-DM-C9PwL.js} +0 -0
- /package/dist/{formLabelClasses-Cv7W0Roi.js → formLabelClasses-BfRVjiBm.js} +0 -0
- /package/dist/{iconButtonClasses-9jjSQ9-U.js → iconButtonClasses-LyjwljJq.js} +0 -0
- /package/dist/{inputAdornmentClasses-VKwluNTs.js → inputAdornmentClasses-DHmz00nZ.js} +0 -0
- /package/dist/{objectWithoutPropertiesLoose-BpY-kC5L.js → objectWithoutPropertiesLoose-kj3TmhoA.js} +0 -0
- /package/dist/{outlinedInputClasses-Cz4pnn0X.js → outlinedInputClasses-Z5R6RJE3.js} +0 -0
- /package/dist/{selectClasses-DvT1febA.js → selectClasses-vjNpSSyQ.js} +0 -0
- /package/dist/{svgIconClasses-D46YUMKp.js → svgIconClasses-BtHvkhy5.js} +0 -0
- /package/dist/{tabClasses-KqPlYv0c.js → tabClasses-CmFw6sbs.js} +0 -0
- /package/dist/{typographyClasses-CFf0OFiD.js → typographyClasses-CspzYrIn.js} +0 -0
- /package/dist/{useControlled-2-C6cXjG.js → useControlled-DuSwFVhD.js} +0 -0
- /package/dist/{useFormControl-B4z6ONhx.js → useFormControl-bYnTwZE5.js} +0 -0
package/dist/s-carousel/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-carousel-
|
|
1
|
+
import { t as e } from "../s-carousel-S6CRrrpW.js";
|
|
2
2
|
export { e as SCarousel, e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-carousel-
|
|
1
|
+
import { t as e } from "../s-carousel-S6CRrrpW.js";
|
|
2
2
|
export { e as SCarousel, e as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createSvgIcon-
|
|
1
|
+
import { t as e } from "./createSvgIcon-HW-tbFcL.js";
|
|
2
2
|
import { SIconButton as t } from "./s-icon-button/s-icon-button.js";
|
|
3
3
|
import { Children as n, forwardRef as r, useCallback as i, useEffect as a, useMemo as o, useRef as s, useState as c } from "react";
|
|
4
4
|
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
@@ -1221,16 +1221,13 @@ var ke = p("div")({
|
|
|
1221
1221
|
alignItems: "center",
|
|
1222
1222
|
justifyContent: "center",
|
|
1223
1223
|
transition: "all 0.4s",
|
|
1224
|
-
"&.active span": {
|
|
1225
|
-
backgroundColor: (e.vars ?? e).palette.primary.main,
|
|
1226
|
-
opacity: 1
|
|
1227
|
-
},
|
|
1224
|
+
"&.active span": { opacity: 1 },
|
|
1228
1225
|
"&.active": { width: 18 }
|
|
1229
1226
|
}
|
|
1230
1227
|
})), Q = p("span", { shouldForwardProp: (e) => e !== "dotColor" })(({ dotColor: e, theme: t }) => ({
|
|
1231
1228
|
width: "100%",
|
|
1232
1229
|
height: "100%",
|
|
1233
|
-
borderRadius:
|
|
1230
|
+
borderRadius: t.radius.full,
|
|
1234
1231
|
cursor: "pointer",
|
|
1235
1232
|
position: "relative",
|
|
1236
1233
|
backgroundColor: e ?? (t.vars ?? t).palette.primary.main,
|
|
@@ -1311,9 +1308,10 @@ var Pe = r((e, r) => {
|
|
|
1311
1308
|
"aria-label": `Go to slide ${n + 1}`,
|
|
1312
1309
|
onClick: () => P?.scrollTo(n),
|
|
1313
1310
|
sx: {
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1311
|
+
width: "100%",
|
|
1312
|
+
height: "100%",
|
|
1313
|
+
minWidth: 0,
|
|
1314
|
+
p: 0
|
|
1317
1315
|
},
|
|
1318
1316
|
children: /* @__PURE__ */ u(Q, { dotColor: p })
|
|
1319
1317
|
})
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-chat-input-
|
|
1
|
+
import { t as e } from "../s-chat-input-DNptuBb0.js";
|
|
2
2
|
export { e as SChatInput, e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-chat-input-
|
|
1
|
+
import { t as e } from "../s-chat-input-DNptuBb0.js";
|
|
2
2
|
export { e as SChatInput, e as default };
|
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
import { tint as e } from "./theme/utils.js";
|
|
2
|
+
import { t } from "./createSvgIcon-HW-tbFcL.js";
|
|
3
|
+
import { t as n } from "./ArrowUpward-DONVUi9Q.js";
|
|
4
|
+
import { t as r } from "./Close-DRS0T6Yu.js";
|
|
5
|
+
import { t as i } from "./s-text-field-DLSDoq7u.js";
|
|
6
|
+
import { SIconButton as a } from "./s-icon-button/s-icon-button.js";
|
|
7
|
+
import { SFileIcon as o } from "./s-file-icon/s-file-icon.js";
|
|
8
|
+
import { forwardRef as s, useEffect as c, useId as l, useState as u } from "react";
|
|
9
|
+
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
10
|
+
import { Box as m, ClickAwayListener as h, Popper as g, Typography as _, outlinedInputClasses as v } from "@mui/material";
|
|
11
|
+
import y, { Categories as b } from "emoji-picker-react";
|
|
12
|
+
//#region ../../node_modules/@mui/icons-material/AccessTime.mjs
|
|
13
|
+
var x = t([/* @__PURE__ */ f("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8" }, "0"), /* @__PURE__ */ f("path", { d: "M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z" }, "1")], "AccessTime"), S = t(/* @__PURE__ */ f("path", { d: "M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V5c0-2.21-1.79-4-4-4S7 2.79 7 5v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6z" }), "AttachFile"), C = t(/* @__PURE__ */ f("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M8.5 8c.83 0 1.5.67 1.5 1.5S9.33 11 8.5 11 7 10.33 7 9.5 7.67 8 8.5 8M12 18c-2.28 0-4.22-1.66-5-4h10c-.78 2.34-2.72 4-5 4m3.5-7c-.83 0-1.5-.67-1.5-1.5S14.67 8 15.5 8s1.5.67 1.5 1.5-.67 1.5-1.5 1.5" }), "EmojiEmotions"), w = t(/* @__PURE__ */ f("path", { d: "M19 5h-2V3H7v2H5c-1.1 0-2 .9-2 2v1c0 2.55 1.92 4.63 4.39 4.94.63 1.5 1.98 2.63 3.61 2.96V19H7v2h10v-2h-4v-3.1c1.63-.33 2.98-1.46 3.61-2.96C19.08 12.63 21 10.55 21 8V7c0-1.1-.9-2-2-2M5 8V7h2v3.82C5.84 10.4 5 9.3 5 8m14 0c0 1.3-.84 2.4-2 2.82V7h2z" }), "EmojiEvents"), T = t(/* @__PURE__ */ f("path", { d: "m14 9-1-2H7V5.72c.6-.34 1-.98 1-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .74.4 1.38 1 1.72V21h2v-4h5l1 2h7V9h-6zm4 8h-4l-1-2H7V9h5l1 2h5v6z" }), "EmojiFlags"), E = t(/* @__PURE__ */ f("path", { d: "M20 3H9v2.4l1.81 1.45c.12.09.19.24.19.39v4.26c0 .28-.22.5-.5.5h-4c-.28 0-.5-.22-.5-.5V7.24c0-.15.07-.3.19-.39L8 5.4V3H4v10c0 2.21 1.79 4 4 4h6c2.21 0 4-1.79 4-4v-3h2c1.11 0 2-.9 2-2V5c0-1.11-.89-2-2-2m0 5h-2V5h2zM4 19h16v2H4z" }), "EmojiFoodBeverage"), D = t(/* @__PURE__ */ f("path", { d: "M21.94 4.88c-.18-.53-.69-.88-1.26-.88H19.6l-.31-.97C19.15 2.43 18.61 2 18 2s-1.15.43-1.29 1.04L16.4 4h-1.07c-.57 0-1.08.35-1.26.88-.19.56.04 1.17.56 1.48l.87.52-.4 1.24c-.23.58-.04 1.25.45 1.62.23.17.51.26.78.26.31 0 .61-.11.86-.32l.81-.7.81.7c.25.21.55.32.86.32.27 0 .55-.09.78-.26.5-.37.68-1.04.45-1.62l-.39-1.24.87-.52c.51-.31.74-.92.56-1.48M18 7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1m-4.51 3.51c-.43-.43-.94-.73-1.49-.93V8h-1v1.38c-.11-.01-.23-.03-.34-.03-1.02 0-2.05.39-2.83 1.17-.16.16-.3.34-.43.53L6 10.52c-1.56-.55-3.28.27-3.83 1.82-.27.75-.23 1.57.12 2.29.23.48.58.87 1 1.16-.38 1.35-.06 2.85 1 3.91s2.57 1.38 3.91 1c.29.42.68.77 1.16 1q.63.3 1.29.3c.34 0 .68-.06 1.01-.17 1.56-.55 2.38-2.27 1.82-3.85l-.52-1.37c.18-.13.36-.27.53-.43.87-.87 1.24-2.04 1.14-3.17H16v-1h-1.59c-.19-.55-.49-1.06-.92-1.5m-8.82 3.78c-.25-.09-.45-.27-.57-.51s-.13-.51-.04-.76c.19-.52.76-.79 1.26-.61l3.16 1.19c-1.15.6-2.63 1.11-3.81.69m6.32 5.65c-.25.09-.52.08-.76-.04-.24-.11-.42-.32-.51-.57-.42-1.18.09-2.65.7-3.8l1.18 3.13c.18.52-.09 1.1-.61 1.28m1.21-5.34-.61-1.61c0-.01-.01-.02-.02-.03l-.06-.12c-.02-.04-.04-.07-.07-.11l-.09-.09-.09-.09c-.03-.03-.07-.05-.11-.07s-.07-.05-.12-.06c-.01 0-.02-.01-.03-.02l-1.6-.6c.36-.29.79-.46 1.26-.46.53 0 1.04.21 1.41.59.73.73.77 1.88.13 2.67" }), "EmojiNature"), O = t(/* @__PURE__ */ f("path", { d: "M12 3c-.46 0-.93.04-1.4.14-2.76.53-4.96 2.76-5.48 5.52-.48 2.61.48 5.01 2.22 6.56.43.38.66.91.66 1.47V19c0 1.1.9 2 2 2h.28c.35.6.98 1 1.72 1s1.38-.4 1.72-1H14c1.1 0 2-.9 2-2v-2.31c0-.55.22-1.09.64-1.46C18.09 13.95 19 12.08 19 10c0-3.87-3.13-7-7-7m2 16h-4v-1h4zm0-2h-4v-1h4zm-1.5-5.59V14h-1v-2.59L9.67 9.59l.71-.71L12 10.5l1.62-1.62.71.71z" }), "EmojiObjects"), k = t([
|
|
14
|
+
/* @__PURE__ */ f("path", { d: "M3 2h8v2H3zm3 9h2V7h3V5H3v2h3zm6.4038 9.182 7.7782-7.7783 1.4142 1.4142-7.7782 7.7782z" }, "0"),
|
|
15
|
+
/* @__PURE__ */ f("circle", {
|
|
16
|
+
cx: "14.5",
|
|
17
|
+
cy: "14.5",
|
|
18
|
+
r: "1.5"
|
|
19
|
+
}, "1"),
|
|
20
|
+
/* @__PURE__ */ f("circle", {
|
|
21
|
+
cx: "19.5",
|
|
22
|
+
cy: "19.5",
|
|
23
|
+
r: "1.5"
|
|
24
|
+
}, "2"),
|
|
25
|
+
/* @__PURE__ */ f("path", { d: "M15.5 11c1.38 0 2.5-1.12 2.5-2.5V4h3V2h-4v4.51c-.42-.32-.93-.51-1.5-.51C14.12 6 13 7.12 13 8.5s1.12 2.5 2.5 2.5m-5.76 4.96-1.41 1.41-.71-.71.35-.35c.98-.98.98-2.56 0-3.54-.49-.49-1.13-.73-1.77-.73s-1.28.24-1.77.73c-.98.98-.98 2.56 0 3.54l.35.35-1.06 1.06c-.98.98-.98 2.56 0 3.54.5.5 1.14.74 1.78.74s1.28-.24 1.77-.73l1.06-1.06 1.41 1.41 1.41-1.41-1.41-1.41 1.41-1.41zM5.85 14.2c.12-.12.26-.15.35-.15s.23.03.35.15c.19.2.19.51 0 .71l-.35.35-.35-.36c-.19-.19-.19-.51 0-.7m0 5.65c-.12.12-.26.15-.35.15s-.23-.03-.35-.15c-.19-.19-.19-.51 0-.71l1.06-1.06.71.71z" }, "3")
|
|
26
|
+
], "EmojiSymbols"), A = t([
|
|
27
|
+
/* @__PURE__ */ f("path", { d: "M20.57 10.66c-.14-.4-.52-.66-.97-.66h-7.19c-.46 0-.83.26-.98.66L10 14.77l.01 5.51c0 .38.31.72.69.72h.62c.38 0 .68-.38.68-.76V19h8v1.24c0 .38.31.76.69.76h.61c.38 0 .69-.34.69-.72l.01-1.37v-4.14zm-8.16.34h7.19l1.03 3h-9.25zM12 17c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1m8 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1" }, "0"),
|
|
28
|
+
/* @__PURE__ */ f("path", { d: "M14 9h1V3H7v5H2v13h1V9h5V4h6z" }, "1"),
|
|
29
|
+
/* @__PURE__ */ f("path", { d: "M5 11h2v2H5zm5-6h2v2h-2zM5 15h2v2H5zm0 4h2v2H5z" }, "2")
|
|
30
|
+
], "EmojiTransportation"), j = {
|
|
31
|
+
[b.SUGGESTED]: /* @__PURE__ */ f(x, {}),
|
|
32
|
+
[b.SMILEYS_PEOPLE]: /* @__PURE__ */ f(C, {}),
|
|
33
|
+
[b.ANIMALS_NATURE]: /* @__PURE__ */ f(D, {}),
|
|
34
|
+
[b.FOOD_DRINK]: /* @__PURE__ */ f(E, {}),
|
|
35
|
+
[b.TRAVEL_PLACES]: /* @__PURE__ */ f(A, {}),
|
|
36
|
+
[b.ACTIVITIES]: /* @__PURE__ */ f(w, {}),
|
|
37
|
+
[b.OBJECTS]: /* @__PURE__ */ f(O, {}),
|
|
38
|
+
[b.SYMBOLS]: /* @__PURE__ */ f(k, {}),
|
|
39
|
+
[b.FLAGS]: /* @__PURE__ */ f(T, {})
|
|
40
|
+
}, M = "url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"/></svg>')", N = s(({ onSubmit: t, onFileSelect: s, disabled: b, acceptedFileTypes: x, maxFileSize: w, hideEmojiPicker: T, hideFileAttachment: E, ...D }, O) => {
|
|
41
|
+
let [k, A] = u(""), [N, P] = u([]), [F, I] = u(/* @__PURE__ */ new Map()), [L, R] = u(!1), [z, B] = u(null), V = l(), H = (e) => e.type.startsWith("image/"), U = (e) => {
|
|
42
|
+
let t = `${e.name}-${e.size}-${e.lastModified}`;
|
|
43
|
+
if (F.has(t)) return F.get(t);
|
|
44
|
+
if (H(e)) {
|
|
45
|
+
let n = URL.createObjectURL(e);
|
|
46
|
+
return I((e) => new Map(e).set(t, n)), n;
|
|
47
|
+
}
|
|
48
|
+
return "";
|
|
49
|
+
}, W = (e) => {
|
|
50
|
+
A(e.target.value);
|
|
51
|
+
}, G = (e) => {
|
|
52
|
+
A((t) => t + e.emoji), R(!1), B(null);
|
|
53
|
+
}, K = (e) => {
|
|
54
|
+
B(e.currentTarget), R(!L);
|
|
55
|
+
}, q = () => {
|
|
56
|
+
b || k.trim().length === 0 && N.length === 0 || (t?.(k, N), A(""), F.forEach((e) => URL.revokeObjectURL(e)), I(/* @__PURE__ */ new Map()), P([]));
|
|
57
|
+
}, J = (e) => {
|
|
58
|
+
let t = Array.from(e.target.files ?? []).filter((e) => !(w && e.size > w));
|
|
59
|
+
P((e) => [...e, ...t]), s?.(t), e.target.value = "";
|
|
60
|
+
}, Y = (e) => {
|
|
61
|
+
let t = N[e];
|
|
62
|
+
if (t && H(t)) {
|
|
63
|
+
let e = `${t.name}-${t.size}-${t.lastModified}`, n = F.get(e);
|
|
64
|
+
n && (URL.revokeObjectURL(n), I((t) => {
|
|
65
|
+
let n = new Map(t);
|
|
66
|
+
return n.delete(e), n;
|
|
67
|
+
}));
|
|
68
|
+
}
|
|
69
|
+
P((t) => t.filter((t, n) => n !== e));
|
|
70
|
+
};
|
|
71
|
+
return c(() => () => {
|
|
72
|
+
F.forEach((e) => URL.revokeObjectURL(e));
|
|
73
|
+
}, [F]), /* @__PURE__ */ p(m, {
|
|
74
|
+
sx: (t) => ({
|
|
75
|
+
border: "1px solid",
|
|
76
|
+
borderColor: "divider",
|
|
77
|
+
borderRadius: 1,
|
|
78
|
+
padding: "8px 12px",
|
|
79
|
+
transition: "border 120ms ease-in",
|
|
80
|
+
"&:hover": { borderColor: (t.vars ?? t).palette.grey[500] },
|
|
81
|
+
"&:focus-within": {
|
|
82
|
+
outline: `3px solid ${e((t.vars ?? t).palette.primary[500], 50)}`,
|
|
83
|
+
borderColor: (t.vars ?? t).palette.primary[400]
|
|
84
|
+
},
|
|
85
|
+
...b && {
|
|
86
|
+
opacity: .5,
|
|
87
|
+
pointerEvents: "none"
|
|
88
|
+
}
|
|
89
|
+
}),
|
|
90
|
+
children: [
|
|
91
|
+
/* @__PURE__ */ f(i, {
|
|
92
|
+
placeholder: "Enter your message here...",
|
|
93
|
+
disabled: b,
|
|
94
|
+
value: k,
|
|
95
|
+
onChange: W,
|
|
96
|
+
onKeyDown: (e) => {
|
|
97
|
+
e.key === "Enter" && !e.shiftKey && (e.preventDefault(), q());
|
|
98
|
+
},
|
|
99
|
+
multiline: !0,
|
|
100
|
+
minRows: 1,
|
|
101
|
+
maxRows: 10,
|
|
102
|
+
variant: "outlined",
|
|
103
|
+
inputRef: O,
|
|
104
|
+
slotProps: { input: { sx: {
|
|
105
|
+
height: "100%",
|
|
106
|
+
backgroundColor: "transparent",
|
|
107
|
+
border: "none",
|
|
108
|
+
padding: 0,
|
|
109
|
+
[`&.${v.focused}`]: { outline: "none" },
|
|
110
|
+
"& fieldset": { border: "none" },
|
|
111
|
+
"&:hover fieldset": { border: "none" },
|
|
112
|
+
"&.Mui-focused fieldset": { border: "none" }
|
|
113
|
+
} } },
|
|
114
|
+
...D
|
|
115
|
+
}),
|
|
116
|
+
N.length > 0 && /* @__PURE__ */ f(m, {
|
|
117
|
+
sx: { mt: 1 },
|
|
118
|
+
children: N.map((e, t) => {
|
|
119
|
+
let n = H(e), i = e.name.split(".").pop();
|
|
120
|
+
return /* @__PURE__ */ p(m, {
|
|
121
|
+
sx: {
|
|
122
|
+
display: "flex",
|
|
123
|
+
alignItems: "center",
|
|
124
|
+
justifyContent: "space-between",
|
|
125
|
+
bgcolor: "background.paper",
|
|
126
|
+
border: "1px solid",
|
|
127
|
+
borderColor: "divider",
|
|
128
|
+
borderRadius: 1,
|
|
129
|
+
p: 1,
|
|
130
|
+
mb: .5
|
|
131
|
+
},
|
|
132
|
+
children: [/* @__PURE__ */ p(m, {
|
|
133
|
+
sx: {
|
|
134
|
+
display: "flex",
|
|
135
|
+
alignItems: "center",
|
|
136
|
+
gap: 1
|
|
137
|
+
},
|
|
138
|
+
children: [n ? /* @__PURE__ */ f(m, {
|
|
139
|
+
component: "img",
|
|
140
|
+
src: U(e),
|
|
141
|
+
alt: e.name,
|
|
142
|
+
sx: {
|
|
143
|
+
width: 40,
|
|
144
|
+
height: 40,
|
|
145
|
+
borderRadius: 1,
|
|
146
|
+
objectFit: "cover",
|
|
147
|
+
border: "1px solid",
|
|
148
|
+
borderColor: "divider"
|
|
149
|
+
}
|
|
150
|
+
}) : /* @__PURE__ */ f(o, { extension: i }), /* @__PURE__ */ p(m, {
|
|
151
|
+
sx: {
|
|
152
|
+
display: "flex",
|
|
153
|
+
flexDirection: "row",
|
|
154
|
+
alignItems: "center",
|
|
155
|
+
gap: 1
|
|
156
|
+
},
|
|
157
|
+
children: [/* @__PURE__ */ f(_, {
|
|
158
|
+
variant: "subtitle2",
|
|
159
|
+
sx: {
|
|
160
|
+
textOverflow: "ellipsis",
|
|
161
|
+
overflow: "hidden",
|
|
162
|
+
whiteSpace: "nowrap"
|
|
163
|
+
},
|
|
164
|
+
children: e.name
|
|
165
|
+
}), /* @__PURE__ */ f("div", { children: /* @__PURE__ */ p(_, {
|
|
166
|
+
variant: "caption",
|
|
167
|
+
children: [
|
|
168
|
+
"(",
|
|
169
|
+
Math.round(e.size / 1024),
|
|
170
|
+
" KB)"
|
|
171
|
+
]
|
|
172
|
+
}) })]
|
|
173
|
+
})]
|
|
174
|
+
}), /* @__PURE__ */ f(a, {
|
|
175
|
+
onClick: () => Y(t),
|
|
176
|
+
sx: {
|
|
177
|
+
minWidth: "auto",
|
|
178
|
+
p: .5
|
|
179
|
+
},
|
|
180
|
+
children: /* @__PURE__ */ f(r, {})
|
|
181
|
+
})]
|
|
182
|
+
}, `${e.name}-${t}`);
|
|
183
|
+
})
|
|
184
|
+
}),
|
|
185
|
+
/* @__PURE__ */ p(m, {
|
|
186
|
+
sx: {
|
|
187
|
+
display: "flex",
|
|
188
|
+
justifyContent: "space-between",
|
|
189
|
+
alignItems: "center",
|
|
190
|
+
mt: 1
|
|
191
|
+
},
|
|
192
|
+
children: [/* @__PURE__ */ p(m, {
|
|
193
|
+
sx: {
|
|
194
|
+
display: "flex",
|
|
195
|
+
gap: 1
|
|
196
|
+
},
|
|
197
|
+
children: [!E && /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("input", {
|
|
198
|
+
type: "file",
|
|
199
|
+
multiple: !0,
|
|
200
|
+
accept: x,
|
|
201
|
+
onChange: J,
|
|
202
|
+
style: { display: "none" },
|
|
203
|
+
id: `file-attachment-input-${V}`,
|
|
204
|
+
disabled: b
|
|
205
|
+
}), /* @__PURE__ */ f("label", {
|
|
206
|
+
htmlFor: `file-attachment-input-${V}`,
|
|
207
|
+
children: /* @__PURE__ */ f(a, {
|
|
208
|
+
component: "span",
|
|
209
|
+
disabled: b,
|
|
210
|
+
children: /* @__PURE__ */ f(S, {})
|
|
211
|
+
})
|
|
212
|
+
})] }), !T && /* @__PURE__ */ f(a, {
|
|
213
|
+
onClick: K,
|
|
214
|
+
disabled: b,
|
|
215
|
+
children: /* @__PURE__ */ f(C, {})
|
|
216
|
+
})]
|
|
217
|
+
}), /* @__PURE__ */ f(a, {
|
|
218
|
+
onClick: q,
|
|
219
|
+
disabled: b,
|
|
220
|
+
children: /* @__PURE__ */ f(n, {})
|
|
221
|
+
})]
|
|
222
|
+
}),
|
|
223
|
+
/* @__PURE__ */ f(g, {
|
|
224
|
+
open: L,
|
|
225
|
+
anchorEl: z,
|
|
226
|
+
placement: "top-start",
|
|
227
|
+
sx: { zIndex: 1300 },
|
|
228
|
+
children: /* @__PURE__ */ f(h, {
|
|
229
|
+
onClickAway: () => {
|
|
230
|
+
R(!1), B(null);
|
|
231
|
+
},
|
|
232
|
+
children: /* @__PURE__ */ f(m, {
|
|
233
|
+
sx: (t) => ({
|
|
234
|
+
border: "1px solid",
|
|
235
|
+
borderColor: "divider",
|
|
236
|
+
borderRadius: 1,
|
|
237
|
+
overflow: "hidden",
|
|
238
|
+
"& .epr-main": {
|
|
239
|
+
backgroundColor: "background.paper",
|
|
240
|
+
border: "none"
|
|
241
|
+
},
|
|
242
|
+
"& .epr-main, & .epr-main *": { fontFamily: t.typography.fontFamily },
|
|
243
|
+
"& .epr-header": { backgroundColor: "background.paper" },
|
|
244
|
+
"& .epr-search-container": { backgroundColor: "background.paper" },
|
|
245
|
+
"& .epr-search-container > .epr-icn-search": { display: "none" },
|
|
246
|
+
"& .epr-icn-clear-search": {
|
|
247
|
+
backgroundImage: "none",
|
|
248
|
+
backgroundColor: "action.active",
|
|
249
|
+
WebkitMaskImage: M,
|
|
250
|
+
maskImage: M,
|
|
251
|
+
WebkitMaskRepeat: "no-repeat",
|
|
252
|
+
maskRepeat: "no-repeat",
|
|
253
|
+
WebkitMaskPosition: "center",
|
|
254
|
+
maskPosition: "center",
|
|
255
|
+
WebkitMaskSize: "0.875rem",
|
|
256
|
+
maskSize: "0.875rem"
|
|
257
|
+
},
|
|
258
|
+
"& .epr-btn-clear-search": {
|
|
259
|
+
height: 24,
|
|
260
|
+
width: 24,
|
|
261
|
+
"&:hover, &:focus": { backgroundColor: "action.hover" }
|
|
262
|
+
},
|
|
263
|
+
"& .epr-search-container > input": {
|
|
264
|
+
boxSizing: "border-box",
|
|
265
|
+
minHeight: 40,
|
|
266
|
+
backgroundColor: "background.default",
|
|
267
|
+
border: "1px solid",
|
|
268
|
+
borderColor: "divider",
|
|
269
|
+
borderRadius: 1,
|
|
270
|
+
color: "text.primary",
|
|
271
|
+
fontFamily: "inherit",
|
|
272
|
+
fontSize: t.typography.body1.fontSize,
|
|
273
|
+
padding: "8px 12px",
|
|
274
|
+
transition: "border 120ms ease-in",
|
|
275
|
+
"&:hover": { borderColor: (t.vars ?? t).palette.grey[500] },
|
|
276
|
+
"&:focus": {
|
|
277
|
+
outline: `3px solid ${e((t.vars ?? t).palette.primary[500], 50)}`,
|
|
278
|
+
borderColor: (t.vars ?? t).palette.primary[400]
|
|
279
|
+
},
|
|
280
|
+
"&::placeholder": { color: "text.secondary" }
|
|
281
|
+
},
|
|
282
|
+
"& .epr-category-nav": {
|
|
283
|
+
backgroundColor: "background.paper",
|
|
284
|
+
borderBottom: "1px solid",
|
|
285
|
+
borderColor: "divider",
|
|
286
|
+
padding: "0px 8px 8px 8px"
|
|
287
|
+
},
|
|
288
|
+
"& .epr-cat-btn": {
|
|
289
|
+
backgroundColor: "transparent !important",
|
|
290
|
+
border: "none",
|
|
291
|
+
transition: "all 0.2s ease"
|
|
292
|
+
},
|
|
293
|
+
"& .epr-cat-btn:focus::before": { display: "none" },
|
|
294
|
+
"& .epr-cat-btn-custom-icon svg": {
|
|
295
|
+
color: "text.secondary",
|
|
296
|
+
transition: "color 120ms ease-in"
|
|
297
|
+
},
|
|
298
|
+
"& .epr-cat-btn-custom-icon:hover svg": { color: "text.primary" },
|
|
299
|
+
"& .epr-cat-btn-custom-icon.epr-active svg": { color: (t.vars ?? t).palette.primary[500] },
|
|
300
|
+
"& .epr-body": { backgroundColor: "background.paper" },
|
|
301
|
+
"& .epr-emoji-category-label": {
|
|
302
|
+
backgroundColor: "background.paper",
|
|
303
|
+
color: "text.primary",
|
|
304
|
+
fontSize: t.typography.caption.fontSize,
|
|
305
|
+
fontWeight: 600,
|
|
306
|
+
padding: "8px 16px 4px",
|
|
307
|
+
textTransform: "uppercase",
|
|
308
|
+
letterSpacing: "0.5px"
|
|
309
|
+
},
|
|
310
|
+
"& .epr-emoji-list": { backgroundColor: "background.paper" },
|
|
311
|
+
"& .epr-emoji": {
|
|
312
|
+
borderRadius: 1,
|
|
313
|
+
margin: "2px",
|
|
314
|
+
transition: "all 0.2s ease",
|
|
315
|
+
"&:hover": {
|
|
316
|
+
backgroundColor: "action.hover",
|
|
317
|
+
transform: "scale(1.1)"
|
|
318
|
+
},
|
|
319
|
+
"&:active": { transform: "scale(0.95)" }
|
|
320
|
+
},
|
|
321
|
+
"& .epr-skin-tones": {
|
|
322
|
+
backgroundColor: "background.paper",
|
|
323
|
+
border: "1px solid",
|
|
324
|
+
borderColor: "divider",
|
|
325
|
+
borderRadius: 1,
|
|
326
|
+
display: "none"
|
|
327
|
+
},
|
|
328
|
+
"& .epr-tone": {
|
|
329
|
+
border: "none",
|
|
330
|
+
borderRadius: 1,
|
|
331
|
+
transition: "all 0.2s ease",
|
|
332
|
+
"&:hover": { transform: "scale(1.1)" }
|
|
333
|
+
}
|
|
334
|
+
}),
|
|
335
|
+
children: /* @__PURE__ */ f(y, {
|
|
336
|
+
onEmojiClick: G,
|
|
337
|
+
width: 300,
|
|
338
|
+
height: 400,
|
|
339
|
+
searchDisabled: !1,
|
|
340
|
+
skinTonesDisabled: !1,
|
|
341
|
+
previewConfig: { showPreview: !1 },
|
|
342
|
+
categoryIcons: j
|
|
343
|
+
})
|
|
344
|
+
})
|
|
345
|
+
})
|
|
346
|
+
})
|
|
347
|
+
]
|
|
348
|
+
});
|
|
349
|
+
});
|
|
350
|
+
N.displayName = "SChatInput";
|
|
351
|
+
//#endregion
|
|
352
|
+
export { N as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-chat-message-
|
|
1
|
+
import { t as e } from "../s-chat-message-Bsvsh45G.js";
|
|
2
2
|
export { e as SChatMessage, e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-chat-message-
|
|
1
|
+
import { t as e } from "../s-chat-message-Bsvsh45G.js";
|
|
2
2
|
export { e as SChatMessage, e as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e, r as t } from "./utils-B5Rl6Zwv.js";
|
|
2
|
-
import { t as n } from "./createSvgIcon-
|
|
3
|
-
import {
|
|
4
|
-
import { t as i } from "./Download-
|
|
2
|
+
import { t as n } from "./createSvgIcon-HW-tbFcL.js";
|
|
3
|
+
import { t as r } from "./s-image-modal-hhRD4727.js";
|
|
4
|
+
import { t as i } from "./Download-D277qwl2.js";
|
|
5
5
|
import a from "./s-lazy-image/s-lazy-image.js";
|
|
6
6
|
import { SSkeleton as o } from "./s-skeleton/s-skeleton.js";
|
|
7
7
|
import { SAvatar as s } from "./s-avatar/s-avatar.js";
|
|
@@ -192,7 +192,6 @@ var h = n(/* @__PURE__ */ l("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10
|
|
|
192
192
|
children: t.name ?? "Unnamed File"
|
|
193
193
|
}), t.size && /* @__PURE__ */ l(m, {
|
|
194
194
|
variant: "caption",
|
|
195
|
-
sx: { fontSize: "0.75rem" },
|
|
196
195
|
children: e(t.size)
|
|
197
196
|
})]
|
|
198
197
|
}),
|
|
@@ -212,9 +211,8 @@ var h = n(/* @__PURE__ */ l("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10
|
|
|
212
211
|
pt: T.length > 0 ? 0 : 1.5
|
|
213
212
|
},
|
|
214
213
|
children: /* @__PURE__ */ l(m, {
|
|
215
|
-
variant: "
|
|
214
|
+
variant: "body1",
|
|
216
215
|
sx: {
|
|
217
|
-
fontSize: "0.875rem",
|
|
218
216
|
whiteSpace: "pre-wrap",
|
|
219
217
|
color: O ? "error.main" : "inherit"
|
|
220
218
|
},
|
package/dist/s-chips/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-chips-
|
|
1
|
+
import { t as e } from "../s-chips-CH0zKaz-.js";
|
|
2
2
|
export { e as SChips, e as default };
|
package/dist/s-chips/s-chips.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-chips-
|
|
1
|
+
import { t as e } from "../s-chips-CH0zKaz-.js";
|
|
2
2
|
export { e as SChips, e as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createSvgIcon-
|
|
1
|
+
import { t as e } from "./createSvgIcon-HW-tbFcL.js";
|
|
2
2
|
import { useCallback as t, useEffect as n, useRef as r, useState as i } from "react";
|
|
3
3
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
4
4
|
import { Box as s, Chip as c, Tooltip as l } from "@mui/material";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-code-block-
|
|
1
|
+
import { t as e } from "../s-code-block-ByNQ4Zq5.js";
|
|
2
2
|
export { e as SCodeBlock, e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-code-block-
|
|
1
|
+
import { t as e } from "../s-code-block-ByNQ4Zq5.js";
|
|
2
2
|
export { e as SCodeBlock, e as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e, t } from "./ContentCopy-
|
|
1
|
+
import { n as e, t } from "./ContentCopy-C4mVqexq.js";
|
|
2
2
|
import { useMemo as n, useState as r } from "react";
|
|
3
3
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
4
4
|
import { Box as o, IconButton as s, useColorScheme as c } from "@mui/material";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-comment-message-
|
|
1
|
+
import { t as e } from "../s-comment-message-DF580Qxk.js";
|
|
2
2
|
export { e as SCommentMessage, e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-comment-message-
|
|
1
|
+
import { t as e } from "../s-comment-message-DF580Qxk.js";
|
|
2
2
|
export { e as SCommentMessage, e as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as e } from "./utils-B5Rl6Zwv.js";
|
|
2
|
-
import { t } from "./createSvgIcon-
|
|
3
|
-
import { t as n } from "./ExpandMore-
|
|
4
|
-
import { t as r } from "./Favorite-
|
|
2
|
+
import { t } from "./createSvgIcon-HW-tbFcL.js";
|
|
3
|
+
import { t as n } from "./ExpandMore-DIsT5FOp.js";
|
|
4
|
+
import { t as r } from "./Favorite-CbvuQfe4.js";
|
|
5
5
|
import { SSkeleton as i } from "./s-skeleton/s-skeleton.js";
|
|
6
6
|
import { SAvatar as a } from "./s-avatar/s-avatar.js";
|
|
7
7
|
import { useEffect as o, useId as s, useState as c } from "react";
|
|
@@ -100,26 +100,20 @@ var _ = t(/* @__PURE__ */ l("path", { d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58
|
|
|
100
100
|
}), /* @__PURE__ */ u(d, {
|
|
101
101
|
sx: { flex: 1 },
|
|
102
102
|
children: [
|
|
103
|
-
/* @__PURE__ */
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
sx: {
|
|
107
|
-
alignItems: "center",
|
|
108
|
-
mb: 1
|
|
109
|
-
},
|
|
110
|
-
children: [/* @__PURE__ */ l(g, { children: x }), /* @__PURE__ */ l(g, {
|
|
111
|
-
variant: "caption",
|
|
112
|
-
children: X
|
|
113
|
-
})]
|
|
103
|
+
/* @__PURE__ */ l(g, {
|
|
104
|
+
variant: "subtitle1",
|
|
105
|
+
children: x
|
|
114
106
|
}),
|
|
115
107
|
/* @__PURE__ */ l(g, {
|
|
116
|
-
variant: "
|
|
117
|
-
sx: {
|
|
118
|
-
mb: 2,
|
|
119
|
-
lineHeight: 1.6
|
|
120
|
-
},
|
|
108
|
+
variant: "body1",
|
|
109
|
+
sx: { lineHeight: 1.6 },
|
|
121
110
|
children: C
|
|
122
111
|
}),
|
|
112
|
+
/* @__PURE__ */ l(g, {
|
|
113
|
+
variant: "caption",
|
|
114
|
+
sx: { mb: 2 },
|
|
115
|
+
children: X
|
|
116
|
+
}),
|
|
123
117
|
/* @__PURE__ */ u(h, {
|
|
124
118
|
direction: "row",
|
|
125
119
|
spacing: 1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e, t } from "../ContentCopy-
|
|
1
|
+
import { n as e, t } from "../ContentCopy-C4mVqexq.js";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
3
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
4
|
import { Box as a, IconButton as o, Paper as s, Typography as c } from "@mui/material";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-data-table-
|
|
1
|
+
import { t as e } from "../s-data-table-B8llaX-A.js";
|
|
2
2
|
export { e as SDataTable, e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-data-table-
|
|
1
|
+
import { t as e } from "../s-data-table-B8llaX-A.js";
|
|
2
2
|
export { e as SDataTable, e as default };
|
|
@@ -6,15 +6,15 @@ import { t as s } from "./generateUtilityClass-tRYNDrlH.js";
|
|
|
6
6
|
import { t as c } from "./Box-BlmynALm.js";
|
|
7
7
|
import { t as l } from "./generateUtilityClasses-XrPHiTcM.js";
|
|
8
8
|
import { n as u, t as d } from "./styled-BTDmdi4c.js";
|
|
9
|
-
import { t as f } from "./ButtonBase-
|
|
10
|
-
import { t as p } from "./useSlot-
|
|
11
|
-
import { t as m } from "./createSimplePaletteValueFilter-
|
|
12
|
-
import { t as h } from "./createSvgIcon-
|
|
13
|
-
import { t as g } from "./useControlled-
|
|
14
|
-
import { t as _ } from "./mergeSlotProps-
|
|
15
|
-
import { t as v } from "./useFormControl-
|
|
16
|
-
import { t as y } from "./ArrowUpward-
|
|
17
|
-
import { n as b, t as x } from "./checkboxClasses-
|
|
9
|
+
import { t as f } from "./ButtonBase-BDefit5I.js";
|
|
10
|
+
import { t as p } from "./useSlot-IwEDsR9t.js";
|
|
11
|
+
import { t as m } from "./createSimplePaletteValueFilter-5v48HHyU.js";
|
|
12
|
+
import { t as h } from "./createSvgIcon-HW-tbFcL.js";
|
|
13
|
+
import { t as g } from "./useControlled-BtZNCHV0.js";
|
|
14
|
+
import { t as _ } from "./mergeSlotProps-slENzJO5.js";
|
|
15
|
+
import { t as v } from "./useFormControl-bYnTwZE5.js";
|
|
16
|
+
import { t as y } from "./ArrowUpward-DONVUi9Q.js";
|
|
17
|
+
import { n as b, t as x } from "./checkboxClasses-DPzQcJz-.js";
|
|
18
18
|
import { SEmpty as S } from "./s-empty/s-empty.js";
|
|
19
19
|
import * as C from "react";
|
|
20
20
|
import { jsx as w, jsxs as T } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-date-picker-
|
|
1
|
+
import { t as e } from "../s-date-picker-CLncO3oo.js";
|
|
2
2
|
export { e as SDatePicker, e as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PickersActionBarProps } from '@mui/x-date-pickers/PickersActionBar';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Action bar shared by SDatePicker and SDateTimePicker.
|
|
5
|
+
*
|
|
6
|
+
* MUI ships both footer buttons as contained (twin filled buttons). This mirrors
|
|
7
|
+
* the project's dialog footer convention instead — outlined Cancel + contained
|
|
8
|
+
* confirm (see SDialogConfirm). It renders a plain DialogActions, so spacing and
|
|
9
|
+
* padding stay in sync with SDialog via the MuiDialogActions theme override.
|
|
10
|
+
*/
|
|
11
|
+
export declare const PickerActionBar: ({ actions, ...other }: PickersActionBarProps) => React.JSX.Element | null;
|
|
12
|
+
export default PickerActionBar;
|