@norges-domstoler/dds-components 14.3.1 → 14.4.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.mts CHANGED
@@ -29,7 +29,7 @@ declare const StatefulInput: styled_components.IStyledComponent<"web", styled_co
29
29
  ref?: ((instance: HTMLInputElement | null) => void) | react.RefObject<HTMLInputElement> | null | undefined;
30
30
  }, StyledInputProps>> & Omit<styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>>, keyof react.Component<any, {}, any>>;
31
31
  interface OuterInputContainerProps {
32
- width?: Property.Width;
32
+ $width?: Property.Width;
33
33
  }
34
34
  declare const OuterInputContainer: styled_components.IStyledComponent<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, OuterInputContainerProps>>;
35
35
  /**Brukes som container til input og ikon for posisjonering. */
@@ -354,9 +354,6 @@ declare const inputTokens: {
354
354
  gap: number;
355
355
  };
356
356
  };
357
- container: {
358
- gap: string;
359
- };
360
357
  };
361
358
 
362
359
  declare function getDefaultText(value?: string | number | ReadonlyArray<string>, defaultValue?: string | number | ReadonlyArray<string>): string;
@@ -2268,6 +2265,7 @@ declare namespace Calendar {
2268
2265
  type DateFieldProps<T extends DateValue$1 = CalendarDate> = AriaDateFieldOptions<T> & {
2269
2266
  className?: string;
2270
2267
  buttonProps?: ReturnType<typeof useDatePicker>['buttonProps'];
2268
+ groupProps?: ReturnType<typeof useDatePicker>['groupProps'];
2271
2269
  /**
2272
2270
  * For å sette en egendefinert bredde på komponenten.
2273
2271
  */
package/dist/index.d.ts CHANGED
@@ -29,7 +29,7 @@ declare const StatefulInput: styled_components.IStyledComponent<"web", styled_co
29
29
  ref?: ((instance: HTMLInputElement | null) => void) | react.RefObject<HTMLInputElement> | null | undefined;
30
30
  }, StyledInputProps>> & Omit<styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>>, keyof react.Component<any, {}, any>>;
31
31
  interface OuterInputContainerProps {
32
- width?: Property.Width;
32
+ $width?: Property.Width;
33
33
  }
34
34
  declare const OuterInputContainer: styled_components.IStyledComponent<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, OuterInputContainerProps>>;
35
35
  /**Brukes som container til input og ikon for posisjonering. */
@@ -354,9 +354,6 @@ declare const inputTokens: {
354
354
  gap: number;
355
355
  };
356
356
  };
357
- container: {
358
- gap: string;
359
- };
360
357
  };
361
358
 
362
359
  declare function getDefaultText(value?: string | number | ReadonlyArray<string>, defaultValue?: string | number | ReadonlyArray<string>): string;
@@ -2268,6 +2265,7 @@ declare namespace Calendar {
2268
2265
  type DateFieldProps<T extends DateValue$1 = CalendarDate> = AriaDateFieldOptions<T> & {
2269
2266
  className?: string;
2270
2267
  buttonProps?: ReturnType<typeof useDatePicker>['buttonProps'];
2268
+ groupProps?: ReturnType<typeof useDatePicker>['groupProps'];
2271
2269
  /**
2272
2270
  * For å sette en egendefinert bredde på komponenten.
2273
2271
  */