@pingux/astro 2.107.2-alpha.1 → 2.108.0-alpha.1
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.
@@ -123,18 +123,18 @@ var CopyText = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
123
123
|
ref: ref,
|
124
124
|
isRow: true,
|
125
125
|
variant: "copyText.copy"
|
126
|
-
}, wrapperProps, others), content, (0, _react2.jsx)(TooltipWrapper, {
|
126
|
+
}, wrapperProps, others), content, (0, _react2.jsx)(TooltipWrapper, (0, _extends2["default"])({
|
127
127
|
isOpen: isTooltipOpen,
|
128
128
|
tooltip: tooltip
|
129
|
-
}, (0, _react2.jsx)(_CopyButton["default"], (0, _extends2["default"])({
|
129
|
+
}, tooltipProps), (0, _react2.jsx)(_CopyButton["default"], (0, _extends2["default"])({
|
130
130
|
onPress: copyToClipboard
|
131
131
|
}, (0, _reactAria.mergeProps)(hoverProps, focusProps, iconButtonProps)))));
|
132
132
|
}
|
133
|
-
return (0, _react2.jsx)(TooltipWrapper, {
|
133
|
+
return (0, _react2.jsx)(TooltipWrapper, (0, _extends2["default"])({
|
134
134
|
isOpen: isTooltipOpen,
|
135
135
|
tooltip: tooltip,
|
136
136
|
targetRef: pressableRef
|
137
|
-
}, (0, _react2.jsx)(_index.Box, (0, _extends2["default"])({
|
137
|
+
}, tooltipProps), (0, _react2.jsx)(_index.Box, (0, _extends2["default"])({
|
138
138
|
ref: pressableRef
|
139
139
|
}, (0, _reactAria.mergeProps)(hoverProps, pressableProps), {
|
140
140
|
sx: {
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import React, { Key } from 'react';
|
2
2
|
import type { AriaLabelingProps, CollectionChildren, DOMProps } from '@react-types/shared';
|
3
|
+
import { ThemeUICSSObject } from 'theme-ui';
|
3
4
|
import { AriaRole, BoxProps, LabelModeProps, LabelProps, Status, ValidPositiveInteger } from '../../types';
|
4
5
|
/**
|
5
6
|
* Generates the necessary props to be used in field components.
|
@@ -45,6 +46,7 @@ export interface ControlProps extends React.HTMLAttributes<Element> {
|
|
45
46
|
hasAutoFocus?: boolean;
|
46
47
|
isDefaultSelected?: boolean;
|
47
48
|
variant?: string;
|
49
|
+
sx?: ThemeUICSSObject;
|
48
50
|
}
|
49
51
|
export interface UseFieldProps<T> {
|
50
52
|
autocomplete?: string;
|
@@ -110,18 +110,18 @@ var CopyText = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
110
110
|
ref: ref,
|
111
111
|
isRow: true,
|
112
112
|
variant: "copyText.copy"
|
113
|
-
}, wrapperProps, others), content, ___EmotionJSX(TooltipWrapper, {
|
113
|
+
}, wrapperProps, others), content, ___EmotionJSX(TooltipWrapper, _extends({
|
114
114
|
isOpen: isTooltipOpen,
|
115
115
|
tooltip: tooltip
|
116
|
-
}, ___EmotionJSX(CopyButton, _extends({
|
116
|
+
}, tooltipProps), ___EmotionJSX(CopyButton, _extends({
|
117
117
|
onPress: copyToClipboard
|
118
118
|
}, mergeProps(hoverProps, focusProps, iconButtonProps)))));
|
119
119
|
}
|
120
|
-
return ___EmotionJSX(TooltipWrapper, {
|
120
|
+
return ___EmotionJSX(TooltipWrapper, _extends({
|
121
121
|
isOpen: isTooltipOpen,
|
122
122
|
tooltip: tooltip,
|
123
123
|
targetRef: pressableRef
|
124
|
-
}, ___EmotionJSX(Box, _extends({
|
124
|
+
}, tooltipProps), ___EmotionJSX(Box, _extends({
|
125
125
|
ref: pressableRef
|
126
126
|
}, mergeProps(hoverProps, pressableProps), {
|
127
127
|
sx: {
|