Skip to content

Commit

Permalink
replaced h1 headings with h3
Browse files Browse the repository at this point in the history
  • Loading branch information
PGimenez committed May 24, 2024
1 parent 985079f commit bdd9e93
Show file tree
Hide file tree
Showing 38 changed files with 105 additions and 105 deletions.
4 changes: 2 additions & 2 deletions src/Badges.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ register_normal_element("q__badge", context = @__MODULE__)
The `badge` component allows you to create a small badge for adding information like contextual data that needs to stand out and get noticed. It is also often useful in combination with other elements like a user avatar to show a number of new messages.
-----------
# Examples
### Examples
-----------
### Model
Expand All @@ -32,7 +32,7 @@ julia> Html.div("Badge", class="text-h6", [
])
```
-----------
# Arguments
### Arguments
-----------
1. Content
Expand Down
4 changes: 2 additions & 2 deletions src/Banners.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The `banner` component creates a banner element to display a prominent message a
According to the Material Design spec, the banner should be “displayed at the top of the screen, below a top app bar” - but of course you can put one anywhere that makes sense, even in a `dialog`
-----------
# Examples
### Examples
-----------
### View
Expand All @@ -38,7 +38,7 @@ julia> banner("Could not retrieve travel data.", rounded=true, class="bg-grey-3"
])
```
-----------
# Arguments
### Arguments
-----------
1. Content
Expand Down
2 changes: 1 addition & 1 deletion src/BigNumbers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ register_normal_element("st__big__number", context = @__MODULE__)
Renders a Big Number UI element.
# Arguments
### Arguments
* label::Union{String,Symbol}
* number::Union{String,Symbol,Nothing,String}
* icon::Union{String,Symbol}
Expand Down
14 changes: 7 additions & 7 deletions src/Buttons.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The button component also comes with a spinner or loading effect. You would use
When not disabled or spinning, `btn` emits a `@click` event, as soon as it is clicked or tapped.
# Examples
### Examples
```
julia> btn("Move Left", color = "primary", icon = "mail", @click("press_btn = true"))
Expand All @@ -30,7 +30,7 @@ julia> btn("Connect to server!", color="green", textcolor="black", @click("btnCo
```
-----------
# Arguments
### Arguments
-----------
1. Behavior
Expand Down Expand Up @@ -117,7 +117,7 @@ Base.string(bt::Btn) = btn(bt.label, bt.args...; bt.content, bt.kwargs...)
You can conveniently group `btn` and `btndropdown` using `btngroup`. Be sure to check those component’s respective pages to see their props and methods.
-----------
# Arguments
### Arguments
-----------
1. Content
Expand All @@ -140,7 +140,7 @@ end
In case you are looking for a dropdown “input” instead of “button” use Select instead.
# Examples
### Examples
```
julia> btndropdown(label = "Dropdown Button", color = "primary", [
Expand All @@ -153,7 +153,7 @@ julia> btndropdown(label = "Dropdown Button", color = "primary", [
```
-----------
# Arguments
### Arguments
-----------
1. Behavior
Expand Down Expand Up @@ -217,7 +217,7 @@ end
----------
# Examples
### Examples
----------
### Model
Expand All @@ -236,7 +236,7 @@ julia> btntoggle(:network, options = :networks, label="Social Networks", rounded
```
----------
# Arguments
### Arguments
----------
1. Behaviour
Expand Down
12 changes: 6 additions & 6 deletions src/Cards.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ register_normal_element("q__card__actions", context = @__MODULE__)
`Card` component is a great way to display important pieces of grouped content. The `Card` component is intentionally lightweight and essentially a containing element that is capable of “hosting” any other component that is appropriate.
-----------
# Examples
### Examples
-----------
### Model
Expand All @@ -40,7 +40,7 @@ julia> card(class="my-card", [
])
```
-----------
# Arguments
### Arguments
-----------
1. Content
* `tag::String` - HTML tag to render default `"div"` ex. `"div"` `"form"`
Expand All @@ -58,7 +58,7 @@ end
"""
card_section(args...; kwargs...)
----------
# Examples
### Examples
----------
### View
Expand All @@ -71,7 +71,7 @@ julia> card(class="text-white", style="background: radial-gradient(circle, #35a2
```
-----------
# Arguments
### Arguments
-----------
* `tag::String` - HTML tag to render ex. `"div"`, `"form"`
Expand All @@ -86,7 +86,7 @@ const cardsection = card_section
"""
----------
# Examples
### Examples
----------
card_actions()
Expand Down Expand Up @@ -114,7 +114,7 @@ julia> card(class="my-card bg-secondary text-white", [
])
```
-----------
# Arguments
### Arguments
-----------
* `align::String` - Specify how to align the actions ("left", "center", "right", "between", "around", "evenly", "stretch")
Expand Down
4 changes: 2 additions & 2 deletions src/ChatMessages.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ register_normal_element("q__chat__message", context = @__MODULE__)
The `chatmessage` which is really a chat entry that renders the data given by the reactive model
----------
# Examples
### Examples
----------
### Model
Expand All @@ -36,7 +36,7 @@ julia> chatmessage(R"message.text", name = R"message.name", sent = R"message.sen
```
-----------
# Arguments
### Arguments
-----------
1. Behaviour
Expand Down
4 changes: 2 additions & 2 deletions src/Checkboxes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ register_normal_element("q__checkbox", context = @__MODULE__)
The `checkbox` component is another basic element for user input. You can use this to supply a way for the user to toggle an option.
----------
# Examples
### Examples
----------
### Model
Expand All @@ -31,7 +31,7 @@ julia> checkbox(label = "Apples", fieldname = :valone, dense = true, size = "xl"
```
-----------
# Arguments
### Arguments
-----------
1. Behaviour
Expand Down
4 changes: 2 additions & 2 deletions src/Chips.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The `chip` component is basically a simple UI block entity, representing for exa
Chips can contain entities such as an avatar, text or an icon, optionally having a pointer too. They can also be closed or removed if configured so.
----------
# Examples
### Examples
----------
### View
Expand All @@ -25,7 +25,7 @@ julia> chip("Add to calendar", icon="event")
```
-----------
# Arguments
### Arguments
-----------
1. Content
Expand Down
4 changes: 2 additions & 2 deletions src/DatePickers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ If the `fieldname` references a `DateRange`, the `range` keyword parameter must
If the `fieldname` references a `Vector{DateRange}`, both the `multiple` and the `range` keyword parameters must be passed as `true`.
----------
# Examples
### Examples
----------
### Model
Expand Down Expand Up @@ -62,7 +62,7 @@ julia> datepicker(:dateranges, range = true, multiple = true)
```
-----------
# Arguments
### Arguments
-----------
1. Behavior
Expand Down
4 changes: 2 additions & 2 deletions src/Dialogs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The `dialog`` component is a great way to offer the user the ability to choose a
> TIP: Dialogs can also be used as a globally available method for more basic use cases, like the native JS `alert()`, `prompt()`, etc.
----------
# Examples
### Examples
----------
### Model
Expand All @@ -42,7 +42,7 @@ julia> Html.div(class="q-pa-md q-gutter-sm", [
```
----------
# Arguments
### Arguments
----------
1. Behaviour
* `persistent::Bool` - User cannot dismiss Dialog if clicking outside of it or hitting ESC key; Also, an app route change won't dismiss it
Expand Down
4 changes: 2 additions & 2 deletions src/Editors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ register_normal_element("q__editor", context = @__MODULE__)
Component is a WYSIWYG (“what you see is what you get”) editor component that enables the user to write and even paste HTML.
----------
# Examples
### Examples
----------
### Model
Expand All @@ -34,7 +34,7 @@ julia> StippleUI.form( autocorrect="off", autocapitalize="off", autocomplete="of
```
----------
# Arguments
### Arguments
----------
]
1. Behaviour
Expand Down
4 changes: 2 additions & 2 deletions src/ExpansionItems.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The `expansionitem` component allows the hiding of content that is not immediate
They are basically `item` components wrapped with additional functionality. So they can be included in `list` and inherit `item` component properties.
# Examples
### Examples
----------
### Model
Expand Down Expand Up @@ -54,7 +54,7 @@ julia> list(bordered=true, class="rounded-borders", [
```
----------
# Arguments
### Arguments
----------
1. Behaviour
Expand Down
6 changes: 3 additions & 3 deletions src/FormInputs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ register_normal_element("q__file", context = @__MODULE__)
textfield(fieldname, args...; kwargs...)
----------
# Examples
### Examples
----------
### Model
Expand All @@ -31,7 +31,7 @@ julia> textfield("What's your name *", :name, name = "name", @if(:warin), :fille
```
----------
# Arguments
### Arguments
----------
1. General
* `type::String` - Must be one of the following: `text (default)`, `textarea`, `email`, `tel`, `number`, `password` and `url`. This is important as it determines the keyboard type popping up on mobile devices.
Expand Down Expand Up @@ -160,7 +160,7 @@ A number of common arguments are defined and are passed to the textfield, the ic
In addition, keyword arguments can be passed to each of these components individually by using the `textfield_props`,
`icon_props`, `popup_proxy_props` and `datepicker_props` keyword arguments.
# Examples
### Examples
```julia
datefield("Start date", :start_date, datepicker_props = Dict(:todaybtn => true, :nounset => true), textfield_props = Dict(:bgcolor => "green-1"))
```
Expand Down
4 changes: 2 additions & 2 deletions src/Forms.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ register_normal_element("q__form", context = @__MODULE__)
The `form` component renders a <form> DOM element and allows you to easily validate child form components (like `input`, `select` or your `field` wrapped components) that have the internal validation (NOT the external one) through rules associated with them.
----------
# Examples
### Examples
----------
### Model
Expand Down Expand Up @@ -41,7 +41,7 @@ julia> StippleUI.form(action = "/sub", method = "POST", [
```
----------
# Arguments
### Arguments
----------
* `autofocus::Bool` - Focus first focusable element on initial component render
Expand Down
4 changes: 2 additions & 2 deletions src/Icons.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Stipple supports out of the box: [Material Icons](https://fonts.google.com/icons
Furthermore you can [add support by yourself](https://v1.quasar.dev/vue-components/icon#custom-mapping) for any icon lib.
----------
# Examples
### Examples
----------
### View
Expand All @@ -30,7 +30,7 @@ julia> icon("style", style="font-size: 3em;")
```
-----------
# Arguments
### Arguments
-----------
1. Content
Expand Down
4 changes: 2 additions & 2 deletions src/ImageViews.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ register_normal_element("q__img", context = @__MODULE__)
The `imageview` component makes working with images (any picture format) easy and also adds a nice loading effect to it along with many other features (example: the ability to set an aspect ratio).
----------
# Examples
### Examples
----------
### Model
Expand All @@ -34,7 +34,7 @@ julia> imageview(src = :url, style = "height: 140px; max-width: 150px", [
```
-----------
# Arguments
### Arguments
-----------
1. Behaviour
Expand Down
Loading

0 comments on commit bdd9e93

Please sign in to comment.