daffodil icon indicating copy to clipboard operation
daffodil copied to clipboard

The `size` property is missing from Button's API docs

Open xelaint opened this issue 6 months ago • 5 comments

Is this a regression?

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

Description

size is defined by DaffButtonSizableDirective, which is a directive that extends the DaffSizableDirective. The size property isn't displayed as an input option in the button API docs.

Environment

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

Steps to reproduce

Steps to reproduce:

  1. Visit next.daff.io/docs/design/components/button?tab=api-tab
  2. See that size is not an input property of any of the button components.

Expected behavior

Size should be documented as an input property in button's API docs.

Actual behavior

Size is missing from the API docs.

Additional context

No response

xelaint avatar Jul 09 '25 19:07 xelaint

@AmmarA06 this file is where you should start investigating this bug

griest024 avatar Aug 07 '25 18:08 griest024

there's also some logic here: https://github.com/graycoreio/daffodil/blob/35e3011dc56db8c41899cfa28c418989a6c02340/tools/dgeni/src/transforms/daffodil-api-package/processors/role.ts#L393-L430

griest024 avatar Aug 07 '25 18:08 griest024

Hello @xelaint mam , I'd like to work on it , can you plz assign it to me

HITMAN5050 avatar Oct 08 '25 18:10 HITMAN5050

Bump @HITMAN5050 did you still want to work on this?

damienwebdev avatar Oct 30 '25 15:10 damienwebdev

Go ahead I am busy in some other stuff , sorry !!

HITMAN5050 avatar Oct 30 '25 15:10 HITMAN5050