@procore/bim-webviewer-sdk 17.9.0-rc.7 → 17.10.0-rc.0

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/CHANGELOG.md CHANGED
@@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  - ([#1529](https://github.com/procore/bim-webviewer/pull/1529)) [Internal][QA Ignore] Add demo page for download links
11
11
 
12
+ ## [17.9.0] 2026-08-07
13
+
14
+ ### Added
15
+
16
+ - Group the floor-plan levels dropdown into a collapsible accordion by Location tier path when the new `groupLevelsByTier` option is set to `true`. Level names that encode the full Location hierarchy as `"Tier A > Tier B > Leaf"` are parsed and rendered as nested, expandable groups. Falls back to the existing flat list for untiered projects (fewer than 2 distinct top-level groups). Requires `bim_levels?view=extended` so that `level.name` carries the full Location path.
17
+
12
18
  ## [17.8.0] 2025-05-09
13
19
 
14
20
  ### Added
@@ -140,6 +140,18 @@ export declare type CommonOptions = {
140
140
  locale?: string;
141
141
  baseUrl?: string;
142
142
  accessToken?: string;
143
+ /**
144
+ * When true, the floor-plan levels dropdown groups levels into a collapsible
145
+ * accordion by their Location tier path (the segments of level.name split on
146
+ * " > "). Falls back to the flat list when fewer than two distinct top-level
147
+ * groups are present so that untiered projects are unaffected.
148
+ *
149
+ * Requires bim_levels to be fetched with view=extended so that level.name
150
+ * contains the full Location path.
151
+ *
152
+ * @default false
153
+ */
154
+ groupLevelsByTier?: boolean;
143
155
  debug?: boolean;
144
156
  multiselect?: boolean;
145
157
  selection?: string;