@luscii-healthtech/web-ui 35.6.1 → 35.7.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/DetailsDisclosure/DetailsDisclosure.d.ts +13 -15
- package/dist/index.d.ts +1 -0
- package/dist/index.development.js +1 -0
- 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.esm.js +1 -1
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -19,16 +19,10 @@ type Props = Omit<ComponentProps<typeof Box<"details">>, "as"> & {
|
|
|
19
19
|
* Indicates wether the toggle actions resulted in an open or closed DetailsDisclosure component
|
|
20
20
|
*/
|
|
21
21
|
isOpen: boolean) => void;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
*
|
|
27
|
-
* When using this prop the `openByDefault` prop should be omitted.
|
|
28
|
-
*
|
|
29
|
-
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#open
|
|
30
|
-
*/
|
|
31
|
-
open?: boolean;
|
|
22
|
+
} /**
|
|
23
|
+
* Enforce usage of either open or openByDefault through the type system.
|
|
24
|
+
*/ & ({
|
|
25
|
+
open?: never;
|
|
32
26
|
/**
|
|
33
27
|
* Used when this component is used as an uncontrolled component.
|
|
34
28
|
*
|
|
@@ -36,13 +30,17 @@ type Props = Omit<ComponentProps<typeof Box<"details">>, "as"> & {
|
|
|
36
30
|
*
|
|
37
31
|
* When using this prop the `open` prop should be omitted.
|
|
38
32
|
*/
|
|
39
|
-
openByDefault?: never;
|
|
40
|
-
} /**
|
|
41
|
-
* Enforce usage of either open or openByDefault through the type system.
|
|
42
|
-
*/ & ({
|
|
43
|
-
open?: never;
|
|
44
33
|
openByDefault?: boolean;
|
|
45
34
|
} | {
|
|
35
|
+
/**
|
|
36
|
+
* Passed to the internal `<details />` element.
|
|
37
|
+
*
|
|
38
|
+
* This value should be used to use the component as a controlled component.
|
|
39
|
+
*
|
|
40
|
+
* When using this prop the `openByDefault` prop should be omitted.
|
|
41
|
+
*
|
|
42
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#open
|
|
43
|
+
*/
|
|
46
44
|
open?: boolean;
|
|
47
45
|
openByDefault?: never;
|
|
48
46
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -80,6 +80,7 @@ export { TextEditor } from "./components/TextEditor/TextEditor";
|
|
|
80
80
|
export { Link } from "./components/Link/Link";
|
|
81
81
|
export { TextLink, type TextLinkProps } from "./components/TextLink/TextLink";
|
|
82
82
|
export { Title, type TitleStyle } from "./components/Title/Title";
|
|
83
|
+
export { PageTitle } from "./components/Title/PageTitle";
|
|
83
84
|
export { Timeline } from "./components/Timeline/Timeline";
|
|
84
85
|
export { UnorderedList, UList } from "./components/UnorderedList/UnorderedList";
|
|
85
86
|
export { default as Text } from "./components/Text/Text";
|
|
@@ -6815,6 +6815,7 @@ exports.NotesIcon = NoteIcon;
|
|
|
6815
6815
|
exports.NotificationBanner = NotificationBanner;
|
|
6816
6816
|
exports.Page = Page;
|
|
6817
6817
|
exports.PageHeader = PageHeader;
|
|
6818
|
+
exports.PageTitle = PageTitle;
|
|
6818
6819
|
exports.PageViewIcon = PageViewIcon;
|
|
6819
6820
|
exports.PaginationMenu = PaginationMenu;
|
|
6820
6821
|
exports.PaperclipIcon = PaperclipIcon;
|