@kakadu/components 1.4.6 → 1.4.7

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("../jsx-runtime-BB_1_6y_.js"),n=require("react"),R=require("@kuma-ui/core");function v({id:s,x:i,y:r,onEnd:t}){return n.useEffect(()=>{const c=setTimeout(()=>{t(s)},370);return()=>{clearTimeout(c)}},[t,s]),d.jsxRuntimeExports.jsx("div",{style:{top:r,left:i},className:"kakadu-components-3828473824"})}function y({size:s=150,className:i,...r}){const t=n.useRef(null),[c,f]=n.useState([]);n.useEffect(()=>{const e=o=>{if(t.current){const u=t.current.getBoundingClientRect(),{clientX:l,clientY:a}=o,{left:m,right:k,top:x,bottom:j}=u;l>m&&l<k&&a>x&&a<j&&f(E=>[...E,{id:Date.now()+Math.random()*1e3,x:l-m,y:a-x}])}};return window.addEventListener("click",e),()=>{window.removeEventListener("click",e)}},[]);const p=n.useCallback(e=>{f(o=>o.filter(u=>u.id!==e))},[]);return d.jsxRuntimeExports.jsx("div",{...r,ref:t,style:{"--size":`${s}px`},className:R.cx("kakadu-components-4189236582",i),children:c.map(e=>d.jsxRuntimeExports.jsx(v,{id:e.id,x:e.x,y:e.y,onEnd:p},e.id))})}exports.default=y;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("../jsx-runtime-BB_1_6y_.js"),n=require("react"),k=require("@kuma-ui/core");function v({id:s,x:r,y:i,onEnd:t}){return n.useEffect(()=>{const o=setTimeout(()=>{t(s)},370);return()=>{clearTimeout(o)}},[t,s]),a.jsxRuntimeExports.jsx("div",{style:{top:i,left:r},className:"kakadu-components-3828473824"})}function w({size:s=150,className:r,...i}){const t=n.useRef(null),[o,f]=n.useState([]);n.useEffect(()=>{const e=u=>{if(t.current){const c=t.current.getBoundingClientRect(),{clientX:l,clientY:d}=u,{left:m,right:j,top:x,bottom:E}=c;l>m&&l<j&&d>x&&d<E&&f(R=>[...R,{id:Date.now()+Math.random()*1e3,x:l-m,y:d-x}])}};return window.addEventListener("pointerdown",e),()=>{window.removeEventListener("pointerdown",e)}},[]);const p=n.useCallback(e=>{f(u=>u.filter(c=>c.id!==e))},[]);return a.jsxRuntimeExports.jsx("div",{...i,ref:t,style:{"--size":`${s}px`},className:k.cx("kakadu-components-4189236582",r),children:o.map(e=>a.jsxRuntimeExports.jsx(v,{id:e.id,x:e.x,y:e.y,onEnd:p},e.id))})}exports.default=w;
@@ -1,30 +1,30 @@
1
1
  import { j as a } from "../jsx-runtime-B4hRZ52C.mjs";
2
- import { useRef as w, useState as y, useEffect as p, useCallback as E } from "react";
2
+ import { useRef as v, useState as y, useEffect as p, useCallback as E } from "react";
3
3
  import { cx as R } from "@kuma-ui/core";
