@orangelogic/design-system 4.61.0 → 4.63.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 (111) hide show
  1. package/library/chunks/{array-line-clamp.9myPWg1y.js → array-line-clamp.C0Vo0Zzg.js} +2 -2
  2. package/library/chunks/{asset-link-format.BUZqXO4D.js → asset-link-format.B671cSoD.js} +2 -2
  3. package/library/chunks/{bicolor-picker.DUEEcruV.js → bicolor-picker.DS9Uut25.js} +1 -1
  4. package/library/chunks/{block-width.QzHkjabg.js → block-width.oDPvc3mB.js} +22 -22
  5. package/library/chunks/{border-input-group.XgNVfmul.js → border-input-group.B6fqiG6F.js} +1 -1
  6. package/library/chunks/{button.BjijpxeK.js → button.DKkHqsUz.js} +1 -1
  7. package/library/chunks/button.styles.BcmNSwOK.js +5 -0
  8. package/library/chunks/{color-picker.BkXV3vIK.js → color-picker.DZUudAAS.js} +5 -5
  9. package/library/chunks/{color-swatch-group.G_07BvHg.js → color-swatch-group.CuMJc6m8.js} +9 -9
  10. package/library/chunks/{color-swatch.DZG975M_.js → color-swatch.DXAr2gBg.js} +1 -1
  11. package/library/chunks/{config-manager.Brd2mbsf.js → config-manager.BFsQJlAo.js} +19 -19
  12. package/library/chunks/{configs-controller.BPhkqQBv.js → configs-controller.B2DjvPv9.js} +5 -5
  13. package/library/chunks/{confirm-popover.nSZeBx2K.js → confirm-popover.sZVNhFPh.js} +2 -2
  14. package/library/chunks/{corner-position-input-group.abmx6hmy.js → corner-position-input-group.nTlFes0_.js} +1 -1
  15. package/library/chunks/{document-viewer.B2RwLRXO.js → document-viewer.y1-v32FV.js} +4 -4
  16. package/library/chunks/{dropdown.Cc32yInQ.js → dropdown.CKhoP9Cr.js} +1 -1
  17. package/library/chunks/{dynamic-select.ItukXjZg.js → dynamic-select.Cb3L0dIB.js} +2 -2
  18. package/library/chunks/{element-clamp.DSKvP36j.js → element-clamp.CGq-62gg.js} +1 -1
  19. package/library/chunks/{file-on-demand.C9kzOZ1N.js → file-on-demand.Dfd5QOK2.js} +7 -7
  20. package/library/chunks/{folder-select.BBJWsH8o.js → folder-select.DPeRAKVO.js} +5 -5
  21. package/library/chunks/{line-clamp.SD3U021K.js → line-clamp.Dl3_JdHX.js} +1 -1
  22. package/library/chunks/{menu-item.SGtyl6pY.js → menu-item.au-gTg1F.js} +3 -1
  23. package/library/chunks/{menu.69SdPYy6.js → menu.BxBtGPsg.js} +1 -1
  24. package/library/chunks/{pagination.Bz2Q9ov3.js → pagination.ByLuPMyE.js} +2 -2
  25. package/library/chunks/{radio-button.C_gxVoPu.js → radio-button.BG1K4Vb_.js} +1 -1
  26. package/library/chunks/{radio-card.BWutKj6E.js → radio-card.VEsyM8ue.js} +1 -1
  27. package/library/chunks/{select.BMGK3xy9.js → select.BV0Necz7.js} +2 -2
  28. package/library/chunks/{shadow-input-group.jGS4SWwT.js → shadow-input-group.Xxuzm8Qe.js} +1 -1
  29. package/library/chunks/{size-input-group.Db5PQVLF.js → size-input-group.wXuG0-RB.js} +1 -1
  30. package/library/chunks/{src.BG3K1VCp.js → src.Df4b0M83.js} +19 -19
  31. package/library/chunks/{step.B_mpg1je.js → step.D93ReCO1.js} +1 -1
  32. package/library/chunks/{stepper-wizard.D5CSyMa0.js → stepper-wizard.CPZ2mSze.js} +2 -2
  33. package/library/chunks/{stepper.DDMxj1Ts.js → stepper.D0JB_GVh.js} +1 -1
  34. package/library/chunks/{tab-group.97YGxRGu.js → tab-group.dnnT9Mk6.js} +5 -5
  35. package/library/chunks/{tab.Cv-UuYM5.js → tab.CYYAua8Y.js} +1 -1
  36. package/library/chunks/{tag.Cq8m5pRP.js → tag.DQLauctm.js} +1 -1
  37. package/library/chunks/{tree.XYIP-Ujw.js → tree.Cr3jOIM5.js} +2 -2
  38. package/library/chunks/{typeface.eo-n8r2R.js → typeface.DTLrIP0B.js} +1 -1
  39. package/library/components/array-line-clamp.js +1 -1
  40. package/library/components/asset-link-format.js +1 -1
  41. package/library/components/atoms.js +20 -20
  42. package/library/components/bicolor-picker.js +1 -1
  43. package/library/components/border-input-group.js +1 -1
  44. package/library/components/button.js +1 -1
  45. package/library/components/color-picker.js +1 -1
  46. package/library/components/color-swatch-group.js +1 -1
  47. package/library/components/color-swatch.js +1 -1
  48. package/library/components/confirm-popover.js +1 -1
  49. package/library/components/corner-position-input-group.js +1 -1
  50. package/library/components/document-viewer.js +1 -1
  51. package/library/components/dropdown.js +1 -1
  52. package/library/components/dynamic-select.js +1 -1
  53. package/library/components/element-clamp.js +1 -1
  54. package/library/components/file-on-demand.js +1 -1
  55. package/library/components/folder-select.js +1 -1
  56. package/library/components/line-clamp.js +1 -1
  57. package/library/components/menu-item.js +1 -1
  58. package/library/components/menu.js +1 -1
  59. package/library/components/molecules.js +11 -11
  60. package/library/components/organisms.js +3 -3
  61. package/library/components/pagination.js +1 -1
  62. package/library/components/radio-button.js +1 -1
  63. package/library/components/radio-card.js +1 -1
  64. package/library/components/select.js +1 -1
  65. package/library/components/shadow-input-group.js +1 -1
  66. package/library/components/size-input-group.js +1 -1
  67. package/library/components/step.js +1 -1
  68. package/library/components/stepper-wizard.js +1 -1
  69. package/library/components/stepper.js +1 -1
  70. package/library/components/tab-group.js +1 -1
  71. package/library/components/tab.js +1 -1
  72. package/library/components/tag.js +1 -1
  73. package/library/components/tree-item.js +1 -1
  74. package/library/components/tree.js +1 -1
  75. package/library/components/typeface.js +1 -1
  76. package/library/components/types.js +20935 -20875
  77. package/library/css/ol-base.css +6 -6
  78. package/library/css/ol-dark.css +2 -2
  79. package/library/css/ol-light.css +4 -4
  80. package/library/package.json +1 -1
  81. package/library/packages/atoms/src/components/button/button.d.ts +2 -2
  82. package/library/packages/atoms/src/components/checkbox/checkbox.d.ts +1 -1
  83. package/library/packages/atoms/src/components/copy-button/copy-button.d.ts +1 -1
  84. package/library/packages/atoms/src/components/input/input.d.ts +3 -3
  85. package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +5 -3
  86. package/library/packages/atoms/src/components/option/option.d.ts +1 -1
  87. package/library/packages/atoms/src/components/radio/radio.d.ts +1 -1
  88. package/library/packages/atoms/src/components/radio-button/radio-button.d.ts +1 -1
  89. package/library/packages/atoms/src/components/radio-card/radio-card.d.ts +1 -1
  90. package/library/packages/atoms/src/components/select/select.d.ts +3 -3
  91. package/library/packages/atoms/src/components/switch/switch.d.ts +2 -2
  92. package/library/packages/atoms/src/components/tag/tag.d.ts +3 -3
  93. package/library/packages/atoms/src/components/textarea/textarea.d.ts +3 -3
  94. package/library/packages/atoms/src/components/tree-item/tree-item.d.ts +1 -1
  95. package/library/packages/hybrid/rich-text/src/rich-text.d.ts +1 -1
  96. package/library/packages/hybrid/table-core/src/table/components/table-toolbar/table-toolbar.d.ts +1 -1
  97. package/library/packages/hybrid/table-core/src/table/table.d.ts +1 -1
  98. package/library/packages/hybrid/video-advanced/src/video-advanced/video-advanced.d.ts +1 -1
  99. package/library/packages/molecules/src/markdown-viewer/markdown-viewer.d.ts +1 -1
  100. package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-table-generator/rte-table-generator.d.ts +1 -1
  101. package/library/packages/organisms/src/downloader/data/core/worker/background/ChunkDownloader.d.ts +10 -0
  102. package/library/packages/organisms/src/downloader/data/core/worker/background/DownloadSpeedMonitor.d.ts +6 -1
  103. package/library/packages/organisms/src/downloader/data/core/worker/models/DownloadFile.d.ts +1 -0
  104. package/library/packages/organisms/src/downloader/data/orangelogic-types/ExecutionContext.d.ts +1 -0
  105. package/library/packages/organisms/src/downloader/downloader.constants.d.ts +3 -0
  106. package/library/packages/organisms/src/downloader/downloader.d.ts +3 -1
  107. package/library/packages/organisms/src/downloader/downloader.utils.d.ts +11 -2
  108. package/library/packages/types/src/downloader.d.ts +3 -0
  109. package/library/react-web-component.d.ts +1 -1
  110. package/package.json +1 -1
  111. package/library/chunks/button.styles.jHn7jytj.js +0 -5
