| ใใญใใใฃ | ๅไฝ |
|---|---|
| border-spacing | rem |
| flex-basis | rem |
| gap | rem |
| height | rem |
| width | rem |
| contain-intrinsic-width | rem |
| import { useId, useState } from 'react'; | |
| import { | |
| ActionButton, | |
| Content, | |
| ContextualHelpPopover, | |
| DialogTrigger, | |
| Heading, | |
| Switch, | |
| Text, | |
| } from '@react-spectrum/s2'; |
- ๆฉ่ฝ็ใฐใซใผใๅ: ้ข้ฃใใๅคๆฐใ่ซ็็ใซใฐใซใผใๅ
- property-order.tsใจใฎๆดๅๆง: CSSใใญใใใฃใฎๅบๅ้ ๅบใจไธ่ด
- ใตใคใบ้ : ๅใใซใใดใชๅ ใงใฏๅฐโๅคงใฎ้ ๅบ๏ผxs โ sm โ md โ lg โ xl๏ผ
- ่ฒ็ธ้ : ใซใฉใผใใฌใใใฏ่ตคโ็ดซใฎในใใฏใใซ้
- ใใใฉใซใๅคใฏๆๅพ:
--default-*ๅคๆฐใฏๆๅพใซ้ ็ฝฎ
A Node.js CLI tool to detect and list Tailwind CSS border-width related classes in your project files with their exact locations.
- ๐ Detects all border-width related Tailwind CSS classes
- ๐ Shows exact file paths and line numbers
- ๐ฏ Supports multiple file formats (HTML, JSX, Vue, PHP, etc.)
- โก Fast scanning with built-in file filtering
A CLI tool to replace Tailwind CSS breakpoint variants from sm:/md:/lg:/xl:/2xl: to max-sm:/max-md:/max-lg:/max-xl:/max-2xl: with precise class extraction based on Tailwind's official extractor logic.
- Precise extraction: Uses the same logic as Tailwind CSS's Rust-based extractor for accurate class detection
- Safe replacements: Only replaces within
classandclassNameattributes - Smart filtering:
- Skips classes that already have
max-prefix
- Skips classes that already have
Except where otherwise specified, the alt attribute depend on what the image is intended to represent, as described in the following sections.
The most general rule to consider when writing alternative text is the following: the intent is that replacing every image with the text of its alt attribute does not change the meaning of the page.
So, in general, alternative text can be written by considering what one would have written had one not been able to include the image.
| function App() { | |
| return ( | |
| <> | |
| {(() => { | |
| const [isOpen, setOpen] = useState(false); | |
| return ( | |
| <> | |
| <Button onClick={() => setOpen(true)}>First</Button> | |
| <Popover isOpen={isOpen} onOpenChange={setOpen}> | |
| ... |
| function HooksSeparator<T>({ | |
| setup, | |
| children, | |
| }: { | |
| setup: () => T; | |
| children: (prop: T) => ReactNode; | |
| }) { | |
| return children(setup()); | |
| } |
| import type { Dispatch, DispatchWithoutAction, ReactNode, SetStateAction } from 'react'; | |
| import { useCallback, useState } from 'react'; | |
| /** | |
| * The implement a hooks version of React PowerPlugโs `<State />`. | |
| * https://renatorib.github.io/react-powerplug/#/docs-components-state | |
| * | |
| * @example | |
| * <State initial={false}> | |
| * {({ state: isOpen, setState: setOpen }) => ( |
ใชใใงใใชใใใใชใใจใๆธใใใใๅฐใ่ใใฆใฟใฆใใใใไปใฎๅใฎๆฑใใฆใใใใฎใ ใจๆฐใฅใใใๆๅณใจใใ็็ฑใจใใใใใใ็ฎ็ใใใใฎๆ่ใใฟใผใณใฎๅคใงใใใ ใชใซใใๆใใใใใใใซใชใใใใ
ๅใฏๆใใใๆญฃใใใๆขใใฆใใใใใถใ็ฉๅฟใใคใใใใใใฎใใใใใใฐใใใใใใใ็ฉไบใซใฏๆญฃใใใใๆนใใใใๅฏไธใฎ็ญใใใใใจใใไธ็่ช่ญใใใฆใใใ็ๅฑใฃใฝใใฃใใใใใใใ้ธ่ฑใใใใจใๆฐๆใกๆชใใฃใใ
ใชใซใใตใใใใใจใใใใจใใซใฏใใใฎใขใผใใซๅ ฅใใใใฎในใคใใใๆ่ญ็ใซๅใๆฟใใชใใใฐใชใใชใใฃใใใชใณใใชใใฎ2ๆนๅใใใชใใ้ใฎใชใๆฉๆขฐ็ใชใกใซใใบใ ใใใใใใฎๅ ใซใๆญฃใใใใใฎ้ธ่ฑใฏใชใใไปใใใฎใจใฏๅฅใฎใใไธใคใฎๆญฃใใใฎไฝ็ณปใใใใ ใใ ใฃใใ
ๅญฆๆ กใฎ่ชฒ้กใงไธ็ช่ฆๆใชใฎใฏไฝๆใ ใฃใใใฉใใใใใฎใใฎใใจ่จใใจใไธๆๅญใๆธใใชใใพใพๆฐๆ้ใใชใผใบใใฆใใพใ็จๅบฆใซใฏๆธใใชใใฃใใ็ญใใใใใใใใใจใใใใจใ็็ฑใฎไธใคใงใฏใใฃใใใใใพ่ใใใจใ่ชๅใใคใกใผใธใงใใๆญฃ่งฃใฎ็ทใ่ฆใคใใใชใใฃใใใใ ใจๆใใใใกใใใไธๆๅญใฎ็ถปใณใใชใๅฎๅ จใช่งฃ็ญใๅญๅจใใใจใพใงใฏ่ใใฆใใชใใฃใใใใใใงใใใใใใๅ ดๅใซใฏใใใใใใจใๆธใใใใ ใใจใใๆญฃ่งฃใใฟใผใณใฎๅใๅธธใซๅญๅจใใใใใซใฏๆใฃใฆใใใ
ใใฎๅใ่ฆใๅบใใฆๅฎๆผใงใใใ ใใฎๆ้ใชใฉใฏๅฐๅบใชใใฃใใใใใฉๅฎ็งไธป็พฉ่ ใฎๅใซใจใฃใฆใฏใไธๆ ผๅฅฝใงใใจใใใใใใฃใฆใฟใฆ60็นใฎ่งฃ็ญใ็ฎๆใใใใฏใๅคฑๆใฎๅฝข่ทกใๆฎใใใซ0็นใๅบใใๆนใ่ชๅฐๅฟใๅทใคใใใซๆธใใ ใๅฝๆใๅฝ่ชใฎๆ็ธพใฏใใใ่ฏใๆนใ ใฃใใ