welcome-ui 10.3.5 → 10.5.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/dist/{5TKKKQCL-B53p3Vri.js → 5TKKKQCL-rs260p95.js} +2 -2
- package/dist/{APVORPDK-DuBDzcfp.js → APVORPDK-i7Z_eBMP.js} +2 -2
- package/dist/Accordion.js +4 -4
- package/dist/Alert.js +1 -1
- package/dist/AspectRatio.js +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/Badge.css +1 -1
- package/dist/Badge.js +23 -22
- package/dist/Breadcrumb.js +1 -1
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/{CVCFNOHX-CeUlkMgT.js → CVCFNOHX-Ck0bUDvo.js} +2 -2
- package/dist/Card.js +1 -1
- package/dist/Checkbox.js +2 -2
- package/dist/CloseButton.js +1 -1
- package/dist/DatePicker.js +2 -2
- package/dist/DateTimePicker.js +2 -2
- package/dist/Drawer.js +5 -5
- package/dist/DropdownMenu.js +12 -12
- package/dist/{ECBEZ4YM-BlwWRwxN.js → ECBEZ4YM-o09xUuV6.js} +3 -3
- package/dist/Field.js +1 -1
- package/dist/FieldGroup.js +1 -1
- package/dist/FileDrop.js +2 -2
- package/dist/FileUpload.js +1 -1
- package/dist/FloatingActionBar.js +1 -1
- package/dist/Hint.js +1 -1
- package/dist/{I7KWAPMF-CuA_ygsc.js → I7KWAPMF-DQWZpGyL.js} +1 -1
- package/dist/{IQYAUKXT-CMV5f3NE.js → IQYAUKXT-Cltvp3KN.js} +1 -1
- package/dist/Icon.js +1 -1
- package/dist/InputText.js +1 -1
- package/dist/{JMU4N4M5-BRPvDp3v.js → JMU4N4M5-DnfyqGdJ.js} +1 -1
- package/dist/Label.js +1 -1
- package/dist/Link.js +1 -1
- package/dist/Loader.js +1 -1
- package/dist/Logo.js +1 -1
- package/dist/Modal.js +5 -5
- package/dist/{NDVACHQI-B7drCM9O.js → NDVACHQI-WTOpOfgG.js} +1 -1
- package/dist/{OCCHVUS4-SwOpz56L.js → OCCHVUS4-BJVLPRH8.js} +1 -1
- package/dist/Pagination.js +1 -1
- package/dist/Popover.js +4 -4
- package/dist/{Q5W46E73-ClIlNE6g.js → Q5W46E73-5xQblshY.js} +1 -1
- package/dist/{RFRKSHIZ-BMv-8lMI.js → RFRKSHIZ-C_FLl4qI.js} +3 -3
- package/dist/Radio.js +2 -2
- package/dist/RadioGroup.js +3 -3
- package/dist/RadioTab.js +2 -2
- package/dist/Search.js +2 -2
- package/dist/Select.js +2 -2
- package/dist/Slider.js +1 -1
- package/dist/Stamp.js +1 -1
- package/dist/Stepper.js +1 -1
- package/dist/StickyNote.js +1 -1
- package/dist/Swiper.js +299 -2144
- package/dist/Table.js +1 -1
- package/dist/Tabs.js +7 -7
- package/dist/Tag.js +1 -1
- package/dist/Text.js +1 -1
- package/dist/Textarea.js +1 -1
- package/dist/TimePicker.js +2 -2
- package/dist/Toast.js +1 -1
- package/dist/Toggle.js +2 -2
- package/dist/Tooltip.js +4 -4
- package/dist/VariantIcon.js +1 -1
- package/dist/VisuallyHidden.js +1 -1
- package/dist/{WLZ6H5FH-6NScq2Y6.js → WLZ6H5FH-CuTcX7sR.js} +1 -1
- package/dist/{WZWDIE3S-DDipnVYO.js → WZWDIE3S-CGqoM1Fy.js} +1 -1
- package/dist/WelcomeLoader.js +1 -1
- package/dist/Window.css +1 -1
- package/dist/Window.js +78 -76
- package/dist/{Z32PU2LQ-7OK4psIK.js → Z32PU2LQ-DMjfxuT9.js} +2 -2
- package/dist/{ZMWF7ASR-BGZQn0ZB.js → ZMWF7ASR-Jc8y_k3t.js} +1 -1
- package/dist/{downshift.esm-xtYanIDi.js → downshift.esm-BtYj0L0Y.js} +1 -1
- package/dist/index-B6iGEm-i.js +1935 -0
- package/dist/{tab-panel-BFzjhpJq.js → tab-panel-Cc3MfOBM.js} +4 -4
- package/dist/theme.css +1 -1
- package/dist/{tslib.es6-C80jYMbM.js → tslib.es6-CKhMT3k3.js} +1 -1
- package/dist/types/components/Badge/types.d.ts +1 -1
- package/dist/types/components/Drawer/index.d.ts +1 -1
- package/dist/types/components/Modal/index.d.ts +1 -1
- package/dist/types/components/Window/components/Header.d.ts +1 -1
- package/dist/types/components/Window/index.d.ts +1 -1
- package/dist/types/components/Window/types.d.ts +1 -0
- package/dist/types/theme/generated/variables.d.ts +2 -0
- package/dist/types/utils/index.d.ts +3 -0
- package/dist/types/utils/use-breakpoint.d.ts +15 -0
- package/dist/types/utils/use-breakpoint.test.d.ts +1 -0
- package/dist/types/utils/use-viewport.test.d.ts +1 -0
- package/dist/use-viewport-GQu4vkby.js +20 -0
- package/dist/{utils-BGmdljvh.js → utils-ZE_dEXnJ.js} +1 -1
- package/dist/utils.js +25 -14
- package/package.json +1 -1
- package/dist/index-PAaZGbyz.js +0 -102
package/dist/index-PAaZGbyz.js
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
var R = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
3
|
-
function D(e) {
|
|
4
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5
|
-
}
|
|
6
|
-
function S(e) {
|
|
7
|
-
return function(...o) {
|
|
8
|
-
const c = /* @__PURE__ */ new Set();
|
|
9
|
-
function l(...f) {
|
|
10
|
-
for (const a of f)
|
|
11
|
-
if (a) {
|
|
12
|
-
if (typeof a == "string")
|
|
13
|
-
c.add((e == null ? void 0 : e[a]) || a);
|
|
14
|
-
else if (Array.isArray(a))
|
|
15
|
-
l(...a);
|
|
16
|
-
else if (typeof a == "object")
|
|
17
|
-
for (const t in a)
|
|
18
|
-
Object.prototype.hasOwnProperty.call(a, t) && a[t] && c.add((e == null ? void 0 : e[t]) || t);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
return l(...o), Array.from(c).join(" ");
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
var y, v;
|
|
25
|
-
function h() {
|
|
26
|
-
return v || (v = 1, y = function() {
|
|
27
|
-
var e = document.getSelection();
|
|
28
|
-
if (!e.rangeCount)
|
|
29
|
-
return function() {
|
|
30
|
-
};
|
|
31
|
-
for (var o = document.activeElement, c = [], l = 0; l < e.rangeCount; l++)
|
|
32
|
-
c.push(e.getRangeAt(l));
|
|
33
|
-
switch (o.tagName.toUpperCase()) {
|
|
34
|
-
// .toUpperCase handles XHTML
|
|
35
|
-
case "INPUT":
|
|
36
|
-
case "TEXTAREA":
|
|
37
|
-
o.blur();
|
|
38
|
-
break;
|
|
39
|
-
default:
|
|
40
|
-
o = null;
|
|
41
|
-
break;
|
|
42
|
-
}
|
|
43
|
-
return e.removeAllRanges(), function() {
|
|
44
|
-
e.type === "Caret" && e.removeAllRanges(), e.rangeCount || c.forEach(function(f) {
|
|
45
|
-
e.addRange(f);
|
|
46
|
-
}), o && o.focus();
|
|
47
|
-
};
|
|
48
|
-
}), y;
|
|
49
|
-
}
|
|
50
|
-
var g, C;
|
|
51
|
-
function T() {
|
|
52
|
-
if (C) return g;
|
|
53
|
-
C = 1;
|
|
54
|
-
var e = h(), o = {
|
|
55
|
-
"text/plain": "Text",
|
|
56
|
-
"text/html": "Url",
|
|
57
|
-
default: "Text"
|
|
58
|
-
}, c = "Copy to clipboard: #{key}, Enter";
|
|
59
|
-
function l(a) {
|
|
60
|
-
var t = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C";
|
|
61
|
-
return a.replace(/#{\s*key\s*}/g, t);
|
|
62
|
-
}
|
|
63
|
-
function f(a, t) {
|
|
64
|
-
var i, b, m, u, s, r, d = !1;
|
|
65
|
-
t || (t = {}), i = t.debug || !1;
|
|
66
|
-
try {
|
|
67
|
-
m = e(), u = document.createRange(), s = document.getSelection(), r = document.createElement("span"), r.textContent = a, r.ariaHidden = "true", r.style.all = "unset", r.style.position = "fixed", r.style.top = 0, r.style.clip = "rect(0, 0, 0, 0)", r.style.whiteSpace = "pre", r.style.webkitUserSelect = "text", r.style.MozUserSelect = "text", r.style.msUserSelect = "text", r.style.userSelect = "text", r.addEventListener("copy", function(n) {
|
|
68
|
-
if (n.stopPropagation(), t.format)
|
|
69
|
-
if (n.preventDefault(), typeof n.clipboardData > "u") {
|
|
70
|
-
i && console.warn("unable to use e.clipboardData"), i && console.warn("trying IE specific stuff"), window.clipboardData.clearData();
|
|
71
|
-
var p = o[t.format] || o.default;
|
|
72
|
-
window.clipboardData.setData(p, a);
|
|
73
|
-
} else
|
|
74
|
-
n.clipboardData.clearData(), n.clipboardData.setData(t.format, a);
|
|
75
|
-
t.onCopy && (n.preventDefault(), t.onCopy(n.clipboardData));
|
|
76
|
-
}), document.body.appendChild(r), u.selectNodeContents(r), s.addRange(u);
|
|
77
|
-
var w = document.execCommand("copy");
|
|
78
|
-
if (!w)
|
|
79
|
-
throw new Error("copy command was unsuccessful");
|
|
80
|
-
d = !0;
|
|
81
|
-
} catch (n) {
|
|
82
|
-
i && console.error("unable to copy using execCommand: ", n), i && console.warn("trying IE specific stuff");
|
|
83
|
-
try {
|
|
84
|
-
window.clipboardData.setData(t.format || "text", a), t.onCopy && t.onCopy(window.clipboardData), d = !0;
|
|
85
|
-
} catch (p) {
|
|
86
|
-
i && console.error("unable to copy using clipboardData: ", p), i && console.error("falling back to prompt"), b = l("message" in t ? t.message : c), window.prompt(b, a);
|
|
87
|
-
}
|
|
88
|
-
} finally {
|
|
89
|
-
s && (typeof s.removeRange == "function" ? s.removeRange(u) : s.removeAllRanges()), r && document.body.removeChild(r), m();
|
|
90
|
-
}
|
|
91
|
-
return d;
|
|
92
|
-
}
|
|
93
|
-
return g = f, g;
|
|
94
|
-
}
|
|
95
|
-
var E = T();
|
|
96
|
-
const x = /* @__PURE__ */ D(E);
|
|
97
|
-
export {
|
|
98
|
-
R as a,
|
|
99
|
-
x as b,
|
|
100
|
-
S as c,
|
|
101
|
-
D as g
|
|
102
|
-
};
|