Commit Graph

33 Commits

Author SHA1 Message Date
Peter Kulko 651632f8e8
docs: updated Design tokens and Style dictionary documentation (#3075) 2024-05-21 10:13:58 -04:00
PKulkoRaccoonGang 01c702f73c Merge remote-tracking branch 'origin/master' into Peter_Kulko/alpha-branch-updating 2024-05-07 19:38:07 +03:00
Adam Stankiewicz 35bfa7d1cd
docs: include Algolia DocSearch ADR and crawler config (#2991) 2024-01-10 19:40:09 +00:00
monteri f869dad1ec Merge branch 'master' into zadorozhnii/sync-alpha-v3
# Conflicts:
#	package-lock.json
#	package.json
#	src/Card/_variables.scss
#	src/CheckBox/README.md
#	src/ColorPicker/index.scss
#	src/Fieldset/index.scss
#	src/IconButton/__snapshots__/IconButton.test.jsx.snap
#	src/Nav/_mixins.scss
#	src/Nav/_variables.scss
#	src/Nav/index.scss
#	src/OverflowScroll/index.scss
#	src/Popover/Popover.scss
#	src/SearchField/__snapshots__/SearchField.test.jsx.snap
#	src/Stepper/index.scss
#	src/Table/index.scss
#	src/Tabs/_variables.scss
#	src/Tabs/index.scss
#	src/index.scss
#	www/gatsby-node.js
#	www/src/components/LeaveFeedback.scss
#	www/src/components/Menu.tsx
#	www/src/pages/foundations/colors.tsx
#	www/src/pages/foundations/elevation.tsx
#	www/src/pages/foundations/spacing.tsx
#	www/src/pages/foundations/typography.tsx
#	www/src/templates/component-page-template.tsx
2023-08-22 15:58:15 +03:00
Adam Stankiewicz 2782f39bc2
docs: update design tokens ADR status to accepted (#2456) 2023-07-19 10:06:21 -04:00
Adam Stankiewicz f29e66ca35
docs: design tokens ADR (#1929) 2023-07-19 10:04:43 -04:00
Peter Kulko 7e18a612a5
docs: fixed links leading to React Bootstrap (#2394) 2023-06-23 07:36:46 -04:00
Viktor Rusakov d47139043f feat: alpha release of design tokens (#1770) 2023-02-16 10:34:26 +02:00
Sarina Canelake 1b8d157bce
chore: Fix github url strings (org edx -> openedx) (#1609) 2022-09-20 10:14:52 -04:00
monteri 25cd7e4c86
docs: TypeScript ADR (#1526) 2022-08-12 08:00:05 -04:00
Viktor Rusakov 53e0ac632b
feat!: implement i18n in Paragon components and in docs site (#1100)
Adds support for i18n translations in Paragon components, including the commands to push/pull translations from Transifex in an automated process. This change itself does not guarantee the components are truly translated yet as they may still need a translator and/or a reviewer to approve the translation in Transifex before a translation is pulled.

To upgrade, ensure you are using at least `react-intl@5.25.0` in your application.

BREAKING CHANGE: By adding i18n support to the Paragon design system, we are introducing a peer dependency on `react-intl@5.25.0` or greater. This may be a breaking change for some consumers, if your repository:
* Uses v1 of `@edx/frontend-platform`
* Uses older version of `react-intl` than v5.25.0 directly.
* Does not use `react-intl`.
2022-06-17 06:59:59 -04:00
Adam Stankiewicz cf06fec335
docs: adds ADR for using `@axe-core/react` for automated a11y testing during development (#1191)
* docs: add ADR about runtime a11y validation via axe-core/react

* docs: add link to axe-core docs

* docs: add note about toggling axe-core off

* docs: update ADR

* docs: one more update to ADR
2022-03-30 13:32:23 -04:00
Viktor Rusakov d701416fc9
docs: add ADR for i18n support (#981)
* docs: add ADR for i18n support

* docs: improve i18n ADR
2022-02-11 07:24:25 -05:00
Viktor Rusakov 28e5bf1d32
[BD-46] feat: add component generator command (#999)
* feat: add component generator script

* fix: add exports of generated component from Paragon to git
2022-01-11 10:24:12 -05:00
Bianca Severino cc01f218d5
feat: pass through functionality from react-responsive (#942)
and remove custom Responsive components

BREAKING CHANGE: Custom Responsive components have
been removed in favor of passing through components
and functionality from react-responsive directly.

Components that have been removed:
- `ExtraSmall`
- `Small`
- `Medium`
- `Large`
- `ExtraLarge`
- `ExtraExtraLarge`
- `LargerThanExtraSmall`

New passthroughs:
- `MediaQuery`
- `useMediaQuery`
- `ResponsiveContext`

Please refer to
[react-responsive](https://www.npmjs.com/package/react-responsive)
documentation for more information.
2021-12-16 13:23:59 -05:00
David Joy 8289b403cb
docs: create 0013-deprecating-font-awesome.md (#859)
* Create 0013-deprecating-font-awesome.md

* docs: review feedback
2021-10-27 10:37:05 -04:00
Adam Butterworth 77e08dcf38
docs: create 0012-css-styling-conventions (#763) 2021-07-19 09:28:07 -04:00
Adam Butterworth c693f21c2f
feat: colocate component javascript and styles (#606)
BREAKING CHANGE: Remove the pre-compiled paragon-edx.css published output. It was using the old theme and is unused throughout edx.

Move component scss and related scss variables into component directories

Create component directories for passthrough components

BREAKING CHANGE: Delete outdated edx/ and example-theme theme directories
2021-01-25 20:09:01 -05:00
Adam Butterworth 1778dc4359
docs: add adr for removal of edx assets (#558) 2020-08-19 11:10:17 -04:00
Adam Butterworth c9c2632aec
Adopt react-bootstrap ADR (#544) 2020-07-15 11:14:29 -04:00
Adam Butterworth 420a82bbf2
docs: add ADR describing abandonment of Reactstrap (#412)
* docs: add ADR describing abandonment of Reactstrap

* Update 0008-abandon-reactstrap.rst

* Update 0005-usage-of-reactstrap.rst
2019-04-08 16:03:31 -04:00
Adam Butterworth 1443429cd2
fix: ADR for Prop Naming and change classNames to strings (#405)
* fix: add withDeprecatedProps HOC and deprecate className array in button

* fix: create component api guidelines adr

* fix: update selectors in pagination test

Selectors now find button even when it wrapped in withDeprecatedProps HOC.

* fix: change classname prop format to string in Icon

* fix: change classname format to string for StatusAlert

* fix: change classname prop format to string in Table

* fix: change classname to expect string in Inputs

This reverts commit 0274806f8e.

* fix: make default className undefined

* fix: update assignment of transformed props

* Update src/StatusAlert/StatusAlert.test.jsx

Co-Authored-By: abutterworth <adamjbutterworth@gmail.com>

* fix: update ADR to accepted

* fix: pass through children if provided
2019-03-26 17:12:15 -07:00
Adam Butterworth 6ed1bbe5df feat: publish major upgrades of many packages and configuration
* update storybook, webpack, and other supporting packages
* upgrade node version in travis
* fix: clean up commonly repeated storybook configuration
* fix: update dependencies
* fix: misc config changes
* fix: height of fieldset

long term the .form-control class should not be used on fieldset. It now explicitly sets a height and was probably not intended to be used the way it is in paragon's fieldset.

* fix: remove css module import for font awesome in Icon story
* fix: update storyshot config to have no decorators
* fix: use whitelist for npm publishing
* fix: remove source maps from build. hopefully using less memory
* fix: update notifications to paragon@edx.org

feat: remove static build output (#398)

Removes a the static build output. Sets the stage to remove css modules and simplify JSX elsewhere.

feat: remove css module and namespace support (#399)

This changes the way scss should be imported with components. Rather than a SCSS file for each module, this prefers that consumers import the scss file (src/index.scss). It must be included after bootstrap variables are set. It's also up to the consumer to include font-awesome if needed.

See ADR for removal of CSS Modules.

* fix: remove usage of css module styles object
* feat: remove css modules and consolidate scss inclusion pattern
* fix: build scss separately
* fix: remove array around className prop for raw html nodes

BREAKING CHANGE: This removes the static build of Paragon. CSS Modules have been removed. The way to include Paragon SCSS has changed. You will see minor changes in your snapshot tests.
2019-03-22 12:40:27 -07:00
Robert Raposa 3f9bc60c6e fix: revert major upgrades of many packages and configuration (#394) (#400)
Reverting v3.10.0 which was meant to be v4.0.0 with breaking changes.
This gets us back to v3.9.4.

This reverts commit 0274806
2019-03-22 14:31:32 -04:00
Adam Butterworth 0274806f8e
feat: major upgrades of many packages and configuration (#394) (#400)
This is a BREAKING CHANGE.

* update storybook, webpack, and other supporting packages
* upgrade node version in travis
* fix: clean up commonly repeated storybook configuration
* fix: update dependencies
* fix: misc config changes
* fix: height of fieldset

long term the .form-control class should not be used on fieldset. It now explicitly sets a height and was probably not intended to be used the way it is in paragon's fieldset.

* fix: remove css module import for font awesome in Icon story
* fix: update storyshot config to have no decorators
* fix: use whitelist for npm publishing
* fix: remove source maps from build. hopefully using less memory
* fix: update notifications to paragon@edx.org

feat: remove static build output (#398)

Removes a the static build output. Sets the stage to remove css modules and simplify JSX elsewhere.

feat: remove css module and namespace support (#399)

This changes the way scss should be imported with components. Rather than a SCSS file for each module, this prefers that consumers import the scss file (src/index.scss). It must be included after bootstrap variables are set. It's also up to the consumer to include font-awesome if needed.

See ADR for removal of CSS Modules.

* fix: remove usage of css module styles object
* feat: remove css modules and consolidate scss inclusion pattern
* fix: build scss separately
* fix: remove array around className prop for raw html nodes
2019-03-22 10:47:17 -07:00
David Joy 1d6486b129 Review feedback, formatting, and marking accepted 2019-02-22 10:53:30 -05:00
David Joy 2180db7cb6 Review feedback from Lise - thanks! 2019-02-11 12:49:12 -05:00
David Joy b042053ccd Creation of three new ADRs for paragon
tl;dr -

1. Arch team will take ownership of Paragon.
2. We use Bootstrap.
3. We will start using Reactstrap.
2019-02-11 11:12:40 -05:00
Matt Hughes f5b9f87680 (docs): `react-intl` for i18n ADR, with corollaries 2018-11-01 13:14:04 -04:00
Matt Hughes a06a39047f (docs): initial ADR about using ADRs
We'd like to use Architectural Decision Records to document decisions
made about the future direction of the paragon pattern library. This
was approved by a voice vote at a meeting of the FedX group on
Thursday, 10/18/18.
2018-10-19 15:53:11 -04:00
jaebradley 7bc95c139f fix(docs,asinput): semantic-release & jest docs; asInput a11y fix
docs(readme): add semantic-release documentation

docs(readme): add semantic-release notes to documentation

docs(readme): add cli gif link

docs(readme): fix some formatting

docs(readme): add more background information

fix(asinput): Accessibility fixes for asInput (#97)

* fix(asinput): Add screen-reader text for danger icon

* fix(asinput): Load form-control-feedback on page load w/ aria-live

fix(readme): Document how to run jest tests in Chrome DevTools (#96)

Also adds an npm run test-debug script.
2017-12-13 13:01:28 -05:00
Ari Rizzitano c478a8bbfe get rid of docs for now, sourcemaps, add some new components 2017-05-04 16:17:23 -04:00
Ari Rizzitano dbbdce6e5b init commit 2017-04-27 14:57:59 -04:00