@rolemodel/optics 0.5.1 → 1.1.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/.editorconfig +10 -0
- package/.gitattributes +4 -0
- package/.github/workflows/linting.yml +9 -9
- package/.github/workflows/publish-storybook.yml +3 -3
- package/.github/workflows/release-package.yml +6 -6
- package/.prettierignore +1 -0
- package/.yarn/install-state.gz +0 -0
- package/.yarn/releases/yarn-4.2.2.cjs +894 -0
- package/.yarnrc.yml +2 -0
- package/dist/css/optics.css +103 -41
- package/dist/css/optics.css.map +1 -1
- package/dist/scss/addons/panel.scss +1 -1
- package/dist/scss/addons/tom-select.scss +2 -2
- package/dist/scss/components/avatar.scss +2 -0
- package/dist/scss/components/button.scss +1 -0
- package/dist/scss/components/button_group.scss +2 -0
- package/dist/scss/components/card.scss +6 -6
- package/dist/scss/components/confirm-dialog.scss +2 -2
- package/dist/scss/components/divider.scss +1 -1
- package/dist/scss/components/form.scss +20 -7
- package/dist/scss/components/icon.scss +1 -1
- package/dist/scss/components/modal.scss +2 -2
- package/dist/scss/components/side_panel.scss +2 -2
- package/dist/scss/components/sidebar.scss +1 -0
- package/dist/scss/components/table.scss +4 -4
- package/dist/scss/components/tooltip.scss +2 -0
- package/dist/scss/core/tokens/base_tokens.scss +18 -8
- package/dist/scss/core/tokens/dark_mode_tokens.scss +3 -0
- package/dist/scss/recipes/aligned-header.scss +20 -0
- package/dist/tokens/tokens.json +5 -5
- package/package.json +30 -29
package/.editorconfig
ADDED
package/.gitattributes
ADDED
|
@@ -18,21 +18,21 @@ jobs:
|
|
|
18
18
|
- name: Use Node.js
|
|
19
19
|
uses: actions/setup-node@v3
|
|
20
20
|
with:
|
|
21
|
-
node-version: '
|
|
21
|
+
node-version: '18.x'
|
|
22
22
|
cache: 'npm'
|
|
23
23
|
- name: Install
|
|
24
|
-
run:
|
|
24
|
+
run: yarn install
|
|
25
25
|
- name: Run ESLint
|
|
26
|
-
run:
|
|
26
|
+
run: yarn lint:js
|
|
27
27
|
- name: Run Stylelint
|
|
28
|
-
run:
|
|
28
|
+
run: yarn lint:css
|
|
29
29
|
- name: Run Prettier
|
|
30
|
-
run:
|
|
30
|
+
run: yarn prettier-check
|
|
31
31
|
- name: Build CSS
|
|
32
|
-
run:
|
|
32
|
+
run: yarn build:css
|
|
33
33
|
- name: Build SCSS
|
|
34
|
-
run:
|
|
34
|
+
run: yarn build:scss
|
|
35
35
|
- name: Build Tokens
|
|
36
|
-
run:
|
|
36
|
+
run: yarn build:tokens
|
|
37
37
|
- name: Build Storybook
|
|
38
|
-
run:
|
|
38
|
+
run: yarn build-storybook
|
|
@@ -16,14 +16,14 @@ jobs:
|
|
|
16
16
|
- name: Setup Node
|
|
17
17
|
uses: actions/setup-node@v3
|
|
18
18
|
with:
|
|
19
|
-
node-version: '
|
|
19
|
+
node-version: '18.x'
|
|
20
20
|
registry-url: 'https://registry.npmjs.org'
|
|
21
21
|
- name: Install 🔧
|
|
22
22
|
run: | # Install npm packages
|
|
23
|
-
|
|
23
|
+
yarn install --immutable
|
|
24
24
|
- name: Build 🔧
|
|
25
25
|
run: | # build the Storybook files
|
|
26
|
-
|
|
26
|
+
yarn build-storybook
|
|
27
27
|
- name: Deploy 🚀
|
|
28
28
|
uses: JamesIves/github-pages-deploy-action@3.6.2
|
|
29
29
|
with:
|
|
@@ -11,10 +11,10 @@ jobs:
|
|
|
11
11
|
- uses: actions/checkout@v3
|
|
12
12
|
- uses: actions/setup-node@v3
|
|
13
13
|
with:
|
|
14
|
-
node-version: '
|
|
14
|
+
node-version: '18.x'
|
|
15
15
|
registry-url: 'https://registry.npmjs.org'
|
|
16
|
-
- run:
|
|
17
|
-
- run:
|
|
16
|
+
- run: yarn install --immutable
|
|
17
|
+
- run: yarn build
|
|
18
18
|
- run: npm publish --access public
|
|
19
19
|
env:
|
|
20
20
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
@@ -24,10 +24,10 @@ jobs:
|
|
|
24
24
|
- uses: actions/checkout@v3
|
|
25
25
|
- uses: actions/setup-node@v3
|
|
26
26
|
with:
|
|
27
|
-
node-version: '
|
|
27
|
+
node-version: '18.x'
|
|
28
28
|
registry-url: https://npm.pkg.github.com/
|
|
29
|
-
- run:
|
|
30
|
-
- run:
|
|
29
|
+
- run: yarn install --immutable
|
|
30
|
+
- run: yarn build
|
|
31
31
|
- run: npm publish --access public
|
|
32
32
|
env:
|
|
33
33
|
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
package/.prettierignore
CHANGED
|
Binary file
|