@windstream/react-shared-components 0.0.1

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 (112) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +360 -0
  3. package/dist/core.d.ts +389 -0
  4. package/dist/index.d.ts +389 -0
  5. package/dist/index.esm.js +35 -0
  6. package/dist/index.esm.js.map +1 -0
  7. package/dist/index.js +35 -0
  8. package/dist/index.js.map +1 -0
  9. package/dist/styles.css +3 -0
  10. package/dist/utils/index.d.ts +11 -0
  11. package/dist/utils/index.esm.js +2 -0
  12. package/dist/utils/index.esm.js.map +1 -0
  13. package/dist/utils/index.js +2 -0
  14. package/dist/utils/index.js.map +1 -0
  15. package/package.json +151 -0
  16. package/src/components/accordion/Accordion.stories.tsx +225 -0
  17. package/src/components/accordion/index.tsx +36 -0
  18. package/src/components/accordion/types.ts +10 -0
  19. package/src/components/alert-card/AlertCard.stories.tsx +172 -0
  20. package/src/components/alert-card/index.tsx +35 -0
  21. package/src/components/alert-card/types.ts +9 -0
  22. package/src/components/brand-button/BrandButton.stories.tsx +221 -0
  23. package/src/components/brand-button/helpers.ts +35 -0
  24. package/src/components/brand-button/index.tsx +90 -0
  25. package/src/components/brand-button/types.ts +27 -0
  26. package/src/components/button/Button.stories.tsx +108 -0
  27. package/src/components/button/index.tsx +23 -0
  28. package/src/components/button/types.ts +14 -0
  29. package/src/components/call-button/CallButton.stories.tsx +324 -0
  30. package/src/components/call-button/index.tsx +80 -0
  31. package/src/components/call-button/types.ts +9 -0
  32. package/src/components/checkbox/Checkbox.stories.tsx +248 -0
  33. package/src/components/checkbox/index.tsx +185 -0
  34. package/src/components/checkbox/types.ts +24 -0
  35. package/src/components/checklist/Checklist.stories.tsx +151 -0
  36. package/src/components/checklist/index.tsx +33 -0
  37. package/src/components/checklist/types.ts +6 -0
  38. package/src/components/collapse/Collapse.stories.tsx +256 -0
  39. package/src/components/collapse/index.tsx +44 -0
  40. package/src/components/collapse/types.ts +6 -0
  41. package/src/components/divider/Divider.stories.tsx +206 -0
  42. package/src/components/divider/index.tsx +23 -0
  43. package/src/components/divider/type.ts +3 -0
  44. package/src/components/input/Input.stories.tsx +358 -0
  45. package/src/components/input/index.tsx +174 -0
  46. package/src/components/input/types.ts +37 -0
  47. package/src/components/link/Link.stories.tsx +163 -0
  48. package/src/components/link/index.tsx +96 -0
  49. package/src/components/link/types.ts +25 -0
  50. package/src/components/list/List.stories.tsx +272 -0
  51. package/src/components/list/index.tsx +86 -0
  52. package/src/components/list/list-item/index.tsx +36 -0
  53. package/src/components/list/list-item/types.ts +13 -0
  54. package/src/components/list/types.ts +29 -0
  55. package/src/components/material-icon/MaterialIcon.stories.tsx +330 -0
  56. package/src/components/material-icon/constants.ts +95 -0
  57. package/src/components/material-icon/index.tsx +44 -0
  58. package/src/components/material-icon/types.ts +31 -0
  59. package/src/components/modal/Modal.stories.tsx +171 -0
  60. package/src/components/modal/index.tsx +168 -0
  61. package/src/components/modal/types.ts +24 -0
  62. package/src/components/radio-button/RadioButton.stories.tsx +307 -0
  63. package/src/components/radio-button/index.tsx +73 -0
  64. package/src/components/radio-button/types.ts +22 -0
  65. package/src/components/see-more/SeeMore.stories.tsx +182 -0
  66. package/src/components/see-more/index.tsx +38 -0
  67. package/src/components/see-more/types.ts +4 -0
  68. package/src/components/select/Select.stories.tsx +410 -0
  69. package/src/components/select/index.tsx +150 -0
  70. package/src/components/select/types.ts +34 -0
  71. package/src/components/select-plan-button/SelectPlanButton.stories.tsx +160 -0
  72. package/src/components/select-plan-button/index.tsx +21 -0
  73. package/src/components/select-plan-button/types.ts +4 -0
  74. package/src/components/skeleton/Skeleton.stories.tsx +180 -0
  75. package/src/components/skeleton/index.tsx +61 -0
  76. package/src/components/skeleton/types.ts +4 -0
  77. package/src/components/spinner/Spinner.stories.tsx +335 -0
  78. package/src/components/spinner/index.tsx +44 -0
  79. package/src/components/spinner/types.ts +5 -0
  80. package/src/components/text/Text.stories.tsx +302 -0
  81. package/src/components/text/index.tsx +26 -0
  82. package/src/components/text/types.ts +45 -0
  83. package/src/components/tooltip/Tooltip.stories.tsx +220 -0
  84. package/src/components/tooltip/index.tsx +78 -0
  85. package/src/components/tooltip/types.ts +7 -0
  86. package/src/components/view-cart-button/ViewCartButton.stories.tsx +241 -0
  87. package/src/components/view-cart-button/index.tsx +39 -0
  88. package/src/components/view-cart-button/types.ts +5 -0
  89. package/src/hooks/use-body-scroll-lock.ts +31 -0
  90. package/src/index.ts +81 -0
  91. package/src/setupTests.ts +46 -0
  92. package/src/stories/DocsTemplate.tsx +26 -0
  93. package/src/stories/assets/accessibility.png +0 -0
  94. package/src/stories/assets/accessibility.svg +1 -0
  95. package/src/stories/assets/addon-library.png +0 -0
  96. package/src/stories/assets/assets.png +0 -0
  97. package/src/stories/assets/avif-test-image.avif +0 -0
  98. package/src/stories/assets/context.png +0 -0
  99. package/src/stories/assets/discord.svg +1 -0
  100. package/src/stories/assets/docs.png +0 -0
  101. package/src/stories/assets/figma-plugin.png +0 -0
  102. package/src/stories/assets/github.svg +1 -0
  103. package/src/stories/assets/share.png +0 -0
  104. package/src/stories/assets/styling.png +0 -0
  105. package/src/stories/assets/testing.png +0 -0
  106. package/src/stories/assets/theming.png +0 -0
  107. package/src/stories/assets/tutorials.svg +1 -0
  108. package/src/stories/assets/youtube.svg +1 -0
  109. package/src/styles/globals.css +50 -0
  110. package/src/types/global.d.ts +9 -0
  111. package/src/utils/index.ts +49 -0
  112. package/tailwind.config.cjs +524 -0
