@jitera/jitera-web-ui-library 1.50.0 → 1.51.0
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.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -2
package/dist/index.esm.js
CHANGED
@@ -23,7 +23,7 @@ import{jsx as av,jsxs as aw}from"react/jsx-runtime";import a,{useMemo as ax,useS
|
|
23
23
|
${a=>`min-height: ${a.minHeight};`}
|
24
24
|
background-color: #fff;
|
25
25
|
${a=>a.isPreview?"position: relative":void 0}
|
26
|
-
`,Z=a.forwardRef(({...b},c)=>{let{children:d,isPreview:a,responsiveVisibility:e,className:f,...g}=b,h=a?"100%":"100vh",{classNames:i}=bG({className:f,responsiveVisibility:e});return av(bU,{className:aF(a?"preview-page":void 0,i),minHeight:h,isPreview:a,...g,ref:c,children:d})}),$=a.forwardRef((a,b)=>{let{children:c,responsiveVisibility:d,className:e,...f}=a,{classNames:g}=bG({className:e,responsiveVisibility:d});return av(aJ,{...f,className:g,ref:b,children:c})}),_=a.forwardRef((a,b)=>{let{children:c,responsiveVisibility:d,className:e,...f}=a,{classNames:g}=bG({className:e,responsiveVisibility:d});return av(a0,{...f,className:g,prefixCls:"jitera-layout-sider",ref:b,children:c})}),aa=a.forwardRef((a,b)=>{let{isPreview:c,responsiveVisibility:d,className:e,styles:f,data:g,placeholderStyle:h,containerStyle:i,dropdownStyle:j,optionStyle:k,iconProps:l
|
26
|
+
`,Z=a.forwardRef(({...b},c)=>{let{children:d,isPreview:a,responsiveVisibility:e,className:f,...g}=b,h=a?"100%":"100vh",{classNames:i}=bG({className:f,responsiveVisibility:e});return av(bU,{className:aF(a?"preview-page":void 0,i),minHeight:h,isPreview:a,...g,ref:c,children:d})}),$=a.forwardRef((a,b)=>{let{children:c,responsiveVisibility:d,className:e,...f}=a,{classNames:g}=bG({className:e,responsiveVisibility:d});return av(aJ,{...f,className:g,ref:b,children:c})}),_=a.forwardRef((a,b)=>{let{children:c,responsiveVisibility:d,className:e,...f}=a,{classNames:g}=bG({className:e,responsiveVisibility:d});return av(a0,{...f,className:g,prefixCls:"jitera-layout-sider",ref:b,children:c})}),aa=a.forwardRef((a,b)=>{let{isPreview:c,responsiveVisibility:d,className:e,styles:f,data:g,placeholderStyle:h,containerStyle:i,dropdownStyle:j,optionStyle:k,iconProps:l,...m}=a,n=ax(()=>{let a=f||{};return h&&(a.placeholder=a=>({...a,...h})),i&&(a.control=a=>({...a,...i})),j&&(a.menu=a=>({...a,...j})),k&&(a.option=a=>({...a,...k})),a},[f,h,i,j,k]),o=ax(()=>{if(l)return{DropdownIndicator:a=>av(a2.DropdownIndicator,{...a,children:av(G,{...l})})}},[l]),{classNames:p}=bG({className:e,responsiveVisibility:d});return av(a1,{className:p,components:o,isDisabled:c,styles:n,options:g,...m,ref:b})}),bV="mc6f30f899_inner";var bW={inner:"mc6f30f899_inner"};let ab=a.forwardRef((a,b)=>{let{style:c,responsiveVisibility:d,className:e,...f}=a,{classNames:g}=bG({className:e,responsiveVisibility:d});return av("div",{style:c,className:g,ref:b,children:av(aK,{className:bW.inner,...f})})});function bX(a){return"string"==typeof a&&["wrap","wrap-reverse"].includes(a)|| !0===a}let bY=b.div`
|
27
27
|
.jitera-radio-inner {
|
28
28
|
border-color: ${a=>a.inactiveColor||a.theme.primaryColor};
|
29
29
|
}
|
package/dist/index.js
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
${a=>`min-height: ${a.minHeight};`}
|
24
24
|
background-color: #fff;
|
25
25
|
${a=>a.isPreview?"position: relative":void 0}
|
26
|
-
`,ab=a.default.forwardRef(({...b},c)=>{let{children:d,isPreview:a,responsiveVisibility:e,className:f,...g}=b,h=a?"100%":"100vh",{classNames:i}=aZ({className:f,responsiveVisibility:e});return az.jsx(bb,{className:aM.default(a?"preview-page":void 0,i),minHeight:h,isPreview:a,...g,ref:c,children:d})}),ac=a.default.forwardRef((a,b)=>{let{children:c,responsiveVisibility:d,className:f,...g}=a,{classNames:h}=aZ({className:f,responsiveVisibility:d});return az.jsx(e.Row,{...g,className:h,ref:b,children:c})}),ad=a.default.forwardRef((a,b)=>{let{children:c,responsiveVisibility:d,className:e,...f}=a,{classNames:g}=aZ({className:e,responsiveVisibility:d});return az.jsx(aU.default,{...f,className:g,prefixCls:"jitera-layout-sider",ref:b,children:c})}),ae=a.default.forwardRef((a,b)=>{let{isPreview:c,responsiveVisibility:d,className:e,styles:f,data:h,placeholderStyle:i,containerStyle:j,dropdownStyle:k,optionStyle:l,iconProps:m
|
26
|
+
`,ab=a.default.forwardRef(({...b},c)=>{let{children:d,isPreview:a,responsiveVisibility:e,className:f,...g}=b,h=a?"100%":"100vh",{classNames:i}=aZ({className:f,responsiveVisibility:e});return az.jsx(bb,{className:aM.default(a?"preview-page":void 0,i),minHeight:h,isPreview:a,...g,ref:c,children:d})}),ac=a.default.forwardRef((a,b)=>{let{children:c,responsiveVisibility:d,className:f,...g}=a,{classNames:h}=aZ({className:f,responsiveVisibility:d});return az.jsx(e.Row,{...g,className:h,ref:b,children:c})}),ad=a.default.forwardRef((a,b)=>{let{children:c,responsiveVisibility:d,className:e,...f}=a,{classNames:g}=aZ({className:e,responsiveVisibility:d});return az.jsx(aU.default,{...f,className:g,prefixCls:"jitera-layout-sider",ref:b,children:c})}),ae=a.default.forwardRef((a,b)=>{let{isPreview:c,responsiveVisibility:d,className:e,styles:f,data:h,placeholderStyle:i,containerStyle:j,dropdownStyle:k,optionStyle:l,iconProps:m,...n}=a,o=g.useMemo(()=>{let a=f||{};return i&&(a.placeholder=a=>({...a,...i})),j&&(a.control=a=>({...a,...j})),k&&(a.menu=a=>({...a,...k})),l&&(a.option=a=>({...a,...l})),a},[f,i,j,k,l]),p=g.useMemo(()=>{if(m)return{DropdownIndicator:a=>az.jsx(w.components.DropdownIndicator,{...a,children:az.jsx(M,{...m})})}},[m]),{classNames:q}=aZ({className:e,responsiveVisibility:d});return az.jsx(aV.default,{className:q,components:p,isDisabled:c,styles:o,options:h,...n,ref:b})}),bc="mc6f30f899_inner";var bd={inner:"mc6f30f899_inner"};const af=a.default.forwardRef((a,b)=>{let{style:c,responsiveVisibility:d,className:f,...g}=a,{classNames:h}=aZ({className:f,responsiveVisibility:d});return az.jsx("div",{style:c,className:h,ref:b,children:az.jsx(e.List,{className:bd.inner,...g})})});function be(a){return"string"==typeof a&&["wrap","wrap-reverse"].includes(a)|| !0===a}const bf=b.default.div`
|
27
27
|
.jitera-radio-inner {
|
28
28
|
border-color: ${a=>a.inactiveColor||a.theme.primaryColor};
|
29
29
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@jitera/jitera-web-ui-library",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.51.0",
|
4
4
|
"description": "atoms and component for web project",
|
5
5
|
"sideEffects": [
|
6
6
|
"*.css"
|
@@ -127,7 +127,6 @@
|
|
127
127
|
"check-types": "tsc --noemit",
|
128
128
|
"lint": "eslint \"src/**/*.@(js|jsx|ts|tsx)\" --fix",
|
129
129
|
"prepare": "husky install",
|
130
|
-
"prepublish": "yarn build",
|
131
130
|
"build": "yarn build:lib",
|
132
131
|
"build:lib": "yarn build:lib:before && yarn build:lib:main && yarn build:lib:dts && yarn build:lib:style && yarn build:lib:after",
|
133
132
|
"build:lib:main": "./node_modules/.bin/rollup -c",
|