@datum-cloud/datum-ui 0.1.1 → 0.2.0-alpha.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/chunk-CtajNgzt.mjs +36 -0
- package/dist/close.icon-DgjsP0sw.mjs +23 -0
- package/dist/close.icon-DgjsP0sw.mjs.map +1 -0
- package/dist/components/index.d.mts +27 -0
- package/dist/components/index.d.mts.map +1 -0
- package/dist/components/index.mjs +252 -0
- package/dist/components/index.mjs.map +1 -0
- package/dist/datum.provider-CsG2KNNc.d.mts +30 -0
- package/dist/datum.provider-CsG2KNNc.d.mts.map +1 -0
- package/dist/datum.provider-D6VMjSV0.mjs +38 -0
- package/dist/datum.provider-D6VMjSV0.mjs.map +1 -0
- package/dist/fonts/AllianceNo1-Medium.ttf +0 -0
- package/dist/fonts/AllianceNo1-Regular.ttf +0 -0
- package/dist/fonts/AllianceNo1-SemiBold.ttf +0 -0
- package/dist/fonts/FTRegolaNeue-Medium.woff2 +0 -0
- package/dist/fonts/FTRegolaNeue-Regular.woff2 +0 -0
- package/dist/fonts/FTRegolaNeue-Semibold.woff2 +0 -0
- package/dist/hooks/index.d.mts +3 -0
- package/dist/hooks/index.mjs +5 -0
- package/dist/icon-wrapper-BTllM5Re.mjs +62 -0
- package/dist/icon-wrapper-BTllM5Re.mjs.map +1 -0
- package/dist/icons/index.d.mts +3 -0
- package/dist/icons/index.mjs +5 -0
- package/dist/index-DH2XEEjO.d.mts +3995 -0
- package/dist/index-DH2XEEjO.d.mts.map +1 -0
- package/dist/index.d.mts +30 -89
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +248 -3706
- package/dist/index.mjs.map +1 -0
- package/dist/providers/index.d.mts +3 -0
- package/dist/providers/index.mjs +4 -0
- package/dist/spinner.icon-q9zisVlw.d.mts +46 -0
- package/dist/spinner.icon-q9zisVlw.d.mts.map +1 -0
- package/dist/style.css +7096 -0
- package/dist/style.css.map +1 -0
- package/dist/theme-script-B_TkiYs4.mjs +8841 -0
- package/dist/theme-script-B_TkiYs4.mjs.map +1 -0
- package/dist/theme.provider-DpFLwtHe.mjs +135 -0
- package/dist/theme.provider-DpFLwtHe.mjs.map +1 -0
- package/dist/types-BoL47uxV.d.mts +34 -0
- package/dist/types-BoL47uxV.d.mts.map +1 -0
- package/dist/use-copy-to-clipboard-D5U8bWsn.mjs +117 -0
- package/dist/use-copy-to-clipboard-D5U8bWsn.mjs.map +1 -0
- package/dist/use-debounce-BYB-jPeX.mjs +25 -0
- package/dist/use-debounce-BYB-jPeX.mjs.map +1 -0
- package/dist/use-debounce-Dg9zNz9U.d.mts +19 -0
- package/dist/use-debounce-Dg9zNz9U.d.mts.map +1 -0
- package/dist/utils/index.d.mts +3 -0
- package/dist/utils/index.mjs +4 -0
- package/package.json +128 -52
- package/LICENSE +0 -201
- package/README.md +0 -34
- package/dist/index.d.ts +0 -90
- package/dist/index.js +0 -3765
- package/src/styles/custom.css +0 -27
- package/src/styles/fonts.css +0 -51
- package/src/styles/root.css +0 -28
- package/src/styles/theme.css +0 -3
- package/src/styles/themes/alpha.css +0 -433
- package/src/styles/tokens/brand-tokens.css +0 -57
- package/src/styles/tokens/figma-tokens.css +0 -624
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["// Components\nexport * from './components'\n\n// Hooks\nexport * from './hooks'\n\n// Providers\nexport * from './providers'\n\n// Utilities\nexport * from './utils'\n"],"mappings":""}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { VariantProps } from "class-variance-authority";
|
|
2
|
+
import { LucideIcon, LucideProps } from "lucide-react";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
5
|
+
|
|
6
|
+
//#region src/components/icons/close.icon.d.ts
|
|
7
|
+
declare function CloseIcon({
|
|
8
|
+
className,
|
|
9
|
+
fill
|
|
10
|
+
}: {
|
|
11
|
+
className?: string;
|
|
12
|
+
fill?: string;
|
|
13
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region src/components/icons/icon-wrapper.d.ts
|
|
16
|
+
type IconProps = LucideProps & {
|
|
17
|
+
icon: LucideIcon;
|
|
18
|
+
};
|
|
19
|
+
declare function Icon({
|
|
20
|
+
icon: IconComponent,
|
|
21
|
+
strokeWidth,
|
|
22
|
+
absoluteStrokeWidth,
|
|
23
|
+
size,
|
|
24
|
+
...props
|
|
25
|
+
}: IconProps): react_jsx_runtime0.JSX.Element;
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/components/icons/spinner.icon.d.ts
|
|
28
|
+
declare const spinnerVariants: (props?: ({
|
|
29
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
|
|
30
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
31
|
+
interface SpinnerIconProps extends React.SVGProps<SVGSVGElement>, VariantProps<typeof spinnerVariants> {
|
|
32
|
+
/** Color of the track (background circle) */
|
|
33
|
+
trackClassName?: string;
|
|
34
|
+
/** Color of the spinning indicator */
|
|
35
|
+
indicatorClassName?: string;
|
|
36
|
+
}
|
|
37
|
+
declare function SpinnerIcon({
|
|
38
|
+
size,
|
|
39
|
+
className,
|
|
40
|
+
trackClassName,
|
|
41
|
+
indicatorClassName,
|
|
42
|
+
...props
|
|
43
|
+
}: SpinnerIconProps): react_jsx_runtime0.JSX.Element;
|
|
44
|
+
//#endregion
|
|
45
|
+
export { CloseIcon as i, SpinnerIconProps as n, Icon as r, SpinnerIcon as t };
|
|
46
|
+
//# sourceMappingURL=spinner.icon-q9zisVlw.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spinner.icon-q9zisVlw.d.mts","names":[],"sources":["../src/components/icons/close.icon.tsx","../src/components/icons/icon-wrapper.tsx","../src/components/icons/spinner.icon.tsx"],"mappings":";;;;;;iBAEgB,SAAA,CAAA;EACd,SAAA;EACA;AAAA;EAEA,SAAA;EACA,IAAA;AAAA,IACD,kBAAA,CAAA,GAAA,CAAA,OAAA;;;KCNI,SAAA,GAAY,WAAA;EACf,IAAA,EAAM,UAAA;AAAA;AAAA,iBAGQ,IAAA,CAAA;EACd,IAAA,EAAM,aAAA;EACN,WAAA;EACA,mBAAA;EACA,IAAA;EAAA,GACG;AAAA,GACF,SAAA,GAAS,kBAAA,CAAA,GAAA,CAAA,OAAA;;;cCRN,eAAA,GAAe,KAAA;;IAqBnB,+BAAA,CAAA,SAAA;AAAA,UAEe,gBAAA,SACP,KAAA,CAAM,QAAA,CAAS,aAAA,GAAgB,YAAA,QAAoB,eAAA;;EAE3D,cAAA;EF5BuB;EE8BvB,kBAAA;AAAA;AAAA,iBAGc,WAAA,CAAA;EACd,IAAA;EACA,SAAA;EACA,cAAA;EACA,kBAAA;EAAA,GACG;AAAA,GACF,gBAAA,GAAgB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|