@wavy/react-ui 0.0.68 → 0.0.73

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/main.d.ts CHANGED
@@ -28,42 +28,42 @@ declare enum ColorResources {
28
28
  white = "#FFF",
29
29
  black = "#000",
30
30
  gray = "#808080",
31
+ darkPurple = "#3c1053",
32
+ deepSkyBlue = "#00BFFF",
33
+ lightSkyBlue = "#87CEFA",
34
+ teal = "#008080",
35
+ cyan = "#009688",
36
+ darkCyan = "#008B8B",
37
+ gold = "#d4af37",
38
+ navyBlue = "#000080",
39
+ carlsbergGreen = "#17B169",
40
+ billsRed = "#C60C30",
41
+ purple = "#662d91",
42
+ matteBlack = "#28282B",
31
43
  pdf = "#F40F02",
32
44
  word = "#41A5EE",
33
45
  excel = "#21A366",
34
46
  img = "#8d481f",
35
47
  txt = "#8c61a9",
36
- darkCyan = "#008B8B",
37
- darkPurple = "#3c1053",
38
- deepSkyBlue = "#00BFFF",
39
- lightSkyBlue = "#87CEFA",
40
48
  sendBlue = "#0a57d0",
41
49
  onSendBlue = "#c3dfff",
42
- book_it = "#009688",
43
50
  stickyNote = "#EFAD03",
44
- matteBlack = "#28282B",
45
- navyBlue = "#000080",
46
- teal = "#008080",
47
51
  paper = "#ffffff",
48
52
  onPaper = "#28282B",
49
53
  paperVariant = "#E6E6E6",
50
54
  success = "#4BB543",
51
55
  hyperlink = "#2979ff",
52
- gold = "#d4af37",
53
- carlsbergGreen = "#17B169",
54
- billsRed = "#C60C30",
55
- info = "#1565c0",
56
- error = "#C60C30",
57
- purple = "#662d91",
58
- warning = "#f9a825",
56
+ pdf_table_header = "#28282B",
57
+ delete = "#C60C30",
59
58
  jsonKey = "#D56C75",
60
- string = "#59A779",
61
- number = "#D19A5A",
62
- boolean = "#56B6C2",
63
59
  jsonBracket = "#FFCA1D",
64
60
  arrayBracket = "#DA68A7",
65
- delete = "#C60C30",
66
- pdf_table_header = "#28282B"
61
+ string = "#59A779",
62
+ boolean = "#56B6C2",
63
+ number = "#D19A5A",
64
+ info = "#15436F",
65
+ error = "#6D1527",
66
+ warning = "#876422"
67
67
  }
68
68
 
69
69
  declare const CssColors: Readonly<{
@@ -1363,6 +1363,29 @@ declare namespace BasicTableProps {
1363
1363
  }
1364
1364
  }
1365
1365
 
1366
+ interface BasicOptionProps extends Partial<Record<"leadingEl" | "trailingEl", React.ReactElement>> {
1367
+ value: string | number;
1368
+ selected?: boolean;
1369
+ /**@default "full" */
1370
+ width?: BasicDivProps["width"];
1371
+ /**@default "sm" */
1372
+ padding?: BasicDivProps["padding"];
1373
+ /**@default "md" */
1374
+ corners?: BasicDivProps["corners"];
1375
+ /**@default "sm" */
1376
+ fontSize?: BasicSpanProps["fontSize"];
1377
+ fontWeight?: BasicSpanProps["fontWeight"];
1378
+ color?: BasicColor$1;
1379
+ disabled?: boolean;
1380
+ backgroundColor?: BasicColor$1;
1381
+ hideSelectedTick?: boolean;
1382
+ sx?: InlineCss;
1383
+ scrollIntoView?: boolean;
1384
+ onClick?: () => void;
1385
+ formatOption?: (value: string) => string;
1386
+ }
1387
+ declare function BasicOption(props: BasicOptionProps): react_jsx_runtime.JSX.Element;
1388
+
1366
1389
  type VerticalPlacement = "top" | "center" | "bottom";
1367
1390
  type HorizontalPlacement = "left" | "center" | "right";
1368
1391
  type FloaterWidth = BasicDivProps["width"] | "match-anchor";
@@ -1461,29 +1484,6 @@ interface BasicSelectProps<T> extends SafeOmit<PopoverProps, "displayAction" | "
1461
1484
  }
