sit-onyx 1.5.0-dev-20251209074642 → 1.5.0-dev-20251209093441
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/dist/index.esm-bundler.js +22 -24
- package/dist/index.esm-bundler.js.map +1 -1
- package/dist/index.js +734 -737
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed, provide, inject, toRef, ref, watch, defineComponent, watchEffect, toRefs, createElementBlock, openBlock, normalizeClass, renderSlot, onMounted, createBlock, resolveDynamicComponent, withCtx, createVNode, createElementVNode, withModifiers, readonly, reactive, onBeforeMount, onBeforeUnmount, useId, toValue, nextTick, unref, shallowRef, useTemplateRef, createCommentVNode, createTextVNode, toDisplayString, normalizeProps, mergeProps,
|
|
1
|
+
import { computed, provide, inject, toRef, ref, watch, defineComponent, watchEffect, toRefs, createElementBlock, openBlock, normalizeClass, renderSlot, onMounted, createBlock, resolveDynamicComponent, withCtx, createVNode, createElementVNode, withModifiers, readonly, reactive, onBeforeMount, onBeforeUnmount, useId, toValue, nextTick, unref, shallowRef, useTemplateRef, createCommentVNode, createTextVNode, toDisplayString, normalizeProps, mergeProps, useAttrs, isProxy, toRaw, customRef, onUnmounted, normalizeStyle, useSlots, createSlots, Fragment, renderList, toHandlers, resolveComponent, withDirectives, guardReactiveProps, vShow, Teleport, vModelCheckbox, vModelText, h, vModelDynamic, withKeys, createStaticVNode, useModel } from "vue";
|
|
2
2
|
import { iconChevronDownSmall, iconCircleAttention, iconXSmall, iconMoreVertical, iconX, iconMoreHorizontalSmall, iconCircleCheck, iconCircleX, iconCircleInformation, iconUser, iconArrowSmallUpRight, iconChevronRightSmall, iconArrowSmallLeft, iconMoreHorizontal, iconHome, iconChevronLeftSmall, iconFileCopy, iconSearch, iconCheck, iconSearchX, iconChevronDownUp, iconCheckSmall, iconPlusSmall, iconEyeDisabled, iconListArrowUp, iconListArrowDown, iconArrowsSort, iconCircleBlock, iconEyeClosed, iconEye, iconFileDisabled, iconCircleContrast, iconTranslate, iconMenu, iconNotificationFlag, iconPlus, iconMinus, iconMinusSmall, iconClock, iconFile, iconFilePdf, iconFileCsv, iconAudio, iconVideocam, iconPicture, iconFileRtf, iconFilePpt, iconFileXls, iconFileXlsx, iconFileDoc, iconFileGlobe, iconFileArchive, iconFileText, iconTrash, iconCloudArrowUp, iconShareIos, iconSettings, iconLogout, iconArrowSmallRight } from "@sit-onyx/icons";
|
|
3
3
|
const DENSITIES = ["compact", "default", "cozy"];
|
|
4
4
|
const useDensity = (props) => ({
|
|
@@ -166,7 +166,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
166
166
|
return __returned__;
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
|
-
const _hoisted_1$
|
|
169
|
+
const _hoisted_1$1l = ["innerHTML"];
|
|
170
170
|
function _sfc_render$1O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
171
171
|
return openBlock(), createElementBlock("figure", {
|
|
172
172
|
class: normalizeClass({
|
|
@@ -178,7 +178,7 @@ function _sfc_render$1O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
178
178
|
}),
|
|
179
179
|
"aria-hidden": "true",
|
|
180
180
|
innerHTML: $setup.props.icon
|
|
181
|
-
}, null, 10, _hoisted_1$
|
|
181
|
+
}, null, 10, _hoisted_1$1l);
|
|
182
182
|
}
|
|
183
183
|
const OnyxIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["render", _sfc_render$1O], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxIcon/OnyxIcon.vue"]]);
|
|
184
184
|
const isAlreadyTriggered = /* @__PURE__ */ new Set();
|
|
@@ -206,12 +206,12 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
206
206
|
return __returned__;
|
|
207
207
|
}
|
|
208
208
|
});
|
|
209
|
-
const _hoisted_1$
|
|
209
|
+
const _hoisted_1$1k = {
|
|
210
210
|
"aria-hidden": "true",
|
|
211
211
|
class: "onyx-component onyx-skeleton"
|
|
212
212
|
};
|
|
213
213
|
function _sfc_render$1N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
214
|
-
return openBlock(), createElementBlock("figure", _hoisted_1$
|
|
214
|
+
return openBlock(), createElementBlock("figure", _hoisted_1$1k);
|
|
215
215
|
}
|
|
216
216
|
const OnyxSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["render", _sfc_render$1N], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxSkeleton/OnyxSkeleton.vue"]]);
|
|
217
217
|
const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
@@ -251,7 +251,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
251
251
|
return __returned__;
|
|
252
252
|
}
|
|
253
253
|
});
|
|
254
|
-
const _hoisted_1$
|
|
254
|
+
const _hoisted_1$1j = ["open"];
|
|
255
255
|
const _hoisted_2$Y = ["id", "tabindex", "aria-expanded", "aria-controls", "aria-disabled"];
|
|
256
256
|
const _hoisted_3$C = { class: "onyx-accordion-item__header-content" };
|
|
257
257
|
const _hoisted_4$p = ["id", "aria-labelledby"];
|
|
@@ -307,7 +307,7 @@ function _sfc_render$1M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
307
307
|
}, [
|
|
308
308
|
renderSlot(_ctx.$slots, "default")
|
|
309
309
|
], 8, _hoisted_4$p)
|
|
310
|
-
], 10, _hoisted_1$
|
|
310
|
+
], 10, _hoisted_1$1j));
|
|
311
311
|
}
|
|
312
312
|
const OnyxAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["render", _sfc_render$1M], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxAccordionItem/OnyxAccordionItem.vue"]]);
|
|
313
313
|
const DATETIME_FORMATS = {
|
|
@@ -1937,7 +1937,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
|
1937
1937
|
return __returned__;
|
|
1938
1938
|
}
|
|
1939
1939
|
});
|
|
1940
|
-
const _hoisted_1$
|
|
1940
|
+
const _hoisted_1$1i = ["aria-modal", "aria-label", "role"];
|
|
1941
1941
|
const _hoisted_2$X = {
|
|
1942
1942
|
ref: "contentRef",
|
|
1943
1943
|
class: "onyx-basic-dialog__content"
|
|
@@ -1968,7 +1968,7 @@ function _sfc_render$1L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1968
1968
|
512
|
|
1969
1969
|
/* NEED_PATCH */
|
|
1970
1970
|
)
|
|
1971
|
-
], 42, _hoisted_1$
|
|
1971
|
+
], 42, _hoisted_1$1i)) : createCommentVNode("v-if", true);
|
|
1972
1972
|
}
|
|
1973
1973
|
const OnyxBasicDialog = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$1L], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxBasicDialog/OnyxBasicDialog.vue"]]);
|
|
1974
1974
|
const normalizedIncludes = (haystack, needle) => {
|
|
@@ -2091,7 +2091,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
2091
2091
|
return __returned__;
|
|
2092
2092
|
}
|
|
2093
2093
|
});
|
|
2094
|
-
const _hoisted_1$
|
|
2094
|
+
const _hoisted_1$1h = ["href", "target", "rel"];
|
|
2095
2095
|
function _sfc_render$1J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2096
2096
|
return openBlock(), createElementBlock("a", {
|
|
2097
2097
|
class: normalizeClass([
|
|
@@ -2116,7 +2116,7 @@ function _sfc_render$1J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2116
2116
|
_: 1
|
|
2117
2117
|
/* STABLE */
|
|
2118
2118
|
})) : createCommentVNode("v-if", true)
|
|
2119
|
-
], 10, _hoisted_1$
|
|
2119
|
+
], 10, _hoisted_1$1h);
|
|
2120
2120
|
}
|
|
2121
2121
|
const OnyxRouterLink = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc_render$1J], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxRouterLink/OnyxRouterLink.vue"]]);
|
|
2122
2122
|
const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
@@ -2258,7 +2258,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
2258
2258
|
return __returned__;
|
|
2259
2259
|
}
|
|
2260
2260
|
});
|
|
2261
|
-
const _hoisted_1$
|
|
2261
|
+
const _hoisted_1$1g = ["disabled", "type", "autofocus"];
|
|
2262
2262
|
function _sfc_render$1H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2263
2263
|
return $setup.linkProps ? (openBlock(), createBlock(
|
|
2264
2264
|
$setup["OnyxRouterLink"],
|
|
@@ -2280,7 +2280,7 @@ function _sfc_render$1H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2280
2280
|
autofocus: $setup.props.autofocus
|
|
2281
2281
|
}, [
|
|
2282
2282
|
renderSlot(_ctx.$slots, "default")
|
|
2283
|
-
], 8, _hoisted_1$
|
|
2283
|
+
], 8, _hoisted_1$1g));
|
|
2284
2284
|
}
|
|
2285
2285
|
const ButtonOrLinkLayout = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["render", _sfc_render$1H], ["__file", "/home/runner/work/onyx/onyx/packages/sit-onyx/src/components/OnyxButton/ButtonOrLinkLayout.vue"]]);
|
|
2286
2286
|
const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
@@ -2304,6 +2304,10 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
2304
2304
|
return __returned__;
|
|
2305
2305
|
}
|
|
2306
2306
|
});
|
|
2307
|
+
const _hoisted_1$1f = {
|
|
2308
|
+
key: 1,
|
|
2309
|
+
class: "onyx-truncation-ellipsis"
|
|
2310
|
+
};
|
|
2307
2311
|
function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2308
2312
|
return $setup.skeleton ? (openBlock(), createBlock($setup["OnyxSkeleton"], {
|
|
2309
2313
|
key: 0,
|
|
@@ -2319,17 +2323,11 @@ function _sfc_render$1G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2319
2323
|
key: 0,
|
|
2320
2324
|
icon: $setup.props.icon
|
|
2321
2325
|
}, null, 8, ["icon"])) : (openBlock(), createElementBlock(
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
1
|
|
2328
|
-
/* TEXT */
|
|
2329
|
-
)
|
|
2330
|
-
],
|
|
2331
|
-
64
|
|
2332
|
-
/* STABLE_FRAGMENT */
|
|
2326
|
+
"span",
|
|
2327
|
+
_hoisted_1$1f,
|
|
2328
|
+
toDisplayString($setup.props.label),
|
|
2329
|
+
1
|
|
2330
|
+
/* TEXT */
|
|
2333
2331
|
))
|
|
2334
2332
|
]),
|
|
2335
2333
|
_: 1
|