@norges-domstoler/dds-components 0.0.0-dev-20240805100404 → 0.0.0-dev-20240819080131

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
@@ -5910,8 +5910,7 @@ import { forwardRef as forwardRef32 } from "react";
5910
5910
  var InputMessage_default = {
5911
5911
  container: "InputMessage_container",
5912
5912
  "container--error": "InputMessage_container--error",
5913
- icon: "InputMessage_icon",
5914
- "container--tip": "InputMessage_container--tip"
5913
+ icon: "InputMessage_icon"
5915
5914
  };
5916
5915
 
5917
5916
  // src/components/InputMessage/InputMessage.tsx
@@ -5925,7 +5924,11 @@ var InputMessage = forwardRef32(
5925
5924
  {
5926
5925
  ...getBaseHTMLProps(
5927
5926
  id,
5928
- cn(className, InputMessage_default.container, InputMessage_default[`container--${messageType}`]),
5927
+ cn(
5928
+ className,
5929
+ InputMessage_default.container,
5930
+ messageType === "error" && InputMessage_default["container--error"]
5931
+ ),
5929
5932
  htmlProps,
5930
5933
  rest
5931
5934
  ),