@douyinfe/semi-foundation 2.43.0 → 2.43.1
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.
- package/dropdown/constants.ts +1 -1
- package/lib/cjs/dropdown/constants.js +1 -1
- package/lib/cjs/popover/constants.d.ts +1 -1
- package/lib/cjs/popover/constants.js +1 -1
- package/lib/es/dropdown/constants.js +1 -1
- package/lib/es/popover/constants.d.ts +1 -1
- package/lib/es/popover/constants.js +1 -1
- package/package.json +3 -3
- package/popover/constants.ts +1 -1
package/dropdown/constants.ts
CHANGED
|
@@ -9,7 +9,7 @@ const cssClasses = {
|
|
|
9
9
|
|
|
10
10
|
const strings = {
|
|
11
11
|
POSITION_SET: tooltipStrings.POSITION_SET,
|
|
12
|
-
TRIGGER_SET: ['hover', 'focus', 'click', 'custom'],
|
|
12
|
+
TRIGGER_SET: ['hover', 'focus', 'click', 'custom', 'contextMenu'],
|
|
13
13
|
DEFAULT_LEAVE_DELAY: 100,
|
|
14
14
|
ITEM_TYPE: ['primary', 'secondary', 'tertiary', 'warning', 'danger'],
|
|
15
15
|
};
|
|
@@ -14,7 +14,7 @@ const cssClasses = {
|
|
|
14
14
|
exports.cssClasses = cssClasses;
|
|
15
15
|
const strings = {
|
|
16
16
|
POSITION_SET: _constants.strings.POSITION_SET,
|
|
17
|
-
TRIGGER_SET: ['hover', 'focus', 'click', 'custom'],
|
|
17
|
+
TRIGGER_SET: ['hover', 'focus', 'click', 'custom', 'contextMenu'],
|
|
18
18
|
DEFAULT_LEAVE_DELAY: 100,
|
|
19
19
|
ITEM_TYPE: ['primary', 'secondary', 'tertiary', 'warning', 'danger']
|
|
20
20
|
};
|
|
@@ -4,7 +4,7 @@ declare const cssClasses: {
|
|
|
4
4
|
};
|
|
5
5
|
declare const strings: {
|
|
6
6
|
readonly POSITION_SET: readonly ["top", "topLeft", "topRight", "left", "leftTop", "leftBottom", "right", "rightTop", "rightBottom", "bottom", "bottomLeft", "bottomRight", "leftTopOver", "rightTopOver"];
|
|
7
|
-
readonly TRIGGER_SET: readonly ["hover", "focus", "click", "custom"];
|
|
7
|
+
readonly TRIGGER_SET: readonly ["hover", "focus", "click", "custom", "contextMenu"];
|
|
8
8
|
readonly DEFAULT_ARROW_STYLE: {
|
|
9
9
|
readonly borderOpacity: "1";
|
|
10
10
|
readonly backgroundColor: "var(--semi-color-bg-3)";
|
|
@@ -13,7 +13,7 @@ const cssClasses = {
|
|
|
13
13
|
exports.cssClasses = cssClasses;
|
|
14
14
|
const strings = {
|
|
15
15
|
POSITION_SET: ['top', 'topLeft', 'topRight', 'left', 'leftTop', 'leftBottom', 'right', 'rightTop', 'rightBottom', 'bottom', 'bottomLeft', 'bottomRight', 'leftTopOver', 'rightTopOver'],
|
|
16
|
-
TRIGGER_SET: ['hover', 'focus', 'click', 'custom'],
|
|
16
|
+
TRIGGER_SET: ['hover', 'focus', 'click', 'custom', 'contextMenu'],
|
|
17
17
|
DEFAULT_ARROW_STYLE: {
|
|
18
18
|
borderOpacity: '1',
|
|
19
19
|
backgroundColor: 'var(--semi-color-bg-3)',
|
|
@@ -7,7 +7,7 @@ const cssClasses = {
|
|
|
7
7
|
};
|
|
8
8
|
const strings = {
|
|
9
9
|
POSITION_SET: tooltipStrings.POSITION_SET,
|
|
10
|
-
TRIGGER_SET: ['hover', 'focus', 'click', 'custom'],
|
|
10
|
+
TRIGGER_SET: ['hover', 'focus', 'click', 'custom', 'contextMenu'],
|
|
11
11
|
DEFAULT_LEAVE_DELAY: 100,
|
|
12
12
|
ITEM_TYPE: ['primary', 'secondary', 'tertiary', 'warning', 'danger']
|
|
13
13
|
};
|
|
@@ -4,7 +4,7 @@ declare const cssClasses: {
|
|
|
4
4
|
};
|
|
5
5
|
declare const strings: {
|
|
6
6
|
readonly POSITION_SET: readonly ["top", "topLeft", "topRight", "left", "leftTop", "leftBottom", "right", "rightTop", "rightBottom", "bottom", "bottomLeft", "bottomRight", "leftTopOver", "rightTopOver"];
|
|
7
|
-
readonly TRIGGER_SET: readonly ["hover", "focus", "click", "custom"];
|
|
7
|
+
readonly TRIGGER_SET: readonly ["hover", "focus", "click", "custom", "contextMenu"];
|
|
8
8
|
readonly DEFAULT_ARROW_STYLE: {
|
|
9
9
|
readonly borderOpacity: "1";
|
|
10
10
|
readonly backgroundColor: "var(--semi-color-bg-3)";
|
|
@@ -6,7 +6,7 @@ const cssClasses = {
|
|
|
6
6
|
};
|
|
7
7
|
const strings = {
|
|
8
8
|
POSITION_SET: ['top', 'topLeft', 'topRight', 'left', 'leftTop', 'leftBottom', 'right', 'rightTop', 'rightBottom', 'bottom', 'bottomLeft', 'bottomRight', 'leftTopOver', 'rightTopOver'],
|
|
9
|
-
TRIGGER_SET: ['hover', 'focus', 'click', 'custom'],
|
|
9
|
+
TRIGGER_SET: ['hover', 'focus', 'click', 'custom', 'contextMenu'],
|
|
10
10
|
DEFAULT_ARROW_STYLE: {
|
|
11
11
|
borderOpacity: '1',
|
|
12
12
|
backgroundColor: 'var(--semi-color-bg-3)',
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-foundation",
|
|
3
|
-
"version": "2.43.
|
|
3
|
+
"version": "2.43.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build:lib": "node ./scripts/compileLib.js",
|
|
7
7
|
"prepublishOnly": "npm run build:lib"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@douyinfe/semi-animation": "2.43.
|
|
10
|
+
"@douyinfe/semi-animation": "2.43.1",
|
|
11
11
|
"async-validator": "^3.5.0",
|
|
12
12
|
"classnames": "^2.2.6",
|
|
13
13
|
"date-fns": "^2.29.3",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"*.scss",
|
|
24
24
|
"*.css"
|
|
25
25
|
],
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "84abaef26e42768a44ba5db31b9891bf508a314e",
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
29
29
|
"@babel/preset-env": "^7.15.8",
|
package/popover/constants.ts
CHANGED
|
@@ -23,7 +23,7 @@ const strings = {
|
|
|
23
23
|
'leftTopOver',
|
|
24
24
|
'rightTopOver',
|
|
25
25
|
],
|
|
26
|
-
TRIGGER_SET: ['hover', 'focus', 'click', 'custom'],
|
|
26
|
+
TRIGGER_SET: ['hover', 'focus', 'click', 'custom', 'contextMenu'],
|
|
27
27
|
DEFAULT_ARROW_STYLE: {
|
|
28
28
|
borderOpacity: '1',
|
|
29
29
|
backgroundColor: 'var(--semi-color-bg-3)',
|