Skip to content

Commit

Permalink
chore: cleanup options in tests
Browse files Browse the repository at this point in the history
janschoenherr committed Jul 4, 2023
1 parent f359c86 commit cb0992d
Showing 29 changed files with 89 additions and 89 deletions.
2 changes: 1 addition & 1 deletion src/js/components/notification.js
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ export default {
message: '',
status: '',
timeout: 5000,
group: null,
group: '',
pos: 'top-center',
clsContainer: 'uk-notification',
clsClose: 'uk-notification-close',
4 changes: 2 additions & 2 deletions tests/cover.html
Original file line number Diff line number Diff line change
@@ -154,13 +154,13 @@ <h2>JavaScript Options</h2>
<tr>
<td><code>width</code></td>
<td>Number</td>
<td>undefined</td>
<td></td>
<td>The element's width.</td>
</tr>
<tr>
<td><code>height</code></td>
<td>Number</td>
<td>undefined</td>
<td></td>
<td>The element's height.</td>
</tr>
</tbody>
16 changes: 8 additions & 8 deletions tests/drop.html
Original file line number Diff line number Diff line change
@@ -609,26 +609,26 @@ <h2>JavaScript Options</h2>
<tr>
<td><code>toggle</code></td>
<td>CSS Selector</td>
<td>'- *'</td>
<td>- *</td>
<td>CSS selector for the element to be used as toggle. By default, the preceding element.</td>
</tr>
<tr>
<td><code>pos</code></td>
<td>String</td>
<td>'bottom-left'</td>
<td>bottom-left</td>
<td>Drop position.</td>
</tr>
<tr>
<td><code>stretch</code></td>
<td>false|true|'x'|'y'</td>
<td>true</td>
<td>Stretch drop on both (true) or given axis.</td>
<td>Boolean, String</td>
<td>false</td>
<td>Stretch drop on both (true) or given axis (x,y).</td>
</tr>
<tr>
<td><code>mode</code></td>
<td>hover | click</td>
<td>String</td>
<td>click,hover</td>
<td>Comma-separated list of drop trigger behavior modes.</td>
<td>Comma-separated list of drop trigger behavior modes (hover|click).</td>
</tr>
<tr>
<td><code>delay-show</code></td>
@@ -711,7 +711,7 @@ <h2>JavaScript Options</h2>
<tr>
<td><code>animation</code></td>
<td>String</td>
<td>'uk-animation-fade'</td>
<td>uk-animation-fade</td>
<td>Space-separated names of animations. Comma-separated for animation out.</td>
</tr>
<tr>
18 changes: 9 additions & 9 deletions tests/dropnav.html
Original file line number Diff line number Diff line change
@@ -710,9 +710,9 @@ <h2>JavaScript Options</h2>
<tbody>
<tr>
<td><code>align</code></td>
<td>left|right|center</td>
<td>String</td>
<td>left</td>
<td>Drop alignment.</td>
<td>Drop alignment (left|right|center).</td>
</tr>
<tr>
<td><code>boundary</code></td>
@@ -722,13 +722,13 @@ <h2>JavaScript Options</h2>
</tr>
<tr>
<td><code>dropbar</code></td>
<td>Boolean | CSS selector</td>
<td>Boolean, CSS selector</td>
<td>false</td>
<td>The dropbar selector. If true the dropbar will be inserted automatically.</td>
</tr>
<tr>
<td><code>dropbar-anchor</code></td>
<td>Boolean | CSS selector</td>
<td>Boolean, CSS selector</td>
<td>false</td>
<td>The dropbar anchor selector. If set, dropbar will be inserted after the anchor element.</td>
</tr>
@@ -746,15 +746,15 @@ <h2>JavaScript Options</h2>
</tr>
<tr>
<td><code>stretch</code></td>
<td>false|true|'x'|'y'</td>
<td>Boolean, String</td>
<td>true</td>
<td>Stretch drop on both (true) or given axis.</td>
<td>Stretch drop on both (true) or given axis (x,y).</td>
</tr>
<tr>
<td><code>mode</code></td>
<td>hover | click</td>
<td>String</td>
<td>click,hover</td>
<td>Comma-separated list of drop trigger behavior modes.</td>
<td>Comma-separated list of drop trigger behavior modes (hover|click).</td>
</tr>
<tr>
<td><code>delay-show</code></td>
@@ -795,7 +795,7 @@ <h2>JavaScript Options</h2>
<tr>
<td><code>animation</code></td>
<td>String</td>
<td>'uk-animation-fade'</td>
<td>uk-animation-fade</td>
<td>Space-separated names of animations. Comma-separated for animation out.</td>
</tr>
<tr>
6 changes: 3 additions & 3 deletions tests/filter.html
Original file line number Diff line number Diff line change
@@ -256,12 +256,12 @@ <h2>Javascript Options</h2>
<tr>
<td><code>target</code></td>
<td>String</td>
<td>''</td>
<td></td>
<td>The targeted list on which to apply the filter to.</td>
</tr>
<tr>
<td><code>selActive</code></td>
<td>String|Boolean</td>
<td>String, Boolean</td>
<td>false</td>
<td>A selector for the initially active filter controls.</td>
</tr>
@@ -273,7 +273,7 @@ <h2>Javascript Options</h2>
</tr>
<tr>
<td><code>duration</code></td>
<td>String|Boolean</td>
<td>String, Boolean</td>
<td>250</td>
<td>Animation duration in milliseconds.</td>
</tr>
2 changes: 1 addition & 1 deletion tests/form.html
Original file line number Diff line number Diff line change
@@ -608,7 +608,7 @@ <h2>JavaScript Options</h2>
<tbody>
<tr>
<td><code>target</code></td>
<td>CSS selector | Boolean</td>
<td>CSS selector, Boolean</td>
<td>false</td>
<td>Value display target.</td>
</tr>
6 changes: 3 additions & 3 deletions tests/grid-masonry.html
Original file line number Diff line number Diff line change
@@ -93,9 +93,9 @@ <h2>JavaScript Options</h2>
</tr>
<tr>
<td><code>masonry</code></td>
<td>Boolean|String</td>
<td>false|pack|next</td>
<td>Enables masonry layout for this grid.</td>
<td>Boolean, String</td>
<td>false</td>
<td>Enables masonry layout for this grid (pack|next).</td>
</tr>
<tr>
<td><code>parallax</code></td>
6 changes: 3 additions & 3 deletions tests/grid-parallax.html
Original file line number Diff line number Diff line change
@@ -167,9 +167,9 @@ <h2>JavaScript Options</h2>
</tr>
<tr>
<td><code>masonry</code></td>
<td>Boolean|String</td>
<td>false|pack|next</td>
<td>Enables masonry layout for this grid.</td>
<td>Boolean, String</td>
<td>false</td>
<td>Enables masonry layout for this grid (pack|next).</td>
</tr>
<tr>
<td><code>parallax</code></td>
6 changes: 3 additions & 3 deletions tests/grid.html
Original file line number Diff line number Diff line change
@@ -641,9 +641,9 @@ <h2>JavaScript Options</h2>
</tr>
<tr>
<td><code>masonry</code></td>
<td>Boolean|String</td>
<td>false|pack|next</td>
<td>Enables masonry layout for this grid.</td>
<td>Boolean, String</td>
<td>false</td>
<td>Enables masonry layout for this grid (pack|next).</td>
</tr>
<tr>
<td><code>parallax</code></td>
2 changes: 1 addition & 1 deletion tests/height-viewport.html
Original file line number Diff line number Diff line change
@@ -227,7 +227,7 @@ <h2>JavaScript Options</h2>
</tr>
<tr>
<td><code>offset-bottom</code></td>
<td>Boolean|Number|Pixel|CSS selector</td>
<td>Boolean, Number, Pixel, CSS selector</td>
<td>false</td>
<td>Subtracts the element's immediately following sibling's height (true), the given percentage (Number), Pixel (px) value from its own height or the given element's height.</td>
</tr>
4 changes: 2 additions & 2 deletions tests/height.html
Original file line number Diff line number Diff line change
@@ -85,13 +85,13 @@ <h2>JavaScript Options</h2>
<tr>
<td><code>target</code></td>
<td>CSS selector</td>
<td><code>&gt; *</code></td>
<td>gt; *</td>
<td>Elements that should match. By default, the children will match.</td>
</tr>
<tr>
<td><code>row</code></td>
<td>Boolean</td>
<td><code>true</code></td>
<td>true</td>
<td>By default only items in the same row will be matched. For example, once grid columns extend to a width of 100%, their heights will no longer be matched. This makes sense, for example, if they stack vertically in narrower viewports.</td>
</tr>
</tbody>
2 changes: 1 addition & 1 deletion tests/icon.html
Original file line number Diff line number Diff line change
@@ -821,7 +821,7 @@ <h2>JavaScript Options</h2>
<tr>
<td><code>icon</code></td>
<td>String</td>
<td>''</td>
<td></td>
<td>The icon to display.</td>
</tr>
<tr>
12 changes: 6 additions & 6 deletions tests/image.html
Original file line number Diff line number Diff line change
@@ -605,30 +605,30 @@ <h2>JavaScript Options</h2>
<tr>
<td><code>dataSrc</code></td>
<td>String</td>
<td>''</td>
<td></td>
<td>The image's `src` attribute.</td>
</tr>
<tr>
<td><code>sources</code></td>
<td>String</td>
<td>''</td>
<td></td>
<td>The image's sources. This option is used for background images only. The sources attributes be passed in `key: value;` format for a single source. For multiple sources in JSON format.</td>
</tr>
<tr>
<td><code>loading</code></td>
<td>`lazy`|`eager`</td>
<td>`lazy`</td>
<td>String</td>
<td>lazy</td>
<td>Enable lazy/eager loading. Set to `eager` for images within the first visible viewport.</td>
</tr>
<tr>
<td><code>margin</code></td>
<td>String</td>
<td>'50%'</td>
<td>50%</td>
<td>The margin increases the viewport's bounding box, before computing an intersection with the image. (Must be px or % units)</td>
</tr>
<tr>
<td><code>target</code></td>
<td>String</td>
<td>Boolean, String</td>
<td>false</td>
<td>A list of targets who's bounding boxes will be used to compute an intersection with the image. (Defaults to the image itself)</td>
</tr>
4 changes: 2 additions & 2 deletions tests/leader.html
Original file line number Diff line number Diff line change
@@ -49,12 +49,12 @@ <h2>JavaScript Options</h2>
<tr>
<td><code>fill</code></td>
<td>String</td>
<td>undefined</td>
<td></td>
<td>Optional fill character.</td>
</tr>
<tr>
<td><code>media</code></td>
<td>String</td>
<td>Boolean, String</td>
<td>false</td>
<td>Condition for the space filling - a width as integer (e.g. 640) or a breakpoint (e.g. @s, @m, @l, @xl).</td>
</tr>
2 changes: 1 addition & 1 deletion tests/nav.html
Original file line number Diff line number Diff line change
@@ -412,7 +412,7 @@ <h2>JavaScript Options</h2>
</tr>
<tr>
<td><code>animation</code></td>
<td>String</td>
<td>Boolean, String</td>
<td>true</td>
<td>Space-separated names of animations. Comma-separated for animation out.</td>
</tr>
18 changes: 9 additions & 9 deletions tests/navbar.html
Original file line number Diff line number Diff line change
@@ -2579,9 +2579,9 @@ <h2>JavaScript Options</h2>
<tbody>
<tr>
<td><code>align</code></td>
<td>left|right|center</td>
<td>String</td>
<td>left</td>
<td>Drop alignment.</td>
<td>Drop alignment (left|right|center).</td>
</tr>
<tr>
<td><code>boundary</code></td>
@@ -2591,13 +2591,13 @@ <h2>JavaScript Options</h2>
</tr>
<tr>
<td><code>dropbar</code></td>
<td>Boolean | CSS selector</td>
<td>Boolean, CSS selector</td>
<td>false</td>
<td>The dropbar selector. If true the dropbar will be inserted automatically.</td>
</tr>
<tr>
<td><code>dropbar-anchor</code></td>
<td>Boolean | CSS selector</td>
<td>Boolean, CSS selector</td>
<td>false</td>
<td>The dropbar anchor selector. If set, dropbar will be inserted after the anchor element.</td>
</tr>
@@ -2615,15 +2615,15 @@ <h2>JavaScript Options</h2>
</tr>
<tr>
<td><code>stretch</code></td>
<td>false|true|'x'|'y'</td>
<td>Boolean, String</td>
<td>true</td>
<td>Stretch drop on both (true) or given axis.</td>
<td>Stretch drop on both (true) or given axis (x,y).</td>
</tr>
<tr>
<td><code>mode</code></td>
<td>hover | click</td>
<td>String</td>
<td>click,hover</td>
<td>Comma-separated list of drop trigger behavior modes.</td>
<td>Comma-separated list of drop trigger behavior modes (hover|click).</td>
</tr>
<tr>
<td><code>delay-show</code></td>
@@ -2664,7 +2664,7 @@ <h2>JavaScript Options</h2>
<tr>
<td><code>animation</code></td>
<td>String</td>
<td>'uk-animation-fade'</td>
<td>uk-animation-fade</td>
<td>Space-separated names of animations. Comma-separated for animation out.</td>
</tr>
<tr>
2 changes: 1 addition & 1 deletion tests/notification.html
Original file line number Diff line number Diff line change
@@ -112,7 +112,7 @@ <h2>JavaScript Options</h2>
<tr>
<td><code>group</code></td>
<td>String</td>
<td>null</td>
<td></td>
<td>Useful if you want to close all notifications in a specific group.</td>
</tr>
<tr>
4 changes: 2 additions & 2 deletions tests/offcanvas.html
Original file line number Diff line number Diff line change
@@ -99,9 +99,9 @@ <h2 id="js-options">JavaScript Options</h2>
<tbody>
<tr>
<td><code>mode</code></td>
<td>slide|reveal|push|none</td>
<td>String</td>
<td>slide</td>
<td>Offcanvas open mode.</td>
<td>Offcanvas open mode (slide|reveal|push|none).</td>
</tr>
<tr>
<td><code>flip</code></td>
2 changes: 1 addition & 1 deletion tests/parallax.html
Original file line number Diff line number Diff line change
@@ -180,7 +180,7 @@ <h2>JavaScript Options</h2>
</tr>
<tr>
<td><code>media</code></td>
<td>Number|String</td>
<td>Boolean, Number, String</td>
<td>false</td>
<td>Condition for the active status - a width as integer (e.g. 640) or a breakpoint (e.g. @s, @m, @l, @xl).</td>
</tr>
4 changes: 2 additions & 2 deletions tests/scrollspy.html
Original file line number Diff line number Diff line change
@@ -503,7 +503,7 @@ <h3>Scrollspy</h3>
<tr>
<td><code>cls</code></td>
<td>String</td>
<td>``</td>
<td></td>
<td>Class to toggle when the element enters/leaves viewport.</td>
</tr>
<tr>
@@ -515,7 +515,7 @@ <h3>Scrollspy</h3>
<tr>
<td><code>margin</code></td>
<td>String</td>
<td>'-1px'</td>
<td>-1px</td>
<td>The margin is added to the viewport's bounding box, before computing an intersection with the element. (Must be px or % units)</td>
</tr>
<tr>
Loading

0 comments on commit cb0992d

Please sign in to comment.