@okam/stack-ui 1.44.4 → 1.44.5
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/components/Accordion/components/AccordionItem.d.ts +2 -2
- package/components/Alerts/components/AlertsCloseButton.d.ts +2 -2
- package/components/Alerts/interface.d.ts +3 -3
- package/components/Box/index.d.ts +2 -2
- package/components/Box/interface.d.ts +2 -2
- package/components/Button/index.d.ts +3 -3
- package/components/Button/interface.d.ts +2 -3
- package/components/Carousel/index.d.ts +2 -2
- package/components/Carousel/navigation/LegacyCarouselNavigationButton.d.ts +2 -2
- package/components/Icon/interface.d.ts +3 -4
- package/components/Lightbox/interface.d.ts +3 -4
- package/components/Menu/interface.d.ts +10 -10
- package/components/Modal/interface.d.ts +3 -4
- package/components/Node/index.d.ts +2 -2
- package/components/PrintButton/interface.d.ts +2 -2
- package/components/ShareButton/interface.d.ts +3 -3
- package/components/SidePanel/interface.d.ts +3 -4
- package/components/TabList/components/TabItem.d.ts +2 -2
- package/components/TabList/interface.d.ts +2 -3
- package/components/TagGroup/components/TagItem.d.ts +2 -2
- package/components/Typography/index.d.ts +2 -2
- package/components/Typography/interface.d.ts +2 -2
- package/components/fields/Checkbox/Checkbox.interface.d.ts +2 -2
- package/components/fields/CheckboxGroup/interface.d.ts +2 -2
- package/components/fields/ComboBox/hooks/useComboBoxFiltering.d.ts +4 -4
- package/components/fields/DatePicker/interface.d.ts +1 -2
- package/components/fields/Radio/Radio.interface.d.ts +2 -2
- package/components/fields/RadioGroup/interface.d.ts +2 -2
- package/components/fields/SearchField/interface.d.ts +3 -3
- package/components/fields/Select/Select.interface.d.ts +2 -3
- package/components/fields/Select/components/Listbox.interface.d.ts +2 -2
- package/components/fields/Select/components/Popover.interface.d.ts +4 -4
- package/components/icons/ArrowDown.d.ts +3 -3
- package/components/icons/ArrowLeft.d.ts +3 -3
- package/components/icons/ArrowRight.d.ts +3 -3
- package/components/icons/Check.d.ts +3 -3
- package/components/icons/ChevronLeft.d.ts +3 -3
- package/components/icons/ChevronRight.d.ts +3 -3
- package/components/icons/CloseBtn.d.ts +3 -3
- package/components/icons/ErrorIcon.d.ts +3 -3
- package/components/icons/Facebook.d.ts +3 -3
- package/components/icons/FacebookColored.d.ts +3 -3
- package/components/icons/FacebookRounded.d.ts +3 -3
- package/components/icons/Globe.d.ts +3 -3
- package/components/icons/IconFallback.d.ts +3 -3
- package/components/icons/Instagram.d.ts +3 -3
- package/components/icons/InstagramColored.d.ts +3 -3
- package/components/icons/Link.d.ts +3 -3
- package/components/icons/LinkedIn.d.ts +3 -3
- package/components/icons/Mail.d.ts +3 -3
- package/components/icons/Plus.d.ts +3 -3
- package/components/icons/Print.d.ts +3 -3
- package/components/icons/Search.d.ts +3 -3
- package/components/icons/Share.d.ts +3 -3
- package/components/icons/Twitter.d.ts +3 -3
- package/components/icons/TwitterColored.d.ts +3 -3
- package/components/icons/Upload.d.ts +3 -3
- package/components/icons/X.d.ts +3 -3
- package/components/icons/YouTube.d.ts +3 -3
- package/components/icons/YouTubeColored.d.ts +3 -3
- package/index10.js +1 -1
- package/index100.js +1 -1
- package/index102.js +1 -1
- package/index103.js +1 -1
- package/index104.js +1 -1
- package/index107.js +1 -1
- package/index108.js +1 -1
- package/index109.js +1 -1
- package/index111.js +1 -1
- package/index116.js +1 -1
- package/index117.js +1 -1
- package/index119.js +1 -1
- package/index13.js +1 -1
- package/index131.js +1 -1
- package/index131.mjs +10 -10
- package/index132.js +1 -1
- package/index132.mjs +8 -8
- package/index141.js +1 -1
- package/index171.js +1 -1
- package/index29.js +1 -1
- package/index3.js +1 -1
- package/index3.mjs +8 -8
- package/index33.js +1 -1
- package/index33.mjs +6 -7
- package/index34.js +1 -1
- package/index35.js +1 -1
- package/index35.mjs +10 -10
- package/index36.js +1 -1
- package/index37.js +1 -1
- package/index38.js +1 -1
- package/index40.js +1 -1
- package/index43.js +1 -1
- package/index43.mjs +29 -30
- package/index44.js +1 -1
- package/index48.js +1 -1
- package/index48.mjs +4 -5
- package/index5.js +1 -1
- package/index50.js +1 -1
- package/index50.mjs +11 -12
- package/index56.js +1 -1
- package/index6.js +1 -1
- package/index6.mjs +15 -15
- package/index68.js +1 -1
- package/index69.js +1 -1
- package/index70.js +1 -1
- package/index70.mjs +11 -11
- package/index73.js +1 -1
- package/index73.mjs +11 -11
- package/index82.js +1 -1
- package/index83.js +1 -1
- package/index86.js +1 -1
- package/index87.js +1 -1
- package/index87.mjs +16 -17
- package/index9.js +1 -1
- package/index91.js +1 -1
- package/index91.mjs +18 -18
- package/index98.js +1 -1
- package/index99.js +1 -1
- package/package.json +2 -2
- package/providers/CheckboxGroup/interface.d.ts +2 -2
- package/providers/Client/interface.d.ts +2 -2
- package/providers/Menu/interface.d.ts +11 -11
- package/providers/SidePanel/interface.d.ts +5 -6
- package/providers/Theme/index.d.ts +3 -3
- package/providers/Theme/interface.d.ts +2 -2
- package/providers/UserSearchQuery/interface.d.ts +2 -3
- package/storybook/Menu/Menu.d.ts +6 -7
- package/theme/index.d.ts +2 -3
- package/types/components.d.ts +4 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare function SvgComponent(props:
|
|
3
|
-
declare const FacebookRounded:
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
declare function SvgComponent(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const FacebookRounded: import('react').MemoExoticComponent<typeof SvgComponent>;
|
|
4
4
|
export default FacebookRounded;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare function SvgComponent(props:
|
|
3
|
-
declare const Globe:
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
declare function SvgComponent(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const Globe: import('react').MemoExoticComponent<typeof SvgComponent>;
|
|
4
4
|
export default Globe;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare function SvgComponent(props:
|
|
3
|
-
declare const Fallback:
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
declare function SvgComponent(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const Fallback: import('react').MemoExoticComponent<typeof SvgComponent>;
|
|
4
4
|
export default Fallback;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare function SvgComponent(props:
|
|
3
|
-
declare const Instagram:
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
declare function SvgComponent(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const Instagram: import('react').MemoExoticComponent<typeof SvgComponent>;
|
|
4
4
|
export default Instagram;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare function SvgComponent(props:
|
|
3
|
-
declare const InstagramColored:
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
declare function SvgComponent(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const InstagramColored: import('react').MemoExoticComponent<typeof SvgComponent>;
|
|
4
4
|
export default InstagramColored;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare function SvgComponent(props:
|
|
3
|
-
declare const Link:
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
declare function SvgComponent(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const Link: import('react').MemoExoticComponent<typeof SvgComponent>;
|
|
4
4
|
export default Link;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare function SvgComponent(props:
|
|
3
|
-
declare const LinkedIn:
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
declare function SvgComponent(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const LinkedIn: import('react').MemoExoticComponent<typeof SvgComponent>;
|
|
4
4
|
export default LinkedIn;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare function SvgComponent(props:
|
|
3
|
-
declare const Mail:
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
declare function SvgComponent(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const Mail: import('react').MemoExoticComponent<typeof SvgComponent>;
|
|
4
4
|
export default Mail;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare function SvgComponent(props:
|
|
3
|
-
declare const Plus:
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
declare function SvgComponent(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const Plus: import('react').MemoExoticComponent<typeof SvgComponent>;
|
|
4
4
|
export default Plus;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare function SvgComponent(props:
|
|
3
|
-
declare const Print:
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
declare function SvgComponent(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const Print: import('react').MemoExoticComponent<typeof SvgComponent>;
|
|
4
4
|
export default Print;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare function SvgComponent(props:
|
|
3
|
-
declare const Search:
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
declare function SvgComponent(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const Search: import('react').MemoExoticComponent<typeof SvgComponent>;
|
|
4
4
|
export default Search;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare function SvgComponent(props:
|
|
3
|
-
declare const Share:
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
declare function SvgComponent(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const Share: import('react').MemoExoticComponent<typeof SvgComponent>;
|
|
4
4
|
export default Share;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare function SvgComponent(props:
|
|
3
|
-
declare const Twitter:
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
declare function SvgComponent(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const Twitter: import('react').MemoExoticComponent<typeof SvgComponent>;
|
|
4
4
|
export default Twitter;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare function SvgComponent(props:
|
|
3
|
-
declare const TwitterColored:
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
declare function SvgComponent(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const TwitterColored: import('react').MemoExoticComponent<typeof SvgComponent>;
|
|
4
4
|
export default TwitterColored;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare function SvgComponent(props:
|
|
3
|
-
declare const Upload:
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
declare function SvgComponent(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const Upload: import('react').MemoExoticComponent<typeof SvgComponent>;
|
|
4
4
|
export default Upload;
|
package/components/icons/X.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare function SvgComponent(props:
|
|
3
|
-
declare const X:
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
declare function SvgComponent(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const X: import('react').MemoExoticComponent<typeof SvgComponent>;
|
|
4
4
|
export default X;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare function SvgComponent(props:
|
|
3
|
-
declare const YouTube:
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
declare function SvgComponent(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const YouTube: import('react').MemoExoticComponent<typeof SvgComponent>;
|
|
4
4
|
export default YouTube;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare function SvgComponent(props:
|
|
3
|
-
declare const YouTubeColored:
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
declare function SvgComponent(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const YouTubeColored: import('react').MemoExoticComponent<typeof SvgComponent>;
|
|
4
4
|
export default YouTubeColored;
|
package/index10.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";const n=require("react/jsx-runtime"),B=require("@internationalized/date"),N=require("react"),o=require("react-aria"),f=require("react-stately"),c=require("./index7.js"),y=require("./index74.js"),P=require("./index122.js"),$=require("./index123.js");function v(i){const{buttons:u,tokens:l,customTheme:d,themeName:e="calendar",gridProps:x,...
|
|
2
|
+
"use strict";const n=require("react/jsx-runtime"),B=require("@internationalized/date"),N=require("react"),o=require("react-aria"),f=require("react-stately"),c=require("./index7.js"),y=require("./index74.js"),P=require("./index122.js"),$=require("./index123.js");function v(i){const{buttons:u,tokens:l,customTheme:d,themeName:e="calendar",gridProps:x,...s}=i,{locale:h}=o.useLocale(),r=f.useRangeCalendarState({...s,locale:h,createCalendar:B.createCalendar}),{isDisabled:m,isReadOnly:p,isValueInvalid:q,isFocused:k}=r,a=N.useRef(null),{calendarProps:R,prevButtonProps:g,nextButtonProps:j,title:C}=o.useRangeCalendar({...s},r,a),t={isDisabled:m,isReadOnly:p,isValueInvalid:q,isFocused:k,...l};return n.jsxs(c.BoxWithForwardRef,{...R,ref:a,themeName:`${e}.container`,tokens:t,customTheme:d,children:[n.jsxs(c.Box,{themeName:`${e}.header`,tokens:t,children:[n.jsx(y.Typography,{as:"p",themeName:`${e}.title`,tokens:t,children:C}),n.jsx($,{themeName:e,tokens:t,buttons:u,prevButtonProps:g,nextButtonProps:j})]}),n.jsx(P,{...x,state:r,themeName:e,tokens:t})]})}module.exports=v;
|
package/index100.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),t=require("radashi"),o=require("react");function s(e){return r.jsx("svg",{width:24,height:24,fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:r.jsx("path",{d:"M9.161 5.889v2.753H7V12h2.161v10h4.442V12h2.977s.28-1.614.417-3.38h-3.379V6.316a.963.963 0 0 1 .332-.558c.174-.146.396-.233.63-.248H17V2h-3.275C9.063 2 9.173 5.37 9.173 5.889h-.012Z",fill:"currentColor"})})}const i=o.memo(s,t.isEqual);module.exports=i;
|
package/index102.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),n=require("radashi"),t=require("react");function
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),n=require("radashi"),t=require("react");function r(o){return e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,viewBox:"0 0 24 25",fill:"none",...o,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 12.5001C2 17.4501 5.6 21.5501 10.35 22.4001L10.4094 22.3515C10.4063 22.3509 10.4032 22.3503 10.4001 22.3498V15.2998H7.90015V12.4998H10.4001V10.2998C10.4001 7.79978 12.0001 6.39978 14.3001 6.39978C15.0001 6.39978 15.8001 6.49978 16.5001 6.59978V9.14978H15.2001C14.0001 9.14978 13.7001 9.74978 13.7001 10.5498V12.4998H16.3501L15.9001 15.2998H13.7001V22.3498C13.6696 22.3553 13.639 22.3608 13.6084 22.366L13.65 22.4001C18.4 21.5501 22 17.4501 22 12.5001C22 7.00006 17.5 2.50006 12 2.50006C6.5 2.50006 2 7.00006 2 12.5001Z",fill:"currentColor"})})}const i=t.memo(r,n.isEqual);module.exports=i;
|
package/index103.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),e=require("radashi"),t=require("react");function n(o){return r.jsxs("svg",{width:"40",height:"40",viewBox:"0 0 67 67",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[r.jsx("path",{d:"M16.1339 8.5415C18.1397 10.0645 19.8152 11.9792 21.0587 14.1693C22.2848 16.2537 25.064 22.0491 22.5341 25.3227C19.6732 29.0215 11.3848 30.2721 11.3848 33.6807C11.3848 36.2473 15.0181 39.1736 16.9594 42.0386C18.0736 43.6842 18.6691 45.626 18.6691 47.6133C18.6691 49.6006 18.0736 51.5423 16.9594 53.1879C16.0541 54.6088 14.817 55.7884 13.3547 56.6251",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"}),r.jsx("path",{d:"M57.8289 14.8058C52.7905 17.106 47.4837 18.766 42.0327 19.747C39.1227 19.9555 38.6895 17.5605 36.4621 14.1724C34.7905 11.6302 30.8874 8.45055 30.8874 5.81443C30.8648 4.90303 30.9876 3.99386 31.2511 3.12109",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"}),r.jsx("path",{d:"M33.6799 64.3334C50.6088 64.3334 64.3324 50.6098 64.3324 33.6809C64.3324 16.7519 50.6088 3.02832 33.6799 3.02832C16.751 3.02832 3.02734 16.7519 3.02734 33.6809C3.02734 50.6098 16.751 64.3334 33.6799 64.3334Z",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"}),r.jsx("path",{d:"M53.2225 36.1983C53.341 44.781 42.1549 55.5094 36.4658 53.188C31.4796 51.1445 34.9944 47.2291 33.7193 36.1983C33.188 31.6127 38.0842 27.8404 43.4872 27.8404C45.8806 27.6839 48.24 28.4711 50.0597 30.0335C51.8795 31.5958 53.2225 32.8948 53.2225 36.1983Z",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"})]})}const s=t.memo(n,e.isEqual);module.exports=s;
|
package/index104.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),t=require("radashi"),
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),t=require("radashi"),r=require("react");function c(e){return s.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...e,children:s.jsxs("g",{fill:"currentColor",strokeMiterlimit:"10",strokeWidth:"0",children:[s.jsx("path",{d:"M253.5 75.7a92.8 92.8 0 0 0-5.8-30.7A62 62 0 0 0 233 22.6 62 62 0 0 0 210.7 8c-8-3-17.2-5.2-30.7-5.8-13.5-.6-17.8-.8-52.1-.8s-38.7.2-52.2.8A92.8 92.8 0 0 0 45 8c-8.4 3.2-16 8.2-22.4 14.6A62 62 0 0 0 8 45c-3 8-5.2 17.3-5.8 30.7a890 890 0 0 0-.8 52.2c0 34.3.2 38.6.8 52.1A92.8 92.8 0 0 0 8 210.7a62 62 0 0 0 14.5 22.4A62 62 0 0 0 45 247.7c8 3.1 17.3 5.2 30.7 5.9 13.5.6 17.8.7 52.2.7s38.6-.1 52-.7a92.8 92.8 0 0 0 30.8-6c17-6.5 30.4-20 37-36.9 3-8 5.2-17.2 5.8-30.7.7-13.5.8-17.8.8-52.1s-.1-38.7-.8-52.2zM230.8 179c-.6 12.3-2.6 19-4.4 23.4-4.2 11-13 19.8-24 24a69.9 69.9 0 0 1-23.4 4.4c-13.4.6-17.4.7-51.1.7-33.8 0-37.8-.1-51.1-.7-12.4-.6-19-2.6-23.5-4.4-5.5-2-10.5-5.2-14.5-9.4-4.2-4.1-7.5-9-9.5-14.6a69.9 69.9 0 0 1-4.4-23.4c-.6-13.4-.7-17.4-.7-51.1s.1-37.8.7-51.1c.6-12.4 2.6-19 4.4-23.5 2-5.5 5.2-10.5 9.4-14.6 4.1-4.2 9-7.4 14.6-9.4a69.9 69.9 0 0 1 23.5-4.4c13.3-.6 17.3-.7 51-.7 33.8 0 37.8.1 51.1.7 12.4.6 19 2.7 23.5 4.4 5.5 2 10.5 5.2 14.6 9.4 4.2 4.1 7.4 9.1 9.4 14.6a69.9 69.9 0 0 1 4.4 23.5c.6 13.3.7 17.3.7 51s-.1 37.8-.7 51.2z"}),s.jsx("path",{d:"M127.9 63a65 65 0 1 0 0 129.8 65 65 0 0 0 0-129.9zm0 107a42.2 42.2 0 1 1 0-84.3 42.2 42.2 0 0 1 0 84.3zM210.5 60.4a15.2 15.2 0 1 1-30.3 0 15.2 15.2 0 0 1 30.3 0z"})]})})}const a=r.memo(c,t.isEqual);module.exports=a;
|
package/index107.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),t=require("radashi"),i=require("react");function
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),t=require("radashi"),i=require("react");function r(n){return e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:19,viewBox:"0 0 18 19",fill:"none",...n,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 1.79773C0 1.07677 0.604838 0.5 1.33064 0.5H16.6694C17.3952 0.5 18 1.07677 18 1.79773V17.2023C18 17.9232 17.3952 18.5 16.6694 18.5H1.33064C0.604838 18.5 0 17.9232 0 17.2023V1.79773ZM5.44373 15.5677V7.44492H2.73405V15.5677H5.44373ZM4.08889 6.31541C5.03244 6.31541 5.63728 5.69058 5.63728 4.92155C5.61308 4.1285 5.05663 3.52769 4.11308 3.52769C3.19373 3.52769 2.5647 4.1285 2.5647 4.92155C2.5647 5.69058 3.14534 6.31541 4.08889 6.31541ZM9.65304 15.5677H6.94336C6.94336 15.5677 6.99175 8.18991 6.94336 7.44492H9.67723V8.58586C9.66903 8.59819 9.66097 8.6104 9.65304 8.62249H9.67723V8.58586C10.0439 8.03441 10.6772 7.25266 12.1208 7.25266C13.9111 7.25266 15.2417 8.4062 15.2417 10.9055V15.5677H12.5321V11.2179C12.5321 10.1365 12.145 9.39151 11.153 9.39151C10.403 9.39151 9.94336 9.89619 9.74981 10.3768C9.67723 10.5451 9.65304 10.7854 9.65304 11.0257V15.5677Z",fill:"currentColor"})})}const C=i.memo(r,t.isEqual);module.exports=C;
|
package/index108.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),e=require("radashi"),s=require("react");function i(t){return r.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...t,children:r.jsxs("g",{fill:"currentColor",strokeMiterlimit:"10",strokeWidth:"0",transform:"matrix(2.8 0 0 2.8 1.4 1.4)",children:[r.jsx("path",{d:"M80.9 78.8H9c-5 0-9.1-4.1-9.1-9.1V20.3c0-5 4-9 9.1-9H81c5 0 9.1 4 9.1 9v49.4c0 5-4 9-9.1 9zM9 17.2A3.1 3.1 0 0 0 6 20.3v49.4c0 1.7 1.4 3 3.1 3H81c1.7 0 3.1-1.3 3.1-3V20.3c0-1.7-1.4-3-3.1-3H9z"}),r.jsx("path",{d:"M45 55.4c-5.4 0-10.6-2.3-14.2-6.3l-28.3-31 4.4-4 28.3 31c2.5 2.8 6 4.3 9.8 4.3 3.8 0 7.3-1.5 9.8-4.3l28.3-31 4.4 4-28.3 31c-3.6 4-8.8 6.3-14.2 6.3z"}),r.jsx("rect",{width:"39",height:"6",x:"-1",y:"57.2",rx:"0",ry:"0",transform:"rotate(-45.1 18.5 60.2)"}),r.jsx("rect",{width:"6",height:"39",x:"68.5",y:"40.7",rx:"0",ry:"0",transform:"rotate(-44.8 71.5 60.2)"})]})})}const c=s.memo(i,e.isEqual);module.exports=c;
|
package/index109.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),s=require("radashi"),t=require("react");function o(e){return r.jsxs("svg",{height:48,width:48,fill:"currentColor",...e,xmlns:"http://www.w3.org/2000/svg",children:[r.jsx("ellipse",{cx:"26",cy:"24.095",rx:"26",ry:"23.547",fill:"#fff"}),r.jsx("path",{d:"M37.742 24.095H14.258M26 13.46V34.73 13.46Z",stroke:"#9E9E9E",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"})]})}const i=t.memo(o,s.isEqual);module.exports=i;
|
package/index111.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),r=require("radashi"),t=require("react");function c(s){return e.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...s,children:e.jsx("path",{fill:"currentColor",strokeMiterlimit:"10",strokeWidth:"0",d:"M199.75 145.13a54.45 54.45 0 0 0-43.54 21.82l-47.88-23.93c1.4-4.82 2.2-9.9 2.2-15.17a54.3 54.3 0 0 0-2.2-15.16l47.88-23.93a54.45 54.45 0 0 0 43.54 21.82 54.61 54.61 0 0 0 54.56-54.56c0-30.08-24.48-54.56-54.56-54.56s-54.56 24.48-54.56 54.56c0 5.27.79 10.35 2.19 15.17L99.5 95.11A54.45 54.45 0 0 0 55.97 73.3C25.88 73.3 1.4 97.77 1.4 127.86s24.47 54.56 54.56 54.56c17.79 0 33.56-8.6 43.53-21.82l47.88 23.92a54.32 54.32 0 0 0-2.2 15.17c0 30.09 24.48 54.56 54.57 54.56s54.56-24.47 54.56-54.56a54.62 54.62 0 0 0-54.56-54.56zm0-124c19.24 0 34.89 15.65 34.89 34.9s-15.65 34.88-34.9 34.88-34.88-15.65-34.88-34.89 15.65-34.89 34.89-34.89zM55.97 162.75c-19.24 0-34.9-15.65-34.9-34.9s15.66-34.88 34.9-34.88 34.88 15.65 34.88 34.89-15.65 34.89-34.88 34.89zm143.78 71.83a34.93 34.93 0 0 1-34.9-34.89c0-19.24 15.66-34.89 34.9-34.89s34.89 15.65 34.89 34.9a34.93 34.93 0 0 1-34.9 34.88z"})})}const i=t.memo(c,r.isEqual);module.exports=i;
|
package/index116.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),r=require("radashi"),s=require("react");function i(t){return e.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...t,children:e.jsx("path",{fill:"currentColor",strokeMiterlimit:"10",strokeWidth:"0",d:"M249 67c-3-11-11-19-22-22-20-6-99-6-99-6s-79 0-99 6C18 48 10 56 7 67c-6 20-6 61-6 61s0 41 6 61c3 11 11 19 22 22 20 5 99 5 99 5s79 0 99-5c11-3 19-11 22-22 5-20 5-61 5-61s0-41-5-61zm-146 99V90l65 38-65 38z"})})}const o=s.memo(i,r.isEqual);module.exports=o;
|
package/index117.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),s=require("radashi"),t=require("react");function i(r){return e.jsx("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256",...r,children:e.jsxs("g",{fill:"currentColor",strokeMiterlimit:"10",strokeWidth:"0",children:[e.jsx("path",{fill:"red",d:"M249.02 66.99a31.68 31.68 0 0 0-22.36-22.36c-19.72-5.29-98.8-5.29-98.8-5.29s-79.09 0-98.8 5.29A31.68 31.68 0 0 0 6.68 66.99c-5.28 19.72-5.28 60.87-5.28 60.87s0 41.15 5.28 60.87a31.68 31.68 0 0 0 22.36 22.36c19.72 5.28 98.8 5.28 98.8 5.28s79.1 0 98.81-5.28a31.68 31.68 0 0 0 22.36-22.36c5.29-19.72 5.29-60.87 5.29-60.87s0-41.15-5.29-60.87z"}),e.jsx("path",{fill:"#fff",d:"m102.57 165.8 65.7-37.94-65.7-37.94z"})]})})}const o=t.memo(i,s.isEqual);module.exports=o;
|
package/index119.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";const t=require("react/jsx-runtime"),h=require("react"),a=require("react-aria"),T=require("react-use"),F=require("./index81.js"),D=require("./index169.js"),d=require("./index7.js"),C=require("./index8.js"),I=require("./index48.js");function M(c){const{item:y,tokens:K,customTheme:f}=c,{props:u,rendered:k,key:s}=y,{icon:x,title:E,onOpenChange:g,tokens:j,themeName:w}=u??{},{themeName:o=w}=c,
|
|
2
|
+
"use strict";const t=require("react/jsx-runtime"),h=require("react"),a=require("react-aria"),T=require("react-use"),F=require("./index81.js"),D=require("./index169.js"),d=require("./index7.js"),C=require("./index8.js"),I=require("./index48.js");function M(c){const{item:y,tokens:K,customTheme:f}=c,{props:u,rendered:k,key:s}=y,{icon:x,title:E,onOpenChange:g,tokens:j,themeName:w}=u??{},{themeName:o=w}=c,q=h.useRef(null),l=h.useRef(null),{state:e,TransitionAnimation:N=D}=F.useAccordionCtx(),R=e.isDisabled||e.disabledKeys.has(s)||u?.isDisabled,r=e.expandedKeys.has(s),$={isExpanded:r,setExpanded:n=>{if(n){if(e.allowsMultipleExpanded){const m=new Set(e.expandedKeys);m.add(s),e.setExpandedKeys(m)}else e.setExpandedKeys(new Set([s]));return}const p=new Set(e.expandedKeys);p.delete(s),e.setExpandedKeys(p)},expand:()=>{if(!e.expandedKeys.has(s)){if(e.allowsMultipleExpanded){const n=new Set(e.expandedKeys);n.add(s),e.setExpandedKeys(n);return}e.setExpandedKeys(new Set([s]))}},collapse:()=>{if(!e.expandedKeys.has(s))return;const n=new Set(e.expandedKeys);n.delete(s),e.setExpandedKeys(n)},toggle:()=>e.toggleKey(s)},{buttonProps:b,panelProps:S}=a.useDisclosure({isDisabled:R},$,l),{onPress:P,...A}=b,i={...K,isOpen:r,...j},B=n=>{n.continuePropagation(),P?.(n)};return T.useUpdateEffect(()=>{g?.(r)},[r]),t.jsxs(d.Box,{themeName:`${o}.container`,tokens:i,customTheme:f,children:[t.jsx(a.FocusRing,{focusRingClass:"has-focus-ring",children:t.jsxs(C.ButtonWithForwardRef,{...A,handlePress:B,ref:q,themeName:`${o}.button`,tokens:i,children:[t.jsx(d.Box,{themeName:`${o}.title`,tokens:i,children:E}),x&&t.jsx(d.Box,{themeName:`${o}.icon`,tokens:i,children:t.jsx(I,{icon:x})})]})}),t.jsx(N,{isVisible:r,themeName:`${o}.region`,tokens:i,children:t.jsx(d.BoxWithForwardRef,{...S,ref:l,themeName:`${o}.content`,tokens:i,children:t.jsx(a.FocusScope,{autoFocus:!0,children:k})})})]})}module.exports=M;
|
package/index13.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";const e=require("react/jsx-runtime"),d=require("react"),L=require("./index11.js"),b=require("./index82.js"),x=require("./index16.js"),y=require("./index19.js"),S=require("./index20.js"),$=require("./index125.js"),P=require("./index25.js");function R(
|
|
2
|
+
"use strict";const e=require("react/jsx-runtime"),d=require("react"),L=require("./index11.js"),b=require("./index82.js"),x=require("./index16.js"),y=require("./index19.js"),S=require("./index20.js"),$=require("./index125.js"),P=require("./index25.js");function R(i){const{id:o,themeName:n="carousel",tokens:a,customTheme:I,slides:r,a11y:s,modules:l,prevButton:m=x.LegacyCarouselPrevNavigationButton,nextButton:h=x.LegacyCarouselNextNavigationButton,onSlideChange:M,children:v=t=>e.jsx($,{...t}),...p}=i,N=d.useRef(null),C=d.useRef(null),{controller:j}=b.useCarousel(),{activeIndex:c=0}=j??{},{paginationGroupLabel:B="pagination"}=s??{},g=l?.includes("Navigation"),f=l?.includes("Pagination"),q=r.map((t,u)=>({...t,ariaLabel:t.ariaLabel??`${u+1} / ${r.length}`}));return e.jsxs(e.Fragment,{children:[g&&e.jsx(m,{themeName:`${n}.navigation.button`,tokens:{...a,order:"prev"},ref:N,"aria-label":s?.prevSlideMessage,"aria-controls":o}),e.jsx(P,{themeName:n,tokens:a,...p,children:v}),g&&e.jsx(h,{themeName:`${n}.navigation.button`,tokens:{...a,order:"next"},ref:C,"aria-label":s?.nextSlideMessage,"aria-controls":o}),f&&e.jsx(y,{themeName:`${n}.pagination`,tokens:a,activeIndex:c,slides:q,paginationGroupLabel:B,children:r.map((t,u)=>e.jsx(S,{index:u,activeIndex:c,slides:r,themeName:`${n}.pagination`,tokens:a},JSON.stringify(t)))})]})}function k(i){const{children:o,...n}=i;return e.jsx(L,{...n,children:e.jsx(R,{...n,children:o})})}module.exports=k;
|
package/index131.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),p=require("react"),h=require("react-aria"),$=require("./index88.js"),u=require("./index7.js"),f=require("./index74.js"),B=require("./index172.js");function l({item:o,state:i,themeName:n="li"}){const r=p.useRef(null),{optionProps:e,isFocusVisible:c}=h.useOption({key:o.key},i,r),a=$(n);return t.jsx(f.TypographyWithForwardRef,{as:"li",...e,tokens:{className:`${a} ${c?"has-focus-ring":""}`},ref:r,children:o.rendered})}function x(o){const{children:i,listBoxRef:n,themeName:r,...e}=o;return t.jsx(h.FocusScope,{autoFocus:!0,restoreFocus:!0,contain:!0,children:t.jsx(u.BoxWithForwardRef,{...e,ref:n,as:"ul",themeName:`${r}.ul`,children:i})})}function k(o){const i=p.useRef(null),{listBoxRef:n=i,state:r,themeName:e="option",optionsWithHeaders:c}=o,{listBoxProps:a}=h.useListBox(o,r,n),d=Array.from(r.collection),y=B.getListboxSections(d,c??[]);return c?.some(s=>s.key?.includes("header-"))?t.jsx(x,{...a,listBoxRef:n,themeName:e,children:y.map(s=>{const j=s.header!=null?`section-${s.header.key}`:`section-${s.items[0]?.key??"empty"}`;return t.jsx(u.Box,{as:"li",themeName:`${e}.group`,children:t.jsxs(u.Box,{as:"section",themeName:`${e}.section`,children:[s.header!=null&&t.jsx(f.Typography,{as:"header",themeName:`${e}.headerText`,children:s.header.rendered},s.header.key),t.jsx(u.Box,{as:"ul",themeName:`${e}.list`,children:s.items.map(m=>t.jsx(l,{themeName:`${e}.li`,item:m,state:r},String(m.key)))})]})},j)})}):t.jsx(x,{...a,listBoxRef:n,themeName:e,children:d.map(s=>t.jsx(l,{themeName:`${e}.li`,item:s,state:r},s.key))})}exports.ListBox=k;exports.Option=l;
|
package/index131.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as r, jsxs as x } from "react/jsx-runtime";
|
|
3
|
-
import
|
|
3
|
+
import { useRef as p } from "react";
|
|
4
4
|
import { useListBox as $, FocusScope as N, useOption as k } from "react-aria";
|
|
5
5
|
import B from "./index88.mjs";
|
|
6
|
-
import { Box as c, BoxWithForwardRef as
|
|
7
|
-
import { Typography as
|
|
6
|
+
import { Box as c, BoxWithForwardRef as g } from "./index7.mjs";
|
|
7
|
+
import { Typography as F, TypographyWithForwardRef as R } from "./index74.mjs";
|
|
8
8
|
import { getListboxSections as L } from "./index172.mjs";
|
|
9
9
|
function u({ item: s, state: i, themeName: n = "li" }) {
|
|
10
|
-
const t = p
|
|
10
|
+
const t = p(null), { optionProps: e, isFocusVisible: a } = k({ key: s.key }, i, t), m = B(n);
|
|
11
11
|
return /* @__PURE__ */ r(
|
|
12
|
-
|
|
12
|
+
R,
|
|
13
13
|
{
|
|
14
14
|
as: "li",
|
|
15
15
|
...e,
|
|
@@ -21,19 +21,19 @@ function u({ item: s, state: i, themeName: n = "li" }) {
|
|
|
21
21
|
}
|
|
22
22
|
function d(s) {
|
|
23
23
|
const { children: i, listBoxRef: n, themeName: t, ...e } = s;
|
|
24
|
-
return /* @__PURE__ */ r(N, { autoFocus: !0, restoreFocus: !0, contain: !0, children: /* @__PURE__ */ r(
|
|
24
|
+
return /* @__PURE__ */ r(N, { autoFocus: !0, restoreFocus: !0, contain: !0, children: /* @__PURE__ */ r(g, { ...e, ref: n, as: "ul", themeName: `${t}.ul`, children: i }) });
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
const i = p
|
|
26
|
+
function O(s) {
|
|
27
|
+
const i = p(null), { listBoxRef: n = i, state: t, themeName: e = "option", optionsWithHeaders: a } = s, { listBoxProps: m } = $(s, t, n), h = Array.from(t.collection), f = L(h, a ?? []);
|
|
28
28
|
return a?.some((o) => o.key?.includes("header-")) ? /* @__PURE__ */ r(d, { ...m, listBoxRef: n, themeName: e, children: f.map((o) => {
|
|
29
29
|
const y = o.header != null ? `section-${o.header.key}` : `section-${o.items[0]?.key ?? "empty"}`;
|
|
30
30
|
return /* @__PURE__ */ r(c, { as: "li", themeName: `${e}.group`, children: /* @__PURE__ */ x(c, { as: "section", themeName: `${e}.section`, children: [
|
|
31
|
-
o.header != null && /* @__PURE__ */ r(
|
|
31
|
+
o.header != null && /* @__PURE__ */ r(F, { as: "header", themeName: `${e}.headerText`, children: o.header.rendered }, o.header.key),
|
|
32
32
|
/* @__PURE__ */ r(c, { as: "ul", themeName: `${e}.list`, children: o.items.map((l) => /* @__PURE__ */ r(u, { themeName: `${e}.li`, item: l, state: t }, String(l.key))) })
|
|
33
33
|
] }) }, y);
|
|
34
34
|
}) }) : /* @__PURE__ */ r(d, { ...m, listBoxRef: n, themeName: e, children: h.map((o) => /* @__PURE__ */ r(u, { themeName: `${e}.li`, item: o, state: t }, o.key)) });
|
|
35
35
|
}
|
|
36
36
|
export {
|
|
37
|
-
|
|
37
|
+
O as ListBox,
|
|
38
38
|
u as Option
|
|
39
39
|
};
|
package/index132.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";const
|
|
2
|
+
"use strict";const e=require("react/jsx-runtime"),a=require("react"),s=require("react-aria"),i=require("./index7.js");function f(o){const n=a.useRef(null),{popoverRef:t=n,state:r,children:c,themeName:u="popover",tokens:x,customTheme:h,triggerRef:l,...p}=o,{popoverProps:d,underlayProps:m}=s.usePopover({...o,popoverRef:t,triggerRef:l},r);return e.jsxs(s.Overlay,{children:[e.jsx("div",{...m,style:{position:"fixed",inset:0}}),e.jsx(i.Box,{...p,children:e.jsxs(i.BoxWithForwardRef,{...d,ref:t,themeName:u,tokens:x,children:[e.jsx(s.DismissButton,{onDismiss:r.close}),c,e.jsx(s.DismissButton,{onDismiss:r.close})]})})]})}module.exports=f;
|
package/index132.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
3
|
-
import
|
|
3
|
+
import { useRef as a } from "react";
|
|
4
4
|
import { usePopover as h, Overlay as v, DismissButton as i } from "react-aria";
|
|
5
|
-
import { Box as x, BoxWithForwardRef as
|
|
6
|
-
function
|
|
7
|
-
const n =
|
|
5
|
+
import { Box as x, BoxWithForwardRef as P } from "./index7.mjs";
|
|
6
|
+
function j(r) {
|
|
7
|
+
const n = a(null), { popoverRef: s = n, state: o, children: m, themeName: p = "popover", tokens: f, customTheme: R, triggerRef: l, ...c } = r, { popoverProps: d, underlayProps: u } = h(
|
|
8
8
|
{
|
|
9
9
|
...r,
|
|
10
10
|
popoverRef: s,
|
|
11
|
-
triggerRef:
|
|
11
|
+
triggerRef: l
|
|
12
12
|
},
|
|
13
13
|
o
|
|
14
14
|
);
|
|
15
15
|
return /* @__PURE__ */ t(v, { children: [
|
|
16
|
-
/* @__PURE__ */ e("div", { ...
|
|
17
|
-
/* @__PURE__ */ e(x, { ...
|
|
16
|
+
/* @__PURE__ */ e("div", { ...u, style: { position: "fixed", inset: 0 } }),
|
|
17
|
+
/* @__PURE__ */ e(x, { ...c, children: /* @__PURE__ */ t(P, { ...d, ref: s, themeName: p, tokens: f, children: [
|
|
18
18
|
/* @__PURE__ */ e(i, { onDismiss: o.close }),
|
|
19
19
|
m,
|
|
20
20
|
/* @__PURE__ */ e(i, { onDismiss: o.close })
|
|
@@ -22,5 +22,5 @@ function g(r) {
|
|
|
22
22
|
] });
|
|
23
23
|
}
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
j as default
|
|
26
26
|
};
|
package/index141.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";const e=require("react/jsx-runtime"),q=require("react"),l=require("react-aria"),
|
|
2
|
+
"use strict";const e=require("react/jsx-runtime"),q=require("react"),l=require("react-aria"),r=require("./index7.js"),w=require("./index8.js");function N(n){const{themeName:s,tokens:d,customTheme:h,as:$,item:i,state:x,...p}=n,{removeButtonProps:o,href:c}=i.props??{},u=q.useRef(null),{rowProps:P,gridCellProps:B,removeButtonProps:m,allowsRemoving:g,isDisabled:f,isFocused:k,isPressed:v,isSelected:j}=l.useTag(n,x,u),t={...d,isDisabled:f,isFocused:k,isPressed:v,isSelected:j,isLink:c!=null&&c!==""},R={...o,...m,handlePress:a=>{o?.handlePress?.(a),m?.onPress?.(a)}};return e.jsx(l.FocusRing,{focusRingClass:"has-focus-ring within",children:e.jsx(r.BoxWithForwardRef,{...p,...P,ref:u,themeName:`${s}.wrapper`,tokens:t,customTheme:h,children:e.jsxs(r.Box,{themeName:`${s}.container`,tokens:t,...B,children:[e.jsx(r.Box,{themeName:`${s}.item`,tokens:t,children:i.rendered}),g&&o!=null&&e.jsx(w.ButtonComponent,{themeName:`${s}.removeButton`,tokens:t,...R})]})})})}module.exports=N;
|
package/index171.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";const o=require("react/jsx-runtime"),i=require("@internationalized/date"),B=require("react"),n=require("react-aria"),c=require("./index7.js");function F(r){const{themeName:a="calendar",tokens:
|
|
2
|
+
"use strict";const o=require("react/jsx-runtime"),i=require("@internationalized/date"),B=require("react"),n=require("react-aria"),c=require("./index7.js");function F(r){const{themeName:a="calendar",tokens:R,state:d,date:e}=r,u=B.useRef(null),{isUnavailable:k,cellProps:y,buttonProps:b,isSelected:t,isOutsideVisibleRange:h,isDisabled:C,formattedDate:S,isInvalid:q}=n.useCalendarCell(r,d,u),s=d?.highlightedRange,m=s?.start,f=s?.end,g=s!=null&&m!=null?i.isSameDay(e,m):t,x=s!=null&&f!=null?i.isSameDay(e,f):t,{locale:j}=n.useLocale(),D=i.getDayOfWeek(e,j),N=t&&(g||D===0||e.day===1),P=t&&(x||D===6||e.day===e.calendar.getDaysInMonth(e)),{focusProps:$,isFocusVisible:p}=n.useFocusRing(),l={isInvalid:q,isDisabled:C,isUnavailable:k,isSelected:t,isFocusVisible:p,isOutsideVisibleRange:h,...R};return o.jsx(c.Box,{as:"td",...y,"aria-disabled":!1,themeName:`${a}.cellContainer`,tokens:l,children:o.jsx(c.BoxWithForwardRef,{...n.mergeProps(b,$),ref:u,"aria-hidden":h,themeName:`${a}.cell`,tokens:{...l,isRoundedLeft:N,isRoundedRight:P},children:o.jsx(c.Box,{themeName:`${a}.cellDate`,tokens:{...l,isSelectionStart:g,isSelectionEnd:x},children:S})})})}module.exports=F;
|
package/index29.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),E=require("radashi"),N=require("react"),a=require("react-aria"),M=require("react-hook-form"),P=require("react-stately"),g=require("./index88.js"),O=require("./index89.js"),S=require("./index48.js"),B=require("./index74.js");function $(t){const{id:q,label:r,isDisabled:l=!1,isError:u=!1,errorMessage:d,ariaLabel:j,icon:h,themeName:s="checkbox",tokens:
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),E=require("radashi"),N=require("react"),a=require("react-aria"),M=require("react-hook-form"),P=require("react-stately"),g=require("./index88.js"),O=require("./index89.js"),S=require("./index48.js"),B=require("./index74.js");function $(t){const{id:q,label:r,isDisabled:l=!1,isError:u=!1,errorMessage:d,ariaLabel:j,icon:h,themeName:s="checkbox",tokens:f,customTheme:n}=t,k=P.useToggleState(t),x=N.useRef(null),{inputProps:R,labelProps:T}=a.useCheckbox(t,k,x),{isSelected:F}=k,{focusProps:o,isFocusVisible:i}=a.useFocusRing(),c={...f,selected:F,isDisabled:l,isError:u,isFocusVisible:i},y=g(`${s}.container`,c,n),C=g(`${s}.checkBox`,c,n),p=g(`${s}.checkMark`,c,n),m=g(`${s}.checkMarkIcon`,c,n);return e.jsxs("div",{children:[e.jsx(a.FocusRing,{focusRingClass:"has-focus-ring",within:!0,children:e.jsxs("label",{className:y,htmlFor:q,"aria-label":j,"aria-disabled":l,...T,children:[e.jsx(a.VisuallyHidden,{children:e.jsx("input",{type:"checkbox",ref:x,...a.mergeProps(R,o)})}),e.jsx("div",{className:C,children:e.jsx("div",{className:p,children:h!=null&&e.jsx(S,{icon:h,customTheme:m})})}),e.jsx(B.Typography,{themeName:`${s}.label`,tokens:c,children:r})]})}),u&&d!=null&&e.jsx(B.Typography,{themeName:`${s}.errorMessage`,tokens:c,children:d})]})}function H({name:t,label:q,rules:r,tokens:l,ariaLabel:u,defaultValue:d=!1,themeName:j="checkbox",isDisabled:h=!1,icon:s,onChange:f,onBlur:n,...k}){const{control:x}=M.useFormContext(),{t:R}=O.useTranslation(),T=()=>{const o=Object.entries(k).filter(([i,c])=>i.startsWith("aria-"));return Object.fromEntries(o)},F={required:r?.required!=null&&r.required!==!1?R("FORM.ERROR.REQUIRED")??"required":!1,...r};return e.jsx(M.Controller,{name:t??"",control:x,rules:F,disabled:r?.disabled,defaultValue:d,render:({field:o,fieldState:i})=>{const{ref:c,value:y,...C}=o,p=!E.isEmpty(i.error),m={isDisabled:o.disabled??h,isRequired:r?.required===!0||r?.required==="required",isError:p},v={...l,...m};return e.jsx($,{...C,...m,...T(),id:t,isSelected:y,name:t,themeName:j,label:q,tokens:v,ariaLabel:u,icon:s,errorMessage:i.error?.message,onChange:b=>{o.onChange(b),f?.(b)},onBlur:b=>{o.onBlur(),n?.(b)}})}})}exports.Checkbox=$;exports.ReactHookFormCheckBox=H;
|
package/index3.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r=require("react");function n(o){return null}n.getCollectionNode=function*(e){const{children:t,childItems:i,title:c}=e,d=e.textValue||(typeof t=="string"?t:"")||e["aria-label"]||"";yield{type:"item",props:e,rendered:t,textValue:d,"aria-label":e["aria-label"],hasChildNodes:!1,*childNodes(){if(i!=null)for(const l of i)yield{type:"item",value:l};else if(c!=null){const l=[];r.Children.forEach(t,a=>{l.push({type:"item",element:a})}),yield*l}}}};const s=n;module.exports=s;
|
package/index3.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Children as r } from "react";
|
|
2
2
|
function o(n) {
|
|
3
3
|
return null;
|
|
4
4
|
}
|
|
5
5
|
o.getCollectionNode = function* (e) {
|
|
6
|
-
const { children: t, childItems: i, title:
|
|
6
|
+
const { children: t, childItems: i, title: c } = e, d = e.textValue || (typeof t == "string" ? t : "") || e["aria-label"] || "";
|
|
7
7
|
yield {
|
|
8
8
|
type: "item",
|
|
9
9
|
props: e,
|
|
10
10
|
rendered: t,
|
|
11
|
-
textValue:
|
|
11
|
+
textValue: d,
|
|
12
12
|
"aria-label": e["aria-label"],
|
|
13
13
|
hasChildNodes: !1,
|
|
14
14
|
*childNodes() {
|
|
@@ -18,19 +18,19 @@ o.getCollectionNode = function* (e) {
|
|
|
18
18
|
type: "item",
|
|
19
19
|
value: l
|
|
20
20
|
};
|
|
21
|
-
else if (
|
|
21
|
+
else if (c != null) {
|
|
22
22
|
const l = [];
|
|
23
|
-
r.
|
|
23
|
+
r.forEach(t, (a) => {
|
|
24
24
|
l.push({
|
|
25
25
|
type: "item",
|
|
26
|
-
element:
|
|
26
|
+
element: a
|
|
27
27
|
});
|
|
28
28
|
}), yield* l;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
|
-
const
|
|
33
|
+
const f = o;
|
|
34
34
|
export {
|
|
35
|
-
|
|
35
|
+
f as default
|
|
36
36
|
};
|
package/index33.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),A=require("./index55.js");function S(t,a,f){const[d,h]=c.useState(""),n=c.useMemo(()=>t==null||t.length===0?t:Array.from(t).some(s=>"items"in s&&Array.isArray(s.items)&&!("children"in s))?t.map(s=>({...s,children:({key:r,children:m,...g})=>c.createElement(A.Node,{key:r,...g},m)})):t,[t]),o=c.useMemo(()=>{if(n==null||n.length===0)return"none";const e=Array.from(n);return e.some(r=>"items"in r&&Array.isArray(r.items)&&"children"in r&&typeof r.children=="function")?"sections":e.some(r=>"children"in r&&typeof r.children=="string"&&!("items"in r))?"flatList":"none"},[n]),l=o!=="none",i=a??(l?d:void 0),p=f??(l?h:void 0),y=c.useMemo(()=>!l||n==null||i==null||i===""?n:o==="sections"?n.map(e=>({...e,items:e.items?.filter(u=>"children"in u&&typeof u.children=="string"&&u.children.toLowerCase().includes(i.toLowerCase()))})).filter(e=>e.items!=null&&e.items.length>0):o==="flatList"?Array.from(n).filter(e=>"children"in e&&typeof e.children=="string"&&e.children.toLowerCase().includes(i.toLowerCase())):n,[l,n,i,o]);return{structureType:o,inputValue:i,onInputChange:p,items:l?y:n}}exports.useComboBoxFiltering=S;
|
package/index33.mjs
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import { useState as I, useMemo as a } from "react";
|
|
2
|
+
import { useState as A, useMemo as u, createElement as I } from "react";
|
|
4
3
|
import { Node as L } from "./index55.mjs";
|
|
5
|
-
function v(t,
|
|
6
|
-
const [d, h] =
|
|
4
|
+
function v(t, a, f) {
|
|
5
|
+
const [d, h] = A(""), n = u(() => t == null || t.length === 0 ? t : Array.from(t).some(
|
|
7
6
|
(s) => "items" in s && Array.isArray(s.items) && !("children" in s)
|
|
8
7
|
) ? t.map((s) => ({
|
|
9
8
|
...s,
|
|
10
|
-
children: ({ key: r, children: y, ...g }) =>
|
|
11
|
-
})) : t, [t]), o =
|
|
9
|
+
children: ({ key: r, children: y, ...g }) => I(L, { key: r, ...g }, y)
|
|
10
|
+
})) : t, [t]), o = u(() => {
|
|
12
11
|
if (n == null || n.length === 0)
|
|
13
12
|
return "none";
|
|
14
13
|
const e = Array.from(n);
|
|
@@ -17,7 +16,7 @@ function v(t, u, f) {
|
|
|
17
16
|
) ? "sections" : e.some(
|
|
18
17
|
(r) => "children" in r && typeof r.children == "string" && !("items" in r)
|
|
19
18
|
) ? "flatList" : "none";
|
|
20
|
-
}, [n]), l = o !== "none", i =
|
|
19
|
+
}, [n]), l = o !== "none", i = a ?? (l ? d : void 0), p = f ?? (l ? h : void 0), m = u(() => !l || n == null || i == null || i === "" ? n : o === "sections" ? n.map((e) => ({
|
|
21
20
|
...e,
|
|
22
21
|
items: e.items?.filter(
|
|
23
22
|
(c) => "children" in c && typeof c.children == "string" && c.children.toLowerCase().includes(i.toLowerCase())
|
package/index34.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";const e=require("react/jsx-runtime"),L=require("react"),M=require("react-aria"),U=require("react-stately"),o=require("./index7.js"),W=require("./index9.js"),G=require("./index128.js"),J=require("./index74.js"),Q=require("./index35.js"),m=require("./index36.js"),V=require("./index129.js");function X(i){const{popoverPlacement:h="bottom start",placement:x="bottom start",tokens:r,customTheme:P,themeName:n="datePicker",icon:k="ArrowDown",description:a,buttonLabel:b,buttonContent:j,label:c,children:q,invalidIndicator:d="❌",isDisabled:v=!1,isReadOnly:f=!1,isRequired:g=!1,containerPadding:$,shouldCloseOnInteractOutside:D,arrowBoundaryOffset:N,isNonModal:y,isKeyboardDismissDisabled:I,arrowSize:B,boundaryElement:O,maxHeight:
|
|
2
|
+
"use strict";const e=require("react/jsx-runtime"),L=require("react"),M=require("react-aria"),U=require("react-stately"),o=require("./index7.js"),W=require("./index9.js"),G=require("./index128.js"),J=require("./index74.js"),Q=require("./index35.js"),m=require("./index36.js"),V=require("./index129.js");function X(i){const{popoverPlacement:h="bottom start",placement:x="bottom start",tokens:r,customTheme:P,themeName:n="datePicker",icon:k="ArrowDown",description:a,buttonLabel:b,buttonContent:j,label:c,children:q,invalidIndicator:d="❌",isDisabled:v=!1,isReadOnly:f=!1,isRequired:g=!1,containerPadding:$,shouldCloseOnInteractOutside:D,arrowBoundaryOffset:N,isNonModal:y,isKeyboardDismissDisabled:I,arrowSize:B,boundaryElement:O,maxHeight:C,shouldUpdatePosition:R}=i,w=x??h,s=U.useDatePickerState(i),{isInvalid:u,isOpen:T,hasTime:S}=s,l=L.useRef(null),{groupProps:A,fieldProps:p,labelProps:F,descriptionProps:z,buttonProps:E,dialogProps:H,calendarProps:K}=M.useDatePicker(i,s,l),t={isInvalid:u,isOpen:T,hasTime:S,isDisabled:v,isReadOnly:f,isRequired:g,...r};return e.jsxs(o.Box,{themeName:`${n}.container`,tokens:t,customTheme:P,children:[c!=null&&c!==""&&e.jsx(J.Typography,{as:"span",themeName:`${n}.label`,tokens:t,...F,children:c}),a!=null&&a!==""&&e.jsx(o.Box,{as:"div",themeName:`${n}.description`,tokens:t,...z,children:a}),e.jsxs(V,{themeName:n,tokens:t,ref:l,groupProps:A,buttonProps:E,buttonLabel:b,buttonContent:j,icon:k,children:[e.jsx(m,{themeName:n,tokens:{...t,position:"outer"},...p}),s.isInvalid&&e.jsx(o.Box,{as:"span",themeName:`${n}.invalidIndicator`,tokens:{...t,position:"outer"},children:d})]}),s.isOpen&&e.jsx(Q.CalendarPopover,{themeName:n,tokens:{...r,isInvalid:u},triggerRef:l,state:s,placement:w,containerPadding:$,shouldCloseOnInteractOutside:D,arrowBoundaryOffset:N,isNonModal:y,isKeyboardDismissDisabled:I,arrowSize:B,boundaryElement:O,maxHeight:C,shouldUpdatePosition:R,children:e.jsxs(G.Dialog,{themeName:`${n}.dialog`,tokens:t,...H,children:[q,e.jsxs(o.Box,{themeName:`${n}.dateFieldContainer`,tokens:t,children:[e.jsx(m,{themeName:n,tokens:{...t,position:"inner"},...p}),s.isInvalid&&e.jsx(o.Box,{as:"span",themeName:`${n}.invalidIndicator`,tokens:{...t,position:"inner"},children:d})]}),e.jsx(W,{...K,tokens:r})]})})]})}module.exports=X;
|
package/index35.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),r=require("react-aria"),a=require("./index7.js");function p({themeName:s="datePicker",tokens:n,...t}){const i=d.useRef(null),{state:o,children:c}={...t},{popoverProps:l,underlayProps:u}=r.usePopover({...t,popoverRef:i},o);return e.jsxs(r.Overlay,{children:[e.jsx(a.Box,{themeName:`${s}.calendarUnderlay`,tokens:n,...u}),e.jsxs(a.BoxWithForwardRef,{themeName:`${s}.calendarPopover`,tokens:n,...l,ref:i,children:[e.jsx(r.DismissButton,{onDismiss:o.close}),c,e.jsx(r.DismissButton,{onDismiss:o.close})]})]})}exports.CalendarPopover=p;
|