Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
22b5d41
added images and material 3 page
esouthren Apr 11, 2023
54b65f6
Add card and buttons widgets
esouthren Apr 11, 2023
f3e1d6f
add containement widgets
esouthren Apr 11, 2023
5631433
sort file
esouthren Apr 11, 2023
6a8fc19
add navigation widgets
esouthren Apr 11, 2023
acc6d9b
add selection widgets
esouthren Apr 11, 2023
3928ed5
add remaining widgets
esouthren Apr 11, 2023
8f35d3e
update snackbar image
esouthren Apr 11, 2023
a90a624
added material 3 image container
esouthren Apr 12, 2023
6c41f90
added toggle switch
esouthren Apr 13, 2023
f4d4d25
added icon toggle
esouthren Apr 14, 2023
ec5a499
sassy clean
esouthren Apr 14, 2023
69ffd84
added card colors in json
esouthren Apr 14, 2023
a98ec66
update toggle position
esouthren Apr 14, 2023
160533f
update css
esouthren Apr 14, 2023
f21305c
update hover duration and toggle icon boundary
esouthren Apr 14, 2023
e8d001b
update image transparencies
esouthren Apr 18, 2023
3b1ed1d
remove light/dark toggle
esouthren Apr 18, 2023
0deaea6
add other hover images
esouthren Apr 18, 2023
d4b98a8
update formatting
esouthren Apr 18, 2023
13e0075
update copy
esouthren Apr 18, 2023
e2acb2d
code tidy
esouthren Apr 18, 2023
a3fcb39
update listTile link
esouthren Apr 18, 2023
e762d7c
sort json order and whitespace
esouthren Apr 18, 2023
eac578f
comment responses
esouthren Apr 18, 2023
e19107e
Added M2 page notice
esouthren Apr 18, 2023
76eb19f
copy updates
esouthren Apr 19, 2023
897e064
remove m2 card from widgets page
esouthren Apr 19, 2023
66e1757
comment responses
esouthren Apr 20, 2023
644d151
fix other catalog path URLs
esouthren Apr 20, 2023
49f85e6
comment updates
esouthren Apr 20, 2023
2e9d8d9
update buttons Url
esouthren Apr 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
comment responses
  • Loading branch information
