@registrucentras/rc-ses-react-components 2.3.0 → 2.5.0

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 (169) hide show
  1. package/dist/assets/icons/createIcon.d.ts +18 -0
  2. package/dist/assets/icons/phosphorIcons.d.ts +221 -0
  3. package/dist/components/common/Badge/index.d.ts +1 -0
  4. package/dist/components/overlays/Drawer/Drawer.types.d.ts +30 -0
  5. package/dist/components/overlays/Drawer/index.d.ts +9 -0
  6. package/dist/library/icons.d.ts +2 -48
  7. package/dist/library/index.d.ts +2 -1
  8. package/dist/library/types.d.ts +2 -0
  9. package/dist/registrucentras-rc-ses-react-components.cjs +1 -1
  10. package/dist/registrucentras-rc-ses-react-components.js +2579 -2762
  11. package/package.json +5 -5
  12. package/src/assets/icons/createIcon.test.tsx +49 -0
  13. package/src/assets/icons/createIcon.tsx +49 -0
  14. package/src/assets/icons/phosphorIcons.ts +162 -0
  15. package/src/components/common/Accordion/index.tsx +1 -1
  16. package/src/components/common/AdvancedList/components/AdvancedListItem/components/AdvancedListItemLeading.tsx +1 -3
  17. package/src/components/common/AdvancedList/components/AdvancedListItem/components/AdvancedListItemTrailing.tsx +6 -4
  18. package/src/components/common/AdvancedList/components/AdvancedListItem/index.test.tsx +5 -3
  19. package/src/components/common/AdvancedList/components/AdvancedListItemShell/index.test.tsx +23 -0
  20. package/src/components/common/AdvancedList/components/AdvancedListItemShell/index.tsx +6 -0
  21. package/src/components/common/Alert/index.tsx +1 -1
  22. package/src/components/common/Badge/index.test.tsx +16 -0
  23. package/src/components/common/Badge/index.tsx +35 -12
  24. package/src/components/common/Button/ButtonWithPopover.tsx +1 -2
  25. package/src/components/common/DataPagination/index.tsx +1 -2
  26. package/src/components/common/IconWithSquareBackground/index.test.tsx +1 -1
  27. package/src/components/common/ServiceLinks/ServiceLinkItem/index.tsx +1 -1
  28. package/src/components/common/Snackbar/index.tsx +1 -1
  29. package/src/components/common/StepCard/StepCardFooter/index.tsx +5 -3
  30. package/src/components/common/Tooltip/index.tsx +1 -1
  31. package/src/components/form/inputs/CheckboxFormControl.tsx +1 -2
  32. package/src/components/form/inputs/Datepicker/components/RcSesDatepickerCalendarHeader.tsx +6 -4
  33. package/src/components/form/inputs/Datepicker/index.tsx +1 -2
  34. package/src/components/form/inputs/FileDropzone.tsx +1 -2
  35. package/src/components/form/inputs/FileUpload.tsx +1 -1
  36. package/src/components/form/inputs/NumberStepper.tsx +1 -2
  37. package/src/components/form/inputs/PhoneInputFormControl/components/AutocompleteInput.tsx +1 -1
  38. package/src/components/form/inputs/PhoneInputFormControl/index.tsx +1 -1
  39. package/src/components/form/inputs/SearchInput/index.tsx +1 -2
  40. package/src/components/form/inputs/SearchableField.tsx +1 -2
  41. package/src/components/form/inputs/Select/components/OptionCheckbox.tsx +1 -1
  42. package/src/components/form/inputs/Select/index.tsx +1 -2
  43. package/src/components/form/inputs/SimpleCheckbox.tsx +1 -2
  44. package/src/components/layout/ServiceFormActions.tsx +1 -2
  45. package/src/components/layout/ServiceFormContainer/AccordionFormContainer/components/AccordionCollapseControls.tsx +1 -2
  46. package/src/components/layout/ServiceWizardStepper/components/CustomStepIcon.tsx +1 -2
  47. package/src/components/layout/ServiceWizardStepper/components/HorizontalStepperButton.tsx +1 -2
  48. package/src/components/overlays/BottomSheet/index.tsx +1 -1
  49. package/src/components/overlays/Drawer/Drawer.types.ts +32 -0
  50. package/src/components/overlays/Drawer/index.test.tsx +174 -0
  51. package/src/components/overlays/Drawer/index.tsx +192 -0
  52. package/src/components/overlays/Modal/index.tsx +6 -4
  53. package/src/i18n/namespaces/common/en.json +3 -0
  54. package/src/i18n/namespaces/common/lt.json +3 -0
  55. package/src/library/icons.ts +3 -100
  56. package/src/library/index.ts +2 -0
  57. package/src/library/types.ts +2 -0
  58. package/src/stories/atoms/Badge.stories.tsx +40 -0
  59. package/src/stories/atoms/Button.stories.tsx +1 -1
  60. package/src/stories/atoms/IconWithCircularBackground.stories.tsx +1 -1
  61. package/src/stories/atoms/IconWithSquareBackground.stories.tsx +1 -1
  62. package/src/stories/atoms/Icons.stories.tsx +134 -225
  63. package/src/stories/molecules/Card.stories.tsx +5 -3
  64. package/src/stories/molecules/CardShell.stories.tsx +1 -1
  65. package/src/stories/molecules/ImageCard.stories.tsx +1 -1
  66. package/src/stories/molecules/ListWithIcons.stories.tsx +1 -2
  67. package/src/stories/molecules/TitleBlock.stories.tsx +6 -3
  68. package/src/stories/organisms/AdvancedList.stories.tsx +6 -4
  69. package/src/stories/organisms/AdvancedListItem.stories.tsx +1 -3
  70. package/src/stories/organisms/AdvancedListItemShell.stories.tsx +93 -4
  71. package/src/stories/organisms/Drawer.stories.tsx +90 -0
  72. package/src/stories/organisms/SelectableCardList.stories.tsx +1 -3
  73. package/src/stories/organisms/ServiceLinks.stories.tsx +1 -1
  74. package/src/theme/light/MuiAccordionSummary.tsx +1 -1
  75. package/src/theme/light/MuiAlert.tsx +7 -5
  76. package/dist/assets/icons/ArrowLeftIcon.d.ts +0 -3
  77. package/dist/assets/icons/ArrowRightIcon.d.ts +0 -3
  78. package/dist/assets/icons/ArrowsClockwiseIcon.d.ts +0 -3
  79. package/dist/assets/icons/BarcodeIcon.d.ts +0 -3
  80. package/dist/assets/icons/CalendarBlankIcon.d.ts +0 -3
  81. package/dist/assets/icons/CaretDoubleLeftBoldIcon.d.ts +0 -3
  82. package/dist/assets/icons/CaretDoubleRightBoldIcon.d.ts +0 -3
  83. package/dist/assets/icons/CaretDownBoldIcon.d.ts +0 -3
  84. package/dist/assets/icons/CaretDownFill.d.ts +0 -3
  85. package/dist/assets/icons/CaretDownIcon.d.ts +0 -3
  86. package/dist/assets/icons/CaretLeftBoldIcon.d.ts +0 -3
  87. package/dist/assets/icons/CaretLeftIcon.d.ts +0 -3
  88. package/dist/assets/icons/CaretRightBoldIcon.d.ts +0 -3
  89. package/dist/assets/icons/CaretUpBoldIcon.d.ts +0 -3
  90. package/dist/assets/icons/CaretUpIcon.d.ts +0 -3
  91. package/dist/assets/icons/CheckBoldIcon.d.ts +0 -3
  92. package/dist/assets/icons/CheckCircleFillIcon.d.ts +0 -3
  93. package/dist/assets/icons/CheckIcon.d.ts +0 -3
  94. package/dist/assets/icons/CheckUncheckedBoldIcon.d.ts +0 -3
  95. package/dist/assets/icons/CircleFilledIcon.d.ts +0 -3
  96. package/dist/assets/icons/CloseIcon.d.ts +0 -3
  97. package/dist/assets/icons/CollapseChevronsIcon.d.ts +0 -3
  98. package/dist/assets/icons/CopyIcon.d.ts +0 -3
  99. package/dist/assets/icons/ExpandChevronsIcon.d.ts +0 -3
  100. package/dist/assets/icons/InfoFillIcon.d.ts +0 -3
  101. package/dist/assets/icons/ListIcon.d.ts +0 -3
  102. package/dist/assets/icons/MagnifyingGlassIcon.d.ts +0 -3
  103. package/dist/assets/icons/MapPinAreaIcon.d.ts +0 -3
  104. package/dist/assets/icons/MinusBoldIcon.d.ts +0 -3
  105. package/dist/assets/icons/MinusIcon.d.ts +0 -3
  106. package/dist/assets/icons/NotePencilIcon.d.ts +0 -3
  107. package/dist/assets/icons/PencilSimpleLineIcon.d.ts +0 -3
  108. package/dist/assets/icons/PlusBoldIcon.d.ts +0 -3
  109. package/dist/assets/icons/PlusIcon.d.ts +0 -3
  110. package/dist/assets/icons/QuestionFillIcon.d.ts +0 -3
  111. package/dist/assets/icons/QuestionIcon.d.ts +0 -3
  112. package/dist/assets/icons/ScalesIcon.d.ts +0 -3
  113. package/dist/assets/icons/ScrollIcon.d.ts +0 -3
  114. package/dist/assets/icons/ShoppingCartIcon.d.ts +0 -3
  115. package/dist/assets/icons/SpinnerGapBoldIcon.d.ts +0 -3
  116. package/dist/assets/icons/TrashIcon.d.ts +0 -3
  117. package/dist/assets/icons/UploadSimpleIcon.d.ts +0 -3
  118. package/dist/assets/icons/UserIcon.d.ts +0 -3
  119. package/dist/assets/icons/WarningCircleIcon.d.ts +0 -3
  120. package/dist/assets/icons/WarningDiamondFillIcon.d.ts +0 -3
  121. package/dist/assets/icons/WarningFillIcon.d.ts +0 -3
  122. package/dist/assets/icons/XCircleFillIcon.d.ts +0 -3
  123. package/src/assets/icons/ArrowLeftIcon.tsx +0 -16
  124. package/src/assets/icons/ArrowRightIcon.tsx +0 -17
  125. package/src/assets/icons/ArrowsClockwiseIcon.tsx +0 -16
  126. package/src/assets/icons/BarcodeIcon.tsx +0 -9
  127. package/src/assets/icons/CalendarBlankIcon.tsx +0 -9
  128. package/src/assets/icons/CaretDoubleLeftBoldIcon.tsx +0 -22
  129. package/src/assets/icons/CaretDoubleRightBoldIcon.tsx +0 -22
  130. package/src/assets/icons/CaretDownBoldIcon.tsx +0 -17
  131. package/src/assets/icons/CaretDownFill.tsx +0 -17
  132. package/src/assets/icons/CaretDownIcon.tsx +0 -9
  133. package/src/assets/icons/CaretLeftBoldIcon.tsx +0 -17
  134. package/src/assets/icons/CaretLeftIcon.tsx +0 -9
  135. package/src/assets/icons/CaretRightBoldIcon.tsx +0 -17
  136. package/src/assets/icons/CaretUpBoldIcon.tsx +0 -17
  137. package/src/assets/icons/CaretUpIcon.tsx +0 -9
  138. package/src/assets/icons/CheckBoldIcon.tsx +0 -17
  139. package/src/assets/icons/CheckCircleFillIcon.tsx +0 -23
  140. package/src/assets/icons/CheckIcon.tsx +0 -23
  141. package/src/assets/icons/CheckUncheckedBoldIcon.tsx +0 -9
  142. package/src/assets/icons/CircleFilledIcon.tsx +0 -11
  143. package/src/assets/icons/CloseIcon.tsx +0 -9
  144. package/src/assets/icons/CollapseChevronsIcon.tsx +0 -17
  145. package/src/assets/icons/CopyIcon.tsx +0 -23
  146. package/src/assets/icons/ExpandChevronsIcon.tsx +0 -17
  147. package/src/assets/icons/InfoFillIcon.tsx +0 -17
  148. package/src/assets/icons/ListIcon.tsx +0 -17
  149. package/src/assets/icons/MagnifyingGlassIcon.tsx +0 -9
  150. package/src/assets/icons/MapPinAreaIcon.tsx +0 -9
  151. package/src/assets/icons/MinusBoldIcon.tsx +0 -11
  152. package/src/assets/icons/MinusIcon.tsx +0 -9
  153. package/src/assets/icons/NotePencilIcon.tsx +0 -9
  154. package/src/assets/icons/PencilSimpleLineIcon.tsx +0 -23
  155. package/src/assets/icons/PlusBoldIcon.tsx +0 -11
  156. package/src/assets/icons/PlusIcon.tsx +0 -9
  157. package/src/assets/icons/QuestionFillIcon.tsx +0 -23
  158. package/src/assets/icons/QuestionIcon.tsx +0 -9
  159. package/src/assets/icons/ScalesIcon.tsx +0 -9
  160. package/src/assets/icons/ScrollIcon.tsx +0 -9
  161. package/src/assets/icons/ShoppingCartIcon.tsx +0 -16
  162. package/src/assets/icons/SpinnerGapBoldIcon.tsx +0 -17
  163. package/src/assets/icons/TrashIcon.tsx +0 -23
  164. package/src/assets/icons/UploadSimpleIcon.tsx +0 -9
  165. package/src/assets/icons/UserIcon.tsx +0 -17
  166. package/src/assets/icons/WarningCircleIcon.tsx +0 -22
  167. package/src/assets/icons/WarningDiamondFillIcon.tsx +0 -17
  168. package/src/assets/icons/WarningFillIcon.tsx +0 -22
  169. package/src/assets/icons/XCircleFillIcon.tsx +0 -17
