@happeouikit/form-elements 2.4.1 → 2.4.2
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 +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/package.json +2 -3
package/dist/index.cjs.js
CHANGED
|
@@ -650,7 +650,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
650
650
|
opacity: 0.4;
|
|
651
651
|
}
|
|
652
652
|
`}
|
|
653
|
-
`,ms=({text:e,closeCallback:t,isUppercase:r,...n})=>{const[a,i]=m.useState(!0),o=()=>{i(!1),t&&t()};return a&&m.createElement(yh,{...n},m.createElement(xh,{bold:!0,uppercase:r},e),m.createElement(Ih,{onClick:o},m.createElement(Ae.IconClose,{width:"16px",height:"16px"})))};ms.propTypes={text:B.node.isRequired,closeCallback:B.func,isUppercase:B.bool};const yh=S.div`
|
|
653
|
+
`,ms=({text:e,closeCallback:t,isUppercase:r,...n})=>{const[a,i]=m.useState(!0),o=()=>{i(!1),t&&t()};return a&&m.createElement(yh,{...n},m.createElement(xh,{bold:!0,uppercase:r},e),m.createElement(Ih,{onClick:o,role:"button",tabIndex:"0"},m.createElement(Ae.IconClose,{width:"16px",height:"16px"})))};ms.propTypes={text:B.node.isRequired,closeCallback:B.func,isUppercase:B.bool};const yh=S.div`
|
|
654
654
|
display: inline;
|
|
655
655
|
background: ${W.active};
|
|
656
656
|
height: 24px;
|