Skip to content

Commit

Permalink
[#1910] Fixed prefix name to oi for openinwoner
Browse files Browse the repository at this point in the history
  • Loading branch information
jiromaykin committed Dec 11, 2023
1 parent 697d38d commit d68fad2
Show file tree
Hide file tree
Showing 39 changed files with 44 additions and 60 deletions.
21 changes: 3 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ tokens. E.g. if you have two tokens definition files like:

```json
{
"of": {
"oi": {
"color": {
"fg": {"value": "#000000"}
}
Expand All @@ -58,7 +58,7 @@ tokens. E.g. if you have two tokens definition files like:

```json
{
"of": {
"oi": {
"color": {
"fg": {
"muted": {"value": "#000000"}
Expand All @@ -84,7 +84,7 @@ e.g.:

```json
{
"of": {
"oi": {
"color": {
"fg-muted": {"value": "#000000"}
}
Expand All @@ -93,18 +93,3 @@ e.g.:
```

The latter form is harder to keep track off across files though.

## Release flow

We don't let `npm` apply the git tags when releasing a new version, instead follow this process:

```bash
npm version --no-git-tag-version minor
git commit -am ":bookmark: Bump to version <newVersion>"
git tag "<newVersion>"
git push origin main --tags
```

If you have PGP keys set up, you can use them for the git tag operation.

The CI pipeline will then publish the new version to npmjs.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/common/color.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"color": {
"$extensions": {
"dte.metadata": {
Expand Down
2 changes: 1 addition & 1 deletion src/common/layout.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"layout": {
"bg": {"value": "#E6E6E6"}
}
Expand Down
2 changes: 1 addition & 1 deletion src/common/typography.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"heading": {
"fg": {"value": "{oi.color.fg}"}
},
Expand Down
3 changes: 1 addition & 2 deletions src/community/utrecht/button.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"border-color": {"value": "rgba(0,0,0,0)"},
"border-radius": {"value": "0"},
"border-width": {"value": "2px"},
"color": {"value": "{oi.button.fg}",
i},
"color": {"value": "{oi.button.fg}"},
"font-size": {"value": "{oi.text.big.font-size}"},
"line-height": {"value": "1.333"},
"min-block-size": {"value": "0"},
Expand Down
2 changes: 1 addition & 1 deletion src/community/utrecht/page-content.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"padding-block-start": {"value": "20px"}
}
},
"of": {
"oi": {
"utrecht-page-content": {
"$extensions": {
"dte.metadata": {
Expand Down
2 changes: 1 addition & 1 deletion src/community/utrecht/page-footer.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"padding-block-start": {"value": "20px"}
}
},
"of": {
"oi": {
"utrecht-page-footer": {
"$extensions": {
"dte.metadata": {
Expand Down
2 changes: 1 addition & 1 deletion src/community/utrecht/page-header.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
},

"of": {
"oi": {
"utrecht-page-header": {
"$extensions": {
"dte.metadata": {
Expand Down
2 changes: 1 addition & 1 deletion src/community/utrecht/page.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"padding-inline-start": {"value": "20px"}
}
},
"of": {
"oi": {
"utrecht-page": {
"$extensions": {
"dte.metadata": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/app.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"app": {
"$extensions": {
"dte.metadata": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/buttons/button-modifiers.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"button": {
"hover": {
"bg": {"value": "#cccccc"},
Expand Down
2 changes: 1 addition & 1 deletion src/components/buttons/button.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"button": {
"fg": {"value": "{oi.color.fg}"},
"bg": {"value": "{oi.color.bg}"},
Expand Down
2 changes: 1 addition & 1 deletion src/components/card.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"card": {
"background-color": {"value": "{oi.color.bg}"},
"padding-block-end": {"value": "40px"},
Expand Down
2 changes: 1 addition & 1 deletion src/components/checkbox-field.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"utrecht-form-field": {
"checkbox": {
"margin-block-start": {"value": "8px"},
Expand Down
2 changes: 1 addition & 1 deletion src/components/editgrid.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"editgrid": {
"$extensions": {
"dte.metadata": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/errors.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"utrecht-form-field-description": {
"errors": {
"$extensions": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/fields/checkbox.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"checkbox": {
"bg": {"value": "#F3F3F3"}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/fields/cosign.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"cosign": {
"bg": {"value": "{oi.checkbox.bg}"}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/fields/field.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"field-border": {
"color": {"value": "#979797"}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/fields/fieldset.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"fieldset": {
"legend": {
"color": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/fields/file-upload.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"file-upload": {
"drop-area": {
"padding": {"value": "15px"}
Expand Down
2 changes: 1 addition & 1 deletion src/components/fields/input.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"input": {
"font-weight": {"value": "bold"}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/fields/select.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"select": {
"$extensions": {
"dte.metadata": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/helptext.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"helptext": {
"bg": {"value": "#d3e3ec"},
"fg": {"value": "{oi.color.fg}"}
Expand Down
2 changes: 1 addition & 1 deletion src/components/input-container.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"input-container": {
"affix": {
"background-color": {"value": "transparent"},
Expand Down
2 changes: 1 addition & 1 deletion src/components/input-group.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"input-group": {
"justify-content": {"value": "flex-start"},
"align-items": {"value": "center"},
Expand Down
2 changes: 1 addition & 1 deletion src/components/label.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"label": {
"font-weight": {"value": "normal"}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/language-selection.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"language-selection": {
"gap": {"value": ".2em"},

Expand Down
2 changes: 1 addition & 1 deletion src/components/list.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"list": {
"gap": {"value": "20px"},

Expand Down
2 changes: 1 addition & 1 deletion src/components/login-button-logo/tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"login-button-logo": {
"dark": {
"focus": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/login-options.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"login-options": {
"cosign": {
"background-color": {"value": "{oi.color.read-only.bg}"},
Expand Down
2 changes: 1 addition & 1 deletion src/components/page-footer/tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"page-footer": {
"$extensions": {
"dte.metadata": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/page-header/logo.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"header-logo": {
"url": {"value": "none"},
"width": {"value": "auto"},
Expand Down
2 changes: 1 addition & 1 deletion src/components/page-header/tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"page-header": {
"$extensions": {
"dte.metadata": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/progress-indicator.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"progress-indicator": {
"background-color": {"value": "{oi.color.bg}"},
"inset-block-start": {"value": "{oi.app.grid-column-gap}"},
Expand Down
2 changes: 1 addition & 1 deletion src/components/radio-field.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"utrecht-form-field": {
"radio": {
"margin-block-start": {"value": "8px"},
Expand Down
2 changes: 1 addition & 1 deletion src/components/summary-row/summary-row.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"summary-row": {
"spacing": {
"value": "10px"
Expand Down
2 changes: 1 addition & 1 deletion src/components/tooltip.tokens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"of": {
"oi": {
"tooltip": {
"arrow": {
"color": {"value": "#ae9e49"},
Expand Down

0 comments on commit d68fad2

Please sign in to comment.