Skip to content

Commit e5642be

Browse files
committed
docs: fix wrong anchor links
1 parent c5ac9a2 commit e5642be

24 files changed

Lines changed: 70 additions & 70 deletions

File tree

packages/docs/src/routes/(routes)/components/dropdown/+page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ classnames:
4141

4242
## There are 3 methods to use a dropdowns
4343
1. [details and summary elements](#method-1-details-and-summary)
44-
2. [popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning-)
44+
2. [popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning)
4545
3. [CSS focus](#method-3-css-focus)
4646

4747

packages/docs/src/routes/(routes)/components/modal/+page.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ classnames:
4444

4545

4646
## There are 3 methods to use modals
47-
1. [Using HTML `<dialog>` element](#method-1-html-dialog-element-)
47+
1. [Using HTML `<dialog>` element](#method-1-html-dialog-element)
4848
It needs JS to open but it has better accessibility and we can close it using `Esc` key
49-
2. [Using checkbox](#method-2-checkbox-)
49+
2. [Using checkbox](#method-2-checkbox)
5050
A hidden `<input type="checkbox">` to control the sate of modal and `<label>` to check/uncheck the checkbox and open/close the modal
51-
3. [Using `<a>` anchor links](#method-3-using-anchor-links-)
51+
3. [Using `<a>` anchor links](#method-3-using-anchor-links)
5252
A link adds a parameter to the URL and you only see the modal when the URL has that parameter
5353

5454
> :INFO:

packages/docs/src/translation/ar.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@
10431043
"Large": "Large",
10441044
"Xlarge": "Xlarge",
10451045
"[details and summary elements](#method-1-details-and-summary)": "[details and summary elements](#method-1-details-and-summary)",
1046-
"[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning-)": "[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning-)",
1046+
"[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning)": "[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning)",
10471047
"[CSS focus](#method-3-css-focus)": "[CSS focus](#method-3-css-focus)",
10481048
"details and summary are native HTML elements that can be used to create dropdowns.": "details and summary are native HTML elements that can be used to create dropdowns.",
10491049
"Dropdown using details and summary opens and closes the content when the summary is clicked. You can also open/close it using JS by adding/removing the `open` attribute": "Dropdown using details and summary opens and closes the content when the summary is clicked. You can also open/close it using JS by adding/removing the `open` attribute",
@@ -1144,7 +1144,7 @@
11441144
"Optional": "Optional",
11451145
"You can use `w-*` and `h-*` classes to set the width and height of the stack, making all items the same size.": "You can use `w-*` and `h-*` classes to set the width and height of the stack, making all items the same size.",
11461146
"It needs JS to open but it has better accessibility and we can close it using `Esc` key": "It needs JS to open but it has better accessibility and we can close it using `Esc` key",
1147-
"[Using checkbox](#method-2-checkbox-)": "[Using checkbox](#method-2-checkbox-)",
1147+
"[Using checkbox](#method-2-checkbox)": "[Using checkbox](#method-2-checkbox)",
11481148
"A link adds a parameter to the URL and you only see the modal when the URL has that parameter": "A link adds a parameter to the URL and you only see the modal when the URL has that parameter",
11491149
"Opening a modal adds a [scrollbar-gutter](https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter) to the page to avoid layout shift on operating systems that have a fixed scrollbar.": "Opening a modal adds a [scrollbar-gutter](https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter) to the page to avoid layout shift on operating systems that have a fixed scrollbar.",
11501150
"HTML dialog element is a native way to create modals. It is accessible and we can close the modal using `Esc` key.": "HTML dialog element is a native way to create modals. It is accessible and we can close the modal using `Esc` key.",
@@ -1156,4 +1156,4 @@
11561156
"Inbox": "Inbox",
11571157
"In chat window type this and write your prompt": "In chat window type this and write your prompt",
11581158
"don't re-invent <br/>the wheel <br/>every time": "لا تعد اختراع <br/>العجلة كل مرة"
1159-
}
1159+
}

packages/docs/src/translation/bn.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@
10431043
"Large": "Large",
10441044
"Xlarge": "Xlarge",
10451045
"[details and summary elements](#method-1-details-and-summary)": "[details and summary elements](#method-1-details-and-summary)",
1046-
"[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning-)": "[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning-)",
1046+
"[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning)": "[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning)",
10471047
"[CSS focus](#method-3-css-focus)": "[CSS focus](#method-3-css-focus)",
10481048
"details and summary are native HTML elements that can be used to create dropdowns.": "details and summary are native HTML elements that can be used to create dropdowns.",
10491049
"Dropdown using details and summary opens and closes the content when the summary is clicked. You can also open/close it using JS by adding/removing the `open` attribute": "Dropdown using details and summary opens and closes the content when the summary is clicked. You can also open/close it using JS by adding/removing the `open` attribute",
@@ -1144,7 +1144,7 @@
11441144
"Optional": "Optional",
11451145
"You can use `w-*` and `h-*` classes to set the width and height of the stack, making all items the same size.": "You can use `w-*` and `h-*` classes to set the width and height of the stack, making all items the same size.",
11461146
"It needs JS to open but it has better accessibility and we can close it using `Esc` key": "It needs JS to open but it has better accessibility and we can close it using `Esc` key",
1147-
"[Using checkbox](#method-2-checkbox-)": "[Using checkbox](#method-2-checkbox-)",
1147+
"[Using checkbox](#method-2-checkbox)": "[Using checkbox](#method-2-checkbox)",
11481148
"A link adds a parameter to the URL and you only see the modal when the URL has that parameter": "A link adds a parameter to the URL and you only see the modal when the URL has that parameter",
11491149
"Opening a modal adds a [scrollbar-gutter](https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter) to the page to avoid layout shift on operating systems that have a fixed scrollbar.": "Opening a modal adds a [scrollbar-gutter](https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter) to the page to avoid layout shift on operating systems that have a fixed scrollbar.",
11501150
"HTML dialog element is a native way to create modals. It is accessible and we can close the modal using `Esc` key.": "HTML dialog element is a native way to create modals. It is accessible and we can close the modal using `Esc` key.",
@@ -1156,4 +1156,4 @@
11561156
"Inbox": "Inbox",
11571157
"In chat window type this and write your prompt": "In chat window type this and write your prompt",
11581158
"don't re-invent <br/>the wheel <br/>every time": "প্রতিবার <br/>চাকা <br/>আবিস্কার করার দরকার নেই"
1159-
}
1159+
}

packages/docs/src/translation/ca.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@
10431043
"Large": "Large",
10441044
"Xlarge": "Xlarge",
10451045
"[details and summary elements](#method-1-details-and-summary)": "[details and summary elements](#method-1-details-and-summary)",
1046-
"[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning-)": "[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning-)",
1046+
"[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning)": "[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning)",
10471047
"[CSS focus](#method-3-css-focus)": "[CSS focus](#method-3-css-focus)",
10481048
"details and summary are native HTML elements that can be used to create dropdowns.": "details and summary are native HTML elements that can be used to create dropdowns.",
10491049
"Dropdown using details and summary opens and closes the content when the summary is clicked. You can also open/close it using JS by adding/removing the `open` attribute": "Dropdown using details and summary opens and closes the content when the summary is clicked. You can also open/close it using JS by adding/removing the `open` attribute",
@@ -1144,7 +1144,7 @@
11441144
"Optional": "Optional",
11451145
"You can use `w-*` and `h-*` classes to set the width and height of the stack, making all items the same size.": "You can use `w-*` and `h-*` classes to set the width and height of the stack, making all items the same size.",
11461146
"It needs JS to open but it has better accessibility and we can close it using `Esc` key": "It needs JS to open but it has better accessibility and we can close it using `Esc` key",
1147-
"[Using checkbox](#method-2-checkbox-)": "[Using checkbox](#method-2-checkbox-)",
1147+
"[Using checkbox](#method-2-checkbox)": "[Using checkbox](#method-2-checkbox)",
11481148
"A link adds a parameter to the URL and you only see the modal when the URL has that parameter": "A link adds a parameter to the URL and you only see the modal when the URL has that parameter",
11491149
"Opening a modal adds a [scrollbar-gutter](https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter) to the page to avoid layout shift on operating systems that have a fixed scrollbar.": "Opening a modal adds a [scrollbar-gutter](https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter) to the page to avoid layout shift on operating systems that have a fixed scrollbar.",
11501150
"HTML dialog element is a native way to create modals. It is accessible and we can close the modal using `Esc` key.": "HTML dialog element is a native way to create modals. It is accessible and we can close the modal using `Esc` key.",
@@ -1158,4 +1158,4 @@
11581158
"don't re-invent <br/>the wheel <br/>every time": "no reinventis <br/>la roda <br/>una vegada i una altra.",
11591159
"component library": "més popular",
11601160
"for Tailwind CSS": "de Tailwind CSS"
1161-
}
1161+
}

packages/docs/src/translation/cs.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@
10431043
"Large": "Large",
10441044
"Xlarge": "Xlarge",
10451045
"[details and summary elements](#method-1-details-and-summary)": "[details and summary elements](#method-1-details-and-summary)",
1046-
"[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning-)": "[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning-)",
1046+
"[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning)": "[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning)",
10471047
"[CSS focus](#method-3-css-focus)": "[CSS focus](#method-3-css-focus)",
10481048
"details and summary are native HTML elements that can be used to create dropdowns.": "details and summary are native HTML elements that can be used to create dropdowns.",
10491049
"Dropdown using details and summary opens and closes the content when the summary is clicked. You can also open/close it using JS by adding/removing the `open` attribute": "Dropdown using details and summary opens and closes the content when the summary is clicked. You can also open/close it using JS by adding/removing the `open` attribute",
@@ -1144,7 +1144,7 @@
11441144
"Optional": "Optional",
11451145
"You can use `w-*` and `h-*` classes to set the width and height of the stack, making all items the same size.": "You can use `w-*` and `h-*` classes to set the width and height of the stack, making all items the same size.",
11461146
"It needs JS to open but it has better accessibility and we can close it using `Esc` key": "It needs JS to open but it has better accessibility and we can close it using `Esc` key",
1147-
"[Using checkbox](#method-2-checkbox-)": "[Using checkbox](#method-2-checkbox-)",
1147+
"[Using checkbox](#method-2-checkbox)": "[Using checkbox](#method-2-checkbox)",
11481148
"A link adds a parameter to the URL and you only see the modal when the URL has that parameter": "A link adds a parameter to the URL and you only see the modal when the URL has that parameter",
11491149
"Opening a modal adds a [scrollbar-gutter](https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter) to the page to avoid layout shift on operating systems that have a fixed scrollbar.": "Opening a modal adds a [scrollbar-gutter](https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter) to the page to avoid layout shift on operating systems that have a fixed scrollbar.",
11501150
"HTML dialog element is a native way to create modals. It is accessible and we can close the modal using `Esc` key.": "HTML dialog element is a native way to create modals. It is accessible and we can close the modal using `Esc` key.",
@@ -1155,4 +1155,4 @@
11551155
"The `hr` tag at the beginning or end of each item, displays a line to connect items.": "The `hr` tag at the beginning or end of each item, displays a line to connect items.",
11561156
"Inbox": "Inbox",
11571157
"In chat window type this and write your prompt": "In chat window type this and write your prompt"
1158-
}
1158+
}

