@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.
Files changed (36) hide show
  1. package/.github/workflows/deploy-to-ghp.yml +2 -2
  2. package/.github/workflows/deploy-to-npm.yml +9 -5
  3. package/.github/workflows/linting.yml +5 -3
  4. package/.github/workflows/publish-storybook.yml +4 -4
  5. package/.prettierignore +3 -0
  6. package/.yarn/install-state.gz +0 -0
  7. package/CHANGELOG.md +1740 -0
  8. package/README.md +16 -0
  9. package/context7.json +4 -0
  10. package/dist/README.md +16 -0
  11. package/dist/css/addons/fonts/lucide_icons.css +6380 -3081
  12. package/dist/css/addons/fonts/phosphor_icons.css +8 -7
  13. package/dist/css/addons/fonts/tabler_icons.css +2 -1
  14. package/dist/css/components/accordion.css +1 -1
  15. package/dist/css/components/icon.css +30 -0
  16. package/dist/css/components/index.css +26 -26
  17. package/dist/css/components/text_pair.css +5 -1
  18. package/dist/css/core/fonts/index.css +2 -2
  19. package/dist/css/core/tokens/index.css +2 -2
  20. package/dist/css/core/utilities.css +157 -10
  21. package/dist/css/optics+feather_icons.css +600 -12
  22. package/dist/css/optics+feather_icons.min.css +1 -1
  23. package/dist/css/optics+lucide_icons.css +6748 -3088
  24. package/dist/css/optics+lucide_icons.min.css +1 -1
  25. package/dist/css/optics+material_outlined_variable.css +370 -12
  26. package/dist/css/optics+material_outlined_variable.min.css +1 -1
  27. package/dist/css/optics+no_icons.css +370 -12
  28. package/dist/css/optics+no_icons.min.css +1 -1
  29. package/dist/css/optics+phosphor_icons.css +381 -19
  30. package/dist/css/optics+phosphor_icons.min.css +1 -1
  31. package/dist/css/optics+tabler_icons.css +373 -13
  32. package/dist/css/optics+tabler_icons.min.css +1 -1
  33. package/dist/css/optics.css +371 -12
  34. package/dist/css/optics.min.css +1 -1
  35. package/dist/package.json +19 -16
  36. 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@v3
12
- - uses: actions/setup-node@v3
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: write
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@v3
14
- - uses: actions/setup-node@v3
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@v3
18
+ uses: actions/checkout@v7
19
19
  - name: Use Node.js
20
- uses: actions/setup-node@v3
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@v3
14
+ uses: actions/checkout@v7
15
15
  with:
16
16
  persist-credentials: false
17
17
  - name: Setup Node
18
- uses: actions/setup-node@v3
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-storybook
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
@@ -2,3 +2,6 @@
2
2
  tools/templates
3
3
  .yarn/*
4
4
  optics-design-system.code-workspace
5
+
6
+ # Generated docs
7
+ llms-docs
Binary file