From dc7e08c3815b49ce181ea8596bfc914983a65e79 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 9 Aug 2022 10:33:55 +0100 Subject: [PATCH] Lint --- .../bbui/src/Form/Core/PickerDropdown.svelte | 20 ----- packages/bbui/src/Form/PickerDropdown.svelte | 2 - .../src/components/deploy/VersionModal.svelte | 9 -- .../settings/UserGroupPicker.svelte | 2 +- .../groups/_components/UserGroupsRow.svelte | 89 ------------------- 5 files changed, 1 insertion(+), 121 deletions(-) delete mode 100644 packages/builder/src/pages/builder/portal/manage/groups/_components/UserGroupsRow.svelte diff --git a/packages/bbui/src/Form/Core/PickerDropdown.svelte b/packages/bbui/src/Form/Core/PickerDropdown.svelte index 313a15088f..1607876b46 100644 --- a/packages/bbui/src/Form/Core/PickerDropdown.svelte +++ b/packages/bbui/src/Form/Core/PickerDropdown.svelte @@ -16,7 +16,6 @@ export let id = null export let placeholder = "Choose an option or type" export let disabled = false - export let updateOnChange = true export let error = null export let secondaryOptions = [] export let primaryOptions = [] @@ -366,25 +365,6 @@ padding-left: 8px; } - .circle { - border-radius: 50%; - height: 28px; - color: white; - font-weight: bold; - line-height: 48px; - font-size: 1.2em; - width: 28px; - position: relative; - } - - .circle > div { - position: absolute; - text-decoration: none; - top: 50%; - left: 50%; - transform: translateX(-50%) translateY(-50%); - } - .iconPadding { position: absolute; top: 50%; diff --git a/packages/bbui/src/Form/PickerDropdown.svelte b/packages/bbui/src/Form/PickerDropdown.svelte index bc3e17eff1..b64a4bd117 100644 --- a/packages/bbui/src/Form/PickerDropdown.svelte +++ b/packages/bbui/src/Form/PickerDropdown.svelte @@ -14,7 +14,6 @@ export let disabled = false export let readonly = false export let error = null - export let updateOnChange = true export let getSecondaryOptionLabel = option => extractProperty(option, "label") export let getSecondaryOptionValue = option => @@ -100,7 +99,6 @@ {searchTerm} {autocomplete} {dataCy} - {updateOnChange} {error} {disabled} {readonly} diff --git a/packages/builder/src/components/deploy/VersionModal.svelte b/packages/builder/src/components/deploy/VersionModal.svelte index b0f4655f1b..23d9fd83a0 100644 --- a/packages/builder/src/components/deploy/VersionModal.svelte +++ b/packages/builder/src/components/deploy/VersionModal.svelte @@ -106,12 +106,3 @@ {/if} - - diff --git a/packages/builder/src/components/settings/UserGroupPicker.svelte b/packages/builder/src/components/settings/UserGroupPicker.svelte index 421597c44e..1c69e48da1 100644 --- a/packages/builder/src/components/settings/UserGroupPicker.svelte +++ b/packages/builder/src/components/settings/UserGroupPicker.svelte @@ -1,5 +1,5 @@ - -
-
-
- {group.name} -
-
-
-
- -
- {parseInt(group?.users?.length) || 0} user{parseInt( - group?.users?.length - ) === 1 - ? "" - : "s"} -
-
-
- - -
- {parseInt(group?.apps?.length) || 0} app{parseInt(group?.apps?.length) === 1 - ? "" - : "s"} -
-
- - - - - - -