@redneckz/wildless-cms-uni-blocks 0.14.250 → 0.14.251
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/bundle/bundle.umd.js +3 -3
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/ui-kit/Select/Select.js +1 -1
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/dist/ui-kit/Select/SelectPopup.js +1 -1
- package/dist/ui-kit/Select/SelectPopup.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/ui-kit/Select/Select.js +1 -1
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/lib/ui-kit/Select/SelectPopup.js +1 -1
- package/lib/ui-kit/Select/SelectPopup.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +3 -3
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/ui-kit/Select/Select.js +1 -1
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/dist/ui-kit/Select/SelectPopup.js +1 -1
- package/mobile/dist/ui-kit/Select/SelectPopup.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/ui-kit/Select/Select.js +1 -1
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/ui-kit/Select/SelectPopup.js +1 -1
- package/mobile/lib/ui-kit/Select/SelectPopup.js.map +1 -1
- package/mobile/src/ui-kit/Select/Select.tsx +1 -1
- package/mobile/src/ui-kit/Select/SelectPopup.tsx +1 -1
- package/package.json +1 -1
- package/src/ui-kit/Select/Select.tsx +1 -1
- package/src/ui-kit/Select/SelectPopup.tsx +1 -1
package/bundle/bundle.umd.js
CHANGED
|
@@ -1000,7 +1000,7 @@
|
|
|
1000
1000
|
return options.filter((_) => _.text?.toLocaleLowerCase().includes(query?.trim().toLocaleLowerCase()));
|
|
1001
1001
|
};
|
|
1002
1002
|
|
|
1003
|
-
const SelectPopup = JSX(({ popupRef, options, value, query, onChange, iconVersion }) => options?.length ? (jsx("div", { className: "bg-white text-l max-h-64 overflow-y-auto overflow-x-hidden rounded-md", role: "list", ref: popupRef, children: filterOptions(options, query).map((option) => (jsxs("div", { className: "flex px-m py-s cursor-pointer hover:bg-main-divider pr-5xl relative", role: "listitem", "aria-selected": option.key === value?.key, onClick: (e) => {
|
|
1003
|
+
const SelectPopup = JSX(({ popupRef, options, value, query, onChange, iconVersion }) => options?.length ? (jsx("div", { className: "bg-white text-l max-h-64 overflow-y-auto overflow-x-hidden rounded-md shadow-2xl", role: "list", ref: popupRef, children: filterOptions(options, query).map((option) => (jsxs("div", { className: "flex px-m py-s cursor-pointer hover:bg-main-divider pr-5xl relative", role: "listitem", "aria-selected": option.key === value?.key, onClick: (e) => {
|
|
1004
1004
|
e.stopPropagation();
|
|
1005
1005
|
if (onChange) {
|
|
1006
1006
|
onChange(option);
|
|
@@ -1036,7 +1036,7 @@
|
|
|
1036
1036
|
|
|
1037
1037
|
const Select = JSX(
|
|
1038
1038
|
// eslint-disable-next-line complexity
|
|
1039
|
-
({ className, label, options = [], value, valid = true, isBorder = true, placeholder = '', isSearch = false, iconVersion, onChange, disabled, }) => {
|
|
1039
|
+
({ className, label, options = [], value, valid = true, isBorder = true, placeholder = '', isSearch = false, iconVersion = 'black', onChange, disabled, }) => {
|
|
1040
1040
|
const [isOpen, { setFalse: close, setTrue: open }] = useBool();
|
|
1041
1041
|
const [query, setQuery] = useState('');
|
|
1042
1042
|
const isDisabled = disabled || options.length === 0;
|
|
@@ -6137,7 +6137,7 @@
|
|
|
6137
6137
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
6138
6138
|
});
|
|
6139
6139
|
|
|
6140
|
-
const packageVersion = "0.14.
|
|
6140
|
+
const packageVersion = "0.14.250";
|
|
6141
6141
|
|
|
6142
6142
|
exports.Blocks = Blocks;
|
|
6143
6143
|
exports.ContentPage = ContentPage;
|