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 +4 -4
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.tsx +2 -4
- data/app/pb_kits/playbook/pb_form_pill/form_pill.rb +0 -2
- data/dist/chunks/{_typeahead-CGyRnRCQ.js → _typeahead-BJrdFWHc.js} +1 -1
- data/dist/chunks/{_weekday_stacked-BTMWkeKM.js → _weekday_stacked-DQjMZj0z.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-doc.js +1 -1
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ecc1c466ffb02f3bc53b3e5237a09734fa63537829c7a4602ea17c2cf54f8d4
|
4
|
+
data.tar.gz: 90a09dc18273b805231bc2657bb1d4cb953329a2e56bc8018002fbf31f65bb71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|