@oracle/oraclejet-core-pack 20.1.2 → 20.1.3

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 (101) hide show
  1. package/oj-c/InputDateText.json +46 -46
  2. package/oj-c/LabelledLink.json +3 -3
  3. package/oj-c/LegendItem.json +16 -16
  4. package/oj-c/LegendSection.json +5 -5
  5. package/oj-c/MessageBanner.json +1 -1
  6. package/oj-c/MessageToast.json +1 -1
  7. package/oj-c/TabBar.json +1 -1
  8. package/oj-c/TagCloud.json +3 -2
  9. package/oj-c/TagCloudItem.json +2 -1
  10. package/oj-c/accordion-item-multiple/component.json +3 -3
  11. package/oj-c/accordion-item-single/component.json +3 -3
  12. package/oj-c/action-card/component.json +3 -3
  13. package/oj-c/area-chart/component.json +3 -3
  14. package/oj-c/area-chart-group/component.json +2 -2
  15. package/oj-c/area-chart-item/component.json +2 -2
  16. package/oj-c/area-chart-series/component.json +2 -2
  17. package/oj-c/avatar/component.json +3 -3
  18. package/oj-c/badge/component.json +3 -3
  19. package/oj-c/button/component.json +3 -3
  20. package/oj-c/buttonset-multiple/component.json +3 -3
  21. package/oj-c/buttonset-single/component.json +3 -3
  22. package/oj-c/card-view/component.json +3 -3
  23. package/oj-c/checkbox/component.json +3 -3
  24. package/oj-c/checkboxset/component.json +3 -3
  25. package/oj-c/collapsible/component.json +3 -3
  26. package/oj-c/component.json +3 -3
  27. package/oj-c/conveyor-belt/component.json +3 -3
  28. package/oj-c/corepackbundle.js +12 -6
  29. package/oj-c/date-picker/component.json +3 -3
  30. package/oj-c/dialog/component.json +3 -3
  31. package/oj-c/drag-handle/component.json +3 -3
  32. package/oj-c/drawer-layout/component.json +3 -3
  33. package/oj-c/drawer-popup/component.json +3 -3
  34. package/oj-c/file-picker/component.json +3 -3
  35. package/oj-c/form-layout/component.json +3 -3
  36. package/oj-c/highlight-text/component.json +3 -3
  37. package/oj-c/input-date-mask/component.json +3 -3
  38. package/oj-c/input-date-picker/component.json +3 -3
  39. package/oj-c/input-date-text/component.json +3 -3
  40. package/oj-c/input-month-mask/component.json +3 -3
  41. package/oj-c/input-number/component.json +3 -3
  42. package/oj-c/input-password/component.json +3 -3
  43. package/oj-c/input-sensitive-text/component.json +3 -3
  44. package/oj-c/input-text/component.json +3 -3
  45. package/oj-c/input-time-mask/component.json +3 -3
  46. package/oj-c/labelled-link/component.json +4 -4
  47. package/oj-c/legend/component.json +3 -3
  48. package/oj-c/legend-item/component.json +2 -2
  49. package/oj-c/legend-section/component.json +2 -2
  50. package/oj-c/legendUtils.json +2 -2
  51. package/oj-c/line-chart/component.json +3 -3
  52. package/oj-c/line-chart-group/component.json +2 -2
  53. package/oj-c/line-chart-item/component.json +2 -2
  54. package/oj-c/line-chart-series/component.json +2 -2
  55. package/oj-c/list-item-layout/component.json +3 -3
  56. package/oj-c/list-view/component.json +3 -3
  57. package/oj-c/menu-button/component.json +3 -3
  58. package/oj-c/message-banner/component.json +3 -3
  59. package/oj-c/message-banner/message-banner.js +6 -3
  60. package/oj-c/message-toast/component.json +3 -3
  61. package/oj-c/message-toast/message-toast.js +6 -3
  62. package/oj-c/metadata/allComponents.json +222 -222
  63. package/oj-c/meter-bar/component.json +3 -3
  64. package/oj-c/meter-circle/component.json +3 -3
  65. package/oj-c/min/corepackbundle.js.map +1 -1
  66. package/oj-c/min/message-banner.js.map +1 -1
  67. package/oj-c/min/message-toast.js.map +1 -1
  68. package/oj-c/picto-chart/component.json +3 -3
  69. package/oj-c/picto-chart-item/component.json +2 -2
  70. package/oj-c/popup/component.json +3 -3
  71. package/oj-c/progress-bar/component.json +3 -3
  72. package/oj-c/progress-button/component.json +3 -3
  73. package/oj-c/progress-circle/component.json +3 -3
  74. package/oj-c/radioset/component.json +3 -3
  75. package/oj-c/rating-gauge/component.json +3 -3
  76. package/oj-c/rich-checkboxset/component.json +3 -3
  77. package/oj-c/rich-radioset/component.json +3 -3
  78. package/oj-c/select-multiple/component.json +3 -3
  79. package/oj-c/select-single/component.json +3 -3
  80. package/oj-c/selection-card/component.json +3 -3
  81. package/oj-c/selector/component.json +3 -3
  82. package/oj-c/selector-all/component.json +3 -3
  83. package/oj-c/skeleton/component.json +3 -3
  84. package/oj-c/split-menu-button/component.json +3 -3
  85. package/oj-c/tab-bar/component.json +3 -3
  86. package/oj-c/tab-bar-mixed/component.json +3 -3
  87. package/oj-c/table/component.json +3 -3
  88. package/oj-c/tag-cloud/component.json +3 -3
  89. package/oj-c/tag-cloud-item/component.json +2 -2
  90. package/oj-c/text-area/component.json +3 -3
  91. package/oj-c/toggle-button/component.json +3 -3
  92. package/oj-c/toolbar/component.json +3 -3
  93. package/oj-c/truncating-badge/component.json +3 -3
  94. package/oj-c/truncating-text/component.json +3 -3
  95. package/oj-c/types/labelled-link/labelled-link.d.ts +15 -4
  96. package/oj-c/types/message-banner/message-banner.d.ts +6 -3
  97. package/oj-c/types/message-toast/message-toast.d.ts +6 -3
  98. package/oj-c/types/tab-bar/DataTabBar.types.d.ts +3 -0
  99. package/oj-c/types/tab-bar/tab-bar.d.ts +3 -0
  100. package/oj-c/types/tag-cloud-item/tag-cloud-item.d.ts +10 -0
  101. package/package.json +6 -6
