@uniformdev/design-system 16.2.1-nuxt.274 → 16.2.1-nuxt.338

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.d.ts CHANGED
@@ -482,8 +482,10 @@ declare type HeadingProps = {
482
482
  declare const Heading: ({ level, children, ...hAttributes }: HeadingProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
483
483
 
484
484
  declare type ParagraphProps = {
485
- /** adds child elements to the paragraph tag */
486
- children: React$1.ReactNode;
485
+ /** (optional) adds child elements to the paragraph tag */
486
+ children?: React$1.ReactNode;
487
+ /** (optional) sets raw html values */
488
+ htmlContent?: string | string[];
487
489
  /** (optional) allows user to set overriding class names or emotion styles */
488
490
  className?: SerializedStyles | string;
489
491
  } & React$1.HTMLAttributes<HTMLParagraphElement>;
@@ -491,7 +493,7 @@ declare type ParagraphProps = {
491
493
  * Component for generic paragraph tags
492
494
  * @example <Paragraph>This is the text that was be inside the paragraph tag.</Paragraph>
493
495
  */
494
- declare const Paragraph: ({ className, children, ...pAttributes }: ParagraphProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
496
+ declare const Paragraph: ({ className, htmlContent, children, ...pAttributes }: ParagraphProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
495
497
 
496
498
  interface RouteProps {
497
499
  as: string;