@solostylist/ui-kit 1.0.9 → 1.0.11
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/{ButtonBase-C9K74oZC.js → ButtonBase-BFsNsbc9.js} +1 -1
- package/dist/{Menu-DrTy5vbc.js → Menu-CzI0zcbw.js} +4 -4
- package/dist/{MenuItem-CSmlAERi.js → MenuItem-Bl45WcKS.js} +6 -6
- package/dist/{Stack-CP2l9Ko9.js → Stack-DIkbVcfm.js} +4 -4
- package/dist/{Typography-CgNLUV5h.js → Typography-jSFidXje.js} +24 -24
- package/dist/{X-Cw1SQcRJ.js → X-B8GTZwii.js} +3 -3
- package/dist/{createSvgIcon-CoYExp5F.js → createSvgIcon-B7_s-URK.js} +15 -15
- package/dist/{index-BB439voV.js → index-DljiS4x1.js} +1 -1
- package/dist/main.d.ts +45 -49
- package/dist/main.js +98 -106
- package/dist/{memoTheme-B7hT_l31.js → memoTheme-CaOW5YiB.js} +13 -13
- package/dist/s-autocomplete/index.d.ts +1 -0
- package/dist/s-autocomplete/index.js +4 -0
- package/dist/s-autocomplete/s-autocomplete.d.ts +11 -0
- package/dist/s-autocomplete/s-autocomplete.js +26 -0
- package/dist/s-avatar/index.d.ts +1 -0
- package/dist/s-avatar/index.js +4 -0
- package/dist/s-avatar/s-avatar.d.ts +6 -0
- package/dist/s-avatar/s-avatar.js +6 -0
- package/dist/s-box/index.d.ts +1 -0
- package/dist/s-box/index.js +4 -0
- package/dist/s-box/s-box.d.ts +5 -0
- package/dist/s-box/s-box.js +6 -0
- package/dist/s-breadcrumbs-separator/index.d.ts +1 -0
- package/dist/s-breadcrumbs-separator/index.js +4 -0
- package/dist/s-breadcrumbs-separator/s-breadcrumbs-separator.d.ts +3 -0
- package/dist/s-button/index.d.ts +1 -0
- package/dist/s-button/index.js +4 -0
- package/dist/s-button/s-button.d.ts +6 -0
- package/dist/s-button/s-button.js +18 -0
- package/dist/s-button-link/index.d.ts +1 -0
- package/dist/s-button-link/index.js +4 -0
- package/dist/{AppButtonLink/AppButtonLink.d.ts → s-button-link/s-button-link.d.ts} +3 -3
- package/dist/s-card/index.d.ts +1 -0
- package/dist/s-card/index.js +4 -0
- package/dist/s-card/s-card.d.ts +6 -0
- package/dist/s-card/s-card.js +6 -0
- package/dist/s-card-actions/index.d.ts +1 -0
- package/dist/s-card-actions/index.js +4 -0
- package/dist/s-card-actions/s-card-actions.d.ts +6 -0
- package/dist/{AppCardActions/AppCardActions.js → s-card-actions/s-card-actions.js} +2 -2
- package/dist/s-card-content/index.d.ts +1 -0
- package/dist/s-card-content/index.js +4 -0
- package/dist/s-card-content/s-card-content.d.ts +6 -0
- package/dist/{AppCardContent/AppCardContent.js → s-card-content/s-card-content.js} +2 -2
- package/dist/s-card-header/index.d.ts +1 -0
- package/dist/s-card-header/index.js +4 -0
- package/dist/s-card-header/s-card-header.d.ts +6 -0
- package/dist/s-card-header/s-card-header.js +6 -0
- package/dist/s-checkbox/index.d.ts +1 -0
- package/dist/s-checkbox/index.js +4 -0
- package/dist/s-checkbox/s-checkbox.d.ts +7 -0
- package/dist/{AppCheckbox/AppCheckbox.js → s-checkbox/s-checkbox.js} +2 -2
- package/dist/s-chip/index.d.ts +1 -0
- package/dist/s-chip/index.js +4 -0
- package/dist/s-chip/s-chip.d.ts +6 -0
- package/dist/s-chip/s-chip.js +6 -0
- package/dist/s-chips/index.d.ts +1 -0
- package/dist/s-chips/index.js +4 -0
- package/dist/s-chips/s-chips.d.ts +7 -0
- package/dist/s-chips/s-chips.js +74 -0
- package/dist/s-data-table/index.d.ts +2 -0
- package/dist/s-data-table/index.js +4 -0
- package/dist/{AppDataTable/AppDataTable.d.ts → s-data-table/s-data-table.d.ts} +4 -4
- package/dist/{AppDataTable/AppDataTable.js → s-data-table/s-data-table.js} +26 -26
- package/dist/s-dialog/index.d.ts +1 -0
- package/dist/s-dialog/index.js +4 -0
- package/dist/{AppDialog/AppDialog.d.ts → s-dialog/s-dialog.d.ts} +3 -3
- package/dist/{AppDialog/AppDialog.js → s-dialog/s-dialog.js} +4 -4
- package/dist/{AppDialogConfirm → s-dialog-confirm}/index.d.ts +2 -2
- package/dist/{AppDialogConfirm → s-dialog-confirm}/index.js +1 -1
- package/dist/{AppDialogConfirm/AppDialogConfirm.d.ts → s-dialog-confirm/s-dialog-confirm.d.ts} +3 -3
- package/dist/{AppDialogConfirm/AppDialogConfirm.js → s-dialog-confirm/s-dialog-confirm.js} +17 -17
- package/dist/{AppDialogMessage → s-dialog-message}/index.d.ts +2 -2
- package/dist/{AppDialogMessage → s-dialog-message}/index.js +1 -1
- package/dist/{AppDialogMessage/AppDialogMessage.d.ts → s-dialog-message/s-dialog-message.d.ts} +3 -3
- package/dist/{AppDialogMessage/AppDialogMessage.js → s-dialog-message/s-dialog-message.js} +23 -23
- package/dist/s-empty/index.d.ts +1 -0
- package/dist/s-empty/index.js +4 -0
- package/dist/s-empty/s-empty.d.ts +5 -0
- package/dist/{AppEmpty/AppEmpty.js → s-empty/s-empty.js} +2 -2
- package/dist/s-error/index.d.ts +1 -0
- package/dist/s-error/index.js +4 -0
- package/dist/s-error/s-error.d.ts +3 -0
- package/dist/s-file-dropzone/index.d.ts +2 -0
- package/dist/s-file-dropzone/index.js +4 -0
- package/dist/{AppFileDropzone/AppFileDropzone.d.ts → s-file-dropzone/s-file-dropzone.d.ts} +3 -3
- package/dist/{AppFileDropzone/AppFileDropzone.js → s-file-dropzone/s-file-dropzone.js} +26 -26
- package/dist/s-file-icon/index.d.ts +1 -0
- package/dist/s-file-icon/index.js +4 -0
- package/dist/s-file-icon/s-file-icon.d.ts +6 -0
- package/dist/{AppFileIcon/AppFileIcon.js → s-file-icon/s-file-icon.js} +2 -2
- package/dist/s-form/index.d.ts +1 -0
- package/dist/s-form/index.js +4 -0
- package/dist/s-i18n-provider/index.d.ts +1 -0
- package/dist/s-i18n-provider/index.js +4 -0
- package/dist/s-i18n-provider/s-i18n-provider.d.ts +7 -0
- package/dist/{AppI18nProvider/AppI18nProvider.js → s-i18n-provider/s-i18n-provider.js} +7 -7
- package/dist/s-icon-button/index.d.ts +1 -0
- package/dist/s-icon-button/index.js +4 -0
- package/dist/s-icon-button/s-icon-button.d.ts +8 -0
- package/dist/s-icon-button/s-icon-button.js +6 -0
- package/dist/s-image-gallery/index.d.ts +1 -0
- package/dist/s-image-gallery/index.js +4 -0
- package/dist/s-image-gallery/s-image-gallery.d.ts +6 -0
- package/dist/{AppGallery/AppGallery.js → s-image-gallery/s-image-gallery.js} +21 -21
- package/dist/s-label/index.d.ts +1 -0
- package/dist/s-label/index.js +4 -0
- package/dist/{AppLabel/AppLabel.d.ts → s-label/s-label.d.ts} +4 -4
- package/dist/s-link/index.d.ts +1 -0
- package/dist/s-link/index.js +4 -0
- package/dist/s-link/s-link.d.ts +6 -0
- package/dist/s-link/s-link.js +6 -0
- package/dist/s-menu-item/index.d.ts +1 -0
- package/dist/s-menu-item/index.js +4 -0
- package/dist/{AppOption/AppOption.d.ts → s-menu-item/s-menu-item.d.ts} +3 -3
- package/dist/s-menu-item/s-menu-item.js +6 -0
- package/dist/s-multi-select/index.d.ts +1 -0
- package/dist/s-multi-select/index.js +4 -0
- package/dist/s-multi-select/s-multi-select.d.ts +12 -0
- package/dist/{AppMultiSelect/AppMultiSelect.js → s-multi-select/s-multi-select.js} +14 -19
- package/dist/s-no-ssr/index.d.ts +1 -0
- package/dist/s-no-ssr/index.js +4 -0
- package/dist/s-no-ssr/s-no-ssr.d.ts +8 -0
- package/dist/s-pagination/index.d.ts +1 -0
- package/dist/s-pagination/index.js +4 -0
- package/dist/s-pagination/s-pagination.d.ts +7 -0
- package/dist/{AppPagination/AppPagination.js → s-pagination/s-pagination.js} +1 -1
- package/dist/s-rating/index.d.ts +1 -0
- package/dist/s-rating/index.js +4 -0
- package/dist/s-rating/s-rating.d.ts +7 -0
- package/dist/s-rating/s-rating.js +6 -0
- package/dist/s-select/index.d.ts +1 -0
- package/dist/s-select/index.js +4 -0
- package/dist/{AppSelect/AppSelect.d.ts → s-select/s-select.d.ts} +4 -3
- package/dist/s-select/s-select.js +55 -0
- package/dist/s-skeleton/index.d.ts +1 -0
- package/dist/s-skeleton/index.js +4 -0
- package/dist/{AppSkeleton/AppSkeleton.d.ts → s-skeleton/s-skeleton.d.ts} +3 -3
- package/dist/{AppSnackbarMessage → s-snackbar-message}/index.d.ts +2 -2
- package/dist/{AppSnackbarMessage → s-snackbar-message}/index.js +1 -1
- package/dist/{AppSnackbarMessage/AppSnackbarMessage.d.ts → s-snackbar-message/s-snackbar-message.d.ts} +3 -3
- package/dist/{AppSnackbarMessage/AppSnackbarMessage.js → s-snackbar-message/s-snackbar-message.js} +14 -14
- package/dist/s-stack/index.d.ts +1 -0
- package/dist/s-stack/index.js +4 -0
- package/dist/s-stack/s-stack.d.ts +5 -0
- package/dist/s-stack/s-stack.js +6 -0
- package/dist/s-text-editor/index.d.ts +1 -0
- package/dist/s-text-editor/index.js +4 -0
- package/dist/s-text-editor/s-text-editor-toolbar.d.ts +6 -0
- package/dist/{AppTextEditor/TextEditorToolbar.js → s-text-editor/s-text-editor-toolbar.js} +9 -9
- package/dist/{AppTextEditor/AppTextEditor.d.ts → s-text-editor/s-text-editor.d.ts} +3 -3
- package/dist/{AppTextEditor/AppTextEditor.js → s-text-editor/s-text-editor.js} +10 -10
- package/dist/s-text-field/index.d.ts +1 -0
- package/dist/s-text-field/index.js +4 -0
- package/dist/s-text-field/s-text-field.d.ts +10 -0
- package/dist/s-text-field/s-text-field.js +20 -0
- package/dist/s-text-truncation/index.d.ts +1 -0
- package/dist/s-text-truncation/index.js +4 -0
- package/dist/s-text-truncation/s-text-truncation.d.ts +6 -0
- package/dist/{AppTextTruncation/AppTextTruncation.js → s-text-truncation/s-text-truncation.js} +1 -1
- package/dist/s-theme-provider/index.d.ts +1 -0
- package/dist/s-theme-provider/index.js +4 -0
- package/dist/s-theme-provider/s-theme-provider.js +37 -0
- package/dist/s-tip/index.d.ts +1 -0
- package/dist/s-tip/index.js +4 -0
- package/dist/s-tip/s-tip.d.ts +6 -0
- package/dist/s-tip/s-tip.js +31 -0
- package/dist/{styles/theme → theme}/components/autocomplete.js +2 -2
- package/dist/{styles/theme → theme}/components/backdrop.js +1 -1
- package/dist/{styles/theme → theme}/components/button.js +1 -1
- package/dist/{styles/theme → theme}/components/card-header.js +1 -1
- package/dist/{styles/theme → theme}/components/card.js +1 -1
- package/dist/{styles/theme → theme}/components/checkbox.js +1 -1
- package/dist/{styles/theme → theme}/components/chip.js +12 -12
- package/dist/{styles/theme → theme}/components/components.d.ts +8 -27
- package/dist/theme/components/components.js +111 -0
- package/dist/{styles/theme → theme}/components/filled-input.js +1 -1
- package/dist/{styles/theme → theme}/components/input.js +1 -1
- package/dist/{styles/theme → theme}/components/menu-item.js +1 -1
- package/dist/{styles/theme → theme}/components/outlined-input.js +2 -2
- package/dist/{styles/theme → theme}/components/radio.js +1 -1
- package/dist/{styles/theme → theme}/components/select.js +2 -2
- package/dist/{styles/theme → theme}/components/table-head.js +1 -1
- package/dist/{styles/theme → theme}/components/table-pagination.js +4 -4
- package/dist/{styles/theme → theme}/components/tabs.js +2 -2
- package/dist/theme/customizations/components/avatar.d.ts +5 -0
- package/dist/{User-X5-swnIn.js → theme/customizations/components/avatar.js} +14 -10
- package/dist/theme/customizations/components/components.d.ts +7 -0
- package/dist/theme/customizations/components/components.js +7 -0
- package/dist/{styles/theme → theme}/customizations/data-display.js +6 -6
- package/dist/{styles/theme → theme}/customizations/feedback.js +1 -1
- package/dist/{styles/theme → theme}/customizations/inputs.js +6 -6
- package/dist/{styles/theme → theme}/customizations/navigation.js +7 -7
- package/dist/{styles/theme → theme}/customizations/surfaces.js +1 -1
- package/dist/{styles/theme → theme}/theme-primitives.js +51 -51
- package/dist/{useControlled-QI8qSFYJ.js → useControlled-Bvu9pDu8.js} +7 -7
- package/dist/{useSlot-CX_V7IfD.js → useSlot-CtsS_jy6.js} +1 -1
- package/package.json +1 -4
- package/dist/AppAutocomplete/AppAutocomplete.d.ts +0 -10
- package/dist/AppAutocomplete/AppAutocomplete.js +0 -19
- package/dist/AppAutocomplete/index.d.ts +0 -1
- package/dist/AppAutocomplete/index.js +0 -4
- package/dist/AppAvatar/AppAvatar.d.ts +0 -7
- package/dist/AppAvatar/AppAvatar.js +0 -13
- package/dist/AppAvatar/index.d.ts +0 -1
- package/dist/AppAvatar/index.js +0 -4
- package/dist/AppBox/AppBox.d.ts +0 -7
- package/dist/AppBox/AppBox.js +0 -7
- package/dist/AppBox/index.d.ts +0 -1
- package/dist/AppBox/index.js +0 -4
- package/dist/AppBreadcrumbsSeparator/AppBreadcrumbsSeparator.d.ts +0 -3
- package/dist/AppBreadcrumbsSeparator/index.d.ts +0 -1
- package/dist/AppBreadcrumbsSeparator/index.js +0 -4
- package/dist/AppButton/AppButton.d.ts +0 -9
- package/dist/AppButton/AppButton.js +0 -44
- package/dist/AppButton/index.d.ts +0 -1
- package/dist/AppButton/index.js +0 -4
- package/dist/AppButtonLink/index.d.ts +0 -1
- package/dist/AppButtonLink/index.js +0 -4
- package/dist/AppCard/AppCard.d.ts +0 -6
- package/dist/AppCard/AppCard.js +0 -6
- package/dist/AppCard/index.d.ts +0 -1
- package/dist/AppCard/index.js +0 -4
- package/dist/AppCardActions/AppCardActions.d.ts +0 -6
- package/dist/AppCardActions/index.d.ts +0 -1
- package/dist/AppCardActions/index.js +0 -4
- package/dist/AppCardContent/AppCardContent.d.ts +0 -6
- package/dist/AppCardContent/index.d.ts +0 -1
- package/dist/AppCardContent/index.js +0 -4
- package/dist/AppCardHeader/AppCardHeader.d.ts +0 -10
- package/dist/AppCardHeader/AppCardHeader.js +0 -13
- package/dist/AppCardHeader/index.d.ts +0 -1
- package/dist/AppCardHeader/index.js +0 -4
- package/dist/AppCheckbox/AppCheckbox.d.ts +0 -7
- package/dist/AppCheckbox/index.d.ts +0 -1
- package/dist/AppCheckbox/index.js +0 -4
- package/dist/AppChip/AppChip.d.ts +0 -6
- package/dist/AppChip/AppChip.js +0 -6
- package/dist/AppChip/index.d.ts +0 -1
- package/dist/AppChip/index.js +0 -4
- package/dist/AppChips/AppChips.d.ts +0 -7
- package/dist/AppChips/AppChips.js +0 -72
- package/dist/AppChips/index.d.ts +0 -1
- package/dist/AppChips/index.js +0 -4
- package/dist/AppDataTable/index.d.ts +0 -2
- package/dist/AppDataTable/index.js +0 -4
- package/dist/AppDialog/index.d.ts +0 -1
- package/dist/AppDialog/index.js +0 -4
- package/dist/AppEmpty/AppEmpty.d.ts +0 -5
- package/dist/AppEmpty/index.d.ts +0 -1
- package/dist/AppEmpty/index.js +0 -4
- package/dist/AppError/AppError.d.ts +0 -3
- package/dist/AppError/index.d.ts +0 -1
- package/dist/AppError/index.js +0 -4
- package/dist/AppFileDropzone/index.d.ts +0 -2
- package/dist/AppFileDropzone/index.js +0 -4
- package/dist/AppFileIcon/AppFileIcon.d.ts +0 -6
- package/dist/AppFileIcon/index.d.ts +0 -1
- package/dist/AppFileIcon/index.js +0 -4
- package/dist/AppFormControl/AppFormControl.d.ts +0 -8
- package/dist/AppFormControl/AppFormControl.js +0 -10
- package/dist/AppFormControl/index.d.ts +0 -1
- package/dist/AppFormControl/index.js +0 -4
- package/dist/AppGallery/AppGallery.d.ts +0 -6
- package/dist/AppGallery/index.d.ts +0 -1
- package/dist/AppGallery/index.js +0 -4
- package/dist/AppI18nProvider/AppI18nProvider.d.ts +0 -7
- package/dist/AppI18nProvider/index.d.ts +0 -1
- package/dist/AppI18nProvider/index.js +0 -4
- package/dist/AppIconButton/AppIconButton.d.ts +0 -8
- package/dist/AppIconButton/AppIconButton.js +0 -6
- package/dist/AppIconButton/index.d.ts +0 -1
- package/dist/AppIconButton/index.js +0 -4
- package/dist/AppIcons/AppIcons.d.ts +0 -3
- package/dist/AppIcons/AppIcons.js +0 -1081
- package/dist/AppIcons/index.d.ts +0 -1
- package/dist/AppIcons/index.js +0 -4
- package/dist/AppLabel/index.d.ts +0 -1
- package/dist/AppLabel/index.js +0 -4
- package/dist/AppLink/AppLink.d.ts +0 -6
- package/dist/AppLink/AppLink.js +0 -6
- package/dist/AppLink/index.d.ts +0 -1
- package/dist/AppLink/index.js +0 -4
- package/dist/AppMultiSelect/AppMultiSelect.d.ts +0 -12
- package/dist/AppMultiSelect/index.d.ts +0 -1
- package/dist/AppMultiSelect/index.js +0 -4
- package/dist/AppNoData/AppNoData.d.ts +0 -5
- package/dist/AppNoData/AppNoData.js +0 -6
- package/dist/AppNoData/index.d.ts +0 -1
- package/dist/AppNoData/index.js +0 -4
- package/dist/AppNoSsr/AppNoSsr.d.ts +0 -8
- package/dist/AppNoSsr/index.d.ts +0 -1
- package/dist/AppNoSsr/index.js +0 -4
- package/dist/AppOption/AppOption.js +0 -6
- package/dist/AppOption/index.d.ts +0 -1
- package/dist/AppOption/index.js +0 -4
- package/dist/AppPagination/AppPagination.d.ts +0 -7
- package/dist/AppPagination/index.d.ts +0 -1
- package/dist/AppPagination/index.js +0 -4
- package/dist/AppRating/AppRating.d.ts +0 -7
- package/dist/AppRating/AppRating.js +0 -6
- package/dist/AppRating/index.d.ts +0 -1
- package/dist/AppRating/index.js +0 -4
- package/dist/AppSelect/AppSelect.js +0 -82
- package/dist/AppSelect/index.d.ts +0 -1
- package/dist/AppSelect/index.js +0 -4
- package/dist/AppSkeleton/index.d.ts +0 -1
- package/dist/AppSkeleton/index.js +0 -4
- package/dist/AppStack/AppStack.d.ts +0 -6
- package/dist/AppStack/AppStack.js +0 -6
- package/dist/AppStack/index.d.ts +0 -1
- package/dist/AppStack/index.js +0 -4
- package/dist/AppTextEditor/TextEditorToolbar.d.ts +0 -6
- package/dist/AppTextEditor/index.d.ts +0 -1
- package/dist/AppTextEditor/index.js +0 -4
- package/dist/AppTextTruncation/AppTextTruncation.d.ts +0 -6
- package/dist/AppTextTruncation/index.d.ts +0 -1
- package/dist/AppTextTruncation/index.js +0 -4
- package/dist/AppTip/AppTip.d.ts +0 -6
- package/dist/AppTip/AppTip.js +0 -28
- package/dist/AppTip/index.d.ts +0 -1
- package/dist/AppTip/index.js +0 -4
- package/dist/Lightbulb-BLT-jnYA.js +0 -47
- package/dist/SForm/index.d.ts +0 -1
- package/dist/SForm/index.js +0 -4
- package/dist/SForm/package.json +0 -5
- package/dist/STextField/STextField.d.ts +0 -11
- package/dist/STextField/STextField.js +0 -30
- package/dist/STextField/index.d.ts +0 -1
- package/dist/STextField/index.js +0 -4
- package/dist/STextField/package.json +0 -5
- package/dist/SThemeProvider/SThemeProvider.js +0 -35
- package/dist/SThemeProvider/index.d.ts +0 -1
- package/dist/SThemeProvider/index.js +0 -4
- package/dist/SThemeProvider/package.json +0 -5
- package/dist/styles/theme/color-schemes.d.ts +0 -7
- package/dist/styles/theme/color-schemes.js +0 -147
- package/dist/styles/theme/colors.d.ts +0 -92
- package/dist/styles/theme/colors.js +0 -94
- package/dist/styles/theme/components/avatar.d.ts +0 -18
- package/dist/styles/theme/components/avatar.js +0 -21
- package/dist/styles/theme/components/components.js +0 -113
- package/dist/styles/theme/create-theme.d.ts +0 -8
- package/dist/styles/theme/create-theme.js +0 -22
- package/dist/styles/theme/index.d.ts +0 -1
- package/dist/styles/theme/index.js +0 -4
- package/dist/styles/theme/shadows.d.ts +0 -3
- package/dist/styles/theme/shadows.js +0 -59
- package/dist/styles/theme/typography.d.ts +0 -68
- package/dist/styles/theme/typography.js +0 -31
- /package/dist/assets/{AppGallery.css → s-image-gallery.css} +0 -0
- /package/dist/assets/{AppTextTruncation.css → s-text-truncation.css} +0 -0
- /package/dist/{AppAutocomplete → s-autocomplete}/package.json +0 -0
- /package/dist/{AppAvatar → s-avatar}/package.json +0 -0
- /package/dist/{AppBox → s-box}/package.json +0 -0
- /package/dist/{AppBreadcrumbsSeparator → s-breadcrumbs-separator}/package.json +0 -0
- /package/dist/{AppBreadcrumbsSeparator/AppBreadcrumbsSeparator.js → s-breadcrumbs-separator/s-breadcrumbs-separator.js} +0 -0
- /package/dist/{AppButtonLink → s-button}/package.json +0 -0
- /package/dist/{AppButton → s-button-link}/package.json +0 -0
- /package/dist/{AppButtonLink/AppButtonLink.js → s-button-link/s-button-link.js} +0 -0
- /package/dist/{AppCardHeader → s-card}/package.json +0 -0
- /package/dist/{AppCard → s-card-actions}/package.json +0 -0
- /package/dist/{AppCardActions → s-card-content}/package.json +0 -0
- /package/dist/{AppCardContent → s-card-header}/package.json +0 -0
- /package/dist/{AppCheckbox → s-checkbox}/package.json +0 -0
- /package/dist/{AppChip → s-chip}/package.json +0 -0
- /package/dist/{AppChips → s-chips}/package.json +0 -0
- /package/dist/{AppDataTable → s-data-table}/package.json +0 -0
- /package/dist/{AppDialogMessage → s-dialog}/package.json +0 -0
- /package/dist/{AppDialog → s-dialog-confirm}/package.json +0 -0
- /package/dist/{AppDialogConfirm → s-dialog-message}/package.json +0 -0
- /package/dist/{AppEmpty → s-empty}/package.json +0 -0
- /package/dist/{AppError → s-error}/package.json +0 -0
- /package/dist/{AppError/AppError.js → s-error/s-error.js} +0 -0
- /package/dist/{AppFileDropzone → s-file-dropzone}/package.json +0 -0
- /package/dist/{AppFileIcon → s-file-icon}/package.json +0 -0
- /package/dist/{AppFormControl → s-form}/package.json +0 -0
- /package/dist/{SForm/SForm.d.ts → s-form/s-form.d.ts} +0 -0
- /package/dist/{SForm/SForm.js → s-form/s-form.js} +0 -0
- /package/dist/{AppGallery → s-i18n-provider}/package.json +0 -0
- /package/dist/{AppI18nProvider → s-icon-button}/package.json +0 -0
- /package/dist/{AppIconButton → s-image-gallery}/package.json +0 -0
- /package/dist/{AppIcons → s-label}/package.json +0 -0
- /package/dist/{AppLabel/AppLabel.js → s-label/s-label.js} +0 -0
- /package/dist/{AppLabel → s-link}/package.json +0 -0
- /package/dist/{AppLink → s-menu-item}/package.json +0 -0
- /package/dist/{AppMultiSelect → s-multi-select}/package.json +0 -0
- /package/dist/{AppNoData → s-no-ssr}/package.json +0 -0
- /package/dist/{AppNoSsr/AppNoSsr.js → s-no-ssr/s-no-ssr.js} +0 -0
- /package/dist/{AppNoSsr → s-pagination}/package.json +0 -0
- /package/dist/{AppOption → s-rating}/package.json +0 -0
- /package/dist/{AppPagination → s-select}/package.json +0 -0
- /package/dist/{AppRating → s-skeleton}/package.json +0 -0
- /package/dist/{AppSkeleton/AppSkeleton.js → s-skeleton/s-skeleton.js} +0 -0
- /package/dist/{AppSelect → s-snackbar-message}/package.json +0 -0
- /package/dist/{AppSkeleton → s-stack}/package.json +0 -0
- /package/dist/{AppSnackbarMessage → s-text-editor}/package.json +0 -0
- /package/dist/{AppStack → s-text-field}/package.json +0 -0
- /package/dist/{AppTextEditor → s-text-truncation}/package.json +0 -0
- /package/dist/{AppTextTruncation → s-theme-provider}/package.json +0 -0
- /package/dist/{SThemeProvider/SThemeProvider.d.ts → s-theme-provider/s-theme-provider.d.ts} +0 -0
- /package/dist/{AppTip → s-tip}/package.json +0 -0
- /package/dist/{styles/theme → theme}/components/accordion.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/accordion.js +0 -0
- /package/dist/{styles/theme → theme}/components/alert.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/alert.js +0 -0
- /package/dist/{styles/theme → theme}/components/autocomplete.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/backdrop.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/button-base.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/button-base.js +0 -0
- /package/dist/{styles/theme → theme}/components/button-group.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/button-group.js +0 -0
- /package/dist/{styles/theme → theme}/components/button.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/card-actions.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/card-actions.js +0 -0
- /package/dist/{styles/theme → theme}/components/card-content.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/card-content.js +0 -0
- /package/dist/{styles/theme → theme}/components/card-header.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/card.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/checkbox.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/chip.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/dialog-actions.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/dialog-actions.js +0 -0
- /package/dist/{styles/theme → theme}/components/dialog-content-text.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/dialog-content-text.js +0 -0
- /package/dist/{styles/theme → theme}/components/dialog-content.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/dialog-content.js +0 -0
- /package/dist/{styles/theme → theme}/components/dialog-title.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/dialog-title.js +0 -0
- /package/dist/{styles/theme → theme}/components/filled-input.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/form-control-label.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/form-control-label.js +0 -0
- /package/dist/{styles/theme → theme}/components/form-group.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/form-group.js +0 -0
- /package/dist/{styles/theme → theme}/components/form-helper-text.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/form-helper-text.js +0 -0
- /package/dist/{styles/theme → theme}/components/form-label.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/form-label.js +0 -0
- /package/dist/{styles/theme → theme}/components/icon-button.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/icon-button.js +0 -0
- /package/dist/{styles/theme → theme}/components/input-base.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/input-base.js +0 -0
- /package/dist/{styles/theme → theme}/components/input-label.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/input-label.js +0 -0
- /package/dist/{styles/theme → theme}/components/input.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/linear-progress.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/linear-progress.js +0 -0
- /package/dist/{styles/theme → theme}/components/link.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/link.js +0 -0
- /package/dist/{styles/theme → theme}/components/list-item-avatar.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/list-item-avatar.js +0 -0
- /package/dist/{styles/theme → theme}/components/list-item-button.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/list-item-button.js +0 -0
- /package/dist/{styles/theme → theme}/components/list-item-icon.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/list-item-icon.js +0 -0
- /package/dist/{styles/theme → theme}/components/list-item-text.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/list-item-text.js +0 -0
- /package/dist/{styles/theme → theme}/components/list-item.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/list-item.js +0 -0
- /package/dist/{styles/theme → theme}/components/list.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/list.js +0 -0
- /package/dist/{styles/theme → theme}/components/menu-item.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/menu.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/menu.js +0 -0
- /package/dist/{styles/theme → theme}/components/outlined-input.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/paper.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/paper.js +0 -0
- /package/dist/{styles/theme → theme}/components/popover.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/popover.js +0 -0
- /package/dist/{styles/theme → theme}/components/radio.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/select.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/skeleton.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/skeleton.js +0 -0
- /package/dist/{styles/theme → theme}/components/stack.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/stack.js +0 -0
- /package/dist/{styles/theme → theme}/components/switch.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/switch.js +0 -0
- /package/dist/{styles/theme → theme}/components/tab.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/tab.js +0 -0
- /package/dist/{styles/theme → theme}/components/table-body.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/table-body.js +0 -0
- /package/dist/{styles/theme → theme}/components/table-cell.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/table-cell.js +0 -0
- /package/dist/{styles/theme → theme}/components/table-head.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/table-pagination.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/tabs.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/toggle-button-group.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/toggle-button-group.js +0 -0
- /package/dist/{styles/theme → theme}/components/toggle-button.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/toggle-button.js +0 -0
- /package/dist/{styles/theme → theme}/components/tooltip.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/tooltip.js +0 -0
- /package/dist/{styles/theme → theme}/customizations/data-display.d.ts +0 -0
- /package/dist/{styles/theme → theme}/customizations/feedback.d.ts +0 -0
- /package/dist/{styles/theme → theme}/customizations/inputs.d.ts +0 -0
- /package/dist/{styles/theme → theme}/customizations/navigation.d.ts +0 -0
- /package/dist/{styles/theme → theme}/customizations/surfaces.d.ts +0 -0
- /package/dist/{styles/theme → theme}/theme-primitives.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './s-chips';
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { j as n } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import { useRef as S, useState as m, useEffect as g } from "react";
|
|
3
|
+
import { Box as r, Tooltip as E } from "@mui/material";
|
|
4
|
+
import h from "../s-chip/s-chip.js";
|
|
5
|
+
const P = ({ chips: s, overflow: l = !0, onClick: o }) => {
|
|
6
|
+
const c = S(null), [w, b] = m([]), [C, y] = m([]), [u, j] = m(0), a = () => {
|
|
7
|
+
var x;
|
|
8
|
+
const t = ((x = c.current) == null ? void 0 : x.offsetWidth) || 0;
|
|
9
|
+
let e = 0, i = 0;
|
|
10
|
+
for (let p = 0; p < s.length; p++) {
|
|
11
|
+
const f = d(s[p]);
|
|
12
|
+
if (e + f <= t)
|
|
13
|
+
e += f, i++;
|
|
14
|
+
else
|
|
15
|
+
break;
|
|
16
|
+
}
|
|
17
|
+
const v = d(`+${s.length - i} keywords`);
|
|
18
|
+
for (; e + v > t && i > 0; )
|
|
19
|
+
i--, e -= d(s[i]);
|
|
20
|
+
b(s.slice(0, i)), y(s.slice(i)), j(s.length - i);
|
|
21
|
+
}, d = (t) => {
|
|
22
|
+
const e = document.createElement("span");
|
|
23
|
+
e.style.visibility = "hidden", e.style.position = "absolute", e.style.whiteSpace = "nowrap", e.textContent = t.trim(), document.body.appendChild(e);
|
|
24
|
+
const i = e.offsetWidth;
|
|
25
|
+
return document.body.removeChild(e), i + 16;
|
|
26
|
+
}, W = l ? { textOverflow: "ellipsis", whiteSpace: "nowrap", overflow: "hidden" } : {};
|
|
27
|
+
return g(() => (a(), window.addEventListener("resize", a), () => {
|
|
28
|
+
window.removeEventListener("resize", a);
|
|
29
|
+
}), [s]), /* @__PURE__ */ n.jsxs(r, { ref: c, display: "flex", maxWidth: "100%", ...W, children: [
|
|
30
|
+
(l ? w : s).map((t) => /* @__PURE__ */ n.jsx(
|
|
31
|
+
r,
|
|
32
|
+
{
|
|
33
|
+
component: "span",
|
|
34
|
+
textTransform: "lowercase",
|
|
35
|
+
onClick: () => {
|
|
36
|
+
o == null || o(t);
|
|
37
|
+
},
|
|
38
|
+
children: /* @__PURE__ */ n.jsx(
|
|
39
|
+
h,
|
|
40
|
+
{
|
|
41
|
+
label: t.trim(),
|
|
42
|
+
sx: {
|
|
43
|
+
mr: 1,
|
|
44
|
+
mb: 1,
|
|
45
|
+
userSelect: "none",
|
|
46
|
+
cursor: o ? "pointer" : "default"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
)
|
|
50
|
+
},
|
|
51
|
+
t
|
|
52
|
+
)),
|
|
53
|
+
l && u > 0 && /* @__PURE__ */ n.jsx(
|
|
54
|
+
E,
|
|
55
|
+
{
|
|
56
|
+
slotProps: {
|
|
57
|
+
tooltip: { style: { padding: "0.5rem" } }
|
|
58
|
+
},
|
|
59
|
+
title: /* @__PURE__ */ n.jsx(r, { display: "flex", gap: 1, maxWidth: "240px", flexWrap: "wrap", children: C.map((t) => /* @__PURE__ */ n.jsx(h, { label: t.trim() }, t)) }),
|
|
60
|
+
children: /* @__PURE__ */ n.jsx(r, { component: "span", textTransform: "lowercase", children: /* @__PURE__ */ n.jsx(
|
|
61
|
+
h,
|
|
62
|
+
{
|
|
63
|
+
label: `+${u} keywords`,
|
|
64
|
+
variant: "outlined",
|
|
65
|
+
sx: { mr: 1, mb: 1, userSelect: "none", cursor: "pointer" }
|
|
66
|
+
}
|
|
67
|
+
) })
|
|
68
|
+
}
|
|
69
|
+
)
|
|
70
|
+
] });
|
|
71
|
+
};
|
|
72
|
+
export {
|
|
73
|
+
P as default
|
|
74
|
+
};
|
|
@@ -9,7 +9,7 @@ export interface ColumnDef<TRowModel> {
|
|
|
9
9
|
width?: number | string;
|
|
10
10
|
}
|
|
11
11
|
type RowId = number | string;
|
|
12
|
-
export interface
|
|
12
|
+
export interface SDataTableProps<TRowModel> extends Omit<TableProps, 'onClick'> {
|
|
13
13
|
columns: ColumnDef<TRowModel>[];
|
|
14
14
|
hideHead?: boolean;
|
|
15
15
|
hover?: boolean;
|
|
@@ -23,7 +23,7 @@ export interface AppDataTableProps<TRowModel> extends Omit<TableProps, 'onClick'
|
|
|
23
23
|
selected?: Set<RowId>;
|
|
24
24
|
uniqueRowId?: (row: TRowModel) => RowId;
|
|
25
25
|
}
|
|
26
|
-
declare function
|
|
26
|
+
declare function SDataTable<TRowModel extends object & {
|
|
27
27
|
id?: RowId | null;
|
|
28
|
-
}>({ columns, hideHead, hover, onClick, onDeselectAll, onDeselectOne, onSelectOne, onSelectAll, rows, selectable, selected, uniqueRowId, ...props }:
|
|
29
|
-
export default
|
|
28
|
+
}>({ columns, hideHead, hover, onClick, onDeselectAll, onDeselectOne, onSelectOne, onSelectAll, rows, selectable, selected, uniqueRowId, ...props }: SDataTableProps<TRowModel>): React.JSX.Element;
|
|
29
|
+
export default SDataTable;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { j as r } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
2
|
import { v4 as Te } from "uuid";
|
|
3
|
-
import Ce from "../
|
|
3
|
+
import Ce from "../s-empty/s-empty.js";
|
|
4
4
|
import * as h from "react";
|
|
5
5
|
import { c as j, P as e, a as B, l as ke, n as je } from "../createTheme-BZxWCiBm.js";
|
|
6
6
|
import { c as H } from "../identifier-CHPjnqaz.js";
|
|
7
|
-
import { s as S, c as z, r as ae, u as M, m as
|
|
7
|
+
import { s as S, c as z, r as ae, u as M, m as W } from "../memoTheme-CaOW5YiB.js";
|
|
8
8
|
import { g as I } from "../generateUtilityClass-CRH_bFW6.js";
|
|
9
9
|
import { g as E } from "../generateUtilityClasses-STjIp_B9.js";
|
|
10
10
|
import { g as Oe, t as Re } from "../tableCellClasses-CBw1aep0.js";
|
|
11
|
-
import { u as we, a as Pe } from "../useControlled-
|
|
12
|
-
import { u as
|
|
13
|
-
import { B as Ne, r as ze } from "../ButtonBase-
|
|
14
|
-
import { c as G } from "../createSvgIcon-
|
|
11
|
+
import { u as we, a as Pe } from "../useControlled-Bvu9pDu8.js";
|
|
12
|
+
import { u as A, m as Se } from "../useSlot-CtsS_jy6.js";
|
|
13
|
+
import { B as Ne, r as ze } from "../ButtonBase-BFsNsbc9.js";
|
|
14
|
+
import { c as G } from "../createSvgIcon-B7_s-URK.js";
|
|
15
15
|
import { c as Y } from "../createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
16
16
|
function $e(o) {
|
|
17
17
|
return I("PrivateSwitchBase", o);
|
|
@@ -119,19 +119,19 @@ const Be = (o) => {
|
|
|
119
119
|
};
|
|
120
120
|
let F = d;
|
|
121
121
|
w && typeof F > "u" && (F = w.disabled);
|
|
122
|
-
const ge = R === "checkbox" || R === "radio",
|
|
122
|
+
const ge = R === "checkbox" || R === "radio", D = {
|
|
123
123
|
...t,
|
|
124
124
|
checked: K,
|
|
125
125
|
disabled: F,
|
|
126
126
|
disableFocusRipple: u,
|
|
127
127
|
edge: y
|
|
128
|
-
}, Q = Be(
|
|
128
|
+
}, Q = Be(D), X = {
|
|
129
129
|
slots: ce,
|
|
130
130
|
slotProps: {
|
|
131
131
|
input: O,
|
|
132
132
|
...pe
|
|
133
133
|
}
|
|
134
|
-
}, [me, he] =
|
|
134
|
+
}, [me, he] = A("root", {
|
|
135
135
|
ref: s,
|
|
136
136
|
elementType: He,
|
|
137
137
|
className: Q.root,
|
|
@@ -152,7 +152,7 @@ const Be = (o) => {
|
|
|
152
152
|
(P = b.onBlur) == null || P.call(b, k), be(k);
|
|
153
153
|
}
|
|
154
154
|
}),
|
|
155
|
-
ownerState:
|
|
155
|
+
ownerState: D,
|
|
156
156
|
additionalProps: {
|
|
157
157
|
centerRipple: !0,
|
|
158
158
|
focusRipple: !u,
|
|
@@ -160,7 +160,7 @@ const Be = (o) => {
|
|
|
160
160
|
role: void 0,
|
|
161
161
|
tabIndex: null
|
|
162
162
|
}
|
|
163
|
-
}), [xe, ve] =
|
|
163
|
+
}), [xe, ve] = A("input", {
|
|
164
164
|
ref: g,
|
|
165
165
|
elementType: Me,
|
|
166
166
|
className: Q.input,
|
|
@@ -172,7 +172,7 @@ const Be = (o) => {
|
|
|
172
172
|
(P = b.onChange) == null || P.call(b, k), ye(k);
|
|
173
173
|
}
|
|
174
174
|
}),
|
|
175
|
-
ownerState:
|
|
175
|
+
ownerState: D,
|
|
176
176
|
additionalProps: {
|
|
177
177
|
autoFocus: a,
|
|
178
178
|
checked: i,
|
|
@@ -325,7 +325,7 @@ const Ie = G(/* @__PURE__ */ r.jsx("path", {
|
|
|
325
325
|
function Ue(o) {
|
|
326
326
|
return I("MuiCheckbox", o);
|
|
327
327
|
}
|
|
328
|
-
const
|
|
328
|
+
const L = E("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), Ve = (o) => {
|
|
329
329
|
const {
|
|
330
330
|
classes: t,
|
|
331
331
|
indeterminate: s,
|
|
@@ -349,7 +349,7 @@ const A = E("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
349
349
|
} = o;
|
|
350
350
|
return [t.root, s.indeterminate && t.indeterminate, t[`size${j(s.size)}`], s.color !== "default" && t[`color${j(s.color)}`]];
|
|
351
351
|
}
|
|
352
|
-
})(
|
|
352
|
+
})(W(({
|
|
353
353
|
theme: o
|
|
354
354
|
}) => ({
|
|
355
355
|
color: (o.vars || o).palette.text.secondary,
|
|
@@ -378,10 +378,10 @@ const A = E("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
378
378
|
color: t
|
|
379
379
|
},
|
|
380
380
|
style: {
|
|
381
|
-
[`&.${
|
|
381
|
+
[`&.${L.checked}, &.${L.indeterminate}`]: {
|
|
382
382
|
color: (o.vars || o).palette[t].main
|
|
383
383
|
},
|
|
384
|
-
[`&.${
|
|
384
|
+
[`&.${L.disabled}`]: {
|
|
385
385
|
color: (o.vars || o).palette.action.disabled
|
|
386
386
|
}
|
|
387
387
|
}
|
|
@@ -399,16 +399,16 @@ const A = E("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
401
|
}]
|
|
402
|
-
}))),
|
|
402
|
+
}))), We = /* @__PURE__ */ r.jsx(Ee, {}), De = /* @__PURE__ */ r.jsx(Ie, {}), Le = /* @__PURE__ */ r.jsx(Fe, {}), q = /* @__PURE__ */ h.forwardRef(function(t, s) {
|
|
403
403
|
const a = M({
|
|
404
404
|
props: t,
|
|
405
405
|
name: "MuiCheckbox"
|
|
406
406
|
}), {
|
|
407
|
-
checkedIcon: i =
|
|
407
|
+
checkedIcon: i = We,
|
|
408
408
|
color: n = "primary",
|
|
409
|
-
icon: p =
|
|
409
|
+
icon: p = De,
|
|
410
410
|
indeterminate: d = !1,
|
|
411
|
-
indeterminateIcon: u =
|
|
411
|
+
indeterminateIcon: u = Le,
|
|
412
412
|
inputProps: y,
|
|
413
413
|
size: l = "medium",
|
|
414
414
|
disableRipple: x = !1,
|
|
@@ -422,7 +422,7 @@ const A = E("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
422
422
|
color: n,
|
|
423
423
|
indeterminate: d,
|
|
424
424
|
size: l
|
|
425
|
-
}, f = Ve(C), N = T.input ?? y, [R, V] =
|
|
425
|
+
}, f = Ve(C), N = T.input ?? y, [R, V] = A("root", {
|
|
426
426
|
ref: s,
|
|
427
427
|
elementType: _e,
|
|
428
428
|
className: H(f.root, O),
|
|
@@ -571,7 +571,7 @@ process.env.NODE_ENV !== "production" && (q.propTypes = {
|
|
|
571
571
|
});
|
|
572
572
|
const J = /* @__PURE__ */ h.createContext();
|
|
573
573
|
process.env.NODE_ENV !== "production" && (J.displayName = "TableContext");
|
|
574
|
-
function
|
|
574
|
+
function Ae(o) {
|
|
575
575
|
return I("MuiTable", o);
|
|
576
576
|
}
|
|
577
577
|
E("MuiTable", ["root", "stickyHeader"]);
|
|
@@ -582,7 +582,7 @@ const qe = (o) => {
|
|
|
582
582
|
} = o;
|
|
583
583
|
return z({
|
|
584
584
|
root: ["root", s && "stickyHeader"]
|
|
585
|
-
},
|
|
585
|
+
}, Ae, t);
|
|
586
586
|
}, Ge = S("table", {
|
|
587
587
|
name: "MuiTable",
|
|
588
588
|
slot: "Root",
|
|
@@ -592,7 +592,7 @@ const qe = (o) => {
|
|
|
592
592
|
} = o;
|
|
593
593
|
return [t.root, s.stickyHeader && t.stickyHeader];
|
|
594
594
|
}
|
|
595
|
-
})(
|
|
595
|
+
})(W(({
|
|
596
596
|
theme: o
|
|
597
597
|
}) => ({
|
|
598
598
|
display: "table",
|
|
@@ -783,7 +783,7 @@ const Ye = (o) => {
|
|
|
783
783
|
} = o;
|
|
784
784
|
return [t.root, t[s.variant], t[`size${j(s.size)}`], s.padding !== "normal" && t[`padding${j(s.padding)}`], s.align !== "inherit" && t[`align${j(s.align)}`], s.stickyHeader && t.stickyHeader];
|
|
785
785
|
}
|
|
786
|
-
})(
|
|
786
|
+
})(W(({
|
|
787
787
|
theme: o
|
|
788
788
|
}) => ({
|
|
789
789
|
...o.typography.body2,
|
|
@@ -1082,7 +1082,7 @@ const te = E("MuiTableRow", ["root", "selected", "hover", "head", "footer"]), no
|
|
|
1082
1082
|
} = o;
|
|
1083
1083
|
return [t.root, s.head && t.head, s.footer && t.footer];
|
|
1084
1084
|
}
|
|
1085
|
-
})(
|
|
1085
|
+
})(W(({
|
|
1086
1086
|
theme: o
|
|
1087
1087
|
}) => ({
|
|
1088
1088
|
color: "inherit",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './s-dialog';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Breakpoint } from '@mui/material';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
interface
|
|
3
|
+
interface SDialogProps {
|
|
4
4
|
title?: string | React.ReactNode;
|
|
5
5
|
content?: string | React.ReactNode;
|
|
6
6
|
actions?: React.ReactNode;
|
|
@@ -11,5 +11,5 @@ interface AppDialogProps {
|
|
|
11
11
|
onSubmit?: () => void;
|
|
12
12
|
showClose?: boolean;
|
|
13
13
|
}
|
|
14
|
-
declare const
|
|
15
|
-
export default
|
|
14
|
+
declare const SDialog: ({ title, content, actions, onClose, open, maxWidth, useForm, onSubmit, showClose, }: SDialogProps) => React.JSX.Element;
|
|
15
|
+
export default SDialog;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as r } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import { Dialog as
|
|
3
|
-
import { S as u } from "../X-
|
|
2
|
+
import { Dialog as j, DialogTitle as h, Stack as p, Typography as t, IconButton as f, DialogContent as m, DialogActions as g } from "@mui/material";
|
|
3
|
+
import { S as u } from "../X-B8GTZwii.js";
|
|
4
4
|
const w = ({
|
|
5
5
|
title: i,
|
|
6
6
|
content: s,
|
|
@@ -18,8 +18,8 @@ const w = ({
|
|
|
18
18
|
s && /* @__PURE__ */ r.jsx(m, { children: typeof s == "string" ? /* @__PURE__ */ r.jsx(t, { color: "text.secondary", variant: "body2", children: s }) : s }),
|
|
19
19
|
e && /* @__PURE__ */ r.jsx(g, { children: e })
|
|
20
20
|
] });
|
|
21
|
-
return /* @__PURE__ */ r.jsxs(
|
|
22
|
-
i && /* @__PURE__ */ r.jsx(
|
|
21
|
+
return /* @__PURE__ */ r.jsxs(j, { fullWidth: !0, maxWidth: l, onClose: n, open: a, children: [
|
|
22
|
+
i && /* @__PURE__ */ r.jsx(h, { children: /* @__PURE__ */ r.jsxs(p, { direction: "row", spacing: 3, sx: { alignItems: "center", justifyContent: "space-between" }, children: [
|
|
23
23
|
typeof i == "string" ? /* @__PURE__ */ r.jsx(t, { variant: "h5", textTransform: "capitalize", children: i }) : /* @__PURE__ */ r.jsx("div", { children: i }),
|
|
24
24
|
d && /* @__PURE__ */ r.jsx(f, { onClick: n, children: /* @__PURE__ */ r.jsx(u, {}) })
|
|
25
25
|
] }) }),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default, DialogConfirmProvider, useDialogConfirm } from './
|
|
2
|
-
export type { DialogConfirmContextProps, DialogConfirmOpenOptions } from './
|
|
1
|
+
export { default, DialogConfirmProvider, useDialogConfirm } from './s-dialog-confirm';
|
|
2
|
+
export type { DialogConfirmContextProps, DialogConfirmOpenOptions } from './s-dialog-confirm';
|
package/dist/{AppDialogConfirm/AppDialogConfirm.d.ts → s-dialog-confirm/s-dialog-confirm.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Breakpoint } from '@mui/material';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
interface
|
|
3
|
+
interface SDialogConfirmProps {
|
|
4
4
|
title?: string | React.ReactNode;
|
|
5
5
|
content?: string | React.ReactNode;
|
|
6
6
|
onConfirm?: () => void;
|
|
@@ -10,8 +10,8 @@ interface AppDialogConfirmProps {
|
|
|
10
10
|
showClose?: boolean;
|
|
11
11
|
loading?: boolean;
|
|
12
12
|
}
|
|
13
|
-
declare const
|
|
14
|
-
export default
|
|
13
|
+
declare const SDialogConfirm: ({ title, content, onConfirm, onClose, open, maxWidth, showClose, loading, }: SDialogConfirmProps) => React.JSX.Element;
|
|
14
|
+
export default SDialogConfirm;
|
|
15
15
|
export interface DialogConfirmOpenOptions {
|
|
16
16
|
title: string;
|
|
17
17
|
content: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { j as n } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
2
|
import * as r from "react";
|
|
3
|
-
import { Dialog as
|
|
4
|
-
import { S as b } from "../X-
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { T as m } from "../Typography-
|
|
8
|
-
const
|
|
3
|
+
import { Dialog as p, DialogTitle as g, Stack as j, IconButton as D, DialogContent as v, DialogActions as y } from "@mui/material";
|
|
4
|
+
import { S as b } from "../X-B8GTZwii.js";
|
|
5
|
+
import { useDialog as S } from "../hooks/use-dialog.js";
|
|
6
|
+
import d from "../s-button/s-button.js";
|
|
7
|
+
import { T as m } from "../Typography-jSFidXje.js";
|
|
8
|
+
const k = ({
|
|
9
9
|
title: e,
|
|
10
10
|
content: o,
|
|
11
11
|
onConfirm: s = () => {
|
|
@@ -16,7 +16,7 @@ const w = ({
|
|
|
16
16
|
maxWidth: a = "sm",
|
|
17
17
|
showClose: c = !0,
|
|
18
18
|
loading: l = !1
|
|
19
|
-
}) => /* @__PURE__ */ n.jsxs(
|
|
19
|
+
}) => /* @__PURE__ */ n.jsxs(p, { fullWidth: !0, maxWidth: a, onClose: i, open: t, children: [
|
|
20
20
|
e && /* @__PURE__ */ n.jsx(g, { children: /* @__PURE__ */ n.jsxs(j, { direction: "row", spacing: 3, sx: { alignItems: "center", justifyContent: "space-between" }, children: [
|
|
21
21
|
typeof e == "string" ? /* @__PURE__ */ n.jsx(m, { variant: "h5", textTransform: "capitalize", children: e }) : /* @__PURE__ */ n.jsx("div", { children: e }),
|
|
22
22
|
c && /* @__PURE__ */ n.jsx(D, { onClick: i, children: /* @__PURE__ */ n.jsx(b, {}) })
|
|
@@ -26,17 +26,17 @@ const w = ({
|
|
|
26
26
|
/* @__PURE__ */ n.jsx(d, { onClick: i, variant: "outlined", disabled: l, children: "Cancel" }),
|
|
27
27
|
/* @__PURE__ */ n.jsx(d, { onClick: s, disabled: l, children: "Confirm" })
|
|
28
28
|
] }) })
|
|
29
|
-
] }), f = r.createContext(null),
|
|
30
|
-
const o =
|
|
29
|
+
] }), f = r.createContext(null), O = ({ children: e }) => {
|
|
30
|
+
const o = S(), [s, i] = r.useState(!1), [t, a] = r.useState({
|
|
31
31
|
title: "",
|
|
32
32
|
content: "",
|
|
33
33
|
onConfirm: () => {
|
|
34
34
|
}
|
|
35
35
|
}), c = {
|
|
36
36
|
handleOpen: r.useCallback(
|
|
37
|
-
(
|
|
38
|
-
const { title:
|
|
39
|
-
a({ title:
|
|
37
|
+
(x) => {
|
|
38
|
+
const { title: h, content: u, onConfirm: C } = x;
|
|
39
|
+
a({ title: h, content: u, onConfirm: C }), o.handleOpen();
|
|
40
40
|
},
|
|
41
41
|
[o]
|
|
42
42
|
),
|
|
@@ -49,7 +49,7 @@ const w = ({
|
|
|
49
49
|
};
|
|
50
50
|
return /* @__PURE__ */ n.jsxs(f.Provider, { value: c, children: [
|
|
51
51
|
/* @__PURE__ */ n.jsx(
|
|
52
|
-
|
|
52
|
+
k,
|
|
53
53
|
{
|
|
54
54
|
open: o.open,
|
|
55
55
|
title: t == null ? void 0 : t.title,
|
|
@@ -61,14 +61,14 @@ const w = ({
|
|
|
61
61
|
),
|
|
62
62
|
e
|
|
63
63
|
] });
|
|
64
|
-
},
|
|
64
|
+
}, R = () => {
|
|
65
65
|
const e = r.useContext(f);
|
|
66
66
|
if (!e)
|
|
67
67
|
throw new Error("useDialogConfirm must be used within a DialogConfirmProvider");
|
|
68
68
|
return e;
|
|
69
69
|
};
|
|
70
70
|
export {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
O as DialogConfirmProvider,
|
|
72
|
+
k as default,
|
|
73
|
+
R as useDialogConfirm
|
|
74
74
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default, DialogMessageProvider, useDialogMessage } from './
|
|
2
|
-
export type { DialogMessageOpenOptions, DialogMessageContextProps } from './
|
|
1
|
+
export { default, DialogMessageProvider, useDialogMessage } from './s-dialog-message';
|
|
2
|
+
export type { DialogMessageOpenOptions, DialogMessageContextProps } from './s-dialog-message';
|
package/dist/{AppDialogMessage/AppDialogMessage.d.ts → s-dialog-message/s-dialog-message.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Breakpoint } from '@mui/material';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
interface
|
|
3
|
+
interface SDialogMessageProps {
|
|
4
4
|
title?: string | React.ReactNode;
|
|
5
5
|
content?: string | React.ReactNode;
|
|
6
6
|
onClose?: () => void;
|
|
@@ -9,8 +9,8 @@ interface AppDialogMessageProps {
|
|
|
9
9
|
maxWidth?: Breakpoint;
|
|
10
10
|
showClose?: boolean;
|
|
11
11
|
}
|
|
12
|
-
declare const
|
|
13
|
-
export default
|
|
12
|
+
declare const SDialogMessage: ({ title, content, onClose, onOk, open, maxWidth, showClose, }: SDialogMessageProps) => React.JSX.Element;
|
|
13
|
+
export default SDialogMessage;
|
|
14
14
|
export interface DialogMessageOpenOptions {
|
|
15
15
|
title?: string;
|
|
16
16
|
content?: string;
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { j as e } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
2
|
import * as s from "react";
|
|
3
|
-
import { Dialog as
|
|
4
|
-
import { S as C } from "../X-
|
|
5
|
-
import D from "../
|
|
6
|
-
import
|
|
7
|
-
import { T as c } from "../Typography-
|
|
3
|
+
import { Dialog as p, DialogTitle as u, Stack as m, IconButton as g, DialogContent as j, DialogActions as f } from "@mui/material";
|
|
4
|
+
import { S as C } from "../X-B8GTZwii.js";
|
|
5
|
+
import { useDialog as D } from "../hooks/use-dialog.js";
|
|
6
|
+
import k from "../s-button/s-button.js";
|
|
7
|
+
import { T as c } from "../Typography-jSFidXje.js";
|
|
8
8
|
const v = ({
|
|
9
|
-
title:
|
|
9
|
+
title: n,
|
|
10
10
|
content: o,
|
|
11
|
-
onClose:
|
|
11
|
+
onClose: t = () => {
|
|
12
12
|
},
|
|
13
13
|
onOk: r = () => {
|
|
14
14
|
},
|
|
15
15
|
open: i = !1,
|
|
16
16
|
maxWidth: l = "sm",
|
|
17
17
|
showClose: a = !0
|
|
18
|
-
}) => /* @__PURE__ */ e.jsxs(
|
|
19
|
-
|
|
20
|
-
typeof
|
|
21
|
-
a && /* @__PURE__ */ e.jsx(g, { onClick:
|
|
18
|
+
}) => /* @__PURE__ */ e.jsxs(p, { fullWidth: !0, maxWidth: l, onClose: t, open: i, children: [
|
|
19
|
+
n && /* @__PURE__ */ e.jsx(u, { children: /* @__PURE__ */ e.jsxs(m, { direction: "row", spacing: 3, sx: { alignItems: "center", justifyContent: "space-between" }, children: [
|
|
20
|
+
typeof n == "string" ? /* @__PURE__ */ e.jsx(c, { variant: "h5", textTransform: "capitalize", children: n }) : /* @__PURE__ */ e.jsx("div", { children: n }),
|
|
21
|
+
a && /* @__PURE__ */ e.jsx(g, { onClick: t, children: /* @__PURE__ */ e.jsx(C, {}) })
|
|
22
22
|
] }) }),
|
|
23
23
|
o && /* @__PURE__ */ e.jsx(j, { children: typeof o == "string" ? /* @__PURE__ */ e.jsx(c, { color: "text.secondary", variant: "body2", children: o }) : o }),
|
|
24
|
-
/* @__PURE__ */ e.jsx(f, { children: /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsx(
|
|
25
|
-
] }), d = s.createContext(null), M = ({ children:
|
|
26
|
-
const o =
|
|
24
|
+
/* @__PURE__ */ e.jsx(f, { children: /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsx(k, { onClick: r, children: "Ok" }) }) })
|
|
25
|
+
] }), d = s.createContext(null), M = ({ children: n }) => {
|
|
26
|
+
const o = D(), [t, r] = s.useState({
|
|
27
27
|
title: "",
|
|
28
28
|
content: "",
|
|
29
29
|
onOk: o.handleClose
|
|
30
30
|
}), i = {
|
|
31
31
|
handleOpen: s.useCallback(
|
|
32
32
|
(l) => {
|
|
33
|
-
const { title: a, content:
|
|
34
|
-
r({ title: a, content:
|
|
33
|
+
const { title: a, content: h, onOk: x = o.handleClose } = l;
|
|
34
|
+
r({ title: a, content: h, onOk: x }), o.handleOpen();
|
|
35
35
|
},
|
|
36
36
|
[o]
|
|
37
37
|
),
|
|
@@ -43,19 +43,19 @@ const v = ({
|
|
|
43
43
|
v,
|
|
44
44
|
{
|
|
45
45
|
open: o.open,
|
|
46
|
-
title:
|
|
47
|
-
content:
|
|
46
|
+
title: t == null ? void 0 : t.title,
|
|
47
|
+
content: t == null ? void 0 : t.content,
|
|
48
48
|
onClose: o.handleClose,
|
|
49
|
-
onOk:
|
|
49
|
+
onOk: t == null ? void 0 : t.onOk
|
|
50
50
|
}
|
|
51
51
|
),
|
|
52
|
-
|
|
52
|
+
n
|
|
53
53
|
] });
|
|
54
54
|
}, P = () => {
|
|
55
|
-
const
|
|
56
|
-
if (!
|
|
55
|
+
const n = s.useContext(d);
|
|
56
|
+
if (!n)
|
|
57
57
|
throw new Error("useDialogMessage must be used within a DialogMessageProvider");
|
|
58
|
-
return
|
|
58
|
+
return n;
|
|
59
59
|
};
|
|
60
60
|
export {
|
|
61
61
|
M as DialogMessageProvider,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './s-empty';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as r } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
2
|
import { Typography as t } from "@mui/material";
|
|
3
|
-
const
|
|
3
|
+
const m = ({ title: o }) => /* @__PURE__ */ r.jsx(t, { variant: "body2", color: "text.secondary", my: 3, children: o || "No data available." });
|
|
4
4
|
export {
|
|
5
|
-
|
|
5
|
+
m as default
|
|
6
6
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './s-error';
|