@telefonica/mistica 11.5.1 → 11.8.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.
Files changed (49) hide show
  1. package/dist/button.d.ts +1 -0
  2. package/dist/button.js +40 -12
  3. package/dist/button.js.flow +1 -0
  4. package/dist/image.d.ts +3 -1
  5. package/dist/image.js +76 -11
  6. package/dist/image.js.flow +3 -1
  7. package/dist/index.d.ts +1 -0
  8. package/dist/index.js +13 -0
  9. package/dist/index.js.flow +1 -0
  10. package/dist/package-version.js +1 -1
  11. package/dist/password-field.js +9 -8
  12. package/dist/responsive-layout.js +3 -1
  13. package/dist/section-title.d.ts +3 -0
  14. package/dist/section-title.js +3 -1
  15. package/dist/section-title.js.flow +3 -0
  16. package/dist/text-link.js +18 -5
  17. package/dist/theme-context-provider.js +2 -1
  18. package/dist/theme.d.ts +2 -0
  19. package/dist/theme.js.flow +2 -0
  20. package/dist/title.d.ts +13 -0
  21. package/dist/title.js +87 -0
  22. package/dist/title.js.flow +18 -0
  23. package/dist/utils/analytics.d.ts +3 -0
  24. package/dist/utils/analytics.js +5 -1
  25. package/dist/utils/analytics.js.flow +3 -0
  26. package/dist/video.d.ts +1 -1
  27. package/dist/video.js +8 -6
  28. package/dist/video.js.flow +1 -1
  29. package/dist-es/button.js +41 -13
  30. package/dist-es/image.js +77 -11
  31. package/dist-es/index.js +1 -0
  32. package/dist-es/package-version.js +1 -1
  33. package/dist-es/password-field.js +9 -8
  34. package/dist-es/responsive-layout.js +3 -1
  35. package/dist-es/section-title.js +3 -1
  36. package/dist-es/text-link.js +19 -6
  37. package/dist-es/theme-context-provider.js +2 -1
  38. package/dist-es/title.js +54 -0
  39. package/dist-es/utils/analytics.js +5 -0
  40. package/dist-es/video.js +8 -6
  41. package/package.json +3 -3
  42. package/dist/icons/icon-visibility-off.d.ts +0 -7
  43. package/dist/icons/icon-visibility-off.js +0 -49
  44. package/dist/icons/icon-visibility-off.js.flow +0 -9
  45. package/dist/icons/icon-visibility.d.ts +0 -7
  46. package/dist/icons/icon-visibility.js +0 -49
  47. package/dist/icons/icon-visibility.js.flow +0 -9
  48. package/dist-es/icons/icon-visibility-off.js +0 -22
  49. package/dist-es/icons/icon-visibility.js +0 -22
