@orangelogic/design-system 4.50.0 → 4.52.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 (140) hide show
  1. package/library/chunks/{array-line-clamp.HGGPocNC.js → array-line-clamp.DKxxZlon.js} +2 -2
  2. package/library/chunks/{asset-link-format.Ca8KxyCV.js → asset-link-format.B_gS4nTL.js} +557 -522
  3. package/library/chunks/{bicolor-picker.BGSxhZJ-.js → bicolor-picker.YUjpxOEl.js} +1 -1
  4. package/library/chunks/{block-width.BiCAGZxV.js → block-width.BDpJyD-F.js} +27 -27
  5. package/library/chunks/{border-input-group.wXw6aSGa.js → border-input-group.D5V40_dV.js} +1 -1
  6. package/library/chunks/{color-picker.DlcAbY3b.js → color-picker.B6zsp9q3.js} +108 -108
  7. package/library/chunks/{color-swatch-group.BdYLfI59.js → color-swatch-group.C-4jpi7T.js} +109 -109
  8. package/library/chunks/{color-swatch.D31RnyZs.js → color-swatch.Biz89VJr.js} +1 -1
  9. package/library/chunks/{config-manager.Bwkq7ll7.js → config-manager.D4XcNU1d.js} +16 -16
  10. package/library/chunks/{configs-controller.Cc-Lt6BH.js → configs-controller.C8z7oMRd.js} +5 -5
  11. package/library/chunks/{corner-position-input-group.DmmX8lEw.js → corner-position-input-group.vhSOueRn.js} +1 -1
  12. package/library/chunks/{diff.DAFtnzhM.js → diff.DZjfy2VU.js} +4 -4
  13. package/library/chunks/{document-viewer.CpC54CmZ.js → document-viewer.DVV4HsLS.js} +3 -3
  14. package/library/chunks/{dynamic-select.CtdC5OzH.js → dynamic-select.DmTXLyzH.js} +5 -5
  15. package/library/chunks/{file-on-demand.B4KUSqtB.js → file-on-demand.CLwTe72F.js} +9 -9
  16. package/library/chunks/{folder-select.DEGiL0pP.js → folder-select.BF1l6Zah.js} +20 -20
  17. package/library/chunks/{image.B87-7U_Z.js → image.C6-Opjew.js} +10 -10
  18. package/library/chunks/{line-clamp.BFh7eXXl.js → line-clamp.COXyDBRB.js} +23 -18
  19. package/library/chunks/{masonry.H7Hpnx9d.js → masonry.4Lcy37gf.js} +1 -1
  20. package/library/chunks/{pagination.ca5R1wld.js → pagination.Mr-XiQBd.js} +1 -1
  21. package/library/chunks/{radio-card.DTRD2YQ6.js → radio-card.jROctGtI.js} +1 -1
  22. package/library/chunks/{range.BUjztx8Q.js → range.CQzHuhd9.js} +10 -10
  23. package/library/chunks/{select.NhbQgMNA.js → select.CEgt2ciT.js} +2 -2
  24. package/library/chunks/{shadow-input-group.Zt8zKRxQ.js → shadow-input-group.DTEIzl1s.js} +1 -1
  25. package/library/chunks/{share-option-list.pVQugFoP.js → share-option-list.CdQeYk-I.js} +4 -4
  26. package/library/chunks/{size-input-group.Cxo0uCXM.js → size-input-group.DtldCuqS.js} +1 -1
  27. package/library/chunks/{src.3QpUQeRm.js → src.BjEmxalH.js} +18 -18
  28. package/library/chunks/{step.CC1wfskA.js → step.BlnWLzqI.js} +1 -1
  29. package/library/chunks/{stepper-wizard.BJARESIb.js → stepper-wizard.t7enm9Uz.js} +2 -2
  30. package/library/chunks/{stepper.CUxBZKM6.js → stepper.DzhUPTLW.js} +1 -1
  31. package/library/chunks/{tab-group.lMvydOdb.js → tab-group.DIVmzKse.js} +1 -1
  32. package/library/chunks/{tab.BKJEGsgj.js → tab.C0oUx7MY.js} +1 -1
  33. package/library/chunks/{tag.Dj8VrFFk.js → tag.B2S21_nF.js} +1 -1
  34. package/library/chunks/{tree.BWKeg92V.js → tree.Bq4vAQ6w.js} +1 -1
  35. package/library/chunks/{typeface.BLblmcP7.js → typeface.Dr9m4SZE.js} +1 -1
  36. package/library/chunks/{video.2jpE1tqO.js → video.bGH-n4pZ.js} +12 -12
  37. package/library/components/array-line-clamp.js +1 -1
  38. package/library/components/asset-link-format.js +1 -1
  39. package/library/components/atoms.js +21 -21
  40. package/library/components/bicolor-picker.js +1 -1
  41. package/library/components/border-input-group.js +1 -1
  42. package/library/components/color-picker.js +1 -1
  43. package/library/components/color-swatch-group.js +1 -1
  44. package/library/components/color-swatch.js +1 -1
  45. package/library/components/corner-position-input-group.js +1 -1
  46. package/library/components/diff.js +1 -1
  47. package/library/components/document-viewer.js +1 -1
  48. package/library/components/dynamic-select.js +1 -1
  49. package/library/components/file-on-demand.js +1 -1
  50. package/library/components/folder-select.js +1 -1
  51. package/library/components/image.js +1 -1
  52. package/library/components/line-clamp.js +1 -1
  53. package/library/components/masonry.js +1 -1
  54. package/library/components/molecules.js +12 -12
  55. package/library/components/organisms.js +3 -3
  56. package/library/components/pagination.js +1 -1
  57. package/library/components/radio-card.js +1 -1
  58. package/library/components/range.js +1 -1
  59. package/library/components/select.js +1 -1
  60. package/library/components/shadow-input-group.js +1 -1
  61. package/library/components/share-option-list.js +1 -1
  62. package/library/components/size-input-group.js +1 -1
  63. package/library/components/step.js +1 -1
  64. package/library/components/stepper-wizard.js +1 -1
  65. package/library/components/stepper.js +1 -1
  66. package/library/components/tab-group.js +1 -1
  67. package/library/components/tab.js +1 -1
  68. package/library/components/tag.js +1 -1
  69. package/library/components/tree-item.js +1 -1
  70. package/library/components/tree.js +1 -1
  71. package/library/components/typeface.js +1 -1
  72. package/library/components/types.js +228 -228
  73. package/library/components/video.js +1 -1
  74. package/library/package.json +1 -1
  75. package/library/packages/atoms/src/components/alert/alert.d.ts +3 -0
  76. package/library/packages/atoms/src/components/badge/badge.d.ts +3 -0
  77. package/library/packages/atoms/src/components/button/button.d.ts +12 -0
  78. package/library/packages/atoms/src/components/card/card.d.ts +1 -0
  79. package/library/packages/atoms/src/components/checkbox/checkbox.d.ts +18 -0
  80. package/library/packages/atoms/src/components/color-picker/color-picker.d.ts +7 -0
  81. package/library/packages/atoms/src/components/copy-button/copy-button.d.ts +11 -0
  82. package/library/packages/atoms/src/components/dialog/dialog.d.ts +2 -0
  83. package/library/packages/atoms/src/components/divider/divider.d.ts +2 -0
  84. package/library/packages/atoms/src/components/drawer/drawer.d.ts +3 -0
  85. package/library/packages/atoms/src/components/dropdown/dropdown.d.ts +3 -0
  86. package/library/packages/atoms/src/components/icon-button/icon-button.d.ts +6 -0
  87. package/library/packages/atoms/src/components/image/image.d.ts +1 -0
  88. package/library/packages/atoms/src/components/input/input.d.ts +39 -0
  89. package/library/packages/atoms/src/components/line-clamp/line-clamp.d.ts +8 -0
  90. package/library/packages/atoms/src/components/menu/menu.d.ts +4 -0
  91. package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +2 -0
  92. package/library/packages/atoms/src/components/option/option.d.ts +1 -0
  93. package/library/packages/atoms/src/components/pagination/pagination.d.ts +1 -0
  94. package/library/packages/atoms/src/components/radio/radio.d.ts +14 -0
  95. package/library/packages/atoms/src/components/radio-button/radio-button.d.ts +11 -0
  96. package/library/packages/atoms/src/components/radio-card/radio-card.d.ts +3 -0
  97. package/library/packages/atoms/src/components/radio-group/radio-group.d.ts +2 -0
  98. package/library/packages/atoms/src/components/range/range.d.ts +3 -0
  99. package/library/packages/atoms/src/components/rating/rating.d.ts +2 -0
  100. package/library/packages/atoms/src/components/select/select.d.ts +38 -0
  101. package/library/packages/atoms/src/components/split-panel/split-panel.d.ts +1 -0
  102. package/library/packages/atoms/src/components/switch/switch.d.ts +12 -0
  103. package/library/packages/atoms/src/components/tag/tag.d.ts +10 -0
  104. package/library/packages/atoms/src/components/textarea/textarea.d.ts +38 -0
  105. package/library/packages/atoms/src/components/tooltip/tooltip.d.ts +9 -0
  106. package/library/packages/atoms/src/components/tree-item/tree-item.d.ts +1 -0
  107. package/library/packages/hybrid/rich-text/src/components/rich-text-bubble-menu/rich-text-bubble-menu.d.ts +4 -0
  108. package/library/packages/hybrid/rich-text/src/components/rich-text-toolbar/rich-text-toolbar.d.ts +3 -0
  109. package/library/packages/hybrid/rich-text/src/rich-text.d.ts +3 -0
  110. package/library/packages/hybrid/table-core/src/table/components/table-toolbar/table-toolbar.d.ts +2 -0
  111. package/library/packages/hybrid/table-core/src/table/table.d.ts +3 -0
  112. package/library/packages/hybrid/video-advanced/src/video-advanced/video-advanced.d.ts +12 -0
  113. package/library/packages/molecules/src/3d-viewer/components/3d-viewer-config/3d-viewer-config.d.ts +3 -0
  114. package/library/packages/molecules/src/annotator/annotator.d.ts +2 -0
  115. package/library/packages/molecules/src/asset-format-picker/asset-format-picker.d.ts +3 -0
  116. package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +3 -0
  117. package/library/packages/molecules/src/download-format-picker/download-format-picker.d.ts +3 -0
  118. package/library/packages/molecules/src/input-date-picker/input-date-picker.d.ts +3 -0
  119. package/library/packages/molecules/src/markdown-viewer/markdown-viewer.d.ts +3 -0
  120. package/library/packages/molecules/src/multi-select/components/board/board.d.ts +4 -0
  121. package/library/packages/molecules/src/multi-select/components/board-list-item/board-list-item.d.ts +6 -0
  122. package/library/packages/molecules/src/publish-page/publish-page.d.ts +2 -0
  123. package/library/packages/molecules/src/view-and-sort/view-and-sort.d.ts +6 -0
  124. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +8 -2
  125. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +11 -3
  126. package/library/packages/organisms/src/chatbot/chatbot.d.ts +4 -0
  127. package/library/packages/organisms/src/comment/comment.d.ts +2 -0
  128. package/library/packages/organisms/src/content-builder/blocks/button/button.d.ts +3 -0
  129. package/library/packages/organisms/src/content-builder/blocks/search-box/search-box.d.ts +2 -0
  130. package/library/packages/organisms/src/content-builder/content-builder.d.ts +2 -0
  131. package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/rte-bubble-menu.d.ts +7 -0
  132. package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-table-generator/rte-table-generator.d.ts +6 -0
  133. package/library/packages/organisms/src/downloader/downloader.d.ts +6 -0
  134. package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.d.ts +2 -0
  135. package/library/packages/organisms/src/find-and-replace/find-and-replace.d.ts +1 -0
  136. package/library/packages/organisms/src/text-to-speech/text-to-speech.d.ts +3 -0
  137. package/library/react-web-component.d.ts +30 -30
  138. package/library/utils.js +7 -7
  139. package/package.json +1 -1
  140. package/library/chunks/{src.CFxipFzl.js → src.BJpSLSUr.js} +1 -1
