@mgdis/mg-components 6.25.0 → 6.26.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 (37) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/mg-action-more_36.cjs.entry.js +77 -12
  3. package/dist/cjs/mg-components.cjs.js +1 -1
  4. package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js +9 -11
  5. package/dist/collection/assets/jodit/jodit.css +5821 -0
  6. package/dist/collection/components/molecules/inputs/mg-input/mg-input.js +39 -4
  7. package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js +3 -2
  8. package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/custom-properties.css +50 -0
  9. package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.js +3 -3
  10. package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.conf.js +4 -0
  11. package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.js +51 -2
  12. package/dist/collection/components/molecules/mg-popover/mg-popover.js +4 -1
  13. package/dist/components/mg-button2.js +1 -1
  14. package/dist/components/mg-card2.js +1 -1
  15. package/dist/components/mg-illustrated-message.js +1 -1
  16. package/dist/components/mg-input-password.js +1 -1
  17. package/dist/components/mg-input-rich-text-editor.js +44 -44
  18. package/dist/components/mg-input2.js +1 -1
  19. package/dist/components/mg-message2.js +1 -1
  20. package/dist/components/mg-popover2.js +1 -1
  21. package/dist/custom-elements.json +19 -0
  22. package/dist/esm/loader.js +1 -1
  23. package/dist/esm/mg-action-more_36.entry.js +77 -12
  24. package/dist/esm/mg-components.js +1 -1
  25. package/dist/esm/mg-input-rich-text-editor.entry.js +9 -11
  26. package/dist/mg-components/mg-components.esm.js +1 -1
  27. package/dist/mg-components/{p-ec4bd337.entry.js → p-206505b5.entry.js} +51 -51
  28. package/dist/mg-components/p-bf2252c9.entry.js +1 -0
  29. package/dist/types/components/molecules/inputs/mg-input/mg-input.d.ts +2 -1
  30. package/dist/types/components/molecules/mg-illustrated-message/mg-illustrated-message.conf.d.ts +8 -0
  31. package/dist/types/components/molecules/mg-illustrated-message/mg-illustrated-message.d.ts +9 -1
  32. package/dist/types/components.d.ts +13 -2
  33. package/ide/intellij/web-types.json +12 -2
  34. package/ide/vscode/html-custom-data.json +26 -1
  35. package/package.json +14 -14
  36. package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/custom-properties.scss +0 -212
  37. package/dist/mg-components/p-4693077a.entry.js +0 -1
