@frontify/fondue 12.0.0-beta.320 → 12.0.0-beta.322

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.
@@ -1,15 +1,15 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { MARK_CODE as n } from "@udecode/plate";
3
- import { MarkupElement as m } from "../MarkupElement.es.js";
4
- const s = "tw-rounded tw-bg-box-neutral tw-text-box-neutral-inverse tw-m-0 tw-px-[0.2em] tw-font-mono tw-text-[85%]", p = ({ attributes: e, children: t }) => /* @__PURE__ */ r("span", { ...e, className: s, children: t });
5
- class l extends m {
6
- constructor(t = n, o = p) {
2
+ import { MARK_CODE as m } from "@udecode/plate";
3
+ import { MarkupElement as n } from "../MarkupElement.es.js";
4
+ const s = "tw-rounded tw-bg-box-neutral tw-text-violet-90 tw-m-0 tw-px-[0.2em] tw-font-mono tw-text-[85%]", p = ({ attributes: e, children: t }) => /* @__PURE__ */ r("span", { ...e, className: s, children: t });
5
+ class w extends n {
6
+ constructor(t = m, o = p) {
7
7
  super(t, o);
8
8
  }
9
9
  }
10
10
  export {
11
11
  s as CODE_CLASSES,
12
- l as CodeMarkupElement,
12
+ w as CodeMarkupElement,
13
13
  p as CodeMarkupElementNode
14
14
  };
15
15
  //# sourceMappingURL=CodeMarkupElement.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CodeMarkupElement.es.js","sources":["../../../../../src/components/RichTextEditor/Plugins/CodePlugin/CodeMarkupElement.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { MARK_CODE, PlateRenderLeafProps } from '@udecode/plate';\nimport { MarkupElement } from '../MarkupElement';\n\nexport const CODE_CLASSES =\n 'tw-rounded tw-bg-box-neutral tw-text-box-neutral-inverse tw-m-0 tw-px-[0.2em] tw-font-mono tw-text-[85%]';\n\nexport const CodeMarkupElementNode = ({ attributes, children }: PlateRenderLeafProps) => (\n <span {...attributes} className={CODE_CLASSES}>\n {children}\n </span>\n);\n\nexport class CodeMarkupElement extends MarkupElement {\n constructor(id = MARK_CODE, node = CodeMarkupElementNode) {\n super(id, node);\n }\n}\n"],"names":["CODE_CLASSES","CodeMarkupElementNode","attributes","children","jsx","CodeMarkupElement","MarkupElement","id","MARK_CODE","node"],"mappings":";;;AAKO,MAAMA,IACT,4GAESC,IAAwB,CAAC,EAAE,YAAAC,GAAY,UAAAC,EAAS,MACxD,gBAAAC,EAAA,QAAA,EAAM,GAAGF,GAAY,WAAWF,GAC5B,UAAAG,EACL,CAAA;AAGG,MAAME,UAA0BC,EAAc;AAAA,EACjD,YAAYC,IAAKC,GAAWC,IAAOR,GAAuB;AACtD,UAAMM,GAAIE,CAAI;AAAA,EAClB;AACJ;"}
1
+ {"version":3,"file":"CodeMarkupElement.es.js","sources":["../../../../../src/components/RichTextEditor/Plugins/CodePlugin/CodeMarkupElement.tsx"],"sourcesContent":["/* (c) Copyright Frontify Ltd., all rights reserved. */\n\nimport { MARK_CODE, PlateRenderLeafProps } from '@udecode/plate';\nimport { MarkupElement } from '../MarkupElement';\n\nexport const CODE_CLASSES =\n 'tw-rounded tw-bg-box-neutral tw-text-violet-90 tw-m-0 tw-px-[0.2em] tw-font-mono tw-text-[85%]';\n\nexport const CodeMarkupElementNode = ({ attributes, children }: PlateRenderLeafProps) => (\n <span {...attributes} className={CODE_CLASSES}>\n {children}\n </span>\n);\n\nexport class CodeMarkupElement extends MarkupElement {\n constructor(id = MARK_CODE, node = CodeMarkupElementNode) {\n super(id, node);\n }\n}\n"],"names":["CODE_CLASSES","CodeMarkupElementNode","attributes","children","jsx","CodeMarkupElement","MarkupElement","id","MARK_CODE","node"],"mappings":";;;AAKO,MAAMA,IACT,kGAESC,IAAwB,CAAC,EAAE,YAAAC,GAAY,UAAAC,EAAS,MACxD,gBAAAC,EAAA,QAAA,EAAM,GAAGF,GAAY,WAAWF,GAC5B,UAAAG,EACL,CAAA;AAGG,MAAME,UAA0BC,EAAc;AAAA,EACjD,YAAYC,IAAKC,GAAWC,IAAOR,GAAuB;AACtD,UAAMM,GAAIE,CAAI;AAAA,EAClB;AACJ;"}
@@ -155,3 +155,9 @@
155
155
  color: var(--text-color-disabled);
156
156
  }
157
157
 
158
+ /* reset styles injected by the library */
159
+ .react-datepicker__children-container {
160
+ width: 100%;
161
+ margin: 0;
162
+ padding: 0;
163
+ }