@solostylist/ui-kit 2.0.6 → 2.0.8

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.
Files changed (102) hide show
  1. package/dist/components-DWGB2MCO.js +148 -0
  2. package/dist/{gradients-DSnBONEQ.js → gradients-CUC4WH9i.js} +1 -1
  3. package/dist/main.js +1 -1
  4. package/dist/palettes/index.js +1 -1
  5. package/dist/{palettes-CJLuEy1m.js → palettes-B1trNROL.js} +2 -2
  6. package/dist/s-brand-logo/index.js +1 -1
  7. package/dist/s-brand-logo/s-brand-logo.js +1 -1
  8. package/dist/s-chat-message/s-chat-message.js +1 -1
  9. package/dist/s-comment-message/s-comment-message.js +1 -1
  10. package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
  11. package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +1 -1
  12. package/dist/s-product-gallery/index.d.ts +1 -1
  13. package/dist/s-product-gallery/s-product-gallery.d.ts +28 -11
  14. package/dist/s-product-gallery/s-product-gallery.js +302 -246
  15. package/dist/s-review/s-review.js +1 -1
  16. package/dist/s-segmented-control/s-segmented-control.js +3 -3
  17. package/dist/s-stripe/stripe-input.js +1 -1
  18. package/dist/s-theme-demo/theme-demo-color-ramps-section.js +1 -1
  19. package/dist/s-theme-provider/s-theme-provider.js +10 -10
  20. package/dist/theme/component-augmentation.d.ts +1 -1
  21. package/dist/theme/components/accordion-details.d.ts +2 -8
  22. package/dist/theme/components/accordion-summary.d.ts +2 -1036
  23. package/dist/theme/components/accordion.d.ts +2 -43
  24. package/dist/theme/components/alert.d.ts +2 -4160
  25. package/dist/theme/components/app-bar.d.ts +2 -24
  26. package/dist/theme/components/autocomplete.d.ts +2 -78
  27. package/dist/theme/components/avatar.d.ts +2 -19
  28. package/dist/theme/components/avatar.js +20 -6
  29. package/dist/theme/components/backdrop.d.ts +2 -12
  30. package/dist/theme/components/button-base.d.ts +2 -7
  31. package/dist/theme/components/button.d.ts +2 -1117
  32. package/dist/theme/components/card-actions.d.ts +2 -7
  33. package/dist/theme/components/card-content.d.ts +2 -7
  34. package/dist/theme/components/card-header.d.ts +2 -7
  35. package/dist/theme/components/card.d.ts +2 -2046
  36. package/dist/theme/components/card.js +1 -1
  37. package/dist/theme/components/checkbox.d.ts +2 -1038
  38. package/dist/theme/components/checkbox.js +1 -1
  39. package/dist/theme/components/chip.d.ts +2 -2
  40. package/dist/theme/components/components.d.ts +68 -0
  41. package/dist/theme/components/components.js +2 -73
  42. package/dist/theme/components/container.d.ts +2 -5
  43. package/dist/theme/components/css-baseline.d.ts +2 -9
  44. package/dist/theme/components/date-calendar.d.ts +2 -13
  45. package/dist/theme/components/day-calendar.d.ts +2 -25
  46. package/dist/theme/components/dialog-actions.d.ts +2 -12
  47. package/dist/theme/components/dialog-content.d.ts +2 -13
  48. package/dist/theme/components/dialog-title.d.ts +2 -21
  49. package/dist/theme/components/dialog.d.ts +2 -25
  50. package/dist/theme/components/drawer.d.ts +2 -13
  51. package/dist/theme/components/form-control.d.ts +2 -7
  52. package/dist/theme/components/form-label.d.ts +2 -20
  53. package/dist/theme/components/icon-button.d.ts +2 -1100
  54. package/dist/theme/components/icon.d.ts +2 -17
  55. package/dist/theme/components/input-adornment.d.ts +2 -19
  56. package/dist/theme/components/input-base.d.ts +2 -18
  57. package/dist/theme/components/linear-progress.d.ts +2 -1023
  58. package/dist/theme/components/link.d.ts +2 -42
  59. package/dist/theme/components/list-item-button.d.ts +2 -120
  60. package/dist/theme/components/list-item-icon.d.ts +2 -7
  61. package/dist/theme/components/list-item-text.d.ts +2 -22
  62. package/dist/theme/components/list-item.d.ts +2 -129
  63. package/dist/theme/components/list-subheader.d.ts +2 -20
  64. package/dist/theme/components/list.d.ts +2 -10
  65. package/dist/theme/components/menu-item.d.ts +2 -8
  66. package/dist/theme/components/menu.d.ts +2 -20
  67. package/dist/theme/components/month-calendar.d.ts +2 -1088
  68. package/dist/theme/components/multi-section-digital-clock-section.d.ts +2 -2
  69. package/dist/theme/components/outlined-input.d.ts +2 -113
  70. package/dist/theme/components/pagination-item.d.ts +2 -1085
  71. package/dist/theme/components/pagination.d.ts +2 -14
  72. package/dist/theme/components/paper.d.ts +2 -5
  73. package/dist/theme/components/picker-day.d.ts +2 -1055
  74. package/dist/theme/components/pickers-arrow-switcher.d.ts +2 -12
  75. package/dist/theme/components/pickers-calendar-header.d.ts +2 -83
  76. package/dist/theme/components/popover.d.ts +2 -18
  77. package/dist/theme/components/rating.d.ts +2 -19
  78. package/dist/theme/components/select.d.ts +2 -31
  79. package/dist/theme/components/skeleton.d.ts +2 -2
  80. package/dist/theme/components/slider.d.ts +2 -0
  81. package/dist/theme/components/slot.d.ts +7 -0
  82. package/dist/theme/components/slot.js +0 -0
  83. package/dist/theme/components/step-connector.d.ts +2 -12
  84. package/dist/theme/components/step-icon.d.ts +2 -1034
  85. package/dist/theme/components/step-label.d.ts +2 -1025
  86. package/dist/theme/components/svg-icon.d.ts +2 -31
  87. package/dist/theme/components/switch.d.ts +2 -1027
  88. package/dist/theme/components/tab.d.ts +2 -30
  89. package/dist/theme/components/table-cell.d.ts +2 -12
  90. package/dist/theme/components/table-pagination.d.ts +2 -14
  91. package/dist/theme/components/tabs.d.ts +2 -36
  92. package/dist/theme/components/toggle-button-group.d.ts +2 -12
  93. package/dist/theme/components/toggle-button.d.ts +2 -1148
  94. package/dist/theme/components/tooltip.d.ts +2 -3
  95. package/dist/theme/components/year-calendar.d.ts +2 -1090
  96. package/dist/theme/theme-primitives.d.ts +2 -0
  97. package/dist/theme/theme-primitives.js +1 -1
  98. package/dist/{theme-primitives-CRfnMsNy.js → theme-primitives-DXekeATD.js} +29 -26
  99. package/package.json +4 -2
  100. /package/dist/{colors-CNjL5fhq.js → colors-DscJqo7m.js} +0 -0
  101. /package/dist/{s-brand-logo-CErW9Slg.js → s-brand-logo-Gi1MKnv9.js} +0 -0
  102. /package/dist/{utils-CMeAWSRO.js → utils-CXRJYVCd.js} +0 -0
