@surflane/css 0.24.0 → 0.25.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@surflane/css",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.1",
|
|
4
4
|
"description": "Surflane's CSS-only layer: control, layout composition, document typography and presentation classes that work without React, on top of @surflane/design-tokens.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design-system",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"./package.json": "./package.json"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@surflane/design-tokens": "^0.
|
|
40
|
+
"@surflane/design-tokens": "^0.25.1"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
package/presentation/avatar.css
CHANGED
|
@@ -33,6 +33,10 @@
|
|
|
33
33
|
--surf-avatar-size: var(--surf-size-avatar-large);
|
|
34
34
|
font-size: var(--surf-size-font-large);
|
|
35
35
|
}
|
|
36
|
+
/* A thing, not a person: a product, a project or a team. */
|
|
37
|
+
.surf-avatar[data-shape='square'] {
|
|
38
|
+
border-radius: var(--surf-radius-sm);
|
|
39
|
+
}
|
|
36
40
|
.surf-avatar-image {
|
|
37
41
|
width: 100%;
|
|
38
42
|
height: 100%;
|
package/presentation/table.css
CHANGED
|
@@ -24,8 +24,9 @@
|
|
|
24
24
|
.surf-table[data-layout='fixed'] {
|
|
25
25
|
table-layout: fixed;
|
|
26
26
|
}
|
|
27
|
-
/* One line per cell; Table.Truncate ends what does not fit. */
|
|
28
|
-
.surf-table[data-nowrap] .surf-table-cell
|
|
27
|
+
/* One line per cell, or for one cell; Table.Truncate ends what does not fit. */
|
|
28
|
+
.surf-table[data-nowrap] .surf-table-cell,
|
|
29
|
+
.surf-table-cell[data-nowrap] {
|
|
29
30
|
white-space: nowrap;
|
|
30
31
|
overflow-wrap: normal;
|
|
31
32
|
}
|