@okam/stack-ui 1.25.6 → 1.26.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.
@@ -9,6 +9,8 @@ type TDirectusImageProps = Omit<TImgProps, 'src' | 'id' | 'width' | 'height' | '
9
9
  height: Nullable<number>;
10
10
  id: Nullable<string>;
11
11
  filenameDownload: Nullable<string>;
12
+ focalPointX?: Nullable<number>;
13
+ focalPointY?: Nullable<number>;
12
14
  /**
13
15
  * @default NEXT_PUBLIC_IMG_DOMAIN
14
16
  */
package/index119.js CHANGED
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),b=require("./index133.js"),m=require("@react-aria/calendar"),p=require("@react-aria/i18n"),a=require("./index64.js"),y=require("./index134.js");function g({themeName:c="calendar",customTheme:$,tokens:l,state:n,...i}){const{locale:o}=p.useLocale(),{gridProps:t,headerProps:d,weekDays:h}=m.useCalendarGrid({...i},n),u=b.getWeeksInMonth(n.visibleRange.start,o),j=a(`${c}.calendarTable`,l),q=a(`${c}.dayLabel`,l);return e.jsxs("table",{...t,cellPadding:"0",className:j,children:[e.jsx("thead",{...d,children:e.jsx("tr",{children:h.map(r=>e.jsx("th",{className:q,children:r},`${r}`))})}),e.jsx("tbody",{children:[...new Array(u).keys()].map(r=>e.jsx("tr",{children:n.getDatesInWeek(r).map((s,x)=>s?e.jsx(y,{state:n,date:s},s==null?void 0:s.day):e.jsx("td",{},x))},r))})]})}module.exports=g;
1
+ "use strict";const e=require("react/jsx-runtime"),b=require("./index134.js"),m=require("@react-aria/calendar"),p=require("@react-aria/i18n"),a=require("./index64.js"),y=require("./index135.js");function g({themeName:c="calendar",customTheme:$,tokens:l,state:n,...i}){const{locale:o}=p.useLocale(),{gridProps:t,headerProps:d,weekDays:h}=m.useCalendarGrid({...i},n),u=b.getWeeksInMonth(n.visibleRange.start,o),j=a(`${c}.calendarTable`,l),q=a(`${c}.dayLabel`,l);return e.jsxs("table",{...t,cellPadding:"0",className:j,children:[e.jsx("thead",{...d,children:e.jsx("tr",{children:h.map(r=>e.jsx("th",{className:q,children:r},`${r}`))})}),e.jsx("tbody",{children:[...new Array(u).keys()].map(r=>e.jsx("tr",{children:n.getDatesInWeek(r).map((s,x)=>s?e.jsx(y,{state:n,date:s},s==null?void 0:s.day):e.jsx("td",{},x))},r))})]})}module.exports=g;
package/index119.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsxs as u, jsx as e } from "react/jsx-runtime";
2
- import { getWeeksInMonth as y } from "./index133.mjs";
2
+ import { getWeeksInMonth as y } from "./index134.mjs";
3
3
  import { useCalendarGrid as $ } from "@react-aria/calendar";
4
4
  import { useLocale as g } from "@react-aria/i18n";
5
5
  import c from "./index64.mjs";
