@primer/components 0.0.0-2021108175016 → 0.0.0-2021108205537
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/CHANGELOG.md +5 -3
- package/dist/browser.esm.js +472 -473
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +73 -74
- package/dist/browser.umd.js.map +1 -1
- package/lib/Autocomplete/Autocomplete.d.ts +28 -28
- package/lib/Autocomplete/AutocompleteInput.d.ts +28 -28
- package/lib/Button/Button.d.ts +25 -25
- package/lib/Button/ButtonClose.d.ts +45 -45
- package/lib/Button/ButtonDanger.d.ts +25 -25
- package/lib/Button/ButtonInvisible.d.ts +25 -25
- package/lib/Button/ButtonOutline.d.ts +25 -25
- package/lib/Button/ButtonPrimary.d.ts +25 -25
- package/lib/CircleOcticon.d.ts +42 -42
- package/lib/Dialog.d.ts +45 -45
- package/lib/Dropdown.d.ts +176 -176
- package/lib/DropdownMenu/DropdownButton.d.ts +46 -46
- package/lib/FilterList.d.ts +42 -42
- package/lib/Position.d.ts +4 -4
- package/lib/SelectMenu/SelectMenu.d.ts +246 -246
- package/lib/SelectMenu/SelectMenuItem.d.ts +1 -1
- package/lib/SelectMenu/SelectMenuModal.d.ts +1 -1
- package/lib/SideNav.d.ts +11 -8
- package/lib/SideNav.js +8 -15
- package/lib/TextInputWithTokens.d.ts +28 -28
- package/lib/Timeline.d.ts +43 -43
- package/lib/Token/AvatarToken.d.ts +1 -1
- package/lib/Token/IssueLabelToken.d.ts +1 -1
- package/lib/Token/Token.d.ts +1 -1
- package/lib/sx.d.ts +0 -2
- package/lib/sx.js +0 -8
- package/lib/theme-preval.js +2 -81
- package/lib/utils/testing.d.ts +1 -14
- package/lib-esm/Autocomplete/Autocomplete.d.ts +28 -28
- package/lib-esm/Autocomplete/AutocompleteInput.d.ts +28 -28
- package/lib-esm/Button/Button.d.ts +25 -25
- package/lib-esm/Button/ButtonClose.d.ts +45 -45
- package/lib-esm/Button/ButtonDanger.d.ts +25 -25
- package/lib-esm/Button/ButtonInvisible.d.ts +25 -25
- package/lib-esm/Button/ButtonOutline.d.ts +25 -25
- package/lib-esm/Button/ButtonPrimary.d.ts +25 -25
- package/lib-esm/CircleOcticon.d.ts +42 -42
- package/lib-esm/Dialog.d.ts +45 -45
- package/lib-esm/Dropdown.d.ts +176 -176
- package/lib-esm/DropdownMenu/DropdownButton.d.ts +46 -46
- package/lib-esm/FilterList.d.ts +42 -42
- package/lib-esm/Position.d.ts +4 -4
- package/lib-esm/SelectMenu/SelectMenu.d.ts +246 -246
- package/lib-esm/SelectMenu/SelectMenuItem.d.ts +1 -1
- package/lib-esm/SelectMenu/SelectMenuModal.d.ts +1 -1
- package/lib-esm/SideNav.d.ts +11 -8
- package/lib-esm/SideNav.js +8 -16
- package/lib-esm/TextInputWithTokens.d.ts +28 -28
- package/lib-esm/Timeline.d.ts +43 -43
- package/lib-esm/Token/AvatarToken.d.ts +1 -1
- package/lib-esm/Token/IssueLabelToken.d.ts +1 -1
- package/lib-esm/Token/Token.d.ts +1 -1
- package/lib-esm/sx.d.ts +0 -2
- package/lib-esm/sx.js +1 -3
- package/lib-esm/theme-preval.js +2 -81
- package/lib-esm/utils/testing.d.ts +1 -14
- package/package.json +2 -4
- package/lib/ActionList2/Description.d.ts +0 -12
- package/lib/ActionList2/Description.js +0 -53
- package/lib/ActionList2/Divider.d.ts +0 -5
- package/lib/ActionList2/Divider.js +0 -35
- package/lib/ActionList2/Group.d.ts +0 -11
- package/lib/ActionList2/Group.js +0 -57
- package/lib/ActionList2/Header.d.ts +0 -26
- package/lib/ActionList2/Header.js +0 -55
- package/lib/ActionList2/Item.d.ts +0 -63
- package/lib/ActionList2/Item.js +0 -234
- package/lib/ActionList2/LinkItem.d.ts +0 -17
- package/lib/ActionList2/LinkItem.js +0 -57
- package/lib/ActionList2/List.d.ts +0 -26
- package/lib/ActionList2/List.js +0 -59
- package/lib/ActionList2/Selection.d.ts +0 -5
- package/lib/ActionList2/Selection.js +0 -70
- package/lib/ActionList2/Visuals.d.ts +0 -11
- package/lib/ActionList2/Visuals.js +0 -90
- package/lib/ActionList2/index.d.ts +0 -40
- package/lib/ActionList2/index.js +0 -47
- package/lib/experiments.d.ts +0 -1
- package/lib/experiments.js +0 -18
- package/lib/utils/create-slots.d.ts +0 -17
- package/lib/utils/create-slots.js +0 -105
- package/lib/utils/use-force-update.d.ts +0 -1
- package/lib/utils/use-force-update.js +0 -19
- package/lib-esm/ActionList2/Description.d.ts +0 -12
- package/lib-esm/ActionList2/Description.js +0 -37
- package/lib-esm/ActionList2/Divider.d.ts +0 -5
- package/lib-esm/ActionList2/Divider.js +0 -23
- package/lib-esm/ActionList2/Group.d.ts +0 -11
- package/lib-esm/ActionList2/Group.js +0 -40
- package/lib-esm/ActionList2/Header.d.ts +0 -26
- package/lib-esm/ActionList2/Header.js +0 -44
- package/lib-esm/ActionList2/Item.d.ts +0 -63
- package/lib-esm/ActionList2/Item.js +0 -201
- package/lib-esm/ActionList2/LinkItem.d.ts +0 -17
- package/lib-esm/ActionList2/LinkItem.js +0 -43
- package/lib-esm/ActionList2/List.d.ts +0 -26
- package/lib-esm/ActionList2/List.js +0 -37
- package/lib-esm/ActionList2/Selection.d.ts +0 -5
- package/lib-esm/ActionList2/Selection.js +0 -52
- package/lib-esm/ActionList2/Visuals.d.ts +0 -11
- package/lib-esm/ActionList2/Visuals.js +0 -68
- package/lib-esm/ActionList2/index.d.ts +0 -40
- package/lib-esm/ActionList2/index.js +0 -33
- package/lib-esm/experiments.d.ts +0 -1
- package/lib-esm/experiments.js +0 -2
- package/lib-esm/utils/create-slots.d.ts +0 -17
- package/lib-esm/utils/create-slots.js +0 -84
- package/lib-esm/utils/use-force-update.d.ts +0 -1
- package/lib-esm/utils/use-force-update.js +0 -6
package/lib/Token/Token.d.ts
CHANGED
@@ -11,5 +11,5 @@ export interface TokenProps extends TokenBaseProps {
|
|
11
11
|
*/
|
12
12
|
hideRemoveButton?: boolean;
|
13
13
|
}
|
14
|
-
declare const Token: React.ForwardRefExoticComponent<Pick<TokenProps & SxProp, "default" | "muted" | "sizes" | "color" | "content" | "height" | "translate" | "width" | "hidden" | "children" | "value" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "text" | "
|
14
|
+
declare const Token: React.ForwardRefExoticComponent<Pick<TokenProps & SxProp, "default" | "muted" | "sizes" | "color" | "content" | "height" | "translate" | "width" | "hidden" | "children" | "value" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "text" | "list" | "type" | "name" | "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" | "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" | "start" | "step" | "size" | "wrap" | "open" | "sx" | "max" | "media" | "method" | "min" | "target" | "crossOrigin" | "href" | "classID" | "useMap" | "wmode" | "as" | "hrefLang" | "integrity" | "rel" | "charSet" | "download" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "playsInline" | "preload" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "dateTime" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "async" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "selected" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "kind" | "srcLang" | "poster" | "leadingVisual" | "onRemove" | "isSelected" | "hideRemoveButton"> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLSpanElement>>;
|
15
15
|
export default Token;
|
package/lib/sx.d.ts
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import { SystemCssProperties, SystemStyleObject } from '@styled-system/css';
|
2
2
|
import { ThemeColorPaths, ThemeShadowPaths } from './theme';
|
3
3
|
import { ColorProps, ShadowProps } from 'styled-system';
|
4
|
-
import merge from 'deepmerge';
|
5
4
|
export declare type BetterCssProperties = {
|
6
5
|
[K in keyof SystemCssProperties]: K extends keyof ColorProps ? ThemeColorPaths | SystemCssProperties[K] : K extends keyof ShadowProps ? ThemeShadowPaths | SystemCssProperties[K] : SystemCssProperties[K];
|
7
6
|
};
|
@@ -11,4 +10,3 @@ export interface SxProp {
|
|
11
10
|
}
|
12
11
|
declare const sx: (props: SxProp) => import("@styled-system/css").CssFunctionReturnType;
|
13
12
|
export default sx;
|
14
|
-
export { merge };
|
package/lib/sx.js
CHANGED
@@ -3,18 +3,10 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
Object.defineProperty(exports, "merge", {
|
7
|
-
enumerable: true,
|
8
|
-
get: function () {
|
9
|
-
return _deepmerge.default;
|
10
|
-
}
|
11
|
-
});
|
12
6
|
exports.default = void 0;
|
13
7
|
|
14
8
|
var _css = _interopRequireDefault(require("@styled-system/css"));
|
15
9
|
|
16
|
-
var _deepmerge = _interopRequireDefault(require("deepmerge"));
|
17
|
-
|
18
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
19
11
|
|
20
12
|
const sx = props => (0, _css.default)(props.sx);
|
package/lib/theme-preval.js
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
// this file was prevaled
|
2
2
|
// This file needs to be a JavaScript file using CommonJS to be compatiable with preval
|
3
|
-
// Cache bust: 2021-11-04 12:00:00 GMT (This file is cached by our deployment tooling, update this timestamp to rebuild this file)
|
4
3
|
module.exports = {
|
5
4
|
"theme": {
|
6
5
|
"animation": {
|
@@ -390,19 +389,6 @@ module.exports = {
|
|
390
389
|
"icon": "#6e7781",
|
391
390
|
"borderHover": "rgba(175,184,193,0.2)"
|
392
391
|
},
|
393
|
-
"actionListItem": {
|
394
|
-
"inlineDivider": "rgba(208,215,222,0.48)",
|
395
|
-
"default": {
|
396
|
-
"hoverBg": "rgba(208,215,222,0.32)",
|
397
|
-
"activeBg": "rgba(208,215,222,0.48)",
|
398
|
-
"selectedBg": "rgba(208,215,222,0.24)"
|
399
|
-
},
|
400
|
-
"danger": {
|
401
|
-
"hoverBg": "rgba(255,235,233,0.64)",
|
402
|
-
"activeBg": "#FFEBE9",
|
403
|
-
"hoverText": "#cf222e"
|
404
|
-
}
|
405
|
-
},
|
406
392
|
"fg": {
|
407
393
|
"default": "#24292f",
|
408
394
|
"muted": "#57606a",
|
@@ -529,7 +515,7 @@ module.exports = {
|
|
529
515
|
}
|
530
516
|
}
|
531
517
|
},
|
532
|
-
"
|
518
|
+
"light_protanopia": {
|
533
519
|
"colors": {
|
534
520
|
"canvasDefaultTransparent": "rgba(255,255,255,0)",
|
535
521
|
"marketingIcon": {
|
@@ -886,19 +872,6 @@ module.exports = {
|
|
886
872
|
"icon": "#6e7781",
|
887
873
|
"borderHover": "rgba(175,184,193,0.2)"
|
888
874
|
},
|
889
|
-
"actionListItem": {
|
890
|
-
"inlineDivider": "rgba(208,215,222,0.48)",
|
891
|
-
"default": {
|
892
|
-
"hoverBg": "rgba(208,215,222,0.32)",
|
893
|
-
"activeBg": "rgba(208,215,222,0.48)",
|
894
|
-
"selectedBg": "rgba(208,215,222,0.24)"
|
895
|
-
},
|
896
|
-
"danger": {
|
897
|
-
"hoverBg": "rgba(254,254,72,0.64)",
|
898
|
-
"activeBg": "#fefe48",
|
899
|
-
"hoverText": "#ac5e00"
|
900
|
-
}
|
901
|
-
},
|
902
875
|
"fg": {
|
903
876
|
"default": "#24292f",
|
904
877
|
"muted": "#57606a",
|
@@ -1382,19 +1355,6 @@ module.exports = {
|
|
1382
1355
|
"icon": "#484f58",
|
1383
1356
|
"borderHover": "rgba(110,118,129,0.4)"
|
1384
1357
|
},
|
1385
|
-
"actionListItem": {
|
1386
|
-
"inlineDivider": "rgba(48,54,61,0.48)",
|
1387
|
-
"default": {
|
1388
|
-
"hoverBg": "rgba(177,186,196,0.12)",
|
1389
|
-
"activeBg": "rgba(177,186,196,0.2)",
|
1390
|
-
"selectedBg": "rgba(177,186,196,0.08)"
|
1391
|
-
},
|
1392
|
-
"danger": {
|
1393
|
-
"hoverBg": "rgba(248,81,73,0.16)",
|
1394
|
-
"activeBg": "rgba(248,81,73,0.24)",
|
1395
|
-
"hoverText": "#ff7b72"
|
1396
|
-
}
|
1397
|
-
},
|
1398
1358
|
"fg": {
|
1399
1359
|
"default": "#c9d1d9",
|
1400
1360
|
"muted": "#8b949e",
|
@@ -1881,19 +1841,6 @@ module.exports = {
|
|
1881
1841
|
"icon": "#545d68",
|
1882
1842
|
"borderHover": "rgba(99,110,123,0.4)"
|
1883
1843
|
},
|
1884
|
-
"actionListItem": {
|
1885
|
-
"inlineDivider": "rgba(68,76,86,0.48)",
|
1886
|
-
"default": {
|
1887
|
-
"hoverBg": "rgba(144,157,171,0.12)",
|
1888
|
-
"activeBg": "rgba(144,157,171,0.2)",
|
1889
|
-
"selectedBg": "rgba(144,157,171,0.08)"
|
1890
|
-
},
|
1891
|
-
"danger": {
|
1892
|
-
"hoverBg": "rgba(229,83,75,0.16)",
|
1893
|
-
"activeBg": "rgba(229,83,75,0.24)",
|
1894
|
-
"hoverText": "#f47067"
|
1895
|
-
}
|
1896
|
-
},
|
1897
1844
|
"fg": {
|
1898
1845
|
"default": "#adbac7",
|
1899
1846
|
"muted": "#768390",
|
@@ -2380,19 +2327,6 @@ module.exports = {
|
|
2380
2327
|
"icon": "#f0f3f6",
|
2381
2328
|
"borderHover": "#bdc4cc"
|
2382
2329
|
},
|
2383
|
-
"actionListItem": {
|
2384
|
-
"inlineDivider": "#7a828e",
|
2385
|
-
"default": {
|
2386
|
-
"hoverBg": "rgba(217,222,227,0.12)",
|
2387
|
-
"activeBg": "rgba(217,222,227,0.24)",
|
2388
|
-
"selectedBg": "rgba(217,222,227,0.08)"
|
2389
|
-
},
|
2390
|
-
"danger": {
|
2391
|
-
"hoverBg": "#ff6a69",
|
2392
|
-
"activeBg": "#ff4445",
|
2393
|
-
"hoverText": "#0a0c10"
|
2394
|
-
}
|
2395
|
-
},
|
2396
2330
|
"fg": {
|
2397
2331
|
"default": "#f0f3f6",
|
2398
2332
|
"muted": "#f0f3f6",
|
@@ -2522,7 +2456,7 @@ module.exports = {
|
|
2522
2456
|
}
|
2523
2457
|
}
|
2524
2458
|
},
|
2525
|
-
"
|
2459
|
+
"dark_protanopia": {
|
2526
2460
|
"colors": {
|
2527
2461
|
"canvasDefaultTransparent": "rgba(13,17,23,0)",
|
2528
2462
|
"marketingIcon": {
|
@@ -2879,19 +2813,6 @@ module.exports = {
|
|
2879
2813
|
"icon": "#484f58",
|
2880
2814
|
"borderHover": "rgba(110,118,129,0.4)"
|
2881
2815
|
},
|
2882
|
-
"actionListItem": {
|
2883
|
-
"inlineDivider": "rgba(48,54,61,0.48)",
|
2884
|
-
"default": {
|
2885
|
-
"hoverBg": "rgba(177,186,196,0.12)",
|
2886
|
-
"activeBg": "rgba(177,186,196,0.2)",
|
2887
|
-
"selectedBg": "rgba(177,186,196,0.08)"
|
2888
|
-
},
|
2889
|
-
"danger": {
|
2890
|
-
"hoverBg": "rgba(195,128,0,0.16)",
|
2891
|
-
"activeBg": "rgba(195,128,0,0.24)",
|
2892
|
-
"hoverText": "#d69a00"
|
2893
|
-
}
|
2894
|
-
},
|
2895
2816
|
"fg": {
|
2896
2817
|
"default": "#c9d1d9",
|
2897
2818
|
"muted": "#8b949e",
|
package/lib/utils/testing.d.ts
CHANGED
@@ -53,7 +53,7 @@ export declare function render(component: React.ReactElement, theme?: {
|
|
53
53
|
xlarge: string;
|
54
54
|
};
|
55
55
|
space: string[];
|
56
|
-
colorSchemes: Record<"light" | "
|
56
|
+
colorSchemes: Record<"light" | "light_protanopia" | "dark" | "dark_dimmed" | "dark_high_contrast" | "dark_protanopia", Record<"colors" | "shadows", Partial<{
|
57
57
|
canvasDefaultTransparent: string;
|
58
58
|
marketingIcon: {
|
59
59
|
primary: string;
|
@@ -434,19 +434,6 @@ export declare function render(component: React.ReactElement, theme?: {
|
|
434
434
|
icon: string;
|
435
435
|
borderHover: string;
|
436
436
|
};
|
437
|
-
actionListItem: {
|
438
|
-
inlineDivider: string;
|
439
|
-
default: {
|
440
|
-
hoverBg: string;
|
441
|
-
activeBg: string;
|
442
|
-
selectedBg: string;
|
443
|
-
};
|
444
|
-
danger: {
|
445
|
-
hoverBg: string;
|
446
|
-
activeBg: string;
|
447
|
-
hoverText: string;
|
448
|
-
};
|
449
|
-
};
|
450
437
|
fg: {
|
451
438
|
default: string;
|
452
439
|
muted: string;
|
@@ -20,7 +20,7 @@ declare const _default: React.FC<{
|
|
20
20
|
} & {
|
21
21
|
as?: string | React.ComponentType<any> | undefined;
|
22
22
|
forwardedAs?: string | React.ComponentType<any> | undefined;
|
23
|
-
}, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "
|
23
|
+
}, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "className" | "block" | "icon" | "sx" | "disabled" | "variant" | "contrast"> & {
|
24
24
|
className?: string | undefined;
|
25
25
|
icon?: React.ComponentType<{
|
26
26
|
className?: string | undefined;
|
@@ -37,10 +37,6 @@ declare const _default: React.FC<{
|
|
37
37
|
slot?: string | undefined;
|
38
38
|
style?: React.CSSProperties | undefined;
|
39
39
|
title?: string | undefined;
|
40
|
-
block?: boolean | undefined;
|
41
|
-
sx?: import("../sx").BetterSystemStyleObject | undefined;
|
42
|
-
variant?: "small" | "large" | undefined;
|
43
|
-
role?: React.AriaRole | undefined;
|
44
40
|
key?: React.Key | null | undefined;
|
45
41
|
defaultChecked?: boolean | undefined;
|
46
42
|
defaultValue?: string | number | readonly string[] | undefined;
|
@@ -48,16 +44,17 @@ declare const _default: React.FC<{
|
|
48
44
|
suppressHydrationWarning?: boolean | undefined;
|
49
45
|
accessKey?: string | undefined;
|
50
46
|
className?: string | undefined;
|
51
|
-
contentEditable?: "inherit" | (boolean | "
|
47
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
52
48
|
contextMenu?: string | undefined;
|
53
49
|
dir?: string | undefined;
|
54
|
-
draggable?: (boolean | "
|
50
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
55
51
|
id?: string | undefined;
|
56
52
|
lang?: string | undefined;
|
57
53
|
placeholder?: string | undefined;
|
58
|
-
spellCheck?: (boolean | "
|
54
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
59
55
|
tabIndex?: number | undefined;
|
60
56
|
radioGroup?: string | undefined;
|
57
|
+
role?: React.AriaRole | undefined;
|
61
58
|
about?: string | undefined;
|
62
59
|
datatype?: string | undefined;
|
63
60
|
inlist?: any;
|
@@ -80,47 +77,47 @@ declare const _default: React.FC<{
|
|
80
77
|
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
81
78
|
is?: string | undefined;
|
82
79
|
'aria-activedescendant'?: string | undefined;
|
83
|
-
'aria-atomic'?: boolean | "
|
84
|
-
'aria-autocomplete'?: "none" | "
|
85
|
-
'aria-busy'?: boolean | "
|
86
|
-
'aria-checked'?: boolean | "
|
80
|
+
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
81
|
+
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
82
|
+
'aria-busy'?: boolean | "true" | "false" | undefined;
|
83
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
87
84
|
'aria-colcount'?: number | undefined;
|
88
85
|
'aria-colindex'?: number | undefined;
|
89
86
|
'aria-colspan'?: number | undefined;
|
90
87
|
'aria-controls'?: string | undefined;
|
91
|
-
'aria-current'?: boolean | "time" | "
|
88
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
92
89
|
'aria-describedby'?: string | undefined;
|
93
90
|
'aria-details'?: string | undefined;
|
94
|
-
'aria-disabled'?: boolean | "
|
95
|
-
'aria-dropeffect'?: "link" | "none" | "copy" | "
|
91
|
+
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
92
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
96
93
|
'aria-errormessage'?: string | undefined;
|
97
|
-
'aria-expanded'?: boolean | "
|
94
|
+
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
98
95
|
'aria-flowto'?: string | undefined;
|
99
|
-
'aria-grabbed'?: boolean | "
|
100
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "
|
101
|
-
'aria-hidden'?: boolean | "
|
102
|
-
'aria-invalid'?: boolean | "
|
96
|
+
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
97
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
|
98
|
+
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
99
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
103
100
|
'aria-keyshortcuts'?: string | undefined;
|
104
101
|
'aria-label'?: string | undefined;
|
105
102
|
'aria-labelledby'?: string | undefined;
|
106
103
|
'aria-level'?: number | undefined;
|
107
104
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
108
|
-
'aria-modal'?: boolean | "
|
109
|
-
'aria-multiline'?: boolean | "
|
110
|
-
'aria-multiselectable'?: boolean | "
|
105
|
+
'aria-modal'?: boolean | "true" | "false" | undefined;
|
106
|
+
'aria-multiline'?: boolean | "true" | "false" | undefined;
|
107
|
+
'aria-multiselectable'?: boolean | "true" | "false" | undefined;
|
111
108
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
112
109
|
'aria-owns'?: string | undefined;
|
113
110
|
'aria-placeholder'?: string | undefined;
|
114
111
|
'aria-posinset'?: number | undefined;
|
115
|
-
'aria-pressed'?: boolean | "
|
116
|
-
'aria-readonly'?: boolean | "
|
112
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
113
|
+
'aria-readonly'?: boolean | "true" | "false" | undefined;
|
117
114
|
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
118
|
-
'aria-required'?: boolean | "
|
115
|
+
'aria-required'?: boolean | "true" | "false" | undefined;
|
119
116
|
'aria-roledescription'?: string | undefined;
|
120
117
|
'aria-rowcount'?: number | undefined;
|
121
118
|
'aria-rowindex'?: number | undefined;
|
122
119
|
'aria-rowspan'?: number | undefined;
|
123
|
-
'aria-selected'?: boolean | "
|
120
|
+
'aria-selected'?: boolean | "true" | "false" | undefined;
|
124
121
|
'aria-setsize'?: number | undefined;
|
125
122
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
126
123
|
'aria-valuemax'?: number | undefined;
|
@@ -290,12 +287,15 @@ declare const _default: React.FC<{
|
|
290
287
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLSpanElement> | undefined;
|
291
288
|
onTransitionEnd?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
|
292
289
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
|
290
|
+
block?: boolean | undefined;
|
291
|
+
sx?: import("../sx").BetterSystemStyleObject | undefined;
|
293
292
|
disabled?: boolean | undefined;
|
293
|
+
variant?: "small" | "large" | undefined;
|
294
294
|
hasIcon?: boolean | undefined;
|
295
295
|
contrast?: boolean | undefined;
|
296
296
|
} & {
|
297
297
|
theme?: any;
|
298
|
-
}, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "sx" | "
|
298
|
+
}, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "sx" | "disabled" | "variant" | "contrast">, string | number | symbol> & React.RefAttributes<HTMLInputElement>>, {
|
299
299
|
as?: React.ComponentType<any> | undefined;
|
300
300
|
}>;
|
301
301
|
Menu: typeof AutocompleteMenu;
|
@@ -12,7 +12,7 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
|
|
12
12
|
} & {
|
13
13
|
as?: string | React.ComponentType<any> | undefined;
|
14
14
|
forwardedAs?: string | React.ComponentType<any> | undefined;
|
15
|
-
}, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "
|
15
|
+
}, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "className" | "block" | "icon" | "sx" | "disabled" | "variant" | "contrast"> & {
|
16
16
|
className?: string | undefined;
|
17
17
|
icon?: React.ComponentType<{
|
18
18
|
className?: string | undefined;
|
@@ -29,10 +29,6 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
|
|
29
29
|
slot?: string | undefined;
|
30
30
|
style?: React.CSSProperties | undefined;
|
31
31
|
title?: string | undefined;
|
32
|
-
block?: boolean | undefined;
|
33
|
-
sx?: import("../sx").BetterSystemStyleObject | undefined;
|
34
|
-
variant?: "small" | "large" | undefined;
|
35
|
-
role?: React.AriaRole | undefined;
|
36
32
|
key?: React.Key | null | undefined;
|
37
33
|
defaultChecked?: boolean | undefined;
|
38
34
|
defaultValue?: string | number | readonly string[] | undefined;
|
@@ -40,16 +36,17 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
|
|
40
36
|
suppressHydrationWarning?: boolean | undefined;
|
41
37
|
accessKey?: string | undefined;
|
42
38
|
className?: string | undefined;
|
43
|
-
contentEditable?: "inherit" | (boolean | "
|
39
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
44
40
|
contextMenu?: string | undefined;
|
45
41
|
dir?: string | undefined;
|
46
|
-
draggable?: (boolean | "
|
42
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
47
43
|
id?: string | undefined;
|
48
44
|
lang?: string | undefined;
|
49
45
|
placeholder?: string | undefined;
|
50
|
-
spellCheck?: (boolean | "
|
46
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
51
47
|
tabIndex?: number | undefined;
|
52
48
|
radioGroup?: string | undefined;
|
49
|
+
role?: React.AriaRole | undefined;
|
53
50
|
about?: string | undefined;
|
54
51
|
datatype?: string | undefined;
|
55
52
|
inlist?: any;
|
@@ -72,47 +69,47 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
|
|
72
69
|
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
73
70
|
is?: string | undefined;
|
74
71
|
'aria-activedescendant'?: string | undefined;
|
75
|
-
'aria-atomic'?: boolean | "
|
76
|
-
'aria-autocomplete'?: "none" | "
|
77
|
-
'aria-busy'?: boolean | "
|
78
|
-
'aria-checked'?: boolean | "
|
72
|
+
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
73
|
+
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
74
|
+
'aria-busy'?: boolean | "true" | "false" | undefined;
|
75
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
79
76
|
'aria-colcount'?: number | undefined;
|
80
77
|
'aria-colindex'?: number | undefined;
|
81
78
|
'aria-colspan'?: number | undefined;
|
82
79
|
'aria-controls'?: string | undefined;
|
83
|
-
'aria-current'?: boolean | "time" | "
|
80
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
84
81
|
'aria-describedby'?: string | undefined;
|
85
82
|
'aria-details'?: string | undefined;
|
86
|
-
'aria-disabled'?: boolean | "
|
87
|
-
'aria-dropeffect'?: "link" | "none" | "copy" | "
|
83
|
+
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
84
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
88
85
|
'aria-errormessage'?: string | undefined;
|
89
|
-
'aria-expanded'?: boolean | "
|
86
|
+
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
90
87
|
'aria-flowto'?: string | undefined;
|
91
|
-
'aria-grabbed'?: boolean | "
|
92
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "
|
93
|
-
'aria-hidden'?: boolean | "
|
94
|
-
'aria-invalid'?: boolean | "
|
88
|
+
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
89
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
|
90
|
+
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
91
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
95
92
|
'aria-keyshortcuts'?: string | undefined;
|
96
93
|
'aria-label'?: string | undefined;
|
97
94
|
'aria-labelledby'?: string | undefined;
|
98
95
|
'aria-level'?: number | undefined;
|
99
96
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
100
|
-
'aria-modal'?: boolean | "
|
101
|
-
'aria-multiline'?: boolean | "
|
102
|
-
'aria-multiselectable'?: boolean | "
|
97
|
+
'aria-modal'?: boolean | "true" | "false" | undefined;
|
98
|
+
'aria-multiline'?: boolean | "true" | "false" | undefined;
|
99
|
+
'aria-multiselectable'?: boolean | "true" | "false" | undefined;
|
103
100
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
104
101
|
'aria-owns'?: string | undefined;
|
105
102
|
'aria-placeholder'?: string | undefined;
|
106
103
|
'aria-posinset'?: number | undefined;
|
107
|
-
'aria-pressed'?: boolean | "
|
108
|
-
'aria-readonly'?: boolean | "
|
104
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
105
|
+
'aria-readonly'?: boolean | "true" | "false" | undefined;
|
109
106
|
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
110
|
-
'aria-required'?: boolean | "
|
107
|
+
'aria-required'?: boolean | "true" | "false" | undefined;
|
111
108
|
'aria-roledescription'?: string | undefined;
|
112
109
|
'aria-rowcount'?: number | undefined;
|
113
110
|
'aria-rowindex'?: number | undefined;
|
114
111
|
'aria-rowspan'?: number | undefined;
|
115
|
-
'aria-selected'?: boolean | "
|
112
|
+
'aria-selected'?: boolean | "true" | "false" | undefined;
|
116
113
|
'aria-setsize'?: number | undefined;
|
117
114
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
118
115
|
'aria-valuemax'?: number | undefined;
|
@@ -282,11 +279,14 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
|
|
282
279
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLSpanElement> | undefined;
|
283
280
|
onTransitionEnd?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
|
284
281
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
|
282
|
+
block?: boolean | undefined;
|
283
|
+
sx?: import("../sx").BetterSystemStyleObject | undefined;
|
285
284
|
disabled?: boolean | undefined;
|
285
|
+
variant?: "small" | "large" | undefined;
|
286
286
|
hasIcon?: boolean | undefined;
|
287
287
|
contrast?: boolean | undefined;
|
288
288
|
} & {
|
289
289
|
theme?: any;
|
290
|
-
}, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "sx" | "
|
290
|
+
}, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "sx" | "disabled" | "variant" | "contrast">, string | number | symbol> & React.RefAttributes<HTMLInputElement>>, InternalAutocompleteInputProps>;
|
291
291
|
export declare type AutocompleteInputProps = ComponentProps<typeof AutocompleteInput>;
|
292
292
|
export default AutocompleteInput;
|
@@ -16,8 +16,6 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
|
|
16
16
|
slot?: string | undefined;
|
17
17
|
style?: import("react").CSSProperties | undefined;
|
18
18
|
title?: string | undefined;
|
19
|
-
variant?: "small" | "medium" | "large" | undefined;
|
20
|
-
role?: import("react").AriaRole | undefined;
|
21
19
|
type?: "button" | "reset" | "submit" | undefined;
|
22
20
|
name?: string | undefined;
|
23
21
|
key?: import("react").Key | null | undefined;
|
@@ -27,16 +25,17 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
|
|
27
25
|
suppressHydrationWarning?: boolean | undefined;
|
28
26
|
accessKey?: string | undefined;
|
29
27
|
className?: string | undefined;
|
30
|
-
contentEditable?: "inherit" | (boolean | "
|
28
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
31
29
|
contextMenu?: string | undefined;
|
32
30
|
dir?: string | undefined;
|
33
|
-
draggable?: (boolean | "
|
31
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
34
32
|
id?: string | undefined;
|
35
33
|
lang?: string | undefined;
|
36
34
|
placeholder?: string | undefined;
|
37
|
-
spellCheck?: (boolean | "
|
35
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
38
36
|
tabIndex?: number | undefined;
|
39
37
|
radioGroup?: string | undefined;
|
38
|
+
role?: import("react").AriaRole | undefined;
|
40
39
|
about?: string | undefined;
|
41
40
|
datatype?: string | undefined;
|
42
41
|
inlist?: any;
|
@@ -59,47 +58,47 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
|
|
59
58
|
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
60
59
|
is?: string | undefined;
|
61
60
|
'aria-activedescendant'?: string | undefined;
|
62
|
-
'aria-atomic'?: boolean | "
|
63
|
-
'aria-autocomplete'?: "none" | "
|
64
|
-
'aria-busy'?: boolean | "
|
65
|
-
'aria-checked'?: boolean | "
|
61
|
+
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
62
|
+
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
63
|
+
'aria-busy'?: boolean | "true" | "false" | undefined;
|
64
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
66
65
|
'aria-colcount'?: number | undefined;
|
67
66
|
'aria-colindex'?: number | undefined;
|
68
67
|
'aria-colspan'?: number | undefined;
|
69
68
|
'aria-controls'?: string | undefined;
|
70
|
-
'aria-current'?: boolean | "time" | "
|
69
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
71
70
|
'aria-describedby'?: string | undefined;
|
72
71
|
'aria-details'?: string | undefined;
|
73
|
-
'aria-disabled'?: boolean | "
|
74
|
-
'aria-dropeffect'?: "link" | "none" | "copy" | "
|
72
|
+
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
73
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
75
74
|
'aria-errormessage'?: string | undefined;
|
76
|
-
'aria-expanded'?: boolean | "
|
75
|
+
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
77
76
|
'aria-flowto'?: string | undefined;
|
78
|
-
'aria-grabbed'?: boolean | "
|
79
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "
|
80
|
-
'aria-hidden'?: boolean | "
|
81
|
-
'aria-invalid'?: boolean | "
|
77
|
+
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
78
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
|
79
|
+
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
80
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
82
81
|
'aria-keyshortcuts'?: string | undefined;
|
83
82
|
'aria-label'?: string | undefined;
|
84
83
|
'aria-labelledby'?: string | undefined;
|
85
84
|
'aria-level'?: number | undefined;
|
86
85
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
87
|
-
'aria-modal'?: boolean | "
|
88
|
-
'aria-multiline'?: boolean | "
|
89
|
-
'aria-multiselectable'?: boolean | "
|
86
|
+
'aria-modal'?: boolean | "true" | "false" | undefined;
|
87
|
+
'aria-multiline'?: boolean | "true" | "false" | undefined;
|
88
|
+
'aria-multiselectable'?: boolean | "true" | "false" | undefined;
|
90
89
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
91
90
|
'aria-owns'?: string | undefined;
|
92
91
|
'aria-placeholder'?: string | undefined;
|
93
92
|
'aria-posinset'?: number | undefined;
|
94
|
-
'aria-pressed'?: boolean | "
|
95
|
-
'aria-readonly'?: boolean | "
|
93
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
94
|
+
'aria-readonly'?: boolean | "true" | "false" | undefined;
|
96
95
|
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
97
|
-
'aria-required'?: boolean | "
|
96
|
+
'aria-required'?: boolean | "true" | "false" | undefined;
|
98
97
|
'aria-roledescription'?: string | undefined;
|
99
98
|
'aria-rowcount'?: number | undefined;
|
100
99
|
'aria-rowindex'?: number | undefined;
|
101
100
|
'aria-rowspan'?: number | undefined;
|
102
|
-
'aria-selected'?: boolean | "
|
101
|
+
'aria-selected'?: boolean | "true" | "false" | undefined;
|
103
102
|
'aria-setsize'?: number | undefined;
|
104
103
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
105
104
|
'aria-valuemax'?: number | undefined;
|
@@ -270,13 +269,14 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
|
|
270
269
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
271
270
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
272
271
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
273
|
-
disabled?: boolean | undefined;
|
274
272
|
autoFocus?: boolean | undefined;
|
273
|
+
disabled?: boolean | undefined;
|
275
274
|
formAction?: string | undefined;
|
276
275
|
formEncType?: string | undefined;
|
277
276
|
formMethod?: string | undefined;
|
278
277
|
formNoValidate?: boolean | undefined;
|
279
278
|
formTarget?: string | undefined;
|
279
|
+
variant?: "small" | "medium" | "large" | undefined;
|
280
280
|
} & {
|
281
281
|
theme?: any;
|
282
282
|
} & import("styled-system").FontSizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("../constants").SystemCommonProps & import("../constants").SystemLayoutProps & SxProp, never>;
|