Skip to content

Commit 9db25a5

Browse files
authored
chore: pre-release icons (#34)
1 parent 21d8ff3 commit 9db25a5

File tree

8 files changed

+49
-3
lines changed

8 files changed

+49
-3
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Release Icons
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- jmfrancois/chore/release-icons
8+
workflow_dispatch:
9+
10+
concurrency: ${{ github.workflow }}-${{ github.ref }}
11+
12+
jobs:
13+
release:
14+
name: Release
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v6
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Git Config
22+
run: |
23+
git config user.name "github-action"
24+
git config user.email "github-action@noreply.github.com"
25+
26+
- name: Use Node.js
27+
uses: ./.github/actions/setup-node
28+
with:
29+
npm-token: ${{ secrets.NPM_CI_TOKEN }}
30+
31+
# - run: pnpm install
32+
# - run: |
33+
# echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc
34+
# cd packages/sprout-icons
35+
# npm publish
36+
# env:
37+
# NPM_TOKEN: ${{ secrets.NPM_CI_TOKEN }}

packages/sprout-css-modules/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@qlik/sprout-css-modules",
33
"version": "6.40.0",
4+
"private": true,
45
"description": "Collections of CSS modules ready to be used to implement sprout",
56
"repository": "https://github.com/qlik/sprout.git",
67
"license": "MIT",

packages/sprout-hooks/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@qlik/sprout-hooks",
33
"version": "1.2.1",
4+
"private": true,
45
"homepage": "https://github.com/qlik/sprout#readme",
56
"bugs": {
67
"url": "https://github.com/qlik/sprout/issues"

packages/sprout-icons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qlik/sprout-icons",
3-
"version": "1.0.0",
3+
"version": "0.0.0",
44
"type": "module",
55
"scripts": {
66
"build": "rimraf ./react ./vue ./raw ./optimized && svgo -f ./svg -o ./optimized --pretty --indent=2 && node ./scripts/build-icon-pkg.mjs esm"

packages/sprout-react/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@qlik/sprout-react",
33
"version": "6.40.0",
4+
"private": true,
45
"homepage": "https://github.com/qlik/sprout#readme",
56
"bugs": {
67
"url": "https://github.com/qlik/sprout/issues"

packages/sprout-react/src/Button/Button.module.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
padding: var(--sprout-common-spacing-m);
1515
}
1616

17-
.button [data-type="icon"] {
17+
.button [data-type="icon"],
18+
.button [data-type="icon"] > svg {
1819
inline-size: var(--sprout-common-sizing-xl);
1920
block-size: var(--sprout-common-sizing-xl);
2021
}
@@ -28,6 +29,8 @@
2829
inline-size: 100%;
2930
}
3031

32+
/* dropdown */
33+
/* stylelint-disable-next-line no-descending-specificity */
3134
.button > span > svg {
3235
fill: currentcolor;
3336
inline-size: var(--sprout-common-sizing-xl);
@@ -261,7 +264,8 @@
261264
gap: var(--sprout-common-spacing-s);
262265
}
263266

264-
.button[data-size="small"] [data-type="icon"] {
267+
.button[data-size="small"] [data-type="icon"],
268+
.button[data-size="small"] [data-type="icon"] > svg {
265269
inline-size: var(--sprout-common-sizing-l);
266270
block-size: var(--sprout-common-sizing-l);
267271
}

packages/sprout-table/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@qlik/sprout-table",
33
"version": "0.15.1",
4+
"private": true,
45
"homepage": "https://github.com/qlik/sprout#readme",
56
"bugs": {
67
"url": "https://github.com/qlik/sprout/issues"

tools/sprout-storybook/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@qlik/sprout-storybook",
33
"version": "7.3.0",
4+
"private": true,
45
"description": "Storybook for sprout-css",
56
"homepage": "https://github.com/qlik/sprout-kit#readme",
67
"bugs": {

0 commit comments

Comments
 (0)