@stack-spot/portal-layout 0.0.25 → 0.0.27

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.
Files changed (38) hide show
  1. package/dist/components/SelectionList.d.ts.map +1 -1
  2. package/dist/components/SelectionList.js +3 -56
  3. package/dist/components/SelectionList.js.map +1 -1
  4. package/dist/components/menu/MenuContent.d.ts +10 -8
  5. package/dist/components/menu/MenuContent.d.ts.map +1 -1
  6. package/dist/components/menu/MenuContent.js +9 -3
  7. package/dist/components/menu/MenuContent.js.map +1 -1
  8. package/dist/components/menu/MenuSections.d.ts.map +1 -1
  9. package/dist/components/menu/MenuSections.js +34 -9
  10. package/dist/components/menu/MenuSections.js.map +1 -1
  11. package/dist/components/menu/PageSelector.js +1 -1
  12. package/dist/components/menu/PageSelector.js.map +1 -1
  13. package/dist/components/menu/types.d.ts +10 -2
  14. package/dist/components/menu/types.d.ts.map +1 -1
  15. package/dist/components/menu/{useCheckTextOverflow.d.ts → use-check-text-overflow.d.ts} +1 -1
  16. package/dist/components/menu/use-check-text-overflow.d.ts.map +1 -0
  17. package/dist/components/menu/{useCheckTextOverflow.js → use-check-text-overflow.js} +1 -1
  18. package/dist/components/menu/use-check-text-overflow.js.map +1 -0
  19. package/dist/components/menu/use-keyboard-controls.d.ts +10 -0
  20. package/dist/components/menu/use-keyboard-controls.d.ts.map +1 -0
  21. package/dist/components/menu/use-keyboard-controls.js +74 -0
  22. package/dist/components/menu/use-keyboard-controls.js.map +1 -0
  23. package/dist/layout.css +27 -6
  24. package/package.json +5 -5
  25. package/src/components/SelectionList.tsx +3 -59
  26. package/src/components/menu/MenuContent.tsx +9 -2
  27. package/src/components/menu/MenuSections.tsx +95 -35
  28. package/src/components/menu/PageSelector.tsx +1 -1
  29. package/src/components/menu/types.ts +10 -2
  30. package/src/components/menu/{useCheckTextOverflow.tsx → use-check-text-overflow.tsx} +2 -2
  31. package/src/components/menu/use-keyboard-controls.tsx +88 -0
  32. package/src/layout.css +27 -6
  33. package/dist/components/error/ErrorDescriptor.d.ts +0 -12
  34. package/dist/components/error/ErrorDescriptor.d.ts.map +0 -1
  35. package/dist/components/error/ErrorDescriptor.js +0 -17
  36. package/dist/components/error/ErrorDescriptor.js.map +0 -1
  37. package/dist/components/menu/useCheckTextOverflow.d.ts.map +0 -1
  38. package/dist/components/menu/useCheckTextOverflow.js.map +0 -1
@@ -1,12 +0,0 @@
1
- export interface ErrorDescription {
2
- code?: number;
3
- message?: string;
4
- debug?: boolean;
5
- }
6
- export type DescriptionFn = (error: any) => ErrorDescription;
7
- export declare class ErrorDescriptor {
8
- private static descriptionFunction;
9
- static setDescriptionFunction(fn: DescriptionFn): void;
10
- static describe(error: any): ErrorDescription;
11
- }
12
- //# sourceMappingURL=ErrorDescriptor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ErrorDescriptor.d.ts","sourceRoot":"","sources":["../../../src/components/error/ErrorDescriptor.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,CAAC,KAAK,EAAE,GAAG,KAAK,gBAAgB,CAAA;AAE5D,qBAAa,eAAe;IAC1B,OAAO,CAAC,MAAM,CAAC,mBAAmB,CAEhC;IAEF,MAAM,CAAC,sBAAsB,CAAC,EAAE,EAAE,aAAa;IAI/C,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,GAAG;CAG3B"}
@@ -1,17 +0,0 @@
1
- export class ErrorDescriptor {
2
- static setDescriptionFunction(fn) {
3
- this.descriptionFunction = fn;
4
- }
5
- static describe(error) {
6
- return this.descriptionFunction(error);
7
- }
8
- }
9
- Object.defineProperty(ErrorDescriptor, "descriptionFunction", {
10
- enumerable: true,
11
- configurable: true,
12
- writable: true,
13
- value: error => ({
14
- message: error.message || `${error}`,
15
- })
16
- });
17
- //# sourceMappingURL=ErrorDescriptor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ErrorDescriptor.js","sourceRoot":"","sources":["../../../src/components/error/ErrorDescriptor.ts"],"names":[],"mappings":"AAQA,MAAM,OAAO,eAAe;IAK1B,MAAM,CAAC,sBAAsB,CAAC,EAAiB;QAC7C,IAAI,CAAC,mBAAmB,GAAG,EAAE,CAAA;IAC/B,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,KAAU;QACxB,OAAO,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAA;IACxC,CAAC;;AAVc;;;;WAAqC,KAAK,CAAC,EAAE,CAAC,CAAC;QAC5D,OAAO,EAAE,KAAK,CAAC,OAAO,IAAI,GAAG,KAAK,EAAE;KACrC,CAAC;GAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCheckTextOverflow.d.ts","sourceRoot":"","sources":["../../../src/components/menu/useCheckTextOverflow.tsx"],"names":[],"mappings":";AAEA,wBAAgB,oBAAoB;;;EAuBnC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCheckTextOverflow.js","sourceRoot":"","sources":["../../../src/components/menu/useCheckTextOverflow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpD,MAAM,UAAU,oBAAoB;IAClC,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC,CAAA;IACxD,MAAM,GAAG,GAAG,MAAM,CAAuB,IAAI,CAAC,CAAA;IAE9C,MAAM,aAAa,GAAG,GAAG,EAAE;QACzB,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC;YACjB,OAAM;QACR,CAAC;QAED,MAAM,WAAW,GAAG,GAAG,CAAC,OAAO,CAAC,WAAW,GAAG,GAAG,CAAC,OAAO,CAAC,WAAW,CAAA;QAErE,IAAI,WAAW,KAAK,QAAQ,EAAE,CAAC;YAC7B,OAAM;QACR,CAAC;QAED,WAAW,CAAC,WAAW,CAAC,CAAA;IAC1B,CAAC,CAAA;IAED,SAAS,CAAC,GAAG,EAAE;QACb,aAAa,EAAE,CAAA;IACjB,CAAC,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAA;IAEjB,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAA;AAC1B,CAAC"}