@okam/stack-ui 1.0.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{ArrowDown-240ec51e.js → ArrowDown-1712d1b6.js} +1 -1
- package/{ArrowDown-bd62761c.mjs → ArrowDown-d43b4162.mjs} +1 -1
- package/{ArrowLeft-1b21fcea.js → ArrowLeft-d3f05521.js} +1 -1
- package/{ArrowLeft-32859d60.mjs → ArrowLeft-f409a840.mjs} +1 -1
- package/{BrandArrowRight-15b94779.mjs → BrandArrowRight-49e7e990.mjs} +1 -1
- package/{BrandArrowRight-acff167a.js → BrandArrowRight-76384dc5.js} +1 -1
- package/{Check-99347f70.js → Check-177d024b.js} +1 -1
- package/{Check-9be52cae.mjs → Check-b462d3c7.mjs} +1 -1
- package/{ChevronLeft-e2fcd921.mjs → ChevronLeft-b7dca00a.mjs} +1 -1
- package/{ChevronLeft-d73da90a.js → ChevronLeft-feef9450.js} +1 -1
- package/{ChevronRight-0ca2ee2f.js → ChevronRight-3a5571da.js} +1 -1
- package/{ChevronRight-4304471d.mjs → ChevronRight-a4782201.mjs} +1 -1
- package/{CloseBtn-190a8531.mjs → CloseBtn-30ee2e13.mjs} +1 -1
- package/{CloseBtn-69c71e87.js → CloseBtn-3a0ca7e1.js} +1 -1
- package/{Facebook-e3ed2083.mjs → Facebook-4f8b3a0f.mjs} +1 -1
- package/{Facebook-0155a013.js → Facebook-6591414e.js} +1 -1
- package/{FacebookColored-b8bfe07f.mjs → FacebookColored-347fa465.mjs} +1 -1
- package/{FacebookColored-374359dc.js → FacebookColored-69bc09dc.js} +1 -1
- package/{Globe-debe58c9.js → Globe-46988aa4.js} +1 -1
- package/{Globe-a90ea0fd.mjs → Globe-6bd5fb0a.mjs} +1 -1
- package/{Instagram-91493db3.js → Instagram-2c7a4948.js} +1 -1
- package/{Instagram-4df7aa23.mjs → Instagram-e7ae9f7d.mjs} +1 -1
- package/{InstagramColored-bd6d060a.js → InstagramColored-16d3ed77.js} +1 -1
- package/{InstagramColored-285f01c7.mjs → InstagramColored-bd066f21.mjs} +1 -1
- package/{Link-0cfa8cb2.mjs → Link-433cedc8.mjs} +1 -1
- package/{Link-a1ce4b7d.js → Link-c8a14eea.js} +1 -1
- package/{Mail-5fe5e7af.mjs → Mail-b28672fa.mjs} +1 -1
- package/{Mail-91471c44.js → Mail-e9297805.js} +1 -1
- package/{Plus-49d47829.js → Plus-8726d28e.js} +1 -1
- package/{Plus-31904b88.mjs → Plus-b65f9426.mjs} +1 -1
- package/{Share-e78f4209.mjs → Share-2518b2a3.mjs} +1 -1
- package/{Share-ef58a68e.js → Share-6ca93f65.js} +1 -1
- package/{Twitter-0c68a379.js → Twitter-6498fa22.js} +1 -1
- package/{Twitter-f19d7a56.mjs → Twitter-731298fb.mjs} +1 -1
- package/{TwitterColored-a98c7c71.js → TwitterColored-51ba5c2e.js} +1 -1
- package/{TwitterColored-ec64f97d.mjs → TwitterColored-d981c380.mjs} +1 -1
- package/{Upload-0cb11940.js → Upload-302cba06.js} +1 -1
- package/{Upload-a83d1e52.mjs → Upload-a85a4b6a.mjs} +1 -1
- package/{YouTube-0fc23ed9.mjs → YouTube-4385e2aa.mjs} +1 -1
- package/{YouTube-e2ea4825.js → YouTube-4cbcbfc5.js} +1 -1
- package/{YouTubeColored-9d9b1a39.js → YouTubeColored-877e6612.js} +1 -1
- package/{YouTubeColored-77fad9d4.mjs → YouTubeColored-9154987c.mjs} +1 -1
- package/components/Icon/interface.d.ts +2 -1
- package/{index-3d05b2a8.js → index-95c4948b.js} +3 -3
- package/{index-6974f557.mjs → index-dbc3a715.mjs} +6 -5
- package/index.d.ts +1 -0
- package/index.js +1 -1
- package/index.mjs +9 -8
- package/package.json +7 -1
|
@@ -2341,7 +2341,7 @@ const Is = W.forwardRef((e, t) => {
|
|
|
2341
2341
|
__proto__: null,
|
|
2342
2342
|
default: Ns
|
|
2343
2343
|
}, Symbol.toStringTag, { value: "Module" })), bu = (e) => {
|
|
2344
|
-
const { icon: t, ...n } = e, r = Ye(() => vl(() => mu(/* @__PURE__ */ Object.assign({ "../icons/ArrowDown.tsx": () => import("./ArrowDown-
|
|
2344
|
+
const { icon: t, ...n } = e, r = Ye(() => vl(() => mu(/* @__PURE__ */ Object.assign({ "../icons/ArrowDown.tsx": () => import("./ArrowDown-d43b4162.mjs"), "../icons/ArrowLeft.tsx": () => import("./ArrowLeft-f409a840.mjs"), "../icons/ArrowRight.tsx": () => Promise.resolve().then(() => hd), "../icons/BrandArrowRight.tsx": () => import("./BrandArrowRight-49e7e990.mjs"), "../icons/Check.tsx": () => import("./Check-b462d3c7.mjs"), "../icons/ChevronLeft.tsx": () => import("./ChevronLeft-b7dca00a.mjs"), "../icons/ChevronRight.tsx": () => import("./ChevronRight-a4782201.mjs"), "../icons/CloseBtn.tsx": () => import("./CloseBtn-30ee2e13.mjs"), "../icons/Facebook.tsx": () => import("./Facebook-4f8b3a0f.mjs"), "../icons/FacebookColored.tsx": () => import("./FacebookColored-347fa465.mjs"), "../icons/Globe.tsx": () => import("./Globe-6bd5fb0a.mjs"), "../icons/IconFallback.tsx": () => Promise.resolve().then(() => vu), "../icons/Instagram.tsx": () => import("./Instagram-e7ae9f7d.mjs"), "../icons/InstagramColored.tsx": () => import("./InstagramColored-bd066f21.mjs"), "../icons/Link.tsx": () => import("./Link-433cedc8.mjs"), "../icons/Mail.tsx": () => import("./Mail-b28672fa.mjs"), "../icons/Plus.tsx": () => import("./Plus-b65f9426.mjs"), "../icons/Share.tsx": () => import("./Share-2518b2a3.mjs"), "../icons/Twitter.tsx": () => import("./Twitter-731298fb.mjs"), "../icons/TwitterColored.tsx": () => import("./TwitterColored-d981c380.mjs"), "../icons/Upload.tsx": () => import("./Upload-a85a4b6a.mjs"), "../icons/YouTube.tsx": () => import("./YouTube-4385e2aa.mjs"), "../icons/YouTubeColored.tsx": () => import("./YouTubeColored-9154987c.mjs") }), `../icons/${t || "ArrowRight"}.tsx`)), [t]);
|
|
2345
2345
|
return /* @__PURE__ */ D(bl, { fallback: /* @__PURE__ */ D(Ns, { className: "overflow-visible pointer-events-none" }), children: /* @__PURE__ */ D(r, { ...n, className: "overflow-visible pointer-events-none", ...e }) });
|
|
2346
2346
|
}, qr = (e) => {
|
|
2347
2347
|
const { icon: t, as: n = "span", tokens: r, customTheme: i, themeName: o = "icon", children: a, ...l } = e, c = _e(o, r, i);
|
|
@@ -5816,12 +5816,13 @@ export {
|
|
|
5816
5816
|
pd as b,
|
|
5817
5817
|
Sl as c,
|
|
5818
5818
|
yd as d,
|
|
5819
|
-
|
|
5820
|
-
|
|
5819
|
+
_e as e,
|
|
5820
|
+
Mo as f,
|
|
5821
5821
|
Ro as g,
|
|
5822
|
-
|
|
5822
|
+
Sd as h,
|
|
5823
5823
|
fd as i,
|
|
5824
|
-
|
|
5824
|
+
Ad as j,
|
|
5825
|
+
Od as k,
|
|
5825
5826
|
bd as m,
|
|
5826
5827
|
_l as u
|
|
5827
5828
|
};
|
package/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { default as ArrowRight } from './components/icons/ArrowRight';
|
|
|
10
10
|
export { default as Icon } from './components/Icon';
|
|
11
11
|
export { useTheme, ThemeContextProvider } from './providers/Theme';
|
|
12
12
|
export { makeTheme, createThemeProvider } from './providers/Theme';
|
|
13
|
+
export { default as useThemeContext } from './providers/Theme/hooks';
|
|
13
14
|
export type { TButtonProps } from './components/Button/interface';
|
|
14
15
|
export type { TTypographyProps } from './components/Typography/interface';
|
|
15
16
|
export type { TTheme, TToken, TCustomTheme, TStyle, TDefaultTheme, TStyleCollection, TStyleValue, } from './providers/Theme/interface';
|
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-95c4948b.js");require("react/jsx-runtime");require("react");require("react-dom");exports.Accordion=e.Accordion;exports.ArrowRight=e.ArrowRight;exports.Button=e.Button;exports.Icon=e.IconDispatcher;exports.Lightbox=e.Lightbox;exports.Popover=e.PopoverButton;exports.ShareButton=e.ShareButton;exports.SidePanel=e.index;exports.ThemeContextProvider=e.ThemeContextProvider;exports.Typography=e.Typography;exports.WysiwygBlock=e.WysiwygBlock;exports.createThemeProvider=e.createThemeProvider;exports.generateUtmTags=e.generateUtmTags;exports.makeTheme=e.makeTheme;exports.useFacebookShareUrl=e.useFacebookShareUrl;exports.useMailToShareUrl=e.useMailToShareUrl;exports.useTheme=e.useTheme;exports.useThemeContext=e.useThemeContext;exports.useTwitterShareUrl=e.useTwitterShareUrl;exports.useWindow=e.useWindow;
|
package/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as t, b as
|
|
1
|
+
import { A as t, b as h, B as i, I as m, L as T, P as n, S as u, a as c, c as g, T as p, W as d, d as l, g as S, m as P, h as k, j as w, u as x, e as y, k as B, f as U } from "./index-dbc3a715.mjs";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
export {
|
|
6
6
|
t as Accordion,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
h as ArrowRight,
|
|
8
|
+
i as Button,
|
|
9
9
|
m as Icon,
|
|
10
10
|
T as Lightbox,
|
|
11
11
|
n as Popover,
|
|
@@ -17,9 +17,10 @@ export {
|
|
|
17
17
|
l as createThemeProvider,
|
|
18
18
|
S as generateUtmTags,
|
|
19
19
|
P as makeTheme,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
k as useFacebookShareUrl,
|
|
21
|
+
w as useMailToShareUrl,
|
|
22
|
+
x as useTheme,
|
|
23
|
+
y as useThemeContext,
|
|
24
|
+
B as useTwitterShareUrl,
|
|
25
|
+
U as useWindow
|
|
25
26
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okam/stack-ui",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,11 +17,17 @@
|
|
|
17
17
|
"url": "https://github.com/OKAMca/stack.git"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
+
"@internationalized/date": "3.3.0",
|
|
21
|
+
"@react-aria/calendar": "3.4.0",
|
|
20
22
|
"@react-aria/checkbox": "3.9.2",
|
|
23
|
+
"@react-aria/datepicker": "3.5.0",
|
|
21
24
|
"@react-aria/focus": "3.13.0",
|
|
22
25
|
"@react-aria/i18n": "3.8.0",
|
|
23
26
|
"@react-aria/overlays": "3.15.0",
|
|
27
|
+
"@react-aria/utils": "3.18.0",
|
|
24
28
|
"@react-aria/visually-hidden": "3.8.2",
|
|
29
|
+
"@react-stately/calendar": "3.3.0",
|
|
30
|
+
"@react-stately/datepicker": "3.5.0",
|
|
25
31
|
"@react-stately/overlays": "3.6.0",
|
|
26
32
|
"@react-stately/toggle": "3.6.0",
|
|
27
33
|
"@react-types/dialog": "3.5.3",
|