@capillarytech/blaze-ui 0.1.6-alpha.39 → 0.1.6-alpha.40

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,6 +1,6 @@
1
1
  import React, { useRef, useEffect } from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { Input } from 'antd';
3
+ import { Input } from 'antd-v5';
4
4
  import { WarningOutlined, CheckCircleOutlined } from '@ant-design/icons';
5
5
  import styled from 'styled-components';
6
6
  import * as styledVars from '../styled/variables';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { InputNumber } from 'antd';
3
+ import { InputNumber } from 'antd-v5';
4
4
 
5
5
  const CapInputNumber = React.forwardRef((props, ref) => {
6
6
  const { size = 'large', ...rest } = props;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { Input } from 'antd';
3
+ import { Input } from 'antd-v5';
4
4
 
5
5
  const { Search } = Input;
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { Input } from 'antd';
3
+ import { Input } from 'antd-v5';
4
4
 
5
5
  const { TextArea } = Input;
6
6
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import React from 'react';
5
5
  import PropTypes from 'prop-types';
6
- import { Skeleton } from 'antd';
6
+ import { Skeleton } from 'antd-v5';
7
7
 
8
8
  const CapSkeleton = ({ className, ...rest }) => {
9
9
  const combinedClassName = `cap-skeleton-v2 ${className || ''}`.trim();
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import React from 'react';
5
5
  import PropTypes from 'prop-types';
6
- import { Spin } from 'antd';
6
+ import { Spin } from 'antd-v5';
7
7
 
8
8
  const CapSpin = ({ className, ...rest }) => (
9
9
  <Spin className={className} {...rest} />
@@ -1,4 +1,4 @@
1
- import { Table } from 'antd';
1
+ import { Table } from 'antd-v5';
2
2
  import styled from 'styled-components';
3
3
  import * as styledVars from '../styled/variables';
4
4
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { Select } from 'antd';
3
+ import { Select } from 'antd-v5';
4
4
 
5
5
  /**
6
6
  * Test component to verify Ant Design v5 Select integration
@@ -2,7 +2,7 @@
2
2
  import React, { useState, useEffect } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import classnames from 'classnames';
5
- import { TreeSelect, Tooltip, Input, Button } from 'antd';
5
+ import { TreeSelect, Tooltip, Input, Button } from 'antd-v5';
6
6
  import styled from 'styled-components';
7
7
  import uploadIcon from '../assets/upload.svg';
8
8
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/blaze-ui",
3
3
  "author": "Capillary Technologies",
4
- "version": "0.1.6-alpha.39",
4
+ "version": "0.1.6-alpha.40",
5
5
  "description": "Capillary UI component library with Ant Design v5",
6
6
  "main": "./index.js",
7
7
  "sideEffects": [
@@ -27,9 +27,9 @@
27
27
  "dependencies": {
28
28
  "@ant-design/icons": "^5.2.6",
29
29
  "@capillarytech/cap-ui-utils": "^3.0.4",
30
- "antd": "^5.12.0",
30
+ "antd-v5": "npm:antd@^5.26.7",
31
31
  "prop-types": "^15.8.1",
32
- "styled-components": "^5.3.11",
33
- "react-intl": "2.7.2"
32
+ "react-intl": "2.7.2",
33
+ "styled-components": "^5.3.11"
34
34
  }
35
35
  }
package/.DS_Store DELETED
Binary file