6
- import C from "./index134.mjs";
6
+ import C from "./index135.mjs";
7
7
  function D({ themeName: l = "calendar", customTheme: T, tokens: n, state: o, ...s }) {
8
8
  const { locale: m } = g(), { gridProps: t, headerProps: i, weekDays: d } = $({ ...s }, o), h = y(o.visibleRange.start, m), p = c(`${l}.calendarTable`, n), f = c(`${l}.dayLabel`, n);
9
9
  return /* @__PURE__ */ u("table", { ...t, cellPadding: "0", className: p, children: [
package/index127.js CHANGED
@@ -1 +1 @@
1
- "use strict";const t=require("react/jsx-runtime"),o=require("./index142.js"),l=require("react"),d=require("./index124.js"),b=require("./index24.js");function h({state:e,customTheme:s,themeName:i="tabPanel",tokens:c,...u}){var n;const r=l.useRef(null),{tabPanelProps:a}=o.useTabPanel(u,e,r);return t.jsx(d,{isVisible:!0,children:t.jsx(b.BoxWithForwardRef,{themeName:`${i}`,tokens:c,customTheme:s,...a,ref:r,children:(n=e.selectedItem)==null?void 0:n.props.children})})}module.exports=h;
1
+ "use strict";const t=require("react/jsx-runtime"),o=require("./index133.js"),l=require("react"),d=require("./index124.js"),b=require("./index24.js");function h({state:e,customTheme:s,themeName:i="tabPanel",tokens:c,...u}){var n;const r=l.useRef(null),{tabPanelProps:a}=o.useTabPanel(u,e,r);return t.jsx(d,{isVisible:!0,children:t.jsx(b.BoxWithForwardRef,{themeName:`${i}`,tokens:c,customTheme:s,...a,ref:r,children:(n=e.selectedItem)==null?void 0:n.props.children})})}module.exports=h;
package/index127.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { useTabPanel as m } from "./index142.mjs";
2
+ import { useTabPanel as m } from "./index133.mjs";
3
3
  import c from "react";
4
4
  import p from "./index124.mjs";
5
5
  import { BoxWithForwardRef as s } from "./index24.mjs";
package/index129.js CHANGED
@@ -1 +1 @@
1
- "use strict";const s=require("react/jsx-runtime"),o=require("react"),W=require("./index135.js"),G=require("./index136.js"),x=require("./index106.js"),z=require("./index137.js"),c=require("./index64.js"),E=require("./index35.js");;/* empty css */;/* empty css */const m=require("./index140.js"),F=require("./index141.js"),H=v=>{const{themeName:i,tokens:n,customTheme:a,children:h=e=>s.jsx(E,{...e}),alerts:u,a11y:r,slidesPerView:w=1,spaceBetween:N=50,modules:t,prevButton:q=m.AlertsPrevNavigationButton,nextButton:b=m.AlertsNextNavigationButton,...$}=v,f=o.useRef(null),B=o.useRef(null),{itemRoleDescriptionMessage:S="slide",slideRole:A="group",containerRoleDescriptionMessage:R="carousel",paginationGroupLabel:P="pagination"}=r??{},j=c(`${i}.item.wrapper`,n,a),I=c(`${i}.swiper.swiper`,n,a),M=c(`${i}.swiper.wrapper`,n,a),k=["A11y"],C=[...(t==null?void 0:t.filter(e=>e!=="Pagination"))??[],...k].map(e=>G[e]),p=t==null?void 0:t.includes("Navigation"),T=t==null?void 0:t.includes("Pagination"),[y,D]=o.useState(),[L,d]=o.useState(0);return s.jsxs(z.AlertsControllerContextProvider,{controller:y,children:[p&&s.jsx(q,{themeName:`${i}.navigation.button`,tokens:{...n,order:"prev"},ref:f,"aria-label":r==null?void 0:r.prevSlideMessage}),p&&s.jsx(b,{themeName:`${i}.navigation.button`,tokens:{...n,order:"next"},ref:B,"aria-label":r==null?void 0:r.nextSlideMessage}),T&&s.jsx(F,{themeName:`${i}.pagination`,tokens:n,activeIndex:L,alerts:u,paginationGroupLabel:P}),s.jsx(x.Swiper,{tabIndex:0,...$,onSwiper:e=>{D(e),d(e.activeIndex)},onSlideChange:e=>d(e.activeIndex),role:"group","aria-roledescription":R??void 0,slidesPerView:w,spaceBetween:N,className:I,wrapperClass:M,modules:C,keyboard:{enabled:!0,onlyInViewport:!1},a11y:r,children:u.map(e=>{const{id:l,title:g,ariaLabel:V}=e;return s.jsx(x.SwiperSlide,{className:j,...g?{"aria-labelledby":l}:{"aria-label":V},id:W(`${l}-${g}`),role:A,"aria-roledescription":S??void 0,children:h({...e,themeName:`${i}.item`,tokens:n})},l)})})]})};module.exports=H;
1
+ "use strict";const s=require("react/jsx-runtime"),o=require("react"),W=require("./index136.js"),G=require("./index137.js"),x=require("./index106.js"),z=require("./index138.js"),c=require("./index64.js"),E=require("./index35.js");;/* empty css */;/* empty css */const m=require("./index141.js"),F=require("./index142.js"),H=v=>{const{themeName:i,tokens:n,customTheme:a,children:h=e=>s.jsx(E,{...e}),alerts:u,a11y:r,slidesPerView:w=1,spaceBetween:N=50,modules:t,prevButton:q=m.AlertsPrevNavigationButton,nextButton:b=m.AlertsNextNavigationButton,...$}=v,f=o.useRef(null),B=o.useRef(null),{itemRoleDescriptionMessage:S="slide",slideRole:A="group",containerRoleDescriptionMessage:R="carousel",paginationGroupLabel:P="pagination"}=r??{},j=c(`${i}.item.wrapper`,n,a),I=c(`${i}.swiper.swiper`,n,a),M=c(`${i}.swiper.wrapper`,n,a),k=["A11y"],C=[...(t==null?void 0:t.filter(e=>e!=="Pagination"))??[],...k].map(e=>G[e]),p=t==null?void 0:t.includes("Navigation"),T=t==null?void 0:t.includes("Pagination"),[y,D]=o.useState(),[L,d]=o.useState(0);return s.jsxs(z.AlertsControllerContextProvider,{controller:y,children:[p&&s.jsx(q,{themeName:`${i}.navigation.button`,tokens:{...n,order:"prev"},ref:f,"aria-label":r==null?void 0:r.prevSlideMessage}),p&&s.jsx(b,{themeName:`${i}.navigation.button`,tokens:{...n,order:"next"},ref:B,"aria-label":r==null?void 0:r.nextSlideMessage}),T&&s.jsx(F,{themeName:`${i}.pagination`,tokens:n,activeIndex:L,alerts:u,paginationGroupLabel:P}),s.jsx(x.Swiper,{tabIndex:0,...$,onSwiper:e=>{D(e),d(e.activeIndex)},onSlideChange:e=>d(e.activeIndex),role:"group","aria-roledescription":R??void 0,slidesPerView:w,spaceBetween:N,className:I,wrapperClass:M,modules:C,keyboard:{enabled:!0,onlyInViewport:!1},a11y:r,children:u.map(e=>{const{id:l,title:g,ariaLabel:V}=e;return s.jsx(x.SwiperSlide,{className:j,...g?{"aria-labelledby":l}:{"aria-label":V},id:W(`${l}-${g}`),role:A,"aria-roledescription":S??void 0,children:h({...e,themeName:`${i}.item`,tokens:n})},l)})})]})};module.exports=H;
package/index129.mjs CHANGED
@@ -1,15 +1,15 @@
1
1
  import { jsxs as W, jsx as n } from "react/jsx-runtime";
2
2
  import { useRef as u, useState as g } from "react";
3
- import G from "./index135.mjs";
4
- import * as q from "./index136.mjs";
3
+ import G from "./index136.mjs";
4
+ import * as q from "./index137.mjs";
5
5
  import { Swiper as z, SwiperSlide as E } from "./index106.mjs";
6
- import { AlertsControllerContextProvider as F } from "./index137.mjs";
6
+ import { AlertsControllerContextProvider as F } from "./index138.mjs";
7
7
  import l from "./index64.mjs";
8
8
  import H from "./index35.mjs";
9
9
  /* empty css */
10
10
  /* empty css */
11
- import { AlertsPrevNavigationButton as J, AlertsNextNavigationButton as K } from "./index140.mjs";
12
- import O from "./index141.mjs";
11
+ import { AlertsPrevNavigationButton as J, AlertsNextNavigationButton as K } from "./index141.mjs";
12
+ import O from "./index142.mjs";
13
13
  const ne = (f) => {
14
14
  const {
15
15
  themeName: o,
package/index133.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index183.js"),$=require("./index194.js");function l(e,t){return t=u.toCalendar(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function f(e,t){let n=e.calendar.toJulianDay(e),a=Math.ceil(n+1-g(t))%7;return a<0&&(a+=7),a}function d(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function s(e,t){return c(e)-c(t)}function c(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let r=null;function m(){return r==null&&(r=new Intl.DateTimeFormat().resolvedOptions().timeZone),r}function i(e){return e.subtract({days:e.day-1})}const o=new Map;function y(e){if(Intl.Locale){let n=o.get(e);return n||(n=new Intl.Locale(e).maximize().region,n&&o.set(e,n)),n}let t=e.split("-")[1];return t==="u"?void 0:t}function g(e){let t=y(e);return t&&$.weekStartData[t]||0}function p(e,t){let n=e.calendar.getDaysInMonth(e);return Math.ceil((f(i(e),t)+n)/7)}exports.compareDate=d;exports.compareTime=s;exports.getDayOfWeek=f;exports.getLocalTimeZone=m;exports.getWeeksInMonth=p;exports.isSameDay=l;exports.startOfMonth=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index242.js"),l=require("@react-aria/utils"),u=require("@react-aria/focus");function t(a,e,r){let n=u.useHasTabbableChild(r)?void 0:0;var i;const b=d.generateId(e,(i=a.id)!==null&&i!==void 0?i:e==null?void 0:e.selectedKey,"tabpanel"),o=l.useLabels({...a,id:b,"aria-labelledby":d.generateId(e,e==null?void 0:e.selectedKey,"tab")});return{tabPanelProps:l.mergeProps(o,{tabIndex:n,role:"tabpanel","aria-describedby":a["aria-describedby"],"aria-details":a["aria-details"]})}}exports.useTabPanel=t;
package/index133.mjs CHANGED
@@ -1,53 +1,23 @@
1
- import { toCalendar as o } from "./index183.mjs";
2
- import { weekStartData as i } from "./index194.mjs";
3
- function p(e, a) {
4
- return a = o(a, e.calendar), e.era === a.era && e.year === a.year && e.month === a.month && e.day === a.day;
5
- }
6
- function $(e, a) {
7
- let t = e.calendar.toJulianDay(e), n = Math.ceil(t + 1 - d(a)) % 7;
8
- return n < 0 && (n += 7), n;
9
- }
10
- function y(e, a) {
11
- return e.calendar.toJulianDay(e) - a.calendar.toJulianDay(a);
12
- }
13
- function g(e, a) {
14
- return c(e) - c(a);
15
- }
16
- function c(e) {
17
- return e.hour * 36e5 + e.minute * 6e4 + e.second * 1e3 + e.millisecond;
18
- }
19
- let r = null;
20
- function x() {
21
- return r == null && (r = new Intl.DateTimeFormat().resolvedOptions().timeZone), r;
22
- }
23
- function u(e) {
24
- return e.subtract({
25
- days: e.day - 1
1
+ import { generateId as i } from "./index242.mjs";
2
+ import { useLabels as n, mergeProps as c } from "@react-aria/utils";
3
+ import { useHasTabbableChild as f } from "@react-aria/focus";
4
+ function m(a, e, l) {
5
+ let r = f(l) ? void 0 : 0;
6
+ var d;
7
+ const b = i(e, (d = a.id) !== null && d !== void 0 ? d : e == null ? void 0 : e.selectedKey, "tabpanel"), o = n({
8
+ ...a,
9
+ id: b,
10
+ "aria-labelledby": i(e, e == null ? void 0 : e.selectedKey, "tab")
26
11
  });
27
- }
28
- const f = /* @__PURE__ */ new Map();
29
- function l(e) {
30
- if (Intl.Locale) {
31
- let t = f.get(e);
32
- return t || (t = new Intl.Locale(e).maximize().region, t && f.set(e, t)), t;
33
- }
34
- let a = e.split("-")[1];
35
- return a === "u" ? void 0 : a;
36
- }
37
- function d(e) {
38
- let a = l(e);
39
- return a && i[a] || 0;
40
- }
41
- function h(e, a) {
42
- let t = e.calendar.getDaysInMonth(e);
43
- return Math.ceil(($(u(e), a) + t) / 7);
12
+ return {
13
+ tabPanelProps: c(o, {
14
+ tabIndex: r,
15
+ role: "tabpanel",
16
+ "aria-describedby": a["aria-describedby"],
17
+ "aria-details": a["aria-details"]
18
+ })
19
+ };
44
20
  }
45
21
  export {
46
- y as compareDate,
47
- g as compareTime,
48
- $ as getDayOfWeek,
49
- x as getLocalTimeZone,
50
- h as getWeeksInMonth,
51
- p as isSameDay,
52
- u as startOfMonth
22
+ m as useTabPanel
53
23
  };
package/index134.js CHANGED
@@ -1 +1 @@
1
- "use strict";const r=require("react/jsx-runtime"),s=require("./index133.js"),P=require("@react-aria/calendar"),j=require("@react-aria/focus"),v=require("@react-aria/utils"),O=require("react"),F=require("react-aria"),o=require("./index64.js");function I({themeName:c="calendar",tokens:l,state:e,date:i}){const u=O.useRef(null),{cellProps:f,buttonProps:q,isSelected:n,isOutsideVisibleRange:D,isDisabled:d,formattedDate:y,isInvalid:a}=P.useCalendarCell({date:i},e,u),h=e!=null&&e.highlightedRange?s.isSameDay(i,e==null?void 0:e.highlightedRange.start):n,g=e!=null&&e.highlightedRange?s.isSameDay(i,e==null?void 0:e.highlightedRange.end):n,{locale:C}=F.useLocale(),R=s.getDayOfWeek(i,C),S=n&&(h||R===0||i.day===1),b=n&&(g||R===6||i.day===i.calendar.getDaysInMonth(i)),{focusProps:m,isFocusVisible:p}=j.useFocusRing(),$=o(`${c}.cellContainer`,{...l,isFocusVisible:p}),t=o(`${c}.cell`,{...l,isSelected:n,isInvalid:a,isDisabled:d,isRoundedLeft:S,isRoundedRight:b}),x=o(`${c}.cellDate`,{...l,isSelected:n,isInvalid:a,isDisabled:d,isSelectionStart:h,isSelectionEnd:g});return r.jsx("td",{...f,"aria-disabled":!1,className:$,children:r.jsx("div",{...v.mergeProps(q,m),ref:u,hidden:D,className:t,children:r.jsx("div",{className:x,children:y})})})}module.exports=I;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index183.js"),$=require("./index194.js");function l(e,t){return t=u.toCalendar(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function f(e,t){let n=e.calendar.toJulianDay(e),a=Math.ceil(n+1-g(t))%7;return a<0&&(a+=7),a}function d(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function s(e,t){return c(e)-c(t)}function c(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let r=null;function m(){return r==null&&(r=new Intl.DateTimeFormat().resolvedOptions().timeZone),r}function i(e){return e.subtract({days:e.day-1})}const o=new Map;function y(e){if(Intl.Locale){let n=o.get(e);return n||(n=new Intl.Locale(e).maximize().region,n&&o.set(e,n)),n}let t=e.split("-")[1];return t==="u"?void 0:t}function g(e){let t=y(e);return t&&$.weekStartData[t]||0}function p(e,t){let n=e.calendar.getDaysInMonth(e);return Math.ceil((f(i(e),t)+n)/7)}exports.compareDate=d;exports.compareTime=s;exports.getDayOfWeek=f;exports.getLocalTimeZone=m;exports.getWeeksInMonth=p;exports.isSameDay=l;exports.startOfMonth=i;
package/index134.mjs CHANGED
@@ -1,29 +1,53 @@
1
- import { jsx as c } from "react/jsx-runtime";
2
- import { isSameDay as g, getDayOfWeek as v } from "./index133.mjs";
3
- import { useCalendarCell as O } from "@react-aria/calendar";
4
- import { useFocusRing as T } from "@react-aria/focus";
5
- import { mergeProps as F } from "@react-aria/utils";
6
- import { useRef as I } from "react";
7
- import { useLocale as L } from "react-aria";
8
- import r from "./index64.mjs";
9
- function w({ themeName: l = "calendar", tokens: n, state: e, date: o }) {
10
- const s = I(null), { cellProps: u, buttonProps: p, isSelected: i, isOutsideVisibleRange: R, isDisabled: d, formattedDate: $, isInvalid: f } = O({ date: o }, e, s), a = e != null && e.highlightedRange ? g(o, e == null ? void 0 : e.highlightedRange.start) : i, m = e != null && e.highlightedRange ? g(o, e == null ? void 0 : e.highlightedRange.end) : i, { locale: C } = L(), h = v(o, C), D = i && (a || h === 0 || o.day === 1), y = i && (m || h === 6 || o.day === o.calendar.getDaysInMonth(o)), { focusProps: b, isFocusVisible: x } = T(), S = r(`${l}.cellContainer`, { ...n, isFocusVisible: x }), t = r(`${l}.cell`, {
11
- ...n,
12
- isSelected: i,
13
- isInvalid: f,
14
- isDisabled: d,
15
- isRoundedLeft: D,
16
- isRoundedRight: y
17
- }), P = r(`${l}.cellDate`, {
18
- ...n,
19
- isSelected: i,
20
- isInvalid: f,
21
- isDisabled: d,
22
- isSelectionStart: a,
23
- isSelectionEnd: m
1
+ import { toCalendar as o } from "./index183.mjs";
2
+ import { weekStartData as i } from "./index194.mjs";
3
+ function p(e, a) {
4
+ return a = o(a, e.calendar), e.era === a.era && e.year === a.year && e.month === a.month && e.day === a.day;
5
+ }
6
+ function $(e, a) {
7
+ let t = e.calendar.toJulianDay(e), n = Math.ceil(t + 1 - d(a)) % 7;
8
+ return n < 0 && (n += 7), n;
9
+ }
10
+ function y(e, a) {
11
+ return e.calendar.toJulianDay(e) - a.calendar.toJulianDay(a);
12
+ }
13
+ function g(e, a) {
14
+ return c(e) - c(a);
15
+ }
16
+ function c(e) {
17
+ return e.hour * 36e5 + e.minute * 6e4 + e.second * 1e3 + e.millisecond;
18
+ }
19
+ let r = null;
20
+ function x() {
21
+ return r == null && (r = new Intl.DateTimeFormat().resolvedOptions().timeZone), r;
22
+ }
23
+ function u(e) {
24
+ return e.subtract({
25
+ days: e.day - 1
24
26
  });
25
- return /* @__PURE__ */ c("td", { ...u, "aria-disabled": !1, className: S, children: /* @__PURE__ */ c("div", { ...F(p, b), ref: s, hidden: R, className: t, children: /* @__PURE__ */ c("div", { className: P, children: $ }) }) });
27
+ }
28
+ const f = /* @__PURE__ */ new Map();
29
+ function l(e) {
30
+ if (Intl.Locale) {
31
+ let t = f.get(e);
32
+ return t || (t = new Intl.Locale(e).maximize().region, t && f.set(e, t)), t;
33
+ }
34
+ let a = e.split("-")[1];
35
+ return a === "u" ? void 0 : a;
36
+ }
37
+ function d(e) {
38
+ let a = l(e);
39
+ return a && i[a] || 0;
40
+ }
41
+ function h(e, a) {
42
+ let t = e.calendar.getDaysInMonth(e);
43
+ return Math.ceil(($(u(e), a) + t) / 7);
26
44
  }
27
45
  export {
28
- w as default
46
+ y as compareDate,
47
+ g as compareTime,
48
+ $ as getDayOfWeek,
49
+ x as getLocalTimeZone,
50
+ h as getWeeksInMonth,
51
+ p as isSameDay,
52
+ u as startOfMonth
29
53
  };
package/index135.js CHANGED
@@ -1 +1 @@
1
- "use strict";const c=require("./index163.js"),h=require("./index210.js");(function(t,A){(function(i,s,n){t.exports=n(),t.exports.default=n()})("slugify",c.commonjsGlobal,function(){var i=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),s=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function n(o,e){if(typeof o!="string")throw new Error("slugify: string argument expected");e=typeof e=="string"?{replacement:e}:e||{};var d=s[e.locale]||{},l=e.replacement===void 0?"-":e.replacement,m=e.trim===void 0?!0:e.trim,a=o.normalize().split("").reduce(function(f,u){var r=d[u];return r===void 0&&(r=i[u]),r===void 0&&(r=u),r===l&&(r=" "),f+r.replace(e.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return e.strict&&(a=a.replace(/[^A-Za-z0-9\s]/g,"")),m&&(a=a.trim()),a=a.replace(/\s+/g,l),e.lower&&(a=a.toLowerCase()),a}return n.extend=function(o){Object.assign(i,o)},n})})(h.__module);var E=h.__module.exports;const y=c.getDefaultExportFromCjs(E);module.exports=y;
1
+ "use strict";const r=require("react/jsx-runtime"),s=require("./index134.js"),P=require("@react-aria/calendar"),j=require("@react-aria/focus"),v=require("@react-aria/utils"),O=require("react"),F=require("react-aria"),o=require("./index64.js");function I({themeName:c="calendar",tokens:l,state:e,date:i}){const u=O.useRef(null),{cellProps:f,buttonProps:q,isSelected:n,isOutsideVisibleRange:D,isDisabled:d,formattedDate:y,isInvalid:a}=P.useCalendarCell({date:i},e,u),h=e!=null&&e.highlightedRange?s.isSameDay(i,e==null?void 0:e.highlightedRange.start):n,g=e!=null&&e.highlightedRange?s.isSameDay(i,e==null?void 0:e.highlightedRange.end):n,{locale:C}=F.useLocale(),R=s.getDayOfWeek(i,C),S=n&&(h||R===0||i.day===1),b=n&&(g||R===6||i.day===i.calendar.getDaysInMonth(i)),{focusProps:m,isFocusVisible:p}=j.useFocusRing(),$=o(`${c}.cellContainer`,{...l,isFocusVisible:p}),t=o(`${c}.cell`,{...l,isSelected:n,isInvalid:a,isDisabled:d,isRoundedLeft:S,isRoundedRight:b}),x=o(`${c}.cellDate`,{...l,isSelected:n,isInvalid:a,isDisabled:d,isSelectionStart:h,isSelectionEnd:g});return r.jsx("td",{...f,"aria-disabled":!1,className:$,children:r.jsx("div",{...v.mergeProps(q,m),ref:u,hidden:D,className:t,children:r.jsx("div",{className:x,children:y})})})}module.exports=I;
package/index135.mjs CHANGED
@@ -1,27 +1,29 @@
1
- import { commonjsGlobal as f, getDefaultExportFromCjs as E } from "./index163.mjs";
2
- import { __module as c } from "./index210.mjs";
3
- (function(t, A) {
4
- (function(i, s, n) {
5
- t.exports = n(), t.exports.default = n();
6
- })("slugify", f, function() {
7
- var i = JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`), s = JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');
8
- function n(o, e) {
9
- if (typeof o != "string")
10
- throw new Error("slugify: string argument expected");
11
- e = typeof e == "string" ? { replacement: e } : e || {};
12
- var h = s[e.locale] || {}, l = e.replacement === void 0 ? "-" : e.replacement, d = e.trim === void 0 ? !0 : e.trim, a = o.normalize().split("").reduce(function(m, u) {
13
- var r = h[u];
14
- return r === void 0 && (r = i[u]), r === void 0 && (r = u), r === l && (r = " "), m + r.replace(e.remove || /[^\w\s$*_+~.()'"!\-:@]+/g, "");
15
- }, "");
16
- return e.strict && (a = a.replace(/[^A-Za-z0-9\s]/g, "")), d && (a = a.trim()), a = a.replace(/\s+/g, l), e.lower && (a = a.toLowerCase()), a;
17
- }
18
- return n.extend = function(o) {
19
- Object.assign(i, o);
20
- }, n;
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ import { isSameDay as g, getDayOfWeek as v } from "./index134.mjs";
3
+ import { useCalendarCell as O } from "@react-aria/calendar";
4
+ import { useFocusRing as T } from "@react-aria/focus";
5
+ import { mergeProps as F } from "@react-aria/utils";
6
+ import { useRef as I } from "react";
7
+ import { useLocale as L } from "react-aria";
8
+ import r from "./index64.mjs";
9
+ function w({ themeName: l = "calendar", tokens: n, state: e, date: o }) {
10
+ const s = I(null), { cellProps: u, buttonProps: p, isSelected: i, isOutsideVisibleRange: R, isDisabled: d, formattedDate: $, isInvalid: f } = O({ date: o }, e, s), a = e != null && e.highlightedRange ? g(o, e == null ? void 0 : e.highlightedRange.start) : i, m = e != null && e.highlightedRange ? g(o, e == null ? void 0 : e.highlightedRange.end) : i, { locale: C } = L(), h = v(o, C), D = i && (a || h === 0 || o.day === 1), y = i && (m || h === 6 || o.day === o.calendar.getDaysInMonth(o)), { focusProps: b, isFocusVisible: x } = T(), S = r(`${l}.cellContainer`, { ...n, isFocusVisible: x }), t = r(`${l}.cell`, {
11
+ ...n,
12
+ isSelected: i,
13
+ isInvalid: f,
14
+ isDisabled: d,
15
+ isRoundedLeft: D,
16
+ isRoundedRight: y
17
+ }), P = r(`${l}.cellDate`, {
18
+ ...n,
19
+ isSelected: i,
20
+ isInvalid: f,
21
+ isDisabled: d,
22
+ isSelectionStart: a,
23
+ isSelectionEnd: m
21
24
  });
22
- })(c);
23
- var y = c.exports;
24
- const O = /* @__PURE__ */ E(y);
25
+ return /* @__PURE__ */ c("td", { ...u, "aria-disabled": !1, className: S, children: /* @__PURE__ */ c("div", { ...F(p, b), ref: s, hidden: R, className: t, children: /* @__PURE__ */ c("div", { className: P, children: $ }) }) });
26
+ }
25
27
  export {
26
- O as default
28
+ w as default
27
29
  };
package/index136.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index143.js"),r=require("./index100.js"),t=require("./index101.js"),o=require("./index102.js"),i=require("./index103.js"),a=require("./index144.js"),c=require("./index145.js"),n=require("./index146.js"),u=require("./index147.js"),s=require("./index104.js"),f=require("./index148.js"),l=require("./index149.js"),q=require("./index105.js"),d=require("./index150.js"),b=require("./index151.js"),v=require("./index152.js"),y=require("./index153.js"),g=require("./index154.js"),p=require("./index155.js"),C=require("./index156.js"),h=require("./index157.js"),m=require("./index158.js"),E=require("./index159.js");exports.Virtual=e;exports.Keyboard=r;exports.Mousewheel=t;exports.Navigation=o;exports.Pagination=i;exports.Scrollbar=a;exports.Parallax=c;exports.Zoom=n;exports.Controller=u;exports.A11y=s;exports.History=f;exports.HashNavigation=l;exports.Autoplay=q;exports.Thumbs=d;exports.FreeMode=b;exports.Grid=v;exports.Manipulation=y;exports.EffectFade=g;exports.EffectCube=p;exports.EffectFlip=C;exports.EffectCoverflow=h;exports.EffectCreative=m;exports.EffectCards=E;
1
+ "use strict";const c=require("./index163.js"),h=require("./index210.js");(function(t,A){(function(i,s,n){t.exports=n(),t.exports.default=n()})("slugify",c.commonjsGlobal,function(){var i=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),s=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function n(o,e){if(typeof o!="string")throw new Error("slugify: string argument expected");e=typeof e=="string"?{replacement:e}:e||{};var d=s[e.locale]||{},l=e.replacement===void 0?"-":e.replacement,m=e.trim===void 0?!0:e.trim,a=o.normalize().split("").reduce(function(f,u){var r=d[u];return r===void 0&&(r=i[u]),r===void 0&&(r=u),r===l&&(r=" "),f+r.replace(e.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return e.strict&&(a=a.replace(/[^A-Za-z0-9\s]/g,"")),m&&(a=a.trim()),a=a.replace(/\s+/g,l),e.lower&&(a=a.toLowerCase()),a}return n.extend=function(o){Object.assign(i,o)},n})})(h.__module);var E=h.__module.exports;const y=c.getDefaultExportFromCjs(E);module.exports=y;
package/index136.mjs CHANGED
@@ -1,48 +1,27 @@
1
- import { default as o } from "./index143.mjs";
2
- import { default as f } from "./index100.mjs";
3
- import { default as l } from "./index101.mjs";
4
- import { default as d } from "./index102.mjs";
5
- import { default as p } from "./index103.mjs";
6
- import { default as x } from "./index144.mjs";
7
- import { default as c } from "./index145.mjs";
8
- import { default as E } from "./index146.mjs";
9
- import { default as b } from "./index147.mjs";
10
- import { default as y } from "./index104.mjs";
11
- import { default as h } from "./index148.mjs";
12
- import { default as M } from "./index149.mjs";
13
- import { default as A } from "./index105.mjs";
14
- import { default as N } from "./index150.mjs";
15
- import { default as G } from "./index151.mjs";
16
- import { default as S } from "./index152.mjs";
17
- import { default as V } from "./index153.mjs";
18
- import { default as j } from "./index154.mjs";
19
- import { default as q } from "./index155.mjs";
20
- import { default as B } from "./index156.mjs";
21
- import { default as I } from "./index157.mjs";
22
- import { default as L } from "./index158.mjs";
23
- import { default as Q } from "./index159.mjs";
1
+ import { commonjsGlobal as f, getDefaultExportFromCjs as E } from "./index163.mjs";
2
+ import { __module as c } from "./index210.mjs";
3
+ (function(t, A) {
4
+ (function(i, s, n) {
5
+ t.exports = n(), t.exports.default = n();
6
+ })("slugify", f, function() {
7
+ var i = JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`), s = JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');
8
+ function n(o, e) {
9
+ if (typeof o != "string")
10
+ throw new Error("slugify: string argument expected");
11
+ e = typeof e == "string" ? { replacement: e } : e || {};
12
+ var h = s[e.locale] || {}, l = e.replacement === void 0 ? "-" : e.replacement, d = e.trim === void 0 ? !0 : e.trim, a = o.normalize().split("").reduce(function(m, u) {
13
+ var r = h[u];
14
+ return r === void 0 && (r = i[u]), r === void 0 && (r = u), r === l && (r = " "), m + r.replace(e.remove || /[^\w\s$*_+~.()'"!\-:@]+/g, "");
15
+ }, "");
16
+ return e.strict && (a = a.replace(/[^A-Za-z0-9\s]/g, "")), d && (a = a.trim()), a = a.replace(/\s+/g, l), e.lower && (a = a.toLowerCase()), a;
17
+ }
18
+ return n.extend = function(o) {
19
+ Object.assign(i, o);
20
+ }, n;
21
+ });
22
+ })(c);
23
+ var y = c.exports;
24
+ const O = /* @__PURE__ */ E(y);
24
25
  export {
25
- y as A11y,
26
- A as Autoplay,
27
- b as Controller,
28
- Q as EffectCards,
29
- I as EffectCoverflow,
30
- L as EffectCreative,
31
- q as EffectCube,
32
- j as EffectFade,
33
- B as EffectFlip,
34
- G as FreeMode,
35
- S as Grid,
36
- M as HashNavigation,
37
- h as History,
38
- f as Keyboard,
39
- V as Manipulation,
40
- l as Mousewheel,
41
- d as Navigation,
42
- p as Pagination,
43
- c as Parallax,
44
- x as Scrollbar,
45
- N as Thumbs,
46
- o as Virtual,
47
- E as Zoom
26
+ O as default
48
27
  };
package/index137.js CHANGED
@@ -1,2 +1 @@
1
- "use client";
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),s=require("./index131.js"),c=require("react"),[u,r]=s.createCtxNullable();function i(t){const{controller:e,children:o}=t,l=c.useMemo(()=>({controller:e}),[e]);return n.jsx(r,{value:l,children:o})}exports.AlertsControllerContextProvider=i;exports.AlertsControllerProvider=r;exports.useAlertsController=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index143.js"),r=require("./index100.js"),t=require("./index101.js"),o=require("./index102.js"),i=require("./index103.js"),a=require("./index144.js"),c=require("./index145.js"),n=require("./index146.js"),u=require("./index147.js"),s=require("./index104.js"),f=require("./index148.js"),l=require("./index149.js"),q=require("./index105.js"),d=require("./index150.js"),b=require("./index151.js"),v=require("./index152.js"),y=require("./index153.js"),g=require("./index154.js"),p=require("./index155.js"),C=require("./index156.js"),h=require("./index157.js"),m=require("./index158.js"),E=require("./index159.js");exports.Virtual=e;exports.Keyboard=r;exports.Mousewheel=t;exports.Navigation=o;exports.Pagination=i;exports.Scrollbar=a;exports.Parallax=c;exports.Zoom=n;exports.Controller=u;exports.A11y=s;exports.History=f;exports.HashNavigation=l;exports.Autoplay=q;exports.Thumbs=d;exports.FreeMode=b;exports.Grid=v;exports.Manipulation=y;exports.EffectFade=g;exports.EffectCube=p;exports.EffectFlip=C;exports.EffectCoverflow=h;exports.EffectCreative=m;exports.EffectCards=E;
package/index137.mjs CHANGED
@@ -1,14 +1,48 @@
1
- "use client";
2
- import { jsx as l } from "react/jsx-runtime";
3
- import { createCtxNullable as n } from "./index131.mjs";
4
- import { useMemo as s } from "react";
5
- const [C, c] = n();
6
- function f(o) {
7
- const { controller: r, children: e } = o, t = s(() => ({ controller: r }), [r]);
8
- return /* @__PURE__ */ l(c, { value: t, children: e });
9
- }
1
+ import { default as o } from "./index143.mjs";
2
+ import { default as f } from "./index100.mjs";
3
+ import { default as l } from "./index101.mjs";
4
+ import { default as d } from "./index102.mjs";
5
+ import { default as p } from "./index103.mjs";
6
+ import { default as x } from "./index144.mjs";
7
+ import { default as c } from "./index145.mjs";
8
+ import { default as E } from "./index146.mjs";
9
+ import { default as b } from "./index147.mjs";
10
+ import { default as y } from "./index104.mjs";
11
+ import { default as h } from "./index148.mjs";
12
+ import { default as M } from "./index149.mjs";
13
+ import { default as A } from "./index105.mjs";
14
+ import { default as N } from "./index150.mjs";
15
+ import { default as G } from "./index151.mjs";
16
+ import { default as S } from "./index152.mjs";
17
+ import { default as V } from "./index153.mjs";
18
+ import { default as j } from "./index154.mjs";
19
+ import { default as q } from "./index155.mjs";
20
+ import { default as B } from "./index156.mjs";
21
+ import { default as I } from "./index157.mjs";
22
+ import { default as L } from "./index158.mjs";
23
+ import { default as Q } from "./index159.mjs";
10
24
  export {
11
- f as AlertsControllerContextProvider,
12
- c as AlertsControllerProvider,
13
- C as useAlertsController
25
+ y as A11y,
26
+ A as Autoplay,
27
+ b as Controller,
28
+ Q as EffectCards,
29
+ I as EffectCoverflow,
30
+ L as EffectCreative,
31
+ q as EffectCube,
32
+ j as EffectFade,
33
+ B as EffectFlip,
34
+ G as FreeMode,
35
+ S as Grid,
36
+ M as HashNavigation,
37
+ h as History,
38
+ f as Keyboard,
39
+ V as Manipulation,
40
+ l as Mousewheel,
41
+ d as Navigation,
42
+ p as Pagination,
43
+ c as Parallax,
44
+ x as Scrollbar,
45
+ N as Thumbs,
46
+ o as Virtual,
47
+ E as Zoom
14
48
  };
package/index138.js ADDED
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),s=require("./index131.js"),c=require("react"),[u,r]=s.createCtxNullable();function i(t){const{controller:e,children:o}=t,l=c.useMemo(()=>({controller:e}),[e]);return n.jsx(r,{value:l,children:o})}exports.AlertsControllerContextProvider=i;exports.AlertsControllerProvider=r;exports.useAlertsController=u;
package/index138.mjs ADDED
@@ -0,0 +1,14 @@
1
+ "use client";
2
+ import { jsx as l } from "react/jsx-runtime";
3
+ import { createCtxNullable as n } from "./index131.mjs";
4
+ import { useMemo as s } from "react";
5
+ const [C, c] = n();
6
+ function f(o) {
7
+ const { controller: r, children: e } = o, t = s(() => ({ controller: r }), [r]);
8
+ return /* @__PURE__ */ l(c, { value: t, children: e });
9
+ }
10
+ export {
11
+ f as AlertsControllerContextProvider,
12
+ c as AlertsControllerProvider,
13
+ C as useAlertsController
14
+ };
package/index141.js CHANGED
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),l=require("react-aria"),u=require("./index24.js"),p=require("./index165.js"),d=a=>{const{themeName:r,tokens:t,alerts:i,activeIndex:n,paginationGroupLabel:s}=a;return e.jsx(u.default,{as:"div",themeName:`${r}.wrapper`,tokens:t,role:"group","aria-label":s,children:e.jsx(l.FocusScope,{children:i.map((o,c)=>e.jsx(p,{index:c,activeIndex:n,alerts:i,themeName:r,tokens:t},JSON.stringify(o)))})})};module.exports=d;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),u=require("react"),c=require("react-aria"),l=require("./index138.js"),h=require("./index6.js"),v=require("./index13.js"),r=u.forwardRef((s,i)=>{const{themeName:e="alerts.navigationBtn",tokens:n,customTheme:a,children:x,onSubmit:o,...d}=s,{isDisabled:A}=d,{pressProps:f}=c.usePress({onPress:()=>o==null?void 0:o()});return t.jsx(c.FocusRing,{within:!0,focusRingClass:"has-focus-ring",children:t.jsx(h.ButtonWithForwardRef,{themeName:e,tokens:n,ref:i,...f,...d,"aria-disabled":A,children:x})})}),g=u.forwardRef((s,i)=>{var a;const{controller:e}=l.useAlertsController(),n=(e==null?void 0:e.activeIndex)===(((a=e==null?void 0:e.slides)==null?void 0:a.length)??1)-1;return t.jsx(r,{onSubmit:()=>e==null?void 0:e.slideNext(),...s,ref:i,isDisabled:n,children:t.jsx(v,{icon:"ArrowRight"})})}),N=u.forwardRef((s,i)=>{const{controller:e}=l.useAlertsController(),n=(e==null?void 0:e.activeIndex)===0;return t.jsx(r,{onSubmit:()=>e==null?void 0:e.slidePrev(),...s,ref:i,isDisabled:n,children:t.jsx(v,{icon:"ArrowLeft"})})});r.displayName="AlertsNavigationButton";g.displayName="AlertsNextNavigationButton";N.displayName="AlertsPrevNavigationButton";exports.AlertsNextNavigationButton=g;exports.AlertsPrevNavigationButton=N;exports.default=r;
package/index141.mjs CHANGED
@@ -1,31 +1,44 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { FocusScope as p } from "react-aria";
3
- import s from "./index24.mjs";
4
- import c from "./index165.mjs";
5
- const h = (a) => {
6
- const { themeName: r, tokens: o, alerts: t, activeIndex: i, paginationGroupLabel: n } = a;
7
- return /* @__PURE__ */ e(
8
- s,
9
- {
10
- as: "div",
11
- themeName: `${r}.wrapper`,
12
- tokens: o,
13
- role: "group",
14
- "aria-label": n,
15
- children: /* @__PURE__ */ e(p, { children: t.map((m, l) => /* @__PURE__ */ e(
16
- c,
17
- {
18
- index: l,
19
- activeIndex: i,
20
- alerts: t,
21
- themeName: r,
22
- tokens: o
23
- },
24
- JSON.stringify(m)
25
- )) })
26
- }
27
- );
28
- };
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { forwardRef as r } from "react";
3
+ import { usePress as N, FocusRing as g } from "react-aria";
4
+ import { useAlertsController as u } from "./index138.mjs";
5
+ import { ButtonWithForwardRef as h } from "./index6.mjs";
6
+ import c from "./index13.mjs";
7
+ const d = r(
8
+ (i, e) => {
9
+ const { themeName: t = "alerts.navigationBtn", tokens: a, customTheme: n, children: f, onSubmit: o, ...m } = i, { isDisabled: l } = m, { pressProps: p } = N({
10
+ onPress: () => o == null ? void 0 : o()
11
+ });
12
+ return /* @__PURE__ */ s(g, { within: !0, focusRingClass: "has-focus-ring", children: /* @__PURE__ */ s(
13
+ h,
14
+ {
15
+ themeName: t,
16
+ tokens: a,
17
+ ref: e,
18
+ ...p,
19
+ ...m,
20
+ "aria-disabled": l,
21
+ children: f
22
+ }
23
+ ) });
24
+ }
25
+ ), v = r(
26
+ (i, e) => {
27
+ var n;
28
+ const { controller: t } = u(), a = (t == null ? void 0 : t.activeIndex) === (((n = t == null ? void 0 : t.slides) == null ? void 0 : n.length) ?? 1) - 1;
29
+ return /* @__PURE__ */ s(d, { onSubmit: () => t == null ? void 0 : t.slideNext(), ...i, ref: e, isDisabled: a, children: /* @__PURE__ */ s(c, { icon: "ArrowRight" }) });
30
+ }
31
+ ), A = r(
32
+ (i, e) => {
33
+ const { controller: t } = u(), a = (t == null ? void 0 : t.activeIndex) === 0;
34
+ return /* @__PURE__ */ s(d, { onSubmit: () => t == null ? void 0 : t.slidePrev(), ...i, ref: e, isDisabled: a, children: /* @__PURE__ */ s(c, { icon: "ArrowLeft" }) });
35
+ }
36
+ );
37
+ d.displayName = "AlertsNavigationButton";
38
+ v.displayName = "AlertsNextNavigationButton";
39
+ A.displayName = "AlertsPrevNavigationButton";
29
40
  export {
30
- h as default
41
+ v as AlertsNextNavigationButton,
42
+ A as AlertsPrevNavigationButton,
43
+ d as default
31
44
  };
package/index142.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index242.js"),l=require("@react-aria/utils"),u=require("@react-aria/focus");function t(a,e,r){let n=u.useHasTabbableChild(r)?void 0:0;var i;const b=d.generateId(e,(i=a.id)!==null&&i!==void 0?i:e==null?void 0:e.selectedKey,"tabpanel"),o=l.useLabels({...a,id:b,"aria-labelledby":d.generateId(e,e==null?void 0:e.selectedKey,"tab")});return{tabPanelProps:l.mergeProps(o,{tabIndex:n,role:"tabpanel","aria-describedby":a["aria-describedby"],"aria-details":a["aria-details"]})}}exports.useTabPanel=t;
1
+ "use strict";const e=require("react/jsx-runtime"),l=require("react-aria"),u=require("./index24.js"),p=require("./index165.js"),d=a=>{const{themeName:r,tokens:t,alerts:i,activeIndex:n,paginationGroupLabel:s}=a;return e.jsx(u.default,{as:"div",themeName:`${r}.wrapper`,tokens:t,role:"group","aria-label":s,children:e.jsx(l.FocusScope,{children:i.map((o,c)=>e.jsx(p,{index:c,activeIndex:n,alerts:i,themeName:r,tokens:t},JSON.stringify(o)))})})};module.exports=d;
package/index142.mjs CHANGED
@@ -1,23 +1,31 @@
1
- import { generateId as i } from "./index242.mjs";
2
- import { useLabels as n, mergeProps as c } from "@react-aria/utils";
3
- import { useHasTabbableChild as f } from "@react-aria/focus";
4
- function m(a, e, l) {
5
- let r = f(l) ? void 0 : 0;
6
- var d;
7
- const b = i(e, (d = a.id) !== null && d !== void 0 ? d : e == null ? void 0 : e.selectedKey, "tabpanel"), o = n({
8
- ...a,
9
- id: b,
10
- "aria-labelledby": i(e, e == null ? void 0 : e.selectedKey, "tab")
11
- });
12
- return {
13
- tabPanelProps: c(o, {
14
- tabIndex: r,
15
- role: "tabpanel",
16
- "aria-describedby": a["aria-describedby"],
17
- "aria-details": a["aria-details"]
18
- })
19
- };
20
- }
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { FocusScope as p } from "react-aria";
3
+ import s from "./index24.mjs";
4
+ import c from "./index165.mjs";
5
+ const h = (a) => {
6
+ const { themeName: r, tokens: o, alerts: t, activeIndex: i, paginationGroupLabel: n } = a;
7
+ return /* @__PURE__ */ e(
8
+ s,
9
+ {
10
+ as: "div",
11
+ themeName: `${r}.wrapper`,
12
+ tokens: o,
13
+ role: "group",
14
+ "aria-label": n,
15
+ children: /* @__PURE__ */ e(p, { children: t.map((m, l) => /* @__PURE__ */ e(
16
+ c,
17
+ {
18
+ index: l,
19
+ activeIndex: i,
20
+ alerts: t,
21
+ themeName: r,
22
+ tokens: o
23
+ },
24
+ JSON.stringify(m)
25
+ )) })
26
+ }
27
+ );
28
+ };
21
29
  export {
22
- m as useTabPanel
30
+ h as default
23
31
  };
package/index165.js CHANGED
@@ -1 +1 @@
1
- "use strict";const y=require("react/jsx-runtime"),q=require("./index137.js"),a=require("react-aria"),A=require("./index135.js"),P=require("./index6.js"),g=l=>{const{themeName:d,tokens:c,alerts:r,activeIndex:x,index:t}=l,{controller:e}=q.useAlertsController(),s=a.useFocusManager(),b=t===0?r.length-1:t-1,p=t===r.length-1?0:t+1,{keyboardProps:v}=a.useKeyboard({onKeyUp:i=>{i.key==="ArrowLeft"&&(i.preventDefault(),s==null||s.focusPrevious({wrap:!0}),e==null||e.slideTo(b)),i.key==="ArrowRight"&&(i.preventDefault(),s==null||s.focusNext({wrap:!0}),e==null||e.slideTo(p))}}),{pressProps:$}=a.usePress({onPress:()=>e==null?void 0:e.slideTo(t)}),h=r[t],n=t===x,{title:o,id:f}=h,u=o&&o.length>0;return y.jsx(P.default,{as:"button",tabIndex:0,role:"button","aria-current":n?"true":"false","aria-disabled":n,"aria-label":u?void 0:`${t+1} / ${r.length}`,"aria-labelledby":u?A(`${f}-${o}`):void 0,...v,...$,themeName:`${d}.bullet`,tokens:{...c,active:n}})};module.exports=g;
1
+ "use strict";const y=require("react/jsx-runtime"),q=require("./index138.js"),a=require("react-aria"),A=require("./index136.js"),P=require("./index6.js"),g=l=>{const{themeName:d,tokens:c,alerts:r,activeIndex:x,index:t}=l,{controller:e}=q.useAlertsController(),s=a.useFocusManager(),b=t===0?r.length-1:t-1,p=t===r.length-1?0:t+1,{keyboardProps:v}=a.useKeyboard({onKeyUp:i=>{i.key==="ArrowLeft"&&(i.preventDefault(),s==null||s.focusPrevious({wrap:!0}),e==null||e.slideTo(b)),i.key==="ArrowRight"&&(i.preventDefault(),s==null||s.focusNext({wrap:!0}),e==null||e.slideTo(p))}}),{pressProps:$}=a.usePress({onPress:()=>e==null?void 0:e.slideTo(t)}),h=r[t],n=t===x,{title:o,id:f}=h,u=o&&o.length>0;return y.jsx(P.default,{as:"button",tabIndex:0,role:"button","aria-current":n?"true":"false","aria-disabled":n,"aria-label":u?void 0:`${t+1} / ${r.length}`,"aria-labelledby":u?A(`${f}-${o}`):void 0,...v,...$,themeName:`${d}.bullet`,tokens:{...c,active:n}})};module.exports=g;
package/index165.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as h } from "react/jsx-runtime";
2
- import { useAlertsController as y } from "./index137.mjs";
2
+ import { useAlertsController as y } from "./index138.mjs";
3
3
  import { useFocusManager as P, useKeyboard as g, usePress as k } from "react-aria";
4
- import A from "./index135.mjs";
4
+ import A from "./index136.mjs";
5
5
  import $ from "./index6.mjs";
6
6
  const D = (l) => {
7
7
  const { themeName: u, tokens: d, alerts: o, activeIndex: p, index: t } = l, { controller: e } = y(), s = P(), m = t === 0 ? o.length - 1 : t - 1, f = t === o.length - 1 ? 0 : t + 1, { keyboardProps: c } = g({
package/index179.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index180.js"),l=require("./index133.js"),d=require("./index181.js"),f=require("./index182.js"),u=require("./index183.js"),y=require("./index184.js");function m(s){let t=typeof s[0]=="object"?s.shift():new f.GregorianCalendar,e;if(typeof s[0]=="string")e=s.shift();else{let a=t.getEras();e=a[a.length-1]}let r=s.shift(),n=s.shift(),h=s.shift();return[t,e,r,n,h]}var p=new WeakMap;class c{copy(){return this.era?new c(this.calendar,this.era,this.year,this.month,this.day):new c(this.calendar,this.year,this.month,this.day)}add(t){return i.add(this,t)}subtract(t){return i.subtract(this,t)}set(t){return i.set(this,t)}cycle(t,e,r){return i.cycleDate(this,t,e,r)}toDate(t){return u.toDate(this,t)}toString(){return d.dateToString(this)}compare(t){return l.compareDate(this,t)}constructor(...t){y._class_private_field_init(this,p,{writable:!0,value:void 0});let[e,r,n,h,a]=m(t);this.calendar=e,this.era=r,this.year=n,this.month=h,this.day=a,i.constrain(this)}}var v=new WeakMap;class o{copy(){return this.era?new o(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new o(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return i.add(this,t)}subtract(t){return i.subtract(this,t)}set(t){return i.set(i.setTime(this,t),t)}cycle(t,e,r){switch(t){case"era":case"year":case"month":case"day":return i.cycleDate(this,t,e,r);default:return i.cycleTime(this,t,e,r)}}toDate(t,e){return u.toDate(this,t,e)}toString(){return d.dateTimeToString(this)}compare(t){let e=l.compareDate(this,t);return e===0?l.compareTime(this,u.toCalendarDateTime(t)):e}constructor(...t){y._class_private_field_init(this,v,{writable:!0,value:void 0});let[e,r,n,h,a]=m(t);this.calendar=e,this.era=r,this.year=n,this.month=h,this.day=a,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,i.constrain(this)}}exports.CalendarDate=c;exports.CalendarDateTime=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index180.js"),l=require("./index134.js"),d=require("./index181.js"),f=require("./index182.js"),u=require("./index183.js"),y=require("./index184.js");function m(s){let t=typeof s[0]=="object"?s.shift():new f.GregorianCalendar,e;if(typeof s[0]=="string")e=s.shift();else{let a=t.getEras();e=a[a.length-1]}let r=s.shift(),n=s.shift(),h=s.shift();return[t,e,r,n,h]}var p=new WeakMap;class c{copy(){return this.era?new c(this.calendar,this.era,this.year,this.month,this.day):new c(this.calendar,this.year,this.month,this.day)}add(t){return i.add(this,t)}subtract(t){return i.subtract(this,t)}set(t){return i.set(this,t)}cycle(t,e,r){return i.cycleDate(this,t,e,r)}toDate(t){return u.toDate(this,t)}toString(){return d.dateToString(this)}compare(t){return l.compareDate(this,t)}constructor(...t){y._class_private_field_init(this,p,{writable:!0,value:void 0});let[e,r,n,h,a]=m(t);this.calendar=e,this.era=r,this.year=n,this.month=h,this.day=a,i.constrain(this)}}var v=new WeakMap;class o{copy(){return this.era?new o(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new o(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return i.add(this,t)}subtract(t){return i.subtract(this,t)}set(t){return i.set(i.setTime(this,t),t)}cycle(t,e,r){switch(t){case"era":case"year":case"month":case"day":return i.cycleDate(this,t,e,r);default:return i.cycleTime(this,t,e,r)}}toDate(t,e){return u.toDate(this,t,e)}toString(){return d.dateTimeToString(this)}compare(t){let e=l.compareDate(this,t);return e===0?l.compareTime(this,u.toCalendarDateTime(t)):e}constructor(...t){y._class_private_field_init(this,v,{writable:!0,value:void 0});let[e,r,n,h,a]=m(t);this.calendar=e,this.era=r,this.year=n,this.month=h,this.day=a,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,i.constrain(this)}}exports.CalendarDate=c;exports.CalendarDateTime=o;
package/index179.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { add as n, subtract as o, set as $, cycleDate as f, constrain as l, setTime as b, cycleTime as x } from "./index180.mjs";
2
- import { compareDate as m, compareTime as v } from "./index133.mjs";
2
+ import { compareDate as m, compareTime as v } from "./index134.mjs";
3
3
  import { dateToString as w, dateTimeToString as D } from "./index181.mjs";
4
4
  import { GregorianCalendar as T } from "./index182.mjs";
5
5
  import { toDate as u, toCalendarDateTime as C } from "./index183.mjs";
package/index183.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("./index179.js"),D=require("./index180.js"),f=require("./index182.js"),y=require("./index133.js");function c(e){e=m(e,new f.GregorianCalendar);let t=f.getExtendedYear(e.era,e.year);return $(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function $(e,t,n,r,o,a,u){let i=new Date;return i.setUTCHours(r,o,a,u),i.setUTCFullYear(e,t-1,n),i.getTime()}function s(e,t){if(t==="UTC")return 0;if(e>0&&t===y.getLocalTimeZone())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:o,hour:a,minute:u,second:i}=p(e,t);return $(n,r,o,a,u,i,0)-Math.floor(e/1e3)*1e3}const d=new Map;function p(e,t){let n=d.get(t);n||(n=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),d.set(t,n));let r=n.formatToParts(new Date(e)),o={};for(let a of r)a.type!=="literal"&&(o[a.type]=a.value);return{year:o.era==="BC"||o.era==="B"?-o.year+1:+o.year,month:+o.month,day:+o.day,hour:o.hour==="24"?0:+o.hour,minute:+o.minute,second:+o.second}}const h=864e5;function C(e,t,n,r){return(n===r?[n]:[n,r]).filter(a=>v(e,t,a))}function v(e,t,n){let r=p(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function b(e,t,n="compatible"){let r=T(e);if(t==="UTC")return c(r);if(t===y.getLocalTimeZone()&&n==="compatible"){r=m(r,new f.GregorianCalendar);let l=new Date,g=f.getExtendedYear(r.era,r.year);return l.setFullYear(g,r.month-1,r.day),l.setHours(r.hour,r.minute,r.second,r.millisecond),l.getTime()}let o=c(r),a=s(o-h,t),u=s(o+h,t),i=C(r,t,o-a,o-u);if(i.length===1)return i[0];if(i.length>1)switch(n){case"compatible":case"earlier":return i[0];case"later":return i[i.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(n){case"earlier":return Math.min(o-a,o-u);case"compatible":case"later":return Math.max(o-a,o-u);case"reject":throw new RangeError("No such absolute time found")}}function x(e,t,n="compatible"){return new Date(b(e,t,n))}function T(e,t){let n=0,r=0,o=0,a=0;if("timeZone"in e)({hour:n,minute:r,second:o,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:n,minute:r,second:o,millisecond:a}=t),new w.CalendarDateTime(e.calendar,e.era,e.year,e.month,e.day,n,r,o,a)}function m(e,t){if(e.calendar.identifier===t.identifier)return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,D.constrain(r),r}exports.epochFromDate=c;exports.getTimeZoneOffset=s;exports.toAbsolute=b;exports.toCalendar=m;exports.toCalendarDateTime=T;exports.toDate=x;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("./index179.js"),D=require("./index180.js"),f=require("./index182.js"),y=require("./index134.js");function c(e){e=m(e,new f.GregorianCalendar);let t=f.getExtendedYear(e.era,e.year);return $(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function $(e,t,n,r,o,a,u){let i=new Date;return i.setUTCHours(r,o,a,u),i.setUTCFullYear(e,t-1,n),i.getTime()}function s(e,t){if(t==="UTC")return 0;if(e>0&&t===y.getLocalTimeZone())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:o,hour:a,minute:u,second:i}=p(e,t);return $(n,r,o,a,u,i,0)-Math.floor(e/1e3)*1e3}const d=new Map;function p(e,t){let n=d.get(t);n||(n=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),d.set(t,n));let r=n.formatToParts(new Date(e)),o={};for(let a of r)a.type!=="literal"&&(o[a.type]=a.value);return{year:o.era==="BC"||o.era==="B"?-o.year+1:+o.year,month:+o.month,day:+o.day,hour:o.hour==="24"?0:+o.hour,minute:+o.minute,second:+o.second}}const h=864e5;function C(e,t,n,r){return(n===r?[n]:[n,r]).filter(a=>v(e,t,a))}function v(e,t,n){let r=p(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function b(e,t,n="compatible"){let r=T(e);if(t==="UTC")return c(r);if(t===y.getLocalTimeZone()&&n==="compatible"){r=m(r,new f.GregorianCalendar);let l=new Date,g=f.getExtendedYear(r.era,r.year);return l.setFullYear(g,r.month-1,r.day),l.setHours(r.hour,r.minute,r.second,r.millisecond),l.getTime()}let o=c(r),a=s(o-h,t),u=s(o+h,t),i=C(r,t,o-a,o-u);if(i.length===1)return i[0];if(i.length>1)switch(n){case"compatible":case"earlier":return i[0];case"later":return i[i.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(n){case"earlier":return Math.min(o-a,o-u);case"compatible":case"later":return Math.max(o-a,o-u);case"reject":throw new RangeError("No such absolute time found")}}function x(e,t,n="compatible"){return new Date(b(e,t,n))}function T(e,t){let n=0,r=0,o=0,a=0;if("timeZone"in e)({hour:n,minute:r,second:o,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:n,minute:r,second:o,millisecond:a}=t),new w.CalendarDateTime(e.calendar,e.era,e.year,e.month,e.day,n,r,o,a)}function m(e,t){if(e.calendar.identifier===t.identifier)return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,D.constrain(r),r}exports.epochFromDate=c;exports.getTimeZoneOffset=s;exports.toAbsolute=b;exports.toCalendar=m;exports.toCalendarDateTime=T;exports.toDate=x;
package/index183.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { CalendarDateTime as w } from "./index179.mjs";
2
2
  import { constrain as x } from "./index180.mjs";
3
3
  import { GregorianCalendar as $, getExtendedYear as d } from "./index182.mjs";
4
- import { getLocalTimeZone as h } from "./index133.mjs";
4
+ import { getLocalTimeZone as h } from "./index134.mjs";
5
5
  function u(e) {
6
6
  e = b(e, new $());
7
7
  let t = d(e.era, e.year);
package/index37.js CHANGED
@@ -1 +1 @@
1
- "use strict";const d=require("react/jsx-runtime"),g=require("./index38.js"),D=require("./index130.js"),I=process.env.NEXT_PUBLIC_IMG_DOMAIN,f=o=>{const{fit:a,customTheme:p,thumbhash:t,description:c,width:u,height:h,id:r,filenameDownload:n,imgDomain:s=I,protocol:l="https",...m}=o;if(!r||!n)return null;if(!s)return console.warn("No image domain was provided"),null;const i=(()=>{try{const e=new URL(`/assets/${r}/${n}`,`${l}://${s}`);return e.searchParams.set("fit",a??"contain"),e}catch(e){return console.warn(e),null}})();return i==null?null:d.jsx(g,{alt:c??"",...t?{blurDataURL:D.createPngDataUri(t),placeholder:"blur"}:{},src:i.href,...m,width:u??void 0,height:h??void 0})};module.exports=f;
1
+ "use strict";const D=require("react/jsx-runtime"),$=require("./index38.js"),I=require("./index130.js"),b=process.env.NEXT_PUBLIC_IMG_DOMAIN,p=l=>{const{fit:h,customTheme:v,thumbhash:o,description:m,width:e,height:r,id:n,filenameDownload:i,imgDomain:s=b,protocol:d="https",focalPointX:c,focalPointY:a,...g}=l;if(!n||!i)return null;if(!s)return console.warn("No image domain was provided"),null;const u=(()=>{try{const t=new URL(`/assets/${n}/${i}`,`${d}://${s}`);return t.searchParams.set("fit",h??"contain"),t}catch(t){return console.warn(t),null}})();if(u==null)return null;const f=!!c&&!!a&&!!e&&!!r;return D.jsx($,{style:f?{objectFit:"cover",objectPosition:`${c/e*100}% ${a/r*100}%`}:void 0,alt:m??"",...o?{blurDataURL:I.createPngDataUri(o),placeholder:"blur"}:{},src:u.href,...g,width:e??void 0,height:r??void 0})};module.exports=p;
package/index37.mjs CHANGED
@@ -1,43 +1,49 @@
1
- import { jsx as g } from "react/jsx-runtime";
2
- import d from "./index38.mjs";
3
- import { createPngDataUri as f } from "./index130.mjs";
4
- const p = process.env.NEXT_PUBLIC_IMG_DOMAIN, $ = (s) => {
1
+ import { jsx as f } from "react/jsx-runtime";
2
+ import p from "./index38.mjs";
3
+ import { createPngDataUri as D } from "./index130.mjs";
4
+ const I = process.env.NEXT_PUBLIC_IMG_DOMAIN, j = (m) => {
5
5
  const {
6
- fit: a,
7
- customTheme: D,
6
+ fit: u,
7
+ customTheme: P,
8
8
  thumbhash: r,
9
- description: c,
10
- width: m,
11
- height: l,
12
- id: e,
13
- filenameDownload: o,
14
- imgDomain: n = p,
15
- protocol: u = "https",
16
- ...h
17
- } = s;
18
- if (!e || !o) return null;
19
- if (!n)
9
+ description: h,
10
+ width: o,
11
+ height: e,
12
+ id: i,
13
+ filenameDownload: n,
14
+ imgDomain: a = I,
15
+ protocol: d = "https",
16
+ focalPointX: s,
17
+ focalPointY: c,
18
+ ...g
19
+ } = m;
20
+ if (!i || !n) return null;
21
+ if (!a)
20
22
  return console.warn("No image domain was provided"), null;
21
- const i = (() => {
23
+ const l = (() => {
22
24
  try {
23
- const t = new URL(`/assets/${e}/${o}`, `${u}://${n}`);
24
- return t.searchParams.set("fit", a ?? "contain"), t;
25
+ const t = new URL(`/assets/${i}/${n}`, `${d}://${a}`);
26
+ return t.searchParams.set("fit", u ?? "contain"), t;
25
27
  } catch (t) {
26
28
  return console.warn(t), null;
27
29
  }
28
30
  })();
29
- return i == null ? null : /* @__PURE__ */ g(
30
- d,
31
+ return l == null ? null : /* @__PURE__ */ f(
32
+ p,
31
33
  {
32
- alt: c ?? "",
33
- ...r ? { blurDataURL: f(r), placeholder: "blur" } : {},
34
- src: i.href,
35
- ...h,
36
- width: m ?? void 0,
37
- height: l ?? void 0
34
+ style: !!s && !!c && !!o && !!e ? {
35
+ objectFit: "cover",
36
+ objectPosition: `${s / o * 100}% ${c / e * 100}%`
37
+ } : void 0,
38
+ alt: h ?? "",
39
+ ...r ? { blurDataURL: D(r), placeholder: "blur" } : {},
40
+ src: l.href,
41
+ ...g,
42
+ width: o ?? void 0,
43
+ height: e ?? void 0
38
44
  }
39
45
  );
40
46
  };
41
47
  export {
42
- $ as default
48
+ j as default
43
49
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@okam/stack-ui",
3
3
  "main": "./index.js",
4
- "version": "1.25.6",
4
+ "version": "1.26.0",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
7
7
  ".": {
package/index140.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),u=require("react"),c=require("react-aria"),l=require("./index137.js"),h=require("./index6.js"),v=require("./index13.js"),r=u.forwardRef((s,i)=>{const{themeName:e="alerts.navigationBtn",tokens:n,customTheme:a,children:x,onSubmit:o,...d}=s,{isDisabled:A}=d,{pressProps:f}=c.usePress({onPress:()=>o==null?void 0:o()});return t.jsx(c.FocusRing,{within:!0,focusRingClass:"has-focus-ring",children:t.jsx(h.ButtonWithForwardRef,{themeName:e,tokens:n,ref:i,...f,...d,"aria-disabled":A,children:x})})}),g=u.forwardRef((s,i)=>{var a;const{controller:e}=l.useAlertsController(),n=(e==null?void 0:e.activeIndex)===(((a=e==null?void 0:e.slides)==null?void 0:a.length)??1)-1;return t.jsx(r,{onSubmit:()=>e==null?void 0:e.slideNext(),...s,ref:i,isDisabled:n,children:t.jsx(v,{icon:"ArrowRight"})})}),N=u.forwardRef((s,i)=>{const{controller:e}=l.useAlertsController(),n=(e==null?void 0:e.activeIndex)===0;return t.jsx(r,{onSubmit:()=>e==null?void 0:e.slidePrev(),...s,ref:i,isDisabled:n,children:t.jsx(v,{icon:"ArrowLeft"})})});r.displayName="AlertsNavigationButton";g.displayName="AlertsNextNavigationButton";N.displayName="AlertsPrevNavigationButton";exports.AlertsNextNavigationButton=g;exports.AlertsPrevNavigationButton=N;exports.default=r;
package/index140.mjs DELETED
@@ -1,44 +0,0 @@
1
- import { jsx as s } from "react/jsx-runtime";
2
- import { forwardRef as r } from "react";
3
- import { usePress as N, FocusRing as g } from "react-aria";
4
- import { useAlertsController as u } from "./index137.mjs";
5
- import { ButtonWithForwardRef as h } from "./index6.mjs";
6
- import c from "./index13.mjs";
7
- const d = r(
8
- (i, e) => {
9
- const { themeName: t = "alerts.navigationBtn", tokens: a, customTheme: n, children: f, onSubmit: o, ...m } = i, { isDisabled: l } = m, { pressProps: p } = N({
10
- onPress: () => o == null ? void 0 : o()
11
- });
12
- return /* @__PURE__ */ s(g, { within: !0, focusRingClass: "has-focus-ring", children: /* @__PURE__ */ s(
13
- h,
14
- {
15
- themeName: t,
16
- tokens: a,
17
- ref: e,
18
- ...p,
19
- ...m,
20
- "aria-disabled": l,
21
- children: f
22
- }
23
- ) });
24
- }
25
- ), v = r(
26
- (i, e) => {
27
- var n;
28
- const { controller: t } = u(), a = (t == null ? void 0 : t.activeIndex) === (((n = t == null ? void 0 : t.slides) == null ? void 0 : n.length) ?? 1) - 1;
29
- return /* @__PURE__ */ s(d, { onSubmit: () => t == null ? void 0 : t.slideNext(), ...i, ref: e, isDisabled: a, children: /* @__PURE__ */ s(c, { icon: "ArrowRight" }) });
30
- }
31
- ), A = r(
32
- (i, e) => {
33
- const { controller: t } = u(), a = (t == null ? void 0 : t.activeIndex) === 0;
34
- return /* @__PURE__ */ s(d, { onSubmit: () => t == null ? void 0 : t.slidePrev(), ...i, ref: e, isDisabled: a, children: /* @__PURE__ */ s(c, { icon: "ArrowLeft" }) });
35
- }
36
- );
37
- d.displayName = "AlertsNavigationButton";
38
- v.displayName = "AlertsNextNavigationButton";
39
- A.displayName = "AlertsPrevNavigationButton";
40
- export {
41
- v as AlertsNextNavigationButton,
42
- A as AlertsPrevNavigationButton,
43
- d as default
44
- };