@altinn/altinn-components 0.19.3 → 0.19.4
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/assets/Flex.css +1 -1
- package/dist/assets/Typography.css +1 -1
- package/dist/components/Page/Flex.js +5 -5
- package/dist/components/Timeline/Timeline.js +3 -3
- package/dist/components/Timeline/TimelineActivity.js +19 -23
- package/dist/components/Timeline/TimelineSegment.js +28 -0
- package/dist/components/Timeline/index.js +12 -10
- package/dist/components/Typography/Typography.js +10 -10
- package/dist/components/index.js +74 -72
- package/dist/index.js +80 -78
- package/dist/types/lib/components/Page/Flex.d.ts +1 -1
- package/dist/types/lib/components/Timeline/Timeline.d.ts +3 -1
- package/dist/types/lib/components/Timeline/Timeline.stories.d.ts +2 -1
- package/dist/types/lib/components/Timeline/TimelineActivity.d.ts +1 -1
- package/dist/types/lib/components/Timeline/TimelineSegment.d.ts +15 -0
- package/dist/types/lib/components/Timeline/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/assets/Flex.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._flex_165ub_1{display:flex;list-style:none;padding:0}._flex_165ub_1[data-direction=col]{flex-direction:column}._flex_165ub_1[data-direction=row]{flex-direction:row}._flex_165ub_1[data-align=center]{align-items:center}._flex_165ub_1[data-align=start]{align-items:flex-start}._flex_165ub_1[data-align=end]{align-items:flex-end}._flex_165ub_1[data-justify=start]{justify-content:flex-start}._flex_165ub_1[data-justify=end]{justify-content:flex-end}._flex_165ub_1[data-justify=center]{justify-content:center}._flex_165ub_1[data-justify=between]{justify-content:space-between}@media (max-width: 1023px){._flex_165ub_1[data-bleed=true]{margin-left:-1rem;margin-right:-1rem}}._flex_165ub_1[data-padding=page]{padding:var(--ds-spacing-6)}@media (max-width: 1023px){._flex_165ub_1[data-padding=page]{padding-left:var(--ds-spacing-4);padding-right:var(--ds-spacing-4)}}._flex_165ub_1[data-spacing=xs]{gap:.125rem}._flex_165ub_1[data-spacing=page]{gap:1.5rem}._flex_165ub_1{margin:0}._flex_165ub_1[data-margin=section]{margin:.625rem 0}._flex_165ub_1[data-margin=page]{margin:1.125rem 0}._flex_165ub_1[data-margin=bottom]{margin:0 0 1em}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._typography_15g2t_1{width:100%;max-width:45rem;line-height:1.5}p._typography_15g2t_1{margin:0}._typography_15g2t_1[data-variant=default]{color:var(--ds-color-text-default)}._typography_15g2t_1[data-variant=subtle]{color:var(--ds-color-text-subtle)}._typography_15g2t_1[data-size=xs]{font-size:.875rem}._typography_15g2t_1[data-size=sm]{font-size:1rem}._typography_15g2t_1[data-size=md]{font-size:1.125rem}._typography_15g2t_1[data-size=lg]{font-size:1.25rem}._typography_15g2t_1[data-size=xl]{font-size:1.5rem}._typography_15g2t_1>*:first-child{margin-top:0}._typography_15g2t_1>*:last-child{margin-bottom:0}._typography_15g2t_1 strong{font-weight:500}._typography_15g2t_1 a{color:var(--ds-color-base-default)}._typography_15g2t_1 a:hover{color:var(--ds-color-base-hover)}._typography_15g2t_1>p{font-size:1em;margin:1em 0}._typography_15g2t_1>h1{font-size:1.5rem;font-weight:500;margin-top:1.5em;margin-bottom:0}._typography_15g2t_1>h2{font-size:1.25rem;font-weight:600;margin-top:1.5em;margin-bottom:0}._typography_15g2t_1>h3{font-size:1em;font-weight:600;margin:1em 0}._typography_15g2t_1>h4{font-size:1em;font-weight:600;margin:1em 0 0}._typography_15g2t_1>h5,._typography_15g2t_1>h6{font-size:.875rem;margin:1em 0 0}._typography_15g2t_1>h6{font-weight:500;color:var(--ds-color-text-subtle)}._typography_15g2t_1>h6{font-weight:400;color:var(--ds-color-text-subtle)}._typography_15g2t_1>h5+*,._typography_15g2t_1>h6+*{margin-top:0}._typography_15g2t_1>section{margin:1em 0}._typography_15g2t_1 ul:not([class]),._typography_15g2t_1 ol:not([class]){list-style-position:inside;padding-left:1rem;margin:1em 0}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import { c as _ } from "../../index-L8X2o7IH.js";
|
|
3
|
-
import '../../assets/Flex.css';const
|
|
4
|
-
flex:
|
|
5
|
-
},
|
|
3
|
+
import '../../assets/Flex.css';const b = "_flex_165ub_1", h = {
|
|
4
|
+
flex: b
|
|
5
|
+
}, y = ({
|
|
6
6
|
as: a = "div",
|
|
7
7
|
color: t,
|
|
8
8
|
theme: e = "transparent",
|
|
@@ -22,7 +22,7 @@ import '../../assets/Flex.css';const h = "_flex_1e7ut_1", j = {
|
|
|
22
22
|
}) => /* @__PURE__ */ u(
|
|
23
23
|
a,
|
|
24
24
|
{
|
|
25
|
-
className: _(
|
|
25
|
+
className: _(h.flex, m),
|
|
26
26
|
style: p,
|
|
27
27
|
"data-color": t,
|
|
28
28
|
"data-theme": e,
|
|
@@ -40,5 +40,5 @@ import '../../assets/Flex.css';const h = "_flex_1e7ut_1", j = {
|
|
|
40
40
|
}
|
|
41
41
|
);
|
|
42
42
|
export {
|
|
43
|
-
|
|
43
|
+
y as Flex
|
|
44
44
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import "../../index-L8X2o7IH.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "../RootProvider/RootProvider.js";
|
|
5
5
|
import "../Search/AutocompleteBase.js";
|
|
6
6
|
import "../Snackbar/useSnackbar.js";
|
|
7
7
|
import { Section as i } from "../Page/Section.js";
|
|
8
|
-
const
|
|
8
|
+
const x = ({ spacing: o = 2, children: r }) => /* @__PURE__ */ t(i, { spacing: o, children: r });
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
x as Timeline
|
|
11
11
|
};
|
|
@@ -1,33 +1,29 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as c, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import "../../index-L8X2o7IH.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import { Byline as
|
|
4
|
+
import { Byline as n } from "../Byline/Byline.js";
|
|
5
5
|
import "../RootProvider/RootProvider.js";
|
|
6
6
|
import "../Search/AutocompleteBase.js";
|
|
7
7
|
import "../Snackbar/useSnackbar.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { Typography as T } from "../Typography/Typography.js";
|
|
8
|
+
import { Section as l } from "../Page/Section.js";
|
|
9
|
+
import { Typography as y } from "../Typography/Typography.js";
|
|
11
10
|
import { S as a } from "../../CircleFill-IZdiBc_K.js";
|
|
12
|
-
const
|
|
11
|
+
const k = ({
|
|
13
12
|
loading: r,
|
|
14
|
-
byline:
|
|
15
|
-
icon:
|
|
16
|
-
color:
|
|
17
|
-
typographyProps:
|
|
18
|
-
margin:
|
|
19
|
-
spacing:
|
|
20
|
-
datetime:
|
|
21
|
-
children:
|
|
22
|
-
footer:
|
|
23
|
-
...
|
|
24
|
-
}) => /* @__PURE__ */
|
|
25
|
-
|
|
26
|
-
/* @__PURE__ */
|
|
27
|
-
m && /* @__PURE__ */ t(T, { loading: r, size: "md", ...s, children: m }),
|
|
28
|
-
n
|
|
29
|
-
] })
|
|
13
|
+
byline: t,
|
|
14
|
+
icon: x = a,
|
|
15
|
+
color: S = "neutral",
|
|
16
|
+
typographyProps: m = {},
|
|
17
|
+
margin: p,
|
|
18
|
+
spacing: e,
|
|
19
|
+
datetime: s,
|
|
20
|
+
children: o,
|
|
21
|
+
footer: g,
|
|
22
|
+
...f
|
|
23
|
+
}) => /* @__PURE__ */ c(l, { margin: p, spacing: e, ...f, children: [
|
|
24
|
+
t && /* @__PURE__ */ i(n, { loading: r, datetime: s, children: t }),
|
|
25
|
+
o && typeof o == "string" ? /* @__PURE__ */ i(y, { as: "p", loading: r, size: "md", ...m, children: o }) : o
|
|
30
26
|
] });
|
|
31
27
|
export {
|
|
32
|
-
|
|
28
|
+
k as TimelineActivity
|
|
33
29
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as i, jsxs as f } from "react/jsx-runtime";
|
|
2
|
+
import "../../index-L8X2o7IH.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import { Byline as s } from "../Byline/Byline.js";
|
|
5
|
+
import "../RootProvider/RootProvider.js";
|
|
6
|
+
import "../Search/AutocompleteBase.js";
|
|
7
|
+
import "../Snackbar/useSnackbar.js";
|
|
8
|
+
import { TimelineBase as S } from "./TimelineBase.js";
|
|
9
|
+
import { Section as h } from "../Page/Section.js";
|
|
10
|
+
import { S as x } from "../../CircleFill-IZdiBc_K.js";
|
|
11
|
+
const k = ({
|
|
12
|
+
loading: r,
|
|
13
|
+
datetime: m,
|
|
14
|
+
byline: o,
|
|
15
|
+
icon: t = x,
|
|
16
|
+
color: e = "neutral",
|
|
17
|
+
spacing: p = 2,
|
|
18
|
+
margin: n = "bottom",
|
|
19
|
+
children: l,
|
|
20
|
+
footer: a,
|
|
21
|
+
...c
|
|
22
|
+
}) => /* @__PURE__ */ i(S, { loading: r, color: e, icon: t, ...c, children: /* @__PURE__ */ f(h, { margin: n, spacing: p, children: [
|
|
23
|
+
o && /* @__PURE__ */ i(s, { loading: r, datetime: m, children: o }),
|
|
24
|
+
l
|
|
25
|
+
] }) });
|
|
26
|
+
export {
|
|
27
|
+
k as TimelineSegment
|
|
28
|
+
};
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { Timeline as o } from "./Timeline.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { TimelineSegment as m } from "./TimelineSegment.js";
|
|
3
|
+
import { TimelineActivity as n } from "./TimelineActivity.js";
|
|
4
|
+
import { TimelineBase as l } from "./TimelineBase.js";
|
|
5
|
+
import { TimelineSection as x } from "./TimelineSection.js";
|
|
6
|
+
import { TimelineHeader as a } from "./TimelineHeader.js";
|
|
7
|
+
import { TimelineFooter as S } from "./TimelineFooter.js";
|
|
7
8
|
export {
|
|
8
9
|
o as Timeline,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
n as TimelineActivity,
|
|
11
|
+
l as TimelineBase,
|
|
12
|
+
S as TimelineFooter,
|
|
13
|
+
a as TimelineHeader,
|
|
14
|
+
x as TimelineSection,
|
|
15
|
+
m as TimelineSegment
|
|
14
16
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as m } from "../../index-L8X2o7IH.js";
|
|
3
3
|
import { Skeleton as i } from "../Skeleton/Skeleton.js";
|
|
4
|
-
import '../../assets/Typography.css';const d = "
|
|
4
|
+
import '../../assets/Typography.css';const d = "_typography_15g2t_1", h = {
|
|
5
5
|
typography: d
|
|
6
6
|
}, _ = ({
|
|
7
7
|
loading: o,
|
|
@@ -9,19 +9,19 @@ import '../../assets/Typography.css';const d = "_typography_gmmcy_1", h = {
|
|
|
9
9
|
as: a = "div",
|
|
10
10
|
size: p = "md",
|
|
11
11
|
color: n,
|
|
12
|
-
variant:
|
|
13
|
-
className:
|
|
14
|
-
children:
|
|
15
|
-
...
|
|
12
|
+
variant: e,
|
|
13
|
+
className: s,
|
|
14
|
+
children: y,
|
|
15
|
+
...c
|
|
16
16
|
}) => /* @__PURE__ */ t(
|
|
17
17
|
a,
|
|
18
18
|
{
|
|
19
|
-
className:
|
|
19
|
+
className: m(h.typography, s),
|
|
20
20
|
"data-size": p,
|
|
21
21
|
"data-color": n,
|
|
22
|
-
"data-variant":
|
|
23
|
-
...
|
|
24
|
-
children: o && /* @__PURE__ */ t(i, { loading: o, children: r }) ||
|
|
22
|
+
"data-variant": e,
|
|
23
|
+
...c,
|
|
24
|
+
children: o && /* @__PURE__ */ t(i, { loading: o, children: r }) || y
|
|
25
25
|
}
|
|
26
26
|
);
|
|
27
27
|
export {
|
package/dist/components/index.js
CHANGED
|
@@ -112,52 +112,53 @@ import { SnackbarColorEnum as ut, SnackbarItem as lt } from "./Snackbar/Snackbar
|
|
|
112
112
|
import { SnackbarDuration as Bt, SnackbarProvider as gt, useSnackbar as It } from "./Snackbar/useSnackbar.js";
|
|
113
113
|
import { Skeleton as Dt } from "./Skeleton/Skeleton.js";
|
|
114
114
|
import { Timeline as Mt } from "./Timeline/Timeline.js";
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
115
|
+
import { TimelineSegment as At } from "./Timeline/TimelineSegment.js";
|
|
116
|
+
import { TimelineActivity as kt } from "./Timeline/TimelineActivity.js";
|
|
117
|
+
import { TimelineBase as Ht } from "./Timeline/TimelineBase.js";
|
|
118
|
+
import { TimelineSection as Pt } from "./Timeline/TimelineSection.js";
|
|
119
|
+
import { TimelineHeader as vt } from "./Timeline/TimelineHeader.js";
|
|
120
|
+
import { TimelineFooter as Ct } from "./Timeline/TimelineFooter.js";
|
|
121
|
+
import { ToolbarBase as Rt } from "./Toolbar/ToolbarBase.js";
|
|
122
|
+
import { ToolbarButton as Ot } from "./Toolbar/ToolbarButton.js";
|
|
123
|
+
import { Toolbar as zt } from "./Toolbar/Toolbar.js";
|
|
124
|
+
import { ToolbarSearch as jt } from "./Toolbar/ToolbarSearch.js";
|
|
125
|
+
import { ToolbarFilter as Jt } from "./Toolbar/ToolbarFilter.js";
|
|
126
|
+
import { ToolbarDaterange as Ut } from "./Toolbar/ToolbarDaterange.js";
|
|
127
|
+
import { PageBase as Wt } from "./Page/PageBase.js";
|
|
128
|
+
import { PageNav as Yt } from "./Page/PageNav.js";
|
|
129
|
+
import { PageMenu as _t } from "./Page/PageMenu.js";
|
|
130
|
+
import { PageTabs as om } from "./Page/PageTabs.js";
|
|
131
|
+
import { PageHeader as em } from "./Page/PageHeader.js";
|
|
132
|
+
import { Article as mm } from "./Page/Article.js";
|
|
133
|
+
import { Section as xm } from "./Page/Section.js";
|
|
134
|
+
import { Flex as fm } from "./Page/Flex.js";
|
|
135
|
+
import { Grid as nm } from "./Page/Grid.js";
|
|
136
|
+
import { Breadcrumbs as cm } from "./Page/Breadcrumbs.js";
|
|
137
|
+
import { BreadcrumbsLink as lm } from "./Page/BreadcrumbsLink.js";
|
|
138
|
+
import { ContactSection as Bm } from "./Page/ContactSection.js";
|
|
139
|
+
import { Transmission as Im } from "./Transmission/Transmission.js";
|
|
140
|
+
import { TransmissionList as Dm } from "./Transmission/TransmissionList.js";
|
|
141
|
+
import { Typography as Mm } from "./Typography/Typography.js";
|
|
142
|
+
import { Heading as Am } from "./Typography/Heading.js";
|
|
143
|
+
import { ResourceList as km } from "./ResourceList/ResourceList.js";
|
|
144
|
+
import { ResourceListItem as Hm } from "./ResourceList/ResourceListItem.js";
|
|
145
|
+
import { AccessAreaListItem as Pm } from "./AccessAreaList/AccessAreaListItem.js";
|
|
146
|
+
import { AccessAreaList as vm } from "./AccessAreaList/AccessAreaList.js";
|
|
147
|
+
import { AccessPackageListItem as Cm } from "./AccessPackageList/AccessPackageListItem.js";
|
|
148
|
+
import { AccessPackageList as Rm } from "./AccessPackageList/AccessPackageList.js";
|
|
149
|
+
import { FieldBase as Om } from "./TextField/FieldBase.js";
|
|
150
|
+
import { InputBase as zm } from "./TextField/InputBase.js";
|
|
151
|
+
import { TextField as jm } from "./TextField/TextField.js";
|
|
151
152
|
export {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
153
|
+
vm as AccessAreaList,
|
|
154
|
+
Pm as AccessAreaListItem,
|
|
155
|
+
Rm as AccessPackageList,
|
|
156
|
+
Cm as AccessPackageListItem,
|
|
156
157
|
Wo as AccountButton,
|
|
157
158
|
Jo as AccountMenu,
|
|
158
159
|
Pr as ActionFooter,
|
|
159
160
|
Hr as ActionHeader,
|
|
160
|
-
|
|
161
|
+
mm as Article,
|
|
161
162
|
m as AttachmentLink,
|
|
162
163
|
x as AttachmentList,
|
|
163
164
|
ot as Autocomplete,
|
|
@@ -171,8 +172,8 @@ export {
|
|
|
171
172
|
c as Badge,
|
|
172
173
|
l as BookmarksListItem,
|
|
173
174
|
I as BookmarksSection,
|
|
174
|
-
|
|
175
|
-
|
|
175
|
+
cm as Breadcrumbs,
|
|
176
|
+
lm as BreadcrumbsLink,
|
|
176
177
|
k as Button,
|
|
177
178
|
D as ButtonBase,
|
|
178
179
|
A as ButtonIcon,
|
|
@@ -180,7 +181,7 @@ export {
|
|
|
180
181
|
v as Byline,
|
|
181
182
|
nr as CheckboxIcon,
|
|
182
183
|
H as ComboButton,
|
|
183
|
-
|
|
184
|
+
Bm as ContactSection,
|
|
184
185
|
C as ContextMenu,
|
|
185
186
|
R as Dialog,
|
|
186
187
|
_ as DialogActions,
|
|
@@ -211,20 +212,20 @@ export {
|
|
|
211
212
|
zo as DrawerOrDropdown,
|
|
212
213
|
ko as DropdownBase,
|
|
213
214
|
B as EditableBookmark,
|
|
214
|
-
|
|
215
|
-
|
|
215
|
+
Om as FieldBase,
|
|
216
|
+
fm as Flex,
|
|
216
217
|
jo as Footer,
|
|
217
218
|
Uo as GlobalMenu,
|
|
218
|
-
|
|
219
|
+
nm as Grid,
|
|
219
220
|
or as Header,
|
|
220
221
|
er as HeaderBase,
|
|
221
222
|
xr as HeaderButton,
|
|
222
223
|
mr as HeaderLogo,
|
|
223
|
-
|
|
224
|
+
Am as Heading,
|
|
224
225
|
fr as Icon,
|
|
225
226
|
P as IconButton,
|
|
226
227
|
Br as IconOrAvatar,
|
|
227
|
-
|
|
228
|
+
zm as InputBase,
|
|
228
229
|
kr as Layout,
|
|
229
230
|
vr as LayoutAction,
|
|
230
231
|
Ir as LayoutBase,
|
|
@@ -264,23 +265,23 @@ export {
|
|
|
264
265
|
Te as MetaListItem,
|
|
265
266
|
Ee as MetaProgress,
|
|
266
267
|
Qe as MetaTimestamp,
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
268
|
+
Wt as PageBase,
|
|
269
|
+
em as PageHeader,
|
|
270
|
+
_t as PageMenu,
|
|
271
|
+
Yt as PageNav,
|
|
272
|
+
om as PageTabs,
|
|
272
273
|
lr as ProgressIcon,
|
|
273
274
|
ft as QueryItem,
|
|
274
275
|
it as QueryLabel,
|
|
275
276
|
cr as RadioIcon,
|
|
276
|
-
|
|
277
|
-
|
|
277
|
+
km as ResourceList,
|
|
278
|
+
Hm as ResourceListItem,
|
|
278
279
|
Ne as RootProvider,
|
|
279
280
|
mt as ScopeListItem,
|
|
280
281
|
We as SearchField,
|
|
281
282
|
Je as Searchbar,
|
|
282
283
|
Ue as SearchbarBase,
|
|
283
|
-
|
|
284
|
+
xm as Section,
|
|
284
285
|
Ao as SeenByLog,
|
|
285
286
|
e as SizeEnum,
|
|
286
287
|
Dt as Skeleton,
|
|
@@ -290,22 +291,23 @@ export {
|
|
|
290
291
|
lt as SnackbarItem,
|
|
291
292
|
gt as SnackbarProvider,
|
|
292
293
|
xt as SuggestListItem,
|
|
293
|
-
|
|
294
|
+
jm as TextField,
|
|
294
295
|
Mt as Timeline,
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
Rt as
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
Im as
|
|
308
|
-
Dm as
|
|
296
|
+
kt as TimelineActivity,
|
|
297
|
+
Ht as TimelineBase,
|
|
298
|
+
Ct as TimelineFooter,
|
|
299
|
+
vt as TimelineHeader,
|
|
300
|
+
Pt as TimelineSection,
|
|
301
|
+
At as TimelineSegment,
|
|
302
|
+
zt as Toolbar,
|
|
303
|
+
Rt as ToolbarBase,
|
|
304
|
+
Ot as ToolbarButton,
|
|
305
|
+
Ut as ToolbarDaterange,
|
|
306
|
+
Jt as ToolbarFilter,
|
|
307
|
+
jt as ToolbarSearch,
|
|
308
|
+
Im as Transmission,
|
|
309
|
+
Dm as TransmissionList,
|
|
310
|
+
Mm as Typography,
|
|
309
311
|
je as useRootContext,
|
|
310
312
|
It as useSnackbar
|
|
311
313
|
};
|
package/dist/index.js
CHANGED
|
@@ -112,55 +112,56 @@ import { SnackbarColorEnum as ut, SnackbarItem as lt } from "./components/Snackb
|
|
|
112
112
|
import { SnackbarDuration as Bt, SnackbarProvider as gt, useSnackbar as It } from "./components/Snackbar/useSnackbar.js";
|
|
113
113
|
import { Skeleton as Dt } from "./components/Skeleton/Skeleton.js";
|
|
114
114
|
import { Timeline as bt } from "./components/Timeline/Timeline.js";
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
115
|
+
import { TimelineSegment as At } from "./components/Timeline/TimelineSegment.js";
|
|
116
|
+
import { TimelineActivity as kt } from "./components/Timeline/TimelineActivity.js";
|
|
117
|
+
import { TimelineBase as Ht } from "./components/Timeline/TimelineBase.js";
|
|
118
|
+
import { TimelineSection as Pt } from "./components/Timeline/TimelineSection.js";
|
|
119
|
+
import { TimelineHeader as vt } from "./components/Timeline/TimelineHeader.js";
|
|
120
|
+
import { TimelineFooter as wt } from "./components/Timeline/TimelineFooter.js";
|
|
121
|
+
import { ToolbarBase as Gt } from "./components/Toolbar/ToolbarBase.js";
|
|
122
|
+
import { ToolbarButton as Ot } from "./components/Toolbar/ToolbarButton.js";
|
|
123
|
+
import { Toolbar as zt } from "./components/Toolbar/Toolbar.js";
|
|
124
|
+
import { ToolbarSearch as Nt } from "./components/Toolbar/ToolbarSearch.js";
|
|
125
|
+
import { ToolbarFilter as qt } from "./components/Toolbar/ToolbarFilter.js";
|
|
126
|
+
import { ToolbarDaterange as Ut } from "./components/Toolbar/ToolbarDaterange.js";
|
|
127
|
+
import { PageBase as Wt } from "./components/Page/PageBase.js";
|
|
128
|
+
import { PageNav as Yt } from "./components/Page/PageNav.js";
|
|
129
|
+
import { PageMenu as _t } from "./components/Page/PageMenu.js";
|
|
130
|
+
import { PageTabs as om } from "./components/Page/PageTabs.js";
|
|
131
|
+
import { PageHeader as em } from "./components/Page/PageHeader.js";
|
|
132
|
+
import { Article as mm } from "./components/Page/Article.js";
|
|
133
|
+
import { Section as xm } from "./components/Page/Section.js";
|
|
134
|
+
import { Flex as fm } from "./components/Page/Flex.js";
|
|
135
|
+
import { Grid as nm } from "./components/Page/Grid.js";
|
|
136
|
+
import { Breadcrumbs as cm } from "./components/Page/Breadcrumbs.js";
|
|
137
|
+
import { BreadcrumbsLink as lm } from "./components/Page/BreadcrumbsLink.js";
|
|
138
|
+
import { ContactSection as Bm } from "./components/Page/ContactSection.js";
|
|
139
|
+
import { Transmission as Im } from "./components/Transmission/Transmission.js";
|
|
140
|
+
import { TransmissionList as Dm } from "./components/Transmission/TransmissionList.js";
|
|
141
|
+
import { Typography as bm } from "./components/Typography/Typography.js";
|
|
142
|
+
import { Heading as Am } from "./components/Typography/Heading.js";
|
|
143
|
+
import { ResourceList as km } from "./components/ResourceList/ResourceList.js";
|
|
144
|
+
import { ResourceListItem as Hm } from "./components/ResourceList/ResourceListItem.js";
|
|
145
|
+
import { AccessAreaListItem as Pm } from "./components/AccessAreaList/AccessAreaListItem.js";
|
|
146
|
+
import { AccessAreaList as vm } from "./components/AccessAreaList/AccessAreaList.js";
|
|
147
|
+
import { AccessPackageListItem as wm } from "./components/AccessPackageList/AccessPackageListItem.js";
|
|
148
|
+
import { AccessPackageList as Gm } from "./components/AccessPackageList/AccessPackageList.js";
|
|
149
|
+
import { FieldBase as Om } from "./components/TextField/FieldBase.js";
|
|
150
|
+
import { InputBase as zm } from "./components/TextField/InputBase.js";
|
|
151
|
+
import { TextField as Nm } from "./components/TextField/TextField.js";
|
|
152
|
+
import { useClickOutside as qm } from "./hooks/useClickOutside.js";
|
|
153
|
+
import { useEscapeKey as Um } from "./hooks/useEscapeKey.js";
|
|
154
|
+
import { useMenu as Wm } from "./hooks/useMenu.js";
|
|
154
155
|
export {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
vm as AccessAreaList,
|
|
157
|
+
Pm as AccessAreaListItem,
|
|
158
|
+
Gm as AccessPackageList,
|
|
159
|
+
wm as AccessPackageListItem,
|
|
159
160
|
Wo as AccountButton,
|
|
160
161
|
qo as AccountMenu,
|
|
161
162
|
Pr as ActionFooter,
|
|
162
163
|
Hr as ActionHeader,
|
|
163
|
-
|
|
164
|
+
mm as Article,
|
|
164
165
|
m as AttachmentLink,
|
|
165
166
|
x as AttachmentList,
|
|
166
167
|
ot as Autocomplete,
|
|
@@ -174,8 +175,8 @@ export {
|
|
|
174
175
|
c as Badge,
|
|
175
176
|
l as BookmarksListItem,
|
|
176
177
|
I as BookmarksSection,
|
|
177
|
-
|
|
178
|
-
|
|
178
|
+
cm as Breadcrumbs,
|
|
179
|
+
lm as BreadcrumbsLink,
|
|
179
180
|
k as Button,
|
|
180
181
|
D as ButtonBase,
|
|
181
182
|
A as ButtonIcon,
|
|
@@ -183,7 +184,7 @@ export {
|
|
|
183
184
|
v as Byline,
|
|
184
185
|
nr as CheckboxIcon,
|
|
185
186
|
H as ComboButton,
|
|
186
|
-
|
|
187
|
+
Bm as ContactSection,
|
|
187
188
|
w as ContextMenu,
|
|
188
189
|
G as Dialog,
|
|
189
190
|
_ as DialogActions,
|
|
@@ -214,20 +215,20 @@ export {
|
|
|
214
215
|
zo as DrawerOrDropdown,
|
|
215
216
|
ko as DropdownBase,
|
|
216
217
|
B as EditableBookmark,
|
|
217
|
-
|
|
218
|
-
|
|
218
|
+
Om as FieldBase,
|
|
219
|
+
fm as Flex,
|
|
219
220
|
No as Footer,
|
|
220
221
|
Uo as GlobalMenu,
|
|
221
|
-
|
|
222
|
+
nm as Grid,
|
|
222
223
|
or as Header,
|
|
223
224
|
er as HeaderBase,
|
|
224
225
|
xr as HeaderButton,
|
|
225
226
|
mr as HeaderLogo,
|
|
226
|
-
|
|
227
|
+
Am as Heading,
|
|
227
228
|
fr as Icon,
|
|
228
229
|
P as IconButton,
|
|
229
230
|
Br as IconOrAvatar,
|
|
230
|
-
|
|
231
|
+
zm as InputBase,
|
|
231
232
|
kr as Layout,
|
|
232
233
|
vr as LayoutAction,
|
|
233
234
|
Ir as LayoutBase,
|
|
@@ -267,23 +268,23 @@ export {
|
|
|
267
268
|
Te as MetaListItem,
|
|
268
269
|
Re as MetaProgress,
|
|
269
270
|
Qe as MetaTimestamp,
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
271
|
+
Wt as PageBase,
|
|
272
|
+
em as PageHeader,
|
|
273
|
+
_t as PageMenu,
|
|
274
|
+
Yt as PageNav,
|
|
275
|
+
om as PageTabs,
|
|
275
276
|
lr as ProgressIcon,
|
|
276
277
|
ft as QueryItem,
|
|
277
278
|
it as QueryLabel,
|
|
278
279
|
cr as RadioIcon,
|
|
279
|
-
|
|
280
|
-
|
|
280
|
+
km as ResourceList,
|
|
281
|
+
Hm as ResourceListItem,
|
|
281
282
|
Ke as RootProvider,
|
|
282
283
|
mt as ScopeListItem,
|
|
283
284
|
We as SearchField,
|
|
284
285
|
qe as Searchbar,
|
|
285
286
|
Ue as SearchbarBase,
|
|
286
|
-
|
|
287
|
+
xm as Section,
|
|
287
288
|
Ao as SeenByLog,
|
|
288
289
|
e as SizeEnum,
|
|
289
290
|
Dt as Skeleton,
|
|
@@ -293,25 +294,26 @@ export {
|
|
|
293
294
|
lt as SnackbarItem,
|
|
294
295
|
gt as SnackbarProvider,
|
|
295
296
|
xt as SuggestListItem,
|
|
296
|
-
|
|
297
|
+
Nm as TextField,
|
|
297
298
|
bt as Timeline,
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
Gt as
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
Im as
|
|
311
|
-
Dm as
|
|
312
|
-
|
|
313
|
-
qm as
|
|
314
|
-
Um as
|
|
299
|
+
kt as TimelineActivity,
|
|
300
|
+
Ht as TimelineBase,
|
|
301
|
+
wt as TimelineFooter,
|
|
302
|
+
vt as TimelineHeader,
|
|
303
|
+
Pt as TimelineSection,
|
|
304
|
+
At as TimelineSegment,
|
|
305
|
+
zt as Toolbar,
|
|
306
|
+
Gt as ToolbarBase,
|
|
307
|
+
Ot as ToolbarButton,
|
|
308
|
+
Ut as ToolbarDaterange,
|
|
309
|
+
qt as ToolbarFilter,
|
|
310
|
+
Nt as ToolbarSearch,
|
|
311
|
+
Im as Transmission,
|
|
312
|
+
Dm as TransmissionList,
|
|
313
|
+
bm as Typography,
|
|
314
|
+
qm as useClickOutside,
|
|
315
|
+
Um as useEscapeKey,
|
|
316
|
+
Wm as useMenu,
|
|
315
317
|
Ne as useRootContext,
|
|
316
318
|
It as useSnackbar
|
|
317
319
|
};
|
|
@@ -6,7 +6,7 @@ export type FlexAlign = 'initial' | 'start' | 'end' | 'center' | 'stretch';
|
|
|
6
6
|
export type FlexJustify = 'initial' | 'start' | 'end' | 'center' | 'between';
|
|
7
7
|
export type FlexSpacing = 'page' | 'xs' | Range<11>;
|
|
8
8
|
export type FlexPadding = 'page' | Range<11>;
|
|
9
|
-
export type FlexMargin = 'page' | 'section';
|
|
9
|
+
export type FlexMargin = 0 | 'page' | 'section' | 'bottom';
|
|
10
10
|
export interface FlexProps {
|
|
11
11
|
as?: FlexElement;
|
|
12
12
|
shadow?: Shadow;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { SectionProps } from '..';
|
|
2
3
|
export interface TimelineProps {
|
|
4
|
+
spacing?: SectionProps['spacing'];
|
|
3
5
|
children?: ReactNode;
|
|
4
6
|
}
|
|
5
|
-
export declare const Timeline: ({ children }: TimelineProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const Timeline: ({ spacing, children }: TimelineProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
declare const meta: {
|
|
2
2
|
title: string;
|
|
3
|
-
component: ({ children }: import('./Timeline').TimelineProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
component: ({ spacing, children }: import('./Timeline').TimelineProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
tags: string[];
|
|
5
5
|
parameters: {};
|
|
6
6
|
args: {};
|
|
7
7
|
};
|
|
8
8
|
export default meta;
|
|
9
9
|
export declare const ActivityLog: () => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const GroupedLog: () => import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export declare const UsingAvatars: () => import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
export declare const CollapsingElements: () => import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
export declare const DialogHistory: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,7 +6,7 @@ export interface TimelineActivityProps extends TimelineBaseProps {
|
|
|
6
6
|
datetime?: string;
|
|
7
7
|
border?: TimelineBorder;
|
|
8
8
|
byline?: ReactNode;
|
|
9
|
-
children?: ReactNode;
|
|
9
|
+
children?: string | ReactNode;
|
|
10
10
|
footer?: ReactNode;
|
|
11
11
|
typographyProps?: TypographyProps;
|
|
12
12
|
margin?: SectionProps['margin'];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { SectionProps, SvgElement, TimelineBaseProps, TimelineBorder, TypographyProps } from '..';
|
|
3
|
+
export interface TimelineSegmentProps extends TimelineBaseProps {
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
icon?: SvgElement;
|
|
6
|
+
datetime?: string;
|
|
7
|
+
border?: TimelineBorder;
|
|
8
|
+
byline?: ReactNode;
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
footer?: ReactNode;
|
|
11
|
+
typographyProps?: TypographyProps;
|
|
12
|
+
margin?: SectionProps['margin'];
|
|
13
|
+
spacing?: SectionProps['spacing'];
|
|
14
|
+
}
|
|
15
|
+
export declare const TimelineSegment: ({ loading, datetime, byline, icon, color, spacing, margin, children, footer, ...props }: TimelineSegmentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './Timeline';
|
|
2
|
+
export * from './TimelineSegment';
|
|
3
|
+
export * from './TimelineActivity';
|
|
2
4
|
export * from './TimelineBase';
|
|
3
5
|
export * from './TimelineSection';
|
|
4
6
|
export * from './TimelineHeader';
|
|
5
7
|
export * from './TimelineFooter';
|
|
6
|
-
export * from './TimelineActivity';
|