@orangelogic/design-system 4.50.0 → 4.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/library/chunks/{array-line-clamp.HGGPocNC.js → array-line-clamp.DKxxZlon.js} +2 -2
  2. package/library/chunks/{asset-link-format.Ca8KxyCV.js → asset-link-format.B_gS4nTL.js} +557 -522
  3. package/library/chunks/{bicolor-picker.BGSxhZJ-.js → bicolor-picker.YUjpxOEl.js} +1 -1
  4. package/library/chunks/{block-width.BiCAGZxV.js → block-width.BDpJyD-F.js} +27 -27
  5. package/library/chunks/{border-input-group.wXw6aSGa.js → border-input-group.D5V40_dV.js} +1 -1
  6. package/library/chunks/{color-picker.DlcAbY3b.js → color-picker.B6zsp9q3.js} +108 -108
  7. package/library/chunks/{color-swatch-group.BdYLfI59.js → color-swatch-group.C-4jpi7T.js} +109 -109
  8. package/library/chunks/{color-swatch.D31RnyZs.js → color-swatch.Biz89VJr.js} +1 -1
  9. package/library/chunks/{config-manager.Bwkq7ll7.js → config-manager.D4XcNU1d.js} +16 -16
  10. package/library/chunks/{configs-controller.Cc-Lt6BH.js → configs-controller.C8z7oMRd.js} +5 -5
  11. package/library/chunks/{corner-position-input-group.DmmX8lEw.js → corner-position-input-group.vhSOueRn.js} +1 -1
  12. package/library/chunks/{diff.DAFtnzhM.js → diff.DZjfy2VU.js} +4 -4
  13. package/library/chunks/{document-viewer.CpC54CmZ.js → document-viewer.DVV4HsLS.js} +3 -3
  14. package/library/chunks/{dynamic-select.CtdC5OzH.js → dynamic-select.DmTXLyzH.js} +5 -5
  15. package/library/chunks/{file-on-demand.B4KUSqtB.js → file-on-demand.CLwTe72F.js} +9 -9
  16. package/library/chunks/{folder-select.DEGiL0pP.js → folder-select.BF1l6Zah.js} +20 -20
  17. package/library/chunks/{image.B87-7U_Z.js → image.C6-Opjew.js} +10 -10
  18. package/library/chunks/{line-clamp.BFh7eXXl.js → line-clamp.COXyDBRB.js} +23 -18
  19. package/library/chunks/{masonry.H7Hpnx9d.js → masonry.4Lcy37gf.js} +1 -1
  20. package/library/chunks/{pagination.ca5R1wld.js → pagination.Mr-XiQBd.js} +1 -1
  21. package/library/chunks/{radio-card.DTRD2YQ6.js → radio-card.jROctGtI.js} +1 -1
  22. package/library/chunks/{range.BUjztx8Q.js → range.CQzHuhd9.js} +10 -10
  23. package/library/chunks/{select.NhbQgMNA.js → select.CEgt2ciT.js} +2 -2
  24. package/library/chunks/{shadow-input-group.Zt8zKRxQ.js → shadow-input-group.DTEIzl1s.js} +1 -1
  25. package/library/chunks/{share-option-list.pVQugFoP.js → share-option-list.CdQeYk-I.js} +4 -4
  26. package/library/chunks/{size-input-group.Cxo0uCXM.js → size-input-group.DtldCuqS.js} +1 -1
  27. package/library/chunks/{src.3QpUQeRm.js → src.BjEmxalH.js} +18 -18
  28. package/library/chunks/{step.CC1wfskA.js → step.BlnWLzqI.js} +1 -1
  29. package/library/chunks/{stepper-wizard.BJARESIb.js → stepper-wizard.t7enm9Uz.js} +2 -2
  30. package/library/chunks/{stepper.CUxBZKM6.js → stepper.DzhUPTLW.js} +1 -1
  31. package/library/chunks/{tab-group.lMvydOdb.js → tab-group.DIVmzKse.js} +1 -1
  32. package/library/chunks/{tab.BKJEGsgj.js → tab.C0oUx7MY.js} +1 -1
  33. package/library/chunks/{tag.Dj8VrFFk.js → tag.B2S21_nF.js} +1 -1
  34. package/library/chunks/{tree.BWKeg92V.js → tree.Bq4vAQ6w.js} +1 -1
  35. package/library/chunks/{typeface.BLblmcP7.js → typeface.Dr9m4SZE.js} +1 -1
  36. package/library/chunks/{video.2jpE1tqO.js → video.bGH-n4pZ.js} +12 -12
  37. package/library/components/array-line-clamp.js +1 -1
  38. package/library/components/asset-link-format.js +1 -1
  39. package/library/components/atoms.js +21 -21
  40. package/library/components/bicolor-picker.js +1 -1
  41. package/library/components/border-input-group.js +1 -1
  42. package/library/components/color-picker.js +1 -1
  43. package/library/components/color-swatch-group.js +1 -1
  44. package/library/components/color-swatch.js +1 -1
  45. package/library/components/corner-position-input-group.js +1 -1
  46. package/library/components/diff.js +1 -1
  47. package/library/components/document-viewer.js +1 -1
  48. package/library/components/dynamic-select.js +1 -1
  49. package/library/components/file-on-demand.js +1 -1
  50. package/library/components/folder-select.js +1 -1
  51. package/library/components/image.js +1 -1
  52. package/library/components/line-clamp.js +1 -1
  53. package/library/components/masonry.js +1 -1
  54. package/library/components/molecules.js +12 -12
  55. package/library/components/organisms.js +3 -3
  56. package/library/components/pagination.js +1 -1
  57. package/library/components/radio-card.js +1 -1
  58. package/library/components/range.js +1 -1
  59. package/library/components/select.js +1 -1
  60. package/library/components/shadow-input-group.js +1 -1
  61. package/library/components/share-option-list.js +1 -1
  62. package/library/components/size-input-group.js +1 -1
  63. package/library/components/step.js +1 -1
  64. package/library/components/stepper-wizard.js +1 -1
  65. package/library/components/stepper.js +1 -1
  66. package/library/components/tab-group.js +1 -1
  67. package/library/components/tab.js +1 -1
  68. package/library/components/tag.js +1 -1
  69. package/library/components/tree-item.js +1 -1
  70. package/library/components/tree.js +1 -1
  71. package/library/components/typeface.js +1 -1
  72. package/library/components/types.js +228 -228
  73. package/library/components/video.js +1 -1
  74. package/library/package.json +1 -1
  75. package/library/packages/atoms/src/components/alert/alert.d.ts +3 -0
  76. package/library/packages/atoms/src/components/badge/badge.d.ts +3 -0
  77. package/library/packages/atoms/src/components/button/button.d.ts +12 -0
  78. package/library/packages/atoms/src/components/card/card.d.ts +1 -0
  79. package/library/packages/atoms/src/components/checkbox/checkbox.d.ts +18 -0
  80. package/library/packages/atoms/src/components/color-picker/color-picker.d.ts +7 -0
  81. package/library/packages/atoms/src/components/copy-button/copy-button.d.ts +11 -0
  82. package/library/packages/atoms/src/components/dialog/dialog.d.ts +2 -0
  83. package/library/packages/atoms/src/components/divider/divider.d.ts +2 -0
  84. package/library/packages/atoms/src/components/drawer/drawer.d.ts +3 -0
  85. package/library/packages/atoms/src/components/dropdown/dropdown.d.ts +3 -0
  86. package/library/packages/atoms/src/components/icon-button/icon-button.d.ts +6 -0
  87. package/library/packages/atoms/src/components/image/image.d.ts +1 -0
  88. package/library/packages/atoms/src/components/input/input.d.ts +39 -0
  89. package/library/packages/atoms/src/components/line-clamp/line-clamp.d.ts +8 -0
  90. package/library/packages/atoms/src/components/menu/menu.d.ts +4 -0
  91. package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +2 -0
  92. package/library/packages/atoms/src/components/option/option.d.ts +1 -0
  93. package/library/packages/atoms/src/components/pagination/pagination.d.ts +1 -0
  94. package/library/packages/atoms/src/components/radio/radio.d.ts +14 -0
  95. package/library/packages/atoms/src/components/radio-button/radio-button.d.ts +11 -0
  96. package/library/packages/atoms/src/components/radio-card/radio-card.d.ts +3 -0
  97. package/library/packages/atoms/src/components/radio-group/radio-group.d.ts +2 -0
  98. package/library/packages/atoms/src/components/range/range.d.ts +3 -0
  99. package/library/packages/atoms/src/components/rating/rating.d.ts +2 -0
  100. package/library/packages/atoms/src/components/select/select.d.ts +38 -0
  101. package/library/packages/atoms/src/components/split-panel/split-panel.d.ts +1 -0
  102. package/library/packages/atoms/src/components/switch/switch.d.ts +12 -0
  103. package/library/packages/atoms/src/components/tag/tag.d.ts +10 -0
  104. package/library/packages/atoms/src/components/textarea/textarea.d.ts +38 -0
  105. package/library/packages/atoms/src/components/tooltip/tooltip.d.ts +9 -0
  106. package/library/packages/atoms/src/components/tree-item/tree-item.d.ts +1 -0
  107. package/library/packages/hybrid/rich-text/src/components/rich-text-bubble-menu/rich-text-bubble-menu.d.ts +4 -0
  108. package/library/packages/hybrid/rich-text/src/components/rich-text-toolbar/rich-text-toolbar.d.ts +3 -0
  109. package/library/packages/hybrid/rich-text/src/rich-text.d.ts +3 -0
  110. package/library/packages/hybrid/table-core/src/table/components/table-toolbar/table-toolbar.d.ts +2 -0
  111. package/library/packages/hybrid/table-core/src/table/table.d.ts +3 -0
  112. package/library/packages/hybrid/video-advanced/src/video-advanced/video-advanced.d.ts +12 -0
  113. package/library/packages/molecules/src/3d-viewer/components/3d-viewer-config/3d-viewer-config.d.ts +3 -0
  114. package/library/packages/molecules/src/annotator/annotator.d.ts +2 -0
  115. package/library/packages/molecules/src/asset-format-picker/asset-format-picker.d.ts +3 -0
  116. package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +3 -0
  117. package/library/packages/molecules/src/download-format-picker/download-format-picker.d.ts +3 -0
  118. package/library/packages/molecules/src/input-date-picker/input-date-picker.d.ts +3 -0
  119. package/library/packages/molecules/src/markdown-viewer/markdown-viewer.d.ts +3 -0
  120. package/library/packages/molecules/src/multi-select/components/board/board.d.ts +4 -0
  121. package/library/packages/molecules/src/multi-select/components/board-list-item/board-list-item.d.ts +6 -0
  122. package/library/packages/molecules/src/publish-page/publish-page.d.ts +2 -0
  123. package/library/packages/molecules/src/view-and-sort/view-and-sort.d.ts +6 -0
  124. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +8 -2
  125. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +11 -3
  126. package/library/packages/organisms/src/chatbot/chatbot.d.ts +4 -0
  127. package/library/packages/organisms/src/comment/comment.d.ts +2 -0
  128. package/library/packages/organisms/src/content-builder/blocks/button/button.d.ts +3 -0
  129. package/library/packages/organisms/src/content-builder/blocks/search-box/search-box.d.ts +2 -0
  130. package/library/packages/organisms/src/content-builder/content-builder.d.ts +2 -0
  131. package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/rte-bubble-menu.d.ts +7 -0
  132. package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-table-generator/rte-table-generator.d.ts +6 -0
  133. package/library/packages/organisms/src/downloader/downloader.d.ts +6 -0
  134. package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.d.ts +2 -0
  135. package/library/packages/organisms/src/find-and-replace/find-and-replace.d.ts +1 -0
  136. package/library/packages/organisms/src/text-to-speech/text-to-speech.d.ts +3 -0
  137. package/library/react-web-component.d.ts +30 -30
  138. package/library/utils.js +7 -7
  139. package/package.json +1 -1
  140. package/library/chunks/{src.CFxipFzl.js → src.BJpSLSUr.js} +1 -1
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/video.2jpE1tqO.js";
1
+ import { n as e, t } from "../chunks/video.bGH-n4pZ.js";
2
2
  export { t as VIDEO_BACKGROUND_SIZE_BY_OBJECT_FIT, e as default };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "4.50.0",
