-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1537 from dev-launchers/master
Release 2.12.0
- Loading branch information
Showing
166 changed files
with
16,483 additions
and
5,576 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: CI | ||
on: | ||
push: | ||
branches: | ||
- "development/design-team" | ||
paths: | ||
- "packages/tailwind-constructor/tokens.json" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v2.4.0 | ||
# Install dependencies | ||
- run: yarn | ||
# Transform Figma Tokens JSON to something Style Dictionary can read, run Style Dictionary and later run Tailwind | ||
- run: yarn workspace @devlaunchers/tailwind build | ||
# Add files that were created during a run, e.g. created files from style dictionary or token-transformer. | ||
- uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: Update Tokens |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,3 +69,6 @@ yarn-error.log* | |
|
||
# Storybook | ||
storybook-static | ||
|
||
# Tailwind | ||
packages/tailwind-constructor/tailwind.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"Create a component": { | ||
"prefix": "comp", | ||
"body": [ | ||
"import * as React from 'react';", | ||
"import { tv, type VariantProps } from 'tailwind-variants';", | ||
"", | ||
"const $1Styles = tv({", | ||
" slots: {$2},", | ||
" variants: {$3},", | ||
"});", | ||
"", | ||
"interface $1Props extends VariantProps<typeof $1Styles> {}", | ||
"", | ||
"const $1 = ({}: $1Props) => {", | ||
" return <div>$0</div>;", | ||
"};", | ||
"", | ||
"$1.displayName = '$1';", | ||
"export default $1;", | ||
"" | ||
], | ||
"description": "Create a component" | ||
}, | ||
"create a sample story": { | ||
"prefix": "story", | ||
"body": [ | ||
"import type { Meta, StoryObj } from '@storybook/react';", | ||
"", | ||
"import $1 from './$1';", | ||
"", | ||
"const meta: Meta<typeof $1> = {", | ||
" component: $1,", | ||
"};", | ||
"", | ||
"export default meta;", | ||
"type Story = StoryObj<typeof $1>;", | ||
"", | ||
"/*", | ||
" *👇 Render functions are a framework specific feature to allow you control on how the component renders.", | ||
" * See https://storybook.js.org/docs/react/api/csf", | ||
" * to learn how to use render functions.", | ||
" */", | ||
"export const Primary: Story = {", | ||
" render: () => <$1 />,", | ||
"};", | ||
"" | ||
], | ||
"description": "create a sample story" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
NEXT_PUBLIC_NAME=DEVELOPMENT | ||
NEXT_PUBLIC_API_URL=https://api-staging.devlaunchers.org | ||
NEXT_PUBLIC_STRAPI_URL=https://api-staging.devlaunchers.org | ||
NEXT_PUBLIC_GOOGLE_AUTH_URL=https://api-staging.devlaunchers.org/connect/google | ||
NEXT_PUBLIC_DISCORD_AUTH_URL=https://discord.com/api/oauth2/authorize?client_id=815294711983112194&redirect_uri=https%3A%2F%2Fapi-staging.devlaunchers.org%2Fusers%2Fauth%2Fdiscord%2Fcallback&response_type=code&scope=identify | ||
NEXT_PUBLIC_API_BASE_URL=https://apiv4-staging.devlaunchers.org | ||
NEXT_PUBLIC_API_URL=https://apiv4-staging.devlaunchers.org/api | ||
NEXT_PUBLIC_STRAPI_URL=https://apiv4-staging.devlaunchers.org/api | ||
NEXT_PUBLIC_GOOGLE_AUTH_URL=https://apiv4-staging.devlaunchers.org/api/connect/google | ||
NEXT_PUBLIC_DISCORD_AUTH_URL=https://discord.com/api/oauth2/authorize?client_id=815294711983112194&redirect_uri=https%3A%2F%2Fapi-staging.devlaunchers.org%2Fusers%2Fauth%2Fdiscord%2Fcallback&response_type=code&scope=identify | ||
NEXT_PUBLIC_FRONT_END_URL=http://localhost:3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
NEXT_PUBLIC_NAME=PRODUCTION | ||
NEXT_PUBLIC_API_URL=https://api.devlaunchers.org | ||
NEXT_PUBLIC_STRAPI_URL=https://api.devlaunchers.org | ||
NEXT_PUBLIC_GOOGLE_AUTH_URL=https://api.devlaunchers.org/connect/google | ||
NEXT_PUBLIC_DISCORD_AUTH_URL=https://discord.com/api/oauth2/authorize?client_id=709889509864636496&redirect_uri=https%3A%2F%2Fapi.devlaunchers.org%2Fusers%2Fauth%2Fdiscord%2Fcallback&response_type=code&scope=identify | ||
NEXT_PUBLIC_API_BASE_URL=https://apiv4.devlaunchers.org | ||
NEXT_PUBLIC_API_URL=https://apiv4.devlaunchers.org/api | ||
NEXT_PUBLIC_STRAPI_URL=https://apiv4.devlaunchers.org/api | ||
NEXT_PUBLIC_GOOGLE_AUTH_URL=https://apiv4.devlaunchers.org/api/connect/google | ||
NEXT_PUBLIC_DISCORD_AUTH_URL=https://discord.com/api/oauth2/authorize?client_id=709889509864636496&redirect_uri=https%3A%2F%2Fapi.devlaunchers.org%2Fusers%2Fauth%2Fdiscord%2Fcallback&response_type=code&scope=identify | ||
NEXT_PUBLIC_FRONT_END_URL=https://devlaunchers.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
NEXT_PUBLIC_NAME=STAGING | ||
NEXT_PUBLIC_API_URL=https://api-staging.devlaunchers.org | ||
NEXT_PUBLIC_STRAPI_URL=https://api-staging.devlaunchers.org | ||
NEXT_PUBLIC_GOOGLE_AUTH_URL=https://api-staging.devlaunchers.org/connect/google | ||
NEXT_PUBLIC_DISCORD_AUTH_URL=https://discord.com/api/oauth2/authorize?client_id=815294711983112194&redirect_uri=https%3A%2F%2Fapi-staging.devlaunchers.org%2Fusers%2Fauth%2Fdiscord%2Fcallback&response_type=code&scope=identify | ||
NEXT_PUBLIC_API_BASE_URL=https://apiv4-staging.devlaunchers.org | ||
NEXT_PUBLIC_API_URL=https://apiv4-staging.devlaunchers.org/api | ||
NEXT_PUBLIC_STRAPI_URL=https://apiv4-staging.devlaunchers.org/api | ||
NEXT_PUBLIC_GOOGLE_AUTH_URL=https://apiv4-staging.devlaunchers.org/api/connect/google | ||
NEXT_PUBLIC_DISCORD_AUTH_URL=https://discord.com/api/oauth2/authorize?client_id=815294711983112194&redirect_uri=https%3A%2F%2Fapi-staging.devlaunchers.org%2Fusers%2Fauth%2Fdiscord%2Fcallback&response_type=code&scope=identify | ||
NEXT_PUBLIC_FRONT_END_URL=https://staging.devlaunchers.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
NEXT_PUBLIC_NAME=STAGING | ||
NEXT_PUBLIC_API_BASE_URL=https://api-staging.devlaunchers.org | ||
NEXT_PUBLIC_API_URL=https://api-staging.devlaunchers.org | ||
NEXT_PUBLIC_STRAPI_URL=https://api-staging.devlaunchers.org | ||
NEXT_PUBLIC_GOOGLE_AUTH_URL=https://api-staging.devlaunchers.org/connect/google | ||
NEXT_PUBLIC_DISCORD_AUTH_URL=https://discord.com/api/oauth2/authorize?client_id=815294711983112194&redirect_uri=https%3A%2F%2Fapi-staging.devlaunchers.org%2Fusers%2Fauth%2Fdiscord%2Fcallback&response_type=code&scope=identify | ||
NEXT_PUBLIC_DISCORD_AUTH_URL=https://discord.com/api/oauth2/authorize?client_id=815294711983112194&redirect_uri=https%3A%2F%2Fapi-staging.devlaunchers.org%2Fusers%2Fauth%2Fdiscord%2Fcallback&response_type=code&scope=identify | ||
NEXT_PUBLIC_FRONT_END_URL=http://localhost:3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.