Skip to content

size API docs throughout @daffodil/design is being rendered incorrectly #4466

@xelaint

Description

@xelaint

Is this a regression?

  • Yes, this behavior used to work in the previous version

Description

In tag, size is passed in as DaffButtonSize, and the defaultSize value is "sm", even though it's set to md in the component.

https://next.daff.io/docs/design/components/tag?tab=api-tab

Spinner's size is also set to DaffButtonSize.
https://next.daff.io/docs/design/components/spinner?tab=api-tab

Environment

  • Daffodil version: 0.92.0
  • Angular version:
  • Browser(s):
  • Node version: run node --version
  • Operating system:

Steps to reproduce

Steps to reproduce:

  1. Visit https://next.daff.io/docs/design/components/tag?tab=api-tab or https://next.daff.io/docs/design/components/spinner?tab=api-tab

Expected behavior

size for each component should pass in the correct values instead of DaffButtonSize

Actual behavior

DaffButtonSize is being used throughout design components.

Additional context

No response

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions