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/parliament-ui-components
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.6.10
Choose a base ref
...
head repository: adobe/parliament-ui-components
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Nov 9, 2020

  1. Copy the full SHA
    6ce4c7f View commit details
  2. Copy the full SHA
    6fc307d View commit details
  3. Copy the full SHA
    88bcb8d View commit details
  4. Copy the full SHA
    51fedde View commit details
  5. 🔖 Version 2.6.11

    macdonst committed Nov 9, 2020
    Copy the full SHA
    04f5aa4 View commit details
  6. ➖ Remove is-external-url

    macdonst committed Nov 9, 2020
    Copy the full SHA
    76f9b88 View commit details
  7. Copy the full SHA
    6e0970f View commit details
  8. 🔖 Version 2.6.12

    macdonst committed Nov 9, 2020
    Copy the full SHA
    c63da2f View commit details
  9. 🔖 Version 2.6.13

    macdonst committed Nov 9, 2020
    Copy the full SHA
    de5fa1d View commit details
  10. 🐛 Properly select tab

    macdonst committed Nov 9, 2020
    Copy the full SHA
    3414f47 View commit details
  11. 🔖 Version 2.6.14

    macdonst committed Nov 9, 2020
    Copy the full SHA
    ae902e8 View commit details
  12. Copy the full SHA
    66ae88d View commit details
  13. 🔖 Version 2.6.15

    macdonst committed Nov 9, 2020
    Copy the full SHA
    6dc8605 View commit details

Commits on Nov 11, 2020

  1. Copy the full SHA
    dc6dc6b View commit details
  2. 🔖 Version 2.6.16

    macdonst committed Nov 11, 2020
    Copy the full SHA
    731fef4 View commit details

Commits on Nov 12, 2020

  1. ✅ Fix Header stories

    macdonst committed Nov 12, 2020
    Copy the full SHA
    00c738a View commit details

Commits on Nov 13, 2020

  1. Copy the full SHA
    bbff9ab View commit details
  2. Copy the full SHA
    059a27a View commit details
  3. 🔖 Version 2.6..17

    macdonst committed Nov 13, 2020
    Copy the full SHA
    05a28bc View commit details
  4. Update npm-publish.yaml

    macdonst authored Nov 13, 2020
    Copy the full SHA
    c9bcfe5 View commit details

Commits on Nov 14, 2020

  1. Copy the full SHA
    e33cc28 View commit details
  2. Update npm-publish.yml

    macdonst authored Nov 14, 2020
    Copy the full SHA
    a85ce68 View commit details
  3. Update npm-publish.yml

    macdonst authored Nov 14, 2020
    Copy the full SHA
    2b826c9 View commit details
  4. 🔧 Update publish action

    macdonst committed Nov 14, 2020
    Copy the full SHA
    8b174ed View commit details
  5. 🔧 ARG!

    macdonst committed Nov 14, 2020
    Copy the full SHA
    bc8cfdc View commit details
  6. Create main.yml

    macdonst authored Nov 14, 2020
    Copy the full SHA
    1e3750f View commit details
  7. 🔧 Fix mis-spelling

    macdonst committed Nov 14, 2020
    Copy the full SHA
    59243d1 View commit details

Commits on Nov 26, 2020

  1. Create dependabot.yml

    macdonst authored Nov 26, 2020
    Copy the full SHA
    135a975 View commit details

Commits on Dec 10, 2020

  1. 🔨 Refactor Menu/Item

    macdonst committed Dec 10, 2020
    Copy the full SHA
    4708f93 View commit details
  2. 🔖 Version 2.6.18

    macdonst committed Dec 10, 2020
    Copy the full SHA
    f430e7b View commit details

Commits on Dec 11, 2020

  1. 🔨 Refactor Search

    macdonst committed Dec 11, 2020
    Copy the full SHA
    b30ec33 View commit details
  2. 🔖 Version 3.0.0

    macdonst committed Dec 11, 2020
    Copy the full SHA
    3148ff0 View commit details

Commits on Dec 16, 2020

  1. ⬆️ Update dependencies

    macdonst committed Dec 16, 2020
    Copy the full SHA
    1204a65 View commit details
  2. ✅ Fix failing Search test

    macdonst committed Dec 16, 2020
    Copy the full SHA
    c3b242a View commit details
  3. Copy the full SHA
    dde5e00 View commit details
  4. 🔖 Version 3.1.0

    macdonst committed Dec 16, 2020
    Copy the full SHA
    e6599ba View commit details

