@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.
Files changed (36) hide show
  1. package/dist/ai/examples/training.examples.cjs +1 -1
  2. package/dist/ai/examples/training.examples.js +1 -1
  3. package/dist/ai/examples/trees.example.cjs +1 -1
  4. package/dist/ai/examples/trees.example.js +1 -1
  5. package/dist/ai/manifest/components.manifest.cjs +1 -1
  6. package/dist/ai/manifest/components.manifest.js +1 -1
  7. package/dist/ai/manifest/composition.manifest.cjs +1 -1
  8. package/dist/ai/manifest/composition.manifest.js +1 -1
  9. package/dist/ai/manifest/patterns.manifest.cjs +1 -1
  10. package/dist/ai/manifest/patterns.manifest.js +1 -1
  11. package/dist/ai/manifest.json +0 -90
  12. package/dist/ai/prompts/figma-make.prompt.md +1 -0
  13. package/dist/ai/prompts/starter.prompt.md +1 -0
  14. package/dist/components/Breadcrumb/Breadcrumb.cjs +1 -1
  15. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  16. package/dist/components/Flex/Flex.cjs +1 -1
  17. package/dist/components/Flex/Flex.js +1 -1
  18. package/dist/components/Menu/Menu.cjs +1 -1
  19. package/dist/components/Menu/Menu.js +1 -1
  20. package/dist/design-system/components/Flex/Flex.types.d.ts +2 -1
  21. package/dist/design-system/figma-make/index.d.ts +0 -1
  22. package/dist/design-system/generated/component-api.d.ts +12 -36
  23. package/dist/design-system/index.d.ts +0 -1
  24. package/dist/figma-make/index.cjs +1 -1
  25. package/dist/figma-make/index.js +1 -1
  26. package/dist/generated/component-api.cjs +1 -1
  27. package/dist/generated/component-api.js +1 -1
  28. package/dist/index.cjs +1 -1
  29. package/dist/index.js +1 -1
  30. package/dist/style.css +1 -1
  31. package/package.json +1 -7
  32. package/dist/components/Card/Card.cjs +0 -1
  33. package/dist/components/Card/Card.js +0 -1
  34. package/dist/design-system/components/Card/Card.d.ts +0 -13
  35. package/dist/design-system/components/Card/Card.types.d.ts +0 -8
  36. 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.21",
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;
@@ -1,8 +0,0 @@
1
- import type { HTMLAttributes, ReactNode } from "react";
2
- export interface CardProps extends HTMLAttributes<HTMLDivElement> {
3
- to?: unknown;
4
- title?: unknown;
5
- description?: unknown;
6
- icon?: string | ReactNode;
7
- className?: string;
8
- }
@@ -1,3 +0,0 @@
1
- export { default } from "./Card";
2
- export { default as Card } from "./Card";
3
- export type { CardProps } from "./Card.types";