@stackshift-ui/statistics 7.0.0-beta.0 → 7.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-ZFLMVTRT.mjs +1 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/statistics.js +1 -1
- package/dist/statistics.mjs +1 -1
- package/dist/statistics_a.js +1 -1
- package/dist/statistics_a.mjs +1 -1
- package/package.json +10 -10
- package/dist/chunk-CETRDSFC.mjs +0 -1
- /package/dist/{chunk-MJROCLCF.mjs → chunk-FYS4LRF3.mjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Card as e,CardContent as l}from"@stackshift-ui/card";import{Container as m}from"@stackshift-ui/container";import{Flex as n}from"@stackshift-ui/flex";import{Section as p}from"@stackshift-ui/section";import{Text as i}from"@stackshift-ui/text";import s from"react";import{jsx as t,jsxs as x}from"react/jsx-runtime";function f({stats:a}){return t(p,{className:"py-20 bg-background",children:t(m,{maxWidth:1280,children:t(n,{wrap:!0,align:"center",justify:"start",className:"text-center",children:t(c,{stats:a})})})})}function c({stats:a}){return a?t(s.Fragment,{children:a.map((r,o)=>t("div",{className:"w-full px-4 my-8 sm:w-1/4 lg:w-1/4",children:t(e,{className:"relative py-10 shadow-md bg-white",children:x(l,{children:[t(i,{className:"mb-1 text-primary overflow-ellipsis overflow-clip",children:r==null?void 0:r.label}),t("p",{className:"text-xl text-gray-500 font-bold lg:text-2xl overflow-ellipsis overflow-clip",children:r==null?void 0:r.value})]})})},o))}):null}export{f as a};
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";var E=Object.create;var c=Object.defineProperty;var G=Object.getOwnPropertyDescriptor;var H=Object.getOwnPropertyNames;var J=Object.getPrototypeOf,K=Object.prototype.hasOwnProperty;var
|
|
2
|
+
"use strict";var E=Object.create;var c=Object.defineProperty;var G=Object.getOwnPropertyDescriptor;var H=Object.getOwnPropertyNames;var J=Object.getPrototypeOf,K=Object.prototype.hasOwnProperty;var S=(o,r)=>()=>(o&&(r=o(o=0)),r);var f=(o,r)=>{for(var e in r)c(o,e,{get:r[e],enumerable:!0})},C=(o,r,e,m)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of H(r))!K.call(o,i)&&i!==e&&c(o,i,{get:()=>r[i],enumerable:!(m=G(r,i))||m.enumerable});return o};var L=(o,r,e)=>(e=o!=null?E(J(o)):{},C(r||!o||!o.__esModule?c(e,"default",{value:o,enumerable:!0}):e,o)),M=o=>C(c({},"__esModule",{value:!0}),o);var P={};f(P,{Statistics_A:()=>x,default:()=>x});function x({stats:o}){return(0,t.jsx)(d.Section,{className:"py-20 bg-background",children:(0,t.jsx)(I.Container,{maxWidth:1280,children:(0,t.jsx)(b.Flex,{wrap:!0,align:"center",justify:"start",className:"text-center",children:(0,t.jsx)(O,{stats:o})})})})}function O({stats:o}){return o?(0,t.jsx)(F.default.Fragment,{children:o.map((r,e)=>(0,t.jsx)("div",{className:"w-full px-4 my-8 sm:w-1/4 lg:w-1/4",children:(0,t.jsx)(s.Card,{className:"relative py-10 shadow-md bg-white",children:(0,t.jsxs)(s.CardContent,{children:[(0,t.jsx)(N.Text,{className:"mb-1 text-primary overflow-ellipsis overflow-clip",children:r==null?void 0:r.label}),(0,t.jsx)("t",{className:"text-xl text-gray-500 font-bold lg:text-2xl overflow-ellipsis overflow-clip",children:r==null?void 0:r.value})]})})},e))}):null}var s,I,b,d,N,F,t,g=S(()=>{"use strict";s=require("@stackshift-ui/card"),I=require("@stackshift-ui/container"),b=require("@stackshift-ui/flex"),d=require("@stackshift-ui/section"),N=require("@stackshift-ui/text"),F=L(require("react")),t=require("react/jsx-runtime")});var V={};f(V,{Statistics_B:()=>v,default:()=>v});function v({stats:o}){return(0,t.jsx)(d.Section,{className:"py-20 bg-background",children:(0,t.jsx)(k.Container,{maxWidth:1280,children:(0,t.jsx)(Q,{stats:o})})})}function Q({stats:o}){return o?(0,t.jsx)(b.Flex,{wrap:!0,align:"center",direction:"col",className:"sm:justify-left sm:flex-row",children:o==null?void 0:o.map((r,e)=>{var m,i,n,l;return(0,t.jsx)(R.StatsCard,{className:"my-8 md:w-1/2 lg:w-1/4 lg:justify-center",value:(m=r==null?void 0:r.value)!=null?m:"",label:(i=r==null?void 0:r.label)!=null?i:"",icon:`${(n=r==null?void 0:r.mainImage)==null?void 0:n.image}`,alt:(l=r==null?void 0:r.mainImage)==null?void 0:l.alt},e)})}):null}var k,b,d,R,t,y=S(()=>{"use strict";k=require("@stackshift-ui/container"),R=require("@stackshift-ui/stats-card")});var B={};f(B,{default:()=>A});function A({stats:o}){return(0,t.jsx)($.Section,{className:"py-20 bg-background",children:(0,t.jsx)(W.Container,{maxWidth:1280,children:(0,t.jsx)(U,{stats:o})})})}function U({stats:o}){return o?(0,t.jsx)(b.Flex,{wrap:!0,align:"center",className:"text-center ",children:o==null?void 0:o.map((r,e)=>{var m,i,n,l;return(0,t.jsx)(R.StatsCard,{className:"my-8 md:w-1/2 lg:w-1/4",variant:"stacked",value:(m=r==null?void 0:r.value)!=null?m:"",label:(i=r==null?void 0:r.label)!=null?i:"",icon:`${(n=r==null?void 0:r.mainImage)==null?void 0:n.image}`,alt:(l=r==null?void 0:r.mainImage)==null?void 0:l.alt},e)})}):null}var W,b,$,R,t,w=S(()=>{"use strict";W=require("@stackshift-ui/container")});var Z={};f(Z,{Statistics:()=>q,Statistics_A:()=>x,Statistics_B:()=>v});module.exports=M(Z);var u=require("react"),X={variant_a:(0,u.lazy)(()=>Promise.resolve().then(()=>(g(),P))),variant_b:(0,u.lazy)(()=>Promise.resolve().then(()=>(y(),V))),variant_c:(0,u.lazy)(()=>Promise.resolve().then(()=>(w(),B)))},Y="Statistics",q=({data:o})=>{var i,n,l;let r=o==null?void 0:o.variant,e=r&&X[r],m={stats:(l=((i=o==null?void 0:o.variants)==null?void 0:i.stats)||((n=o==null?void 0:o.variants)==null?void 0:n.statItems))!=null?l:void 0};return e?(0,t.jsx)(e,{...m}):null};q.displayName=Y;g();y();w();0&&(module.exports={Statistics,Statistics_A,Statistics_B});
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a as e}from"./chunk-
|
|
2
|
+
"use strict";import{a as e}from"./chunk-FYS4LRF3.mjs";import{a as o}from"./chunk-ZFLMVTRT.mjs";import{a as r}from"./chunk-53SVPDST.mjs";import"./chunk-XQZSXTPH.mjs";export{e as Statistics,o as Statistics_A,r as Statistics_B};
|
package/dist/statistics.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var E=Object.create;var c=Object.defineProperty;var G=Object.getOwnPropertyDescriptor;var H=Object.getOwnPropertyNames;var J=Object.getPrototypeOf,K=Object.prototype.hasOwnProperty;var
|
|
1
|
+
"use strict";var E=Object.create;var c=Object.defineProperty;var G=Object.getOwnPropertyDescriptor;var H=Object.getOwnPropertyNames;var J=Object.getPrototypeOf,K=Object.prototype.hasOwnProperty;var u=(e,r)=>()=>(e&&(r=e(e=0)),r);var f=(e,r)=>{for(var o in r)c(e,o,{get:r[o],enumerable:!0})},g=(e,r,o,m)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of H(r))!K.call(e,i)&&i!==o&&c(e,i,{get:()=>r[i],enumerable:!(m=G(r,i))||m.enumerable});return e};var L=(e,r,o)=>(o=e!=null?E(J(e)):{},g(r||!e||!e.__esModule?c(o,"default",{value:e,enumerable:!0}):o,e)),M=e=>g(c({},"__esModule",{value:!0}),e);var b={};f(b,{Statistics_A:()=>I,default:()=>I});function I({stats:e}){return(0,t.jsx)(y.Section,{className:"py-20 bg-background",children:(0,t.jsx)(x.Container,{maxWidth:1280,children:(0,t.jsx)(v.Flex,{wrap:!0,align:"center",justify:"start",className:"text-center",children:(0,t.jsx)(O,{stats:e})})})})}function O({stats:e}){return e?(0,t.jsx)(C.default.Fragment,{children:e.map((r,o)=>(0,t.jsx)("div",{className:"w-full px-4 my-8 sm:w-1/4 lg:w-1/4",children:(0,t.jsx)(s.Card,{className:"relative py-10 shadow-md bg-white",children:(0,t.jsxs)(s.CardContent,{children:[(0,t.jsx)(w.Text,{className:"mb-1 text-primary overflow-ellipsis overflow-clip",children:r==null?void 0:r.label}),(0,t.jsx)("t",{className:"text-xl text-gray-500 font-bold lg:text-2xl overflow-ellipsis overflow-clip",children:r==null?void 0:r.value})]})})},o))}):null}var s,x,v,y,w,C,t,d=u(()=>{"use strict";s=require("@stackshift-ui/card"),x=require("@stackshift-ui/container"),v=require("@stackshift-ui/flex"),y=require("@stackshift-ui/section"),w=require("@stackshift-ui/text"),C=L(require("react")),t=require("react/jsx-runtime")});var h={};f(h,{Statistics_B:()=>_,default:()=>_});function _({stats:e}){return(0,t.jsx)(y.Section,{className:"py-20 bg-background",children:(0,t.jsx)(N.Container,{maxWidth:1280,children:(0,t.jsx)(Q,{stats:e})})})}function Q({stats:e}){return e?(0,t.jsx)(v.Flex,{wrap:!0,align:"center",direction:"col",className:"sm:justify-left sm:flex-row",children:e==null?void 0:e.map((r,o)=>{var m,i,n,l;return(0,t.jsx)(k.StatsCard,{className:"my-8 md:w-1/2 lg:w-1/4 lg:justify-center",value:(m=r==null?void 0:r.value)!=null?m:"",label:(i=r==null?void 0:r.label)!=null?i:"",icon:`${(n=r==null?void 0:r.mainImage)==null?void 0:n.image}`,alt:(l=r==null?void 0:r.mainImage)==null?void 0:l.alt},o)})}):null}var N,v,y,k,t,R=u(()=>{"use strict";N=require("@stackshift-ui/container"),k=require("@stackshift-ui/stats-card")});var A={};f(A,{default:()=>z});function z({stats:e}){return(0,t.jsx)(y.Section,{className:"py-20 bg-background",children:(0,t.jsx)(V.Container,{maxWidth:1280,children:(0,t.jsx)(U,{stats:e})})})}function U({stats:e}){return e?(0,t.jsx)(v.Flex,{wrap:!0,align:"center",className:"text-center ",children:e==null?void 0:e.map((r,o)=>{var m,i,n,l;return(0,t.jsx)($.StatsCard,{className:"my-8 md:w-1/2 lg:w-1/4",variant:"stacked",value:(m=r==null?void 0:r.value)!=null?m:"",label:(i=r==null?void 0:r.label)!=null?i:"",icon:`${(n=r==null?void 0:r.mainImage)==null?void 0:n.image}`,alt:(l=r==null?void 0:r.mainImage)==null?void 0:l.alt},o)})}):null}var V,v,y,$,t,B=u(()=>{"use strict";V=require("@stackshift-ui/container")});var Z={};f(Z,{Statistics:()=>q});module.exports=M(Z);var S=require("react"),X={variant_a:(0,S.lazy)(()=>Promise.resolve().then(()=>(d(),b))),variant_b:(0,S.lazy)(()=>Promise.resolve().then(()=>(R(),h))),variant_c:(0,S.lazy)(()=>Promise.resolve().then(()=>(B(),A)))},Y="Statistics",q=({data:e})=>{var i,n,l;let r=e==null?void 0:e.variant,o=r&&X[r],m={stats:(l=((i=e==null?void 0:e.variants)==null?void 0:i.stats)||((n=e==null?void 0:e.variants)==null?void 0:n.statItems))!=null?l:void 0};return o?(0,t.jsx)(o,{...m}):null};q.displayName=Y;0&&(module.exports={Statistics});
|
package/dist/statistics.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-FYS4LRF3.mjs";export{a as Statistics};
|
package/dist/statistics_a.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var u=Object.create;var l=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var v=Object.getPrototypeOf,
|
|
1
|
+
"use strict";var u=Object.create;var l=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var v=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty;var S=(t,r)=>{for(var o in r)l(t,o,{get:r[o],enumerable:!0})},p=(t,r,o,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of g(r))!C.call(t,e)&&e!==o&&l(t,e,{get:()=>r[e],enumerable:!(n=w(r,e))||n.enumerable});return t};var y=(t,r,o)=>(o=t!=null?u(v(t)):{},p(r||!t||!t.__esModule?l(o,"default",{value:t,enumerable:!0}):o,t)),b=t=>p(l({},"__esModule",{value:!0}),t);var F={};S(F,{Statistics_A:()=>d,default:()=>d});module.exports=b(F);var m=require("@stackshift-ui/card"),i=require("@stackshift-ui/container"),s=require("@stackshift-ui/flex"),f=require("@stackshift-ui/section"),c=require("@stackshift-ui/text"),x=y(require("react")),a=require("react/jsx-runtime");function d({stats:t}){return(0,a.jsx)(f.Section,{className:"py-20 bg-background",children:(0,a.jsx)(i.Container,{maxWidth:1280,children:(0,a.jsx)(s.Flex,{wrap:!0,align:"center",justify:"start",className:"text-center",children:(0,a.jsx)(N,{stats:t})})})})}function N({stats:t}){return t?(0,a.jsx)(x.default.Fragment,{children:t.map((r,o)=>(0,a.jsx)("div",{className:"w-full px-4 my-8 sm:w-1/4 lg:w-1/4",children:(0,a.jsx)(m.Card,{className:"relative py-10 shadow-md bg-white",children:(0,a.jsxs)(m.CardContent,{children:[(0,a.jsx)(c.Text,{className:"mb-1 text-primary overflow-ellipsis overflow-clip",children:r==null?void 0:r.label}),(0,a.jsx)("p",{className:"text-xl text-gray-500 font-bold lg:text-2xl overflow-ellipsis overflow-clip",children:r==null?void 0:r.value})]})})},o))}):null}0&&(module.exports={Statistics_A});
|
package/dist/statistics_a.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-ZFLMVTRT.mjs";export{a as Statistics_A,a as default};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackshift-ui/statistics",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.0.0-beta.
|
|
4
|
+
"version": "7.0.0-beta.1",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -34,22 +34,22 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"classnames": "^2.5.1",
|
|
37
|
+
"@stackshift-ui/card": "7.0.0-beta.1",
|
|
38
|
+
"@stackshift-ui/system": "6.1.0-beta.1",
|
|
37
39
|
"@stackshift-ui/scripts": "6.1.0-beta.0",
|
|
38
|
-
"@stackshift-ui/
|
|
39
|
-
"@stackshift-ui/
|
|
40
|
-
"@stackshift-ui/
|
|
41
|
-
"@stackshift-ui/
|
|
42
|
-
"@stackshift-ui/
|
|
43
|
-
"@stackshift-ui/
|
|
44
|
-
"@stackshift-ui/flex": "7.0.0-beta.0",
|
|
45
|
-
"@stackshift-ui/system": "6.1.0-beta.0"
|
|
40
|
+
"@stackshift-ui/text": "7.0.0-beta.1",
|
|
41
|
+
"@stackshift-ui/section": "7.0.0-beta.1",
|
|
42
|
+
"@stackshift-ui/flex": "7.0.0-beta.1",
|
|
43
|
+
"@stackshift-ui/button": "6.1.0-beta.1",
|
|
44
|
+
"@stackshift-ui/container": "7.0.0-beta.1",
|
|
45
|
+
"@stackshift-ui/stats-card": "7.0.0-beta.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@types/react": "16.8 - 19",
|
|
49
49
|
"next": "10 - 14",
|
|
50
50
|
"react": "16.8 - 19",
|
|
51
51
|
"react-dom": "16.8 - 19",
|
|
52
|
-
"@stackshift-ui/system": ">=6.1.0-beta.
|
|
52
|
+
"@stackshift-ui/system": ">=6.1.0-beta.1"
|
|
53
53
|
},
|
|
54
54
|
"peerDependenciesMeta": {
|
|
55
55
|
"next": {
|
package/dist/chunk-CETRDSFC.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Card as e}from"@stackshift-ui/card";import{Container as l}from"@stackshift-ui/container";import{Flex as m}from"@stackshift-ui/flex";import{Section as p}from"@stackshift-ui/section";import{Text as i}from"@stackshift-ui/text";import s from"react";import{jsx as t,jsxs as c}from"react/jsx-runtime";function n({stats:a}){return t(p,{className:"py-20 bg-background",children:t(l,{maxWidth:1280,children:t(m,{wrap:!0,align:"center",justify:"start",className:"text-center",children:t(f,{stats:a})})})})}function f({stats:a}){return a?t(s.Fragment,{children:a.map((r,o)=>t("div",{className:"w-full px-4 my-8 sm:w-1/4 lg:w-1/4",children:c(e,{className:"relative py-10 shadow-md bg-white",children:[t(i,{className:"mb-1 text-primary overflow-ellipsis overflow-clip",children:r==null?void 0:r.label}),t("p",{className:"text-xl text-gray-500 font-bold lg:text-2xl overflow-ellipsis overflow-clip",children:r==null?void 0:r.value})]})},o))}):null}export{n as a};
|
|
File without changes
|