@mgdis/mg-components 6.20.0 → 6.22.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 (205) hide show
  1. package/dist/cjs/{index-TUElr4Wv.js → index-BxB20_Vw.js} +54 -0
  2. package/dist/cjs/{index-Bp6wZzau.js → index-C2viYwrR.js} +1761 -80
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/mg-action-more_37.cjs.entry.js +761 -371
  5. package/dist/cjs/mg-alert.cjs.entry.js +17 -9
  6. package/dist/cjs/mg-breadcrumb.cjs.entry.js +63 -0
  7. package/dist/cjs/mg-components.cjs.js +3 -3
  8. package/dist/cjs/mg-fieldset.cjs.entry.js +24 -7
  9. package/dist/cjs/mg-input-combobox.cjs.entry.js +49 -19
  10. package/dist/cjs/mg-input-file.cjs.entry.js +384 -0
  11. package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js +40096 -15821
  12. package/dist/cjs/{mg-input.conf-D7jmj_lh.js → mg-input.conf-BNpeATnq.js} +7 -0
  13. package/dist/cjs/mg-loader.cjs.entry.js +8 -6
  14. package/dist/cjs/mg-progress.cjs.entry.js +19 -9
  15. package/dist/collection/assets/icons/index.js +1 -1
  16. package/dist/collection/collection-manifest.json +5 -3
  17. package/dist/collection/components/atoms/internals/mg-character-left/mg-character-left.js +1 -1
  18. package/dist/collection/components/atoms/internals/mg-input-title/mg-input-title.js +1 -1
  19. package/dist/collection/components/atoms/mg-card/mg-card.js +1 -1
  20. package/dist/collection/components/atoms/mg-divider/mg-divider.js +1 -1
  21. package/dist/collection/components/atoms/mg-icon/mg-icon.js +2 -2
  22. package/dist/collection/components/atoms/mg-tag/mg-tag.js +1 -1
  23. package/dist/collection/components/atoms/mg-tooltip/mg-tooltip-content/mg-tooltip-content.js +1 -1
  24. package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.js +1 -1
  25. package/dist/collection/components/molecules/inputs/mg-input/mg-input.conf.js +6 -0
  26. package/dist/collection/components/molecules/inputs/mg-input/mg-input.js +1 -1
  27. package/dist/collection/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxList.js +2 -2
  28. package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js +2 -2
  29. package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js +1 -1
  30. package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.js +1 -1
  31. package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js +1 -1
  32. package/dist/collection/components/molecules/inputs/mg-input-file/mg-input-file.js +877 -0
  33. package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js +1 -1
  34. package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js +2 -2
  35. package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.js +1 -1
  36. package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/custom-properties.scss +212 -0
  37. package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/editor.conf.js +1 -0
  38. package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/index.js +300 -94
  39. package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.conf.js +29 -0
  40. package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.js +163 -53
  41. package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js +1 -1
  42. package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js +2 -2
  43. package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js +1 -1
  44. package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js +1 -1
  45. package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.js +3 -36
  46. package/dist/collection/components/molecules/menus/mg-menu/mg-menu.conf.js +0 -4
  47. package/dist/collection/components/molecules/menus/mg-menu/mg-menu.js +21 -43
  48. package/dist/collection/components/molecules/menus/mg-menu-item/mg-menu-item.js +65 -38
  49. package/dist/collection/components/molecules/mg-action-more/mg-action-more.js +2 -2
  50. package/dist/collection/components/molecules/mg-alert/mg-alert.js +1 -1
  51. package/dist/collection/components/molecules/mg-breadcrumb/mg-breadcrumb.conf.js +1 -0
  52. package/dist/collection/components/molecules/mg-breadcrumb/mg-breadcrumb.js +92 -0
  53. package/dist/collection/components/molecules/mg-details/mg-details.js +1 -1
  54. package/dist/collection/components/molecules/mg-fieldset/mg-fieldset.js +12 -3
  55. package/dist/collection/components/molecules/mg-form/mg-form.js +12 -2
  56. package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.js +1 -1
  57. package/dist/collection/components/molecules/mg-loader/mg-loader.js +1 -1
  58. package/dist/collection/components/molecules/mg-message/mg-message.js +2 -2
  59. package/dist/collection/components/molecules/mg-modal/mg-modal.js +2 -2
  60. package/dist/collection/components/molecules/mg-panel/mg-panel.js +1 -1
  61. package/dist/collection/components/molecules/mg-popover/mg-popover-content/mg-popover-content.js +1 -1
  62. package/dist/collection/components/molecules/mg-popover/mg-popover.js +1 -1
  63. package/dist/collection/components/molecules/mg-progress/mg-progress.js +1 -1
  64. package/dist/collection/components/molecules/mg-skip-links/mg-skip-links.js +1 -1
  65. package/dist/collection/components/molecules/mg-table/mg-table.js +37 -0
  66. package/dist/collection/components/molecules/mg-tabs/mg-tabs.conf.js +0 -4
  67. package/dist/collection/components/molecules/mg-tabs/mg-tabs.js +13 -33
  68. package/dist/collection/locales/en/messages.json +14 -0
  69. package/dist/collection/locales/fr/messages.json +14 -0
  70. package/dist/components/events.utils.js +1 -23
  71. package/dist/components/index.d.ts +2 -0
  72. package/dist/components/index.js +1 -1
  73. package/dist/components/index2.js +1 -408
  74. package/dist/components/index3.js +1 -476
  75. package/dist/components/mg-action-more.js +1 -254
  76. package/dist/components/mg-alert.js +1 -224
  77. package/dist/components/mg-badge.js +1 -6
  78. package/dist/components/mg-badge2.js +1 -113
  79. package/dist/components/mg-breadcrumb.d.ts +11 -0
  80. package/dist/components/mg-breadcrumb.js +1 -0
  81. package/dist/components/mg-button.js +1 -6
  82. package/dist/components/mg-button2.js +1 -275
  83. package/dist/components/mg-card.js +1 -6
  84. package/dist/components/mg-card2.js +1 -92
  85. package/dist/components/mg-character-left.js +1 -6
  86. package/dist/components/mg-character-left2.js +1 -75
  87. package/dist/components/mg-details.js +1 -104
  88. package/dist/components/mg-divider.js +1 -6
  89. package/dist/components/mg-divider2.js +1 -49
  90. package/dist/components/mg-fieldset.js +1 -209
  91. package/dist/components/mg-form.js +1 -302
  92. package/dist/components/mg-icon.js +1 -6
  93. package/dist/components/mg-icon2.js +1 -188
  94. package/dist/components/mg-illustrated-message.js +1 -129
  95. package/dist/components/mg-input-checkbox-paginated.js +1 -6
  96. package/dist/components/mg-input-checkbox-paginated2.js +1 -135
  97. package/dist/components/mg-input-checkbox.js +1 -762
  98. package/dist/components/mg-input-combobox.js +1 -940
  99. package/dist/components/mg-input-date.js +1 -463
  100. package/dist/components/mg-input-file.d.ts +11 -0
  101. package/dist/components/mg-input-file.js +1 -0
  102. package/dist/components/mg-input-numeric.js +1 -592
  103. package/dist/components/mg-input-password.js +1 -360
  104. package/dist/components/mg-input-radio.js +1 -392
  105. package/dist/components/mg-input-rich-text-editor.js +1663 -16797
  106. package/dist/components/mg-input-select.js +1 -6
  107. package/dist/components/mg-input-select2.js +1 -481
  108. package/dist/components/mg-input-text.js +1 -6
  109. package/dist/components/mg-input-text2.js +1 -514
  110. package/dist/components/mg-input-textarea.js +1 -412
  111. package/dist/components/mg-input-title.js +1 -6
  112. package/dist/components/mg-input-title2.js +1 -81
  113. package/dist/components/mg-input-toggle.js +1 -371
  114. package/dist/components/mg-input.conf.js +1 -0
  115. package/dist/components/mg-input.js +1 -6
  116. package/dist/components/mg-input2.js +1 -459
  117. package/dist/components/mg-item-more.js +1 -6
  118. package/dist/components/mg-item-more2.js +1 -505
  119. package/dist/components/mg-loader.js +1 -6
  120. package/dist/components/mg-loader2.js +1 -74
  121. package/dist/components/mg-menu-item.js +1 -6
  122. package/dist/components/mg-menu-item2.js +1 -485
  123. package/dist/components/mg-menu.js +1 -6
  124. package/dist/components/mg-message.js +1 -6
  125. package/dist/components/mg-message2.js +1 -146
  126. package/dist/components/mg-modal.js +1 -184
  127. package/dist/components/mg-pagination.js +1 -234
  128. package/dist/components/mg-panel.js +1 -350
  129. package/dist/components/mg-popover-content.js +1 -6
  130. package/dist/components/mg-popover-content2.js +1 -96
  131. package/dist/components/mg-popover.js +1 -6
  132. package/dist/components/mg-popover2.js +1 -312
  133. package/dist/components/mg-progress.js +1 -123
  134. package/dist/components/mg-skip-links.js +1 -78
  135. package/dist/components/mg-table.js +1 -319
  136. package/dist/components/mg-tabs.js +1 -6
  137. package/dist/components/mg-tabs2.js +1 -315
  138. package/dist/components/mg-tag.js +1 -133
  139. package/dist/components/mg-tooltip-content.js +1 -6
  140. package/dist/components/mg-tooltip-content2.js +1 -42
  141. package/dist/components/mg-tooltip.js +1 -6
  142. package/dist/components/mg-tooltip2.js +1 -421
  143. package/dist/components/popper.js +1 -1790
  144. package/dist/esm/{index-BluNKQ3L.js → index-DFwaH2hS.js} +1761 -80
  145. package/dist/esm/{index-CNX6lq0x.js → index-DSEloqPn.js} +54 -1
  146. package/dist/esm/loader.js +3 -3
  147. package/dist/esm/mg-action-more_37.entry.js +761 -371
  148. package/dist/esm/mg-alert.entry.js +17 -9
  149. package/dist/esm/mg-breadcrumb.entry.js +61 -0
  150. package/dist/esm/mg-components.js +4 -4
  151. package/dist/esm/mg-fieldset.entry.js +24 -7
  152. package/dist/esm/mg-input-combobox.entry.js +49 -19
  153. package/dist/esm/mg-input-file.entry.js +382 -0
  154. package/dist/esm/mg-input-rich-text-editor.entry.js +40083 -15808
  155. package/dist/esm/{mg-input.conf-DDnrE1hD.js → mg-input.conf-C9rmNQIL.js} +7 -1
  156. package/dist/esm/mg-loader.entry.js +8 -6
  157. package/dist/esm/mg-progress.entry.js +19 -9
  158. package/dist/mg-components/locales/en/messages.json +14 -0
  159. package/dist/mg-components/locales/fr/messages.json +14 -0
  160. package/dist/mg-components/mg-components.esm.js +1 -1
  161. package/dist/mg-components/p-0482eb9f.entry.js +1 -0
  162. package/dist/mg-components/{p-7132bca1.entry.js → p-2ee92f38.entry.js} +1 -1
  163. package/dist/mg-components/{p-916dfb6d.entry.js → p-3b653226.entry.js} +1 -1
  164. package/dist/mg-components/p-5745fbea.entry.js +1 -0
  165. package/dist/mg-components/p-C9rmNQIL.js +1 -0
  166. package/dist/mg-components/p-DFwaH2hS.js +2 -0
  167. package/dist/mg-components/p-DSEloqPn.js +1 -0
  168. package/dist/mg-components/p-adec7fcc.entry.js +1 -0
  169. package/dist/mg-components/p-c63f97f0.entry.js +1658 -0
  170. package/dist/mg-components/p-c8c8cfc1.entry.js +1 -0
  171. package/dist/mg-components/p-cc793586.entry.js +1 -0
  172. package/dist/mg-components/p-d5e69c95.entry.js +1 -0
  173. package/dist/types/assets/icons/index.d.ts +2 -0
  174. package/dist/types/components/molecules/inputs/mg-input/mg-input.conf.d.ts +7 -1
  175. package/dist/types/components/molecules/inputs/mg-input-file/mg-input-file.d.ts +210 -0
  176. package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/editor/editor.conf.d.ts +17 -0
  177. package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/editor/index.d.ts +27 -19
  178. package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.conf.d.ts +3 -0
  179. package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.d.ts +50 -16
  180. package/dist/types/components/molecules/internals/mg-item-more/mg-item-more.conf.d.ts +0 -5
  181. package/dist/types/components/molecules/internals/mg-item-more/mg-item-more.d.ts +1 -6
  182. package/dist/types/components/molecules/menus/mg-menu/mg-menu.conf.d.ts +2 -10
  183. package/dist/types/components/molecules/menus/mg-menu/mg-menu.d.ts +7 -7
  184. package/dist/types/components/molecules/menus/mg-menu-item/mg-menu-item.d.ts +12 -8
  185. package/dist/types/components/molecules/mg-breadcrumb/mg-breadcrumb.conf.d.ts +18 -0
  186. package/dist/types/components/molecules/mg-breadcrumb/mg-breadcrumb.d.ts +34 -0
  187. package/dist/types/components/molecules/mg-table/mg-table.d.ts +6 -0
  188. package/dist/types/components/molecules/mg-tabs/mg-tabs.conf.d.ts +1 -9
  189. package/dist/types/components/molecules/mg-tabs/mg-tabs.d.ts +4 -4
  190. package/dist/types/components.d.ts +302 -46
  191. package/dist/types/stencil-public-runtime.d.ts +76 -12
  192. package/ide/intellij/web-types.json +483 -51
  193. package/ide/vscode/css-custom-data.json +10 -2
  194. package/ide/vscode/html-custom-data.json +445 -104
  195. package/package.json +24 -23
  196. package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/editor.scss +0 -1
  197. package/dist/mg-components/p-016bd291.entry.js +0 -1
  198. package/dist/mg-components/p-186a6139.entry.js +0 -1
  199. package/dist/mg-components/p-BluNKQ3L.js +0 -2
  200. package/dist/mg-components/p-CNX6lq0x.js +0 -1
  201. package/dist/mg-components/p-DDnrE1hD.js +0 -1
  202. package/dist/mg-components/p-cd061b38.entry.js +0 -1
  203. package/dist/mg-components/p-d2c72f09.entry.js +0 -1
  204. package/dist/mg-components/p-d5a276eb.entry.js +0 -1
  205. package/ide/vscode/custom.css-data.json +0 -425
