Skip to content
Merged
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
60 changes: 30 additions & 30 deletions bun.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion components/Library/MetaData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function generateSecondaryData(library: LibraryType, skipExamples: boolean): Met
icon: <NightlyTest style={iconColor} width={18} height={18} />,
content: (
<A
href="https://react-native-community.github.io/nightly-tests/"
href={`https://react-native-community.github.io/nightly-tests/?q=${encodeURIComponent(library.npmPkg)}`}
style={paragraphStyles}
hoverStyle={hoverStyle}>
Nightly Program
Expand Down
15 changes: 14 additions & 1 deletion components/Package/ReadmeBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import remarkGfm from 'remark-gfm';
import useSWR from 'swr';

import { A, P } from '~/common/styleguide';
import { ReadmeFile } from '~/components/Icons';
import { Check, ReadmeFile } from '~/components/Icons';
import ReadmeHeading from '~/components/Package/ReadmeHeading';
import rndDark from '~/styles/shiki/rnd-dark.json';
import rndLight from '~/styles/shiki/rnd-light.json';
Expand Down Expand Up @@ -200,6 +200,19 @@ export default function ReadmeBox({ packageName, githubUrl, isTemplate, loader =
</details>
);
},
input: ({ type, checked, ...rest }: any) => {
if (type === 'checkbox') {
const isChecked = Boolean(checked);
return (
<div
className="checkbox"
style={tw`m-0 box-border size-4 items-center justify-center rounded border border-solid border-palette-gray3 bg-palette-gray2 dark:border-powder dark:bg-palette-gray6`}>
{isChecked && <Check style={tw`size-3 text-success`} />}
</div>
);
}
return <input type={type} {...rest} />;
},
}}
rehypePlugins={[rehypeRaw, rehypeSanitize]}
remarkPlugins={[remarkGfm, remarkEmoji]}>
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@visx/xychart": "^3.12.0",
"crypto-js": "^4.2.0",
"es-toolkit": "^1.44.0",
"expo": "55.0.2",
"expo": "55.0.4",
"expo-font": "^55.0.4",
"next": "^16.1.6",
"node-emoji": "^2.2.0",
Expand All @@ -42,7 +42,7 @@
"react-content-loader": "^7.1.2",
"react-dom": "19.2.4",
"react-easy-linkify": "^1.0.8",
"react-native": "0.84.0",
"react-native": "0.84.1",
"react-native-safe-area-context": "^5.7.0",
"react-native-svg": "^15.15.3",
"react-native-web": "^0.21.2",
Expand All @@ -51,7 +51,7 @@
"rehype-sanitize": "^6.0.0",
"remark-emoji": "^5.0.2",
"remark-gfm": "^4.0.1",
"swr": "^2.4.0",
"swr": "^2.4.1",
"tailwindcss": "^3.4.19",
"twrnc": "^4.16.0",
"use-debounce": "^10.1.0"
Expand All @@ -68,7 +68,7 @@
"browserslist": "^4.28.1",
"cheerio": "^1.2.0",
"dotenv": "^17.3.1",
"lint-staged": "^16.2.7",
"lint-staged": "^16.3.0",
"next-compose-plugins": "^2.2.1",
"next-fonts": "^1.5.1",
"next-images": "^1.8.5",
Expand Down
7 changes: 4 additions & 3 deletions react-native-libraries.json
Original file line number Diff line number Diff line change
Expand Up @@ -10531,10 +10531,11 @@
"expoGo": true
},
{
"githubUrl": "https://github.com/jpudysz/react-native-unistyles",
"githubUrl": "https://github.com/jpudysz/react-native-unistyles/tree/main/packages/unistyles",
"npmPkg": "react-native-unistyles",
"examples": [
"https://github.com/jpudysz/react-native-unistyles/tree/main/example",
"https://github.com/jpudysz/react-native-unistyles/tree/main/expo-example"
"https://github.com/jpudysz/react-native-unistyles/tree/main/apps/example",
"https://github.com/jpudysz/react-native-unistyles/tree/main/apps/expo-example"
],
"ios": true,
"android": true,
Expand Down
18 changes: 18 additions & 0 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -565,9 +565,27 @@ select {
+ div[data-table-wrapper] {
margin-top: 12px;
}

&.contains-task-list {
padding-inline-start: 0;
}
}

li {
&.task-list-item {
position: relative;
display: block;
padding-left: 20px;
margin: 1px 0;

.checkbox {
display: inline-flex;
position: absolute;
top: 2px;
left: -4px;
}
}

div:last-child {
margin-bottom: 8px;
}
Expand Down