@orangelogic/design-system 4.2.0 → 4.3.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/{_baseXor.DixEm6JQ.js → _baseXor.BCxbgizO.js} +2 -2
- package/library/chunks/{asset-link-format.CVwjA_yf.js → asset-link-format.C5Ue4EGP.js} +37 -36
- package/library/chunks/{button.D1YIxtv-.js → button.DbAUlIXG.js} +3 -3
- package/library/chunks/button.styles.D3GdfF7I.js +5 -0
- package/library/chunks/{color-swatch-group.BPXiMxjh.js → color-swatch-group.B10yWbVM.js} +3279 -2903
- package/library/chunks/color.CIHdfM_a.js +187 -0
- package/library/chunks/{confirm-popover.CJXyEa5A.js → confirm-popover.Cd4HM5-B.js} +4 -4
- package/library/chunks/content-builder.CBBdfVOl.js +55 -0
- package/library/chunks/{dialog.BbQ4Du0M.js → dialog.CXphbq8N.js} +2 -2
- package/library/chunks/{document-viewer.DtBW-p7z.js → document-viewer.B_ESlazf.js} +10 -9
- package/library/chunks/{dom.DL-cNKsj.js → dom.D0lSUoEI.js} +1 -1
- package/library/chunks/{dot-pagination.CJRAtM51.js → dot-pagination.CzT-MZmt.js} +1 -1
- package/library/chunks/{folder-select.BAPsI-gg.js → folder-select.BWeanVkA.js} +5 -5
- package/library/chunks/form-control.styles.CHC7Q08Q.js +5 -0
- package/library/chunks/{form.DN2v7-DH.js → form.LpappO1d.js} +1 -1
- package/library/chunks/{header.BioJzPlg.js → header.Dy57RuQW.js} +132 -90
- package/library/chunks/{i18n.rtxrs1c1.js → i18n.Q5_2aVLU.js} +93 -12
- package/library/chunks/{icon-button.CbUddcgI.js → icon-button.BjAbCuH8.js} +1 -1
- package/library/chunks/{iframe.y7iCAVZP.js → iframe.CdktjPCB.js} +1 -1
- package/library/chunks/{image.A2hE1WoV.js → image.CCo__54F.js} +322 -222
- package/library/chunks/index.DiZGZkHv.js +1126 -0
- package/library/chunks/{input.D1FFprPl.js → input.ftEf4GS6.js} +3 -3
- package/library/chunks/{markdown.Dd_GFJK8.js → markdown.RljldBNb.js} +3 -3
- package/library/chunks/{menu-item.CbqZ66to.js → menu-item.BNs1Ji48.js} +1 -1
- package/library/chunks/{option.CkhHTlpl.js → option.C8IEnv5Q.js} +1 -1
- package/library/chunks/{pagination.BlQRt932.js → pagination.Bke9vgl4.js} +6 -6
- package/library/chunks/{position-picker.DjnhxIKF.js → position-picker.qkbJlboF.js} +12 -0
- package/library/chunks/responsive.BmBJSzC4.js +17 -0
- package/library/chunks/{string.Demn8Xmk.js → string.CfI2ejyR.js} +3 -3
- package/library/chunks/{tab-group.CQfcMVEw.js → tab-group.DZ32f41G.js} +312 -310
- package/library/chunks/toast.D3AW3RWv.js +94 -0
- package/library/chunks/transformation.Dm-pK2ft.js +352 -0
- package/library/chunks/{tree.B7IKBX3n.js → tree.Umn7TAkc.js} +1 -1
- package/library/chunks/{types.MwUT4xFk.js → types.BW36Gr9c.js} +77051 -54471
- package/library/chunks/typography.BLYdTF0n.js +102 -0
- package/library/components/alert.js +2 -2
- package/library/components/asset-link-format.js +6 -6
- package/library/components/atoms.js +161 -159
- package/library/components/audio.js +3 -3
- package/library/components/bicolor-picker.js +2 -2
- package/library/components/border-input-group.js +2 -2
- package/library/components/box.d.ts +3 -0
- package/library/components/box.js +22 -0
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +4 -4
- package/library/components/card.js +7 -7
- package/library/components/checkbox.js +2 -2
- package/library/components/color-picker.js +36 -32
- package/library/components/color-swatch-group.js +8 -7
- package/library/components/color-swatch.js +246 -22
- package/library/components/confirm-popover.js +5 -5
- package/library/components/copy-button.js +2 -2
- package/library/components/corner-position-input-group.js +3 -3
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +19 -19
- package/library/components/dialog.js +3 -3
- package/library/components/diff.js +1 -1
- package/library/components/document-viewer.js +4 -4
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +95 -92
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +12 -12
- package/library/components/folder-select.js +5 -5
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +6 -3
- package/library/components/icon-button.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +4 -3
- package/library/components/input-group.js +1 -1
- package/library/components/input.js +4 -4
- package/library/components/line-clamp.js +1 -1
- package/library/components/markdown.js +4 -4
- package/library/components/masonry.js +70 -56
- package/library/components/menu-item.js +2 -2
- package/library/components/menu.js +2 -2
- package/library/components/molecules.js +4 -4
- package/library/components/mutation-observer.js +25 -23
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +7 -7
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +2 -2
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/radio-button.js +1 -1
- package/library/components/radio-card.js +1 -1
- package/library/components/radio-group.js +2 -2
- package/library/components/range.js +3 -3
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +5 -5
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +3 -3
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +3 -3
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/switch.js +2 -2
- package/library/components/tab-group.js +6 -6
- package/library/components/tab-panel.js +1 -1
- package/library/components/tab.js +16 -16
- package/library/components/tag.js +2 -2
- package/library/components/textarea.js +2 -2
- package/library/components/timecode.js +2 -2
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +3 -3
- package/library/components/types.js +496 -487
- package/library/components/typography.js +3 -2
- package/library/components/video.js +4231 -4210
- package/library/css/ol-base.css +1 -0
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/box/box.d.ts +26 -0
- package/library/packages/atoms/src/components/box/box.styles.d.ts +7 -0
- package/library/packages/atoms/src/components/button/button.d.ts +4 -0
- package/library/packages/atoms/src/components/card/card.d.ts +1 -0
- package/library/packages/atoms/src/components/color-picker/color-picker.d.ts +11 -0
- package/library/packages/atoms/src/components/copy-button/copy-button.d.ts +1 -0
- package/library/packages/atoms/src/components/details/details.d.ts +6 -1
- package/library/packages/atoms/src/components/header/header.d.ts +38 -2
- package/library/packages/atoms/src/components/image/image.d.ts +14 -0
- package/library/packages/atoms/src/components/mutation-observer/mutation-observer.d.ts +1 -1
- package/library/packages/atoms/src/components/radio-card/radio-card.d.ts +1 -0
- package/library/packages/atoms/src/components/tab/tab.d.ts +17 -0
- package/library/packages/atoms/src/components/typography/typography.d.ts +31 -0
- package/library/packages/atoms/src/components/video/video.d.ts +18 -0
- package/library/packages/atoms/src/index.d.ts +1 -0
- package/library/packages/events/src/cx-color-swatch-picker-columns-change.d.ts +15 -0
- package/library/packages/events/src/events.d.ts +1 -0
- package/library/packages/hybrid/table-core/src/table/table.d.ts +10 -1
- package/library/packages/molecules/src/color-swatch/color-swatch.d.ts +35 -1
- package/library/packages/molecules/src/data-tab-group/data-tab-group.d.ts +30 -1
- package/library/packages/molecules/src/details-group/details-group.d.ts +105 -3
- package/library/packages/molecules/src/dynamic-select/dynamic-select.d.ts +5 -0
- package/library/packages/molecules/src/font-picker/font-picker.d.ts +3 -0
- package/library/packages/molecules/src/gallery-item/gallery-item.d.ts +10 -0
- package/library/packages/molecules/src/index.d.ts +0 -1
- package/library/packages/molecules/src/masonry/masonry.d.ts +5 -0
- package/library/packages/organisms/src/color-swatch-group/color-swatch-group.constants.d.ts +37 -45
- package/library/packages/organisms/src/color-swatch-group/color-swatch-group.d.ts +210 -10
- package/library/packages/organisms/src/content-builder/blocks/font-kit-advanced/font-kit-advanced.utils.d.ts +85 -0
- package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +22 -6
- package/library/packages/organisms/src/content-builder/components/block-picker/block-picker.d.ts +24 -8
- package/library/packages/organisms/src/content-builder/components/color-swatch-picker/color-swatch-picker.d.ts +70 -1
- package/library/packages/organisms/src/content-builder/components/config-form/config-form-controller.d.ts +1 -22
- package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/components/gallery-config/gallery-config.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/components/gallery-picker/gallery-picker.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs/accordion.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/configs/audio.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs/button.d.ts +2 -1
- package/library/packages/organisms/src/content-builder/configs/carousel.d.ts +11 -1
- package/library/packages/organisms/src/content-builder/configs/color-swatches.d.ts +19 -1
- package/library/packages/organisms/src/content-builder/configs/column-group.d.ts +11 -2
- package/library/packages/organisms/src/content-builder/configs/column.d.ts +13 -3
- package/library/packages/organisms/src/content-builder/configs/dam-view.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs/divider.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs/document-viewer.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs/font-kit-advanced.d.ts +19 -0
- package/library/packages/organisms/src/content-builder/configs/font-kit.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/configs/gallery.d.ts +15 -1
- package/library/packages/organisms/src/content-builder/configs/header.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/configs/image.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/configs/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs/search-box.d.ts +5 -1
- package/library/packages/organisms/src/content-builder/configs/tab-group.d.ts +7 -4
- package/library/packages/organisms/src/content-builder/configs/timeline.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs/video.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/configs-controller.d.ts +155 -13
- package/library/packages/organisms/src/content-builder/content-builder-config.d.ts +60 -0
- package/library/packages/organisms/src/content-builder/content-builder-constants.d.ts +27 -0
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +122 -2
- package/library/packages/organisms/src/content-builder/content-builder.sections.utils.d.ts +78 -0
- package/library/packages/organisms/src/content-builder/content-builder.utils.d.ts +33 -2
- package/library/packages/organisms/src/content-builder/plugins/font-kit-advanced.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/gallery.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/header.d.ts +7 -1
- package/library/packages/organisms/src/content-builder/plugins/index.d.ts +2 -1
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/rte-bubble-menu.d.ts +21 -1
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/rte-configs.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/sections/section-fragment-component.d.ts +22 -0
- package/library/packages/organisms/src/content-builder/plugins/sections/section-host-mounting.d.ts +15 -0
- package/library/packages/organisms/src/content-builder/plugins/sections/sections-canvas-patches.d.ts +20 -0
- package/library/packages/organisms/src/content-builder/plugins/sections/sections-plugin.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/plugins/toolbar.d.ts +10 -1
- package/library/packages/organisms/src/content-builder/plugins/utils/block-width.d.ts +20 -0
- package/library/packages/organisms/src/content-builder/styleController.d.ts +9 -5
- package/library/packages/organisms/src/content-builder-viewer/content-builder-viewer.d.ts +1 -0
- package/library/packages/organisms/src/form/control-renderer/control-renderer.d.ts +170 -0
- package/library/packages/organisms/src/form/control-renderer/control-renderer.styles.d.ts +9 -0
- package/library/packages/organisms/src/list-editor/list-editor.d.ts +181 -6
- package/library/packages/tools/src/tiptap/extensions/metafield/index.d.ts +12 -0
- package/library/packages/tools/src/tiptap/utils/md/schema.d.ts +1 -1
- package/library/packages/types/src/asset-link-format.d.ts +0 -1
- package/library/packages/types/src/button.d.ts +1 -1
- package/library/packages/types/src/color-swatch-group.d.ts +56 -0
- package/library/packages/types/src/color-swatch.d.ts +22 -0
- package/library/packages/types/src/column.d.ts +13 -0
- package/library/packages/types/src/content-builder.d.ts +69 -4
- package/library/packages/types/src/details-group.d.ts +80 -0
- package/library/packages/types/src/font-kit-advanced.d.ts +28 -0
- package/library/packages/types/src/font-kit.d.ts +19 -0
- package/library/packages/types/src/font-picker.d.ts +2 -0
- package/library/packages/types/src/gallery-item.d.ts +3 -1
- package/library/packages/types/src/gallery.d.ts +2 -1
- package/library/packages/types/src/index.d.ts +1 -0
- package/library/packages/types/src/masonry.d.ts +1 -0
- package/library/packages/types/src/position-picker.d.ts +6 -0
- package/library/packages/types/src/sb-button.d.ts +7 -0
- package/library/packages/types/src/search-box.d.ts +4 -0
- package/library/packages/utils/src/color/color.d.ts +27 -3
- package/library/packages/utils/src/custom-element/i18n.d.ts +85 -0
- package/library/packages/utils/src/font/font.d.ts +12 -0
- package/library/packages/utils/src/transformation/transformation.d.ts +11 -3
- package/library/react-web-component.d.ts +510 -156
- package/library/utils.js +415 -395
- package/package.json +1 -1
- package/library/chunks/button.styles.BWgHrfLD.js +0 -5
- package/library/chunks/color-swatch.DdsUysbF.js +0 -223
- package/library/chunks/color.LzSGBy7o.js +0 -164
- package/library/chunks/form-control.styles.CaGWmeAS.js +0 -5
- package/library/chunks/index.BO_sT6SH.js +0 -20123
- package/library/chunks/toast.BOkYwUIj.js +0 -109
- package/library/chunks/transformation.B8m0Nbao.js +0 -384
- package/library/chunks/typography.T72DuoCa.js +0 -52
- package/library/packages/molecules/src/search-box/search-box.d.ts +0 -114
- package/library/packages/organisms/src/content-builder/plugins/wrapper-container.d.ts +0 -15
- /package/library/packages/{molecules/src/search-box/search-box.styles.d.ts → organisms/src/content-builder-viewer/content-builder-viewer.styles.d.ts} +0 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { n as d, C as f } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import { c as g } from "./component.styles.CAS3c9pM.js";
|
|
3
|
+
import { c as v } from "./custom-element.L4WJXn1j.js";
|
|
4
|
+
import { w as u } from "./watch.DJF5K-8U.js";
|
|
5
|
+
import { i as b, x as i } from "./lit-element.jLBm65_O.js";
|
|
6
|
+
var t = /* @__PURE__ */ ((e) => (e.Body1 = "body1", e.Body2 = "body2", e.Body3 = "body3", e.H1 = "h1", e.H2 = "h2", e.H3 = "h3", e.H4 = "h4", e.H5 = "h5", e.H6 = "h6", e.Small = "small", e))(t || {});
|
|
7
|
+
const m = b`:host{--color:inherit;line-height:var(--cx-line-height-large);display:block}:host::part(base){-webkit-font-smoothing:antialiased}:host([editable]){cursor:text;border-radius:var(--cx-border-radius-small)}:host([editable]:focus-visible){outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.heading,.body,.small{color:var(--color);font-weight:var(--font-weight,var(--cx-font-weight));font-family:var(--font-family,var(--cx-font-sans));font-style:var(--font-style,normal);letter-spacing:var(--letter-spacing,var(--cx-letter-spacing-normal));margin-block:0}.heading-1{font-size:var(--font-size,var(--cx-font-size-3x-large));font-weight:var(--font-weight,var(--cx-font-weight-semibold));line-height:var(--line-height,var(--cx-line-height-3x-large))}.heading-2{font-size:var(--font-size,var(--cx-font-size-2x-large));font-weight:var(--font-weight,var(--cx-font-weight-semibold));line-height:var(--line-height,var(--cx-line-height-3x-large))}.heading-3{font-size:var(--font-size,var(--cx-font-size-x-large));font-weight:var(--font-weight,var(--cx-font-weight-semibold));line-height:var(--line-height,var(--cx-line-height-2x-large))}.heading-4{font-size:var(--font-size,var(--cx-font-size-large));font-weight:var(--font-weight,var(--cx-font-weight-semibold));line-height:var(--line-height,var(--cx-line-height-x-large))}.heading-5{font-size:var(--font-size,var(--cx-font-size-medium));font-weight:var(--font-weight,var(--cx-font-weight-semibold));line-height:var(--line-height,var(--cx-line-height-large))}.heading-6{font-size:var(--font-size,var(--cx-font-size-small));font-weight:var(--font-weight,var(--cx-font-weight-semibold));line-height:var(--line-height,var(--cx-line-height-medium))}.body-1{font-size:var(--font-size,var(--cx-font-size-medium-large));font-weight:var(--font-weight,var(--cx-font-weight-regular));line-height:var(--line-height,var(--cx-line-height-x-large))}.body-2{font-size:var(--font-size,var(--cx-font-size-medium));font-weight:var(--font-weight,var(--cx-font-weight-regular));line-height:var(--line-height,var(--cx-line-height-large))}.body-3{font-size:var(--font-size,var(--cx-font-size-small));font-weight:var(--font-weight,var(--cx-font-weight-regular));line-height:var(--line-height,var(--cx-line-height-medium))}.small{font-size:var(--font-size,var(--cx-font-size-x-small));font-weight:var(--font-weight,var(--cx-font-weight-regular));line-height:var(--line-height,var(--cx-line-height-small))}`;
|
|
8
|
+
var x = Object.defineProperty, w = Object.getOwnPropertyDescriptor, n = (e, o, l, r) => {
|
|
9
|
+
for (var s = r > 1 ? void 0 : r ? w(o, l) : o, h = e.length - 1, c; h >= 0; h--)
|
|
10
|
+
(c = e[h]) && (s = (r ? c(o, l, s) : c(s)) || s);
|
|
11
|
+
return r && s && x(o, l, s), s;
|
|
12
|
+
};
|
|
13
|
+
let a = class extends f {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(), this.valueBeforeEdit = "", this.variant = t.Body1, this.editable = !1, this.handleFocusIn = this.handleFocusIn.bind(this), this.handleFocusOut = this.handleFocusOut.bind(this), this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
16
|
+
}
|
|
17
|
+
set value(e) {
|
|
18
|
+
this.value !== e && (this.textContent = e);
|
|
19
|
+
}
|
|
20
|
+
get value() {
|
|
21
|
+
return (this.textContent ?? "").trim();
|
|
22
|
+
}
|
|
23
|
+
connectedCallback() {
|
|
24
|
+
super.connectedCallback(), this.addEventListener("focusin", this.handleFocusIn), this.addEventListener("focusout", this.handleFocusOut), this.addEventListener("keydown", this.handleKeyDown);
|
|
25
|
+
}
|
|
26
|
+
disconnectedCallback() {
|
|
27
|
+
super.disconnectedCallback(), this.removeEventListener("focusin", this.handleFocusIn), this.removeEventListener("focusout", this.handleFocusOut), this.removeEventListener("keydown", this.handleKeyDown);
|
|
28
|
+
}
|
|
29
|
+
handleEditableChange() {
|
|
30
|
+
if (!this.editable) {
|
|
31
|
+
this.removeAttribute("contenteditable"), this.removeAttribute("role"), this.removeAttribute("aria-multiline");
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
this.setAttribute("contenteditable", "plaintext-only"), this.isContentEditable || this.setAttribute("contenteditable", "true"), this.setAttribute("role", "textbox"), this.setAttribute("aria-multiline", "false");
|
|
35
|
+
}
|
|
36
|
+
handleFocusIn() {
|
|
37
|
+
this.editable && (this.valueBeforeEdit = this.value);
|
|
38
|
+
}
|
|
39
|
+
handleFocusOut() {
|
|
40
|
+
this.editable && this.commitEdit();
|
|
41
|
+
}
|
|
42
|
+
handleKeyDown(e) {
|
|
43
|
+
this.editable && (e.key === "Enter" ? (e.preventDefault(), this.blur()) : e.key === "Escape" && (e.preventDefault(), this.textContent = this.valueBeforeEdit, this.blur()));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Normalises the edited text and reports it. Runs from focusout, so both Enter and clicking
|
|
47
|
+
* away end up here exactly once per edit.
|
|
48
|
+
*/
|
|
49
|
+
commitEdit() {
|
|
50
|
+
const e = this.value;
|
|
51
|
+
if (!e) {
|
|
52
|
+
this.textContent = this.valueBeforeEdit;
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
this.textContent !== e && (this.textContent = e), e !== this.valueBeforeEdit && this.emit("cx-change");
|
|
56
|
+
}
|
|
57
|
+
render() {
|
|
58
|
+
switch (this.variant) {
|
|
59
|
+
case t.Body1:
|
|
60
|
+
return i`<p part="base" class="body body-1"><slot></slot></p>`;
|
|
61
|
+
case t.Body2:
|
|
62
|
+
return i`<p part="base" class="body body-2"><slot></slot></p>`;
|
|
63
|
+
case t.Body3:
|
|
64
|
+
return i`<p part="base" class="body body-3"><slot></slot></p>`;
|
|
65
|
+
case t.Small:
|
|
66
|
+
return i`<small part="base" class="small"><slot></slot></small>`;
|
|
67
|
+
case t.H1:
|
|
68
|
+
return i`<h1 part="base" class="heading heading-1"><slot></slot></h1>`;
|
|
69
|
+
case t.H2:
|
|
70
|
+
return i`<h2 part="base" class="heading heading-2"><slot></slot></h2>`;
|
|
71
|
+
case t.H3:
|
|
72
|
+
return i`<h3 part="base" class="heading heading-3"><slot></slot></h3>`;
|
|
73
|
+
case t.H4:
|
|
74
|
+
return i`<h4 part="base" class="heading heading-4"><slot></slot></h4>`;
|
|
75
|
+
case t.H5:
|
|
76
|
+
return i`<h5 part="base" class="heading heading-5"><slot></slot></h5>`;
|
|
77
|
+
case t.H6:
|
|
78
|
+
return i`<h6 part="base" class="heading heading-6"><slot></slot></h6>`;
|
|
79
|
+
}
|
|
80
|
+
return i`<p part="base" class="body body-2"><slot></slot></p>`;
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
a.styles = [g, m];
|
|
84
|
+
n([
|
|
85
|
+
d({ type: String })
|
|
86
|
+
], a.prototype, "variant", 2);
|
|
87
|
+
n([
|
|
88
|
+
d({ reflect: !0, type: Boolean })
|
|
89
|
+
], a.prototype, "editable", 2);
|
|
90
|
+
n([
|
|
91
|
+
d({ attribute: "value", type: String })
|
|
92
|
+
], a.prototype, "value", 1);
|
|
93
|
+
n([
|
|
94
|
+
u("editable")
|
|
95
|
+
], a.prototype, "handleEditableChange", 1);
|
|
96
|
+
a = n([
|
|
97
|
+
v("cx-typography")
|
|
98
|
+
], a);
|
|
99
|
+
export {
|
|
100
|
+
a as C,
|
|
101
|
+
t as T
|
|
102
|
+
};
|
|
@@ -2,7 +2,7 @@ import { n as s, C as x } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
|
2
2
|
import { c as b } from "../chunks/component.styles.CAS3c9pM.js";
|
|
3
3
|
import { s as u, a as p, w as m } from "../chunks/event.BeKOsirN.js";
|
|
4
4
|
import { c as y } from "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as C } from "../chunks/i18n.
|
|
5
|
+
import { L as C } from "../chunks/i18n.Q5_2aVLU.js";
|
|
6
6
|
import { H as T } from "../chunks/slot.j5oheLJC.js";
|
|
7
7
|
import { w } from "../chunks/watch.DJF5K-8U.js";
|
|
8
8
|
import { i as I, x as h } from "../chunks/lit-element.jLBm65_O.js";
|
|
@@ -10,7 +10,7 @@ import { r as A } from "../chunks/state.CSDxrqLd.js";
|
|
|
10
10
|
import { e as g } from "../chunks/query.BBf1UFkC.js";
|
|
11
11
|
import { e as v } from "../chunks/class-map.BiVq-cVR.js";
|
|
12
12
|
import { s as _, g as f } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
13
|
-
import { C as H } from "../chunks/icon-button.
|
|
13
|
+
import { C as H } from "../chunks/icon-button.BjAbCuH8.js";
|
|
14
14
|
const k = I`:host{margin:0;display:contents}.alert{background-color:var(--cx-panel-background-color);border:solid var(--cx-panel-border-width) var(--cx-panel-border-color);border-top-width:calc(var(--cx-panel-border-width) * 3);border-radius:var(--cx-border-radius-small);font-family:var(--cx-font-sans);font-size:var(--cx-font-size-small);font-weight:var(--cx-font-weight-regular);color:var(--cx-color-neutral-700);margin:inherit;align-items:stretch;line-height:1.6;display:flex;position:relative;overflow:hidden}.alert:not(.alert--has-icon) .alert__icon,.alert:not(.alert--closable) .alert__close-button{display:none}.alert__icon{font-size:var(--cx-font-size-large);flex:none;align-items:center;padding-inline-start:var(--cx-spacing-large);display:flex}.alert--has-countdown{border-bottom:none}.alert--primary{border-top-color:var(--cx-color-primary)}.alert--primary .alert__icon{color:var(--cx-color-primary)}.alert--success{border-top-color:var(--cx-color-success)}.alert--success .alert__icon{color:var(--cx-color-success)}.alert--neutral{border-top-color:var(--cx-color-neutral)}.alert--neutral .alert__icon{color:var(--cx-color-neutral)}.alert--warning{border-top-color:var(--cx-color-warning)}.alert--warning .alert__icon{color:var(--cx-color-warning)}.alert--danger{border-top-color:var(--cx-color-danger)}.alert--danger .alert__icon{color:var(--cx-color-danger)}.alert__message{padding:var(--cx-spacing-large);flex:auto;display:block;overflow:hidden}.alert__close-button{font-size:var(--cx-font-size-medium);flex:none;align-items:center;padding-inline-end:var(--cx-spacing-medium);display:flex}.alert__countdown{width:100%;height:calc(var(--cx-panel-border-width) * 3);background-color:var(--cx-panel-border-color);display:flex;position:absolute;bottom:0;left:0}.alert__countdown--ltr{justify-content:flex-end}.alert__countdown .alert__countdown-elapsed{width:0;height:100%}.alert--primary .alert__countdown-elapsed{background-color:var(--cx-color-primary)}.alert--success .alert__countdown-elapsed{background-color:var(--cx-color-success)}.alert--neutral .alert__countdown-elapsed{background-color:var(--cx-color-neutral-600)}.alert--warning .alert__countdown-elapsed{background-color:var(--cx-color-warning)}.alert--danger .alert__countdown-elapsed{background-color:var(--cx-color-danger)}.alert__timer{display:none}`;
|
|
15
15
|
var z = Object.defineProperty, $ = Object.getOwnPropertyDescriptor, t = (r, o, n, l) => {
|
|
16
16
|
for (var a = l > 1 ? void 0 : l ? $(o, n) : o, c = r.length - 1, d; c >= 0; c--)
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "./cropper.js";
|
|
2
|
-
import "../chunks/button.
|
|
2
|
+
import "../chunks/button.DbAUlIXG.js";
|
|
3
3
|
import "./space.js";
|
|
4
|
-
import "../chunks/typography.
|
|
4
|
+
import "../chunks/typography.BLYdTF0n.js";
|
|
5
5
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
6
|
-
import { C as h } from "../chunks/asset-link-format.
|
|
6
|
+
import { C as h } from "../chunks/asset-link-format.C5Ue4EGP.js";
|
|
7
7
|
import "../chunks/component.styles.CAS3c9pM.js";
|
|
8
8
|
import "../chunks/asset-link-format.ClaYu_v8.js";
|
|
9
|
-
import "../chunks/position-picker.
|
|
9
|
+
import "../chunks/position-picker.qkbJlboF.js";
|
|
10
10
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
11
|
-
import "../chunks/i18n.
|
|
11
|
+
import "../chunks/i18n.Q5_2aVLU.js";
|
|
12
12
|
import "../chunks/watch.DJF5K-8U.js";
|
|
13
13
|
import "../chunks/number.Cx2ncfJJ.js";
|
|
14
|
-
import "../chunks/transformation.
|
|
14
|
+
import "../chunks/transformation.Dm-pK2ft.js";
|
|
15
15
|
import "../chunks/lit-element.jLBm65_O.js";
|
|
16
16
|
import "../chunks/state.CSDxrqLd.js";
|
|
17
17
|
import "../chunks/when.Dr1es41R.js";
|
|
@@ -7,85 +7,86 @@ import { default as D } from "./array-line-clamp.js";
|
|
|
7
7
|
import { default as w } from "./audio.js";
|
|
8
8
|
import { default as h } from "./avatar.js";
|
|
9
9
|
import { default as P } from "./badge.js";
|
|
10
|
-
import { default as M } from "./
|
|
11
|
-
import { default as F } from "./breadcrumb
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { default as L } from "./
|
|
15
|
-
import { default as j } from "./
|
|
16
|
-
import { default as Q } from "./
|
|
17
|
-
import { default as q } from "./
|
|
18
|
-
import { default as K } from "./
|
|
19
|
-
import { default as W } from "./
|
|
20
|
-
import { default as Y } from "./
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import { C as xe } from "../chunks/
|
|
25
|
-
import {
|
|
26
|
-
import { default as Ce } from "./
|
|
27
|
-
import { default as ue } from "./
|
|
28
|
-
import { default as de } from "./
|
|
29
|
-
import { default as ie } from "./
|
|
30
|
-
import { default as ge } from "./
|
|
31
|
-
import { default as Ae } from "./format-
|
|
32
|
-
import { default as Se } from "./format-
|
|
33
|
-
import { default as De } from "./format-
|
|
34
|
-
import { default as we } from "./
|
|
35
|
-
import { default as he } from "./grid
|
|
36
|
-
import {
|
|
37
|
-
import { C as Me } from "../chunks/
|
|
10
|
+
import { default as M } from "./box.js";
|
|
11
|
+
import { default as F } from "./breadcrumb.js";
|
|
12
|
+
import { default as O } from "./breadcrumb-item.js";
|
|
13
|
+
import { C as E } from "../chunks/button.DbAUlIXG.js";
|
|
14
|
+
import { default as L } from "./button-group.js";
|
|
15
|
+
import { default as j } from "./card.js";
|
|
16
|
+
import { default as Q } from "./checkbox.js";
|
|
17
|
+
import { default as q } from "./color-picker.js";
|
|
18
|
+
import { default as K } from "./copy-button.js";
|
|
19
|
+
import { default as W } from "./date-calendar.js";
|
|
20
|
+
import { default as Y } from "./details.js";
|
|
21
|
+
import { default as _ } from "./diff.js";
|
|
22
|
+
import { C as oe } from "../chunks/dialog.CXphbq8N.js";
|
|
23
|
+
import { default as re } from "./divider.js";
|
|
24
|
+
import { C as xe } from "../chunks/document-viewer.B_ESlazf.js";
|
|
25
|
+
import { C as me } from "../chunks/dot-pagination.CzT-MZmt.js";
|
|
26
|
+
import { default as Ce } from "./dot-status.js";
|
|
27
|
+
import { default as ue } from "./drawer.js";
|
|
28
|
+
import { default as de } from "./dropdown.js";
|
|
29
|
+
import { default as ie } from "./e-chart.js";
|
|
30
|
+
import { default as ge } from "./element-clamp.js";
|
|
31
|
+
import { default as Ae } from "./format-bytes.js";
|
|
32
|
+
import { default as Se } from "./format-date.js";
|
|
33
|
+
import { default as De } from "./format-number.js";
|
|
34
|
+
import { default as we } from "./format-time.js";
|
|
35
|
+
import { default as he } from "./grid.js";
|
|
36
|
+
import { default as Pe } from "./grid-item.js";
|
|
37
|
+
import { C as Me } from "../chunks/header.Dy57RuQW.js";
|
|
38
|
+
import { C as Fe } from "../chunks/hub-connection.BtevPWYb.js";
|
|
38
39
|
import { f } from "../chunks/icon.BLXWp6CU.js";
|
|
39
|
-
import { C as
|
|
40
|
-
import { C as
|
|
41
|
-
import { C as
|
|
42
|
-
import { C as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { C as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { C as
|
|
49
|
-
import { default as
|
|
50
|
-
import { C as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { C as
|
|
55
|
-
import { C as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { C as
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { a as
|
|
84
|
-
import { C as
|
|
85
|
-
import { default as
|
|
86
|
-
import { default as
|
|
87
|
-
import { c as
|
|
88
|
-
import { g as
|
|
40
|
+
import { C as Oe } from "../chunks/icon.BLXWp6CU.js";
|
|
41
|
+
import { C as Ee } from "../chunks/icon-button.BjAbCuH8.js";
|
|
42
|
+
import { C as Le } from "../chunks/iframe.CdktjPCB.js";
|
|
43
|
+
import { C as je } from "../chunks/image.CCo__54F.js";
|
|
44
|
+
import { default as Qe } from "./image-comparer.js";
|
|
45
|
+
import { default as qe } from "./include.js";
|
|
46
|
+
import { C as Ke } from "../chunks/input.ftEf4GS6.js";
|
|
47
|
+
import { default as We } from "./input-group.js";
|
|
48
|
+
import { default as Ye } from "./line-clamp.js";
|
|
49
|
+
import { C as _e } from "../chunks/markdown.RljldBNb.js";
|
|
50
|
+
import { default as oo } from "./menu.js";
|
|
51
|
+
import { C as ro } from "../chunks/menu-item.BNs1Ji48.js";
|
|
52
|
+
import { default as xo } from "./menu-label.js";
|
|
53
|
+
import { default as mo } from "./menu-section.js";
|
|
54
|
+
import { default as Co } from "./mutation-observer.js";
|
|
55
|
+
import { C as uo } from "../chunks/option.C8IEnv5Q.js";
|
|
56
|
+
import { C as no } from "../chunks/pagination.Bke9vgl4.js";
|
|
57
|
+
import { default as co } from "./popup.js";
|
|
58
|
+
import { default as bo } from "./progress-bar.js";
|
|
59
|
+
import { default as Io } from "./progress-ring.js";
|
|
60
|
+
import { default as To } from "./qr-code.js";
|
|
61
|
+
import { default as Bo } from "./radio.js";
|
|
62
|
+
import { default as Ro } from "./radio-button.js";
|
|
63
|
+
import { default as yo } from "./radio-card.js";
|
|
64
|
+
import { default as Go } from "./radio-group.js";
|
|
65
|
+
import { default as vo } from "./range.js";
|
|
66
|
+
import { default as No } from "./rating.js";
|
|
67
|
+
import { default as ko } from "./relative-time.js";
|
|
68
|
+
import { default as Ho } from "./resize-observer.js";
|
|
69
|
+
import { default as Vo } from "./select.js";
|
|
70
|
+
import { default as zo } from "./skeleton.js";
|
|
71
|
+
import { default as $o } from "./space.js";
|
|
72
|
+
import { default as Jo } from "./spinner.js";
|
|
73
|
+
import { default as Uo } from "./split-panel.js";
|
|
74
|
+
import { default as Xo } from "./step.js";
|
|
75
|
+
import { default as Zo } from "./stepper.js";
|
|
76
|
+
import { default as et } from "./switch.js";
|
|
77
|
+
import { default as tt } from "./tab.js";
|
|
78
|
+
import { C as at } from "../chunks/tab-group.DZ32f41G.js";
|
|
79
|
+
import { default as ft } from "./tab-panel.js";
|
|
80
|
+
import { default as st } from "./tag.js";
|
|
81
|
+
import { default as pt } from "./textarea.js";
|
|
82
|
+
import { default as lt } from "./timecode.js";
|
|
83
|
+
import { default as nt } from "./tooltip.js";
|
|
84
|
+
import { a as ct, C as gt } from "../chunks/tree.Umn7TAkc.js";
|
|
85
|
+
import { C as At } from "../chunks/typography.BLYdTF0n.js";
|
|
86
|
+
import { default as St } from "./video.js";
|
|
87
|
+
import { default as Dt } from "./visually-hidden.js";
|
|
88
|
+
import { c as wt } from "../chunks/component.styles.CAS3c9pM.js";
|
|
89
|
+
import { g as ht, a as yt, s as Pt } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
89
90
|
function p() {
|
|
90
91
|
return Object.entries(a).filter(([e]) => e !== "easings").map(([e]) => e);
|
|
91
92
|
}
|
|
@@ -109,88 +110,89 @@ export {
|
|
|
109
110
|
w as CxAudio,
|
|
110
111
|
h as CxAvatar,
|
|
111
112
|
P as CxBadge,
|
|
112
|
-
M as
|
|
113
|
-
F as
|
|
114
|
-
O as
|
|
115
|
-
E as
|
|
116
|
-
L as
|
|
117
|
-
j as
|
|
118
|
-
Q as
|
|
119
|
-
q as
|
|
120
|
-
K as
|
|
121
|
-
W as
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
re as
|
|
126
|
-
xe as
|
|
127
|
-
me as
|
|
128
|
-
Ce as
|
|
129
|
-
ue as
|
|
130
|
-
de as
|
|
131
|
-
ie as
|
|
132
|
-
ge as
|
|
133
|
-
Ae as
|
|
134
|
-
Se as
|
|
135
|
-
De as
|
|
136
|
-
we as
|
|
137
|
-
he as
|
|
138
|
-
Pe as
|
|
139
|
-
Me as
|
|
140
|
-
Fe as
|
|
141
|
-
Oe as
|
|
142
|
-
Ee as
|
|
143
|
-
Le as
|
|
144
|
-
je as
|
|
145
|
-
Qe as
|
|
146
|
-
qe as
|
|
147
|
-
Ke as
|
|
148
|
-
We as
|
|
149
|
-
Ye as
|
|
150
|
-
_e as
|
|
151
|
-
oo as
|
|
152
|
-
ro as
|
|
153
|
-
xo as
|
|
154
|
-
mo as
|
|
155
|
-
Co as
|
|
156
|
-
uo as
|
|
157
|
-
no as
|
|
158
|
-
co as
|
|
159
|
-
bo as
|
|
160
|
-
Io as
|
|
161
|
-
To as
|
|
162
|
-
Bo as
|
|
163
|
-
Ro as
|
|
164
|
-
yo as
|
|
165
|
-
Go as
|
|
166
|
-
vo as
|
|
167
|
-
No as
|
|
168
|
-
ko as
|
|
169
|
-
Ho as
|
|
170
|
-
Vo as
|
|
171
|
-
zo as
|
|
172
|
-
$o as
|
|
173
|
-
Jo as
|
|
174
|
-
Uo as
|
|
175
|
-
Xo as
|
|
176
|
-
Zo as
|
|
177
|
-
et as
|
|
178
|
-
tt as
|
|
179
|
-
at as
|
|
180
|
-
ft as
|
|
181
|
-
st as
|
|
182
|
-
pt as
|
|
183
|
-
lt as
|
|
184
|
-
nt as
|
|
185
|
-
|
|
186
|
-
gt as
|
|
187
|
-
At as
|
|
188
|
-
St as
|
|
189
|
-
Dt as
|
|
113
|
+
M as CxBox,
|
|
114
|
+
F as CxBreadcrumb,
|
|
115
|
+
O as CxBreadcrumbItem,
|
|
116
|
+
E as CxButton,
|
|
117
|
+
L as CxButtonGroup,
|
|
118
|
+
j as CxCard,
|
|
119
|
+
Q as CxCheckbox,
|
|
120
|
+
q as CxColorPicker,
|
|
121
|
+
K as CxCopyButton,
|
|
122
|
+
W as CxDateCalendar,
|
|
123
|
+
Y as CxDetails,
|
|
124
|
+
oe as CxDialog,
|
|
125
|
+
_ as CxDiff,
|
|
126
|
+
re as CxDivider,
|
|
127
|
+
xe as CxDocumentViewer,
|
|
128
|
+
me as CxDotPagination,
|
|
129
|
+
Ce as CxDotStatus,
|
|
130
|
+
ue as CxDrawer,
|
|
131
|
+
de as CxDropdown,
|
|
132
|
+
ie as CxEChart,
|
|
133
|
+
ge as CxElementClamp,
|
|
134
|
+
Ae as CxFormatBytes,
|
|
135
|
+
Se as CxFormatDate,
|
|
136
|
+
De as CxFormatNumber,
|
|
137
|
+
we as CxFormatTime,
|
|
138
|
+
he as CxGrid,
|
|
139
|
+
Pe as CxGridItem,
|
|
140
|
+
Me as CxHeader,
|
|
141
|
+
Fe as CxHubConnection,
|
|
142
|
+
Oe as CxIcon,
|
|
143
|
+
Ee as CxIconButton,
|
|
144
|
+
Le as CxIframe,
|
|
145
|
+
je as CxImage,
|
|
146
|
+
Qe as CxImageComparer,
|
|
147
|
+
qe as CxInclude,
|
|
148
|
+
Ke as CxInput,
|
|
149
|
+
We as CxInputGroup,
|
|
150
|
+
Ye as CxLineClamp,
|
|
151
|
+
_e as CxMarkdown,
|
|
152
|
+
oo as CxMenu,
|
|
153
|
+
ro as CxMenuItem,
|
|
154
|
+
xo as CxMenuLabel,
|
|
155
|
+
mo as CxMenuSection,
|
|
156
|
+
Co as CxMutationObserver,
|
|
157
|
+
uo as CxOption,
|
|
158
|
+
no as CxPagination,
|
|
159
|
+
co as CxPopup,
|
|
160
|
+
bo as CxProgressBar,
|
|
161
|
+
Io as CxProgressRing,
|
|
162
|
+
To as CxQrCode,
|
|
163
|
+
Bo as CxRadio,
|
|
164
|
+
Ro as CxRadioButton,
|
|
165
|
+
yo as CxRadioCard,
|
|
166
|
+
Go as CxRadioGroup,
|
|
167
|
+
vo as CxRange,
|
|
168
|
+
No as CxRating,
|
|
169
|
+
ko as CxRelativeTime,
|
|
170
|
+
Ho as CxResizeObserver,
|
|
171
|
+
Vo as CxSelect,
|
|
172
|
+
zo as CxSkeleton,
|
|
173
|
+
$o as CxSpace,
|
|
174
|
+
Jo as CxSpinner,
|
|
175
|
+
Uo as CxSplitPanel,
|
|
176
|
+
Xo as CxStep,
|
|
177
|
+
Zo as CxStepper,
|
|
178
|
+
et as CxSwitch,
|
|
179
|
+
tt as CxTab,
|
|
180
|
+
at as CxTabGroup,
|
|
181
|
+
ft as CxTabPanel,
|
|
182
|
+
st as CxTag,
|
|
183
|
+
pt as CxTextarea,
|
|
184
|
+
lt as CxTimecode,
|
|
185
|
+
nt as CxTooltip,
|
|
186
|
+
ct as CxTree,
|
|
187
|
+
gt as CxTreeItem,
|
|
188
|
+
At as CxTypography,
|
|
189
|
+
St as CxVideo,
|
|
190
|
+
Dt as CxVisuallyHidden,
|
|
191
|
+
wt as componentStyles,
|
|
190
192
|
l as fontAwesomeIconNames,
|
|
191
|
-
|
|
193
|
+
ht as getAnimation,
|
|
192
194
|
p as getAnimationNames,
|
|
193
195
|
u as getEasingNames,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
+
yt as setAnimation,
|
|
197
|
+
Pt as setDefaultAnimation
|
|
196
198
|
};
|
|
@@ -2,7 +2,7 @@ import { r as f, R as y } from "../chunks/resizable-component.styles.CAfXABBc.js
|
|
|
2
2
|
import { c as v } from "../chunks/component.styles.CAS3c9pM.js";
|
|
3
3
|
import { U as m, g as w, f as g, D as x } from "../chunks/time.DYWuX2id.js";
|
|
4
4
|
import { c as P } from "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as S } from "../chunks/i18n.
|
|
5
|
+
import { L as S } from "../chunks/i18n.Q5_2aVLU.js";
|
|
6
6
|
import { w as u } from "../chunks/watch.DJF5K-8U.js";
|
|
7
7
|
import { e as b, b as _ } from "../chunks/waveform.1U9U_0rd.js";
|
|
8
8
|
import { i as E, b as $, x as h } from "../chunks/lit-element.jLBm65_O.js";
|
|
@@ -11,8 +11,8 @@ import { r } from "../chunks/state.CSDxrqLd.js";
|
|
|
11
11
|
import { e as k } from "../chunks/query.BBf1UFkC.js";
|
|
12
12
|
import { e as W } from "../chunks/class-map.BiVq-cVR.js";
|
|
13
13
|
import { n as d } from "../chunks/when.Dr1es41R.js";
|
|
14
|
-
import { C as z } from "../chunks/icon-button.
|
|
15
|
-
import { C as T } from "../chunks/typography.
|
|
14
|
+
import { C as z } from "../chunks/icon-button.BjAbCuH8.js";
|
|
15
|
+
import { C as T } from "../chunks/typography.BLYdTF0n.js";
|
|
16
16
|
const C = E`audio{display:none}:host{background-color:var(--background-color,var(--cx-color-neutral-0));border-radius:var(--border-radius,0px);border:var(--border,0px);box-sizing:border-box;color:var(--text-color,var(--cx-color-neutral));height:var(--height,auto);width:var(--width,100%);border-style:solid;display:block;position:relative}.audio{border-radius:inherit;gap:var(--cx-spacing-x-small,4px);height:100%;padding:var(--cx-spacing-small,8px);flex-direction:column;justify-content:center;display:flex;overflow:hidden}.audio--empty{height:var(--height,200px);min-height:var(--min-height,100%);padding:0}.audio--empty:before{background-color:var(--cx-color-neutral-1000);color:var(--cx-color-neutral-0);content:attr(data-empty-label);font-family:var(--cx-font-sans);font-size:clamp(var(--cx-font-size-x-small), 4cqw, var(--cx-font-size-large));font-weight:var(--cx-font-weight-semibold);text-align:center;height:100%;text-shadow:.05em .05em .1em var(--cx-color-neutral-1000);justify-content:center;align-items:center;width:100%;line-height:1;display:flex}.audio__play-button{--cx-input-border-width:2px;--cx-input-border-color:var(--text-color,var(--cx-color-neutral))}.audio__play-button::part(base){width:50px;height:50px;color:var(--text-color,var(--cx-color-neutral))!important}.audio__player{align-items:center;gap:var(--cx-spacing-small,8px);height:148px;display:flex}.audio__waveform{flex:1;min-width:0;overflow:hidden}.audio__waveform-svg{cursor:pointer;flex:1;width:100%;min-width:0;height:100%;display:block;overflow:hidden}.audio__waveform-wave{fill:var(--waves-color,var(--cx-color-primary))}.audio__waveform-played{fill:var(--played-color,color-mix(in srgb, var(--waves-color,var(--cx-color-primary)) 50%, black))}.audio__waveform-playhead{fill:var(--playhead-color,var(--cx-color-neutral-0));opacity:.9}.audio__footer{font-size:var(--cx-font-size-x-small,11px);color:var(--text-color,var(--cx-color-neutral));flex-direction:column;gap:0;padding-left:2px;display:flex}.audio__time{color:var(--text-color,var(--cx-color-neutral));font-variant-numeric:tabular-nums}.audio__filename{opacity:.75;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}`;
|
|
17
17
|
var I = Object.defineProperty, D = Object.getOwnPropertyDescriptor, e = (t, o, a, s) => {
|
|
18
18
|
for (var n = s > 1 ? void 0 : s ? D(o, a) : o, c = t.length - 1, p; c >= 0; c--)
|
|
@@ -52,8 +52,8 @@ s([
|
|
|
52
52
|
fromAttribute: (r) => {
|
|
53
53
|
const e = (r ?? "").split(" ");
|
|
54
54
|
return [
|
|
55
|
-
!e[0] || e[0] === "transparent" ? "" : e[0],
|
|
56
|
-
!e[1] || e[1] === "transparent" ? "" : e[1]
|
|
55
|
+
!e[0] || e[0] === "transparent" || e[0] === "#0000" ? "" : e[0],
|
|
56
|
+
!e[1] || e[1] === "transparent" || e[1] === "#0000" ? "" : e[1]
|
|
57
57
|
];
|
|
58
58
|
},
|
|
59
59
|
toAttribute: (r) => r.join(" ")
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as n } from "../chunks/input.
|
|
1
|
+
import { C as n } from "../chunks/input.ftEf4GS6.js";
|
|
2
2
|
import p from "./space.js";
|
|
3
3
|
import { n as u, C as m } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
4
4
|
import { c as h } from "../chunks/component.styles.CAS3c9pM.js";
|
|
5
5
|
import { c as d } from "../chunks/custom-element.L4WJXn1j.js";
|
|
6
|
-
import { L as x } from "../chunks/i18n.
|
|
6
|
+
import { L as x } from "../chunks/i18n.Q5_2aVLU.js";
|
|
7
7
|
import { i as v, x as b } from "../chunks/lit-element.jLBm65_O.js";
|
|
8
8
|
import f from "./bicolor-picker.js";
|
|
9
9
|
const g = v`.border-width{width:72px}`;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { C as m } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import { c as p } from "../chunks/component.styles.CAS3c9pM.js";
|
|
3
|
+
import { c } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
+
import { i, x } from "../chunks/lit-element.jLBm65_O.js";
|
|
5
|
+
const f = i`:host{display:block}:host([hidden]){display:none!important}`;
|
|
6
|
+
var d = Object.getOwnPropertyDescriptor, y = (r, s, a, l) => {
|
|
7
|
+
for (var t = l > 1 ? void 0 : l ? d(s, a) : s, e = r.length - 1, n; e >= 0; e--)
|
|
8
|
+
(n = r[e]) && (t = n(t) || t);
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
let o = class extends m {
|
|
12
|
+
render() {
|
|
13
|
+
return x`<slot part="base"></slot>`;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
o.styles = [p, f];
|
|
17
|
+
o = y([
|
|
18
|
+
c("cx-box")
|
|
19
|
+
], o);
|
|
20
|
+
export {
|
|
21
|
+
o as default
|
|
22
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as p, C as h } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as d } from "../chunks/component.styles.CAS3c9pM.js";
|
|
3
3
|
import { c as m } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as u } from "../chunks/i18n.
|
|
4
|
+
import { L as u } from "../chunks/i18n.Q5_2aVLU.js";
|
|
5
5
|
import { i as f, x as b } from "../chunks/lit-element.jLBm65_O.js";
|
|
6
6
|
import { e as c } from "../chunks/query.BBf1UFkC.js";
|
|
7
7
|
import { C as g } from "../chunks/icon.BLXWp6CU.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import "../chunks/component.styles.CAS3c9pM.js";
|
|
3
|
-
import { C as h } from "../chunks/button.
|
|
3
|
+
import { C as h } from "../chunks/button.DbAUlIXG.js";
|
|
4
4
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
-
import "../chunks/form.
|
|
6
|
-
import "../chunks/i18n.
|
|
5
|
+
import "../chunks/form.LpappO1d.js";
|
|
6
|
+
import "../chunks/i18n.Q5_2aVLU.js";
|
|
7
7
|
import "../chunks/slot.j5oheLJC.js";
|
|
8
8
|
import "../chunks/watch.DJF5K-8U.js";
|
|
9
9
|
import "../chunks/state.CSDxrqLd.js";
|
|
@@ -14,7 +14,7 @@ import "../chunks/when.Dr1es41R.js";
|
|
|
14
14
|
import "../chunks/static.UA3G1Deq.js";
|
|
15
15
|
import "../chunks/icon.BLXWp6CU.js";
|
|
16
16
|
import "./spinner.js";
|
|
17
|
-
import "../chunks/button.styles.
|
|
17
|
+
import "../chunks/button.styles.D3GdfF7I.js";
|
|
18
18
|
export {
|
|
19
19
|
h as default
|
|
20
20
|
};
|