@bcgov-sso/common-react-components 1.21.0 → 1.22.0

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.
@@ -1,3 +1,4 @@
1
- export declare const SUBTITLE_FONT_SIZE = "18px";
2
- declare const Tab: import("styled-components").StyledComponent<import("rc-tabs/lib/Tabs").ForwardTabsType, any, {}, never>;
3
- export default Tab;
1
+ import { TabPane } from 'rc-tabs';
2
+ declare const StyledTabs: import("styled-components").StyledComponent<import("rc-tabs/lib/Tabs").ForwardTabsType, any, {}, never>;
3
+ export default StyledTabs;
4
+ export declare const Tab: typeof TabPane;
@@ -1 +1 @@
1
- export { default } from './Tabs';
1
+ export { default, Tab } from './Tabs';
package/dist/esm/index.js CHANGED
@@ -23279,26 +23279,18 @@ function Tabs(_ref, ref) {
23279
23279
  var ForwardTabs = /*#__PURE__*/React.forwardRef(Tabs);
23280
23280
  ForwardTabs.TabPane = TabPane;
23281
23281
 
23282
- const SUBTITLE_FONT_SIZE = '18px';
23283
- const Tab = qe(ForwardTabs) `
23284
- .rc-tabs-tab {
23285
- display: inline-block;
23286
- color: black !important;
23287
- height: 20px !important;
23288
- font-size: ${SUBTITLE_FONT_SIZE} !important;
23289
- padding-top: 0; !important;
23290
- border-top: unset !important;
23291
- border-left: unset !important;
23292
- border-right: unset !important;
23293
-
23294
- &:active {
23295
- background-color: unset !important;
23282
+ const StyledTabs = qe(ForwardTabs) `
23283
+ .rc-tabs-tab {
23284
+ display: inline-block;
23285
+ height: 30px;
23286
+ font-size: 18px;
23287
+ }
23288
+
23289
+ .rc-tabs-tab-active {
23296
23290
  border-bottom: 3px solid orange;
23297
23291
  font-weight: 600;
23298
23292
  }
23299
- }
23300
-
23301
23293
  `;
23302
23294
 
23303
- export { Accordion, Alert, Button, NumberedContents, Table, Tab as Tabs };
23295
+ export { Accordion, Alert, Button, NumberedContents, Table, StyledTabs as Tabs };
23304
23296
  //# sourceMappingURL=index.js.map