@livechat/design-system-react-components 1.17.1-alpha.0 → 1.17.1-alpha.1
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/chunks/{Heading-a4742030.js → Heading-1a31001f.js} +1 -1
- package/dist/chunks/{Heading-1f13e793.js → Heading-597d11a4.js} +1 -1
- package/dist/chunks/{ProgressBar-753197bf.js → ProgressBar-0e01c602.js} +6 -7
- package/dist/chunks/ProgressBar-dd89d43a.js +1 -0
- package/dist/chunks/{Text-3504b7ce.js → Text-78b02609.js} +1 -1
- package/dist/chunks/{Text-2356ec2a.js → Text-dd6930a2.js} +1 -1
- package/dist/chunks/Tooltip-21230071.js +1 -0
- package/dist/chunks/{Tooltip-e472934d.js → Tooltip-f4d8b8fd.js} +2 -2
- package/dist/chunks/{Typography.module-be5c667f.js → Typography.module-58a031dc.js} +1 -1
- package/dist/chunks/Typography.module-8b7171c2.js +1 -0
- package/dist/components/ActionBar/index.cjs.js +1 -1
- package/dist/components/ActionBar/index.es.js +2 -2
- package/dist/components/ActionMenu/index.cjs.js +1 -1
- package/dist/components/ActionMenu/index.es.js +2 -2
- package/dist/components/Alert/index.cjs.js +1 -1
- package/dist/components/Alert/index.es.js +2 -2
- package/dist/components/Avatar/index.cjs.js +1 -1
- package/dist/components/Avatar/index.es.js +2 -2
- package/dist/components/Badge/index.cjs.js +1 -1
- package/dist/components/Badge/index.es.js +1 -1
- package/dist/components/Button/index.cjs.js +1 -1
- package/dist/components/Button/index.es.js +1 -1
- package/dist/components/Card/index.cjs.js +1 -1
- package/dist/components/Card/index.es.js +3 -3
- package/dist/components/Checkbox/index.cjs.js +1 -1
- package/dist/components/Checkbox/index.es.js +2 -2
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/DetailsCard/index.cjs.js +1 -1
- package/dist/components/DetailsCard/index.es.js +2 -2
- package/dist/components/DetailsCardInfo/index.cjs.js +1 -1
- package/dist/components/DetailsCardInfo/index.es.js +1 -1
- package/dist/components/FieldDescription/index.cjs.js +1 -1
- package/dist/components/FieldDescription/index.es.js +2 -2
- package/dist/components/FieldError/index.cjs.js +1 -1
- package/dist/components/FieldError/index.es.js +2 -2
- package/dist/components/FieldGroup/index.cjs.js +1 -1
- package/dist/components/FieldGroup/index.es.js +1 -1
- package/dist/components/FileUploadProgress/index.cjs.js +1 -1
- package/dist/components/FileUploadProgress/index.es.js +3 -3
- package/dist/components/Form/index.cjs.js +1 -1
- package/dist/components/Form/index.es.js +3 -3
- package/dist/components/FormField/index.cjs.js +1 -1
- package/dist/components/FormField/index.es.js +2 -2
- package/dist/components/FormGroup/index.cjs.js +1 -1
- package/dist/components/FormGroup/index.es.js +3 -3
- package/dist/components/Icon/index.cjs.js +1 -1
- package/dist/components/Icon/index.es.js +1 -1
- package/dist/components/Input/index.cjs.js +1 -1
- package/dist/components/Input/index.es.js +2 -2
- package/dist/components/Link/index.cjs.js +1 -1
- package/dist/components/Link/index.es.js +1 -1
- package/dist/components/Loader/index.cjs.js +1 -1
- package/dist/components/Loader/index.es.js +2 -2
- package/dist/components/Modal/index.cjs.js +1 -1
- package/dist/components/Modal/index.es.js +3 -3
- package/dist/components/NumericInput/index.cjs.js +1 -1
- package/dist/components/NumericInput/index.es.js +1 -1
- package/dist/components/Picker/index.cjs.js +1 -1
- package/dist/components/Picker/index.es.js +3 -3
- package/dist/components/Popover/index.cjs.js +1 -1
- package/dist/components/Popover/index.es.js +2 -2
- package/dist/components/Progress/index.cjs.js +1 -1
- package/dist/components/Progress/index.d.ts +0 -1
- package/dist/components/Progress/index.es.js +13 -14
- package/dist/components/PromoBanner/index.cjs.js +1 -1
- package/dist/components/PromoBanner/index.es.js +2 -2
- package/dist/components/PromoBannerV2/index.cjs.js +1 -1
- package/dist/components/PromoBannerV2/index.es.js +1 -1
- package/dist/components/RadioButton/index.cjs.js +1 -1
- package/dist/components/RadioButton/index.es.js +2 -2
- package/dist/components/Search/index.cjs.js +1 -1
- package/dist/components/Search/index.es.js +2 -2
- package/dist/components/SegmentedControl/index.cjs.js +1 -1
- package/dist/components/SegmentedControl/index.es.js +1 -1
- package/dist/components/Switch/index.cjs.js +1 -1
- package/dist/components/Switch/index.es.js +1 -1
- package/dist/components/Tab/index.cjs.js +1 -1
- package/dist/components/Tab/index.es.js +2 -2
- package/dist/components/Tag/index.cjs.js +1 -1
- package/dist/components/Tag/index.es.js +2 -2
- package/dist/components/TagInput/index.cjs.js +1 -1
- package/dist/components/TagInput/index.es.js +2 -2
- package/dist/components/Textarea/index.cjs.js +1 -1
- package/dist/components/Textarea/index.es.js +2 -2
- package/dist/components/Toast/index.cjs.js +1 -1
- package/dist/components/Toast/index.es.js +2 -2
- package/dist/components/Tooltip/components/UserGuide/index.cjs.js +1 -1
- package/dist/components/Tooltip/components/UserGuide/index.es.js +1 -1
- package/dist/components/Tooltip/components/index.cjs.js +1 -1
- package/dist/components/Tooltip/components/index.es.js +3 -3
- package/dist/components/Tooltip/index.cjs.js +1 -1
- package/dist/components/Tooltip/index.es.js +1 -1
- package/dist/components/Typography/index.cjs.js +1 -1
- package/dist/components/Typography/index.es.js +3 -3
- package/dist/components/UploadBar/index.cjs.js +1 -1
- package/dist/components/UploadBar/index.es.js +2 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +64 -65
- package/dist/preview-stats.json +781 -784
- package/package.json +2 -2
- package/dist/chunks/ProgressBar-ab20b908.js +0 -1
- package/dist/chunks/Tooltip-2c65102c.js +0 -1
- package/dist/chunks/Typography.module-7abc3bc2.js +0 -1
- /package/dist/{ProgressBar.css → assets/style-ProgressBar.css} +0 -0
- /package/dist/{Tooltip.css → assets/style-Tooltip.css} +0 -0
- /package/dist/{Typography.css → assets/style-Typography.css} +0 -0
- /package/dist/{index.css → assets/style-index.css} +0 -0
- /package/dist/{index10.css → assets/style-index10.css} +0 -0
- /package/dist/{index11.css → assets/style-index11.css} +0 -0
- /package/dist/{index12.css → assets/style-index12.css} +0 -0
- /package/dist/{index13.css → assets/style-index13.css} +0 -0
- /package/dist/{index14.css → assets/style-index14.css} +0 -0
- /package/dist/{index15.css → assets/style-index15.css} +0 -0
- /package/dist/{index16.css → assets/style-index16.css} +0 -0
- /package/dist/{index17.css → assets/style-index17.css} +0 -0
- /package/dist/{index18.css → assets/style-index18.css} +0 -0
- /package/dist/{index19.css → assets/style-index19.css} +0 -0
- /package/dist/{index2.css → assets/style-index2.css} +0 -0
- /package/dist/{index20.css → assets/style-index20.css} +0 -0
- /package/dist/{index21.css → assets/style-index21.css} +0 -0
- /package/dist/{index22.css → assets/style-index22.css} +0 -0
- /package/dist/{index23.css → assets/style-index23.css} +0 -0
- /package/dist/{index24.css → assets/style-index24.css} +0 -0
- /package/dist/{index25.css → assets/style-index25.css} +0 -0
- /package/dist/{index26.css → assets/style-index26.css} +0 -0
- /package/dist/{index27.css → assets/style-index27.css} +0 -0
- /package/dist/{index28.css → assets/style-index28.css} +0 -0
- /package/dist/{index29.css → assets/style-index29.css} +0 -0
- /package/dist/{index3.css → assets/style-index3.css} +0 -0
- /package/dist/{index30.css → assets/style-index30.css} +0 -0
- /package/dist/{index31.css → assets/style-index31.css} +0 -0
- /package/dist/{index32.css → assets/style-index32.css} +0 -0
- /package/dist/{index33.css → assets/style-index33.css} +0 -0
- /package/dist/{index34.css → assets/style-index34.css} +0 -0
- /package/dist/{index35.css → assets/style-index35.css} +0 -0
- /package/dist/{index36.css → assets/style-index36.css} +0 -0
- /package/dist/{index37.css → assets/style-index37.css} +0 -0
- /package/dist/{index38.css → assets/style-index38.css} +0 -0
- /package/dist/{index39.css → assets/style-index39.css} +0 -0
- /package/dist/{index4.css → assets/style-index4.css} +0 -0
- /package/dist/{index5.css → assets/style-index5.css} +0 -0
- /package/dist/{index6.css → assets/style-index6.css} +0 -0
- /package/dist/{index7.css → assets/style-index7.css} +0 -0
- /package/dist/{index8.css → assets/style-index8.css} +0 -0
- /package/dist/{index9.css → assets/style-index9.css} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/design-system-react-components",
|
|
3
|
-
"version": "1.17.1-alpha.
|
|
3
|
+
"version": "1.17.1-alpha.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
"react-transition-group": "^4.4.2",
|
|
90
90
|
"react-virtuoso": "^4.6.2"
|
|
91
91
|
},
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "f30e8d1e7fd5e4bbe3caec996e1dbca4e561cdd0"
|
|
93
93
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var O=Object.defineProperty,$=Object.defineProperties;var E=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var l=(r,e,s)=>e in r?O(r,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[e]=s,u=(r,e)=>{for(var s in e||(e={}))g.call(e,s)&&l(r,s,e[s]);if(a)for(var s of a(e))m.call(e,s)&&l(r,s,e[s]);return r},i=(r,e)=>$(r,E(e));var p=(r,e)=>{var s={};for(var o in r)g.call(r,o)&&e.indexOf(o)<0&&(s[o]=r[o]);if(r!=null&&a)for(var o of a(r))e.indexOf(o)<0&&m.call(r,o)&&(s[o]=r[o]);return s};var q=require("../ProgressBar.css");const j=require("react"),w=require("clsx");function y(r){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const s in r)if(s!=="default"){const o=Object.getOwnPropertyDescriptor(r,s);Object.defineProperty(e,s,o.get?o:{enumerable:!0,get:()=>r[s]})}}return e.default=r,Object.freeze(e)}const _=y(j),b=["normal","error","success"],M=r=>Math.min(Math.max(r,0),100);function d(r,e=0){return r==="error"?0:M(parseInt(e.toString(),10))}function P(r,e){return!b.includes(r)&&e>=100?"normal":r||"normal"}const t={"progress-bar":"lc-ProgressBar-module__progress-bar___3pa3d","progress-bar--small":"lc-ProgressBar-module__progress-bar--small___7nQKx","progress-bar--medium":"lc-ProgressBar-module__progress-bar--medium___cM44p","progress-bar--large":"lc-ProgressBar-module__progress-bar--large___UlzNR","progress-bar--error":"lc-ProgressBar-module__progress-bar--error___MulqI","progress-bar--success":"lc-ProgressBar-module__progress-bar--success___p7nB-","progress-bar--normal":"lc-ProgressBar-module__progress-bar--normal___ZwCb-","progress-bar__indicator--success":"lc-ProgressBar-module__progress-bar__indicator--success___wRjR3","progress-bar__indicator--normal":"lc-ProgressBar-module__progress-bar__indicator--normal___0Uhle"},c="progress-bar",T=_.forwardRef((h,f)=>{var n=h,{status:r="normal",percent:e,size:s="medium",className:o=""}=n,S=p(n,["status","percent","size","className"]);const B=P(r,e),R=d(B,e),N=w(t[c],{[t[`${c}--${s}`]]:s,[t[`${c}--${r}`]]:r},o);return _.createElement("div",i(u({},S),{className:N,ref:f,role:"progressbar"}),_.createElement("div",{className:t[`${c}__indicator--${r}`],style:{width:`${R}%`}}))});exports.PROGRESS_STATUSES=b;exports.ProgressBar=T;exports.getPercentNumber=d;exports.getProgressStatus=P;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var at=Object.defineProperty,ut=Object.defineProperties;var dt=Object.getOwnPropertyDescriptors;var S=Object.getOwnPropertySymbols;var mt=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable;var x=(t,o,e)=>o in t?at(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e,n=(t,o)=>{for(var e in o||(o={}))mt.call(o,e)&&x(t,e,o[e]);if(S)for(var e of S(o))ft.call(o,e)&&x(t,e,o[e]);return t},g=(t,o)=>ut(t,dt(o));var Ft=require("../Tooltip.css");const gt=require("react"),l=require("@floating-ui/react"),Tt=require("clsx"),yt=require("./Text-2356ec2a.js");function vt(t){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const _=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(o,e,_.get?_:{enumerable:!0,get:()=>t[e]})}}return o.default=t,Object.freeze(o)}const s=vt(gt);function ht(t){switch(t){case"invert":return"inverted";default:return"primary"}}function wt(t,o,e,_){if(e)return{top:t?e+t:e};if(_)return{left:o?_+o:_}}const bt="lc-Tooltip-module__tooltip___QOOAr",Pt="lc-Tooltip-module__tooltip__arrow___Ov1YW",St="lc-Tooltip-module__tooltip__interactive___0JawB",c={tooltip:bt,tooltip__arrow:Pt,"tooltip--invert":"lc-Tooltip-module__tooltip--invert___PVjhE","tooltip--important":"lc-Tooltip-module__tooltip--important___X-IMK",tooltip__interactive:St,"tooltip__user-guide-step":"lc-Tooltip-module__tooltip__user-guide-step___evexI","tooltip--full-space":"lc-Tooltip-module__tooltip--full-space___wmbaw","tooltip-header":"lc-Tooltip-module__tooltip-header___QV0Vd","tooltip-header--info":"lc-Tooltip-module__tooltip-header--info___zLJ2Z","tooltip-image-container":"lc-Tooltip-module__tooltip-image-container___ySmcd","tooltip-image":"lc-Tooltip-module__tooltip-image___Aorwg","tooltip-text--info":"lc-Tooltip-module__tooltip-text--info___3d2Ql","tooltip-close":"lc-Tooltip-module__tooltip-close___3r3h9","tooltip-step":"lc-Tooltip-module__tooltip-step___-j0n8","tooltip-footer":"lc-Tooltip-module__tooltip-footer___9hxFq","tooltip-footer-secondary":"lc-Tooltip-module__tooltip-footer-secondary___WBgVR","tooltip-footer-secondary-invert":"lc-Tooltip-module__tooltip-footer-secondary-invert___PuAQL","tooltip-footer--interactive":"lc-Tooltip-module__tooltip-footer--interactive___hqMM5","tooltip-footer--user-guide-step":"lc-Tooltip-module__tooltip-footer--user-guide-step___i7z3S","guide-tooltip--slide":"lc-Tooltip-module__guide-tooltip--slide___Uawm2","guide-tooltip__overlay":"lc-Tooltip-module__guide-tooltip__overlay___IyrKK","guide-tooltip__overlay--slide":"lc-Tooltip-module__guide-tooltip__overlay--slide___VW8oq","guide-tooltip__overlay--visible":"lc-Tooltip-module__guide-tooltip__overlay--visible___dbdsZ","reports-tooltip":"lc-Tooltip-module__reports-tooltip___amyTo","reports-tooltip__heading":"lc-Tooltip-module__reports-tooltip__heading___FtjvD","reports-tooltip__heading__title":"lc-Tooltip-module__reports-tooltip__heading__title___6TlzE","reports-tooltip__heading__description":"lc-Tooltip-module__reports-tooltip__heading__description___eOQnc","reports-tooltip__content":"lc-Tooltip-module__reports-tooltip__content___jxis9"},a="tooltip",xt=({children:t,className:o,triggerClassName:e,triggerRenderer:_,theme:u,kind:j,placement:F="bottom",isVisible:T,fullSpaceContent:M,onClose:d,onOpen:m,withFadeAnimation:R=!0,transitionDuration:q=200,hoverOnDuration:D,hoverOffDuration:E,transitionDelay:A=0,hoverOnDelay:I,hoverOffDelay:V,triggerOnClick:N=!1,offsetMainAxis:Q=8,referenceElement:f,activationThreshold:z=0,useDismissHookProps:$,useClickHookProps:k,hoverOutDelayTimeout:C=100,arrowOffsetY:K,arrowOffsetX:W,closeOnTriggerBlur:B=!1,floatingStrategy:J})=>{const y=T!==void 0,[L,O]=s.useState(!1),v=s.useRef(null),h=y?T:L,w=j||u,U=Tt(c[a],o,w&&c[`${a}--${w}`],M&&c[`${a}--full-space`]),Z=typeof _=="function",H=i=>{i!==h&&(i?m==null||m():d==null||d(),!y&&O(i))},b=i=>R?i!=null?i:q:0,P=i=>i!=null?i:A,{floatingStyles:X,refs:p,context:r,middlewareData:{arrow:{x:Y,y:G}={}},placement:tt}=l.useFloating({middleware:[l.offset({mainAxis:Q}),l.shift(),l.flip(),l.arrow({element:v})],placement:F,open:h,strategy:J,onOpenChange:H,whileElementsMounted:l.autoUpdate}),ot=l.useHover(r,{move:!1,restMs:z,delay:{open:P(I),close:P(V||C)},enabled:!N,handleClose:B?null:l.safePolygon()}),et=l.useFocus(r),lt=l.useDismiss(r,$),it=l.useRole(r,{role:"tooltip"}),_t=l.useClick(r,k),{isMounted:st,styles:rt}=l.useTransitionStyles(r,{duration:{open:b(D),close:b(E)}}),{status:nt}=l.useTransitionStatus(r),{getReferenceProps:ct,getFloatingProps:pt}=l.useInteractions([ot,et,lt,it,_t]);return s.useEffect(()=>{f&&p.setReference(f)},[p.setReference,f]),s.createElement(s.Fragment,null,s.createElement("div",g(n({ref:p.setReference},ct()),{className:e}),Z?_():_),st&&s.createElement("div",g(n({ref:p.setFloating,style:n(n({},X),rt),className:U},pt()),{"data-status":nt}),s.createElement(yt.Text,{as:"div"},t),s.createElement("div",{ref:v,className:c[`${a}__arrow`],"aria-placement":tt,style:n({},wt(K,W,G,Y))})))};exports.Tooltip=xt;exports.getIconType=ht;exports.styles=c;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var a=require("../Typography.css");const _={"heading-xl":"lc-Typography-module__heading-xl___nhr-6","heading-lg":"lc-Typography-module__heading-lg___XYF7l","heading-md":"lc-Typography-module__heading-md___wHOIs","heading-sm":"lc-Typography-module__heading-sm___nBmTV","heading-xs":"lc-Typography-module__heading-xs___VcZBs","heading-2xs":"lc-Typography-module__heading-2xs___tcrVl","heading-uppercase":"lc-Typography-module__heading-uppercase___cpixD","heading-bold":"lc-Typography-module__heading-bold___ZAPzP","paragraph-md":"lc-Typography-module__paragraph-md___UGoqq","paragraph-sm":"lc-Typography-module__paragraph-sm___QIEFL","paragraph-xs":"lc-Typography-module__paragraph-xs___OUooD","paragraph--bold":"lc-Typography-module__paragraph--bold___9I2wL","paragraph--underline":"lc-Typography-module__paragraph--underline___yFDzp","paragraph--strike":"lc-Typography-module__paragraph--strike___ZDWOj","paragraph--uppercase":"lc-Typography-module__paragraph--uppercase___hdEfX","display-md":"lc-Typography-module__display-md___7eFCF","display-sm":"lc-Typography-module__display-sm___kfNES","display-max":"lc-Typography-module__display-max___vR8yn"};exports.styles=_;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|