You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reorganize and add stories to better document accordion's various
options.
- Adds a disabled state story
- Simplifies accordion items displayed on Docs page
- Tests accordion states and density sizes in testing preview grid
Copy file name to clipboardExpand all lines: components/accordion/stories/accordion.stories.js
+16-30Lines changed: 16 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ const content = new Map([
80
80
{
81
81
content:
82
82
"Yes, Adobe offers free products like Acrobat Reader, Aero, Fill & Sign, Photoshop Express, and Adobe Scan. You can also use Creative Cloud Express, Fresco, and Lightroom Mobile for free, with the option of making in-app purchases.",
83
-
isDisabled: true,
83
+
isDisabled: false,
84
84
},
85
85
],
86
86
[
@@ -116,23 +116,11 @@ const content = new Map([
116
116
],
117
117
[
118
118
"How many products does Adobe have?",
119
-
{
120
-
content:
121
-
"Adobe offers nearly 100 products. Get creative with industry-standard apps like Adobe Photoshop, Illustrator InDesign, and Lightroom. Create, edit, and sign PDFs with Adobe Acrobat and Acrobat Sign. And deliver exceptional customer experiences with our marketing and commerce apps such as Adobe Experience Manager, Campaign, and Target.",
122
-
isOpen: true,
123
-
},
124
-
],
125
-
[
126
-
"How much do Adobe products cost?",
127
119
{
128
120
content: Typography({
129
121
semantics: "body",
130
122
content: [
131
-
"Creative Cloud plans start at US$9.99/mo. You can subscribe to specific Single App plans or get 20+ creative apps and services in the Creative Cloud All Apps plan.",
"Adobe offers nearly 100 products. Get creative with industry-standard apps like Adobe Photoshop, Illustrator, InDesign, and Lightroom. Create, edit, and sign PDFs with Adobe Acrobat and Acrobat Sign. And deliver exceptional customer experiences with our marketing and commerce apps such as adobe experience manager, Campaign, and Target.",
136
124
],
137
125
}),
138
126
},
@@ -144,22 +132,6 @@ const content = new Map([
144
132
"Adobe makes some of the most widely used software in the world, including popular apps like Acrobat Pro, Photoshop, Illustrator, InDesign, Lightroom, and Premiere Pro.",
145
133
},
146
134
],
147
-
[
148
-
"How can I get a student discount on Adobe products?",
149
-
{
150
-
content: Typography({
151
-
semantics: "body",
152
-
content: [
153
-
`Students who provide a valid school-issued email address at purchase are eligible to save over 60% on Creative Cloud All Apps, which includes 20+ apps such as Photoshop, Illustrator, InDesign, Acrobat Pro, and more. ${Link(
content: "Yes, Adobe offers free products like Acrobat Reader, Aero, Fill & Sign, Photoshop Express, and Adobe Scan. You can also use Creative Cloud Express, Fresco, and Lightroom Mobile for free, with the option of making in-app purchases.",
15
+
},
16
+
],
17
+
[
18
+
"Are Adobe products worth it?",
19
+
{
20
+
content: Typography({
21
+
semantics: "body",
22
+
content: [
23
+
"This is an example of text content within the content area that uses the spectrum-Body typography class on the paragraphs. Adobe makes some of the most widely used software applications in the world, many of which are industry standard.",
text: "Learn more about Adobe Creative Cloud plans and pricing.",
27
+
}),
28
+
],
29
+
}),
30
+
isOpen: true,
31
+
},
32
+
],
33
+
[
34
+
"Which Adobe product is best for editing PDFs?",
35
+
{
36
+
content: Typography({
37
+
semantics: "body",
38
+
content: [
39
+
"You can edit PDFs with Adobe Acrobat, which is available in two editions: Standard and Pro. Acrobat Standard provides basic tools to create, edit, and sign PDFs on Windows devices. Acrobat Pro is the complete PDF solution with tools to edit, convert, and sign PDFs across web, mobile, and tablet, as well as on Windows and macOS computers. If you'd like to try before you buy, you can get a free 7-day trial of Acrobat Pro.",
40
+
Link({
41
+
url: "https://www.adobe.com/acrobat.html",
42
+
text: "Learn more about Acrobat.",
43
+
}),
44
+
],
45
+
}),
46
+
},
47
+
],
48
+
[
49
+
"How many products does Adobe have?",
50
+
{
51
+
content: "This is an example of text content within the content area that is not wrapped by any typography classes or elements. Adobe offers nearly 100 products. Get creative with industry-standard apps like Adobe Photoshop, Illustrator InDesign, and Lightroom. Create, edit, and sign PDFs with Adobe Acrobat and Acrobat Sign. And deliver exceptional customer experiences with our marketing and commerce apps such as Adobe Experience Manager, Campaign, and Target.",
52
+
isOpen: true,
53
+
},
54
+
],
55
+
[
56
+
"What are the most popular Adobe products?",
57
+
{
58
+
content: "This is an example of text content within the content area that is not wrapped by any typography classes or elements. Adobe makes some of the most widely used software in the world, including popular apps like Acrobat Pro, Photoshop, Illustrator, InDesign, Lightroom, and Premiere Pro.",
59
+
},
60
+
],
61
+
]);
62
+
63
+
constdefaultContentText="This is an example of text content within the content area that is not wrapped by any typography classes or elements.";
0 commit comments