@scm-manager/ui-components 2.48.2-20231027-090921 → 3.0.0-20231029-183202

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scm-manager/ui-components",
3
- "version": "2.48.2-20231027-090921",
3
+ "version": "3.0.0-20231029-183202",
4
4
  "description": "UI Components for SCM-Manager and its plugins",
5
5
  "main": "src/index.ts",
6
6
  "files": [
@@ -24,10 +24,10 @@
24
24
  "@scm-manager/jest-preset": "^2.13.0",
25
25
  "@scm-manager/prettier-config": "^2.10.1",
26
26
  "@scm-manager/tsconfig": "^2.13.0",
27
- "@scm-manager/ui-shortcuts": "2.48.2-20231027-090921",
28
- "@scm-manager/ui-syntaxhighlighting": "2.48.2-20231027-090921",
29
- "@scm-manager/ui-tests": "2.48.2-20231027-090921",
30
- "@scm-manager/ui-text": "2.48.2-20231027-090921",
27
+ "@scm-manager/ui-shortcuts": "3.0.0-20231029-183202",
28
+ "@scm-manager/ui-syntaxhighlighting": "3.0.0-20231029-183202",
29
+ "@scm-manager/ui-tests": "3.0.0-20231029-183202",
30
+ "@scm-manager/ui-text": "3.0.0-20231029-183202",
31
31
  "@storybook/addon-actions": "^6.4.20",
32
32
  "@storybook/addon-essentials": "^6.4.20",
33
33
  "@storybook/addon-interactions": "^6.4.20",
@@ -36,7 +36,7 @@
36
36
  "@storybook/manager-webpack5": "^6.4.20",
37
37
  "@storybook/react": "^6.4.20",
38
38
  "@types/classnames": "^2.2.9",
39
- "@types/css": "^0.0.34",
39
+ "@types/css": "^0.0.31",
40
40
  "@types/enzyme": "^3.10.3",
41
41
  "@types/fetch-mock": "^7.3.1",
42
42
  "@types/jest": "^24.0.19",
@@ -65,9 +65,9 @@
65
65
  },