Commits on Dec 22, 2020

  1. Copy the full SHA
    f358335 View commit details
  2. Copy the full SHA
    35b5824 View commit details
  3. 🔨 Tighten up code

    macdonst committed Dec 22, 2020
    Copy the full SHA
    3c0b8f7 View commit details

Commits on Jan 5, 2021

  1. 🔨 Loosen code a bit

    macdonst committed Jan 5, 2021
    Copy the full SHA
    4a3dacf View commit details
  2. Copy the full SHA
    98b8253 View commit details
  3. Copy the full SHA
    51acf0b View commit details

Commits on Jan 11, 2021

  1. 🔖 Version 3.1.1

    macdonst committed Jan 11, 2021
    Copy the full SHA
    9bdeb8f View commit details

Commits on Jan 15, 2021

  1. Copy the full SHA
    3585475 View commit details
  2. 🔖 Version 3.1.2

    macdonst committed Jan 15, 2021
    Copy the full SHA
    38aec25 View commit details

Commits on Jan 19, 2021

  1. Copy the full SHA
    df32ec4 View commit details
  2. 🔖 Version 3.1.3

    macdonst committed Jan 19, 2021
    Copy the full SHA
    3eb0022 View commit details

Commits on Feb 2, 2021

  1. Copy the full SHA
    94be461 View commit details
  2. 🔖 Version 3.1.4

    macdonst committed Feb 2, 2021
    Copy the full SHA
    826b9c7 View commit details

Commits on Feb 3, 2021

  1. Copy the full SHA
    888957a View commit details
