@digitalpromise/design 4.12.0 → 4.13.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/index.cjs CHANGED
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./icon-r9-powj6.cjs"),e=require("react/jsx-runtime"),j=require("next/navigation"),P=require("react"),z=["default","danger","inverse","emphasize","decolor"],L=["md","sm","xs"],R=["primary","secondary","tertiary","ghost","outline"],F="inline-flex items-center justify-center rounded-lg cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-4 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",q={md:"h-8 w-8 p-0",sm:"h-7 w-7 p-0",xs:"h-6 w-6 p-0"},M={default:"text-gray-5 hover:text-neutral-5 transition-colors",danger:"text-red-4 hover:text-red-5",inverse:"text-white hover:text-gray-1",emphasize:"bg-white text-gray-5 hover:bg-gray-1 hover:text-neutral-5 focus-visible:bg-blue-1 focus-visible:text-blue-4 focus-visible:hover:bg-blue-2 focus-visible:hover:text-blue-5",decolor:"text-gray-5 hover:text-neutral-5 transition-colors"},O={ghost:"",outline:"border-2 border-gray-5"},V={default:"flex items-center gap-2 py-3 text-gray-5",danger:"flex items-center gap-2 py-3 text-red-4 hover:text-red-5",inverse:"flex items-center gap-2 py-3 text-white hover:text-gray-1",emphasize:"flex items-center gap-2 py-3 text-gray-5",decolor:"flex items-center gap-2 py-3 text-gray-5 hover:text-neutral-5"},G="inline-flex items-center justify-center gap-2";function I(n,a){return`${n==="xs"?"block h-5 w-5 shrink-0 leading-none":n==="sm"?"block h-4 w-4 shrink-0 text-base leading-none":"block h-6 w-6 shrink-0 text-2xl leading-none"} ${a??""}`.trim()}function A({className:n,size:a="md",state:t="default",variant:r="ghost"}){if(r==="primary"||r==="secondary"){const i=t==="emphasize"?"default":t;return`${m.getButtonClassName({className:G,variant:r,state:i})} ${n??""}`.trim()}return r==="tertiary"?`${V[t]} ${n??""}`.trim():`${F} ${q[a]} ${M[t]} ${O[r]} ${n??""}`.trim()}function E({children:n,icon:a,iconClassName:t,iconPosition:r="start",size:i="md",textClassName:c,variant:o="ghost"}){const l=a?e.jsx(m.Icon,{name:a,className:o==="ghost"||o==="outline"?I(i,t):o==="tertiary"?`h-5 w-5 shrink-0 ${t??""}`.trim():t}):null;if(o==="tertiary"){const s=n?e.jsx("span",{className:`font-semibold underline ${c??""}`.trim(),children:n}):null;return r==="end"?e.jsxs(e.Fragment,{children:[s,l]}):e.jsxs(e.Fragment,{children:[l,s]})}if(o==="primary"||o==="secondary"){const s=c?e.jsx("span",{className:c,children:n}):n;return l?s?r==="end"?e.jsxs(e.Fragment,{children:[s,l]}):e.jsxs(e.Fragment,{children:[l,s]}):l:s}return e.jsxs(e.Fragment,{children:[l,n]})}function T({children:n,icon:a,iconClassName:t,iconPosition:r="start",label:i,className:c,size:o="md",state:l="default",textClassName:s,type:u="button",variant:b="ghost",...y}){return e.jsx("button",{type:u,className:A({className:c,size:o,state:l,variant:b}),...y,"aria-label":i,children:E({children:n,icon:a,iconClassName:t,iconPosition:r,size:o,textClassName:s,variant:b})})}function D({name:n,size:a="md",className:t}){return e.jsx(m.Icon,{name:n,className:I(a,t)})}const Q=new Map([["black","/primary-badge-engine-logo-black.svg"],["white","/primary-badge-engine-logo-white.svg"],["color","/primary-badge-engine-logo-color.svg"]]);function U({variant:n="color",className:a}){const t=Q.get(n);return t===void 0?null:e.jsx("img",{src:t,width:186,height:36,alt:"Badge Engine",className:a})}function _({count:n,limit:a=10,pageParamKey:t="page"}){const r=j.useSearchParams(),i=j.usePathname(),c=j.useRouter(),o=r.get(t),l=o?Number.parseInt(o,10):Number.NaN,s=Number.isFinite(l)?l:1,u=Math.max(1,Math.ceil(n/a)),b=u<=7?Array.from({length:u},(d,g)=>g+1):s<=4?[1,2,3,4,5,"ellipsis",u]:s>=u-3?[1,"ellipsis",u-4,u-3,u-2,u-1,u]:[1,"ellipsis",s-1,s,s+1,"ellipsis",u],y=s===1,w=s===u,N=d=>{if(y&&d==="prev"||w&&d==="next")return;const g=d==="prev"?s-1:s+1,h=new URLSearchParams(r.toString());h.set(t,String(g)),c.push(`${i}?${h.toString()}`,{scroll:!1})},p=d=>{const g=new URLSearchParams(r.toString());g.set(t,String(d)),c.push(`${i}?${g.toString()}`,{scroll:!1})};return e.jsxs("ul",{className:"flex items-center justify-center gap-4 font-medium",children:[e.jsx("li",{className:"mr-2",children:e.jsx("button",{type:"button","aria-label":"Previous page",disabled:y,className:"inline-flex h-[42px] w-[42px] items-center justify-center rounded-[4px] bg-transparent p-[9px] text-gray-5 transition hover:bg-transparent hover:text-neutral-5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-4 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",onClick:()=>N("prev"),children:e.jsx(m.Icon,{name:"ArrowLineLeft"})})}),b.map((d,g)=>{const h=d==="ellipsis",f=h?void 0:d,S=f===s,$=h||S,C=h?"Pagination ellipsis":`Go to page ${f}`;return e.jsx("li",{children:e.jsx("button",{type:"button","aria-label":C,"aria-current":S?"page":void 0,disabled:$,className:`flex h-[36px] w-[36px] items-center justify-center rounded-[4px] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-4 ${S?"bg-blue-1 text-blue-4":""} ${$?"cursor-default":"cursor-pointer hover:bg-gray-1"}`.trim(),onClick:!$&&f?()=>p(f):void 0,children:h?"...":f})},`${d}-${g}`)}),e.jsx("li",{className:"ml-2",children:e.jsx("button",{type:"button","aria-label":"Next page",disabled:w,className:"inline-flex h-[42px] w-[42px] items-center justify-center rounded-[4px] bg-transparent p-[9px] text-gray-5 transition hover:bg-transparent hover:text-neutral-5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-4 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",onClick:()=>N("next"),children:e.jsx(m.Icon,{name:"ArrowLineRight"})})})]})}function H({placeholder:n,className:a,inputWidth:t,value:r,onChange:i,syncToUrl:c=!0,id:o="search",paramKey:l="s",firstResultSelector:s,onEnter:u}){const b=j.useSearchParams(),y=j.usePathname(),w=j.useRouter(),N=P.useRef(null),p=r!==void 0,[d,g]=P.useState(p?r:b.get(l)?.toString()??""),h=p?r:d,f=Math.max(n.length,1),S=`calc(${f}ch + 60px)`,$=t===void 0?S:typeof t=="number"?`${t}px`:t;P.useEffect(()=>{!c||p||g(b.get(l)?.toString()??"")},[p,l,b,c]);const C=v=>{if(!c)return;const x=new URLSearchParams(b.toString());v?(x.set(l,v),x.delete("page")):(x.delete(l),x.delete("page"));const k=x.toString();w.replace(k?`${y}?${k}`:y)},B=v=>{if(v.preventDefault(),u?.(h),s&&h.trim()){const x=document.querySelector(s);x&&x.focus()}};return e.jsxs("form",{className:`search-field ${a??""}`.trim(),noValidate:!0,onSubmit:B,children:[e.jsx("label",{className:"sr-only",htmlFor:o,children:"Search"}),e.jsxs("div",{className:"relative max-w-full",style:{width:$},children:[e.jsx(m.Icon,{name:"Magnifier","aria-hidden":!0,className:"absolute left-[15px] top-1/2 z-10 -translate-y-1/2 text-large leading-5 text-gray-5"}),e.jsx("input",{ref:N,className:"hide-search-clear block w-full max-w-full rounded-sm bg-white py-[11px] pl-[15px] pr-[40px] text-base leading-5 indent-[30px] outline-1 outline-gray-5 transition focus:outline-2 focus:outline-blue-4",style:{color:"#000000",WebkitTextFillColor:"#000000"},size:f,id:o,type:"search",autoComplete:"off",value:h,placeholder:n,onChange:v=>{const x=v.target.value;p||g(x),i?.(x),C(x)}}),h.length>0&&e.jsx("button",{type:"button","aria-label":"Clear search",className:"absolute right-1 top-1/2 z-10 inline-flex h-8 w-8 -translate-y-1/2 items-center justify-center rounded-lg p-2 text-gray-5 hover:text-neutral-5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-4",onClick:()=>{p||g(""),i?.(""),C(""),N.current?.focus()},children:e.jsx(m.Icon,{name:"Close"})})]})]})}function J({columns:n,rows:a,rowKey:t}){const r=P.useId();return e.jsxs("table",{className:"w-full table-auto border-y border-gray-2 text-gray-5",children:[e.jsx("thead",{className:"font-bold",children:e.jsx("tr",{children:n.map(i=>e.jsx("th",{id:`${r}-col-${i.key}`,scope:"col",className:`px-3 py-4 text-left leading-[23px] ${i.headerClassName??""}`.trim(),children:i.header},i.key))})}),e.jsx("tbody",{children:a.map((i,c)=>e.jsx("tr",{className:"border-t border-gray-2",children:n.map(o=>e.jsx("td",{headers:`${r}-col-${o.key}`,className:`${o.cellClassName??"px-3 py-4"}`.trim(),children:o.render(i)},o.key))},t(i,c)))})]})}exports.Button=m.Button;exports.Icon=m.Icon;exports.IconButton=T;exports.IconButtonGlyph=D;exports.Logo=U;exports.Pagination=_;exports.Search=H;exports.Table=J;exports.iconButtonSizes=L;exports.iconButtonStates=z;exports.iconButtonVariants=R;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./button-Ll9jO0kw.cjs"),e=require("react/jsx-runtime"),j=require("next/navigation"),P=require("react"),z=["default","danger","inverse","emphasize","decolor"],L=["md","sm","xs"],R=["primary","secondary","tertiary","ghost","outline"],F="inline-flex items-center justify-center rounded-lg cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-4 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",q={md:"h-8 w-8 p-0",sm:"h-7 w-7 p-0",xs:"h-6 w-6 p-0"},M={default:"text-gray-5 hover:text-neutral-5 transition-colors",danger:"text-red-4 hover:text-red-5",inverse:"text-white hover:text-gray-1",emphasize:"bg-white text-gray-5 hover:bg-gray-1 hover:text-neutral-5 focus-visible:bg-blue-1 focus-visible:text-blue-4 focus-visible:hover:bg-blue-2 focus-visible:hover:text-blue-5",decolor:"text-gray-5 hover:text-neutral-5 transition-colors"},O={ghost:"",outline:"border-2 border-gray-5"},V={default:"flex items-center gap-2 py-3 text-gray-5",danger:"flex items-center gap-2 py-3 text-red-4 hover:text-red-5",inverse:"flex items-center gap-2 py-3 text-white hover:text-gray-1",emphasize:"flex items-center gap-2 py-3 text-gray-5",decolor:"flex items-center gap-2 py-3 text-gray-5 hover:text-neutral-5"},G="inline-flex items-center justify-center gap-2";function I(n,a){return`${n==="xs"?"block h-5 w-5 shrink-0 leading-none":n==="sm"?"block h-4 w-4 shrink-0 text-base leading-none":"block h-6 w-6 shrink-0 text-2xl leading-none"} ${a??""}`.trim()}function A({className:n,size:a="md",state:t="default",variant:r="ghost"}){if(r==="primary"||r==="secondary"){const i=t==="emphasize"?"default":t;return`${m.getButtonClassName({className:G,variant:r,state:i})} ${n??""}`.trim()}return r==="tertiary"?`${V[t]} ${n??""}`.trim():`${F} ${q[a]} ${M[t]} ${O[r]} ${n??""}`.trim()}function E({children:n,icon:a,iconClassName:t,iconPosition:r="start",size:i="md",textClassName:c,variant:o="ghost"}){const l=a?e.jsx(m.Icon,{name:a,className:o==="ghost"||o==="outline"?I(i,t):o==="tertiary"?`h-5 w-5 shrink-0 ${t??""}`.trim():t}):null;if(o==="tertiary"){const s=n?e.jsx("span",{className:`font-semibold underline ${c??""}`.trim(),children:n}):null;return r==="end"?e.jsxs(e.Fragment,{children:[s,l]}):e.jsxs(e.Fragment,{children:[l,s]})}if(o==="primary"||o==="secondary"){const s=c?e.jsx("span",{className:c,children:n}):n;return l?s?r==="end"?e.jsxs(e.Fragment,{children:[s,l]}):e.jsxs(e.Fragment,{children:[l,s]}):l:s}return e.jsxs(e.Fragment,{children:[l,n]})}function T({children:n,icon:a,iconClassName:t,iconPosition:r="start",label:i,className:c,size:o="md",state:l="default",textClassName:s,type:u="button",variant:x="ghost",...y}){return e.jsx("button",{type:u,className:A({className:c,size:o,state:l,variant:x}),...y,"aria-label":i,children:E({children:n,icon:a,iconClassName:t,iconPosition:r,size:o,textClassName:s,variant:x})})}function D({name:n,size:a="md",className:t}){return e.jsx(m.Icon,{name:n,className:I(a,t)})}const Q=new Map([["black","/primary-badge-engine-logo-black.svg"],["white","/primary-badge-engine-logo-white.svg"],["color","/primary-badge-engine-logo-color.svg"]]);function U({variant:n="color",className:a}){const t=Q.get(n);return t===void 0?null:e.jsx("img",{src:t,width:186,height:36,alt:"Badge Engine",className:a})}function _({count:n,limit:a=10,pageParamKey:t="page"}){const r=j.useSearchParams(),i=j.usePathname(),c=j.useRouter(),o=r.get(t),l=o?Number.parseInt(o,10):Number.NaN,s=Number.isFinite(l)?l:1,u=Math.max(1,Math.ceil(n/a)),x=u<=7?Array.from({length:u},(d,g)=>g+1):s<=4?[1,2,3,4,5,"ellipsis",u]:s>=u-3?[1,"ellipsis",u-4,u-3,u-2,u-1,u]:[1,"ellipsis",s-1,s,s+1,"ellipsis",u],y=s===1,w=s===u,N=d=>{if(y&&d==="prev"||w&&d==="next")return;const g=d==="prev"?s-1:s+1,b=new URLSearchParams(r.toString());b.set(t,String(g)),c.push(`${i}?${b.toString()}`,{scroll:!1})},p=d=>{const g=new URLSearchParams(r.toString());g.set(t,String(d)),c.push(`${i}?${g.toString()}`,{scroll:!1})};return e.jsxs("ul",{className:"flex items-center justify-center gap-4 font-medium",children:[e.jsx("li",{className:"mr-2",children:e.jsx("button",{type:"button","aria-label":"Previous page",disabled:y,className:"inline-flex h-[42px] w-[42px] items-center justify-center rounded-[4px] bg-transparent p-[9px] text-gray-5 transition hover:bg-transparent hover:text-neutral-5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-4 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",onClick:()=>N("prev"),children:e.jsx(m.Icon,{name:"ArrowLineLeft"})})}),x.map((d,g)=>{const b=d==="ellipsis",f=b?void 0:d,$=f===s,S=b||$,C=b?"Pagination ellipsis":`Go to page ${f}`;return e.jsx("li",{children:e.jsx("button",{type:"button","aria-label":C,"aria-current":$?"page":void 0,disabled:S,className:`flex h-[36px] w-[36px] items-center justify-center rounded-[4px] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-4 ${$?"bg-blue-1 text-blue-4":""} ${S?"cursor-default":"cursor-pointer hover:bg-gray-1"}`.trim(),onClick:!S&&f?()=>p(f):void 0,children:b?"...":f})},`${d}-${g}`)}),e.jsx("li",{className:"ml-2",children:e.jsx("button",{type:"button","aria-label":"Next page",disabled:w,className:"inline-flex h-[42px] w-[42px] items-center justify-center rounded-[4px] bg-transparent p-[9px] text-gray-5 transition hover:bg-transparent hover:text-neutral-5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-4 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",onClick:()=>N("next"),children:e.jsx(m.Icon,{name:"ArrowLineRight"})})})]})}function H({placeholder:n,className:a,inputWidth:t,value:r,onChange:i,syncToUrl:c=!0,id:o="search",paramKey:l="s",firstResultSelector:s,onEnter:u}){const x=j.useSearchParams(),y=j.usePathname(),w=j.useRouter(),N=P.useRef(null),p=r!==void 0,[d,g]=P.useState(p?r:x.get(l)?.toString()??""),b=p?r:d,f=Math.max(n.length,1),$=`calc(${f}ch + 60px)`,S=t===void 0?$:typeof t=="number"?`${t}px`:t;P.useEffect(()=>{!c||p||g(x.get(l)?.toString()??"")},[p,l,x,c]);const C=v=>{if(!c)return;const h=new URLSearchParams(x.toString());v?(h.set(l,v),h.delete("page")):(h.delete(l),h.delete("page"));const k=h.toString();w.replace(k?`${y}?${k}`:y)},B=v=>{if(v.preventDefault(),u?.(b),s&&b.trim()){const h=document.querySelector(s);h&&h.focus()}};return e.jsxs("form",{className:`search-field ${a??""}`.trim(),noValidate:!0,onSubmit:B,children:[e.jsx("label",{className:"sr-only",htmlFor:o,children:"Search"}),e.jsxs("div",{className:"relative max-w-full",style:{width:S},children:[e.jsx(m.Icon,{name:"Magnifier","aria-hidden":!0,className:"absolute left-[15px] top-1/2 z-10 -translate-y-1/2 text-large leading-5 text-gray-5"}),e.jsx("input",{ref:N,className:"hide-search-clear block w-full max-w-full rounded-sm bg-white py-[11px] pl-[15px] pr-[40px] text-base leading-5 indent-[30px] outline-1 outline-gray-5 transition focus:outline-2 focus:outline-blue-4",style:{color:"#000000",WebkitTextFillColor:"#000000"},size:f,id:o,type:"search",autoComplete:"off",value:b,placeholder:n,onChange:v=>{const h=v.target.value;p||g(h),i?.(h),C(h)}}),b.length>0&&e.jsx("button",{type:"button","aria-label":"Clear search",className:"absolute right-1 top-1/2 z-10 inline-flex h-8 w-8 -translate-y-1/2 items-center justify-center rounded-lg p-2 text-gray-5 hover:text-neutral-5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-4",onClick:()=>{p||g(""),i?.(""),C(""),N.current?.focus()},children:e.jsx(m.Icon,{name:"Close"})})]})]})}function J({columns:n,rows:a,rowKey:t}){const r=P.useId();return e.jsxs("table",{className:"w-full table-auto border-y border-gray-2 text-gray-5",children:[e.jsx("thead",{className:"font-bold",children:e.jsx("tr",{children:n.map(i=>e.jsx("th",{id:`${r}-col-${i.key}`,scope:"col",className:`px-3 py-4 text-left leading-[23px] ${i.headerClassName??""}`.trim(),children:i.header},i.key))})}),e.jsx("tbody",{children:a.map((i,c)=>e.jsx("tr",{className:"border-t border-gray-2",children:n.map(o=>e.jsx("td",{headers:`${r}-col-${o.key}`,className:`${o.cellClassName??"px-3 py-4"}`.trim(),children:o.render(i)},o.key))},t(i,c)))})]})}exports.Button=m.Button;exports.Icon=m.Icon;exports.IconButton=T;exports.IconButtonGlyph=D;exports.Logo=U;exports.Pagination=_;exports.Search=H;exports.Table=J;exports.iconButtonSizes=L;exports.iconButtonStates=z;exports.iconButtonVariants=R;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ButtonHTMLAttributes } from 'react';
2
2
  import { ComponentPropsWithRef } from 'react';
