@vygruppen/spor-react 13.4.4 → 13.4.5

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.mjs CHANGED
@@ -2529,11 +2529,20 @@ var DateField = ({
2529
2529
  ref
2530
2530
  );
2531
2531
  return /* @__PURE__ */ jsxs(Box, { minWidth: "6rem", width: "100%", children: [
2532
- props.label && /* @__PURE__ */ jsx(Box, { css: styles.inputLabel, position: "absolute", paddingTop: "2px", children: /* @__PURE__ */ jsxs(Label, { padding: "0", ...props.labelProps, children: [
2533
- props.label,
2534
- " ",
2535
- /* @__PURE__ */ jsx(Field.RequiredIndicator, {})
2536
- ] }) }),
2532
+ props.label && /* @__PURE__ */ jsx(Box, { css: styles.inputLabel, position: "absolute", paddingTop: "2px", children: /* @__PURE__ */ jsxs(
2533
+ Label,
2534
+ {
2535
+ padding: "0",
2536
+ fontSize: ["mobile.2xs", "desktop.2xs"],
2537
+ color: "text.subtle",
2538
+ ...props.labelProps,
2539
+ children: [
2540
+ props.label,
2541
+ " ",
2542
+ /* @__PURE__ */ jsx(Field.RequiredIndicator, {})
2543
+ ]
2544
+ }
2545
+ ) }),
2537
2546
  /* @__PURE__ */ jsx(Flex, { ...fieldProps, ref, paddingTop: "3", paddingBottom: "0.5", children: state.segments.map((segment, index) => /* @__PURE__ */ jsx(
2538
2547
  DateTimeSegment,
2539
2548
  {
@@ -2882,7 +2891,8 @@ var TimeField = ({ state, ...props }) => {
2882
2891
  ...labelProps,
2883
2892
  htmlFor: fieldProps.id,
2884
2893
  marginBottom: 0,
2885
- fontSize: ["mobile.xs", "desktop.xs"],
2894
+ fontSize: ["mobile.2xs", "desktop.2xs"],
2895
+ color: "text.subtle",
2886
2896
  top: 0,
2887
2897
  cursor: "text",
2888
2898
  left: "50%",