Skip to content

Commit 4101729

Browse files
authored
Merge pull request #13 from t-strings/improve-playground
Add new example notebooks demonstrating various template features
2 parents 9ec0556 + 7849fb9 commit 4101729

35 files changed

+130
-146
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ build-playground: check-jq
2828
WHL_FILE=$$(ls pypi | grep .whl) ;\
2929
python tools/patch_jlite_json.py \
3030
public/lite/jupyter-lite.json \
31-
--whl-url "pypi/$$WHL_FILE" && \
31+
--whl-url "pypi/$$WHL_FILE" \
32+
--disable-dirty && \
3233
cp -frpv pyodide public/lite/ && \
3334
cp -frpv pypi public/lite/extensions/@jupyterlite/pyodide-kernel-extension/static/
3435

content/boolean_attribute_value.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"cell_type": "code",
55
"execution_count": null,
6-
"id": "5b7d23a9",
6+
"id": "1051a8e7",
77
"metadata": {},
88
"outputs": [],
99
"source": [
@@ -13,7 +13,7 @@
1313
{
1414
"cell_type": "code",
1515
"execution_count": null,
16-
"id": "4e709496",
16+
"id": "394eacaf",
1717
"metadata": {},
1818
"outputs": [],
1919
"source": [
@@ -23,7 +23,7 @@
2323
{
2424
"cell_type": "code",
2525
"execution_count": null,
26-
"id": "c219302b",
26+
"id": "7b4d8476",
2727
"metadata": {},
2828
"outputs": [],
2929
"source": [

content/call_function.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"cell_type": "code",
55
"execution_count": null,
6-
"id": "fc98fedd",
6+
"id": "eb0e8234",
77
"metadata": {},
88
"outputs": [],
99
"source": [
@@ -13,7 +13,7 @@
1313
{
1414
"cell_type": "code",
1515
"execution_count": null,
16-
"id": "c0ad37f0",
16+
"id": "f508f146",
1717
"metadata": {},
1818
"outputs": [],
1919
"source": [
@@ -23,7 +23,7 @@
2323
{
2424
"cell_type": "code",
2525
"execution_count": null,
26-
"id": "32f68a0d",
26+
"id": "368c5c9f",
2727
"metadata": {},
2828
"outputs": [],
2929
"source": [
@@ -35,7 +35,7 @@
3535
{
3636
"cell_type": "code",
3737
"execution_count": null,
38-
"id": "ace28039",
38+
"id": "2d56b175",
3939
"metadata": {},
4040
"outputs": [],
4141
"source": [

content/child_nodes.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"cell_type": "code",
55
"execution_count": null,
6-
"id": "467bc5fe",
6+
"id": "19a08004",
77
"metadata": {},
88
"outputs": [],
99
"source": [
@@ -14,7 +14,7 @@
1414
{
1515
"cell_type": "code",
1616
"execution_count": null,
17-
"id": "7b4ea151",
17+
"id": "f8bf6dee",
1818
"metadata": {},
1919
"outputs": [],
2020
"source": [

content/children_props.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"cell_type": "code",
55
"execution_count": null,
6-
"id": "f6a06f24",
6+
"id": "14ec6992",
77
"metadata": {},
88
"outputs": [],
99
"source": [
@@ -13,7 +13,7 @@
1313
{
1414
"cell_type": "code",
1515
"execution_count": null,
16-
"id": "40c22133",
16+
"id": "faf088d2",
1717
"metadata": {},
1818
"outputs": [],
1919
"source": [
@@ -23,7 +23,7 @@
2323
{
2424
"cell_type": "code",
2525
"execution_count": null,
26-
"id": "637d8b0e",
26+
"id": "89f33397",
2727
"metadata": {},
2828
"outputs": [],
2929
"source": [
@@ -35,7 +35,7 @@
3535
{
3636
"cell_type": "code",
3737
"execution_count": null,
38-
"id": "f53c087f",
38+
"id": "7a01befa",
3939
"metadata": {},
4040
"outputs": [],
4141
"source": [

content/conditional_default.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"cell_type": "code",
55
"execution_count": null,
6-
"id": "5ce4cf10",
6+
"id": "e46ec9e8",
77
"metadata": {},
88
"outputs": [],
99
"source": [
@@ -13,7 +13,7 @@
1313
{
1414
"cell_type": "code",
1515
"execution_count": null,
16-
"id": "d5b8f87c",
16+
"id": "d4bc6a1f",
1717
"metadata": {},
1818
"outputs": [],
1919
"source": [
@@ -23,7 +23,7 @@
2323
{
2424
"cell_type": "code",
2525
"execution_count": null,
26-
"id": "f24050d3",
26+
"id": "25e7eb68",
2727
"metadata": {},
2828
"outputs": [],
2929
"source": [
@@ -35,7 +35,7 @@
3535
{
3636
"cell_type": "code",
3737
"execution_count": null,
38-
"id": "a0d305b4",
38+
"id": "6820086a",
3939
"metadata": {},
4040
"outputs": [],
4141
"source": [
@@ -47,7 +47,7 @@
4747
{
4848
"cell_type": "code",
4949
"execution_count": null,
50-
"id": "0c146bbd",
50+
"id": "cbc747a0",
5151
"metadata": {},
5252
"outputs": [],
5353
"source": [
@@ -59,7 +59,7 @@
5959
{
6060
"cell_type": "code",
6161
"execution_count": null,
62-
"id": "b189a92f",
62+
"id": "9461dc1c",
6363
"metadata": {},
6464
"outputs": [],
6565
"source": [

content/dataclass_component.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"cell_type": "code",
55
"execution_count": null,
6-
"id": "71119db6",
6+
"id": "5d789b9f",
77
"metadata": {},
88
"outputs": [],
99
"source": [
@@ -13,7 +13,7 @@
1313
{
1414
"cell_type": "code",
1515
"execution_count": null,
16-
"id": "382210dc",
16+
"id": "006e1b15",
1717
"metadata": {},
1818
"outputs": [],
1919
"source": [
@@ -23,7 +23,7 @@
2323
{
2424
"cell_type": "code",
2525
"execution_count": null,
26-
"id": "28ee3d40",
26+
"id": "f408ac5e",
2727
"metadata": {},
2828
"outputs": [],
2929
"source": [
@@ -33,7 +33,7 @@
3333
{
3434
"cell_type": "code",
3535
"execution_count": null,
36-
"id": "6c6933f0",
36+
"id": "a3f47214",
3737
"metadata": {},
3838
"outputs": [],
3939
"source": [
@@ -51,7 +51,7 @@
5151
{
5252
"cell_type": "code",
5353
"execution_count": null,
54-
"id": "f654950b",
54+
"id": "fbb09b3b",
5555
"metadata": {},
5656
"outputs": [],
5757
"source": [

content/default_component.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"cell_type": "code",
55
"execution_count": null,
6-
"id": "56d2b568",
6+
"id": "40245ff4",
77
"metadata": {},
88
"outputs": [],
99
"source": [
@@ -13,7 +13,7 @@
1313
{
1414
"cell_type": "code",
1515
"execution_count": null,
16-
"id": "192a7356",
16+
"id": "08ef76bb",
1717
"metadata": {},
1818
"outputs": [],
1919
"source": [
@@ -23,7 +23,7 @@
2323
{
2424
"cell_type": "code",
2525
"execution_count": null,
26-
"id": "a98f8299",
26+
"id": "5721cc1a",
2727
"metadata": {},
2828
"outputs": [],
2929
"source": [
@@ -35,7 +35,7 @@
3535
{
3636
"cell_type": "code",
3737
"execution_count": null,
38-
"id": "29f36c13",
38+
"id": "09da7d75",
3939
"metadata": {},
4040
"outputs": [],
4141
"source": [
@@ -47,7 +47,7 @@
4747
{
4848
"cell_type": "code",
4949
"execution_count": null,
50-
"id": "161562db",
50+
"id": "b9ee4d74",
5151
"metadata": {},
5252
"outputs": [],
5353
"source": [
@@ -59,7 +59,7 @@
5959
{
6060
"cell_type": "code",
6161
"execution_count": null,
62-
"id": "8e71f8d2",
62+
"id": "b4e72f71",
6363
"metadata": {},
6464
"outputs": [],
6565
"source": [

content/default_value.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"cell_type": "code",
55
"execution_count": null,
6-
"id": "19fd9766",
6+
"id": "0ce34d6a",
77
"metadata": {},
88
"outputs": [],
99
"source": [
@@ -13,7 +13,7 @@
1313
{
1414
"cell_type": "code",
1515
"execution_count": null,
16-
"id": "886be312",
16+
"id": "e957552f",
1717
"metadata": {},
1818
"outputs": [],
1919
"source": [
@@ -23,7 +23,7 @@
2323
{
2424
"cell_type": "code",
2525
"execution_count": null,
26-
"id": "a66f3040",
26+
"id": "13db272c",
2727
"metadata": {},
2828
"outputs": [],
2929
"source": [
@@ -35,7 +35,7 @@
3535
{
3636
"cell_type": "code",
3737
"execution_count": null,
38-
"id": "afc510aa",
38+
"id": "a6e85f92",
3939
"metadata": {},
4040
"outputs": [],
4141
"source": [

content/examples.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"cell_type": "code",
55
"execution_count": null,
6-
"id": "24b07721",
6+
"id": "d6bc86a0",
77
"metadata": {},
88
"outputs": [],
99
"source": [

0 commit comments

Comments
 (0)