@luscii-healthtech/web-ui 58.8.2 → 58.9.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.
@@ -7,6 +7,11 @@ type Props = React.ComponentPropsWithoutRef<"fieldset"> & {
7
7
  * Over how many columns the checkbox cards should be distributed.
8
8
  */
9
9
  columns?: 1 | 2 | 3 | 4;
10
+ /**
11
+ * Stretch the group, and therefore its checkbox cards, to the full width of
12
+ * its container. By default the group is only as wide as its content.
13
+ */
14
+ stretch?: boolean;
10
15
  /**
11
16
  * Any additional information to show underneath the radio group.
12
17
  */
@@ -7,6 +7,11 @@ type Props = React.ComponentPropsWithoutRef<"fieldset"> & {
7
7
  * Over how many columns the checkbox cards should be distributed.
8
8
  */
9
9
  columns?: 1 | 2 | 3 | 4;
10
+ /**
11
+ * Stretch the group, and therefore its checkbox cards, to the full width of
12
+ * its container. By default the group is only as wide as its content.
13
+ */
14
+ stretch?: boolean;
10
15
  /**
11
16
  * Any additional information to show underneath the radio group.
12
17
  */
@@ -31,6 +31,12 @@ export declare const Base: Story;
31
31
  export declare const Overview: Story;
32
32
  export declare const OverviewLabeledCheckboxCard: Story;
33
33
  export declare const LabeledCheckboxCardGroupLarge: Story;
34
+ /**
35
+ * By default a `LabeledCheckboxCardGroup` is only as wide as its content, so its
36
+ * cards don't fill the available space. Pass `stretch` to make the group, and
37
+ * its cards, take up the full width of the container.
38
+ */
39
+ export declare const LabeledCheckboxCardGroupStretch: Story;
34
40
  export declare const Disabled: Story;
35
41
  export declare const Indeterminate: Story;
36
42
  export declare const MultipleCheckboxes: Story;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luscii-healthtech/web-ui",
3
- "version": "58.8.2",
3
+ "version": "58.9.0",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "Joris Janssen"