Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodegui/react-nodegui
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.13.0
Choose a base ref
...
head repository: nodegui/react-nodegui
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 9 commits
  • 82 files changed
  • 5 contributors

Commits on Oct 14, 2021

  1. Fix Image.src on Windows when it is a local file (#363)

    `new URL("C:\path\filename.png")`
    is treated as a valid URL, which it is not. `phin` subsequently tries
    to fetch it, but `phin` and `centra` only supports http and https anyway.
    Therefore `isValidUrl` will check also the protocol.
    NinZine authored Oct 14, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0574712 View commit details
  2. Add List and ListItem using QListWidget and QListWidgetItem (#…

    …364)
    
    ```
    <List>
      <ListItem text="NodeGui is great" />
      <ListItem text="This item has a child">
        <View>
          <Text>Hello World</Text>
        </View>
      </ListItem>
    </List>
    ```
    NinZine authored Oct 14, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    45ccc31 View commit details

Commits on Jul 7, 2022

  1. Fix react conflicting peer dependency with react-reconciler (#365)

    Reverting back to `react@^16.x.x`. `react-reconciler` should be
    updated separately so that it can safely be used with `[email protected]`.
    
    When installing `react-nodegui` as a dependency. It will yield a
    warning:
    ```
    npm WARN ERESOLVE overriding peer dependency
    npm WARN While resolving: [email protected]
    npm WARN Found: [email protected]
    npm WARN node_modules/react
    npm WARN   react@"^17.0.2" from the root project
    npm WARN   1 more (@nodegui/react-nodegui)
    npm WARN
    npm WARN Could not resolve dependency:
    npm WARN peer react@"^16.13.1" from [email protected]
    npm WARN node_modules/react-reconciler
    npm WARN   react-reconciler@"^0.25.1" from @nodegui/[email protected]
    npm WARN   node_modules/@nodegui/react-nodegui
    npm WARN
    npm WARN Conflicting peer dependency: [email protected]
    npm WARN node_modules/react
    npm WARN   peer react@"^16.13.1" from [email protected]
    npm WARN   node_modules/react-reconciler
    npm WARN     react-reconciler@"^0.25.1" from @nodegui/[email protected]
    npm WARN     node_modules/@nodegui/react-nodegui
    ```
    NinZine authored Jul 7, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    730caa3 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2e6ac23 View commit details

Commits on Oct 4, 2022

  1. upgrade module to work with latest nodegui (0.57.1) (#376)

    * upgrade module to work with nodegui 0.57.1
    
    * fix external docs links
    
    * fix layout function calls in conditions
    
    * fix layout get/set on RNView
    
    * fix centralWidget check on RNWindow
    KaMeHb-UA authored Oct 4, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    742540a View commit details
  2. add KaMeHb-UA as a contributor for code (#377)

    * update README.md [skip ci]
    
    * update .all-contributorsrc [skip ci]
    
    Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
    allcontributors[bot] authored Oct 4, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    87391a3 View commit details
  3. 0.13.1

    a7ul committed Oct 4, 2022
    Copy the full SHA
    fbf720b View commit details
  4. 0.14.0

    a7ul committed Oct 4, 2022
    Copy the full SHA
    cc6bedc View commit details

Commits on Nov 3, 2023

  1. Update README.md

    a7ul authored Nov 3, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    87c8440 View commit details
Showing with 1,175 additions and 725 deletions.
  1. +9 −0 .all-contributorsrc
  2. +34 −25 README.md
  3. +7 −6 package.json
  4. +4 −4 src/components/AbstractComponents/RNAbstractButton.ts
  5. +1 −1 src/components/Action/RNAction.ts
  6. +5 −5 src/components/AnimatedImage/RNAnimatedImage.ts
  7. +27 −24 src/components/BoxView/RNBoxView.ts
  8. +7 −7 src/components/Button/RNButton.ts
  9. +114 −0 src/components/Calendar/RNCalendar.ts
  10. +91 −0 src/components/Calendar/index.ts
  11. +7 −7 src/components/CheckBox/RNCheckBox.ts
  12. +5 −5 src/components/ColorDialog/RNColorDialog.ts
  13. +7 −7 src/components/ComboBox/RNComboBox.ts
  14. +5 −5 src/components/Dial/RNDial.ts
  15. +12 −14 src/components/Dialog/RNDialog.ts
  16. +5 −5 src/components/ErrorPrompt/RNErrorPrompt.ts
  17. +5 −5 src/components/FileDialog/RNFileDialog.ts
  18. +5 −5 src/components/FontDialog/RNFontDialog.ts
  19. +9 −9 src/components/GridView/GridColumn/RNGridColumn.ts
  20. +1 −1 src/components/GridView/GridColumn/index.ts
  21. +1 −1 src/components/GridView/GridRow/index.ts
  22. +13 −15 src/components/GridView/RNGridView.ts
  23. +5 −5 src/components/Image/RNImage.ts
  24. +5 −5 src/components/InputDialog/RNInputDialog.ts
  25. +5 −5 src/components/LineEdit/RNLineEdit.ts
  26. +58 −0 src/components/List/RNList.ts
  27. +43 −0 src/components/List/index.ts
  28. +59 −0 src/components/ListItem/RNListItem.ts
  29. +40 −0 src/components/ListItem/index.ts
  30. +1 −1 src/components/Menu/RNMenu.ts
  31. +3 −3 src/components/MenuBar/RNMenuBar.ts
  32. +5 −5 src/components/PlainTextEdit/RNPlainTextEdit.ts
  33. +5 −5 src/components/ProgressBar/RNProgressBar.ts
  34. +5 −5 src/components/ProgressDialog/RNProgressDialog.ts
  35. +5 −5 src/components/RadioButton/RNRadioButton.ts
  36. +6 −6 src/components/ScrollArea/RNScrollArea.ts
  37. +5 −5 src/components/Slider/RNSlider.ts
  38. +5 −5 src/components/SpinBox/RNSpinBox.ts
  39. +9 −7 src/components/SystemTrayIcon/RNSystemTrayIcon.ts
  40. +4 −4 src/components/Tab/RNTab.ts
  41. +6 −6 src/components/TabItem/RNTabItem.ts
  42. +1 −1 src/components/TabItem/index.ts
  43. +4 −4 src/components/Table/RNTable.ts
  44. +5 −5 src/components/TableItem/RNTableItem.ts
  45. +5 −5 src/components/Text/RNText.ts
  46. +41 −33 src/components/View/RNView.ts
  47. +6 −6 src/components/Window/RNWindow.ts
  48. +7 −7 src/components/config.ts
  49. +4 −1 src/index.ts
  50. +13 −13 src/reconciler/index.ts
  51. +2 −2 src/renderer/index.ts
  52. +2 −2 src/utils/helpers.ts
  53. +2 −2 website/docs/api/classes/rnaction.md
  54. +10 −10 website/docs/api/classes/rngridcolumn.md
  55. +5 −5 website/docs/api/classes/rnmenu.md
  56. +10 −10 website/docs/api/classes/rnmenubar.md
  57. +1 −1 website/docs/api/globals.md
  58. +20 −20 website/docs/api/interfaces/abstractbuttonprops.md
  59. +1 −1 website/docs/api/interfaces/actionprops.md
  60. +16 −16 website/docs/api/interfaces/animatedimageprops.md
  61. +16 −16 website/docs/api/interfaces/boxviewprops.md
  62. +21 −21 website/docs/api/interfaces/buttonprops.md
  63. +21 −21 website/docs/api/interfaces/checkboxprops.md
  64. +16 −16 website/docs/api/interfaces/comboboxprops.md
  65. +16 −16 website/docs/api/interfaces/dialprops.md
  66. +16 −16 website/docs/api/interfaces/gridviewprops.md
  67. +16 −16 website/docs/api/interfaces/imageprops.md
  68. +16 −16 website/docs/api/interfaces/lineeditprops.md
  69. +16 −16 website/docs/api/interfaces/menubarprops.md
  70. +16 −16 website/docs/api/interfaces/menuprops.md
  71. +16 −16 website/docs/api/interfaces/plaintexteditprops.md
  72. +16 −16 website/docs/api/interfaces/progressbarprops.md
  73. +19 −19 website/docs/api/interfaces/radiobuttonprops.md
  74. +16 −16 website/docs/api/interfaces/scrollareaprops.md
  75. +16 −16 website/docs/api/interfaces/sliderprops.md
  76. +16 −16 website/docs/api/interfaces/spinboxprops.md
  77. +2 −2 website/docs/api/interfaces/systemtrayiconprops.md
  78. +16 −16 website/docs/api/interfaces/tabprops.md
  79. +16 −16 website/docs/api/interfaces/textprops.md
  80. +17 −17 website/docs/api/interfaces/viewprops.md
  81. +16 −16 website/docs/api/interfaces/windowprops.md
  82. +36 −22 yarn.lock
9 changes: 9 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -175,6 +175,15 @@
"contributions": [
"code"
]
},
{
"login": "KaMeHb-UA",
"name": "KaMeHb-UA",
"avatar_url": "https://avatars.githubusercontent.com/u/20382677?v=4",
"profile": "https://github.com/KaMeHb-UA",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
59 changes: 34 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# React NodeGui

⚠️ React NodeGui is no longer maintained. Please fork it to continue development ⚠️
<br/>

[![Join the NodeGUI community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/nodegui)
[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors)

@@ -127,31 +130,37 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tr>
<td align="center"><a href="http://rahulgaba.com"><img src="https://avatars3.githubusercontent.com/u/7898942?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Rahul Gaba</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=rgabs" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/kakulgupta"><img src="https://avatars3.githubusercontent.com/u/10727047?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Kakul Gupta</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=kakulgupta" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/Nicify"><img src="https://avatars3.githubusercontent.com/u/24217275?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Eva1ent</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=Nicify" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/slidinghotdog"><img src="https://avatars3.githubusercontent.com/u/33790211?v=4?s=100" width="100px;" alt=""/><br /><sub><b>slidinghotdog</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=slidinghotdog" title="Code">💻</a></td>
<td align="center"><a href="https://www.linkedin.com/in/roysommer/"><img src="https://avatars2.githubusercontent.com/u/6681893?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Roy Sommer</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=illBeRoy" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/nateshmbhat"><img src="https://avatars1.githubusercontent.com/u/23279926?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Natesh M Bhat</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=nateshmbhat" title="Documentation">📖</a></td>
<td align="center"><a href="https://www.greatapes.fi"><img src="https://avatars3.githubusercontent.com/u/3404389?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Mikko Sairio</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=msairio" title="Code">💻</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/shubhamzanwar"><img src="https://avatars0.githubusercontent.com/u/15626155?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Shubham Zanwar</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=shubhamzanwar" title="Code">💻</a></td>
<td align="center"><a href="https://matrunchyk.com"><img src="https://avatars0.githubusercontent.com/u/2089828?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Serhii Matrunchyk</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=matrunchyk" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/Solant"><img src="https://avatars2.githubusercontent.com/u/5971578?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Solant</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=Solant" title="Code">💻</a></td>
<td align="center"><a href="https://cbp.io"><img src="https://avatars1.githubusercontent.com/u/995050?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Christian Petersen</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=fnky" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/agg23"><img src="https://avatars1.githubusercontent.com/u/238679?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Adam Gastineau</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=agg23" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/gluaxspeed"><img src="https://avatars2.githubusercontent.com/u/16431709?v=4?s=100" width="100px;" alt=""/><br /><sub><b>gluaxspeed</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=gluaxspeed" title="Code">💻</a></td>
<td align="center"><a href="http://chrisshepherd.me"><img src="https://avatars1.githubusercontent.com/u/1379888?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Chris Shepherd</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=sheepsteak" title="Code">💻</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/MistahMojo"><img src="https://avatars1.githubusercontent.com/u/51117537?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jak</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=MistahMojo" title="Code">💻</a></td>
<td align="center"><a href="https://gregbenner.life"><img src="https://avatars3.githubusercontent.com/u/1177690?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Greg B</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=gregbenner" title="Documentation">📖</a></td>
<td align="center"><a href="http://eeems.website"><img src="https://avatars1.githubusercontent.com/u/1176979?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Nathaniel van Diepen</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=Eeems" title="Code">💻</a></td>
<td align="center"><a href="http://N/A"><img src="https://avatars.githubusercontent.com/u/61944859?v=4?s=100" width="100px;" alt=""/><br /><sub><b>KR Tirtho</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=KRTirtho" title="Code">💻</a></td>
<td align="center"><a href="http://thelmgn.com"><img src="https://avatars.githubusercontent.com/u/12257112?v=4?s=100" width="100px;" alt=""/><br /><sub><b>theLMGN</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=theLMGN" title="Code">💻</a></td>
</tr>
<tbody>
<tr>
<td align="center"><a href="http://rahulgaba.com"><img src="https://avatars3.githubusercontent.com/u/7898942?v=4?s=100" width="100px;" alt="Rahul Gaba"/><br /><sub><b>Rahul Gaba</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=rgabs" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/kakulgupta"><img src="https://avatars3.githubusercontent.com/u/10727047?v=4?s=100" width="100px;" alt="Kakul Gupta"/><br /><sub><b>Kakul Gupta</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=kakulgupta" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/Nicify"><img src="https://avatars3.githubusercontent.com/u/24217275?v=4?s=100" width="100px;" alt="Eva1ent"/><br /><sub><b>Eva1ent</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=Nicify" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/slidinghotdog"><img src="https://avatars3.githubusercontent.com/u/33790211?v=4?s=100" width="100px;" alt="slidinghotdog"/><br /><sub><b>slidinghotdog</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=slidinghotdog" title="Code">💻</a></td>
<td align="center"><a href="https://www.linkedin.com/in/roysommer/"><img src="https://avatars2.githubusercontent.com/u/6681893?v=4?s=100" width="100px;" alt="Roy Sommer"/><br /><sub><b>Roy Sommer</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=illBeRoy" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/nateshmbhat"><img src="https://avatars1.githubusercontent.com/u/23279926?v=4?s=100" width="100px;" alt="Natesh M Bhat"/><br /><sub><b>Natesh M Bhat</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=nateshmbhat" title="Documentation">📖</a></td>
<td align="center"><a href="https://www.greatapes.fi"><img src="https://avatars3.githubusercontent.com/u/3404389?v=4?s=100" width="100px;" alt="Mikko Sairio"/><br /><sub><b>Mikko Sairio</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=msairio" title="Code">💻</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/shubhamzanwar"><img src="https://avatars0.githubusercontent.com/u/15626155?v=4?s=100" width="100px;" alt="Shubham Zanwar"/><br /><sub><b>Shubham Zanwar</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=shubhamzanwar" title="Code">💻</a></td>
<td align="center"><a href="https://matrunchyk.com"><img src="https://avatars0.githubusercontent.com/u/2089828?v=4?s=100" width="100px;" alt="Serhii Matrunchyk"/><br /><sub><b>Serhii Matrunchyk</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=matrunchyk" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/Solant"><img src="https://avatars2.githubusercontent.com/u/5971578?v=4?s=100" width="100px;" alt="Solant"/><br /><sub><b>Solant</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=Solant" title="Code">💻</a></td>
<td align="center"><a href="https://cbp.io"><img src="https://avatars1.githubusercontent.com/u/995050?v=4?s=100" width="100px;" alt="Christian Petersen"/><br /><sub><b>Christian Petersen</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=fnky" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/agg23"><img src="https://avatars1.githubusercontent.com/u/238679?v=4?s=100" width="100px;" alt="Adam Gastineau"/><br /><sub><b>Adam Gastineau</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=agg23" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/gluaxspeed"><img src="https://avatars2.githubusercontent.com/u/16431709?v=4?s=100" width="100px;" alt="gluaxspeed"/><br /><sub><b>gluaxspeed</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=gluaxspeed" title="Code">💻</a></td>
<td align="center"><a href="http://chrisshepherd.me"><img src="https://avatars1.githubusercontent.com/u/1379888?v=4?s=100" width="100px;" alt="Chris Shepherd"/><br /><sub><b>Chris Shepherd</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=sheepsteak" title="Code">💻</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/MistahMojo"><img src="https://avatars1.githubusercontent.com/u/51117537?v=4?s=100" width="100px;" alt="Jak"/><br /><sub><b>Jak</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=MistahMojo" title="Code">💻</a></td>
<td align="center"><a href="https://gregbenner.life"><img src="https://avatars3.githubusercontent.com/u/1177690?v=4?s=100" width="100px;" alt="Greg B"/><br /><sub><b>Greg B</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=gregbenner" title="Documentation">📖</a></td>
<td align="center"><a href="http://eeems.website"><img src="https://avatars1.githubusercontent.com/u/1176979?v=4?s=100" width="100px;" alt="Nathaniel van Diepen"/><br /><sub><b>Nathaniel van Diepen</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=Eeems" title="Code">💻</a></td>
<td align="center"><a href="http://N/A"><img src="https://avatars.githubusercontent.com/u/61944859?v=4?s=100" width="100px;" alt="KR Tirtho"/><br /><sub><b>KR Tirtho</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=KRTirtho" title="Code">💻</a></td>
<td align="center"><a href="http://thelmgn.com"><img src="https://avatars.githubusercontent.com/u/12257112?v=4?s=100" width="100px;" alt="theLMGN"/><br /><sub><b>theLMGN</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=theLMGN" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/KaMeHb-UA"><img src="https://avatars.githubusercontent.com/u/20382677?v=4?s=100" width="100px;" alt="KaMeHb-UA"/><br /><sub><b>KaMeHb-UA</b></sub></a><br /><a href="https://github.com/nodegui/react-nodegui/commits?author=KaMeHb-UA" title="Code">💻</a></td>
</tr>
</tbody>
<tfoot>

</tfoot>
</table>

<!-- markdownlint-restore -->
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nodegui/react-nodegui",
"version": "0.13.0",
"version": "0.14.0",
"description": "React Native for building cross platform desktop applications",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
@@ -20,22 +20,23 @@
"docs": "typedoc && node ./website/docs/scripts/fixdocs.js"
},
"dependencies": {
"@nodegui/nodegui": "^0.36.0",
"@nodegui/nodegui": "^0.57.1",
"@types/react-reconciler": "^0.18.0",
"phin": "3.5.1",
"react-deep-force-update": "^2.1.3",
"react-proxy": "^2.0.8",
"react-reconciler": "^0.25.1"
},
"peerDependencies": {
"react": "^17.0.2"
"react": "^16.14.0"
},
"devDependencies": {
"@types/node": "^16.6.1",
"@types/node": "^16.11.0",
"@types/react": "^16.14.0",
"prettier": "^2.3.2",
"react": "^16.13.1",
"react": "^16.14.0",
"typedoc": "^0.17.8",
"typedoc-plugin-markdown": "^2.4.2",
"typescript": "^4.3.5"
"typescript": "^4.4.4"
}
}
8 changes: 4 additions & 4 deletions src/components/AbstractComponents/RNAbstractButton.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ import { QAbstractButton } from "@nodegui/nodegui";

/**
* The Button component provides ability to add and manipulate native button widgets. It is based on
* [NodeGui's QPushButton](https://docs.nodegui.org/docs/api/QPushButton).
* [NodeGui's QPushButton](https://docs.nodegui.org/docs/api/generated/classes/QPushButton).
* ## Example
* ```javascript
* import React from "react";
@@ -30,15 +30,15 @@ export interface AbstractButtonProps<Signals extends QAbstractButtonSignals>
*/
children?: string;
/**
* Sets the given text to the button. [QPushButton: setText](https://docs.nodegui.org/docs/api/QPushButton#buttonsettexttext)
* Sets the given text to the button. [QPushButton: setText](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonsettexttext)
*/
text?: string;
/**
* Sets an icon in the button. [QPushButton: setIcon](https://docs.nodegui.org/docs/api/QPushButton#buttonseticonicon)
* Sets an icon in the button. [QPushButton: setIcon](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonseticonicon)
*/
icon?: QIcon;
/**
* Sets an icon size in the button. [QPushButton: setIconSize](https://docs.nodegui.org/docs/api/QPushButton#buttonseticonsize)
* Sets an icon size in the button. [QPushButton: setIconSize](https://docs.nodegui.org/docs/api/generated/classes/QPushButton#buttonseticonsize)
*/
iconSize?: QSize;
}
2 changes: 1 addition & 1 deletion src/components/Action/RNAction.ts
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ export interface ActionProps extends RNProps {
icon?: QIcon;

/**
* Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/NodeWidget#widgetsetobjectnameobjectname)
* Sets the object name (id) of the widget in Qt. Object name can be analogous to id of an element in the web world. Using the objectName of the widget one can reference it in the Qt's stylesheet much like what we do with id in the web world. [QWidget: setObjectName](https://docs.nodegui.org/docs/api/generated/classes/QWidget#widgetsetobjectnameobjectname)
*/
id?: string;

10 changes: 5 additions & 5 deletions src/components/AnimatedImage/RNAnimatedImage.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { QLabel, NodeWidget, QMovie, QSize } from "@nodegui/nodegui";
import { QLabel, QWidget, QMovie, QSize } from "@nodegui/nodegui";
import { TextProps, setTextProps } from "../Text/RNText";
import { RNWidget } from "../config";
import { throwUnsupported, isValidUrl } from "../../utils/helpers";
@@ -44,16 +44,16 @@ export class RNAnimatedImage extends QLabel implements RNWidget {
setProps(newProps: AnimatedImageProps, oldProps: AnimatedImageProps): void {
setAnimatedImageProps(this, newProps, oldProps);
}
appendInitialChild(child: NodeWidget<any>): void {
appendInitialChild(child: QWidget<any>): void {
throwUnsupported(this);
}
appendChild(child: NodeWidget<any>): void {
appendChild(child: QWidget<any>): void {
throwUnsupported(this);
}
insertBefore(child: NodeWidget<any>, beforeChild: NodeWidget<any>): void {
insertBefore(child: QWidget<any>, beforeChild: QWidget<any>): void {
throwUnsupported(this);
}
removeChild(child: NodeWidget<any>): void {
removeChild(child: QWidget<any>): void {
throwUnsupported(this);
}
static tagName = "animatedimage";
Loading