@nearform/quantum 1.4.2 → 1.4.3
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/README.md +111 -5
- package/dist/animations/index.mjs +8 -0
- package/dist/animations/index.mjs.map +1 -0
- package/dist/chunk-36NLQKQR.mjs +22 -0
- package/dist/chunk-36NLQKQR.mjs.map +1 -0
- package/dist/chunk-3FFF7Q7C.mjs +55 -0
- package/dist/chunk-3FFF7Q7C.mjs.map +1 -0
- package/dist/chunk-KGI2Q7KG.mjs +352 -0
- package/dist/chunk-KGI2Q7KG.mjs.map +1 -0
- package/dist/colors/index.mjs +8 -0
- package/dist/colors/index.mjs.map +1 -0
- package/dist/global.css +1938 -2071
- package/dist/global.css.map +1 -1
- package/dist/index.d.mts +594 -0
- package/dist/index.js +15 -15
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2221 -0
- package/dist/index.mjs.map +1 -0
- package/dist/tailwind-plugin.js +18 -1200
- package/dist/tailwind-plugin.js.map +1 -1
- package/dist/tailwind-plugin.mjs +77 -0
- package/dist/tailwind-plugin.mjs.map +1 -0
- package/package.json +27 -27
package/dist/index.js
CHANGED
|
@@ -615,7 +615,7 @@ var buttonVariants = (0, import_class_variance_authority2.cva)(
|
|
|
615
615
|
"inline-flex items-center justify-center",
|
|
616
616
|
"rounded-lg",
|
|
617
617
|
"transition-colors",
|
|
618
|
-
"focus-visible:outline-
|
|
618
|
+
"focus-visible:outline-hidden",
|
|
619
619
|
"disabled:pointer-events-none",
|
|
620
620
|
"cursor-pointer",
|
|
621
621
|
"disabled:cursor-default"
|
|
@@ -911,7 +911,7 @@ var calendarVariants = (0, import_class_variance_authority4.cva)([], {
|
|
|
911
911
|
"items-center",
|
|
912
912
|
"shrink-0",
|
|
913
913
|
"focus-visible:shadow-blue",
|
|
914
|
-
"outline-
|
|
914
|
+
"outline-hidden"
|
|
915
915
|
]),
|
|
916
916
|
day_selected: ["text-foreground-inverse"],
|
|
917
917
|
day_outside: [
|
|
@@ -1050,7 +1050,7 @@ var chipVariants = (0, import_class_variance_authority6.cva)(
|
|
|
1050
1050
|
"font-semibold",
|
|
1051
1051
|
"leading-normal",
|
|
1052
1052
|
"text-foreground",
|
|
1053
|
-
"focus-visible:outline-
|
|
1053
|
+
"focus-visible:outline-hidden",
|
|
1054
1054
|
"focus-visible:shadow-blue"
|
|
1055
1055
|
],
|
|
1056
1056
|
[
|
|
@@ -1288,7 +1288,7 @@ var formVariants = (0, import_class_variance_authority9.cva)(
|
|
|
1288
1288
|
}
|
|
1289
1289
|
);
|
|
1290
1290
|
var inputVariants = (0, import_class_variance_authority9.cva)(
|
|
1291
|
-
["flex", "flex-grow", "items-center", "outline-
|
|
1291
|
+
["flex", "flex-grow", "items-center", "outline-hidden", "bg-transparent"],
|
|
1292
1292
|
{
|
|
1293
1293
|
variants: {
|
|
1294
1294
|
variant: {
|
|
@@ -1365,7 +1365,7 @@ var Link = import_react4.default.forwardRef(
|
|
|
1365
1365
|
"py-1 px-1.5",
|
|
1366
1366
|
"rounded",
|
|
1367
1367
|
"cursor-pointer",
|
|
1368
|
-
"outline-
|
|
1368
|
+
"outline-hidden",
|
|
1369
1369
|
"dark:text-white",
|
|
1370
1370
|
selected ? selectedClasses : `${hoverClasses} ${focusClasses}`,
|
|
1371
1371
|
className
|
|
@@ -1493,7 +1493,7 @@ var ModalClose = React9.forwardRef((_a, ref) => {
|
|
|
1493
1493
|
__spreadProps(__spreadValues({
|
|
1494
1494
|
ref,
|
|
1495
1495
|
className: cn(
|
|
1496
|
-
"rounded-
|
|
1496
|
+
"rounded-xs opacity-70 ring-offset-background transition-opacity disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-foreground-muted",
|
|
1497
1497
|
className
|
|
1498
1498
|
)
|
|
1499
1499
|
}, props), {
|
|
@@ -1551,7 +1551,7 @@ var PageNumberStyles = (0, import_class_variance_authority11.cva)([
|
|
|
1551
1551
|
"h-10",
|
|
1552
1552
|
"px-4",
|
|
1553
1553
|
"py-2",
|
|
1554
|
-
"rounded-
|
|
1554
|
+
"rounded-xs",
|
|
1555
1555
|
"text-foreground-muted",
|
|
1556
1556
|
"active:bg-accent",
|
|
1557
1557
|
"active:text-primary-10",
|
|
@@ -1633,7 +1633,7 @@ var Pagination = import_react5.default.forwardRef(
|
|
|
1633
1633
|
if (currentPage !== 1) setCurrentPage(currentPage - 1);
|
|
1634
1634
|
};
|
|
1635
1635
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("nav", __spreadProps(__spreadValues({ className: cn(PaginationVariants(), className), ref }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("ul", { children: [
|
|
1636
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("li", { className: "hover:bg-background px-4 dark:hover:bg-background-dark rounded-
|
|
1636
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("li", { className: "hover:bg-background px-4 dark:hover:bg-background-dark rounded-xs", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1637
1637
|
"button",
|
|
1638
1638
|
{
|
|
1639
1639
|
onClick: goToPrevPage,
|
|
@@ -1661,7 +1661,7 @@ var Pagination = import_react5.default.forwardRef(
|
|
|
1661
1661
|
) }),
|
|
1662
1662
|
pgNumber === 1 && showLeftDots ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "px-4 max-w-40 min-w-40 text-foreground-muted", children: "..." }) }) : null
|
|
1663
1663
|
] }, pgNumber)) }),
|
|
1664
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("li", { className: "hover:bg-background px-4 dark:hover:bg-background-dark rounded-
|
|
1664
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("li", { className: "hover:bg-background px-4 dark:hover:bg-background-dark rounded-xs", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1665
1665
|
"button",
|
|
1666
1666
|
{
|
|
1667
1667
|
onClick: goToNextPage,
|
|
@@ -1684,7 +1684,7 @@ var import_class_variance_authority12 = require("class-variance-authority");
|
|
|
1684
1684
|
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
1685
1685
|
var toggleMaskVariants = (0, import_class_variance_authority12.cva)(["flex", "self-center text-inherit"]);
|
|
1686
1686
|
var passwordVariants = (0, import_class_variance_authority12.cva)(
|
|
1687
|
-
["flex", "flex-grow", "items-center", "outline-
|
|
1687
|
+
["flex", "flex-grow", "items-center", "outline-hidden", "bg-transparent"],
|
|
1688
1688
|
{
|
|
1689
1689
|
variants: {
|
|
1690
1690
|
variant: {
|
|
@@ -1750,7 +1750,7 @@ var popoverVariants = (0, import_class_variance_authority13.cva)([
|
|
|
1750
1750
|
"bg-background dark:bg-background-dark",
|
|
1751
1751
|
"text-foreground text-sm font-normal dark:text-white",
|
|
1752
1752
|
"shadow",
|
|
1753
|
-
"outline-
|
|
1753
|
+
"outline-hidden",
|
|
1754
1754
|
"min-w-72",
|
|
1755
1755
|
"pl-2 pr-[20px] py-3"
|
|
1756
1756
|
]);
|
|
@@ -1911,7 +1911,7 @@ var triggerVariants = (0, import_class_variance_authority15.cva)(
|
|
|
1911
1911
|
"px-3",
|
|
1912
1912
|
"py-2",
|
|
1913
1913
|
"text-sm",
|
|
1914
|
-
"focus:outline-
|
|
1914
|
+
"focus:outline-hidden",
|
|
1915
1915
|
"focus-visible:shadow-blue",
|
|
1916
1916
|
"disabled:cursor-not-allowed",
|
|
1917
1917
|
"disabled:opacity-50",
|
|
@@ -2054,7 +2054,7 @@ var itemVariants = (0, import_class_variance_authority15.cva)([
|
|
|
2054
2054
|
"py-2",
|
|
2055
2055
|
"px-4",
|
|
2056
2056
|
"text-sm",
|
|
2057
|
-
"outline-
|
|
2057
|
+
"outline-hidden",
|
|
2058
2058
|
"data-[disabled]:pointer-events-none",
|
|
2059
2059
|
"data-[disabled]:opacity-50",
|
|
2060
2060
|
"hover:bg-background-alt",
|
|
@@ -2112,7 +2112,7 @@ var switchVariants = (0, import_class_variance_authority16.cva)([
|
|
|
2112
2112
|
"rounded-full",
|
|
2113
2113
|
"border-none",
|
|
2114
2114
|
"transition-colors ",
|
|
2115
|
-
"focus-visible:outline-
|
|
2115
|
+
"focus-visible:outline-hidden",
|
|
2116
2116
|
"focus-visible:shadow-brandGreen",
|
|
2117
2117
|
"disabled:cursor-not-allowed"
|
|
2118
2118
|
],
|
|
@@ -2268,7 +2268,7 @@ var textareaVariants = (0, import_class_variance_authority18.cva)(
|
|
|
2268
2268
|
[
|
|
2269
2269
|
"flex",
|
|
2270
2270
|
"flex-grow",
|
|
2271
|
-
"outline-
|
|
2271
|
+
"outline-hidden",
|
|
2272
2272
|
"resize-none",
|
|
2273
2273
|
"border",
|
|
2274
2274
|
"border-2",
|