stable
Clone or download
Read-only
This contribution allows to setup major parts of the element infrastructure: it pulls the CSS and adds unit tests. Note that the CSS does not goes through PostCSS Autoprefixer. This will be managed for all Vite configurations in a independant contributions. You can test the change by going into the folder and running `npm run dev`. Part of request #23465 Publish a project sidebar custom element Change-Id: I6b3ecf66faf71386db24c4aef4877a0a39053217
Modified Files
Name | ||||
---|---|---|---|---|
M | .eslintrc.js | +1 | −0 | Go to diff View file |
M | package.json | +2 | −0 | Go to diff View file |
M | pnpm-lock.yaml | +151 | −153 | Go to diff View file |
A | src/scripts/lib/project-sidebar/dev-loader.ts | +24 | −0 | Go to diff View file |
M | src/scripts/lib/project-sidebar/index.html | +13 | −2 | Go to diff View file |
A | src/scripts/lib/project-sidebar/jest.config.js | +31 | −0 | Go to diff View file |
M | src/scripts/lib/project-sidebar/package.json | +7 | −2 | Go to diff View file |
M | src/scripts/lib/project-sidebar/pnpm-lock.yaml | +10 | −0 | Go to diff View file |
A | src/scripts/lib/project-sidebar/src/ProjectSidebar.test.ts | +42 | −0 | Go to diff View file |
M | src/scripts/lib/project-sidebar/src/ProjectSidebar.vue | +22 | −5 | Go to diff View file |
A | src/scripts/lib/project-sidebar/src/SidebarHeader.test.ts | +37 | −0 | Go to diff View file |
A | src/scripts/lib/project-sidebar/src/SidebarHeader.vue | +35 | −0 | Go to diff View file |
A | src/scripts/lib/project-sidebar/src/__snapshots__/ProjectSidebar.test.ts.snap | +16 | −0 | Go to diff View file |
A | src/scripts/lib/project-sidebar/src/__snapshots__/SidebarHeader.test.ts.snap | +18 | −0 | Go to diff View file |
A | src/scripts/lib/project-sidebar/src/configuration.test.ts | +47 | −0 | Go to diff View file |
A | src/scripts/lib/project-sidebar/src/configuration.ts | +42 | −0 | Go to diff View file |
M | src/scripts/lib/project-sidebar/tsconfig.json | +3 | −1 | Go to diff View file |
A | src/themes/BurningParrot/css/includes/sidebar/_sidebar-generic.scss | +94 | −0 | Go to diff View file |
M | src/themes/BurningParrot/css/includes/sidebar/_sidebar.scss | +1 | −75 | Go to diff View file |