@antscorp/antsomi-ui 1.3.5-beta.953 → 1.3.5-beta.954

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,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { FIELD_DATA_TYPE } from './constants';
3
3
  import { Icon } from '../Icon';
4
+ import { BinaryIcon } from '../../icons';
4
5
  export const IconField = (props) => {
5
6
  const { dataType } = props;
6
7
  switch (dataType) {
@@ -18,6 +19,9 @@ export const IconField = (props) => {
18
19
  case FIELD_DATA_TYPE.DATE_TIME.name:
19
20
  case FIELD_DATA_TYPE.DATE_TIME.value:
20
21
  return _jsx(Icon, { type: "icon-ants-calendar-v2", style: { color: '#56b261' } });
22
+ case FIELD_DATA_TYPE.BINARY.name:
23
+ case FIELD_DATA_TYPE.BINARY.value:
24
+ return _jsx(BinaryIcon, { style: { color: '#51a5d5' } });
21
25
  default:
22
26
  return _jsx(Icon, { type: "icon-ants-ABC", style: { color: '#56b261' } });
23
27
  }
@@ -24,4 +24,9 @@ export declare const FIELD_DATA_TYPE: {
24
24
  readonly name: "boolean";
25
25
  readonly value: 17;
26
26
  };
27
+ readonly BINARY: {
28
+ readonly label: "Binary";
29
+ readonly name: "binary";
30
+ readonly value: 18;
31
+ };
27
32
  };
@@ -24,4 +24,9 @@ export const FIELD_DATA_TYPE = {
24
24
  name: 'boolean',
25
25
  value: 17,
26
26
  },
27
+ BINARY: {
28
+ label: 'Binary',
29
+ name: 'binary',
30
+ value: 18,
31
+ },
27
32
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.953",
3
+ "version": "1.3.5-beta.954",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",