package/dist/core.d.ts ADDED
@@ -0,0 +1,389 @@
1
+ import * as React$1 from 'react';
2
+ import React__default, { InputHTMLAttributes, ReactNode, ForwardRefRenderFunction, AnchorHTMLAttributes, MouseEvent, CSSProperties, HTMLAttributes, LiHTMLAttributes, ButtonHTMLAttributes, LabelHTMLAttributes, FC } from 'react';
3
+ export { ButtonHTMLAttributes, CSSProperties, ReactNode } from 'react';
4
+ import { ButtonProps as ButtonProps$1 } from '@shared/components/button/types';
5
+ export { ButtonProps } from '@shared/components/button/types';
6
+ import * as react_jsx_runtime from 'react/jsx-runtime';
7
+ import { CallButtonProps } from '@shared/components/call-button/types';
8
+ export { CallButtonProps } from '@shared/components/call-button/types';
9
+ import { Props } from 'react-modal';
10
+ import { AccordionProps } from '@shared/components/accordion/types';
11
+ export { AccordionProps } from '@shared/components/accordion/types';
12
+ import { Props as Props$1 } from 'react-select';
13
+ import { TextVariant as TextVariant$1 } from '@shared/components/text';
14
+ import * as _shared_components_brand_button_types from '@shared/components/brand-button/types';
15
+ import { ChecklistProps } from '@shared/components/checklist/types';
16
+ export { ChecklistProps } from '@shared/components/checklist/types';
17
+ import { SeeMoreProps } from '@shared/components/see-more/types';
18
+ export { SeeMoreProps } from '@shared/components/see-more/types';
19
+ import { ClassValue } from 'clsx';
20
+ export { ClassValue, clsx } from 'clsx';
21
+
22
+ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps$1 & React$1.RefAttributes<HTMLButtonElement>>;
23
+
24
+ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & {
25
+ loading?: boolean;
26
+ iconLeft?: ReactNode;
27
+ size?: "sm" | "md";
28
+ hasError?: boolean;
29
+ label?: string;
30
+ labelClassName?: string;
31
+ containerClassName?: string;
32
+ mapPinIcon?: boolean;
33
+ isLightMapPinIcon?: boolean;
34
+ passwordToggle?: boolean;
35
+ helperText?: string;
36
+ error?: string;
37
+ variant?: "default" | "unstyled";
38
+ };
39
+ type InputFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & {
40
+ state?: "default" | "focus" | "active" | "hover" | "filled" | "error";
41
+ size?: "slim" | "medium" | "large";
42
+ label?: string;
43
+ errorText?: string;
44
+ prefixIconName?: "location_on" | "search";
45
+ prefixIconSize?: 20 | 24 | 40 | 48;
46
+ prefixIconFill?: boolean;
47
+ suffixIconFill?: boolean;
48
+ suffixIconName?: "visibility" | "visibility_off" | "lock";
49
+ suffixIconSize?: 20 | 24 | 40 | 48;
50
+ containerClassName?: string;
51
+ prefixIconClassName?: string;
52
+ loading?: boolean;
53
+ hasError?: boolean;
54
+ };
55
+
56
+ declare const InputField: ForwardRefRenderFunction<HTMLInputElement, InputFieldProps>;
57
+ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> & {
58
+ state?: "default" | "error" | "filled" | "active" | "focus" | "hover" | undefined;
59
+ size?: "medium" | "large" | "slim" | undefined;
60
+ label?: string | undefined;
61
+ errorText?: string | undefined;
62
+ prefixIconName?: "search" | "location_on" | undefined;
63
+ prefixIconSize?: 24 | 20 | 40 | 48 | undefined;
64
+ prefixIconFill?: boolean | undefined;
65
+ suffixIconFill?: boolean | undefined;
66
+ suffixIconName?: "visibility" | "lock" | "visibility_off" | undefined;
67
+ suffixIconSize?: 24 | 20 | 40 | 48 | undefined;
68
+ containerClassName?: string | undefined;
69
+ prefixIconClassName?: string | undefined;
70
+ loading?: boolean | undefined;
71
+ hasError?: boolean | undefined;
72
+ } & React$1.RefAttributes<HTMLInputElement>>;
73
+
74
+ interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
75
+ /** Content to render inside the link */
76
+ children: ReactNode;
77
+ /** URL to navigate to */
78
+ href?: string;
79
+ /** Custom className for the link */
80
+ className?: string;
81
+ /** Click handler function */
82
+ onClick?: (event: MouseEvent<HTMLAnchorElement>) => void;
83
+ /** Additional styling options */
84
+ variant?: "default" | "unstyled";
85
+ /** Custom styles */
86
+ style?: CSSProperties;
87
+ /** External link behavior - opens in new tab */
88
+ external?: boolean;
89
+ /** Disable the link */
90
+ disabled?: boolean;
91
+ }
92
+
93
+ declare const Link: React__default.ForwardRefExoticComponent<LinkProps & React__default.RefAttributes<HTMLAnchorElement>>;
94
+
95
+ type ListType = "ul" | "ol";
96
+ type ListVariant = "default" | "unstyled";
97
+ type ListItem$1 = {
98
+ id: string | number;
99
+ content: ReactNode;
100
+ className?: string;
101
+ [key: string]: any;
102
+ };
103
+ interface ListProps extends Omit<HTMLAttributes<HTMLUListElement | HTMLOListElement>, "type"> {
104
+ /** List type - unordered (ul) or ordered (ol) */
105
+ type?: ListType;
106
+ /** Array of items to render */
107
+ items?: ListItem$1[];
108
+ /** Custom className for the list */
109
+ className?: string;
110
+ /** Custom item renderer function */
111
+ renderItem?: (item: ListItem$1, index: number) => ReactNode;
112
+ /** Children to render instead of items */
113
+ children?: ReactNode;
114
+ /** Additional styling options */
115
+ variant?: ListVariant;
116
+ /** Custom styles */
117
+ style?: CSSProperties;
118
+ }
119
+
120
+ interface ListItemProps extends LiHTMLAttributes<HTMLLIElement> {
121
+ /** Content to render inside the list item */
122
+ children: ReactNode;
123
+ /** Custom className for the list item */
124
+ className?: string;
125
+ /** Additional styling options */
126
+ variant?: ListVariant;
127
+ /** Custom styles */
128
+ style?: CSSProperties;
129
+ }
130
+
131
+ declare const ListItem: React$1.ForwardRefExoticComponent<ListItemProps & React$1.RefAttributes<HTMLLIElement>>;
132
+
133
+ declare const List: React__default.ForwardRefExoticComponent<ListProps & React__default.RefAttributes<HTMLUListElement | HTMLOListElement>>;
134
+
135
+ declare const iconNameList: readonly ["info", "download", "featured_seasonal_and_gifts", "visibility", "paid", "check_box", "check_box_outline_blank", "radio_button_unchecked", "radio_button_checked", "counter_1", "counter_2", "counter_3", "error", "search", "cancel", "router", "broadcast_on_home", "check", "check_circle", "lock", "shield_lock", "phone_in_talk", "call", "chevron_left", "chevron_right", "keyboard_arrow_down", "keyboard_arrow_up", "arrow_back", "arrow_forward", "help", "home_pin", "location_on", "timer", "schedule", "add", "remove", "bolt", "rocket", "cloud_sync", "close", "groups", "speed", "mail", "credit_card", "language", "forum", "contract", "local_atm", "headset_mic", "sensors", "wifi", "settings", "home", "devices", "build", "thumb_up", "desktop_windows", "block", "all_inclusive", "verified_user", "extension", "stadia_controller", "visibility_off", "close_fullscreen", "progress_activity", "travel_explore", "share", "business_center", "upload", "videocam", "expand_circle_right", "add_circle", "do_not_disturb_on", "expand_circle_up", "expand_circle_down", "replay", "fiber_manual_record", "menu", "dangerous"];
136
+ declare const OpticalSizes: readonly ["20dp", "24dp", "40dp", "48dp"];
137
+ declare const weights: readonly ["100", "200", "300", "400", "500", "600", "700"];
138
+ declare const emphasis: readonly [-25, 0, 200];
139
+ declare const sizes: readonly [20, 24, 32, 40, 48, 52];
140
+
141
+ type Fill = 1 | 0;
142
+ type IconName = (typeof iconNameList)[number];
143
+ type OpticalSize = (typeof OpticalSizes)[number];
144
+ type Weight = (typeof weights)[number];
145
+ type Emphasis = (typeof emphasis)[number];
146
+ type Size$1 = (typeof sizes)[number];
147
+ type IconProps = {
148
+ name: IconName;
149
+ fill?: Fill;
150
+ opticalSize?: OpticalSize;
151
+ weight?: Weight;
152
+ emphasis?: Emphasis;
153
+ size?: Size$1;
154
+ color?: string;
155
+ style?: CSSProperties;
156
+ className?: string;
157
+ onClick?: () => void;
158
+ dataTestId?: string;
159
+ };
160
+
161
+ declare const MaterialIcon: React__default.FC<IconProps>;
162
+
163
+ type SpinnerProps = {
164
+ size?: "small" | "medium" | "large" | "xlarge";
165
+ color?: string;
166
+ className?: string;
167
+ } & React.HTMLAttributes<HTMLDivElement>;
168
+
169
+ declare const Spinner: React__default.FunctionComponent<SpinnerProps>;
170
+
171
+ type TextVariant = "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "subheading1" | "subheading2" | "subheading3" | "subheading4" | "subheading5" | "subheading6" | "body1" | "body2" | "body3" | "footnote" | "micro" | "label1" | "label2" | "label3" | "label4" | "error" | "unstyled";
172
+ interface TextProps extends HTMLAttributes<HTMLElement> {
173
+ /** Content to render inside the text element */
174
+ children?: ReactNode;
175
+ /** Custom HTML element to render as */
176
+ as?: keyof React$1.JSX.IntrinsicElements;
177
+ /** Custom className for the text */
178
+ className?: string;
179
+ /** Custom styles */
180
+ style?: CSSProperties;
181
+ }
182
+
183
+ declare const Text: React__default.ForwardRefExoticComponent<TextProps & React__default.RefAttributes<HTMLElement>>;
184
+
185
+ declare const CallButton: {
186
+ (props: CallButtonProps): react_jsx_runtime.JSX.Element;
187
+ displayName: string;
188
+ };
189
+
190
+ type Size = "xl" | "lg" | "md" | "sm" | "xs";
191
+ type Shape = "rounded" | "default";
192
+ type Animation = "popper" | "bottomSheet";
193
+ type OwnProps$2 = {
194
+ size?: Size;
195
+ shape?: Shape;
196
+ title?: string;
197
+ bodyClassName?: string | null | undefined;
198
+ closeWrapperClassName?: string | null | undefined;
199
+ closeButtonClassName?: string | null | undefined;
200
+ bodyStyle?: React.CSSProperties;
201
+ centered?: boolean;
202
+ hideScrollOnIsOpenFalse?: boolean;
203
+ parentSelector?: string;
204
+ animation?: Animation;
205
+ hideCloseButton?: boolean;
206
+ ["data-testid"]?: string;
207
+ ["data-cy"]?: string;
208
+ };
209
+ type ModalProps = OwnProps$2 & Props;
210
+
211
+ declare const Modal: React__default.FC<ModalProps>;
212
+
213
+ declare const Accordion: React.FC<AccordionProps>;
214
+
215
+ type InfoIconProps = {
216
+ onClick?: () => void;
217
+ dataTestId?: string;
218
+ };
219
+ type CheckboxProps = {
220
+ checked?: boolean;
221
+ onChange?: ((isChecked: boolean) => void) | (() => void);
222
+ state?: "default" | "focus" | "disabled";
223
+ className?: string;
224
+ containerClassName?: string;
225
+ label?: string | ReactNode;
226
+ labelClassName?: string;
227
+ name?: string;
228
+ value?: string | number | boolean;
229
+ id?: string;
230
+ disabled?: boolean;
231
+ required?: boolean;
232
+ error?: boolean;
233
+ "data-cy"?: string;
234
+ renderInfoIcon?: InfoIconProps;
235
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'checked' | 'onChange'>;
236
+
237
+ declare const Checkbox: React__default.FC<CheckboxProps>;
238
+
239
+ interface SelectOption<T = any> {
240
+ label: string;
241
+ value: string;
242
+ data?: T;
243
+ }
244
+ type FilterOptions = {
245
+ ignoreCase?: boolean;
246
+ ignoreAccents?: boolean;
247
+ trim?: boolean;
248
+ matchFrom?: "start" | "any";
249
+ };
250
+ type OwnProps$1 = {
251
+ options: SelectOption[];
252
+ value?: SelectOption;
253
+ className?: string;
254
+ isCustomStyle?: boolean;
255
+ controlClassName?: string;
256
+ filterOptions?: FilterOptions;
257
+ hasError?: boolean;
258
+ error?: string;
259
+ helperText?: string;
260
+ label?: string;
261
+ labelClassName?: string;
262
+ size?: "sm" | "md";
263
+ variant?: "default" | "unstyled";
264
+ "data-cy"?: string;
265
+ "data-testid"?: string;
266
+ };
267
+ type SelectProps = OwnProps$1 & Omit<Props$1<SelectOption>, "options" | "value" | "className">;
268
+
269
+ declare const Select: React__default.FC<SelectProps>;
270
+
271
+ type AlertCardProps = {
272
+ errorMessage?: string | ReactNode;
273
+ className?: string;
274
+ textVariant?: TextVariant$1;
275
+ };
276
+
277
+ declare const AlertCard: React__default.FC<AlertCardProps>;
278
+
279
+ type ButtonVariantsT = "primary_brand" | "primary_inverse" | "secondary";
280
+ type ButtonSizeT = "small" | "medium" | "large" | "x-large";
281
+ type ResponsiveSize = {
282
+ base?: ButtonSizeT;
283
+ md?: ButtonSizeT;
284
+ lg?: ButtonSizeT;
285
+ };
286
+ type ButtonCustomProps = {
287
+ /** Button styling variant */
288
+ variant?: ButtonVariantsT;
289
+ /** Loading state - shows spinner and disables button */
290
+ isLoading?: boolean;
291
+ label?: string;
292
+ text?: string;
293
+ fullWidth?: boolean;
294
+ size?: ResponsiveSize;
295
+ };
296
+ type ButtonProps = ButtonCustomProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className">;
297
+
298
+ declare const BrandButton: React$1.ForwardRefExoticComponent<_shared_components_brand_button_types.ButtonCustomProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className"> & React$1.RefAttributes<HTMLButtonElement>>;
299
+
300
+ declare const Checklist: React__default.FC<ChecklistProps>;
301
+
302
+ type CollapsibleProps = {
303
+ open: boolean;
304
+ children: React__default.ReactNode;
305
+ };
306
+
307
+ declare const Collapse: {
308
+ (props: CollapsibleProps): react_jsx_runtime.JSX.Element;
309
+ displayName: string;
310
+ };
311
+
312
+ type DividerProps = {
313
+ className?: string;
314
+ } & React.HTMLAttributes<HTMLDivElement>;
315
+
316
+ declare const Divider: React__default.FC<DividerProps>;
317
+
318
+ type OwnProps = {
319
+ name: string;
320
+ value?: string | number;
321
+ checked?: boolean;
322
+ onChange?: (newVal?: string | number) => void;
323
+ label?: string | ReactNode;
324
+ subText?: string;
325
+ className?: string;
326
+ labelProps?: LabelHTMLAttributes<HTMLLabelElement>;
327
+ variant?: "circle";
328
+ hasError?: boolean;
329
+ "data-cy"?: string;
330
+ labelClassName?: string;
331
+ };
332
+ type RadioButtonProps = OwnProps & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "name" | "checked">;
333
+
334
+ declare const RadioButton: React__default.FC<RadioButtonProps>;
335
+
336
+ declare const SeeMore: React.FC<SeeMoreProps>;
337
+
338
+ type SelectPlanButtonProps = {
339
+ onSelect: () => void;
340
+ speed: string;
341
+ };
342
+
343
+ declare const SelectPlanButton: React.FC<SelectPlanButtonProps>;
344
+
345
+ type SkeletonProps = {
346
+ className?: string;
347
+ count?: number;
348
+ };
349
+
350
+ declare const Skeleton: FC<SkeletonProps>;
351
+
352
+ declare const PageSkeleton: FC;
353
+
354
+ type ToolTipProps = {
355
+ tooltipMsg: string;
356
+ children: ReactNode;
357
+ className?: string;
358
+ };
359
+
360
+ declare function Tooltip({ tooltipMsg, className, children, }: ToolTipProps): react_jsx_runtime.JSX.Element;
361
+ declare namespace Tooltip {
362
+ var displayName: string;
363
+ }
364
+
365
+ type ViewCartButtonProps = {
366
+ cartTotalText: string;
367
+ onClick: () => void;
368
+ isOpen: boolean;
369
+ } & React.ButtonHTMLAttributes<HTMLButtonElement>;
370
+
371
+ declare const ViewCartButton: React.FC<ViewCartButtonProps>;
372
+
373
+ /**
374
+ * A custom hook that locks the body scroll based on the `isOpen` and `hideScrollOnIsOpenFalse` flags.
375
+ *
376
+ * @param {boolean} isOpen - Determines if the scroll should be locked (hidden).
377
+ * @param {boolean} hideScrollOnIsOpenFalse - Determines if the scroll should be reset when `isOpen` is false.
378
+ */
379
+ declare function useBodyScrollLock(isOpen: boolean, hideScrollOnIsOpenFalse: boolean): void;
380
+
381
+ /**
382
+ * Utility function to combine class names using clsx
383
+ * @param inputs - Class values to combine
384
+ * @returns Combined class string
385
+ */
386
+ declare const cx: (...val: ClassValue[]) => string;
387
+
388
+ export { Accordion, AlertCard, BrandButton, Button, CallButton, Checkbox, Checklist, Collapse, Divider, Input, InputField, Link, List, ListItem, MaterialIcon, Modal, PageSkeleton, RadioButton, SeeMore, Select, SelectPlanButton, Skeleton, Spinner, Text, Input as TextInput, Tooltip, ViewCartButton, cx, useBodyScrollLock };
389
+ export type { AlertCardProps, Animation, ButtonProps as BrandButtonProps, ButtonSizeT, ButtonVariantsT, CheckboxProps, CollapsibleProps, DividerProps, FilterOptions, IconName, IconProps, InputFieldProps, InputProps, LinkProps, ListItemProps, ListProps, ModalProps, RadioButtonProps, ResponsiveSize, SelectOption, SelectPlanButtonProps, SelectProps, Shape, Size, SkeletonProps, SpinnerProps, TextProps, TextVariant, ToolTipProps, ViewCartButtonProps };