[PR #168] [MERGED] More Area features #278

Closed
opened 2026-05-05 11:57:48 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/kusti8/proton-native/pull/168
Author: @mischnic
Created: 7/18/2018
Status: Merged
Merged: 11/9/2018
Merged by: @kusti8

Base: masterHead: area


📝 Commits (10+)

  • 1963adc Add scrolling area
  • fe4a9ac Gradients
  • bfb51f6 Merge branch 'master' into area
  • 0222209 Fix typo and add scrolling to area docs
  • 8c22a8e Implement imperative gradient api
  • 31aa88d Fix links in area documentation
  • c1c24c2 Update example for area gradients
  • 5d41baa Add docs for new gradient api
  • 9e9fa3b Format all docs with prettier
  • cd1199a Really fix docs hyperlinks

📊 Changes

49 files changed (+1492 additions, -1851 deletions)

View changed files

📝 CONTRIBUTING.md (+3 -4)
📝 README.md (+10 -10)
📝 docs/README.md (+5 -5)
📝 docs/_sidebar.md (+43 -42)
📝 docs/about.md (+10 -10)
📝 docs/component_APIs/app.md (+1 -1)
📝 docs/component_APIs/area.md (+19 -10)
📝 docs/component_APIs/area_arc.md (+7 -7)
📝 docs/component_APIs/area_bezier.md (+10 -10)
📝 docs/component_APIs/area_circle.md (+5 -5)
📝 docs/component_APIs/area_group.md (+2 -2)
📝 docs/component_APIs/area_line.md (+6 -6)
📝 docs/component_APIs/area_path.md (+4 -4)
📝 docs/component_APIs/area_props.md (+29 -25)
📝 docs/component_APIs/area_rectangle.md (+6 -6)
📝 docs/component_APIs/area_text.md (+14 -14)
📝 docs/component_APIs/box.md (+9 -9)
📝 docs/component_APIs/button.md (+10 -10)
📝 docs/component_APIs/checkbox.md (+12 -12)
📝 docs/component_APIs/color_button.md (+6 -6)

...and 29 more files

📄 Description

  • Scrolling area:
 <Area scrolling={{ w: 550, h: 1300 }}>
  <Area.Text>{ipsum}</Area.Text>
</Area>
  • Gradients
const linearGradient = Area.Gradient.createLinear(20, 20, 90, 90, {
  0: 'red',
  1: 'blue',
});

<Area.Rectangle x="10" y="10" width="100" height="100" fill={linearG}/>

Part of #130


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/kusti8/proton-native/pull/168 **Author:** [@mischnic](https://github.com/mischnic) **Created:** 7/18/2018 **Status:** ✅ Merged **Merged:** 11/9/2018 **Merged by:** [@kusti8](https://github.com/kusti8) **Base:** `master` ← **Head:** `area` --- ### 📝 Commits (10+) - [`1963adc`](https://github.com/kusti8/proton-native/commit/1963adc8a7f9bb85662a98f8b27801a7f83e3134) Add scrolling area - [`fe4a9ac`](https://github.com/kusti8/proton-native/commit/fe4a9ac7ced723b27ff630d8ab2242781ac27459) Gradients - [`bfb51f6`](https://github.com/kusti8/proton-native/commit/bfb51f64375ed67d299bb1556f4266bfeef8dac1) Merge branch 'master' into area - [`0222209`](https://github.com/kusti8/proton-native/commit/022220926af65158b9e749c025084f6e46027c5b) Fix typo and add scrolling to area docs - [`8c22a8e`](https://github.com/kusti8/proton-native/commit/8c22a8e53a6866b57c50eb734e12436f005b2df0) Implement imperative gradient api - [`31aa88d`](https://github.com/kusti8/proton-native/commit/31aa88dc2b78693ff98a9e154212d13760d22897) Fix links in area documentation - [`c1c24c2`](https://github.com/kusti8/proton-native/commit/c1c24c241b984c653b9699e3c7ba59b96893d196) Update example for area gradients - [`5d41baa`](https://github.com/kusti8/proton-native/commit/5d41baa5ee7a4571c043217456c5238414c6c718) Add docs for new gradient api - [`9e9fa3b`](https://github.com/kusti8/proton-native/commit/9e9fa3b25b8f81e76993c02d760c771db911e5d7) Format all docs with prettier - [`cd1199a`](https://github.com/kusti8/proton-native/commit/cd1199a4d0a1f11190b4ed1fb34e20d27f9a8220) Really fix docs hyperlinks ### 📊 Changes **49 files changed** (+1492 additions, -1851 deletions) <details> <summary>View changed files</summary> 📝 `CONTRIBUTING.md` (+3 -4) 📝 `README.md` (+10 -10) 📝 `docs/README.md` (+5 -5) 📝 `docs/_sidebar.md` (+43 -42) 📝 `docs/about.md` (+10 -10) 📝 `docs/component_APIs/app.md` (+1 -1) 📝 `docs/component_APIs/area.md` (+19 -10) 📝 `docs/component_APIs/area_arc.md` (+7 -7) 📝 `docs/component_APIs/area_bezier.md` (+10 -10) 📝 `docs/component_APIs/area_circle.md` (+5 -5) 📝 `docs/component_APIs/area_group.md` (+2 -2) 📝 `docs/component_APIs/area_line.md` (+6 -6) 📝 `docs/component_APIs/area_path.md` (+4 -4) 📝 `docs/component_APIs/area_props.md` (+29 -25) 📝 `docs/component_APIs/area_rectangle.md` (+6 -6) 📝 `docs/component_APIs/area_text.md` (+14 -14) 📝 `docs/component_APIs/box.md` (+9 -9) 📝 `docs/component_APIs/button.md` (+10 -10) 📝 `docs/component_APIs/checkbox.md` (+12 -12) 📝 `docs/component_APIs/color_button.md` (+6 -6) _...and 29 more files_ </details> ### 📄 Description - Scrolling area: ```jsx <Area scrolling={{ w: 550, h: 1300 }}> <Area.Text>{ipsum}</Area.Text> </Area> ``` - Gradients ```jsx const linearGradient = Area.Gradient.createLinear(20, 20, 90, 90, { 0: 'red', 1: 'blue', }); <Area.Rectangle x="10" y="10" width="100" height="100" fill={linearG}/> ``` Part of #130 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 11:57:48 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/proton-native#278
No description provided.