@solostylist/ui-kit 1.0.15 → 1.0.16
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/main.d.ts +54 -33
- package/dist/main.js +23 -21
- package/dist/s-autocomplete/index.d.ts +1 -0
- package/dist/s-button-link/index.d.ts +1 -0
- package/dist/s-button-link/s-button-link.d.ts +1 -1
- package/dist/s-checkbox/index.d.ts +1 -0
- package/dist/s-checkbox/s-checkbox.d.ts +1 -1
- package/dist/s-chips/index.d.ts +1 -0
- package/dist/s-chips/s-chips.d.ts +1 -1
- package/dist/s-dialog/index.d.ts +1 -0
- package/dist/s-dialog/s-dialog.d.ts +1 -1
- package/dist/s-empty/index.d.ts +1 -0
- package/dist/s-empty/s-empty.d.ts +1 -1
- package/dist/s-file-dropzone/index.d.ts +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.d.ts +1 -1
- package/dist/s-file-icon/index.d.ts +1 -0
- package/dist/s-form/index.d.ts +1 -0
- package/dist/s-form/s-form.d.ts +1 -1
- package/dist/s-i18n-provider/index.d.ts +1 -0
- package/dist/s-icon-button/index.d.ts +1 -0
- package/dist/s-icon-button/s-icon-button.d.ts +1 -1
- package/dist/s-image-gallery/index.d.ts +1 -0
- package/dist/s-image-gallery/s-image-gallery.d.ts +1 -1
- package/dist/s-label/index.d.ts +1 -0
- package/dist/s-label/s-label.d.ts +1 -1
- package/dist/s-no-ssr/index.d.ts +1 -0
- package/dist/s-pagination/index.d.ts +1 -0
- package/dist/s-pagination/s-pagination.d.ts +1 -1
- package/dist/s-select/index.d.ts +1 -0
- package/dist/s-select/s-select.d.ts +1 -1
- package/dist/s-skeleton/index.d.ts +1 -0
- package/dist/s-skeleton/s-skeleton.d.ts +1 -1
- package/dist/s-text-editor/index.d.ts +1 -0
- package/dist/s-text-field/index.d.ts +1 -0
- package/dist/s-text-field/s-text-field.d.ts +1 -1
- package/dist/s-text-truncation/index.d.ts +1 -0
- package/dist/s-text-truncation/s-text-truncation.d.ts +1 -1
- package/dist/s-theme-provider/index.d.ts +1 -0
- package/dist/s-theme-provider/s-theme-provider.d.ts +1 -1
- package/dist/s-tip/index.d.ts +1 -0
- package/dist/theme/customizations/inputs.js +1 -1
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -1,35 +1,56 @@
|
|
|
1
|
-
export { default as SAutocomplete } from './s-autocomplete';
|
|
2
|
-
export {
|
|
3
|
-
export { default as
|
|
4
|
-
export {
|
|
5
|
-
export { default as
|
|
6
|
-
export {
|
|
7
|
-
export
|
|
8
|
-
export {
|
|
9
|
-
export
|
|
10
|
-
export {
|
|
11
|
-
export
|
|
12
|
-
export {
|
|
13
|
-
export { default as
|
|
14
|
-
export {
|
|
15
|
-
export { default as
|
|
16
|
-
export type {
|
|
17
|
-
export { default as
|
|
18
|
-
export { default as
|
|
19
|
-
export {
|
|
20
|
-
export { default as
|
|
21
|
-
export {
|
|
22
|
-
export
|
|
23
|
-
export {
|
|
24
|
-
export { default as
|
|
25
|
-
export {
|
|
26
|
-
export { default as
|
|
27
|
-
export {
|
|
28
|
-
export { default as
|
|
29
|
-
export {
|
|
30
|
-
export { default as
|
|
31
|
-
export type {
|
|
32
|
-
export { default as
|
|
33
|
-
export {
|
|
1
|
+
export { default as SAutocomplete } from './s-autocomplete/index';
|
|
2
|
+
export type { SAutocompleteProps } from './s-autocomplete/index';
|
|
3
|
+
export { default as SButtonLink } from './s-button-link/index';
|
|
4
|
+
export type { SButtonLinkProps } from './s-button-link/index';
|
|
5
|
+
export { default as STextEditor } from './s-text-editor/index';
|
|
6
|
+
export type { STextEditorProps } from './s-text-editor/index';
|
|
7
|
+
export { default as SCheckbox } from './s-checkbox/index';
|
|
8
|
+
export type { SCheckboxProps } from './s-checkbox/index';
|
|
9
|
+
export { default as SChips } from './s-chips/index';
|
|
10
|
+
export type { SChipsProps } from './s-chips/index';
|
|
11
|
+
export { default as SDataTable } from './s-data-table/index';
|
|
12
|
+
export type { ColumnDef, SDataTableProps } from './s-data-table/index';
|
|
13
|
+
export { default as SDialogConfirm, DialogConfirmProvider, useDialogConfirm } from './s-dialog-confirm/index';
|
|
14
|
+
export type { DialogConfirmContextProps, DialogConfirmOpenOptions } from './s-dialog-confirm/index';
|
|
15
|
+
export { default as SDialogMessage, DialogMessageProvider, useDialogMessage } from './s-dialog-message/index';
|
|
16
|
+
export type { DialogMessageContextProps, DialogMessageOpenOptions } from './s-dialog-message/index';
|
|
17
|
+
export { default as SError } from './s-error/index';
|
|
18
|
+
export { default as SEmpty } from './s-empty/index';
|
|
19
|
+
export type { SEmptyProps } from './s-empty/index';
|
|
20
|
+
export { default as SDialog } from './s-dialog/index';
|
|
21
|
+
export type { SDialogProps } from './s-dialog/index';
|
|
22
|
+
export { default as SFileDropzone } from './s-file-dropzone/index';
|
|
23
|
+
export type { CustomFile, SFileDropzoneProps } from './s-file-dropzone/index';
|
|
24
|
+
export { default as SFileIcon } from './s-file-icon/index';
|
|
25
|
+
export type { SFileIconProps } from './s-file-icon/index';
|
|
26
|
+
export { default as SI18nProvider } from './s-i18n-provider/index';
|
|
27
|
+
export type { SI18nProviderProps } from './s-i18n-provider/index';
|
|
28
|
+
export { default as SIconButton } from './s-icon-button/index';
|
|
29
|
+
export type { SIconButtonProps } from './s-icon-button/index';
|
|
30
|
+
export { default as SLabel } from './s-label/index';
|
|
31
|
+
export type { SLabelProps } from './s-label/index';
|
|
32
|
+
export { default as SMultiSelect } from './s-multi-select/index';
|
|
33
|
+
export type { SMultiSelectProps } from './s-multi-select/index';
|
|
34
|
+
export { default as SNoSsr } from './s-no-ssr/index';
|
|
35
|
+
export type { SNoSsrProps } from './s-no-ssr/index';
|
|
36
|
+
export { default as STextField } from './s-text-field/index';
|
|
37
|
+
export type { STextFieldProps } from './s-text-field/index';
|
|
38
|
+
export { default as SPagination } from './s-pagination/index';
|
|
39
|
+
export type { SPaginationProps } from './s-pagination/index';
|
|
40
|
+
export { default as SSelect } from './s-select/index';
|
|
41
|
+
export type { SSelectProps } from './s-select/index';
|
|
42
|
+
export { default as SSkeleton } from './s-skeleton/index';
|
|
43
|
+
export type { SSkeletonProps } from './s-skeleton/index';
|
|
44
|
+
export { default as STip } from './s-tip/index';
|
|
45
|
+
export type { STipProps } from './s-tip/index';
|
|
46
|
+
export { default as STextTruncation } from './s-text-truncation/index';
|
|
47
|
+
export { default as SSnackbarMessage, SnackbarMessageProvider, useSnackbarMessage } from './s-snackbar-message/index';
|
|
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
|
+
export { default as SForm } from './s-form/index';
|
|
52
|
+
export type { SFormProps } from './s-form/index';
|
|
53
|
+
export { default as SThemeProvider } from './s-theme-provider/index';
|
|
54
|
+
export type { SThemeProviderProps } from './s-theme-provider/index';
|
|
34
55
|
export * from './hooks';
|
|
35
56
|
export * from './utils';
|
package/dist/main.js
CHANGED
|
@@ -9,8 +9,8 @@ import { DialogMessageProvider as D, default as P, useDialogMessage as T } from
|
|
|
9
9
|
import { default as v } from "./s-error/s-error.js";
|
|
10
10
|
import { default as k } from "./s-empty/s-empty.js";
|
|
11
11
|
import { default as C } from "./s-dialog/s-dialog.js";
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
12
|
+
import { default as F } from "./s-file-dropzone/s-file-dropzone.js";
|
|
13
|
+
import { default as h } from "./s-file-icon/s-file-icon.js";
|
|
14
14
|
import { default as z } from "./s-i18n-provider/s-i18n-provider.js";
|
|
15
15
|
import { default as j } from "./s-icon-button/s-icon-button.js";
|
|
16
16
|
import { default as G } from "./s-label/s-label.js";
|
|
@@ -24,18 +24,19 @@ 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
26
|
import { default as te } from "./s-image-gallery/s-image-gallery.js";
|
|
27
|
-
import { default as le } from "./s-
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
27
|
+
import { default as le } from "./s-form/s-form.js";
|
|
28
|
+
import { default as me } from "./s-theme-provider/s-theme-provider.js";
|
|
29
|
+
import { useDialog as ue } from "./hooks/use-dialog.js";
|
|
30
|
+
import { usePopover as xe } from "./hooks/use-popover.js";
|
|
31
|
+
import { formatDatePosted as ie } from "./utils/dayjs.js";
|
|
32
|
+
import { bytesToSize as ne } from "./utils/bytes-to-size.js";
|
|
33
|
+
import { LogLevel as De, Logger as Pe, createLogger as Te, logger as be } from "./utils/logger.js";
|
|
34
|
+
import { default as Me } from "dayjs";
|
|
34
35
|
export {
|
|
35
36
|
i as DialogConfirmProvider,
|
|
36
37
|
D as DialogMessageProvider,
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
De as LogLevel,
|
|
39
|
+
Pe as Logger,
|
|
39
40
|
r as SAutocomplete,
|
|
40
41
|
t as SButtonLink,
|
|
41
42
|
m as SCheckbox,
|
|
@@ -46,8 +47,9 @@ export {
|
|
|
46
47
|
P as SDialogMessage,
|
|
47
48
|
k as SEmpty,
|
|
48
49
|
v as SError,
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
F as SFileDropzone,
|
|
51
|
+
h as SFileIcon,
|
|
52
|
+
le as SForm,
|
|
51
53
|
z as SI18nProvider,
|
|
52
54
|
j as SIconButton,
|
|
53
55
|
te as SImageGallery,
|
|
@@ -61,17 +63,17 @@ export {
|
|
|
61
63
|
l as STextEditor,
|
|
62
64
|
K as STextField,
|
|
63
65
|
_ as STextTruncation,
|
|
64
|
-
|
|
66
|
+
me as SThemeProvider,
|
|
65
67
|
Y as STip,
|
|
66
68
|
oe as SnackbarMessageProvider,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
ne as bytesToSize,
|
|
70
|
+
Te as createLogger,
|
|
71
|
+
Me as dayjs,
|
|
72
|
+
ie as formatDatePosted,
|
|
73
|
+
be as logger,
|
|
74
|
+
ue as useDialog,
|
|
73
75
|
n as useDialogConfirm,
|
|
74
76
|
T as useDialogMessage,
|
|
75
|
-
|
|
77
|
+
xe as usePopover,
|
|
76
78
|
re as useSnackbarMessage
|
|
77
79
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { CheckboxProps } from '@mui/material';
|
|
3
|
-
interface SCheckboxProps extends Omit<CheckboxProps, 'content'> {
|
|
3
|
+
export interface SCheckboxProps extends Omit<CheckboxProps, 'content'> {
|
|
4
4
|
content?: string | React.ReactNode;
|
|
5
5
|
}
|
|
6
6
|
declare const SCheckbox: React.ForwardRefExoticComponent<Omit<SCheckboxProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
package/dist/s-chips/index.d.ts
CHANGED
package/dist/s-dialog/index.d.ts
CHANGED
package/dist/s-empty/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default } from './s-file-dropzone';
|
|
2
|
-
export type { CustomFile } from './s-file-dropzone';
|
|
2
|
+
export type { CustomFile, SFileDropzoneProps } from './s-file-dropzone';
|
|
@@ -4,7 +4,7 @@ export type CustomFile = File | FileWithPath | {
|
|
|
4
4
|
name: string;
|
|
5
5
|
size: number;
|
|
6
6
|
};
|
|
7
|
-
interface SFileDropzoneProps extends DropzoneOptions {
|
|
7
|
+
export interface SFileDropzoneProps extends DropzoneOptions {
|
|
8
8
|
caption?: string;
|
|
9
9
|
files?: CustomFile[];
|
|
10
10
|
onRemove?: (file: CustomFile) => void;
|
package/dist/s-form/index.d.ts
CHANGED
package/dist/s-form/s-form.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { IconButtonProps, TooltipProps } from '@mui/material';
|
|
3
|
-
interface SIconButtonProps extends IconButtonProps {
|
|
3
|
+
export interface SIconButtonProps extends IconButtonProps {
|
|
4
4
|
tooltip: string;
|
|
5
5
|
tooltipOptions: TooltipProps;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ReactImageGalleryProps } from 'react-image-gallery';
|
|
3
|
-
interface SImageGalleryProps extends ReactImageGalleryProps {
|
|
3
|
+
export interface SImageGalleryProps extends ReactImageGalleryProps {
|
|
4
4
|
}
|
|
5
5
|
declare const SImageGallery: ({ ...props }: SImageGalleryProps) => React.JSX.Element;
|
|
6
6
|
export default SImageGallery;
|
package/dist/s-label/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { SxProps } from '@mui/material';
|
|
3
3
|
import { Theme } from '../theme/types';
|
|
4
|
-
interface SLabelProps {
|
|
4
|
+
export interface SLabelProps {
|
|
5
5
|
label?: string | React.ReactNode;
|
|
6
6
|
content?: string | React.ReactNode;
|
|
7
7
|
children?: React.ReactNode;
|
package/dist/s-no-ssr/index.d.ts
CHANGED
package/dist/s-select/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { SelectProps } from '@mui/material';
|
|
|
2
2
|
type BaseOption = string | number | {
|
|
3
3
|
[key: string]: unknown;
|
|
4
4
|
};
|
|
5
|
-
type SSelectProps<T extends BaseOption = string> = Omit<SelectProps, 'error' | 'variant'> & {
|
|
5
|
+
export type SSelectProps<T extends BaseOption = string> = Omit<SelectProps, 'error' | 'variant'> & {
|
|
6
6
|
options?: T[];
|
|
7
7
|
optionLabel?: T extends object ? keyof T : never;
|
|
8
8
|
optionValue?: T extends object ? keyof T : never;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { SkeletonProps } from '@mui/material';
|
|
3
|
-
interface SSkeletonProps extends Omit<SkeletonProps, 'variant' | 'height' | 'width' | 'component'> {
|
|
3
|
+
export interface SSkeletonProps extends Omit<SkeletonProps, 'variant' | 'height' | 'width' | 'component'> {
|
|
4
4
|
variant?: 'circular' | 'rectangular' | 'rounded' | 'text';
|
|
5
5
|
height?: number | string;
|
|
6
6
|
width?: number | string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { TextField } from '@mui/material';
|
|
3
|
-
type STextFieldProps = Omit<React.ComponentProps<typeof TextField>, 'error'> & {
|
|
3
|
+
export type STextFieldProps = Omit<React.ComponentProps<typeof TextField>, 'error'> & {
|
|
4
4
|
label?: string | React.ReactNode;
|
|
5
5
|
required?: boolean;
|
|
6
6
|
error?: string;
|
package/dist/s-tip/index.d.ts
CHANGED