@@ -1,49 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- exports.default = void 0;
6
- var _jsxRuntime = require("react/jsx-runtime");
7
- var React = _interopRequireWildcard(require("react"));
8
- function _interopRequireWildcard(obj) {
9
- if (obj && obj.__esModule) {
10
- return obj;
11
- } else {
12
- var newObj = {};
13
- if (obj != null) {
14
- for(var key in obj){
15
- if (Object.prototype.hasOwnProperty.call(obj, key)) {
16
- var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {};
17
- if (desc.get || desc.set) {
18
- Object.defineProperty(newObj, key, desc);
19
- } else {
20
- newObj[key] = obj[key];
21
- }
22
- }
23
- }
24
- }
25
- newObj.default = obj;
26
- return newObj;
27
- }
28
- }
29
- var IconVisibilityOff = function IconVisibilityOff(param) {
30
- var _role = param.role, role = _role === void 0 ? "presentation" : _role, _size = param.size, size = _size === void 0 ? 24 : _size;
31
- return /*#__PURE__*/ (0, _jsxRuntime).jsxs("svg", {
32
- role: role,
33
- width: size,
34
- height: size,
35
- viewBox: "0 0 ".concat(size, " ").concat(size),
36
- children: [
37
- /*#__PURE__*/ (0, _jsxRuntime).jsx("path", {
38
- d: "M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",
39
- fill: "none"
40
- }),
41
- /*#__PURE__*/ (0, _jsxRuntime).jsx("path", {
42
- fill: "#757575",
43
- d: "M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"
44
- })
45
- ]
46
- });
47
- };
48
- var _default = IconVisibilityOff;
49
- exports.default = _default;
@@ -1,9 +0,0 @@
1
- // @flow
2
-
3
- import * as React from "react";
4
- declare type Props = {
5
- role?: string,
6
- size?: number,
7
- };
8
- declare var IconVisibilityOff: React.ComponentType<Props>;
9
- declare export default typeof IconVisibilityOff;
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- declare type Props = {
3
- role?: string;
4
- size?: number;
5
- };
6
- declare const IconVisibility: React.FC<Props>;
7
- export default IconVisibility;
@@ -1,49 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- exports.default = void 0;
6
- var _jsxRuntime = require("react/jsx-runtime");
7
- var React = _interopRequireWildcard(require("react"));
8
- function _interopRequireWildcard(obj) {
9
- if (obj && obj.__esModule) {
10
- return obj;
11
- } else {
12
- var newObj = {};
13
- if (obj != null) {
14
- for(var key in obj){
15
- if (Object.prototype.hasOwnProperty.call(obj, key)) {
16
- var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {};
17
- if (desc.get || desc.set) {
18
- Object.defineProperty(newObj, key, desc);
19
- } else {
20
- newObj[key] = obj[key];
21
- }
22
- }
23
- }
24
- }
25
- newObj.default = obj;
26
- return newObj;
27
- }
28
- }
29
- var IconVisibility = function IconVisibility(param) {
30
- var _role = param.role, role = _role === void 0 ? "presentation" : _role, _size = param.size, size = _size === void 0 ? 24 : _size;
31
- return /*#__PURE__*/ (0, _jsxRuntime).jsxs("svg", {
32
- role: role,
33
- width: size,
34
- height: size,
35
- viewBox: "0 0 ".concat(size, " ").concat(size),
36
- children: [
37
- /*#__PURE__*/ (0, _jsxRuntime).jsx("path", {
38
- d: "M0 0h24v24H0z",
39
- fill: "none"
40
- }),
41
- /*#__PURE__*/ (0, _jsxRuntime).jsx("path", {
42
- fill: "#757575",
43
- d: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"
44
- })
45
- ]
46
- });
47
- };
48
- var _default = IconVisibility;
49
- exports.default = _default;
@@ -1,9 +0,0 @@
1
- // @flow
2
-
3
- import * as React from "react";
4
- declare type Props = {
5
- role?: string,
6
- size?: number,
7
- };
8
- declare var IconVisibility: React.ComponentType<Props>;
9
- declare export default typeof IconVisibility;
@@ -1,22 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import * as React from "react";
3
- var IconVisibilityOff = function(param) {
4
- var _role = param.role, role = _role === void 0 ? "presentation" : _role, _size = param.size, size = _size === void 0 ? 24 : _size;
5
- return /*#__PURE__*/ _jsxs("svg", {
6
- role: role,
7
- width: size,
8
- height: size,
9
- viewBox: "0 0 ".concat(size, " ").concat(size),
10
- children: [
11
- /*#__PURE__*/ _jsx("path", {
12
- d: "M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",
13
- fill: "none"
14
- }),
15
- /*#__PURE__*/ _jsx("path", {
16
- fill: "#757575",
17
- d: "M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"
18
- })
19
- ]
20
- });
21
- };
22
- export default IconVisibilityOff;
@@ -1,22 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import * as React from "react";
3
- var IconVisibility = function(param) {
4
- var _role = param.role, role = _role === void 0 ? "presentation" : _role, _size = param.size, size = _size === void 0 ? 24 : _size;
5
- return /*#__PURE__*/ _jsxs("svg", {
6
- role: role,
7
- width: size,
8
- height: size,
9
- viewBox: "0 0 ".concat(size, " ").concat(size),
10
- children: [
11
- /*#__PURE__*/ _jsx("path", {
12
- d: "M0 0h24v24H0z",
13
- fill: "none"
14
- }),
15
- /*#__PURE__*/ _jsx("path", {
16
- fill: "#757575",
17
- d: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"
18
- })
19
- ]
20
- });
21
- };
22
- export default IconVisibility;