@orangelogic/design-system 4.17.0 → 4.19.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/{asset-link-format.QScvoSeH.js → asset-link-format.B-wi80wk.js} +1 -1
- package/library/chunks/{color-swatch-group.DHrDL5W4.js → color-swatch-group.WMinusvs.js} +378 -359
- package/library/chunks/{config-manager.CFHDtHvK.js → config-manager.DGW1KEBN.js} +4 -4
- package/library/chunks/{config-manager.utils.Bl-vXLQp.js → config-manager.utils.CpAKaNf4.js} +237 -224
- package/library/chunks/{configs-controller.BJi93f6O.js → configs-controller.DX8-bPEZ.js} +248 -230
- package/library/chunks/{endpoints.Cyg4JQcE.js → endpoints.jOHOmF_t.js} +1 -1
- package/library/chunks/{folder-select.rWIoC8P3.js → folder-select.CmyEyzfA.js} +1 -1
- package/library/chunks/{header.DpccEGpQ.js → header.Ny2fWwyt.js} +43 -15
- package/library/chunks/{src.BQQW1rcJ.js → src.BFdGIzyC.js} +1 -1
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +2 -2
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/folder-select.js +1 -1
- package/library/components/header.js +1 -1
- package/library/components/molecules.js +1 -1
- package/library/components/organisms.js +2 -2
- package/library/components/types.js +12512 -12466
- package/library/package.json +1 -1
- package/library/packages/events/src/cx-table-validation-change.d.ts +2 -2
- package/library/packages/hybrid/rich-text/src/components/rich-text-toolbar/rich-text-toolbar.d.ts +16 -8
- package/library/packages/hybrid/rich-text/src/components/rich-text-toolbar/toolbar-align-actions.d.ts +3 -8
- package/library/packages/hybrid/rich-text/src/rich-text.d.ts +21 -1
- package/library/packages/hybrid/rich-text/src/utils/parse-border-from-style.d.ts +2 -1
- package/library/packages/hybrid/table-core/src/table/controllers/filter-controller.d.ts +8 -0
- package/library/packages/hybrid/table-core/src/table/table-in-memory-data.d.ts +2 -0
- package/library/packages/hybrid/table-core/src/table/table.d.ts +1 -1
- package/library/packages/organisms/src/dam-custom-toolbar-buttons-editor/dam-custom-toolbar-buttons-editor.d.ts +16 -1
- package/library/packages/services/src/api/cms5/cms5.d.ts +9 -0
- package/library/packages/services/src/api/cms5/cms5.types.d.ts +3 -0
- package/library/packages/services/src/api/endpoints.d.ts +1 -0
- package/library/packages/tools/src/tiptap/extensions/index.d.ts +7 -1
- package/library/packages/tools/src/tiptap/extensions/link/helpers/active-link-range.d.ts +9 -0
- package/library/packages/tools/src/tiptap/extensions/table/index.d.ts +13 -1
- package/library/packages/tools/src/tiptap/utils/to-published-html.d.ts +14 -0
- package/library/packages/types/src/rich-text.d.ts +10 -0
- package/library/packages/types/src/table.d.ts +10 -0
- package/package.json +1 -1
|
@@ -1948,7 +1948,7 @@ var jn = On(An), Mn = "webapi/extensibility/integrations/gab/assetbrowser/gethie
|
|
|
1948
1948
|
}({}), Bn = /* @__PURE__ */ function(e) {
|
|
1949
1949
|
return e["4.0"] = "API/Search/v4.0/Search", e;
|
|
1950
1950
|
}({}), Vn = /* @__PURE__ */ function(e) {
|
|
1951
|
-
return e.BLOCK_TEMPLATE = "webapi/cms/cms5/blocktemplate/418g_v1", e.GET_ADHOC_PROPERTIES = "webapi/cms/cms5/blocktemplate/getadhocpropertieslist_419s_v1", e.GET_AVAILABLE_PROXIES = "webapi/cms/cms5/availableproxies_42YX_v1", e.GET_BLOCK_TEMPLATES = "webapi/cms/cms5/blocktemplate/getblocktemplates_419y_v1", e.GET_BLOCK_TYPES = "webapi/cms/cms5/blocktemplate/getblocktypes_419z_v1", e.GET_CAN_CREATE_BLOCK_TEMPLATE = "webapi/cms/cms5/blocktemplate/cancreatenewblocktemplate_41cs_v1", e.GET_DAM_VIEW_ASSET_STATUSES = "webapi/cms/cms5/damview/getassetstatuses_42JQ_v1", e.GET_DAM_VIEW_ASSET_TYPES = "webapi/cms/cms5/damview/getassettypes_42JP_v1", e.GET_DAM_VIEW_AVAILABLE_BUTTONS = "webapi/cms/cms5/damview/getavailablebuttons_42JU_v1", e.GET_DAM_VIEW_AVAILABLE_FORMS = "webapi/cms/cms5/damview/getavailableforms_42JR_v1", e.GET_DAM_VIEW_AVAILABLE_LEVELS_OF_ACCESS = "webapi/cms/cms5/damview/getavailablelevelsofaccess_42JX_v1", e.GET_DAM_VIEW_AVAILABLE_PAGES = "webapi/cms/cms5/damview/getavailablepages_42JV_v1", e.GET_DAM_VIEW_AVAILABLE_PANELS = "webapi/cms/cms5/damview/getavailablepanels_42JT_v1", e.GET_DAM_VIEW_AVAILABLE_SPACES = "webapi/cms/cms5/damview/getavailablespaces_42JW_v1", e.GET_DAM_VIEW_AVAILABLE_TEMPLATES = "webapi/cms/cms5/damview/getavailabletemplates_42JN_v1", e.GET_DAM_VIEW_DISPLAY_MODE_OPTIONS = "webapi/cms/cms5/damview/getdisplaymodeoptions_42JS_v1", e.GET_PAGES_FOR_BLOCK_TEMPLATE = "webapi/cms/cms5/blocktemplate/getpagesforblocktemplate_41ig_v1", e.GET_PERMISSION = "webapi/cms/cms5/blocktemplate/getpermission_419r_v1", e.LIST_BLOCK_TEMPLATES = "webapi/cms/cms5/blocktemplate/getlisttemplates_428o_v1", e.SEARCH_ASSETS = "webapi/cms/cms5/search_42QJ_v1", e;
|
|
1951
|
+
return e.BLOCK_TEMPLATE = "webapi/cms/cms5/blocktemplate/418g_v1", e.GET_ADHOC_PROPERTIES = "webapi/cms/cms5/blocktemplate/getadhocpropertieslist_419s_v1", e.GET_AVAILABLE_PROXIES = "webapi/cms/cms5/availableproxies_42YX_v1", e.GET_BLOCK_TEMPLATES = "webapi/cms/cms5/blocktemplate/getblocktemplates_419y_v1", e.GET_BLOCK_TYPES = "webapi/cms/cms5/blocktemplate/getblocktypes_419z_v1", e.GET_CAN_CREATE_BLOCK_TEMPLATE = "webapi/cms/cms5/blocktemplate/cancreatenewblocktemplate_41cs_v1", e.GET_DAM_VIEW_ASSET_STATUSES = "webapi/cms/cms5/damview/getassetstatuses_42JQ_v1", e.GET_DAM_VIEW_ASSET_TYPES = "webapi/cms/cms5/damview/getassettypes_42JP_v1", e.GET_DAM_VIEW_AVAILABLE_BUTTONS = "webapi/cms/cms5/damview/getavailablebuttons_42JU_v1", e.GET_DAM_VIEW_AVAILABLE_FORMS = "webapi/cms/cms5/damview/getavailableforms_42JR_v1", e.GET_DAM_VIEW_AVAILABLE_LEVELS_OF_ACCESS = "webapi/cms/cms5/damview/getavailablelevelsofaccess_42JX_v1", e.GET_DAM_VIEW_AVAILABLE_PAGES = "webapi/cms/cms5/damview/getavailablepages_42JV_v1", e.GET_DAM_VIEW_AVAILABLE_PANELS = "webapi/cms/cms5/damview/getavailablepanels_42JT_v1", e.GET_DAM_VIEW_AVAILABLE_SPACES = "webapi/cms/cms5/damview/getavailablespaces_42JW_v1", e.GET_DAM_VIEW_AVAILABLE_TEMPLATES = "webapi/cms/cms5/damview/getavailabletemplates_42JN_v1", e.GET_DAM_VIEW_CUSTOM_BUTTON_DETAIL = "webapi/cms/cms5/damview/getcustombuttondetail_444N_v1", e.GET_DAM_VIEW_DISPLAY_MODE_OPTIONS = "webapi/cms/cms5/damview/getdisplaymodeoptions_42JS_v1", e.GET_PAGES_FOR_BLOCK_TEMPLATE = "webapi/cms/cms5/blocktemplate/getpagesforblocktemplate_41ig_v1", e.GET_PERMISSION = "webapi/cms/cms5/blocktemplate/getpermission_419r_v1", e.LIST_BLOCK_TEMPLATES = "webapi/cms/cms5/blocktemplate/getlisttemplates_428o_v1", e.SEARCH_ASSETS = "webapi/cms/cms5/search_42QJ_v1", e;
|
|
1952
1952
|
}({}), Hn = /* @__PURE__ */ function(e) {
|
|
1953
1953
|
return e.GET_AUTHORIZED_OBJECTS = "webapi/objectmanagement/authorization/getauthorizedobjects_44H_v1", e;
|
|
1954
1954
|
}({});
|
|
@@ -22,7 +22,7 @@ import { t as D } from "./select.jlSyzF3u.js";
|
|
|
22
22
|
import { t as O } from "./template.Cyvih0XQ.js";
|
|
23
23
|
import { n as k } from "./asset-link-format.DhdgEsA0.js";
|
|
24
24
|
import { a as A, i as j } from "./tree.B62nSrIi.js";
|
|
25
|
-
import { c as M, f as N, p as P } from "./endpoints.
|
|
25
|
+
import { c as M, f as N, p as P } from "./endpoints.jOHOmF_t.js";
|
|
26
26
|
import { t as F } from "./choose.C2vpqhLc.js";
|
|
27
27
|
//#region ../../node_modules/axios/index.js
|
|
28
28
|
var { Axios: I, AxiosError: L, CanceledError: R, isCancel: z, CancelToken: B, VERSION: V, all: H, Cancel: ee, isAxiosError: te, spread: ne, toFormData: re, AxiosHeaders: ie, HttpStatusCode: ae, formToJSON: oe, getAdapter: se, mergeConfig: ce } = P, U = /* @__PURE__ */ function(e) {
|
|
@@ -76,29 +76,21 @@ var S = e`insert,span[format]{background-color:var(--cx-color-success-200)}delet
|
|
|
76
76
|
list-style: none;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
/* Scale the number/bullet marker with the item's font (matches the content-builder text block's */
|
|
80
|
-
.ProseMirror li::marker {
|
|
81
|
-
font-size: var(--font-size);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
79
|
/* Highlight the full link range when the cursor is inside it. */
|
|
85
80
|
.ProseMirror .link--active {
|
|
86
81
|
background-color: var(--cx-color-primary-100);
|
|
87
82
|
border-radius: var(--cx-border-radius-x-small);
|
|
88
83
|
}
|
|
89
84
|
|
|
90
|
-
/*
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
.ProseMirror a :is(sub, sup) {
|
|
96
|
-
text-decoration: underline;
|
|
97
|
-
}
|
|
98
|
-
|
|
85
|
+
/* Sits just above the table. TableView.updateButtonPosition() overrides top/transform
|
|
86
|
+
to drop it below the table when there is not enough room above; without this default
|
|
87
|
+
the absolute box falls back to its static position, which is already below the table,
|
|
88
|
+
so the handle rendered under every table instead of over it. */
|
|
99
89
|
.ProseMirror .tableWrapper .floating-button {
|
|
100
90
|
opacity: 0;
|
|
101
91
|
position: absolute;
|
|
92
|
+
top: 0;
|
|
93
|
+
transform: translateY(-100%);
|
|
102
94
|
transition: opacity 0.2s ease-in-out;
|
|
103
95
|
}
|
|
104
96
|
|
|
@@ -239,13 +231,49 @@ var S = e`insert,span[format]{background-color:var(--cx-color-success-200)}delet
|
|
|
239
231
|
z-index: 2;
|
|
240
232
|
}
|
|
241
233
|
|
|
234
|
+
/* Tiptap injects these into document.head, which never reaches this shadow root, so the
|
|
235
|
+
caret placed before or after a block rendered as an invisible 0px box. */
|
|
236
|
+
.ProseMirror-gapcursor {
|
|
237
|
+
display: none;
|
|
238
|
+
pointer-events: none;
|
|
239
|
+
position: absolute;
|
|
240
|
+
margin: 0;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.ProseMirror-gapcursor::after {
|
|
244
|
+
content: '';
|
|
245
|
+
display: block;
|
|
246
|
+
position: absolute;
|
|
247
|
+
top: -2px;
|
|
248
|
+
width: 20px;
|
|
249
|
+
border-top: 1px solid var(--cx-color-neutral-900);
|
|
250
|
+
animation: prosemirror-cursor-blink 1.1s steps(2, start) infinite;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.ProseMirror-focused .ProseMirror-gapcursor {
|
|
254
|
+
display: block;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
@keyframes prosemirror-cursor-blink {
|
|
258
|
+
to {
|
|
259
|
+
visibility: hidden;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
242
263
|
.ProseMirror table td,
|
|
243
264
|
.ProseMirror table th {
|
|
244
|
-
border: 1px dashed var(--cx-color-neutral-400);
|
|
245
265
|
min-width: 1rem;
|
|
246
266
|
position: relative;
|
|
247
267
|
}
|
|
248
268
|
|
|
269
|
+
/* Authoring guide only: a dashed outline so borderless cells stay visible while editing.
|
|
270
|
+
Read-only surfaces must render the table exactly as the saved HTML describes it,
|
|
271
|
+
otherwise the editor shows borders the preview does not. */
|
|
272
|
+
.ProseMirror[contenteditable='true'] table td,
|
|
273
|
+
.ProseMirror[contenteditable='true'] table th {
|
|
274
|
+
border: 1px dashed var(--cx-color-neutral-400);
|
|
275
|
+
}
|
|
276
|
+
|
|
249
277
|
.ProseMirror table[data-align='center'] {
|
|
250
278
|
margin-left: auto;
|
|
251
279
|
margin-right: auto;
|
|
@@ -57,7 +57,7 @@ import "../components/format-number.js";
|
|
|
57
57
|
import "./format-time.Dx24Hlhc.js";
|
|
58
58
|
import "./grid.CK4PRwur.js";
|
|
59
59
|
import "./grid-item.CSieaU5T.js";
|
|
60
|
-
import "./header.
|
|
60
|
+
import "./header.Ny2fWwyt.js";
|
|
61
61
|
import "./hub-connection.C0CASy-Q.js";
|
|
62
62
|
import "./iframe.C3N5F3yF.js";
|
|
63
63
|
import "./image-comparer.Txi69uYU.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/asset-link-format.
|
|
1
|
+
import { t as e } from "../chunks/asset-link-format.B-wi80wk.js";
|
|
2
2
|
export { e as default };
|
|
@@ -8,7 +8,7 @@ import { t as c } from "../chunks/alert.C-yzkTnx.js";
|
|
|
8
8
|
import { t as l } from "../chunks/am-chart.COOKOvT1.js";
|
|
9
9
|
import { t as u } from "../chunks/animated-image.w6VdagCh.js";
|
|
10
10
|
import { t as d } from "../chunks/animation.CRLxJUWm.js";
|
|
11
|
-
import { n as f, r as p, t as m } from "../chunks/src.
|
|
11
|
+
import { n as f, r as p, t as m } from "../chunks/src.BFdGIzyC.js";
|
|
12
12
|
import { t as h } from "../chunks/button.F15zfy2d.js";
|
|
13
13
|
import { t as g } from "../chunks/tooltip.EVa9qa8X.js";
|
|
14
14
|
import { t as _ } from "../chunks/resize-observer.D9EHlnZI.js";
|
|
@@ -59,7 +59,7 @@ import se from "./format-number.js";
|
|
|
59
59
|
import { t as ce } from "../chunks/format-time.Dx24Hlhc.js";
|
|
60
60
|
import { t as le } from "../chunks/grid.CK4PRwur.js";
|
|
61
61
|
import { t as ue } from "../chunks/grid-item.CSieaU5T.js";
|
|
62
|
-
import { t as de } from "../chunks/header.
|
|
62
|
+
import { t as de } from "../chunks/header.Ny2fWwyt.js";
|
|
63
63
|
import { t as fe } from "../chunks/hub-connection.C0CASy-Q.js";
|
|
64
64
|
import { t as pe } from "../chunks/iframe.C3N5F3yF.js";
|
|
65
65
|
import { t as me } from "../chunks/image-comparer.Txi69uYU.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/color-swatch-group.
|
|
1
|
+
import { t as e } from "../chunks/color-swatch-group.WMinusvs.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/folder-select.
|
|
1
|
+
import { t as e } from "../chunks/folder-select.CmyEyzfA.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/header.
|
|
1
|
+
import { t as e } from "../chunks/header.Ny2fWwyt.js";
|
|
2
2
|
export { e as default };
|
|
@@ -5,7 +5,7 @@ import { t as r } from "../chunks/confirm-popover.B60_VW9E.js";
|
|
|
5
5
|
import { t as i } from "../chunks/corner-position-input-group.BVPOtopa.js";
|
|
6
6
|
import { t as a } from "../chunks/cropper.D4ymxgab.js";
|
|
7
7
|
import { t as o } from "../chunks/dynamic-select.C7bnEwn9.js";
|
|
8
|
-
import { t as s } from "../chunks/folder-select.
|
|
8
|
+
import { t as s } from "../chunks/folder-select.CmyEyzfA.js";
|
|
9
9
|
import { t as c } from "../chunks/masonry.MH1B7um_.js";
|
|
10
10
|
import { t as l } from "../chunks/padding-input-group.DYHH1M0o.js";
|
|
11
11
|
import { t as u } from "../chunks/position-picker.B3klGTsy.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../chunks/asset-link-format.
|
|
2
|
-
import { t } from "../chunks/color-swatch-group.
|
|
1
|
+
import { t as e } from "../chunks/asset-link-format.B-wi80wk.js";
|
|
2
|
+
import { t } from "../chunks/color-swatch-group.WMinusvs.js";
|
|
3
3
|
import { t as n } from "../chunks/file-on-demand.DgSknSTy.js";
|
|
4
4
|
export { e as CxAssetLinkFormat, t as CxColorSwatchGroup, n as CxFileOnDemand };
|