@box/metadata-editor 1.73.10 → 1.73.12
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 +10 -10
|
@@ -11,13 +11,13 @@ import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
|
11
11
|
import S from "clsx";
|
|
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_5alez_5",
|
|
15
|
+
disabled: "_disabled_5alez_11",
|
|
16
|
+
highlightOptionText: "_highlightOptionText_5alez_15",
|
|
17
|
+
selected: "_selected_5alez_27",
|
|
18
|
+
option: "_option_5alez_38",
|
|
19
|
+
errorComboboxOption: "_errorComboboxOption_5alez_42",
|
|
20
|
+
errorComboboxOptionText: "_errorComboboxOptionText_5alez_47"
|
|
21
21
|
}, D = /* @__PURE__ */ d(({ onTryAgain: t }, n) => {
|
|
22
22
|
let { formatMessage: r } = _();
|
|
23
23
|
return /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(a, {
|
|
@@ -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_nla92_5",
|
|
3
|
+
scrollableContainer: "_scrollableContainer_nla92_24",
|
|
4
|
+
item: "_item_nla92_29",
|
|
5
|
+
option: "_option_nla92_39",
|
|
6
|
+
search: "_search_nla92_60",
|
|
7
|
+
searchIcon: "_searchIcon_nla92_65",
|
|
8
|
+
global: "_global_nla92_74",
|
|
9
|
+
clearSearchIcon: "_clearSearchIcon_nla92_79",
|
|
10
|
+
searchInput: "_searchInput_nla92_87",
|
|
11
|
+
firefoxDefaultOpacityFix: "_firefoxDefaultOpacityFix_nla92_119",
|
|
12
|
+
divider: "_divider_nla92_137",
|
|
13
|
+
searchDivider: "_searchDivider_nla92_141"
|
|
14
14
|
};
|
|
15
15
|
export { e as t };
|
|
@@ -9,16 +9,16 @@ import { Select as d, SelectItem as f, SelectItemCheck as p, SelectPopover as m,
|
|
|
9
9
|
import { jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
10
10
|
import v from "clsx";
|
|
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_1ow74_5",
|
|
13
|
+
triggerContainer: "_triggerContainer_1ow74_9",
|
|
14
|
+
triggerButton: "_triggerButton_1ow74_14",
|
|
15
|
+
popover: "_popover_1ow74_20",
|
|
16
|
+
divider: "_divider_1ow74_37",
|
|
17
|
+
scrollableContainer: "_scrollableContainer_1ow74_40",
|
|
18
|
+
item: "_item_1ow74_44",
|
|
19
|
+
indicator: "_indicator_1ow74_71",
|
|
20
|
+
indicatorIcon: "_indicatorIcon_1ow74_80",
|
|
21
|
+
testContainer: "_testContainer_1ow74_84"
|
|
22
22
|
}, b = parseInt(c, 10);
|
|
23
23
|
function x({ appliedTemplates: c, selectedTemplates: x, setSelectedTemplates: S }) {
|
|
24
24
|
let C = u(), w = C.formatMessage(n.customMetadataName), T = t(c), E = x.length, D = T.length, O = E === 0 ? C.formatMessage(n.allTemplatesTriggerButtonText) : C.formatMessage(n.selectedTemplatesTriggerButtonText, {
|
|
@@ -6,16 +6,16 @@ import { FormattedMessage as c, useIntl as l } from "react-intl";
|
|
|
6
6
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
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_1i8vb_5",
|
|
10
|
+
popoverMainContent: "_popoverMainContent_1i8vb_10",
|
|
11
|
+
loadingIndicatorWrapper: "_loadingIndicatorWrapper_1i8vb_14",
|
|
12
|
+
errorMessageWrapper: "_errorMessageWrapper_1i8vb_21",
|
|
13
|
+
errorMessageWrapperText: "_errorMessageWrapperText_1i8vb_26",
|
|
14
|
+
container: "_container_1i8vb_34",
|
|
15
|
+
taxonomyAncestorTable: "_taxonomyAncestorTable_1i8vb_40",
|
|
16
|
+
taxonomyValueGroup: "_taxonomyValueGroup_1i8vb_83",
|
|
17
|
+
taxonomyValueButton: "_taxonomyValueButton_1i8vb_88",
|
|
18
|
+
taxonomyValueLabel: "_taxonomyValueLabel_1i8vb_98"
|
|
19
19
|
}, m = { right: 24 }, h = (e) => {
|
|
20
20
|
e.stopPropagation();
|
|
21
21
|
}, g = (e) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._container_5alez_5{gap:var(--space-1);justify-content:center;display:flex}._disabled_5alez_11._disabled_5alez_11{opacity:unset}._highlightOptionText_5alez_15 [data-user-value]{font-weight:var(--body-default-bold-font-weight);font-size:var(--body-default-bold-font-size);font-family:var(--body-default-bold-font-family);line-height:var(--body-default-bold-line-height);letter-spacing:var(--body-default-bold-letter-spacing);text-transform:var(--body-default-bold-text-case);-webkit-text-decoration:var(--body-default-bold-text-decoration);text-decoration:var(--body-default-bold-text-decoration)}._highlightOptionText_5alez_15 [data-autocomplete-value]{color:var(--text-text-on-light-secondary)}._highlightOptionText_5alez_15._selected_5alez_27,._highlightOptionText_5alez_15._selected_5alez_27 span{color:var(--text-text-on-light);font-weight:var(--body-default-bold-font-weight);font-size:var(--body-default-bold-font-size);font-family:var(--body-default-bold-font-family);line-height:var(--body-default-bold-line-height);letter-spacing:var(--body-default-bold-letter-spacing);text-transform:var(--body-default-bold-text-case);-webkit-text-decoration:var(--body-default-bold-text-decoration);text-decoration:var(--body-default-bold-text-decoration)}._option_5alez_38:nth-last-child(1 of ._option_5alez_38){scroll-margin-block-end:var(--space-12)}._errorComboboxOption_5alez_42[role=option]{justify-content:center;align-items:center;display:flex}._errorComboboxOption_5alez_42[role=option] ._errorComboboxOptionText_5alez_47{gap:var(--space-1);align-items:center;display:flex}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._content_nla92_5{font-weight:var(--body-default-font-weight);font-size:var(--body-default-font-size);font-family:var(--body-default-font-family);line-height:var(--body-default-line-height);letter-spacing:var(--body-default-letter-spacing);text-transform:var(--body-default-text-case);-webkit-text-decoration:var(--body-default-text-decoration);text-decoration:var(--body-default-text-decoration);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_nla92_24{max-height:22.5rem;padding:var(--space-3)}._item_nla92_29{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_nla92_39{white-space:nowrap;text-overflow:ellipsis;cursor:pointer;overflow:hidden}._option_nla92_39[aria-disabled]{color:var(--gray-65);pointer-events:none}._option_nla92_39[data-active-item]:not(:hover),._option_nla92_39[data-highlighted]:not(:hover){background-color:var(--surface-menu-surface-hover);border:var(--border-2) solid var(--border-input-border-focus)}._option_nla92_39[data-state=open],._option_nla92_39:hover{background-color:var(--surface-menu-surface-hover)}._search_nla92_60{height:fit-content;padding:var(--space-3);position:relative}._search_nla92_60 ._searchIcon_nla92_65{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_nla92_60 ._searchIcon_nla92_65._global_nla92_74{left:var(--space-4);width:var(--size-5);height:var(--size-5)}._search_nla92_60 ._clearSearchIcon_nla92_79{top:var(--space-8);right:var(--space-6);width:var(--size-4);height:var(--size-4);position:absolute;transform:translateY(-50%)}._search_nla92_60 ._searchInput_nla92_87{font-weight:var(--body-default-font-weight);font-size:var(--body-default-font-size);font-family:var(--body-default-font-family);line-height:var(--body-default-line-height);letter-spacing:var(--body-default-letter-spacing);text-transform:var(--body-default-text-case);-webkit-text-decoration:var(--body-default-text-decoration);text-decoration:var(--body-default-text-decoration);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_nla92_60 ._searchInput_nla92_87._global_nla92_74{height:var(--size-12);border-radius:var(--radius-7);padding-inline:var(--space-12) var(--space-6)}._search_nla92_60 ._searchInput_nla92_87::-webkit-search-decoration{appearance:none}._search_nla92_60 ._searchInput_nla92_87::-webkit-search-cancel-button{appearance:none}._search_nla92_60 ._searchInput_nla92_87::-webkit-search-results-button{appearance:none}._search_nla92_60 ._searchInput_nla92_87::-webkit-search-results-decoration{appearance:none}._search_nla92_60 ._searchInput_nla92_87:hover{box-shadow:unset}._search_nla92_60 ._searchInput_nla92_87 ._firefoxDefaultOpacityFix_nla92_119,._search_nla92_60 ._searchInput_nla92_87 ._searchInput_nla92_87::placeholder{opacity:1}._search_nla92_60 ._searchInput_nla92_87::placeholder{color:var(--text-text-on-light-secondary)}._search_nla92_60 ._searchInput_nla92_87:not(:placeholder-shown){padding-inline-end:var(--space-8)}._search_nla92_60 ._searchInput_nla92_87: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_nla92_60 ._searchInput_nla92_87:not(:focus-visible,:disabled):hover{background-color:var(--surface-search-surface-hover);border-color:#6f6f6f}._search_nla92_60 ._divider_nla92_137{box-shadow:var(--dropshadow-3)}._searchDivider_nla92_141{box-shadow:var(--dropshadow-1)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._details_1ow74_5{padding-inline:var(--size-1)}._triggerContainer_1ow74_9{flex-direction:column;display:flex}._triggerButton_1ow74_14{max-width:max-content;min-height:var(--size-6)!important;padding:0 var(--space-1)!important}._popover_1ow74_20{font-weight:var(--body-default-font-weight);font-size:var(--body-default-font-size);font-family:var(--body-default-font-family);line-height:var(--body-default-line-height);letter-spacing:var(--body-default-letter-spacing);text-transform:var(--body-default-text-case);-webkit-text-decoration:var(--body-default-text-decoration);text-decoration:var(--body-default-text-decoration);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_1ow74_20 ._divider_1ow74_37{margin-block:var(--space-2)}._popover_1ow74_20 ._scrollableContainer_1ow74_40{max-height:22.5rem;padding:var(--space-3)}._popover_1ow74_20 ._item_1ow74_44{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_1ow74_20 ._item_1ow74_44[aria-disabled]{color:var(--gray-65);pointer-events:none}._popover_1ow74_20 ._item_1ow74_44[data-active-item]:not(:hover),._popover_1ow74_20 ._item_1ow74_44[data-highlighted]:not(:hover){background-color:var(--surface-menu-surface-hover);border:var(--border-2) solid var(--border-input-border-focus)}._popover_1ow74_20 ._item_1ow74_44[data-state=open],._popover_1ow74_20 ._item_1ow74_44:hover{background-color:var(--surface-menu-surface-hover)}._popover_1ow74_20 ._indicator_1ow74_71{top:0;left:var(--space-2);height:var(--size-9);justify-content:center;align-items:center;display:flex;position:absolute}._popover_1ow74_20 ._indicatorIcon_1ow74_80 path{fill:var(--icon-icon-on-light)}._testContainer_1ow74_84{border:2px dashed #9f3fed;align-items:center;width:340px;height:56px;display:flex}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._popoverContentContainer_1i8vb_5{outline:none;width:18.25rem}._popoverMainContent_1i8vb_10{max-height:calc(var(--radix-popover-content-available-height) - var(--space-8) - var(--space-2) - var(--border-1))}._loadingIndicatorWrapper_1i8vb_14{height:var(--size-8);align-items:end;display:flex;position:relative}._errorMessageWrapper_1i8vb_21{flex-direction:column;justify-content:center;display:flex}._errorMessageWrapper_1i8vb_21 ._errorMessageWrapperText_1i8vb_26{gap:var(--space-1);height:var(--size-8);justify-content:center;align-items:center;display:flex}._container_1i8vb_34{gap:var(--space-1);justify-content:center;display:flex}table._taxonomyAncestorTable_1i8vb_40{table-layout:fixed;border-spacing:0;width:100%}table._taxonomyAncestorTable_1i8vb_40>tbody>tr{flex-direction:column;display:flex}table._taxonomyAncestorTable_1i8vb_40>tbody>tr:not(:last-child){margin-block-end:var(--space-2)}table._taxonomyAncestorTable_1i8vb_40>tbody>tr>th{font-weight:var(--body-default-bold-font-weight);font-size:var(--body-default-bold-font-size);font-family:var(--body-default-bold-font-family);line-height:var(--body-default-bold-line-height);letter-spacing:var(--body-default-bold-letter-spacing);text-transform:var(--body-default-bold-text-case);-webkit-text-decoration:var(--body-default-bold-text-decoration);text-decoration:var(--body-default-bold-text-decoration);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_1i8vb_40>tbody>tr>td{font-weight:var(--body-default-font-weight);font-size:var(--body-default-font-size);font-family:var(--body-default-font-family);line-height:var(--body-default-line-height);letter-spacing:var(--body-default-letter-spacing);text-transform:var(--body-default-text-case);-webkit-text-decoration:var(--body-default-text-decoration);text-decoration:var(--body-default-text-decoration);color:var(--text-text-on-light);word-break:break-all;padding:0;display:block}@media (width<=767px){._taxonomyValueGroup_1i8vb_83{flex-wrap:wrap}}._taxonomyValueButton_1i8vb_88,._taxonomyValueButton_1i8vb_88:focus-visible{overflow-x:hidden}._taxonomyValueButton_1i8vb_88:disabled{color:var(--text-text-on-light)}._taxonomyValueButton_1i8vb_88 ._taxonomyValueLabel_1i8vb_98{text-overflow:ellipsis;overflow-x:hidden}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/metadata-editor",
|
|
3
|
-
"version": "1.73.
|
|
3
|
+
"version": "1.73.12",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@ariakit/react": "0.4.21",
|
|
6
|
-
"@box/blueprint-web": "^15.9.
|
|
7
|
-
"@box/blueprint-web-assets": "^4.
|
|
8
|
-
"@box/box-ai-agent-selector": "^1.43.
|
|
9
|
-
"@box/combobox-with-api": "^1.46.
|
|
10
|
-
"@box/metadata-template-browser": "^1.24.
|
|
6
|
+
"@box/blueprint-web": "^15.9.7",
|
|
7
|
+
"@box/blueprint-web-assets": "^4.131.0",
|
|
8
|
+
"@box/box-ai-agent-selector": "^1.43.12",
|
|
9
|
+
"@box/combobox-with-api": "^1.46.12",
|
|
10
|
+
"@box/metadata-template-browser": "^1.24.12",
|
|
11
11
|
"formik": "^2.0.3",
|
|
12
12
|
"lodash": "^4.17.15",
|
|
13
13
|
"react": "^17.0.0 || ^18.0.0",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@ariakit/react": "0.4.21",
|
|
19
19
|
"@box/babel-plugin-target-attributes": "1.6.7",
|
|
20
|
-
"@box/blueprint-web": "^15.9.
|
|
21
|
-
"@box/blueprint-web-assets": "^4.
|
|
22
|
-
"@box/box-ai-agent-selector": "^1.43.
|
|
23
|
-
"@box/storybook-utils": "^0.21.
|
|
20
|
+
"@box/blueprint-web": "^15.9.7",
|
|
21
|
+
"@box/blueprint-web-assets": "^4.131.0",
|
|
22
|
+
"@box/box-ai-agent-selector": "^1.43.12",
|
|
23
|
+
"@box/storybook-utils": "^0.21.12",
|
|
24
24
|
"@testing-library/react": "^15.0.6",
|
|
25
25
|
"react": "^18.3.0",
|
|
26
26
|
"react-dom": "^18.3.0",
|