Skip to content

Commit

Permalink
chore(utils): fix issues in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
magdalenaan authored and Juveniel committed Apr 27, 2023
1 parent 097e5d4 commit 0bc7f44
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 78 deletions.
100 changes: 50 additions & 50 deletions packages/utils/docs/customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -1392,6 +1392,34 @@ This is equivalent to `box-sizing: content-box;`.



### `.k-clear-left`

This is equivalent to `clear: left;`.




### `.k-clear-right`

This is equivalent to `clear: right;`.




### `.k-clear-both`

This is equivalent to `clear: both;`.




### `.k-clear-none`

This is equivalent to `clear: none;`.




### `.k-columns-1`

This is equivalent to `columns: 1;`.
Expand Down Expand Up @@ -1770,34 +1798,6 @@ This is equivalent to `flex-wrap: wrap-reverse;`.



### `.k-clear-left`

This is equivalent to `clear: left;`.




### `.k-clear-right`

This is equivalent to `clear: right;`.




### `.k-clear-both`

This is equivalent to `clear: both;`.




### `.k-clear-none`

This is equivalent to `clear: none;`.




### `.k-float-left`

This is equivalent to `float: left;`.
Expand Down Expand Up @@ -2169,42 +2169,42 @@ This is equivalent to `grid-auto-columns: minmax( 0, 1fr );`.



### `.k-grid-auto-flow-row`
### `.k-grid-flow-row`

This is equivalent to `grid-auto-flow: row;`.




### `.k-grid-auto-flow-column`
### `.k-grid-flow-column`

This is equivalent to `grid-auto-flow: column;`.




### `.k-grid-auto-flow-dense`
### `.k-grid-flow-dense`

This is equivalent to `grid-auto-flow: dense;`.




### `.k-grid-auto-flow-row-dense`
### `.k-grid-flow-row-dense`

This is equivalent to `grid-auto-flow: row dense;`.




### `.k-grid-auto-flow-col-dense`
### `.k-grid-flow-col-dense`

This is equivalent to `grid-auto-flow: col dense;`.




### `.k-grid-auto-flow-unset`
### `.k-grid-flow-unset`

This is equivalent to `grid-auto-flow: unset;`.

Expand Down Expand Up @@ -3877,7 +3877,7 @@ This is equivalent to `padding: 0.5rem;`.



### `.k-p-pd`
### `.k-p-md`

This is equivalent to `padding: 0.75rem;`.

Expand Down Expand Up @@ -4703,20 +4703,6 @@ This is equivalent to `place-self: baseline;`.



### `.k-pointer-events-none`

This is equivalent to `pointer-events: none;`.




### `.k-pointer-events-auto`

This is equivalent to `pointer-events: auto;`.




### `.k-top-0`

This is equivalent to `top: 0;`.
Expand Down Expand Up @@ -4803,7 +4789,7 @@ This is equivalent to `bottom: 0; right: 0;`.

### `.k-inset-0`

This is equivalent to `inset: 0;`.This is a shorthand that corresponds to the top: 0; right: 0; bottom: 0; and/or left: 0 properties. It has the same multi-value syntax of the margin shorthand.
This is equivalent to `inset: 0;`.



Expand All @@ -4822,6 +4808,20 @@ This is equivalent to `inset-block: 0;`.



### `.k-pointer-events-none`

This is equivalent to `pointer-events: none;`.




### `.k-pointer-events-auto`

This is equivalent to `pointer-events: auto;`.




### `.k-pos-static`

This is equivalent to `position: static;`.
Expand Down
12 changes: 6 additions & 6 deletions packages/utils/scss/flex-grid/_grid-auto-flow.scss
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
/// This is equivalent to `grid-auto-flow: row;`.
/// @example grid-auto-flow: row;
/// @name .k-grid-auto-flow-row
/// @name .k-grid-flow-row
/// @group grid-auto-flow
/// @contextType css

/// This is equivalent to `grid-auto-flow: column;`.
/// @example grid-auto-flow: column;
/// @name .k-grid-auto-flow-column
/// @name .k-grid-flow-column
/// @group grid-auto-flow
/// @contextType css

/// This is equivalent to `grid-auto-flow: dense;`.
/// @example grid-auto-flow: dense;
/// @name .k-grid-auto-flow-dense
/// @name .k-grid-flow-dense
/// @group grid-auto-flow
/// @contextType css

/// This is equivalent to `grid-auto-flow: row dense;`.
/// @example grid-auto-flow: row dense;
/// @name .k-grid-auto-flow-row-dense
/// @name .k-grid-flow-row-dense
/// @group grid-auto-flow
/// @contextType css

/// This is equivalent to `grid-auto-flow: col dense;`.
/// @example grid-auto-flow: col dense;
/// @name .k-grid-auto-flow-col-dense
/// @name .k-grid-flow-col-dense
/// @group grid-auto-flow
/// @contextType css

