maru_design2 2.25.2 → 2.26.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.26.0](https://github.com/42maru-ai/maru-design2/compare/v2.25.3...v2.26.0) (2025-05-13)
4
+
5
+
6
+ ### Features
7
+
8
+ * :sparkles: Code - add change handler [#570](https://github.com/42maru-ai/maru-design2/issues/570) ([a52d570](https://github.com/42maru-ai/maru-design2/commit/a52d570b25e8578977f13db4464e843849e94b0b))
9
+ * :sparkles: Code - add code component [#570](https://github.com/42maru-ai/maru-design2/issues/570) ([184eb39](https://github.com/42maru-ai/maru-design2/commit/184eb3995de1aedd4cb7450d3e4be9a11f48e14d))
10
+ * :sparkles: Code - add copy value [#570](https://github.com/42maru-ai/maru-design2/issues/570) ([a9b8b3c](https://github.com/42maru-ai/maru-design2/commit/a9b8b3c1fe476354590d128f55438cd102e5fb27))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * :art: Code - update copyable ([de73c90](https://github.com/42maru-ai/maru-design2/commit/de73c90b7725f1ac430ace8888d9118fa8271d8a))
16
+ * :fire: Code - remove editable feature :570 ([9a56de6](https://github.com/42maru-ai/maru-design2/commit/9a56de661764621d5f1dee3cb42d282adb786d89))
17
+
18
+ ## [2.25.3](https://github.com/42maru-ai/maru-design2/compare/v2.25.2...v2.25.3) (2025-04-28)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * :bento: Icon - add arrow-cross [#402](https://github.com/42maru-ai/maru-design2/issues/402) ([0e5f5aa](https://github.com/42maru-ai/maru-design2/commit/0e5f5aa831044f155527b5445db0e110bc7e44e1))
24
+
3
25
  ## [2.25.2](https://github.com/42maru-ai/maru-design2/compare/v2.25.1...v2.25.2) (2025-04-15)
4
26
 
5
27
 
@@ -0,0 +1,7 @@
1
+ import 'highlight.js/styles/a11y-light.css';
2
+ import './code.scss';
3
+ export interface CodeProps {
4
+ value: string;
5
+ copyable?: boolean;
6
+ }
7
+ export declare function Code({ value, copyable }: CodeProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './Code';
@@ -42,6 +42,7 @@ export declare const ICONS: {
42
42
  readonly AlertCircle_s1615: "AlertCircle_s1615";
43
43
  readonly AlertTriangleBg_s2410: "AlertTriangleBg_s2410";
44
44
  readonly AlertTriangle_s1615: "AlertTriangle_s1615";
45
+ readonly ArrowCross_s1613: "ArrowCross_s1613";
45
46
  readonly ArrowDownCircle_s1413: "ArrowDownCircle_s1413";
46
47
  readonly ArrowRight_s1415: "ArrowRight_s1415";
47
48
  readonly ArrowRight_s1613: "ArrowRight_s1613";
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export * from './components/styleProvider';
2
2
  export * from './components/atoms/button';
3
3
  export * from './components/atoms/checkbox';
4
4
  export * from './components/atoms/chip';
5
+ export * from './components/atoms/code';
5
6
  export * from './components/atoms/icon';
6
7
  export * from './components/atoms/input';
7
8
  export * from './components/atoms/popover';