@pitcher/canvas-ui 2026.1.13-141745-beta → 2026.1.13-143718-beta

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/canvas-ui.css CHANGED
@@ -3074,36 +3074,36 @@ to {
3074
3074
  }
3075
3075
  .browser-list-item[data-v-8781de25] {
3076
3076
  border-bottom: 1px solid var(--10ccf2df);
3077
- }.breadcrumb-area[data-v-38edbab6] .n-button {
3078
- border: 1px solid var(--c70ce490) !important;
3077
+ }.breadcrumb-area[data-v-41ca4793] .n-button {
3078
+ border: 1px solid var(--6b5e9219) !important;
3079
3079
  }
3080
- .content__breadcrumb__item.n-breadcrumb-item.n-breadcrumb-item[data-v-38edbab6] .n-breadcrumb-item__link {
3080
+ .content__breadcrumb__item.n-breadcrumb-item.n-breadcrumb-item[data-v-41ca4793] .n-breadcrumb-item__link {
3081
3081
  font-size: 18px;
3082
3082
  line-height: 28px;
3083
3083
  letter-spacing: 0.25px;
3084
3084
  }
3085
- .content__section-title[data-v-38edbab6] {
3085
+ .content__section-title[data-v-41ca4793] {
3086
3086
  font-size: 18px;
3087
3087
  line-height: 28px;
3088
3088
  letter-spacing: 0.25px;
3089
- color: var(--471cb1fc);
3089
+ color: var(--3d451d7b);
3090
3090
  }
3091
- .actions-toolbar[data-v-38edbab6] {
3092
- background-color: var(--c70ce48c);
3091
+ .actions-toolbar[data-v-41ca4793] {
3092
+ background-color: var(--6b5e921b);
3093
3093
  }
3094
- .actions-toolbar__nav[data-v-38edbab6] {
3095
- background: var(--08cf7517);
3094
+ .actions-toolbar__nav[data-v-41ca4793] {
3095
+ background: var(--42dfd1f8);
3096
3096
  }
3097
- .actions-toolbar_filters-divider[data-v-38edbab6] {
3097
+ .actions-toolbar_filters-divider[data-v-41ca4793] {
3098
3098
  margin-left: 0;
3099
3099
  margin-right: 8px;
3100
3100
  height: 36px;
3101
3101
  }
3102
- .actions-toolbar_filters-clear[data-v-38edbab6] {
3102
+ .actions-toolbar_filters-clear[data-v-41ca4793] {
3103
3103
  text-transform: none;
3104
3104
  }
3105
- .actions-toolbar__controls[data-v-38edbab6] {
3106
- background: var(--08cf7517);
3105
+ .actions-toolbar__controls[data-v-41ca4793] {
3106
+ background: var(--42dfd1f8);
3107
3107
  }.is-even[data-v-8ac6d2e9] {
3108
3108
  background: var(--d77d151a);
3109
3109
  }
package/canvas-ui.js CHANGED
@@ -110057,6 +110057,8 @@ function updateFolderState(folder) {
110057
110057
  state$2.folderCache[subfolder.id] = {
110058
110058
  files_count: subfolder.files_count ?? 0,
110059
110059
  folders_count: subfolder.folders_count ?? 0,
110060
+ available_files_count: subfolder.available_files_count,
110061
+ available_folders_count: subfolder.available_folders_count,
110060
110062
  timestamp: Date.now()
110061
110063
  };
110062
110064
  });
@@ -110328,12 +110330,17 @@ function init({
110328
110330
  filteredFolders = foldersFromSearch.map((folder) => {
110329
110331
  const cached = state$2.folderCache[folder.id];
110330
110332
  if (cached) {
110331
- return {
110333
+ const result = {
110332
110334
  ...folder,
110333
- type: "folder",
110334
- files_count: cached.files_count,
110335
- folders_count: cached.folders_count
110335
+ type: "folder"
110336
110336
  };
110337
+ if (cached.files_count !== void 0) result.files_count = cached.files_count;
110338
+ if (cached.folders_count !== void 0) result.folders_count = cached.folders_count;
110339
+ if (cached.available_files_count !== void 0) result.available_files_count = cached.available_files_count;
110340
+ if (cached.available_folders_count !== void 0) {
110341
+ result.available_folders_count = cached.available_folders_count;
110342
+ }
110343
+ return result;
110337
110344
  }
110338
110345
  return { ...folder, type: "folder" };
110339
110346
  });
@@ -176275,10 +176282,10 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
176275
176282
  __name: "ActionsToolbar",
176276
176283
  setup(__props) {
176277
176284
  useCssVars((_ctx) => ({
176278
- "c70ce490": unref(themeVars).primary4,
176279
- "471cb1fc": unref(themeVars).primary,
176280
- "c70ce48c": unref(themeVars).primary6,
176281
- "08cf7517": unref(themeVars).base
176285
+ "6b5e9219": unref(themeVars).primary4,
176286
+ "3d451d7b": unref(themeVars).primary,
176287
+ "6b5e921b": unref(themeVars).primary6,
176288
+ "42dfd1f8": unref(themeVars).base
176282
176289
  }));
176283
176290
  const {
176284
176291
  toggleContentPanel,
@@ -176506,7 +176513,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
176506
176513
  return (nameMatch || createdByMatch || tagMatch) && metadataMatch;
176507
176514
  });
176508
176515
  const folderResults = folders.map((folder) => {
176509
- return {
176516
+ const result = {
176510
176517
  id: folder.id,
176511
176518
  name: folder.name,
176512
176519
  folder_id: apiState.currentFolderId,
@@ -176516,12 +176523,13 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
176516
176523
  },
176517
176524
  type: "folder",
176518
176525
  file_thumbnail_urls: folder.file_thumbnail_urls,
176519
- thumbnail_url: folder.thumbnail_url,
176520
- files_count: folder.files_count,
176521
- folders_count: folder.folders_count,
176522
- available_files_count: folder.available_files_count,
176523
- available_folders_count: folder.available_folders_count
176526
+ thumbnail_url: folder.thumbnail_url
176524
176527
  };
176528
+ if (folder.files_count !== void 0) result.files_count = folder.files_count;
176529
+ if (folder.folders_count !== void 0) result.folders_count = folder.folders_count;
176530
+ if (folder.available_files_count !== void 0) result.available_files_count = folder.available_files_count;
176531
+ if (folder.available_folders_count !== void 0) result.available_folders_count = folder.available_folders_count;
176532
+ return result;
176525
176533
  });
176526
176534
  const fileResults = files.map((file) => {
176527
176535
  return {
@@ -176750,7 +176758,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
176750
176758
  }
176751
176759
  });
176752
176760
 
176753
- const ActionsToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-38edbab6"]]);
176761
+ const ActionsToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-41ca4793"]]);
176754
176762
 
176755
176763
  const _sfc_main$t = /* @__PURE__ */ defineComponent({
176756
176764
  __name: "FavoritesTable",