@papernote/ui 1.8.2 → 1.8.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.
package/dist/index.esm.js CHANGED
@@ -9681,7 +9681,7 @@ function UserProfileButton({ userName, userEmail, userTitle, initials, isOnline
9681
9681
  */
9682
9682
  const Layout = ({ sidebar, children, statusBar, className = '', sections }) => {
9683
9683
  console.log('🏗️ Layout render with sections:', sections);
9684
- return (jsxs("div", { className: `h-screen flex flex-col bg-paper-100 ${className}`, children: [jsxs("div", { className: "flex flex-1 overflow-hidden relative", children: [sidebar, jsx("div", { className: "w-8 h-full bg-paper-100 flex-shrink-0 relative flex items-center justify-center", children: jsx(PageNavigation, { sections: sections }) }), jsx("div", { className: "flex-1 overflow-auto", children: children })] }), statusBar] }));
9684
+ return (jsxs("div", { className: `h-screen flex flex-col bg-paper-100 ${className}`, children: [jsxs("div", { className: "flex flex-1 overflow-hidden relative", children: [sidebar, jsx("div", { className: "w-8 h-full bg-paper-100 flex-shrink-0 relative z-10 flex items-start justify-center pt-32", children: jsx(PageNavigation, { sections: sections }) }), jsx("div", { className: "flex-1 overflow-auto", children: children })] }), statusBar] }));
9685
9685
  };
9686
9686
 
9687
9687
  /**
@@ -11072,52 +11072,44 @@ function getAugmentedNamespace(n) {
11072
11072
  * (A1, A1:C5, ...)
11073
11073
  */
11074
11074
 
11075
- var collection;
11076
- var hasRequiredCollection;
11077
-
11078
- function requireCollection () {
11079
- if (hasRequiredCollection) return collection;
11080
- hasRequiredCollection = 1;
11081
- class Collection {
11075
+ let Collection$3 = class Collection {
11082
11076
 
11083
- constructor(data, refs) {
11084
- if (data == null && refs == null) {
11085
- this._data = [];
11086
- this._refs = [];
11087
- } else {
11088
- if (data.length !== refs.length)
11089
- throw Error('Collection: data length should match references length.');
11090
- this._data = data;
11091
- this._refs = refs;
11092
- }
11093
- }
11077
+ constructor(data, refs) {
11078
+ if (data == null && refs == null) {
11079
+ this._data = [];
11080
+ this._refs = [];
11081
+ } else {
11082
+ if (data.length !== refs.length)
11083
+ throw Error('Collection: data length should match references length.');
11084
+ this._data = data;
11085
+ this._refs = refs;
11086
+ }
11087
+ }
11094
11088
 
11095
- get data() {
11096
- return this._data;
11097
- }
11089
+ get data() {
11090
+ return this._data;
11091
+ }
11098
11092
 
11099
- get refs() {
11100
- return this._refs;
11101
- }
11093
+ get refs() {
11094
+ return this._refs;
11095
+ }
11102
11096
 
11103
- get length() {
11104
- return this._data.length;
11105
- }
11097
+ get length() {
11098
+ return this._data.length;
11099
+ }
11106
11100
 
11107
- /**
11108
- * Add data and references to this collection.
11109
- * @param {{}} obj - data
11110
- * @param {{}} ref - reference
11111
- */
11112
- add(obj, ref) {
11113
- this._data.push(obj);
11114
- this._refs.push(ref);
11115
- }
11116
- }
11101
+ /**
11102
+ * Add data and references to this collection.
11103
+ * @param {{}} obj - data
11104
+ * @param {{}} ref - reference
11105
+ */
11106
+ add(obj, ref) {
11107
+ this._data.push(obj);
11108
+ this._refs.push(ref);
11109
+ }
11110
+ };
11117
11111
 
11118
- collection = Collection;
11119
- return collection;
11120
- }
11112
+ var collection = Collection$3;
11121
11113
 
11122
11114
  var helpers;
11123
11115
  var hasRequiredHelpers;
@@ -11126,7 +11118,7 @@ function requireHelpers () {
11126
11118
  if (hasRequiredHelpers) return helpers;
11127
11119
  hasRequiredHelpers = 1;
11128
11120
  const FormulaError = requireError();
11129
- const Collection = requireCollection();
11121
+ const Collection = collection;
11130
11122
 
11131
11123
  const Types = {
11132
11124
  NUMBER: 0,
@@ -20780,7 +20772,7 @@ var engineering = EngineeringFunctions;
20780
20772
 
20781
20773
  const FormulaError$b = requireError();
20782
20774
  const {FormulaHelpers: FormulaHelpers$8, Types: Types$6, WildCard, Address: Address$3} = requireHelpers();
20783
- const Collection$2 = requireCollection();
20775
+ const Collection$2 = collection;
20784
20776
  const H$5 = FormulaHelpers$8;
20785
20777
 
20786
20778
  const ReferenceFunctions$1 = {
@@ -32408,7 +32400,7 @@ var parsing = {
32408
32400
  const FormulaError$4 = requireError();
32409
32401
  const {Address: Address$1} = requireHelpers();
32410
32402
  const {Prefix: Prefix$1, Postfix: Postfix$1, Infix: Infix$1, Operators: Operators$1} = operators;
32411
- const Collection$1 = requireCollection();
32403
+ const Collection$1 = collection;
32412
32404
  const MAX_ROW$1 = 1048576, MAX_COLUMN$1 = 16384;
32413
32405
  const {NotAllInputParsedException} = require$$4;
32414
32406
 
@@ -33170,7 +33162,7 @@ var hooks$1 = {
33170
33162
  const FormulaError$2 = requireError();
33171
33163
  const {FormulaHelpers: FormulaHelpers$1, Types, Address} = requireHelpers();
33172
33164
  const {Prefix, Postfix, Infix, Operators} = operators;
33173
- const Collection = requireCollection();
33165
+ const Collection = collection;
33174
33166
  const MAX_ROW = 1048576, MAX_COLUMN = 16384;
33175
33167
 
33176
33168
  let Utils$1 = class Utils {