@box/metadata-editor 2.3.3 → 2.3.4
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/chunks/combobox-with-api-pagination.js +7 -7
- package/dist/chunks/filter-dropdown-menu.module.js +12 -12
- package/dist/chunks/filter-instances-dropdown.js +10 -10
- package/dist/chunks/taxonomy-ancestor-status-pill.js +10 -10
- package/dist/styles/combobox-with-api-pagination.css +1 -1
- package/dist/styles/filter-dropdown-menu.css +1 -1
- package/dist/styles/filter-instances-dropdown.css +1 -1
- package/dist/styles/taxonomy-ancestor-status-pill.css +1 -1
- package/package.json +2 -2
|
@@ -11,13 +11,13 @@ import { Combobox as g, InlineNotice as _, LoadingIndicator as v, Text as y, use
|
|
|
11
11
|
import { Loader as x, Search as S } from "@box/blueprint-web-assets/icons/Fill";
|
|
12
12
|
import { IconIconOnLightSecondary as C, Size1 as w, Size6 as T } from "@box/blueprint-web-assets/tokens/tokens";
|
|
13
13
|
import '../styles/combobox-with-api-pagination.css';var E = {
|
|
14
|
-
container: "
|
|
15
|
-
disabled: "
|
|
16
|
-
highlightOptionText: "
|
|
17
|
-
selected: "
|
|
18
|
-
option: "
|
|
19
|
-
errorComboboxOption: "
|
|
20
|
-
errorComboboxOptionText: "
|
|
14
|
+
container: "_container_tudii_27",
|
|
15
|
+
disabled: "_disabled_tudii_33",
|
|
16
|
+
highlightOptionText: "_highlightOptionText_tudii_37",
|
|
17
|
+
selected: "_selected_tudii_59",
|
|
18
|
+
option: "_option_tudii_79",
|
|
19
|
+
errorComboboxOption: "_errorComboboxOption_tudii_83",
|
|
20
|
+
errorComboboxOptionText: "_errorComboboxOptionText_tudii_88"
|
|
21
21
|
}, D = /*#__PURE__*/ i(({ onTryAgain: t }, n) => {
|
|
22
22
|
let { formatMessage: r } = u();
|
|
23
23
|
return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(_, {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import '../styles/filter-dropdown-menu.css';var e = {
|
|
2
|
-
content: "
|
|
3
|
-
scrollableContainer: "
|
|
4
|
-
item: "
|
|
5
|
-
option: "
|
|
6
|
-
search: "
|
|
7
|
-
searchIcon: "
|
|
8
|
-
global: "
|
|
9
|
-
clearSearchIcon: "
|
|
10
|
-
searchInput: "
|
|
11
|
-
firefoxDefaultOpacityFix: "
|
|
12
|
-
divider: "
|
|
13
|
-
searchDivider: "
|
|
2
|
+
content: "_content_1cuur_27",
|
|
3
|
+
scrollableContainer: "_scrollableContainer_1cuur_58",
|
|
4
|
+
item: "_item_1cuur_63",
|
|
5
|
+
option: "_option_1cuur_73",
|
|
6
|
+
search: "_search_1cuur_94",
|
|
7
|
+
searchIcon: "_searchIcon_1cuur_99",
|
|
8
|
+
global: "_global_1cuur_108",
|
|
9
|
+
clearSearchIcon: "_clearSearchIcon_1cuur_113",
|
|
10
|
+
searchInput: "_searchInput_1cuur_121",
|
|
11
|
+
firefoxDefaultOpacityFix: "_firefoxDefaultOpacityFix_1cuur_165",
|
|
12
|
+
divider: "_divider_1cuur_183",
|
|
13
|
+
searchDivider: "_searchDivider_1cuur_187"
|
|
14
14
|
};
|
|
15
15
|
export { e as t };
|
|
@@ -9,16 +9,16 @@ import { Divider as p, ScrollableContainer as m, Text as h, TriggerButton as g }
|
|
|
9
9
|
import { Checkmark as _ } from "@box/blueprint-web-assets/icons/Fill";
|
|
10
10
|
import { Space1 as v } from "@box/blueprint-web-assets/tokens/px-tokens";
|
|
11
11
|
import '../styles/filter-instances-dropdown.css';var y = {
|
|
12
|
-
details: "
|
|
13
|
-
triggerContainer: "
|
|
14
|
-
triggerButton: "
|
|
15
|
-
popover: "
|
|
16
|
-
divider: "
|
|
17
|
-
scrollableContainer: "
|
|
18
|
-
item: "
|
|
19
|
-
indicator: "
|
|
20
|
-
indicatorIcon: "
|
|
21
|
-
testContainer: "
|
|
12
|
+
details: "_details_1wstu_27",
|
|
13
|
+
triggerContainer: "_triggerContainer_1wstu_31",
|
|
14
|
+
triggerButton: "_triggerButton_1wstu_36",
|
|
15
|
+
popover: "_popover_1wstu_42",
|
|
16
|
+
divider: "_divider_1wstu_71",
|
|
17
|
+
scrollableContainer: "_scrollableContainer_1wstu_74",
|
|
18
|
+
item: "_item_1wstu_78",
|
|
19
|
+
indicator: "_indicator_1wstu_105",
|
|
20
|
+
indicatorIcon: "_indicatorIcon_1wstu_114",
|
|
21
|
+
testContainer: "_testContainer_1wstu_118"
|
|
22
22
|
}, b = parseInt(v, 10);
|
|
23
23
|
function x({ appliedTemplates: v, selectedTemplates: x, setSelectedTemplates: S }) {
|
|
24
24
|
let C = i(), w = C.formatMessage(n.customMetadataName), T = t(v), E = x.length, D = T.length, O = E === 0 ? C.formatMessage(n.allTemplatesTriggerButtonText) : C.formatMessage(n.selectedTemplatesTriggerButtonText, {
|
|
@@ -6,16 +6,16 @@ import { FilterChip as o, InlineNotice as s, LoadingIndicator as c, Popover as l
|
|
|
6
6
|
import { Loader as d } from "@box/blueprint-web-assets/icons/Fill";
|
|
7
7
|
import f from "lodash/orderBy";
|
|
8
8
|
import '../styles/taxonomy-ancestor-status-pill.css';var p = {
|
|
9
|
-
popoverContentContainer: "
|
|
10
|
-
popoverMainContent: "
|
|
11
|
-
loadingIndicatorWrapper: "
|
|
12
|
-
errorMessageWrapper: "
|
|
13
|
-
errorMessageWrapperText: "
|
|
14
|
-
container: "
|
|
15
|
-
taxonomyAncestorTable: "
|
|
16
|
-
taxonomyValueGroup: "
|
|
17
|
-
taxonomyValueButton: "
|
|
18
|
-
taxonomyValueLabel: "
|
|
9
|
+
popoverContentContainer: "_popoverContentContainer_bfbac_27",
|
|
10
|
+
popoverMainContent: "_popoverMainContent_bfbac_32",
|
|
11
|
+
loadingIndicatorWrapper: "_loadingIndicatorWrapper_bfbac_36",
|
|
12
|
+
errorMessageWrapper: "_errorMessageWrapper_bfbac_43",
|
|
13
|
+
errorMessageWrapperText: "_errorMessageWrapperText_bfbac_48",
|
|
14
|
+
container: "_container_bfbac_56",
|
|
15
|
+
taxonomyAncestorTable: "_taxonomyAncestorTable_bfbac_62",
|
|
16
|
+
taxonomyValueGroup: "_taxonomyValueGroup_bfbac_129",
|
|
17
|
+
taxonomyValueButton: "_taxonomyValueButton_bfbac_134",
|
|
18
|
+
taxonomyValueLabel: "_taxonomyValueLabel_bfbac_144"
|
|
19
19
|
}, m = { right: 24 }, h = (e) => {
|
|
20
20
|
e.stopPropagation();
|
|
21
21
|
}, g = (e) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._container_tudii_27{gap:var(--space-1);justify-content:center;display:flex}._disabled_tudii_33._disabled_tudii_33{opacity:unset}._highlightOptionText_tudii_37 [data-user-value]{font-weight:var(--bp-font-weight-bold);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) ._highlightOptionText_tudii_37 [data-user-value]{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:600;line-height:1.25rem;text-decoration:none}._highlightOptionText_tudii_37 [data-autocomplete-value]{color:var(--text-text-on-light-secondary)}._highlightOptionText_tudii_37._selected_tudii_59,._highlightOptionText_tudii_37._selected_tudii_59 span{color:var(--text-text-on-light);font-weight:var(--bp-font-weight-bold);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) ._highlightOptionText_tudii_37._selected_tudii_59,:where(body.is-inter-font) ._highlightOptionText_tudii_37._selected_tudii_59 span{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:600;line-height:1.25rem;text-decoration:none}._option_tudii_79:nth-last-child(1 of ._option_tudii_79){scroll-margin-block-end:var(--space-12)}._errorComboboxOption_tudii_83[role=option]{justify-content:center;align-items:center;display:flex}._errorComboboxOption_tudii_83[role=option] ._errorComboboxOptionText_tudii_88{gap:var(--space-1);align-items:center;display:flex}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._content_1cuur_27{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) ._content_1cuur_27{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}._content_1cuur_27{z-index:var(--z-index-popover);box-sizing:border-box;width:17.75rem;color:var(--text-text-on-light);background-color:var(--surface-menu-surface);border:var(--border-1) solid var(--border-card-border);border-radius:var(--radius-3);box-shadow:var(--dropshadow-3);padding:0}._scrollableContainer_1cuur_58{max-height:22.5rem;padding:var(--space-3)}._item_1cuur_63{padding:var(--border-8);border:var(--border-2) solid transparent;border-radius:var(--radius-3);-webkit-user-select:none;user-select:none;outline:none;align-items:center;position:relative}._option_1cuur_73{white-space:nowrap;text-overflow:ellipsis;cursor:pointer;overflow:hidden}._option_1cuur_73[aria-disabled]{color:var(--gray-65);pointer-events:none}._option_1cuur_73[data-active-item]:not(:hover),._option_1cuur_73[data-highlighted]:not(:hover){background-color:var(--surface-menu-surface-hover);border:var(--border-2) solid var(--border-input-border-focus)}._option_1cuur_73[data-state=open],._option_1cuur_73:hover{background-color:var(--surface-menu-surface-hover)}._search_1cuur_94{height:fit-content;padding:var(--space-3);position:relative}._search_1cuur_94 ._searchIcon_1cuur_99{top:var(--space-8);left:var(--space-6);width:var(--size-4);height:var(--size-4);pointer-events:none;position:absolute;transform:translateY(-50%)}._search_1cuur_94 ._searchIcon_1cuur_99._global_1cuur_108{left:var(--space-4);width:var(--size-5);height:var(--size-5)}._search_1cuur_94 ._clearSearchIcon_1cuur_113{top:var(--space-8);right:var(--space-6);width:var(--size-4);height:var(--size-4);position:absolute;transform:translateY(-50%)}._search_1cuur_94 ._searchInput_1cuur_121{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) ._search_1cuur_94 ._searchInput_1cuur_121{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}._search_1cuur_94 ._searchInput_1cuur_121{box-sizing:border-box;width:100%;height:var(--size-10);padding-inline:var(--space-9) var(--space-6);color:var(--text-text-on-light);background-color:var(--surface-search-surface);border:var(--border-1) solid transparent;border-radius:var(--radius-2);box-shadow:unset;outline:0;padding-block:0;transition:border-color .15s,background-color .15s}._search_1cuur_94 ._searchInput_1cuur_121._global_1cuur_108{height:var(--size-12);border-radius:var(--radius-7);padding-inline:var(--space-12) var(--space-6)}._search_1cuur_94 ._searchInput_1cuur_121::-webkit-search-decoration{appearance:none}._search_1cuur_94 ._searchInput_1cuur_121::-webkit-search-cancel-button{appearance:none}._search_1cuur_94 ._searchInput_1cuur_121::-webkit-search-results-button{appearance:none}._search_1cuur_94 ._searchInput_1cuur_121::-webkit-search-results-decoration{appearance:none}._search_1cuur_94 ._searchInput_1cuur_121:hover{box-shadow:unset}._search_1cuur_94 ._searchInput_1cuur_121 ._firefoxDefaultOpacityFix_1cuur_165,._search_1cuur_94 ._searchInput_1cuur_121 ._searchInput_1cuur_121::placeholder{opacity:1}._search_1cuur_94 ._searchInput_1cuur_121::placeholder{color:var(--text-text-on-light-secondary)}._search_1cuur_94 ._searchInput_1cuur_121:not(:placeholder-shown){padding-inline-end:var(--space-8)}._search_1cuur_94 ._searchInput_1cuur_121:focus-visible{background-color:var(--surface-search-surface-focused);border:var(--border-2) solid #2486fc;padding-inline-start:calc(var(--space-9) - var(--border-1))}._search_1cuur_94 ._searchInput_1cuur_121:not(:focus-visible,:disabled):hover{background-color:var(--surface-search-surface-hover);border-color:#6f6f6f}._search_1cuur_94 ._divider_1cuur_183{box-shadow:var(--dropshadow-3)}._searchDivider_1cuur_187{box-shadow:var(--dropshadow-1)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._details_1wstu_27{padding-inline:var(--size-1)}._triggerContainer_1wstu_31{flex-direction:column;display:flex}._triggerButton_1wstu_36{max-width:max-content;min-height:var(--size-6)!important;padding:0 var(--space-1)!important}._popover_1wstu_42{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) ._popover_1wstu_42{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}._popover_1wstu_42{z-index:var(--z-index-popover);box-sizing:border-box;background-color:var(--surface-menu-surface);border:var(--border-1) solid var(--border-card-border);border-radius:var(--radius-3);max-width:17.75rem;box-shadow:var(--dropshadow-3);padding:0}._popover_1wstu_42 ._divider_1wstu_71{margin-block:var(--space-2)}._popover_1wstu_42 ._scrollableContainer_1wstu_74{max-height:22.5rem;padding:var(--space-3)}._popover_1wstu_42 ._item_1wstu_78{padding:var(--border-8) var(--space-2) var(--border-8) var(--space-10);white-space:nowrap;text-overflow:ellipsis;border:var(--border-2) solid transparent;border-radius:var(--radius-3);cursor:pointer;-webkit-user-select:none;user-select:none;outline:none;align-items:center;position:relative;overflow:hidden}._popover_1wstu_42 ._item_1wstu_78[aria-disabled]{color:var(--gray-65);pointer-events:none}._popover_1wstu_42 ._item_1wstu_78[data-active-item]:not(:hover),._popover_1wstu_42 ._item_1wstu_78[data-highlighted]:not(:hover){background-color:var(--surface-menu-surface-hover);border:var(--border-2) solid var(--border-input-border-focus)}._popover_1wstu_42 ._item_1wstu_78[data-state=open],._popover_1wstu_42 ._item_1wstu_78:hover{background-color:var(--surface-menu-surface-hover)}._popover_1wstu_42 ._indicator_1wstu_105{top:0;left:var(--space-2);height:var(--size-9);justify-content:center;align-items:center;display:flex;position:absolute}._popover_1wstu_42 ._indicatorIcon_1wstu_114 path{fill:var(--icon-icon-on-light)}._testContainer_1wstu_118{border:2px dashed #9f3fed;align-items:center;width:340px;height:56px;display:flex}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._popoverContentContainer_bfbac_27{outline:none;width:18.25rem}._popoverMainContent_bfbac_32{max-height:calc(var(--radix-popover-content-available-height) - var(--space-8) - var(--space-2) - var(--border-1))}._loadingIndicatorWrapper_bfbac_36{height:var(--size-8);align-items:end;display:flex;position:relative}._errorMessageWrapper_bfbac_43{flex-direction:column;justify-content:center;display:flex}._errorMessageWrapper_bfbac_43 ._errorMessageWrapperText_bfbac_48{gap:var(--space-1);height:var(--size-8);justify-content:center;align-items:center;display:flex}._container_bfbac_56{gap:var(--space-1);justify-content:center;display:flex}table._taxonomyAncestorTable_bfbac_62{table-layout:fixed;border-spacing:0;width:100%}table._taxonomyAncestorTable_bfbac_62>tbody>tr{flex-direction:column;display:flex}table._taxonomyAncestorTable_bfbac_62>tbody>tr:not(:last-child){margin-block-end:var(--space-2)}table._taxonomyAncestorTable_bfbac_62>tbody>tr>th{font-weight:var(--bp-font-weight-bold);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) table._taxonomyAncestorTable_bfbac_62>tbody>tr>th{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:600;line-height:1.25rem;text-decoration:none}table._taxonomyAncestorTable_bfbac_62>tbody>tr>th{white-space:nowrap;text-overflow:ellipsis;color:var(--text-text-on-light-secondary-hover);text-align:start;padding:0;display:block;overflow:hidden}table._taxonomyAncestorTable_bfbac_62>tbody>tr>td{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) table._taxonomyAncestorTable_bfbac_62>tbody>tr>td{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}table._taxonomyAncestorTable_bfbac_62>tbody>tr>td{color:var(--text-text-on-light);word-break:break-all;padding:0;display:block}@media (width<=767px){._taxonomyValueGroup_bfbac_129{flex-wrap:wrap}}._taxonomyValueButton_bfbac_134,._taxonomyValueButton_bfbac_134:focus-visible{overflow-x:hidden}._taxonomyValueButton_bfbac_134:disabled{color:var(--text-text-on-light)}._taxonomyValueButton_bfbac_134 ._taxonomyValueLabel_bfbac_144{text-overflow:ellipsis;overflow-x:hidden}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/metadata-editor",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.4",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@ariakit/react": "0.4.21",
|
|
6
6
|
"@box/blueprint-web": "^16.10.0",
|
|
7
7
|
"@box/blueprint-web-assets": "^5.5.5",
|
|
8
8
|
"@box/box-ai-agent-selector": "^2.1.31",
|
|
9
|
-
"@box/combobox-with-api": "^2.1.
|
|
9
|
+
"@box/combobox-with-api": "^2.1.32",
|
|
10
10
|
"@box/metadata-taxonomy-picker": "^3.1.31",
|
|
11
11
|
"@box/metadata-template-browser": "^2.1.30",
|
|
12
12
|
"formik": "^2.0.3",
|