@@ -460,7 +460,7 @@ export class MgInputNumeric {
460
460
  * @returns HTML Element
461
461
  */
462
462
  render() {
463
- return (h("mg-input", { key: 'c47f7c310587fc3bb4e7d5ffd07854a2297958df', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === undefined ? 'label' : this.tooltipPosition, helpText: this.formatHelpText(this.helpText), errorMessage: this.errorMessage }, this.readonly
463
+ return (h("mg-input", { key: '4529f67fe43372530d723e8e8a7a6c44f5057bbd', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === undefined ? 'label' : this.tooltipPosition, helpText: this.formatHelpText(this.helpText), errorMessage: this.errorMessage }, this.readonly
464
464
  ? this.readonlyValue && this.renderReadonly()
465
465
  : [
466
466
  h("input", { key: "input", type: "text", class: "mg-c-input__box mg-c-input__box--width", value: this.displayValue(), id: this.identifier, name: this.name, placeholder: this.placeholder, title: this.placeholder, disabled: this.disabled, required: this.required, autocomplete: "off", "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, ref: (el) => {
@@ -248,10 +248,10 @@ export class MgInputPassword {
248
248
  * @returns HTML Element
249
249
  */
250
250
  render() {
251
- return (h("mg-input", { key: '845c075a44c50043776b7577642254d772629eef', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === undefined ? 'label' : this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, this.readonly ? (this.value !== undefined && h("b", { class: "mg-c-input__readonly-value" }, '•'.repeat(this.value.length))) : (h("span", { class: "mg-c-input__input-group" }, h("input", { type: this.displayPassword ? 'text' : 'password', class: "mg-c-input__box mg-c-input__box--width", value: this.value, id: this.identifier, name: this.name, placeholder: this.placeholder, title: this.placeholder, disabled: this.disabled, required: this.required, maxlength: this.maxlength, "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onBlur: this.handleBlur, ref: (el) => {
251
+ return (h("mg-input", { key: '7154d79c2c609f47ae7c9542cffd1c92d26ce383', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === undefined ? 'label' : this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, this.readonly ? (this.value !== undefined && h("b", { class: "mg-c-input__readonly-value" }, '•'.repeat(this.value.length))) : (h("span", { class: "mg-c-input__input-group" }, h("input", { type: this.displayPassword ? 'text' : 'password', class: "mg-c-input__box mg-c-input__box--width", value: this.value, id: this.identifier, name: this.name, placeholder: this.placeholder, title: this.placeholder, disabled: this.disabled, required: this.required, maxlength: this.maxlength, "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onBlur: this.handleBlur, ref: (el) => {
252
252
  if (el !== null)
253
253
  this.input = el;
254
- } }), h("mg-button", { label: this.messages.input.password[this.displayPassword ? 'hide' : 'display'], disabled: this.disabled, variant: "flat", class: "mg-c-input__append-button", "is-icon": true, onClick: this.toggleDisplayPassword, "aria-controls": this.identifier }, h("mg-icon", { class: "mg-c-input__input-icon", icon: this.displayPassword ? 'eye-slash' : 'eye' }))))));
254
+ } }), h("mg-button", { label: this.messages.input.password[this.displayPassword ? 'hide' : 'display'], disabled: this.disabled, variant: "flat", class: "mg-c-input__append-button", "is-icon": true, onClick: this.toggleDisplayPassword, "aria-controls": this.identifier }, h("mg-icon", { class: "mg-c-input__input-icon", icon: (this.displayPassword ? 'eye-slash' : 'eye') }))))));
255
255
  }
256
256
  static get is() { return "mg-input-password"; }
257
257
  static get encapsulation() { return "shadow"; }
@@ -284,7 +284,7 @@ export class MgInputRadio {
284
284
  * @returns HTML Element
285
285
  */
286
286
  render() {
287
- return (h("mg-input", { key: '9290ab8e5048dd6806985ab55d13bd8b0dd93bd1', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && !this.value ? 'label' : this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, this.readonly ? (this.readonlyValue && h("b", { class: "mg-c-input__readonly-value" }, this.readonlyValue)) : (h("ul", { class: "mg-c-input__input-group-container", role: "list" }, this.options.map((input, index) => (h("li", { key: input.title, class: { 'mg-c-input__input-group': true, 'mg-c-input__input-group--disabled': this.disabled || input.disabled } }, h("input", { type: "radio", id: this.identifier + '_' + index, name: this.identifier, value: index, checked: JSON.stringify(this.value) === JSON.stringify(this.options[index].value), disabled: this.disabled || input.disabled, required: this.required, onBlur: this.handleBlur, onInput: this.handleInput, ref: (el) => {
287
+ return (h("mg-input", { key: 'bdeb5a98bc7f4567beb293c1fcf4f99169089fa6', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && !this.value ? 'label' : this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, this.readonly ? (this.readonlyValue && h("b", { class: "mg-c-input__readonly-value" }, this.readonlyValue)) : (h("div", { class: "mg-c-input__input-group-container" }, this.options.map((input, index) => (h("div", { key: input.title, class: { 'mg-c-input__input-group': true, 'mg-c-input__input-group--disabled': this.disabled || input.disabled } }, h("input", { type: "radio", id: this.identifier + '_' + index, name: this.identifier, value: index, checked: JSON.stringify(this.value) === JSON.stringify(this.options[index].value), disabled: this.disabled || input.disabled, required: this.required, onBlur: this.handleBlur, onInput: this.handleInput, ref: (el) => {
288
288
  if (el !== null)
289
289
  this.inputs[index] = el;
290
290
  } }), h("label", { htmlFor: this.identifier + '_' + index }, input.title))))))));
@@ -0,0 +1,212 @@
1
+ :host {
2
+ /**
3
+ * Colors - Base
4
+ */
5
+ --jd-color-white: rgb(255 255 255);
6
+ --jd-color-dark: rgb(76 76 76);
7
+ --jd-color-default: var(--jd-color-dark);
8
+ --jd-color-gray: rgb(218 218 218);
9
+ --jd-color-gray-dark: rgb(165 165 165);
10
+ --jd-color-red: rgb(255 59 59);
11
+ --jd-color-blue: rgb(181 214 253);
12
+ --jd-color-light-blue: rgb(181 214 253 / 50%);
13
+ --jd-color-light-red: rgb(255 59 59 / 40%);
14
+ --jd-color-error: var(--jd-color-red);
15
+
16
+ /**
17
+ * Colors - Background
18
+ */
19
+ --jd-color-background-default: var(--jd-color-white);
20
+ --jd-color-background-light-gray: rgb(245 245 246);
21
+ --jd-color-background-gray: var(--jd-color-gray);
22
+ --jd-color-background-gray-hover: rgb(248 248 248);
23
+ --jd-color-background-active: rgb(33 150 243);
24
+ --jd-color-background-button-hover: rgb(236 235 233);
25
+ --jd-color-background-button-hover-opacity30: rgb(234 234 234 / 30%);
26
+ --jd-color-background-button-hover-opacity40: rgb(219 219 219 / 40%);
27
+ --jd-color-background-button-hover-opacity60: rgb(219 219 219 / 60%);
28
+ --jd-color-background-filebrowser-folders: rgb(248 249 250);
29
+ --jd-color-background-progress: rgb(185 31 31);
30
+ --jd-color-background-selection: rgb(181 214 253);
31
+ --jd-color-background-selection-opacity50: rgb(181 214 253 / 99.5%);
32
+ --jd-color-panel: rgb(249 249 249);
33
+ --jd-color-source-area: rgb(50 50 50);
34
+ --jd-info-background: rgb(233 233 233);
35
+
36
+ /**
37
+ * Colors - Border
38
+ */
39
+ --jd-color-border: var(--jd-color-gray);
40
+ --jd-color-border-dark: var(--jd-color-dark);
41
+ --jd-color-border-active: rgb(181 181 181);
42
+ --jd-color-border-selected: rgb(30 136 229);
43
+ --jd-color-separator: var(--jd-color-border);
44
+ --jd-color-resizer: rgb(200 200 200);
45
+
46
+ /**
47
+ * Colors - Text
48
+ */
49
+ --jd-color-text: rgb(34 34 34);
50
+ --jd-color-text-icons: rgb(0 0 0 / 75%);
51
+ --jd-color-text-selection: var(--jd-color-white);
52
+ --jd-color-icon: var(--jd-color-dark);
53
+ --jd-color-label: var(--jd-color-gray-dark);
54
+ --jd-color-placeholder: var(--jd-color-gray-dark);
55
+ --jd-color-folder-title: rgb(177 177 177);
56
+ --jd-color-selection: var(--jd-color-dark);
57
+
58
+ /**
59
+ * Colors - Button
60
+ */
61
+ --jd-color-button-background-hover: rgb(220 220 220);
62
+ --jd-color-button-background-hover-opacity40: rgb(219 219 219 / 40%);
63
+ --jd-color-button-background-hover-opacity60: rgb(219 219 219 / 60%);
64
+
65
+ /**
66
+ * Colors - Selection
67
+ */
68
+ --jd-color-selection-area: rgb(189 189 189);
69
+ --jd-color-table-cell-background-hover: rgb(0 0 0 / 5%);
70
+
71
+ /**
72
+ * Colors - Dark mode
73
+ */
74
+ --jd-dark-background-color: rgb(87 87 87);
75
+ --jd-dark-background-darknes: rgb(53 53 53);
76
+ --jd-dark-background-ligher: rgb(192 192 192);
77
+ --jd-dark-border-color: rgb(68 68 68);
78
+ --jd-dark-color-border-selected: rgb(21 47 95);
79
+ --jd-dark-icon-color: rgb(192 192 192);
80
+ --jd-dark-text-color: rgb(209 204 204);
81
+ --jd-dark-text-color-opacity50: rgb(206 206 206 / 50%);
82
+ --jd-dark-text-color-opacity80: rgb(206 206 206 / 80%);
83
+ --jd-dark-toolbar-color: rgb(95 92 92);
84
+ --jd-dark-toolbar-seperator-color1: rgb(81 81 81 / 41%);
85
+ --jd-dark-toolbar-seperator-color2: rgb(104 103 103);
86
+ --jd-dark-toolbar-seperator-color3: rgb(105 105 105 / 75%);
87
+ --jd-dark-toolbar-seperator-color-opacity80: rgb(105 105 105 / 80%);
88
+
89
+ /**
90
+ * Colors - Special
91
+ */
92
+ --jd-color-picker-cell-size: 2.4rem;
93
+ --jd-image-editor-resizer-border-color: rgb(5 255 0);
94
+ --jd-image-editor-resizer-target-bg-color: rgb(140 120 120);
95
+ --jd-image-editor-resizer-target-border-color: rgb(56 56 56);
96
+ --jd-resizer-border-color: rgb(152 193 241);
97
+ --jd-resizer-handle-color: rgb(91 164 243);
98
+ --jd-resizer-handle-hover-color: rgb(83 126 187);
99
+
100
+ /**
101
+ * Colors - Em (Alert/Message)
102
+ */
103
+ --jd-em-color-bg: rgb(207 226 255);
104
+ --jd-em-color-border: rgb(182 212 254);
105
+ --jd-em-color-color: rgb(8 66 152);
106
+
107
+ /**
108
+ * Sizes - Buttons
109
+ */
110
+ --jd-button-icon-size: 1.4rem;
111
+ --jd-button-trigger-size: 1.4rem;
112
+ --jd-button-df-size: calc((var(--jd-button-icon-size) - 0.4rem) * 2);
113
+ --jd-button-size: calc(var(--jd-button-icon-size) + var(--jd-button-df-size) + var(--jd-margin-v) * 2);
114
+
115
+ /**
116
+ * Sizes - Icons
117
+ */
118
+ --jd-icon-size: 1.2rem;
119
+ --jd-icon-loader-size: 4.8rem;
120
+
121
+ /**
122
+ * Sizes - Height
123
+ */
124
+ --jd-height: 1.8rem;
125
+ --jd-height-element-default: 1.8rem;
126
+ --jd-height-search: 3rem;
127
+ --jd-input-height: 3.2rem;
128
+ --jd-switche-height: 3.2rem;
129
+ --jd-viewer-height: 2.4rem;
130
+
131
+ /**
132
+ * Sizes - Width
133
+ */
134
+ --jd-width-default: 18rem;
135
+ --jd-width-element-default: 1.8rem;
136
+ --jd-width-input-min: var(--jd-width-default);
137
+ --jd-width-search: 32rem;
138
+ --jd-width-search-count-box: 15%;
139
+ --jd-width-search-input-box: 60%;
140
+ --jd-viewer-width: 7rem;
141
+ --jd-switche-width: 6rem;
142
+ --jd-col-size: 15rem;
143
+ --jd-first-column: 31%;
144
+ --jd-image-editor-resizer-target-size: padding-default;
145
+
146
+ /**
147
+ * Sizes - Spacing
148
+ */
149
+ --jd-padding-default: 0.8rem;
150
+ --jd-margin-v: 0.2rem;
151
+ --jd-switche-slider-margin: 0.4rem;
152
+ --jd-em-padding: calc(1rem / 2) 1rem;
153
+
154
+ /**
155
+ * Sizes - Other
156
+ */
157
+ --jd-resizer-handle-size: 1rem;
158
+ --jd-switche-slider-size: calc(var(--jd-switche-height) - var(--jd-switche-slider-margin) * 2);
159
+ --jd-cols: 4;
160
+
161
+ /**
162
+ * Border and radius
163
+ */
164
+ --jd-border-radius-default: 0.3rem;
165
+ --jd-em-border-radius: 0.375rem;
166
+
167
+ /**
168
+ * Font
169
+ */
170
+ --jd-font-default: -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, oxygen-sans, ubuntu, cantarell, 'Helvetica Neue', sans-serif;
171
+ --jd-font-size-default: 1.4rem;
172
+ --jd-font-size-small: 1.1rem;
173
+ --jd-em-font-size: 1rem;
174
+
175
+ /**
176
+ * Shadow
177
+ */
178
+ --jd-box-shadow-1: 0 0.8rem 1.6rem rgb(0 0 0 / 19%);
179
+ --jd-box-shadow-blur: 1.6rem;
180
+ --jd-box-shadow-tabs: 0 0.2rem 0.4rem rgb(0 0 0 / 10%);
181
+ --jd-popup-box-shadow: 0 0.4rem 0.1rem -0.2rem rgb(76 76 76 / 20%), 0 0.3rem 0.3rem 0 rgb(76 76 76 / 15%), 0 0.1rem 0.4rem 0 rgb(76 76 76 / 13%);
182
+ --jd-popup-max-height: max(50vh, 35rem);
183
+ --jd-focus-input-box-shadow: 0 0 0 0.05rem rgb(0 123 255 / 25%);
184
+
185
+ /**
186
+ * Z-index
187
+ */
188
+ --jd-z-index-dialog: 20000004;
189
+ --jd-z-index-dialog-overlay: 20000003;
190
+ --jd-z-index-popup: 10000001;
191
+ --jd-z-index-full-size: 100000;
192
+ --jd-z-index-context-menu: 30000005;
193
+ --jd-z-index-tooltip: 30000006;
194
+
195
+ /**
196
+ * Animation and transition
197
+ */
198
+ --jd-anl-color-new-line: var(--jd-color-border);
199
+ --jd-anl-handle-offset: calc(100% - var(--jd-anl-handle-size));
200
+ --jd-anl-handle-size: 2rem;
201
+ --jd-timeout-button-active: 0.1s;
202
+ --jd-transform-button-active: 0.95;
203
+
204
+ /**
205
+ * Tooltip
206
+ */
207
+ --jd-tooltip-color: rgb(255 255 255);
208
+ --jd-tooltip-background-color: rgb(0 0 0 / 70%);
209
+ --jd-tooltip-sfx-shadow: rgb(0 0 0 / 15%);
210
+ --jd-tooltip-border-width: 0;
211
+ --jd-tooltip-border-color: rgb(229 229 229);
212
+ }