@oslokommune/punkt-css 16.9.1 → 16.11.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.
@@ -6,7 +6,7 @@
6
6
  @forward 'spacing';
7
7
 
8
8
  // Default icon path
9
- $icon-path: 'https://punkt-cdn.oslo.kommune.no/16.9/icons' !default;
9
+ $icon-path: 'https://punkt-cdn.oslo.kommune.no/16.11/icons' !default;
10
10
 
11
11
  // Borders
12
12
  $border-width: (
@@ -254,6 +254,9 @@ body.pkt-modal--open {
254
254
  .pkt-modal--large {
255
255
  width: 640px;
256
256
  }
257
+ .pkt-modal--fit-content {
258
+ width: fit-content;
259
+ }
257
260
 
258
261
  .pkt-modal__btn-wrapper {
259
262
  padding-top: map.get(variables.$spacing, 'size-24');
@@ -8,10 +8,10 @@ pkt-tab-item {
8
8
  }
9
9
 
10
10
  .pkt-tabs {
11
- --pkt-tabs-bg: var(--pkt-color-background-default);
12
11
  background-color: var(--pkt-tabs-bg);
13
12
  position: relative;
14
13
  border-bottom: 1px solid var(--pkt-color-border-gray);
14
+
15
15
  &__list {
16
16
  position: relative;
17
17
  width: auto;
@@ -104,6 +104,45 @@ pkt-tab-item {
104
104
  }
105
105
  }
106
106
 
107
+ &--with-separator {
108
+ .pkt-tabs__list {
109
+ padding-right: 0.25rem;
110
+ align-items: center;
111
+ }
112
+
113
+ .pkt-tabs__button,
114
+ .pkt-tabs__link {
115
+ position: relative;
116
+ overflow: visible;
117
+ }
118
+
119
+ .pkt-tabs__separator {
120
+ display: inline-flex;
121
+ align-items: center;
122
+ justify-content: center;
123
+ align-self: center;
124
+
125
+ pointer-events: none;
126
+ user-select: none;
127
+ margin: 0 0.375rem;
128
+ }
129
+
130
+ .pkt-tabs__separator img {
131
+ width: 1rem;
132
+ height: 1rem;
133
+ display: block;
134
+ }
135
+
136
+ .pkt-tabs__separator-icon {
137
+ font-size: 1.125rem;
138
+ --fg-color: currentColor;
139
+ }
140
+ }
141
+
142
+ &__status-icon {
143
+ font-size: 1.125rem;
144
+ }
145
+
107
146
  &:after {
108
147
  content: '';
109
148
  display: block;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "16.9.1",
3
+ "version": "16.11.0",
4
4
  "description": "CSS-rammeverket til Punkt, et designsystem laget av Oslo Origo",
5
5
  "homepage": "https://punkt.oslo.kommune.no",
6
6
  "author": "Team Designsystem, Oslo Origo",
@@ -60,5 +60,5 @@
60
60
  "url": "https://github.com/oslokommune/punkt/issues"
61
61
  },
62
62
  "license": "MIT",
63
- "gitHead": "88ccfdd5b0afd0db0c4f18e93b772b578f3fd9d7"
63
+ "gitHead": "17f81f8bf2c3716c741327d6b4bcc2347994278e"
64
64
  }