@antdv-next/x 1.1.3-beta.1 → 1.1.3-beta.2
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/dist/index.umd.js
CHANGED
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
shiki_dist_themes_vitesse_dark_mjs = __toESM(shiki_dist_themes_vitesse_dark_mjs);
|
|
50
50
|
shiki_dist_themes_vitesse_light_mjs = __toESM(shiki_dist_themes_vitesse_light_mjs);
|
|
51
51
|
//#region package.json
|
|
52
|
-
var version = "1.1.3-beta.
|
|
52
|
+
var version = "1.1.3-beta.2";
|
|
53
53
|
//#endregion
|
|
54
54
|
//#region components/x-provider/context.ts
|
|
55
55
|
var XProviderContextKey = Symbol("antdv-next-x-provider-context");
|
|
@@ -9269,6 +9269,7 @@
|
|
|
9269
9269
|
const { componentCls, antCls, calc } = token;
|
|
9270
9270
|
const slotCls = `${componentCls}-slot`;
|
|
9271
9271
|
const antInputCls = `${antCls}-input`;
|
|
9272
|
+
const antInputBorderlessCls = `${antInputCls}-borderless`;
|
|
9272
9273
|
const antDropdownCls = `${antCls}-dropdown-trigger`;
|
|
9273
9274
|
const slotInputCls = `${componentCls}-slot-input`;
|
|
9274
9275
|
const slotSelectCls = `${componentCls}-slot-select`;
|
|
@@ -9308,6 +9309,7 @@
|
|
|
9308
9309
|
fontSize: "inherit",
|
|
9309
9310
|
lineHeight: "inherit",
|
|
9310
9311
|
position: "relative",
|
|
9312
|
+
[`&${antInputBorderlessCls}`]: { "&:focus-visible, &:has(input:focus-visible), &:has(textarea:focus-visible)": { outline: "none" } },
|
|
9311
9313
|
[`&::placeholder`]: {
|
|
9312
9314
|
color: token.colorTextSlotPlaceholder,
|
|
9313
9315
|
fontSize: "inherit",
|
|
@@ -9513,7 +9515,8 @@
|
|
|
9513
9515
|
flex: "auto",
|
|
9514
9516
|
alignSelf: "center",
|
|
9515
9517
|
caretColor: token.colorPrimary,
|
|
9516
|
-
fontSize: token.fontSize
|
|
9518
|
+
fontSize: token.fontSize,
|
|
9519
|
+
[`&${antCls}-input-borderless`]: { "&:focus-visible, &:has(input:focus-visible), &:has(textarea:focus-visible)": { outline: "none" } }
|
|
9517
9520
|
},
|
|
9518
9521
|
[`${componentCls}-actions-list`]: {
|
|
9519
9522
|
flex: "none",
|
package/dist/package.js
CHANGED
|
@@ -43,7 +43,8 @@ var genSenderStyle = (token) => {
|
|
|
43
43
|
flex: "auto",
|
|
44
44
|
alignSelf: "center",
|
|
45
45
|
caretColor: token.colorPrimary,
|
|
46
|
-
fontSize: token.fontSize
|
|
46
|
+
fontSize: token.fontSize,
|
|
47
|
+
[`&${antCls}-input-borderless`]: { "&:focus-visible, &:has(input:focus-visible), &:has(textarea:focus-visible)": { outline: "none" } }
|
|
47
48
|
},
|
|
48
49
|
[`${componentCls}-actions-list`]: {
|
|
49
50
|
flex: "none",
|
|
@@ -4,6 +4,7 @@ var genSlotTextAreaStyle = (token) => {
|
|
|
4
4
|
const { componentCls, antCls, calc } = token;
|
|
5
5
|
const slotCls = `${componentCls}-slot`;
|
|
6
6
|
const antInputCls = `${antCls}-input`;
|
|
7
|
+
const antInputBorderlessCls = `${antInputCls}-borderless`;
|
|
7
8
|
const antDropdownCls = `${antCls}-dropdown-trigger`;
|
|
8
9
|
const slotInputCls = `${componentCls}-slot-input`;
|
|
9
10
|
const slotSelectCls = `${componentCls}-slot-select`;
|
|
@@ -43,6 +44,7 @@ var genSlotTextAreaStyle = (token) => {
|
|
|
43
44
|
fontSize: "inherit",
|
|
44
45
|
lineHeight: "inherit",
|
|
45
46
|
position: "relative",
|
|
47
|
+
[`&${antInputBorderlessCls}`]: { "&:focus-visible, &:has(input:focus-visible), &:has(textarea:focus-visible)": { outline: "none" } },
|
|
46
48
|
[`&::placeholder`]: {
|
|
47
49
|
color: token.colorTextSlotPlaceholder,
|
|
48
50
|
fontSize: "inherit",
|
package/es/antdv-next-x.esm.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as e } from "./chunk-WQLz0Won.js";
|
|
|
2
2
|
import { S as t, _ as n, a as r, b as i, c as a, d as o, f as s, g as c, h as l, i as u, l as d, m as f, n as p, o as m, p as h, r as g, s as _, t as v, u as y, v as b, x, y as S } from "./Serializer-D1JYN1kI.js";
|
|
3
3
|
import { Comment as C, Fragment as w, Teleport as T, Text as E, Transition as D, TransitionGroup as O, cloneVNode as k, computed as A, createTextVNode as j, createVNode as M, defineComponent as N, getCurrentInstance as P, getCurrentScope as F, h as I, inject as L, isVNode as R, markRaw as ee, mergeDefaults as z, mergeProps as B, nextTick as V, onBeforeMount as te, onBeforeUnmount as H, onBeforeUpdate as ne, onMounted as re, onScopeDispose as ie, onUnmounted as U, onUpdated as ae, provide as W, reactive as oe, ref as G, render as se, resolveDynamicComponent as ce, shallowReactive as le, shallowRef as K, toRaw as ue, toRef as de, toRefs as fe, toValue as pe, triggerRef as me, unref as he, useAttrs as ge, useId as _e, useSlots as ve, vShow as ye, watch as q, watchEffect as be, withDirectives as xe } from "vue";
|
|
4
4
|
//#region package.json
|
|
5
|
-
var Se = "1.1.3-beta.
|
|
5
|
+
var Se = "1.1.3-beta.2", Ce = "anticon", we = {}, Te = [
|
|
6
6
|
"outlined",
|
|
7
7
|
"borderless",
|
|
8
8
|
"filled",
|
|
@@ -59656,7 +59656,7 @@ var rG = (e) => {
|
|
|
59656
59656
|
[`${r}-motion-hidden`]: { display: "none" }
|
|
59657
59657
|
} };
|
|
59658
59658
|
}, iG = (e) => {
|
|
59659
|
-
let { componentCls: t, antCls: n, calc: r } = e, i = `${t}-slot`, a = `${n}-input`, o = `${n}-dropdown-trigger`,
|
|
59659
|
+
let { componentCls: t, antCls: n, calc: r } = e, i = `${t}-slot`, a = `${n}-input`, o = `${a}-borderless`, s = `${n}-dropdown-trigger`, c = `${t}-slot-input`, l = `${t}-slot-select`, u = `${t}-slot-tag`, d = `${t}-slot-content`, f = `${t}-skill`;
|
|
59660
59660
|
return { [t]: {
|
|
59661
59661
|
[`${t}-input-slot`]: {
|
|
59662
59662
|
outline: "none",
|
|
@@ -59671,7 +59671,7 @@ var rG = (e) => {
|
|
|
59671
59671
|
color: e.colorTextPlaceholder
|
|
59672
59672
|
}
|
|
59673
59673
|
},
|
|
59674
|
-
[`${i}:not(${
|
|
59674
|
+
[`${i}:not(${d})`]: {
|
|
59675
59675
|
display: "inline-block",
|
|
59676
59676
|
verticalAlign: "middle",
|
|
59677
59677
|
alignItems: "center",
|
|
@@ -59680,7 +59680,7 @@ var rG = (e) => {
|
|
|
59680
59680
|
wordBreak: "break-all",
|
|
59681
59681
|
marginInline: e.marginXXS
|
|
59682
59682
|
},
|
|
59683
|
-
[`${a}${
|
|
59683
|
+
[`${a}${c}`]: {
|
|
59684
59684
|
height: "100%",
|
|
59685
59685
|
background: e.colorBgSlot,
|
|
59686
59686
|
outline: "none",
|
|
@@ -59690,13 +59690,14 @@ var rG = (e) => {
|
|
|
59690
59690
|
fontSize: "inherit",
|
|
59691
59691
|
lineHeight: "inherit",
|
|
59692
59692
|
position: "relative",
|
|
59693
|
+
[`&${o}`]: { "&:focus-visible, &:has(input:focus-visible), &:has(textarea:focus-visible)": { outline: "none" } },
|
|
59693
59694
|
"&::placeholder": {
|
|
59694
59695
|
color: e.colorTextSlotPlaceholder,
|
|
59695
59696
|
fontSize: "inherit",
|
|
59696
59697
|
lineHeight: "inherit"
|
|
59697
59698
|
}
|
|
59698
59699
|
},
|
|
59699
|
-
[
|
|
59700
|
+
[l]: {
|
|
59700
59701
|
fontSize: e.fontSize,
|
|
59701
59702
|
lineHeight: e.lineHeight,
|
|
59702
59703
|
paddingInline: e.paddingXXS,
|
|
@@ -59712,15 +59713,15 @@ var rG = (e) => {
|
|
|
59712
59713
|
color: e.colorTextSlot,
|
|
59713
59714
|
border: `1px solid ${e.colorBorderSlot}`,
|
|
59714
59715
|
"&.placeholder": { color: e.colorTextSlotPlaceholder },
|
|
59715
|
-
[`&${
|
|
59716
|
+
[`&${s}-open`]: { borderColor: e.colorBorderSlotHover }
|
|
59716
59717
|
},
|
|
59717
|
-
[`${
|
|
59718
|
+
[`${l}-value`]: {
|
|
59718
59719
|
flex: 1,
|
|
59719
59720
|
fontSize: e.fontSize,
|
|
59720
59721
|
lineHeight: e.lineHeight,
|
|
59721
59722
|
"&:empty::before": { content: "attr(data-placeholder)" }
|
|
59722
59723
|
},
|
|
59723
|
-
[`${
|
|
59724
|
+
[`${l}-arrow`]: {
|
|
59724
59725
|
marginInlineStart: e.marginXXS,
|
|
59725
59726
|
fontSize: e.fontSize,
|
|
59726
59727
|
lineHeight: e.lineHeight,
|
|
@@ -59728,7 +59729,7 @@ var rG = (e) => {
|
|
|
59728
59729
|
alignItems: "center",
|
|
59729
59730
|
justifyContent: "center"
|
|
59730
59731
|
},
|
|
59731
|
-
[
|
|
59732
|
+
[u]: {
|
|
59732
59733
|
background: e.colorBgSlot,
|
|
59733
59734
|
border: `1px solid ${e.colorBorderSlot}`,
|
|
59734
59735
|
outline: "none",
|
|
@@ -59742,7 +59743,7 @@ var rG = (e) => {
|
|
|
59742
59743
|
position: "relative",
|
|
59743
59744
|
cursor: "default"
|
|
59744
59745
|
},
|
|
59745
|
-
[
|
|
59746
|
+
[d]: {
|
|
59746
59747
|
height: r(e.fontSize).mul(e.lineHeight).add(2).equal(),
|
|
59747
59748
|
caretColor: e.colorPrimary,
|
|
59748
59749
|
background: e.colorBgSlot,
|
|
@@ -59774,7 +59775,7 @@ var rG = (e) => {
|
|
|
59774
59775
|
display: "inline-block",
|
|
59775
59776
|
lineHeight: "inherit"
|
|
59776
59777
|
},
|
|
59777
|
-
[
|
|
59778
|
+
[f]: {
|
|
59778
59779
|
display: "inline-block",
|
|
59779
59780
|
verticalAlign: "baseline",
|
|
59780
59781
|
alignItems: "center",
|
|
@@ -59785,7 +59786,7 @@ var rG = (e) => {
|
|
|
59785
59786
|
paddingInlineStart: 0,
|
|
59786
59787
|
marginInlineEnd: 0,
|
|
59787
59788
|
marginInlineStart: -1,
|
|
59788
|
-
[`&${
|
|
59789
|
+
[`&${f}-empty`]: { "&::after": {
|
|
59789
59790
|
display: "inline-block",
|
|
59790
59791
|
pointerEvents: "none",
|
|
59791
59792
|
height: "inherit",
|
|
@@ -59793,11 +59794,11 @@ var rG = (e) => {
|
|
|
59793
59794
|
color: e.colorTextPlaceholder
|
|
59794
59795
|
} }
|
|
59795
59796
|
},
|
|
59796
|
-
[`${
|
|
59797
|
+
[`${f}-wrapper`]: {
|
|
59797
59798
|
height: "100%",
|
|
59798
59799
|
display: "inline-flex"
|
|
59799
59800
|
},
|
|
59800
|
-
[`${
|
|
59801
|
+
[`${f}-tag`]: {
|
|
59801
59802
|
paddingInline: e.paddingXS,
|
|
59802
59803
|
height: "100%",
|
|
59803
59804
|
backgroundColor: e.colorBgSkill,
|
|
@@ -59811,20 +59812,20 @@ var rG = (e) => {
|
|
|
59811
59812
|
transition: `background-color ${e.motionDurationMid}`,
|
|
59812
59813
|
"&:hover": {
|
|
59813
59814
|
backgroundColor: e.colorBgSkillHover,
|
|
59814
|
-
[`${
|
|
59815
|
+
[`${f}-close:not(${f}-close-disabled)`]: { color: e.colorPrimaryHover }
|
|
59815
59816
|
}
|
|
59816
59817
|
},
|
|
59817
|
-
[`${
|
|
59818
|
+
[`${f}-close`]: {
|
|
59818
59819
|
fontSize: e.fontSizeSM,
|
|
59819
59820
|
display: "inline-flex",
|
|
59820
59821
|
transition: `color ${e.motionDurationMid}`,
|
|
59821
59822
|
color: e.colorPrimary
|
|
59822
59823
|
},
|
|
59823
|
-
[`${
|
|
59824
|
+
[`${f}-close-disabled`]: {
|
|
59824
59825
|
cursor: "not-allowed",
|
|
59825
59826
|
color: e.colorTextDisabled
|
|
59826
59827
|
},
|
|
59827
|
-
[`${
|
|
59828
|
+
[`${f}-holder`]: {
|
|
59828
59829
|
width: e.marginXS,
|
|
59829
59830
|
height: "100%"
|
|
59830
59831
|
}
|
|
@@ -59888,7 +59889,8 @@ var rG = (e) => {
|
|
|
59888
59889
|
flex: "auto",
|
|
59889
59890
|
alignSelf: "center",
|
|
59890
59891
|
caretColor: e.colorPrimary,
|
|
59891
|
-
fontSize: e.fontSize
|
|
59892
|
+
fontSize: e.fontSize,
|
|
59893
|
+
[`&${t}-input-borderless`]: { "&:focus-visible, &:has(input:focus-visible), &:has(textarea:focus-visible)": { outline: "none" } }
|
|
59892
59894
|
},
|
|
59893
59895
|
[`${n}-actions-list`]: {
|
|
59894
59896
|
flex: "none",
|