File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 <plugin >
2323 <groupId >com.diffplug.spotless</groupId >
2424 <artifactId >spotless-maven-plugin</artifactId >
25- <version >3.10.2 </version >
25+ <version >3.10.3 </version >
2626 <configuration >
2727 <formats >
2828 <format >
Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ public static View example01() {
3636 .text ("Cancel" )
3737 .emoji (true )
3838 .build ())
39- .blocks (List .of (Blocks .input (i -> i .element (
40- BlockElements . conversationsSelect ( c -> c .placeholder (BlockCompositions .plainText (pt ->
39+ .blocks (List .of (Blocks .input (i -> i .element (BlockElements . conversationsSelect (
40+ c -> c .placeholder (BlockCompositions .plainText (pt ->
4141 pt .text ("Select a conversation" ).emoji (true )))
4242 .filter (ConversationsFilter .builder ()
4343 .include (List .of ("public" , "mpim" ))
Original file line number Diff line number Diff line change @@ -30,21 +30,18 @@ public static List<LayoutBlock> example01() {
3030 .label (BlockCompositions .plainText ("Group 1" ))
3131 .options (List .of (
3232 OptionObject .builder ()
33- .text (
34- BlockCompositions .plainText (
35- "*this is plain_text text*" ))
33+ .text (BlockCompositions .plainText (
34+ "*this is plain_text text*" ))
3635 .value ("value-0" )
3736 .build (),
3837 OptionObject .builder ()
39- .text (
40- BlockCompositions .plainText (
41- "*this is plain_text text*" ))
38+ .text (BlockCompositions .plainText (
39+ "*this is plain_text text*" ))
4240 .value ("value-1" )
4341 .build (),
4442 OptionObject .builder ()
45- .text (
46- BlockCompositions .plainText (
47- "*this is plain_text text*" ))
43+ .text (BlockCompositions .plainText (
44+ "*this is plain_text text*" ))
4845 .value ("value-2" )
4946 .build ()))
5047 .build (),
Original file line number Diff line number Diff line change @@ -18,14 +18,15 @@ public class RichTextInput {
1818 * A home view with an input block containing a rich text input element.
1919 */
2020 public static View example01 () {
21- View view = Views .view (v -> v .type ("home" ).blocks (List .of (Blocks .input (i -> i .element (
22- BlockElements .richTextInput (rt -> rt .actionId ("rich_text_input-action" )
23- .dispatchActionConfig (DispatchActionConfig .builder ()
24- .triggerActionsOn (List .of ("on_character_entered" ))
25- .build ())
26- .focusOnLoad (true )
27- .placeholder (BlockCompositions .plainText ("Enter text" ))))
28- .label (BlockCompositions .plainText (l -> l .text ("Label" ).emoji (true )))))));
21+ View view = Views .view (v -> v .type ("home" )
22+ .blocks (List .of (Blocks .input (i -> i .element (
23+ BlockElements .richTextInput (rt -> rt .actionId ("rich_text_input-action" )
24+ .dispatchActionConfig (DispatchActionConfig .builder ()
25+ .triggerActionsOn (List .of ("on_character_entered" ))
26+ .build ())
27+ .focusOnLoad (true )
28+ .placeholder (BlockCompositions .plainText ("Enter text" ))))
29+ .label (BlockCompositions .plainText (l -> l .text ("Label" ).emoji (true )))))));
2930 return view ;
3031 }
3132}
You can’t perform that action at this time.
0 commit comments