@equisoft/design-elements-react 6.1.1-snapshot.20240220183739 → 6.1.1-snapshot.20240220204607
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/bundle.js +12 -25
- package/package.json +2 -2
package/dist/bundle.js
CHANGED
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
position: absolute;
|
|
151
151
|
text-align: center;
|
|
152
152
|
${({$position:e,$offsetX:t,$offsetY:n})=>d(e,t,n)}
|
|
153
|
-
${({$animate:e,$position:t})=>e&&function(e){const t=d(e).transform||"",n=l.keyframes`
|
|
153
|
+
${({$animate:e,$position:t})=>e&&function(e){const t=d(e).transform||"",n=l.keyframes`
|
|
154
154
|
10% { transform: ${t} translateY(-4px); }
|
|
155
155
|
20% { transform: ${t}; }
|
|
156
156
|
`;return l.css`
|
|
@@ -193,7 +193,6 @@
|
|
|
193
193
|
right: 0;
|
|
194
194
|
width: initial;
|
|
195
195
|
|
|
196
|
-
/* stylelint-disable-next-line declaration-block-semicolon-newline-after,rule-empty-line-before */
|
|
197
196
|
${p.StyledNavItem},
|
|
198
197
|
${p.HtmlLink} {
|
|
199
198
|
height: 2.75rem;
|
|
@@ -633,7 +632,6 @@
|
|
|
633
632
|
box-sizing: border-box;
|
|
634
633
|
color: ${({theme:e})=>e.greys.black};
|
|
635
634
|
|
|
636
|
-
/* stylelint-disable-next-line declaration-colon-newline-after */
|
|
637
635
|
${({isMobile:e,theme:t})=>e&&p.css`
|
|
638
636
|
border: 1px solid ${t.main["primary-1.1"]};
|
|
639
637
|
box-shadow: ${t.tokens["focus-box-shadow"]};
|
|
@@ -670,7 +668,6 @@
|
|
|
670
668
|
background-color: ${({theme:e})=>e.main["primary-1.1"]};
|
|
671
669
|
border-radius: 50%;
|
|
672
670
|
|
|
673
|
-
/* stylelint-disable-next-line declaration-colon-newline-after */
|
|
674
671
|
${({isMobile:e,theme:t})=>e?`\n &[tabindex="0"] {\n box-shadow: ${t.tokens["focus-box-shadow"]};\n }\n `:`\n &:focus {\n box-shadow: ${t.tokens["focus-box-shadow"]};\n }\n `};
|
|
675
672
|
|
|
676
673
|
&:hover {
|
|
@@ -1096,7 +1093,6 @@
|
|
|
1096
1093
|
letter-spacing: 0.015rem;
|
|
1097
1094
|
margin: 0;
|
|
1098
1095
|
`;function w({bannerType:e,theme:t}){switch(e){case"alert":return t.component["global-banner-action-button-alert-hover-color"];case"warning":return t.component["global-banner-action-button-warning-hover-color"];case"info":return t.component["global-banner-action-button-info-hover-color"];case"default":return t.component["global-banner-action-button-default-hover-color"]}}const _=(0,u.default)(d.Button).attrs({buttonType:"secondary",inverted:!0})`
|
|
1099
|
-
/* stylelint-disable-next-line declaration-colon-newline-after */
|
|
1100
1096
|
${({bannerType:e,theme:t})=>"warning"===e&&u.css`
|
|
1101
1097
|
border-color: ${t.component["global-banner-action-button-warning-background-color"]};
|
|
1102
1098
|
color: ${t.component["global-banner-action-button-warning-color"]};
|
|
@@ -1114,19 +1110,16 @@
|
|
|
1114
1110
|
`}
|
|
1115
1111
|
}
|
|
1116
1112
|
`,M=(0,u.default)(d.Button).attrs({buttonType:"tertiary",inverted:!0})`
|
|
1117
|
-
|
|
1118
|
-
color: ${({bannerType:e,theme:t})=>"warning"===e&&t.component["global-banner-tertiary-button-color"]};
|
|
1113
|
+
color: ${function({bannerType:e,theme:t}){return"warning"===e?t.component["global-banner-tertiary-button-color"]:null}};
|
|
1119
1114
|
|
|
1120
1115
|
&:focus {
|
|
1121
1116
|
background-color: ${p};
|
|
1122
|
-
|
|
1123
|
-
color: ${({bannerType:e,theme:t})=>"warning"===e&&t.component["global-banner-tertiary-button-focus-color"]};
|
|
1117
|
+
color: ${function({bannerType:e,theme:t}){return"warning"===e?t.component["global-banner-tertiary-button-focus-color"]:null}};
|
|
1124
1118
|
}
|
|
1125
1119
|
|
|
1126
1120
|
&:hover {
|
|
1127
1121
|
background-color: ${function({bannerType:e,theme:t}){switch(e){case"alert":return t.component["global-banner-tertiary-button-alert-hover-background-color"];case"warning":return t.component["global-banner-tertiary-button-warning-hover-background-color"];case"info":return t.component["global-banner-tertiary-button-info-hover-background-color"];case"default":return t.component["global-banner-tertiary-button-default-hover-background-color"]}}};
|
|
1128
|
-
|
|
1129
|
-
color: ${({bannerType:e,theme:t})=>"warning"===e&&t.component["global-banner-tertiary-button-hover-color"]};
|
|
1122
|
+
color: ${function({bannerType:e,theme:t}){return"warning"===e?t.component["global-banner-tertiary-button-hover-color"]:null}};
|
|
1130
1123
|
}
|
|
1131
1124
|
`,E=u.default.div`
|
|
1132
1125
|
display: flex;
|
|
@@ -1863,7 +1856,7 @@
|
|
|
1863
1856
|
flex: 1;
|
|
1864
1857
|
margin-bottom: 0;
|
|
1865
1858
|
|
|
1866
|
-
input {
|
|
1859
|
+
input {
|
|
1867
1860
|
::-ms-reveal {
|
|
1868
1861
|
display: none;
|
|
1869
1862
|
}
|
|
@@ -2180,8 +2173,6 @@
|
|
|
2180
2173
|
background-color: ${({theme:e})=>e.greys.grey};
|
|
2181
2174
|
border-color: ${({theme:e})=>e.greys.black};
|
|
2182
2175
|
|
|
2183
|
-
/* stylelint-disable-next-line declaration-block-semicolon-newline-after,rule-empty-line-before */
|
|
2184
|
-
|
|
2185
2176
|
${t.Description},
|
|
2186
2177
|
${t.Title} {
|
|
2187
2178
|
color: ${({theme:e})=>e.greys.black};
|
|
@@ -2304,7 +2295,7 @@
|
|
|
2304
2295
|
padding-bottom: var(--spacing-half);
|
|
2305
2296
|
padding-left: ${({hasIcon:e})=>e?"1.75rem":"var(--spacing-1x)"};
|
|
2306
2297
|
padding-right: ${({hasReset:e})=>e?"1.75rem":"var(--spacing-1x)"};
|
|
2307
|
-
padding-top: var(--spacing-half);
|
|
2298
|
+
padding-top: var(--spacing-half);
|
|
2308
2299
|
|
|
2309
2300
|
label + & {
|
|
2310
2301
|
margin-top: 0;
|
|
@@ -2356,9 +2347,7 @@
|
|
|
2356
2347
|
display: flex;
|
|
2357
2348
|
`}function y(e,t,n=t){return u.default.section`
|
|
2358
2349
|
background-color: ${t=>t.theme.component[e]};
|
|
2359
|
-
|
|
2360
|
-
border:
|
|
2361
|
-
1px solid ${e=>t?e.theme.component[t]:e.theme.component["sectional-banner-border-color"]};
|
|
2350
|
+
border: 1px solid ${e=>e.theme.component[t||"sectional-banner-border-color"]};
|
|
2362
2351
|
border-radius: var(--border-radius-2x);
|
|
2363
2352
|
box-sizing: border-box;
|
|
2364
2353
|
line-height: ${({isMobile:e})=>g(e)}px;
|
|
@@ -2373,9 +2362,7 @@
|
|
|
2373
2362
|
${e=>(0,h.focusVisibleReset)(e,!0)};
|
|
2374
2363
|
|
|
2375
2364
|
${v} {
|
|
2376
|
-
|
|
2377
|
-
color:
|
|
2378
|
-
${e=>n?e.theme.component[n]:e.theme.component["sectional-banner-icon-color"]};
|
|
2365
|
+
color: ${e=>e.theme.component[n||"sectional-banner-icon-color"]};
|
|
2379
2366
|
flex: 0 0 auto;
|
|
2380
2367
|
height: 1rem;
|
|
2381
2368
|
width: 1rem;
|
|
@@ -2404,7 +2391,7 @@
|
|
|
2404
2391
|
box-shadow: 0 6px 10px 0 rgb(0 0 0 / 10%);
|
|
2405
2392
|
height: calc(100vh - ${({isDesktop:e})=>e?48:56}px);
|
|
2406
2393
|
${({origin:e})=>`${e}: 0`};
|
|
2407
|
-
overflow-x: hidden;
|
|
2394
|
+
overflow-x: hidden;
|
|
2408
2395
|
overflow-y: auto;
|
|
2409
2396
|
position: fixed;
|
|
2410
2397
|
top: ${({isDesktop:e})=>e?48:56}px;
|
|
@@ -2857,7 +2844,7 @@
|
|
|
2857
2844
|
margin-left: var(--spacing-1x);
|
|
2858
2845
|
}
|
|
2859
2846
|
|
|
2860
|
-
${y} {
|
|
2847
|
+
${y} {
|
|
2861
2848
|
margin-right: calc(-1 * var(--spacing-half));
|
|
2862
2849
|
}
|
|
2863
2850
|
|
|
@@ -2952,7 +2939,7 @@
|
|
|
2952
2939
|
${(0,r.focus)({theme:e},!0)}
|
|
2953
2940
|
`;try{t.responsiveInputsStyle.displayName="responsiveInputsStyle",t.responsiveInputsStyle.__docgenInfo={description:"",displayName:"responsiveInputsStyle",props:{theme:{defaultValue:null,description:"",name:"theme",required:!0,type:{name:"ResolvedTheme"}},device:{defaultValue:null,description:"",name:"device",required:!0,type:{name:"DeviceContextProps"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/text-input/styles/inputs.tsx#responsiveInputsStyle"]={docgenInfo:t.responsiveInputsStyle.__docgenInfo,name:"responsiveInputsStyle",path:"src/components/text-input/styles/inputs.tsx#responsiveInputsStyle"})}catch(e){}},49391:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TextInput=void 0;const i=n(97905),o=n(39155),l=r(n(88694)),u=n(4544),s=n(90605),d=n(89129),c=n(52089),m=n(86835),p=n(91043),f=n(76681),h=l.default.input`
|
|
2954
2941
|
${({theme:e,isMobile:t})=>(0,m.inputsStyle)(e,t)}
|
|
2955
|
-
`;t.TextInput=(0,o.forwardRef)(((e,t)=>{var{ariaDescribedBy:n,ariaInvalid:r,className:l,defaultValue:m,disabled:g,hint:v,id:b,inputMode:y,label:w,tooltip:_,name:M,noMargin:E,pattern:k,placeholder:C,required:x,type:S,valid:P,validationErrorMessage:O,value:L,autoComplete:T,onBlur:H,onChange:V,onFocus:q,onKeyUp:D,onKeyDown:j,onMouseUp:A}=e,F=a(e,["ariaDescribedBy","ariaInvalid","className","defaultValue","disabled","hint","id","inputMode","label","tooltip","name","noMargin","pattern","placeholder","required","type","valid","validationErrorMessage","value","autoComplete","onBlur","onChange","onFocus","onKeyUp","onKeyDown","onMouseUp"]);const{isMobile:R}=(0,d.useDeviceContext)(),{t:I}=(0,s.useTranslation)("text-input"),[{validity:z},W]=(0,o.useState)({validity:null==P||P}),N=(0,f.useId)(b),B=(0,u.useDataAttributes)(F),$=(0,p.useAriaConditionalIds)([{id:n},{id:`${N}_invalid`,include:!z},{id:`${N}_hint`,include:!!v}]),Y=(0,o.useCallback)((e=>{void 0===P&&W({validity:e.currentTarget.checkValidity()}),H&&H(e)}),[H,P]),U=(0,o.useCallback)((()=>{void 0===P&&W({validity:!1})}),[P]),K=(0,o.useCallback)((e=>{V&&V(e)}),[V]),G=(0,o.useCallback)((e=>{q&&q(e)}),[q]);return(0,o.useEffect)((()=>{void 0!==P&&W({validity:P})}),[P]),(0,i.jsx)(c.FieldContainer,{className:l,noMargin:E,fieldId:N,label:w,required:x,tooltip:_,valid:z,validationErrorMessage:O||I("validationErrorMessage"),hint:v,"data-testid":"field-container",children:(0,i.jsx)(h,Object.assign({"aria-describedby":$||void 0,"aria-invalid":r,autoComplete:T,"data-testid":"text-input",isMobile:R,defaultValue:m,disabled:g,id:N,inputMode:y,name:M,ref:t,onBlur:Y,onChange:K,onFocus:G,onMouseUp:A,onKeyUp:D,onKeyDown:j,onInvalid:U,pattern:k,placeholder:C,required:x,type:S||"text",value:L},B))})})),t.TextInput.displayName="TextInput";try{t.TextInput.displayName="TextInput",t.TextInput.__docgenInfo={description:"",displayName:"TextInput",props:{ariaDescribedBy:{defaultValue:null,description:"",name:"ariaDescribedBy",required:!1,type:{name:"string"}},ariaInvalid:{defaultValue:null,description:"",name:"ariaInvalid",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},noMargin:{defaultValue:null,description:"Disables default margin",name:"noMargin",required:!1,type:{name:"boolean"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},tooltip:{defaultValue:null,description:"",name:"tooltip",required:!1,type:{name:"TooltipProps"}},pattern:{defaultValue:null,description:"",name:"pattern",required:!1,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"string"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},type:{defaultValue:null,description:"",name:"type",required:!1,type:{name:"string"}},valid:{defaultValue:null,description:"",name:"valid",required:!1,type:{name:"boolean"}},validationErrorMessage:{defaultValue:null,description:"",name:"validationErrorMessage",required:!1,type:{name:"string"}},hint:{defaultValue:null,description:"",name:"hint",required:!1,type:{name:"string"}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"((event: FocusEvent<HTMLInputElement, Element>) => void)"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((event: ChangeEvent<HTMLInputElement>) => void)"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"((event: FocusEvent<HTMLInputElement, Element>) => void)"}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"((event: KeyboardEvent<HTMLInputElement>) => void)"}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"((event: KeyboardEvent<HTMLInputElement>) => void)"}},onMouseUp:{defaultValue:null,description:"",name:"onMouseUp",required:!1,type:{name:"((event: MouseEvent<HTMLInputElement, MouseEvent>) => void)"}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string | number | readonly string[]"}},autoComplete:{defaultValue:null,description:"",name:"autoComplete",required:!1,type:{name:"string"}},inputMode:{defaultValue:null,description:"Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",name:"inputMode",required:!1,type:{name:"enum",value:[{value:'"search"'},{value:'"none"'},{value:'"text"'},{value:'"tel"'},{value:'"url"'},{value:'"email"'},{value:'"numeric"'},{value:'"decimal"'}]}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref<HTMLInputElement>"}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"Key | null"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/text-input/text-input.tsx#TextInput"]={docgenInfo:t.TextInput.__docgenInfo,name:"TextInput",path:"src/components/text-input/text-input.tsx#TextInput"})}catch(e){}},81177:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeWrapper=void 0;const a=n(97905),r=n(88694),i=n(84842),o=n(33798),l=n(57090),u=n(84519);t.ThemeWrapper=({children:e,isolateStyles:t=!1,theme:n})=>{const s=(0,l.mergeTheme)(n||o.equisoftTheme);let d;return d=t?(0,a.jsx)(u.ShadowWrapper,{children:e}):e,(0,i.useStyle)(t),(0,a.jsx)(r.ThemeProvider,{theme:s,children:d})};try{t.ThemeWrapper.displayName="ThemeWrapper",t.ThemeWrapper.__docgenInfo={description:"",displayName:"ThemeWrapper",props:{isolateStyles:{defaultValue:{value:!1},description:"When true, components are mounted in the Shadow DOM",name:"isolateStyles",required:!1,type:{name:"boolean"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"ThemeCustomization"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/theme-wrapper/theme-wrapper.tsx#ThemeWrapper"]={docgenInfo:t.ThemeWrapper.__docgenInfo,name:"ThemeWrapper",path:"src/components/theme-wrapper/theme-wrapper.tsx#ThemeWrapper"})}catch(e){}},89323:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ToastContainer=void 0;const o=n(97905),l=n(39155),u=i(n(88694)),s=n(83203),d=n(32664),c=n(90605),m=n(60926),p=n(89129),f=n(77465),h=u.keyframes`
|
|
2942
|
+
`;t.TextInput=(0,o.forwardRef)(((e,t)=>{var{ariaDescribedBy:n,ariaInvalid:r,className:l,defaultValue:m,disabled:g,hint:v,id:b,inputMode:y,label:w,tooltip:_,name:M,noMargin:E,pattern:k,placeholder:C,required:x,type:S,valid:P,validationErrorMessage:O,value:L,autoComplete:T,onBlur:H,onChange:V,onFocus:q,onKeyUp:D,onKeyDown:j,onMouseUp:A}=e,F=a(e,["ariaDescribedBy","ariaInvalid","className","defaultValue","disabled","hint","id","inputMode","label","tooltip","name","noMargin","pattern","placeholder","required","type","valid","validationErrorMessage","value","autoComplete","onBlur","onChange","onFocus","onKeyUp","onKeyDown","onMouseUp"]);const{isMobile:R}=(0,d.useDeviceContext)(),{t:I}=(0,s.useTranslation)("text-input"),[{validity:z},W]=(0,o.useState)({validity:null==P||P}),N=(0,f.useId)(b),B=(0,u.useDataAttributes)(F),$=(0,p.useAriaConditionalIds)([{id:n},{id:`${N}_invalid`,include:!z},{id:`${N}_hint`,include:!!v}]),Y=(0,o.useCallback)((e=>{void 0===P&&W({validity:e.currentTarget.checkValidity()}),H&&H(e)}),[H,P]),U=(0,o.useCallback)((()=>{void 0===P&&W({validity:!1})}),[P]),K=(0,o.useCallback)((e=>{V&&V(e)}),[V]),G=(0,o.useCallback)((e=>{q&&q(e)}),[q]);return(0,o.useEffect)((()=>{void 0!==P&&W({validity:P})}),[P]),(0,i.jsx)(c.FieldContainer,{className:l,noMargin:E,fieldId:N,label:w,required:x,tooltip:_,valid:z,validationErrorMessage:O||I("validationErrorMessage"),hint:v,"data-testid":"field-container",children:(0,i.jsx)(h,Object.assign({"aria-describedby":$||void 0,"aria-invalid":r,autoComplete:T,"data-testid":"text-input",isMobile:R,defaultValue:m,disabled:g,id:N,inputMode:y,name:M,ref:t,onBlur:Y,onChange:K,onFocus:G,onMouseUp:A,onKeyUp:D,onKeyDown:j,onInvalid:U,pattern:k,placeholder:C,required:x,type:S||"text",value:L},B))})})),t.TextInput.displayName="TextInput";try{t.TextInput.displayName="TextInput",t.TextInput.__docgenInfo={description:"",displayName:"TextInput",props:{ariaDescribedBy:{defaultValue:null,description:"",name:"ariaDescribedBy",required:!1,type:{name:"string"}},ariaInvalid:{defaultValue:null,description:"",name:"ariaInvalid",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},noMargin:{defaultValue:null,description:"Disables default margin",name:"noMargin",required:!1,type:{name:"boolean"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},tooltip:{defaultValue:null,description:"",name:"tooltip",required:!1,type:{name:"TooltipProps"}},pattern:{defaultValue:null,description:"",name:"pattern",required:!1,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"string"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},type:{defaultValue:null,description:"",name:"type",required:!1,type:{name:"string"}},valid:{defaultValue:null,description:"",name:"valid",required:!1,type:{name:"boolean"}},validationErrorMessage:{defaultValue:null,description:"",name:"validationErrorMessage",required:!1,type:{name:"string"}},hint:{defaultValue:null,description:"",name:"hint",required:!1,type:{name:"string"}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"((event: FocusEvent<HTMLInputElement, Element>) => void)"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((event: ChangeEvent<HTMLInputElement>) => void)"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"((event: FocusEvent<HTMLInputElement, Element>) => void)"}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"((event: KeyboardEvent<HTMLInputElement>) => void)"}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"((event: KeyboardEvent<HTMLInputElement>) => void)"}},onMouseUp:{defaultValue:null,description:"",name:"onMouseUp",required:!1,type:{name:"((event: MouseEvent<HTMLInputElement, MouseEvent>) => void)"}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string | number | readonly string[]"}},autoComplete:{defaultValue:null,description:"",name:"autoComplete",required:!1,type:{name:"string"}},inputMode:{defaultValue:null,description:"Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",name:"inputMode",required:!1,type:{name:"enum",value:[{value:'"search"'},{value:'"none"'},{value:'"text"'},{value:'"tel"'},{value:'"url"'},{value:'"email"'},{value:'"numeric"'},{value:'"decimal"'}]}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref<HTMLInputElement>"}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"Key | null"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/text-input/text-input.tsx#TextInput"]={docgenInfo:t.TextInput.__docgenInfo,name:"TextInput",path:"src/components/text-input/text-input.tsx#TextInput"})}catch(e){}},81177:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeWrapper=void 0;const a=n(97905),r=n(88694),i=n(84842),o=n(33798),l=n(57090),u=n(84519);t.ThemeWrapper=({children:e,isolateStyles:t=!1,theme:n})=>{const s=(0,l.mergeTheme)(n||o.equisoftTheme);let d;return d=t?(0,a.jsx)(u.ShadowWrapper,{children:e}):e,(0,i.useStyle)(t),(0,a.jsx)(r.ThemeProvider,{theme:s,children:d})};try{t.ThemeWrapper.displayName="ThemeWrapper",t.ThemeWrapper.__docgenInfo={description:"",displayName:"ThemeWrapper",props:{isolateStyles:{defaultValue:{value:!1},description:"When true, components are mounted in the Shadow DOM",name:"isolateStyles",required:!1,type:{name:"boolean"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"ThemeCustomization"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/theme-wrapper/theme-wrapper.tsx#ThemeWrapper"]={docgenInfo:t.ThemeWrapper.__docgenInfo,name:"ThemeWrapper",path:"src/components/theme-wrapper/theme-wrapper.tsx#ThemeWrapper"})}catch(e){}},89323:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ToastContainer=void 0;const o=n(97905),l=n(39155),u=i(n(88694)),s=n(83203),d=n(32664),c=n(90605),m=n(60926),p=n(89129),f=n(77465),h=u.keyframes`
|
|
2956
2943
|
from {
|
|
2957
2944
|
transform: translateX(-100%);
|
|
2958
2945
|
}
|
|
@@ -2960,7 +2947,7 @@
|
|
|
2960
2947
|
to {
|
|
2961
2948
|
transform: translateX(0);
|
|
2962
2949
|
}
|
|
2963
|
-
`,g=u.keyframes`
|
|
2950
|
+
`,g=u.keyframes`
|
|
2964
2951
|
from {
|
|
2965
2952
|
transform: translateX(100%);
|
|
2966
2953
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equisoft/design-elements-react",
|
|
3
|
-
"version": "6.1.1-snapshot.
|
|
3
|
+
"version": "6.1.1-snapshot.20240220204607",
|
|
4
4
|
"description": "React implementation of the Equisoft design system.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"main": "dist/bundle.js",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"sass-loader": "~14.1.0",
|
|
95
95
|
"style-loader": "^3.3.2",
|
|
96
96
|
"styled-components": "^5.3.10",
|
|
97
|
-
"stylelint": "^
|
|
97
|
+
"stylelint": "^16.2.1",
|
|
98
98
|
"ts-jest": "^29.1.0",
|
|
99
99
|
"ts-loader": "^9.4.2",
|
|
100
100
|
"ts-mockito": "^2.6.1",
|