Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: sync with the poc repo #1

Merged
merged 158 commits into from
Jan 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
3e7b606
Initial commit
brionmario Oct 25, 2022
dd2e869
chore(core): init nx workspace
brionmario Oct 25, 2022
b283a32
chore(linter): init sharable eslint config
brionmario Oct 25, 2022
9429e16
chore(primitives): init oxygen primitives package
brionmario Oct 25, 2022
b8142ac
chore(primitives): use `@oxygen/eslint-config`
brionmario Oct 25, 2022
3c1153b
chore(linter): update package.json
brionmario Oct 26, 2022
294b9a2
chore(primitives): update package.json
brionmario Oct 26, 2022
103ea0b
chore(scss): init oxygen scss package
brionmario Oct 26, 2022
fe709e6
chore(primitives): fix build failure due to rollup mis-config
brionmario Oct 26, 2022
45ad704
chore(core): bump nx to `15.0.3`
brionmario Oct 26, 2022
f26678e
chore(react): init oxygen react package
brionmario Oct 26, 2022
0e3c5e5
chore(linter): add react rules
brionmario Oct 26, 2022
1d9d326
chore: refactor repo to use nx package-based
brionmario Nov 24, 2022
d1519ce
chore(scss): refactor scss package
brionmario Nov 24, 2022
821eb12
chore(react): init basic react components module
brionmario Nov 25, 2022
bcf7964
chore(sass): rename `@oxygen/scss` to `@oxygen/styles`
brionmario Nov 28, 2022
824f6c5
chore(react): mvp checkpoint 1.0
brionmario Nov 28, 2022
2c3c7b5
chore: remove tsconfig base and update lock
brionmario Nov 29, 2022
3d04225
chore(react): add a basic rollup config
brionmario Nov 29, 2022
490a8ea
chore(react): refactor storybook hierarchy
brionmario Nov 29, 2022
c1f3de5
chore(react): fix tsconfig
brionmario Nov 29, 2022
068c8f7
chore: remove unwanted files
brionmario Nov 29, 2022
34fe615
chore(react): create a dedicated `ThemeProvider`
brionmario Nov 29, 2022
e421a8b
chore(react): fix theme provider types
brionmario Nov 29, 2022
61794ef
chore(styles): remove BEM
brionmario Nov 29, 2022
cf1418f
chore(react): export own `extendTheme`
brionmario Nov 29, 2022
951e0d4
chore(react): introduce `Grid` component
brionmario Nov 29, 2022
7537d51
chore(react): refactor models
brionmario Nov 29, 2022
7bf64c3
chore: manifest updates
brionmario Nov 29, 2022
ce3f98c
chore(examples): init chore brand identity example
brionmario Nov 29, 2022
baf3ed8
chore: add prettier ignore files
brionmario Nov 29, 2022
8652147
Merge pull request #1 from brionmario/setup-base
brionmario Nov 29, 2022
75d5494
chore(react): add oxygen inverted logo
brionmario Nov 29, 2022
7f2b24b
chore(primitives): init primitives package
brionmario Nov 30, 2022
92046c2
chore(react): add `ColorModeToggle` component
brionmario Nov 30, 2022
36eb0b9
chore(react): fix sign in logo issue
brionmario Nov 30, 2022
68a6fda
chore(react): remove redundant interfaces
brionmario Nov 30, 2022
0b66e7a
chore(examples): end the multo brand mvp
brionmario Dec 2, 2022
df92ba3
chore(styles): fix lint issues
brionmario Dec 2, 2022
ffc4bbc
chore(react): init foundations
brionmario Dec 2, 2022
0a51ccd
chore(react): add `Tooltip` component
brionmario Dec 2, 2022
65cfa21
chore(react): refactor components
brionmario Dec 2, 2022
ae2bff1
chore(react): modify and align theme
brionmario Dec 2, 2022
e7bc708
chore(react): fix rollup cache
brionmario Dec 2, 2022
0bdac6d
chore(styles): remove sign in hardcoded styles
brionmario Dec 2, 2022
b786c9a
chore: update settings + lock
brionmario Dec 2, 2022
80a48de
Merge pull request #2 from brionmario/setup-base
brionmario Dec 2, 2022
0a2ef2f
chore(docs): init docs project
brionmario Dec 2, 2022
3becd0e
chore(examples): fix public path issues
brionmario Dec 2, 2022
2a3b9a4
Merge pull request #3 from brionmario/setup-base
brionmario Dec 2, 2022
30a2734
chore: ground work for deployment
brionmario Dec 2, 2022
1d43d6e
chore(examples): add asgardeo design tokens
brionmario Dec 2, 2022
997b186
chore(examples): add choreo design tokens
brionmario Dec 2, 2022
a0032fa
chore(primitives): update tokens
brionmario Dec 2, 2022
37e45de
Merge pull request #4 from brionmario/setup-base
brionmario Dec 2, 2022
4c4d6fe
docs: update README and CONTRIBUTING guideline
brionmario Dec 2, 2022
45591f6
Merge pull request #5 from brionmario/setup-base
brionmario Dec 2, 2022
8364cce
docs: update CONTRIBUTING guide
brionmario Dec 5, 2022
6c9f474
chore(styles): fix css build path
brionmario Dec 5, 2022
57bd39b
chore(styles): fix css build path
brionmario Dec 5, 2022
19f75f0
chore: remove nx targetDefaults
brionmario Dec 5, 2022
1ac5dd1
chore: add wso2 ui configs as a git sub module
brionmario Dec 5, 2022
52388c7
chore(configs): update submodule
brionmario Dec 5, 2022
8663ee4
chore: remove sub module and use `GitPkg`
brionmario Dec 5, 2022
86ff10f
docs: add WIP
brionmario Dec 5, 2022
19a3234
docs(react): add README
brionmario Dec 5, 2022
5ba62bb
Merge pull request #6 from brionmario/setup-base
brionmario Dec 5, 2022
4cdb2a6
Update README.md
brionmario Dec 5, 2022
8ed702c
docs: update README
brionmario Dec 5, 2022
021a74e
chore: use `@wso2/eslint-plugin`
brionmario Dec 6, 2022
477c926
Merge pull request #7 from brionmario/setup-base
brionmario Dec 6, 2022
f096399
Fix broken link to multi brand identity demo
pavinduLakshan Dec 11, 2022
94cb7dd
chore: updates
brionmario Dec 12, 2022
828f63a
Merge pull request #9 from brionmario/setup-base
brionmario Dec 12, 2022
d4822e8
chore: bump WSO2 UI config versions
brionmario Dec 13, 2022
817a0e5
chore: remove `@oxygen/styles`
brionmario Dec 13, 2022
527af82
chore: move to `@oxygen-ui`
brionmario Dec 13, 2022
8761d36
chore: remove `oxygen` prefix
brionmario Dec 14, 2022
7b4e6d8
docs(readme): handle github dark/light mode
brionmario Dec 14, 2022
bec2c6e
docs(readme): update README
brionmario Dec 14, 2022
b459b4e
docs(readme): update README
brionmario Dec 14, 2022
2e4ffe8
chore(docs): fix issues in the docs
brionmario Dec 14, 2022
48b4fbd
chore: bulk refactoring
brionmario Dec 14, 2022
fe6cb52
chore:(react) bulk refactoring
brionmario Dec 14, 2022
cad9a9b
Merge pull request #10 from brionmario/setup-base
brionmario Dec 14, 2022
742dab6
Merge pull request #8 from pavinduLakshan/main
brionmario Dec 14, 2022
e599afc
chore(react): fix build
brionmario Dec 14, 2022
7081adc
chore: add `docs:build` script
brionmario Dec 14, 2022
5fb06fe
Merge pull request #11 from brionmario/setup-base
brionmario Dec 14, 2022
d484065
chore: add `@oxygen-ui/react` as a implicitDependencies
brionmario Dec 14, 2022
9ab2f50
chore(primitives): add tokens.json
brionmario Dec 15, 2022
0e0fa77
Merge pull request #12 from brionmario/setup-base
brionmario Dec 15, 2022
bcab566
chore: update styling
brionmario Dec 16, 2022
e55d22b
Merge pull request #13 from brionmario/setup-base
brionmario Dec 16, 2022
2178fef
chore: cascade `editorconfig`
brionmario Dec 16, 2022
2b50dc2
chore(examples): remove explicit dependency
brionmario Dec 16, 2022
516fc6d
chore: fix nx not building deps first
brionmario Dec 16, 2022
7f54e6c
chore: add clean scripts
brionmario Dec 16, 2022
1729ae4
chore: fix build failure
brionmario Dec 16, 2022
8315c53
chore(react): update storybook styles
brionmario Dec 18, 2022
f722bb4
Merge pull request #14 from brionmario/setup-base
brionmario Dec 19, 2022
f426ab0
chore(examples): add branding sample orgs
brionmario Dec 19, 2022
dc2403a
chore:fix lint issues
brionmario Dec 19, 2022
071e998
Merge pull request #15 from brionmario/setup-base
brionmario Dec 19, 2022
297dc4e
Update README.md
brionmario Dec 19, 2022
7dc5143
chore(docs): add guidelines as coming soon
brionmario Dec 19, 2022
521c01f
chore(docs): fix styles
brionmario Dec 20, 2022
56344d3
chore(primitives): use primitives as the source of truth for design t…
brionmario Dec 21, 2022
9791651
chore(primitives): use figma as the source of truth for design tokens
brionmario Dec 22, 2022
74d8b81
Merge pull request #16 from brionmario/feat-figma-to-sd
brionmario Dec 22, 2022
6f66bb6
sync figma token with github
kanchanagodage Jan 3, 2023
dd61904
chore(primitives): remove the output
brionmario Jan 3, 2023
d7033ef
ci(github): add working directory
brionmario Jan 3, 2023
aaf19bf
Merge pull request #18 from brionmario/feat-figma-to-sd
brionmario Jan 3, 2023
aa892c9
ci(github): update token
brionmario Jan 3, 2023
a227752
Merge pull request #19 from brionmario/feat-figma-to-sd
brionmario Jan 3, 2023
f3d2aff
chore(figma): sync figma tokens with github
kanchanagodage Jan 3, 2023
1c1383d
chore(primitives): generate transformed tokens
github-actions[bot] Jan 3, 2023
e692863
ci(github): update token
brionmario Jan 3, 2023
534464d
chore(figma): sync figma tokens with github
kanchanagodage Jan 3, 2023
fb821ad
chore(figma): sync figma tokens with github
kanchanagodage Jan 3, 2023
8a05fe5
chore(examples): Use `@oxygen-ui/primitives`
brionmario Jan 11, 2023
5496d10
chore(primitives): refactor SD build
brionmario Jan 11, 2023
20ddeb5
chore(logger): init `@oxygen-ui/logger`
brionmario Jan 11, 2023
be4651c
chore(primitives): fix build
brionmario Jan 11, 2023
73d7389
chore: bump dev configs version
brionmario Jan 11, 2023
b9f3061
chore(examples): actively use `@oxygen-ui/primitives`
brionmario Jan 11, 2023
1ae5e13
chore(examples): add sample `.env.local`
brionmario Jan 11, 2023
e54ce32
chore(examples): push `.env.local` to VCS
brionmario Jan 11, 2023
b84697a
Merge pull request #22 from brionmario/fix-primitives
brionmario Jan 11, 2023
4eed3cc
chore(figma): sync figma tokens with github
kanchanagodage Jan 11, 2023
dc9ff99
chore(figma): sync figma tokens with github
kanchanagodage Jan 11, 2023
24bdc8a
chore(figma): sync figma tokens with github
kanchanagodage Jan 12, 2023
ddd52d8
sync figma token with github
kanchanagodage Jan 3, 2023
89ec46d
chore(figma): sync figma tokens with github
kanchanagodage Jan 3, 2023
771b7f7
chore(figma): sync figma tokens with github
kanchanagodage Jan 3, 2023
e784d66
chore(figma): sync figma tokens with github
kanchanagodage Jan 3, 2023
18e4a4e
Merge branch 'figma-tokens' of https://github.com/brionmario/oxygen i…
brionmario Jan 12, 2023
911c79f
ci(github): add build step
brionmario Jan 12, 2023
a872bef
chore(primitives): generate transformed tokens
github-actions[bot] Jan 12, 2023
3a6ed95
Merge pull request #23 from brionmario/figma-tokens
brionmario Jan 12, 2023
6763611
chore(figma): sync figma tokens with github
kanchanagodage Jan 13, 2023
27f2b47
chore(primitives): generate transformed tokens
github-actions[bot] Jan 13, 2023
d472552
chore(figma): sync figma tokens with github
kanchanagodage Jan 13, 2023
8b578d5
chore(primitives): generate transformed tokens
github-actions[bot] Jan 13, 2023
bffe735
Merge pull request #24 from brionmario/figma-tokens
brionmario Jan 13, 2023
b7889ab
chore(figma): sync figma tokens with github
kanchanagodage Jan 16, 2023
6e96abd
chore(primitives): generate transformed tokens
github-actions[bot] Jan 16, 2023
4b01b94
chore(figma): sync figma tokens with github
kanchanagodage Jan 17, 2023
c29bd58
chore(primitives): generate transformed tokens
github-actions[bot] Jan 17, 2023
e6c0256
Merge pull request #25 from brionmario/figma-tokens
brionmario Jan 17, 2023
3919ef0
chore(react): add support to link figma designs
brionmario Jan 17, 2023
faa25bf
Merge branch 'figma-tokens' of https://github.com/brionmario/oxygen i…
brionmario Jan 17, 2023
ae19cef
Merge pull request #26 from brionmario/figma-tokens
brionmario Jan 17, 2023
2ec4d0e
Merge commit 'ae19cef4ef3f1d2940446387d2b615b31e58533f'
brionmario Jan 26, 2023
60d1b96
chore: address PR#1 comments
brionmario Jan 26, 2023
d13b674
chore: address PR#1 comments
brionmario Jan 26, 2023
9af18bc
chore: remove `workbench.colorCustomizations` from VSCode settings
brionmario Jan 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
29 changes: 29 additions & 0 deletions .github/workflows/figma-tokens-update-trigger.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow will trigger the `Figma Tokens Updater` workflow when
# the tokens file is updated via Figma on the `figma-tokens` branch.

