@navikt/ds-css 0.8.3 → 0.9.2

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/form/radio.css CHANGED
@@ -74,7 +74,6 @@
74
74
  border: 1px solid var(--navds-radio-color-border);
75
75
  width: 1.5rem;
76
76
  height: 1.5rem;
77
- border-radius: 4px;
78
77
  flex-shrink: 0;
79
78
  border-radius: 50%;
80
79
  }
@@ -29,6 +29,10 @@
29
29
  border-bottom-left-radius: 0;
30
30
  }
31
31
 
32
+ .navds-search-field__input-wrapper > :last-child:first-child {
33
+ border-radius: 4px;
34
+ }
35
+
32
36
  .navds-search-field__input-wrapper :focus {
33
37
  z-index: var(--navds-z-index-focus);
34
38
  }
package/index.css CHANGED
@@ -8,7 +8,6 @@
8
8
  @import "button.css";
9
9
  @import "content-container.css";
10
10
  @import "copy-to-clipboard.css";
11
- @import "internal-header.css";
12
11
  @import "guide-panel.css";
13
12
  @import "form/index.css";
14
13
  @import "help-text.css";
@@ -20,6 +19,7 @@
20
19
  @import "panel.css";
21
20
  @import "link-panel.css";
22
21
  @import "speech-bubble.css";
22
+ @import "table.css";
23
23
 
24
24
  /* Navno spesific packages */
25
25
  @import "page-header.css";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/ds-css",
3
- "version": "0.8.3",
3
+ "version": "0.9.2",
4
4
  "private": false,
5
5
  "description": "Css for NAV Designsystem components",
6
6
  "author": "NAV Designsystem team",
@@ -21,11 +21,11 @@
21
21
  "watch": "postcss --watch --use postcss-import -o dist/index.css index.css"
22
22
  },
23
23
  "devDependencies": {
24
- "@navikt/ds-tokens": "^0.5.1",
24
+ "@navikt/ds-tokens": "^0.5.2",
25
25
  "normalize.css": "^8.0.1",
26
26
  "postcss": "^8.3.6",
27
27
  "postcss-cli": "^8.3.1",
28
28
  "postcss-import": "^14.0.2"
29
29
  },
30
- "gitHead": "5fd28b01316ea6651a8983b87aaaf7d29db3e797"
30
+ "gitHead": "a170ca8998bd8c99ea24f1e3926f840f6284e217"
31
31
  }
package/table.css ADDED
@@ -0,0 +1,28 @@
1
+ .navds-table {
2
+ border-collapse: collapse;
3
+ width: 100%;
4
+ display: table;
5
+ }
6
+
7
+ .navds-table__header {
8
+ display: table-header-group;
9
+ }
10
+
11
+ .navds-table__body {
12
+ display: table-row-group;
13
+ }
14
+
15
+ .navds-table__row {
16
+ display: table-row;
17
+ }
18
+
19
+ .navds-table__cell {
20
+ display: table-cell;
21
+ padding: var(--navds-spacing-4);
22
+ text-align: left;
23
+ border-bottom: var(--navds-border-default);
24
+ }
25
+
26
+ .navds-table--small .navds-table__cell {
27
+ padding: var(--navds-spacing-2);
28
+ }
@@ -1,66 +0,0 @@
1
- :root {
2
- --navds-internal-header-color-background: var(--navds-color-darkgray);
3
- --navds-internal-header-color-border: var(--navds-color-gray-40);
4
- --navds-internal-header-color-text: var(--navds-color-text-inverse);
5
- }
6
-
7
- /**************************
8
- * .navds-header *
9
- **************************/
10
-
11
- .navds-interal-header {
12
- display: flex;
13
- align-items: center;
14
- background: var(--navds-internal-header-color-background);
15
- color: var(--navds-internal-header-color-text);
16
- max-width: 100vw;
17
- min-height: 50px;
18
- }
19
-
20
- .navds-interal-header__column {
21
- display: flex;
22
- align-items: center;
23
- }
24
-
25
- /**************************
26
- * .navds-interal-header__title *
27
- **************************/
28
-
29
- .navds-interal-header__title {
30
- padding: 0 var(--navds-spacing-6);
31
- border-right: 1px solid var(--navds-internal-header-color-border);
32
- display: flex;
33
- align-self: stretch;
34
- align-items: center;
35
- text-decoration: none;
36
- margin: 0;
37
- color: var(--navds-internal-header-color-text);
38
- }
39
-
40
- .navds-interal-header__title > span > a {
41
- text-decoration: none;
42
- color: inherit;
43
- }
44
-
45
- .navds-interal-header__title > span > a:focus {
46
- box-shadow: var(--navds-shadow-focus-on-dark);
47
- outline: none;
48
- }
49
-
50
- /**************************
51
- * .navds-interal-header__user *
52
- **************************/
53
-
54
- .navds-interal-header__user {
55
- color: var(--navds-internal-header-color-text);
56
- padding: 0 var(--navds-spacing-6);
57
- margin-left: auto;
58
- border-left: 1px solid var(--navds-internal-header-color-border);
59
- display: flex;
60
- align-self: stretch;
61
- align-items: center;
62
- }
63
-
64
- .navds-interal-header__name.navds-body-short {
65
- margin-right: var(--navds-spacing-4);
66
- }