@keboola/design 6.2.0 → 6.3.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/editors.cjs +48 -0
- package/dist/editors.cjs.map +1 -1
- package/dist/editors.js +48 -0
- package/dist/editors.js.map +1 -1
- package/dist/icons.cjs +48 -0
- package/dist/icons.cjs.map +1 -1
- package/dist/icons.d.cts +3 -1
- package/dist/icons.d.ts +3 -1
- package/dist/icons.js +48 -1
- package/dist/icons.js.map +1 -1
- package/dist/index.cjs +178 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +71 -54
- package/dist/index.d.ts +71 -54
- package/dist/index.js +178 -21
- package/dist/index.js.map +1 -1
- package/dist/markdown-editor.cjs +57 -2
- package/dist/markdown-editor.cjs.map +1 -1
- package/dist/markdown-editor.js +57 -2
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mermaid.cjs +48 -0
- package/dist/mermaid.cjs.map +1 -1
- package/dist/mermaid.js +48 -0
- package/dist/mermaid.js.map +1 -1
- package/dist/rjsf.cjs +49 -1
- package/dist/rjsf.cjs.map +1 -1
- package/dist/rjsf.js +49 -1
- package/dist/rjsf.js.map +1 -1
- package/dist/styles.css +2 -2
- package/package.json +6 -5
- package/src/styles.css +4 -0
package/dist/icons.cjs
CHANGED
|
@@ -11,6 +11,53 @@ var twMerge = tailwindMerge.extendTailwindMerge({
|
|
|
11
11
|
prefix: "tw-"
|
|
12
12
|
});
|
|
13
13
|
var cn = (...classes) => twMerge(clsx.clsx(...classes));
|
|
14
|
+
var Google = react.forwardRef(
|
|
15
|
+
({ size = 24, className, children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16
|
+
"svg",
|
|
17
|
+
{
|
|
18
|
+
ref,
|
|
19
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
+
width: size,
|
|
21
|
+
height: size,
|
|
22
|
+
viewBox: "12 10 20 20",
|
|
23
|
+
fill: "none",
|
|
24
|
+
className: cn("lucide", className),
|
|
25
|
+
...rest,
|
|
26
|
+
children: [
|
|
27
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
28
|
+
"path",
|
|
29
|
+
{
|
|
30
|
+
d: "M31.6 20.2273C31.6 19.5182 31.5364 18.8364 31.4182 18.1818H22V22.05H27.3818C27.15 23.3 26.4455 24.3591 25.3864 25.0682V27.5773H28.6182C30.5091 25.8364 31.6 23.2727 31.6 20.2273Z",
|
|
31
|
+
fill: "#4285F4"
|
|
32
|
+
}
|
|
33
|
+
),
|
|
34
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35
|
+
"path",
|
|
36
|
+
{
|
|
37
|
+
d: "M22 30C24.7 30 26.9636 29.1045 28.6181 27.5773L25.3863 25.0682C24.4909 25.6682 23.3454 26.0227 22 26.0227C19.3954 26.0227 17.1909 24.2636 16.4045 21.9H13.0636V24.4909C14.7091 27.7591 18.0909 30 22 30Z",
|
|
38
|
+
fill: "#34A853"
|
|
39
|
+
}
|
|
40
|
+
),
|
|
41
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42
|
+
"path",
|
|
43
|
+
{
|
|
44
|
+
d: "M16.4045 21.9C16.2045 21.3 16.0909 20.6591 16.0909 20C16.0909 19.3409 16.2045 18.7 16.4045 18.1V15.5091H13.0636C12.3864 16.8591 12 18.3864 12 20C12 21.6136 12.3864 23.1409 13.0636 24.4909L16.4045 21.9Z",
|
|
45
|
+
fill: "#FBBC04"
|
|
46
|
+
}
|
|
47
|
+
),
|
|
48
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
49
|
+
"path",
|
|
50
|
+
{
|
|
51
|
+
d: "M22 13.9773C23.4681 13.9773 24.7863 14.4818 25.8227 15.4727L28.6909 12.6045C26.9591 10.9909 24.6954 10 22 10C18.0909 10 14.7091 12.2409 13.0636 15.5091L16.4045 18.1C17.1909 15.7364 19.3954 13.9773 22 13.9773Z",
|
|
52
|
+
fill: "#EA4335"
|
|
53
|
+
}
|
|
54
|
+
),
|
|
55
|
+
children
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
)
|
|
59
|
+
);
|
|
60
|
+
Google.displayName = "Google";
|
|
14
61
|
var Keboola = react.forwardRef(
|
|
15
62
|
({ size = 24, color = "currentColor", className, children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16
63
|
"svg",
|
|
@@ -32,6 +79,7 @@ var Keboola = react.forwardRef(
|
|
|
32
79
|
);
|
|
33
80
|
Keboola.displayName = "Keboola";
|
|
34
81
|
|
|
82
|
+
exports.Google = Google;
|
|
35
83
|
exports.Keboola = Keboola;
|
|
36
84
|
Object.keys(lucideReact).forEach(function (k) {
|
|
37
85
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
package/dist/icons.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/utils/classNames.ts","../src/icons/Keboola.tsx"],"names":["extendTailwindMerge","clsx","forwardRef","jsxs","jsx"],"mappings":";;;;;;;;;AAGA,IAAM,UAAUA,iCAAA,CAAoB;AAAA,EAClC,MAAA,EAAQ;AACV,CAAC,CAAA;AAEM,IAAM,KAAK,CAAA,GAAI,OAAA,KAA0B,QAAQC,SAAA,CAAK,GAAG,OAAO,CAAC,CAAA;
|
|
1
|
+
{"version":3,"sources":["../src/utils/classNames.ts","../src/icons/Google.tsx","../src/icons/Keboola.tsx"],"names":["extendTailwindMerge","clsx","forwardRef","jsxs","jsx"],"mappings":";;;;;;;;;AAGA,IAAM,UAAUA,iCAAA,CAAoB;AAAA,EAClC,MAAA,EAAQ;AACV,CAAC,CAAA;AAEM,IAAM,KAAK,CAAA,GAAI,OAAA,KAA0B,QAAQC,SAAA,CAAK,GAAG,OAAO,CAAC,CAAA;ACGjE,IAAM,MAAA,GAAqBC,gBAAA;AAAA,EAChC,CAAC,EAAE,IAAA,GAAO,EAAA,EAAI,WAAW,QAAA,EAAU,GAAG,IAAA,EAAK,EAAG,GAAA,qBAC5CC,eAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,GAAA;AAAA,MACA,KAAA,EAAM,4BAAA;AAAA,MACN,KAAA,EAAO,IAAA;AAAA,MACP,MAAA,EAAQ,IAAA;AAAA,MACR,OAAA,EAAQ,aAAA;AAAA,MACR,IAAA,EAAK,MAAA;AAAA,MACL,SAAA,EAAW,EAAA,CAAG,QAAA,EAAU,SAAS,CAAA;AAAA,MAChC,GAAG,IAAA;AAAA,MAEJ,QAAA,EAAA;AAAA,wBAAAC,cAAA;AAAA,UAAC,MAAA;AAAA,UAAA;AAAA,YACC,CAAA,EAAE,mLAAA;AAAA,YACF,IAAA,EAAK;AAAA;AAAA,SACP;AAAA,wBACAA,cAAA;AAAA,UAAC,MAAA;AAAA,UAAA;AAAA,YACC,CAAA,EAAE,0MAAA;AAAA,YACF,IAAA,EAAK;AAAA;AAAA,SACP;AAAA,wBACAA,cAAA;AAAA,UAAC,MAAA;AAAA,UAAA;AAAA,YACC,CAAA,EAAE,2MAAA;AAAA,YACF,IAAA,EAAK;AAAA;AAAA,SACP;AAAA,wBACAA,cAAA;AAAA,UAAC,MAAA;AAAA,UAAA;AAAA,YACC,CAAA,EAAE,kNAAA;AAAA,YACF,IAAA,EAAK;AAAA;AAAA,SACP;AAAA,QACC;AAAA;AAAA;AAAA;AAGP;AAEA,MAAA,CAAO,WAAA,GAAc,QAAA;AChCd,IAAM,OAAA,GAAsBF,gBAAAA;AAAA,EACjC,CAAC,EAAE,IAAA,GAAO,EAAA,EAAI,KAAA,GAAQ,cAAA,EAAgB,SAAA,EAAW,QAAA,EAAU,GAAG,IAAA,EAAK,EAAG,GAAA,qBACpEC,eAAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,GAAA;AAAA,MACA,KAAA,EAAM,4BAAA;AAAA,MACN,KAAA,EAAO,IAAA;AAAA,MACP,MAAA,EAAQ,IAAA;AAAA,MACR,OAAA,EAAQ,aAAA;AAAA,MACR,IAAA,EAAM,KAAA;AAAA,MACN,SAAA,EAAW,EAAA,CAAG,QAAA,EAAU,SAAS,CAAA;AAAA,MAChC,GAAG,IAAA;AAAA,MAEJ,QAAA,EAAA;AAAA,wBAAAC,cAAAA,CAAC,MAAA,EAAA,EAAK,CAAA,EAAE,ihDAAA,EAAkhD,CAAA;AAAA,QACzhD;AAAA;AAAA;AAAA;AAGP;AAEA,OAAA,CAAQ,WAAA,GAAc,SAAA","file":"icons.cjs","sourcesContent":["import { type ClassValue, clsx } from 'clsx';\nimport { extendTailwindMerge } from 'tailwind-merge';\n\nconst twMerge = extendTailwindMerge({\n prefix: 'tw-',\n});\n\nexport const cn = (...classes: ClassValue[]) => twMerge(clsx(...classes));\n","import { forwardRef } from 'react';\nimport type { LucideIcon, LucideProps } from 'lucide-react';\n\nimport { cn } from '../utils';\n\n// `forwardRef` here is required for type compatibility with `LucideIcon` — see\n// `Keboola.tsx` for the full rationale. The Google \"G\" is a fixed four-color\n// vendor mark (`#4285F4 / #34A853 / #FBBC04 / #EA4335`): its paths keep their\n// own fills and ignore `color`, and it must NOT re-skin under a customer brand.\n// oxlint-disable-next-line react-x/no-forward-ref\nexport const Google: LucideIcon = forwardRef<SVGSVGElement, LucideProps>(\n ({ size = 24, className, children, ...rest }, ref) => (\n <svg\n ref={ref}\n xmlns=\"http://www.w3.org/2000/svg\"\n width={size}\n height={size}\n viewBox=\"12 10 20 20\"\n fill=\"none\"\n className={cn('lucide', className)}\n {...rest}\n >\n <path\n d=\"M31.6 20.2273C31.6 19.5182 31.5364 18.8364 31.4182 18.1818H22V22.05H27.3818C27.15 23.3 26.4455 24.3591 25.3864 25.0682V27.5773H28.6182C30.5091 25.8364 31.6 23.2727 31.6 20.2273Z\"\n fill=\"#4285F4\"\n />\n <path\n d=\"M22 30C24.7 30 26.9636 29.1045 28.6181 27.5773L25.3863 25.0682C24.4909 25.6682 23.3454 26.0227 22 26.0227C19.3954 26.0227 17.1909 24.2636 16.4045 21.9H13.0636V24.4909C14.7091 27.7591 18.0909 30 22 30Z\"\n fill=\"#34A853\"\n />\n <path\n d=\"M16.4045 21.9C16.2045 21.3 16.0909 20.6591 16.0909 20C16.0909 19.3409 16.2045 18.7 16.4045 18.1V15.5091H13.0636C12.3864 16.8591 12 18.3864 12 20C12 21.6136 12.3864 23.1409 13.0636 24.4909L16.4045 21.9Z\"\n fill=\"#FBBC04\"\n />\n <path\n d=\"M22 13.9773C23.4681 13.9773 24.7863 14.4818 25.8227 15.4727L28.6909 12.6045C26.9591 10.9909 24.6954 10 22 10C18.0909 10 14.7091 12.2409 13.0636 15.5091L16.4045 18.1C17.1909 15.7364 19.3954 13.9773 22 13.9773Z\"\n fill=\"#EA4335\"\n />\n {children}\n </svg>\n ),\n);\n\nGoogle.displayName = 'Google';\n","import { forwardRef } from 'react';\nimport type { LucideIcon, LucideProps } from 'lucide-react';\n\nimport { cn } from '../utils';\n\n// `forwardRef` here is required for type compatibility with `LucideIcon`\n// (a `ForwardRefExoticComponent` from lucide-react). React 19's ref-as-prop\n// pattern produces a plain function component which isn't structurally\n// assignable to `LucideIcon`, so consumers couldn't pass `Keboola`\n// interchangeably with imported Lucide icons (e.g. `<Button><Keboola className=\"tw-size-4\" /></Button>`).\n// oxlint-disable-next-line react-x/no-forward-ref\nexport const Keboola: LucideIcon = forwardRef<SVGSVGElement, LucideProps>(\n ({ size = 24, color = 'currentColor', className, children, ...rest }, ref) => (\n <svg\n ref={ref}\n xmlns=\"http://www.w3.org/2000/svg\"\n width={size}\n height={size}\n viewBox=\"0 0 300 512\"\n fill={color}\n className={cn('lucide', className)}\n {...rest}\n >\n <path d=\"M152 320C79.7 320 24.5 233.9 24.5 124.7C24.5 15.6 70.5 0 152 0s123.6 15.6 123.6 124.7C275.5 233.9 217.7 320 152 320zm-8.7-50.5c0-11.2-9.5-20.3-21.2-20.3s-21.2 9.1-21.2 20.3c0 11.2 9.5 20.3 21.2 20.3s21.2-9.1 21.2-20.3zm55.7 0c0-11.2-9.5-20.3-21.2-20.3s-21.2 9.1-21.2 20.3c0 11.2 9.5 20.3 21.2 20.3s21.2-9.1 21.2-20.3zm68.9 115.1c10.2 9.3 20.2 20.5 29 35c5.9 9.7 2.6 22.1-7.5 27.8c-3.4 1.9-7.1 2.8-10.7 2.8c-7.2 0-14.3-3.6-18.3-10c-6.8-11.1-13.8-18.9-21.7-26.1c-7.3-6.7-15.6-12.7-24.9-19.5c-.7-.5-1.4-1-2.1-1.5c-5-3.6-10-6.8-14.9-9.4c.6 1 1.2 2.1 1.8 3.2c14.4 26.4 29.2 63.1 29.2 104.9c0 11.2-9.5 20.3-21.2 20.3c-11.7 0-21.2-9.1-21.2-20.3c.1-31.8-11.6-62.3-23.8-84.9c-4-7.4-8-13.9-11.6-19.3c-3.4 5.2-7.2 11.3-11 18.3c-12.5 22.7-24.5 53.8-24.4 86c0 11.2-9.5 20.3-21.2 20.3s-21.2-9.1-21.2-20.3c.1-41.8 14.9-78.4 29.2-104.9c.6-1.1 1.2-2.1 1.8-3.2c-5 2.7-9.9 5.8-14.9 9.4c-.6 .5-1.3 .9-1.9 1.4c-9.5 6.9-17.8 12.9-25.1 19.7c-7.9 7.2-14.9 15.1-21.7 26.1c-5.9 9.7-18.9 12.9-29 7.2C.5 441.8-2.9 429.3 3.1 419.7c8.9-14.4 18.8-25.7 29-35c9.2-8.4 18.5-15.1 27.6-21.7c1-.7 2-1.4 3-2.2c4.7-3.5 9.6-6.7 14.6-9.6c-5-2.9-9.8-6.1-14.6-9.6C39.8 325 19.9 302.5 3.1 275.1c-5.9-9.7-2.6-22.1 7.5-27.8c10.1-5.7 23.1-2.5 29 7.2c14.6 23.7 31.1 42 48.7 54.9c18.9 13.7 37.4 20.5 56.5 21.5c1.7-.1 3.5-.1 5.2-.1c1.8 0 3.5 .1 5.2 .1c0 0 0 0 0 0c19.1-1.1 37.6-7.9 56.5-21.5c17.6-12.8 34.2-31.2 48.7-54.9c6-9.7 18.9-12.9 29-7.2c10.1 5.7 13.4 18.1 7.5 27.8c-16.8 27.4-36.7 49.9-59.6 66.6c-4.7 3.5-9.6 6.7-14.5 9.6c4.9 2.9 9.8 6.1 14.5 9.6c.9 .7 1.8 1.3 2.7 2c9.2 6.7 18.5 13.5 27.9 22z\" />\n {children}\n </svg>\n ),\n);\n\nKeboola.displayName = 'Keboola';\n"]}
|
package/dist/icons.d.cts
CHANGED
package/dist/icons.d.ts
CHANGED
package/dist/icons.js
CHANGED
|
@@ -9,6 +9,53 @@ var twMerge = extendTailwindMerge({
|
|
|
9
9
|
prefix: "tw-"
|
|
10
10
|
});
|
|
11
11
|
var cn = (...classes) => twMerge(clsx(...classes));
|
|
12
|
+
var Google = forwardRef(
|
|
13
|
+
({ size = 24, className, children, ...rest }, ref) => /* @__PURE__ */ jsxs(
|
|
14
|
+
"svg",
|
|
15
|
+
{
|
|
16
|
+
ref,
|
|
17
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18
|
+
width: size,
|
|
19
|
+
height: size,
|
|
20
|
+
viewBox: "12 10 20 20",
|
|
21
|
+
fill: "none",
|
|
22
|
+
className: cn("lucide", className),
|
|
23
|
+
...rest,
|
|
24
|
+
children: [
|
|
25
|
+
/* @__PURE__ */ jsx(
|
|
26
|
+
"path",
|
|
27
|
+
{
|
|
28
|
+
d: "M31.6 20.2273C31.6 19.5182 31.5364 18.8364 31.4182 18.1818H22V22.05H27.3818C27.15 23.3 26.4455 24.3591 25.3864 25.0682V27.5773H28.6182C30.5091 25.8364 31.6 23.2727 31.6 20.2273Z",
|
|
29
|
+
fill: "#4285F4"
|
|
30
|
+
}
|
|
31
|
+
),
|
|
32
|
+
/* @__PURE__ */ jsx(
|
|
33
|
+
"path",
|
|
34
|
+
{
|
|
35
|
+
d: "M22 30C24.7 30 26.9636 29.1045 28.6181 27.5773L25.3863 25.0682C24.4909 25.6682 23.3454 26.0227 22 26.0227C19.3954 26.0227 17.1909 24.2636 16.4045 21.9H13.0636V24.4909C14.7091 27.7591 18.0909 30 22 30Z",
|
|
36
|
+
fill: "#34A853"
|
|
37
|
+
}
|
|
38
|
+
),
|
|
39
|
+
/* @__PURE__ */ jsx(
|
|
40
|
+
"path",
|
|
41
|
+
{
|
|
42
|
+
d: "M16.4045 21.9C16.2045 21.3 16.0909 20.6591 16.0909 20C16.0909 19.3409 16.2045 18.7 16.4045 18.1V15.5091H13.0636C12.3864 16.8591 12 18.3864 12 20C12 21.6136 12.3864 23.1409 13.0636 24.4909L16.4045 21.9Z",
|
|
43
|
+
fill: "#FBBC04"
|
|
44
|
+
}
|
|
45
|
+
),
|
|
46
|
+
/* @__PURE__ */ jsx(
|
|
47
|
+
"path",
|
|
48
|
+
{
|
|
49
|
+
d: "M22 13.9773C23.4681 13.9773 24.7863 14.4818 25.8227 15.4727L28.6909 12.6045C26.9591 10.9909 24.6954 10 22 10C18.0909 10 14.7091 12.2409 13.0636 15.5091L16.4045 18.1C17.1909 15.7364 19.3954 13.9773 22 13.9773Z",
|
|
50
|
+
fill: "#EA4335"
|
|
51
|
+
}
|
|
52
|
+
),
|
|
53
|
+
children
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
)
|
|
57
|
+
);
|
|
58
|
+
Google.displayName = "Google";
|
|
12
59
|
var Keboola = forwardRef(
|
|
13
60
|
({ size = 24, color = "currentColor", className, children, ...rest }, ref) => /* @__PURE__ */ jsxs(
|
|
14
61
|
"svg",
|
|
@@ -30,6 +77,6 @@ var Keboola = forwardRef(
|
|
|
30
77
|
);
|
|
31
78
|
Keboola.displayName = "Keboola";
|
|
32
79
|
|
|
33
|
-
export { Keboola };
|
|
80
|
+
export { Google, Keboola };
|
|
34
81
|
//# sourceMappingURL=icons.js.map
|
|
35
82
|
//# sourceMappingURL=icons.js.map
|
package/dist/icons.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/utils/classNames.ts","../src/icons/Keboola.tsx"],"names":[],"mappings":";;;;;;;AAGA,IAAM,UAAU,mBAAA,CAAoB;AAAA,EAClC,MAAA,EAAQ;AACV,CAAC,CAAA;AAEM,IAAM,KAAK,CAAA,GAAI,OAAA,KAA0B,QAAQ,IAAA,CAAK,GAAG,OAAO,CAAC,CAAA;
|
|
1
|
+
{"version":3,"sources":["../src/utils/classNames.ts","../src/icons/Google.tsx","../src/icons/Keboola.tsx"],"names":["forwardRef","jsxs","jsx"],"mappings":";;;;;;;AAGA,IAAM,UAAU,mBAAA,CAAoB;AAAA,EAClC,MAAA,EAAQ;AACV,CAAC,CAAA;AAEM,IAAM,KAAK,CAAA,GAAI,OAAA,KAA0B,QAAQ,IAAA,CAAK,GAAG,OAAO,CAAC,CAAA;ACGjE,IAAM,MAAA,GAAqB,UAAA;AAAA,EAChC,CAAC,EAAE,IAAA,GAAO,EAAA,EAAI,WAAW,QAAA,EAAU,GAAG,IAAA,EAAK,EAAG,GAAA,qBAC5C,IAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,GAAA;AAAA,MACA,KAAA,EAAM,4BAAA;AAAA,MACN,KAAA,EAAO,IAAA;AAAA,MACP,MAAA,EAAQ,IAAA;AAAA,MACR,OAAA,EAAQ,aAAA;AAAA,MACR,IAAA,EAAK,MAAA;AAAA,MACL,SAAA,EAAW,EAAA,CAAG,QAAA,EAAU,SAAS,CAAA;AAAA,MAChC,GAAG,IAAA;AAAA,MAEJ,QAAA,EAAA;AAAA,wBAAA,GAAA;AAAA,UAAC,MAAA;AAAA,UAAA;AAAA,YACC,CAAA,EAAE,mLAAA;AAAA,YACF,IAAA,EAAK;AAAA;AAAA,SACP;AAAA,wBACA,GAAA;AAAA,UAAC,MAAA;AAAA,UAAA;AAAA,YACC,CAAA,EAAE,0MAAA;AAAA,YACF,IAAA,EAAK;AAAA;AAAA,SACP;AAAA,wBACA,GAAA;AAAA,UAAC,MAAA;AAAA,UAAA;AAAA,YACC,CAAA,EAAE,2MAAA;AAAA,YACF,IAAA,EAAK;AAAA;AAAA,SACP;AAAA,wBACA,GAAA;AAAA,UAAC,MAAA;AAAA,UAAA;AAAA,YACC,CAAA,EAAE,kNAAA;AAAA,YACF,IAAA,EAAK;AAAA;AAAA,SACP;AAAA,QACC;AAAA;AAAA;AAAA;AAGP;AAEA,MAAA,CAAO,WAAA,GAAc,QAAA;AChCd,IAAM,OAAA,GAAsBA,UAAAA;AAAA,EACjC,CAAC,EAAE,IAAA,GAAO,EAAA,EAAI,KAAA,GAAQ,cAAA,EAAgB,SAAA,EAAW,QAAA,EAAU,GAAG,IAAA,EAAK,EAAG,GAAA,qBACpEC,IAAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,GAAA;AAAA,MACA,KAAA,EAAM,4BAAA;AAAA,MACN,KAAA,EAAO,IAAA;AAAA,MACP,MAAA,EAAQ,IAAA;AAAA,MACR,OAAA,EAAQ,aAAA;AAAA,MACR,IAAA,EAAM,KAAA;AAAA,MACN,SAAA,EAAW,EAAA,CAAG,QAAA,EAAU,SAAS,CAAA;AAAA,MAChC,GAAG,IAAA;AAAA,MAEJ,QAAA,EAAA;AAAA,wBAAAC,GAAAA,CAAC,MAAA,EAAA,EAAK,CAAA,EAAE,ihDAAA,EAAkhD,CAAA;AAAA,QACzhD;AAAA;AAAA;AAAA;AAGP;AAEA,OAAA,CAAQ,WAAA,GAAc,SAAA","file":"icons.js","sourcesContent":["import { type ClassValue, clsx } from 'clsx';\nimport { extendTailwindMerge } from 'tailwind-merge';\n\nconst twMerge = extendTailwindMerge({\n prefix: 'tw-',\n});\n\nexport const cn = (...classes: ClassValue[]) => twMerge(clsx(...classes));\n","import { forwardRef } from 'react';\nimport type { LucideIcon, LucideProps } from 'lucide-react';\n\nimport { cn } from '../utils';\n\n// `forwardRef` here is required for type compatibility with `LucideIcon` — see\n// `Keboola.tsx` for the full rationale. The Google \"G\" is a fixed four-color\n// vendor mark (`#4285F4 / #34A853 / #FBBC04 / #EA4335`): its paths keep their\n// own fills and ignore `color`, and it must NOT re-skin under a customer brand.\n// oxlint-disable-next-line react-x/no-forward-ref\nexport const Google: LucideIcon = forwardRef<SVGSVGElement, LucideProps>(\n ({ size = 24, className, children, ...rest }, ref) => (\n <svg\n ref={ref}\n xmlns=\"http://www.w3.org/2000/svg\"\n width={size}\n height={size}\n viewBox=\"12 10 20 20\"\n fill=\"none\"\n className={cn('lucide', className)}\n {...rest}\n >\n <path\n d=\"M31.6 20.2273C31.6 19.5182 31.5364 18.8364 31.4182 18.1818H22V22.05H27.3818C27.15 23.3 26.4455 24.3591 25.3864 25.0682V27.5773H28.6182C30.5091 25.8364 31.6 23.2727 31.6 20.2273Z\"\n fill=\"#4285F4\"\n />\n <path\n d=\"M22 30C24.7 30 26.9636 29.1045 28.6181 27.5773L25.3863 25.0682C24.4909 25.6682 23.3454 26.0227 22 26.0227C19.3954 26.0227 17.1909 24.2636 16.4045 21.9H13.0636V24.4909C14.7091 27.7591 18.0909 30 22 30Z\"\n fill=\"#34A853\"\n />\n <path\n d=\"M16.4045 21.9C16.2045 21.3 16.0909 20.6591 16.0909 20C16.0909 19.3409 16.2045 18.7 16.4045 18.1V15.5091H13.0636C12.3864 16.8591 12 18.3864 12 20C12 21.6136 12.3864 23.1409 13.0636 24.4909L16.4045 21.9Z\"\n fill=\"#FBBC04\"\n />\n <path\n d=\"M22 13.9773C23.4681 13.9773 24.7863 14.4818 25.8227 15.4727L28.6909 12.6045C26.9591 10.9909 24.6954 10 22 10C18.0909 10 14.7091 12.2409 13.0636 15.5091L16.4045 18.1C17.1909 15.7364 19.3954 13.9773 22 13.9773Z\"\n fill=\"#EA4335\"\n />\n {children}\n </svg>\n ),\n);\n\nGoogle.displayName = 'Google';\n","import { forwardRef } from 'react';\nimport type { LucideIcon, LucideProps } from 'lucide-react';\n\nimport { cn } from '../utils';\n\n// `forwardRef` here is required for type compatibility with `LucideIcon`\n// (a `ForwardRefExoticComponent` from lucide-react). React 19's ref-as-prop\n// pattern produces a plain function component which isn't structurally\n// assignable to `LucideIcon`, so consumers couldn't pass `Keboola`\n// interchangeably with imported Lucide icons (e.g. `<Button><Keboola className=\"tw-size-4\" /></Button>`).\n// oxlint-disable-next-line react-x/no-forward-ref\nexport const Keboola: LucideIcon = forwardRef<SVGSVGElement, LucideProps>(\n ({ size = 24, color = 'currentColor', className, children, ...rest }, ref) => (\n <svg\n ref={ref}\n xmlns=\"http://www.w3.org/2000/svg\"\n width={size}\n height={size}\n viewBox=\"0 0 300 512\"\n fill={color}\n className={cn('lucide', className)}\n {...rest}\n >\n <path d=\"M152 320C79.7 320 24.5 233.9 24.5 124.7C24.5 15.6 70.5 0 152 0s123.6 15.6 123.6 124.7C275.5 233.9 217.7 320 152 320zm-8.7-50.5c0-11.2-9.5-20.3-21.2-20.3s-21.2 9.1-21.2 20.3c0 11.2 9.5 20.3 21.2 20.3s21.2-9.1 21.2-20.3zm55.7 0c0-11.2-9.5-20.3-21.2-20.3s-21.2 9.1-21.2 20.3c0 11.2 9.5 20.3 21.2 20.3s21.2-9.1 21.2-20.3zm68.9 115.1c10.2 9.3 20.2 20.5 29 35c5.9 9.7 2.6 22.1-7.5 27.8c-3.4 1.9-7.1 2.8-10.7 2.8c-7.2 0-14.3-3.6-18.3-10c-6.8-11.1-13.8-18.9-21.7-26.1c-7.3-6.7-15.6-12.7-24.9-19.5c-.7-.5-1.4-1-2.1-1.5c-5-3.6-10-6.8-14.9-9.4c.6 1 1.2 2.1 1.8 3.2c14.4 26.4 29.2 63.1 29.2 104.9c0 11.2-9.5 20.3-21.2 20.3c-11.7 0-21.2-9.1-21.2-20.3c.1-31.8-11.6-62.3-23.8-84.9c-4-7.4-8-13.9-11.6-19.3c-3.4 5.2-7.2 11.3-11 18.3c-12.5 22.7-24.5 53.8-24.4 86c0 11.2-9.5 20.3-21.2 20.3s-21.2-9.1-21.2-20.3c.1-41.8 14.9-78.4 29.2-104.9c.6-1.1 1.2-2.1 1.8-3.2c-5 2.7-9.9 5.8-14.9 9.4c-.6 .5-1.3 .9-1.9 1.4c-9.5 6.9-17.8 12.9-25.1 19.7c-7.9 7.2-14.9 15.1-21.7 26.1c-5.9 9.7-18.9 12.9-29 7.2C.5 441.8-2.9 429.3 3.1 419.7c8.9-14.4 18.8-25.7 29-35c9.2-8.4 18.5-15.1 27.6-21.7c1-.7 2-1.4 3-2.2c4.7-3.5 9.6-6.7 14.6-9.6c-5-2.9-9.8-6.1-14.6-9.6C39.8 325 19.9 302.5 3.1 275.1c-5.9-9.7-2.6-22.1 7.5-27.8c10.1-5.7 23.1-2.5 29 7.2c14.6 23.7 31.1 42 48.7 54.9c18.9 13.7 37.4 20.5 56.5 21.5c1.7-.1 3.5-.1 5.2-.1c1.8 0 3.5 .1 5.2 .1c0 0 0 0 0 0c19.1-1.1 37.6-7.9 56.5-21.5c17.6-12.8 34.2-31.2 48.7-54.9c6-9.7 18.9-12.9 29-7.2c10.1 5.7 13.4 18.1 7.5 27.8c-16.8 27.4-36.7 49.9-59.6 66.6c-4.7 3.5-9.6 6.7-14.5 9.6c4.9 2.9 9.8 6.1 14.5 9.6c.9 .7 1.8 1.3 2.7 2c9.2 6.7 18.5 13.5 27.9 22z\" />\n {children}\n </svg>\n ),\n);\n\nKeboola.displayName = 'Keboola';\n"]}
|
package/dist/index.cjs
CHANGED
|
@@ -1079,6 +1079,7 @@ var require_es = __commonJS({
|
|
|
1079
1079
|
// src/icons/index.ts
|
|
1080
1080
|
var icons_exports = {};
|
|
1081
1081
|
__export(icons_exports, {
|
|
1082
|
+
Google: () => Google,
|
|
1082
1083
|
Keboola: () => Keboola
|
|
1083
1084
|
});
|
|
1084
1085
|
__reExport(icons_exports, lucide_react_star__namespace);
|
|
@@ -1439,6 +1440,53 @@ var useSHA256 = (text) => {
|
|
|
1439
1440
|
}, [text]);
|
|
1440
1441
|
return text ? hash : "";
|
|
1441
1442
|
};
|
|
1443
|
+
var Google = React26.forwardRef(
|
|
1444
|
+
({ size = 24, className, children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1445
|
+
"svg",
|
|
1446
|
+
{
|
|
1447
|
+
ref,
|
|
1448
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1449
|
+
width: size,
|
|
1450
|
+
height: size,
|
|
1451
|
+
viewBox: "12 10 20 20",
|
|
1452
|
+
fill: "none",
|
|
1453
|
+
className: cn("lucide", className),
|
|
1454
|
+
...rest,
|
|
1455
|
+
children: [
|
|
1456
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1457
|
+
"path",
|
|
1458
|
+
{
|
|
1459
|
+
d: "M31.6 20.2273C31.6 19.5182 31.5364 18.8364 31.4182 18.1818H22V22.05H27.3818C27.15 23.3 26.4455 24.3591 25.3864 25.0682V27.5773H28.6182C30.5091 25.8364 31.6 23.2727 31.6 20.2273Z",
|
|
1460
|
+
fill: "#4285F4"
|
|
1461
|
+
}
|
|
1462
|
+
),
|
|
1463
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1464
|
+
"path",
|
|
1465
|
+
{
|
|
1466
|
+
d: "M22 30C24.7 30 26.9636 29.1045 28.6181 27.5773L25.3863 25.0682C24.4909 25.6682 23.3454 26.0227 22 26.0227C19.3954 26.0227 17.1909 24.2636 16.4045 21.9H13.0636V24.4909C14.7091 27.7591 18.0909 30 22 30Z",
|
|
1467
|
+
fill: "#34A853"
|
|
1468
|
+
}
|
|
1469
|
+
),
|
|
1470
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1471
|
+
"path",
|
|
1472
|
+
{
|
|
1473
|
+
d: "M16.4045 21.9C16.2045 21.3 16.0909 20.6591 16.0909 20C16.0909 19.3409 16.2045 18.7 16.4045 18.1V15.5091H13.0636C12.3864 16.8591 12 18.3864 12 20C12 21.6136 12.3864 23.1409 13.0636 24.4909L16.4045 21.9Z",
|
|
1474
|
+
fill: "#FBBC04"
|
|
1475
|
+
}
|
|
1476
|
+
),
|
|
1477
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1478
|
+
"path",
|
|
1479
|
+
{
|
|
1480
|
+
d: "M22 13.9773C23.4681 13.9773 24.7863 14.4818 25.8227 15.4727L28.6909 12.6045C26.9591 10.9909 24.6954 10 22 10C18.0909 10 14.7091 12.2409 13.0636 15.5091L16.4045 18.1C17.1909 15.7364 19.3954 13.9773 22 13.9773Z",
|
|
1481
|
+
fill: "#EA4335"
|
|
1482
|
+
}
|
|
1483
|
+
),
|
|
1484
|
+
children
|
|
1485
|
+
]
|
|
1486
|
+
}
|
|
1487
|
+
)
|
|
1488
|
+
);
|
|
1489
|
+
Google.displayName = "Google";
|
|
1442
1490
|
var Keboola = React26.forwardRef(
|
|
1443
1491
|
({ size = 24, color = "currentColor", className, children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1444
1492
|
"svg",
|
|
@@ -3112,6 +3160,115 @@ var CopyField = {
|
|
|
3112
3160
|
/** Small helper text below the box. */
|
|
3113
3161
|
Footer: CopyFooter
|
|
3114
3162
|
};
|
|
3163
|
+
var LABELS = {
|
|
3164
|
+
signin: "Sign in with Google",
|
|
3165
|
+
signup: "Sign up with Google",
|
|
3166
|
+
continue: "Continue with Google",
|
|
3167
|
+
"signin-short": "Sign in"
|
|
3168
|
+
};
|
|
3169
|
+
var GOOGLE_FONT_STACK = "'Roboto', arial, sans-serif";
|
|
3170
|
+
var variants3 = classVarianceAuthority.cva(
|
|
3171
|
+
[
|
|
3172
|
+
"tailwindcss-preflight",
|
|
3173
|
+
"tw-inline-flex",
|
|
3174
|
+
"tw-items-center",
|
|
3175
|
+
"tw-justify-center",
|
|
3176
|
+
"tw-h-10",
|
|
3177
|
+
"tw-border",
|
|
3178
|
+
"tw-text-sm",
|
|
3179
|
+
"tw-font-medium",
|
|
3180
|
+
"tw-leading-none",
|
|
3181
|
+
"tw-whitespace-nowrap",
|
|
3182
|
+
"tw-select-none",
|
|
3183
|
+
"tw-cursor-pointer",
|
|
3184
|
+
"tw-transition-shadow",
|
|
3185
|
+
"[&_svg]:tw-shrink-0",
|
|
3186
|
+
// focus — a neutral Google-blue ring, independent of the active brand.
|
|
3187
|
+
"focus-visible:tw-outline-none",
|
|
3188
|
+
"focus-visible:tw-ring-2",
|
|
3189
|
+
"focus-visible:tw-ring-[#4285f4]/60",
|
|
3190
|
+
// disabled
|
|
3191
|
+
"disabled:tw-cursor-not-allowed",
|
|
3192
|
+
"disabled:tw-opacity-60",
|
|
3193
|
+
// dark treatment — auto-applied under html[data-theme=dark], overriding
|
|
3194
|
+
// whichever `variant` is active (the ancestor selector out-specifies the
|
|
3195
|
+
// variant's plain color classes).
|
|
3196
|
+
"[[data-theme=dark]_&]:tw-bg-[#131314]",
|
|
3197
|
+
"[[data-theme=dark]_&]:tw-text-[#e3e3e3]",
|
|
3198
|
+
"[[data-theme=dark]_&]:tw-border-[#8e918f]",
|
|
3199
|
+
"[[data-theme=dark]_&]:hover:not-disabled:tw-bg-[#1e1f20]",
|
|
3200
|
+
"[[data-theme=dark]_&]:hover:not-disabled:tw-shadow-none"
|
|
3201
|
+
],
|
|
3202
|
+
{
|
|
3203
|
+
defaultVariants: {
|
|
3204
|
+
variant: "default",
|
|
3205
|
+
shape: "rectangular",
|
|
3206
|
+
size: "default"
|
|
3207
|
+
},
|
|
3208
|
+
variants: {
|
|
3209
|
+
// Google's approved light-scheme treatments; dark (above) overrides both.
|
|
3210
|
+
variant: {
|
|
3211
|
+
default: [
|
|
3212
|
+
"tw-bg-white",
|
|
3213
|
+
"tw-text-[#1f1f1f]",
|
|
3214
|
+
"tw-border-[#747775]",
|
|
3215
|
+
"hover:not-disabled:tw-bg-[#f7f8f8]",
|
|
3216
|
+
"hover:not-disabled:tw-shadow-[0_1px_2px_0_rgba(60,64,67,0.30),0_1px_3px_1px_rgba(60,64,67,0.15)]"
|
|
3217
|
+
],
|
|
3218
|
+
neutral: [
|
|
3219
|
+
"tw-bg-[#f2f2f2]",
|
|
3220
|
+
"tw-text-[#1f1f1f]",
|
|
3221
|
+
"tw-border-transparent",
|
|
3222
|
+
"hover:not-disabled:tw-bg-[#e8eaed]"
|
|
3223
|
+
]
|
|
3224
|
+
},
|
|
3225
|
+
shape: {
|
|
3226
|
+
rectangular: ["tw-rounded"],
|
|
3227
|
+
circle: ["tw-rounded-full"]
|
|
3228
|
+
},
|
|
3229
|
+
size: {
|
|
3230
|
+
default: ["tw-gap-2.5", "tw-px-3"],
|
|
3231
|
+
icon: ["tw-w-10", "tw-p-0"]
|
|
3232
|
+
}
|
|
3233
|
+
}
|
|
3234
|
+
}
|
|
3235
|
+
);
|
|
3236
|
+
var GoogleButton = ({
|
|
3237
|
+
ref,
|
|
3238
|
+
variant = "default",
|
|
3239
|
+
shape = "rectangular",
|
|
3240
|
+
size = "default",
|
|
3241
|
+
label = "signin",
|
|
3242
|
+
isLoading = false,
|
|
3243
|
+
disabled = false,
|
|
3244
|
+
type = "button",
|
|
3245
|
+
className,
|
|
3246
|
+
children,
|
|
3247
|
+
style,
|
|
3248
|
+
...buttonProps
|
|
3249
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3250
|
+
"button",
|
|
3251
|
+
{
|
|
3252
|
+
...buttonProps,
|
|
3253
|
+
ref,
|
|
3254
|
+
type,
|
|
3255
|
+
disabled,
|
|
3256
|
+
style: { ...style, fontFamily: GOOGLE_FONT_STACK },
|
|
3257
|
+
className: cn(variants3({ variant, shape, size }), className),
|
|
3258
|
+
children: [
|
|
3259
|
+
isLoading ? /* @__PURE__ */ jsxRuntime.jsx(icons_exports.Loader2, { className: "tw-size-5 tw-shrink-0 tw-animate-spin", "aria-hidden": "true" }) : /* @__PURE__ */ jsxRuntime.jsx(Google, { className: "tw-size-5" }),
|
|
3260
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3261
|
+
"span",
|
|
3262
|
+
{
|
|
3263
|
+
className: cn({
|
|
3264
|
+
"tw-sr-only": size === "icon"
|
|
3265
|
+
}),
|
|
3266
|
+
children: children ?? LABELS[label]
|
|
3267
|
+
}
|
|
3268
|
+
)
|
|
3269
|
+
]
|
|
3270
|
+
}
|
|
3271
|
+
);
|
|
3115
3272
|
var Link = ({
|
|
3116
3273
|
ref,
|
|
3117
3274
|
children,
|
|
@@ -4317,7 +4474,7 @@ Sheet.Title = SheetTitle;
|
|
|
4317
4474
|
Sheet.Header = SheetHeader;
|
|
4318
4475
|
Sheet.Footer = SheetFooter;
|
|
4319
4476
|
Sheet.Body = SheetBody;
|
|
4320
|
-
var
|
|
4477
|
+
var variants4 = classVarianceAuthority.cva(
|
|
4321
4478
|
[
|
|
4322
4479
|
"tailwindcss-preflight",
|
|
4323
4480
|
"tw-group/popover-content",
|
|
@@ -4389,7 +4546,7 @@ var PopoverContent = ({
|
|
|
4389
4546
|
ref,
|
|
4390
4547
|
align: matchTriggerWidth ? "start" : align,
|
|
4391
4548
|
sideOffset,
|
|
4392
|
-
className: cn(
|
|
4549
|
+
className: cn(variants4({ className, matchTriggerWidth, variant: effectiveVariant })),
|
|
4393
4550
|
onEscapeKeyDown: (event) => {
|
|
4394
4551
|
event.stopPropagation();
|
|
4395
4552
|
onEscapeKeyDown?.(event);
|
|
@@ -11405,7 +11562,7 @@ var SelectSeparator = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.js
|
|
|
11405
11562
|
className: cn("tw-mx-2 tw-my-1 tw-h-px tw-bg-border", className)
|
|
11406
11563
|
}
|
|
11407
11564
|
);
|
|
11408
|
-
var
|
|
11565
|
+
var variants5 = classVarianceAuthority.cva(
|
|
11409
11566
|
[
|
|
11410
11567
|
"tailwindcss-preflight",
|
|
11411
11568
|
"tw-group",
|
|
@@ -11568,7 +11725,7 @@ var SelectTrigger = ({
|
|
|
11568
11725
|
SelectPrimitive__namespace.Trigger,
|
|
11569
11726
|
{
|
|
11570
11727
|
ref,
|
|
11571
|
-
className: cn(
|
|
11728
|
+
className: cn(variants5({ variant: effectiveVariant, state, sizing }), className),
|
|
11572
11729
|
...props,
|
|
11573
11730
|
children: [
|
|
11574
11731
|
/* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.Value, { placeholder }),
|
|
@@ -11864,7 +12021,7 @@ var BadgeLabel = ({
|
|
|
11864
12021
|
var badgeColors = {
|
|
11865
12022
|
gray: "tw-bg-neutral-400 tw-text-white tw-decoration-neutral-400",
|
|
11866
12023
|
"gray-darker": "tw-bg-neutral-500 tw-text-white tw-decoration-neutral-500",
|
|
11867
|
-
"gray-inverse": "tw-bg-neutral-100 tw-text-neutral-
|
|
12024
|
+
"gray-inverse": "tw-bg-neutral-100 tw-text-neutral-500 tw-decoration-neutral-100 [[data-theme=dark]_&]:tw-bg-neutral-800 [[data-theme=dark]_&]:tw-text-neutral-300 [[data-theme=dark]_&]:tw-decoration-neutral-800",
|
|
11868
12025
|
green: "tw-bg-green-500 tw-text-white tw-decoration-green-500",
|
|
11869
12026
|
"green-darker": "tw-bg-green-600 tw-text-white tw-decoration-green-600",
|
|
11870
12027
|
"green-inverse": "tw-bg-green-100 tw-text-green-900 tw-decoration-green-100 [[data-theme=dark]_&]:tw-bg-green-900 [[data-theme=dark]_&]:tw-text-green-200 [[data-theme=dark]_&]:tw-decoration-green-900",
|
|
@@ -15648,7 +15805,7 @@ var TableHeader = ({
|
|
|
15648
15805
|
"thead",
|
|
15649
15806
|
{
|
|
15650
15807
|
className: cn(
|
|
15651
|
-
"tw-sticky tw-top-0 tw-z-10 [&_tr]:tw-bg-
|
|
15808
|
+
"tw-sticky tw-top-0 tw-z-10 [&_tr]:tw-bg-table-header [&_tr]:tw-border-b [&_tr]:tw-border-border",
|
|
15652
15809
|
{ "tw-shadow-table": withShadow },
|
|
15653
15810
|
className
|
|
15654
15811
|
),
|
|
@@ -16873,7 +17030,7 @@ var PromptInput = ({
|
|
|
16873
17030
|
) : formEl });
|
|
16874
17031
|
};
|
|
16875
17032
|
PromptInput.Action = PromptInputAction;
|
|
16876
|
-
var
|
|
17033
|
+
var variants6 = classVarianceAuthority.cva(
|
|
16877
17034
|
["tw-relative", "tw-flex", "tw-items-center", "tw-z-0", "tw-overflow-x-hidden", "tw-w-full"],
|
|
16878
17035
|
{
|
|
16879
17036
|
defaultVariants: {
|
|
@@ -16899,7 +17056,7 @@ var Progress = ({
|
|
|
16899
17056
|
variant,
|
|
16900
17057
|
size,
|
|
16901
17058
|
...props
|
|
16902
|
-
}) => /* @__PURE__ */ jsxRuntime.jsx(reactProgress.Root, { ...props, ref, className: cn(
|
|
17059
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(reactProgress.Root, { ...props, ref, className: cn(variants6({ variant, size, className })), value, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
16903
17060
|
reactProgress.Indicator,
|
|
16904
17061
|
{
|
|
16905
17062
|
"data-slot": "progress-indicator",
|
|
@@ -17892,7 +18049,7 @@ var ToastTitle = ({
|
|
|
17892
18049
|
children
|
|
17893
18050
|
}
|
|
17894
18051
|
);
|
|
17895
|
-
var
|
|
18052
|
+
var variants7 = classVarianceAuthority.cva(
|
|
17896
18053
|
[
|
|
17897
18054
|
"tailwindcss-preflight",
|
|
17898
18055
|
"tw-group/toast",
|
|
@@ -17962,7 +18119,7 @@ var ToastRoot = ({
|
|
|
17962
18119
|
"data-variant": variant,
|
|
17963
18120
|
"data-argo": renderArgo,
|
|
17964
18121
|
className: cn(
|
|
17965
|
-
|
|
18122
|
+
variants7({ variant }),
|
|
17966
18123
|
"data-[variant=default]:data-[argo=true]:tw-bg-background"
|
|
17967
18124
|
),
|
|
17968
18125
|
children: [
|
|
@@ -20855,7 +21012,7 @@ var NavbarHeader = ({ children, className, ...rest }) => (
|
|
|
20855
21012
|
// renders null when the active brand ships no logo, so no provider gate needed.
|
|
20856
21013
|
/* @__PURE__ */ jsxRuntime.jsx("div", { ...rest, className: cn("tw-overflow-hidden", "tw-py-1.5", className), children: children ?? /* @__PURE__ */ jsxRuntime.jsx(BrandLogo, { variant: "wordmark", className: "tw-h-7" }) })
|
|
20857
21014
|
);
|
|
20858
|
-
var
|
|
21015
|
+
var variants8 = classVarianceAuthority.cva(["tw-p-0", "tw-flex", "tw-items-center", "tw-justify-center", "tw-gap-2"], {
|
|
20859
21016
|
variants: {
|
|
20860
21017
|
marker: {
|
|
20861
21018
|
none: [],
|
|
@@ -20875,7 +21032,7 @@ var variants7 = classVarianceAuthority.cva(["tw-p-0", "tw-flex", "tw-items-cente
|
|
|
20875
21032
|
marker: "none"
|
|
20876
21033
|
}
|
|
20877
21034
|
});
|
|
20878
|
-
var NavbarMenu = ({ className, marker, ...rest }) => /* @__PURE__ */ jsxRuntime.jsx("ul", { ...rest, className:
|
|
21035
|
+
var NavbarMenu = ({ className, marker, ...rest }) => /* @__PURE__ */ jsxRuntime.jsx("ul", { ...rest, className: variants8({ marker, className }) });
|
|
20879
21036
|
var NavbarMenuAvatar = ({
|
|
20880
21037
|
ref,
|
|
20881
21038
|
className,
|
|
@@ -20927,7 +21084,7 @@ var NavbarMenuAvatar = ({
|
|
|
20927
21084
|
}
|
|
20928
21085
|
);
|
|
20929
21086
|
};
|
|
20930
|
-
var
|
|
21087
|
+
var variants9 = classVarianceAuthority.cva(
|
|
20931
21088
|
[
|
|
20932
21089
|
"tw-flex",
|
|
20933
21090
|
"tw-justify-center",
|
|
@@ -20978,9 +21135,9 @@ var NavbarMenuItemAdornment = ({
|
|
|
20978
21135
|
...props
|
|
20979
21136
|
}) => {
|
|
20980
21137
|
const Comp = asChild ? reactSlot.Slot : "span";
|
|
20981
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Comp, { ...props, ref, className:
|
|
21138
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Comp, { ...props, ref, className: variants9({ variant, className }) });
|
|
20982
21139
|
};
|
|
20983
|
-
var
|
|
21140
|
+
var variants10 = classVarianceAuthority.cva(
|
|
20984
21141
|
[
|
|
20985
21142
|
"tw-group/navbar-menu-button",
|
|
20986
21143
|
"tw-box-border",
|
|
@@ -21078,7 +21235,7 @@ var NavbarMenuButton = ({
|
|
|
21078
21235
|
ref,
|
|
21079
21236
|
type,
|
|
21080
21237
|
"data-variant": variant,
|
|
21081
|
-
className: cn(
|
|
21238
|
+
className: cn(variants10({ className, variant })),
|
|
21082
21239
|
children: [
|
|
21083
21240
|
adornment && /* @__PURE__ */ jsxRuntime.jsx(NavbarMenuItemAdornment, { variant: adornmentVariant, children: adornment }),
|
|
21084
21241
|
/* @__PURE__ */ jsxRuntime.jsx(reactSlot.Slottable, { children })
|
|
@@ -22342,7 +22499,7 @@ Pagination.Button = PaginationButton;
|
|
|
22342
22499
|
Pagination.Previous = PaginationPrevious;
|
|
22343
22500
|
Pagination.Next = PaginationNext;
|
|
22344
22501
|
Pagination.Ellipsis = PaginationEllipsis;
|
|
22345
|
-
var
|
|
22502
|
+
var variants11 = classVarianceAuthority.cva(["tw-p-0.5", "tw-text-inherit", "tw-inline-flex"], {
|
|
22346
22503
|
variants: {
|
|
22347
22504
|
diff: {
|
|
22348
22505
|
added: ["tw-bg-green-200"],
|
|
@@ -22350,8 +22507,8 @@ var variants10 = classVarianceAuthority.cva(["tw-p-0.5", "tw-text-inherit", "tw-
|
|
|
22350
22507
|
}
|
|
22351
22508
|
}
|
|
22352
22509
|
});
|
|
22353
|
-
var DiffViewMark = ({ diff, children, className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("mark", { ...props, className: cn(
|
|
22354
|
-
var
|
|
22510
|
+
var DiffViewMark = ({ diff, children, className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("mark", { ...props, className: cn(variants11({ diff, className })), children });
|
|
22511
|
+
var variants12 = classVarianceAuthority.cva(
|
|
22355
22512
|
[
|
|
22356
22513
|
// reset global styles
|
|
22357
22514
|
"[&_pre]:tw-p-0",
|
|
@@ -22419,7 +22576,7 @@ var variants11 = classVarianceAuthority.cva(
|
|
|
22419
22576
|
);
|
|
22420
22577
|
var DiffViewTd = ({ diff, variant = "default", children, className, ...props }) => {
|
|
22421
22578
|
const needsCodeFormatting = variant === "code" || variant === "gutter";
|
|
22422
|
-
return /* @__PURE__ */ jsxRuntime.jsx("td", { ...props, className: cn(
|
|
22579
|
+
return /* @__PURE__ */ jsxRuntime.jsx("td", { ...props, className: cn(variants12({ variant, className, diff })), children: needsCodeFormatting ? /* @__PURE__ */ jsxRuntime.jsx("pre", { children }) : children });
|
|
22423
22580
|
};
|
|
22424
22581
|
var DiffViewTh = ({ variant = "default", children, className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
22425
22582
|
"th",
|
|
@@ -24645,6 +24802,7 @@ exports.FormGroup = FormGroup;
|
|
|
24645
24802
|
exports.FullScreenModal = FullScreenModal;
|
|
24646
24803
|
exports.FullScreenModalBody = FullScreenModalBody;
|
|
24647
24804
|
exports.FullScreenModalHeader = FullScreenModalHeader;
|
|
24805
|
+
exports.GoogleButton = GoogleButton;
|
|
24648
24806
|
exports.HelpBlock = HelpBlock;
|
|
24649
24807
|
exports.HoverCard = HoverCard;
|
|
24650
24808
|
exports.InlineStepDetail = InlineStepDetail;
|