name: 🦸‍♂️ Figma Tokens Update Trigger

on:
push:
branches:
- figma-tokens

env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}

jobs:
pull-request:
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout
id: checkout
uses: actions/checkout@v2

- name: 🐜 Create Pull Request
id: create-pr
uses: repo-sync/pull-request@v2
with:
destination_branch: 'main'
pr_title: 'chore(primitives): update figma tokens'
pr_body: '🍥 Design Tokens were updated in Figma! This PR was created to update the corresponding style dictionary tokens.'
github_token: ${{ secrets.GH_PAT }}
69 changes: 69 additions & 0 deletions .github/workflows/figma-tokens-updater.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# This workflow will raise a PR to the main branch when an update is done to the figma tokens.

name: 👮‍♀️ Figma Tokens Updater

on: pull_request

env:
PRIMITIVES_SOURCE: ./packages/primitives

jobs:
run_if:
if: ${{ github.head_ref == 'figma-tokens' }}
name: Process Figma Tokens
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: ⬇️ Checkout
id: checkout
uses: actions/checkout@master
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}

- name: 🥡 Setup pnpm
id: setup-pnpm
uses: pnpm/[email protected]
with:
version: latest
run_install: false

- name: 🎈 Get pnpm store directory
id: get-pnpm-cache-dir
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"

