@solostylist/ui-kit 1.0.87 → 1.0.89
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/{Box-Cf99MewL.js → Box-CJmG1mTu.js} +3 -3
- package/dist/ButtonBase-C0g54hXq.js +910 -0
- package/dist/ChevronRight-CtkI4XwH.js +11 -0
- package/dist/{Close-CKpTrk7X.js → Close--Sf9yZGB.js} +1 -1
- package/dist/{Menu-D2LDo0yd.js → Menu-BuktPpzX.js} +914 -1453
- package/dist/{MenuItem-JkMrBIMD.js → MenuItem-sL2AcofB.js} +8 -8
- package/dist/Paper-CH6cuu9i.js +553 -0
- package/dist/{Select-4BjFewNI.js → Select-D2lV25sl.js} +16 -15
- package/dist/{Stack-UjxgGQu9.js → Stack-CIrlOUXL.js} +4 -4
- package/dist/{TransitionGroup-DzGaAPUk.js → TransitionGroup-SToIdl-5.js} +3 -3
- package/dist/{Typography-CGoVq27h.js → Typography-D-VP4V1G.js} +3 -3
- package/dist/{createSvgIcon-vJH0FaMW.js → createSvgIcon-DpVs_nKR.js} +5 -5
- package/dist/{createTheme-DjqDAiZm.js → createTheme-DbdaZ0Ku.js} +3 -2
- package/dist/{defaultTheme-CaAxts6z.js → defaultTheme-CFAmbghg.js} +1 -1
- package/dist/{extendSxProp-BnfiUPQK.js → extendSxProp-CQnEn3aw.js} +1 -1
- package/dist/{index-DcImsw9J.js → index-CjPqjRDL.js} +4 -4
- package/dist/main.d.ts +6 -0
- package/dist/main.js +117 -111
- package/dist/mergeSlotProps-N47mO9C9.js +62 -0
- package/dist/s-accordion/index.d.ts +2 -0
- package/dist/s-accordion/index.js +4 -0
- package/dist/s-accordion/package.json +5 -0
- package/dist/s-accordion/s-accordion.d.ts +9 -0
- package/dist/s-accordion/s-accordion.js +924 -0
- package/dist/s-avatar/index.d.ts +2 -0
- package/dist/s-avatar/index.js +4 -0
- package/dist/s-avatar/package.json +5 -0
- package/dist/s-avatar/s-avatar.d.ts +10 -0
- package/dist/s-avatar/s-avatar.js +9 -0
- package/dist/s-chat-input/s-chat-input.js +6 -6
- package/dist/s-copyable-text/s-copyable-text.js +1 -1
- package/dist/s-data-table/s-data-table.js +12 -10
- package/dist/s-date-picker/s-date-picker.js +24 -24
- package/dist/s-datetime-picker/s-datetime-picker.js +13 -12
- package/dist/s-dialog/s-dialog.js +1 -1
- package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
- package/dist/s-dialog-message/s-dialog-message.js +2 -2
- package/dist/s-file-dropzone/s-file-dropzone.js +8 -8
- package/dist/s-file-icon/s-file-icon.js +1 -1
- package/dist/s-image-comparison/index.d.ts +2 -0
- package/dist/s-image-comparison/index.js +4 -0
- package/dist/s-image-comparison/package.json +5 -0
- package/dist/s-image-comparison/s-image-comparison.d.ts +11 -0
- package/dist/s-image-comparison/s-image-comparison.js +155 -0
- package/dist/s-image-modal/s-image-modal.js +94 -98
- package/dist/s-interactive-gallery/s-interactive-gallery.js +69 -69
- package/dist/s-label/s-label.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.js +1 -1
- package/dist/s-multi-select/s-multi-select.js +5 -5
- package/dist/s-smart-text-field/s-smart-text-field.js +2 -2
- package/dist/s-text-editor/s-text-editor-toolbar.js +8 -8
- package/dist/s-text-editor/s-text-editor.js +1 -1
- package/dist/s-text-field/s-text-field.js +13 -4
- package/dist/s-tip/s-tip.js +3 -3
- package/dist/theme/components/avatar.js +3 -3
- package/dist/theme/components/button.d.ts +2 -2
- package/dist/theme/components/chip.js +1 -1
- package/dist/theme/components/components.d.ts +2 -2
- package/dist/theme/customizations/inputs.js +1 -1
- package/dist/theme/customizations/navigation.js +1 -1
- package/dist/theme/theme-primitives.js +1 -1
- package/dist/useControlled-nm4pBabJ.js +31 -0
- package/dist/useFormControl-CatNKXAi.js +10 -0
- package/dist/{useMobilePicker-DmFQ075P.js → useMobilePicker-CRxlxUeh.js} +100 -98
- package/dist/{useTheme-DPtt6ExE.js → useTheme-CjYoxoob.js} +1 -1
- package/dist/{useThemeProps-DQiCrjPQ.js → useThemeProps-DdCEfRBE.js} +2 -2
- package/dist/{warning-UxpRUL3s.js → warning-CiVr8tE6.js} +3 -3
- package/package.json +1 -1
- package/dist/useFormControl-B3RPiDsz.js +0 -38
- package/dist/useSlot-DFSsVuMw.js +0 -969
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as x, _ } from "./objectWithoutPropertiesLoose-DiWPeE4c.js";
|
|
2
|
-
import { P as p } from "./createTheme-
|
|
2
|
+
import { P as p } from "./createTheme-DbdaZ0Ku.js";
|
|
3
3
|
import f, { isValidElement as h, cloneElement as v, Children as O } from "react";
|
|
4
4
|
function m(e, n) {
|
|
5
5
|
return m = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, a) {
|
|
@@ -191,7 +191,7 @@ b.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
191
191
|
} : {};
|
|
192
192
|
b.defaultProps = T;
|
|
193
193
|
export {
|
|
194
|
-
|
|
194
|
+
E as T,
|
|
195
195
|
C as _,
|
|
196
|
-
|
|
196
|
+
b as a
|
|
197
197
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as j from "react";
|
|
2
|
-
import { c, P as r } from "./createTheme-
|
|
3
|
-
import { u as O, s as S,
|
|
4
|
-
import { i as W } from "./index-
|
|
2
|
+
import { c, P as r } from "./createTheme-DbdaZ0Ku.js";
|
|
3
|
+
import { u as O, s as S, c as w, a as B, m as P } from "./createSvgIcon-DpVs_nKR.js";
|
|
4
|
+
import { i as W } from "./index-CjPqjRDL.js";
|
|
5
5
|
import { c as C } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
6
6
|
import { g as R } from "./typographyClasses-C7fhAsUD.js";
|
|
7
7
|
import { j as M } from "./jsx-runtime-DywqP_6a.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as N from "react";
|
|
2
2
|
import { j as k } from "./jsx-runtime-DywqP_6a.js";
|
|
3
|
-
import {
|
|
3
|
+
import { l as H, b as te, s as W, i as ne, c as j, P as i } from "./createTheme-DbdaZ0Ku.js";
|
|
4
4
|
import { i as E, a as oe, s as re } from "./index-B6k9mhKf.js";
|
|
5
5
|
import { g as se } from "./svgIconClasses-CBCi8U9g.js";
|
|
6
|
-
import { r as U, d as ie } from "./defaultTheme-
|
|
6
|
+
import { r as U, d as ie } from "./defaultTheme-CFAmbghg.js";
|
|
7
7
|
import { T as ce } from "./identifier-BKLqN993.js";
|
|
8
8
|
function G(e) {
|
|
9
9
|
var t, n, o = "";
|
|
@@ -504,9 +504,9 @@ function Fe(e, t) {
|
|
|
504
504
|
return process.env.NODE_ENV !== "production" && (n.displayName = `${t}Icon`), n.muiName = z.muiName, /* @__PURE__ */ N.memo(/* @__PURE__ */ N.forwardRef(n));
|
|
505
505
|
}
|
|
506
506
|
export {
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
507
|
+
le as a,
|
|
508
|
+
Fe as b,
|
|
509
|
+
ae as c,
|
|
510
510
|
pe as d,
|
|
511
511
|
Te as e,
|
|
512
512
|
D as f,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import { j as i } from "./jsx-runtime-DywqP_6a.js";
|
|
3
|
-
import { e as m } from "./extendSxProp-
|
|
4
|
-
import { P as e } from "./createTheme-
|
|
5
|
-
import { d as y } from "./defaultTheme-
|
|
3
|
+
import { e as m } from "./extendSxProp-CQnEn3aw.js";
|
|
4
|
+
import { P as e } from "./createTheme-DbdaZ0Ku.js";
|
|
5
|
+
import { d as y } from "./defaultTheme-CFAmbghg.js";
|
|
6
6
|
import { T as d } from "./identifier-BKLqN993.js";
|
|
7
7
|
import { i as b } from "./index-B6k9mhKf.js";
|
|
8
|
-
import { u as T } from "./useTheme-
|
|
8
|
+
import { u as T } from "./useTheme-CjYoxoob.js";
|
|
9
9
|
import { Global as x } from "@emotion/react";
|
|
10
10
|
function E(r) {
|
|
11
11
|
return r == null || Object.keys(r).length === 0;
|
package/dist/main.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
export { default as SAccordion } from './s-accordion/index';
|
|
2
|
+
export type { SAccordionProps } from './s-accordion/index';
|
|
1
3
|
export { default as SAutocomplete } from './s-autocomplete/index';
|
|
2
4
|
export type { SAutocompleteProps } from './s-autocomplete/index';
|
|
5
|
+
export { default as SAvatar } from './s-avatar/index';
|
|
6
|
+
export type { SAvatarProps } from './s-avatar/index';
|
|
3
7
|
export { default as SButton } from './s-button/index';
|
|
4
8
|
export type { SButtonProps } from './s-button/index';
|
|
5
9
|
export { default as SButtonLink } from './s-button-link/index';
|
|
@@ -83,5 +87,7 @@ export type { MediaItemType } from './s-image-modal/index';
|
|
|
83
87
|
export type { SImageModalProps } from './s-image-modal/index';
|
|
84
88
|
export { default as SLazyImage } from './s-lazy-image/index';
|
|
85
89
|
export type { SLazyImageProps } from './s-lazy-image/index';
|
|
90
|
+
export { default as SImageComparison } from './s-image-comparison/index';
|
|
91
|
+
export type { SImageComparisonProps } from './s-image-comparison/index';
|
|
86
92
|
export * from './hooks';
|
|
87
93
|
export * from './utils';
|
package/dist/main.js
CHANGED
|
@@ -1,114 +1,120 @@
|
|
|
1
|
-
import { default as t } from "./s-
|
|
2
|
-
import { default as f } from "./s-
|
|
3
|
-
import { default as
|
|
4
|
-
import { default as s } from "./s-
|
|
5
|
-
import { default as S } from "./s-
|
|
1
|
+
import { default as t } from "./s-accordion/s-accordion.js";
|
|
2
|
+
import { default as f } from "./s-autocomplete/s-autocomplete.js";
|
|
3
|
+
import { default as m } from "./s-avatar/s-avatar.js";
|
|
4
|
+
import { default as s } from "./s-button/s-button.js";
|
|
5
|
+
import { default as S } from "./s-button-link/s-button-link.js";
|
|
6
|
+
import { default as u } from "./s-chat-input/s-chat-input.js";
|
|
7
|
+
import { default as n } from "./s-text-editor/s-text-editor.js";
|
|
6
8
|
import "./s-text-editor/s-text-editor-toolbar.js";
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { DialogConfirmProvider as
|
|
12
|
-
import { DialogMessageProvider as
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as
|
|
22
|
-
import { default as
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
31
|
-
import { SSmartTextField as
|
|
32
|
-
import { SCopilotKitProvider as
|
|
33
|
-
import { SStripeCVC as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { MediaItem as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
9
|
+
import { default as c } from "./s-checkbox/s-checkbox.js";
|
|
10
|
+
import { default as v } from "./s-chip/s-chip.js";
|
|
11
|
+
import { default as P } from "./s-chips/s-chips.js";
|
|
12
|
+
import { default as I } from "./s-data-table/s-data-table.js";
|
|
13
|
+
import { DialogConfirmProvider as b, default as k, useDialogConfirm as L } from "./s-dialog-confirm/s-dialog-confirm.js";
|
|
14
|
+
import { DialogMessageProvider as F, default as h, useDialogMessage as B } from "./s-dialog-message/s-dialog-message.js";
|
|
15
|
+
import { default as E } from "./s-error/s-error.js";
|
|
16
|
+
import { default as G } from "./s-empty/s-empty.js";
|
|
17
|
+
import { default as j } from "./s-dialog/s-dialog.js";
|
|
18
|
+
import { default as K } from "./s-file-dropzone/s-file-dropzone.js";
|
|
19
|
+
import { default as q } from "./s-file-icon/s-file-icon.js";
|
|
20
|
+
import { default as J } from "./s-i18n-provider/s-i18n-provider.js";
|
|
21
|
+
import { default as Q } from "./s-icon-button/s-icon-button.js";
|
|
22
|
+
import { default as U } from "./s-label/s-label.js";
|
|
23
|
+
import { default as X } from "./s-multi-select/s-multi-select.js";
|
|
24
|
+
import { default as Z } from "./s-no-ssr/s-no-ssr.js";
|
|
25
|
+
import { default as $ } from "./s-text-field/s-text-field.js";
|
|
26
|
+
import { default as oe } from "./s-pagination/s-pagination.js";
|
|
27
|
+
import { default as te } from "./s-select/s-select.js";
|
|
28
|
+
import { default as fe } from "./s-skeleton/s-skeleton.js";
|
|
29
|
+
import { default as me } from "./s-tip/s-tip.js";
|
|
30
|
+
import { default as se } from "./s-text-truncation/s-text-truncation.js";
|
|
31
|
+
import { default as Se, SnackbarMessageProvider as xe, useSnackbarMessage as ue } from "./s-snackbar-message/s-snackbar-message.js";
|
|
32
|
+
import { default as ne } from "./s-form/s-form.js";
|
|
33
|
+
import { SSmartTextField as ce } from "./s-smart-text-field/s-smart-text-field.js";
|
|
34
|
+
import { SCopilotKitProvider as ve } from "./s-copilot-kit-provider/s-copilot-kit-provider.js";
|
|
35
|
+
import { SStripeCVC as Pe, SStripeExpiry as Te, SStripeNumber as Ie, StripeTextField as Me } from "./s-stripe/s-stripe.js";
|
|
36
|
+
import { default as ke } from "./s-theme-provider/s-theme-provider.js";
|
|
37
|
+
import { default as ye } from "./s-datetime-picker/s-datetime-picker.js";
|
|
38
|
+
import { default as he } from "./s-date-picker/s-date-picker.js";
|
|
39
|
+
import { default as ze } from "./s-localization-provider/s-localization-provider.js";
|
|
40
|
+
import { default as Ae } from "./s-gradient-icon/s-gradient-icon.js";
|
|
41
|
+
import { default as Ne } from "./s-glow-button/s-glow-button.js";
|
|
42
|
+
import { default as we } from "./s-moving-border/s-moving-border.js";
|
|
43
|
+
import { default as Ve } from "./s-copyable-text/s-copyable-text.js";
|
|
44
|
+
import { MediaItem as He, default as Je } from "./s-interactive-gallery/s-interactive-gallery.js";
|
|
45
|
+
import { default as Qe } from "./s-image-modal/s-image-modal.js";
|
|
46
|
+
import { default as Ue } from "./s-lazy-image/s-lazy-image.js";
|
|
47
|
+
import { default as Xe } from "./s-image-comparison/s-image-comparison.js";
|
|
48
|
+
import { useDialog as Ze } from "./hooks/use-dialog.js";
|
|
49
|
+
import { usePopover as $e } from "./hooks/use-popover.js";
|
|
50
|
+
import { formatDatePosted as oo } from "./utils/dayjs.js";
|
|
51
|
+
import { bytesToSize as to } from "./utils/bytes-to-size.js";
|
|
52
|
+
import { LogLevel as fo, Logger as lo, createLogger as mo, logger as po } from "./utils/logger.js";
|
|
53
|
+
import { default as So } from "dayjs";
|
|
51
54
|
export {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
t as
|
|
58
|
-
f as
|
|
59
|
-
|
|
60
|
-
s as
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
c as
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
55
|
+
b as DialogConfirmProvider,
|
|
56
|
+
F as DialogMessageProvider,
|
|
57
|
+
fo as LogLevel,
|
|
58
|
+
lo as Logger,
|
|
59
|
+
He as MediaItem,
|
|
60
|
+
t as SAccordion,
|
|
61
|
+
f as SAutocomplete,
|
|
62
|
+
m as SAvatar,
|
|
63
|
+
s as SButton,
|
|
64
|
+
S as SButtonLink,
|
|
65
|
+
u as SChatInput,
|
|
66
|
+
c as SCheckbox,
|
|
67
|
+
v as SChip,
|
|
68
|
+
P as SChips,
|
|
69
|
+
ve as SCopilotKitProvider,
|
|
70
|
+
Ve as SCopyableText,
|
|
71
|
+
I as SDataTable,
|
|
72
|
+
he as SDatePicker,
|
|
73
|
+
ye as SDateTimePicker,
|
|
74
|
+
j as SDialog,
|
|
75
|
+
k as SDialogConfirm,
|
|
76
|
+
h as SDialogMessage,
|
|
77
|
+
G as SEmpty,
|
|
78
|
+
E as SError,
|
|
79
|
+
K as SFileDropzone,
|
|
80
|
+
q as SFileIcon,
|
|
81
|
+
ne as SForm,
|
|
82
|
+
Ne as SGlowButton,
|
|
83
|
+
Ae as SGradientIcon,
|
|
84
|
+
J as SI18nProvider,
|
|
85
|
+
Q as SIconButton,
|
|
86
|
+
Xe as SImageComparison,
|
|
87
|
+
Qe as SImageModal,
|
|
88
|
+
Je as SInteractiveGallery,
|
|
89
|
+
U as SLabel,
|
|
90
|
+
Ue as SLazyImage,
|
|
91
|
+
ze as SLocalizationProvider,
|
|
92
|
+
we as SMovingBorder,
|
|
93
|
+
X as SMultiSelect,
|
|
94
|
+
Z as SNoSsr,
|
|
95
|
+
oe as SPagination,
|
|
96
|
+
te as SSelect,
|
|
97
|
+
fe as SSkeleton,
|
|
98
|
+
ce as SSmartTextField,
|
|
99
|
+
Se as SSnackbarMessage,
|
|
100
|
+
Pe as SStripeCVC,
|
|
101
|
+
Te as SStripeExpiry,
|
|
102
|
+
Ie as SStripeNumber,
|
|
103
|
+
n as STextEditor,
|
|
104
|
+
$ as STextField,
|
|
105
|
+
se as STextTruncation,
|
|
106
|
+
ke as SThemeProvider,
|
|
107
|
+
me as STip,
|
|
108
|
+
xe as SnackbarMessageProvider,
|
|
109
|
+
Me as StripeTextField,
|
|
110
|
+
to as bytesToSize,
|
|
111
|
+
mo as createLogger,
|
|
112
|
+
So as dayjs,
|
|
113
|
+
oo as formatDatePosted,
|
|
114
|
+
po as logger,
|
|
115
|
+
Ze as useDialog,
|
|
116
|
+
L as useDialogConfirm,
|
|
117
|
+
B as useDialogMessage,
|
|
118
|
+
$e as usePopover,
|
|
119
|
+
ue as useSnackbarMessage
|
|
114
120
|
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { c as f } from "./createSvgIcon-DpVs_nKR.js";
|
|
2
|
+
function H(c, m) {
|
|
3
|
+
const N = c.charCodeAt(2);
|
|
4
|
+
return c[0] === "o" && c[1] === "n" && N >= 65 && N <= 90 && typeof m == "function";
|
|
5
|
+
}
|
|
6
|
+
function j(c, m) {
|
|
7
|
+
if (!c)
|
|
8
|
+
return m;
|
|
9
|
+
function N(h, i) {
|
|
10
|
+
const s = {};
|
|
11
|
+
return Object.keys(i).forEach((A) => {
|
|
12
|
+
H(A, i[A]) && typeof h[A] == "function" && (s[A] = (...n) => {
|
|
13
|
+
h[A](...n), i[A](...n);
|
|
14
|
+
});
|
|
15
|
+
}), s;
|
|
16
|
+
}
|
|
17
|
+
if (typeof c == "function" || typeof m == "function")
|
|
18
|
+
return (h) => {
|
|
19
|
+
const i = typeof m == "function" ? m(h) : m, s = typeof c == "function" ? c({
|
|
20
|
+
...h,
|
|
21
|
+
...i
|
|
22
|
+
}) : c, A = f(h == null ? void 0 : h.className, i == null ? void 0 : i.className, s == null ? void 0 : s.className), n = N(s, i);
|
|
23
|
+
return {
|
|
24
|
+
...i,
|
|
25
|
+
...s,
|
|
26
|
+
...n,
|
|
27
|
+
...!!A && {
|
|
28
|
+
className: A
|
|
29
|
+
},
|
|
30
|
+
...(i == null ? void 0 : i.style) && (s == null ? void 0 : s.style) && {
|
|
31
|
+
style: {
|
|
32
|
+
...i.style,
|
|
33
|
+
...s.style
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
...(i == null ? void 0 : i.sx) && (s == null ? void 0 : s.sx) && {
|
|
37
|
+
sx: [...Array.isArray(i.sx) ? i.sx : [i.sx], ...Array.isArray(s.sx) ? s.sx : [s.sx]]
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
const y = m, E = N(c, y), C = f(y == null ? void 0 : y.className, c == null ? void 0 : c.className);
|
|
42
|
+
return {
|
|
43
|
+
...m,
|
|
44
|
+
...c,
|
|
45
|
+
...E,
|
|
46
|
+
...!!C && {
|
|
47
|
+
className: C
|
|
48
|
+
},
|
|
49
|
+
...(y == null ? void 0 : y.style) && (c == null ? void 0 : c.style) && {
|
|
50
|
+
style: {
|
|
51
|
+
...y.style,
|
|
52
|
+
...c.style
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
...(y == null ? void 0 : y.sx) && (c == null ? void 0 : c.sx) && {
|
|
56
|
+
sx: [...Array.isArray(y.sx) ? y.sx : [y.sx], ...Array.isArray(c.sx) ? c.sx : [c.sx]]
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
export {
|
|
61
|
+
j as m
|
|
62
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface SAccordionProps {
|
|
3
|
+
title: React.ReactNode;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
startIcon?: React.ReactNode;
|
|
6
|
+
defaultExpanded?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const SAccordion: ({ title, children, startIcon, defaultExpanded }: SAccordionProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default SAccordion;
|