@local-logic/design-system 0.7.9 → 0.7.11
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/ui/components/Card/index.d.ts +6 -0
- package/dist/ui/components/Card/index.d.ts.map +1 -0
- package/dist/ui/components/Card/index.stories.d.ts +10 -0
- package/dist/ui/components/Card/index.stories.d.ts.map +1 -0
- package/dist/ui/components/Card/styles.d.ts +3 -0
- package/dist/ui/components/Card/styles.d.ts.map +1 -0
- package/dist/ui/components/Modal/index.d.ts +9 -0
- package/dist/ui/components/Modal/index.d.ts.map +1 -0
- package/dist/ui/components/Modal/index.stories.d.ts +13 -0
- package/dist/ui/components/Modal/index.stories.d.ts.map +1 -0
- package/dist/ui/components/Modal/styles.d.ts +8 -0
- package/dist/ui/components/Modal/styles.d.ts.map +1 -0
- package/package.json +4 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Card/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,qBAc7F"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Meta } from '@storybook/react';
|
|
3
|
+
import { Card } from './index';
|
|
4
|
+
declare const _default: Meta<typeof Card>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Primary: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, {
|
|
7
|
+
imageSRC?: string;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
}>;
|
|
10
|
+
//# sourceMappingURL=index.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Card/index.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAW,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;wBAQ1B,IAAI,CAAC,OAAO,IAAI,CAAC;AALtB,wBAKuB;AAIvB,eAAO,MAAM,OAAO;;qBATnB,SAAS;EAS8B,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const container = "\n font-sans\n rounded-lg p-9 relative\n border border-solid border-gray-150\n transition-all\n\n bg-white\n text-gray-400\n";
|
|
2
|
+
export declare const imageContainer = "\n bg-cover bg-center\n w-full\n h-60\n";
|
|
3
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Card/styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,uIAQrB,CAAC;AAEF,eAAO,MAAM,cAAc,qDAI1B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const Modal: ({ title, description, isOpen, children, onClose, }: {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
onClose?: () => void;
|
|
8
|
+
}) => React.JSX.Element;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,eAAO,MAAM,KAAK,uDAMf;IACD,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,sBAkBA,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Meta } from '@storybook/react';
|
|
3
|
+
import { Modal } from './index';
|
|
4
|
+
declare const _default: Meta<typeof Modal>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Primary: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, {
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
onClose?: () => void;
|
|
12
|
+
}>;
|
|
13
|
+
//# sourceMappingURL=index.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Modal/index.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAW,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;wBA8B3B,IAAI,CAAC,OAAO,KAAK,CAAC;AA3BvB,wBA2BwB;AAIxB,eAAO,MAAM,OAAO;;;;oBAvBM,SACtB;;EAsBoC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const overlay = "fixed inset-0 bg-black/50 data-[state=open]:animate-overlayShow z-10";
|
|
2
|
+
export declare const container = "\n fixed left-1/2 top-1/2 z-10\n -translate-x-1/2 -translate-y-1/2\n shadow-lg focus:outline-none\n\n data-[state=open]:animate-contentShow\n";
|
|
3
|
+
export declare const content = "flex flex-col gap-y-6 whitespace-pre-line";
|
|
4
|
+
export declare const title = "flex items-center justify-between m-0 text-2xl text-gray-800";
|
|
5
|
+
export declare const description = "m-0";
|
|
6
|
+
export declare const close = "h-8 w-8 cursor-pointer transition-colors hover:bg-gray-200 rounded-full flex items-center justify-center";
|
|
7
|
+
export declare const actions = "flex justify-end gap-2";
|
|
8
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Modal/styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,yEAAyE,CAAC;AAE9F,eAAO,MAAM,SAAS,sJAMrB,CAAC;AACF,eAAO,MAAM,OAAO,8CAA8C,CAAC;AACnE,eAAO,MAAM,KAAK,iEAAiE,CAAC;AACpF,eAAO,MAAM,WAAW,QAAQ,CAAC;AACjC,eAAO,MAAM,KAAK,6GAA6G,CAAC;AAChI,eAAO,MAAM,OAAO,2BAA2B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@local-logic/design-system",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.11",
|
|
4
4
|
"author": "Local Logic",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -86,13 +86,14 @@
|
|
|
86
86
|
"tsconfig": "*",
|
|
87
87
|
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
|
88
88
|
"typescript": "^5.6.3",
|
|
89
|
-
"vite": "^5.4.
|
|
89
|
+
"vite": "^5.4.12",
|
|
90
90
|
"vite-plugin-dts": "^4.3.0",
|
|
91
91
|
"vite-plugin-svgr": "^4.2.0",
|
|
92
|
-
"vitest": "^2.1.
|
|
92
|
+
"vitest": "^2.1.9"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
95
|
"@phosphor-icons/react": "^2.1.7",
|
|
96
|
+
"@radix-ui/react-dialog": "^1.1.6",
|
|
96
97
|
"glob": "^11.0.0"
|
|
97
98
|
}
|
|
98
99
|
}
|