@@ -42,11 +42,16 @@ export type LabelledLinkProps = ObservedGlobalProps<'aria-describedby'> & {
42
42
  containerReadonly?: boolean;
43
43
  /**
44
44
  * @description
45
- * Specifies the URL that the link points to. If the href is provided, clicking the link
45
+ * Specifies the URL that the link points to. If a safe href is provided, clicking the link
46
46
  * will trigger the default browser behavior and will open the link. The
47
47
  * <code class="prettyprint">ojAction</code> event will not be triggered. If the href property is
48
48
  * not provided, then the default browser behavior will be prevented and the
49
49
  * <code class="prettyprint">ojAction</code> event will be triggered.
50
+ * <p><b>Note:</b> This value is rendered as a link
51
+ * <code class="prettyprint">href</code>. Applications are responsible for providing trusted
52
+ * URLs, choosing protocols appropriate for their use case, and enforcing any required origin or
53
+ * host allowlist. Unsafe URL protocols are blocked by omitting the rendered navigable href;
54
+ * blocked href values do not trigger <code class="prettyprint">ojAction</code>.</p>
50
55
  * @ojmetadata description "Sets the URL that the link points to."
51
56
  * @ojmetadata displayName "Href"
52
57
  * @ojmetadata help "#href"
@@ -208,8 +213,9 @@ export type LabelledLinkProps = ObservedGlobalProps<'aria-describedby'> & {
208
213
  userAssistanceDensity?: PreactLabelledLinkProps['userAssistanceDensity'];
209
214
  /**
210
215
  * @ojmetadata description "Triggered when the link is clicked, whether by keyboard, mouse,
211
- * or touch events. This event is triggered only when the href is not provided. If the href
212
- * is provided, clicking the link will not trigger this event."
216
+ * or touch events. This event is triggered only when the href is not provided. If a safe href
217
+ * is provided, clicking the link will not trigger this event. If an unsafe href protocol is
218
+ * provided, the navigable href is omitted and this event is not triggered."
213
219
  * @ojmetadata eventGroup "common"
214
220
  * @ojmetadata displayName "onOjAction"
215
221
  * @ojmetadata help "#event:action"
@@ -428,11 +434,16 @@ export interface CLabelledLinkElementSettableProperties extends JetSettablePrope
428
434
  */
429
435
  containerReadonly?: LabelledLinkProps['containerReadonly'];
430
436
  /**
431
- * Specifies the URL that the link points to. If the href is provided, clicking the link
437
+ * Specifies the URL that the link points to. If a safe href is provided, clicking the link
432
438
  * will trigger the default browser behavior and will open the link. The
433
439
  * <code class="prettyprint">ojAction</code> event will not be triggered. If the href property is
434
440
  * not provided, then the default browser behavior will be prevented and the
435
441
  * <code class="prettyprint">ojAction</code> event will be triggered.
442
+ * <p><b>Note:</b> This value is rendered as a link
443
+ * <code class="prettyprint">href</code>. Applications are responsible for providing trusted
444
+ * URLs, choosing protocols appropriate for their use case, and enforcing any required origin or
445
+ * host allowlist. Unsafe URL protocols are blocked by omitting the rendered navigable href;
446
+ * blocked href values do not trigger <code class="prettyprint">ojAction</code>.</p>
436
447
  */
437
448
  href?: LabelledLinkProps['href'];
438
449
  /**
@@ -224,9 +224,12 @@ type MessageBannerProps<K extends string | number, D extends MessageBannerItem>
224
224
  * <p>The <code class="prettyprint">MessageBannerItem["sound"]</code> property is an accessibility
225
225
  * feature for playing a sound when a message is opened. This property defaults to "none", and can
226
226
  * be enabled by setting it to "default" or by providing a URL to an audio file of a format that the
227
- * browser supports. An accessible application must provide a way for users to enable sound on a
228
- * settings or preferences page. Some browsers will have auto-play disabled by default, enabling
229
- * it may require adjusting the browser settings.</p>
227
+ * browser supports. Custom sound URLs are validated before playback. Relative URLs and URLs that
228
+ * resolve to <code class="prettyprint">http:</code>, <code class="prettyprint">https:</code>,
229
+ * <code class="prettyprint">data:</code>, or <code class="prettyprint">blob:</code> are
230
+ * supported. An accessible application must provide a way for users to enable sound on a settings
231
+ * or preferences page. Some browsers will have auto-play disabled by default, enabling it may
232
+ * require adjusting the browser settings.</p>
230
233
  *
231
234
  * <h3 id="keyboard-section">
232
235
  * Keyboard End User Information
@@ -242,9 +242,12 @@ type MessageToastProps<K extends string | number, D extends MessageToastItem> =
242
242
  * <p>The <code class="prettyprint">MessageToastItem["sound"]</code> property is an accessibility
243
243
  * feature for playing a sound when a message is opened. This property defaults to "none", and can
244
244
  * be enabled by setting it to "default" or by providing a URL to an audio file of a format that the
245
- * browser supports. An accessible application must provide a way for users to enable sound on a
246
- * settings or preferences page. Some browsers will have auto-play disabled by default, enabling
247
- * it may require adjusting the browser settings.</p>
245
+ * browser supports. Custom sound URLs are validated before playback. Relative URLs and URLs that
246
+ * resolve to <code class="prettyprint">http:</code>, <code class="prettyprint">https:</code>,
247
+ * <code class="prettyprint">data:</code>, or <code class="prettyprint">blob:</code> are
248
+ * supported. An accessible application must provide a way for users to enable sound on a settings
249
+ * or preferences page. Some browsers will have auto-play disabled by default, enabling it may
250
+ * require adjusting the browser settings.</p>
248
251
  *
249
252
  * <h3 id="keyboard-section">
250
253
  * Keyboard End User Information
@@ -78,6 +78,9 @@ export type TabLinkItemData<K extends string | number> = {
78
78
  tabPanelId?: string;
79
79
  /**
80
80
  * Sets the URL that the hyperlink points to. If there is no valid URL use "#" for href value to navigate to the top of the page.
81
+ * <p><b>Note:</b> This value is rendered as a link <code class="prettyprint">href</code>.
82
+ * Applications are responsible for providing trusted URLs, choosing protocols appropriate for
83
+ * their use case, and enforcing any required origin or host allowlist.</p>
81
84
  */
82
85
  href: string;
83
86
  };
