@companix/uikit 0.0.3 → 0.0.4
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/Button/Button.scss +128 -0
- package/dist/ButtonGroup/ButtonGroup.scss +18 -0
- package/dist/Checkbox/Checkbox.scss +115 -0
- package/dist/DateInput/DateInput.scss +11 -0
- package/dist/DatePicker/Calendar.scss +125 -0
- package/dist/DatePicker/DatePicker.scss +0 -0
- package/dist/Dialog/Dialog.scss +25 -0
- package/dist/Dialog/Popup.scss +55 -0
- package/dist/DialogAlert/Alert.scss +52 -0
- package/dist/Drawer/Drawer.scss +112 -0
- package/dist/Form/Form.scss +70 -0
- package/dist/Form/Input.scss +24 -0
- package/dist/Icon/icon.scss +18 -0
- package/dist/OptionItem/Option.scss +89 -0
- package/dist/Popover/Popover.scss +80 -0
- package/dist/Radio/Radio.scss +148 -0
- package/dist/Scrollable/Scrollable.scss +50 -0
- package/dist/Select/Select.scss +80 -0
- package/dist/SelectTags/SelectTags.scss +66 -0
- package/dist/Spinner/Spinner.scss +14 -0
- package/dist/Stepper/StepperInput.scss +35 -0
- package/dist/Switch/Switch.scss +102 -0
- package/dist/Tabs/Tabs.scss +58 -0
- package/dist/TextArea/TextArea.scss +34 -0
- package/dist/Toaster/Toaster.scss +151 -0
- package/dist/Tooltip/Tooltip.scss +28 -0
- package/dist/bundle.es.js +56 -59
- package/dist/bundle.es10.js +35 -84
- package/dist/bundle.es11.js +30 -72
- package/dist/bundle.es12.js +14 -34
- package/dist/bundle.es13.js +7 -30
- package/dist/bundle.es14.js +33 -16
- package/dist/bundle.es15.js +24 -8
- package/dist/bundle.es16.js +15 -27
- package/dist/bundle.es17.js +22 -25
- package/dist/bundle.es18.js +13 -21
- package/dist/bundle.es19.js +38 -22
- package/dist/bundle.es2.js +45 -0
- package/dist/bundle.es20.js +16 -13
- package/dist/bundle.es21.js +34 -39
- package/dist/bundle.es22.js +20 -15
- package/dist/bundle.es23.js +38 -32
- package/dist/bundle.es24.js +110 -20
- package/dist/bundle.es25.js +106 -34
- package/dist/bundle.es26.js +34 -110
- package/dist/bundle.es27.js +11 -113
- package/dist/bundle.es28.js +23 -34
- package/dist/bundle.es29.js +35 -10
- package/dist/bundle.es3.js +10 -42
- package/dist/bundle.es30.js +20 -21
- package/dist/bundle.es31.js +81 -36
- package/dist/bundle.es32.js +20 -0
- package/dist/bundle.es33.js +16 -0
- package/dist/bundle.es34.js +24 -0
- package/dist/bundle.es35.js +5 -41
- package/dist/bundle.es36.js +18 -437
- package/dist/bundle.es37.js +14 -22
- package/dist/bundle.es38.js +68 -22
- package/dist/bundle.es39.js +68 -81
- package/dist/bundle.es4.js +85 -12
- package/dist/bundle.es40.js +31 -17
- package/dist/bundle.es41.js +67 -13
- package/dist/bundle.es43.js +75 -5
- package/dist/bundle.es44.js +46 -18
- package/dist/bundle.es45.js +42 -13
- package/dist/bundle.es5.js +82 -83
- package/dist/bundle.es6.js +74 -81
- package/dist/bundle.es7.js +26 -78
- package/dist/bundle.es8.js +80 -22
- package/dist/bundle.es9.js +71 -43
- package/dist/css-properties.scss +120 -0
- package/dist/{types/index.d.ts → index.d.ts} +0 -1
- package/dist/index.scss +25 -0
- package/dist/mixins.scss +100 -0
- package/dist/theme.scss +101 -0
- package/package.json +1 -1
- package/dist/bundle.es46.js +0 -72
- package/dist/bundle.es47.js +0 -70
- package/dist/bundle.es48.js +0 -34
- package/dist/bundle.es49.js +0 -70
- package/dist/bundle.es51.js +0 -78
- package/dist/bundle.es52.js +0 -51
- package/dist/bundle.es53.js +0 -45
- package/dist/bundle.es54.js +0 -40
- package/dist/bundle.es55.js +0 -36
- package/dist/bundle.es56.js +0 -9
- package/dist/bundle.es57.js +0 -9
- package/dist/bundle.es58.js +0 -7
- package/dist/bundle.es59.js +0 -9
- package/dist/bundle.es60.js +0 -8
- package/dist/bundle.es61.js +0 -19
- package/dist/bundle.es62.js +0 -15
- package/dist/bundle.es63.js +0 -22
- package/dist/bundle.es64.js +0 -45
- package/dist/bundle.es65.js +0 -28
- package/dist/bundle.es66.js +0 -34
- package/dist/bundle.es67.js +0 -6
- package/dist/bundle.es68.js +0 -12
- package/dist/bundle.es69.js +0 -47
- package/dist/bundle.es70.js +0 -11
- package/dist/bundle.es71.js +0 -18
- package/dist/bundle.es72.js +0 -32
- package/dist/bundle.es73.js +0 -35
- package/dist/bundle.es74.js +0 -6
- package/dist/bundle.es75.js +0 -7
- package/dist/bundle.es76.js +0 -7
- package/dist/bundle.es77.js +0 -11
- package/dist/bundle.es78.js +0 -17
- package/dist/bundle.es79.js +0 -7
- package/dist/bundle.es80.js +0 -17
- package/dist/bundle.es81.js +0 -25
- package/dist/uikit.css +0 -1
- /package/dist/{types/Button → Button}/index.d.ts +0 -0
- /package/dist/{types/ButtonGroup → ButtonGroup}/index.d.ts +0 -0
- /package/dist/{types/Checkbox → Checkbox}/index.d.ts +0 -0
- /package/dist/{types/Countdown → Countdown}/index.d.ts +0 -0
- /package/dist/{types/DateInput → DateInput}/index.d.ts +0 -0
- /package/dist/{types/DatePicker → DatePicker}/Calendar.d.ts +0 -0
- /package/dist/{types/DatePicker → DatePicker}/CalendarHeader.d.ts +0 -0
- /package/dist/{types/DatePicker → DatePicker}/index.d.ts +0 -0
- /package/dist/{types/Dialog → Dialog}/index.d.ts +0 -0
- /package/dist/{types/DialogAlert → DialogAlert}/Alert.d.ts +0 -0
- /package/dist/{types/DialogAlert → DialogAlert}/Viewport.d.ts +0 -0
- /package/dist/{types/DialogAlert → DialogAlert}/index.d.ts +0 -0
- /package/dist/{types/Drawer → Drawer}/index.d.ts +0 -0
- /package/dist/{types/File → File}/index.d.ts +0 -0
- /package/dist/{types/Form → Form}/index.d.ts +0 -0
- /package/dist/{types/Icon → Icon}/index.d.ts +0 -0
- /package/dist/{types/LoadButton → LoadButton}/index.d.ts +0 -0
- /package/dist/{types/NumberInput → NumberInput}/index.d.ts +0 -0
- /package/dist/{types/OptionItem → OptionItem}/OptionItem.d.ts +0 -0
- /package/dist/{types/OptionItem → OptionItem}/OptionsList.d.ts +0 -0
- /package/dist/{types/Popover → Popover}/index.d.ts +0 -0
- /package/dist/{types/Radio → Radio}/index.d.ts +0 -0
- /package/dist/{types/Scrollable → Scrollable}/ImitateScroll.d.ts +0 -0
- /package/dist/{types/Scrollable → Scrollable}/index.d.ts +0 -0
- /package/dist/{types/Select → Select}/SelectInput.d.ts +0 -0
- /package/dist/{types/Select → Select}/index.d.ts +0 -0
- /package/dist/{types/SelectTags → SelectTags}/index.d.ts +0 -0
- /package/dist/{types/Spinner → Spinner}/index.d.ts +0 -0
- /package/dist/{types/Stepper → Stepper}/index.d.ts +0 -0
- /package/dist/{types/Switch → Switch}/index.d.ts +0 -0
- /package/dist/{types/Tabs → Tabs}/index.d.ts +0 -0
- /package/dist/{types/TextArea → TextArea}/index.d.ts +0 -0
- /package/dist/{types/Toaster → Toaster}/RemoveListener.d.ts +0 -0
- /package/dist/{types/Toaster → Toaster}/Toast.d.ts +0 -0
- /package/dist/{types/Toaster → Toaster}/Viewport.d.ts +0 -0
- /package/dist/{types/Toaster → Toaster}/index.d.ts +0 -0
- /package/dist/{types/Tooltip → Tooltip}/index.d.ts +0 -0
- /package/dist/{types/__hooks → __hooks}/use-frooze-closing.d.ts +0 -0
- /package/dist/{types/__hooks → __hooks}/use-loading.d.ts +0 -0
- /package/dist/{types/__hooks → __hooks}/use-local-storage.d.ts +0 -0
- /package/dist/{types/__hooks → __hooks}/use-popover-position.d.ts +0 -0
- /package/dist/{types/__hooks → __hooks}/use-previos.d.ts +0 -0
- /package/dist/{types/__hooks → __hooks}/use-resize.d.ts +0 -0
- /package/dist/{types/__hooks → __hooks}/use-scrollbox.d.ts +0 -0
- /package/dist/{types/__hooks → __hooks}/use-stepper-input.d.ts +0 -0
- /package/dist/{types/__hooks → __hooks}/use-update.d.ts +0 -0
- /package/dist/{types/__hooks → __hooks}/useCalendar.d.ts +0 -0
- /package/dist/{types/__hooks → __hooks}/useCalendarOptions-copy.d.ts +0 -0
- /package/dist/{types/__hooks → __hooks}/useCalendarOptions.d.ts +0 -0
- /package/dist/{types/__libs → __libs}/calendar.d.ts +0 -0
- /package/dist/{types/__utils → __utils}/utils.d.ts +0 -0
- /package/dist/{bundle.es50.js → bundle.es42.js} +0 -0
- /package/dist/{types/types.d.ts → types.d.ts} +0 -0
package/dist/bundle.es73.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
let r = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set();
|
|
2
|
-
function o() {
|
|
3
|
-
if (typeof window > "u") return;
|
|
4
|
-
function t(e) {
|
|
5
|
-
return "propertyName" in e;
|
|
6
|
-
}
|
|
7
|
-
let d = (e) => {
|
|
8
|
-
if (!t(e) || !e.target) return;
|
|
9
|
-
let n = r.get(e.target);
|
|
10
|
-
n || (n = /* @__PURE__ */ new Set(), r.set(e.target, n), e.target.addEventListener("transitioncancel", i, {
|
|
11
|
-
once: !0
|
|
12
|
-
})), n.add(e.propertyName);
|
|
13
|
-
}, i = (e) => {
|
|
14
|
-
if (!t(e) || !e.target) return;
|
|
15
|
-
let n = r.get(e.target);
|
|
16
|
-
if (n && (n.delete(e.propertyName), n.size === 0 && (e.target.removeEventListener("transitioncancel", i), r.delete(e.target)), r.size === 0)) {
|
|
17
|
-
for (let s of a) s();
|
|
18
|
-
a.clear();
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
document.body.addEventListener("transitionrun", d), document.body.addEventListener("transitionend", i);
|
|
22
|
-
}
|
|
23
|
-
typeof document < "u" && (document.readyState !== "loading" ? o() : document.addEventListener("DOMContentLoaded", o));
|
|
24
|
-
function c() {
|
|
25
|
-
for (const [t] of r)
|
|
26
|
-
"isConnected" in t && !t.isConnected && r.delete(t);
|
|
27
|
-
}
|
|
28
|
-
function f(t) {
|
|
29
|
-
requestAnimationFrame(() => {
|
|
30
|
-
c(), r.size === 0 ? t() : a.add(t);
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
export {
|
|
34
|
-
f as runAfterTransition
|
|
35
|
-
};
|
package/dist/bundle.es74.js
DELETED
package/dist/bundle.es75.js
DELETED
package/dist/bundle.es76.js
DELETED
package/dist/bundle.es77.js
DELETED
package/dist/bundle.es78.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
let n = /* @__PURE__ */ new Map();
|
|
3
|
-
typeof FinalizationRegistry < "u" && new FinalizationRegistry((e) => {
|
|
4
|
-
n.delete(e);
|
|
5
|
-
});
|
|
6
|
-
function o(e, t) {
|
|
7
|
-
if (e === t) return e;
|
|
8
|
-
let f = n.get(e);
|
|
9
|
-
if (f)
|
|
10
|
-
return f.forEach((r) => r.current = t), t;
|
|
11
|
-
let a = n.get(t);
|
|
12
|
-
return a ? (a.forEach((r) => r.current = e), e) : t;
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
n as idsUpdaterMap,
|
|
16
|
-
o as mergeIds
|
|
17
|
-
};
|
package/dist/bundle.es79.js
DELETED
package/dist/bundle.es80.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
function a(r) {
|
|
2
|
-
var n, f, t = "";
|
|
3
|
-
if (typeof r == "string" || typeof r == "number") t += r;
|
|
4
|
-
else if (typeof r == "object") if (Array.isArray(r)) {
|
|
5
|
-
var o = r.length;
|
|
6
|
-
for (n = 0; n < o; n++) r[n] && (f = a(r[n])) && (t && (t += " "), t += f);
|
|
7
|
-
} else for (f in r) r[f] && (t && (t += " "), t += f);
|
|
8
|
-
return t;
|
|
9
|
-
}
|
|
10
|
-
function i() {
|
|
11
|
-
for (var r, n, f = 0, t = "", o = arguments.length; f < o; f++) (r = arguments[f]) && (n = a(r)) && (t && (t += " "), t += n);
|
|
12
|
-
return t;
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
i as clsx,
|
|
16
|
-
i as default
|
|
17
|
-
};
|
package/dist/bundle.es81.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { getOwnerWindow as d } from "./bundle.es62.js";
|
|
2
|
-
const c = typeof Element < "u" && "checkVisibility" in Element.prototype;
|
|
3
|
-
function p(i) {
|
|
4
|
-
const t = d(i);
|
|
5
|
-
if (!(i instanceof t.HTMLElement) && !(i instanceof t.SVGElement)) return !1;
|
|
6
|
-
let { display: o, visibility: e } = i.style, a = o !== "none" && e !== "hidden" && e !== "collapse";
|
|
7
|
-
if (a) {
|
|
8
|
-
const { getComputedStyle: r } = i.ownerDocument.defaultView;
|
|
9
|
-
let { display: n, visibility: s } = r(i);
|
|
10
|
-
a = n !== "none" && s !== "hidden" && s !== "collapse";
|
|
11
|
-
}
|
|
12
|
-
return a;
|
|
13
|
-
}
|
|
14
|
-
function u(i, t) {
|
|
15
|
-
return !i.hasAttribute("hidden") && // Ignore HiddenSelect when tree walking.
|
|
16
|
-
!i.hasAttribute("data-react-aria-prevent-focus") && (i.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? i.hasAttribute("open") : !0);
|
|
17
|
-
}
|
|
18
|
-
function f(i, t) {
|
|
19
|
-
return c ? i.checkVisibility({
|
|
20
|
-
visibilityProperty: !0
|
|
21
|
-
}) && !i.closest("[data-react-aria-prevent-focus]") : i.nodeName !== "#comment" && p(i) && u(i, t) && (!i.parentElement || f(i.parentElement, i));
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
f as isElementVisible
|
|
25
|
-
};
|
package/dist/uikit.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{display:inline-block;border-style:solid;border-color:currentColor;border-right-color:transparent;border-radius:50%;animation:.75s linear infinite spinner-border}.scrollable::-webkit-scrollbar{width:var(--scrollbar-width);height:var(--scrollbar-width)}.scrollable::-webkit-scrollbar-thumb{background-clip:padding-box;border:var(--thumb-padding) solid transparent;border-radius:999px;background-color:var(--thumb-color)}.scrollable::-webkit-scrollbar-corner{background-color:transparent}.scrollable-hover-interaction::-webkit-scrollbar-thumb,.scrollable-hover-interaction::-webkit-scrollbar-track{visibility:hidden}.scrollable-hover-interaction:hover::-webkit-scrollbar-thumb,.scrollable-hover-interaction:hover::-webkit-scrollbar-track{visibility:visible}.scrollable-border-position::-webkit-scrollbar-thumb{border-radius:0;border-right-width:0px;border-bottom-width:0px;border-left-width:calc(var(--thumb-padding) * 2);border-top-width:calc(var(--thumb-padding) * 2)}.hidden-scroll::-webkit-scrollbar{display:none}.hidden-scroll::-webkit-scrollbar-thumb{display:none}.hidden-scroll::-webkit-scrollbar-track{display:none}.hidden-scroll::-webkit-scrollbar-corner{display:none}.number-input-container{display:flex;gap:4px}.number-stepper{display:flex;flex-direction:column;height:30px;min-height:30px;line-height:30px;border:1px solid var(--border-color);box-shadow:0 1px 2px #00000078;border-radius:4px}.number-stepper-splitter{height:1px;background-color:var(--border-color)}.number-stepper-slot{border-radius:0;height:13.5px}.number-stepper-slot[data-slot=decrement]{border-bottom-left-radius:3px;border-bottom-right-radius:3px}.number-stepper-slot[data-slot=increment]{border-top-left-radius:3px;border-top-right-radius:3px}.button-group{display:flex}.button-group[data-fill]{width:100%}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|