@@ -1,12 +1,2 @@
1
- import { Theme } from '@mui/material/styles';
2
- export declare const MuiPickersArrowSwitcher: {
3
- styleOverrides: {
4
- spacer: ({ theme }: import('@mui/x-date-pickers/internals').ExportedPickersArrowSwitcherProps & Record<string, unknown> & {
5
- ownerState: import('@mui/x-date-pickers').PickerOwnerState;
6
- } & {
7
- theme: Theme;
8
- }) => {
9
- width: string;
10
- };
11
- };
12
- };
1
+ import { Slot } from './slot';
2
+ export declare const MuiPickersArrowSwitcher: Slot<'MuiPickersArrowSwitcher'>;
@@ -1,83 +1,2 @@
1
- import { Theme } from '@mui/material/styles';
2
- export declare const MuiPickersCalendarHeader: {
3
- defaultProps: {
4
- slots: {
5
- switchViewIcon: import('@mui/material/OverridableComponent').OverridableComponent<import('@mui/material').SvgIconTypeMap<{}, "svg">> & {
6
- muiName: string;
7
- };
8
- };
9
- };
10
- styleOverrides: {
11
- root: ({ theme }: import('@mui/x-date-pickers').ExportedPickersCalendarHeaderProps & Record<string, unknown> & {
12
- ownerState: import('@mui/x-date-pickers').PickerOwnerState;
13
- } & {
14
- theme: Theme;
15
- }) => {
16
- marginTop: string;
17
- marginBottom: string;
18
- paddingLeft: string;
19
- paddingRight: string;
20
- };
21
- labelContainer: ({ theme }: import('@mui/x-date-pickers').ExportedPickersCalendarHeaderProps & Record<string, unknown> & {
22
- ownerState: import('@mui/x-date-pickers').PickerOwnerState;
23
- } & {
24
- theme: Theme;
25
- }) => {
26
- borderRadius: string | number;
27
- height: string;
28
- marginInlineStart: string;
29
- paddingInlineEnd: string;
30
- paddingInlineStart: string;
31
- position: "relative";
32
- };
33
- label: {
34
- margin: number;
35
- pointerEvents: "none";
36
- position: "relative";
37
- zIndex: number;
38
- };
39
- switchViewButton: ({ theme }: import('@mui/x-date-pickers').ExportedPickersCalendarHeaderProps & Record<string, unknown> & {
40
- ownerState: import('@mui/x-date-pickers').PickerOwnerState;
41
- } & {
42
- theme: Theme;
43
- }) => {
44
- [x: string]: string | number | {
45
- outlineOffset: number;
46
- fontSize?: undefined;
47
- willChange?: undefined;
48
- transition?: undefined;
49
- } | {
50
- fontSize: string;
51
- willChange: string;
52
- transition: string;
53
- outlineOffset?: undefined;
54
- } | {
55
- [x: string]: {
56
- transition: string;
57
- };
58
- outlineOffset?: undefined;
59
- fontSize?: undefined;
60
- willChange?: undefined;
61
- transition?: undefined;
62
- };
63
- borderRadius: string;
64
- color: string;
65
- height: string;
66
- inset: number;
67
- justifyContent: "flex-end";
68
- margin: number;
69
- padding: number;
70
- paddingInlineEnd: string;
71
- position: "absolute";
72
- width: string;
73
- '&.Mui-focusVisible': {
74
- outlineOffset: number;
75
- };
76
- "@media (prefers-reduced-motion: reduce)": {
77
- [x: string]: {
78
- transition: string;
79
- };
80
- };
81
- };
82
- };
83
- };
1
+ import { Slot } from './slot';
2
+ export declare const MuiPickersCalendarHeader: Slot<'MuiPickersCalendarHeader'>;
@@ -1,18 +1,2 @@
1
- import { Theme } from '@mui/material/styles';
2
- export declare const MuiPopover: {
3
- defaultProps: {
4
- elevation: number;
5
- };
6
- styleOverrides: {
7
- paper: ({ theme }: import('@mui/material').PopoverProps & Record<string, unknown> & {
8
- ownerState: import('@mui/material').PopoverProps & Record<string, unknown>;
9
- } & {
10
- theme: Theme;
11
- }) => {
12
- borderRadius: string | number;
13
- marginTop: number;
14
- border: string;
15
- borderColor: string;
16
- };
17
- };
18
- };
1
+ import { Slot } from './slot';
2
+ export declare const MuiPopover: Slot<'MuiPopover'>;
@@ -1,19 +1,2 @@
1
- import { Theme } from '../types';
2
- export declare const MuiRating: {
3
- styleOverrides: {
4
- root: ({ theme }: import('@mui/material').RatingOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "name" | "className" | "style" | "classes" | "onChange" | "sx" | "disabled" | "slots" | "slotProps" | "defaultValue" | "max" | "value" | "size" | "icon" | "readOnly" | "emptyIcon" | "emptyLabelText" | "getLabelText" | "highlightSelectedOnly" | "onChangeActive" | "precision"> & {
5
- component?: React.ElementType | undefined;
6
- } & Record<string, unknown> & {
7
- ownerState: import('@mui/material').RatingOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "name" | "className" | "style" | "classes" | "onChange" | "sx" | "disabled" | "slots" | "slotProps" | "defaultValue" | "max" | "value" | "size" | "icon" | "readOnly" | "emptyIcon" | "emptyLabelText" | "getLabelText" | "highlightSelectedOnly" | "onChangeActive" | "precision"> & {
8
- component?: React.ElementType | undefined;
9
- } & Record<string, unknown>;
10
- } & {
11
- theme: Theme;
12
- }) => {
13
- color: string;
14
- };
15
- sizeSmall: {
16
- fontSize: string;
17
- };
18
- };
19
- };
1
+ import { Slot } from './slot';
2
+ export declare const MuiRating: Slot<'MuiRating'>;
@@ -1,31 +1,2 @@
1
- import { Theme } from '@mui/material/styles';
2
- import { SvgIconProps } from '@mui/material/SvgIcon';
3
- import * as React from 'react';
4
- export declare const MuiSelect: {
5
- defaultProps: {
6
- IconComponent: React.ForwardRefExoticComponent<Omit<SvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
7
- };
8
- styleOverrides: {
9
- select: {
10
- minHeight: string;
11
- lineHeight: string;
12
- };
13
- icon: ({ theme }: (import('@mui/material').SelectProps & Record<string, unknown> & {
14
- ownerState: import('@mui/material').SelectProps & Record<string, unknown>;
15
- }) & {
16
- theme: Theme;
17
- } & Record<string, unknown>) => {
18
- color: "inherit";
19
- right: string;
20
- };
21
- root: ({ theme }: (import('@mui/material').SelectProps & Record<string, unknown> & {
22
- ownerState: import('@mui/material').SelectProps & Record<string, unknown>;
23
- }) & {
24
- theme: Theme;
25
- } & Record<string, unknown>) => {
26
- [x: string]: {
27
- color: string;
28
- };
29
- };
30
- };
31
- };
1
+ import { Slot } from './slot';
2
+ export declare const MuiSelect: Slot<'MuiSelect'>;
@@ -1,2 +1,2 @@
1
- import { Components, Theme } from '@mui/material';
2
- export declare const MuiSkeleton: Components<Theme>['MuiSkeleton'];
1
+ import { Slot } from './slot';
2
+ export declare const MuiSkeleton: Slot<'MuiSkeleton'>;
@@ -0,0 +1,2 @@
1
+ import { Slot } from './slot';
2
+ export declare const MuiSlider: Slot<'MuiSlider'>;
@@ -0,0 +1,7 @@
1
+ import { Components, Theme } from '@mui/material';
2
+ /**
3
+ * Declared type for a single theme override slice. Annotating each slice with this keeps the
4
+ * `components` aggregate small enough for declaration emit — the full `Components<Theme>` type
5
+ * cannot be used there because checking it against the S* augmentation exhausts tsc's heap.
6
+ */
7
+ export type Slot<K extends keyof Components<Theme>> = Components<Theme>[K];
File without changes
@@ -1,12 +1,2 @@
1
- import { Theme } from '@mui/material/styles';
2
- export declare const MuiStepConnector: {
3
- styleOverrides: {
4
- line: ({ theme }: import('@mui/material').StepConnectorProps & Record<string, unknown> & {
5
- ownerState: import('@mui/material').StepConnectorProps & Record<string, unknown>;
6
- } & {
7
- theme: Theme;
8
- }) => {
9
- borderColor: string;
10
- };
11
- };
12
- };
1
+ import { Slot } from './slot';
2
+ export declare const MuiStepConnector: Slot<'MuiStepConnector'>;