@norges-domstoler/dds-components 0.0.0-dev-20231110102937 → 0.0.0-dev-20231114081353

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.js CHANGED
@@ -957,10 +957,10 @@ var ButtonWrapper = import_styled_components5.default.button`
957
957
  ${({ fullWidth, hasIcon, hasLabel, isLoading, iconPosition }) => fullWidth && (!hasIcon || !hasLabel || isLoading ? import_styled_components5.css`
958
958
  justify-content: center;
959
959
  ` : hasIcon && hasLabel && iconPosition === "left" ? import_styled_components5.css`
960
- justify-content: left;
961
- ` : import_styled_components5.css`
962
- justify-content: space-between;
963
- `)}
960
+ justify-content: left;
961
+ ` : import_styled_components5.css`
962
+ justify-content: space-between;
963
+ `)}
964
964
 
965
965
  &:focus-visible, &.focus-visible {
966
966
  ${import_dds_form.focusVisible}
@@ -3339,15 +3339,15 @@ var Container3 = import_styled_components18.default.div`
3339
3339
  color: ${dropdownIndicator2.readOnly.color};
3340
3340
  }
3341
3341
  ` : isDisabled ? import_styled_components18.css`
3342
- cursor: not-allowed;
3343
- .${prefix}__control {
3344
- border-color: ${control2.disabled.borderColor};
3345
- background-color: ${control2.disabled.backgroundColor};
3346
- }
3347
- &:hover .${prefix}__dropdown-indicator {
3348
- color: ${dropdownIndicator2.base.color};
3349
- }
3350
- ` : ""}
3342
+ cursor: not-allowed;
3343
+ .${prefix}__control {
3344
+ border-color: ${control2.disabled.borderColor};
3345
+ background-color: ${control2.disabled.backgroundColor};
3346
+ }
3347
+ &:hover .${prefix}__dropdown-indicator {
3348
+ color: ${dropdownIndicator2.base.color};
3349
+ }
3350
+ ` : ""}
3351
3351
  `;
3352
3352
  var InnerSingleValue = import_styled_components18.default.div`
3353
3353
  overflow: hidden;
@@ -5881,12 +5881,12 @@ var Container6 = import_styled_components42.default.div`
5881
5881
  ${import_dds_form15.focusVisibleWithBorder}
5882
5882
  }
5883
5883
  ` : cardType === "expandable" ? import_styled_components42.css`
5884
- width: 100%;
5885
- box-sizing: border-box;
5886
- &:not(:first-of-type) {
5887
- border-top: none;
5888
- }
5889
- ` : ""}
5884
+ width: 100%;
5885
+ box-sizing: border-box;
5886
+ &:not(:first-of-type) {
5887
+ border-top: none;
5888
+ }
5889
+ ` : ""}
5890
5890
  `;
5891
5891
  var Card = (props) => {
5892
5892
  const {
@@ -7230,9 +7230,9 @@ var Container11 = (0, import_styled_components56.default)(import_dds_core62.Pape
7230
7230
  left: 0;
7231
7231
  transform: ${isOpen ? "translate(0px)" : "translateX(-100%)"};
7232
7232
  ` : placement === "right" ? import_styled_components56.css`
7233
- right: 0;
7234
- transform: ${isOpen ? "translate(0px)" : "translateX(100%)"};
7235
- ` : ""}
7233
+ right: 0;
7234
+ transform: ${isOpen ? "translate(0px)" : "translateX(100%)"};
7235
+ ` : ""}
7236
7236
 
7237
7237
  @media (prefers-reduced-motion: no-preference) {
7238
7238
  transition: transform 0.5s;