@orangelogic/design-system 2.19.0-pr77248.4 → 2.21.0-pr77302.2

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 (49) hide show
  1. package/library/chunks/{asset-link-format.CNLtOgSn.js → asset-link-format.C0CS4yT2.js} +1 -1
  2. package/library/chunks/{color-swatch-group.fL5ADbZF.js → color-swatch-group.CLgR1RVY.js} +3 -3
  3. package/library/chunks/{color-swatch.JL7CbNRm.js → color-swatch.k8v423rv.js} +1 -1
  4. package/library/chunks/{confirm-popover.DwSAxWFi.js → confirm-popover.B5zE9qkC.js} +1 -1
  5. package/library/chunks/{dialog.upIZWR3x.js → dialog.BTGwgvZG.js} +1 -1
  6. package/library/chunks/{file-on-demand.Cb4mtesb.js → file-on-demand.Dbju7eFg.js} +5 -5
  7. package/library/chunks/{folder-select.BsbsjikP.js → folder-select.hyld2fgc.js} +2 -2
  8. package/library/chunks/{image.CRcv0x3Z.js → image.9eUBQRQ0.js} +11 -12
  9. package/library/chunks/{list-editor.BPUsGMW-.js → list-editor.CrErjQdh.js} +1 -1
  10. package/library/chunks/{menu-item.HK2A6RqD.js → menu-item.Dep30IBS.js} +1 -1
  11. package/library/chunks/popup.CiIgTjOV.js +3320 -0
  12. package/library/chunks/{select.DMdl1Kdd.js → select.CWOW4pAr.js} +1 -1
  13. package/library/chunks/{tab-group.3F6gRchD.js → tab-group.C0I_UeKY.js} +1 -1
  14. package/library/chunks/{table.BarE1-gL.js → table.Oco9h8cd.js} +1 -1
  15. package/library/components/asset-link-format.js +1 -1
  16. package/library/components/atoms.js +7 -7
  17. package/library/components/color-picker.js +1 -1
  18. package/library/components/color-swatch-group.js +4 -4
  19. package/library/components/color-swatch.js +2 -2
  20. package/library/components/confirm-popover.js +2 -2
  21. package/library/components/corner-position-input-group.js +1 -1
  22. package/library/components/dialog.js +2 -2
  23. package/library/components/dropdown.js +1 -1
  24. package/library/components/dynamic-select.js +2 -2
  25. package/library/components/file-on-demand.js +6 -6
  26. package/library/components/folder-select.js +2 -2
  27. package/library/components/image.js +3 -4
  28. package/library/components/line-clamp.js +1 -1
  29. package/library/components/list-editor.js +2 -2
  30. package/library/components/masonry.js +1 -1
  31. package/library/components/menu-item.js +2 -2
  32. package/library/components/menu.js +1 -1
  33. package/library/components/molecules.js +4 -4
  34. package/library/components/organisms.js +3 -3
  35. package/library/components/pagination.js +1 -1
  36. package/library/components/popup.js +10 -3297
  37. package/library/components/range.js +1 -1
  38. package/library/components/select.js +2 -2
  39. package/library/components/size-input-group.js +1 -1
  40. package/library/components/tab-group.js +2 -2
  41. package/library/components/table.js +1 -1
  42. package/library/components/tooltip.js +1 -1
  43. package/library/components/types.js +2262 -2333
  44. package/library/components/video.js +1 -1
  45. package/library/package.json +1 -1
  46. package/library/packages/atoms/src/components/popup/popup.d.ts +7 -1
  47. package/library/packages/tools/src/fetch-image/fetch-image.d.ts +0 -8
  48. package/package.json +1 -1
  49. package/library/chunks/debounce.DZNkg8Q5.js +0 -11
@@ -1,5 +1,5 @@
1
1
  import { a as Ab, c as fs, g as On } from "../chunks/_commonjsHelpers.ByX85dGu.js";
2
- import { r as Tb, C as Eb, R as wb } from "../chunks/image.CRcv0x3Z.js";
2
+ import { r as Tb, C as Eb, R as wb } from "../chunks/image.9eUBQRQ0.js";
3
3
  import Sb from "./resize-observer.js";
4
4
  import { c as Cb } from "../chunks/component.styles.DtouHn2g.js";
5
5
  import { b as Mb } from "../chunks/browser.Va59Ix3P.js";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.19.0-pr77248.4",
4
+ "version": "2.21.0-pr77302.2",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -164,9 +164,15 @@ export default class CxPopup extends CortexElement {
164
164
  * make the popup half the width of the available space.
165
165
  */
166
166
  autoWidthFactor: number;
167
+ /**
168
+ * After `active` changes, cx-overlay takes some time to open.
169
+ * Until then, the positioning is not accurate, so we use this
170
+ * state to hide the popup until the overlay is opened.
171
+ */
172
+ overlayOpened: boolean;
167
173
  private get isSizeMiddleWareUsed();
168
174
  disconnectedCallback(): void;
169
- protected runFirstUpdated(): Promise<void>;
175
+ protected runFirstUpdated(): void;
170
176
  updated(changedProps: Map<string, unknown>): Promise<void>;
171
177
  private handleAnchorChange;
172
178
  private handleOverlayOpened;
@@ -35,14 +35,6 @@ export declare class FetchImageController implements ReactiveController {
35
35
  page: number;
36
36
  pageSize?: number;
37
37
  }): Promise<ExtendedGalleryItem[]>;
38
- fetchImagesInFolderByChunk({ chunkSize, end, extraFields, folderId, forceRefetch, start, }: {
39
- chunkSize?: number;
40
- end?: number;
41
- extraFields?: string[];
42
- folderId: string;
43
- forceRefetch?: boolean;
44
- start?: number;
45
- }): AsyncGenerator<ExtendedGalleryItem[], void, unknown>;
46
38
  hostConnected?(): void;
47
39
  hostDisconnected?(): void;
48
40
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.19.0-pr77248.4",
4
+ "version": "2.21.0-pr77302.2",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -1,11 +0,0 @@
1
- const s = Symbol(), t = Symbol(), f = (l, o = !1) => (a, u, e) => {
2
- const i = e.value;
3
- e.value = function(...n) {
4
- clearTimeout(this[s]), o && !this[t] && (i.apply(this, n), this[t] = !0), this[s] = window.setTimeout(() => {
5
- o || i.apply(this, n), this[t] = !1;
6
- }, l);
7
- }, e.configurable === !1 && (e.configurable = !0);
8
- };
9
- export {
10
- f as d
11
- };