@stackshift-ui/grid-item 6.0.4-beta.2 → 6.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
- package/dist/chunk-KQ3H5GDD.mjs +0 -1
- package/dist/grid-item.d.ts +0 -10
- package/dist/grid-item.js +0 -1
- package/dist/grid-item.mjs +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -2
- package/dist/index.mjs +0 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackshift-ui/grid-item",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "6.0.
|
|
4
|
+
"version": "6.0.5",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
"typescript": "^5.6.2",
|
|
30
30
|
"vite-tsconfig-paths": "^5.0.1",
|
|
31
31
|
"vitest": "^2.1.1",
|
|
32
|
-
"@stackshift-ui/
|
|
33
|
-
"@stackshift-ui/
|
|
32
|
+
"@stackshift-ui/eslint-config": "6.0.4",
|
|
33
|
+
"@stackshift-ui/typescript-config": "6.0.4"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"classnames": "^2.5.1",
|
|
37
|
-
"@stackshift-ui/
|
|
38
|
-
"@stackshift-ui/
|
|
37
|
+
"@stackshift-ui/scripts": "6.0.4",
|
|
38
|
+
"@stackshift-ui/system": "6.0.5"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@stackshift-ui/system": ">=6.0.
|
|
41
|
+
"@stackshift-ui/system": ">=6.0.5",
|
|
42
42
|
"@types/react": "16.8 - 19",
|
|
43
43
|
"next": "10 - 14",
|
|
44
44
|
"react": "16.8 - 19",
|
package/dist/chunk-KQ3H5GDD.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{DefaultComponent as l,useStackShiftUIComponents as r}from"@stackshift-ui/system";import m from"classnames";import{jsx as d}from"react/jsx-runtime";var a="GridItem",i=({span:s="auto",children:n,className:o,as:t,...p})=>{let{[a]:e=l}=r(),c=`${{auto:"col-span-auto",1:"col-span-1",2:"col-span-2",3:"col-span-3",4:"col-span-4",5:"col-span-5",6:"col-span-6",7:"col-span-7",8:"col-span-8",9:"col-span-9",10:"col-span-10",11:"col-span-11",12:"col-span-12"}[s]}`;return d(e,{as:t,className:m(c,o),...p,"data-testid":a,children:n})};i.displayName=a;export{i as a};
|
package/dist/grid-item.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ElementType, HTMLProps, ReactNode } from "react";
|
|
2
|
-
export interface GridItemProps extends Omit<HTMLProps<HTMLElement>, "as" | "span"> {
|
|
3
|
-
span?: Span;
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
as?: ElementType;
|
|
7
|
-
}
|
|
8
|
-
type Span = "auto" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
9
|
-
export declare const GridItem: React.FC<GridItemProps>;
|
|
10
|
-
export {};
|
package/dist/grid-item.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var f=Object.create;var p=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var N=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty;var T=(a,s)=>{for(var n in s)p(a,n,{get:s[n],enumerable:!0})},l=(a,s,n,t)=>{if(s&&typeof s=="object"||typeof s=="function")for(let o of y(s))!I.call(a,o)&&o!==n&&p(a,o,{get:()=>s[o],enumerable:!(t=u(s,o))||t.enumerable});return a};var G=(a,s,n)=>(n=a!=null?f(N(a)):{},l(s||!a||!a.__esModule?p(n,"default",{value:a,enumerable:!0}):n,a)),P=a=>l(p({},"__esModule",{value:!0}),a);var S={};T(S,{GridItem:()=>m});module.exports=P(S);var e=require("@stackshift-ui/system"),r=G(require("classnames")),i=require("react/jsx-runtime"),c="GridItem",m=({span:a="auto",children:s,className:n,as:t,...o})=>{let{[c]:d=e.DefaultComponent}=(0,e.useStackShiftUIComponents)(),C=`${{auto:"col-span-auto",1:"col-span-1",2:"col-span-2",3:"col-span-3",4:"col-span-4",5:"col-span-5",6:"col-span-6",7:"col-span-7",8:"col-span-8",9:"col-span-9",10:"col-span-10",11:"col-span-11",12:"col-span-12"}[a]}`;return(0,i.jsx)(d,{as:t,className:(0,r.default)(C,n),...o,"data-testid":c,children:s})};m.displayName=c;0&&(module.exports={GridItem});
|
package/dist/grid-item.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-KQ3H5GDD.mjs";export{a as GridItem};
|
package/dist/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./grid-item";
|
package/dist/index.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";var u=Object.create;var e=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var N=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty;var T=(s,a)=>{for(var o in a)e(s,o,{get:a[o],enumerable:!0})},l=(s,a,o,t)=>{if(a&&typeof a=="object"||typeof a=="function")for(let n of y(a))!I.call(s,n)&&n!==o&&e(s,n,{get:()=>a[n],enumerable:!(t=C(a,n))||t.enumerable});return s};var G=(s,a,o)=>(o=s!=null?u(N(s)):{},l(a||!s||!s.__esModule?e(o,"default",{value:s,enumerable:!0}):o,s)),P=s=>l(e({},"__esModule",{value:!0}),s);var S={};T(S,{GridItem:()=>m});module.exports=P(S);var p=require("@stackshift-ui/system"),r=G(require("classnames")),i=require("react/jsx-runtime"),c="GridItem",m=({span:s="auto",children:a,className:o,as:t,...n})=>{let{[c]:d=p.DefaultComponent}=(0,p.useStackShiftUIComponents)(),f=`${{auto:"col-span-auto",1:"col-span-1",2:"col-span-2",3:"col-span-3",4:"col-span-4",5:"col-span-5",6:"col-span-6",7:"col-span-7",8:"col-span-8",9:"col-span-9",10:"col-span-10",11:"col-span-11",12:"col-span-12"}[s]}`;return(0,i.jsx)(d,{as:t,className:(0,r.default)(f,o),...n,"data-testid":c,children:a})};m.displayName=c;0&&(module.exports={GridItem});
|
package/dist/index.mjs
DELETED