4
+ "version": "4.52.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -23,6 +23,9 @@ import { default as CxIconButton } from '../icon-button/icon-button';
23
23
  * @csspart message - The container that wraps the alert’s main content.
24
24
  * @csspart close-button - The close button, an "cx-icon-button"
25
25
  * @csspart close-button__base - The close button’s exported "base" part.
26
+ * @cssproperty [--cx-panel-border-width=1px] - Border width of the alert, tripled for its top border and the countdown bar height.
27
+ * @cssproperty [--cx-panel-background-color=var(--cx-color-neutral-0)] - Background color of the alert.
28
+ * @cssproperty [--cx-panel-border-color=var(--cx-color-neutral-200)] - Border color of the alert and background color of the countdown track.
26
29
  */
27
30
  export default class CxAlert extends CortexElement {
28
31
  static styles: CSSResultGroup;
@@ -6,6 +6,9 @@ import { CSSResultGroup } from 'lit';
6
6
  * @slot (default) - The badge's content.
7
7
  *
8
8
  * @csspart base - The component's base wrapper.
9
+ * @cssproperty [--cx-input-height-large=40px] - Height and minimum width of a large badge.
10
+ * @cssproperty [--cx-input-height-medium=32px] - Height and minimum width of a medium badge.
11
+ * @cssproperty [--cx-input-height-small=24px] - Height and minimum width of a small badge.
9
12
  */
10
13
  export default class CxBadge extends CortexElement {
11
14
  static styles: CSSResultGroup;
@@ -33,6 +33,18 @@ import { default as CxSpinner } from '../spinner/spinner';
33
33
  * @cssproperty [--caret-font-size] - Overrides the caret icon's font size (defaults to `--cx-font-size-large`, or
34
34
  * `--cx-font-size-medium` when `size="small"`). Useful when embedding the button somewhere it must match a
35
35
  * smaller surrounding line-height.
36
+ * @cssproperty [--cx-button-border-radius-large=var(--cx-border-radius-medium)] - Border radius of a large and x-large button.
37
+ * @cssproperty [--cx-button-border-radius-medium=var(--cx-border-radius-medium)] - Border radius of a medium button.
38
+ * @cssproperty [--cx-button-border-radius-small=var(--cx-border-radius-medium)] - Border radius of a small button.
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.
41
+ * @cssproperty [--cx-input-border-width=1px] - Border width of the button and of the overlap between grouped buttons.
42
+ * @cssproperty [--cx-input-font-family=var(--cx-font-sans)] - Font family of the button.
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
+ * @cssproperty [--cx-input-height-large=40px] - Minimum height of a large button, also the width of a large circle button.
45
+ * @cssproperty [--cx-input-height-medium=32px] - Height of a medium button and the default button height, also the width of a medium circle button.
46
+ * @cssproperty [--cx-input-height-small=24px] - Minimum height of a small button, also the width of a small circle button.
47
+ * @cssproperty [--cx-input-border-color=var(--cx-color-neutral-300)] - Border color of an outline default button. Dark theme: `var(--cx-color-neutral-400)`.
36
48
  */
37
49
  export default class CxButton extends CortexElement implements CortexFormControl {
38
50
  static readonly styles: CSSResultGroup;
@@ -22,6 +22,7 @@ import { CSSResultGroup } from 'lit';
22
22
  * @cssproperty [--card-width=auto] - The width of the card.
23
23
  * @cssproperty [--card-height=auto] - The height of the card.
24
24
  * @cssproperty [--card-overflow=auto] - How the card's base handles overflowing content. Set to `clip` for cards that must never scroll.
25
+ * @cssproperty [--cx-panel-background-color=var(--cx-color-neutral-0)] - Background color of the card.
25
26
  */
26
27
  export default class CxCard extends CortexElement {
27
28
  static readonly styles: CSSResultGroup;
@@ -27,6 +27,24 @@ import { default as CxIcon } from '../icon/icon';
27
27
  *
28
28
  * @cssproperty [--cx-checkbox-disabled-background=var(--cx-input-background-color)] - Background color of the control box when disabled. Override to customize the disabled appearance without affecting the shared opacity behavior.
29
29
  * @cssproperty [--cx-checkbox-disabled-border-color=var(--cx-input-border-color)] - Border color of the control box when disabled.
30
+ * @cssproperty [--cx-input-border-width=1px] - Border width of the checkbox control.
31
+ * @cssproperty [--cx-input-font-family=var(--cx-font-sans)] - Font family of the checkbox.
32
+ * @cssproperty [--cx-input-font-size-small=var(--cx-font-size-small)] - Font size of the checkbox at every size.
33
+ * @cssproperty [--cx-input-font-weight=var(--cx-font-weight-regular)] - Font weight of the checkbox.
34
+ * @cssproperty [--cx-input-required-content='*'] - Content of the required marker after the label.
35
+ * @cssproperty [--cx-input-required-content-offset=-2px] - Inline start margin of the required marker.
36
+ * @cssproperty [--cx-checkbox-label-text-transform=none] - Text transform of the label.
37
+ * @cssproperty [--cx-toggle-size-small=16px] - Size of the control of a small checkbox.
38
+ * @cssproperty [--cx-toggle-size-medium=20px] - Size of the control of a medium checkbox.
39
+ * @cssproperty [--cx-toggle-size-large=22px] - Size of the control of a large checkbox.
40
+ * @cssproperty [--cx-input-background-color=var(--cx-color-neutral-0)] - Background color of the checkbox control.
41
+ * @cssproperty [--cx-input-background-color-hover=var(--cx-input-background-color)] - Background color of the unchecked control on hover.
42
+ * @cssproperty [--cx-input-border-color=var(--cx-color-neutral-300)] - Border color of the checkbox control. Dark theme: `var(--cx-color-neutral-400)`.
43
+ * @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)`.
44
+ * @cssproperty [--cx-input-invalid-border-color=var(--cx-color-danger)] - Border color of the control when the checkbox is invalid.
45
+ * @cssproperty [--cx-input-invalid-color=var(--cx-color-danger-700)] - Color of the label when the checkbox is invalid.
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)`.
30
48
  */
31
49
  export default class CxCheckbox extends CortexElement implements CortexFormControl {
32
50
  static readonly styles: CSSResultGroup;
@@ -80,6 +80,13 @@ import { default as CxGradientStopList } from './components/gradient-stop-list/g
80
80
  * @cssproperty [--inline-border] - Border for `inline` pickers (defaults to the panel border token); set to `none` to remove the frame.
81
81
  * @cssproperty --control-button-color - The background color of button variant's control.
82
82
  * @cssproperty --control-caret-color - The color of button variant's control's caret.
83
+ * @cssproperty [--cx-input-height-medium=32px] - Width and height of the color preview swatch.
84
+ * @cssproperty [--cx-toggle-size-small=16px] - Size of the preview swatch in a small button-variant picker.
85
+ * @cssproperty [--cx-toggle-size-medium=20px] - Size of the preview swatch in a medium button-variant picker.
86
+ * @cssproperty [--cx-toggle-size-large=22px] - Size of the preview swatch in a large button-variant picker.
87
+ * @cssproperty [--cx-panel-border-width=1px] - Border width of an inline picker and of the dropdown panel.
88
+ * @cssproperty [--cx-panel-background-color=var(--cx-color-neutral-0)] - Background color of the picker and of the dropdown panel.
89
+ * @cssproperty [--cx-panel-border-color=var(--cx-color-neutral-200)] - Border color of an inline picker and of the dropdown panel.
83
90
  */
84
91
  export default class CxColorPicker extends CortexElement implements CortexFormControl {
85
92
  #private;
@@ -32,6 +32,17 @@ import { default as CxTooltip } from '../tooltip/tooltip';
32
32
  * @cssproperty --button-padding - The padding to use for the button.
33
33
  * @cssproperty --button-background-color - The background color to use for the button.
34
34
  * @cssproperty [--button-text-color=var(--cx-color-neutral)] - The text color to use for the button's label, including its hover and active states.
35
+ * @cssproperty [--cx-button-border-radius-large=var(--cx-border-radius-medium)] - Border radius of a large and x-large copy button.
36
+ * @cssproperty [--cx-button-border-radius-medium=var(--cx-border-radius-medium)] - Border radius of a medium copy button.
37
+ * @cssproperty [--cx-button-border-radius-small=var(--cx-border-radius-medium)] - Border radius of a small copy button.
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.
40
+ * @cssproperty [--cx-input-border-width=1px] - Border width of the copy button.
41
+ * @cssproperty [--cx-input-font-family=var(--cx-font-sans)] - Font family of the copy button when `--button-font-family` is not set.
42
+ * @cssproperty [--cx-input-height-x-large=48px] - Minimum height of an x-large copy button.
43
+ * @cssproperty [--cx-input-height-large=40px] - Minimum height of a large copy button.
44
+ * @cssproperty [--cx-input-height-medium=32px] - Minimum height of a medium copy button.
45
+ * @cssproperty [--cx-input-height-small=24px] - Minimum height of a small copy button.
35
46
  *
36
47
  * @animation copy.in - The animation to use when feedback icons animate in.
37
48
  * @animation copy.out - The animation to use when feedback icons animate out.
@@ -44,6 +44,8 @@ import { default as CxPopup } from '../popup/popup';
44
44
  * @cssproperty [--max-width=100vw] - The maximum width of the dialog.
45
45
  * @cssproperty [--max-height=100vh] - The maximum height of the dialog.
46
46
  * @cssproperty [--overlay-background-color=var(--cx-overlay-background-color)] - The background color of the overlay.
47
+ * @cssproperty [--cx-overlay-background-color=hsl(240deg 3.8% 46.1% / 33%)] - Background color of the overlay behind the dialog, read through `--overlay-background-color`. Dark theme: `hsl(0deg 0% 0% / 43%)`.
48
+ * @cssproperty [--cx-panel-background-color=var(--cx-color-neutral-0)] - Background color of the dialog panel.
47
49
  *
48
50
  * @animation dialog.show - The animation to use when showing the dialog.
49
51
  * @animation dialog.hide - The animation to use when hiding the dialog.
@@ -11,6 +11,8 @@ import { CSSResultGroup } from 'lit';
11
11
  * @cssproperty --border-style - The style of the divider.
12
12
  * @cssproperty --padding - The padding of the divider.
13
13
  * @cssproperty --max-width - The maximum width of the divider.
14
+ * @cssproperty [--cx-panel-border-width=1px] - Default width of the divider, used when `--width` is not set.
15
+ * @cssproperty [--cx-panel-border-color=var(--cx-color-neutral-200)] - Default color of the divider, used when `--color` is not set.
14
16
  */
15
17
  export default class CxDivider extends CortexElement {
16
18
  static readonly styles: CSSResultGroup;
@@ -41,6 +41,9 @@ import { default as CxIconButton } from '../icon-button/icon-button';
41
41
  * @cssproperty --body-spacing - The amount of padding to use for the body.
42
42
  * @cssproperty --footer-spacing - The amount of padding to use for the footer.
43
43
  * @cssproperty [--font-family=var(--cx-font-sans)] - Font family used for header, body, and footer. Default: var(--cx-font-sans)
44
+ * @cssproperty [--cx-input-border-color=var(--cx-color-neutral-300)] - Color of the border below the drawer header. Dark theme: `var(--cx-color-neutral-400)`.
45
+ * @cssproperty [--cx-overlay-background-color=hsl(240deg 3.8% 46.1% / 33%)] - Background color of the overlay behind the drawer. Dark theme: `hsl(0deg 0% 0% / 43%)`.
46
+ * @cssproperty [--cx-panel-background-color=var(--cx-color-neutral-0)] - Background color of the drawer panel.
44
47
  *
45
48
  * @animation drawer.showTop - The animation to use when showing a drawer with `top` placement.
46
49
  * @animation drawer.showEnd - The animation to use when showing a drawer with `end` placement.
@@ -29,6 +29,9 @@ import { default as CxPopup } from '../popup/popup';
29
29
  *
30
30
  * @cssproperty [--max-height=var(--auto-size-available-height)] - The max height of the dropdown panel. If it is larger than the available height, the available height will take precedence.
31
31
  * @cssproperty [--trigger-display=block] - `display` value for the trigger slot wrapper (e.g. `flex` for stretched triggers).
32
+ * @cssproperty [--cx-panel-border-width=1px] - Border width of the dropdown panel.
33
+ * @cssproperty [--cx-panel-background-color=var(--cx-color-neutral-0)] - Background color of the dropdown panel.
34
+ * @cssproperty [--cx-panel-border-color=var(--cx-color-neutral-200)] - Border color of the dropdown panel.
32
35
  */
33
36
  export default class CxDropdown extends CortexElement {
34
37
  static readonly styles: CSSResultGroup;
@@ -18,6 +18,12 @@ import { default as CxSpinner } from '../spinner/spinner';
18
18
  * @csspart base - The component's base wrapper.
19
19
  *
20
20
  * @cssproperty --group-divider-color - The color of the divider between icon buttons in a group.
21
+ * @cssproperty [--cx-input-border-width=1px] - Border width of an outline icon button, and the overlap between icon buttons in a group.
22
+ * @cssproperty [--cx-input-height-x-large=48px] - Minimum height and width of an x-large icon button.
23
+ * @cssproperty [--cx-input-height-large=40px] - Minimum height of a large icon button.
24
+ * @cssproperty [--cx-input-height-medium=32px] - Minimum height and width of a medium icon button.
25
+ * @cssproperty [--cx-input-height-small=24px] - Minimum height and width of a small icon button.
26
+ * @cssproperty [--cx-input-border-color=var(--cx-color-neutral-300)] - Border color of an outline icon button. Dark theme: `var(--cx-color-neutral-400)`.
21
27
  */
22
28
  export default class CxIconButton extends CortexElement {
23
29
  static readonly styles: CSSResultGroup;
@@ -33,6 +33,7 @@ import { default as CxSpace } from '../space/space';
33
33
  * @cssproperty --border-radius - The border-radius of the image.
34
34
  * @cssproperty --border - The border of the image.
35
35
  * @cssproperty [--fallback-icon-color=var(--cx-input-icon-color)] - The color of the icon shown when the image fails to load.
36
+ * @cssproperty [--cx-input-icon-color=var(--cx-color-neutral-500)] - Default color of the icon shown when the image fails to load, used when `--fallback-icon-color` is not set.
36
37
  *
37
38
  * @event cx-load - Emitted when the image has loaded.
38
39
  * @event cx-error - Emitted when the image has failed to load (after all retry attempts when `retry-on-error` is enabled).
@@ -38,6 +38,45 @@ 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.
44
+ * @cssproperty [--cx-input-border-width=1px] - Border width of a standard input, and the overlap between inputs in an input group.
45
+ * @cssproperty [--cx-input-font-family=var(--cx-font-sans)] - Font family of the input.
46
+ * @cssproperty [--cx-input-font-size-large=var(--cx-font-size-large)] - Font size used to vertically position the label of a large input.
47
+ * @cssproperty [--cx-input-font-size-medium=var(--cx-font-size-medium)] - Font size used to vertically position the label of a medium input.
48
+ * @cssproperty [--cx-input-font-size-small=var(--cx-font-size-small)] - Font size of the input at every size.
49
+ * @cssproperty [--cx-input-font-weight=var(--cx-font-weight-regular)] - Font weight of the input and the character count.
50
+ * @cssproperty [--cx-input-height-large=40px] - Minimum height of a large input.
51
+ * @cssproperty [--cx-input-height-medium=32px] - Minimum height of a medium input.
52
+ * @cssproperty [--cx-input-height-small=24px] - Minimum height of a small input.
53
+ * @cssproperty [--cx-input-letter-spacing=var(--cx-letter-spacing-normal)] - Letter spacing of the input and the character count.
54
+ * @cssproperty [--cx-input-spacing-large=var(--cx-spacing-medium)] - Horizontal padding of a large input.
55
+ * @cssproperty [--cx-input-spacing-medium=var(--cx-spacing-medium)] - Horizontal padding of a medium input.
56
+ * @cssproperty [--cx-input-spacing-small=var(--cx-spacing-medium)] - Horizontal padding of a small input, and the spacing around the icons and buttons of a large input.
57
+ * @cssproperty [--cx-input-label-text-transform=none] - Text transform of the label.
58
+ * @cssproperty [--cx-input-background-color=var(--cx-color-neutral-0)] - Background color of a standard input.
59
+ * @cssproperty [--cx-input-background-color-disabled=var(--cx-color-neutral-100)] - Background color of a disabled standard input.
60
+ * @cssproperty [--cx-input-background-color-focus=var(--cx-input-background-color)] - Background color of a standard input on focus.
61
+ * @cssproperty [--cx-input-background-color-hover=var(--cx-input-background-color)] - Background color of a standard input on hover.
62
+ * @cssproperty [--cx-input-border-color=var(--cx-color-neutral-300)] - Border color of a standard input. Dark theme: `var(--cx-color-neutral-400)`.
63
+ * @cssproperty [--cx-input-border-color-disabled=var(--cx-color-neutral-300)] - Border color of a disabled standard input. Dark theme: `var(--cx-color-neutral-400)`.
64
+ * @cssproperty [--cx-input-border-color-focus=var(--cx-color-primary)] - Border color of a standard input on focus. Dark theme: `var(--cx-color-primary-600)`.
65
+ * @cssproperty [--cx-input-border-color-hover=var(--cx-color-primary-300)] - Border color of a standard input on hover. Dark theme: `var(--cx-color-primary-700)`.
66
+ * @cssproperty [--cx-input-color=var(--cx-color-neutral-900)] - Text color of the input.
67
+ * @cssproperty [--cx-input-color-disabled=var(--cx-color-neutral-900)] - Text color of a disabled standard input.
68
+ * @cssproperty [--cx-input-color-focus=var(--cx-color-neutral-900)] - Text color of a standard input on focus.
69
+ * @cssproperty [--cx-input-color-hover=var(--cx-color-neutral-900)] - Text color of the input on hover.
70
+ * @cssproperty [--cx-input-filled-background-color=var(--cx-color-neutral-100)] - Background color of a filled input.
71
+ * @cssproperty [--cx-input-filled-background-color-disabled=var(--cx-color-neutral-100)] - Background color of a disabled filled input.
72
+ * @cssproperty [--cx-input-filled-background-color-focus=var(--cx-color-neutral-100)] - Background color of a filled input on focus.
73
+ * @cssproperty [--cx-input-filled-background-color-hover=var(--cx-color-neutral-100)] - Background color of a filled input on hover.
74
+ * @cssproperty [--cx-input-icon-color=var(--cx-color-neutral-500)] - Color of the prefix and suffix icons and of the clear and password toggle buttons.
75
+ * @cssproperty [--cx-input-icon-color-hover=var(--cx-color-neutral-600)] - Color of the clear and password toggle buttons on hover.
76
+ * @cssproperty [--cx-input-invalid-border-color=var(--cx-color-danger)] - Border color of the input when invalid.
77
+ * @cssproperty [--cx-input-invalid-shadow=0 0 0 var(--cx-focus-ring-width) var(--cx-color-danger-300)] - Focus ring of the input when invalid and focused.
78
+ * @cssproperty [--cx-input-placeholder-color=var(--cx-color-neutral-400)] - Color of the placeholder.
79
+ * @cssproperty [--cx-input-placeholder-color-disabled=var(--cx-color-neutral-600)] - Color of the placeholder in a disabled standard input.
41
80
  */
42
81
  export default class CxInput extends CortexElement implements CortexFormControl {
43
82
  #private;
@@ -1,5 +1,8 @@
1
1
  import { default as CortexElement } from '../../../../base/src/cortex-element.ts';
2
2
  import { CSSResultGroup, TemplateResult } from 'lit';
3
+ import { default as CxButton } from '../button/button';
4
+ import { default as CxResizeObserver } from '../resize-observer/resize-observer';
5
+ import { default as CxTooltip } from '../tooltip/tooltip';
3
6
  /**
4
7
  * @summary A web component for clamping text to a specific number of lines, allowing for single or multiline ellipsis.
5
8
  *
@@ -8,6 +11,11 @@ import { CSSResultGroup, TemplateResult } from 'lit';
8
11
  */
9
12
  export default class CxLineClamp extends CortexElement {
10
13
  static styles: CSSResultGroup;
14
+ static readonly dependencies: {
15
+ 'cx-button': typeof CxButton;
16
+ 'cx-resize-observer': typeof CxResizeObserver;
17
+ 'cx-tooltip': typeof CxTooltip;
18
+ };
11
19
  /**
12
20
  * The number of lines to clamp the text to.
13
21
  */
@@ -18,6 +18,10 @@ export interface MenuSelectEventDetail {
18
18
  * @attr {boolean} no-uncheck - When true, checkbox items do not toggle off when activated while already checked; applies to all checkbox items in this menu and combines with each item's own `no-uncheck`.
19
19
  *
20
20
  * @event {{ item: CxMenuItem }} cx-select - Emitted when a menu item is selected.
21
+ *
22
+ * @cssproperty [--cx-panel-border-width=1px] - Border width of the menu and width of its dividers.
23
+ * @cssproperty [--cx-panel-background-color=var(--cx-color-neutral-0)] - Background color of the menu.
24
+ * @cssproperty [--cx-panel-border-color=var(--cx-color-neutral-200)] - Border color of the menu and color of its dividers.
21
25
  */
22
26
  export default class CxMenu extends CortexElement {
23
27
  static styles: CSSResultGroup;
@@ -33,6 +33,8 @@ import { default as CxSpinner } from '../spinner/spinner';
33
33
  * @cssproperty [--checked-icon-size=1.5em] - The size of the checked icon.
34
34
  * @cssproperty [--checked-icon-color=var(--cx-color-primary)] - The color of the checked icon when the item is checked.
35
35
  * @cssproperty [--checked-label-color=var(--cx-color-primary)] - The color of the label when the item is checked.
36
+ * @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)`.
36
38
  */
37
39
  export default class CxMenuItem extends CortexElement {
38
40
  static readonly styles: CSSResultGroup;
@@ -25,6 +25,7 @@ import { default as CxSpace } from '../space/space';
25
25
  * @cssproperty [--option-selected-font-weight=var(--cx-font-weight-regular)] - The selected option's font weight.
26
26
  * @cssproperty [--option-selected-help-text-color=var(--cx-color-primary)] - The selected option's help text color.
27
27
  * @cssproperty [--option-selected-help-text-font-weight=var(--cx-font-weight-regular)] - The selected option's help text font weight.
28
+ * @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)`.
28
29
  */
29
30
  export default class CxOption extends CortexElement {
30
31
  static styles: CSSResultGroup;
@@ -15,6 +15,7 @@ import { default as CxTypography } from '../typography/typography';
15
15
  * @description Set `show-pagination-input` to render an editable page input in page counters. Leave it unset to keep the original plain-text counters. When only one page is available, navigation buttons are hidden and page counters remain plain text. Use `back-icon-name` and `next-icon-name` to override the previous/next icon-button glyphs (see the icon component for available names). Use `icon-button-size` for all navigation icon buttons (`small`, `medium`, `large`, `x-large`).
16
16
  *
17
17
  * @cssproperty --width - The width of the select
18
+ * @cssproperty [--cx-input-font-size-small=var(--cx-font-size-small)] - Font size of the page number input.
18
19
  *
19
20
  * @event {{ pageIndex: number }} cx-page-change - Emitted when the active page changes.
20
21
  * @event {{ pageSize: number }} cx-page-size-change - Emitted when the number of items per page changes.
@@ -16,6 +16,20 @@ import { default as CxIcon } from '../icon/icon';
16
16
  * @csspart control--checked - The radio control when the radio is checked.
17
17
  * @csspart checked-icon - The checked icon, an `<cx-icon>` element.
18
18
  * @csspart label - The container that wraps the radio's label.
19
+ * @cssproperty [--cx-input-border-width=1px] - Border width of the radio control.
20
+ * @cssproperty [--cx-input-font-family=var(--cx-font-sans)] - Font family of the radio.
21
+ * @cssproperty [--cx-input-font-size-medium=var(--cx-font-size-medium)] - Base font size of the radio, replaced by the small font size at every size.
22
+ * @cssproperty [--cx-input-font-size-small=var(--cx-font-size-small)] - Font size of the radio at every size.
23
+ * @cssproperty [--cx-input-font-weight=var(--cx-font-weight-regular)] - Font weight of the radio.
24
+ * @cssproperty [--cx-radio-label-text-transform=none] - Text transform of the label.
25
+ * @cssproperty [--cx-toggle-size-small=16px] - Size of the control of a small radio.
26
+ * @cssproperty [--cx-toggle-size-medium=20px] - Size of the control of a medium radio.
27
+ * @cssproperty [--cx-toggle-size-large=22px] - Size of the control of a large radio.
28
+ * @cssproperty [--cx-input-background-color=var(--cx-color-neutral-0)] - Background color of the radio control.
29
+ * @cssproperty [--cx-input-background-color-hover=var(--cx-input-background-color)] - Background color of the unchecked control on hover.
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
+ * @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.
19
33
  */
20
34
  export default class CxRadio extends CortexElement {
21
35
  static readonly styles: CSSResultGroup;
@@ -18,6 +18,17 @@ import { CSSResultGroup } from 'lit';
18
18
  * @cssproperty [--checked-background-color=var(--cx-color-neutral-0)] - The background color of the radio button when it is checked.
19
19
  * @cssproperty [--checked-hover-border-color=var(--cx-color-primary-500)] - The border color of the radio button when it is checked and hovered.
20
20
  * @cssproperty [--checked-hover-background-color=var(--cx-color-neutral-0)] - The background color of the radio button when it is checked and hovered.
21
+ * @cssproperty [--cx-button-border-radius-large=var(--cx-border-radius-medium)] - Border radius of a large radio button.
22
+ * @cssproperty [--cx-button-border-radius-medium=var(--cx-border-radius-medium)] - Border radius of a medium radio button.
23
+ * @cssproperty [--cx-button-border-radius-small=var(--cx-border-radius-medium)] - Border radius of a small radio button.
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.
26
+ * @cssproperty [--cx-input-border-width=1px] - Border width of the radio button and of the overlap between grouped radio buttons.
27
+ * @cssproperty [--cx-input-font-family=var(--cx-font-sans)] - Font family of the radio button.
28
+ * @cssproperty [--cx-input-height-large=40px] - Minimum height of a large radio button, also the corner radius of a large pill radio button.
29
+ * @cssproperty [--cx-input-height-medium=32px] - Height of a medium radio button and the default radio button height, also the corner radius of a medium pill radio button.
30
+ * @cssproperty [--cx-input-height-small=24px] - Minimum height of a small radio button, also the corner radius of a small pill radio button.
31
+ * @cssproperty [--cx-input-border-color=var(--cx-color-neutral-300)] - Border color of the radio button. Dark theme: `var(--cx-color-neutral-400)`.
21
32
  *
22
33
  * @csspart base - The component's base wrapper.
23
34
  * @csspart button - The internal `<button>` element.
@@ -24,6 +24,9 @@ import { default as CxRadio } from '../radio/radio';
24
24
  * @cssproperty [--card-width=auto] - The width of the radio card.
25
25
  * @cssproperty [--card-height=auto] - The height of the radio card.
26
26
  * @cssproperty [--radio-card-overflow=auto] - How the radio card handles overflowing content. Set to `clip` for tiles that must never scroll.
27
+ * @cssproperty [--cx-radio-card-label-text-transform=none] - Text transform of the radio card label.
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.
27
30
  *
28
31
  * @slot - The radio’s label.
29
32
  * @slot image - The radio’s image.
@@ -19,6 +19,8 @@ import { default as CxButtonGroup } from '../button-group/button-group';
19
19
  * @csspart form-control-help-text - The help text's wrapper.
20
20
  * @csspart button-group - The button group that wraps radio buttons.
21
21
  * @csspart button-group__base - The button group's `base` part.
22
+ * @cssproperty [--cx-input-required-content='*'] - Content of the required marker after the radio group's label.
23
+ * @cssproperty [--cx-input-required-content-offset=-2px] - Inline-start margin of the required marker after the radio group's label.
22
24
  */
23
25
  export default class CxRadioGroup extends CortexElement implements CortexFormControl {
24
26
  static readonly styles: CSSResultGroup;
@@ -41,6 +41,9 @@ import { default as CxTooltip } from '../tooltip/tooltip';
41
41
  * @cssproperty --track-color-inactive - The of the portion of the track that represents the remaining value.
42
42
  * @cssproperty --track-height - The height of the track.
43
43
  * @cssproperty --track-active-offset - The point of origin of the active track.
44
+ * @cssproperty [--cx-input-height-medium=32px] - Line height of the range control.
45
+ * @cssproperty [--cx-panel-border-width=1px] - Border width of the thumbs.
46
+ * @cssproperty [--cx-panel-border-color=var(--cx-color-neutral-200)] - Border color of the thumbs.
44
47
  */
45
48
  export default class CxRange extends CortexElement implements CortexFormControl {
46
49
  static readonly styles: CSSResultGroup;
@@ -16,6 +16,8 @@ import { default as CxIcon } from '../icon/icon';
16
16
  * @cssproperty --symbol-size - The size of symbols.
17
17
  * @cssproperty [--symbol-container-size=40px] - The size of the symbol container when using `outlined` variant.
18
18
  * @cssproperty --symbol-spacing - The spacing to use around symbols.
19
+ * @cssproperty [--cx-input-border-width=1px] - Border width of the symbols in the `outlined` variant.
20
+ * @cssproperty [--cx-input-border-color=var(--cx-color-neutral-300)] - Border color of the symbols in the `outlined` variant. Dark theme: `var(--cx-color-neutral-400)`.
19
21
  */
20
22
  export default class CxRating extends CortexElement {
21
23
  static styles: CSSResultGroup;
@@ -51,6 +51,44 @@ import { default as CxTag } from '../tag/tag';
51
51
  *
52
52
  * @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.
53
53
  * @cssproperty --select-font-size - The font size of the select.
54
+ * @cssproperty [--cx-input-border-radius-large=var(--cx-border-radius-large)] - Border radius of a large select's combobox.
55
+ * @cssproperty [--cx-input-border-radius-medium=var(--cx-border-radius-large)] - Border radius of a medium select's combobox.
56
+ * @cssproperty [--cx-input-border-radius-small=var(--cx-border-radius-large)] - Border radius of a small select's combobox.
57
+ * @cssproperty [--cx-input-border-width=1px] - Border width of the select's combobox and of the overlap between grouped inputs.
58
+ * @cssproperty [--cx-input-font-family=var(--cx-font-sans)] - Font family of the select's combobox.
59
+ * @cssproperty [--cx-input-font-size-large=var(--cx-font-size-large)] - Font size used to vertically center the label of a large select.
60
+ * @cssproperty [--cx-input-font-size-medium=var(--cx-font-size-medium)] - Font size used to vertically center the label of a medium select.
61
+ * @cssproperty [--cx-input-font-size-small=var(--cx-font-size-small)] - Font size of the select's combobox at every size, also used to center the label of a small select.
62
+ * @cssproperty [--cx-input-font-weight=var(--cx-font-weight-regular)] - Font weight of the select's combobox.
63
+ * @cssproperty [--cx-input-height-large=40px] - Minimum height of a large select's combobox.
64
+ * @cssproperty [--cx-input-height-medium=32px] - Minimum height of a medium select's combobox.
65
+ * @cssproperty [--cx-input-height-small=24px] - Minimum height of a small select's combobox.
66
+ * @cssproperty [--cx-input-letter-spacing=var(--cx-letter-spacing-normal)] - Letter spacing of the select's combobox.
67
+ * @cssproperty [--cx-input-spacing-large=var(--cx-spacing-medium)] - Inline padding of a large select's combobox and spacing around its prefix and clear button.
68
+ * @cssproperty [--cx-input-spacing-medium=var(--cx-spacing-medium)] - Inline padding of a medium select's combobox and spacing around its prefix and clear button.
69
+ * @cssproperty [--cx-input-spacing-small=var(--cx-spacing-medium)] - Inline padding of a small select's combobox and spacing around its prefix and clear button.
70
+ * @cssproperty [--cx-panel-border-width=1px] - Border width of the listbox.
71
+ * @cssproperty [--cx-input-background-color=var(--cx-color-neutral-0)] - Background color of a standard select's combobox.
72
+ * @cssproperty [--cx-input-background-color-disabled=var(--cx-color-neutral-100)] - Background color of a disabled standard select's combobox.
73
+ * @cssproperty [--cx-input-background-color-focus=var(--cx-input-background-color)] - Background color of a standard select's combobox when focused or open.
74
+ * @cssproperty [--cx-input-border-color=var(--cx-color-neutral-300)] - Border color of a standard select's combobox. Dark theme: `var(--cx-color-neutral-400)`.
75
+ * @cssproperty [--cx-input-border-color-disabled=var(--cx-color-neutral-300)] - Border color of a disabled standard select's combobox. Dark theme: `var(--cx-color-neutral-400)`.
76
+ * @cssproperty [--cx-input-border-color-focus=var(--cx-color-primary)] - Border color of a standard select's combobox when focused or open. Dark theme: `var(--cx-color-primary-600)`.
77
+ * @cssproperty [--cx-input-border-color-hover=var(--cx-color-primary-300)] - Border color of the select's combobox on hover. Dark theme: `var(--cx-color-primary-700)`.
78
+ * @cssproperty [--cx-input-color=var(--cx-color-neutral-900)] - Text color of the select.
79
+ * @cssproperty [--cx-input-color-disabled=var(--cx-color-neutral-900)] - Text color of a disabled standard select.
80
+ * @cssproperty [--cx-input-color-hover=var(--cx-color-neutral-900)] - Text color of the select on hover.
81
+ * @cssproperty [--cx-input-filled-background-color=var(--cx-color-neutral-100)] - Background color of a filled select's combobox.
82
+ * @cssproperty [--cx-input-filled-background-color-disabled=var(--cx-color-neutral-100)] - Background color of a disabled filled select's combobox.
83
+ * @cssproperty [--cx-input-filled-background-color-focus=var(--cx-color-neutral-100)] - Background color of a filled select's combobox when focused or open.
84
+ * @cssproperty [--cx-input-filled-background-color-hover=var(--cx-color-neutral-100)] - Background color of a filled select's combobox on hover.
85
+ * @cssproperty [--cx-input-icon-color=var(--cx-color-neutral-500)] - Color of the clear button.
86
+ * @cssproperty [--cx-input-icon-color-hover=var(--cx-color-neutral-600)] - Color of the clear button on hover.
87
+ * @cssproperty [--cx-input-invalid-border-color=var(--cx-color-danger)] - Border color of the select's combobox when invalid.
88
+ * @cssproperty [--cx-input-invalid-shadow=0 0 0 var(--cx-focus-ring-width) var(--cx-color-danger-300)] - Focus shadow of the select's combobox when invalid.
89
+ * @cssproperty [--cx-input-placeholder-color=var(--cx-color-neutral-400)] - Color of the placeholder, prefix and suffix.
90
+ * @cssproperty [--cx-panel-background-color=var(--cx-color-neutral-0)] - Background color of the listbox.
91
+ * @cssproperty [--cx-panel-border-color=var(--cx-color-neutral-200)] - Border color of the listbox.
54
92
  */
55
93
  export default class CxSelect extends CortexElement implements CortexFormControl {
56
94
  #private;
@@ -19,6 +19,7 @@ import { CSSResultGroup } from 'lit';
19
19
  * usually wider than the divider to facilitate easier dragging.
20
20
  * @cssproperty [--min=0] - The minimum allowed size of the primary panel.
21
21
  * @cssproperty [--max=100%] - The maximum allowed size of the primary panel.
22
+ * @cssproperty [--cx-panel-border-color=var(--cx-color-neutral-200)] - Color of the divider between the panels.
22
23
  */
23
24
  export default class CxSplitPanel extends CortexElement {
24
25
  static styles: CSSResultGroup;
@@ -23,6 +23,18 @@ import { CSSResultGroup } from 'lit';
23
23
  * @cssproperty --width - The width of the switch.
24
24
  * @cssproperty --height - The height of the switch.
25
25
  * @cssproperty --thumb-size - The size of the thumb.
26
+ * @cssproperty [--cx-input-border-width=1px] - Border width of the switch's track and thumb.
27
+ * @cssproperty [--cx-input-font-family=var(--cx-font-sans)] - Font family of the switch.
28
+ * @cssproperty [--cx-input-font-size-large=var(--cx-font-size-large)] - Size of the checked and unchecked icons in the thumb.
29
+ * @cssproperty [--cx-input-font-size-small=var(--cx-font-size-small)] - Font size of the switch at every size.
30
+ * @cssproperty [--cx-input-font-weight=var(--cx-font-weight-regular)] - Font weight of the switch.
31
+ * @cssproperty [--cx-input-required-content='*'] - Content of the required marker after the switch's label.
32
+ * @cssproperty [--cx-input-required-content-offset=-2px] - Inline-start margin of the required marker after the switch's label.
33
+ * @cssproperty [--cx-toggle-size-small=16px] - Height of a small switch; the thumb size is derived from it.
34
+ * @cssproperty [--cx-toggle-size-medium=20px] - Height of a medium switch; the thumb size is derived from it.
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)`.
26
38
  */
27
39
  export default class CxSwitch extends CortexElement implements CortexFormControl {
28
40
  static readonly styles: CSSResultGroup;
@@ -17,6 +17,16 @@ import { default as CxLineClamp } from '../line-clamp/line-clamp';
17
17
  * @csspart suffix - The container that wraps the suffix slot.
18
18
  * @csspart remove-button - The tag's remove button, an `<cx-icon-button>`.
19
19
  * @csspart remove-button__base - The remove button's exported `base` part.
20
+ * @cssproperty [--cx-button-font-size-large=var(--cx-font-size-medium)] - Font size of a large tag.
21
+ * @cssproperty [--cx-button-font-size-medium=var(--cx-font-size-small)] - Font size of a medium tag.
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.
26
+ * @cssproperty [--cx-input-border-width=1px] - Border width subtracted twice from the input height to get the tag's line height.
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
+ * @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.
29
+ * @cssproperty [--cx-input-height-small=24px] - Base height of a small tag; the tag is 80% of it and its line height is derived from it.
20
30
  */
21
31
  export default class CxTag extends CortexElement {
22
32
  static styles: CSSResultGroup;
@@ -21,6 +21,44 @@ 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.
27
+ * @cssproperty [--cx-input-border-width=1px] - Border width of a standard textarea.
28
+ * @cssproperty [--cx-input-font-family=var(--cx-font-sans)] - Font family of the textarea.
29
+ * @cssproperty [--cx-input-font-size-small=var(--cx-font-size-small)] - Font size of the textarea at every size.
30
+ * @cssproperty [--cx-input-font-weight=var(--cx-font-weight-regular)] - Font weight of the textarea and its character count.
31
+ * @cssproperty [--cx-input-height-large=40px] - Height used to vertically center the label of a large textarea.
32
+ * @cssproperty [--cx-input-height-medium=32px] - Height used to vertically center the label of a medium textarea.
33
+ * @cssproperty [--cx-input-height-small=24px] - Height used to vertically center the label of a small textarea.
34
+ * @cssproperty [--cx-input-letter-spacing=var(--cx-letter-spacing-normal)] - Letter spacing of the textarea and its character count.
35
+ * @cssproperty [--cx-input-spacing-large=var(--cx-spacing-medium)] - Horizontal padding of a large textarea.
36
+ * @cssproperty [--cx-input-spacing-medium=var(--cx-spacing-medium)] - Horizontal padding of a medium textarea.
37
+ * @cssproperty [--cx-input-spacing-small=var(--cx-spacing-medium)] - Horizontal padding of a small textarea.
38
+ * @cssproperty [--cx-input-label-font-size-large=var(--cx-font-size-x-small)] - Font size of the label of a large textarea.
39
+ * @cssproperty [--cx-input-label-font-size-medium=var(--cx-font-size-x-small)] - Font size of the label of a medium textarea.
40
+ * @cssproperty [--cx-input-label-font-size-small=var(--cx-font-size-x-small)] - Font size of the label of a small textarea.
41
+ * @cssproperty [--cx-input-background-color=var(--cx-color-neutral-0)] - Background color of a standard textarea.
42
+ * @cssproperty [--cx-input-background-color-disabled=var(--cx-color-neutral-100)] - Background color of a disabled standard textarea.
43
+ * @cssproperty [--cx-input-background-color-focus=var(--cx-input-background-color)] - Background color of a standard textarea when focused.
44
+ * @cssproperty [--cx-input-background-color-hover=var(--cx-input-background-color)] - Background color of a standard textarea on hover.
45
+ * @cssproperty [--cx-input-border-color=var(--cx-color-neutral-300)] - Border color of a standard textarea. Dark theme: `var(--cx-color-neutral-400)`.
46
+ * @cssproperty [--cx-input-border-color-disabled=var(--cx-color-neutral-300)] - Border color of a disabled standard textarea. Dark theme: `var(--cx-color-neutral-400)`.
47
+ * @cssproperty [--cx-input-border-color-focus=var(--cx-color-primary)] - Border color of a standard textarea when focused. Dark theme: `var(--cx-color-primary-600)`.
48
+ * @cssproperty [--cx-input-border-color-hover=var(--cx-color-primary-300)] - Border color of a standard textarea on hover. Dark theme: `var(--cx-color-primary-700)`.
49
+ * @cssproperty [--cx-input-color=var(--cx-color-neutral-900)] - Text color of the textarea.
50
+ * @cssproperty [--cx-input-color-disabled=var(--cx-color-neutral-900)] - Text color of a disabled standard textarea.
51
+ * @cssproperty [--cx-input-color-focus=var(--cx-color-neutral-900)] - Text color of a standard textarea when focused.
52
+ * @cssproperty [--cx-input-color-hover=var(--cx-color-neutral-900)] - Text color of a standard textarea on hover.
53
+ * @cssproperty [--cx-input-filled-background-color=var(--cx-color-neutral-100)] - Background color of a filled textarea.
54
+ * @cssproperty [--cx-input-filled-background-color-disabled=var(--cx-color-neutral-100)] - Background color of a disabled filled textarea.
55
+ * @cssproperty [--cx-input-filled-background-color-focus=var(--cx-color-neutral-100)] - Background color of a filled textarea when focused.
56
+ * @cssproperty [--cx-input-filled-background-color-hover=var(--cx-color-neutral-100)] - Background color of a filled textarea on hover.
57
+ * @cssproperty [--cx-input-invalid-border-color=var(--cx-color-danger)] - Border color of the textarea when invalid.
58
+ * @cssproperty [--cx-input-invalid-shadow=0 0 0 var(--cx-focus-ring-width) var(--cx-color-danger-300)] - Focus shadow of the textarea when invalid.
59
+ * @cssproperty [--cx-input-placeholder-color=var(--cx-color-neutral-400)] - Color of the placeholder.
60
+ * @cssproperty [--cx-input-placeholder-color-disabled=var(--cx-color-neutral-600)] - Color of the placeholder in a disabled standard textarea.
61
+ *
24
62
  * @typedef {number | 'max'} TextareaRows - Use a number for a fixed row count. Use `'max'` to fill the parent container height (parent must have a definite height). With `'max'`, `resize="vertical"` and `resize="none"` work; `resize="auto"` does not (it is disabled).
25
63
  */
26
64
  export default class CxTextarea extends CortexElement implements CortexFormControl {
@@ -25,6 +25,15 @@ import { default as CxPopup, VirtualElement } from '../popup/popup';
25
25
  * @cssproperty --max-width - The maximum width of the tooltip before its content will wrap.
26
26
  * @cssproperty --hide-delay - The amount of time to wait before hiding the tooltip when hovering.
27
27
  * @cssproperty --show-delay - The amount of time to wait before showing the tooltip when hovering.
28
+ * @cssproperty [--cx-tooltip-arrow-size=0] - Size of the tooltip arrow.
29
+ * @cssproperty [--cx-tooltip-border-radius=var(--cx-border-radius-medium)] - Border radius of the tooltip body.
30
+ * @cssproperty [--cx-tooltip-font-family=var(--cx-font-sans)] - Font family of the tooltip text.
31
+ * @cssproperty [--cx-tooltip-font-size=var(--cx-font-size-small)] - Font size of the tooltip text.
32
+ * @cssproperty [--cx-tooltip-font-weight=var(--cx-font-weight-regular)] - Font weight of the tooltip text.
33
+ * @cssproperty [--cx-tooltip-line-height=var(--cx-line-height-medium)] - Line height of the tooltip text.
34
+ * @cssproperty [--cx-tooltip-padding=var(--cx-spacing-2x-small) var(--cx-spacing-x-small)] - Padding of the tooltip body.
35
+ * @cssproperty [--cx-tooltip-background-color=#27272A] - Background color of the tooltip body and its arrow.
36
+ * @cssproperty [--cx-tooltip-color=#FFF] - Text color of the tooltip.
28
37
  *
29
38
  * @animation tooltip.show - The animation to use when showing the tooltip.
30
39
  * @animation tooltip.hide - The animation to use when hiding the tooltip.
@@ -47,6 +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
51
  *
51
52
  * When `max-lines` is set, the label is wrapped in a `cx-line-clamp` and the text is clamped with an ellipsis
52
53
  * after the given number of lines. A tooltip with the full text is shown automatically when clamping is active.
@@ -14,6 +14,10 @@ import { default as CxRichTextTableDialog } from '../rich-text-table-dialog/rich
14
14
  * caret is inside a table (selecting the table node before running those commands), plus row/column actions. When
15
15
  * `feat-suggestion` is enabled and there is a non-empty selection, it also renders suggestion actions for annotation
16
16
  * and delete-selection.
17
+ *
18
+ * @cssproperty [--cx-panel-border-width=1px] - Border width of the bubble menu.
19
+ * @cssproperty [--cx-panel-background-color=var(--cx-color-neutral-0)] - Background color of the bubble menu.
20
+ * @cssproperty [--cx-panel-border-color=var(--cx-color-neutral-200)] - Border color of the bubble menu.
17
21
  */
18
22
  export default class CxRichTextBubbleMenu extends CortexElement implements TiptapBubbleMenuHost {
19
23
  static readonly styles: CSSResultGroup;
@@ -98,6 +98,9 @@ import { default as CxRichTextVideoDialog, BrowseVideo } from '../rich-text-vide
98
98
  *
99
99
  * @csspart base - Root wrapper of the toolbar.
100
100
  * @cssproperty --icon-size - The icon size in the toolbar and should be treated as both width and height, since the icon is square.
101
+ * @cssproperty [--cx-panel-border-width=1px] - Border width of the table insert grid panel.
102
+ * @cssproperty [--cx-panel-background-color=var(--cx-color-neutral-0)] - Background color of the table insert grid panel.
103
+ * @cssproperty [--cx-panel-border-color=var(--cx-color-neutral-200)] - Border color of the table insert grid panel.
101
104
  */
102
105
  export default class CxRichTextToolbar extends CortexElement {
103
106
  static readonly styles: CSSResultGroup;