@solostylist/ui-kit 1.0.56 → 1.0.58
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-MoP3r0T2.js → Box-DuNveqKq.js} +1 -1
- package/dist/{Close-DLG48sGB.js → Close-Dc2lVwnr.js} +1 -1
- package/dist/{HelpOutlineOutlined-CBZQGWGK.js → HelpOutlineOutlined-BAjVLccf.js} +1 -1
- package/dist/{Menu-Y8dE9GrA.js → Menu-CFtdt9_b.js} +22 -8
- package/dist/MenuItem-Bqce0qet.js +261 -0
- package/dist/Select-D539S2ky.js +3917 -0
- package/dist/{Stack-DT2aopM5.js → Stack-CG6wicnq.js} +69 -91
- package/dist/{Typography-BXwj4yQZ.js → Typography-Bj_bEcQU.js} +2 -2
- package/dist/chipClasses-DKfDKFnh.js +10 -0
- package/dist/{createSvgIcon-YtxTUNwI.js → createSvgIcon-ChpOI-a_.js} +217 -213
- package/dist/{index-GaV7LHxy.js → index-Cuc5JxMf.js} +4 -4
- package/dist/main.d.ts +4 -2
- package/dist/main.js +42 -41
- package/dist/s-data-table/s-data-table.js +2 -2
- package/dist/s-datetime-picker/index.d.ts +4 -0
- package/dist/s-datetime-picker/index.js +5 -0
- package/dist/{s-image-gallery → s-datetime-picker}/package.json +1 -1
- package/dist/s-datetime-picker/s-datetime-picker.d.ts +15 -0
- package/dist/s-datetime-picker/s-datetime-picker.js +18763 -0
- 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 +4 -4
- package/dist/s-file-icon/s-file-icon.js +1 -1
- package/dist/s-form/s-form.js +1 -1
- package/dist/s-label/s-label.js +1 -1
- package/dist/s-multi-select/s-multi-select.js +50 -298
- package/dist/s-text-editor/s-text-editor-toolbar.js +100 -4001
- package/dist/s-text-editor/s-text-editor.js +1 -1
- package/dist/s-tip/s-tip.js +3 -3
- package/dist/tabClasses-BM7nwRzw.js +10 -0
- package/dist/theme/components/avatar.js +1 -1
- package/dist/theme/customizations/data-display.js +36 -36
- package/dist/theme/customizations/inputs.js +1 -1
- package/dist/theme/customizations/navigation.js +52 -50
- package/dist/{useSlot-GW4ou7g5.js → useSlot-Dje0rInB.js} +1 -1
- package/dist/{useTheme-vk3BYrgD.js → useTheme-BM5dU4pp.js} +3 -2
- package/dist/useThemeProps-kZjTQ980.js +27 -0
- package/dist/utils/dayjs.js +14 -14
- package/package.json +7 -6
- package/dist/assets/s-image-gallery.css +0 -1
- package/dist/s-image-gallery/index.d.ts +0 -2
- package/dist/s-image-gallery/index.js +0 -4
- package/dist/s-image-gallery/s-image-gallery.d.ts +0 -5
- package/dist/s-image-gallery/s-image-gallery.js +0 -1085
|
@@ -2,18 +2,18 @@ import "react";
|
|
|
2
2
|
import { j as p } from "./jsx-runtime-C5mzlN2N.js";
|
|
3
3
|
import { e as f } from "./extendSxProp-BuqOAkIB.js";
|
|
4
4
|
import { P as e } from "./createTheme-CozHbEju.js";
|
|
5
|
-
import {
|
|
5
|
+
import { e as a } from "./createSvgIcon-ChpOI-a_.js";
|
|
6
6
|
import { T as c } from "./identifier-9JFYVRsR.js";
|
|
7
|
-
import { u as m } from "./useTheme-
|
|
7
|
+
import { u as m } from "./useTheme-BM5dU4pp.js";
|
|
8
8
|
import { Global as y } from "@emotion/react";
|
|
9
|
-
function
|
|
9
|
+
function b(o) {
|
|
10
10
|
return o == null || Object.keys(o).length === 0;
|
|
11
11
|
}
|
|
12
12
|
function l(o) {
|
|
13
13
|
const {
|
|
14
14
|
styles: t,
|
|
15
15
|
defaultTheme: n = {}
|
|
16
|
-
} = o, r = typeof t == "function" ? (s) => t(
|
|
16
|
+
} = o, r = typeof t == "function" ? (s) => t(b(s) ? n : s) : t;
|
|
17
17
|
return /* @__PURE__ */ p.jsx(y, {
|
|
18
18
|
styles: r
|
|
19
19
|
});
|
package/dist/main.d.ts
CHANGED
|
@@ -46,8 +46,6 @@ export type { STipProps } from './s-tip/index';
|
|
|
46
46
|
export { default as STextTruncation } from './s-text-truncation/index';
|
|
47
47
|
export { default as SSnackbarMessage, SnackbarMessageProvider, useSnackbarMessage } from './s-snackbar-message/index';
|
|
48
48
|
export type { SnackbarMessageContextProps, SnackbarMessageOpenOptions } from './s-snackbar-message/index';
|
|
49
|
-
export { default as SImageGallery } from './s-image-gallery/index';
|
|
50
|
-
export type { SImageGalleryProps } from './s-image-gallery/index';
|
|
51
49
|
export { default as SForm } from './s-form/index';
|
|
52
50
|
export type { SFormProps } from './s-form/index';
|
|
53
51
|
export { default as SSmartTextField } from './s-smart-text-field/index';
|
|
@@ -56,5 +54,9 @@ export { SStripeNumber, SStripeExpiry, SStripeCVC, StripeTextField } from './s-s
|
|
|
56
54
|
export type { StripeTextFieldProps, StripeElement } from './s-stripe/index';
|
|
57
55
|
export { default as SThemeProvider } from './s-theme-provider/index';
|
|
58
56
|
export type { SThemeProviderProps } from './s-theme-provider/index';
|
|
57
|
+
export { default as SDateTimePicker } from './s-datetime-picker/index';
|
|
58
|
+
export type { SDateTimePickerProps } from './s-datetime-picker/index';
|
|
59
|
+
export { LocalizationProvider } from './s-datetime-picker/index';
|
|
60
|
+
export type { LocalizationProviderProps } from './s-datetime-picker/index';
|
|
59
61
|
export * from './hooks';
|
|
60
62
|
export * from './utils';
|
package/dist/main.js
CHANGED
|
@@ -4,18 +4,18 @@ import { default as l } from "./s-text-editor/s-text-editor.js";
|
|
|
4
4
|
import { default as m } from "./s-checkbox/s-checkbox.js";
|
|
5
5
|
import { default as S } from "./s-chips/s-chips.js";
|
|
6
6
|
import { default as d } from "./s-data-table/s-data-table.js";
|
|
7
|
-
import { DialogConfirmProvider as
|
|
8
|
-
import { DialogMessageProvider as D, default as T, useDialogMessage as
|
|
7
|
+
import { DialogConfirmProvider as u, default as g, useDialogConfirm as n } from "./s-dialog-confirm/s-dialog-confirm.js";
|
|
8
|
+
import { DialogMessageProvider as D, default as T, useDialogMessage as P } from "./s-dialog-message/s-dialog-message.js";
|
|
9
9
|
import { default as v } from "./s-error/s-error.js";
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as
|
|
10
|
+
import { default as C } from "./s-empty/s-empty.js";
|
|
11
|
+
import { default as M } from "./s-dialog/s-dialog.js";
|
|
12
12
|
import { default as y } from "./s-file-dropzone/s-file-dropzone.js";
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
13
|
+
import { default as h } from "./s-file-icon/s-file-icon.js";
|
|
14
|
+
import { default as I } from "./s-i18n-provider/s-i18n-provider.js";
|
|
15
15
|
import { default as N } from "./s-icon-button/s-icon-button.js";
|
|
16
16
|
import { default as A } from "./s-label/s-label.js";
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
17
|
+
import { default as q } from "./s-multi-select/s-multi-select.js";
|
|
18
|
+
import { default as G } from "./s-no-ssr/s-no-ssr.js";
|
|
19
19
|
import { default as J } from "./s-text-field/s-text-field.js";
|
|
20
20
|
import { default as O } from "./s-pagination/s-pagination.js";
|
|
21
21
|
import { default as R } from "./s-select/s-select.js";
|
|
@@ -23,64 +23,65 @@ import { default as W } from "./s-skeleton/s-skeleton.js";
|
|
|
23
23
|
import { default as Y } from "./s-tip/s-tip.js";
|
|
24
24
|
import { default as _ } from "./s-text-truncation/s-text-truncation.js";
|
|
25
25
|
import { default as ee, SnackbarMessageProvider as oe, useSnackbarMessage as re } from "./s-snackbar-message/s-snackbar-message.js";
|
|
26
|
-
import { default as ae } from "./s-
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import { useDialog as
|
|
32
|
-
import { usePopover as
|
|
33
|
-
import { formatDatePosted as
|
|
26
|
+
import { default as ae } from "./s-form/s-form.js";
|
|
27
|
+
import { SSmartTextField as le } from "./s-smart-text-field/s-smart-text-field.js";
|
|
28
|
+
import { SStripeCVC as me, SStripeExpiry as pe, SStripeNumber as Se, StripeTextField as xe } from "./s-stripe/s-stripe.js";
|
|
29
|
+
import { default as ie } from "./s-theme-provider/s-theme-provider.js";
|
|
30
|
+
import { LocalizationProvider as ge, default as ne } from "./s-datetime-picker/s-datetime-picker.js";
|
|
31
|
+
import { useDialog as De } from "./hooks/use-dialog.js";
|
|
32
|
+
import { usePopover as Pe } from "./hooks/use-popover.js";
|
|
33
|
+
import { formatDatePosted as ve } from "./utils/dayjs.js";
|
|
34
34
|
import { bytesToSize as Ce } from "./utils/bytes-to-size.js";
|
|
35
|
-
import { LogLevel as
|
|
36
|
-
import { default as
|
|
35
|
+
import { LogLevel as Me, Logger as Fe, createLogger as ye, logger as Ee } from "./utils/logger.js";
|
|
36
|
+
import { default as ze } from "dayjs";
|
|
37
37
|
export {
|
|
38
|
-
|
|
38
|
+
u as DialogConfirmProvider,
|
|
39
39
|
D as DialogMessageProvider,
|
|
40
|
-
|
|
40
|
+
ge as LocalizationProvider,
|
|
41
|
+
Me as LogLevel,
|
|
41
42
|
Fe as Logger,
|
|
42
43
|
r as SAutocomplete,
|
|
43
44
|
a as SButtonLink,
|
|
44
45
|
m as SCheckbox,
|
|
45
46
|
S as SChips,
|
|
46
47
|
d as SDataTable,
|
|
47
|
-
|
|
48
|
+
ne as SDateTimePicker,
|
|
49
|
+
M as SDialog,
|
|
48
50
|
g as SDialogConfirm,
|
|
49
51
|
T as SDialogMessage,
|
|
50
|
-
|
|
52
|
+
C as SEmpty,
|
|
51
53
|
v as SError,
|
|
52
54
|
y as SFileDropzone,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
h as SFileIcon,
|
|
56
|
+
ae as SForm,
|
|
57
|
+
I as SI18nProvider,
|
|
56
58
|
N as SIconButton,
|
|
57
|
-
ae as SImageGallery,
|
|
58
59
|
A as SLabel,
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
q as SMultiSelect,
|
|
61
|
+
G as SNoSsr,
|
|
61
62
|
O as SPagination,
|
|
62
63
|
R as SSelect,
|
|
63
64
|
W as SSkeleton,
|
|
64
|
-
|
|
65
|
+
le as SSmartTextField,
|
|
65
66
|
ee as SSnackbarMessage,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
me as SStripeCVC,
|
|
68
|
+
pe as SStripeExpiry,
|
|
69
|
+
Se as SStripeNumber,
|
|
69
70
|
l as STextEditor,
|
|
70
71
|
J as STextField,
|
|
71
72
|
_ as STextTruncation,
|
|
72
|
-
|
|
73
|
+
ie as SThemeProvider,
|
|
73
74
|
Y as STip,
|
|
74
75
|
oe as SnackbarMessageProvider,
|
|
75
|
-
|
|
76
|
+
xe as StripeTextField,
|
|
76
77
|
Ce as bytesToSize,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
78
|
+
ye as createLogger,
|
|
79
|
+
ze as dayjs,
|
|
80
|
+
ve as formatDatePosted,
|
|
81
|
+
Ee as logger,
|
|
82
|
+
De as useDialog,
|
|
82
83
|
n as useDialogConfirm,
|
|
83
|
-
|
|
84
|
-
|
|
84
|
+
P as useDialogMessage,
|
|
85
|
+
Pe as usePopover,
|
|
85
86
|
re as useSnackbarMessage
|
|
86
87
|
};
|
|
@@ -3,9 +3,9 @@ import * as y from "react";
|
|
|
3
3
|
import Ce from "../s-empty/s-empty.js";
|
|
4
4
|
import { g as N, c as j, P as e, a as M, n as Te, o as ke } from "../createTheme-CozHbEju.js";
|
|
5
5
|
import { g as $, c as I } from "../identifier-9JFYVRsR.js";
|
|
6
|
-
import {
|
|
6
|
+
import { a as S, b as B, f as se, c as J, u as E, m as W } from "../createSvgIcon-ChpOI-a_.js";
|
|
7
7
|
import { u as je, a as Oe } from "../useFormControl-B3RPiDsz.js";
|
|
8
|
-
import { a as A, B as Re, r as we, m as Pe } from "../useSlot-
|
|
8
|
+
import { a as A, B as Re, r as we, m as Pe } from "../useSlot-Dje0rInB.js";
|
|
9
9
|
import { c as Y } from "../createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
10
10
|
function Se(o) {
|
|
11
11
|
return N("PrivateSwitchBase", o);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DateTimePickerProps } from '@mui/x-date-pickers/DateTimePicker';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface LocalizationProviderProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare function LocalizationProvider({ children }: LocalizationProviderProps): React.JSX.Element;
|
|
7
|
+
export interface SDateTimePickerProps extends DateTimePickerProps {
|
|
8
|
+
label?: string | React.ReactNode;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
error?: string;
|
|
11
|
+
htmlFor?: string;
|
|
12
|
+
hint?: string;
|
|
13
|
+
}
|
|
14
|
+
declare function SDateTimePicker({ label, required, error, htmlFor, hint, ...props }: SDateTimePickerProps): React.JSX.Element;
|
|
15
|
+
export default SDateTimePicker;
|