@kakadu/components 0.1.4 → 1.0.1
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/build/aria-text.d.ts +5 -1
- package/build/aria-text.js +1 -0
- package/build/aria-text.mjs +15 -0
- package/build/atom.d.ts +10 -2
- package/build/atom.js +1 -1
- package/build/atom.mjs +10 -3
- package/build/bankid-logo.d.ts +2 -0
- package/build/bankid-logo.js +1 -0
- package/build/bankid-logo.mjs +43 -0
- package/build/box.d.ts +4 -1
- package/build/box.js +1 -1
- package/build/box.mjs +11 -2
- package/build/build/aria-text.d.ts +8 -0
- package/build/build/atom.d.ts +9 -0
- package/build/build/bankid-logo.d.ts +5 -0
- package/build/build/box.d.ts +6 -0
- package/build/build/button-tooltip.d.ts +5 -0
- package/build/build/button.d.ts +23 -0
- package/build/build/card.d.ts +11 -0
- package/build/build/click-ripples.d.ts +6 -0
- package/build/build/datum.d.ts +6 -0
- package/build/build/dnb-logo.d.ts +5 -0
- package/build/build/dot.d.ts +4 -0
- package/build/build/flex.d.ts +12 -0
- package/build/build/footer.d.ts +4 -0
- package/build/build/gauge.d.ts +6 -0
- package/build/build/gjensidige-logo.d.ts +5 -0
- package/build/build/hooks/use-media-query.d.ts +2 -0
- package/build/build/hover-gradient.d.ts +8 -0
- package/build/build/icon-button.d.ts +10 -0
- package/build/build/icon.d.ts +8 -0
- package/build/build/icons/arrow-down.d.ts +5 -0
- package/build/build/icons/caret-down.d.ts +5 -0
- package/build/build/icons/caret-right.d.ts +5 -0
- package/build/build/icons/check.d.ts +5 -0
- package/build/build/icons/chevron-down.d.ts +5 -0
- package/build/build/icons/chevron-up.d.ts +5 -0
- package/build/build/icons/chrome-browser-logo.d.ts +5 -0
- package/build/build/icons/copy.d.ts +5 -0
- package/build/build/icons/edge-browser-logo.d.ts +5 -0
- package/build/build/icons/edit.d.ts +5 -0
- package/build/build/icons/exclamation-triangle.d.ts +5 -0
- package/build/build/icons/kakadu-guide-glyph.d.ts +5 -0
- package/build/build/icons/kakadu-guide.d.ts +5 -0
- package/build/build/icons/menu.d.ts +5 -0
- package/build/build/icons/plus.d.ts +5 -0
- package/build/build/icons/test.d.ts +5 -0
- package/build/build/icons/times.d.ts +5 -0
- package/build/build/jsx-runtime-BB_1_6y_.d.ts +2 -0
- package/build/build/kakadu-guide-icon.d.ts +4 -0
- package/build/build/kakadu-guide-logo.d.ts +11 -0
- package/build/build/kakadu-index-logo.d.ts +5 -0
- package/build/build/kakadu-logo.d.ts +5 -0
- package/build/build/modal.d.ts +22 -0
- package/build/build/moving-gradients.d.ts +8 -0
- package/build/build/moving-stars.d.ts +11 -0
- package/build/build/notice.d.ts +10 -0
- package/build/build/notification.d.ts +15 -0
- package/build/build/revealer.d.ts +24 -0
- package/build/build/separator.d.ts +10 -0
- package/build/build/skeleton.d.ts +16 -0
- package/build/build/sparebank1-logo.d.ts +5 -0
- package/build/build/spinner.d.ts +11 -0
- package/build/build/sto-logo.d.ts +5 -0
- package/build/build/storebrand-logo.d.ts +5 -0
- package/build/build/text-button.d.ts +12 -0
- package/build/build/text.d.ts +30 -0
- package/build/build/theme-setter.d.ts +9 -0
- package/build/build/theme.d.ts +22 -0
- package/build/build/utilities/copy-to-clipboard.d.ts +2 -0
- package/build/build/utilities/generate-random-id.d.ts +2 -0
- package/build/build/utilities/scale.d.ts +11 -0
- package/build/build/veil.d.ts +4 -0
- package/build/button-tooltip.d.ts +4 -0
- package/build/button-tooltip.js +1 -0
- package/build/button-tooltip.mjs +11 -0
- package/build/button.d.ts +32 -0
- package/build/button.js +1 -0
- package/build/button.mjs +69 -0
- package/build/card.d.ts +8 -0
- package/build/card.js +1 -0
- package/build/card.mjs +36 -0
- package/build/click-ripples.d.ts +2 -0
- package/build/click-ripples.js +1 -0
- package/build/click-ripples.mjs +60 -0
- package/build/components.css +1 -1
- package/build/datum.d.ts +5 -0
- package/build/datum.js +1 -0
- package/build/datum.mjs +27 -0
- package/build/dnb-logo.d.ts +2 -0
- package/build/dnb-logo.js +1 -0
- package/build/dnb-logo.mjs +31 -0
- package/build/dot.d.ts +2 -0
- package/build/dot.js +1 -0
- package/build/dot.mjs +10 -0
- package/build/flex.d.ts +14 -1
- package/build/flex.js +1 -1
- package/build/flex.mjs +17 -2
- package/build/footer.d.ts +3 -0
- package/build/footer.js +1 -0
- package/build/footer.mjs +65 -0
- package/build/gauge.d.ts +6 -1
- package/build/gauge.js +1 -1
- package/build/gauge.mjs +39 -2
- package/build/gjensidige-logo.d.ts +2 -0
- package/build/gjensidige-logo.js +1 -0
- package/build/gjensidige-logo.mjs +30 -0
- package/build/hooks/use-media-query.d.ts +1 -0
- package/build/hooks/use-media-query.js +1 -0
- package/build/hooks/use-media-query.mjs +20 -0
- package/build/hover-gradient.d.ts +5 -0
- package/build/hover-gradient.js +1 -0
- package/build/hover-gradient.mjs +48 -0
- package/build/icon-button.d.ts +13 -0
- package/build/icon-button.js +1 -0
- package/build/icon-button.mjs +45 -0
- package/build/icon.js +1 -0
- package/build/icon.mjs +50 -0
- package/build/icons/arrow-down.d.ts +2 -0
- package/build/icons/arrow-down.js +1 -0
- package/build/icons/arrow-down.mjs +24 -0
- package/build/icons/caret-down.d.ts +2 -0
- package/build/icons/caret-down.js +1 -0
- package/build/icons/caret-down.mjs +27 -0
- package/build/icons/caret-right.d.ts +2 -0
- package/build/icons/caret-right.js +1 -0
- package/build/icons/caret-right.mjs +27 -0
- package/build/icons/check.d.ts +2 -0
- package/build/icons/check.js +1 -0
- package/build/icons/check.mjs +27 -0
- package/build/icons/chevron-down.d.ts +2 -0
- package/build/icons/chevron-down.js +1 -0
- package/build/icons/chevron-down.mjs +27 -0
- package/build/icons/chevron-up.d.ts +2 -0
- package/build/icons/chevron-up.js +1 -0
- package/build/icons/chevron-up.mjs +27 -0
- package/build/icons/chrome-browser-logo.d.ts +2 -0
- package/build/icons/chrome-browser-logo.js +1 -0
- package/build/icons/chrome-browser-logo.mjs +24 -0
- package/build/icons/copy.d.ts +2 -0
- package/build/icons/copy.js +1 -0
- package/build/icons/copy.mjs +29 -0
- package/build/icons/edge-browser-logo.d.ts +2 -0
- package/build/icons/edge-browser-logo.js +1 -0
- package/build/icons/edge-browser-logo.mjs +24 -0
- package/build/icons/edit.d.ts +2 -0
- package/build/icons/edit.js +1 -0
- package/build/icons/edit.mjs +27 -0
- package/build/icons/exclamation-triangle.d.ts +2 -0
- package/build/icons/exclamation-triangle.js +1 -0
- package/build/icons/exclamation-triangle.mjs +29 -0
- package/build/icons/icon.d.ts +25 -0
- package/build/icons/kakadu-guide-glyph.d.ts +2 -0
- package/build/icons/kakadu-guide-glyph.js +1 -0
- package/build/icons/kakadu-guide-glyph.mjs +24 -0
- package/build/icons/kakadu-guide.d.ts +2 -0
- package/build/icons/kakadu-guide.js +1 -0
- package/build/icons/kakadu-guide.mjs +27 -0
- package/build/icons/menu.d.ts +2 -0
- package/build/icons/menu.js +1 -0
- package/build/icons/menu.mjs +25 -0
- package/build/icons/plus.d.ts +2 -0
- package/build/icons/plus.js +1 -0
- package/build/icons/plus.mjs +27 -0
- package/build/icons/test.d.ts +2 -0
- package/build/icons/test.js +1 -0
- package/build/icons/test.mjs +29 -0
- package/build/icons/times.d.ts +2 -0
- package/build/icons/times.js +1 -0
- package/build/icons/times.mjs +27 -0
- package/build/index.html +0 -0
- package/build/kakadu-guide-icon.d.ts +3 -0
- package/build/kakadu-guide-icon.js +1 -0
- package/build/kakadu-guide-icon.mjs +14 -0
- package/build/kakadu-guide-logo.d.ts +10 -0
- package/build/kakadu-guide-logo.js +1 -0
- package/build/kakadu-guide-logo.mjs +59 -0
- package/build/kakadu-index-logo.d.ts +2 -0
- package/build/kakadu-index-logo.js +1 -0
- package/build/kakadu-index-logo.mjs +66 -0
- package/build/kakadu-logo.d.ts +2 -0
- package/build/kakadu-logo.js +1 -0
- package/build/kakadu-logo.mjs +44 -0
- package/build/modal.d.ts +28 -0
- package/build/modal.js +9 -0
- package/build/modal.mjs +1246 -0
- package/build/moving-gradients.d.ts +9 -0
- package/build/moving-gradients.js +1 -0
- package/build/moving-gradients.mjs +86 -0
- package/build/moving-stars.d.ts +12 -0
- package/build/moving-stars.js +1 -0
- package/build/moving-stars.mjs +90 -0
- package/build/notice.d.ts +12 -0
- package/build/notice.js +1 -0
- package/build/notice.mjs +22 -0
- package/build/notification.d.ts +17 -0
- package/build/notification.js +1 -0
- package/build/notification.mjs +84 -0
- package/build/revealer.d.ts +20 -0
- package/build/revealer.js +1 -0
- package/build/revealer.mjs +76 -0
- package/build/separator.d.ts +5 -0
- package/build/separator.js +1 -0
- package/build/separator.mjs +24 -0
- package/build/skeleton.d.ts +15 -1
- package/build/skeleton.js +1 -1
- package/build/skeleton.mjs +38 -3
- package/build/sparebank1-logo.d.ts +2 -0
- package/build/sparebank1-logo.js +1 -0
- package/build/sparebank1-logo.mjs +61 -0
- package/build/spinner.d.ts +10 -1
- package/build/spinner.js +1 -1
- package/build/spinner.mjs +31 -3
- package/build/sto-logo.d.ts +2 -0
- package/build/sto-logo.js +1 -0
- package/build/sto-logo.mjs +53 -0
- package/build/storebrand-logo.d.ts +2 -0
- package/build/storebrand-logo.js +1 -0
- package/build/storebrand-logo.mjs +46 -0
- package/build/text-button.d.ts +19 -0
- package/build/text-button.js +1 -0
- package/build/text-button.mjs +36 -0
- package/build/text.d.ts +11 -1
- package/build/text.js +1 -1
- package/build/text.mjs +49 -5
- package/build/theme-setter.d.ts +11 -0
- package/build/theme-setter.js +20 -0
- package/build/theme-setter.mjs +79 -0
- package/build/theme.d.ts +5 -0
- package/build/theme.js +1 -1
- package/build/theme.mjs +25 -8
- package/build/utilities/copy-to-clipboard.d.ts +1 -0
- package/build/utilities/copy-to-clipboard.js +1 -0
- package/build/utilities/copy-to-clipboard.mjs +26 -0
- package/build/utilities/generate-random-id.d.ts +1 -0
- package/build/utilities/generate-random-id.js +1 -0
- package/build/utilities/generate-random-id.mjs +14 -0
- package/build/utilities/scale.d.ts +11 -0
- package/build/utilities/scale.js +1 -0
- package/build/utilities/scale.mjs +13 -0
- package/build/veil.d.ts +3 -0
- package/build/veil.js +1 -0
- package/build/veil.mjs +17 -0
- package/index.d.ts +60 -0
- package/package.json +278 -18
- package/readme.md +3 -1
- package/theme.tsx +151 -27
- package/build/atom-B-bW2QKm.js +0 -1
- package/build/atom-CqxGy6PS.mjs +0 -12
- package/build/box-4_-REPb0.js +0 -1
- package/build/box-Cf22bdCb.mjs +0 -13
- package/build/components/aria-text.d.ts +0 -5
- package/build/components/atom.d.ts +0 -10
- package/build/components/box.d.ts +0 -4
- package/build/components/flex.d.ts +0 -7
- package/build/components/gauge.d.ts +0 -6
- package/build/components/skeleton.d.ts +0 -13
- package/build/components/spinner.d.ts +0 -10
- package/build/components/text.d.ts +0 -7
- package/build/flex-C4bEYrMM.mjs +0 -16
- package/build/flex-JFSv9GFG.js +0 -1
- package/build/gauge-C1CypvvD.mjs +0 -41
- package/build/gauge-mog6SjVx.js +0 -1
- package/build/index.d.ts +0 -10
- package/build/index.js +0 -1
- package/build/index.mjs +0 -39
- package/build/skeleton-B5bJ732_.js +0 -1
- package/build/skeleton-C593Afco.mjs +0 -48
- package/build/spinner-DE_Y3sKH.mjs +0 -33
- package/build/spinner-DFfE6tSd.js +0 -1
- package/build/text-BO7Qt7Lj.js +0 -1
- package/build/text-ZYVNxqac.mjs +0 -39
package/build/aria-text.d.ts
CHANGED
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { type AtomElementType, type AtomProperties } from './atom';
|
|
2
|
+
export declare const ariaTextStyles: string;
|
|
3
|
+
type AriaTextProperties<Type extends AtomElementType = 'span'> = AtomProperties<Type>;
|
|
4
|
+
export default function AriaText<Type extends AtomElementType = 'span'>({ as, className, ...properties }: AriaTextProperties<Type>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./jsx-runtime-BB_1_6y_.js"),u=require("@kuma-ui/core"),o=require("./atom.js"),e="kakadu-components-3440084244";function n({as:t,className:s,...r}){return a.jsxRuntimeExports.jsx(o.default,{as:t??"span",...r,className:u.cx(e,s)})}exports.ariaTextStyles=e;exports.default=n;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { j as r } from "./jsx-runtime-B4hRZ52C.mjs";
|
|
2
|
+
import { cx as s } from "@kuma-ui/core";
|
|
3
|
+
import m from "./atom.mjs";
|
|
4
|
+
const e = "kakadu-components-3440084244";
|
|
5
|
+
function x({
|
|
6
|
+
as: t,
|
|
7
|
+
className: o,
|
|
8
|
+
...a
|
|
9
|
+
}) {
|
|
10
|
+
return /* @__PURE__ */ r.jsx(m, { as: t ?? "span", ...a, className: s(e, o) });
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
e as ariaTextStyles,
|
|
14
|
+
x as default
|
|
15
|
+
};
|
package/build/atom.d.ts
CHANGED
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
import { type ElementType, type ComponentPropsWithoutRef, type ComponentRef, type Ref } from 'react';
|
|
2
|
+
export declare const defaultAtomElementType = "div";
|
|
3
|
+
export type AtomElementType = ElementType;
|
|
4
|
+
export type DefaultAtomElementType = typeof defaultAtomElementType;
|
|
5
|
+
export type AtomProperties<Type extends ElementType = DefaultAtomElementType> = ComponentPropsWithoutRef<Type> & {
|
|
6
|
+
readonly as?: Type;
|
|
7
|
+
readonly reference?: Ref<ComponentRef<Type>>;
|
|
8
|
+
readonly className?: string;
|
|
9
|
+
};
|
|
10
|
+
export default function Atom<Type extends ElementType = DefaultAtomElementType>({ as, reference, ...properties }: AtomProperties<Type>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
package/build/atom.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react"),e="div";function o({as:t,reference:r,...u}){return l.createElement(t??e,{...u,ref:r})}exports.default=o;exports.defaultAtomElementType=e;
|
package/build/atom.mjs
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElement as r } from "react";
|
|
2
|
+
const m = "div";
|
|
3
|
+
function f({ as: e, reference: t, ...o }) {
|
|
4
|
+
return r(e ?? m, {
|
|
5
|
+
...o,
|
|
6
|
+
ref: t
|
|
7
|
+
});
|
|
8
|
+
}
|
|
2
9
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
10
|
+
f as default,
|
|
11
|
+
m as defaultAtomElementType
|
|
5
12
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./jsx-runtime-BB_1_6y_.js"),i=require("./utilities/scale.js");function m({fill:h,...s}){const{width:x,height:e}=i.default({originalWidth:401,originalHeight:90,width:s.width,height:s.height});return t.jsxRuntimeExports.jsx("svg",{fill:"none",viewBox:"0 0 401 90",xmlns:"http://www.w3.org/2000/svg",...s,width:x,height:e,children:t.jsxRuntimeExports.jsxs("g",{fill:h??"#39134c",children:[t.jsxRuntimeExports.jsx("path",{d:"m38.13 24.7024h-15.6857c-2.0915 0-3.9215-1.8333-3.9215-3.9286 0-2.0952 1.83-3.9286 3.9215-3.9286h15.6857c2.0914 0 3.9214 1.8334 3.9214 3.9286 0 2.0953-1.83 3.9286-3.9214 3.9286z"}),t.jsxRuntimeExports.jsx("path",{d:"m38.13 56.131h-15.6857c-2.0915 0-3.9215-1.8334-3.9215-3.9286s1.83-3.9286 3.9215-3.9286h15.6857c2.0914 0 3.9214 1.8334 3.9214 3.9286s-1.83 3.9286-3.9214 3.9286z"}),t.jsxRuntimeExports.jsx("path",{d:"m38.13 71.8452h-15.6857c-2.0915 0-3.9215-1.8333-3.9215-3.9285 0-2.0953 1.83-3.9286 3.9215-3.9286h15.6857c2.0914 0 3.9214 1.8333 3.9214 3.9286 0 2.0952-1.83 3.9285-3.9214 3.9285z"}),t.jsxRuntimeExports.jsx("path",{d:"m69.5014 40.4167h-15.6857c-2.0914 0-3.9214-1.8334-3.9214-3.9286s1.83-3.9286 3.9214-3.9286h15.6857c2.0914 0 3.9214 1.8334 3.9214 3.9286s-1.83 3.9286-3.9214 3.9286z"}),t.jsxRuntimeExports.jsx("path",{d:"m69.5014 56.131h-15.6857c-2.0914 0-3.9214-1.8334-3.9214-3.9286s1.83-3.9286 3.9214-3.9286h15.6857c2.0914 0 3.9214 1.8334 3.9214 3.9286s-1.83 3.9286-3.9214 3.9286z"}),t.jsxRuntimeExports.jsx("path",{d:"m100.873 24.7024h-15.6859c-2.0914 0-3.9214-1.8333-3.9214-3.9286 0-2.0952 1.83-3.9286 3.9214-3.9286h15.6859c2.091 0 3.921 1.8334 3.921 3.9286 0 2.0953-1.83 3.9286-3.921 3.9286z"}),t.jsxRuntimeExports.jsx("path",{d:"m100.873 40.4167h-15.6859c-2.0914 0-3.9214-1.8334-3.9214-3.9286s1.83-3.9286 3.9214-3.9286h15.6859c2.091 0 3.921 1.8334 3.921 3.9286s-1.83 3.9286-3.921 3.9286z"}),t.jsxRuntimeExports.jsx("path",{d:"m100.873 71.8452h-15.6859c-2.0914 0-3.9214-1.8333-3.9214-3.9285 0-2.0953 1.83-3.9286 3.9214-3.9286h15.6859c2.091 0 3.921 1.8333 3.921 3.9286 0 2.0952-1.83 3.9285-3.921 3.9285z"}),t.jsxRuntimeExports.jsx("path",{d:"m138.257 51.1548c0 8.3809 4.706 12.8333 10.196 12.8333 4.967 0 10.457-4.1905 10.457-12.8333 0-8.6429-5.229-12.5715-10.196-12.5715-5.49 0-10.457 3.9286-10.457 12.5715zm0-34.3096v20.4286c2.353-3.6666 6.536-7.3333 13.594-7.3333 7.843 0 17.255 6.5476 17.255 20.9524 0 14.9285-8.889 22.2619-18.039 22.2619-5.228 0-9.673-2.3572-12.548-7.0715v5.7619h-10.196v-55z"}),t.jsxRuntimeExports.jsx("path",{d:"m184.007 51.4167c0 8.6428 5.229 12.5714 10.196 12.5714 5.49 0 10.196-3.6667 10.196-12.5714 0-8.6429-4.706-12.8333-10.196-12.8333-4.706 0-10.196 3.9285-10.196 12.8333zm-9.934-.5238c0-14.1429 9.15-21.2143 18.3-21.2143 4.967 0 9.15 1.8333 12.287 6.2857v-5.2381h9.934v41.1191h-9.934v-5.7619c-2.876 3.9285-7.059 6.8095-13.594 6.8095-7.843 0-16.993-6.8095-16.993-22z"}),t.jsxRuntimeExports.jsx("path",{d:"m234.201 48.5357v23.3096h-9.934v-40.8572h9.934v6.0238c2.876-5.2381 8.105-7.0714 12.549-7.0714 7.059 0 13.856 3.6667 13.856 14.6667v27.2381h-9.935v-23.5715c0-6.8095-3.398-9.4285-7.842-9.4285-4.968.2619-8.628 3.1428-8.628 9.6904z"}),t.jsxRuntimeExports.jsx("path",{d:"m270.017 16.8452v55h9.934v-9.9523l5.49-6.8096 11.242 16.7619h10.98l-16.209-23.8333 14.117-17.0238h-11.241l-14.379 18.8571v-33z"}),t.jsxRuntimeExports.jsx("path",{d:"m327.531 18.6786h-10.195v53.1667h10.195z"}),t.jsxRuntimeExports.jsx("path",{d:"m357.073 18.6786h-19.346v53.1667h19.346c14.378 0 26.404-8.6429 26.404-26.7143 0-17.8096-12.026-26.4524-26.404-26.4524zm0 43.7381h-9.15v-34.3095h9.15c8.366 0 15.424 5.5 15.424 17.2857 0 11.5238-7.058 17.0238-15.424 17.0238z"})]})})}exports.default=m;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { j as h } from "./jsx-runtime-B4hRZ52C.mjs";
|
|
2
|
+
import d from "./utilities/scale.mjs";
|
|
3
|
+
function x({
|
|
4
|
+
fill: c,
|
|
5
|
+
...s
|
|
6
|
+
}) {
|
|
7
|
+
const { width: t, height: m } = d({
|
|
8
|
+
originalWidth: 401,
|
|
9
|
+
originalHeight: 90,
|
|
10
|
+
width: s.width,
|
|
11
|
+
height: s.height
|
|
12
|
+
});
|
|
13
|
+
return /* @__PURE__ */ h.jsx(
|
|
14
|
+
"svg",
|
|
15
|
+
{
|
|
16
|
+
fill: "none",
|
|
17
|
+
viewBox: "0 0 401 90",
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
...s,
|
|
20
|
+
width: t,
|
|
21
|
+
height: m,
|
|
22
|
+
children: /* @__PURE__ */ h.jsxs("g", { fill: c ?? "#39134c", children: [
|
|
23
|
+
/* @__PURE__ */ h.jsx("path", { d: "m38.13 24.7024h-15.6857c-2.0915 0-3.9215-1.8333-3.9215-3.9286 0-2.0952 1.83-3.9286 3.9215-3.9286h15.6857c2.0914 0 3.9214 1.8334 3.9214 3.9286 0 2.0953-1.83 3.9286-3.9214 3.9286z" }),
|
|
24
|
+
/* @__PURE__ */ h.jsx("path", { d: "m38.13 56.131h-15.6857c-2.0915 0-3.9215-1.8334-3.9215-3.9286s1.83-3.9286 3.9215-3.9286h15.6857c2.0914 0 3.9214 1.8334 3.9214 3.9286s-1.83 3.9286-3.9214 3.9286z" }),
|
|
25
|
+
/* @__PURE__ */ h.jsx("path", { d: "m38.13 71.8452h-15.6857c-2.0915 0-3.9215-1.8333-3.9215-3.9285 0-2.0953 1.83-3.9286 3.9215-3.9286h15.6857c2.0914 0 3.9214 1.8333 3.9214 3.9286 0 2.0952-1.83 3.9285-3.9214 3.9285z" }),
|
|
26
|
+
/* @__PURE__ */ h.jsx("path", { d: "m69.5014 40.4167h-15.6857c-2.0914 0-3.9214-1.8334-3.9214-3.9286s1.83-3.9286 3.9214-3.9286h15.6857c2.0914 0 3.9214 1.8334 3.9214 3.9286s-1.83 3.9286-3.9214 3.9286z" }),
|
|
27
|
+
/* @__PURE__ */ h.jsx("path", { d: "m69.5014 56.131h-15.6857c-2.0914 0-3.9214-1.8334-3.9214-3.9286s1.83-3.9286 3.9214-3.9286h15.6857c2.0914 0 3.9214 1.8334 3.9214 3.9286s-1.83 3.9286-3.9214 3.9286z" }),
|
|
28
|
+
/* @__PURE__ */ h.jsx("path", { d: "m100.873 24.7024h-15.6859c-2.0914 0-3.9214-1.8333-3.9214-3.9286 0-2.0952 1.83-3.9286 3.9214-3.9286h15.6859c2.091 0 3.921 1.8334 3.921 3.9286 0 2.0953-1.83 3.9286-3.921 3.9286z" }),
|
|
29
|
+
/* @__PURE__ */ h.jsx("path", { d: "m100.873 40.4167h-15.6859c-2.0914 0-3.9214-1.8334-3.9214-3.9286s1.83-3.9286 3.9214-3.9286h15.6859c2.091 0 3.921 1.8334 3.921 3.9286s-1.83 3.9286-3.921 3.9286z" }),
|
|
30
|
+
/* @__PURE__ */ h.jsx("path", { d: "m100.873 71.8452h-15.6859c-2.0914 0-3.9214-1.8333-3.9214-3.9285 0-2.0953 1.83-3.9286 3.9214-3.9286h15.6859c2.091 0 3.921 1.8333 3.921 3.9286 0 2.0952-1.83 3.9285-3.921 3.9285z" }),
|
|
31
|
+
/* @__PURE__ */ h.jsx("path", { d: "m138.257 51.1548c0 8.3809 4.706 12.8333 10.196 12.8333 4.967 0 10.457-4.1905 10.457-12.8333 0-8.6429-5.229-12.5715-10.196-12.5715-5.49 0-10.457 3.9286-10.457 12.5715zm0-34.3096v20.4286c2.353-3.6666 6.536-7.3333 13.594-7.3333 7.843 0 17.255 6.5476 17.255 20.9524 0 14.9285-8.889 22.2619-18.039 22.2619-5.228 0-9.673-2.3572-12.548-7.0715v5.7619h-10.196v-55z" }),
|
|
32
|
+
/* @__PURE__ */ h.jsx("path", { d: "m184.007 51.4167c0 8.6428 5.229 12.5714 10.196 12.5714 5.49 0 10.196-3.6667 10.196-12.5714 0-8.6429-4.706-12.8333-10.196-12.8333-4.706 0-10.196 3.9285-10.196 12.8333zm-9.934-.5238c0-14.1429 9.15-21.2143 18.3-21.2143 4.967 0 9.15 1.8333 12.287 6.2857v-5.2381h9.934v41.1191h-9.934v-5.7619c-2.876 3.9285-7.059 6.8095-13.594 6.8095-7.843 0-16.993-6.8095-16.993-22z" }),
|
|
33
|
+
/* @__PURE__ */ h.jsx("path", { d: "m234.201 48.5357v23.3096h-9.934v-40.8572h9.934v6.0238c2.876-5.2381 8.105-7.0714 12.549-7.0714 7.059 0 13.856 3.6667 13.856 14.6667v27.2381h-9.935v-23.5715c0-6.8095-3.398-9.4285-7.842-9.4285-4.968.2619-8.628 3.1428-8.628 9.6904z" }),
|
|
34
|
+
/* @__PURE__ */ h.jsx("path", { d: "m270.017 16.8452v55h9.934v-9.9523l5.49-6.8096 11.242 16.7619h10.98l-16.209-23.8333 14.117-17.0238h-11.241l-14.379 18.8571v-33z" }),
|
|
35
|
+
/* @__PURE__ */ h.jsx("path", { d: "m327.531 18.6786h-10.195v53.1667h10.195z" }),
|
|
36
|
+
/* @__PURE__ */ h.jsx("path", { d: "m357.073 18.6786h-19.346v53.1667h19.346c14.378 0 26.404-8.6429 26.404-26.7143 0-17.8096-12.026-26.4524-26.404-26.4524zm0 43.7381h-9.15v-34.3095h9.15c8.366 0 15.424 5.5 15.424 17.2857 0 11.5238-7.058 17.0238-15.424 17.0238z" })
|
|
37
|
+
] })
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
x as default
|
|
43
|
+
};
|
package/build/box.d.ts
CHANGED
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { type DefaultAtomElementType, type AtomElementType, type AtomProperties } from './atom';
|
|
2
|
+
type BoxProperties<Type extends AtomElementType = DefaultAtomElementType> = AtomProperties<Type>;
|
|
3
|
+
export default function Box<Type extends AtomElementType = DefaultAtomElementType>({ as, className, ...properties }: BoxProperties<Type>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export {};
|
package/build/box.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./jsx-runtime-BB_1_6y_.js"),s=require("@kuma-ui/core"),e=require("./atom.js");function n({as:t,className:u,...o}){return r.jsxRuntimeExports.jsx(e.default,{as:t??e.defaultAtomElementType,...o,className:s.cx("kakadu-components-202187034",u)})}exports.default=n;
|
package/build/box.mjs
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as e } from "./jsx-runtime-B4hRZ52C.mjs";
|
|
2
|
+
import { cx as r } from "@kuma-ui/core";
|
|
3
|
+
import a, { defaultAtomElementType as s } from "./atom.mjs";
|
|
4
|
+
function u({
|
|
5
|
+
as: o,
|
|
6
|
+
className: t,
|
|
7
|
+
...m
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ e.jsx(a, { as: o ?? s, ...m, className: r("kakadu-components-202187034", t) });
|
|
10
|
+
}
|
|
2
11
|
export {
|
|
3
|
-
|
|
12
|
+
u as default
|
|
4
13
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default o;
|
|
2
|
+
export { e as defaultAtomElementType };
|
|
3
|
+
declare function o({ as: t, reference: r, ...u }: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
as: any;
|
|
6
|
+
reference: any;
|
|
7
|
+
}): l.DetailedReactHTMLElement<l.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
8
|
+
declare const e: "div";
|
|
9
|
+
import l = require("react");
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export default O;
|
|
2
|
+
declare var k: any;
|
|
3
|
+
declare const S: "kakadu-components-1978976872";
|
|
4
|
+
declare const j: "kakadu-components-2244098950";
|
|
5
|
+
declare const _: "kakadu-components-3923184173";
|
|
6
|
+
declare const y: "kakadu-components-317965671";
|
|
7
|
+
declare function O({ type: s, variant: t, className: a, children: n, label: R, tooltip: c, iconLeft: r, iconRight: i, isLoading: u, hasMovingGradients: b, movingGradientsCount: m, hasMovingStars: f, movingStarsCount: d, ...E }: {
|
|
8
|
+
[x: string]: any;
|
|
9
|
+
type: any;
|
|
10
|
+
variant?: string | undefined;
|
|
11
|
+
className: any;
|
|
12
|
+
children: any;
|
|
13
|
+
label: any;
|
|
14
|
+
tooltip: any;
|
|
15
|
+
iconLeft: any;
|
|
16
|
+
iconRight: any;
|
|
17
|
+
isLoading: any;
|
|
18
|
+
hasMovingGradients?: boolean | undefined;
|
|
19
|
+
movingGradientsCount?: number | undefined;
|
|
20
|
+
hasMovingStars?: boolean | undefined;
|
|
21
|
+
movingStarsCount?: number | undefined;
|
|
22
|
+
}): any;
|
|
23
|
+
export { k as ButtonVariant, S as buttonDangerStyles, j as buttonSecondaryStyles, _ as buttonSuccessStyles, y as buttonWarningStyles };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default R;
|
|
2
|
+
declare function R({ icon: a, title: u, description: c, action: l, href: s, target: x, rel: d, ...m }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
icon: any;
|
|
5
|
+
title: any;
|
|
6
|
+
description: any;
|
|
7
|
+
action: any;
|
|
8
|
+
href: any;
|
|
9
|
+
target: any;
|
|
10
|
+
rel: any;
|
|
11
|
+
}): any;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { a as FlexAlignment };
|
|
2
|
+
export default m;
|
|
3
|
+
declare var a: any;
|
|
4
|
+
declare function m({ as: o, direction: s, alignment: n, gap: e, wrap: u, className: c, ...k }: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
as: any;
|
|
7
|
+
direction?: string | undefined;
|
|
8
|
+
alignment: any;
|
|
9
|
+
gap?: number | undefined;
|
|
10
|
+
wrap?: boolean | undefined;
|
|
11
|
+
className: any;
|
|
12
|
+
}): any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { m as IconButtonVariant };
|
|
2
|
+
export default R;
|
|
3
|
+
declare var m: any;
|
|
4
|
+
declare function R({ icon: e, variant: u, label: a, className: p, ...k }: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
icon: any;
|
|
7
|
+
variant?: string | undefined;
|
|
8
|
+
label: any;
|
|
9
|
+
className: any;
|
|
10
|
+
}): any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default d;
|
|
2
|
+
declare function x({ fill: c, ...t }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
fill: any;
|
|
5
|
+
}): any;
|
|
6
|
+
declare var i: any;
|
|
7
|
+
declare function d({ variant: c, height: t }: {
|
|
8
|
+
variant?: string | undefined;
|
|
9
|
+
height?: number | undefined;
|
|
10
|
+
}): any;
|
|
11
|
+
export { x as KakaduGuideLogoSvg, i as KakaduGuideLogoVariant };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export default pt;
|
|
2
|
+
declare function pt({ root: r, maxWidth: e, className: t, isVisible: a, isFullWidth: u, shouldCloseOnOutsideClick: l, shouldCloseOnEscapePress: n, showCloseButton: p, onClose: y, children: E }: {
|
|
3
|
+
root: any;
|
|
4
|
+
maxWidth: any;
|
|
5
|
+
className: any;
|
|
6
|
+
isVisible: any;
|
|
7
|
+
isFullWidth?: boolean | undefined;
|
|
8
|
+
shouldCloseOnOutsideClick?: boolean | undefined;
|
|
9
|
+
shouldCloseOnEscapePress?: boolean | undefined;
|
|
10
|
+
showCloseButton?: boolean | undefined;
|
|
11
|
+
onClose: any;
|
|
12
|
+
children: any;
|
|
13
|
+
}): any;
|
|
14
|
+
declare function bt(r: any, e: any): {
|
|
15
|
+
isVisible: boolean;
|
|
16
|
+
show: () => Promise<any>;
|
|
17
|
+
modal: any;
|
|
18
|
+
};
|
|
19
|
+
declare function De(): {
|
|
20
|
+
isVisible: boolean;
|
|
21
|
+
};
|
|
22
|
+
export { bt as useModal, De as useModalContext };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default O;
|
|
2
|
+
declare function O({ className: S, colors: C, maximumGradientsCount: m, speed: b, opacity: X }: {
|
|
3
|
+
className: any;
|
|
4
|
+
colors?: string[] | undefined;
|
|
5
|
+
maximumGradientsCount?: number | undefined;
|
|
6
|
+
speed?: number | undefined;
|
|
7
|
+
opacity?: number | undefined;
|
|
8
|
+
}): any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default B;
|
|
2
|
+
declare function B({ color: y, opacity: R, className: W, minimumSize: A, maximumSize: S, maximumStarsCount: x, speed: C, hasMask: j }: {
|
|
3
|
+
color: any;
|
|
4
|
+
opacity: any;
|
|
5
|
+
className: any;
|
|
6
|
+
minimumSize?: number | undefined;
|
|
7
|
+
maximumSize?: number | undefined;
|
|
8
|
+
maximumStarsCount?: number | undefined;
|
|
9
|
+
speed?: number | undefined;
|
|
10
|
+
hasMask?: boolean | undefined;
|
|
11
|
+
}): any;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export default x;
|
|
2
|
+
declare function C({ children: n }: {
|
|
3
|
+
children: any;
|
|
4
|
+
}): any;
|
|
5
|
+
declare function x({ type: n, icon: d, index: c, className: u, children: f, onDismiss: o, ...i }: {
|
|
6
|
+
[x: string]: any;
|
|
7
|
+
type: any;
|
|
8
|
+
icon: any;
|
|
9
|
+
index: any;
|
|
10
|
+
className: any;
|
|
11
|
+
children: any;
|
|
12
|
+
onDismiss: any;
|
|
13
|
+
}): any;
|
|
14
|
+
declare function E(): () => never;
|
|
15
|
+
export { C as NotificationProvider, E as useCreateNotification };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export default q;
|
|
2
|
+
export { k as useRevealer };
|
|
3
|
+
declare function q({ delay: t, animationDelay: c, duration: n, threshold: l, distance: d, isMoving: r, isCentered: m, shouldReveal: f, children: v, className: a, ...o }: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
delay: any;
|
|
6
|
+
animationDelay: any;
|
|
7
|
+
duration: any;
|
|
8
|
+
threshold: any;
|
|
9
|
+
distance: any;
|
|
10
|
+
isMoving: any;
|
|
11
|
+
isCentered: any;
|
|
12
|
+
shouldReveal: any;
|
|
13
|
+
children: any;
|
|
14
|
+
className: any;
|
|
15
|
+
}): any;
|
|
16
|
+
declare function k(t: any, c?: {}): {
|
|
17
|
+
isVisible: boolean;
|
|
18
|
+
style: {
|
|
19
|
+
"--distance": string;
|
|
20
|
+
"--duration": string;
|
|
21
|
+
"--animation-delay": string;
|
|
22
|
+
};
|
|
23
|
+
className: string;
|
|
24
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { u as SkeletonInstance };
|
|
2
|
+
export default l;
|
|
3
|
+
declare function u({ label: s, width: t, height: r, className: i, children: n, isAnimated: o, ...c }: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
label: any;
|
|
6
|
+
width: any;
|
|
7
|
+
height: any;
|
|
8
|
+
className: any;
|
|
9
|
+
children: any;
|
|
10
|
+
isAnimated?: boolean | undefined;
|
|
11
|
+
}): any;
|
|
12
|
+
declare function l({ label: s, lines: t, isAnimated: r }: {
|
|
13
|
+
label: any;
|
|
14
|
+
lines?: number | undefined;
|
|
15
|
+
isAnimated?: boolean | undefined;
|
|
16
|
+
}): any;
|