@wordpress/components 35.0.0 → 35.1.1-next.v.202606191442.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 +47 -1
- package/build/alignment-matrix-control/cell.cjs +1 -1
- package/build/alignment-matrix-control/cell.cjs.map +2 -2
- package/build/alignment-matrix-control/index.cjs +1 -1
- package/build/alignment-matrix-control/index.cjs.map +2 -2
- package/build/angle-picker-control/angle-circle.cjs +1 -1
- package/build/angle-picker-control/angle-circle.cjs.map +2 -2
- package/build/angle-picker-control/index.cjs +2 -2
- package/build/autocomplete/get-autocomplete-match.cjs.map +1 -1
- package/build/autocomplete/index.cjs.map +1 -1
- package/build/base-control/styles/base-control-styles.cjs +6 -6
- package/build/base-control/styles/base-control-styles.cjs.map +2 -2
- package/build/border-control/styles.cjs +17 -14
- package/build/border-control/styles.cjs.map +2 -2
- package/build/button/index.cjs +3 -7
- package/build/button/index.cjs.map +2 -2
- package/build/card/card-divider/hook.cjs.map +2 -2
- package/build/color-palette/index.cjs +3 -0
- package/build/color-palette/index.cjs.map +2 -2
- package/build/color-picker/component.cjs.map +1 -1
- package/build/custom-gradient-picker/gradient-bar/index.cjs.map +2 -2
- package/build/date-time/utils.cjs.map +1 -1
- package/build/draggable/index.cjs +1 -1
- package/build/draggable/index.cjs.map +2 -2
- package/build/external-link/index.cjs +1 -1
- package/build/external-link/index.cjs.map +1 -1
- package/build/menu/popover.cjs.map +1 -1
- package/build/menu/styles.cjs +17 -17
- package/build/menu/styles.cjs.map +2 -2
- package/build/modal/index.cjs.map +1 -1
- package/build/modal/use-modal-exit-animation.cjs +37 -52
- package/build/modal/use-modal-exit-animation.cjs.map +2 -2
- package/build/navigable-container/container.cjs +15 -21
- package/build/navigable-container/container.cjs.map +2 -2
- package/build/palette-edit/index.cjs +1 -1
- package/build/progress-bar/index.cjs +1 -1
- package/build/progress-bar/index.cjs.map +2 -2
- package/build/query-controls/index.cjs +2 -2
- package/build/query-controls/index.cjs.map +2 -2
- package/build/range-control/index.cjs.map +1 -1
- package/build/sandbox/index.cjs +7 -1
- package/build/sandbox/index.cjs.map +2 -2
- package/build/snackbar/index.cjs +1 -1
- package/build/spinner/styles.cjs +4 -4
- package/build/spinner/styles.cjs.map +2 -2
- package/build/tabs/index.cjs +0 -18
- package/build/tabs/index.cjs.map +2 -2
- package/build/tabs/tablist.cjs +5 -15
- package/build/tabs/tablist.cjs.map +2 -2
- package/build/tools-panel/styles.cjs +13 -13
- package/build/tools-panel/styles.cjs.map +2 -2
- package/build/tools-panel/tools-panel/hook.cjs.map +1 -1
- package/build/tree-select/index.cjs +1 -1
- package/build/tree-select/index.cjs.map +1 -1
- package/build/truncate/utils.cjs +1 -1
- package/build/truncate/utils.cjs.map +1 -1
- package/build/unit-control/utils.cjs +33 -35
- package/build/unit-control/utils.cjs.map +2 -2
- package/build/utils/colors-values.cjs +12 -12
- package/build/utils/colors-values.cjs.map +2 -2
- package/build/utils/config-values.cjs +2 -2
- package/build/utils/config-values.cjs.map +2 -2
- package/build/utils/dropdown-motion.cjs.map +2 -2
- package/build/utils/strings.cjs.map +1 -1
- package/build-module/alignment-matrix-control/cell.mjs +1 -1
- package/build-module/alignment-matrix-control/cell.mjs.map +2 -2
- package/build-module/alignment-matrix-control/index.mjs +1 -1
- package/build-module/alignment-matrix-control/index.mjs.map +2 -2
- package/build-module/angle-picker-control/angle-circle.mjs +1 -1
- package/build-module/angle-picker-control/angle-circle.mjs.map +2 -2
- package/build-module/angle-picker-control/index.mjs +2 -2
- package/build-module/autocomplete/get-autocomplete-match.mjs.map +1 -1
- package/build-module/autocomplete/index.mjs.map +1 -1
- package/build-module/base-control/styles/base-control-styles.mjs +6 -6
- package/build-module/base-control/styles/base-control-styles.mjs.map +2 -2
- package/build-module/border-control/styles.mjs +17 -14
- package/build-module/border-control/styles.mjs.map +2 -2
- package/build-module/button/index.mjs +2 -5
- package/build-module/button/index.mjs.map +2 -2
- package/build-module/card/card-divider/hook.mjs.map +2 -2
- package/build-module/color-palette/index.mjs +3 -0
- package/build-module/color-palette/index.mjs.map +2 -2
- package/build-module/color-picker/component.mjs.map +1 -1
- package/build-module/custom-gradient-picker/gradient-bar/index.mjs.map +2 -2
- package/build-module/date-time/utils.mjs.map +1 -1
- package/build-module/draggable/index.mjs +1 -1
- package/build-module/draggable/index.mjs.map +2 -2
- package/build-module/external-link/index.mjs +1 -1
- package/build-module/external-link/index.mjs.map +1 -1
- package/build-module/menu/popover.mjs.map +1 -1
- package/build-module/menu/styles.mjs +17 -17
- package/build-module/menu/styles.mjs.map +2 -2
- package/build-module/modal/index.mjs.map +1 -1
- package/build-module/modal/use-modal-exit-animation.mjs +37 -52
- package/build-module/modal/use-modal-exit-animation.mjs.map +2 -2
- package/build-module/navigable-container/container.mjs +16 -22
- package/build-module/navigable-container/container.mjs.map +2 -2
- package/build-module/palette-edit/index.mjs +1 -1
- package/build-module/progress-bar/index.mjs +1 -1
- package/build-module/progress-bar/index.mjs.map +2 -2
- package/build-module/query-controls/index.mjs +2 -2
- package/build-module/query-controls/index.mjs.map +2 -2
- package/build-module/range-control/index.mjs.map +1 -1
- package/build-module/sandbox/index.mjs +3 -1
- package/build-module/sandbox/index.mjs.map +2 -2
- package/build-module/snackbar/index.mjs +1 -1
- package/build-module/spinner/styles.mjs +4 -4
- package/build-module/spinner/styles.mjs.map +2 -2
- package/build-module/tabs/index.mjs +1 -19
- package/build-module/tabs/index.mjs.map +2 -2
- package/build-module/tabs/tablist.mjs +5 -15
- package/build-module/tabs/tablist.mjs.map +2 -2
- package/build-module/tools-panel/styles.mjs +13 -13
- package/build-module/tools-panel/styles.mjs.map +2 -2
- package/build-module/tools-panel/tools-panel/hook.mjs.map +1 -1
- package/build-module/tree-select/index.mjs +1 -1
- package/build-module/tree-select/index.mjs.map +1 -1
- package/build-module/truncate/utils.mjs +1 -1
- package/build-module/truncate/utils.mjs.map +1 -1
- package/build-module/unit-control/utils.mjs +33 -35
- package/build-module/unit-control/utils.mjs.map +2 -2
- package/build-module/utils/colors-values.mjs +12 -12
- package/build-module/utils/colors-values.mjs.map +2 -2
- package/build-module/utils/config-values.mjs +2 -2
- package/build-module/utils/config-values.mjs.map +2 -2
- package/build-module/utils/dropdown-motion.mjs.map +2 -2
- package/build-module/utils/strings.mjs.map +1 -1
- package/build-style/style-rtl.css +122 -91
- package/build-style/style.css +122 -91
- package/build-types/base-control/styles/base-control-styles.d.ts.map +1 -1
- package/build-types/border-control/styles.d.ts.map +1 -1
- package/build-types/button/index.d.ts +0 -2
- package/build-types/button/index.d.ts.map +1 -1
- package/build-types/card/card-divider/hook.d.ts +1 -274
- package/build-types/card/card-divider/hook.d.ts.map +1 -1
- package/build-types/color-palette/index.d.ts.map +1 -1
- package/build-types/composite/stories/index.story.d.ts.map +1 -1
- package/build-types/confirm-dialog/stories/index.story.d.ts.map +1 -1
- package/build-types/custom-gradient-picker/gradient-bar/index.d.ts.map +1 -1
- package/build-types/dropdown/stories/index.story.d.ts.map +1 -1
- package/build-types/menu/styles.d.ts.map +1 -1
- package/build-types/menu/types.d.ts +2 -2
- package/build-types/navigable-container/container.d.ts.map +1 -1
- package/build-types/sandbox/index.d.ts +15 -0
- package/build-types/sandbox/index.d.ts.map +1 -1
- package/build-types/spinner/styles.d.ts.map +1 -1
- package/build-types/tabs/index.d.ts.map +1 -1
- package/build-types/tabs/tablist.d.ts.map +1 -1
- package/build-types/tools-panel/styles.d.ts.map +1 -1
- package/build-types/unit-control/utils.d.ts.map +1 -1
- package/build-types/utils/colors-values.d.ts.map +1 -1
- package/build-types/utils/dropdown-motion.d.ts.map +1 -1
- package/build-types/validated-form-controls/components/combobox-control.d.ts +1 -1
- package/package.json +44 -36
- package/src/angle-picker-control/angle-circle.tsx +3 -3
- package/src/base-control/README.md +2 -2
- package/src/base-control/styles/base-control-styles.ts +1 -0
- package/src/border-control/styles.ts +1 -0
- package/src/button/index.tsx +2 -4
- package/src/button/style.scss +3 -3
- package/src/card/card/README.md +4 -4
- package/src/card/card-divider/hook.ts +5 -1
- package/src/card/test/__snapshots__/index.tsx.snap +3 -3
- package/src/checkbox-control/README.md +1 -1
- package/src/clipboard-button/README.md +4 -4
- package/src/color-palette/index.tsx +5 -0
- package/src/color-palette/test/index.tsx +30 -0
- package/src/combobox-control/README.md +1 -1
- package/src/composite/stories/index.story.tsx +5 -0
- package/src/confirm-dialog/README.md +1 -1
- package/src/confirm-dialog/stories/index.story.tsx +1 -0
- package/src/custom-gradient-picker/gradient-bar/index.tsx +1 -1
- package/src/dropdown/stories/index.story.tsx +5 -0
- package/src/dropdown-menu/style.scss +1 -1
- package/src/external-link/style.scss +4 -4
- package/src/flex/flex/README.md +1 -1
- package/src/form-toggle/style.scss +1 -1
- package/src/heading/test/__snapshots__/index.tsx.snap +4 -4
- package/src/menu/README.md +2 -2
- package/src/menu/styles.ts +2 -0
- package/src/menu/test/index.tsx +120 -87
- package/src/menu/types.ts +2 -2
- package/src/modal/style.scss +1 -1
- package/src/modal/use-modal-exit-animation.ts +2 -2
- package/src/navigable-container/container.tsx +22 -30
- package/src/notice/style.scss +11 -13
- package/src/panel/README.md +2 -0
- package/src/panel/stories/index.story.tsx +2 -2
- package/src/panel/style.scss +1 -1
- package/src/popover/README.md +1 -1
- package/src/radio-control/style.scss +1 -1
- package/src/sandbox/index.tsx +18 -1
- package/src/sandbox/test/index.tsx +44 -1
- package/src/scrollable/README.md +1 -1
- package/src/spinner/styles.ts +1 -0
- package/src/tab-panel/style.scss +6 -6
- package/src/tabs/index.tsx +1 -26
- package/src/tabs/tablist.tsx +5 -21
- package/src/tabs/test/index.tsx +16 -27
- package/src/text/test/__snapshots__/index.tsx.snap +3 -3
- package/src/toggle-group-control/test/__snapshots__/index.tsx.snap +34 -26
- package/src/toolbar/toolbar-group/style.scss +2 -2
- package/src/tools-panel/styles.ts +1 -1
- package/src/tooltip/stories/index.story.tsx +2 -2
- package/src/tooltip/style.scss +1 -1
- package/src/unit-control/utils.ts +33 -52
- package/src/utils/colors-values.js +36 -16
- package/src/utils/config-values.js +2 -2
- package/src/utils/dropdown-motion.ts +6 -4
- package/src/utils/theme-variables.scss +18 -13
- package/build/mobile/image/constants.cjs +0 -34
- package/build/mobile/image/constants.cjs.map +0 -7
- package/build-module/mobile/image/constants.mjs +0 -9
- package/build-module/mobile/image/constants.mjs.map +0 -7
- package/build-types/mobile/image/constants.d.ts +0 -5
- package/build-types/mobile/image/constants.d.ts.map +0 -1
- package/src/autocomplete/autocompleter-ui.native.js +0 -211
- package/src/autocomplete/background-view.android.js +0 -25
- package/src/autocomplete/background-view.ios.js +0 -23
- package/src/autocomplete/style.android.scss +0 -7
- package/src/autocomplete/style.native.scss +0 -74
- package/src/base-control/index.native.js +0 -14
- package/src/button/index.native.js +0 -236
- package/src/button/style.native.scss +0 -9
- package/src/color-control/index.native.js +0 -24
- package/src/color-indicator/index.native.js +0 -80
- package/src/color-indicator/style.native.scss +0 -51
- package/src/color-palette/index.native.js +0 -360
- package/src/color-palette/style.native.scss +0 -49
- package/src/color-picker/hsv-color-picker.native.js +0 -88
- package/src/color-picker/hue-picker.native.js +0 -198
- package/src/color-picker/index.native.js +0 -215
- package/src/color-picker/saturation-picker.native.js +0 -167
- package/src/color-picker/style.native.scss +0 -87
- package/src/custom-gradient-picker/index.native.js +0 -110
- package/src/custom-gradient-picker/style.native.scss +0 -3
- package/src/dashicon/index.native.js +0 -18
- package/src/disabled/index.native.js +0 -10
- package/src/draggable/index.native.js +0 -234
- package/src/draggable/style.native.scss +0 -3
- package/src/draggable/test/index.native.js +0 -138
- package/src/dropdown/index.native.js +0 -59
- package/src/dropdown-menu/index.native.js +0 -152
- package/src/external-link/index.native.js +0 -25
- package/src/focal-point-picker/focal-point.native.js +0 -30
- package/src/focal-point-picker/index.native.js +0 -281
- package/src/focal-point-picker/tooltip/index.native.js +0 -144
- package/src/focal-point-picker/tooltip/style.native.scss +0 -42
- package/src/font-size-picker/index.native.js +0 -190
- package/src/font-size-picker/style.native.scss +0 -6
- package/src/footer-message-control/index.native.js +0 -14
- package/src/higher-order/with-focus-outside/index.native.js +0 -38
- package/src/index.native.js +0 -134
- package/src/keyboard-shortcuts/index.native.js +0 -2
- package/src/mobile/README.md +0 -3
- package/src/mobile/autocompletion-items.native.js +0 -11
- package/src/mobile/badge/README.md +0 -31
- package/src/mobile/badge/index.native.js +0 -27
- package/src/mobile/badge/style.scss +0 -18
- package/src/mobile/bottom-sheet/borderStyles.android.scss +0 -8
- package/src/mobile/bottom-sheet/borderStyles.ios.scss +0 -9
- package/src/mobile/bottom-sheet/bottom-sheet-context.native.js +0 -40
- package/src/mobile/bottom-sheet/bottom-sheet-navigation/README.md +0 -101
- package/src/mobile/bottom-sheet/bottom-sheet-navigation/bottom-sheet-navigation-context.native.js +0 -16
- package/src/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js +0 -193
- package/src/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js +0 -146
- package/src/mobile/bottom-sheet/bottom-sheet-navigation/styles.native.scss +0 -11
- package/src/mobile/bottom-sheet/bottom-sheet-navigation/test/navigation-container.native.js +0 -197
- package/src/mobile/bottom-sheet/button.native.js +0 -19
- package/src/mobile/bottom-sheet/cell.native.js +0 -464
- package/src/mobile/bottom-sheet/cellStyles.android.scss +0 -15
- package/src/mobile/bottom-sheet/cellStyles.ios.scss +0 -19
- package/src/mobile/bottom-sheet/chevron-back.native.js +0 -18
- package/src/mobile/bottom-sheet/color-cell.native.js +0 -35
- package/src/mobile/bottom-sheet/cycle-picker-cell.native.js +0 -31
- package/src/mobile/bottom-sheet/footer-message-cell.native.js +0 -23
- package/src/mobile/bottom-sheet/footer-message-link/README.md +0 -37
- package/src/mobile/bottom-sheet/footer-message-link/footer-message-link.native.js +0 -26
- package/src/mobile/bottom-sheet/footer-message-link/styles.native.scss +0 -7
- package/src/mobile/bottom-sheet/index.native.js +0 -646
- package/src/mobile/bottom-sheet/keyboard-avoiding-view.native.js +0 -125
- package/src/mobile/bottom-sheet/link-cell.native.js +0 -35
- package/src/mobile/bottom-sheet/link-suggestion-item-cell.native.js +0 -92
- package/src/mobile/bottom-sheet/link-suggestion-styles.native.scss +0 -27
- package/src/mobile/bottom-sheet/lock-icon/index.native.js +0 -19
- package/src/mobile/bottom-sheet/lock-icon/styles.native.scss +0 -8
- package/src/mobile/bottom-sheet/nav-bar/README.md +0 -63
- package/src/mobile/bottom-sheet/nav-bar/action-button.native.js +0 -30
- package/src/mobile/bottom-sheet/nav-bar/apply-button.native.js +0 -53
- package/src/mobile/bottom-sheet/nav-bar/back-button.native.js +0 -94
- package/src/mobile/bottom-sheet/nav-bar/heading.native.js +0 -33
- package/src/mobile/bottom-sheet/nav-bar/index.native.js +0 -23
- package/src/mobile/bottom-sheet/nav-bar/styles.native.scss +0 -69
- package/src/mobile/bottom-sheet/picker-cell.native.js +0 -40
- package/src/mobile/bottom-sheet/radio-cell.native.js +0 -39
- package/src/mobile/bottom-sheet/range-cell.native.js +0 -274
- package/src/mobile/bottom-sheet/range-cell.native.scss +0 -40
- package/src/mobile/bottom-sheet/range-text-input.native.js +0 -248
- package/src/mobile/bottom-sheet/ripple.native.js +0 -83
- package/src/mobile/bottom-sheet/ripple.native.scss +0 -11
- package/src/mobile/bottom-sheet/stepper-cell/index.native.js +0 -264
- package/src/mobile/bottom-sheet/stepper-cell/stepper.android.js +0 -78
- package/src/mobile/bottom-sheet/stepper-cell/stepper.ios.js +0 -64
- package/src/mobile/bottom-sheet/stepper-cell/style.native.scss +0 -89
- package/src/mobile/bottom-sheet/styles.native.scss +0 -333
- package/src/mobile/bottom-sheet/sub-sheet/README.md +0 -90
- package/src/mobile/bottom-sheet/sub-sheet/index.native.js +0 -49
- package/src/mobile/bottom-sheet/switch-cell.native.js +0 -75
- package/src/mobile/bottom-sheet/test/index.native.js +0 -24
- package/src/mobile/bottom-sheet/test/range-cell.native.js +0 -73
- package/src/mobile/bottom-sheet-select-control/README.md +0 -97
- package/src/mobile/bottom-sheet-select-control/index.native.js +0 -124
- package/src/mobile/bottom-sheet-select-control/style.native.scss +0 -3
- package/src/mobile/bottom-sheet-text-control/README.md +0 -98
- package/src/mobile/bottom-sheet-text-control/index.native.js +0 -104
- package/src/mobile/bottom-sheet-text-control/styles.scss +0 -25
- package/src/mobile/clipboard/index.native.js +0 -18
- package/src/mobile/color-settings/gradient-picker-screen.native.js +0 -37
- package/src/mobile/color-settings/index.native.js +0 -88
- package/src/mobile/color-settings/palette.screen.native.js +0 -232
- package/src/mobile/color-settings/picker-screen.native.js +0 -60
- package/src/mobile/color-settings/style.native.scss +0 -62
- package/src/mobile/color-settings/utils.native.js +0 -36
- package/src/mobile/cycle-select-control/README.md +0 -3
- package/src/mobile/cycle-select-control/index.native.js +0 -39
- package/src/mobile/dashicons/index.native.js +0 -22
- package/src/mobile/focal-point-settings-panel/index.native.js +0 -84
- package/src/mobile/focal-point-settings-panel/styles.native.scss +0 -3
- package/src/mobile/gradient/index.native.js +0 -188
- package/src/mobile/gradient/style.native.scss +0 -8
- package/src/mobile/gradient/test/index.native.js +0 -114
- package/src/mobile/gridicons/index.native.js +0 -39
- package/src/mobile/html-text-input/index.native.js +0 -169
- package/src/mobile/html-text-input/style.android.scss +0 -8
- package/src/mobile/html-text-input/style.ios.scss +0 -10
- package/src/mobile/html-text-input/style.scss +0 -45
- package/src/mobile/html-text-input/test/__snapshots__/index.native.js.snap +0 -48
- package/src/mobile/html-text-input/test/index.native.js +0 -118
- package/src/mobile/image/constants.js +0 -1
- package/src/mobile/image/icon-customize.native.js +0 -10
- package/src/mobile/image/icon-retry.native.js +0 -11
- package/src/mobile/image/image-editing-button.native.js +0 -63
- package/src/mobile/image/index.native.js +0 -401
- package/src/mobile/image/style.native.scss +0 -179
- package/src/mobile/image/utils/index.native.js +0 -58
- package/src/mobile/keyboard-avoiding-view/index.android.js +0 -8
- package/src/mobile/keyboard-avoiding-view/index.ios.js +0 -143
- package/src/mobile/keyboard-avoiding-view/styles.native.scss +0 -9
- package/src/mobile/keyboard-aware-flat-list/index.android.js +0 -81
- package/src/mobile/keyboard-aware-flat-list/index.ios.js +0 -147
- package/src/mobile/keyboard-aware-flat-list/shared.native.js +0 -26
- package/src/mobile/keyboard-aware-flat-list/styles.native.scss +0 -8
- package/src/mobile/keyboard-aware-flat-list/test/use-keyboard-offset.native.js +0 -203
- package/src/mobile/keyboard-aware-flat-list/test/use-scroll-to-section.native.js +0 -142
- package/src/mobile/keyboard-aware-flat-list/test/use-scroll.native.js +0 -71
- package/src/mobile/keyboard-aware-flat-list/test/use-text-input-caret-position.native.js +0 -82
- package/src/mobile/keyboard-aware-flat-list/test/use-text-input-offset.native.js +0 -147
- package/src/mobile/keyboard-aware-flat-list/use-keyboard-offset.native.js +0 -87
- package/src/mobile/keyboard-aware-flat-list/use-scroll-to-element.native.js +0 -41
- package/src/mobile/keyboard-aware-flat-list/use-scroll-to-section.native.js +0 -100
- package/src/mobile/keyboard-aware-flat-list/use-scroll.native.js +0 -100
- package/src/mobile/keyboard-aware-flat-list/use-text-input-caret-position.native.js +0 -36
- package/src/mobile/keyboard-aware-flat-list/use-text-input-offset.native.js +0 -54
- package/src/mobile/layout-animation/index.native.js +0 -16
- package/src/mobile/link-picker/index.native.js +0 -160
- package/src/mobile/link-picker/link-picker-results.native.js +0 -129
- package/src/mobile/link-picker/link-picker-screen.native.js +0 -60
- package/src/mobile/link-picker/styles.native.scss +0 -45
- package/src/mobile/link-picker/test/performance/index.native.js +0 -35
- package/src/mobile/link-settings/index.native.js +0 -332
- package/src/mobile/link-settings/link-rel.native.js +0 -10
- package/src/mobile/link-settings/link-settings-navigation.native.js +0 -50
- package/src/mobile/link-settings/link-settings-screen.native.js +0 -44
- package/src/mobile/link-settings/style.native.scss +0 -4
- package/src/mobile/link-settings/test/edit.native.js +0 -325
- package/src/mobile/link-settings/test/link-settings-navigation.native.js +0 -94
- package/src/mobile/media-edit/index.native.js +0 -125
- package/src/mobile/picker/index.android.js +0 -104
- package/src/mobile/picker/index.ios.js +0 -96
- package/src/mobile/picker/styles.native.scss +0 -29
- package/src/mobile/segmented-control/index.native.js +0 -186
- package/src/mobile/segmented-control/style.native.scss +0 -99
- package/src/mobile/utils/alignments.native.js +0 -78
- package/src/mobile/utils/get-px-from-css-unit.native.js +0 -329
- package/src/mobile/utils/index.native.js +0 -12
- package/src/mobile/utils/test/get-px-from-css-unit.native.js +0 -172
- package/src/mobile/utils/test/index.native.js +0 -134
- package/src/mobile/utils/use-is-floating-keyboard.native.js +0 -31
- package/src/mobile/utils/use-unit-converter-to-mobile.native.js +0 -90
- package/src/notice/index.native.js +0 -123
- package/src/notice/list.native.js +0 -55
- package/src/notice/style.native.scss +0 -60
- package/src/panel/actions.native.js +0 -46
- package/src/panel/actions.native.scss +0 -12
- package/src/panel/body.native.js +0 -29
- package/src/panel/body.native.scss +0 -11
- package/src/panel/bottom-separator-cover.native.js +0 -27
- package/src/panel/bottom-separator-cover.native.scss +0 -9
- package/src/private-apis.native.js +0 -13
- package/src/query-controls/index.native.js +0 -103
- package/src/radio-control/index.native.js +0 -24
- package/src/range-control/index.native.js +0 -73
- package/src/resizable-box/index.native.js +0 -32
- package/src/resizable-box/style.native.scss +0 -14
- package/src/sandbox/index.native.js +0 -392
- package/src/sandbox/style.native.scss +0 -7
- package/src/search-control/index.native.js +0 -274
- package/src/search-control/platform-style.android.scss +0 -57
- package/src/search-control/platform-style.ios.scss +0 -43
- package/src/search-control/style.native.scss +0 -63
- package/src/select-control/index.native.js +0 -41
- package/src/slot-fill/index.native.js +0 -25
- package/src/spinner/index.native.js +0 -22
- package/src/spinner/style.native.scss +0 -4
- package/src/style-provider/index.native.js +0 -3
- package/src/text/index.native.js +0 -13
- package/src/text/styles/emotion-css.native.js +0 -6
- package/src/text/styles/font-family.native.js +0 -1
- package/src/text/styles/text-mixins.native.js +0 -163
- package/src/text-control/index.native.js +0 -41
- package/src/textarea-control/index.native.js +0 -26
- package/src/toggle-control/index.native.js +0 -31
- package/src/toolbar/toolbar/style.native.scss +0 -11
- package/src/toolbar/toolbar/toolbar-container.native.js +0 -8
- package/src/toolbar/toolbar-button/toolbar-button-container.native.js +0 -8
- package/src/toolbar/toolbar-group/style.native.scss +0 -10
- package/src/toolbar/toolbar-group/toolbar-group-collapsed.native.js +0 -36
- package/src/toolbar/toolbar-group/toolbar-group-container.native.js +0 -26
- package/src/toolbar/toolbar-item/index.native.js +0 -17
- package/src/tooltip/index.native.js +0 -292
- package/src/tooltip/style.native.scss +0 -39
- package/src/tooltip/test/index.native.js +0 -98
- package/src/unit-control/index.native.js +0 -202
- package/src/unit-control/style.native.scss +0 -19
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-control-styles.d.ts","sourceRoot":"","sources":["../../../src/base-control/styles/base-control-styles.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,OAAO;;;yGAKnB,CAAC;AAEF,eAAO,MAAM,WAAW;;;yGAIvB,CAAC;AAcF,eAAO,MAAM,WAAW;;;kHAEvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;
|
|
1
|
+
{"version":3,"file":"base-control-styles.d.ts","sourceRoot":"","sources":["../../../src/base-control/styles/base-control-styles.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,OAAO;;;yGAKnB,CAAC;AAEF,eAAO,MAAM,WAAW;;;yGAIvB,CAAC;AAcF,eAAO,MAAM,WAAW;;;kHAEvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;qHAOtB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;2GAE7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/border-control/styles.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAMtC,eAAO,MAAM,aAAa,2CAKzB,CAAC;AAEF,eAAO,MAAM,YAAY,iDAQxB,CAAC;AAOF,eAAO,MAAM,YAAY,2CAKxB,CAAC;AAEF,eAAO,MAAM,aAAa,UAAY,SAAS,GAAG,kBAAkB,8CAInE,CAAC;AAEF,eAAO,MAAM,qBAAqB,2CAuBjC,CAAC;AAEF,eAAO,MAAM,oBAAoB,YAAc,MAAM,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/border-control/styles.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAMtC,eAAO,MAAM,aAAa,2CAKzB,CAAC;AAEF,eAAO,MAAM,YAAY,iDAQxB,CAAC;AAOF,eAAO,MAAM,YAAY,2CAKxB,CAAC;AAEF,eAAO,MAAM,aAAa,UAAY,SAAS,GAAG,kBAAkB,8CAInE,CAAC;AAEF,eAAO,MAAM,qBAAqB,2CAuBjC,CAAC;AAEF,eAAO,MAAM,oBAAoB,YAAc,MAAM,8CAWpD,CAAC;AAEF,eAAO,MAAM,qBAAqB,YACxB,MAAM,SACR,SAAS,GAAG,kBAAkB,8CA8BrC,CAAC;AAOF,eAAO,MAAM,4BAA4B,2CAWxC,CAAC;AAEF,eAAO,MAAM,2BAA2B,2CAAQ,CAAC;AACjD,eAAO,MAAM,oBAAoB,2CAAQ,CAAC;AAE1C,eAAO,MAAM,kBAAkB,2CAI9B,CAAC;AAEF,eAAO,MAAM,YAAY,iDAGxB,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { ForwardedRef } from 'react';
|
|
2
1
|
import type { ButtonProps, DeprecatedButtonProps } from './types';
|
|
3
2
|
/**
|
|
4
3
|
* Lets users take actions and make choices with a single click or tap.
|
|
@@ -15,7 +14,6 @@ import type { ButtonProps, DeprecatedButtonProps } from './types';
|
|
|
15
14
|
* );
|
|
16
15
|
* ```
|
|
17
16
|
*/
|
|
18
|
-
export declare function UnforwardedButton(props: ButtonProps & DeprecatedButtonProps, ref: ForwardedRef<any>): import("react").JSX.Element;
|
|
19
17
|
export declare const Button: import("react").ForwardRefExoticComponent<(ButtonProps & DeprecatedButtonProps) & import("react").RefAttributes<any>>;
|
|
20
18
|
export default Button;
|
|
21
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/button/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/button/index.tsx"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAkElE;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,MAAM,uHAqMhB,CAAC;eAEW,MAAM"}
|
|
@@ -3,278 +3,5 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import type { WordPressComponentProps } from '../../context';
|
|
5
5
|
import type { DividerProps } from '../../divider';
|
|
6
|
-
export declare function useCardDivider(props: WordPressComponentProps<DividerProps, 'hr', false>):
|
|
7
|
-
key?: import("react").Key | null | undefined;
|
|
8
|
-
ref?: import("react").RefObject<HTMLHRElement> | ((instance: HTMLHRElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | null | undefined;
|
|
9
|
-
dangerouslySetInnerHTML?: {
|
|
10
|
-
__html: string | TrustedHTML;
|
|
11
|
-
} | undefined;
|
|
12
|
-
onCopy?: import("react").ClipboardEventHandler<HTMLHRElement> | undefined;
|
|
13
|
-
onCopyCapture?: import("react").ClipboardEventHandler<HTMLHRElement> | undefined;
|
|
14
|
-
onCut?: import("react").ClipboardEventHandler<HTMLHRElement> | undefined;
|
|
15
|
-
onCutCapture?: import("react").ClipboardEventHandler<HTMLHRElement> | undefined;
|
|
16
|
-
onPaste?: import("react").ClipboardEventHandler<HTMLHRElement> | undefined;
|
|
17
|
-
onPasteCapture?: import("react").ClipboardEventHandler<HTMLHRElement> | undefined;
|
|
18
|
-
onCompositionEnd?: import("react").CompositionEventHandler<HTMLHRElement> | undefined;
|
|
19
|
-
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLHRElement> | undefined;
|
|
20
|
-
onCompositionStart?: import("react").CompositionEventHandler<HTMLHRElement> | undefined;
|
|
21
|
-
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLHRElement> | undefined;
|
|
22
|
-
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLHRElement> | undefined;
|
|
23
|
-
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLHRElement> | undefined;
|
|
24
|
-
onFocus?: import("react").FocusEventHandler<HTMLHRElement> | undefined;
|
|
25
|
-
onFocusCapture?: import("react").FocusEventHandler<HTMLHRElement> | undefined;
|
|
26
|
-
onBlur?: import("react").FocusEventHandler<HTMLHRElement> | undefined;
|
|
27
|
-
onBlurCapture?: import("react").FocusEventHandler<HTMLHRElement> | undefined;
|
|
28
|
-
onChange?: import("react").FormEventHandler<HTMLHRElement> | undefined;
|
|
29
|
-
onChangeCapture?: import("react").FormEventHandler<HTMLHRElement> | undefined;
|
|
30
|
-
onBeforeInput?: import("react").InputEventHandler<HTMLHRElement> | undefined;
|
|
31
|
-
onBeforeInputCapture?: import("react").FormEventHandler<HTMLHRElement> | undefined;
|
|
32
|
-
onInput?: import("react").FormEventHandler<HTMLHRElement> | undefined;
|
|
33
|
-
onInputCapture?: import("react").FormEventHandler<HTMLHRElement> | undefined;
|
|
34
|
-
onReset?: import("react").FormEventHandler<HTMLHRElement> | undefined;
|
|
35
|
-
onResetCapture?: import("react").FormEventHandler<HTMLHRElement> | undefined;
|
|
36
|
-
onSubmit?: import("react").FormEventHandler<HTMLHRElement> | undefined;
|
|
37
|
-
onSubmitCapture?: import("react").FormEventHandler<HTMLHRElement> | undefined;
|
|
38
|
-
onInvalid?: import("react").FormEventHandler<HTMLHRElement> | undefined;
|
|
39
|
-
onInvalidCapture?: import("react").FormEventHandler<HTMLHRElement> | undefined;
|
|
40
|
-
onLoad?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
41
|
-
onLoadCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
42
|
-
onError?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
43
|
-
onErrorCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
44
|
-
onKeyDown?: import("react").KeyboardEventHandler<HTMLHRElement> | undefined;
|
|
45
|
-
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLHRElement> | undefined;
|
|
46
|
-
onKeyPress?: import("react").KeyboardEventHandler<HTMLHRElement> | undefined;
|
|
47
|
-
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLHRElement> | undefined;
|
|
48
|
-
onKeyUp?: import("react").KeyboardEventHandler<HTMLHRElement> | undefined;
|
|
49
|
-
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLHRElement> | undefined;
|
|
50
|
-
onAbort?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
51
|
-
onAbortCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
52
|
-
onCanPlay?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
53
|
-
onCanPlayCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
54
|
-
onCanPlayThrough?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
55
|
-
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
56
|
-
onDurationChange?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
57
|
-
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
58
|
-
onEmptied?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
59
|
-
onEmptiedCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
60
|
-
onEncrypted?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
61
|
-
onEncryptedCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
62
|
-
onEnded?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
63
|
-
onEndedCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
64
|
-
onLoadedData?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
65
|
-
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
66
|
-
onLoadedMetadata?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
67
|
-
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
68
|
-
onLoadStart?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
69
|
-
onLoadStartCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
70
|
-
onPause?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
71
|
-
onPauseCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
72
|
-
onPlay?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
73
|
-
onPlayCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
74
|
-
onPlaying?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
75
|
-
onPlayingCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
76
|
-
onProgress?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
77
|
-
onProgressCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
78
|
-
onRateChange?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
79
|
-
onRateChangeCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
80
|
-
onSeeked?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
81
|
-
onSeekedCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
82
|
-
onSeeking?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
83
|
-
onSeekingCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
84
|
-
onStalled?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
85
|
-
onStalledCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
86
|
-
onSuspend?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
87
|
-
onSuspendCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
88
|
-
onTimeUpdate?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
89
|
-
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
90
|
-
onVolumeChange?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
91
|
-
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
92
|
-
onWaiting?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
93
|
-
onWaitingCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
94
|
-
onAuxClick?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
95
|
-
onAuxClickCapture?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
96
|
-
onClick?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
97
|
-
onClickCapture?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
98
|
-
onContextMenu?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
99
|
-
onContextMenuCapture?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
100
|
-
onDoubleClick?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
101
|
-
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
102
|
-
onDrag?: import("react").DragEventHandler<HTMLHRElement> | undefined;
|
|
103
|
-
onDragCapture?: import("react").DragEventHandler<HTMLHRElement> | undefined;
|
|
104
|
-
onDragEnd?: import("react").DragEventHandler<HTMLHRElement> | undefined;
|
|
105
|
-
onDragEndCapture?: import("react").DragEventHandler<HTMLHRElement> | undefined;
|
|
106
|
-
onDragEnter?: import("react").DragEventHandler<HTMLHRElement> | undefined;
|
|
107
|
-
onDragEnterCapture?: import("react").DragEventHandler<HTMLHRElement> | undefined;
|
|
108
|
-
onDragExit?: import("react").DragEventHandler<HTMLHRElement> | undefined;
|
|
109
|
-
onDragExitCapture?: import("react").DragEventHandler<HTMLHRElement> | undefined;
|
|
110
|
-
onDragLeave?: import("react").DragEventHandler<HTMLHRElement> | undefined;
|
|
111
|
-
onDragLeaveCapture?: import("react").DragEventHandler<HTMLHRElement> | undefined;
|
|
112
|
-
onDragOver?: import("react").DragEventHandler<HTMLHRElement> | undefined;
|
|
113
|
-
onDragOverCapture?: import("react").DragEventHandler<HTMLHRElement> | undefined;
|
|
114
|
-
onDragStart?: import("react").DragEventHandler<HTMLHRElement> | undefined;
|
|
115
|
-
onDragStartCapture?: import("react").DragEventHandler<HTMLHRElement> | undefined;
|
|
116
|
-
onDrop?: import("react").DragEventHandler<HTMLHRElement> | undefined;
|
|
117
|
-
onDropCapture?: import("react").DragEventHandler<HTMLHRElement> | undefined;
|
|
118
|
-
onMouseDown?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
119
|
-
onMouseDownCapture?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
120
|
-
onMouseEnter?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
121
|
-
onMouseLeave?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
122
|
-
onMouseMove?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
123
|
-
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
124
|
-
onMouseOut?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
125
|
-
onMouseOutCapture?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
126
|
-
onMouseOver?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
127
|
-
onMouseOverCapture?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
128
|
-
onMouseUp?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
129
|
-
onMouseUpCapture?: import("react").MouseEventHandler<HTMLHRElement> | undefined;
|
|
130
|
-
onSelect?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
131
|
-
onSelectCapture?: import("react").ReactEventHandler<HTMLHRElement> | undefined;
|
|
132
|
-
onTouchCancel?: import("react").TouchEventHandler<HTMLHRElement> | undefined;
|
|
133
|
-
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLHRElement> | undefined;
|
|
134
|
-
onTouchEnd?: import("react").TouchEventHandler<HTMLHRElement> | undefined;
|
|
135
|
-
onTouchEndCapture?: import("react").TouchEventHandler<HTMLHRElement> | undefined;
|
|
136
|
-
onTouchMove?: import("react").TouchEventHandler<HTMLHRElement> | undefined;
|
|
137
|
-
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLHRElement> | undefined;
|
|
138
|
-
onTouchStart?: import("react").TouchEventHandler<HTMLHRElement> | undefined;
|
|
139
|
-
onTouchStartCapture?: import("react").TouchEventHandler<HTMLHRElement> | undefined;
|
|
140
|
-
onPointerDown?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
|
|
141
|
-
onPointerDownCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
|
|
142
|
-
onPointerMove?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
|
|
143
|
-
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
|
|
144
|
-
onPointerUp?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
|
|
145
|
-
onPointerUpCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
|
|
146
|
-
onPointerCancel?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
|
|
147
|
-
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
|
|
148
|
-
onPointerEnter?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
|
|
149
|
-
onPointerLeave?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
|
|
150
|
-
onPointerOver?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
|
|
151
|
-
onPointerOverCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
|
|
152
|
-
onPointerOut?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
|
|
153
|
-
onPointerOutCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
|
|
154
|
-
onGotPointerCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
|
|
155
|
-
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
|
|
156
|
-
onLostPointerCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
|
|
157
|
-
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLHRElement> | undefined;
|
|
158
|
-
onScroll?: import("react").UIEventHandler<HTMLHRElement> | undefined;
|
|
159
|
-
onScrollCapture?: import("react").UIEventHandler<HTMLHRElement> | undefined;
|
|
160
|
-
onWheel?: import("react").WheelEventHandler<HTMLHRElement> | undefined;
|
|
161
|
-
onWheelCapture?: import("react").WheelEventHandler<HTMLHRElement> | undefined;
|
|
162
|
-
onAnimationStart?: import("react").AnimationEventHandler<HTMLHRElement> | undefined;
|
|
163
|
-
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLHRElement> | undefined;
|
|
164
|
-
onAnimationEnd?: import("react").AnimationEventHandler<HTMLHRElement> | undefined;
|
|
165
|
-
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLHRElement> | undefined;
|
|
166
|
-
onAnimationIteration?: import("react").AnimationEventHandler<HTMLHRElement> | undefined;
|
|
167
|
-
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLHRElement> | undefined;
|
|
168
|
-
onTransitionEnd?: import("react").TransitionEventHandler<HTMLHRElement> | undefined;
|
|
169
|
-
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLHRElement> | undefined;
|
|
170
|
-
"aria-activedescendant"?: string | undefined;
|
|
171
|
-
"aria-atomic"?: ("false" | "true" | boolean) | undefined;
|
|
172
|
-
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
173
|
-
"aria-braillelabel"?: string | undefined;
|
|
174
|
-
"aria-brailleroledescription"?: string | undefined;
|
|
175
|
-
"aria-busy"?: ("false" | "true" | boolean) | undefined;
|
|
176
|
-
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
177
|
-
"aria-colcount"?: number | undefined;
|
|
178
|
-
"aria-colindex"?: number | undefined;
|
|
179
|
-
"aria-colindextext"?: string | undefined;
|
|
180
|
-
"aria-colspan"?: number | undefined;
|
|
181
|
-
"aria-controls"?: string | undefined;
|
|
182
|
-
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
183
|
-
"aria-describedby"?: string | undefined;
|
|
184
|
-
"aria-description"?: string | undefined;
|
|
185
|
-
"aria-details"?: string | undefined;
|
|
186
|
-
"aria-disabled"?: ("false" | "true" | boolean) | undefined;
|
|
187
|
-
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
188
|
-
"aria-errormessage"?: string | undefined;
|
|
189
|
-
"aria-expanded"?: ("false" | "true" | boolean) | undefined;
|
|
190
|
-
"aria-flowto"?: string | undefined;
|
|
191
|
-
"aria-grabbed"?: ("false" | "true" | boolean) | undefined;
|
|
192
|
-
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
193
|
-
"aria-hidden"?: ("false" | "true" | boolean) | undefined;
|
|
194
|
-
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
195
|
-
"aria-keyshortcuts"?: string | undefined;
|
|
196
|
-
"aria-label"?: string | undefined;
|
|
197
|
-
"aria-labelledby"?: string | undefined;
|
|
198
|
-
"aria-level"?: number | undefined;
|
|
199
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
200
|
-
"aria-modal"?: ("false" | "true" | boolean) | undefined;
|
|
201
|
-
"aria-multiline"?: ("false" | "true" | boolean) | undefined;
|
|
202
|
-
"aria-multiselectable"?: ("false" | "true" | boolean) | undefined;
|
|
203
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
204
|
-
"aria-owns"?: string | undefined;
|
|
205
|
-
"aria-placeholder"?: string | undefined;
|
|
206
|
-
"aria-posinset"?: number | undefined;
|
|
207
|
-
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
208
|
-
"aria-readonly"?: ("false" | "true" | boolean) | undefined;
|
|
209
|
-
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
210
|
-
"aria-required"?: ("false" | "true" | boolean) | undefined;
|
|
211
|
-
"aria-roledescription"?: string | undefined;
|
|
212
|
-
"aria-rowcount"?: number | undefined;
|
|
213
|
-
"aria-rowindex"?: number | undefined;
|
|
214
|
-
"aria-rowindextext"?: string | undefined;
|
|
215
|
-
"aria-rowspan"?: number | undefined;
|
|
216
|
-
"aria-selected"?: ("false" | "true" | boolean) | undefined;
|
|
217
|
-
"aria-setsize"?: number | undefined;
|
|
218
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
219
|
-
"aria-valuemax"?: number | undefined;
|
|
220
|
-
"aria-valuemin"?: number | undefined;
|
|
221
|
-
"aria-valuenow"?: number | undefined;
|
|
222
|
-
"aria-valuetext"?: string | undefined;
|
|
223
|
-
defaultChecked?: boolean | undefined;
|
|
224
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
225
|
-
suppressContentEditableWarning?: boolean | undefined;
|
|
226
|
-
suppressHydrationWarning?: boolean | undefined;
|
|
227
|
-
accessKey?: string | undefined;
|
|
228
|
-
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
229
|
-
autoFocus?: boolean | undefined;
|
|
230
|
-
contentEditable?: ("false" | "true" | boolean) | "inherit" | "plaintext-only" | undefined;
|
|
231
|
-
contextMenu?: string | undefined;
|
|
232
|
-
dir?: string | undefined;
|
|
233
|
-
draggable?: ("false" | "true" | boolean) | undefined;
|
|
234
|
-
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
235
|
-
hidden?: boolean | undefined;
|
|
236
|
-
id?: string | undefined;
|
|
237
|
-
lang?: string | undefined;
|
|
238
|
-
nonce?: string | undefined;
|
|
239
|
-
slot?: string | undefined;
|
|
240
|
-
spellCheck?: ("false" | "true" | boolean) | undefined;
|
|
241
|
-
style?: import("react").CSSProperties | undefined;
|
|
242
|
-
tabIndex?: number | undefined;
|
|
243
|
-
title?: string | undefined;
|
|
244
|
-
translate?: "yes" | "no" | undefined;
|
|
245
|
-
radioGroup?: string | undefined;
|
|
246
|
-
role?: import("react").AriaRole | undefined;
|
|
247
|
-
about?: string | undefined;
|
|
248
|
-
content?: string | undefined;
|
|
249
|
-
datatype?: string | undefined;
|
|
250
|
-
inlist?: any;
|
|
251
|
-
prefix?: string | undefined;
|
|
252
|
-
property?: string | undefined;
|
|
253
|
-
rel?: string | undefined;
|
|
254
|
-
resource?: string | undefined;
|
|
255
|
-
rev?: string | undefined;
|
|
256
|
-
typeof?: string | undefined;
|
|
257
|
-
vocab?: string | undefined;
|
|
258
|
-
autoCorrect?: string | undefined;
|
|
259
|
-
autoSave?: string | undefined;
|
|
260
|
-
color?: string | undefined;
|
|
261
|
-
itemProp?: string | undefined;
|
|
262
|
-
itemScope?: boolean | undefined;
|
|
263
|
-
itemType?: string | undefined;
|
|
264
|
-
itemID?: string | undefined;
|
|
265
|
-
itemRef?: string | undefined;
|
|
266
|
-
results?: number | undefined;
|
|
267
|
-
security?: string | undefined;
|
|
268
|
-
unselectable?: "on" | "off" | undefined;
|
|
269
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
270
|
-
is?: string | undefined;
|
|
271
|
-
exportparts?: string | undefined;
|
|
272
|
-
part?: string | undefined;
|
|
273
|
-
wrapElement?: import("@ariakit/react-core/utils/types").WrapElement;
|
|
274
|
-
margin?: import("../../utils/space").SpaceInput;
|
|
275
|
-
marginEnd?: import("../../utils/space").SpaceInput;
|
|
276
|
-
marginStart?: import("../../utils/space").SpaceInput;
|
|
277
|
-
orientation?: import("@ariakit/react").SeparatorProps['orientation'];
|
|
278
|
-
className: string;
|
|
279
|
-
};
|
|
6
|
+
export declare function useCardDivider(props: WordPressComponentProps<DividerProps, 'hr', false>): WordPressComponentProps<DividerProps, 'hr', false>;
|
|
280
7
|
//# sourceMappingURL=hook.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hook.d.ts","sourceRoot":"","sources":["../../../src/card/card-divider/hook.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAI7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"hook.d.ts","sourceRoot":"","sources":["../../../src/card/card-divider/hook.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAI7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAMlD,wBAAgB,cAAc,CAC7B,KAAK,EAAE,uBAAuB,CAAE,YAAY,EAAE,IAAI,EAAE,KAAK,CAAE,GACzD,uBAAuB,CAAE,YAAY,EAAE,IAAI,EAAE,KAAK,CAAE,CAwBtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/color-palette/index.tsx"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAEX,iBAAiB,EACjB,8BAA8B,EAI9B,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAiH1D,wBAAgB,yBAAyB,CAAE,EAC1C,mBAAmB,EACnB,YAAY,EAAE,oBAAoB,EAClC,GAAG,KAAK,EACR,EAAE,8BAA8B,+BAgChC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/color-palette/index.tsx"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAEX,iBAAiB,EACjB,8BAA8B,EAI9B,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAiH1D,wBAAgB,yBAAyB,CAAE,EAC1C,mBAAmB,EACnB,YAAY,EAAE,oBAAoB,EAClC,GAAG,KAAK,EACR,EAAE,8BAA8B,+BAgChC;AAkLD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,YAAY,mIAAwC,CAAC;eAGnD,YAAY"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/composite/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAW5D,OAAO,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAG/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,SAAS,
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/composite/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAW5D,OAAO,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAG/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,SAAS,CA8EjC,CAAC;eACa,IAAI;AAEnB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAE,OAAO,SAAS,CAU/C,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,QAAQ,CAAE,OAAO,SAAS,CAmB9C,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,QAAQ,CAAE,OAAO,SAAS,CA0B5C,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,QAAQ,CAAE,OAAO,SAAS,CAyB7C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAE,OAAO,SAAS,CAmBjD,CAAC;AAoDF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAE,OAAO,SAAS,CAuGpD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAE,OAAO,SAAS,CAkBpD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/confirm-dialog/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAY3D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,aAAa,
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/confirm-dialog/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAY3D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,aAAa,CAyBrC,CAAC;eAEa,IAAI;AA0CnB,eAAO,MAAM,OAAO,+XAAsB,CAAC;AA+C3C,eAAO,MAAM,sBAAsB,+XAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/custom-gradient-picker/gradient-bar/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/custom-gradient-picker/gradient-bar/index.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACX,sBAAsB,EAItB,MAAM,UAAU,CAAC;AA2DlB,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAE,EAC1C,UAAU,EACV,WAAW,EACX,KAAK,EAAE,aAAa,EACpB,QAAQ,EACR,eAAuB,EACvB,YAAoB,EACpB,iCAAyC,EACzC,EAAE,sBAAsB,+BAoHxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/dropdown/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D;;GAEG;AACH,OAAO,QAAQ,MAAM,IAAI,CAAC;AAM1B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/dropdown/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D;;GAEG;AACH,OAAO,QAAQ,MAAM,IAAI,CAAC;AAM1B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,QAAQ,CAuChC,CAAC;eACa,IAAI;AAEnB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAE,OAAO,QAAQ,CAc9C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAE,OAAO,QAAQ,CAYtD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAE,OAAO,QAAQ,CAYpD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAE,OAAO,QAAQ,CAkBpD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/menu/styles.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAW1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/menu/styles.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAW1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAsB5C,eAAO,MAAM,IAAI;;;;;;UAQhB,CAAC;AAEF,eAAO,MAAM,WAAW;;;yIAsBvB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;yGA+C1B,CAAC;AAmFF,eAAO,MAAM,IAAI;;;;;;UAEhB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;UAExB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;UAErB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;2GAmC7B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;yGAa9B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;yGAM/B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;2GAqB7B,CAAC;AAEF,eAAO,MAAM,KAAK;;;;;;UAGjB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;UAOtB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;0CAkBrB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;UAU9B,CAAC;AAEF,eAAO,MAAM,SAAS;;;;UAIrB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;UAUxB,CAAC"}
|
|
@@ -250,7 +250,7 @@ export interface CheckboxItemProps {
|
|
|
250
250
|
* The checked state of the checkbox menu item when it is initially rendered.
|
|
251
251
|
* Use when not wanting to control its checked state.
|
|
252
252
|
*
|
|
253
|
-
* Note: this prop will be
|
|
253
|
+
* Note: this prop will be overridden by the `checked` prop, if it is defined.
|
|
254
254
|
*/
|
|
255
255
|
defaultChecked?: Ariakit.MenuItemCheckboxProps['defaultChecked'];
|
|
256
256
|
/**
|
|
@@ -312,7 +312,7 @@ export interface RadioItemProps {
|
|
|
312
312
|
* The checked state of the radio menu item when it is initially rendered.
|
|
313
313
|
* Use when not wanting to control its checked state.
|
|
314
314
|
*
|
|
315
|
-
* Note: this prop will be
|
|
315
|
+
* Note: this prop will be overridden by the `checked` prop, if it is defined.
|
|
316
316
|
*/
|
|
317
317
|
defaultChecked?: Ariakit.MenuItemRadioProps['defaultChecked'];
|
|
318
318
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../src/navigable-container/container.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../src/navigable-container/container.tsx"],"names":[],"mappings":"AA6JA,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;mDAA8C,CAAC;eAGxD,kBAAkB"}
|
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
* Internal dependencies
|
|
3
3
|
*/
|
|
4
4
|
import type { SandBoxProps } from './types';
|
|
5
|
+
/**
|
|
6
|
+
* Matches CSS viewport-relative length values such as `100vh`, `50.5vw`,
|
|
7
|
+
* and `.5dvh`. Used to strip viewport units from user-supplied HTML inside
|
|
8
|
+
* the sandbox iframe, because those units are relative to the iframe's
|
|
9
|
+
* own size and would create a measurement feedback loop with the
|
|
10
|
+
* resize observer.
|
|
11
|
+
*
|
|
12
|
+
* Exported for tests. NOTE: an identical regex literal is duplicated
|
|
13
|
+
* inside `observeAndResizeJS` below because that function is serialized
|
|
14
|
+
* via `.toString()` and embedded into the iframe's `srcdoc` — it has no
|
|
15
|
+
* access to this module's scope at runtime. If you change one, change
|
|
16
|
+
* the other; the "is embedded in the sandbox iframe srcdoc" test
|
|
17
|
+
* guards against drift.
|
|
18
|
+
*/
|
|
19
|
+
export declare const VIEWPORT_UNIT_VALUE_REGEX: RegExp;
|
|
5
20
|
/**
|
|
6
21
|
* This component provides an isolated environment for arbitrary HTML via iframes.
|
|
7
22
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sandbox/index.tsx"],"names":[],"mappings":"AAYA;;GAEG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sandbox/index.tsx"],"names":[],"mappings":"AAYA;;GAEG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAI5C;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,yBAAyB,QACqF,CAAC;AAub5H;;;;;;;;;;GAUG;AACH,iBAAS,OAAO,CAAE,EAAE,eAAuB,EAAE,GAAG,YAAY,EAAE,EAAE,YAAY,+BAK3E;eAEc,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/spinner/styles.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,aAAa;;;+CAUzB,CAAC;
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/spinner/styles.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,aAAa;;;+CAUzB,CAAC;AAQF,eAAO,MAAM,YAAY;;;kDAGxB,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;gDAM5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tabs/index.tsx"],"names":[],"mappings":"AAYA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAsBzC;;;;;;;;;GASG;AACH,eAAO,MAAM,IAAI,2IAWb,SAAS;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tabs/index.tsx"],"names":[],"mappings":"AAYA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAsBzC;;;;;;;;;GASG;AACH,eAAO,MAAM,IAAI,2IAWb,SAAS;IA2CX;;;;;OAKG;;;;IAIH;;;;OAIG;;;;IAIH;;OAEG;;;;;;;CAQJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tablist.d.ts","sourceRoot":"","sources":["../../src/tabs/tablist.tsx"],"names":[],"mappings":"AAaA;;GAEG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAqD5C,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"tablist.d.ts","sourceRoot":"","sources":["../../src/tabs/tablist.tsx"],"names":[],"mappings":"AAaA;;GAEG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAqD5C,eAAO,MAAM,OAAO,mPAsEjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/tools-panel/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/tools-panel/styles.ts"],"names":[],"mappings":"AAiCA,eAAO,MAAM,UAAU,YAAc,MAAM,8CAM1C,CAAC;AAEF;;;;GAIG;AAEH,eAAO,MAAM,0BAA0B,YAAc,MAAM,8CAS1D,CAAC;AAEF,eAAO,MAAM,4BAA4B,2CAIxC,CAAC;AAEF,eAAO,MAAM,gBAAgB,2CAmB5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,2CAS7B,CAAC;AAEF,eAAO,MAAM,cAAc,2CA6B1B,CAAC;AAEF,eAAO,MAAM,yBAAyB,2CAErC,CAAC;AAEF,eAAO,MAAM,YAAY,2CAExB,CAAC;AAEF,eAAO,MAAM,UAAU;;;2GAOtB,CAAC;AAEF,eAAO,MAAM,mBAAmB,2CAe/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/unit-control/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/unit-control/utils.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AA2MjD;;GAEG;AACH,eAAO,MAAM,aAAa,qBAA4B,CAAC;AAEvD;;GAEG;AACH,eAAO,MAAM,SAAS,qBAOrB,CAAC;AAEF,eAAO,MAAM,YAAY,mBAAc,CAAC;AAExC;;;;;;;;;;;;;GAaG;AACH,wBAAgB,wBAAwB,CACvC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAC1B,YAAY,CAAC,EAAE,MAAM,EACrB,YAAY,CAAC,EAAE,iBAAiB,EAAE,GAChC,CAAE,MAAM,GAAG,SAAS,EAAE,MAAM,GAAG,SAAS,CAAE,CAM5C;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CACvB,KAAK,CAAC,EAAE,iBAAiB,EAAE,GACzB,KAAK,IAAI,iBAAiB,EAAE,CAK9B;AAED;;;;;;;;;GASG;AACH,wBAAgB,gCAAgC,CAC/C,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAC1B,YAAY,GAAE,iBAAiB,EAAkB,GAC/C,CAAE,MAAM,GAAG,SAAS,EAAE,MAAM,GAAG,SAAS,CAAE,CAyB5C;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,6BAA6B,CAC5C,QAAQ,EAAE,MAAM,GAAG,MAAM,EACzB,YAAY,CAAC,EAAE,iBAAiB,EAAE,EAClC,gBAAgB,CAAC,EAAE,MAAM,EACzB,YAAY,CAAC,EAAE,MAAM,GACnB,CAAE,MAAM,GAAG,SAAS,EAAE,MAAM,GAAG,SAAS,CAAE,CAmB5C;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CAAE,IAAI,EAAE,MAAM,GAAI,MAAM,GAAG,SAAS,CAG5E;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACtC,iBAAiB,EAAE,MAAM,EAAE,YAAK,EAChC,cAAc,EAAE,iBAAiB,EAAE,GACjC,iBAAiB,EAAE,CASrB;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,8CAIxB;IACF,KAAK,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAE,MAAM,EAAE,MAAM,CAAE,CAAC;CACzC,KAAI,iBAAiB,EAgBrB,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CACtC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAC1B,UAAU,CAAC,EAAE,MAAM,EACnB,KAAK,GAAE,iBAAiB,EAAkB,GACxC,iBAAiB,EAAE,CAkBrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors-values.d.ts","sourceRoot":"","sources":["../../src/utils/colors-values.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"colors-values.d.ts","sourceRoot":"","sources":["../../src/utils/colors-values.js"],"names":[],"mappings":"AA0FA,eAAO,MAAM,MAAM;IAClB;;;;OAIG;;;;QA1EH,+CAA+C;;QAE/C,yDAAyD;;;QAGzD,6BAA6B;;QAE7B,wCAAwC;;QAExC,uCAAuC;;;IAmEvC;;OAEG;;;;;;;IAGH;;;;OAIG;;;;;QAtDH,kDAAkD;;;;QAMlD,sDAAsD;;;YAIrD,yDAAyD;YACzD,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;YACH,GAAG;;;IAsCJ;;OAEG;;;;;;;;;;;;EAED,CAAC;eAEW,MAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-motion.d.ts","sourceRoot":"","sources":["../../src/utils/dropdown-motion.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe;;;;QAI1B,QAAQ;QACR,IAAI;;;;QAIJ,QAAQ;;EAEP,CAAC;
|
|
1
|
+
{"version":3,"file":"dropdown-motion.d.ts","sourceRoot":"","sources":["../../src/utils/dropdown-motion.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe;;;;QAI1B,QAAQ;QACR,IAAI;;;;QAIJ,QAAQ;;EAEP,CAAC;AAiBJ,eAAO,MAAM,mBAAmB;;;;;;EAM7B,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { ValidatedControlProps } from './types';
|
|
|
2
2
|
export declare const ValidatedComboboxControl: import("react").ForwardRefExoticComponent<Omit<Pick<import("../../base-control/types").BaseControlProps, "__nextHasNoMarginBottom" | "className" | "help" | "hideLabelFromVision" | "label"> & {
|
|
3
3
|
__experimentalRenderItem?: (args: {
|
|
4
4
|
item: import("../../combobox-control/types").ComboboxControlOption;
|
|
5
|
-
}) =>
|
|
5
|
+
}) => import("react").ReactNode;
|
|
6
6
|
__next36pxDefaultSize?: boolean;
|
|
7
7
|
__next40pxDefaultSize?: boolean;
|
|
8
8
|
allowReset?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/components",
|
|
3
|
-
"version": "35.
|
|
3
|
+
"version": "35.1.1-next.v.202606191442.0+17fe7db8a",
|
|
4
4
|
"description": "UI components for WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -43,7 +43,6 @@
|
|
|
43
43
|
"./package.json": "./package.json",
|
|
44
44
|
"./build-style/": "./build-style/"
|
|
45
45
|
},
|
|
46
|
-
"react-native": "src/index",
|
|
47
46
|
"wpScript": true,
|
|
48
47
|
"types": "build-types",
|
|
49
48
|
"sideEffects": [
|
|
@@ -51,49 +50,47 @@
|
|
|
51
50
|
"src/**/*.scss"
|
|
52
51
|
],
|
|
53
52
|
"dependencies": {
|
|
54
|
-
"@ariakit/react": "^0.4.
|
|
53
|
+
"@ariakit/react": "^0.4.29",
|
|
55
54
|
"@date-fns/utc": "^2.1.1",
|
|
56
55
|
"@emotion/cache": "^11.14.0",
|
|
57
56
|
"@emotion/css": "^11.13.5",
|
|
58
|
-
"@emotion/native": "^11.11.0",
|
|
59
57
|
"@emotion/react": "^11.14.0",
|
|
60
58
|
"@emotion/serialize": "^1.3.3",
|
|
61
59
|
"@emotion/styled": "^11.14.1",
|
|
62
60
|
"@emotion/utils": "^1.4.2",
|
|
63
|
-
"@floating-ui/react-dom": "2.0.8",
|
|
64
|
-
"@types/gradient-parser": "1.1.0",
|
|
65
|
-
"@types/highlight-words-core": "1.2.1",
|
|
66
|
-
"@types/react": "^18.3.27",
|
|
61
|
+
"@floating-ui/react-dom": "^2.0.8",
|
|
62
|
+
"@types/gradient-parser": "^1.1.0",
|
|
63
|
+
"@types/highlight-words-core": "^1.2.1",
|
|
67
64
|
"@use-gesture/react": "^10.3.1",
|
|
68
|
-
"@wordpress/a11y": "^4.48.0",
|
|
69
|
-
"@wordpress/base-styles": "^
|
|
70
|
-
"@wordpress/compose": "^8.1.0",
|
|
71
|
-
"@wordpress/date": "^5.48.0",
|
|
72
|
-
"@wordpress/deprecated": "^4.48.0",
|
|
73
|
-
"@wordpress/dom": "^4.48.0",
|
|
74
|
-
"@wordpress/element": "^8.0.0",
|
|
75
|
-
"@wordpress/escape-html": "^3.48.0",
|
|
76
|
-
"@wordpress/hooks": "^4.48.0",
|
|
77
|
-
"@wordpress/html-entities": "^4.48.0",
|
|
78
|
-
"@wordpress/i18n": "^6.21.0",
|
|
79
|
-
"@wordpress/icons": "^
|
|
80
|
-
"@wordpress/is-shallow-equal": "^5.48.0",
|
|
81
|
-
"@wordpress/keycodes": "^4.48.0",
|
|
82
|
-
"@wordpress/primitives": "^4.48.0",
|
|
83
|
-
"@wordpress/private-apis": "^1.48.0",
|
|
84
|
-
"@wordpress/rich-text": "^7.48.0",
|
|
85
|
-
"@wordpress/style-runtime": "^0.4.0",
|
|
86
|
-
"@wordpress/ui": "^0.
|
|
87
|
-
"@wordpress/warning": "^3.48.0",
|
|
65
|
+
"@wordpress/a11y": "^4.48.2-next.v.202606191442.0+17fe7db8a",
|
|
66
|
+
"@wordpress/base-styles": "^10.0.2-next.v.202606191442.0+17fe7db8a",
|
|
67
|
+
"@wordpress/compose": "^8.1.2-next.v.202606191442.0+17fe7db8a",
|
|
68
|
+
"@wordpress/date": "^5.48.2-next.v.202606191442.0+17fe7db8a",
|
|
69
|
+
"@wordpress/deprecated": "^4.48.2-next.v.202606191442.0+17fe7db8a",
|
|
70
|
+
"@wordpress/dom": "^4.48.2-next.v.202606191442.0+17fe7db8a",
|
|
71
|
+
"@wordpress/element": "^8.0.2-next.v.202606191442.0+17fe7db8a",
|
|
72
|
+
"@wordpress/escape-html": "^3.48.2-next.v.202606191442.0+17fe7db8a",
|
|
73
|
+
"@wordpress/hooks": "^4.48.2-next.v.202606191442.0+17fe7db8a",
|
|
74
|
+
"@wordpress/html-entities": "^4.48.2-next.v.202606191442.0+17fe7db8a",
|
|
75
|
+
"@wordpress/i18n": "^6.21.2-next.v.202606191442.0+17fe7db8a",
|
|
76
|
+
"@wordpress/icons": "^14.0.2-next.v.202606191442.0+17fe7db8a",
|
|
77
|
+
"@wordpress/is-shallow-equal": "^5.48.2-next.v.202606191442.0+17fe7db8a",
|
|
78
|
+
"@wordpress/keycodes": "^4.48.2-next.v.202606191442.0+17fe7db8a",
|
|
79
|
+
"@wordpress/primitives": "^4.48.2-next.v.202606191442.0+17fe7db8a",
|
|
80
|
+
"@wordpress/private-apis": "^1.48.2-next.v.202606191442.0+17fe7db8a",
|
|
81
|
+
"@wordpress/rich-text": "^7.48.2-next.v.202606191442.0+17fe7db8a",
|
|
82
|
+
"@wordpress/style-runtime": "^0.4.2-next.v.202606191442.0+17fe7db8a",
|
|
83
|
+
"@wordpress/ui": "^0.16.1-next.v.202606191442.0+17fe7db8a",
|
|
84
|
+
"@wordpress/warning": "^3.48.2-next.v.202606191442.0+17fe7db8a",
|
|
88
85
|
"change-case": "^4.1.2",
|
|
89
86
|
"clsx": "^2.1.1",
|
|
90
|
-
"colord": "^2.
|
|
87
|
+
"colord": "^2.9.3",
|
|
91
88
|
"csstype": "^3.2.3",
|
|
92
89
|
"date-fns": "^4.1.0",
|
|
93
|
-
"deepmerge": "^4.3.
|
|
90
|
+
"deepmerge": "^4.3.1",
|
|
94
91
|
"fast-deep-equal": "^3.1.3",
|
|
95
92
|
"framer-motion": "^11.15.0",
|
|
96
|
-
"gradient-parser": "1.1.1",
|
|
93
|
+
"gradient-parser": "^1.1.1",
|
|
97
94
|
"highlight-words-core": "^1.2.2",
|
|
98
95
|
"is-plain-object": "^5.0.0",
|
|
99
96
|
"memize": "^2.1.0",
|
|
@@ -106,21 +103,32 @@
|
|
|
106
103
|
},
|
|
107
104
|
"devDependencies": {
|
|
108
105
|
"@ariakit/test": "^0.4.13",
|
|
109
|
-
"@storybook/addon-docs": "^10.
|
|
110
|
-
"@storybook/react-vite": "^10.
|
|
106
|
+
"@storybook/addon-docs": "^10.4.3",
|
|
107
|
+
"@storybook/react-vite": "^10.4.3",
|
|
108
|
+
"@testing-library/dom": "^10.4.1",
|
|
111
109
|
"@testing-library/jest-dom": "^6.9.1",
|
|
110
|
+
"@testing-library/react": "^16.3.2",
|
|
111
|
+
"@testing-library/user-event": "^14.6.1",
|
|
112
112
|
"@types/jest": "^29.5.14",
|
|
113
|
-
"@
|
|
113
|
+
"@types/react-dom": "^18.3.1",
|
|
114
|
+
"@wordpress/jest-console": "^8.48.2-next.v.202606191442.0+17fe7db8a",
|
|
115
|
+
"@wordpress/stylelint-tools": "file:../../tools/stylelint",
|
|
114
116
|
"snapshot-diff": "^0.10.0",
|
|
115
|
-
"storybook": "^10.
|
|
117
|
+
"storybook": "^10.4.3",
|
|
116
118
|
"timezone-mock": "^1.3.6"
|
|
117
119
|
},
|
|
118
120
|
"peerDependencies": {
|
|
121
|
+
"@types/react": "^18.3.27",
|
|
119
122
|
"react": "^18.0.0",
|
|
120
123
|
"react-dom": "^18.0.0"
|
|
121
124
|
},
|
|
125
|
+
"peerDependenciesMeta": {
|
|
126
|
+
"@types/react": {
|
|
127
|
+
"optional": true
|
|
128
|
+
}
|
|
129
|
+
},
|
|
122
130
|
"publishConfig": {
|
|
123
131
|
"access": "public"
|
|
124
132
|
},
|
|
125
|
-
"gitHead": "
|
|
133
|
+
"gitHead": "1b6a19222df5a88f161880b5789efb3171d8f425"
|
|
126
134
|
}
|
|
@@ -19,9 +19,9 @@ import type { AngleCircleProps } from './types';
|
|
|
19
19
|
|
|
20
20
|
type UseDraggingArgumentType = Parameters< typeof useDragging >[ 0 ];
|
|
21
21
|
type UseDraggingCallbackEvent =
|
|
22
|
-
| Parameters< UseDraggingArgumentType[ 'onDragStart' ] >[ 0 ]
|
|
23
|
-
| Parameters< UseDraggingArgumentType[ 'onDragMove' ] >[ 0 ]
|
|
24
|
-
| Parameters< UseDraggingArgumentType[ 'onDragEnd' ] >[ 0 ];
|
|
22
|
+
| Parameters< NonNullable< UseDraggingArgumentType[ 'onDragStart' ] > >[ 0 ]
|
|
23
|
+
| Parameters< NonNullable< UseDraggingArgumentType[ 'onDragMove' ] > >[ 0 ]
|
|
24
|
+
| Parameters< NonNullable< UseDraggingArgumentType[ 'onDragEnd' ] > >[ 0 ];
|
|
25
25
|
|
|
26
26
|
function AngleCircle( {
|
|
27
27
|
value,
|