@solostylist/ui-kit 1.0.201 → 1.0.203
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/s-accordion/s-accordion.d.ts +0 -5
- package/dist/s-action-overlay/s-action-overlay.d.ts +0 -4
- package/dist/s-autocomplete/s-autocomplete.d.ts +0 -5
- package/dist/s-avatar/s-avatar.d.ts +0 -4
- package/dist/s-blur-text/s-blur-text.d.ts +0 -3
- package/dist/s-breadcrumbs/s-breadcrumbs.d.ts +0 -3
- package/dist/s-button/s-button.d.ts +0 -3
- package/dist/s-carousel/s-carousel.d.ts +0 -3
- package/dist/s-carousel/s-carousel.js +6 -4
- package/dist/s-category-card/s-category-card.d.ts +0 -3
- package/dist/s-chat-input/s-chat-input.d.ts +0 -3
- package/dist/s-chat-message/s-chat-message.d.ts +0 -3
- package/dist/s-checkbox/s-checkbox.d.ts +0 -3
- package/dist/s-chip/s-chip.d.ts +0 -3
- package/dist/s-chips/s-chips.d.ts +0 -1
- package/dist/s-code-block/s-code-block.d.ts +0 -3
- package/dist/s-comment-message/s-comment-message.d.ts +0 -3
- package/dist/s-copyable-text/s-copyable-text.d.ts +0 -3
- package/dist/s-countdown/s-count-box.d.ts +0 -3
- package/dist/s-countdown/s-count-down.d.ts +0 -3
- package/dist/s-data-table/s-data-table.d.ts +0 -3
- package/dist/s-date-picker/s-date-picker.d.ts +0 -3
- package/dist/s-date-picker/s-date-picker.js +14 -10
- package/dist/s-datetime-picker/s-datetime-picker.d.ts +0 -3
- package/dist/s-datetime-picker/s-datetime-picker.js +102 -98
- package/dist/s-dialog/s-dialog.d.ts +0 -3
- package/dist/s-dialog-confirm/s-dialog-confirm.d.ts +0 -11
- package/dist/s-dialog-message/s-dialog-message.d.ts +0 -9
- package/dist/s-empty/s-empty.d.ts +0 -1
- package/dist/s-error/s-error.d.ts +0 -1
- package/dist/s-error-layout/s-error-layout.d.ts +0 -1
- package/dist/s-file-dropzone/s-file-dropzone.d.ts +0 -1
- package/dist/s-file-icon/s-file-icon.d.ts +0 -1
- package/dist/s-flex-box/s-flex-box.d.ts +0 -3
- package/dist/s-form/s-form.d.ts +0 -1
- package/dist/s-gallery/s-gallery.d.ts +0 -19
- package/dist/s-gradient-icon/s-gradient-icon.d.ts +0 -1
- package/dist/s-i18n-provider/s-i18n-provider.d.ts +0 -1
- package/dist/s-icon-button/s-icon-button.d.ts +0 -3
- package/dist/s-image-comparison/s-image-comparison.js +26 -25
- package/dist/s-image-modal/s-image-modal.d.ts +0 -4
- package/dist/s-item-not-found/s-item-not-found.d.ts +0 -3
- package/dist/s-label/s-label.d.ts +0 -3
- package/dist/s-language-switcher/s-language-switcher.d.ts +0 -3
- package/dist/s-link/s-link.d.ts +0 -3
- package/dist/s-localization-provider/s-localization-provider.d.ts +0 -1
- package/dist/s-moving-border/s-moving-border.d.ts +0 -3
- package/dist/s-multi-select/s-multi-select.d.ts +0 -1
- package/dist/s-no-ssr/s-no-ssr.d.ts +0 -1
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.d.ts +0 -3
- package/dist/s-pagination/s-pagination.d.ts +0 -3
- package/dist/s-pixel-reveal/s-pixel-reveal.d.ts +0 -3
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.d.ts +0 -3
- package/dist/s-rating/s-rating.d.ts +0 -3
- package/dist/s-review/s-review.d.ts +0 -3
- package/dist/s-scroll-reveal/s-scroll-reveal.d.ts +0 -3
- package/dist/s-scroll-to-top/s-scroll-to-top.d.ts +0 -3
- package/dist/s-scroll-velocity/s-scroll-velocity.d.ts +0 -6
- package/dist/s-scroll-velocity/scroll-velocity-container.d.ts +0 -7
- package/dist/s-scroll-velocity/scroll-velocity-row.d.ts +0 -4
- package/dist/s-select/s-select.d.ts +0 -3
- package/dist/s-select-list/s-select-list.d.ts +0 -3
- package/dist/s-skeleton/s-skeleton.d.ts +0 -3
- package/dist/s-snackbar-message/s-snackbar-message.d.ts +0 -6
- package/dist/s-spotlight-cursor/s-spotlight-cursor.d.ts +0 -3
- package/dist/s-stripe/s-stripe-cvc.d.ts +0 -1
- package/dist/s-stripe/s-stripe-expiry.d.ts +0 -1
- package/dist/s-stripe/s-stripe-number.d.ts +0 -1
- package/dist/s-stripe/s-stripe.d.ts +0 -1
- package/dist/s-switch/s-switch.d.ts +0 -4
- package/dist/s-tabs/s-tab-panel.d.ts +0 -3
- package/dist/s-tabs/s-tabs.d.ts +0 -3
- package/dist/s-text-editor/s-text-editor-toolbar.d.ts +0 -29
- package/dist/s-text-editor/s-text-editor.d.ts +0 -3
- package/dist/s-text-field/s-text-field.d.ts +0 -3
- package/dist/s-text-shimmer/s-text-shimmer.d.ts +0 -3
- package/dist/s-text-truncation/s-text-truncation.d.ts +0 -4
- package/dist/s-theme-provider/s-theme-provider.d.ts +0 -1
- package/dist/s-tip/s-tip.d.ts +0 -3
- package/dist/s-tool-bar/s-tool-bar.d.ts +0 -4
- package/dist/s-two-pane-layout/s-two-pane-layout.d.ts +0 -3
- package/dist/s-typewriter-text/s-typewriter-text.d.ts +0 -3
- package/dist/s-zoom-image/s-zoom-image.d.ts +0 -3
- package/package.json +1 -1
|
@@ -18,11 +18,6 @@ export interface SAccordionProps extends Omit<AccordionProps, 'title'> {
|
|
|
18
18
|
/** Props to pass to the AccordionDetails component for customization */
|
|
19
19
|
accordionDetailsProps?: AccordionDetailsProps;
|
|
20
20
|
}
|
|
21
|
-
/**
|
|
22
|
-
* A collapsible accordion component built on Material-UI Accordion with custom theming,
|
|
23
|
-
* optional icons, and smooth expand/collapse animations. Perfect for organizing content
|
|
24
|
-
* sections and FAQs.
|
|
25
|
-
*/
|
|
26
21
|
export declare const SAccordion: {
|
|
27
22
|
({ title, children, startIcon, titleTypographyProps, accordionSummaryProps, accordionDetailsProps, ...rest }: SAccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
28
23
|
displayName: string;
|
|
@@ -51,10 +51,6 @@ export interface SActionOverlayProps {
|
|
|
51
51
|
/** Callback when overlay visibility changes */
|
|
52
52
|
onVisibilityChange?: (visible: boolean) => void;
|
|
53
53
|
}
|
|
54
|
-
/**
|
|
55
|
-
* A flexible overlay component that displays action buttons on top of content.
|
|
56
|
-
* Supports hover-based or controlled visibility, multiple positioning options, and customizable backdrop effects.
|
|
57
|
-
*/
|
|
58
54
|
export declare const SActionOverlay: {
|
|
59
55
|
({ actions, maxWidth, columns, children, showOnHover, visible: controlledVisible, position, backdropColor, backdropOpacity, blurAmount, borderRadius, overlaySx, onVisibilityChange, }: SActionOverlayProps): import("react/jsx-runtime").JSX.Element;
|
|
60
56
|
displayName: string;
|
|
@@ -31,10 +31,5 @@ export interface SAutocompleteComponent {
|
|
|
31
31
|
}): React.JSX.Element;
|
|
32
32
|
displayName?: string;
|
|
33
33
|
}
|
|
34
|
-
/**
|
|
35
|
-
* A standardized autocomplete/combobox component that wraps Material-UI Autocomplete
|
|
36
|
-
* with consistent form labeling, validation, and help text patterns. Maintains full
|
|
37
|
-
* Material-UI API compatibility while providing enhanced form integration.
|
|
38
|
-
*/
|
|
39
34
|
export declare const SAutocomplete: SAutocompleteComponent;
|
|
40
35
|
export default SAutocomplete;
|
|
@@ -14,10 +14,6 @@ export interface SAvatarProps {
|
|
|
14
14
|
/** Additional props to pass to the underlying Material-UI Avatar component */
|
|
15
15
|
avatarProps?: AvatarProps;
|
|
16
16
|
}
|
|
17
|
-
/**
|
|
18
|
-
* A flexible avatar component that displays user profile images with fallback to initials.
|
|
19
|
-
* Built on Material-UI Avatar with optional name display and customizable sizing.
|
|
20
|
-
*/
|
|
21
17
|
export declare const SAvatar: {
|
|
22
18
|
({ avatar, name, showName, size, avatarProps }: SAvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
23
19
|
displayName: string;
|
|
@@ -27,8 +27,5 @@ export interface SBlurTextProps extends Omit<TypographyProps, 'children'> {
|
|
|
27
27
|
/** Duration of each animation step in seconds */
|
|
28
28
|
stepDuration?: number;
|
|
29
29
|
}
|
|
30
|
-
/**
|
|
31
|
-
* A Typography component that animates text with a blur effect when it comes into view.
|
|
32
|
-
*/
|
|
33
30
|
export declare const SBlurText: React.FC<SBlurTextProps>;
|
|
34
31
|
export default SBlurText;
|
|
@@ -30,8 +30,5 @@ export interface SBreadcrumbsProps extends Omit<BreadcrumbsProps, 'children'> {
|
|
|
30
30
|
/** System prop for custom styling */
|
|
31
31
|
sx?: SxProps<Theme>;
|
|
32
32
|
}
|
|
33
|
-
/**
|
|
34
|
-
* A breadcrumb navigation component for displaying hierarchical navigation paths.
|
|
35
|
-
*/
|
|
36
33
|
export declare const SBreadcrumbs: React.ForwardRefExoticComponent<Omit<SBreadcrumbsProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
37
34
|
export default SBreadcrumbs;
|
|
@@ -4,8 +4,5 @@ import { ButtonProps } from '@mui/material';
|
|
|
4
4
|
* Props interface for SButton component
|
|
5
5
|
*/
|
|
6
6
|
export type SButtonProps = ButtonProps;
|
|
7
|
-
/**
|
|
8
|
-
* A versatile button component built on Material-UI Button with consistent theming and accessibility features.
|
|
9
|
-
*/
|
|
10
7
|
export declare const SButton: React.ForwardRefExoticComponent<Omit<SButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
11
8
|
export default SButton;
|
|
@@ -14,8 +14,5 @@ export interface SCarouselProps extends PropsWithChildren, Settings {
|
|
|
14
14
|
/** Custom styles for the arrow buttons */
|
|
15
15
|
readonly arrowStyles?: SxProps<Theme>;
|
|
16
16
|
}
|
|
17
|
-
/**
|
|
18
|
-
* A carousel component built on react-slick with smooth sliding functionality and customizable navigation.
|
|
19
|
-
*/
|
|
20
17
|
export declare const SCarousel: import('react').ForwardRefExoticComponent<SCarouselProps & import('react').RefAttributes<Slider>>;
|
|
21
18
|
export default SCarousel;
|
|
@@ -2406,10 +2406,11 @@ function Xt({ onClick: i, sx: c, className: h }) {
|
|
|
2406
2406
|
className: `next ${O}`,
|
|
2407
2407
|
sx: {
|
|
2408
2408
|
backdropFilter: "blur(8px)",
|
|
2409
|
-
backgroundColor: "
|
|
2409
|
+
backgroundColor: "rgba(255,255,255,0.3)",
|
|
2410
|
+
boxShadow: "0px 0px 0px 1px rgba(0,0,0,0.1)",
|
|
2410
2411
|
color: "text.primary",
|
|
2411
2412
|
"&:hover": {
|
|
2412
|
-
backgroundColor: "
|
|
2413
|
+
backgroundColor: "rgba(255,255,255,0.4)"
|
|
2413
2414
|
},
|
|
2414
2415
|
...c
|
|
2415
2416
|
},
|
|
@@ -2426,10 +2427,11 @@ function Gt({ onClick: i, sx: c, className: h }) {
|
|
|
2426
2427
|
className: `prev ${O}`,
|
|
2427
2428
|
sx: {
|
|
2428
2429
|
backdropFilter: "blur(8px)",
|
|
2429
|
-
backgroundColor: "
|
|
2430
|
+
backgroundColor: "rgba(255,255,255,0.3)",
|
|
2431
|
+
boxShadow: "0px 0px 0px 1px rgba(0,0,0,0.1)",
|
|
2430
2432
|
color: "text.primary",
|
|
2431
2433
|
"&:hover": {
|
|
2432
|
-
backgroundColor: "
|
|
2434
|
+
backgroundColor: "rgba(255,255,255,0.4)"
|
|
2433
2435
|
},
|
|
2434
2436
|
...c
|
|
2435
2437
|
},
|
|
@@ -49,9 +49,6 @@ export interface SCategoryCardProps {
|
|
|
49
49
|
/** System prop for custom styling of the image */
|
|
50
50
|
imageSx?: SxProps<Theme>;
|
|
51
51
|
}
|
|
52
|
-
/**
|
|
53
|
-
* A stylish category card component that displays an image with an overlaid title.
|
|
54
|
-
*/
|
|
55
52
|
export declare const SCategoryCard: {
|
|
56
53
|
({ image, title, width, height, alt, titlePosition, titleAlignment, titleVariant, titleColor, titleBackgroundColor, titleOpacity, borderRadius, disableHoverEffect, hoverScale, onClick, sx, titleSx, imageSx, }: SCategoryCardProps): import("react/jsx-runtime").JSX.Element;
|
|
57
54
|
displayName: string;
|
|
@@ -19,8 +19,5 @@ export interface SChatInputProps extends Omit<STextFieldProps, 'onSubmit'> {
|
|
|
19
19
|
/** Hide the file attachment button */
|
|
20
20
|
hideFileAttachment?: boolean;
|
|
21
21
|
}
|
|
22
|
-
/**
|
|
23
|
-
* A chat input component with file attachment support, emoji picker, and multiline text input.
|
|
24
|
-
*/
|
|
25
22
|
export declare const SChatInput: React.ForwardRefExoticComponent<Omit<SChatInputProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
26
23
|
export default SChatInput;
|
|
@@ -44,8 +44,5 @@ export interface SChatMessageProps extends Omit<BoxProps, 'children'> {
|
|
|
44
44
|
/** Whether to show skeleton loading state instead of content */
|
|
45
45
|
loading?: boolean;
|
|
46
46
|
}
|
|
47
|
-
/**
|
|
48
|
-
* A comprehensive chat message component for conversation interfaces with support for text, images, and file attachments.
|
|
49
|
-
*/
|
|
50
47
|
export declare const SChatMessage: React.FC<SChatMessageProps>;
|
|
51
48
|
export default SChatMessage;
|
|
@@ -8,8 +8,5 @@ export interface SCheckboxProps extends Omit<CheckboxProps, 'content'> {
|
|
|
8
8
|
/** Content displayed as a clickable label next to the checkbox */
|
|
9
9
|
content?: string | React.ReactNode;
|
|
10
10
|
}
|
|
11
|
-
/**
|
|
12
|
-
* A checkbox component with integrated label support and proper accessibility.
|
|
13
|
-
*/
|
|
14
11
|
export declare const SCheckbox: React.ForwardRefExoticComponent<Omit<SCheckboxProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
15
12
|
export default SCheckbox;
|
package/dist/s-chip/s-chip.d.ts
CHANGED
|
@@ -4,8 +4,5 @@ import { ChipProps } from '@mui/material';
|
|
|
4
4
|
* Props interface for SChip component
|
|
5
5
|
*/
|
|
6
6
|
export type SChipProps = ChipProps;
|
|
7
|
-
/**
|
|
8
|
-
* A versatile chip component for displaying compact elements like tags, filters, or user selections.
|
|
9
|
-
*/
|
|
10
7
|
export declare const SChip: React.ForwardRefExoticComponent<Omit<SChipProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
8
|
export default SChip;
|
|
@@ -12,7 +12,6 @@ export interface SChipsProps {
|
|
|
12
12
|
/** Text used in overflow chip (default: 'keywords') */
|
|
13
13
|
overflowText?: string;
|
|
14
14
|
}
|
|
15
|
-
/** A smart chip display component that handles overflow with intelligent truncation. */
|
|
16
15
|
export declare const SChips: {
|
|
17
16
|
({ chips, overflow, onClick, overflowText, }: SChipsProps): React.JSX.Element;
|
|
18
17
|
displayName: string;
|
|
@@ -26,9 +26,6 @@ export interface SCodeBlockProps {
|
|
|
26
26
|
/** Callback function triggered after code is successfully copied */
|
|
27
27
|
onCopied?: () => void;
|
|
28
28
|
}
|
|
29
|
-
/**
|
|
30
|
-
* A code block component with syntax highlighting and built-in copy-to-clipboard functionality.
|
|
31
|
-
*/
|
|
32
29
|
export declare const SCodeBlock: {
|
|
33
30
|
({ code, language, showLineNumbers, showCopyButton, customStyle, onCopied, }: SCodeBlockProps): import("react/jsx-runtime").JSX.Element | null;
|
|
34
31
|
displayName: string;
|
|
@@ -43,8 +43,5 @@ export interface SCommentMessageProps {
|
|
|
43
43
|
/** Material-UI sx prop for custom styling */
|
|
44
44
|
sx?: SxProps;
|
|
45
45
|
}
|
|
46
|
-
/**
|
|
47
|
-
* A comprehensive comment message component with avatar display, user information, relative timestamps, like functionality, and nested reply support.
|
|
48
|
-
*/
|
|
49
46
|
export declare const SCommentMessage: React.FC<SCommentMessageProps>;
|
|
50
47
|
export default SCommentMessage;
|
|
@@ -12,9 +12,6 @@ export interface SCopyableTextProps {
|
|
|
12
12
|
/** Props to pass to the Paper component container */
|
|
13
13
|
paperProps?: PaperProps;
|
|
14
14
|
}
|
|
15
|
-
/**
|
|
16
|
-
* A text display component with built-in copy-to-clipboard functionality and visual feedback.
|
|
17
|
-
*/
|
|
18
15
|
export declare const SCopyableText: {
|
|
19
16
|
({ text, typographyProps, onCopied, paperProps }: SCopyableTextProps): import("react/jsx-runtime").JSX.Element | null;
|
|
20
17
|
displayName: string;
|
|
@@ -29,9 +29,6 @@ export interface SCountBoxProps {
|
|
|
29
29
|
/** Whether this count box is hidden */
|
|
30
30
|
hidden?: boolean;
|
|
31
31
|
}
|
|
32
|
-
/**
|
|
33
|
-
* An individual count box component that displays a single time unit with optional animations.
|
|
34
|
-
*/
|
|
35
32
|
export declare const SCountBox: {
|
|
36
33
|
({ digit, title, size, color, animation, sx, digitSx, titleSx, showSeparator, separator, digitFormat, hidden, }: SCountBoxProps): import("react/jsx-runtime").JSX.Element | null;
|
|
37
34
|
displayName: string;
|
|
@@ -69,9 +69,6 @@ export interface SCountDownProps {
|
|
|
69
69
|
xl?: SCountDownSize;
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
|
-
/**
|
|
73
|
-
* A comprehensive countdown timer component with extensive customization options, animations, and accessibility features.
|
|
74
|
-
*/
|
|
75
72
|
export declare const SCountdown: {
|
|
76
73
|
({ expireDate, size, color, layout, animation, showSeparators, separator, units, labels, digitFormat, onComplete, onTick, onStart, completedText, autoHideZeroUnits, sx, "aria-label": ariaLabel, paused, responsive, }: SCountDownProps): import("react/jsx-runtime").JSX.Element;
|
|
77
74
|
displayName: string;
|
|
@@ -48,9 +48,6 @@ export interface SDataTableProps<TRowModel> extends Omit<TableProps, 'onClick'>
|
|
|
48
48
|
/** Function to extract unique ID from row data */
|
|
49
49
|
uniqueRowId?: (row: TRowModel) => RowId;
|
|
50
50
|
}
|
|
51
|
-
/**
|
|
52
|
-
* An advanced data table component with row selection, custom column formatting, and empty state handling.
|
|
53
|
-
*/
|
|
54
51
|
export declare const SDataTable: {
|
|
55
52
|
<TRowModel extends object & {
|
|
56
53
|
id?: RowId | null;
|
|
@@ -15,9 +15,6 @@ export interface SDatePickerProps extends DatePickerProps {
|
|
|
15
15
|
/** Help text shown in tooltip next to the label */
|
|
16
16
|
hint?: string;
|
|
17
17
|
}
|
|
18
|
-
/**
|
|
19
|
-
* A standardized date picker component that wraps Material-UI X DatePicker with consistent form labeling.
|
|
20
|
-
*/
|
|
21
18
|
export declare const SDatePicker: {
|
|
22
19
|
({ label, required, error, htmlFor, hint, ...props }: SDatePickerProps): React.JSX.Element;
|
|
23
20
|
displayName: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { j as c } from "../jsx-runtime-tc70JA_2.js";
|
|
2
2
|
import { useTheme as I, TextField as z } from "@mui/material";
|
|
3
3
|
import { SForm as L } from "../s-form/s-form.js";
|
|
4
|
-
import { _ as
|
|
4
|
+
import { _ as D, a as s } from "../objectWithoutPropertiesLoose-DiWPeE4c.js";
|
|
5
5
|
import * as f from "react";
|
|
6
6
|
import { P as e } from "../createTheme-DgoJyWM-.js";
|
|
7
|
-
import { g as U, a as Y, u as O, b as q, c as
|
|
7
|
+
import { g as U, a as Y, u as O, b as q, c as B, d as Q, r as T, e as H, P as $, f as K, h as Z, i as G, j as J, k as X, l as ee, m as oe, C as te, n as m, o as p, p as M, q as F, s as se, v as R, t as N, w as ae, D as ne, x as re } from "../useMobilePicker-B-bNHHXB.js";
|
|
8
8
|
import { u as y } from "../warning-Ba-7BBAN.js";
|
|
9
9
|
import { c as le } from "../clsx-OuTLNxxd.js";
|
|
10
10
|
import { s as C } from "../styled-8Y5KoVix.js";
|
|
@@ -40,19 +40,19 @@ const de = ["toolbarFormat", "toolbarPlaceholder", "className", "classes"], ue =
|
|
|
40
40
|
toolbarPlaceholder: r = "––",
|
|
41
41
|
className: i,
|
|
42
42
|
classes: d
|
|
43
|
-
} = n, u =
|
|
44
|
-
value:
|
|
43
|
+
} = n, u = D(n, de), b = O(), {
|
|
44
|
+
value: P,
|
|
45
45
|
views: v,
|
|
46
46
|
orientation: E
|
|
47
|
-
} = q(), V =
|
|
48
|
-
if (!b.isValid(
|
|
47
|
+
} = q(), V = B(), _ = Q(), w = ue(d), A = f.useMemo(() => {
|
|
48
|
+
if (!b.isValid(P))
|
|
49
49
|
return r;
|
|
50
50
|
const W = T(b, {
|
|
51
51
|
format: o,
|
|
52
52
|
views: v
|
|
53
53
|
}, !0);
|
|
54
|
-
return b.formatByString(
|
|
55
|
-
}, [
|
|
54
|
+
return b.formatByString(P, W);
|
|
55
|
+
}, [P, o, r, b, v]);
|
|
56
56
|
return /* @__PURE__ */ c.jsx(fe, s({
|
|
57
57
|
ref: t,
|
|
58
58
|
toolbarTitle: V.datePickerToolbarTitle,
|
|
@@ -131,7 +131,7 @@ const be = (l) => {
|
|
|
131
131
|
}), {
|
|
132
132
|
slots: o,
|
|
133
133
|
slotProps: r
|
|
134
|
-
} = n, i =
|
|
134
|
+
} = n, i = D(n, me), d = X({
|
|
135
135
|
slotProps: r,
|
|
136
136
|
ref: t,
|
|
137
137
|
externalForwardedProps: i
|
|
@@ -1136,7 +1136,7 @@ const ye = ["desktopModeMediaQuery"], x = /* @__PURE__ */ f.forwardRef(function(
|
|
|
1136
1136
|
name: "MuiDatePicker"
|
|
1137
1137
|
}), {
|
|
1138
1138
|
desktopModeMediaQuery: o = ne
|
|
1139
|
-
} = n, r =
|
|
1139
|
+
} = n, r = D(n, ye);
|
|
1140
1140
|
return re(o, {
|
|
1141
1141
|
defaultMatches: !0
|
|
1142
1142
|
}) ? /* @__PURE__ */ c.jsx(k, s({
|
|
@@ -1492,6 +1492,10 @@ const he = ({
|
|
|
1492
1492
|
// Allow user to override slots if needed
|
|
1493
1493
|
},
|
|
1494
1494
|
slotProps: {
|
|
1495
|
+
openPickerButton: {
|
|
1496
|
+
edge: "end",
|
|
1497
|
+
sx: { my: -1 }
|
|
1498
|
+
},
|
|
1495
1499
|
popper: {
|
|
1496
1500
|
sx: {
|
|
1497
1501
|
"& .MuiPaper-root": {
|
|
@@ -16,9 +16,6 @@ export interface SDateTimePickerProps extends DateTimePickerProps {
|
|
|
16
16
|
/** Help text shown in tooltip next to the label */
|
|
17
17
|
hint?: string;
|
|
18
18
|
}
|
|
19
|
-
/**
|
|
20
|
-
* A standardized date and time picker component that wraps Material-UI X DateTimePicker with consistent form labeling.
|
|
21
|
-
*/
|
|
22
19
|
export declare const SDateTimePicker: {
|
|
23
20
|
({ label, required, error, htmlFor, hint, ...props }: SDateTimePickerProps): React.JSX.Element;
|
|
24
21
|
displayName: string;
|