|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| 
| 
| 
| | * extract NavItem from NavList
* remove `kind` and `listClassName` props (since the consumer has
control over NavList, NavItem and NavLink components these props are
obsolete) | 
| | 
| 
| 
| 
| | * merge Columns, Gallery and CardsList into Grid component
* add more options to control the grid | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * make the component more generic
* merge `<Summary />` and `<Comment />` styles into card component
to avoid repeating the same structure
* remove most of the props to use composition
However the CSS is a bit complex because of the two variants...
Also, the component should be refactored when the CSS pseudo-class
`:has` has enough support: the provider and the `cover` and `meta`
props should be removed. | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * move Prism styles to Sass placeholders to avoid repeats
* let usePrism consumer define its plugins (remove default ones)
* remove `plugins` prop from Code component
* add new props to Code component to let consumer configure plugins
(and handle plugin list from the given options)
However there are some problems with Prism plugins: line-highlight and
treeview does not seems to be loaded. I don't want to use Babel instead
of SWC so I have no solution for now. | 
| | 
| 
| 
| 
| 
| | Instead of using helpers functions to format the date each time we need
to use a time element, it makes more sense to create a new component
dedicated to this task. | 
| | 
| 
| 
| 
| 
| 
| 
| | The styles applied to ResponsiveImage are related to the figure and
figcaption elements. Those elements could be use with other contents
than images. So I extracted them in a Figure component. The
ResponsiveImage component is no longer useful: the consumer should use
the Image component from `next` and wrap it in a link if needed. | 
| | 
| 
| 
| 
| 
| | The flipping animation is used at several places so it makes sense to
use a single component to handle the animation. It will avoid styles
duplication. | 
| | |  | 
| | |  | 
| | |  | 
| | 
| 
| 
| 
| | * replace default label with a label prop
* rename name prop to icon prop | 
| | 
| 
| 
| 
| | * replace default label with label prop
* simplify CSS rules | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | * rename `external` prop to `isExternal`
* rename `download` prop to `isDownload`
* rewrite CSS to reduce code length and complexity
* move link styles in Sass placeholders to avoid repeats because of WordPress
articles
* move NavLink component to molecules | 
| | 
| 
| 
| | * Rename message prop to children prop and set ReactNode as type | 
| | 
| 
| 
| 
| 
| 
| | * Column is a simple div meant to be used inside Columns component so
they should live together.
* NoScript is only used in Layout component and its name does not
make sense since it needs to be used inside a `noscript` element. | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * add a `spacing` prop
* replace `layout` prop with `isInline` prop
* remove `items` prop (and classNames props) in favor of new components:
Description, Group, Term
* remove `withSeparator` prop (CSS content is announced by screen readers
and Firefox/Safari have no support for alternative text so the consumer
should add itself an element with `aria-hidden` if it need a separator)
Be aware, Meta component and its consumers can be visually broken, they
should be refactored before using them in production. | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | * change `items` prop to children
* replace `kind` prop with `isHierarchical`, `isOrdered` & `isInline` props
* add `hideMarker` prop
* add `spacing` prop to control item spacing
* move lists styles to Sass placeholders to avoid repeats because of
headless WordPress | 
| | 
| 
| 
| 
| 
| 
| | * Avoid browser vendors by adding an extra div
* Add a loading state
* Add an option to center the progress bar (no longer the default)
* Remove min since it is always 0 | 
| | 
| 
| 
| 
| 
| 
| | * Message should be set as children
* Default message is no longer available (depending on use case, the
consumer might prefer aria-label instead)
* It is now possible to define the message position | 
| | 
| 
| 
| 
| | I also renamed the title prop to heading because title already exists
as HTML attribute. | 
| | 
| 
| 
| 
| | Sizes are also predefined and can be set using the `size` prop,
so the consumers should no longer adjust the size in CSS. | 
| | 
| 
| 
| 
| | Some components have been renamed to be able to create Footer, Header
and Nav. | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | * remove `alignment` and `withMargin` props (consumer should handle
that)
* move styles to Sass placeholders to avoid repeats with headings
coming from WordPress
* refactor some other components that depend on Heading to avoid ESlint
errors | 
| | 
| 
| 
| 
| 
| | * Make it compliant with ESlint rules
* Remove mandatory heading, it now depends on the consumer
* Change defaults for hasBorder and variant | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | Both:
* move styles to Sass placeholders
Button:
* add `isPressed` prop to Button
* add `isLoading` prop to Button (to differentiate state from
disabled)
ButtonLink:
* replace `external` prop with `isExternal` prop
* replace `href` prop with `to` prop | 
| | |  | 
| | |  | 
| | 
| 
| 
| 
| 
| | Next expect a default export for pages so only those components should
use default exports. Everything else should use named exports to
reduce the number of import statements. | 
| | 
| 
| 
| 
| | * MDX type has changed so some components props had to be updated
* Since Storybook now supports TS, I renamed the main/preview files | 
| | 
| 
| 
| 
| 
| | Using paths aliases starting with "@" can be confusing and can lead to
conflict with existings modules. I prefer to use relative paths to
avoid extra configuration in tools because of these aliases. | 
| | |  | 
| | 
| 
| 
| 
| 
| | The progress element is a form element, so a label is required to be
accessible. Since I'm not using it without label, I transform the
optional info parameter to a mandatory label parameter. | 
| | |  | 
| | |  | 
| | 
| 
| 
| 
| | I mocked some SVG files and moves the branding photo to public
directory. It is more a workaround than a real fix but it works so... | 
| | 
| 
| 
| | I also configure Jest to avoid conflicts between Cypress and Jest. | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | 
| 
| 
| 
| | Checkbox and radio buttons are working the same way so I decided to
group them in a same component. | 
| | 
| 
| 
| 
| | With French translation, words are a little longer so I reduce the
font size on small devices to avoid line breaking. | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | 
| 
| 
| 
| 
| 
| | The tooltip was closing and reopening on click because of a conflict
between the button event and the hook useClickOutside. By checking that
the event target is not the button, the tooltip is now closing as
expected. | 
| | 
| 
| 
| 
| 
| 
| | * Improve wp-blocks-columns, wp-block-quote and some images
* Make Sharing widget consistent between pages
* Remove margin option from lists
* Fix Topic logo alignement | 
| | 
| 
| 
| 
| | * change animation on article card hover
* change comments section alignment | 
| | 
| 
| 
| 
| 
| | * add logo to topics pages and links
* add Prism styles to articles
* and a few other adjustements |