Liferay.Loader.define("style-book-web@2.0.76/js/style-book-editor/frontend_tokens/TextFrontendToken",["module","exports","require","@frontend-taglib-clay$clayui/form","@liferay/layout-content-page-editor-web","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function TextFrontendToken({frontendToken:e,onValueSelect:t,value:r}){const{label:l}=e,[u,i]=(0,a.useControlledState)(r),f=(0,a.useId)();return o.default.createElement(n.default.Group,{small:!0},o.default.createElement("label",{htmlFor:f},l),o.default.createElement(n.ClayInput,{id:f,onBlur:()=>{u!==r&&t(u)},onChange:e=>{i(e.target.value)},type:"text",value:u}))};var n=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=n?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}r.default=e,t&&t.set(e,r);return r}(r("@frontend-taglib-clay$clayui/form")),a=r("@liferay/layout-content-page-editor-web"),o=(_interopRequireDefault(r("liferay!frontend-js-react-web$prop-types")),_interopRequireDefault(r("liferay!frontend-js-react-web$react")));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}}}));
//# sourceMappingURL=TextFrontendToken.js.map