esouthren committed Apr 18, 2023
commit eac578f56a97cc28013602002dda3b82ca52ddc5
1 change: 1 addition & 0 deletions src/_data/catalog/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
{
"name": "Material 3 Components",
"description": "Visual, behavioral, and motion-rich widgets implementing the <a href=\"https://material.io/design/guidelines-overview\">Material 3 Design guidelines</a>.<br /><br />Material 3 will become the default in late 2023 - see <a href=\"https://m3.material.io/develop/flutter\">m3.material.io/develop/flutter</a> for more details.",
"pagecontent": "To opt into Material 3, set the <a href=\"https://api.flutter.dev/flutter/material/ThemeData/useMaterial3.html\"><code>useMaterial3</code></a> flag to <code>true</code> in your theme.<br /><br />To see these widgets in action, check out our live Material 3 <a href=\"https://flutter.github.io/samples/web/material_3_demo\" target=\"_blank\" rel=\"noopener noreferrer\">demo app</a>.",
"subcategories": [
{
"name": "Actions",
Expand Down
34 changes: 17 additions & 17 deletions src/_data/catalog/widgets.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
"image": "<img alt='' src='/assets/images/docs/catalog-widget-placeholder.png'>"
},
{
"name": "App Bar",
"name": "App bar",
"description": "Top app bars display information and actions at the top of a screen.",
"categories": [],
"subcategories": [
Expand Down Expand Up @@ -254,7 +254,7 @@
"image": "<svg viewBox='0 0 100 100'><defs><marker id='arrow-baseline' orient='auto-start-reverse' viewBox='0 0 1 1' markerWidth='3' markerHeight='3' refX='0.5' refY='0.5'><path d='M 1 0.5 L 0.5 0 L 0.5 1 z' fill='#ffffff'/></marker></defs><rect x='0' y='0' width='100' height='100' fill='#3949ab'/><rect x='20' y='20' width='60' height='50' fill='#ffffff'/><rect x='20' y='45' width='60' height='30' fill='#4dd0e1'/><line x1='85' y1='20' x2='85' y2='66' stroke='#ffffff' stroke-width='2' marker-end='url(#arrow-baseline)'/><line x1='15' y1='20' x2='15' y2='66' stroke='#ffffff' stroke-width='2' marker-end='url(#arrow-baseline)'/><line x1='10' y1='70' x2='90' y2='70' stroke='#ffffff' stroke-width='2'/><text x='50' y='69' text-anchor='middle' font-family='Roboto' font-size='25' fill='#3b75ad'>Abc </text></svg>"
},
{
"name": "Bottom App Bar",
"name": "Bottom app bar",
"description": "A bottom app bar displays navigation and key actions at the bottom of mobile screens.",
"categories": [],
"subcategories": [
Expand All @@ -265,7 +265,7 @@
"hoverimage": "<img alt='' src='/assets/images/docs/widget-catalog/material-3-bubbles.png'>"
},
{
"name": "Bottom Sheet",
"name": "Bottom sheet",
"description": "Bottom sheets are surfaces containing supplementary content, anchored to the bottom of the screen.",
"categories": [],
"subcategories": [
Expand Down Expand Up @@ -421,7 +421,7 @@
"image": "<svg viewBox='0 0 100 100'><rect x='0' y='0' width='100' height='100' fill='#3949ab'/><rect x='30' y='10' width='40' height='80' fill='#ffffff'/><rect x='40' y='15' width='20' height='20' fill='#4dd0e1'/><rect x='35' y='40' width='30' height='30' fill='#4dd0e1'/></svg>"
},
{
"name": "Common Buttons",
"name": "Common buttons",
"description": "Buttons help people take action, such as sending an email, sharing a document, or liking a comment.",
"categories": [],
"subcategories": [
Expand Down Expand Up @@ -788,7 +788,7 @@
"image": "<img alt='' src='https://material-design.storage.googleapis.com/publish/material_v_9/0B7WCemMG6e0VY2h4WElGdEhPb2c/components_pickers.png'>"
},
{
"name": "Date Picker",
"name": "Date picker",
"description": "Date pickers let people select a date, or a range of dates.",
"categories": [],
"subcategories": [
Expand Down Expand Up @@ -835,7 +835,7 @@
"subcategories": [
"Containment"
],
"link": "https://api.flutter.dev/flutter/material/Dialog-class.html",
"link": "https://api.flutter.dev/flutter/material/AlertDialog-class.html",
"image": "<img alt='' src='/assets/images/docs/widget-catalog/material-3-dialog.png'>",
"hoverimage": "<img alt='' src='/assets/images/docs/widget-catalog/material-3-coral.png'>"
},
Expand Down Expand Up @@ -996,7 +996,7 @@
"image": "<img alt='' src='/assets/images/docs/catalog-widget-placeholder.png'>"
},
{
"name": "Floating Action Button",
"name": "Floating action button",
"description": "The FAB represents the most important action on a screen. It puts key actions within reach.",
"categories": [],
"subcategories": [
Expand Down Expand Up @@ -1135,7 +1135,7 @@
"image": "<img alt='' src='https://flutter.github.io/assets-for-api-docs/assets/widgets/icon.png'>"
},
{
"name": "Icon Button",
"name": "Icon button",
"description": "Icon buttons help people take supplementary actions with a single tap.",
"categories": [],
"subcategories": [
Expand Down Expand Up @@ -1343,7 +1343,7 @@
"image": "<img alt='' src='/assets/images/docs/catalog-widget-placeholder.png'>"
},
{
"name": "Navigation Bar",
"name": "Navigation bar",
"description": "Navigation bars offer a persistent and convenient way to switch between primary destinations in an apps.",
"categories": [],
"subcategories": [
Expand All @@ -1354,7 +1354,7 @@
"hoverimage": "<img alt='' src='/assets/images/docs/widget-catalog/material-3-bubbles.png'>"
},
{
"name": "Navigation Drawer",
"name": "Navigation drawer",
"description": "Navigation drawers provide ergonomic access to destinations in an app.",
"categories": [],
"subcategories": [
Expand All @@ -1365,7 +1365,7 @@
"hoverimage": "<img alt='' src='/assets/images/docs/widget-catalog/material-3-bubbles.png'>"
},
{
"name": "Navigation Rail",
"name": "Navigation rail",
"description": "Navigation rails provide access to primary destinations in apps when using tablet and desktop screens.",
"categories": [],
"subcategories": [
Expand Down Expand Up @@ -1498,7 +1498,7 @@
"image": "<img alt='' src='/assets/images/docs/catalog-widget-placeholder.png'>"
},
{
"name": "Progress Indicator",
"name": "Progress indicator",
"description": "Progress indicators inform users about the status of ongoing processes, such as loading an app or submitting a form.",
"categories": [],
"subcategories": [
Expand All @@ -1519,7 +1519,7 @@
"image": "<img alt='' src='/assets/images/docs/widget-catalog/material-radio.png'>"
},
{
"name": "Radio Button",
"name": "Radio button",
"description": "Radio buttons allow users to select one option from a set.",
"categories": [],
"subcategories": [
Expand Down Expand Up @@ -1666,7 +1666,7 @@
"image": "<img alt='' src='/assets/images/docs/catalog-widget-placeholder.png'>"
},
{
"name": "Segmented Button",
"name": "Segmented button",
"description": "Segmented buttons help people select options, switch views, or sort elements.",
"categories": [],
"subcategories": [
Expand Down Expand Up @@ -1933,7 +1933,7 @@
"hoverimage": "<img alt='' src='/assets/images/docs/widget-catalog/material-3-leaves.png'>"
},
{
"name": "Tab Bar",
"name": "Tab bar",
"description": "Tabs organize content across different screens, data sets, and other interactions.",
"categories": [],
"subcategories": [
Expand Down Expand Up @@ -2015,7 +2015,7 @@
"image": "<img alt='' src='https://material-design.storage.googleapis.com/publish/material_v_9/0B7WCemMG6e0VNDg3V3ZjU2hsNGc/components_buttons_usage3.png'>"
},
{
"name": "TextField",
"name": "Text field",
"description": "Text fields allow users to enter text into a UI. They typically appear in forms and dialogs.",
"categories": [],
"subcategories": [
Expand Down Expand Up @@ -2046,7 +2046,7 @@
"image": "<img alt='' src='/assets/images/docs/catalog-widget-placeholder.png'>"
},
{
"name": "Time Picker",
"name": "Time picker",
"description": "Time pickers help users select and set a specific time.",
"categories": [],
"subcategories": [
Expand Down
4 changes: 3 additions & 1 deletion src/_includes/docs/catalogpage-material-3.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
</ul>
{% endif -%}

<p>See more widgets in the <a href="{{site.url}}/development/ui/widgets">widget catalog</a>.</p>
<p>
{{ category.pagecontent }}
</p>

{% assign components = site.data.catalog.widgets | where_exp:"comp","comp.categories contains include.category" -%}

Expand Down