3
3
  import { DPGIconName } from '@digitalpromise/icons';
4
- import { JSX } from 'react/jsx-runtime';
4
+ import { JSX } from 'react';
5
5
  import { ReactNode } from 'react';
6
6
 
7
7
  export declare function Button({ className, variant, state, ...props }: ButtonProps): JSX.Element;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { I as N, g as F } from "./icon-HNQCfScn.js";
3
- import { B as ce } from "./icon-HNQCfScn.js";
2
+ import { I as N, g as F } from "./button-VR8-3427.js";
3
+ import { B as ce } from "./button-VR8-3427.js";
4
4
  import { jsx as n, jsxs as h, Fragment as C } from "react/jsx-runtime";
5
5
  import { useSearchParams as I, usePathname as z, useRouter as L } from "next/navigation";
6
6
  import { useRef as M, useState as O, useEffect as V, useId as A } from "react";
package/dist/theme.css CHANGED
@@ -1 +1 @@
1
- @theme{--color-*: initial; --text-*: initial; --spacing-*: initial;}@theme{ --color-gray-1: #f4f4f4; --color-gray-2: #e6e6e6; --color-gray-3: #a3a3a3; --color-gray-4: #767676; --color-gray-5: #454545; --color-blue-1: #eaf4fb; --color-blue-2: #d5e8f5; --color-blue-3: #2077be; --color-blue-4: #1166aa; --color-blue-5: #075593; --color-indigo-1: #eef2f9; --color-indigo-2: #d9dff3; --color-indigo-3: #5770be; --color-indigo-4: #465faa; --color-indigo-5: #3a4f92; --color-purple-1: #f1eef6; --color-purple-2: #e4dcf0; --color-purple-3: #8164af; --color-purple-4: #72559f; --color-purple-5: #5e4586; --color-violet-1: #f5eef6; --color-violet-2: #ecddef; --color-violet-3: #9f57af; --color-violet-4: #8a4799; --color-violet-5: #713c7c; --color-magenta-1: #f6eef4; --color-magenta-2: #f0dce9; --color-magenta-3: #aa558e; --color-magenta-4: #8f4777; --color-magenta-5: #7d3c68; --color-red-1: #ffefea; --color-red-2: #fee0d7; --color-red-3: #cc4a22; --color-red-4: #bc3a11; --color-red-5: #a22a06; --color-orange-1: #fcf2e8; --color-orange-2: #fae3cb; --color-orange-3: #d46b00; --color-orange-4: #b55b00; --color-orange-5: #8c4500; --color-green-1: #f5f9eb; --color-green-2: #e6f1cd; --color-green-3: #69930d; --color-green-4: #577d04; --color-green-5: #426001; --color-jade-1: #eef7f1; --color-jade-2: #d4eadd; --color-jade-3: #299a55; --color-jade-4: #14833f; --color-jade-5: #07652c; --color-teal-1: #eaf8fb; --color-teal-2: #caeef4; --color-teal-3: #1692a9; --color-teal-4: #1a7b8d; --color-teal-5: #11606e; --color-neutral-1: #ffffff; --color-neutral-2: rgba(0, 0, 0, .08); --color-neutral-3: rgba(0, 0, 0, .15); --color-neutral-4: rgba(0, 0, 0, .45); --color-neutral-5: #000000; --color-primary: #1166aa; --color-primary-hover: #eaf4fb; --color-danger: #bc3a11; --color-danger-hover: #a22a06; --color-disabled: #a3a3a3; --color-focus: #14833f; --color-focus-outer: #ffffff; --text-small: .875rem; --text-medium: 1rem; --text-medium-large: 1.25rem; --text-large: 1.5rem; --text-x-large: 2rem; --text-xx-large: 3rem; --text-xxx-large: 4rem; --text-base: 1rem; --spacing-0: 0; --spacing-1: .25rem; --spacing-2: .5rem; --spacing-3: .75rem; --spacing-4: 1rem; --spacing-5: 1.5rem; --spacing-6: 2rem; --spacing-7: 3rem; --spacing-8: 4rem; --spacing-9: 5rem; --spacing-10: 6rem; --spacing-11: 15rem; --spacing-12: 22.5rem; }@source "./components";@source "./index.js";@source "./forms.js";@theme{ --color-focus: var(--color-jade-4); }@utility kb-focus{&:focus-visible {outline-width: 2px; outline-offset: 2px; outline-color: var(--color-focus); outline-style: solid;}}@layer components{.btn{@apply transition cursor-pointer font-semibold px-[1.375rem] py-[.625rem] rounded-3xl disabled:opacity-50;}.btn-primary{@apply bg-blue-3 border-2 border-blue-3 leading-5 text-neutral-1 hover:border-blue-4 hover:bg-blue-4 disabled:border-blue-3 disabled:bg-blue-3;}.btn-primary.btn-danger{@apply border-red-3 bg-red-3 text-neutral-1 hover:border-red-4 hover:bg-red-4;}.btn-primary.btn-inverse{@apply bg-neutral-1 text-blue-4 hover:bg-blue-1 hover:border-blue-5 hover:text-blue-5;}.btn-primary.btn-decolor{@apply border-gray-5 bg-gray-5 text-neutral-1 hover:border-neutral-5 hover:bg-neutral-5;}.btn-secondary{@apply bg-neutral-1 border-2 border-blue-3 text-blue-4 hover:border-blue-4 hover:bg-blue-1 hover:text-blue-5;}.btn-secondary.btn-danger{@apply border-red-3 text-red-3 hover:border-red-4 hover:text-red-4 hover:bg-red-1;}.btn-secondary.btn-inverse{@apply border-neutral-1 text-neutral-1 bg-indigo-3 hover:bg-indigo-4;}.btn-secondary.btn-decolor{@apply text-gray-5 border-gray-5 hover:text-neutral-5 hover:border-neutral-5 hover:bg-gray-1;}.btn-tertiary{@apply px-0 py-3 text-blue-4 underline hover:text-blue-5 rounded-none;}.btn-tertiary.btn-danger{@apply text-red-4 hover:text-red-5 rounded-none;}.btn-tertiary.btn-inverse{@apply text-neutral-1 hover:text-gray-1 rounded-none;}.btn-tertiary.btn-decolor{@apply text-gray-5 hover:text-neutral-5 rounded-none;}}@utility hide-search-clear{&::-webkit-search-cancel-button,&::-webkit-search-decoration {-webkit-appearance: none; appearance: none;} &::-ms-clear {display: none;}}.search-field input[type=search]::placeholder{color:#454545;-webkit-text-fill-color:#454545}.search-field>div>svg[aria-hidden=true]{left:15px!important}.search-field>div>input[type=search]{padding-left:47px!important;padding-right:48px!important;text-indent:0!important}.search-field>div>button[aria-label="Clear search"]{cursor:pointer;right:8px!important}button[aria-label="Previous page"]:not(:disabled),button[aria-label="Next page"]:not(:disabled){cursor:pointer}
1
+ @theme{--color-*: initial; --text-*: initial; --spacing-*: initial;}@theme{ --color-gray-1: #f4f4f4; --color-gray-2: #e6e6e6; --color-gray-3: #a3a3a3; --color-gray-4: #767676; --color-gray-5: #454545; --color-blue-1: #eaf4fb; --color-blue-2: #d5e8f5; --color-blue-3: #2077be; --color-blue-4: #1166aa; --color-blue-5: #075593; --color-indigo-1: #eef2f9; --color-indigo-2: #dee3f4; --color-indigo-3: #506ecc; --color-indigo-4: #415eb5; --color-indigo-5: #344e9e; --color-purple-1: #f1eef6; --color-purple-2: #e4dcf0; --color-purple-3: #865ec4; --color-purple-4: #754faf; --color-purple-5: #633f9c; --color-violet-1: #f5eef6; --color-violet-2: #ecddef; --color-violet-3: #9f57af; --color-violet-4: #8b479a; --color-violet-5: #71407c; --color-magenta-1: #f8eff6; --color-magenta-2: #f3deec; --color-magenta-3: #ae5390; --color-magenta-4: #98457d; --color-magenta-5: #84366b; --color-red-1: #ffefea; --color-red-2: #fee0d7; --color-red-3: #cc4a22; --color-red-4: #bc3a11; --color-red-5: #a22a06; --color-orange-1: #fcf2e8; --color-orange-2: #fae3cb; --color-orange-3: #d46b00; --color-orange-4: #b55b00; --color-orange-5: #8c4500; --color-green-1: #f5f9eb; --color-green-2: #e0edc4; --color-green-3: #69930d; --color-green-4: #577d04; --color-green-5: #426001; --color-jade-1: #ebf5ee; --color-jade-2: #d4eadd; --color-jade-3: #228844; --color-jade-4: #187437; --color-jade-5: #11622c; --color-teal-1: #e5f4f8; --color-teal-2: #caebf0; --color-teal-3: #088399; --color-teal-4: #096e81; --color-teal-5: #055d6d; --color-neutral-1: #ffffff; --color-neutral-2: rgba(0, 0, 0, .08); --color-neutral-3: rgba(0, 0, 0, .15); --color-neutral-4: rgba(0, 0, 0, .45); --color-neutral-5: #000000; --color-primary: #1166aa; --color-primary-hover: #eaf4fb; --color-danger: #bc3a11; --color-danger-hover: #a22a06; --color-disabled: #a3a3a3; --color-focus: #14833f; --color-focus-outer: #ffffff; --text-small: .875rem; --text-medium: 1rem; --text-medium-large: 1.25rem; --text-large: 1.5rem; --text-x-large: 2rem; --text-xx-large: 3rem; --text-xxx-large: 4rem; --text-base: 1rem; --spacing-0: 0; --spacing-1: .25rem; --spacing-2: .5rem; --spacing-3: .75rem; --spacing-4: 1rem; --spacing-5: 1.5rem; --spacing-6: 2rem; --spacing-7: 3rem; --spacing-8: 4rem; --spacing-9: 5rem; --spacing-10: 6rem; --spacing-11: 15rem; --spacing-12: 22.5rem; }@source "./components";@source "./index.js";@source "./forms.js";@theme{ --color-focus: var(--color-jade-4); }@utility kb-focus{&:focus-visible {outline-width: 2px; outline-offset: 2px; outline-color: var(--color-focus); outline-style: solid;}}@layer components{.btn{@apply transition cursor-pointer font-semibold px-[1.375rem] py-[.625rem] rounded-3xl disabled:opacity-50;}.btn-primary{@apply bg-blue-3 border-2 border-blue-3 leading-5 text-neutral-1 hover:border-blue-4 hover:bg-blue-4 disabled:border-blue-3 disabled:bg-blue-3;}.btn-primary.btn-danger{@apply border-red-3 bg-red-3 text-neutral-1 hover:border-red-4 hover:bg-red-4;}.btn-primary.btn-inverse{@apply bg-neutral-1 text-blue-4 hover:bg-blue-1 hover:border-blue-5 hover:text-blue-5;}.btn-primary.btn-decolor{@apply border-gray-5 bg-gray-5 text-neutral-1 hover:border-neutral-5 hover:bg-neutral-5;}.btn-secondary{@apply bg-neutral-1 border-2 border-blue-3 text-blue-4 hover:border-blue-4 hover:bg-blue-1 hover:text-blue-5;}.btn-secondary.btn-danger{@apply border-red-3 text-red-3 hover:border-red-4 hover:text-red-4 hover:bg-red-1;}.btn-secondary.btn-inverse{@apply border-neutral-1 text-neutral-1 bg-indigo-3 hover:bg-indigo-4;}.btn-secondary.btn-decolor{@apply text-gray-5 border-gray-5 hover:text-neutral-5 hover:border-neutral-5 hover:bg-gray-1;}.btn-tertiary{@apply px-0 py-3 text-blue-4 underline hover:text-blue-5 rounded-none;}.btn-tertiary.btn-danger{@apply text-red-4 hover:text-red-5 rounded-none;}.btn-tertiary.btn-inverse{@apply text-neutral-1 hover:text-gray-1 rounded-none;}.btn-tertiary.btn-decolor{@apply text-gray-5 hover:text-neutral-5 rounded-none;}}@utility hide-search-clear{&::-webkit-search-cancel-button,&::-webkit-search-decoration {-webkit-appearance: none; appearance: none;} &::-ms-clear {display: none;}}.search-field input[type=search]::placeholder{color:#454545;-webkit-text-fill-color:#454545}.search-field>div>svg[aria-hidden=true]{left:15px!important}.search-field>div>input[type=search]{padding-left:47px!important;padding-right:48px!important;text-indent:0!important}.search-field>div>button[aria-label="Clear search"]{cursor:pointer;right:8px!important}button[aria-label="Previous page"]:not(:disabled),button[aria-label="Next page"]:not(:disabled){cursor:pointer}
package/dist/tokens.js CHANGED
@@ -220,12 +220,12 @@ module.exports = {
220
220
  },
221
221
  2: {
222
222
  key: "{color.indigo.2}",
223
- $value: "#d9dff3",
223
+ $value: "#dee3f4",
224
224
  filePath: "tokens/color/base.json",
225
225
  isSource: true,
226
226
  $type: "color",
227
227
  original: {
228
- $value: "#D9DFF3",
228
+ $value: "#DEE3F4",
229
229
  $type: "color",
230
230
  key: "{color.indigo.2}",
231
231
  },
@@ -239,12 +239,12 @@ module.exports = {
239
239
  },
240
240
  3: {
241
241
  key: "{color.indigo.3}",
242
- $value: "#5770be",
242
+ $value: "#506ecc",
243
243
  filePath: "tokens/color/base.json",
244
244
  isSource: true,
245
245
  $type: "color",
246
246
  original: {
247
- $value: "#5770BE",
247
+ $value: "#506ECC",
248
248
  $type: "color",
249
249
  key: "{color.indigo.3}",
250
250
  },
@@ -258,12 +258,12 @@ module.exports = {
258
258
  },
259
259
  4: {
260
260
  key: "{color.indigo.4}",
261
- $value: "#465faa",
261
+ $value: "#415eb5",
262
262
  filePath: "tokens/color/base.json",
263
263
  isSource: true,
264
264
  $type: "color",
265
265
  original: {
266
- $value: "#465FAA",
266
+ $value: "#415EB5",
267
267
  $type: "color",
268
268
  key: "{color.indigo.4}",
269
269
  },
@@ -277,12 +277,12 @@ module.exports = {
277
277
  },
278
278
  5: {
279
279
  key: "{color.indigo.5}",
280
- $value: "#3a4f92",
280
+ $value: "#344e9e",
281
281
  filePath: "tokens/color/base.json",
282
282
  isSource: true,
283
283
  $type: "color",
284
284
  original: {
285
- $value: "#3A4F92",
285
+ $value: "#344E9E",
286
286
  $type: "color",
287
287
  key: "{color.indigo.5}",
288
288
  },
@@ -336,12 +336,12 @@ module.exports = {
336
336
  },
337
337
  3: {
338
338
  key: "{color.purple.3}",
339
- $value: "#8164af",
339
+ $value: "#865ec4",
340
340
  filePath: "tokens/color/base.json",
341
341
  isSource: true,
342
342
  $type: "color",
343
343
  original: {
344
- $value: "#8164AF",
344
+ $value: "#865EC4",
345
345
  $type: "color",
346
346
  key: "{color.purple.3}",
347
347
  },
@@ -355,12 +355,12 @@ module.exports = {
355
355
  },
356
356
  4: {
357
357
  key: "{color.purple.4}",
358
- $value: "#72559f",
358
+ $value: "#754faf",
359
359
  filePath: "tokens/color/base.json",
360
360
  isSource: true,
361
361
  $type: "color",
362
362
  original: {
363
- $value: "#72559F",
363
+ $value: "#754FAF",
364
364
  $type: "color",
365
365
  key: "{color.purple.4}",
366
366
  },
@@ -374,12 +374,12 @@ module.exports = {
374
374
  },
375
375
  5: {
376
376
  key: "{color.purple.5}",
377
- $value: "#5e4586",
377
+ $value: "#633f9c",
378
378
  filePath: "tokens/color/base.json",
379
379
  isSource: true,
380
380
  $type: "color",
381
381
  original: {
382
- $value: "#5E4586",
382
+ $value: "#633F9C",
383
383
  $type: "color",
384
384
  key: "{color.purple.5}",
385
385
  },
@@ -452,12 +452,12 @@ module.exports = {
452
452
  },
453
453
  4: {
454
454
  key: "{color.violet.4}",
455
- $value: "#8a4799",
455
+ $value: "#8b479a",
456
456
  filePath: "tokens/color/base.json",
457
457
  isSource: true,
458
458
  $type: "color",
459
459
  original: {
460
- $value: "#8A4799",
460
+ $value: "#8B479A",
461
461
  $type: "color",
462
462
  key: "{color.violet.4}",
463
463
  },
@@ -471,12 +471,12 @@ module.exports = {
471
471
  },
472
472
  5: {
473
473
  key: "{color.violet.5}",
474
- $value: "#713c7c",
474
+ $value: "#71407c",
475
475
  filePath: "tokens/color/base.json",
476
476
  isSource: true,
477
477
  $type: "color",
478
478
  original: {
479
- $value: "#713C7C",
479
+ $value: "#71407C",
480
480
  $type: "color",
481
481
  key: "{color.violet.5}",
482
482
  },
@@ -492,12 +492,12 @@ module.exports = {
492
492
  magenta: {
493
493
  1: {
494
494
  key: "{color.magenta.1}",
495
- $value: "#f6eef4",
495
+ $value: "#f8eff6",
496
496
  filePath: "tokens/color/base.json",
497
497
  isSource: true,
498
498
  $type: "color",
499
499
  original: {
500
- $value: "#F6EEF4",
500
+ $value: "#F8EFF6",
501
501
  $type: "color",
502
502
  key: "{color.magenta.1}",
503
503
  },
@@ -511,12 +511,12 @@ module.exports = {
511
511
  },
512
512
  2: {
513
513
  key: "{color.magenta.2}",
514
- $value: "#f0dce9",
514
+ $value: "#f3deec",
515
515
  filePath: "tokens/color/base.json",
516
516
  isSource: true,
517
517
  $type: "color",
518
518
  original: {
519
- $value: "#F0DCE9",
519
+ $value: "#F3DEEC",
520
520
  $type: "color",
521
521
  key: "{color.magenta.2}",
522
522
  },
@@ -530,12 +530,12 @@ module.exports = {
530
530
  },
531
531
  3: {
532
532
  key: "{color.magenta.3}",
533
- $value: "#aa558e",
533
+ $value: "#ae5390",
534
534
  filePath: "tokens/color/base.json",
535
535
  isSource: true,
536
536
  $type: "color",
537
537
  original: {
538
- $value: "#AA558E",
538
+ $value: "#AE5390",
539
539
  $type: "color",
540
540
  key: "{color.magenta.3}",
541
541
  },
@@ -549,12 +549,12 @@ module.exports = {
549
549
  },
550
550
  4: {
551
551
  key: "{color.magenta.4}",
552
- $value: "#8f4777",
552
+ $value: "#98457d",
553
553
  filePath: "tokens/color/base.json",
554
554
  isSource: true,
555
555
  $type: "color",
556
556
  original: {
557
- $value: "#8F4777",
557
+ $value: "#98457D",
558
558
  $type: "color",
559
559
  key: "{color.magenta.4}",
560
560
  },
@@ -568,12 +568,12 @@ module.exports = {
568
568
  },
569
569
  5: {
570
570
  key: "{color.magenta.5}",
571
- $value: "#7d3c68",
571
+ $value: "#84366b",
572
572
  filePath: "tokens/color/base.json",
573
573
  isSource: true,
574
574
  $type: "color",
575
575
  original: {
576
- $value: "#7D3C68",
576
+ $value: "#84366B",
577
577
  $type: "color",
578
578
  key: "{color.magenta.5}",
579
579
  },
@@ -802,12 +802,12 @@ module.exports = {
802
802
  },
803
803
  2: {
804
804
  key: "{color.green.2}",
805
- $value: "#e6f1cd",
805
+ $value: "#e0edc4",
806
806
  filePath: "tokens/color/base.json",
807
807
  isSource: true,
808
808
  $type: "color",
809
809
  original: {
810
- $value: "#E6F1CD",
810
+ $value: "#E0EDC4",
811
811
  $type: "color",
812
812
  key: "{color.green.2}",
813
813
  },
@@ -880,12 +880,12 @@ module.exports = {
880
880
  jade: {
881
881
  1: {
882
882
  key: "{color.jade.1}",
883
- $value: "#eef7f1",
883
+ $value: "#ebf5ee",
884
884
  filePath: "tokens/color/base.json",
885
885
  isSource: true,
886
886
  $type: "color",
887
887
  original: {
888
- $value: "#EEF7F1",
888
+ $value: "#EBF5EE",
889
889
  $type: "color",
890
890
  key: "{color.jade.1}",
891
891
  },
@@ -918,12 +918,12 @@ module.exports = {
918
918
  },
919
919
  3: {
920
920
  key: "{color.jade.3}",
921
- $value: "#299a55",
921
+ $value: "#228844",
922
922
  filePath: "tokens/color/base.json",
923
923
  isSource: true,
924
924
  $type: "color",
925
925
  original: {
926
- $value: "#299A55",
926
+ $value: "#228844",
927
927
  $type: "color",
928
928
  key: "{color.jade.3}",
929
929
  },
@@ -937,12 +937,12 @@ module.exports = {
937
937
  },
938
938
  4: {
939
939
  key: "{color.jade.4}",
940
- $value: "#14833f",
940
+ $value: "#187437",
941
941
  filePath: "tokens/color/base.json",
942
942
  isSource: true,
943
943
  $type: "color",
944
944
  original: {
945
- $value: "#14833F",
945
+ $value: "#187437",
946
946
  $type: "color",
947
947
  key: "{color.jade.4}",
948
948
  },
@@ -956,12 +956,12 @@ module.exports = {
956
956
  },
957
957
  5: {
958
958
  key: "{color.jade.5}",
959
- $value: "#07652c",
959
+ $value: "#11622c",
960
960
  filePath: "tokens/color/base.json",
961
961
  isSource: true,
962
962
  $type: "color",
963
963
  original: {
964
- $value: "#07652C",
964
+ $value: "#11622C",
965
965
  $type: "color",
966
966
  key: "{color.jade.5}",
967
967
  },
@@ -977,12 +977,12 @@ module.exports = {
977
977
  teal: {
978
978
  1: {
979
979
  key: "{color.teal.1}",
980
- $value: "#eaf8fb",
980
+ $value: "#e5f4f8",
981
981
  filePath: "tokens/color/base.json",
982
982
  isSource: true,
983
983
  $type: "color",
984
984
  original: {
985
- $value: "#EAF8FB",
985
+ $value: "#E5F4F8",
986
986
  $type: "color",
987
987
  key: "{color.teal.1}",
988
988
  },
@@ -996,12 +996,12 @@ module.exports = {
996
996
  },
997
997
  2: {
998
998
  key: "{color.teal.2}",
999
- $value: "#caeef4",
999
+ $value: "#caebf0",
1000
1000
  filePath: "tokens/color/base.json",
1001
1001
  isSource: true,
1002
1002
  $type: "color",
1003
1003
  original: {
1004
- $value: "#CAEEF4",
1004
+ $value: "#CAEBF0",
1005
1005
  $type: "color",
1006
1006
  key: "{color.teal.2}",
1007
1007
  },
@@ -1015,12 +1015,12 @@ module.exports = {
1015
1015
  },
1016
1016
  3: {
1017
1017
  key: "{color.teal.3}",
1018
- $value: "#1692a9",
1018
+ $value: "#088399",
1019
1019
  filePath: "tokens/color/base.json",
1020
1020
  isSource: true,
1021
1021
  $type: "color",
1022
1022
  original: {
1023
- $value: "#1692A9",
1023
+ $value: "#088399",
1024
1024
  $type: "color",
1025
1025
  key: "{color.teal.3}",
1026
1026
  },
@@ -1034,12 +1034,12 @@ module.exports = {
1034
1034
  },
1035
1035
  4: {
1036
1036
  key: "{color.teal.4}",
1037
- $value: "#1a7b8d",
1037
+ $value: "#096e81",
1038
1038
  filePath: "tokens/color/base.json",
1039
1039
  isSource: true,
1040
1040
  $type: "color",
1041
1041
  original: {
1042
- $value: "#1A7B8D",
1042
+ $value: "#096E81",
1043
1043
  $type: "color",
1044
1044
  key: "{color.teal.4}",
1045
1045
  },
@@ -1053,12 +1053,12 @@ module.exports = {
1053
1053
  },
1054
1054
  5: {
1055
1055
  key: "{color.teal.5}",
1056
- $value: "#11606e",
1056
+ $value: "#055d6d",
1057
1057
  filePath: "tokens/color/base.json",
1058
1058
  isSource: true,
1059
1059
  $type: "color",
1060
1060
  original: {
1061
- $value: "#11606E",
1061
+ $value: "#055D6D",
1062
1062
  $type: "color",
1063
1063
  key: "{color.teal.5}",
1064
1064
  },
@@ -1458,7 +1458,7 @@ module.exports = {
1458
1458
  spacing: {
1459
1459
  0: {
1460
1460
  key: "{spacing.0}",
1461
- $value: 0,
1461
+ $value: "0",
1462
1462
  filePath: "tokens/size/spacing.json",
1463
1463
  isSource: true,
1464
1464
  $type: "dimension",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@digitalpromise/design",
3
3
  "private": false,
4
- "version": "4.12.0",
4
+ "version": "4.13.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "exports": {
@@ -14,38 +14,38 @@
14
14
  "dist"
15
15
  ],
16
16
  "devDependencies": {
17
- "@chromatic-com/storybook": "^5.1.2",
18
- "@digitalpromise/icons": "^3.3.0",
17
+ "@chromatic-com/storybook": "^5.2.1",
18
+ "@digitalpromise/icons": "^3.4.0",
19
19
  "@eslint/js": "^10.0.1",
20
- "@microsoft/api-extractor": "^7.58.7",
21
- "@storybook/addon-docs": "^10.3.5",
22
- "@storybook/addon-links": "^10.3.5",
23
- "@storybook/react-vite": "^10.3.5",
24
- "@tailwindcss/vite": "^4.2.4",
20
+ "@microsoft/api-extractor": "^7.58.9",
21
+ "@storybook/addon-docs": "^10.5.0",
22
+ "@storybook/addon-links": "^10.5.0",
23
+ "@storybook/react-vite": "^10.5.0",
24
+ "@tailwindcss/vite": "^4.3.2",
25
25
  "@testing-library/jest-dom": "^6.9.1",
26
26
  "@testing-library/react": "^16.3.2",
27
27
  "@types/jest": "^30.0.0",
28
- "@types/react": "^19.2.14",
28
+ "@types/react": "^19.2.17",
29
29
  "@types/react-dom": "^19.2.3",
30
- "@typescript-eslint/eslint-plugin": "^8.59.1",
31
- "@typescript-eslint/parser": "^8.59.1",
32
- "@vitejs/plugin-react-swc": "^4.3.0",
33
- "eslint": "^9.39.4",
30
+ "@typescript-eslint/eslint-plugin": "^8.64.0",
31
+ "@typescript-eslint/parser": "^8.64.0",
32
+ "@vitejs/plugin-react-swc": "^4.3.1",
33
+ "eslint": "^9.39.5",
34
34
  "eslint-plugin-react-hooks": "^7.1.1",
35
- "eslint-plugin-storybook": "^10.3.5",
35
+ "eslint-plugin-storybook": "^10.5.0",
36
36
  "jsdom": "^28.1.0",
37
- "react": "^19.2.5",
38
- "react-dom": "^19.2.5",
37
+ "react": "^19.2.7",
38
+ "react-dom": "^19.2.7",
39
39
  "react-select": "^5.10.2",
40
40
  "rollup-preserve-directives": "^1.1.3",
41
- "storybook": "^10.3.5",
42
- "style-dictionary": "^5.4.0",
43
- "tailwindcss": "^4.2.4",
41
+ "storybook": "^10.5.0",
42
+ "style-dictionary": "^5.5.0",
43
+ "tailwindcss": "^4.3.2",
44
44
  "typescript": "^5.9.3",
45
- "typescript-eslint": "^8.59.1",
45
+ "typescript-eslint": "^8.64.0",
46
46
  "unplugin-dts": "1.0.0-beta.6",
47
- "vite": "^7.3.2",
48
- "vitest": "^4.1.5"
47
+ "vite": "^7.3.6",
48
+ "vitest": "^4.1.10"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "next": "^16.0.0",