@pingux/astro 1.20.0 → 1.21.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.
- package/lib/cjs/components/ListView/ListView.js +13 -63
- package/lib/cjs/components/ListView/ListView.stories.js +2 -2
- package/lib/cjs/components/ListViewItem/ListViewItem.js +18 -39
- package/lib/cjs/components/MultivaluesField/MultivaluesField.stories.js +13 -23
- package/lib/cjs/styles/forms/input.js +7 -5
- package/lib/cjs/styles/variants/boxes.js +2 -2
- package/lib/components/ListView/ListView.js +13 -60
- package/lib/components/ListView/ListView.stories.js +2 -2
- package/lib/components/ListViewItem/ListViewItem.js +18 -38
- package/lib/components/MultivaluesField/MultivaluesField.stories.js +13 -23
- package/lib/styles/forms/input.js +7 -5
- package/lib/styles/variants/boxes.js +2 -2
- package/package.json +5 -4
- package/NOTICE.html +0 -4292
@@ -112,29 +112,19 @@ export var Default = function Default(args) {
|
|
112
112
|
setIsOpen(true);
|
113
113
|
};
|
114
114
|
|
115
|
-
return (//
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
items: items
|
129
|
-
}, args, {
|
130
|
-
onOpenChange: onOpenChange
|
131
|
-
}), function (item) {
|
132
|
-
return ___EmotionJSX(Item, {
|
133
|
-
key: item.key,
|
134
|
-
"data-id": item.name
|
135
|
-
}, item.name);
|
136
|
-
}))
|
137
|
-
);
|
115
|
+
return ___EmotionJSX(OverlayProvider // note: spacing for demo purpose only so that the select list renders in the correct place
|
116
|
+
, {
|
117
|
+
style: setOverlayStyle(direction, isOpen, '50%', '50%', '20%')
|
118
|
+
}, ___EmotionJSX(MultivaluesField, _extends({
|
119
|
+
items: items
|
120
|
+
}, args, {
|
121
|
+
onOpenChange: onOpenChange
|
122
|
+
}), function (item) {
|
123
|
+
return ___EmotionJSX(Item, {
|
124
|
+
key: item.key,
|
125
|
+
"data-id": item.name
|
126
|
+
}, item.name);
|
127
|
+
}));
|
138
128
|
};
|
139
129
|
export var WithCustomValues = function WithCustomValues(args) {
|
140
130
|
var _useState3 = useState(false),
|
@@ -157,8 +157,10 @@ input.multivaluesWrapper = _objectSpread(_objectSpread({}, input.container), {},
|
|
157
157
|
borderWidth: 1,
|
158
158
|
flexDirection: 'row!important',
|
159
159
|
flexWrap: 'wrap',
|
160
|
-
left:
|
161
|
-
|
160
|
+
left: 2,
|
161
|
+
pt: 6,
|
162
|
+
pr: 10,
|
163
|
+
pb: 5,
|
162
164
|
pl: 12,
|
163
165
|
'&.has-no-status-indicator': {
|
164
166
|
left: 0
|
@@ -171,14 +173,14 @@ input.multivaluesWrapper = _objectSpread(_objectSpread({}, input.container), {},
|
|
171
173
|
position: 'absolute',
|
172
174
|
bg: 'active',
|
173
175
|
width: 3,
|
174
|
-
top:
|
176
|
+
top: -1,
|
175
177
|
left: -3,
|
176
|
-
bottom:
|
178
|
+
bottom: -1
|
177
179
|
},
|
178
180
|
'> input': {
|
179
181
|
border: 'none',
|
180
182
|
flex: 1,
|
181
|
-
height:
|
183
|
+
height: 27,
|
182
184
|
lineHeight: '100%',
|
183
185
|
p: 5,
|
184
186
|
'&.is-focused': {
|
@@ -141,7 +141,6 @@ var countNeutral = _objectSpread(_objectSpread({}, countDefault), {}, {
|
|
141
141
|
var multivaluesChip = _objectSpread(_objectSpread({}, chip), {}, {
|
142
142
|
alignSelf: 'center',
|
143
143
|
cursor: 'default',
|
144
|
-
height: '100%',
|
145
144
|
m: 5,
|
146
145
|
mr: 10,
|
147
146
|
ml: 0
|
@@ -149,7 +148,8 @@ var multivaluesChip = _objectSpread(_objectSpread({}, chip), {}, {
|
|
149
148
|
|
150
149
|
var selectedItemChip = _objectSpread(_objectSpread({}, multivaluesChip), {}, {
|
151
150
|
py: 3,
|
152
|
-
pr: 0
|
151
|
+
pr: 0,
|
152
|
+
my: 3
|
153
153
|
});
|
154
154
|
|
155
155
|
var readOnlyChip = _objectSpread(_objectSpread({}, multivaluesChip), {}, {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@pingux/astro",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.21.0-alpha.1",
|
4
4
|
"description": "PingUX themeable React component library",
|
5
5
|
"author": "ux-development@pingidentity.com",
|
6
6
|
"license": "Apache-2.0",
|
@@ -82,11 +82,12 @@
|
|
82
82
|
"@react-aria/combobox": "^3.0.0",
|
83
83
|
"@react-aria/dialog": "^3.1.2",
|
84
84
|
"@react-aria/focus": "^3.5.0",
|
85
|
-
"@react-aria/grid": "^3.
|
85
|
+
"@react-aria/grid": "^3.2.6",
|
86
86
|
"@react-aria/i18n": "^3.3.0",
|
87
87
|
"@react-aria/interactions": "^3.5.0",
|
88
88
|
"@react-aria/label": "^3.1.0",
|
89
89
|
"@react-aria/link": "^3.1.1",
|
90
|
+
"@react-aria/list": "3.0.0-nightly.3248",
|
90
91
|
"@react-aria/listbox": "^3.3.0",
|
91
92
|
"@react-aria/live-announcer": "^3.0.0",
|
92
93
|
"@react-aria/menu": "^3.1.4",
|
@@ -102,7 +103,7 @@
|
|
102
103
|
"@react-aria/switch": "3.1.1",
|
103
104
|
"@react-aria/tabs": "^3.0.1",
|
104
105
|
"@react-aria/tooltip": "^3.1.2",
|
105
|
-
"@react-aria/utils": "^3.
|
106
|
+
"@react-aria/utils": "^3.12.0",
|
106
107
|
"@react-aria/virtualizer": "^3.3.2",
|
107
108
|
"@react-aria/visually-hidden": "3.2.1",
|
108
109
|
"@react-spectrum/provider": "^3.2.1",
|
@@ -111,7 +112,7 @@
|
|
111
112
|
"@react-stately/color": "^3.0.0-beta.2",
|
112
113
|
"@react-stately/combobox": "^3.0.0",
|
113
114
|
"@react-stately/data": "^3.4.0",
|
114
|
-
"@react-stately/grid": "^3.
|
115
|
+
"@react-stately/grid": "^3.1.4",
|
115
116
|
"@react-stately/layout": "^3.2.1",
|
116
117
|
"@react-stately/list": "^3.2.1",
|
117
118
|
"@react-stately/menu": "^3.2.1",
|