@solostylist/ui-kit 1.0.10 → 1.0.12
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/README.md +1 -1
- package/dist/{Box-DyPisl7H.js → Box-BAmUWsQI.js} +4 -4
- package/dist/{Menu-CzI0zcbw.js → Menu-B8rPlcSd.js} +426 -420
- package/dist/{Stack-DIkbVcfm.js → Stack-DDbGEkxd.js} +17 -18
- package/dist/{Typography-jSFidXje.js → Typography-DiJzGJJd.js} +4 -4
- package/dist/{buttonBaseClasses-DxKwiRBX.js → buttonBaseClasses-DuDP2bLR.js} +2 -2
- package/dist/{createSvgIcon-B7_s-URK.js → createSvgIcon-Bpes8W5L.js} +20 -20
- package/dist/{createTheme-BZxWCiBm.js → createTheme-DDycScYN.js} +294 -263
- package/dist/{extendSxProp-SCsFy5tr.js → extendSxProp-De4gGzfV.js} +1 -1
- package/dist/{generateUtilityClasses-STjIp_B9.js → generateUtilityClasses-Z7VQRhBn.js} +1 -1
- package/dist/{iconButtonClasses-CqYTUZq-.js → iconButtonClasses-8TuGhR-e.js} +2 -2
- package/dist/{index-DljiS4x1.js → index-CBHvlAxO.js} +4 -4
- package/dist/main.d.ts +0 -13
- package/dist/main.js +73 -99
- package/dist/{memoTheme-CaOW5YiB.js → memoTheme-DX35GGEJ.js} +30 -30
- package/dist/{menuItemClasses-BxqenSTj.js → menuItemClasses-DLFqc90k.js} +2 -2
- package/dist/outlinedInputClasses-CnRkAD7A.js +19 -0
- package/dist/s-button-link/s-button-link.d.ts +2 -3
- package/dist/s-button-link/s-button-link.js +11 -12
- package/dist/s-checkbox/s-checkbox.js +8 -9
- package/dist/s-chips/s-chips.js +6 -7
- package/dist/s-data-table/s-data-table.js +232 -233
- package/dist/s-dialog-confirm/s-dialog-confirm.js +26 -27
- package/dist/s-dialog-message/s-dialog-message.js +27 -28
- package/dist/s-file-dropzone/s-file-dropzone.js +27 -29
- package/dist/s-file-icon/s-file-icon.js +1 -1
- package/dist/s-multi-select/s-multi-select.js +318 -33
- package/dist/s-pagination/s-pagination.d.ts +2 -1
- package/dist/s-pagination/s-pagination.js +12 -15
- package/dist/s-select/s-select.js +10 -11
- package/dist/s-text-editor/s-text-editor-toolbar.js +506 -508
- package/dist/s-text-editor/s-text-editor.js +1 -1
- package/dist/s-text-field/s-text-field.d.ts +4 -5
- package/dist/s-text-field/s-text-field.js +18 -28
- package/dist/s-theme-provider/s-theme-provider.js +1 -1
- package/dist/s-tip/s-tip.js +3 -3
- package/dist/{selectClasses-BaagNb21.js → selectClasses-CDFwg8w_.js} +2 -2
- package/dist/{svgIconClasses-SzHbWjUv.js → svgIconClasses-XJq1Ciua.js} +2 -2
- package/dist/theme/{customizations/components → components}/avatar.js +2 -2
- package/dist/theme/components/components.d.ts +2 -1126
- package/dist/theme/components/components.js +4 -108
- package/dist/theme/customizations/data-display.js +98 -58
- package/dist/theme/customizations/feedback.js +1 -1
- package/dist/theme/customizations/inputs.js +5 -5
- package/dist/theme/customizations/navigation.js +24 -24
- package/dist/theme/customizations/surfaces.js +1 -1
- package/dist/theme/theme-primitives.js +1 -1
- package/dist/{typographyClasses-BrhUWCU3.js → typographyClasses-CyVhKkh8.js} +2 -2
- package/dist/useSlot-B682hoPx.js +1179 -0
- package/dist/{useTheme-DrS6mww6.js → useTheme-DPznNGA-.js} +1 -1
- package/package.json +1 -1
- package/dist/ButtonBase-BFsNsbc9.js +0 -999
- package/dist/CaretDown-CZu0drmJ.js +0 -41
- package/dist/MenuItem-Bl45WcKS.js +0 -258
- package/dist/backdropClasses-lc38rgzd.js +0 -10
- package/dist/generateUtilityClass-CRH_bFW6.js +0 -34
- package/dist/inputBaseClasses-BRd7g4Od.js +0 -10
- package/dist/listItemIconClasses-D-kc0Y9u.js +0 -5
- package/dist/outlinedInputClasses-BTtPbpE5.js +0 -14
- package/dist/paperClasses-D1WMlaxU.js +0 -10
- package/dist/s-avatar/index.d.ts +0 -1
- package/dist/s-avatar/index.js +0 -4
- package/dist/s-avatar/package.json +0 -5
- package/dist/s-avatar/s-avatar.d.ts +0 -6
- package/dist/s-avatar/s-avatar.js +0 -6
- package/dist/s-box/index.d.ts +0 -1
- package/dist/s-box/index.js +0 -4
- package/dist/s-box/package.json +0 -5
- package/dist/s-box/s-box.d.ts +0 -7
- package/dist/s-box/s-box.js +0 -7
- package/dist/s-breadcrumbs-separator/index.d.ts +0 -1
- package/dist/s-breadcrumbs-separator/index.js +0 -4
- package/dist/s-breadcrumbs-separator/package.json +0 -5
- package/dist/s-breadcrumbs-separator/s-breadcrumbs-separator.d.ts +0 -3
- package/dist/s-breadcrumbs-separator/s-breadcrumbs-separator.js +0 -6
- package/dist/s-button/index.d.ts +0 -1
- package/dist/s-button/index.js +0 -4
- package/dist/s-button/package.json +0 -5
- package/dist/s-button/s-button.d.ts +0 -6
- package/dist/s-button/s-button.js +0 -18
- package/dist/s-card/index.d.ts +0 -1
- package/dist/s-card/index.js +0 -4
- package/dist/s-card/package.json +0 -5
- package/dist/s-card/s-card.d.ts +0 -6
- package/dist/s-card/s-card.js +0 -6
- package/dist/s-card-actions/index.d.ts +0 -1
- package/dist/s-card-actions/index.js +0 -4
- package/dist/s-card-actions/package.json +0 -5
- package/dist/s-card-actions/s-card-actions.d.ts +0 -6
- package/dist/s-card-actions/s-card-actions.js +0 -6
- package/dist/s-card-content/index.d.ts +0 -1
- package/dist/s-card-content/index.js +0 -4
- package/dist/s-card-content/package.json +0 -5
- package/dist/s-card-content/s-card-content.d.ts +0 -6
- package/dist/s-card-content/s-card-content.js +0 -6
- package/dist/s-card-header/index.d.ts +0 -1
- package/dist/s-card-header/index.js +0 -4
- package/dist/s-card-header/package.json +0 -5
- package/dist/s-card-header/s-card-header.d.ts +0 -6
- package/dist/s-card-header/s-card-header.js +0 -6
- package/dist/s-chip/index.d.ts +0 -1
- package/dist/s-chip/index.js +0 -4
- package/dist/s-chip/package.json +0 -5
- package/dist/s-chip/s-chip.d.ts +0 -6
- package/dist/s-chip/s-chip.js +0 -6
- package/dist/s-link/index.d.ts +0 -1
- package/dist/s-link/index.js +0 -4
- package/dist/s-link/package.json +0 -5
- package/dist/s-link/s-link.d.ts +0 -6
- package/dist/s-link/s-link.js +0 -6
- package/dist/s-menu-item/index.d.ts +0 -1
- package/dist/s-menu-item/index.js +0 -4
- package/dist/s-menu-item/package.json +0 -5
- package/dist/s-menu-item/s-menu-item.d.ts +0 -9
- package/dist/s-menu-item/s-menu-item.js +0 -6
- package/dist/s-rating/index.d.ts +0 -1
- package/dist/s-rating/index.js +0 -4
- package/dist/s-rating/package.json +0 -5
- package/dist/s-rating/s-rating.d.ts +0 -7
- package/dist/s-rating/s-rating.js +0 -6
- package/dist/s-stack/index.d.ts +0 -1
- package/dist/s-stack/index.js +0 -4
- package/dist/s-stack/package.json +0 -5
- package/dist/s-stack/s-stack.d.ts +0 -6
- package/dist/s-stack/s-stack.js +0 -6
- package/dist/tabClasses-CDDkt7la.js +0 -5
- package/dist/tableCellClasses-CBw1aep0.js +0 -10
- package/dist/theme/components/accordion.d.ts +0 -8
- package/dist/theme/components/accordion.js +0 -11
- package/dist/theme/components/alert.d.ts +0 -7
- package/dist/theme/components/alert.js +0 -4
- package/dist/theme/components/autocomplete.d.ts +0 -124
- package/dist/theme/components/autocomplete.js +0 -51
- package/dist/theme/components/backdrop.d.ts +0 -9
- package/dist/theme/components/backdrop.js +0 -9
- package/dist/theme/components/button-base.d.ts +0 -5
- package/dist/theme/components/button-base.js +0 -4
- package/dist/theme/components/button-group.d.ts +0 -5
- package/dist/theme/components/button-group.js +0 -4
- package/dist/theme/components/button.d.ts +0 -156
- package/dist/theme/components/button.js +0 -109
- package/dist/theme/components/card-actions.d.ts +0 -7
- package/dist/theme/components/card-actions.js +0 -6
- package/dist/theme/components/card-content.d.ts +0 -10
- package/dist/theme/components/card-content.js +0 -7
- package/dist/theme/components/card-header.d.ts +0 -25
- package/dist/theme/components/card-header.js +0 -20
- package/dist/theme/components/card.d.ts +0 -17
- package/dist/theme/components/card.js +0 -17
- package/dist/theme/components/checkbox.d.ts +0 -18
- package/dist/theme/components/checkbox.js +0 -60
- package/dist/theme/components/chip.d.ts +0 -28
- package/dist/theme/components/chip.js +0 -62
- package/dist/theme/components/dialog-actions.d.ts +0 -7
- package/dist/theme/components/dialog-actions.js +0 -6
- package/dist/theme/components/dialog-content-text.d.ts +0 -8
- package/dist/theme/components/dialog-content-text.js +0 -6
- package/dist/theme/components/dialog-content.d.ts +0 -8
- package/dist/theme/components/dialog-content.js +0 -6
- package/dist/theme/components/dialog-title.d.ts +0 -7
- package/dist/theme/components/dialog-title.js +0 -6
- package/dist/theme/components/filled-input.d.ts +0 -31
- package/dist/theme/components/filled-input.js +0 -21
- package/dist/theme/components/form-control-label.d.ts +0 -15
- package/dist/theme/components/form-control-label.js +0 -7
- package/dist/theme/components/form-group.d.ts +0 -7
- package/dist/theme/components/form-group.js +0 -4
- package/dist/theme/components/form-helper-text.d.ts +0 -8
- package/dist/theme/components/form-helper-text.js +0 -8
- package/dist/theme/components/form-label.d.ts +0 -12
- package/dist/theme/components/form-label.js +0 -9
- package/dist/theme/components/icon-button.d.ts +0 -83
- package/dist/theme/components/icon-button.js +0 -49
- package/dist/theme/components/input-base.d.ts +0 -39
- package/dist/theme/components/input-base.js +0 -34
- package/dist/theme/components/input-label.d.ts +0 -10
- package/dist/theme/components/input-label.js +0 -6
- package/dist/theme/components/input.d.ts +0 -32
- package/dist/theme/components/input.js +0 -22
- package/dist/theme/components/linear-progress.d.ts +0 -8
- package/dist/theme/components/linear-progress.js +0 -6
- package/dist/theme/components/link.d.ts +0 -10
- package/dist/theme/components/link.js +0 -11
- package/dist/theme/components/list-item-avatar.d.ts +0 -7
- package/dist/theme/components/list-item-avatar.js +0 -6
- package/dist/theme/components/list-item-button.d.ts +0 -10
- package/dist/theme/components/list-item-button.js +0 -7
- package/dist/theme/components/list-item-icon.d.ts +0 -9
- package/dist/theme/components/list-item-icon.js +0 -6
- package/dist/theme/components/list-item-text.d.ts +0 -7
- package/dist/theme/components/list-item-text.js +0 -6
- package/dist/theme/components/list-item.d.ts +0 -7
- package/dist/theme/components/list-item.js +0 -6
- package/dist/theme/components/list.d.ts +0 -7
- package/dist/theme/components/list.js +0 -6
- package/dist/theme/components/menu-item.d.ts +0 -17
- package/dist/theme/components/menu-item.js +0 -17
- package/dist/theme/components/menu.d.ts +0 -13
- package/dist/theme/components/menu.js +0 -7
- package/dist/theme/components/outlined-input.d.ts +0 -127
- package/dist/theme/components/outlined-input.js +0 -47
- package/dist/theme/components/paper.d.ts +0 -7
- package/dist/theme/components/paper.js +0 -6
- package/dist/theme/components/popover.d.ts +0 -11
- package/dist/theme/components/popover.js +0 -7
- package/dist/theme/components/radio.d.ts +0 -13
- package/dist/theme/components/radio.js +0 -25
- package/dist/theme/components/select.d.ts +0 -21
- package/dist/theme/components/select.js +0 -18
- package/dist/theme/components/skeleton.d.ts +0 -5
- package/dist/theme/components/skeleton.js +0 -8
- package/dist/theme/components/stack.d.ts +0 -5
- package/dist/theme/components/stack.js +0 -4
- package/dist/theme/components/switch.d.ts +0 -19
- package/dist/theme/components/switch.js +0 -11
- package/dist/theme/components/tab.d.ts +0 -18
- package/dist/theme/components/tab.js +0 -15
- package/dist/theme/components/table-body.d.ts +0 -5
- package/dist/theme/components/table-body.js +0 -10
- package/dist/theme/components/table-cell.d.ts +0 -10
- package/dist/theme/components/table-cell.js +0 -11
- package/dist/theme/components/table-head.d.ts +0 -11
- package/dist/theme/components/table-head.js +0 -15
- package/dist/theme/components/table-pagination.d.ts +0 -28
- package/dist/theme/components/table-pagination.js +0 -93
- package/dist/theme/components/tabs.d.ts +0 -33
- package/dist/theme/components/tabs.js +0 -21
- package/dist/theme/components/toggle-button-group.d.ts +0 -23
- package/dist/theme/components/toggle-button-group.js +0 -17
- package/dist/theme/components/toggle-button.d.ts +0 -12
- package/dist/theme/components/toggle-button.js +0 -9
- package/dist/theme/components/tooltip.d.ts +0 -10
- package/dist/theme/components/tooltip.js +0 -7
- package/dist/theme/customizations/components/components.d.ts +0 -7
- package/dist/theme/customizations/components/components.js +0 -7
- package/dist/useSlot-CtsS_jy6.js +0 -184
- /package/dist/theme/{customizations/components → components}/avatar.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as r } from "./generateUtilityClasses-
|
|
2
|
-
import { g as t } from "./
|
|
1
|
+
import { g as r } from "./generateUtilityClasses-Z7VQRhBn.js";
|
|
2
|
+
import { g as t } from "./createTheme-DDycScYN.js";
|
|
3
3
|
function n(o) {
|
|
4
4
|
return t("MuiIconButton", o);
|
|
5
5
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import { j as p } from "./jsx-runtime-C5mzlN2N.js";
|
|
3
|
-
import { e as f } from "./extendSxProp-
|
|
4
|
-
import { P as e } from "./createTheme-
|
|
5
|
-
import { d as a } from "./memoTheme-
|
|
3
|
+
import { e as f } from "./extendSxProp-De4gGzfV.js";
|
|
4
|
+
import { P as e } from "./createTheme-DDycScYN.js";
|
|
5
|
+
import { d as a } from "./memoTheme-DX35GGEJ.js";
|
|
6
6
|
import { T as c } from "./identifier-CHPjnqaz.js";
|
|
7
|
-
import { u as m } from "./useTheme-
|
|
7
|
+
import { u as m } from "./useTheme-DPznNGA-.js";
|
|
8
8
|
import { Global as y } from "@emotion/react";
|
|
9
9
|
function d(o) {
|
|
10
10
|
return o == null || Object.keys(o).length === 0;
|
package/dist/main.d.ts
CHANGED
|
@@ -1,16 +1,7 @@
|
|
|
1
1
|
export { default as SAutocomplete } from './s-autocomplete';
|
|
2
|
-
export { default as SAvatar } from './s-avatar';
|
|
3
|
-
export { default as SBreadcrumbsSeparator } from './s-breadcrumbs-separator';
|
|
4
|
-
export { default as SBox } from './s-box';
|
|
5
2
|
export { default as SButtonLink } from './s-button-link';
|
|
6
3
|
export { default as STextEditor } from './s-text-editor';
|
|
7
|
-
export { default as SButton } from './s-button';
|
|
8
|
-
export { default as SCardActions } from './s-card-actions';
|
|
9
|
-
export { default as SCardHeader } from './s-card-header';
|
|
10
|
-
export { default as SCardContent } from './s-card-content';
|
|
11
|
-
export { default as SCard } from './s-card';
|
|
12
4
|
export { default as SCheckbox } from './s-checkbox';
|
|
13
|
-
export { default as SChip } from './s-chip';
|
|
14
5
|
export { default as SChips } from './s-chips';
|
|
15
6
|
export { default as SDataTable } from './s-data-table';
|
|
16
7
|
export type { ColumnDef, SDataTableProps } from './s-data-table';
|
|
@@ -29,16 +20,12 @@ export { default as SIconButton } from './s-icon-button';
|
|
|
29
20
|
export { default as SLabel } from './s-label';
|
|
30
21
|
export { default as SMultiSelect } from './s-multi-select';
|
|
31
22
|
export { default as SNoSsr } from './s-no-ssr';
|
|
32
|
-
export { default as SMenuItem } from './s-menu-item';
|
|
33
23
|
export { default as STextField } from './s-text-field';
|
|
34
24
|
export { default as SPagination } from './s-pagination';
|
|
35
|
-
export { default as SRating } from './s-rating';
|
|
36
25
|
export { default as SSelect } from './s-select';
|
|
37
26
|
export { default as SSkeleton } from './s-skeleton';
|
|
38
27
|
export { default as STip } from './s-tip';
|
|
39
28
|
export { default as STextTruncation } from './s-text-truncation';
|
|
40
|
-
export { default as SStack } from './s-stack';
|
|
41
|
-
export { default as SLink } from './s-link';
|
|
42
29
|
export { default as SSnackbarMessage, SnackbarMessageProvider, useSnackbarMessage } from './s-snackbar-message';
|
|
43
30
|
export type { SnackbarMessageContextProps, SnackbarMessageOpenOptions } from './s-snackbar-message';
|
|
44
31
|
export { default as SImageGallery } from './s-image-gallery';
|
package/dist/main.js
CHANGED
|
@@ -1,103 +1,77 @@
|
|
|
1
1
|
import { default as r } from "./s-autocomplete/s-autocomplete.js";
|
|
2
|
-
import { default as t } from "./s-
|
|
3
|
-
import { default as
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as x } from "./s-
|
|
7
|
-
import {
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as U } from "./s-
|
|
22
|
-
import { default as W } from "./s-
|
|
23
|
-
import { default as Y } from "./s-
|
|
24
|
-
import { default as _ } from "./s-
|
|
25
|
-
import { default as ee } from "./s-
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as Ce } from "./s-tip/s-tip.js";
|
|
35
|
-
import { default as be } from "./s-text-truncation/s-text-truncation.js";
|
|
36
|
-
import { default as ve } from "./s-stack/s-stack.js";
|
|
37
|
-
import { default as Pe } from "./s-link/s-link.js";
|
|
38
|
-
import { default as Le, SnackbarMessageProvider as Be, useSnackbarMessage as Ie } from "./s-snackbar-message/s-snackbar-message.js";
|
|
39
|
-
import { default as ye } from "./s-image-gallery/s-image-gallery.js";
|
|
40
|
-
import { default as Ee } from "./s-theme-provider/s-theme-provider.js";
|
|
41
|
-
import { useDialog as ze } from "./hooks/use-dialog.js";
|
|
42
|
-
import { usePopover as Ge } from "./hooks/use-popover.js";
|
|
43
|
-
import { formatDatePosted as Ne } from "./utils/dayjs.js";
|
|
44
|
-
import { bytesToSize as qe } from "./utils/bytes-to-size.js";
|
|
45
|
-
import { LogLevel as Je, Logger as Ke, createLogger as Oe, logger as Qe } from "./utils/logger.js";
|
|
46
|
-
import { default as Ve } from "dayjs";
|
|
2
|
+
import { default as t } from "./s-button-link/s-button-link.js";
|
|
3
|
+
import { default as l } from "./s-text-editor/s-text-editor.js";
|
|
4
|
+
import { default as m } from "./s-checkbox/s-checkbox.js";
|
|
5
|
+
import { default as u } from "./s-chips/s-chips.js";
|
|
6
|
+
import { default as x } from "./s-data-table/s-data-table.js";
|
|
7
|
+
import { DialogConfirmProvider as i, default as g, useDialogConfirm as n } from "./s-dialog-confirm/s-dialog-confirm.js";
|
|
8
|
+
import { DialogMessageProvider as D, default as P, useDialogMessage as T } from "./s-dialog-message/s-dialog-message.js";
|
|
9
|
+
import { default as v } from "./s-error/s-error.js";
|
|
10
|
+
import { default as k } from "./s-empty/s-empty.js";
|
|
11
|
+
import { default as C } from "./s-dialog/s-dialog.js";
|
|
12
|
+
import { default as I } from "./s-file-dropzone/s-file-dropzone.js";
|
|
13
|
+
import { default as E } from "./s-file-icon/s-file-icon.js";
|
|
14
|
+
import { default as z } from "./s-i18n-provider/s-i18n-provider.js";
|
|
15
|
+
import { default as j } from "./s-icon-button/s-icon-button.js";
|
|
16
|
+
import { default as G } from "./s-label/s-label.js";
|
|
17
|
+
import { default as q } from "./s-multi-select/s-multi-select.js";
|
|
18
|
+
import { default as H } from "./s-no-ssr/s-no-ssr.js";
|
|
19
|
+
import { default as K } from "./s-text-field/s-text-field.js";
|
|
20
|
+
import { default as Q } from "./s-pagination/s-pagination.js";
|
|
21
|
+
import { default as U } from "./s-select/s-select.js";
|
|
22
|
+
import { default as W } from "./s-skeleton/s-skeleton.js";
|
|
23
|
+
import { default as Y } from "./s-tip/s-tip.js";
|
|
24
|
+
import { default as _ } from "./s-text-truncation/s-text-truncation.js";
|
|
25
|
+
import { default as ee, SnackbarMessageProvider as oe, useSnackbarMessage as re } from "./s-snackbar-message/s-snackbar-message.js";
|
|
26
|
+
import { default as te } from "./s-image-gallery/s-image-gallery.js";
|
|
27
|
+
import { default as le } from "./s-theme-provider/s-theme-provider.js";
|
|
28
|
+
import { useDialog as me } from "./hooks/use-dialog.js";
|
|
29
|
+
import { usePopover as ue } from "./hooks/use-popover.js";
|
|
30
|
+
import { formatDatePosted as xe } from "./utils/dayjs.js";
|
|
31
|
+
import { bytesToSize as ie } from "./utils/bytes-to-size.js";
|
|
32
|
+
import { LogLevel as ne, Logger as ce, createLogger as De, logger as Pe } from "./utils/logger.js";
|
|
33
|
+
import { default as be } from "dayjs";
|
|
47
34
|
export {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
35
|
+
i as DialogConfirmProvider,
|
|
36
|
+
D as DialogMessageProvider,
|
|
37
|
+
ne as LogLevel,
|
|
38
|
+
ce as Logger,
|
|
52
39
|
r as SAutocomplete,
|
|
53
|
-
t as
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
U as
|
|
72
|
-
W as
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
Ee as SThemeProvider,
|
|
91
|
-
Ce as STip,
|
|
92
|
-
Be as SnackbarMessageProvider,
|
|
93
|
-
qe as bytesToSize,
|
|
94
|
-
Oe as createLogger,
|
|
95
|
-
Ve as dayjs,
|
|
96
|
-
Ne as formatDatePosted,
|
|
97
|
-
Qe as logger,
|
|
98
|
-
ze as useDialog,
|
|
99
|
-
z as useDialogConfirm,
|
|
100
|
-
N as useDialogMessage,
|
|
101
|
-
Ge as usePopover,
|
|
102
|
-
Ie as useSnackbarMessage
|
|
40
|
+
t as SButtonLink,
|
|
41
|
+
m as SCheckbox,
|
|
42
|
+
u as SChips,
|
|
43
|
+
x as SDataTable,
|
|
44
|
+
C as SDialog,
|
|
45
|
+
g as SDialogConfirm,
|
|
46
|
+
P as SDialogMessage,
|
|
47
|
+
k as SEmpty,
|
|
48
|
+
v as SError,
|
|
49
|
+
I as SFileDropzone,
|
|
50
|
+
E as SFileIcon,
|
|
51
|
+
z as SI18nProvider,
|
|
52
|
+
j as SIconButton,
|
|
53
|
+
te as SImageGallery,
|
|
54
|
+
G as SLabel,
|
|
55
|
+
q as SMultiSelect,
|
|
56
|
+
H as SNoSsr,
|
|
57
|
+
Q as SPagination,
|
|
58
|
+
U as SSelect,
|
|
59
|
+
W as SSkeleton,
|
|
60
|
+
ee as SSnackbarMessage,
|
|
61
|
+
l as STextEditor,
|
|
62
|
+
K as STextField,
|
|
63
|
+
_ as STextTruncation,
|
|
64
|
+
le as SThemeProvider,
|
|
65
|
+
Y as STip,
|
|
66
|
+
oe as SnackbarMessageProvider,
|
|
67
|
+
ie as bytesToSize,
|
|
68
|
+
De as createLogger,
|
|
69
|
+
be as dayjs,
|
|
70
|
+
xe as formatDatePosted,
|
|
71
|
+
Pe as logger,
|
|
72
|
+
me as useDialog,
|
|
73
|
+
n as useDialogConfirm,
|
|
74
|
+
T as useDialogMessage,
|
|
75
|
+
ue as usePopover,
|
|
76
|
+
re as useSnackbarMessage
|
|
103
77
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as
|
|
1
|
+
import { l as V, e as Q, s as D, i as U, b as X, P as O, c as Y } from "./createTheme-DDycScYN.js";
|
|
2
|
+
import { i as j, a as Z, s as ee, T as te } from "./identifier-CHPjnqaz.js";
|
|
3
3
|
import * as I from "react";
|
|
4
4
|
import "./jsx-runtime-C5mzlN2N.js";
|
|
5
5
|
function M(e, n = "") {
|
|
6
6
|
return e.displayName || e.name || n;
|
|
7
7
|
}
|
|
8
|
-
function
|
|
8
|
+
function k(e, n, t) {
|
|
9
9
|
const o = M(n);
|
|
10
10
|
return e.displayName || (o !== "" ? `${t}(${o})` : t);
|
|
11
11
|
}
|
|
@@ -18,9 +18,9 @@ function ne(e) {
|
|
|
18
18
|
if (typeof e == "object")
|
|
19
19
|
switch (e.$$typeof) {
|
|
20
20
|
case V.ForwardRef:
|
|
21
|
-
return
|
|
21
|
+
return k(e, e.render, "ForwardRef");
|
|
22
22
|
case V.Memo:
|
|
23
|
-
return
|
|
23
|
+
return k(e, e.type, "memo");
|
|
24
24
|
default:
|
|
25
25
|
return;
|
|
26
26
|
}
|
|
@@ -32,11 +32,11 @@ function H(e) {
|
|
|
32
32
|
...t
|
|
33
33
|
} = e, o = {
|
|
34
34
|
variants: n,
|
|
35
|
-
style:
|
|
35
|
+
style: j(t),
|
|
36
36
|
isProcessed: !0
|
|
37
37
|
};
|
|
38
38
|
return o.style === t || n && n.forEach((r) => {
|
|
39
|
-
typeof r.style != "function" && (r.style =
|
|
39
|
+
typeof r.style != "function" && (r.style = j(r.style));
|
|
40
40
|
}), o;
|
|
41
41
|
}
|
|
42
42
|
const re = Q();
|
|
@@ -103,7 +103,7 @@ function ie(e = {}) {
|
|
|
103
103
|
se(i, n, t);
|
|
104
104
|
}
|
|
105
105
|
return (i, d = {}) => {
|
|
106
|
-
Z(i, (c) => c.filter((
|
|
106
|
+
Z(i, (c) => c.filter((l) => l !== D));
|
|
107
107
|
const {
|
|
108
108
|
name: a,
|
|
109
109
|
slot: m,
|
|
@@ -119,7 +119,7 @@ function ie(e = {}) {
|
|
|
119
119
|
m && m !== "Root" && m !== "root" || !1
|
|
120
120
|
), W = q || !1;
|
|
121
121
|
let P = R;
|
|
122
|
-
m === "Root" || m === "root" ? P = o : m ? P = r :
|
|
122
|
+
m === "Root" || m === "root" ? P = o : m ? P = r : le(i) && (P = void 0);
|
|
123
123
|
const x = ee(i, {
|
|
124
124
|
shouldForwardProp: P,
|
|
125
125
|
label: ae(a, m),
|
|
@@ -130,33 +130,33 @@ function ie(e = {}) {
|
|
|
130
130
|
return T(S, c);
|
|
131
131
|
};
|
|
132
132
|
if (U(c)) {
|
|
133
|
-
const
|
|
134
|
-
return
|
|
135
|
-
return T(y,
|
|
136
|
-
} :
|
|
133
|
+
const l = H(c);
|
|
134
|
+
return l.variants ? function(y) {
|
|
135
|
+
return T(y, l);
|
|
136
|
+
} : l.style;
|
|
137
137
|
}
|
|
138
138
|
return c;
|
|
139
139
|
}, _ = (...c) => {
|
|
140
|
-
const
|
|
141
|
-
if (
|
|
140
|
+
const l = [], S = c.map(G), y = [];
|
|
141
|
+
if (l.push(s), a && F && y.push(function(h) {
|
|
142
142
|
var v, $;
|
|
143
|
-
const
|
|
144
|
-
if (!
|
|
143
|
+
const f = ($ = (v = h.theme.components) == null ? void 0 : v[a]) == null ? void 0 : $.styleOverrides;
|
|
144
|
+
if (!f)
|
|
145
145
|
return null;
|
|
146
146
|
const w = {};
|
|
147
|
-
for (const A in
|
|
148
|
-
w[A] = T(h,
|
|
147
|
+
for (const A in f)
|
|
148
|
+
w[A] = T(h, f[A]);
|
|
149
149
|
return F(h, w);
|
|
150
150
|
}), a && !C && y.push(function(h) {
|
|
151
151
|
var w, v;
|
|
152
|
-
const p = h.theme,
|
|
153
|
-
return
|
|
152
|
+
const p = h.theme, f = (v = (w = p == null ? void 0 : p.components) == null ? void 0 : w[a]) == null ? void 0 : v.variants;
|
|
153
|
+
return f ? L(h, f) : null;
|
|
154
154
|
}), W || y.push(D), Array.isArray(S[0])) {
|
|
155
|
-
const N = S.shift(), h = new Array(
|
|
156
|
-
let
|
|
157
|
-
|
|
155
|
+
const N = S.shift(), h = new Array(l.length).fill(""), p = new Array(y.length).fill("");
|
|
156
|
+
let f;
|
|
157
|
+
f = [...h, ...N, ...p], f.raw = [...h, ...N.raw, ...p], l.unshift(f);
|
|
158
158
|
}
|
|
159
|
-
const J = [...
|
|
159
|
+
const J = [...l, ...S, ...y], b = x(...J);
|
|
160
160
|
return i.muiName && (b.muiName = i.muiName), process.env.NODE_ENV !== "production" && (b.displayName = ue(a, m, i)), b;
|
|
161
161
|
};
|
|
162
162
|
return x.withConfig && (_.withConfig = x.withConfig), _;
|
|
@@ -174,7 +174,7 @@ function ce(e) {
|
|
|
174
174
|
return !1;
|
|
175
175
|
return !0;
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function le(e) {
|
|
178
178
|
return typeof e == "string" && // 96 is one less than the char code
|
|
179
179
|
// for "a" so this is checking that
|
|
180
180
|
// it's a lowercase character
|
|
@@ -215,7 +215,7 @@ function g(e, n) {
|
|
|
215
215
|
}
|
|
216
216
|
return t;
|
|
217
217
|
}
|
|
218
|
-
const
|
|
218
|
+
const fe = /* @__PURE__ */ I.createContext(void 0);
|
|
219
219
|
process.env.NODE_ENV !== "production" && (O.node, O.object);
|
|
220
220
|
function de(e) {
|
|
221
221
|
const {
|
|
@@ -232,7 +232,7 @@ function me({
|
|
|
232
232
|
props: e,
|
|
233
233
|
name: n
|
|
234
234
|
}) {
|
|
235
|
-
const t = I.useContext(
|
|
235
|
+
const t = I.useContext(fe);
|
|
236
236
|
return de({
|
|
237
237
|
props: e,
|
|
238
238
|
name: n,
|
|
@@ -280,12 +280,12 @@ function Oe(e) {
|
|
|
280
280
|
const xe = he;
|
|
281
281
|
export {
|
|
282
282
|
ie as a,
|
|
283
|
-
|
|
283
|
+
Se as b,
|
|
284
284
|
Ne as c,
|
|
285
285
|
ye as d,
|
|
286
286
|
pe as e,
|
|
287
287
|
xe as m,
|
|
288
|
-
|
|
288
|
+
g as r,
|
|
289
289
|
Te as s,
|
|
290
290
|
Oe as u
|
|
291
291
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as e } from "./generateUtilityClasses-
|
|
2
|
-
import { g as i } from "./
|
|
1
|
+
import { g as e } from "./generateUtilityClasses-Z7VQRhBn.js";
|
|
2
|
+
import { g as i } from "./createTheme-DDycScYN.js";
|
|
3
3
|
const r = e("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]);
|
|
4
4
|
function a(t) {
|
|
5
5
|
return i("MuiMenuItem", t);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { g as n } from "./generateUtilityClasses-Z7VQRhBn.js";
|
|
2
|
+
import { g as e } from "./createTheme-DDycScYN.js";
|
|
3
|
+
function l(t) {
|
|
4
|
+
return e("MuiInputBase", t);
|
|
5
|
+
}
|
|
6
|
+
const i = n("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]);
|
|
7
|
+
function s(t) {
|
|
8
|
+
return e("MuiOutlinedInput", t);
|
|
9
|
+
}
|
|
10
|
+
const o = {
|
|
11
|
+
...i,
|
|
12
|
+
...n("MuiOutlinedInput", ["root", "notchedOutline", "input"])
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
s as a,
|
|
16
|
+
l as g,
|
|
17
|
+
i,
|
|
18
|
+
o
|
|
19
|
+
};
|
|
@@ -5,12 +5,11 @@ interface SButtonLinkProps {
|
|
|
5
5
|
href?: string;
|
|
6
6
|
component?: any;
|
|
7
7
|
target?: string;
|
|
8
|
-
paragraph?: boolean;
|
|
9
8
|
color?: string;
|
|
10
9
|
linkColor?: string;
|
|
11
10
|
lineHeight?: string;
|
|
12
|
-
variant?: 'body1' | 'body2' | 'button' | 'caption' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'inherit' | 'overline' | 'subtitle1' | 'subtitle2'
|
|
11
|
+
variant?: 'body1' | 'body2' | 'button' | 'caption' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'inherit' | 'overline' | 'subtitle1' | 'subtitle2';
|
|
13
12
|
onClick?: () => void;
|
|
14
13
|
}
|
|
15
|
-
declare const SButtonLink: ({ onClick, beforeText, afterText, mainText, href, component, target,
|
|
14
|
+
declare const SButtonLink: ({ onClick, beforeText, afterText, mainText, href, component, target, color, linkColor, variant, lineHeight, }: SButtonLinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
15
|
export default SButtonLink;
|
|
@@ -1,35 +1,34 @@
|
|
|
1
1
|
import { j as o } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import { Typography as
|
|
2
|
+
import { Typography as m, Link as u } from "@mui/material";
|
|
3
3
|
const j = ({
|
|
4
4
|
onClick: r,
|
|
5
5
|
beforeText: t = "",
|
|
6
|
-
afterText:
|
|
7
|
-
mainText:
|
|
8
|
-
href:
|
|
6
|
+
afterText: i = "",
|
|
7
|
+
mainText: n = "",
|
|
8
|
+
href: e = "#",
|
|
9
9
|
component: s,
|
|
10
10
|
target: p,
|
|
11
|
-
|
|
12
|
-
color: a = "text.secondary",
|
|
11
|
+
color: x = "text.secondary",
|
|
13
12
|
linkColor: c = void 0,
|
|
14
13
|
variant: d = "body2",
|
|
15
|
-
lineHeight:
|
|
16
|
-
}) => /* @__PURE__ */ o.jsxs(
|
|
14
|
+
lineHeight: a
|
|
15
|
+
}) => /* @__PURE__ */ o.jsxs(m, { variant: d, lineHeight: a, color: x, children: [
|
|
17
16
|
t,
|
|
18
17
|
" ",
|
|
19
18
|
/* @__PURE__ */ o.jsx(
|
|
20
|
-
|
|
19
|
+
u,
|
|
21
20
|
{
|
|
22
|
-
href:
|
|
21
|
+
href: e,
|
|
23
22
|
onClick: r,
|
|
24
23
|
sx: { cursor: "pointer", fontSize: "inherit" },
|
|
25
24
|
component: s,
|
|
26
25
|
target: p,
|
|
27
26
|
color: c,
|
|
28
|
-
children:
|
|
27
|
+
children: n
|
|
29
28
|
}
|
|
30
29
|
),
|
|
31
30
|
" ",
|
|
32
|
-
|
|
31
|
+
i
|
|
33
32
|
] });
|
|
34
33
|
export {
|
|
35
34
|
j as default
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { j as r } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import { forwardRef as a } from "react";
|
|
3
|
-
import { Stack as s, Checkbox as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const o = n();
|
|
2
|
+
import { forwardRef as a, useId as d } from "react";
|
|
3
|
+
import { Stack as s, Checkbox as l, Typography as n } from "@mui/material";
|
|
4
|
+
const m = a(
|
|
5
|
+
({ content: e, ...t }, o) => {
|
|
6
|
+
const i = d();
|
|
8
7
|
return /* @__PURE__ */ r.jsxs(s, { alignItems: "center", direction: "row", display: "flex", gap: 1, justifyContent: "start", children: [
|
|
9
|
-
/* @__PURE__ */ r.jsx(
|
|
10
|
-
|
|
8
|
+
/* @__PURE__ */ r.jsx(l, { ref: o, ...t, id: t.id ?? i }),
|
|
9
|
+
e && /* @__PURE__ */ r.jsx("label", { htmlFor: t.id ?? i, children: /* @__PURE__ */ r.jsx(n, { variant: "body2", children: e }) })
|
|
11
10
|
] });
|
|
12
11
|
}
|
|
13
12
|
);
|
|
14
13
|
export {
|
|
15
|
-
|
|
14
|
+
m as default
|
|
16
15
|
};
|
package/dist/s-chips/s-chips.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { j as n } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { Box as r, Tooltip as E } from "@mui/material";
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
const c = S(null), [w, b] = m([]), [C, y] = m([]), [u, j] = m(0), a = () => {
|
|
2
|
+
import { useRef as g, useState as m, useEffect as S } from "react";
|
|
3
|
+
import { Box as r, Chip as h, Tooltip as E } from "@mui/material";
|
|
4
|
+
const L = ({ chips: s, overflow: l = !0, onClick: o }) => {
|
|
5
|
+
const c = g(null), [w, b] = m([]), [C, y] = m([]), [u, j] = m(0), a = () => {
|
|
7
6
|
var x;
|
|
8
7
|
const t = ((x = c.current) == null ? void 0 : x.offsetWidth) || 0;
|
|
9
8
|
let e = 0, i = 0;
|
|
@@ -24,7 +23,7 @@ const P = ({ chips: s, overflow: l = !0, onClick: o }) => {
|
|
|
24
23
|
const i = e.offsetWidth;
|
|
25
24
|
return document.body.removeChild(e), i + 16;
|
|
26
25
|
}, W = l ? { textOverflow: "ellipsis", whiteSpace: "nowrap", overflow: "hidden" } : {};
|
|
27
|
-
return
|
|
26
|
+
return S(() => (a(), window.addEventListener("resize", a), () => {
|
|
28
27
|
window.removeEventListener("resize", a);
|
|
29
28
|
}), [s]), /* @__PURE__ */ n.jsxs(r, { ref: c, display: "flex", maxWidth: "100%", ...W, children: [
|
|
30
29
|
(l ? w : s).map((t) => /* @__PURE__ */ n.jsx(
|
|
@@ -70,5 +69,5 @@ const P = ({ chips: s, overflow: l = !0, onClick: o }) => {
|
|
|
70
69
|
] });
|
|
71
70
|
};
|
|
72
71
|
export {
|
|
73
|
-
|
|
72
|
+
L as default
|
|
74
73
|
};
|