@wordpress/components 23.3.7 → 23.3.8
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/package.json +19 -19
- package/tsconfig.tsbuildinfo +1 -1
- package/build-types/angle-picker-control/angle-circle.d.ts +0 -6
- package/build-types/angle-picker-control/angle-circle.d.ts.map +0 -1
- package/build-types/angle-picker-control/index.d.ts +0 -29
- package/build-types/angle-picker-control/index.d.ts.map +0 -1
- package/build-types/angle-picker-control/stories/index.d.ts +0 -15
- package/build-types/angle-picker-control/stories/index.d.ts.map +0 -1
- package/build-types/angle-picker-control/styles/angle-picker-control-styles.d.ts +0 -25
- package/build-types/angle-picker-control/styles/angle-picker-control-styles.d.ts.map +0 -1
- package/build-types/angle-picker-control/types.d.ts +0 -26
- package/build-types/angle-picker-control/types.d.ts.map +0 -1
- package/build-types/animate/stories/index.d.ts +0 -18
- package/build-types/animate/stories/index.d.ts.map +0 -1
- package/build-types/animate/types.d.ts +0 -30
- package/build-types/animate/types.d.ts.map +0 -1
- package/build-types/autocomplete/autocompleter-ui.d.ts +0 -4
- package/build-types/autocomplete/autocompleter-ui.d.ts.map +0 -1
- package/build-types/autocomplete/get-default-use-items.d.ts +0 -3
- package/build-types/autocomplete/get-default-use-items.d.ts.map +0 -1
- package/build-types/autocomplete/index.d.ts +0 -23
- package/build-types/autocomplete/index.d.ts.map +0 -1
- package/build-types/autocomplete/test/index.d.ts +0 -2
- package/build-types/autocomplete/test/index.d.ts.map +0 -1
- package/build-types/autocomplete/types.d.ts +0 -185
- package/build-types/autocomplete/types.d.ts.map +0 -1
- package/build-types/border-box-control/test/index.d.ts +0 -2
- package/build-types/border-box-control/test/index.d.ts.map +0 -1
- package/build-types/border-box-control/test/utils.d.ts +0 -2
- package/build-types/border-box-control/test/utils.d.ts.map +0 -1
- package/build-types/box-control/all-input-control.d.ts +0 -4
- package/build-types/box-control/all-input-control.d.ts.map +0 -1
- package/build-types/box-control/axial-input-controls.d.ts +0 -4
- package/build-types/box-control/axial-input-controls.d.ts.map +0 -1
- package/build-types/box-control/icon.d.ts +0 -8
- package/build-types/box-control/icon.d.ts.map +0 -1
- package/build-types/box-control/index.d.ts +0 -31
- package/build-types/box-control/index.d.ts.map +0 -1
- package/build-types/box-control/input-controls.d.ts +0 -4
- package/build-types/box-control/input-controls.d.ts.map +0 -1
- package/build-types/box-control/linked-button.d.ts +0 -9
- package/build-types/box-control/linked-button.d.ts.map +0 -1
- package/build-types/box-control/styles/box-control-icon-styles.d.ts +0 -42
- package/build-types/box-control/styles/box-control-icon-styles.d.ts.map +0 -1
- package/build-types/box-control/styles/box-control-styles.d.ts +0 -42
- package/build-types/box-control/styles/box-control-styles.d.ts.map +0 -1
- package/build-types/box-control/styles/box-control-visualizer-styles.d.ts +0 -46
- package/build-types/box-control/styles/box-control-visualizer-styles.d.ts.map +0 -1
- package/build-types/box-control/test/index.d.ts +0 -2
- package/build-types/box-control/test/index.d.ts.map +0 -1
- package/build-types/box-control/types.d.ts +0 -99
- package/build-types/box-control/types.d.ts.map +0 -1
- package/build-types/box-control/unit-control.d.ts +0 -4
- package/build-types/box-control/unit-control.d.ts.map +0 -1
- package/build-types/box-control/utils.d.ts +0 -84
- package/build-types/box-control/utils.d.ts.map +0 -1
- package/build-types/circular-option-picker/stories/index.d.ts +0 -14
- package/build-types/circular-option-picker/stories/index.d.ts.map +0 -1
- package/build-types/circular-option-picker/types.d.ts +0 -49
- package/build-types/circular-option-picker/types.d.ts.map +0 -1
- package/build-types/color-picker/color-display.d.ts +0 -14
- package/build-types/color-picker/color-display.d.ts.map +0 -1
- package/build-types/color-picker/stories/index.d.ts +0 -19
- package/build-types/color-picker/stories/index.d.ts.map +0 -1
- package/build-types/color-picker/test/index.d.ts +0 -2
- package/build-types/color-picker/test/index.d.ts.map +0 -1
- package/build-types/combobox-control/index.d.ts +0 -51
- package/build-types/combobox-control/index.d.ts.map +0 -1
- package/build-types/combobox-control/stories/index.d.ts +0 -18
- package/build-types/combobox-control/stories/index.d.ts.map +0 -1
- package/build-types/combobox-control/styles.d.ts +0 -8
- package/build-types/combobox-control/styles.d.ts.map +0 -1
- package/build-types/combobox-control/test/index.d.ts +0 -2
- package/build-types/combobox-control/test/index.d.ts.map +0 -1
- package/build-types/combobox-control/types.d.ts +0 -69
- package/build-types/combobox-control/types.d.ts.map +0 -1
- package/build-types/custom-gradient-picker/constants.d.ts +0 -25
- package/build-types/custom-gradient-picker/constants.d.ts.map +0 -1
- package/build-types/custom-gradient-picker/gradient-bar/constants.d.ts +0 -8
- package/build-types/custom-gradient-picker/gradient-bar/constants.d.ts.map +0 -1
- package/build-types/custom-gradient-picker/gradient-bar/control-points.d.ts +0 -8
- package/build-types/custom-gradient-picker/gradient-bar/control-points.d.ts.map +0 -1
- package/build-types/custom-gradient-picker/gradient-bar/index.d.ts +0 -4
- package/build-types/custom-gradient-picker/gradient-bar/index.d.ts.map +0 -1
- package/build-types/custom-gradient-picker/gradient-bar/test/utils.d.ts +0 -2
- package/build-types/custom-gradient-picker/gradient-bar/test/utils.d.ts.map +0 -1
- package/build-types/custom-gradient-picker/gradient-bar/utils.d.ts +0 -90
- package/build-types/custom-gradient-picker/gradient-bar/utils.d.ts.map +0 -1
- package/build-types/custom-gradient-picker/index.d.ts +0 -28
- package/build-types/custom-gradient-picker/index.d.ts.map +0 -1
- package/build-types/custom-gradient-picker/serializer.d.ts +0 -10
- package/build-types/custom-gradient-picker/serializer.d.ts.map +0 -1
- package/build-types/custom-gradient-picker/stories/index.d.ts +0 -12
- package/build-types/custom-gradient-picker/stories/index.d.ts.map +0 -1
- package/build-types/custom-gradient-picker/styles/custom-gradient-picker-styles.d.ts +0 -12
- package/build-types/custom-gradient-picker/styles/custom-gradient-picker-styles.d.ts.map +0 -1
- package/build-types/custom-gradient-picker/test/serializer.d.ts +0 -2
- package/build-types/custom-gradient-picker/test/serializer.d.ts.map +0 -1
- package/build-types/custom-gradient-picker/types.d.ts +0 -118
- package/build-types/custom-gradient-picker/types.d.ts.map +0 -1
- package/build-types/custom-gradient-picker/utils.d.ts +0 -13
- package/build-types/custom-gradient-picker/utils.d.ts.map +0 -1
- package/build-types/date-time/date/test/utils.d.ts +0 -2
- package/build-types/date-time/date/test/utils.d.ts.map +0 -1
- package/build-types/date-time/date/utils.d.ts +0 -15
- package/build-types/date-time/date/utils.d.ts.map +0 -1
- package/build-types/date-time/date.d.ts +0 -24
- package/build-types/date-time/date.d.ts.map +0 -1
- package/build-types/date-time/stories/index.d.ts +0 -14
- package/build-types/date-time/stories/index.d.ts.map +0 -1
- package/build-types/date-time/test/date.d.ts +0 -2
- package/build-types/date-time/test/date.d.ts.map +0 -1
- package/build-types/date-time/test/time.d.ts +0 -2
- package/build-types/date-time/test/time.d.ts.map +0 -1
- package/build-types/date-time/test/utils.d.ts +0 -2
- package/build-types/date-time/test/utils.d.ts.map +0 -1
- package/build-types/date-time/time.d.ts +0 -25
- package/build-types/date-time/time.d.ts.map +0 -1
- package/build-types/date-time/timezone.d.ts +0 -7
- package/build-types/date-time/timezone.d.ts.map +0 -1
- package/build-types/dimension-control/index.d.ts +0 -28
- package/build-types/dimension-control/index.d.ts.map +0 -1
- package/build-types/dimension-control/sizes.d.ts +0 -26
- package/build-types/dimension-control/sizes.d.ts.map +0 -1
- package/build-types/dimension-control/stories/index.d.ts +0 -12
- package/build-types/dimension-control/stories/index.d.ts.map +0 -1
- package/build-types/dimension-control/types.d.ts +0 -47
- package/build-types/dimension-control/types.d.ts.map +0 -1
- package/build-types/duotone-picker/color-list-picker/index.d.ts +0 -5
- package/build-types/duotone-picker/color-list-picker/index.d.ts.map +0 -1
- package/build-types/duotone-picker/color-list-picker/types.d.ts +0 -42
- package/build-types/duotone-picker/color-list-picker/types.d.ts.map +0 -1
- package/build-types/duotone-picker/custom-duotone-bar.d.ts +0 -6
- package/build-types/duotone-picker/custom-duotone-bar.d.ts.map +0 -1
- package/build-types/duotone-picker/duotone-picker.d.ts +0 -38
- package/build-types/duotone-picker/duotone-picker.d.ts.map +0 -1
- package/build-types/duotone-picker/duotone-swatch.d.ts +0 -5
- package/build-types/duotone-picker/duotone-swatch.d.ts.map +0 -1
- package/build-types/duotone-picker/index.d.ts +0 -3
- package/build-types/duotone-picker/index.d.ts.map +0 -1
- package/build-types/duotone-picker/stories/duotone-picker.d.ts +0 -12
- package/build-types/duotone-picker/stories/duotone-picker.d.ts.map +0 -1
- package/build-types/duotone-picker/stories/duotone-swatch.d.ts +0 -14
- package/build-types/duotone-picker/stories/duotone-swatch.d.ts.map +0 -1
- package/build-types/duotone-picker/types.d.ts +0 -60
- package/build-types/duotone-picker/types.d.ts.map +0 -1
- package/build-types/duotone-picker/utils.d.ts +0 -52
- package/build-types/duotone-picker/utils.d.ts.map +0 -1
- package/build-types/experiments.d.ts +0 -4
- package/build-types/experiments.d.ts.map +0 -1
- package/build-types/flyout/context.d.ts +0 -6
- package/build-types/flyout/context.d.ts.map +0 -1
- package/build-types/flyout/flyout/component.d.ts +0 -21
- package/build-types/flyout/flyout/component.d.ts.map +0 -1
- package/build-types/flyout/flyout/hook.d.ts +0 -270
- package/build-types/flyout/flyout/hook.d.ts.map +0 -1
- package/build-types/flyout/flyout/index.d.ts +0 -3
- package/build-types/flyout/flyout/index.d.ts.map +0 -1
- package/build-types/flyout/flyout-content/component.d.ts +0 -3
- package/build-types/flyout/flyout-content/component.d.ts.map +0 -1
- package/build-types/flyout/flyout-content/index.d.ts +0 -2
- package/build-types/flyout/flyout-content/index.d.ts.map +0 -1
- package/build-types/flyout/index.d.ts +0 -2
- package/build-types/flyout/index.d.ts.map +0 -1
- package/build-types/flyout/styles.d.ts +0 -22
- package/build-types/flyout/styles.d.ts.map +0 -1
- package/build-types/flyout/types.d.ts +0 -80
- package/build-types/flyout/types.d.ts.map +0 -1
- package/build-types/flyout/utils.d.ts +0 -8
- package/build-types/flyout/utils.d.ts.map +0 -1
- package/build-types/form-token-field/test/lib/fixtures.d.ts +0 -26
- package/build-types/form-token-field/test/lib/fixtures.d.ts.map +0 -1
- package/build-types/form-token-field/test/lib/token-field-wrapper.d.ts +0 -21
- package/build-types/form-token-field/test/lib/token-field-wrapper.d.ts.map +0 -1
- package/build-types/gradient-picker/index.d.ts +0 -50
- package/build-types/gradient-picker/index.d.ts.map +0 -1
- package/build-types/gradient-picker/stories/index.d.ts +0 -14
- package/build-types/gradient-picker/stories/index.d.ts.map +0 -1
- package/build-types/gradient-picker/types.d.ts +0 -87
- package/build-types/gradient-picker/types.d.ts.map +0 -1
- package/build-types/guide/icons.d.ts +0 -5
- package/build-types/guide/icons.d.ts.map +0 -1
- package/build-types/guide/index.d.ts +0 -37
- package/build-types/guide/index.d.ts.map +0 -1
- package/build-types/guide/page-control.d.ts +0 -4
- package/build-types/guide/page-control.d.ts.map +0 -1
- package/build-types/guide/page.d.ts +0 -7
- package/build-types/guide/page.d.ts.map +0 -1
- package/build-types/guide/stories/index.d.ts +0 -9
- package/build-types/guide/stories/index.d.ts.map +0 -1
- package/build-types/guide/test/index.d.ts +0 -2
- package/build-types/guide/test/index.d.ts.map +0 -1
- package/build-types/guide/types.d.ts +0 -65
- package/build-types/guide/types.d.ts.map +0 -1
- package/build-types/h-stack/stories/e2e/index.d.ts +0 -9
- package/build-types/h-stack/stories/e2e/index.d.ts.map +0 -1
- package/build-types/higher-order/navigate-regions/index.d.ts +0 -46
- package/build-types/higher-order/navigate-regions/index.d.ts.map +0 -1
- package/build-types/higher-order/with-fallback-styles/index.d.ts +0 -44
- package/build-types/higher-order/with-fallback-styles/index.d.ts.map +0 -1
- package/build-types/higher-order/with-filters/index.d.ts +0 -89
- package/build-types/higher-order/with-filters/index.d.ts.map +0 -1
- package/build-types/higher-order/with-filters/test/index.d.ts +0 -2
- package/build-types/higher-order/with-filters/test/index.d.ts.map +0 -1
- package/build-types/higher-order/with-focus-return/index.d.ts +0 -20
- package/build-types/higher-order/with-focus-return/index.d.ts.map +0 -1
- package/build-types/higher-order/with-focus-return/test/index.d.ts +0 -2
- package/build-types/higher-order/with-focus-return/test/index.d.ts.map +0 -1
- package/build-types/higher-order/with-notices/index.d.ts +0 -37
- package/build-types/higher-order/with-notices/index.d.ts.map +0 -1
- package/build-types/higher-order/with-notices/test/index.d.ts +0 -2
- package/build-types/higher-order/with-notices/test/index.d.ts.map +0 -1
- package/build-types/higher-order/with-notices/types.d.ts +0 -34
- package/build-types/higher-order/with-notices/types.d.ts.map +0 -1
- package/build-types/higher-order/with-spoken-messages/test/index.d.ts +0 -2
- package/build-types/higher-order/with-spoken-messages/test/index.d.ts.map +0 -1
- package/build-types/icon/test/index.d.ts +0 -2
- package/build-types/icon/test/index.d.ts.map +0 -1
- package/build-types/index.d.ts +0 -129
- package/build-types/index.d.ts.map +0 -1
- package/build-types/menu-items-choice/index.d.ts +0 -38
- package/build-types/menu-items-choice/index.d.ts.map +0 -1
- package/build-types/menu-items-choice/stories/index.d.ts +0 -12
- package/build-types/menu-items-choice/stories/index.d.ts.map +0 -1
- package/build-types/menu-items-choice/types.d.ts +0 -53
- package/build-types/menu-items-choice/types.d.ts.map +0 -1
- package/build-types/navigable-container/stories/navigable-menu.d.ts +0 -12
- package/build-types/navigable-container/stories/navigable-menu.d.ts.map +0 -1
- package/build-types/navigable-container/stories/tabbable-container.d.ts +0 -12
- package/build-types/navigable-container/stories/tabbable-container.d.ts.map +0 -1
- package/build-types/navigable-container/test/navigable-menu.d.ts +0 -2
- package/build-types/navigable-container/test/navigable-menu.d.ts.map +0 -1
- package/build-types/navigable-container/test/tababble-container.d.ts +0 -2
- package/build-types/navigable-container/test/tababble-container.d.ts.map +0 -1
- package/build-types/navigable-container/types.d.ts +0 -61
- package/build-types/navigable-container/types.d.ts.map +0 -1
- package/build-types/navigation/back-button/index.d.ts +0 -5
- package/build-types/navigation/back-button/index.d.ts.map +0 -1
- package/build-types/navigation/constants.d.ts +0 -3
- package/build-types/navigation/constants.d.ts.map +0 -1
- package/build-types/navigation/context.d.ts +0 -5
- package/build-types/navigation/context.d.ts.map +0 -1
- package/build-types/navigation/group/context.d.ts +0 -8
- package/build-types/navigation/group/context.d.ts.map +0 -1
- package/build-types/navigation/group/index.d.ts +0 -5
- package/build-types/navigation/group/index.d.ts.map +0 -1
- package/build-types/navigation/index.d.ts +0 -46
- package/build-types/navigation/index.d.ts.map +0 -1
- package/build-types/navigation/item/base-content.d.ts +0 -4
- package/build-types/navigation/item/base-content.d.ts.map +0 -1
- package/build-types/navigation/item/base.d.ts +0 -4
- package/build-types/navigation/item/base.d.ts.map +0 -1
- package/build-types/navigation/item/index.d.ts +0 -5
- package/build-types/navigation/item/index.d.ts.map +0 -1
- package/build-types/navigation/item/use-navigation-tree-item.d.ts +0 -3
- package/build-types/navigation/item/use-navigation-tree-item.d.ts.map +0 -1
- package/build-types/navigation/menu/context.d.ts +0 -8
- package/build-types/navigation/menu/context.d.ts.map +0 -1
- package/build-types/navigation/menu/index.d.ts +0 -5
- package/build-types/navigation/menu/index.d.ts.map +0 -1
- package/build-types/navigation/menu/menu-title-search.d.ts +0 -4
- package/build-types/navigation/menu/menu-title-search.d.ts.map +0 -1
- package/build-types/navigation/menu/menu-title.d.ts +0 -4
- package/build-types/navigation/menu/menu-title.d.ts.map +0 -1
- package/build-types/navigation/menu/search-no-results-found.d.ts +0 -4
- package/build-types/navigation/menu/search-no-results-found.d.ts.map +0 -1
- package/build-types/navigation/menu/use-navigation-tree-menu.d.ts +0 -3
- package/build-types/navigation/menu/use-navigation-tree-menu.d.ts.map +0 -1
- package/build-types/navigation/stories/index.d.ts +0 -18
- package/build-types/navigation/stories/index.d.ts.map +0 -1
- package/build-types/navigation/stories/utils/controlled-state.d.ts +0 -7
- package/build-types/navigation/stories/utils/controlled-state.d.ts.map +0 -1
- package/build-types/navigation/stories/utils/default.d.ts +0 -10
- package/build-types/navigation/stories/utils/default.d.ts.map +0 -1
- package/build-types/navigation/stories/utils/group.d.ts +0 -10
- package/build-types/navigation/stories/utils/group.d.ts.map +0 -1
- package/build-types/navigation/stories/utils/hide-if-empty.d.ts +0 -10
- package/build-types/navigation/stories/utils/hide-if-empty.d.ts.map +0 -1
- package/build-types/navigation/stories/utils/more-examples.d.ts +0 -10
- package/build-types/navigation/stories/utils/more-examples.d.ts.map +0 -1
- package/build-types/navigation/stories/utils/search.d.ts +0 -10
- package/build-types/navigation/stories/utils/search.d.ts.map +0 -1
- package/build-types/navigation/styles/navigation-styles.d.ts +0 -58
- package/build-types/navigation/styles/navigation-styles.d.ts.map +0 -1
- package/build-types/navigation/test/index.d.ts +0 -2
- package/build-types/navigation/test/index.d.ts.map +0 -1
- package/build-types/navigation/types.d.ts +0 -267
- package/build-types/navigation/types.d.ts.map +0 -1
- package/build-types/navigation/use-create-navigation-tree.d.ts +0 -15
- package/build-types/navigation/use-create-navigation-tree.d.ts.map +0 -1
- package/build-types/navigation/use-navigation-tree-nodes.d.ts +0 -11
- package/build-types/navigation/use-navigation-tree-nodes.d.ts.map +0 -1
- package/build-types/navigation/utils.d.ts +0 -3
- package/build-types/navigation/utils.d.ts.map +0 -1
- package/build-types/palette-edit/index.d.ts +0 -37
- package/build-types/palette-edit/index.d.ts.map +0 -1
- package/build-types/palette-edit/stories/index.d.ts +0 -13
- package/build-types/palette-edit/stories/index.d.ts.map +0 -1
- package/build-types/palette-edit/styles.d.ts +0 -57
- package/build-types/palette-edit/styles.d.ts.map +0 -1
- package/build-types/palette-edit/test/index.d.ts +0 -2
- package/build-types/palette-edit/test/index.d.ts.map +0 -1
- package/build-types/palette-edit/types.d.ts +0 -122
- package/build-types/palette-edit/types.d.ts.map +0 -1
- package/build-types/panel/body.d.ts +0 -9
- package/build-types/panel/body.d.ts.map +0 -1
- package/build-types/panel/header.d.ts +0 -13
- package/build-types/panel/header.d.ts.map +0 -1
- package/build-types/panel/index.d.ts +0 -21
- package/build-types/panel/index.d.ts.map +0 -1
- package/build-types/panel/row.d.ts +0 -12
- package/build-types/panel/row.d.ts.map +0 -1
- package/build-types/panel/stories/index.d.ts +0 -19
- package/build-types/panel/stories/index.d.ts.map +0 -1
- package/build-types/panel/test/body.d.ts +0 -2
- package/build-types/panel/test/body.d.ts.map +0 -1
- package/build-types/panel/test/header.d.ts +0 -2
- package/build-types/panel/test/header.d.ts.map +0 -1
- package/build-types/panel/test/index.d.ts +0 -2
- package/build-types/panel/test/index.d.ts.map +0 -1
- package/build-types/panel/test/row.d.ts +0 -2
- package/build-types/panel/test/row.d.ts.map +0 -1
- package/build-types/panel/types.d.ts +0 -108
- package/build-types/panel/types.d.ts.map +0 -1
- package/build-types/popover/overlay-middlewares.d.ts +0 -9
- package/build-types/popover/overlay-middlewares.d.ts.map +0 -1
- package/build-types/radio-context/index.d.ts +0 -6
- package/build-types/radio-context/index.d.ts.map +0 -1
- package/build-types/spinner/styles/spinner-styles.d.ts +0 -5
- package/build-types/spinner/styles/spinner-styles.d.ts.map +0 -1
- package/build-types/swatch/index.d.ts +0 -5
- package/build-types/swatch/index.d.ts.map +0 -1
- package/build-types/swatch/types.d.ts +0 -11
- package/build-types/swatch/types.d.ts.map +0 -1
- package/build-types/toggle-group-control/component.d.ts +0 -4
- package/build-types/toggle-group-control/component.d.ts.map +0 -1
- package/build-types/toggle-group-control/styles.d.ts +0 -25
- package/build-types/toggle-group-control/styles.d.ts.map +0 -1
- package/build-types/toggle-group-control/toggle-group-control-backdrop.d.ts +0 -9
- package/build-types/toggle-group-control/toggle-group-control-backdrop.d.ts.map +0 -1
- package/build-types/toggle-group-control/toggle-group-control-button.d.ts +0 -6
- package/build-types/toggle-group-control/toggle-group-control-button.d.ts.map +0 -1
- package/build-types/toggle-group-control/toggle-group-control-context.d.ts +0 -9
- package/build-types/toggle-group-control/toggle-group-control-context.d.ts.map +0 -1
- package/build-types/toggle-group-control/toggle-group-control-option/styles.d.ts +0 -15
- package/build-types/toggle-group-control/toggle-group-control-option/styles.d.ts.map +0 -1
- package/build-types/toggle-group-control/toggle-group-control-option.d.ts +0 -4
- package/build-types/toggle-group-control/toggle-group-control-option.d.ts.map +0 -1
- package/build-types/toolbar/index.d.ts +0 -7
- package/build-types/toolbar/index.d.ts.map +0 -1
- package/build-types/toolbar/stories/index.d.ts +0 -14
- package/build-types/toolbar/stories/index.d.ts.map +0 -1
- package/build-types/toolbar/test/index.d.ts +0 -2
- package/build-types/toolbar/test/index.d.ts.map +0 -1
- package/build-types/toolbar/test/toolbar-group.d.ts +0 -2
- package/build-types/toolbar/test/toolbar-group.d.ts.map +0 -1
- package/build-types/toolbar/toolbar/index.d.ts +0 -25
- package/build-types/toolbar/toolbar/index.d.ts.map +0 -1
- package/build-types/toolbar/toolbar/toolbar-container.d.ts +0 -5
- package/build-types/toolbar/toolbar/toolbar-container.d.ts.map +0 -1
- package/build-types/toolbar/toolbar/types.d.ts +0 -15
- package/build-types/toolbar/toolbar/types.d.ts.map +0 -1
- package/build-types/toolbar/toolbar-button/index.d.ts +0 -166
- package/build-types/toolbar/toolbar-button/index.d.ts.map +0 -1
- package/build-types/toolbar/toolbar-button/toolbar-button-container.d.ts +0 -8
- package/build-types/toolbar/toolbar-button/toolbar-button-container.d.ts.map +0 -1
- package/build-types/toolbar/toolbar-button/types.d.ts +0 -45
- package/build-types/toolbar/toolbar-button/types.d.ts.map +0 -1
- package/build-types/toolbar/toolbar-context/index.d.ts +0 -8
- package/build-types/toolbar/toolbar-context/index.d.ts.map +0 -1
- package/build-types/toolbar/toolbar-dropdown-menu/index.d.ts +0 -3
- package/build-types/toolbar/toolbar-dropdown-menu/index.d.ts.map +0 -1
- package/build-types/toolbar/toolbar-group/index.d.ts +0 -39
- package/build-types/toolbar/toolbar-group/index.d.ts.map +0 -1
- package/build-types/toolbar/toolbar-group/toolbar-group-collapsed.d.ts +0 -7
- package/build-types/toolbar/toolbar-group/toolbar-group-collapsed.d.ts.map +0 -1
- package/build-types/toolbar/toolbar-group/toolbar-group-container.d.ts +0 -7
- package/build-types/toolbar/toolbar-group/toolbar-group-container.d.ts.map +0 -1
- package/build-types/toolbar/toolbar-item/index.d.ts +0 -9
- package/build-types/toolbar/toolbar-item/index.d.ts.map +0 -1
- package/build-types/tools-panel/stories/index.d.ts +0 -17
- package/build-types/tools-panel/stories/index.d.ts.map +0 -1
- package/build-types/tools-panel/test/index.d.ts +0 -2
- package/build-types/tools-panel/test/index.d.ts.map +0 -1
- package/build-types/tree-grid/cell.d.ts +0 -13
- package/build-types/tree-grid/cell.d.ts.map +0 -1
- package/build-types/tree-grid/index.d.ts +0 -70
- package/build-types/tree-grid/index.d.ts.map +0 -1
- package/build-types/tree-grid/item.d.ts +0 -12
- package/build-types/tree-grid/item.d.ts.map +0 -1
- package/build-types/tree-grid/roving-tab-index-context.d.ts +0 -10
- package/build-types/tree-grid/roving-tab-index-context.d.ts.map +0 -1
- package/build-types/tree-grid/roving-tab-index-item.d.ts +0 -5
- package/build-types/tree-grid/roving-tab-index-item.d.ts.map +0 -1
- package/build-types/tree-grid/roving-tab-index.d.ts +0 -10
- package/build-types/tree-grid/roving-tab-index.d.ts.map +0 -1
- package/build-types/tree-grid/row.d.ts +0 -12
- package/build-types/tree-grid/row.d.ts.map +0 -1
- package/build-types/tree-grid/stories/index.d.ts +0 -13
- package/build-types/tree-grid/stories/index.d.ts.map +0 -1
- package/build-types/tree-grid/test/cell.d.ts +0 -2
- package/build-types/tree-grid/test/cell.d.ts.map +0 -1
- package/build-types/tree-grid/test/index.d.ts +0 -2
- package/build-types/tree-grid/test/index.d.ts.map +0 -1
- package/build-types/tree-grid/test/roving-tab-index-item.d.ts +0 -2
- package/build-types/tree-grid/test/roving-tab-index-item.d.ts.map +0 -1
- package/build-types/tree-grid/test/roving-tab-index.d.ts +0 -2
- package/build-types/tree-grid/test/roving-tab-index.d.ts.map +0 -1
- package/build-types/tree-grid/test/row.d.ts +0 -2
- package/build-types/tree-grid/test/row.d.ts.map +0 -1
- package/build-types/tree-grid/types.d.ts +0 -116
- package/build-types/tree-grid/types.d.ts.map +0 -1
- package/build-types/ui/color-picker/color-display.d.ts +0 -13
- package/build-types/ui/color-picker/color-display.d.ts.map +0 -1
- package/build-types/ui/color-picker/color-input.d.ts +0 -13
- package/build-types/ui/color-picker/color-input.d.ts.map +0 -1
- package/build-types/ui/color-picker/component.d.ts +0 -12
- package/build-types/ui/color-picker/component.d.ts.map +0 -1
- package/build-types/ui/color-picker/hex-input.d.ts +0 -12
- package/build-types/ui/color-picker/hex-input.d.ts.map +0 -1
- package/build-types/ui/color-picker/hsl-input.d.ts +0 -12
- package/build-types/ui/color-picker/hsl-input.d.ts.map +0 -1
- package/build-types/ui/color-picker/index.d.ts +0 -2
- package/build-types/ui/color-picker/index.d.ts.map +0 -1
- package/build-types/ui/color-picker/input-with-slider.d.ts +0 -11
- package/build-types/ui/color-picker/input-with-slider.d.ts.map +0 -1
- package/build-types/ui/color-picker/legacy-adapter.d.ts +0 -5
- package/build-types/ui/color-picker/legacy-adapter.d.ts.map +0 -1
- package/build-types/ui/color-picker/picker.d.ts +0 -12
- package/build-types/ui/color-picker/picker.d.ts.map +0 -1
- package/build-types/ui/color-picker/rgb-input.d.ts +0 -12
- package/build-types/ui/color-picker/rgb-input.d.ts.map +0 -1
- package/build-types/ui/color-picker/styles.d.ts +0 -76
- package/build-types/ui/color-picker/styles.d.ts.map +0 -1
- package/build-types/ui/color-picker/types.d.ts +0 -2
- package/build-types/ui/color-picker/types.d.ts.map +0 -1
- package/build-types/ui/color-picker/use-deprecated-props.d.ts +0 -50
- package/build-types/ui/color-picker/use-deprecated-props.d.ts.map +0 -1
- package/build-types/ui/utils/create-component.d.ts +0 -21
- package/build-types/ui/utils/create-component.d.ts.map +0 -1
- package/build-types/utils/hooks/use-combined-ref.d.ts +0 -8
- package/build-types/utils/hooks/use-combined-ref.d.ts.map +0 -1
- package/build-types/utils/hooks/use-jump-step.d.ts +0 -25
- package/build-types/utils/hooks/use-jump-step.d.ts.map +0 -1
- package/build-types/utils/keyboard.d.ts +0 -12
- package/build-types/utils/keyboard.d.ts.map +0 -1
- package/build-types/utils/use-deprecated-props.d.ts +0 -9
- package/build-types/utils/use-deprecated-props.d.ts.map +0 -1
- package/build-types/v-stack/stories/e2e/index.d.ts +0 -9
- package/build-types/v-stack/stories/e2e/index.d.ts.map +0 -1
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { BoxUnitControlProps } from '../types';
|
|
3
|
-
export declare const Root: import("@emotion/styled").StyledComponent<{
|
|
4
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
6
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
-
export declare const Header: import("@emotion/styled").StyledComponent<import("../../flex/types").FlexProps & import("react").RefAttributes<any> & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>>, "as" | keyof import("react").RefAttributes<any> | keyof import("../../flex/types").FlexProps> & {
|
|
8
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
9
|
-
} & {
|
|
10
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
11
|
-
}, {}, {}>;
|
|
12
|
-
export declare const HeaderControlWrapper: import("@emotion/styled").StyledComponent<import("../../flex/types").FlexProps & import("react").RefAttributes<any> & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>>, "as" | keyof import("react").RefAttributes<any> | keyof import("../../flex/types").FlexProps> & {
|
|
13
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
14
|
-
} & {
|
|
15
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
-
}, {}, {}>;
|
|
17
|
-
export declare const UnitControlWrapper: import("@emotion/styled").StyledComponent<{
|
|
18
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
-
as?: import("react").ElementType<any> | undefined;
|
|
20
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
21
|
-
export declare const LayoutContainer: import("@emotion/styled").StyledComponent<import("../../flex/types").FlexProps & import("react").RefAttributes<any> & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>>, "as" | keyof import("react").RefAttributes<any> | keyof import("../../flex/types").FlexProps> & {
|
|
22
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
23
|
-
} & {
|
|
24
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
25
|
-
}, {}, {}>;
|
|
26
|
-
export declare const Layout: import("@emotion/styled").StyledComponent<import("../../flex/types").FlexProps & import("react").RefAttributes<any> & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>>, "as" | keyof import("react").RefAttributes<any> | keyof import("../../flex/types").FlexProps> & {
|
|
27
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
28
|
-
} & {
|
|
29
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
30
|
-
}, {}, {}>;
|
|
31
|
-
export declare const UnitControl: import("@emotion/styled").StyledComponent<Omit<import("../../unit-control/types").UnitSelectControlProps, "unit"> & Omit<import("../../number-control/types").NumberControlProps, "type" | "suffix" | "spinControls"> & {
|
|
32
|
-
disableUnits?: boolean | undefined;
|
|
33
|
-
isResetValueOnUnitChange?: boolean | undefined;
|
|
34
|
-
onUnitChange?: import("../../unit-control/types").UnitControlOnChangeCallback | undefined;
|
|
35
|
-
unit?: string | undefined;
|
|
36
|
-
value?: string | number | undefined;
|
|
37
|
-
onBlur?: import("react").FocusEventHandler<HTMLInputElement | HTMLSelectElement> | undefined;
|
|
38
|
-
onFocus?: import("react").FocusEventHandler<HTMLInputElement | HTMLSelectElement> | undefined;
|
|
39
|
-
} & Omit<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof import("react").InputHTMLAttributes<HTMLInputElement>>, "defaultValue" | "onChange" | "value" | "name" | "color" | "height" | "translate" | "width" | "hidden" | "size" | "style" | "help" | "multiple" | "disabled" | "key" | "children" | "form" | "label" | "slot" | "title" | "pattern" | "as" | "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" | "list" | "step" | "max" | "min" | "crossOrigin" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "autoComplete" | "maxLength" | "minLength" | "readOnly" | "required" | "src" | "alt" | "accept" | "capture" | "checked" | "enterKeyHint" | "__next36pxDefaultSize" | "__unstableInputWidth" | "hideLabelFromVision" | "labelPosition" | "dragDirection" | "dragThreshold" | "isDragEnabled" | "isPressEnterToChange" | "onValidate" | "__unstableStateReducer" | "hideHTMLArrows" | "isShiftStepEnabled" | "shiftStep" | "disableUnits" | "unit" | "isUnitSelectTabbable" | "units" | "isResetValueOnUnitChange" | "onUnitChange"> & import("react").RefAttributes<any> & {
|
|
40
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
41
|
-
} & Pick<BoxUnitControlProps, "isFirst" | "isLast" | "isOnly">, {}, {}>;
|
|
42
|
-
//# sourceMappingURL=box-control-styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"box-control-styles.d.ts","sourceRoot":"","sources":["../../../src/box-control/styles/box-control-styles.ts"],"names":[],"mappings":";AAWA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,eAAO,MAAM,IAAI;;;yGAKhB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;UAElB,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;UAGhC,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;yGAG9B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;UAG3B,CAAC;AAEF,eAAO,MAAM,MAAM;;;;UAKlB,CAAC;AA+BF,eAAO,MAAM,WAAW;;;;;;;;;;uEAIvB,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Container: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
-
} & {
|
|
6
|
-
isPositionAbsolute: boolean;
|
|
7
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
|
-
export declare const Side: import("@emotion/styled").StyledComponent<{
|
|
9
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
-
as?: import("react").ElementType<any> | undefined;
|
|
11
|
-
} & {
|
|
12
|
-
isActive: boolean;
|
|
13
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
14
|
-
export declare const TopView: import("@emotion/styled").StyledComponent<{
|
|
15
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
-
as?: import("react").ElementType<any> | undefined;
|
|
17
|
-
} & {
|
|
18
|
-
isActive: boolean;
|
|
19
|
-
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
20
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
21
|
-
}, {}, {}>;
|
|
22
|
-
export declare const RightView: import("@emotion/styled").StyledComponent<{
|
|
23
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
24
|
-
as?: import("react").ElementType<any> | undefined;
|
|
25
|
-
} & {
|
|
26
|
-
isActive: boolean;
|
|
27
|
-
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
28
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
29
|
-
}, {}, {}>;
|
|
30
|
-
export declare const BottomView: import("@emotion/styled").StyledComponent<{
|
|
31
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
32
|
-
as?: import("react").ElementType<any> | undefined;
|
|
33
|
-
} & {
|
|
34
|
-
isActive: boolean;
|
|
35
|
-
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
36
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
37
|
-
}, {}, {}>;
|
|
38
|
-
export declare const LeftView: import("@emotion/styled").StyledComponent<{
|
|
39
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
40
|
-
as?: import("react").ElementType<any> | undefined;
|
|
41
|
-
} & {
|
|
42
|
-
isActive: boolean;
|
|
43
|
-
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
44
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
45
|
-
}, {}, {}>;
|
|
46
|
-
//# sourceMappingURL=box-control-visualizer-styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"box-control-visualizer-styles.d.ts","sourceRoot":"","sources":["../../../src/box-control/styles/box-control-visualizer-styles.ts"],"names":[],"mappings":";AA6BA,eAAO,MAAM,SAAS;;;;wBAfD,OAAO;yGAmB3B,CAAC;AAEF,eAAO,MAAM,IAAI;;;;cAUe,OAAO;yGAKtC,CAAC;AAEF,eAAO,MAAM,OAAO;;;;cAPY,OAAO;;;UAWtC,CAAC;AAEF,eAAO,MAAM,SAAS;;;;cAbU,OAAO;;;UAiBtC,CAAC;AAEF,eAAO,MAAM,UAAU;;;;cAnBS,OAAO;;;UAuBtC,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;cAzBW,OAAO;;;UA6BtC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/box-control/test/index.tsx"],"names":[],"mappings":""}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* External dependencies
|
|
4
|
-
*/
|
|
5
|
-
import type { useHover } from '@use-gesture/react';
|
|
6
|
-
/**
|
|
7
|
-
* Internal dependencies
|
|
8
|
-
*/
|
|
9
|
-
import type { UnitControlProps } from '../unit-control/types';
|
|
10
|
-
import type { LABELS } from './utils';
|
|
11
|
-
export type BoxControlValue = {
|
|
12
|
-
top?: string;
|
|
13
|
-
right?: string;
|
|
14
|
-
bottom?: string;
|
|
15
|
-
left?: string;
|
|
16
|
-
};
|
|
17
|
-
type UnitControlPassthroughProps = Omit<UnitControlProps, 'label' | 'onChange' | 'onFocus' | 'onMouseOver' | 'onMouseOut' | 'units'>;
|
|
18
|
-
export type BoxControlProps = Pick<UnitControlProps, 'onMouseOver' | 'onMouseOut' | 'units'> & {
|
|
19
|
-
/**
|
|
20
|
-
* If this property is true, a button to reset the box control is rendered.
|
|
21
|
-
*
|
|
22
|
-
* @default true
|
|
23
|
-
*/
|
|
24
|
-
allowReset?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* The id to use as a base for the unique HTML id attribute of the control.
|
|
27
|
-
*/
|
|
28
|
-
id?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Props for the internal `UnitControl` components.
|
|
31
|
-
*
|
|
32
|
-
* @default `{ min: 0 }`
|
|
33
|
-
*/
|
|
34
|
-
inputProps?: UnitControlPassthroughProps;
|
|
35
|
-
/**
|
|
36
|
-
* Heading label for the control.
|
|
37
|
-
*
|
|
38
|
-
* @default `__( 'Box Control' )`
|
|
39
|
-
*/
|
|
40
|
-
label?: string;
|
|
41
|
-
/**
|
|
42
|
-
* A callback function when an input value changes.
|
|
43
|
-
*/
|
|
44
|
-
onChange: (next: BoxControlValue) => void;
|
|
45
|
-
/**
|
|
46
|
-
* The `top`, `right`, `bottom`, and `left` box dimension values to use when the control is reset.
|
|
47
|
-
*
|
|
48
|
-
* @default `{ top: undefined, right: undefined, bottom: undefined, left: undefined }`
|
|
49
|
-
*/
|
|
50
|
-
resetValues?: BoxControlValue;
|
|
51
|
-
/**
|
|
52
|
-
* Collection of sides to allow control of. If omitted or empty, all sides will be available.
|
|
53
|
-
*/
|
|
54
|
-
sides?: readonly (keyof BoxControlValue | 'horizontal' | 'vertical')[];
|
|
55
|
-
/**
|
|
56
|
-
* If this property is true, when the box control is unlinked, vertical and horizontal controls
|
|
57
|
-
* can be used instead of updating individual sides.
|
|
58
|
-
*
|
|
59
|
-
* @default false
|
|
60
|
-
*/
|
|
61
|
-
splitOnAxis?: boolean;
|
|
62
|
-
/**
|
|
63
|
-
* The current values of the control, expressed as an object of `top`, `right`, `bottom`, and `left` values.
|
|
64
|
-
*/
|
|
65
|
-
values?: BoxControlValue;
|
|
66
|
-
};
|
|
67
|
-
export type BoxControlInputControlProps = UnitControlPassthroughProps & {
|
|
68
|
-
onChange?: (nextValues: BoxControlValue) => void;
|
|
69
|
-
onFocus?: (_event: React.FocusEvent<HTMLInputElement>, { side }: {
|
|
70
|
-
side: keyof typeof LABELS;
|
|
71
|
-
}) => void;
|
|
72
|
-
onHoverOff?: (sides: Partial<Record<keyof BoxControlValue, boolean>>) => void;
|
|
73
|
-
onHoverOn?: (sides: Partial<Record<keyof BoxControlValue, boolean>>) => void;
|
|
74
|
-
selectedUnits: BoxControlValue;
|
|
75
|
-
setSelectedUnits: React.Dispatch<React.SetStateAction<BoxControlValue>>;
|
|
76
|
-
sides: BoxControlProps['sides'];
|
|
77
|
-
values: BoxControlValue;
|
|
78
|
-
};
|
|
79
|
-
export type BoxUnitControlProps = UnitControlPassthroughProps & Pick<UnitControlProps, 'onChange' | 'onFocus'> & {
|
|
80
|
-
isFirst?: boolean;
|
|
81
|
-
isLast?: boolean;
|
|
82
|
-
isOnly?: boolean;
|
|
83
|
-
label?: string;
|
|
84
|
-
onHoverOff?: (event: ReturnType<typeof useHover>['event'], state: Omit<ReturnType<typeof useHover>, 'event'>) => void;
|
|
85
|
-
onHoverOn?: (event: ReturnType<typeof useHover>['event'], state: Omit<ReturnType<typeof useHover>, 'event'>) => void;
|
|
86
|
-
};
|
|
87
|
-
export type BoxControlIconProps = {
|
|
88
|
-
/**
|
|
89
|
-
* @default 24
|
|
90
|
-
*/
|
|
91
|
-
size?: number;
|
|
92
|
-
/**
|
|
93
|
-
* @default 'all'
|
|
94
|
-
*/
|
|
95
|
-
side?: keyof typeof LABELS;
|
|
96
|
-
sides?: BoxControlProps['sides'];
|
|
97
|
-
};
|
|
98
|
-
export {};
|
|
99
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/box-control/types.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD;;GAEG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEtC,MAAM,MAAM,eAAe,GAAG;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,2BAA2B,GAAG,IAAI,CACtC,gBAAgB,EAChB,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,aAAa,GAAG,YAAY,GAAG,OAAO,CACzE,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,IAAI,CACjC,gBAAgB,EAChB,aAAa,GAAG,YAAY,GAAG,OAAO,CACtC,GAAG;IACH;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,UAAU,CAAC,EAAE,2BAA2B,CAAC;IACzC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,CAAE,IAAI,EAAE,eAAe,KAAM,IAAI,CAAC;IAC5C;;;;OAIG;IACH,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAE,MAAM,eAAe,GAAG,YAAY,GAAG,UAAU,CAAE,EAAE,CAAC;IACzE;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,2BAA2B,GAAG;IACvE,QAAQ,CAAC,EAAE,CAAE,UAAU,EAAE,eAAe,KAAM,IAAI,CAAC;IACnD,OAAO,CAAC,EAAE,CACT,MAAM,EAAE,KAAK,CAAC,UAAU,CAAE,gBAAgB,CAAE,EAC5C,EAAE,IAAI,EAAE,EAAE;QAAE,IAAI,EAAE,MAAM,OAAO,MAAM,CAAA;KAAE,KACnC,IAAI,CAAC;IACV,UAAU,CAAC,EAAE,CACZ,KAAK,EAAE,OAAO,CAAE,MAAM,CAAE,MAAM,eAAe,EAAE,OAAO,CAAE,CAAE,KACtD,IAAI,CAAC;IACV,SAAS,CAAC,EAAE,CACX,KAAK,EAAE,OAAO,CAAE,MAAM,CAAE,MAAM,eAAe,EAAE,OAAO,CAAE,CAAE,KACtD,IAAI,CAAC;IACV,aAAa,EAAE,eAAe,CAAC;IAC/B,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAE,KAAK,CAAC,cAAc,CAAE,eAAe,CAAE,CAAE,CAAC;IAC5E,KAAK,EAAE,eAAe,CAAE,OAAO,CAAE,CAAC;IAClC,MAAM,EAAE,eAAe,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,2BAA2B,GAC5D,IAAI,CAAE,gBAAgB,EAAE,UAAU,GAAG,SAAS,CAAE,GAAG;IAClD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,CACZ,KAAK,EAAE,UAAU,CAAE,OAAO,QAAQ,CAAE,CAAE,OAAO,CAAE,EAC/C,KAAK,EAAE,IAAI,CAAE,UAAU,CAAE,OAAO,QAAQ,CAAE,EAAE,OAAO,CAAE,KACjD,IAAI,CAAC;IACV,SAAS,CAAC,EAAE,CACX,KAAK,EAAE,UAAU,CAAE,OAAO,QAAQ,CAAE,CAAE,OAAO,CAAE,EAC/C,KAAK,EAAE,IAAI,CAAE,UAAU,CAAE,OAAO,QAAQ,CAAE,EAAE,OAAO,CAAE,KACjD,IAAI,CAAC;CACV,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,OAAO,MAAM,CAAC;IAC3B,KAAK,CAAC,EAAE,eAAe,CAAE,OAAO,CAAE,CAAC;CACnC,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { BoxUnitControlProps } from './types';
|
|
3
|
-
export default function BoxUnitControl({ isFirst, isLast, isOnly, onHoverOn, onHoverOff, label, value, ...props }: BoxUnitControlProps): JSX.Element;
|
|
4
|
-
//# sourceMappingURL=unit-control.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unit-control.d.ts","sourceRoot":"","sources":["../../src/box-control/unit-control.tsx"],"names":[],"mappings":";AAUA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAInD,MAAM,CAAC,OAAO,UAAU,cAAc,CAAE,EACvC,OAAO,EACP,MAAM,EACN,MAAM,EACN,SAAgB,EAChB,UAAiB,EACjB,KAAK,EACL,KAAK,EACL,GAAG,KAAK,EACR,EAAE,mBAAmB,eA0BrB"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import type { BoxControlProps, BoxControlValue } from './types';
|
|
2
|
-
export declare const LABELS: {
|
|
3
|
-
all: string;
|
|
4
|
-
top: string;
|
|
5
|
-
bottom: string;
|
|
6
|
-
left: string;
|
|
7
|
-
right: string;
|
|
8
|
-
mixed: string;
|
|
9
|
-
vertical: string;
|
|
10
|
-
horizontal: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const DEFAULT_VALUES: {
|
|
13
|
-
top: undefined;
|
|
14
|
-
right: undefined;
|
|
15
|
-
bottom: undefined;
|
|
16
|
-
left: undefined;
|
|
17
|
-
};
|
|
18
|
-
export declare const ALL_SIDES: readonly ["top", "right", "bottom", "left"];
|
|
19
|
-
/**
|
|
20
|
-
* Gets the 'all' input value and unit from values data.
|
|
21
|
-
*
|
|
22
|
-
* @param values Box values.
|
|
23
|
-
* @param selectedUnits Box units.
|
|
24
|
-
* @param availableSides Available box sides to evaluate.
|
|
25
|
-
*
|
|
26
|
-
* @return A value + unit for the 'all' input.
|
|
27
|
-
*/
|
|
28
|
-
export declare function getAllValue(values?: BoxControlValue, selectedUnits?: BoxControlValue, availableSides?: BoxControlProps['sides']): string;
|
|
29
|
-
/**
|
|
30
|
-
* Determine the most common unit selection to use as a fallback option.
|
|
31
|
-
*
|
|
32
|
-
* @param selectedUnits Current unit selections for individual sides.
|
|
33
|
-
* @return Most common unit selection.
|
|
34
|
-
*/
|
|
35
|
-
export declare function getAllUnitFallback(selectedUnits?: BoxControlValue): string | undefined;
|
|
36
|
-
/**
|
|
37
|
-
* Checks to determine if values are mixed.
|
|
38
|
-
*
|
|
39
|
-
* @param values Box values.
|
|
40
|
-
* @param selectedUnits Box units.
|
|
41
|
-
* @param sides Available box sides to evaluate.
|
|
42
|
-
*
|
|
43
|
-
* @return Whether values are mixed.
|
|
44
|
-
*/
|
|
45
|
-
export declare function isValuesMixed(values?: BoxControlValue, selectedUnits?: BoxControlValue, sides?: BoxControlProps['sides']): boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Checks to determine if values are defined.
|
|
48
|
-
*
|
|
49
|
-
* @param values Box values.
|
|
50
|
-
*
|
|
51
|
-
* @return Whether values are mixed.
|
|
52
|
-
*/
|
|
53
|
-
export declare function isValuesDefined(values?: BoxControlValue): boolean;
|
|
54
|
-
/**
|
|
55
|
-
* Get initial selected side, factoring in whether the sides are linked,
|
|
56
|
-
* and whether the vertical / horizontal directions are grouped via splitOnAxis.
|
|
57
|
-
*
|
|
58
|
-
* @param isLinked Whether the box control's fields are linked.
|
|
59
|
-
* @param splitOnAxis Whether splitting by horizontal or vertical axis.
|
|
60
|
-
* @return The initial side.
|
|
61
|
-
*/
|
|
62
|
-
export declare function getInitialSide(isLinked: boolean, splitOnAxis: boolean): "top" | "all" | "vertical";
|
|
63
|
-
/**
|
|
64
|
-
* Normalizes provided sides configuration to an array containing only top,
|
|
65
|
-
* right, bottom and left. This essentially just maps `horizontal` or `vertical`
|
|
66
|
-
* to their appropriate sides to facilitate correctly determining value for
|
|
67
|
-
* all input control.
|
|
68
|
-
*
|
|
69
|
-
* @param sides Available sides for box control.
|
|
70
|
-
* @return Normalized sides configuration.
|
|
71
|
-
*/
|
|
72
|
-
export declare function normalizeSides(sides: BoxControlProps['sides']): readonly ["top", "right", "bottom", "left"] | (keyof BoxControlValue)[];
|
|
73
|
-
/**
|
|
74
|
-
* Applies a value to an object representing top, right, bottom and left sides
|
|
75
|
-
* while taking into account any custom side configuration.
|
|
76
|
-
*
|
|
77
|
-
* @param currentValues The current values for each side.
|
|
78
|
-
* @param newValue The value to apply to the sides object.
|
|
79
|
-
* @param sides Array defining valid sides.
|
|
80
|
-
*
|
|
81
|
-
* @return Object containing the updated values for each side.
|
|
82
|
-
*/
|
|
83
|
-
export declare function applyValueToSides(currentValues: BoxControlValue, newValue?: string, sides?: BoxControlProps['sides']): BoxControlValue;
|
|
84
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/box-control/utils.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAEhE,eAAO,MAAM,MAAM;;;;;;;;;CASlB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;CAK1B,CAAC;AAEF,eAAO,MAAM,SAAS,6CAAgD,CAAC;AAmBvE;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAC1B,MAAM,GAAE,eAAoB,EAC5B,aAAa,CAAC,EAAE,eAAe,EAC/B,cAAc,GAAE,eAAe,CAAE,OAAO,CAAc,UAuCtD;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAE,aAAa,CAAC,EAAE,eAAe,sBAQlE;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAC5B,MAAM,GAAE,eAAoB,EAC5B,aAAa,CAAC,EAAE,eAAe,EAC/B,KAAK,GAAE,eAAe,CAAE,OAAO,CAAc,WAM7C;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAE,MAAM,CAAC,EAAE,eAAe,WAUxD;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,8BAQtE;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAE,KAAK,EAAE,eAAe,CAAE,OAAO,CAAE,2EAiBhE;AAED;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAChC,aAAa,EAAE,eAAe,EAC9B,QAAQ,CAAC,EAAE,MAAM,EACjB,KAAK,CAAC,EAAE,eAAe,CAAE,OAAO,CAAE,GAChC,eAAe,CAoBjB"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* External dependencies
|
|
3
|
-
*/
|
|
4
|
-
import type { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
5
|
-
/**
|
|
6
|
-
* Internal dependencies
|
|
7
|
-
*/
|
|
8
|
-
import { default as CircularOptionPicker } from '..';
|
|
9
|
-
declare const meta: ComponentMeta<typeof CircularOptionPicker>;
|
|
10
|
-
export default meta;
|
|
11
|
-
export declare const Default: ComponentStory<typeof CircularOptionPicker>;
|
|
12
|
-
export declare const WithButtonAction: ComponentStory<typeof CircularOptionPicker>;
|
|
13
|
-
export declare const WithDropdownLinkAction: ComponentStory<typeof CircularOptionPicker>;
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/circular-option-picker/stories/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAKtE;;GAEG;AACH,OAAO,EACN,OAAO,IAAI,oBAAoB,EAI/B,MAAM,IAAI,CAAC;AAOZ,QAAA,MAAM,IAAI,EAAE,aAAa,CAAE,OAAO,oBAAoB,CAmCrD,CAAC;AACF,eAAe,IAAI,CAAC;AAiDpB,eAAO,MAAM,OAAO,6CAAsB,CAAC;AAG3C,eAAO,MAAM,gBAAgB,6CAAsB,CAAC;AAOpD,eAAO,MAAM,sBAAsB,6CAAsB,CAAC"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* External dependencies
|
|
3
|
-
*/
|
|
4
|
-
import type { ReactNode } from 'react';
|
|
5
|
-
/**
|
|
6
|
-
* WordPress dependencies
|
|
7
|
-
*/
|
|
8
|
-
import type { Icon } from '@wordpress/icons';
|
|
9
|
-
/**
|
|
10
|
-
* Internal dependencies
|
|
11
|
-
*/
|
|
12
|
-
import type { ButtonAsButtonProps } from '../button/types';
|
|
13
|
-
import type Dropdown from '../dropdown';
|
|
14
|
-
import type { WordPressComponentProps } from '../ui/context';
|
|
15
|
-
export type CircularOptionPickerProps = {
|
|
16
|
-
/**
|
|
17
|
-
* A CSS class to apply to the wrapper element.
|
|
18
|
-
*/
|
|
19
|
-
className?: string;
|
|
20
|
-
/**
|
|
21
|
-
* The action(s) to be rendered after the options,
|
|
22
|
-
* such as a 'clear' button as seen in `ColorPalette`.
|
|
23
|
-
* Usually a `CircularOptionPicker.ButtonAction` or
|
|
24
|
-
* `CircularOptionPicker.DropdownLinkAction` component.
|
|
25
|
-
*/
|
|
26
|
-
actions?: ReactNode;
|
|
27
|
-
/**
|
|
28
|
-
* The options to be rendered, such as color swatches.
|
|
29
|
-
* Usually a `CircularOptionPicker.Option` component.
|
|
30
|
-
*/
|
|
31
|
-
options: ReactNode;
|
|
32
|
-
/**
|
|
33
|
-
* The child elements.
|
|
34
|
-
*/
|
|
35
|
-
children?: ReactNode;
|
|
36
|
-
};
|
|
37
|
-
export type DropdownLinkActionProps = {
|
|
38
|
-
buttonProps?: Omit<WordPressComponentProps<ButtonAsButtonProps, 'button', false>, 'children'>;
|
|
39
|
-
linkText: string;
|
|
40
|
-
dropdownProps: Omit<React.ComponentProps<typeof Dropdown>, 'className' | 'renderToggle'>;
|
|
41
|
-
className?: string;
|
|
42
|
-
};
|
|
43
|
-
export type OptionProps = Omit<WordPressComponentProps<ButtonAsButtonProps, 'button', false>, 'isPressed' | 'className'> & {
|
|
44
|
-
className?: string;
|
|
45
|
-
tooltipText?: string;
|
|
46
|
-
isSelected?: boolean;
|
|
47
|
-
selectedIconProps?: Omit<React.ComponentProps<typeof Icon>, 'icon' | 'size'>;
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/circular-option-picker/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C;;GAEG;AACH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,QAAQ,MAAM,aAAa,CAAC;AACxC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAE7D,MAAM,MAAM,yBAAyB,GAAG;IACvC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,OAAO,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACrC,WAAW,CAAC,EAAE,IAAI,CACjB,uBAAuB,CAAE,mBAAmB,EAAE,QAAQ,EAAE,KAAK,CAAE,EAC/D,UAAU,CACV,CAAC;IACF,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,IAAI,CAClB,KAAK,CAAC,cAAc,CAAE,OAAO,QAAQ,CAAE,EACvC,WAAW,GAAG,cAAc,CAC5B,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,IAAI,CAC7B,uBAAuB,CAAE,mBAAmB,EAAE,QAAQ,EAAE,KAAK,CAAE,EAC/D,WAAW,GAAG,WAAW,CACzB,GAAG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,iBAAiB,CAAC,EAAE,IAAI,CACvB,KAAK,CAAC,cAAc,CAAE,OAAO,IAAI,CAAE,EACnC,MAAM,GAAG,MAAM,CACf,CAAC;CACF,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* External dependencies
|
|
4
|
-
*/
|
|
5
|
-
import type { Colord } from 'colord';
|
|
6
|
-
import type { ColorType } from './types';
|
|
7
|
-
interface ColorDisplayProps {
|
|
8
|
-
color: Colord;
|
|
9
|
-
colorType: ColorType;
|
|
10
|
-
enableAlpha: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const ColorDisplay: ({ color, colorType, enableAlpha, }: ColorDisplayProps) => JSX.Element;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=color-display.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"color-display.d.ts","sourceRoot":"","sources":["../../src/color-picker/color-display.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAerC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAIzC,UAAU,iBAAiB;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;CACrB;AA+ED,eAAO,MAAM,YAAY,uCAItB,iBAAiB,gBA2DnB,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* External dependencies
|
|
4
|
-
*/
|
|
5
|
-
import type { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
6
|
-
/**
|
|
7
|
-
* Internal dependencies
|
|
8
|
-
*/
|
|
9
|
-
import { ColorPicker } from '../component';
|
|
10
|
-
declare const meta: ComponentMeta<typeof ColorPicker>;
|
|
11
|
-
export default meta;
|
|
12
|
-
export declare const Default: ComponentStory<import("../../ui/context").WordPressComponent<import("react").ElementType<any>, {
|
|
13
|
-
enableAlpha?: boolean | undefined;
|
|
14
|
-
color?: string | undefined;
|
|
15
|
-
onChange?: ((color: string) => void) | undefined;
|
|
16
|
-
defaultValue?: string | undefined;
|
|
17
|
-
copyFormat?: import("../types").ColorType | undefined;
|
|
18
|
-
} & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>>, "defaultValue" | "onChange" | "color" | "children" | "as" | "enableAlpha" | "copyFormat"> & import("react").RefAttributes<any>, boolean>>;
|
|
19
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/color-picker/stories/index.tsx"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOtE;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,QAAA,MAAM,IAAI,EAAE,aAAa,CAAE,OAAO,WAAW,CAc5C,CAAC;AACF,eAAe,IAAI,CAAC;AAoBpB,eAAO,MAAM,OAAO;;;;;;yTAAsB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/color-picker/test/index.tsx"],"names":[],"mappings":""}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { ComboboxControlProps } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* `ComboboxControl` is an enhanced version of a [`SelectControl`](../select-control/README.md) with the addition of
|
|
5
|
-
* being able to search for options using a search input.
|
|
6
|
-
*
|
|
7
|
-
* ```jsx
|
|
8
|
-
* import { ComboboxControl } from '@wordpress/components';
|
|
9
|
-
* import { useState } from '@wordpress/element';
|
|
10
|
-
*
|
|
11
|
-
* const options = [
|
|
12
|
-
* {
|
|
13
|
-
* value: 'small',
|
|
14
|
-
* label: 'Small',
|
|
15
|
-
* },
|
|
16
|
-
* {
|
|
17
|
-
* value: 'normal',
|
|
18
|
-
* label: 'Normal',
|
|
19
|
-
* },
|
|
20
|
-
* {
|
|
21
|
-
* value: 'large',
|
|
22
|
-
* label: 'Large',
|
|
23
|
-
* },
|
|
24
|
-
* ];
|
|
25
|
-
*
|
|
26
|
-
* function MyComboboxControl() {
|
|
27
|
-
* const [ fontSize, setFontSize ] = useState();
|
|
28
|
-
* const [ filteredOptions, setFilteredOptions ] = useState( options );
|
|
29
|
-
* return (
|
|
30
|
-
* <ComboboxControl
|
|
31
|
-
* label="Font Size"
|
|
32
|
-
* value={ fontSize }
|
|
33
|
-
* onChange={ setFontSize }
|
|
34
|
-
* options={ filteredOptions }
|
|
35
|
-
* onFilterValueChange={ ( inputValue ) =>
|
|
36
|
-
* setFilteredOptions(
|
|
37
|
-
* options.filter( ( option ) =>
|
|
38
|
-
* option.label
|
|
39
|
-
* .toLowerCase()
|
|
40
|
-
* .startsWith( inputValue.toLowerCase() )
|
|
41
|
-
* )
|
|
42
|
-
* )
|
|
43
|
-
* }
|
|
44
|
-
* />
|
|
45
|
-
* );
|
|
46
|
-
* }
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
declare function ComboboxControl(props: ComboboxControlProps): JSX.Element;
|
|
50
|
-
export default ComboboxControl;
|
|
51
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/combobox-control/index.tsx"],"names":[],"mappings":";AAgCA,OAAO,KAAK,EAAyB,oBAAoB,EAAE,MAAM,SAAS,CAAC;AA6B3E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,iBAAS,eAAe,CAAE,KAAK,EAAE,oBAAoB,eAiRpD;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* External dependencies
|
|
3
|
-
*/
|
|
4
|
-
import type { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
5
|
-
/**
|
|
6
|
-
* Internal dependencies
|
|
7
|
-
*/
|
|
8
|
-
import ComboboxControl from '..';
|
|
9
|
-
declare const meta: ComponentMeta<typeof ComboboxControl>;
|
|
10
|
-
export default meta;
|
|
11
|
-
export declare const Default: ComponentStory<typeof ComboboxControl>;
|
|
12
|
-
/**
|
|
13
|
-
* The rendered output of each suggestion can be customized by passing a
|
|
14
|
-
* render function to the `__experimentalRenderItem` prop. (This is still an experimental feature
|
|
15
|
-
* and is subject to change.)
|
|
16
|
-
*/
|
|
17
|
-
export declare const WithCustomRenderItem: ComponentStory<typeof ComboboxControl>;
|
|
18
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/combobox-control/stories/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOtE;;GAEG;AACH,OAAO,eAAe,MAAM,IAAI,CAAC;AAWjC,QAAA,MAAM,IAAI,EAAE,aAAa,CAAE,OAAO,eAAe,CAWhD,CAAC;AACF,eAAe,IAAI,CAAC;AA6BpB,eAAO,MAAM,OAAO,wCAAsB,CAAC;AAO3C;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,wCAAsB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { ComboboxControlProps } from './types';
|
|
3
|
-
export declare const InputWrapperFlex: import("@emotion/styled").StyledComponent<import("../flex/types").FlexProps & import("react").RefAttributes<any> & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>>, "as" | keyof import("react").RefAttributes<any> | keyof import("../flex/types").FlexProps> & {
|
|
4
|
-
as?: keyof JSX.IntrinsicElements | undefined;
|
|
5
|
-
} & {
|
|
6
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
7
|
-
} & Pick<ComboboxControlProps, "__next40pxDefaultSize">, {}, {}>;
|
|
8
|
-
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/combobox-control/styles.ts"],"names":[],"mappings":";AAWA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAYpD,eAAO,MAAM,gBAAgB;;;;gEAM5B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/combobox-control/test/index.tsx"],"names":[],"mappings":""}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* Internal dependencies
|
|
4
|
-
*/
|
|
5
|
-
import type { BaseControlProps } from '../base-control/types';
|
|
6
|
-
export type ComboboxControlOption = {
|
|
7
|
-
label: string;
|
|
8
|
-
value: string;
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
};
|
|
11
|
-
export type ComboboxControlProps = Pick<BaseControlProps, '__nextHasNoMarginBottom' | 'className' | 'label' | 'hideLabelFromVision' | 'help'> & {
|
|
12
|
-
/**
|
|
13
|
-
* Custom renderer invoked for each option in the suggestion list.
|
|
14
|
-
* The render prop receives as its argument an object containing, under the `item` key,
|
|
15
|
-
* the single option's data (directly from the array of data passed to the `options` prop).
|
|
16
|
-
*/
|
|
17
|
-
__experimentalRenderItem?: (args: {
|
|
18
|
-
item: ComboboxControlOption;
|
|
19
|
-
}) => React.ReactNode;
|
|
20
|
-
/**
|
|
21
|
-
* Deprecated. Use `__next40pxDefaultSize` instead.
|
|
22
|
-
*
|
|
23
|
-
* @default false
|
|
24
|
-
* @deprecated
|
|
25
|
-
*/
|
|
26
|
-
__next36pxDefaultSize?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Start opting into the larger default height that will become the default size in a future version.
|
|
29
|
-
*
|
|
30
|
-
* @default false
|
|
31
|
-
*/
|
|
32
|
-
__next40pxDefaultSize?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Show a reset button to clear the input.
|
|
35
|
-
*
|
|
36
|
-
* @default true
|
|
37
|
-
*/
|
|
38
|
-
allowReset?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Customizable UI messages.
|
|
41
|
-
*/
|
|
42
|
-
messages?: {
|
|
43
|
-
/**
|
|
44
|
-
* The message to announce to screen readers when a suggestion is selected.
|
|
45
|
-
*
|
|
46
|
-
* @default `__( 'Item selected.' )`
|
|
47
|
-
*/
|
|
48
|
-
selected: string;
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* Function called with the selected value changes.
|
|
52
|
-
*/
|
|
53
|
-
onChange?: (value: ComboboxControlProps['value']) => void;
|
|
54
|
-
/**
|
|
55
|
-
* Function called when the control's search input value changes. The argument contains the next input value.
|
|
56
|
-
*
|
|
57
|
-
* @default noop
|
|
58
|
-
*/
|
|
59
|
-
onFilterValueChange?: (value: string) => void;
|
|
60
|
-
/**
|
|
61
|
-
* The options that can be chosen from.
|
|
62
|
-
*/
|
|
63
|
-
options: ComboboxControlOption[];
|
|
64
|
-
/**
|
|
65
|
-
* The current value of the control.
|
|
66
|
-
*/
|
|
67
|
-
value?: string | null;
|
|
68
|
-
};
|
|
69
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/combobox-control/types.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,MAAM,MAAM,qBAAqB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,CAAE,GAAG,EAAE,MAAM,GAAI,GAAG,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACtC,gBAAgB,EACd,yBAAyB,GACzB,WAAW,GACX,OAAO,GACP,qBAAqB,GACrB,MAAM,CACR,GAAG;IACH;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,CAAE,IAAI,EAAE;QAClC,IAAI,EAAE,qBAAqB,CAAC;KAC5B,KAAM,KAAK,CAAC,SAAS,CAAC;IACvB;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE;QACV;;;;WAIG;QACH,QAAQ,EAAE,MAAM,CAAC;KACjB,CAAC;IACF;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAE,KAAK,EAAE,oBAAoB,CAAE,OAAO,CAAE,KAAM,IAAI,CAAC;IAC9D;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,CAAE,KAAK,EAAE,MAAM,KAAM,IAAI,CAAC;IAChD;;OAEG;IACH,OAAO,EAAE,qBAAqB,EAAE,CAAC;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB,CAAC"}
|