@pingux/astro 1.20.0 → 1.20.1-alpha.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/lib/cjs/components/MultivaluesField/MultivaluesField.stories.js +13 -23
- package/lib/cjs/styles/variants/boxes.js +0 -1
- package/lib/components/MultivaluesField/MultivaluesField.stories.js +13 -23
- package/lib/styles/variants/boxes.js +0 -1
- package/package.json +1 -1
- package/NOTICE.html +0 -4292
@@ -140,29 +140,19 @@ var Default = function Default(args) {
|
|
140
140
|
setIsOpen(true);
|
141
141
|
};
|
142
142
|
|
143
|
-
return (//
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
items: items
|
157
|
-
}, args, {
|
158
|
-
onOpenChange: onOpenChange
|
159
|
-
}), function (item) {
|
160
|
-
return (0, _react2.jsx)(_.Item, {
|
161
|
-
key: item.key,
|
162
|
-
"data-id": item.name
|
163
|
-
}, item.name);
|
164
|
-
}))
|
165
|
-
);
|
143
|
+
return (0, _react2.jsx)(_.OverlayProvider // note: spacing for demo purpose only so that the select list renders in the correct place
|
144
|
+
, {
|
145
|
+
style: setOverlayStyle(direction, isOpen, '50%', '50%', '20%')
|
146
|
+
}, (0, _react2.jsx)(_.MultivaluesField, (0, _extends2["default"])({
|
147
|
+
items: items
|
148
|
+
}, args, {
|
149
|
+
onOpenChange: onOpenChange
|
150
|
+
}), function (item) {
|
151
|
+
return (0, _react2.jsx)(_.Item, {
|
152
|
+
key: item.key,
|
153
|
+
"data-id": item.name
|
154
|
+
}, item.name);
|
155
|
+
}));
|
166
156
|
};
|
167
157
|
|
168
158
|
exports.Default = Default;
|
@@ -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),
|