@mich8060/unified-design-system 0.2.21 → 0.2.23
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/ai/examples/training.examples.cjs +1 -1
- package/dist/ai/examples/training.examples.js +1 -1
- package/dist/ai/examples/trees.example.cjs +1 -1
- package/dist/ai/examples/trees.example.js +1 -1
- package/dist/ai/manifest/components.manifest.cjs +1 -1
- package/dist/ai/manifest/components.manifest.js +1 -1
- package/dist/ai/manifest/composition.manifest.cjs +1 -1
- package/dist/ai/manifest/composition.manifest.js +1 -1
- package/dist/ai/manifest/patterns.manifest.cjs +1 -1
- package/dist/ai/manifest/patterns.manifest.js +1 -1
- package/dist/ai/manifest.json +0 -90
- package/dist/ai/prompts/figma-make.prompt.md +1 -0
- package/dist/ai/prompts/starter.prompt.md +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.cjs +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Flex/Flex.cjs +1 -1
- package/dist/components/Flex/Flex.js +1 -1
- package/dist/components/Menu/Menu.cjs +1 -1
- package/dist/components/Menu/Menu.js +1 -1
- package/dist/design-system/components/Flex/Flex.types.d.ts +2 -1
- package/dist/design-system/figma-make/index.d.ts +0 -1
- package/dist/design-system/generated/component-api.d.ts +12 -36
- package/dist/design-system/index.d.ts +0 -1
- package/dist/figma-make/index.cjs +1 -1
- package/dist/figma-make/index.js +1 -1
- package/dist/generated/component-api.cjs +1 -1
- package/dist/generated/component-api.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -7
- package/dist/components/Card/Card.cjs +0 -1
- package/dist/components/Card/Card.js +0 -1
- package/dist/design-system/components/Card/Card.d.ts +0 -13
- package/dist/design-system/components/Card/Card.types.d.ts +0 -8
- package/dist/design-system/components/Card/index.d.ts +0 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mich8060/unified-design-system",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.23",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"publishConfig": {
|
|
@@ -114,12 +114,6 @@
|
|
|
114
114
|
"require": "./dist/components/Calendar/Calendar.cjs",
|
|
115
115
|
"default": "./dist/components/Calendar/Calendar.js"
|
|
116
116
|
},
|
|
117
|
-
"./Card": {
|
|
118
|
-
"types": "./dist/design-system/components/Card/Card.d.ts",
|
|
119
|
-
"import": "./dist/components/Card/Card.js",
|
|
120
|
-
"require": "./dist/components/Card/Card.cjs",
|
|
121
|
-
"default": "./dist/components/Card/Card.js"
|
|
122
|
-
},
|
|
123
117
|
"./Checkbox": {
|
|
124
118
|
"types": "./dist/design-system/components/Checkbox/Checkbox.d.ts",
|
|
125
119
|
"import": "./dist/components/Checkbox/Checkbox.js",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),t=require("react-router-dom");;/* empty css */function d({to:r,title:s,description:c,icon:i,className:a=""}){return e.jsxs(t.Link,{className:`card ${a}`.trim(),to:r,children:[e.jsx("div",{className:"card__icon",children:i}),e.jsxs("div",{className:"card__content",children:[e.jsx("h2",{className:"card__title",children:s}),e.jsx("p",{className:"card__description",children:c})]})]})}exports.default=d;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsxs as c,jsx as r}from"react/jsx-runtime";import{Link as n}from"react-router-dom";/* empty css */function o({to:a,title:i,description:e,icon:d,className:s=""}){return c(n,{className:`card ${s}`.trim(),to:a,children:[r("div",{className:"card__icon",children:d}),c("div",{className:"card__content",children:[r("h2",{className:"card__title",children:i}),r("p",{className:"card__description",children:e})]})]})}export{o as default};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import "./_card.scss";
|
|
2
|
-
import type { CardProps } from "./Card.types";
|
|
3
|
-
/**
|
|
4
|
-
* Card component for navigation items on the overview page
|
|
5
|
-
*
|
|
6
|
-
* @param {Object} props
|
|
7
|
-
* @param {string} props.to - The route path to navigate to
|
|
8
|
-
* @param {string} props.title - The card title
|
|
9
|
-
* @param {string} props.description - The card description
|
|
10
|
-
* @param {React.ReactNode} props.icon - The SVG icon to display
|
|
11
|
-
* @param {string} [props.className] - Additional CSS classes
|
|
12
|
-
*/
|
|
13
|
-
export default function Card({ to, title, description, icon, className }: CardProps): import("react/jsx-runtime").JSX.Element;
|