/// This is equivalent to `grid-auto-flow: unset;`.
/// @example grid-auto-flow: unset;
/// @name .k-grid-auto-flow-unset
/// @name .k-grid-flow-unset
/// @group grid-auto-flow
/// @contextType css

Expand Down
8 changes: 4 additions & 4 deletions packages/utils/scss/layout/_clear.scss
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
/// This is equivalent to `clear: left;`.
/// @example clear: left;
/// @name .k-clear-left
/// @group float
/// @group clear
/// @contextType css

/// This is equivalent to `clear: right;`.
/// @example clear: right;
/// @name .k-clear-right
/// @group float
/// @group clear
/// @contextType css

/// This is equivalent to `clear: both;`.
/// @example clear: both;
/// @name .k-clear-both
/// @group float
/// @group clear
/// @contextType css

/// This is equivalent to `clear: none;`.
/// @example clear: none;
/// @name .k-clear-none
/// @group float
/// @group clear
/// @contextType css

@mixin kendo-utils--layout--clear() {
Expand Down
34 changes: 17 additions & 17 deletions packages/utils/scss/layout/_placement.scss
Original file line number Diff line number Diff line change
@@ -1,91 +1,91 @@
/// This is equivalent to `top: 0;`.
/// @example top: 0;
/// @name .k-top-0
/// @group position
/// @group placement
/// @contextType css

/// This is equivalent to `right: 0;`.
/// @example right: 0;
/// @name .k-right-0
/// @group position
/// @group placement
/// @contextType css

/// This is equivalent to `bottom: 0;`.
/// @example bottom: 0;
/// @name .k-bottom-0
/// @group position
/// @group placement
/// @contextType css

/// This is equivalent to `left: 0;`.
/// @example left: 0;
/// @name .k-left-0
/// @group position
/// @group placement
/// @contextType css

/// This is equivalent to `top: 0;`.
/// @example top: 0;
/// @name .k-pos-top-0
/// @group position
/// @group placement
/// @contextType css

/// This is equivalent to `right: 0;`.
/// @example right: 0;
/// @name .k-pos-right-0
/// @group position
/// @group placement
/// @contextType css

/// This is equivalent to `bottom: 0;`.
/// @example bottom: 0;
/// @name .k-pos-bottom-0
/// @group position
/// @group placement
/// @contextType css

/// This is equivalent to `left: 0;`.
/// @example left: 0;
/// @name .k-pos-left-0
/// @group position
/// @group placement
/// @contextType css

/// This is equivalent to `top: 0; left: 0;`.
/// @example top: 0; left: 0;
/// @name .k-top-left-0
/// @group position
/// @group placement
/// @contextType css

/// This is equivalent to `top: 0; right: 0;`.
/// @example top: 0; right: 0;
/// @name .k-top-right-0
/// @group position
/// @group placement
/// @contextType css

/// This is equivalent to `bottom: 0; left: 0;`.
/// @example bottom: 0; left: 0;
/// @name .k-bottom-left-0
/// @group position
/// @group placement
/// @contextType css

/// This is equivalent to `bottom: 0; right: 0;`.
/// @example bottom: 0; right: 0;
/// @name .k-bottom-right-0
/// @group position
/// @group placement
/// @contextType css

/// This is equivalent to `inset: 0;`.This is a shorthand that corresponds to the top: 0; right: 0; bottom: 0; and/or left: 0 properties. It has the same multi-value syntax of the margin shorthand.
/// This is equivalent to `inset: 0;`.
/// @example inset: 0;
/// @name .k-inset-0
/// @group position
/// @group placement
/// @contextType css

/// This is equivalent to `inset-inline: 0;`.
/// @example inset-inline: 0;
/// @name .k-inset-x-0
/// @group position
/// @group placement
/// @contextType css

/// This is equivalent to `inset-block: 0;`.
/// @example inset-block: 0;
/// @name .k-inset-y-0
/// @group position
/// @group placement
/// @contextType css

@mixin kendo-utils--layout--placement() {
Expand All @@ -97,7 +97,7 @@
@include generate-utils( left, left, $kendo-utils-placement );


// Position length utility classes
// placement length utility classes
@each $side in (top, right, bottom, left) {
.#{$kendo-prefix}#{$side},
.#{$kendo-prefix}pos-#{$side} { #{$side}: 0; } // sass-lint:disable-line brace-style
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/scss/spacing/_padding.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

/// This is equivalent to `padding: 0.75rem;`.
/// @example padding: 0.75rem;
/// @name .k-p-pd
/// @name .k-p-md
/// @group padding
/// @contextType css

Expand Down

0 comments on commit 0bc7f44

Please sign in to comment.