@jiaozhiye/qm-design-react 1.12.14 → 1.12.15
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/lib/form/src/types.d.ts +1 -0
- package/lib/form/style/index.less +393 -392
- package/lib/index.d.ts +4 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/index.js +5 -5
- package/lib/locale/lang/en.d.ts +5 -0
- package/lib/locale/lang/en.js +5 -0
- package/lib/locale/lang/zh-cn.d.ts +5 -0
- package/lib/locale/lang/zh-cn.js +5 -0
- package/lib/pivot-grid/style/grid-layout.less +507 -503
- package/lib/style/index.css +57 -16
- package/lib/style/index.less +1 -0
- package/lib/style/index.min.css +1 -1
- package/lib/style/mixins/reset.less +43 -43
- package/lib/table/src/context/index.d.ts +9 -2
- package/lib/table/src/hooks/useImperativeMethod.d.ts +1 -0
- package/lib/table/src/hooks/useTableCore.d.ts +10 -2
- package/lib/table/src/hooks/useTableState.d.ts +8 -2
- package/lib/table/src/table/props.d.ts +1 -0
- package/lib/table/src/table/types.d.ts +2 -1
- package/lib/table/style/header.less +303 -303
- package/lib/translate/index.d.ts +3 -0
- package/lib/translate/src/translate.d.ts +16 -0
- package/lib/translate/src/use-tooltip.d.ts +9 -0
- package/lib/translate/src/use-translation.d.ts +12 -0
- package/lib/translate/style/index.less +32 -0
- package/package.json +1 -1
package/lib/style/index.css
CHANGED
|
@@ -27873,15 +27873,6 @@ body {
|
|
|
27873
27873
|
.qm-form .ant-form-item .ant-form-item-label > label:has(.ant-select) .ant-select {
|
|
27874
27874
|
text-align: left;
|
|
27875
27875
|
}
|
|
27876
|
-
.qm-form .ant-form-item .ant-form-item-label-wrap > label .text {
|
|
27877
|
-
line-height: 1.075;
|
|
27878
|
-
display: -webkit-box;
|
|
27879
|
-
-webkit-box-orient: vertical;
|
|
27880
|
-
-webkit-line-clamp: 2;
|
|
27881
|
-
line-clamp: 2;
|
|
27882
|
-
overflow: hidden;
|
|
27883
|
-
text-overflow: ellipsis;
|
|
27884
|
-
}
|
|
27885
27876
|
.qm-form .ant-form-item .ant-form-item-label > label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before {
|
|
27886
27877
|
margin: 0 2px;
|
|
27887
27878
|
}
|
|
@@ -27949,8 +27940,6 @@ body {
|
|
|
27949
27940
|
height: 100%;
|
|
27950
27941
|
display: flex;
|
|
27951
27942
|
align-items: center;
|
|
27952
|
-
}
|
|
27953
|
-
.qm-form .ant-form-item .extra-overflow-cut {
|
|
27954
27943
|
overflow: hidden;
|
|
27955
27944
|
text-overflow: ellipsis;
|
|
27956
27945
|
white-space: nowrap;
|
|
@@ -28006,8 +27995,27 @@ body {
|
|
|
28006
27995
|
.qm-form .ant-form-vertical .ant-form-item .ant-form-item-label {
|
|
28007
27996
|
padding-bottom: 4px;
|
|
28008
27997
|
}
|
|
28009
|
-
.qm-form .ant-form-vertical .ant-form-item .ant-form-item-label label
|
|
28010
|
-
|
|
27998
|
+
.qm-form .ant-form-vertical .ant-form-item .ant-form-item-label > label:has(.ant-select) {
|
|
27999
|
+
width: 50%;
|
|
28000
|
+
}
|
|
28001
|
+
.qm-form__label-wrap .ant-form-item .ant-form-item-label > label .text {
|
|
28002
|
+
line-height: 1.075;
|
|
28003
|
+
display: -webkit-box;
|
|
28004
|
+
-webkit-box-orient: vertical;
|
|
28005
|
+
-webkit-line-clamp: 2;
|
|
28006
|
+
line-clamp: 2;
|
|
28007
|
+
overflow: hidden;
|
|
28008
|
+
text-overflow: ellipsis;
|
|
28009
|
+
}
|
|
28010
|
+
.qm-form__label-wrap .ant-form-item .extra-text {
|
|
28011
|
+
line-height: 1.075;
|
|
28012
|
+
white-space: normal;
|
|
28013
|
+
display: -webkit-box;
|
|
28014
|
+
-webkit-box-orient: vertical;
|
|
28015
|
+
-webkit-line-clamp: 2;
|
|
28016
|
+
line-clamp: 2;
|
|
28017
|
+
overflow: hidden;
|
|
28018
|
+
text-overflow: ellipsis;
|
|
28011
28019
|
}
|
|
28012
28020
|
.qm-form--sm .ant-form-item {
|
|
28013
28021
|
margin-bottom: 10px;
|
|
@@ -31752,12 +31760,19 @@ body {
|
|
|
31752
31760
|
z-index: 1;
|
|
31753
31761
|
}
|
|
31754
31762
|
.qm-pivot-grid__layout .container .group-label .label-cell .title {
|
|
31755
|
-
flex
|
|
31763
|
+
flex: 1 0;
|
|
31756
31764
|
margin-left: 8px;
|
|
31757
|
-
margin-right: 20px;
|
|
31758
31765
|
font-weight: 600;
|
|
31766
|
+
overflow: hidden;
|
|
31767
|
+
text-overflow: ellipsis;
|
|
31768
|
+
white-space: nowrap;
|
|
31769
|
+
}
|
|
31770
|
+
.qm-pivot-grid__layout .container .group-label .label-cell .title + .count-select {
|
|
31771
|
+
width: -moz-fit-content;
|
|
31772
|
+
width: fit-content;
|
|
31773
|
+
padding-left: 10px;
|
|
31759
31774
|
}
|
|
31760
|
-
.qm-pivot-grid__layout .container .group-label .label-cell .title
|
|
31775
|
+
.qm-pivot-grid__layout .container .group-label .label-cell .title.empty {
|
|
31761
31776
|
color: rgba(0, 0, 0, 0.45);
|
|
31762
31777
|
font-weight: 400;
|
|
31763
31778
|
}
|
|
@@ -31997,3 +32012,29 @@ body {
|
|
|
31997
32012
|
.qm-color-picker-slider-container .qm-color-picker-slider-group-disabled-alpha .qm-color-picker-slider {
|
|
31998
32013
|
margin-bottom: 0;
|
|
31999
32014
|
}
|
|
32015
|
+
/*
|
|
32016
|
+
* @Author: 焦质晔
|
|
32017
|
+
* @Date: 2025-11-10 13:37:08
|
|
32018
|
+
* @Last Modified by: 焦质晔
|
|
32019
|
+
* @Last Modified time: 2025-11-10 17:18:14
|
|
32020
|
+
*/
|
|
32021
|
+
.qm-translate.help-cursor {
|
|
32022
|
+
cursor: help;
|
|
32023
|
+
}
|
|
32024
|
+
.qm-translate__tooltip {
|
|
32025
|
+
min-width: 150px;
|
|
32026
|
+
max-width: 300px;
|
|
32027
|
+
border-radius: 6px !important;
|
|
32028
|
+
padding-left: 12px !important;
|
|
32029
|
+
padding-right: 12px !important;
|
|
32030
|
+
}
|
|
32031
|
+
.qm-translate__tooltip .label,
|
|
32032
|
+
.qm-translate__tooltip .text {
|
|
32033
|
+
margin: 4px 0;
|
|
32034
|
+
}
|
|
32035
|
+
.qm-translate__tooltip .label {
|
|
32036
|
+
color: rgba(0, 0, 0, 0.45);
|
|
32037
|
+
}
|
|
32038
|
+
.qm-translate__tooltip .primary {
|
|
32039
|
+
color: #1890ff;
|
|
32040
|
+
}
|
package/lib/style/index.less
CHANGED