packages/docs/src/translation/de.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@
10431043
"Large": "Large",
10441044
"Xlarge": "Xlarge",
10451045
"[details and summary elements](#method-1-details-and-summary)": "[details and summary elements](#method-1-details-and-summary)",
1046-
"[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning-)": "[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning-)",
1046+
"[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning)": "[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning)",
10471047
"[CSS focus](#method-3-css-focus)": "[CSS focus](#method-3-css-focus)",
10481048
"details and summary are native HTML elements that can be used to create dropdowns.": "details and summary are native HTML elements that can be used to create dropdowns.",
10491049
"Dropdown using details and summary opens and closes the content when the summary is clicked. You can also open/close it using JS by adding/removing the `open` attribute": "Dropdown using details and summary opens and closes the content when the summary is clicked. You can also open/close it using JS by adding/removing the `open` attribute",
@@ -1144,7 +1144,7 @@
11441144
"Optional": "Optional",
11451145
"You can use `w-*` and `h-*` classes to set the width and height of the stack, making all items the same size.": "You can use `w-*` and `h-*` classes to set the width and height of the stack, making all items the same size.",
11461146
"It needs JS to open but it has better accessibility and we can close it using `Esc` key": "It needs JS to open but it has better accessibility and we can close it using `Esc` key",
1147-
"[Using checkbox](#method-2-checkbox-)": "[Using checkbox](#method-2-checkbox-)",
1147+
"[Using checkbox](#method-2-checkbox)": "[Using checkbox](#method-2-checkbox)",
11481148
"A link adds a parameter to the URL and you only see the modal when the URL has that parameter": "A link adds a parameter to the URL and you only see the modal when the URL has that parameter",
11491149
"Opening a modal adds a [scrollbar-gutter](https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter) to the page to avoid layout shift on operating systems that have a fixed scrollbar.": "Opening a modal adds a [scrollbar-gutter](https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter) to the page to avoid layout shift on operating systems that have a fixed scrollbar.",
11501150
"HTML dialog element is a native way to create modals. It is accessible and we can close the modal using `Esc` key.": "HTML dialog element is a native way to create modals. It is accessible and we can close the modal using `Esc` key.",
@@ -1156,4 +1156,4 @@
11561156
"Inbox": "Inbox",
11571157
"In chat window type this and write your prompt": "In chat window type this and write your prompt",
11581158
"don't re-invent <br/>the wheel <br/>every time": "erfinde das Rad <br/>nicht <br/>jedes Mal neu"
1159-
}
1159+
}

