@solostylist/ui-kit 1.0.8 → 1.0.10
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-MNdIcw0w.js → Box-DyPisl7H.js} +11 -11
- package/dist/{ButtonBase-D7WZejV5.js → ButtonBase-BFsNsbc9.js} +117 -120
- package/dist/{Menu-BymLGoMc.js → Menu-CzI0zcbw.js} +30 -30
- package/dist/{MenuItem-l3xZOND-.js → MenuItem-Bl45WcKS.js} +86 -90
- package/dist/{Stack-CxKx2YGj.js → Stack-DIkbVcfm.js} +16 -17
- package/dist/{Typography-QQx_YSAW.js → Typography-jSFidXje.js} +37 -42
- package/dist/{X-Cw1SQcRJ.js → X-B8GTZwii.js} +3 -3
- package/dist/backdropClasses-lc38rgzd.js +10 -0
- package/dist/buttonBaseClasses-DxKwiRBX.js +10 -0
- package/dist/createSvgIcon-B7_s-URK.js +247 -0
- package/dist/{createTheme-dX0MILsf.js → createTheme-BZxWCiBm.js} +9 -10
- package/dist/{extendSxProp-CTBBOYHX.js → extendSxProp-SCsFy5tr.js} +1 -1
- package/dist/generateUtilityClass-CRH_bFW6.js +34 -0
- package/dist/generateUtilityClasses-STjIp_B9.js +10 -0
- package/dist/iconButtonClasses-CqYTUZq-.js +10 -0
- package/dist/{clsx-DfguY6FT.js → identifier-CHPjnqaz.js} +50 -48
- package/dist/{index-f-gkJ93Q.js → index-DljiS4x1.js} +11 -10
- package/dist/{inputBaseClasses-s6dljKxi.js → inputBaseClasses-BRd7g4Od.js} +6 -5
- package/dist/{listItemIconClasses-CTdclC9V.js → listItemIconClasses-D-kc0Y9u.js} +1 -1
- package/dist/main.d.ts +45 -49
- package/dist/main.js +98 -106
- package/dist/memoTheme-CaOW5YiB.js +291 -0
- package/dist/menuItemClasses-BxqenSTj.js +12 -0
- package/dist/outlinedInputClasses-BTtPbpE5.js +14 -0
- package/dist/{paperClasses-Bf2rrWVr.js → paperClasses-D1WMlaxU.js} +6 -5
- 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 +7 -0
- package/dist/s-box/s-box.js +7 -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/{AppBreadcrumbsSeparator/AppBreadcrumbsSeparator.js → s-breadcrumbs-separator/s-breadcrumbs-separator.js} +1 -1
- 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} +50 -49
- 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} +27 -27
- 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} +3 -3
- 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 +6 -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} +300 -304
- 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} +11 -11
- package/dist/s-text-field/index.d.ts +1 -0
- package/dist/s-text-field/index.js +4 -0
- package/dist/{STextField/STextField.js → s-text-field/s-text-field.js} +1 -1
- 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.d.ts +12 -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/selectClasses-BaagNb21.js +10 -0
- package/dist/svgIconClasses-SzHbWjUv.js +10 -0
- package/dist/tabClasses-CDDkt7la.js +5 -0
- package/dist/tableCellClasses-CBw1aep0.js +10 -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/theme/components/tabs.js +21 -0
- 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/theme/customizations/data-display.d.ts +2 -0
- package/dist/theme/customizations/data-display.js +234 -0
- package/dist/theme/customizations/feedback.d.ts +2 -0
- package/dist/theme/customizations/feedback.js +47 -0
- package/dist/theme/customizations/inputs.d.ts +2 -0
- package/dist/theme/customizations/inputs.js +447 -0
- package/dist/theme/customizations/navigation.d.ts +2 -0
- package/dist/theme/customizations/navigation.js +276 -0
- package/dist/theme/customizations/surfaces.d.ts +2 -0
- package/dist/theme/customizations/surfaces.js +112 -0
- package/dist/theme/theme-primitives.d.ts +366 -0
- package/dist/theme/theme-primitives.js +351 -0
- package/dist/typographyClasses-BrhUWCU3.js +10 -0
- package/dist/useControlled-Bvu9pDu8.js +38 -0
- package/dist/{useSlot-Tj9CW-Xc.js → useSlot-CtsS_jy6.js} +2 -2
- package/dist/{useTheme-CNZ6Hnpo.js → useTheme-DrS6mww6.js} +3 -3
- package/package.json +2 -5
- 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/AppThemeProvider/AppThemeProvider.d.ts +0 -9
- package/dist/AppThemeProvider/AppThemeProvider.js +0 -141
- package/dist/AppThemeProvider/index.d.ts +0 -1
- package/dist/AppThemeProvider/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/AppTip/package.json +0 -5
- package/dist/DefaultPropsProvider-Cw67t9bx.js +0 -71
- 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/index.d.ts +0 -1
- package/dist/STextField/index.js +0 -4
- package/dist/STextField/package.json +0 -5
- package/dist/backdropClasses-DDhytLTQ.js +0 -9
- package/dist/generateUtilityClasses-CuEy5gtx.js +0 -41
- package/dist/memoTheme-DOlCkXD8.js +0 -223
- package/dist/outlinedInputClasses-rXE3T3sa.js +0 -13
- 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/components/tabs.js +0 -20
- 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/tableCellClasses-BIg5orIQ.js +0 -9
- package/dist/useControlled-DyL3m721.js +0 -287
- /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/{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/{STextField/STextField.d.ts → s-text-field/s-text-field.d.ts} +0 -0
- /package/dist/{AppTextEditor → s-text-truncation}/package.json +0 -0
- /package/dist/{AppTextTruncation → s-theme-provider}/package.json +0 -0
- /package/dist/{AppThemeProvider → 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
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const c = /* @__PURE__ */ e.createContext(void 0);
|
|
3
|
+
process.env.NODE_ENV !== "production" && (c.displayName = "FormControlContext");
|
|
4
|
+
function a() {
|
|
5
|
+
return e.useContext(c);
|
|
6
|
+
}
|
|
7
|
+
function h({
|
|
8
|
+
controlled: n,
|
|
9
|
+
default: r,
|
|
10
|
+
name: o,
|
|
11
|
+
state: s = "value"
|
|
12
|
+
}) {
|
|
13
|
+
const {
|
|
14
|
+
current: t
|
|
15
|
+
} = e.useRef(n !== void 0), [l, u] = e.useState(r), f = t ? n : l;
|
|
16
|
+
if (process.env.NODE_ENV !== "production") {
|
|
17
|
+
e.useEffect(() => {
|
|
18
|
+
t !== (n !== void 0) && console.error([`MUI: A component is changing the ${t ? "" : "un"}controlled ${s} state of ${o} to be ${t ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${o} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(`
|
|
19
|
+
`));
|
|
20
|
+
}, [s, o, n]);
|
|
21
|
+
const {
|
|
22
|
+
current: i
|
|
23
|
+
} = e.useRef(r);
|
|
24
|
+
e.useEffect(() => {
|
|
25
|
+
!t && !Object.is(i, r) && console.error([`MUI: A component is changing the default ${s} state of an uncontrolled ${o} after being initialized. To suppress this warning opt to use a controlled ${o}.`].join(`
|
|
26
|
+
`));
|
|
27
|
+
}, [JSON.stringify(r)]);
|
|
28
|
+
}
|
|
29
|
+
const d = e.useCallback((i) => {
|
|
30
|
+
t || u(i);
|
|
31
|
+
}, []);
|
|
32
|
+
return [f, d];
|
|
33
|
+
}
|
|
34
|
+
export {
|
|
35
|
+
c as F,
|
|
36
|
+
a,
|
|
37
|
+
h as u
|
|
38
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as v } from "./
|
|
2
|
-
import { u as j } from "./ButtonBase-
|
|
1
|
+
import { c as v } from "./identifier-CHPjnqaz.js";
|
|
2
|
+
import { u as j } from "./ButtonBase-BFsNsbc9.js";
|
|
3
3
|
function L(s, f) {
|
|
4
4
|
const c = s.charCodeAt(2);
|
|
5
5
|
return s[0] === "o" && s[1] === "n" && c >= 65 && c <= 90 && typeof f == "function";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { e as n } from "./createTheme-BZxWCiBm.js";
|
|
2
2
|
import * as o from "react";
|
|
3
3
|
import { ThemeContext as m } from "@emotion/react";
|
|
4
4
|
function r(e) {
|
|
@@ -9,9 +9,9 @@ function s(e = null) {
|
|
|
9
9
|
return !t || r(t) ? e : t;
|
|
10
10
|
}
|
|
11
11
|
const u = n();
|
|
12
|
-
function
|
|
12
|
+
function h(e = u) {
|
|
13
13
|
return s(e);
|
|
14
14
|
}
|
|
15
15
|
export {
|
|
16
|
-
|
|
16
|
+
h as u
|
|
17
17
|
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"registry": "https://registry.npmjs.org"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.10",
|
|
7
7
|
"description": "advanced ui kit for solostylist",
|
|
8
8
|
"private": false,
|
|
9
9
|
"type": "module",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
20
20
|
"lint:fix": "eslint --fix . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
21
21
|
"preview": "vite preview",
|
|
22
|
-
"app:publish": "npm run build
|
|
22
|
+
"app:publish": "npm run build && npm publish --access public",
|
|
23
23
|
"format:write": "prettier --write \"**/*.{js,jsx,mjs,ts,tsx,mdx}\" --cache",
|
|
24
24
|
"format:check": "prettier --check \"**/*.{js,jsx,mjs,ts,tsx,mdx}\" --cache",
|
|
25
25
|
"prepare": "husky"
|
|
@@ -48,9 +48,6 @@
|
|
|
48
48
|
"uuid": "^11.1.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@fontsource/inter": "^5.2.5",
|
|
52
|
-
"@fontsource/plus-jakarta-sans": "^5.2.5",
|
|
53
|
-
"@fontsource/roboto-mono": "^5.2.5",
|
|
54
51
|
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
|
|
55
52
|
"@types/node": "^22.15.3",
|
|
56
53
|
"@types/react": "^19.1.2",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { AutocompleteProps } from '@mui/material';
|
|
3
|
-
export interface AppAutocompleteProps<T, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined = undefined> extends Omit<AutocompleteProps<T | any, Multiple, DisableClearable, FreeSolo>, 'renderInput'> {
|
|
4
|
-
renderInput?: AutocompleteProps<T | string, Multiple, DisableClearable, FreeSolo>['renderInput'];
|
|
5
|
-
label?: string | React.ReactNode;
|
|
6
|
-
required?: boolean;
|
|
7
|
-
error?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const AppAutocomplete: React.ForwardRefExoticComponent<Omit<AppAutocompleteProps<unknown, boolean | undefined, boolean | undefined, boolean | undefined>, "ref"> & React.RefAttributes<unknown>>;
|
|
10
|
-
export default AppAutocomplete;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { j as r } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import { forwardRef as s } from "react";
|
|
3
|
-
import { Autocomplete as f, TextField as i } from "@mui/material";
|
|
4
|
-
import u from "../AppFormControl/AppFormControl.js";
|
|
5
|
-
const j = s(
|
|
6
|
-
({ label: t = "", required: o = !1, error: e, ...p }, m) => /* @__PURE__ */ r.jsx(u, { error: e, label: t, required: o, children: /* @__PURE__ */ r.jsx(
|
|
7
|
-
f,
|
|
8
|
-
{
|
|
9
|
-
disablePortal: !0,
|
|
10
|
-
fullWidth: !0,
|
|
11
|
-
renderInput: (l) => /* @__PURE__ */ r.jsx(i, { ...l }),
|
|
12
|
-
...p,
|
|
13
|
-
ref: m
|
|
14
|
-
}
|
|
15
|
-
) })
|
|
16
|
-
);
|
|
17
|
-
export {
|
|
18
|
-
j as default
|
|
19
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AppAutocomplete';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { AvatarProps } from '@mui/material';
|
|
3
|
-
interface AppAvatarProps extends AvatarProps {
|
|
4
|
-
icon?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const AppAvatar: ({ icon, ...props }: AppAvatarProps) => React.JSX.Element;
|
|
7
|
-
export default AppAvatar;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { j as r } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import { Avatar as s } from "@mui/material";
|
|
3
|
-
import m from "../AppIcons/AppIcons.js";
|
|
4
|
-
const x = ({ icon: t = "", ...o }) => {
|
|
5
|
-
if (t) {
|
|
6
|
-
const a = m[t];
|
|
7
|
-
return /* @__PURE__ */ r.jsx(s, { ...o, children: /* @__PURE__ */ r.jsx(a, {}) });
|
|
8
|
-
}
|
|
9
|
-
return /* @__PURE__ */ r.jsx(s, { ...o });
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
x as default
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AppAvatar';
|
package/dist/AppAvatar/index.js
DELETED
package/dist/AppBox/AppBox.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { BoxProps } from '@mui/material';
|
|
3
|
-
type AnyType = any;
|
|
4
|
-
interface AppBoxProps extends BoxProps, AnyType {
|
|
5
|
-
}
|
|
6
|
-
declare const AppBox: React.ForwardRefExoticComponent<Omit<AppBoxProps, "ref"> & React.RefAttributes<unknown>>;
|
|
7
|
-
export default AppBox;
|
package/dist/AppBox/AppBox.js
DELETED
package/dist/AppBox/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AppBox';
|
package/dist/AppBox/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AppBreadcrumbsSeparator';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ButtonProps } from '@mui/material';
|
|
3
|
-
interface AppButtonProps extends Omit<ButtonProps, 'error'> {
|
|
4
|
-
useSystemVariant?: boolean;
|
|
5
|
-
systemVariant?: 'edit';
|
|
6
|
-
sxProps?: React.CSSProperties;
|
|
7
|
-
}
|
|
8
|
-
declare const AppButton: React.ForwardRefExoticComponent<Omit<AppButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
9
|
-
export default AppButton;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { j as d } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import s from "react";
|
|
3
|
-
import { Button as n } from "@mui/material";
|
|
4
|
-
const m = s.forwardRef(
|
|
5
|
-
({ useSystemVariant: e, systemVariant: i, variant: r = "contained", sxProps: a, ...o }, t) => {
|
|
6
|
-
if (e)
|
|
7
|
-
switch (i) {
|
|
8
|
-
case "edit":
|
|
9
|
-
return /* @__PURE__ */ d.jsx(
|
|
10
|
-
n,
|
|
11
|
-
{
|
|
12
|
-
variant: "outlined",
|
|
13
|
-
sx: {
|
|
14
|
-
minWidth: "100px",
|
|
15
|
-
borderColor: "transparent",
|
|
16
|
-
backgroundColor: "#dcdddd",
|
|
17
|
-
color: "#000",
|
|
18
|
-
"&:hover": {
|
|
19
|
-
borderColor: "transparent",
|
|
20
|
-
backgroundColor: "#dcdddd",
|
|
21
|
-
filter: "brightness(0.95)"
|
|
22
|
-
},
|
|
23
|
-
...a
|
|
24
|
-
},
|
|
25
|
-
...o,
|
|
26
|
-
ref: t
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
}
|
|
30
|
-
return /* @__PURE__ */ d.jsx(
|
|
31
|
-
n,
|
|
32
|
-
{
|
|
33
|
-
color: r === "outlined" ? "secondary" : "primary",
|
|
34
|
-
variant: r,
|
|
35
|
-
sx: { minWidth: "100px" },
|
|
36
|
-
...o,
|
|
37
|
-
ref: t
|
|
38
|
-
}
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
);
|
|
42
|
-
export {
|
|
43
|
-
m as default
|
|
44
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AppButton';
|
package/dist/AppButton/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AppButtonLink';
|
package/dist/AppCard/AppCard.js
DELETED
package/dist/AppCard/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AppCard';
|
package/dist/AppCard/index.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { CardActionsProps } from '@mui/material';
|
|
3
|
-
interface AppCardActionsProps extends CardActionsProps {
|
|
4
|
-
}
|
|
5
|
-
declare const AppCardActions: ({ children, ...props }: AppCardActionsProps) => React.JSX.Element;
|
|
6
|
-
export default AppCardActions;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AppCardActions';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { CardContentProps } from '@mui/material';
|
|
3
|
-
interface AppCardContentProps extends CardContentProps {
|
|
4
|
-
}
|
|
5
|
-
declare const AppCardContent: ({ children, ...props }: AppCardContentProps) => React.JSX.Element;
|
|
6
|
-
export default AppCardContent;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AppCardContent';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { CardProps } from '@mui/material';
|
|
3
|
-
interface AppCardHeaderProps extends Omit<CardProps, 'title'> {
|
|
4
|
-
avatar?: React.ReactNode;
|
|
5
|
-
subheader?: React.ReactNode;
|
|
6
|
-
title?: React.ReactNode | string;
|
|
7
|
-
action?: React.ReactNode;
|
|
8
|
-
}
|
|
9
|
-
declare const AppCardHeader: ({ children, avatar, subheader, title, action, ...props }: AppCardHeaderProps) => React.JSX.Element;
|
|
10
|
-
export default AppCardHeader;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { j as s } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import { CardHeader as d } from "@mui/material";
|
|
3
|
-
const f = ({
|
|
4
|
-
children: r,
|
|
5
|
-
avatar: e,
|
|
6
|
-
subheader: t,
|
|
7
|
-
title: a,
|
|
8
|
-
action: o,
|
|
9
|
-
...p
|
|
10
|
-
}) => /* @__PURE__ */ s.jsx(d, { avatar: e, subheader: t, title: a, action: o, ...p, children: r });
|
|
11
|
-
export {
|
|
12
|
-
f as default
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AppCardHeader';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { CheckboxProps } from '@mui/material';
|
|
3
|
-
interface AppCheckboxProps extends Omit<CheckboxProps, 'content'> {
|
|
4
|
-
content?: string | React.ReactNode;
|
|
5
|
-
}
|
|
6
|
-
declare const AppCheckbox: React.ForwardRefExoticComponent<Omit<AppCheckboxProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
export default AppCheckbox;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AppCheckbox';
|
package/dist/AppChip/AppChip.js
DELETED
package/dist/AppChip/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AppChip';
|
package/dist/AppChip/index.js
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { j as s } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import { useRef as g, useState as m, useEffect as E } from "react";
|
|
3
|
-
import { Box as r, Tooltip as R } from "@mui/material";
|
|
4
|
-
import c from "../AppChip/AppChip.js";
|
|
5
|
-
const L = ({ chips: n, overflow: l = !0, onClick: o }) => {
|
|
6
|
-
const h = g(null), [w, b] = m([]), [C, y] = m([]), [u, j] = m(0), p = () => {
|
|
7
|
-
var x;
|
|
8
|
-
const t = ((x = h.current) == null ? void 0 : x.offsetWidth) || 0;
|
|
9
|
-
let e = 0, i = 0;
|
|
10
|
-
for (let d = 0; d < n.length; d++) {
|
|
11
|
-
const f = a(n[d]);
|
|
12
|
-
if (e + f <= t)
|
|
13
|
-
e += f, i++;
|
|
14
|
-
else
|
|
15
|
-
break;
|
|
16
|
-
}
|
|
17
|
-
const v = a(`+${n.length - i} keywords`);
|
|
18
|
-
for (; e + v > t && i > 0; )
|
|
19
|
-
i--, e -= a(n[i]);
|
|
20
|
-
b(n.slice(0, i)), y(n.slice(i)), j(n.length - i);
|
|
21
|
-
}, a = (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 E(() => (p(), window.addEventListener("resize", p), () => {
|
|
28
|
-
window.removeEventListener("resize", p);
|
|
29
|
-
}), [n]), /* @__PURE__ */ s.jsxs(r, { ref: h, display: "flex", maxWidth: "100%", ...W, children: [
|
|
30
|
-
(l ? w : n).map((t) => /* @__PURE__ */ s.jsx(
|
|
31
|
-
r,
|
|
32
|
-
{
|
|
33
|
-
component: "span",
|
|
34
|
-
textTransform: "lowercase",
|
|
35
|
-
onClick: () => {
|
|
36
|
-
o == null || o(t);
|
|
37
|
-
},
|
|
38
|
-
children: /* @__PURE__ */ s.jsx(
|
|
39
|
-
c,
|
|
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__ */ s.jsx(
|
|
54
|
-
R,
|
|
55
|
-
{
|
|
56
|
-
componentsProps: { tooltip: { style: { padding: "0.5rem" } } },
|
|
57
|
-
title: /* @__PURE__ */ s.jsx(r, { display: "flex", gap: 1, maxWidth: "240px", flexWrap: "wrap", children: C.map((t) => /* @__PURE__ */ s.jsx(c, { label: t.trim() }, t)) }),
|
|
58
|
-
children: /* @__PURE__ */ s.jsx(r, { component: "span", textTransform: "lowercase", children: /* @__PURE__ */ s.jsx(
|
|
59
|
-
c,
|
|
60
|
-
{
|
|
61
|
-
label: `+${u} keywords`,
|
|
62
|
-
variant: "outlined",
|
|
63
|
-
sx: { mr: 1, mb: 1, userSelect: "none", cursor: "pointer" }
|
|
64
|
-
}
|
|
65
|
-
) })
|
|
66
|
-
}
|
|
67
|
-
)
|
|
68
|
-
] });
|
|
69
|
-
};
|
|
70
|
-
export {
|
|
71
|
-
L as default
|
|
72
|
-
};
|
package/dist/AppChips/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AppChips';
|
package/dist/AppChips/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AppDialog';
|
package/dist/AppDialog/index.js
DELETED
package/dist/AppEmpty/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AppEmpty';
|
package/dist/AppEmpty/index.js
DELETED
package/dist/AppError/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AppError';
|
package/dist/AppError/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AppFileIcon';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
interface AppFormControlProps {
|
|
2
|
-
label: string | React.ReactNode;
|
|
3
|
-
error?: string;
|
|
4
|
-
required: boolean;
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
declare const AppFormControl: ({ label, error, required, children }: AppFormControlProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default AppFormControl;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { j as r } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import { FormControl as e, InputLabel as s, FormHelperText as m } from "@mui/material";
|
|
3
|
-
const i = ({ label: t, error: o, required: l, children: n }) => /* @__PURE__ */ r.jsxs(e, { error: !!o, fullWidth: !0, children: [
|
|
4
|
-
t ? /* @__PURE__ */ r.jsx(s, { required: l, children: t }) : null,
|
|
5
|
-
n,
|
|
6
|
-
o ? /* @__PURE__ */ r.jsx(m, { children: o }) : null
|
|
7
|
-
] });
|
|
8
|
-
export {
|
|
9
|
-
i as default
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AppFormControl';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ReactImageGalleryProps } from 'react-image-gallery';
|
|
3
|
-
interface AppGalleryProps extends ReactImageGalleryProps {
|
|
4
|
-
}
|
|
5
|
-
declare const AppGallery: ({ ...props }: AppGalleryProps) => React.JSX.Element;
|
|
6
|
-
export default AppGallery;
|