@norges-domstoler/dds-components 24.3.0 → 24.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.css CHANGED
@@ -4274,6 +4274,26 @@
4274
4274
  cursor: not-allowed;
4275
4275
  position: relative;
4276
4276
  }
4277
+ .dds-Badge-module__container {
4278
+ border-radius: var(--dds-border-radius-rounded);
4279
+ box-sizing: border-box;
4280
+ }
4281
+
4282
+ .dds-Badge-module__notification {
4283
+ background-color: var(--dds-color-surface-notification);
4284
+ }
4285
+
4286
+ .dds-Badge-module__action {
4287
+ background-color: var(--dds-color-surface-action-resting);
4288
+ }
4289
+
4290
+ .dds-Badge-module__neutral {
4291
+ background-color: var(--dds-color-surface-inverse-default);
4292
+ }
4293
+
4294
+ .dds-Badge-module__subtle {
4295
+ background-color: var(--dds-color-surface-medium);
4296
+ }
4277
4297
  .dds-Spinner-module__svg {
4278
4298
  display: block;
4279
4299
  }
@@ -4769,6 +4789,13 @@
4769
4789
  color: var(--dds-color-text-on-action);
4770
4790
  }
4771
4791
  }
4792
+
4793
+ .dds-Button-module__badge {
4794
+ position: absolute;
4795
+ top: 0;
4796
+ right: 0;
4797
+ transform: translate(50%, -50%);
4798
+ }
4772
4799
  .dds-OverflowMenu-module__container {
4773
4800
  box-sizing: border-box;
4774
4801
  }
@@ -5395,7 +5422,6 @@ input[data-indeterminate='true'] ~ .dds-SelectionControl-module__selection-contr
5395
5422
  .dds-DateInput-module__segment__placeholder--invisible {
5396
5423
  visibility: hidden;
5397
5424
  height: 0;
5398
- width: 0;
5399
5425
  }
5400
5426
 
5401
5427
  /**------------------------------------------------------------------------
@@ -7101,6 +7127,7 @@ input[data-indeterminate='true'] ~ .dds-SelectionControl-module__selection-contr
7101
7127
  }
7102
7128
 
7103
7129
  .dds-Tabs-module__tab {
7130
+ position: relative;
7104
7131
  border: none;
7105
7132
  -webkit-user-select: text;
7106
7133
  user-select: text;
@@ -7162,6 +7189,11 @@ input[data-indeterminate='true'] ~ .dds-SelectionControl-module__selection-contr
7162
7189
  box-shadow: inset 0px -2px 0px 0px var(--dds-color-surface-action-selected);
7163
7190
  cursor: default;
7164
7191
  }
7192
+
7193
+ .dds-Tabs-module__tab--column__badge {
7194
+ position: absolute;
7195
+ transform: translateX(50%);
7196
+ }
7165
7197
  .dds-Tag-module__container {
7166
7198
  border: 1px solid;
7167
7199
  display: inline-flex;