@orangelogic/design-system 4.25.0 → 4.27.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 (62) hide show
  1. package/library/chunks/{asset-link-format.CyUiMsk0.js → asset-link-format.BEJh0Fqs.js} +3 -3
  2. package/library/chunks/{bicolor-picker.CWCWYEwd.js → bicolor-picker.C0PxxFzf.js} +1 -1
  3. package/library/chunks/{block-width.0PyAzdj4.js → block-width.CU2PEBrV.js} +19 -19
  4. package/library/chunks/{border-input-group.BL2Ur2wF.js → border-input-group.w-T10AEY.js} +1 -1
  5. package/library/chunks/{color-picker.4RmqHU3L.js → color-picker.CDUhOLEs.js} +3 -3
  6. package/library/chunks/{color-swatch-group.DBw5rGgv.js → color-swatch-group.DUskDB_p.js} +1076 -1058
  7. package/library/chunks/{config-manager.CgARMYCv.js → config-manager.C9OGzzbe.js} +16 -16
  8. package/library/chunks/{configs-controller.uHeyuYLg.js → configs-controller.D3dYYbfz.js} +4 -4
  9. package/library/chunks/{confirm-popover.CAi2Ss8x.js → confirm-popover.CaNKM2dH.js} +2 -2
  10. package/library/chunks/{corner-position-input-group.B6oea4JC.js → corner-position-input-group.CPrsYabs.js} +1 -1
  11. package/library/chunks/{dialog.Dw-WUyD8.js → dialog.BuirdRW8.js} +1 -1
  12. package/library/chunks/{document-viewer.zlfXjbFZ.js → document-viewer.C7WOv7ns.js} +3 -3
  13. package/library/chunks/{drawer.tfa9-G6a.js → drawer.BO3puoiw.js} +1 -1
  14. package/library/chunks/{dropdown.BSnnwEoA.js → dropdown.HoJsYnUC.js} +39 -36
  15. package/library/chunks/{dynamic-select.C18Su1Hi.js → dynamic-select.G1V7Da24.js} +1 -1
  16. package/library/chunks/{file-on-demand.C8wT6osZ.js → file-on-demand.DUWFRJnE.js} +4 -4
  17. package/library/chunks/{folder-select.i1Map6Gy.js → folder-select.CzNXsgl_.js} +1 -1
  18. package/library/chunks/{menu.CsKDyzJq.js → menu.BRFXqBpq.js} +42 -34
  19. package/library/chunks/{modal.CrMcpGz2.js → modal.775mgCbW.js} +9 -9
  20. package/library/chunks/{pagination.Dm29rNz4.js → pagination.By0sijVv.js} +1 -1
  21. package/library/chunks/{select.CPCSCV1h.js → select.v6t2pNH4.js} +16 -11
  22. package/library/chunks/{shadow-input-group.CRW-REDm.js → shadow-input-group.C9DU0Ehy.js} +1 -1
  23. package/library/chunks/{size-input-group.BUyxMiGb.js → size-input-group.Z_9n7Nv6.js} +1 -1
  24. package/library/chunks/{src.Bd_MAc58.js → src.QS2741a8.js} +9 -9
  25. package/library/chunks/{tab-group.Bw2Rp1W9.js → tab-group.DP9EvXFy.js} +2 -2
  26. package/library/components/asset-link-format.js +1 -1
  27. package/library/components/atoms.js +10 -10
  28. package/library/components/bicolor-picker.js +1 -1
  29. package/library/components/border-input-group.js +1 -1
  30. package/library/components/color-picker.js +1 -1
  31. package/library/components/color-swatch-group.js +1 -1
  32. package/library/components/confirm-popover.js +1 -1
  33. package/library/components/corner-position-input-group.js +1 -1
  34. package/library/components/dialog.js +1 -1
  35. package/library/components/document-viewer.js +1 -1
  36. package/library/components/drawer.js +1 -1
  37. package/library/components/dropdown.js +1 -1
  38. package/library/components/dynamic-select.js +1 -1
  39. package/library/components/file-on-demand.js +1 -1
  40. package/library/components/folder-select.js +1 -1
  41. package/library/components/menu.js +1 -1
  42. package/library/components/molecules.js +8 -8
  43. package/library/components/organisms.js +3 -3
  44. package/library/components/pagination.js +1 -1
  45. package/library/components/select.js +1 -1
  46. package/library/components/shadow-input-group.js +1 -1
  47. package/library/components/size-input-group.js +1 -1
  48. package/library/components/tab-group.js +1 -1
  49. package/library/components/types.js +9598 -9559
  50. package/library/package.json +1 -1
  51. package/library/packages/atoms/src/components/dropdown/dropdown.d.ts +1 -1
  52. package/library/packages/atoms/src/components/menu/menu.d.ts +9 -4
  53. package/library/packages/atoms/src/components/select/select.d.ts +5 -0
  54. package/library/packages/hybrid/rich-text/src/components/rich-text-toolbar/rich-text-toolbar.d.ts +4 -5
  55. package/library/packages/hybrid/rich-text/src/components/rich-text-toolbar/toolbar-list-actions.d.ts +45 -0
  56. package/library/packages/hybrid/rich-text/src/rich-text.d.ts +7 -0
  57. package/library/packages/molecules/src/multi-select/components/board/board.d.ts +9 -0
  58. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +2 -0
  59. package/library/packages/react-web-component.d.ts +0 -4
  60. package/library/react-web-component.d.ts +4 -4
  61. package/library/utils.js +5 -5
  62. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "4.25.0",
