@box/threaded-annotations 4.1.3 → 4.1.5
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,29 +1,29 @@
|
|
|
1
1
|
import '../styles/message-editor2.css';var e = {
|
|
2
|
-
messageEditorWrapper: "
|
|
3
|
-
editActionsColumn: "
|
|
4
|
-
editActionsRow: "
|
|
5
|
-
characterLimitCounter: "
|
|
6
|
-
characterLimitCounterExceeded: "
|
|
7
|
-
messageEditor: "
|
|
8
|
-
editorEditMode: "
|
|
9
|
-
editorFirstAnnotation: "
|
|
10
|
-
editorError: "
|
|
11
|
-
editorViewport: "
|
|
12
|
-
editorContainer: "
|
|
13
|
-
editor: "
|
|
14
|
-
editorFade: "
|
|
15
|
-
editorFadeHidden: "
|
|
16
|
-
editorFullWidth: "
|
|
17
|
-
actionsWrapper: "
|
|
18
|
-
actionsWrapperInner: "
|
|
19
|
-
timestampToggle: "
|
|
20
|
-
errorMessage: "
|
|
21
|
-
errorText: "
|
|
22
|
-
editorHasScroll: "
|
|
23
|
-
editorCharacterLimitExceeded: "
|
|
24
|
-
characterLimitExceeded: "
|
|
25
|
-
scrolledToBottom: "
|
|
26
|
-
anchorElement: "
|
|
27
|
-
withTimestampToggle: "
|
|
2
|
+
messageEditorWrapper: "_messageEditorWrapper_1498d_29",
|
|
3
|
+
editActionsColumn: "_editActionsColumn_1498d_34",
|
|
4
|
+
editActionsRow: "_editActionsRow_1498d_41",
|
|
5
|
+
characterLimitCounter: "_characterLimitCounter_1498d_47",
|
|
6
|
+
characterLimitCounterExceeded: "_characterLimitCounterExceeded_1498d_50",
|
|
7
|
+
messageEditor: "_messageEditor_1498d_29",
|
|
8
|
+
editorEditMode: "_editorEditMode_1498d_68",
|
|
9
|
+
editorFirstAnnotation: "_editorFirstAnnotation_1498d_75",
|
|
10
|
+
editorError: "_editorError_1498d_75",
|
|
11
|
+
editorViewport: "_editorViewport_1498d_83",
|
|
12
|
+
editorContainer: "_editorContainer_1498d_89",
|
|
13
|
+
editor: "_editor_1498d_68",
|
|
14
|
+
editorFade: "_editorFade_1498d_149",
|
|
15
|
+
editorFadeHidden: "_editorFadeHidden_1498d_160",
|
|
16
|
+
editorFullWidth: "_editorFullWidth_1498d_163",
|
|
17
|
+
actionsWrapper: "_actionsWrapper_1498d_167",
|
|
18
|
+
actionsWrapperInner: "_actionsWrapperInner_1498d_177",
|
|
19
|
+
timestampToggle: "_timestampToggle_1498d_184",
|
|
20
|
+
errorMessage: "_errorMessage_1498d_187",
|
|
21
|
+
errorText: "_errorText_1498d_196",
|
|
22
|
+
editorHasScroll: "_editorHasScroll_1498d_205",
|
|
23
|
+
editorCharacterLimitExceeded: "_editorCharacterLimitExceeded_1498d_216",
|
|
24
|
+
characterLimitExceeded: "_characterLimitExceeded_1498d_238",
|
|
25
|
+
scrolledToBottom: "_scrolledToBottom_1498d_241",
|
|
26
|
+
anchorElement: "_anchorElement_1498d_245",
|
|
27
|
+
withTimestampToggle: "_withTimestampToggle_1498d_254"
|
|
28
28
|
};
|
|
29
29
|
export { e as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._messageEditorWrapper_1498d_29{cursor:auto;width:100%}._editActionsColumn_1498d_34{align-items:flex-end;gap:var(--bp-space-010);flex-direction:column;display:flex}._editActionsRow_1498d_41{align-items:center;gap:var(--bp-space-020);display:flex}._characterLimitCounter_1498d_47{white-space:nowrap}._characterLimitCounter_1498d_47._characterLimitCounterExceeded_1498d_50{font-weight:var(--font-weights-bold)}._messageEditor_1498d_29{--gradient-fade-height:var(--bp-size-040);box-sizing:border-box;padding:.625rem var(--bp-space-005) .625rem var(--bp-space-040);background-color:var(--surface-surface);outline:var(--bp-border-01) solid var(--border-divider-border);border-radius:var(--bp-radius-10);gap:var(--bp-space-020) var(--bp-space-010);cursor:auto;flex-wrap:wrap;width:100%;display:flex;position:relative}._messageEditor_1498d_29._editorEditMode_1498d_68{--gradient-fade-height:var(--bp-size-050)}._messageEditor_1498d_29:focus-within{outline-width:var(--bp-border-02);outline-color:var(--border-input-border-focus)}._messageEditor_1498d_29._editorFirstAnnotation_1498d_75:not(._editorError_1498d_75):focus-within{outline-width:var(--bp-border-01);outline-color:var(--border-divider-border)}._messageEditor_1498d_29._editorError_1498d_75{outline-color:var(--bp-border-message-border-error);outline-width:var(--bp-border-02)}._messageEditor_1498d_29 ._editorViewport_1498d_83{width:fit-content;min-width:calc(100% - 2.875rem);margin:auto 0;position:relative}._messageEditor_1498d_29 ._editorViewport_1498d_83 ._editorContainer_1498d_89{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--black-opacity-50) transparent;position:relative;overflow-y:scroll}@supports not (scrollbar-color:gray transparent){._messageEditor_1498d_29 ._editorViewport_1498d_83 ._editorContainer_1498d_89{scrollbar-width:initial}._messageEditor_1498d_29 ._editorViewport_1498d_83 ._editorContainer_1498d_89::-webkit-scrollbar{width:var(--size-2);background-color:#0000}._messageEditor_1498d_29 ._editorViewport_1498d_83 ._editorContainer_1498d_89::-webkit-scrollbar-thumb{background:var(--black-opacity-50);border-radius:var(--radius-2)}._messageEditor_1498d_29 ._editorViewport_1498d_83 ._editorContainer_1498d_89::-webkit-scrollbar-thumb:hover{background:var(--black-opacity-50)}}._messageEditor_1498d_29 ._editorViewport_1498d_83 ._editorContainer_1498d_89{max-height:10rem;padding:.375rem .625rem .375rem 0}._messageEditor_1498d_29 ._editorViewport_1498d_83 ._editorContainer_1498d_89 ._editor_1498d_68{outline:none;width:100%}._messageEditor_1498d_29 ._editorViewport_1498d_83 ._editorContainer_1498d_89 ._editor_1498d_68 [data-placeholder]:first-child:before{font-weight:var(--bp-font-weight-regular);font-size:var(--bp-font-size-05);font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;font-style:normal;line-height:var(--bp-font-line-height-04);letter-spacing:var(--bp-font-letter-spacing-01)}:where(body.is-inter-font) ._messageEditor_1498d_29 ._editorViewport_1498d_83 ._editorContainer_1498d_89 ._editor_1498d_68 [data-placeholder]:first-child:before{letter-spacing:0;text-transform:none;font-family:InterVariable,-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif;font-size:.875rem;font-style:normal;font-weight:450;line-height:1.25rem;text-decoration:none}._messageEditor_1498d_29 ._editorViewport_1498d_83 ._editorContainer_1498d_89 ._editor_1498d_68 [data-placeholder]:first-child:before{color:var(--text-text-on-light-tertiary);content:attr(data-placeholder);float:left;pointer-events:none;height:0}._messageEditor_1498d_29 ._editorViewport_1498d_83 ._editorFade_1498d_149{height:var(--bp-size-060);background:linear-gradient(to bottom, transparent, var(--bp-canvas-background,var(--surface-surface)));pointer-events:none;opacity:1;transition:opacity .15s ease-out;position:absolute;bottom:0;left:0;right:0}._messageEditor_1498d_29 ._editorViewport_1498d_83 ._editorFade_1498d_149._editorFadeHidden_1498d_160{opacity:0}._messageEditor_1498d_29 ._editorFullWidth_1498d_163{width:100%;min-width:100%}._messageEditor_1498d_29 ._actionsWrapper_1498d_167{min-height:var(--bp-size-080);width:fit-content;padding-right:var(--bp-space-020);flex:1;justify-content:flex-end;align-items:center;display:flex;position:relative}._messageEditor_1498d_29 ._actionsWrapper_1498d_167 ._actionsWrapperInner_1498d_177{align-items:center;gap:var(--bp-space-020);width:fit-content;display:flex;position:relative}._messageEditor_1498d_29 ._timestampToggle_1498d_184{margin-right:auto}._messageEditor_1498d_29 ._errorMessage_1498d_187{gap:var(--bp-space-010);align-items:center;min-width:0;display:flex}._messageEditor_1498d_29 ._errorMessage_1498d_187>:first-child{flex-shrink:0}._messageEditor_1498d_29 ._errorMessage_1498d_187 ._errorText_1498d_196{color:var(--bp-text-text-destructive-on-light);-webkit-line-clamp:1;-webkit-box-orient:vertical;min-width:0;display:-webkit-box;overflow:hidden}._editorHasScroll_1498d_205{gap:unset;padding-bottom:0}._editorHasScroll_1498d_205 ._editorViewport_1498d_83 ._editorContainer_1498d_89{padding-bottom:var(--bp-space-040);scroll-padding-bottom:var(--bp-space-040)}._editorHasScroll_1498d_205 ._editorViewport_1498d_83 ._editorFade_1498d_149{display:none}._editorHasScroll_1498d_205._editorCharacterLimitExceeded_1498d_216 ._editorViewport_1498d_83 ._editorContainer_1498d_89{padding-bottom:calc(var(--gradient-fade-height,var(--bp-size-040)) + var(--bp-space-040));scroll-padding-bottom:calc(var(--gradient-fade-height,var(--bp-size-040)) + var(--bp-space-040))}._editorHasScroll_1498d_205 ._actionsWrapper_1498d_167{min-width:100%;height:1.875rem;padding-right:0}._editorHasScroll_1498d_205 ._actionsWrapper_1498d_167 ._actionsWrapperInner_1498d_177{bottom:.625rem;left:0;right:var(--bp-space-020);pointer-events:none;background:linear-gradient(to bottom, #fff0 10%, #ffffffbf 18%, #fffffff7 28%, var(--bp-canvas-background,var(--surface-surface)) 71%);justify-content:flex-end;width:auto;position:absolute}._editorHasScroll_1498d_205 ._actionsWrapper_1498d_167 ._actionsWrapperInner_1498d_177>*{pointer-events:auto}._editorHasScroll_1498d_205 ._actionsWrapper_1498d_167 ._actionsWrapperInner_1498d_177._characterLimitExceeded_1498d_238{padding-top:var(--gradient-fade-height,var(--bp-size-040))}._editorHasScroll_1498d_205 ._actionsWrapper_1498d_167 ._actionsWrapperInner_1498d_177._scrolledToBottom_1498d_241{background:0 0}._anchorElement_1498d_245{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}._messageEditor_1498d_29 ._actionsWrapper_1498d_167._withTimestampToggle_1498d_254,._messageEditor_1498d_29 ._actionsWrapper_1498d_167._withTimestampToggle_1498d_254 ._actionsWrapperInner_1498d_177{width:100%}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/threaded-annotations",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.5",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@floating-ui/dom": "^1.6.0",
|
|
@@ -17,23 +17,23 @@
|
|
|
17
17
|
"uuid": "^9.0.1"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@box/blueprint-web": "^16.
|
|
21
|
-
"@box/blueprint-web-assets": "^5.5.
|
|
22
|
-
"@box/collaboration-popover": "^2.1.
|
|
23
|
-
"@box/readable-time": "^2.1.
|
|
24
|
-
"@box/user-selector": "^2.1.
|
|
20
|
+
"@box/blueprint-web": "^16.10.0",
|
|
21
|
+
"@box/blueprint-web-assets": "^5.5.5",
|
|
22
|
+
"@box/collaboration-popover": "^2.1.30",
|
|
23
|
+
"@box/readable-time": "^2.1.30",
|
|
24
|
+
"@box/user-selector": "^2.1.33",
|
|
25
25
|
"clsx": "^1.2.1",
|
|
26
26
|
"react": "^18.0.0",
|
|
27
27
|
"react-dom": "^18.0.0",
|
|
28
28
|
"react-intl": "^6.4.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@box/blueprint-web": "^16.
|
|
32
|
-
"@box/blueprint-web-assets": "^5.5.
|
|
31
|
+
"@box/blueprint-web": "^16.10.0",
|
|
32
|
+
"@box/blueprint-web-assets": "^5.5.5",
|
|
33
33
|
"@box/eslint-plugin-blueprint": "2.1.10",
|
|
34
|
-
"@box/readable-time": "^2.1.
|
|
35
|
-
"@box/storybook-utils": "^1.1.
|
|
36
|
-
"@box/user-selector": "^2.1.
|
|
34
|
+
"@box/readable-time": "^2.1.30",
|
|
35
|
+
"@box/storybook-utils": "^1.1.29",
|
|
36
|
+
"@box/user-selector": "^2.1.33",
|
|
37
37
|
"react": "^18.0.0",
|
|
38
38
|
"react-dom": "^18.0.0"
|
|
39
39
|
},
|