@luscii-healthtech/web-ui 7.2.0 → 7.4.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/dist/components/FilterBar/FiltersMenus.d.ts +8 -0
- package/dist/components/FilterBar/SortMenu.d.ts +9 -0
- package/dist/index.development.js +10 -1
- package/dist/index.development.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/web-ui-tailwind.css +143 -43
- package/dist/web-ui.esm.js +1 -1
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +4 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { CategorisedFilters, OnFilterBarFilterChange } from "./FilterBarProps.type";
|
|
3
|
+
type FiltersMenusProps = {
|
|
4
|
+
filters: CategorisedFilters;
|
|
5
|
+
onFilterOptionChange: OnFilterBarFilterChange;
|
|
6
|
+
};
|
|
7
|
+
export declare const FiltersMenus: React.FC<FiltersMenusProps>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { FilterBarLocalization, OnFilterBarSortingChange, TransformedSortingOption } from "./FilterBarProps.type";
|
|
3
|
+
type SortMenuProps = {
|
|
4
|
+
localization: FilterBarLocalization;
|
|
5
|
+
sortingOptions: TransformedSortingOption[];
|
|
6
|
+
onSortOptionChange: OnFilterBarSortingChange;
|
|
7
|
+
};
|
|
8
|
+
export declare const SortMenu: React.FC<SortMenuProps>;
|
|
9
|
+
export {};
|
|
@@ -2272,7 +2272,16 @@ function RadioInner(_a) {
|
|
|
2272
2272
|
React__namespace.default.createElement(
|
|
2273
2273
|
"div",
|
|
2274
2274
|
{ className: "ui-flex ui-flex-row ui-items-center ui-self-start" },
|
|
2275
|
-
React__namespace.default.createElement("input", Object.assign({}, otherProps, {
|
|
2275
|
+
React__namespace.default.createElement("input", Object.assign({}, otherProps, {
|
|
2276
|
+
name,
|
|
2277
|
+
// To consider: the tailwind forms plugin adds specific styles for form inputs,
|
|
2278
|
+
// including radio buttons. Is it worth changing to that?
|
|
2279
|
+
className: classNames__default.default("ui-hidden", className),
|
|
2280
|
+
ref: innerRef,
|
|
2281
|
+
type: "radio",
|
|
2282
|
+
id: nameHtmlFor,
|
|
2283
|
+
disabled
|
|
2284
|
+
})),
|
|
2276
2285
|
React__namespace.default.createElement(
|
|
2277
2286
|
"span",
|
|
2278
2287
|
{ className: classNames__default.default("ui-radio-circle ui-flex ui-h-4 ui-w-4 ui-flex-col ui-items-center ui-justify-center ui-rounded-xl ui-border ui-border-slate-300 ui-transition-colors ui-duration-300 ui-ease-in-out") },
|