@@ -91,12 +91,12 @@
91
91
  --cx-button-padding-horizontal-large : var(--cx-spacing-large); /* Added */
92
92
  --cx-button-padding-horizontal-medium: var(--cx-spacing-medium); /* Added */
93
93
  --cx-button-padding-horizontal-small : var(--cx-spacing-small); /* Added */
94
- --cx-button-text-transform : uppercase; /* Added */
94
+ --cx-button-text-transform : none; /* Added */
95
95
 
96
96
  /* Inputs */
97
- --cx-input-border-radius-large : var(--cx-border-radius-large);
98
- --cx-input-border-radius-medium : var(--cx-border-radius-large);
99
- --cx-input-border-radius-small : var(--cx-border-radius-large);
97
+ --cx-input-border-radius-large : var(--cx-border-radius-medium);
98
+ --cx-input-border-radius-medium : var(--cx-border-radius-medium);
99
+ --cx-input-border-radius-small : var(--cx-border-radius-medium);
100
100
  --cx-input-border-width : 1px;
101
101
  --cx-input-focus-ring-offset : 0;
102
102
  --cx-input-font-family : var(--cx-font-sans);
@@ -142,8 +142,8 @@
142
142
 
143
143
 
144
144
  /* Help text */
145
- --cx-input-help-text-font-size-large : var(--cx-font-size-medium);
146
- --cx-input-help-text-font-size-medium: var(--cx-font-size-small);
145
+ --cx-input-help-text-font-size-large : var(--cx-font-size-x-small);
146
+ --cx-input-help-text-font-size-medium: var(--cx-font-size-x-small);
147
147
  --cx-input-help-text-font-size-small : var(--cx-font-size-x-small);
148
148
 
149
149
  /* Toggles (checkboxes, radios, switches) */
@@ -19,7 +19,7 @@
19
19
  --cx-color-primary-800: #AAD3FF;
20
20
  --cx-color-primary-900: #C6E2FF;
21
21
  --cx-color-primary-950: #E7F6FF;
22
- --cx-color-primary : var(--cx-color-primary-500);
22
+ --cx-color-primary : var(--cx-color-primary-600);
23
23
 
24
24
  /* Success */
25
25
  --cx-color-success-50 : #133F25;
@@ -77,7 +77,7 @@
77
77
  --cx-color-neutral-900 : #E8E8EC; /* Primary */
78
78
  --cx-color-neutral-950 : #F2F2F2;
79
79
  --cx-color-neutral-1000: #fff;
80
- --cx-color-neutral : var(--cx-color-neutral-700);
80
+ --cx-color-neutral : var(--cx-color-neutral-900);
81
81
 
82
82
  /*
83
83
  * Elevations
@@ -78,7 +78,7 @@
78
78
  --cx-color-neutral-900 : #18181B;
79
79
  --cx-color-neutral-950 : #131316;
80
80
  --cx-color-neutral-1000: #000;
81
- --cx-color-neutral : var(--cx-color-neutral-600);
81
+ --cx-color-neutral : var(--cx-color-neutral-900);
82
82
 
83
83
  /*
84
84
  * Elevations
@@ -128,10 +128,10 @@
128
128
  --cx-input-invalid-border-color : var(--cx-color-danger);
129
129
  --cx-input-invalid-color : var(--cx-color-danger-700);
130
130
  --cx-input-invalid-shadow : 0 0 0 var(--cx-focus-ring-width) var(--cx-color-danger-300);
131
- --cx-input-label-color : var(--cx-color-neutral-700);
131
+ --cx-input-label-color : var(--cx-color-neutral-600);
132
132
  --cx-input-placeholder-color : var(--cx-color-neutral-400);
133
133
  --cx-input-placeholder-color-disabled : var(--cx-color-neutral-600);
134
- --cx-input-required-content-color : var(--cx-color-danger-500);
134
+ --cx-input-required-content-color : var(--cx-color-danger);
135
135
 
136
136
  /*
137
137
  * Overlays
@@ -149,5 +149,5 @@
149
149
  /*
150
150
  * Menu
151
151
  */
152
- --cx-menu-item-background-color-hover: var(--cx-color-primary-50);
152
+ --cx-menu-item-background-color-hover: var(--cx-color-neutral-100);
153
153
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "4.61.0",
4
+ "version": "4.63.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -25,7 +25,7 @@ import { default as CxSpinner } from '../spinner/spinner';
25
25
  * @cssproperty [--min-height] - Sets `min-height` on the inner button (defaults to `auto`).
26
26
  * @cssproperty [--justify-content] - Flex alignment along the main axis (defaults to `center`).
27
27
  * @cssproperty [--gap] - Gap between flex items in the button (defaults to `0`).
28
- * @cssproperty [--label-line-height] - Line-height of the label (defaults to `1.15`).
28
+ * @cssproperty [--label-line-height] - Line-height of the label (defaults to `normal`).
29
29
  * @cssproperty [--button-custom-hover-shift] - OKLCH lightness step for the Custom appearance's derived hover
30
30
  * background (defaults to `0.06`). Ignored when `--background-color-focus` is set.
31
31
  * @cssproperty [--button-custom-active-shift] - OKLCH lightness step for the Custom appearance's derived active
@@ -37,7 +37,7 @@ import { default as CxSpinner } from '../spinner/spinner';
37
37
  * @cssproperty [--cx-button-border-radius-medium=var(--cx-border-radius-medium)] - Border radius of a medium button.
38
38
  * @cssproperty [--cx-button-border-radius-small=var(--cx-border-radius-medium)] - Border radius of a small button.
39
39
  * @cssproperty [--cx-button-font-size-medium=var(--cx-font-size-small)] - Font size of the button label at every size.
40
- * @cssproperty [--cx-button-text-transform=uppercase] - Text transform of the button label.
40
+ * @cssproperty [--cx-button-text-transform=none] - Text transform of the button label.
41
41
  * @cssproperty [--cx-input-border-width=1px] - Border width of the button and of the overlap between grouped buttons.
42
42
  * @cssproperty [--cx-input-font-family=var(--cx-font-sans)] - Font family of the button.
43
43
  * @cssproperty [--cx-input-height-x-large=48px] - Minimum height of an x-large button, also the width of an x-large circle button.
@@ -44,7 +44,7 @@ import { default as CxIcon } from '../icon/icon';
44
44
  * @cssproperty [--cx-input-invalid-border-color=var(--cx-color-danger)] - Border color of the control when the checkbox is invalid.
45
45
  * @cssproperty [--cx-input-invalid-color=var(--cx-color-danger-700)] - Color of the label when the checkbox is invalid.
46
46
  * @cssproperty [--cx-input-invalid-shadow=0 0 0 var(--cx-focus-ring-width) var(--cx-color-danger-300)] - Focus ring of the control when the checkbox is invalid and focused.
47
- * @cssproperty [--cx-input-required-content-color=var(--cx-color-danger-500)] - Color of the required marker. Dark theme: `var(--cx-input-label-color)`.
47
+ * @cssproperty [--cx-input-required-content-color=var(--cx-color-danger)] - Color of the required marker. Dark theme: `var(--cx-input-label-color)`.
48
48
  */
