playbook_ui 12.33.0.pre.alpha.PLAY905reactionbuttons982 → 12.33.0.pre.alpha.revert2650closedialogonoutsideclick977

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "12.33.0"
5
- VERSION = "12.33.0.pre.alpha.PLAY905reactionbuttons982"
5
+ VERSION = "12.33.0.pre.alpha.revert2650closedialogonoutsideclick977"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.33.0.pre.alpha.PLAY905reactionbuttons982
4
+ version: 12.33.0.pre.alpha.revert2650closedialogonoutsideclick977
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-07-24 00:00:00.000000000 Z
12
+ date: 2023-07-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -442,8 +442,6 @@ files:
442
442
  - app/pb_kits/playbook/pb_button/docs/_button_loading.md
443
443
  - app/pb_kits/playbook/pb_button/docs/_button_options.html.erb
444
444
  - app/pb_kits/playbook/pb_button/docs/_button_options.jsx
445
- - app/pb_kits/playbook/pb_button/docs/_button_reaction.html.erb
446
- - app/pb_kits/playbook/pb_button/docs/_button_reaction.jsx
447
445
  - app/pb_kits/playbook/pb_button/docs/_button_size.html.erb
448
446
  - app/pb_kits/playbook/pb_button/docs/_button_size.jsx
449
447
  - app/pb_kits/playbook/pb_button/docs/_button_size.md
@@ -1,3 +0,0 @@
1
- <%= pb_rails("button", props: { count: 5, icon: "😍", variant: "reaction" }) %>
2
- <%= pb_rails("button", props: { count: 153, highlight: true, icon: "&#127881;", variant: "reaction" }) %>
3
- <%= pb_rails("button", props: { variant: "reaction" }) %>
@@ -1,38 +0,0 @@
1
- import React, {useState} from "react"
2
- import { Button } from "../../"
3
-
4
- const ButtonReaction = (props) => {
5
-
6
- const [highlightActive, setHighlightActive] =useState(false)
7
-
8
- return (
9
- <div>
10
- <Button
11
- count={5}
12
- icon="&#128525;"
13
- tabIndex={0}
14
- variant="reaction"
15
- {...props}
16
- />
17
- <Button
18
- count={153}
19
- highlight = {highlightActive}
20
- icon="&#127881;"
21
- marginLeft='lg'
22
- onClick={()=> setHighlightActive(!highlightActive)}
23
- tabIndex={0}
24
- variant="reaction"
25
- {...props}
26
- />
27
- <Button
28
- marginLeft='lg'
29
- tabIndex={0}
30
- variant="reaction"
31
- {...props}
32
- />
33
-
34
- </div>
35
- )
36
- }
37
-
38
- export default ButtonReaction