@@ -26,6 +26,10 @@ const matchComponents = [
2626 pattern : / ^ C a r o u s e l I t e m $ / ,
2727 componentDir : 'carousel' ,
2828 } ,
29+ {
30+ pattern : / ^ C a s c a d e r P a n e l $ / ,
31+ componentDir : 'cascader' ,
32+ } ,
2933 {
3034 pattern : / ^ C h e c k b o x G r o u p $ / ,
3135 componentDir : 'checkbox' ,
@@ -38,6 +42,10 @@ const matchComponents = [
3842 pattern : / ^ ( W e e k P i c k e r | M o n t h P i c k e r | Y e a r P i c k e r | Q u a r t e r P i c k e r | R a n g e P i c k e r ) $ / ,
3943 componentDir : 'date-picker' ,
4044 } ,
45+ {
46+ pattern : / ^ D e s c r i p t i o n s I t e m $ / ,
47+ componentDir : 'descriptions' ,
48+ } ,
4149 {
4250 pattern : / ^ ( D o p t i o n | D g r o u p | D s u b m e n u | D r o p d o w n B u t t o n ) $ / ,
4351 componentDir : 'dropdown' ,
@@ -50,7 +58,6 @@ const matchComponents = [
5058 pattern : / ^ ( C o l | R o w | G r i d I t e m ) $ / ,
5159 componentDir : 'grid' ,
5260 } ,
53-
5461 {
5562 pattern : / ^ ( I m a g e P r e v i e w | I m a g e P r e v i e w G r o u p ) $ / ,
5663 componentDir : 'image' ,
@@ -83,23 +90,24 @@ const matchComponents = [
8390
8491 {
8592 pattern : / ^ ( S k e l e t o n L i n e | S k e l e t o n S h a p e ) $ / ,
86- componentDir : 'table ' ,
93+ componentDir : 'skeleton ' ,
8794 } ,
8895 {
8996 pattern : / ^ C o u n t d o w n $ / ,
9097 componentDir : 'statistic' ,
9198 } ,
92-
9399 {
94100 pattern : / ^ S t e p $ / ,
95101 componentDir : 'steps' ,
96102 } ,
97-
98103 {
99104 pattern : / ^ ( T h e a d | T d | T h | T r | T b o d y | T a b l e C o l u m n ) $ / ,
100105 componentDir : 'table' ,
101106 } ,
102-
107+ {
108+ pattern : / ^ T a g G r o u p $ / ,
109+ componentDir : 'tag' ,
110+ } ,
103111 {
104112 pattern : / ^ T a b P a n e $ / ,
105113 componentDir : 'tabs' ,
@@ -108,16 +116,10 @@ const matchComponents = [
108116 pattern : / ^ T i m e l i n e I t e m $ / ,
109117 componentDir : 'timeline' ,
110118 } ,
111-
112119 {
113120 pattern : / ^ ( T y p o g r a p h y P a r a g r a p h | T y p o g r a p h y T i t l e | T y p o g r a p h y T e x t ) $ / ,
114121 componentDir : 'typography' ,
115122 } ,
116-
117- {
118- pattern : / ^ D e s c r i p t i o n s I t e m $ / ,
119- componentDir : 'descriptions' ,
120- } ,
121123]
122124
123125function getComponentStyleDir ( importName : string , importStyle : boolean | 'css' | 'less' ) {
0 commit comments