49
49
  export default class CxCheckbox extends CortexElement implements CortexFormControl {
50
50
  static readonly styles: CSSResultGroup;
@@ -36,7 +36,7 @@ import { default as CxTooltip } from '../tooltip/tooltip';
36
36
  * @cssproperty [--cx-button-border-radius-medium=var(--cx-border-radius-medium)] - Border radius of a medium copy button.
37
37
  * @cssproperty [--cx-button-border-radius-small=var(--cx-border-radius-medium)] - Border radius of a small copy button.
38
38
  * @cssproperty [--cx-button-font-size-medium=var(--cx-font-size-small)] - Font size of the copy button at every size when `--button-font-size` is not set.
39
- * @cssproperty [--cx-button-text-transform=uppercase] - Text transform of the copy button.
39
+ * @cssproperty [--cx-button-text-transform=none] - Text transform of the copy button.
40
40
  * @cssproperty [--cx-input-border-width=1px] - Border width of the copy button.
41
41
  * @cssproperty [--cx-input-font-family=var(--cx-font-sans)] - Font family of the copy button when `--button-font-family` is not set.
42
42
  * @cssproperty [--cx-input-height-x-large=48px] - Minimum height of an x-large copy button.
@@ -38,9 +38,9 @@ import { default as CxIcon } from '../icon/icon';
38
38
  * @csspart file-result - The text that displays the selected file name.
39
39
  * @csspart character-count-text - The text that displays the character count.
40
40
  * @cssproperty [--cx-input-auto-grow-min-width=0] - The minimum width used when `auto-grow` is enabled.
41
- * @cssproperty [--cx-input-border-radius-large=var(--cx-border-radius-large)] - Border radius of a large input.
42
- * @cssproperty [--cx-input-border-radius-medium=var(--cx-border-radius-large)] - Border radius of a medium input.
43
- * @cssproperty [--cx-input-border-radius-small=var(--cx-border-radius-large)] - Border radius of a small input.
41
+ * @cssproperty [--cx-input-border-radius-large=var(--cx-border-radius-medium)] - Border radius of a large input.
42
+ * @cssproperty [--cx-input-border-radius-medium=var(--cx-border-radius-medium)] - Border radius of a medium input.
43
+ * @cssproperty [--cx-input-border-radius-small=var(--cx-border-radius-medium)] - Border radius of a small input.
44
44
  * @cssproperty [--cx-input-border-width=1px] - Border width of a standard input, and the overlap between inputs in an input group.
45
45
  * @cssproperty [--cx-input-font-family=var(--cx-font-sans)] - Font family of the input.
46
46
  * @cssproperty [--cx-input-font-size-large=var(--cx-font-size-large)] - Font size used to vertically position the label of a large input.
@@ -21,20 +21,22 @@ import { default as CxSpinner } from '../spinner/spinner';
21
21
  * @attr {'page' | 'step' | 'location' | 'date' | 'time'} current - Marks this item as the current page/step/location/date/time within a set of related items. Reflected as `aria-current` for assistive technology.
22
22
  *
23
23
  * @csspart base - The component's base wrapper.
24
- * @csspart checked-icon - The checked icon, which is only visible when the menu item is checked.
24
+ * @csspart checked-icon - The checked icon, which is only visible when the menu item is checked. Its column takes no width unless the item is `checkbox` or `selectable`, or has `always-show-checked-icon`.
25
25
  * @csspart prefix - The prefix container.
26
26
  * @csspart label - The menu item label.
27
27
  * @csspart suffix - The suffix container.
28
28
  * @csspart spinner - The spinner that shows when the menu item is in the loading state.
29
29
  * @csspart spinner__base - The spinner's base part.
30
- * @csspart submenu-icon - The submenu icon, visible only when the menu item has a submenu (not yet implemented).
30
+ * @csspart submenu-icon - The submenu icon. Its column takes no width unless the menu item has a submenu.
31
31
  *
32
32
  * @cssproperty [--submenu-offset=-2px] - The distance submenus shift to overlap the parent menu.
33
33
  * @cssproperty [--checked-icon-size=1.5em] - The size of the checked icon.
34
+ * @cssproperty [--checked-icon-display=flex] - Display of the checked icon column. `none` removes it from the row entirely, which also drops the row height its icon holds.
35
+ * @cssproperty [--submenu-icon-display=flex] - Display of the submenu icon column. `none` removes it from the row entirely, which also drops the row height its icon holds.
34
36
  * @cssproperty [--checked-icon-color=var(--cx-color-primary)] - The color of the checked icon when the item is checked.
35
37
  * @cssproperty [--checked-label-color=var(--cx-color-primary)] - The color of the label when the item is checked.
36
38
  * @cssproperty [--cx-panel-border-width=1px] - Border width of the submenu popup.
37
- * @cssproperty [--cx-menu-item-background-color-hover=var(--cx-color-primary-50)] - Background color of the menu item on hover and keyboard focus, and the default background of the active item. Dark theme: `var(--cx-color-neutral-100)`.
39
+ * @cssproperty [--cx-menu-item-background-color-hover=var(--cx-color-neutral-100)] - Background color of the menu item on hover and keyboard focus, and the default background of the active item.
38
40
  */
39
41
  export default class CxMenuItem extends CortexElement {
40
42
  static readonly styles: CSSResultGroup;
@@ -28,7 +28,7 @@ import { default as CxSpace } from '../space/space';
28
28
  * @cssproperty [--option-selected-font-weight=var(--cx-font-weight-regular)] - The selected option's font weight.
29
29
  * @cssproperty [--option-selected-help-text-color=var(--cx-color-primary)] - The selected option's help text color.
30
30
  * @cssproperty [--option-selected-help-text-font-weight=var(--cx-font-weight-regular)] - The selected option's help text font weight.
31
- * @cssproperty [--cx-menu-item-background-color-hover=var(--cx-color-primary-50)] - Background color of the hovered option and of the current option. Dark theme: `var(--cx-color-neutral-100)`.
31
+ * @cssproperty [--cx-menu-item-background-color-hover=var(--cx-color-neutral-100)] - Background color of the hovered option and of the current option.
32
32
  */
33
33
  export default class CxOption extends CortexElement {
34
34
  #private;
@@ -29,7 +29,7 @@ import { default as CxIcon } from '../icon/icon';
29
29
  * @cssproperty [--cx-input-background-color-hover=var(--cx-input-background-color)] - Background color of the unchecked control on hover.
30
30
  * @cssproperty [--cx-input-border-color=var(--cx-color-neutral-300)] - Border color of the radio control. Dark theme: `var(--cx-color-neutral-400)`.
31
31
  * @cssproperty [--cx-input-border-color-hover=var(--cx-color-primary-300)] - Border color of the unchecked control on hover. Dark theme: `var(--cx-color-primary-700)`.
32
- * @cssproperty [--cx-input-label-color=var(--cx-color-neutral-700)] - Text color of the radio and its label.
32
+ * @cssproperty [--cx-input-label-color=var(--cx-color-neutral-600)] - Text color of the radio and its label. Dark theme: `var(--cx-color-neutral-700)`.
33
33
  */
34
34
  export default class CxRadio extends CortexElement {
35
35
  static readonly styles: CSSResultGroup;
@@ -22,7 +22,7 @@ import { CSSResultGroup } from 'lit';
22
22
  * @cssproperty [--cx-button-border-radius-medium=var(--cx-border-radius-medium)] - Border radius of a medium radio button.
23
23
  * @cssproperty [--cx-button-border-radius-small=var(--cx-border-radius-medium)] - Border radius of a small radio button.
24
24
  * @cssproperty [--cx-button-font-size-medium=var(--cx-font-size-small)] - Font size of the radio button label at every size.
25
- * @cssproperty [--cx-button-text-transform=uppercase] - Text transform of the radio button label.
25
+ * @cssproperty [--cx-button-text-transform=none] - Text transform of the radio button label.
26
26
  * @cssproperty [--cx-input-border-width=1px] - Border width of the radio button and of the overlap between grouped radio buttons.
27
27
  * @cssproperty [--cx-input-font-family=var(--cx-font-sans)] - Font family of the radio button.
28
28
  * @cssproperty [--cx-input-height-large=40px] - Minimum height of a large radio button, also the corner radius of a large pill radio button.
@@ -26,7 +26,7 @@ import { default as CxRadio } from '../radio/radio';
26
26
  * @cssproperty [--radio-card-overflow=auto] - How the radio card handles overflowing content. Set to `clip` for tiles that must never scroll.
27
27
  * @cssproperty [--cx-radio-card-label-text-transform=none] - Text transform of the radio card label.
28
28
  * @cssproperty [--cx-toggle-size-large=22px] - Radio control size the description is indented by to line up with the label.
29
- * @cssproperty [--cx-input-label-color=var(--cx-color-neutral-700)] - Default color of the label and description text.
29
+ * @cssproperty [--cx-input-label-color=var(--cx-color-neutral-600)] - Default color of the label and description text. Dark theme: `var(--cx-color-neutral-700)`.
30
30
  *
31
31
  * @slot - The radio’s label.
32
32
  * @slot image - The radio’s image.
@@ -58,9 +58,9 @@ import { default as CxTag } from '../tag/tag';
58
58
  *
59
59
  * @cssproperty [--select-max-height=var(--auto-size-available-height)] - The max height of the listbox. Setting it replaces the popup's auto-size ceiling, which is what you want when the select sits inside a host that makes auto-size mis-measure. Leave it unset to keep following the available space.
60
60
  * @cssproperty --select-font-size - The font size of the select.
61
- * @cssproperty [--cx-input-border-radius-large=var(--cx-border-radius-large)] - Border radius of a large select's combobox.
62
- * @cssproperty [--cx-input-border-radius-medium=var(--cx-border-radius-large)] - Border radius of a medium select's combobox.
63
- * @cssproperty [--cx-input-border-radius-small=var(--cx-border-radius-large)] - Border radius of a small select's combobox.
61
+ * @cssproperty [--cx-input-border-radius-large=var(--cx-border-radius-medium)] - Border radius of a large select's combobox.
62
+ * @cssproperty [--cx-input-border-radius-medium=var(--cx-border-radius-medium)] - Border radius of a medium select's combobox.
63
+ * @cssproperty [--cx-input-border-radius-small=var(--cx-border-radius-medium)] - Border radius of a small select's combobox.
64
64
  * @cssproperty [--cx-input-border-width=1px] - Border width of the select's combobox and of the overlap between grouped inputs.
65
65
  * @cssproperty [--cx-input-font-family=var(--cx-font-sans)] - Font family of the select's combobox.
66
66
  * @cssproperty [--cx-input-font-size-large=var(--cx-font-size-large)] - Font size used to vertically center the label of a large select.
@@ -33,8 +33,8 @@ import { CSSResultGroup } from 'lit';
33
33
  * @cssproperty [--cx-toggle-size-small=16px] - Height of a small switch; the thumb size is derived from it.
34
34
  * @cssproperty [--cx-toggle-size-medium=20px] - Height of a medium switch; the thumb size is derived from it.
35
35
  * @cssproperty [--cx-toggle-size-large=22px] - Height of a large switch; the thumb size is derived from it.
36
- * @cssproperty [--cx-input-label-color=var(--cx-color-neutral-700)] - Text color of the switch's label.
37
- * @cssproperty [--cx-input-required-content-color=var(--cx-color-danger-500)] - Color of the required marker after the switch's label. Dark theme: `var(--cx-input-label-color)`.
36
+ * @cssproperty [--cx-input-label-color=var(--cx-color-neutral-600)] - Text color of the switch's label. Dark theme: `var(--cx-color-neutral-700)`.
37
+ * @cssproperty [--cx-input-required-content-color=var(--cx-color-danger)] - Color of the required marker after the switch's label. Dark theme: `var(--cx-input-label-color)`.
38
38
  */
39
39
  export default class CxSwitch extends CortexElement implements CortexFormControl {
40
40
  static readonly styles: CSSResultGroup;
@@ -20,9 +20,9 @@ import { default as CxLineClamp } from '../line-clamp/line-clamp';
20
20
  * @cssproperty [--cx-button-font-size-large=var(--cx-font-size-medium)] - Font size of a large tag.
21
21
  * @cssproperty [--cx-button-font-size-medium=var(--cx-font-size-small)] - Font size of a medium tag.
22
22
  * @cssproperty [--cx-button-font-size-small=var(--cx-font-size-x-small)] - Font size of a small tag.
23
- * @cssproperty [--cx-input-border-radius-large=var(--cx-border-radius-large)] - Border radius of a large tag.
24
- * @cssproperty [--cx-input-border-radius-medium=var(--cx-border-radius-large)] - Border radius of a medium tag.
25
- * @cssproperty [--cx-input-border-radius-small=var(--cx-border-radius-large)] - Border radius of a small tag.
23
+ * @cssproperty [--cx-input-border-radius-large=var(--cx-border-radius-medium)] - Border radius of a large tag.
24
+ * @cssproperty [--cx-input-border-radius-medium=var(--cx-border-radius-medium)] - Border radius of a medium tag.
25
+ * @cssproperty [--cx-input-border-radius-small=var(--cx-border-radius-medium)] - Border radius of a small tag.
26
26
  * @cssproperty [--cx-input-border-width=1px] - Border width subtracted twice from the input height to get the tag's line height.
27
27
  * @cssproperty [--cx-input-height-large=40px] - Base height of a large tag; the tag is 80% of it and its line height is derived from it.
28
28
  * @cssproperty [--cx-input-height-medium=32px] - Base height of a medium tag; the tag is 80% of it and its line height is derived from it.
@@ -21,9 +21,9 @@ import { CSSResultGroup } from 'lit';
21
21
  * @csspart textarea - The internal `<textarea>` control.
22
22
  * @csspart character-count - The container that wraps the character count.
23
23
  *
24
- * @cssproperty [--cx-input-border-radius-large=var(--cx-border-radius-large)] - Border radius of a large textarea.
25
- * @cssproperty [--cx-input-border-radius-medium=var(--cx-border-radius-large)] - Border radius of a medium textarea.
26
- * @cssproperty [--cx-input-border-radius-small=var(--cx-border-radius-large)] - Border radius of a small textarea.
24
+ * @cssproperty [--cx-input-border-radius-large=var(--cx-border-radius-medium)] - Border radius of a large textarea.
25
+ * @cssproperty [--cx-input-border-radius-medium=var(--cx-border-radius-medium)] - Border radius of a medium textarea.
26
+ * @cssproperty [--cx-input-border-radius-small=var(--cx-border-radius-medium)] - Border radius of a small textarea.
27
27
  * @cssproperty [--cx-input-border-width=1px] - Border width of a standard textarea.
28
28
  * @cssproperty [--cx-input-font-family=var(--cx-font-sans)] - Font family of the textarea.
29
29
  * @cssproperty [--cx-input-font-size-small=var(--cx-font-size-small)] - Font size of the textarea at every size.
@@ -47,7 +47,7 @@ import { default as CxSpinner } from '../spinner/spinner';
47
47
  * @cssproperty [--active-background-color=var(--cx-color-neutral-200)] - The background color of the active tree item.
48
48
  * @cssproperty [--item-padding=var(--cx-spacing-x-small) var(--cx-spacing-small)] - The padding of the tree item.
49
49
  * @cssproperty [--hover-color=var(--cx-color-primary)] - The label color of the hovered tree item. Only applied when `variant` is `text`.
50
- * @cssproperty [--cx-menu-item-background-color-hover=var(--cx-color-primary-50)] - Default background color of a hovered tree item, used when `--hover-background-color` is not set. Dark theme: `var(--cx-color-neutral-100)`.
50
+ * @cssproperty [--cx-menu-item-background-color-hover=var(--cx-color-neutral-100)] - Default background color of a hovered tree item, used when `--hover-background-color` is not set.
51
51
  *
52
52
  * When `max-lines` is set, the label is wrapped in a `cx-line-clamp` and the text is clamped with an ellipsis
53
53
  * after the given number of lines. A tooltip with the full text is shown automatically when clamping is active.
@@ -20,7 +20,7 @@ import { RichTextMenuBarSpec, RichTextStyleFormat, RichTextToolbarSpec } from '.
20
20
  * @cssproperty --rich-text-background-color - The background color of the rich text editor
21
21
  * @cssproperty --rich-text-font-family - The font family applied to the editor content area. Inherits from the page font when not set.
22
22
  * @cssproperty --rich-text-border - The border around the rich text editor
23
- * @cssproperty --rich-text-border-radius - The border radius of the rich text editor
23
+ * @cssproperty --rich-text-border-radius - The border radius of the rich text editor (defaults to `--cx-input-border-radius-medium`)
24
24
  * @cssproperty --rich-text-toolbar-background-color - The background color of the toolbar
25
25
  * @cssproperty --rich-text-toolbar-border-color - The color of the line between the toolbar and the content
26
26
  * @cssproperty --rich-text-table-resize-handle-color - The color of the table column and row resize handles
@@ -35,7 +35,7 @@ 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.
38
+ * @cssproperty [--cx-input-border-radius-medium=var(--cx-border-radius-medium)] - Border radius of the search box while it has focus.
39
39
  * @cssproperty [--cx-input-height-medium=32px] - Minimum height of the header row when pagination is shown.
40
40
  */
41
41
  export default class CxTableToolbar extends CortexElement {
@@ -87,7 +87,7 @@ import { CxTableColumnEditor, CxTableFooter, CxTableHeaderMenu, CxTableRowAction
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
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.
90
+ * @cssproperty [--cx-input-border-radius-medium=var(--cx-border-radius-medium)] - Border radius of the input or select in a cell being edited.
91
91
  * @cssproperty [--cx-input-border-width=1px] - Width of the table's borders.
92
92
  */
93
93
  export default class CxTable extends CortexElement {
@@ -70,7 +70,7 @@ import { default as CxVideoEditor } from '../video-editor/video-editor';
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
72
  *
73
- * @cssproperty [--cx-input-border-radius-small=var(--cx-border-radius-large)] - Border radius of the segment range slider's control buttons.
73
+ * @cssproperty [--cx-input-border-radius-small=var(--cx-border-radius-medium)] - Border radius of the segment range slider's control buttons.
74
74
  * @cssproperty [--cx-tooltip-border-radius=var(--cx-border-radius-medium)] - Border radius of the thumbnail preview tooltip.
75
75
  * @cssproperty [--cx-tooltip-font-family=var(--cx-font-sans)] - Font family of the thumbnail preview tooltip.
76
76
  * @cssproperty [--cx-tooltip-font-size=var(--cx-font-size-small)] - Font size of the thumbnail preview tooltip.
@@ -40,7 +40,7 @@ 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.
43
+ * @cssproperty [--cx-input-border-radius-medium=var(--cx-border-radius-medium)] - Border radius of the rich editor's box.
44
44
  * @cssproperty [--cx-input-border-width=1px] - Border width of the rich editor's box.
45
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)`.
46
46
  */
@@ -5,7 +5,7 @@ import { default as CortexElement } from '../../../../../../../base/src/cortex-e
5
5
  * @summary Grid picker for choosing the number of rows and columns of a new table in the rich text editor block.
6
6
  *
7
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)`.
8
+ * @cssproperty [--cx-menu-item-background-color-hover=var(--cx-color-neutral-100)] - Background color of the highlighted grid cells.
9
9
  */
10
10
  export declare class CxRTETableGenerator extends CortexElement {
11
11
  static readonly styles: import('lit').CSSResult[];
@@ -32,6 +32,16 @@ export declare class ChunkDownloader extends BackgroundJob {
32
32
  private locker;
33
33
  static readonly type: string;
34
34
  private static readonly _roundRobinMapPerFile;
35
+ private static readonly _inFlightChunksPerFile;
36
+ private static readonly _lastActiveAtPerFile;
37
+ /**
38
+ * Files with a chunk in flight, or whose last chunk ended within `graceMs`.
39
+ * The grace window covers the gap between one chunk finishing and the next being picked up.
40
+ */
41
+ static getActiveFileIDs(graceMs: number, now?: number): string[];
42
+ static resetActiveFiles(): void;
43
+ private static markChunkStarted;
44
+ private static markChunkEnded;
35
45
  constructor(chunksRepo: IDownloadChunksRepository, filesRepo: IDownloadFilesRepository, apiClient: IDownloadApiClient, storage: IStorage, eventHub: IEventHub, retrier: IRetrier, locker: ILocker, logger: ILogger, context: DownloadContext);
36
46
  static logsProvider: {
37
47
  error: {
@@ -2,14 +2,19 @@ import { DownloadContext } from '../context';
2
2
  import { Event, IEventHub } from '../events';
3
3
  import { ILogger } from '../utilities';
4
4
  import { BackgroundJob } from './BackgroundJob';
5
+ /** How long a file stays "active" after its last chunk ends, to avoid Downloading/Queued flicker between chunks. */
6
+ export declare const ACTIVE_FILE_GRACE_MS = 5000;
5
7
  export declare class DownloadSpeedUpdatedEvent extends Event {
6
8
  readonly speed: number;
9
+ readonly activeFileIDs?: string[] | undefined;
7
10
  static readonly type: string;
8
11
  /**
9
12
  *
10
13
  * @param speed bytes per second
14
+ * @param activeFileIDs files currently transferring data; other Downloading files are waiting for a slot.
15
+ * An array, not a Set, because events are cloned across tabs.
11
16
  */
12
- constructor(speed: number);
17
+ constructor(speed: number, activeFileIDs?: string[] | undefined);
13
18
  }
14
19
  export declare class DownloadSpeedMonitor extends BackgroundJob {
15
20
  private eventHub;
@@ -86,6 +86,7 @@ export declare enum DownloadFileState {
86
86
  WaitingServerProcessing = "WaitingServerProcessing"
87
87
  }
88
88
  export declare enum DownloadFileStateDetails {
89
+ AssemblingErrorMessage = "AssemblingErrorMessage",
89
90
  MissingFileErrorMessage = "MissingFileErrorMessage",
90
91
  NetworkErrorMessage = "NetworkErrorMessage",
91
92
  NotEnoughStorageErrorMessage = "NotEnoughStorageErrorMessage"
@@ -52,6 +52,7 @@ export type DependenciesAnalyzer<T extends CoreContext<any, any>> = {
52
52
  };
53
53
  type ConfigurationData = {
54
54
  allowForcedDownloadLocation: boolean;
55
+ assemblingErrorMessage?: string;
55
56
  autoUnlockAfterMinutes: number;
56
57
  backgroundJobDefaultInterval: number;
57
58
  chunkSize: number;
@@ -7,6 +7,7 @@ export declare const storageKey: {
7
7
  };
8
8
  export declare const STATUS_COLORS: {
9
9
  downloading: string;
10
+ queued: string;
10
11
  assembling: string;
11
12
  waitingServerProcessing: string;
12
13
  paused: string;
@@ -16,6 +17,7 @@ export declare const STATUS_COLORS: {
16
17
  };
17
18
  export declare const ICON_COLORS: {
18
19
  downloading: string;
20
+ queued: string;
19
21
  assembling: string;
20
22
  waitingServerProcessing: string;
21
23
  paused: string;
@@ -25,6 +27,7 @@ export declare const ICON_COLORS: {
25
27
  };
26
28
  export declare const STATUS_VARIANTS_MAP: {
27
29
  downloading: string;
30
+ queued: string;
28
31
  assembling: string;
29
32
  waitingServerProcessing: string;
30
33
  paused: string;
@@ -41,7 +41,7 @@ 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.
44
+ * @cssproperty [--cx-input-border-radius-medium=var(--cx-border-radius-medium)] - Border radius of the search preview icon.
45
45
  * @cssproperty [--cx-input-border-width=1px] - Border width of the search preview icon and of the table view and its cells.
46
46
  * @cssproperty [--cx-input-font-size-small=var(--cx-font-size-small)] - Font size of the search preview icon.
47
47
  * @cssproperty [--cx-panel-border-width=1px] - Border width of the pagination bar.
@@ -128,6 +128,8 @@ export default class CxDownloader extends CortexElement {
128
128
  private totalSize;
129
129
  updateTotalSize(): Promise<void>;
130
130
  private countByStatus;
131
+ /** Files the worker is transferring right now; null until the worker reports. */
132
+ private activeFileIDs;
131
133
  updateCountByStatus(): Promise<void>;
132
134
  private isAllDownloadingFilesCompleted;
133
135
  updateIsAllDownloadingFilesCompleted(): Promise<void>;
@@ -1,6 +1,15 @@
1
- import { DownloadItem } from '../../../types/src/downloader';
1
+ import { DownloadItem, STATUS } from '../../../types/src/downloader';
2
2
  import { DownloadItem as CoreDownloadItem } from './data/core/worker/app/queries/DownloadItem';
3
3
  export declare const getMissingProperties: (obj1: Record<string, any>, obj2: Record<string, any>) => string[];
4
4
  export declare const isDownloadingFile: (file: DownloadItem) => boolean;
5
5
  export declare function getFileSizeKB(file: DownloadItem): number;
6
- export declare function mapDownloadFile(item: CoreDownloadItem): DownloadItem;
6
+ /**
7
+ * Downloading vs Queued for a file the worker has started: a file holding no download slot is waiting, not stuck.
8
+ * `activeFileIDs` null means not reported yet, so keep Downloading.
9
+ */
10
+ export declare function getActiveStatus(id: string, activeFileIDs: ReadonlySet<string> | null): STATUS.Downloading | STATUS.Queued;
11
+ /** A stored Queued status is stale once the worker restarts; show Downloading until it reports again. */
12
+ export declare const resetQueuedStatus: (file: DownloadItem) => DownloadItem;
13
+ /** Re-derive Downloading/Queued for already-mapped items; returns the same object when nothing changed. */
14
+ export declare function applyActiveFiles(files: Record<string, DownloadItem>, activeFileIDs: ReadonlySet<string> | null): Record<string, DownloadItem>;
15
+ export declare function mapDownloadFile(item: CoreDownloadItem, activeFileIDs?: ReadonlySet<string> | null): DownloadItem;
@@ -5,6 +5,7 @@ export declare enum STATUS {
5
5
  Downloading = "downloading",
6
6
  Failed = "failed",
7
7
  Paused = "paused",
8
+ Queued = "queued",
8
9
  WaitingServerProcessing = "waitingServerProcessing"
9
10
  }
10
11
  export declare const STATUS_LABELS_MAP: {
@@ -14,6 +15,7 @@ export declare const STATUS_LABELS_MAP: {
14
15
  downloading: string;
15
16
  failed: string;
16
17
  paused: string;
18
+ queued: string;
17
19
  waitingServerProcessing: string;
18
20
  };
19
21
  export declare enum UNIT {
@@ -34,6 +36,7 @@ export interface DownloadItem {
34
36
  unit: UNIT;
35
37
  }
36
38
  export declare enum DownloadFileStateDetails {
39
+ AssemblingErrorMessage = "AssemblingErrorMessage",
37
40
  MissingFileErrorMessage = "MissingFileErrorMessage",
38
41
  NetworkErrorMessage = "NetworkErrorMessage",
39
42
  NotEnoughStorageErrorMessage = "NotEnoughStorageErrorMessage"
@@ -73,7 +73,7 @@
73
73
  export type CxDownloaderRaw = { "value": string; };
74
74
  export type CxDownloaderEvent = any;
75
75
  export type CxDownloaderAction = { "doNothing": boolean; };
76
- export type CxDownloaderConfigurationData = { "allowForcedDownloadLocation": boolean; "autoUnlockAfterMinutes": number; "backgroundJobDefaultInterval": number; "chunkSize": number; "dateFormat": string; "defaultMode": "normal" | "rocket"; "downloadChunkMaxRetries": number; "downloadChunkRetryMaxWait": number; "downloadChunkRetryMinWait": number; "downloadDirectlyFromCloudIfPossible": boolean; "downloadSpeedMonitorDuration": number; "instructionsPopupHeight": number; "instructionsPopupWidth": number; "massActionBatchSize": number; "maxChunkSize": number; "maxRetryPerChunk": number; "minChunkSize": number; "missingFileErrorMessage": string; "networkErrorMessage": string; "normalMode": { "backgroundJobInstancesCount": dictionary; "backgroundJobInterval": dictionary; "maxInProgressChunksPerFile": number; }; "notEnoughStorageErrorMessage": string; "popupId": string; "rocketMode": { "backgroundJobInstancesCount": dictionary; "backgroundJobInterval": dictionary; "maxInProgressChunksPerFile": number; }; "roundRobinCloudURLs": boolean; "shouldHandlePathLimit": boolean; "verbose": boolean; };
76
+ export type CxDownloaderConfigurationData = { "allowForcedDownloadLocation": boolean; "assemblingErrorMessage": string; "autoUnlockAfterMinutes": number; "backgroundJobDefaultInterval": number; "chunkSize": number; "dateFormat": string; "defaultMode": "normal" | "rocket"; "downloadChunkMaxRetries": number; "downloadChunkRetryMaxWait": number; "downloadChunkRetryMinWait": number; "downloadDirectlyFromCloudIfPossible": boolean; "downloadSpeedMonitorDuration": number; "instructionsPopupHeight": number; "instructionsPopupWidth": number; "massActionBatchSize": number; "maxChunkSize": number; "maxRetryPerChunk": number; "minChunkSize": number; "missingFileErrorMessage": string; "networkErrorMessage": string; "normalMode": { "backgroundJobInstancesCount": dictionary; "backgroundJobInterval": dictionary; "maxInProgressChunksPerFile": number; }; "notEnoughStorageErrorMessage": string; "popupId": string; "rocketMode": { "backgroundJobInstancesCount": dictionary; "backgroundJobInterval": dictionary; "maxInProgressChunksPerFile": number; }; "roundRobinCloudURLs": boolean; "shouldHandlePathLimit": boolean; "verbose": boolean; };
77
77
  export type CxFileOnDemandAssetsProp = { "assets": CxFileOnDemandAsset[]; "hasMore": boolean; };
78
78
  export type CxFileOnDemandAsset = { "assetsCount": number; "childrenCount": number; "docType": string; "fileName": string; "isInFavorite": boolean; "isPaused": boolean; "isPinned": boolean; "isUploadCompleted": boolean; "key": string; "parentRecordId": string; "recordId": string; "remainingSize": number; "remainingTime": number; "size": number; "thumbnail": string; "uploadErrorMessage": string; "uploadId": string; "uploadStatus": "CANCELED" | "FAILED" | "INPROGRESS" | "PENDINGCOMPLETE" | "SUCCESS"; "uploadTimestamp": number; "uploaded": number; };
79
79
  export type CxFileOnDemandSettings = { "cacheLocation": string; "cacheSize": number; "cacheUsage": number; "config": { "latestVersion": string; "monitoringActivated": boolean; "mountPoint": string; "mountProxy": boolean; "proxyTypes": "Image" | "Video" | "Audio" | "All"[]; "rootIDs": string[]; "siteUrl": string; "version": string; }; };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "4.61.0",
4
+ "version": "4.63.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -1,5 +0,0 @@
1
- import { d as e } from "./lit.CyJqR2kf.js";
2
- //#region ../../packages/atoms/src/components/button/button.styles.ts
3
- var t = e`:host{--background-color:var(--cx-color-primary);--button-custom-border-radius:var(--cx-button-border-radius-medium);--color:light-dark(var(--cx-color-neutral-0),var(--cx-color-neutral-1000));--font-size:var(--cx-font-size-medium);--font-weight:var(--cx-font-weight-medium);--height:var(--cx-input-height-medium);--justify-content:center;--gap:0;--min-height:auto;--padding:0;--label-line-height:1.15;--button-custom-height:32px;--button-custom-padding:4px 8px 4px 8px;--button-custom-font-size:var(--cx-font-size-medium);--button-custom-border:light-dark(#0000,#0000) 0px;--button-custom-hover-shift:.06;--button-custom-active-shift:.12;cursor:pointer;width:auto;max-width:100%;line-height:normal;display:inline-block;position:relative}:host([width-type=fill]),:host([width-type=adaptive][device-type=tablet]),:host([width-type=adaptive][device-type=mobile]){width:100%}.button{align-items:center;justify-content:var(--justify-content,center);gap:var(--gap,0);border-style:solid;border-width:var(--cx-input-border-width);width:100%;font-family:var(--font-family,var(--cx-input-font-family)), var(--cx-font-sans);font-style:var(--font-style,normal);font-weight:var(--font-weight,var(--cx-font-weight-regular));font-size:var(--font-size,var(--cx-font-size-medium));height:var(--height,var(--cx-input-height-medium));min-height:var(--min-height,auto);padding:var(--padding,0);text-transform:var(--cx-button-text-transform,none);-webkit-user-select:none;user-select:none;white-space:nowrap;vertical-align:middle;transition:var(--cx-transition-x-fast) background-color, var(--cx-transition-x-fast) color, var(--cx-transition-x-fast) border, var(--cx-transition-x-fast) box-shadow;cursor:inherit;text-decoration:none;display:inline-flex}.button::-moz-focus-inner{border:0}.button:focus{outline:none}.button:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.button--disabled{opacity:.5;cursor:default}.button--disabled *{pointer-events:none}.button__prefix,.button__suffix{pointer-events:none;flex:none;align-items:center;display:flex}.button__label{line-height:var(--label-line-height);white-space:nowrap;text-overflow:ellipsis;display:none;overflow:hidden}.button__label::slotted(cx-icon){vertical-align:-2px}.button__label--has-label{display:inline-block}.button--standard.button--default{background-color:var(--cx-color-neutral-100);border-color:var(--cx-color-neutral-100);color:var(--cx-color-neutral-700)}.button--standard.button--default:hover:not(.button--disabled){background-color:var(--cx-color-neutral-200);border-color:var(--cx-color-neutral-200);color:var(--cx-color-neutral-700)}.button--standard.button--default.button--focused:not(.button--disabled):not(:hover),.button--standard.button--default:focus-visible:not(.button--disabled):not(:hover){background-color:var(--cx-color-neutral-100);border-color:var(--cx-color-neutral-100);color:var(--cx-color-neutral-700)}.button--standard.button--default:active:not(.button--disabled){background-color:var(--cx-color-neutral-300);border-color:var(--cx-color-neutral-300);color:var(--cx-color-neutral-700)}.button--standard.button--primary{background-color:var(--cx-color-primary);border-color:var(--cx-color-primary);color:var(--cx-color-neutral-0)}.button--standard.button--primary:hover:not(.button--disabled){background-color:var(--cx-color-primary-500);border-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.button--standard.button--primary.button--focused:not(.button--disabled):not(:hover),.button--standard.button--primary:focus-visible:not(.button--disabled):not(:hover){background-color:var(--cx-color-primary);border-color:var(--cx-color-primary);color:var(--cx-color-neutral-0)}.button--standard.button--primary:active:not(.button--disabled){background-color:var(--cx-color-primary-700);border-color:var(--cx-color-primary-700);color:var(--cx-color-neutral-0)}.button--standard.button--success{background-color:var(--cx-color-success);border-color:var(--cx-color-success);color:var(--cx-color-neutral-0)}.button--standard.button--success:hover:not(.button--disabled){background-color:var(--cx-color-success-500);border-color:var(--cx-color-success-500);color:var(--cx-color-neutral-0)}.button--standard.button--success.button--focused:not(.button--disabled):not(:hover),.button--standard.button--success:focus-visible:not(.button--disabled):not(:hover){background-color:var(--cx-color-success);border-color:var(--cx-color-success);color:var(--cx-color-neutral-0)}.button--standard.button--success:active:not(.button--disabled){background-color:var(--cx-color-success-700);border-color:var(--cx-color-success-700);color:var(--cx-color-neutral-0)}.button--standard.button--warning{background-color:var(--cx-color-warning);border-color:var(--cx-color-warning);color:var(--cx-color-neutral-0)}.button--standard.button--warning:hover:not(.button--disabled){background-color:var(--cx-color-warning-500);border-color:var(--cx-color-warning-500);color:var(--cx-color-neutral-0)}.button--standard.button--warning.button--focused:not(.button--disabled):not(:hover),.button--standard.button--warning:focus-visible:not(.button--disabled):not(:hover){background-color:var(--cx-color-warning);border-color:var(--cx-color-warning);color:var(--cx-color-neutral-0)}.button--standard.button--warning:active:not(.button--disabled){background-color:var(--cx-color-warning-700);border-color:var(--cx-color-warning-700);color:var(--cx-color-neutral-0)}.button--standard.button--danger{background-color:var(--cx-color-danger);border-color:var(--cx-color-danger);color:var(--cx-color-neutral-0)}.button--standard.button--danger:hover:not(.button--disabled){background-color:var(--cx-color-danger-500);border-color:var(--cx-color-danger-500);color:var(--cx-color-neutral-0)}.button--standard.button--danger.button--focused:not(.button--disabled):not(:hover),.button--standard.button--danger:focus-visible:not(.button--disabled):not(:hover){background-color:var(--cx-color-danger);border-color:var(--cx-color-danger);color:var(--cx-color-neutral-0)}.button--standard.button--danger:active:not(.button--disabled){background-color:var(--cx-color-danger-700);border-color:var(--cx-color-danger-700);color:var(--cx-color-neutral-0)}.button--standard.button--custom{background-color:var(--background-color);border:var(--button-custom-border);color:var(--color);border-style:solid}.button--standard.button--custom:hover:not(.button--disabled){background-color:var(--background-color-focus,oklch(from var(--background-color) max(calc(l - var(--button-custom-hover-shift)), calc(var(--button-custom-hover-shift) - l)) c h));color:var(--color-focus,var(--color))}.button--standard.button--custom.button--focused:not(.button--disabled):not(:hover),.button--standard.button--custom:focus-visible:not(.button--disabled):not(:hover){background-color:var(--background-color);color:var(--color)}.button--standard.button--custom:active:not(.button--disabled){background-color:var(--background-color-active,oklch(from var(--background-color) max(calc(l - var(--button-custom-active-shift)), calc(var(--button-custom-active-shift) - l)) c h));color:var(--color-active,var(--color))}.button--outline{border:solid var(--cx-input-border-width);background:0 0}.button--outline.button--default{border-color:var(--cx-input-border-color);color:var(--cx-color-neutral)}.button--outline.button--default:hover:not(.button--disabled),.button--outline.button--default.button--checked:not(.button--disabled){border-color:var(--cx-color-neutral-300);background-color:var(--cx-color-neutral-100);color:var(--cx-color-neutral)}.button--outline.button--default.button--focused:not(.button--disabled):not(:hover):not(.button--checked),.button--outline.button--default:focus-visible:not(.button--disabled):not(:hover):not(.button--checked){border-color:var(--cx-input-border-color);color:var(--cx-color-neutral);background-color:#0000}.button--outline.button--default:active:not(.button--disabled){border-color:var(--cx-color-neutral-300);background-color:var(--cx-color-neutral-200);color:var(--cx-color-neutral)}.button--outline.button--primary{border-color:var(--cx-color-primary);color:var(--cx-color-primary)}.button--outline.button--primary:hover:not(.button--disabled),.button--outline.button--primary.button--checked:not(.button--disabled){background-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.button--outline.button--primary.button--focused:not(.button--disabled):not(:hover):not(.button--checked),.button--outline.button--primary:focus-visible:not(.button--disabled):not(:hover):not(.button--checked){border-color:var(--cx-color-primary);color:var(--cx-color-primary);background-color:#0000}.button--outline.button--primary:active:not(.button--disabled){border-color:var(--cx-color-primary-700);background-color:var(--cx-color-primary-700);color:var(--cx-color-neutral-0)}.button--outline.button--success{border-color:var(--cx-color-success);color:var(--cx-color-success)}.button--outline.button--success:hover:not(.button--disabled),.button--outline.button--success.button--checked:not(.button--disabled){background-color:var(--cx-color-success-500);color:var(--cx-color-neutral-0)}.button--outline.button--success.button--focused:not(.button--disabled):not(:hover):not(.button--checked),.button--outline.button--success:focus-visible:not(.button--disabled):not(:hover):not(.button--checked){border-color:var(--cx-color-success);color:var(--cx-color-success);background-color:#0000}.button--outline.button--success:active:not(.button--disabled){border-color:var(--cx-color-success);background-color:var(--cx-color-success);color:var(--cx-color-neutral-0)}.button--outline.button--warning{border-color:var(--cx-color-warning);color:var(--cx-color-warning)}.button--outline.button--warning:hover:not(.button--disabled),.button--outline.button--warning.button--checked:not(.button--disabled){background-color:var(--cx-color-warning-500);color:var(--cx-color-neutral-0)}.button--outline.button--warning.button--focused:not(.button--disabled):not(:hover):not(.button--checked),.button--outline.button--warning:focus-visible:not(.button--disabled):not(:hover):not(.button--checked){border-color:var(--cx-color-warning);color:var(--cx-color-warning);background-color:#0000}.button--outline.button--warning:active:not(.button--disabled){border-color:var(--cx-color-warning-700);background-color:var(--cx-color-warning-700);color:var(--cx-color-neutral-0)}.button--outline.button--danger{border-color:var(--cx-color-danger);color:var(--cx-color-danger)}.button--outline.button--danger:hover:not(.button--disabled),.button--outline.button--danger.button--checked:not(.button--disabled){background-color:var(--cx-color-danger-500);color:var(--cx-color-neutral-0)}.button--outline.button--danger.button--focused:not(.button--disabled):not(:hover):not(.button--checked),.button--outline.button--danger:focus-visible:not(.button--disabled):not(:hover):not(.button--checked){border-color:var(--cx-color-danger);color:var(--cx-color-danger);background-color:#0000}.button--outline.button--danger:active:not(.button--disabled){border-color:var(--cx-color-danger-700);background-color:var(--cx-color-danger-700);color:var(--cx-color-neutral-0)}@media (forced-colors:active){.button.button--outline.button--checked:not(.button--disabled){outline:2px solid #0000}}.button--text{color:var(--cx-color-neutral);background-color:#0000;border-color:#0000}.button--text:hover:not(.button--disabled){background-color:var(--cx-color-neutral-100);border-color:var(--cx-color-neutral-100);color:var(--cx-color-neutral)}.button--text.button--focused:not(.button--disabled):not(:hover),.button--text:focus-visible:not(.button--disabled):not(:hover){color:var(--cx-color-neutral);background-color:#0000;border-color:#0000}.button--text:active:not(.button--disabled){background-color:var(--cx-color-neutral-200);border-color:var(--cx-color-neutral-200);color:var(--cx-color-neutral)}.button--tertiary{color:var(--cx-color-neutral);background-color:#0000;border-color:#0000}.button--tertiary:hover:not(.button--disabled){background-color:var(--cx-color-neutral-100);color:var(--cx-color-neutral);border-color:#0000}.button--tertiary.button--focused:not(.button--disabled):not(:hover),.button--tertiary:focus-visible:not(.button--disabled):not(:hover){color:var(--cx-color-neutral);background-color:#0000;border-color:#0000}.button--tertiary:active:not(.button--disabled){background-color:var(--cx-color-neutral-300);color:var(--cx-color-neutral);border-color:#0000}.button--small{height:auto;min-height:var(--cx-input-height-small);font-size:var(--cx-button-font-size-medium);border-radius:var(--cx-button-border-radius-small)}.button--small ::slotted(cx-icon){--font-size:var(--cx-font-size-medium)}.button--medium{height:auto;min-height:var(--cx-input-height-medium);font-size:var(--cx-button-font-size-medium);border-radius:var(--cx-button-border-radius-medium)}.button--large{height:auto;min-height:var(--cx-input-height-large);font-size:var(--cx-button-font-size-medium);border-radius:var(--cx-button-border-radius-large)}.button--x-large{height:auto;min-height:var(--cx-input-height-x-large);font-size:var(--cx-button-font-size-medium);border-radius:var(--cx-button-border-radius-large)}.button--custom-size{--height:var(--button-custom-height);--padding:var(--button-custom-padding);--font-size:var(--button-custom-font-size);--font-family:var(--button-custom-font-family), var(--cx-font-sans);--font-style:var(--button-custom-font-style);--font-weight:var(--button-custom-font-weight);border-radius:var(--button-custom-border-radius)}.button--pill.button--small{border-radius:var(--cx-input-height-small)}.button--pill.button--medium{border-radius:var(--cx-input-height-medium)}.button--pill.button--large{border-radius:var(--cx-input-height-large)}.button--pill.button--x-large{border-radius:var(--cx-input-height-x-large)}.button--circle{padding-left:0;padding-right:0}.button--circle.button--small{width:var(--cx-input-height-small);border-radius:50%}.button--circle.button--medium{width:var(--cx-input-height-medium);border-radius:50%}.button--circle.button--large{width:var(--cx-input-height-large);border-radius:50%}.button--circle.button--x-large{width:var(--cx-input-height-x-large);border-radius:50%}.button--circle .button__prefix,.button--circle .button__suffix,.button--circle .button__caret{display:none}.button--circle .button__label{justify-content:center;align-items:center;line-height:1;display:inline-flex}.button--caret .button__caret{--font-size:var(--caret-font-size,var(--cx-font-size-large));margin-block:auto}.button--caret.button--small .button__caret{--font-size:var(--caret-font-size,var(--cx-font-size-medium))}.button--caret .button__suffix{display:none}.button--loading{cursor:wait;position:relative}.button--loading .button__prefix,.button--loading .button__label,.button--loading .button__suffix,.button--loading .button__caret{visibility:hidden}.button--loading cx-spinner{--indicator-color:currentColor;width:1em;height:1em;font-size:1em;position:absolute;top:calc(50% - .5em);left:calc(50% - .5em)}.button ::slotted(cx-badge){pointer-events:none;position:absolute;top:0;right:0;translate:50% -50%}.button--rtl ::slotted(cx-badge){left:0;right:auto;translate:-50% -50%}.button--has-label.button--small .button__label{padding:0 var(--cx-spacing-x-small)}.button--has-label.button--medium .button__label{padding:0 var(--cx-spacing-small)}.button--has-label.button--large .button__label{padding:0 var(--cx-spacing-medium)}.button--has-label.button--x-large .button__label{padding:0 var(--cx-spacing-large)}.button--has-prefix.button--small,.button--has-prefix.button--small .button__label,.button--has-prefix.button--medium,.button--has-prefix.button--medium .button__label{padding-inline-start:var(--cx-spacing-x-small)}.button--has-prefix.button--large{padding-inline-start:var(--cx-spacing-small)}.button--has-prefix.button--large .button__label{padding-inline-start:var(--cx-spacing-x-small)}.button--has-prefix.button--x-large,.button--has-prefix.button--x-large .button__label{padding-inline-start:var(--cx-spacing-medium)}.button--has-suffix.button--small,.button--caret.button--small,.button--has-suffix.button--small .button__label,.button--caret.button--small .button__label,.button--has-suffix.button--medium,.button--caret.button--medium,.button--has-suffix.button--medium .button__label,.button--caret.button--medium .button__label{padding-inline-end:var(--cx-spacing-x-small)}.button--has-suffix.button--large,.button--caret.button--large{padding-inline-end:var(--cx-spacing-small)}.button--has-suffix.button--large .button__label,.button--caret.button--large .button__label{padding-inline-end:var(--cx-spacing-x-small)}.button--has-suffix.button--x-large,.button--caret.button--x-large,.button--has-suffix.button--x-large .button__label,.button--caret.button--x-large .button__label{padding-inline-end:var(--cx-spacing-medium)}.button--caret:not(.button--has-prefix):not(.button--has-label).button--small,.button--has-suffix:not(.button--has-prefix):not(.button--has-label).button--small,.button--caret:not(.button--has-prefix):not(.button--has-label).button--medium,.button--has-suffix:not(.button--has-prefix):not(.button--has-label).button--medium{padding-inline-start:var(--cx-spacing-x-small)}.button--caret:not(.button--has-prefix):not(.button--has-label).button--large,.button--has-suffix:not(.button--has-prefix):not(.button--has-label).button--large{padding-inline-start:var(--cx-spacing-small)}.button--caret:not(.button--has-prefix):not(.button--has-label).button--x-large,.button--has-suffix:not(.button--has-prefix):not(.button--has-label).button--x-large{padding-inline-start:var(--cx-spacing-medium)}.button--has-prefix:not(.button--has-label).button--small,.button--has-prefix:not(.button--has-label).button--medium{gap:var(--cx-spacing-x-small)}.button--has-prefix:not(.button--has-label).button--large{gap:var(--cx-spacing-small)}.button--has-prefix:not(.button--has-label).button--x-large{gap:var(--cx-spacing-medium)}.button--caret cx-icon::part(span){height:auto}:host([data-cx-button-group__button--first]:not([data-cx-button-group__button--last])) .button{border-start-end-radius:0;border-end-end-radius:0}:host([data-cx-button-group__button--inner]) .button{border-radius:0}:host([data-cx-button-group__button--last]:not([data-cx-button-group__button--first])) .button{border-start-start-radius:0;border-end-start-radius:0}:host([data-cx-button-group__button]:not([data-cx-button-group__button--first])){margin-inline-start:calc(-1 * var(--cx-input-border-width))}:host([data-cx-button-group__button]:not([data-cx-button-group__button--first],[data-cx-button-group__button--radio],[variant=default]):not(:hover)) .button:after{content:"";top:0;inset-inline-start:0;mix-blend-mode:multiply;border-left:1px solid #80808054;position:absolute;bottom:0}:host([data-cx-button-group__button--hover]){z-index:1}:host([data-cx-button-group__button--focus]),:host([data-cx-button-group__button][checked]){z-index:2}`;
4
- //#endregion
5
- export { t };