Skip to content

Commit afd6355

Browse files
committed
Merge branch 'main' into dev
2 parents 209da89 + 326e242 commit afd6355

File tree

199 files changed

+10855
-213
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+10855
-213
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches: [main, docs/ui]
66
pull_request:
77
branches: [main, docs/ui]
8+
merge_group:
9+
branches: [main, docs/ui]
810

911
jobs:
1012
build:

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@ node_modules
55
.vitepress/dist
66
.vitepress/cache
77

8+
explore/
9+
810
yarn.lock
911
.DS_Store

.textlintrc

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
["labelled", "labeled"],
7373
["licence", "license"],
7474
["organise", "organize"],
75+
["optimise", "optimize"],
7576

7677
// Common misspellings
7778
["gaurantee", "guarantee"],

.vitepress/config.mts

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { defineConfig } from 'vitepress'
22
import apiSidebar from '../content/api/sidebar.json'
33
import mainSidebar from '../content/sidebar'
4+
import uiSidebar from '../content/ui/sidebar'
45
import nav from './nav'
56
import './theme/cliLanguage'
67
import path from 'node:path'
@@ -36,6 +37,7 @@ export default defineConfig({
3637
nav,
3738
sidebar: {
3839
'/api': apiSidebar,
40+
'/ui': uiSidebar,
3941
'/': mainSidebar,
4042
},
4143
},

.vitepress/nav.ts

+14-7
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,22 @@ export default [
1212
{
1313
text: 'Docs',
1414
link: '/',
15-
activeMatch: '^/(?!plugins|best-practices|api|dev-reference|tutorials)',
15+
activeMatch: '^/(?!plugins|best-practices|api|dev-reference|tutorials|ui)',
1616
icon: 'BookOpenIcon',
1717
},
18-
{
19-
text: 'Preview',
20-
link: 'https://preview.nativescript.org',
21-
icon: 'DevicePhoneMobileIcon',
22-
target: '_blank',
23-
},
18+
2419
{
2520
text: 'Tutorials',
2621
link: '/tutorials/',
2722
activeMatch: '^/tutorials',
2823
icon: 'AcademicCapIcon',
2924
},
25+
{
26+
text: 'Preview',
27+
link: 'https://preview.nativescript.org',
28+
icon: 'DevicePhoneMobileIcon',
29+
target: '_blank',
30+
},
3031
{
3132
text: 'Plugins',
3233
link: '/soon',
@@ -44,6 +45,12 @@ export default [
4445
link: '/soon',
4546
icon: 'CpuChipIcon',
4647
},
48+
{
49+
text: 'UI Components',
50+
link: '/ui/',
51+
activeMatch: '^/ui',
52+
icon: 'CubeTransparentIcon',
53+
},
4754
{
4855
text: 'API Reference',
4956
link: '/api/',

content/api/class/Image.md

+1-1

content/guide/navigation/modals.md

+89

content/project-structure/src/fonts.md

+1-1
24.2 KB
21.7 KB
29.2 KB
20.4 KB

content/screenshots/android/Image.png

44.4 KB

content/screenshots/android/Label.png

22.1 KB
21.4 KB
64.3 KB
24 KB
15.8 KB
29 KB
22.3 KB
22.2 KB
16.6 KB
19.4 KB
25.3 KB
21.2 KB
29 KB
25.1 KB
201 KB

content/screenshots/ios/ActionBar.png

122 KB
57 KB

content/screenshots/ios/Button.png

60.2 KB
64 KB

content/screenshots/ios/HtmlView.png

60.2 KB

content/screenshots/ios/Image.png

91.4 KB

content/screenshots/ios/Label.png

62.7 KB
70.5 KB

content/screenshots/ios/ListView.png

117 KB
61 KB

content/screenshots/ios/Progress.png

55.8 KB
71.8 KB

content/screenshots/ios/SearchBar.png

61.9 KB
63.9 KB

content/screenshots/ios/Slider.png

60.6 KB

content/screenshots/ios/Switch.png

60.2 KB

content/screenshots/ios/TabView.png

118 KB

content/screenshots/ios/TextField.png

59.9 KB

content/screenshots/ios/TextView.png

64.6 KB
60.9 KB

content/screenshots/ios/WebView.png

258 KB

content/sidebar.ts

+10-155
Original file line numberDiff line numberDiff line change
@@ -19,38 +19,9 @@ export default [
1919
link: '/guide/creating-a-project',
2020
},
2121
{
22-
text: 'Development Workflow',
23-
items: [
24-
{
25-
text: 'Running',
26-
link: '/guide/running',
27-
},
28-
{
29-
text: 'Debugging',
30-
link: '/guide/debugging',
31-
},
32-
{
33-
text: 'Testing',
34-
link: '/guide/testing'
35-
},
36-
{
37-
text: 'Plugins',
38-
link: '/guide/development-workflow/using-packages'
39-
},
40-
],
41-
},
42-
{
43-
text: 'Tutorials',
44-
link: '/tutorials/',
22+
text: 'Using Modals',
23+
link: '/guide/navigation/modals',
4524
},
46-
{
47-
text: 'Publishing',
48-
link: '/guide/publishing/',
49-
},
50-
// {
51-
// text: 'Tutorials',
52-
// link: '/tutorials/',
53-
// },
5425
{
5526
text: 'Troubleshooting',
5627
link: '/troubleshooting',
@@ -68,11 +39,18 @@ export default [
6839
text: 'Running',
6940
link: '/guide/running',
7041
},
71-
42+
{
43+
text: 'Using Plugins',
44+
link: '/guide/development-workflow/using-packages'
45+
},
7246
{
7347
text: 'Debugging',
7448
link: '/guide/debugging',
7549
},
50+
{
51+
text: 'Testing',
52+
link: '/guide/testing'
53+
},
7654
{
7755
text: 'Publishing',
7856
link: '/guide/publishing/',
@@ -261,127 +239,4 @@ export default [
261239
},
262240
],
263241
},
264-
{
265-
text: 'UI',
266-
items: [
267-
{
268-
text: 'Dialogs',
269-
link: '/ui/dialogs',
270-
},
271-
{
272-
text: 'Gestures',
273-
link: '/ui/gestures',
274-
},
275-
{
276-
text: 'Image',
277-
items: [
278-
{
279-
text: 'ImageCache',
280-
link: '/guide/ui/image-cache'
281-
},
282-
{
283-
text: 'ImageSource',
284-
link: '/guide/ui/image-source'
285-
}
286-
]
287-
},
288-
// { text: 'Styling', link: '//#' },
289-
// { text: 'Interactivity', link: '//#' },
290-
{
291-
text: 'Layout Containers',
292-
items: [
293-
// { text: 'StackLayout', link: '//#' },
294-
// { text: 'GridLayout', link: '//#' },
295-
// { text: 'RootLayout', link: '//#' },
296-
// { text: 'FlexboxLayout', link: '//#' },
297-
// { text: 'WrapLayout', link: '//#' },
298-
{ text: 'AbsoluteLayout', link: '/ui/absolute-layout' },
299-
],
300-
},
301-
// {
302-
// text: 'Navigation Components',
303-
// items: [
304-
// { text: 'Frame', link: '//#' },
305-
// { text: 'Page', link: '//#' },
306-
// { text: 'ActionBar', link: '//#' },
307-
// { text: 'ActionItem', link: '//#' },
308-
// { text: 'NavigationButton', link: '//#' },
309-
// ],
310-
// },
311-
// {
312-
// text: 'Components',
313-
// items: [
314-
// { text: 'ActivityIndicator', link: '//#' },
315-
// { text: 'Button', link: '//#' },
316-
// { text: 'DatePicker', link: '//#' },
317-
// { text: 'HtmlView', link: '//#' },
318-
// { text: 'Image', link: '/' },
319-
// { text: 'Label', link: '//#' },
320-
// { text: 'ListPicker', link: '//#' },
321-
// { text: 'ListView', link: '//#' },
322-
// { text: 'Placeholder', link: '//#' },
323-
// { text: 'Progress', link: '//#' },
324-
// { text: 'ScrollView', link: '//#' },
325-
// { text: 'SearchBar', link: '//#' },
326-
// { text: 'SegmentedBar', link: '//#' },
327-
// { text: 'Slider', link: '//#' },
328-
// { text: 'Switch', link: '//#' },
329-
// { text: 'TabView', link: '//#' },
330-
// { text: 'TextField', link: '//#' },
331-
// { text: 'TextView', link: '//#' },
332-
// { text: 'TimePicker', link: '//#' },
333-
// { text: 'WevView', link: '//#' },
334-
],
335-
},
336-
// {
337-
// text: 'Diving Deeper',
338-
// items: [{ text: 'Architecture concepts', link: '//#' }],
339-
// },
340-
// {
341-
// text: 'UI & Styling',
342-
// items: [
343-
// {
344-
// text: 'UI & Styling',
345-
// link: '//#',
346-
// },
347-
// { text: 'Interaction', link: '//#' },
348-
// ],
349-
// },
350-
// {
351-
// text: 'Networking & Security',
352-
// items: [
353-
// { text: 'Networking', link: '//#' },
354-
// {
355-
// text: 'Security (Nathanael)',
356-
// link: '//#',
357-
// },
358-
// ],
359-
// },
360-
// {
361-
// text: 'Performance',
362-
// items: [{ text: 'Performance', link: '//#' }],
363-
// },
364-
365-
// {
366-
// text: 'Distribution',
367-
// items: [
368-
// {
369-
// text: 'Releasing your app',
370-
// link: '//#',
371-
// },
372-
// ],
373-
// },
374-
// {
375-
// text: 'Troubleshooting',
376-
// items: [
377-
// {
378-
// text: 'Common Issues',
379-
// link: '//#',
380-
// },
381-
// {
382-
// text: 'Common Pitfalls',
383-
// link: '//#',
384-
// },
385-
// ],
386-
// },
387242
] as NSSidebarGroup[]

0 commit comments

Comments
 (0)