@livepeer/design-system 0.0.0-beta.8 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. package/LICENSE +7 -0
  2. package/README.md +6 -2
  3. package/dist/components/Accordion.d.ts +1512 -0
  4. package/dist/components/Alert.d.ts +752 -0
  5. package/dist/components/AlertDialog.d.ts +9 -7
  6. package/dist/components/AppBar.d.ts +755 -0
  7. package/dist/components/Avatar.d.ts +2270 -0
  8. package/dist/components/Badge.d.ts +147 -385
  9. package/dist/components/Banner.d.ts +754 -1
  10. package/dist/components/Box.d.ts +749 -0
  11. package/dist/components/Button.d.ts +753 -1
  12. package/dist/components/Card.d.ts +147 -385
  13. package/dist/components/Checkbox.d.ts +761 -0
  14. package/dist/components/Code.d.ts +751 -0
  15. package/dist/components/Container.d.ts +147 -385
  16. package/dist/components/ContextMenu.d.ts +3766 -0
  17. package/dist/components/ControlGroup.d.ts +749 -0
  18. package/dist/components/DesignSystemProvider.d.ts +9 -0
  19. package/dist/components/Dialog.d.ts +9 -3
  20. package/dist/components/DropdownMenu.d.ts +6016 -3
  21. package/dist/components/Flex.d.ts +755 -0
  22. package/dist/components/Grid.d.ts +757 -0
  23. package/dist/components/Heading.d.ts +14 -0
  24. package/dist/components/IconButton.d.ts +753 -0
  25. package/dist/components/Image.d.ts +749 -0
  26. package/dist/components/Kbd.d.ts +752 -0
  27. package/dist/components/Label.d.ts +755 -1
  28. package/dist/components/Link.d.ts +148 -386
  29. package/dist/components/Menu.d.ts +10498 -0
  30. package/dist/components/Overlay.d.ts +1498 -0
  31. package/dist/components/Panel.d.ts +1498 -0
  32. package/dist/components/Paragraph.d.ts +14 -0
  33. package/dist/components/Popover.d.ts +13 -0
  34. package/dist/components/ProgressBar.d.ts +761 -0
  35. package/dist/components/Promo.d.ts +754 -1
  36. package/dist/components/Radio.d.ts +1510 -0
  37. package/dist/components/RadioCard.d.ts +149 -389
  38. package/dist/components/RadioGrid.d.ts +1500 -0
  39. package/dist/components/Scrollbar.d.ts +6 -0
  40. package/dist/components/Section.d.ts +751 -0
  41. package/dist/components/Select.d.ts +1504 -1
  42. package/dist/components/Separator.d.ts +753 -0
  43. package/dist/components/Sheet.d.ts +766 -0
  44. package/dist/components/SimpleToggle.d.ts +753 -0
  45. package/dist/components/Skeleton.d.ts +751 -0
  46. package/dist/components/Slider.d.ts +758 -0
  47. package/dist/components/Snackbar/SnackbarProvider.d.ts +2 -2
  48. package/dist/components/Snackbar/transitionStyles.d.ts +58 -58
  49. package/dist/components/Snackbar/useSnackbar.d.ts +1 -1
  50. package/dist/components/Status.d.ts +752 -0
  51. package/dist/components/Sub.d.ts +749 -0
  52. package/dist/components/Sup.d.ts +749 -0
  53. package/dist/components/Switch.d.ts +1509 -1
  54. package/dist/components/TabLink.d.ts +751 -0
  55. package/dist/components/Table.d.ts +1178 -3082
  56. package/dist/components/Tabs.d.ts +4500 -4
  57. package/dist/components/Text.d.ts +753 -1
  58. package/dist/components/TextArea.d.ts +753 -0
  59. package/dist/components/TextField.d.ts +754 -1
  60. package/dist/components/Tooltip.d.ts +10 -0
  61. package/dist/components/TreeItem.d.ts +751 -0
  62. package/dist/components/VerifiedBadge.d.ts +762 -0
  63. package/dist/custom/AppBar.d.ts +148 -386
  64. package/dist/custom/Avatars.d.ts +1 -0
  65. package/dist/custom/DarkThemeButton.d.ts +1 -0
  66. package/dist/custom/Kbds.d.ts +1 -0
  67. package/dist/custom/Snackbar.d.ts +1 -0
  68. package/dist/custom/Toolbar.d.ts +1 -0
  69. package/dist/index.d.ts +53 -20
  70. package/dist/index.es.js +3787 -1565
  71. package/dist/index.js +3897 -1890
  72. package/dist/stitches.config.d.ts +6320 -23
  73. package/package.json +61 -58
  74. package/dist/components/Accordian.d.ts +0 -4
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { TooltipProvider } from "@radix-ui/react-tooltip";
3
+ declare type TooltipProviderProps = React.ComponentProps<typeof TooltipProvider>;
4
+ interface DesignSystemProviderProps extends TooltipProviderProps {
5
+ }
6
+ export declare const DesignSystemProvider: React.FC<DesignSystemProviderProps & {
7
+ children: React.ReactNode;
8
+ }>;
9
+ export {};
@@ -1,10 +1,16 @@
1
- import React from "react";
2
1
  import * as DialogPrimitive from "@radix-ui/react-dialog";
3
- declare type DialogProps = React.ComponentProps<typeof DialogPrimitive.Root> & {
2
+ import React from "react";
3
+ import { CSS } from "../stitches.config";
4
+ export declare type DialogProps = React.ComponentProps<typeof DialogPrimitive.Root> & {
4
5
  children: React.ReactNode;
5
6
  };
6
7
  export declare function Dialog({ children, ...props }: DialogProps): JSX.Element;
7
- export declare const DialogContent: ({ children, animation, ...props }: any) => JSX.Element;
8
+ declare type DialogContentPrimitiveProps = React.ComponentProps<typeof DialogPrimitive.Content>;
9
+ declare type DialogContentProps = DialogContentPrimitiveProps & {
10
+ css?: CSS;
11
+ animation?: "scale" | "fade";
12
+ };
13
+ export declare const DialogContent: React.ForwardRefExoticComponent<Pick<DialogContentProps, "slot" | "style" | "title" | "color" | "translate" | "animation" | "hidden" | "css" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "asChild" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "onOpenAutoFocus" | "onCloseAutoFocus" | "forceMount"> & React.RefAttributes<HTMLDivElement>>;
8
14
  export declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
9
15
  export declare const DialogTitle: React.ForwardRefExoticComponent<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
10
16
  export declare const DialogDescription: React.ForwardRefExoticComponent<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;