@orangelogic/design-system 3.26.0 → 3.28.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 (95) hide show
  1. package/library/chunks/{asset-link-format.B5E00Je6.js → asset-link-format.CekdzXsS.js} +5 -5
  2. package/library/chunks/{button.cbDkxJHn.js → button.CUeXJXcO.js} +1 -1
  3. package/library/chunks/{color-swatch-group.DDRy-3jm.js → color-swatch-group.CF0h4nhA.js} +491 -502
  4. package/library/chunks/{confirm-popover.Dvgoz-oA.js → confirm-popover.CeKZ8dF1.js} +3 -3
  5. package/library/chunks/{dialog.BvSMV36r.js → dialog.C2q9XwLW.js} +2 -2
  6. package/library/chunks/{document-viewer.Dm9pcb0o.js → document-viewer.BqhrUjS6.js} +6 -6
  7. package/library/chunks/{dot-pagination.CukHxNBk.js → dot-pagination.BclVUAf7.js} +1 -1
  8. package/library/chunks/{folder-select.BQqwlVaD.js → folder-select.DZZTtdAO.js} +4 -4
  9. package/library/chunks/{header.DWE-WJaC.js → header.BHwN2xMS.js} +1 -1
  10. package/library/chunks/{i18n.BSPmBQ73.js → i18n.D5L6xAYT.js} +1 -0
  11. package/library/chunks/{icon-button.DV5Fks8j.js → icon-button.BXs29IQE.js} +1 -1
  12. package/library/chunks/{iframe.ddX2kGu3.js → iframe.e5XdCox5.js} +1 -1
  13. package/library/chunks/{image.BM7bPTub.js → image.CjdSn_IT.js} +1 -1
  14. package/library/chunks/{index.CX67aZyU.js → index.BxaF24R5.js} +11 -11
  15. package/library/chunks/{input.7pumTpdu.js → input.zRoRq5mq.js} +1 -1
  16. package/library/chunks/{markdown.LHSzm035.js → markdown.Dh6DSJjb.js} +2 -2
  17. package/library/chunks/{menu-item.DsJZ7i0J.js → menu-item.Nj67PtZi.js} +1 -1
  18. package/library/chunks/{option.C5f7yDqN.js → option.D3Xzrd7-.js} +1 -1
  19. package/library/chunks/{pagination.CMwpX60h.js → pagination.Bp5AwTg7.js} +5 -5
  20. package/library/chunks/{tab-group.D_QAkP8s.js → tab-group.D-nBq01A.js} +4 -4
  21. package/library/chunks/{tree.BHrf5WIc.js → tree.pgckwdQo.js} +1 -1
  22. package/library/chunks/{types.4M23mr0R.js → types.DapQA7MU.js} +28 -25
  23. package/library/components/alert.js +2 -2
  24. package/library/components/asset-link-format.js +3 -3
  25. package/library/components/atoms.js +15 -15
  26. package/library/components/audio.js +2 -2
  27. package/library/components/border-input-group.js +2 -2
  28. package/library/components/breadcrumb.js +1 -1
  29. package/library/components/button.js +2 -2
  30. package/library/components/color-picker.js +6 -6
  31. package/library/components/color-swatch-group.js +2 -2
  32. package/library/components/color-swatch.js +1 -1
  33. package/library/components/confirm-popover.js +4 -4
  34. package/library/components/copy-button.js +1 -1
  35. package/library/components/corner-position-input-group.js +3 -3
  36. package/library/components/date-calendar.js +1 -1
  37. package/library/components/details.js +1 -1
  38. package/library/components/dialog.js +3 -3
  39. package/library/components/document-viewer.js +3 -3
  40. package/library/components/dot-pagination.js +2 -2
  41. package/library/components/drawer.js +2 -2
  42. package/library/components/dropdown.js +2 -2
  43. package/library/components/dynamic-select.js +4 -4
  44. package/library/components/e-chart.js +1 -1
  45. package/library/components/element-clamp.js +2 -2
  46. package/library/components/file-on-demand.js +9 -9
  47. package/library/components/folder-select.js +4 -4
  48. package/library/components/format-bytes.js +1 -1
  49. package/library/components/format-date.js +1 -1
  50. package/library/components/format-number.js +1 -1
  51. package/library/components/format-time.js +1 -1
  52. package/library/components/header.js +2 -2
  53. package/library/components/icon-button.js +2 -2
  54. package/library/components/iframe.js +2 -2
  55. package/library/components/image-comparer.js +1 -1
  56. package/library/components/image.js +2 -2
  57. package/library/components/input.js +2 -2
  58. package/library/components/line-clamp.js +1 -1
  59. package/library/components/markdown.js +3 -3
  60. package/library/components/masonry.js +2 -2
  61. package/library/components/menu-item.js +2 -2
  62. package/library/components/menu.js +2 -2
  63. package/library/components/molecules.js +2 -2
  64. package/library/components/option.js +2 -2
  65. package/library/components/organisms.js +2 -2
  66. package/library/components/padding-input-group.js +1 -1
  67. package/library/components/pagination.js +6 -6
  68. package/library/components/popup.js +1 -1
  69. package/library/components/position-picker.js +1 -1
  70. package/library/components/progress-bar.js +1 -1
  71. package/library/components/progress-ring.js +1 -1
  72. package/library/components/range.js +1 -1
  73. package/library/components/rating.js +1 -1
  74. package/library/components/relative-time.js +1 -1
  75. package/library/components/select.js +2 -2
  76. package/library/components/shadow-input-group.js +1 -1
  77. package/library/components/share-option-list.js +1 -1
  78. package/library/components/sidebar.js +1 -1
  79. package/library/components/size-input-group.js +3 -3
  80. package/library/components/spinner.js +1 -1
  81. package/library/components/split-panel.js +1 -1
  82. package/library/components/tab-group.js +5 -5
  83. package/library/components/tab.js +2 -2
  84. package/library/components/tag.js +2 -2
  85. package/library/components/tooltip.js +1 -1
  86. package/library/components/tree-item.js +2 -2
  87. package/library/components/tree.js +2 -2
  88. package/library/components/typeface.js +2 -2
  89. package/library/components/types.js +21 -21
  90. package/library/components/video.js +2 -2
  91. package/library/package.json +1 -1
  92. package/library/packages/organisms/src/color-swatch-group/color-swatch-group.d.ts +2 -9
  93. package/library/packages/utils/src/custom-element/i18n.d.ts +1 -0
  94. package/library/utils.js +1 -1
  95. package/package.json +1 -1