66
66
  "dependencies": {
67
67
  "@headlessui/react": "^1.4.3",
68
- "@scm-manager/ui-api": "2.48.2-20231027-090921",
69
- "@scm-manager/ui-extensions": "2.48.2-20231027-090921",
70
- "@scm-manager/ui-types": "2.48.2-20231027-090921",
68
+ "@scm-manager/ui-api": "3.0.0-20231029-183202",
69
+ "@scm-manager/ui-extensions": "3.0.0-20231029-183202",
70
+ "@scm-manager/ui-types": "3.0.0-20231029-183202",
71
71
  "classnames": "^2.2.6",
72
72
  "date-fns": "^2.4.1",
73
73
  "deepmerge": "^4.2.2",
@@ -133,8 +133,8 @@ index 889cc49..d5a4811 100644
133
133
  import org.mockito.junit.jupiter.MockitoExtension;
134
134
  import sonia.scm.security.SessionId;
135
135
  +
136
- import javax.ws.rs.sse.OutboundSseEvent;
137
- import javax.ws.rs.sse.SseEventSink;
136
+ import jakarta.ws.rs.sse.OutboundSseEvent;
137
+ import jakarta.ws.rs.sse.SseEventSink;
138
138
  -
139
139
  import java.time.Clock;
140
140
  import java.time.Instant;
@@ -78,7 +78,7 @@ export const filenameXmlHit: Hit = {
78
78
  content: {
79
79
  highlighted: false,
80
80
  value:
81
- '<?xml version="1.0"?>\n<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\n\n <modelVersion>4.0.0</modelVersion>\n\n <parent>\n <artifactId>scm-clients</artifactId>\n <groupId>sonia.scm.clients</groupId>\n <version>2.0.0-SNAPSHOT</version>\n </parent>\n\n <artifactId>scm-cli-client</artifactId>\n <version>2.0.0-SNAPSHOT</version>\n <name>scm-cli-client</name>\n\n <dependencies>\n\n <!-- fix javadoc -->\n\n <dependency>\n <groupId>javax.servlet</groupId>\n <artifactId>javax.servlet-api</artifactId>\n <version>${servlet.version}</version>\n </dependency>\n\n <dependency>\n <groupId>javax.transaction</groupId>\n <artifactId>jta</artifactId>\n <version>1.1</version>\n <scope>provided</scope>\n </dependency>\n\n <dependency>\n <groupId>sonia.scm.clients</groupId>\n <artifactId>scm-client-impl</artifactId>\n <version>2.0.0-SNAPSHOT</version>\n </dependency>\n\n <dependency>\n <groupId>args4j</groupId>\n <artifactId>args4j</artifactId>\n <version>2.0.29</version>\n </dependency>\n\n <dependency>\n <groupId>ch.qos.logback</groupId>\n <artifactId>logback-classic</artifactId>\n <version>${logback.version}</version>\n </dependency>\n\n <dependency>\n <groupId>org.freemarker</groupId>\n <artifactId>freemarker</artifactId>\n <version>2.3.21</version>\n </dependency>\n\n </dependencies>\n\n <build>\n <plugins>\n\n <plugin>\n <groupId>com.mycila.maven-license-plugin</groupId>\n <artifactId>maven-license-plugin</artifactId>\n <version>1.9.0</version>\n <configuration>\n <header>http://download.scm-manager.org/licenses/mvn-license.txt</header>\n <includes>\n <include>src/**</include>\n <include>**/test/**</include>\n </includes>\n <excludes>\n <exclude>target/**</exclude>\n <exclude>.hg/**</exclude>\n <exclude>**/*.ftl</exclude>\n </excludes>\n <strictCheck>true</strictCheck>\n </configuration>\n </plugin>\n\n <plugin>\n <groupId>org.apache.maven.plugins</groupId>\n <artifactId>maven-assembly-plugin</artifactId>\n <version>2.3</version>\n <configuration>\n <archive>\n <manifest>\n <mainClass>sonia.scm.cli.App</mainClass>\n </manifest>\n </archive>\n <descriptorRefs>\n <descriptorRef>jar-with-dependencies</descriptorRef>\n </descriptorRefs>\n </configuration>\n <executions>\n <execution>\n <phase>package</phase>\n <goals>\n <goal>single</goal>\n </goals>\n </execution>\n </executions>\n </plugin>\n\n </plugins>\n </build>\n\n </project>\n',
81
+ '<?xml version="1.0"?>\n<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\n\n <modelVersion>4.0.0</modelVersion>\n\n <parent>\n <artifactId>scm-clients</artifactId>\n <groupId>sonia.scm.clients</groupId>\n <version>2.0.0-SNAPSHOT</version>\n </parent>\n\n <artifactId>scm-cli-client</artifactId>\n <version>2.0.0-SNAPSHOT</version>\n <name>scm-cli-client</name>\n\n <dependencies>\n\n <!-- fix javadoc -->\n\n <dependency>\n <groupId>jakarta.servlet</groupId>\n <artifactId>jakarta.servlet-api</artifactId>\n <version>${servlet.version}</version>\n </dependency>\n\n <dependency>\n <groupId>jakarta.transaction</groupId>\n <artifactId>jta</artifactId>\n <version>1.1</version>\n <scope>provided</scope>\n </dependency>\n\n <dependency>\n <groupId>sonia.scm.clients</groupId>\n <artifactId>scm-client-impl</artifactId>\n <version>2.0.0-SNAPSHOT</version>\n </dependency>\n\n <dependency>\n <groupId>args4j</groupId>\n <artifactId>args4j</artifactId>\n <version>2.0.29</version>\n </dependency>\n\n <dependency>\n <groupId>ch.qos.logback</groupId>\n <artifactId>logback-classic</artifactId>\n <version>${logback.version}</version>\n </dependency>\n\n <dependency>\n <groupId>org.freemarker</groupId>\n <artifactId>freemarker</artifactId>\n <version>2.3.21</version>\n </dependency>\n\n </dependencies>\n\n <build>\n <plugins>\n\n <plugin>\n <groupId>com.mycila.maven-license-plugin</groupId>\n <artifactId>maven-license-plugin</artifactId>\n <version>1.9.0</version>\n <configuration>\n <header>http://download.scm-manager.org/licenses/mvn-license.txt</header>\n <includes>\n <include>src/**</include>\n <include>**/test/**</include>\n </includes>\n <excludes>\n <exclude>target/**</exclude>\n <exclude>.hg/**</exclude>\n <exclude>**/*.ftl</exclude>\n </excludes>\n <strictCheck>true</strictCheck>\n </configuration>\n </plugin>\n\n <plugin>\n <groupId>org.apache.maven.plugins</groupId>\n <artifactId>maven-assembly-plugin</artifactId>\n <version>2.3</version>\n <configuration>\n <archive>\n <manifest>\n <mainClass>sonia.scm.cli.App</mainClass>\n </manifest>\n </archive>\n <descriptorRefs>\n <descriptorRef>jar-with-dependencies</descriptorRef>\n </descriptorRefs>\n </configuration>\n <executions>\n <execution>\n <phase>package</phase>\n <goals>\n <goal>single</goal>\n </goals>\n </execution>\n </executions>\n </plugin>\n\n </plugins>\n </build>\n\n </project>\n',
82
82
  },
83
83
  },
84
84
  _links: {},
@@ -428,7 +428,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
428
428
  ### Added
429
429
  - Add iconStyle + onClick option and story shot for icon component ([#1100](https://github.com/scm-manager/scm-manager/pull/1100))
430
430
  - Making WebElements (Servlet or Filter) optional by using the \`@Requires\` annotation ([#1101](https://github.com/scm-manager/scm-manager/pull/1101))
431
- - Add class to manually validate rest data transfer objects with javax validation annotations ([#1114](https://github.com/scm-manager/scm-manager/pull/1114))
431
+ - Add class to manually validate rest data transfer objects with jakarta validation annotations ([#1114](https://github.com/scm-manager/scm-manager/pull/1114))
432
432
  - Missing stories for ui-components ([#1140](https://github.com/scm-manager/scm-manager/pull/1140))
433
433
 
434
434
  ### Changed
@@ -12641,7 +12641,7 @@ and this project adheres to
12641
12641
 
12642
12642
 
12643
12643
  <li>
12644
- Add class to manually validate rest data transfer objects with javax validation annotations (
12644
+ Add class to manually validate rest data transfer objects with jakarta validation annotations (
12645
12645
  <a
12646
12646
  href="https://github.com/scm-manager/scm-manager/pull/1114"
12647
12647
  rel="noopener noreferrer"
@@ -25941,7 +25941,7 @@ exports[`Storyshots Repositories/Diff Changing Content 1`] = `
25941
25941
  onMouseEnter={[Function]}
25942
25942
  onMouseLeave={[Function]}
25943
25943
  >
25944
- import javax.ws.rs.sse.OutboundSseEvent;
25944
+ import jakarta.ws.rs.sse.OutboundSseEvent;
25945
25945
  </td>
25946
25946
  </tr>
25947
25947
  <tr
@@ -25966,7 +25966,7 @@ exports[`Storyshots Repositories/Diff Changing Content 1`] = `
25966
25966
  onMouseEnter={[Function]}
25967
25967
  onMouseLeave={[Function]}
25968
25968
  >
25969
- import javax.ws.rs.sse.SseEventSink;
25969
+ import jakarta.ws.rs.sse.SseEventSink;
25970
25970
  </td>
25971
25971
  </tr>
25972
25972
  <tr
@@ -33078,7 +33078,7 @@ exports[`Storyshots Repositories/Diff Expandable 1`] = `
33078
33078
  onMouseEnter={[Function]}
33079
33079
  onMouseLeave={[Function]}
33080
33080
  >
33081
- import javax.ws.rs.sse.OutboundSseEvent;
33081
+ import jakarta.ws.rs.sse.OutboundSseEvent;
33082
33082
  </td>
33083
33083
  </tr>
33084
33084
  <tr
@@ -33103,7 +33103,7 @@ exports[`Storyshots Repositories/Diff Expandable 1`] = `
33103
33103
  onMouseEnter={[Function]}
33104
33104
  onMouseLeave={[Function]}
33105
33105
  >
33106
- import javax.ws.rs.sse.SseEventSink;
33106
+ import jakarta.ws.rs.sse.SseEventSink;
33107
33107
  </td>
33108
33108
  </tr>
33109
33109
  <tr
@@ -37482,7 +37482,7 @@ exports[`Storyshots Repositories/Diff External state management 1`] = `
37482
37482
  onMouseEnter={[Function]}
37483
37483
  onMouseLeave={[Function]}
37484
37484
  >
37485
- import javax.ws.rs.sse.OutboundSseEvent;
37485
+ import jakarta.ws.rs.sse.OutboundSseEvent;
37486
37486
  </td>
37487
37487
  </tr>
37488
37488
  <tr
@@ -37507,7 +37507,7 @@ exports[`Storyshots Repositories/Diff External state management 1`] = `
37507
37507
  onMouseEnter={[Function]}
37508
37508
  onMouseLeave={[Function]}
37509
37509
  >
37510
- import javax.ws.rs.sse.SseEventSink;
37510
+ import jakarta.ws.rs.sse.SseEventSink;
37511
37511
  </td>
37512
37512
  </tr>
37513
37513
  <tr
@@ -41603,7 +41603,7 @@ exports[`Storyshots Repositories/Diff File Annotation 1`] = `
41603
41603
  onMouseEnter={[Function]}
41604
41604
  onMouseLeave={[Function]}
41605
41605
  >
41606
- import javax.ws.rs.sse.OutboundSseEvent;
41606
+ import jakarta.ws.rs.sse.OutboundSseEvent;
41607
41607
  </td>
41608
41608
  </tr>
41609
41609
  <tr
@@ -41628,7 +41628,7 @@ exports[`Storyshots Repositories/Diff File Annotation 1`] = `
41628
41628
  onMouseEnter={[Function]}
41629
41629
  onMouseLeave={[Function]}
41630
41630
  >
41631
- import javax.ws.rs.sse.SseEventSink;
41631
+ import jakarta.ws.rs.sse.SseEventSink;
41632
41632
  </td>
41633
41633
  </tr>
41634
41634
  <tr
@@ -45616,7 +45616,7 @@ exports[`Storyshots Repositories/Diff File Controls 1`] = `
45616
45616
  onMouseEnter={[Function]}
45617
45617
  onMouseLeave={[Function]}
45618
45618
  >
45619
- import javax.ws.rs.sse.OutboundSseEvent;
45619
+ import jakarta.ws.rs.sse.OutboundSseEvent;
45620
45620
  </td>
45621
45621
  </tr>
45622
45622
  <tr
@@ -45641,7 +45641,7 @@ exports[`Storyshots Repositories/Diff File Controls 1`] = `
45641
45641
  onMouseEnter={[Function]}
45642
45642
  onMouseLeave={[Function]}
45643
45643
  >
45644
- import javax.ws.rs.sse.SseEventSink;
45644
+ import jakarta.ws.rs.sse.SseEventSink;
45645
45645
  </td>
45646
45646
  </tr>
45647
45647
  <tr
@@ -52328,7 +52328,7 @@ exports[`Storyshots Repositories/Diff Line Annotation 1`] = `
52328
52328
  onMouseEnter={[Function]}
52329
52329
  onMouseLeave={[Function]}
52330
52330
  >
52331
- import javax.ws.rs.sse.OutboundSseEvent;
52331
+ import jakarta.ws.rs.sse.OutboundSseEvent;
52332
52332
  </td>
52333
52333
  </tr>
52334
52334
  <tr
@@ -52353,7 +52353,7 @@ exports[`Storyshots Repositories/Diff Line Annotation 1`] = `
52353
52353
  onMouseEnter={[Function]}
52354
52354
  onMouseLeave={[Function]}
52355
52355
  >
52356
- import javax.ws.rs.sse.SseEventSink;
52356
+ import jakarta.ws.rs.sse.SseEventSink;
52357
52357
  </td>
52358
52358
  </tr>
52359
52359
  <tr
@@ -56446,7 +56446,7 @@ exports[`Storyshots Repositories/Diff OnClick 1`] = `
56446
56446
  onMouseEnter={[Function]}
56447
56447
  onMouseLeave={[Function]}
56448
56448
  >
56449
- import javax.ws.rs.sse.OutboundSseEvent;
56449
+ import jakarta.ws.rs.sse.OutboundSseEvent;
56450
56450
  </td>
56451
56451
  </tr>
56452
56452
  <tr
@@ -56473,7 +56473,7 @@ exports[`Storyshots Repositories/Diff OnClick 1`] = `
56473
56473
  onMouseEnter={[Function]}
56474
56474
  onMouseLeave={[Function]}
56475
56475
  >
56476
- import javax.ws.rs.sse.SseEventSink;
56476
+ import jakarta.ws.rs.sse.SseEventSink;
56477
56477
  </td>
56478
56478
  </tr>
56479
56479
  <tr
@@ -60785,7 +60785,7 @@ exports[`Storyshots Repositories/Diff Side-By-Side 1`] = `
60785
60785
  onMouseEnter={[Function]}
60786
60786
  onMouseLeave={[Function]}
60787
60787
  >
60788
- import javax.ws.rs.sse.OutboundSseEvent;
60788
+ import jakarta.ws.rs.sse.OutboundSseEvent;
60789
60789
  </td>
60790
60790
  <td
60791
60791
  className="diff-gutter diff-gutter-normal"
@@ -60799,7 +60799,7 @@ exports[`Storyshots Repositories/Diff Side-By-Side 1`] = `
60799
60799
  onMouseEnter={[Function]}
60800
60800
  onMouseLeave={[Function]}
60801
60801
  >
60802
- import javax.ws.rs.sse.OutboundSseEvent;
60802
+ import jakarta.ws.rs.sse.OutboundSseEvent;
60803
60803
  </td>
60804
60804
  </tr>
60805
60805
  <tr
@@ -60817,7 +60817,7 @@ exports[`Storyshots Repositories/Diff Side-By-Side 1`] = `
60817
60817
  onMouseEnter={[Function]}
60818
60818
  onMouseLeave={[Function]}
60819
60819
  >
60820
- import javax.ws.rs.sse.SseEventSink;
60820
+ import jakarta.ws.rs.sse.SseEventSink;
60821
60821
  </td>
60822
60822
  <td
60823
60823
  className="diff-gutter diff-gutter-normal"
@@ -60831,7 +60831,7 @@ exports[`Storyshots Repositories/Diff Side-By-Side 1`] = `
60831
60831
  onMouseEnter={[Function]}
60832
60832
  onMouseLeave={[Function]}
60833
60833
  >
60834
- import javax.ws.rs.sse.SseEventSink;
60834
+ import jakarta.ws.rs.sse.SseEventSink;
60835
60835
  </td>
60836
60836
  </tr>
60837
60837
  <tr
@@ -65306,7 +65306,7 @@ exports[`Storyshots Repositories/Diff SyntaxHighlighting 1`] = `
65306
65306
  onMouseEnter={[Function]}
65307
65307
  onMouseLeave={[Function]}
65308
65308
  >
65309
- import javax.ws.rs.sse.OutboundSseEvent;
65309
+ import jakarta.ws.rs.sse.OutboundSseEvent;
65310
65310
  </td>
65311
65311
  </tr>
65312
65312
  <tr
@@ -65331,7 +65331,7 @@ exports[`Storyshots Repositories/Diff SyntaxHighlighting 1`] = `
65331
65331
  onMouseEnter={[Function]}
65332
65332
  onMouseLeave={[Function]}
65333
65333
  >
65334
- import javax.ws.rs.sse.SseEventSink;
65334
+ import jakarta.ws.rs.sse.SseEventSink;
65335
65335
  </td>
65336
65336
  </tr>
65337
65337
  <tr
@@ -69543,7 +69543,7 @@ exports[`Storyshots Repositories/Diff WithLinkToFile 1`] = `
69543
69543
  onMouseEnter={[Function]}
69544
69544
  onMouseLeave={[Function]}
69545
69545
  >
69546
- import javax.ws.rs.sse.OutboundSseEvent;
69546
+ import jakarta.ws.rs.sse.OutboundSseEvent;
69547
69547
  </td>
69548
69548
  </tr>
69549
69549
  <tr
@@ -69568,7 +69568,7 @@ exports[`Storyshots Repositories/Diff WithLinkToFile 1`] = `
69568
69568
  onMouseEnter={[Function]}
69569
69569
  onMouseLeave={[Function]}
69570
69570
  >
69571
- import javax.ws.rs.sse.SseEventSink;
69571
+ import jakarta.ws.rs.sse.SseEventSink;
69572
69572
  </td>
69573
69573
  </tr>
69574
69574
  <tr
@@ -79544,13 +79544,13 @@ exports[`Storyshots TextHitField Non Content Search 1`] = `
79544
79544
  &lt;!-- fix javadoc --&gt;
79545
79545
 
79546
79546
  &lt;dependency&gt;
79547
- &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
79548
- &lt;artifactId&gt;javax.servlet-api&lt;/artifactId&gt;
79547
+ &lt;groupId&gt;jakarta.servlet&lt;/groupId&gt;
79548
+ &lt;artifactId&gt;jakarta.servlet-api&lt;/artifactId&gt;
79549
79549
  &lt;version&gt;\${servlet.version}&lt;/version&gt;
79550
79550
  &lt;/dependency&gt;
79551
79551
 
79552
79552
  &lt;dependency&gt;
79553
- &lt;groupId&gt;javax.transaction&lt;/groupId&gt;
79553
+ &lt;groupId&gt;jakarta.transaction&lt;/groupId&gt;
79554
79554
  &lt;artifactId&gt;jta&lt;/artifactId&gt;
79555
79555
  &lt;version&gt;1.1&lt;/version&gt;
79556
79556
  &lt;scope&gt;provided&lt;/scope&gt;
@@ -79666,13 +79666,13 @@ exports[`Storyshots TextHitField Truncate Keep Whole Line 1`] = `
79666
79666
  &lt;!-- fix javadoc --&gt;
79667
79667
 
79668
79668
  &lt;dependency&gt;
79669
- &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
79670
- &lt;artifactId&gt;javax.servlet-api&lt;/artifactId&gt;
79669
+ &lt;groupId&gt;jakarta.servlet&lt;/groupId&gt;
79670
+ &lt;artifactId&gt;jakarta.servlet-api&lt;/artifactId&gt;
79671
79671
  &lt;version&gt;\${servlet.version}&lt;/version&gt;
79672
79672
  &lt;/dependency&gt;
79673
79673
 
79674
79674
  &lt;dependency&gt;
79675
- &lt;groupId&gt;javax.transaction&lt;/groupId&gt;
79675
+ &lt;groupId&gt;jakarta.transaction&lt;/groupId&gt;
79676
79676
  &lt;artifactId&gt;jta&lt;/artifactId&gt;
79677
79677
  &lt;version&gt;1.1&lt;/version&gt;
79678
79678
  &lt;scope&gt;provided&lt;/scope&gt;