@orangelogic/design-system 3.12.0 → 3.13.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 (176) hide show
  1. package/library/chunks/{AxisLabelRadial.fe7zjixN.js → AxisLabelRadial.WmAEaa1v.js} +1 -1
  2. package/library/chunks/{BaseColumnSeries.8Mpxz385.js → BaseColumnSeries.CA7CJ3dz.js} +1 -1
  3. package/library/chunks/{CandlestickSeries.DuadaOTa.js → CandlestickSeries.DXRjCTbq.js} +2 -2
  4. package/library/chunks/{Circle.6LomW0ej.js → Circle.D0OhNxs6.js} +1 -1
  5. package/library/chunks/{ColumnSeries.D1NLfRh5.js → ColumnSeries.B9RPnhH2.js} +2 -2
  6. package/library/chunks/{EditableAxisLabel.Bi9vxLDV.js → EditableAxisLabel.BMw-UWXO.js} +2 -2
  7. package/library/chunks/{EditableLabel.CMR3O9E-.js → EditableLabel.C4IbcCqP.js} +1 -1
  8. package/library/chunks/{Gradient.CquE8_a4.js → Gradient.B8nYUJGr.js} +1 -1
  9. package/library/chunks/{LinearGradient.CVN1VJp-.js → LinearGradient.D35vPMt3.js} +2 -2
  10. package/library/chunks/{Picture.BYTZ_I8g.js → Picture.BK1LgzpJ.js} +1 -1
  11. package/library/chunks/{Polygon.CU2sMltE.js → Polygon.sDQ7eTW_.js} +1 -1
  12. package/library/chunks/{ProgressPie.Dd74dbmm.js → ProgressPie.WR8hKkuu.js} +5 -5
  13. package/library/chunks/{RadialLabel.7ka6ND-t.js → RadialLabel.CUDs8pwi.js} +1 -1
  14. package/library/chunks/{Scrollbar.DqUnZReo.js → Scrollbar.CBeC4QOU.js} +1 -1
  15. package/library/chunks/{Slice.BVI8rfHI.js → Slice.A9JOqhaa.js} +1 -1
  16. package/library/chunks/{Slider.DtjYaJOw.js → Slider.IR4xGxTB.js} +1 -1
  17. package/library/chunks/{SpriteResizer.Ci2Wt2YJ.js → SpriteResizer.C4Pr8M2O.js} +1 -1
  18. package/library/chunks/{Triangle.C75emy3D.js → Triangle.B8AHSXVN.js} +1 -1
  19. package/library/chunks/{ZoomTools.CA9mtHI8.js → ZoomTools.Bc-o69p-.js} +1 -1
  20. package/library/chunks/{am-chart.Cr-vMjcY.js → am-chart._tN87j9G.js} +252 -252
  21. package/library/chunks/{animation.BD-1xugN.js → animation.C44TQFrM.js} +1 -1
  22. package/library/chunks/{asset-link-format.f7Khv8SZ.js → asset-link-format.DGRqjqpk.js} +7 -7
  23. package/library/chunks/{button.-Jl_NdgM.js → button.BQoebhw_.js} +2 -2
  24. package/library/chunks/{color-swatch-group.Ib1WYbMl.js → color-swatch-group.D25fjSK-.js} +10 -10
  25. package/library/chunks/{color-swatch.Dc-IqxsX.js → color-swatch.DxxOpJXT.js} +2 -2
  26. package/library/chunks/{colorPicker.Cg6Zxf8f.js → colorPicker.DkLlH4Wq.js} +5 -5
  27. package/library/chunks/{component.styles.CRO4Odto.js → component.styles.CAS3c9pM.js} +1 -1
  28. package/library/chunks/{confirm-popover.mgYIjZdo.js → confirm-popover.C35rVtVI.js} +4 -4
  29. package/library/chunks/{dialog.YFc-HBc5.js → dialog.Dl9aHLD4.js} +2 -2
  30. package/library/chunks/{document-viewer.CMET1HRd.js → document-viewer.sz5uTo3c.js} +8 -8
  31. package/library/chunks/{dot-pagination.BgETAL2j.js → dot-pagination.BNoG-qx7.js} +1 -1
  32. package/library/chunks/{exporting.Djsoh75g.js → exporting.AEbCtXAu.js} +2 -2
  33. package/library/chunks/{flow.aZRVH3p1.js → flow.C_iJT08S.js} +5 -5
  34. package/library/chunks/{folder-select.Hl51n0ge.js → folder-select.CHY44KlA.js} +5 -5
  35. package/library/chunks/{gantt.Bv6_3H9y.js → gantt.MUysUK5v.js} +8 -8
  36. package/library/chunks/{header.BeZml2NV.js → header.v8maWlzT.js} +1 -1
  37. package/library/chunks/{hierarchy.C4LxmFxx.js → hierarchy.C5iJ2TzI.js} +5 -5
  38. package/library/chunks/{icon-button.ENVA7x3u.js → icon-button.5-oAlIkv.js} +2 -2
  39. package/library/chunks/{icon.CpHbi8tH.js → icon.BLXWp6CU.js} +1 -1
  40. package/library/chunks/{iframe.Cgy_DE7W.js → iframe.DOwG9Q7o.js} +1 -1
  41. package/library/chunks/{image.rtjsax7e.js → image.BSh7WAGF.js} +2 -2
  42. package/library/chunks/{index.2SOQHTpX.js → index.D5h7hksG.js} +17 -17
  43. package/library/chunks/{index.BBLDucoY.js → index.Nlc7Fj2h.js} +15 -15
  44. package/library/chunks/{input.BJ5LN8of.js → input.BRZzv6Zk.js} +2 -2
  45. package/library/chunks/{json.Dz5QFEi5.js → json.DF7pARBV.js} +3 -3
  46. package/library/chunks/{map.CBcV0WVq.js → map.BXDkCMzZ.js} +2 -2
  47. package/library/chunks/{markdown.CrIkpd0h.js → markdown.b03AOvFT.js} +1 -1
  48. package/library/chunks/{menu-item.DfsfX25P.js → menu-item.HtTWOcq4.js} +2 -2
  49. package/library/chunks/{option.B34is9Z5.js → option.DgxoCq1j.js} +2 -2
  50. package/library/chunks/{pagination.DMAcWRyI.js → pagination.DtdNeZZD.js} +6 -6
  51. package/library/chunks/{percent.D8mkiJ2G.js → percent.DRsIolhK.js} +3 -3
  52. package/library/chunks/{radar.B3p5bRix.js → radar.D-c6oTy6.js} +4 -4
  53. package/library/chunks/{sliceGrouper.CcRqQhZX.js → sliceGrouper.CV7jLsd5.js} +1 -1
  54. package/library/chunks/{stock.CQbn6zW4.js → stock.Bf_BuveB.js} +9 -9
  55. package/library/chunks/{tab-group.D14m1Kel.js → tab-group.BQh_hMDd.js} +4 -4
  56. package/library/chunks/{timeline.Czz_uBEd.js → timeline.CBzTbwCn.js} +5 -5
  57. package/library/chunks/{tree.BEFWro0D.js → tree.DKofDMGu.js} +39 -37
  58. package/library/chunks/{types.IAKAUHSg.js → types.C96J8khO.js} +22353 -21653
  59. package/library/chunks/{typography.IqHbnd3C.js → typography.T72DuoCa.js} +1 -1
  60. package/library/chunks/{venn.B5Jl-c4i.js → venn.CTDnALBD.js} +1 -1
  61. package/library/chunks/{wc.B2THb2Kk.js → wc.DJeU7GL0.js} +1 -1
  62. package/library/chunks/{xy.BO6U5QrZ.js → xy.CW6DZQA8.js} +10 -10
  63. package/library/components/alert.js +2 -2
  64. package/library/components/am-chart.js +2 -2
  65. package/library/components/animated-image.js +2 -2
  66. package/library/components/animation.js +2 -2
  67. package/library/components/array-line-clamp.js +1 -1
  68. package/library/components/asset-link-format.js +4 -4
  69. package/library/components/atoms.js +22 -22
  70. package/library/components/audio.js +3 -3
  71. package/library/components/avatar.js +2 -2
  72. package/library/components/badge.js +1 -1
  73. package/library/components/bicolor-picker.js +1 -1
  74. package/library/components/border-input-group.js +2 -2
  75. package/library/components/breadcrumb-item.js +1 -1
  76. package/library/components/breadcrumb.js +2 -2
  77. package/library/components/button-group.js +1 -1
  78. package/library/components/button.js +3 -3
  79. package/library/components/card.js +1 -1
  80. package/library/components/checkbox.js +2 -2
  81. package/library/components/color-picker.js +4 -4
  82. package/library/components/color-swatch-group.js +4 -4
  83. package/library/components/color-swatch.js +3 -3
  84. package/library/components/confirm-popover.js +5 -5
  85. package/library/components/copy-button.js +2 -2
  86. package/library/components/corner-position-input-group.js +3 -3
  87. package/library/components/cropper.js +1 -1
  88. package/library/components/date-calendar.js +2 -2
  89. package/library/components/details.js +2 -2
  90. package/library/components/dialog.js +3 -3
  91. package/library/components/diff.js +1 -1
  92. package/library/components/divider.js +1 -1
  93. package/library/components/document-viewer.js +5 -5
  94. package/library/components/dot-pagination.js +2 -2
  95. package/library/components/dot-status.js +1 -1
  96. package/library/components/drawer.js +2 -2
  97. package/library/components/dropdown.js +2 -2
  98. package/library/components/dynamic-select.js +3 -3
  99. package/library/components/e-chart.js +1 -1
  100. package/library/components/element-clamp.js +2 -2
  101. package/library/components/file-on-demand.js +11 -11
  102. package/library/components/folder-select.js +5 -5
  103. package/library/components/format-time.js +1 -1
  104. package/library/components/grid-item.js +1 -1
  105. package/library/components/grid.js +1 -1
  106. package/library/components/header.js +2 -2
  107. package/library/components/icon-button.js +3 -3
  108. package/library/components/icon.js +2 -2
  109. package/library/components/iframe.js +2 -2
  110. package/library/components/image-comparer.js +2 -2
  111. package/library/components/image.js +3 -3
  112. package/library/components/include.js +1 -1
  113. package/library/components/input-group.js +1 -1
  114. package/library/components/input.js +3 -3
  115. package/library/components/line-clamp.js +2 -2
  116. package/library/components/markdown.js +2 -2
  117. package/library/components/masonry.js +3 -3
  118. package/library/components/menu-item.js +3 -3
  119. package/library/components/menu-label.js +1 -1
  120. package/library/components/menu-section.js +1 -1
  121. package/library/components/menu.js +2 -2
  122. package/library/components/molecules.js +3 -3
  123. package/library/components/mutation-observer.js +1 -1
  124. package/library/components/option.js +3 -3
  125. package/library/components/organisms.js +2 -2
  126. package/library/components/padding-input-group.js +2 -2
  127. package/library/components/pagination.js +6 -6
  128. package/library/components/popup.js +1 -1
  129. package/library/components/position-picker.js +1 -1
  130. package/library/components/progress-bar.js +1 -1
  131. package/library/components/progress-ring.js +1 -1
  132. package/library/components/qr-code.js +1 -1
  133. package/library/components/radio-button.js +1 -1
  134. package/library/components/radio-card.js +1 -1
  135. package/library/components/radio-group.js +1 -1
  136. package/library/components/radio.js +2 -2
  137. package/library/components/range.js +1 -1
  138. package/library/components/rating.js +2 -2
  139. package/library/components/relative-time.js +1 -1
  140. package/library/components/resize-observer.js +1 -1
  141. package/library/components/select.js +4 -4
  142. package/library/components/shadow-input-group.js +2 -2
  143. package/library/components/share-option-list.js +3 -3
  144. package/library/components/sidebar.js +3 -3
  145. package/library/components/size-input-group.js +3 -3
  146. package/library/components/skeleton.js +1 -1
  147. package/library/components/space.js +1 -1
  148. package/library/components/spinner.js +1 -1
  149. package/library/components/split-panel.js +1 -1
  150. package/library/components/step.js +2 -2
  151. package/library/components/stepper-wizard.js +2 -2
  152. package/library/components/stepper.js +1 -1
  153. package/library/components/switch.js +1 -1
  154. package/library/components/tab-group.js +5 -5
  155. package/library/components/tab-panel.js +1 -1
  156. package/library/components/tab.js +2 -2
  157. package/library/components/tag.js +2 -2
  158. package/library/components/textarea.js +1 -1
  159. package/library/components/timecode.js +2 -2
  160. package/library/components/tooltip.js +1 -1
  161. package/library/components/tree-item.js +3 -3
  162. package/library/components/tree.js +2 -2
  163. package/library/components/typeface.js +3 -3
  164. package/library/components/types.js +26 -26
  165. package/library/components/typography.js +2 -2
  166. package/library/components/video.js +2 -2
  167. package/library/components/visually-hidden.js +1 -1
  168. package/library/package.json +1 -1
  169. package/library/packages/molecules/src/icon-picker/icon-picker.d.ts +33 -0
  170. package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/index.d.ts +13 -2
  171. package/library/packages/tools/src/tiptap/extensions/google/index.d.ts +4 -0
  172. package/library/packages/tools/src/tiptap/extensions/paste-inline-filter/index.d.ts +28 -0
  173. package/library/packages/tools/src/tiptap/utils/flatten-spans.d.ts +5 -0
  174. package/library/packages/tools/src/tiptap/utils/normalize-tabs.d.ts +7 -0
  175. package/library/react-web-component.d.ts +20 -0
  176. package/package.json +1 -1
