@equisoft/design-elements-react 5.6.1-snapshot.20230926180113 → 5.6.1-snapshot.20230928011348
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 +2 -2
- package/package.json +1 -1
package/dist/bundle.js
CHANGED
|
@@ -955,7 +955,7 @@
|
|
|
955
955
|
`,d=i.default.div`
|
|
956
956
|
align-items: center;
|
|
957
957
|
display: flex;
|
|
958
|
-
`;t.InvalidField=({controlId:e,feedbackMsg:t,noIcon:n})=>{const{isMobile:a}=(0,o.useDeviceContext)();return(0,r.jsxs)(u,{"aria-live":"polite",id:`${e}_invalid`,isMobile:a,role:"alert",children:[!n&&(0,r.jsx)(d,{children:(0,r.jsx)(l.Icon,{name:"
|
|
958
|
+
`;t.InvalidField=({controlId:e,feedbackMsg:t,noIcon:n})=>{const{isMobile:a}=(0,o.useDeviceContext)();return(0,r.jsxs)(u,{"aria-live":"polite",id:`${e}_invalid`,isMobile:a,role:"alert",children:[!n&&(0,r.jsx)(d,{children:(0,r.jsx)(l.Icon,{name:"alertOctagon",size:a?"24":"16"})}),(0,r.jsx)(s,{children:t})]})}},7537: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.FieldContainer=void 0;const i=n(348),o=r(n(1608)),l=n(6007),u=n(9858),s=n(4644),d=o.default.div`
|
|
959
959
|
margin: ${({noMargin:e})=>e?"0":"0 0 var(--spacing-3x)"};
|
|
960
960
|
|
|
961
961
|
input,
|
|
@@ -1722,7 +1722,7 @@
|
|
|
1722
1722
|
`,d=i.default.span`
|
|
1723
1723
|
line-height: 1.25rem;
|
|
1724
1724
|
position: relative;
|
|
1725
|
-
`;t.PasswordRule=({label:e,isValid:t,isEmpty:n})=>{const{t:a}=(0,l.useTranslation)("common");let i=null;return n||(i=t?(0,r.jsx)(s,{"aria-hidden":"true",focusable:!1,name:"check",size:"16"}):(0,r.jsx)(s,{"aria-label":`${a("error")},`,focusable:!0,name:"
|
|
1725
|
+
`;t.PasswordRule=({label:e,isValid:t,isEmpty:n})=>{const{t:a}=(0,l.useTranslation)("common");let i=null;return n||(i=t?(0,r.jsx)(s,{"aria-hidden":"true",focusable:!1,name:"check",size:"16"}):(0,r.jsx)(s,{"aria-label":`${a("error")},`,focusable:!0,name:"alertOctagon",role:"img",size:"16"})),(0,r.jsxs)(u,{isEmpty:n,isSuccess:t,children:[i,(0,r.jsx)(d,{children:e})]})};try{t.PasswordRule.displayName="PasswordRule",t.PasswordRule.__docgenInfo={description:"",displayName:"PasswordRule",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},isEmpty:{defaultValue:null,description:"",name:"isEmpty",required:!0,type:{name:"boolean"}},isValid:{defaultValue:null,description:"",name:"isValid",required:!0,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/password-creation-input/password-rule.tsx#PasswordRule"]={docgenInfo:t.PasswordRule.__docgenInfo,name:"PasswordRule",path:"src/components/password-creation-input/password-rule.tsx#PasswordRule"})}catch(e){}},4231:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PasswordStrengthContainer=void 0;const r=n(348),i=a(n(1608)),o=n(5149),l=n(1274),u=n(3904),s=i.default.div`
|
|
1726
1726
|
color: ${({theme:e})=>e.greys["dark-grey"]};
|
|
1727
1727
|
font-size: 0.75rem;
|
|
1728
1728
|
line-height: 1.25rem;
|
package/package.json
CHANGED