Skip to content

Commit

Permalink
Merge branch 'explore-page' into WD-18954-add-explore-page-skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
steverydz committed Feb 7, 2025
2 parents 97cbcd8 + 5672a67 commit 78dc4d8
Show file tree
Hide file tree
Showing 18 changed files with 42 additions and 507 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@canonical/global-nav": "3.6.4",
"@canonical/latest-news": "1.5.0",
"@canonical/react-components": "1.9.0",
"@canonical/store-components": "0.52.0",
"@canonical/store-components": "0.53.0",
"@dnd-kit/core": "6.3.1",
"@dnd-kit/sortable": "8.0.0",
"@dnd-kit/utilities": "3.2.2",
Expand Down
6 changes: 5 additions & 1 deletion static/js/store/components/NewSnaps/NewSnaps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ function NewSnaps(): ReactNode {
key={packageData.package.name}
style={{ marginBottom: "1.5rem" }}
>
<DefaultCard data={packageData} />
<DefaultCard
data={packageData}
highlighted={true}
highlightColor="#0f95a1"
/>
</Col>
))}
</Row>
Expand Down
2 changes: 1 addition & 1 deletion static/js/store/pages/Explore/Explore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function Explore(): ReactNode {
const searchRef = useRef<HTMLInputElement | null>(null);
const searchSummaryRef = useRef<HTMLDivElement>(null);

// Dummy data for now
// Placeholder data for now
const mustHaveSnaps = [
{
name: "eclipse",
Expand Down
48 changes: 0 additions & 48 deletions static/sass/_button-overrides.scss

This file was deleted.

74 changes: 0 additions & 74 deletions static/sass/_pattern_p-button-group.scss

This file was deleted.

21 changes: 0 additions & 21 deletions static/sass/_patterns_button_spinner.scss

This file was deleted.

8 changes: 1 addition & 7 deletions static/sass/_patterns_carousel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,13 @@
box-sizing: content-box;
cursor: pointer;
height: 3rem;
margin: 0;
overflow: hidden;
padding: 0;
text-indent: -999px;
transition: opacity 0.165s;
width: 3rem;
z-index: 10;
margin: {
bottom: 0;
left: 0;

// Overrides a rule in vanilla that adds margin to the right of buttons
right: 0 !important;
}

&.swiper-button-disabled {
cursor: default;
Expand Down
95 changes: 0 additions & 95 deletions static/sass/_patterns_logo-links.scss

This file was deleted.

4 changes: 1 addition & 3 deletions static/sass/_patterns_maas_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ $color-modal-controls: rgba($color-x-dark, 0.2);
box-sizing: content-box;
cursor: pointer;
height: 3rem;
margin: 0;
margin-top: -1.5rem;
overflow: hidden;
padding: 0;
Expand All @@ -136,9 +137,6 @@ $color-modal-controls: rgba($color-x-dark, 0.2);

.vbox-next {
background-image: url("#{$assets-path}9716bbab-chevron.svg");

// Overrides a rule in vanilla that adds margin to the right of buttons
margin-right: 0 !important;
right: 1rem;
}

Expand Down
2 changes: 0 additions & 2 deletions static/sass/_snapcraft_release.scss
Original file line number Diff line number Diff line change
Expand Up @@ -414,10 +414,8 @@
white-space: nowrap;
}

// TODO[epic=vanilla]: LINK contextual menu
.p-contextual-menu__dropdown {
overflow: visible; // allow tooltips inside menu
z-index: 2; // workaround for https://github.com/canonical-web-and-design/vanilla-framework/issues/2577

.p-tooltip {
display: block;
Expand Down
7 changes: 0 additions & 7 deletions static/sass/_utilities_flex.scss

This file was deleted.

Loading

0 comments on commit 78dc4d8

Please sign in to comment.