@altinn/altinn-components 0.20.2 → 0.21.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/ArrowUp-Cn3ai5t6.js +25 -0
- package/dist/assets/ButtonBase.css +1 -1
- package/dist/assets/ListItemLabel.css +1 -1
- package/dist/assets/TimelineBase.css +1 -1
- package/dist/assets/TimelineLink.css +1 -0
- package/dist/components/Button/ButtonBase.js +10 -10
- package/dist/components/Button/ButtonIcon.js +6 -6
- package/dist/components/Byline/Byline.js +12 -11
- package/dist/components/Dialog/DialogHistory.js +37 -54
- package/dist/components/List/ListItemLabel.js +16 -9
- package/dist/components/Timeline/Timeline.js +2 -2
- package/dist/components/Timeline/TimelineBase.js +25 -23
- package/dist/components/Timeline/TimelineFooter.js +5 -5
- package/dist/components/Timeline/TimelineHeader.js +9 -9
- package/dist/components/Timeline/TimelineLink.js +39 -0
- package/dist/components/Timeline/TimelineSection.js +16 -15
- package/dist/components/Timeline/TimelineSegment.js +12 -12
- package/dist/components/Timeline/index.js +2 -0
- package/dist/components/Transmission/Transmission.js +36 -33
- package/dist/components/Transmission/TransmissionTimeline.js +22 -0
- package/dist/components/Transmission/TransmissionTimelineSegment.js +63 -0
- package/dist/components/Transmission/index.js +7 -3
- package/dist/components/index.js +91 -85
- package/dist/index.js +96 -90
- package/dist/types/lib/components/Button/ButtonBase.d.ts +1 -1
- package/dist/types/lib/components/Button/ButtonIcon.d.ts +3 -2
- package/dist/types/lib/components/Byline/Byline.d.ts +1 -1
- package/dist/types/lib/components/Byline/Byline.stories.d.ts +1 -1
- package/dist/types/lib/components/List/ListItemLabel.d.ts +2 -1
- package/dist/types/lib/components/Page/Flex.d.ts +2 -3
- package/dist/types/lib/components/Timeline/TimelineBase.d.ts +5 -4
- package/dist/types/lib/components/Timeline/TimelineLink.d.ts +9 -0
- package/dist/types/lib/components/Timeline/TimelineSection.d.ts +3 -2
- package/dist/types/lib/components/Timeline/TimelineSection.stories.d.ts +1 -1
- package/dist/types/lib/components/Timeline/TimelineSegment.d.ts +3 -3
- package/dist/types/lib/components/Timeline/index.d.ts +1 -0
- package/dist/types/lib/components/Transmission/Transmission.d.ts +2 -6
- package/dist/types/lib/components/Transmission/TransmissionTimeline.d.ts +10 -0
- package/dist/types/lib/components/Transmission/TransmissionTimeline.stories.d.ts +74 -0
- package/dist/types/lib/components/Transmission/TransmissionTimelineSegment.d.ts +14 -0
- package/dist/types/lib/components/Transmission/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as a from "react";
|
|
3
|
+
import { forwardRef as i } from "react";
|
|
4
|
+
import { u as f } from "./useId-CsCRkvK3.js";
|
|
5
|
+
var d = function(t, o) {
|
|
6
|
+
var l = {};
|
|
7
|
+
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && o.indexOf(e) < 0 && (l[e] = t[e]);
|
|
8
|
+
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
9
|
+
for (var r = 0, e = Object.getOwnPropertySymbols(t); r < e.length; r++)
|
|
10
|
+
o.indexOf(e[r]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[r]) && (l[e[r]] = t[e[r]]);
|
|
11
|
+
return l;
|
|
12
|
+
};
|
|
13
|
+
const m = i((t, o) => {
|
|
14
|
+
var { title: l, titleId: e } = t, r = d(t, ["title", "titleId"]);
|
|
15
|
+
let n = f();
|
|
16
|
+
return n = l ? e || "title-" + n : void 0, a.createElement(
|
|
17
|
+
"svg",
|
|
18
|
+
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": n }, r),
|
|
19
|
+
l ? a.createElement("title", { id: n }, l) : null,
|
|
20
|
+
a.createElement("path", { fill: "currentColor", d: "M12.53 4.47a.75.75 0 0 0-1.06 0l-4.5 4.5a.75.75 0 0 0 1.06 1.06l3.22-3.22V19a.75.75 0 0 0 1.5 0V6.81l3.22 3.22a.75.75 0 1 0 1.06-1.06z" })
|
|
21
|
+
);
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
m as S
|
|
25
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._button_ppafq_1{border:1px solid;border-color:transparent;margin:0;padding:0;width:auto;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;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-user-select:none;user-select:none;cursor:pointer}._button_ppafq_1:disabled{opacity:.5;pointer-events:none}._button_ppafq_1[data-size=xs]{height:1.875rem}._button_ppafq_1[data-size=sm]{height:2.25rem}._button_ppafq_1[data-size=md]{height:2.75rem}._button_ppafq_1[data-size=lg]{height:3.5rem}._button_ppafq_1[data-variant=solid]{background-color:var(--ds-color-base-default);border-color:var(--ds-color-base-default);color:var(--ds-color-contrast-default)}._button_ppafq_1[data-variant=solid]:hover{background-color:var(--ds-color-base-hover)}._button_ppafq_1[data-variant=solid]:active{background-color:var(--ds-color-base-active)}._button_ppafq_1[data-variant=outline],._button_ppafq_1[data-variant=dotted]{border-color:var(--ds-color-base-default)}._button_ppafq_1[data-variant=outline]{border-style:solid}._button_ppafq_1[data-variant=dotted]{border-style:dotted}._button_ppafq_1[data-variant=text]{border-color:transparent;color:var(--ds-color-text-subtle)}._button_ppafq_1[data-variant=outline]:hover,._button_ppafq_1[data-variant=dotted]:hover,._button_ppafq_1[data-variant=text]:hover{background-color:var(--ds-color-surface-default);color:var(--ds-color-text-default)}._button_ppafq_1[data-variant=outline]:active,._button_ppafq_1[data-variant=dotted]:active,._button_ppafq_1[data-variant=text]:active{background-color:var(--ds-color-surface-active)}._button_ppafq_1[data-variant=link]{border:none;color:var(--ds-color-text-subtle)}._button_ppafq_1[data-variant=link]:hover{color:var(--ds-color-base-hover)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._label_fiqmy_3{width:100%}._label_fiqmy_3[data-size=xs]{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}._label_fiqmy_3[data-size=sm],._label_fiqmy_3[data-size=md],._label_fiqmy_3[data-size=lg],._label_fiqmy_3[data-size=xl]{display:flex;flex-direction:column;row-gap:.125rem}._label_fiqmy_3[data-size=xs],._label_fiqmy_3[data-size=sm],._label_fiqmy_3[data-size=md]{font-size:1rem}._label_fiqmy_3[data-size=lg]{font-size:1.125rem}._label_fiqmy_3[data-size=xl]{font-size:1.25rem}._title_fiqmy_43{display:inline;font-size:1em;line-height:1.125;margin:0}._title_fiqmy_43[data-weight=bold]{font-weight:600}._title_fiqmy_43[data-weight=normal]{font-weight:400}._description_fiqmy_58{display:inline;font-weight:400;line-height:1.125;color:var(--ds-color-text-subtle);margin:0}._description_fiqmy_58[data-size=xs],._description_fiqmy_58[data-size=sm],._description_fiqmy_58[data-size=md],._description_fiqmy_58[data-size=lg],._description_fiqmy_58[data-size=xl]{font-size:.875rem;line-height:1rem}[data-theme=base] ._description_fiqmy_58{color:var(--ds-color-contrast-subtle)}[data-theme=surface] ._description_fiqmy_58{color:var(--ds-color-text-default)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._section_et0gx_1{width:100%;display:flex;column-gap:.5rem;min-height:1.5rem}._sidebar_et0gx_8{flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;row-gap:.375rem;width:2.25rem}._sidebar_et0gx_8[data-level="2"]{width:1.5rem}._content_et0gx_22{flex-grow:1;display:flex;flex-direction:column}._border_et0gx_28{border-left:.25rem solid;border-color:var(--ds-color-surface-default);flex-grow:1}._icon_et0gx_34{color:var(--ds-color-surface-active)}._border_et0gx_28{border-color:var(--ds-color-surface-active);border-width:.125rem;flex-grow:1}._border_et0gx_28[data-variant=hidden]{display:none}._border_et0gx_28[data-variant=strong]{border-width:2px;border-style:solid}._border_et0gx_28[data-variant=solid]{border-width:1px;border-style:solid}._border_et0gx_28[data-variant=dashed]{border-width:1px;border-style:dashed}._border_et0gx_28[data-loading=true]{border-width:1px;border-style:dashed;border-color:var(--ds-color-border-subtle)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._button_18xbc_1{display:inline-flex;align-items:center;column-gap:.125em;height:1.5rem;align-self:flex-start}._reverse_18xbc_9{flex-direction:row-reverse}._icon_18xbc_13{font-size:1.25rem;width:1.5rem;height:1.5rem}._label_18xbc_19{font-size:14px;font-weight:400;line-height:1.125rem;padding:.1875rem 0}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { c as u } from "../../index-L8X2o7IH.js";
|
|
3
|
-
import '../../assets/ButtonBase.css';const
|
|
4
|
-
button:
|
|
3
|
+
import '../../assets/ButtonBase.css';const b = "_button_ppafq_1", i = {
|
|
4
|
+
button: b
|
|
5
5
|
}, B = ({
|
|
6
6
|
as: o,
|
|
7
7
|
color: a,
|
|
@@ -10,22 +10,22 @@ import '../../assets/ButtonBase.css';const i = "_button_mffb6_1", f = {
|
|
|
10
10
|
disabled: t = !1,
|
|
11
11
|
ariaLabel: e,
|
|
12
12
|
size: r,
|
|
13
|
-
selected:
|
|
13
|
+
selected: d,
|
|
14
14
|
variant: c,
|
|
15
|
-
tabIndex:
|
|
16
|
-
...
|
|
17
|
-
}) => /* @__PURE__ */
|
|
15
|
+
tabIndex: l = 0,
|
|
16
|
+
...m
|
|
17
|
+
}) => /* @__PURE__ */ p(
|
|
18
18
|
o || "button",
|
|
19
19
|
{
|
|
20
|
-
tabIndex:
|
|
20
|
+
tabIndex: l,
|
|
21
21
|
"data-size": r,
|
|
22
22
|
"data-variant": c,
|
|
23
23
|
"data-color": a,
|
|
24
24
|
"aria-disabled": t,
|
|
25
25
|
disabled: t,
|
|
26
|
-
className: u(
|
|
26
|
+
className: u(i.button, n),
|
|
27
27
|
"aria-label": e,
|
|
28
|
-
...
|
|
28
|
+
...m,
|
|
29
29
|
children: s
|
|
30
30
|
}
|
|
31
31
|
);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
2
|
+
import { c } from "../../index-L8X2o7IH.js";
|
|
3
|
+
import { Icon as m } from "../Icon/Icon.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "../RootProvider/RootProvider.js";
|
|
6
6
|
import "../Search/AutocompleteBase.js";
|
|
7
7
|
import "../Snackbar/useSnackbar.js";
|
|
8
|
-
import '../../assets/ButtonIcon.css';const
|
|
9
|
-
icon:
|
|
10
|
-
},
|
|
8
|
+
import '../../assets/ButtonIcon.css';const s = "_icon_ablit_1", e = {
|
|
9
|
+
icon: s
|
|
10
|
+
}, u = ({ className: t, size: i, icon: n, iconAltText: r }) => /* @__PURE__ */ o("span", { className: c(e.icon, t), "data-size": i, children: /* @__PURE__ */ o(m, { svgElement: n, altText: r }) });
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
u as ButtonIcon
|
|
13
13
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as b, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "../../index-L8X2o7IH.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import { Avatar as
|
|
5
|
-
import { AvatarGroup as
|
|
4
|
+
import { Avatar as d } from "../Avatar/Avatar.js";
|
|
5
|
+
import { AvatarGroup as y } from "../Avatar/AvatarGroup.js";
|
|
6
6
|
import "../RootProvider/RootProvider.js";
|
|
7
7
|
import { Skeleton as i } from "../Skeleton/Skeleton.js";
|
|
8
8
|
import "../Search/AutocompleteBase.js";
|
|
9
9
|
import "../Snackbar/useSnackbar.js";
|
|
10
|
-
import '../../assets/Byline.css';const
|
|
11
|
-
byline:
|
|
12
|
-
label:
|
|
13
|
-
},
|
|
10
|
+
import '../../assets/Byline.css';const _ = "_byline_160ic_1", N = "_label_160ic_7", t = {
|
|
11
|
+
byline: _,
|
|
12
|
+
label: N
|
|
13
|
+
}, S = ({
|
|
14
14
|
loading: r,
|
|
15
15
|
color: m = "neutral",
|
|
16
16
|
size: l = "xs",
|
|
@@ -18,11 +18,12 @@ import '../../assets/Byline.css';const y = "_byline_160ic_1", _ = "_label_160ic_
|
|
|
18
18
|
avatarGroup: o,
|
|
19
19
|
datetime: n,
|
|
20
20
|
children: s,
|
|
21
|
-
as: c
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
as: c,
|
|
22
|
+
...p
|
|
23
|
+
}) => /* @__PURE__ */ b(c || "div", { ...p, className: t.byline, "data-color": m, "data-size": l, children: [
|
|
24
|
+
(o || a) && /* @__PURE__ */ e(i, { variant: "circle", className: t.avatar, loading: r, children: o ? /* @__PURE__ */ e(y, { ...o, size: l, className: t.avatar }) : a && /* @__PURE__ */ e(d, { ...a, size: l, className: t.avatar }) }),
|
|
24
25
|
/* @__PURE__ */ e("time", { "data-size": l, dateTime: n, className: t.label, children: /* @__PURE__ */ e(i, { loading: r, children: s }) })
|
|
25
26
|
] });
|
|
26
27
|
export {
|
|
27
|
-
|
|
28
|
+
S as Byline
|
|
28
29
|
};
|
|
@@ -1,55 +1,38 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import * as
|
|
4
|
-
import { forwardRef as
|
|
5
|
-
import { Icon as
|
|
2
|
+
import { jsxs as f, jsx as i } from "react/jsx-runtime";
|
|
3
|
+
import * as s from "react";
|
|
4
|
+
import { forwardRef as p, useState as g, createElement as u } from "react";
|
|
5
|
+
import { Icon as y } from "../Icon/Icon.js";
|
|
6
6
|
import "../../index-L8X2o7IH.js";
|
|
7
7
|
import { ButtonBase as h } from "../Button/ButtonBase.js";
|
|
8
8
|
import "../RootProvider/RootProvider.js";
|
|
9
|
-
import { DialogActivity as
|
|
9
|
+
import { DialogActivity as v } from "./DialogActivity.js";
|
|
10
10
|
import "../Search/AutocompleteBase.js";
|
|
11
11
|
import "../Snackbar/useSnackbar.js";
|
|
12
|
-
import { Timeline as
|
|
13
|
-
import { TimelineSection as
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
12
|
+
import { Timeline as w } from "../Timeline/Timeline.js";
|
|
13
|
+
import { TimelineSection as x } from "../Timeline/TimelineSection.js";
|
|
14
|
+
import { S as b } from "../../ArrowUp-Cn3ai5t6.js";
|
|
15
|
+
import { u as O } from "../../useId-CsCRkvK3.js";
|
|
16
|
+
import '../../assets/DialogHistory.css';var E = function(e, l) {
|
|
16
17
|
var r = {};
|
|
17
|
-
for (var
|
|
18
|
-
if (
|
|
19
|
-
for (var
|
|
20
|
-
|
|
18
|
+
for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && l.indexOf(t) < 0 && (r[t] = e[t]);
|
|
19
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
20
|
+
for (var o = 0, t = Object.getOwnPropertySymbols(e); o < t.length; o++)
|
|
21
|
+
l.indexOf(t[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[o]) && (r[t[o]] = e[t[o]]);
|
|
21
22
|
return r;
|
|
22
23
|
};
|
|
23
|
-
const I =
|
|
24
|
-
var { title: r, titleId:
|
|
25
|
-
let
|
|
26
|
-
return
|
|
24
|
+
const I = p((e, l) => {
|
|
25
|
+
var { title: r, titleId: t } = e, o = E(e, ["title", "titleId"]);
|
|
26
|
+
let n = O();
|
|
27
|
+
return n = r ? t || "title-" + n : void 0, s.createElement(
|
|
27
28
|
"svg",
|
|
28
|
-
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref:
|
|
29
|
-
r ?
|
|
30
|
-
|
|
29
|
+
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: l, "aria-labelledby": n }, o),
|
|
30
|
+
r ? s.createElement("title", { id: n }, r) : null,
|
|
31
|
+
s.createElement("path", { fill: "currentColor", d: "M12.75 5a.75.75 0 0 0-1.5 0v12.19l-3.22-3.22a.75.75 0 0 0-1.06 1.06l4.5 4.5a.75.75 0 0 0 1.06 0l4.5-4.5a.75.75 0 1 0-1.06-1.06l-3.22 3.22z" })
|
|
31
32
|
);
|
|
32
|
-
})
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (r[e] = t[e]);
|
|
36
|
-
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
37
|
-
for (var l = 0, e = Object.getOwnPropertySymbols(t); l < e.length; l++)
|
|
38
|
-
n.indexOf(e[l]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[l]) && (r[e[l]] = t[e[l]]);
|
|
39
|
-
return r;
|
|
40
|
-
};
|
|
41
|
-
const E = m((t, n) => {
|
|
42
|
-
var { title: r, titleId: e } = t, l = j(t, ["title", "titleId"]);
|
|
43
|
-
let o = p();
|
|
44
|
-
return o = r ? e || "title-" + o : void 0, i.createElement(
|
|
45
|
-
"svg",
|
|
46
|
-
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: n, "aria-labelledby": o }, l),
|
|
47
|
-
r ? i.createElement("title", { id: o }, r) : null,
|
|
48
|
-
i.createElement("path", { fill: "currentColor", d: "M12.53 4.47a.75.75 0 0 0-1.06 0l-4.5 4.5a.75.75 0 0 0 1.06 1.06l3.22-3.22V19a.75.75 0 0 0 1.5 0V6.81l3.22 3.22a.75.75 0 1 0 1.06-1.06z" })
|
|
49
|
-
);
|
|
50
|
-
}), _ = "_toggle_1it16_1", S = {
|
|
51
|
-
toggle: _
|
|
52
|
-
}, c = ({ expanded: t, children: n, onClick: r }) => /* @__PURE__ */ d(
|
|
33
|
+
}), j = "_toggle_1it16_1", S = {
|
|
34
|
+
toggle: j
|
|
35
|
+
}, c = ({ expanded: e, children: l, onClick: r }) => /* @__PURE__ */ f(
|
|
53
36
|
h,
|
|
54
37
|
{
|
|
55
38
|
className: S.toggle,
|
|
@@ -57,24 +40,24 @@ const E = m((t, n) => {
|
|
|
57
40
|
onClick: r,
|
|
58
41
|
style: { display: "inline-flex", alignItems: "center" },
|
|
59
42
|
children: [
|
|
60
|
-
|
|
61
|
-
/* @__PURE__ */
|
|
43
|
+
l,
|
|
44
|
+
/* @__PURE__ */ i(y, { svgElement: e ? b : I, size: "sm" })
|
|
62
45
|
]
|
|
63
46
|
}
|
|
64
|
-
),
|
|
65
|
-
items:
|
|
66
|
-
collapsible:
|
|
47
|
+
), U = ({
|
|
48
|
+
items: e,
|
|
49
|
+
collapsible: l = !1,
|
|
67
50
|
expandLabel: r = "Expand history",
|
|
68
|
-
collapseLabel:
|
|
51
|
+
collapseLabel: t = "Collapse history"
|
|
69
52
|
}) => {
|
|
70
|
-
const [
|
|
71
|
-
|
|
53
|
+
const [o, n] = g(!1), m = () => {
|
|
54
|
+
n((a) => !a);
|
|
72
55
|
};
|
|
73
|
-
return
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
] }) : /* @__PURE__ */
|
|
56
|
+
return e ? o || !l ? /* @__PURE__ */ f(w, { children: [
|
|
57
|
+
e.map((a, d) => /* @__PURE__ */ u(v, { ...a, key: d })),
|
|
58
|
+
l && /* @__PURE__ */ i(c, { expanded: !0, onClick: m, children: t })
|
|
59
|
+
] }) : /* @__PURE__ */ i(x, { border: "dashed", children: /* @__PURE__ */ i(c, { onClick: m, children: r }) }) : null;
|
|
77
60
|
};
|
|
78
61
|
export {
|
|
79
|
-
|
|
62
|
+
U as DialogHistory
|
|
80
63
|
};
|
|
@@ -1,14 +1,21 @@
|
|
|
1
|
-
import { jsx as e, jsxs as o, Fragment as
|
|
1
|
+
import { jsx as e, jsxs as o, Fragment as m } from "react/jsx-runtime";
|
|
2
2
|
import { Skeleton as c } from "../Skeleton/Skeleton.js";
|
|
3
|
-
import '../../assets/ListItemLabel.css';const
|
|
4
|
-
label:
|
|
5
|
-
title:
|
|
6
|
-
description:
|
|
7
|
-
},
|
|
8
|
-
|
|
3
|
+
import '../../assets/ListItemLabel.css';const d = "_label_fiqmy_3", _ = "_title_fiqmy_43", p = "_description_fiqmy_58", l = {
|
|
4
|
+
label: d,
|
|
5
|
+
title: _,
|
|
6
|
+
description: p
|
|
7
|
+
}, f = ({
|
|
8
|
+
loading: s = !1,
|
|
9
|
+
size: t = "sm",
|
|
10
|
+
title: n,
|
|
11
|
+
weight: r = "bold",
|
|
12
|
+
description: i,
|
|
13
|
+
children: a
|
|
14
|
+
}) => /* @__PURE__ */ e("span", { className: l.label, "data-size": t, children: a || /* @__PURE__ */ o(m, { children: [
|
|
15
|
+
/* @__PURE__ */ e("h2", { className: l.title, "data-size": t, "data-weight": r, children: /* @__PURE__ */ e(c, { loading: s, children: n }) }),
|
|
9
16
|
" ",
|
|
10
|
-
|
|
17
|
+
i && /* @__PURE__ */ e("p", { className: l.description, "data-size": t, children: /* @__PURE__ */ e(c, { loading: s, children: i }) })
|
|
11
18
|
] }) });
|
|
12
19
|
export {
|
|
13
|
-
|
|
20
|
+
f as ListItemLabel
|
|
14
21
|
};
|
|
@@ -5,7 +5,7 @@ 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 l = ({ spacing: o = 2, children: r }) => /* @__PURE__ */ t(i, { as: "ul", spacing: o, children: r });
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
l as Timeline
|
|
11
11
|
};
|
|
@@ -1,35 +1,37 @@
|
|
|
1
|
-
import { jsxs as n, jsx as
|
|
2
|
-
import { Icon as
|
|
1
|
+
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Icon as p } from "../Icon/Icon.js";
|
|
3
3
|
import "../../index-L8X2o7IH.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import { Avatar as
|
|
5
|
+
import { Avatar as x } from "../Avatar/Avatar.js";
|
|
6
6
|
import "../RootProvider/RootProvider.js";
|
|
7
|
-
import { Skeleton as
|
|
7
|
+
import { Skeleton as b } from "../Skeleton/Skeleton.js";
|
|
8
8
|
import "../Search/AutocompleteBase.js";
|
|
9
9
|
import "../Snackbar/useSnackbar.js";
|
|
10
|
-
import { Flex as
|
|
11
|
-
import '../../assets/TimelineBase.css';const
|
|
12
|
-
section:
|
|
10
|
+
import { Flex as g } from "../Page/Flex.js";
|
|
11
|
+
import '../../assets/TimelineBase.css';const v = "_section_et0gx_1", f = "_sidebar_et0gx_8", N = "_content_et0gx_22", h = "_border_et0gx_28", j = "_icon_et0gx_34", t = {
|
|
12
|
+
section: v,
|
|
13
13
|
sidebar: f,
|
|
14
|
-
content:
|
|
15
|
-
border:
|
|
16
|
-
icon:
|
|
17
|
-
},
|
|
14
|
+
content: N,
|
|
15
|
+
border: h,
|
|
16
|
+
icon: j
|
|
17
|
+
}, T = ({
|
|
18
18
|
as: c = "section",
|
|
19
|
-
loading:
|
|
19
|
+
loading: o,
|
|
20
20
|
border: a = "solid",
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
21
|
+
level: m = 1,
|
|
22
|
+
color: s,
|
|
23
|
+
icon: r,
|
|
24
|
+
iconColor: d,
|
|
25
|
+
avatar: i,
|
|
26
|
+
children: l,
|
|
27
|
+
..._
|
|
28
|
+
}) => /* @__PURE__ */ n(g, { as: c, className: t.section, color: s, ..._, children: [
|
|
29
|
+
/* @__PURE__ */ n("aside", { className: t.sidebar, "data-level": m, children: [
|
|
30
|
+
i && /* @__PURE__ */ e(x, { ...i, size: "sm" }) || r && /* @__PURE__ */ e(b, { loading: o, variant: "circle", children: /* @__PURE__ */ e("span", { "data-color": d, className: t.icon, children: /* @__PURE__ */ e(p, { svgElement: r, size: "sm" }) }) }),
|
|
31
|
+
/* @__PURE__ */ e("div", { className: t.border, "data-loading": o, "data-variant": a, "data-color": s })
|
|
30
32
|
] }),
|
|
31
|
-
/* @__PURE__ */
|
|
33
|
+
/* @__PURE__ */ e("div", { className: t.content, children: l })
|
|
32
34
|
] });
|
|
33
35
|
export {
|
|
34
|
-
|
|
36
|
+
T as TimelineBase
|
|
35
37
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import "../../index-L8X2o7IH.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { Byline as l } from "../Byline/Byline.js";
|
|
@@ -9,12 +9,12 @@ import { TimelineBase as n } from "./TimelineBase.js";
|
|
|
9
9
|
import { S as f } from "../../CircleFill-IZdiBc_K.js";
|
|
10
10
|
const S = ({
|
|
11
11
|
loading: r,
|
|
12
|
-
as:
|
|
13
|
-
color:
|
|
14
|
-
icon:
|
|
12
|
+
as: o = "li",
|
|
13
|
+
color: m = "neutral",
|
|
14
|
+
icon: e = f,
|
|
15
15
|
iconColor: t,
|
|
16
16
|
children: p
|
|
17
|
-
}) => /* @__PURE__ */
|
|
17
|
+
}) => /* @__PURE__ */ i(n, { loading: r, as: o, icon: e, color: m, iconColor: t, border: "hidden", children: /* @__PURE__ */ i(l, { loading: r, children: p }) });
|
|
18
18
|
export {
|
|
19
19
|
S as TimelineFooter
|
|
20
20
|
};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "../../index-L8X2o7IH.js";
|
|
3
|
-
import { IconOrAvatar as
|
|
3
|
+
import { IconOrAvatar as l } from "../Icon/IconOrAvatar.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import { Byline as
|
|
5
|
+
import { Byline as d } from "../Byline/Byline.js";
|
|
6
6
|
import "../RootProvider/RootProvider.js";
|
|
7
7
|
import { Skeleton as p } from "../Skeleton/Skeleton.js";
|
|
8
8
|
import "../Search/AutocompleteBase.js";
|
|
9
9
|
import "../Snackbar/useSnackbar.js";
|
|
10
|
-
import { Flex as
|
|
11
|
-
import '../../assets/TimelineHeader.css';const
|
|
12
|
-
header:
|
|
10
|
+
import { Flex as _ } from "../Page/Flex.js";
|
|
11
|
+
import '../../assets/TimelineHeader.css';const h = "_header_177gq_1", b = "_sidebar_177gq_9", f = "_content_177gq_19", r = {
|
|
12
|
+
header: h,
|
|
13
13
|
sidebar: b,
|
|
14
14
|
content: f
|
|
15
15
|
}, A = ({
|
|
16
|
-
as: i = "
|
|
16
|
+
as: i = "li",
|
|
17
17
|
loading: t,
|
|
18
18
|
color: o,
|
|
19
19
|
icon: s,
|
|
20
20
|
iconTheme: n = "base",
|
|
21
21
|
avatar: a,
|
|
22
22
|
children: c
|
|
23
|
-
}) => /* @__PURE__ */ m(
|
|
24
|
-
/* @__PURE__ */ e("aside", { className: r.sidebar, children: /* @__PURE__ */ e(p, { variant: "circle", loading: t, children: /* @__PURE__ */ e(
|
|
25
|
-
/* @__PURE__ */ e("div", { className: r.content, children: /* @__PURE__ */ e(
|
|
23
|
+
}) => /* @__PURE__ */ m(_, { as: i, className: r.header, color: o, children: [
|
|
24
|
+
/* @__PURE__ */ e("aside", { className: r.sidebar, children: /* @__PURE__ */ e(p, { variant: "circle", loading: t, children: /* @__PURE__ */ e(l, { size: "lg", icon: s, iconTheme: n, avatar: a }) }) }),
|
|
25
|
+
/* @__PURE__ */ e("div", { className: r.content, children: /* @__PURE__ */ e(d, { loading: t, size: "lg", children: c }) })
|
|
26
26
|
] });
|
|
27
27
|
export {
|
|
28
28
|
A as TimelineHeader
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { c as a } from "../../index-L8X2o7IH.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import { ButtonBase as b } from "../Button/ButtonBase.js";
|
|
5
|
+
import { ButtonLabel as _ } from "../Button/ButtonLabel.js";
|
|
6
|
+
import { ButtonIcon as p } from "../Button/ButtonIcon.js";
|
|
7
|
+
import "../RootProvider/RootProvider.js";
|
|
8
|
+
import "../Search/AutocompleteBase.js";
|
|
9
|
+
import "../Snackbar/useSnackbar.js";
|
|
10
|
+
import '../../assets/TimelineLink.css';const u = "_button_18xbc_1", x = "_reverse_18xbc_9", f = "_icon_18xbc_13", v = "_label_18xbc_19", o = {
|
|
11
|
+
button: u,
|
|
12
|
+
reverse: x,
|
|
13
|
+
icon: f,
|
|
14
|
+
label: v
|
|
15
|
+
}, T = ({
|
|
16
|
+
size: t = "custom",
|
|
17
|
+
color: n = "company",
|
|
18
|
+
icon: r,
|
|
19
|
+
reverse: c,
|
|
20
|
+
label: s,
|
|
21
|
+
children: m,
|
|
22
|
+
...i
|
|
23
|
+
}) => /* @__PURE__ */ l(
|
|
24
|
+
b,
|
|
25
|
+
{
|
|
26
|
+
color: n,
|
|
27
|
+
variant: "link",
|
|
28
|
+
size: t,
|
|
29
|
+
className: a(o.button, { [o.reverse]: c }),
|
|
30
|
+
...i,
|
|
31
|
+
children: [
|
|
32
|
+
r && /* @__PURE__ */ e(p, { className: o.icon, size: t, icon: r }),
|
|
33
|
+
/* @__PURE__ */ e(_, { className: o.label, size: t, children: m || s })
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
export {
|
|
38
|
+
T as TimelineLink
|
|
39
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as m, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import "../../index-L8X2o7IH.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { Byline as x } from "../Byline/Byline.js";
|
|
@@ -7,25 +7,26 @@ import "../Search/AutocompleteBase.js";
|
|
|
7
7
|
import "../Snackbar/useSnackbar.js";
|
|
8
8
|
import { TimelineBase as T } from "./TimelineBase.js";
|
|
9
9
|
import { Section as j } from "../Page/Section.js";
|
|
10
|
-
import { Typography as
|
|
11
|
-
const
|
|
10
|
+
import { Typography as y } from "../Typography/Typography.js";
|
|
11
|
+
const w = ({
|
|
12
12
|
loading: r,
|
|
13
13
|
margin: p,
|
|
14
14
|
spacing: e,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
as: n = "li",
|
|
16
|
+
border: s = "strong",
|
|
17
|
+
color: c,
|
|
18
|
+
typographyProps: f = {},
|
|
19
|
+
datetime: h,
|
|
19
20
|
byline: o,
|
|
20
|
-
children:
|
|
21
|
-
footer:
|
|
22
|
-
}) => /* @__PURE__ */
|
|
23
|
-
o && /* @__PURE__ */ t(x, { loading: r, datetime:
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
children: i,
|
|
22
|
+
footer: l
|
|
23
|
+
}) => /* @__PURE__ */ m(T, { loading: r, border: s, color: c, as: n, children: [
|
|
24
|
+
o && /* @__PURE__ */ t(x, { loading: r, datetime: h, children: o }),
|
|
25
|
+
/* @__PURE__ */ m(j, { margin: p, spacing: e, children: [
|
|
26
|
+
i && /* @__PURE__ */ t(y, { loading: r, size: "md", ...f, children: i }),
|
|
27
|
+
l
|
|
27
28
|
] })
|
|
28
29
|
] });
|
|
29
30
|
export {
|
|
30
|
-
|
|
31
|
+
w as TimelineSection
|
|
31
32
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { jsx as i, jsxs as
|
|
1
|
+
import { jsx as i, jsxs as c } from "react/jsx-runtime";
|
|
2
2
|
import "../../index-L8X2o7IH.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import { Byline as
|
|
4
|
+
import { Byline as f } from "../Byline/Byline.js";
|
|
5
5
|
import "../RootProvider/RootProvider.js";
|
|
6
6
|
import "../Search/AutocompleteBase.js";
|
|
7
7
|
import "../Snackbar/useSnackbar.js";
|
|
8
8
|
import { TimelineBase as S } from "./TimelineBase.js";
|
|
9
|
-
import { Section as
|
|
10
|
-
import { S as
|
|
9
|
+
import { Section as a } from "../Page/Section.js";
|
|
10
|
+
import { S as h } from "../../CircleFill-IZdiBc_K.js";
|
|
11
11
|
const k = ({
|
|
12
12
|
loading: r,
|
|
13
13
|
datetime: m,
|
|
14
14
|
byline: o,
|
|
15
|
-
icon: t =
|
|
15
|
+
icon: t = h,
|
|
16
16
|
color: e = "neutral",
|
|
17
17
|
spacing: p = 2,
|
|
18
|
-
margin:
|
|
19
|
-
children:
|
|
20
|
-
footer:
|
|
21
|
-
...
|
|
22
|
-
}) => /* @__PURE__ */ i(S, { loading: r, color: e, icon: t, ...
|
|
23
|
-
o && /* @__PURE__ */ i(
|
|
24
|
-
|
|
18
|
+
margin: l = "bottom",
|
|
19
|
+
children: n,
|
|
20
|
+
footer: x,
|
|
21
|
+
...s
|
|
22
|
+
}) => /* @__PURE__ */ i(S, { loading: r, color: e, icon: t, as: "li", ...s, children: /* @__PURE__ */ c(a, { margin: l, spacing: p, children: [
|
|
23
|
+
o && /* @__PURE__ */ i(f, { loading: r, datetime: m, children: o }),
|
|
24
|
+
n
|
|
25
25
|
] }) });
|
|
26
26
|
export {
|
|
27
27
|
k as TimelineSegment
|
|
@@ -5,12 +5,14 @@ import { TimelineBase as l } from "./TimelineBase.js";
|
|
|
5
5
|
import { TimelineSection as x } from "./TimelineSection.js";
|
|
6
6
|
import { TimelineHeader as a } from "./TimelineHeader.js";
|
|
7
7
|
import { TimelineFooter as S } from "./TimelineFooter.js";
|
|
8
|
+
import { TimelineLink as g } from "./TimelineLink.js";
|
|
8
9
|
export {
|
|
9
10
|
o as Timeline,
|
|
10
11
|
n as TimelineActivity,
|
|
11
12
|
l as TimelineBase,
|
|
12
13
|
S as TimelineFooter,
|
|
13
14
|
a as TimelineHeader,
|
|
15
|
+
g as TimelineLink,
|
|
14
16
|
x as TimelineSection,
|
|
15
17
|
m as TimelineSegment
|
|
16
18
|
};
|