@inntechcorp/it-design 2.1.38 → 2.1.40
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.cjs.js +58 -21
- package/dist/index.esm.js +58 -21
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1772,7 +1772,8 @@ function(b,o){e.exports?e.exports=o(Wi()):o(b.moment)}(Li,(function(e){void 0===
|
|
|
1772
1772
|
}
|
|
1773
1773
|
|
|
1774
1774
|
&.itd-checkbox-disabled {
|
|
1775
|
-
|
|
1775
|
+
cursor: not-allowed;
|
|
1776
|
+
pointer-events: auto;
|
|
1776
1777
|
}
|
|
1777
1778
|
|
|
1778
1779
|
/**
|
|
@@ -1819,13 +1820,22 @@ function(b,o){e.exports?e.exports=o(Wi()):o(b.moment)}(Li,(function(e){void 0===
|
|
|
1819
1820
|
}
|
|
1820
1821
|
|
|
1821
1822
|
&.itd-checkbox-disabled {
|
|
1823
|
+
|
|
1822
1824
|
.itd-checkbox-checkmark {
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
+
background-color: #0000000a;
|
|
1826
|
+
border: 1px solid #d9d9d9;
|
|
1827
|
+
pointer-events: none;
|
|
1828
|
+
&:before {
|
|
1829
|
+
background-color: #d9d9d9;
|
|
1830
|
+
}
|
|
1831
|
+
svg { fill: #00000040 }
|
|
1825
1832
|
}
|
|
1833
|
+
|
|
1826
1834
|
.itd-checkbox-label {
|
|
1827
|
-
color: #
|
|
1835
|
+
color: #00000040;
|
|
1836
|
+
pointer-events: none;
|
|
1828
1837
|
}
|
|
1838
|
+
|
|
1829
1839
|
}
|
|
1830
1840
|
|
|
1831
1841
|
&:not(&.itd-checkbox-error):not(.itd-checkbox-selected):not(.itd-checkbox-disabled) {
|
|
@@ -1886,12 +1896,22 @@ function(b,o){e.exports?e.exports=o(Wi()):o(b.moment)}(Li,(function(e){void 0===
|
|
|
1886
1896
|
}
|
|
1887
1897
|
|
|
1888
1898
|
&.itd-checkbox-disabled {
|
|
1899
|
+
|
|
1889
1900
|
.itd-checkbox-checkmark {
|
|
1890
|
-
|
|
1901
|
+
background-color: #0000000a;
|
|
1902
|
+
border: 1px solid #d9d9d9;
|
|
1903
|
+
pointer-events: none;
|
|
1904
|
+
&:before {
|
|
1905
|
+
background-color: #d9d9d9;
|
|
1906
|
+
}
|
|
1907
|
+
svg { fill: #00000040 }
|
|
1891
1908
|
}
|
|
1909
|
+
|
|
1892
1910
|
.itd-checkbox-label {
|
|
1893
|
-
color: #
|
|
1911
|
+
color: #00000040;
|
|
1912
|
+
pointer-events: none;
|
|
1894
1913
|
}
|
|
1914
|
+
|
|
1895
1915
|
}
|
|
1896
1916
|
|
|
1897
1917
|
&:not(&.itd-checkbox-error):not(.itd-checkbox-selected):not(.itd-checkbox-disabled) {
|
|
@@ -2240,7 +2260,7 @@ function(b,o){e.exports?e.exports=o(Wi()):o(b.moment)}(Li,(function(e){void 0===
|
|
|
2240
2260
|
pointer-events: none;
|
|
2241
2261
|
/* z-index: 1; */
|
|
2242
2262
|
|
|
2243
|
-
`,wa=({id:e,errorMessage:b="",isOpen:p=!1,locked:z=!1,disabled:c=!1,showSearch:n=!1,labelType:r="single",size:O="default",placeholder:i,value:a,label:s,prefix:A,suffix:d,icon:l,image:q,onFocus:u,onBlur:f,onShow:W,onFilter:h})=>{const R=M.useRef(null),[m,g]=M.useState(!1),[L,v]=M.useState(!1);M.useEffect((()=>{g(p)}),[p]);const N=()=>{if(""!==b)return o.jsx(va,{"data-icon":"i",className:"itd-select-failed itd-failed-status",onPointerOver:()=>v(!0),onPointerOut:()=>v(!1),children:L?o.jsx(xa,{className:"itd-select-error-tooltip itd-error-tooltip",children:b}):null})};return o.jsxs(ha,{$showSearch:n,className:"itd-select-selector",onClick:n?void 0:()=>{u(),m&&W(!1)},children:[(()=>{if(A)return A})(),l?o.jsx(ga,{className:"itd-icon "+l}):q?q.indexOf(".svg")>-1?o.jsx(t.ReactSVG,{src:q,className:"itd-image itd-svg"}):o.jsx(Wa,{src:q,height:"20",brokenHeight:"20",className:"itd-image"}):void 0,o.jsx(Ra,{className:"itd-select-selection-item",children:"floating"===r?o.jsx(ua,{id:e,placeholder:i,label:s||void 0,size:O,value:a}):o.jsx(aa,{id:e,placeholder:i,label:s||void 0,size:O,isOpen:m,showSearch:n,disabled:c,onFocus:u,onBlur:f,onFilter:h,ref:R})}),(()=>{if(""!==b)return o.jsx(Ba,{className:"itd-error-border"})})(),o.jsxs(ya,{className:"itd-select-suffix",children:[d,o.jsx(ma,{$open:m,className:"itd-select-arrow",children:o.jsx(Ci,{})}),z?o.jsx(Na,{className:"itd-svg",width:"18",height:"18"}):null,N()]})]})};
|
|
2263
|
+
`,wa=({id:e,errorMessage:b="",isOpen:p=!1,locked:z=!1,disabled:c=!1,showSearch:n=!1,labelType:r="single",size:O="default",placeholder:i,value:a,label:s,prefix:A,suffix:d,icon:l,image:q,onFocus:u,onBlur:f,onShow:W,onFilter:h})=>{const R=M.useRef(null),[m,g]=M.useState(!1),[L,v]=M.useState(!1);M.useEffect((()=>{g(p)}),[p]);const N=()=>{if(""!==b)return o.jsx(va,{"data-icon":"i",className:"itd-select-failed itd-failed-status",onPointerOver:()=>v(!0),onPointerOut:()=>v(!1),children:L?o.jsx(xa,{className:"itd-select-error-tooltip itd-error-tooltip",children:b}):null})};return o.jsxs(ha,{$showSearch:n,className:"itd-select-selector",onClick:n||c?void 0:()=>{u(),m&&W(!1)},children:[(()=>{if(A)return A})(),l?o.jsx(ga,{className:"itd-icon "+l}):q?q.indexOf(".svg")>-1?o.jsx(t.ReactSVG,{src:q,className:"itd-image itd-svg"}):o.jsx(Wa,{src:q,height:"20",brokenHeight:"20",className:"itd-image"}):void 0,o.jsx(Ra,{className:"itd-select-selection-item",children:"floating"===r?o.jsx(ua,{id:e,placeholder:i,label:s||void 0,size:O,value:a}):o.jsx(aa,{id:e,placeholder:i,label:s||void 0,size:O,isOpen:m,showSearch:n,disabled:c,onFocus:u,onBlur:f,onFilter:h,ref:R})}),(()=>{if(""!==b)return o.jsx(Ba,{className:"itd-error-border"})})(),o.jsxs(ya,{className:"itd-select-suffix",children:[d,o.jsx(ma,{$open:m,className:"itd-select-arrow",children:o.jsx(Ci,{})}),z?o.jsx(Na,{className:"itd-svg",width:"18",height:"18"}):null,N()]})]})};
|
|
2244
2264
|
/*!
|
|
2245
2265
|
* OverlayScrollbars
|
|
2246
2266
|
* Version: 2.0.3
|
|
@@ -3116,6 +3136,7 @@ function Xa(e,b){if(Ha(e))for(let o=0;o<e.length&&!1!==b(e[o],o,e);o++);else e&&
|
|
|
3116
3136
|
|
|
3117
3137
|
.itd-select-selector {
|
|
3118
3138
|
|
|
3139
|
+
border : 1px solid #d9d9d900;
|
|
3119
3140
|
height : ${`${M.height}px`};
|
|
3120
3141
|
|
|
3121
3142
|
.itd-select-selection-item-single {
|
|
@@ -3258,27 +3279,32 @@ function Xa(e,b){if(Ha(e))for(let o=0;o<e.length&&!1!==b(e[o],o,e);o++);else e&&
|
|
|
3258
3279
|
${()=>ut`
|
|
3259
3280
|
&[disabled] {
|
|
3260
3281
|
|
|
3282
|
+
cursor: not-allowed;
|
|
3283
|
+
pointer-events: none;
|
|
3284
|
+
|
|
3261
3285
|
.itd-select-selector {
|
|
3286
|
+
|
|
3262
3287
|
background-color: #0000000a;
|
|
3263
3288
|
border: 1px solid #d9d9d9;
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
svg {
|
|
3268
|
-
fill: #00000040;
|
|
3269
|
-
}
|
|
3270
|
-
}
|
|
3289
|
+
border-radius: ${fl};
|
|
3290
|
+
cursor: not-allowed;
|
|
3291
|
+
pointer-events: auto;
|
|
3271
3292
|
|
|
3272
|
-
|
|
3273
|
-
color: #00000040;
|
|
3274
|
-
&::placeholder {
|
|
3293
|
+
.itd-select-selection-item input[disabled] {
|
|
3275
3294
|
color: #00000040;
|
|
3295
|
+
&::placeholder {
|
|
3296
|
+
color: #00000040;
|
|
3297
|
+
}
|
|
3276
3298
|
}
|
|
3299
|
+
|
|
3300
|
+
.itd-select-arrow {
|
|
3301
|
+
svg {
|
|
3302
|
+
fill: #00000040;
|
|
3303
|
+
}
|
|
3304
|
+
}
|
|
3305
|
+
|
|
3277
3306
|
}
|
|
3278
3307
|
|
|
3279
|
-
cursor: not-allowed;
|
|
3280
|
-
pointer-events: none;
|
|
3281
|
-
|
|
3282
3308
|
}
|
|
3283
3309
|
`}
|
|
3284
3310
|
|
|
@@ -4370,6 +4396,7 @@ function Xa(e,b){if(Ha(e))for(let o=0;o<e.length&&!1!==b(e[o],o,e);o++);else e&&
|
|
|
4370
4396
|
display: flex;
|
|
4371
4397
|
justify-content: space-between;
|
|
4372
4398
|
position: relative;
|
|
4399
|
+
border: 1px solid #d9d9d900;
|
|
4373
4400
|
|
|
4374
4401
|
textarea {
|
|
4375
4402
|
background: none;
|
|
@@ -4447,7 +4474,17 @@ function Xa(e,b){if(Ha(e))for(let o=0;o<e.length&&!1!==b(e[o],o,e);o++);else e&&
|
|
|
4447
4474
|
}
|
|
4448
4475
|
|
|
4449
4476
|
&.itd-textarea-disabled {
|
|
4450
|
-
|
|
4477
|
+
|
|
4478
|
+
background-color: #0000000a;
|
|
4479
|
+
border: 1px solid #d9d9d9;
|
|
4480
|
+
|
|
4481
|
+
input {
|
|
4482
|
+
color: #00000040;
|
|
4483
|
+
&::placeholder {
|
|
4484
|
+
color: #00000040;
|
|
4485
|
+
}
|
|
4486
|
+
}
|
|
4487
|
+
|
|
4451
4488
|
}
|
|
4452
4489
|
|
|
4453
4490
|
&.itd-textarea-focus {
|
package/dist/index.esm.js
CHANGED
|
@@ -1772,7 +1772,8 @@ function(b,M){e.exports?e.exports=M(ua()):M(b.moment)}(ma,(function(e){void 0===
|
|
|
1772
1772
|
}
|
|
1773
1773
|
|
|
1774
1774
|
&.itd-checkbox-disabled {
|
|
1775
|
-
|
|
1775
|
+
cursor: not-allowed;
|
|
1776
|
+
pointer-events: auto;
|
|
1776
1777
|
}
|
|
1777
1778
|
|
|
1778
1779
|
/**
|
|
@@ -1819,13 +1820,22 @@ function(b,M){e.exports?e.exports=M(ua()):M(b.moment)}(ma,(function(e){void 0===
|
|
|
1819
1820
|
}
|
|
1820
1821
|
|
|
1821
1822
|
&.itd-checkbox-disabled {
|
|
1823
|
+
|
|
1822
1824
|
.itd-checkbox-checkmark {
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
+
background-color: #0000000a;
|
|
1826
|
+
border: 1px solid #d9d9d9;
|
|
1827
|
+
pointer-events: none;
|
|
1828
|
+
&:before {
|
|
1829
|
+
background-color: #d9d9d9;
|
|
1830
|
+
}
|
|
1831
|
+
svg { fill: #00000040 }
|
|
1825
1832
|
}
|
|
1833
|
+
|
|
1826
1834
|
.itd-checkbox-label {
|
|
1827
|
-
color: #
|
|
1835
|
+
color: #00000040;
|
|
1836
|
+
pointer-events: none;
|
|
1828
1837
|
}
|
|
1838
|
+
|
|
1829
1839
|
}
|
|
1830
1840
|
|
|
1831
1841
|
&:not(&.itd-checkbox-error):not(.itd-checkbox-selected):not(.itd-checkbox-disabled) {
|
|
@@ -1886,12 +1896,22 @@ function(b,M){e.exports?e.exports=M(ua()):M(b.moment)}(ma,(function(e){void 0===
|
|
|
1886
1896
|
}
|
|
1887
1897
|
|
|
1888
1898
|
&.itd-checkbox-disabled {
|
|
1899
|
+
|
|
1889
1900
|
.itd-checkbox-checkmark {
|
|
1890
|
-
|
|
1901
|
+
background-color: #0000000a;
|
|
1902
|
+
border: 1px solid #d9d9d9;
|
|
1903
|
+
pointer-events: none;
|
|
1904
|
+
&:before {
|
|
1905
|
+
background-color: #d9d9d9;
|
|
1906
|
+
}
|
|
1907
|
+
svg { fill: #00000040 }
|
|
1891
1908
|
}
|
|
1909
|
+
|
|
1892
1910
|
.itd-checkbox-label {
|
|
1893
|
-
color: #
|
|
1911
|
+
color: #00000040;
|
|
1912
|
+
pointer-events: none;
|
|
1894
1913
|
}
|
|
1914
|
+
|
|
1895
1915
|
}
|
|
1896
1916
|
|
|
1897
1917
|
&:not(&.itd-checkbox-error):not(.itd-checkbox-selected):not(.itd-checkbox-disabled) {
|
|
@@ -2240,7 +2260,7 @@ function(b,M){e.exports?e.exports=M(ua()):M(b.moment)}(ma,(function(e){void 0===
|
|
|
2240
2260
|
pointer-events: none;
|
|
2241
2261
|
/* z-index: 1; */
|
|
2242
2262
|
|
|
2243
|
-
`,PA=({id:e,errorMessage:b="",isOpen:M=!1,locked:p=!1,disabled:t=!1,showSearch:c=!1,labelType:i="single",size:a="default",placeholder:A,value:s,label:d,prefix:l,suffix:q,icon:u,image:f,onFocus:W,onBlur:h,onShow:R,onFilter:m})=>{const g=r(null),[L,v]=n(!1),[N,y]=n(!1);O((()=>{v(M)}),[M]);const x=()=>{if(""!==b)return o(SA,{"data-icon":"i",className:"itd-select-failed itd-failed-status",onPointerOver:()=>y(!0),onPointerOut:()=>y(!1),children:N?o(CA,{className:"itd-select-error-tooltip itd-error-tooltip",children:b}):null})};return z(xA,{$showSearch:c,className:"itd-select-selector",onClick:c?void 0:()=>{W(),L&&R(!1)},children:[(()=>{if(l)return l})(),u?o(kA,{className:"itd-icon "+u}):f?f.indexOf(".svg")>-1?o(B,{src:f,className:"itd-image itd-svg"}):o(BA,{src:f,height:"20",brokenHeight:"20",className:"itd-image"}):void 0,o(wA,{className:"itd-select-selection-item",children:"floating"===i?o(NA,{id:e,placeholder:A,label:d||void 0,size:a,value:s}):o(hA,{id:e,placeholder:A,label:d||void 0,size:a,isOpen:L,showSearch:c,disabled:t,onFocus:W,onBlur:h,onFilter:m,ref:g})}),(()=>{if(""!==b)return o(DA,{className:"itd-error-border"})})(),z(EA,{className:"itd-select-suffix",children:[q,o(XA,{$open:L,className:"itd-select-arrow",children:o(Ua,{})}),p?o(_A,{className:"itd-svg",width:"18",height:"18"}):null,x()]})]})};
|
|
2263
|
+
`,PA=({id:e,errorMessage:b="",isOpen:M=!1,locked:p=!1,disabled:t=!1,showSearch:c=!1,labelType:i="single",size:a="default",placeholder:A,value:s,label:d,prefix:l,suffix:q,icon:u,image:f,onFocus:W,onBlur:h,onShow:R,onFilter:m})=>{const g=r(null),[L,v]=n(!1),[N,y]=n(!1);O((()=>{v(M)}),[M]);const x=()=>{if(""!==b)return o(SA,{"data-icon":"i",className:"itd-select-failed itd-failed-status",onPointerOver:()=>y(!0),onPointerOut:()=>y(!1),children:N?o(CA,{className:"itd-select-error-tooltip itd-error-tooltip",children:b}):null})};return z(xA,{$showSearch:c,className:"itd-select-selector",onClick:c||t?void 0:()=>{W(),L&&R(!1)},children:[(()=>{if(l)return l})(),u?o(kA,{className:"itd-icon "+u}):f?f.indexOf(".svg")>-1?o(B,{src:f,className:"itd-image itd-svg"}):o(BA,{src:f,height:"20",brokenHeight:"20",className:"itd-image"}):void 0,o(wA,{className:"itd-select-selection-item",children:"floating"===i?o(NA,{id:e,placeholder:A,label:d||void 0,size:a,value:s}):o(hA,{id:e,placeholder:A,label:d||void 0,size:a,isOpen:L,showSearch:c,disabled:t,onFocus:W,onBlur:h,onFilter:m,ref:g})}),(()=>{if(""!==b)return o(DA,{className:"itd-error-border"})})(),z(EA,{className:"itd-select-suffix",children:[q,o(XA,{$open:L,className:"itd-select-arrow",children:o(Ua,{})}),p?o(_A,{className:"itd-svg",width:"18",height:"18"}):null,x()]})]})};
|
|
2244
2264
|
/*!
|
|
2245
2265
|
* OverlayScrollbars
|
|
2246
2266
|
* Version: 2.0.3
|
|
@@ -3116,6 +3136,7 @@ function IA(e,b){if(Ms(e))for(let M=0;M<e.length&&!1!==b(e[M],M,e);M++);else e&&
|
|
|
3116
3136
|
|
|
3117
3137
|
.itd-select-selector {
|
|
3118
3138
|
|
|
3139
|
+
border : 1px solid #d9d9d900;
|
|
3119
3140
|
height : ${`${o.height}px`};
|
|
3120
3141
|
|
|
3121
3142
|
.itd-select-selection-item-single {
|
|
@@ -3258,27 +3279,32 @@ function IA(e,b){if(Ms(e))for(let M=0;M<e.length&&!1!==b(e[M],M,e);M++);else e&&
|
|
|
3258
3279
|
${()=>Zt`
|
|
3259
3280
|
&[disabled] {
|
|
3260
3281
|
|
|
3282
|
+
cursor: not-allowed;
|
|
3283
|
+
pointer-events: none;
|
|
3284
|
+
|
|
3261
3285
|
.itd-select-selector {
|
|
3286
|
+
|
|
3262
3287
|
background-color: #0000000a;
|
|
3263
3288
|
border: 1px solid #d9d9d9;
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
svg {
|
|
3268
|
-
fill: #00000040;
|
|
3269
|
-
}
|
|
3270
|
-
}
|
|
3289
|
+
border-radius: ${yq};
|
|
3290
|
+
cursor: not-allowed;
|
|
3291
|
+
pointer-events: auto;
|
|
3271
3292
|
|
|
3272
|
-
|
|
3273
|
-
color: #00000040;
|
|
3274
|
-
&::placeholder {
|
|
3293
|
+
.itd-select-selection-item input[disabled] {
|
|
3275
3294
|
color: #00000040;
|
|
3295
|
+
&::placeholder {
|
|
3296
|
+
color: #00000040;
|
|
3297
|
+
}
|
|
3276
3298
|
}
|
|
3299
|
+
|
|
3300
|
+
.itd-select-arrow {
|
|
3301
|
+
svg {
|
|
3302
|
+
fill: #00000040;
|
|
3303
|
+
}
|
|
3304
|
+
}
|
|
3305
|
+
|
|
3277
3306
|
}
|
|
3278
3307
|
|
|
3279
|
-
cursor: not-allowed;
|
|
3280
|
-
pointer-events: none;
|
|
3281
|
-
|
|
3282
3308
|
}
|
|
3283
3309
|
`}
|
|
3284
3310
|
|
|
@@ -4370,6 +4396,7 @@ function IA(e,b){if(Ms(e))for(let M=0;M<e.length&&!1!==b(e[M],M,e);M++);else e&&
|
|
|
4370
4396
|
display: flex;
|
|
4371
4397
|
justify-content: space-between;
|
|
4372
4398
|
position: relative;
|
|
4399
|
+
border: 1px solid #d9d9d900;
|
|
4373
4400
|
|
|
4374
4401
|
textarea {
|
|
4375
4402
|
background: none;
|
|
@@ -4447,7 +4474,17 @@ function IA(e,b){if(Ms(e))for(let M=0;M<e.length&&!1!==b(e[M],M,e);M++);else e&&
|
|
|
4447
4474
|
}
|
|
4448
4475
|
|
|
4449
4476
|
&.itd-textarea-disabled {
|
|
4450
|
-
|
|
4477
|
+
|
|
4478
|
+
background-color: #0000000a;
|
|
4479
|
+
border: 1px solid #d9d9d9;
|
|
4480
|
+
|
|
4481
|
+
input {
|
|
4482
|
+
color: #00000040;
|
|
4483
|
+
&::placeholder {
|
|
4484
|
+
color: #00000040;
|
|
4485
|
+
}
|
|
4486
|
+
}
|
|
4487
|
+
|
|
4451
4488
|
}
|
|
4452
4489
|
|
|
4453
4490
|
&.itd-textarea-focus {
|