@altinn/altinn-components 0.10.4 → 0.11.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/README.md +11 -1
- package/dist/assets/Breadcrumbs.css +1 -0
- package/dist/assets/BreadcrumbsLink.css +1 -0
- package/dist/assets/FieldBase.css +1 -0
- package/dist/assets/Flex.css +1 -0
- package/dist/assets/Grid.css +1 -0
- package/dist/assets/Heading.css +1 -1
- package/dist/assets/InputBase.css +1 -0
- package/dist/assets/ListItemBase.css +1 -1
- package/dist/assets/ListItemHeader.css +1 -1
- package/dist/assets/ListItemLabel.css +1 -1
- package/dist/assets/MenuItemMedia.css +1 -1
- package/dist/assets/QueryLabel.css +1 -1
- package/dist/assets/Section.css +1 -1
- package/dist/assets/Typography.css +1 -1
- package/dist/components/Autocomplete/AutocompleteItem.js +6 -6
- package/dist/components/Bookmarks/BookmarksListItem.js +66 -7
- package/dist/components/Bookmarks/BookmarksSection.js +36 -13
- package/dist/components/Bookmarks/QueryLabel.js +9 -9
- package/dist/components/Bookmarks/index.js +7 -9
- package/dist/components/Button/Button.js +16 -15
- package/dist/components/Button/IconButton.js +22 -10
- package/dist/components/Dialog/Dialog.js +2 -2
- package/dist/components/Dialog/DialogContent.js +6 -6
- package/dist/components/Dialog/DialogListGroup.js +7 -7
- package/dist/components/Dialog/DialogSection.js +1 -1
- package/dist/components/Dialog/DraftDialog.js +24 -24
- package/dist/components/Dropdown/DropdownBase.js +8 -7
- package/dist/components/Icon/iconsMap.js +16960 -739
- package/dist/components/List/ListItemBase.js +11 -11
- package/dist/components/List/ListItemControls.js +15 -15
- package/dist/components/List/ListItemHeader.js +49 -49
- package/dist/components/List/ListItemLabel.js +8 -8
- package/dist/components/Menu/MenuItemMedia.js +5 -5
- package/dist/components/Page/Article.js +4 -4
- package/dist/components/Page/Breadcrumbs.js +22 -0
- package/dist/components/Page/BreadcrumbsLink.js +28 -0
- package/dist/components/Page/Flex.js +42 -0
- package/dist/components/Page/Grid.js +34 -0
- package/dist/components/Page/PageHeader.js +10 -9
- package/dist/components/Page/PageNav.js +20 -17
- package/dist/components/Page/Section.js +11 -40
- package/dist/components/Page/index.js +18 -14
- package/dist/components/Searchbar/SearchField.js +38 -28
- package/dist/components/TextField/FieldBase.js +16 -0
- package/dist/components/TextField/InputBase.js +33 -0
- package/dist/components/TextField/TextField.js +7 -0
- package/dist/components/TextField/index.js +8 -0
- package/dist/components/Typography/Heading.js +3 -3
- package/dist/components/Typography/Typography.js +8 -9
- package/dist/components/index.js +266 -258
- package/dist/footer-BI7NNFeL.js +27 -0
- package/dist/globalMenu-A9dXKjrI.js +80 -0
- package/dist/header-B7oMg4iq.js +11 -0
- package/dist/inboxMenu-DXIoTtPz.js +48 -0
- package/dist/index.js +274 -266
- package/dist/types/lib/components/Bookmarks/BookmarksListItem.d.ts +16 -2
- package/dist/types/lib/components/Bookmarks/BookmarksListItem.stories.d.ts +2 -3
- package/dist/types/lib/components/Bookmarks/BookmarksSection.d.ts +10 -3
- package/dist/types/lib/components/Bookmarks/BookmarksSection.stories.d.ts +19 -3
- package/dist/types/lib/components/Bookmarks/index.d.ts +0 -1
- package/dist/types/lib/components/Button/Button.d.ts +2 -1
- package/dist/types/lib/components/Button/Button.stories.d.ts +1 -1
- package/dist/types/lib/components/Button/IconButton.d.ts +2 -1
- package/dist/types/lib/components/Button/IconButton.stories.d.ts +1 -1
- package/dist/types/lib/components/Layout/LayoutBase.d.ts +1 -1
- package/dist/types/lib/components/List/ListItemControls.d.ts +2 -1
- package/dist/types/lib/components/List/ListItemHeader.d.ts +2 -2
- package/dist/types/lib/components/Menu/MenuItemBase.d.ts +1 -1
- package/dist/types/lib/components/Page/Article.d.ts +1 -1
- package/dist/types/lib/components/Page/Breadcrumbs.d.ts +5 -0
- package/dist/types/lib/components/Page/BreadcrumbsLink.d.ts +11 -0
- package/dist/types/lib/components/Page/{PageBase.stories.d.ts → Examples.stories.d.ts} +2 -1
- package/dist/types/lib/components/Page/Flex.d.ts +29 -0
- package/dist/types/lib/components/Page/Grid.d.ts +22 -0
- package/dist/types/lib/components/Page/PageNav.d.ts +6 -3
- package/dist/types/lib/components/Page/PageNav.stories.d.ts +2 -1
- package/dist/types/lib/components/Page/Section.d.ts +6 -26
- package/dist/types/lib/components/Page/index.d.ts +4 -2
- package/dist/types/lib/components/Searchbar/Searchbar.stories.d.ts +6 -1
- package/dist/types/lib/components/TextField/FieldBase.d.ts +11 -0
- package/dist/types/lib/components/TextField/InputBase.d.ts +14 -0
- package/dist/types/lib/components/TextField/TextField.d.ts +7 -0
- package/dist/types/lib/components/TextField/index.d.ts +3 -0
- package/dist/types/lib/components/Typography/Heading.d.ts +2 -2
- package/dist/types/lib/components/Typography/Typography.d.ts +1 -1
- package/dist/types/lib/components/index.d.ts +1 -0
- package/dist/{useAccountMenu-ImwZYwks.js → useAccountMenu-DgXhBMw4.js} +19 -27
- package/package.json +7 -2
- package/dist/ZoomPlusFill-xyiiemTy.js +0 -17126
- package/dist/assets/ListItemMenu.css +0 -1
- package/dist/assets/SectionFooter.css +0 -1
- package/dist/components/Bookmarks/BookmarksList.js +0 -12
- package/dist/components/Icon/__AkselIcon.js +0 -1042
- package/dist/components/List/ListItemMenu.js +0 -8
- package/dist/components/Page/SectionFooter.js +0 -8
- package/dist/components/Page/SectionHeader.js +0 -12
- package/dist/types/lib/components/Bookmarks/BookmarksList.d.ts +0 -5
- package/dist/types/lib/components/Bookmarks/BookmarksList.stories.d.ts +0 -34
- package/dist/types/lib/components/List/ListItemMenu.d.ts +0 -8
- package/dist/types/lib/components/Page/SectionFooter.d.ts +0 -6
- package/dist/types/lib/components/Page/SectionHeader.d.ts +0 -6
package/README.md
CHANGED
|
@@ -50,4 +50,14 @@ for correct `font-family` and minimal collection of resets.
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
## Documentation
|
|
53
|
-
The documentation for the components can be found in the [Storybook](https://altinn.github.io/altinn-components)
|
|
53
|
+
The documentation for the components can be found in the [Storybook](https://altinn.github.io/altinn-components)
|
|
54
|
+
Components are decorated with tags to show the current status of the component.
|
|
55
|
+
|
|
56
|
+
The tags are:
|
|
57
|
+
- `@outdated` - The component is out of sync with latest design.
|
|
58
|
+
- `@beta` - The component is in beta and is more likely to have flaws or missing features.
|
|
59
|
+
- `@experimental` - The component is experimental and is work in progress. Recommended not to use.
|
|
60
|
+
- `@deprecated` - The component is deprecated and should not be used.
|
|
61
|
+
|
|
62
|
+
The main motivation behind having tags is relieving the pressure of having to make everything stable before releasing it for use.
|
|
63
|
+
It also allows us to get feedback on the components in an early stage.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._list_8q7kr_1{list-style:none;padding:0;margin:0;margin:.625rem 0;text-indent:0;display:flex;align-items:center;flex-wrap:wrap}._item_8q7kr_12{display:flex;align-items:center;color:var(--theme-text-subtle)}._icon_8q7kr_18{font-size:1.5rem;margin:0 .25rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._link_znbj7_1{white-space:nowrap;padding:0;margin:0;background:none;border:0;color:inherit;font:inherit;text-align:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-user-select:none;user-select:none;font-size:1rem}a._link_znbj7_1,button._link_znbj7_1{color:var(--theme-text-subtle);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:2px;cursor:pointer}a._link_znbj7_1:hover,button._link_znbj7_1:hover{color:var(--theme-text-default)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._field_5tnbv_1{display:flex;flex-direction:column;row-gap:.25rem}._label_5tnbv_7{color:var(--theme-text-default)}._helperText_5tnbv_11{color:var(--theme-text-subtle)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._flex_18d8p_1{display:flex}._flex_18d8p_1[data-direction=col]{flex-direction:column}._flex_18d8p_1[data-direction=row]{flex-direction:row}._flex_18d8p_1[data-align=center]{align-items:center}._flex_18d8p_1[data-align=start]{align-items:flex-start}._flex_18d8p_1[data-align=end]{align-items:flex-end}._flex_18d8p_1[data-justify=start]{justify-content:flex-start}._flex_18d8p_1[data-justify=end]{justify-content:flex-end}._flex_18d8p_1[data-justify=center]{justify-content:center}._flex_18d8p_1[data-justify=between]{justify-content:space-between}._flex_18d8p_1[data-spacing=xs]{gap:.25rem}._flex_18d8p_1[data-spacing=sm]{gap:.5rem}._flex_18d8p_1[data-spacing=md]{gap:.75rem}._flex_18d8p_1[data-spacing=lg]{gap:1rem}._flex_18d8p_1[data-spacing=xl]{gap:1.5rem}@media (max-width: 1024px){._flex_18d8p_1[data-inset=true]{margin-left:-1rem;margin-right:-1rem}}._flex_18d8p_1[data-padding=xs]{padding:.25rem}._flex_18d8p_1[data-padding=sm]{padding:.5rem}._flex_18d8p_1[data-padding=md]{padding:.75rem}._flex_18d8p_1[data-padding=lg]{padding:1rem}._flex_18d8p_1[data-padding=xl]{padding:1.5rem}@media (max-width: 1024px){._flex_18d8p_1[data-padding=xl]{padding:1.5rem 1rem}}._flex_18d8p_1[data-margin=xs]{margin:.25rem 0}._flex_18d8p_1[data-margin=sm]{margin:.5rem 0}._flex_18d8p_1[data-margin=md]{margin:.625rem 0}._flex_18d8p_1[data-margin=lg]{margin:1.125rem 0}._flex_18d8p_1[data-color=subtle]{background-color:var(--theme-background-default)}._flex_18d8p_1[data-color=surface]{background-color:var(--theme-surface-default)}._flex_18d8p_1[data-color=accent]{background-color:var(--theme-base-default)}._flex_18d8p_1[data-shadow=xs]{box-shadow:var(--ds-shadow-xs)}._flex_18d8p_1[data-shadow=sm]{box-shadow:var(--ds-shadow-sm)}._flex_18d8p_1[data-shadow=md]{box-shadow:var(--ds-shadow-md)}._flex_18d8p_1[data-shadow=lg]{box-shadow:var(--ds-shadow-lg)}._flex_18d8p_1[data-shadow=xl]{box-shadow:var(--ds-shadow-xl)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._grid_o95ym_1{display:grid}._grid_o95ym_1[data-cols="1-2-3"]{grid-template-columns:repeat(1,minmax(0,1fr))}@media (min-width: 640px){._grid_o95ym_1[data-cols="1-2-3"]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){._grid_o95ym_1[data-cols="1-2-3"]{grid-template-columns:repeat(3,minmax(0,1fr))}}._grid_o95ym_1[data-spacing=xs]{gap:.25rem}._grid_o95ym_1[data-spacing=sm]{gap:.5rem}._grid_o95ym_1[data-spacing=md]{gap:.75rem}._grid_o95ym_1[data-spacing=lg]{gap:1rem}._grid_o95ym_1[data-spacing=xl]{gap:1.5rem}
|
package/dist/assets/Heading.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._heading_mt0g8_1{margin:0}._heading_mt0g8_1[data-weight=normal]{font-weight:400}._heading_mt0g8_1[data-weight=medium]{font-weight:500}._heading_mt0g8_1[data-weight=bold]{font-weight:600}._heading_mt0g8_1[data-size=xs]{font-size:.875rem;line-height:1.5rem}._heading_mt0g8_1[data-size=sm]{font-size:1rem;line-height:1.5rem}._heading_mt0g8_1[data-size=md]{font-size:1.125rem;line-height:1.5rem}._heading_mt0g8_1[data-size=lg]{font-size:1.25rem;line-height:1.25}._heading_mt0g8_1[data-size=xl]{font-size:1.5rem;line-height:1.25}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._input_dxhtf_1{border:1px solid;border-color:transparent;margin:0;padding:0;width:100%;overflow:visible;background:transparent;text-decoration:none;color:inherit;font:inherit;text-align:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit}._input_dxhtf_1{border-color:var(--theme-border-default);border-radius:2px}._input_dxhtf_1:disabled{opacity:.5;pointer-events:none}._input_dxhtf_1:focus{border-color:var(--theme-base-active)}._input_dxhtf_1[data-size=xs]{height:1.5rem}._input_dxhtf_1[data-size=sm]{height:2.25rem;padding:0 .5rem}._input_dxhtf_1[data-size=md]{height:2.75rem;padding:0 .75rem}._input_dxhtf_1[data-size=lg]{height:3.5rem;padding:0 1rem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._item_7qmbp_1{position:relative;width:100%;display:flex;flex-direction:column}._item_7qmbp_1[data-shadow=xs]{box-shadow:var(--ds-shadow-xs)}._item_7qmbp_1[data-variant=outline],._item_7qmbp_1[data-variant=dotted]{outline-color:var(--theme-base-default)}._item_7qmbp_1[data-variant=outline]{outline-style:solid}._item_7qmbp_1[data-variant=dotted]{outline-style:dashed}._item_7qmbp_1[data-color=neutral]{background-color:var(--theme-background-default)}._item_7qmbp_1[data-color=accent]{background-color:var(--theme-surface-default)}._item_7qmbp_1[data-color=accent]:hover{background-color:var(--theme-surface-hover)}._item_7qmbp_1[data-active=true]{background-color:var(--theme-surface-default)}._item_7qmbp_1[aria-expanded=true],._item_7qmbp_1[aria-selected=true]{outline:2px solid}._item_7qmbp_1:not([aria-selected=true]):hover,._item_7qmbp_1:not([aria-disabled=true]):hover{outline:2px solid var(--theme-border-strong)}._item_7qmbp_1[aria-disabled=true]{pointer-events:none}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._header_10vuh_1{position:relative;width:100%;display:flex;align-items:center}._link_10vuh_8{flex-grow:1;display:flex;align-items:center;padding:.5rem;column-gap:.5rem}._link_10vuh_8[data-size=xs]{min-height:44px}._link_10vuh_8[data-size=sm]{min-height:52px}._link_10vuh_8[data-size=md]{min-height:60px;padding:.625rem;column-gap:.625rem}._link_10vuh_8[data-size=lg]{min-height:64px;padding:.75rem;column-gap:.75rem}._link_10vuh_8[data-size=xl]{min-height:72px;padding:1rem;column-gap:1rem}._controls_10vuh_42{margin-right:.5rem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._label_eum9r_3{width:100%}._label_eum9r_3[data-size=xs]{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}._label_eum9r_3[data-size=sm],._label_eum9r_3[data-size=md],._label_eum9r_3[data-size=lg],._label_eum9r_3[data-size=xl]{display:flex;flex-direction:column;row-gap:.125rem}._label_eum9r_3[data-size=xs],._label_eum9r_3[data-size=sm],._label_eum9r_3[data-size=md]{font-size:1rem}._label_eum9r_3[data-size=lg],._label_eum9r_3[data-size=xl]{font-size:1.125rem}._title_eum9r_41{display:inline;font-size:1em;font-weight:600;line-height:1.125;margin:0}._description_eum9r_49{display:inline;font-weight:400;line-height:1.125;color:var(--theme-text-subtle);margin:0}._description_eum9r_49[data-size=xs],._description_eum9r_49[data-size=sm],._description_eum9r_49[data-size=md],._description_eum9r_49[data-size=lg],._description_eum9r_49[data-size=xl]{font-size:.875rem;line-height:1rem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._media_1kkjg_1{flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:5%;width:2rem;height:2rem}._media_1kkjg_1[data-size=lg]{width:44px;height:44px}._media_1kkjg_1[data-size=xs]{width:1.5rem;height:1.5rem}._media_1kkjg_1[data-size=xs] ._icon_1kkjg_21{font-size:1.25rem}._icon_1kkjg_21{font-size:1.5rem}._media_1kkjg_1[data-color=subtle]{background-color:var(--theme-background-default);color:var(--theme-text-default)}._media_1kkjg_1[data-color=surface]{background-color:var(--theme-surface-default);color:var(--theme-text-default)}._media_1kkjg_1[data-color=strong]{background-color:var(--theme-base-default);color:var(--theme-background-default)}._media_1kkjg_1[data-color=company]{background-color:var(--company-surface-default);color:var(--company-text-default)}._media_1kkjg_1[data-color=person]{background-color:var(--person-surface-default);color:var(--person-text-default)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._label_1sssm_1{display:flex;flex-wrap:wrap;align-items:center;column-gap:.25rem;row-gap:.25rem}._group_1sssm_9{display:inline-flex;align-items:center;column-gap:.25rem}._plus_1sssm_15{color:var(--theme-text-subtle)}._item_1sssm_19{font-size:.875em;display:block;overflow:hidden}._item_1sssm_19[data-type=search]{background-color:transparent;font-weight:500;border-bottom:1px solid;padding:.25em 0}._item_1sssm_19[data-type=search]:before{content:"«"}._item_1sssm_19[data-type=search]:after{content:"»"}._item_1sssm_19[data-type=filter]{background-color:transparent;border:1px solid;font-weight:500;padding:.25em .5em;border-radius:2px}
|
package/dist/assets/Section.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._section_167jj_1[data-bg=subtle]{background-color:var(--theme-background-default)}._section_167jj_1[data-bg=surface]{background-color:var(--theme-surface-default)}._section_167jj_1[data-bg=accent]{background-color:var(--theme-base-default)}._section_167jj_1[data-shadow=xs]{box-shadow:var(--ds-shadow-xs)}._section_167jj_1[data-shadow=sm]{box-shadow:var(--ds-shadow-sm)}._section_167jj_1[data-shadow=md]{box-shadow:var(--ds-shadow-md)}._section_167jj_1[data-shadow=lg]{box-shadow:var(--ds-shadow-lg)}._section_167jj_1[data-shadow=xl]{box-shadow:var(--ds-shadow-xl)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._typography_15hc3_1{width:100%;max-width:45rem;line-height:1.5}._typography_15hc3_1[data-size=xs]{font-size:.875rem}._typography_15hc3_1[data-size=sm]{font-size:1rem}._typography_15hc3_1[data-size=md]{font-size:1.125rem}._typography_15hc3_1[data-size=lg]{font-size:1.25rem}._typography_15hc3_1[data-size=xl]{font-size:1.5rem}._typography_15hc3_1>*:first-child{margin-top:0}._typography_15hc3_1>*:last-child{margin-bottom:0}._typography_15hc3_1 strong{font-weight:500}._typography_15hc3_1 a{color:var(--theme-base-default)}._typography_15hc3_1>p{font-size:1em;margin:1em 0}._typography_15hc3_1>h2{font-size:1.25rem;font-weight:600;margin-top:1.5em;margin-bottom:0}._typography_15hc3_1>h3{font-size:1em;font-weight:600;margin:1em 0}._typography_15hc3_1>h4{font-size:1em;font-weight:600;margin:1em 0 0}._typography_15hc3_1>h5,._typography_15hc3_1>h6{font-size:.875rem;margin:1em 0 0}._typography_15hc3_1>h6{font-weight:500;color:var(--theme-text-subtle)}._typography_15hc3_1>h6{font-weight:400;color:var(--theme-text-subtle)}._typography_15hc3_1>h5+*,._typography_15hc3_1>h6+*{margin-top:0}._typography_15hc3_1>section{margin:1em 0}._typography_15hc3_1 ul:not([class]),._typography_15hc3_1 ol:not([class]){list-style-position:inside;padding-left:1rem;margin:1em 0}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { BookmarksListItem as m } from "../Bookmarks/BookmarksListItem.js";
|
|
2
3
|
import "react";
|
|
3
4
|
import "../../index-L8X2o7IH.js";
|
|
4
5
|
import "../Icon/SvgIcon.js";
|
|
5
6
|
import "./AutocompleteBase.js";
|
|
6
|
-
import { ScopeListItem as
|
|
7
|
+
import { ScopeListItem as a } from "./ScopeListItem.js";
|
|
7
8
|
import "../RootProvider/RootProvider.js";
|
|
8
|
-
import { DialogListItem as
|
|
9
|
+
import { DialogListItem as i } from "../Dialog/DialogListItem.js";
|
|
9
10
|
import { ListItem as e } from "../List/ListItem.js";
|
|
10
|
-
import { BookmarksListItem as i } from "../Bookmarks/BookmarksListItem.js";
|
|
11
11
|
const x = ({ type: o, ...t }) => {
|
|
12
12
|
switch (o) {
|
|
13
13
|
case "scope":
|
|
14
|
-
return /* @__PURE__ */ r(
|
|
14
|
+
return /* @__PURE__ */ r(a, { ...t, color: "transparent", tabIndex: -1 });
|
|
15
15
|
case "bookmark":
|
|
16
|
-
return /* @__PURE__ */ r(
|
|
16
|
+
return /* @__PURE__ */ r(m, { ...t, color: "transparent", size: "sm", tabIndex: -1 });
|
|
17
17
|
case "dialog":
|
|
18
|
-
return /* @__PURE__ */ r(
|
|
18
|
+
return /* @__PURE__ */ r(i, { ...t, color: "transparent", size: "sm", tabIndex: -1 });
|
|
19
19
|
case "information":
|
|
20
20
|
return /* @__PURE__ */ r(e, { ...t, color: "transparent", tabIndex: -1, disabled: !0 });
|
|
21
21
|
default:
|
|
@@ -1,13 +1,72 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
1
|
+
import { jsxs as f, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { useState as y } from "react";
|
|
2
3
|
import "../../index-L8X2o7IH.js";
|
|
3
4
|
import "../Icon/SvgIcon.js";
|
|
4
|
-
import "react";
|
|
5
5
|
import "../Autocomplete/AutocompleteBase.js";
|
|
6
|
-
import { QueryLabel as
|
|
6
|
+
import { QueryLabel as h } from "./QueryLabel.js";
|
|
7
|
+
import { Button as u } from "../Button/Button.js";
|
|
8
|
+
import { IconButton as C } from "../Button/IconButton.js";
|
|
7
9
|
import "../RootProvider/RootProvider.js";
|
|
8
|
-
import { ListItemBase as
|
|
9
|
-
import { ListItemHeader as
|
|
10
|
-
|
|
10
|
+
import { ListItemBase as I } from "../List/ListItemBase.js";
|
|
11
|
+
import { ListItemHeader as L } from "../List/ListItemHeader.js";
|
|
12
|
+
import { Section as z } from "../Page/Section.js";
|
|
13
|
+
import { Flex as H } from "../Page/Flex.js";
|
|
14
|
+
import { TextField as Q } from "../TextField/TextField.js";
|
|
15
|
+
const V = ({
|
|
16
|
+
size: l = "sm",
|
|
17
|
+
icon: k = "bookmark",
|
|
18
|
+
expanded: t,
|
|
19
|
+
loading: o,
|
|
20
|
+
title: i,
|
|
21
|
+
titleField: a,
|
|
22
|
+
untitled: b = "Untitled bookmark",
|
|
23
|
+
params: m,
|
|
24
|
+
onToggle: n,
|
|
25
|
+
saveButton: c,
|
|
26
|
+
removeButton: e,
|
|
27
|
+
...s
|
|
28
|
+
}) => {
|
|
29
|
+
const [p, v] = y({ title: i, params: m }), j = (w) => {
|
|
30
|
+
const { name: x, value: F } = w.target;
|
|
31
|
+
v((S) => ({
|
|
32
|
+
...S,
|
|
33
|
+
[x]: F
|
|
34
|
+
}));
|
|
35
|
+
};
|
|
36
|
+
return t && !o ? /* @__PURE__ */ f(I, { loading: o, expanded: t, children: [
|
|
37
|
+
/* @__PURE__ */ r(
|
|
38
|
+
L,
|
|
39
|
+
{
|
|
40
|
+
size: l,
|
|
41
|
+
title: i || b,
|
|
42
|
+
loading: o,
|
|
43
|
+
icon: k,
|
|
44
|
+
onClick: n,
|
|
45
|
+
controls: /* @__PURE__ */ r(C, { variant: "outline", size: "sm", icon: "chevron-up", onClick: n }),
|
|
46
|
+
...s
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
t && /* @__PURE__ */ f(z, { padding: "lg", spacing: "lg", children: [
|
|
50
|
+
/* @__PURE__ */ r(h, { params: m }),
|
|
51
|
+
a && /* @__PURE__ */ r(Q, { ...a, name: "title", value: (p == null ? void 0 : p.title) || "", onChange: j }),
|
|
52
|
+
(c || e) && /* @__PURE__ */ f(H, { as: "footer", direction: "row", spacing: "sm", children: [
|
|
53
|
+
c && /* @__PURE__ */ r(u, { ...c }),
|
|
54
|
+
e && /* @__PURE__ */ r(u, { ...e, variant: "outline" })
|
|
55
|
+
] })
|
|
56
|
+
] })
|
|
57
|
+
] }) : /* @__PURE__ */ r(I, { ...s, loading: o, expanded: t, children: /* @__PURE__ */ r(
|
|
58
|
+
L,
|
|
59
|
+
{
|
|
60
|
+
size: l,
|
|
61
|
+
title: i,
|
|
62
|
+
loading: o,
|
|
63
|
+
icon: k,
|
|
64
|
+
controls: !o && /* @__PURE__ */ r(C, { variant: "outline", size: "sm", icon: "chevron-down", onClick: n }),
|
|
65
|
+
...s,
|
|
66
|
+
children: !i && !o && /* @__PURE__ */ r(h, { params: m })
|
|
67
|
+
}
|
|
68
|
+
) });
|
|
69
|
+
};
|
|
11
70
|
export {
|
|
12
|
-
|
|
71
|
+
V as BookmarksListItem
|
|
13
72
|
};
|
|
@@ -1,20 +1,43 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as l, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { createElement as f } from "react";
|
|
2
3
|
import "../../index-L8X2o7IH.js";
|
|
3
4
|
import "../Icon/SvgIcon.js";
|
|
4
|
-
import {
|
|
5
|
-
import "
|
|
5
|
+
import { Typography as k } from "../Typography/Typography.js";
|
|
6
|
+
import { Heading as x } from "../Typography/Heading.js";
|
|
6
7
|
import "../Autocomplete/AutocompleteBase.js";
|
|
7
|
-
import {
|
|
8
|
-
import { MetaItem as p } from "../Meta/MetaItem.js";
|
|
8
|
+
import { BookmarksListItem as h } from "./BookmarksListItem.js";
|
|
9
9
|
import "../RootProvider/RootProvider.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
import { ListBase as g } from "../List/ListBase.js";
|
|
11
|
+
import { Section as u } from "../Page/Section.js";
|
|
12
|
+
const q = ({
|
|
13
|
+
loading: m,
|
|
14
|
+
title: p,
|
|
15
|
+
description: e,
|
|
16
|
+
items: t,
|
|
17
|
+
untitled: d = "Untitled bookmark",
|
|
18
|
+
titleField: n,
|
|
19
|
+
saveButton: s,
|
|
20
|
+
removeButton: a,
|
|
21
|
+
expandedId: c,
|
|
22
|
+
onToggle: i
|
|
23
|
+
}) => /* @__PURE__ */ l(u, { padding: "xl", color: "surface", spacing: "lg", inset: !0, children: [
|
|
24
|
+
/* @__PURE__ */ o(x, { size: "md", children: p }),
|
|
25
|
+
t.length > 0 && /* @__PURE__ */ o(g, { spacing: "xs", children: t.map((r) => /* @__PURE__ */ f(
|
|
26
|
+
h,
|
|
27
|
+
{
|
|
28
|
+
...r,
|
|
29
|
+
key: r.id,
|
|
30
|
+
loading: m || r.loading,
|
|
31
|
+
onToggle: () => i == null ? void 0 : i(r.id),
|
|
32
|
+
expanded: c === r.id,
|
|
33
|
+
untitled: d,
|
|
34
|
+
titleField: n,
|
|
35
|
+
saveButton: s,
|
|
36
|
+
removeButton: a
|
|
37
|
+
}
|
|
38
|
+
)) }),
|
|
39
|
+
/* @__PURE__ */ o(k, { size: "xs", children: e })
|
|
17
40
|
] });
|
|
18
41
|
export {
|
|
19
|
-
|
|
42
|
+
q as BookmarksSection
|
|
20
43
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import '../../assets/QueryLabel.css';const c = "
|
|
1
|
+
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import '../../assets/QueryLabel.css';const c = "_label_1sssm_1", m = "_group_1sssm_9", o = "_plus_1sssm_15", n = "_item_1sssm_19", l = {
|
|
3
3
|
label: c,
|
|
4
|
-
group:
|
|
5
|
-
plus:
|
|
6
|
-
item:
|
|
7
|
-
}, p = ({ type:
|
|
8
|
-
/* @__PURE__ */
|
|
9
|
-
|
|
10
|
-
] },
|
|
4
|
+
group: m,
|
|
5
|
+
plus: o,
|
|
6
|
+
item: n
|
|
7
|
+
}, p = ({ type: s = "search", label: t }) => /* @__PURE__ */ e("mark", { className: l.item, "data-type": s, children: t }), _ = ({ params: s = [] }) => /* @__PURE__ */ e("div", { className: l.label, children: s.map((t, r) => /* @__PURE__ */ a("div", { className: l.group, children: [
|
|
8
|
+
/* @__PURE__ */ e(p, { ...t }),
|
|
9
|
+
s[r + 1] && /* @__PURE__ */ e("span", { className: l.plus, children: "+" })
|
|
10
|
+
] }, r)) });
|
|
11
11
|
export {
|
|
12
12
|
p as QueryItem,
|
|
13
13
|
_ as QueryLabel
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { BookmarksSection as p } from "./BookmarksSection.js";
|
|
1
|
+
import { BookmarksListItem as e } from "./BookmarksListItem.js";
|
|
2
|
+
import { QueryItem as t, QueryLabel as k } from "./QueryLabel.js";
|
|
3
|
+
import { BookmarksSection as f } from "./BookmarksSection.js";
|
|
5
4
|
export {
|
|
6
|
-
e as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
a as QueryLabel
|
|
5
|
+
e as BookmarksListItem,
|
|
6
|
+
f as BookmarksSection,
|
|
7
|
+
t as QueryItem,
|
|
8
|
+
k as QueryLabel
|
|
11
9
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as s, jsxs as
|
|
1
|
+
import { jsx as s, jsxs as x } from "react/jsx-runtime";
|
|
2
2
|
import { c as u } from "../../index-L8X2o7IH.js";
|
|
3
3
|
import { ButtonBase as d } from "./ButtonBase.js";
|
|
4
|
-
import { ButtonIcon as
|
|
5
|
-
import { ButtonLabel as
|
|
6
|
-
import '../../assets/Button.css';const
|
|
7
|
-
button:
|
|
4
|
+
import { ButtonIcon as _ } from "./ButtonIcon.js";
|
|
5
|
+
import { ButtonLabel as B } from "./ButtonLabel.js";
|
|
6
|
+
import '../../assets/Button.css';const h = "_button_1ysmx_1", y = "_reverse_1ysmx_8", t = {
|
|
7
|
+
button: h,
|
|
8
8
|
reverse: y
|
|
9
|
-
},
|
|
9
|
+
}, I = ({
|
|
10
10
|
variant: o = "solid",
|
|
11
11
|
color: e = "primary",
|
|
12
12
|
size: r = "md",
|
|
@@ -14,11 +14,12 @@ import '../../assets/Button.css';const B = "_button_1ysmx_1", y = "_reverse_1ysm
|
|
|
14
14
|
selected: a = !1,
|
|
15
15
|
icon: m,
|
|
16
16
|
href: l,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
label: i,
|
|
18
|
+
children: p,
|
|
19
|
+
className: b,
|
|
20
|
+
loading: f,
|
|
20
21
|
...c
|
|
21
|
-
}) =>
|
|
22
|
+
}) => f ? /* @__PURE__ */ s(
|
|
22
23
|
d,
|
|
23
24
|
{
|
|
24
25
|
variant: o,
|
|
@@ -26,12 +27,12 @@ import '../../assets/Button.css';const B = "_button_1ysmx_1", y = "_reverse_1ysm
|
|
|
26
27
|
size: r,
|
|
27
28
|
selected: a,
|
|
28
29
|
href: l,
|
|
29
|
-
className: u(t.button, { [t.reverse]: n },
|
|
30
|
+
className: u(t.button, { [t.reverse]: n }, b),
|
|
30
31
|
...c,
|
|
31
32
|
disabled: !0,
|
|
32
33
|
children: /* @__PURE__ */ s("span", { className: t.label, "data-size": r, children: /* @__PURE__ */ s("span", { className: t.loading, children: "Loading...." }) })
|
|
33
34
|
}
|
|
34
|
-
) : /* @__PURE__ */
|
|
35
|
+
) : /* @__PURE__ */ x(
|
|
35
36
|
d,
|
|
36
37
|
{
|
|
37
38
|
variant: o,
|
|
@@ -42,11 +43,11 @@ import '../../assets/Button.css';const B = "_button_1ysmx_1", y = "_reverse_1ysm
|
|
|
42
43
|
className: u(t.button, { [t.reverse]: n }),
|
|
43
44
|
...c,
|
|
44
45
|
children: [
|
|
45
|
-
m && /* @__PURE__ */ s(
|
|
46
|
-
/* @__PURE__ */ s(
|
|
46
|
+
m && /* @__PURE__ */ s(_, { size: r, icon: m }),
|
|
47
|
+
/* @__PURE__ */ s(B, { size: r, children: p || i })
|
|
47
48
|
]
|
|
48
49
|
}
|
|
49
50
|
);
|
|
50
51
|
export {
|
|
51
|
-
|
|
52
|
+
I as Button
|
|
52
53
|
};
|
|
@@ -1,19 +1,31 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
import { ButtonBase as
|
|
4
|
-
import { ButtonIcon as
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { c as a } from "../../index-L8X2o7IH.js";
|
|
3
|
+
import { ButtonBase as e } from "./ButtonBase.js";
|
|
4
|
+
import { ButtonIcon as b } from "./ButtonIcon.js";
|
|
5
5
|
import '../../assets/IconButton.css';const f = "_button_1vbf2_1", p = "_icon_1vbf2_8", _ = {
|
|
6
6
|
button: f,
|
|
7
7
|
icon: p
|
|
8
|
-
},
|
|
8
|
+
}, v = ({
|
|
9
9
|
variant: n = "solid",
|
|
10
10
|
color: r = "primary",
|
|
11
|
-
size:
|
|
11
|
+
size: t = "md",
|
|
12
12
|
icon: c,
|
|
13
13
|
iconSize: s,
|
|
14
|
-
className:
|
|
15
|
-
onClick:
|
|
16
|
-
|
|
14
|
+
className: i,
|
|
15
|
+
onClick: m,
|
|
16
|
+
dataTestId: u
|
|
17
|
+
}) => /* @__PURE__ */ o(
|
|
18
|
+
e,
|
|
19
|
+
{
|
|
20
|
+
variant: n,
|
|
21
|
+
color: r,
|
|
22
|
+
size: t,
|
|
23
|
+
className: a(_.button, i),
|
|
24
|
+
onClick: m,
|
|
25
|
+
"data-testid": u,
|
|
26
|
+
children: /* @__PURE__ */ o(b, { icon: c, size: s || t })
|
|
27
|
+
}
|
|
28
|
+
);
|
|
17
29
|
export {
|
|
18
|
-
|
|
30
|
+
v as IconButton
|
|
19
31
|
};
|
|
@@ -42,8 +42,8 @@ const er = ({
|
|
|
42
42
|
contactInfo: e
|
|
43
43
|
}) => /* @__PURE__ */ l(G, { color: "subtle", shadow: "xs", children: [
|
|
44
44
|
/* @__PURE__ */ r(J, { padding: "sm", backButton: o, menu: t, children: /* @__PURE__ */ r(C, { status: A, dueAt: y, dueAtLabel: z }) }),
|
|
45
|
-
/* @__PURE__ */ l(K, { theme: "
|
|
46
|
-
/* @__PURE__ */ r(w, { size: "
|
|
45
|
+
/* @__PURE__ */ l(K, { theme: "inherit", padding: "xl", spacing: "xl", children: [
|
|
46
|
+
/* @__PURE__ */ r(w, { size: "xl", children: b }),
|
|
47
47
|
g && /* @__PURE__ */ r(F, { ...g, collapsible: !0 }),
|
|
48
48
|
/* @__PURE__ */ r(
|
|
49
49
|
M,
|
|
@@ -8,13 +8,13 @@ import { DialogActivityLog as l } from "./DialogActivityLog.js";
|
|
|
8
8
|
import { DialogSeenBy as a } from "./DialogSeenBy.js";
|
|
9
9
|
import { MetaBase as c } from "../Meta/MetaBase.js";
|
|
10
10
|
import "../RootProvider/RootProvider.js";
|
|
11
|
-
import { Byline as
|
|
12
|
-
import { TimelineSection as
|
|
13
|
-
import { Section as
|
|
14
|
-
const C = ({ updatedAt: t, updatedAtLabel: e, seenBy: o, activityLog: m, children: p }) => /* @__PURE__ */ i(
|
|
11
|
+
import { Byline as d } from "../Byline/Byline.js";
|
|
12
|
+
import { TimelineSection as f } from "../Timeline/TimelineSection.js";
|
|
13
|
+
import { Section as s } from "../Page/Section.js";
|
|
14
|
+
const C = ({ updatedAt: t, updatedAtLabel: e, seenBy: o, activityLog: m, children: p }) => /* @__PURE__ */ i(f, { seen: !1, children: /* @__PURE__ */ r(s, { spacing: "lg", margin: "md", children: [
|
|
15
15
|
/* @__PURE__ */ r("div", { children: [
|
|
16
|
-
/* @__PURE__ */ i(
|
|
17
|
-
/* @__PURE__ */ i(n, { size: "
|
|
16
|
+
/* @__PURE__ */ i(d, { datetime: t, children: e }),
|
|
17
|
+
/* @__PURE__ */ i(n, { size: "md", children: p })
|
|
18
18
|
] }),
|
|
19
19
|
/* @__PURE__ */ r(c, { children: [
|
|
20
20
|
o && /* @__PURE__ */ i(a, { ...o }),
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import "../../index-L8X2o7IH.js";
|
|
3
3
|
import "../Icon/SvgIcon.js";
|
|
4
|
-
import { Heading as
|
|
4
|
+
import { Heading as m } from "../Typography/Heading.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "../Autocomplete/AutocompleteBase.js";
|
|
7
7
|
import { Button as e } from "../Button/Button.js";
|
|
8
8
|
import "../RootProvider/RootProvider.js";
|
|
9
9
|
import { ListBase as n } from "../List/ListBase.js";
|
|
10
10
|
import { Section as p } from "../Page/Section.js";
|
|
11
|
-
import {
|
|
12
|
-
const
|
|
13
|
-
i && /* @__PURE__ */ o(
|
|
14
|
-
/* @__PURE__ */ r(
|
|
11
|
+
import { Flex as s } from "../Page/Flex.js";
|
|
12
|
+
const w = ({ title: i, children: t }) => /* @__PURE__ */ o(p, { spacing: "md", children: [
|
|
13
|
+
i && /* @__PURE__ */ o(s, { direction: "row", align: "center", justify: "between", margin: "sm", children: [
|
|
14
|
+
/* @__PURE__ */ r(m, { size: "lg", children: i }),
|
|
15
15
|
/* @__PURE__ */ r(e, { variant: "text", icon: "checkmark", size: "sm", children: "Velg alle" })
|
|
16
16
|
] }),
|
|
17
|
-
/* @__PURE__ */ r(n, { spacing: "md", children:
|
|
17
|
+
/* @__PURE__ */ r(n, { spacing: "md", children: t })
|
|
18
18
|
] });
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
w as DialogListGroup
|
|
21
21
|
};
|
|
@@ -7,7 +7,7 @@ import "../Autocomplete/AutocompleteBase.js";
|
|
|
7
7
|
import "../RootProvider/RootProvider.js";
|
|
8
8
|
import { Section as n } from "../Page/Section.js";
|
|
9
9
|
const l = ({ title: r, children: i }) => i ? /* @__PURE__ */ o(n, { spacing: "md", margin: "md", children: [
|
|
10
|
-
r && /* @__PURE__ */ m(t, { size: "
|
|
10
|
+
r && /* @__PURE__ */ m(t, { size: "lg", children: r }),
|
|
11
11
|
i
|
|
12
12
|
] }) : null;
|
|
13
13
|
export {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import "../../index-L8X2o7IH.js";
|
|
3
3
|
import "../Icon/SvgIcon.js";
|
|
4
|
-
import { Typography as
|
|
5
|
-
import { Heading as
|
|
4
|
+
import { Typography as h } from "../Typography/Typography.js";
|
|
5
|
+
import { Heading as B } from "../Typography/Heading.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import "../Autocomplete/AutocompleteBase.js";
|
|
8
|
-
import { DialogMetadata as
|
|
9
|
-
import { DialogActions as
|
|
8
|
+
import { DialogMetadata as P } from "./DialogMetadata.js";
|
|
9
|
+
import { DialogActions as w } from "./DialogActions.js";
|
|
10
10
|
import { DialogSection as t } from "./DialogSection.js";
|
|
11
11
|
import { Avatar as H } from "../Avatar/Avatar.js";
|
|
12
12
|
import { DialogAttachments as M } from "./DialogAttachments.js";
|
|
13
13
|
import "../RootProvider/RootProvider.js";
|
|
14
14
|
import { Byline as N } from "../Byline/Byline.js";
|
|
15
15
|
import { PageBase as T } from "../Page/PageBase.js";
|
|
16
|
-
import { PageNav as
|
|
16
|
+
import { PageNav as k } from "../Page/PageNav.js";
|
|
17
|
+
import { Article as q } from "../Page/Article.js";
|
|
17
18
|
import { Section as s } from "../Page/Section.js";
|
|
18
|
-
|
|
19
|
-
const $ = ({
|
|
19
|
+
const c = ({
|
|
20
20
|
backButton: x,
|
|
21
|
-
menu:
|
|
22
|
-
updatedAt:
|
|
23
|
-
updatedAtLabel:
|
|
24
|
-
dueAt:
|
|
21
|
+
menu: y,
|
|
22
|
+
updatedAt: z,
|
|
23
|
+
updatedAtLabel: D,
|
|
24
|
+
dueAt: o,
|
|
25
25
|
dueAtLabel: A,
|
|
26
26
|
status: S,
|
|
27
27
|
title: b,
|
|
28
28
|
sender: l,
|
|
29
|
-
recipient:
|
|
29
|
+
recipient: g,
|
|
30
30
|
recipientLabel: u = "to",
|
|
31
31
|
summary: j = "Summary.",
|
|
32
32
|
body: v,
|
|
@@ -35,29 +35,29 @@ const $ = ({
|
|
|
35
35
|
additionalInfo: m,
|
|
36
36
|
contactInfo: e
|
|
37
37
|
}) => /* @__PURE__ */ i(T, { color: "subtle", shadow: "xs", children: [
|
|
38
|
-
/* @__PURE__ */ r(
|
|
39
|
-
/* @__PURE__ */ i(
|
|
38
|
+
/* @__PURE__ */ r(k, { backButton: x, menu: y, children: /* @__PURE__ */ r(P, { status: S, dueAt: o, dueAtLabel: A }) }),
|
|
39
|
+
/* @__PURE__ */ i(q, { padding: "xl", spacing: "xl", children: [
|
|
40
40
|
/* @__PURE__ */ i(s, { as: "header", spacing: "md", children: [
|
|
41
|
-
/* @__PURE__ */ i(s, {
|
|
41
|
+
/* @__PURE__ */ i(s, { align: "center", spacing: "md", children: [
|
|
42
42
|
/* @__PURE__ */ r(H, { size: "lg", ...l }),
|
|
43
|
-
/* @__PURE__ */ r(
|
|
43
|
+
/* @__PURE__ */ r(B, { size: "lg", children: b })
|
|
44
44
|
] }),
|
|
45
|
-
/* @__PURE__ */ i(N, { size: "md", datetime:
|
|
46
|
-
/* @__PURE__ */ r("strong", { children:
|
|
45
|
+
/* @__PURE__ */ i(N, { size: "md", datetime: z, children: [
|
|
46
|
+
/* @__PURE__ */ r("strong", { children: g == null ? void 0 : g.name }),
|
|
47
47
|
u + " " + (l == null ? void 0 : l.name) + ", ",
|
|
48
|
-
|
|
48
|
+
D
|
|
49
49
|
] })
|
|
50
50
|
] }),
|
|
51
|
-
/* @__PURE__ */ r(s, { padding: "xl", spacing: "lg", style: { border: "1px solid", borderStyle: "dashed" }, children: /* @__PURE__ */ i(
|
|
51
|
+
/* @__PURE__ */ r(s, { padding: "xl", spacing: "lg", style: { border: "1px solid", borderStyle: "dashed" }, children: /* @__PURE__ */ i(h, { size: "lg", children: [
|
|
52
52
|
/* @__PURE__ */ r("p", { children: j }),
|
|
53
53
|
v,
|
|
54
54
|
d && /* @__PURE__ */ r(M, { ...d }),
|
|
55
|
-
(p == null ? void 0 : p.length) > 0 && /* @__PURE__ */ r(
|
|
55
|
+
(p == null ? void 0 : p.length) > 0 && /* @__PURE__ */ r(w, { items: p })
|
|
56
56
|
] }) }),
|
|
57
|
-
m && /* @__PURE__ */ r(t, { title: m == null ? void 0 : m.title, children: /* @__PURE__ */ r(
|
|
58
|
-
e && /* @__PURE__ */ r(t, { title: e == null ? void 0 : e.title, children: /* @__PURE__ */ r(
|
|
57
|
+
m && /* @__PURE__ */ r(t, { title: m == null ? void 0 : m.title, children: /* @__PURE__ */ r(h, { size: "md", children: m == null ? void 0 : m.children }) }),
|
|
58
|
+
e && /* @__PURE__ */ r(t, { title: e == null ? void 0 : e.title, children: /* @__PURE__ */ r(h, { size: "md", children: e == null ? void 0 : e.children }) })
|
|
59
59
|
] })
|
|
60
60
|
] });
|
|
61
61
|
export {
|
|
62
|
-
|
|
62
|
+
c as DraftDialog
|
|
63
63
|
};
|