@rolemodel/optics 2.3.1 → 2.5.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/deploy-to-ghp.yml +2 -2
- package/.github/workflows/deploy-to-npm.yml +9 -5
- package/.github/workflows/linting.yml +5 -3
- package/.github/workflows/publish-storybook.yml +4 -4
- package/.prettierignore +3 -0
- package/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +1740 -0
- package/README.md +16 -0
- package/context7.json +4 -0
- package/dist/README.md +16 -0
- package/dist/css/addons/fonts/lucide_icons.css +6380 -3081
- package/dist/css/addons/fonts/phosphor_icons.css +8 -7
- package/dist/css/addons/fonts/tabler_icons.css +2 -1
- package/dist/css/components/accordion.css +1 -1
- package/dist/css/components/icon.css +30 -0
- package/dist/css/components/index.css +26 -26
- package/dist/css/components/text_pair.css +5 -1
- package/dist/css/core/fonts/index.css +2 -2
- package/dist/css/core/tokens/index.css +2 -2
- package/dist/css/core/utilities.css +157 -10
- package/dist/css/optics+feather_icons.css +600 -12
- package/dist/css/optics+feather_icons.min.css +1 -1
- package/dist/css/optics+lucide_icons.css +6748 -3088
- package/dist/css/optics+lucide_icons.min.css +1 -1
- package/dist/css/optics+material_outlined_variable.css +370 -12
- package/dist/css/optics+material_outlined_variable.min.css +1 -1
- package/dist/css/optics+no_icons.css +370 -12
- package/dist/css/optics+no_icons.min.css +1 -1
- package/dist/css/optics+phosphor_icons.css +381 -19
- package/dist/css/optics+phosphor_icons.min.css +1 -1
- package/dist/css/optics+tabler_icons.css +373 -13
- package/dist/css/optics+tabler_icons.min.css +1 -1
- package/dist/css/optics.css +371 -12
- package/dist/css/optics.min.css +1 -1
- package/dist/package.json +19 -16
- package/package.json +19 -16
|
@@ -8,8 +8,8 @@ jobs:
|
|
|
8
8
|
build-gph:
|
|
9
9
|
runs-on: ubuntu-latest
|
|
10
10
|
steps:
|
|
11
|
-
- uses: actions/checkout@
|
|
12
|
-
- uses: actions/setup-node@
|
|
11
|
+
- uses: actions/checkout@v7
|
|
12
|
+
- uses: actions/setup-node@v6
|
|
13
13
|
with:
|
|
14
14
|
node-version: '24.x'
|
|
15
15
|
registry-url: 'https://npm.pkg.github.com/'
|
|
@@ -4,19 +4,23 @@ on:
|
|
|
4
4
|
workflow_dispatch:
|
|
5
5
|
release:
|
|
6
6
|
types: [published]
|
|
7
|
+
# npm Trusted Publishing: GitHub proves who is publishing with a short-lived OIDC token, so there
|
|
8
|
+
# is no NPM_TOKEN to expire or leak. The trusted publisher is set on npmjs.com under the package's
|
|
9
|
+
# settings, and names this workflow file.
|
|
7
10
|
permissions:
|
|
8
|
-
contents:
|
|
11
|
+
contents: read
|
|
12
|
+
id-token: write
|
|
9
13
|
jobs:
|
|
10
14
|
build-npm:
|
|
11
15
|
runs-on: ubuntu-latest
|
|
12
16
|
steps:
|
|
13
|
-
- uses: actions/checkout@
|
|
14
|
-
- uses: actions/setup-node@
|
|
17
|
+
- uses: actions/checkout@v7
|
|
18
|
+
- uses: actions/setup-node@v6
|
|
15
19
|
with:
|
|
16
20
|
node-version: '24.x'
|
|
17
21
|
registry-url: 'https://registry.npmjs.org'
|
|
22
|
+
# Trusted Publishing needs npm 11.5.1 or later.
|
|
23
|
+
- run: npm install -g npm@latest
|
|
18
24
|
- run: yarn install --immutable
|
|
19
25
|
- run: yarn build
|
|
20
26
|
- run: npm publish --access public
|
|
21
|
-
env:
|
|
22
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
@@ -15,9 +15,9 @@ jobs:
|
|
|
15
15
|
runs-on: ubuntu-latest
|
|
16
16
|
steps:
|
|
17
17
|
- name: Checkout repository
|
|
18
|
-
uses: actions/checkout@
|
|
18
|
+
uses: actions/checkout@v7
|
|
19
19
|
- name: Use Node.js
|
|
20
|
-
uses: actions/setup-node@
|
|
20
|
+
uses: actions/setup-node@v6
|
|
21
21
|
with:
|
|
22
22
|
node-version: '24.x'
|
|
23
23
|
cache: 'npm'
|
|
@@ -33,5 +33,7 @@ jobs:
|
|
|
33
33
|
run: yarn build:css
|
|
34
34
|
- name: Build Tokens
|
|
35
35
|
run: yarn build:tokens
|
|
36
|
+
- name: Build LLMS Docs
|
|
37
|
+
run: yarn build-docs:llms
|
|
36
38
|
- name: Build Storybook
|
|
37
|
-
run: yarn build-storybook
|
|
39
|
+
run: yarn build-docs:storybook
|
|
@@ -11,11 +11,11 @@ jobs:
|
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
steps:
|
|
13
13
|
- name: Checkout 🛎️
|
|
14
|
-
uses: actions/checkout@
|
|
14
|
+
uses: actions/checkout@v7
|
|
15
15
|
with:
|
|
16
16
|
persist-credentials: false
|
|
17
17
|
- name: Setup Node
|
|
18
|
-
uses: actions/setup-node@
|
|
18
|
+
uses: actions/setup-node@v6
|
|
19
19
|
with:
|
|
20
20
|
node-version: '24.x'
|
|
21
21
|
registry-url: 'https://registry.npmjs.org'
|
|
@@ -24,12 +24,12 @@ jobs:
|
|
|
24
24
|
yarn install --immutable
|
|
25
25
|
- name: Build 🔧
|
|
26
26
|
run: | # build the Storybook files
|
|
27
|
-
yarn build-
|
|
27
|
+
yarn build-docs
|
|
28
28
|
- name: Deploy 🚀
|
|
29
29
|
uses: JamesIves/github-pages-deploy-action@3.6.2
|
|
30
30
|
with:
|
|
31
31
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
32
32
|
BRANCH: gh-pages # The branch the action should deploy to.
|
|
33
|
-
FOLDER: storybook-static # The folder that the build-storybook script generates files.
|
|
33
|
+
FOLDER: storybook-static # The folder that the build-docs:storybook script generates files.
|
|
34
34
|
CLEAN: true # Automatically remove deleted files from the deploy branch
|
|
35
35
|
TARGET_FOLDER: docs # The folder that we serve our Storybook files from
|
package/.prettierignore
CHANGED
package/.yarn/install-state.gz
CHANGED
|
Binary file
|