4
+ "version": "4.27.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -111,8 +111,8 @@ export default class CxDropdown extends CortexElement {
111
111
  getMenu(): CxMenu | undefined;
112
112
  private handleKeyDown;
113
113
  private handleDocumentKeyDown;
114
+ private hasFocusInside;
114
115
  private handleDocumentMouseDown;
115
- private handleDocumentFocusIn;
116
116
  private handlePanelSelect;
117
117
  handleTriggerClick(): Promise<void>;
118
118
  handleTriggerKeyDown(event: KeyboardEvent): void;
@@ -13,7 +13,7 @@ export interface MenuSelectEventDetail {
13
13
  * Menus support keyboard interactions, including type-to-select an option.
14
14
  *
15
15
  * @slot (default) - The menu's content, including menu items, menu labels, and dividers.
16
- * @slot back-button - A slot for a custom back button, used in 'multiple' variant menus.
16
+ * @slot back-button - A custom back button for 'multiple' variant menus: a `cx-menu-item` or a control such as `cx-button`.
17
17
  *
18
18
  * @attr {boolean} no-uncheck - When true, checkbox items do not toggle off when activated while already checked; applies to all checkbox items in this menu and combines with each item's own `no-uncheck`.
19
19
  *
@@ -23,6 +23,7 @@ export default class CxMenu extends CortexElement {
23
23
  static styles: CSSResultGroup;
24
24
  private readonly localize;
25
25
  defaultSlot: HTMLSlotElement;
26
+ backSlot: HTMLSlotElement | null;
26
27
  horizontal: boolean;
27
28
  /** The menu's variant */
28
29
  variant: MenuMode.Default | MenuMode.Multiple;
@@ -38,8 +39,6 @@ export default class CxMenu extends CortexElement {
38
39
  bubbleKeyDown: boolean;
39
40
  /** Override the default keydown navigation behavior of the dropdown menu. */
40
41
  ignoredKeys: string[];
41
- /** @deprecated Only stops ArrowUp/ArrowDown wrapping now; Tab is no longer intercepted. */
42
- disabledTabLoop: boolean;
43
42
  /** When true, checkbox items don't toggle off when already checked (same as each item's own `no-uncheck`). */
44
43
  noUncheck: boolean;
45
44
  resizeObserver: ResizeObserver | null;
@@ -57,7 +56,13 @@ export default class CxMenu extends CortexElement {
57
56
  private setRovingTabIndex;
58
57
  private isMenuSection;
59
58
  private isMenuItem;
60
- /** @internal Gets all slotted menu items, ignoring dividers, headers, and other elements. */
59
+ /** Menu items only, for tabindex: a custom back control keeps its own Tab stop (tabindex on its host is unreliable). */
60
+ private getMenuItems;
61
+ /** Whether `el` is a custom back control (e.g. `cx-button`), not a menu item. */
62
+ private isBackControl;
63
+ /** Focuses a panel's tab stop, so focus doesn't stay behind in the panel that is being hidden. */
64
+ private focusPanelTabStop;
65
+ /** @internal Gets all menu items, back button first, ignoring dividers, headers, and other elements. */
61
66
  getAllItems(): CxMenuItem[];
62
67
  /** @internal Gets all slotted submenus, used for 'multiple' variant */
63
68
  getAllSubMenus(): CxMenu[];
@@ -99,6 +99,11 @@ export default class CxSelect extends CortexElement implements CortexFormControl
99
99
  * The original unmatched value is preserved for form submission.
100
100
  */
101
101
  fallbackOptionValue: string;
102
+ /**
103
+ * Lets an empty value select the option whose value is an empty string, such as a "None" option.
104
+ * Off by default because an option without a declared value also has an empty value.
105
+ */
106
+ matchEmptyValue: boolean;
102
107
  /**
103
108
  * The default value of the form control. Primarily used for resetting the form control.
104
109
  */
@@ -279,13 +279,12 @@ export default class CxRichTextToolbar extends CortexElement {
279
279
  private getOrderedListStyleForToolbar;
280
280
  private applyBulletListStyle;
281
281
  private applyOrderedListStyle;
282
- /** Selection's touched blocks as blank-line-separated runs, as `setTextSelection` spans. */
282
+ /** The touched blocks of each list scope as one run, as a `setTextSelection` span. */
283
283
  private collectSelectedBlockGroups;
284
- /**
285
- * Flattens each touched blank-line-separated section to paragraphs, then lets `applyToGroup`
286
- * turn each one into its own list. Toggling off passes nothing, so off mirrors on.
287
- */
284
+ /** Flattens each touched run to paragraphs, then lets `applyToGroup` turn it into a list. */
288
285
  private flattenSelectionGroups;
286
+ /** Unlists only the selected lines; lifting them splits the list around the selection. */
287
+ private unlistSelection;
289
288
  /**
290
289
  * Whether every touched block is already this list type — i.e. a click should remove
291
290
  * (vs. add). Block-level on purpose: Tiptap's `isActive` is range-coverage based and
@@ -0,0 +1,45 @@
1
+ import { Command } from '@tiptap/core';
2
+ import { Node as ProseMirrorNode } from '@tiptap/pm/model';
3
+ import { EditorState, Transaction } from '@tiptap/pm/state';
4
+ /** A block container the list toggles work inside, with the selection clipped to it. */
5
+ export type ListScope = {
6
+ from: number;
7
+ node: ProseMirrorNode;
8
+ /** Position of the container's first child. */
9
+ start: number;
10
+ to: number;
11
+ };
12
+ export type TouchedBlock = {
13
+ from: number;
14
+ node: ProseMirrorNode;
15
+ to: number;
16
+ };
17
+ export declare function isListNode(node: ProseMirrorNode): boolean;
18
+ /**
19
+ * The toggles work inside the nearest container around the selection that is not part of a list
20
+ * (a table cell, a blockquote, the document), with one scope per cell for a cell selection.
21
+ */
22
+ export declare function listScopes(state: EditorState): ListScope[];
23
+ /** The direct children of the scopes that the selection touches, in document order. */
24
+ export declare function touchedBlocks(scopes: ListScope[]): TouchedBlock[];
25
+ /**
26
+ * clearNodes collapses the selection to a cursor; re-select [from, to] through the mapping, with
27
+ * `between` since a lifted boundary can map outside any text.
28
+ */
29
+ export declare function reselectMappedRange(from: number, to: number): Command;
30
+ /**
31
+ * Takes the selected textblocks out of their lists. Replaces Tiptap's clearNodes, which resets
32
+ * their attributes (alignment, line height…), strips non-list wrappers such as a blockquote too,
33
+ * and walks a cached doc that goes stale once an earlier command in the chain changed an ancestor.
34
+ */
35
+ export declare function clearNodesKeepingAttrs(): Command;
36
+ /** List items holding nothing but nested lists, within `ranges`. */
37
+ export declare function nestedOnlyItemPositions(doc: ProseMirrorNode, ranges: Array<{
38
+ from: number;
39
+ to: number;
40
+ }>): number[];
41
+ /**
42
+ * Lifting a parent item out of its list leaves its nested list in an item with no text of its own,
43
+ * which renders as a bare marker. Moves the nested items at `positions` up into the enclosing list.
44
+ */
45
+ export declare function liftNestedOnlyItems(tr: Transaction, positions: number[]): void;
@@ -288,6 +288,13 @@ export default class CxRichText extends CortexElement {
288
288
  private teardownEditor;
289
289
  private initializeEditor;
290
290
  private emitRichTextChange;
291
+ /** Hides the caret until the selection and placeholder have painted, so it does not jump. */
292
+ private revealCaretAfterPaint;
293
+ /**
294
+ * No blur() here: hosts save on cx-rich-text-blur. The DOM selection is collapsed by hand since
295
+ * it still spans the emptied <p>, which shadowRoot.getSelection() wrongly reports as collapsed.
296
+ */
297
+ private resetEmptyCaret;
291
298
  private shouldCheckForbiddenKeys;
292
299
  private getLegacyKeyCodeFromKeyboardEvent;
293
300
  private getLegacyKeyCodeFromBeforeInputEvent;
@@ -99,6 +99,9 @@ export default class CxBoard extends CortexElement {
99
99
  private end;
100
100
  private previous;
101
101
  private lastSelectedItem;
102
+ /** Last pointer `clientY` during a drag. */
103
+ private dragPointerY;
104
+ private dragScrollFrame;
102
105
  get selectedCount(): number;
103
106
  /**
104
107
  * Whether the tick, rather than the dash, is what the header should show.
@@ -123,6 +126,8 @@ export default class CxBoard extends CortexElement {
123
126
  */
124
127
  get selectableItems(): BoardItem[];
125
128
  constructor();
129
+ runConnectedCallback(): void;
130
+ disconnectedCallback(): void;
126
131
  private resetSelectedItems;
127
132
  /** Handles the update of items in the board. */
128
133
  private handleUpdateEvent;
@@ -154,6 +159,9 @@ export default class CxBoard extends CortexElement {
154
159
  private selectSingleItem;
155
160
  private handleItemKeydown;
156
161
  handleStart(evt: Sortable.SortableEvent): void;
162
+ private handleDragPointerMove;
163
+ /** Replaces Sortable's auto-scroll, which cannot see lists inside the shadow root. */
164
+ private autoScrollDraggedList;
157
165
  handleUpdate(evt: Sortable.SortableEvent): void;
158
166
  /**
159
167
  * Keeps disabled (`readonly`) rows fixed relative to each other when other rows are reordered.
@@ -184,6 +192,7 @@ export default class CxBoard extends CortexElement {
184
192
  * real item.
185
193
  */
186
194
  private resolveRealInsertIndex;
195
+ private resolveDropIndex;
187
196
  private initSortable;
188
197
  /** Initializes the sortable functionality for the list element. */
189
198
  runFirstUpdated(): void;
@@ -24,6 +24,8 @@ export type CxAssetLinkFormatChangeEvent = CustomEvent<string>;
24
24
  * @property {boolean} no-crop - When true, hides the crop panel.
25
25
  * @property {boolean} no-resize - When true, hides the resize panel.
26
26
  * @property {boolean} no-rotate - When true, hides the rotation panel.
27
+ *
28
+ * @slot footer - Additional content rendered in normal flow after the transformation controls.
27
29
  */
28
30
  export default class CxAssetLinkFormat extends CortexElement {
29
31
  static readonly styles: CSSResultGroup;
@@ -5004,10 +5004,6 @@ interface CxMenuAttributes extends HTMLAttributes<CxMenu> {
5004
5004
  * Override the default keydown navigation behavior of the dropdown menu.
5005
5005
  */
5006
5006
  ignoredKeys?: string[];
5007
- /**
5008
- *
5009
- */
5010
- disabledTabLoop?: boolean;
5011
5007
  /**
5012
5008
  * When true, checkbox items in this menu do not toggle off when already activated while checked—the same behavior as setting `no-uncheck` on each checkbox item.
5013
5009
  */
@@ -884,10 +884,6 @@
884
884
  * Override the default keydown navigation behavior of the dropdown menu.
885
885
  */
886
886
  ignoredKeys?: string[];
887
- /**
888
- * @deprecated Only stops ArrowUp/ArrowDown wrapping now; Tab is no longer intercepted.
889
- */
890
- disabledTabLoop?: boolean;
891
887
  /**
892
888
  * When true, checkbox items don't toggle off when already checked (same as each item's own `no-uncheck`).
893
889
  */
@@ -1990,6 +1986,10 @@
1990
1986
  * The fallback option value used when the select value does not match any explicitly declared option. The original unmatched value is preserved for form submission.
1991
1987
  */
1992
1988
  fallbackOptionValue?: string;
1989
+ /**
1990
+ * Lets an empty value select the option whose value is an empty string, such as a "None" option. Off by default because an option without a declared value also has an empty value.
1991
+ */
1992
+ matchEmptyValue?: boolean;
1993
1993
  /**
1994
1994
  * The default value of the form control. Primarily used for resetting the form control.
1995
1995
  */
package/library/utils.js CHANGED
@@ -17,14 +17,14 @@ import { t as ft } from "./chunks/default-value.opqQgoRT.js";
17
17
  import { a as pt, c as mt, i as ht, l as gt, n as _t, o as vt, r as yt, s as bt, t as xt } from "./chunks/gradient.rrDxmV60.js";
18
18
  import { t as St } from "./chunks/drag.s0AcVpKh.js";
19
19
  import { n as Ct, t as wt } from "./chunks/math.od1DVmRk.js";
20
- import { t as Tt } from "./chunks/focus-when-visible.DKscgyKo.js";
21
- import { n as Et, t as Dt } from "./chunks/tabbable.Bflg1dha.js";
22
- import { n as Ot, t as kt } from "./chunks/active-elements.Tk45XSNQ.js";
20
+ import { n as Tt, t as Et } from "./chunks/active-elements.Tk45XSNQ.js";
21
+ import { t as Dt } from "./chunks/focus-when-visible.DKscgyKo.js";
22
+ import { n as Ot, t as kt } from "./chunks/tabbable.Bflg1dha.js";
23
23
  import { i as At, n as jt, r as Mt, t as Nt } from "./chunks/scroll.CEH_a4pm.js";
24
24
  import { t as Pt } from "./chunks/user-agent.D2bRhUeS.js";
25
25
  import { t as Ft } from "./chunks/parse.CDrJ-NY7.js";
26
26
  import { S as It, _ as Lt, b as Rt, d as zt, f as Bt, g as Vt, h as Ht, m as Ut, p as Wt, t as Gt, u as Kt, v as qt, x as Jt, y as Yt } from "./chunks/date.BL4L64Hx.js";
27
- import { n as Xt } from "./chunks/modal.CrMcpGz2.js";
27
+ import { n as Xt } from "./chunks/modal.775mgCbW.js";
28
28
  import { a as Zt, c as Qt, d as $t, f as en, i as tn, l as nn, n as rn, o as O, p as an, r as on, s as sn, t as cn, u as ln } from "./chunks/url.CZO_DV8Y.js";
29
29
  import { a as un, c as dn, d as fn, f as pn, h as mn, i as hn, l as gn, m as _n, n as vn, o as yn, p as bn, r as xn, s as Sn, t as Cn, u as wn } from "./chunks/color.CIOzHtLK.js";
30
30
  import { t as Tn } from "./chunks/converters.CFh-tT4P.js";
@@ -708,4 +708,4 @@ function Ar({ duration: e, frameWidth: t, playbackSpeed: n, scale: r }) {
708
708
  return i > e && (i = e / 2), i;
709
709
  }
710
710
  //#endregion
711
- export { _r as AUTO_FALLBACK_FORMAT, q as AUTO_FORMAT_EXTENSION, br as AUTO_ORIGINAL_FORMAT_MAX_BYTES, Cn as CMYK_VALIDATION_REGEX, Kt as CalendarGrid, vn as ColorType, Un as CortexPopupController, On as DEFAULT_BREAKPOINTS, Gt as DateRangePresets, Wn as DragScroll, Ae as FormControlController, xn as HEX_ALPHA_VALIDATION_REGEX, hn as HEX_VALIDATION_REGEX, d as HasSlotController, nr as HistoryManager, rr as KeyboardKey, c as LocalizeController, xt as MIN_GRADIENT_STOPS, gr as ORIGINAL_FORMAT, Er as PRECISION, cn as RELATIVE_URL_REGEX, un as RGB_VALIDATION_REGEX, G as SRCSET_WIDTH_LADDER, rn as URL_DOMAIN_VALIDATION_REGEX, on as URL_INTRANET_DOMAIN_VALIDATION_REGEX, tn as URL_PROTOCOL_VALIDATION_REGEX, Zt as URL_VALIDATION_REGEX, kt as activeElements, zt as addMonths, Hn as adjustRelativeValues, n as animateTo, O as appendProtocol, sn as appendQueryParam, J as applyTransformationsToUrl, Y as applyWidthToAssetUrl, wr as buildAssetSrcset, Tr as buildSizesFromDisplayWidth, K as buildTransformationString, dt as buildWaveformPath, lt as calculateAspectRatioFit, wt as clamp, at as cleanImageFileName, Ge as clearZeroDurationParts, yn as convertColor, et as convertDataUnits, Xe as convertDurationToMilliseconds, Qe as convertPixelsToAspectRatio, st as convertSrcToBlob, _t as createStopId, rt as cropImage, x as cssValueToPx, o as customElement, T as customErrorValidityState, Ve as debounce, ft as defaultValue, In as downloadAsset, St as drag, pe as emptyToSpace, ce as escapeXML, Sn as extractColor, de as extractExtension, kr as extractFrames, ae as extractRootData, Je as extractValueAndUnit, ut as extractWaveformPeaks, qn as fetchCortexApi, ze as findAncestorWithBuggyStyle, Fe as findContainingBlock, Le as findCuttingAncestor, $ as findFrameByColAndRow, Ln as findIndexByProp, Tt as focusWhenVisible, E as formCollections, Ke as formatAspectRatioString, dn as formatColorCodeSeparator, Ue as formatDurationPartsManually, gn as formatHexCode, Bt as formatIsoToDisplay, Wt as formatMonthYearLabel, Ze as formatNumberWithGrouping, g as formatSecondsToTime, le as formatTimeToSeconds, We as formatWithIntlDurationFormat, $e as gcd, Ee as getActiveElement, Xt as getActiveModals, w as getAssociatedForm, y as getAttributes, fe as getAttributesString, En as getBreakpointsFromCSS, Zn as getBrowserFontVariants, wn as getColorType, tt as getContainedImageSize, Ce as getCortexPopupLayer, v as getCurrentZIndex, Ut as getDateMask, Ot as getDeepestActiveElement, Dn as getDeviceType, He as getDurationPartsByUnitsFormat, De as getElementFromHTMLString, b as getElementFromTemplate, Ht as getFirstDayOfWeek, Yn as getFontFamilyOptionValue, $n as getFontFamilyVariants, H as getFormControls, An as getHighlightedTitle, kn as getHighlightedTitleHtml, l as getInnerHTML, Ar as getInterval, fn as getLightDarkCssString, ot as getNaturalWidthHeight, ye as getNeededPaddingForBoxShadow, Ne as getNextAncestor, At as getOffset, we as getRelativeClickPercentage, ee as getRootIDString, Dt as getTabbableBoundary, Et as getTabbableElements, u as getTextContent, Vt as getTodayIsoDate, Jn as getTypefaceOptionValue, Bn as groupBy, mr as hasTransformSegment, oe as htmlToPlainText, P as insertAtIndex, Dr as insertFrameToCache, F as insertMultipleAtIndex, yt as interpolateStopColor, je as isChrome, Pt as isCortexAdobePlugin, S as isDomElement, be as isElementInHorizontalView, Qt as isExpiredAssetUrl, Ie as isFirefox, Xn as isFontFamilyAvailable, tr as isFormInteracted, me as isGalleryItemCardType, ht as isGradientString, Re as isIOS, xe as isInElement, Gn as isModKey, Me as isSafari, ct as isSaveSrcValid, nn as isValidDomainOrIntranetUrl, Lt as isValidIsoDate, ln as isValidUrl, qt as isoToDate, jn as isoWeekNumber, Oe as loadScript, Nt as lockBodyScrolling, pn as luminanceTextColor, zn as moveMultipleToIndex, Rn as moveToIndex, Vn as multiSelectTo, pt as normalizeAngle, Yt as normalizeToIsoDate, ir as omit, Mn as openAssetOverview, Nn as openFolderOverview, Pn as openLink, te as padPath, ne as parseBooleanString, bn as parseBorder, Rt as parseDisplayToIso, i as parseDuration, Q as parseFileSizeToBytes, vt as parseGradient, Jt as parseIsoDate, or as parseJsonString, _n as parseLightDark, sr as parseListString, mn as parseShadow, fr as parseTransformations, ar as pick, Pe as popoverSupported, t as prefersReducedMotion, Ct as quantizeLargestRemainder, R as quoteFontFamily, cr as readLocalStorageValue, Te as readSearchConsistency, ue as reducePathToDirectChild, s as registerTranslation, M as removeAtIndex, N as removeMultipleAtIndex, nt as resizeImage, Cr as resolveAutoFormat, Sr as resolveAutoMaxWidth, $t as resolveSpaceUrl, qe as rotateBox, it as rotateImage, se as safeExtension, ie as safeString, re as sanitizeHTML, Ye as sanitizeRotation, jt as scrollIntoView, er as serialize, bt as serializeGradient, Fn as shareAsset, e as shimKeyframesHeightAuto, Se as sortByTopPosition, mt as sortStops, V as sortTypefaceVariants, Ft as splitBoxValues, h as splitCamelCaseFormatted, gt as splitTopLevel, r as stopAnimations, Be as supportHLS, B as testFontAvailability, Tn as timecodeConverter, he as toCamelCase, It as toIsoDate, ve as toKebabCase, _ as toPascalCase, en as toRelativeUrl, _e as toTitleCase, an as toUrlPathKey, ur as toast, m as truncateTextMiddle, p as unescapeXML, Mt as unlockBodyScrolling, z as unquoteFontFamily, ge as upperFirst, C as validValidityState, ke as valueMissingValidityState, a as waitForEvent, f as watch, lr as writeLocalStorageValue };
711
+ export { _r as AUTO_FALLBACK_FORMAT, q as AUTO_FORMAT_EXTENSION, br as AUTO_ORIGINAL_FORMAT_MAX_BYTES, Cn as CMYK_VALIDATION_REGEX, Kt as CalendarGrid, vn as ColorType, Un as CortexPopupController, On as DEFAULT_BREAKPOINTS, Gt as DateRangePresets, Wn as DragScroll, Ae as FormControlController, xn as HEX_ALPHA_VALIDATION_REGEX, hn as HEX_VALIDATION_REGEX, d as HasSlotController, nr as HistoryManager, rr as KeyboardKey, c as LocalizeController, xt as MIN_GRADIENT_STOPS, gr as ORIGINAL_FORMAT, Er as PRECISION, cn as RELATIVE_URL_REGEX, un as RGB_VALIDATION_REGEX, G as SRCSET_WIDTH_LADDER, rn as URL_DOMAIN_VALIDATION_REGEX, on as URL_INTRANET_DOMAIN_VALIDATION_REGEX, tn as URL_PROTOCOL_VALIDATION_REGEX, Zt as URL_VALIDATION_REGEX, Et as activeElements, zt as addMonths, Hn as adjustRelativeValues, n as animateTo, O as appendProtocol, sn as appendQueryParam, J as applyTransformationsToUrl, Y as applyWidthToAssetUrl, wr as buildAssetSrcset, Tr as buildSizesFromDisplayWidth, K as buildTransformationString, dt as buildWaveformPath, lt as calculateAspectRatioFit, wt as clamp, at as cleanImageFileName, Ge as clearZeroDurationParts, yn as convertColor, et as convertDataUnits, Xe as convertDurationToMilliseconds, Qe as convertPixelsToAspectRatio, st as convertSrcToBlob, _t as createStopId, rt as cropImage, x as cssValueToPx, o as customElement, T as customErrorValidityState, Ve as debounce, ft as defaultValue, In as downloadAsset, St as drag, pe as emptyToSpace, ce as escapeXML, Sn as extractColor, de as extractExtension, kr as extractFrames, ae as extractRootData, Je as extractValueAndUnit, ut as extractWaveformPeaks, qn as fetchCortexApi, ze as findAncestorWithBuggyStyle, Fe as findContainingBlock, Le as findCuttingAncestor, $ as findFrameByColAndRow, Ln as findIndexByProp, Dt as focusWhenVisible, E as formCollections, Ke as formatAspectRatioString, dn as formatColorCodeSeparator, Ue as formatDurationPartsManually, gn as formatHexCode, Bt as formatIsoToDisplay, Wt as formatMonthYearLabel, Ze as formatNumberWithGrouping, g as formatSecondsToTime, le as formatTimeToSeconds, We as formatWithIntlDurationFormat, $e as gcd, Ee as getActiveElement, Xt as getActiveModals, w as getAssociatedForm, y as getAttributes, fe as getAttributesString, En as getBreakpointsFromCSS, Zn as getBrowserFontVariants, wn as getColorType, tt as getContainedImageSize, Ce as getCortexPopupLayer, v as getCurrentZIndex, Ut as getDateMask, Tt as getDeepestActiveElement, Dn as getDeviceType, He as getDurationPartsByUnitsFormat, De as getElementFromHTMLString, b as getElementFromTemplate, Ht as getFirstDayOfWeek, Yn as getFontFamilyOptionValue, $n as getFontFamilyVariants, H as getFormControls, An as getHighlightedTitle, kn as getHighlightedTitleHtml, l as getInnerHTML, Ar as getInterval, fn as getLightDarkCssString, ot as getNaturalWidthHeight, ye as getNeededPaddingForBoxShadow, Ne as getNextAncestor, At as getOffset, we as getRelativeClickPercentage, ee as getRootIDString, kt as getTabbableBoundary, Ot as getTabbableElements, u as getTextContent, Vt as getTodayIsoDate, Jn as getTypefaceOptionValue, Bn as groupBy, mr as hasTransformSegment, oe as htmlToPlainText, P as insertAtIndex, Dr as insertFrameToCache, F as insertMultipleAtIndex, yt as interpolateStopColor, je as isChrome, Pt as isCortexAdobePlugin, S as isDomElement, be as isElementInHorizontalView, Qt as isExpiredAssetUrl, Ie as isFirefox, Xn as isFontFamilyAvailable, tr as isFormInteracted, me as isGalleryItemCardType, ht as isGradientString, Re as isIOS, xe as isInElement, Gn as isModKey, Me as isSafari, ct as isSaveSrcValid, nn as isValidDomainOrIntranetUrl, Lt as isValidIsoDate, ln as isValidUrl, qt as isoToDate, jn as isoWeekNumber, Oe as loadScript, Nt as lockBodyScrolling, pn as luminanceTextColor, zn as moveMultipleToIndex, Rn as moveToIndex, Vn as multiSelectTo, pt as normalizeAngle, Yt as normalizeToIsoDate, ir as omit, Mn as openAssetOverview, Nn as openFolderOverview, Pn as openLink, te as padPath, ne as parseBooleanString, bn as parseBorder, Rt as parseDisplayToIso, i as parseDuration, Q as parseFileSizeToBytes, vt as parseGradient, Jt as parseIsoDate, or as parseJsonString, _n as parseLightDark, sr as parseListString, mn as parseShadow, fr as parseTransformations, ar as pick, Pe as popoverSupported, t as prefersReducedMotion, Ct as quantizeLargestRemainder, R as quoteFontFamily, cr as readLocalStorageValue, Te as readSearchConsistency, ue as reducePathToDirectChild, s as registerTranslation, M as removeAtIndex, N as removeMultipleAtIndex, nt as resizeImage, Cr as resolveAutoFormat, Sr as resolveAutoMaxWidth, $t as resolveSpaceUrl, qe as rotateBox, it as rotateImage, se as safeExtension, ie as safeString, re as sanitizeHTML, Ye as sanitizeRotation, jt as scrollIntoView, er as serialize, bt as serializeGradient, Fn as shareAsset, e as shimKeyframesHeightAuto, Se as sortByTopPosition, mt as sortStops, V as sortTypefaceVariants, Ft as splitBoxValues, h as splitCamelCaseFormatted, gt as splitTopLevel, r as stopAnimations, Be as supportHLS, B as testFontAvailability, Tn as timecodeConverter, he as toCamelCase, It as toIsoDate, ve as toKebabCase, _ as toPascalCase, en as toRelativeUrl, _e as toTitleCase, an as toUrlPathKey, ur as toast, m as truncateTextMiddle, p as unescapeXML, Mt as unlockBodyScrolling, z as unquoteFontFamily, ge as upperFirst, C as validValidityState, ke as valueMissingValidityState, a as waitForEvent, f as watch, lr as writeLocalStorageValue };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "4.25.0",
4
+ "version": "4.27.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {