Skip to content

Commit e29058a

Browse files
vkraucunasShane Osbourne
andauthored
feat: NTP Next Steps Cards FE (#1199)
* chore: Add Icons * wip: NextSteps card added * chore: Update props, examples * fix: lint * wip: NextStepsCard translations, NextStepsGroup * chore: Update the Examples, add rudimentary cardgroup * fix: lint * feat: Add data wire in * fix: lint * chore: Add translations for ntp dismiss, show more, show less * fix: Lint * fix: styles, other little stuff * chore: Add expansion button * chore: Add styles for confirmationText * chore: Reorg, remove confirmation states * fix: lint * fix: lint * feat: DismissButton raised to an ntp component * feat: Add ShowHideButtonWithText * docs: add * fix: Update DismissButton to have a test id after translations update, RMF test fix * tests: Add simple tests * allow new-tab to accept string arr for next-steps * tests: Add multple searchParam * fix: tests * fix: test * styles: Update showhide hover * chore: Add more tests * fix: Trying to update show more hover cursor to pointer * fix: Chevron in showhide btn * last fixes * fix: Types * fixed the types :) * chore: Address PR comments * fix: dismissbtn text --------- Co-authored-by: Shane Osbourne <[email protected]>
1 parent 7f1e8d2 commit e29058a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1483
-44
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"type": "object",
4+
"required": [
5+
"id"
6+
],
7+
"properties": {
8+
"id": {
9+
"type": "string"
10+
}
11+
}
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"type": "object",
4+
"required": [
5+
"id"
6+
],
7+
"properties": {
8+
"id": {
9+
"type": "string"
10+
}
11+
}
12+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#"
3+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"allOf": [
4+
{
5+
"$ref": "./types/next-steps-config.json"
6+
}
7+
]
8+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#"
3+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"allOf": [
4+
{
5+
"$ref": "types/next-steps.json"
6+
}
7+
]
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"allOf": [
4+
{
5+
"$ref": "./types/next-steps-config.json"
6+
}
7+
]
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"allOf": [
4+
{
5+
"$ref": "types/next-steps.json"
6+
}
7+
]
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"allOf": [
4+
{
5+
"$ref": "./types/next-steps-config.json"
6+
}
7+
]
8+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"title": "Next Steps Config",
4+
"type": "object",
5+
"required": [
6+
"expansion"
7+
],
8+
"properties": {
9+
"expansion": {
10+
"$ref": "./expansion.json"
11+
},
12+
"animation": {
13+
"$ref": "./animation.json"
14+
}
15+
}
16+
}

0 commit comments

Comments
 (0)