@wordpress/components 25.2.0 → 25.3.0
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 +19 -0
- package/build/button/index.js +13 -4
- package/build/button/index.js.map +1 -1
- package/build/confirm-dialog/component.js +9 -1
- package/build/confirm-dialog/component.js.map +1 -1
- package/build/font-size-picker/index.js +5 -3
- package/build/font-size-picker/index.js.map +1 -1
- package/build/font-size-picker/styles.js +19 -26
- package/build/font-size-picker/styles.js.map +1 -1
- package/build/guide/icons.js +2 -5
- package/build/guide/icons.js.map +1 -1
- package/build/guide/index.js +14 -11
- package/build/guide/index.js.map +1 -1
- package/build/guide/page-control.js +1 -3
- package/build/guide/page-control.js.map +1 -1
- package/build/item-group/styles.js +10 -10
- package/build/item-group/styles.js.map +1 -1
- package/build/mobile/bottom-sheet/cell.native.js +2 -1
- package/build/mobile/bottom-sheet/cell.native.js.map +1 -1
- package/build/number-control/index.js +8 -4
- package/build/number-control/index.js.map +1 -1
- package/build/number-control/styles/number-control-styles.js +9 -15
- package/build/number-control/styles/number-control-styles.js.map +1 -1
- package/build/range-control/index.js +7 -1
- package/build/range-control/index.js.map +1 -1
- package/build/range-control/input-range.js.map +1 -1
- package/build/range-control/styles/range-control-styles.js +35 -36
- package/build/range-control/styles/range-control-styles.js.map +1 -1
- package/build/select-control/index.js +2 -1
- package/build/select-control/index.js.map +1 -1
- package/build/unit-control/index.js +4 -2
- package/build/unit-control/index.js.map +1 -1
- package/build/z-stack/component.js +5 -3
- package/build/z-stack/component.js.map +1 -1
- package/build/z-stack/styles.js +23 -42
- package/build/z-stack/styles.js.map +1 -1
- package/build-module/button/index.js +13 -4
- package/build-module/button/index.js.map +1 -1
- package/build-module/confirm-dialog/component.js +10 -2
- package/build-module/confirm-dialog/component.js.map +1 -1
- package/build-module/font-size-picker/index.js +5 -4
- package/build-module/font-size-picker/index.js.map +1 -1
- package/build-module/font-size-picker/styles.js +17 -23
- package/build-module/font-size-picker/styles.js.map +1 -1
- package/build-module/guide/icons.js +2 -5
- package/build-module/guide/icons.js.map +1 -1
- package/build-module/guide/index.js +14 -10
- package/build-module/guide/index.js.map +1 -1
- package/build-module/guide/page-control.js +1 -3
- package/build-module/guide/page-control.js.map +1 -1
- package/build-module/item-group/styles.js +10 -10
- package/build-module/item-group/styles.js.map +1 -1
- package/build-module/mobile/bottom-sheet/cell.native.js +2 -1
- package/build-module/mobile/bottom-sheet/cell.native.js.map +1 -1
- package/build-module/number-control/index.js +8 -5
- package/build-module/number-control/index.js.map +1 -1
- package/build-module/number-control/styles/number-control-styles.js +7 -14
- package/build-module/number-control/styles/number-control-styles.js.map +1 -1
- package/build-module/range-control/index.js +6 -1
- package/build-module/range-control/index.js.map +1 -1
- package/build-module/range-control/input-range.js.map +1 -1
- package/build-module/range-control/styles/range-control-styles.js +35 -36
- package/build-module/range-control/styles/range-control-styles.js.map +1 -1
- package/build-module/select-control/index.js +2 -1
- package/build-module/select-control/index.js.map +1 -1
- package/build-module/unit-control/index.js +3 -2
- package/build-module/unit-control/index.js.map +1 -1
- package/build-module/z-stack/component.js +5 -3
- package/build-module/z-stack/component.js.map +1 -1
- package/build-module/z-stack/styles.js +22 -44
- package/build-module/z-stack/styles.js.map +1 -1
- package/build-style/style-rtl.css +19 -35
- package/build-style/style.css +19 -35
- package/build-types/button/deprecated.d.ts +6 -6
- package/build-types/button/index.d.ts.map +1 -1
- package/build-types/button/types.d.ts +16 -9
- package/build-types/button/types.d.ts.map +1 -1
- package/build-types/color-picker/styles.d.ts +2 -1
- package/build-types/color-picker/styles.d.ts.map +1 -1
- package/build-types/confirm-dialog/component.d.ts.map +1 -1
- package/build-types/font-size-picker/index.d.ts.map +1 -1
- package/build-types/font-size-picker/styles.d.ts +0 -6
- package/build-types/font-size-picker/styles.d.ts.map +1 -1
- package/build-types/guide/icons.d.ts +1 -3
- package/build-types/guide/icons.d.ts.map +1 -1
- package/build-types/guide/index.d.ts.map +1 -1
- package/build-types/guide/page-control.d.ts.map +1 -1
- package/build-types/navigator/navigator-back-button/component.d.ts +1 -1
- package/build-types/navigator/navigator-back-button/hook.d.ts +1 -1
- package/build-types/navigator/navigator-button/component.d.ts +1 -1
- package/build-types/navigator/navigator-button/hook.d.ts +1 -1
- package/build-types/navigator/navigator-to-parent-button/component.d.ts +1 -1
- package/build-types/number-control/index.d.ts.map +1 -1
- package/build-types/number-control/styles/number-control-styles.d.ts +5 -3
- package/build-types/number-control/styles/number-control-styles.d.ts.map +1 -1
- package/build-types/range-control/index.d.ts +15 -2
- package/build-types/range-control/index.d.ts.map +1 -1
- package/build-types/range-control/input-range.d.ts.map +1 -1
- package/build-types/range-control/styles/range-control-styles.d.ts +4 -2
- package/build-types/range-control/styles/range-control-styles.d.ts.map +1 -1
- package/build-types/range-control/types.d.ts +6 -0
- package/build-types/range-control/types.d.ts.map +1 -1
- package/build-types/select-control/index.d.ts.map +1 -1
- package/build-types/select-control/types.d.ts +6 -0
- package/build-types/select-control/types.d.ts.map +1 -1
- package/build-types/toolbar/toolbar-button/index.d.ts +6 -6
- package/build-types/unit-control/index.d.ts.map +1 -1
- package/build-types/z-stack/component.d.ts.map +1 -1
- package/build-types/z-stack/stories/index.d.ts.map +1 -1
- package/build-types/z-stack/styles.d.ts +5 -4
- package/build-types/z-stack/styles.d.ts.map +1 -1
- package/package.json +20 -20
- package/src/button/README.md +15 -0
- package/src/button/index.tsx +11 -4
- package/src/button/style.scss +13 -12
- package/src/button/test/index.tsx +13 -0
- package/src/button/types.ts +17 -9
- package/src/confirm-dialog/component.tsx +12 -2
- package/src/confirm-dialog/stories/index.js +8 -15
- package/src/confirm-dialog/test/index.js +42 -0
- package/src/dropdown-menu/style.scss +9 -13
- package/src/font-size-picker/index.tsx +9 -5
- package/src/font-size-picker/styles.ts +0 -10
- package/src/guide/icons.tsx +2 -7
- package/src/guide/index.tsx +14 -13
- package/src/guide/page-control.tsx +1 -5
- package/src/guide/style.scss +8 -24
- package/src/item-group/styles.ts +1 -1
- package/src/mobile/bottom-sheet/cell.native.js +1 -0
- package/src/modal/style.scss +3 -2
- package/src/number-control/index.tsx +6 -4
- package/src/number-control/styles/number-control-styles.ts +8 -16
- package/src/range-control/index.tsx +14 -2
- package/src/range-control/input-range.tsx +0 -1
- package/src/range-control/styles/range-control-styles.ts +12 -3
- package/src/range-control/types.ts +6 -0
- package/src/select-control/index.tsx +1 -0
- package/src/select-control/types.ts +6 -0
- package/src/unit-control/index.tsx +3 -2
- package/src/unit-control/test/index.tsx +5 -2
- package/src/z-stack/component.tsx +4 -2
- package/src/z-stack/stories/index.tsx +6 -13
- package/src/z-stack/styles.ts +23 -24
- package/tsconfig.tsbuildinfo +1 -1
package/build-style/style.css
CHANGED
|
@@ -402,21 +402,22 @@ p + .components-button.is-tertiary {
|
|
|
402
402
|
background-image: linear-gradient(-45deg, #fafafa 33%, #e0e0e0 33%, #e0e0e0 70%, #fafafa 70%);
|
|
403
403
|
/* stylelint-enable */
|
|
404
404
|
}
|
|
405
|
-
.components-button.is-
|
|
405
|
+
.components-button.is-compact {
|
|
406
406
|
height: 32px;
|
|
407
|
-
line-height: 22px;
|
|
408
|
-
padding: 0 8px;
|
|
409
|
-
font-size: 11px;
|
|
410
407
|
}
|
|
411
|
-
.components-button.is-
|
|
408
|
+
.components-button.is-compact.has-icon:not(.has-text) {
|
|
412
409
|
padding: 0;
|
|
413
410
|
width: 32px;
|
|
414
411
|
min-width: 32px;
|
|
415
412
|
}
|
|
416
|
-
.components-button.is-small
|
|
413
|
+
.components-button.is-small {
|
|
417
414
|
height: 24px;
|
|
415
|
+
line-height: 22px;
|
|
416
|
+
padding: 0 8px;
|
|
417
|
+
font-size: 11px;
|
|
418
418
|
}
|
|
419
|
-
.components-button.is-small
|
|
419
|
+
.components-button.is-small.has-icon:not(.has-text) {
|
|
420
|
+
padding: 0;
|
|
420
421
|
width: 24px;
|
|
421
422
|
min-width: 24px;
|
|
422
423
|
}
|
|
@@ -1225,18 +1226,14 @@ body.is-dragging-components-draggable {
|
|
|
1225
1226
|
height: 1px;
|
|
1226
1227
|
}
|
|
1227
1228
|
.components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-active svg,
|
|
1228
|
-
.components-dropdown-menu__menu .components-
|
|
1229
|
+
.components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-active .dashicon,
|
|
1230
|
+
.components-dropdown-menu__menu .components-menu-item.is-active svg,
|
|
1231
|
+
.components-dropdown-menu__menu .components-menu-item.is-active .dashicon {
|
|
1229
1232
|
color: #fff;
|
|
1230
1233
|
background: #1e1e1e;
|
|
1231
1234
|
box-shadow: 0 0 0 1px #1e1e1e;
|
|
1232
1235
|
border-radius: 1px;
|
|
1233
1236
|
}
|
|
1234
|
-
.components-dropdown-menu__menu .components-dropdown-menu__menu-item > svg,
|
|
1235
|
-
.components-dropdown-menu__menu .components-menu-item > svg {
|
|
1236
|
-
border-radius: 2px;
|
|
1237
|
-
width: 24px;
|
|
1238
|
-
height: 24px;
|
|
1239
|
-
}
|
|
1240
1237
|
.components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-icon-only,
|
|
1241
1238
|
.components-dropdown-menu__menu .components-menu-item.is-icon-only {
|
|
1242
1239
|
width: auto;
|
|
@@ -1635,7 +1632,7 @@ body.is-dragging-components-draggable {
|
|
|
1635
1632
|
.components-guide__footer {
|
|
1636
1633
|
align-content: center;
|
|
1637
1634
|
display: flex;
|
|
1638
|
-
height:
|
|
1635
|
+
height: 36px;
|
|
1639
1636
|
justify-content: center;
|
|
1640
1637
|
margin: 0 0 24px 0;
|
|
1641
1638
|
padding: 0 32px;
|
|
@@ -1654,12 +1651,15 @@ body.is-dragging-components-draggable {
|
|
|
1654
1651
|
height: 30px;
|
|
1655
1652
|
min-width: 20px;
|
|
1656
1653
|
margin: -6px 0;
|
|
1654
|
+
color: #e0e0e0;
|
|
1655
|
+
}
|
|
1656
|
+
.components-guide__page-control li[aria-current=step] .components-button {
|
|
1657
|
+
color: var(--wp-components-color-accent, var(--wp-admin-theme-color));
|
|
1657
1658
|
}
|
|
1658
1659
|
|
|
1659
1660
|
.components-modal__frame.components-guide {
|
|
1660
1661
|
border: none;
|
|
1661
1662
|
min-width: 312px;
|
|
1662
|
-
height: 80vh;
|
|
1663
1663
|
max-height: 575px;
|
|
1664
1664
|
}
|
|
1665
1665
|
@media (max-width: 600px) {
|
|
@@ -1670,28 +1670,12 @@ body.is-dragging-components-draggable {
|
|
|
1670
1670
|
}
|
|
1671
1671
|
|
|
1672
1672
|
.components-button.components-guide__back-button, .components-button.components-guide__forward-button, .components-button.components-guide__finish-button {
|
|
1673
|
-
height: 30px;
|
|
1674
1673
|
position: absolute;
|
|
1675
1674
|
}
|
|
1676
|
-
.components-button.components-guide__back-button, .components-button.components-guide__forward-button {
|
|
1677
|
-
font-size: 13px;
|
|
1678
|
-
padding: 4px 2px;
|
|
1679
|
-
}
|
|
1680
|
-
.components-button.components-guide__back-button.has-text svg, .components-button.components-guide__forward-button.has-text svg {
|
|
1681
|
-
margin: 0;
|
|
1682
|
-
}
|
|
1683
|
-
.components-button.components-guide__back-button:hover, .components-button.components-guide__forward-button:hover {
|
|
1684
|
-
text-decoration: underline;
|
|
1685
|
-
}
|
|
1686
1675
|
.components-button.components-guide__back-button {
|
|
1687
1676
|
left: 32px;
|
|
1688
1677
|
}
|
|
1689
|
-
.components-button.components-guide__forward-button {
|
|
1690
|
-
right: 32px;
|
|
1691
|
-
color: #1386bf;
|
|
1692
|
-
font-weight: bold;
|
|
1693
|
-
}
|
|
1694
|
-
.components-button.components-guide__finish-button {
|
|
1678
|
+
.components-button.components-guide__forward-button, .components-button.components-guide__finish-button {
|
|
1695
1679
|
right: 32px;
|
|
1696
1680
|
}
|
|
1697
1681
|
|
|
@@ -1908,7 +1892,7 @@ body.is-dragging-components-draggable {
|
|
|
1908
1892
|
.components-modal__header {
|
|
1909
1893
|
box-sizing: border-box;
|
|
1910
1894
|
border-bottom: 1px solid transparent;
|
|
1911
|
-
padding: 24px 32px
|
|
1895
|
+
padding: 24px 32px 8px;
|
|
1912
1896
|
display: flex;
|
|
1913
1897
|
flex-direction: row;
|
|
1914
1898
|
justify-content: space-between;
|
|
@@ -1959,7 +1943,7 @@ body.is-dragging-components-draggable {
|
|
|
1959
1943
|
.components-modal__content {
|
|
1960
1944
|
flex: 1;
|
|
1961
1945
|
margin-top: 72px;
|
|
1962
|
-
padding:
|
|
1946
|
+
padding: 4px 32px 32px;
|
|
1963
1947
|
overflow: auto;
|
|
1964
1948
|
}
|
|
1965
1949
|
.components-modal__content.hide-header {
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import type { DeprecatedIconButtonProps } from './types';
|
|
3
3
|
declare const _default: import("react").ForwardRefExoticComponent<((Pick<{
|
|
4
4
|
__next40pxDefaultSize?: boolean | undefined;
|
|
5
|
-
__next32pxSmallSize?: boolean | undefined;
|
|
6
5
|
children?: import("react").ReactNode;
|
|
7
6
|
describedBy?: string | undefined;
|
|
8
7
|
focus?: boolean | undefined;
|
|
@@ -19,6 +18,7 @@ declare const _default: import("react").ForwardRefExoticComponent<((Pick<{
|
|
|
19
18
|
ariaLabel: string;
|
|
20
19
|
} | undefined;
|
|
21
20
|
showTooltip?: boolean | undefined;
|
|
21
|
+
size?: "default" | "small" | "compact" | undefined;
|
|
22
22
|
text?: string | undefined;
|
|
23
23
|
tooltipPosition?: ("bottom" | "top" | "middle") | "bottom left" | "bottom right" | "bottom center" | "top left" | "top right" | "top center" | "middle left" | "middle right" | "middle center" | "bottom left left" | "bottom left right" | "bottom left bottom" | "bottom left top" | "bottom right left" | "bottom right right" | "bottom right bottom" | "bottom right top" | "bottom center left" | "bottom center right" | "bottom center bottom" | "bottom center top" | "top left left" | "top left right" | "top left bottom" | "top left top" | "top right left" | "top right right" | "top right bottom" | "top right top" | "top center left" | "top center right" | "top center bottom" | "top center top" | "middle left left" | "middle left right" | "middle left bottom" | "middle left top" | "middle right left" | "middle right right" | "middle right bottom" | "middle right top" | "middle center left" | "middle center right" | "middle center bottom" | "middle center top" | undefined;
|
|
24
24
|
variant?: "link" | "primary" | "secondary" | "tertiary" | undefined;
|
|
@@ -27,7 +27,6 @@ declare const _default: import("react").ForwardRefExoticComponent<((Pick<{
|
|
|
27
27
|
disabled?: boolean | undefined;
|
|
28
28
|
} & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>>, "disabled" | "as" | keyof {
|
|
29
29
|
__next40pxDefaultSize?: boolean | undefined;
|
|
30
|
-
__next32pxSmallSize?: boolean | undefined;
|
|
31
30
|
children?: import("react").ReactNode;
|
|
32
31
|
describedBy?: string | undefined;
|
|
33
32
|
focus?: boolean | undefined;
|
|
@@ -44,13 +43,13 @@ declare const _default: import("react").ForwardRefExoticComponent<((Pick<{
|
|
|
44
43
|
ariaLabel: string;
|
|
45
44
|
} | undefined;
|
|
46
45
|
showTooltip?: boolean | undefined;
|
|
46
|
+
size?: "default" | "small" | "compact" | undefined;
|
|
47
47
|
text?: string | undefined;
|
|
48
48
|
tooltipPosition?: ("bottom" | "top" | "middle") | "bottom left" | "bottom right" | "bottom center" | "top left" | "top right" | "top center" | "middle left" | "middle right" | "middle center" | "bottom left left" | "bottom left right" | "bottom left bottom" | "bottom left top" | "bottom right left" | "bottom right right" | "bottom right bottom" | "bottom right top" | "bottom center left" | "bottom center right" | "bottom center bottom" | "bottom center top" | "top left left" | "top left right" | "top left bottom" | "top left top" | "top right left" | "top right right" | "top right bottom" | "top right top" | "top center left" | "top center right" | "top center bottom" | "top center top" | "middle left left" | "middle left right" | "middle left bottom" | "middle left top" | "middle right left" | "middle right right" | "middle right bottom" | "middle right top" | "middle center left" | "middle center right" | "middle center bottom" | "middle center top" | undefined;
|
|
49
49
|
variant?: "link" | "primary" | "secondary" | "tertiary" | undefined;
|
|
50
50
|
__experimentalIsFocusable?: boolean | undefined;
|
|
51
51
|
}> & import("react").RefAttributes<any>, "defaultValue" | "onChange" | "value" | "name" | "color" | "translate" | "hidden" | "style" | "disabled" | "key" | "form" | "slot" | "title" | "type" | "id" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "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" | "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" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | keyof {
|
|
52
52
|
__next40pxDefaultSize?: boolean | undefined;
|
|
53
|
-
__next32pxSmallSize?: boolean | undefined;
|
|
54
53
|
children?: import("react").ReactNode;
|
|
55
54
|
describedBy?: string | undefined;
|
|
56
55
|
focus?: boolean | undefined;
|
|
@@ -67,13 +66,13 @@ declare const _default: import("react").ForwardRefExoticComponent<((Pick<{
|
|
|
67
66
|
ariaLabel: string;
|
|
68
67
|
} | undefined;
|
|
69
68
|
showTooltip?: boolean | undefined;
|
|
69
|
+
size?: "default" | "small" | "compact" | undefined;
|
|
70
70
|
text?: string | undefined;
|
|
71
71
|
tooltipPosition?: ("bottom" | "top" | "middle") | "bottom left" | "bottom right" | "bottom center" | "top left" | "top right" | "top center" | "middle left" | "middle right" | "middle center" | "bottom left left" | "bottom left right" | "bottom left bottom" | "bottom left top" | "bottom right left" | "bottom right right" | "bottom right bottom" | "bottom right top" | "bottom center left" | "bottom center right" | "bottom center bottom" | "bottom center top" | "top left left" | "top left right" | "top left bottom" | "top left top" | "top right left" | "top right right" | "top right bottom" | "top right top" | "top center left" | "top center right" | "top center bottom" | "top center top" | "middle left left" | "middle left right" | "middle left bottom" | "middle left top" | "middle right left" | "middle right right" | "middle right bottom" | "middle right top" | "middle center left" | "middle center right" | "middle center bottom" | "middle center top" | undefined;
|
|
72
72
|
variant?: "link" | "primary" | "secondary" | "tertiary" | undefined;
|
|
73
73
|
__experimentalIsFocusable?: boolean | undefined;
|
|
74
74
|
}> | Pick<{
|
|
75
75
|
__next40pxDefaultSize?: boolean | undefined;
|
|
76
|
-
__next32pxSmallSize?: boolean | undefined;
|
|
77
76
|
children?: import("react").ReactNode;
|
|
78
77
|
describedBy?: string | undefined;
|
|
79
78
|
focus?: boolean | undefined;
|
|
@@ -90,6 +89,7 @@ declare const _default: import("react").ForwardRefExoticComponent<((Pick<{
|
|
|
90
89
|
ariaLabel: string;
|
|
91
90
|
} | undefined;
|
|
92
91
|
showTooltip?: boolean | undefined;
|
|
92
|
+
size?: "default" | "small" | "compact" | undefined;
|
|
93
93
|
text?: string | undefined;
|
|
94
94
|
tooltipPosition?: ("bottom" | "top" | "middle") | "bottom left" | "bottom right" | "bottom center" | "top left" | "top right" | "top center" | "middle left" | "middle right" | "middle center" | "bottom left left" | "bottom left right" | "bottom left bottom" | "bottom left top" | "bottom right left" | "bottom right right" | "bottom right bottom" | "bottom right top" | "bottom center left" | "bottom center right" | "bottom center bottom" | "bottom center top" | "top left left" | "top left right" | "top left bottom" | "top left top" | "top right left" | "top right right" | "top right bottom" | "top right top" | "top center left" | "top center right" | "top center bottom" | "top center top" | "middle left left" | "middle left right" | "middle left bottom" | "middle left top" | "middle right left" | "middle right right" | "middle right bottom" | "middle right top" | "middle center left" | "middle center right" | "middle center bottom" | "middle center top" | undefined;
|
|
95
95
|
variant?: "link" | "primary" | "secondary" | "tertiary" | undefined;
|
|
@@ -100,7 +100,6 @@ declare const _default: import("react").ForwardRefExoticComponent<((Pick<{
|
|
|
100
100
|
target?: string | undefined;
|
|
101
101
|
} & Omit<Pick<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "key" | keyof import("react").AnchorHTMLAttributes<HTMLAnchorElement>>, "as" | keyof {
|
|
102
102
|
__next40pxDefaultSize?: boolean | undefined;
|
|
103
|
-
__next32pxSmallSize?: boolean | undefined;
|
|
104
103
|
children?: import("react").ReactNode;
|
|
105
104
|
describedBy?: string | undefined;
|
|
106
105
|
focus?: boolean | undefined;
|
|
@@ -117,6 +116,7 @@ declare const _default: import("react").ForwardRefExoticComponent<((Pick<{
|
|
|
117
116
|
ariaLabel: string;
|
|
118
117
|
} | undefined;
|
|
119
118
|
showTooltip?: boolean | undefined;
|
|
119
|
+
size?: "default" | "small" | "compact" | undefined;
|
|
120
120
|
text?: string | undefined;
|
|
121
121
|
tooltipPosition?: ("bottom" | "top" | "middle") | "bottom left" | "bottom right" | "bottom center" | "top left" | "top right" | "top center" | "middle left" | "middle right" | "middle center" | "bottom left left" | "bottom left right" | "bottom left bottom" | "bottom left top" | "bottom right left" | "bottom right right" | "bottom right bottom" | "bottom right top" | "bottom center left" | "bottom center right" | "bottom center bottom" | "bottom center top" | "top left left" | "top left right" | "top left bottom" | "top left top" | "top right left" | "top right right" | "top right bottom" | "top right top" | "top center left" | "top center right" | "top center bottom" | "top center top" | "middle left left" | "middle left right" | "middle left bottom" | "middle left top" | "middle right left" | "middle right right" | "middle right bottom" | "middle right top" | "middle center left" | "middle center right" | "middle center bottom" | "middle center top" | undefined;
|
|
122
122
|
variant?: "link" | "primary" | "secondary" | "tertiary" | undefined;
|
|
@@ -127,7 +127,6 @@ declare const _default: import("react").ForwardRefExoticComponent<((Pick<{
|
|
|
127
127
|
target?: string | undefined;
|
|
128
128
|
}> & import("react").RefAttributes<any>, "defaultValue" | "onChange" | "color" | "translate" | "hidden" | "style" | "key" | "slot" | "title" | "type" | "download" | "id" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "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" | "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" | "media" | keyof {
|
|
129
129
|
__next40pxDefaultSize?: boolean | undefined;
|
|
130
|
-
__next32pxSmallSize?: boolean | undefined;
|
|
131
130
|
children?: import("react").ReactNode;
|
|
132
131
|
describedBy?: string | undefined;
|
|
133
132
|
focus?: boolean | undefined;
|
|
@@ -144,6 +143,7 @@ declare const _default: import("react").ForwardRefExoticComponent<((Pick<{
|
|
|
144
143
|
ariaLabel: string;
|
|
145
144
|
} | undefined;
|
|
146
145
|
showTooltip?: boolean | undefined;
|
|
146
|
+
size?: "default" | "small" | "compact" | undefined;
|
|
147
147
|
text?: string | undefined;
|
|
148
148
|
tooltipPosition?: ("bottom" | "top" | "middle") | "bottom left" | "bottom right" | "bottom center" | "top left" | "top right" | "top center" | "middle left" | "middle right" | "middle center" | "bottom left left" | "bottom left right" | "bottom left bottom" | "bottom left top" | "bottom right left" | "bottom right right" | "bottom right bottom" | "bottom right top" | "bottom center left" | "bottom center right" | "bottom center bottom" | "bottom center top" | "top left left" | "top left right" | "top left bottom" | "top left top" | "top right left" | "top right right" | "top right bottom" | "top right top" | "top center left" | "top center right" | "top center bottom" | "top center top" | "middle left left" | "middle left right" | "middle left bottom" | "middle left top" | "middle right left" | "middle right right" | "middle right bottom" | "middle right top" | "middle center left" | "middle center right" | "middle center bottom" | "middle center top" | undefined;
|
|
149
149
|
variant?: "link" | "primary" | "secondary" | "tertiary" | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/button/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAEX,YAAY,EAIZ,MAAM,OAAO,CAAC;AAef,OAAO,KAAK,EAAE,WAAW,EAAyB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/button/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAEX,YAAY,EAIZ,MAAM,OAAO,CAAC;AAef,OAAO,KAAK,EAAE,WAAW,EAAyB,MAAM,SAAS,CAAC;AAuDlE,wBAAgB,iBAAiB,CAChC,KAAK,EAAE,WAAW,EAClB,GAAG,EAAE,YAAY,CAAE,GAAG,CAAE,eAmLxB;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,MAAM,6FAAkC,CAAC;AACtD,eAAe,MAAM,CAAC"}
|
|
@@ -19,15 +19,6 @@ type BaseButtonProps = {
|
|
|
19
19
|
* @default false
|
|
20
20
|
*/
|
|
21
21
|
__next40pxDefaultSize?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Start opting into the larger `isSmall` button size that will become the
|
|
24
|
-
* default small size in a future version.
|
|
25
|
-
*
|
|
26
|
-
* Only takes effect when the `isSmall` prop is `true`.
|
|
27
|
-
*
|
|
28
|
-
* @default false
|
|
29
|
-
*/
|
|
30
|
-
__next32pxSmallSize?: boolean;
|
|
31
22
|
/**
|
|
32
23
|
* The button's children.
|
|
33
24
|
*/
|
|
@@ -70,6 +61,10 @@ type BaseButtonProps = {
|
|
|
70
61
|
isPressed?: boolean;
|
|
71
62
|
/**
|
|
72
63
|
* Decreases the size of the button.
|
|
64
|
+
*
|
|
65
|
+
* Deprecated in favor of the `size` prop. If both props are defined, the `size` prop will take precedence.
|
|
66
|
+
*
|
|
67
|
+
* @deprecated Use the `'small'` value on the `size` prop instead.
|
|
73
68
|
*/
|
|
74
69
|
isSmall?: boolean;
|
|
75
70
|
/**
|
|
@@ -89,6 +84,18 @@ type BaseButtonProps = {
|
|
|
89
84
|
* If provided, renders a Tooltip component for the button.
|
|
90
85
|
*/
|
|
91
86
|
showTooltip?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* The size of the button.
|
|
89
|
+
*
|
|
90
|
+
* - `'default'`: For normal text-label buttons, unless it is a toggle button.
|
|
91
|
+
* - `'compact'`: For toggle buttons, icon buttons, and buttons when used in context of either.
|
|
92
|
+
* - `'small'`: For icon buttons associated with more advanced or auxiliary features.
|
|
93
|
+
*
|
|
94
|
+
* If the deprecated `isSmall` prop is also defined, this prop will take precedence.
|
|
95
|
+
*
|
|
96
|
+
* @default 'default'
|
|
97
|
+
*/
|
|
98
|
+
size?: 'default' | 'compact' | 'small';
|
|
92
99
|
/**
|
|
93
100
|
* If provided, displays the given text inside the button. If the button contains children elements, the text is displayed before them.
|
|
94
101
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/button/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;GAEG;AACH,OAAO,KAAK,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAEjF,MAAM,MAAM,WAAW,GACpB,uBAAuB,CAAE,mBAAmB,EAAE,QAAQ,EAAE,KAAK,CAAE,GAC/D,uBAAuB,CAAE,mBAAmB,EAAE,GAAG,EAAE,KAAK,CAAE,CAAC;AAE9D,MAAM,MAAM,mBAAmB,GAAG,eAAe,GAAG,YAAY,CAAC;AACjE,MAAM,MAAM,mBAAmB,GAAG,eAAe,GAAG,WAAW,CAAC;AAEhE,KAAK,eAAe,GAAG;IACtB;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/button/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;GAEG;AACH,OAAO,KAAK,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAEjF,MAAM,MAAM,WAAW,GACpB,uBAAuB,CAAE,mBAAmB,EAAE,QAAQ,EAAE,KAAK,CAAE,GAC/D,uBAAuB,CAAE,mBAAmB,EAAE,GAAG,EAAE,KAAK,CAAE,CAAC;AAE9D,MAAM,MAAM,mBAAmB,GAAG,eAAe,GAAG,YAAY,CAAC;AACjE,MAAM,MAAM,mBAAmB,GAAG,eAAe,GAAG,WAAW,CAAC;AAEhE,KAAK,eAAe,GAAG;IACtB;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAE,MAAM,CAAE,CAAC;IAC3B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAE,MAAM,CAAE,CAAC;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3D;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IACvC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,eAAe,CAAC,EAAE,YAAY,CAAE,UAAU,CAAE,CAAC;IAC7C;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;IACxD;;OAEG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACpC,CAAC;AAEF,KAAK,YAAY,GAAG;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,KAAK,WAAW,GAAG;IAClB;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IACnC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACvC,aAAa,EAAE,WAAW,CAAE,iBAAiB,CAAE,CAAC;IAChD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,EAAE,WAAW,CAAE,UAAU,CAAE,CAAC;IAChC,KAAK,EAAE,WAAW,CAAE,OAAO,CAAE,CAAC;IAC9B,OAAO,EAAE,WAAW,CAAE,OAAO,CAAE,CAAC;CAChC,CAAC"}
|
|
@@ -44,11 +44,12 @@ export declare const RangeControl: import("@emotion/styled").StyledComponent<Pic
|
|
|
44
44
|
resetFallbackValue?: number | undefined;
|
|
45
45
|
separatorType?: "none" | "fullWidth" | "topFullWidth" | undefined;
|
|
46
46
|
shiftStep?: number | undefined;
|
|
47
|
+
__next40pxDefaultSize?: boolean | undefined;
|
|
47
48
|
showTooltip?: boolean | undefined;
|
|
48
49
|
trackColor?: import("csstype").Property.Color | undefined;
|
|
49
50
|
type?: "stepper" | undefined;
|
|
50
51
|
withInputField?: boolean | undefined;
|
|
51
|
-
} & Omit<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof import("react").InputHTMLAttributes<HTMLInputElement>>, "onChange" | "color" | "help" | "icon" | "disabled" | "children" | "label" | "as" | "type" | "onFocus" | "onBlur" | "onMouseLeave" | "onMouseMove" | "step" | "showTooltip" | "hideLabelFromVision" | "__nextHasNoMarginBottom" | "isShiftStepEnabled" | "shiftStep" |
|
|
52
|
+
} & Omit<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof import("react").InputHTMLAttributes<HTMLInputElement>>, "onChange" | "color" | "help" | "icon" | "disabled" | "children" | "label" | "as" | "type" | "onFocus" | "onBlur" | "onMouseLeave" | "onMouseMove" | "step" | "__next40pxDefaultSize" | "showTooltip" | "hideLabelFromVision" | "__nextHasNoMarginBottom" | "isShiftStepEnabled" | "shiftStep" | keyof import("../range-control/types").NumericProps | "marks" | "afterIcon" | "allowReset" | "beforeIcon" | "currentInput" | "initialPosition" | "railColor" | "renderTooltipContent" | "resetFallbackValue" | "separatorType" | "trackColor" | "withInputField"> & import("react").RefAttributes<HTMLInputElement> & {
|
|
52
53
|
theme?: import("@emotion/react").Theme | undefined;
|
|
53
54
|
}, {}, {}>;
|
|
54
55
|
export declare const AuxiliaryColorArtefactWrapper: import("@emotion/styled").StyledComponent<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/color-picker/styles.ts"],"names":[],"mappings":";AAsBA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;UAIhC,CAAC;AAEF,eAAO,MAAM,aAAa;;UAWzB,CAAC;AAEF,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/color-picker/styles.ts"],"names":[],"mappings":";AAsBA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;UAIhC,CAAC;AAEF,eAAO,MAAM,aAAa;;UAWzB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAGxB,CAAC;AASF,eAAO,MAAM,6BAA6B;;;yGAKzC,CAAC;AAEF,eAAO,MAAM,kCAAkC;;;;;;;UAG9C,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;UAK7B,CAAC;AAEF,eAAO,MAAM,eAAe;;;yGA6C3B,CAAC;AAEF,eAAO,MAAM,UAAU;;UAStB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/confirm-dialog/component.tsx"],"names":[],"mappings":";AAeA,OAAO,KAAK,EAAY,gBAAgB,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/confirm-dialog/component.tsx"],"names":[],"mappings":";AAeA,OAAO,KAAK,EAAY,gBAAgB,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgH1D,wBAAgE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/font-size-picker/index.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/font-size-picker/index.tsx"],"names":[],"mappings":";AA0BA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AA4QnD,eAAO,MAAM,cAAc,qGAA0C,CAAC;AAEtE,eAAe,cAAc,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { FontSizePickerProps } from './types';
|
|
3
2
|
export declare const Container: import("@emotion/styled").StyledComponent<{
|
|
4
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
4
|
as?: import("react").ElementType<any> | undefined;
|
|
@@ -30,9 +29,4 @@ export declare const Controls: import("@emotion/styled").StyledComponent<{
|
|
|
30
29
|
} & {
|
|
31
30
|
__nextHasNoMarginBottom: boolean;
|
|
32
31
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
33
|
-
export declare const ResetButton: import("@emotion/styled").StyledComponent<((import("../button/types").ButtonProps & import("react").RefAttributes<any>) & {
|
|
34
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
35
|
-
}) & {
|
|
36
|
-
size: FontSizePickerProps['size'];
|
|
37
|
-
}, {}, {}>;
|
|
38
32
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/font-size-picker/styles.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/font-size-picker/styles.ts"],"names":[],"mappings":";AAcA,eAAO,MAAM,SAAS;;;2HAIrB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;UAElB,CAAC;AAEF,eAAO,MAAM,YAAY;;UAExB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;UAKvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;2GAEtB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;6BACK,OAAO;yGAIhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../src/guide/icons.tsx"],"names":[],"mappings":";AAKA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../src/guide/icons.tsx"],"names":[],"mappings":";AAKA,eAAO,MAAM,eAAe,mBAI3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/guide/index.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/guide/index.tsx"],"names":[],"mappings":";AAkBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,iBAAS,KAAK,CAAE,EACf,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,gBAAiC,EACjC,QAAQ,EACR,KAAU,GACV,EAAE,UAAU,sBAiHZ;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-control.d.ts","sourceRoot":"","sources":["../../src/guide/page-control.tsx"],"names":[],"mappings":";AAUA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,MAAM,CAAC,OAAO,UAAU,WAAW,CAAE,EACpC,WAAW,EACX,aAAa,EACb,cAAc,GACd,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"page-control.d.ts","sourceRoot":"","sources":["../../src/guide/page-control.tsx"],"names":[],"mappings":";AAUA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,MAAM,CAAC,OAAO,UAAU,WAAW,CAAE,EACpC,WAAW,EACX,aAAa,EACb,cAAc,GACd,EAAE,gBAAgB,eA2BlB"}
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
*/
|
|
36
36
|
export declare const NavigatorBackButton: import("../../ui/context").WordPressComponent<"button", {
|
|
37
37
|
__next40pxDefaultSize?: boolean | undefined;
|
|
38
|
-
__next32pxSmallSize?: boolean | undefined;
|
|
39
38
|
children?: import("react").ReactNode;
|
|
40
39
|
describedBy?: string | undefined;
|
|
41
40
|
focus?: boolean | undefined;
|
|
@@ -52,6 +51,7 @@ export declare const NavigatorBackButton: import("../../ui/context").WordPressCo
|
|
|
52
51
|
ariaLabel: string;
|
|
53
52
|
} | undefined;
|
|
54
53
|
showTooltip?: boolean | undefined;
|
|
54
|
+
size?: "default" | "small" | "compact" | undefined;
|
|
55
55
|
text?: string | undefined;
|
|
56
56
|
tooltipPosition?: ("bottom" | "top" | "middle") | "bottom left" | "bottom right" | "bottom center" | "top left" | "top right" | "top center" | "middle left" | "middle right" | "middle center" | "bottom left left" | "bottom left right" | "bottom left bottom" | "bottom left top" | "bottom right left" | "bottom right right" | "bottom right bottom" | "bottom right top" | "bottom center left" | "bottom center right" | "bottom center bottom" | "bottom center top" | "top left left" | "top left right" | "top left bottom" | "top left top" | "top right left" | "top right right" | "top right bottom" | "top right top" | "top center left" | "top center right" | "top center bottom" | "top center top" | "middle left left" | "middle left right" | "middle left bottom" | "middle left top" | "middle right left" | "middle right right" | "middle right bottom" | "middle right top" | "middle center left" | "middle center right" | "middle center bottom" | "middle center top" | undefined;
|
|
57
57
|
variant?: "link" | "primary" | "secondary" | "tertiary" | undefined;
|
|
@@ -6,7 +6,6 @@ import { WordPressComponentProps } from '../../ui/context';
|
|
|
6
6
|
import type { NavigatorBackButtonHookProps } from '../types';
|
|
7
7
|
export declare function useNavigatorBackButton(props: WordPressComponentProps<NavigatorBackButtonHookProps, 'button'>): {
|
|
8
8
|
__next40pxDefaultSize?: boolean | undefined;
|
|
9
|
-
__next32pxSmallSize?: boolean | undefined;
|
|
10
9
|
children?: import("react").ReactNode;
|
|
11
10
|
describedBy?: string | undefined;
|
|
12
11
|
focus?: boolean | undefined;
|
|
@@ -23,6 +22,7 @@ export declare function useNavigatorBackButton(props: WordPressComponentProps<Na
|
|
|
23
22
|
ariaLabel: string;
|
|
24
23
|
} | undefined;
|
|
25
24
|
showTooltip?: boolean | undefined;
|
|
25
|
+
size?: "default" | "small" | "compact" | undefined;
|
|
26
26
|
text?: string | undefined;
|
|
27
27
|
tooltipPosition?: ("bottom" | "top" | "middle") | "bottom left" | "bottom right" | "bottom center" | "top left" | "top right" | "top center" | "middle left" | "middle right" | "middle center" | "bottom left left" | "bottom left right" | "bottom left bottom" | "bottom left top" | "bottom right left" | "bottom right right" | "bottom right bottom" | "bottom right top" | "bottom center left" | "bottom center right" | "bottom center bottom" | "bottom center top" | "top left left" | "top left right" | "top left bottom" | "top left top" | "top right left" | "top right right" | "top right bottom" | "top right top" | "top center left" | "top center right" | "top center bottom" | "top center top" | "middle left left" | "middle left right" | "middle left bottom" | "middle left top" | "middle right left" | "middle right right" | "middle right bottom" | "middle right top" | "middle center left" | "middle center right" | "middle center bottom" | "middle center top" | undefined;
|
|
28
28
|
variant?: "link" | "primary" | "secondary" | "tertiary" | undefined;
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
*/
|
|
35
35
|
export declare const NavigatorButton: import("../../ui/context").WordPressComponent<"button", {
|
|
36
36
|
__next40pxDefaultSize?: boolean | undefined;
|
|
37
|
-
__next32pxSmallSize?: boolean | undefined;
|
|
38
37
|
children?: import("react").ReactNode;
|
|
39
38
|
describedBy?: string | undefined;
|
|
40
39
|
focus?: boolean | undefined;
|
|
@@ -51,6 +50,7 @@ export declare const NavigatorButton: import("../../ui/context").WordPressCompon
|
|
|
51
50
|
ariaLabel: string;
|
|
52
51
|
} | undefined;
|
|
53
52
|
showTooltip?: boolean | undefined;
|
|
53
|
+
size?: "default" | "small" | "compact" | undefined;
|
|
54
54
|
text?: string | undefined;
|
|
55
55
|
tooltipPosition?: ("bottom" | "top" | "middle") | "bottom left" | "bottom right" | "bottom center" | "top left" | "top right" | "top center" | "middle left" | "middle right" | "middle center" | "bottom left left" | "bottom left right" | "bottom left bottom" | "bottom left top" | "bottom right left" | "bottom right right" | "bottom right bottom" | "bottom right top" | "bottom center left" | "bottom center right" | "bottom center bottom" | "bottom center top" | "top left left" | "top left right" | "top left bottom" | "top left top" | "top right left" | "top right right" | "top right bottom" | "top right top" | "top center left" | "top center right" | "top center bottom" | "top center top" | "middle left left" | "middle left right" | "middle left bottom" | "middle left top" | "middle right left" | "middle right right" | "middle right bottom" | "middle right top" | "middle center left" | "middle center right" | "middle center bottom" | "middle center top" | undefined;
|
|
56
56
|
variant?: "link" | "primary" | "secondary" | "tertiary" | undefined;
|
|
@@ -6,7 +6,6 @@ import { WordPressComponentProps } from '../../ui/context';
|
|
|
6
6
|
import type { NavigatorButtonProps } from '../types';
|
|
7
7
|
export declare function useNavigatorButton(props: WordPressComponentProps<NavigatorButtonProps, 'button'>): {
|
|
8
8
|
__next40pxDefaultSize?: boolean | undefined;
|
|
9
|
-
__next32pxSmallSize?: boolean | undefined;
|
|
10
9
|
children?: import("react").ReactNode;
|
|
11
10
|
describedBy?: string | undefined;
|
|
12
11
|
focus?: boolean | undefined;
|
|
@@ -23,6 +22,7 @@ export declare function useNavigatorButton(props: WordPressComponentProps<Naviga
|
|
|
23
22
|
ariaLabel: string;
|
|
24
23
|
} | undefined;
|
|
25
24
|
showTooltip?: boolean | undefined;
|
|
25
|
+
size?: "default" | "small" | "compact" | undefined;
|
|
26
26
|
text?: string | undefined;
|
|
27
27
|
tooltipPosition?: ("bottom" | "top" | "middle") | "bottom left" | "bottom right" | "bottom center" | "top left" | "top right" | "top center" | "middle left" | "middle right" | "middle center" | "bottom left left" | "bottom left right" | "bottom left bottom" | "bottom left top" | "bottom right left" | "bottom right right" | "bottom right bottom" | "bottom right top" | "bottom center left" | "bottom center right" | "bottom center bottom" | "bottom center top" | "top left left" | "top left right" | "top left bottom" | "top left top" | "top right left" | "top right right" | "top right bottom" | "top right top" | "top center left" | "top center right" | "top center bottom" | "top center top" | "middle left left" | "middle left right" | "middle left bottom" | "middle left top" | "middle right left" | "middle right right" | "middle right bottom" | "middle right top" | "middle center left" | "middle center right" | "middle center bottom" | "middle center top" | undefined;
|
|
28
28
|
variant?: "link" | "primary" | "secondary" | "tertiary" | undefined;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const NavigatorToParentButton: import("../../ui/context").WordPressComponent<"button", {
|
|
3
3
|
__next40pxDefaultSize?: boolean | undefined;
|
|
4
|
-
__next32pxSmallSize?: boolean | undefined;
|
|
5
4
|
children?: import("react").ReactNode;
|
|
6
5
|
describedBy?: string | undefined;
|
|
7
6
|
focus?: boolean | undefined;
|
|
@@ -18,6 +17,7 @@ export declare const NavigatorToParentButton: import("../../ui/context").WordPre
|
|
|
18
17
|
ariaLabel: string;
|
|
19
18
|
} | undefined;
|
|
20
19
|
showTooltip?: boolean | undefined;
|
|
20
|
+
size?: "default" | "small" | "compact" | undefined;
|
|
21
21
|
text?: string | undefined;
|
|
22
22
|
tooltipPosition?: ("bottom" | "top" | "middle") | "bottom left" | "bottom right" | "bottom center" | "top left" | "top right" | "top center" | "middle left" | "middle right" | "middle center" | "bottom left left" | "bottom left right" | "bottom left bottom" | "bottom left top" | "bottom right left" | "bottom right right" | "bottom right bottom" | "bottom right top" | "bottom center left" | "bottom center right" | "bottom center bottom" | "bottom center top" | "top left left" | "top left right" | "top left bottom" | "top left top" | "top right left" | "top right right" | "top right bottom" | "top right top" | "top center left" | "top center right" | "top center bottom" | "top center top" | "middle left left" | "middle left right" | "middle left bottom" | "middle left top" | "middle right left" | "middle right right" | "middle right bottom" | "middle right top" | "middle center left" | "middle center right" | "middle center bottom" | "middle center top" | undefined;
|
|
23
23
|
variant?: "link" | "primary" | "secondary" | "tertiary" | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/number-control/index.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/number-control/index.tsx"],"names":[],"mappings":";AAiRA,eAAO,MAAM,aAAa;;;;;;;;;;;;m6KAAyC,CAAC;AAEpE,eAAe,aAAa,CAAC"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { NumberControlProps } from '../types';
|
|
3
2
|
export declare const Input: import("@emotion/styled").StyledComponent<import("../../input-control/types").InputControlProps & import("react").RefAttributes<HTMLInputElement> & {
|
|
4
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
4
|
} & {
|
|
6
5
|
hideHTMLArrows: boolean;
|
|
7
6
|
}, {}, {}>;
|
|
8
|
-
export declare const SpinButton: import("@emotion/styled").StyledComponent<(
|
|
7
|
+
export declare const SpinButton: import("@emotion/styled").StyledComponent<(import("../../button/types").ButtonProps & import("react").RefAttributes<any>) & {
|
|
9
8
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
-
}
|
|
9
|
+
}, {}, {}>;
|
|
10
|
+
export declare const styles: {
|
|
11
|
+
smallSpinButtons: import("@emotion/utils").SerializedStyles;
|
|
12
|
+
};
|
|
11
13
|
//# sourceMappingURL=number-control-styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number-control-styles.d.ts","sourceRoot":"","sources":["../../../src/number-control/styles/number-control-styles.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"number-control-styles.d.ts","sourceRoot":"","sources":["../../../src/number-control/styles/number-control-styles.ts"],"names":[],"mappings":";AAgCA,eAAO,MAAM,KAAK;;;oBAlB8C,OAAO;UAoBtE,CAAC;AAEF,eAAO,MAAM,UAAU;;UAItB,CAAC;AAQF,eAAO,MAAM,MAAM;;CAAuB,CAAC"}
|
|
@@ -43,15 +43,28 @@ export declare const RangeControl: import("react").ForwardRefExoticComponent<Pic
|
|
|
43
43
|
onFocus?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
|
|
44
44
|
onMouseLeave?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
45
45
|
onMouseMove?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
46
|
-
railColor?: import("csstype").Property.Color | undefined;
|
|
46
|
+
railColor?: import("csstype").Property.Color | undefined; /**
|
|
47
|
+
* Previously, this callback would always receive undefined as
|
|
48
|
+
* an argument. This behavior is unexpected, specifically
|
|
49
|
+
* when resetFallbackValue is defined.
|
|
50
|
+
*
|
|
51
|
+
* The value of undefined is not ideal. Passing it through
|
|
52
|
+
* to internal <input /> elements would change it from a
|
|
53
|
+
* controlled component to an uncontrolled component.
|
|
54
|
+
*
|
|
55
|
+
* For now, to minimize unexpected regressions, we're going to
|
|
56
|
+
* preserve the undefined callback argument, except when a
|
|
57
|
+
* resetFallbackValue is defined.
|
|
58
|
+
*/
|
|
47
59
|
renderTooltipContent?: ((value?: import("./types").ControlledRangeValue | undefined) => string | number | null | undefined) | undefined;
|
|
48
60
|
resetFallbackValue?: number | undefined;
|
|
49
61
|
separatorType?: "none" | "fullWidth" | "topFullWidth" | undefined;
|
|
50
62
|
shiftStep?: number | undefined;
|
|
63
|
+
__next40pxDefaultSize?: boolean | undefined;
|
|
51
64
|
showTooltip?: boolean | undefined;
|
|
52
65
|
trackColor?: import("csstype").Property.Color | undefined;
|
|
53
66
|
type?: "stepper" | undefined;
|
|
54
67
|
withInputField?: boolean | undefined;
|
|
55
|
-
} & Omit<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof import("react").InputHTMLAttributes<HTMLInputElement>>, "onChange" | "color" | "help" | "icon" | "disabled" | "children" | "label" | "as" | "type" | "onFocus" | "onBlur" | "onMouseLeave" | "onMouseMove" | "step" | "showTooltip" | "hideLabelFromVision" | "__nextHasNoMarginBottom" | "isShiftStepEnabled" | "shiftStep" |
|
|
68
|
+
} & Omit<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof import("react").InputHTMLAttributes<HTMLInputElement>>, "onChange" | "color" | "help" | "icon" | "disabled" | "children" | "label" | "as" | "type" | "onFocus" | "onBlur" | "onMouseLeave" | "onMouseMove" | "step" | "__next40pxDefaultSize" | "showTooltip" | "hideLabelFromVision" | "__nextHasNoMarginBottom" | "isShiftStepEnabled" | "shiftStep" | keyof import("./types").NumericProps | "marks" | "afterIcon" | "allowReset" | "beforeIcon" | "currentInput" | "initialPosition" | "railColor" | "renderTooltipContent" | "resetFallbackValue" | "separatorType" | "trackColor" | "withInputField"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
56
69
|
export default RangeControl;
|
|
57
70
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/range-control/index.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/range-control/index.tsx"],"names":[],"mappings":";AAsVA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;8DA1LvB;;;;;;;;;;;;OAYG;;;;;;;;;;swBA8K4D,CAAC;AAElE,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-range.d.ts","sourceRoot":"","sources":["../../src/range-control/input-range.tsx"],"names":[],"mappings":";AAUA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"input-range.d.ts","sourceRoot":"","sources":["../../src/range-control/input-range.tsx"],"names":[],"mappings":";AAUA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAsB/C,QAAA,MAAM,kBAAkB;;oDAA2B,CAAC;AAEpD,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { RangeMarkProps, ThumbProps, TooltipProps, TrackProps } from '../types';
|
|
2
|
+
import type { RangeMarkProps, ThumbProps, TooltipProps, TrackProps, RangeControlProps } from '../types';
|
|
3
|
+
type RootProps = Pick<RangeControlProps, '__next40pxDefaultSize'>;
|
|
3
4
|
export declare const Root: import("@emotion/styled").StyledComponent<{
|
|
4
5
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
6
|
as?: import("react").ElementType<any> | undefined;
|
|
6
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
+
} & RootProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
8
|
export declare const Wrapper: import("@emotion/styled").StyledComponent<{
|
|
8
9
|
theme?: import("@emotion/react").Theme | undefined;
|
|
9
10
|
as?: import("react").ElementType<any> | undefined;
|
|
@@ -83,4 +84,5 @@ export declare const ActionRightWrapper: import("@emotion/styled").StyledCompone
|
|
|
83
84
|
theme?: import("@emotion/react").Theme | undefined;
|
|
84
85
|
as?: import("react").ElementType<any> | undefined;
|
|
85
86
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
87
|
+
export {};
|
|
86
88
|
//# sourceMappingURL=range-control-styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range-control-styles.d.ts","sourceRoot":"","sources":["../../../src/range-control/styles/range-control-styles.ts"],"names":[],"mappings":";AAaA,OAAO,KAAK,EACX,cAAc,EAEd,UAAU,EACV,YAAY,EACZ,UAAU,EAEV,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"range-control-styles.d.ts","sourceRoot":"","sources":["../../../src/range-control/styles/range-control-styles.ts"],"names":[],"mappings":";AAaA,OAAO,KAAK,EACX,cAAc,EAEd,UAAU,EACV,YAAY,EACZ,UAAU,EAEV,iBAAiB,EACjB,MAAM,UAAU,CAAC;AAalB,KAAK,SAAS,GAAG,IAAI,CAAE,iBAAiB,EAAE,uBAAuB,CAAE,CAAC;AACpE,eAAO,MAAM,IAAI;;;qHAYhB,CAAC;AAYF,eAAO,MAAM,OAAO;;;;;;yGASnB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;2GAK7B,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;2GAK5B,CAAC;AAYF,eAAO,MAAM,IAAI;;;;;;;;;;;;2GAahB,CAAC;AAYF,eAAO,MAAM,KAAK;;;wHAWjB,CAAC;AAEF,eAAO,MAAM,YAAY;;;2GAMxB,CAAC;AAcF,eAAO,MAAM,IAAI;;;4HAQhB,CAAC;AAQF,eAAO,MAAM,SAAS;;;4HAUrB,CAAC;AAWF,eAAO,MAAM,YAAY;;;wHAoBxB,CAAC;AAoBF,eAAO,MAAM,KAAK;;;wHAWjB,CAAC;AAEF,eAAO,MAAM,UAAU;;;kHAatB,CAAC;AAsBF,eAAO,MAAM,OAAO;;;0HAuBnB,CAAC;AAIF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;UAUvB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;2GAW9B,CAAC"}
|