@orangelogic/design-system 2.135.0 → 2.137.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.
- package/library/chunks/{asset-link-format.BBWyY5fn.js → asset-link-format.C7qLkR5q.js} +6 -6
- package/library/chunks/{button.3giRMk79.js → button.C1SliH9f.js} +1 -1
- package/library/chunks/{checkbox.B-2O517F.js → checkbox.Cjcht4xR.js} +18 -18
- package/library/chunks/{color-swatch-group.DC6vIYo4.js → color-swatch-group.-16VIoq6.js} +7 -7
- package/library/chunks/{color-swatch.g3FPUnxM.js → color-swatch.C26o9Mgz.js} +1 -1
- package/library/chunks/{confirm-popover.DtndPsMa.js → confirm-popover.UaaAL0w7.js} +3 -3
- package/library/chunks/{dialog.BQq3xBeH.js → dialog.Bb0_EAwb.js} +2 -2
- package/library/chunks/{document-viewer.BQPJD2lJ.js → document-viewer.Bfg059Ip.js} +1737 -1668
- package/library/chunks/{dot-pagination.DBk9Rz1e.js → dot-pagination.BzRjwmKy.js} +1 -1
- package/library/chunks/{file-on-demand.Bnloo9Ui.js → file-on-demand.j_V2IDwl.js} +9 -9
- package/library/chunks/{folder-select.DuG4dSPm.js → folder-select.B2trdP78.js} +111 -97
- package/library/chunks/{header.Bpjw08j7.js → header.CAG_RmQg.js} +1 -1
- package/library/chunks/{i18n.DJikbkDK.js → i18n.Dqb15q5k.js} +6 -2
- package/library/chunks/{icon-button.xobY-9OH.js → icon-button.BqFraOfp.js} +1 -1
- package/library/chunks/{iframe.BkvxcywO.js → iframe.Cg0YBl8p.js} +1 -1
- package/library/chunks/{image.KZRXIthe.js → image.VNvhPhZ1.js} +3 -2
- package/library/chunks/{input.GUw7x9tK.js → input.C_db7iND.js} +1 -1
- package/library/chunks/{option.uHye0aDT.js → option.D5NdA-Cm.js} +1 -1
- package/library/chunks/{pagination.D8Hzwlan.js → pagination.C_4fPcD4.js} +5 -5
- package/library/chunks/{tab-group.0_aOE22R.js → tab-group.CRTjU6He.js} +3 -3
- package/library/chunks/{tree.C14rLLol.js → tree.BYcnDDKg.js} +2 -2
- package/library/components/alert.js +2 -2
- package/library/components/asset-link-format.js +3 -3
- package/library/components/atoms.js +14 -14
- package/library/components/audio.js +2 -2
- package/library/components/border-input-group.js +2 -2
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +2 -2
- package/library/components/checkbox.js +1 -1
- package/library/components/color-picker.js +3 -3
- package/library/components/color-swatch-group.js +3 -3
- package/library/components/color-swatch.js +2 -2
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +3 -3
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +3 -3
- package/library/components/document-viewer.js +3 -3
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +4 -4
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +10 -10
- package/library/components/folder-select.js +4 -4
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +2 -2
- package/library/components/input.js +2 -2
- package/library/components/line-clamp.js +1 -1
- package/library/components/masonry.js +2 -2
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +3 -3
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +3 -3
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +6 -6
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +2 -2
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +1 -1
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +3 -3
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/tab-group.js +4 -4
- package/library/components/tab.js +2 -2
- package/library/components/tag.js +2 -2
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +3 -3
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +14887 -14857
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +6 -0
- package/library/packages/molecules/src/folder-select/folder-select.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/components/folder-picker/folder-picker.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/styleController.d.ts +1 -0
- package/library/packages/tools/src/attribute-converter/string-array.d.ts +5 -0
- package/library/packages/types/src/content-builder.d.ts +1 -0
- package/library/packages/types/src/pdf-viewer-toolbar.d.ts +3 -3
- package/library/packages/utils/src/custom-element/i18n.d.ts +4 -0
- package/library/react-web-component.d.ts +562 -5
- package/library/utils.js +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { _ as kd, a as Sa, b as Be, c as Je } from "../chunks/inheritsLoose.BuSn_CvZ.js";
|
|
2
2
|
import { c as ps, a as Bn } from "../chunks/_commonjsHelpers.DQNKXVTB.js";
|
|
3
3
|
import { r as Sb } from "../chunks/___vite-browser-external_commonjs-proxy.C2tf3HsQ.js";
|
|
4
|
-
import { C as Cb } from "../chunks/image.
|
|
4
|
+
import { C as Cb } from "../chunks/image.VNvhPhZ1.js";
|
|
5
5
|
import Mb from "./resize-observer.js";
|
|
6
6
|
import { r as Db, R as Pb, a as Rp, b as Lb } from "../chunks/resizable-component.styles.CAfXABBc.js";
|
|
7
7
|
import { c as Rb } from "../chunks/component.styles.CRO4Odto.js";
|
|
8
8
|
import { b as Ib } from "../chunks/browser.BHOCIF_A.js";
|
|
9
9
|
import { c as Ob } from "../chunks/custom-element.L4WJXn1j.js";
|
|
10
|
-
import { L as kb } from "../chunks/i18n.
|
|
10
|
+
import { L as kb } from "../chunks/i18n.Dqb15q5k.js";
|
|
11
11
|
import { w as Ki } from "../chunks/watch.CThbualB.js";
|
|
12
12
|
import { i as Bb, x as Qc } from "../chunks/lit-element.jLBm65_O.js";
|
|
13
13
|
import { n as Ri } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
package/library/package.json
CHANGED
|
@@ -22,6 +22,12 @@ export default class CxFolderSelectTree extends CortexElement {
|
|
|
22
22
|
token: string;
|
|
23
23
|
bearerToken: string;
|
|
24
24
|
baseUrl: string;
|
|
25
|
+
/**
|
|
26
|
+
* Restricts the tree's top-level roots to these folder ids. When set, the root
|
|
27
|
+
* fetch passes them as `allowedFolders` so the browser only exposes folders
|
|
28
|
+
* under the configured space roots. Empty = browse from the global root.
|
|
29
|
+
*/
|
|
30
|
+
allowedFolders: string[];
|
|
25
31
|
extraFolderId: string;
|
|
26
32
|
extraFolderTitle: string;
|
|
27
33
|
extraFolderIcon: string;
|
|
@@ -28,6 +28,11 @@ export default class CxFolderSelect extends CortexElement {
|
|
|
28
28
|
name: string;
|
|
29
29
|
selectedLabel: string;
|
|
30
30
|
baseUrl: string;
|
|
31
|
+
/**
|
|
32
|
+
* Restricts the browser tree's top-level roots to these folder ids
|
|
33
|
+
* (forwarded to cx-folder-select-tree). Empty = browse from the global root.
|
|
34
|
+
*/
|
|
35
|
+
allowedFolders: string[];
|
|
31
36
|
open: boolean;
|
|
32
37
|
token: string;
|
|
33
38
|
bearerToken: string;
|
package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts
CHANGED
|
@@ -282,6 +282,11 @@ export default class CxConfigForm extends CortexElement {
|
|
|
282
282
|
dialogTitle: string;
|
|
283
283
|
skipShowCheck: boolean;
|
|
284
284
|
enableAssetFormatControls: boolean;
|
|
285
|
+
/**
|
|
286
|
+
* Root folder ids the folder-picker controls are restricted to (forwarded to
|
|
287
|
+
* cx-folder-picker). Sourced from the space's configured root folders.
|
|
288
|
+
*/
|
|
289
|
+
allowedFolders: string[];
|
|
285
290
|
/**
|
|
286
291
|
* Whether the user is currently editing the template settings.
|
|
287
292
|
* This is used to determine if the user is editing the template name and description.
|
package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.d.ts
CHANGED
|
@@ -61,6 +61,11 @@ export default class CxConfigManager extends CortexElement {
|
|
|
61
61
|
* @default false
|
|
62
62
|
*/
|
|
63
63
|
enableAssetFormatControls: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Root folder ids the folder-picker controls are restricted to (forwarded to
|
|
66
|
+
* cx-config-form). Sourced from the space's configured root folders.
|
|
67
|
+
*/
|
|
68
|
+
allowedFolders: string[];
|
|
64
69
|
/**
|
|
65
70
|
* A list of properties that are not shown in the configuration manager if mode is EditorMode.Content.
|
|
66
71
|
* @default []
|
package/library/packages/organisms/src/content-builder/components/folder-picker/folder-picker.d.ts
CHANGED
|
@@ -43,6 +43,12 @@ export default class CxFolderPicker extends CortexElement {
|
|
|
43
43
|
* list of selected folder ids and `detail.representativeAssetId` from the first selected folder.
|
|
44
44
|
*/
|
|
45
45
|
multiple: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Restricts the folder browser to these root folder ids (forwarded to
|
|
48
|
+
* cx-folder-select). Used to scope the picker to the space's configured
|
|
49
|
+
* root folders. Empty = browse from the global root.
|
|
50
|
+
*/
|
|
51
|
+
allowedFolders: string[];
|
|
46
52
|
/**
|
|
47
53
|
* The select's required attribute.
|
|
48
54
|
*/
|
|
@@ -105,6 +105,11 @@ export default class CxContentBuilder extends CortexElement {
|
|
|
105
105
|
* @default false
|
|
106
106
|
*/
|
|
107
107
|
enableAssetFormatControls: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Root folder ids that the folder-picker controls in the block config are
|
|
110
|
+
* restricted to.
|
|
111
|
+
*/
|
|
112
|
+
allowedFolders: string[];
|
|
108
113
|
/**
|
|
109
114
|
* The default language of the content builder.
|
|
110
115
|
* This is the language that will be used to store the translatable texts.
|
|
@@ -87,6 +87,7 @@ export default class StyleController {
|
|
|
87
87
|
prescribedDocTypes?: import('../../../types/src/download-format-picker').DownloadDocType[];
|
|
88
88
|
};
|
|
89
89
|
folderPickerConfigs?: {
|
|
90
|
+
useAllowedFolders?: boolean;
|
|
90
91
|
useFullPath?: boolean;
|
|
91
92
|
variant?: import('../../../types/src/folder-select').FolderSelectVariant;
|
|
92
93
|
};
|
|
@@ -11,10 +11,10 @@ export type PdfViewerScrollMode = 'page' | 'vertical' | 'horizontal' | 'wrapped'
|
|
|
11
11
|
/** How page spreads are joined. */
|
|
12
12
|
export type PdfViewerSpreadMode = 'none' | 'odd' | 'even';
|
|
13
13
|
/**
|
|
14
|
-
* The zoom scale. Either a named mode, a
|
|
15
|
-
* `'
|
|
14
|
+
* The zoom scale. Either a named mode, a percentage zoom factor (as a string, e.g.
|
|
15
|
+
* `'150-percent'` = 150%), or `'custom'` for a non-preset factor shown via `customScalePercent`.
|
|
16
16
|
*/
|
|
17
|
-
export type PdfViewerScaleValue = 'auto' | 'page-actual' | 'page-fit' | 'page-width' | '
|
|
17
|
+
export type PdfViewerScaleValue = 'auto' | 'page-actual' | 'page-fit' | 'page-width' | '50-percent' | '75-percent' | '100-percent' | '125-percent' | '150-percent' | '200-percent' | '300-percent' | '400-percent';
|
|
18
18
|
/** A row in the "View on asset" dropdown. */
|
|
19
19
|
export interface ViewOnAssetRow {
|
|
20
20
|
checked: boolean;
|
|
@@ -469,6 +469,7 @@ export interface Translation extends DefaultTranslation {
|
|
|
469
469
|
formatDDMMYYYY: string;
|
|
470
470
|
formats: string;
|
|
471
471
|
forward: string;
|
|
472
|
+
fourPageView: string;
|
|
472
473
|
freehandDrawing: string;
|
|
473
474
|
fromLabel: string;
|
|
474
475
|
fullscreen: string;
|
|
@@ -669,6 +670,7 @@ export interface Translation extends DefaultTranslation {
|
|
|
669
670
|
ok: string;
|
|
670
671
|
onHover: string;
|
|
671
672
|
onThisPage: string;
|
|
673
|
+
onePageView: string;
|
|
672
674
|
ongoing: string;
|
|
673
675
|
oopsSomethingWentWrong: string;
|
|
674
676
|
opacity: string;
|
|
@@ -997,6 +999,7 @@ export interface Translation extends DefaultTranslation {
|
|
|
997
999
|
trim: string;
|
|
998
1000
|
tuneDisabled: string;
|
|
999
1001
|
turnOnSeeThru: string;
|
|
1002
|
+
twoPageView: string;
|
|
1000
1003
|
txtOnly: string;
|
|
1001
1004
|
type: string;
|
|
1002
1005
|
typeAMessage: string;
|
|
@@ -1046,6 +1049,7 @@ export interface Translation extends DefaultTranslation {
|
|
|
1046
1049
|
viewAndSortElement: string;
|
|
1047
1050
|
viewInAR: string;
|
|
1048
1051
|
viewLogs: string;
|
|
1052
|
+
viewMode: string;
|
|
1049
1053
|
viewOnAsset: string;
|
|
1050
1054
|
viewOptions: string;
|
|
1051
1055
|
viewPageDetails: string;
|