@@ -1,4 +1,6 @@
1
- export declare const baseExtensions: (import('@tiptap/core').Node<any, any> | import('@tiptap/core').Extension<any, any> | import('@tiptap/core').Mark<import('../../../../../../tools/src/tiptap/extensions/text-style').TextStyleOptions, any>)[];
1
+ import { RTE_CONFIG } from '../../../../../../types/src/content-builder';
2
+
3
+ export declare const baseExtensions: (import('@tiptap/core').Mark<any, any> | import('@tiptap/core').Node<any, any> | import('@tiptap/core').Extension<any, any>)[];
2
4
  export declare const basicFormatExtensions: import('@tiptap/core').Mark<import('@tiptap/extension-bold').BoldOptions, any>[];
3
5
  export declare const textScriptExtensions: import('@tiptap/core').Mark<import('@tiptap/extension-subscript').SubscriptExtensionOptions, any>[];
4
6
  export declare const linkExtensions: import('@tiptap/core').Mark<import('@tiptap/extension-link').LinkOptions, any>[];
@@ -25,4 +27,13 @@ export declare const lineHeightExtensions: import('@tiptap/core').Extension<{
25
27
  export declare const blockFormatExtensions: import('@tiptap/core').Node<any, any>[];
26
28
  export declare const listExtensions: import('@tiptap/core').Node<any, any>[];
27
29
  export declare const customNodes: import('@tiptap/core').Node<any, any>[];
28
- export declare const testingExtensions: (import('@tiptap/core').Mark<import('@tiptap/extension-bold').BoldOptions, any> | import('@tiptap/core').Node<any, any> | import('@tiptap/core').Extension<any, any>)[];
30
+ /**
31
+ * Inline styling a paste may keep, derived from the same `rteConfigs` flags that
32
+ * decide which extensions are loaded. Anything not enabled at inline level is
33
+ * stripped on paste so the block-level setting stays in control — notably
34
+ * `font-family`, which has no inline config and is block-only.
35
+ *
36
+ * Keep in sync with the extension branches in `rich-text-editor/index.ts`.
37
+ */
38
+ export declare const buildPasteInlineFilter: (rteConfigs?: RTE_CONFIG) => import('@tiptap/core').Extension<import('../../../../../../tools/src/tiptap/extensions/paste-inline-filter').PasteInlineFilterOptions, any>;
39
+ export declare const testingExtensions: (import('@tiptap/core').Mark<any, any> | import('@tiptap/core').Node<any, any> | import('@tiptap/core').Extension<any, any>)[];
@@ -0,0 +1,4 @@
1
+ import { Mark } from '@tiptap/core';
2
+
3
+ declare const Google: Mark<any, any>;
4
+ export default Google;
@@ -0,0 +1,28 @@
1
+ import { Extension } from '@tiptap/core';
2
+
3
+ export type PasteInlineFilterOptions = {
4
+ /**
5
+ * Mark names that may survive a paste, e.g. `['bold', 'link']`.
6
+ * `textStyle` is always kept (it is filtered by `allowedStyles` instead) so
7
+ * that allowed declarations have a mark to live on.
8
+ */
9
+ allowedMarks: string[];
10
+ /**
11
+ * Inline CSS properties that may survive a paste, e.g. `['color', 'font-size']`.
12
+ * Every other declaration on a `textStyle` mark is dropped so the block-level
13
+ * setting stays in control. An empty set strips all inline styling.
14
+ */
15
+ allowedStyles: string[];
16
+ };
17
+ /**
18
+ * Removes inline styling that the host has not enabled, so block-level settings
19
+ * (font family, line height, …) are not overridden by whatever the clipboard
20
+ * carried. Pasted content from Google Docs, Word, and web pages all arrive as
21
+ * `<span style="...">` runs; without this filter those inline declarations win
22
+ * over the block setting and the setting appears to have no effect.
23
+ *
24
+ * Runs on `transformPasted`, so it covers every paste source rather than a
25
+ * single vendor-specific handler.
26
+ */
27
+ declare const PasteInlineFilter: Extension<PasteInlineFilterOptions, any>;
28
+ export default PasteInlineFilter;
@@ -0,0 +1,5 @@
1
+ declare function flattenSpans(htmlString: string, options?: {
2
+ normalizeTabs?: boolean;
3
+ removeSuggestionTrack?: boolean;
4
+ }): string;
5
+ export default flattenSpans;
@@ -0,0 +1,7 @@
1
+ /**
2
+ *
3
+ * @param html
4
+ * Prevents whitespace collapse by converting consecutive spaces and literal tabs to non-breaking spaces
5
+ */
6
+ declare function normalizeTabs(html: string): string;
7
+ export default normalizeTabs;
@@ -6648,6 +6648,26 @@
6648
6648
  * When true, adds a Font Awesome section alongside the default Cortex icon library.
6649
6649
  */
6650
6650
  fontAwesome?: boolean;
6651
+ /**
6652
+ * Icon shown in the selection area while nothing is selected. Accepts any `cx-icon` name. When empty, button mode keeps an invisible icon that reserves the trigger's width and select mode keeps its `search` icon. <br/>@default ''
6653
+ */
6654
+ emptySelectionIcon?: string;
6655
+ /**
6656
+ * Placeholder text for the search field, in both variants. When empty, the localized `search` term is used. <br/>@default ''
6657
+ */
6658
+ searchPlaceholder?: string;
6659
+ /**
6660
+ * Icon shown before the search field inside the button-mode panel. Accepts any `cx-icon` name. When empty, no icon is rendered. Select mode has no separate search field — its trigger icon is `empty-selection-icon`. <br/>@default ''
6661
+ */
6662
+ panelSearchIcon?: string;
6663
+ /**
6664
+ * Label of the custom (asset picker) option, in both variants. When empty, the localized `custom` term is used. <br/>@default ''
6665
+ */
6666
+ customOptionLabel?: string;
6667
+ /**
6668
+ * Icon shown before the custom option's label. Accepts any `cx-icon` name. When empty, no icon is rendered. An uploaded custom image takes precedence over this icon, so the option previews the picked asset instead. <br/>@default ''
6669
+ */
6670
+ customOptionIcon?: string;
6651
6671
  /**
6652
6672
  * When true, hides the "Custom" icon option (asset picker) from the select footer and button-mode menu.
6653
6673
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "3.12.0",
4
+ "version": "3.13.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {