@kystverket/styrbord 1.1.12 → 1.1.14
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/main.js +46 -32
- package/dist/main.umd.cjs +11 -11
- package/dist/src/components/kystverket/Image/svgImage.d.ts +61 -0
- package/dist/src/components/kystverket/Image/{image.stories.d.ts → svgImage.stories.d.ts} +2 -2
- package/dist/src/main.d.ts +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/src/components/kystverket/Image/image.d.ts +0 -61
package/dist/main.js
CHANGED
|
@@ -5,7 +5,7 @@ var E = (n, r, e) => m8(n, typeof r != "symbol" ? r + "" : r, e);
|
|
|
5
5
|
import * as W from "react";
|
|
6
6
|
import y, { useEffect as ee, useState as m4, useRef as A1, useCallback as H3, useLayoutEffect as te, cloneElement as re, createRef as E0, Component as S2, createElement as Q3, createContext as v8, useContext as g8 } from "react";
|
|
7
7
|
import { ValidationMessage as H0, Label as k1, Spinner as v4, Details as M8, DetailsSummary as y8, DetailsContent as w8, Card as O3, Heading as g1, Fieldset as h1, Checkbox as b8, Radio as _8, Select as f1, Paragraph as T1, Divider as k7, Field as O0, Input as g4, Button as L8, Textfield as X3, Tabs as j4, Tag as x8, Link as k8, Table as r1, Avatar as D8 } from "@digdir/designsystemet-react";
|
|
8
|
-
import { Badge as vd, BadgePosition as gd, Breadcrumbs as Md, BreadcrumbsItem as yd, BreadcrumbsLink as wd, BreadcrumbsList as bd, Card as _d, CardBlock as Ld, Checkbox as xd, Chip as kd, ChipButton as Dd, ChipCheckbox as Zd, ChipRadio as Sd, ChipRemovable as Pd, Combobox as Td, ComboboxEmpty as Ed, ComboboxOption as Hd, Details as Od, DetailsContent as Id, DetailsSummary as Rd, Dialog as Nd, DialogBlock as Fd, DialogTrigger as jd, DialogTriggerContext as Vd, Divider as Ad, Dropdown as Bd, DropdownButton as Yd, DropdownHeading as Wd, DropdownItem as Ud, DropdownList as zd, DropdownTrigger as qd, DropdownTriggerContext as $d, EXPERIMENTAL_Suggestion as Gd, EXPERIMENTAL_SuggestionClear as Kd, EXPERIMENTAL_SuggestionEmpty as Qd, EXPERIMENTAL_SuggestionInput as Xd, EXPERIMENTAL_SuggestionList as Jd, EXPERIMENTAL_SuggestionOption as eu, ErrorSummary as tu, ErrorSummaryHeading as ru, ErrorSummaryItem as nu, ErrorSummaryLink as au, ErrorSummaryList as iu, Field as su, FieldAffix as ou, FieldAffixes as lu, FieldCounter as cu, FieldDescription as du, Fieldset as uu, FieldsetDescription as hu, FieldsetLegend as fu, Heading as Cu, Input as pu, Label as mu, List as vu, ListItem as gu, ListOrdered as Mu, ListUnordered as yu, Pagination as wu, PaginationButton as bu, PaginationItem as _u, PaginationList as Lu, Paragraph as xu, Popover as ku, PopoverTrigger as Du, PopoverTriggerContext as Zu, Radio as Su,
|
|
8
|
+
import { Badge as vd, BadgePosition as gd, Breadcrumbs as Md, BreadcrumbsItem as yd, BreadcrumbsLink as wd, BreadcrumbsList as bd, Card as _d, CardBlock as Ld, Checkbox as xd, Chip as kd, ChipButton as Dd, ChipCheckbox as Zd, ChipRadio as Sd, ChipRemovable as Pd, Combobox as Td, ComboboxEmpty as Ed, ComboboxOption as Hd, Details as Od, DetailsContent as Id, DetailsSummary as Rd, Dialog as Nd, DialogBlock as Fd, DialogTrigger as jd, DialogTriggerContext as Vd, Divider as Ad, Dropdown as Bd, DropdownButton as Yd, DropdownHeading as Wd, DropdownItem as Ud, DropdownList as zd, DropdownTrigger as qd, DropdownTriggerContext as $d, EXPERIMENTAL_Suggestion as Gd, EXPERIMENTAL_SuggestionClear as Kd, EXPERIMENTAL_SuggestionEmpty as Qd, EXPERIMENTAL_SuggestionInput as Xd, EXPERIMENTAL_SuggestionList as Jd, EXPERIMENTAL_SuggestionOption as eu, ErrorSummary as tu, ErrorSummaryHeading as ru, ErrorSummaryItem as nu, ErrorSummaryLink as au, ErrorSummaryList as iu, Field as su, FieldAffix as ou, FieldAffixes as lu, FieldCounter as cu, FieldDescription as du, Fieldset as uu, FieldsetDescription as hu, FieldsetLegend as fu, Heading as Cu, Input as pu, Label as mu, List as vu, ListItem as gu, ListOrdered as Mu, ListUnordered as yu, Pagination as wu, PaginationButton as bu, PaginationItem as _u, PaginationList as Lu, Paragraph as xu, Popover as ku, PopoverTrigger as Du, PopoverTriggerContext as Zu, Radio as Su, RovingFocusItem as Pu, RovingFocusRoot as Tu, Search as Eu, SearchButton as Hu, SearchClear as Ou, SearchInput as Iu, SelectOptgroup as Ru, Skeleton as Nu, SkipLink as Fu, Spinner as ju, EXPERIMENTAL_Suggestion as Vu, Switch as Au, TableBody as Bu, TableCell as Yu, TableFoot as Wu, TableHead as Uu, TableHeaderCell as zu, TableRow as qu, TabsList as $u, TabsPanel as Gu, TabsTab as Ku, Textarea as Qu, Textfield as Xu, ToggleGroup as Ju, ToggleGroupItem as eh, Tooltip as th, ValidationMessage as rh, omit as nh, useCheckboxGroup as ah, useDebounceCallback as ih, useIsomorphicLayoutEffect as sh, useMediaQuery as oh, usePagination as lh, useRadioGroup as ch, useSynchronizedAnimation as dh } from "@digdir/designsystemet-react";
|
|
9
9
|
import * as Z8 from "react-dom";
|
|
10
10
|
import S8 from "react-dom";
|
|
11
11
|
var I3 = { exports: {} }, E1 = {};
|
|
@@ -1771,7 +1771,13 @@ e7.propTypes = {
|
|
|
1771
1771
|
useRequestCache: _2.bool,
|
|
1772
1772
|
wrapper: _2.oneOf(["div", "span", "svg"])
|
|
1773
1773
|
};
|
|
1774
|
-
const uc = ["primary", "info", "accent", "sand", "neutral", "white"], $ = ({
|
|
1774
|
+
const uc = ["primary", "info", "accent", "sand", "neutral", "white"], $ = ({
|
|
1775
|
+
name: n,
|
|
1776
|
+
src: r,
|
|
1777
|
+
"data-color": e = "primary",
|
|
1778
|
+
className: t = "",
|
|
1779
|
+
...a
|
|
1780
|
+
}) => {
|
|
1775
1781
|
const i = [n3.svg, n ? n3[n] : "", n3[e], t || ""], s = { "--kyv-svg-size": `calc(var(--ds-size-unit) * ${a.size ?? 18})` };
|
|
1776
1782
|
return /* @__PURE__ */ h.jsx(e7, { style: s, className: i.join(" "), src: r, ...a });
|
|
1777
1783
|
}, hc = (n) => /* @__PURE__ */ h.jsx($, { name: "hais", ...n, src: W6 }), fc = (n) => /* @__PURE__ */ h.jsx($, { name: "aissat", ...n, src: F6 }), Cc = (n) => /* @__PURE__ */ h.jsx($, { name: "datakatalog", ...n, src: ae }), pc = (n) => /* @__PURE__ */ h.jsx($, { name: "arcticinfo", ...n, src: j6 }), mc = (n) => /* @__PURE__ */ h.jsx($, { name: "avgiftskalkulator", ...n, src: V6 }), vc = (n) => /* @__PURE__ */ h.jsx($, { name: "baatfart_marine", ...n, src: A6 }), gc = (n) => /* @__PURE__ */ h.jsx($, { name: "bestille_los", ...n, src: B6 }), Mc = (n) => /* @__PURE__ */ h.jsx($, { name: "boelgevarsel", ...n, src: Y6 }), yc = (n) => /* @__PURE__ */ h.jsx($, { name: "dgps", ...n, src: mt }), wc = (n) => /* @__PURE__ */ h.jsx($, { name: "digitale_referanseruter", ...n, src: G6 }), bc = (n) => /* @__PURE__ */ h.jsx($, { name: "edialog", ...n, src: z6 }), _c = (n) => /* @__PURE__ */ h.jsx($, { name: "farledsbevis", ...n, src: ie }), Lc = (n) => /* @__PURE__ */ h.jsx($, { name: "soeknad_om_farledsbevis", ...n, src: ie }), xc = (n) => /* @__PURE__ */ h.jsx($, { name: "havbase", ...n, src: U6 }), kc = (n) => /* @__PURE__ */ h.jsx($, { name: "havn_og_farvannsloven", ...n, src: $6 }), Dc = (n) => /* @__PURE__ */ h.jsx($, { name: "istjeneste", ...n, src: yt }), Zc = (n) => /* @__PURE__ */ h.jsx($, { name: "ismelding", ...n, src: wt }), Sc = (n) => /* @__PURE__ */ h.jsx($, { name: "kikkert", ...n, src: Mt }), Pc = (n) => /* @__PURE__ */ h.jsx($, { name: "kystdatahuset", ...n, src: ae }), Tc = (n) => /* @__PURE__ */ h.jsx($, { name: "kystinfo_kart", ...n, src: st }), Ec = (n) => /* @__PURE__ */ h.jsx($, { name: "lavutslipp", ...n, src: J6 }), Hc = (n) => /* @__PURE__ */ h.jsx($, { name: "lrit", ...n, src: vt }), Oc = (n) => /* @__PURE__ */ h.jsx($, { name: "nasjonal_havneoversikt", ...n, src: gt }), Ic = (n) => /* @__PURE__ */ h.jsx($, { name: "navigasjonsvarsler", ...n, src: K6 }), Rc = (n) => /* @__PURE__ */ h.jsx($, { name: "ohoi", ...n, src: q6 }), Nc = (n) => /* @__PURE__ */ h.jsx($, { name: "registrerte_seilaser", ...n, src: nt }), Fc = (n) => /* @__PURE__ */ h.jsx($, { name: "se_losbestilling", ...n, src: X6 }), jc = (n) => /* @__PURE__ */ h.jsx($, { name: "skipsrapportering", ...n, src: se }), Vc = (n) => /* @__PURE__ */ h.jsx($, { name: "digitale_fyrbesoek", ...n, src: rt }), Ac = (n) => /* @__PURE__ */ h.jsx($, { name: "slukkede_fyrlys", ...n, src: Q6 }), Bc = (n) => /* @__PURE__ */ h.jsx($, { name: "maru", ...n, src: et }), Yc = (n) => /* @__PURE__ */ h.jsx($, { name: "navarea", ...n, src: tt }), Wc = (n) => /* @__PURE__ */ h.jsx($, { name: "kystreise", ...n, src: at }), Uc = (n) => /* @__PURE__ */ h.jsx($, { name: "megafon", ...n, src: it }), zc = (n) => /* @__PURE__ */ h.jsx($, { name: "safeSeaNet", ...n, src: se }), qc = (n) => /* @__PURE__ */ h.jsx($, { name: "selvbetjening", ...n, src: ot }), $c = (n) => /* @__PURE__ */ h.jsx($, { name: "selvbetjeningRso", ...n, src: lt }), Gc = (n) => /* @__PURE__ */ h.jsx($, { name: "nais", ...n, src: ct }), Kc = (n) => /* @__PURE__ */ h.jsx($, { name: "kystvaer", ...n, src: dt }), Qc = (n) => /* @__PURE__ */ h.jsx($, { name: "forespoersel_sendt", ...n, src: ut }), Xc = (n) => /* @__PURE__ */ h.jsx($, { name: "bw_nais", ...n, src: ht }), Jc = (n) => /* @__PURE__ */ h.jsx($, { name: "bw_ohoi", ...n, src: ft }), ed = (n) => /* @__PURE__ */ h.jsx($, { name: "bw_boelgevarsel", ...n, src: Ct }), td = (n) => /* @__PURE__ */ h.jsx($, { name: "bw_arcticinfo", ...n, src: pt }), $t = "_toggleGroup_iaz77_2", Y2 = {
|
|
@@ -1915,7 +1921,7 @@ function ue({ className: n, variant: r = "blue-horizontal", alt: e = "Til forsid
|
|
|
1915
1921
|
const o = s / i;
|
|
1916
1922
|
return t && a ? (i = t, s = a) : t && !a ? (s = t * o, i = t) : a && !t && (s = a, i = a / o), /* @__PURE__ */ h.jsx("img", { className: n, src: h3[r].image, alt: e, height: i, width: s });
|
|
1917
1923
|
}
|
|
1918
|
-
const M9 = "
|
|
1924
|
+
const M9 = "_footer_aepms_2", y9 = "_footerContainer_aepms_10", w9 = "_linksContainer_aepms_18", b9 = "_linksAndContactsContainer_aepms_19", _9 = "_footerContentContainer_aepms_20", L9 = "_linkList_aepms_34", x9 = "_link_aepms_18", k9 = "_icon_aepms_60", D9 = "_textContainer_aepms_63", Z9 = "_extraText_aepms_69", S9 = "_copyrightText_aepms_76", P9 = "_logoContainer_aepms_83", T9 = "_logoContainerInner_aepms_92", E9 = "_select_aepms_99", H9 = "_selectOption_aepms_116", D2 = {
|
|
1919
1925
|
footer: M9,
|
|
1920
1926
|
footerContainer: y9,
|
|
1921
1927
|
linksContainer: w9,
|
|
@@ -11690,7 +11696,6 @@ export {
|
|
|
11690
11696
|
sd as Header,
|
|
11691
11697
|
Cu as Heading,
|
|
11692
11698
|
v2 as Icon,
|
|
11693
|
-
$ as Image,
|
|
11694
11699
|
fc as ImageAisSat,
|
|
11695
11700
|
pc as ImageArcticInfo,
|
|
11696
11701
|
mc as ImageAvgiftskalkulator,
|
|
@@ -11755,41 +11760,50 @@ export {
|
|
|
11755
11760
|
Du as PopoverTrigger,
|
|
11756
11761
|
Zu as PopoverTriggerContext,
|
|
11757
11762
|
Su as Radio,
|
|
11758
|
-
Pu as
|
|
11759
|
-
Tu as
|
|
11760
|
-
Eu as
|
|
11761
|
-
Hu as
|
|
11763
|
+
Pu as RovingFocusItem,
|
|
11764
|
+
Tu as RovingFocusRoot,
|
|
11765
|
+
Eu as Search,
|
|
11766
|
+
Hu as SearchButton,
|
|
11767
|
+
Ou as SearchClear,
|
|
11768
|
+
Iu as SearchInput,
|
|
11762
11769
|
Cd as Select,
|
|
11763
|
-
|
|
11764
|
-
|
|
11765
|
-
|
|
11766
|
-
|
|
11770
|
+
Ru as SelectOptgroup,
|
|
11771
|
+
Nu as Skeleton,
|
|
11772
|
+
Fu as SkipLink,
|
|
11773
|
+
ju as Spinner,
|
|
11767
11774
|
dc as Stepper,
|
|
11768
|
-
|
|
11775
|
+
Vu as Suggestion,
|
|
11769
11776
|
ad as Summary,
|
|
11770
|
-
|
|
11777
|
+
$ as SvgImage,
|
|
11778
|
+
Au as Switch,
|
|
11771
11779
|
P1 as Table,
|
|
11772
|
-
|
|
11773
|
-
|
|
11774
|
-
|
|
11775
|
-
|
|
11776
|
-
|
|
11777
|
-
|
|
11780
|
+
Bu as TableBody,
|
|
11781
|
+
Yu as TableCell,
|
|
11782
|
+
Wu as TableFoot,
|
|
11783
|
+
Uu as TableHead,
|
|
11784
|
+
zu as TableHeaderCell,
|
|
11785
|
+
qu as TableRow,
|
|
11778
11786
|
L7 as Tabs,
|
|
11779
|
-
|
|
11780
|
-
|
|
11781
|
-
|
|
11787
|
+
$u as TabsList,
|
|
11788
|
+
Gu as TabsPanel,
|
|
11789
|
+
Ku as TabsTab,
|
|
11782
11790
|
F4 as Tag,
|
|
11783
11791
|
fd as TextArea,
|
|
11784
11792
|
ud as TextInput,
|
|
11785
|
-
|
|
11786
|
-
|
|
11787
|
-
|
|
11788
|
-
|
|
11789
|
-
|
|
11793
|
+
Qu as Textarea,
|
|
11794
|
+
Xu as Textfield,
|
|
11795
|
+
Ju as ToggleGroup,
|
|
11796
|
+
eh as ToggleGroupItem,
|
|
11797
|
+
th as Tooltip,
|
|
11790
11798
|
lc as Typography,
|
|
11791
|
-
|
|
11792
|
-
|
|
11793
|
-
|
|
11794
|
-
|
|
11799
|
+
rh as ValidationMessage,
|
|
11800
|
+
nh as omit,
|
|
11801
|
+
uc as svgImageColors,
|
|
11802
|
+
ah as useCheckboxGroup,
|
|
11803
|
+
ih as useDebounceCallback,
|
|
11804
|
+
sh as useIsomorphicLayoutEffect,
|
|
11805
|
+
oh as useMediaQuery,
|
|
11806
|
+
lh as usePagination,
|
|
11807
|
+
ch as useRadioGroup,
|
|
11808
|
+
dh as useSynchronizedAnimation
|
|
11795
11809
|
};
|