4
4
  function h({
5
5
  id: n,
6
- x: s,
7
- y: i,
6
+ x: o,
7
+ y: s,
8
8
  onEnd: t
9
9
  }) {
10
10
  return p(() => {
11
- const o = setTimeout(() => {
11
+ const i = setTimeout(() => {
12
12
  t(n);
13
13
  }, 370);
14
14
  return () => {
15
- clearTimeout(o);
15
+ clearTimeout(i);
16
16
  };
17
17
  }, [t, n]), /* @__PURE__ */ a.jsx("div", { style: {
18
- top: i,
19
- left: s
18
+ top: s,
19
+ left: o
20
20
  }, className: "kakadu-components-3828473824" });
21
21
  }
22
22
  function L({
23
23
  size: n = 150,
24
- className: s,
25
- ...i
24
+ className: o,
25
+ ...s
26
26
  }) {
27
- const t = w(null), [o, d] = y([]);
27
+ const t = v(null), [i, d] = y([]);
28
28
  p(() => {
29
29
  const e = (r) => {
30
30
  if (t.current) {
@@ -35,25 +35,25 @@ function L({
35
35
  left: m,
36
36
  right: k,
37
37
  top: f,
38
- bottom: j
38
+ bottom: w
39
39
  } = c;
40
- l > m && l < k && u > f && u < j && d((v) => [...v, {
40
+ l > m && l < k && u > f && u < w && d((j) => [...j, {
41
41
  id: Date.now() + Math.random() * 1e3,
42
42
  x: l - m,
43
43
  y: u - f
44
44
  }]);
45
45
  }
46
46
  };
47
- return window.addEventListener("click", e), () => {
48
- window.removeEventListener("click", e);
47
+ return window.addEventListener("pointerdown", e), () => {
48
+ window.removeEventListener("pointerdown", e);
49
49
  };
50
50
  }, []);
51
51
  const x = E((e) => {
52
52
  d((r) => r.filter((c) => c.id !== e));
53
53
  }, []);
54
- return /* @__PURE__ */ a.jsx("div", { ...i, ref: t, style: {
54
+ return /* @__PURE__ */ a.jsx("div", { ...s, ref: t, style: {
55
55
  "--size": `${n}px`
56
- }, className: R("kakadu-components-4189236582", s), children: o.map((e) => /* @__PURE__ */ a.jsx(h, { id: e.id, x: e.x, y: e.y, onEnd: x }, e.id)) });
56
+ }, className: R("kakadu-components-4189236582", o), children: i.map((e) => /* @__PURE__ */ a.jsx(h, { id: e.id, x: e.x, y: e.y, onEnd: x }, e.id)) });
57
57
  }
58
58
  export {
59
59
  L as default
@@ -0,0 +1,2 @@
1
+ import { type ComponentPropsWithoutRef } from 'react';
2
+ export default function DotsSvg({ fill, ...properties }: ComponentPropsWithoutRef<'svg'>): import("react/jsx-runtime").JSX.Element;
@@ -2,6 +2,7 @@ import { type ComponentPropsWithoutRef } from 'react';
2
2
  export declare enum IconType {
3
3
  kakaduGuide = "kakaduGuide",
4
4
  kakaduGuideGlyph = "kakaduGuideGlyph",
5
+ dots = "dots",
5
6
  menu = "menu",
6
7
  check = "check",
7
8
  plus = "plus",
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../jsx-runtime-BB_1_6y_.js"),n=require("./kakadu-guide.js"),i=require("./kakadu-guide-glyph.js"),c=require("./check.js"),u=require("./plus.js"),a=require("./times.js"),l=require("./chevron-down.js"),h=require("./chevron-up.js"),d=require("./caret-down.js"),x=require("./caret-right.js"),m=require("./arrow-down.js"),w=require("./edit.js"),g=require("./copy.js"),v=require("./test.js"),j=require("./exclamation-triangle.js"),p=require("./edge-browser-logo.js"),f=require("./chrome-browser-logo.js"),k=require("./menu.js");function R({fill:e,...r}){return t.jsxRuntimeExports.jsx("svg",{fill:"none",height:"512",viewBox:"0 0 512 512",width:"512",xmlns:"http://www.w3.org/2000/svg",...r,children:t.jsxRuntimeExports.jsxs("g",{fill:e??"currentColor",children:[t.jsxRuntimeExports.jsx("path",{d:"m414.5 303.999c17.397 0 31.5 14.103 31.5 31.5v78c0 .842-.034 1.676-.099 2.5.065.825.099 1.659.099 2.5 0 17.397-14.103 31.5-31.5 31.5h-316c-17.397 0-31.5-14.103-31.5-31.5 0-.841.0329-1.675.0977-2.5-.0648-.824-.0977-1.658-.0977-2.5v-78c.0002-17.397 14.1031-31.5 31.5-31.5 17.397 0 31.5 14.103 31.5 31.5v51.5h253v-51.5c0-17.397 14.103-31.5 31.5-31.5z"}),t.jsxRuntimeExports.jsx("path",{d:"m255.738 75.0579c8.33-.2128 16.728 2.8592 23.084 9.2158l91.444 91.4433c12.3 12.302 12.3 32.246 0 44.547-12.302 12.301-32.247 12.301-44.548 0l-38.717-38.717v108.952c0 17.397-14.104 31.5-31.5 31.5-17.397 0-31.5-14.103-31.5-31.5v-108.506l-38.269 38.27c-12.301 12.301-32.245 12.301-44.546 0-12.302-12.302-12.302-32.245 0-44.547l91.442-91.4432c6.363-6.3635 14.772-9.435 23.11-9.2149z"})]})})}function _({fill:e,...r}){return t.jsxRuntimeExports.jsx("svg",{fill:"none",height:"512",viewBox:"0 0 512 512",width:"512",xmlns:"http://www.w3.org/2000/svg",...r,children:t.jsxRuntimeExports.jsxs("g",{fill:e??"currentColor",children:[t.jsxRuntimeExports.jsx("path",{d:"m132.5 73c17.397 0 31.5 14.103 31.5 31.5s-14.103 31.5-31.5 31.5h-2.5v251h253v-5.5c0-17.397 14.103-31.5 31.5-31.5s31.5 14.103 31.5 31.5v32c0 .841-.034 1.675-.099 2.5.065.825.099 1.659.099 2.5 0 17.397-14.103 31.5-31.5 31.5h-316c-17.397 0-31.5-14.103-31.5-31.5 0-.841.0329-1.675.0977-2.5-.0648-.825-.0977-1.659-.0977-2.5v-309c0-17.397 14.103-31.5 31.5-31.5z"}),t.jsxRuntimeExports.jsx("path",{d:"m413.377 73.6973c8.999 0 17.117 3.7739 22.857 9.8252 6.041 5.7392 9.807 13.85 9.807 22.8395v129.321c0 17.396-14.103 31.498-31.499 31.499-17.397 0-31.5-14.103-31.5-31.5v-54.754l-115.042 115.042c-12.301 12.301-32.245 12.3-44.547 0-12.301-12.302-12.301-32.247 0-44.548l114.725-114.726h-54.12c-17.397 0-31.499-14.102-31.499-31.499 0-17.3967 14.102-31.4988 31.499-31.4988z"})]})})}function q({fill:e,...r}){return t.jsxRuntimeExports.jsxs("svg",{fill:"none",height:"512",viewBox:"0 0 512 512",width:"512",xmlns:"http://www.w3.org/2000/svg",...r,children:[t.jsxRuntimeExports.jsx("clipPath",{id:"a",children:t.jsxRuntimeExports.jsx("path",{d:"m0 0h512v512h-512z"})}),t.jsxRuntimeExports.jsxs("g",{clipPath:"url(#a)",fill:e??"currentColor",children:[t.jsxRuntimeExports.jsx("path",{d:"m447.377 94.6973c8.999 0 17.117 3.7739 22.857 9.8247 6.04 5.74 9.807 13.85 9.807 22.84v129.321c-.001 17.396-14.103 31.498-31.499 31.499-17.397 0-31.5-14.103-31.5-31.5v-54.754l-125.042 125.042c-12.302 12.301-32.246 12.3-44.547 0-12.302-12.302-12.302-32.247 0-44.548l124.724-124.726h-54.12c-17.397 0-31.499-14.102-31.499-31.499s14.102-31.4988 31.499-31.4988z"}),t.jsxRuntimeExports.jsx("rect",{height:"63",rx:"31.5",transform:"matrix(.70710678 .70710678 -.70710678 .70710678 168.107959 -75.224514)",width:"196.96",x:"174.858",y:"165.312"}),t.jsxRuntimeExports.jsx("rect",{height:"63",rx:"31.5",transform:"matrix(-.70710678 .70710678 -.70710678 -.70710678 521.94762 204.898217)",width:"255.907",x:"218.538",y:"210.548"})]})]})}var o=(e=>(e.kakaduGuide="kakaduGuide",e.kakaduGuideGlyph="kakaduGuideGlyph",e.menu="menu",e.check="check",e.plus="plus",e.times="times",e.chevronDown="chevronDown",e.chevronUp="chevronUp",e.caretDown="caretDown",e.caretRight="caretRight",e.arrowDown="arrowDown",e.trendUp="trendUp",e.edit="edit",e.copy="copy",e.test="test",e.share="share",e.external="external",e.exclamationTriangle="exclamationTriangle",e.chromeBrowserLogo="chromeBrowserLogo",e.edgeBrowserLogo="edgeBrowserLogo",e))(o||{});const E={kakaduGuide:n.default,kakaduGuideGlyph:i.default,menu:k.default,check:c.default,plus:u.default,times:a.default,chevronDown:l.default,chevronUp:h.default,caretDown:d.default,caretRight:x.default,arrowDown:m.default,trendUp:q,edit:w.default,copy:g.default,test:v.default,share:R,external:_,exclamationTriangle:j.default,chromeBrowserLogo:f.default,edgeBrowserLogo:p.default},D="kakadu-components-2395643287";function G({type:e,...r}){const s=E[e];return s?t.jsxRuntimeExports.jsx(s,{...r}):null}exports.IconType=o;exports.default=G;exports.iconShadowStyles=D;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../jsx-runtime-BB_1_6y_.js"),i=require("./kakadu-guide.js"),n=require("./kakadu-guide-glyph.js"),c=require("./menu.js"),u=require("./check.js"),l=require("./plus.js"),x=require("./times.js"),a=require("./chevron-down.js"),h=require("./chevron-up.js"),d=require("./caret-down.js"),m=require("./caret-right.js"),w=require("./arrow-down.js"),g=require("./edit.js"),j=require("./copy.js"),v=require("./test.js"),p=require("./exclamation-triangle.js"),f=require("./edge-browser-logo.js"),R=require("./chrome-browser-logo.js");function k({fill:e,...r}){return t.jsxRuntimeExports.jsx("svg",{fill:"none",height:"512",viewBox:"0 0 512 512",width:"512",xmlns:"http://www.w3.org/2000/svg",...r,children:t.jsxRuntimeExports.jsxs("g",{fill:e??"currentColor",children:[t.jsxRuntimeExports.jsx("circle",{cx:"256",cy:"256",r:"56"}),t.jsxRuntimeExports.jsx("circle",{cx:"78",cy:"256",r:"56"}),t.jsxRuntimeExports.jsx("circle",{cx:"434",cy:"256",r:"56"})]})})}function E({fill:e,...r}){return t.jsxRuntimeExports.jsxs("svg",{fill:"none",height:"512",viewBox:"0 0 512 512",width:"512",xmlns:"http://www.w3.org/2000/svg",...r,children:[t.jsxRuntimeExports.jsx("clipPath",{id:"a",children:t.jsxRuntimeExports.jsx("path",{d:"m0 0h512v512h-512z"})}),t.jsxRuntimeExports.jsxs("g",{clipPath:"url(#a)",fill:e??"currentColor",children:[t.jsxRuntimeExports.jsx("path",{d:"m447.377 94.6973c8.999 0 17.117 3.7739 22.857 9.8247 6.04 5.74 9.807 13.85 9.807 22.84v129.321c-.001 17.396-14.103 31.498-31.499 31.499-17.397 0-31.5-14.103-31.5-31.5v-54.754l-125.042 125.042c-12.302 12.301-32.246 12.3-44.547 0-12.302-12.302-12.302-32.247 0-44.548l124.724-124.726h-54.12c-17.397 0-31.499-14.102-31.499-31.499s14.102-31.4988 31.499-31.4988z"}),t.jsxRuntimeExports.jsx("rect",{height:"63",rx:"31.5",transform:"matrix(.70710678 .70710678 -.70710678 .70710678 168.107959 -75.224514)",width:"196.96",x:"174.858",y:"165.312"}),t.jsxRuntimeExports.jsx("rect",{height:"63",rx:"31.5",transform:"matrix(-.70710678 .70710678 -.70710678 -.70710678 521.94762 204.898217)",width:"255.907",x:"218.538",y:"210.548"})]})]})}function _({fill:e,...r}){return t.jsxRuntimeExports.jsx("svg",{fill:"none",height:"512",viewBox:"0 0 512 512",width:"512",xmlns:"http://www.w3.org/2000/svg",...r,children:t.jsxRuntimeExports.jsxs("g",{fill:e??"currentColor",children:[t.jsxRuntimeExports.jsx("path",{d:"m414.5 303.999c17.397 0 31.5 14.103 31.5 31.5v78c0 .842-.034 1.676-.099 2.5.065.825.099 1.659.099 2.5 0 17.397-14.103 31.5-31.5 31.5h-316c-17.397 0-31.5-14.103-31.5-31.5 0-.841.0329-1.675.0977-2.5-.0648-.824-.0977-1.658-.0977-2.5v-78c.0002-17.397 14.1031-31.5 31.5-31.5 17.397 0 31.5 14.103 31.5 31.5v51.5h253v-51.5c0-17.397 14.103-31.5 31.5-31.5z"}),t.jsxRuntimeExports.jsx("path",{d:"m255.738 75.0579c8.33-.2128 16.728 2.8592 23.084 9.2158l91.444 91.4433c12.3 12.302 12.3 32.246 0 44.547-12.302 12.301-32.247 12.301-44.548 0l-38.717-38.717v108.952c0 17.397-14.104 31.5-31.5 31.5-17.397 0-31.5-14.103-31.5-31.5v-108.506l-38.269 38.27c-12.301 12.301-32.245 12.301-44.546 0-12.302-12.302-12.302-32.245 0-44.547l91.442-91.4432c6.363-6.3635 14.772-9.435 23.11-9.2149z"})]})})}function q({fill:e,...r}){return t.jsxRuntimeExports.jsx("svg",{fill:"none",height:"512",viewBox:"0 0 512 512",width:"512",xmlns:"http://www.w3.org/2000/svg",...r,children:t.jsxRuntimeExports.jsxs("g",{fill:e??"currentColor",children:[t.jsxRuntimeExports.jsx("path",{d:"m132.5 73c17.397 0 31.5 14.103 31.5 31.5s-14.103 31.5-31.5 31.5h-2.5v251h253v-5.5c0-17.397 14.103-31.5 31.5-31.5s31.5 14.103 31.5 31.5v32c0 .841-.034 1.675-.099 2.5.065.825.099 1.659.099 2.5 0 17.397-14.103 31.5-31.5 31.5h-316c-17.397 0-31.5-14.103-31.5-31.5 0-.841.0329-1.675.0977-2.5-.0648-.825-.0977-1.659-.0977-2.5v-309c0-17.397 14.103-31.5 31.5-31.5z"}),t.jsxRuntimeExports.jsx("path",{d:"m413.377 73.6973c8.999 0 17.117 3.7739 22.857 9.8252 6.041 5.7392 9.807 13.85 9.807 22.8395v129.321c0 17.396-14.103 31.498-31.499 31.499-17.397 0-31.5-14.103-31.5-31.5v-54.754l-115.042 115.042c-12.301 12.301-32.245 12.3-44.547 0-12.301-12.302-12.301-32.247 0-44.548l114.725-114.726h-54.12c-17.397 0-31.499-14.102-31.499-31.499 0-17.3967 14.102-31.4988 31.499-31.4988z"})]})})}var o=(e=>(e.kakaduGuide="kakaduGuide",e.kakaduGuideGlyph="kakaduGuideGlyph",e.dots="dots",e.menu="menu",e.check="check",e.plus="plus",e.times="times",e.chevronDown="chevronDown",e.chevronUp="chevronUp",e.caretDown="caretDown",e.caretRight="caretRight",e.arrowDown="arrowDown",e.trendUp="trendUp",e.edit="edit",e.copy="copy",e.test="test",e.share="share",e.external="external",e.exclamationTriangle="exclamationTriangle",e.chromeBrowserLogo="chromeBrowserLogo",e.edgeBrowserLogo="edgeBrowserLogo",e))(o||{});const D={kakaduGuide:i.default,kakaduGuideGlyph:n.default,dots:k,menu:c.default,check:u.default,plus:l.default,times:x.default,chevronDown:a.default,chevronUp:h.default,caretDown:d.default,caretRight:m.default,arrowDown:w.default,trendUp:E,edit:g.default,copy:j.default,test:v.default,share:_,external:q,exclamationTriangle:p.default,chromeBrowserLogo:R.default,edgeBrowserLogo:f.default},B="kakadu-components-2395643287";function G({type:e,...r}){const s=D[e];return s?t.jsxRuntimeExports.jsx(s,{...r}):null}exports.IconType=o;exports.default=G;exports.iconShadowStyles=B;
@@ -1,41 +1,21 @@
1
1
  import { j as o } from "../jsx-runtime-B4hRZ52C.mjs";
2
2
  import i from "./kakadu-guide.mjs";
3
- import h from "./kakadu-guide-glyph.mjs";
4
- import a from "./check.mjs";
5
- import n from "./plus.mjs";
6
- import m from "./times.mjs";
7
- import s from "./chevron-down.mjs";
8
- import l from "./chevron-up.mjs";
9
- import c from "./caret-down.mjs";
10
- import g from "./caret-right.mjs";
11
- import v from "./arrow-down.mjs";
12
- import d from "./edit.mjs";
13
- import w from "./copy.mjs";
3
+ import s from "./kakadu-guide-glyph.mjs";
4
+ import h from "./menu.mjs";
5
+ import n from "./check.mjs";
6
+ import c from "./plus.mjs";
7
+ import l from "./times.mjs";
8
+ import a from "./chevron-down.mjs";
9
+ import m from "./chevron-up.mjs";
10
+ import g from "./caret-down.mjs";
11
+ import v from "./caret-right.mjs";
12
+ import d from "./arrow-down.mjs";
13
+ import w from "./edit.mjs";
14
+ import x from "./copy.mjs";
14
15
  import u from "./test.mjs";
15
- import x from "./exclamation-triangle.mjs";
16
+ import f from "./exclamation-triangle.mjs";
16
17
  import p from "./edge-browser-logo.mjs";
17
- import f from "./chrome-browser-logo.mjs";
18
- import S from "./menu.mjs";
19
- function k({
20
- fill: r,
21
- ...t
22
- }) {
23
- return /* @__PURE__ */ o.jsx(
24
- "svg",
25
- {
26
- fill: "none",
27
- height: "512",
28
- viewBox: "0 0 512 512",
29
- width: "512",
30
- xmlns: "http://www.w3.org/2000/svg",
31
- ...t,
32
- children: /* @__PURE__ */ o.jsxs("g", { fill: r ?? "currentColor", children: [
33
- /* @__PURE__ */ o.jsx("path", { d: "m414.5 303.999c17.397 0 31.5 14.103 31.5 31.5v78c0 .842-.034 1.676-.099 2.5.065.825.099 1.659.099 2.5 0 17.397-14.103 31.5-31.5 31.5h-316c-17.397 0-31.5-14.103-31.5-31.5 0-.841.0329-1.675.0977-2.5-.0648-.824-.0977-1.658-.0977-2.5v-78c.0002-17.397 14.1031-31.5 31.5-31.5 17.397 0 31.5 14.103 31.5 31.5v51.5h253v-51.5c0-17.397 14.103-31.5 31.5-31.5z" }),
34
- /* @__PURE__ */ o.jsx("path", { d: "m255.738 75.0579c8.33-.2128 16.728 2.8592 23.084 9.2158l91.444 91.4433c12.3 12.302 12.3 32.246 0 44.547-12.302 12.301-32.247 12.301-44.548 0l-38.717-38.717v108.952c0 17.397-14.104 31.5-31.5 31.5-17.397 0-31.5-14.103-31.5-31.5v-108.506l-38.269 38.27c-12.301 12.301-32.245 12.301-44.546 0-12.302-12.302-12.302-32.245 0-44.547l91.442-91.4432c6.363-6.3635 14.772-9.435 23.11-9.2149z" })
35
- ] })
36
- }
37
- );
38
- }
18
+ import S from "./chrome-browser-logo.mjs";
39
19
  function j({
40
20
  fill: r,
41
21
  ...t
@@ -50,13 +30,14 @@ function j({
50
30
  xmlns: "http://www.w3.org/2000/svg",
51
31
  ...t,
52
32
  children: /* @__PURE__ */ o.jsxs("g", { fill: r ?? "currentColor", children: [
53
- /* @__PURE__ */ o.jsx("path", { d: "m132.5 73c17.397 0 31.5 14.103 31.5 31.5s-14.103 31.5-31.5 31.5h-2.5v251h253v-5.5c0-17.397 14.103-31.5 31.5-31.5s31.5 14.103 31.5 31.5v32c0 .841-.034 1.675-.099 2.5.065.825.099 1.659.099 2.5 0 17.397-14.103 31.5-31.5 31.5h-316c-17.397 0-31.5-14.103-31.5-31.5 0-.841.0329-1.675.0977-2.5-.0648-.825-.0977-1.659-.0977-2.5v-309c0-17.397 14.103-31.5 31.5-31.5z" }),
54
- /* @__PURE__ */ o.jsx("path", { d: "m413.377 73.6973c8.999 0 17.117 3.7739 22.857 9.8252 6.041 5.7392 9.807 13.85 9.807 22.8395v129.321c0 17.396-14.103 31.498-31.499 31.499-17.397 0-31.5-14.103-31.5-31.5v-54.754l-115.042 115.042c-12.301 12.301-32.245 12.3-44.547 0-12.301-12.302-12.301-32.247 0-44.548l114.725-114.726h-54.12c-17.397 0-31.499-14.102-31.499-31.499 0-17.3967 14.102-31.4988 31.499-31.4988z" })
33
+ /* @__PURE__ */ o.jsx("circle", { cx: "256", cy: "256", r: "56" }),
34
+ /* @__PURE__ */ o.jsx("circle", { cx: "78", cy: "256", r: "56" }),
35
+ /* @__PURE__ */ o.jsx("circle", { cx: "434", cy: "256", r: "56" })
55
36
  ] })
56
37
  }
57
38
  );
58
39
  }
59
- function D({
40
+ function k({
60
41
  fill: r,
61
42
  ...t
62
43
  }) {
@@ -100,38 +81,79 @@ function D({
100
81
  }
101
82
  );
102
83
  }
103
- var G = /* @__PURE__ */ ((r) => (r.kakaduGuide = "kakaduGuide", r.kakaduGuideGlyph = "kakaduGuideGlyph", r.menu = "menu", r.check = "check", r.plus = "plus", r.times = "times", r.chevronDown = "chevronDown", r.chevronUp = "chevronUp", r.caretDown = "caretDown", r.caretRight = "caretRight", r.arrowDown = "arrowDown", r.trendUp = "trendUp", r.edit = "edit", r.copy = "copy", r.test = "test", r.share = "share", r.external = "external", r.exclamationTriangle = "exclamationTriangle", r.chromeBrowserLogo = "chromeBrowserLogo", r.edgeBrowserLogo = "edgeBrowserLogo", r))(G || {});
104
- const B = {
84
+ function D({
85
+ fill: r,
86
+ ...t
87
+ }) {
88
+ return /* @__PURE__ */ o.jsx(
89
+ "svg",
90
+ {
91
+ fill: "none",
92
+ height: "512",
93
+ viewBox: "0 0 512 512",
94
+ width: "512",
95
+ xmlns: "http://www.w3.org/2000/svg",
96
+ ...t,
97
+ children: /* @__PURE__ */ o.jsxs("g", { fill: r ?? "currentColor", children: [
98
+ /* @__PURE__ */ o.jsx("path", { d: "m414.5 303.999c17.397 0 31.5 14.103 31.5 31.5v78c0 .842-.034 1.676-.099 2.5.065.825.099 1.659.099 2.5 0 17.397-14.103 31.5-31.5 31.5h-316c-17.397 0-31.5-14.103-31.5-31.5 0-.841.0329-1.675.0977-2.5-.0648-.824-.0977-1.658-.0977-2.5v-78c.0002-17.397 14.1031-31.5 31.5-31.5 17.397 0 31.5 14.103 31.5 31.5v51.5h253v-51.5c0-17.397 14.103-31.5 31.5-31.5z" }),
99
+ /* @__PURE__ */ o.jsx("path", { d: "m255.738 75.0579c8.33-.2128 16.728 2.8592 23.084 9.2158l91.444 91.4433c12.3 12.302 12.3 32.246 0 44.547-12.302 12.301-32.247 12.301-44.548 0l-38.717-38.717v108.952c0 17.397-14.104 31.5-31.5 31.5-17.397 0-31.5-14.103-31.5-31.5v-108.506l-38.269 38.27c-12.301 12.301-32.245 12.301-44.546 0-12.302-12.302-12.302-32.245 0-44.547l91.442-91.4432c6.363-6.3635 14.772-9.435 23.11-9.2149z" })
100
+ ] })
101
+ }
102
+ );
103
+ }
104
+ function B({
105
+ fill: r,
106
+ ...t
107
+ }) {
108
+ return /* @__PURE__ */ o.jsx(
109
+ "svg",
110
+ {
111
+ fill: "none",
112
+ height: "512",
113
+ viewBox: "0 0 512 512",
114
+ width: "512",
115
+ xmlns: "http://www.w3.org/2000/svg",
116
+ ...t,
117
+ children: /* @__PURE__ */ o.jsxs("g", { fill: r ?? "currentColor", children: [
118
+ /* @__PURE__ */ o.jsx("path", { d: "m132.5 73c17.397 0 31.5 14.103 31.5 31.5s-14.103 31.5-31.5 31.5h-2.5v251h253v-5.5c0-17.397 14.103-31.5 31.5-31.5s31.5 14.103 31.5 31.5v32c0 .841-.034 1.675-.099 2.5.065.825.099 1.659.099 2.5 0 17.397-14.103 31.5-31.5 31.5h-316c-17.397 0-31.5-14.103-31.5-31.5 0-.841.0329-1.675.0977-2.5-.0648-.825-.0977-1.659-.0977-2.5v-309c0-17.397 14.103-31.5 31.5-31.5z" }),
119
+ /* @__PURE__ */ o.jsx("path", { d: "m413.377 73.6973c8.999 0 17.117 3.7739 22.857 9.8252 6.041 5.7392 9.807 13.85 9.807 22.8395v129.321c0 17.396-14.103 31.498-31.499 31.499-17.397 0-31.5-14.103-31.5-31.5v-54.754l-115.042 115.042c-12.301 12.301-32.245 12.3-44.547 0-12.301-12.302-12.301-32.247 0-44.548l114.725-114.726h-54.12c-17.397 0-31.499-14.102-31.499-31.499 0-17.3967 14.102-31.4988 31.499-31.4988z" })
120
+ ] })
121
+ }
122
+ );
123
+ }
124
+ var C = /* @__PURE__ */ ((r) => (r.kakaduGuide = "kakaduGuide", r.kakaduGuideGlyph = "kakaduGuideGlyph", r.dots = "dots", r.menu = "menu", r.check = "check", r.plus = "plus", r.times = "times", r.chevronDown = "chevronDown", r.chevronUp = "chevronUp", r.caretDown = "caretDown", r.caretRight = "caretRight", r.arrowDown = "arrowDown", r.trendUp = "trendUp", r.edit = "edit", r.copy = "copy", r.test = "test", r.share = "share", r.external = "external", r.exclamationTriangle = "exclamationTriangle", r.chromeBrowserLogo = "chromeBrowserLogo", r.edgeBrowserLogo = "edgeBrowserLogo", r))(C || {});
125
+ const G = {
105
126
  kakaduGuide: i,
106
- kakaduGuideGlyph: h,
107
- menu: S,
108
- check: a,
109
- plus: n,
110
- times: m,
111
- chevronDown: s,
112
- chevronUp: l,
113
- caretDown: c,
114
- caretRight: g,
115
- arrowDown: v,
116
- trendUp: D,
117
- edit: d,
118
- copy: w,
127
+ kakaduGuideGlyph: s,
128
+ dots: j,
129
+ menu: h,
130
+ check: n,
131
+ plus: c,
132
+ times: l,
133
+ chevronDown: a,
134
+ chevronUp: m,
135
+ caretDown: g,
136
+ caretRight: v,
137
+ arrowDown: d,
138
+ trendUp: k,
139
+ edit: w,
140
+ copy: x,
119
141
  test: u,
120
- share: k,
121
- external: j,
122
- exclamationTriangle: x,
123
- chromeBrowserLogo: f,
142
+ share: D,
143
+ external: B,
144
+ exclamationTriangle: f,
145
+ chromeBrowserLogo: S,
124
146
  edgeBrowserLogo: p
125
- }, V = "kakadu-components-2395643287";
126
- function W({
147
+ }, W = "kakadu-components-2395643287";
148
+ function X({
127
149
  type: r,
128
150
  ...t
129
151
  }) {
130
- const e = B[r];
152
+ const e = G[r];
131
153
  return e ? /* @__PURE__ */ o.jsx(e, { ...t }) : null;
132
154
  }
133
155
  export {
134
- G as IconType,
135
- W as default,
136
- V as iconShadowStyles
156
+ C as IconType,
157
+ X as default,
158
+ W as iconShadowStyles
137
159
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kakadu/components",
3
- "version": "1.4.6",
3
+ "version": "1.4.7",
4
4
  "description": "Kakadu components library",
5
5
  "license": "MIT",
6
6
  "main": "./build/index.js",