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

chore: update to 1.12.1 #1052

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"packageManager": "[email protected]",
"devDependencies": {
"@axe-core/playwright": "^4.9.1",
"@builder.io/qwik": "^1.9",
"@builder.io/qwik-city": "^1.9",
"@builder.io/qwik": "1.12.1",
"@builder.io/qwik-city": "1.12.1",
"@changesets/cli": "^2.27.3",
"@changesets/get-github-info": "^0.6.0",
"@changesets/types": "^6.0.0",
Expand Down Expand Up @@ -97,7 +97,7 @@
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-playwright": "^1.6.2",
"eslint-plugin-qwik": "^1.9",
"eslint-plugin-qwik": "1.12.1",
"focus-trap": "7.5.4",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
Expand Down
1 change: 1 addition & 0 deletions packages/cli/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ export default {
testEnvironment: 'node',
moduleFileExtensions: ['ts', 'js', 'html'],
coverageDirectory: '../../coverage/packages/cli',
prettierPath: null
};
Original file line number Diff line number Diff line change
Expand Up @@ -483,91 +483,91 @@ html {
const updatedGlobalCssContent = tree.read('src/global.css', 'utf-8');

expect(updatedGlobalCssContent).toMatchInlineSnapshot(`
"@tailwind components;
@tailwind base;
@tailwind utilities;
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 222.2 47.4% 11.2%;
--muted: 210 40% 96.1%;
--muted-foreground: 215.4 16.3% 46.9%;
--popover: 0 0% 100%;
--popover-foreground: 222.2 47.4% 11.2%;
--card: 0 0% 100%;
--card-foreground: 222.2 47.4% 11.2%;
--border: 214.3 31.8% 91.4%;
--input: 214.3 31.8% 91.4%;
--primary: 191.6 91.4% 36.5%;
--primary-foreground: 0 0% 100%;
--secondary: 222.2 47.4% 11.2%;
--secondary-foreground: 0 0% 100%;
--accent: 210 40% 96.1%;
--accent-foreground: 222.2 47.4% 11.2%;
--alert: 0 84.2% 60.2%;
--alert-foreground: 210 40% 98%;
--ring: 222.2 47.4% 11.2%;
--border-width: 0px;
--border-radius: 0;
--shadow-base: 0 1px 2px 0 rgba(0, 0, 0, 0.01);
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1), 0 1px 5px 0px rgba(0, 0, 0, 0.1);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
0 2px 4px -2px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
0 4px 6px -4px rgba(0, 0, 0, 0.1);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
0 8px 10px -6px rgba(0, 0, 0, 0.1);
--shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 1);
--shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.01);
--transform-press: scale(0.95);
}
.dark {
--background: 222.2 84% 4.9%;
--foreground: 210 40% 98%;
--muted: 217.2 32.6% 17.5%;
--muted-foreground: 215 20.2% 65.1%;
--popover: 222.2 84% 4.9%;
--popover-foreground: 210 40% 98%;
--card: 222.2 84% 4.9%;
--card-foreground: 210 40% 98%;
--border: 217.2 32.6% 17.5%;
--input: 217.2 32.6% 17.5%;
--primary: 191.6 91.4% 36.5%;
--primary-foreground: 0 0% 100%;
--secondary: 210 40% 96.1%;
--secondary-foreground: 0 0% 0%;
--accent: 217.2 32.6% 17.5%;
--accent-foreground: 210 40% 98%;
--alert: 0 84.2% 60.2%;
--alert-foreground: 210 40% 98%;
--ring: 212.7 26.8% 83.9;
--border-width: 0px;
--border-radius: 0;
--shadow-base: 0 1px 2px 0 rgba(0, 0, 0, 0.01);
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1), 0 1px 5px 0px rgba(0, 0, 0, 0.1);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
0 2px 4px -2px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
0 4px 6px -4px rgba(0, 0, 0, 0.1);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
0 8px 10px -6px rgba(0, 0, 0, 0.1);
--shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 1);
--shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.01);
--transform-press: scale(0.95);
}
}
"@tailwind components;
@tailwind base;
@tailwind utilities;
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 222.2 47.4% 11.2%;
--muted: 210 40% 96.1%;
--muted-foreground: 215.4 16.3% 46.9%;
--popover: 0 0% 100%;
--popover-foreground: 222.2 47.4% 11.2%;
--card: 0 0% 100%;
--card-foreground: 222.2 47.4% 11.2%;
--border: 214.3 31.8% 91.4%;
--input: 214.3 31.8% 91.4%;
--primary: 191.6 91.4% 36.5%;
--primary-foreground: 0 0% 100%;
--secondary: 222.2 47.4% 11.2%;
--secondary-foreground: 0 0% 100%;
--accent: 210 40% 96.1%;
--accent-foreground: 222.2 47.4% 11.2%;
--alert: 0 84.2% 60.2%;
--alert-foreground: 210 40% 98%;
--ring: 222.2 47.4% 11.2%;
--border-width: 0px;
--border-radius: 0;
--shadow-base: 0 1px 2px 0 rgba(0, 0, 0, 0.01);
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1), 0 1px 5px 0px rgba(0, 0, 0, 0.1);
--shadow-md:
0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
--shadow-lg:
0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
--shadow-xl:
0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
--shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 1);
--shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.01);
--transform-press: scale(0.95);
}
.dark {
--background: 222.2 84% 4.9%;
--foreground: 210 40% 98%;
--muted: 217.2 32.6% 17.5%;
--muted-foreground: 215 20.2% 65.1%;
--popover: 222.2 84% 4.9%;
--popover-foreground: 210 40% 98%;
--card: 222.2 84% 4.9%;
--card-foreground: 210 40% 98%;
--border: 217.2 32.6% 17.5%;
--input: 217.2 32.6% 17.5%;
--primary: 191.6 91.4% 36.5%;
--primary-foreground: 0 0% 100%;
--secondary: 210 40% 96.1%;
--secondary-foreground: 0 0% 0%;
--accent: 217.2 32.6% 17.5%;
--accent-foreground: 210 40% 98%;
--alert: 0 84.2% 60.2%;
--alert-foreground: 210 40% 98%;
--ring: 212.7 26.8% 83.9;
--border-width: 0px;
--border-radius: 0;
--shadow-base: 0 1px 2px 0 rgba(0, 0, 0, 0.01);
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1), 0 1px 5px 0px rgba(0, 0, 0, 0.1);
--shadow-md:
0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
--shadow-lg:
0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
--shadow-xl:
0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
--shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 1);
--shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.01);
--transform-press: scale(0.95);
}
}

html {
height: 100%;
min-height: 100%;
scroll-behavior: smooth;
background-color: var(--color-bg) !important;
color: var(--color-text) !important;
}
"
`);
html {
height: 100%;
min-height: 100%;
scroll-behavior: smooth;
background-color: var(--color-bg) !important;
color: var(--color-text) !important;
}
"
`);
});
test(`
GIVEN style is "brutalist" and primary color is "red-600" and border-radius is 1
Expand Down
11 changes: 5 additions & 6 deletions packages/kit-styled/src/templates/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -1241,10 +1241,10 @@
*::-webkit-scrollbar-thumb {
/* Thumb color */
background-color: hsla(var(--foreground) / 0.25);
border-radius: 0.5rem;
border-radius: 0.4rem;
background-clip: padding-box;
border-left: 0.15rem solid transparent;
border-right: 0.15rem solid transparent;
border-left: 0.3rem solid transparent;
border-right: 0.3rem solid transparent;
}

.navigation-docs::-webkit-scrollbar-thumb {
Expand All @@ -1261,7 +1261,7 @@

*::-webkit-scrollbar-track {
background: transparent;
border-left: 1px solid var(--qwikui-slate-300);
border-left: 0;
}

.toc-scrollbar::-webkit-scrollbar-track,
Expand All @@ -1279,8 +1279,7 @@

.dark *::-webkit-scrollbar-track {
background: transparent;
border-left: 1px solid var(--qwikui-slate-800);
border-right: 1px solid var(--qwikui-slate-800);
border-left: 0;
}

.code-example *::-webkit-scrollbar-track {
Expand Down
Loading
Loading