@sproutsocial/seeds-react-peek-in 0.5.0 → 0.6.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/esm/index.js +239 -1520
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.mts +85 -1
- package/dist/index.d.ts +85 -1
- package/dist/index.js +253 -1533
- package/dist/index.js.map +1 -1
- package/dist/peek-in.css +36 -0
- package/package.json +2 -2
package/dist/peek-in.css
CHANGED
|
@@ -28,6 +28,17 @@
|
|
|
28
28
|
flex: 0 0 auto;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
/* Desktop header row inside the main column (PeekInHeader) */
|
|
32
|
+
.seeds-peek-in-header {
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: space-between;
|
|
36
|
+
padding: var(--space-400);
|
|
37
|
+
border-bottom: 1px solid var(--color-container-border-base);
|
|
38
|
+
flex: 0 0 auto;
|
|
39
|
+
width: 100%;
|
|
40
|
+
}
|
|
41
|
+
|
|
31
42
|
/* Header left group: optional back button + title */
|
|
32
43
|
.seeds-peek-in-titlegroup {
|
|
33
44
|
display: flex;
|
|
@@ -35,6 +46,12 @@
|
|
|
35
46
|
gap: var(--space-300);
|
|
36
47
|
}
|
|
37
48
|
|
|
49
|
+
/* Stacks the title and its optional subtitle inside the title group */
|
|
50
|
+
.seeds-peek-in-titlestack {
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
}
|
|
54
|
+
|
|
38
55
|
/* Header right group: consumer actions + inline pills/close */
|
|
39
56
|
.seeds-peek-in-header-actions {
|
|
40
57
|
display: flex;
|
|
@@ -42,6 +59,25 @@
|
|
|
42
59
|
gap: var(--space-200);
|
|
43
60
|
}
|
|
44
61
|
|
|
62
|
+
/* Footer row for the main column's primary actions (PeekInFooter) */
|
|
63
|
+
.seeds-peek-in-footer {
|
|
64
|
+
display: flex;
|
|
65
|
+
align-items: center;
|
|
66
|
+
justify-content: flex-end;
|
|
67
|
+
padding: var(--space-400);
|
|
68
|
+
gap: var(--space-100);
|
|
69
|
+
flex: 0 0 auto;
|
|
70
|
+
width: 100%;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Right-aligned footer group; margin-left is what pushes it past a leftAction */
|
|
74
|
+
.seeds-peek-in-footer-actions {
|
|
75
|
+
display: flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
gap: var(--space-300);
|
|
78
|
+
margin-left: auto;
|
|
79
|
+
}
|
|
80
|
+
|
|
45
81
|
/* Desktop main column: header + content, alongside the optional panel */
|
|
46
82
|
.seeds-peek-in-main {
|
|
47
83
|
display: flex;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sproutsocial/seeds-react-peek-in",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Seeds React PeekIn — full-screen immersive overlay component",
|
|
5
5
|
"author": "Sprout Social, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@sproutsocial/seeds-react-button": "^2.3.8",
|
|
35
35
|
"@sproutsocial/seeds-react-drawer": "*",
|
|
36
36
|
"@sproutsocial/seeds-react-hooks": "*",
|
|
37
|
-
"@sproutsocial/seeds-react-modal": "^2.
|
|
37
|
+
"@sproutsocial/seeds-react-modal": "^2.6.0",
|
|
38
38
|
"@sproutsocial/seeds-react-icon": "^2.5.1",
|
|
39
39
|
"@sproutsocial/seeds-react-panel": "^1.2.0",
|
|
40
40
|
"@sproutsocial/seeds-react-system-props": "^3.2.1",
|