andoncloud-sdk 1.7.8 → 1.7.9
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.
- package/dist/andoncloud-sdk.js +2 -2
- package/dist/andoncloud-sdk.js.map +1 -1
- package/dist/app/core/ui/Checkbox/Checkbox.d.ts +7 -6
- package/dist/app/core/ui/Checkbox/index.d.ts +1 -1
- package/dist/app/core/ui/Checkbox/styled.d.ts +20 -7
- package/dist/app/core/ui/Radio/Radio.d.ts +7 -6
- package/dist/app/core/ui/Radio/index.d.ts +1 -1
- package/dist/app/core/ui/Radio/styled.d.ts +20 -7
- package/dist/app/core/ui/RadioGroup/RadioGroup.d.ts +7 -6
- package/dist/app/core/ui/RadioGroup/index.d.ts +1 -1
- package/dist/app/core/ui/RadioGroup/styled.d.ts +7 -4
- package/dist/cypress/support/component.d.ts +12 -0
- package/dist/cypress.config.d.ts +2 -1
- package/dist/src/app/__tests__/loginWithPassword.cy.d.ts +1 -0
- package/dist/src/app/components/Header/Header.cy.d.ts +1 -0
- package/dist/src/app/components/access/AccessBlocker.cy.d.ts +1 -0
- package/dist/src/app/components/access/AccessGuard.cy.d.ts +1 -0
- package/dist/src/app/components/access/AccessRequestModal.cy.d.ts +1 -0
- package/dist/src/app/components/access/CooldownModal.cy.d.ts +1 -0
- package/dist/src/app/components/access/withAccessGuard.cy.d.ts +1 -0
- package/dist/src/app/components/container.cy.d.ts +1 -0
- package/dist/src/app/components/loginForm.cy.d.ts +1 -0
- package/dist/src/app/components/loginModal.cy.d.ts +1 -0
- package/dist/src/app/hooks/useAccess.cy.d.ts +1 -0
- package/dist/src/app/hooks/useFeatures.cy.d.ts +1 -0
- package/dist/src/app/hooks/useHeaderContentEvent.cy.d.ts +1 -0
- package/dist/src/app/hooks/usePermissions.cy.d.ts +1 -0
- package/dist/src/version.d.ts +1 -1
- package/package.json +11 -19
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import { type StyledCheckboxProps } from './styled';
|
|
4
|
+
export interface CheckboxProps extends Partial<StyledCheckboxProps> {
|
|
5
|
+
'data-testid'?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const Checkbox: React.FC<CheckboxProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Checkbox';
|
|
1
|
+
export * from './Checkbox';
|
|
@@ -1,7 +1,20 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type CheckboxProps } from '@mui/material';
|
|
3
|
-
export interface StyledCheckboxProps extends CheckboxProps {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type CheckboxProps } from '@mui/material';
|
|
3
|
+
export interface StyledCheckboxProps extends CheckboxProps {}
|
|
4
|
+
export declare const UncheckedIcon: import('@emotion/styled').StyledComponent<
|
|
5
|
+
import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>,
|
|
6
|
+
import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>,
|
|
7
|
+
{}
|
|
8
|
+
>;
|
|
9
|
+
export declare const CheckedIcon: import('@emotion/styled').StyledComponent<
|
|
10
|
+
import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> &
|
|
11
|
+
import('react').ClassAttributes<HTMLSpanElement> &
|
|
12
|
+
import('react').HTMLAttributes<HTMLSpanElement>,
|
|
13
|
+
{},
|
|
14
|
+
{}
|
|
15
|
+
>;
|
|
16
|
+
export declare const StyledCheckbox: import('@emotion/styled').StyledComponent<
|
|
17
|
+
CheckboxProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & StyledCheckboxProps,
|
|
18
|
+
{},
|
|
19
|
+
{}
|
|
20
|
+
>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import { type StyledRadioProps } from './styled';
|
|
4
|
+
export interface RadioProps extends Partial<StyledRadioProps> {
|
|
5
|
+
'data-testid'?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const Radio: React.FC<RadioProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Radio';
|
|
1
|
+
export * from './Radio';
|
|
@@ -1,7 +1,20 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type RadioProps } from '@mui/material';
|
|
3
|
-
export interface StyledRadioProps extends RadioProps {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type RadioProps } from '@mui/material';
|
|
3
|
+
export interface StyledRadioProps extends RadioProps {}
|
|
4
|
+
export declare const UncheckedIcon: import('@emotion/styled').StyledComponent<
|
|
5
|
+
import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>,
|
|
6
|
+
import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>,
|
|
7
|
+
{}
|
|
8
|
+
>;
|
|
9
|
+
export declare const CheckedIcon: import('@emotion/styled').StyledComponent<
|
|
10
|
+
import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> &
|
|
11
|
+
import('react').ClassAttributes<HTMLSpanElement> &
|
|
12
|
+
import('react').HTMLAttributes<HTMLSpanElement>,
|
|
13
|
+
{},
|
|
14
|
+
{}
|
|
15
|
+
>;
|
|
16
|
+
export declare const StyledRadio: import('@emotion/styled').StyledComponent<
|
|
17
|
+
RadioProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & StyledRadioProps,
|
|
18
|
+
{},
|
|
19
|
+
{}
|
|
20
|
+
>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import { type StyledRadioGroupProps } from './styled';
|
|
4
|
+
export interface RadioGroupProps extends Partial<StyledRadioGroupProps> {
|
|
5
|
+
'data-testid'?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const RadioGroup: React.FC<RadioGroupProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './RadioGroup';
|
|
1
|
+
export * from './RadioGroup';
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import { type RadioGroupProps } from '@mui/material';
|
|
2
|
-
export interface StyledRadioGroupProps extends RadioGroupProps {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { type RadioGroupProps } from '@mui/material';
|
|
2
|
+
export interface StyledRadioGroupProps extends RadioGroupProps {}
|
|
3
|
+
export declare const StyledRadioGroup: import('@emotion/styled').StyledComponent<
|
|
4
|
+
RadioGroupProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & StyledRadioGroupProps,
|
|
5
|
+
{},
|
|
6
|
+
{}
|
|
7
|
+
>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="cypress" />
|
|
2
|
+
/// <reference types="cypress" />
|
|
3
|
+
/// <reference types="cypress" />
|
|
4
|
+
import { mount } from 'cypress/react';
|
|
5
|
+
declare global {
|
|
6
|
+
namespace Cypress {
|
|
7
|
+
interface Chainable {
|
|
8
|
+
mount: typeof mount;
|
|
9
|
+
getByTestId(selector: string, options?: Partial<Cypress.Loggable & Cypress.Timeoutable & Cypress.Withinable & Cypress.Shadow>): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
package/dist/cypress.config.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/src/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LIBRARY_VERSION = "1.7.
|
|
1
|
+
export declare const LIBRARY_VERSION = "1.7.9";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "andoncloud-sdk",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"source": "src/index.js",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"build:watch": "library-scripts build-watch",
|
|
27
27
|
"start:preview": "cd preview && npm run start",
|
|
28
28
|
"start": "run-p build:watch start:preview",
|
|
29
|
-
"test": "
|
|
30
|
-
"test:
|
|
31
|
-
"lint": "eslint --ext .js,.jsx --quiet --fix .",
|
|
32
|
-
"lint:ci": "eslint --ext .js,.jsx --quiet .",
|
|
29
|
+
"test": "cypress run --component",
|
|
30
|
+
"test:open": "cypress open --component",
|
|
31
|
+
"lint": "eslint --ext .js,.jsx,.ts,.tsx --quiet --fix .",
|
|
32
|
+
"lint:ci": "eslint --ext .js,.jsx,.ts,.tsx --quiet .",
|
|
33
33
|
"prepare": "run-s build",
|
|
34
|
-
"update": "ncu --reject eslint
|
|
34
|
+
"update": "ncu --reject eslint -u && npm install --ignore-scripts && cd preview && ncu -u && npm install",
|
|
35
35
|
"version:bump": "npm version --no-git-tag-version patch"
|
|
36
36
|
},
|
|
37
37
|
"browserslist": {
|
|
@@ -55,16 +55,13 @@
|
|
|
55
55
|
"@mui/lab": "^7.0.1-beta.23",
|
|
56
56
|
"@mui/material": "^7.3.9",
|
|
57
57
|
"@mui/x-date-pickers": "^8.27.2",
|
|
58
|
-
"@testing-library/dom": "^10.4.1",
|
|
59
|
-
"@testing-library/jest-dom": "^6.9.1",
|
|
60
|
-
"@testing-library/react": "^16.3.2",
|
|
61
58
|
"@types/react": "^19.2.14",
|
|
62
59
|
"@types/react-dom": "^19.2.3",
|
|
63
60
|
"@types/react-gtm-module": "^2.0.4",
|
|
64
61
|
"andoncloud-library-scripts": "^1.0.16",
|
|
65
62
|
"babel-preset-react-app": "^10.1.0",
|
|
66
63
|
"copyfiles": "^2.4.1",
|
|
67
|
-
"
|
|
64
|
+
"cypress": "^15.11.0",
|
|
68
65
|
"eslint": "8.57.1",
|
|
69
66
|
"eslint-config-andoncloud": "^1.0.0",
|
|
70
67
|
"husky": "^9.1.7",
|
|
@@ -76,8 +73,9 @@
|
|
|
76
73
|
"react": "^19.2.4",
|
|
77
74
|
"react-dom": "^19.2.4",
|
|
78
75
|
"react-i18next": "^16.5.6",
|
|
79
|
-
"react-router-dom": "^
|
|
80
|
-
"react-scripts": "^5.0.1"
|
|
76
|
+
"react-router-dom": "^7.13.1",
|
|
77
|
+
"react-scripts": "^5.0.1",
|
|
78
|
+
"webpack-dev-server": "^5.2.3"
|
|
81
79
|
},
|
|
82
80
|
"peerDependencies": {
|
|
83
81
|
"@emotion/react": "^11.0.0",
|
|
@@ -92,13 +90,7 @@
|
|
|
92
90
|
"react-dom": "^18.0.0",
|
|
93
91
|
"react-i18next": "^13.0.0",
|
|
94
92
|
"react-is": "^18.0.0",
|
|
95
|
-
"react-router-dom": "^
|
|
96
|
-
},
|
|
97
|
-
"jest": {
|
|
98
|
-
"moduleNameMapper": {
|
|
99
|
-
"^@/(.*)$": "<rootDir>/src/app/$1",
|
|
100
|
-
"^@assets$": "<rootDir>/src/assets/index.ts"
|
|
101
|
-
}
|
|
93
|
+
"react-router-dom": "^7.0.0"
|
|
102
94
|
},
|
|
103
95
|
"files": [
|
|
104
96
|
"dist"
|