@oracle/oraclejet-core-pack 19.0.8 → 19.0.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/oj-c/InputDateText.json +46 -46
- package/oj-c/LabelledLink.json +2 -2
- package/oj-c/Legend.json +50 -50
- package/oj-c/LegendItem.json +16 -16
- package/oj-c/LegendSection.json +5 -5
- package/oj-c/MessageBanner.json +1 -1
- package/oj-c/MessageToast.json +1 -1
- package/oj-c/TabBar.json +1 -1
- package/oj-c/TagCloud.json +1 -1
- package/oj-c/TagCloudItem.json +1 -1
- package/oj-c/action-card/component.json +3 -3
- package/oj-c/area-chart/component.json +3 -3
- package/oj-c/area-chart-group/component.json +2 -2
- package/oj-c/area-chart-item/component.json +2 -2
- package/oj-c/area-chart-series/component.json +2 -2
- package/oj-c/avatar/component.json +3 -3
- package/oj-c/badge/component.json +3 -3
- package/oj-c/button/component.json +3 -3
- package/oj-c/buttonset-multiple/component.json +3 -3
- package/oj-c/buttonset-single/component.json +3 -3
- package/oj-c/card-view/component.json +3 -3
- package/oj-c/checkbox/component.json +3 -3
- package/oj-c/checkboxset/component.json +3 -3
- package/oj-c/collapsible/component.json +3 -3
- package/oj-c/component.json +3 -3
- package/oj-c/conveyor-belt/component.json +3 -3
- package/oj-c/corepackbundle.js +12 -6
- package/oj-c/date-picker/component.json +3 -3
- package/oj-c/dialog/component.json +3 -3
- package/oj-c/drag-handle/component.json +3 -3
- package/oj-c/drawer-layout/component.json +3 -3
- package/oj-c/drawer-popup/component.json +3 -3
- package/oj-c/file-picker/component.json +3 -3
- package/oj-c/form-layout/component.json +3 -3
- package/oj-c/highlight-text/component.json +3 -3
- package/oj-c/input-date-mask/component.json +3 -3
- package/oj-c/input-date-picker/component.json +3 -3
- package/oj-c/input-date-text/component.json +3 -3
- package/oj-c/input-month-mask/component.json +3 -3
- package/oj-c/input-number/component.json +3 -3
- package/oj-c/input-password/component.json +3 -3
- package/oj-c/input-sensitive-text/component.json +3 -3
- package/oj-c/input-text/component.json +3 -3
- package/oj-c/input-time-mask/component.json +3 -3
- package/oj-c/labelled-link/component.json +4 -4
- package/oj-c/legend/component.json +3 -3
- package/oj-c/legend-item/component.json +2 -2
- package/oj-c/legend-section/component.json +2 -2
- package/oj-c/legendUtils.json +2 -2
- package/oj-c/line-chart/component.json +3 -3
- package/oj-c/line-chart-group/component.json +2 -2
- package/oj-c/line-chart-item/component.json +2 -2
- package/oj-c/line-chart-series/component.json +2 -2
- package/oj-c/list-item-layout/component.json +3 -3
- package/oj-c/list-view/component.json +3 -3
- package/oj-c/menu-button/component.json +3 -3
- package/oj-c/message-banner/component.json +3 -3
- package/oj-c/message-banner/message-banner.js +6 -3
- package/oj-c/message-toast/component.json +3 -3
- package/oj-c/message-toast/message-toast.js +6 -3
- package/oj-c/metadata/allComponents.json +211 -211
- package/oj-c/meter-bar/component.json +3 -3
- package/oj-c/meter-circle/component.json +3 -3
- package/oj-c/min/corepackbundle.js.map +1 -1
- package/oj-c/min/message-banner.js.map +1 -1
- package/oj-c/min/message-toast.js.map +1 -1
- package/oj-c/popup/component.json +3 -3
- package/oj-c/progress-bar/component.json +3 -3
- package/oj-c/progress-button/component.json +3 -3
- package/oj-c/progress-circle/component.json +3 -3
- package/oj-c/radioset/component.json +3 -3
- package/oj-c/rating-gauge/component.json +3 -3
- package/oj-c/rich-checkboxset/component.json +3 -3
- package/oj-c/rich-radioset/component.json +3 -3
- package/oj-c/select-multiple/component.json +3 -3
- package/oj-c/select-single/component.json +3 -3
- package/oj-c/selection-card/component.json +3 -3
- package/oj-c/selector/component.json +3 -3
- package/oj-c/selector-all/component.json +3 -3
- package/oj-c/skeleton/component.json +3 -3
- package/oj-c/split-menu-button/component.json +3 -3
- package/oj-c/tab-bar/component.json +3 -3
- package/oj-c/tab-bar-mixed/component.json +3 -3
- package/oj-c/table/component.json +3 -3
- package/oj-c/tag-cloud/component.json +3 -3
- package/oj-c/tag-cloud-item/component.json +2 -2
- package/oj-c/text-area/component.json +3 -3
- package/oj-c/toggle-button/component.json +3 -3
- package/oj-c/toolbar/component.json +3 -3
- package/oj-c/truncating-badge/component.json +3 -3
- package/oj-c/truncating-text/component.json +3 -3
- package/oj-c/types/labelled-link/labelled-link.d.ts +15 -4
- package/oj-c/types/message-banner/message-banner.d.ts +6 -3
- package/oj-c/types/message-toast/message-toast.d.ts +6 -3
- package/oj-c/types/tab-bar/DataTabBar.types.d.ts +3 -0
- package/oj-c/types/tab-bar/tab-bar.d.ts +3 -0
- package/oj-c/types/tag-cloud-item/tag-cloud-item.d.ts +10 -0
- 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
|
|
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"
|
|
@@ -200,8 +205,9 @@ export type LabelledLinkProps = ObservedGlobalProps<'aria-describedby'> & {
|
|
|
200
205
|
userAssistanceDensity?: PreactLabelledLinkProps['userAssistanceDensity'];
|
|
201
206
|
/**
|
|
202
207
|
* @ojmetadata description "Triggered when the link is clicked, whether by keyboard, mouse,
|
|
203
|
-
* or touch events. This event is triggered only when the href is not provided. If
|
|
204
|
-
* is provided, clicking the link will not trigger this event.
|
|
208
|
+
* or touch events. This event is triggered only when the href is not provided. If a safe href
|
|
209
|
+
* is provided, clicking the link will not trigger this event. If an unsafe href protocol is
|
|
210
|
+
* provided, the navigable href is omitted and this event is not triggered."
|
|
205
211
|
* @ojmetadata eventGroup "common"
|
|
206
212
|
* @ojmetadata displayName "onOjAction"
|
|
207
213
|
* @ojmetadata help "#event:action"
|
|
@@ -407,11 +413,16 @@ export interface CLabelledLinkElementSettableProperties extends JetSettablePrope
|
|
|
407
413
|
*/
|
|
408
414
|
containerReadonly?: LabelledLinkProps['containerReadonly'];
|
|
409
415
|
/**
|
|
410
|
-
* Specifies the URL that the link points to. If
|
|
416
|
+
* Specifies the URL that the link points to. If a safe href is provided, clicking the link
|
|
411
417
|
* will trigger the default browser behavior and will open the link. The
|
|
412
418
|
* <code class="prettyprint">ojAction</code> event will not be triggered. If the href property is
|
|
413
419
|
* not provided, then the default browser behavior will be prevented and the
|
|
414
420
|
* <code class="prettyprint">ojAction</code> event will be triggered.
|
|
421
|
+
* <p><b>Note:</b> This value is rendered as a link
|
|
422
|
+
* <code class="prettyprint">href</code>. Applications are responsible for providing trusted
|
|
423
|
+
* URLs, choosing protocols appropriate for their use case, and enforcing any required origin or
|
|
424
|
+
* host allowlist. Unsafe URL protocols are blocked by omitting the rendered navigable href;
|
|
425
|
+
* blocked href values do not trigger <code class="prettyprint">ojAction</code>.</p>
|
|
415
426
|
*/
|
|
416
427
|
href?: LabelledLinkProps['href'];
|
|
417
428
|
/**
|
|
@@ -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.
|
|
228
|
-
*
|
|
229
|
-
*
|
|
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.
|
|
246
|
-
*
|
|
247
|
-
*
|
|
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": "19.0.
|
|
3
|
+
"version": "19.0.9",
|
|
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": "19.0.
|
|
13
|
-
"@oracle/oraclejet-preact": "19.0.
|
|
14
|
-
"@oracle/oraclejet-selenium-driver": "19.0.
|
|
15
|
-
"@oracle/oraclejet-testing": "19.0.
|
|
16
|
-
"@oracle/oraclejet-webdriver": "19.0.
|
|
12
|
+
"@oracle/oraclejet": "19.0.9",
|
|
13
|
+
"@oracle/oraclejet-preact": "19.0.9",
|
|
14
|
+
"@oracle/oraclejet-selenium-driver": "19.0.9",
|
|
15
|
+
"@oracle/oraclejet-testing": "19.0.9",
|
|
16
|
+
"@oracle/oraclejet-webdriver": "19.0.9"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"selenium-webdriver": ">=4.0.0"
|