0.0.25 • Published 1 year ago

ss-web-elements-action-button v0.0.25

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Stardust Scribbles - Action Button Web Component

Installation

npm i ss-web-elements-icon ss-web-elements-action-button

Properties

Property NameValuesTypeDefaultOptionalDescription
iconGoogle icon name, i.e. checkstring-yesicon: to be used as prefix of label. If label not provided then only icon will be shown
labelstring-yesTo be used as the label of the action button
intentprimary, light, darkstringyesintent when selected
selectedbooleanfalseyesWhether button is selected or not
variantoutlined, minimalstringoutlinedyesVariant of the action button
disabledbooleanfalseyesWhether disabled or not
sizexs, sm, md, lg, xlstringmdyesSize of the action button
widthauto, fullstringauto

Note: Either icon or label are required.

CSS Tokens Used

NameValueHex Value
--ss-action-button-enabled-outlined-border
--ss-action-button-enabled-outlined-hover-color-bg
--ss-action-button-disabled-outlined-border-color
--ss-action-button-enabled-selected-light-color-bg
--ss-action-button-enabled-selected-light-color-fg
--ss-action-button-enabled-selected-dark-color-bg
--ss-action-button-enabled-selected-dark-color-fg
--ss-action-button-enabled-selected-primary-color-bg
--ss-action-button-enabled-selected-primary-color-fg
--ss-action-button-enabled-selected-light-hover-color-bg
--ss-action-button-enabled-selected-dark-hover-color-bg
--ss-action-button-enabled-selected-primary-hover-color-bg
--ss-action-button-disabled-outlined-border
--ss-action-button-disabled-outlined-color-bg
--ss-action-button-disabled-outlined-color-fg
--ss-action-button-disabled-selected-light-color-bg
--ss-action-button-disabled-selected-light-color-fg
--ss-action-button-disabled-selected-dark-color-bg
--ss-action-button-disabled-selected-dark-color-fg
--ss-action-button-disabled-selected-primary-color-bg
--ss-action-button-disabled-selected-primary-color-fg
--ss-action-button-padding-xs
--ss-action-button-padding-sm
--ss-action-button-padding-md
--ss-action-button-padding-lg
--ss-action-button-padding-xl
--ss-action-button-typography-xs
--ss-action-button-typography-sm
--ss-action-button-typography-md
--ss-action-button-typography-lg
--ss-action-button-typography-xl
--ss-action-button-border-radius-xs
--ss-action-button-border-radius-sm
--ss-action-button-border-radius-md
--ss-action-button-border-radius-lg
--ss-action-button-border-radius-xl
--ss-action-button-border-top-left-radius
--ss-action-button-border-top-right-radius
--ss-action-button-border-bottom-left-radius
--ss-action-button-border-bottom-left-radius
0.0.23

1 year ago

0.0.24

1 year ago

0.0.25

1 year ago

0.0.20

1 year ago

0.0.22

1 year ago

0.0.19

1 year ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.13

1 year ago

0.0.14

1 year ago

0.0.15

1 year ago

0.0.16

1 year ago

0.0.17

1 year ago

0.0.18

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago