@s_and_a/arrow-ui-design-remix 0.1.4 → 0.1.6
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": "@s_and_a/arrow-ui-design-remix",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "ARROW UI の design:remix",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"build": "tsc -p tsconfig.build.json"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@s_and_a/arrow-ui": "0.1.
|
|
28
|
+
"@s_and_a/arrow-ui": "0.1.4"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@s_and_a/arrow-ui-tokens": "0.1.2"
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
[data-ar-design="remix"] [data-ar="period-nav"][data-inverse]>[data-part="center"]>[data-part="label"]{height:auto;min-height:36px;font-size:18px;line-height:1.5}
|
|
37
37
|
[data-ar-design="remix"] [data-ar="period-nav"][data-size="md"]>[data-part="center"]>[data-part="label"]{height:auto;min-height:40px;line-height:1.4}
|
|
38
38
|
@media(max-width:600px){
|
|
39
|
-
[data-ar-design="remix"] [data-ar="period-nav"][data-size="md"]>[data-part="center"]>[data-part="label"]{padding:0
|
|
39
|
+
[data-ar-design="remix"] [data-ar="period-nav"][data-size="md"]:not([data-inverse])>[data-part="center"]>[data-part="label"]{padding:0 4px;font-size:16px;letter-spacing:0}
|
|
40
40
|
}
|
|
@@ -1,3 +1,40 @@
|
|
|
1
1
|
/* @covers ArProfileCard 1.0.0 */
|
|
2
2
|
/* The profile composes the design's Card, Avatar, Title, Tag and Descriptions. */
|
|
3
3
|
[data-ar-design="remix"] [data-ar="profile-card"]{color:var(--ar-color-text)}
|
|
4
|
+
|
|
5
|
+
/* On narrow profile cards, identity metadata stays compact like SpEmp.
|
|
6
|
+
Keep the same description list and slots so a design/viewport switch preserves actions and focus. */
|
|
7
|
+
@container (max-width: 600px) {
|
|
8
|
+
[data-ar-design="remix"] [data-ar="profile-card"] [data-part="photo"] > [data-ar="avatar"] {
|
|
9
|
+
width: 40px;
|
|
10
|
+
height: 40px;
|
|
11
|
+
font-size: 16px;
|
|
12
|
+
}
|
|
13
|
+
[data-ar-design="remix"] [data-ar="profile-card"] [data-ar="descriptions"] > [data-part="list"] {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-wrap: wrap;
|
|
16
|
+
gap: 6px 8px;
|
|
17
|
+
border-radius: 0;
|
|
18
|
+
box-shadow: none;
|
|
19
|
+
background: transparent;
|
|
20
|
+
overflow: visible;
|
|
21
|
+
}
|
|
22
|
+
[data-ar-design="remix"] [data-ar="profile-card"] [data-ar="descriptions"] > [data-part="list"] > [data-part="item"] {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: baseline;
|
|
25
|
+
gap: 6px;
|
|
26
|
+
max-width: 100%;
|
|
27
|
+
min-width: 0;
|
|
28
|
+
padding: 4px 8px;
|
|
29
|
+
border-radius: 6px;
|
|
30
|
+
background: var(--ar-color-surface-alt);
|
|
31
|
+
}
|
|
32
|
+
[data-ar-design="remix"] [data-ar="profile-card"] [data-ar="descriptions"] > [data-part="list"] > [data-part="item"] > :is([data-part="label"], [data-part="value"]) {
|
|
33
|
+
padding: 0;
|
|
34
|
+
border: 0;
|
|
35
|
+
background: transparent;
|
|
36
|
+
}
|
|
37
|
+
[data-ar-design="remix"] [data-ar="profile-card"] [data-ar="descriptions"] > [data-part="list"] > [data-part="item"] > [data-part="label"] {
|
|
38
|
+
flex: none;
|
|
39
|
+
}
|
|
40
|
+
}
|