@uniformdev/design-system 18.15.0 → 18.16.1-alpha.6

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 (2) hide show
  1. package/dist/index.d.ts +11 -11
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -257,7 +257,7 @@ type ButtonProps = ButtonProps$1 & {
257
257
  * @param {BaseButtonProps} props - object of button props from reakit
258
258
  * @example <Button buttonType="secondary" size="md" onClick={() => alert('hello world')}>Click me</Button>
259
259
  */
260
- declare const Button: React$1.ForwardRefExoticComponent<Pick<ButtonProps, "form" | "slot" | "style" | "title" | "className" | "key" | "type" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "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" | "onResize" | "onResizeCapture" | "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" | "value" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "focusable" | "size" | "buttonType" | "unstable_system" | "unstable_clickOnEnter" | "unstable_clickOnSpace" | "wrapElement" | "rounded"> & React$1.RefAttributes<HTMLButtonElement>>;
260
+ declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
261
261
 
262
262
  type ButtonThemeProps = 'primary' | 'secondary' | 'unimportant' | 'ghost';
263
263
  interface ActionButtonsProps {
@@ -1104,13 +1104,13 @@ type TableCellDataProps = React$1.ComponentPropsWithoutRef<'td'>;
1104
1104
  </TableFoot>
1105
1105
  </Table>
1106
1106
  */
1107
- declare const Table: React$1.ForwardRefExoticComponent<Pick<React$1.DetailedHTMLProps<React$1.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "key" | keyof React$1.TableHTMLAttributes<HTMLTableElement>> & React$1.RefAttributes<HTMLTableElement>>;
1108
- declare const TableHead: React$1.ForwardRefExoticComponent<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "key" | keyof React$1.HTMLAttributes<HTMLTableSectionElement>> & React$1.RefAttributes<HTMLTableSectionElement>>;
1109
- declare const TableBody: React$1.ForwardRefExoticComponent<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "key" | keyof React$1.HTMLAttributes<HTMLTableSectionElement>> & React$1.RefAttributes<HTMLTableSectionElement>>;
1110
- declare const TableFoot: React$1.ForwardRefExoticComponent<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "key" | keyof React$1.HTMLAttributes<HTMLTableSectionElement>> & React$1.RefAttributes<HTMLTableSectionElement>>;
1111
- declare const TableRow: React$1.ForwardRefExoticComponent<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "key" | keyof React$1.HTMLAttributes<HTMLTableRowElement>> & React$1.RefAttributes<HTMLTableRowElement>>;
1112
- declare const TableCellHead: React$1.ForwardRefExoticComponent<Pick<React$1.DetailedHTMLProps<React$1.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "key" | keyof React$1.ThHTMLAttributes<HTMLTableHeaderCellElement>> & React$1.RefAttributes<HTMLTableCellElement>>;
1113
- declare const TableCellData: React$1.ForwardRefExoticComponent<Pick<React$1.DetailedHTMLProps<React$1.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "key" | keyof React$1.TdHTMLAttributes<HTMLTableDataCellElement>> & React$1.RefAttributes<HTMLTableCellElement>>;
1107
+ declare const Table: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref"> & React$1.RefAttributes<HTMLTableElement>>;
1108
+ declare const TableHead: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React$1.RefAttributes<HTMLTableSectionElement>>;
1109
+ declare const TableBody: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React$1.RefAttributes<HTMLTableSectionElement>>;
1110
+ declare const TableFoot: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React$1.RefAttributes<HTMLTableSectionElement>>;
1111
+ declare const TableRow: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & React$1.RefAttributes<HTMLTableRowElement>>;
1112
+ declare const TableCellHead: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & React$1.RefAttributes<HTMLTableCellElement>>;
1113
+ declare const TableCellData: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "ref"> & React$1.RefAttributes<HTMLTableCellElement>>;
1114
1114
 
1115
1115
  declare const useCurrentTab: () => TabState;
1116
1116
  interface TabsProps {
@@ -1325,7 +1325,7 @@ type LinkProps = React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
1325
1325
  /** Uniform Link Component
1326
1326
  * @example <Link text="my link" href="#" />
1327
1327
  */
1328
- declare const Link: React$1.ForwardRefExoticComponent<Pick<LinkProps, "text" | "external" | "linkColor" | keyof React$1.AnchorHTMLAttributes<HTMLAnchorElement>> & React$1.RefAttributes<HTMLAnchorElement>>;
1328
+ declare const Link: React$1.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
1329
1329
  type LinkManagerWithRefType = (props: Partial<LinkProps> & {
1330
1330
  as?: string;
1331
1331
  href: string;
@@ -1336,7 +1336,7 @@ type LinkManagerWithRefType = (props: Partial<LinkProps> & {
1336
1336
  * We recommend using this link `next/link`
1337
1337
  * @example <LinkWithRef linkManagerComponent={NextLink} href="some-url" text="my link" />
1338
1338
  */
1339
- declare const LinkWithRef: React$1.ForwardRefExoticComponent<Pick<React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
1339
+ declare const LinkWithRef: React$1.ForwardRefExoticComponent<Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
1340
1340
  /** sets the link text and title text */
1341
1341
  text: string;
1342
1342
  /** (optional) sets the link color
@@ -1353,7 +1353,7 @@ declare const LinkWithRef: React$1.ForwardRefExoticComponent<Pick<React$1.Anchor
1353
1353
  href: string;
1354
1354
  as?: string | undefined;
1355
1355
  linkManagerComponent: LinkManagerWithRefType;
1356
- }, "text" | "as" | "external" | "linkColor" | keyof React$1.AnchorHTMLAttributes<HTMLAnchorElement> | "linkManagerComponent"> & React$1.RefAttributes<HTMLAnchorElement>>;
1356
+ }, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
1357
1357
 
1358
1358
  interface RouteProps {
1359
1359
  as: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/design-system",
3
- "version": "18.15.0",
3
+ "version": "18.16.1-alpha.6+644024d8a",
4
4
  "description": "Uniform design system components",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -20,7 +20,7 @@
20
20
  "@emotion/jest": "11.10.5",
21
21
  "@storybook/addon-docs": "6.5.16",
22
22
  "@storybook/react": "6.5.16",
23
- "@types/react": "18.0.27",
23
+ "@types/react": "18.0.28",
24
24
  "autoprefixer": "10.4.13",
25
25
  "hygen": "6.2.11",
26
26
  "postcss": "8.4.21",
@@ -49,5 +49,5 @@
49
49
  "publishConfig": {
50
50
  "access": "public"
51
51
  },
52
- "gitHead": "ca810e990c3383c9ffb39bb67787f4ac3a1cc075"
52
+ "gitHead": "644024d8ad8a3f1f9341039c8813f03058068e9b"
53
53
  }