Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: adobe/spectrum-css
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @spectrum-css/slider@6.1.0
Choose a base ref
...
head repository: adobe/spectrum-css
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: @spectrum-css/slider@6.2.0
Choose a head ref
Loading
Showing with 13,674 additions and 39,387 deletions.
  1. +7 −2 .changeset/config.json
  2. +28 −0 .eslintrc
  3. +35 −42 .github/actions/file-diff/CHANGELOG.md
  4. +13 −0 .github/workflows/development.yml
  5. +20 −0 .github/workflows/lint.yml
  6. +4 −2 .github/workflows/release.yml
  7. +3 −2 .gitignore
  8. +24 −0 .markdownlint.json
  9. +199 −401 .storybook/CHANGELOG.md
  10. +3 −2 .storybook/decorators/context.js
  11. +3 −3 .storybook/decorators/helpers.js
  12. +15 −15 .storybook/decorators/icon-sprites.js
  13. +2 −1 .storybook/decorators/language.js
  14. +6 −3 .storybook/decorators/testing-preview.js
  15. +2 −2 .storybook/decorators/utilities.js
  16. +2 −2 .storybook/main.js
  17. +22 −22 .storybook/modes/index.js
  18. +4 −4 .storybook/package.json
  19. +2 −2 .storybook/project.json
  20. +1 −2 README.md
  21. +105 −415 components/accordion/CHANGELOG.md
  22. +173 −613 components/actionbar/CHANGELOG.md
  23. +2 −2 components/actionbar/package.json
  24. +140 −449 components/actionbutton/CHANGELOG.md
  25. +26 −16 components/actionbutton/dist/metadata.json
  26. +8 −14 components/actionbutton/index.css
  27. +1 −1 components/actionbutton/package.json
  28. +1 −0 components/actionbutton/themes/express.css
  29. +65 −31 components/actionbutton/themes/spectrum-two.css
  30. +34 −3 components/actionbutton/themes/spectrum.css
  31. +105 −561 components/actiongroup/CHANGELOG.md
  32. +1 −1 components/actiongroup/package.json
  33. +91 −455 components/actionmenu/CHANGELOG.md
  34. +4 −4 components/actionmenu/package.json
  35. +93 −207 components/alertbanner/CHANGELOG.md
  36. +1 −1 components/alertbanner/package.json
  37. +78 −142 components/alertdialog/CHANGELOG.md
  38. +78 −308 components/asset/CHANGELOG.md
  39. +101 −291 components/assetcard/CHANGELOG.md
  40. +1 −1 components/assetcard/package.json
  41. +111 −479 components/assetlist/CHANGELOG.md
  42. +1 −1 components/assetlist/package.json
  43. +102 −439 components/avatar/CHANGELOG.md
  44. +100 −486 components/badge/CHANGELOG.md
  45. +111 −497 components/breadcrumb/CHANGELOG.md
  46. +1 −1 components/breadcrumb/package.json
  47. +162 −567 components/button/CHANGELOG.md
  48. +14 −10 components/button/dist/metadata.json
  49. +1 −1 components/button/package.json
  50. +69 −65 components/button/themes/spectrum-two.css
  51. +4 −4 components/button/themes/spectrum.css
  52. +99 −494 components/buttongroup/CHANGELOG.md
  53. +1 −1 components/buttongroup/package.json
  54. +115 −475 components/calendar/CHANGELOG.md
  55. +1 −1 components/calendar/package.json
  56. +129 −527 components/card/CHANGELOG.md
  57. +2 −2 components/card/package.json
  58. +130 −543 components/checkbox/CHANGELOG.md
  59. +0 −1 components/checkbox/dist/metadata.json
  60. +1 −1 components/checkbox/package.json
  61. +1 −1 components/checkbox/themes/spectrum-two.css
  62. +1 −0 components/checkbox/themes/spectrum.css
  63. +86 −240 components/clearbutton/CHANGELOG.md
  64. +108 −356 components/closebutton/CHANGELOG.md
  65. +67 −81 components/coachindicator/CHANGELOG.md
  66. +111 −444 components/coachmark/CHANGELOG.md
  67. +6 −6 components/coachmark/package.json
  68. +105 −422 components/colorarea/CHANGELOG.md
  69. +117 −450 components/colorhandle/CHANGELOG.md
  70. +111 −396 components/colorloupe/CHANGELOG.md
  71. +129 −471 components/colorslider/CHANGELOG.md
  72. +105 −426 components/colorwheel/CHANGELOG.md
  73. +126 −286 components/combobox/CHANGELOG.md
  74. +6 −1 components/combobox/dist/metadata.json
  75. +5 −5 components/combobox/index.css
  76. +5 −5 components/combobox/package.json
  77. +2 −0 components/combobox/themes/express.css
  78. +3 −0 components/combobox/themes/spectrum-two.css
  79. +4 −1 components/combobox/themes/spectrum.css
  80. +42 −150 components/commons/CHANGELOG.md
  81. +1 −1 components/commons/package.json
  82. +113 −269 components/contextualhelp/CHANGELOG.md
  83. +2 −1 components/contextualhelp/dist/metadata.json
  84. +2 −0 components/contextualhelp/index.css
  85. +3 −3 components/contextualhelp/package.json
  86. +52 −9 components/contextualhelp/stories/contextualhelp.stories.js
  87. +8 −0 components/contextualhelp/stories/contextualhelp.test.js
  88. +117 −303 components/datepicker/CHANGELOG.md
  89. +4 −4 components/datepicker/package.json
  90. +85 −320 components/dial/CHANGELOG.md
  91. +125 −512 components/dialog/CHANGELOG.md
  92. +101 −530 components/divider/CHANGELOG.md
  93. +79 −330 components/dropindicator/CHANGELOG.md
  94. +101 −427 components/dropzone/CHANGELOG.md
  95. +1 −1 components/dropzone/package.json
  96. +100 −479 components/fieldgroup/CHANGELOG.md
  97. +1 −1 components/fieldgroup/package.json
  98. +110 −610 components/fieldlabel/CHANGELOG.md
  99. +92 −221 components/floatingactionbutton/CHANGELOG.md
  100. +26 −22 components/form/CHANGELOG.md
  101. +95 −406 components/helptext/CHANGELOG.md
  102. +92 −397 components/icon/CHANGELOG.md
  103. +98 −429 components/illustratedmessage/CHANGELOG.md
  104. +122 −267 components/infieldbutton/CHANGELOG.md
  105. +0 −1 components/infieldbutton/dist/metadata.json
  106. +1 −1 components/infieldbutton/package.json
  107. +3 −3 components/infieldbutton/themes/spectrum-two.css
  108. +101 −503 components/inlinealert/CHANGELOG.md
  109. +1 −1 components/inlinealert/package.json
  110. +96 −429 components/link/CHANGELOG.md
  111. +89 −230 components/logicbutton/CHANGELOG.md
  112. +157 −501 components/menu/CHANGELOG.md
  113. +3 −3 components/menu/dist/metadata.json
  114. +9 −9 components/menu/index.css
  115. +2 −2 components/menu/package.json
  116. +26 −22 components/meter/CHANGELOG.md
  117. +100 −459 components/miller/CHANGELOG.md
  118. +1 −1 components/miller/package.json
  119. +95 −310 components/modal/CHANGELOG.md
  120. +74 −153 components/opacitycheckerboard/CHANGELOG.md
  121. +84 −317 components/page/CHANGELOG.md
  122. +106 −502 components/pagination/CHANGELOG.md
  123. +3 −3 components/pagination/package.json
  124. +172 −655 components/picker/CHANGELOG.md
  125. +2 −2 components/picker/dist/metadata.json
  126. +1 −1 components/picker/index.css
  127. +3 −3 components/picker/package.json
  128. +3 −3 components/picker/themes/spectrum-two.css
  129. +1 −0 components/picker/themes/spectrum.css
  130. +112 −359 components/pickerbutton/CHANGELOG.md
  131. +3 −3 components/pickerbutton/package.json
  132. +130 −540 components/popover/CHANGELOG.md
  133. +1 −0 components/popover/dist/metadata.json
  134. +18 −8 components/popover/index.css
  135. +2 −2 components/popover/package.json
  136. +121 −638 components/progressbar/CHANGELOG.md
  137. +98 −503 components/progresscircle/CHANGELOG.md
  138. +117 −550 components/radio/CHANGELOG.md
  139. +99 −402 components/rating/CHANGELOG.md
  140. +130 −490 components/search/CHANGELOG.md
  141. +5 −1 components/search/dist/metadata.json
  142. +0 −2 components/search/index.css
  143. +2 −2 components/search/package.json
  144. +7 −0 components/search/themes/spectrum-two.css
  145. +2 −0 components/search/themes/spectrum.css
  146. +96 −439 components/sidenav/CHANGELOG.md
  147. +147 −465 components/slider/CHANGELOG.md
  148. +1 −0 components/slider/dist/metadata.json
  149. +8 −0 components/slider/index.css
  150. +2 −2 components/slider/package.json
  151. +2 −2 components/slider/stories/template.js
  152. +87 −353 components/splitview/CHANGELOG.md
  153. +1 −0 components/splitview/package.json
  154. +106 −457 components/statuslight/CHANGELOG.md
  155. +101 −422 components/steplist/CHANGELOG.md
  156. +153 −603 components/stepper/CHANGELOG.md
  157. +2 −2 components/stepper/dist/metadata.json
  158. +1 −1 components/stepper/index.css
  159. +4 −4 components/stepper/package.json
  160. +4 −4 components/stepper/themes/spectrum-two.css
  161. +131 −343 components/swatch/CHANGELOG.md
  162. +3 −1 components/swatch/dist/metadata.json
  163. +2 −1 components/swatch/index.css
  164. +1 −1 components/swatch/package.json
  165. +21 −7 components/swatch/stories/template.js
  166. +0 −1 components/swatch/themes/spectrum-two.css
  167. +0 −1 components/swatch/themes/spectrum.css
  168. +93 −305 components/swatchgroup/CHANGELOG.md
  169. +1 −1 components/swatchgroup/package.json
  170. +104 −523 components/switch/CHANGELOG.md
  171. +145 −490 components/table/CHANGELOG.md
  172. +2 −2 components/table/package.json
  173. +115 −549 components/tabs/CHANGELOG.md
  174. +3 −3 components/tabs/package.json
  175. +113 −446 components/tag/CHANGELOG.md
  176. +105 −540 components/taggroup/CHANGELOG.md
  177. +145 −609 components/textfield/CHANGELOG.md
  178. +1 −1 components/textfield/package.json
  179. +1 −1 components/textfield/themes/spectrum-two.css
  180. +2 −0 components/textfield/themes/spectrum.css
  181. +117 −432 components/thumbnail/CHANGELOG.md
  182. +104 −491 components/toast/CHANGELOG.md
  183. +1 −1 components/toast/package.json
  184. +102 −460 components/tooltip/CHANGELOG.md
  185. +103 −460 components/tray/CHANGELOG.md
  186. +1 −1 components/tray/package.json
  187. +108 −474 components/treeview/CHANGELOG.md
  188. +212 −517 components/typography/CHANGELOG.md
  189. +1 −1 components/typography/stories/typography.mdx
  190. +87 −342 components/underlay/CHANGELOG.md
  191. +91 −346 components/well/CHANGELOG.md
  192. +10 −8 lint-staged.config.js
  193. +84 −58 nx.json
  194. +11 −8 package.json
  195. +6 −6 plugins/README.md
  196. +6 −2 plugins/postcss-add-theming-layer/CHANGELOG.md
  197. +11 −11 plugins/postcss-add-theming-layer/package.json
  198. +8 −15 plugins/postcss-property-rollup/CHANGELOG.md
  199. +11 −11 plugins/postcss-property-rollup/package.json
  200. +3 −1 plugins/postcss-rgb-mapping/CHANGELOG.md
  201. +1 −1 plugins/postcss-rgb-mapping/package.json
  202. +16 −27 plugins/stylelint-no-missing-var/CHANGELOG.md
  203. +2 −1 plugins/stylelint-no-missing-var/index.js
  204. +3 −3 plugins/stylelint-no-missing-var/package.json
  205. +22 −41 plugins/stylelint-no-unknown-custom-properties/CHANGELOG.md
  206. +1 −1 plugins/stylelint-no-unknown-custom-properties/package.json
  207. +29 −37 plugins/stylelint-no-unused-custom-properties/CHANGELOG.md
  208. +11 −11 plugins/stylelint-no-unused-custom-properties/README.md
  209. +1 −1 plugins/stylelint-no-unused-custom-properties/package.json
  210. +10 −4 plugins/stylelint-theme-alignment/CHANGELOG.md
  211. +24 −24 plugins/stylelint-theme-alignment/README.md
  212. +1 −1 plugins/stylelint-theme-alignment/package.json
  213. +66 −57 schemas/metadata.schema.json
  214. +2,512 −2,726 tokens/CHANGELOG.md
  215. +1 −1 tokens/package.json
  216. +3 −1 tools/bundle/CHANGELOG.md
  217. +90 −87 tools/bundle/package.json
  218. +7 −2 tools/bundle/project.json
  219. +1 −6 tools/bundle/src/index.css
  220. +1 −1 tools/bundle/src/index.css.json
  221. +38 −113 tools/bundle/tasks/bundler.js
  222. +31 −98 tools/generator/CHANGELOG.md
  223. +8 −25 ui-icons/CHANGELOG.md
  224. +67 −28 yarn.config.cjs
  225. +641 −352 yarn.lock