Showing with 38,989 additions and 18,188 deletions.
  1. +21 −0 .github/workflows/on-push-publish-to-npm.yml
  2. +31 −0 .github/workflows/run-jest.yml
  3. +37 −0 .github/workflows/version-bump-publish.yml
  4. +2 −1 .storybook/main.js
  5. +2 −6 .storybook/preview.js
  6. +20 −0 example/gatsby-node.js
  7. +20,980 −7,131 example/package-lock.json
  8. +3 −2 example/package.json
  9. +34 −24 example/src/pages/index.js
  10. +2 −1 jest.config.js
  11. +60 −37 package.json
  12. +1 −1 src/Accordion/Accordion.js
  13. +1 −1 src/Accordion/AccordionItem.js
  14. +1 −0 src/Accordion/test/Accordion.test.js
  15. +1 −0 src/Accordion/test/AccordionItem.test.js
  16. +35 −27 src/ActionButtons/index.js
  17. +11 −0 src/ActionButtons/stories/ActionButtons.stories.js
  18. +1 −0 src/ActionButtons/test/ActionButtons.test.js
  19. +8 −2 src/Alert/index.js
  20. +1 −0 src/Alert/test/Alert.test.js
  21. +3 −0 src/AutoComplete/docs/AutoComplete.md
  22. +107 −0 src/AutoComplete/index.js
  23. +28 −0 src/AutoComplete/stories/AutoComplete.stories.js
  24. +25 −0 src/AutoComplete/test/AutoComplete.test.js
  25. +1 −1 src/Breadcrumbs/index.js
  26. +1 −0 src/Breadcrumbs/test/Breadcrumbs.test.js
  27. +16 −216 src/Code/index.js
  28. +59 −0 src/Code/stories/Code.stories.js
  29. +1 −0 src/Code/test/Code.test.js
  30. +3 −0 src/CodeUI/docs/CodeUI.md
  31. +215 −0 src/CodeUI/index.js
  32. +70 −0 src/CodeUI/stories/CodeUI.stories.js
  33. +16 −43 src/{GlobalHeader/test/GlobalHeader.test.js → CodeUI/test/CodeUI.test.js}
  34. +59 −55 src/Contributors/index.js
  35. +10 −0 src/Contributors/stories/Contributors.stories.js
  36. +1 −0 src/Contributors/test/Contributors.test.js
  37. +2 −2 src/DiscoverBlock/index.js
  38. +1 −0 src/DiscoverBlock/test/DiscoverBlock.test.js
  39. +1 −1 src/Feedback/index.js
  40. +1 −0 src/Feedback/test/Feedback.test.js
  41. +2 −2 src/Footer/index.js
  42. +1 −0 src/Footer/test/Footer.test.js
  43. +0 −3 src/GlobalHeader/docs/GlobalHeader.md
  44. +0 −453 src/GlobalHeader/index.js
  45. +0 −279 src/GlobalHeader/stories/GlobalHeader.stories.js
  46. +15 −4 src/Grid/index.js
  47. +1 −0 src/Grid/test/Grid.test.js
  48. +44 −57 src/Header/index.js
  49. +43 −0 src/Header/stories/Header.stories.js
  50. +1 −0 src/Header/test/Header.test.js
  51. +34 −19 src/Heading/index.js
  52. +71 −0 src/Heading/stories/Heading.stories.js
  53. +50 −2 src/Heading/test/Heading.test.js
  54. +5 −5 src/Hero/index.js
  55. +1 −0 src/Hero/test/Hero.test.js
  56. +1 −0 src/Icons/test/Icons.test.js
  57. +1 −1 src/InlineCode/index.js
  58. +1 −0 src/InlineCode/test/InlineCode.test.js
  59. +21 −0 src/JsonSchema/DynamicReactJson.js
  60. +34 −0 src/JsonSchema/JsonSchemaInfo.js
  61. +23 −0 src/JsonSchema/JsonSchemaRaw.js
  62. +51 −0 src/JsonSchema/JsonSchemaValidate.js
  63. +245 −0 src/JsonSchema/JsonSchemaView.js
  64. +37 −0 src/JsonSchema/docs/JsonSchema.md
  65. +72 −0 src/JsonSchema/index.js
  66. +46 −0 src/JsonSchema/stories/JsonSchema.stories.js
  67. +175 −0 src/JsonSchema/stories/mock_jsonschema_data.js
  68. +4 −8 src/{OnThisPage/test/OnThisPage.test.js → JsonSchema/tests/JsonSchema.test.js}
  69. +6 −9 src/Link/index.js
  70. +1 −0 src/Link/test/Link.test.js
  71. +19 −5 src/List/index.js
  72. +1 −0 src/List/test/List.test.js
  73. +0 −77 src/ManifestUtils/index.js
  74. +0 −299 src/ManifestUtils/test/ManifestUtils.test.js
  75. +24 −3 src/Menu/Item.js
  76. +5 −0 src/Menu/Menu.js
  77. +1 −0 src/Menu/test/Menu.test.js
  78. +31 −31 src/Nav/index.js
  79. +11 −0 src/Nav/stories/Nav.stories.js
  80. +46 −7 src/Nav/stories/mockData.js
  81. +28 −0 src/Nav/test/Nav.test.js
  82. +2 −2 src/Next/index.js
  83. +1 −0 src/Next/test/Next.test.js
  84. +2 −2 src/NextPrev/index.js
  85. +1 −0 src/NextPrev/test/NextPrev.test.js
  86. +2 −2 src/NextSteps/index.js
  87. +1 −0 src/NextSteps/test/NextSteps.test.js
  88. +0 −3 src/OnThisPage/docs/OnThisPage.md
  89. +0 −307 src/OnThisPage/index.js
  90. +0 −1 src/OnThisPage/stories/OnThisPage.stories.js
  91. +33 −0 src/OpenAPIBlock/DynamicSwaggerUI.js
  92. +1,178 −0 src/OpenAPIBlock/ReDocWrapper.js
  93. +33 −0 src/OpenAPIBlock/StopLightWrapper.js
  94. +113 −1,125 src/OpenAPIBlock/index.js
  95. +181 −0 src/OpenAPIBlock/stories/OpenAPIBlock.stories.js
  96. +15 −0 src/OpenAPIBlock/test/OpenAPIBlock.js
  97. +1 −1 src/OpenApiGrid/index.js
  98. +1 −0 src/OpenApiGrid/test/OpenApiGrid.test.js
  99. +9 −2 src/Paragraph/index.js
  100. +1 −0 src/Paragraph/test/Paragraph.test.js
  101. +1 −1 src/Picker/index.js
  102. +1 −1 src/Popover/index.js
  103. +1 −0 src/Popover/test/Popover.test.js
  104. +2 −2 src/Prev/index.js
  105. +1 −0 src/Prev/test/Prev.test.js
  106. +97 −18 src/Provider/index.js
  107. +1 −0 src/Provider/test/Provider.test.js
  108. +152 −0 src/RequestMaker/CodeGen.js
  109. +56 −0 src/RequestMaker/HeaderCompletions.js
  110. +19 −0 src/RequestMaker/Headers.js
  111. +74 −0 src/RequestMaker/MethodPicker.js
  112. +23 −0 src/RequestMaker/Parameter.js
  113. +175 −0 src/RequestMaker/ParameterTable.js
  114. +19 −0 src/RequestMaker/Query.js
  115. +257 −0 src/RequestMaker/RequestBody.js
  116. +137 −0 src/RequestMaker/RequestContext.js
  117. +99 −0 src/RequestMaker/RequestMaker.js
  118. +76 −0 src/RequestMaker/RequestMakerUI.js
  119. +140 −0 src/RequestMaker/RequestParameters.js
  120. +107 −0 src/RequestMaker/ResponsePanel.js
  121. +88 −0 src/RequestMaker/SendRequestButton.js
  122. +3 −0 src/RequestMaker/docs/RequestMaker.md
  123. +19 −0 src/RequestMaker/index.js
  124. +257 −0 src/RequestMaker/stories/RequestMaker.stories.js
  125. +56 −0 src/RequestMaker/test/MethodPicker.test.js
  126. +25 −0 src/RequestMaker/test/RequestMaker.test.js
  127. +38 −0 src/RequestMaker/utils.js
  128. +2 −2 src/Resources/index.js
  129. +1 −0 src/Resources/test/Resources.test.js
  130. +87 −83 src/Search/index.js
  131. +2 −7 src/Search/test/Search.test.js
  132. +1 −0 src/SideNav/test/SideNav.test.js
  133. +11 −9 src/Table/index.js
  134. +1 −0 src/Table/test/Table.test.js
  135. +56 −41 src/TableOfContents/index.js
  136. +9 −0 src/TableOfContents/stories/TableOfContents.stories.js
  137. +11 −0 src/TableOfContents/test/TableOfContents.test.js
  138. +1 −1 src/Tabs/index.js
  139. +69 −0 src/Tags/Tag.js
  140. +50 −0 src/Tags/Tags.js
  141. +3 −0 src/Tags/docs/Tags.md
  142. +2 −0 src/Tags/index.js
  143. +46 −0 src/Tags/stories/Tags.stories.js
  144. +25 −0 src/Tags/test/Tags.test.js
  145. +11 −3 src/index.js
  146. +30 −1 src/utils/index.js
  147. +25 −0 test-utils/matchMedia.js
  148. +12,024 −7,759 yarn.lock
