Commit c1443ec
feat(user card) - Update User card to new SHINE design (part 1) (#2092)
* Update docs and formatting
* half finished docs update
* Finish docs and update svelte
* Update docs
* fix lint and tests
* Update gaps
* fix lint issue
* fix test
* fix lint
* fix test
* lint fix
* revert gap changes
* fix lint issue
* fix spacing
* update title
* fix
* Add large variant
* Update user-card.less
* fix alignment issues
* redo responsive code
* Tweak the user card markup + less
* Add PPCP and start secondary implementation
* clean up PPCP
* add position location class
* fix secondary
* add excerpt class
* remove no wrap
* Update docs to match new markup
* Style and docs adjustments
* Add avatars
* Update svelte component
* fix recognition color issue
* improve svelte component
* Add icon to large usercard
* run format
* refactor
* fix tests
* improve svelte component
* Add timestamp subcomponent
* fix formatting
* Minor updates to recognition
* Tweak spacing
* Update based on classic changes
* Update based on comments
* visual tests
* Update rep color
* Update based on comments
* fix small issue
* Update user-card.less
* Back out empty bling changes
* Adjust timestamp spacing/link changes
* Update Svelte component based on markup changes
* Remove badge markup from default example code
* Update migration guide with markup/class changes
* Revert "Remove badge markup from default example code"
This reverts commit 6bfd3e2.
* Remove badge markup from default example code (attempt 2)
* Update based on feedback
* hardcode icon
* Update UserCard.test.ts
* fix lint issue
* Update postsummary
* fix test
* fix test
* Update UserCard.test.ts
* Update UserCard.test.ts
* optimise component
* change award snippet to blings
* Update based on review comments and figma changes
* Update based on new subcomponents
* Update tests
* Nested conditional tests
* Update UserCard.test.ts
* Update UserCard.test.ts
* Update UserCard.test.ts
---------
Co-authored-by: Dan Cormier <[email protected]>1 parent 96224f0 commit c1443ec
File tree
139 files changed
+1999
-1370
lines changed- .changeset
- packages
- stacks-classic
- lib/components/user-card
- screenshots
- Chromium/baseline
- Firefox/baseline
- Webkit/baseline
- stacks-docs
- _data
- assets/img
- product/components
- stacks-svelte/src/components
- PostSummary
- UserCard
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
139 files changed
+1999
-1370
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
137 | 154 | | |
138 | 155 | | |
139 | 156 | | |
| |||
Lines changed: 88 additions & 96 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
29 | 8 | | |
30 | 9 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
39 | 15 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
44 | 19 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
49 | 27 | | |
50 | 28 | | |
51 | 29 | | |
52 | | - | |
53 | | - | |
54 | | - | |
| 30 | + | |
| 31 | + | |
55 | 32 | | |
56 | 33 | | |
57 | 34 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 35 | + | |
| 36 | + | |
62 | 37 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
67 | 42 | | |
68 | 43 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
75 | 47 | | |
76 | 48 | | |
77 | | - | |
78 | | - | |
79 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
80 | 52 | | |
81 | | - | |
82 | | - | |
83 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
84 | 57 | | |
| 58 | + | |
85 | 59 | | |
86 | 60 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
91 | 67 | | |
92 | 68 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
98 | 73 | | |
99 | | - | |
100 | | - | |
101 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
102 | 77 | | |
103 | | - | |
104 | | - | |
105 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
106 | 81 | | |
107 | 82 | | |
108 | | - | |
109 | | - | |
110 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
111 | 95 | | |
112 | 96 | | |
113 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
114 | 102 | | |
115 | | - | |
116 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
117 | 112 | | |
118 | 113 | | |
119 | 114 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
packages/stacks-classic/screenshots/Chromium/baseline/s-post-summary-dark-deleted-minimal-w100.ico
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
packages/stacks-classic/screenshots/Chromium/baseline/s-post-summary-dark-ignored-minimal-w100.ico
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
0 commit comments