9 changes: 7 additions & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -11,6 +11,11 @@
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
"updateInternalDependencies": "minor",
"useCalculatedVersion": true,
"ignore": [],
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true,
"updateInternalDependents": "out-of-range"
}
}
28 changes: 28 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -133,13 +133,41 @@
"pathPattern": "^repository$",
"order": ["type", "url", "directory"]
},
{
"pathPattern": "^spectrum$",
"order": { "type": "asc" }
},
{
"pathPattern": ".*",
"order": { "type": "asc" }
}
]
}
},
{
"files": ["tokens/dist/**/*.json"],
"rules": {
"jsonc/sort-keys": [
"warn",
{
"pathPattern": "^$",
"order": { "type": "asc" }
},
{
"pathPattern": ".*",
"order": [
"prop",
"ref",
"value",
"light",
"dark",
"medium",
"large"
]
}
]
}
},
{
"files": [
"components/*/stories/*.js",
77 changes: 35 additions & 42 deletions .github/actions/file-diff/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -4,83 +4,76 @@

### Minor Changes

- [`205182b`](https://github.com/adobe/spectrum-css/commit/205182bebcbe82813457aa098d8799b0a23423ee) Thanks [@castastrophe](https://github.com/castastrophe)! - New feature: report on minified and gzipped sizes for existing compiled outputs
📝 [`205182b`](https://github.com/adobe/spectrum-css/commit/205182bebcbe82813457aa098d8799b0a23423ee) Thanks [@castastrophe](https://github.com/castastrophe)!

- New feature: report on minified and gzipped sizes for existing compiled outputs

## 2.1.0

### Minor Changes

- [#3488](https://github.com/adobe/spectrum-css/pull/3488) [`40c1954`](https://github.com/adobe/spectrum-css/commit/40c1954048f735a07f9edfccf3a568d38164806a) Thanks [@castastrophe](https://github.com/castastrophe)! - Update file table to specify if the file is deleted/moved and indicate the file size has decreased without showing percentages. This update also hardens the way in which the main file is highlighted in the table by checking for exact equals for looking for files "ending with" the file name.
📝 [#3488](https://github.com/adobe/spectrum-css/pull/3488) [`40c1954`](https://github.com/adobe/spectrum-css/commit/40c1954048f735a07f9edfccf3a568d38164806a) Thanks [@castastrophe](https://github.com/castastrophe)!

- Update file table to specify if the file is deleted/moved and indicate the file size has decreased without showing percentages. This update also hardens the way in which the main file is highlighted in the table by checking for exact equals for looking for files "ending with" the file name.

## 2.0.6

### Patch Changes

- [#2775](https://github.com/adobe/spectrum-css/pull/2775) [`2452637`](https://github.com/adobe/spectrum-css/commit/2452637d1179b9b2b025dafeb5834720712413d7) Thanks [@castastrophe](https://github.com/castastrophe)! - Dependency minor and patch updates to support new features in tools leveraged
📝 [#2775](https://github.com/adobe/spectrum-css/pull/2775) [`2452637`](https://github.com/adobe/spectrum-css/commit/2452637d1179b9b2b025dafeb5834720712413d7) Thanks [@castastrophe](https://github.com/castastrophe)!

- Dependency minor and patch updates to support new features in tools leveraged

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 2.0.5

<a name="2.0.5"></a>
##2.0.5
🗓
2024-03-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-tools/gh-action-file-diff@2.0.4...@spectrum-tools/gh-action-file-diff@2.0.5)
🗓 2024-03-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-tools/gh-action-file-diff@2.0.4...@spectrum-tools/gh-action-file-diff@2.0.5)

**Note:** Version bump only for package @spectrum-tools/gh-action-file-diff

<a name="2.0.4"></a>
##2.0.4
🗓
2024-02-12 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-tools/gh-action-file-diff@2.0.3...@spectrum-tools/gh-action-file-diff@2.0.4)
## 2.0.4

🗓 2024-02-12 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-tools/gh-action-file-diff@2.0.3...@spectrum-tools/gh-action-file-diff@2.0.4)

**Note:** Version bump only for package @spectrum-tools/gh-action-file-diff

<a name="2.0.3"></a>
##2.0.3
🗓
2024-02-06
## 2.0.3

🗓 2024-02-06 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-tools/gh-action-file-diff@2.0.2...@spectrum-tools/gh-action-file-diff@2.0.3)

**Note:** Version bump only for package @spectrum-tools/gh-action-file-diff

<a name="2.0.2"></a>
##2.0.2
🗓
2024-01-29 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-tools/gh-action-file-diff@2.0.1...@spectrum-tools/gh-action-file-diff@2.0.2)
## 2.0.2

🗓 2024-01-29 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-tools/gh-action-file-diff@2.0.1...@spectrum-tools/gh-action-file-diff@2.0.2)

**Note:** Version bump only for package @spectrum-tools/gh-action-file-diff

<a name="2.0.1"></a>
##2.0.1
🗓
2024-01-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-tools/gh-action-file-diff@2.0.0...@spectrum-tools/gh-action-file-diff@2.0.1)
## 2.0.1

