Skip to content

Commit

Permalink
Update names
Browse files Browse the repository at this point in the history
  • Loading branch information
kerrishotts committed Aug 24, 2018
1 parent bd0df61 commit 9a0c886
Show file tree
Hide file tree
Showing 76 changed files with 134 additions and 29,574 deletions.
2 changes: 1 addition & 1 deletion e2e-adobe-stock/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "com.adobe.demo.798a49caf1dd9369",
"author": "Kerri Shotts",
"name": "Adobe Stock Search",
"name": "(E2E) Adobe Stock Search",
"version": "1.0.0",
"host": {
"app": "XD",
Expand Down
2 changes: 1 addition & 1 deletion e2e-colorize-text/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "com.adobe.example.87eb1e9bdd4a269f",
"author": "Kerri Shotts",
"name": "Colorize Text",
"name": "(E2E) Colorize Text",
"host": {
"app": "XD",
"minVersion": "12.0.10.64"
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.stockpick",
"name": "Pick Stock",
"name": "(E2E) Pick Stock",
"version": "0.0.1",
"main": "main.js",
"host": {
Expand Down
2 changes: 1 addition & 1 deletion getting-started/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.xd.gettingstarted",
"name": "getting started sample plugin",
"name": "(H2) getting started sample plugin",
"host": {
"app": "XD",
"minVersion": "8.0"
Expand Down
2 changes: 1 addition & 1 deletion how-to-ask-user-for-confirmation/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "demo.userConfirmation",
"name": "How to show user confirmation sample plugin",
"name": "(H2) How to show user confirmation sample plugin",
"version": "0.0.1",
"host": {
"app": "XD",
Expand Down
2 changes: 1 addition & 1 deletion how-to-create-path-objects/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.xd.createPieChart",
"name": "Create Pie Chart sample plugin",
"name": "(H2) Create Pie Chart sample plugin",
"host": {
"app": "XD",
"minVersion": "8.0"
Expand Down
2 changes: 1 addition & 1 deletion how-to-display-an-image/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.displayimage",
"name": "Native Path Plugin",
"name": "(H2) How to display an image",
"version": "0.0.1",
"main": "main.js",
"host": {
Expand Down
2 changes: 1 addition & 1 deletion how-to-draw-lines/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.xd.createLines",
"name": "Create Lines sample plugin",
"name": "(H2) Create Lines sample plugin",
"host": {
"app": "XD",
"minVersion": "8.0"
Expand Down
2 changes: 1 addition & 1 deletion how-to-generate-an-export-rendition/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.exportrendition",
"name": "Export Rendition Plugin",
"name": "(H2) Export Rendition Plugin",
"version": "0.0.1",
"main": "main.js",
"host": {
Expand Down
2 changes: 1 addition & 1 deletion how-to-import/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.xd.insertTextFromFile",
"name": "Insert Text from File",
"name": "(H2) Insert Text from File",
"host": {
"app": "XD",
"minVersion": "8.0"
Expand Down
2 changes: 1 addition & 1 deletion how-to-integrate-with-OAuth/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.xd.oauth",
"name": "Oauth plugin",
"name": "(H2) Oauth plugin",
"version": "0.0.1",
"host": {
"app": "XD",
Expand Down
2 changes: 1 addition & 1 deletion how-to-make-network-requests/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.xd.networkio",
"name": "Network IO",
"name": "(H2) Network IO",
"version": "0.0.1",
"host": {
"app": "XD",
Expand Down
2 changes: 1 addition & 1 deletion how-to-style-text/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.xd.sample.textstyle",
"name": "Text Style",
"name": "(H2) How to Style Text",
"version": "0.0.1",
"main": "main.js",
"host": {
Expand Down
2 changes: 1 addition & 1 deletion how-to-use-single-line-text-ui/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.singlelinetext",
"name": "Single Line Text",
"name": "(H2) Single Line Text",
"version": "0.0.1",
"main": "main.js",
"host": {
Expand Down
2 changes: 1 addition & 1 deletion how-to-use-websockets/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.xd.websockets",
"name": "Websockets",
"name": "(H2) Websockets",
"version": "0.0.1",
"host": {
"app": "XD",
Expand Down
2 changes: 1 addition & 1 deletion how-to-work-with-scenenodelist/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.scenenodelist",
"name": "Filter and Color objects",
"name": "(H2) Filter and Color objects",
"version": "0.0.1",
"main": "main.js",
"host": {
Expand Down
2 changes: 1 addition & 1 deletion sg-chart-generator/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "pflynn.chartGenerator",
"name": "Pie & Bar Chart Generator sample plugin",
"name": "(SG) Chart Generator sample plugin",

"host": {
"app": "XD",
Expand Down
2 changes: 1 addition & 1 deletion sg-dummy-data/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "pflynn.dummyData",
"name": "Basic Dummy Data Generator sample plugin",
"name": "(SG) Basic Dummy Data Generator sample plugin",

"host": {
"app": "XD",
Expand Down
2 changes: 1 addition & 1 deletion sg-dynamic-button/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "pflynn.dynamicButton",
"name": "\"Dynamic Button\" padding updater demo",
"name": "(SG) \"Dynamic Button\" padding updater demo",

"host": {
"app": "XD",
Expand Down
2 changes: 1 addition & 1 deletion sg-fit-to-object/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

{
"id": "kwak.fit",
"name": "Fit to Object",
"name": "(SG) Fit to Object",

"host": {
"app": "XD",
Expand Down
6 changes: 6 additions & 0 deletions sg-lots-of-lines/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Draw Lots of Lines

Has two demos:

1. Draws a red and green line in the upper corner, crossing each other.
2. Draws a lot of lines, over the artboard, kind of like a hypnotic effect.
55 changes: 55 additions & 0 deletions sg-lots-of-lines/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
const { Line, Color } = require("scenegraph");

function crossedLines() {
return [
{x1: 0, y1: 0, x2: 100, y2: 100, color: "red"},
{x1: 100, y1: 0, x2: 0, y2: 100, color: "green"}
];
}

function hypnoticLines() {
const lines = [ ];

const width = 1920,
height = 1080;
for (let x = 0; x <= width; x = x + 50) {
lines.push({
x1: x,
y1: 0,
x2: width - x,
y2: height,
color: "blue"
});
}
for (let y = 0; y <= height; y = y + 50) {
lines.push({
x1: 0,
y1: y,
x2: width,
y2: height - y,
color: "red"
});
}

return lines;
}

function drawLines(selection, lines) {
let idx = 0;
while (idx < lines.length) {
const data = lines[idx];
const line = new Line();
line.setStartEnd(data.x1, data.y1,
data.x2, data.y2);
line.stroke = new Color(data.color);
selection.insertionParent.addChild(line);
idx++;
}
}

module.exports = {
commands: {
crossedLines: selection => drawLines(selection, crossedLines()),
hypnoticLines: selection => drawLines(selection, hypnoticLines())
}
};
27 changes: 27 additions & 0 deletions sg-lots-of-lines/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"id": "your.id.here",
"name": "(SG) Lots of Lines",
"host": {
"app": "XD",
"minVersion": "10.0.10.24"
},
"version": "0.0.1",
"uiEntryPoints": [
{
"type": "menu",
"label": "SG - Draw lots of lines",
"menuItems": [
{
"type": "menu",
"label": "Crossed Lines",
"commandId": "crossedLines"
},
{
"type": "menu",
"label": "Hypnotic Lines",
"commandId": "hypnoticLines"
}
]
}
]
}
2 changes: 1 addition & 1 deletion sg-margin-guides/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

{
"id": "kwak.margin",
"name": "Margin Guides",
"name": "(SG) Margin Guides",

"host": {
"app": "XD",
Expand Down
2 changes: 1 addition & 1 deletion sg-meme-me/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "demo.memeMe",
"name": "MemeMe sample plugin",
"name": "(SG) MemeMe sample plugin",

"host": {
"app": "XD",
Expand Down
2 changes: 1 addition & 1 deletion sg-randomizer/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "mesh.randomizer",
"name": "Random Clone sample plugin",
"name": "(SG) Random Clone sample plugin",

"host": {
"app": "XD",
Expand Down
2 changes: 1 addition & 1 deletion sg-repeater/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "pflynn.itemRepeater",
"name": "Linear/Rotate Repeat sample plugin",
"name": "(SG) Linear/Rotate Repeat sample plugin",

"host": {
"app": "XD",
Expand Down
2 changes: 1 addition & 1 deletion sg-simple-to-html/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "wruby.dumb2",
"name": "Convert Rects to HTML",
"name": "(SG) Convert Rects to HTML",

"host": {
"app": "XD",
Expand Down
2 changes: 1 addition & 1 deletion sg-turtle/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "demo.turtle",
"name": "Turtle",
"name": "(SG) Turtle",

"host": {
"app": "XD",
Expand Down
2 changes: 1 addition & 1 deletion sg-update-weather/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.xd.weather",
"name": "Update the weather",
"name": "(SG) Update the weather",

"host": {
"app": "XD",
Expand Down
2 changes: 1 addition & 1 deletion ui-button-padding-hyperscript/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.buttonpaddinghyperscript",
"name": "Button Padding",
"name": "(UI) Button Padding",
"version": "0.0.1",
"host": {
"app": "XD",
Expand Down
2 changes: 1 addition & 1 deletion ui-button-padding/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.buttonpadding",
"name": "Button Padding",
"name": "(UI) Button Padding",
"version": "0.0.1",
"main": "main.js",
"host": {
Expand Down
2 changes: 1 addition & 1 deletion ui-buttons-galore/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "0000000000000003",
"name": "Button Plugin",
"name": "(UI) Button Plugin",
"version": "0.0.1",
"main": "main.js",
"host": {
Expand Down
2 changes: 1 addition & 1 deletion ui-context-menu/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.contextmenu",
"name": "Context Menu",
"name": "(UI) Context Menu",
"version": "0.0.1",
"main": "main.js",
"host": {
Expand Down
2 changes: 1 addition & 1 deletion ui-create-chart/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.createchart",
"name": "Create Chart",
"name": "(UI) Create Chart",
"version": "0.0.1",
"main": "main.js",
"host": {
Expand Down
2 changes: 1 addition & 1 deletion ui-datagrid-react/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.datagridreact",
"name": "Hello React JSX",
"name": "(UI) React Data Grid",
"version": "0.0.1",
"host": {
"app": "XD",
Expand Down
2 changes: 1 addition & 1 deletion ui-hello-h/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.helloh",
"name": "Hello H Plugin",
"name": "(UI) Hello H Plugin",
"version": "0.0.1",
"main": "main.js",
"host": {
Expand Down
2 changes: 1 addition & 1 deletion ui-hello-react-jsx/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.helloreactjsx",
"name": "Hello React JSX",
"name": "(UI) Hello React JSX",
"version": "0.0.1",
"host": {
"app": "XD",
Expand Down
2 changes: 1 addition & 1 deletion ui-hello-react-raw/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.helloreactraw",
"name": "Hello React",
"name": "(UI) Hello React",
"version": "0.0.1",
"host": {
"app": "XD",
Expand Down
2 changes: 1 addition & 1 deletion ui-hello-vue/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.adobe.hellovue",
"name": "Hello Vue",
"name": "(UI) Hello Vue",
"version": "0.0.1",
"host": {
"app": "XD",
Expand Down
Loading

0 comments on commit 9a0c886

Please sign in to comment.