@granto-umbrella/umbrella-components 3.0.17 → 3.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@granto-umbrella/umbrella-components",
3
- "version": "3.0.17",
3
+ "version": "3.0.19",
4
4
  "description": "Umbrella Components for React",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -225,10 +225,16 @@ export const Dropdown = styled.div`
225
225
  z-index: 1000;
226
226
  `;
227
227
 
228
- export const DropdownItem = styled.div`
228
+ export const DropdownItem = styled.div<{ $type?: 'default' | 'logout' }>`
229
+ display: flex;
230
+ align-items: center;
231
+ flex-direction: row;
229
232
  padding: ${primitiveSizes.size.x3} ${primitiveSizes.size.x4};
230
233
  cursor: pointer;
231
- color: ${primitiveColors.gray[600]};
234
+ color: ${(props) =>
235
+ props.$type === 'default'
236
+ ? primitiveColors.gray[600]
237
+ : primitiveColors.red[600]};
232
238
 
233
239
  &:hover {
234
240
  background-color: ${primitiveColors.gray[200]};