@orangelogic/design-system 4.41.0 → 4.43.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/library/chunks/{block-width.BazivzBm.js → block-width.e6gi5gdK.js} +19 -5
- package/library/chunks/{config-manager.DjEc937J.js → config-manager.DCxcRDo5.js} +1 -1
- package/library/chunks/{markdown.CrAalbNm.js → markdown.Evcme-Lw.js} +566 -566
- package/library/chunks/{src.fE9Cl6UM.js → src.CkVx3FOe.js} +1 -1
- package/library/components/atoms.js +2 -2
- package/library/components/markdown.js +1 -1
- package/library/components/types.js +9332 -9322
- package/library/package.json +1 -1
- package/library/packages/hybrid/video-advanced/src/react/plugins/CommentLine/CommentLine.d.ts +2 -0
- package/library/packages/hybrid/video-advanced/src/react/type.d.ts +2 -0
- package/library/packages/hybrid/video-advanced/src/video-advanced/video-advanced.d.ts +2 -2
- package/library/packages/molecules/src/icon-picker/icon-picker.d.ts +13 -1
- package/library/packages/molecules/src/markdown-viewer/markdown-viewer.d.ts +5 -1
- package/library/packages/molecules/src/markdown-viewer/prism-global.d.ts +1 -0
- package/library/packages/molecules/src/markdown-viewer/prism-global.mock.d.ts +2 -0
- package/library/react-web-component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ import { t as y } from "./when.BUskJLtZ.js";
|
|
|
15
15
|
import { t as ie } from "./icon.CeQpEaQz.js";
|
|
16
16
|
import { t as ae } from "./spinner.DsWszid8.js";
|
|
17
17
|
import { n as oe } from "./tslib.es6.DJNsMHqv.js";
|
|
18
|
-
import { t as se } from "./src.
|
|
18
|
+
import { t as se } from "./src.CkVx3FOe.js";
|
|
19
19
|
import { t as ce } from "./style-map.DPGQIxip.js";
|
|
20
20
|
import { t as b } from "./button.DnOMjl_G.js";
|
|
21
21
|
import { E as x, S as le, r as ue } from "./string.DAuTpyw8.js";
|
|
@@ -1076,6 +1076,9 @@ var lr = "data:application/json;base64,ewogICIxMjMiOiB7CiAgICAiY2F0ZWdvcmllcyI6I
|
|
|
1076
1076
|
async handleVariantChange() {
|
|
1077
1077
|
await this.updateComplete, this.runFirstUpdated();
|
|
1078
1078
|
}
|
|
1079
|
+
async handleSelectOptionsChange() {
|
|
1080
|
+
await this.updateComplete, await this.selectVirtualizer?.layoutComplete?.catch(() => void 0), this.select?.requestUpdate();
|
|
1081
|
+
}
|
|
1079
1082
|
async handleCustomIconValidation() {
|
|
1080
1083
|
await this.updateComplete, await this.select?.updateComplete, this.updateCustomIconValidity();
|
|
1081
1084
|
}
|
|
@@ -1137,6 +1140,12 @@ var lr = "data:application/json;base64,ewogICIxMjMiOiB7CiAgICAiY2F0ZWdvcmllcyI6I
|
|
|
1137
1140
|
handleSearchInput(e) {
|
|
1138
1141
|
this.searchTerm = e.target.value.toLowerCase();
|
|
1139
1142
|
}
|
|
1143
|
+
handleSelectSearchInput() {
|
|
1144
|
+
this.searchTerm = this.select.displayInput.value.trim().toLowerCase();
|
|
1145
|
+
}
|
|
1146
|
+
handleSelectSearchReset(e) {
|
|
1147
|
+
e.target === this.select && (this.searchTerm = "");
|
|
1148
|
+
}
|
|
1140
1149
|
handleMenuSelect(e) {
|
|
1141
1150
|
let t = e.detail.item.value;
|
|
1142
1151
|
this.value = this.setValueMenuSelect(this.value.name, t), this.emit("cx-change");
|
|
@@ -1163,8 +1172,8 @@ var lr = "data:application/json;base64,ewogICIxMjMiOiB7CiAgICAiY2F0ZWdvcmllcyI6I
|
|
|
1163
1172
|
selectGetOptionLabel(e) {
|
|
1164
1173
|
return !e || !(e instanceof E) ? this.value?.name.toString() : e.value === "custom" ? this.customOptionLabel || this.localize.term("custom") : e.dataset.name || e.value.toString();
|
|
1165
1174
|
}
|
|
1166
|
-
selectFilterCallback(e
|
|
1167
|
-
return
|
|
1175
|
+
selectFilterCallback(e) {
|
|
1176
|
+
return e instanceof E;
|
|
1168
1177
|
}
|
|
1169
1178
|
renderIcon(e, t) {
|
|
1170
1179
|
return e.startsWith("fa ") ? n`<cx-icon slot=${v(t)} variant="fa" name=${e}></cx-icon>` : n`<cx-icon slot=${v(t)} name=${e}></cx-icon>`;
|
|
@@ -1182,7 +1191,7 @@ var lr = "data:application/json;base64,ewogICIxMjMiOiB7CiAgICAiY2F0ZWdvcmllcyI6I
|
|
|
1182
1191
|
}
|
|
1183
1192
|
renderSelectMode() {
|
|
1184
1193
|
let e = this.value?.name.trim();
|
|
1185
|
-
return n`<cx-select part="base" class="icon-picker__select" value=${v(this.value?.name)} placeholder=${this.searchPlaceholder || this.localize.term("search")} no-option-text=${this.localize.term("noResults")} ?clearable=${this.clearable} .form=${this.requireCustomIcon ? this.closest("form") : void 0} hoist no-flip data-label=${this.localize.term("iconPicker")} @cx-change=${this.handleSelectValueChange} @cx-show=${this.handleSelectBeforeShow} @cx-after-show=${this.handleSelectShow} .setOptionCurrent=${this.setSelectOptionCurrent}>${this.renderSelectPrefixIcon(e)}
|
|
1194
|
+
return n`<cx-select part="base" class="icon-picker__select" value=${v(this.value?.name)} placeholder=${this.searchPlaceholder || this.localize.term("search")} no-option-text=${this.localize.term("noResults")} ?clearable=${this.clearable} .form=${this.requireCustomIcon ? this.closest("form") : void 0} hoist no-flip data-label=${this.localize.term("iconPicker")} @cx-change=${this.handleSelectValueChange} @input=${this.handleSelectSearchInput} @cx-blur=${this.handleSelectSearchReset} @cx-clear=${this.handleSelectSearchReset} @cx-show=${this.handleSelectBeforeShow} @cx-after-show=${this.handleSelectShow} .setOptionCurrent=${this.setSelectOptionCurrent}>${this.renderSelectPrefixIcon(e)}
|
|
1186
1195
|
${y(this.showVirtualizer, () => n`<lit-virtualizer .items=${this.virtualListItems} .renderItem=${this.renderOption}></lit-virtualizer>`)}
|
|
1187
1196
|
${y(!this.noCustomOption, () => n`<div part="footer" class="icon-picker__select__footer"><cx-divider part="footer-divider" class="icon-picker__select__footer__divider"></cx-divider><cx-option part="custom-button" class="icon-picker__select__footer__option" value="custom">${y(this.customOptionIcon, () => n`<cx-icon slot="prefix" name=${this.customOptionIcon}></cx-icon>`)}${this.customOptionLabel || this.localize.term("custom")}</cx-option></div>`)}</cx-select>${y(this.value?.name === "custom", () => this.renderCustomIconPicker())}
|
|
1188
1197
|
`;
|
|
@@ -1200,7 +1209,7 @@ var lr = "data:application/json;base64,ewogICIxMjMiOiB7CiAgICAiY2F0ZWdvcmllcyI6I
|
|
|
1200
1209
|
${y(this.canPickColor, () => n`<cx-bicolor-picker value=${at(this.color)} @cx-bicolor-picker-change=${this.handleBicolorChange}></cx-bicolor-picker>`)}</cx-space>`;
|
|
1201
1210
|
}
|
|
1202
1211
|
};
|
|
1203
|
-
l([f(".icon-picker__select"), u("design:type", O === void 0 ? Object : O)], U.prototype, "select", void 0), l([f(".icon-picker__select__footer__option"), u("design:type", E === void 0 ? Object : E)], U.prototype, "customOption", void 0), l([f("cx-dropdown"), u("design:type", w === void 0 ? Object : w)], U.prototype, "dropdown", void 0), l([s({
|
|
1212
|
+
l([f(".icon-picker__select"), u("design:type", O === void 0 ? Object : O)], U.prototype, "select", void 0), l([f(".icon-picker__select__footer__option"), u("design:type", E === void 0 ? Object : E)], U.prototype, "customOption", void 0), l([f("cx-dropdown"), u("design:type", w === void 0 ? Object : w)], U.prototype, "dropdown", void 0), l([f(".icon-picker__select lit-virtualizer"), u("design:type", Object)], U.prototype, "selectVirtualizer", void 0), l([s({
|
|
1204
1213
|
converter: { fromAttribute(e) {
|
|
1205
1214
|
if (!e) return {
|
|
1206
1215
|
name: "",
|
|
@@ -1271,6 +1280,11 @@ l([f(".icon-picker__select"), u("design:type", O === void 0 ? Object : O)], U.pr
|
|
|
1271
1280
|
u("design:paramtypes", []),
|
|
1272
1281
|
u("design:returntype", Promise)
|
|
1273
1282
|
], U.prototype, "handleVariantChange", null), l([
|
|
1283
|
+
g(["searchTerm", "showVirtualizer"], { waitUntilFirstUpdate: !0 }),
|
|
1284
|
+
u("design:type", Function),
|
|
1285
|
+
u("design:paramtypes", []),
|
|
1286
|
+
u("design:returntype", Promise)
|
|
1287
|
+
], U.prototype, "handleSelectOptionsChange", null), l([
|
|
1274
1288
|
g("value", { waitUntilFirstUpdate: !0 }),
|
|
1275
1289
|
g("requireCustomIcon", { waitUntilFirstUpdate: !0 }),
|
|
1276
1290
|
g("variant"),
|
|
@@ -14,7 +14,7 @@ import { t as b } from "./style-map.DPGQIxip.js";
|
|
|
14
14
|
import { t as x } from "./button.DnOMjl_G.js";
|
|
15
15
|
import { t as ee } from "./tooltip.DWx9VYtS.js";
|
|
16
16
|
import { t as te } from "./line-clamp.B7QEzpUF.js";
|
|
17
|
-
import { C as ne, D as re, E as ie, O as ae, S as oe, T as se, _ as ce, a as le, b as ue, c as de, g as fe, i as pe, l as me, n as he, o as ge, s as S, t as C, v as w, w as T, x as E, y as D } from "./block-width.
|
|
17
|
+
import { C as ne, D as re, E as ie, O as ae, S as oe, T as se, _ as ce, a as le, b as ue, c as de, g as fe, i as pe, l as me, n as he, o as ge, s as S, t as C, v as w, w as T, x as E, y as D } from "./block-width.e6gi5gdK.js";
|
|
18
18
|
import { t as O } from "./typography.B0mkhqTB.js";
|
|
19
19
|
import { t as k } from "./button-group.CPfXrqyq.js";
|
|
20
20
|
import { t as A } from "./card.3c-X4hqR.js";
|