Compare commits
3 Commits
d5574a0a44
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| e2142ccb94 | |||
| a4322ef81f | |||
| 928cde60b4 |
2
.npmrc
2
.npmrc
@@ -1 +1 @@
|
||||
@add-ideas:registry=https://git.add-ideas.de/api/packages/zemion/npm/
|
||||
@add-ideas:registry=https://git.add-ideas.de/api/packages/lotobo/npm/
|
||||
|
||||
22
CHANGELOG.md
22
CHANGELOG.md
@@ -1,5 +1,27 @@
|
||||
# Changelog
|
||||
|
||||
## 0.4.3
|
||||
|
||||
### Changed
|
||||
|
||||
- Moved canonical repository, Toolbox schema, corresponding-source, and package-registry URLs from the personal `zemion` namespace to the `lotobo` LocalToolBox organization.
|
||||
- Upgraded Toolbox Contract, React Shell, and Testkit dependencies to 0.2.3 from the organization-owned registry.
|
||||
- Bumped the app/package version to 0.4.3.
|
||||
|
||||
## 0.4.2
|
||||
|
||||
### Changed
|
||||
|
||||
- Upgraded Toolbox Contract, React Shell, and Testkit dependencies to 0.2.2.
|
||||
- Moved the Toolbox icon and `add·ideas Toolbox` label to the fixed far-left block and placed Help, the XSLT-specific Gitea source link, Apps, and Personalize in reverse order in the fixed right cluster while keeping the app title and tagline centered.
|
||||
|
||||
## 0.4.1
|
||||
|
||||
### Changed
|
||||
|
||||
- Upgraded Toolbox Contract, React Shell, and Testkit dependencies to 0.2.1.
|
||||
- Adopted the stable shared top bar: the fixed left cluster contains Personalize, Apps, the XSLT-specific Gitea source link, and Help; the app title and one tagline remain centered; and the fixed far-right block contains the Toolbox icon and `add·ideas Toolbox` label.
|
||||
|
||||
## 0.4.0
|
||||
|
||||
### Added
|
||||
|
||||
@@ -104,7 +104,7 @@ An unavailable or invalid catalogue falls back to standalone operation.
|
||||
|
||||
## Appearance
|
||||
|
||||
Use **Personalize** in the shared top bar to select System, Light, or Dark. The choice is stored only in this browser using the same preference record as the Toolbox Portal, so it follows you between current Toolbox apps on the same origin. System mode follows the operating-system color preference. CodeMirror is reconfigured when the effective palette changes, including its editor background, gutters, active line, and XML syntax colors.
|
||||
The stable shared top bar keeps the Toolbox icon and `add·ideas Toolbox` label in a fixed far-left block, the app title and one tagline centered, and Help, the XSLT source link, Apps, and Personalize in a fixed right cluster. Use **Personalize** to select System, Light, or Dark. The choice is stored only in this browser using the same preference record as the Toolbox Portal, so it follows you between current Toolbox apps on the same origin. System mode follows the operating-system color preference. CodeMirror is reconfigured when the effective palette changes, including its editor background, gutters, active line, and XML syntax colors.
|
||||
|
||||
## Release archive
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# Corresponding source
|
||||
|
||||
The corresponding application source for XSLT tools 0.4.0 is available at:
|
||||
The corresponding application source for XSLT tools 0.4.3 is available at:
|
||||
|
||||
<https://git.add-ideas.de/zemion/xslt-tools/src/tag/v0.4.0>
|
||||
<https://git.add-ideas.de/lotobo/xslt-tools/src/tag/v0.4.3>
|
||||
|
||||
The XSLT tools application source is licensed under AGPL-3.0-only. This release
|
||||
also contains third-party components under separate terms. See
|
||||
|
||||
32
package-lock.json
generated
32
package-lock.json
generated
@@ -1,16 +1,16 @@
|
||||
{
|
||||
"name": "xsl-tools",
|
||||
"version": "0.4.0",
|
||||
"version": "0.4.3",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "xsl-tools",
|
||||
"version": "0.4.0",
|
||||
"version": "0.4.3",
|
||||
"license": "AGPL-3.0-only",
|
||||
"dependencies": {
|
||||
"@add-ideas/toolbox-contract": "0.2.0",
|
||||
"@add-ideas/toolbox-shell-react": "0.2.0",
|
||||
"@add-ideas/toolbox-contract": "0.2.3",
|
||||
"@add-ideas/toolbox-shell-react": "0.2.3",
|
||||
"@codemirror/commands": "^6.8.1",
|
||||
"@codemirror/lang-xml": "^6.1.0",
|
||||
"@codemirror/lint": "^6.8.5",
|
||||
@@ -24,7 +24,7 @@
|
||||
"react-dom": "^19.2.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@add-ideas/toolbox-testkit": "0.2.0",
|
||||
"@add-ideas/toolbox-testkit": "0.2.3",
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@testing-library/react": "^16.3.2",
|
||||
"@testing-library/user-event": "^14.6.1",
|
||||
@@ -46,18 +46,18 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@add-ideas/toolbox-contract": {
|
||||
"version": "0.2.0",
|
||||
"resolved": "https://git.add-ideas.de/api/packages/zemion/npm/%40add-ideas%2Ftoolbox-contract/-/0.2.0/toolbox-contract-0.2.0.tgz",
|
||||
"integrity": "sha512-up+wY+ft1L7TbXrflcTeTOwEdcFwHBWFlGFj8skQvcLy5z2mDBpd6/7PVQKDvDTkiODu2npviHm6AFglFw+17Q==",
|
||||
"version": "0.2.3",
|
||||
"resolved": "https://git.add-ideas.de/api/packages/lotobo/npm/%40add-ideas%2Ftoolbox-contract/-/0.2.3/toolbox-contract-0.2.3.tgz",
|
||||
"integrity": "sha512-T0PVSuMT40GjTDfQJhEEY3ZawQq8zz1/ry95JdKI6W39CdLacaRXdGnEpDCMHt+jUbf1Jz7Nat/M5dFCgKVM9A==",
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
"node_modules/@add-ideas/toolbox-shell-react": {
|
||||
"version": "0.2.0",
|
||||
"resolved": "https://git.add-ideas.de/api/packages/zemion/npm/%40add-ideas%2Ftoolbox-shell-react/-/0.2.0/toolbox-shell-react-0.2.0.tgz",
|
||||
"integrity": "sha512-qYR+OBXX8rfB+BYCsUbpiCzo2xK12SIPWVNXHre158Da5uT6usr8rRvp5qa5u2oQJ50PNzlXyXMyTeRp0Vz5wg==",
|
||||
"version": "0.2.3",
|
||||
"resolved": "https://git.add-ideas.de/api/packages/lotobo/npm/%40add-ideas%2Ftoolbox-shell-react/-/0.2.3/toolbox-shell-react-0.2.3.tgz",
|
||||
"integrity": "sha512-DT5lQDH48BFkFcmFLZnQh7+Cm73JzBPcmp5WzUXypfkUXpEyDYHzaXgmW4kZ0edSwh4RK4sPmx+JPtK0X4aKCQ==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@add-ideas/toolbox-contract": "0.2.0"
|
||||
"@add-ideas/toolbox-contract": "0.2.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=18 <20",
|
||||
@@ -65,13 +65,13 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@add-ideas/toolbox-testkit": {
|
||||
"version": "0.2.0",
|
||||
"resolved": "https://git.add-ideas.de/api/packages/zemion/npm/%40add-ideas%2Ftoolbox-testkit/-/0.2.0/toolbox-testkit-0.2.0.tgz",
|
||||
"integrity": "sha512-+BSiWgS0F3vpjPgty9B4UtfdZTRbo97ZElb2BSb0ry57fS3cE7w7pfJW1Mzk/gV1/JChspw3JBY+4ZJDBhkiFw==",
|
||||
"version": "0.2.3",
|
||||
"resolved": "https://git.add-ideas.de/api/packages/lotobo/npm/%40add-ideas%2Ftoolbox-testkit/-/0.2.3/toolbox-testkit-0.2.3.tgz",
|
||||
"integrity": "sha512-sq1MwhKWfFKen+N+124hl74qQimRSvmQ9sOU7jdcI+2qCKZ67+2B8rWyezeV80uTFu4Jv6deHksfYQ/tKNV6XQ==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@add-ideas/toolbox-contract": "0.2.0"
|
||||
"@add-ideas/toolbox-contract": "0.2.3"
|
||||
},
|
||||
"bin": {
|
||||
"toolbox-check": "dist/cli.js"
|
||||
|
||||
16
package.json
16
package.json
@@ -1,10 +1,18 @@
|
||||
{
|
||||
"name": "xsl-tools",
|
||||
"version": "0.4.0",
|
||||
"version": "0.4.3",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"license": "AGPL-3.0-only",
|
||||
"description": "Browser-based XSLT workbench with explicit executable-stylesheet trust controls.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://git.add-ideas.de/lotobo/xslt-tools.git"
|
||||
},
|
||||
"homepage": "https://git.add-ideas.de/lotobo/xslt-tools",
|
||||
"bugs": {
|
||||
"url": "https://git.add-ideas.de/lotobo/xslt-tools/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"predev": "npm run manifest:generate",
|
||||
"dev": "vite",
|
||||
@@ -28,8 +36,8 @@
|
||||
"clean": "rm -rf dist node_modules/.vite coverage"
|
||||
},
|
||||
"dependencies": {
|
||||
"@add-ideas/toolbox-contract": "0.2.0",
|
||||
"@add-ideas/toolbox-shell-react": "0.2.0",
|
||||
"@add-ideas/toolbox-contract": "0.2.3",
|
||||
"@add-ideas/toolbox-shell-react": "0.2.3",
|
||||
"@codemirror/commands": "^6.8.1",
|
||||
"@codemirror/lang-xml": "^6.1.0",
|
||||
"@codemirror/lint": "^6.8.5",
|
||||
@@ -43,7 +51,7 @@
|
||||
"react-dom": "^19.2.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@add-ideas/toolbox-testkit": "0.2.0",
|
||||
"@add-ideas/toolbox-testkit": "0.2.3",
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@testing-library/react": "^16.3.2",
|
||||
"@testing-library/user-event": "^14.6.1",
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"$schema": "https://git.add-ideas.de/zemion/toolbox-sdk/raw/branch/main/schemas/toolbox-app.v1.schema.json",
|
||||
"$schema": "https://git.add-ideas.de/lotobo/toolbox-sdk/raw/branch/main/schemas/toolbox-app.v1.schema.json",
|
||||
"schemaVersion": 1,
|
||||
"id": "de.add-ideas.xslt-tools",
|
||||
"name": "XSLT tools",
|
||||
"version": "0.4.0",
|
||||
"version": "0.4.3",
|
||||
"description": "Browser-based XML and XSLT transformations with executable-stylesheet trust controls.",
|
||||
"entry": "./",
|
||||
"icon": "./favicon.svg",
|
||||
@@ -28,7 +28,7 @@
|
||||
"label": "Stylesheets are executable: after explicit trust they may read same-site app data, contact the network, or navigate away."
|
||||
},
|
||||
"source": {
|
||||
"repository": "https://git.add-ideas.de/zemion/xslt-tools",
|
||||
"repository": "https://git.add-ideas.de/lotobo/xslt-tools",
|
||||
"license": "AGPL-3.0-only"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ import { APP_VERSION } from './version.ts';
|
||||
|
||||
export const toolboxAppDefinition = {
|
||||
$schema:
|
||||
'https://git.add-ideas.de/zemion/toolbox-sdk/raw/branch/main/schemas/toolbox-app.v1.schema.json',
|
||||
'https://git.add-ideas.de/lotobo/toolbox-sdk/raw/branch/main/schemas/toolbox-app.v1.schema.json',
|
||||
schemaVersion: 1,
|
||||
id: 'de.add-ideas.xslt-tools',
|
||||
name: 'XSLT tools',
|
||||
@@ -34,7 +34,7 @@ export const toolboxAppDefinition = {
|
||||
'Stylesheets are executable: after explicit trust they may read same-site app data, contact the network, or navigate away.',
|
||||
},
|
||||
source: {
|
||||
repository: 'https://git.add-ideas.de/zemion/xslt-tools',
|
||||
repository: 'https://git.add-ideas.de/lotobo/xslt-tools',
|
||||
license: 'AGPL-3.0-only',
|
||||
},
|
||||
} as const;
|
||||
|
||||
@@ -1 +1 @@
|
||||
export const APP_VERSION = '0.4.0';
|
||||
export const APP_VERSION = '0.4.3';
|
||||
|
||||
@@ -72,7 +72,7 @@ describe('toolbox shell integration', () => {
|
||||
screen
|
||||
.getByRole('link', { name: 'Source for XSLT tools on Gitea' })
|
||||
.getAttribute('href')
|
||||
).toBe('https://git.add-ideas.de/zemion/xslt-tools');
|
||||
).toBe('https://git.add-ideas.de/lotobo/xslt-tools');
|
||||
expect(screen.getByText('Personalize')).toBeTruthy();
|
||||
expect(screen.getByText('Apps')).toBeTruthy();
|
||||
});
|
||||
@@ -86,7 +86,7 @@ describe('toolbox shell integration', () => {
|
||||
const shell = container.firstElementChild;
|
||||
|
||||
expect(shell?.getAttribute('data-toolbox-theme')).toBe('system');
|
||||
fireEvent.click(screen.getByText('Personalize').closest('summary')!);
|
||||
fireEvent.click(screen.getByRole('button', { name: 'Personalize' }));
|
||||
fireEvent.click(screen.getByRole('button', { name: 'Dark' }));
|
||||
expect(shell?.getAttribute('data-toolbox-theme')).toBe('dark');
|
||||
|
||||
@@ -114,7 +114,7 @@ describe('toolbox shell integration', () => {
|
||||
</AppShell>
|
||||
);
|
||||
|
||||
fireEvent.click(screen.getByText('Apps').closest('summary')!);
|
||||
fireEvent.click(screen.getByRole('button', { name: 'Apps' }));
|
||||
const navigation = await screen.findByRole('navigation', {
|
||||
name: 'Toolbox applications',
|
||||
});
|
||||
@@ -123,7 +123,9 @@ describe('toolbox shell integration', () => {
|
||||
container.firstElementChild?.getAttribute('data-toolbox-context')
|
||||
).toBe('connected');
|
||||
expect(
|
||||
screen.getByRole('link', { name: 'Test Toolbox' }).getAttribute('href')
|
||||
screen
|
||||
.getByRole('link', { name: 'add·ideas Toolbox' })
|
||||
.getAttribute('href')
|
||||
).toBe('https://example.test/');
|
||||
|
||||
const pdfLink = screen.getByRole('link', { name: 'PDF Workbench' });
|
||||
|
||||
Reference in New Issue
Block a user