From f6e2ffbd1546b1422a116a4c98b83a43da02bd9c Mon Sep 17 00:00:00 2001 From: Yaniv Tal Date: Fri, 15 Sep 2017 13:58:33 -0700 Subject: [PATCH 1/2] Make QuickAction sizes consistent --- src/components/QuickAction/QuickAction.js | 14 ++++++-------- workflo.lock | 1 + 2 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 workflo.lock diff --git a/src/components/QuickAction/QuickAction.js b/src/components/QuickAction/QuickAction.js index 9f8356d..084fdfe 100644 --- a/src/components/QuickAction/QuickAction.js +++ b/src/components/QuickAction/QuickAction.js @@ -238,7 +238,7 @@ const BaseQuickAction = ({ onClick, paddingTop, paddingBottom, -}) => ( +}) => } -) const baseTextStyle = { textTransform: 'uppercase', @@ -343,7 +342,7 @@ const getButtonWrapperStyle = ({ return buttonWrapperStyle } -const Radios = ({ options, value, onChange }) => ( +const Radios = ({ options, value, onChange }) => ( }, }} > - {options.map((option, index) => ( + {options.map((option, index) => ( }, }} /> - ))} + )} -) const getColor = (shade, iconKind) => { if (iconKind === 'Primary') return Colors.primary diff --git a/workflo.lock b/workflo.lock new file mode 100644 index 0000000..2616267 --- /dev/null +++ b/workflo.lock @@ -0,0 +1 @@ +dd08a87755e1de8d3912613c38547c0c7139c947 \ No newline at end of file From b35fccada5e993302fed9dd76313b1a4d34d22b3 Mon Sep 17 00:00:00 2001 From: Yaniv Tal Date: Fri, 15 Sep 2017 14:02:33 -0700 Subject: [PATCH 2/2] Check in bundle --- lib/WorkfloComponents.json | 2 +- lib/bundle.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/WorkfloComponents.json b/lib/WorkfloComponents.json index a81c227..a22d566 100644 --- a/lib/WorkfloComponents.json +++ b/lib/WorkfloComponents.json @@ -10,7 +10,6 @@ "BulkActionBar", "Button", "Code", - "ColorPicker", "Component", "ComponentEntrance", "ComponentExit", @@ -46,6 +45,7 @@ "Properties", "QuickAction", "QuickActionButton", + "QuickActionColorPicker", "QuickActionSelection", "RepoDropdown", "RepoPreferences", diff --git a/lib/bundle.js b/lib/bundle.js index 77d8ecc..8d5a583 100644 --- a/lib/bundle.js +++ b/lib/bundle.js @@ -110865,8 +110865,8 @@ var WorkfloComponents = theme: { svg: { display: 'inline-block', - width: 24, - height: 24, + width: 30, + height: 30, marginRight: 3 } }