Skip to content

Commit

Permalink
Bumping package versions in email-builder and editor-sample
Browse files Browse the repository at this point in the history
  • Loading branch information
cohitre committed May 31, 2024
1 parent e00fd58 commit 886259b
Show file tree
Hide file tree
Showing 5 changed files with 117 additions and 82 deletions.
141 changes: 81 additions & 60 deletions packages/editor-sample/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions packages/editor-sample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.15.10",
"@mui/material": "^5.15.10",
"@usewaypoint/block-avatar": "^0.0.1",
"@usewaypoint/block-button": "^0.0.2",
"@usewaypoint/block-columns-container": "^0.0.2",
"@usewaypoint/block-container": "^0.0.1",
"@usewaypoint/block-divider": "^0.0.3",
"@usewaypoint/block-heading": "^0.0.2",
"@usewaypoint/block-html": "^0.0.2",
"@usewaypoint/block-image": "^0.0.4",
"@usewaypoint/block-spacer": "^0.0.2",
"@usewaypoint/block-text": "^0.0.2",
"@usewaypoint/document-core": "^0.0.4",
"@usewaypoint/email-builder": "^0.0.3",
"@usewaypoint/block-avatar": "^0.0.3",
"@usewaypoint/block-button": "^0.0.3",
"@usewaypoint/block-columns-container": "^0.0.3",
"@usewaypoint/block-container": "^0.0.2",
"@usewaypoint/block-divider": "^0.0.4",
"@usewaypoint/block-heading": "^0.0.3",
"@usewaypoint/block-html": "^0.0.3",
"@usewaypoint/block-image": "^0.0.5",
"@usewaypoint/block-spacer": "^0.0.3",
"@usewaypoint/block-text": "^0.0.4",
"@usewaypoint/document-core": "^0.0.6",
"@usewaypoint/email-builder": "^0.0.5",
"highlight.js": "^11.9.0",
"prettier": "^3.2.5",
"react": "^18.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import React, { useState } from 'react';
import { TextProps, TextPropsSchema } from '@usewaypoint/block-text';

import BaseSidebarPanel from './helpers/BaseSidebarPanel';
import BooleanInput from './helpers/inputs/BooleanInput';
import TextInput from './helpers/inputs/TextInput';
import MultiStylePropertyPanel from './helpers/style-inputs/MultiStylePropertyPanel';

Expand Down Expand Up @@ -31,6 +32,11 @@ export default function TextSidebarPanel({ data, setData }: TextSidebarPanelProp
defaultValue={data.props?.text ?? ''}
onChange={(text) => updateData({ ...data, props: { ...data.props, text } })}
/>
<BooleanInput
label="Markdown"
defaultValue={false}
onChange={(markdown) => updateData({ ...data, props: { ...data.props, markdown } })}
/>

<MultiStylePropertyPanel
names={['color', 'backgroundColor', 'fontFamily', 'fontSize', 'fontWeight', 'textAlign', 'padding']}
Expand Down
24 changes: 16 additions & 8 deletions packages/email-builder/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/email-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@usewaypoint/email-builder",
"version": "0.0.5",
"version": "0.0.6",
"description": "React component to render email messages",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down Expand Up @@ -35,7 +35,7 @@
"@usewaypoint/block-html": "^0.0.3",
"@usewaypoint/block-image": "^0.0.5",
"@usewaypoint/block-spacer": "^0.0.3",
"@usewaypoint/block-text": "^0.0.3",
"@usewaypoint/block-text": "^0.0.4",
"@usewaypoint/document-core": "^0.0.6"
}
}

0 comments on commit 886259b

Please sign in to comment.