Skip to content

Commit

Permalink
docs(loader): update references to reflect component use (#11535)
Browse files Browse the repository at this point in the history
**Related Issue:** #11518

## Summary
Updates `loader`'s properties and css variables descriptions to reflect
the updated use.
  • Loading branch information
geospatialem authored Feb 12, 2025
1 parent 2ce6319 commit 7eed036
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions packages/calcite-components/src/components/loader/loader.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
*
* These properties can be overridden using the component's tag as selector.
*
* @prop --calcite-loader-font-size: Specifies the font size of the loading percentage when type is `"determinate"`.
* @prop --calcite-loader-size: Specifies the width and height of the component when not set to inline.
* @prop --calcite-loader-font-size: When `type` is not `"indeterminate"` or `inline`, specifies the font size of the loading percentage.
* @prop --calcite-loader-size: When `inline` is not set, specifies the component's width and height.
* @prop --calcite-loader-size-inline: [Deprecated] Use `--calcite-loader-size`. Specifies the width and height of the component when set to inline.
* @prop --calcite-loader-spacing: Specifies the the component's padding.
* @prop --calcite-loader-progress-color-inline: Specifies the width and height of the component when set to inline.
* @prop --calcite-loader-text-spacing: Specifies the component's text margin.
* @prop --calcite-loader-text-weight: Specifies the component's font weight.
* @prop --calcite-loader-text-color: Specifies the component's text color.
* @prop --calcite-loader-progress-color: Specifies the component's progress ring color.
* @prop --calcite-loader-progress-color-inline: When `inline`, specifies the component's progress ring color.
* @prop --calcite-loader-text-spacing: When not `inline`, specifies the component's `text` margin.
* @prop --calcite-loader-text-weight: When not `inline` and `text` is provided, specifies the component's `text` font weight.
* @prop --calcite-loader-text-color: When not `inline` and `text` is provided, specifies the component's `text` color.
* @prop --calcite-loader-progress-color: When not `inline`, specifies the component's progress ring color.
* @prop --calcite-loader-track-color: Specifies the component's track color.
*/

Expand Down
4 changes: 2 additions & 2 deletions packages/calcite-components/src/components/loader/loader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class Loader extends LitElement {
*/
@property({ reflect: true }) complete = false;

/** When `true`, displays smaller and appears to the left of the text. */
/** When `true`, the component displays smaller. */
@property({ reflect: true }) inline = false;

/**
Expand All @@ -50,7 +50,7 @@ export class Loader extends LitElement {
/** Specifies the size of the component. */
@property({ reflect: true }) scale: Scale = "m";

/** Text that displays under the component's indicator. */
/** When not `inline`, displays text under the component's indicator. */
@property() text = "";

/**
Expand Down

0 comments on commit 7eed036

Please sign in to comment.