@orangelogic/design-system 4.60.0 → 4.62.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.
Files changed (76) hide show
  1. package/library/chunks/{asset-link-format.dG974FMS.js → asset-link-format.BUZqXO4D.js} +2 -2
  2. package/library/chunks/{bicolor-picker.ePTFxpv-.js → bicolor-picker.DUEEcruV.js} +1 -1
  3. package/library/chunks/{block-width.DN6TdcDq.js → block-width.QzHkjabg.js} +19 -19
  4. package/library/chunks/{border-input-group.B-GD9YGF.js → border-input-group.XgNVfmul.js} +2 -2
  5. package/library/chunks/{color-picker.DzBT5QXr.js → color-picker.BkXV3vIK.js} +4 -4
  6. package/library/chunks/{color-swatch-group.CCMYA-co.js → color-swatch-group.G_07BvHg.js} +5 -5
  7. package/library/chunks/{config-manager.ijFjACzv.js → config-manager.Brd2mbsf.js} +16 -16
  8. package/library/chunks/{configs-controller.US9PZfsX.js → configs-controller.BPhkqQBv.js} +4 -4
  9. package/library/chunks/{confirm-popover.C2X0sUMv.js → confirm-popover.nSZeBx2K.js} +2 -2
  10. package/library/chunks/{corner-position-input-group.B1SMOWGF.js → corner-position-input-group.abmx6hmy.js} +2 -2
  11. package/library/chunks/dialog.D0oTJWFf.js +1699 -0
  12. package/library/chunks/{document-viewer.DmXykwuU.js → document-viewer.B2RwLRXO.js} +3 -3
  13. package/library/chunks/{drawer.CLSdjLR9.js → drawer.BsKzYqKe.js} +37 -26
  14. package/library/chunks/{dropdown.B4vsoK98.js → dropdown.Cc32yInQ.js} +1 -1
  15. package/library/chunks/{dynamic-select.BHCgqRwF.js → dynamic-select.ItukXjZg.js} +1 -1
  16. package/library/chunks/{file-on-demand.C2qiTIH9.js → file-on-demand.C9kzOZ1N.js} +5 -5
  17. package/library/chunks/{folder-select.Cf2KaF54.js → folder-select.BBJWsH8o.js} +2 -2
  18. package/library/chunks/{input.kTjqEyC8.js → input.DZRed6yo.js} +1 -0
  19. package/library/chunks/{padding-input-group.B-hbA7P2.js → padding-input-group.D2Qx15Yj.js} +1 -1
  20. package/library/chunks/{pagination.B6alBgDy.js → pagination.Bz2Q9ov3.js} +2 -2
  21. package/library/chunks/{select.D_899gsk.js → select.BMGK3xy9.js} +1 -1
  22. package/library/chunks/{shadow-input-group.DG3s_mso.js → shadow-input-group.jGS4SWwT.js} +2 -2
  23. package/library/chunks/{size-input-group.Df-P7xql.js → size-input-group.Db5PQVLF.js} +2 -2
  24. package/library/chunks/{src.CBMYFQxL.js → src.BG3K1VCp.js} +12 -12
  25. package/library/chunks/step.B_mpg1je.js +96 -0
  26. package/library/chunks/{stepper-wizard.DgrCTDtq.js → stepper-wizard.D5CSyMa0.js} +8 -5
  27. package/library/chunks/{stepper.BhpFjenM.js → stepper.DDMxj1Ts.js} +1 -1
  28. package/library/chunks/{tab-group.FZnVZRnT.js → tab-group.97YGxRGu.js} +1 -1
  29. package/library/chunks/{video.B0vHXehv.js → video.DWmHPbXO.js} +116 -93
  30. package/library/components/asset-link-format.js +1 -1
  31. package/library/components/atoms.js +13 -13
  32. package/library/components/bicolor-picker.js +1 -1
  33. package/library/components/border-input-group.js +1 -1
  34. package/library/components/color-picker.js +1 -1
  35. package/library/components/color-swatch-group.js +1 -1
  36. package/library/components/confirm-popover.js +1 -1
  37. package/library/components/corner-position-input-group.js +1 -1
  38. package/library/components/dialog.js +1 -1
  39. package/library/components/document-viewer.js +1 -1
  40. package/library/components/drawer.js +1 -1
  41. package/library/components/dropdown.js +1 -1
  42. package/library/components/dynamic-select.js +1 -1
  43. package/library/components/file-on-demand.js +1 -1
  44. package/library/components/folder-select.js +1 -1
  45. package/library/components/input.js +1 -1
  46. package/library/components/molecules.js +10 -10
  47. package/library/components/organisms.js +3 -3
  48. package/library/components/padding-input-group.js +1 -1
  49. package/library/components/pagination.js +1 -1
  50. package/library/components/select.js +1 -1
  51. package/library/components/shadow-input-group.js +1 -1
  52. package/library/components/size-input-group.js +1 -1
  53. package/library/components/step.js +1 -1
  54. package/library/components/stepper-wizard.js +1 -1
  55. package/library/components/stepper.js +1 -1
  56. package/library/components/tab-group.js +1 -1
  57. package/library/components/types.js +20935 -20875
  58. package/library/components/video.js +1 -1
  59. package/library/package.json +1 -1
  60. package/library/packages/atoms/src/components/dialog/dialog.d.ts +9 -0
  61. package/library/packages/atoms/src/components/drawer/drawer.d.ts +9 -0
  62. package/library/packages/atoms/src/components/input/input.d.ts +4 -1
  63. package/library/packages/atoms/src/components/step/step.d.ts +5 -0
  64. package/library/packages/molecules/src/stepper-wizard/stepper-wizard.d.ts +4 -0
  65. package/library/packages/organisms/src/downloader/data/core/worker/background/ChunkDownloader.d.ts +10 -0
  66. package/library/packages/organisms/src/downloader/data/core/worker/background/DownloadSpeedMonitor.d.ts +6 -1
  67. package/library/packages/organisms/src/downloader/data/core/worker/models/DownloadFile.d.ts +1 -0
  68. package/library/packages/organisms/src/downloader/data/orangelogic-types/ExecutionContext.d.ts +1 -0
  69. package/library/packages/organisms/src/downloader/downloader.constants.d.ts +3 -0
  70. package/library/packages/organisms/src/downloader/downloader.d.ts +2 -0
  71. package/library/packages/organisms/src/downloader/downloader.utils.d.ts +11 -2
  72. package/library/packages/types/src/downloader.d.ts +3 -0
  73. package/library/react-web-component.d.ts +10 -2
  74. package/package.json +1 -1
  75. package/library/chunks/dialog.CPvHVWDJ.js +0 -1688
  76. package/library/chunks/step.DoO31jfk.js +0 -93
