@norges-domstoler/dds-components 0.0.0-dev-20260720090111 → 0.0.0-dev-20260720132029
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/index.cjs +166 -150
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +3 -3
- package/dist/index.d.cts +577 -1537
- package/dist/index.d.mts +577 -1536
- package/dist/index.mjs +163 -150
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
package/dist/index.mjs
CHANGED
|
@@ -480,9 +480,6 @@ const combineHandlers = (handler1, handler2) => {
|
|
|
480
480
|
function cn(...classNames) {
|
|
481
481
|
return classNames.filter(Boolean).join(" ") || void 0;
|
|
482
482
|
}
|
|
483
|
-
function convertCamelToHyphen(value) {
|
|
484
|
-
return value.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/([a-z])([0-9])/g, "$1-$2").toLowerCase();
|
|
485
|
-
}
|
|
486
483
|
/**
|
|
487
484
|
* Returnener verdien hvis den er truthy.
|
|
488
485
|
* Ellers returnerer `undefined`.
|
|
@@ -4026,6 +4023,78 @@ const Accordion = ({ isInitiallyExpanded = false, isExpanded, onChange, id, chil
|
|
|
4026
4023
|
};
|
|
4027
4024
|
Accordion.displayName = "Accordion";
|
|
4028
4025
|
//#endregion
|
|
4026
|
+
//#region src/components/Accordion/AccordionHeader.tsx
|
|
4027
|
+
const AccordionHeader = ({ children, className, style, htmlProps, typographyType = "heading-medium", bold, ...rest }) => {
|
|
4028
|
+
const { isExpanded, headerProps } = useAccordionContext();
|
|
4029
|
+
const { id, ...restHeaderProps } = headerProps ?? {};
|
|
4030
|
+
const iconState = isExpanded ? "up" : "down";
|
|
4031
|
+
return /* @__PURE__ */ jsx(Box, {
|
|
4032
|
+
as: StylelessButton,
|
|
4033
|
+
padding: "x1 x1.5 x1 x1",
|
|
4034
|
+
...getBaseHTMLProps(id, cn(className, Accordion_module_default["header-button"], AccordionBase_module_default["header-button"], _key1), style, htmlProps, rest),
|
|
4035
|
+
...restHeaderProps,
|
|
4036
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
4037
|
+
className: cn(AccordionBase_module_default.header__content, typographyStyles_module_default[typographyType], bold && typographyStyles_module_default.bold),
|
|
4038
|
+
children: [/* @__PURE__ */ jsx(Icon, {
|
|
4039
|
+
icon: AnimatedChevronUpDownIcon,
|
|
4040
|
+
iconSize: "component",
|
|
4041
|
+
className: Accordion_module_default.chevron,
|
|
4042
|
+
iconState
|
|
4043
|
+
}), children]
|
|
4044
|
+
})
|
|
4045
|
+
});
|
|
4046
|
+
};
|
|
4047
|
+
AccordionHeader.displayName = "AccordionHeader";
|
|
4048
|
+
//#endregion
|
|
4049
|
+
//#region src/components/Accordion/AccordionBody.tsx
|
|
4050
|
+
const AccordionBody = ({ children, className, style, htmlProps, ...rest }) => {
|
|
4051
|
+
const { bodyContentRef, bodyProps } = useAccordionContext();
|
|
4052
|
+
const { className: bodyContextCn, id, height, ...restBodyProps } = bodyProps ?? {};
|
|
4053
|
+
return /* @__PURE__ */ jsx(Box, {
|
|
4054
|
+
height: `${height}px`,
|
|
4055
|
+
...getBaseHTMLProps(id, cn(className, bodyContextCn), style, htmlProps, rest),
|
|
4056
|
+
...restBodyProps,
|
|
4057
|
+
children: /* @__PURE__ */ jsx(Box, {
|
|
4058
|
+
ref: bodyContentRef,
|
|
4059
|
+
padding: "x0.5 x1.5 x2 x1",
|
|
4060
|
+
children
|
|
4061
|
+
})
|
|
4062
|
+
});
|
|
4063
|
+
};
|
|
4064
|
+
AccordionBody.displayName = "AccordionBody";
|
|
4065
|
+
//#endregion
|
|
4066
|
+
//#region src/components/BackLink/BackLink.module.css
|
|
4067
|
+
var BackLink_module_default = { "icon": "dds-BackLink-module__icon" };
|
|
4068
|
+
//#endregion
|
|
4069
|
+
//#region src/components/BackLink/BackLink.tsx
|
|
4070
|
+
const BackLink = ({ label, ref, as = "a", ...rest }) => {
|
|
4071
|
+
const { t } = useTranslation();
|
|
4072
|
+
return /* @__PURE__ */ jsx("nav", {
|
|
4073
|
+
ref,
|
|
4074
|
+
"aria-label": t(texts$29.goBack),
|
|
4075
|
+
className: typographyStyles_module_default["body-short-medium"],
|
|
4076
|
+
children: /* @__PURE__ */ jsxs(HStack, {
|
|
4077
|
+
as,
|
|
4078
|
+
className: cn(typographyStyles_module_default.a, _key1),
|
|
4079
|
+
rel: "noopener noreferer",
|
|
4080
|
+
...rest,
|
|
4081
|
+
children: [/* @__PURE__ */ jsx(Icon, {
|
|
4082
|
+
icon: ArrowLeftIcon,
|
|
4083
|
+
iconSize: "component",
|
|
4084
|
+
className: cn(BackLink_module_default.icon)
|
|
4085
|
+
}), label]
|
|
4086
|
+
})
|
|
4087
|
+
});
|
|
4088
|
+
};
|
|
4089
|
+
BackLink.displayName = "BackLink";
|
|
4090
|
+
const texts$29 = createTexts({ goBack: {
|
|
4091
|
+
nb: "Gå tilbake",
|
|
4092
|
+
no: "Gå tilbake",
|
|
4093
|
+
nn: "Gå tilbake",
|
|
4094
|
+
en: "Go back",
|
|
4095
|
+
se: "Mana ruovttoluotta"
|
|
4096
|
+
} });
|
|
4097
|
+
//#endregion
|
|
4029
4098
|
//#region src/components/Typography/Typography/TextOverflowEllipsis/TextOverflowEllipsis.module.css
|
|
4030
4099
|
var TextOverflowEllipsis_module_default = {
|
|
4031
4100
|
"wrapper": "dds-TextOverflowEllipsis-module__wrapper",
|
|
@@ -4050,28 +4119,42 @@ function TextOverflowEllipsisInner({ className, ...rest }) {
|
|
|
4050
4119
|
var Typography_module_default = { "container": "dds-Typography-module__container" };
|
|
4051
4120
|
//#endregion
|
|
4052
4121
|
//#region src/components/Typography/Typography/Typography.types.ts
|
|
4122
|
+
const TG_BODY_SHORT_TYPES = [
|
|
4123
|
+
"body-short-xsmall",
|
|
4124
|
+
"body-short-small",
|
|
4125
|
+
"body-short-medium",
|
|
4126
|
+
"body-short-large"
|
|
4127
|
+
];
|
|
4128
|
+
const TG_BODY_LONG_TYPES = [
|
|
4129
|
+
"body-long-xsmall",
|
|
4130
|
+
"body-long-small",
|
|
4131
|
+
"body-long-medium",
|
|
4132
|
+
"body-long-large"
|
|
4133
|
+
];
|
|
4134
|
+
const TG_BODY_TYPES = [...TG_BODY_SHORT_TYPES, ...TG_BODY_LONG_TYPES];
|
|
4135
|
+
const TG_LEAD_TYPES = ["lead-medium"];
|
|
4053
4136
|
const TG_HEADING_TYPES = [
|
|
4054
|
-
"
|
|
4055
|
-
"
|
|
4056
|
-
"
|
|
4057
|
-
"
|
|
4058
|
-
"
|
|
4059
|
-
"
|
|
4060
|
-
"
|
|
4137
|
+
"heading-xxsmall",
|
|
4138
|
+
"heading-xsmall",
|
|
4139
|
+
"heading-small",
|
|
4140
|
+
"heading-medium",
|
|
4141
|
+
"heading-large",
|
|
4142
|
+
"heading-xlarge",
|
|
4143
|
+
"heading-xxlarge"
|
|
4061
4144
|
];
|
|
4062
4145
|
//#endregion
|
|
4063
4146
|
//#region src/components/Typography/Typography/Typography.utils.ts
|
|
4064
4147
|
const getElementType = (element) => {
|
|
4065
4148
|
switch (element) {
|
|
4066
4149
|
case "a": return "a";
|
|
4067
|
-
case "
|
|
4068
|
-
case "
|
|
4069
|
-
case "
|
|
4070
|
-
case "
|
|
4071
|
-
case "
|
|
4072
|
-
case "
|
|
4073
|
-
case "
|
|
4074
|
-
case "
|
|
4150
|
+
case "heading-xxsmall": return "h6";
|
|
4151
|
+
case "heading-xsmall": return "h5";
|
|
4152
|
+
case "heading-small": return "h4";
|
|
4153
|
+
case "heading-medium": return "h3";
|
|
4154
|
+
case "heading-large": return "h2";
|
|
4155
|
+
case "heading-xlarge":
|
|
4156
|
+
case "heading-xxlarge": return "h1";
|
|
4157
|
+
case "label-medium": return "label";
|
|
4075
4158
|
default: return "p";
|
|
4076
4159
|
}
|
|
4077
4160
|
};
|
|
@@ -4140,9 +4223,6 @@ const inlineElements = [
|
|
|
4140
4223
|
"wbr"
|
|
4141
4224
|
];
|
|
4142
4225
|
const isInlineElement = (as) => inlineElements.indexOf(as) !== -1;
|
|
4143
|
-
function getTypographyCn(value) {
|
|
4144
|
-
return convertCamelToHyphen(value);
|
|
4145
|
-
}
|
|
4146
4226
|
const getColorCn = (color) => {
|
|
4147
4227
|
if (!isTextColor(color)) return null;
|
|
4148
4228
|
const [prefix] = color.split("-", 1);
|
|
@@ -4152,13 +4232,12 @@ const getColorCn = (color) => {
|
|
|
4152
4232
|
//#region src/components/Typography/Typography/Typography.tsx
|
|
4153
4233
|
const isAnchorProps = (props) => props.typographyType === "a";
|
|
4154
4234
|
const Typography = (props) => {
|
|
4155
|
-
const { typographyType = "
|
|
4235
|
+
const { typographyType = "body-long-medium", as: propAs, children, bold, underline, italic, style, id, withMargins, color, className, htmlProps = {}, ...rest } = props;
|
|
4156
4236
|
const as = propAs ? propAs : getElementType(typographyType);
|
|
4157
|
-
const typographyCn = getTypographyCn(typographyType);
|
|
4158
4237
|
let relProp;
|
|
4159
4238
|
if (isAnchorProps(props)) relProp = as === "a" ? "noopener noreferer" : void 0;
|
|
4160
4239
|
return /* @__PURE__ */ jsx(Box, {
|
|
4161
|
-
...getBaseHTMLProps(id, cn(className, getColorCn(color), Typography_module_default.container, typographyStyles_module_default[
|
|
4240
|
+
...getBaseHTMLProps(id, cn(className, getColorCn(color), Typography_module_default.container, typographyStyles_module_default[typographyType], withMargins && typographyStyles_module_default[`${typographyType}--margins`], isLegend(as) && typographyStyles_module_default.legend, isCaption(as) && typographyStyles_module_default.caption, isCaption(as) && withMargins && typographyStyles_module_default["caption--withMargins"], bold && typographyStyles_module_default.bold, underline && typographyStyles_module_default.underline, italic && typographyStyles_module_default.italic, as === "a" && "dds-focus-module__focusable"), {
|
|
4162
4241
|
...style,
|
|
4163
4242
|
color: color && !isTextColor(color) ? getTextColor(color) : void 0
|
|
4164
4243
|
}, htmlProps, rest),
|
|
@@ -4173,7 +4252,7 @@ Typography.displayName = "Typography";
|
|
|
4173
4252
|
const Caption = ({ id, className, style, htmlProps, children, ...rest }) => {
|
|
4174
4253
|
return /* @__PURE__ */ jsx(Typography, {
|
|
4175
4254
|
...getBaseHTMLProps(id, className, style, htmlProps, rest),
|
|
4176
|
-
typographyType: "
|
|
4255
|
+
typographyType: "heading-large",
|
|
4177
4256
|
as: "caption",
|
|
4178
4257
|
children
|
|
4179
4258
|
});
|
|
@@ -4184,13 +4263,13 @@ Caption.displayName = "Caption";
|
|
|
4184
4263
|
const getHeadingElement = (level) => `h${level}`;
|
|
4185
4264
|
const getDefaultTypographyType = (h) => {
|
|
4186
4265
|
switch (h) {
|
|
4187
|
-
case "h1": return "
|
|
4188
|
-
case "h2": return "
|
|
4189
|
-
case "h3": return "
|
|
4190
|
-
case "h4": return "
|
|
4191
|
-
case "h5": return "
|
|
4192
|
-
case "h6": return "
|
|
4193
|
-
default: return "
|
|
4266
|
+
case "h1": return "heading-xlarge";
|
|
4267
|
+
case "h2": return "heading-large";
|
|
4268
|
+
case "h3": return "heading-medium";
|
|
4269
|
+
case "h4": return "heading-small";
|
|
4270
|
+
case "h5": return "heading-xsmall";
|
|
4271
|
+
case "h6": return "heading-xxsmall";
|
|
4272
|
+
default: return "heading-xlarge";
|
|
4194
4273
|
}
|
|
4195
4274
|
};
|
|
4196
4275
|
const Heading = ({ id, className, style, htmlProps, children, typographyType, level, withMargins, withMarginsOverInput, ...rest }) => {
|
|
@@ -4225,25 +4304,25 @@ const Label = ({ showRequiredStyling, readOnly, id, className, style, htmlProps,
|
|
|
4225
4304
|
] });
|
|
4226
4305
|
const labelProps = { ...getBaseHTMLProps(id, cn(className, readOnly && Label_module_default["read-only"]), style, htmlProps, rest) };
|
|
4227
4306
|
return afterLabelContent ? /* @__PURE__ */ jsxs(Typography, {
|
|
4228
|
-
typographyType: "
|
|
4307
|
+
typographyType: "label-medium",
|
|
4229
4308
|
as: "div",
|
|
4230
4309
|
withMargins: rest.withMargins,
|
|
4231
4310
|
children: [/* @__PURE__ */ jsx(Typography, {
|
|
4232
4311
|
...labelProps,
|
|
4233
|
-
typographyType: "
|
|
4312
|
+
typographyType: "label-medium",
|
|
4234
4313
|
withMargins: false,
|
|
4235
4314
|
children: content
|
|
4236
4315
|
}), afterLabelContent]
|
|
4237
4316
|
}) : /* @__PURE__ */ jsx(Typography, {
|
|
4238
4317
|
...labelProps,
|
|
4239
|
-
typographyType: "
|
|
4318
|
+
typographyType: "label-medium",
|
|
4240
4319
|
children: content
|
|
4241
4320
|
});
|
|
4242
4321
|
};
|
|
4243
4322
|
Label.displayName = "Label";
|
|
4244
4323
|
//#endregion
|
|
4245
4324
|
//#region src/components/Typography/Legend/Legend.tsx
|
|
4246
|
-
const Legend = ({ id, className, style, htmlProps, typographyType = "
|
|
4325
|
+
const Legend = ({ id, className, style, htmlProps, typographyType = "heading-large", withMarginsOverInput, withMargins, ...rest }) => {
|
|
4247
4326
|
return /* @__PURE__ */ jsx(Typography, {
|
|
4248
4327
|
...getBaseHTMLProps(id, cn(className, withMarginsOverInput && typographyStyles_module_default["legend--margins-over-input"]), style, htmlProps, rest),
|
|
4249
4328
|
as: "legend",
|
|
@@ -4259,7 +4338,7 @@ const Link = ({ id, className, htmlProps, children, typographyType, withMargins,
|
|
|
4259
4338
|
const aProps = as === "a" || propIsAnchor ? { rel: "noopener noreferrer" } : {};
|
|
4260
4339
|
return /* @__PURE__ */ jsx(ElementAs, {
|
|
4261
4340
|
as,
|
|
4262
|
-
...getBaseHTMLProps(id, cn(className, typographyStyles_module_default.a, withIconStyling && typographyStyles_module_default["a--with-icon"], withVisited && typographyStyles_module_default["a--visited"], typographyType && typographyStyles_module_default[
|
|
4341
|
+
...getBaseHTMLProps(id, cn(className, typographyStyles_module_default.a, withIconStyling && typographyStyles_module_default["a--with-icon"], withVisited && typographyStyles_module_default["a--visited"], typographyType && typographyStyles_module_default[typographyType], typographyType && withMargins && typographyStyles_module_default[`${typographyType}--margins`], _key1, getColorCn(color)), {
|
|
4263
4342
|
...style,
|
|
4264
4343
|
color: color && !isTextColor(color) ? getTextColor(color) : void 0
|
|
4265
4344
|
}, htmlProps, rest),
|
|
@@ -4268,9 +4347,8 @@ const Link = ({ id, className, htmlProps, children, typographyType, withMargins,
|
|
|
4268
4347
|
});
|
|
4269
4348
|
};
|
|
4270
4349
|
Link.displayName = "Link";
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
const Paragraph = ({ id, className, style, htmlProps, children, typographyType = "bodyLongMedium", ...rest }) => {
|
|
4350
|
+
[...TG_BODY_TYPES, ...TG_LEAD_TYPES];
|
|
4351
|
+
const Paragraph = ({ id, className, style, htmlProps, children, typographyType = "body-long-medium", ...rest }) => {
|
|
4274
4352
|
return /* @__PURE__ */ jsx(Typography, {
|
|
4275
4353
|
...getBaseHTMLProps(id, className, style, htmlProps, rest),
|
|
4276
4354
|
typographyType,
|
|
@@ -4279,78 +4357,6 @@ const Paragraph = ({ id, className, style, htmlProps, children, typographyType =
|
|
|
4279
4357
|
};
|
|
4280
4358
|
Paragraph.displayName = "Paragraph";
|
|
4281
4359
|
//#endregion
|
|
4282
|
-
//#region src/components/Accordion/AccordionHeader.tsx
|
|
4283
|
-
const AccordionHeader = ({ children, className, style, htmlProps, typographyType = "headingMedium", bold, ...rest }) => {
|
|
4284
|
-
const { isExpanded, headerProps } = useAccordionContext();
|
|
4285
|
-
const { id, ...restHeaderProps } = headerProps ?? {};
|
|
4286
|
-
const iconState = isExpanded ? "up" : "down";
|
|
4287
|
-
return /* @__PURE__ */ jsx(Box, {
|
|
4288
|
-
as: StylelessButton,
|
|
4289
|
-
padding: "x1 x1.5 x1 x1",
|
|
4290
|
-
...getBaseHTMLProps(id, cn(className, Accordion_module_default["header-button"], AccordionBase_module_default["header-button"], _key1), style, htmlProps, rest),
|
|
4291
|
-
...restHeaderProps,
|
|
4292
|
-
children: /* @__PURE__ */ jsxs("div", {
|
|
4293
|
-
className: cn(AccordionBase_module_default.header__content, typographyStyles_module_default[getTypographyCn(typographyType)], bold && typographyStyles_module_default.bold),
|
|
4294
|
-
children: [/* @__PURE__ */ jsx(Icon, {
|
|
4295
|
-
icon: AnimatedChevronUpDownIcon,
|
|
4296
|
-
iconSize: "component",
|
|
4297
|
-
className: Accordion_module_default.chevron,
|
|
4298
|
-
iconState
|
|
4299
|
-
}), children]
|
|
4300
|
-
})
|
|
4301
|
-
});
|
|
4302
|
-
};
|
|
4303
|
-
AccordionHeader.displayName = "AccordionHeader";
|
|
4304
|
-
//#endregion
|
|
4305
|
-
//#region src/components/Accordion/AccordionBody.tsx
|
|
4306
|
-
const AccordionBody = ({ children, className, style, htmlProps, ...rest }) => {
|
|
4307
|
-
const { bodyContentRef, bodyProps } = useAccordionContext();
|
|
4308
|
-
const { className: bodyContextCn, id, height, ...restBodyProps } = bodyProps ?? {};
|
|
4309
|
-
return /* @__PURE__ */ jsx(Box, {
|
|
4310
|
-
height: `${height}px`,
|
|
4311
|
-
...getBaseHTMLProps(id, cn(className, bodyContextCn), style, htmlProps, rest),
|
|
4312
|
-
...restBodyProps,
|
|
4313
|
-
children: /* @__PURE__ */ jsx(Box, {
|
|
4314
|
-
ref: bodyContentRef,
|
|
4315
|
-
padding: "x0.5 x1.5 x2 x1",
|
|
4316
|
-
children
|
|
4317
|
-
})
|
|
4318
|
-
});
|
|
4319
|
-
};
|
|
4320
|
-
AccordionBody.displayName = "AccordionBody";
|
|
4321
|
-
//#endregion
|
|
4322
|
-
//#region src/components/BackLink/BackLink.module.css
|
|
4323
|
-
var BackLink_module_default = { "icon": "dds-BackLink-module__icon" };
|
|
4324
|
-
//#endregion
|
|
4325
|
-
//#region src/components/BackLink/BackLink.tsx
|
|
4326
|
-
const BackLink = ({ label, ref, as = "a", ...rest }) => {
|
|
4327
|
-
const { t } = useTranslation();
|
|
4328
|
-
return /* @__PURE__ */ jsx("nav", {
|
|
4329
|
-
ref,
|
|
4330
|
-
"aria-label": t(texts$29.goBack),
|
|
4331
|
-
className: typographyStyles_module_default["body-short-medium"],
|
|
4332
|
-
children: /* @__PURE__ */ jsxs(HStack, {
|
|
4333
|
-
as,
|
|
4334
|
-
className: cn(typographyStyles_module_default.a, _key1),
|
|
4335
|
-
rel: "noopener noreferer",
|
|
4336
|
-
...rest,
|
|
4337
|
-
children: [/* @__PURE__ */ jsx(Icon, {
|
|
4338
|
-
icon: ArrowLeftIcon,
|
|
4339
|
-
iconSize: "component",
|
|
4340
|
-
className: cn(BackLink_module_default.icon)
|
|
4341
|
-
}), label]
|
|
4342
|
-
})
|
|
4343
|
-
});
|
|
4344
|
-
};
|
|
4345
|
-
BackLink.displayName = "BackLink";
|
|
4346
|
-
const texts$29 = createTexts({ goBack: {
|
|
4347
|
-
nb: "Gå tilbake",
|
|
4348
|
-
no: "Gå tilbake",
|
|
4349
|
-
nn: "Gå tilbake",
|
|
4350
|
-
en: "Go back",
|
|
4351
|
-
se: "Mana ruovttoluotta"
|
|
4352
|
-
} });
|
|
4353
|
-
//#endregion
|
|
4354
4360
|
//#region src/components/Breadcrumbs/Breadcrumb.tsx
|
|
4355
4361
|
const isAnchorTypographyProps = (props) => {
|
|
4356
4362
|
return props.href != void 0;
|
|
@@ -4987,7 +4993,7 @@ const CardExpandable = ({ isInitiallyExpanded = false, isExpanded, onChange, id,
|
|
|
4987
4993
|
CardExpandable.displayName = "CardExpandable";
|
|
4988
4994
|
//#endregion
|
|
4989
4995
|
//#region src/components/Card/CardExpandable/CardExpandableHeader.tsx
|
|
4990
|
-
const CardExpandableHeader = ({ children, className, style, htmlProps, padding, typographyType = "
|
|
4996
|
+
const CardExpandableHeader = ({ children, className, style, htmlProps, padding, typographyType = "heading-large", bold, ...rest }) => {
|
|
4991
4997
|
const { isExpanded, headerProps } = useAccordionContext();
|
|
4992
4998
|
const containerStyleVariables = { ["--dds-card-accordion-header-container-padding"]: padding ?? "var(--dds-spacing-x1) var(--dds-spacing-x0-75) var(--dds-spacing-x1) var(--dds-spacing-x1-5)" };
|
|
4993
4999
|
const { id, ...restHeaderProps } = headerProps ?? {};
|
|
@@ -4998,9 +5004,9 @@ const CardExpandableHeader = ({ children, className, style, htmlProps, padding,
|
|
|
4998
5004
|
type: "button",
|
|
4999
5005
|
children: /* @__PURE__ */ jsx("div", {
|
|
5000
5006
|
style: containerStyleVariables,
|
|
5001
|
-
className: cn(CardExpandable_module_default["header-container"], typographyStyles_module_default[
|
|
5007
|
+
className: cn(CardExpandable_module_default["header-container"], typographyStyles_module_default[typographyType], bold && typographyStyles_module_default.bold),
|
|
5002
5008
|
children: /* @__PURE__ */ jsxs("div", {
|
|
5003
|
-
className: (AccordionBase_module_default.header__content, CardExpandable_module_default.header__content),
|
|
5009
|
+
className: cn(AccordionBase_module_default.header__content, CardExpandable_module_default.header__content),
|
|
5004
5010
|
children: [children, /* @__PURE__ */ jsx(Icon, {
|
|
5005
5011
|
icon: AnimatedChevronUpDownIcon,
|
|
5006
5012
|
className: CardExpandable_module_default["header-container__chevron"],
|
|
@@ -5069,7 +5075,7 @@ const Label$1 = ({ disabled, hasText, controlType, className, ...rest }) => {
|
|
|
5069
5075
|
const renderGroupLabel = ({ id, showRequiredStyling, readOnly, label }) => {
|
|
5070
5076
|
if (!!label) return /* @__PURE__ */ jsxs(Typography, {
|
|
5071
5077
|
as: "span",
|
|
5072
|
-
typographyType: "
|
|
5078
|
+
typographyType: "label-medium",
|
|
5073
5079
|
id,
|
|
5074
5080
|
className: readOnly ? Label_module_default["read-only"] : void 0,
|
|
5075
5081
|
withMargins: true,
|
|
@@ -5090,7 +5096,7 @@ const renderGroupLabel = ({ id, showRequiredStyling, readOnly, label }) => {
|
|
|
5090
5096
|
//#region src/components/SelectionControl/SelectionControl.utils.tsx
|
|
5091
5097
|
const selectionControlTypographyProps = {
|
|
5092
5098
|
color: "inherit",
|
|
5093
|
-
typographyType: "
|
|
5099
|
+
typographyType: "body-short-medium",
|
|
5094
5100
|
as: "span"
|
|
5095
5101
|
};
|
|
5096
5102
|
//#endregion
|
|
@@ -5181,7 +5187,7 @@ const InputMessage = ({ messageType, id, className, style, htmlProps, children,
|
|
|
5181
5187
|
...commonProps,
|
|
5182
5188
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
5183
5189
|
...tgCommonProps,
|
|
5184
|
-
typographyType: "
|
|
5190
|
+
typographyType: "body-short-xsmall",
|
|
5185
5191
|
color: "text-subtle"
|
|
5186
5192
|
})
|
|
5187
5193
|
});
|
|
@@ -5552,11 +5558,11 @@ function CookieBannerCheckbox({ headerText, description, id, className, style, h
|
|
|
5552
5558
|
gap: "x0.5",
|
|
5553
5559
|
children: [/* @__PURE__ */ jsx(Typography, {
|
|
5554
5560
|
as: "span",
|
|
5555
|
-
typographyType: "
|
|
5561
|
+
typographyType: "heading-small",
|
|
5556
5562
|
children: headerText
|
|
5557
5563
|
}), /* @__PURE__ */ jsx(Typography, {
|
|
5558
5564
|
as: "span",
|
|
5559
|
-
typographyType: "
|
|
5565
|
+
typographyType: "body-long-small",
|
|
5560
5566
|
children: description
|
|
5561
5567
|
})]
|
|
5562
5568
|
})
|
|
@@ -5574,7 +5580,7 @@ function CookieBanner({ headerText, description, buttons, checkboxes, id, classN
|
|
|
5574
5580
|
const headingId = headerText && (id ?? `cookie-banner-${generatedId}-heading`);
|
|
5575
5581
|
const heading = headerText ? /* @__PURE__ */ jsx(Heading, {
|
|
5576
5582
|
level: 2,
|
|
5577
|
-
typographyType: "
|
|
5583
|
+
typographyType: "heading-medium",
|
|
5578
5584
|
id: headingId,
|
|
5579
5585
|
children: headerText
|
|
5580
5586
|
}) : "";
|
|
@@ -6072,7 +6078,7 @@ function Calendar(props) {
|
|
|
6072
6078
|
}),
|
|
6073
6079
|
/* @__PURE__ */ jsx(Heading, {
|
|
6074
6080
|
level: 2,
|
|
6075
|
-
typographyType: "
|
|
6081
|
+
typographyType: "heading-xsmall",
|
|
6076
6082
|
className: DateInput_module_default.calendar__header__month,
|
|
6077
6083
|
children: title
|
|
6078
6084
|
}),
|
|
@@ -6806,7 +6812,7 @@ const Drawer = ({ children, header, placement = "right", parentElement, size = "
|
|
|
6806
6812
|
id: headerId,
|
|
6807
6813
|
children: typeof header === "string" ? /* @__PURE__ */ jsx(Heading, {
|
|
6808
6814
|
level: 2,
|
|
6809
|
-
typographyType: "
|
|
6815
|
+
typographyType: "heading-large",
|
|
6810
6816
|
children: header
|
|
6811
6817
|
}) : header
|
|
6812
6818
|
}), /* @__PURE__ */ jsx(Button, {
|
|
@@ -6899,7 +6905,7 @@ function EmptyContent({ headerText, children, headerHeadingLevel = 2, ...rest })
|
|
|
6899
6905
|
className: typographyStyles_module_default["text-color--medium"],
|
|
6900
6906
|
children: [headerText && /* @__PURE__ */ jsx(Heading, {
|
|
6901
6907
|
level: headerHeadingLevel,
|
|
6902
|
-
typographyType: "
|
|
6908
|
+
typographyType: "heading-medium",
|
|
6903
6909
|
children: headerText
|
|
6904
6910
|
}), /* @__PURE__ */ jsx(Typography, {
|
|
6905
6911
|
as: "div",
|
|
@@ -6927,7 +6933,7 @@ var List_module_default = {
|
|
|
6927
6933
|
const List = ({ listType = "unordered", typographyType = "inherit", children, id, className, style, htmlProps, ...rest }) => {
|
|
6928
6934
|
return /* @__PURE__ */ jsx(listType === "ordered" ? "ol" : "ul", {
|
|
6929
6935
|
...getBaseHTMLProps(id, className, style, htmlProps, rest),
|
|
6930
|
-
className: cn(List_module_default.list, List_module_default[`list--${listType}`], typographyType === "inherit" ? List_module_default["list--inherit"] : typographyStyles_module_default[
|
|
6936
|
+
className: cn(List_module_default.list, List_module_default[`list--${listType}`], typographyType === "inherit" ? List_module_default["list--inherit"] : typographyStyles_module_default[typographyType]),
|
|
6931
6937
|
children
|
|
6932
6938
|
});
|
|
6933
6939
|
};
|
|
@@ -6945,11 +6951,11 @@ const ErrorSummary = ({ heading: pHeading, className, style, children, id, htmlP
|
|
|
6945
6951
|
const { t } = useTranslation();
|
|
6946
6952
|
const heading = typeof pHeading === "string" ? /* @__PURE__ */ jsx(Heading, {
|
|
6947
6953
|
level: 2,
|
|
6948
|
-
typographyType: "
|
|
6954
|
+
typographyType: "heading-small",
|
|
6949
6955
|
children: pHeading
|
|
6950
6956
|
}) : pHeading ? pHeading : /* @__PURE__ */ jsx(Heading, {
|
|
6951
6957
|
level: 2,
|
|
6952
|
-
typographyType: "
|
|
6958
|
+
typographyType: "heading-small",
|
|
6953
6959
|
children: t(texts$20.toProceedCorrectErrors)
|
|
6954
6960
|
});
|
|
6955
6961
|
return /* @__PURE__ */ jsxs(Paper, {
|
|
@@ -7055,7 +7061,7 @@ function CharCounter(props) {
|
|
|
7055
7061
|
id: id ?? `${generatedId}-characterCounter`,
|
|
7056
7062
|
className: CharCounter_module_default.container,
|
|
7057
7063
|
as: "div",
|
|
7058
|
-
typographyType: "
|
|
7064
|
+
typographyType: "body-short-xsmall",
|
|
7059
7065
|
color: "text-subtle",
|
|
7060
7066
|
children: [/* @__PURE__ */ jsxs("span", {
|
|
7061
7067
|
"aria-hidden": true,
|
|
@@ -7709,9 +7715,8 @@ const useFileUploader = (props) => {
|
|
|
7709
7715
|
});
|
|
7710
7716
|
const { files: stateFiles } = state;
|
|
7711
7717
|
useEffect(() => {
|
|
7712
|
-
if (isControlled)
|
|
7713
|
-
|
|
7714
|
-
payload: value.map((file) => {
|
|
7718
|
+
if (isControlled) {
|
|
7719
|
+
const files = value.map((file) => {
|
|
7715
7720
|
if (file instanceof File) {
|
|
7716
7721
|
const accepted = isFileAccepted(file, accept);
|
|
7717
7722
|
return {
|
|
@@ -7725,8 +7730,12 @@ const useFileUploader = (props) => {
|
|
|
7725
7730
|
name: file.name,
|
|
7726
7731
|
errors: []
|
|
7727
7732
|
};
|
|
7728
|
-
})
|
|
7729
|
-
|
|
7733
|
+
});
|
|
7734
|
+
dispatch({
|
|
7735
|
+
type: "onSetFiles",
|
|
7736
|
+
payload: files
|
|
7737
|
+
});
|
|
7738
|
+
}
|
|
7730
7739
|
}, [
|
|
7731
7740
|
value,
|
|
7732
7741
|
isControlled,
|
|
@@ -7769,10 +7778,11 @@ const useFileUploader = (props) => {
|
|
|
7769
7778
|
name: file.name,
|
|
7770
7779
|
errors: isFileAccepted(file, accept) ? [] : [t(texts$13.invalidFileType)]
|
|
7771
7780
|
})).concat(stateFiles);
|
|
7772
|
-
|
|
7781
|
+
const mergedFiles = [...stateFiles.filter((f) => f.url).map((f) => ({
|
|
7773
7782
|
name: f.name,
|
|
7774
7783
|
url: f.url
|
|
7775
|
-
})), ...newFiles.filter((f) => f.file).map((f) => f.file)]
|
|
7784
|
+
})), ...newFiles.filter((f) => f.file).map((f) => f.file)];
|
|
7785
|
+
onChange(mergedFiles);
|
|
7776
7786
|
if (!isControlled) dispatch({
|
|
7777
7787
|
type: "onSetFiles",
|
|
7778
7788
|
payload: newFiles
|
|
@@ -7796,10 +7806,11 @@ const useFileUploader = (props) => {
|
|
|
7796
7806
|
const removeFile = useCallback((file) => {
|
|
7797
7807
|
const newFiles = [...stateFiles];
|
|
7798
7808
|
newFiles.splice(stateFiles.indexOf(file), 1);
|
|
7799
|
-
|
|
7809
|
+
const mergedFiles = [...newFiles.filter((f) => f.url).map((f) => ({
|
|
7800
7810
|
name: f.name,
|
|
7801
7811
|
url: f.url
|
|
7802
|
-
})), ...newFiles.filter((f) => f.file).map((f) => f.file)]
|
|
7812
|
+
})), ...newFiles.filter((f) => f.file).map((f) => f.file)];
|
|
7813
|
+
onChange(mergedFiles);
|
|
7803
7814
|
if (!isControlled) dispatch({
|
|
7804
7815
|
type: "onRemoveFile",
|
|
7805
7816
|
payload: newFiles
|
|
@@ -8071,7 +8082,7 @@ const Footer = ({ className, ...rest }) => /* @__PURE__ */ jsx(Contrast, {
|
|
|
8071
8082
|
//#region src/components/Footer/FooterListHeader.tsx
|
|
8072
8083
|
const FooterListHeader = (props) => /* @__PURE__ */ jsx(Heading, {
|
|
8073
8084
|
level: 2,
|
|
8074
|
-
typographyType: "
|
|
8085
|
+
typographyType: "heading-small",
|
|
8075
8086
|
...props
|
|
8076
8087
|
});
|
|
8077
8088
|
//#endregion
|
|
@@ -8624,7 +8635,7 @@ const InternalHeader = (props) => {
|
|
|
8624
8635
|
...getBaseHTMLProps(id, cn(className, InternalHeader_module_default.bar, !!navigation && InternalHeader_module_default["bar--with-nav"]), style, htmlProps, rest),
|
|
8625
8636
|
children: [
|
|
8626
8637
|
/* @__PURE__ */ jsx(Typography, {
|
|
8627
|
-
typographyType: "
|
|
8638
|
+
typographyType: "heading-small",
|
|
8628
8639
|
bold: true,
|
|
8629
8640
|
as: "span",
|
|
8630
8641
|
children: applicationHref ? /* @__PURE__ */ jsx("a", {
|
|
@@ -8635,7 +8646,7 @@ const InternalHeader = (props) => {
|
|
|
8635
8646
|
}) : applicationName
|
|
8636
8647
|
}),
|
|
8637
8648
|
/* @__PURE__ */ jsx(Typography, {
|
|
8638
|
-
typographyType: "
|
|
8649
|
+
typographyType: "body-short-medium",
|
|
8639
8650
|
as: "span",
|
|
8640
8651
|
children: applicationDesc
|
|
8641
8652
|
}),
|
|
@@ -8848,7 +8859,7 @@ const Modal = ({ isOpen = false, parentElement, children, header, onClose, id, t
|
|
|
8848
8859
|
id: headerId,
|
|
8849
8860
|
children: typeof header === "string" ? /* @__PURE__ */ jsx(Heading, {
|
|
8850
8861
|
level: 2,
|
|
8851
|
-
typographyType: "
|
|
8862
|
+
typographyType: "heading-large",
|
|
8852
8863
|
children: header
|
|
8853
8864
|
}) : header
|
|
8854
8865
|
}), onClose && /* @__PURE__ */ jsx(Button, {
|
|
@@ -8986,7 +8997,7 @@ const NewsPopover = ({ id, className, style, htmlProps, header, news, defaultAct
|
|
|
8986
8997
|
children: /* @__PURE__ */ jsx(Heading, {
|
|
8987
8998
|
id: headerId,
|
|
8988
8999
|
level: 2,
|
|
8989
|
-
typographyType: "
|
|
9000
|
+
typographyType: "heading-small",
|
|
8990
9001
|
children: header
|
|
8991
9002
|
})
|
|
8992
9003
|
}), /* @__PURE__ */ jsxs(VStack, {
|
|
@@ -9510,7 +9521,8 @@ const NativeSelect = ({ ref, id, children, componentSize = "medium", label, mult
|
|
|
9510
9521
|
const selectRef = useRef(null);
|
|
9511
9522
|
const [hasValue, setHasValue] = useState(false);
|
|
9512
9523
|
useEffect(() => {
|
|
9513
|
-
|
|
9524
|
+
const selectedIndex = selectRef.current?.selectedIndex ?? -1;
|
|
9525
|
+
setHasValue(selectedIndex !== 0);
|
|
9514
9526
|
}, []);
|
|
9515
9527
|
useEffect(() => {
|
|
9516
9528
|
if (clearable) {
|
|
@@ -9806,7 +9818,7 @@ const Pagination = ({ itemsAmount, defaultItemsPerPage = 10, defaultActivePage =
|
|
|
9806
9818
|
componentSize: "small",
|
|
9807
9819
|
"aria-label": t(texts$8.itemsPerPage)
|
|
9808
9820
|
}), withCounter && /* @__PURE__ */ jsx(Paragraph, {
|
|
9809
|
-
typographyType: "
|
|
9821
|
+
typographyType: "body-short-medium",
|
|
9810
9822
|
children: t(texts$8.showsAmountOfTotalItems(activePageFirstItem, activePageLastItem, itemsAmount))
|
|
9811
9823
|
})]
|
|
9812
9824
|
}), navigation]
|
|
@@ -11376,7 +11388,7 @@ const Popover = ({ id, header, withCloseButton = true, onBlur, children, placeme
|
|
|
11376
11388
|
className: Popover_module_default.header,
|
|
11377
11389
|
children: typeof header === "string" ? /* @__PURE__ */ jsx(Heading, {
|
|
11378
11390
|
level: 2,
|
|
11379
|
-
typographyType: "
|
|
11391
|
+
typographyType: "heading-medium",
|
|
11380
11392
|
children: header
|
|
11381
11393
|
}) : header
|
|
11382
11394
|
}),
|
|
@@ -11542,7 +11554,7 @@ const ProgressTrackerItem = (props) => {
|
|
|
11542
11554
|
children: stepNumberContent
|
|
11543
11555
|
}), /* @__PURE__ */ jsx(Typography, {
|
|
11544
11556
|
as: "div",
|
|
11545
|
-
typographyType: "
|
|
11557
|
+
typographyType: "body-short-medium",
|
|
11546
11558
|
className: cn(ProgressTracker_module_default["item-text"], typographyStyles_module_default["a--nested__child"], isInactiveLink && ProgressTracker_module_default["item-text--inactive-link"]),
|
|
11547
11559
|
color: getTextColor(),
|
|
11548
11560
|
children
|
|
@@ -11821,7 +11833,8 @@ const Search$1 = ({ componentSize = "medium", buttonProps, showIcon = true, name
|
|
|
11821
11833
|
onChange?.(e);
|
|
11822
11834
|
};
|
|
11823
11835
|
const clearInput = () => {
|
|
11824
|
-
|
|
11836
|
+
const clearChangeEvent = createClearChangeEvent(uniqueId);
|
|
11837
|
+
handleChange(clearChangeEvent);
|
|
11825
11838
|
};
|
|
11826
11839
|
const { label: buttonLabel, onClick, ...otherButtonProps } = buttonProps ?? {};
|
|
11827
11840
|
const hasSuggestions = !!context.suggestions;
|
|
@@ -12027,7 +12040,7 @@ const SkipToContent = ({ text = "Til hovedinnhold", top = 0, id, className, html
|
|
|
12027
12040
|
...rest,
|
|
12028
12041
|
...htmlProps,
|
|
12029
12042
|
id,
|
|
12030
|
-
typographyType: "
|
|
12043
|
+
typographyType: "body-short-medium",
|
|
12031
12044
|
children: text
|
|
12032
12045
|
})
|
|
12033
12046
|
});
|
|
@@ -12823,7 +12836,7 @@ const ToggleBar = (props) => {
|
|
|
12823
12836
|
children: [label && /* @__PURE__ */ jsx(Typography, {
|
|
12824
12837
|
id: labelId,
|
|
12825
12838
|
as: "span",
|
|
12826
|
-
typographyType: "
|
|
12839
|
+
typographyType: "label-medium",
|
|
12827
12840
|
children: label
|
|
12828
12841
|
}), /* @__PURE__ */ jsx(Grid, {
|
|
12829
12842
|
defaultPageLayout: false,
|
|
@@ -12955,6 +12968,6 @@ const ToggleButtonGroup = (props) => {
|
|
|
12955
12968
|
};
|
|
12956
12969
|
ToggleButtonGroup.displayName = "ToggleButtonGroup";
|
|
12957
12970
|
//#endregion
|
|
12958
|
-
export { Accordion, AccordionBody, AccordionContextProvider, AccordionHeader, AddTabButton, AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDownIcon, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, AttachmentIcon, BORDER_COLORS, BORDER_RADII, BackLink, Backdrop, BarChartBoxedIcon, BarChartIcon, Bleed, BlockIcon, BookIcon, Box, Breadcrumb, Breadcrumbs, BriefcaseIcon, BuildIcon, BuildingIcon, Button, ButtonGroup, Calendar, CalendarIcon, CalendarMonthIcon, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, Caption, Card, CardExpandable, CardExpandableBody, CardExpandableHeader, CardSelectable, CardSelectableGroup, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, CircleFilledIcon, CircleIcon, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CollapsibleTable, CollapsibleRow as CollapsibleTableRow, CommentIcon, Contrast, CookieBanner, CookieBannerCheckbox, CopyIcon, CourtIcon, DETAIL_LIST_SIZES, DatePicker, DateRangeIcon, DdsProvider, DeathsIcon, DescriptionList, DescriptionListDesc, DescriptionListGroup, DescriptionListTerm, DetailList, DetailListDesc, DetailListRow, DetailListTerm, Divider, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadDoneIcon, DownloadIcon, DragHandleIcon, Drawer, DrawerGroup, DropdownHeader, DropdownItem, ELEVATIONS, EditAltIcon, EditIcon, ElementAs, EmptyContent, ErrorIcon, ErrorSummary, ErrorSummaryItem, ExclaimIcon, ExpandIcon, FacebookIcon, FamilyIcon, FavStar, Feedback, FeedbackIcon, Fieldset, FieldsetGroup, FileAddIcon, FileIcon, FileShieldedIcon, FileSignedIcon, FileTextIcon, FileUploader, FilterIcon, FilterListIcon, FindInPageIcon, FlagFilledIcon, FlagIcon, FlickrIcon, FloppyDiskIcon, FolderAddIcon, FolderIcon, FolderShieldedIcon, Footer, FooterLeft, FooterList, FooterListGroup, FooterListHeader, FooterLogo, FooterSocialsGroup, FooterSocialsList, FormSummary, FormSummaryEditButton, FormSummaryEmptyValue, FormSummaryError, FormSummaryField, FormSummaryFields, FormSummaryHeader, FormSummaryHeading, FormSummaryLabel, FormSummaryValue, FullscreenExitIcon, FullscreenIcon, GavelIcon, GlobalMessage, Grid, GridChild, GroupIcon, GuardianIcon, HStack, Heading, HelpFilledIcon, HelpIcon, HelpSimpleIcon, HiddenInput, HomeIcon, HourglassEmptyIcon, Icon, ImageIcon, InfoIcon, InlineButton, InlineEditInput, InlineEditSelect, InlineEditTextArea, InputMessage, InstagramIcon, InternalHeader, JordskifterettIcon, JordskiftesakIcon, KeyIcon, L_MESSAGE_PURPOSES, Label, LagmannsrettIcon, LanguageIcon, Legend, LineChartIcon, Link, LinkIcon, LinkOffIcon, LinkedInIcon, List, ListAltIcon, ListIcon, ListItem, LocalMessage, LocationIcon, LocationOffIcon, LockFilledIcon, LockIcon, LockOpenIcon, LoginIcon, LogoutIcon, MailIcon, MailOpenIcon, MapIcon, MenuIcon, MinusCircledIcon, MinusIcon, Modal, ModalActions, ModalBody, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, NativeSelect, NewsPopover, NotarialIcon, NotebookPenIcon, NotificationsIcon, NotificationsOffIcon, OnlineMeetingIcon, OpenExternalIcon, OverflowMenu, OverflowMenuButton, OverflowMenuDivider, OverflowMenuGroup, OverflowMenuLink, OverflowMenuList, OverflowMenuListHeader, OverflowMenuSpan, OverflowMenuToggle, Pagination, PanelLeftIcon, Paper, PaperPlaneIcon, Paragraph, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PhoneInput, PinIcon, PlusCircledIcon, PlusIcon, Popover, PopoverGroup, PowerOfAttorneyIcon, PrintIcon, ProgressBar, ProgressTracker, ProgressTrackerItem, PublishIcon, QuestionAnswerIcon, RadioButton, RadioButtonGroup, ReceiptIcon, RedoIcon, RefreshIcon, ReplayIcon, RowsIcon, ScaleIcon, ScreenSize, Search, SearchAutocompleteWrapper, SearchIcon, SearchSuggestions, SectionIcon, Select, SettingsIcon, ShowHide, Skeleton, SkipToContent, SmsIcon, Spinner, SplitButton, StarFilledIcon, StarHalfFilledIcon, StarIcon, StickyNoteIcon, StylelessButton, StylelessList, StylelessOList, SunIcon, SupportIcon, SyncIcon, TG_HEADING_TYPES, Tab, TabList, TabPanel, TabPanels, Table, Body as TableBody, Cell as TableCell, Foot as TableFoot, Head as TableHead, Row as TableRow, SortCell as TableSortCell, TableWrapper, Tabs, Tag, TextArea, TextInput, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, ThumbDownFilledIcon, ThumbDownIcon, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TimePicker, TingrettIcon, TipIcon, Toggle, ToggleBar, ToggleButton, ToggleButtonGroup, ToggleRadio, Tooltip, TrashIcon, TrendingDownIcon, TrendingUpIcon, Typography, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, VStack, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, WarningIcon, WebexIcon, XIcon, ZoomInIcon, ZoomOutIcon, calendarDateToNativeDate, cn, createPurposes, createSelectOptions, createSizes, dateValueToNativeDate, focusVisible, focusVisibleInset, focusVisibleTransitionValue, getBaseHTMLProps, getColorCn, getElementType,
|
|
12971
|
+
export { Accordion, AccordionBody, AccordionContextProvider, AccordionHeader, AddTabButton, AddressShieldedIcon, AgreementIcon, AnimatedChevronUpDownIcon, AppsIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, AttachmentIcon, BORDER_COLORS, BORDER_RADII, BackLink, Backdrop, BarChartBoxedIcon, BarChartIcon, Bleed, BlockIcon, BookIcon, Box, Breadcrumb, Breadcrumbs, BriefcaseIcon, BuildIcon, BuildingIcon, Button, ButtonGroup, Calendar, CalendarIcon, CalendarMonthIcon, CalendarViewDayIcon, CalendarViewMonthIcon, CalendarViewWeekIcon, CallIcon, Caption, Card, CardExpandable, CardExpandableBody, CardExpandableHeader, CardSelectable, CardSelectableGroup, CaringIcon, ChatIcon, CheckCircledIcon, CheckIcon, Checkbox, CheckboxGroup, ChecklistIcon, ChevronDownIcon, ChevronFirstIcon, ChevronLastIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, Chip, ChipGroup, CircleFilledIcon, CircleIcon, CloseCircledIcon, CloseIcon, CloseSmallIcon, CloudIcon, CollapseIcon, CollapsibleTable, CollapsibleRow as CollapsibleTableRow, CommentIcon, Contrast, CookieBanner, CookieBannerCheckbox, CopyIcon, CourtIcon, DETAIL_LIST_SIZES, DatePicker, DateRangeIcon, DdsProvider, DeathsIcon, DescriptionList, DescriptionListDesc, DescriptionListGroup, DescriptionListTerm, DetailList, DetailListDesc, DetailListRow, DetailListTerm, Divider, DoubleChevronLeftIcon, DoubleChevronRightIcon, DownloadDoneIcon, DownloadIcon, DragHandleIcon, Drawer, DrawerGroup, DropdownHeader, DropdownItem, ELEVATIONS, EditAltIcon, EditIcon, ElementAs, EmptyContent, ErrorIcon, ErrorSummary, ErrorSummaryItem, ExclaimIcon, ExpandIcon, FacebookIcon, FamilyIcon, FavStar, Feedback, FeedbackIcon, Fieldset, FieldsetGroup, FileAddIcon, FileIcon, FileShieldedIcon, FileSignedIcon, FileTextIcon, FileUploader, FilterIcon, FilterListIcon, FindInPageIcon, FlagFilledIcon, FlagIcon, FlickrIcon, FloppyDiskIcon, FolderAddIcon, FolderIcon, FolderShieldedIcon, Footer, FooterLeft, FooterList, FooterListGroup, FooterListHeader, FooterLogo, FooterSocialsGroup, FooterSocialsList, FormSummary, FormSummaryEditButton, FormSummaryEmptyValue, FormSummaryError, FormSummaryField, FormSummaryFields, FormSummaryHeader, FormSummaryHeading, FormSummaryLabel, FormSummaryValue, FullscreenExitIcon, FullscreenIcon, GavelIcon, GlobalMessage, Grid, GridChild, GroupIcon, GuardianIcon, HStack, Heading, HelpFilledIcon, HelpIcon, HelpSimpleIcon, HiddenInput, HomeIcon, HourglassEmptyIcon, Icon, ImageIcon, InfoIcon, InlineButton, InlineEditInput, InlineEditSelect, InlineEditTextArea, InputMessage, InstagramIcon, InternalHeader, JordskifterettIcon, JordskiftesakIcon, KeyIcon, L_MESSAGE_PURPOSES, Label, LagmannsrettIcon, LanguageIcon, Legend, LineChartIcon, Link, LinkIcon, LinkOffIcon, LinkedInIcon, List, ListAltIcon, ListIcon, ListItem, LocalMessage, LocationIcon, LocationOffIcon, LockFilledIcon, LockIcon, LockOpenIcon, LoginIcon, LogoutIcon, MailIcon, MailOpenIcon, MapIcon, MenuIcon, MinusCircledIcon, MinusIcon, Modal, ModalActions, ModalBody, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, NativeSelect, NewsPopover, NotarialIcon, NotebookPenIcon, NotificationsIcon, NotificationsOffIcon, OnlineMeetingIcon, OpenExternalIcon, OverflowMenu, OverflowMenuButton, OverflowMenuDivider, OverflowMenuGroup, OverflowMenuLink, OverflowMenuList, OverflowMenuListHeader, OverflowMenuSpan, OverflowMenuToggle, Pagination, PanelLeftIcon, Paper, PaperPlaneIcon, Paragraph, PayoutIcon, PdfIcon, PersonAddIcon, PersonIcon, PersonShieldedIcon, PhoneInput, PinIcon, PlusCircledIcon, PlusIcon, Popover, PopoverGroup, PowerOfAttorneyIcon, PrintIcon, ProgressBar, ProgressTracker, ProgressTrackerItem, PublishIcon, QuestionAnswerIcon, RadioButton, RadioButtonGroup, ReceiptIcon, RedoIcon, RefreshIcon, ReplayIcon, RowsIcon, ScaleIcon, ScreenSize, Search, SearchAutocompleteWrapper, SearchIcon, SearchSuggestions, SectionIcon, Select, SettingsIcon, ShowHide, Skeleton, SkipToContent, SmsIcon, Spinner, SplitButton, StarFilledIcon, StarHalfFilledIcon, StarIcon, StickyNoteIcon, StylelessButton, StylelessList, StylelessOList, SunIcon, SupportIcon, SyncIcon, TG_BODY_LONG_TYPES, TG_BODY_SHORT_TYPES, TG_BODY_TYPES, TG_HEADING_TYPES, TG_LEAD_TYPES, Tab, TabList, TabPanel, TabPanels, Table, Body as TableBody, Cell as TableCell, Foot as TableFoot, Head as TableHead, Row as TableRow, SortCell as TableSortCell, TableWrapper, Tabs, Tag, TextArea, TextInput, TextOverflowEllipsisInner, TextOverflowEllipsisWrapper, ThumbDownFilledIcon, ThumbDownIcon, ThumbUpFilledIcon, ThumbUpIcon, TimeIcon, TimePicker, TingrettIcon, TipIcon, Toggle, ToggleBar, ToggleButton, ToggleButtonGroup, ToggleRadio, Tooltip, TrashIcon, TrendingDownIcon, TrendingUpIcon, Typography, UndoIcon, UnfoldLessIcon, UnfoldMoreIcon, UploadIcon, VStack, VisibilityOffIcon, VisibilityOnIcon, VisuallyHidden, WarningIcon, WebexIcon, XIcon, ZoomInIcon, ZoomOutIcon, calendarDateToNativeDate, cn, createPurposes, createSelectOptions, createSizes, dateValueToNativeDate, focusVisible, focusVisibleInset, focusVisibleTransitionValue, getBaseHTMLProps, getColorCn, getElementType, handleElementWithBackdropMount, handleElementWithBackdropUnmount, hideInput, icons_exports as icons, inheritLinkStyling, inlineElements, isAnchorTypographyProps, isBorderColor, isBorderRadius, isCaption, isElevation, isHeading, isInlineElement, isKeyboardEvent, isLegend, isPaperBackground, nativeDateToCalendarDate, nativeDateToDateValue, nativeDateToTime, normalizeButton, outlineInset, outlineOffset, removeButtonStyling, removeListStyling, renderInputMessage, scrollbarStyling, useAccordion, useAccordionContext, useCallbackRef, useCombinedRef, useControllableGroupState, useControllableState, useFloatPosition, useFocusTrap, useIsMounted, useMountTransition, useOnClickOutside, useOnKeyDown, useReturnFocusOnBlur, useRoveFocus, useScreenSize, useTheme, useWindowResize };
|
|
12959
12972
|
|
|
12960
12973
|
//# sourceMappingURL=index.mjs.map
|