@wix/entity-advanced-permissions 1.1377.0 → 1.1378.0
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/cjs/components/EmptyState/EmptyState.spec.js +2 -4
- package/dist/cjs/components/EmptyState/EmptyState.spec.js.map +1 -1
- package/dist/esm/components/EmptyState/EmptyState.spec.js +3 -3
- package/dist/esm/components/EmptyState/EmptyState.spec.js.map +1 -1
- package/dist/statics/entity-advanced-permissions.css +4 -4
- package/dist/statics/entity-advanced-permissions.css.map +1 -1
- package/dist/statics/entity-advanced-permissions.min.css +1 -1
- package/dist/statics/entity-advanced-permissions.rtl.css +4 -4
- package/dist/statics/entity-advanced-permissions.rtl.min.css +1 -1
- package/dist/statics/entity-advanced-permissions.umd.js +924 -546
- package/dist/statics/entity-advanced-permissions.umd.js.map +1 -1
- package/dist/statics/entity-advanced-permissions.umd.min.js +6 -6
- package/dist/statics/entity-advanced-permissions.umd.min.js.map +1 -1
- package/dist/statics/manifest.json +2 -2
- package/dist/statics/manifest.min.json +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
var _react = _interopRequireDefault(require("react"));
|
|
5
5
|
var _react2 = require("@testing-library/react");
|
|
6
|
-
var _EmptyState = _interopRequireDefault(require("./EmptyState
|
|
6
|
+
var _EmptyState = _interopRequireDefault(require("./EmptyState"));
|
|
7
7
|
var _wixUiTpa = require("wix-ui-tpa");
|
|
8
8
|
var _jsxFileName = "/home/builduser/work/a98b9d6be4012463/packages/entity-advanced-permissions/dist/cjs/components/EmptyState/EmptyState.spec.tsx";
|
|
9
9
|
describe('Test Empty State component', () => {
|
|
@@ -70,9 +70,7 @@ describe('Test Empty State component', () => {
|
|
|
70
70
|
columnNumber: 9
|
|
71
71
|
}
|
|
72
72
|
})));
|
|
73
|
-
|
|
74
|
-
// @ts-ignore
|
|
75
|
-
expect(container == null || (_container$firstChild2 = container.firstChild) == null ? void 0 : _container$firstChild2.className).toContain('--mobile');
|
|
73
|
+
expect(container == null || (_container$firstChild2 = container.firstChild) == null || (_container$firstChild2 = _container$firstChild2.firstChild) == null ? void 0 : _container$firstChild2.className).toContain('--mobile');
|
|
76
74
|
});
|
|
77
75
|
});
|
|
78
76
|
//# sourceMappingURL=EmptyState.spec.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_react2","_EmptyState","_wixUiTpa","_jsxFileName","describe","it","_container$firstChild","getByText","container","render","default","createElement","mainTitle","description","className","__self","__source","fileName","lineNumber","columnNumber","expect","toBeTruthy","firstChild","toContain","_container$firstChild2","debug","TPAComponentsProvider","value","mobile"],"sources":["../../../../src/components/EmptyState/EmptyState.spec.tsx"],"sourcesContent":["import React from 'react';\nimport { render
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_react2","_EmptyState","_wixUiTpa","_jsxFileName","describe","it","_container$firstChild","getByText","container","render","default","createElement","mainTitle","description","className","__self","__source","fileName","lineNumber","columnNumber","expect","toBeTruthy","firstChild","toContain","_container$firstChild2","debug","TPAComponentsProvider","value","mobile"],"sources":["../../../../src/components/EmptyState/EmptyState.spec.tsx"],"sourcesContent":["import React from 'react';\nimport { render } from '@testing-library/react';\nimport EmptyState from './EmptyState';\nimport { TPAComponentsProvider } from 'wix-ui-tpa';\n\ndescribe('Test Empty State component', () => {\n it('renders properly', () => {\n const { getByText, container } = render(\n <EmptyState\n mainTitle={'Main title text'}\n description={'description test'}\n className={'CustomClass'}\n />,\n );\n\n expect(getByText('Main title text')).toBeTruthy();\n expect(getByText('description test')).toBeTruthy();\n\n // @ts-ignore\n expect(container?.firstChild?.className).toContain('CustomClass');\n });\n\n it('decodes properly', () => {\n const { getByText } = render(\n <EmptyState\n mainTitle={'Main title ≠'}\n description={'description ≠'}\n />,\n );\n\n expect(getByText('Main title ≠')).toBeTruthy();\n expect(getByText('description ≠')).toBeTruthy();\n });\n\n it('Mobile class added', () => {\n const { container, debug } = render(\n <TPAComponentsProvider value={{ mobile: true }}>\n <EmptyState mainTitle={'Main title'} description={'description'} />\n </TPAComponentsProvider>,\n );\n\n\n expect((container?.firstChild?.firstChild as HTMLElement)?.className)\n .toContain('--mobile');\n });\n});\n"],"mappings":";;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AAAmD,IAAAI,YAAA;AAEnDC,QAAQ,CAAC,4BAA4B,EAAE,MAAM;EAC3CC,EAAE,CAAC,kBAAkB,EAAE,MAAM;IAAA,IAAAC,qBAAA;IAC3B,MAAM;MAAEC,SAAS;MAAEC;IAAU,CAAC,GAAG,IAAAC,cAAM,eACrCZ,MAAA,CAAAa,OAAA,CAAAC,aAAA,CAACV,WAAA,CAAAS,OAAU;MACTE,SAAS,EAAE,iBAAkB;MAC7BC,WAAW,EAAE,kBAAmB;MAChCC,SAAS,EAAE,aAAc;MAAAC,MAAA;MAAAC,QAAA;QAAAC,QAAA,EAAAd,YAAA;QAAAe,UAAA;QAAAC,YAAA;MAAA;IAAA,CAC1B,CACH,CAAC;IAEDC,MAAM,CAACb,SAAS,CAAC,iBAAiB,CAAC,CAAC,CAACc,UAAU,CAAC,CAAC;IACjDD,MAAM,CAACb,SAAS,CAAC,kBAAkB,CAAC,CAAC,CAACc,UAAU,CAAC,CAAC;;IAElD;IACAD,MAAM,CAACZ,SAAS,aAAAF,qBAAA,GAATE,SAAS,CAAEc,UAAU,qBAArBhB,qBAAA,CAAuBQ,SAAS,CAAC,CAACS,SAAS,CAAC,aAAa,CAAC;EACnE,CAAC,CAAC;EAEFlB,EAAE,CAAC,kBAAkB,EAAE,MAAM;IAC3B,MAAM;MAAEE;IAAU,CA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 -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import EmptyState from './EmptyState
|
|
3
|
+
import EmptyState from './EmptyState';
|
|
4
4
|
import { TPAComponentsProvider } from 'wix-ui-tpa';
|
|
5
5
|
describe('Test Empty State component', () => {
|
|
6
6
|
it('renders properly', () => {
|
|
@@ -18,8 +18,8 @@ describe('Test Empty State component', () => {
|
|
|
18
18
|
it('Mobile class added', () => {
|
|
19
19
|
const { container, debug } = render(React.createElement(TPAComponentsProvider, { value: { mobile: true } },
|
|
20
20
|
React.createElement(EmptyState, { mainTitle: 'Main title', description: 'description' })));
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
expect(container?.firstChild?.firstChild?.className)
|
|
22
|
+
.toContain('--mobile');
|
|
23
23
|
});
|
|
24
24
|
});
|
|
25
25
|
//# sourceMappingURL=EmptyState.spec.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.spec.js","sourceRoot":"","sources":["../../../../src/components/EmptyState/EmptyState.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"EmptyState.spec.js","sourceRoot":"","sources":["../../../../src/components/EmptyState/EmptyState.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEnD,QAAQ,CAAC,4BAA4B,EAAE,GAAG,EAAE;IAC1C,EAAE,CAAC,kBAAkB,EAAE,GAAG,EAAE;QAC1B,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,MAAM,CACrC,oBAAC,UAAU,IACT,SAAS,EAAE,iBAAiB,EAC5B,WAA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modules/@wix/yoshi-style-dependencies/postcss-loader.js??ruleSet[1].rules[2].rules[2]!../../../node_modules/@wix/yoshi-style-dependencies/resolve-url-loader.js!../../../node_modules/@wix/yoshi-style-dependencies/sass-loader.js??ruleSet[1].rules[2].rules[4]!../../../node_modules/@wix/image/dist/esm/Image.scss ***!
|
|
3
|
-
|
|
4
|
-
.
|
|
1
|
+
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
2
|
+
!*** css ../../../node_modules/@wix/yoshi-style-dependencies/css-loader.js??ruleSet[1].rules[2].rules[1].oneOf[1]!../../../node_modules/@wix/yoshi-style-dependencies/postcss-loader.js??ruleSet[1].rules[2].rules[2]!../../../node_modules/@wix/yoshi-style-dependencies/resolve-url-loader.js!../../../node_modules/@wix/yoshi-style-dependencies/sass-loader.js??ruleSet[1].rules[2].rules[4]!../../../node_modules/@wix/image/dist/esm/Image.module.scss ***!
|
|
3
|
+
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
4
|
+
.fJUYip{display:block;width:100%;height:100%}.fJUYip img{max-width:var(--wix-img-max-width, 100%)}.fJUYip[data-animate-blur] img{filter:blur(9px);transition:filter .8s ease-in}.fJUYip[data-animate-blur] img[data-load-done]{filter:none}
|
|
5
5
|
|
|
6
6
|
/*# sourceMappingURL=entity-advanced-permissions.css.map*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-advanced-permissions.css","mappings":";;;AAAA,QACE,cACA,WACA,YAEA,YACE,yCAGF,+BACE,iBACA,8BAEA,+CACE,Y","sources":["webpack://_wix_entity_advanced_permissions/../../../node_modules/@wix/image/dist/esm/Image.scss"],"sourcesContent":[".image {\n display: block;\n width: 100%;\n height: 100%;\n\n img {\n max-width: var(--wix-img-max-width, 100%);\n }\n\n &[data-animate-blur] img {\n filter: blur(9px);\n transition: filter 0.8s ease-in;\n\n &[data-load-done] {\n filter: none;\n }\n }\n}\n"],"names":[],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"entity-advanced-permissions.css","mappings":";;;AAAA,QACE,cACA,WACA,YAEA,YACE,yCAGF,+BACE,iBACA,8BAEA,+CACE,Y","sources":["webpack://_wix_entity_advanced_permissions/../../../node_modules/@wix/image/dist/esm/Image.module.scss"],"sourcesContent":[".image {\n display: block;\n width: 100%;\n height: 100%;\n\n img {\n max-width: var(--wix-img-max-width, 100%);\n }\n\n &[data-animate-blur] img {\n filter: blur(9px);\n transition: filter 0.8s ease-in;\n\n &[data-load-done] {\n filter: none;\n }\n }\n}\n"],"names":[],"sourceRoot":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.fJUYip{display:block;height:100%;width:100%}.fJUYip img{max-width:var(--wix-img-max-width,100%)}.fJUYip[data-animate-blur] img{filter:blur(9px);transition:filter .8s ease-in}.fJUYip[data-animate-blur] img[data-load-done]{filter:none}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
!*** css ../../../node_modules/@wix/yoshi-style-dependencies/css-loader.js??ruleSet[1].rules[2].rules[1].oneOf[1]!../../../node_modules/@wix/yoshi-style-dependencies/postcss-loader.js??ruleSet[1].rules[2].rules[2]!../../../node_modules/@wix/yoshi-style-dependencies/resolve-url-loader.js!../../../node_modules/@wix/yoshi-style-dependencies/sass-loader.js??ruleSet[1].rules[2].rules[4]!../../../node_modules/@wix/image/dist/esm/Image.scss ***!
|
|
3
|
-
|
|
4
|
-
.
|
|
1
|
+
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
2
|
+
!*** css ../../../node_modules/@wix/yoshi-style-dependencies/css-loader.js??ruleSet[1].rules[2].rules[1].oneOf[1]!../../../node_modules/@wix/yoshi-style-dependencies/postcss-loader.js??ruleSet[1].rules[2].rules[2]!../../../node_modules/@wix/yoshi-style-dependencies/resolve-url-loader.js!../../../node_modules/@wix/yoshi-style-dependencies/sass-loader.js??ruleSet[1].rules[2].rules[4]!../../../node_modules/@wix/image/dist/esm/Image.module.scss ***!
|
|
3
|
+
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
4
|
+
.fJUYip{display:block;width:100%;height:100%}.fJUYip img{max-width:var(--wix-img-max-width, 100%)}.fJUYip[data-animate-blur] img{filter:blur(9px);transition:filter .8s ease-in}.fJUYip[data-animate-blur] img[data-load-done]{filter:none}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.fJUYip{display:block;height:100%;width:100%}.fJUYip img{max-width:var(--wix-img-max-width,100%)}.fJUYip[data-animate-blur] img{filter:blur(9px);transition:filter .8s ease-in}.fJUYip[data-animate-blur] img[data-load-done]{filter:none}
|