@box/threaded-annotations 4.6.1 → 4.6.3

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 +1 @@
1
- import '../styles/message-editor2.css';var message_editor_module_default={messageEditorWrapper:`_messageEditorWrapper_1v8rm_29`,editActionsColumn:`_editActionsColumn_1v8rm_34`,editActionsRow:`_editActionsRow_1v8rm_41`,characterLimitCounter:`_characterLimitCounter_1v8rm_47`,messageEditor:`_messageEditor_1v8rm_29`,editorEditMode:`_editorEditMode_1v8rm_65`,editorFirstAnnotation:`_editorFirstAnnotation_1v8rm_72`,editorError:`_editorError_1v8rm_72`,editorViewport:`_editorViewport_1v8rm_80`,editorContainer:`_editorContainer_1v8rm_86`,editor:`_editor_1v8rm_65`,editorFade:`_editorFade_1v8rm_146`,editorFadeHidden:`_editorFadeHidden_1v8rm_157`,editorFullWidth:`_editorFullWidth_1v8rm_160`,actionsWrapper:`_actionsWrapper_1v8rm_164`,actionsWrapperInner:`_actionsWrapperInner_1v8rm_174`,timestampToggle:`_timestampToggle_1v8rm_181`,errorMessage:`_errorMessage_1v8rm_184`,errorText:`_errorText_1v8rm_193`,editorHasScroll:`_editorHasScroll_1v8rm_202`,editorCharacterLimitExceeded:`_editorCharacterLimitExceeded_1v8rm_213`,characterLimitExceeded:`_characterLimitExceeded_1v8rm_235`,scrolledToBottom:`_scrolledToBottom_1v8rm_238`,anchorElement:`_anchorElement_1v8rm_242`,withTimestampToggle:`_withTimestampToggle_1v8rm_251`};export{message_editor_module_default as t};
1
+ import '../styles/message-editor2.css';var message_editor_module_default={messageEditorWrapper:`_messageEditorWrapper_1roda_29`,editActionsColumn:`_editActionsColumn_1roda_34`,editActionsRow:`_editActionsRow_1roda_41`,characterLimitCounter:`_characterLimitCounter_1roda_47`,messageEditor:`_messageEditor_1roda_29`,editorEditMode:`_editorEditMode_1roda_65`,editorFirstAnnotation:`_editorFirstAnnotation_1roda_72`,editorError:`_editorError_1roda_72`,editorViewport:`_editorViewport_1roda_80`,editorContainer:`_editorContainer_1roda_86`,editor:`_editor_1roda_65`,editorFade:`_editorFade_1roda_146`,editorFadeHidden:`_editorFadeHidden_1roda_157`,editorFullWidth:`_editorFullWidth_1roda_160`,actionsWrapper:`_actionsWrapper_1roda_164`,actionsWrapperInner:`_actionsWrapperInner_1roda_174`,timestampToggle:`_timestampToggle_1roda_181`,errorMessage:`_errorMessage_1roda_184`,errorText:`_errorText_1roda_193`,editorHasScroll:`_editorHasScroll_1roda_202`,editorCharacterLimitExceeded:`_editorCharacterLimitExceeded_1roda_213`,characterLimitExceeded:`_characterLimitExceeded_1roda_235`,scrolledToBottom:`_scrolledToBottom_1roda_238`,anchorElement:`_anchorElement_1roda_242`,withTimestampToggle:`_withTimestampToggle_1roda_251`};export{message_editor_module_default as t};
@@ -1 +1 @@
1
- ._messageEditorWrapper_1v8rm_29{cursor:auto;width:100%}._editActionsColumn_1v8rm_34{align-items:flex-end;gap:var(--bp-space-010);flex-direction:column;display:flex}._editActionsRow_1v8rm_41{align-items:center;gap:var(--bp-space-020);display:flex}._characterLimitCounter_1v8rm_47{white-space:nowrap}._messageEditor_1v8rm_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_1v8rm_29._editorEditMode_1v8rm_65{--gradient-fade-height:var(--bp-size-050)}._messageEditor_1v8rm_29:focus-within{outline-width:var(--bp-border-02);outline-color:var(--border-input-border-focus)}._messageEditor_1v8rm_29._editorFirstAnnotation_1v8rm_72:not(._editorError_1v8rm_72):focus-within{outline-width:var(--bp-border-01);outline-color:var(--border-divider-border)}._messageEditor_1v8rm_29._editorError_1v8rm_72{outline-color:var(--bp-border-message-border-error);outline-width:var(--bp-border-02)}._messageEditor_1v8rm_29 ._editorViewport_1v8rm_80{width:fit-content;min-width:calc(100% - 2.875rem);margin:auto 0;position:relative}._messageEditor_1v8rm_29 ._editorViewport_1v8rm_80 ._editorContainer_1v8rm_86{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_1v8rm_29 ._editorViewport_1v8rm_80 ._editorContainer_1v8rm_86{scrollbar-width:initial}._messageEditor_1v8rm_29 ._editorViewport_1v8rm_80 ._editorContainer_1v8rm_86::-webkit-scrollbar{width:var(--size-2);background-color:#0000}._messageEditor_1v8rm_29 ._editorViewport_1v8rm_80 ._editorContainer_1v8rm_86::-webkit-scrollbar-thumb{background:var(--black-opacity-50);border-radius:var(--radius-2)}._messageEditor_1v8rm_29 ._editorViewport_1v8rm_80 ._editorContainer_1v8rm_86::-webkit-scrollbar-thumb:hover{background:var(--black-opacity-50)}}._messageEditor_1v8rm_29 ._editorViewport_1v8rm_80 ._editorContainer_1v8rm_86{max-height:10rem;padding:.375rem .625rem .375rem 0}._messageEditor_1v8rm_29 ._editorViewport_1v8rm_80 ._editorContainer_1v8rm_86 ._editor_1v8rm_65{outline:none;width:100%}._messageEditor_1v8rm_29 ._editorViewport_1v8rm_80 ._editorContainer_1v8rm_86 ._editor_1v8rm_65 [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_1v8rm_29 ._editorViewport_1v8rm_80 ._editorContainer_1v8rm_86 ._editor_1v8rm_65 [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_1v8rm_29 ._editorViewport_1v8rm_80 ._editorContainer_1v8rm_86 ._editor_1v8rm_65 [data-placeholder]:first-child:before{color:var(--text-text-on-light-tertiary);content:attr(data-placeholder);float:left;pointer-events:none;height:0}._messageEditor_1v8rm_29 ._editorViewport_1v8rm_80 ._editorFade_1v8rm_146{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_1v8rm_29 ._editorViewport_1v8rm_80 ._editorFade_1v8rm_146._editorFadeHidden_1v8rm_157{opacity:0}._messageEditor_1v8rm_29 ._editorFullWidth_1v8rm_160{width:100%;min-width:100%}._messageEditor_1v8rm_29 ._actionsWrapper_1v8rm_164{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_1v8rm_29 ._actionsWrapper_1v8rm_164 ._actionsWrapperInner_1v8rm_174{align-items:center;gap:var(--bp-space-020);width:fit-content;display:flex;position:relative}._messageEditor_1v8rm_29 ._timestampToggle_1v8rm_181{margin-right:auto}._messageEditor_1v8rm_29 ._errorMessage_1v8rm_184{gap:var(--bp-space-010);align-items:center;min-width:0;display:flex}._messageEditor_1v8rm_29 ._errorMessage_1v8rm_184>:first-child{flex-shrink:0}._messageEditor_1v8rm_29 ._errorMessage_1v8rm_184 ._errorText_1v8rm_193{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_1v8rm_202{gap:unset;padding-bottom:0}._editorHasScroll_1v8rm_202 ._editorViewport_1v8rm_80 ._editorContainer_1v8rm_86{padding-bottom:var(--bp-space-040);scroll-padding-bottom:var(--bp-space-040)}._editorHasScroll_1v8rm_202 ._editorViewport_1v8rm_80 ._editorFade_1v8rm_146{display:none}._editorHasScroll_1v8rm_202._editorCharacterLimitExceeded_1v8rm_213 ._editorViewport_1v8rm_80 ._editorContainer_1v8rm_86{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_1v8rm_202 ._actionsWrapper_1v8rm_164{min-width:100%;height:1.875rem;padding-right:0}._editorHasScroll_1v8rm_202 ._actionsWrapper_1v8rm_164 ._actionsWrapperInner_1v8rm_174{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_1v8rm_202 ._actionsWrapper_1v8rm_164 ._actionsWrapperInner_1v8rm_174>*{pointer-events:auto}._editorHasScroll_1v8rm_202 ._actionsWrapper_1v8rm_164 ._actionsWrapperInner_1v8rm_174._characterLimitExceeded_1v8rm_235{padding-top:var(--gradient-fade-height,var(--bp-size-040))}._editorHasScroll_1v8rm_202 ._actionsWrapper_1v8rm_164 ._actionsWrapperInner_1v8rm_174._scrolledToBottom_1v8rm_238{background:0 0}._anchorElement_1v8rm_242{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}._messageEditor_1v8rm_29 ._actionsWrapper_1v8rm_164._withTimestampToggle_1v8rm_251,._messageEditor_1v8rm_29 ._actionsWrapper_1v8rm_164._withTimestampToggle_1v8rm_251 ._actionsWrapperInner_1v8rm_174{width:100%}
1
+ ._messageEditorWrapper_1roda_29{cursor:auto;width:100%}._editActionsColumn_1roda_34{align-items:flex-end;gap:var(--bp-space-010);flex-direction:column;display:flex}._editActionsRow_1roda_41{align-items:center;gap:var(--bp-space-020);display:flex}._characterLimitCounter_1roda_47{white-space:nowrap}._messageEditor_1roda_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_1roda_29._editorEditMode_1roda_65{--gradient-fade-height:var(--bp-size-050)}._messageEditor_1roda_29:focus-within{outline-width:var(--bp-border-02);outline-color:var(--border-input-border-focus)}._messageEditor_1roda_29._editorFirstAnnotation_1roda_72:not(._editorError_1roda_72):focus-within{outline-width:var(--bp-border-01);outline-color:var(--border-divider-border)}._messageEditor_1roda_29._editorError_1roda_72{outline-color:var(--bp-border-message-border-error);outline-width:var(--bp-border-02)}._messageEditor_1roda_29 ._editorViewport_1roda_80{width:fit-content;min-width:calc(100% - 2.875rem);margin:auto 0;position:relative}._messageEditor_1roda_29 ._editorViewport_1roda_80 ._editorContainer_1roda_86{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_1roda_29 ._editorViewport_1roda_80 ._editorContainer_1roda_86{scrollbar-width:initial}._messageEditor_1roda_29 ._editorViewport_1roda_80 ._editorContainer_1roda_86::-webkit-scrollbar{width:var(--size-2);background-color:#0000}._messageEditor_1roda_29 ._editorViewport_1roda_80 ._editorContainer_1roda_86::-webkit-scrollbar-thumb{background:var(--black-opacity-50);border-radius:var(--radius-2)}._messageEditor_1roda_29 ._editorViewport_1roda_80 ._editorContainer_1roda_86::-webkit-scrollbar-thumb:hover{background:var(--black-opacity-50)}}._messageEditor_1roda_29 ._editorViewport_1roda_80 ._editorContainer_1roda_86{max-height:10rem;padding:.375rem .625rem .375rem 0}._messageEditor_1roda_29 ._editorViewport_1roda_80 ._editorContainer_1roda_86 ._editor_1roda_65{outline:none;width:100%}._messageEditor_1roda_29 ._editorViewport_1roda_80 ._editorContainer_1roda_86 ._editor_1roda_65 [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_1roda_29 ._editorViewport_1roda_80 ._editorContainer_1roda_86 ._editor_1roda_65 [data-placeholder]:first-child:before{letter-spacing:.00625rem;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.375rem;text-decoration:none}._messageEditor_1roda_29 ._editorViewport_1roda_80 ._editorContainer_1roda_86 ._editor_1roda_65 [data-placeholder]:first-child:before{color:var(--text-text-on-light-tertiary);content:attr(data-placeholder);float:left;pointer-events:none;height:0}._messageEditor_1roda_29 ._editorViewport_1roda_80 ._editorFade_1roda_146{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_1roda_29 ._editorViewport_1roda_80 ._editorFade_1roda_146._editorFadeHidden_1roda_157{opacity:0}._messageEditor_1roda_29 ._editorFullWidth_1roda_160{width:100%;min-width:100%}._messageEditor_1roda_29 ._actionsWrapper_1roda_164{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_1roda_29 ._actionsWrapper_1roda_164 ._actionsWrapperInner_1roda_174{align-items:center;gap:var(--bp-space-020);width:fit-content;display:flex;position:relative}._messageEditor_1roda_29 ._timestampToggle_1roda_181{margin-right:auto}._messageEditor_1roda_29 ._errorMessage_1roda_184{gap:var(--bp-space-010);align-items:center;min-width:0;display:flex}._messageEditor_1roda_29 ._errorMessage_1roda_184>:first-child{flex-shrink:0}._messageEditor_1roda_29 ._errorMessage_1roda_184 ._errorText_1roda_193{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_1roda_202{gap:unset;padding-bottom:0}._editorHasScroll_1roda_202 ._editorViewport_1roda_80 ._editorContainer_1roda_86{padding-bottom:var(--bp-space-040);scroll-padding-bottom:var(--bp-space-040)}._editorHasScroll_1roda_202 ._editorViewport_1roda_80 ._editorFade_1roda_146{display:none}._editorHasScroll_1roda_202._editorCharacterLimitExceeded_1roda_213 ._editorViewport_1roda_80 ._editorContainer_1roda_86{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_1roda_202 ._actionsWrapper_1roda_164{min-width:100%;height:1.875rem;padding-right:0}._editorHasScroll_1roda_202 ._actionsWrapper_1roda_164 ._actionsWrapperInner_1roda_174{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_1roda_202 ._actionsWrapper_1roda_164 ._actionsWrapperInner_1roda_174>*{pointer-events:auto}._editorHasScroll_1roda_202 ._actionsWrapper_1roda_164 ._actionsWrapperInner_1roda_174._characterLimitExceeded_1roda_235{padding-top:var(--gradient-fade-height,var(--bp-size-040))}._editorHasScroll_1roda_202 ._actionsWrapper_1roda_164 ._actionsWrapperInner_1roda_174._scrolledToBottom_1roda_238{background:0 0}._anchorElement_1roda_242{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}._messageEditor_1roda_29 ._actionsWrapper_1roda_164._withTimestampToggle_1roda_251,._messageEditor_1roda_29 ._actionsWrapper_1roda_164._withTimestampToggle_1roda_251 ._actionsWrapperInner_1roda_174{width:100%}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/threaded-annotations",
3
- "version": "4.6.1",
3
+ "version": "4.6.3",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "dependencies": {
6
6
  "@floating-ui/dom": "^1.6.0",
@@ -21,23 +21,23 @@
21
21
  "uuid": "^9.0.1"
22
22
  },
23
23
  "peerDependencies": {
24
- "@box/blueprint-web": "^16.18.1",
25
- "@box/blueprint-web-assets": "^5.7.0",
26
- "@box/collaboration-popover": "^2.2.9",
27
- "@box/readable-time": "^2.2.9",
28
- "@box/user-selector": "^2.2.9",
24
+ "@box/blueprint-web": "^16.18.3",
25
+ "@box/blueprint-web-assets": "^5.7.2",
26
+ "@box/collaboration-popover": "^2.2.11",
27
+ "@box/readable-time": "^2.2.11",
28
+ "@box/user-selector": "^2.2.11",
29
29
  "clsx": "^1.2.1",
30
30
  "react": "^18.0.0",
31
31
  "react-dom": "^18.0.0",
32
32
  "react-intl": "^6.4.2"
33
33
  },
34
34
  "devDependencies": {
35
- "@box/blueprint-web": "^16.18.1",
36
- "@box/blueprint-web-assets": "^5.7.0",
37
- "@box/eslint-plugin-blueprint": "2.2.1",
38
- "@box/readable-time": "^2.2.9",
39
- "@box/storybook-utils": "^1.2.9",
40
- "@box/user-selector": "^2.2.9",
35
+ "@box/blueprint-web": "^16.18.3",
36
+ "@box/blueprint-web-assets": "^5.7.2",
37
+ "@box/eslint-plugin-blueprint": "2.2.2",
38
+ "@box/readable-time": "^2.2.11",
39
+ "@box/storybook-utils": "^1.2.11",
40
+ "@box/user-selector": "^2.2.11",
41
41
  "react": "^18.0.0",
42
42
  "react-dom": "^18.0.0"
43
43
  },