@@ -72,6 +72,9 @@ import { RichTextMenuBarSpec, RichTextStyleFormat, RichTextToolbarSpec } from '.
72
72
  * @event cx-rich-text-blur - Emitted when the editor loses focus.
73
73
  * @event cx-rich-text-focus - Emitted when the editor gains focus.
74
74
  * @event cx-rich-text-click - Emitted when the user clicks inside the toolbar, editor, or table bubble.
75
+ *
76
+ * @cssproperty [--cx-input-border-width=1px] - Border width of the rich text editor, unless `--rich-text-border` is set.
77
+ * @cssproperty [--cx-input-border-color=var(--cx-color-neutral-300)] - Border color of the rich text editor, unless `--rich-text-border` is set. Dark theme: `var(--cx-color-neutral-400)`.
75
78
  */
76
79
  export default class CxRichText extends CortexElement {
77
80
  static readonly styles: CSSResultGroup;
@@ -35,6 +35,8 @@ import { default as CxTableSavedSearchDropdown } from './table-saved-search-drop
35
35
  * @cssproperty [--dropdown-filter-icon-size=var(--cx-font-size-large)] - Size of the icon in a dropdown filter trigger. Matches the 20px icon in the design; without it the icon inherits 16px from cx-button.
36
36
  * @cssproperty [--search-border-width-focus=0] - Thickness added around the `can-search` search box while it has focus. Drawn outside the box so the input never resizes. Applies to that input only.
37
37
  * @cssproperty [--search-border-color-focus=var(--cx-color-primary-600)] - Border color of the `can-search` search box while it has focus. Applies to that input only.
38
+ * @cssproperty [--cx-input-border-radius-medium=var(--cx-border-radius-large)] - Border radius of the search box while it has focus.
39
+ * @cssproperty [--cx-input-height-medium=32px] - Minimum height of the header row when pagination is shown.
38
40
  */
39
41
  export default class CxTableToolbar extends CortexElement {
40
42
  static readonly styles: CSSResultGroup;
@@ -86,6 +86,9 @@ import { CxTableColumnEditor, CxTableFooter, CxTableHeaderMenu, CxTableRowAction
86
86
  * @event {{ field: string, visible: boolean }} cx-table-column-visibility-change - Emitted after a column's visibility changes via the header right-click "Hide column" action.
87
87
  * @event {{ field: string }} cx-table-edit-columns - Emitted when "Edit columns" is chosen from the header right-click menu. Extension point for a future manage-columns panel; no built-in panel is shown.
88
88
  * @event {{ key: string }} cx-table-applied-filter-remove - Emitted when a host-provided chip from `additionalAppliedFilters` is removed (individually or via "Clear") in the faceted-filter panel. Carries the removed chip's `key`; the host owns the underlying filter and updates `additionalAppliedFilters` in response.
89
+ *
90
+ * @cssproperty [--cx-input-border-radius-medium=var(--cx-border-radius-large)] - Border radius of the input or select in a cell being edited.
91
+ * @cssproperty [--cx-input-border-width=1px] - Width of the table's borders.
89
92
  */
90
93
  export default class CxTable extends CortexElement {
91
94
  #private;
@@ -69,6 +69,18 @@ import { default as CxVideoEditor } from '../video-editor/video-editor';
69
69
  * @event {{ UID: string; time: number }} cx-video-editor-trim - Fired when trimming a track.
70
70
  * @event {{ UIDs: string[] }} cx-video-editor-select-tracks - Fired when selecting tracks.
71
71
  * @event {{ UIDs: string[] }} cx-video-editor-select-transitions - Fired when selecting transitions.
72
+ *
73
+ * @cssproperty [--cx-input-border-radius-small=var(--cx-border-radius-large)] - Border radius of the segment range slider's control buttons.
74
+ * @cssproperty [--cx-tooltip-border-radius=var(--cx-border-radius-medium)] - Border radius of the thumbnail preview tooltip.
75
+ * @cssproperty [--cx-tooltip-font-family=var(--cx-font-sans)] - Font family of the thumbnail preview tooltip.
76
+ * @cssproperty [--cx-tooltip-font-size=var(--cx-font-size-small)] - Font size of the thumbnail preview tooltip.
77
+ * @cssproperty [--cx-tooltip-font-weight=var(--cx-font-weight-regular)] - Font weight of the thumbnail preview tooltip.
78
+ * @cssproperty [--cx-tooltip-line-height=var(--cx-line-height-medium)] - Line height of the thumbnail preview tooltip.
79
+ * @cssproperty [--cx-tooltip-padding=var(--cx-spacing-2x-small) var(--cx-spacing-x-small)] - Padding of the thumbnail preview tooltip.
80
+ * @cssproperty [--cx-tooltip-background-color=#27272A] - Background color of the time, volume and thumbnail preview tooltips.
81
+ * @cssproperty [--cx-tooltip-color=#FFF] - Text color of the time, volume and thumbnail preview tooltips.
82
+ * @cssproperty [--cx-panel-background-color=var(--cx-color-neutral-0)] - Background color of the segment volume popup, the video.js menus and the transcription search box.
83
+ * @cssproperty [--cx-panel-border-color=var(--cx-color-neutral-200)] - Border color of the segment volume popup.
72
84
  */
73
85
  export default class CxVideoAdvanced extends CortexElement {
74
86
  static readonly dependencies: {
@@ -12,6 +12,9 @@ import { default as CortexElement } from '../../../../../base/src/cortex-element
12
12
  import { CSSResultGroup } from 'lit';
13
13
  /**
14
14
  * @summary Cx3dViewerConfig
15
+ *
16
+ * @cssproperty [--cx-panel-border-width=1px] - Width of the divider between the back button and the settings.
17
+ * @cssproperty [--cx-panel-border-color=var(--cx-color-neutral-200)] - Color of the divider between the back button and the settings.
15
18
  */
16
19
  export default class Cx3dViewerConfig extends CortexElement {
17
20
  static readonly styles: CSSResultGroup;
@@ -9,6 +9,8 @@ import { default as CxAnnotatorLineWeight } from './components/annotator-line-we
9
9
  * @summary CxAnnotator - A component that allows users to annotate a specific element.
10
10
  *
11
11
  * @event {{ active: boolean; tool: AnnotatorTool }} cx-annotator-tool-change - Fired when a drawing tool is selected (`active: true`) or the active tool icon is clicked again to return to select mode (`active: false`). `tool` is the `AnnotatorTool` value (`arrow-marker`, `line-marker`, `rectangle-marker`, `freehand-marker`).
12
+ *
13
+ * @cssproperty [--cx-input-height-medium=32px] - Minimum width of the line color button.
12
14
  */
13
15
  export default class CxAnnotator extends CortexElement {
14
16
  static readonly styles: CSSResultGroup;
@@ -13,6 +13,9 @@ import { CSSResultGroup } from 'lit';
13
13
  *
14
14
  * @event cx-asset-format-select - Emitted when a format is selected or reset to its default. Detail is an `AssetFormatValue`.
15
15
  * @event cx-asset-request-status - Emitted when the format request status changes.
16
+ *
17
+ * @cssproperty [--cx-input-invalid-border-color=var(--cx-color-danger)] - Border color of the format button when the picker is invalid.
18
+ * @cssproperty [--cx-input-invalid-shadow=0 0 0 var(--cx-focus-ring-width) var(--cx-color-danger-300)] - Focus ring of the format button when the picker is invalid and focused.
16
19
  */
17
20
  export default class CxAssetFormatPicker extends CortexElement {
18
21
  #private;
@@ -13,6 +13,9 @@ import { Asset, AssetType, AssetTypeString } from '../../../types/src/content-bu
13
13
  *
14
14
  * @event cx-content-builder-asset-select - Emitted when an asset is selected.
15
15
  * @event cx-asset-request-status - Emitted when the asset request status changes.
16
+ *
17
+ * @cssproperty [--cx-input-invalid-border-color=var(--cx-color-danger)] - Border color of the choose button when the picker is invalid.
18
+ * @cssproperty [--cx-input-invalid-shadow=0 0 0 var(--cx-focus-ring-width) var(--cx-color-danger-300)] - Focus shadow of the choose button when the picker is invalid.
16
19
  */
17
20
  export default class CxAssetPicker extends CortexElement {
18
21
  static readonly styles: import('lit').CSSResult[];
@@ -12,6 +12,9 @@ import { CSSResultGroup } from 'lit';
12
12
  * @event cx-download-format-select - Emitted when a format is selected.
13
13
  * @event cx-download-format-delete - Emitted when the format is cleared.
14
14
  * @event cx-asset-request-status - Emitted when the format request status changes.
15
+ *
16
+ * @cssproperty [--cx-input-invalid-border-color=var(--cx-color-danger)] - Border color of the format button when the picker is invalid.
17
+ * @cssproperty [--cx-input-invalid-shadow=0 0 0 var(--cx-focus-ring-width) var(--cx-color-danger-300)] - Focus ring of the format button when the picker is invalid and focused.
15
18
  */
16
19
  export default class CxDownloadFormatPicker extends CortexElement {
17
20
  static readonly styles: CSSResultGroup;
@@ -22,6 +22,9 @@ import { CSSResultGroup } from 'lit';
22
22
  * @cssproperty [--input-date-picker-width] - Explicit field width. Overrides date-only and show-time default widths.
23
23
  * @cssproperty [--date-field-width=15rem] - Default width when time selects are hidden.
24
24
  * @cssproperty [--time-select-width=5.75rem] - Width of each time select.
25
+ * @cssproperty [--cx-input-spacing-small=var(--cx-spacing-medium)] - Inline padding of the time selects' comboboxes.
26
+ * @cssproperty [--cx-input-icon-color=var(--cx-color-neutral-500)] - Color of the date action icon.
27
+ * @cssproperty [--cx-input-invalid-border-color=var(--cx-color-danger)] - Border color of the date input when the picker is invalid.
25
28
  */
26
29
  export default class CxInputDatePicker extends CortexElement {
27
30
  static readonly styles: CSSResultGroup;
@@ -40,6 +40,9 @@ import { CSSResultGroup, TemplateResult } from 'lit';
40
40
  * @cssproperty [--cx-markdown-viewer-source-max-height=none] - Max height of the source view before it scrolls.
41
41
  * @cssproperty [--cx-markdown-viewer-edit-min-height=auto] - Min height of the plain-text editor, overriding its row count. The rich editor uses it too, defaulting to 20lh.
42
42
  * @cssproperty [--cx-markdown-viewer-view-switcher-width=12rem] - Space the rich view's toolbar reserves at its end so the overlaid view switcher never covers a control.
43
+ * @cssproperty [--cx-input-border-radius-medium=var(--cx-border-radius-large)] - Border radius of the rich editor's box.
44
+ * @cssproperty [--cx-input-border-width=1px] - Border width of the rich editor's box.
45
+ * @cssproperty [--cx-input-border-color=var(--cx-color-neutral-300)] - Border color of the rich editor's box. Dark theme: `var(--cx-color-neutral-400)`.
43
46
  */
44
47
  export default class CxMarkdownViewer extends CortexElement {
45
48
  static readonly styles: CSSResultGroup;
@@ -22,6 +22,10 @@ import { default as CxBoardListItem } from '../board-list-item/board-list-item';
22
22
  * @csspart search-input - The search input. Only rendered when `allow-search` is set.
23
23
  * @csspart search-input-clear - The clear button inside the search input.
24
24
  * @csspart select-all - The select-all checkbox in the header. Only rendered when `all` is set.
25
+ * @cssproperty [--cx-input-border-width=1px] - Border width of the select-all checkbox.
26
+ * @cssproperty [--cx-toggle-size-medium=20px] - Width and height of the select-all checkbox.
27
+ * @cssproperty [--cx-input-background-color=var(--cx-color-neutral-0)] - Background color of the select-all checkbox when unchecked.
28
+ * @cssproperty [--cx-input-border-color=var(--cx-color-neutral-300)] - Border color of the select-all checkbox when unchecked. Dark theme: `var(--cx-color-neutral-400)`.
25
29
  */
26
30
  export default class CxBoard extends CortexElement {
27
31
  static readonly styles: import('lit').CSSResult[];
@@ -17,6 +17,12 @@ import { TemplateResult } from 'lit';
17
17
  * @csspart text - The wrapper around the row's label.
18
18
  * @csspart text-content - The clamped label itself.
19
19
  * @csspart tooltip - The tooltip holding the row's `tooltip` content.
20
+ * @cssproperty [--cx-input-border-width=1px] - Border width of the selection indicator.
21
+ * @cssproperty [--cx-toggle-size-medium=20px] - Size of the selection indicator.
22
+ * @cssproperty [--cx-input-background-color=var(--cx-color-neutral-0)] - Background color of the selection indicator.
23
+ * @cssproperty [--cx-input-background-color-hover=var(--cx-input-background-color)] - Background color of the unchecked selection indicator on hover.
24
+ * @cssproperty [--cx-input-border-color=var(--cx-color-neutral-300)] - Border color of the selection indicator. Dark theme: `var(--cx-color-neutral-400)`.
25
+ * @cssproperty [--cx-input-border-color-hover=var(--cx-color-primary-300)] - Border color of the unchecked selection indicator on hover. Dark theme: `var(--cx-color-primary-700)`.
20
26
  */
21
27
  export default class CxBoardListItem extends CortexElement {
22
28
  static readonly styles: import('lit').CSSResult[];
@@ -34,6 +34,8 @@ import { CSSResultGroup } from 'lit';
34
34
  * @csspart cancel-button - The cancel button.
35
35
  *
36
36
  * @cssproperty [--publish-page-width=840px] - The width of the dialog panel.
37
+ * @cssproperty [--cx-input-height-medium=32px] - Minimum height of the field labels, so a label centres against the medium input beside it.
38
+ * @cssproperty [--cx-input-label-font-size-medium=var(--cx-font-size-x-small)] - Font size of the field labels.
37
39
  */
38
40
  export default class CxPublishPage extends CortexElement {
39
41
  static readonly styles: CSSResultGroup;
@@ -23,6 +23,12 @@ import { CSSResultGroup, TemplateResult } from 'lit';
23
23
  * @event {{ eventName: string, value: string }} cx-view-and-sort-action-click - Emitted when a menu item's trailing action icon is pressed. A distinct behavior from selecting the item: `cx-select` is suppressed for that click.
24
24
  *
25
25
  * @cssproperty [--view-and-sort-switch-label-color=var(--cx-color-neutral)] - Label color for switch rows. Switch rows stay neutral because the switch conveys the state; set this to re-enable a checked highlight.
26
+ * @cssproperty [--view-and-sort-panel-padding=var(--cx-spacing-x-small) 0 0 0] - Padding of the dropdown panel around all menu sections. Set `0` so the first row's hover background reaches the top edge of the panel.
27
+ * @cssproperty [--view-and-sort-menu-padding=var(--cx-spacing-x-small) 0] - Padding of each menu section. Set `0` so a row's hover background reaches the section dividers. A section under a title keeps no top padding, and a section holding a button keeps no bottom padding.
28
+ * @cssproperty [--view-and-sort-divider-spacing=var(--cx-spacing-medium)] - Space above and below a divider between rows of the same section. Set `0` so the hover background of the rows next to it reaches the divider line.
29
+ * @cssproperty [--cx-button-border-radius-medium=var(--cx-border-radius-medium)] - Border radius of the trigger button when `--view-and-sort-trigger-button-border-radius` is not set.
30
+ * @cssproperty [--cx-panel-border-width=1px] - Width of the divider between menu sections.
31
+ * @cssproperty [--cx-panel-border-color=var(--cx-color-neutral-200)] - Color of the divider between menu sections.
26
32
  */
27
33
  export default class CxViewAndSort extends CortexElement {
28
34
  static readonly styles: CSSResultGroup;
@@ -43,6 +43,7 @@ type ImageSizeBound = {
43
43
  * @slot footer - Additional content rendered in normal flow after the transformation controls.
44
44
  */
45
45
  export default class CxAssetLinkFormat extends CortexElement {
46
+ #private;
46
47
  static readonly styles: CSSResultGroup;
47
48
  static readonly dependencies: {
48
49
  'cx-asset-link-format-crop': typeof CxAssetLinkFormatCrop;
@@ -100,6 +101,11 @@ export default class CxAssetLinkFormat extends CortexElement {
100
101
  private sortable?;
101
102
  private sortableRevision;
102
103
  private dragPreviousSibling;
104
+ /**
105
+ * The crop step last edited in this formatter. Any other crop step came from outside (a saved
106
+ * format, Undo, Reset), even one of the size the Crop panel shows.
107
+ */
108
+ private editedCrop?;
103
109
  /**
104
110
  * The base URL for the asset service.
105
111
  * This URL is used to fetch the asset link and apply transformations.
@@ -454,8 +460,8 @@ export default class CxAssetLinkFormat extends CortexElement {
454
460
  private freezeTransformations;
455
461
  private upsertTransformation;
456
462
  /**
457
- * Whether `crop` holds the size the Crop panel shows: the panel's own Apply, not a crop from
458
- * outside (restored transformations, Undo, Reset).
463
+ * Whether `crop` holds the size the Crop panel shows. A crop from outside can hold it too (the
464
+ * initial 1x1), so only `editedCrop` tells the panel's own Apply apart.
459
465
  */
460
466
  private isCropPanelSize;
461
467
  /**
@@ -53,6 +53,7 @@ export type CxAssetLinkFormatCropPositionChangeEvent = CustomEvent<{
53
53
  * @property {string} position - The selected anchor position from the position picker (e.g. top-left, center-center).
54
54
  */
55
55
  export default class CxAssetLinkFormatCrop extends CortexElement {
56
+ #private;
56
57
  static readonly styles: CSSResultGroup;
57
58
  static readonly dependencies: {
58
59
  'cx-button': typeof CxButton;
@@ -67,6 +68,11 @@ export default class CxAssetLinkFormatCrop extends CortexElement {
67
68
  'cx-space': typeof CxSpace;
68
69
  'cx-typography': typeof CxTypography;
69
70
  };
71
+ /**
72
+ * The size of a `widthRatio`:`heightRatio` crop in `unit`: the ratio itself, or in pixels the largest
73
+ * box of that ratio inside `maxWidth` x `maxHeight` (the bare ratio while that size is unknown).
74
+ */
75
+ private static getRatioSize;
70
76
  private readonly localize;
71
77
  /**
72
78
  * The base element for the details section.
@@ -202,6 +208,8 @@ export default class CxAssetLinkFormatCrop extends CortexElement {
202
208
  */
203
209
  aspectRatio: number;
204
210
  get selectedMode(): CropMode | undefined;
211
+ /** Whether the max size is known, so a ratio has a pixel size: the largest box of it inside. */
212
+ private get hasMaxSize();
205
213
  handleCropModeChange(): Promise<void>;
206
214
  handleOpenChange(): Promise<void>;
207
215
  private handleWidthChange;
@@ -211,9 +219,9 @@ export default class CxAssetLinkFormatCrop extends CortexElement {
211
219
  private onPositionChange;
212
220
  /**
213
221
  * Handles the change of the unit of measurement for the crop settings.
214
- * When the unit is changed to Aspect Ratio, it emits an event with the last applied settings for Aspect Ratio.
215
- * When the unit is changed to Pixels, it emits an event with the last applied settings for Pixels.
216
- * This allows the parent component to update the crop settings accordingly.
222
+ * Inline (every change is saved) carries the crop over to the new unit and keeps the mode, unless it
223
+ * is an auto mode. Otherwise it emits the last applied settings for the new unit and resets the mode
224
+ * to Free.
217
225
  */
218
226
  private onUnitChange;
219
227
  private handleInputChange;
@@ -26,6 +26,10 @@ import * as signalR from '@microsoft/signalr';
26
26
  *
27
27
  * @cssproperty [--width=400px] - The width of the chatbot.
28
28
  * @cssproperty [--height=600px] - The height of the chatbot.
29
+ * @cssproperty [--cx-panel-border-width=1px] - Width of the border under the chatbot header.
30
+ * @cssproperty [--cx-overlay-background-color=hsl(240deg 3.8% 46.1% / 33%)] - Background color of the full-screen overlay behind the chatbot. Dark theme: `hsl(0deg 0% 0% / 43%)`.
31
+ * @cssproperty [--cx-panel-background-color=var(--cx-color-neutral-0)] - Background color of the chatbot, its minimized button and close icon, and assistant messages.
32
+ * @cssproperty [--cx-panel-border-color=var(--cx-color-neutral-200)] - Border color of the chatbot header and of the messages.
29
33
  *
30
34
  * @typedef ChatbotEvent - {
31
35
  * callback: (messageContent: string) => void;
@@ -27,6 +27,8 @@ declare global {
27
27
  * @event cx-recording-started - Emitted when the screen recorder has started.
28
28
  * @event cx-recording-stopped - Emitted when the screen recorder has stopped.
29
29
  * @event {{ error: Error }} cx-recording-error - Emitted when the screen recorder has error.
30
+ *
31
+ * @cssproperty [--cx-overlay-background-color=hsl(240deg 3.8% 46.1% / 33%)] - Background color of the backdrop behind the comment's overlay dialog. Dark theme: `hsl(0deg 0% 0% / 43%)`.
30
32
  */
31
33
  export default class CxComment<TCommentMenu extends CxCommentMenu = CxCommentMenu> extends CortexElement {
32
34
  static readonly styles: import('lit').CSSResult[];
@@ -17,6 +17,9 @@ import { CSSResultGroup } from 'lit';
17
17
  * @cssproperty --button-custom-font-family - The button's font family, applied at every size.
18
18
  * @cssproperty --button-custom-font-style - The button's font style, applied at every size.
19
19
  * @cssproperty --button-custom-font-weight - The button's font weight, applied at every size.
20
+ * @cssproperty [--cx-button-font-size-medium=var(--cx-font-size-small)] - Default font size of the button, used when `--button-custom-font-size` is not set.
21
+ * @cssproperty [--cx-input-font-family=var(--cx-font-sans)] - Default font family of the button, used when `--button-custom-font-family` is not set.
22
+ * @cssproperty [--cx-input-border-color=var(--cx-color-neutral-300)] - Border color of the outline button, including when focused. Dark theme: `var(--cx-color-neutral-400)`.
20
23
  */
21
24
  export default class CxSbButton extends CxButton {
22
25
  static readonly dependencies: {
@@ -33,6 +33,8 @@ import { CSSResultGroup } from 'lit';
33
33
  * @cssproperty [--icon-size=var(--cx-font-size-3x-large)] - The leading icon's width; its height scales proportionally. Custom appearance only.
34
34
  * @cssproperty [--border=light-dark(transparent, transparent) 0px] - The field's border color and width, completed into a `border` shorthand. Falls back to `--border-color` at 1px. Custom appearance only.
35
35
  * @cssproperty [--placeholder-color=var(--cx-input-placeholder-color)] - The placeholder text color. Custom appearance only.
36
+ * @cssproperty [--cx-input-font-family=var(--cx-font-sans)] - Font family of the search field when `--search-box-custom-font-family` is not set.
37
+ * @cssproperty [--cx-input-placeholder-color=var(--cx-color-neutral-400)] - Color of the placeholder text, and the default of `--placeholder-color`.
36
38
  *
37
39
  * @csspart input - The input field for entering search queries.
38
40
  * @csspart icon - The icon displayed in the search box, typically a magnifying glass.
@@ -34,6 +34,8 @@ type TranslatableTextRecordOptions = {
34
34
  * keep returning the page content.
35
35
  *
36
36
  * @event cx-change - Emitted when the content builder changes.
37
+ *
38
+ * @cssproperty [--cx-overlay-background-color=hsl(240deg 3.8% 46.1% / 33%)] - Background color of the loading overlay. Dark theme: `hsl(0deg 0% 0% / 43%)`.
37
39
  */
38
40
  export default class CxContentBuilder extends CortexElement {
39
41
  static readonly styles: import('lit').CSSResult[];
@@ -23,6 +23,13 @@ import { TemplateResult } from 'lit';
23
23
  import { default as CxAnchorDialog } from './anchor-dialog';
24
24
  import { default as CxImageDialog } from './image-dialog';
25
25
  import { CxSelectWithTooltip } from './select-with-tooltip';
26
+ /**
27
+ * @summary Floating toolbar shown over a text selection in the rich text editor block.
28
+ *
29
+ * @cssproperty [--cx-panel-border-width=1px] - Border width of the bubble menu.
30
+ * @cssproperty [--cx-panel-background-color=var(--cx-color-neutral-0)] - Background color of the bubble menu.
31
+ * @cssproperty [--cx-panel-border-color=var(--cx-color-neutral-200)] - Border color of the bubble menu.
32
+ */
26
33
  export default class CxRTEBubbleMenu extends CortexElement {
27
34
  static readonly styles: import('lit').CSSResult[];
28
35
  static readonly dependencies: {
@@ -1,6 +1,12 @@
1
1
  import { default as CxSpace } from '../../../../../../../atoms/src/components/space/space.ts';
2
2
  import { default as CxTypography } from '../../../../../../../atoms/src/components/typography/typography.ts';
3
3
  import { default as CortexElement } from '../../../../../../../base/src/cortex-element.ts';
4
+ /**
5
+ * @summary Grid picker for choosing the number of rows and columns of a new table in the rich text editor block.
6
+ *
7
+ * @cssproperty [--cx-panel-border-color=var(--cx-color-neutral-200)] - Border color of the grid cells.
8
+ * @cssproperty [--cx-menu-item-background-color-hover=var(--cx-color-primary-50)] - Background color of the highlighted grid cells. Dark theme: `var(--cx-color-neutral-100)`.
9
+ */
4
10
  export declare class CxRTETableGenerator extends CortexElement {
5
11
  static readonly styles: import('lit').CSSResult[];
6
12
  static readonly dependencies: {
@@ -41,6 +41,12 @@ declare global {
41
41
  * @cssproperty [--status-cell-width=140px] - The width of the status cell inside download item table.
42
42
  * @cssproperty [--actions-cell-width=100px] - The width of the actions cell inside download item table.
43
43
  * @cssproperty [--table-head-height=40px] - The height of the table header inside download item table.
44
+ * @cssproperty [--cx-input-border-radius-medium=var(--cx-border-radius-large)] - Border radius of the search preview icon.
45
+ * @cssproperty [--cx-input-border-width=1px] - Border width of the search preview icon and of the table view and its cells.
46
+ * @cssproperty [--cx-input-font-size-small=var(--cx-font-size-small)] - Font size of the search preview icon.
47
+ * @cssproperty [--cx-panel-border-width=1px] - Border width of the pagination bar.
48
+ * @cssproperty [--cx-input-border-color=var(--cx-color-neutral-300)] - Border color of the search preview icon. Dark theme: `var(--cx-color-neutral-400)`.
49
+ * @cssproperty [--cx-panel-background-color=var(--cx-color-neutral-0)] - Background color of the downloader container and of the table header.
44
50
  */
45
51
  export default class CxDownloader extends CortexElement {
46
52
  static readonly styles: CSSResultGroup;
@@ -27,6 +27,8 @@ import { default as CxFileOnDemandPinnedStatus } from '../file-on-demand-pinned-
27
27
  * @event {{ assetId: string }} cx-cancel-upload - Emitted when the user cancels an upload.
28
28
  *
29
29
  * @cssproperty [--cx-asset-thumbnail-width=56px] - The width of the asset thumbnail.
30
+ * @cssproperty [--cx-input-height-medium=32px] - Minimum width and height of the action spinner.
31
+ * @cssproperty [--cx-input-filled-background-color-hover=var(--cx-color-neutral-100)] - Background color of the row on hover.
30
32
  */
31
33
  export default class CxFileOnDemandAsset extends CortexElement {
32
34
  static readonly styles: CSSResultGroup;
@@ -23,6 +23,7 @@ import { CSSResultGroup } from 'lit';
23
23
  * @event {{ findText: string }} cx-find-and-replace-next - Fired when the user navigates to the next match.
24
24
  *
25
25
  * @cssproperty [--find-and-replace-width=24rem] - Preferred dialog width token; used with viewport clamping on the inner dialog.
26
+ * @cssproperty [--cx-panel-background-color=var(--cx-color-neutral-0)] - Background color of the find-and-replace panel.
26
27
  */
27
28
  export default class CxFindAndReplace extends CortexElement {
28
29
  static readonly styles: CSSResultGroup;
@@ -27,6 +27,9 @@ import { TemplateResult } from 'lit';
27
27
  * @summary Text-to-speech component with rich text editing and voice synthesis capabilities.
28
28
  *
29
29
  * @event cx-change - Emitted when the color picker’s value changes.
30
+ *
31
+ * @cssproperty [--cx-input-color=var(--cx-color-neutral-900)] - Text color of the editor, also used for the markup highlights whose control is disabled.
32
+ * @cssproperty [--cx-panel-background-color=var(--cx-color-neutral-0)] - Background color of the break menu.
30
33
  */
31
34
  export default class CxTextToSpeech extends CortexElement {
32
35
  static readonly styles: import('lit').CSSResult[];