From eee0b362dfaac02273ecee89f84c4e9b67df7fb9 Mon Sep 17 00:00:00 2001 From: Marko Bilal Date: Wed, 29 Nov 2017 12:27:26 -0500 Subject: [PATCH 1/4] added feature to have header say optional --- etools-repeatable-field-set.html | 11 ++++++++++- package-lock.json | 3 +++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 package-lock.json diff --git a/etools-repeatable-field-set.html b/etools-repeatable-field-set.html index 098b526..efc92bf 100644 --- a/etools-repeatable-field-set.html +++ b/etools-repeatable-field-set.html @@ -158,6 +158,11 @@ margin-left: 19px; @apply(--repeatable-items-lone-vertical-divider); } + .show-optional { + font-size: 14px; + opacity: 0.6; + line-height: 20px; + }
@@ -165,7 +170,7 @@ -
[[title]] ([[model.length]])
+
[[title]] ([[model.length]]) Optional
@@ -243,6 +248,10 @@ type: Boolean, value: false, }, + showOptional: { + type: Boolean, + value: false + }, allowCopy: { type: Boolean, value: false diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..48e341a --- /dev/null +++ b/package-lock.json @@ -0,0 +1,3 @@ +{ + "lockfileVersion": 1 +} From bce620f221cf6c7f2a36f3b602e60f773773d69a Mon Sep 17 00:00:00 2001 From: Marko Bilal Date: Wed, 29 Nov 2017 12:28:24 -0500 Subject: [PATCH 2/4] verison add --- bower.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bower.json b/bower.json index 892827e..f97b681 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "etools-repeatable-field-set", "description": "A container that helps to display repeatable data sets with counters and options to manage data: add, modify, delete(with confirmation), copy.", - "version": "1.0.9", + "version": "1.1.0", "license": "https://github.com/unicef-polymer/etools-repeatable-field-set/blob/master/LICENSE.md", "main": "etools-repeatable-field-set.html", "dependencies": { From 0a08e3e3abfc19f4610f195d5bcae0a146eb94e9 Mon Sep 17 00:00:00 2001 From: Marko Bilal Date: Wed, 29 Nov 2017 15:30:16 -0500 Subject: [PATCH 3/4] optional secondary heading string added --- etools-repeatable-field-set.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/etools-repeatable-field-set.html b/etools-repeatable-field-set.html index efc92bf..c4e134b 100644 --- a/etools-repeatable-field-set.html +++ b/etools-repeatable-field-set.html @@ -170,7 +170,7 @@ -
[[title]] ([[model.length]]) Optional
+
[[title]] ([[model.length]]) [[optionalSecondary]]
@@ -248,9 +248,9 @@ type: Boolean, value: false, }, - showOptional: { - type: Boolean, - value: false + optionalSecondary: { + type: String, + value: "" }, allowCopy: { type: Boolean, From 5e29a5ceca0460c604bd953dd1e2540d96e32f85 Mon Sep 17 00:00:00 2001 From: Marko Bilal Date: Wed, 29 Nov 2017 15:35:15 -0500 Subject: [PATCH 4/4] rm package --- package-lock.json | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 package-lock.json diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 48e341a..0000000 --- a/package-lock.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "lockfileVersion": 1 -}