@orangelogic/design-system 2.212.0 → 2.213.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.C6BPob3e.js → asset-link-format.ofivwxXM.js} +5 -5
- package/library/chunks/{button.BnkkUqiI.js → button.CrhpoXK8.js} +1 -1
- package/library/chunks/{color-swatch-group.ACpuo8Pe.js → color-swatch-group.Dr7mWhCT.js} +384 -381
- package/library/chunks/{color-swatch.D6Gg5bpz.js → color-swatch.CSsvAlq8.js} +1 -1
- package/library/chunks/{confirm-popover.jCP9CdcD.js → confirm-popover.CrB-N3KV.js} +3 -3
- package/library/chunks/{dialog.B6hZ7fvn.js → dialog.DWa11p4j.js} +2 -2
- package/library/chunks/{document-viewer.CgSEgZ5S.js → document-viewer.UJBcwZWE.js} +5 -5
- package/library/chunks/{dot-pagination.BqGFeFXK.js → dot-pagination.ry5d0ZtQ.js} +1 -1
- package/library/chunks/{folder-select.CIqVGGFl.js → folder-select.BIXyzMCY.js} +4 -4
- package/library/chunks/{header.CB8GuYBG.js → header.tVm8jCBb.js} +1 -1
- package/library/chunks/{i18n.DbXTTLXx.js → i18n.CXIpdSSZ.js} +5 -2
- package/library/chunks/{icon-button.CVrxJcZq.js → icon-button.BBLy-yj3.js} +1 -1
- package/library/chunks/{iframe.-GCTFas1.js → iframe.FHGbVxm4.js} +1 -1
- package/library/chunks/{image.ZANuNTs8.js → image.BYDGEbte.js} +46 -37
- package/library/chunks/{input.33UmFGqR.js → input.B1JamaTE.js} +1 -1
- package/library/chunks/{markdown.DOHru2Rz.js → markdown.Cc9XwWxA.js} +2 -2
- package/library/chunks/{option.CCJLbAuF.js → option.DmQWgEVq.js} +1 -1
- package/library/chunks/{pagination.jGOZVKL5.js → pagination.GYpExPiQ.js} +5 -5
- package/library/chunks/{tab-group.uSHlsFu8.js → tab-group.PQnc285p.js} +3 -3
- package/library/chunks/{tree.CmEdKtzK.js → tree.BS7eGCf0.js} +1 -1
- 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/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 +9 -9
- 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/markdown.js +3 -3
- package/library/components/masonry.js +2 -2
- package/library/components/menu-item.js +6 -6
- 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 +2 -2
- 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 +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +3364 -3276
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/image/image.d.ts +1 -1
- package/library/packages/molecules/src/multi-select/components/board-list-item/board-list-item.d.ts +1 -0
- package/library/packages/organisms/src/chatbot/chatbot.d.ts +1 -1
- package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +11 -1
- package/library/packages/organisms/src/content-builder/configs/image.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/configs-controller.d.ts +4 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +3 -0
- 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.BYDGEbte.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.CXIpdSSZ.js";
|
|
11
11
|
import { w as Ki } from "../chunks/watch.DJF5K-8U.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
|
@@ -159,7 +159,7 @@ export default class CxImage extends ResizableElement {
|
|
|
159
159
|
get currentAltValue(): string;
|
|
160
160
|
get currentSrc(): string;
|
|
161
161
|
get highlighterTabindex(): "0" | undefined;
|
|
162
|
-
get highlighterRole():
|
|
162
|
+
get highlighterRole(): 'button' | 'img' | undefined;
|
|
163
163
|
get highlighterClass(): {
|
|
164
164
|
[x: string]: boolean;
|
|
165
165
|
'highlightable-item': boolean;
|
|
@@ -108,6 +108,10 @@ export default class CxSbImage extends CxImage {
|
|
|
108
108
|
* A description of the image used by assistive devices in dark mode.
|
|
109
109
|
*/
|
|
110
110
|
altDarkMode: string;
|
|
111
|
+
/** Whether to use authored alt text instead of asset metadata. */
|
|
112
|
+
useCustomAlt: boolean;
|
|
113
|
+
/** Whether to use authored alt text for the dark-mode image. */
|
|
114
|
+
useCustomAltDarkMode: boolean;
|
|
111
115
|
altSourceField: string;
|
|
112
116
|
/**
|
|
113
117
|
* CMS5 only. Click action for the image.
|
|
@@ -242,7 +246,7 @@ export default class CxSbImage extends CxImage {
|
|
|
242
246
|
*/
|
|
243
247
|
private get requestedAssetFields();
|
|
244
248
|
get highlighterTabindex(): "0" | undefined;
|
|
245
|
-
get highlighterRole(): "button" | "img";
|
|
249
|
+
get highlighterRole(): "button" | "img" | undefined;
|
|
246
250
|
get highlighterClass(): {
|
|
247
251
|
[x: string]: boolean;
|
|
248
252
|
'highlightable-item--has-action': boolean;
|
|
@@ -263,6 +267,12 @@ export default class CxSbImage extends CxImage {
|
|
|
263
267
|
* Whether the image has an click action.
|
|
264
268
|
*/
|
|
265
269
|
private get hasClickAction();
|
|
270
|
+
/** The native link replaces the wrapper's synthetic button semantics in read mode. */
|
|
271
|
+
private get hasNavigationAnchor();
|
|
272
|
+
/** Resolves the destination shared by pointer handling and the accessibility anchor. */
|
|
273
|
+
private get navigationUrl();
|
|
274
|
+
/** Names the native link from visible content before falling back to its destination. */
|
|
275
|
+
private get navigationLabel();
|
|
266
276
|
/**
|
|
267
277
|
* The rendered width in CSS pixels, used as the `sizes` hint so the browser can pick
|
|
268
278
|
* the smallest `srcset` candidate that still covers the box.
|
|
@@ -4,6 +4,8 @@ import { default as CxImage } from '../blocks/image/image';
|
|
|
4
4
|
|
|
5
5
|
type Attribute = {
|
|
6
6
|
'additional-fields': string;
|
|
7
|
+
alt: CxImage['alt'];
|
|
8
|
+
'alt-dark-mode': CxImage['altDarkMode'];
|
|
7
9
|
'alt-source-field': CxImage['altSourceField'];
|
|
8
10
|
'click-action': CxImage['clickAction'];
|
|
9
11
|
'click-link'?: CxImage['clickLink'];
|
|
@@ -48,6 +50,8 @@ type Attribute = {
|
|
|
48
50
|
'text-reveal-style'?: CxImage['textRevealStyle'];
|
|
49
51
|
transformations: string;
|
|
50
52
|
'transition-type'?: string;
|
|
53
|
+
'use-custom-alt': CxImage['useCustomAlt'];
|
|
54
|
+
'use-custom-alt-dark-mode': CxImage['useCustomAltDarkMode'];
|
|
51
55
|
width: CxImage['width'];
|
|
52
56
|
'zoom-style'?: CxImage['zoomStyle'];
|
|
53
57
|
};
|
|
@@ -238,6 +238,8 @@ export default class ConfigsController {
|
|
|
238
238
|
src: string;
|
|
239
239
|
}>[] | import('../../../types/src/content-builder').PropertyConfig<{
|
|
240
240
|
'additional-fields': string;
|
|
241
|
+
alt: import('./blocks/image/image').default["alt"];
|
|
242
|
+
'alt-dark-mode': import('./blocks/image/image').default["altDarkMode"];
|
|
241
243
|
'alt-source-field': import('./blocks/image/image').default["altSourceField"];
|
|
242
244
|
'click-action': import('./blocks/image/image').default["clickAction"];
|
|
243
245
|
'click-link'?: import('./blocks/image/image').default["clickLink"];
|
|
@@ -282,6 +284,8 @@ export default class ConfigsController {
|
|
|
282
284
|
'text-reveal-style'?: import('./blocks/image/image').default["textRevealStyle"];
|
|
283
285
|
transformations: string;
|
|
284
286
|
'transition-type'?: string;
|
|
287
|
+
'use-custom-alt': import('./blocks/image/image').default["useCustomAlt"];
|
|
288
|
+
'use-custom-alt-dark-mode': import('./blocks/image/image').default["useCustomAltDarkMode"];
|
|
285
289
|
width: import('./blocks/image/image').default["width"];
|
|
286
290
|
'zoom-style'?: import('./blocks/image/image').default["zoomStyle"];
|
|
287
291
|
}>[] | import('../../../types/src/content-builder').PropertyConfig[] | import('../../../types/src/content-builder').PropertyConfig<{
|
|
@@ -282,6 +282,7 @@ export interface Translation extends DefaultTranslation {
|
|
|
282
282
|
currentValue: string;
|
|
283
283
|
currentVersion: string;
|
|
284
284
|
custom: string;
|
|
285
|
+
customAltText: string;
|
|
285
286
|
customExport: string;
|
|
286
287
|
customFormat: string;
|
|
287
288
|
customShadowAndBorderRadius: string;
|
|
@@ -292,7 +293,9 @@ export interface Translation extends DefaultTranslation {
|
|
|
292
293
|
cut: string;
|
|
293
294
|
damLibrary: string;
|
|
294
295
|
damViewNoAvailableOptionsForThisAsset: string;
|
|
296
|
+
darkCustomAltText: string;
|
|
295
297
|
darkImageFormat: string;
|
|
298
|
+
darkModeAltText: string;
|
|
296
299
|
darkModeImage: string;
|
|
297
300
|
dashSpacing: string;
|
|
298
301
|
dashWidth: string;
|
package/library/utils.js
CHANGED
|
@@ -13,7 +13,7 @@ import { d as Pe } from "./chunks/drag.DenOh3AE.js";
|
|
|
13
13
|
import { f as Xe } from "./chunks/focus-when-visible.jWSw9ks0.js";
|
|
14
14
|
import { f as U } from "./chunks/form.DSsy3Fcy.js";
|
|
15
15
|
import { F as Be, c as Ge, g as $e, v as ze, a as qe } from "./chunks/form.DSsy3Fcy.js";
|
|
16
|
-
import { L as Ze, r as je } from "./chunks/i18n.
|
|
16
|
+
import { L as Ze, r as je } from "./chunks/i18n.CXIpdSSZ.js";
|
|
17
17
|
import { c as Ke, q as tr } from "./chunks/math.DuKzLacZ.js";
|
|
18
18
|
import { g as rr } from "./chunks/modal.Ct0bJBSe.js";
|
|
19
19
|
import { g as sr, l as or, s as nr, u as ir } from "./chunks/scroll.xtO5yojm.js";
|