@@ -1,93 +0,0 @@
1
- import { c as e, d as t } from "./lit.CyJqR2kf.js";
2
- import { a as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtdr.js";
3
- import { t as o } from "./query.B1yi7t71.js";
4
- import { t as s } from "./component.styles.0xM1ZmBs.js";
5
- import { t as c } from "./custom-element.BEMYNDK1.js";
6
- import { t as l } from "./class-map.D8nsNOVJ.js";
7
- import { t as u } from "./when.BUskJLtZ.js";
8
- import { t as d } from "./icon.CeQpEaQz.js";
9
- import { t as f } from "./style-map.DPGQIxip.js";
10
- import { t as p } from "./tooltip.Cc02vm6M.js";
11
- import { t as m } from "./line-clamp.SD3U021K.js";
12
- import { t as h } from "./progress-bar.CynVLLnY.js";
13
- //#region ../../packages/atoms/src/components/step/step.styles.ts
14
- var g = t`:host{--color:var(--color);flex:calc(100% / var(--columns) + var(--cx-spacing-small));margin-left:calc(-1 * var(--cx-spacing-small))}:host([round]){max-width:100%;margin-left:0}.step{font-family:var(--cx-font-sans);gap:var(--cx-spacing-x-small);width:100%;display:flex}.step__arrow{padding-top:var(--cx-spacing-x-small);padding-bottom:var(--cx-spacing-x-small);padding-left:var(--cx-spacing-x-large);padding-right:var(--cx-spacing-medium);background-color:var(--cx-color-neutral-100);cursor:pointer;clip-path:polygon(calc(100% - var(--cx-spacing-medium)) 0%, 100% 50%, calc(100% - var(--cx-spacing-medium)) 100%, 0% 100%, var(--cx-spacing-medium) 50%, 0% 0%);align-items:center;width:100%;display:inline-flex;position:relative}.step--first .step__arrow{clip-path:polygon(calc(100% - var(--cx-spacing-medium)) 0%, 100% 50%, calc(100% - var(--cx-spacing-medium)) 100%, 0% 100%, 0 50%, 0% 0%);border-top-left-radius:var(--cx-border-radius-large);border-bottom-left-radius:var(--cx-border-radius-large);padding-left:var(--cx-spacing-small)}.step--last .step__arrow{clip-path:polygon(100% 0, 100% 50%, 100% 100%, 0% 100%, var(--cx-spacing-medium) 50%, 0% 0%);border-top-right-radius:var(--cx-border-radius-large);border-bottom-right-radius:var(--cx-border-radius-large)}.step--first.step--last .step__arrow{clip-path:polygon(100% 0%,100% 50%,100% 100%,0% 100%,0 50%,0% 0%)}.step--active .step__arrow{background-color:light-dark(color-mix(in srgb, var(--color) 15%, white),color-mix(in srgb, var(--color) 30%, var(--cx-color-neutral-0)));cursor:default}.step--completed .step__arrow{background-color:var(--cx-color-neutral-50)}.step--disabled .step__arrow,.step--readonly .step__arrow{cursor:default}.step--disabled.step--has-description .step__arrow,.step--readonly.step--has-description .step__arrow,.step--active.step--has-description .step__arrow{cursor:help}.step__circle{background-color:color-mix(in srgb, var(--color) 15%, white);border:2px solid var(--color);border-radius:var(--cx-border-radius-circle);color:var(--color);font-weight:var(--cx-font-weight-semibold);flex:0 0 32px;justify-content:center;align-items:center;height:32px;display:flex;& cx-icon{font-size:var(--cx-font-size-medium)}}.step--round.step--active .step__circle,.step--round.step--completed .step__circle{background-color:var(--color);color:var(--cx-color-neutral-0)}.step--round.step--disabled .step__circle{background-color:var(--cx-color-neutral-0);border-color:var(--cx-color-neutral-400);color:var(--cx-color-neutral-400)}.step--round.step--error .step__circle{background-color:var(--cx-color-danger);border-color:var(--cx-color-danger);color:var(--cx-color-neutral-0)}.step__content{align-items:center;gap:var(--cx-spacing-x-small);max-width:100%;display:flex;position:relative}.step--round .step__content{flex-direction:column;justify-content:center;align-items:flex-start;gap:0}.step__content__prefix::slotted(cx-icon),.step__content__label{color:var(--cx-color-neutral-700);font-size:var(--cx-font-size-medium)}.step--active .step__content__label,.step--active .step__content__help-text,.step--active .step__content__prefix::slotted(cx-icon),.step--round.step--completed .step__content__label,.step--round.step--completed .step__content__help-text{color:var(--text-color,var(--color))}.step--disabled .step__content__label,.step--disabled .step__content__help-text,.step--disabled .step__content__prefix::slotted(cx-icon){color:var(--cx-color-neutral-400)}.step--error .step__content__label,.step--error .step__content__help-text{color:var(--cx-color-danger)}.step--round .step__content__progress{justify-content:center;align-items:center;gap:var(--cx-spacing-small);min-width:120px;line-height:1;display:flex}.step--round .step__content__progress__text{color:var(--color)}.step--round.step__content__help-text{color:var(--cx-color-neutral-600);font-size:var(--cx-font-size-small);line-height:1}.step__line{background-color:var(--color);height:2rem;margin:var(--cx-spacing-medium) calc(32px / 2) 0;flex:1;width:2px}.step--last~.step__line{display:none}cx-progress-bar{--height:8px;flex:1}`, _ = class extends a {
15
- static #e = this.styles = [s, g];
16
- static #t = this.dependencies = {
17
- "cx-icon": d,
18
- "cx-line-clamp": m,
19
- "cx-progress-bar": h,
20
- "cx-tooltip": p
21
- };
22
- constructor() {
23
- super(), this.active = !1, this.completed = !1, this.disabled = !1, this.readonly = !1, this.error = !1, this.index = 0, this.last = !1, this.helpText = "", this.progress = 0, this.color = "var(--cx-color-primary)", this.textColor = "", this.round = !1, this.description = "", this.renderDefaultStep = this.renderDefaultStep.bind(this), this.renderRoundStep = this.renderRoundStep.bind(this);
24
- }
25
- handleClick() {
26
- this.disabled || this.active || this.readonly || this.emit("cx-step-select", { detail: { id: this.dataset.id } });
27
- }
28
- renderDefaultStep() {
29
- return e`<div class="step__arrow"><div class="step__content"><slot name="prefix" class="step__content__prefix"></slot><cx-line-clamp lines="1"><slot class="step__content__label"></slot></cx-line-clamp></div></div>`;
30
- }
31
- renderRoundStep() {
32
- return e`<div class="step__circle">${this.completed ? e`<cx-icon name="check"></cx-icon>` : e`<div class="step__circle__number">${this.index + 1}</div>`}</div><div class="step__content"><slot class="step__content__label"></slot>${u(this.progress && this.progress > 0, () => e`<div class="step__content__progress"><cx-progress-bar value=${this.progress}></cx-progress-bar><div class="step__content__progress__text">${this.progress}%</div></div>`, () => e`
33
- ${u(this.helpText, () => e`<div class="step__content__help-text">${this.helpText}</div>`)}
34
- `)}</div>`;
35
- }
36
- render() {
37
- return e`<cx-tooltip ?disabled=${!this.description.trim()} .content=${this.description} hoist><div style=${f({
38
- "--color": this.color,
39
- "--text-color": this.textColor || this.color
40
- })}><div part="base" aria-label="step" role="button" class=${l({
41
- step: !0,
42
- "step--active": this.active,
43
- "step--completed": this.completed,
44
- "step--disabled": this.disabled,
45
- "step--error": this.error,
46
- "step--first": this.index === 0,
47
- "step--has-description": !!this.description.trim(),
48
- "step--last": this.last,
49
- "step--readonly": this.readonly,
50
- "step--round": this.round
51
- })} @click=${this.handleClick}>${u(this.round, this.renderRoundStep, this.renderDefaultStep)}</div>${u(this.round, () => e`<div class="step__line"></div>`)}</div></cx-tooltip>`;
52
- }
53
- };
54
- r([o("div[part=\"base\"]"), i("design:type", typeof HTMLDivElement > "u" ? Object : HTMLDivElement)], _.prototype, "step", void 0), r([n({
55
- reflect: !0,
56
- type: Boolean
57
- }), i("design:type", Boolean)], _.prototype, "active", void 0), r([n({
58
- reflect: !0,
59
- type: Boolean
60
- }), i("design:type", Boolean)], _.prototype, "completed", void 0), r([n({
61
- reflect: !0,
62
- type: Boolean
63
- }), i("design:type", Boolean)], _.prototype, "disabled", void 0), r([n({
64
- reflect: !0,
65
- type: Boolean
66
- }), i("design:type", Boolean)], _.prototype, "readonly", void 0), r([n({
67
- reflect: !0,
68
- type: Boolean
69
- }), i("design:type", Boolean)], _.prototype, "error", void 0), r([n({ type: Number }), i("design:type", Number)], _.prototype, "index", void 0), r([n({ type: Boolean }), i("design:type", Boolean)], _.prototype, "last", void 0), r([n({
70
- attribute: "help-text",
71
- reflect: !0,
72
- type: String
73
- }), i("design:type", String)], _.prototype, "helpText", void 0), r([n({
74
- reflect: !0,
75
- type: Number
76
- }), i("design:type", Number)], _.prototype, "progress", void 0), r([n({
77
- reflect: !0,
78
- type: String
79
- }), i("design:type", String)], _.prototype, "color", void 0), r([n({
80
- attribute: "text-color",
81
- reflect: !0,
82
- type: String
83
- }), i("design:type", String)], _.prototype, "textColor", void 0), r([n({
84
- reflect: !0,
85
- type: Boolean
86
- }), i("design:type", Boolean)], _.prototype, "round", void 0), r([n({
87
- attribute: "description",
88
- reflect: !0,
89
- type: String
90
- }), i("design:type", String)], _.prototype, "description", void 0), _ = r([c("cx-step"), i("design:paramtypes", [])], _);
91
- var v = _;
92
- //#endregion
93
- export { v as t };