{"version":3,"sources":["../src/features/textColor/feature.server.ts","../src/features/textSize/feature.server.ts","../src/features/textLetterSpacing/feature.server.ts","../src/features/textLineHeight/feature.server.ts","../src/features/textFontFamily/feature.server.ts"],"sourcesContent":["import { createServerFeature } from \"@payloadcms/richtext-lexical\";\n\nimport { type TextColorFeatureProps } from \"./feature.client\";\n\nexport const TextColorFeature = createServerFeature<\n  TextColorFeatureProps,\n  TextColorFeatureProps,\n  TextColorFeatureProps\n>({\n  feature({ props }) {\n    return {\n      ClientFeature: \"payload-lexical-typography/client#TextColorClientFeature\",\n      clientFeatureProps: {\n        colors: props?.colors ?? [],\n        colorPicker: props?.colorPicker,\n        hideAttribution: props?.hideAttribution ?? false,\n        listView: props?.listView,\n      },\n    };\n  },\n  key: \"textColor\",\n});\n","import { createServerFeature } from \"@payloadcms/richtext-lexical\";\n\nimport { type TextSizeFeatureProps } from \"./feature.client\";\n\nexport const TextSizeFeature = createServerFeature<\n  TextSizeFeatureProps,\n  TextSizeFeatureProps,\n  TextSizeFeatureProps\n>({\n  feature({ props }) {\n    return {\n      ClientFeature: \"payload-lexical-typography/client#TextSizeClientFeature\",\n      clientFeatureProps: {\n        hideAttribution: props?.hideAttribution,\n        sizes: props?.sizes,\n        method: props?.method,\n        scroll: props?.scroll,\n        customSize: props?.customSize,\n      },\n    };\n  },\n  key: \"textSize\",\n});\n","import { createServerFeature } from \"@payloadcms/richtext-lexical\";\n\nimport { type TextLetterSpacingFeatureProps } from \"./feature.client\";\n\nexport const TextLetterSpacingFeature = createServerFeature<\n  TextLetterSpacingFeatureProps,\n  TextLetterSpacingFeatureProps,\n  TextLetterSpacingFeatureProps\n>({\n  feature({ props }) {\n    return {\n      ClientFeature: \"payload-lexical-typography/client#TextLetterSpacingClientFeature\",\n      clientFeatureProps: {\n        hideAttribution: props?.hideAttribution,\n        spacings: props?.spacings,\n        method: props?.method,\n        scroll: props?.scroll,\n        customSpacing: props?.customSpacing,\n      },\n    };\n  },\n  key: \"textLetterSpacing\",\n});","import { createServerFeature } from \"@payloadcms/richtext-lexical\";\n\nimport type { TextLineHeightFeatureProps } from \"./feature.client\";\n\nexport const TextLineHeightFeature = createServerFeature<\n  TextLineHeightFeatureProps,\n  TextLineHeightFeatureProps,\n  TextLineHeightFeatureProps\n>({\n  feature({ props }) {\n    return {\n      ClientFeature: \"payload-lexical-typography/client#TextLineHeightClientFeature\",\n      clientFeatureProps: {\n        hideAttribution: props?.hideAttribution,\n        lineHeights: props?.lineHeights,\n        scroll: props?.scroll,\n        customLineHeight: props?.customLineHeight,\n        method: props?.method,\n      },\n    };\n  },\n  key: \"textLineHeight\",\n});\n","import { createServerFeature } from \"@payloadcms/richtext-lexical\";\n\nimport { type TextFontFamilyFeatureProps } from \"./feature.client\";\n\nexport const TextFontFamilyFeature = createServerFeature<\n  TextFontFamilyFeatureProps,\n  TextFontFamilyFeatureProps,\n  TextFontFamilyFeatureProps\n>({\n  feature({ props }) {\n    return {\n      ClientFeature: \"payload-lexical-typography/client#TextFontFamilyClientFeature\",\n      clientFeatureProps: {\n        hideAttribution: props?.hideAttribution,\n        fontFamilies: props?.fontFamilies,\n        method: props?.method,\n        scroll: props?.scroll,\n        customFontFamily: props?.customFontFamily,\n      },\n    };\n  },\n  key: \"textFontFamily\",\n});"],"mappings":";AAAA,SAAS,2BAA2B;AAI7B,IAAM,mBAAmB,oBAI9B;AAAA,EACA,QAAQ,EAAE,MAAM,GAAG;AACjB,WAAO;AAAA,MACL,eAAe;AAAA,MACf,oBAAoB;AAAA,QAClB,QAAQ,OAAO,UAAU,CAAC;AAAA,QAC1B,aAAa,OAAO;AAAA,QACpB,iBAAiB,OAAO,mBAAmB;AAAA,QAC3C,UAAU,OAAO;AAAA,MACnB;AAAA,IACF;AAAA,EACF;AAAA,EACA,KAAK;AACP,CAAC;;;ACrBD,SAAS,uBAAAA,4BAA2B;AAI7B,IAAM,kBAAkBA,qBAI7B;AAAA,EACA,QAAQ,EAAE,MAAM,GAAG;AACjB,WAAO;AAAA,MAC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createServerFeature","createServerFeature"]}