@luscii-healthtech/web-ui 23.2.11 → 23.2.12

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.
@@ -3,7 +3,7 @@ export declare enum CheckboxState {
3
3
  INDETERMINATE = "indeterminate",
4
4
  UNCHECKED = "unchecked"
5
5
  }
6
- export interface CheckboxListProps {
6
+ export type CheckboxListProps = {
7
7
  /**
8
8
  * An array of items to render as checkboxes. Each item can be a single item or a group. When the
9
9
  * title isn't specified, the group will render as a non-collapsible list. This is the way to
@@ -30,7 +30,7 @@ export interface CheckboxListProps {
30
30
  groups: CheckboxGroup[];
31
31
  onChange: (event: CheckboxChangeEvent) => void;
32
32
  className?: string;
33
- }
33
+ };
34
34
  type WithCollapsible = {
35
35
  /**
36
36
  * When `false` will prevent the checkbox list from being collapsed (also disabling clicking to expand/collapse)
@@ -1605,16 +1605,7 @@ const ButtonV2 = React__namespace.default.forwardRef((_a, innerRef) => {
1605
1605
  ) }),
1606
1606
  isPending && React__namespace.default.createElement(
1607
1607
  "span",
1608
- {
1609
- className: "ui-opacity-100",
1610
- // IE11 center translate fix
1611
- style: {
1612
- position: "absolute",
1613
- left: "50%",
1614
- top: "50%",
1615
- transform: "translate(-50%, -50%)"
1616
- }
1617
- },
1608
+ { className: "ui-absolute ui-left-1/2 ui-top-1/2 ui--translate-x-1/2 ui--translate-y-1/2 ui-transform ui-opacity-100" },
1618
1609
  React__namespace.default.createElement(Spinner, { className: textColorClass })
1619
1610
  ),
1620
1611
  content && React__namespace.default.createElement(Text, { variant: "strong", className: classNames__default.default({
@@ -2232,16 +2223,7 @@ function Button(props) {
2232
2223
  dynamicIcon && React__namespace.default.createElement(dynamicIcon, { className: "ui-w-5 ui-h-5" }),
2233
2224
  React__namespace.default.createElement(
2234
2225
  "span",
2235
- {
2236
- className: "ui-opacity-100",
2237
- // IE11 center translate fix
2238
- style: {
2239
- position: "absolute",
2240
- left: "50%",
2241
- top: "50%",
2242
- transform: "translate(-50%, -50%)"
2243
- }
2244
- },
2226
+ { className: "ui-absolute ui-left-1/2 ui-top-1/2 ui--translate-x-1/2 ui--translate-y-1/2 ui-transform ui-opacity-100" },
2245
2227
  React__namespace.default.createElement(Spinner, { className: spinnerClassNames })
2246
2228
  ),
2247
2229
  React__namespace.default.createElement("span", { className: buttonTextClasses }, text)