Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example: New e-shop example #1839

Closed
wants to merge 35 commits into from
Closed
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
9560fce
wip
louismaximepiton Feb 15, 2023
54a93a8
First steps to have the card header
louismaximepiton Feb 15, 2023
1a0003a
End of first draft
louismaximepiton Feb 17, 2023
aa724f2
.
louismaximepiton Feb 17, 2023
64aa643
.
louismaximepiton Feb 17, 2023
30c9782
Some changes to respect a bit more the design
louismaximepiton Feb 23, 2023
3bbfe3b
Some design fixes
louismaximepiton Feb 27, 2023
d64550b
.
louismaximepiton Feb 27, 2023
f3dc130
.
louismaximepiton Mar 3, 2023
a102a73
fix(sonarCloud)
louismaximepiton Mar 3, 2023
4f8b2a8
fix(pa11yCi)
louismaximepiton Mar 3, 2023
683d873
Merge branch 'main' into main-lmp-e-shop-example
louismaximepiton Mar 15, 2023
8581201
better a11y
louismaximepiton Mar 17, 2023
c2b97b6
first batch
louismaximepiton Mar 20, 2023
b9dd8dc
Merge branch 'main' into main-lmp-e-shop-example
louismaximepiton Mar 20, 2023
5fa8226
First release
louismaximepiton Mar 20, 2023
9c148b1
Adding the necessary files
louismaximepiton Mar 21, 2023
fbd66a8
.
louismaximepiton Mar 21, 2023
7a1558f
Merge branch 'main' into main-lmp-e-shop-example
louismaximepiton Apr 13, 2023
5d9d1fc
Merge branch 'main' into main-lmp-e-shop-example
louismaximepiton Apr 25, 2023
58b1328
fix(review)
louismaximepiton Apr 25, 2023
9be85f3
Merge branch 'main' into main-lmp-e-shop-example
MewenLeHo Apr 27, 2023
bca1625
Merge branch 'main' into main-lmp-e-shop-example
louismaximepiton Aug 28, 2023
c4ec2ca
fix(review)
louismaximepiton Aug 29, 2023
f28c6ec
Implementing new version of the counter
louismaximepiton Aug 29, 2023
301d495
Correct a Chrome bug
louismaximepiton Aug 30, 2023
7305fa1
fix(a11y review)
louismaximepiton Aug 31, 2023
8896596
fix(a11y review) + design changed
louismaximepiton Sep 4, 2023
cd1f516
.
louismaximepiton Sep 4, 2023
b8c558e
Merge branch 'main' into main-lmp-e-shop-example
louismaximepiton Sep 11, 2023
83b7080
fix(a11y review)
louismaximepiton Sep 11, 2023
922f990
Merge branch 'main' into main-lmp-e-shop-example
julien-deramond Nov 3, 2023
82e68a7
Merge remote-tracking branch 'origin/main' into main-lmp-e-shop-example
louismaximepiton Nov 8, 2023
c3c3d64
fix(a11y review)
louismaximepiton Nov 8, 2023
332747a
.
louismaximepiton Nov 15, 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
2 changes: 1 addition & 1 deletion build/.pa11yci.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"axe"
],
"useIncognitoBrowserContext": false,
"hideElements": "iframe, #text-decoration + p + div a.text-decoration-none, .accordion-collapse, #offcanvas, #offcanvasDark, #offcanvasResponsive, #bdSidebar, .overflow-y-scroll, .overflow-y-auto, .overflow-x-scroll, .overflow-x-auto, .table-responsive",
"hideElements": "iframe, #text-decoration + p + div a.text-decoration-none, .accordion-collapse, #offcanvas, #offcanvasDark, #offcanvasResponsive, #bdSidebar, #filterOffcanvas, .overflow-y-scroll, .overflow-y-auto, .overflow-x-scroll, .overflow-x-auto, .table-responsive",
"ignore": [
"color-contrast"
]
Expand Down
24 changes: 24 additions & 0 deletions site/content/docs/5.3/examples/e-shop/e-shop.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
@media screen and (min-width: 768px) {
.card .col-7 p:first-child {
min-height: 2.8125rem;
}
}

.custom-triangle {
border-style: solid;
border-width: 0 19px 41px 0;
border-right-color: transparent !important; /* stylelint-disable-line declaration-no-important */
}

.custom-counter {
padding: 1px 2px;
border-radius: 5px;
}

.ratio-3x4 {
--bs-aspect-ratio: 133%;
}

.line-height-custom {
line-height: 1.5;
}
1,568 changes: 1,568 additions & 0 deletions site/content/docs/5.3/examples/e-shop/index.html

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions site/content/docs/5.3/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ If you need more details about the changes, please refer to the [v5.3.2 release]
- <span class="badge bg-success">New</span> In order to improve accessibility for people suffering from any form of color blindness, we added a visual cue to form elements on error when focused so information does not rely exclusively on color anymore. Although is has no direct impact, you might want to apply this same modification within your custom form controls if you have any.
- <span class="badge bg-success">New</span> Labels related to mandatory form fields have been improved for better accessibility. A `<span class="visually-hidden"> (required)</span>` element has been added to ensure correct restitution by assistive technologies like screen readers. Please reflect these modifications into your websites.

### Examples

- <span class="badge bg-success">New</span> An e-shop page example is now available.

### CSS and Sass variables

- <details class="mb-2">
Expand Down
2 changes: 2 additions & 0 deletions site/data/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@
examples:
- name: Download app
description: "How to build a download app page (redirect on iOS and Android)."
- name: E-shop
description: "How to build an e-shop page with Boosted."
- name: Form
description: "How to build a form with Boosted."

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.