- name: 🔆 Cache pnpm modules
uses: actions/cache@v3
id: pnpm-cache
with:
path: ${{ steps.get-pnpm-cache-dir.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: 🧩 Install Dependencies
id: install-dependencies
run: pnpm install

- name: 👷 Build
id: build
run: pnpm build

- name: 🤖 Run Token Transformer
id: run-token-transformer
working-directory: ${{ env.PRIMITIVES_SOURCE }}
run: pnpm transform

- name: 🦎 Run Style Dictionary
id: run-style-dictionary
working-directory: ${{ env.PRIMITIVES_SOURCE }}
run: pnpm build

- name: 🐤 Commit changes
id: commit
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: 'chore(primitives): generate transformed tokens'
add: '.'
58 changes: 40 additions & 18 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,45 @@
# Compiled class file
*.class
# See http://help.github.com/ignore-files/ for more about ignoring files.

# Log file
*.log
# compiled output
dist
tmp
/out-tsc

# BlueJ files
*.ctxt
# dependencies
node_modules

# Mobile Tools for Java (J2ME)
.mtj.tmp/
# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings

# System Files
.DS_Store
Thumbs.db

# Caches
.rollup.cache

# Deployment Artifacts
.vercel
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
strict-peer-dependencies=false
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Global ignore file incase if a child package doesn't include one.

/dist
/build
/node_modules
/coverage
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
thivi marked this conversation as resolved.
Show resolved Hide resolved
"recommendations": [

"nrwl.angular-console",
"esbenp.prettier-vscode"
]
}
18 changes: 18 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
brionmario marked this conversation as resolved.
Show resolved Hide resolved
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.options": {
"extensions": [".js", ".jsx", ".md", ".mdx", ".ts", ".tsx"]
},
"eslint.validate": [
"mdx",
"markdown",
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"vue"
]
}
Loading