@vygruppen/spor-react 13.4.6 → 13.6.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/index.d.cts CHANGED
@@ -924,7 +924,7 @@ declare const PressableCard: ({ ref, ...props }: PressableCardProps & {
924
924
  ref?: React.Ref<HTMLButtonElement>;
925
925
  }) => react_jsx_runtime.JSX.Element;
926
926
 
927
- declare const radioCardSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "item" | "itemContent" | "label" | "itemText" | "itemDescription" | "itemControl", {
927
+ declare const radioCardSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "item" | "itemContent" | "itemIndicator" | "label" | "itemText" | "itemDescription" | "itemControl", {
928
928
  variant: {
929
929
  core: {
930
930
  item: {
@@ -1006,8 +1006,9 @@ type RadioCardVariantProps$1 = RecipeVariantProps<typeof radioCardSlotRecipe>;
1006
1006
  type RadioCardItemProps$1 = Exclude<RadioCard$1.ItemProps, "colorPalette" | "indicator" | "variant" | "size" | "addon"> & RadioCardVariantProps$1 & {
1007
1007
  inputProps?: React__default.InputHTMLAttributes<HTMLInputElement>;
1008
1008
  ariaLabel?: string;
1009
+ showIndicator?: boolean;
1009
1010
  };
1010
- declare const RadioCard: ({ ref, ...props }: RadioCardItemProps$1 & {
1011
+ declare const RadioCard: ({ ref, showIndicator, ...props }: RadioCardItemProps$1 & {
1011
1012
  ref?: React__default.Ref<HTMLInputElement>;
1012
1013
  }) => react_jsx_runtime.JSX.Element;
1013
1014
  type RadioCardRootProps$1 = RadioCardVariantProps$1 & Exclude<RadioCard$1.RootProps, "variant"> & {
@@ -1272,10 +1273,25 @@ declare const datePickerSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"cell"
1272
1273
  };
1273
1274
  };
1274
1275
  };
1276
+ size: {
1277
+ sm: {
1278
+ wrapper: {
1279
+ fontSize: ("mobile.xs" | "desktop.xs")[];
1280
+ paddingX: number;
1281
+ gap: number;
1282
+ };
1283
+ };
1284
+ md: {
1285
+ wrapper: {
1286
+ fontSize: ("mobile.sm" | "desktop.sm")[];
1287
+ };
1288
+ };
1289
+ };
1275
1290
  }>;
1276
1291
 
1277
1292
  type CalendarVariants = {
1278
1293
  variant?: ConditionalValue<"core" | "floating" | "ghost">;
1294
+ size?: ConditionalValue<"sm" | "md">;
1279
1295
  };
1280
1296
 
1281
1297
  type DatePickerVariantProps = RecipeVariantProps<typeof datePickerSlotRecipe>;
@@ -1296,12 +1312,13 @@ type DatePickerProps = Omit<AriaDatePickerProps<DateValue>, "onChange"> & Pick<B
1296
1312
  * A date picker component.
1297
1313
  *
1298
1314
  * There are three different variants –`core`, `floating` and `ghost`.
1315
+ * There are two different sizes - `sm` and `md`
1299
1316
  *
1300
1317
  * ```tsx
1301
1318
  * <DatePicker label="Dato" variant="core" />
1302
1319
  * ```
1303
1320
  */
1304
- declare const DatePicker: ({ ref: externalRef, variant, errorText, minHeight, showYearNavigation, withPortal, width, invalid, helperText, positioning, css, ...props }: DatePickerProps & {
1321
+ declare const DatePicker: ({ ref: externalRef, variant, size, errorText, minHeight, showYearNavigation, withPortal, width, invalid, helperText, positioning, css, ...props }: DatePickerProps & {
1305
1322
  ref?: React__default.Ref<HTMLDivElement>;
1306
1323
  }) => react_jsx_runtime.JSX.Element;
1307
1324
 
@@ -1321,11 +1338,12 @@ type DateRangePickerProps = Omit<AriaDateRangePickerProps<DateValue>, "onChange"
1321
1338
  * A date range picker component.
1322
1339
  *
1323
1340
  * There are three variants to choose from – `core`, `floating` and `ghost`.
1341
+ * There are two different sizes - `sm` and `md`
1324
1342
  *
1325
1343
  * ```tsx
1326
1344
  * <DateRangePicker startLabel="From" startName="from" endLabel="To" endName="to" variant="core" />
1327
1345
  * ```
1328
- */ declare function DateRangePicker({ variant, minHeight, startName, endName, withPortal, errorText, helperText, invalid, positioning, ...props }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
1346
+ */ declare function DateRangePicker({ variant, size, minHeight, startName, endName, withPortal, errorText, helperText, invalid, positioning, ...props }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
1329
1347
 
1330
1348
  type RangeCalendarProps = RangeCalendarProps$1<DateValue$1> & CalendarVariants;
1331
1349
  declare function RangeCalendar(props: RangeCalendarProps): react_jsx_runtime.JSX.Element;
@@ -1364,6 +1382,11 @@ type TimePickerProps = Omit<BoxProps, "defaultValue" | "onChange"> & FieldBasePr
1364
1382
  * Defaults to "core".
1365
1383
  */
1366
1384
  variant?: "core" | "floating" | "ghost";
1385
+ /**
1386
+ * The size of the time picker.
1387
+ * Defaults to "md".
1388
+ */
1389
+ size?: "sm" | "md";
1367
1390
  };
1368
1391
  /** A time picker component.
1369
1392
  *
@@ -1822,7 +1845,7 @@ type CheckboxGroupProps = React__default.ComponentProps<typeof CheckboxGroup$1>
1822
1845
  */
1823
1846
  declare const CheckboxGroup: (props: CheckboxGroupProps) => react_jsx_runtime.JSX.Element;
1824
1847
 
1825
- declare const choiceChipSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "item" | "itemContent" | "label" | "itemText" | "itemDescription" | "itemControl", {
1848
+ declare const choiceChipSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "item" | "itemContent" | "itemIndicator" | "label" | "itemText" | "itemDescription" | "itemControl", {
1826
1849
  size: {
1827
1850
  xs: {
1828
1851
  item: {
@@ -4244,6 +4267,7 @@ declare const themes: {
4244
4267
  VyDigital: _chakra_ui_react.SystemContext;
4245
4268
  CargoNet: _chakra_ui_react.SystemContext;
4246
4269
  VyUtvikling: _chakra_ui_react.SystemContext;
4270
+ VyTeknologi: _chakra_ui_react.SystemContext;
4247
4271
  };
4248
4272
  declare const system: _chakra_ui_react.SystemContext;
4249
4273
 
@@ -4252,18 +4276,29 @@ declare const fontFaces: string;
4252
4276
 
4253
4277
  declare enum Brand {
4254
4278
  VyDigital = "VyDigital",
4279
+ /**
4280
+ * @deprecated The VyUtvikling theme is deprecated and will be removed in a
4281
+ * future major version. Use {@link Brand.VyTeknologi} instead.
4282
+ */
4255
4283
  VyUtvikling = "VyUtvikling",
4284
+ VyTeknologi = "VyTeknologi",
4256
4285
  CargoNet = "CargoNet"
4257
4286
  }
4258
4287
 
4259
4288
  type Variant = "info" | "success" | "error";
4289
+ type ToastAction = {
4290
+ label: string;
4291
+ onClick: () => void;
4292
+ };
4260
4293
  type ToastProps = {
4261
4294
  duration?: number;
4262
4295
  text: string;
4263
4296
  variant: Variant;
4264
4297
  id?: string;
4298
+ action?: ToastAction;
4299
+ closable?: boolean;
4265
4300
  } & Pick<BoxProps, "width">;
4266
- declare const createToast: ({ text, variant, id, duration, width, }: ToastProps) => string;
4301
+ declare const createToast: ({ text, variant, id, duration, width, action, closable, }: ToastProps) => string;
4267
4302
 
4268
4303
  declare const Tooltip: React$1.FC<Tooltip$1.RootProps>;
4269
4304
  declare const TooltipTrigger: ({ ref, children, ...props }: Tooltip$1.TriggerProps & {
package/dist/index.d.ts CHANGED
@@ -924,7 +924,7 @@ declare const PressableCard: ({ ref, ...props }: PressableCardProps & {
924
924
  ref?: React.Ref<HTMLButtonElement>;
925
925
  }) => react_jsx_runtime.JSX.Element;
926
926
 
927
- declare const radioCardSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "item" | "itemContent" | "label" | "itemText" | "itemDescription" | "itemControl", {
927
+ declare const radioCardSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "item" | "itemContent" | "itemIndicator" | "label" | "itemText" | "itemDescription" | "itemControl", {
928
928
  variant: {
929
929
  core: {
930
930
  item: {
@@ -1006,8 +1006,9 @@ type RadioCardVariantProps$1 = RecipeVariantProps<typeof radioCardSlotRecipe>;
1006
1006
  type RadioCardItemProps$1 = Exclude<RadioCard$1.ItemProps, "colorPalette" | "indicator" | "variant" | "size" | "addon"> & RadioCardVariantProps$1 & {
1007
1007
  inputProps?: React__default.InputHTMLAttributes<HTMLInputElement>;
1008
1008
  ariaLabel?: string;
1009
+ showIndicator?: boolean;
1009
1010
  };
1010
- declare const RadioCard: ({ ref, ...props }: RadioCardItemProps$1 & {
1011
+ declare const RadioCard: ({ ref, showIndicator, ...props }: RadioCardItemProps$1 & {
1011
1012
  ref?: React__default.Ref<HTMLInputElement>;
1012
1013
  }) => react_jsx_runtime.JSX.Element;
1013
1014
  type RadioCardRootProps$1 = RadioCardVariantProps$1 & Exclude<RadioCard$1.RootProps, "variant"> & {
@@ -1272,10 +1273,25 @@ declare const datePickerSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"cell"
1272
1273
  };
1273
1274
  };
1274
1275
  };
1276
+ size: {
1277
+ sm: {
1278
+ wrapper: {
1279
+ fontSize: ("mobile.xs" | "desktop.xs")[];
1280
+ paddingX: number;
1281
+ gap: number;
1282
+ };
1283
+ };
1284
+ md: {
1285
+ wrapper: {
1286
+ fontSize: ("mobile.sm" | "desktop.sm")[];
1287
+ };
1288
+ };
1289
+ };
1275
1290
  }>;
1276
1291
 
1277
1292
  type CalendarVariants = {
1278
1293
  variant?: ConditionalValue<"core" | "floating" | "ghost">;
1294
+ size?: ConditionalValue<"sm" | "md">;
1279
1295
  };
1280
1296
 
1281
1297
  type DatePickerVariantProps = RecipeVariantProps<typeof datePickerSlotRecipe>;
@@ -1296,12 +1312,13 @@ type DatePickerProps = Omit<AriaDatePickerProps<DateValue>, "onChange"> & Pick<B
1296
1312
  * A date picker component.
1297
1313
  *
1298
1314
  * There are three different variants –`core`, `floating` and `ghost`.
1315
+ * There are two different sizes - `sm` and `md`
1299
1316
  *
1300
1317
  * ```tsx
1301
1318
  * <DatePicker label="Dato" variant="core" />
1302
1319
  * ```
1303
1320
  */
1304
- declare const DatePicker: ({ ref: externalRef, variant, errorText, minHeight, showYearNavigation, withPortal, width, invalid, helperText, positioning, css, ...props }: DatePickerProps & {
1321
+ declare const DatePicker: ({ ref: externalRef, variant, size, errorText, minHeight, showYearNavigation, withPortal, width, invalid, helperText, positioning, css, ...props }: DatePickerProps & {
1305
1322
  ref?: React__default.Ref<HTMLDivElement>;
1306
1323
  }) => react_jsx_runtime.JSX.Element;
1307
1324
 
@@ -1321,11 +1338,12 @@ type DateRangePickerProps = Omit<AriaDateRangePickerProps<DateValue>, "onChange"
1321
1338
  * A date range picker component.
1322
1339
  *
1323
1340
  * There are three variants to choose from – `core`, `floating` and `ghost`.
1341
+ * There are two different sizes - `sm` and `md`
1324
1342
  *
1325
1343
  * ```tsx
1326
1344
  * <DateRangePicker startLabel="From" startName="from" endLabel="To" endName="to" variant="core" />
1327
1345
  * ```
1328
- */ declare function DateRangePicker({ variant, minHeight, startName, endName, withPortal, errorText, helperText, invalid, positioning, ...props }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
1346
+ */ declare function DateRangePicker({ variant, size, minHeight, startName, endName, withPortal, errorText, helperText, invalid, positioning, ...props }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
1329
1347
 
1330
1348
  type RangeCalendarProps = RangeCalendarProps$1<DateValue$1> & CalendarVariants;
1331
1349
  declare function RangeCalendar(props: RangeCalendarProps): react_jsx_runtime.JSX.Element;
@@ -1364,6 +1382,11 @@ type TimePickerProps = Omit<BoxProps, "defaultValue" | "onChange"> & FieldBasePr
1364
1382
  * Defaults to "core".
1365
1383
  */
1366
1384
  variant?: "core" | "floating" | "ghost";
1385
+ /**
1386
+ * The size of the time picker.
1387
+ * Defaults to "md".
1388
+ */
1389
+ size?: "sm" | "md";
1367
1390
  };
1368
1391
  /** A time picker component.
1369
1392
  *
@@ -1822,7 +1845,7 @@ type CheckboxGroupProps = React__default.ComponentProps<typeof CheckboxGroup$1>
1822
1845
  */
1823
1846
  declare const CheckboxGroup: (props: CheckboxGroupProps) => react_jsx_runtime.JSX.Element;
1824
1847
 
1825
- declare const choiceChipSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "item" | "itemContent" | "label" | "itemText" | "itemDescription" | "itemControl", {
1848
+ declare const choiceChipSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "item" | "itemContent" | "itemIndicator" | "label" | "itemText" | "itemDescription" | "itemControl", {
1826
1849
  size: {
1827
1850
  xs: {
1828
1851
  item: {
@@ -4244,6 +4267,7 @@ declare const themes: {
4244
4267
  VyDigital: _chakra_ui_react.SystemContext;
4245
4268
  CargoNet: _chakra_ui_react.SystemContext;
4246
4269
  VyUtvikling: _chakra_ui_react.SystemContext;
4270
+ VyTeknologi: _chakra_ui_react.SystemContext;
4247
4271
  };
4248
4272
  declare const system: _chakra_ui_react.SystemContext;
4249
4273
 
@@ -4252,18 +4276,29 @@ declare const fontFaces: string;
4252
4276
 
4253
4277
  declare enum Brand {
4254
4278
  VyDigital = "VyDigital",
4279
+ /**
4280
+ * @deprecated The VyUtvikling theme is deprecated and will be removed in a
4281
+ * future major version. Use {@link Brand.VyTeknologi} instead.
4282
+ */
4255
4283
  VyUtvikling = "VyUtvikling",
4284
+ VyTeknologi = "VyTeknologi",
4256
4285
  CargoNet = "CargoNet"
4257
4286
  }
4258
4287
 
4259
4288
  type Variant = "info" | "success" | "error";
4289
+ type ToastAction = {
4290
+ label: string;
4291
+ onClick: () => void;
4292
+ };
4260
4293
  type ToastProps = {
4261
4294
  duration?: number;
4262
4295
  text: string;
4263
4296
  variant: Variant;
4264
4297
  id?: string;
4298
+ action?: ToastAction;
4299
+ closable?: boolean;
4265
4300
  } & Pick<BoxProps, "width">;
4266
- declare const createToast: ({ text, variant, id, duration, width, }: ToastProps) => string;
4301
+ declare const createToast: ({ text, variant, id, duration, width, action, closable, }: ToastProps) => string;
4267
4302
 
4268
4303
  declare const Tooltip: React$1.FC<Tooltip$1.RootProps>;
4269
4304
  declare const TooltipTrigger: ({ ref, children, ...props }: Tooltip$1.TriggerProps & {
package/dist/index.mjs CHANGED
@@ -1553,6 +1553,7 @@ var PressableCard = ({
1553
1553
  };
1554
1554
  var RadioCard = ({
1555
1555
  ref,
1556
+ showIndicator = false,
1556
1557
  ...props
1557
1558
  }) => {
1558
1559
  const { inputProps, children } = props;
@@ -1568,7 +1569,10 @@ var RadioCard = ({
1568
1569
  ...inputProps
1569
1570
  }
1570
1571
  ),
1571
- /* @__PURE__ */ jsx(RadioCard$1.ItemControl, { id: itemControlId, "aria-hidden": true, children })
1572
+ /* @__PURE__ */ jsxs(RadioCard$1.ItemControl, { id: itemControlId, "aria-hidden": true, children: [
1573
+ showIndicator && /* @__PURE__ */ jsx(RadioCard$1.ItemIndicator, {}),
1574
+ children
1575
+ ] })
1572
1576
  ] });
1573
1577
  };
1574
1578
  var RadioCardGroup = ({
@@ -2486,7 +2490,6 @@ var DateTimeSegment = ({
2486
2490
  textAlign: "center",
2487
2491
  outline: "none",
2488
2492
  borderRadius: "xs",
2489
- fontSize: ["mobile.sm", "desktop.sm"],
2490
2493
  css: styles.dateTimeSegment,
2491
2494
  "aria-label": ariaLabel,
2492
2495
  "aria-labelledby": ariaLabelledby,
@@ -2609,6 +2612,7 @@ var StyledField = function StyledField2({
2609
2612
  isDisabled,
2610
2613
  isActive,
2611
2614
  overrideBorderColor,
2615
+ size,
2612
2616
  ...otherProps
2613
2617
  } = props;
2614
2618
  const { invalid } = useFieldContext() ?? {
@@ -2616,7 +2620,7 @@ var StyledField = function StyledField2({
2616
2620
  const recipe = useSlotRecipe({
2617
2621
  key: "datePicker"
2618
2622
  });
2619
- const styles = recipe({ variant });
2623
+ const styles = recipe({ variant, size });
2620
2624
  return /* @__PURE__ */ jsx(
2621
2625
  Box,
2622
2626
  {
@@ -2629,7 +2633,6 @@ var StyledField = function StyledField2({
2629
2633
  ref,
2630
2634
  "aria-invalid": invalid,
2631
2635
  "aria-disabled": isDisabled,
2632
- fontSize: ["mobile.md", "desktop.md"],
2633
2636
  children
2634
2637
  }
2635
2638
  );
@@ -2637,6 +2640,7 @@ var StyledField = function StyledField2({
2637
2640
  var DatePicker = ({
2638
2641
  ref: externalRef,
2639
2642
  variant,
2643
+ size,
2640
2644
  errorText,
2641
2645
  minHeight,
2642
2646
  showYearNavigation,
@@ -2701,12 +2705,13 @@ var DatePicker = ({
2701
2705
  invalid,
2702
2706
  helperText,
2703
2707
  required: props.required,
2708
+ size,
2704
2709
  children: /* @__PURE__ */ jsx(PopoverAnchor, { children: /* @__PURE__ */ jsxs(
2705
2710
  StyledField,
2706
2711
  {
2707
2712
  variant,
2713
+ size,
2708
2714
  onClick: onFieldClick,
2709
- paddingX: 3,
2710
2715
  minHeight,
2711
2716
  isDisabled: props.isDisabled,
2712
2717
  isActive: props.isActive,
@@ -2715,8 +2720,7 @@ var DatePicker = ({
2715
2720
  props.noCalendar ? /* @__PURE__ */ jsx(Box, { pr: 3, pl: 0.5, mr: 0.5, children: /* @__PURE__ */ jsx(CalendarOutline24Icon, {}) }) : /* @__PURE__ */ jsx(Popover$1.Trigger, { asChild: true, children: /* @__PURE__ */ jsx(
2716
2721
  CalendarTriggerButton,
2717
2722
  {
2718
- paddingLeft: 1,
2719
- paddingRight: 1,
2723
+ marginLeft: 1,
2720
2724
  variant,
2721
2725
  ref,
2722
2726
  ...buttonProps
@@ -2772,6 +2776,7 @@ function RangeCalendar(props) {
2772
2776
  }
2773
2777
  function DateRangePicker({
2774
2778
  variant = "core",
2779
+ size,
2775
2780
  minHeight,
2776
2781
  startName,
2777
2782
  endName,
@@ -2831,6 +2836,7 @@ function DateRangePicker({
2831
2836
  alignItems: "center",
2832
2837
  paddingX: 3,
2833
2838
  variant,
2839
+ size,
2834
2840
  onClick: onFieldClick,
2835
2841
  minHeight,
2836
2842
  children: [
@@ -2895,8 +2901,6 @@ var TimeField = ({ state, ...props }) => {
2895
2901
  color: "text.subtle",
2896
2902
  top: 0,
2897
2903
  cursor: "text",
2898
- left: "50%",
2899
- transform: "translateX(-50%)",
2900
2904
  position: "absolute",
2901
2905
  paddingTop: "2px",
2902
2906
  whiteSpace: "nowrap",
@@ -3032,10 +3036,8 @@ var TimePicker = ({
3032
3036
  StyledField,
3033
3037
  {
3034
3038
  width: "fit-content",
3035
- paddingX: 2,
3036
3039
  alignItems: "center",
3037
3040
  justifyContent: "space-between",
3038
- gap: 2,
3039
3041
  opacity: isDisabled ? 0.5 : 1,
3040
3042
  pointerEvents: isDisabled ? "none" : "auto",
3041
3043
  "aria-disabled": isDisabled,
@@ -6663,6 +6665,7 @@ var fontFaces = `
6663
6665
  var Brand = /* @__PURE__ */ ((Brand2) => {
6664
6666
  Brand2["VyDigital"] = "VyDigital";
6665
6667
  Brand2["VyUtvikling"] = "VyUtvikling";
6668
+ Brand2["VyTeknologi"] = "VyTeknologi";
6666
6669
  Brand2["CargoNet"] = "CargoNet";
6667
6670
  return Brand2;
6668
6671
  })(Brand || {});
@@ -6675,13 +6678,17 @@ var createToast = ({
6675
6678
  variant,
6676
6679
  id,
6677
6680
  duration = 6e3,
6678
- width = "sm"
6681
+ width = "sm",
6682
+ action,
6683
+ closable = false
6679
6684
  }) => toaster.create({
6680
6685
  description: text,
6681
6686
  type: variant,
6682
6687
  id: id ?? crypto.randomUUID(),
6683
6688
  duration,
6684
- meta: { width }
6689
+ action,
6690
+ meta: { width },
6691
+ closable
6685
6692
  });
6686
6693
  var Toaster = () => {
6687
6694
  return /* @__PURE__ */ jsx(Portal, { children: /* @__PURE__ */ jsx(Toaster$1, { toaster, insetInline: { mdDown: "4" }, children: (toast) => {
@@ -6696,7 +6703,9 @@ var Toaster = () => {
6696
6703
  role: "alert",
6697
6704
  children: [
6698
6705
  /* @__PURE__ */ jsx(AlertIcon, { variant: toast.type }),
6699
- /* @__PURE__ */ jsx(Stack, { gap: "1", flex: "1", maxWidth: "100%", children: /* @__PURE__ */ jsx(Toast.Description, { children: toast.description }) })
6706
+ /* @__PURE__ */ jsx(Stack, { gap: "1", flex: "1", maxWidth: "100%", children: /* @__PURE__ */ jsx(Toast.Description, { children: toast.description }) }),
6707
+ toast.action && /* @__PURE__ */ jsx(Toast.ActionTrigger, { onClick: toast.action.onClick, children: /* @__PURE__ */ jsx(Button, { variant: "ghost", size: "xs", children: toast.action.label }) }),
6708
+ toast.closable && /* @__PURE__ */ jsx(Toast.CloseTrigger, { children: /* @__PURE__ */ jsx(CloseButton, { size: "xs" }) })
6700
6709
  ]
6701
6710
  }
6702
6711
  );
@@ -7749,6 +7758,9 @@ var vyDigitalColors = defineSemanticTokens.colors({
7749
7758
  var vyUtviklingColors = defineSemanticTokens.colors({
7750
7759
  ...tokens4.color["vy-utvikling"].color.vyUtvikling
7751
7760
  });
7761
+ var vyTeknologiColors = defineSemanticTokens.colors({
7762
+ ...tokens4.color["vy-teknologi"].color.vyTeknologi
7763
+ });
7752
7764
  var cargonetColors = defineSemanticTokens.colors({
7753
7765
  ...tokens4.color["cargonet"].color.cargonet
7754
7766
  });
@@ -7795,6 +7807,10 @@ var semanticTokens = {
7795
7807
  ...baseSemanticTokens,
7796
7808
  colors: vyUtviklingColors
7797
7809
  },
7810
+ ["VyTeknologi" /* VyTeknologi */]: {
7811
+ ...baseSemanticTokens,
7812
+ colors: vyTeknologiColors
7813
+ },
7798
7814
  ["CargoNet" /* CargoNet */]: {
7799
7815
  ...baseSemanticTokens,
7800
7816
  colors: cargonetColors
@@ -7945,7 +7961,8 @@ var radioCardAnatomy = createAnatomy("radio-card").parts(
7945
7961
  "itemText",
7946
7962
  "itemDescription",
7947
7963
  "itemContent",
7948
- "itemControl"
7964
+ "itemControl",
7965
+ "itemIndicator"
7949
7966
  );
7950
7967
  var radioAnatomy = createAnatomy("radio").parts(
7951
7968
  "root",
@@ -8970,6 +8987,8 @@ var datePickerSlotRecipe = defineSlotRecipe({
8970
8987
  display: "flex",
8971
8988
  flex: 1,
8972
8989
  paddingY: 0.5,
8990
+ paddingX: 2,
8991
+ gap: 1.5,
8973
8992
  alignItems: "center",
8974
8993
  _hover: {
8975
8994
  zIndex: "docked"
@@ -9185,10 +9204,25 @@ var datePickerSlotRecipe = defineSlotRecipe({
9185
9204
  }
9186
9205
  }
9187
9206
  }
9207
+ },
9208
+ size: {
9209
+ sm: {
9210
+ wrapper: {
9211
+ fontSize: ["mobile.xs", "desktop.xs"],
9212
+ paddingX: 1,
9213
+ gap: 1
9214
+ }
9215
+ },
9216
+ md: {
9217
+ wrapper: {
9218
+ fontSize: ["mobile.sm", "desktop.sm"]
9219
+ }
9220
+ }
9188
9221
  }
9189
9222
  },
9190
9223
  defaultVariants: {
9191
- variant: "core"
9224
+ variant: "core",
9225
+ size: "md"
9192
9226
  }
9193
9227
  });
9194
9228
  var dialogSlotRecipe = defineSlotRecipe({
@@ -11226,6 +11260,54 @@ var radioCardSlotRecipe = defineSlotRecipe({
11226
11260
  _disabled: { opacity: 0.4 },
11227
11261
  fontWeight: "bold",
11228
11262
  fontSize: "inherit"
11263
+ },
11264
+ itemControl: {
11265
+ display: "flex",
11266
+ alignItems: "flex-start",
11267
+ justifyContent: "flex-start"
11268
+ },
11269
+ itemIndicator: {
11270
+ display: "inline-flex",
11271
+ flexShrink: 0,
11272
+ alignItems: "center",
11273
+ justifyContent: "center",
11274
+ borderWidth: "2px",
11275
+ borderColor: "outline.core",
11276
+ borderRadius: "xl",
11277
+ width: 3,
11278
+ height: 3,
11279
+ marginRight: 2,
11280
+ marginTop: 0.5,
11281
+ _checked: {
11282
+ borderColor: "surface.brand"
11283
+ },
11284
+ _hover: {
11285
+ borderColor: "surface.brand.hover",
11286
+ "& .dot": {
11287
+ backgroundColor: "surface.brand.hover"
11288
+ }
11289
+ },
11290
+ _disabled: {
11291
+ pointerEvents: "none",
11292
+ backgroundColor: "surface.disabled",
11293
+ borderColor: "outline.disabled",
11294
+ "& .dot": {
11295
+ backgroundColor: "outline.disabled"
11296
+ }
11297
+ },
11298
+ _focusVisible: {
11299
+ outlineWidth: "2px",
11300
+ outlineColor: "outline.focus",
11301
+ outlineStyle: "solid",
11302
+ outlineOffset: "1px"
11303
+ },
11304
+ "& .dot": {
11305
+ height: "full",
11306
+ width: "full",
11307
+ borderRadius: "xl",
11308
+ backgroundColor: "surface.brand",
11309
+ scale: "0.5"
11310
+ }
11229
11311
  }
11230
11312
  },
11231
11313
  variants: {
@@ -13081,6 +13163,10 @@ var themes = {
13081
13163
  ["VyUtvikling" /* VyUtvikling */]: createSystem(
13082
13164
  defaultBaseConfig,
13083
13165
  generateTheme("VyUtvikling" /* VyUtvikling */)
13166
+ ),
13167
+ ["VyTeknologi" /* VyTeknologi */]: createSystem(
13168
+ defaultBaseConfig,
13169
+ generateTheme("VyTeknologi" /* VyTeknologi */)
13084
13170
  )
13085
13171
  };
13086
13172
  var system = themes["VyDigital" /* VyDigital */];