packages/docs/src/translation/en.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@
10431043
"Large": "Large",
10441044
"Xlarge": "Xlarge",
10451045
"[details and summary elements](#method-1-details-and-summary)": "[details and summary elements](#method-1-details-and-summary)",
1046-
"[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning-)": "[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning-)",
1046+
"[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning)": "[popover API and anchor positioning `new`](#method-2-popover-api-and-anchor-positioning)",
10471047
"[CSS focus](#method-3-css-focus)": "[CSS focus](#method-3-css-focus)",
10481048
"details and summary are native HTML elements that can be used to create dropdowns.": "details and summary are native HTML elements that can be used to create dropdowns.",
10491049
"Dropdown using details and summary opens and closes the content when the summary is clicked. You can also open/close it using JS by adding/removing the `open` attribute": "Dropdown using details and summary opens and closes the content when the summary is clicked. You can also open/close it using JS by adding/removing the `open` attribute",
@@ -1144,7 +1144,7 @@
11441144
"Optional": "Optional",
11451145
"You can use `w-*` and `h-*` classes to set the width and height of the stack, making all items the same size.": "You can use `w-*` and `h-*` classes to set the width and height of the stack, making all items the same size.",
11461146
"It needs JS to open but it has better accessibility and we can close it using `Esc` key": "It needs JS to open but it has better accessibility and we can close it using `Esc` key",
1147-
"[Using checkbox](#method-2-checkbox-)": "[Using checkbox](#method-2-checkbox-)",
1147+
"[Using checkbox](#method-2-checkbox)": "[Using checkbox](#method-2-checkbox)",
11481148
"A link adds a parameter to the URL and you only see the modal when the URL has that parameter": "A link adds a parameter to the URL and you only see the modal when the URL has that parameter",
11491149
"Opening a modal adds a [scrollbar-gutter](https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter) to the page to avoid layout shift on operating systems that have a fixed scrollbar.": "Opening a modal adds a [scrollbar-gutter](https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter) to the page to avoid layout shift on operating systems that have a fixed scrollbar.",
11501150
"HTML dialog element is a native way to create modals. It is accessible and we can close the modal using `Esc` key.": "HTML dialog element is a native way to create modals. It is accessible and we can close the modal using `Esc` key.",
@@ -1156,4 +1156,4 @@
11561156
"Inbox": "Inbox",
11571157
"In chat window type this and write your prompt": "In chat window type this and write your prompt",
11581158
"`base-content` is the text color of the page by default. It's a dark color on light themes and it's a light color on dark themes.": "`base-content` is the text color of the page by default. It's a dark color on light themes and it's a light color on dark themes."
1159-
}
1159+
}

0 commit comments

Comments
 (0)