@antscorp/antsomi-ui 1.3.5-beta.903 → 1.3.5-beta.905

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
+ /// <reference types="react" />
1
2
  import type { PayloadInfo } from '@antscorp/antsomi-ui/es/types';
2
3
  export type TDisplayFormat = 'number' | 'percentage' | 'currency' | 'datetime';
3
4
  type DisplayFormatProps = {
@@ -102,7 +102,7 @@ export const usePermission = () => {
102
102
  token: auth?.token,
103
103
  url: permissionDomain || PERMISSION_API,
104
104
  userId: auth?.userId,
105
- accountId: auth?.userId,
105
+ accountId: auth?.accountId,
106
106
  },
107
107
  params: {
108
108
  type: 'list-app',
@@ -44,7 +44,7 @@ export const OldLeftMenu = memo(props => {
44
44
  token: auth?.token,
45
45
  url: PERMISSION_API,
46
46
  userId: auth?.userId,
47
- accountId: auth?.userId,
47
+ accountId: auth?.accountId,
48
48
  },
49
49
  params: {
50
50
  type: 'list-app',
@@ -3,4 +3,5 @@
3
3
  * Asynchronously loads the component for TemplateListing
4
4
  *
5
5
  */
6
+ /// <reference types="react" />
6
7
  export declare const TemplateListing: (props: import("./types").TemplateListingProps<{}>) => JSX.Element;
@@ -253,7 +253,6 @@ export const GlobalStyle = () => (_jsx(Global, { styles: css `
253
253
  .antsomi-input-disabled {
254
254
  border-color: ${THEME.token?.bw3} !important;
255
255
  background-color: ${THEME.token?.bw0} !important;
256
- opacity: 0.5 !important;
257
256
  }
258
257
 
259
258
  .antsomi-input {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.903",
3
+ "version": "1.3.5-beta.905",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",