@primer/components 0.0.0-20219283497 → 0.0.0-202192953933
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 +17 -1
- package/dist/browser.esm.js +147 -143
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +147 -143
- 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 +26 -26
- package/lib/Button/ButtonBase.d.ts +1 -1
- package/lib/Button/ButtonClose.d.ts +27 -27
- package/lib/Button/ButtonDanger.d.ts +26 -26
- package/lib/Button/ButtonInvisible.d.ts +26 -26
- package/lib/Button/ButtonOutline.d.ts +26 -26
- package/lib/Button/ButtonPrimary.d.ts +26 -26
- package/lib/Button/ButtonStyles.js +1 -1
- package/lib/CircleBadge.d.ts +2 -2
- package/lib/CircleOcticon.d.ts +30 -30
- package/lib/Dialog.d.ts +33 -33
- package/lib/Dropdown.d.ts +114 -114
- package/lib/DropdownMenu/DropdownButton.d.ts +28 -28
- package/lib/FilterList.d.ts +25 -25
- package/lib/Flash.d.ts +1 -1
- package/lib/Label.d.ts +1 -1
- package/lib/NewButton/button.d.ts +65 -65
- package/lib/NewButton/button.js +62 -27
- package/lib/NewButton/buttonStyles.d.ts +2 -0
- package/lib/NewButton/buttonStyles.js +14 -0
- package/lib/Position.d.ts +4 -4
- package/lib/SelectMenu/SelectMenu.d.ts +159 -159
- package/lib/SelectMenu/SelectMenuItem.d.ts +1 -1
- package/lib/SelectMenu/SelectMenuModal.d.ts +1 -1
- package/lib/TextInputWithTokens.d.ts +32 -28
- package/lib/TextInputWithTokens.js +102 -29
- package/lib/Timeline.d.ts +31 -31
- 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/Token/Token.js +13 -2
- package/lib/Token/TokenBase.js +0 -4
- package/lib/Token/_RemoveTokenButton.js +15 -2
- package/lib/_TextInputWrapper.js +1 -1
- package/lib/sx.d.ts +8 -2
- package/lib/theme.d.ts +78 -0
- package/lib/theme.js +3 -1
- package/lib/utils/testing.d.ts +1 -1
- package/lib/utils/types/KeyPaths.d.ts +3 -0
- package/lib/utils/types/KeyPaths.js +1 -0
- 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 +26 -26
- package/lib-esm/Button/ButtonBase.d.ts +1 -1
- package/lib-esm/Button/ButtonClose.d.ts +27 -27
- package/lib-esm/Button/ButtonDanger.d.ts +26 -26
- package/lib-esm/Button/ButtonInvisible.d.ts +26 -26
- package/lib-esm/Button/ButtonOutline.d.ts +26 -26
- package/lib-esm/Button/ButtonPrimary.d.ts +26 -26
- package/lib-esm/Button/ButtonStyles.js +1 -1
- package/lib-esm/CircleBadge.d.ts +2 -2
- package/lib-esm/CircleOcticon.d.ts +30 -30
- package/lib-esm/Dialog.d.ts +33 -33
- package/lib-esm/Dropdown.d.ts +114 -114
- package/lib-esm/DropdownMenu/DropdownButton.d.ts +28 -28
- package/lib-esm/FilterList.d.ts +25 -25
- package/lib-esm/Flash.d.ts +1 -1
- package/lib-esm/Label.d.ts +1 -1
- package/lib-esm/NewButton/button.d.ts +65 -65
- package/lib-esm/NewButton/button.js +62 -27
- package/lib-esm/NewButton/buttonStyles.d.ts +2 -0
- package/lib-esm/NewButton/buttonStyles.js +3 -0
- package/lib-esm/Position.d.ts +4 -4
- package/lib-esm/SelectMenu/SelectMenu.d.ts +159 -159
- package/lib-esm/SelectMenu/SelectMenuItem.d.ts +1 -1
- package/lib-esm/SelectMenu/SelectMenuModal.d.ts +1 -1
- package/lib-esm/TextInputWithTokens.d.ts +32 -28
- package/lib-esm/TextInputWithTokens.js +101 -30
- package/lib-esm/Timeline.d.ts +31 -31
- 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/Token/Token.js +13 -2
- package/lib-esm/Token/TokenBase.js +0 -4
- package/lib-esm/Token/_RemoveTokenButton.js +11 -2
- package/lib-esm/_TextInputWrapper.js +1 -1
- package/lib-esm/sx.d.ts +8 -2
- package/lib-esm/theme.d.ts +78 -0
- package/lib-esm/theme.js +2 -1
- package/lib-esm/utils/testing.d.ts +1 -1
- package/lib-esm/utils/types/KeyPaths.d.ts +3 -0
- package/lib-esm/utils/types/KeyPaths.js +1 -0
- package/package.json +2 -1
@@ -47,9 +47,11 @@ export declare const DropdownButton: React.ForwardRefExoticComponent<Pick<React.
|
|
47
47
|
paddingX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
48
48
|
py?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
49
49
|
paddingY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
50
|
+
hidden?: boolean | undefined;
|
51
|
+
size?: import("styled-system").ResponsiveValue<import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
52
|
+
style?: React.CSSProperties | undefined;
|
50
53
|
form?: string | undefined;
|
51
54
|
slot?: string | undefined;
|
52
|
-
style?: React.CSSProperties | undefined;
|
53
55
|
title?: string | undefined;
|
54
56
|
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
55
57
|
type?: "button" | "reset" | "submit" | undefined;
|
@@ -61,15 +63,14 @@ export declare const DropdownButton: React.ForwardRefExoticComponent<Pick<React.
|
|
61
63
|
suppressHydrationWarning?: boolean | undefined;
|
62
64
|
accessKey?: string | undefined;
|
63
65
|
className?: string | undefined;
|
64
|
-
contentEditable?:
|
66
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
|
65
67
|
contextMenu?: string | undefined;
|
66
68
|
dir?: string | undefined;
|
67
|
-
draggable?: (boolean | "
|
68
|
-
hidden?: boolean | undefined;
|
69
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
69
70
|
id?: string | undefined;
|
70
71
|
lang?: string | undefined;
|
71
72
|
placeholder?: string | undefined;
|
72
|
-
spellCheck?: (boolean | "
|
73
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
73
74
|
tabIndex?: number | undefined;
|
74
75
|
radioGroup?: string | undefined;
|
75
76
|
role?: React.AriaRole | undefined;
|
@@ -92,50 +93,50 @@ export declare const DropdownButton: React.ForwardRefExoticComponent<Pick<React.
|
|
92
93
|
results?: number | undefined;
|
93
94
|
security?: string | undefined;
|
94
95
|
unselectable?: "on" | "off" | undefined;
|
95
|
-
inputMode?: "
|
96
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
96
97
|
is?: string | undefined;
|
97
98
|
'aria-activedescendant'?: string | undefined;
|
98
|
-
'aria-atomic'?: boolean | "
|
99
|
-
'aria-autocomplete'?: "
|
100
|
-
'aria-busy'?: boolean | "
|
101
|
-
'aria-checked'?: boolean | "
|
99
|
+
'aria-atomic'?: boolean | "false" | "true" | undefined;
|
100
|
+
'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
|
101
|
+
'aria-busy'?: boolean | "false" | "true" | undefined;
|
102
|
+
'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
|
102
103
|
'aria-colcount'?: number | undefined;
|
103
104
|
'aria-colindex'?: number | undefined;
|
104
105
|
'aria-colspan'?: number | undefined;
|
105
106
|
'aria-controls'?: string | undefined;
|
106
|
-
'aria-current'?: boolean | "
|
107
|
+
'aria-current'?: boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date" | undefined;
|
107
108
|
'aria-describedby'?: string | undefined;
|
108
109
|
'aria-details'?: string | undefined;
|
109
|
-
'aria-disabled'?: boolean | "
|
110
|
+
'aria-disabled'?: boolean | "false" | "true" | undefined;
|
110
111
|
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
111
112
|
'aria-errormessage'?: string | undefined;
|
112
|
-
'aria-expanded'?: boolean | "
|
113
|
+
'aria-expanded'?: boolean | "false" | "true" | undefined;
|
113
114
|
'aria-flowto'?: string | undefined;
|
114
|
-
'aria-grabbed'?: boolean | "
|
115
|
-
'aria-haspopup'?: boolean | "grid" | "
|
116
|
-
'aria-hidden'?: boolean | "
|
117
|
-
'aria-invalid'?: boolean | "
|
115
|
+
'aria-grabbed'?: boolean | "false" | "true" | undefined;
|
116
|
+
'aria-haspopup'?: boolean | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
|
117
|
+
'aria-hidden'?: boolean | "false" | "true" | undefined;
|
118
|
+
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
118
119
|
'aria-keyshortcuts'?: string | undefined;
|
119
120
|
'aria-label'?: string | undefined;
|
120
121
|
'aria-labelledby'?: string | undefined;
|
121
122
|
'aria-level'?: number | undefined;
|
122
123
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
123
|
-
'aria-modal'?: boolean | "
|
124
|
-
'aria-multiline'?: boolean | "
|
125
|
-
'aria-multiselectable'?: boolean | "
|
124
|
+
'aria-modal'?: boolean | "false" | "true" | undefined;
|
125
|
+
'aria-multiline'?: boolean | "false" | "true" | undefined;
|
126
|
+
'aria-multiselectable'?: boolean | "false" | "true" | undefined;
|
126
127
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
127
128
|
'aria-owns'?: string | undefined;
|
128
129
|
'aria-placeholder'?: string | undefined;
|
129
130
|
'aria-posinset'?: number | undefined;
|
130
|
-
'aria-pressed'?: boolean | "
|
131
|
-
'aria-readonly'?: boolean | "
|
131
|
+
'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
|
132
|
+
'aria-readonly'?: boolean | "false" | "true" | undefined;
|
132
133
|
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
133
|
-
'aria-required'?: boolean | "
|
134
|
+
'aria-required'?: boolean | "false" | "true" | undefined;
|
134
135
|
'aria-roledescription'?: string | undefined;
|
135
136
|
'aria-rowcount'?: number | undefined;
|
136
137
|
'aria-rowindex'?: number | undefined;
|
137
138
|
'aria-rowspan'?: number | undefined;
|
138
|
-
'aria-selected'?: boolean | "
|
139
|
+
'aria-selected'?: boolean | "false" | "true" | undefined;
|
139
140
|
'aria-setsize'?: number | undefined;
|
140
141
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
141
142
|
'aria-valuemax'?: number | undefined;
|
@@ -306,8 +307,7 @@ export declare const DropdownButton: React.ForwardRefExoticComponent<Pick<React.
|
|
306
307
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
|
307
308
|
onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
308
309
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
309
|
-
|
310
|
-
sx?: import("@styled-system/css").SystemStyleObject | undefined;
|
310
|
+
sx?: import("../sx").BetterSystemStyleObject | undefined;
|
311
311
|
value?: string | number | readonly string[] | undefined;
|
312
312
|
autoFocus?: boolean | undefined;
|
313
313
|
disabled?: boolean | undefined;
|
@@ -316,8 +316,8 @@ export declare const DropdownButton: React.ForwardRefExoticComponent<Pick<React.
|
|
316
316
|
formMethod?: string | undefined;
|
317
317
|
formNoValidate?: boolean | undefined;
|
318
318
|
formTarget?: string | undefined;
|
319
|
-
variant?: "small" | "
|
319
|
+
variant?: "small" | "medium" | "large" | undefined;
|
320
320
|
as?: string | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
|
321
321
|
} & {
|
322
322
|
theme?: any;
|
323
|
-
}>, "backgroundColor" | "color" | "display" | "fontSize" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "verticalAlign" | "width" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "
|
323
|
+
}>, "backgroundColor" | "color" | "display" | "fontSize" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "verticalAlign" | "width" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "hidden" | "size" | "style" | "form" | "slot" | "title" | "theme" | "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" | "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" | "sx" | "value" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "variant" | "as"> & React.RefAttributes<HTMLElement>>;
|
package/lib/FilterList.d.ts
CHANGED
@@ -51,8 +51,9 @@ declare const _default: {
|
|
51
51
|
paddingX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
52
52
|
py?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
53
53
|
paddingY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
54
|
-
|
54
|
+
hidden?: boolean | undefined;
|
55
55
|
style?: React.CSSProperties | undefined;
|
56
|
+
slot?: string | undefined;
|
56
57
|
title?: string | undefined;
|
57
58
|
ref?: ((instance: HTMLUListElement | null) => void) | React.RefObject<HTMLUListElement> | null | undefined;
|
58
59
|
key?: React.Key | null | undefined;
|
@@ -62,15 +63,14 @@ declare const _default: {
|
|
62
63
|
suppressHydrationWarning?: boolean | undefined;
|
63
64
|
accessKey?: string | undefined;
|
64
65
|
className?: string | undefined;
|
65
|
-
contentEditable?:
|
66
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
|
66
67
|
contextMenu?: string | undefined;
|
67
68
|
dir?: string | undefined;
|
68
|
-
draggable?: (boolean | "
|
69
|
-
hidden?: boolean | undefined;
|
69
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
70
70
|
id?: string | undefined;
|
71
71
|
lang?: string | undefined;
|
72
72
|
placeholder?: string | undefined;
|
73
|
-
spellCheck?: (boolean | "
|
73
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
74
74
|
tabIndex?: number | undefined;
|
75
75
|
radioGroup?: string | undefined;
|
76
76
|
role?: React.AriaRole | undefined;
|
@@ -93,50 +93,50 @@ declare const _default: {
|
|
93
93
|
results?: number | undefined;
|
94
94
|
security?: string | undefined;
|
95
95
|
unselectable?: "on" | "off" | undefined;
|
96
|
-
inputMode?: "
|
96
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
97
97
|
is?: string | undefined;
|
98
98
|
'aria-activedescendant'?: string | undefined;
|
99
|
-
'aria-atomic'?: boolean | "
|
100
|
-
'aria-autocomplete'?: "
|
101
|
-
'aria-busy'?: boolean | "
|
102
|
-
'aria-checked'?: boolean | "
|
99
|
+
'aria-atomic'?: boolean | "false" | "true" | undefined;
|
100
|
+
'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
|
101
|
+
'aria-busy'?: boolean | "false" | "true" | undefined;
|
102
|
+
'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
|
103
103
|
'aria-colcount'?: number | undefined;
|
104
104
|
'aria-colindex'?: number | undefined;
|
105
105
|
'aria-colspan'?: number | undefined;
|
106
106
|
'aria-controls'?: string | undefined;
|
107
|
-
'aria-current'?: boolean | "
|
107
|
+
'aria-current'?: boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date" | undefined;
|
108
108
|
'aria-describedby'?: string | undefined;
|
109
109
|
'aria-details'?: string | undefined;
|
110
|
-
'aria-disabled'?: boolean | "
|
110
|
+
'aria-disabled'?: boolean | "false" | "true" | undefined;
|
111
111
|
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
112
112
|
'aria-errormessage'?: string | undefined;
|
113
|
-
'aria-expanded'?: boolean | "
|
113
|
+
'aria-expanded'?: boolean | "false" | "true" | undefined;
|
114
114
|
'aria-flowto'?: string | undefined;
|
115
|
-
'aria-grabbed'?: boolean | "
|
116
|
-
'aria-haspopup'?: boolean | "grid" | "
|
117
|
-
'aria-hidden'?: boolean | "
|
118
|
-
'aria-invalid'?: boolean | "
|
115
|
+
'aria-grabbed'?: boolean | "false" | "true" | undefined;
|
116
|
+
'aria-haspopup'?: boolean | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
|
117
|
+
'aria-hidden'?: boolean | "false" | "true" | undefined;
|
118
|
+
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
119
119
|
'aria-keyshortcuts'?: string | undefined;
|
120
120
|
'aria-label'?: string | undefined;
|
121
121
|
'aria-labelledby'?: string | undefined;
|
122
122
|
'aria-level'?: number | undefined;
|
123
123
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
124
|
-
'aria-modal'?: boolean | "
|
125
|
-
'aria-multiline'?: boolean | "
|
126
|
-
'aria-multiselectable'?: boolean | "
|
124
|
+
'aria-modal'?: boolean | "false" | "true" | undefined;
|
125
|
+
'aria-multiline'?: boolean | "false" | "true" | undefined;
|
126
|
+
'aria-multiselectable'?: boolean | "false" | "true" | undefined;
|
127
127
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
128
128
|
'aria-owns'?: string | undefined;
|
129
129
|
'aria-placeholder'?: string | undefined;
|
130
130
|
'aria-posinset'?: number | undefined;
|
131
|
-
'aria-pressed'?: boolean | "
|
132
|
-
'aria-readonly'?: boolean | "
|
131
|
+
'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
|
132
|
+
'aria-readonly'?: boolean | "false" | "true" | undefined;
|
133
133
|
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
134
|
-
'aria-required'?: boolean | "
|
134
|
+
'aria-required'?: boolean | "false" | "true" | undefined;
|
135
135
|
'aria-roledescription'?: string | undefined;
|
136
136
|
'aria-rowcount'?: number | undefined;
|
137
137
|
'aria-rowindex'?: number | undefined;
|
138
138
|
'aria-rowspan'?: number | undefined;
|
139
|
-
'aria-selected'?: boolean | "
|
139
|
+
'aria-selected'?: boolean | "false" | "true" | undefined;
|
140
140
|
'aria-setsize'?: number | undefined;
|
141
141
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
142
142
|
'aria-valuemax'?: number | undefined;
|
@@ -307,7 +307,7 @@ declare const _default: {
|
|
307
307
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLUListElement> | undefined;
|
308
308
|
onTransitionEnd?: React.TransitionEventHandler<HTMLUListElement> | undefined;
|
309
309
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLUListElement> | undefined;
|
310
|
-
sx?: import("
|
310
|
+
sx?: import("./sx").BetterSystemStyleObject | undefined;
|
311
311
|
} & {
|
312
312
|
theme?: any;
|
313
313
|
}>): JSX.Element;
|
package/lib/Flash.d.ts
CHANGED
@@ -2,7 +2,7 @@ import { SystemCommonProps } from './constants';
|
|
2
2
|
import { SxProp } from './sx';
|
3
3
|
import { ComponentProps } from './utils/types';
|
4
4
|
declare const Flash: import("styled-components").StyledComponent<"div", any, {
|
5
|
-
variant?: "
|
5
|
+
variant?: "success" | "danger" | "default" | "warning" | undefined;
|
6
6
|
full?: boolean | undefined;
|
7
7
|
} & SystemCommonProps & SxProp, never>;
|
8
8
|
export declare type FlashProps = ComponentProps<typeof Flash>;
|
package/lib/Label.d.ts
CHANGED
@@ -3,7 +3,7 @@ import { SystemCommonProps } from './constants';
|
|
3
3
|
import { SxProp } from './sx';
|
4
4
|
import { ComponentProps } from './utils/types';
|
5
5
|
declare const Label: import("styled-components").StyledComponent<"span", any, {
|
6
|
-
variant?: "small" | "
|
6
|
+
variant?: "small" | "medium" | "large" | "xl" | undefined;
|
7
7
|
dropshadow?: boolean | undefined;
|
8
8
|
outline?: boolean | undefined;
|
9
9
|
} & BorderColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & SystemCommonProps & SxProp, never>;
|