From b8804cbbcd18bbd614f73841f339be39240ac8d9 Mon Sep 17 00:00:00 2001 From: Marek Mihok Date: Thu, 16 Nov 2023 11:00:15 +0100 Subject: [PATCH] chore: make api description brief #2179 --- py/h2o_lightwave/h2o_lightwave/types.py | 2 +- py/h2o_lightwave/h2o_lightwave/ui.py | 2 +- py/h2o_wave/h2o_wave/types.py | 2 +- py/h2o_wave/h2o_wave/ui.py | 2 +- r/R/ui.R | 2 +- ui/src/markdown.tsx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/py/h2o_lightwave/h2o_lightwave/types.py b/py/h2o_lightwave/h2o_lightwave/types.py index 8910ff80fa..c7dc22ce29 100644 --- a/py/h2o_lightwave/h2o_lightwave/types.py +++ b/py/h2o_lightwave/h2o_lightwave/types.py @@ -9625,7 +9625,7 @@ def __init__( self.data = data """Additional data for the card.""" self.compact = compact - """In compact mode markdown content takes less screen space. Defaults to True.""" + """Make spacing tighter. Defaults to True.""" self.commands = commands """Contextual menu commands for this component.""" diff --git a/py/h2o_lightwave/h2o_lightwave/ui.py b/py/h2o_lightwave/h2o_lightwave/ui.py index 8c438d4331..89bafb8628 100644 --- a/py/h2o_lightwave/h2o_lightwave/ui.py +++ b/py/h2o_lightwave/h2o_lightwave/ui.py @@ -3403,7 +3403,7 @@ def markdown_card( title: The title for this card. content: The markdown content. Supports Github Flavored Markdown (GFM): https://guides.github.com/features/mastering-markdown/ data: Additional data for the card. - compact: In compact mode markdown content takes less screen space. Defaults to True. + compact: Make spacing tighter. Defaults to True. commands: Contextual menu commands for this component. Returns: A `h2o_wave.types.MarkdownCard` instance. diff --git a/py/h2o_wave/h2o_wave/types.py b/py/h2o_wave/h2o_wave/types.py index 8910ff80fa..c7dc22ce29 100644 --- a/py/h2o_wave/h2o_wave/types.py +++ b/py/h2o_wave/h2o_wave/types.py @@ -9625,7 +9625,7 @@ def __init__( self.data = data """Additional data for the card.""" self.compact = compact - """In compact mode markdown content takes less screen space. Defaults to True.""" + """Make spacing tighter. Defaults to True.""" self.commands = commands """Contextual menu commands for this component.""" diff --git a/py/h2o_wave/h2o_wave/ui.py b/py/h2o_wave/h2o_wave/ui.py index 8c438d4331..89bafb8628 100644 --- a/py/h2o_wave/h2o_wave/ui.py +++ b/py/h2o_wave/h2o_wave/ui.py @@ -3403,7 +3403,7 @@ def markdown_card( title: The title for this card. content: The markdown content. Supports Github Flavored Markdown (GFM): https://guides.github.com/features/mastering-markdown/ data: Additional data for the card. - compact: In compact mode markdown content takes less screen space. Defaults to True. + compact: Make spacing tighter. Defaults to True. commands: Contextual menu commands for this component. Returns: A `h2o_wave.types.MarkdownCard` instance. diff --git a/r/R/ui.R b/r/R/ui.R index 27ac6430a3..d3ae9aa868 100644 --- a/r/R/ui.R +++ b/r/R/ui.R @@ -3948,7 +3948,7 @@ ui_list_item1_card <- function( #' @param title The title for this card. #' @param content The markdown content. Supports Github Flavored Markdown (GFM): https://guides.github.com/features/mastering-markdown/ #' @param data Additional data for the card. -#' @param compact In compact mode markdown content takes less screen space. Defaults to True. +#' @param compact Make spacing tighter. Defaults to True. #' @param commands Contextual menu commands for this component. #' @return A MarkdownCard instance. #' @export diff --git a/ui/src/markdown.tsx b/ui/src/markdown.tsx index 8ae5198fde..d997ad4863 100644 --- a/ui/src/markdown.tsx +++ b/ui/src/markdown.tsx @@ -149,7 +149,7 @@ interface State { **/ data?: Rec /** - * In compact mode markdown content takes less screen space. Defaults to True. + * Make spacing tighter. Defaults to True. **/ compact?: B }