@@ -188,10 +188,8 @@ export default class CxColorSwatchGroup extends CortexElement {
188
188
  */
189
189
  private visibleElements;
190
190
  /**
191
- * Measured content width per field, used by columns set to "Hug contents".
192
- *
193
- * Only hugging fields are carried: a column set to fill never reads this, so
194
- * measuring it would cost a layout pass for a width nothing applies.
191
+ * Measured content width per field, used by columns set to "Hug contents"
192
+ * and as the floor of a filling column with no authored constraints.
195
193
  *
196
194
  * cx-table cannot supply this: its fit-content layouts (`fitData*`) size a
197
195
  * column to its *header title* only — `Column.fitToData()` measures cells that
@@ -223,15 +221,10 @@ export default class CxColorSwatchGroup extends CortexElement {
223
221
  * keeps the extra render from looping.
224
222
  */
225
223
  private syncHugWidths;
226
- /** Whether a built-in column's shared width mode is "Hug contents". */
227
- private hugsBuiltInColumn;
228
224
  /**
229
225
  * Widest rendered width per field, measured off-screen from the data: the
230
226
  * column title in the header font, and every cell value in the content font,
231
227
  * each inside a box that mirrors the real cell's padding and column gap.
232
- *
233
- * Skips columns set to fill: one hugging column used to drag every other
234
- * column through a full measurement pass whose width nothing then read.
235
228
  */
236
229
  private measureHugWidths;
237
230
  /**
@@ -242,6 +242,7 @@ export interface Translation extends DefaultTranslation {
242
242
  code: string;
243
243
  codeAlignment: string;
244
244
  codeColumns: string;
245
+ codeOnly: string;
245
246
  codeSample: string;
246
247
  collapse: string;
247
248
  collapseButtonText: string;
package/library/utils.js CHANGED
@@ -13,7 +13,7 @@ import { d as Xe } from "./chunks/drag.DenOh3AE.js";
13
13
  import { f as Be } from "./chunks/focus-when-visible.jWSw9ks0.js";
14
14
  import { f as N } from "./chunks/form.LpappO1d.js";
15
15
  import { F as $e, c as ze, g as qe, v as Qe, a as je } from "./chunks/form.LpappO1d.js";
16
- import { L as Je, r as Ke } from "./chunks/i18n.BSPmBQ73.js";
16
+ import { L as Je, r as Ke } from "./chunks/i18n.D5L6xAYT.js";
17
17
  import { c as er, q as rr } from "./chunks/math.DuKzLacZ.js";
18
18
  import { g as sr } from "./chunks/modal.Ct0bJBSe.js";
19
19
  import { g as nr, l as ir, s as lr, u as cr } from "./chunks/scroll.xtO5yojm.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "3.26.0",
4
+ "version": "3.28.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {