playbook_ui 14.6.2.pre.alpha.PBNTR576tooltiptruncatedformpills4296 → 14.6.2.pre.alpha.PBNTR576tooltiptruncatedformpills4304

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: 89ab9a27621b94e30352163a1c90f30e4cfa79ff773f1933c308c40f3345c164
4
- data.tar.gz: 2333af54c76ad12538d3c3b59c41561d1821abc7591e8afa7eca81df1748a4f9
3
+ metadata.gz: 2ecc1c466ffb02f3bc53b3e5237a09734fa63537829c7a4602ea17c2cf54f8d4
4
+ data.tar.gz: 90a09dc18273b805231bc2657bb1d4cb953329a2e56bc8018002fbf31f65bb71
5
5
  SHA512:
6
- metadata.gz: 63432e88ba76ed2231c9168dabee21ebb9573b95953667f28a9b151c8859cc9452d28467e100b7c51a73fdc0d2d20ebb13dde853d61b6aa581239b73ea0071da
7
- data.tar.gz: a3268da60a7c6c0fca9769fa79fa0e5527c556a99f72d8787f4e39f1846057f70f0db22cb7dcefa7977b42eabadd7e68b47a092e3009aca88c9ebb6359a006ea
6
+ metadata.gz: 991aee43ea52beb462030837fff91e73869d23cc1121188427c880b67a77db574b8ff9b56686e054e66f744afe5f6d2a71bf55c29d761073e478280d7e70dff7
7
+ data.tar.gz: ec959956157c06abfd37e1fb04e118c012c067229045251faf52202c40bb205924702991409a7de939e016d8c8507ae37682ccd694c2cd63c89c8c0f4e122072
@@ -22,7 +22,6 @@ type FormPillProps = {
22
22
  data?: {[key: string]: string},
23
23
  tabIndex?: number,
24
24
  icon?: string,
25
- truncate?: number,
26
25
  closeProps?: {
27
26
  onClick?: React.MouseEventHandler<HTMLSpanElement>,
28
27
  onMouseDown?: React.MouseEventHandler<HTMLSpanElement>,
@@ -45,7 +44,6 @@ const FormPill = (props: FormPillProps): React.ReactElement => {
45
44
  data = {},
46
45
  tabIndex,
47
46
  icon = "",
48
- truncate,
49
47
  } = props
50
48
 
51
49
  const iconClass = icon ? "_icon" : ""
@@ -71,10 +69,10 @@ const FormPill = (props: FormPillProps): React.ReactElement => {
71
69
  className={className}
72
70
  size={4}
73
71
  text={content}
74
- truncate={truncate}
72
+ truncate={props.truncate}
75
73
  />
76
74
  )
77
- if (truncate) {
75
+ if (props.truncate) {
78
76
  return (
79
77
  <Tooltip
80
78
  interaction
@@ -16,8 +16,6 @@ module Playbook
16
16
  default: "primary"
17
17
  prop :tabindex
18
18
  prop :icon
19
- prop :truncate, type: Playbook::Props::Number,
20
- default: nil
21
19
 
22
20
  def classname
23
21
  generate_classname("pb_form_pill_kit", color, icon_class, name, text, text_transform)