@up42/up-components 1.11.4 → 1.12.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.
@@ -3,8 +3,9 @@ export interface CodeInlineProps {
3
3
  text: string;
4
4
  label?: string;
5
5
  'data-testid'?: string;
6
+ inlineLabel?: boolean;
6
7
  }
7
8
  /**
8
9
  * Documentation: https://up-components.up42.com/?path=/docs/data-display-codeinline--docs
9
10
  */
10
- export declare const CodeInline: ({ label, text, "data-testid": dataTestId }: CodeInlineProps) => JSX.Element;
11
+ export declare const CodeInline: ({ label, text, "data-testid": dataTestId, inlineLabel }: CodeInlineProps) => JSX.Element;
package/dist/index.d.ts CHANGED
@@ -2534,11 +2534,12 @@ interface CodeInlineProps {
2534
2534
  text: string;
2535
2535
  label?: string;
2536
2536
  'data-testid'?: string;
2537
+ inlineLabel?: boolean;
2537
2538
  }
2538
2539
  /**
2539
2540
  * Documentation: https://up-components.up42.com/?path=/docs/data-display-codeinline--docs
2540
2541
  */
2541
- declare const CodeInline: ({ label, text, "data-testid": dataTestId }: CodeInlineProps) => JSX.Element;
2542
+ declare const CodeInline: ({ label, text, "data-testid": dataTestId, inlineLabel }: CodeInlineProps) => JSX.Element;
2542
2543
 
2543
2544
  declare type Languages = 'DFS' | 'atom' | 'bash' | 'clike' | 'css' | 'extend' | 'html' | 'insertBefore' | 'java' | 'javascript' | 'js' | 'json' | 'julia' | 'kotlin' | 'kt' | 'kts' | 'markup' | 'mathml' | 'plain' | 'plaintext' | 'py' | 'python' | 'rss' | 'sh' | 'shell' | 'ssml' | 'svg' | 'text' | 'txt' | 'webmanifest' | 'xml';
2544
2545
  interface CodeSnippetItemProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@up42/up-components",
3
- "version": "1.11.4",
3
+ "version": "1.12.0",
4
4
  "description": "UP42 Component Library",
5
5
  "author": "Axel Fuhrmann axel.fuhrmann@up42.com",
6
6
  "license": "ISC",
@@ -21,9 +21,9 @@
21
21
  "storybook": "storybook dev -p 6006",
22
22
  "storybook:build": "storybook build",
23
23
  "lint": "eslint src/.",
24
- "release": "standard-version",
25
- "release:minor": "standard-version --release-as minor",
26
- "release:patch": "standard-version --release-as patch",
24
+ "release": "commit-and-tag-version",
25
+ "release:minor": "commit-and-tag-version --release-as minor",
26
+ "release:patch": "commit-and-tag-version --release-as patch",
27
27
  "prepare": "husky install",
28
28
  "format": "prettier --write ./**/*.mdx"
29
29
  },
@@ -67,6 +67,7 @@
67
67
  "@typescript-eslint/parser": "^5.10.0",
68
68
  "babel-jest": "^27.4.6",
69
69
  "babel-loader": "^8.2.3",
70
+ "commit-and-tag-version": "^12.4.1",
70
71
  "eslint": "^8.7.0",
71
72
  "eslint-config-prettier": "^8.3.0",
72
73
  "eslint-import-resolver-typescript": "^2.5.0",
@@ -86,7 +87,6 @@
86
87
  "rollup-plugin-delete": "^2.0.0",
87
88
  "rollup-plugin-dts": "^6.1.0",
88
89
  "rollup-plugin-peer-deps-external": "^2.2.4",
89
- "standard-version": "^9.3.2",
90
90
  "storybook": "^7.1.1",
91
91
  "typescript": "^4.5.4",
92
92
  "vite-plugin-svgr": "^3.2.0"
@@ -111,7 +111,7 @@
111
111
  "node": ">= 18",
112
112
  "npm": ">= 8"
113
113
  },
114
- "standard-version": {
114
+ "commit-and-tag-version": {
115
115
  "skip": {
116
116
  "tag": true
117
117
  }