@pega/cosmos-react-core 9.0.0-build.9.5 → 9.0.0-build.9.7
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/lib/components/Dialog/InfoDialog.js +1 -1
- package/lib/components/Dialog/InfoDialog.js.map +1 -1
- package/lib/components/MetaList/MetaList.js +1 -1
- package/lib/components/MetaList/MetaList.js.map +1 -1
- package/lib/components/Popover/Popover.styles.d.ts.map +1 -1
- package/lib/components/Popover/Popover.styles.js +18 -1
- package/lib/components/Popover/Popover.styles.js.map +1 -1
- package/lib/components/Popover/modifiers.d.ts.map +1 -1
- package/lib/components/Popover/modifiers.js +10 -0
- package/lib/components/Popover/modifiers.js.map +1 -1
- package/lib/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/lib/components/Tooltip/Tooltip.js +3 -1
- package/lib/components/Tooltip/Tooltip.js.map +1 -1
- package/lib/hooks/useI18n.d.ts +3 -0
- package/lib/hooks/useI18n.d.ts.map +1 -1
- package/lib/i18n/default.d.ts +3 -0
- package/lib/i18n/default.d.ts.map +1 -1
- package/lib/i18n/default.js +3 -0
- package/lib/i18n/default.js.map +1 -1
- package/lib/i18n/i18n.d.ts +3 -0
- package/lib/i18n/i18n.d.ts.map +1 -1
- package/lib/styles/animations.d.ts +9 -0
- package/lib/styles/animations.d.ts.map +1 -0
- package/lib/styles/animations.js +78 -0
- package/lib/styles/animations.js.map +1 -0
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/index.d.ts.map +1 -1
- package/lib/styles/index.js +1 -0
- package/lib/styles/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animations.d.ts","sourceRoot":"","sources":["../../src/styles/animations.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,uCAQlB,CAAC;AAEF,eAAO,MAAM,aAAa,uCAQzB,CAAC;AAEF,eAAO,MAAM,WAAW,uCAQvB,CAAC;AAEF,eAAO,MAAM,aAAa,uCAQzB,CAAC;AAEF,eAAO,MAAM,WAAW,uCAQvB,CAAC;AAEF,eAAO,MAAM,OAAO,uCAQnB,CAAC;AAEF,eAAO,MAAM,QAAQ,uCAQpB,CAAC;AAEF,eAAO,MAAM,aAAa,oIAYzB,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { css, keyframes } from 'styled-components';
|
|
2
|
+
export const reveal = keyframes `
|
|
3
|
+
from {
|
|
4
|
+
opacity: 0;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
to {
|
|
8
|
+
opacity: 1;
|
|
9
|
+
}
|
|
10
|
+
`;
|
|
11
|
+
export const slideInXStart = keyframes `
|
|
12
|
+
from {
|
|
13
|
+
translate: var(--slide-in-x-start-offset, -1rem) 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
to {
|
|
17
|
+
translate: 0 0;
|
|
18
|
+
}
|
|
19
|
+
`;
|
|
20
|
+
export const slideInXEnd = keyframes `
|
|
21
|
+
from {
|
|
22
|
+
translate: var(--slide-in-x-end-offset, 1rem) 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
to {
|
|
26
|
+
translate: 0 0;
|
|
27
|
+
}
|
|
28
|
+
`;
|
|
29
|
+
export const slideInYStart = keyframes `
|
|
30
|
+
from {
|
|
31
|
+
translate: 0 var(--slide-in-y-start-offset, -1rem);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
to {
|
|
35
|
+
translate: 0 0;
|
|
36
|
+
}
|
|
37
|
+
`;
|
|
38
|
+
export const slideInYEnd = keyframes `
|
|
39
|
+
from {
|
|
40
|
+
translate: 0 var(--slide-in-y-end-offset, 1rem);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
to {
|
|
44
|
+
translate: 0 0;
|
|
45
|
+
}
|
|
46
|
+
`;
|
|
47
|
+
export const scaleIn = keyframes `
|
|
48
|
+
from {
|
|
49
|
+
scale: var(--scale-in-size, 0);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
to {
|
|
53
|
+
scale: 1;
|
|
54
|
+
}
|
|
55
|
+
`;
|
|
56
|
+
export const scaleOut = keyframes `
|
|
57
|
+
from {
|
|
58
|
+
scale: 1;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
to {
|
|
62
|
+
scale: var(--scale-out-size, 0);
|
|
63
|
+
}
|
|
64
|
+
`;
|
|
65
|
+
export const subProperties = css `
|
|
66
|
+
${({ theme }) => {
|
|
67
|
+
return css `
|
|
68
|
+
animation-duration: var(--animation-duration, ${theme.base.animation.speed});
|
|
69
|
+
animation-delay: var(--animation-delay, 0);
|
|
70
|
+
animation-fill-mode: var(--animation-fill-mode, both);
|
|
71
|
+
animation-timing-function: var(
|
|
72
|
+
--animation-timing-function,
|
|
73
|
+
${theme.base.animation.timing.ease}
|
|
74
|
+
);
|
|
75
|
+
`;
|
|
76
|
+
}}
|
|
77
|
+
`;
|
|
78
|
+
//# sourceMappingURL=animations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animations.js","sourceRoot":"","sources":["../../src/styles/animations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,CAAC,MAAM,MAAM,GAAG,SAAS,CAAA;;;;;;;;CAQ9B,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,SAAS,CAAA;;;;;;;;CAQrC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,SAAS,CAAA;;;;;;;;CAQnC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,SAAS,CAAA;;;;;;;;CAQrC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,SAAS,CAAA;;;;;;;;CAQnC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAA;;;;;;;;CAQ/B,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,SAAS,CAAA;;;;;;;;CAQhC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAA;IAC5B,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IACd,OAAO,GAAG,CAAA;sDACwC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK;;;;;UAKtE,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI;;KAErC,CAAC;AACJ,CAAC;CACF,CAAC","sourcesContent":["import { css, keyframes } from 'styled-components';\n\nexport const reveal = keyframes`\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n`;\n\nexport const slideInXStart = keyframes`\n from {\n translate: var(--slide-in-x-start-offset, -1rem) 0;\n }\n\n to {\n translate: 0 0;\n }\n`;\n\nexport const slideInXEnd = keyframes`\n from {\n translate: var(--slide-in-x-end-offset, 1rem) 0;\n }\n\n to {\n translate: 0 0;\n }\n`;\n\nexport const slideInYStart = keyframes`\n from {\n translate: 0 var(--slide-in-y-start-offset, -1rem);\n }\n\n to {\n translate: 0 0;\n }\n`;\n\nexport const slideInYEnd = keyframes`\n from {\n translate: 0 var(--slide-in-y-end-offset, 1rem);\n }\n\n to {\n translate: 0 0;\n }\n`;\n\nexport const scaleIn = keyframes`\n from {\n scale: var(--scale-in-size, 0);\n }\n\n to {\n scale: 1;\n }\n`;\n\nexport const scaleOut = keyframes`\n from {\n scale: 1;\n }\n\n to {\n scale: var(--scale-out-size, 0);\n }\n`;\n\nexport const subProperties = css`\n ${({ theme }) => {\n return css`\n animation-duration: var(--animation-duration, ${theme.base.animation.speed});\n animation-delay: var(--animation-delay, 0);\n animation-fill-mode: var(--animation-fill-mode, both);\n animation-timing-function: var(\n --animation-timing-function,\n ${theme.base.animation.timing.ease}\n );\n `;\n }}\n`;\n"]}
|
package/lib/styles/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC"}
|
package/lib/styles/index.js
CHANGED
package/lib/styles/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC","sourcesContent":["export * from './utils';\nexport * from './gradients';\nexport { default as GlobalStyle } from './GlobalStyle';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC","sourcesContent":["export * from './utils';\nexport * from './gradients';\nexport { default as GlobalStyle } from './GlobalStyle';\nexport * as animations from './animations';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pega/cosmos-react-core",
|
|
3
|
-
"version": "9.0.0-build.9.
|
|
3
|
+
"version": "9.0.0-build.9.7",
|
|
4
4
|
"description": "Cosmos is a visual design system and UI component collection. Its goal is to empower application developers in their pursuit to create engaging and rewarding user experiences.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": "Pegasystems",
|