Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(loader): update references to reflect component use #11535

Merged
merged 3 commits into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading