@oracle/oraclejet-webdriver 20.1.2 → 21.0.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 (28) hide show
  1. package/bin/generate +100 -21
  2. package/elements/oj-action-card/OjActionCard.d.ts +0 -10
  3. package/elements/oj-action-card/OjActionCard.js +0 -10
  4. package/elements/oj-action-card/OjActionCard.js.map +1 -1
  5. package/elements/oj-diagram/OjDiagramBase.d.ts +4 -0
  6. package/elements/oj-list-view/OjListView.js +1 -1
  7. package/elements/oj-list-view/OjListView.js.map +1 -1
  8. package/elements/oj-picto-chart/OjPictoChart.d.ts +10 -0
  9. package/elements/oj-picto-chart/OjPictoChart.js +10 -0
  10. package/elements/oj-picto-chart/OjPictoChart.js.map +1 -1
  11. package/elements/oj-picto-chart/OjPictoChartBase.d.ts +1 -1
  12. package/elements/oj-picto-chart/OjPictoChartBase.js +1 -1
  13. package/elements/oj-switch/OjSwitchBase.d.ts +2 -0
  14. package/elements/oj-train/OjTrainBase.d.ts +11 -0
  15. package/package.json +4 -4
  16. package/src/elements/oj-action-card/OjActionCard.ts +0 -11
  17. package/src/elements/oj-diagram/OjDiagramBase.ts +4 -0
  18. package/src/elements/oj-list-view/OjListView.ts +1 -1
  19. package/src/elements/oj-picto-chart/OjPictoChart.ts +10 -0
  20. package/src/elements/oj-picto-chart/OjPictoChartBase.ts +1 -1
  21. package/src/elements/oj-switch/OjSwitchBase.ts +2 -0
  22. package/src/elements/oj-train/OjTrainBase.ts +11 -0
  23. package/wdtsdoc/classes/elements.OjActionCard.html +1 -6
  24. package/wdtsdoc/classes/elements.OjPictoChart.html +10 -4
  25. package/wdtsdoc/classes/elements._internal_.OjPictoChartBase.html +4 -3
  26. package/wdtsdoc/interfaces/elements._internal_.Overview-1.html +15 -11
  27. package/wdtsdoc/interfaces/elements._internal_.Translations-47.html +7 -5
  28. package/wdtsdoc/interfaces/elements._internal_.Translations-55.html +34 -23
