@woosmap/ui 4.250.1 → 4.251.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.
- package/.github/workflows/publish.yml +104 -0
- package/package.json +2 -2
- package/src/components/Icon/Icon.js +2 -0
- package/src/icons/indoor-convenience_store.svg +1 -0
- package/.claude/settings.local.json +0 -8
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/encodings.xml +0 -6
- package/.idea/inspectionProfiles/Project_Default.xml +0 -30
- package/.idea/inspectionProfiles/profiles_settings.xml +0 -6
- package/.idea/misc.xml +0 -4
- package/.idea/modules.xml +0 -8
- package/.idea/prettier.xml +0 -6
- package/.idea/ui.iml +0 -8
- package/.idea/vcs.xml +0 -6
- package/data/hl-pricings.json +0 -20265
- package/src/components/Icon/Icons.js +0 -7
- package/src/components/PricingSlider/PricingData-Pro_Plan2025.js +0 -573
- package/src/components/PricingSlider/PricingData_competitors.js +0 -674
- package/src/setupTests.js +0 -27
- package/storybook.log +0 -3
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
name: Publish to npm
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- master
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
publish:
|
|
10
|
+
name: Build, Test & Publish
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
|
13
|
+
permissions:
|
|
14
|
+
contents: write
|
|
15
|
+
id-token: write
|
|
16
|
+
pull-requests: read
|
|
17
|
+
environment: npm-publish
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v4
|
|
20
|
+
with:
|
|
21
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
22
|
+
|
|
23
|
+
- name: Use Node.js
|
|
24
|
+
uses: actions/setup-node@v4
|
|
25
|
+
with:
|
|
26
|
+
node-version: "22.x"
|
|
27
|
+
|
|
28
|
+
- name: Upgrade npm for OIDC trusted publishing
|
|
29
|
+
run: npm install -g npm@latest
|
|
30
|
+
|
|
31
|
+
- name: Install dependencies
|
|
32
|
+
run: yarn
|
|
33
|
+
|
|
34
|
+
- name: Run tests
|
|
35
|
+
run: yarn test --watchAll=false
|
|
36
|
+
|
|
37
|
+
- name: Determine version bump
|
|
38
|
+
id: bump
|
|
39
|
+
uses: actions/github-script@v7
|
|
40
|
+
with:
|
|
41
|
+
script: |
|
|
42
|
+
const { data: commits } = await github.rest.repos.listPullRequestsAssociatedWithCommit({
|
|
43
|
+
owner: context.repo.owner,
|
|
44
|
+
repo: context.repo.repo,
|
|
45
|
+
commit_sha: context.sha,
|
|
46
|
+
});
|
|
47
|
+
const pr = commits.find(p => p.merged_at);
|
|
48
|
+
let bump = 'minor';
|
|
49
|
+
if (pr) {
|
|
50
|
+
const labels = pr.labels.map(l => l.name.toLowerCase());
|
|
51
|
+
if (labels.includes('patch')) {
|
|
52
|
+
bump = 'patch';
|
|
53
|
+
} else if (labels.includes('minor')) {
|
|
54
|
+
bump = 'minor';
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
core.setOutput('type', bump);
|
|
58
|
+
core.info(`Version bump: ${bump}`);
|
|
59
|
+
|
|
60
|
+
- name: Configure git
|
|
61
|
+
run: |
|
|
62
|
+
git config user.name "github-actions[bot]"
|
|
63
|
+
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
64
|
+
|
|
65
|
+
- name: Bump version
|
|
66
|
+
id: version
|
|
67
|
+
run: |
|
|
68
|
+
npm version ${{ steps.bump.outputs.type }} --no-git-tag-version
|
|
69
|
+
VERSION=$(node -p "require('./package.json').version")
|
|
70
|
+
echo "new_version=$VERSION" >> "$GITHUB_OUTPUT"
|
|
71
|
+
|
|
72
|
+
- name: Build
|
|
73
|
+
run: yarn build
|
|
74
|
+
|
|
75
|
+
- name: Publish to npm
|
|
76
|
+
run: npm publish --access public
|
|
77
|
+
|
|
78
|
+
- name: Commit version bump and tag
|
|
79
|
+
run: |
|
|
80
|
+
git add package.json
|
|
81
|
+
git commit -m "v${{ steps.version.outputs.new_version }} [skip ci]"
|
|
82
|
+
git tag "v${{ steps.version.outputs.new_version }}"
|
|
83
|
+
git push origin master --tags
|
|
84
|
+
|
|
85
|
+
- name: Create GitHub Release
|
|
86
|
+
uses: actions/github-script@v7
|
|
87
|
+
with:
|
|
88
|
+
script: |
|
|
89
|
+
const version = '${{ steps.version.outputs.new_version }}';
|
|
90
|
+
const tag = `v${version}`;
|
|
91
|
+
const { data: commits } = await github.rest.repos.listPullRequestsAssociatedWithCommit({
|
|
92
|
+
owner: context.repo.owner,
|
|
93
|
+
repo: context.repo.repo,
|
|
94
|
+
commit_sha: context.sha,
|
|
95
|
+
});
|
|
96
|
+
const pr = commits.find(p => p.merged_at);
|
|
97
|
+
const prLine = pr ? `- ${pr.title} (#${pr.number})` : '';
|
|
98
|
+
await github.rest.repos.createRelease({
|
|
99
|
+
owner: context.repo.owner,
|
|
100
|
+
repo: context.repo.repo,
|
|
101
|
+
tag_name: tag,
|
|
102
|
+
name: tag,
|
|
103
|
+
body: `## What's Changed\n${prLine}\n\n**npm**: https://www.npmjs.com/package/@woosmap/ui/v/${version}`,
|
|
104
|
+
});
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@woosmap/ui",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.251.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
|
-
"url": "git+https://github.com/
|
|
6
|
+
"url": "git+https://github.com/Woosmap/ui.git"
|
|
7
7
|
},
|
|
8
8
|
"main": "src/index.js",
|
|
9
9
|
"exports": {
|
|
@@ -264,6 +264,7 @@ import { ReactComponent as IndoorCheckin } from '../../icons/indoor-checkin.svg'
|
|
|
264
264
|
import { ReactComponent as IndoorClass } from '../../icons/indoor-class.svg';
|
|
265
265
|
import { ReactComponent as IndoorClothes } from '../../icons/indoor-clothes.svg';
|
|
266
266
|
import { ReactComponent as IndoorConvinienceStore } from '../../icons/indoor-convinience_store.svg';
|
|
267
|
+
import { ReactComponent as IndoorConvenienceStore } from '../../icons/indoor-convenience_store.svg';
|
|
267
268
|
import { ReactComponent as IndoorCosmetics } from '../../icons/indoor-cosmetics.svg';
|
|
268
269
|
import { ReactComponent as IndoorDefault } from '../../icons/indoor-default.svg';
|
|
269
270
|
import { ReactComponent as IndoorDefibrillator } from '../../icons/indoor-defibrillator.svg';
|
|
@@ -745,6 +746,7 @@ const ConsoleIcons = {
|
|
|
745
746
|
'indoor-class': IndoorClass,
|
|
746
747
|
'indoor-clothes': IndoorClothes,
|
|
747
748
|
'indoor-convinience_store': IndoorConvinienceStore,
|
|
749
|
+
'indoor-convenience_store': IndoorConvenienceStore,
|
|
748
750
|
'indoor-cosmetics': IndoorCosmetics,
|
|
749
751
|
'indoor-default': IndoorDefault,
|
|
750
752
|
'indoor-defibrillator': IndoorDefibrillator,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 42 42"><path d="m21.959,23.86l6.695-6.695c2.572,1.07,5.645.561,7.737-1.531,2.035-2.035,2.568-4.999,1.611-7.527l-3.903,3.903h-2.438s-1.809-1.809-1.809-1.809l.138-2.299,3.903-3.903c-2.528-.958-5.492-.425-7.527,1.611-2.092,2.092-2.6,5.165-1.531,7.737l-11.488,11.488c-2.572-1.07-5.645-.561-7.737,1.531-2.035,2.035-2.568,4.999-1.611,7.527l4.292-4.292h2.437s1.809,1.809,1.809,1.809l-.138,2.299-4.292,4.292c2.528.958,5.492.425,7.527-1.611,2.092-2.092,2.6-5.165,1.531-7.737l4.793-4.793"/><polyline points="22.211 23.906 24.578 26.273 26.273 24.578 23.757 22.062"/><polyline points="19.938 18.243 7.58 5.884 4.816 4 4 4.816 5.885 7.58 18.243 19.938"/><path d="m36.902,32.262l-9.43-8.879-4.089,4.089,8.879,9.43c1.268,1.354,3.406,1.39,4.718.078h0c1.312-1.312,1.277-3.45-.078-4.718Z"/></svg>
|
package/.idea/encodings.xml
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<component name="InspectionProjectProfileManager">
|
|
2
|
-
<profile version="1.0">
|
|
3
|
-
<option name="myName" value="Project Default" />
|
|
4
|
-
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
5
|
-
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
|
6
|
-
<option name="ignoredPackages">
|
|
7
|
-
<value>
|
|
8
|
-
<list size="16">
|
|
9
|
-
<item index="0" class="java.lang.String" itemvalue="Fabric" />
|
|
10
|
-
<item index="1" class="java.lang.String" itemvalue="PyYAML" />
|
|
11
|
-
<item index="2" class="java.lang.String" itemvalue="Jinja2" />
|
|
12
|
-
<item index="3" class="java.lang.String" itemvalue="github3.py" />
|
|
13
|
-
<item index="4" class="java.lang.String" itemvalue="schedule" />
|
|
14
|
-
<item index="5" class="java.lang.String" itemvalue="tzlocal" />
|
|
15
|
-
<item index="6" class="java.lang.String" itemvalue="pydantic" />
|
|
16
|
-
<item index="7" class="java.lang.String" itemvalue="django" />
|
|
17
|
-
<item index="8" class="java.lang.String" itemvalue="django-cors-middleware" />
|
|
18
|
-
<item index="9" class="java.lang.String" itemvalue="timezonefinder" />
|
|
19
|
-
<item index="10" class="java.lang.String" itemvalue="application_kit" />
|
|
20
|
-
<item index="11" class="java.lang.String" itemvalue="requests" />
|
|
21
|
-
<item index="12" class="java.lang.String" itemvalue="PLY" />
|
|
22
|
-
<item index="13" class="java.lang.String" itemvalue="ddtrace" />
|
|
23
|
-
<item index="14" class="java.lang.String" itemvalue="humanize" />
|
|
24
|
-
<item index="15" class="java.lang.String" itemvalue="types-redis" />
|
|
25
|
-
</list>
|
|
26
|
-
</value>
|
|
27
|
-
</option>
|
|
28
|
-
</inspection_tool>
|
|
29
|
-
</profile>
|
|
30
|
-
</component>
|
package/.idea/misc.xml
DELETED
package/.idea/modules.xml
DELETED
package/.idea/prettier.xml
DELETED
package/.idea/ui.iml
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="PYTHON_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager">
|
|
4
|
-
<content url="file://$MODULE_DIR$" />
|
|
5
|
-
<orderEntry type="inheritedJdk" />
|
|
6
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
7
|
-
</component>
|
|
8
|
-
</module>
|