21 changes: 21 additions & 0 deletions .github/workflows/on-push-publish-to-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: on-push-publish-to-npm
on:
push:
branches:
- main
paths:
- 'package.json'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.15.0
- run: yarn install
- run: yarn test
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}
access: 'public'
31 changes: 31 additions & 0 deletions .github/workflows/run-jest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.15.0]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn run build
- run: yarn run lint
- run: yarn test
37 changes: 37 additions & 0 deletions .github/workflows/version-bump-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: version-bump-publish
on:
workflow_dispatch:
inputs:
level:
description: '<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease'
required: true
default: 'patch'
tag:
description: 'The tag to publish to.'
required: false
default: 'latest'
jobs:
checkout:
name: checkout
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
git config user.name github-actions
git config user.email github-actions@github.com
- uses: actions/setup-node@v1
with:
node-version: 14.15.0
- run: |
yarn install
yarn test
- name: bump and pub
if: ${{ github.event.inputs.level != '' }}
run: |
yarn version ${{ github.event.inputs.level }}
git push
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}
tag: ${{ github.event.inputs.tag }}
access: 'public'
3 changes: 2 additions & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
@@ -15,6 +15,7 @@ module.exports = {
addons: [
'@storybook/addon-actions/register',
'@storybook/addon-viewport/register',
'@storybook/addon-knobs/register'
'@storybook/addon-knobs/register',
'@storybook/addon-controls/register'
]
}
8 changes: 2 additions & 6 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ import { addDecorator, addParameters } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport'
import { withKnobs } from '@storybook/addon-knobs'
import { Provider, defaultTheme } from '@adobe/react-spectrum'
import { Provider } from '../src/Provider'

// Gatsby Setup
// ============================================
@@ -47,8 +47,4 @@ addParameters({

// Storybook Decorators
addDecorator(withKnobs) // add withKnobs
addDecorator((story) => (
<Provider theme={defaultTheme} colorScheme='light' scale='medium'>
{story()}
</Provider>
))
addDecorator((story) => <Provider>{story()}</Provider>)
20 changes: 20 additions & 0 deletions example/gatsby-node.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const path = require("path")

exports.onCreateWebpackConfig = ({ actions, getConfig, stage }) => {
const config = getConfig()

const coreJs2config = config.resolve.alias["core-js"]
delete config.resolve.alias["core-js"]
config.resolve.alias[`core-js/modules`] = `${coreJs2config}/modules`
try {
config.resolve.alias[`core-js/es`] = path.dirname(
require.resolve("core-js/es")
)
} catch (err) {}
config.resolve.fallback = {
http: require.resolve("stream-http"),
https: require.resolve("https-browserify"),
stream: require.resolve("stream-browserify")
}
actions.replaceWebpackConfig(config)
}
Loading