@pega/cosmos-react-core 9.0.0-build.17.7 → 9.0.0-build.17.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/lib/components/AppShell/AppShell.d.ts.map +1 -1
- package/lib/components/AppShell/AppShell.js +8 -14
- package/lib/components/AppShell/AppShell.js.map +1 -1
- package/lib/components/AppShell/AppShell.styles.d.ts +1 -3
- package/lib/components/AppShell/AppShell.styles.d.ts.map +1 -1
- package/lib/components/AppShell/AppShell.styles.js +16 -23
- package/lib/components/AppShell/AppShell.styles.js.map +1 -1
- package/lib/components/Icon/streamline-icons/check-polaris-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/check-polaris-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/check-polaris-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/check-polaris-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/user-polaris-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/user-polaris-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/user-polaris-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/user-polaris-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamlineIconNames.d.ts +1 -1
- package/lib/components/Icon/streamlineIconNames.d.ts.map +1 -1
- package/lib/components/Icon/streamlineIconNames.js +2 -0
- package/lib/components/Icon/streamlineIconNames.js.map +1 -1
- package/lib/components/Popover/Popover.d.ts.map +1 -1
- package/lib/components/Popover/Popover.js +2 -2
- package/lib/components/Popover/Popover.js.map +1 -1
- package/lib/hooks/useI18n.d.ts +1 -0
- package/lib/hooks/useI18n.d.ts.map +1 -1
- package/lib/i18n/default.d.ts +1 -0
- package/lib/i18n/default.d.ts.map +1 -1
- package/lib/i18n/default.js +1 -0
- package/lib/i18n/default.js.map +1 -1
- package/lib/i18n/i18n.d.ts +1 -0
- package/lib/i18n/i18n.d.ts.map +1 -1
- package/lib/utils/getAllPopovers.d.ts.map +1 -1
- package/lib/utils/getAllPopovers.js +2 -1
- package/lib/utils/getAllPopovers.js.map +1 -1
- package/package.json +1 -1
package/lib/i18n/i18n.d.ts
CHANGED
|
@@ -1614,6 +1614,7 @@ export declare const DefaultTranslation: Readonly<Readonly<{
|
|
|
1614
1614
|
invalid_rule: string;
|
|
1615
1615
|
invalid_rule_non_relevant_record: string;
|
|
1616
1616
|
infinity_stack_overflow_error: string;
|
|
1617
|
+
preview_failed: string;
|
|
1617
1618
|
decision_table_description: string;
|
|
1618
1619
|
decision_table_empty_state: string;
|
|
1619
1620
|
decision_table_add_column: string;
|
package/lib/i18n/i18n.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/i18n/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,WAAW,CAAC;AAE3C,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAClE,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE7D,QAAA,MAAM,MAAM,GAAI,eAAe,WAAW,KAAG,QAAQ,CAAC,eAAe,CAEpE,CAAC;AACF,eAAe,MAAM,CAAC;AAEtB,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/i18n/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,WAAW,CAAC;AAE3C,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAClE,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE7D,QAAA,MAAM,MAAM,GAAI,eAAe,WAAW,KAAG,QAAQ,CAAC,eAAe,CAEpE,CAAC;AACF,eAAe,MAAM,CAAC;AAEtB,eAAO,MAAM,kB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAW,CAAC;AAiB3C,eAAO,MAAM,SAAS,GAAI,WAAW,MAAM,KAAG,KAAK,GAAG,KAErD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAllPopovers.d.ts","sourceRoot":"","sources":["../../src/utils/getAllPopovers.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"getAllPopovers.d.ts","sourceRoot":"","sources":["../../src/utils/getAllPopovers.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,CAAC;AAIjB,OAAO,QAAQ,SAAS,CAAC;IACvB,UAAiB,aAAa;QAC5B,UAAU,EAAE,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;KAC3C;CACF;AAMD,eAAO,MAAM,UAAU,+BAEgB,CAAC;AAExC,QAAA,MAAM,cAAc,GAAI,QAAQ,UAAU,KAAG,OAAO,EAkBnD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import '../init';
|
|
2
|
+
import isInstance from './isInstance';
|
|
2
3
|
import windowIsAvailable from './windowIsAvailable';
|
|
3
4
|
if (windowIsAvailable) {
|
|
4
5
|
window.cosmos.popoverMap ??= new WeakMap();
|
|
@@ -8,7 +9,7 @@ export const popoverMap = windowIsAvailable
|
|
|
8
9
|
: new WeakMap();
|
|
9
10
|
const getAllPopovers = (parent) => {
|
|
10
11
|
const rootNode = parent.getRootNode();
|
|
11
|
-
if (!(rootNode
|
|
12
|
+
if (!isInstance(rootNode, Document, DocumentFragment))
|
|
12
13
|
return [];
|
|
13
14
|
const popoverTargets = [...parent.querySelectorAll('[data-popover-target]')];
|
|
14
15
|
return popoverTargets.flatMap(el => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAllPopovers.js","sourceRoot":"","sources":["../../src/utils/getAllPopovers.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,CAAC;AACjB,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAQpD,IAAI,iBAAiB,EAAE,CAAC;IACtB,MAAM,CAAC,MAAM,CAAC,UAAU,KAAK,IAAI,OAAO,EAAwB,CAAC;AACnE,CAAC;AAED,MAAM,CAAC,MAAM,UAAU,GAAG,iBAAiB;IACzC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU;IAC1B,CAAC,CAAC,IAAI,OAAO,EAAwB,CAAC;AAExC,MAAM,cAAc,GAAG,CAAC,MAAkB,EAAa,EAAE;IACvD,MAAM,QAAQ,GAAG,MAAM,CAAC,WAAW,EAAE,CAAC;IAEtC,IAAI,C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,CAAC,CAAC,OAAO,EAAE,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC7F,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC","sourcesContent":["import '../init';\nimport isInstance from './isInstance';\nimport windowIsAvailable from './windowIsAvailable';\n\ndeclare module '../init' {\n export interface CosmosGlobals {\n popoverMap: WeakMap<Element, Set<string>>;\n }\n}\n\nif (windowIsAvailable) {\n window.cosmos.popoverMap ??= new WeakMap<Element, Set<string>>();\n}\n\nexport const popoverMap = windowIsAvailable\n ? window.cosmos.popoverMap\n : new WeakMap<Element, Set<string>>();\n\nconst getAllPopovers = (parent: ParentNode): Element[] => {\n const rootNode = parent.getRootNode();\n\n if (!isInstance(rootNode, Document, DocumentFragment)) return [];\n\n const popoverTargets = [...parent.querySelectorAll('[data-popover-target]')];\n\n return popoverTargets.flatMap(el => {\n if (!popoverMap.has(el)) return [];\n\n const pointerIds = popoverMap.get(el)!;\n\n const popovers = [...pointerIds].map(id =>\n rootNode.querySelector(`[data-popover-id=\"${id.replace(/\"/g, '\\\\\"')}\"]`)\n );\n\n return popovers.flatMap(popover => (popover ? [popover, ...getAllPopovers(popover)] : []));\n });\n};\n\nexport default getAllPopovers;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pega/cosmos-react-core",
|
|
3
|
-
"version": "9.0.0-build.17.
|
|
3
|
+
"version": "9.0.0-build.17.9",
|
|
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",
|