@pingux/astro 1.27.0-alpha.5 → 1.27.0-alpha.6
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.
@@ -26,36 +26,40 @@ var _default = {
|
|
26
26
|
title: 'Recipes/Selected Field Overlay'
|
27
27
|
};
|
28
28
|
exports["default"] = _default;
|
29
|
+
var sx = {
|
30
|
+
container: {
|
31
|
+
padding: 'md',
|
32
|
+
position: 'relative',
|
33
|
+
borderWidth: 2,
|
34
|
+
borderStyle: 'solid',
|
35
|
+
borderColor: 'active',
|
36
|
+
borderRadius: 4,
|
37
|
+
cursor: 'pointer'
|
38
|
+
},
|
39
|
+
overlay: {
|
40
|
+
position: 'absolute',
|
41
|
+
width: '100%',
|
42
|
+
height: '100%',
|
43
|
+
top: 0,
|
44
|
+
left: 0,
|
45
|
+
alignItems: 'center',
|
46
|
+
justifyContent: 'center',
|
47
|
+
'&:focus': {
|
48
|
+
outline: 'none'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
};
|
29
52
|
|
30
53
|
var Default = function Default() {
|
31
54
|
return (0, _react2.jsx)(_Box["default"], {
|
32
|
-
|
33
|
-
sx: {
|
34
|
-
position: 'relative',
|
35
|
-
borderWidth: 2,
|
36
|
-
borderStyle: 'solid',
|
37
|
-
borderColor: 'active',
|
38
|
-
borderRadius: 4,
|
39
|
-
cursor: 'pointer'
|
40
|
-
}
|
55
|
+
sx: sx.container
|
41
56
|
}, (0, _react2.jsx)(_TextField["default"], {
|
42
57
|
label: "Name",
|
43
58
|
controlProps: {
|
44
59
|
tabIndex: '-1'
|
45
60
|
}
|
46
61
|
}), (0, _react2.jsx)(_Box["default"], {
|
47
|
-
sx:
|
48
|
-
position: 'absolute',
|
49
|
-
width: '100%',
|
50
|
-
height: '100%',
|
51
|
-
top: 0,
|
52
|
-
left: 0,
|
53
|
-
alignItems: 'center',
|
54
|
-
justifyContent: 'center',
|
55
|
-
'&:focus': {
|
56
|
-
outline: 'none'
|
57
|
-
}
|
58
|
-
},
|
62
|
+
sx: sx.overlay,
|
59
63
|
tabIndex: "0"
|
60
64
|
}, (0, _react2.jsx)(_Icon["default"], {
|
61
65
|
icon: _VisibilityOffOutlineIcon["default"],
|
@@ -7,35 +7,39 @@ import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
7
7
|
export default {
|
8
8
|
title: 'Recipes/Selected Field Overlay'
|
9
9
|
};
|
10
|
+
var sx = {
|
11
|
+
container: {
|
12
|
+
padding: 'md',
|
13
|
+
position: 'relative',
|
14
|
+
borderWidth: 2,
|
15
|
+
borderStyle: 'solid',
|
16
|
+
borderColor: 'active',
|
17
|
+
borderRadius: 4,
|
18
|
+
cursor: 'pointer'
|
19
|
+
},
|
20
|
+
overlay: {
|
21
|
+
position: 'absolute',
|
22
|
+
width: '100%',
|
23
|
+
height: '100%',
|
24
|
+
top: 0,
|
25
|
+
left: 0,
|
26
|
+
alignItems: 'center',
|
27
|
+
justifyContent: 'center',
|
28
|
+
'&:focus': {
|
29
|
+
outline: 'none'
|
30
|
+
}
|
31
|
+
}
|
32
|
+
};
|
10
33
|
export var Default = function Default() {
|
11
34
|
return ___EmotionJSX(Box, {
|
12
|
-
|
13
|
-
sx: {
|
14
|
-
position: 'relative',
|
15
|
-
borderWidth: 2,
|
16
|
-
borderStyle: 'solid',
|
17
|
-
borderColor: 'active',
|
18
|
-
borderRadius: 4,
|
19
|
-
cursor: 'pointer'
|
20
|
-
}
|
35
|
+
sx: sx.container
|
21
36
|
}, ___EmotionJSX(TextField, {
|
22
37
|
label: "Name",
|
23
38
|
controlProps: {
|
24
39
|
tabIndex: '-1'
|
25
40
|
}
|
26
41
|
}), ___EmotionJSX(Box, {
|
27
|
-
sx:
|
28
|
-
position: 'absolute',
|
29
|
-
width: '100%',
|
30
|
-
height: '100%',
|
31
|
-
top: 0,
|
32
|
-
left: 0,
|
33
|
-
alignItems: 'center',
|
34
|
-
justifyContent: 'center',
|
35
|
-
'&:focus': {
|
36
|
-
outline: 'none'
|
37
|
-
}
|
38
|
-
},
|
42
|
+
sx: sx.overlay,
|
39
43
|
tabIndex: "0"
|
40
44
|
}, ___EmotionJSX(Icon, {
|
41
45
|
icon: VisibilityOffOutlineIcon,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@pingux/astro",
|
3
|
-
"version": "1.27.0-alpha.
|
3
|
+
"version": "1.27.0-alpha.6",
|
4
4
|
"description": "PingUX themeable React component library",
|
5
5
|
"author": "ux-development@pingidentity.com",
|
6
6
|
"license": "Apache-2.0",
|
@@ -121,6 +121,7 @@
|
|
121
121
|
"@react-stately/radio": "^3.2.0",
|
122
122
|
"@react-stately/searchfield": "^3.1.1",
|
123
123
|
"@react-stately/select": "^3.1.1",
|
124
|
+
"@react-stately/selection": "~3.10.2",
|
124
125
|
"@react-stately/slider": "^3.0.7",
|
125
126
|
"@react-stately/tabs": "^3.0.1",
|
126
127
|
"@react-stately/toggle": "^3.2.0",
|