@primer/components 0.0.0-20219283497 → 0.0.0-2021929114541
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 +447 -440
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +446 -439
- package/dist/browser.umd.js.map +1 -1
- package/lib/ActionList2/Description.d.ts +6 -0
- package/lib/ActionList2/Description.js +53 -0
- package/lib/ActionList2/Divider.d.ts +5 -0
- package/lib/ActionList2/Divider.js +33 -0
- package/lib/ActionList2/Group.d.ts +11 -0
- package/lib/ActionList2/Group.js +55 -0
- package/lib/ActionList2/Header.d.ts +26 -0
- package/lib/ActionList2/Header.js +55 -0
- package/lib/ActionList2/Item.d.ts +48 -0
- package/lib/ActionList2/Item.js +204 -0
- package/lib/ActionList2/List.d.ts +26 -0
- package/lib/ActionList2/List.js +56 -0
- package/lib/ActionList2/Selection.d.ts +5 -0
- package/lib/ActionList2/Selection.js +73 -0
- package/lib/ActionList2/Visuals.d.ts +11 -0
- package/lib/ActionList2/Visuals.js +90 -0
- package/lib/ActionList2/hacks.d.ts +30 -0
- package/lib/ActionList2/hacks.js +38 -0
- package/lib/ActionList2/index.d.ts +28 -0
- package/lib/ActionList2/index.js +42 -0
- package/lib/ActionMenu.js +2 -2
- package/lib/Autocomplete/Autocomplete.d.ts +11 -11
- package/lib/Autocomplete/AutocompleteInput.d.ts +11 -11
- package/lib/Button/Button.d.ts +13 -13
- package/lib/Button/ButtonBase.d.ts +1 -1
- package/lib/Button/ButtonClose.d.ts +16 -16
- package/lib/Button/ButtonDanger.d.ts +13 -13
- package/lib/Button/ButtonInvisible.d.ts +13 -13
- package/lib/Button/ButtonOutline.d.ts +13 -13
- package/lib/Button/ButtonPrimary.d.ts +13 -13
- package/lib/Button/ButtonStyles.js +1 -1
- package/lib/CircleBadge.d.ts +2 -2
- package/lib/CircleOcticon.d.ts +19 -19
- package/lib/Dialog/Dialog.d.ts +4 -4
- package/lib/Dialog/Dialog.js +22 -12
- package/lib/Dialog.d.ts +21 -21
- package/lib/Dropdown.d.ts +141 -63
- package/lib/Dropdown.js +5 -6
- package/lib/DropdownMenu/DropdownButton.d.ts +18 -18
- package/lib/FilterList.d.ts +12 -12
- package/lib/Label.d.ts +1 -1
- package/lib/Position.d.ts +4 -4
- package/lib/ProgressBar.d.ts +1 -1
- package/lib/SelectMenu/SelectMenu.d.ts +81 -81
- package/lib/SelectMenu/SelectMenuItem.d.ts +1 -1
- package/lib/SelectMenu/SelectMenuModal.d.ts +1 -1
- package/lib/TextInputWithTokens.d.ts +15 -11
- package/lib/TextInputWithTokens.js +102 -29
- package/lib/Timeline.d.ts +19 -19
- 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.d.ts +1 -1
- package/lib/_TextInputWrapper.js +1 -1
- package/lib/constants.js +1 -3
- package/lib/experiments.d.ts +1 -0
- package/lib/experiments.js +13 -0
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -8
- package/lib/sx.d.ts +2 -0
- package/lib/sx.js +8 -0
- package/lib/utils/create-slots.d.ts +17 -0
- package/lib/utils/create-slots.js +105 -0
- package/lib/utils/testing.d.ts +1 -1
- package/lib/utils/use-force-update.d.ts +1 -0
- package/lib/utils/use-force-update.js +19 -0
- package/lib-esm/ActionList2/Description.d.ts +6 -0
- package/lib-esm/ActionList2/Description.js +37 -0
- package/lib-esm/ActionList2/Divider.d.ts +5 -0
- package/lib-esm/ActionList2/Divider.js +21 -0
- package/lib-esm/ActionList2/Group.d.ts +11 -0
- package/lib-esm/ActionList2/Group.js +38 -0
- package/lib-esm/ActionList2/Header.d.ts +26 -0
- package/lib-esm/ActionList2/Header.js +45 -0
- package/lib-esm/ActionList2/Item.d.ts +48 -0
- package/lib-esm/ActionList2/Item.js +176 -0
- package/lib-esm/ActionList2/List.d.ts +26 -0
- package/lib-esm/ActionList2/List.js +38 -0
- package/lib-esm/ActionList2/Selection.d.ts +5 -0
- package/lib-esm/ActionList2/Selection.js +55 -0
- package/lib-esm/ActionList2/Visuals.d.ts +11 -0
- package/lib-esm/ActionList2/Visuals.js +68 -0
- package/lib-esm/ActionList2/hacks.d.ts +30 -0
- package/lib-esm/ActionList2/hacks.js +30 -0
- package/lib-esm/ActionList2/index.d.ts +28 -0
- package/lib-esm/ActionList2/index.js +29 -0
- package/lib-esm/ActionMenu.js +2 -2
- package/lib-esm/Autocomplete/Autocomplete.d.ts +11 -11
- package/lib-esm/Autocomplete/AutocompleteInput.d.ts +11 -11
- package/lib-esm/Button/Button.d.ts +13 -13
- package/lib-esm/Button/ButtonBase.d.ts +1 -1
- package/lib-esm/Button/ButtonClose.d.ts +16 -16
- package/lib-esm/Button/ButtonDanger.d.ts +13 -13
- package/lib-esm/Button/ButtonInvisible.d.ts +13 -13
- package/lib-esm/Button/ButtonOutline.d.ts +13 -13
- package/lib-esm/Button/ButtonPrimary.d.ts +13 -13
- package/lib-esm/Button/ButtonStyles.js +1 -1
- package/lib-esm/CircleBadge.d.ts +2 -2
- package/lib-esm/CircleOcticon.d.ts +19 -19
- package/lib-esm/Dialog/Dialog.d.ts +4 -4
- package/lib-esm/Dialog/Dialog.js +21 -12
- package/lib-esm/Dialog.d.ts +21 -21
- package/lib-esm/Dropdown.d.ts +141 -63
- package/lib-esm/Dropdown.js +3 -4
- package/lib-esm/DropdownMenu/DropdownButton.d.ts +18 -18
- package/lib-esm/FilterList.d.ts +12 -12
- package/lib-esm/Label.d.ts +1 -1
- package/lib-esm/Position.d.ts +4 -4
- package/lib-esm/ProgressBar.d.ts +1 -1
- package/lib-esm/SelectMenu/SelectMenu.d.ts +81 -81
- package/lib-esm/SelectMenu/SelectMenuItem.d.ts +1 -1
- package/lib-esm/SelectMenu/SelectMenuModal.d.ts +1 -1
- package/lib-esm/TextInputWithTokens.d.ts +15 -11
- package/lib-esm/TextInputWithTokens.js +101 -30
- package/lib-esm/Timeline.d.ts +19 -19
- 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.d.ts +1 -1
- package/lib-esm/_TextInputWrapper.js +1 -1
- package/lib-esm/constants.js +1 -3
- package/lib-esm/experiments.d.ts +1 -0
- package/lib-esm/experiments.js +2 -0
- package/lib-esm/index.d.ts +0 -2
- package/lib-esm/index.js +0 -1
- package/lib-esm/sx.d.ts +2 -0
- package/lib-esm/sx.js +3 -1
- package/lib-esm/utils/create-slots.d.ts +17 -0
- package/lib-esm/utils/create-slots.js +84 -0
- package/lib-esm/utils/testing.d.ts +1 -1
- package/lib-esm/utils/use-force-update.d.ts +1 -0
- package/lib-esm/utils/use-force-update.js +6 -0
- package/package.json +2 -1
- package/lib/NewButton/button.d.ts +0 -581
- package/lib/NewButton/button.js +0 -297
- package/lib/NewButton/counter.d.ts +0 -6
- package/lib/NewButton/counter.js +0 -33
- package/lib/NewButton/index.d.ts +0 -4
- package/lib/NewButton/index.js +0 -21
- package/lib-esm/NewButton/button.d.ts +0 -581
- package/lib-esm/NewButton/button.js +0 -273
- package/lib-esm/NewButton/counter.d.ts +0 -6
- package/lib-esm/NewButton/counter.js +0 -21
- package/lib-esm/NewButton/index.d.ts +0 -4
- package/lib-esm/NewButton/index.js +0 -3
@@ -26,6 +26,15 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
|
|
26
26
|
margin?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
27
27
|
overflow?: import("styled-system").ResponsiveValue<import("csstype").Property.Overflow, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
28
28
|
padding?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
29
|
+
hidden?: boolean | undefined;
|
30
|
+
children?: React.ReactNode;
|
31
|
+
value?: string | number | readonly string[] | undefined;
|
32
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
33
|
+
form?: string | undefined;
|
34
|
+
p?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
35
|
+
slot?: string | undefined;
|
36
|
+
style?: React.CSSProperties | undefined;
|
37
|
+
title?: string | undefined;
|
29
38
|
bg?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
30
39
|
m?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
31
40
|
mt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
@@ -36,7 +45,6 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
|
|
36
45
|
marginX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
37
46
|
my?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
38
47
|
marginY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
39
|
-
p?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
40
48
|
pt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
41
49
|
pr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
42
50
|
pb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
@@ -45,11 +53,6 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
|
|
45
53
|
paddingX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
46
54
|
py?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
47
55
|
paddingY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
48
|
-
form?: string | undefined;
|
49
|
-
slot?: string | undefined;
|
50
|
-
style?: React.CSSProperties | undefined;
|
51
|
-
title?: string | undefined;
|
52
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
53
56
|
type?: "button" | "reset" | "submit" | undefined;
|
54
57
|
name?: string | undefined;
|
55
58
|
key?: React.Key | null | undefined;
|
@@ -59,11 +62,10 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
|
|
59
62
|
suppressHydrationWarning?: boolean | undefined;
|
60
63
|
accessKey?: string | undefined;
|
61
64
|
className?: string | undefined;
|
62
|
-
contentEditable?: (boolean | "true" | "false") |
|
65
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
63
66
|
contextMenu?: string | undefined;
|
64
67
|
dir?: string | undefined;
|
65
68
|
draggable?: (boolean | "true" | "false") | undefined;
|
66
|
-
hidden?: boolean | undefined;
|
67
69
|
id?: string | undefined;
|
68
70
|
lang?: string | undefined;
|
69
71
|
placeholder?: string | undefined;
|
@@ -90,11 +92,11 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
|
|
90
92
|
results?: number | undefined;
|
91
93
|
security?: string | undefined;
|
92
94
|
unselectable?: "on" | "off" | undefined;
|
93
|
-
inputMode?: "none" | "
|
95
|
+
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
94
96
|
is?: string | undefined;
|
95
97
|
'aria-activedescendant'?: string | undefined;
|
96
98
|
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
97
|
-
'aria-autocomplete'?: "
|
99
|
+
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
98
100
|
'aria-busy'?: boolean | "true" | "false" | undefined;
|
99
101
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
100
102
|
'aria-colcount'?: number | undefined;
|
@@ -105,12 +107,12 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
|
|
105
107
|
'aria-describedby'?: string | undefined;
|
106
108
|
'aria-details'?: string | undefined;
|
107
109
|
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
108
|
-
'aria-dropeffect'?: "
|
110
|
+
'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
|
109
111
|
'aria-errormessage'?: string | undefined;
|
110
112
|
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
111
113
|
'aria-flowto'?: string | undefined;
|
112
114
|
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
113
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "
|
115
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
|
114
116
|
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
115
117
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
116
118
|
'aria-keyshortcuts'?: string | undefined;
|
@@ -140,7 +142,6 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
|
|
140
142
|
'aria-valuemin'?: number | undefined;
|
141
143
|
'aria-valuenow'?: number | undefined;
|
142
144
|
'aria-valuetext'?: string | undefined;
|
143
|
-
children?: React.ReactNode;
|
144
145
|
dangerouslySetInnerHTML?: {
|
145
146
|
__html: string;
|
146
147
|
} | undefined;
|
@@ -306,9 +307,8 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
|
|
306
307
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
307
308
|
size?: import("styled-system").ResponsiveValue<import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
308
309
|
sx?: import("@styled-system/css").SystemStyleObject | undefined;
|
309
|
-
value?: string | number | readonly string[] | undefined;
|
310
|
-
autoFocus?: boolean | undefined;
|
311
310
|
disabled?: boolean | undefined;
|
311
|
+
autoFocus?: boolean | undefined;
|
312
312
|
formAction?: string | undefined;
|
313
313
|
formEncType?: string | undefined;
|
314
314
|
formMethod?: string | undefined;
|
@@ -316,6 +316,6 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
|
|
316
316
|
formTarget?: string | undefined;
|
317
317
|
} & {
|
318
318
|
theme?: any;
|
319
|
-
}, "backgroundColor" | "color" | "display" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "verticalAlign" | "width" | "margin" | "overflow" | "padding" | "
|
319
|
+
}, "backgroundColor" | "color" | "display" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "verticalAlign" | "width" | "margin" | "overflow" | "padding" | "hidden" | "children" | "theme" | "value" | "form" | "p" | "slot" | "style" | "title" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "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" | "size" | "sx" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & React.RefAttributes<HTMLButtonElement>>;
|
320
320
|
export declare type ButtonCloseProps = ComponentProps<typeof ButtonClose>;
|
321
321
|
export default ButtonClose;
|
@@ -3,16 +3,19 @@ import { SxProp } from '../sx';
|
|
3
3
|
import { ComponentProps } from '../utils/types';
|
4
4
|
declare const ButtonDanger: import("styled-components").StyledComponent<"button", any, {
|
5
5
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
6
|
-
variant?: "
|
6
|
+
variant?: "large" | "medium" | "small" | undefined;
|
7
7
|
} & import("styled-system").FontSizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
|
8
8
|
color?: string | undefined;
|
9
9
|
fontSize?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
10
10
|
translate?: "yes" | "no" | undefined;
|
11
|
+
hidden?: boolean | undefined;
|
12
|
+
children?: import("react").ReactNode;
|
13
|
+
value?: string | number | readonly string[] | undefined;
|
14
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
11
15
|
form?: string | undefined;
|
12
16
|
slot?: string | undefined;
|
13
17
|
style?: import("react").CSSProperties | undefined;
|
14
18
|
title?: string | undefined;
|
15
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
16
19
|
type?: "button" | "reset" | "submit" | undefined;
|
17
20
|
name?: string | undefined;
|
18
21
|
key?: import("react").Key | null | undefined;
|
@@ -22,11 +25,10 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
|
|
22
25
|
suppressHydrationWarning?: boolean | undefined;
|
23
26
|
accessKey?: string | undefined;
|
24
27
|
className?: string | undefined;
|
25
|
-
contentEditable?: (boolean | "true" | "false") |
|
28
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
26
29
|
contextMenu?: string | undefined;
|
27
30
|
dir?: string | undefined;
|
28
31
|
draggable?: (boolean | "true" | "false") | undefined;
|
29
|
-
hidden?: boolean | undefined;
|
30
32
|
id?: string | undefined;
|
31
33
|
lang?: string | undefined;
|
32
34
|
placeholder?: string | undefined;
|
@@ -53,11 +55,11 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
|
|
53
55
|
results?: number | undefined;
|
54
56
|
security?: string | undefined;
|
55
57
|
unselectable?: "on" | "off" | undefined;
|
56
|
-
inputMode?: "none" | "
|
58
|
+
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
57
59
|
is?: string | undefined;
|
58
60
|
'aria-activedescendant'?: string | undefined;
|
59
61
|
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
60
|
-
'aria-autocomplete'?: "
|
62
|
+
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
61
63
|
'aria-busy'?: boolean | "true" | "false" | undefined;
|
62
64
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
63
65
|
'aria-colcount'?: number | undefined;
|
@@ -68,12 +70,12 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
|
|
68
70
|
'aria-describedby'?: string | undefined;
|
69
71
|
'aria-details'?: string | undefined;
|
70
72
|
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
71
|
-
'aria-dropeffect'?: "
|
73
|
+
'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
|
72
74
|
'aria-errormessage'?: string | undefined;
|
73
75
|
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
74
76
|
'aria-flowto'?: string | undefined;
|
75
77
|
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
76
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "
|
78
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
|
77
79
|
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
78
80
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
79
81
|
'aria-keyshortcuts'?: string | undefined;
|
@@ -103,7 +105,6 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
|
|
103
105
|
'aria-valuemin'?: number | undefined;
|
104
106
|
'aria-valuenow'?: number | undefined;
|
105
107
|
'aria-valuetext'?: string | undefined;
|
106
|
-
children?: import("react").ReactNode;
|
107
108
|
dangerouslySetInnerHTML?: {
|
108
109
|
__html: string;
|
109
110
|
} | undefined;
|
@@ -267,16 +268,15 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
|
|
267
268
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
|
268
269
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
269
270
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
270
|
-
|
271
|
-
|
271
|
+
variant?: "large" | "medium" | "small" | undefined;
|
272
|
+
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
272
273
|
disabled?: boolean | undefined;
|
274
|
+
autoFocus?: boolean | undefined;
|
273
275
|
formAction?: string | undefined;
|
274
276
|
formEncType?: string | undefined;
|
275
277
|
formMethod?: string | undefined;
|
276
278
|
formNoValidate?: boolean | undefined;
|
277
279
|
formTarget?: string | undefined;
|
278
|
-
variant?: "small" | "large" | "medium" | undefined;
|
279
|
-
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | 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>;
|
@@ -3,16 +3,19 @@ import { SxProp } from '../sx';
|
|
3
3
|
import { ComponentProps } from '../utils/types';
|
4
4
|
declare const ButtonInvisible: import("styled-components").StyledComponent<"button", any, {
|
5
5
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
6
|
-
variant?: "
|
6
|
+
variant?: "large" | "medium" | "small" | undefined;
|
7
7
|
} & import("styled-system").FontSizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
|
8
8
|
color?: string | undefined;
|
9
9
|
fontSize?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
10
10
|
translate?: "yes" | "no" | undefined;
|
11
|
+
hidden?: boolean | undefined;
|
12
|
+
children?: import("react").ReactNode;
|
13
|
+
value?: string | number | readonly string[] | undefined;
|
14
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
11
15
|
form?: string | undefined;
|
12
16
|
slot?: string | undefined;
|
13
17
|
style?: import("react").CSSProperties | undefined;
|
14
18
|
title?: string | undefined;
|
15
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
16
19
|
type?: "button" | "reset" | "submit" | undefined;
|
17
20
|
name?: string | undefined;
|
18
21
|
key?: import("react").Key | null | undefined;
|
@@ -22,11 +25,10 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
|
|
22
25
|
suppressHydrationWarning?: boolean | undefined;
|
23
26
|
accessKey?: string | undefined;
|
24
27
|
className?: string | undefined;
|
25
|
-
contentEditable?: (boolean | "true" | "false") |
|
28
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
26
29
|
contextMenu?: string | undefined;
|
27
30
|
dir?: string | undefined;
|
28
31
|
draggable?: (boolean | "true" | "false") | undefined;
|
29
|
-
hidden?: boolean | undefined;
|
30
32
|
id?: string | undefined;
|
31
33
|
lang?: string | undefined;
|
32
34
|
placeholder?: string | undefined;
|
@@ -53,11 +55,11 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
|
|
53
55
|
results?: number | undefined;
|
54
56
|
security?: string | undefined;
|
55
57
|
unselectable?: "on" | "off" | undefined;
|
56
|
-
inputMode?: "none" | "
|
58
|
+
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
57
59
|
is?: string | undefined;
|
58
60
|
'aria-activedescendant'?: string | undefined;
|
59
61
|
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
60
|
-
'aria-autocomplete'?: "
|
62
|
+
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
61
63
|
'aria-busy'?: boolean | "true" | "false" | undefined;
|
62
64
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
63
65
|
'aria-colcount'?: number | undefined;
|
@@ -68,12 +70,12 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
|
|
68
70
|
'aria-describedby'?: string | undefined;
|
69
71
|
'aria-details'?: string | undefined;
|
70
72
|
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
71
|
-
'aria-dropeffect'?: "
|
73
|
+
'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
|
72
74
|
'aria-errormessage'?: string | undefined;
|
73
75
|
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
74
76
|
'aria-flowto'?: string | undefined;
|
75
77
|
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
76
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "
|
78
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
|
77
79
|
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
78
80
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
79
81
|
'aria-keyshortcuts'?: string | undefined;
|
@@ -103,7 +105,6 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
|
|
103
105
|
'aria-valuemin'?: number | undefined;
|
104
106
|
'aria-valuenow'?: number | undefined;
|
105
107
|
'aria-valuetext'?: string | undefined;
|
106
|
-
children?: import("react").ReactNode;
|
107
108
|
dangerouslySetInnerHTML?: {
|
108
109
|
__html: string;
|
109
110
|
} | undefined;
|
@@ -267,16 +268,15 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
|
|
267
268
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
|
268
269
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
269
270
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
270
|
-
|
271
|
-
|
271
|
+
variant?: "large" | "medium" | "small" | undefined;
|
272
|
+
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
272
273
|
disabled?: boolean | undefined;
|
274
|
+
autoFocus?: boolean | undefined;
|
273
275
|
formAction?: string | undefined;
|
274
276
|
formEncType?: string | undefined;
|
275
277
|
formMethod?: string | undefined;
|
276
278
|
formNoValidate?: boolean | undefined;
|
277
279
|
formTarget?: string | undefined;
|
278
|
-
variant?: "small" | "large" | "medium" | undefined;
|
279
|
-
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | 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>;
|
@@ -3,16 +3,19 @@ import { SxProp } from '../sx';
|
|
3
3
|
import { ComponentProps } from '../utils/types';
|
4
4
|
declare const ButtonOutline: import("styled-components").StyledComponent<"button", any, {
|
5
5
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
6
|
-
variant?: "
|
6
|
+
variant?: "large" | "medium" | "small" | undefined;
|
7
7
|
} & import("styled-system").FontSizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
|
8
8
|
color?: string | undefined;
|
9
9
|
fontSize?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
10
10
|
translate?: "yes" | "no" | undefined;
|
11
|
+
hidden?: boolean | undefined;
|
12
|
+
children?: import("react").ReactNode;
|
13
|
+
value?: string | number | readonly string[] | undefined;
|
14
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
11
15
|
form?: string | undefined;
|
12
16
|
slot?: string | undefined;
|
13
17
|
style?: import("react").CSSProperties | undefined;
|
14
18
|
title?: string | undefined;
|
15
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
16
19
|
type?: "button" | "reset" | "submit" | undefined;
|
17
20
|
name?: string | undefined;
|
18
21
|
key?: import("react").Key | null | undefined;
|
@@ -22,11 +25,10 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
|
|
22
25
|
suppressHydrationWarning?: boolean | undefined;
|
23
26
|
accessKey?: string | undefined;
|
24
27
|
className?: string | undefined;
|
25
|
-
contentEditable?: (boolean | "true" | "false") |
|
28
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
26
29
|
contextMenu?: string | undefined;
|
27
30
|
dir?: string | undefined;
|
28
31
|
draggable?: (boolean | "true" | "false") | undefined;
|
29
|
-
hidden?: boolean | undefined;
|
30
32
|
id?: string | undefined;
|
31
33
|
lang?: string | undefined;
|
32
34
|
placeholder?: string | undefined;
|
@@ -53,11 +55,11 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
|
|
53
55
|
results?: number | undefined;
|
54
56
|
security?: string | undefined;
|
55
57
|
unselectable?: "on" | "off" | undefined;
|
56
|
-
inputMode?: "none" | "
|
58
|
+
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
57
59
|
is?: string | undefined;
|
58
60
|
'aria-activedescendant'?: string | undefined;
|
59
61
|
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
60
|
-
'aria-autocomplete'?: "
|
62
|
+
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
61
63
|
'aria-busy'?: boolean | "true" | "false" | undefined;
|
62
64
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
63
65
|
'aria-colcount'?: number | undefined;
|
@@ -68,12 +70,12 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
|
|
68
70
|
'aria-describedby'?: string | undefined;
|
69
71
|
'aria-details'?: string | undefined;
|
70
72
|
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
71
|
-
'aria-dropeffect'?: "
|
73
|
+
'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
|
72
74
|
'aria-errormessage'?: string | undefined;
|
73
75
|
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
74
76
|
'aria-flowto'?: string | undefined;
|
75
77
|
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
76
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "
|
78
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
|
77
79
|
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
78
80
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
79
81
|
'aria-keyshortcuts'?: string | undefined;
|
@@ -103,7 +105,6 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
|
|
103
105
|
'aria-valuemin'?: number | undefined;
|
104
106
|
'aria-valuenow'?: number | undefined;
|
105
107
|
'aria-valuetext'?: string | undefined;
|
106
|
-
children?: import("react").ReactNode;
|
107
108
|
dangerouslySetInnerHTML?: {
|
108
109
|
__html: string;
|
109
110
|
} | undefined;
|
@@ -267,16 +268,15 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
|
|
267
268
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
|
268
269
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
269
270
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
270
|
-
|
271
|
-
|
271
|
+
variant?: "large" | "medium" | "small" | undefined;
|
272
|
+
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
272
273
|
disabled?: boolean | undefined;
|
274
|
+
autoFocus?: boolean | undefined;
|
273
275
|
formAction?: string | undefined;
|
274
276
|
formEncType?: string | undefined;
|
275
277
|
formMethod?: string | undefined;
|
276
278
|
formNoValidate?: boolean | undefined;
|
277
279
|
formTarget?: string | undefined;
|
278
|
-
variant?: "small" | "large" | "medium" | undefined;
|
279
|
-
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | 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>;
|
@@ -3,16 +3,19 @@ import { SxProp } from '../sx';
|
|
3
3
|
import { ComponentProps } from '../utils/types';
|
4
4
|
export declare const ButtonPrimary: import("styled-components").StyledComponent<"button", any, {
|
5
5
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
6
|
-
variant?: "
|
6
|
+
variant?: "large" | "medium" | "small" | undefined;
|
7
7
|
} & import("styled-system").FontSizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
|
8
8
|
color?: string | undefined;
|
9
9
|
fontSize?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
10
10
|
translate?: "yes" | "no" | undefined;
|
11
|
+
hidden?: boolean | undefined;
|
12
|
+
children?: import("react").ReactNode;
|
13
|
+
value?: string | number | readonly string[] | undefined;
|
14
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
11
15
|
form?: string | undefined;
|
12
16
|
slot?: string | undefined;
|
13
17
|
style?: import("react").CSSProperties | undefined;
|
14
18
|
title?: string | undefined;
|
15
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
16
19
|
type?: "button" | "reset" | "submit" | undefined;
|
17
20
|
name?: string | undefined;
|
18
21
|
key?: import("react").Key | null | undefined;
|
@@ -22,11 +25,10 @@ export declare const ButtonPrimary: import("styled-components").StyledComponent<
|
|
22
25
|
suppressHydrationWarning?: boolean | undefined;
|
23
26
|
accessKey?: string | undefined;
|
24
27
|
className?: string | undefined;
|
25
|
-
contentEditable?: (boolean | "true" | "false") |
|
28
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
26
29
|
contextMenu?: string | undefined;
|
27
30
|
dir?: string | undefined;
|
28
31
|
draggable?: (boolean | "true" | "false") | undefined;
|
29
|
-
hidden?: boolean | undefined;
|
30
32
|
id?: string | undefined;
|
31
33
|
lang?: string | undefined;
|
32
34
|
placeholder?: string | undefined;
|
@@ -53,11 +55,11 @@ export declare const ButtonPrimary: import("styled-components").StyledComponent<
|
|
53
55
|
results?: number | undefined;
|
54
56
|
security?: string | undefined;
|
55
57
|
unselectable?: "on" | "off" | undefined;
|
56
|
-
inputMode?: "none" | "
|
58
|
+
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
57
59
|
is?: string | undefined;
|
58
60
|
'aria-activedescendant'?: string | undefined;
|
59
61
|
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
60
|
-
'aria-autocomplete'?: "
|
62
|
+
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
61
63
|
'aria-busy'?: boolean | "true" | "false" | undefined;
|
62
64
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
63
65
|
'aria-colcount'?: number | undefined;
|
@@ -68,12 +70,12 @@ export declare const ButtonPrimary: import("styled-components").StyledComponent<
|
|
68
70
|
'aria-describedby'?: string | undefined;
|
69
71
|
'aria-details'?: string | undefined;
|
70
72
|
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
71
|
-
'aria-dropeffect'?: "
|
73
|
+
'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
|
72
74
|
'aria-errormessage'?: string | undefined;
|
73
75
|
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
74
76
|
'aria-flowto'?: string | undefined;
|
75
77
|
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
76
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "
|
78
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
|
77
79
|
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
78
80
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
79
81
|
'aria-keyshortcuts'?: string | undefined;
|
@@ -103,7 +105,6 @@ export declare const ButtonPrimary: import("styled-components").StyledComponent<
|
|
103
105
|
'aria-valuemin'?: number | undefined;
|
104
106
|
'aria-valuenow'?: number | undefined;
|
105
107
|
'aria-valuetext'?: string | undefined;
|
106
|
-
children?: import("react").ReactNode;
|
107
108
|
dangerouslySetInnerHTML?: {
|
108
109
|
__html: string;
|
109
110
|
} | undefined;
|
@@ -267,16 +268,15 @@ export declare const ButtonPrimary: import("styled-components").StyledComponent<
|
|
267
268
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
|
268
269
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
269
270
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
270
|
-
|
271
|
-
|
271
|
+
variant?: "large" | "medium" | "small" | undefined;
|
272
|
+
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
272
273
|
disabled?: boolean | undefined;
|
274
|
+
autoFocus?: boolean | undefined;
|
273
275
|
formAction?: string | undefined;
|
274
276
|
formEncType?: string | undefined;
|
275
277
|
formMethod?: string | undefined;
|
276
278
|
formNoValidate?: boolean | undefined;
|
277
279
|
formTarget?: string | undefined;
|
278
|
-
variant?: "small" | "large" | "medium" | undefined;
|
279
|
-
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | 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>;
|
@@ -9,6 +9,6 @@ var _styledComponents = require("styled-components");
|
|
9
9
|
|
10
10
|
var _constants = require("../constants");
|
11
11
|
|
12
|
-
var _default = (0, _styledComponents.css)(["position:relative;display:inline-block;font-family:inherit;font-weight:", ";line-height:20px;white-space:nowrap;vertical-align:middle;cursor:pointer;user-select:none;border-radius:", ";appearance:none;text-decoration:none;text-align:center;&:hover{text-decoration:none;}&:focus{outline:none;}&:disabled{cursor:default;}&:disabled svg{opacity:0.6;}"], (0, _constants.get)('fontWeights.bold'), (0, _constants.get)('radii.2'));
|
12
|
+
var _default = (0, _styledComponents.css)(["position:relative;display:inline-block;padding:6px 16px;font-family:inherit;font-weight:", ";line-height:20px;white-space:nowrap;vertical-align:middle;cursor:pointer;user-select:none;border-radius:", ";appearance:none;text-decoration:none;text-align:center;&:hover{text-decoration:none;}&:focus{outline:none;}&:disabled{cursor:default;}&:disabled svg{opacity:0.6;}"], (0, _constants.get)('fontWeights.bold'), (0, _constants.get)('radii.2'));
|
13
13
|
|
14
14
|
exports.default = _default;
|
package/lib/CircleBadge.d.ts
CHANGED
@@ -5,7 +5,7 @@ import { SxProp } from './sx';
|
|
5
5
|
import { ComponentProps } from './utils/types';
|
6
6
|
declare const CircleBadge: import("styled-components").StyledComponent<"div", any, {
|
7
7
|
inline?: boolean | undefined;
|
8
|
-
variant?: "
|
8
|
+
variant?: "large" | "medium" | "small" | undefined;
|
9
9
|
size?: number | undefined;
|
10
10
|
} & SystemCommonProps & SxProp, never>;
|
11
11
|
declare const CircleBadgeIcon: import("styled-components").StyledComponent<({ icon: IconComponent, ...rest }: {
|
@@ -15,7 +15,7 @@ export declare type CircleBadgeProps = ComponentProps<typeof CircleBadge>;
|
|
15
15
|
export declare type CircleBadgeIconProps = ComponentProps<typeof CircleBadgeIcon>;
|
16
16
|
declare const _default: string & import("styled-components").StyledComponentBase<"div", any, {
|
17
17
|
inline?: boolean | undefined;
|
18
|
-
variant?: "
|
18
|
+
variant?: "large" | "medium" | "small" | undefined;
|
19
19
|
size?: number | undefined;
|
20
20
|
} & SystemCommonProps & SxProp, never> & import("hoist-non-react-statics").NonReactStatics<never, {}> & {
|
21
21
|
Icon: import("styled-components").StyledComponent<({ icon: IconComponent, ...rest }: {
|