package/bin/generate CHANGED
@@ -37,6 +37,9 @@ const RESERVED_PROPS = {
37
37
 
38
38
  const PARAM_TYPE_REGEX = /([a-z]+)<(.+?>*)>/i;
39
39
  const PARAM_TYPE_ALL_REGEX = /([a-z]+)<(.+?>*)>/gi;
40
+ const METADATA_NAME_REGEX = /^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/;
41
+ const TYPESCRIPT_IDENTIFIER_REGEX = /^[A-Za-z_$][A-Za-z0-9_$]*$/;
42
+ const VERSION_REGEX = /^[0-9A-Za-z][0-9A-Za-z.+-]*$/;
40
43
 
41
44
  let args = [...process.argv];
42
45
  // Read CLI args
@@ -91,6 +94,7 @@ if (!mdPath) {
91
94
  (async function () {
92
95
  const mdContents = await getMetadata(mdPath);
93
96
  const md = JSON.parse(mdContents);
97
+ validateMetadata(md);
94
98
  const packName = md.pack;
95
99
  const name = md.name;
96
100
  const fullName = packName ? `${packName}-${name}` : name;
@@ -116,13 +120,15 @@ if (!mdPath) {
116
120
  }
117
121
 
118
122
  // Package output dir is CCA's name
119
- pkgDir += path.sep + name;
123
+ const outputRoot = path.resolve(pkgDir);
124
+ pkgDir = getSafeChildPath(outputRoot, name, 'component output directory');
120
125
  mkDirParents(pkgDir);
121
126
 
122
127
  // Create baseclass.ts content
123
128
  let content = [];
124
129
  let types = [];
125
130
  Object.keys(properties || {}).forEach((propName) => {
131
+ assertTypeScriptIdentifier(propName, 'metadata property name');
126
132
  const property = properties[propName];
127
133
  const typeDef = getTypeDefinition(propName, property);
128
134
  let type = typeDef.type;
@@ -226,20 +232,27 @@ function getDetailsFromType(typeValue) {
226
232
  let nestedTypes;
227
233
  const nested = types.match(PARAM_TYPE_ALL_REGEX);
228
234
  if (nested) {
229
- nestedTypes = [getTypesInOrder(
230
- types,
231
- nested.map(getDetailsFromType).reduce((accum, t) => accum.concat(t), []),
232
- ','
233
- ).map(getTypeFromDetail).join(',')]
235
+ nestedTypes = [
236
+ getTypesInOrder(
237
+ types,
238
+ nested.map(getDetailsFromType).reduce((accum, t) => accum.concat(t), []),
239
+ ','
240
+ )
241
+ .map(getTypeFromDetail)
242
+ .join(',')
243
+ ];
234
244
  }
235
245
  return {
236
246
  type: generic,
237
- params: nested ? nestedTypes : types
247
+ params: nested
248
+ ? nestedTypes
249
+ : types
238
250
  // remove parens around params "Array<(string|DvtTimeComponentScale)>"
239
251
  .replace(/[\(\)]/g, '')
240
252
  .split('|')
241
253
  // sanitized type params will use 'unknown' for unknown types
242
- .map(getSanitizedType).map(t => t || 'unknown')
254
+ .map(getSanitizedType)
255
+ .map((t) => t || 'unknown')
243
256
  .filter(Boolean),
244
257
  original: pt
245
258
  };
@@ -317,7 +330,10 @@ function getSanitizedType(origType) {
317
330
  // handle multi-key types "string, string" used by generics
318
331
  const keys = origType.split(',').map((s) => s.trim());
319
332
  // Check against KNOWN_TYPES for mapped data type
320
- return keys.map((k) => KNOWN_TYPES[k.toLowerCase()]).filter(Boolean).join(',');
333
+ return keys
334
+ .map((k) => KNOWN_TYPES[k.toLowerCase()])
335
+ .filter(Boolean)
336
+ .join(',');
321
337
  }
322
338
 
323
339
  /**
@@ -346,6 +362,7 @@ function getObjectType(name, type, props) {
346
362
  let nestedDecl = [];
347
363
  // Iterate through all property types and build their definitions
348
364
  Object.keys(typeProps).forEach((propName) => {
365
+ assertTypeScriptIdentifier(propName, 'metadata property name');
349
366
  const prop = typeProps[propName];
350
367
  const desc = getHTMLEscapedText(prop.description) || '';
351
368
  const types = getDetailsFromType(prop.type);
@@ -407,7 +424,11 @@ function getProperty(propName, obj) {
407
424
  * @return {string} The HTML-sanitized text
408
425
  */
409
426
  function getHTMLEscapedText(text) {
410
- text = (text || '').replace(/</g, '&lt;');
427
+ text = (text || '')
428
+ .replace(/</g, '&lt;')
429
+ .replace(/\*\//g, '* /')
430
+ .replace(/\r\n?/g, '\n')
431
+ .replace(/\n/g, '\n * ');
411
432
  return text;
412
433
  }
413
434
 
@@ -550,7 +571,9 @@ function getDeprecation(property) {
550
571
  // Property getter deprecation can only apply when there's 1 status
551
572
  // and no target (applies to entire property)
552
573
  if (statuses && statuses.length === 1 && !status.target && status.type === 'deprecated') {
553
- return `@deprecated Since ${status.since}. ${status.description}`;
574
+ return `@deprecated Since ${getHTMLEscapedText(status.since)}. ${getHTMLEscapedText(
575
+ status.description
576
+ )}`;
554
577
  }
555
578
  return '';
556
579
  }
@@ -584,6 +607,7 @@ function isMutable(property) {
584
607
  */
585
608
  function copy(templateName, dest, filters) {
586
609
  let contents = getTemplate(templateName, filters);
610
+ assertPathInside(pkgDir, dest, 'generated output file');
587
611
  fs.writeFileSync(dest, contents, { mode: 0o644 });
588
612
  }
589
613
 
@@ -601,19 +625,74 @@ function getTemplate(templateName, filters) {
601
625
  srcFile = path.join(defaultTemplates, templateName);
602
626
  }
603
627
  let contents = fs.readFileSync(srcFile, 'utf8');
604
- Object.keys(filters || {}).forEach(function (key) {
605
- // Use function to return 'val' to prevent values containing RegExp
606
- // patterns like "$&" from repeating the key
607
- function val() {
608
- return filters[key];
609
- }
610
- while (contents.indexOf(key) > -1) {
611
- contents = contents.replace(key, val);
612
- }
613
- });
628
+ const filterKeys = Object.keys(filters || {});
629
+ if (filterKeys.length) {
630
+ const tokenRegex = new RegExp(filterKeys.map(escapeRegExp).join('|'), 'g');
631
+ contents = contents.replace(tokenRegex, (token) => filters[token]);
632
+ }
614
633
  return contents;
615
634
  }
616
635
 
636
+ function escapeRegExp(value) {
637
+ return value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
638
+ }
639
+
640
+ function validateMetadata(md) {
641
+ assertMetadataName(md.name, 'metadata name');
642
+ if (md.pack !== undefined) {
643
+ assertMetadataName(md.pack, 'metadata pack name');
644
+ }
645
+ if (md.version !== undefined) {
646
+ assertSafeVersion(md.version);
647
+ }
648
+ validateProperties(md.properties, 'metadata properties');
649
+ }
650
+
651
+ function validateProperties(properties, label) {
652
+ Object.keys(properties || {}).forEach((propName) => {
653
+ assertTypeScriptIdentifier(propName, `${label}.${propName}`);
654
+ const property = properties[propName];
655
+ validateProperties(property && property.properties, `${label}.${propName}.properties`);
656
+ validateProperties(
657
+ getProperty('extension.vbdt.itemProperties', property),
658
+ `${label}.${propName}.extension.vbdt.itemProperties`
659
+ );
660
+ });
661
+ }
662
+
663
+ function assertMetadataName(name, label) {
664
+ if (typeof name !== 'string' || !METADATA_NAME_REGEX.test(name)) {
665
+ throw new Error(`${label} must be a lowercase dash-separated metadata name.`);
666
+ }
667
+ }
668
+
669
+ function assertSafeVersion(version) {
670
+ if (typeof version !== 'string' || !VERSION_REGEX.test(version)) {
671
+ throw new Error('metadata version contains unsupported characters.');
672
+ }
673
+ }
674
+
675
+ function assertTypeScriptIdentifier(identifier, label) {
676
+ if (typeof identifier !== 'string' || !TYPESCRIPT_IDENTIFIER_REGEX.test(identifier)) {
677
+ throw new Error(`${label} must be a valid TypeScript identifier.`);
678
+ }
679
+ }
680
+
681
+ function getSafeChildPath(parent, child, label) {
682
+ const dest = path.resolve(parent, child);
683
+ assertPathInside(parent, dest, label);
684
+ return dest;
685
+ }
686
+
687
+ function assertPathInside(parent, target, label) {
688
+ const parentPath = path.resolve(parent);
689
+ const targetPath = path.resolve(target);
690
+ const relative = path.relative(parentPath, targetPath);
691
+ if (relative === '' || relative.startsWith('..') || path.isAbsolute(relative)) {
692
+ throw new Error(`${label} must stay inside ${parentPath}.`);
693
+ }
694
+ }
695
+
617
696
  /**
618
697
  * Get the metadata given the metadata path. If the path is "-", read from stdin.
619
698
  * @param {string} mdPath The path to the metadata. Can be a file path or stdin.
@@ -4,16 +4,6 @@ import { OjActionCardBase } from './OjActionCardBase';
4
4
  * Do not instantiate this class directly, instead, use
5
5
  * [ojActionCard](../functions/elements.ojActionCard-1.html).
6
6
  */
7
- /**
8
- * The component WebElement for [oj-action-card](../../jsdocs/oj.ojActionCard.html).
9
- * Do not instantiate this class directly, instead, use
10
- * [ojActionCard](../functions/elements.ojActionCard-1.html).
11
- * <h4>Migration</h4>
12
- * When you migrate a page from using [oj-action-card](../../jsdocs/oj.ojActionCard.html) to [oj-c-action-card](../../jsdocs/oj-c.ActionCard.html) you will also need to migrate your WebDriver tests from OjActionCard to ActionCardWebElement. To do that you will need to revise type and locator instances as follows
13
- * </br><b>Type:</b> from OjActionCard to [ActionCardWebElement](../../cpwdtsdoc/classes/ActionCardWebElement.html)
14
- * </br><b>Locator:</b> from [ojActionCard](../functions/elements.ojActionCard-1.html) to [findActionCard](../../cpwdtsdoc/functions/findActionCard.html)
15
- * </br>For more details on migrating from legacy to core pack please see component's [migration section](../../jsdocs/oj.ojActionCard.html#migration-section)
16
- */
17
7
  export declare class OjActionCard extends OjActionCardBase {
18
8
  /**
19
9
  * Perform a click on the card
@@ -7,16 +7,6 @@ const OjActionCardBase_1 = require("./OjActionCardBase");
7
7
  * Do not instantiate this class directly, instead, use
8
8
  * [ojActionCard](../functions/elements.ojActionCard-1.html).
9
9
  */
10
- /**
11
- * The component WebElement for [oj-action-card](../../jsdocs/oj.ojActionCard.html).
12
- * Do not instantiate this class directly, instead, use
13
- * [ojActionCard](../functions/elements.ojActionCard-1.html).
14
- * <h4>Migration</h4>
15
- * When you migrate a page from using [oj-action-card](../../jsdocs/oj.ojActionCard.html) to [oj-c-action-card](../../jsdocs/oj-c.ActionCard.html) you will also need to migrate your WebDriver tests from OjActionCard to ActionCardWebElement. To do that you will need to revise type and locator instances as follows
16
- * </br><b>Type:</b> from OjActionCard to [ActionCardWebElement](../../cpwdtsdoc/classes/ActionCardWebElement.html)
17
- * </br><b>Locator:</b> from [ojActionCard](../functions/elements.ojActionCard-1.html) to [findActionCard](../../cpwdtsdoc/functions/findActionCard.html)
18
- * </br>For more details on migrating from legacy to core pack please see component's [migration section](../../jsdocs/oj.ojActionCard.html#migration-section)
19
- */
20
10
  class OjActionCard extends OjActionCardBase_1.OjActionCardBase {
21
11
  /**
22
12
  * Perform a click on the card
@@ -1 +1 @@
1
- {"version":3,"file":"OjActionCard.js","sourceRoot":"","sources":["../../src/elements/oj-action-card/OjActionCard.ts"],"names":[],"mappings":";;;AAAA,yDAAsD;AAEtD;;;;GAIG;AAEH;;;;;;;;;GASG;AACH,MAAa,YAAa,SAAQ,mCAAgB;IAChD;;OAEG;IACH,QAAQ;QACN,OAAO,IAAI,CAAC,KAAK,EAAE,CAAC;IACtB,CAAC;CACF;AAPD,oCAOC"}
1
+ {"version":3,"file":"OjActionCard.js","sourceRoot":"","sources":["../../src/elements/oj-action-card/OjActionCard.ts"],"names":[],"mappings":";;;AAAA,yDAAsD;AAEtD;;;;GAIG;AACH,MAAa,YAAa,SAAQ,mCAAgB;IAChD;;OAEG;IACH,QAAQ;QACN,OAAO,IAAI,CAAC,KAAK,EAAE,CAAC;IACtB,CAAC;CACF;AAPD,oCAOC"}
@@ -411,6 +411,7 @@ export interface NodeContent {
411
411
  export interface Overview {
412
412
  /**
413
413
  * Specifies the region that will be scaled to fit within the overview.
414
+ * @deprecated Since 21.0.0. This property is deprecated. The component will choose a sensible fit area based on the diagram content.
414
415
  */
415
416
  fitArea: string;
416
417
  /**
@@ -419,10 +420,12 @@ export interface Overview {
419
420
  halign: string;
420
421
  /**
421
422
  * Overview window height.
423
+ * @deprecated Since 21.0.0. This property is deprecated. The component will choose a sensible overview height based on the diagram content.
422
424
  */
423
425
  height: number;
424
426
  /**
425
427
  * Controls how the fit area is scaled within the overview.
428
+ * @deprecated Since 21.0.0. This property is deprecated. The component will choose a sensible aspect ratio behavior based on the diagram content.
426
429
  */
427
430
  preserveAspectRatio: string;
428
431
  /**
@@ -435,6 +438,7 @@ export interface Overview {
435
438
  valign: string;
436
439
  /**
437
440
  * Overview window width.
441
+ * @deprecated Since 21.0.0. This property is deprecated. The component will choose a sensible overview width based on the diagram content.
438
442
  */
439
443
  width: number;
440
444
  }
@@ -58,7 +58,7 @@ class OjListView extends OjListViewBase_1.OjListViewBase {
58
58
  let el = await this.getDriver().executeScript((ele, key) => ele.getNodeBySubId({ subId: 'oj-listview-item', key }), this, itemLocator.key);
59
59
  if (display === 'list') {
60
60
  if (el) {
61
- el = el.findElement(selenium_webdriver_1.By.css('[role="gridcell"]'));
61
+ el = await el.findElement(selenium_webdriver_1.By.css('[role="gridcell"]'));
62
62
  }
63
63
  else {
64
64
  throw new Error('The key specified is invalid or does not exist');
@@ -1 +1 @@
1
- {"version":3,"file":"OjListView.js","sourceRoot":"","sources":["../../src/elements/oj-list-view/OjListView.ts"],"names":[],"mappings":";;;AAAA,qDAAkD;AAClD,8BAA8C;AAC9C,2DAAoD;AACpD,+DAA+D;AAE/D;;;;GAIG;AACH,MAAa,UAAW,SAAQ,+BAAc;IAC5C;;;;;;OAMG;IACH,KAAK,CAAC,cAAc,CAAI,QAAkB;QACxC,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,OAAO,IAAA,oCAAkB,EACvB,IAAI,CAAC,SAAS,EAAE,EAChB,CAAC,QAAQ,CAAC,EACV,CAAC,IAAI,EAAE,QAAQ,CAAC,EAChB,CAAC,EAAE,UAAU,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE;YAChC,GAAG,CAAC,QAAQ,GAAG,IAAI,UAAU,CAAC,QAAQ,CAAC,CAAC;QAC1C,CAAC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,WAAW;QACf,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,MAAM,QAAQ,GAAa,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAAC,CAAC,GAAQ,EAAE,EAAE;YAC3E,OAAO,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;QAC3C,CAAC,EAAE,IAAI,CAAC,CAAC;QACT,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,QAAQ,CAAI,WAAuB;QACvC,4EAA4E;QAC5E,gDAAgD;QAChD,MAAM,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;QAChD,wEAAwE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C,OAAO,CAAC,CAAC;YACzC,MAAM,MAAM,GAAG,MAAM,CAAC,gBAAgB,CAAC;YACvC,OAAO,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI,EAAE,GAAG,EAAE,QAAQ,CAAC,CAAC;QAC/D,CAAC,CACF,CAAC;IACJ,CAAC;CACF;AArGD,gCAqGC"}
@@ -4,5 +4,15 @@ import { OjPictoChartBase } from './OjPictoChartBase';
4
4
  * Do not instantiate this class directly, instead, use
5
5
  * [ojPictoChart](../functions/elements.ojPictoChart-1.html).
6
6
  */
7
+ /**
8
+ * The component WebElement for [oj-picto-chart](../../jsdocs/oj.ojPictoChart.html).
9
+ * Do not instantiate this class directly, instead, use
10
+ * [ojPictoChart](../functions/elements.ojPictoChart-1.html).
11
+ * <h4>Migration</h4>
12
+ * When you migrate a page from using [oj-picto-chart](../../jsdocs/oj.ojPictoChart.html) to [oj-c-picto-chart](../../jsdocs/oj-c.PictoChart.html) you will also need to migrate your WebDriver tests from OjPictoChart to PictoChartWebElement. To do that you will need to revise type and locator instances as follows
13
+ * </br><b>Type:</b> from ojPictoChart to [PictoChartWebElement](../../cpwdtsdoc/classes/PictoChartWebElement.html)
14
+ * </br><b>Locator:</b> from [ojPictoChart](../functions/elements.ojPictoChart-1.html) to [findPictoChart](../../cpwdtsdoc/functions/findPictoChart.html)
15
+ * </br>For more details on migrating from legacy to core pack please see component's [migration section](../../jsdocs/oj.ojPictoChart.html#migration-section)
16
+ */
7
17
  export declare class OjPictoChart extends OjPictoChartBase {
8
18
  }
@@ -7,6 +7,16 @@ const OjPictoChartBase_1 = require("./OjPictoChartBase");
7
7
  * Do not instantiate this class directly, instead, use
8
8
  * [ojPictoChart](../functions/elements.ojPictoChart-1.html).
9
9
  */
10
+ /**
11
+ * The component WebElement for [oj-picto-chart](../../jsdocs/oj.ojPictoChart.html).
12
+ * Do not instantiate this class directly, instead, use
13
+ * [ojPictoChart](../functions/elements.ojPictoChart-1.html).
14
+ * <h4>Migration</h4>
15
+ * When you migrate a page from using [oj-picto-chart](../../jsdocs/oj.ojPictoChart.html) to [oj-c-picto-chart](../../jsdocs/oj-c.PictoChart.html) you will also need to migrate your WebDriver tests from OjPictoChart to PictoChartWebElement. To do that you will need to revise type and locator instances as follows
16
+ * </br><b>Type:</b> from ojPictoChart to [PictoChartWebElement](../../cpwdtsdoc/classes/PictoChartWebElement.html)
17
+ * </br><b>Locator:</b> from [ojPictoChart](../functions/elements.ojPictoChart-1.html) to [findPictoChart](../../cpwdtsdoc/functions/findPictoChart.html)
18
+ * </br>For more details on migrating from legacy to core pack please see component's [migration section](../../jsdocs/oj.ojPictoChart.html#migration-section)
19
+ */
10
20
  class OjPictoChart extends OjPictoChartBase_1.OjPictoChartBase {
11
21
  }
12
22
  exports.OjPictoChart = OjPictoChart;
@@ -1 +1 @@
1
- {"version":3,"file":"OjPictoChart.js","sourceRoot":"","sources":["../../src/elements/oj-picto-chart/OjPictoChart.ts"],"names":[],"mappings":";;;AAAA,yDAAsD;AAEtD;;;;GAIG;AACH,MAAa,YAAa,SAAQ,mCAAgB;CAEjD;AAFD,oCAEC"}
1
+ {"version":3,"file":"OjPictoChart.js","sourceRoot":"","sources":["../../src/elements/oj-picto-chart/OjPictoChart.ts"],"names":[],"mappings":";;;AAAA,yDAAsD;AAEtD;;;;GAIG;AACH;;;;;;;;;GASG;AACH,MAAa,YAAa,SAAQ,mCAAgB;CAEjD;AAFD,oCAEC"}
@@ -101,7 +101,7 @@ export declare class OjPictoChartBase extends OjWebElement {
101
101
  * Gets the value of <code>hoverBehaviorDelay</code> property.
102
102
  * Specifies initial hover delay in milliseconds for highlighting data items.
103
103
  * @return The value of <code>hoverBehaviorDelay</code> property.
104
- *
104
+ * @deprecated Since 21.0.0. This is not recommended in the Redwood design system.
105
105
  */
106
106
  getHoverBehaviorDelay(): Promise<number>;
107
107
  /**
@@ -130,7 +130,7 @@ class OjPictoChartBase extends __1.OjWebElement {
130
130
  * Gets the value of <code>hoverBehaviorDelay</code> property.
131
131
  * Specifies initial hover delay in milliseconds for highlighting data items.
132
132
  * @return The value of <code>hoverBehaviorDelay</code> property.
133
- *
133
+ * @deprecated Since 21.0.0. This is not recommended in the Redwood design system.
134
134
  */
135
135
  getHoverBehaviorDelay() {
136
136
  return this.getProperty('hoverBehaviorDelay');
@@ -164,10 +164,12 @@ export interface HelpHints {
164
164
  export interface Translations {
165
165
  /**
166
166
  * Text to be displayed when the oj-switch is in readonly mode and value is false.
167
+ * @deprecated Since 21.0.0. The Redwood UX specification does not allow this to be configurable.
167
168
  */
168
169
  switchOff: string;
169
170
  /**
170
171
  * Text to be displayed when the oj-switch is in readonly mode and value is true.
172
+ * @deprecated Since 21.0.0. The Redwood UX specification does not allow this to be configurable.
171
173
  */
172
174
  switchOn: string;
173
175
  }
@@ -60,46 +60,57 @@ export interface Steps {
60
60
  export interface Translations {
61
61
  /**
62
62
  * Description for the current train step status.
63
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
63
64
  */
64
65
  stepCurrent: string;
65
66
  /**
66
67
  * Description for the disabled train step status.
68
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
67
69
  */
68
70
  stepDisabled: string;
69
71
  /**
70
72
  * General description for a train step. The text may contain tokens '{index}' and '{count}', which will be replaced by the corresponding train step values.
73
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
71
74
  */
72
75
  stepInfo: string;
73
76
  /**
74
77
  * Description for the train step message type Confirmation.
78
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
75
79
  */
76
80
  stepMessageConfirmation: string;
77
81
  /**
78
82
  * Description for the train step message type Error.
83
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
79
84
  */
80
85
  stepMessageError: string;
81
86
  /**
82
87
  * Description for the train step message type Info.
88
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
83
89
  */
84
90
  stepMessageInfo: string;
85
91
  /**
86
92
  * Description for the train step message type. The actual value is passed in the '{messageType}' token.
93
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
87
94
  */
88
95
  stepMessageType: string;
89
96
  /**
90
97
  * Description for the train step message type Warning.
98
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
91
99
  */
92
100
  stepMessageWarning: string;
93
101
  /**
94
102
  * Description for the non-visited train step status.
103
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
95
104
  */
96
105
  stepNotVisited: string;
97
106
  /**
98
107
  * Description for the train step status. The actual status value is passed in the '{status}' token.
108
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
99
109
  */
100
110
  stepStatus: string;
101
111
  /**
102
112
  * Description for the visited train step status.
113
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
103
114
  */
104
115
  stepVisited: string;
105
116
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@oracle/oraclejet-webdriver",
3
3
  "description": "Oracle JET WebDriverJS WebElements",
4
4
  "config": {
5
- "revision": "2026-06-01_10-24-08"
5
+ "revision": "2026-08-11_09-49-16"
6
6
  },
7
7
  "scripts": {
8
8
  "build": "turbo run-build --filter=@oracle/oraclejet-webdriver",
@@ -59,8 +59,8 @@
59
59
  "selenium-webdriver": ">=4.0.0"
60
60
  },
61
61
  "dependencies": {
62
- "@oracle/oraclejet": "20.1.2",
63
- "@oracle/oraclejet-selenium-driver": "20.1.2"
62
+ "@oracle/oraclejet": "21.0.0",
63
+ "@oracle/oraclejet-selenium-driver": "21.0.0"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@jest/globals": "29.6.2",
@@ -83,5 +83,5 @@
83
83
  "typescript-eslint": "8.29.1",
84
84
  "typescript-parser": "^2.6.1"
85
85
  },
86
- "version": "20.1.2"
86
+ "version": "21.0.0"
87
87
  }
@@ -5,17 +5,6 @@ import { OjActionCardBase } from './OjActionCardBase';
5
5
  * Do not instantiate this class directly, instead, use
6
6
  * [ojActionCard](../functions/elements.ojActionCard-1.html).
7
7
  */
8
-
9
- /**
10
- * The component WebElement for [oj-action-card](../../jsdocs/oj.ojActionCard.html).
11
- * Do not instantiate this class directly, instead, use
12
- * [ojActionCard](../functions/elements.ojActionCard-1.html).
13
- * <h4>Migration</h4>
14
- * When you migrate a page from using [oj-action-card](../../jsdocs/oj.ojActionCard.html) to [oj-c-action-card](../../jsdocs/oj-c.ActionCard.html) you will also need to migrate your WebDriver tests from OjActionCard to ActionCardWebElement. To do that you will need to revise type and locator instances as follows
15
- * </br><b>Type:</b> from OjActionCard to [ActionCardWebElement](../../cpwdtsdoc/classes/ActionCardWebElement.html)
16
- * </br><b>Locator:</b> from [ojActionCard](../functions/elements.ojActionCard-1.html) to [findActionCard](../../cpwdtsdoc/functions/findActionCard.html)
17
- * </br>For more details on migrating from legacy to core pack please see component's [migration section](../../jsdocs/oj.ojActionCard.html#migration-section)
18
- */
19
8
  export class OjActionCard extends OjActionCardBase {
20
9
  /**
21
10
  * Perform a click on the card
@@ -534,6 +534,7 @@ export interface NodeContent {
534
534
  export interface Overview {
535
535
  /**
536
536
  * Specifies the region that will be scaled to fit within the overview.
537
+ * @deprecated Since 21.0.0. This property is deprecated. The component will choose a sensible fit area based on the diagram content.
537
538
  */
538
539
  fitArea: string;
539
540
  /**
@@ -542,10 +543,12 @@ export interface Overview {
542
543
  halign: string;
543
544
  /**
544
545
  * Overview window height.
546
+ * @deprecated Since 21.0.0. This property is deprecated. The component will choose a sensible overview height based on the diagram content.
545
547
  */
546
548
  height: number;
547
549
  /**
548
550
  * Controls how the fit area is scaled within the overview.
551
+ * @deprecated Since 21.0.0. This property is deprecated. The component will choose a sensible aspect ratio behavior based on the diagram content.
549
552
  */
550
553
  preserveAspectRatio: string;
551
554
  /**
@@ -558,6 +561,7 @@ export interface Overview {
558
561
  valign: string;
559
562
  /**
560
563
  * Overview window width.
564
+ * @deprecated Since 21.0.0. This property is deprecated. The component will choose a sensible overview width based on the diagram content.
561
565
  */
562
566
  width: number;
563
567
  }
@@ -67,7 +67,7 @@ export class OjListView extends OjListViewBase {
67
67
  );
68
68
  if (display === 'list') {
69
69
  if (el) {
70
- el = el.findElement(By.css('[role="gridcell"]'));
70
+ el = await el.findElement(By.css('[role="gridcell"]'));
71
71
  } else {
72
72
  throw new Error('The key specified is invalid or does not exist');
73
73
  }
@@ -5,6 +5,16 @@ import { OjPictoChartBase } from './OjPictoChartBase';
5
5
  * Do not instantiate this class directly, instead, use
6
6
  * [ojPictoChart](../functions/elements.ojPictoChart-1.html).
7
7
  */
8
+ /**
9
+ * The component WebElement for [oj-picto-chart](../../jsdocs/oj.ojPictoChart.html).
10
+ * Do not instantiate this class directly, instead, use
11
+ * [ojPictoChart](../functions/elements.ojPictoChart-1.html).
12
+ * <h4>Migration</h4>
13
+ * When you migrate a page from using [oj-picto-chart](../../jsdocs/oj.ojPictoChart.html) to [oj-c-picto-chart](../../jsdocs/oj-c.PictoChart.html) you will also need to migrate your WebDriver tests from OjPictoChart to PictoChartWebElement. To do that you will need to revise type and locator instances as follows
14
+ * </br><b>Type:</b> from ojPictoChart to [PictoChartWebElement](../../cpwdtsdoc/classes/PictoChartWebElement.html)
15
+ * </br><b>Locator:</b> from [ojPictoChart](../functions/elements.ojPictoChart-1.html) to [findPictoChart](../../cpwdtsdoc/functions/findPictoChart.html)
16
+ * </br>For more details on migrating from legacy to core pack please see component's [migration section](../../jsdocs/oj.ojPictoChart.html#migration-section)
17
+ */
8
18
  export class OjPictoChart extends OjPictoChartBase {
9
19
  // Put overrides here
10
20
  }
@@ -141,7 +141,7 @@ export class OjPictoChartBase extends OjWebElement {
141
141
  * Gets the value of <code>hoverBehaviorDelay</code> property.
142
142
  * Specifies initial hover delay in milliseconds for highlighting data items.
143
143
  * @return The value of <code>hoverBehaviorDelay</code> property.
144
- *
144
+ * @deprecated Since 21.0.0. This is not recommended in the Redwood design system.
145
145
  */
146
146
  public getHoverBehaviorDelay(): Promise<number> {
147
147
  return this.getProperty<number>('hoverBehaviorDelay');
@@ -215,10 +215,12 @@ export interface HelpHints {
215
215
  export interface Translations {
216
216
  /**
217
217
  * Text to be displayed when the oj-switch is in readonly mode and value is false.
218
+ * @deprecated Since 21.0.0. The Redwood UX specification does not allow this to be configurable.
218
219
  */
219
220
  switchOff: string;
220
221
  /**
221
222
  * Text to be displayed when the oj-switch is in readonly mode and value is true.
223
+ * @deprecated Since 21.0.0. The Redwood UX specification does not allow this to be configurable.
222
224
  */
223
225
  switchOn: string;
224
226
  }
@@ -72,46 +72,57 @@ export interface Steps {
72
72
  export interface Translations {
73
73
  /**
74
74
  * Description for the current train step status.
75
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
75
76
  */
76
77
  stepCurrent: string;
77
78
  /**
78
79
  * Description for the disabled train step status.
80
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
79
81
  */
80
82
  stepDisabled: string;
81
83
  /**
82
84
  * General description for a train step. The text may contain tokens '{index}' and '{count}', which will be replaced by the corresponding train step values.
85
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
83
86
  */
84
87
  stepInfo: string;
85
88
  /**
86
89
  * Description for the train step message type Confirmation.
90
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
87
91
  */
88
92
  stepMessageConfirmation: string;
89
93
  /**
90
94
  * Description for the train step message type Error.
95
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
91
96
  */
92
97
  stepMessageError: string;
93
98
  /**
94
99
  * Description for the train step message type Info.
100
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
95
101
  */
96
102
  stepMessageInfo: string;
97
103
  /**
98
104
  * Description for the train step message type. The actual value is passed in the '{messageType}' token.
105
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
99
106
  */
100
107
  stepMessageType: string;
101
108
  /**
102
109
  * Description for the train step message type Warning.
110
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
103
111
  */
104
112
  stepMessageWarning: string;
105
113
  /**
106
114
  * Description for the non-visited train step status.
115
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
107
116
  */
108
117
  stepNotVisited: string;
109
118
  /**
110
119
  * Description for the train step status. The actual status value is passed in the '{status}' token.
120
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
111
121
  */
112
122
  stepStatus: string;
113
123
  /**
114
124
  * Description for the visited train step status.
125
+ * @deprecated Since 21.0.0. This property is deprecated and will be removed in a future release.
115
126
  */
116
127
  stepVisited: string;
117
128
  }
@@ -1,11 +1,6 @@
1
1
  <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>OjActionCard | @oracle/oraclejet-webdriver</title><meta name="description" content="Documentation for @oracle/oraclejet-webdriver"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@oracle/oraclejet-webdriver</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">@oracle/oraclejet-webdriver</a></li><li><a href="../modules/elements.html">elements</a></li><li><a href="elements.OjActionCard.html">OjActionCard</a></li></ul><h1>Class OjActionCard</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>The component WebElement for <a href="../../jsdocs/oj.ojActionCard.html">oj-action-card</a>.
2
2
  Do not instantiate this class directly, instead, use
3
- <a href="../functions/elements.ojActionCard-1.html">ojActionCard</a>.
4
- <h4>Migration</h4>
5
- When you migrate a page from using <a href="../../jsdocs/oj.ojActionCard.html">oj-action-card</a> to <a href="../../jsdocs/oj-c.ActionCard.html">oj-c-action-card</a> you will also need to migrate your WebDriver tests from OjActionCard to ActionCardWebElement. To do that you will need to revise type and locator instances as follows
6
- </br><b>Type:</b> from OjActionCard to <a href="../../cpwdtsdoc/classes/ActionCardWebElement.html">ActionCardWebElement</a>
7
- </br><b>Locator:</b> from <a href="../functions/elements.ojActionCard-1.html">ojActionCard</a> to <a href="../../cpwdtsdoc/functions/findActionCard.html">findActionCard</a>
8
- </br>For more details on migrating from legacy to core pack please see component&#39;s <a href="../../jsdocs/oj.ojActionCard.html#migration-section">migration section</a></p>
3
+ <a href="../functions/elements.ojActionCard-1.html">ojActionCard</a>.</p>
9
4
  </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy</h4><ul class="tsd-hierarchy"><li><a href="elements._internal_.OjActionCardBase.html" class="tsd-signature-type tsd-kind-class">OjActionCardBase</a><ul class="tsd-hierarchy"><li><span class="target">OjActionCard</span></li></ul></li></ul></section><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="elements.OjActionCard.html#constructor" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-512"></use></svg><span>constructor</span></a>
10
5
  </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="elements.OjActionCard.html#clear" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>clear</span></a>
11
6
  <a href="elements.OjActionCard.html#click" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>click</span></a>