@@ -0,0 +1,18 @@
1
+ import { IconWeight, Icon as PhosphorIcon } from '@phosphor-icons/react';
2
+ import { default as IconProps } from '../IconProps';
3
+ interface CreateIconOptions {
4
+ size?: number;
5
+ weight?: IconWeight;
6
+ /** Component name, only needed when it doesn't follow `<Phosphor name><Weight>Icon` */
7
+ name?: string;
8
+ }
9
+ /**
10
+ * Wraps a Phosphor icon in the library's icon API: `fillColor` maps to Phosphor's
11
+ * `color`, and `size`/`weight` fall back to the given defaults. Callers can still
12
+ * override both per use.
13
+ */
14
+ declare const createIcon: (Phosphor: PhosphorIcon, { size: defaultSize, weight: defaultWeight, name, }?: CreateIconOptions) => {
15
+ ({ fillColor, size, weight, ...rest }: IconProps): import("react").JSX.Element;
16
+ displayName: string;
17
+ };
18
+ export default createIcon;
@@ -0,0 +1,221 @@
1
+ import { default as __DTS_DEFAULT_0__ } from '../IconProps';
2
+ export declare const ArrowLeftIcon: {
3
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export declare const ArrowRightIcon: {
7
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
8
+ displayName: string;
9
+ };
10
+ export declare const ArrowsClockwiseIcon: {
11
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
12
+ displayName: string;
13
+ };
14
+ export declare const BarcodeIcon: {
15
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
16
+ displayName: string;
17
+ };
18
+ export declare const BriefcaseIcon: {
19
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
20
+ displayName: string;
21
+ };
22
+ export declare const CalendarBlankIcon: {
23
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
24
+ displayName: string;
25
+ };
26
+ export declare const CaretDoubleLeftBoldIcon: {
27
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
28
+ displayName: string;
29
+ };
30
+ export declare const CaretDoubleRightBoldIcon: {
31
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
32
+ displayName: string;
33
+ };
34
+ export declare const CaretDownBoldIcon: {
35
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
36
+ displayName: string;
37
+ };
38
+ export declare const CaretDownFill: {
39
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
40
+ displayName: string;
41
+ };
42
+ export declare const CaretDownIcon: {
43
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
44
+ displayName: string;
45
+ };
46
+ export declare const CaretLeftBoldIcon: {
47
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
48
+ displayName: string;
49
+ };
50
+ export declare const CaretLeftIcon: {
51
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
52
+ displayName: string;
53
+ };
54
+ export declare const CaretRightBoldIcon: {
55
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
56
+ displayName: string;
57
+ };
58
+ export declare const CaretUpBoldIcon: {
59
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
60
+ displayName: string;
61
+ };
62
+ export declare const CaretUpIcon: {
63
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
64
+ displayName: string;
65
+ };
66
+ export declare const CheckBoldIcon: {
67
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
68
+ displayName: string;
69
+ };
70
+ export declare const CheckCircleFillIcon: {
71
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
72
+ displayName: string;
73
+ };
74
+ export declare const CheckIcon: {
75
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
76
+ displayName: string;
77
+ };
78
+ export declare const CheckUncheckedBoldIcon: {
79
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
80
+ displayName: string;
81
+ };
82
+ export declare const CircleFilledIcon: {
83
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
84
+ displayName: string;
85
+ };
86
+ export declare const ClockIcon: {
87
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
88
+ displayName: string;
89
+ };
90
+ export declare const CloseIcon: {
91
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
92
+ displayName: string;
93
+ };
94
+ export declare const CollapseChevronsIcon: {
95
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
96
+ displayName: string;
97
+ };
98
+ export declare const CopyIcon: {
99
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
100
+ displayName: string;
101
+ };
102
+ export declare const EnvelopeSimpleIcon: {
103
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
104
+ displayName: string;
105
+ };
106
+ export declare const ExpandChevronsIcon: {
107
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
108
+ displayName: string;
109
+ };
110
+ export declare const InfoFillIcon: {
111
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
112
+ displayName: string;
113
+ };
114
+ export declare const InfoIcon: {
115
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
116
+ displayName: string;
117
+ };
118
+ export declare const ListIcon: {
119
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
120
+ displayName: string;
121
+ };
122
+ export declare const MagnifyingGlassIcon: {
123
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
124
+ displayName: string;
125
+ };
126
+ export declare const MapPinAreaIcon: {
127
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
128
+ displayName: string;
129
+ };
130
+ export declare const MapPinIcon: {
131
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
132
+ displayName: string;
133
+ };
134
+ export declare const MinusBoldIcon: {
135
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
136
+ displayName: string;
137
+ };
138
+ export declare const MinusIcon: {
139
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
140
+ displayName: string;
141
+ };
142
+ export declare const NotePencilIcon: {
143
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
144
+ displayName: string;
145
+ };
146
+ export declare const PencilSimpleLineIcon: {
147
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
148
+ displayName: string;
149
+ };
150
+ export declare const PhoneCallIcon: {
151
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
152
+ displayName: string;
153
+ };
154
+ export declare const PhoneIcon: {
155
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
156
+ displayName: string;
157
+ };
158
+ export declare const PlusBoldIcon: {
159
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
160
+ displayName: string;
161
+ };
162
+ export declare const PlusIcon: {
163
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
164
+ displayName: string;
165
+ };
166
+ export declare const QuestionFillIcon: {
167
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
168
+ displayName: string;
169
+ };
170
+ export declare const QuestionIcon: {
171
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
172
+ displayName: string;
173
+ };
174
+ export declare const ScalesIcon: {
175
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
176
+ displayName: string;
177
+ };
178
+ export declare const ScrollIcon: {
179
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
180
+ displayName: string;
181
+ };
182
+ export declare const ShoppingCartIcon: {
183
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
184
+ displayName: string;
185
+ };
186
+ export declare const SpinnerGapBoldIcon: {
187
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
188
+ displayName: string;
189
+ };
190
+ export declare const TrashIcon: {
191
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
192
+ displayName: string;
193
+ };
194
+ export declare const UploadSimpleIcon: {
195
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
196
+ displayName: string;
197
+ };
198
+ export declare const UserIcon: {
199
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
200
+ displayName: string;
201
+ };
202
+ export declare const UserListIcon: {
203
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
204
+ displayName: string;
205
+ };
206
+ export declare const WarningCircleIcon: {
207
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
208
+ displayName: string;
209
+ };
210
+ export declare const WarningDiamondFillIcon: {
211
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
212
+ displayName: string;
213
+ };
214
+ export declare const WarningFillIcon: {
215
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
216
+ displayName: string;
217
+ };
218
+ export declare const XCircleFillIcon: {
219
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
220
+ displayName: string;
221
+ };
@@ -3,6 +3,7 @@ export interface RcSesBadgeProps {
3
3
  variant: 'neutral' | 'success' | 'warning' | 'error' | 'info' | 'brand';
4
4
  size: 'small' | 'regular';
5
5
  showIcon?: boolean;
6
+ icon?: React.ReactNode;
6
7
  showClose?: boolean;
7
8
  onClose?: () => void;
8
9
  }
@@ -0,0 +1,30 @@
1
+ import { ReactNode } from 'react';
2
+ export interface RcSesDrawerTestIds {
3
+ root?: string;
4
+ header?: string;
5
+ closeButton?: string;
6
+ body?: string;
7
+ footer?: string;
8
+ }
9
+ export interface RcSesDrawerProps {
10
+ /** Whether the drawer is open */
11
+ isOpen: boolean;
12
+ /** Callback fired when the drawer should close */
13
+ onClose: () => void;
14
+ /** Drawer title displayed in header */
15
+ title: ReactNode;
16
+ /** Main content of the drawer (scrollable body) */
17
+ children: ReactNode;
18
+ /** Label for the secondary (left) action button */
19
+ secondaryActionLabel?: string;
20
+ /** Callback fired when secondary action button is clicked */
21
+ onSecondaryAction?: () => void;
22
+ /** Label for the primary (right) action button */
23
+ primaryActionLabel?: string;
24
+ /** Callback fired when primary action button is clicked */
25
+ onPrimaryAction?: () => void;
26
+ /** Test IDs for testing */
27
+ testIds?: RcSesDrawerTestIds;
28
+ /** Optional CSS class name */
29
+ className?: string;
30
+ }
@@ -0,0 +1,9 @@
1
+ import { RcSesDrawerProps, RcSesDrawerTestIds } from './Drawer.types';
2
+ /**
3
+ * RcSesDrawer component - a slide-over panel that slides in from the right.
4
+ * Built on MUI Dialog for proper focus management, scroll locking, and DOM handling.
5
+ * Composition: Header (title + close button), scrollable body, and optional footer.
6
+ */
7
+ declare const RcSesDrawer: ({ isOpen, onClose, title, children, secondaryActionLabel, onSecondaryAction, primaryActionLabel, onPrimaryAction, testIds, className, }: RcSesDrawerProps) => import("react").JSX.Element;
8
+ export default RcSesDrawer;
9
+ export type { RcSesDrawerProps, RcSesDrawerTestIds };
@@ -1,52 +1,6 @@
1
1
  import { default as RcSesLogo } from '../assets/Logo';
2
- import { default as ArrowLeftIcon } from '../assets/icons/ArrowLeftIcon';
3
- import { default as ArrowRightIcon } from '../assets/icons/ArrowRightIcon';
4
- import { default as ArrowsClockwiseIcon } from '../assets/icons/ArrowsClockwiseIcon';
5
- import { default as BarcodeIcon } from '../assets/icons/BarcodeIcon';
6
- import { default as CalendarBlankIcon } from '../assets/icons/CalendarBlankIcon';
7
- import { default as CaretDoubleLeftBoldIcon } from '../assets/icons/CaretDoubleLeftBoldIcon';
8
- import { default as CaretDoubleRightBoldIcon } from '../assets/icons/CaretDoubleRightBoldIcon';
9
- import { default as CaretDownBoldIcon } from '../assets/icons/CaretDownBoldIcon';
10
- import { default as CaretDownFill } from '../assets/icons/CaretDownFill';
11
- import { default as CaretDownIcon } from '../assets/icons/CaretDownIcon';
12
- import { default as CaretLeftBoldIcon } from '../assets/icons/CaretLeftBoldIcon';
13
- import { default as CaretLeftIcon } from '../assets/icons/CaretLeftIcon';
14
- import { default as CaretRightBoldIcon } from '../assets/icons/CaretRightBoldIcon';
15
- import { default as CaretUpBoldIcon } from '../assets/icons/CaretUpBoldIcon';
16
- import { default as CaretUpIcon } from '../assets/icons/CaretUpIcon';
17
- import { default as CheckBoldIcon } from '../assets/icons/CheckBoldIcon';
18
- import { default as CheckCircleFillIcon } from '../assets/icons/CheckCircleFillIcon';
19
- import { default as CheckIcon } from '../assets/icons/CheckIcon';
20
- import { default as CheckUncheckedBoldIcon } from '../assets/icons/CheckUncheckedBoldIcon';
21
- import { default as CircleFilledIcon } from '../assets/icons/CircleFilledIcon';
22
- import { default as CloseIcon } from '../assets/icons/CloseIcon';
23
- import { default as CollapseChevronsIcon } from '../assets/icons/CollapseChevronsIcon';
24
- import { default as CopyIcon } from '../assets/icons/CopyIcon';
25
2
  import { default as DotCircleFilledIcon } from '../assets/icons/DotCircleFilledIcon';
26
- import { default as ExpandChevronsIcon } from '../assets/icons/ExpandChevronsIcon';
27
- import { default as InfoFillIcon } from '../assets/icons/InfoFillIcon';
28
- import { default as ListIcon } from '../assets/icons/ListIcon';
29
- import { default as MagnifyingGlassIcon } from '../assets/icons/MagnifyingGlassIcon';
30
- import { default as MapPinAreaIcon } from '../assets/icons/MapPinAreaIcon';
31
- import { default as MinusBoldIcon } from '../assets/icons/MinusBoldIcon';
32
- import { default as MinusIcon } from '../assets/icons/MinusIcon';
33
- import { default as NotePencilIcon } from '../assets/icons/NotePencilIcon';
34
- import { default as PencilSimpleLineIcon } from '../assets/icons/PencilSimpleLineIcon';
35
- import { default as PlusBoldIcon } from '../assets/icons/PlusBoldIcon';
36
- import { default as PlusIcon } from '../assets/icons/PlusIcon';
37
- import { default as QuestionFillIcon } from '../assets/icons/QuestionFillIcon';
38
- import { default as QuestionIcon } from '../assets/icons/QuestionIcon';
39
- import { default as ScalesIcon } from '../assets/icons/ScalesIcon';
40
- import { default as ScrollIcon } from '../assets/icons/ScrollIcon';
41
3
  import { default as SearchHelpIcon } from '../assets/icons/SearchHelpIcon';
42
4
  import { default as SearchXIcon } from '../assets/icons/SearchXIcon';
43
- import { default as ShoppingCartIcon } from '../assets/icons/ShoppingCartIcon';
44
- import { default as SpinnerGapBoldIcon } from '../assets/icons/SpinnerGapBoldIcon';
45
- import { default as TrashIcon } from '../assets/icons/TrashIcon';
46
- import { default as UploadSimpleIcon } from '../assets/icons/UploadSimpleIcon';
47
- import { default as UserIcon } from '../assets/icons/UserIcon';
48
- import { default as WarningCircleIcon } from '../assets/icons/WarningCircleIcon';
49
- import { default as WarningDiamondFillIcon } from '../assets/icons/WarningDiamondFillIcon';
50
- import { default as WarningFillIcon } from '../assets/icons/WarningFillIcon';
51
- import { default as XCircleFillIcon } from '../assets/icons/XCircleFillIcon';
52
- export { RcSesLogo, ArrowLeftIcon, ArrowRightIcon, ArrowsClockwiseIcon, BarcodeIcon, CalendarBlankIcon, CaretDoubleLeftBoldIcon, CaretDoubleRightBoldIcon, CaretDownBoldIcon, CaretDownFill, CaretDownIcon, CaretLeftBoldIcon, CaretLeftIcon, CaretRightBoldIcon, CaretUpIcon, CaretUpBoldIcon, CheckBoldIcon, CheckCircleFillIcon, CheckIcon, CheckUncheckedBoldIcon, CircleFilledIcon, CloseIcon, CollapseChevronsIcon, CopyIcon, DotCircleFilledIcon, ExpandChevronsIcon, InfoFillIcon, ListIcon, MagnifyingGlassIcon, MapPinAreaIcon, MinusBoldIcon, MinusIcon, NotePencilIcon, PencilSimpleLineIcon, PlusBoldIcon, PlusIcon, QuestionFillIcon, QuestionIcon, ScalesIcon, ScrollIcon, SearchHelpIcon, SearchXIcon, ShoppingCartIcon, SpinnerGapBoldIcon, TrashIcon, UploadSimpleIcon, UserIcon, WarningDiamondFillIcon, WarningFillIcon, WarningCircleIcon, XCircleFillIcon, };
5
+ export { RcSesLogo, DotCircleFilledIcon, SearchHelpIcon, SearchXIcon };
6
+ export * from '../assets/icons/phosphorIcons';
@@ -58,6 +58,7 @@ import { default as RcSesLoader } from '../components/loaders/Loader';
58
58
  import { default as RcSesLoadingSpinner } from '../components/loaders/LoadingSpinner';
59
59
  import { default as RcSesBottomSheet } from '../components/overlays/BottomSheet';
60
60
  import { default as RcSesDialog } from '../components/overlays/Dialog';
61
+ import { default as RcSesDrawer } from '../components/overlays/Drawer';
61
62
  import { default as RcSesModal } from '../components/overlays/Modal';
62
63
  import { default as RcSesTheme } from '../theme/light';
63
64
  import { default as RcSesPalette } from '../theme/palette';
@@ -70,7 +71,7 @@ declare module '@mui/x-date-pickers/models' {
70
71
  export { RcSesPalette, RcSesTheme };
71
72
  export { RcSesAccordion, useAccordionController };
72
73
  export { RcSesAdvancedList, RcSesAdvancedListItem, RcSesAdvancedListItemShell };
73
- export { RcSesAlert, RcSesBadge, RcSesBreadcrumbs, RcSesButton, RcSesButtonWithPopover, RcSesFullPageLoader, RcSesLoader, RcSesLoadingSpinner, RcSesCard, RcSesCardShell, RcSesTitleBlock, RcSesCardFooter, RcSesDialog, RcSesFooter, RcSesImageCard, RcSesSnackbar, RcSesSnackbarProvider, RcSesModal, RcSesStepCard, RcSesSwitch, RcSesBottomSheet, };
74
+ export { RcSesAlert, RcSesBadge, RcSesBreadcrumbs, RcSesButton, RcSesButtonWithPopover, RcSesFullPageLoader, RcSesLoader, RcSesLoadingSpinner, RcSesCard, RcSesCardShell, RcSesTitleBlock, RcSesCardFooter, RcSesDialog, RcSesFooter, RcSesImageCard, RcSesSnackbar, RcSesSnackbarProvider, RcSesModal, RcSesStepCard, RcSesSwitch, RcSesBottomSheet, RcSesDrawer, };
74
75
  export { RcSesSegmentedControl };
75
76
  export { RcSesSideNavLayout };
76
77
  export { RcSesCheckbox, RcSesCheckboxFormControl, RcSesSimpleCheckbox };
@@ -21,6 +21,7 @@ import { RcSesLoaderProps, RcSesLoaderSize } from '../components/loaders/Loader'
21
21
  import { RcSesLoadingSpinnerProps, RcSesSpinnerColor } from '../components/loaders/LoadingSpinner';
22
22
  import { RcSesBottomSheetProps } from '../components/overlays/BottomSheet';
23
23
  import { DialogSize, RcSesDialogProps } from '../components/overlays/Dialog';
24
+ import { RcSesDrawerProps, RcSesDrawerTestIds } from '../components/overlays/Drawer';
24
25
  import { ModalVariant, RcSesModalProps } from '../components/overlays/Modal';
25
26
  import { ButtonProps } from '../types/buttons/ButtonProps';
26
27
  export type { ListWithIconsProps, ListWithIconsItemData, ListWithIconsItemTone, PaletteColor, };
@@ -31,3 +32,4 @@ export type { RcSesFullPageLoaderProps, RcSesLoaderBackdrop, RcSesLoaderProps, R
31
32
  export type { RcSesDialogProps, DialogSize };
32
33
  export type { RcSesModalProps, ModalVariant };
33
34
  export type { RcSesBottomSheetProps };
35
+ export type { RcSesDrawerProps, RcSesDrawerTestIds };