@@ -11,7 +11,8 @@ export declare class MgInput {
11
11
  private readonly slotLabel;
12
12
  private readonly slotError;
13
13
  private readonly slotHelpText;
14
- private readonly blockLevelContentRegExp;
14
+ private readonly blockLevelTags;
15
+ private readonly openingTagRegExp;
15
16
  private errorMessageSlotElement;
16
17
  private helptextMessageSlotElement;
17
18
  private readonly classInput;
@@ -15,3 +15,11 @@ export declare const directions: readonly ["vertical", "horizontal"];
15
15
  * IllustratedMessage direction type
16
16
  */
17
17
  export type IllustratedMessageDirectionType = Direction & (typeof directions)[number];
18
+ /**
19
+ * List of all possibles horizontal alignments
20
+ */
21
+ export declare const aligns: readonly ["left", "center", "right"];
22
+ /**
23
+ * IllustratedMessage align type
24
+ */
25
+ export type IllustratedMessageAlignType = (typeof aligns)[number];
@@ -1,5 +1,5 @@
1
1
  import { ClassList } from '@mgdis/core-ui-helpers/dist/utils';
2
- import { type IllustratedMessageDirectionType, type IllustratedMessageSizeType } from './mg-illustrated-message.conf';
2
+ import { type IllustratedMessageAlignType, type IllustratedMessageDirectionType, type IllustratedMessageSizeType } from './mg-illustrated-message.conf';
3
3
  /**
4
4
  * @slot illustration - Illustration content
5
5
  * @slot title - Title content
@@ -23,6 +23,14 @@ export declare class MgIllustratedMessage {
23
23
  */
24
24
  direction: IllustratedMessageDirectionType;
25
25
  watchDirection(newValue: IllustratedMessageDirectionType, oldValue?: IllustratedMessageDirectionType): void;
26
+ /**
27
+ * Define the horizontal alignment of the message inside its container.
28
+ * The message is sized to its content, so `align` positions it in both the vertical and
29
+ * horizontal directions. When the content is wide enough to fill the container there is
30
+ * no room left, so `align` has no visible effect.
31
+ */
32
+ align: IllustratedMessageAlignType;
33
+ watchAlign(newValue: IllustratedMessageAlignType, oldValue?: IllustratedMessageAlignType): void;
26
34
  /**
27
35
  * Component classes
28
36
  */
@@ -15,7 +15,7 @@ import { DividerDirectionType } from "./components/atoms/mg-divider/mg-divider.c
15
15
  import { labelHeading, TooltipPosition, Width } from "./components/molecules/inputs/mg-input/mg-input.conf";
16
16
  import { AriaRoleType, RequiredMessageStatusType } from "./components/molecules/mg-form/mg-form.conf";
17
17
  import { IconSizeType, IconType, IconVariantStyleType, IconVariantType } from "./components/atoms/mg-icon/mg-icon.conf";
18
- import { IllustratedMessageDirectionType, IllustratedMessageSizeType } from "./components/molecules/mg-illustrated-message/mg-illustrated-message.conf";
18
+ import { IllustratedMessageAlignType, IllustratedMessageDirectionType, IllustratedMessageSizeType } from "./components/molecules/mg-illustrated-message/mg-illustrated-message.conf";
19
19
  import { IllustrationType } from "./components/atoms/mg-illustration/mg-illustration.conf";
20
20
  import { CheckboxType, ICheckboxValue } from "./components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf";
21
21
  import { Direction, Option, Option as ToggleOption } from "./types";
@@ -51,7 +51,7 @@ export { DividerDirectionType } from "./components/atoms/mg-divider/mg-divider.c
51
51
  export { labelHeading, TooltipPosition, Width } from "./components/molecules/inputs/mg-input/mg-input.conf";
52
52
  export { AriaRoleType, RequiredMessageStatusType } from "./components/molecules/mg-form/mg-form.conf";
53
53
  export { IconSizeType, IconType, IconVariantStyleType, IconVariantType } from "./components/atoms/mg-icon/mg-icon.conf";
54
- export { IllustratedMessageDirectionType, IllustratedMessageSizeType } from "./components/molecules/mg-illustrated-message/mg-illustrated-message.conf";
54
+ export { IllustratedMessageAlignType, IllustratedMessageDirectionType, IllustratedMessageSizeType } from "./components/molecules/mg-illustrated-message/mg-illustrated-message.conf";
55
55
  export { IllustrationType } from "./components/atoms/mg-illustration/mg-illustration.conf";
56
56
  export { CheckboxType, ICheckboxValue } from "./components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf";
57
57
  export { Direction, Option, Option as ToggleOption } from "./types";
@@ -379,6 +379,11 @@ export namespace Components {
379
379
  "variantStyle": IconVariantStyleType;
380
380
  }
381
381
  interface MgIllustratedMessage {
382
+ /**
383
+ * Define the horizontal alignment of the message inside its container. The message is sized to its content, so `align` positions it in both the vertical and horizontal directions. When the content is wide enough to fill the container there is no room left, so `align` has no visible effect.
384
+ * @default 'center'
385
+ */
386
+ "align": IllustratedMessageAlignType;
382
387
  /**
383
388
  * Define component orientation
384
389
  * @default 'vertical'
@@ -3202,6 +3207,11 @@ declare namespace LocalJSX {
3202
3207
  "variantStyle"?: IconVariantStyleType;
3203
3208
  }
3204
3209
  interface MgIllustratedMessage {
3210
+ /**
3211
+ * Define the horizontal alignment of the message inside its container. The message is sized to its content, so `align` positions it in both the vertical and horizontal directions. When the content is wide enough to fill the container there is no room left, so `align` has no visible effect.
3212
+ * @default 'center'
3213
+ */
3214
+ "align"?: IllustratedMessageAlignType;
3205
3215
  /**
3206
3216
  * Define component orientation
3207
3217
  * @default 'vertical'
@@ -4980,6 +4990,7 @@ declare namespace LocalJSX {
4980
4990
  interface MgIllustratedMessageAttributes {
4981
4991
  "size": IllustratedMessageSizeType;
4982
4992
  "direction": IllustratedMessageDirectionType;
4993
+ "align": IllustratedMessageAlignType;
4983
4994
  }
4984
4995
  interface MgIllustrationAttributes {
4985
4996
  "illustration": IllustrationType;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@mgdis/mg-components",
4
- "version": "6.25.0",
4
+ "version": "6.26.0",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -979,9 +979,19 @@
979
979
  },
980
980
  {
981
981
  "name": "mg-illustrated-message",
982
- "description": "Attributes:\n- `direction`: Define component orientation\n- `size`: Define illustration size\n\nSlots:\n- `details`: Details content\n- `illustration`: Illustration content\n- `title`: Title content\n\n",
982
+ "description": "Attributes:\n- `align`: Define the horizontal alignment of the message inside its container.\nThe message is sized to its content, so `align` positions it in both the vertical and\nhorizontal directions. When the content is wide enough to fill the container there is\nno room left, so `align` has no visible effect.\n- `direction`: Define component orientation\n- `size`: Define illustration size\n\nSlots:\n- `details`: Details content\n- `illustration`: Illustration content\n- `title`: Title content\n\n",
983
983
  "doc-url": "http://core.pages.mgdis.fr/core-ui/core-ui/storybook/?path=/docs/molecules-mg-illustrated-message--docs",
984
984
  "attributes": [
985
+ {
986
+ "name": "align",
987
+ "description": "Define the horizontal alignment of the message inside its container.\nThe message is sized to its content, so `align` positions it in both the vertical and\nhorizontal directions. When the content is wide enough to fill the container there is\nno room left, so `align` has no visible effect.\n\nType: `\"center\" | \"left\" | \"right\"`",
988
+ "doc-url": "http://core.pages.mgdis.fr/core-ui/core-ui/storybook/?path=/docs/molecules-mg-illustrated-message--docs",
989
+ "value": {
990
+ "type": "\"center\" | \"left\" | \"right\"",
991
+ "default": "'center'",
992
+ "required": false
993
+ }
994
+ },
985
995
  {
986
996
  "name": "direction",
987
997
  "description": "Define component orientation\n\nType: `\"horizontal\" | \"vertical\"`",
@@ -1796,8 +1796,33 @@
1796
1796
  },
1797
1797
  {
1798
1798
  "name": "mg-illustrated-message",
1799
- "description": "Attributes:\n- `direction`: Define component orientation\n- `size`: Define illustration size\n\nSlots:\n- `details`: Details content\n- `illustration`: Illustration content\n- `title`: Title content\n\n",
1799
+ "description": "Attributes:\n- `align`: Define the horizontal alignment of the message inside its container.\nThe message is sized to its content, so `align` positions it in both the vertical and\nhorizontal directions. When the content is wide enough to fill the container there is\nno room left, so `align` has no visible effect.\n- `direction`: Define component orientation\n- `size`: Define illustration size\n\nSlots:\n- `details`: Details content\n- `illustration`: Illustration content\n- `title`: Title content\n\n",
1800
1800
  "attributes": [
1801
+ {
1802
+ "name": "align",
1803
+ "description": "Define the horizontal alignment of the message inside its container.\nThe message is sized to its content, so `align` positions it in both the vertical and\nhorizontal directions. When the content is wide enough to fill the container there is\nno room left, so `align` has no visible effect.\n\nType: `\"center\" | \"left\" | \"right\"`",
1804
+ "values": [
1805
+ {
1806
+ "name": "center"
1807
+ },
1808
+ {
1809
+ "name": "left"
1810
+ },
1811
+ {
1812
+ "name": "right"
1813
+ }
1814
+ ],
1815
+ "references": [
1816
+ {
1817
+ "name": "Storybook",
1818
+ "url": "http://core.pages.mgdis.fr/core-ui/core-ui/storybook/?path=/docs/molecules-mg-illustrated-message--docs"
1819
+ },
1820
+ {
1821
+ "name": "Sources",
1822
+ "url": "https://gitlab.mgdis.fr/core/core-ui/core-ui/-/tree/master/packages/mg-components/src/components/molecules/mg-illustrated-message/mg-illustrated-message.tsx"
1823
+ }
1824
+ ]
1825
+ },
1801
1826
  {
1802
1827
  "name": "direction",
1803
1828
  "description": "Define component orientation\n\nType: `\"horizontal\" | \"vertical\"`",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mgdis/mg-components",
3
- "version": "6.25.0",
3
+ "version": "6.26.0",
4
4
  "description": "MG Components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -40,32 +40,32 @@
40
40
  "dependencies": {
41
41
  "@popperjs/core": "2.11.8",
42
42
  "@stencil/core": "4.43.5",
43
- "jodit": "4.13.8",
43
+ "jodit": "4.13.10",
44
+ "@mgdis/core-ui-helpers": "1.3.0",
45
+ "@mgdis/img": "2.7.2",
44
46
  "@mgdis/sanitize-html": "1.1.3",
45
- "@mgdis/styles": "2.20.0",
46
- "@mgdis/core-ui-helpers": "1.2.2",
47
- "@mgdis/img": "2.7.2"
47
+ "@mgdis/styles": "2.21.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@playwright/test": "1.61.1",
51
- "@storybook/addon-a11y": "10.5.2",
52
- "@storybook/addon-docs": "10.5.2",
53
- "@storybook/addon-links": "10.5.2",
54
- "@storybook/html": "10.5.2",
55
- "@storybook/html-vite": "10.5.2",
51
+ "@storybook/addon-a11y": "10.5.4",
52
+ "@storybook/addon-docs": "10.5.4",
53
+ "@storybook/addon-links": "10.5.4",
54
+ "@storybook/html": "10.5.4",
55
+ "@storybook/html-vite": "10.5.4",
56
56
  "@types/jest": "29.5.14",
57
57
  "@types/node": "24.13.3",
58
58
  "chromatic": "18.1.0",
59
59
  "eslint": "9.39.5",
60
- "eslint-plugin-storybook": "10.5.2",
60
+ "eslint-plugin-storybook": "10.5.4",
61
61
  "jest": "29.7.0",
62
62
  "jest-cli": "29.7.0",
63
63
  "jest-junit": "17.0.0",
64
64
  "jest-transform-stub": "2.0.0",
65
65
  "react": "19.2.8",
66
- "react-dom": "19.2.7",
66
+ "react-dom": "19.2.8",
67
67
  "sass": "1.101.0",
68
- "storybook": "10.5.2",
68
+ "storybook": "10.5.4",
69
69
  "storybook-addon-tag-badges": "3.1.0",
70
70
  "typescript": "5.9.3",
71
71
  "vite": "8.1.5",
@@ -74,7 +74,7 @@
74
74
  },
75
75
  "license": "BSD-3-Clause",
76
76
  "scripts": {
77
- "prebuild": "node ./bin/build-svg-assets",
77
+ "prebuild": "node ./bin/build-svg-assets && node ./bin/build-jodit-styles",
78
78
  "build": "pnpm prebuild && stencil build --docs",
79
79
  "start": "pnpm prebuild && stencil build --dev --watch --serve",
80
80
  "test": "TZ=UTC stencil test --spec --e2e",
@@ -1,212 +0,0 @@
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
- }