Skip to content

Commit 21d8ff3

Browse files
authored
chore: sync kit (#32)
1 parent fad3371 commit 21d8ff3

File tree

27 files changed

+1280
-465
lines changed

27 files changed

+1280
-465
lines changed

packages/storybook/.storybook/preview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
import { StrictMode, useEffect, useState } from "react";
33
import { MINIMAL_VIEWPORTS, type ViewportMap } from "storybook/viewport";
44

5-
import { getSproutGlobalTypes, getSproutIntialGlobals, sproutCSSDecorator } from "@qlik/sprout-css-storybook";
65
import { ThemeProvider as SproutThemeProvider } from "@qlik/sprout-react";
6+
import { getSproutGlobalTypes, getSproutIntialGlobals, sproutCSSDecorator } from "@qlik/sprout-storybook";
77
import { Controls, Description, Primary, Stories, Subtitle, Title } from "@storybook/addon-docs/blocks";
88
import type { Preview } from "@storybook/react";
99

packages/storybook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
"@lezer/highlight": "^1.2.3",
2424
"@qlik/design-tokens": "workspace:*",
2525
"@qlik/sprout-css-modules": "workspace:*",
26-
"@qlik/sprout-css-storybook": "workspace:*",
2726
"@qlik/sprout-hooks": "workspace:*",
2827
"@qlik/sprout-icons": "workspace:*",
2928
"@qlik/sprout-react": "workspace:*",
29+
"@qlik/sprout-storybook": "workspace:*",
3030
"@qlik/sprout-table": "workspace:*",
3131
"@tanstack/react-virtual": "^3.13.18",
3232
"@uiw/codemirror-themes": "^4.25.4",

packages/storybook/src/docs/GettingStarted.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This component is optional but highly useful in the following scenarios:
4040

4141
- When using React components that rely on [portals](https://react.dev/reference/react-dom/createPortal).
4242
- When building a React application.
43-
- When setting up a Storybook instance (though we recommend using `@qlik/sprout-css-storybook` for this purpose).
43+
- When setting up a Storybook instance (though we recommend using `@qlik/sprout-storybook` for this purpose).
4444

4545
### API Highlights
4646

@@ -70,10 +70,10 @@ const MyCustomElement = ({ children }: { children: ReactNode }) => {
7070

7171
## Storybook Setup
7272

73-
Setting up Sprout CSS in Storybook is straightforward. You can use the `@qlik/sprout-css-storybook` package to simplify the process.
73+
Setting up Sprout CSS in Storybook is straightforward. You can use the `@qlik/sprout-storybook` package to simplify the process.
7474

7575
```jsx
76-
import { getSproutGlobalTypes, sproutCSSDecorator } from "@qlik/sprout-css-storybook";
76+
import { getSproutGlobalTypes, sproutCSSDecorator } from "@qlik/sprout-storybook";
7777

7878
export default {
7979
// Automatically wraps your stories with the ThemeProvider

pnpm-lock.yaml

Lines changed: 758 additions & 170 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/eslint-config-sprout/CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,46 @@
11
# @qlik/eslint-config-sprout
22

3+
## 1.0.5
4+
5+
### Patch Changes
6+
7+
- 5328fb1: chore: update npm dependencies
8+
- Updated dependencies [5328fb1]
9+
- Updated dependencies [81db710]
10+
- @qlik/eslint-plugin-sprout@1.1.0
11+
12+
## 1.0.4
13+
14+
### Patch Changes
15+
16+
- 7c52fd0: chore: update npm dependencies
17+
- 9de9acf: chore: update deps
18+
- Updated dependencies [7c52fd0]
19+
- Updated dependencies [9de9acf]
20+
- @qlik/eslint-plugin-sprout@1.0.3
21+
22+
## 1.0.3
23+
24+
### Patch Changes
25+
26+
- 0f95ab1: docs: update license to MIT
27+
- Updated dependencies [0f95ab1]
28+
- @qlik/eslint-plugin-sprout@1.0.2
29+
30+
## 1.0.2
31+
32+
### Patch Changes
33+
34+
- 906e787: chore: update npm dependencies
35+
- Updated dependencies [906e787]
36+
- @qlik/eslint-plugin-sprout@1.0.1
37+
38+
## 1.0.1
39+
40+
### Patch Changes
41+
42+
- a685c7b: fix: add missing types
43+
344
## 1.0.0
445

546
### Major Changes

tools/eslint-config-sprout/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Qlik
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

tools/eslint-config-sprout/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "@qlik/eslint-config-sprout",
3-
"version": "1.0.3",
4-
"homepage": "https://github.com/qlik/sprout#readme",
3+
"version": "1.0.5",
4+
"homepage": "https://github.com/qlik/sprout-kit#readme",
55
"bugs": {
6-
"url": "https://github.com/qlik/sprout/issues"
6+
"url": "https://github.com/qlik/sprout-kit/issues"
77
},
8-
"repository": "https://github.com/qlik/sprout.git",
8+
"repository": "https://github.com/qlik/sprout-kit.git",
99
"license": "MIT",
1010
"type": "module",
1111
"exports": {
@@ -32,13 +32,13 @@
3232
"test": "vitest run"
3333
},
3434
"dependencies": {
35-
"@qlik/eslint-config": "^1.4.16",
35+
"@qlik/eslint-config": "^1.4.18",
3636
"@qlik/eslint-plugin-sprout": "workspace:*",
37-
"@typescript-eslint/eslint-plugin": "^8.54.0",
37+
"@typescript-eslint/eslint-plugin": "^8.55.0",
3838
"eslint-plugin-react": "^7.37.5"
3939
},
4040
"devDependencies": {
41-
"@eslint/js": "^9.39.2",
41+
"@eslint/js": "^10.0.1",
4242
"eslint": "^9.39.2",
4343
"prettier": "^3.8.1",
4444
"vitest": "^4.0.18"

tools/eslint-plugin-sprout/CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# @qlik/eslint-plugin-sprout
22

3+
## 1.1.0
4+
5+
### Minor Changes
6+
7+
- 81db710: feat: add rule to forbid import of tokens
8+
9+
### Patch Changes
10+
11+
- 5328fb1: chore: update npm dependencies
12+
13+
## 1.0.3
14+
15+
### Patch Changes
16+
17+
- 7c52fd0: chore: update npm dependencies
18+
- 9de9acf: chore: update deps
19+
20+
## 1.0.2
21+
22+
### Patch Changes
23+
24+
- 0f95ab1: docs: update license to MIT
25+
26+
## 1.0.1
27+
28+
### Patch Changes
29+
30+
- 906e787: chore: update npm dependencies
31+
332
## 1.0.0
433

534
### Major Changes

tools/eslint-plugin-sprout/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Qlik
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

tools/eslint-plugin-sprout/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "@qlik/eslint-plugin-sprout",
3-
"version": "1.0.2",
4-
"homepage": "https://github.com/qlik/sprout#readme",
3+
"version": "1.1.0",
4+
"homepage": "https://github.com/qlik/sprout-kit#readme",
55
"bugs": {
6-
"url": "https://github.com/qlik/sprout/issues"
6+
"url": "https://github.com/qlik/sprout-kit/issues"
77
},
8-
"repository": "https://github.com/qlik/sprout.git",
8+
"repository": "https://github.com/qlik/sprout-kit.git",
99
"license": "MIT",
1010
"type": "module",
1111
"exports": {
@@ -24,8 +24,8 @@
2424
"test": "vitest run"
2525
},
2626
"devDependencies": {
27-
"@eslint/js": "^9.39.2",
28-
"@qlik/eslint-config": "^1.4.16",
27+
"@eslint/js": "^10.0.1",
28+
"@qlik/eslint-config": "^1.4.18",
2929
"@qlik/tsconfig": "^0.3.1",
3030
"eslint": "^9.39.2",
3131
"prettier": "^3.8.1",

0 commit comments

Comments
 (0)