@ssa-ui-kit/core 2.19.0 → 2.19.1
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 +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -8175,12 +8175,13 @@ const AddNewAccountCard = ({
|
|
|
8175
8175
|
|
|
8176
8176
|
;// ./src/components/ButtonGroup/styles.ts
|
|
8177
8177
|
|
|
8178
|
-
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
|
|
8178
|
+
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, ";p{color:", theme.colors.grey40, ";}}", theme.mediaQueries.md, "{min-width:65px;padding:12px;p{font-size:13.3px;line-height:15px;}}" + ( true ? "" : 0), true ? "" : 0);
|
|
8179
8179
|
;// ./src/components/ButtonGroup/ButtonGroup.tsx
|
|
8180
8180
|
|
|
8181
8181
|
|
|
8182
8182
|
|
|
8183
8183
|
|
|
8184
|
+
|
|
8184
8185
|
const ButtonGroup = ({
|
|
8185
8186
|
items,
|
|
8186
8187
|
buttonStyles,
|
|
@@ -8208,7 +8209,10 @@ const ButtonGroup = ({
|
|
|
8208
8209
|
onClick: handleClick(item),
|
|
8209
8210
|
css: [ButtonItem, buttonStyles, true ? "" : 0, true ? "" : 0],
|
|
8210
8211
|
className: isActive ? 'active' : '',
|
|
8211
|
-
children:
|
|
8212
|
+
children: (0,jsx_runtime_namespaceObject.jsx)(Typography_Typography, {
|
|
8213
|
+
variant: "body1",
|
|
8214
|
+
children: item.text
|
|
8215
|
+
})
|
|
8212
8216
|
}, item.id);
|
|
8213
8217
|
})
|
|
8214
8218
|
});
|