1462
1485
  declare function BasicSelect<T extends string | number>(props: BasicSelectProps<T>): react_jsx_runtime.JSX.Element;
1463
1486
 
1464
- interface BasicOptionProps extends Partial<Record<"leadingEl" | "trailingEl", React.ReactElement>> {
1465
- value: string | number;
1466
- selected?: boolean;
1467
- /**@default "full" */
1468
- width?: BasicDivProps["width"];
1469
- /**@default "sm" */
1470
- padding?: BasicDivProps["padding"];
1471
- /**@default "md" */
1472
- corners?: BasicDivProps["corners"];
1473
- /**@default "sm" */
1474
- fontSize?: BasicSpanProps["fontSize"];
1475
- fontWeight?: BasicSpanProps["fontWeight"];
1476
- color?: BasicColor$1;
1477
- disabled?: boolean;
1478
- backgroundColor?: BasicColor$1;
1479
- hideSelectedTick?: boolean;
1480
- sx?: InlineCss;
1481
- scrollIntoView?: boolean;
1482
- onClick?: () => void;
1483
- formatOption?: (value: string) => string;
1484
- }
1485
- declare function BasicOption(props: BasicOptionProps): react_jsx_runtime.JSX.Element;
1486
-
1487
1487
  type Style = SafeOmit<CSS.Properties, "backgroundColor" | "color" | "borderColor" | "fontSize"> & {
1488
1488
  backgroundColor?: BasicColor$1;
1489
1489
  color?: BasicColor$1;
@@ -3562,4 +3562,4 @@ declare function Scale(props: AnimationProps): React__default.ReactElement<{
3562
3562
  ref: React__default.Ref<HTMLElement>;
3563
3563
  }, string | React__default.JSXElementConstructor<any>>;
3564
3564
 
3565
- export { AttachmentsButton, AttachmentsDialog, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, BasicButton, type BasicColor$1 as BasicColor, BasicDiv, BasicImg, BasicOl, BasicOption, BasicSelect, BasicSpan, type BasicStyleProps, BasicTable, BasicTableProps, Calendar, CalendarDialog, type CalendarProps, CancelButton, Card, CardProps, Checkbox, type CheckboxProps, ColorResources, type ComputedStyleProps, ConfirmationDialog, type ConfirmationDialogProps, CopyButton, CssColors, type CssProperties, CssShapes, CssSpacing, Debounce, type DebounceProps, DeleteButton, Dialog, DialogProps, Disclaimer, type DisclaimerProps, DownloadButton, Drawer, DrawerProps, EditButton, Editable, type EditableProps, EmailComposer, EmptyState, EmptyStateProps, ErrorTooltip, EventContainer, type EventContainerProps, ExpandableButton, Fade, FancyFormDialog, type FancyFormDialogProps, FileDropzone, type FileDropzoneProps, FileViewer, FileViewerProps, FontSize, Indicator, type IndicatorProps, type InlineCss, ItemInfo, type ItemInfoProps, JsonViewer, type JwtVerificationStatus, JwtVerifier, type JwtVerifierProps, MediaCard, MediaCardProps, Menu, type MenuPlacement, MoneyDisplayCard, NegativeButton, NextButton, NoButton, OpenButton, OptionsButton, PageIndicator, type PageIndicatorProps, PageSlider, type PageSliderProps, Paper, type PaperProps, PasteButton, PaymentOptionsButton, PaymentOptionsDialog, PictureUploader, Popover, type PopoverProps, PositiveButton, PreviousButton, ProfileCard, ProfileCardProps, ProgressBar, type ProgressBarProps, ReceiptCard, SaveButton, Scale, SearchTextField, SegmentedControls, type SegmentedControlsProps, SendButton, Separator, type SeparatorProps, SignInWidget, SimpleFormDialog, type SimpleFormDialogProps, Spinner, type SpinnerProps, Status, type StatusProps, Stepper, type StepperProps, SubmitButton, Switch, type SwitchProps, Tag, type TagProps, TaskLogger, TaskResultDialog, Terminal, TextField, type TextFieldProps, Timeline, TimelineProps, Tooltip, type TooltipPlacement, type TooltipProps, UploadButton, UploadReceiptButton, type UseModalControlsReturn, type UsePageSliderControllerReturn, UserProfile, VerifyButton, VerifyTextField, UiProvider as WavyUi, YesButton, YesNoButtonGroup, YesOrNoForm, applyBasicStyle, bankTransferPaymentOption, borderRadius, buildCSS, computedCssVariable, convertHexUnitTo256, cssTransition, definePaymentOption, disabledBorderRadius, dragElement, ellipsis, flexCenter, getFileIcon, getPaperDim, getScrollParent, hexToRgba, inAppPaymentOption, isOverflown, isSpanMultiLine, isValidHex, nativeEllipsis, noSpaceStyle, paperStyle, remAsPx, remToPx, resolveBasicColor, resolveFontSize, resolveSpace, restrictLineCount, rgbToRgba, screenHasMaxWidth, screenHasMinWidth, solidBorder, stripHtml, tiledBackground, useAnimation, useAsyncEffect, useComputedStyle, useEvent, useModalControls, usePageSliderController, usePopoverContext, usePostRenderEffect, useRerender, useSessionStorage, useSmartState, useStore };
3565
+ export { AttachmentsButton, AttachmentsDialog, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, BasicButton, type BasicColor$1 as BasicColor, BasicDiv, BasicImg, BasicOl, BasicOption, BasicSelect, type BasicSelectProps, BasicSpan, type BasicStyleProps, BasicTable, BasicTableProps, Calendar, CalendarDialog, type CalendarProps, CancelButton, Card, CardProps, Checkbox, type CheckboxProps, ColorResources, type ComputedStyleProps, ConfirmationDialog, type ConfirmationDialogProps, CopyButton, CssColors, type CssProperties, CssShapes, CssSpacing, Debounce, type DebounceProps, DeleteButton, Dialog, DialogProps, Disclaimer, type DisclaimerProps, DownloadButton, Drawer, DrawerProps, EditButton, Editable, type EditableProps, EmailComposer, EmptyState, EmptyStateProps, ErrorTooltip, EventContainer, type EventContainerProps, ExpandableButton, Fade, FancyFormDialog, type FancyFormDialogProps, FileDropzone, type FileDropzoneProps, FileViewer, FileViewerProps, FontSize, Indicator, type IndicatorProps, type InlineCss, ItemInfo, type ItemInfoProps, JsonViewer, type JwtVerificationStatus, JwtVerifier, type JwtVerifierProps, MediaCard, MediaCardProps, Menu, type MenuPlacement, MoneyDisplayCard, NegativeButton, NextButton, NoButton, OpenButton, OptionsButton, PageIndicator, type PageIndicatorProps, PageSlider, type PageSliderProps, Paper, type PaperProps, PasteButton, PaymentOptionsButton, PaymentOptionsDialog, PictureUploader, Popover, type PopoverProps, PositiveButton, PreviousButton, ProfileCard, ProfileCardProps, ProgressBar, type ProgressBarProps, ReceiptCard, SaveButton, Scale, SearchTextField, SegmentedControls, type SegmentedControlsProps, SendButton, Separator, type SeparatorProps, SignInWidget, SimpleFormDialog, type SimpleFormDialogProps, Spinner, type SpinnerProps, Status, type StatusProps, Stepper, type StepperProps, SubmitButton, Switch, type SwitchProps, Tag, type TagProps, TaskLogger, TaskResultDialog, Terminal, TextField, type TextFieldProps, Timeline, TimelineProps, Tooltip, type TooltipPlacement, type TooltipProps, UploadButton, UploadReceiptButton, type UseModalControlsReturn, type UsePageSliderControllerReturn, UserProfile, VerifyButton, VerifyTextField, UiProvider as WavyUi, YesButton, YesNoButtonGroup, YesOrNoForm, applyBasicStyle, bankTransferPaymentOption, borderRadius, buildCSS, computedCssVariable, convertHexUnitTo256, cssTransition, definePaymentOption, disabledBorderRadius, dragElement, ellipsis, flexCenter, getFileIcon, getPaperDim, getScrollParent, hexToRgba, inAppPaymentOption, isOverflown, isSpanMultiLine, isValidHex, nativeEllipsis, noSpaceStyle, paperStyle, remAsPx, remToPx, resolveBasicColor, resolveFontSize, resolveSpace, restrictLineCount, rgbToRgba, screenHasMaxWidth, screenHasMinWidth, solidBorder, stripHtml, tiledBackground, useAnimation, useAsyncEffect, useComputedStyle, useEvent, useModalControls, usePageSliderController, usePopoverContext, usePostRenderEffect, useRerender, useSessionStorage, useSmartState, useStore };