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(jp): merge recent update #2883

Merged
merged 487 commits into from
Jul 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
487 commits
Select commit Hold shift + click to select a range
0ab2840
docs(angular): supported angular versions (#2785)
sean-perkins Feb 27, 2023
5274158
fix(playground): prevent horizontal scrollbar on ios device frame vie…
averyjohnston Feb 27, 2023
176c6ff
docs(many): add Ionic v6.6 docs
liamdebeasi Mar 1, 2023
07d1fc9
docs(toast): add version to layout (#2800)
liamdebeasi Mar 1, 2023
ec9c5c6
docs(toast): update cdn version (#2801)
liamdebeasi Mar 1, 2023
630c5f1
fix(playground): hidden iframes are hidden from screen readers (#2802)
liamdebeasi Mar 2, 2023
b44c54d
chore(version): update v5 and v6 docs to use the versioned docs demo …
liamdebeasi Mar 2, 2023
f623fc9
docs(api): add accessibility section for icons (#2807)
brandyscarney Mar 6, 2023
358cfdc
docs(layout): update css-utilities to show float properly (#2808)
brandyscarney Mar 7, 2023
cb7a235
fix(playground): iframe is hidden using display (#2809)
liamdebeasi Mar 7, 2023
5045ed4
chore: clear docs/native directory when generating markdown (#2812)
sean-perkins Mar 8, 2023
8faf7b1
docs(segment): wrap text in labels for segments in toolbar playground…
brandyscarney Mar 9, 2023
733c827
docs(security): clarify sanitizer (#2814)
liamdebeasi Mar 9, 2023
2da36da
docs(gestures): remove browser support section (#2817)
sean-perkins Mar 10, 2023
4edfc27
docs(icon): indicate where to find custom SVG usage (#2816)
averyjohnston Mar 10, 2023
6c9097f
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Mar 12, 2023
a44bce6
chore(): 翻訳ミスを修正
rdlabo Mar 12, 2023
7cb9826
updated
rdlabo Mar 12, 2023
96677eb
Merge branch 'translation/jp' of github.com:ionic-team/ionic-docs int…
rdlabo Mar 12, 2023
5085791
build
rdlabo Mar 12, 2023
e6ea85f
docs(datetime): clarify timezone usage (#2822)
liamdebeasi Mar 13, 2023
ad86bef
docs(animations): add type interfaces (#2811)
sean-perkins Mar 13, 2023
305b6d9
docs(alert): alert input label is only for radio/checkbox (#2810)
sean-perkins Mar 13, 2023
cb056e9
feat: docusaurus plugin to generate component api docs (#2797)
sean-perkins Mar 13, 2023
c79ba39
Revert " feat: docusaurus plugin to generate component api docs (#279…
liamdebeasi Mar 13, 2023
faad298
docs(input, textarea): update migration guide for proper metadata usa…
liamdebeasi Mar 15, 2023
ef3836e
docs(slides): update migration guides to use Swiper 9 (#2833)
averyjohnston Mar 17, 2023
bc7a829
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Mar 21, 2023
6857ca5
feat(translate): update translate
rdlabo Mar 21, 2023
51dc415
feat(translate): add auto translation by DeepL
rdlabo Mar 21, 2023
ab86fa0
Merge branch 'main' into translation/jp
rdlabo Mar 21, 2023
1a26561
feat(translate): h2 is translated
rdlabo Mar 21, 2023
c252eda
feat(v7): translate api
rdlabo Mar 21, 2023
4f1de32
Merge pull request #59 from r-yanyo/main
rdlabo Mar 21, 2023
929c03d
Merge branch 'feat/v7' into translation/jp-v7
rdlabo Mar 21, 2023
ba30df7
feat(translate): translate api
rdlabo Mar 21, 2023
bcdb4e0
feat(translate): translate api
rdlabo Mar 21, 2023
986abad
fix(api): fixed spelling
rdlabo Mar 21, 2023
b173411
Merge branch 'feat/v7' of github.com:ionic-jp/ionic-docs into feat/v7
rdlabo Mar 21, 2023
ed4d367
feat(translation): partial retranslation
rdlabo Mar 21, 2023
527908e
chore(): remove unused file
rdlabo Mar 21, 2023
4951d13
docs(modal): clarify swipeToClose migration (#2839)
liamdebeasi Mar 21, 2023
8c65f1a
docs(select): fix typeahead search (#2840)
liamdebeasi Mar 21, 2023
45f7feb
docs(updating): clean up verbiage and broken links on migration guide…
brandyscarney Mar 21, 2023
079ca83
fix(translate): proofread the translation of DeepL
rdlabo Mar 22, 2023
acb85c2
chore(translate): run translate
rdlabo Mar 22, 2023
6d3bae1
feat(translate): translate searchbar
rdlabo Mar 22, 2023
58576e7
feat(translate): fix deepl translation
rdlabo Mar 22, 2023
b7053ff
fix(translate): translate docs/index
rdlabo Mar 22, 2023
194897b
docs(badge): content must be passed to be shown (#2844)
thetaPC Mar 22, 2023
d28c831
docs(config): move framework config guides to unified config guide (#…
liamdebeasi Mar 22, 2023
69366b1
docs(live reload): update docs about Capacitor programmatic builds (#…
mapsandapps Mar 22, 2023
6ef5369
docs(many): update config links (#2846)
liamdebeasi Mar 22, 2023
cb4f91c
docs(config): add documentation for innerHTMLTemplatesEnabled (#2826)
liamdebeasi Mar 23, 2023
d08d138
docs: update dev workflow instructions (#2848)
thetaPC Mar 23, 2023
53b01f7
docs(react, vue): add vite pwa docs (#2841)
liamdebeasi Mar 23, 2023
77d616c
docs(v5): change CDN links to use core@v5 (#2847)
thetaPC Mar 23, 2023
407f669
docs(quickstart): update to include imports and match current starter…
mapsandapps Mar 23, 2023
0f29fb0
Merge commit '407f6697f8d56598ab081d99c5dbfd4bd1c3250c' into feat/v7
rdlabo Mar 24, 2023
dab36df
docs(input, textarea): clarify error text behavior (#2853)
liamdebeasi Mar 24, 2023
1d64f22
docs(native): fix grammar and typos (#2806)
ptmkenny Mar 24, 2023
95c4f23
docs: rxjs migration guide for v7 (#2852)
sean-perkins Mar 24, 2023
3bd16bc
docs(modal): playground example to prevent swipe to dismiss (#2820)
sean-perkins Mar 24, 2023
85bafc3
Merge branch 'main' of github.com:ionic-team/ionic-docs into feat/v7
rdlabo Mar 25, 2023
bb88f63
docs(react): update imports for swiper migration (#2851)
liamdebeasi Mar 27, 2023
2f64893
docs(slides): fix typo in Angular migration guide (#2856)
averyjohnston Mar 27, 2023
d9a33f0
docs(toast): remove hardware back button dismissal (#2854)
thetaPC Mar 27, 2023
b1d17d7
Merge branch 'main' of github.com:ionic-team/ionic-docs into feat/v7
rdlabo Mar 28, 2023
a8df44b
feat(translate): remove '自動翻訳' from cache data
rdlabo Mar 28, 2023
f468d1a
docs(lifecycle): clarify when lifecycles are called (#2858)
liamdebeasi Mar 28, 2023
ca8256c
Merge commit 'f468d1a5bc902ea8e947f307b7c5e0bbfbae9133' into feat/v7
rdlabo Mar 28, 2023
e7d1355
docs(config): update innerHTMLTemplatesEnabled default (#2857)
liamdebeasi Mar 29, 2023
4ff5557
feat: docusaurus plugin to generate component api docs (#2829)
sean-perkins Mar 29, 2023
73f3e02
chore: remove v7 beta banner (#2836)
sean-perkins Mar 29, 2023
5af2a10
docs(config): update v7 to latest version (#2862)
liamdebeasi Mar 29, 2023
6172dfa
chore(many): update v7 playgrounds to point to Ionic 7.0.0 (#2859)
averyjohnston Mar 29, 2023
80ed807
fix(plugin): account for versions with no paths (#2865)
liamdebeasi Mar 29, 2023
b81426e
fix(config): fall back to label (#2866)
liamdebeasi Mar 29, 2023
b47bf2a
Merge commit 'b81426e5378cad5a51ac2e2598b6681842322417' into feat/v7
rdlabo Mar 29, 2023
53775a9
docs(upgrade-pill): link to v7 upgrade guide (#2724)
sean-perkins Mar 29, 2023
bcee83a
chore(): remove unused auto translated
rdlabo Mar 29, 2023
4e765f4
Merge pull request #60 from ionic-jp/feat/v7
rdlabo Mar 29, 2023
cdea3cd
docs(support): update support table for v7 (#2868)
averyjohnston Mar 30, 2023
56a35ef
docs(datetime): remove unused variable from example (#2803)
reslear Mar 30, 2023
2852b6a
docs(v7): update breaking changes link (#2869)
liamdebeasi Mar 30, 2023
80c0d95
docs(v7): update migration guide tags (#2870)
liamdebeasi Mar 30, 2023
9bf4533
feat(translate): translate api
rdlabo Mar 31, 2023
2e3b7bb
docs(migration): fix header levels in v4 migration guide (#2872)
averyjohnston Mar 31, 2023
de20325
docs(migration): update versioned migration guide to link to latest v…
averyjohnston Mar 31, 2023
b452f51
chore(docs contributing): update code of conduct to link out to full …
johnwheeler-prod Mar 31, 2023
b0ca8da
chore(i18n): remove production check for Japanese docs (#2825)
liamdebeasi Apr 4, 2023
ff6b2d2
docs(deployment): typo with windows requirements (#2879)
robertegj Apr 5, 2023
7485c05
chore(coc email): update email to devrel (#2881)
johnwheeler-prod Apr 6, 2023
78a9870
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Apr 6, 2023
0d070be
fix(path): fix language path
rdlabo Apr 6, 2023
b09d355
Merge branch 'main' into translation/jp
rdlabo Apr 6, 2023
69d2dd5
Revert "fix(path): fix language path"
rdlabo Apr 6, 2023
94d998e
fix(lang): default path change to be en(if Japanese
rdlabo Apr 6, 2023
0da239b
Merge branch 'main' into translation/jp
rdlabo Apr 6, 2023
91a7d91
feat(api): update api translate
rdlabo Apr 6, 2023
135d545
Merge branch 'main' into translation/jp-20230406
rdlabo Apr 6, 2023
c4004b5
fix(jp): set the v7 document version to v7 (#2884)
rdlabo Apr 6, 2023
f521e46
docs(select): popover can be used with multiple prop (#2887)
liamdebeasi Apr 6, 2023
590b0c8
Revert "fix(jp): set the v7 document version to v7 (#2884)" (#2889)
liamdebeasi Apr 6, 2023
c0a0630
docs(react): add example for useIonRouter (#2888)
liamdebeasi Apr 6, 2023
06697ef
docs(modal): controller playground uses bolded action (#2890)
sean-perkins Apr 7, 2023
dc8e499
docs(theming): update vendor prefixed line height (#2661)
web-padawan Apr 10, 2023
fe449b7
docs(layout): update structure docs to use new playground examples (#…
brandyscarney Apr 10, 2023
d982f44
docs(theming): remove stray whitespace (#2895)
liamdebeasi Apr 10, 2023
682b576
docs(CONTRIBUTING): update misspell and period addition (#2893)
thetaPC Apr 10, 2023
4a5f398
fix(modal): controller playground uses v7 label syntax (#2891)
sean-perkins Apr 10, 2023
f7a7d12
fix(styles): add sidebar indentation for nested sections (#2886)
sean-perkins Apr 10, 2023
6351423
docs(router-link): removal of phone demo on v6 and v7 (#2899)
thetaPC Apr 10, 2023
1ce073d
docs(studio): removal of studio pages for v7, v6, and v5 (#2900)
thetaPC Apr 10, 2023
dee546e
docs(native): correctly show all the native plugins (#2903)
liamdebeasi Apr 11, 2023
2dc8c1c
docs(nav): clearly state that it's not used for routing (#2901)
thetaPC Apr 11, 2023
29a1279
fix(ColorGenerator): always prepend entered colors with pound sign (#…
averyjohnston Apr 12, 2023
f2eb4c7
docs(item): migrate inputs example to v7 (#2835)
sean-perkins Apr 12, 2023
2ff757e
docs(vue): update quickstart steps to remove typescript (#2689)
yusufsahinhamza Apr 12, 2023
b6bb849
docs(modal): playground for auto height sheets (#2905)
thetaPC Apr 12, 2023
ea4104d
docs(react): clarify state behavior with Ionic React (#2894)
FernetB Apr 13, 2023
b0ac6e8
docs(quickstart): remove unnecessary references to React Native (#2238)
ceghap Apr 13, 2023
eb79612
docs(searchbar): debounce uses ionInput (#2913)
liamdebeasi Apr 13, 2023
d8ad3c2
docs(react): remove old overview and update link (#2897)
mapsandapps Apr 14, 2023
4d95c7e
docs(react): update pwa-elements import
jmcscript Apr 17, 2023
45c965b
styles(): Add developer experts cta section to intro/next page (#2908)
jaredcbaum Apr 17, 2023
da07c22
fix(developer experts card): Add dark mode compatability (#2919)
jaredcbaum Apr 17, 2023
55b7212
docs(react): provide unique key instead of index (#2630)
ThejasKiranPS Apr 17, 2023
ea506a9
docs(toast): clarify aria-live usage (#2914)
liamdebeasi Apr 19, 2023
92424ff
docs(security): clarify IonicSafeString usage with innerHTMLTemplates…
liamdebeasi Apr 19, 2023
d389d42
docs(cli): update Ionic CLI docs for version 7 (#2924)
dotNetkow Apr 20, 2023
601c7a1
docs(pwa): update firebase instructions for deploying pwa (#2916)
sean-perkins Apr 20, 2023
98287ff
docs(support): remove migration guide link (#2925)
liamdebeasi Apr 20, 2023
6113248
fix(release-notes): remove element symbols and names and update desig…
brandyscarney Apr 21, 2023
fd156fd
docs(angular): add missing non-null assertion operator (#2683)
dfeliz Apr 21, 2023
327ce7d
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Apr 24, 2023
d848669
fix(): page components file structure (#2907)
jaredcbaum Apr 24, 2023
1ff738a
docs(your-first-app): mark webviewPath as optional in UserPhoto inter…
averyjohnston Apr 24, 2023
d8b91fe
fix(angular-getting-started): type errors (#2688)
gregbilletdeaux Apr 24, 2023
d6659e1
Revert "fix(): page components file structure (#2907)" (#2928)
liamdebeasi Apr 25, 2023
cae727f
refactor(api): v5 docs use internal import (#2929)
liamdebeasi Apr 25, 2023
2c43649
fix(playground): allow automatic mode selection when relevant base fi…
averyjohnston Apr 25, 2023
3da7c10
fix: styles for ion-slides migration (#2930)
sean-perkins Apr 25, 2023
431f2e0
refactor(playground): remove unused angularModuleOptions feature (#2933)
averyjohnston Apr 25, 2023
7a9f3b3
docs(ionicslides): include slides param link (#2934)
thetaPC Apr 25, 2023
ba21d4e
docs(tab): remove references to using Stencil with tab (#2932)
mapsandapps Apr 26, 2023
f143f30
chore(crowdin): api docs are no longer ignored (#2938)
liamdebeasi Apr 26, 2023
3a20ba5
fix(docsdemo, playground): add keys to list items (#2940)
averyjohnston Apr 27, 2023
9675a8a
fix(ColorAccordion, LayeredColorsSelect): add keys to list items (#2942)
averyjohnston Apr 27, 2023
069b134
fix(docdemo, coloraccordion): correctly format SVG/CSS props (#2941)
averyjohnston Apr 27, 2023
53e69e6
chore(contributing): remove slack link on v5 (#2939)
jaredcbaum Apr 28, 2023
ea89c02
docs(Swiper): fix typo in slidesPerView value (#2945)
averyjohnston May 1, 2023
815edef
docs(android): update where to find SDK/AVD managers (#2947)
averyjohnston May 1, 2023
8585a9f
chore(intro/next): Elite Ionic -> Ionic Start (#2931)
jaredcbaum May 2, 2023
66a7d12
docs(developing): tip for changing node_modules permissions (#2950)
sean-perkins May 3, 2023
f4adec9
docs(breadcrumbs): update vue example (#2949)
mapsandapps May 3, 2023
a72013d
docs(lifecycle): clarify method descriptions (#2951)
liamdebeasi May 3, 2023
be3c382
docs(updating): add angular toolkit upgrade to v7 upgrade guide (#2952)
liamdebeasi May 4, 2023
8db9610
chore(lint): add prettier and lint on CI (#2946)
brandyscarney May 4, 2023
01d9c09
docs(support): update angular support policy (#2953)
liamdebeasi May 8, 2023
944abce
docs(range): update docs to use label prop (#2955)
averyjohnston May 10, 2023
afebb15
fix(tabs): correct router playground src (#2957)
thetaPC May 11, 2023
9184c2f
docs(app-store): add reference to App Store Connect (#2198)
jstjnsn May 11, 2023
ddcb607
docs(developing): update Java instructions to mention JDK 11 for late…
AustineA May 11, 2023
3bc9014
docs(react): remove IonContent from tabs example (#2958)
liamdebeasi May 12, 2023
34a7c6a
docs(vue): remove IonContent from tabs example (#2959)
liamdebeasi May 12, 2023
2f1a769
docs(dark-mode): replace deprecated addListener() usage (#1908)
eyecatchup May 17, 2023
998c507
docs(quickstart): remove typescript for imports and tests (#2216)
praxxys May 17, 2023
7d6da43
fix(CodeColor, LayeredColorsSelect): fix invalid DOM nesting (#2963)
averyjohnston May 18, 2023
244d728
docs(react): remove unopened closing tag (#2964)
mapsandapps May 18, 2023
47dfcab
fix: Ionic CLI links to latest docs page (#2961)
zakuru May 19, 2023
d8731a4
docs(tabs): angular usage does not use explicit ion-router-outlet (#2…
sean-perkins May 19, 2023
4af04fa
doc(CORS): update the native options (#2954)
kensodemann May 19, 2023
2e8bff2
feat(playground): inline dependencies per framework example (#2970)
sean-perkins May 23, 2023
e489144
chore: update minor release to happen every 4 weeks if needed (#2972)
liamdebeasi May 24, 2023
436bc2e
docs(select): add label slot and aria label playgrounds (#2971)
liamdebeasi May 25, 2023
bb95aec
docs(vue): add community guide by theafolayan (#1795)
theafolayan May 25, 2023
b846359
docs(PWAs): add Vue to list of PWA deployment guides (#2974)
averyjohnston May 25, 2023
b43e71c
docs(spinner): add docs for resizing (#2966)
mapsandapps May 26, 2023
f4306be
docs(developing): update default Android SDK path (#2771)
juliendecoster May 26, 2023
c96239f
docs(native): fix typo (#2976)
tinuzz May 30, 2023
bb9e793
chore: prettier formatting (#2979)
sean-perkins May 30, 2023
9fd849f
docs(angular): relative routing is supported (#2980)
sean-perkins May 31, 2023
e665d7e
docs(angular): update component testing code snippets (#2985)
sean-perkins Jun 5, 2023
7c5fc22
chore(deps): update react and vue playground dependencies (#2989)
sean-perkins Jun 6, 2023
0095c9f
docs(datetime): add playground for styling wheel pickers (#2982)
averyjohnston Jun 6, 2023
b6dd83a
docs(angular):updated component photo service (#2986) (#2987)
nandanchandra Jun 6, 2023
b52a8c3
docs(android): clarify steps to set up native project and run with Ca…
sanjeed5 Jun 7, 2023
cfceccd
docs(security): content security policies (#2975)
sean-perkins Jun 9, 2023
5109e2a
chore(fundamentals): clarify events (#2992)
liamdebeasi Jun 9, 2023
13e6bf9
docs(app-store): add release flag (#2990)
liamdebeasi Jun 9, 2023
bc06123
docs(vue): fix lifecycle table formatting (#2967)
doingandlearning Jun 12, 2023
ec01f80
docs(infinite-scroll): use the correct custom event (#2995)
thetaPC Jun 14, 2023
a0f9248
docs(angular): fix indentation in 5-adding-mobile.md (#2855)
bobbyg603 Jun 15, 2023
7540f82
docs(input): add label slot and no visible label demos (#2997)
liamdebeasi Jun 20, 2023
107a0c5
Merge remote-tracking branch 'origin/main' into feature-7.1
sean-perkins Jun 20, 2023
d9ca1bf
docs(select): add playgrounds for toggle icon customization (#2996)
averyjohnston Jun 20, 2023
fa7e948
docs(input): input masking examples (#2993)
sean-perkins Jun 20, 2023
e9dc746
docs(textarea): add label slot examples (#3001)
liamdebeasi Jun 20, 2023
a3ef3b3
chore: release ionic 7.1 docs
liamdebeasi Jun 21, 2023
78934cd
chore: add playgrounds for JP docs (#3004)
liamdebeasi Jun 21, 2023
dc99a6e
chore: upgrade maskito dependencies to v1 (#3005)
sean-perkins Jun 21, 2023
113dee7
fix(playground-tabs): show arrows on long list (#3009)
thetaPC Jun 22, 2023
9b65f4b
docs(native): improve grammar
CrazyChaoz Jun 23, 2023
03022cb
docs(your-first-app): switch to Date.now() (#2915)
biskweet Jun 26, 2023
7d9e1fe
docs(list): use dark mode aware color (#3015)
liamdebeasi Jul 6, 2023
806851b
docs(maskito): update credit card mask format (#3007)
sean-perkins Jul 6, 2023
b2b7df1
chore(ci): check for diff after running prettier (#2981)
sean-perkins Jul 6, 2023
63d96f3
chore: lint content (#3020)
liamdebeasi Jul 6, 2023
33b6def
docs(animation): add playground for override example (#3018)
liamdebeasi Jul 6, 2023
c768b6e
docs(vue): Improve documentation for removing Typescript steps in v7 …
dlodeprojuicer Jul 7, 2023
769c9a4
feat(playground): add support for generating a new playground (#2994)
mapsandapps Jul 10, 2023
337e869
chore: enable renovate for component playground deps (#3016)
sean-perkins Jul 10, 2023
6b2f6ed
Configure Renovate (#3017)
renovate[bot] Jul 10, 2023
af69fb0
docs(modal): clarify swipe to close section (#3021)
liamdebeasi Jul 10, 2023
9c06dc2
docs(react): clarify IonTabs behavior with IonPage (#3012)
liamdebeasi Jul 10, 2023
15817f4
chore(renovate): remove extending docs config (#3027)
sean-perkins Jul 11, 2023
2c7303e
docs(animation): add playground for group example (#3025)
liamdebeasi Jul 11, 2023
4face1f
docs(animations): add playground for chained animations (#3026)
sean-perkins Jul 11, 2023
718e779
chore(deps): update dependency vite to v2.9.16 [security] (#3028)
renovate[bot] Jul 11, 2023
756ebca
docs(animation): add playground for basic animations (#3031)
thetaPC Jul 12, 2023
03a8153
fix(deps): update dependency @types/node to v16.18.38 (#3033)
renovate[bot] Jul 12, 2023
b7348bd
fix(generation): correct angular imports (#3034)
mapsandapps Jul 12, 2023
b85fc79
docs(animations): buttons in StackBlitz demos do not need id (#3037)
brandyscarney Jul 12, 2023
fa26dee
chore(renovate): limit include paths (#3030)
sean-perkins Jul 12, 2023
431cecc
docs(animations): add playground for before and after hooks (#3035)
brandyscarney Jul 12, 2023
4a53559
docs(animations): add playground for preference based (#3036)
thetaPC Jul 13, 2023
4d8f605
docs(angular): add type assertion for your first app code snippet (#2…
josh33 Jul 13, 2023
1acc6e4
docs(animation): add playground example for double-click gesture (#3…
mapsandapps Jul 14, 2023
99b5f8a
docs(animation): add gesture animation playground (#3043)
liamdebeasi Jul 17, 2023
614519f
docs(gesture): add playground example for basic usage (#3038)
sean-perkins Jul 17, 2023
004c78b
docs(animation): add playground example for keyframes (#3039)
mapsandapps Jul 17, 2023
8e35d5f
docs(item-sliding): clarify expandable behavior (#3044)
liamdebeasi Jul 18, 2023
d57ab7e
docs(menu): add playgrounds for menu sides and multiple menus (#3049)
brandyscarney Jul 18, 2023
484dcce
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Jul 19, 2023
a86d8ae
fix(): fix conflict package.json
rdlabo Jul 19, 2023
18ccbd3
Merge branch 'main' into translation/jp-20230406
rdlabo Jul 19, 2023
6abe84b
chore(): fixed lint
rdlabo Jul 19, 2023
261c834
Merge branch 'main' into translation/jp-20230406
rdlabo Jul 19, 2023
d6a3256
fix(ci): fix lint and diff
rdlabo Jul 19, 2023
60ecca7
Merge branch 'main' into translation/jp-20230406
rdlabo Jul 19, 2023
d4f47d9
fix(script): follow new docs script
rdlabo Jul 20, 2023
e95ddf7
translate
rdlabo Jul 20, 2023
3ec07a7
chore
rdlabo Jul 20, 2023
80134d9
chore(): fix confrect
rdlabo Jul 20, 2023
e5882ff
Merge branch 'main' into translation/jp-20230406
rdlabo Jul 20, 2023
7e04aef
fmt
rdlabo Jul 20, 2023
5e97f9f
Merge branch 'main' into translation/jp-20230406
rdlabo Jul 20, 2023
7476dbe
fix(): remove i18n folder from git
rdlabo Jul 20, 2023
42c359d
Merge branch 'main' into translation/jp-20230406
rdlabo Jul 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
33 changes: 33 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# GitHub Actions docs
# https://help.github.com/en/articles/about-github-actions
# https://help.github.com/en/articles/workflow-syntax-for-github-actions

name: Install Dependencies, Lint

on: [pull_request]

jobs:
test:
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: [16]
os: [windows-latest, macOS-latest]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
- name: Install Dependencies
run: npm ci --legacy-peer-deps
- name: Lint
run: npm run lint
# Lint changes should be pushed
# to the branch before the branch
# is merge eligible.
- name: Check Diff
run: git diff --exit-code
shell: bash
10 changes: 6 additions & 4 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
src/theme/DocItem
src/theme/DocPage
legacy-stencil-components
node_modules
scripts/bak
src/styles.bak
src/pages

docs/api
docs/native
docs/cli/commands

static/code/stackblitz

.docusaurus
.github
.github
build
node_modules
11 changes: 0 additions & 11 deletions .prettierrc.js

This file was deleted.

5 changes: 3 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ Ionic's documentation is built using [Docusaurus](https://docusaurus.io/). The c
- `components/` - styles split out into the components they target
- `static/`
- `demos/` - self-contained demos, optionally presented by pages via `demoUrl` YAML frontmatter
- `usage/` - playgrounds that can be created by running `npm run playground:new` [(docs)](_templates/README.md#new-playground-template)
- `versioned_docs/` - versions of the docs created by the docusaurus versioning command
- `versioned_sitebars/` - versions of the docs sidebars created by the docusaurus versioning command
- `versioned_sidebars/` - versions of the docs sidebars created by the docusaurus versioning command

## Authoring Content

Expand Down Expand Up @@ -84,7 +85,7 @@ The Ionic docs have been translated into Japanese and are in the process of bein

We use Crowdin for our translation service. You can participate in the translation effort on the [Ionic Crowdin page](https://crowdin.com/project/ionic-docs).

_Please submit translation issues to the Crowdin page and not the Ionic Docs GitHub repo_
_Please submit translation issues to the Crowdin page and not the Ionic Docs GitHub repo._

The Japanese translation of the docs were built by an independent team, lead by [rdlabo](https://github.com/rdlabo) and can be found and contributed to on the [ionic-jp group's `ionic-docs` project page](https://github.com/ionic-jp/ionic-docs).

Expand Down
32 changes: 32 additions & 0 deletions _templates/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Hygen templates

The templates in this directory are intended to be used with [hygen](https://www.hygen.io/) to generate boilerplate files. Check out [the root package.json](../package.json) to see if there are any custom commands to use them (e.g. `npm run playground:new`). You can also run e.g. `hygen playground new` to use a generator.

Some helpful docs links for updating/creating templates:

- [enquirer](https://github.com/enquirer/enquirer#toggle-prompt) for building command line prompts
- [inflection](https://www.hygen.io/docs/templates#helpers-and-inflections) and [change case](https://www.hygen.io/docs/templates#change-case-helpers) for e.g. changing the case of variables submitted via the prompts

# New playground template

## Generation

To create a new playground, run `npm run playground:new`. This will walk you through some prompts to decide what files for the generator to create for the playground, and what their paths should be.

The path defaults to `basic`. If there is already a basic playground, you'll want to input a different path for the playground.

The CSS option will add extra files if you need to include custom CSS in your playground.

If you need a component for multiple versions of Ionic Framework, you (currently) need to run the generator once for each version.

## Usage

Once you've generated your playground, you need to add it to the main markdown file in the docs (e.g. [docs/api/button.md](../docs/api/button.md)) by doing something similar to the following example:

```
## Feature

import Feature from '@site/static/usage/v7/button/feature/index.md';

<Feature />
```
7 changes: 7 additions & 0 deletions _templates/playground/new/angular.md.ejs.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
# this file's location depends on whether or not the css option or angular_ts option is selected via the prompt
to: "<%= `static/usage/v${version}/${name.replace('ion-', '')}/${path}/${(css || angular_ts) ? 'angular/example_component_html.md' : 'angular.md'}` %>"
---
```html
<<%= name %>></<%= name %>>
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
# this file only gets generated if `css` (from the command line prompt) is true
to: "<%= css ? `static/usage/v${version}/${name.replace('ion-', '')}/${path}/angular/example_component_css.md` : null %>"
---
```css
<%= name %> {
/* styles go here */
}
```
17 changes: 17 additions & 0 deletions _templates/playground/new/angular_example_component_ts.md.ejs.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
# this file only gets generated if `angular_ts` (from the command line prompt) is true
to: "<%= angular_ts ? `static/usage/v${version}/${name.replace('ion-', '')}/${path}/angular/example_component_ts.md` : null %>"
---
```ts
import { Component } from '@angular/core';

@Component({
selector: 'app-example',
templateUrl: 'example.component.html',
<% if (css){ -%>
styleUrls: ['./example.component.css'],
<% } -%>
})
export class ExampleComponent {
}
```
32 changes: 32 additions & 0 deletions _templates/playground/new/demo.html.ejs.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
arbitrary: <% nameWithoutIon = name.replace('ion-', ''); numberOfAncestors = (path.match(/\//g) || []).length; directoryChanges = '../'.repeat(numberOfAncestors) %>
to: "<%= `static/usage/v${version}/${nameWithoutIon}/${path}/demo.html` %>"
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><%= h.changeCase.titleCase(nameWithoutIon) %></title>
<link rel="stylesheet" href="<%= directoryChanges %>../../../common.css" />
<script src="<%= directoryChanges %>../../../common.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@ionic/core@<%= version %>/dist/ionic/ionic.esm.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ionic/core@<%= version %>/css/ionic.bundle.css" /><% if (css){ %>

<style>
<%= name %> {
/* styles go here */
}
</style><% } %>
</head>

<body>
<ion-app>
<ion-content>
<div class="container">
<<%= name %>></<%= name %>>
</div>
</ion-content>
</ion-app>
</body>
</html>
64 changes: 64 additions & 0 deletions _templates/playground/new/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
const changeCase = require('change-case');

// see types of prompts:
// https://github.com/enquirer/enquirer/tree/master/examples
//
module.exports = {
prompt: ({ inquirer }) => {
const questions = [
{
type: 'input',
name: 'name',
message: 'Which component is this playground for?',
initial: 'ion-button',
validate(value) {
return value.match(/^ion-[a-z/-]*[a-z]+$/) ? true : "Component name must be kebab-case and begin with 'ion-'";
},
},
{
type: 'input',
name: 'path',
message: 'What should the playground path be?',
hint: 'e.g. `basic` or `theming/colors`',
validate(value) {
return value.match(/^[a-z]+[a-z/-]*[a-z]+$/)
? true
: "Path should begin and end with a letter and only contain lowercase letters, '-', or '/'";
},
},
{
type: 'select',
name: 'version',
message: 'Select the Ionic Framework version for the playground',
initial: '7',
choices: ['6', '7'],
},
{
type: 'toggle',
name: 'css',
message: 'Generate custom CSS files?',
enabled: 'Yes',
disabled: 'No',
},
{
type: 'toggle',
name: 'angular_ts',
message: 'Generate an Angular TypeScript file?',
enabled: 'Yes',
disabled: 'No',
},
];

return inquirer.prompt(questions).then((answers) => {
const componentName = changeCase.pascal(answers.path.split('/').pop());
console.log(
`\nTo use this component in a docs markdown file, include\nthe following:\n\n## ${componentName}\n\nimport ${componentName} from '@site/static/usage/v7/${answers.name.replace(
'ion-',
''
)}/${answers.path}/index.md';\n\n<${componentName} />\n`
);

return answers;
});
},
};
60 changes: 60 additions & 0 deletions _templates/playground/new/index.md.ejs.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
arbitrary: <% nameWithoutIon = name.replace('ion-', '') %>
to: "<%= `static/usage/v${version}/${nameWithoutIon}/${path}/index.md` %>"
---
import Playground from '@site/src/components/global/Playground';

import javascript from './javascript.md';
<% if (css){ %>
import react_main_tsx from './react/main_tsx.md';
import react_main_css from './react/main_css.md';

<% } else { -%>
import react from './react.md';
<% } -%>
import vue from './vue.md';
<% if (css || angular_ts){ %>
import angular_example_component_html from './angular/example_component_html.md';
<% } else { -%>
import angular from './angular.md';
<% } -%>
<% if (angular_ts){ -%>
import angular_example_component_ts from './angular/example_component_ts.md';
<% } -%>
<% if (css){ -%>
import angular_example_component_css from './angular/example_component_css.md';
<% } -%>

<Playground
version="<%= version %>"
code={{
javascript,
<% if (css){ -%>
react: {
files: {
'src/main.tsx': react_main_tsx,
'src/main.css': react_main_css,
},
},
<% } else { -%>
react,
<% } -%>
vue,
<% if (angular_ts || css){ -%>
angular: {
files: {
'src/app/example.component.html': angular_example_component_html,
<% if (angular_ts){ -%>
'src/app/example.component.ts': angular_example_component_ts,
<% } -%>
<% if (css){ -%>
'src/app/example.component.css': angular_example_component_css,
<% } -%>
},
},
<% } else { -%>
angular,
<% } -%>
}}
src="usage/v<%= version %>/<%= nameWithoutIon %>/<%= path %>/demo.html"
/>
14 changes: 14 additions & 0 deletions _templates/playground/new/javascript.md.ejs.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
to: "<%= `static/usage/v${version}/${name.replace('ion-', '')}/${path}/javascript.md` %>"
---
```html
<<%= name %>></<%= name %>>
<% if (css){ -%>

<style>
<%= name %> {
/* styles go here */
}
</style>
<% } -%>
```
19 changes: 19 additions & 0 deletions _templates/playground/new/react.md.ejs.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
arbitrary: <% pascalName = h.changeCase.pascal(name) %>
# this file's location depends on whether or not the css option is selected via the prompt
to: "<%= `static/usage/v${version}/${name.replace('ion-', '')}/${path}/${css ? 'react/main_tsx.md' : 'react.md'}` %>"
---
```tsx
import React from 'react';
import { <%= pascalName %> } from '@ionic/react';<% if (css){ %>

import './main.css';<% } %>

function Example() {
return (
<<%= pascalName %>></<%= pascalName %>>
);
}
export default Example;
```

9 changes: 9 additions & 0 deletions _templates/playground/new/react_main_css.md.ejs.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
# this file only gets generated if `css` (from the command line prompt) is true
to: "<%= css ? `static/usage/v${version}/${name.replace('ion-', '')}/${path}/react/main_css.md` : null %>"
---
```css
<%= name %> {
/* styles go here */
}
```
28 changes: 28 additions & 0 deletions _templates/playground/new/vue.md.ejs.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
arbitrary: <% pascalName = h.changeCase.pascal(name) %>
to: "<%= `static/usage/v${version}/${name.replace('ion-', '')}/${path}/vue.md` %>"
---
```html
<template>
<<%= name %>></<%= name %>>
</template>

<script lang="ts">
import { <%= pascalName %> } from '@ionic/vue';
import { defineComponent } from 'vue';

export default defineComponent({
components: {
<%= pascalName %>,
},
});
</script>
<% if (css){ -%>

<style scoped>
<%= name %> {
/* styles go here */
}
</style>
<% } -%>
```
1 change: 0 additions & 1 deletion crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ files:
- source: /docs/**/*
translation: /i18n/%two_letters_code%/docusaurus-plugin-content-docs/current/**/%original_file_name%
ignore:
- /docs/api/**/*
- /docs/cli/commands/**/*
- /docs/native/**/*
Loading
Loading