@@ -10,11 +10,26 @@ Chips are elements that represent status, complementary information, or associat
1010
1111## States
1212
13- The chip component states are: ** enabled** and ** disabled** :
13+ The chip component container states are: ** enabled** and ** disabled** :
1414
15- ![ Chip prefix and suffix states] ( images/chip_states .png )
15+ ![ Chip container states] ( images/chip_states_container .png )
1616
17- _ Chip component states_
17+ _ Chip container states_
18+
19+ The chip action item has the following states: ** enabled** , ** hover** , ** focus** , ** active** , and ** disabled** :
20+
21+ ![ Chip prefix and suffix states] ( images/chip_states_action.png )
22+
23+ _ Chip prefix and suffix states_
24+
25+ ## Anatomy
26+
27+ ![ Ccomponent anatomy] ( images/chip_anatomy.png )
28+
29+ 1 . Container
30+ 2 . Prefix _ (Optional)_
31+ 3 . Label
32+ 4 . Suffix _ (Optional)_
1833
1934## Design Specifications
2035
@@ -42,11 +57,11 @@ _Component chip design specifications_
4257| :------------------------------ | :------------------------ | :---------------------- | :-------- |
4358| ` backgroundColorOnDark ` | Chip container | ` color-grey-700 ` | #666666 |
4459| ` disabledBackgroundColorOnDark ` | Chip container: disabled | ` color-grey-800 ` | #4d4d4d |
45- | ` fontcolorOnDark ` | Label | ` color-white ` | #ffffff |
46- | ` disabledfontcolorOnDark ` | Label: disabled | ` color-grey-500 ` | #999999 |
47- | ` focusColorOnDark ` | Focus outline | ` color-blue-600 ` | #0095ff |
48- | ` iconColorOnDark ` | Icon | ` color-white ` | #ffffff |
49- | ` iconColorOnDark ` | Icon: disabled | ` color-grey-500 ` | #999999 |
60+ | ` fontcolorOnDark ` | Label | ` color-white ` | #ffffff |
61+ | ` disabledfontcolorOnDark ` | Label: disabled | ` color-grey-500 ` | #999999 |
62+ | ` focusColorOnDark ` | Focus outline | ` color-blue-600 ` | #0095ff |
63+ | ` iconColorOnDark ` | Icon | ` color-white ` | #ffffff |
64+ | ` iconColorOnDark ` | Icon: disabled | ` color-grey-500 ` | #999999 |
5065
5166
5267### Typography
@@ -60,12 +75,12 @@ _Component chip design specifications_
6075
6176### Spacing
6277
63- | Component token | Element | Core token | Value |
64- | :----------------------- | :-------------------- | :-------------- | :-------------- |
65- | ` labelMarginLeft ` | Label | ` spacing-03 ` | 0.5rem / 8px |
66- | ` labelMarginRight ` | Label | ` spacing-03 ` | 0.5rem / 8px |
67- | ` containerPaddingLeft ` | Container | ` spacing-03 ` | 0.5rem / 8px |
68- | ` containerPaddingRight ` | Container | ` spacing-03 ` | 0.5rem / 8px |
78+ | Component token | Element | Core token | Value |
79+ | :----------------------- | :-------------------- | :-------------- | :---------------- |
80+ | ` labelMarginLeft ` | Label | ` spacing-03 ` | 0.5rem / 8px |
81+ | ` labelMarginRight ` | Label | ` spacing-03 ` | 0.5rem / 8px |
82+ | ` containerPaddingLeft ` | Container | ` spacing-03 ` | 0.5rem / 8px |
83+ | ` containerPaddingRight ` | Container | ` spacing-03 ` | 0.5rem / 8px |
6984
7085
7186
@@ -83,9 +98,9 @@ _Component chip design specifications_
8398
8499### Size
85100
86- | Component token | Element | Core token | Value |
101+ | Component token | Element | Core token | Value |
87102| :----------------------- | :-------------------- | :------------------ | :-------------- |
88- | ` iconSize ` | Prefix/Suffix | ` size-icon-large ` | 24x24px |
103+ | ` iconSize ` | Prefix/Suffix | ` size-icon-large ` | 24x24px |
89104
90105
91106## Links and references
0 commit comments