🗓 2024-01-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-tools/gh-action-file-diff@2.0.0...@spectrum-tools/gh-action-file-diff@2.0.1)

**Note:** Version bump only for package @spectrum-tools/gh-action-file-diff

<a name="2.0.0"></a>
#2.0.0
🗓
2023-12-12 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-tools/gh-action-file-diff@1.0.2...@spectrum-tools/gh-action-file-diff@2.0.0)
## 2.0.0

🗓 2023-12-12 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-tools/gh-action-file-diff@1.0.2...@spectrum-tools/gh-action-file-diff@2.0.0)

\*feat(icon,ui-icons)!: migrate the icon compiler to a distinct package (#2343)([d73d594](https://github.com/adobe/spectrum-css/commit/d73d594)), closes[#2343](https://github.com/adobe/spectrum-css/issues/2343)
- feat(icon,ui-icons)!: migrate the icon compiler to a distinct package (#2343)([d73d594](https://github.com/adobe/spectrum-css/commit/d73d594)), closes[#2343](https://github.com/adobe/spectrum-css/issues/2343)

###
🛑 BREAKING CHANGES
### 🛑 BREAKING CHANGE

*
- @spectrum-css/icon will no longer contain SVG assets; it will be a purely CSS package with all SVG assets migrated to the new @spectrum-css/ui-icons package.
- @spectrum-css/icon will no longer contain SVG assets; it will be a purely CSS package with all SVG assets migrated to the new @spectrum-css/ui-icons package.

- NEW: @spectrum-css/ui-icons package for all SVG icons in the UI set.

<a name="1.0.2"></a>
##1.0.2
🗓
2023-11-15
## 1.0.2

🗓 2023-11-15 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-tools/gh-action-file-diff@1.0.1...@spectrum-tools/gh-action-file-diff@1.0.2)

**Note:** Version bump only for package @spectrum-tools/gh-action-file-diff

<a name="1.0.1"></a>
##1.0.1
🗓
2023-11-13
## 1.0.1

🗓 2023-11-13

**Note:** Version bump only for package @spectrum-tools/gh-action-file-diff
13 changes: 13 additions & 0 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
@@ -85,6 +85,8 @@ jobs:
styles_modified_files: ${{ steps.changed-files.outputs.styles_modified_files }}
eslint_added_files: ${{ steps.changed-files.outputs.eslint_added_files }}
eslint_modified_files: ${{ steps.changed-files.outputs.eslint_modified_files }}
mdlint_added_files: ${{ steps.changed-files.outputs.mdlint_added_files }}
mdlint_modified_files: ${{ steps.changed-files.outputs.mdlint_modified_files }}
plugins_modified_files: ${{ steps.changed-files.outputs.plugins_modified_files }}
plugins_added_files: ${{ steps.changed-files.outputs.plugins_added_files }}
permissions:
@@ -102,6 +104,17 @@ jobs:
- components/*/themes/express.css
eslint:
- components/*/stories/*.js
mdlint:
- '*.md'
- .storybook/*.md
- .storybook/*/*.md
- .storybook/*/*.mdx
- components/*/*.md
- components/*/stories/*.mdx
- plugins/*/*.md
- tokens/*.md
- tools/*/*.md
- ui-icons/*.md
plugins:
- plugins/**/*
20 changes: 20 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -18,6 +18,12 @@ on:
eslint_modified_files:
type: string
required: false
mdlint_added_files:
type: string
required: false
mdlint_modified_files:
type: string
required: false
workflow_call:
inputs:
styles_added_files:
@@ -32,6 +38,12 @@ on:
eslint_modified_files:
type: string
required: false
mdlint_added_files:
type: string
required: false
mdlint_modified_files:
type: string
required: false

permissions:
contents: read
@@ -104,3 +116,11 @@ jobs:
filter_mode: diff_context
# eslint_flags: "components/*/stories/*.js"
eslint_flags: "${{ inputs.eslint_added_files }} ${{ inputs.eslint_modified_files }}"

- name: Run markdownlint on documentation
uses: reviewdog/action-markdownlint@v0.26.0
with:
reporter: github-pr-review
filter_mode: diff_context
fail_level: error
markdownlint_flags: "--config ${{ github.workspace }}/.markdownlint.json ${{ inputs.mdlint_added_files }} ${{ inputs.mdlint_modified_files }}"
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -23,16 +23,18 @@ jobs:
cache: yarn

- name: Install Dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
title: "chore: release"
commit: "chore: release"
# This expects you to have a script called release / version:packages
# which does a build for your packages and calls changeset publish
publish: yarn release
version: yarn version:packages

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
dist
!dist/metadata.json
# Ignore dist directories except metadata.json
**/dist/*
!components/*/dist/metadata.json
!tokens/dist/json/*

# Not committing the map assets, these are dev-only
24 changes: 24 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"extends": "markdownlint/style/prettier",
"first-line-h1": false,
"no-inline-html": false,
"no-bare-urls": false,
"no-duplicate-heading": {
"siblings_only": true
},
"code-block-style": {
"style": "fenced"
},
"code-fence-style": {
"style": "backtick"
},
"emphasis-style": {
"style": "underscore"
},
"strong-style": {
"style": "asterisk"
},
"ul-style": {
"style": "dash"
}
}
Loading