@appquality/unguess-design-system 3.1.68 → 3.1.69--canary.d2f9e4a.0
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/.github/dependabot.yml +11 -11
- package/CHANGELOG.md +0 -14
- package/build/index.js +46 -45
- package/build/stories/chat/_types.d.ts +1 -1
- package/package.json +1 -1
package/.github/dependabot.yml
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# To get started with Dependabot version updates, you'll need to specify which
|
|
2
|
-
# package ecosystems to update and where the package manifests are located.
|
|
3
|
-
# Please see the documentation for all configuration options:
|
|
4
|
-
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
5
|
-
|
|
6
|
-
version: 2
|
|
7
|
-
updates:
|
|
8
|
-
- package-ecosystem: "yarn"
|
|
9
|
-
directory: "/" # Location of package manifests
|
|
10
|
-
schedule:
|
|
11
|
-
interval: "daily"
|
|
1
|
+
# To get started with Dependabot version updates, you'll need to specify which
|
|
2
|
+
# package ecosystems to update and where the package manifests are located.
|
|
3
|
+
# Please see the documentation for all configuration options:
|
|
4
|
+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
5
|
+
|
|
6
|
+
version: 2
|
|
7
|
+
updates:
|
|
8
|
+
- package-ecosystem: "yarn"
|
|
9
|
+
directory: "/" # Location of package manifests
|
|
10
|
+
schedule:
|
|
11
|
+
interval: "daily"
|
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
# v3.1.68 (Wed Jan 24 2024)
|
|
2
|
-
|
|
3
|
-
#### 🐛 Bug Fix
|
|
4
|
-
|
|
5
|
-
- Add email to mentionList ✨ [#307](https://github.com/AppQuality/unguess-design-system/pull/307) ([@iDome89](https://github.com/iDome89) [@cannarocks](https://github.com/cannarocks))
|
|
6
|
-
- fix: added email to mention [#306](https://github.com/AppQuality/unguess-design-system/pull/306) ([@iDome89](https://github.com/iDome89))
|
|
7
|
-
|
|
8
|
-
#### Authors: 2
|
|
9
|
-
|
|
10
|
-
- [@iDome89](https://github.com/iDome89)
|
|
11
|
-
- Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
1
|
# v3.1.67 (Wed Jan 24 2024)
|
|
16
2
|
|
|
17
3
|
#### 🐛 Bug Fix
|
package/build/index.js
CHANGED
|
@@ -3165,7 +3165,7 @@ const ChatBoxContainer = styled__default["default"].div `
|
|
|
3165
3165
|
*/
|
|
3166
3166
|
const CommentBox = (_a) => {
|
|
3167
3167
|
var { placeholderOptions } = _a, props = __rest(_a, ["placeholderOptions"]);
|
|
3168
|
-
const { children,
|
|
3168
|
+
const { children, hasFloatingMenu, hasButtonsMenu, bubbleOptions, i18n } = props;
|
|
3169
3169
|
const { editor, setEditor, mentionableUsers, triggerSave } = useChatContext();
|
|
3170
3170
|
const ext = editorExtensions({ placeholderOptions, mentionableUsers });
|
|
3171
3171
|
const ed = react.useEditor(Object.assign({ extensions: ext, content: children || "", editorProps: {
|
|
@@ -3184,8 +3184,9 @@ const CommentBox = (_a) => {
|
|
|
3184
3184
|
};
|
|
3185
3185
|
if (!ed)
|
|
3186
3186
|
return null;
|
|
3187
|
+
ed.on("create", ({ editor }) => setEditor(editor));
|
|
3187
3188
|
ed.on("update", ({ editor }) => setEditor(editor));
|
|
3188
|
-
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
3189
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [hasFloatingMenu && (jsxRuntime.jsx(FloatingMenu, { editor: ed, tippyOptions: Object.assign({}, bubbleOptions) })), jsxRuntime.jsx(ChatBoxContainer, { children: jsxRuntime.jsx(EditorContainer$1, Object.assign({ editable: true, style: { marginLeft: 0 } }, { children: jsxRuntime.jsx(react.EditorContent, { editor: ed, onKeyDown: onKeyDown }) })) }), hasButtonsMenu && jsxRuntime.jsx(CommentBar, { editor: ed, i18n: i18n })] }));
|
|
3189
3190
|
};
|
|
3190
3191
|
|
|
3191
3192
|
const CommentCard = styled.styled(Card) `
|
|
@@ -3885,12 +3886,12 @@ const UgToggle = styled__default["default"](reactForms.Toggle) ``;
|
|
|
3885
3886
|
**/
|
|
3886
3887
|
const Toggle = (props) => jsxRuntime.jsx(UgToggle, Object.assign({}, props));
|
|
3887
3888
|
|
|
3888
|
-
const StyledCol$1 = styled__default["default"](reactGrid.Col) `
|
|
3889
|
-
margin-bottom: ${theme.space.lg};
|
|
3890
|
-
|
|
3891
|
-
@media screen and (max-width: ${theme.breakpoints.sm}) {
|
|
3892
|
-
margin-bottom: ${theme.space.md};
|
|
3893
|
-
}
|
|
3889
|
+
const StyledCol$1 = styled__default["default"](reactGrid.Col) `
|
|
3890
|
+
margin-bottom: ${theme.space.lg};
|
|
3891
|
+
|
|
3892
|
+
@media screen and (max-width: ${theme.breakpoints.sm}) {
|
|
3893
|
+
margin-bottom: ${theme.space.md};
|
|
3894
|
+
}
|
|
3894
3895
|
`;
|
|
3895
3896
|
const Col = (props) => jsxRuntime.jsx(StyledCol$1, Object.assign({}, props));
|
|
3896
3897
|
|
|
@@ -5921,47 +5922,47 @@ Slider.Slide = Slide;
|
|
|
5921
5922
|
Slider.PrevButton = PrevButton;
|
|
5922
5923
|
Slider.NextButton = NextButton;
|
|
5923
5924
|
|
|
5924
|
-
const UgStep = styled__default["default"](reactAccordions.Stepper.Step) `
|
|
5925
|
-
svg {
|
|
5926
|
-
color: ${({ theme }) => theme.palette.green[700]};
|
|
5927
|
-
}
|
|
5925
|
+
const UgStep = styled__default["default"](reactAccordions.Stepper.Step) `
|
|
5926
|
+
svg {
|
|
5927
|
+
color: ${({ theme }) => theme.palette.green[700]};
|
|
5928
|
+
}
|
|
5928
5929
|
`;
|
|
5929
5930
|
const UgLabel = styled__default["default"](reactAccordions.Stepper.Label) ``;
|
|
5930
|
-
const UgStepper = styled__default["default"](reactAccordions.Stepper) `
|
|
5931
|
-
div[data-garden-id="accordions.step_icon"] {
|
|
5932
|
-
background-color: ${({ theme }) => theme.palette.grey[200]};
|
|
5933
|
-
color: ${({ theme }) => theme.palette.grey[800]};
|
|
5934
|
-
font-weight: bold;
|
|
5935
|
-
}
|
|
5936
|
-
|
|
5931
|
+
const UgStepper = styled__default["default"](reactAccordions.Stepper) `
|
|
5932
|
+
div[data-garden-id="accordions.step_icon"] {
|
|
5933
|
+
background-color: ${({ theme }) => theme.palette.grey[200]};
|
|
5934
|
+
color: ${({ theme }) => theme.palette.grey[800]};
|
|
5935
|
+
font-weight: bold;
|
|
5936
|
+
}
|
|
5937
|
+
|
|
5937
5938
|
${(props) => props.activeIndex !== undefined &&
|
|
5938
|
-
`
|
|
5939
|
-
${UgStep}:nth-child(${props.activeIndex + 1}) {
|
|
5940
|
-
|
|
5941
|
-
div[data-garden-id="accordions.step_icon"] {
|
|
5942
|
-
background-color: ${props.theme.palette.blue[600]};
|
|
5943
|
-
color: white;
|
|
5944
|
-
}
|
|
5945
|
-
|
|
5946
|
-
${UgLabel} {
|
|
5947
|
-
font-weight: 500;
|
|
5948
|
-
color: ${props.theme.palette.blue[600]};
|
|
5949
|
-
}
|
|
5950
|
-
}
|
|
5951
|
-
`}
|
|
5952
|
-
`;
|
|
5953
|
-
const UgContent = styled__default["default"](reactAccordions.Stepper.Content) `
|
|
5954
|
-
padding: ${({ theme }) => `${theme.space.sm} ${theme.space.sm} ${theme.space.sm} 24px`};
|
|
5955
|
-
margin-top: 0;
|
|
5956
|
-
margin-bottom: 0;
|
|
5957
|
-
> div {
|
|
5958
|
-
color: ${({ theme }) => theme.palette.grey[600]};
|
|
5959
|
-
}
|
|
5939
|
+
`
|
|
5940
|
+
${UgStep}:nth-child(${props.activeIndex + 1}) {
|
|
5941
|
+
|
|
5942
|
+
div[data-garden-id="accordions.step_icon"] {
|
|
5943
|
+
background-color: ${props.theme.palette.blue[600]};
|
|
5944
|
+
color: white;
|
|
5945
|
+
}
|
|
5946
|
+
|
|
5947
|
+
${UgLabel} {
|
|
5948
|
+
font-weight: 500;
|
|
5949
|
+
color: ${props.theme.palette.blue[600]};
|
|
5950
|
+
}
|
|
5951
|
+
}
|
|
5952
|
+
`}
|
|
5953
|
+
`;
|
|
5954
|
+
const UgContent = styled__default["default"](reactAccordions.Stepper.Content) `
|
|
5955
|
+
padding: ${({ theme }) => `${theme.space.sm} ${theme.space.sm} ${theme.space.sm} 24px`};
|
|
5956
|
+
margin-top: 0;
|
|
5957
|
+
margin-bottom: 0;
|
|
5958
|
+
> div {
|
|
5959
|
+
color: ${({ theme }) => theme.palette.grey[600]};
|
|
5960
|
+
}
|
|
5960
5961
|
`;
|
|
5961
|
-
const StyledAccordionHeader = styled__default["default"](Accordion.Header) `
|
|
5962
|
-
button, svg {
|
|
5963
|
-
padding: ${({ theme }) => `${theme.space.xs} ${theme.space.md}`};
|
|
5964
|
-
}
|
|
5962
|
+
const StyledAccordionHeader = styled__default["default"](Accordion.Header) `
|
|
5963
|
+
button, svg {
|
|
5964
|
+
padding: ${({ theme }) => `${theme.space.xs} ${theme.space.md}`};
|
|
5965
|
+
}
|
|
5965
5966
|
`;
|
|
5966
5967
|
/**
|
|
5967
5968
|
* A Stepper guides users through steps of a task in sequential order.
|
|
@@ -8,7 +8,7 @@ export type SuggestedUser = {
|
|
|
8
8
|
};
|
|
9
9
|
export interface ChatEditorArgs extends Partial<EditorOptions> {
|
|
10
10
|
placeholderOptions?: Partial<PlaceholderOptions>;
|
|
11
|
-
|
|
11
|
+
hasFloatingMenu?: boolean;
|
|
12
12
|
hasButtonsMenu?: boolean;
|
|
13
13
|
bubbleOptions?: any;
|
|
14
14
|
author: Author;
|