@norges-domstoler/dds-components 0.0.0-dev-20240822073709 → 0.0.0-dev-20240822123620

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
@@ -116,14 +116,14 @@ var typographyStyles_default = {
116
116
  "heading-sans-08--margins": "typographyStyles_heading-sans-08--margins",
117
117
  "supporting-style-label-01": "typographyStyles_supporting-style-label-01",
118
118
  "supporting-style-label-01--margins": "typographyStyles_supporting-style-label-01--margins",
119
- "supporting-style-helpertext-01": "typographyStyles_supporting-style-helpertext-01",
120
- "supporting-style-helpertext-01--margins": "typographyStyles_supporting-style-helpertext-01--margins",
121
- "supporting-style-placeholdertext-01": "typographyStyles_supporting-style-placeholdertext-01",
122
- "supporting-style-placeholdertext-01--margins": "typographyStyles_supporting-style-placeholdertext-01--margins",
123
- "supporting-style-placeholdertext-02": "typographyStyles_supporting-style-placeholdertext-02",
124
- "supporting-style-placeholdertext-02--margins": "typographyStyles_supporting-style-placeholdertext-02--margins",
125
- "supporting-style-placeholdertext-03": "typographyStyles_supporting-style-placeholdertext-03",
126
- "supporting-style-placeholdertext-03--margins": "typographyStyles_supporting-style-placeholdertext-03--margins",
119
+ "supporting-style-helper-text-01": "typographyStyles_supporting-style-helper-text-01",
120
+ "supporting-style-helper-text-01--margins": "typographyStyles_supporting-style-helper-text-01--margins",
121
+ "supporting-style-placeholder-text-01": "typographyStyles_supporting-style-placeholder-text-01",
122
+ "supporting-style-placeholder-text-01--margins": "typographyStyles_supporting-style-placeholder-text-01--margins",
123
+ "supporting-style-placeholder-text-02": "typographyStyles_supporting-style-placeholder-text-02",
124
+ "supporting-style-placeholder-text-02--margins": "typographyStyles_supporting-style-placeholder-text-02--margins",
125
+ "supporting-style-placeholder-text-03": "typographyStyles_supporting-style-placeholder-text-03",
126
+ "supporting-style-placeholder-text-03--margins": "typographyStyles_supporting-style-placeholder-text-03--margins",
127
127
  "supporting-style-tiny-01": "typographyStyles_supporting-style-tiny-01",
128
128
  "supporting-style-tiny-01--margins": "typographyStyles_supporting-style-tiny-01--margins",
129
129
  "supporting-style-tiny-02": "typographyStyles_supporting-style-tiny-02",
@@ -4757,7 +4757,7 @@ var OverflowMenuListHeader = forwardRef23((props, ref) => {
4757
4757
  ref,
4758
4758
  ...props,
4759
4759
  className: cn(
4760
- typographyStyles_default["supporting-style-helpertext-01"],
4760
+ typographyStyles_default["supporting-style-helper-text-01"],
4761
4761
  typographyStyles_default["text-color--default"],
4762
4762
  OverflowMenu_default["group-header"]
4763
4763
  )
@@ -5798,7 +5798,7 @@ var InputMessage = forwardRef31(
5798
5798
  cn(
5799
5799
  className,
5800
5800
  InputMessage_default.container,
5801
- messageType === "error" && InputMessage_default["container--error"]
5801
+ isError && InputMessage_default["container--error"]
5802
5802
  ),
5803
5803
  htmlProps,
5804
5804
  rest
@@ -9076,7 +9076,7 @@ var getCustomStyles = (size2, hasError, isReadOnly) => ({
9076
9076
  alignItems: "center",
9077
9077
  flexWrap: "wrap",
9078
9078
  cursor: "pointer",
9079
- borderRadius: "var(--dds-border-radius-1)",
9079
+ borderRadius: "var(--dds-border-radius-input)",
9080
9080
  border: "1px solid",
9081
9081
  borderColor: "var(--dds-color-border-default)",
9082
9082
  backgroundColor: "var(--dds-color-surface-default)",
@@ -9149,7 +9149,7 @@ var getCustomStyles = (size2, hasError, isReadOnly) => ({
9149
9149
  boxSizing: "border-box",
9150
9150
  minWidth: 0,
9151
9151
  display: "flex",
9152
- borderRadius: "var(--dds-border-radius-1)",
9152
+ borderRadius: "var(--dds-border-radius-surface)",
9153
9153
  backgroundColor: "var(--dds-color-surface-medium)"
9154
9154
  }),
9155
9155
  multiValueLabel: (provided, state) => ({
@@ -9185,7 +9185,7 @@ var getCustomStyles = (size2, hasError, isReadOnly) => ({
9185
9185
  transition: "0.2s",
9186
9186
  border: "1px solid var(--dds-color-border-default)",
9187
9187
  backgroundColor: "var(--dds-color-surface-default)",
9188
- borderRadius: "var(--dds-border-radius-1)",
9188
+ borderRadius: "var(--dds-border-radius-surface)",
9189
9189
  marginBlock: "var(--dds-spacing-x0-25)"
9190
9190
  }),
9191
9191
  menuPortal: (provided) => ({
@@ -9237,6 +9237,7 @@ var getCustomStyles = (size2, hasError, isReadOnly) => ({
9237
9237
  clearIndicator: () => isReadOnly ? { display: "none" } : {
9238
9238
  display: "inline-flex",
9239
9239
  color: "var(--dds-color-icon-default)",
9240
+ borderRadius: "var(--dds-border-radius-button)",
9240
9241
  "@media (prefers-reduced-motion: no-preference)": {
9241
9242
  transition: "background-color 0.2s"
9242
9243
  },