@ssa-ui-kit/core 2.18.2 → 2.18.3
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/dist/index.js +2 -6
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -8173,13 +8173,12 @@ const AddNewAccountCard = ({
|
|
|
8173
8173
|
|
|
8174
8174
|
;// ./src/components/ButtonGroup/styles.ts
|
|
8175
8175
|
|
|
8176
|
-
const ButtonItem = theme => /*#__PURE__*/(0,react_namespaceObject.css)("justify-content:center;min-width:40px;height:auto;padding:8px;text-align:center;letter-spacing:0em;border-radius:0;box-shadow:none;user-select:none;&:hover,&:focus,&:active{box-shadow:none;}&:first-of-type{border-radius:6px 0 0 6px;}&:last-child{border-radius:0 6px 6px 0;}&:not(:last-child){margin-right:1px;}&.active{background:", theme.colors.greyFocused, ";}&:disabled{background:", theme.colors.grey, ";
|
|
8176
|
+
const ButtonItem = theme => /*#__PURE__*/(0,react_namespaceObject.css)("justify-content:center;min-width:40px;height:auto;padding:8px;text-align:center;letter-spacing:0em;border-radius:0;box-shadow:none;user-select:none;font-size:0.694rem;line-height:0.938rem;font-style:normal;font-weight:500;&:hover,&:focus,&:active{box-shadow:none;}&:first-of-type{border-radius:6px 0 0 6px;}&:last-child{border-radius:0 6px 6px 0;}&:not(:last-child){margin-right:1px;}&.active{background:", theme.colors.greyFocused, ";}&:disabled{background:", theme.colors.grey, ";color:", theme.colors.grey40, ";}", theme.mediaQueries.md, "{min-width:65px;padding:12px;font-size:13.3px;line-height:15px;}" + ( true ? "" : 0), true ? "" : 0);
|
|
8177
8177
|
;// ./src/components/ButtonGroup/ButtonGroup.tsx
|
|
8178
8178
|
|
|
8179
8179
|
|
|
8180
8180
|
|
|
8181
8181
|
|
|
8182
|
-
|
|
8183
8182
|
const ButtonGroup = ({
|
|
8184
8183
|
items,
|
|
8185
8184
|
buttonStyles,
|
|
@@ -8207,10 +8206,7 @@ const ButtonGroup = ({
|
|
|
8207
8206
|
onClick: handleClick(item),
|
|
8208
8207
|
css: [ButtonItem, buttonStyles, true ? "" : 0, true ? "" : 0],
|
|
8209
8208
|
className: isActive ? 'active' : '',
|
|
8210
|
-
children:
|
|
8211
|
-
variant: "body1",
|
|
8212
|
-
children: item.text
|
|
8213
|
-
})
|
|
8209
|
+
children: item.text
|
|
8214
8210
|
}, item.id);
|
|
8215
8211
|
})
|
|
8216
8212
|
});
|