@antscorp/antsomi-ui 1.3.5-beta.287 → 1.3.5-beta.288

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.
@@ -12,7 +12,7 @@ export const VerticalTrack = styled.div `
12
12
  width: 4px !important;
13
13
  transition: opacity 200ms ease 0s;
14
14
  opacity: 0;
15
- right: 2px;
15
+ right: 0px;
16
16
  bottom: 2px;
17
17
  top: 2px;
18
18
  border-radius: 4px;
@@ -23,7 +23,7 @@ export const HorizontalTrack = styled.div `
23
23
  transition: opacity 200ms ease 0s;
24
24
  opacity: 0;
25
25
  right: 2px;
26
- bottom: 2px;
26
+ bottom: 0px;
27
27
  left: 2px;
28
28
  border-radius: 4px;
29
29
  `;
@@ -18,7 +18,7 @@ import isEqual from 'react-fast-compare';
18
18
  // Styled
19
19
  import { CustomLabelStyled, CustomRootLabel, MenuWrapper, TextWrapper } from './styled';
20
20
  // Components
21
- import { Checkbox, Spin } from '../../../../atoms';
21
+ import { Checkbox, Scrollbars, Spin } from '../../../../atoms';
22
22
  import { Menu } from '../../../../organism';
23
23
  import { Empty } from '../Empty';
24
24
  // Utils
@@ -121,7 +121,7 @@ export const CategoryListing = memo(props => {
121
121
  }, [getItem, items]);
122
122
  return (show && !isEmpty(menuItems)) || header || loading ? (React.createElement(MenuWrapper, { "$width": width },
123
123
  header,
124
- React.createElement("div", { className: "category__listing" },
124
+ React.createElement(Scrollbars, { className: "category__listing" },
125
125
  React.createElement(Spin, { spinning: loading, wrapperClassName: "template-listing__loading" },
126
126
  isEmpty(menuItems) && !loading ? (React.createElement("div", { className: "empty-wrapper" },
127
127
  React.createElement(Empty, Object.assign({}, emptyProps)))) : (React.createElement(Menu, Object.assign({ selectedKeys: [], items: menuItems, inlineIndent: 0, mode: "inline", defaultOpenKeys: items === null || items === void 0 ? void 0 : items.map(item => String(item.key)), expandIcon: React.createElement(Icon, { type: "icon-ants-expand-more", style: { fontSize: 20, color: (_a = THEME === null || THEME === void 0 ? void 0 : THEME.token) === null || _a === void 0 ? void 0 : _a.bw8 } }), onClick: handleClickMenu }, restOfProps))),
@@ -14,7 +14,7 @@ var __rest = (this && this.__rest) || function (s, e) {
14
14
  import React, { memo, useMemo, useState } from 'react';
15
15
  // Components
16
16
  import { CategoryListing, BlankTemplate, Empty } from './components';
17
- import { Spin } from '@antscorp/antsomi-ui/es/components/atoms';
17
+ import { Scrollbars, Spin } from '@antscorp/antsomi-ui/es/components/atoms';
18
18
  import { ThumbnailCard } from '@antscorp/antsomi-ui/es/components/molecules';
19
19
  import { PreviewTemplateModal } from '../../organism/PreviewTemplateModal';
20
20
  // Constants
@@ -71,7 +71,7 @@ export const TemplateListing = memo(props => {
71
71
  React.createElement(TemplateWrapper, { className: wrapperClassName, style: wrapperStyle },
72
72
  header,
73
73
  React.createElement(Spin, { spinning: loading || !itemPerRow, wrapperClassName: "template-listing__loading template-listing__loading--full" },
74
- React.createElement("div", { className: "template-listing" },
74
+ React.createElement(Scrollbars, { className: "template-listing" },
75
75
  React.createElement("div", { ref: containerRef, style: {
76
76
  display: 'grid',
77
77
  gap: listingGap,
@@ -27,8 +27,8 @@ export const GlobalStyle = () => {
27
27
 
28
28
  /* width */
29
29
  ::-webkit-scrollbar {
30
- width: ${scrollBarSize};
31
- height: ${scrollBarSize};
30
+ width: ${scrollBarSize} !important;
31
+ height: ${scrollBarSize} !important;
32
32
  }
33
33
 
34
34
  /* Track */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.287",
3
+ "version": "1.3.5-beta.288",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",