@sphereon/ui-components.ssi-react 0.1.3-unstable.104 → 0.1.3-unstable.107

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.
@@ -2,6 +2,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { fontColors } from '@sphereon/ui-components.core';
3
3
  const DeleteIcon = (props) => {
4
4
  const { width = 19, height = 21, color = fontColors.light, style = {} } = props;
5
- return (_jsx("div", { style: { ...style, width, height, display: 'flex' }, children: _jsx("svg", { width: "19", height: "21", viewBox: "0 0 19 21", fill: color, xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M24.8277 8.98905V24.6058C24.8277 26.4672 23.3113 28 21.4699 28H10.5336C8.68863 28 7.1722 26.4672 7.1722 24.6058V8.98905H5.97712C4.9409 8.98905 4.9409 7.39781 5.97712 7.39781H12.1114V5.87226C12.1114 4.87591 12.8841 4 13.8914 4H18.1121C19.1158 4 19.8921 4.87956 19.8921 5.87226V7.39781H26.0228C27.059 7.39781 27.059 8.98905 26.0228 8.98905H24.8277ZM13.6856 7.39781H18.3143V5.87226C18.3143 5.75547 18.2457 5.59124 18.1121 5.59124H13.8914C13.7542 5.59124 13.6856 5.75547 13.6856 5.87226V7.39781ZM19.43 21.9635C19.43 23.0073 17.8558 23.0073 17.8558 21.9635V13.2993C17.8558 12.2555 19.43 12.2555 19.43 13.2993V21.9635ZM14.1441 21.9635C14.1441 23.0073 12.5699 23.0073 12.5699 21.9635V13.2993C12.5699 12.2555 14.1441 12.2518 14.1441 13.2993V21.9635ZM23.2535 8.98905C18.419 8.98905 13.5845 8.98905 8.75001 8.98905V24.6058C8.75001 25.5985 9.54793 26.4088 10.5336 26.4088H21.4699C22.452 26.4088 23.2535 25.5985 23.2535 24.6058V8.98905Z", fill: color }) }) }));
5
+ return (_jsx("div", { style: { ...style, width, height, display: 'flex' }, children: _jsx("svg", { width: "20", height: "21", viewBox: "0 0 20 21", fill: color, xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M17.3126 4.36542V18.0301C17.3126 19.6588 15.975 21 14.3509 21H4.70454C3.07718 21 1.73962 19.6588 1.73962 18.0301V4.36542H0.685498C-0.228499 4.36542 -0.228499 2.97308 0.685498 2.97308H6.09623V1.63823C6.09623 0.766423 6.77775 0 7.66627 0H11.3891C12.2745 0 12.9592 0.769617 12.9592 1.63823V2.97308H18.3667C19.2807 2.97308 19.2807 4.36542 18.3667 4.36542H17.3126ZM7.48474 2.97308H11.5675V1.63823C11.5675 1.53604 11.507 1.39234 11.3891 1.39234H7.66627C7.54525 1.39234 7.48474 1.53604 7.48474 1.63823V2.97308ZM12.5515 15.7181C12.5515 16.6314 11.163 16.6314 11.163 15.7181V8.13686C11.163 7.22354 12.5515 7.22354 12.5515 8.13686V15.7181ZM7.8892 15.7181C7.8892 16.6314 6.50068 16.6314 6.50068 15.7181V8.13686C6.50068 7.22354 7.8892 7.22035 7.8892 8.13686V15.7181ZM15.9241 4.36542C11.6598 4.36542 7.39557 4.36542 3.13132 4.36542V18.0301C3.13132 18.8987 3.83513 19.6077 4.70454 19.6077H14.3509C15.2171 19.6077 15.9241 18.8987 15.9241 18.0301V4.36542Z", fill: color }) }) }));
6
6
  };
7
7
  export default DeleteIcon;
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { fontColors } from '@sphereon/ui-components.core';
3
3
  const MeatBallsIcon = (props) => {
4
- const { width = 20, height = 4, color = fontColors.dark, style } = props;
5
- return (_jsx("div", { style: { ...style, width, height, display: 'flex' }, children: _jsxs("svg", { width: "20", height: "4", viewBox: "0 0 20 4", fill: color, xmlns: "http://www.w3.org/2000/svg", children: [_jsx("circle", { cx: "13", cy: "21.5", r: "2", fill: color }), _jsx("circle", { cx: "21", cy: "21.5", r: "2", fill: color }), _jsx("circle", { cx: "29", cy: "21.5", r: "2", fill: color })] }) }));
4
+ const { width = 20, height = 20, color = fontColors.dark, style } = props;
5
+ return (_jsx("div", { style: { ...style, width, height, display: 'flex' }, children: _jsxs("svg", { width: "20", height: "20", viewBox: "0 0 32 32", fill: color, xmlns: "http://www.w3.org/2000/svg", children: [_jsx("circle", { cx: "8", cy: "16", r: "2", fill: color }), _jsx("circle", { cx: "16", cy: "16", r: "2", fill: color }), _jsx("circle", { cx: "24", cy: "16", r: "2", fill: color })] }) }));
6
6
  };
7
7
  export default MeatBallsIcon;
@@ -1,7 +1,14 @@
1
1
  import { FC } from 'react';
2
2
  import { GeneralButton } from '../../../types';
3
+ import { ButtonIcon } from '@sphereon/ui-components.core';
4
+ import { Row } from '@tanstack/react-table';
3
5
  export type Props = {
6
+ icon: ButtonIcon;
4
7
  buttons: Array<GeneralButton>;
8
+ opts?: DropDownListOpts;
9
+ };
10
+ export type DropDownListOpts = {
11
+ rowData?: Row<any>;
5
12
  };
6
13
  declare const DropDownList: FC<Props>;
7
14
  export default DropDownList;
@@ -1,14 +1,33 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { SSIDropDownListContainerStyled as Container } from '../../../styles/components';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState, useRef, useEffect } from 'react';
3
+ import { SSIDropDownListContainerStyled as Container, DropDownContainerStyled as DropDownContainer, DropDownListButtonStyled as ListButton, } from '../../../styles/components';
3
4
  import DropDownListItem from '../DropDownListItem';
5
+ import { SSIIconButton } from '../../../index';
4
6
  const DropDownList = (props) => {
7
+ const { icon, buttons, opts } = props;
8
+ const [showActionsMenu, setShowActionsMenu] = useState(false);
9
+ const dropdownRef = useRef(null);
10
+ const onMore = (event) => {
11
+ setShowActionsMenu(!showActionsMenu);
12
+ event.stopPropagation();
13
+ };
14
+ useEffect(() => {
15
+ const handleClickOutside = (event) => {
16
+ if (dropdownRef.current && !dropdownRef.current.contains(event.target)) {
17
+ setShowActionsMenu(false);
18
+ }
19
+ };
20
+ document.addEventListener('mousedown', handleClickOutside);
21
+ return () => {
22
+ document.removeEventListener('mousedown', handleClickOutside);
23
+ };
24
+ }, [showActionsMenu]);
5
25
  const getItems = () => {
6
- const { buttons } = props;
7
26
  return buttons.map((item, index) => {
8
27
  const showBorder = buttons.length > 1 && index !== buttons.length - 1;
9
- return (_jsx(DropDownListItem, { showBorder: showBorder, caption: item.caption, onClick: item.onClick, icon: item.icon, fontColor: item.fontColor }, index));
28
+ return (_jsx(DropDownListItem, { showBorder: showBorder, label: item.caption, onClick: item.onClick, icon: item.icon, fontColor: item.fontColor, opts: opts }, index));
10
29
  });
11
30
  };
12
- return _jsx(Container, { children: getItems() });
31
+ return (_jsxs(Container, { ref: dropdownRef, children: [_jsx(ListButton, { children: _jsx(SSIIconButton, { icon: icon, color: 'black', onClick: onMore }) }), showActionsMenu && _jsx(DropDownContainer, { children: getItems() })] }));
13
32
  };
14
33
  export default DropDownList;
@@ -1,12 +1,18 @@
1
1
  import { FC } from 'react';
2
2
  import { ButtonIcon } from '@sphereon/ui-components.core';
3
+ import { Row } from '@tanstack/react-table';
3
4
  type Props = {
4
- caption: string;
5
+ label: string;
5
6
  onClick: (args?: any) => Promise<void>;
6
7
  disabled?: boolean;
7
8
  icon?: ButtonIcon;
8
- showBorder?: boolean;
9
9
  fontColor?: string;
10
+ showBorder?: boolean;
11
+ borderColor?: string;
12
+ opts?: DropDownListItemOpts;
13
+ };
14
+ export type DropDownListItemOpts = {
15
+ rowData?: Row<any>;
10
16
  };
11
17
  declare const DropDownListItem: FC<Props>;
12
18
  export default DropDownListItem;
@@ -1,23 +1,22 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { ButtonFlexRowStyled as Button, DropDownListItemContainerStyled as Container, DropDownListItemIconContainerStyled as IconContainer, DropDownListItemCaptionContainerStyled as ListItemCaption, } from '../../../styles/components';
2
+ import { DropDownListItemContainerStyled as Container, DropDownListItemIconContainerStyled as IconContainer, DropDownListItemCaptionContainerStyled as ListItemCaption, } from '../../../styles/components';
3
3
  import DeleteIcon from '../../assets/icons/DeleteIcon';
4
- import { borderColors, ButtonIcon, fontColors, OpacityStyleEnum } from '@sphereon/ui-components.core';
4
+ import { ButtonIcon, fontColors } from '@sphereon/ui-components.core';
5
5
  const DropDownListItem = (props) => {
6
- const { disabled, caption, icon, showBorder = false, fontColor = fontColors.dark } = props;
7
- const onClick = async () => {
8
- await props.onClick();
9
- };
6
+ const { disabled, label, icon, showBorder = false, fontColor = fontColors.dark, borderColor = fontColors.dark, opts, onClick } = props;
10
7
  const getIcon = (icon) => {
11
- const { fontColor = fontColors.dark } = props;
12
8
  switch (icon) {
13
9
  case ButtonIcon.DELETE:
14
- return _jsx(DeleteIcon, { color: fontColor });
10
+ return _jsx(DeleteIcon, { color: fontColors.dark });
15
11
  default:
16
12
  return _jsx("div", {});
17
13
  }
18
14
  };
19
- return (_jsx(Button, { onClick: onClick, disabled: disabled, style: {
20
- ...(disabled && { opacity: OpacityStyleEnum.DISABLED }),
21
- }, children: _jsxs(Container, { style: { ...(showBorder && { borderBottomWidth: 2, borderBottomColor: borderColors.light }) }, children: [_jsx(ListItemCaption, { style: { color: fontColor }, children: caption }), icon && _jsx(IconContainer, { children: getIcon(icon) })] }) }));
15
+ const onContainerClick = (event) => {
16
+ if (onClick) {
17
+ onClick(opts?.rowData);
18
+ }
19
+ };
20
+ return (_jsxs(Container, { onClick: onContainerClick, style: { ...(showBorder && { borderBottomWidth: 2, borderBottomColor: borderColor }) }, children: [_jsx(ListItemCaption, { children: label }), icon && _jsx(IconContainer, { children: getIcon(icon) })] }));
22
21
  };
23
22
  export default DropDownListItem;
@@ -5,6 +5,6 @@ import SSIPrimaryButton from '../../../buttons/SSIPrimaryButton';
5
5
  import { SSITableViewHeaderActionsContainerStyled as ActionsContainer, SSITableViewHeaderContainerStyled as Container, SSITableViewHeaderContentContainerStyled as ContentContainer, SSITextH3Styled as FilterCaption, SSITableViewHeaderFilterContainerStyled as FilterContainer, } from '../../../../styles';
6
6
  const SSITableViewHeader = (props) => {
7
7
  const { enableFiltering = false, enableMostRecent = false, actions = [] } = props;
8
- return (_jsx(Container, { children: _jsx(ContentContainer, { children: _jsxs(ActionsContainer, { children: [enableFiltering && (_jsxs(FilterContainer, { children: [_jsx(SSIIconButton, { icon: ButtonIcon.FILTER, onClick: async () => console.log('add filter clicked') }), _jsx(FilterCaption, { children: Localization.translate('action_filter_caption') })] })), "//todo: revisit this part when we have the most recent functionality", actions.map((action, index) => (_jsx(SSIPrimaryButton, { caption: action.caption, onClick: action.onClick, icon: action.icon }, index)))] }) }) }));
8
+ return (_jsx(Container, { children: _jsx(ContentContainer, { children: _jsxs(ActionsContainer, { children: [enableFiltering && (_jsxs(FilterContainer, { children: [_jsx(SSIIconButton, { icon: ButtonIcon.FILTER, onClick: async () => console.log('add filter clicked') }), _jsx(FilterCaption, { children: Localization.translate('action_filter_caption') })] })), actions.map((action, index) => (_jsx(SSIPrimaryButton, { caption: action.caption, onClick: action.onClick, icon: action.icon }, index)))] }) }) }));
9
9
  };
10
10
  export default SSITableViewHeader;
@@ -1,14 +1,13 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
3
  import { createColumnHelper, flexRender, getCoreRowModel, useReactTable, } from '@tanstack/react-table';
4
- import { Localization } from '@sphereon/ui-components.core';
4
+ import { ButtonIcon, Localization } from '@sphereon/ui-components.core';
5
5
  import SSITableViewHeader from './SSITableViewHeader';
6
6
  import SSITypeLabel from '../../labels/SSITypeLabel';
7
7
  import SSIHoverText from '../../fields/SSIHoverText';
8
8
  import { SSITableViewCellContainerStyled as CellContainer, SSITableViewContainerStyled as Container, SSITableViewHeaderCellContainerStyled as HeaderCellContainer, SSITableViewLabelCellStyled as LabelCell, SSITableViewResultCountCaptionStyled as ResultCountCaption, SSITableViewRowContainerStyled as RowContainer, SSITableViewTableContainerStyled as TableContainer, } from '../../../styles';
9
9
  import { TableCellType } from '../../../types';
10
- import { CredentialMiniCardView, SSIStatusLabel } from '../../../index';
11
- import RowActionMenuButton from '../../buttons/RowActionMenuButton';
10
+ import { CredentialMiniCardView, DropDownList, SSIStatusLabel } from '../../../index';
12
11
  function IndeterminateCheckbox({ indeterminate, className = '', ...rest }) {
13
12
  const ref = React.useRef(null);
14
13
  React.useEffect(() => {
@@ -36,7 +35,7 @@ const getCellFormatting = (type, value, row, opts) => {
36
35
  case TableCellType.ACTION_GROUP: {
37
36
  const { actionGroup } = opts ?? {};
38
37
  if (actionGroup) {
39
- return _jsx(RowActionMenuButton, { icon: actionGroup.icon, actions: actionGroup.actions, rowData: row });
38
+ return _jsx(DropDownList, { icon: actionGroup.icon ?? ButtonIcon.MEATBALLS, buttons: actionGroup.actions, opts: { rowData: row } });
40
39
  }
41
40
  return _jsx("div", {});
42
41
  }
@@ -1,2 +1,4 @@
1
1
  export declare const SSIDropDownListContainerStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
2
2
  export declare const SSIDropDownListSelectedValueStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const DropDownListButtonStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export declare const DropDownContainerStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -2,7 +2,10 @@ import styled from 'styled-components';
2
2
  import { SSIFlexDirectionRowViewStyled } from '../../containers';
3
3
  import { SSITextH3Styled } from '../../../fonts';
4
4
  import { gradient100TextCss } from '../../../css';
5
+ import { backgroundColors } from '@sphereon/ui-components.core';
5
6
  export const SSIDropDownListContainerStyled = styled(SSIFlexDirectionRowViewStyled) `
7
+ position: relative;
8
+ display: inline-block;
6
9
  text-align: left;
7
10
  align-items: center;
8
11
  gap: 2px;
@@ -10,3 +13,15 @@ export const SSIDropDownListContainerStyled = styled(SSIFlexDirectionRowViewStyl
10
13
  export const SSIDropDownListSelectedValueStyled = styled(SSITextH3Styled) `
11
14
  ${gradient100TextCss}
12
15
  `;
16
+ export const DropDownListButtonStyled = styled.div `
17
+ display: inline-block !important;
18
+ `;
19
+ export const DropDownContainerStyled = styled.div `
20
+ position: absolute;
21
+ top: 100%;
22
+ left: 0;
23
+ width: 250px;
24
+ background-color: ${backgroundColors.primaryLight};
25
+ border-radius: 8px;
26
+ z-index: 1000;
27
+ `;
@@ -1,17 +1,22 @@
1
- import { SSIFlexDirectionRowViewStyled } from '../../containers';
2
1
  import styled from 'styled-components';
3
- import { backgroundColors } from '@sphereon/ui-components.core';
2
+ import { SSIFlexDirectionRowViewStyled } from '../../containers';
4
3
  import { SSITextH2Styled } from '../../../fonts';
4
+ import { backgroundColors, fontColors } from '@sphereon/ui-components.core';
5
5
  export const DropDownListItemContainerStyled = styled(SSIFlexDirectionRowViewStyled) `
6
- flex: 1;
6
+ flex-direction: row;
7
+ align-items: center;
7
8
  background-color: ${backgroundColors.primaryLight};
9
+ padding: 10px 16px;
8
10
  `;
9
11
  export const DropDownListItemCaptionContainerStyled = styled(SSITextH2Styled) `
10
- margin: 13px 0 11px 16px;
12
+ flex: 1;
13
+ margin-right: 8px;
14
+ color: ${fontColors.dark};
11
15
  `;
12
16
  export const DropDownListItemIconContainerStyled = styled.div `
13
- width: 42px;
14
- margin: 4px 6px 2px auto;
17
+ display: flex;
15
18
  align-items: center;
16
19
  justify-content: center;
20
+ margin: 4px;
21
+ margin-right: 12px;
17
22
  `;
@@ -1,6 +1,5 @@
1
1
  export * from './buttons';
2
2
  export * from './DropDownListItem';
3
- export * from './RowActionMenuButton';
4
3
  export * from './SSICredentialCardView';
5
4
  export * from './SSICredentialMiniCardView';
6
5
  export * from './SSIStatusLabel';
@@ -1,6 +1,5 @@
1
1
  export * from './buttons';
2
2
  export * from './DropDownListItem';
3
- export * from './RowActionMenuButton';
4
3
  export * from './SSICredentialCardView';
5
4
  export * from './SSICredentialMiniCardView';
6
5
  export * from './SSIStatusLabel';
@@ -22,7 +22,7 @@ export type TableCellOptions = {
22
22
  actionGroup?: TableColumnActionGroup;
23
23
  };
24
24
  export type TableColumnActionGroup = {
25
- caption: string;
25
+ label?: string;
26
26
  icon?: ButtonIcon;
27
27
  actions: Array<TableColumnActionButton>;
28
28
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sphereon/ui-components.ssi-react",
3
3
  "private": false,
4
- "version": "0.1.3-unstable.104+2de960b",
4
+ "version": "0.1.3-unstable.107+0730c23",
5
5
  "description": "SSI UI components for React",
6
6
  "repository": "git@github.com:Sphereon-Opensource/UI-Components.git",
7
7
  "author": "Sphereon <dev@sphereon.com>",
@@ -28,7 +28,7 @@
28
28
  "access": "public"
29
29
  },
30
30
  "dependencies": {
31
- "@sphereon/ui-components.core": "0.1.3-unstable.104+2de960b",
31
+ "@sphereon/ui-components.core": "0.1.3-unstable.107+0730c23",
32
32
  "@tanstack/react-table": "^8.9.3",
33
33
  "react-loader-spinner": "^5.4.5",
34
34
  "react-toastify": "^9.1.3",
@@ -42,5 +42,5 @@
42
42
  "peerDependencies": {
43
43
  "react": ">= 16.8.0"
44
44
  },
45
- "gitHead": "2de960bdb8327783e162afeaed458e49ac76290e"
45
+ "gitHead": "0730c23abc3879f1fa58aab3cc266db85d04c0f0"
46
46
  }
@@ -1,13 +0,0 @@
1
- import { CSSProperties, ReactElement } from 'react';
2
- import { ButtonIcon } from '@sphereon/ui-components.core';
3
- import { TableColumnActionButton } from '../../../index';
4
- import { Row } from '@tanstack/react-table';
5
- type Props = {
6
- actions: Array<TableColumnActionButton>;
7
- rowData: Row<any>;
8
- icon?: ButtonIcon;
9
- color?: string;
10
- style?: CSSProperties;
11
- };
12
- declare const RowActionMenuButton: (props: Props) => ReactElement;
13
- export default RowActionMenuButton;
@@ -1,32 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useState, useEffect, useRef } from 'react';
3
- import { ButtonIcon } from '@sphereon/ui-components.core';
4
- import { SSIIconButton, DropDownList } from '../../../index';
5
- import { RowActionMenuButtonContainerStyled as ButtonContainer } from '../../../styles';
6
- const RowActionMenuButton = (props) => {
7
- const { actions, icon = ButtonIcon.MEATBALLS, color, style = {} } = props;
8
- const [isDropdownVisible, setIsDropdownVisible] = useState(false);
9
- const dropdownRef = useRef(null);
10
- useEffect(() => {
11
- const onClickOutside = (event) => {
12
- if (dropdownRef.current && !dropdownRef.current.contains(event.target)) {
13
- setIsDropdownVisible(false);
14
- }
15
- };
16
- document.addEventListener('mousedown', onClickOutside);
17
- return () => {
18
- document.removeEventListener('mousedown', onClickOutside);
19
- };
20
- }, [dropdownRef]);
21
- const toggleDropdown = (event) => {
22
- event?.stopPropagation();
23
- setIsDropdownVisible(!isDropdownVisible);
24
- };
25
- const onActionClick = (action, rowData) => async (event) => {
26
- event.stopPropagation();
27
- await action.onClick(rowData);
28
- setIsDropdownVisible(false);
29
- };
30
- return (_jsxs(ButtonContainer, { style: { ...style }, children: [_jsx(SSIIconButton, { icon: icon, color: color, onClick: toggleDropdown }), _jsx(DropDownList, { buttons: actions })] }));
31
- };
32
- export default RowActionMenuButton;
@@ -1,4 +0,0 @@
1
- export declare const RowActionMenuButtonContainerStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const ActionItemContainerStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
3
- export declare const ActionItemCaptionStyled: import("styled-components").StyledComponent<"span", any, {}, never>;
4
- export declare const RowActionDropdownContainerStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,29 +0,0 @@
1
- import styled from 'styled-components';
2
- export const RowActionMenuButtonContainerStyled = styled.div `
3
- position: relative;
4
- `;
5
- export const ActionItemContainerStyled = styled.div `
6
- display: flex;
7
- justify-content: space-between;
8
- align-items: center;
9
- padding: 5px;
10
- cursor: pointer;
11
- max-width: 250px;
12
- `;
13
- export const ActionItemCaptionStyled = styled.span `
14
- font-family: Poppins;
15
- font-size: 16px;
16
- font-weight: 400;
17
- line-height: 24px;
18
- letter-spacing: 0em;
19
- text-align: left;
20
- `;
21
- export const RowActionDropdownContainerStyled = styled.div `
22
- position: absolute;
23
- z-index: 1000;
24
- background-color: #fff;
25
- width: auto;
26
- padding: 10px;
27
- background: #fbfbfb;
28
- border-radius: 0px 0px 6px 6px;
29
- `;