playbook_ui 12.31.0.pre.alpha.multilevelnopillsdesigns944 → 12.31.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f4769b966dabf8cf4ccc54f825aa29b69560d0884a39c590518e17262c5e329
4
- data.tar.gz: 60f2476c312db5941580e09b6f14604dd6b536308b740a84f1126abca811de67
3
+ metadata.gz: 39c902d86406eacebfff3d633131660ecfdaf57e1d7b0f9480e1e9090e958501
4
+ data.tar.gz: a617f4fda7d3e3ed0b6de62504710c4962cdb70c3d59877057fe082262aec1f6
5
5
  SHA512:
6
- metadata.gz: 369f3abd7579952d66f1eda983def3158e94ded442861a8a5890b6def5fcbbc0ac4bb83776d8702c8fa973ccdc37f561daf3539676bb5333ac74096a2bbd8662
7
- data.tar.gz: 189f950cd2d49e95781c1af4f8f5db4006cd3d826641d15e91e13cac284fc17a66f5a15998063b16ae9fc7ede82adc929a7e6220bf3d731ef9a1b497d4180b4f
6
+ metadata.gz: 00f0e49f95ed90f0e6a1567cb4ff0448c48e77580f3c7ee02dcdbb060e3a472527007f9026f5486508c7ab3bb12d2a3b5d189605549ee1803c91c377a81ec671
7
+ data.tar.gz: b37a1a86dc19ff217a582a712161b34b6e4f7875c0b35a040b2c55030c61aa7076ee909555a9df9d4100e2441b9459ea0b391d0dabfec25cd89b191e96148d55
@@ -36,7 +36,6 @@
36
36
  input {
37
37
  border: none;
38
38
  font-family: $font_family_base;
39
- font-size: $font_base;
40
39
  &:focus {
41
40
  outline: none;
42
41
  }
@@ -250,15 +250,6 @@ const MultiLevelSelect = (props: MultiLevelSelectProps) => {
250
250
  }
251
251
  }
252
252
 
253
- const itemsSelectedLength = () => {
254
- let items
255
- if (returnAllSelected && returnedArray && returnedArray.length) {
256
- items = returnedArray.length
257
- } else if (!returnAllSelected && defaultReturn && defaultReturn.length) {
258
- items = defaultReturn.length
259
- }
260
- return items
261
- }
262
253
  //rendering formattedData to UI based on typeahead
263
254
  const renderNestedOptions = (items: { [key: string]: any }[]) => {
264
255
  return (
@@ -355,9 +346,7 @@ const MultiLevelSelect = (props: MultiLevelSelectProps) => {
355
346
  onChange={(e) => {
356
347
  setFilterItem(e.target.value)
357
348
  }}
358
- placeholder={inputDisplay === "none" && itemsSelectedLength() ? (
359
- `${itemsSelectedLength()} ${itemsSelectedLength() === 1 ? 'item' : 'items'} selected`
360
- ) : ("Start typing...")}
349
+ placeholder='Start typing...'
361
350
  value={filterItem}
362
351
  onClick={() => setIsClosed(false)}
363
352
  />