@@ -87,6 +87,9 @@ export type TabLinkItemData<K extends string | number> = {
87
87
  tabPanelId?: string;
88
88
  /**
89
89
  * Sets the URL that the hyperlink points to. If there is no valid URL use "#" for href value to navigate to the top of the page.
90
+ * <p><b>Note:</b> This value is rendered as a link <code class="prettyprint">href</code>.
91
+ * Applications are responsible for providing trusted URLs, choosing protocols appropriate for
92
+ * their use case, and enforcing any required origin or host allowlist.</p>
90
93
  */
91
94
  href: string;
92
95
  };
@@ -35,6 +35,11 @@ export type TagCloudItemProps = {
35
35
  /**
36
36
  * @description
37
37
  * The url this item references.
38
+ * <p><b>Note:</b> For security, JET validates the URL protocol before navigation and
39
+ * currently supports <code class="prettyprint">http:</code> and
40
+ * <code class="prettyprint">https:</code> protocols. JET does not validate whether the
41
+ * URL is trusted for the application. Applications are responsible for providing
42
+ * sanitized URLs and enforcing any required origin or host allowlist.</p>
38
43
  * @ojmetadata description "The url this item references."
39
44
  * @ojmetadata displayName "Url"
40
45
  * @ojmetadata help "#url"
@@ -103,6 +108,11 @@ export interface CTagCloudItemElementSettableProperties extends JetSettablePrope
103
108
  shortDesc?: TagCloudItemProps['shortDesc'];
104
109
  /**
105
110
  * The url this item references.
111
+ * <p><b>Note:</b> For security, JET validates the URL protocol before navigation and
112
+ * currently supports <code class="prettyprint">http:</code> and
113
+ * <code class="prettyprint">https:</code> protocols. JET does not validate whether the
114
+ * URL is trusted for the application. Applications are responsible for providing
115
+ * sanitized URLs and enforcing any required origin or host allowlist.</p>
106
116
  */
107
117
  url?: TagCloudItemProps['url'];
108
118
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oracle/oraclejet-core-pack",
3
- "version": "20.1.2",
3
+ "version": "20.1.3",
4
4
  "description": "JET core components fully implemented in VDOM",
5
5
  "keywords": [
6
6
  "oraclejet"
@@ -9,11 +9,11 @@
9
9
  "oracle-exchange": "oj-c",
10
10
  "devDependencies": {},
11
11
  "dependencies": {
12
- "@oracle/oraclejet": "20.1.2",
13
- "@oracle/oraclejet-preact": "20.1.2",
14
- "@oracle/oraclejet-selenium-driver": "20.1.2",
15
- "@oracle/oraclejet-testing": "20.1.2",
16
- "@oracle/oraclejet-webdriver": "20.1.2"
12
+ "@oracle/oraclejet": "20.1.3",
13
+ "@oracle/oraclejet-preact": "20.1.3",
14
+ "@oracle/oraclejet-selenium-driver": "20.1.3",
15
+ "@oracle/oraclejet-testing": "20.1.3",
16
+ "@oracle/oraclejet-webdriver": "20.1.3"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "selenium-webdriver": ">=4.0.0"